Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @uiw/react-textarea-code-editor to v3 #90

Merged
merged 1 commit into from
Nov 29, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 29, 2023

Mend Renovate logo banner

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@uiw/react-textarea-code-editor (source) ^2.1.1 -> ^3.0.0 age adoption passing confidence

Release Notes

uiwjs/react-textarea-code-editor (@​uiw/react-textarea-code-editor)

v3.0.1

Compare Source

Buy me a coffee npm bundle size

Documentation v3.0.1: https://raw.githack.com/uiwjs/react-textarea-code-editor/e1e1ae9/index.html\
Comparing Changes: uiwjs/react-textarea-code-editor@v3.0.0...v3.0.1

npm i @​uiw/react-textarea-code-editor@3.0.1

v3.0.0

Compare Source

Buy me a coffee npm bundle size

Documentation v3.0.0: https://raw.githack.com/uiwjs/react-textarea-code-editor/fd37bcf/index.html\
Comparing Changes: uiwjs/react-textarea-code-editor@v2.1.9...v3.0.0

npm i @​uiw/react-textarea-code-editor@3.0.0

Remove Code Highlight

The following example can help you exclude code highlighting code from being included in the bundle. @uiw/react-textarea-code-editor/nohighlight component does not contain the rehype-prism-plus code highlighting package.

import React, { useState } from "react";
import CodeEditor from '@​uiw/react-textarea-code-editor/nohighlight';

export default function App() {
  const [code, setCode] = useState(
    `function add(a, b) {\n  return a + b;\n}`
  );
  return (
    <CodeEditor
      value={code}
      language="js"
      placeholder="Please enter JS code."
      onChange={(evn) => setCode(evn.target.value)}
      padding={15}
      style={{
        backgroundColor: "#f5f5f5",
        fontFamily: 'ui-monospace,SFMono-Regular,SF Mono,Consolas,Liberation Mono,Menlo,monospace',
      }}
    />
  );
}

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@jaywcjlove jaywcjlove merged commit 3e244a8 into main Nov 29, 2023
@jaywcjlove jaywcjlove deleted the renovate/uiw-react-textarea-code-editor-3.x branch November 29, 2023 06:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant