intergalactic 15.127.0 → 15.128.0-prerelease.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/CHANGELOG.md +33 -0
- package/accordion/lib/cjs/Accordion.js +9 -9
- package/accordion/lib/es6/Accordion.js +9 -9
- package/accordion/lib/esm/Accordion.mjs +85 -85
- package/accordion/package.json +1 -1
- package/add-filter/package.json +1 -1
- package/animation/lib/cjs/Animation.js +11 -11
- package/animation/lib/cjs/Collapse.js +28 -28
- package/animation/lib/cjs/FadeInOut.js +28 -28
- package/animation/lib/cjs/Scale.js +28 -28
- package/animation/lib/cjs/Slide.js +28 -28
- package/animation/lib/cjs/Transform.js +28 -28
- package/animation/lib/es6/Animation.js +11 -11
- package/animation/lib/es6/Collapse.js +28 -28
- package/animation/lib/es6/FadeInOut.js +28 -28
- package/animation/lib/es6/Scale.js +28 -28
- package/animation/lib/es6/Slide.js +28 -28
- package/animation/lib/es6/Transform.js +28 -28
- package/animation/lib/esm/Animation.mjs +57 -57
- package/animation/lib/esm/Collapse.mjs +47 -47
- package/animation/lib/esm/FadeInOut.mjs +35 -35
- package/animation/lib/esm/Scale.mjs +45 -45
- package/animation/lib/esm/Slide.mjs +34 -34
- package/animation/lib/esm/Transform.mjs +42 -42
- package/animation/package.json +1 -1
- package/badge/lib/cjs/Badge.js +6 -6
- package/badge/lib/es6/Badge.js +6 -6
- package/badge/lib/esm/Badge.mjs +19 -19
- package/badge/package.json +1 -1
- package/base-trigger/lib/cjs/BaseTrigger.js +18 -18
- package/base-trigger/lib/cjs/ButtonTrigger.js +3 -3
- package/base-trigger/lib/cjs/FilterTrigger.js +7 -7
- package/base-trigger/lib/cjs/LinkTrigger.js +12 -12
- package/base-trigger/lib/es6/BaseTrigger.js +18 -18
- package/base-trigger/lib/es6/ButtonTrigger.js +3 -3
- package/base-trigger/lib/es6/FilterTrigger.js +7 -7
- package/base-trigger/lib/es6/LinkTrigger.js +12 -12
- package/base-trigger/lib/esm/BaseTrigger.mjs +51 -51
- package/base-trigger/lib/esm/ButtonTrigger.mjs +19 -19
- package/base-trigger/lib/esm/FilterTrigger.mjs +67 -67
- package/base-trigger/lib/esm/LinkTrigger.mjs +45 -45
- package/base-trigger/package.json +1 -1
- package/breadcrumbs/lib/cjs/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/es6/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/esm/Breadcrumbs.mjs +46 -46
- package/breadcrumbs/package.json +1 -1
- package/breakpoints/package.json +1 -1
- package/bulk-textarea/BulkTextarea.d.ts +1 -1
- package/bulk-textarea/BulkTextarea.types.d.ts +23 -21
- package/bulk-textarea/components/InputField/InputField.d.ts +4 -4
- package/bulk-textarea/components/InputField/InputField.types.d.ts +4 -4
- package/bulk-textarea/lib/cjs/BulkTextarea.js +10 -8
- package/bulk-textarea/lib/cjs/BulkTextarea.js.map +1 -1
- package/bulk-textarea/lib/cjs/BulkTextarea.types.js.map +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/InputField.js +39 -26
- package/bulk-textarea/lib/cjs/components/InputField/InputField.js.map +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/InputField.types.js.map +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/inputField.shadow.css +17 -7
- package/bulk-textarea/lib/es6/BulkTextarea.js +10 -8
- package/bulk-textarea/lib/es6/BulkTextarea.js.map +1 -1
- package/bulk-textarea/lib/es6/BulkTextarea.types.js.map +1 -1
- package/bulk-textarea/lib/es6/components/InputField/InputField.js +39 -26
- package/bulk-textarea/lib/es6/components/InputField/InputField.js.map +1 -1
- package/bulk-textarea/lib/es6/components/InputField/InputField.types.js.map +1 -1
- package/bulk-textarea/lib/es6/components/InputField/inputField.shadow.css +17 -7
- package/bulk-textarea/lib/esm/BulkTextarea.mjs +53 -50
- package/bulk-textarea/lib/esm/components/InputField/InputField.mjs +273 -259
- package/bulk-textarea/lib/types/BulkTextarea.d.ts +1 -1
- package/bulk-textarea/lib/types/BulkTextarea.types.d.ts +23 -21
- package/bulk-textarea/lib/types/components/InputField/InputField.d.ts +4 -4
- package/bulk-textarea/lib/types/components/InputField/InputField.types.d.ts +4 -4
- package/bulk-textarea/package.json +1 -1
- package/button/lib/cjs/component/Button/Button.js +28 -28
- package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/es6/component/Button/Button.js +28 -28
- package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -20
- package/button/lib/esm/component/Button/Button.mjs +56 -56
- package/button/lib/esm/component/ButtonLink/ButtonLink.mjs +54 -54
- package/button/package.json +1 -1
- package/card/lib/cjs/Card.js +6 -6
- package/card/lib/es6/Card.js +6 -6
- package/card/lib/esm/Card.mjs +31 -31
- package/card/package.json +1 -1
- package/carousel/lib/cjs/Carousel.js +21 -21
- package/carousel/lib/es6/Carousel.js +21 -21
- package/carousel/lib/esm/Carousel.mjs +132 -132
- package/carousel/package.json +1 -1
- package/checkbox/lib/cjs/Checkbox.js +18 -18
- package/checkbox/lib/es6/Checkbox.js +18 -18
- package/checkbox/lib/esm/Checkbox.mjs +88 -88
- package/checkbox/package.json +1 -1
- package/color-picker/lib/cjs/ColorPicker.js +24 -24
- package/color-picker/lib/cjs/PaletteManager.js +24 -24
- package/color-picker/lib/cjs/components/InputColor.js +24 -24
- package/color-picker/lib/es6/ColorPicker.js +24 -24
- package/color-picker/lib/es6/PaletteManager.js +24 -24
- package/color-picker/lib/es6/components/InputColor.js +24 -24
- package/color-picker/lib/esm/ColorPicker.mjs +96 -96
- package/color-picker/lib/esm/PaletteManager.mjs +61 -61
- package/color-picker/lib/esm/components/InputColor.mjs +86 -86
- package/color-picker/package.json +1 -1
- package/components.json +75 -75
- package/core/package.json +1 -1
- package/counter/lib/cjs/Counter.js +11 -11
- package/counter/lib/es6/Counter.js +11 -11
- package/counter/lib/esm/Counter.mjs +21 -21
- package/counter/package.json +1 -1
- package/d3-chart/lib/cjs/Area.js +11 -11
- package/d3-chart/lib/cjs/Axis.js +14 -14
- package/d3-chart/lib/cjs/Bar.js +16 -16
- package/d3-chart/lib/cjs/Bubble.js +12 -12
- package/d3-chart/lib/cjs/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Donut.js +9 -9
- package/d3-chart/lib/cjs/Dots.js +8 -8
- package/d3-chart/lib/cjs/HorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Hover.js +3 -3
- package/d3-chart/lib/cjs/Line.js +9 -9
- package/d3-chart/lib/cjs/Plot.js +3 -3
- package/d3-chart/lib/cjs/Radar.js +19 -19
- package/d3-chart/lib/cjs/RadialTree.js +12 -12
- package/d3-chart/lib/cjs/Reference.js +12 -12
- package/d3-chart/lib/cjs/ScatterPlot.js +9 -9
- package/d3-chart/lib/cjs/Tooltip.js +9 -9
- package/d3-chart/lib/cjs/Venn.js +9 -9
- package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/es6/Area.js +11 -11
- package/d3-chart/lib/es6/Axis.js +14 -14
- package/d3-chart/lib/es6/Bar.js +16 -16
- package/d3-chart/lib/es6/Bubble.js +12 -12
- package/d3-chart/lib/es6/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Donut.js +9 -9
- package/d3-chart/lib/es6/Dots.js +8 -8
- package/d3-chart/lib/es6/HorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Hover.js +3 -3
- package/d3-chart/lib/es6/Line.js +9 -9
- package/d3-chart/lib/es6/Plot.js +3 -3
- package/d3-chart/lib/es6/Radar.js +19 -19
- package/d3-chart/lib/es6/RadialTree.js +12 -12
- package/d3-chart/lib/es6/Reference.js +12 -12
- package/d3-chart/lib/es6/ScatterPlot.js +9 -9
- package/d3-chart/lib/es6/Tooltip.js +9 -9
- package/d3-chart/lib/es6/Venn.js +9 -9
- package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/esm/semcore/d3-chart/src/Area.mjs +72 -72
- package/d3-chart/lib/esm/semcore/d3-chart/src/Axis.mjs +169 -169
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bar.mjs +63 -63
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bubble.mjs +104 -104
- package/d3-chart/lib/esm/semcore/d3-chart/src/CompactHorizontalBar.mjs +75 -75
- package/d3-chart/lib/esm/semcore/d3-chart/src/Donut.mjs +127 -127
- package/d3-chart/lib/esm/semcore/d3-chart/src/Dots.mjs +46 -46
- package/d3-chart/lib/esm/semcore/d3-chart/src/HorizontalBar.mjs +55 -55
- package/d3-chart/lib/esm/semcore/d3-chart/src/Hover.mjs +37 -37
- package/d3-chart/lib/esm/semcore/d3-chart/src/Line.mjs +80 -80
- package/d3-chart/lib/esm/semcore/d3-chart/src/Plot.mjs +18 -18
- package/d3-chart/lib/esm/semcore/d3-chart/src/Radar.mjs +206 -206
- package/d3-chart/lib/esm/semcore/d3-chart/src/RadialTree.mjs +102 -102
- package/d3-chart/lib/esm/semcore/d3-chart/src/Reference.mjs +95 -95
- package/d3-chart/lib/esm/semcore/d3-chart/src/ScatterPlot.mjs +32 -32
- package/d3-chart/lib/esm/semcore/d3-chart/src/Tooltip.mjs +49 -49
- package/d3-chart/lib/esm/semcore/d3-chart/src/Venn.mjs +69 -69
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yModule.mjs +31 -31
- package/d3-chart/lib/esm/semcore/d3-chart/src/a11y/PlotA11yView.mjs +39 -39
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendFlex/LegendFlex.mjs +27 -27
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.mjs +92 -92
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendTable/LegendTable.mjs +34 -34
- package/d3-chart/package.json +1 -1
- package/data-table/lib/cjs/Body.js +3 -3
- package/data-table/lib/cjs/DataTable.js +36 -36
- package/data-table/lib/es6/Body.js +3 -3
- package/data-table/lib/es6/DataTable.js +36 -36
- package/data-table/lib/esm/Body.mjs +66 -66
- package/data-table/lib/esm/DataTable.mjs +237 -237
- package/data-table/package.json +1 -1
- package/date-picker/lib/cjs/components/Calendar.js +21 -21
- package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/cjs/components/InputTrigger.js +29 -29
- package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
- package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/Calendar.js +21 -21
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/es6/components/InputTrigger.js +29 -29
- package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/esm/components/Calendar.mjs +134 -134
- package/date-picker/lib/esm/components/DateRangeComparatorAbstract.mjs +114 -114
- package/date-picker/lib/esm/components/InputTrigger.mjs +150 -150
- package/date-picker/lib/esm/components/PickerAbstract.mjs +58 -58
- package/date-picker/lib/esm/components/RangePickerAbstract.mjs +46 -46
- package/date-picker/package.json +1 -1
- package/divider/lib/cjs/Divider.js +10 -10
- package/divider/lib/es6/Divider.js +10 -10
- package/divider/lib/esm/Divider.mjs +37 -37
- package/divider/package.json +1 -1
- package/dot/lib/cjs/Dot.js +10 -10
- package/dot/lib/es6/Dot.js +10 -10
- package/dot/lib/esm/Dot.mjs +37 -37
- package/dot/package.json +1 -1
- package/drag-and-drop/lib/cjs/DragAndDrop.js +17 -17
- package/drag-and-drop/lib/es6/DragAndDrop.js +17 -17
- package/drag-and-drop/lib/esm/DragAndDrop.mjs +186 -186
- package/drag-and-drop/package.json +1 -1
- package/dropdown/lib/cjs/Dropdown.js +16 -16
- package/dropdown/lib/es6/Dropdown.js +16 -16
- package/dropdown/lib/esm/Dropdown.mjs +84 -84
- package/dropdown/package.json +1 -1
- package/dropdown-menu/lib/cjs/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/es6/DropdownMenu.js +18 -18
- package/dropdown-menu/lib/esm/DropdownMenu.mjs +138 -138
- package/dropdown-menu/package.json +1 -1
- package/ellipsis/lib/cjs/Ellipsis.js +10 -10
- package/ellipsis/lib/es6/Ellipsis.js +10 -10
- package/ellipsis/lib/esm/Ellipsis.mjs +73 -73
- package/ellipsis/package.json +1 -1
- package/errors/lib/cjs/Error.js +9 -9
- package/errors/lib/es6/Error.js +9 -9
- package/errors/lib/esm/Error.mjs +29 -29
- package/errors/package.json +1 -1
- package/feature-popover/lib/cjs/FeaturePopover.js +11 -11
- package/feature-popover/lib/es6/FeaturePopover.js +11 -11
- package/feature-popover/lib/esm/FeaturePopover.mjs +58 -58
- package/feature-popover/package.json +1 -1
- package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
- package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +10 -4
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js.map +1 -1
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +18 -14
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js.map +1 -1
- package/feedback-form/lib/cjs/style/slider-rating.shadow.css +1 -3
- package/feedback-form/lib/es6/FeedbackForm.js +7 -7
- package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +10 -4
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js.map +1 -1
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +18 -14
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js.map +1 -1
- package/feedback-form/lib/es6/style/slider-rating.shadow.css +1 -3
- package/feedback-form/lib/esm/FeedbackForm.mjs +39 -39
- package/feedback-form/lib/esm/component/checkbox-button/CheckboxButton.mjs +13 -13
- package/feedback-form/lib/esm/component/feedback-rating/FeedbackRating.mjs +85 -81
- package/feedback-form/lib/esm/component/slider-rating/SliderRating.mjs +83 -79
- package/feedback-form/package.json +1 -1
- package/flags/lib/cjs/Flags.js +3 -3
- package/flags/lib/es6/Flags.js +3 -3
- package/flags/lib/sprites/sprite@1x.css +256 -256
- package/flags/lib/sprites/sprite@2x.css +257 -257
- package/flags/package.json +1 -1
- package/flex-box/lib/cjs/Box/useBox.js +3 -3
- package/flex-box/lib/cjs/Flex/useFlex.js +3 -3
- package/flex-box/lib/cjs/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/cjs/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
- package/flex-box/lib/es6/Box/useBox.js +3 -3
- package/flex-box/lib/es6/Flex/useFlex.js +3 -3
- package/flex-box/lib/es6/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/es6/screen-reader-only-box/ScreenReaderOnlyBox.js +2 -2
- package/flex-box/lib/esm/Box/useBox.mjs +50 -50
- package/flex-box/lib/esm/Flex/useFlex.mjs +15 -15
- package/flex-box/lib/esm/invalid-state-box/InvalidStateBox.mjs +8 -8
- package/flex-box/lib/esm/screen-reader-only-box/ScreenReaderOnlyBox.mjs +10 -10
- package/flex-box/package.json +1 -1
- package/format-text/lib/cjs/FormatText.js +5 -5
- package/format-text/lib/es6/FormatText.js +5 -5
- package/format-text/package.json +1 -1
- package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/esm/FullscreenModal.mjs +73 -73
- package/fullscreen-modal/package.json +1 -1
- package/grid/lib/cjs/Grid.js +114 -114
- package/grid/lib/es6/Grid.js +114 -114
- package/grid/lib/esm/Grid.mjs +160 -160
- package/grid/package.json +1 -1
- package/i18n-unplugin/package.json +1 -1
- package/icon/color/Confluence/l/index.js +4 -4
- package/icon/color/Confluence/l/index.mjs +4 -4
- package/icon/color/Confluence/m/index.js +4 -4
- package/icon/color/Confluence/m/index.mjs +4 -4
- package/icon/color/MetaColored/l/index.js +4 -4
- package/icon/color/MetaColored/l/index.mjs +4 -4
- package/icon/color/MetaColored/m/index.js +4 -4
- package/icon/color/MetaColored/m/index.mjs +4 -4
- package/icon/color/MicrosoftOffice/l/index.js +10 -10
- package/icon/color/MicrosoftOffice/l/index.mjs +10 -10
- package/icon/color/MicrosoftOffice/m/index.js +10 -10
- package/icon/color/MicrosoftOffice/m/index.mjs +10 -10
- package/icon/lib/cjs/Icon.js +5 -5
- package/icon/lib/es6/Icon.js +5 -5
- package/icon/lib/esm/Icon.mjs +32 -32
- package/icon/package.json +1 -1
- package/icon/pay/Discover/l/index.js +1 -1
- package/icon/pay/Discover/l/index.mjs +1 -1
- package/icon/pay/Discover/m/index.js +1 -1
- package/icon/pay/Discover/m/index.mjs +1 -1
- package/icon/pay/JCB/l/index.js +10 -10
- package/icon/pay/JCB/l/index.mjs +10 -10
- package/icon/pay/JCB/m/index.js +10 -10
- package/icon/pay/JCB/m/index.mjs +10 -10
- package/icon/pay/Visa/l/index.js +2 -2
- package/icon/pay/Visa/l/index.mjs +2 -2
- package/icon/pay/Visa/m/index.js +2 -2
- package/icon/pay/Visa/m/index.mjs +2 -2
- package/illustration/lib/cjs/index.js +1 -1
- package/illustration/lib/es6/index.js +1 -1
- package/illustration/package.json +1 -1
- package/inline-edit/lib/cjs/InlineEdit.js +4 -4
- package/inline-edit/lib/es6/InlineEdit.js +4 -4
- package/inline-edit/lib/esm/InlineEdit.mjs +38 -38
- package/inline-edit/package.json +1 -1
- package/inline-input/lib/cjs/InlineInput.js +14 -14
- package/inline-input/lib/es6/InlineInput.js +14 -14
- package/inline-input/lib/esm/InlineInput.mjs +125 -125
- package/inline-input/package.json +1 -1
- package/input/lib/cjs/Input.js +17 -17
- package/input/lib/es6/Input.js +17 -17
- package/input/lib/esm/Input.mjs +91 -91
- package/input/package.json +1 -1
- package/input-mask/lib/cjs/InputMask.js +6 -6
- package/input-mask/lib/es6/InputMask.js +6 -6
- package/input-mask/lib/esm/InputMask.mjs +70 -70
- package/input-mask/package.json +1 -1
- package/input-number/lib/cjs/InputNumber.js +9 -9
- package/input-number/lib/es6/InputNumber.js +9 -9
- package/input-number/lib/esm/InputNumber.mjs +126 -126
- package/input-number/package.json +1 -1
- package/input-tags/lib/cjs/InputTags.js +12 -12
- package/input-tags/lib/es6/InputTags.js +12 -12
- package/input-tags/lib/esm/InputTags.mjs +112 -112
- package/input-tags/package.json +1 -1
- package/link/lib/cjs/Link.js +12 -12
- package/link/lib/es6/Link.js +12 -12
- package/link/lib/esm/Link.mjs +54 -54
- package/link/package.json +1 -1
- package/mini-chart/lib/cjs/component/score/Donut.js +9 -9
- package/mini-chart/lib/cjs/component/score/Line.js +18 -18
- package/mini-chart/lib/cjs/component/trend/Bar.js +7 -7
- package/mini-chart/lib/cjs/component/trend/Line.js +7 -7
- package/mini-chart/lib/es6/component/score/Donut.js +9 -9
- package/mini-chart/lib/es6/component/score/Line.js +18 -18
- package/mini-chart/lib/es6/component/trend/Bar.js +7 -7
- package/mini-chart/lib/es6/component/trend/Line.js +7 -7
- package/mini-chart/lib/esm/component/score/Donut.mjs +38 -38
- package/mini-chart/lib/esm/component/score/Line.mjs +47 -47
- package/mini-chart/lib/esm/component/trend/Bar.mjs +31 -31
- package/mini-chart/lib/esm/component/trend/Line.mjs +32 -32
- package/mini-chart/package.json +1 -1
- package/modal/lib/cjs/Modal.js +8 -8
- package/modal/lib/es6/Modal.js +8 -8
- package/modal/lib/esm/Modal.mjs +111 -111
- package/modal/package.json +1 -1
- package/neighbor-location/package.json +1 -1
- package/notice/lib/cjs/Notice.js +16 -16
- package/notice/lib/es6/Notice.js +16 -16
- package/notice/lib/esm/Notice.mjs +70 -70
- package/notice/package.json +1 -1
- package/notice-bubble/lib/cjs/NoticeBubble.js +15 -15
- package/notice-bubble/lib/es6/NoticeBubble.js +15 -15
- package/notice-bubble/lib/esm/NoticeBubble.mjs +115 -115
- package/notice-bubble/package.json +1 -1
- package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
- package/notice-global/lib/es6/NoticeGlobal.js +11 -11
- package/notice-global/lib/esm/NoticeGlobal.mjs +51 -51
- package/notice-global/package.json +1 -1
- package/outside-click/lib/cjs/OutsideClick.js +14 -7
- package/outside-click/lib/cjs/OutsideClick.js.map +1 -1
- package/outside-click/lib/es6/OutsideClick.js +14 -7
- package/outside-click/lib/es6/OutsideClick.js.map +1 -1
- package/outside-click/lib/esm/OutsideClick.mjs +39 -35
- package/outside-click/package.json +1 -1
- package/package.json +1 -1
- package/pagination/lib/cjs/Pagination.js +12 -12
- package/pagination/lib/es6/Pagination.js +12 -12
- package/pagination/lib/esm/Pagination.mjs +69 -69
- package/pagination/package.json +1 -1
- package/pills/lib/cjs/Pills.js +13 -13
- package/pills/lib/es6/Pills.js +13 -13
- package/pills/lib/esm/Pills.mjs +74 -74
- package/pills/package.json +1 -1
- package/popper/lib/cjs/Popper.js +6 -6
- package/popper/lib/es6/Popper.js +6 -6
- package/popper/lib/esm/Popper.mjs +66 -66
- package/popper/package.json +1 -1
- package/portal/package.json +1 -1
- package/product-head/lib/cjs/Info.js +4 -4
- package/product-head/lib/cjs/ProductHead.js +5 -5
- package/product-head/lib/cjs/Title.js +4 -4
- package/product-head/lib/es6/Info.js +4 -4
- package/product-head/lib/es6/ProductHead.js +5 -5
- package/product-head/lib/es6/Title.js +4 -4
- package/product-head/lib/esm/Info.mjs +26 -26
- package/product-head/lib/esm/ProductHead.mjs +37 -37
- package/product-head/lib/esm/Title.mjs +17 -17
- package/product-head/package.json +1 -1
- package/progress-bar/lib/cjs/ProgressBar.js +15 -15
- package/progress-bar/lib/es6/ProgressBar.js +15 -15
- package/progress-bar/lib/esm/ProgressBar.mjs +60 -60
- package/progress-bar/package.json +1 -1
- package/radio/lib/cjs/Radio.js +16 -16
- package/radio/lib/es6/Radio.js +16 -16
- package/radio/lib/esm/Radio.mjs +113 -113
- package/radio/package.json +1 -1
- package/scroll-area/lib/cjs/ScrollArea.js +21 -21
- package/scroll-area/lib/cjs/ScrollBar.js +6 -6
- package/scroll-area/lib/es6/ScrollArea.js +21 -21
- package/scroll-area/lib/es6/ScrollBar.js +6 -6
- package/scroll-area/lib/esm/ScrollArea.mjs +98 -98
- package/scroll-area/lib/esm/ScrollBar.mjs +40 -40
- package/scroll-area/package.json +1 -1
- package/select/lib/cjs/InputSearch.js +15 -19
- package/select/lib/cjs/InputSearch.js.map +1 -1
- package/select/lib/cjs/Select.js +8 -8
- package/select/lib/es6/InputSearch.js +15 -19
- package/select/lib/es6/InputSearch.js.map +1 -1
- package/select/lib/es6/Select.js +8 -8
- package/select/lib/esm/InputSearch.mjs +63 -65
- package/select/lib/esm/Select.mjs +122 -122
- package/select/package.json +1 -1
- package/side-panel/lib/cjs/SidePanel.js +16 -16
- package/side-panel/lib/es6/SidePanel.js +16 -16
- package/side-panel/lib/esm/SidePanel.mjs +72 -72
- package/side-panel/package.json +1 -1
- package/skeleton/lib/cjs/Charts/Area.js +9 -9
- package/skeleton/lib/cjs/Charts/Bar.js +9 -9
- package/skeleton/lib/cjs/Charts/Bubble.js +9 -9
- package/skeleton/lib/cjs/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/cjs/Charts/Donut.js +9 -9
- package/skeleton/lib/cjs/Charts/Histogram.js +9 -9
- package/skeleton/lib/cjs/Charts/Line.js +9 -9
- package/skeleton/lib/cjs/Charts/RadialTree.js +9 -9
- package/skeleton/lib/cjs/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/cjs/Charts/Venn.js +9 -9
- package/skeleton/lib/cjs/Skeleton.js +8 -8
- package/skeleton/lib/es6/Charts/Area.js +9 -9
- package/skeleton/lib/es6/Charts/Bar.js +9 -9
- package/skeleton/lib/es6/Charts/Bubble.js +9 -9
- package/skeleton/lib/es6/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/es6/Charts/Donut.js +9 -9
- package/skeleton/lib/es6/Charts/Histogram.js +9 -9
- package/skeleton/lib/es6/Charts/Line.js +9 -9
- package/skeleton/lib/es6/Charts/RadialTree.js +9 -9
- package/skeleton/lib/es6/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/es6/Charts/Venn.js +9 -9
- package/skeleton/lib/es6/Skeleton.js +8 -8
- package/skeleton/lib/esm/Charts/Area.mjs +27 -27
- package/skeleton/lib/esm/Charts/Bar.mjs +23 -23
- package/skeleton/lib/esm/Charts/Bubble.mjs +24 -24
- package/skeleton/lib/esm/Charts/CompactHorizontalBar.mjs +22 -22
- package/skeleton/lib/esm/Charts/Donut.mjs +24 -24
- package/skeleton/lib/esm/Charts/Histogram.mjs +22 -22
- package/skeleton/lib/esm/Charts/Line.mjs +25 -25
- package/skeleton/lib/esm/Charts/RadialTree.mjs +10 -10
- package/skeleton/lib/esm/Charts/ScatterPlot.mjs +19 -19
- package/skeleton/lib/esm/Charts/Venn.mjs +24 -24
- package/skeleton/lib/esm/Skeleton.mjs +44 -44
- package/skeleton/package.json +1 -1
- package/slider/lib/cjs/Slider.js +8 -8
- package/slider/lib/es6/Slider.js +8 -8
- package/slider/lib/esm/Slider.mjs +78 -78
- package/slider/package.json +1 -1
- package/spin/lib/cjs/Spin.js +13 -13
- package/spin/lib/es6/Spin.js +13 -13
- package/spin/lib/esm/Spin.mjs +41 -41
- package/spin/package.json +1 -1
- package/spin-container/lib/cjs/SpinContainer.js +8 -8
- package/spin-container/lib/es6/SpinContainer.js +8 -8
- package/spin-container/lib/esm/SpinContainer.mjs +43 -43
- package/spin-container/package.json +1 -1
- package/sticky/lib/cjs/Sticky.js +2 -2
- package/sticky/lib/es6/Sticky.js +2 -2
- package/sticky/lib/esm/Sticky.mjs +18 -18
- package/sticky/package.json +1 -1
- package/switch/lib/cjs/Switch.js +21 -21
- package/switch/lib/es6/Switch.js +21 -21
- package/switch/lib/esm/Switch.mjs +104 -104
- package/switch/package.json +1 -1
- package/tab-line/lib/cjs/TabLine.js +13 -13
- package/tab-line/lib/es6/TabLine.js +13 -13
- package/tab-line/lib/esm/TabLine.mjs +76 -76
- package/tab-line/package.json +1 -1
- package/tab-panel/lib/cjs/TabPanel.js +8 -8
- package/tab-panel/lib/es6/TabPanel.js +8 -8
- package/tab-panel/lib/esm/TabPanel.mjs +39 -39
- package/tab-panel/package.json +1 -1
- package/tag/lib/cjs/Tag.js +23 -23
- package/tag/lib/es6/Tag.js +23 -23
- package/tag/lib/esm/Tag.mjs +114 -114
- package/tag/package.json +1 -1
- package/textarea/lib/cjs/Textarea.js +8 -8
- package/textarea/lib/es6/Textarea.js +8 -8
- package/textarea/lib/esm/Textarea.mjs +49 -49
- package/textarea/package.json +1 -1
- package/time-picker/lib/cjs/TimePicker.js +12 -12
- package/time-picker/lib/es6/TimePicker.js +12 -12
- package/time-picker/lib/esm/TimePicker.mjs +38 -38
- package/time-picker/package.json +1 -1
- package/tooltip/lib/cjs/Tooltip.js +9 -9
- package/tooltip/lib/es6/Tooltip.js +9 -9
- package/tooltip/lib/esm/Tooltip.mjs +111 -111
- package/tooltip/package.json +1 -1
- package/typography/lib/cjs/Blockquote.js +4 -4
- package/typography/lib/cjs/Hint.js +7 -7
- package/typography/lib/cjs/List.js +5 -5
- package/typography/lib/cjs/Text.js +34 -34
- package/typography/lib/es6/Blockquote.js +4 -4
- package/typography/lib/es6/Hint.js +7 -7
- package/typography/lib/es6/List.js +5 -5
- package/typography/lib/es6/Text.js +34 -34
- package/typography/lib/esm/Blockquote.mjs +15 -15
- package/typography/lib/esm/Hint.mjs +41 -41
- package/typography/lib/esm/List.mjs +48 -48
- package/typography/lib/esm/Text.mjs +53 -53
- package/typography/package.json +1 -1
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js +2 -2
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs +2 -2
- package/utils/lib/injectStyle.js +1 -1
- package/utils/lib/injectStyle.mjs +1 -1
- package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
- package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
- package/widget-empty/lib/esm/WidgetEmpty.mjs +33 -33
- package/widget-empty/package.json +1 -1
- package/wizard/lib/cjs/Wizard.js +12 -12
- package/wizard/lib/es6/Wizard.js +12 -12
- package/wizard/lib/esm/Wizard.mjs +85 -85
- package/wizard/package.json +1 -1
package/input/lib/esm/Input.mjs
CHANGED
@@ -1,97 +1,97 @@
|
|
1
1
|
import S from "@babel/runtime/helpers/esm/objectSpread2";
|
2
|
-
import
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import { sstyled as
|
9
|
-
import
|
2
|
+
import w from "@babel/runtime/helpers/esm/classCallCheck";
|
3
|
+
import P from "@babel/runtime/helpers/esm/createClass";
|
4
|
+
import y from "@babel/runtime/helpers/esm/assertThisInitialized";
|
5
|
+
import O from "@babel/runtime/helpers/esm/inherits";
|
6
|
+
import A from "@babel/runtime/helpers/esm/createSuper";
|
7
|
+
import l from "@babel/runtime/helpers/esm/defineProperty";
|
8
|
+
import { sstyled as E } from 'intergalactic/utils/lib/core/index';
|
9
|
+
import C, { sstyled as x, assignProps as I, Component as k } from 'intergalactic/core';
|
10
10
|
import o from "react";
|
11
|
-
import { InvalidStateBox as
|
12
|
-
import
|
13
|
-
import
|
14
|
-
import
|
15
|
-
var
|
11
|
+
import { InvalidStateBox as D, Box as L } from 'intergalactic/flex-box';
|
12
|
+
import f from 'intergalactic/neighbor-location';
|
13
|
+
import B from 'intergalactic/utils/lib/enhances/autoFocusEnhance';
|
14
|
+
import F from 'intergalactic/utils/lib/enhances/keyboardFocusEnhance';
|
15
|
+
var R = (
|
16
16
|
/*__reshadow_css_start__*/
|
17
|
-
(
|
17
|
+
(E.insert(
|
18
18
|
/*__inner_css_start__*/
|
19
|
-
".
|
20
|
-
"
|
19
|
+
".___SInput_1azly_gg_{display:inline-flex;width:100%;align-items:center;position:relative;z-index:0;vertical-align:middle;padding:1px;box-sizing:border-box}.___SInput_1azly_gg_ input:-webkit-autofill{border-radius:var(--intergalactic-control-rounded, 6px);-webkit-box-shadow:0 0 0 30px #faffbd inset}.___SInput_1azly_gg_ input:-webkit-autofill~.___SOutline_1azly_gg_{background-color:#faffbd}.___SValue_1azly_gg_{min-width:0;width:100%;height:100%;padding:0;border:0;box-sizing:border-box;color:var(--intergalactic-text-primary, #191b23);font-size:inherit;text-overflow:ellipsis;font-family:inherit;background:0 0}.___SValue_1azly_gg_:focus{outline:0}.___SValue_1azly_gg_::-moz-placeholder{color:var(--intergalactic-text-placeholder, #8a8e9b)}.___SValue_1azly_gg_::placeholder{color:var(--intergalactic-text-placeholder, #8a8e9b)}.___SValue_1azly_gg_:not(:disabled):-moz-read-only~.___SOutline_1azly_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SValue_1azly_gg_:not(:disabled):read-only~.___SOutline_1azly_gg_{background:var(--intergalactic-bg-secondary-neutral, #f4f5f9)}.___SValue_1azly_gg_:disabled{-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:var(--intergalactic-disabled-opacity, 0.3)}.___SInput_1azly_gg_.__disabled_1azly_gg_ .___SOutline_1azly_gg_,.___SValue_1azly_gg_:disabled~.___SOutline_1azly_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SOutline_1azly_gg_{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid;border-radius:var(--intergalactic-control-rounded, 6px);z-index:-1;background:var(--intergalactic-bg-primary-neutral, #ffffff)}.___SAddon_1azly_gg_{display:inline-flex;justify-content:center;align-items:center;flex:0 0 auto;padding:0 var(--intergalactic-spacing-2x, 8px);height:100%;color:var(--intergalactic-icon-secondary-neutral, #a9abb6)}.___SAddon_1azly_gg_.__interactive_1azly_gg_{cursor:pointer}@media (hover:hover){.___SAddon_1azly_gg_.__interactive_1azly_gg_:hover{color:var(--intergalactic-icon-secondary-neutral-hover-active, #878992)}}.___SAddon_1azly_gg_.__disabled_1azly_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SAddon_1azly_gg_._size_m_1azly_gg_:not(.___SButton_1azly_gg_){padding:0 var(--intergalactic-spacing-2x, 8px)}.___SAddon_1azly_gg_._size_l_1azly_gg_:not(.___SButton_1azly_gg_){padding:0 var(--intergalactic-spacing-2x, 8px)0 var(--intergalactic-spacing-3x, 12px)}.___SInput_1azly_gg_ .___SAddon_1azly_gg_:nth-last-child(2){margin-right:-1px}.___SValue_1azly_gg_._size_m_1azly_gg_{padding:0 var(--intergalactic-spacing-2x, 8px)}.___SValue_1azly_gg_._size_l_1azly_gg_{padding:0 var(--intergalactic-spacing-3x, 12px)}.___SInput_1azly_gg_._size_m_1azly_gg_{font-size:var(--intergalactic-fs-200, 14px);height:var(--intergalactic-form-control-m, 28px)}.___SInput_1azly_gg_._size_l_1azly_gg_{font-size:var(--intergalactic-fs-300, 16px);height:var(--intergalactic-form-control-l, 40px)}.___SInput_1azly_gg_.__focused_1azly_gg_{z-index:1}.___SInput_1azly_gg_._state_normal_1azly_gg_ .___SOutline_1azly_gg_{border-color:var(--intergalactic-border-primary, #c4c7cf)}.___SInput_1azly_gg_._state_normal_1azly_gg_.__focused_1azly_gg_ .___SOutline_1azly_gg_{border-color:var(--intergalactic-border-info-active, #006dca);box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SInput_1azly_gg_._state_valid_1azly_gg_ .___SOutline_1azly_gg_{border-color:var(--intergalactic-border-success-active, #007c65)}.___SInput_1azly_gg_._state_valid_1azly_gg_.__focused_1azly_gg_ .___SOutline_1azly_gg_{border-color:var(--intergalactic-border-success-active, #007c65);box-shadow:var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px rgba(0, 159, 129, 0.5))}.___SInput_1azly_gg_._state_invalid_1azly_gg_ .___SOutline_1azly_gg_{border-color:var(--intergalactic-border-critical-active, #d1002f)}.___SInput_1azly_gg_._state_invalid_1azly_gg_.__focused_1azly_gg_ .___SOutline_1azly_gg_{border-color:var(--intergalactic-border-critical-active, #d1002f);box-shadow:var(--intergalactic-keyboard-focus-invalid, 0px 0px 0px 3px rgba(255, 73, 83, 0.5))}.___SInput_1azly_gg_._neighborLocation_right_1azly_gg_ .___SOutline_1azly_gg_{border-top-right-radius:0;border-bottom-right-radius:0}.___SInput_1azly_gg_._neighborLocation_both_1azly_gg_ .___SOutline_1azly_gg_{border-radius:0;border-left:none}.___SInput_1azly_gg_._neighborLocation_left_1azly_gg_ .___SOutline_1azly_gg_{border-top-left-radius:0;border-bottom-left-radius:0;border-left:none}.___SValue_1azly_gg_._neighborLocation_right_1azly_gg_{padding-right:0}.___SValue_1azly_gg_._neighborLocation_both_1azly_gg_{padding-left:0;padding-right:0}.___SValue_1azly_gg_._neighborLocation_left_1azly_gg_{padding-left:0}",
|
20
|
+
"1azly_gg_"
|
21
21
|
), {
|
22
|
-
__SInput: "
|
23
|
-
_disabled: "
|
24
|
-
__SOutline: "
|
25
|
-
__SValue: "
|
26
|
-
__SAddon: "
|
27
|
-
_size_m: "
|
28
|
-
__SButton: "
|
29
|
-
_size_l: "
|
30
|
-
_focused: "
|
31
|
-
_neighborLocation_right: "
|
32
|
-
_neighborLocation_both: "
|
33
|
-
_neighborLocation_left: "
|
34
|
-
_interactive: "
|
35
|
-
_state_normal: "
|
36
|
-
_state_valid: "
|
37
|
-
_state_invalid: "
|
22
|
+
__SInput: "___SInput_1azly_gg_",
|
23
|
+
_disabled: "__disabled_1azly_gg_",
|
24
|
+
__SOutline: "___SOutline_1azly_gg_",
|
25
|
+
__SValue: "___SValue_1azly_gg_",
|
26
|
+
__SAddon: "___SAddon_1azly_gg_",
|
27
|
+
_size_m: "_size_m_1azly_gg_",
|
28
|
+
__SButton: "___SButton_1azly_gg_",
|
29
|
+
_size_l: "_size_l_1azly_gg_",
|
30
|
+
_focused: "__focused_1azly_gg_",
|
31
|
+
_neighborLocation_right: "_neighborLocation_right_1azly_gg_",
|
32
|
+
_neighborLocation_both: "_neighborLocation_both_1azly_gg_",
|
33
|
+
_neighborLocation_left: "_neighborLocation_left_1azly_gg_",
|
34
|
+
_interactive: "__interactive_1azly_gg_",
|
35
|
+
_state_normal: "_state_normal_1azly_gg_",
|
36
|
+
_state_valid: "_state_valid_1azly_gg_",
|
37
|
+
_state_invalid: "_state_invalid_1azly_gg_"
|
38
38
|
})
|
39
|
-
),
|
40
|
-
|
41
|
-
var c =
|
39
|
+
), z = /* @__PURE__ */ function(g) {
|
40
|
+
O(n, g);
|
41
|
+
var c = A(n);
|
42
42
|
function n() {
|
43
|
-
var
|
44
|
-
|
45
|
-
for (var _ = arguments.length, i = new Array(_),
|
46
|
-
i[
|
47
|
-
return
|
43
|
+
var a;
|
44
|
+
w(this, n);
|
45
|
+
for (var _ = arguments.length, i = new Array(_), t = 0; t < _; t++)
|
46
|
+
i[t] = arguments[t];
|
47
|
+
return a = c.call.apply(c, [this].concat(i)), l(y(a), "state", {
|
48
48
|
focused: !1
|
49
|
-
}),
|
50
|
-
var
|
51
|
-
r.preventDefault(), (
|
52
|
-
}),
|
49
|
+
}), l(y(a), "inputRef", /* @__PURE__ */ o.createRef()), l(y(a), "handleMouseDownAddon", function(r) {
|
50
|
+
var e;
|
51
|
+
r.preventDefault(), (e = a.inputRef.current) === null || e === void 0 || e.focus();
|
52
|
+
}), l(y(a), "handleKeyDown", function(r) {
|
53
53
|
r.key === "Enter" && setTimeout(function() {
|
54
54
|
if (document.activeElement === document.body) {
|
55
|
-
var
|
56
|
-
(
|
55
|
+
var e;
|
56
|
+
(e = a.inputRef.current) === null || e === void 0 || e.focus();
|
57
57
|
}
|
58
58
|
}, 10);
|
59
|
-
}),
|
59
|
+
}), l(y(a), "bindHandleValueFocused", function(r) {
|
60
60
|
return function() {
|
61
|
-
return
|
61
|
+
return a.setState({
|
62
62
|
focused: r
|
63
63
|
});
|
64
64
|
};
|
65
|
-
}),
|
65
|
+
}), a;
|
66
66
|
}
|
67
|
-
return
|
67
|
+
return P(n, [{
|
68
68
|
key: "getAddonProps",
|
69
69
|
value: function() {
|
70
|
-
var _ = this.asProps, i = _.disabled,
|
70
|
+
var _ = this.asProps, i = _.disabled, t = _.size;
|
71
71
|
return {
|
72
72
|
disabled: i,
|
73
73
|
onMouseDown: this.handleMouseDownAddon,
|
74
|
-
size:
|
74
|
+
size: t
|
75
75
|
};
|
76
76
|
}
|
77
77
|
}, {
|
78
78
|
key: "getValueProps",
|
79
79
|
value: function() {
|
80
|
-
var _ = this.asProps, i = _.size,
|
80
|
+
var _ = this.asProps, i = _.size, t = _.disabled, r = _.state, e = _.role, u = _.placeholder, p = _["aria-haspopup"], d = _["aria-controls"], b = _["aria-expanded"], h = _["aria-autocomplete"], v = _["aria-owns"], m = _["aria-activedescendant"];
|
81
81
|
return {
|
82
82
|
ref: this.inputRef,
|
83
83
|
size: i,
|
84
|
-
disabled:
|
84
|
+
disabled: t,
|
85
85
|
state: r,
|
86
86
|
onFocus: this.bindHandleValueFocused(!0),
|
87
87
|
onBlur: this.bindHandleValueFocused(!1),
|
88
|
-
role:
|
88
|
+
role: e,
|
89
89
|
placeholder: u,
|
90
90
|
"aria-haspopup": p,
|
91
91
|
"aria-controls": d,
|
92
|
-
"aria-expanded":
|
93
|
-
"aria-autocomplete":
|
94
|
-
"aria-owns":
|
92
|
+
"aria-expanded": b,
|
93
|
+
"aria-autocomplete": h,
|
94
|
+
"aria-owns": v,
|
95
95
|
"aria-activedescendant": m
|
96
96
|
};
|
97
97
|
}
|
@@ -105,36 +105,36 @@ var F = (
|
|
105
105
|
}, {
|
106
106
|
key: "render",
|
107
107
|
value: function() {
|
108
|
-
var _ = this.asProps, i = this,
|
109
|
-
return /* @__PURE__ */ o.createElement(
|
108
|
+
var _ = this.asProps, i = this, t = L, r = "div", e = this.asProps, u = e.Children, p = e.styles, d = e.neighborLocation, b = e.controlsLength, h = e.state, v = this.state.focused;
|
109
|
+
return /* @__PURE__ */ o.createElement(f.Detect, {
|
110
110
|
neighborLocation: d
|
111
111
|
}, function(m) {
|
112
112
|
var s;
|
113
|
-
return s = x(p), /* @__PURE__ */ o.createElement(
|
114
|
-
focused:
|
113
|
+
return s = x(p), /* @__PURE__ */ o.createElement(t, s.cn("SInput", S({}, I({
|
114
|
+
focused: v,
|
115
115
|
onKeyDown: i.handleKeyDown,
|
116
116
|
neighborLocation: m,
|
117
117
|
__excludeProps: ["role", "aria-haspopup", "aria-controls", "aria-expanded", "placeholder", "aria-autocomplete", "aria-owns", "aria-activedescendant", "tabIndex"]
|
118
|
-
}, _))), /* @__PURE__ */ o.createElement(
|
119
|
-
controlsLength:
|
120
|
-
}), /* @__PURE__ */ o.createElement(u, s.cn("Children", {}))), /* @__PURE__ */ o.createElement(r, s.cn("SOutline", {}),
|
118
|
+
}, _))), /* @__PURE__ */ o.createElement(f, s.cn("NeighborLocation", {
|
119
|
+
controlsLength: b
|
120
|
+
}), /* @__PURE__ */ o.createElement(u, s.cn("Children", {}))), /* @__PURE__ */ o.createElement(r, s.cn("SOutline", {}), h === "invalid" && /* @__PURE__ */ o.createElement(D, s.cn("InvalidStateBox", {}))));
|
121
121
|
});
|
122
122
|
}
|
123
123
|
}]), n;
|
124
|
-
}(
|
125
|
-
|
126
|
-
|
124
|
+
}(k);
|
125
|
+
l(z, "displayName", "Input");
|
126
|
+
l(z, "defaultProps", {
|
127
127
|
size: "m",
|
128
128
|
state: "normal"
|
129
129
|
});
|
130
|
-
|
131
|
-
var
|
132
|
-
|
133
|
-
var c =
|
130
|
+
l(z, "style", R);
|
131
|
+
var V = /* @__PURE__ */ function(g) {
|
132
|
+
O(n, g);
|
133
|
+
var c = A(n);
|
134
134
|
function n() {
|
135
|
-
return
|
135
|
+
return w(this, n), c.apply(this, arguments);
|
136
136
|
}
|
137
|
-
return
|
137
|
+
return P(n, [{
|
138
138
|
key: "uncontrolledProps",
|
139
139
|
value: function() {
|
140
140
|
return {
|
@@ -146,12 +146,12 @@ var z = /* @__PURE__ */ function(l) {
|
|
146
146
|
}, {
|
147
147
|
key: "render",
|
148
148
|
value: function() {
|
149
|
-
var _ = this.asProps, i =
|
150
|
-
return /* @__PURE__ */ o.createElement(
|
151
|
-
neighborLocation:
|
149
|
+
var _ = this.asProps, i = L, t = this.asProps, r = t.styles, e = t.neighborLocation, u = t.state;
|
150
|
+
return /* @__PURE__ */ o.createElement(f.Detect, {
|
151
|
+
neighborLocation: e
|
152
152
|
}, function(p) {
|
153
153
|
var d;
|
154
|
-
return d = x(r), /* @__PURE__ */ o.createElement(i, d.cn("SValue", S({},
|
154
|
+
return d = x(r), /* @__PURE__ */ o.createElement(i, d.cn("SValue", S({}, I({
|
155
155
|
neighborLocation: p,
|
156
156
|
tag: "input",
|
157
157
|
type: "text",
|
@@ -160,25 +160,25 @@ var z = /* @__PURE__ */ function(l) {
|
|
160
160
|
});
|
161
161
|
}
|
162
162
|
}]), n;
|
163
|
-
}(
|
164
|
-
|
163
|
+
}(k);
|
164
|
+
l(V, "defaultProps", {
|
165
165
|
defaultValue: ""
|
166
166
|
});
|
167
|
-
|
168
|
-
function
|
169
|
-
var c = arguments[0], n =
|
170
|
-
return /* @__PURE__ */ o.createElement(
|
167
|
+
l(V, "enhance", [F(), B()]);
|
168
|
+
function H(g) {
|
169
|
+
var c = arguments[0], n = L, a = g.Children, _ = g.styles, i = g.neighborLocation;
|
170
|
+
return /* @__PURE__ */ o.createElement(f.Detect, {
|
171
171
|
neighborLocation: i
|
172
|
-
}, function(
|
172
|
+
}, function(t) {
|
173
173
|
var r;
|
174
|
-
return r = x(_), /* @__PURE__ */ o.createElement(n, r.cn("SAddon", S({},
|
175
|
-
neighborLocation:
|
176
|
-
}, c))), /* @__PURE__ */ o.createElement(
|
174
|
+
return r = x(_), /* @__PURE__ */ o.createElement(n, r.cn("SAddon", S({}, I({
|
175
|
+
neighborLocation: t
|
176
|
+
}, c))), /* @__PURE__ */ o.createElement(a, r.cn("Children", {})));
|
177
177
|
});
|
178
178
|
}
|
179
|
-
const Z =
|
180
|
-
Addon:
|
181
|
-
Value:
|
179
|
+
const Z = C(z, {
|
180
|
+
Addon: H,
|
181
|
+
Value: V
|
182
182
|
});
|
183
183
|
export {
|
184
184
|
Z as default
|
package/input/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/input","description":"Semrush Input Component","version":"4.42.1","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js && pnpm vite build"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/esm/index.mjs","types":"./lib/types/index.d.ts"},"dependencies":{"@semcore/utils":"4.48.1","@semcore/neighbor-location":"4.40.1","@semcore/flex-box":"5.41.1"},"peerDependencies":{"@semcore/core":"^2.
|
1
|
+
{"name":"intergalactic/input","description":"Semrush Input Component","version":"4.42.2-prerelease.1","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js && pnpm vite build"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/esm/index.mjs","types":"./lib/types/index.d.ts"},"dependencies":{"@semcore/utils":"4.48.2-prerelease.1","@semcore/neighbor-location":"4.40.2-prerelease.1","@semcore/flex-box":"5.41.2-prerelease.1"},"peerDependencies":{"@semcore/core":"^2.39.2-prerelease.1","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/input"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0","@semcore/icon":"*"}}
|
@@ -31,12 +31,12 @@ var _ref5 = require("intergalactic/utils/lib/ref");
|
|
31
31
|
var _uniqueID = _interopRequireDefault(require("intergalactic/utils/lib/uniqueID"));
|
32
32
|
var _excluded = ["title", "placeholder", "mask", "neighborLocation", "value", "includeInputProps", "Children", "forwardRef", "uid", "inputW", "inputRole"];
|
33
33
|
/*__reshadow-styles__:"./style/input-mask.shadow.css"*/
|
34
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
35
|
-
"__SValue": "
|
36
|
-
"__SMask": "
|
37
|
-
"__SMaskHidden": "
|
38
|
-
"__SPlaceholder": "
|
39
|
-
"__SMaskVisible": "
|
34
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SMask_tjq4w_gg_,.___SValue_tjq4w_gg_{letter-spacing:.1em;text-overflow:inherit}.___SMask_tjq4w_gg_{line-height:1.25;position:absolute;left:.8em;pointer-events:none;white-space:nowrap;color:var(--intergalactic-text-primary, #191b23)}.___SMask_tjq4w_gg_[data-neighbor-location=both],.___SMask_tjq4w_gg_[data-neighbor-location=left]{left:0}.___SMaskHidden_tjq4w_gg_{opacity:0}.___SMaskHidden_tjq4w_gg_:before,.___SMaskVisible_tjq4w_gg_::before,.___SPlaceholder_tjq4w_gg_:before{content:attr(data-content)}.___SPlaceholder_tjq4w_gg_{color:var(--intergalactic-text-placeholder, #8a8e9b)}" /*__inner_css_end__*/, "tjq4w_gg_") /*__reshadow_css_end__*/, {
|
35
|
+
"__SValue": "___SValue_tjq4w_gg_",
|
36
|
+
"__SMask": "___SMask_tjq4w_gg_",
|
37
|
+
"__SMaskHidden": "___SMaskHidden_tjq4w_gg_",
|
38
|
+
"__SPlaceholder": "___SPlaceholder_tjq4w_gg_",
|
39
|
+
"__SMaskVisible": "___SMaskVisible_tjq4w_gg_"
|
40
40
|
});
|
41
41
|
function getAfterPositionValue(value) {
|
42
42
|
var mask = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
@@ -25,12 +25,12 @@ import { forkRef } from 'intergalactic/utils/lib/ref';
|
|
25
25
|
import { ScreenReaderOnly } from 'intergalactic/flex-box';
|
26
26
|
import uniqueIDEnhancement from 'intergalactic/utils/lib/uniqueID';
|
27
27
|
/*__reshadow-styles__:"./style/input-mask.shadow.css"*/
|
28
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
29
|
-
"__SValue": "
|
30
|
-
"__SMask": "
|
31
|
-
"__SMaskHidden": "
|
32
|
-
"__SPlaceholder": "
|
33
|
-
"__SMaskVisible": "
|
28
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SMask_tjq4w_gg_,.___SValue_tjq4w_gg_{letter-spacing:.1em;text-overflow:inherit}.___SMask_tjq4w_gg_{line-height:1.25;position:absolute;left:.8em;pointer-events:none;white-space:nowrap;color:var(--intergalactic-text-primary, #191b23)}.___SMask_tjq4w_gg_[data-neighbor-location=both],.___SMask_tjq4w_gg_[data-neighbor-location=left]{left:0}.___SMaskHidden_tjq4w_gg_{opacity:0}.___SMaskHidden_tjq4w_gg_:before,.___SMaskVisible_tjq4w_gg_::before,.___SPlaceholder_tjq4w_gg_:before{content:attr(data-content)}.___SPlaceholder_tjq4w_gg_{color:var(--intergalactic-text-placeholder, #8a8e9b)}" /*__inner_css_end__*/, "tjq4w_gg_") /*__reshadow_css_end__*/, {
|
29
|
+
"__SValue": "___SValue_tjq4w_gg_",
|
30
|
+
"__SMask": "___SMask_tjq4w_gg_",
|
31
|
+
"__SMaskHidden": "___SMaskHidden_tjq4w_gg_",
|
32
|
+
"__SPlaceholder": "___SPlaceholder_tjq4w_gg_",
|
33
|
+
"__SMaskVisible": "___SMaskVisible_tjq4w_gg_"
|
34
34
|
});
|
35
35
|
export function getAfterPositionValue(value) {
|
36
36
|
var mask = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
@@ -3,16 +3,16 @@ import U from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
|
3
3
|
import Z from "@babel/runtime/helpers/esm/typeof";
|
4
4
|
import k from "@babel/runtime/helpers/esm/objectSpread2";
|
5
5
|
import f from "@babel/runtime/helpers/esm/assertThisInitialized";
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import
|
9
|
-
import
|
6
|
+
import T from "@babel/runtime/helpers/esm/classCallCheck";
|
7
|
+
import D from "@babel/runtime/helpers/esm/createClass";
|
8
|
+
import $ from "@babel/runtime/helpers/esm/inherits";
|
9
|
+
import F from "@babel/runtime/helpers/esm/createSuper";
|
10
10
|
import l from "@babel/runtime/helpers/esm/defineProperty";
|
11
11
|
import { sstyled as G } from 'intergalactic/utils/lib/core/index';
|
12
|
-
import J, { assignProps as
|
12
|
+
import J, { assignProps as H, Component as L, sstyled as K } from 'intergalactic/core';
|
13
13
|
import u from "react";
|
14
14
|
import { createTextMaskInputElement as Q } from "text-mask-core";
|
15
|
-
import
|
15
|
+
import I from 'intergalactic/input';
|
16
16
|
import X from 'intergalactic/utils/lib/fire';
|
17
17
|
import Y from 'intergalactic/utils/lib/logger';
|
18
18
|
import ee from 'intergalactic/neighbor-location';
|
@@ -24,17 +24,17 @@ var le = ["title", "placeholder", "mask", "neighborLocation", "value", "includeI
|
|
24
24
|
/*__reshadow_css_start__*/
|
25
25
|
(G.insert(
|
26
26
|
/*__inner_css_start__*/
|
27
|
-
".
|
28
|
-
"
|
27
|
+
".___SMask_tjq4w_gg_,.___SValue_tjq4w_gg_{letter-spacing:.1em;text-overflow:inherit}.___SMask_tjq4w_gg_{line-height:1.25;position:absolute;left:.8em;pointer-events:none;white-space:nowrap;color:var(--intergalactic-text-primary, #191b23)}.___SMask_tjq4w_gg_[data-neighbor-location=both],.___SMask_tjq4w_gg_[data-neighbor-location=left]{left:0}.___SMaskHidden_tjq4w_gg_{opacity:0}.___SMaskHidden_tjq4w_gg_:before,.___SMaskVisible_tjq4w_gg_::before,.___SPlaceholder_tjq4w_gg_:before{content:attr(data-content)}.___SPlaceholder_tjq4w_gg_{color:var(--intergalactic-text-placeholder, #8a8e9b)}",
|
28
|
+
"tjq4w_gg_"
|
29
29
|
), {
|
30
|
-
__SValue: "
|
31
|
-
__SMask: "
|
32
|
-
__SMaskHidden: "
|
33
|
-
__SPlaceholder: "
|
34
|
-
__SMaskVisible: "
|
30
|
+
__SValue: "___SValue_tjq4w_gg_",
|
31
|
+
__SMask: "___SMask_tjq4w_gg_",
|
32
|
+
__SMaskHidden: "___SMaskHidden_tjq4w_gg_",
|
33
|
+
__SPlaceholder: "___SPlaceholder_tjq4w_gg_",
|
34
|
+
__SMaskVisible: "___SMaskVisible_tjq4w_gg_"
|
35
35
|
})
|
36
36
|
);
|
37
|
-
function
|
37
|
+
function O(h) {
|
38
38
|
for (var P = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", p = h.length, e = function(a, r) {
|
39
39
|
return r !== void 0 ? r !== a : /\w|\+|\(/.test(a);
|
40
40
|
}, n = 0, t = p - 1; t >= 0; t--)
|
@@ -44,30 +44,30 @@ function D(h) {
|
|
44
44
|
}
|
45
45
|
return n;
|
46
46
|
}
|
47
|
-
var
|
48
|
-
|
49
|
-
var P =
|
47
|
+
var j = /* @__PURE__ */ function(h) {
|
48
|
+
$(p, h);
|
49
|
+
var P = F(p);
|
50
50
|
function p() {
|
51
|
-
return
|
51
|
+
return T(this, p), P.apply(this, arguments);
|
52
52
|
}
|
53
|
-
return
|
53
|
+
return D(p, [{
|
54
54
|
key: "render",
|
55
55
|
value: function() {
|
56
56
|
var n = this.asProps;
|
57
|
-
return /* @__PURE__ */ u.createElement(
|
58
|
-
ref:
|
57
|
+
return /* @__PURE__ */ u.createElement(I, H({
|
58
|
+
ref: I
|
59
59
|
}, n));
|
60
60
|
}
|
61
61
|
}]), p;
|
62
|
-
}(
|
63
|
-
l(
|
64
|
-
l(
|
65
|
-
var
|
66
|
-
|
67
|
-
var P =
|
62
|
+
}(L);
|
63
|
+
l(j, "displayName", "InputMask");
|
64
|
+
l(j, "style", ue);
|
65
|
+
var V = /* @__PURE__ */ function(h) {
|
66
|
+
$(p, h);
|
67
|
+
var P = F(p);
|
68
68
|
function p() {
|
69
69
|
var e;
|
70
|
-
|
70
|
+
T(this, p);
|
71
71
|
for (var n = arguments.length, t = new Array(n), o = 0; o < n; o++)
|
72
72
|
t[o] = arguments[o];
|
73
73
|
return e = P.call.apply(P, [this].concat(t)), l(f(e), "inputRef", /* @__PURE__ */ u.createRef()), l(f(e), "maskRef", /* @__PURE__ */ u.createRef()), l(f(e), "textMaskCoreInstance", void 0), l(f(e), "usedMask", void 0), l(f(e), "prevConfirmedValue", void 0), l(f(e), "state", {
|
@@ -86,15 +86,15 @@ var A = /* @__PURE__ */ function(h) {
|
|
86
86
|
guide: !c,
|
87
87
|
showMask: !c,
|
88
88
|
placeholderChar: "_",
|
89
|
-
pipe: function(i,
|
90
|
-
var
|
89
|
+
pipe: function(i, E) {
|
90
|
+
var C = i, _ = null;
|
91
91
|
if (M) {
|
92
|
-
var v = M(i,
|
92
|
+
var v = M(i, E);
|
93
93
|
Z(v) === "object" && v ? (i = v.value, _ = v.indexesOfPipedChars) : i = v;
|
94
94
|
}
|
95
|
-
for (var
|
96
|
-
var
|
97
|
-
!e.asProps.maskOnlySymbols[i[g]] && /\w/.test(i[g]) && (
|
95
|
+
for (var R = 0, g = 0; g < ((w = i) === null || w === void 0 ? void 0 : w.length); g++) {
|
96
|
+
var w;
|
97
|
+
!e.asProps.maskOnlySymbols[i[g]] && /\w/.test(i[g]) && (R = g + 1);
|
98
98
|
}
|
99
99
|
if (i === !1)
|
100
100
|
return s ? (e.setState({
|
@@ -103,27 +103,27 @@ var A = /* @__PURE__ */ function(h) {
|
|
103
103
|
value: i,
|
104
104
|
indexesOfPipedChars: _
|
105
105
|
} : i) : (e.setState({
|
106
|
-
lastConformed:
|
106
|
+
lastConformed: C
|
107
107
|
}), _ !== null ? {
|
108
|
-
value:
|
108
|
+
value: C,
|
109
109
|
indexesOfPipedChars: _
|
110
|
-
} :
|
110
|
+
} : C);
|
111
111
|
s = !0;
|
112
|
-
var S = i.substring(0,
|
112
|
+
var S = i.substring(0, R), x = i.substring(R), y = S ? {
|
113
113
|
all: i,
|
114
114
|
userInput: S,
|
115
|
-
maskOnly:
|
115
|
+
maskOnly: x
|
116
116
|
} : void 0;
|
117
|
-
return e.prevConfirmedValue =
|
118
|
-
lastConformed:
|
117
|
+
return e.prevConfirmedValue = y, e.setState({
|
118
|
+
lastConformed: y
|
119
119
|
}), _ !== null ? {
|
120
120
|
value: S,
|
121
121
|
indexesOfPipedChars: _
|
122
122
|
} : S;
|
123
123
|
}
|
124
124
|
})), e.textMaskCoreInstance.update(d);
|
125
|
-
var
|
126
|
-
e.handlers.value(
|
125
|
+
var b = e.textMaskCoreInstance, q = b.state.previousConformedValue;
|
126
|
+
e.handlers.value(q);
|
127
127
|
}
|
128
128
|
}), l(f(e), "onFocus", function() {
|
129
129
|
setTimeout(function() {
|
@@ -131,7 +131,7 @@ var A = /* @__PURE__ */ function(h) {
|
|
131
131
|
}, 0);
|
132
132
|
}), l(f(e), "setSelectionRange", function() {
|
133
133
|
if (e.inputRef.current) {
|
134
|
-
var a = e.inputRef.current.value, r =
|
134
|
+
var a = e.inputRef.current.value, r = O(a);
|
135
135
|
e.inputRef.current.setSelectionRange(r, r);
|
136
136
|
}
|
137
137
|
}), l(f(e), "maskStrToRegexArray", function(a) {
|
@@ -145,7 +145,7 @@ var A = /* @__PURE__ */ function(h) {
|
|
145
145
|
a.preventDefault(), (r = e.inputRef.current) === null || r === void 0 || r.focus();
|
146
146
|
}), e;
|
147
147
|
}
|
148
|
-
return
|
148
|
+
return D(p, [{
|
149
149
|
key: "componentDidMount",
|
150
150
|
value: function() {
|
151
151
|
this.initTextMaskCore(), this.setState({
|
@@ -175,7 +175,7 @@ var A = /* @__PURE__ */ function(h) {
|
|
175
175
|
if (!o)
|
176
176
|
return t;
|
177
177
|
o.update(t);
|
178
|
-
var r = o.state, d = r.previousConformedValue, c = r.previousPlaceholder, M =
|
178
|
+
var r = o.state, d = r.previousConformedValue, c = r.previousPlaceholder, M = O(d, c);
|
179
179
|
return M === 0 && a ? "" : d;
|
180
180
|
}, function(t) {
|
181
181
|
var o = n.textMaskCoreInstance;
|
@@ -189,50 +189,50 @@ var A = /* @__PURE__ */ function(h) {
|
|
189
189
|
}, {
|
190
190
|
key: "render",
|
191
191
|
value: function() {
|
192
|
-
var n = this.asProps, t = this, o = ne, a =
|
192
|
+
var n = this.asProps, t = this, o = ne, a = I.Value, r = oe, d = "span", c = "span", M = "span", s = this.asProps, b = s.title, q = s.placeholder;
|
193
193
|
s.mask;
|
194
|
-
var
|
195
|
-
Y.warn(!
|
196
|
-
var S = te(
|
194
|
+
var W = s.neighborLocation, i = s.value, E = s.includeInputProps, C = s.Children, _ = s.forwardRef, v = s.uid, R = s.inputW, g = s.inputRole, w = U(s, le);
|
195
|
+
Y.warn(!b, "title is required for describing mask format", this.asProps["data-ui-name"] || j.displayName);
|
196
|
+
var S = te(w, E, !0), x = B(S, 2), y = x[0], N = x[1], z = se(this.inputRef, _);
|
197
197
|
return /* @__PURE__ */ u.createElement(ee.Detect, {
|
198
|
-
neighborLocation:
|
199
|
-
}, function(
|
198
|
+
neighborLocation: W
|
199
|
+
}, function(A) {
|
200
200
|
var m;
|
201
201
|
return m = K(t.asProps.styles), /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement(o, m.cn("SInputMask", k(k({
|
202
202
|
position: "relative",
|
203
203
|
flex: 1
|
204
|
-
},
|
204
|
+
}, N), {}, {
|
205
205
|
__excludeProps: ["onFocus", "onChange", "forwardRef", "ref"]
|
206
206
|
})), /* @__PURE__ */ u.createElement(r, m.cn("SMask", {
|
207
207
|
tag: "span",
|
208
208
|
"aria-hidden": "true",
|
209
|
-
"data-neighbor-location":
|
209
|
+
"data-neighbor-location": A,
|
210
210
|
ref: t.maskRef
|
211
211
|
}), t.state.lastConformed && /* @__PURE__ */ u.createElement(c, m.cn("SMaskHidden", {
|
212
212
|
"data-content": t.state.lastConformed.userInput
|
213
213
|
})), t.state.lastConformed ? /* @__PURE__ */ u.createElement(M, m.cn("SMaskVisible", {
|
214
214
|
"data-content": t.state.lastConformed.maskOnly
|
215
215
|
})) : /* @__PURE__ */ u.createElement(d, m.cn("SPlaceholder", {
|
216
|
-
"data-content":
|
217
|
-
}))), /* @__PURE__ */ u.createElement(a, m.cn("SValue", k({},
|
218
|
-
neighborLocation:
|
219
|
-
ref:
|
216
|
+
"data-content": q
|
217
|
+
}))), /* @__PURE__ */ u.createElement(a, m.cn("SValue", k({}, H(k(k({
|
218
|
+
neighborLocation: A,
|
219
|
+
ref: z,
|
220
220
|
onFocus: t.onFocus,
|
221
221
|
value: i,
|
222
|
-
w:
|
222
|
+
w: R,
|
223
223
|
wMin: t.state.maskWidth,
|
224
224
|
"aria-describedby": "hint-".concat(v)
|
225
|
-
},
|
225
|
+
}, y), {}, {
|
226
226
|
role: g,
|
227
227
|
__excludeProps: ["placeholder", "title"]
|
228
|
-
}), n)))), /* @__PURE__ */ u.createElement(
|
228
|
+
}), n)))), /* @__PURE__ */ u.createElement(C, m.cn("Children", {}))), /* @__PURE__ */ u.createElement(ae, m.cn("ScreenReaderOnly", {
|
229
229
|
id: "hint-".concat(v)
|
230
|
-
}),
|
230
|
+
}), b));
|
231
231
|
});
|
232
232
|
}
|
233
233
|
}]), p;
|
234
|
-
}(
|
235
|
-
l(
|
234
|
+
}(L);
|
235
|
+
l(V, "defaultProps", {
|
236
236
|
includeInputProps: re,
|
237
237
|
defaultValue: "",
|
238
238
|
hideMask: !1,
|
@@ -246,12 +246,12 @@ l(A, "defaultProps", {
|
|
246
246
|
_: !0
|
247
247
|
}
|
248
248
|
});
|
249
|
-
l(
|
250
|
-
const
|
251
|
-
Value:
|
252
|
-
Addon:
|
249
|
+
l(V, "enhance", [ie()]);
|
250
|
+
const Ee = J(j, {
|
251
|
+
Value: V,
|
252
|
+
Addon: I.Addon
|
253
253
|
});
|
254
254
|
export {
|
255
|
-
|
256
|
-
|
255
|
+
Ee as default,
|
256
|
+
O as getAfterPositionValue
|
257
257
|
};
|
package/input-mask/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/input-mask","description":"Semrush InputMask Component","version":"5.43.1","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder && pnpm vite build"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/esm/index.mjs","types":"./lib/types/index.d.ts"},"dependencies":{"@semcore/input":"4.42.1","@semcore/utils":"4.48.1","text-mask-core":"5.1.2","@semcore/neighbor-location":"4.40.1","@semcore/flex-box":"5.41.1"},"peerDependencies":{"@semcore/core":"^2.
|
1
|
+
{"name":"intergalactic/input-mask","description":"Semrush InputMask Component","version":"5.43.2-prerelease.1","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder && pnpm vite build"},"exports":{"require":"./lib/cjs/index.js","import":"./lib/esm/index.mjs","types":"./lib/types/index.d.ts"},"dependencies":{"@semcore/input":"4.42.2-prerelease.1","@semcore/utils":"4.48.2-prerelease.1","text-mask-core":"5.1.2","@semcore/neighbor-location":"4.40.2-prerelease.1","@semcore/flex-box":"5.41.2-prerelease.1"},"peerDependencies":{"@semcore/core":"^2.39.2-prerelease.1","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/input-mask"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|