diff --git a/ReadMe.md b/ReadMe.md index e387702..f11e7a0 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -39,22 +39,23 @@ A **[React][1] advanced components library** based on [TypeScript][2] & [Bootstr 4. [Avatar](source/Avatar.tsx) 5. [Nameplate](source/Nameplate.tsx) 6. [Type Echo](source/TypeEcho.tsx) -7. [Filter Input](source/FilterInput/index.tsx) -8. [File Picker](source/FilePicker/index.tsx) -9. [File Uploader](source/FileUploader/) -10. [Multiple File Uploader](source/MultipleFileUploader/) -11. [Code Block](source/CodeBlock.tsx) -12. [Editor](source/Editor.tsx) -13. [Editor HTML](source/EditorHTML.tsx) -14. [Address Picker](source/AddressPicker.tsx) -15. [Idea Info](source/IdeaInfo.tsx) -16. [Idea Table](source/IdeaTable.tsx) -17. [Table Spinner](source/TableSpinner.tsx) -18. [Loading](source/Loading.tsx) -19. [Pagination Bar](source/PaginationBar.tsx) -20. [Idea Form](source/IdeaForm.tsx) -21. [Idea Popover](source/IdeaPopover.tsx) -22. [Idea Dialog](source/IdeaDialog.tsx) +7. [Select](source/Select.tsx) +8. [Filter Input](source/FilterInput/index.tsx) +9. [File Picker](source/FilePicker/index.tsx) +10. [File Uploader](source/FileUploader/) +11. [Multiple File Uploader](source/MultipleFileUploader/) +12. [Code Block](source/CodeBlock.tsx) +13. [Editor](source/Editor.tsx) +14. [Editor HTML](source/EditorHTML.tsx) +15. [Address Picker](source/AddressPicker.tsx) +16. [Idea Info](source/IdeaInfo.tsx) +17. [Idea Table](source/IdeaTable.tsx) +18. [Table Spinner](source/TableSpinner.tsx) +19. [Loading](source/Loading.tsx) +20. [Pagination Bar](source/PaginationBar.tsx) +21. [Idea Form](source/IdeaForm.tsx) +22. [Idea Popover](source/IdeaPopover.tsx) +23. [Idea Dialog](source/IdeaDialog.tsx) ## Utilities @@ -75,7 +76,7 @@ A **[React][1] advanced components library** based on [TypeScript][2] & [Bootstr 2. add Git tag ```shell -git tag vx.xx.x # 0.22.4 +git tag vx.xx.x # 0.23.0 ``` 3. review tag diff --git a/package.json b/package.json index 13dd16c..0f822ac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "idea-react", - "version": "0.22.4", + "version": "0.23.0", "license": "LGPL-3.0", "author": "shiy2008@gmail.com", "description": "A React advanced components library based on TypeScript & Bootstrap, built by idea2app remote developers team.", @@ -23,30 +23,30 @@ "main": "dist/index.umd.js", "module": "dist/index.js", "dependencies": { - "@editorjs/editorjs": "^2.23.2", + "@editorjs/editorjs": "^2.24.3", "@editorjs/paragraph": "^2.8.0", "classnames": "^2.3.1", "editorjs-html": "^3.4.2", "lodash": "^4.17.21", - "prismjs": "^1.27.0", + "prismjs": "^1.28.0", "react": "^17.0.2", - "react-bootstrap": "^2.2.3", + "react-bootstrap": "^2.4.0", "react-dom": "^17.0.2", "react-editor-js": "^2.0.6", - "react-element-to-jsx-string": "^14.3.4", - "web-utility": "^3.6.1" + "react-element-to-jsx-string": "^15.0.0", + "web-utility": "^3.6.5" }, "devDependencies": { - "@types/lodash": "^4.14.181", + "@types/lodash": "^4.14.182", "@types/prismjs": "^1.26.0", - "@types/react-dom": "^17.0.15", - "husky": "^7.0.4", + "@types/react-dom": "^17.0.17", + "husky": "^8.0.1", "less": "^4.1.2", - "lint-staged": "^12.3.7", + "lint-staged": "^12.4.1", "microbundle": "^0.14.2", "open-cli": "^7.0.1", "prettier": "^2.6.2", - "typedoc": "^0.22.14", + "typedoc": "^0.22.15", "typedoc-plugin-mdn-links": "^1.0.6", "typescript": "~4.3.5" }, diff --git a/preview/index.tsx b/preview/index.tsx index 4b467d3..84cb264 100644 --- a/preview/index.tsx +++ b/preview/index.tsx @@ -5,6 +5,8 @@ import { sleep } from 'web-utility'; import { Avatar, Base, + Select, + Option, FilePicker, FileUploader, FilterInput, @@ -32,13 +34,41 @@ interface User extends Base { link: string; } -export class App extends PureComponent { - state = { +const info: User = { + id: '1', + name: 'lingli', + link: 'https://baidu.com' + }, + list: User[] = [ + { + id: '1', + name: 'lingli', + link: 'https://baidu.com' + }, + { + id: '2', + name: 'xxx', + link: 'https://ideapp.dev' + } + ]; + +interface State { + pageIndex: number; + selectValue: string; + showLoading: boolean; + showDialog: boolean; + showFormDialog: boolean; + mapAddressName: string; +} + +export class App extends PureComponent<{}, State> { + state: Readonly = { + pageIndex: 1, + selectValue: '0', + showLoading: false, showDialog: false, showFormDialog: false, - pageIndex: 1, - mapAddressName: '', - showLoading: false + mapAddressName: '' }; columns: IdeaInfoItem[] = [ @@ -91,29 +121,13 @@ export class App extends PureComponent { render() { const { + pageIndex, + selectValue, + showLoading, showDialog, showFormDialog, - pageIndex, - mapAddressName, - showLoading + mapAddressName } = this.state; - const info: User = { - id: '1', - name: 'lingli', - link: 'https://baidu.com' - }; - const list: User[] = [ - { - id: '1', - name: 'lingli', - link: 'https://baidu.com' - }, - { - id: '2', - name: 'xxx', - link: 'https://ideapp.dev' - } - ]; return (
@@ -149,6 +163,26 @@ export class App extends PureComponent { )} +
+ {this.renderCode( + + )} +
+

