intergalactic 15.87.0-prerelease.0 → 15.87.0-prerelease.3
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 +10 -1
- package/accordion/lib/cjs/Accordion.js +7 -7
- package/accordion/lib/es6/Accordion.js +7 -7
- 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/badge/lib/cjs/Badge.js +6 -6
- package/badge/lib/es6/Badge.js +6 -6
- 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/breadcrumbs/lib/cjs/Breadcrumbs.js +6 -6
- package/breadcrumbs/lib/es6/Breadcrumbs.js +6 -6
- package/card/lib/cjs/Card.js +8 -8
- package/card/lib/es6/Card.js +8 -8
- package/carousel/lib/cjs/Carousel.js +19 -19
- package/carousel/lib/es6/Carousel.js +19 -19
- package/checkbox/lib/cjs/Checkbox.js +18 -18
- package/checkbox/lib/es6/Checkbox.js +18 -18
- package/color-picker/lib/cjs/ColorPicker.js +23 -23
- package/color-picker/lib/cjs/PaletteManager.js +23 -23
- package/color-picker/lib/cjs/components/InputColor.js +23 -23
- package/color-picker/lib/es6/ColorPicker.js +23 -23
- package/color-picker/lib/es6/PaletteManager.js +23 -23
- package/color-picker/lib/es6/components/InputColor.js +23 -23
- package/components.json +70 -70
- package/counter/lib/cjs/Counter.js +10 -10
- package/counter/lib/es6/Counter.js +10 -10
- 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 +10 -10
- package/d3-chart/lib/cjs/Bubble.js +12 -12
- 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 +10 -10
- 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 +11 -11
- package/d3-chart/lib/cjs/ReferenceLine.js +9 -9
- 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 +10 -10
- package/d3-chart/lib/es6/Bubble.js +12 -12
- 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 +10 -10
- 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 +11 -11
- package/d3-chart/lib/es6/ReferenceLine.js +9 -9
- 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/data-table/lib/cjs/DataTable.js +37 -37
- package/data-table/lib/es6/DataTable.js +37 -37
- 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/divider/lib/cjs/Divider.js +9 -9
- package/divider/lib/es6/Divider.js +9 -9
- package/dot/lib/cjs/Dot.js +10 -10
- package/dot/lib/es6/Dot.js +10 -10
- package/drag-and-drop/lib/cjs/DragAndDrop.js +16 -16
- package/drag-and-drop/lib/es6/DragAndDrop.js +16 -16
- package/dropdown/lib/cjs/Dropdown.js +2 -2
- package/dropdown/lib/es6/Dropdown.js +2 -2
- package/dropdown-menu/lib/cjs/DropdownMenu.js +16 -16
- package/dropdown-menu/lib/cjs/styleScrollArea.js +6 -6
- package/dropdown-menu/lib/es6/DropdownMenu.js +16 -16
- package/dropdown-menu/lib/es6/styleScrollArea.js +6 -6
- package/ellipsis/lib/cjs/Ellipsis.js +10 -10
- package/ellipsis/lib/es6/Ellipsis.js +10 -10
- package/errors/lib/cjs/Error.js +9 -9
- package/errors/lib/es6/Error.js +9 -9
- package/feature-popover/lib/cjs/FeaturePopover.js +10 -10
- package/feature-popover/lib/es6/FeaturePopover.js +10 -10
- package/feedback-form/component/checkbox-button/CheckboxButton.d.ts +4 -0
- package/feedback-form/component/feedback-item/FeedbackItem.d.ts +7 -0
- package/feedback-form/component/feedback-rating/FeedbackRating.d.ts +156 -0
- package/feedback-form/component/feedback-rating/FeedbackRating.type.d.ts +55 -0
- package/feedback-form/component/slider-rating/SliderRating.d.ts +14 -0
- package/feedback-form/component/submit-button/SubmitButton.d.ts +3 -0
- package/feedback-form/index.d.ts +4 -0
- package/feedback-form/lib/cjs/FeedbackForm.js +28 -86
- package/feedback-form/lib/cjs/FeedbackForm.js.map +1 -1
- package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +58 -0
- package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js.map +1 -0
- package/feedback-form/lib/cjs/component/feedback-item/FeedbackItem.js +63 -0
- package/feedback-form/lib/cjs/component/feedback-item/FeedbackItem.js.map +1 -0
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +360 -0
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js.map +1 -0
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.type.js +2 -0
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.type.js.map +1 -0
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +172 -0
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js.map +1 -0
- package/feedback-form/lib/cjs/component/submit-button/SubmitButton.js +23 -0
- package/feedback-form/lib/cjs/component/submit-button/SubmitButton.js.map +1 -0
- package/feedback-form/lib/cjs/index.d.js +12 -0
- package/feedback-form/lib/cjs/index.d.js.map +1 -1
- package/feedback-form/lib/cjs/index.js +7 -0
- package/feedback-form/lib/cjs/index.js.map +1 -1
- package/feedback-form/lib/cjs/style/checkbox-button.shadow.css +21 -0
- package/feedback-form/lib/cjs/style/feedback-rating.shadow.css +9 -0
- package/feedback-form/lib/cjs/style/slider-rating.shadow.css +34 -0
- package/feedback-form/lib/cjs/translations/__intergalactic-dynamic-locales.js +39 -0
- package/feedback-form/lib/cjs/translations/__intergalactic-dynamic-locales.js.map +1 -0
- package/feedback-form/lib/cjs/translations/de.json +7 -0
- package/feedback-form/lib/cjs/translations/en.json +8 -0
- package/feedback-form/lib/cjs/translations/es.json +7 -0
- package/feedback-form/lib/cjs/translations/fr.json +7 -0
- package/feedback-form/lib/cjs/translations/it.json +7 -0
- package/feedback-form/lib/cjs/translations/ja.json +7 -0
- package/feedback-form/lib/cjs/translations/ko.json +7 -0
- package/feedback-form/lib/cjs/translations/nl.json +7 -0
- package/feedback-form/lib/cjs/translations/pl.json +7 -0
- package/feedback-form/lib/cjs/translations/pt.json +7 -0
- package/feedback-form/lib/cjs/translations/sv.json +7 -0
- package/feedback-form/lib/cjs/translations/tr.json +7 -0
- package/feedback-form/lib/cjs/translations/vi.json +7 -0
- package/feedback-form/lib/cjs/translations/zh.json +7 -0
- package/feedback-form/lib/es6/FeedbackForm.js +28 -88
- package/feedback-form/lib/es6/FeedbackForm.js.map +1 -1
- package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +50 -0
- package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js.map +1 -0
- package/feedback-form/lib/es6/component/feedback-item/FeedbackItem.js +56 -0
- package/feedback-form/lib/es6/component/feedback-item/FeedbackItem.js.map +1 -0
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +354 -0
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js.map +1 -0
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.type.js +2 -0
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.type.js.map +1 -0
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +165 -0
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js.map +1 -0
- package/feedback-form/lib/es6/component/submit-button/SubmitButton.js +17 -0
- package/feedback-form/lib/es6/component/submit-button/SubmitButton.js.map +1 -0
- package/feedback-form/lib/es6/index.d.js +5 -1
- package/feedback-form/lib/es6/index.d.js.map +1 -1
- package/feedback-form/lib/es6/index.js +2 -0
- package/feedback-form/lib/es6/index.js.map +1 -1
- package/feedback-form/lib/es6/style/checkbox-button.shadow.css +21 -0
- package/feedback-form/lib/es6/style/feedback-rating.shadow.css +9 -0
- package/feedback-form/lib/es6/style/slider-rating.shadow.css +34 -0
- package/feedback-form/lib/es6/translations/__intergalactic-dynamic-locales.js +31 -0
- package/feedback-form/lib/es6/translations/__intergalactic-dynamic-locales.js.map +1 -0
- package/feedback-form/lib/es6/translations/de.json +7 -0
- package/feedback-form/lib/es6/translations/en.json +8 -0
- package/feedback-form/lib/es6/translations/es.json +7 -0
- package/feedback-form/lib/es6/translations/fr.json +7 -0
- package/feedback-form/lib/es6/translations/it.json +7 -0
- package/feedback-form/lib/es6/translations/ja.json +7 -0
- package/feedback-form/lib/es6/translations/ko.json +7 -0
- package/feedback-form/lib/es6/translations/nl.json +7 -0
- package/feedback-form/lib/es6/translations/pl.json +7 -0
- package/feedback-form/lib/es6/translations/pt.json +7 -0
- package/feedback-form/lib/es6/translations/sv.json +7 -0
- package/feedback-form/lib/es6/translations/tr.json +7 -0
- package/feedback-form/lib/es6/translations/vi.json +7 -0
- package/feedback-form/lib/es6/translations/zh.json +7 -0
- package/feedback-form/lib/types/component/checkbox-button/CheckboxButton.d.ts +4 -0
- package/feedback-form/lib/types/component/feedback-item/FeedbackItem.d.ts +7 -0
- package/feedback-form/lib/types/component/feedback-rating/FeedbackRating.d.ts +156 -0
- package/feedback-form/lib/types/component/feedback-rating/FeedbackRating.type.d.ts +55 -0
- package/feedback-form/lib/types/component/slider-rating/SliderRating.d.ts +14 -0
- package/feedback-form/lib/types/component/submit-button/SubmitButton.d.ts +3 -0
- package/feedback-form/lib/types/index.d.ts +4 -0
- package/feedback-form/lib/types/translations/__intergalactic-dynamic-locales.d.ts +101 -0
- package/feedback-form/translations/__intergalactic-dynamic-locales.d.ts +101 -0
- 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/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/format-text/lib/cjs/FormatText.js +5 -5
- package/format-text/lib/es6/FormatText.js +5 -5
- package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
- package/grid/lib/cjs/Grid.js +114 -114
- package/grid/lib/es6/Grid.js +114 -114
- 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/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/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/inline-edit/lib/cjs/InlineEdit.js +4 -4
- package/inline-edit/lib/es6/InlineEdit.js +4 -4
- package/inline-input/lib/cjs/InlineInput.js +18 -18
- package/inline-input/lib/es6/InlineInput.js +18 -18
- package/input/lib/cjs/Input.js +17 -17
- package/input/lib/es6/Input.js +17 -17
- package/input-mask/lib/cjs/InputMask.js +6 -6
- package/input-mask/lib/es6/InputMask.js +6 -6
- package/input-number/lib/cjs/InputNumber.js +10 -10
- package/input-number/lib/cjs/InputNumber.js.map +1 -1
- package/input-number/lib/es6/InputNumber.js +10 -10
- package/input-number/lib/es6/InputNumber.js.map +1 -1
- package/input-tags/lib/cjs/InputTags.js +12 -12
- package/input-tags/lib/es6/InputTags.js +12 -12
- package/link/lib/cjs/Link.js +12 -12
- package/link/lib/es6/Link.js +12 -12
- package/mini-chart/lib/cjs/component/score/Donut.js +9 -9
- package/mini-chart/lib/cjs/component/score/Line.js +17 -17
- 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 +17 -17
- package/mini-chart/lib/es6/component/trend/Bar.js +7 -7
- package/mini-chart/lib/es6/component/trend/Line.js +7 -7
- package/modal/lib/cjs/Modal.js +9 -9
- package/modal/lib/es6/Modal.js +9 -9
- package/notice/lib/cjs/Notice.js +13 -13
- package/notice/lib/es6/Notice.js +13 -13
- package/notice-bubble/lib/cjs/NoticeBubble.js +12 -12
- package/notice-bubble/lib/es6/NoticeBubble.js +12 -12
- package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
- package/notice-global/lib/es6/NoticeGlobal.js +11 -11
- package/package.json +2 -2
- package/pagination/lib/cjs/Pagination.js +10 -10
- package/pagination/lib/es6/Pagination.js +10 -10
- package/pills/lib/cjs/Pills.js +13 -13
- package/pills/lib/es6/Pills.js +13 -13
- package/popper/lib/cjs/Popper.js +6 -6
- package/popper/lib/es6/Popper.js +6 -6
- 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/progress-bar/lib/cjs/ProgressBar.js +15 -15
- package/progress-bar/lib/es6/ProgressBar.js +15 -15
- package/radio/lib/cjs/Radio.js +16 -16
- package/radio/lib/es6/Radio.js +16 -16
- 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/select/lib/cjs/InputSearch.js +6 -6
- package/select/lib/cjs/Select.js +8 -8
- package/select/lib/es6/InputSearch.js +6 -6
- package/select/lib/es6/Select.js +8 -8
- package/side-panel/lib/cjs/SidePanel.js +15 -15
- package/side-panel/lib/es6/SidePanel.js +15 -15
- 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/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/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/slider/lib/cjs/Slider.js +8 -8
- package/slider/lib/es6/Slider.js +8 -8
- package/spin/lib/cjs/Spin.js +13 -13
- package/spin/lib/es6/Spin.js +13 -13
- package/spin-container/lib/cjs/SpinContainer.js +8 -8
- package/spin-container/lib/es6/SpinContainer.js +8 -8
- package/sticky/lib/cjs/Sticky.js +2 -2
- package/sticky/lib/es6/Sticky.js +2 -2
- package/switch/lib/cjs/Switch.js +21 -21
- package/switch/lib/es6/Switch.js +21 -21
- package/tab-line/lib/cjs/TabLine.js +13 -13
- package/tab-line/lib/es6/TabLine.js +13 -13
- package/tab-panel/lib/cjs/TabPanel.js +8 -8
- package/tab-panel/lib/es6/TabPanel.js +8 -8
- package/tag/lib/cjs/Tag.js +20 -20
- package/tag/lib/es6/Tag.js +20 -20
- package/textarea/lib/cjs/Textarea.js +8 -8
- package/textarea/lib/es6/Textarea.js +8 -8
- package/time-picker/lib/cjs/TimePicker.js +12 -12
- package/time-picker/lib/es6/TimePicker.js +12 -12
- package/tooltip/lib/cjs/Tooltip.js +9 -9
- package/tooltip/lib/es6/Tooltip.js +9 -9
- 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/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/utils/lib/themes/auto.css +4 -0
- package/utils/lib/themes/default.css +4 -0
- package/utils/lib/themes/default.json +2 -0
- package/utils/lib/themes/light.css +4 -0
- package/utils/lib/themes/light.json +2 -0
- package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
- package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
- package/wizard/lib/cjs/Wizard.js +11 -11
- package/wizard/lib/es6/Wizard.js +11 -11
@@ -0,0 +1,165 @@
|
|
1
|
+
import _objectSpread from "@babel/runtime/helpers/objectSpread2";
|
2
|
+
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
3
|
+
import _createClass from "@babel/runtime/helpers/createClass";
|
4
|
+
import _assertThisInitialized from "@babel/runtime/helpers/assertThisInitialized";
|
5
|
+
import _inherits from "@babel/runtime/helpers/inherits";
|
6
|
+
import _createSuper from "@babel/runtime/helpers/createSuper";
|
7
|
+
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
8
|
+
import { sstyled as _sstyled } from 'intergalactic/utils/lib/core/index';
|
9
|
+
import { assignProps as _assignProps2 } from 'intergalactic/core';
|
10
|
+
import { assignProps as _assignProps } from 'intergalactic/core';
|
11
|
+
import React from 'react';
|
12
|
+
import createComponent, { Component, Root, sstyled } from 'intergalactic/core';
|
13
|
+
import { Flex, Box } from 'intergalactic/flex-box';
|
14
|
+
/*__reshadow-styles__:"../../style/slider-rating.shadow.css"*/
|
15
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SSliderRating_mkvmh_gg_ .___SStar_mkvmh_gg_{transition:all calc(var(--intergalactic-duration-control, 200)*1ms) ease-out}@media (hover:hover){.___SSliderRating_mkvmh_gg_ .___SStar_mkvmh_gg_:hover{cursor:pointer;transform:scale(1.3)}}.___SSliderRating_mkvmh_gg_.__keyboardFocused_mkvmh_gg_{outline:0;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}@media (hover:hover){.___SSliderRating_mkvmh_gg_.__readonly_mkvmh_gg_ .___SStar_mkvmh_gg_:hover{cursor:default;transform:none;transition:none}}.___SStar_mkvmh_gg_.__filled_mkvmh_gg_:active{animation:wobble .8s ease-in-out}.___SStar_mkvmh_gg_ path{fill:transparent;stroke:var(--intergalactic-slider-rating-normal, #a9abb6);stroke-width:2}.___SStar_mkvmh_gg_.__filled_mkvmh_gg_ path{stroke-width:0;fill:var(--intergalactic-slider-rating-hover-active, #fdc23c)}" /*__inner_css_end__*/, "mkvmh_gg_") /*__reshadow_css_end__*/, {
|
16
|
+
"__SSliderRating": "___SSliderRating_mkvmh_gg_",
|
17
|
+
"__SStar": "___SStar_mkvmh_gg_",
|
18
|
+
"_keyboardFocused": "__keyboardFocused_mkvmh_gg_",
|
19
|
+
"_readonly": "__readonly_mkvmh_gg_",
|
20
|
+
"_filled": "__filled_mkvmh_gg_"
|
21
|
+
});
|
22
|
+
import keyboardFocusEnhance from 'intergalactic/utils/lib/enhances/keyboardFocusEnhance';
|
23
|
+
var MIN = 1;
|
24
|
+
var MAX = 5;
|
25
|
+
var SliderRatingRoot = /*#__PURE__*/function (_Component) {
|
26
|
+
_inherits(SliderRatingRoot, _Component);
|
27
|
+
var _super = _createSuper(SliderRatingRoot);
|
28
|
+
function SliderRatingRoot() {
|
29
|
+
var _this;
|
30
|
+
_classCallCheck(this, SliderRatingRoot);
|
31
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
32
|
+
args[_key] = arguments[_key];
|
33
|
+
}
|
34
|
+
_this = _super.call.apply(_super, [this].concat(args));
|
35
|
+
_defineProperty(_assertThisInitialized(_this), "state", {
|
36
|
+
hoveredIndex: -1,
|
37
|
+
clickedIndex: -1
|
38
|
+
});
|
39
|
+
_defineProperty(_assertThisInitialized(_this), "handleClick", function (newValue) {
|
40
|
+
return function (e) {
|
41
|
+
var readonly = _this.asProps.readonly;
|
42
|
+
if (!readonly) {
|
43
|
+
_this.setValue(newValue);
|
44
|
+
}
|
45
|
+
};
|
46
|
+
});
|
47
|
+
_defineProperty(_assertThisInitialized(_this), "handleMouseEnder", function (index) {
|
48
|
+
return function () {
|
49
|
+
_this.setState({
|
50
|
+
hoveredIndex: index
|
51
|
+
});
|
52
|
+
};
|
53
|
+
});
|
54
|
+
_defineProperty(_assertThisInitialized(_this), "handleMouseLeave", function () {
|
55
|
+
_this.setState({
|
56
|
+
hoveredIndex: -1
|
57
|
+
});
|
58
|
+
});
|
59
|
+
_defineProperty(_assertThisInitialized(_this), "setValue", function (newValue) {
|
60
|
+
var _this$asProps = _this.asProps,
|
61
|
+
onChange = _this$asProps.onChange,
|
62
|
+
value = _this$asProps.value;
|
63
|
+
if (onChange) {
|
64
|
+
onChange(newValue);
|
65
|
+
}
|
66
|
+
if (newValue <= value) {
|
67
|
+
_this.setState({
|
68
|
+
clickedIndex: newValue
|
69
|
+
});
|
70
|
+
} else {
|
71
|
+
_this.setState({
|
72
|
+
clickedIndex: -1
|
73
|
+
});
|
74
|
+
}
|
75
|
+
});
|
76
|
+
_defineProperty(_assertThisInitialized(_this), "handleKeyDown", function (event) {
|
77
|
+
if (!['ArrowLeft', 'ArrowRight', 'Enter'].includes(event.key)) return;
|
78
|
+
event.preventDefault();
|
79
|
+
if (event.key === 'Enter') {
|
80
|
+
var hoveredIndex = _this.state.hoveredIndex;
|
81
|
+
_this.setValue(hoveredIndex + 1);
|
82
|
+
} else {
|
83
|
+
var _value = _this.asProps.value;
|
84
|
+
var _hoveredIndex = _this.state.hoveredIndex;
|
85
|
+
var direction = event.key === 'ArrowLeft' ? -1 : 1;
|
86
|
+
var newValue = _hoveredIndex === -1 ? _value + direction : _hoveredIndex + 1 + direction;
|
87
|
+
if (newValue > MAX) newValue = MAX;
|
88
|
+
if (newValue < MIN) newValue = MIN;
|
89
|
+
_this.setState({
|
90
|
+
hoveredIndex: newValue - 1
|
91
|
+
});
|
92
|
+
}
|
93
|
+
});
|
94
|
+
return _this;
|
95
|
+
}
|
96
|
+
_createClass(SliderRatingRoot, [{
|
97
|
+
key: "getStarProps",
|
98
|
+
value: function getStarProps(_, index) {
|
99
|
+
var _this$asProps2 = this.asProps,
|
100
|
+
value = _this$asProps2.value,
|
101
|
+
readonly = _this$asProps2.readonly;
|
102
|
+
var hoveredIndex = this.state.hoveredIndex;
|
103
|
+
return {
|
104
|
+
filled: value ? index + 1 <= value || index <= hoveredIndex : index <= hoveredIndex,
|
105
|
+
onClick: this.handleClick(index + 1),
|
106
|
+
onMouseEnter: readonly ? undefined : this.handleMouseEnder(index)
|
107
|
+
};
|
108
|
+
}
|
109
|
+
}, {
|
110
|
+
key: "render",
|
111
|
+
value: function render() {
|
112
|
+
var _ref = this.asProps,
|
113
|
+
_ref3;
|
114
|
+
var _this$asProps3 = this.asProps,
|
115
|
+
styles = _this$asProps3.styles,
|
116
|
+
value = _this$asProps3.value;
|
117
|
+
var hoveredIndex = this.state.hoveredIndex;
|
118
|
+
var SSliderRating = Flex;
|
119
|
+
var label = value ? value : hoveredIndex === -1 ? 'Not set' : hoveredIndex + 1;
|
120
|
+
return _ref3 = sstyled(styles), /*#__PURE__*/React.createElement(SSliderRating, _ref3.cn("SSliderRating", _objectSpread({}, _assignProps({
|
121
|
+
"gap": 1,
|
122
|
+
"onMouseLeave": this.handleMouseLeave,
|
123
|
+
"onKeyDown": this.handleKeyDown,
|
124
|
+
"role": 'slider',
|
125
|
+
"aria-orientation": 'horizontal',
|
126
|
+
"aria-valuemin": MIN,
|
127
|
+
"aria-valuemax": MAX,
|
128
|
+
"aria-valuetext": label,
|
129
|
+
"aria-valuenow": hoveredIndex + 1
|
130
|
+
}, _ref))), new Array(MAX).fill(null).map(function (_, index) {
|
131
|
+
return /*#__PURE__*/React.createElement(Box, {
|
132
|
+
key: index,
|
133
|
+
position: 'relative'
|
134
|
+
}, /*#__PURE__*/React.createElement(SliderRating.Star, null));
|
135
|
+
}));
|
136
|
+
}
|
137
|
+
}]);
|
138
|
+
return SliderRatingRoot;
|
139
|
+
}(Component);
|
140
|
+
_defineProperty(SliderRatingRoot, "displayName", 'SliderRating');
|
141
|
+
_defineProperty(SliderRatingRoot, "style", style);
|
142
|
+
_defineProperty(SliderRatingRoot, "enhance", [keyboardFocusEnhance()]);
|
143
|
+
function Star(props) {
|
144
|
+
var _ref2 = arguments[0],
|
145
|
+
_ref4;
|
146
|
+
var SStar = Box;
|
147
|
+
return _ref4 = sstyled(props.styles), /*#__PURE__*/React.createElement(SStar, _ref4.cn("SStar", _objectSpread({}, _assignProps2({
|
148
|
+
"tag": 'svg',
|
149
|
+
"width": '22',
|
150
|
+
"height": '21',
|
151
|
+
"viewBox": '0 0 22 21',
|
152
|
+
"fill": 'none',
|
153
|
+
"xmlns": 'http://www.w3.org/2000/svg'
|
154
|
+
}, _ref2))), props.filled ? /*#__PURE__*/React.createElement("path", _ref4.cn("path", {
|
155
|
+
"d": 'M10.6463 0.213566C10.7963 -0.0711885 11.2037 -0.071189 11.3537 0.213566L14.6682 6.50744L21.668 7.72084C21.9847 7.77572 22.1105 8.16305 21.8867 8.39378L16.9353 13.4978L17.9465 20.5422C17.9922 20.8607 17.6626 21.1002 17.3741 20.9581L11 17.8181L4.62585 20.9581C4.33738 21.1002 4.00781 20.8607 4.05353 20.5422L5.0647 13.4978L0.113338 8.39378C-0.110493 8.16305 0.0153421 7.77572 0.331965 7.72084L7.33178 6.50744L10.6463 0.213566Z'
|
156
|
+
})) : /*#__PURE__*/React.createElement("path", _ref4.cn("path", {
|
157
|
+
"d": 'M13.7834 6.9734L14.0127 7.40871L14.4974 7.49274L20.3785 8.51222L16.2175 12.8015L15.8757 13.1539L15.9454 13.6399L16.7949 19.558L11.4419 16.921L11 16.7033L10.5581 16.921L5.20505 19.558L6.05456 13.6399L6.12432 13.1539L5.78246 12.8015L1.62146 8.51222L7.50258 7.49274L7.98734 7.40871L8.21659 6.9734L11 1.68803L13.7834 6.9734ZM21.4972 8.70614C21.4969 8.70608 21.4965 8.70602 21.4961 8.70595L21.4972 8.70614ZM0.502765 8.70614L0.503758 8.70597C0.503427 8.70603 0.503095 8.70609 0.502764 8.70614L0.400352 8.11535L0.502765 8.70614Z'
|
158
|
+
})));
|
159
|
+
}
|
160
|
+
Star.displayName = 'Star';
|
161
|
+
var SliderRating = createComponent(SliderRatingRoot, {
|
162
|
+
Star: Star
|
163
|
+
});
|
164
|
+
export default SliderRating;
|
165
|
+
//# sourceMappingURL=SliderRating.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SliderRating.js","names":["React","createComponent","Component","Root","sstyled","Flex","Box","style","_sstyled","insert","keyboardFocusEnhance","MIN","MAX","SliderRatingRoot","_Component","_inherits","_super","_createSuper","_this","_classCallCheck","_len","arguments","length","args","Array","_key","call","apply","concat","_defineProperty","_assertThisInitialized","hoveredIndex","clickedIndex","newValue","e","readonly","asProps","setValue","index","setState","_this$asProps","onChange","value","event","includes","key","preventDefault","state","direction","_createClass","getStarProps","_","_this$asProps2","filled","onClick","handleClick","onMouseEnter","undefined","handleMouseEnder","render","_ref","_ref3","_this$asProps3","styles","SSliderRating","label","createElement","cn","_objectSpread","_assignProps","handleMouseLeave","handleKeyDown","fill","map","position","SliderRating","Star","props","_ref2","arguments[0]","_ref4","SStar","_assignProps2","displayName"],"sources":["../../../../src/component/slider-rating/SliderRating.tsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, Root, sstyled, Intergalactic } from '@semcore/core';\nimport { Flex, Box, BoxProps } from '@semcore/flex-box';\nimport style from '../../style/slider-rating.shadow.css';\nimport keyboardFocusEnhance from '@semcore/utils/lib/enhances/keyboardFocusEnhance';\n\ntype SliderRatingProps = {\n value: number;\n onChange?: (value: number) => void;\n readonly?: boolean;\n};\n\ntype State = {\n hoveredIndex: number;\n clickedIndex: number;\n};\n\ntype StarProps = BoxProps & {\n filled?: boolean;\n};\n\nconst MIN = 1;\nconst MAX = 5;\n\nclass SliderRatingRoot extends Component<SliderRatingProps, State> {\n static displayName = 'SliderRating';\n static style = style;\n\n static enhance = [keyboardFocusEnhance()];\n\n state: State = {\n hoveredIndex: -1,\n clickedIndex: -1,\n };\n\n handleClick = (newValue: number) => (e: React.SyntheticEvent<SVGElement>) => {\n const { readonly } = this.asProps;\n\n if (!readonly) {\n this.setValue(newValue);\n }\n };\n\n handleMouseEnder = (index: number) => () => {\n this.setState({ hoveredIndex: index });\n };\n\n handleMouseLeave = () => {\n this.setState({ hoveredIndex: -1 });\n };\n\n getStarProps(_: any, index: number) {\n const { value, readonly } = this.asProps;\n const { hoveredIndex } = this.state;\n\n return {\n filled: value ? index + 1 <= value || index <= hoveredIndex : index <= hoveredIndex,\n onClick: this.handleClick(index + 1),\n onMouseEnter: readonly ? undefined : this.handleMouseEnder(index),\n };\n }\n\n setValue = (newValue: number) => {\n const { onChange, value } = this.asProps;\n\n if (onChange) {\n onChange(newValue);\n }\n\n if (newValue <= value) {\n this.setState({ clickedIndex: newValue });\n } else {\n this.setState({ clickedIndex: -1 });\n }\n };\n\n handleKeyDown = (event: React.KeyboardEvent) => {\n if (!['ArrowLeft', 'ArrowRight', 'Enter'].includes(event.key)) return;\n event.preventDefault();\n\n if (event.key === 'Enter') {\n const { hoveredIndex } = this.state;\n\n this.setValue(hoveredIndex + 1);\n } else {\n const { value } = this.asProps;\n const { hoveredIndex } = this.state;\n\n const direction = event.key === 'ArrowLeft' ? -1 : 1;\n let newValue = hoveredIndex === -1 ? value + direction : hoveredIndex + 1 + direction;\n\n if (newValue > MAX) newValue = MAX;\n if (newValue < MIN) newValue = MIN;\n\n this.setState({ hoveredIndex: newValue - 1 });\n }\n };\n\n render() {\n const { styles, value } = this.asProps;\n const { hoveredIndex } = this.state;\n const SSliderRating = Root;\n\n const label = value ? value : hoveredIndex === -1 ? 'Not set' : hoveredIndex + 1;\n\n return sstyled(styles)(\n <SSliderRating\n render={Flex}\n gap={1}\n onMouseLeave={this.handleMouseLeave}\n onKeyDown={this.handleKeyDown}\n role='slider'\n aria-orientation='horizontal'\n aria-valuemin={MIN}\n aria-valuemax={MAX}\n aria-valuetext={label}\n aria-valuenow={hoveredIndex + 1}\n >\n {new Array(MAX).fill(null).map((_, index) => {\n return (\n <Box key={index} position={'relative'}>\n <SliderRating.Star />\n </Box>\n );\n })}\n </SSliderRating>,\n );\n }\n}\n\nfunction Star(props: StarProps) {\n const SStar = Root;\n return sstyled(props.styles)(\n <SStar\n render={Box}\n tag={'svg'}\n width='22'\n height='21'\n viewBox='0 0 22 21'\n fill='none'\n xmlns='http://www.w3.org/2000/svg'\n >\n {props.filled ? (\n <path\n d='M10.6463 0.213566C10.7963 -0.0711885 11.2037 -0.071189 11.3537 0.213566L14.6682 6.50744L21.668 7.72084C21.9847 7.77572 22.1105 8.16305 21.8867 8.39378L16.9353 13.4978L17.9465 20.5422C17.9922 20.8607 17.6626 21.1002 17.3741 20.9581L11 17.8181L4.62585 20.9581C4.33738 21.1002 4.00781 20.8607 4.05353 20.5422L5.0647 13.4978L0.113338 8.39378C-0.110493 8.16305 0.0153421 7.77572 0.331965 7.72084L7.33178 6.50744L10.6463 0.213566Z'\n // fill='#FDC23C'\n />\n ) : (\n <path\n d='M13.7834 6.9734L14.0127 7.40871L14.4974 7.49274L20.3785 8.51222L16.2175 12.8015L15.8757 13.1539L15.9454 13.6399L16.7949 19.558L11.4419 16.921L11 16.7033L10.5581 16.921L5.20505 19.558L6.05456 13.6399L6.12432 13.1539L5.78246 12.8015L1.62146 8.51222L7.50258 7.49274L7.98734 7.40871L8.21659 6.9734L11 1.68803L13.7834 6.9734ZM21.4972 8.70614C21.4969 8.70608 21.4965 8.70602 21.4961 8.70595L21.4972 8.70614ZM0.502765 8.70614L0.503758 8.70597C0.503427 8.70603 0.503095 8.70609 0.502764 8.70614L0.400352 8.11535L0.502765 8.70614Z'\n // stroke='#A9ABB6'\n // strokeWidth='2'\n />\n )}\n </SStar>,\n );\n}\nStar.displayName = 'Star';\n\nconst SliderRating = createComponent(SliderRatingRoot, {\n Star,\n}) as Intergalactic.Component<typeof Flex, SliderRatingProps> & {\n Star: Intergalactic.Component<typeof Box, StarProps>;\n};\n\nexport default SliderRating;\n"],"mappings":";;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,eAAe,IAAIC,SAAS,EAAEC,IAAI,EAAEC,OAAO,QAAuB,eAAe;AACxF,SAASC,IAAI,EAAEC,GAAG,QAAkB,mBAAmB;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAExD,OAAOC,oBAAoB,MAAM,kDAAkD;AAiBnF,IAAMC,GAAG,GAAG,CAAC;AACb,IAAMC,GAAG,GAAG,CAAC;AAAC,IAERC,gBAAgB,0BAAAC,UAAA;EAAAC,SAAA,CAAAF,gBAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAJ,gBAAA;EAAA,SAAAA,iBAAA;IAAA,IAAAK,KAAA;IAAAC,eAAA,OAAAN,gBAAA;IAAA,SAAAO,IAAA,GAAAC,SAAA,CAAAC,MAAA,EAAAC,IAAA,OAAAC,KAAA,CAAAJ,IAAA,GAAAK,IAAA,MAAAA,IAAA,GAAAL,IAAA,EAAAK,IAAA;MAAAF,IAAA,CAAAE,IAAA,IAAAJ,SAAA,CAAAI,IAAA;IAAA;IAAAP,KAAA,GAAAF,MAAA,CAAAU,IAAA,CAAAC,KAAA,CAAAX,MAAA,SAAAY,MAAA,CAAAL,IAAA;IAAAM,eAAA,CAAAC,sBAAA,CAAAZ,KAAA,YAML;MACba,YAAY,EAAE,CAAC,CAAC;MAChBC,YAAY,EAAE,CAAC;IACjB,CAAC;IAAAH,eAAA,CAAAC,sBAAA,CAAAZ,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,KAAA,CAAAkE,aAAA,CAACS,YAAY,CAACC,IAAI,OAAG,CACjB;MAEV,CAAC,CAAC,CACY;IAEpB;EAAC;EAAA,OAAA/D,gBAAA;AAAA,EAvG4BX,SAAS;AAAA2B,eAAA,CAAlChB,gBAAgB,iBACC,cAAc;AAAAgB,eAAA,CAD/BhB,gBAAgB,WAELN,KAAK;AAAAsB,eAAA,CAFhBhB,gBAAgB,aAIH,CAACH,oBAAoB,EAAE,CAAC;AAsG3C,SAASkE,IAAIA,CAACC,KAAgB,EAAE;EAAA,IAAAC,KAAA,GAAAC,YAAA;IAAAC,KAAA;EAC9B,IAAMC,KAAK,GAGC3E,GAAG;EAFf,OAAA0E,KAAA,GAAO5E,OAAO,CAACyE,KAAK,CAACd,MAAM,CAAC,eAC1B/D,KAAA,CAAAkE,aAAA,CAACe,KAAK,EAAAD,KAAA,CAAAb,EAAA,UAAAC,aAAA,KAAAc,aAAA;IAAA,OAEC,KAAK;IAAA,SACJ,IAAI;IAAA,UACH,IAAI;IAAA,WACH,WAAW;IAAA,QACd,MAAM;IAAA,SACL;EAA4B,GAAAJ,KAAA,KAEjCD,KAAK,CAACxB,MAAM,gBACXrD,KAAA,CAAAkE,aAAA,SAAAc,KAAA,CAAAb,EAAA;IAAA,KACI;EAA0a,GAE5a,gBAEFnE,KAAA,CAAAkE,aAAA,SAAAc,KAAA,CAAAb,EAAA;IAAA,KACI;EAA2gB,GAIhhB,CACK;AAEZ;AACAS,IAAI,CAACO,WAAW,GAAG,MAAM;AAEzB,IAAMR,YAAY,GAAG1E,eAAe,CAACY,gBAAgB,EAAE;EACrD+D,IAAI,EAAJA;AACF,CAAC,CAEA;AAED,eAAeD,YAAY"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import _objectSpread from "@babel/runtime/helpers/objectSpread2";
|
2
|
+
import { assignProps as _assignProps } from 'intergalactic/core';
|
3
|
+
import Button from 'intergalactic/button';
|
4
|
+
import React from 'react';
|
5
|
+
import { Root, sstyled } from 'intergalactic/core';
|
6
|
+
export function SubmitButton(props) {
|
7
|
+
var _ref = arguments[0],
|
8
|
+
_ref2;
|
9
|
+
var styles = props.styles;
|
10
|
+
var SSubmit = Button;
|
11
|
+
return _ref2 = sstyled(styles), /*#__PURE__*/React.createElement(SSubmit, _ref2.cn("SSubmit", _objectSpread({}, _assignProps({
|
12
|
+
"type": 'submit',
|
13
|
+
"use": 'primary',
|
14
|
+
"theme": 'success'
|
15
|
+
}, _ref))));
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=SubmitButton.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SubmitButton.js","names":["Button","React","Root","sstyled","SubmitButton","props","_ref","arguments[0]","_ref2","styles","SSubmit","createElement","cn","_objectSpread","_assignProps"],"sources":["../../../../src/component/submit-button/SubmitButton.tsx"],"sourcesContent":["import Button from '@semcore/button';\nimport React from 'react';\nimport { Root, sstyled, IRootComponentProps } from '@semcore/core';\n\nexport function SubmitButton(props: IRootComponentProps) {\n const { styles } = props;\n const SSubmit = Root;\n return sstyled(styles)(<SSubmit render={Button} type='submit' use='primary' theme='success' />);\n}\n"],"mappings":";;AAAA,OAAOA,MAAM,MAAM,iBAAiB;AACpC,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAEC,OAAO,QAA6B,eAAe;AAElE,OAAO,SAASC,YAAYA,CAACC,KAA0B,EAAE;EAAA,IAAAC,IAAA,GAAAC,YAAA;IAAAC,KAAA;EACvD,IAAQC,MAAM,GAAKJ,KAAK,CAAhBI,MAAM;EACd,IAAMC,OAAO,GAC2BV,MAAM;EAA9C,OAAAQ,KAAA,GAAOL,OAAO,CAACM,MAAM,CAAC,eAACR,KAAA,CAAAU,aAAA,CAACD,OAAO,EAAAF,KAAA,CAAAI,EAAA,YAAAC,aAAA,KAAAC,YAAA;IAAA,QAAsB,QAAQ;IAAA,OAAK,SAAS;IAAA,SAAO;EAAS,GAAAR,IAAA,IAAG;AAChG"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.js","names":[],"sources":["../../src/index.d.ts"],"sourcesContent":["import { FormProps, FieldProps } from 'react-final-form';\n\nimport { Intergalactic } from '@semcore/core';\nimport Button from '@semcore/button';\nimport { NoticeSmart } from '@semcore/notice';\nimport { Box } from '@semcore/flex-box';\n\n/** @deprecated */\nexport type IFeedbackForm = FeedbackFormProps;\nexport type FeedbackFormProps = FormProps & {\n /* The event is called when the form is submitted */\n onSubmit: (values: any, form: any, callback?: (errors?: {}) => void) => {} | Promise<{}> | void;\n /**\n * The property is in charge of the spinner showing\n * */\n loading?: boolean;\n /**\n * Color of container spinner; you can use your own color\n */\n background?: string;\n /** Spinner theme. There are several default themes or you can use your own color\n * @default dark\n **/\n theme?: 'dark' | 'invert' | string;\n};\n\ndeclare const FeedbackForm: Intergalactic.Component<'form', FeedbackFormProps> & {\n Item: Intergalactic.Component<'div', FieldProps<any, any>>;\n Success: typeof Box;\n Submit: typeof Button;\n Cancel: typeof Button;\n Notice: typeof NoticeSmart;\n};\n\nexport default FeedbackForm;\n"],"mappings":""}
|
1
|
+
{"version":3,"file":"index.d.js","names":["default","FeedbackRating"],"sources":["../../src/index.d.ts"],"sourcesContent":["import { FormProps, FieldProps } from 'react-final-form';\n\nimport { Intergalactic } from '@semcore/core';\nimport Button from '@semcore/button';\nimport { NoticeSmart } from '@semcore/notice';\nimport { Box } from '@semcore/flex-box';\n\nimport { default as FeedbackRating } from './component/feedback-rating/FeedbackRating';\n\n/** @deprecated */\nexport type IFeedbackForm = FeedbackFormProps;\nexport type FeedbackFormProps = FormProps & {\n /* The event is called when the form is submitted */\n onSubmit: (values: any, form: any, callback?: (errors?: {}) => void) => {} | Promise<{}> | void;\n /**\n * The property is in charge of the spinner showing\n * */\n loading?: boolean;\n /**\n * Color of container spinner; you can use your own color\n */\n background?: string;\n /** Spinner theme. There are several default themes or you can use your own color\n * @default dark\n **/\n theme?: 'dark' | 'invert' | string;\n};\n\ndeclare const FeedbackForm: Intergalactic.Component<'form', FeedbackFormProps> & {\n Item: Intergalactic.Component<'div', FieldProps<any, any>>;\n Success: typeof Box;\n Submit: typeof Button;\n Cancel: typeof Button;\n Notice: typeof NoticeSmart;\n};\n\nexport default FeedbackForm;\n\nexport { FeedbackRating };\n"],"mappings":"AAOA,SAASA,OAAO,IAAIC,cAAc,QAAQ,4CAA4C;;AAEtF;;AA6BA,SAASA,cAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","names":["default"],"sources":["../../src/index.js"],"sourcesContent":["
|
1
|
+
{"version":3,"file":"index.js","names":["default","FeedbackRating"],"sources":["../../src/index.js"],"sourcesContent":["import { default as FeedbackRating } from './component/feedback-rating/FeedbackRating';\n\nexport { default } from './FeedbackForm';\n\nexport { FeedbackRating };\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,cAAc,QAAQ,4CAA4C;AAEtF,SAASD,OAAO,QAAQ,gBAAgB;AAExC,SAASC,cAAc"}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
SCheckboxButton {
|
2
|
+
margin-top: var(--intergalactic-spacing-2x, 8px);
|
3
|
+
border: 1px solid var(--intergalactic-border-primary, #c4c7cf);
|
4
|
+
border-radius: var(--intergalactic-rounded-medium, 6px);
|
5
|
+
|
6
|
+
label {
|
7
|
+
width: 100%;
|
8
|
+
padding: var(--intergalactic-spacing-3x, 12px);
|
9
|
+
box-sizing: border-box;
|
10
|
+
}
|
11
|
+
}
|
12
|
+
|
13
|
+
SCheckboxButton:hover, SCheckboxButton[checked] {
|
14
|
+
cursor: pointer;
|
15
|
+
border-color: var(--intergalactic-border-info-active, #006dca);
|
16
|
+
background-color: rgba(0, 143, 248, 0.10);
|
17
|
+
}
|
18
|
+
|
19
|
+
SCheckboxButton[checked]:hover {
|
20
|
+
background-color: rgba(0, 143, 248, 0.20);
|
21
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
SSliderRating SStar {
|
2
|
+
transition: all calc(var(--intergalactic-duration-control, 200) * 1ms) ease-out;
|
3
|
+
}
|
4
|
+
|
5
|
+
SSliderRating SStar:hover {
|
6
|
+
cursor: pointer;
|
7
|
+
transform: scale(1.3);
|
8
|
+
}
|
9
|
+
|
10
|
+
SSliderRating[keyboardFocused] {
|
11
|
+
outline: none;
|
12
|
+
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));
|
13
|
+
}
|
14
|
+
|
15
|
+
SSliderRating[readonly] SStar:hover {
|
16
|
+
cursor: default;
|
17
|
+
transform: none;
|
18
|
+
transition: none;
|
19
|
+
}
|
20
|
+
|
21
|
+
SStar[filled]:active {
|
22
|
+
animation: wobble 0.8s ease-in-out;
|
23
|
+
}
|
24
|
+
|
25
|
+
SStar path {
|
26
|
+
fill: transparent;
|
27
|
+
stroke: var(--intergalactic-slider-rating-normal, #a9abb6);
|
28
|
+
stroke-width: 2;
|
29
|
+
}
|
30
|
+
|
31
|
+
SStar[filled] path {
|
32
|
+
stroke-width: 0;
|
33
|
+
fill: var(--intergalactic-slider-rating-hover-active, #fdc23c);
|
34
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import de from './de.json';
|
2
|
+
import en from './en.json';
|
3
|
+
import es from './es.json';
|
4
|
+
import fr from './fr.json';
|
5
|
+
import it from './it.json';
|
6
|
+
import ja from './ja.json';
|
7
|
+
import ko from './ko.json';
|
8
|
+
import nl from './nl.json';
|
9
|
+
import pt from './pt.json';
|
10
|
+
import tr from './tr.json';
|
11
|
+
import vi from './vi.json';
|
12
|
+
import zh from './zh.json';
|
13
|
+
import pl from './pl.json';
|
14
|
+
import sv from './sv.json';
|
15
|
+
export var localizedMessages = {
|
16
|
+
de: de,
|
17
|
+
en: en,
|
18
|
+
es: es,
|
19
|
+
fr: fr,
|
20
|
+
it: it,
|
21
|
+
ja: ja,
|
22
|
+
ko: ko,
|
23
|
+
nl: nl,
|
24
|
+
pt: pt,
|
25
|
+
tr: tr,
|
26
|
+
vi: vi,
|
27
|
+
zh: zh,
|
28
|
+
pl: pl,
|
29
|
+
sv: sv
|
30
|
+
};
|
31
|
+
//# sourceMappingURL=__intergalactic-dynamic-locales.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"__intergalactic-dynamic-locales.js","names":["de","en","es","fr","it","ja","ko","nl","pt","tr","vi","zh","pl","sv","localizedMessages"],"sources":["../../../src/translations/__intergalactic-dynamic-locales.ts"],"sourcesContent":["import de from './de.json';\nimport en from './en.json';\nimport es from './es.json';\nimport fr from './fr.json';\nimport it from './it.json';\nimport ja from './ja.json';\nimport ko from './ko.json';\nimport nl from './nl.json';\nimport pt from './pt.json';\nimport tr from './tr.json';\nimport vi from './vi.json';\nimport zh from './zh.json';\nimport pl from './pl.json';\nimport sv from './sv.json';\n\nexport const localizedMessages = {\n de,\n en,\n es,\n fr,\n it,\n ja,\n ko,\n nl,\n pt,\n tr,\n vi,\n zh,\n pl,\n sv,\n};\n"],"mappings":"AAAA,OAAOA,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAC1B,OAAOC,EAAE,MAAM,WAAW;AAE1B,OAAO,IAAMC,iBAAiB,GAAG;EAC/Bd,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA,EAAE;EACFC,EAAE,EAAFA;AACF,CAAC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{
|
2
|
+
"learnMore": "Mehr erfahren",
|
3
|
+
"formTitle": "Feedback-Formular",
|
4
|
+
"submitButton": "Feedback senden",
|
5
|
+
"successMessage": "Vielen Dank für Ihr Feedback!",
|
6
|
+
"errorMessage": "Es ist ein Fehler aufgetreten. Versuchen Sie es erneut oder kontaktieren Sie uns unter E-mail."
|
7
|
+
}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
{
|
2
|
+
"leaveFeedback": "Leave feedback",
|
3
|
+
"learnMore": "Learn more",
|
4
|
+
"formTitle": "Feedback form",
|
5
|
+
"submitButton": "Send feedback",
|
6
|
+
"successMessage": "Thank you for your feedback!",
|
7
|
+
"errorMessage": "Something went wrong. Please try again or contact us at {email}."
|
8
|
+
}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
{
|
2
|
+
"learnMore": "En savoir plus",
|
3
|
+
"formTitle": "Formulaire de commentaires",
|
4
|
+
"submitButton": "Envoyer des commentaires",
|
5
|
+
"successMessage": "Merci pour vos commentaires !",
|
6
|
+
"errorMessage": "Une erreur est survenue. Veuillez réessayer ou nous contacter par e-mail."
|
7
|
+
}
|