@sitecore/sc-contenthub-blok 0.0.91 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Components/BlokBadge/BlokBadge.spec.js +1 -1
- package/dist/Components/BlokBadge/BlokBadge.spec.js.map +1 -1
- package/dist/Components/BlokButton/BlokButton.d.ts +3 -4
- package/dist/Components/BlokButton/BlokButton.js +3 -3
- package/dist/Components/BlokButton/BlokButton.js.map +1 -1
- package/dist/Components/BlokIcon/BlokIcon.d.ts +2 -1
- package/dist/Components/BlokIcon/BlokIcon.js +3 -3
- package/dist/Components/BlokIcon/BlokIcon.js.map +1 -1
- package/dist/Components/BlokIcon/iconNames.d.ts +1 -1
- package/dist/Components/BlokIcon/iconNames.js +1 -0
- package/dist/Components/BlokIcon/iconNames.js.map +1 -1
- package/dist/Components/BlokIconButton/BlokIconButton.d.ts +2 -4
- package/dist/Components/BlokIconButton/BlokIconButton.js +3 -3
- package/dist/Components/BlokIconButton/BlokIconButton.js.map +1 -1
- package/dist/Components/BlokSearchBox/BlokSearchBox.d.ts +3 -2
- package/dist/Components/BlokSearchBox/BlokSearchBox.js +3 -2
- package/dist/Components/BlokSearchBox/BlokSearchBox.js.map +1 -1
- package/dist/Components/BlokTooltip/BlokTooltip.js +0 -4
- package/dist/Components/BlokTooltip/BlokTooltip.js.map +1 -1
- package/esm/Components/BlokButton/BlokButton.js +2 -3
- package/esm/Components/BlokButton/BlokButton.js.map +1 -1
- package/esm/Components/BlokIcon/BlokIcon.js +2 -3
- package/esm/Components/BlokIcon/BlokIcon.js.map +1 -1
- package/esm/Components/BlokIcon/iconNames.js +1 -0
- package/esm/Components/BlokIcon/iconNames.js.map +1 -1
- package/esm/Components/BlokIconButton/BlokIconButton.js +2 -3
- package/esm/Components/BlokIconButton/BlokIconButton.js.map +1 -1
- package/esm/Components/BlokSearchBox/BlokSearchBox.js +3 -3
- package/esm/Components/BlokSearchBox/BlokSearchBox.js.map +1 -1
- package/esm/Components/BlokTooltip/BlokTooltip.js +0 -4
- package/esm/Components/BlokTooltip/BlokTooltip.js.map +1 -1
- package/node_modules/@babel/code-frame/package.json +3 -3
- package/node_modules/@babel/generator/lib/generators/classes.js +7 -4
- package/node_modules/@babel/generator/lib/generators/classes.js.map +1 -1
- package/node_modules/@babel/generator/lib/generators/deprecated.js +28 -0
- package/node_modules/@babel/generator/lib/generators/deprecated.js.map +1 -0
- package/node_modules/@babel/generator/lib/generators/expressions.js +17 -12
- package/node_modules/@babel/generator/lib/generators/expressions.js.map +1 -1
- package/node_modules/@babel/generator/lib/generators/jsx.js +6 -1
- package/node_modules/@babel/generator/lib/generators/jsx.js.map +1 -1
- package/node_modules/@babel/generator/lib/generators/methods.js.map +1 -1
- package/node_modules/@babel/generator/lib/generators/modules.js +8 -3
- package/node_modules/@babel/generator/lib/generators/modules.js.map +1 -1
- package/node_modules/@babel/generator/lib/generators/statements.js +1 -4
- package/node_modules/@babel/generator/lib/generators/statements.js.map +1 -1
- package/node_modules/@babel/generator/lib/generators/template-literals.js +16 -11
- package/node_modules/@babel/generator/lib/generators/template-literals.js.map +1 -1
- package/node_modules/@babel/generator/lib/generators/types.js +4 -9
- package/node_modules/@babel/generator/lib/generators/types.js.map +1 -1
- package/node_modules/@babel/generator/lib/generators/typescript.js +40 -18
- package/node_modules/@babel/generator/lib/generators/typescript.js.map +1 -1
- package/node_modules/@babel/generator/lib/index.js +3 -1
- package/node_modules/@babel/generator/lib/index.js.map +1 -1
- package/node_modules/@babel/generator/lib/node/index.js +11 -8
- package/node_modules/@babel/generator/lib/node/index.js.map +1 -1
- package/node_modules/@babel/generator/lib/node/parentheses.js +44 -7
- package/node_modules/@babel/generator/lib/node/parentheses.js.map +1 -1
- package/node_modules/@babel/generator/lib/printer.js +31 -24
- package/node_modules/@babel/generator/lib/printer.js.map +1 -1
- package/node_modules/@babel/generator/package.json +9 -9
- package/node_modules/@babel/helper-globals/LICENSE +22 -0
- package/node_modules/@babel/helper-globals/README.md +19 -0
- package/node_modules/@babel/helper-globals/data/browser-upper.json +911 -0
- package/node_modules/@babel/helper-globals/data/builtin-lower.json +15 -0
- package/node_modules/@babel/helper-globals/data/builtin-upper.json +51 -0
- package/node_modules/@babel/helper-globals/package.json +32 -0
- package/node_modules/@babel/helper-module-imports/lib/import-builder.js.map +1 -1
- package/node_modules/@babel/helper-module-imports/lib/import-injector.js.map +1 -1
- package/node_modules/@babel/helper-module-imports/package.json +4 -4
- package/node_modules/@babel/helper-string-parser/package.json +1 -1
- package/node_modules/@babel/helper-validator-identifier/package.json +1 -1
- package/node_modules/@babel/parser/bin/babel-parser.js +1 -1
- package/node_modules/@babel/parser/lib/index.js +5814 -5255
- package/node_modules/@babel/parser/lib/index.js.map +1 -1
- package/node_modules/@babel/parser/package.json +7 -7
- package/node_modules/@babel/parser/typings/babel-parser.d.ts +137 -165
- package/node_modules/@babel/template/lib/options.js +1 -1
- package/node_modules/@babel/template/lib/options.js.map +1 -1
- package/node_modules/@babel/template/lib/parse.js +3 -0
- package/node_modules/@babel/template/lib/parse.js.map +1 -1
- package/node_modules/@babel/template/lib/populate.js +2 -1
- package/node_modules/@babel/template/lib/populate.js.map +1 -1
- package/node_modules/@babel/template/package.json +4 -4
- package/node_modules/@babel/traverse/lib/cache.js +10 -16
- package/node_modules/@babel/traverse/lib/cache.js.map +1 -1
- package/node_modules/@babel/traverse/lib/index.js +8 -16
- package/node_modules/@babel/traverse/lib/index.js.map +1 -1
- package/node_modules/@babel/traverse/lib/path/ancestry.js +1 -3
- package/node_modules/@babel/traverse/lib/path/ancestry.js.map +1 -1
- package/node_modules/@babel/traverse/lib/path/context.js +0 -15
- package/node_modules/@babel/traverse/lib/path/context.js.map +1 -1
- package/node_modules/@babel/traverse/lib/path/conversion.js +7 -4
- package/node_modules/@babel/traverse/lib/path/conversion.js.map +1 -1
- package/node_modules/@babel/traverse/lib/path/evaluation.js +23 -2
- package/node_modules/@babel/traverse/lib/path/evaluation.js.map +1 -1
- package/node_modules/@babel/traverse/lib/path/family.js +13 -7
- package/node_modules/@babel/traverse/lib/path/family.js.map +1 -1
- package/node_modules/@babel/traverse/lib/path/index.js +2 -1
- package/node_modules/@babel/traverse/lib/path/index.js.map +1 -1
- package/node_modules/@babel/traverse/lib/path/introspection.js.map +1 -1
- package/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +1 -1
- package/node_modules/@babel/traverse/lib/path/lib/virtual-types.js +1 -1
- package/node_modules/@babel/traverse/lib/path/lib/virtual-types.js.map +1 -1
- package/node_modules/@babel/traverse/lib/path/modification.js +3 -2
- package/node_modules/@babel/traverse/lib/path/modification.js.map +1 -1
- package/node_modules/@babel/traverse/lib/path/removal.js +2 -1
- package/node_modules/@babel/traverse/lib/path/removal.js.map +1 -1
- package/node_modules/@babel/traverse/lib/path/replacement.js +2 -2
- package/node_modules/@babel/traverse/lib/path/replacement.js.map +1 -1
- package/node_modules/@babel/traverse/lib/scope/binding.js +4 -3
- package/node_modules/@babel/traverse/lib/scope/binding.js.map +1 -1
- package/node_modules/@babel/traverse/lib/scope/index.js +99 -39
- package/node_modules/@babel/traverse/lib/scope/index.js.map +1 -1
- package/node_modules/@babel/traverse/lib/traverse-node.js +109 -0
- package/node_modules/@babel/traverse/lib/traverse-node.js.map +1 -1
- package/node_modules/@babel/traverse/lib/types.js +1 -1
- package/node_modules/@babel/traverse/lib/visitors.js +6 -4
- package/node_modules/@babel/traverse/lib/visitors.js.map +1 -1
- package/node_modules/@babel/traverse/package.json +10 -10
- package/node_modules/@babel/types/lib/asserts/generated/index.js +19 -3
- package/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -1
- package/node_modules/@babel/types/lib/ast-types/generated/index.js +1 -1
- package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -1
- package/node_modules/@babel/types/lib/builders/generated/index.js +22 -2858
- package/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -1
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js +2896 -0
- package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +1 -0
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js +267 -1525
- package/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -1
- package/node_modules/@babel/types/lib/constants/generated/index.js +2 -1
- package/node_modules/@babel/types/lib/constants/generated/index.js.map +1 -1
- package/node_modules/@babel/types/lib/constants/index.js +5 -3
- package/node_modules/@babel/types/lib/constants/index.js.map +1 -1
- package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -1
- package/node_modules/@babel/types/lib/converters/toExpression.js +1 -0
- package/node_modules/@babel/types/lib/converters/toExpression.js.map +1 -1
- package/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -1
- package/node_modules/@babel/types/lib/converters/valueToNode.js +16 -3
- package/node_modules/@babel/types/lib/converters/valueToNode.js.map +1 -1
- package/node_modules/@babel/types/lib/definitions/core.js +73 -44
- package/node_modules/@babel/types/lib/definitions/core.js.map +1 -1
- package/node_modules/@babel/types/lib/definitions/experimental.js +3 -11
- package/node_modules/@babel/types/lib/definitions/experimental.js.map +1 -1
- package/node_modules/@babel/types/lib/definitions/flow.js +6 -3
- package/node_modules/@babel/types/lib/definitions/flow.js.map +1 -1
- package/node_modules/@babel/types/lib/definitions/index.js +13 -0
- package/node_modules/@babel/types/lib/definitions/index.js.map +1 -1
- package/node_modules/@babel/types/lib/definitions/jsx.js +9 -4
- package/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -1
- package/node_modules/@babel/types/lib/definitions/typescript.js +56 -28
- package/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -1
- package/node_modules/@babel/types/lib/definitions/utils.js +37 -15
- package/node_modules/@babel/types/lib/definitions/utils.js.map +1 -1
- package/node_modules/@babel/types/lib/index-legacy.d.ts +72 -41
- package/node_modules/@babel/types/lib/index.d.ts +1699 -1655
- package/node_modules/@babel/types/lib/index.js +10 -21
- package/node_modules/@babel/types/lib/index.js.flow +72 -42
- package/node_modules/@babel/types/lib/index.js.map +1 -1
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +9 -8
- package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -1
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +1 -0
- package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -1
- package/node_modules/@babel/types/lib/traverse/traverseFast.js +19 -5
- package/node_modules/@babel/types/lib/traverse/traverseFast.js.map +1 -1
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js +3 -3
- package/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +1 -1
- package/node_modules/@babel/types/lib/validators/generated/index.js +50 -5
- package/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -1
- package/node_modules/@babel/types/lib/validators/isLet.js +6 -2
- package/node_modules/@babel/types/lib/validators/isLet.js.map +1 -1
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js +1 -5
- package/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +1 -1
- package/node_modules/@babel/types/lib/validators/isType.js +1 -6
- package/node_modules/@babel/types/lib/validators/isType.js.map +1 -1
- package/node_modules/@babel/types/lib/validators/isVar.js +8 -4
- package/node_modules/@babel/types/lib/validators/isVar.js.map +1 -1
- package/node_modules/@babel/types/lib/validators/matchesPattern.js +10 -2
- package/node_modules/@babel/types/lib/validators/matchesPattern.js.map +1 -1
- package/node_modules/@babel/types/lib/validators/validate.js.map +1 -1
- package/node_modules/@babel/types/package.json +14 -14
- package/node_modules/@emotion/cache/dist/declarations/src/index.d.ts +16 -2
- package/node_modules/@emotion/cache/dist/declarations/src/types.d.ts +14 -0
- package/node_modules/@emotion/cache/dist/emotion-cache.browser.cjs.js +7 -36
- package/node_modules/@emotion/cache/dist/emotion-cache.browser.development.cjs.js +10 -43
- package/node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js +10 -43
- package/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +7 -36
- package/node_modules/@emotion/cache/dist/emotion-cache.cjs.js +11 -73
- package/node_modules/@emotion/cache/dist/emotion-cache.development.cjs.js +15 -81
- package/node_modules/@emotion/cache/dist/emotion-cache.development.edge-light.cjs.js +50 -60
- package/node_modules/@emotion/cache/dist/emotion-cache.development.edge-light.esm.js +51 -61
- package/node_modules/@emotion/cache/dist/emotion-cache.development.esm.js +15 -81
- package/node_modules/@emotion/cache/dist/emotion-cache.edge-light.cjs.js +28 -56
- package/node_modules/@emotion/cache/dist/emotion-cache.edge-light.esm.js +29 -57
- package/node_modules/@emotion/cache/dist/emotion-cache.esm.js +11 -73
- package/node_modules/@emotion/cache/package.json +11 -11
- package/node_modules/@emotion/cache/src/{index.js → index.ts} +39 -55
- package/node_modules/@emotion/cache/src/{prefixer.js → prefixer.ts} +11 -4
- package/node_modules/@emotion/cache/src/{stylis-plugins.js → stylis-plugins.ts} +91 -83
- package/node_modules/@emotion/cache/src/{types.js → types.ts} +4 -5
- package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.umd.min.js.map +1 -1
- package/node_modules/@emotion/react/_isolated-hnrs/package.json +1 -0
- package/node_modules/@emotion/react/dist/declarations/src/_isolated-hnrs.d.ts +3 -3
- package/node_modules/@emotion/react/dist/declarations/src/class-names.d.ts +18 -0
- package/node_modules/@emotion/react/dist/declarations/src/context.d.ts +6 -0
- package/node_modules/@emotion/react/dist/declarations/src/css.d.ts +5 -0
- package/node_modules/@emotion/react/dist/declarations/src/global.d.ts +7 -0
- package/node_modules/@emotion/react/dist/declarations/src/index.d.ts +14 -1
- package/node_modules/@emotion/react/dist/declarations/src/jsx-dev-runtime.d.ts +6 -1
- package/node_modules/@emotion/react/dist/declarations/src/jsx-namespace.d.ts +64 -0
- package/node_modules/@emotion/react/dist/declarations/src/jsx-runtime.d.ts +7 -1
- package/node_modules/@emotion/react/dist/declarations/src/jsx.d.ts +22 -0
- package/node_modules/@emotion/react/dist/declarations/src/keyframes.d.ts +10 -0
- package/node_modules/@emotion/react/dist/declarations/src/theming.d.ts +28 -0
- package/node_modules/@emotion/react/dist/declarations/src/types.d.ts +7 -0
- package/node_modules/@emotion/react/dist/{emotion-element-f66136f5.development.edge-light.cjs.js → emotion-element-010f37fa.development.edge-light.cjs.js} +23 -84
- package/node_modules/@emotion/react/dist/{emotion-element-832b737b.browser.cjs.js → emotion-element-25f9958c.browser.cjs.js} +20 -65
- package/node_modules/@emotion/react/dist/{emotion-element-7447be04.browser.development.cjs.js → emotion-element-4787f564.browser.development.cjs.js} +21 -74
- package/node_modules/@emotion/react/dist/{emotion-element-7a1343fa.browser.development.esm.js → emotion-element-489459f2.browser.development.esm.js} +21 -74
- package/node_modules/@emotion/react/dist/{emotion-element-efb2998a.development.edge-light.esm.js → emotion-element-516430c7.development.edge-light.esm.js} +23 -84
- package/node_modules/@emotion/react/dist/{emotion-element-ba80abe0.development.esm.js → emotion-element-782f682d.development.esm.js} +23 -84
- package/node_modules/@emotion/react/dist/{emotion-element-657efc1f.edge-light.esm.js → emotion-element-8113875a.edge-light.esm.js} +22 -75
- package/node_modules/@emotion/react/dist/{emotion-element-b1930563.cjs.js → emotion-element-a1829a1e.cjs.js} +22 -75
- package/node_modules/@emotion/react/dist/{emotion-element-60389d2b.edge-light.cjs.js → emotion-element-af3dc15b.edge-light.cjs.js} +22 -75
- package/node_modules/@emotion/react/dist/{emotion-element-b4c8b265.esm.js → emotion-element-d59e098f.esm.js} +22 -75
- package/node_modules/@emotion/react/dist/{emotion-element-9150ebbd.development.cjs.js → emotion-element-e8f4cc37.development.cjs.js} +23 -84
- package/node_modules/@emotion/react/dist/{emotion-element-5486c51c.browser.esm.js → emotion-element-f0de968e.browser.esm.js} +20 -65
- package/node_modules/@emotion/react/dist/emotion-react.browser.cjs.js +19 -75
- package/node_modules/@emotion/react/dist/emotion-react.browser.development.cjs.js +38 -102
- package/node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js +38 -101
- package/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +19 -74
- package/node_modules/@emotion/react/dist/emotion-react.cjs.js +19 -75
- package/node_modules/@emotion/react/dist/emotion-react.development.cjs.js +38 -102
- package/node_modules/@emotion/react/dist/emotion-react.development.edge-light.cjs.js +37 -99
- package/node_modules/@emotion/react/dist/emotion-react.development.edge-light.esm.js +37 -98
- package/node_modules/@emotion/react/dist/emotion-react.development.esm.js +38 -101
- package/node_modules/@emotion/react/dist/emotion-react.edge-light.cjs.js +18 -72
- package/node_modules/@emotion/react/dist/emotion-react.edge-light.esm.js +18 -71
- package/node_modules/@emotion/react/dist/emotion-react.esm.js +19 -74
- package/node_modules/@emotion/react/dist/emotion-react.umd.min.js +1 -1
- package/node_modules/@emotion/react/dist/emotion-react.umd.min.js.map +1 -1
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.js +3 -3
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.cjs.js +3 -3
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.esm.js +3 -3
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js +3 -3
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js +3 -3
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.cjs.js +3 -3
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.js +3 -3
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.esm.js +3 -3
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.esm.js +3 -3
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.js +3 -3
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.esm.js +3 -3
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js +3 -3
- package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.umd.min.js.map +1 -1
- package/node_modules/@emotion/react/jsx-dev-runtime/package.json +1 -1
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.cjs.js +5 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.cjs.js +5 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js +5 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js +5 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js +5 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.cjs.js +5 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.js +5 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.esm.js +5 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.esm.js +5 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.js +5 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.esm.js +5 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js +5 -5
- package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.umd.min.js.map +1 -1
- package/node_modules/@emotion/react/jsx-runtime/package.json +1 -1
- package/node_modules/@emotion/react/package.json +19 -18
- package/node_modules/@emotion/react/src/{_isolated-hnrs.js → _isolated-hnrs.ts} +7 -2
- package/node_modules/@emotion/react/src/{class-names.js → class-names.tsx} +43 -32
- package/node_modules/@emotion/react/src/{context.js → context.tsx} +25 -22
- package/node_modules/@emotion/react/src/css.ts +14 -0
- package/node_modules/@emotion/react/src/{emotion-element.js → emotion-element.tsx} +37 -17
- package/node_modules/@emotion/react/src/{get-label-from-stack-trace.js → get-label-from-stack-trace.ts} +7 -4
- package/node_modules/@emotion/react/src/global.tsx +147 -0
- package/node_modules/@emotion/react/src/{index.js → index.ts} +24 -3
- package/node_modules/@emotion/react/src/{jsx-dev-runtime.js → jsx-dev-runtime.ts} +12 -2
- package/node_modules/@emotion/react/src/jsx-namespace.ts +107 -0
- package/node_modules/@emotion/react/src/jsx-runtime.ts +32 -0
- package/node_modules/@emotion/react/src/jsx.ts +45 -0
- package/node_modules/@emotion/react/src/keyframes.ts +27 -0
- package/node_modules/@emotion/react/src/{theming.js → theming.tsx} +40 -18
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.cjs.js +19 -92
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.cjs.js +22 -94
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.esm.js +22 -94
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js +19 -92
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.cjs.js +20 -93
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.cjs.js +23 -95
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.edge-light.cjs.js +22 -94
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.edge-light.esm.js +22 -94
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.esm.js +24 -96
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.edge-light.cjs.js +19 -92
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.edge-light.esm.js +19 -92
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js +21 -94
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.umd.min.js +1 -1
- package/node_modules/@emotion/styled/base/dist/emotion-styled-base.umd.min.js.map +1 -1
- package/node_modules/@emotion/styled/base/package.json +1 -1
- package/node_modules/@emotion/styled/dist/declarations/src/base.d.ts +4 -2
- package/node_modules/@emotion/styled/dist/declarations/src/index.d.ts +15 -2
- package/node_modules/@emotion/styled/dist/declarations/src/jsx-namespace.d.ts +5 -0
- package/node_modules/@emotion/styled/dist/declarations/src/types.d.ts +88 -0
- package/node_modules/@emotion/styled/dist/emotion-styled.browser.cjs.js +7 -6
- package/node_modules/@emotion/styled/dist/emotion-styled.browser.development.cjs.js +7 -6
- package/node_modules/@emotion/styled/dist/emotion-styled.browser.development.esm.js +7 -6
- package/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js +7 -6
- package/node_modules/@emotion/styled/dist/emotion-styled.cjs.js +7 -6
- package/node_modules/@emotion/styled/dist/emotion-styled.development.cjs.js +7 -6
- package/node_modules/@emotion/styled/dist/emotion-styled.development.edge-light.cjs.js +7 -6
- package/node_modules/@emotion/styled/dist/emotion-styled.development.edge-light.esm.js +7 -6
- package/node_modules/@emotion/styled/dist/emotion-styled.development.esm.js +7 -6
- package/node_modules/@emotion/styled/dist/emotion-styled.edge-light.cjs.js +7 -6
- package/node_modules/@emotion/styled/dist/emotion-styled.edge-light.esm.js +7 -6
- package/node_modules/@emotion/styled/dist/emotion-styled.esm.js +7 -6
- package/node_modules/@emotion/styled/dist/emotion-styled.umd.min.js +1 -1
- package/node_modules/@emotion/styled/dist/emotion-styled.umd.min.js.map +1 -1
- package/node_modules/@emotion/styled/package.json +13 -14
- package/node_modules/@emotion/styled/src/{base.js → base.tsx} +56 -42
- package/node_modules/@emotion/styled/{types/index.d.ts → src/index.ts} +21 -12
- package/node_modules/@emotion/styled/{dist/declarations/types/jsx-namespace.d.ts → src/jsx-namespace.ts} +3 -5
- package/node_modules/@emotion/styled/src/{tags.js → tags.ts} +1 -1
- package/node_modules/@emotion/styled/{types/base.d.ts → src/types.ts} +8 -15
- package/node_modules/@emotion/styled/src/utils.ts +38 -0
- package/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/declarations/src/index.d.ts +3 -0
- package/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.cjs.d.mts +2 -0
- package/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.cjs.d.ts +2 -0
- package/node_modules/@emotion/use-insertion-effect-with-fallbacks/package.json +7 -6
- package/node_modules/@emotion/use-insertion-effect-with-fallbacks/src/index.ts +21 -0
- package/node_modules/@jridgewell/gen-mapping/LICENSE +1 -1
- package/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +256 -194
- package/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map +6 -1
- package/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +339 -239
- package/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map +6 -1
- package/node_modules/@jridgewell/gen-mapping/package.json +46 -51
- package/node_modules/@jridgewell/gen-mapping/src/gen-mapping.ts +614 -0
- package/node_modules/@jridgewell/gen-mapping/src/set-array.ts +82 -0
- package/node_modules/@jridgewell/gen-mapping/src/sourcemap-segment.ts +16 -0
- package/node_modules/@jridgewell/gen-mapping/src/types.ts +61 -0
- package/node_modules/@jridgewell/gen-mapping/{dist/types/gen-mapping.d.ts → types/gen-mapping.d.cts} +3 -2
- package/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.cts.map +1 -0
- package/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts +89 -0
- package/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts.map +1 -0
- package/node_modules/@jridgewell/{set-array/dist/types/set-array.d.ts → gen-mapping/types/set-array.d.cts} +2 -1
- package/node_modules/@jridgewell/gen-mapping/types/set-array.d.cts.map +1 -0
- package/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts +33 -0
- package/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts.map +1 -0
- package/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.cts +13 -0
- package/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.cts.map +1 -0
- package/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts +13 -0
- package/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts.map +1 -0
- package/node_modules/@jridgewell/gen-mapping/{dist/types/types.d.ts → types/types.d.cts} +10 -2
- package/node_modules/@jridgewell/gen-mapping/types/types.d.cts.map +1 -0
- package/node_modules/@jridgewell/gen-mapping/types/types.d.mts +44 -0
- package/node_modules/@jridgewell/gen-mapping/types/types.d.mts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/LICENSE +1 -1
- package/node_modules/@jridgewell/trace-mapping/README.md +160 -69
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +417 -493
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +6 -1
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +546 -588
- package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +6 -1
- package/node_modules/@jridgewell/trace-mapping/package.json +43 -49
- package/node_modules/@jridgewell/trace-mapping/src/binary-search.ts +115 -0
- package/node_modules/@jridgewell/trace-mapping/src/by-source.ts +65 -0
- package/node_modules/@jridgewell/trace-mapping/src/flatten-map.ts +192 -0
- package/node_modules/@jridgewell/trace-mapping/src/resolve.ts +16 -0
- package/node_modules/@jridgewell/trace-mapping/src/sort.ts +45 -0
- package/node_modules/@jridgewell/trace-mapping/src/sourcemap-segment.ts +23 -0
- package/node_modules/@jridgewell/trace-mapping/src/strip-filename.ts +8 -0
- package/node_modules/@jridgewell/trace-mapping/src/trace-mapping.ts +504 -0
- package/node_modules/@jridgewell/trace-mapping/src/types.ts +114 -0
- package/node_modules/@jridgewell/trace-mapping/{dist/types/binary-search.d.ts → types/binary-search.d.cts} +2 -1
- package/node_modules/@jridgewell/trace-mapping/types/binary-search.d.cts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts +33 -0
- package/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/types/by-source.d.cts +8 -0
- package/node_modules/@jridgewell/trace-mapping/types/by-source.d.cts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/{dist/types/by-source.d.ts → types/by-source.d.mts} +3 -2
- package/node_modules/@jridgewell/trace-mapping/types/by-source.d.mts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.cts +9 -0
- package/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.cts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts +9 -0
- package/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/types/resolve.d.cts +4 -0
- package/node_modules/@jridgewell/trace-mapping/types/resolve.d.cts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts +4 -0
- package/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/types/sort.d.cts +3 -0
- package/node_modules/@jridgewell/trace-mapping/types/sort.d.cts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/{dist/types/sort.d.ts → types/sort.d.mts} +2 -1
- package/node_modules/@jridgewell/trace-mapping/types/sort.d.mts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/{dist/types/sourcemap-segment.d.ts → types/sourcemap-segment.d.cts} +1 -0
- package/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.cts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts +17 -0
- package/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.cts +5 -0
- package/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.cts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/{dist/types/strip-filename.d.ts → types/strip-filename.d.mts} +1 -0
- package/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.mts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/{dist/types/trace-mapping.d.ts → types/trace-mapping.d.cts} +7 -6
- package/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.cts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts +80 -0
- package/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/{dist/types/types.d.ts → types/types.d.cts} +10 -2
- package/node_modules/@jridgewell/trace-mapping/types/types.d.cts.map +1 -0
- package/node_modules/@jridgewell/trace-mapping/types/types.d.mts +107 -0
- package/node_modules/@jridgewell/trace-mapping/types/types.d.mts.map +1 -0
- package/node_modules/@mui/core-downloads-tracker/package.json +1 -1
- package/node_modules/@mui/material/Accordion/Accordion.d.ts +32 -15
- package/node_modules/@mui/material/Accordion/Accordion.js +18 -6
- package/node_modules/@mui/material/AccordionActions/AccordionActions.d.ts +2 -2
- package/node_modules/@mui/material/AccordionDetails/AccordionDetails.d.ts +2 -2
- package/node_modules/@mui/material/AccordionSummary/AccordionSummary.d.ts +62 -7
- package/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +67 -16
- package/node_modules/@mui/material/Alert/Alert.d.ts +6 -18
- package/node_modules/@mui/material/AlertTitle/AlertTitle.d.ts +3 -3
- package/node_modules/@mui/material/AppBar/AppBar.d.ts +4 -4
- package/node_modules/@mui/material/Autocomplete/Autocomplete.d.ts +2 -2
- package/node_modules/@mui/material/Autocomplete/Autocomplete.js +1 -1
- package/node_modules/@mui/material/Avatar/Avatar.d.ts +2 -2
- package/node_modules/@mui/material/AvatarGroup/AvatarGroup.d.ts +2 -2
- package/node_modules/@mui/material/AvatarGroup/AvatarGroup.js +10 -2
- package/node_modules/@mui/material/Backdrop/Backdrop.d.ts +17 -15
- package/node_modules/@mui/material/Badge/Badge.d.ts +35 -31
- package/node_modules/@mui/material/Badge/Badge.js +27 -20
- package/node_modules/@mui/material/BottomNavigation/BottomNavigation.d.ts +2 -2
- package/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.d.ts +43 -6
- package/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js +53 -9
- package/node_modules/@mui/material/Box/Box.d.ts +2 -2
- package/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +3 -1
- package/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.d.ts +3 -3
- package/node_modules/@mui/material/Button/Button.d.ts +4 -4
- package/node_modules/@mui/material/Button/Button.js +3 -3
- package/node_modules/@mui/material/ButtonBase/ButtonBase.d.ts +2 -2
- package/node_modules/@mui/material/ButtonGroup/ButtonGroup.d.ts +2 -2
- package/node_modules/@mui/material/CHANGELOG.md +345 -0
- package/node_modules/@mui/material/Card/Card.d.ts +4 -4
- package/node_modules/@mui/material/CardActionArea/CardActionArea.d.ts +43 -6
- package/node_modules/@mui/material/CardActionArea/CardActionArea.js +47 -8
- package/node_modules/@mui/material/CardActions/CardActions.d.ts +2 -2
- package/node_modules/@mui/material/CardContent/CardContent.d.ts +2 -2
- package/node_modules/@mui/material/CardHeader/CardHeader.d.ts +6 -22
- package/node_modules/@mui/material/CardMedia/CardMedia.d.ts +2 -2
- package/node_modules/@mui/material/Checkbox/Checkbox.d.ts +49 -13
- package/node_modules/@mui/material/Checkbox/Checkbox.js +51 -21
- package/node_modules/@mui/material/Chip/Chip.d.ts +2 -2
- package/node_modules/@mui/material/CircularProgress/CircularProgress.d.ts +7 -3
- package/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.d.ts +3 -3
- package/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js +3 -3
- package/node_modules/@mui/material/Collapse/Collapse.d.ts +5 -5
- package/node_modules/@mui/material/Container/Container.d.ts +2 -2
- package/node_modules/@mui/material/CssBaseline/CssBaseline.d.ts +2 -2
- package/node_modules/@mui/material/Dialog/Dialog.d.ts +7 -7
- package/node_modules/@mui/material/Dialog/dialogClasses.d.ts +6 -2
- package/node_modules/@mui/material/DialogActions/DialogActions.d.ts +2 -2
- package/node_modules/@mui/material/DialogContent/DialogContent.d.ts +2 -2
- package/node_modules/@mui/material/DialogContentText/DialogContentText.d.ts +3 -3
- package/node_modules/@mui/material/DialogTitle/DialogTitle.d.ts +3 -3
- package/node_modules/@mui/material/Divider/Divider.d.ts +3 -3
- package/node_modules/@mui/material/Drawer/Drawer.d.ts +95 -4
- package/node_modules/@mui/material/Drawer/Drawer.js +108 -36
- package/node_modules/@mui/material/Fab/Fab.d.ts +3 -3
- package/node_modules/@mui/material/Fade/Fade.d.ts +3 -3
- package/node_modules/@mui/material/FilledInput/FilledInput.d.ts +3 -3
- package/node_modules/@mui/material/FormControl/FormControl.d.ts +6 -6
- package/node_modules/@mui/material/FormControlLabel/FormControlLabel.d.ts +4 -4
- package/node_modules/@mui/material/FormGroup/FormGroup.d.ts +3 -3
- package/node_modules/@mui/material/FormHelperText/FormHelperText.d.ts +2 -2
- package/node_modules/@mui/material/FormLabel/FormLabel.d.ts +4 -4
- package/node_modules/@mui/material/GlobalStyles/GlobalStyles.d.ts +2 -2
- package/node_modules/@mui/material/Grid/Grid.d.ts +2 -2
- package/node_modules/@mui/material/Grid2/Grid2.d.ts +2 -2
- package/node_modules/@mui/material/Grid2/Grid2.js +2 -2
- package/node_modules/@mui/material/Grow/Grow.d.ts +5 -5
- package/node_modules/@mui/material/Hidden/Hidden.d.ts +2 -2
- package/node_modules/@mui/material/Icon/Icon.d.ts +3 -3
- package/node_modules/@mui/material/IconButton/IconButton.d.ts +4 -4
- package/node_modules/@mui/material/IconButton/IconButton.js +3 -3
- package/node_modules/@mui/material/ImageList/ImageList.d.ts +2 -2
- package/node_modules/@mui/material/ImageListItem/ImageListItem.d.ts +2 -2
- package/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.d.ts +2 -2
- package/node_modules/@mui/material/Input/Input.d.ts +3 -3
- package/node_modules/@mui/material/InputAdornment/InputAdornment.d.ts +2 -2
- package/node_modules/@mui/material/InputBase/InputBase.d.ts +2 -2
- package/node_modules/@mui/material/InputBase/inputBaseClasses.d.ts +15 -6
- package/node_modules/@mui/material/InputLabel/InputLabel.d.ts +3 -3
- package/node_modules/@mui/material/LinearProgress/LinearProgress.d.ts +7 -3
- package/node_modules/@mui/material/Link/Link.d.ts +4 -4
- package/node_modules/@mui/material/List/List.d.ts +3 -3
- package/node_modules/@mui/material/ListItem/ListItem.d.ts +3 -3
- package/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.d.ts +2 -2
- package/node_modules/@mui/material/ListItemButton/ListItemButton.d.ts +3 -3
- package/node_modules/@mui/material/ListItemIcon/ListItemIcon.d.ts +2 -2
- package/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
- package/node_modules/@mui/material/ListItemText/ListItemText.d.ts +12 -2
- package/node_modules/@mui/material/ListItemText/ListItemText.js +14 -5
- package/node_modules/@mui/material/ListSubheader/ListSubheader.d.ts +2 -2
- package/node_modules/@mui/material/Menu/Menu.d.ts +92 -5
- package/node_modules/@mui/material/Menu/Menu.js +58 -19
- package/node_modules/@mui/material/MenuItem/MenuItem.d.ts +3 -3
- package/node_modules/@mui/material/MenuList/MenuList.d.ts +4 -4
- package/node_modules/@mui/material/MobileStepper/MobileStepper.d.ts +72 -4
- package/node_modules/@mui/material/MobileStepper/MobileStepper.js +76 -18
- package/node_modules/@mui/material/Modal/Modal.d.ts +7 -7
- package/node_modules/@mui/material/Modal/Modal.js +9 -10
- package/node_modules/@mui/material/NativeSelect/NativeSelect.d.ts +3 -3
- package/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +6 -2
- package/node_modules/@mui/material/NoSsr/NoSsr.d.ts +2 -2
- package/node_modules/@mui/material/NoSsr/NoSsr.js +2 -2
- package/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +2 -0
- package/node_modules/@mui/material/OutlinedInput/OutlinedInput.d.ts +32 -5
- package/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +30 -10
- package/node_modules/@mui/material/OverridableComponent/index.d.ts +41 -0
- package/node_modules/@mui/material/OverridableComponent/index.js +1 -0
- package/node_modules/@mui/material/OverridableComponent/package.json +6 -0
- package/node_modules/@mui/material/Pagination/Pagination.d.ts +2 -2
- package/node_modules/@mui/material/PaginationItem/PaginationItem.d.ts +3 -3
- package/node_modules/@mui/material/Paper/Paper.d.ts +3 -3
- package/node_modules/@mui/material/PigmentContainer/PigmentContainer.d.ts +2 -2
- package/node_modules/@mui/material/PigmentContainer/PigmentContainer.js +2 -2
- package/node_modules/@mui/material/PigmentGrid/PigmentGrid.d.ts +2 -2
- package/node_modules/@mui/material/PigmentGrid/PigmentGrid.js +2 -2
- package/node_modules/@mui/material/PigmentHidden/PigmentHidden.d.ts +2 -2
- package/node_modules/@mui/material/PigmentHidden/PigmentHidden.js +2 -2
- package/node_modules/@mui/material/PigmentStack/PigmentStack.d.ts +2 -2
- package/node_modules/@mui/material/PigmentStack/PigmentStack.js +2 -2
- package/node_modules/@mui/material/Popover/Popover.d.ts +65 -12
- package/node_modules/@mui/material/Popover/Popover.js +79 -52
- package/node_modules/@mui/material/Popper/Popper.d.ts +4 -4
- package/node_modules/@mui/material/Popper/Popper.js +4 -4
- package/node_modules/@mui/material/Portal/Portal.d.ts +2 -2
- package/node_modules/@mui/material/Portal/Portal.js +2 -2
- package/node_modules/@mui/material/README.md +4 -2
- package/node_modules/@mui/material/Radio/Radio.d.ts +48 -4
- package/node_modules/@mui/material/Radio/Radio.js +61 -16
- package/node_modules/@mui/material/Radio/RadioButtonIcon.js +7 -2
- package/node_modules/@mui/material/RadioGroup/RadioGroup.d.ts +3 -3
- package/node_modules/@mui/material/Rating/Rating.d.ts +61 -3
- package/node_modules/@mui/material/Rating/Rating.js +131 -45
- package/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.d.ts +2 -2
- package/node_modules/@mui/material/Select/Select.d.ts +3 -3
- package/node_modules/@mui/material/Select/SelectInput.js +8 -8
- package/node_modules/@mui/material/Skeleton/Skeleton.d.ts +2 -2
- package/node_modules/@mui/material/Slide/Slide.d.ts +4 -4
- package/node_modules/@mui/material/Slider/Slider.d.ts +2 -2
- package/node_modules/@mui/material/Slider/sliderClasses.d.ts +21 -7
- package/node_modules/@mui/material/Slider/useSlider.js +2 -2
- package/node_modules/@mui/material/Snackbar/Snackbar.d.ts +81 -4
- package/node_modules/@mui/material/Snackbar/Snackbar.js +116 -32
- package/node_modules/@mui/material/SnackbarContent/SnackbarContent.d.ts +3 -3
- package/node_modules/@mui/material/SpeedDial/SpeedDial.d.ts +20 -8
- package/node_modules/@mui/material/SpeedDial/SpeedDial.js +40 -11
- package/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.d.ts +85 -4
- package/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js +109 -31
- package/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.d.ts +2 -2
- package/node_modules/@mui/material/Stack/Stack.d.ts +2 -2
- package/node_modules/@mui/material/Step/Step.d.ts +2 -2
- package/node_modules/@mui/material/StepButton/StepButton.d.ts +3 -3
- package/node_modules/@mui/material/StepConnector/StepConnector.d.ts +2 -2
- package/node_modules/@mui/material/StepContent/StepContent.d.ts +4 -4
- package/node_modules/@mui/material/StepIcon/StepIcon.d.ts +3 -3
- package/node_modules/@mui/material/StepLabel/StepLabel.d.ts +21 -3
- package/node_modules/@mui/material/StepLabel/StepLabel.js +14 -5
- package/node_modules/@mui/material/Stepper/Stepper.d.ts +2 -2
- package/node_modules/@mui/material/SvgIcon/SvgIcon.d.ts +3 -3
- package/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js +1 -0
- package/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.d.ts +31 -5
- package/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js +60 -13
- package/node_modules/@mui/material/Switch/Switch.d.ts +78 -5
- package/node_modules/@mui/material/Switch/Switch.js +73 -9
- package/node_modules/@mui/material/Tab/Tab.d.ts +3 -3
- package/node_modules/@mui/material/TabScrollButton/TabScrollButton.d.ts +2 -2
- package/node_modules/@mui/material/Table/Table.d.ts +2 -2
- package/node_modules/@mui/material/TableBody/TableBody.d.ts +2 -2
- package/node_modules/@mui/material/TableCell/TableCell.d.ts +2 -2
- package/node_modules/@mui/material/TableContainer/TableContainer.d.ts +2 -2
- package/node_modules/@mui/material/TableFooter/TableFooter.d.ts +2 -2
- package/node_modules/@mui/material/TableHead/TableHead.d.ts +2 -2
- package/node_modules/@mui/material/TablePagination/TablePagination.d.ts +4 -4
- package/node_modules/@mui/material/TableRow/TableRow.d.ts +2 -2
- package/node_modules/@mui/material/TableSortLabel/TableSortLabel.d.ts +3 -3
- package/node_modules/@mui/material/Tabs/Tabs.d.ts +131 -31
- package/node_modules/@mui/material/Tabs/Tabs.js +124 -52
- package/node_modules/@mui/material/Tabs/tabsClasses.d.ts +4 -0
- package/node_modules/@mui/material/Tabs/tabsClasses.js +1 -1
- package/node_modules/@mui/material/TextField/TextField.d.ts +40 -10
- package/node_modules/@mui/material/TextField/TextField.js +22 -11
- package/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.d.ts +2 -2
- package/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +68 -47
- package/node_modules/@mui/material/ToggleButton/ToggleButton.d.ts +3 -3
- package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/node_modules/@mui/material/Toolbar/Toolbar.d.ts +2 -2
- package/node_modules/@mui/material/Tooltip/Tooltip.d.ts +23 -27
- package/node_modules/@mui/material/Tooltip/Tooltip.js +1 -1
- package/node_modules/@mui/material/Typography/Typography.d.ts +3 -3
- package/node_modules/@mui/material/Zoom/Zoom.d.ts +3 -3
- package/node_modules/@mui/material/index.js +1 -1
- package/node_modules/@mui/material/internal/SwitchBase.d.ts +35 -1
- package/node_modules/@mui/material/internal/SwitchBase.js +88 -31
- package/node_modules/@mui/material/modern/Accordion/Accordion.js +18 -6
- package/node_modules/@mui/material/modern/AccordionSummary/AccordionSummary.js +67 -16
- package/node_modules/@mui/material/modern/Autocomplete/Autocomplete.js +1 -1
- package/node_modules/@mui/material/modern/AvatarGroup/AvatarGroup.js +10 -2
- package/node_modules/@mui/material/modern/Badge/Badge.js +27 -20
- package/node_modules/@mui/material/modern/BottomNavigationAction/BottomNavigationAction.js +53 -9
- package/node_modules/@mui/material/modern/Breadcrumbs/BreadcrumbCollapsed.js +3 -1
- package/node_modules/@mui/material/modern/Button/Button.js +3 -3
- package/node_modules/@mui/material/modern/CardActionArea/CardActionArea.js +47 -8
- package/node_modules/@mui/material/modern/Checkbox/Checkbox.js +51 -21
- package/node_modules/@mui/material/modern/ClickAwayListener/ClickAwayListener.js +3 -3
- package/node_modules/@mui/material/modern/Drawer/Drawer.js +108 -36
- package/node_modules/@mui/material/modern/Grid2/Grid2.js +2 -2
- package/node_modules/@mui/material/modern/IconButton/IconButton.js +3 -3
- package/node_modules/@mui/material/modern/ListItemText/ListItemText.js +14 -5
- package/node_modules/@mui/material/modern/Menu/Menu.js +58 -19
- package/node_modules/@mui/material/modern/MobileStepper/MobileStepper.js +76 -18
- package/node_modules/@mui/material/modern/Modal/Modal.js +9 -10
- package/node_modules/@mui/material/modern/NativeSelect/NativeSelectInput.js +6 -2
- package/node_modules/@mui/material/modern/NoSsr/NoSsr.js +2 -2
- package/node_modules/@mui/material/modern/OutlinedInput/NotchedOutline.js +2 -0
- package/node_modules/@mui/material/modern/OutlinedInput/OutlinedInput.js +30 -10
- package/node_modules/@mui/material/modern/OverridableComponent/index.js +1 -0
- package/node_modules/@mui/material/modern/PigmentContainer/PigmentContainer.js +2 -2
- package/node_modules/@mui/material/modern/PigmentGrid/PigmentGrid.js +2 -2
- package/node_modules/@mui/material/modern/PigmentHidden/PigmentHidden.js +2 -2
- package/node_modules/@mui/material/modern/PigmentStack/PigmentStack.js +2 -2
- package/node_modules/@mui/material/modern/Popover/Popover.js +79 -52
- package/node_modules/@mui/material/modern/Popper/Popper.js +4 -4
- package/node_modules/@mui/material/modern/Portal/Portal.js +2 -2
- package/node_modules/@mui/material/modern/Radio/Radio.js +61 -16
- package/node_modules/@mui/material/modern/Radio/RadioButtonIcon.js +7 -2
- package/node_modules/@mui/material/modern/Rating/Rating.js +131 -45
- package/node_modules/@mui/material/modern/Select/SelectInput.js +8 -8
- package/node_modules/@mui/material/modern/Slider/useSlider.js +2 -2
- package/node_modules/@mui/material/modern/Snackbar/Snackbar.js +116 -32
- package/node_modules/@mui/material/modern/SpeedDial/SpeedDial.js +40 -11
- package/node_modules/@mui/material/modern/SpeedDialAction/SpeedDialAction.js +109 -31
- package/node_modules/@mui/material/modern/StepLabel/StepLabel.js +14 -5
- package/node_modules/@mui/material/modern/SwipeableDrawer/SwipeArea.js +1 -0
- package/node_modules/@mui/material/modern/SwipeableDrawer/SwipeableDrawer.js +60 -13
- package/node_modules/@mui/material/modern/Switch/Switch.js +73 -9
- package/node_modules/@mui/material/modern/Tabs/Tabs.js +124 -52
- package/node_modules/@mui/material/modern/Tabs/tabsClasses.js +1 -1
- package/node_modules/@mui/material/modern/TextField/TextField.js +22 -11
- package/node_modules/@mui/material/modern/TextareaAutosize/TextareaAutosize.js +68 -47
- package/node_modules/@mui/material/modern/Tooltip/Tooltip.js +1 -1
- package/node_modules/@mui/material/modern/index.js +1 -1
- package/node_modules/@mui/material/modern/internal/SwitchBase.js +88 -31
- package/node_modules/@mui/material/modern/styles/ThemeProvider.js +20 -9
- package/node_modules/@mui/material/modern/styles/components.js +1 -0
- package/node_modules/@mui/material/modern/styles/createThemeNoVars.js +5 -2
- package/node_modules/@mui/material/modern/styles/overrides.js +1 -0
- package/node_modules/@mui/material/modern/styles/props.js +1 -0
- package/node_modules/@mui/material/modern/styles/shouldSkipGeneratingVar.js +1 -1
- package/node_modules/@mui/material/modern/styles/variants.js +1 -0
- package/node_modules/@mui/material/modern/useAutocomplete/useAutocomplete.js +16 -14
- package/node_modules/@mui/material/modern/useScrollTrigger/useScrollTrigger.js +3 -0
- package/node_modules/@mui/material/modern/utils/mergeSlotProps.js +10 -3
- package/node_modules/@mui/material/modern/version/index.js +3 -3
- package/node_modules/@mui/material/node/Accordion/Accordion.js +18 -6
- package/node_modules/@mui/material/node/AccordionSummary/AccordionSummary.js +67 -16
- package/node_modules/@mui/material/node/Autocomplete/Autocomplete.js +1 -1
- package/node_modules/@mui/material/node/AvatarGroup/AvatarGroup.js +10 -2
- package/node_modules/@mui/material/node/Badge/Badge.js +27 -20
- package/node_modules/@mui/material/node/BottomNavigationAction/BottomNavigationAction.js +53 -9
- package/node_modules/@mui/material/node/Breadcrumbs/BreadcrumbCollapsed.js +3 -1
- package/node_modules/@mui/material/node/Button/Button.js +3 -3
- package/node_modules/@mui/material/node/CardActionArea/CardActionArea.js +47 -8
- package/node_modules/@mui/material/node/Checkbox/Checkbox.js +51 -21
- package/node_modules/@mui/material/node/ClickAwayListener/ClickAwayListener.js +3 -3
- package/node_modules/@mui/material/node/Drawer/Drawer.js +108 -36
- package/node_modules/@mui/material/node/Grid2/Grid2.js +2 -2
- package/node_modules/@mui/material/node/IconButton/IconButton.js +3 -3
- package/node_modules/@mui/material/node/ListItemText/ListItemText.js +14 -5
- package/node_modules/@mui/material/node/Menu/Menu.js +58 -19
- package/node_modules/@mui/material/node/MobileStepper/MobileStepper.js +76 -18
- package/node_modules/@mui/material/node/Modal/Modal.js +9 -10
- package/node_modules/@mui/material/node/NativeSelect/NativeSelectInput.js +6 -2
- package/node_modules/@mui/material/node/NoSsr/NoSsr.js +2 -2
- package/node_modules/@mui/material/node/OutlinedInput/NotchedOutline.js +2 -0
- package/node_modules/@mui/material/node/OutlinedInput/OutlinedInput.js +30 -10
- package/node_modules/@mui/material/node/OverridableComponent/index.js +5 -0
- package/node_modules/@mui/material/node/PigmentContainer/PigmentContainer.js +2 -2
- package/node_modules/@mui/material/node/PigmentGrid/PigmentGrid.js +2 -2
- package/node_modules/@mui/material/node/PigmentHidden/PigmentHidden.js +2 -2
- package/node_modules/@mui/material/node/PigmentStack/PigmentStack.js +2 -2
- package/node_modules/@mui/material/node/Popover/Popover.js +79 -52
- package/node_modules/@mui/material/node/Popper/Popper.js +4 -4
- package/node_modules/@mui/material/node/Portal/Portal.js +2 -2
- package/node_modules/@mui/material/node/Radio/Radio.js +61 -16
- package/node_modules/@mui/material/node/Radio/RadioButtonIcon.js +7 -2
- package/node_modules/@mui/material/node/Rating/Rating.js +132 -46
- package/node_modules/@mui/material/node/Select/SelectInput.js +8 -8
- package/node_modules/@mui/material/node/Slider/useSlider.js +2 -2
- package/node_modules/@mui/material/node/Snackbar/Snackbar.js +116 -32
- package/node_modules/@mui/material/node/SpeedDial/SpeedDial.js +40 -11
- package/node_modules/@mui/material/node/SpeedDialAction/SpeedDialAction.js +109 -31
- package/node_modules/@mui/material/node/StepLabel/StepLabel.js +14 -5
- package/node_modules/@mui/material/node/SwipeableDrawer/SwipeArea.js +1 -0
- package/node_modules/@mui/material/node/SwipeableDrawer/SwipeableDrawer.js +60 -13
- package/node_modules/@mui/material/node/Switch/Switch.js +73 -9
- package/node_modules/@mui/material/node/Tabs/Tabs.js +124 -52
- package/node_modules/@mui/material/node/Tabs/tabsClasses.js +1 -1
- package/node_modules/@mui/material/node/TextField/TextField.js +22 -11
- package/node_modules/@mui/material/node/TextareaAutosize/TextareaAutosize.js +67 -46
- package/node_modules/@mui/material/node/Tooltip/Tooltip.js +1 -1
- package/node_modules/@mui/material/node/index.js +1 -1
- package/node_modules/@mui/material/node/internal/SwitchBase.js +88 -31
- package/node_modules/@mui/material/node/styles/ThemeProvider.js +20 -9
- package/node_modules/@mui/material/node/styles/components.js +5 -0
- package/node_modules/@mui/material/node/styles/createThemeNoVars.js +5 -2
- package/node_modules/@mui/material/node/styles/overrides.js +5 -0
- package/node_modules/@mui/material/node/styles/props.js +5 -0
- package/node_modules/@mui/material/node/styles/shouldSkipGeneratingVar.js +1 -1
- package/node_modules/@mui/material/node/styles/variants.js +5 -0
- package/node_modules/@mui/material/node/useAutocomplete/useAutocomplete.js +16 -14
- package/node_modules/@mui/material/node/useScrollTrigger/useScrollTrigger.js +3 -0
- package/node_modules/@mui/material/node/utils/mergeSlotProps.js +10 -3
- package/node_modules/@mui/material/node/version/index.js +3 -3
- package/node_modules/@mui/material/package.json +6 -6
- package/node_modules/@mui/material/styles/ThemeProvider.d.ts +6 -0
- package/node_modules/@mui/material/styles/ThemeProvider.js +20 -9
- package/node_modules/@mui/material/styles/ThemeProviderWithVars.d.ts +1 -0
- package/node_modules/@mui/material/styles/components.d.ts +590 -591
- package/node_modules/@mui/material/styles/components.js +1 -0
- package/node_modules/@mui/material/styles/createThemeNoVars.d.ts +2 -1
- package/node_modules/@mui/material/styles/createThemeNoVars.js +5 -2
- package/node_modules/@mui/material/styles/index.d.ts +1 -0
- package/node_modules/@mui/material/styles/overrides.d.ts +123 -142
- package/node_modules/@mui/material/styles/overrides.js +1 -0
- package/node_modules/@mui/material/styles/props.d.ts +120 -122
- package/node_modules/@mui/material/styles/props.js +1 -0
- package/node_modules/@mui/material/styles/shouldSkipGeneratingVar.js +1 -1
- package/node_modules/@mui/material/styles/variants.d.ts +7 -10
- package/node_modules/@mui/material/styles/variants.js +1 -0
- package/node_modules/@mui/material/useAutocomplete/useAutocomplete.d.ts +2 -2
- package/node_modules/@mui/material/useAutocomplete/useAutocomplete.js +16 -14
- package/node_modules/@mui/material/useScrollTrigger/useScrollTrigger.d.ts +1 -1
- package/node_modules/@mui/material/useScrollTrigger/useScrollTrigger.js +3 -0
- package/node_modules/@mui/material/utils/mergeSlotProps.js +10 -3
- package/node_modules/@mui/material/version/index.js +3 -3
- package/node_modules/@mui/private-theming/CHANGELOG.md +256 -0
- package/node_modules/@mui/private-theming/index.js +1 -1
- package/node_modules/@mui/private-theming/modern/index.js +1 -1
- package/node_modules/@mui/private-theming/node/index.js +1 -1
- package/node_modules/@mui/private-theming/package.json +2 -2
- package/node_modules/@mui/styled-engine/CHANGELOG.md +387 -0
- package/node_modules/@mui/styled-engine/README.md +2 -2
- package/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.d.ts +1 -0
- package/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +72 -18
- package/node_modules/@mui/styled-engine/index.js +1 -1
- package/node_modules/@mui/styled-engine/modern/StyledEngineProvider/StyledEngineProvider.js +72 -18
- package/node_modules/@mui/styled-engine/modern/index.js +1 -1
- package/node_modules/@mui/styled-engine/node/StyledEngineProvider/StyledEngineProvider.js +72 -17
- package/node_modules/@mui/styled-engine/node/index.js +1 -1
- package/node_modules/@mui/styled-engine/package.json +1 -1
- package/node_modules/@mui/system/CHANGELOG.md +345 -0
- package/node_modules/@mui/system/GlobalStyles/GlobalStyles.js +25 -1
- package/node_modules/@mui/system/Grid/createGrid.js +4 -0
- package/node_modules/@mui/system/Grid/deleteLegacyGridProps.d.ts +11 -0
- package/node_modules/@mui/system/Grid/deleteLegacyGridProps.js +47 -0
- package/node_modules/@mui/system/README.md +6 -4
- package/node_modules/@mui/system/ThemeProvider/ThemeProvider.js +4 -2
- package/node_modules/@mui/system/ThemeProvider/useLayerOrder.d.ts +8 -0
- package/node_modules/@mui/system/ThemeProvider/useLayerOrder.js +58 -0
- package/node_modules/@mui/system/createBreakpoints/createBreakpoints.d.ts +5 -5
- package/node_modules/@mui/system/createStyled/createStyled.js +34 -21
- package/node_modules/@mui/system/cssContainerQueries/cssContainerQueries.d.ts +1 -2
- package/node_modules/@mui/system/cssVars/createCssVarsProvider.d.ts +6 -0
- package/node_modules/@mui/system/cssVars/createCssVarsProvider.js +7 -0
- package/node_modules/@mui/system/cssVars/index.d.ts +1 -0
- package/node_modules/@mui/system/cssVars/localStorageManager.d.ts +34 -0
- package/node_modules/@mui/system/cssVars/localStorageManager.js +57 -0
- package/node_modules/@mui/system/cssVars/useCurrentColorScheme.d.ts +2 -0
- package/node_modules/@mui/system/cssVars/useCurrentColorScheme.js +50 -69
- package/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +26 -2
- package/node_modules/@mui/system/esm/Grid/createGrid.js +4 -0
- package/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js +41 -0
- package/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +5 -3
- package/node_modules/@mui/system/esm/ThemeProvider/useLayerOrder.js +52 -0
- package/node_modules/@mui/system/esm/createStyled/createStyled.js +35 -22
- package/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +7 -0
- package/node_modules/@mui/system/esm/cssVars/localStorageManager.js +51 -0
- package/node_modules/@mui/system/esm/cssVars/useCurrentColorScheme.js +49 -69
- package/node_modules/@mui/system/esm/styleFunctionSx/AliasesCSSProperties.js +1 -0
- package/node_modules/@mui/system/esm/styleFunctionSx/OverwriteCSSProperties.js +1 -0
- package/node_modules/@mui/system/esm/styleFunctionSx/StandardCssProperties.js +1 -0
- package/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +9 -2
- package/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery.js +3 -0
- package/node_modules/@mui/system/esm/version/index.js +3 -3
- package/node_modules/@mui/system/index.js +1 -1
- package/node_modules/@mui/system/modern/GlobalStyles/GlobalStyles.js +26 -2
- package/node_modules/@mui/system/modern/Grid/createGrid.js +4 -0
- package/node_modules/@mui/system/modern/Grid/deleteLegacyGridProps.js +41 -0
- package/node_modules/@mui/system/modern/ThemeProvider/ThemeProvider.js +5 -3
- package/node_modules/@mui/system/modern/ThemeProvider/useLayerOrder.js +52 -0
- package/node_modules/@mui/system/modern/createStyled/createStyled.js +35 -22
- package/node_modules/@mui/system/modern/cssVars/createCssVarsProvider.js +7 -0
- package/node_modules/@mui/system/modern/cssVars/localStorageManager.js +51 -0
- package/node_modules/@mui/system/modern/cssVars/useCurrentColorScheme.js +49 -69
- package/node_modules/@mui/system/modern/index.js +1 -1
- package/node_modules/@mui/system/modern/styleFunctionSx/AliasesCSSProperties.js +1 -0
- package/node_modules/@mui/system/modern/styleFunctionSx/OverwriteCSSProperties.js +1 -0
- package/node_modules/@mui/system/modern/styleFunctionSx/StandardCssProperties.js +1 -0
- package/node_modules/@mui/system/modern/styleFunctionSx/styleFunctionSx.js +9 -2
- package/node_modules/@mui/system/modern/useMediaQuery/useMediaQuery.js +3 -0
- package/node_modules/@mui/system/modern/version/index.js +3 -3
- package/node_modules/@mui/system/package.json +5 -5
- package/node_modules/@mui/system/styleFunctionSx/AliasesCSSProperties.d.ts +266 -267
- package/node_modules/@mui/system/styleFunctionSx/AliasesCSSProperties.js +5 -0
- package/node_modules/@mui/system/styleFunctionSx/OverwriteCSSProperties.d.ts +51 -52
- package/node_modules/@mui/system/styleFunctionSx/OverwriteCSSProperties.js +5 -0
- package/node_modules/@mui/system/styleFunctionSx/StandardCssProperties.d.ts +0 -1
- package/node_modules/@mui/system/styleFunctionSx/StandardCssProperties.js +5 -0
- package/node_modules/@mui/system/styleFunctionSx/styleFunctionSx.js +9 -2
- package/node_modules/@mui/system/useMediaQuery/useMediaQuery.js +3 -0
- package/node_modules/@mui/system/version/index.js +3 -3
- package/node_modules/@mui/types/package.json +1 -1
- package/node_modules/@mui/utils/CHANGELOG.md +256 -0
- package/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +32 -12
- package/node_modules/@mui/utils/index.js +1 -1
- package/node_modules/@mui/utils/modern/index.js +1 -1
- package/node_modules/@mui/utils/modern/useForkRef/useForkRef.js +32 -12
- package/node_modules/@mui/utils/package.json +3 -3
- package/node_modules/@mui/utils/useForkRef/useForkRef.d.ts +1 -2
- package/node_modules/@mui/utils/useForkRef/useForkRef.js +32 -13
- package/package.json +24 -24
- package/node_modules/@babel/parser/index.cjs +0 -5
- package/node_modules/@babel/traverse/lib/scope/traverseForScope.js +0 -68
- package/node_modules/@babel/traverse/lib/scope/traverseForScope.js.map +0 -1
- package/node_modules/@babel/traverse/node_modules/globals/globals.json +0 -1563
- package/node_modules/@babel/traverse/node_modules/globals/index.js +0 -2
- package/node_modules/@babel/traverse/node_modules/globals/license +0 -9
- package/node_modules/@babel/traverse/node_modules/globals/package.json +0 -41
- package/node_modules/@babel/traverse/node_modules/globals/readme.md +0 -41
- package/node_modules/@emotion/cache/dist/declarations/types/index.d.ts +0 -45
- package/node_modules/@emotion/cache/src/index.d.ts +0 -2
- package/node_modules/@emotion/cache/types/index.d.ts +0 -45
- package/node_modules/@emotion/react/dist/declarations/dist/emotion-react.cjs.d.ts +0 -2
- package/node_modules/@emotion/react/dist/declarations/types/helper.d.ts +0 -14
- package/node_modules/@emotion/react/dist/declarations/types/index.d.ts +0 -115
- package/node_modules/@emotion/react/dist/declarations/types/jsx-dev-runtime.d.ts +0 -1
- package/node_modules/@emotion/react/dist/declarations/types/jsx-namespace.d.ts +0 -102
- package/node_modules/@emotion/react/dist/declarations/types/jsx-runtime.d.ts +0 -1
- package/node_modules/@emotion/react/dist/declarations/types/theming.d.ts +0 -31
- package/node_modules/@emotion/react/src/_isolated-hnrs.d.ts +0 -3
- package/node_modules/@emotion/react/src/css.js +0 -8
- package/node_modules/@emotion/react/src/global.js +0 -145
- package/node_modules/@emotion/react/src/index.d.ts +0 -1
- package/node_modules/@emotion/react/src/jsx-dev-runtime.d.ts +0 -1
- package/node_modules/@emotion/react/src/jsx-runtime.d.ts +0 -1
- package/node_modules/@emotion/react/src/jsx-runtime.js +0 -21
- package/node_modules/@emotion/react/src/jsx.js +0 -25
- package/node_modules/@emotion/react/src/keyframes.js +0 -23
- package/node_modules/@emotion/react/types/index.d.ts +0 -115
- package/node_modules/@emotion/react/types/jsx-dev-runtime.d.ts +0 -1
- package/node_modules/@emotion/react/types/jsx-namespace.d.ts +0 -102
- package/node_modules/@emotion/react/types/jsx-runtime.d.ts +0 -1
- package/node_modules/@emotion/react/types/theming.d.ts +0 -31
- package/node_modules/@emotion/styled/dist/declarations/types/base.d.ts +0 -197
- package/node_modules/@emotion/styled/dist/declarations/types/index.d.ts +0 -33
- package/node_modules/@emotion/styled/src/base.d.ts +0 -2
- package/node_modules/@emotion/styled/src/index.d.ts +0 -2
- package/node_modules/@emotion/styled/src/index.js +0 -11
- package/node_modules/@emotion/styled/src/utils.js +0 -86
- package/node_modules/@emotion/styled/types/jsx-namespace.d.ts +0 -14
- package/node_modules/@emotion/use-insertion-effect-with-fallbacks/src/index.js +0 -15
- package/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +0 -12
- package/node_modules/@jridgewell/set-array/LICENSE +0 -19
- package/node_modules/@jridgewell/set-array/README.md +0 -37
- package/node_modules/@jridgewell/set-array/dist/set-array.mjs +0 -69
- package/node_modules/@jridgewell/set-array/dist/set-array.mjs.map +0 -1
- package/node_modules/@jridgewell/set-array/dist/set-array.umd.js +0 -83
- package/node_modules/@jridgewell/set-array/dist/set-array.umd.js.map +0 -1
- package/node_modules/@jridgewell/set-array/package.json +0 -65
- package/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts +0 -8
- package/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts +0 -1
- package/node_modules/@mui/material/OverridableComponent.d.ts +0 -67
- /package/node_modules/@emotion/cache/src/conditions/{false.js → false.ts} +0 -0
- /package/node_modules/@emotion/cache/src/conditions/{is-browser.js → is-browser.ts} +0 -0
- /package/node_modules/@emotion/cache/src/conditions/{true.js → true.ts} +0 -0
- /package/node_modules/@emotion/react/src/conditions/{false.js → false.ts} +0 -0
- /package/node_modules/@emotion/react/src/conditions/{is-browser.js → is-browser.ts} +0 -0
- /package/node_modules/@emotion/react/src/conditions/{true.js → true.ts} +0 -0
- /package/node_modules/@emotion/react/{types/helper.d.ts → src/types.ts} +0 -0
- /package/node_modules/@emotion/react/src/{utils.js → utils.ts} +0 -0
- /package/node_modules/@emotion/styled/src/conditions/{false.js → false.ts} +0 -0
- /package/node_modules/@emotion/styled/src/conditions/{is-browser.js → is-browser.ts} +0 -0
- /package/node_modules/@emotion/styled/src/conditions/{true.js → true.ts} +0 -0
- /package/node_modules/@emotion/use-insertion-effect-with-fallbacks/src/conditions/{false.js → false.ts} +0 -0
- /package/node_modules/@emotion/use-insertion-effect-with-fallbacks/src/conditions/{is-browser.js → is-browser.ts} +0 -0
- /package/node_modules/@emotion/use-insertion-effect-with-fallbacks/src/conditions/{true.js → true.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","require","getQualifiedName","node","isIdentifier","name","right","left","removeTypeDuplicates","nodesIn","nodes","Array","from","generics","Map","bases","typeGroups","Set","types","i","length","includes","isTSAnyKeyword","isTSBaseType","set","type","isTSUnionType","has","push","add","isTSTypeReference","
|
|
1
|
+
{"version":3,"names":["_index","require","getQualifiedName","node","isIdentifier","name","isThisExpression","right","left","removeTypeDuplicates","nodesIn","nodes","Array","from","generics","Map","bases","typeGroups","Set","types","i","length","includes","isTSAnyKeyword","isTSBaseType","set","type","isTSUnionType","has","push","add","typeArgumentsKey","isTSTypeReference","typeArguments","typeName","existing","get","existingTypeArguments","params","baseType","genericName"],"sources":["../../../src/modifications/typescript/removeTypeDuplicates.ts"],"sourcesContent":["import {\n isIdentifier,\n isThisExpression,\n isTSAnyKeyword,\n isTSTypeReference,\n isTSUnionType,\n isTSBaseType,\n} from \"../../validators/generated/index.ts\";\nimport type * as t from \"../../index.ts\";\n\nfunction getQualifiedName(node: t.TSTypeReference[\"typeName\"]): string {\n return isIdentifier(node)\n ? node.name\n : isThisExpression(node)\n ? \"this\"\n : `${node.right.name}.${getQualifiedName(node.left)}`;\n}\n\n/**\n * Dedupe type annotations.\n */\nexport default function removeTypeDuplicates(\n nodesIn: ReadonlyArray<t.TSType>,\n): Array<t.TSType> {\n const nodes = Array.from(nodesIn);\n\n const generics = new Map<string, t.TSTypeReference>();\n const bases = new Map<t.TSBaseType[\"type\"], t.TSBaseType>();\n\n // store union type groups to circular references\n const typeGroups = new Set<t.TSType[]>();\n\n const types: t.TSType[] = [];\n\n for (let i = 0; i < nodes.length; i++) {\n const node = nodes[i];\n if (!node) continue;\n\n // detect duplicates\n if (types.includes(node)) {\n continue;\n }\n\n // this type matches anything\n if (isTSAnyKeyword(node)) {\n return [node];\n }\n\n // Analogue of FlowBaseAnnotation\n if (isTSBaseType(node)) {\n bases.set(node.type, node);\n continue;\n }\n\n if (isTSUnionType(node)) {\n if (!typeGroups.has(node.types)) {\n nodes.push(...node.types);\n typeGroups.add(node.types);\n }\n continue;\n }\n\n // todo: support merging tuples: number[]\n const typeArgumentsKey = process.env.BABEL_8_BREAKING\n ? \"typeArguments\"\n : \"typeParameters\";\n // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST\n if (isTSTypeReference(node) && node[typeArgumentsKey]) {\n // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST\n const typeArguments = node[typeArgumentsKey];\n const name = getQualifiedName(node.typeName);\n\n if (generics.has(name)) {\n let existing: t.TypeScript = generics.get(name);\n // @ts-ignore(Babel 7 vs Babel 8) Babel 8 AST\n const existingTypeArguments = existing[typeArgumentsKey];\n if (existingTypeArguments) {\n existingTypeArguments.params.push(...typeArguments.params);\n existingTypeArguments.params = removeTypeDuplicates(\n existingTypeArguments.params,\n );\n } else {\n existing = typeArguments;\n }\n } else {\n generics.set(name, node);\n }\n\n continue;\n }\n\n types.push(node);\n }\n\n // add back in bases\n for (const [, baseType] of bases) {\n types.push(baseType);\n }\n\n // add back in generics\n for (const [, genericName] of generics) {\n types.push(genericName);\n }\n\n return types;\n}\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAUA,SAASC,gBAAgBA,CAACC,IAAmC,EAAU;EACrE,OAAO,IAAAC,mBAAY,EAACD,IAAI,CAAC,GACrBA,IAAI,CAACE,IAAI,GACT,IAAAC,uBAAgB,EAACH,IAAI,CAAC,GACpB,MAAM,GACN,GAAGA,IAAI,CAACI,KAAK,CAACF,IAAI,IAAIH,gBAAgB,CAACC,IAAI,CAACK,IAAI,CAAC,EAAE;AAC3D;AAKe,SAASC,oBAAoBA,CAC1CC,OAAgC,EACf;EACjB,M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B,QAAQ,CAAC;MAE5C,IAAIpB,QAAQ,CAACc,GAAG,CAACvB,IAAI,CAAC,EAAE;QACtB,IAAI8B,QAAsB,GAAGrB,QAAQ,CAACsB,GAAG,CAAC/B,IAAI,CAAC;QAE/C,MAAMgC,qBAAqB,GAAGF,QAAQ,CAACJ,gBAAgB,CAAC;QACxD,IAAIM,qBAAqB,EAAE;UACzBA,qBAAqB,CAACC,MAAM,CAACT,IAAI,CAAC,GAAGI,aAAa,CAACK,MAAM,CAAC;UAC1DD,qBAAqB,CAACC,MAAM,GAAG7B,oBAAoB,CACjD4B,qBAAqB,CAACC,MACxB,CAAC;QACH,CAAC,MAAM;UACLH,QAAQ,GAAGF,aAAa;QAC1B;MACF,CAAC,MAAM;QACLnB,QAAQ,CAACW,GAAG,CAACpB,IAAI,EAAEF,IAAI,CAAC;MAC1B;MAEA;IACF;IAEAgB,KAAK,CAACU,IAAI,CAAC1B,IAAI,CAAC;EAClB;EAGA,KAAK,MAAM,GAAGoC,QAAQ,CAAC,IAAIvB,KAAK,EAAE;IAChCG,KAAK,CAACU,IAAI,CAACU,QAAQ,CAAC;EACtB;EAGA,KAAK,MAAM,GAAGC,WAAW,CAAC,IAAI1B,QAAQ,EAAE;IACtCK,KAAK,CAACU,IAAI,CAACW,WAAW,CAAC;EACzB;EAEA,OAAOrB,KAAK;AACd","ignoreList":[]}
|
|
@@ -74,6 +74,7 @@ const keys = {
|
|
|
74
74
|
ImportNamespaceSpecifier: ["local"],
|
|
75
75
|
ImportDefaultSpecifier: ["local"],
|
|
76
76
|
ImportDeclaration: ["specifiers"],
|
|
77
|
+
TSImportEqualsDeclaration: ["id"],
|
|
77
78
|
ExportSpecifier: ["exported"],
|
|
78
79
|
ExportNamespaceSpecifier: ["exported"],
|
|
79
80
|
ExportDefaultSpecifier: ["exported"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","require","getBindingIdentifiers","node","duplicates","outerOnly","newBindingsOnly","search","concat","ids","Object","create","length","id","shift","isAssignmentExpression","isUnaryExpression","isUpdateExpression","isIdentifier","_ids","name","push","isExportDeclaration","isExportAllDeclaration","isDeclaration","declaration","isFunctionDeclaration","isFunctionExpression","keys","type","i","key","nodes","Array","isArray","DeclareClass","DeclareFunction","DeclareModule","DeclareVariable","DeclareInterface","DeclareTypeAlias","DeclareOpaqueType","InterfaceDeclaration","TypeAlias","OpaqueType","CatchClause","LabeledStatement","UnaryExpression","AssignmentExpression","ImportSpecifier","ImportNamespaceSpecifier","ImportDefaultSpecifier","ImportDeclaration","ExportSpecifier","ExportNamespaceSpecifier","ExportDefaultSpecifier","FunctionDeclaration","FunctionExpression","ArrowFunctionExpression","ObjectMethod","ClassMethod","ClassPrivateMethod","ForInStatement","ForOfStatement","ClassDeclaration","ClassExpression","RestElement","UpdateExpression","ObjectProperty","AssignmentPattern","ArrayPattern","ObjectPattern","VariableDeclaration","VariableDeclarator"],"sources":["../../src/retrievers/getBindingIdentifiers.ts"],"sourcesContent":["import {\n isExportDeclaration,\n isIdentifier,\n isClassExpression,\n isDeclaration,\n isFunctionDeclaration,\n isFunctionExpression,\n isExportAllDeclaration,\n isAssignmentExpression,\n isUnaryExpression,\n isUpdateExpression,\n} from \"../validators/generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport { getBindingIdentifiers as default };\n\nfunction getBindingIdentifiers(\n node: t.Node,\n duplicates: true,\n outerOnly?: boolean,\n newBindingsOnly?: boolean,\n): Record<string, Array<t.Identifier>>;\n\nfunction getBindingIdentifiers(\n node: t.Node,\n duplicates?: false,\n outerOnly?: boolean,\n newBindingsOnly?: boolean,\n): Record<string, t.Identifier>;\n\nfunction getBindingIdentifiers(\n node: t.Node,\n duplicates?: boolean,\n outerOnly?: boolean,\n newBindingsOnly?: boolean,\n): Record<string, t.Identifier> | Record<string, Array<t.Identifier>>;\n\n/**\n * Return a list of binding identifiers associated with the input `node`.\n */\nfunction getBindingIdentifiers(\n node: t.Node,\n duplicates?: boolean,\n outerOnly?: boolean,\n newBindingsOnly?: boolean,\n): Record<string, t.Identifier> | Record<string, Array<t.Identifier>> {\n const search: t.Node[] = [].concat(node);\n const ids = Object.create(null);\n\n while (search.length) {\n const id = search.shift();\n if (!id) continue;\n\n if (\n newBindingsOnly &&\n // These nodes do not introduce _new_ bindings, but they are included\n // in getBindingIdentifiers.keys for backwards compatibility.\n // TODO(@nicolo-ribaudo): Check if we can remove them from .keys in a\n // backward-compatible way, and if not what we need to do to remove them\n // in Babel 8.\n (isAssignmentExpression(id) ||\n isUnaryExpression(id) ||\n isUpdateExpression(id))\n ) {\n continue;\n }\n\n if (isIdentifier(id)) {\n if (duplicates) {\n const _ids = (ids[id.name] = ids[id.name] || []);\n _ids.push(id);\n } else {\n ids[id.name] = id;\n }\n continue;\n }\n\n if (isExportDeclaration(id) && !isExportAllDeclaration(id)) {\n if (isDeclaration(id.declaration)) {\n search.push(id.declaration);\n }\n continue;\n }\n\n if (outerOnly) {\n if (isFunctionDeclaration(id)) {\n search.push(id.id);\n continue;\n }\n\n if (\n isFunctionExpression(id) ||\n (process.env.BABEL_8_BREAKING && isClassExpression(id))\n ) {\n continue;\n }\n }\n\n const keys = getBindingIdentifiers.keys[id.type];\n\n if (keys) {\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n const nodes =\n // @ts-expect-error key must present in id\n id[key] as t.Node[] | t.Node | undefined | null;\n if (nodes) {\n if (Array.isArray(nodes)) {\n search.push(...nodes);\n } else {\n search.push(nodes);\n }\n }\n }\n }\n }\n return ids;\n}\n\n/**\n * Mapping of types to their identifier keys.\n */\ntype KeysMap = {\n [N in t.Node as N[\"type\"]]?: (keyof N)[];\n};\n\nconst keys: KeysMap = {\n DeclareClass: [\"id\"],\n DeclareFunction: [\"id\"],\n DeclareModule: [\"id\"],\n DeclareVariable: [\"id\"],\n DeclareInterface: [\"id\"],\n DeclareTypeAlias: [\"id\"],\n DeclareOpaqueType: [\"id\"],\n InterfaceDeclaration: [\"id\"],\n TypeAlias: [\"id\"],\n OpaqueType: [\"id\"],\n\n CatchClause: [\"param\"],\n LabeledStatement: [\"label\"],\n UnaryExpression: [\"argument\"],\n AssignmentExpression: [\"left\"],\n\n ImportSpecifier: [\"local\"],\n ImportNamespaceSpecifier: [\"local\"],\n ImportDefaultSpecifier: [\"local\"],\n ImportDeclaration: [\"specifiers\"],\n\n ExportSpecifier: [\"exported\"],\n ExportNamespaceSpecifier: [\"exported\"],\n ExportDefaultSpecifier: [\"exported\"],\n\n FunctionDeclaration: [\"id\", \"params\"],\n FunctionExpression: [\"id\", \"params\"],\n ArrowFunctionExpression: [\"params\"],\n ObjectMethod: [\"params\"],\n ClassMethod: [\"params\"],\n ClassPrivateMethod: [\"params\"],\n\n ForInStatement: [\"left\"],\n ForOfStatement: [\"left\"],\n\n ClassDeclaration: [\"id\"],\n ClassExpression: [\"id\"],\n\n RestElement: [\"argument\"],\n UpdateExpression: [\"argument\"],\n\n ObjectProperty: [\"value\"],\n\n AssignmentPattern: [\"left\"],\n ArrayPattern: [\"elements\"],\n ObjectPattern: [\"properties\"],\n\n VariableDeclaration: [\"declarations\"],\n VariableDeclarator: [\"id\"],\n};\n\ngetBindingIdentifiers.keys = keys;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAwCA,SAASC,qBAAqBA,CAC5BC,IAAY,EACZC,UAAoB,EACpBC,SAAmB,EACnBC,eAAyB,EAC2C;EACpE,MAAMC,MAAgB,GAAG,EAAE,CAACC,MAAM,CAACL,IAAI,CAAC;EACxC,MAAMM,GAAG,GAAGC,MAAM,CAACC,MAAM,CAAC,IAAI,CAAC;EAE/B,OAAOJ,MAAM,CAACK,MAAM,EAAE;IACpB,MAAMC,EAAE,GAAGN,MAAM,CAACO,KAAK,CAAC,CAAC;IACzB,IAAI,CAACD,EAAE,EAAE;IAET,IACEP,eAAe,KAMd,IAAAS,6BAAsB,EAACF,EAAE,CAAC,IACzB,IAAAG,wBAAiB,EAACH,EAAE,CAAC,IACrB,IAAAI,yB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C,QAAQ,CAAC;EAE9BC,cAAc,EAAE,CAAC,MAAM,CAAC;EACxBC,cAAc,EAAE,CAAC,MAAM,CAAC;EAExBC,gBAAgB,EAAE,CAAC,IAAI,CAAC;EACxBC,eAAe,EAAE,CAAC,IAAI,CAAC;EAEvBC,WAAW,EAAE,CAAC,UAAU,CAAC;EACzBC,gBAAgB,EAAE,CAAC,UAAU,CAAC;EAE9BC,cAAc,EAAE,CAAC,OAAO,CAAC;EAEzBC,iBAAiB,EAAE,CAAC,MAAM,CAAC;EAC3BC,YAAY,EAAE,CAAC,UAAU,CAAC;EAC1BC,aAAa,EAAE,CAAC,YAAY,CAAC;EAE7BC,mBAAmB,EAAE,CAAC,cAAc,CAAC;EACrCC,kBAAkB,EAAE,CAAC,IAAI;AAC3B,CAAC;
|
|
1
|
+
{"version":3,"names":["_index","require","getBindingIdentifiers","node","duplicates","outerOnly","newBindingsOnly","search","concat","ids","Object","create","length","id","shift","isAssignmentExpression","isUnaryExpression","isUpdateExpression","isIdentifier","_ids","name","push","isExportDeclaration","isExportAllDeclaration","isDeclaration","declaration","isFunctionDeclaration","isFunctionExpression","keys","type","i","key","nodes","Array","isArray","DeclareClass","DeclareFunction","DeclareModule","DeclareVariable","DeclareInterface","DeclareTypeAlias","DeclareOpaqueType","InterfaceDeclaration","TypeAlias","OpaqueType","CatchClause","LabeledStatement","UnaryExpression","AssignmentExpression","ImportSpecifier","ImportNamespaceSpecifier","ImportDefaultSpecifier","ImportDeclaration","TSImportEqualsDeclaration","ExportSpecifier","ExportNamespaceSpecifier","ExportDefaultSpecifier","FunctionDeclaration","FunctionExpression","ArrowFunctionExpression","ObjectMethod","ClassMethod","ClassPrivateMethod","ForInStatement","ForOfStatement","ClassDeclaration","ClassExpression","RestElement","UpdateExpression","ObjectProperty","AssignmentPattern","ArrayPattern","ObjectPattern","VariableDeclaration","VariableDeclarator"],"sources":["../../src/retrievers/getBindingIdentifiers.ts"],"sourcesContent":["import {\n isExportDeclaration,\n isIdentifier,\n isClassExpression,\n isDeclaration,\n isFunctionDeclaration,\n isFunctionExpression,\n isExportAllDeclaration,\n isAssignmentExpression,\n isUnaryExpression,\n isUpdateExpression,\n} from \"../validators/generated/index.ts\";\nimport type * as t from \"../index.ts\";\n\nexport { getBindingIdentifiers as default };\n\nfunction getBindingIdentifiers(\n node: t.Node,\n duplicates: true,\n outerOnly?: boolean,\n newBindingsOnly?: boolean,\n): Record<string, Array<t.Identifier>>;\n\nfunction getBindingIdentifiers(\n node: t.Node,\n duplicates?: false,\n outerOnly?: boolean,\n newBindingsOnly?: boolean,\n): Record<string, t.Identifier>;\n\nfunction getBindingIdentifiers(\n node: t.Node,\n duplicates?: boolean,\n outerOnly?: boolean,\n newBindingsOnly?: boolean,\n): Record<string, t.Identifier> | Record<string, Array<t.Identifier>>;\n\n/**\n * Return a list of binding identifiers associated with the input `node`.\n */\nfunction getBindingIdentifiers(\n node: t.Node,\n duplicates?: boolean,\n outerOnly?: boolean,\n newBindingsOnly?: boolean,\n): Record<string, t.Identifier> | Record<string, Array<t.Identifier>> {\n const search: t.Node[] = [].concat(node);\n const ids = Object.create(null);\n\n while (search.length) {\n const id = search.shift();\n if (!id) continue;\n\n if (\n newBindingsOnly &&\n // These nodes do not introduce _new_ bindings, but they are included\n // in getBindingIdentifiers.keys for backwards compatibility.\n // TODO(@nicolo-ribaudo): Check if we can remove them from .keys in a\n // backward-compatible way, and if not what we need to do to remove them\n // in Babel 8.\n (isAssignmentExpression(id) ||\n isUnaryExpression(id) ||\n isUpdateExpression(id))\n ) {\n continue;\n }\n\n if (isIdentifier(id)) {\n if (duplicates) {\n const _ids = (ids[id.name] = ids[id.name] || []);\n _ids.push(id);\n } else {\n ids[id.name] = id;\n }\n continue;\n }\n\n if (isExportDeclaration(id) && !isExportAllDeclaration(id)) {\n if (isDeclaration(id.declaration)) {\n search.push(id.declaration);\n }\n continue;\n }\n\n if (outerOnly) {\n if (isFunctionDeclaration(id)) {\n search.push(id.id);\n continue;\n }\n\n if (\n isFunctionExpression(id) ||\n (process.env.BABEL_8_BREAKING && isClassExpression(id))\n ) {\n continue;\n }\n }\n\n const keys = getBindingIdentifiers.keys[id.type];\n\n if (keys) {\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n const nodes =\n // @ts-expect-error key must present in id\n id[key] as t.Node[] | t.Node | undefined | null;\n if (nodes) {\n if (Array.isArray(nodes)) {\n search.push(...nodes);\n } else {\n search.push(nodes);\n }\n }\n }\n }\n }\n return ids;\n}\n\n/**\n * Mapping of types to their identifier keys.\n */\ntype KeysMap = {\n [N in t.Node as N[\"type\"]]?: (keyof N)[];\n};\n\nconst keys: KeysMap = {\n DeclareClass: [\"id\"],\n DeclareFunction: [\"id\"],\n DeclareModule: [\"id\"],\n DeclareVariable: [\"id\"],\n DeclareInterface: [\"id\"],\n DeclareTypeAlias: [\"id\"],\n DeclareOpaqueType: [\"id\"],\n InterfaceDeclaration: [\"id\"],\n TypeAlias: [\"id\"],\n OpaqueType: [\"id\"],\n\n CatchClause: [\"param\"],\n LabeledStatement: [\"label\"],\n UnaryExpression: [\"argument\"],\n AssignmentExpression: [\"left\"],\n\n ImportSpecifier: [\"local\"],\n ImportNamespaceSpecifier: [\"local\"],\n ImportDefaultSpecifier: [\"local\"],\n ImportDeclaration: [\"specifiers\"],\n TSImportEqualsDeclaration: [\"id\"],\n\n ExportSpecifier: [\"exported\"],\n ExportNamespaceSpecifier: [\"exported\"],\n ExportDefaultSpecifier: [\"exported\"],\n\n FunctionDeclaration: [\"id\", \"params\"],\n FunctionExpression: [\"id\", \"params\"],\n ArrowFunctionExpression: [\"params\"],\n ObjectMethod: [\"params\"],\n ClassMethod: [\"params\"],\n ClassPrivateMethod: [\"params\"],\n\n ForInStatement: [\"left\"],\n ForOfStatement: [\"left\"],\n\n ClassDeclaration: [\"id\"],\n ClassExpression: [\"id\"],\n\n RestElement: [\"argument\"],\n UpdateExpression: [\"argument\"],\n\n ObjectProperty: [\"value\"],\n\n AssignmentPattern: [\"left\"],\n ArrayPattern: [\"elements\"],\n ObjectPattern: [\"properties\"],\n\n VariableDeclaration: [\"declarations\"],\n VariableDeclarator: [\"id\"],\n};\n\ngetBindingIdentifiers.keys = keys;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAwCA,SAASC,qBAAqBA,CAC5BC,IAAY,EACZC,UAAoB,EACpBC,SAAmB,EACnBC,eAAyB,EAC2C;EACpE,MAAMC,MAAgB,GAAG,EAAE,CAACC,MAAM,CAACL,IAAI,CAAC;EACxC,MAAMM,GAAG,GAAGC,MAAM,CAACC,MAAM,CAAC,IAAI,CAAC;EAE/B,OAAOJ,MAAM,CAACK,MAAM,EAAE;IACpB,MAAMC,EAAE,GAAGN,MAAM,CAACO,KAAK,CAAC,CAAC;IACzB,IAAI,CAACD,EAAE,EAAE;IAET,IACEP,eAAe,KAMd,IAAAS,6BAAsB,EAACF,EAAE,CAAC,IACzB,IAAAG,wBAAiB,EAACH,EAAE,CAAC,IACrB,IAAAI,yBAAkB,EAACJ,EAAE,CAAC,CAAC,EACzB;MACA;IACF;IAEA,IAAI,IAAAK,mBAAY,EAACL,EAAE,CAAC,EAAE;MACpB,IAAIT,UAAU,EAAE;QACd,MAAMe,IAAI,GAAIV,GAAG,CAACI,EAAE,CAACO,IAAI,CAAC,GAAGX,GAAG,CAACI,EAAE,CAACO,IAAI,CAAC,IAAI,EAAG;QAChDD,IAAI,CAACE,IAAI,CAACR,EAAE,CAAC;MACf,CAAC,MAAM;QACLJ,GAAG,CAACI,EAAE,CAACO,IAAI,CAAC,GAAGP,EAAE;MACnB;MACA;IACF;IAEA,IAAI,IAAAS,0BAAmB,EAACT,EAAE,CAAC,IAAI,CAAC,IAAAU,6BAAsB,EAACV,EAAE,CAAC,EAAE;MAC1D,IAAI,IAAAW,oBAAa,EAACX,EAAE,CAACY,WAAW,CAAC,EAAE;QACjClB,MAAM,CAACc,IAAI,CAACR,EAAE,CAACY,WAAW,CAAC;MAC7B;MACA;IACF;IAEA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 Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = traverseFast;
|
|
7
7
|
var _index = require("../definitions/index.js");
|
|
8
|
+
const _skip = Symbol();
|
|
9
|
+
const _stop = Symbol();
|
|
8
10
|
function traverseFast(node, enter, opts) {
|
|
9
|
-
if (!node) return;
|
|
11
|
+
if (!node) return false;
|
|
10
12
|
const keys = _index.VISITOR_KEYS[node.type];
|
|
11
|
-
if (!keys) return;
|
|
13
|
+
if (!keys) return false;
|
|
12
14
|
opts = opts || {};
|
|
13
|
-
enter(node, opts);
|
|
15
|
+
const ret = enter(node, opts);
|
|
16
|
+
if (ret !== undefined) {
|
|
17
|
+
switch (ret) {
|
|
18
|
+
case _skip:
|
|
19
|
+
return false;
|
|
20
|
+
case _stop:
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
14
24
|
for (const key of keys) {
|
|
15
25
|
const subNode = node[key];
|
|
26
|
+
if (!subNode) continue;
|
|
16
27
|
if (Array.isArray(subNode)) {
|
|
17
28
|
for (const node of subNode) {
|
|
18
|
-
traverseFast(node, enter, opts);
|
|
29
|
+
if (traverseFast(node, enter, opts)) return true;
|
|
19
30
|
}
|
|
20
31
|
} else {
|
|
21
|
-
traverseFast(subNode, enter, opts);
|
|
32
|
+
if (traverseFast(subNode, enter, opts)) return true;
|
|
22
33
|
}
|
|
23
34
|
}
|
|
35
|
+
return false;
|
|
24
36
|
}
|
|
37
|
+
traverseFast.skip = _skip;
|
|
38
|
+
traverseFast.stop = _stop;
|
|
25
39
|
|
|
26
40
|
//# sourceMappingURL=traverseFast.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_index","require","traverseFast","node","enter","opts","keys","VISITOR_KEYS","type","key","subNode","Array","isArray"],"sources":["../../src/traverse/traverseFast.ts"],"sourcesContent":["import { VISITOR_KEYS } from \"../definitions/index.ts\";\nimport type * as t from \"../index.ts\";\n\n/**\n * A prefix AST traversal implementation meant for simple searching
|
|
1
|
+
{"version":3,"names":["_index","require","_skip","Symbol","_stop","traverseFast","node","enter","opts","keys","VISITOR_KEYS","type","ret","undefined","key","subNode","Array","isArray","skip","stop"],"sources":["../../src/traverse/traverseFast.ts"],"sourcesContent":["import { VISITOR_KEYS } from \"../definitions/index.ts\";\nimport type * as t from \"../index.ts\";\n\nconst _skip = Symbol();\nconst _stop = Symbol();\n\n/**\n * A prefix AST traversal implementation meant for simple searching and processing.\n * @param enter The callback can return `traverseFast.skip` to skip the subtree of the current node, or `traverseFast.stop` to stop the traversal.\n * @returns `true` if the traversal was stopped by callback, `false` otherwise.\n */\nexport default function traverseFast<Options = object>(\n node: t.Node | null | undefined,\n enter: (\n node: t.Node,\n opts?: Options,\n ) => void | typeof traverseFast.skip | typeof traverseFast.stop,\n opts?: Options,\n): boolean {\n if (!node) return false;\n\n const keys = VISITOR_KEYS[node.type];\n if (!keys) return false;\n\n opts = opts || ({} as Options);\n const ret = enter(node, opts);\n if (ret !== undefined) {\n switch (ret) {\n case _skip:\n return false;\n case _stop:\n return true;\n }\n }\n\n for (const key of keys) {\n const subNode: t.Node | undefined | null =\n // @ts-expect-error key must present in node\n node[key];\n\n if (!subNode) continue;\n\n if (Array.isArray(subNode)) {\n for (const node of subNode) {\n if (traverseFast(node, enter, opts)) return true;\n }\n } else {\n if (traverseFast(subNode, enter, opts)) return true;\n }\n }\n return false;\n}\n\ntraverseFast.skip = _skip;\ntraverseFast.stop = _stop;\n"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAGA,MAAMC,KAAK,GAAGC,MAAM,CAAC,CAAC;AACtB,MAAMC,KAAK,GAAGD,MAAM,CAAC,CAAC;AAOP,SAASE,YAAYA,CAClCC,IAA+B,EAC/BC,KAG+D,EAC/DC,IAAc,EACL;EACT,IAAI,CAACF,IAAI,EAAE,OAAO,KAAK;EAEvB,MAAMG,IAAI,GAAGC,mBAAY,CAACJ,IAAI,CAACK,IAAI,CAAC;EACpC,IAAI,CAACF,IAAI,EAAE,OAAO,KAAK;EAEvBD,IAAI,GAAGA,IAAI,IAAK,CAAC,CAAa;EAC9B,MAAMI,GAAG,GAAGL,KAAK,CAACD,IAAI,EAAEE,IAAI,CAAC;EAC7B,IAAII,GAAG,KAAKC,SAAS,EAAE;IACrB,QAAQD,GAAG;MACT,KAAKV,KAAK;QACR,OAAO,KAAK;MACd,KAAKE,KAAK;QACR,OAAO,IAAI;IACf;EACF;EAEA,KAAK,MAAMU,GAAG,IAAIL,IAAI,EAAE;IACtB,MAAMM,OAAkC,GAEtCT,IAAI,CAACQ,GAAG,CAAC;IAEX,IAAI,CAACC,OAAO,EAAE;IAEd,IAAIC,KAAK,CAACC,OAAO,CAACF,OAAO,CAAC,EAAE;MAC1B,KAAK,MAAMT,IAAI,IAAIS,OAAO,EAAE;QAC1B,IAAIV,YAAY,CAACC,IAAI,EAAEC,KAAK,EAAEC,IAAI,CAAC,EAAE,OAAO,IAAI;MAClD;IACF,CAAC,MAAM;MACL,IAAIH,YAAY,CAACU,OAAO,EAAER,KAAK,EAAEC,IAAI,CAAC,EAAE,OAAO,IAAI;IACrD;EACF;EACA,OAAO,KAAK;AACd;AAEAH,YAAY,CAACa,IAAI,GAAGhB,KAAK;AACzBG,YAAY,CAACc,IAAI,GAAGf,KAAK","ignoreList":[]}
|
|
@@ -5,9 +5,9 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = deprecationWarning;
|
|
7
7
|
const warnings = new Set();
|
|
8
|
-
function deprecationWarning(oldName, newName, prefix = "") {
|
|
9
|
-
if (warnings.has(
|
|
10
|
-
warnings.add(
|
|
8
|
+
function deprecationWarning(oldName, newName, prefix = "", cacheKey = oldName) {
|
|
9
|
+
if (warnings.has(cacheKey)) return;
|
|
10
|
+
warnings.add(cacheKey);
|
|
11
11
|
const {
|
|
12
12
|
internal,
|
|
13
13
|
trace
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["warnings","Set","deprecationWarning","oldName","newName","prefix","has","add","internal","trace","captureShortStackTrace","console","warn","skip","length","stackTraceLimit","prepareStackTrace","Error","stackTrace","err","stack","shortStackTrace","slice","test","getFileName","map","frame","join"],"sources":["../../src/utils/deprecationWarning.ts"],"sourcesContent":["const warnings = new Set();\n\nexport default function deprecationWarning(\n oldName: string,\n newName: string,\n prefix: string = \"\",\n) {\n if (warnings.has(
|
|
1
|
+
{"version":3,"names":["warnings","Set","deprecationWarning","oldName","newName","prefix","cacheKey","has","add","internal","trace","captureShortStackTrace","console","warn","skip","length","stackTraceLimit","prepareStackTrace","Error","stackTrace","err","stack","shortStackTrace","slice","test","getFileName","map","frame","join"],"sources":["../../src/utils/deprecationWarning.ts"],"sourcesContent":["const warnings = new Set();\n\nexport default function deprecationWarning(\n oldName: string,\n newName: string,\n prefix: string = \"\",\n cacheKey: string = oldName,\n) {\n if (warnings.has(cacheKey)) return;\n warnings.add(cacheKey);\n\n const { internal, trace } = captureShortStackTrace(1, 2);\n if (internal) {\n // If usage comes from an internal package, there is no point in warning because\n // 1. The new version of the package will already use the new API\n // 2. When the deprecation will become an error (in a future major version), users\n // will have to update every package anyway.\n return;\n }\n console.warn(\n `${prefix}\\`${oldName}\\` has been deprecated, please migrate to \\`${newName}\\`\\n${trace}`,\n );\n}\n\nfunction captureShortStackTrace(skip: number, length: number) {\n const { stackTraceLimit, prepareStackTrace } = Error;\n let stackTrace: NodeJS.CallSite[];\n // We add 1 to also take into account this function.\n Error.stackTraceLimit = 1 + skip + length;\n Error.prepareStackTrace = function (err, stack) {\n stackTrace = stack;\n };\n // eslint-disable-next-line @typescript-eslint/no-unused-expressions\n new Error().stack;\n Error.stackTraceLimit = stackTraceLimit;\n Error.prepareStackTrace = prepareStackTrace;\n\n if (!stackTrace) return { internal: false, trace: \"\" };\n\n const shortStackTrace = stackTrace.slice(1 + skip, 1 + skip + length);\n return {\n internal: /[\\\\/]@babel[\\\\/]/.test(shortStackTrace[1].getFileName()),\n trace: shortStack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,CAACe,IAAI,CAACF,eAAe,CAAC,CAAC,CAAC,CAACG,WAAW,CAAC,CAAC,CAAC;IACnEf,KAAK,EAAEY,eAAe,CAACI,GAAG,CAACC,KAAK,IAAI,UAAUA,KAAK,EAAE,CAAC,CAACC,IAAI,CAAC,IAAI;EAClE,CAAC;AACH","ignoreList":[]}
|
|
@@ -97,6 +97,7 @@ exports.isForXStatement = isForXStatement;
|
|
|
97
97
|
exports.isFunction = isFunction;
|
|
98
98
|
exports.isFunctionDeclaration = isFunctionDeclaration;
|
|
99
99
|
exports.isFunctionExpression = isFunctionExpression;
|
|
100
|
+
exports.isFunctionParameter = isFunctionParameter;
|
|
100
101
|
exports.isFunctionParent = isFunctionParent;
|
|
101
102
|
exports.isFunctionTypeAnnotation = isFunctionTypeAnnotation;
|
|
102
103
|
exports.isFunctionTypeParam = isFunctionTypeParam;
|
|
@@ -218,6 +219,7 @@ exports.isTSConstructorType = isTSConstructorType;
|
|
|
218
219
|
exports.isTSDeclareFunction = isTSDeclareFunction;
|
|
219
220
|
exports.isTSDeclareMethod = isTSDeclareMethod;
|
|
220
221
|
exports.isTSEntityName = isTSEntityName;
|
|
222
|
+
exports.isTSEnumBody = isTSEnumBody;
|
|
221
223
|
exports.isTSEnumDeclaration = isTSEnumDeclaration;
|
|
222
224
|
exports.isTSEnumMember = isTSEnumMember;
|
|
223
225
|
exports.isTSExportAssignment = isTSExportAssignment;
|
|
@@ -255,6 +257,7 @@ exports.isTSRestType = isTSRestType;
|
|
|
255
257
|
exports.isTSSatisfiesExpression = isTSSatisfiesExpression;
|
|
256
258
|
exports.isTSStringKeyword = isTSStringKeyword;
|
|
257
259
|
exports.isTSSymbolKeyword = isTSSymbolKeyword;
|
|
260
|
+
exports.isTSTemplateLiteralType = isTSTemplateLiteralType;
|
|
258
261
|
exports.isTSThisType = isTSThisType;
|
|
259
262
|
exports.isTSTupleType = isTSTupleType;
|
|
260
263
|
exports.isTSType = isTSType;
|
|
@@ -302,6 +305,7 @@ exports.isV8IntrinsicIdentifier = isV8IntrinsicIdentifier;
|
|
|
302
305
|
exports.isVariableDeclaration = isVariableDeclaration;
|
|
303
306
|
exports.isVariableDeclarator = isVariableDeclarator;
|
|
304
307
|
exports.isVariance = isVariance;
|
|
308
|
+
exports.isVoidPattern = isVoidPattern;
|
|
305
309
|
exports.isVoidTypeAnnotation = isVoidTypeAnnotation;
|
|
306
310
|
exports.isWhile = isWhile;
|
|
307
311
|
exports.isWhileStatement = isWhileStatement;
|
|
@@ -749,6 +753,11 @@ function isStaticBlock(node, opts) {
|
|
|
749
753
|
if (node.type !== "StaticBlock") return false;
|
|
750
754
|
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
751
755
|
}
|
|
756
|
+
function isImportAttribute(node, opts) {
|
|
757
|
+
if (!node) return false;
|
|
758
|
+
if (node.type !== "ImportAttribute") return false;
|
|
759
|
+
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
760
|
+
}
|
|
752
761
|
function isAnyTypeAnnotation(node, opts) {
|
|
753
762
|
if (!node) return false;
|
|
754
763
|
if (node.type !== "AnyTypeAnnotation") return false;
|
|
@@ -1174,11 +1183,6 @@ function isBindExpression(node, opts) {
|
|
|
1174
1183
|
if (node.type !== "BindExpression") return false;
|
|
1175
1184
|
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
1176
1185
|
}
|
|
1177
|
-
function isImportAttribute(node, opts) {
|
|
1178
|
-
if (!node) return false;
|
|
1179
|
-
if (node.type !== "ImportAttribute") return false;
|
|
1180
|
-
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
1181
|
-
}
|
|
1182
1186
|
function isDecorator(node, opts) {
|
|
1183
1187
|
if (!node) return false;
|
|
1184
1188
|
if (node.type !== "Decorator") return false;
|
|
@@ -1234,6 +1238,11 @@ function isPipelinePrimaryTopicReference(node, opts) {
|
|
|
1234
1238
|
if (node.type !== "PipelinePrimaryTopicReference") return false;
|
|
1235
1239
|
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
1236
1240
|
}
|
|
1241
|
+
function isVoidPattern(node, opts) {
|
|
1242
|
+
if (!node) return false;
|
|
1243
|
+
if (node.type !== "VoidPattern") return false;
|
|
1244
|
+
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
1245
|
+
}
|
|
1237
1246
|
function isTSParameterProperty(node, opts) {
|
|
1238
1247
|
if (!node) return false;
|
|
1239
1248
|
if (node.type !== "TSParameterProperty") return false;
|
|
@@ -1444,6 +1453,11 @@ function isTSMappedType(node, opts) {
|
|
|
1444
1453
|
if (node.type !== "TSMappedType") return false;
|
|
1445
1454
|
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
1446
1455
|
}
|
|
1456
|
+
function isTSTemplateLiteralType(node, opts) {
|
|
1457
|
+
if (!node) return false;
|
|
1458
|
+
if (node.type !== "TSTemplateLiteralType") return false;
|
|
1459
|
+
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
1460
|
+
}
|
|
1447
1461
|
function isTSLiteralType(node, opts) {
|
|
1448
1462
|
if (!node) return false;
|
|
1449
1463
|
if (node.type !== "TSLiteralType") return false;
|
|
@@ -1489,6 +1503,11 @@ function isTSTypeAssertion(node, opts) {
|
|
|
1489
1503
|
if (node.type !== "TSTypeAssertion") return false;
|
|
1490
1504
|
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
1491
1505
|
}
|
|
1506
|
+
function isTSEnumBody(node, opts) {
|
|
1507
|
+
if (!node) return false;
|
|
1508
|
+
if (node.type !== "TSEnumBody") return false;
|
|
1509
|
+
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
1510
|
+
}
|
|
1492
1511
|
function isTSEnumDeclaration(node, opts) {
|
|
1493
1512
|
if (!node) return false;
|
|
1494
1513
|
if (node.type !== "TSEnumDeclaration") return false;
|
|
@@ -1650,6 +1669,7 @@ function isStandardized(node, opts) {
|
|
|
1650
1669
|
case "ClassPrivateMethod":
|
|
1651
1670
|
case "PrivateName":
|
|
1652
1671
|
case "StaticBlock":
|
|
1672
|
+
case "ImportAttribute":
|
|
1653
1673
|
break;
|
|
1654
1674
|
case "Placeholder":
|
|
1655
1675
|
switch (node.expectedNode) {
|
|
@@ -2068,6 +2088,7 @@ function isDeclaration(node, opts) {
|
|
|
2068
2088
|
case "TSTypeAliasDeclaration":
|
|
2069
2089
|
case "TSEnumDeclaration":
|
|
2070
2090
|
case "TSModuleDeclaration":
|
|
2091
|
+
case "TSImportEqualsDeclaration":
|
|
2071
2092
|
break;
|
|
2072
2093
|
case "Placeholder":
|
|
2073
2094
|
if (node.expectedNode === "Declaration") break;
|
|
@@ -2076,14 +2097,33 @@ function isDeclaration(node, opts) {
|
|
|
2076
2097
|
}
|
|
2077
2098
|
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
2078
2099
|
}
|
|
2100
|
+
function isFunctionParameter(node, opts) {
|
|
2101
|
+
if (!node) return false;
|
|
2102
|
+
switch (node.type) {
|
|
2103
|
+
case "Identifier":
|
|
2104
|
+
case "RestElement":
|
|
2105
|
+
case "AssignmentPattern":
|
|
2106
|
+
case "ArrayPattern":
|
|
2107
|
+
case "ObjectPattern":
|
|
2108
|
+
case "VoidPattern":
|
|
2109
|
+
break;
|
|
2110
|
+
case "Placeholder":
|
|
2111
|
+
if (node.expectedNode === "Identifier") break;
|
|
2112
|
+
default:
|
|
2113
|
+
return false;
|
|
2114
|
+
}
|
|
2115
|
+
return opts == null || (0, _shallowEqual.default)(node, opts);
|
|
2116
|
+
}
|
|
2079
2117
|
function isPatternLike(node, opts) {
|
|
2080
2118
|
if (!node) return false;
|
|
2081
2119
|
switch (node.type) {
|
|
2082
2120
|
case "Identifier":
|
|
2121
|
+
case "MemberExpression":
|
|
2083
2122
|
case "RestElement":
|
|
2084
2123
|
case "AssignmentPattern":
|
|
2085
2124
|
case "ArrayPattern":
|
|
2086
2125
|
case "ObjectPattern":
|
|
2126
|
+
case "VoidPattern":
|
|
2087
2127
|
case "TSAsExpression":
|
|
2088
2128
|
case "TSSatisfiesExpression":
|
|
2089
2129
|
case "TSTypeAssertion":
|
|
@@ -2260,6 +2300,7 @@ function isPattern(node, opts) {
|
|
|
2260
2300
|
case "AssignmentPattern":
|
|
2261
2301
|
case "ArrayPattern":
|
|
2262
2302
|
case "ObjectPattern":
|
|
2303
|
+
case "VoidPattern":
|
|
2263
2304
|
break;
|
|
2264
2305
|
case "Placeholder":
|
|
2265
2306
|
if (node.expectedNode === "Pattern") break;
|
|
@@ -2609,6 +2650,7 @@ function isTypeScript(node, opts) {
|
|
|
2609
2650
|
case "TSTypeOperator":
|
|
2610
2651
|
case "TSIndexedAccessType":
|
|
2611
2652
|
case "TSMappedType":
|
|
2653
|
+
case "TSTemplateLiteralType":
|
|
2612
2654
|
case "TSLiteralType":
|
|
2613
2655
|
case "TSExpressionWithTypeArguments":
|
|
2614
2656
|
case "TSInterfaceDeclaration":
|
|
@@ -2618,6 +2660,7 @@ function isTypeScript(node, opts) {
|
|
|
2618
2660
|
case "TSAsExpression":
|
|
2619
2661
|
case "TSSatisfiesExpression":
|
|
2620
2662
|
case "TSTypeAssertion":
|
|
2663
|
+
case "TSEnumBody":
|
|
2621
2664
|
case "TSEnumDeclaration":
|
|
2622
2665
|
case "TSEnumMember":
|
|
2623
2666
|
case "TSModuleDeclaration":
|
|
@@ -2687,6 +2730,7 @@ function isTSType(node, opts) {
|
|
|
2687
2730
|
case "TSTypeOperator":
|
|
2688
2731
|
case "TSIndexedAccessType":
|
|
2689
2732
|
case "TSMappedType":
|
|
2733
|
+
case "TSTemplateLiteralType":
|
|
2690
2734
|
case "TSLiteralType":
|
|
2691
2735
|
case "TSExpressionWithTypeArguments":
|
|
2692
2736
|
case "TSImportType":
|
|
@@ -2713,6 +2757,7 @@ function isTSBaseType(node, opts) {
|
|
|
2713
2757
|
case "TSUnknownKeyword":
|
|
2714
2758
|
case "TSVoidKeyword":
|
|
2715
2759
|
case "TSThisType":
|
|
2760
|
+
case "TSTemplateLiteralType":
|
|
2716
2761
|
case "TSLiteralType":
|
|
2717
2762
|
break;
|
|
2718
2763
|
default:
|