注:暂有bug

{this.renderCode()} diff --git a/source/FilterInput/index.tsx b/source/FilterInput/index.tsx index 6144111..2926a7f 100644 --- a/source/FilterInput/index.tsx +++ b/source/FilterInput/index.tsx @@ -5,7 +5,7 @@ import { Badge } from 'react-bootstrap'; import { Icon } from '../Icon'; import style from './index.module.less'; -export interface Option { +export interface OptionItem { value?: any; label: string; } @@ -13,13 +13,13 @@ export interface Option { export interface FilterInputProps { name: string; required?: boolean; - defaultValue?: Option[]; - loadOptions?: (input: string) => Promise; + defaultValue?: OptionItem[]; + loadOptions?: (input: string) => Promise; } interface State { - options: Option[]; - values: Option[]; + options: OptionItem[]; + values: OptionItem[]; } export class FilterInput extends PureComponent { @@ -47,7 +47,7 @@ export class FilterInput extends PureComponent { this.setState({ values }); } - addOne(value: Option) { + addOne(value: OptionItem) { const { values } = this.state; this.setState({ options: [], values: [...values, value] }); diff --git a/source/Select.tsx b/source/Select.tsx new file mode 100644 index 0000000..57b22fa --- /dev/null +++ b/source/Select.tsx @@ -0,0 +1,73 @@ +import { makeArray } from 'web-utility'; +import classNames from 'classnames'; +import React, { + ReactNode, + ReactElement, + isValidElement, + PropsWithChildren, + FC +} from 'react'; +import { Dropdown } from 'react-bootstrap'; + +export type OptionProps = PropsWithChildren<{ + value?: string; +}>; + +export const Option: FC = ({ value, children }) => ( + {children} +); + +Option.displayName = 'Option'; + +export type SelectProps = PropsWithChildren<{ + className?: string; + value?: string; + onChange?: (value: string) => any; +}>; + +export const Select: FC = ({ + className, + children, + value, + onChange +}) => { + const current = (makeArray(children) as ReactNode[]).find( + node => + isValidElement(node) && + node.type === Option && + node.props.value === value + ) as ReactElement; + + return ( + { + const option = (target as HTMLElement).closest( + '.dropdown-item' + ); + if (!option) return; + + const { value } = option.dataset; + + onChange?.(value); + }} + > + +
{current?.props.children}
+
+ + {children} +
+ ); +}; + +Select.displayName = 'Select'; diff --git a/source/index.ts b/source/index.ts index 0034ea2..6ccfc67 100644 --- a/source/index.ts +++ b/source/index.ts @@ -5,6 +5,7 @@ export * from './Avatar'; export * from './Nameplate'; export * from './TableSpinner'; export * from './TypeEcho'; +export * from './Select'; export * from './FilterInput'; export * from './FilePicker'; export * from './FileUploader'; diff --git a/yarn.lock b/yarn.lock index 8822bea..b52f6af 100644 --- a/yarn.lock +++ b/yarn.lock @@ -983,13 +983,13 @@ resolved "https://registry.yarnpkg.com/@base2/pretty-print-object/-/pretty-print-object-1.0.1.tgz#371ba8be66d556812dc7fb169ebc3c08378f69d4" integrity sha512-4iri8i1AqYHJE2DstZYkyEprg6Pq6sKx3xn5FpySk9sNhH7qN2LLlHJCfDTZRILNwQNPD7mATWM0TBui7uC1pA== -"@editorjs/editorjs@^2.23.2": - version "2.23.2" - resolved "https://registry.yarnpkg.com/@editorjs/editorjs/-/editorjs-2.23.2.tgz#a4d3e60de8052602233750eda353596c09131a90" - integrity sha512-SXWQjxE/ZO6zWvo83U+gfkM9LVJzYOtNkttyXkdfyYALVWiENyxtlej/Jmd1TZ4yWpKwQEICPXz0ceGkzKnJyQ== +"@editorjs/editorjs@^2.24.3": + version "2.24.3" + resolved "https://registry.yarnpkg.com/@editorjs/editorjs/-/editorjs-2.24.3.tgz#60ee6dd37d57b870ef29754355d77f9c61f30e79" + integrity sha512-VzrWaQ7mggNUAPTDGcqXJNIlBZH3S2IqsIUGA43UM2Q9VFaeS5KuVFVOTrFJvAzF7G+vZTO52ocm+hrDhTwvyw== dependencies: codex-notifier "^1.1.2" - codex-tooltip "^1.0.4" + codex-tooltip "^1.0.5" nanoid "^3.1.22" "@editorjs/paragraph@^2.8.0": @@ -1155,10 +1155,12 @@ magic-string "^0.25.0" string.prototype.matchall "^4.0.6" -"@swc/helpers@^0.3.8": - version "0.3.8" - resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.3.8.tgz#5b9ecf4ee480ca00f1ffbc2d1a5d4eed0d1afe81" - integrity sha512-aWItSZvJj4+GI6FWkjZR13xPNPctq2RRakzo+O6vN7bC2yjwdg5EFpgaSAUn95b7BGSgcflvzVDPoKmJv24IOg== +"@swc/helpers@^0.3.13": + version "0.3.13" + resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.3.13.tgz#b9af856aaa3804fefdd1544632dde35b7b6ff978" + integrity sha512-A1wswJhnqaLRn8uYVQ8YiNTtY5i/JIPmV08EXXjjTresIkUVUEUaFv/wXVhGXfRNYMvHPkuoMR1Nb6NgpxGjNg== + dependencies: + tslib "^2.4.0" "@tokenizer/token@^0.3.0": version "0.3.0" @@ -1180,15 +1182,10 @@ resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== -"@types/invariant@^2.2.35": - version "2.2.35" - resolved "https://registry.yarnpkg.com/@types/invariant/-/invariant-2.2.35.tgz#cd3ebf581a6557452735688d8daba6cf0bd5a3be" - integrity sha512-DxX1V9P8zdJPYQat1gHyY0xj3efl8gnMVjiM9iCY6y27lj+PoQWkgjt8jDqmovPqULkKVpKRg8J36iQiA+EtEg== - -"@types/lodash@^4.14.181": - version "4.14.181" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.181.tgz#d1d3740c379fda17ab175165ba04e2d03389385d" - integrity sha512-n3tyKthHJbkiWhDZs3DkhkCzt2MexYHXlX0td5iMplyfwketaOeKboEVBqzceH7juqvEg3q5oUoBFxSLu7zFag== +"@types/lodash@^4.14.182": + version "4.14.182" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.182.tgz#05301a4d5e62963227eaafe0ce04dd77c54ea5c2" + integrity sha512-/THyiqyQAP9AfARo4pF+aCGcyiQ94tX/Is2I7HofNRqoYLgN1PBoOWu2/zTA5zMxzP5EFutMtWtGAFRKUe961Q== "@types/minimist@^1.2.2": version "1.2.2" @@ -1215,15 +1212,15 @@ resolved "https://registry.yarnpkg.com/@types/prismjs/-/prismjs-1.26.0.tgz#a1c3809b0ad61c62cac6d4e0c56d610c910b7654" integrity sha512-ZTaqn/qSqUuAq1YwvOFQfVW1AR/oQJlLSZVustdjwI+GZ8kr0MSHBj0tsXPW1EqHubx50gtBEjbPGsdZwQwCjQ== -"@types/prop-types@*", "@types/prop-types@^15.7.4": +"@types/prop-types@*": version "15.7.5" resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.5.tgz#5f19d2b85a98e9558036f6a3cacc8819420f05cf" integrity sha512-JCB8C6SnDoQf0cNycqd/35A7MjcnK+ZTqE7judS6o7utxUCg6imJg3QK2qzHKszlTjcj2cn+NwMB2i96ubpj7w== -"@types/react-dom@^17.0.15": - version "17.0.15" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.15.tgz#f2c8efde11521a4b7991e076cb9c70ba3bb0d156" - integrity sha512-Tr9VU9DvNoHDWlmecmcsE5ZZiUkYx+nKBzum4Oxe1K0yJVyBlfbq7H3eXjxXqJczBKqPGq3EgfTru4MgKb9+Yw== +"@types/react-dom@^17.0.17": + version "17.0.17" + resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.17.tgz#2e3743277a793a96a99f1bf87614598289da68a1" + integrity sha512-VjnqEmqGnasQKV0CWLevqMTXBYG9GbwuE6x3VetERLh0cq2LTptFE73MrQi2S7GkKXCf2GgwItB/melLnxfnsg== dependencies: "@types/react" "^17" @@ -1234,7 +1231,7 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@>=16.14.8", "@types/react@>=16.9.11": +"@types/react@*", "@types/react@>=16.9.11": version "18.0.1" resolved "https://registry.yarnpkg.com/@types/react/-/react-18.0.1.tgz#1b2e02fb7613212518733946e49fb963dfc66e19" integrity sha512-VnWlrVgG0dYt+NqlfMI0yUYb8Rdl4XUROyH+c6gq/iFCiZ805Vi//26UW38DHnxQkbDhnrIWTBiy6oKZqL11cw== @@ -1586,7 +1583,7 @@ codex-notifier@^1.1.2: resolved "https://registry.yarnpkg.com/codex-notifier/-/codex-notifier-1.1.2.tgz#a733079185f4c927fa296f1d71eb8753fe080895" integrity sha512-DCp6xe/LGueJ1N5sXEwcBc3r3PyVkEEDNWCVigfvywAkeXcZMk9K41a31tkEFBW0Ptlwji6/JlAb49E3Yrxbtg== -codex-tooltip@^1.0.4: +codex-tooltip@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/codex-tooltip/-/codex-tooltip-1.0.5.tgz#ba25fd5b3a58ba2f73fd667c2b46987ffd1edef2" integrity sha512-IuA8LeyLU5p1B+HyhOsqR6oxyFQ11k3i9e9aXw40CrHFTRO2Y1npNBVU3W1SvhKAbUU7R/YikUBdcYFP0RcJag== @@ -1944,10 +1941,10 @@ electron-to-chromium@^1.4.84: resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.106.tgz#e7a3bfa9d745dd9b9e597616cb17283cc349781a" integrity sha512-ZYfpVLULm67K7CaaGP7DmjyeMY4naxsbTy+syVVxT6QHI1Ww8XbJjmr9fDckrhq44WzCrcC5kH3zGpdusxwwqg== -element-internals-polyfill@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/element-internals-polyfill/-/element-internals-polyfill-1.1.2.tgz#81f48b3a70aa31e13941747afb066c47429f3a26" - integrity sha512-fLWEbGeYIT2NXrNQepFPYuwBcGaJLtms4JaG4h//bpmk4ivW8ESa95PfqHjqb1UO0/gU5G2pg6rEVPrabTQ3cQ== +element-internals-polyfill@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/element-internals-polyfill/-/element-internals-polyfill-1.1.4.tgz#120f105f3e889008b84c18bbae6053d3e95fad20" + integrity sha512-HCk2OXleHaRqrSyju+43TIUUb0/AkY6bV4tRbz8YFAWYeL+zUT6Mk0HmvbfZ19vq7zV9E+9dkNCxkYzEEVlCyA== emoji-regex@^8.0.0: version "8.0.0" @@ -2338,10 +2335,10 @@ human-signals@^2.1.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== -husky@^7.0.4: - version "7.0.4" - resolved "https://registry.yarnpkg.com/husky/-/husky-7.0.4.tgz#242048245dc49c8fb1bf0cc7cfb98dd722531535" - integrity sha512-vbaCKN2QLtP/vD4yvs6iz6hBEo6wkSzs8HpRah1Z6aGmF2KW5PdYuAd7uX5a+OyBZHBhd+TFLqgjUgytQr4RvQ== +husky@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/husky/-/husky-8.0.1.tgz#511cb3e57de3e3190514ae49ed50f6bc3f50b3e9" + integrity sha512-xs7/chUH/CKdOCs7Zy0Aev9e/dKOMZf3K1Az1nar3tzlv0jfqnYtu235bstsWTmXOR0EfINrPa97yy4Lz6RiKw== iconv-lite@^0.4.4: version "0.4.24" @@ -2707,10 +2704,10 @@ lines-and-columns@^1.1.6: resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== -lint-staged@^12.3.7: - version "12.3.7" - resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-12.3.7.tgz#ad0e2014302f704f9cf2c0ebdb97ac63d0f17be0" - integrity sha512-/S4D726e2GIsDVWIk1XGvheCaDm1SJRQp8efamZFWJxQMVEbOwSysp7xb49Oo73KYCdy97mIWinhlxcoNqIfIQ== +lint-staged@^12.4.1: + version "12.4.1" + resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-12.4.1.tgz#63fa27bfc8a33515f6902f63f6670864f1fb233c" + integrity sha512-PTXgzpflrQ+pODQTG116QNB+Q6uUTDg5B5HqGvNhoQSGt8Qy+MA/6zSnR8n38+sxP5TapzeQGTvoKni0KRS8Vg== dependencies: cli-truncate "^3.1.0" colorette "^2.0.16" @@ -3563,10 +3560,10 @@ pretty-bytes@^5.4.1: resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb" integrity sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg== -prismjs@^1.27.0: - version "1.27.0" - resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.27.0.tgz#bb6ee3138a0b438a3653dd4d6ce0cc6510a45057" - integrity sha512-t13BGPUlFDR7wRB5kQDG4jjl7XeuH6jbJGt11JHPL96qwsEHNX2+68tFXqc1/k+/jALsbSWJKUOT/hcYAZ5LkA== +prismjs@^1.28.0: + version "1.28.0" + resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.28.0.tgz#0d8f561fa0f7cf6ebca901747828b149147044b6" + integrity sha512-8aaXdYvl1F7iC7Xm1spqSaY/OJBpYW3v+KJ+F17iYxvdc8sfjW194COK5wVhMZX45tGteiBQgdvD/nhxcRwylw== promise.series@^0.2.0: version "0.2.0" @@ -3612,19 +3609,15 @@ randombytes@^2.1.0: dependencies: safe-buffer "^5.1.0" -react-bootstrap@^2.2.3: - version "2.2.3" - resolved "https://registry.yarnpkg.com/react-bootstrap/-/react-bootstrap-2.2.3.tgz#1c563018c8b856071334dd5a35f25507185136e2" - integrity sha512-gXsAEBdDUHnOpJ2C+DDQ4mFt7tN6u6qWnTH3tqiE9jUvV6gGY8uHFp0iGBsM+yjrBwmR6bqCBFh8Z82aQj1LSw== +react-bootstrap@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/react-bootstrap/-/react-bootstrap-2.4.0.tgz#99bf9656e2e7a23ae1ae135d18fd5ad7c344b416" + integrity sha512-dn599jNK1Fg5GGjJH+lQQDwELVzigh/MdusKpB/0el+sCjsO5MZDH5gRMmBjRhC+vb7VlCDr6OXffPIDSkNMLw== dependencies: "@babel/runtime" "^7.17.2" "@restart/hooks" "^0.4.6" "@restart/ui" "^1.2.0" - "@types/invariant" "^2.2.35" - "@types/prop-types" "^15.7.4" - "@types/react" ">=16.14.8" "@types/react-transition-group" "^4.4.4" - "@types/warning" "^3.0.0" classnames "^2.3.1" dom-helpers "^5.2.1" invariant "^2.2.4" @@ -3651,19 +3644,19 @@ react-editor-js@^2.0.6: "@react-editor-js/client" "2.0.6" "@react-editor-js/server" "2.0.6" -react-element-to-jsx-string@^14.3.4: - version "14.3.4" - resolved "https://registry.yarnpkg.com/react-element-to-jsx-string/-/react-element-to-jsx-string-14.3.4.tgz#709125bc72f06800b68f9f4db485f2c7d31218a8" - integrity sha512-t4ZwvV6vwNxzujDQ+37bspnLwA4JlgUPWhLjBJWsNIDceAf6ZKUTCjdm08cN6WeZ5pTMKiCJkmAYnpmR4Bm+dg== +react-element-to-jsx-string@^15.0.0: + version "15.0.0" + resolved "https://registry.yarnpkg.com/react-element-to-jsx-string/-/react-element-to-jsx-string-15.0.0.tgz#1cafd5b6ad41946ffc8755e254da3fc752a01ac6" + integrity sha512-UDg4lXB6BzlobN60P8fHWVPX3Kyw8ORrTeBtClmIlGdkOOE+GYQSFvmEU5iLLpwp/6v42DINwNcwOhOLfQ//FQ== dependencies: "@base2/pretty-print-object" "1.0.1" is-plain-object "5.0.0" - react-is "17.0.2" + react-is "18.1.0" -react-is@17.0.2: - version "17.0.2" - resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" - integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w== +react-is@18.1.0: + version "18.1.0" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.1.0.tgz#61aaed3096d30eacf2a2127118b5b41387d32a67" + integrity sha512-Fl7FuabXsJnV5Q1qIOQwx/sagGF18kogb4gpfcG4gjLBWO0WDiiz1ko/ExayuxE7InyQkBLkxRFG5oxY6Uu3Kg== react-is@^16.13.1, react-is@^16.3.2: version "16.13.1" @@ -4353,6 +4346,11 @@ tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== +tslib@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + type-fest@^0.16.0: version "0.16.0" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.16.0.tgz#3240b891a78b0deae910dbeb86553e552a148860" @@ -4373,10 +4371,10 @@ typedoc-plugin-mdn-links@^1.0.6: resolved "https://registry.yarnpkg.com/typedoc-plugin-mdn-links/-/typedoc-plugin-mdn-links-1.0.6.tgz#4ef9f2d5c1780cccd7955a45c197520f33526460" integrity sha512-ee+uJXZH8vXzi5wpXBc+Wgjt30hQdRE3SyUvAHVoBbHsoqkGbs4hMTDo9mU8aQsZ2MZkve0nTmN3eVc79YN/Qg== -typedoc@^0.22.14: - version "0.22.14" - resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.22.14.tgz#c690677c31bc1dd5618caffc001bfa8554c4c02f" - integrity sha512-tlf9wIcsrnQSjetStrnRutuy2RjZkG5PK2umwveZLTkuC2K9VywOZTdu2G19BdOPzGrhZjf9WK7pthXqnFQejg== +typedoc@^0.22.15: + version "0.22.15" + resolved "https://registry.yarnpkg.com/typedoc/-/typedoc-0.22.15.tgz#c6ad7ed9d017dc2c3a06c9189cb392bd8e2d8c3f" + integrity sha512-CMd1lrqQbFvbx6S9G6fL4HKp3GoIuhujJReWqlIvSb2T26vGai+8Os3Mde7Pn832pXYemd9BMuuYWhFpL5st0Q== dependencies: glob "^7.2.0" lunr "^2.3.9" @@ -4479,13 +4477,13 @@ warning@^4.0.0, warning@^4.0.3: dependencies: loose-envify "^1.0.0" -web-utility@^3.6.1: - version "3.6.1" - resolved "https://registry.yarnpkg.com/web-utility/-/web-utility-3.6.1.tgz#85c0b62007b783c80b28a86d8fee1f84b6a83168" - integrity sha512-jhaAKs0v+xVuOVpL1woexU7d3J2sjG+0i3q5A0dSos6ePfhTdy+mWzBktiSqbIUSGh9khVZq8VUs+2XcK3ycGw== +web-utility@^3.6.5: + version "3.6.5" + resolved "https://registry.yarnpkg.com/web-utility/-/web-utility-3.6.5.tgz#63beae4c5cb5901327a21a62b2c1e9c1a5cb680b" + integrity sha512-DaLyrGDbhjimyRnXFL4WdQE+8G3jDQPOGC2G41rMfSv4bbsKcmTDghB1b2pdxJs1KvJnm/FQA48m00GeyRZ54w== dependencies: - "@swc/helpers" "^0.3.8" - element-internals-polyfill "^1.1.2" + "@swc/helpers" "^0.3.13" + element-internals-polyfill "^1.1.4" regenerator-runtime "^0.13.9" which-boxed-primitive@^1.0.2: