@sitecore/sc-contenthub-blok 0.0.90 → 1.0.1
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/BlokButtonGroup/BlokButtonGroup.d.ts +1 -2
- package/dist/Components/BlokButtonGroup/BlokButtonGroup.js +2 -1
- package/dist/Components/BlokButtonGroup/BlokButtonGroup.js.map +1 -1
- package/dist/Components/BlokButtonGroup/BlokButtonGroup.spec.js +8 -11
- package/dist/Components/BlokButtonGroup/BlokButtonGroup.spec.js.map +1 -1
- package/dist/Components/BlokButtonGroup/BlokButtonGroup.stories.js +3 -6
- package/dist/Components/BlokButtonGroup/BlokButtonGroup.stories.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/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/BlokButtonGroup/BlokButtonGroup.js +1 -2
- package/esm/Components/BlokButtonGroup/BlokButtonGroup.js.map +1 -1
- package/esm/Components/BlokIcon/BlokIcon.js +2 -3
- package/esm/Components/BlokIcon/BlokIcon.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,"file":"BlokButton.js","sourceRoot":"","sources":["../../../src/Components/BlokButton/BlokButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"BlokButton.js","sourceRoot":"","sources":["../../../src/Components/BlokButton/BlokButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AASlC,OAAO,EACL,MAAM,EAGN,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AA+E3B;;GAEG;AACH,MAAM,iBAAiB,GAAuD;IAC5E,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,OAAO;IACf,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,EAAE,EAAE,IAAI;CACA,CAAC;AAEX,MAAM,wBAAwB,GAG1B;IACF,OAAO,EAAE,SAAS;IAClB,MAAM,EAAE,OAAO;IACf,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;IACZ,OAAO,EAAE,SAAS;IAClB,EAAE,EAAE,IAAI,EAAE,yCAAyC;CAC3C,CAAC;AAEX;;G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tC,aAAa,QACb,IAAI,EAAE,UAAU,EAChB,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,EAC5B,GAAG,EAAE,GAAG,KACJ,UAAU,KACV,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,aAE3B,SAAS,IAAI,CACZ,KAAC,gBAAgB,IACf,IAAI,EAAE,EAAE,EACR,KAAK,EAAE,wBAAwB,CAAC,WAAW,CAAC,GAC5C,CACH,EACA,WAAW,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,EACzC,KAAK,IAAI,IAAI,IAAI,KAAK,KAAK,CAAC,IAAI,KAAK,KAAK,GAAG,IAAI,CAChD,kCAAsB,iBAAiB,EAAC,SAAS,EAAC,cAAc,YAC7D,KAAK,GACD,CACR,IACM,CACV,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -20,9 +20,8 @@ const classes = {
|
|
|
20
20
|
borderColor: semanticTokens.borderColor.dark,
|
|
21
21
|
}),
|
|
22
22
|
};
|
|
23
|
-
const BlokButtonGroup = ({ children, variant = "normal", orientation = "horizontal", fullWidth = false, className, }) => {
|
|
23
|
+
export const BlokButtonGroup = ({ children, variant = "normal", orientation = "horizontal", fullWidth = false, className, }) => {
|
|
24
24
|
const isDarkTheme = useIsDarkTheme();
|
|
25
25
|
return (_jsx("div", { role: "group", className: cx(classes.normal, variant === "rounded" && classes.rounded, variant === "square" && classes.square, orientation === "vertical" && classes.stacked, fullWidth && classes.fullWidth, isDarkTheme && classes.darkVariant, className), children: children }));
|
|
26
26
|
};
|
|
27
|
-
export default BlokButtonGroup;
|
|
28
27
|
//# sourceMappingURL=BlokButtonGroup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlokButtonGroup.js","sourceRoot":"","sources":["../../../src/Components/BlokButtonGroup/BlokButtonGroup.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAGvC,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEtD,MAAM,OAAO,GAAG;IACd,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO,EAAE,aAAa,EAAE,GAAG,EAAE,SAAS,EAAE,CAAC;IACvD,OAAO,EAAE,GAAG,CAAC;QACX,MAAM,EAAE,aAAa,cAAc,CAAC,WAAW,CAAC,OAAO,EAAE;QACzD,YAAY,EAAE,gBAAgB;QAC9B,OAAO,EAAE,WAAW;KACrB,CAAC;IACF,MAAM,EAAE,GAAG,CAAC;QACV,MAAM,EAAE,aAAa,cAAc,CAAC,WAAW,CAAC,OAAO,EAAE;QACzD,YAAY,EAAE,cAAc;QAC5B,OAAO,EAAE,WAAW;KACrB,CAAC;IACF,OAAO,EAAE,GAAG,CAAC,EAAE,aAAa,EAAE,QAAQ,EAAE,CAAC;IACzC,SAAS,EAAE,GAAG,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,cAAc,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC;IAC7E,WAAW,EAAE,GAAG,CAAC;QACf,WAAW,EAAE,cAAc,CAAC,WAAW,CAAC,IAAI;KAC7C,CAAC;CACH,CAAC;AASF,MAAM,eAAe,GAAgD,CAAC,
|
|
1
|
+
{"version":3,"file":"BlokButtonGroup.js","sourceRoot":"","sources":["../../../src/Components/BlokButtonGroup/BlokButtonGroup.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAGvC,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,sBA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,EAClC,SAAS,CACV,YAEA,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { css, cx } from "@emotion/css";
|
|
3
|
-
import { forwardRef } from "react";
|
|
4
3
|
import { useInView } from "react-intersection-observer";
|
|
5
4
|
import { backgroundColorByName, colorByName, iconSizeDefault, iconSizeExtraSmall, iconSizeSmall, } from "../../Foundations";
|
|
6
5
|
import { useReferencedSvgIcon } from "./useSvgIcon";
|
|
@@ -37,7 +36,7 @@ const svgStyles = css({
|
|
|
37
36
|
display: "none", // We need to make sure that on hybrid pages the icons are not shown twice.
|
|
38
37
|
},
|
|
39
38
|
});
|
|
40
|
-
export const BlokIcon =
|
|
39
|
+
export const BlokIcon = ({ ref, icon, classes, label, iconColor, iconColorShade = 500, iconBackgroundColor, iconBackgroundColorShade = 100, iconSize = "default", ignoreIconOverride = false, fontSize, ...props }) => {
|
|
41
40
|
const iconName = icon.replace("m-icon ", "").replace("m-icon-", "");
|
|
42
41
|
const fullIconName = `m-icon-${iconName}`;
|
|
43
42
|
const { inView, ref: inViewRef } = useInView();
|
|
@@ -53,5 +52,5 @@ export const BlokIcon = forwardRef(function ContentHubIcon({ icon, classes, labe
|
|
|
53
52
|
}, className: cx("m-icon", classes, icon, iconColor ? colorByName(iconColor, iconColorShade) : null, iconBackgroundColor
|
|
54
53
|
? backgroundColorByName(iconBackgroundColor, iconBackgroundColorShade)
|
|
55
54
|
: null, iconSize === "small" ? smallIcon : undefined, iconSize === "extraSmall" ? extraSmallIcon : undefined, iconSize === "default" ? defaultIcon : undefined, svgStyles), ...props, style: fontSize ? { fontSize } : undefined, "aria-label": label ?? fullIconName, "data-testid": fullIconName, dangerouslySetInnerHTML: { __html: svgIcon }, ...(iconColor ? { "data-icon-color": iconColor } : {}) }));
|
|
56
|
-
}
|
|
55
|
+
};
|
|
57
56
|
//# sourceMappingURL=BlokIcon.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlokIcon.js","sourceRoot":"","sources":["../../../src/Components/BlokIcon/BlokIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"BlokIcon.js","sourceRoot":"","sources":["../../../src/Components/BlokIcon/BlokIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAEvC,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AAExD,OAAO,EACL,qBAAqB,EACrB,WAAW,EAGX,eAAe,EACf,kBAAkB,EAClB,aAAa,GACd,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAIpD,MAAM,cAAc,GAAG,GAAG,CAAC;IACzB,QAAQ,EAAE,kBAAkB;CAC7B,CAAC,CAAC;AAEH,MAAM,SAAS,GAAG,GAAG,CAAC;IACpB,QAAQ,EAAE,aAAa;CACxB,CAAC,CAAC;AAEH,MAAM,WAAW,GAAG,GAAG,CAAC;IACtB,QAAQ,EAAE,eAAe;CAC1B,CAAC,CAAC;AAEH,MAAM,SAAS,GAAG,GAAG,CAAC;IACpB,UAAU,EAAE,CAAC;IACb,MAAM,EAAE,KAAK;IACb,OAAO,EAAE,cAAc;IACvB,OAAO,EAAE;QACP,KAAK,EAAE,KAAK;QACZ,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,QAAQ;QAClB,MAAM,EAAE,CAAC;QACT,aAAa,EAAE,UAAU;QACzB,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,cAAc;QACrB,UAAU,EAAE,CAAC;QACb,UAAU,EAAE,CAAC;KACd;IACD,gBAAgB,EAAE;QAChB,MAAM,EAAE,cAAc;QACtB,IAAI,EAAE,aAAa;KACpB;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CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,EAC5C,QAAQ,KAAK,YAAY,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,EACtD,QAAQ,KAAK,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,EAChD,SAAS,CACV,KACG,KAAK,EACT,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,gBAC9B,KAAK,IAAI,YAAY,iBACpB,YAAY,EACzB,uBAAuB,EAAE,EAAE,MAAM,EAAE,OAAiB,EAAE,KAClD,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,iBAAiB,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,GACvD,CACH,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { cx } from "@emotion/css";
|
|
3
|
-
import { forwardRef } from "react";
|
|
4
3
|
import { BlokButton } from "../BlokButton/BlokButton";
|
|
5
|
-
export const BlokIconButton =
|
|
4
|
+
export const BlokIconButton = ({ ref, colorScheme = "neutral", variant = "ghost", id, children, isDisabled, isLoading, isActive, className, isFloating, size = "medium", href, target, buttonType = "button", onClick, onMouseDown, onMouseOver, count, ...extraProps }) => {
|
|
6
5
|
return (_jsx(BlokButton, { colorScheme: colorScheme, variant: variant, id: id, isDisabled: isDisabled, isLoading: isLoading, isActive: isActive, isFloating: isFloating, size: size, href: href, target: target, buttonType: buttonType, onClick: onClick, onMouseDown: onMouseDown, onMouseOver: onMouseOver, count: count, ref: ref, className: cx(className, "icon-button"), isIconButton: true, ...extraProps, children: !isLoading && children }));
|
|
7
|
-
}
|
|
6
|
+
};
|
|
8
7
|
//# sourceMappingURL=BlokIconButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlokIconButton.js","sourceRoot":"","sources":["../../../src/Components/BlokIconButton/BlokIconButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"BlokIconButton.js","sourceRoot":"","sources":["../../../src/Components/BlokIconButton/BlokIconButton.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAGlC,OAAO,EAAE,UAAU,EAAmB,MAAM,0BAA0B,CAAC;AAOvE,MAAM,CAAC,MAAM,cAAc,GAA+C,CAAC,EACzE,GAAG,EACH,WAAW,GAAG,SAAS,EACvB,OAAO,GAAG,OAAO,EACjB,EAAE,EACF,QAAQ,EACR,UAAU,EACV,SAAS,EACT,QAAQ,EACR,SAAS,EACT,UAAU,EACV,IAAI,GAAG,QAAQ,EACf,IAAI,EACJ,MAAM,EACN,UAAU,GAAG,QAAQ,EACrB,OAAO,EACP,WAAW,EACX,WAAW,EACX,KAAK,EACL,GAAG,UAAU,EACd,EAAE,EAAE;IACH,OAAO,CACL,KAAC,UAAU,IACT,WAAW,EAAE,WAAW,EACxB,OAAO,EAAE,OAAO,EAChB,EAAE,EAAE,EAAE,EACN,UAAU,EAAE,UAAU,EACtB,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,EACtB,OAAO,EAAE,OAAO,EAChB,WAAW,EAAE,WAAW,EACxB,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,GAAG,EACR,SAAS,EAAE,EAAE,CAAC,SAAS,EAAE,aAAa,CAAC,EACvC,YAAY,WACR,UAAU,YAEb,CAAC,SAAS,IAAI,QAAQ,GACZ,CACd,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { css, cx } from "@emotion/css";
|
|
3
|
-
import {
|
|
3
|
+
import { useCallback, useEffect, useMemo, useRef, useState, } from "react";
|
|
4
4
|
import { aiGradientColor1, aiGradientColor2, baseSpacing, blackAlpha, bodyBackgroundColor, borderRadiusMd, focusColor, fontFamilyBase, fontSizeBase, fontSizeSmall, inputBorderColor, inputBorderHoveColor, semanticTokens, shadowSm, textColorDefault, textColorDisabled, } from "../../Foundations";
|
|
5
5
|
import { isFunction } from "../../Foundations/utils";
|
|
6
6
|
import { BlokIcon } from "../BlokIcon/BlokIcon";
|
|
@@ -203,7 +203,7 @@ export const truncateString = (str, maxChars, maxWords) => {
|
|
|
203
203
|
}
|
|
204
204
|
return result;
|
|
205
205
|
};
|
|
206
|
-
export const BlokSearchBox =
|
|
206
|
+
export const BlokSearchBox = ({ ref, onSearch, onClearSearch, onEnterPress, value: externalValue, className, placeholder, cancelOnEscape = true, isSticky = false, stickyTopPosition = "0", isInsideDropdown = false, isDisabled = false, hasGutterBottom = true, stickySearchBoxBackground = bodyBackgroundColor, shouldShowScrolledStatus = false, clearButtonClassName, allowKeyPressPropagation = false, handleKeyPress, onPaste, maxNumberOfCharacters, maxNumberOfWords, clearMessage = "Clear", searchMessage = "Search", allowMultipleLines = false, hasLimitedWidth = true, expandOverContent = true, slots, searchIcon = "m-icon-magnify", searchIconImage, applyAiStyles = false, handlePastedText, showCounter = false, ignoreLimitationsRegex, transformTypedText, }) => {
|
|
207
207
|
const [value, setValue] = useState(externalValue);
|
|
208
208
|
const [isActive, setIsActive] = useState(false);
|
|
209
209
|
const searchBoxRef = useRef(null);
|
|
@@ -412,5 +412,5 @@ export const BlokSearchBox = forwardRef(function BlokSearchBox({ onSearch, onCle
|
|
|
412
412
|
: null, hasLimitedWidth ? classes.withMaxWidth : null, hasGutterBottom ? classes.gutterBottom : null, className), ref: searchBoxWrapperRef, children: _jsxs("div", { className: cx(classes.searchBoxWrapper, applyAiStyles ? classes.aiSearchBoxWrapper : null, allowMultiLine && !isSticky && expandOverContent
|
|
413
413
|
? classes.absolute
|
|
414
414
|
: null, isDisabled ? classes.disabled : null, isActive ? "searchBoxActive" : undefined), role: "search", children: [searchBoxContent, _jsx("div", { "data-testid": "slot2", children: slots?.slot2 })] }) }));
|
|
415
|
-
}
|
|
415
|
+
};
|
|
416
416
|
//# sourceMappingURL=BlokSearchBox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlokSearchBox.js","sourceRoot":"","sources":["../../../src/Components/BlokSearchBox/BlokSearchBox.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAGL,UAAU,EAKV,WAAW,EACX,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;AAEf,OAAO,EACL,gBAAgB,EAChB,gBAAgB,EAChB,WAAW,EACX,UAAU,EACV,mBAAmB,EACnB,cAAc,EACd,UAAU,EACV,cAAc,EACd,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,EACd,QAAQ,EACR,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,UAAU,EAAsB,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAC;AAEzD,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CAAC;AACxC,MAAM,CAAC,MAAM,gCAAgC,GAAG,GAAG,CAAC;AACpD,MAAM,CAAC,MAAM,yBAAyB,GAAG,MAAM,CAAC;AAEhD,MAAM,OAAO,GAAG;IACd,QAAQ,EAAE,GAAG,CAAC;QACZ,eAAe,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AAI,iBAAiB;gBAC9C,CAAC,CAAC,OAAO,CAAC,QAAQ;gBAClB,CAAC,CAAC,IAAI,EAER,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,EACpC,QAAQ,CAAC,CAAC,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CACzC,EACD,IAAI,EAAC,QAAQ,aAEZ,gBAAgB,EACjB,6BAAiB,OAAO,YAAE,KAAK,EAAE,KAAK,GAAO,IACzC,GACF,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -3,8 +3,6 @@ import { Children, cloneElement, isValidElement, useMemo, useState, } from "reac
|
|
|
3
3
|
import { isFunction } from "../../Foundations/utils";
|
|
4
4
|
export const BlokTooltip = ({ placement = "top", title, children, tooltipId = "ch-tooltip", }) => {
|
|
5
5
|
const [titleOnElement, setTitleOnElement] = useState(title);
|
|
6
|
-
// We clone the element so that we don't need to create an extra element for the tooltip.
|
|
7
|
-
// This way the tooltip is really bound to the element and not a wrapping element.
|
|
8
6
|
const withTooltip = useMemo(() => Children.map(children, (child) => {
|
|
9
7
|
if (isValidElement(child)) {
|
|
10
8
|
return cloneElement(child, {
|
|
@@ -13,14 +11,12 @@ export const BlokTooltip = ({ placement = "top", title, children, tooltipId = "c
|
|
|
13
11
|
"data-place": placement,
|
|
14
12
|
"data-tooltip-id": tooltipId,
|
|
15
13
|
onMouseEnter: () => {
|
|
16
|
-
// If the child already had a onMouseEnter prop we don't want to overwrite it so we run that too.
|
|
17
14
|
if (isFunction(child.props.onMouseEnter)) {
|
|
18
15
|
child.props.onMouseEnter();
|
|
19
16
|
}
|
|
20
17
|
setTitleOnElement("");
|
|
21
18
|
},
|
|
22
19
|
onMouseLeave: () => {
|
|
23
|
-
// If the child already had a onMouseLeave prop we don't want to overwrite it so we run that too.
|
|
24
20
|
if (isFunction(child.props.onMouseLeave)) {
|
|
25
21
|
child.props.onMouseLeave();
|
|
26
22
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlokTooltip.js","sourceRoot":"","sources":["../../../src/Components/BlokTooltip/BlokTooltip.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,QAAQ,EACR,YAAY,EAEZ,cAAc,
|
|
1
|
+
{"version":3,"file":"BlokTooltip.js","sourceRoot":"","sources":["../../../src/Components/BlokTooltip/BlokTooltip.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,QAAQ,EACR,YAAY,EAEZ,cAAc,EAEd,OAAO,EACP,QAAQ,GACT,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAcrD,MAAM,CAAC,MAAM,WAAW,GAAwC,CAAC,EAC/D,SAAS,GAAG,KAAK,EACjB,KAAK,EACL,QAAQ,EACR,SAAS,GAAG,YAAY,GACzB,EAAE,EAAE;IACH,MAAM,CAAC,cAAc,EAAE,iBAAiB,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE5D,MAAM,WAAW,GAAG,OAAO,CACzB,GAAG,EAAE,CACH,QAAQ,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,EAAE;QAC/B,IAAI,cAAc,CAAa,KAAK,CAAC,EAAE,CAAC;YACtC,OAAO,YAAY,CAAC,KAAK,EAAE;gBACzB,KAAK,EAAE,cAAc;gBACrB,mBAAmB,EAAE,KAAK;gBAC1B,YAAY,EAAE,SAAS;gBACvB,iBAAiB,EAAE,SAAS;gBAC5B,YAAY,EAAE,GAAG,EAAE;oBACjB,IAAI,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE,CAAC;wBACzC,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,CAAC;oBAC7B,CAAC;oBACD,iBAAiB,CAAC,EAAE,CAAC,CAAC;gBACxB,CAAC;gBACD,YAAY,EAAE,GAAG,EAAE;oBACjB,IAAI,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,YAAY,CAAC,EAAE,CAAC;wBACzC,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,CAAC;oBAC7B,CAAC;oBACD,iBAAiB,CAAC,KAAK,CAAC,CAAC;gBAC3B,CAAC;aACF,CAAC,CAAC;QACL,CAAC;QAED,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,EACJ,CAAC,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,cAAc,EAAE,SAAS,CAAC,CACxD,CAAC;IAEF,OAAO,4BAAG,WAAW,GAAI,CAAC;AAC5B,CAAC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babel/code-frame",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.27.1",
|
|
4
4
|
"description": "Generate errors that contain a code frame that point to source locations.",
|
|
5
5
|
"author": "The Babel Team (https://babel.dev/team)",
|
|
6
6
|
"homepage": "https://babel.dev/docs/en/next/babel-code-frame",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
},
|
|
17
17
|
"main": "./lib/index.js",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@babel/helper-validator-identifier": "^7.
|
|
19
|
+
"@babel/helper-validator-identifier": "^7.27.1",
|
|
20
20
|
"js-tokens": "^4.0.0",
|
|
21
|
-
"picocolors": "^1.
|
|
21
|
+
"picocolors": "^1.1.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"import-meta-resolve": "^4.1.0",
|
|
@@ -159,11 +159,14 @@ function ClassAccessorProperty(node) {
|
|
|
159
159
|
}
|
|
160
160
|
function ClassPrivateProperty(node) {
|
|
161
161
|
this.printJoin(node.decorators);
|
|
162
|
-
|
|
163
|
-
this.word("static");
|
|
164
|
-
this.space();
|
|
165
|
-
}
|
|
162
|
+
this.tsPrintClassMemberModifiers(node);
|
|
166
163
|
this.print(node.key);
|
|
164
|
+
if (node.optional) {
|
|
165
|
+
this.tokenChar(63);
|
|
166
|
+
}
|
|
167
|
+
if (node.definite) {
|
|
168
|
+
this.tokenChar(33);
|
|
169
|
+
}
|
|
167
170
|
this.print(node.typeAnnotation);
|
|
168
171
|
if (node.value) {
|
|
169
172
|
this.space();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_t","require","isExportDefaultDeclaration","isExportNamedDeclaration","ClassDeclaration","node","parent","inExport","_shouldPrintDecoratorsBeforeExport","printJoin","decorators","declare","word","space","abstract","id","print","typeParameters","superClass","superTypeParameters","implements","printList","body","ClassBody","token","length","newline","separator","classBodyEmptySemicolonsPrinter","exit","enterDelimited","endsWith","rightBrace","printer","tokenMap","start","end","indexes","getIndexes","k","occurrenceCount","nextLocIndex","advanceNextLocIndex","i","tok","matchesOriginal","_tokens","undefined","ClassProperty","static","format","preserveFormat","_node$key$loc","endLine","key","loc","line","catchUp","tsPrintClassMemberModifiers","computed","_variance","optional","definite","typeAnnotation","value","semicolon","ClassAccessorProperty","_node$key$loc2","ClassPrivateProperty","ClassMethod","_classMethodHead","ClassPrivateMethod","_node$key$loc3","_methodHead","StaticBlock","printSequence"],"sources":["../../src/generators/classes.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport {\n isExportDefaultDeclaration,\n isExportNamedDeclaration,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\n\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\n\nexport function ClassDeclaration(\n this: Printer,\n node: t.ClassDeclaration,\n parent: t.Node,\n) {\n const inExport =\n isExportDefaultDeclaration(parent) || isExportNamedDeclaration(parent);\n\n if (\n !inExport ||\n !this._shouldPrintDecoratorsBeforeExport(\n parent as t.ExportDeclaration & { declaration: t.ClassDeclaration },\n )\n ) {\n this.printJoin(node.decorators);\n }\n\n if (node.declare) {\n // TS\n this.word(\"declare\");\n this.space();\n }\n\n if (node.abstract) {\n // TS\n this.word(\"abstract\");\n this.space();\n }\n\n this.word(\"class\");\n\n if (node.id) {\n this.space();\n this.print(node.id);\n }\n\n this.print(node.typeParameters);\n\n if (node.superClass) {\n this.space();\n this.word(\"extends\");\n this.space();\n this.print(node.superClass);\n this.print(node.superTypeParameters);\n }\n\n if (node.implements) {\n this.space();\n this.word(\"implements\");\n this.space();\n this.printList(node.implements);\n }\n\n this.space();\n this.print(node.body);\n}\n\nexport { ClassDeclaration as ClassExpression };\n\nexport function ClassBody(this: Printer, node: t.ClassBody) {\n this.token(\"{\");\n if (node.body.length === 0) {\n this.token(\"}\");\n } else {\n this.newline();\n\n const separator = classBodyEmptySemicolonsPrinter(this, node);\n separator?.(-1); // print leading semicolons in preserveFormat mode\n\n const exit = this.enterDelimited();\n this.printJoin(node.body, true, true, separator, true);\n exit();\n\n if (!this.endsWith(charCodes.lineFeed)) this.newline();\n\n this.rightBrace(node);\n }\n}\n\nfunction classBodyEmptySemicolonsPrinter(printer: Printer, node: t.ClassBody) {\n if (!printer.tokenMap || node.start == null || node.end == null) {\n return null;\n }\n\n // \"empty statements\" in class bodies are not represented in the AST.\n // Print them by checking if there are any ; tokens between the current AST\n // member and the next one.\n\n const indexes = printer.tokenMap.getIndexes(node);\n if (!indexes) return null;\n\n let k = 1; // start from 1 to skip '{'\n\n let occurrenceCount = 0;\n\n let nextLocIndex = 0;\n const advanceNextLocIndex = () => {\n while (\n nextLocIndex < node.body.length &&\n node.body[nextLocIndex].start == null\n ) {\n nextLocIndex++;\n }\n };\n advanceNextLocIndex();\n\n return (i: number) => {\n if (nextLocIndex <= i) {\n nextLocIndex = i + 1;\n advanceNextLocIndex();\n }\n\n const end =\n nextLocIndex === node.body.length\n ? node.end\n : node.body[nextLocIndex].start;\n\n let tok;\n while (\n k < indexes.length &&\n printer.tokenMap.matchesOriginal(\n (tok = printer._tokens[indexes[k]]),\n \";\",\n ) &&\n tok.start < end\n ) {\n printer.token(\";\", undefined, occurrenceCount++);\n k++;\n }\n };\n}\n\nexport function ClassProperty(this: Printer, node: t.ClassProperty) {\n this.printJoin(node.decorators);\n\n if (!node.static && !this.format.preserveFormat) {\n // catch up to property key, avoid line break\n // between member TS modifiers and the property key.\n const endLine = node.key.loc?.end?.line;\n if (endLine) this.catchUp(endLine);\n }\n\n this.tsPrintClassMemberModifiers(node);\n\n if (node.computed) {\n this.token(\"[\");\n this.print(node.key);\n this.token(\"]\");\n } else {\n this._variance(node);\n this.print(node.key);\n }\n\n // TS\n if (node.optional) {\n this.token(\"?\");\n }\n if (node.definite) {\n this.token(\"!\");\n }\n\n this.print(node.typeAnnotation);\n if (node.value) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.value);\n }\n this.semicolon();\n}\n\nexport function ClassAccessorProperty(\n this: Printer,\n node: t.ClassAccessorProperty,\n) {\n this.printJoin(node.decorators);\n\n // catch up to property key, avoid line break\n // between member modifiers and the property key.\n const endLine = node.key.loc?.end?.line;\n if (endLine) this.catchUp(endLine);\n\n // TS does not support class accessor property yet\n this.tsPrintClassMemberModifiers(node);\n\n this.word(\"accessor\", true);\n this.space();\n\n if (node.computed) {\n this.token(\"[\");\n this.print(node.key);\n this.token(\"]\");\n } else {\n // Todo: Flow does not support class accessor property yet.\n this._variance(node);\n this.print(node.key);\n }\n\n // TS\n if (node.optional) {\n this.token(\"?\");\n }\n if (node.definite) {\n this.token(\"!\");\n }\n\n this.print(node.typeAnnotation);\n if (node.value) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.value);\n }\n this.semicolon();\n}\n\nexport function ClassPrivateProperty(\n this: Printer,\n node: t.ClassPrivateProperty,\n) {\n this.printJoin(node.decorators);\n if (node.static) {\n this.word(\"static\");\n this.space();\n }\n this.print(node.key);\n this.print(node.typeAnnotation);\n if (node.value) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.value);\n }\n this.semicolon();\n}\n\nexport function ClassMethod(this: Printer, node: t.ClassMethod) {\n this._classMethodHead(node);\n this.space();\n this.print(node.body);\n}\n\nexport function ClassPrivateMethod(this: Printer, node: t.ClassPrivateMethod) {\n this._classMethodHead(node);\n this.space();\n this.print(node.body);\n}\n\nexport function _classMethodHead(\n this: Printer,\n node: t.ClassMethod | t.ClassPrivateMethod | t.TSDeclareMethod,\n) {\n this.printJoin(node.decorators);\n\n if (!this.format.preserveFormat) {\n // catch up to method key, avoid line break\n // between member modifiers/method heads and the method key.\n const endLine = node.key.loc?.end?.line;\n if (endLine) this.catchUp(endLine);\n }\n\n this.tsPrintClassMemberModifiers(node);\n this._methodHead(node);\n}\n\nexport function StaticBlock(this: Printer, node: t.StaticBlock) {\n this.word(\"static\");\n this.space();\n this.token(\"{\");\n if (node.body.length === 0) {\n this.token(\"}\");\n } else {\n this.newline();\n this.printSequence(node.body, true);\n this.rightBrace(node);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AACA,IAAAA,EAAA,GAAAC,OAAA;AAGsB;EAFpBC,0BAA0B;EAC1BC;AAAwB,IAAAH,EAAA;AAQnB,SAASI,gBAAgBA,CAE9BC,IAAwB,EACxBC,MAAc,EACd;EACA,MAAMC,QAAQ,GACZL,0BAA0B,CAACI,MAAM,CAAC,IAAIH,wBAAwB,CAACG,MAAM,CAAC;EAExE,IACE,CAACC,QAAQ,IACT,CAAC,IAAI,CAACC,kCAAkC,CACtCF,MACF,CAAC,EACD;IACA,IAAI,CAACG,SAAS,CAACJ,IAAI,CAACK,UAAU,CAAC;EACjC;EAEA,IAAIL,IAAI,CAACM,OAAO,EAAE;IAEhB,IAAI,CAACC,IAAI,CAAC,SAAS,CAAC;IACpB,IAAI,CAACC,KAAK,CAAC,CAAC;EACd;EAEA,IAAIR,IAAI,CAACS,QAAQ,EAAE;IAEjB,IAAI,CAACF,IAAI,CAAC,UAAU,CAAC;IACrB,IAAI,CAACC,KAAK,CAAC,CAAC;EACd;EAEA,IAAI,CAACD,IAAI,CAAC,OAAO,CAAC;EAElB,IAAIP,IAAI,CAACU,EAAE,EAAE;IACX,IAAI,CAACF,KAAK,CAAC,CAAC;IACZ,IAAI,CAACG,KAAK,CAACX,IAAI,CAACU,EAAE,CAA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IAAI,CAACK,UAAU,CAAC;EAE/B,IAAI,CAAC,IAAI,CAACwC,MAAM,CAACC,cAAc,EAAE;IAAA,IAAAqB,cAAA;IAG/B,MAAMnB,OAAO,IAAAmB,cAAA,GAAGnE,IAAI,CAACiD,GAAG,CAACC,GAAG,cAAAiB,cAAA,GAAZA,cAAA,CAAcpC,GAAG,qBAAjBoC,cAAA,CAAmBhB,IAAI;IACvC,IAAIH,OAAO,EAAE,IAAI,CAACI,OAAO,CAACJ,OAAO,CAAC;EACpC;EAEA,IAAI,CAACK,2BAA2B,CAACrD,IAAI,CAAC;EACtC,IAAI,CAACoE,WAAW,CAACpE,IAAI,CAAC;AACxB;AAEO,SAASqE,WAAWA,CAAgBrE,IAAmB,EAAE;EAC9D,IAAI,CAACO,IAAI,CAAC,QAAQ,CAAC;EACnB,IAAI,CAACC,KAAK,CAAC,CAAC;EACZ,IAAI,CAACW,SAAK,IAAI,CAAC;EACf,IAAInB,IAAI,CAACiB,IAAI,CAACG,MAAM,KAAK,CAAC,EAAE;IAC1B,IAAI,CAACD,SAAK,IAAI,CAAC;EACjB,CAAC,MAAM;IACL,IAAI,CAACE,OAAO,CAAC,CAAC;IACd,IAAI,CAACiD,aAAa,CAACtE,IAAI,CAACiB,IAAI,EAAE,IAAI,CAAC;IACnC,IAAI,CAACU,UAAU,CAAC3B,IAAI,CAAC;EACvB;AACF","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_t","require","isExportDefaultDeclaration","isExportNamedDeclaration","ClassDeclaration","node","parent","inExport","_shouldPrintDecoratorsBeforeExport","printJoin","decorators","declare","word","space","abstract","id","print","typeParameters","superClass","superTypeParameters","implements","printList","body","ClassBody","token","length","newline","separator","classBodyEmptySemicolonsPrinter","exit","enterDelimited","endsWith","rightBrace","printer","tokenMap","start","end","indexes","getIndexes","k","occurrenceCount","nextLocIndex","advanceNextLocIndex","i","tok","matchesOriginal","_tokens","undefined","ClassProperty","static","format","preserveFormat","_node$key$loc","endLine","key","loc","line","catchUp","tsPrintClassMemberModifiers","computed","_variance","optional","definite","typeAnnotation","value","semicolon","ClassAccessorProperty","_node$key$loc2","ClassPrivateProperty","ClassMethod","_classMethodHead","ClassPrivateMethod","_node$key$loc3","_methodHead","StaticBlock","printSequence"],"sources":["../../src/generators/classes.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport {\n isExportDefaultDeclaration,\n isExportNamedDeclaration,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\n\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\n\nexport function ClassDeclaration(\n this: Printer,\n node: t.ClassDeclaration,\n parent: t.Node,\n) {\n const inExport =\n isExportDefaultDeclaration(parent) || isExportNamedDeclaration(parent);\n\n if (\n !inExport ||\n !this._shouldPrintDecoratorsBeforeExport(\n parent as t.ExportDeclaration & { declaration: t.ClassDeclaration },\n )\n ) {\n this.printJoin(node.decorators);\n }\n\n if (node.declare) {\n // TS\n this.word(\"declare\");\n this.space();\n }\n\n if (node.abstract) {\n // TS\n this.word(\"abstract\");\n this.space();\n }\n\n this.word(\"class\");\n\n if (node.id) {\n this.space();\n this.print(node.id);\n }\n\n this.print(node.typeParameters);\n\n if (node.superClass) {\n this.space();\n this.word(\"extends\");\n this.space();\n this.print(node.superClass);\n this.print(\n process.env.BABEL_8_BREAKING\n ? // @ts-ignore(Babel 7 vs Babel 8) Renamed\n node.superTypeArguments\n : // @ts-ignore(Babel 7 vs Babel 8) Renamed\n node.superTypeParameters,\n );\n }\n\n if (node.implements) {\n this.space();\n this.word(\"implements\");\n this.space();\n this.printList(node.implements);\n }\n\n this.space();\n this.print(node.body);\n}\n\nexport { ClassDeclaration as ClassExpression };\n\nexport function ClassBody(this: Printer, node: t.ClassBody) {\n this.token(\"{\");\n if (node.body.length === 0) {\n this.token(\"}\");\n } else {\n this.newline();\n\n const separator = classBodyEmptySemicolonsPrinter(this, node);\n separator?.(-1); // print leading semicolons in preserveFormat mode\n\n const exit = this.enterDelimited();\n this.printJoin(node.body, true, true, separator, true);\n exit();\n\n if (!this.endsWith(charCodes.lineFeed)) this.newline();\n\n this.rightBrace(node);\n }\n}\n\nfunction classBodyEmptySemicolonsPrinter(printer: Printer, node: t.ClassBody) {\n if (!printer.tokenMap || node.start == null || node.end == null) {\n return null;\n }\n\n // \"empty statements\" in class bodies are not represented in the AST.\n // Print them by checking if there are any ; tokens between the current AST\n // member and the next one.\n\n const indexes = printer.tokenMap.getIndexes(node);\n if (!indexes) return null;\n\n let k = 1; // start from 1 to skip '{'\n\n let occurrenceCount = 0;\n\n let nextLocIndex = 0;\n const advanceNextLocIndex = () => {\n while (\n nextLocIndex < node.body.length &&\n node.body[nextLocIndex].start == null\n ) {\n nextLocIndex++;\n }\n };\n advanceNextLocIndex();\n\n return (i: number) => {\n if (nextLocIndex <= i) {\n nextLocIndex = i + 1;\n advanceNextLocIndex();\n }\n\n const end =\n nextLocIndex === node.body.length\n ? node.end\n : node.body[nextLocIndex].start;\n\n let tok;\n while (\n k < indexes.length &&\n printer.tokenMap.matchesOriginal(\n (tok = printer._tokens[indexes[k]]),\n \";\",\n ) &&\n tok.start < end\n ) {\n printer.token(\";\", undefined, occurrenceCount++);\n k++;\n }\n };\n}\n\nexport function ClassProperty(this: Printer, node: t.ClassProperty) {\n this.printJoin(node.decorators);\n\n if (!node.static && !this.format.preserveFormat) {\n // catch up to property key, avoid line break\n // between member TS modifiers and the property key.\n const endLine = node.key.loc?.end?.line;\n if (endLine) this.catchUp(endLine);\n }\n\n this.tsPrintClassMemberModifiers(node);\n\n if (node.computed) {\n this.token(\"[\");\n this.print(node.key);\n this.token(\"]\");\n } else {\n this._variance(node);\n this.print(node.key);\n }\n\n // TS\n if (node.optional) {\n this.token(\"?\");\n }\n if (node.definite) {\n this.token(\"!\");\n }\n\n this.print(node.typeAnnotation);\n if (node.value) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.value);\n }\n this.semicolon();\n}\n\nexport function ClassAccessorProperty(\n this: Printer,\n node: t.ClassAccessorProperty,\n) {\n this.printJoin(node.decorators);\n\n // catch up to property key, avoid line break\n // between member modifiers and the property key.\n const endLine = node.key.loc?.end?.line;\n if (endLine) this.catchUp(endLine);\n\n // TS does not support class accessor property yet\n this.tsPrintClassMemberModifiers(node);\n\n this.word(\"accessor\", true);\n this.space();\n\n if (node.computed) {\n this.token(\"[\");\n this.print(node.key);\n this.token(\"]\");\n } else {\n // Todo: Flow does not support class accessor property yet.\n this._variance(node);\n this.print(node.key);\n }\n\n // TS\n if (node.optional) {\n this.token(\"?\");\n }\n if (node.definite) {\n this.token(\"!\");\n }\n\n this.print(node.typeAnnotation);\n if (node.value) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.value);\n }\n this.semicolon();\n}\n\nexport function ClassPrivateProperty(\n this: Printer,\n node: t.ClassPrivateProperty,\n) {\n this.printJoin(node.decorators);\n this.tsPrintClassMemberModifiers(node);\n this.print(node.key);\n // TS\n if (node.optional) {\n this.token(\"?\");\n }\n if (node.definite) {\n this.token(\"!\");\n }\n this.print(node.typeAnnotation);\n if (node.value) {\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.value);\n }\n this.semicolon();\n}\n\nexport function ClassMethod(this: Printer, node: t.ClassMethod) {\n this._classMethodHead(node);\n this.space();\n this.print(node.body);\n}\n\nexport function ClassPrivateMethod(this: Printer, node: t.ClassPrivateMethod) {\n this._classMethodHead(node);\n this.space();\n this.print(node.body);\n}\n\nexport function _classMethodHead(\n this: Printer,\n node: t.ClassMethod | t.ClassPrivateMethod | t.TSDeclareMethod,\n) {\n this.printJoin(node.decorators);\n\n if (!this.format.preserveFormat) {\n // catch up to method key, avoid line break\n // between member modifiers/method heads and the method key.\n const endLine = node.key.loc?.end?.line;\n if (endLine) this.catchUp(endLine);\n }\n\n this.tsPrintClassMemberModifiers(node);\n this._methodHead(node);\n}\n\nexport function StaticBlock(this: Printer, node: t.StaticBlock) {\n this.word(\"static\");\n this.space();\n this.token(\"{\");\n if (node.body.length === 0) {\n this.token(\"}\");\n } else {\n this.newline();\n this.printSequence(node.body, true);\n this.rightBrace(node);\n }\n}\n"],"mappings":";;;;;;;;;;;;;;AACA,IAAAA,EAAA,GAAAC,OAAA;AAGsB;EAFpBC,0BAA0B;EAC1BC;AAAwB,IAAAH,EAAA;AAQnB,SAASI,gBAAgBA,CAE9BC,IAAwB,EACxBC,MAAc,EACd;EACA,MAAMC,QAAQ,GACZL,0BAA0B,CAACI,MAAM,CAAC,IAAIH,wBAAwB,CAACG,MAAM,CAAC;EAExE,IACE,CAACC,QAAQ,IACT,CAAC,IAAI,CAACC,kCAAkC,CACtCF,MACF,CAAC,EACD;IACA,IAAI,CAACG,SAAS,CAACJ,IAAI,CAACK,UAAU,CAAC;EACjC;EAEA,IAAIL,IAAI,CAACM,OAAO,EAAE;IAEhB,IAAI,CAACC,IAAI,CAAC,SAAS,CAAC;IACpB,IAAI,CAACC,KAAK,CAAC,CAAC;EACd;EAEA,IAAIR,IAAI,CAACS,QAAQ,EAAE;IAEjB,IAAI,CAACF,IAAI,CAAC,UAAU,CAAC;IACrB,IAAI,CAACC,KAAK,CAAC,CAAC;EACd;EAEA,IAAI,CAACD,IAAI,CAAC,OAAO,CAAC;EAElB,IAAIP,IAAI,CAACU,EAAE,EAAE;IACX,IAAI,CAACF,KAAK,CAAC,CAAC;IACZ,IAAI,CAACG,KAAK,CAACX,IAAI,CAACU,EAAE,CAAC;EACrB;EAEA,IAAI,CAACC,KAAK,CAACX,IAAI,CAACY,cAAc,CAAC;EAE/B,IAAIZ,IAAI,CAACa,UAAU,EAAE;IACnB,IAAI,CAACL,KAAK,CAAC,CAAC;IACZ,IAAI,CAACD,IAAI,CAAC,SAAS,CAAC;IACpB,IAAI,CAACC,KAAK,CAAC,CAAC;IACZ,IAAI,CAACG,KAAK,CAACX,IAAI,CAACa,UAAU,CAAC;IAC3B,IAAI,CAACF,KAAK,CAKJX,IAAI,CAACc,mBACX,CAAC;EACH;EAEA,IAAId,IAAI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H,OAAO,EAAE,IAAI,CAACI,OAAO,CAACJ,OAAO,CAAC;EACpC;EAEA,IAAI,CAACK,2BAA2B,CAACrD,IAAI,CAAC;EACtC,IAAI,CAACoE,WAAW,CAACpE,IAAI,CAAC;AACxB;AAEO,SAASqE,WAAWA,CAAgBrE,IAAmB,EAAE;EAC9D,IAAI,CAACO,IAAI,CAAC,QAAQ,CAAC;EACnB,IAAI,CAACC,KAAK,CAAC,CAAC;EACZ,IAAI,CAACW,SAAK,IAAI,CAAC;EACf,IAAInB,IAAI,CAACiB,IAAI,CAACG,MAAM,KAAK,CAAC,EAAE;IAC1B,IAAI,CAACD,SAAK,IAAI,CAAC;EACjB,CAAC,MAAM;IACL,IAAI,CAACE,OAAO,CAAC,CAAC;IACd,IAAI,CAACiD,aAAa,CAACtE,IAAI,CAACiB,IAAI,EAAE,IAAI,CAAC;IACnC,IAAI,CAACU,UAAU,CAAC3B,IAAI,CAAC;EACvB;AACF","ignoreList":[]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.addDeprecatedGenerators = addDeprecatedGenerators;
|
|
7
|
+
function addDeprecatedGenerators(PrinterClass) {
|
|
8
|
+
{
|
|
9
|
+
const deprecatedBabel7Generators = {
|
|
10
|
+
Noop() {},
|
|
11
|
+
TSExpressionWithTypeArguments(node) {
|
|
12
|
+
this.print(node.expression);
|
|
13
|
+
this.print(node.typeParameters);
|
|
14
|
+
},
|
|
15
|
+
DecimalLiteral(node) {
|
|
16
|
+
const raw = this.getPossibleRaw(node);
|
|
17
|
+
if (!this.format.minified && raw !== undefined) {
|
|
18
|
+
this.word(raw);
|
|
19
|
+
return;
|
|
20
|
+
}
|
|
21
|
+
this.word(node.value + "m");
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
Object.assign(PrinterClass.prototype, deprecatedBabel7Generators);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=deprecated.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["addDeprecatedGenerators","PrinterClass","deprecatedBabel7Generators","Noop","TSExpressionWithTypeArguments","node","print","expression","typeParameters","DecimalLiteral","raw","getPossibleRaw","format","minified","undefined","word","value","Object","assign","prototype"],"sources":["../../src/generators/deprecated.ts"],"sourcesContent":["import type Printer from \"../printer\";\nimport type * as t from \"@babel/types\";\n\nexport type DeprecatedBabel7ASTTypes =\n | \"Noop\"\n | \"TSExpressionWithTypeArguments\"\n | \"DecimalLiteral\";\n\nexport function addDeprecatedGenerators(PrinterClass: typeof Printer) {\n // Add Babel 7 generator methods that is removed in Babel 8\n if (!process.env.BABEL_8_BREAKING) {\n const deprecatedBabel7Generators = {\n Noop(this: Printer) {},\n\n TSExpressionWithTypeArguments(\n this: Printer,\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 AST\n node: t.TSExpressionWithTypeArguments,\n ) {\n this.print(node.expression);\n this.print(node.typeParameters);\n },\n\n DecimalLiteral(this: Printer, node: any) {\n const raw = this.getPossibleRaw(node);\n if (!this.format.minified && raw !== undefined) {\n this.word(raw);\n return;\n }\n this.word(node.value + \"m\");\n },\n } satisfies Record<\n DeprecatedBabel7ASTTypes,\n (this: Printer, node: any) => void\n >;\n Object.assign(PrinterClass.prototype, deprecatedBabel7Generators);\n }\n}\n"],"mappings":";;;;;;AAQO,SAASA,uBAAuBA,CAACC,YAA4B,EAAE;EAEjC;IACjC,MAAMC,0BAA0B,GAAG;MACjCC,IAAIA,CAAA,EAAgB,CAAC,CAAC;MAEtBC,6BAA6BA,CAG3BC,IAAqC,EACrC;QACA,IAAI,CAACC,KAAK,CAACD,IAAI,CAACE,UAAU,CAAC;QAC3B,IAAI,CAACD,KAAK,CAACD,IAAI,CAACG,cAAc,CAAC;MACjC,CAAC;MAEDC,cAAcA,CAAgBJ,IAAS,EAAE;QACvC,MAAMK,GAAG,GAAG,IAAI,CAACC,cAAc,CAACN,IAAI,CAAC;QACrC,IAAI,CAAC,IAAI,CAACO,MAAM,CAACC,QAAQ,IAAIH,GAAG,KAAKI,SAAS,EAAE;UAC9C,IAAI,CAACC,IAAI,CAACL,GAAG,CAAC;UACd;QACF;QACA,IAAI,CAACK,IAAI,CAACV,IAAI,CAACW,KAAK,GAAG,GAAG,CAAC;MAC7B;IACF,CAGC;IACDC,MAAM,CAACC,MAAM,CAACjB,YAAY,CAACkB,SAAS,EAAEjB,0BAA0B,CAAC;EACnE;AACF","ignoreList":[]}
|
|
@@ -97,7 +97,9 @@ function NewExpression(node, parent) {
|
|
|
97
97
|
return;
|
|
98
98
|
}
|
|
99
99
|
this.print(node.typeArguments);
|
|
100
|
-
|
|
100
|
+
{
|
|
101
|
+
this.print(node.typeParameters);
|
|
102
|
+
}
|
|
101
103
|
if (node.optional) {
|
|
102
104
|
this.token("?.");
|
|
103
105
|
}
|
|
@@ -161,7 +163,9 @@ function OptionalMemberExpression(node) {
|
|
|
161
163
|
}
|
|
162
164
|
function OptionalCallExpression(node) {
|
|
163
165
|
this.print(node.callee);
|
|
164
|
-
|
|
166
|
+
{
|
|
167
|
+
this.print(node.typeParameters);
|
|
168
|
+
}
|
|
165
169
|
if (node.optional) {
|
|
166
170
|
this.token("?.");
|
|
167
171
|
}
|
|
@@ -175,7 +179,9 @@ function OptionalCallExpression(node) {
|
|
|
175
179
|
function CallExpression(node) {
|
|
176
180
|
this.print(node.callee);
|
|
177
181
|
this.print(node.typeArguments);
|
|
178
|
-
|
|
182
|
+
{
|
|
183
|
+
this.print(node.typeParameters);
|
|
184
|
+
}
|
|
179
185
|
this.tokenChar(40);
|
|
180
186
|
const exit = this.enterDelimited();
|
|
181
187
|
this.printList(node.arguments, this.shouldPrintTrailingComma(")"));
|
|
@@ -187,24 +193,23 @@ function Import() {
|
|
|
187
193
|
}
|
|
188
194
|
function AwaitExpression(node) {
|
|
189
195
|
this.word("await");
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
this.printTerminatorless(node.argument);
|
|
193
|
-
}
|
|
196
|
+
this.space();
|
|
197
|
+
this.print(node.argument);
|
|
194
198
|
}
|
|
195
199
|
function YieldExpression(node) {
|
|
196
|
-
this.word("yield", true);
|
|
197
200
|
if (node.delegate) {
|
|
201
|
+
this.word("yield", true);
|
|
198
202
|
this.tokenChar(42);
|
|
199
203
|
if (node.argument) {
|
|
200
204
|
this.space();
|
|
201
205
|
this.print(node.argument);
|
|
202
206
|
}
|
|
207
|
+
} else if (node.argument) {
|
|
208
|
+
this.word("yield", true);
|
|
209
|
+
this.space();
|
|
210
|
+
this.print(node.argument);
|
|
203
211
|
} else {
|
|
204
|
-
|
|
205
|
-
this.space();
|
|
206
|
-
this.printTerminatorless(node.argument);
|
|
207
|
-
}
|
|
212
|
+
this.word("yield");
|
|
208
213
|
}
|
|
209
214
|
}
|
|
210
215
|
function EmptyStatement() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_t","require","_index","isCallExpression","isLiteral","isMemberExpression","isNewExpression","isPattern","UnaryExpression","node","operator","word","space","token","print","argument","DoExpression","async","body","ParenthesizedExpression","exit","enterDelimited","expression","rightParens","UpdateExpression","prefix","ConditionalExpression","test","consequent","alternate","NewExpression","parent","callee","format","minified","arguments","length","optional","typeArguments","typeParameters","tokenMap","endMatches","printList","shouldPrintTrailingComma","SequenceExpression","expressions","ThisExpression","Super","_shouldPrintDecoratorsBeforeExport","decoratorsBeforeExport","start","declaration","Decorator","newline","OptionalMemberExpression","computed","property","object","TypeError","value","OptionalCallExpression","CallExpression","Import","AwaitExpression","printTerminatorless","YieldExpression","delegate","EmptyStatement","semicolon","ExpressionStatement","tokenContext","TokenContext","expressionStatement","AssignmentPattern","left","type","typeAnnotation","right","AssignmentExpression","_endsWithDiv","BindExpression","MemberExpression","MetaProperty","meta","PrivateName","id","V8IntrinsicIdentifier","name","ModuleExpression","indent","directives","dedent","rightBrace"],"sources":["../../src/generators/expressions.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport {\n isCallExpression,\n isLiteral,\n isMemberExpression,\n isNewExpression,\n isPattern,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nimport { TokenContext } from \"../node/index.ts\";\n\nexport function UnaryExpression(this: Printer, node: t.UnaryExpression) {\n const { operator } = node;\n if (\n operator === \"void\" ||\n operator === \"delete\" ||\n operator === \"typeof\" ||\n // throwExpressions\n operator === \"throw\"\n ) {\n this.word(operator);\n this.space();\n } else {\n this.token(operator);\n }\n\n this.print(node.argument);\n}\n\nexport function DoExpression(this: Printer, node: t.DoExpression) {\n if (node.async) {\n this.word(\"async\", true);\n this.space();\n }\n this.word(\"do\");\n this.space();\n this.print(node.body);\n}\n\nexport function ParenthesizedExpression(\n this: Printer,\n node: t.ParenthesizedExpression,\n) {\n this.token(\"(\");\n const exit = this.enterDelimited();\n this.print(node.expression);\n exit();\n this.rightParens(node);\n}\n\nexport function UpdateExpression(this: Printer, node: t.UpdateExpression) {\n if (node.prefix) {\n this.token(node.operator);\n this.print(node.argument);\n } else {\n this.print(node.argument, true);\n this.token(node.operator);\n }\n}\n\nexport function ConditionalExpression(\n this: Printer,\n node: t.ConditionalExpression,\n) {\n this.print(node.test);\n this.space();\n this.token(\"?\");\n this.space();\n this.print(node.consequent);\n this.space();\n this.token(\":\");\n this.space();\n this.print(node.alternate);\n}\n\nexport function NewExpression(\n this: Printer,\n node: t.NewExpression,\n parent: t.Node,\n) {\n this.word(\"new\");\n this.space();\n this.print(node.callee);\n if (\n this.format.minified &&\n node.arguments.length === 0 &&\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n !node.optional &&\n !isCallExpression(parent, { callee: node }) &&\n !isMemberExpression(parent) &&\n !isNewExpression(parent)\n ) {\n return;\n }\n\n this.print(node.typeArguments); // Flow\n this.print(node.typeParameters); // TS\n\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n if (node.optional) {\n // TODO: This can never happen\n this.token(\"?.\");\n }\n\n if (\n node.arguments.length === 0 &&\n this.tokenMap &&\n !this.tokenMap.endMatches(node, \")\")\n ) {\n return;\n }\n\n this.token(\"(\");\n const exit = this.enterDelimited();\n this.printList(node.arguments, this.shouldPrintTrailingComma(\")\"));\n exit();\n this.rightParens(node);\n}\n\nexport function SequenceExpression(this: Printer, node: t.SequenceExpression) {\n this.printList(node.expressions);\n}\n\nexport function ThisExpression(this: Printer) {\n this.word(\"this\");\n}\n\nexport function Super(this: Printer) {\n this.word(\"super\");\n}\n\nexport function _shouldPrintDecoratorsBeforeExport(\n this: Printer,\n node: t.ExportDeclaration & { declaration: t.ClassDeclaration },\n) {\n if (typeof this.format.decoratorsBeforeExport === \"boolean\") {\n return this.format.decoratorsBeforeExport;\n }\n return (\n typeof node.start === \"number\" && node.start === node.declaration.start\n );\n}\n\nexport function Decorator(this: Printer, node: t.Decorator) {\n this.token(\"@\");\n this.print(node.expression);\n this.newline();\n}\n\nexport function OptionalMemberExpression(\n this: Printer,\n node: t.OptionalMemberExpression,\n) {\n let { computed } = node;\n const { optional, property } = node;\n\n this.print(node.object);\n\n if (!computed && isMemberExpression(property)) {\n throw new TypeError(\"Got a MemberExpression for MemberExpression property\");\n }\n\n // @ts-expect-error todo(flow->ts) maybe instead of typeof check specific literal types?\n if (isLiteral(property) && typeof property.value === \"number\") {\n computed = true;\n }\n if (optional) {\n this.token(\"?.\");\n }\n\n if (computed) {\n this.token(\"[\");\n this.print(property);\n this.token(\"]\");\n } else {\n if (!optional) {\n this.token(\".\");\n }\n this.print(property);\n }\n}\n\nexport function OptionalCallExpression(\n this: Printer,\n node: t.OptionalCallExpression,\n) {\n this.print(node.callee);\n\n this.print(node.typeParameters); // TS\n\n if (node.optional) {\n this.token(\"?.\");\n }\n\n this.print(node.typeArguments); // Flow\n\n this.token(\"(\");\n const exit = this.enterDelimited();\n this.printList(node.arguments);\n exit();\n this.rightParens(node);\n}\n\nexport function CallExpression(this: Printer, node: t.CallExpression) {\n this.print(node.callee);\n\n this.print(node.typeArguments); // Flow\n this.print(node.typeParameters); // TS\n this.token(\"(\");\n const exit = this.enterDelimited();\n this.printList(node.arguments, this.shouldPrintTrailingComma(\")\"));\n exit();\n this.rightParens(node);\n}\n\nexport function Import(this: Printer) {\n this.word(\"import\");\n}\n\nexport function AwaitExpression(this: Printer, node: t.AwaitExpression) {\n this.word(\"await\");\n\n if (node.argument) {\n this.space();\n this.printTerminatorless(node.argument);\n }\n}\n\nexport function YieldExpression(this: Printer, node: t.YieldExpression) {\n this.word(\"yield\", true);\n\n if (node.delegate) {\n this.token(\"*\");\n if (node.argument) {\n this.space();\n // line terminators are allowed after yield*\n this.print(node.argument);\n }\n } else {\n if (node.argument) {\n this.space();\n this.printTerminatorless(node.argument);\n }\n }\n}\n\nexport function EmptyStatement(this: Printer) {\n this.semicolon(true /* force */);\n}\n\nexport function ExpressionStatement(\n this: Printer,\n node: t.ExpressionStatement,\n) {\n this.tokenContext |= TokenContext.expressionStatement;\n this.print(node.expression);\n this.semicolon();\n}\n\nexport function AssignmentPattern(this: Printer, node: t.AssignmentPattern) {\n this.print(node.left);\n if (node.left.type === \"Identifier\" || isPattern(node.left)) {\n if (node.left.optional) this.token(\"?\");\n this.print(node.left.typeAnnotation);\n }\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.right);\n}\n\nexport function AssignmentExpression(\n this: Printer,\n node: t.AssignmentExpression | t.BinaryExpression | t.LogicalExpression,\n) {\n this.print(node.left);\n\n this.space();\n if (node.operator === \"in\" || node.operator === \"instanceof\") {\n this.word(node.operator);\n } else {\n this.token(node.operator);\n this._endsWithDiv = node.operator === \"/\";\n }\n this.space();\n\n this.print(node.right);\n}\n\nexport function BindExpression(this: Printer, node: t.BindExpression) {\n this.print(node.object);\n this.token(\"::\");\n this.print(node.callee);\n}\n\nexport {\n AssignmentExpression as BinaryExpression,\n AssignmentExpression as LogicalExpression,\n};\n\nexport function MemberExpression(this: Printer, node: t.MemberExpression) {\n this.print(node.object);\n\n if (!node.computed && isMemberExpression(node.property)) {\n throw new TypeError(\"Got a MemberExpression for MemberExpression property\");\n }\n\n let computed = node.computed;\n // @ts-expect-error todo(flow->ts) maybe use specific literal types\n if (isLiteral(node.property) && typeof node.property.value === \"number\") {\n computed = true;\n }\n\n if (computed) {\n const exit = this.enterDelimited();\n this.token(\"[\");\n this.print(node.property);\n this.token(\"]\");\n exit();\n } else {\n this.token(\".\");\n this.print(node.property);\n }\n}\n\nexport function MetaProperty(this: Printer, node: t.MetaProperty) {\n this.print(node.meta);\n this.token(\".\");\n this.print(node.property);\n}\n\nexport function PrivateName(this: Printer, node: t.PrivateName) {\n this.token(\"#\");\n this.print(node.id);\n}\n\nexport function V8IntrinsicIdentifier(\n this: Printer,\n node: t.V8IntrinsicIdentifier,\n) {\n this.token(\"%\");\n this.word(node.name);\n}\n\nexport function ModuleExpression(this: Printer, node: t.ModuleExpression) {\n this.word(\"module\", true);\n this.space();\n this.token(\"{\");\n this.indent();\n const { body } = node;\n if (body.body.length || body.directives.length) {\n this.newline();\n }\n this.print(body);\n this.dedent();\n this.rightBrace(node);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,EAAA,GAAAC,OAAA;AAQA,IAAAC,MAAA,GAAAD,OAAA;AAAgD;EAP9CE,gBAAgB;EAChBC,SAAS;EACTC,kBAAkB;EAClBC,eAAe;EACfC;AAAS,IAAAP,EAAA;AAKJ,SAASQ,eAAeA,CAAgBC,IAAuB,EAAE;EACtE,MAAM;IAAEC;EAAS,CAAC,GAAGD,IAAI;EACzB,IACEC,QAAQ,KAAK,MAAM,IACnBA,QAAQ,KAAK,QAAQ,IACrBA,QAAQ,KAAK,QAAQ,IAErBA,QAAQ,KAAK,OAAO,EACpB;IACA,IAAI,CAACC,IAAI,CAACD,QAAQ,CAAC;IACnB,IAAI,CAACE,KAAK,CAAC,CAAC;EACd,CAAC,MAAM;IACL,IAAI,CAACC,KAAK,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CAACI,SAAK,GAAI,CAAC;EACf,IAAI,CAACC,KAAK,CAACL,IAAI,CAAC4E,EAAE,CAAC;AACrB;AAEO,SAASC,qBAAqBA,CAEnC7E,IAA6B,EAC7B;EACA,IAAI,CAACI,SAAK,GAAI,CAAC;EACf,IAAI,CAACF,IAAI,CAACF,IAAI,CAAC8E,IAAI,CAAC;AACtB;AAEO,SAASC,gBAAgBA,CAAgB/E,IAAwB,EAAE;EACxE,IAAI,CAACE,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC;EACzB,IAAI,CAACC,KAAK,CAAC,CAAC;EACZ,IAAI,CAACC,SAAK,IAAI,CAAC;EACf,IAAI,CAAC4E,MAAM,CAAC,CAAC;EACb,MAAM;IAAEvE;EAAK,CAAC,GAAGT,IAAI;EACrB,IAAIS,IAAI,CAACA,IAAI,CAACkB,MAAM,IAAIlB,IAAI,CAACwE,UAAU,CAACtD,MAAM,EAAE;IAC9C,IAAI,CAACiB,OAAO,CAAC,CAAC;EAChB;EACA,IAAI,CAACvC,KAAK,CAACI,IAAI,CAAC;EAChB,IAAI,CAACyE,MAAM,CAAC,CAAC;EACb,IAAI,CAACC,UAAU,CAACnF,IAAI,CAAC;AACvB","ignoreList":[]}
|
|
1
|
+
{"version":3,"names":["_t","require","_index","isCallExpression","isLiteral","isMemberExpression","isNewExpression","isPattern","UnaryExpression","node","operator","word","space","token","print","argument","DoExpression","async","body","ParenthesizedExpression","exit","enterDelimited","expression","rightParens","UpdateExpression","prefix","ConditionalExpression","test","consequent","alternate","NewExpression","parent","callee","format","minified","arguments","length","optional","typeArguments","typeParameters","tokenMap","endMatches","printList","shouldPrintTrailingComma","SequenceExpression","expressions","ThisExpression","Super","_shouldPrintDecoratorsBeforeExport","decoratorsBeforeExport","start","declaration","Decorator","newline","OptionalMemberExpression","computed","property","object","TypeError","value","OptionalCallExpression","CallExpression","Import","AwaitExpression","YieldExpression","delegate","EmptyStatement","semicolon","ExpressionStatement","tokenContext","TokenContext","expressionStatement","AssignmentPattern","left","type","typeAnnotation","right","AssignmentExpression","_endsWithDiv","BindExpression","MemberExpression","MetaProperty","meta","PrivateName","id","V8IntrinsicIdentifier","name","ModuleExpression","indent","directives","dedent","rightBrace"],"sources":["../../src/generators/expressions.ts"],"sourcesContent":["import type Printer from \"../printer.ts\";\nimport {\n isCallExpression,\n isLiteral,\n isMemberExpression,\n isNewExpression,\n isPattern,\n} from \"@babel/types\";\nimport type * as t from \"@babel/types\";\nimport { TokenContext } from \"../node/index.ts\";\n\nexport function UnaryExpression(this: Printer, node: t.UnaryExpression) {\n const { operator } = node;\n if (\n operator === \"void\" ||\n operator === \"delete\" ||\n operator === \"typeof\" ||\n // throwExpressions\n operator === \"throw\"\n ) {\n this.word(operator);\n this.space();\n } else {\n this.token(operator);\n }\n\n this.print(node.argument);\n}\n\nexport function DoExpression(this: Printer, node: t.DoExpression) {\n if (node.async) {\n this.word(\"async\", true);\n this.space();\n }\n this.word(\"do\");\n this.space();\n this.print(node.body);\n}\n\nexport function ParenthesizedExpression(\n this: Printer,\n node: t.ParenthesizedExpression,\n) {\n this.token(\"(\");\n const exit = this.enterDelimited();\n this.print(node.expression);\n exit();\n this.rightParens(node);\n}\n\nexport function UpdateExpression(this: Printer, node: t.UpdateExpression) {\n if (node.prefix) {\n this.token(node.operator);\n this.print(node.argument);\n } else {\n this.print(node.argument, true);\n this.token(node.operator);\n }\n}\n\nexport function ConditionalExpression(\n this: Printer,\n node: t.ConditionalExpression,\n) {\n this.print(node.test);\n this.space();\n this.token(\"?\");\n this.space();\n this.print(node.consequent);\n this.space();\n this.token(\":\");\n this.space();\n this.print(node.alternate);\n}\n\nexport function NewExpression(\n this: Printer,\n node: t.NewExpression,\n parent: t.Node,\n) {\n this.word(\"new\");\n this.space();\n this.print(node.callee);\n if (\n this.format.minified &&\n node.arguments.length === 0 &&\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n !node.optional &&\n !isCallExpression(parent, { callee: node }) &&\n !isMemberExpression(parent) &&\n !isNewExpression(parent)\n ) {\n return;\n }\n\n this.print(node.typeArguments);\n if (!process.env.BABEL_8_BREAKING) {\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n this.print(node.typeParameters); // Legacy TS AST\n }\n\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n if (node.optional) {\n // TODO: This can never happen\n this.token(\"?.\");\n }\n\n if (\n node.arguments.length === 0 &&\n this.tokenMap &&\n !this.tokenMap.endMatches(node, \")\")\n ) {\n return;\n }\n\n this.token(\"(\");\n const exit = this.enterDelimited();\n this.printList(node.arguments, this.shouldPrintTrailingComma(\")\"));\n exit();\n this.rightParens(node);\n}\n\nexport function SequenceExpression(this: Printer, node: t.SequenceExpression) {\n this.printList(node.expressions);\n}\n\nexport function ThisExpression(this: Printer) {\n this.word(\"this\");\n}\n\nexport function Super(this: Printer) {\n this.word(\"super\");\n}\n\nexport function _shouldPrintDecoratorsBeforeExport(\n this: Printer,\n node: t.ExportDeclaration & { declaration: t.ClassDeclaration },\n) {\n if (typeof this.format.decoratorsBeforeExport === \"boolean\") {\n return this.format.decoratorsBeforeExport;\n }\n return (\n typeof node.start === \"number\" && node.start === node.declaration.start\n );\n}\n\nexport function Decorator(this: Printer, node: t.Decorator) {\n this.token(\"@\");\n this.print(node.expression);\n this.newline();\n}\n\nexport function OptionalMemberExpression(\n this: Printer,\n node: t.OptionalMemberExpression,\n) {\n let { computed } = node;\n const { optional, property } = node;\n\n this.print(node.object);\n\n if (!computed && isMemberExpression(property)) {\n throw new TypeError(\"Got a MemberExpression for MemberExpression property\");\n }\n\n // @ts-expect-error todo(flow->ts) maybe instead of typeof check specific literal types?\n if (isLiteral(property) && typeof property.value === \"number\") {\n computed = true;\n }\n if (optional) {\n this.token(\"?.\");\n }\n\n if (computed) {\n this.token(\"[\");\n this.print(property);\n this.token(\"]\");\n } else {\n if (!optional) {\n this.token(\".\");\n }\n this.print(property);\n }\n}\n\nexport function OptionalCallExpression(\n this: Printer,\n node: t.OptionalCallExpression,\n) {\n this.print(node.callee);\n\n if (!process.env.BABEL_8_BREAKING) {\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n this.print(node.typeParameters); // legacy TS AST\n }\n\n if (node.optional) {\n this.token(\"?.\");\n }\n\n this.print(node.typeArguments);\n\n this.token(\"(\");\n const exit = this.enterDelimited();\n this.printList(node.arguments);\n exit();\n this.rightParens(node);\n}\n\nexport function CallExpression(this: Printer, node: t.CallExpression) {\n this.print(node.callee);\n\n this.print(node.typeArguments);\n if (!process.env.BABEL_8_BREAKING) {\n // @ts-ignore(Babel 7 vs Babel 8) Removed in Babel 8\n this.print(node.typeParameters); // legacy TS AST\n }\n this.token(\"(\");\n const exit = this.enterDelimited();\n this.printList(node.arguments, this.shouldPrintTrailingComma(\")\"));\n exit();\n this.rightParens(node);\n}\n\nexport function Import(this: Printer) {\n this.word(\"import\");\n}\n\nexport function AwaitExpression(this: Printer, node: t.AwaitExpression) {\n this.word(\"await\");\n this.space();\n this.print(node.argument);\n}\n\nexport function YieldExpression(this: Printer, node: t.YieldExpression) {\n if (node.delegate) {\n this.word(\"yield\", true);\n this.token(\"*\");\n if (node.argument) {\n this.space();\n // line terminators are allowed after yield*\n this.print(node.argument);\n }\n } else if (node.argument) {\n this.word(\"yield\", true);\n this.space();\n this.print(node.argument);\n } else {\n this.word(\"yield\");\n }\n}\n\nexport function EmptyStatement(this: Printer) {\n this.semicolon(true /* force */);\n}\n\nexport function ExpressionStatement(\n this: Printer,\n node: t.ExpressionStatement,\n) {\n this.tokenContext |= TokenContext.expressionStatement;\n this.print(node.expression);\n this.semicolon();\n}\n\nexport function AssignmentPattern(this: Printer, node: t.AssignmentPattern) {\n this.print(node.left);\n if (node.left.type === \"Identifier\" || isPattern(node.left)) {\n if (node.left.optional) this.token(\"?\");\n this.print(node.left.typeAnnotation);\n }\n this.space();\n this.token(\"=\");\n this.space();\n this.print(node.right);\n}\n\nexport function AssignmentExpression(\n this: Printer,\n node: t.AssignmentExpression | t.BinaryExpression | t.LogicalExpression,\n) {\n this.print(node.left);\n\n this.space();\n if (node.operator === \"in\" || node.operator === \"instanceof\") {\n this.word(node.operator);\n } else {\n this.token(node.operator);\n this._endsWithDiv = node.operator === \"/\";\n }\n this.space();\n\n this.print(node.right);\n}\n\nexport function BindExpression(this: Printer, node: t.BindExpression) {\n this.print(node.object);\n this.token(\"::\");\n this.print(node.callee);\n}\n\nexport {\n AssignmentExpression as BinaryExpression,\n AssignmentExpression as LogicalExpression,\n};\n\nexport function MemberExpression(this: Printer, node: t.MemberExpression) {\n this.print(node.object);\n\n if (!node.computed && isMemberExpression(node.property)) {\n throw new TypeError(\"Got a MemberExpression for MemberExpression property\");\n }\n\n let computed = node.computed;\n // @ts-expect-error todo(flow->ts) maybe use specific literal types\n if (isLiteral(node.property) && typeof node.property.value === \"number\") {\n computed = true;\n }\n\n if (computed) {\n const exit = this.enterDelimited();\n this.token(\"[\");\n this.print(node.property);\n this.token(\"]\");\n exit();\n } else {\n this.token(\".\");\n this.print(node.property);\n }\n}\n\nexport function MetaProperty(this: Printer, node: t.MetaProperty) {\n this.print(node.meta);\n this.token(\".\");\n this.print(node.property);\n}\n\nexport function PrivateName(this: Printer, node: t.PrivateName) {\n this.token(\"#\");\n this.print(node.id);\n}\n\nexport function V8IntrinsicIdentifier(\n this: Printer,\n node: t.V8IntrinsicIdentifier,\n) {\n this.token(\"%\");\n this.word(node.name);\n}\n\nexport function ModuleExpression(this: Printer, node: t.ModuleExpression) {\n this.word(\"module\", true);\n this.space();\n this.token(\"{\");\n this.indent();\n const { body } = node;\n if (body.body.length || body.directives.length) {\n this.newline();\n }\n this.print(body);\n this.dedent();\n this.rightBrace(node);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,IAAAA,EAAA,GAAAC,OAAA;AAQA,IAAAC,MAAA,GAAAD,OAAA;AAAgD;EAP9CE,gBAAgB;EAChBC,SAAS;EACTC,kBAAkB;EAClBC,eAAe;EACfC;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
function JSXOpeningElement(node) {
|
|
81
81
|
this.tokenChar(60);
|
|
82
82
|
this.print(node.name);
|
|
83
|
-
|
|
83
|
+
{
|
|
84
|
+
if (node.typeArguments) {
|
|
85
|
+
this.print(node.typeArguments);
|
|
86
|
+
}
|
|
87
|
+
this.print(node.typeParameters);
|
|
88
|
+
}
|
|
84
89
|
if (node.attributes.length > 0) {
|
|
85
90
|
this.space();
|
|
86
91
|
this.printJoin(node.attributes, undefined, undefined, spaceSeparator);
|