intergalactic 15.128.0 → 15.129.0-prerelease.0
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 +7 -0
- package/accordion/lib/cjs/Accordion.js +9 -9
- package/accordion/lib/es6/Accordion.js +9 -9
- package/accordion/lib/esm/Accordion.mjs +60 -60
- package/accordion/package.json +1 -1
- package/add-filter/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 +50 -50
- package/base-trigger/lib/esm/ButtonTrigger.mjs +20 -20
- package/base-trigger/lib/esm/FilterTrigger.mjs +79 -79
- package/base-trigger/lib/esm/LinkTrigger.mjs +44 -44
- 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 +41 -41
- package/breadcrumbs/package.json +1 -1
- package/bulk-textarea/lib/cjs/components/InputField/InputField.js +12 -12
- package/bulk-textarea/lib/es6/components/InputField/InputField.js +12 -12
- package/bulk-textarea/lib/esm/components/InputField/InputField.mjs +171 -171
- package/bulk-textarea/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 +14 -14
- 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 +72 -72
- package/carousel/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 +70 -70
- package/color-picker/lib/esm/PaletteManager.mjs +53 -53
- package/color-picker/lib/esm/components/InputColor.mjs +64 -64
- package/color-picker/package.json +1 -1
- package/components.json +29 -29
- 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 +68 -68
- package/d3-chart/lib/esm/semcore/d3-chart/src/Axis.mjs +154 -154
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bar.mjs +62 -62
- package/d3-chart/lib/esm/semcore/d3-chart/src/Bubble.mjs +78 -78
- package/d3-chart/lib/esm/semcore/d3-chart/src/CompactHorizontalBar.mjs +99 -99
- package/d3-chart/lib/esm/semcore/d3-chart/src/Donut.mjs +129 -129
- package/d3-chart/lib/esm/semcore/d3-chart/src/Dots.mjs +35 -35
- package/d3-chart/lib/esm/semcore/d3-chart/src/HorizontalBar.mjs +54 -54
- package/d3-chart/lib/esm/semcore/d3-chart/src/Hover.mjs +17 -17
- package/d3-chart/lib/esm/semcore/d3-chart/src/Line.mjs +85 -85
- package/d3-chart/lib/esm/semcore/d3-chart/src/Plot.mjs +25 -25
- package/d3-chart/lib/esm/semcore/d3-chart/src/Radar.mjs +138 -138
- package/d3-chart/lib/esm/semcore/d3-chart/src/RadialTree.mjs +95 -95
- package/d3-chart/lib/esm/semcore/d3-chart/src/Reference.mjs +65 -65
- package/d3-chart/lib/esm/semcore/d3-chart/src/ScatterPlot.mjs +63 -63
- package/d3-chart/lib/esm/semcore/d3-chart/src/Tooltip.mjs +66 -66
- package/d3-chart/lib/esm/semcore/d3-chart/src/Venn.mjs +62 -62
- 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 +33 -33
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendFlex/LegendFlex.mjs +20 -20
- package/d3-chart/lib/esm/semcore/d3-chart/src/component/ChartLegend/LegendItem/LegendItem.mjs +101 -101
- 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 +69 -69
- package/data-table/lib/esm/DataTable.mjs +253 -253
- 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 +151 -151
- package/date-picker/lib/esm/components/DateRangeComparatorAbstract.mjs +158 -158
- package/date-picker/lib/esm/components/InputTrigger.mjs +232 -232
- package/date-picker/lib/esm/components/PickerAbstract.mjs +89 -89
- package/date-picker/lib/esm/components/RangePickerAbstract.mjs +124 -124
- package/date-picker/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 +225 -225
- package/drag-and-drop/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 +143 -143
- package/dropdown-menu/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 +47 -47
- 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 +2 -2
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +7 -7
- 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 +2 -2
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +7 -7
- package/feedback-form/lib/esm/FeedbackForm.mjs +51 -51
- package/feedback-form/lib/esm/component/checkbox-button/CheckboxButton.mjs +21 -21
- package/feedback-form/lib/esm/component/feedback-rating/FeedbackRating.mjs +41 -41
- package/feedback-form/lib/esm/component/slider-rating/SliderRating.mjs +75 -75
- package/feedback-form/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 +44 -44
- package/fullscreen-modal/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 +33 -33
- 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/icon/platform/AIToolkit/index.d.ts +6 -0
- package/icon/platform/AIToolkit/index.js +36 -0
- package/icon/platform/AIToolkit/index.mjs +25 -0
- package/icon/platform/SEOToolkit/index.js +2 -2
- package/icon/platform/SEOToolkit/index.mjs +2 -2
- 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 +127 -127
- package/inline-input/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 +96 -96
- package/modal/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 +73 -73
- 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 +123 -123
- 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 +49 -49
- package/notice-global/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 +13 -13
- package/pagination/package.json +1 -1
- 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/select/lib/esm/InputSearch.mjs +35 -35
- package/select/lib/esm/Select.mjs +60 -60
- 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 +56 -56
- package/side-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 +184 -184
- package/tag/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 +93 -93
- package/time-picker/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 +20 -20
- package/typography/lib/esm/Hint.mjs +19 -19
- package/typography/lib/esm/List.mjs +36 -36
- package/typography/lib/esm/Text.mjs +53 -53
- package/typography/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 +94 -94
- package/wizard/package.json +1 -1
@@ -1,17 +1,17 @@
|
|
1
1
|
import y from "@babel/runtime/helpers/esm/toConsumableArray";
|
2
|
-
import
|
2
|
+
import m from "@babel/runtime/helpers/esm/objectSpread2";
|
3
3
|
import L from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
4
4
|
import P from "@babel/runtime/helpers/esm/classCallCheck";
|
5
5
|
import C from "@babel/runtime/helpers/esm/createClass";
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import
|
6
|
+
import b from "@babel/runtime/helpers/esm/assertThisInitialized";
|
7
|
+
import k from "@babel/runtime/helpers/esm/inherits";
|
8
|
+
import z from "@babel/runtime/helpers/esm/createSuper";
|
9
9
|
import p from "@babel/runtime/helpers/esm/defineProperty";
|
10
10
|
import { sstyled as M } from 'intergalactic/utils/lib/core/index';
|
11
11
|
import j, { sstyled as _, Component as T, assignProps as h } from 'intergalactic/core';
|
12
|
-
import
|
12
|
+
import l from "react";
|
13
13
|
import { Animation as O } from 'intergalactic/animation';
|
14
|
-
import
|
14
|
+
import f from 'intergalactic/popper';
|
15
15
|
import { Box as x } from 'intergalactic/flex-box';
|
16
16
|
import N from 'intergalactic/icon/Close/m';
|
17
17
|
import { callAllEventHandlers as W } from 'intergalactic/utils/lib/assignProps';
|
@@ -22,41 +22,41 @@ var J = ["styles", "forwardRef", "onVisibleChange", "modifiers"], K = (
|
|
22
22
|
/*__reshadow_css_start__*/
|
23
23
|
(M.insert(
|
24
24
|
/*__inner_css_start__*/
|
25
|
-
'@keyframes
|
26
|
-
"
|
25
|
+
'@keyframes showTrigger_1856l{0%{opacity:0}to{opacity:1}}@keyframes scaleSizeAndHide_1856l{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(2)}}.___SFeaturePopover_1856l_gg_{padding-top:var(--intergalactic-spacing-4x, 16px);padding-right:var(--intergalactic-spacing-10x, 40px);padding-bottom:var(--intergalactic-spacing-4x, 16px);padding-left:var(--intergalactic-spacing-4x, 16px);border-radius:var(--intergalactic-popper-rounded, 6px);box-sizing:border-box;background-color:var(--intergalactic-bg-primary-highlight, #fce081);color:var(--intergalactic-text-primary, #191b23);box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15));position:relative}.___STrigger_1856l_gg_{position:relative}.___SClose_1856l_gg_{position:absolute;z-index:1;right:var(--intergalactic-spacing-2x, 8px);top:var(--intergalactic-spacing-2x, 8px)}.___SClose_1856l_gg_ .___SAddon_1856l_gg_:only-child{margin-left:calc(var(--intergalactic-spacing-2x, 8px) - 1px);margin-right:calc(var(--intergalactic-spacing-2x, 8px) - 1px)}.___SSpot_1856l_gg_{position:absolute;bottom:calc(-1*var(--intergalactic-spacing-1x, 4px));right:calc(-1*var(--intergalactic-spacing-1x, 4px));animation-name:showTrigger_1856l;animation-duration:.2s;animation-timing-function:ease-in;animation-delay:.4s;animation-fill-mode:forwards;width:12px;height:12px}.___SSpot_1856l_gg_::after,.___SSpot_1856l_gg_::before{content:"";position:absolute;top:0;left:0;border-radius:50%;width:12px;height:12px}.___SSpot_1856l_gg_::before{transform-origin:50%;animation-name:scaleSizeAndHide_1856l;animation-duration:1s;animation-iteration-count:infinite;animation-fill-mode:forwards;animation-delay:.5s;background-color:var(--intergalactic-feature-popover-dot-outer-border, #fce081)}.___SSpot_1856l_gg_::after{background-color:var(--intergalactic-bg-primary-highlight, #fce081)}@media (prefers-reduced-motion){.___SSpot_1856l_gg_,.___SSpot_1856l_gg_::before{animation-name:none}}',
|
26
|
+
"1856l_gg_"
|
27
27
|
), {
|
28
|
-
__SFeaturePopover: "
|
29
|
-
__STrigger: "
|
30
|
-
"@showTrigger": "
|
31
|
-
"@scaleSizeAndHide": "
|
32
|
-
__SClose: "
|
33
|
-
__SAddon: "
|
34
|
-
__SSpot: "
|
28
|
+
__SFeaturePopover: "___SFeaturePopover_1856l_gg_",
|
29
|
+
__STrigger: "___STrigger_1856l_gg_",
|
30
|
+
"@showTrigger": "showTrigger_1856l",
|
31
|
+
"@scaleSizeAndHide": "scaleSizeAndHide_1856l",
|
32
|
+
__SClose: "___SClose_1856l_gg_",
|
33
|
+
__SAddon: "___SAddon_1856l_gg_",
|
34
|
+
__SSpot: "___SSpot_1856l_gg_"
|
35
35
|
})
|
36
36
|
), S = (
|
37
37
|
/*__reshadow_css_start__*/
|
38
38
|
(_.insert(
|
39
39
|
/*__inner_css_start__*/
|
40
|
-
"@keyframes
|
41
|
-
"
|
40
|
+
"@keyframes enter_3kp1z{0%{opacity:0;transform:translateX(-10px)}to{opacity:1;transform:translateX(0)}}@keyframes exit_3kp1z{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-10px)}}",
|
41
|
+
"3kp1z_gg_"
|
42
42
|
), {
|
43
|
-
"@enter": "
|
44
|
-
"@exit": "
|
43
|
+
"@enter": "enter_3kp1z",
|
44
|
+
"@exit": "exit_3kp1z"
|
45
45
|
})
|
46
|
-
), g = /* @__PURE__ */ function(
|
47
|
-
|
48
|
-
var n =
|
46
|
+
), g = /* @__PURE__ */ function(s) {
|
47
|
+
k(r, s);
|
48
|
+
var n = z(r);
|
49
49
|
function r() {
|
50
50
|
var t;
|
51
51
|
P(this, r);
|
52
52
|
for (var a = arguments.length, e = new Array(a), o = 0; o < a; o++)
|
53
53
|
e[o] = arguments[o];
|
54
|
-
return t = n.call.apply(n, [this].concat(e)), p(
|
54
|
+
return t = n.call.apply(n, [this].concat(e)), p(b(t), "defaultModifiers", [{
|
55
55
|
name: "flip",
|
56
56
|
enabled: !1
|
57
|
-
}]), p(
|
57
|
+
}]), p(b(t), "handleVisibleChange", function(c) {
|
58
58
|
t.handlers.visible(c);
|
59
|
-
}), p(
|
59
|
+
}), p(b(t), "handleCloseClick", function(c) {
|
60
60
|
t.handlers.visible(!1, c);
|
61
61
|
}), t;
|
62
62
|
}
|
@@ -88,12 +88,12 @@ var J = ["styles", "forwardRef", "onVisibleChange", "modifiers"], K = (
|
|
88
88
|
}, {
|
89
89
|
key: "render",
|
90
90
|
value: function() {
|
91
|
-
var a, e = this.asProps, o = e.styles, c = e.forwardRef, i = e.onVisibleChange,
|
92
|
-
return a = _(o), /* @__PURE__ */
|
91
|
+
var a, e = this.asProps, o = e.styles, c = e.forwardRef, i = e.onVisibleChange, d = e.modifiers, u = d === void 0 ? [] : d, v = L(e, J);
|
92
|
+
return a = _(o), /* @__PURE__ */ l.createElement(f, a.cn("Popper", m({
|
93
93
|
ref: c,
|
94
94
|
onVisibleChange: W(i, this.handleVisibleChange),
|
95
|
-
modifiers: [].concat(y(this.defaultModifiers), y(
|
96
|
-
},
|
95
|
+
modifiers: [].concat(y(this.defaultModifiers), y(u))
|
96
|
+
}, v)));
|
97
97
|
}
|
98
98
|
}]), r;
|
99
99
|
}(T);
|
@@ -111,24 +111,24 @@ p(g, "defaultProps", {
|
|
111
111
|
locale: "en"
|
112
112
|
});
|
113
113
|
p(g, "enhance", [q(w)]);
|
114
|
-
function Q(
|
115
|
-
var n = arguments[0], r, t =
|
116
|
-
return r = _(a), /* @__PURE__ */
|
114
|
+
function Q(s) {
|
115
|
+
var n = arguments[0], r, t = s.Children, a = s.styles, e = f.Trigger;
|
116
|
+
return r = _(a), /* @__PURE__ */ l.createElement(e, r.cn("STrigger", m({}, h({
|
117
117
|
tag: x,
|
118
118
|
"aria-haspopup": !1
|
119
|
-
}, n))), /* @__PURE__ */
|
119
|
+
}, n))), /* @__PURE__ */ l.createElement(t, r.cn("Children", {})));
|
120
120
|
}
|
121
|
-
var A = /* @__PURE__ */ function(
|
122
|
-
|
123
|
-
var n =
|
121
|
+
var A = /* @__PURE__ */ function(s) {
|
122
|
+
k(r, s);
|
123
|
+
var n = z(r);
|
124
124
|
function r() {
|
125
125
|
return P(this, r), n.apply(this, arguments);
|
126
126
|
}
|
127
127
|
return C(r, [{
|
128
128
|
key: "render",
|
129
129
|
value: function() {
|
130
|
-
var a = this.asProps, e, o = x, c = G, i = this.asProps,
|
131
|
-
return e = _(
|
130
|
+
var a = this.asProps, e, o = x, c = G, i = this.asProps, d = i.Children, u = i.styles, v = i.visible, F = i.closeIcon, E = i.duration, I = i.$onCloseClick, $ = i.animationsDisabled, V = i.getI18nText, B = i.zIndex, H = i["aria-label"], D = i["aria-describedBy"], R = i["aria-labelledby"], X = i.title;
|
131
|
+
return e = _(u), /* @__PURE__ */ l.createElement(f.Popper, {
|
132
132
|
disableEnforceFocus: !0,
|
133
133
|
zIndex: B,
|
134
134
|
tabIndex: 0,
|
@@ -138,15 +138,15 @@ var A = /* @__PURE__ */ function(l) {
|
|
138
138
|
"aria-label": H,
|
139
139
|
"aria-labelledby": R,
|
140
140
|
title: X
|
141
|
-
}, /* @__PURE__ */
|
142
|
-
visible:
|
141
|
+
}, /* @__PURE__ */ l.createElement(O, e.cn("Animation", {
|
142
|
+
visible: v,
|
143
143
|
duration: E,
|
144
144
|
keyframes: [S["@enter"], S["@exit"]],
|
145
145
|
initialAnimation: !0,
|
146
146
|
animationsDisabled: $
|
147
|
-
}), /* @__PURE__ */
|
147
|
+
}), /* @__PURE__ */ l.createElement(o, e.cn("SFeaturePopover", m({}, h({
|
148
148
|
__excludeProps: ["aria-label", "aria-describedBy", "title"]
|
149
|
-
}, a))), F && /* @__PURE__ */
|
149
|
+
}, a))), F && /* @__PURE__ */ l.createElement(c, e.cn("SClose", {
|
150
150
|
"aria-label": V("close"),
|
151
151
|
onClick: I,
|
152
152
|
use: "tertiary",
|
@@ -154,7 +154,7 @@ var A = /* @__PURE__ */ function(l) {
|
|
154
154
|
size: "m",
|
155
155
|
addonLeft: N,
|
156
156
|
type: "button"
|
157
|
-
})), /* @__PURE__ */
|
157
|
+
})), /* @__PURE__ */ l.createElement(d, e.cn("Children", {})))));
|
158
158
|
}
|
159
159
|
}]), r;
|
160
160
|
}(T);
|
@@ -164,15 +164,15 @@ p(A, "defaultProps", {
|
|
164
164
|
});
|
165
165
|
var U = function(n) {
|
166
166
|
var r = arguments[0], t, a = x, e = n.styles, o = n.visible;
|
167
|
-
return o ? (t = _(e), /* @__PURE__ */
|
167
|
+
return o ? (t = _(e), /* @__PURE__ */ l.createElement(a, t.cn("SSpot", m({}, h({}, r))))) : null;
|
168
168
|
};
|
169
|
-
const
|
169
|
+
const be = j(g, {
|
170
170
|
Trigger: Q,
|
171
171
|
Popper: A,
|
172
172
|
Spot: U
|
173
173
|
}, {
|
174
|
-
parent:
|
174
|
+
parent: f
|
175
175
|
});
|
176
176
|
export {
|
177
|
-
|
177
|
+
be as default
|
178
178
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/feature-popover","description":"Semrush FeaturePopover Component","version":"4.
|
1
|
+
{"name":"intergalactic/feature-popover","description":"Semrush FeaturePopover Component","version":"4.55.0-prerelease.0","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/button":"5.43.1","@semcore/utils":"4.48.2","@semcore/flex-box":"5.41.2","@semcore/popper":"5.46.2","@semcore/icon":"4.61.0-prerelease.0","@semcore/animation":"2.41.2"},"peerDependencies":{"@semcore/core":"^2.17.5","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/feature-popover"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0","@semcore/button":"*","@semcore/typography":"*","@semcore/dropdown-menu":"*"}}
|
@@ -28,13 +28,13 @@ var _FeedbackItem = require("./component/feedback-item/FeedbackItem");
|
|
28
28
|
var _SubmitButton = require("./component/submit-button/SubmitButton");
|
29
29
|
var _excluded = ["Children", "styles", "forwardRef", "loading", "background", "theme"];
|
30
30
|
/*__reshadow-styles__:"./style/feedback-form.shadow.css"*/
|
31
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
32
|
-
"__SFeedbackForm": "
|
33
|
-
"__SSubmit": "
|
34
|
-
"__SCancel": "
|
35
|
-
"__SNotice": "
|
36
|
-
"__SSuccess": "
|
37
|
-
"__SEmail": "
|
31
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SFeedbackForm_5hg5z_gg_{max-width:320px}.___SCancel_5hg5z_gg_,.___SSubmit_5hg5z_gg_{display:inline-flex;margin-right:var(--intergalactic-spacing-2x, 8px)}.___SNotice_5hg5z_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-4x, 16px);border-width:1px 0 0;border-top-style:solid;border-radius:0 0 var(--intergalactic-surface-rounded, 6px) var(--intergalactic-surface-rounded, 6px)}.___SSuccess_5hg5z_gg_{display:flex;align-items:center;flex-direction:column;width:320px;padding:var(--intergalactic-spacing-10x, 40px);box-sizing:border-box;outline:0}.___SEmail_5hg5z_gg_{margin-bottom:calc(var(--intergalactic-spacing-4x, 16px) + var(--intergalactic-spacing-05x, 2px));width:80px;height:80px;background-image:url(\"data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28.1632 6.00003C27.9554 5.99875 27.7493 6.03875 27.5571 6.11772C27.3648 6.19668 27.1902 6.31304 27.0432 6.46003L14.1332 19.38C7.645 25.8687 4 34.669 4 43.845C4 53.0211 7.645 61.8213 14.1332 68.31C17.3463 71.5242 21.1611 74.0738 25.3597 75.8134C29.5583 77.5529 34.0585 78.4482 38.6032 78.4482C43.1479 78.4482 47.6481 77.5529 51.8467 75.8134C56.0454 74.0738 59.8602 71.5242 63.0732 68.31L75.9832 55.4C76.1316 55.2536 76.2495 55.0792 76.3301 54.887C76.4108 54.6948 76.4526 54.4885 76.4532 54.28V6.89003C76.4506 6.65307 76.3546 6.42671 76.1861 6.26009C76.0176 6.09346 75.7902 6.00002 75.5532 6.00003H28.1632Z' fill='%2345E0A8'/%3E%3Cpath d='M29 45.2852L29.2 45.6352C35.39 42.1852 53.39 31.9652 56.73 35.1052C55.6 32.0052 39.7 35.4352 29 45.2852Z' fill='white'/%3E%3Cpath d='M28.44 31.6343C26.63 37.6343 19.23 56.1043 15 61.9443L18 62.8543L19.58 61.5343C23.8 51.9843 29.58 35.5343 29.89 30.0743C29.39 29.8143 28.93 30.2143 28.44 31.6343Z' fill='white'/%3E%3Cpath d='M15 62.0078C19.23 56.1678 26.63 37.7378 28.44 31.6678C30.25 25.5978 33.49 37.6678 31.67 42.7878' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M28 45.9424C38.68 35.5824 55.27 31.9424 56.43 35.1024C57.12 36.9924 43 41.3624 38.02 47.4224' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M44.45 21.93C41.21 20.77 35.86 19.04 33 18.24C37.12 16.41 70 4.24 72.67 3C71.75 7.11 67.75 21.28 65.96 27.93C61.13 26.25 56.23 24.78 53.03 23.74C51.0298 26.3907 49.2219 29.1812 47.62 32.09C46.44 28.23 45.29 23.77 44.45 21.93Z' fill='white' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M45 22.08L61.74 11' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M53 23.73L72.64 3' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M48 32.58L55.86 25' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M48.23 30.77L51.69 25.13L52.66 24L54.73 24.61L55.16 24.48L51.8 27.91L49.33 30.18L48 31.29L48.23 30.77Z' fill='black'/%3E%3Cpath d='M33.81 22L23 27.12' stroke='white' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M40.89 23L34 27.37' stroke='white' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M62.04 29L58 38.85' stroke='white' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M46.68 41C50.29 43.42 44.81 49.52 43 51.12' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M47.17 44C51.31 46.09 48.33 51.76 46 54.6' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M48.86 49C54.37 53.48 36.31 72.72 35 73.78' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cmask id='mask0_11950_117175' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='4' y='6' width='73' height='73'%3E%3Cpath d='M28.1632 6.00003C27.9554 5.99875 27.7493 6.03875 27.5571 6.11772C27.3648 6.19668 27.1902 6.31304 27.0432 6.46003L14.1332 19.38C7.645 25.8687 4 34.669 4 43.845C4 53.0211 7.645 61.8213 14.1332 68.31C17.3463 71.5242 21.1611 74.0738 25.3597 75.8134C29.5583 77.5529 34.0585 78.4482 38.6032 78.4482C43.1479 78.4482 47.6481 77.5529 51.8467 75.8134C56.0454 74.0738 59.8602 71.5242 63.0732 68.31L75.9832 55.4C76.1316 55.2536 76.2495 55.0792 76.3301 54.887C76.4108 54.6948 76.4526 54.4885 76.4532 54.28V6.89003C76.4506 6.65307 76.3546 6.42671 76.1861 6.26009C76.0176 6.09346 75.7902 6.00002 75.5532 6.00003H28.1632Z' fill='%2345DFA7'/%3E%3C/mask%3E%3Cg mask='url(%23mask0_11950_117175)'%3E%3Cpath d='M5 74.6871C7.49 72.3471 13.24 63.6871 14.52 61.2471C28.18 59.1271 34.71 71.2471 34.98 74.7671C32.7234 79.651 30.1305 84.3723 27.22 88.8971' fill='black'/%3E%3Cpath d='M5 74.6871C7.49 72.3471 13.24 63.6871 14.52 61.2471C28.18 59.1271 34.71 71.2471 34.98 74.7671C32.7234 79.651 30.1305 84.3723 27.22 88.8971' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A\")}" /*__inner_css_end__*/, "5hg5z_gg_") /*__reshadow_css_end__*/, {
|
32
|
+
"__SFeedbackForm": "___SFeedbackForm_5hg5z_gg_",
|
33
|
+
"__SSubmit": "___SSubmit_5hg5z_gg_",
|
34
|
+
"__SCancel": "___SCancel_5hg5z_gg_",
|
35
|
+
"__SNotice": "___SNotice_5hg5z_gg_",
|
36
|
+
"__SSuccess": "___SSuccess_5hg5z_gg_",
|
37
|
+
"__SEmail": "___SEmail_5hg5z_gg_"
|
38
38
|
});
|
39
39
|
var FeedbackForm = /*#__PURE__*/function (_Component) {
|
40
40
|
(0, _inherits2["default"])(FeedbackForm, _Component);
|
@@ -20,9 +20,9 @@ var _flexBox = require("intergalactic/flex-box");
|
|
20
20
|
var _checkbox = _interopRequireDefault(require("intergalactic/checkbox"));
|
21
21
|
var _excluded = ["styles", "id", "label", "type", "focused"];
|
22
22
|
/*__reshadow-styles__:"../../style/checkbox-button.shadow.css"*/
|
23
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
24
|
-
"__SCheckboxButton": "
|
25
|
-
"_checked": "
|
23
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SCheckboxButton_jto54_gg_{margin-top:var(--intergalactic-spacing-2x, 8px);border:1px solid var(--intergalactic-border-primary, #c4c7cf);border-radius:var(--intergalactic-rounded-medium, 6px)}.___SCheckboxButton_jto54_gg_ label{width:100%;padding:var(--intergalactic-spacing-3x, 12px);box-sizing:border-box}.___SCheckboxButton_jto54_gg_.__checked_jto54_gg_{cursor:pointer;border-color:var(--intergalactic-border-info-active, #006dca);background-color:rgba(0,143,248,.1)}@media (hover:hover){.___SCheckboxButton_jto54_gg_:hover{cursor:pointer;border-color:var(--intergalactic-border-info-active, #006dca);background-color:rgba(0,143,248,.1)}.___SCheckboxButton_jto54_gg_.__checked_jto54_gg_:hover{background-color:rgba(0,143,248,.2)}}" /*__inner_css_end__*/, "jto54_gg_") /*__reshadow_css_end__*/, {
|
24
|
+
"__SCheckboxButton": "___SCheckboxButton_jto54_gg_",
|
25
|
+
"_checked": "__checked_jto54_gg_"
|
26
26
|
});
|
27
27
|
var CheckboxButtonRoot = /*#__PURE__*/function (_Component) {
|
28
28
|
(0, _inherits2["default"])(CheckboxButtonRoot, _Component);
|
@@ -41,8 +41,8 @@ var _intergalacticDynamicLocales = require("../../translations/__intergalactic-d
|
|
41
41
|
var _noticeBubble = require("intergalactic/notice-bubble");
|
42
42
|
var _excluded = ["header", "submitText", "formConfig", "notificationText", "notificationTitle", "learnMoreLink", "Children", "styles", "forwardRef", "status", "theme", "background", "rating", "visible", "onVisibleChange", "notificationVisible", "onNotificationClose", "getI18nText", "errorFeedbackEmail", "modalWidth"];
|
43
43
|
/*__reshadow-styles__:"../../style/feedback-rating.shadow.css"*/
|
44
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
45
|
-
"__SFeedbackRating": "
|
44
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SFeedbackRating_k4kjq_gg_ ul{margin:0;padding:0;list-style:none}.___SFeedbackRating_k4kjq_gg_ li{list-style:none}" /*__inner_css_end__*/, "k4kjq_gg_") /*__reshadow_css_end__*/, {
|
45
|
+
"__SFeedbackRating": "___SFeedbackRating_k4kjq_gg_"
|
46
46
|
});
|
47
47
|
var FeedbackRatingRoot = /*#__PURE__*/function (_Component) {
|
48
48
|
(0, _inherits2["default"])(FeedbackRatingRoot, _Component);
|
@@ -22,13 +22,13 @@ var _uniqueID = _interopRequireDefault(require("intergalactic/utils/lib/uniqueID
|
|
22
22
|
var _i18nEnhance = _interopRequireDefault(require("intergalactic/utils/lib/enhances/i18nEnhance"));
|
23
23
|
var _intergalacticDynamicLocales = require("../../translations/__intergalactic-dynamic-locales");
|
24
24
|
/*__reshadow-styles__:"../../style/slider-rating.shadow.css"*/
|
25
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
26
|
-
"__SSliderRating": "
|
27
|
-
"__SStar": "
|
28
|
-
"_keyboardFocused": "
|
29
|
-
"_hovered": "
|
30
|
-
"_readonly": "
|
31
|
-
"_filled": "
|
25
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SSliderRating_18sxh_gg_ .___SStar_18sxh_gg_{transition:all calc(var(--intergalactic-duration-control, 200)*1ms) ease-out}.___SSliderRating_18sxh_gg_.__keyboardFocused_18sxh_gg_ .___SStar_18sxh_gg_.__hovered_18sxh_gg_{cursor:pointer;transform:scale(1.3)}@media (hover:hover){.___SSliderRating_18sxh_gg_ .___SStar_18sxh_gg_:hover{cursor:pointer;transform:scale(1.3)}}.___SSliderRating_18sxh_gg_.__keyboardFocused_18sxh_gg_{outline:0;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}@media (hover:hover){.___SSliderRating_18sxh_gg_.__readonly_18sxh_gg_ .___SStar_18sxh_gg_:hover{cursor:default;transform:none;transition:none}}.___SStar_18sxh_gg_.__filled_18sxh_gg_:active{animation:wobble .8s ease-in-out}.___SStar_18sxh_gg_ path{fill:var(--intergalactic-slider-rating-normal, #a9abb6)}.___SStar_18sxh_gg_.__filled_18sxh_gg_ path{stroke-width:0;fill:var(--intergalactic-slider-rating-hover-active, #fdc23c)}" /*__inner_css_end__*/, "18sxh_gg_") /*__reshadow_css_end__*/, {
|
26
|
+
"__SSliderRating": "___SSliderRating_18sxh_gg_",
|
27
|
+
"__SStar": "___SStar_18sxh_gg_",
|
28
|
+
"_keyboardFocused": "__keyboardFocused_18sxh_gg_",
|
29
|
+
"_hovered": "__hovered_18sxh_gg_",
|
30
|
+
"_readonly": "__readonly_18sxh_gg_",
|
31
|
+
"_filled": "__filled_18sxh_gg_"
|
32
32
|
});
|
33
33
|
var MIN = 1;
|
34
34
|
var MAX = 5;
|
@@ -23,13 +23,13 @@ import { Box } from 'intergalactic/flex-box';
|
|
23
23
|
import { FeedbackItem } from './component/feedback-item/FeedbackItem';
|
24
24
|
import { SubmitButton } from './component/submit-button/SubmitButton';
|
25
25
|
/*__reshadow-styles__:"./style/feedback-form.shadow.css"*/
|
26
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
27
|
-
"__SFeedbackForm": "
|
28
|
-
"__SSubmit": "
|
29
|
-
"__SCancel": "
|
30
|
-
"__SNotice": "
|
31
|
-
"__SSuccess": "
|
32
|
-
"__SEmail": "
|
26
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SFeedbackForm_5hg5z_gg_{max-width:320px}.___SCancel_5hg5z_gg_,.___SSubmit_5hg5z_gg_{display:inline-flex;margin-right:var(--intergalactic-spacing-2x, 8px)}.___SNotice_5hg5z_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-4x, 16px);border-width:1px 0 0;border-top-style:solid;border-radius:0 0 var(--intergalactic-surface-rounded, 6px) var(--intergalactic-surface-rounded, 6px)}.___SSuccess_5hg5z_gg_{display:flex;align-items:center;flex-direction:column;width:320px;padding:var(--intergalactic-spacing-10x, 40px);box-sizing:border-box;outline:0}.___SEmail_5hg5z_gg_{margin-bottom:calc(var(--intergalactic-spacing-4x, 16px) + var(--intergalactic-spacing-05x, 2px));width:80px;height:80px;background-image:url(\"data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28.1632 6.00003C27.9554 5.99875 27.7493 6.03875 27.5571 6.11772C27.3648 6.19668 27.1902 6.31304 27.0432 6.46003L14.1332 19.38C7.645 25.8687 4 34.669 4 43.845C4 53.0211 7.645 61.8213 14.1332 68.31C17.3463 71.5242 21.1611 74.0738 25.3597 75.8134C29.5583 77.5529 34.0585 78.4482 38.6032 78.4482C43.1479 78.4482 47.6481 77.5529 51.8467 75.8134C56.0454 74.0738 59.8602 71.5242 63.0732 68.31L75.9832 55.4C76.1316 55.2536 76.2495 55.0792 76.3301 54.887C76.4108 54.6948 76.4526 54.4885 76.4532 54.28V6.89003C76.4506 6.65307 76.3546 6.42671 76.1861 6.26009C76.0176 6.09346 75.7902 6.00002 75.5532 6.00003H28.1632Z' fill='%2345E0A8'/%3E%3Cpath d='M29 45.2852L29.2 45.6352C35.39 42.1852 53.39 31.9652 56.73 35.1052C55.6 32.0052 39.7 35.4352 29 45.2852Z' fill='white'/%3E%3Cpath d='M28.44 31.6343C26.63 37.6343 19.23 56.1043 15 61.9443L18 62.8543L19.58 61.5343C23.8 51.9843 29.58 35.5343 29.89 30.0743C29.39 29.8143 28.93 30.2143 28.44 31.6343Z' fill='white'/%3E%3Cpath d='M15 62.0078C19.23 56.1678 26.63 37.7378 28.44 31.6678C30.25 25.5978 33.49 37.6678 31.67 42.7878' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M28 45.9424C38.68 35.5824 55.27 31.9424 56.43 35.1024C57.12 36.9924 43 41.3624 38.02 47.4224' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M44.45 21.93C41.21 20.77 35.86 19.04 33 18.24C37.12 16.41 70 4.24 72.67 3C71.75 7.11 67.75 21.28 65.96 27.93C61.13 26.25 56.23 24.78 53.03 23.74C51.0298 26.3907 49.2219 29.1812 47.62 32.09C46.44 28.23 45.29 23.77 44.45 21.93Z' fill='white' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M45 22.08L61.74 11' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M53 23.73L72.64 3' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M48 32.58L55.86 25' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M48.23 30.77L51.69 25.13L52.66 24L54.73 24.61L55.16 24.48L51.8 27.91L49.33 30.18L48 31.29L48.23 30.77Z' fill='black'/%3E%3Cpath d='M33.81 22L23 27.12' stroke='white' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M40.89 23L34 27.37' stroke='white' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M62.04 29L58 38.85' stroke='white' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M46.68 41C50.29 43.42 44.81 49.52 43 51.12' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M47.17 44C51.31 46.09 48.33 51.76 46 54.6' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M48.86 49C54.37 53.48 36.31 72.72 35 73.78' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cmask id='mask0_11950_117175' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='4' y='6' width='73' height='73'%3E%3Cpath d='M28.1632 6.00003C27.9554 5.99875 27.7493 6.03875 27.5571 6.11772C27.3648 6.19668 27.1902 6.31304 27.0432 6.46003L14.1332 19.38C7.645 25.8687 4 34.669 4 43.845C4 53.0211 7.645 61.8213 14.1332 68.31C17.3463 71.5242 21.1611 74.0738 25.3597 75.8134C29.5583 77.5529 34.0585 78.4482 38.6032 78.4482C43.1479 78.4482 47.6481 77.5529 51.8467 75.8134C56.0454 74.0738 59.8602 71.5242 63.0732 68.31L75.9832 55.4C76.1316 55.2536 76.2495 55.0792 76.3301 54.887C76.4108 54.6948 76.4526 54.4885 76.4532 54.28V6.89003C76.4506 6.65307 76.3546 6.42671 76.1861 6.26009C76.0176 6.09346 75.7902 6.00002 75.5532 6.00003H28.1632Z' fill='%2345DFA7'/%3E%3C/mask%3E%3Cg mask='url(%23mask0_11950_117175)'%3E%3Cpath d='M5 74.6871C7.49 72.3471 13.24 63.6871 14.52 61.2471C28.18 59.1271 34.71 71.2471 34.98 74.7671C32.7234 79.651 30.1305 84.3723 27.22 88.8971' fill='black'/%3E%3Cpath d='M5 74.6871C7.49 72.3471 13.24 63.6871 14.52 61.2471C28.18 59.1271 34.71 71.2471 34.98 74.7671C32.7234 79.651 30.1305 84.3723 27.22 88.8971' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A\")}" /*__inner_css_end__*/, "5hg5z_gg_") /*__reshadow_css_end__*/, {
|
27
|
+
"__SFeedbackForm": "___SFeedbackForm_5hg5z_gg_",
|
28
|
+
"__SSubmit": "___SSubmit_5hg5z_gg_",
|
29
|
+
"__SCancel": "___SCancel_5hg5z_gg_",
|
30
|
+
"__SNotice": "___SNotice_5hg5z_gg_",
|
31
|
+
"__SSuccess": "___SSuccess_5hg5z_gg_",
|
32
|
+
"__SEmail": "___SEmail_5hg5z_gg_"
|
33
33
|
});
|
34
34
|
var FeedbackForm = /*#__PURE__*/function (_Component) {
|
35
35
|
_inherits(FeedbackForm, _Component);
|
@@ -12,9 +12,9 @@ import React from 'react';
|
|
12
12
|
import createComponent, { Component, Root, sstyled } from 'intergalactic/core';
|
13
13
|
import { Box } from 'intergalactic/flex-box';
|
14
14
|
/*__reshadow-styles__:"../../style/checkbox-button.shadow.css"*/
|
15
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
16
|
-
"__SCheckboxButton": "
|
17
|
-
"_checked": "
|
15
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SCheckboxButton_jto54_gg_{margin-top:var(--intergalactic-spacing-2x, 8px);border:1px solid var(--intergalactic-border-primary, #c4c7cf);border-radius:var(--intergalactic-rounded-medium, 6px)}.___SCheckboxButton_jto54_gg_ label{width:100%;padding:var(--intergalactic-spacing-3x, 12px);box-sizing:border-box}.___SCheckboxButton_jto54_gg_.__checked_jto54_gg_{cursor:pointer;border-color:var(--intergalactic-border-info-active, #006dca);background-color:rgba(0,143,248,.1)}@media (hover:hover){.___SCheckboxButton_jto54_gg_:hover{cursor:pointer;border-color:var(--intergalactic-border-info-active, #006dca);background-color:rgba(0,143,248,.1)}.___SCheckboxButton_jto54_gg_.__checked_jto54_gg_:hover{background-color:rgba(0,143,248,.2)}}" /*__inner_css_end__*/, "jto54_gg_") /*__reshadow_css_end__*/, {
|
16
|
+
"__SCheckboxButton": "___SCheckboxButton_jto54_gg_",
|
17
|
+
"_checked": "__checked_jto54_gg_"
|
18
18
|
});
|
19
19
|
import Checkbox from 'intergalactic/checkbox';
|
20
20
|
var CheckboxButtonRoot = /*#__PURE__*/function (_Component) {
|
@@ -36,8 +36,8 @@ import Input from 'intergalactic/input';
|
|
36
36
|
import { localizedMessages } from '../../translations/__intergalactic-dynamic-locales';
|
37
37
|
import { NoticeBubbleContainer, NoticeBubbleManager } from 'intergalactic/notice-bubble';
|
38
38
|
/*__reshadow-styles__:"../../style/feedback-rating.shadow.css"*/
|
39
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
40
|
-
"__SFeedbackRating": "
|
39
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SFeedbackRating_k4kjq_gg_ ul{margin:0;padding:0;list-style:none}.___SFeedbackRating_k4kjq_gg_ li{list-style:none}" /*__inner_css_end__*/, "k4kjq_gg_") /*__reshadow_css_end__*/, {
|
40
|
+
"__SFeedbackRating": "___SFeedbackRating_k4kjq_gg_"
|
41
41
|
});
|
42
42
|
var FeedbackRatingRoot = /*#__PURE__*/function (_Component) {
|
43
43
|
_inherits(FeedbackRatingRoot, _Component);
|
@@ -13,13 +13,13 @@ import React from 'react';
|
|
13
13
|
import createComponent, { Component, Root, sstyled } from 'intergalactic/core';
|
14
14
|
import { Flex, Box } from 'intergalactic/flex-box';
|
15
15
|
/*__reshadow-styles__:"../../style/slider-rating.shadow.css"*/
|
16
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
17
|
-
"__SSliderRating": "
|
18
|
-
"__SStar": "
|
19
|
-
"_keyboardFocused": "
|
20
|
-
"_hovered": "
|
21
|
-
"_readonly": "
|
22
|
-
"_filled": "
|
16
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SSliderRating_18sxh_gg_ .___SStar_18sxh_gg_{transition:all calc(var(--intergalactic-duration-control, 200)*1ms) ease-out}.___SSliderRating_18sxh_gg_.__keyboardFocused_18sxh_gg_ .___SStar_18sxh_gg_.__hovered_18sxh_gg_{cursor:pointer;transform:scale(1.3)}@media (hover:hover){.___SSliderRating_18sxh_gg_ .___SStar_18sxh_gg_:hover{cursor:pointer;transform:scale(1.3)}}.___SSliderRating_18sxh_gg_.__keyboardFocused_18sxh_gg_{outline:0;box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}@media (hover:hover){.___SSliderRating_18sxh_gg_.__readonly_18sxh_gg_ .___SStar_18sxh_gg_:hover{cursor:default;transform:none;transition:none}}.___SStar_18sxh_gg_.__filled_18sxh_gg_:active{animation:wobble .8s ease-in-out}.___SStar_18sxh_gg_ path{fill:var(--intergalactic-slider-rating-normal, #a9abb6)}.___SStar_18sxh_gg_.__filled_18sxh_gg_ path{stroke-width:0;fill:var(--intergalactic-slider-rating-hover-active, #fdc23c)}" /*__inner_css_end__*/, "18sxh_gg_") /*__reshadow_css_end__*/, {
|
17
|
+
"__SSliderRating": "___SSliderRating_18sxh_gg_",
|
18
|
+
"__SStar": "___SStar_18sxh_gg_",
|
19
|
+
"_keyboardFocused": "__keyboardFocused_18sxh_gg_",
|
20
|
+
"_hovered": "__hovered_18sxh_gg_",
|
21
|
+
"_readonly": "__readonly_18sxh_gg_",
|
22
|
+
"_filled": "__filled_18sxh_gg_"
|
23
23
|
});
|
24
24
|
import keyboardFocusEnhance from 'intergalactic/utils/lib/enhances/keyboardFocusEnhance';
|
25
25
|
import uniqueIDEnhancement from 'intergalactic/utils/lib/uniqueID';
|
@@ -1,48 +1,48 @@
|
|
1
|
-
import
|
1
|
+
import x from "@babel/runtime/helpers/esm/extends";
|
2
2
|
import d from "@babel/runtime/helpers/esm/objectSpread2";
|
3
|
-
import
|
4
|
-
import
|
5
|
-
import
|
6
|
-
import
|
7
|
-
import
|
8
|
-
import
|
3
|
+
import y from "@babel/runtime/helpers/esm/objectWithoutProperties";
|
4
|
+
import F from "@babel/runtime/helpers/esm/classCallCheck";
|
5
|
+
import L from "@babel/runtime/helpers/esm/createClass";
|
6
|
+
import M from "@babel/runtime/helpers/esm/assertThisInitialized";
|
7
|
+
import j from "@babel/runtime/helpers/esm/inherits";
|
8
|
+
import z from "@babel/runtime/helpers/esm/createSuper";
|
9
9
|
import l from "@babel/runtime/helpers/esm/defineProperty";
|
10
|
-
import { sstyled as
|
11
|
-
import
|
10
|
+
import { sstyled as P } from 'intergalactic/utils/lib/core/index';
|
11
|
+
import N, { sstyled as u, Component as B, assignProps as h } from 'intergalactic/core';
|
12
12
|
import s from "react";
|
13
|
-
import { Form as f, Field as
|
14
|
-
import
|
15
|
-
import
|
16
|
-
import
|
17
|
-
import { NoticeSmart as
|
13
|
+
import { Form as f, Field as I } from "react-final-form";
|
14
|
+
import Z from "final-form-focus";
|
15
|
+
import $ from 'intergalactic/button';
|
16
|
+
import A from 'intergalactic/spin-container';
|
17
|
+
import { NoticeSmart as D } from 'intergalactic/notice';
|
18
18
|
import { Box as S } from 'intergalactic/flex-box';
|
19
|
-
import { FeedbackItem as
|
20
|
-
import { SubmitButton as
|
19
|
+
import { FeedbackItem as O } from "./component/feedback-item/FeedbackItem.mjs";
|
20
|
+
import { SubmitButton as R } from "./component/submit-button/SubmitButton.mjs";
|
21
21
|
var V = ["Children", "styles", "forwardRef", "loading", "background", "theme"], v = (
|
22
22
|
/*__reshadow_css_start__*/
|
23
|
-
(
|
23
|
+
(P.insert(
|
24
24
|
/*__inner_css_start__*/
|
25
|
-
`.
|
26
|
-
"
|
25
|
+
`.___SFeedbackForm_5hg5z_gg_{max-width:320px}.___SCancel_5hg5z_gg_,.___SSubmit_5hg5z_gg_{display:inline-flex;margin-right:var(--intergalactic-spacing-2x, 8px)}.___SNotice_5hg5z_gg_{padding:var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-4x, 16px);border-width:1px 0 0;border-top-style:solid;border-radius:0 0 var(--intergalactic-surface-rounded, 6px) var(--intergalactic-surface-rounded, 6px)}.___SSuccess_5hg5z_gg_{display:flex;align-items:center;flex-direction:column;width:320px;padding:var(--intergalactic-spacing-10x, 40px);box-sizing:border-box;outline:0}.___SEmail_5hg5z_gg_{margin-bottom:calc(var(--intergalactic-spacing-4x, 16px) + var(--intergalactic-spacing-05x, 2px));width:80px;height:80px;background-image:url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M28.1632 6.00003C27.9554 5.99875 27.7493 6.03875 27.5571 6.11772C27.3648 6.19668 27.1902 6.31304 27.0432 6.46003L14.1332 19.38C7.645 25.8687 4 34.669 4 43.845C4 53.0211 7.645 61.8213 14.1332 68.31C17.3463 71.5242 21.1611 74.0738 25.3597 75.8134C29.5583 77.5529 34.0585 78.4482 38.6032 78.4482C43.1479 78.4482 47.6481 77.5529 51.8467 75.8134C56.0454 74.0738 59.8602 71.5242 63.0732 68.31L75.9832 55.4C76.1316 55.2536 76.2495 55.0792 76.3301 54.887C76.4108 54.6948 76.4526 54.4885 76.4532 54.28V6.89003C76.4506 6.65307 76.3546 6.42671 76.1861 6.26009C76.0176 6.09346 75.7902 6.00002 75.5532 6.00003H28.1632Z' fill='%2345E0A8'/%3E%3Cpath d='M29 45.2852L29.2 45.6352C35.39 42.1852 53.39 31.9652 56.73 35.1052C55.6 32.0052 39.7 35.4352 29 45.2852Z' fill='white'/%3E%3Cpath d='M28.44 31.6343C26.63 37.6343 19.23 56.1043 15 61.9443L18 62.8543L19.58 61.5343C23.8 51.9843 29.58 35.5343 29.89 30.0743C29.39 29.8143 28.93 30.2143 28.44 31.6343Z' fill='white'/%3E%3Cpath d='M15 62.0078C19.23 56.1678 26.63 37.7378 28.44 31.6678C30.25 25.5978 33.49 37.6678 31.67 42.7878' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M28 45.9424C38.68 35.5824 55.27 31.9424 56.43 35.1024C57.12 36.9924 43 41.3624 38.02 47.4224' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M44.45 21.93C41.21 20.77 35.86 19.04 33 18.24C37.12 16.41 70 4.24 72.67 3C71.75 7.11 67.75 21.28 65.96 27.93C61.13 26.25 56.23 24.78 53.03 23.74C51.0298 26.3907 49.2219 29.1812 47.62 32.09C46.44 28.23 45.29 23.77 44.45 21.93Z' fill='white' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M45 22.08L61.74 11' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M53 23.73L72.64 3' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M48 32.58L55.86 25' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M48.23 30.77L51.69 25.13L52.66 24L54.73 24.61L55.16 24.48L51.8 27.91L49.33 30.18L48 31.29L48.23 30.77Z' fill='black'/%3E%3Cpath d='M33.81 22L23 27.12' stroke='white' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M40.89 23L34 27.37' stroke='white' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M62.04 29L58 38.85' stroke='white' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M46.68 41C50.29 43.42 44.81 49.52 43 51.12' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M47.17 44C51.31 46.09 48.33 51.76 46 54.6' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M48.86 49C54.37 53.48 36.31 72.72 35 73.78' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cmask id='mask0_11950_117175' style='mask-type:alpha' maskUnits='userSpaceOnUse' x='4' y='6' width='73' height='73'%3E%3Cpath d='M28.1632 6.00003C27.9554 5.99875 27.7493 6.03875 27.5571 6.11772C27.3648 6.19668 27.1902 6.31304 27.0432 6.46003L14.1332 19.38C7.645 25.8687 4 34.669 4 43.845C4 53.0211 7.645 61.8213 14.1332 68.31C17.3463 71.5242 21.1611 74.0738 25.3597 75.8134C29.5583 77.5529 34.0585 78.4482 38.6032 78.4482C43.1479 78.4482 47.6481 77.5529 51.8467 75.8134C56.0454 74.0738 59.8602 71.5242 63.0732 68.31L75.9832 55.4C76.1316 55.2536 76.2495 55.0792 76.3301 54.887C76.4108 54.6948 76.4526 54.4885 76.4532 54.28V6.89003C76.4506 6.65307 76.3546 6.42671 76.1861 6.26009C76.0176 6.09346 75.7902 6.00002 75.5532 6.00003H28.1632Z' fill='%2345DFA7'/%3E%3C/mask%3E%3Cg mask='url(%23mask0_11950_117175)'%3E%3Cpath d='M5 74.6871C7.49 72.3471 13.24 63.6871 14.52 61.2471C28.18 59.1271 34.71 71.2471 34.98 74.7671C32.7234 79.651 30.1305 84.3723 27.22 88.8971' fill='black'/%3E%3Cpath d='M5 74.6871C7.49 72.3471 13.24 63.6871 14.52 61.2471C28.18 59.1271 34.71 71.2471 34.98 74.7671C32.7234 79.651 30.1305 84.3723 27.22 88.8971' stroke='black' stroke-width='0.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3C/svg%3E%0A")}`,
|
26
|
+
"5hg5z_gg_"
|
27
27
|
), {
|
28
|
-
__SFeedbackForm: "
|
29
|
-
__SSubmit: "
|
30
|
-
__SCancel: "
|
31
|
-
__SNotice: "
|
32
|
-
__SSuccess: "
|
33
|
-
__SEmail: "
|
28
|
+
__SFeedbackForm: "___SFeedbackForm_5hg5z_gg_",
|
29
|
+
__SSubmit: "___SSubmit_5hg5z_gg_",
|
30
|
+
__SCancel: "___SCancel_5hg5z_gg_",
|
31
|
+
__SNotice: "___SNotice_5hg5z_gg_",
|
32
|
+
__SSuccess: "___SSuccess_5hg5z_gg_",
|
33
|
+
__SEmail: "___SEmail_5hg5z_gg_"
|
34
34
|
})
|
35
35
|
), c = /* @__PURE__ */ function(i) {
|
36
|
-
|
37
|
-
var a =
|
36
|
+
j(e, i);
|
37
|
+
var a = z(e);
|
38
38
|
function e() {
|
39
39
|
var r;
|
40
|
-
|
40
|
+
F(this, e);
|
41
41
|
for (var t = arguments.length, o = new Array(t), n = 0; n < t; n++)
|
42
42
|
o[n] = arguments[n];
|
43
|
-
return r = a.call.apply(a, [this].concat(o)), l(
|
43
|
+
return r = a.call.apply(a, [this].concat(o)), l(M(r), "focusDecorator", Z()), r;
|
44
44
|
}
|
45
|
-
return
|
45
|
+
return L(e, [{
|
46
46
|
key: "getItemProps",
|
47
47
|
value: function() {
|
48
48
|
var t = this.asProps.validateOnBlur;
|
@@ -53,32 +53,32 @@ var V = ["Children", "styles", "forwardRef", "loading", "background", "theme"],
|
|
53
53
|
}, {
|
54
54
|
key: "render",
|
55
55
|
value: function() {
|
56
|
-
var t = S, o = this.asProps, n = o.Children,
|
57
|
-
return /* @__PURE__ */ s.createElement(f,
|
56
|
+
var t = S, o = this.asProps, n = o.Children, _ = o.styles, g = o.forwardRef, C = o.loading, E = o.background, w = o.theme, k = y(o, V);
|
57
|
+
return /* @__PURE__ */ s.createElement(f, x({
|
58
58
|
decorators: [this.focusDecorator]
|
59
|
-
}, k), function(
|
59
|
+
}, k), function(p) {
|
60
60
|
var m;
|
61
|
-
return m = u(
|
62
|
-
background:
|
63
|
-
theme:
|
61
|
+
return m = u(_), /* @__PURE__ */ s.createElement(A, m.cn("SpinContainer", {
|
62
|
+
background: E,
|
63
|
+
theme: w,
|
64
64
|
size: "xl",
|
65
|
-
loading:
|
65
|
+
loading: C === void 0 ? p.submitting : C
|
66
66
|
}), /* @__PURE__ */ s.createElement(t, m.cn("SFeedbackForm", d(d({
|
67
67
|
tag: "form",
|
68
68
|
noValidate: !0,
|
69
69
|
method: "POST",
|
70
|
-
ref:
|
70
|
+
ref: g
|
71
71
|
}, k), {}, {
|
72
|
-
onSubmit:
|
73
|
-
})), typeof n.origin == "function" ? n.origin(
|
72
|
+
onSubmit: p.handleSubmit
|
73
|
+
})), typeof n.origin == "function" ? n.origin(p) : /* @__PURE__ */ s.createElement(n, m.cn("Children", {}))));
|
74
74
|
});
|
75
75
|
}
|
76
76
|
}]), e;
|
77
|
-
}(
|
77
|
+
}(B);
|
78
78
|
l(c, "displayName", "FeedbackForm");
|
79
79
|
l(c, "style", v);
|
80
80
|
l(c, "FinalForm", {
|
81
|
-
Field:
|
81
|
+
Field: I,
|
82
82
|
Form: f
|
83
83
|
});
|
84
84
|
l(c, "defaultProps", {
|
@@ -103,7 +103,7 @@ l(c, "validate", {
|
|
103
103
|
});
|
104
104
|
function b(i) {
|
105
105
|
var a = arguments[0], e, r = i.Children, t = i.styles, o = S, n = "div";
|
106
|
-
return e = u(t), /* @__PURE__ */ s.createElement(o, e.cn("SSuccess", d({},
|
106
|
+
return e = u(t), /* @__PURE__ */ s.createElement(o, e.cn("SSuccess", d({}, h({
|
107
107
|
tabIndex: -1
|
108
108
|
}, a))), /* @__PURE__ */ s.createElement(n, e.cn("SEmail", {
|
109
109
|
"aria-hidden": !0
|
@@ -111,24 +111,24 @@ function b(i) {
|
|
111
111
|
}
|
112
112
|
b.style = v;
|
113
113
|
function H(i) {
|
114
|
-
var a = arguments[0], e, r = i.styles, t =
|
115
|
-
return e = u(r), /* @__PURE__ */ s.createElement(t, e.cn("SCancel", d({},
|
114
|
+
var a = arguments[0], e, r = i.styles, t = $;
|
115
|
+
return e = u(r), /* @__PURE__ */ s.createElement(t, e.cn("SCancel", d({}, h({
|
116
116
|
type: "reset",
|
117
117
|
use: "secondary",
|
118
118
|
theme: "muted"
|
119
119
|
}, a))));
|
120
120
|
}
|
121
121
|
function T(i) {
|
122
|
-
var a = arguments[0], e, r = i.styles, t = i.theme, o = t === void 0 ? "muted" : t, n = i.use,
|
123
|
-
return e = u(r), /* @__PURE__ */ s.createElement(
|
122
|
+
var a = arguments[0], e, r = i.styles, t = i.theme, o = t === void 0 ? "muted" : t, n = i.use, _ = n === void 0 ? "secondary" : n, g = D;
|
123
|
+
return e = u(r), /* @__PURE__ */ s.createElement(g, e.cn("SNotice", d({}, h({
|
124
124
|
"use:theme": o,
|
125
|
-
"use:use":
|
125
|
+
"use:use": _
|
126
126
|
}, a))));
|
127
127
|
}
|
128
|
-
const me =
|
129
|
-
Item:
|
128
|
+
const me = N(c, {
|
129
|
+
Item: O,
|
130
130
|
Success: b,
|
131
|
-
Submit:
|
131
|
+
Submit: R,
|
132
132
|
Cancel: H,
|
133
133
|
Notice: T
|
134
134
|
});
|