intergalactic 15.71.0 → 15.72.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 +49 -0
- package/card/lib/cjs/Card.js +8 -8
- package/card/lib/es6/Card.js +8 -8
- package/checkbox/lib/cjs/Checkbox.js +18 -18
- package/checkbox/lib/es6/Checkbox.js +18 -18
- 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 +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/Head.d.ts +0 -1
- package/data-table/lib/cjs/Body.js +13 -24
- package/data-table/lib/cjs/Body.js.map +1 -1
- package/data-table/lib/cjs/DataTable.js +35 -41
- package/data-table/lib/cjs/DataTable.js.map +1 -1
- package/data-table/lib/cjs/Head.js +7 -21
- package/data-table/lib/cjs/Head.js.map +1 -1
- package/data-table/lib/cjs/style/data-table.shadow.css +0 -18
- package/data-table/lib/es6/Body.js +13 -25
- package/data-table/lib/es6/Body.js.map +1 -1
- package/data-table/lib/es6/DataTable.js +35 -41
- package/data-table/lib/es6/DataTable.js.map +1 -1
- package/data-table/lib/es6/Head.js +7 -22
- package/data-table/lib/es6/Head.js.map +1 -1
- package/data-table/lib/es6/style/data-table.shadow.css +0 -18
- package/data-table/lib/types/Head.d.ts +0 -1
- package/date-picker/lib/cjs/components/Calendar.js +21 -21
- package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +26 -26
- package/date-picker/lib/cjs/components/InputTrigger.js +26 -26
- package/date-picker/lib/cjs/components/PickerAbstract.js +26 -26
- package/date-picker/lib/cjs/components/RangePickerAbstract.js +26 -26
- package/date-picker/lib/es6/components/Calendar.js +21 -21
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +26 -26
- package/date-picker/lib/es6/components/InputTrigger.js +26 -26
- package/date-picker/lib/es6/components/PickerAbstract.js +26 -26
- package/date-picker/lib/es6/components/RangePickerAbstract.js +26 -26
- package/drag-and-drop/lib/cjs/DragAndDrop.js +12 -12
- package/drag-and-drop/lib/es6/DragAndDrop.js +12 -12
- 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/DropdownMenu.js.map +1 -1
- package/dropdown-menu/lib/cjs/styleScrollArea.js +6 -6
- package/dropdown-menu/lib/es6/DropdownMenu.js +16 -16
- package/dropdown-menu/lib/es6/DropdownMenu.js.map +1 -1
- 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/lib/cjs/FeedbackForm.js +9 -8
- package/feedback-form/lib/cjs/FeedbackForm.js.map +1 -1
- package/feedback-form/lib/es6/FeedbackForm.js +9 -8
- package/feedback-form/lib/es6/FeedbackForm.js.map +1 -1
- package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
- package/inline-input/index.d.ts +1 -1
- package/inline-input/lib/cjs/InlineInput.js +18 -18
- package/inline-input/lib/cjs/index.d.js.map +1 -1
- package/inline-input/lib/es6/InlineInput.js +18 -18
- package/inline-input/lib/es6/index.d.js.map +1 -1
- package/inline-input/lib/types/index.d.ts +1 -1
- package/input-tags/lib/cjs/InputTags.js +13 -12
- package/input-tags/lib/cjs/InputTags.js.map +1 -1
- package/input-tags/lib/es6/InputTags.js +13 -12
- package/input-tags/lib/es6/InputTags.js.map +1 -1
- package/link/lib/cjs/Link.js +12 -12
- package/link/lib/es6/Link.js +12 -12
- package/modal/lib/cjs/Modal.js +9 -9
- package/modal/lib/es6/Modal.js +9 -9
- package/notice-bubble/lib/cjs/NoticeBubble.js +13 -14
- package/notice-bubble/lib/cjs/NoticeBubble.js.map +1 -1
- package/notice-bubble/lib/cjs/style/notice-bubble.shadow.css +8 -4
- package/notice-bubble/lib/es6/NoticeBubble.js +13 -14
- package/notice-bubble/lib/es6/NoticeBubble.js.map +1 -1
- package/notice-bubble/lib/es6/style/notice-bubble.shadow.css +8 -4
- package/package.json +3 -3
- package/pagination/lib/cjs/Pagination.js +11 -11
- package/pagination/lib/cjs/Pagination.js.map +1 -1
- package/pagination/lib/es6/Pagination.js +11 -11
- package/pagination/lib/es6/Pagination.js.map +1 -1
- package/popper/index.d.ts +2 -0
- package/popper/lib/cjs/Popper.js +6 -6
- package/popper/lib/cjs/index.d.js.map +1 -1
- package/popper/lib/cjs/style/popper.shadow.css +2 -1
- package/popper/lib/es6/Popper.js +6 -6
- package/popper/lib/es6/index.d.js.map +1 -1
- package/popper/lib/es6/style/popper.shadow.css +2 -1
- package/popper/lib/types/index.d.ts +2 -0
- package/radio/lib/cjs/Radio.js +16 -16
- package/radio/lib/es6/Radio.js +16 -16
- package/scroll-area/index.d.ts +5 -0
- package/scroll-area/lib/cjs/ScrollArea.js +79 -48
- package/scroll-area/lib/cjs/ScrollArea.js.map +1 -1
- package/scroll-area/lib/cjs/ScrollBar.js +51 -6
- package/scroll-area/lib/cjs/ScrollBar.js.map +1 -1
- package/scroll-area/lib/cjs/index.d.js.map +1 -1
- package/scroll-area/lib/cjs/style/scroll-area.shadow.css +17 -2
- package/scroll-area/lib/cjs/style/scroll-bar.shadow.css +2 -3
- package/scroll-area/lib/es6/ScrollArea.js +79 -48
- package/scroll-area/lib/es6/ScrollArea.js.map +1 -1
- package/scroll-area/lib/es6/ScrollBar.js +51 -6
- package/scroll-area/lib/es6/ScrollBar.js.map +1 -1
- package/scroll-area/lib/es6/index.d.js.map +1 -1
- package/scroll-area/lib/es6/style/scroll-area.shadow.css +17 -2
- package/scroll-area/lib/es6/style/scroll-bar.shadow.css +2 -3
- package/scroll-area/lib/types/index.d.ts +5 -0
- package/select/lib/cjs/InputSearch.js +6 -6
- package/select/lib/cjs/Select.js +48 -36
- package/select/lib/cjs/Select.js.map +1 -1
- package/select/lib/cjs/style/select.shadow.css +21 -17
- package/select/lib/es6/InputSearch.js +6 -6
- package/select/lib/es6/Select.js +49 -36
- package/select/lib/es6/Select.js.map +1 -1
- package/select/lib/es6/style/select.shadow.css +21 -17
- package/side-panel/lib/cjs/SidePanel.js +15 -15
- package/side-panel/lib/es6/SidePanel.js +15 -15
- package/time-picker/lib/cjs/TimePicker.js +12 -12
- package/time-picker/lib/es6/TimePicker.js +12 -12
- package/tooltip/lib/cjs/Tooltip.js +19 -22
- package/tooltip/lib/cjs/Tooltip.js.map +1 -1
- package/tooltip/lib/es6/Tooltip.js +19 -22
- package/tooltip/lib/es6/Tooltip.js.map +1 -1
- package/typography/lib/cjs/Blockquote.js +4 -4
- package/typography/lib/cjs/Hint.js +7 -7
- package/typography/lib/cjs/List.js +7 -6
- package/typography/lib/cjs/List.js.map +1 -1
- 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 +7 -6
- package/typography/lib/es6/List.js.map +1 -1
- package/typography/lib/es6/Text.js +34 -34
- package/widget-empty/lib/cjs/WidgetEmpty.js +6 -6
- package/widget-empty/lib/cjs/WidgetEmpty.js.map +1 -1
- package/widget-empty/lib/cjs/style/widget-empty.shadow.css +5 -3
- package/widget-empty/lib/es6/WidgetEmpty.js +6 -6
- package/widget-empty/lib/es6/WidgetEmpty.js.map +1 -1
- package/widget-empty/lib/es6/style/widget-empty.shadow.css +5 -3
- package/wizard/lib/cjs/Wizard.js +11 -11
- package/wizard/lib/es6/Wizard.js +11 -11
- package/data-table/lib/cjs/style/scroll-area.shadow.css +0 -7
- package/data-table/lib/es6/style/scroll-area.shadow.css +0 -7
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"List.js","names":["React","createComponent","Component","Root","sstyled","Flex","isNode","isAdvanceMode","Text","style","_sstyled","insert","ListRoot","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","getItemProps","marker","asProps","render","_ref","_ref4","SList","styles","createElement","cn","_objectSpread","_assignProps","_defineProperty","ItemRoot","_Component2","_super2","_ref2","_ref5","SItem","_this$asProps","children","markerNode","Children","SMarker","isAdvancedMode","List","Item","Content","displayName","_assignProps2","props","_ref3","arguments[0]","_ref6","
|
1
|
+
{"version":3,"file":"List.js","names":["React","createComponent","Component","Root","sstyled","Flex","isNode","isAdvanceMode","Text","style","_sstyled","insert","ListRoot","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","getItemProps","marker","asProps","render","_ref","_ref4","SList","styles","createElement","cn","_objectSpread","_assignProps","_defineProperty","ItemRoot","_Component2","_super2","_ref2","_ref5","SItem","_this$asProps","children","markerNode","Children","SMarker","SContent","isAdvancedMode","List","Item","Content","displayName","_assignProps2","props","_ref3","arguments[0]","_ref6","_assignProps3"],"sources":["../../src/List.jsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, Root, sstyled } from '@semcore/core';\nimport { Flex } from '@semcore/flex-box';\nimport isNode from '@semcore/utils/lib/isNode';\nimport { isAdvanceMode } from '@semcore/utils/lib/findComponent';\n\nimport Text from './Text';\n\nimport style from './style/list.shadow.css';\n\nclass ListRoot extends Component {\n static displayName = 'List';\n static style = style;\n static defaultProps = {\n marker: '•',\n };\n\n getItemProps() {\n const { marker } = this.asProps;\n return {\n marker,\n };\n }\n\n render() {\n const SList = Root;\n const { styles } = this.asProps;\n return sstyled(styles)(<SList render={Text} tag='ul' role='list' />);\n }\n}\n\nclass ItemRoot extends Component {\n static style = style;\n static displayName = 'Item';\n\n render() {\n const SItem = Root;\n const { styles, children, marker: markerNode, Children } = this.asProps;\n const SMarker = 'span';\n const SContent = 'div';\n\n const isAdvancedMode = isAdvanceMode(Children, [List.Item.Content.displayName]);\n\n return sstyled(styles)(\n <SItem render={Text} tag='li' role='listitem'>\n {isNode(markerNode) && <SMarker aria-hidden='true'>{markerNode}</SMarker>}\n {isAdvancedMode ? <Children /> : <SContent>{children}</SContent>}\n </SItem>,\n );\n }\n}\n\nfunction Content(props) {\n const { styles, children } = props;\n const SContent = Root;\n\n return sstyled(styles)(<SContent render={Flex}>{children}</SContent>);\n}\n\nContent.displayName = 'Content';\n\nconst Item = createComponent(ItemRoot, { Content });\n\nconst List = createComponent(ListRoot, { Item });\n\nexport default List;\n"],"mappings":";;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,eAAe,IAAIC,SAAS,EAAEC,IAAI,EAAEC,OAAO,QAAQ,eAAe;AACzE,SAASC,IAAI,QAAQ,mBAAmB;AACxC,OAAOC,MAAM,MAAM,2BAA2B;AAC9C,SAASC,aAAa,QAAQ,kCAAkC;AAEhE,OAAOC,IAAI,MAAM,QAAQ;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAAA,IAIpBC,QAAQ,0BAAAC,UAAA;EAAAC,SAAA,CAAAF,QAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAJ,QAAA;EAAA,SAAAA,SAAA;IAAAK,eAAA,OAAAL,QAAA;IAAA,OAAAG,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAAC,YAAA,CAAAR,QAAA;IAAAS,GAAA;IAAAC,KAAA,EAOZ,SAAAC,aAAA,EAAe;MACb,IAAQC,MAAM,GAAK,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CAAAzB,EAAA,aAAAC,aAAA,KAAAyB,aAAA,KAAAH,KAAA,KAAgBZ,QAAQ,CAAY;AACtE;AAEAQ,OAAO,CAACC,WAAW,GAAG,SAAS;AAE/B,IAAMF,IAAI,GAAGjD,eAAe,CAACmC,QAAQ,EAAE;EAAEe,OAAO,EAAPA;AAAQ,CAAC,CAAC;AAEnD,IAAMF,IAAI,GAAGhD,eAAe,CAACW,QAAQ,EAAE;EAAEsC,IAAI,EAAJA;AAAK,CAAC,CAAC;AAEhD,eAAeD,IAAI"}
|
@@ -5,40 +5,40 @@ import React from 'react';
|
|
5
5
|
import { createBaseComponent, Root, sstyled } from 'intergalactic/core';
|
6
6
|
import { Box } from 'intergalactic/flex-box';
|
7
7
|
/*__reshadow-styles__:"./style/text.shadow.css"*/
|
8
|
-
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
9
|
-
"__SText": "
|
10
|
-
"_size_100": "
|
11
|
-
"_size_200": "
|
12
|
-
"_size_300": "
|
13
|
-
"_size_400": "
|
14
|
-
"_size_500": "
|
15
|
-
"_size_600": "
|
16
|
-
"_size_700": "
|
17
|
-
"_size_800": "
|
18
|
-
"_noWrap": "
|
19
|
-
"_medium": "
|
20
|
-
"_semibold": "
|
21
|
-
"_bold": "
|
22
|
-
"_italic": "
|
23
|
-
"_monospace": "
|
24
|
-
"_uppercase": "
|
25
|
-
"_lowercase": "
|
26
|
-
"_capitalize": "
|
27
|
-
"_decoration": "
|
28
|
-
"--decoration": "--
|
29
|
-
"_color": "
|
30
|
-
"--color": "--
|
31
|
-
"_fontSize": "
|
32
|
-
"--fontSize": "--
|
33
|
-
"_lineHeight": "
|
34
|
-
"--lineHeight": "--
|
35
|
-
"_fontWeight": "
|
36
|
-
"--fontWeight": "--
|
37
|
-
"_textAlign": "
|
38
|
-
"--textAlign": "--
|
39
|
-
"_use_primary": "
|
40
|
-
"_use_secondary": "
|
41
|
-
"_disabled": "
|
8
|
+
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SText_xl37f_gg_{padding:0;margin:0}.___SText_xl37f_gg_._size_100_xl37f_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___SText_xl37f_gg_._size_200_xl37f_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SText_xl37f_gg_._size_300_xl37f_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SText_xl37f_gg_._size_400_xl37f_gg_{font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%)}.___SText_xl37f_gg_._size_500_xl37f_gg_{font-size:var(--intergalactic-fs-500, 24px);line-height:var(--intergalactic-lh-500, 117%)}.___SText_xl37f_gg_._size_600_xl37f_gg_{font-size:var(--intergalactic-fs-600, 32px);line-height:var(--intergalactic-lh-600, 125%)}.___SText_xl37f_gg_._size_700_xl37f_gg_{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%)}.___SText_xl37f_gg_._size_800_xl37f_gg_{font-size:var(--intergalactic-fs-800, 48px);line-height:var(--intergalactic-lh-800, 117%)}.___SText_xl37f_gg_.__noWrap_xl37f_gg_{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SText_xl37f_gg_.__medium_xl37f_gg_{font-weight:var(--intergalactic-medium, 500)}.___SText_xl37f_gg_.__semibold_xl37f_gg_{font-weight:var(--intergalactic-semi-bold, 600)}.___SText_xl37f_gg_.__bold_xl37f_gg_{font-weight:var(--intergalactic-bold, 700)}.___SText_xl37f_gg_.__italic_xl37f_gg_{font-style:italic}.___SText_xl37f_gg_.__monospace_xl37f_gg_{font-family:Consolas,\"Roboto Mono\",Menlo,Courier,monospace}.___SText_xl37f_gg_.__uppercase_xl37f_gg_{text-transform:uppercase}.___SText_xl37f_gg_.__lowercase_xl37f_gg_{text-transform:lowercase}.___SText_xl37f_gg_.__capitalize_xl37f_gg_{text-transform:capitalize}.___SText_xl37f_gg_.__decoration_xl37f_gg_{-webkit-text-decoration:var(--decoration_xl37f);text-decoration:var(--decoration_xl37f)}.___SText_xl37f_gg_.__color_xl37f_gg_{color:var(--color_xl37f)}.___SText_xl37f_gg_.__fontSize_xl37f_gg_{font-size:var(--fontSize_xl37f)}.___SText_xl37f_gg_.__lineHeight_xl37f_gg_{line-height:var(--lineHeight_xl37f)}.___SText_xl37f_gg_.__fontWeight_xl37f_gg_{font-weight:var(--fontWeight_xl37f)}.___SText_xl37f_gg_.__textAlign_xl37f_gg_{text-align:var(--textAlign_xl37f)}.___SText_xl37f_gg_._use_primary_xl37f_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SText_xl37f_gg_._use_secondary_xl37f_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SText_xl37f_gg_.__disabled_xl37f_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}" /*__inner_css_end__*/, "xl37f_gg_") /*__reshadow_css_end__*/, {
|
9
|
+
"__SText": "___SText_xl37f_gg_",
|
10
|
+
"_size_100": "_size_100_xl37f_gg_",
|
11
|
+
"_size_200": "_size_200_xl37f_gg_",
|
12
|
+
"_size_300": "_size_300_xl37f_gg_",
|
13
|
+
"_size_400": "_size_400_xl37f_gg_",
|
14
|
+
"_size_500": "_size_500_xl37f_gg_",
|
15
|
+
"_size_600": "_size_600_xl37f_gg_",
|
16
|
+
"_size_700": "_size_700_xl37f_gg_",
|
17
|
+
"_size_800": "_size_800_xl37f_gg_",
|
18
|
+
"_noWrap": "__noWrap_xl37f_gg_",
|
19
|
+
"_medium": "__medium_xl37f_gg_",
|
20
|
+
"_semibold": "__semibold_xl37f_gg_",
|
21
|
+
"_bold": "__bold_xl37f_gg_",
|
22
|
+
"_italic": "__italic_xl37f_gg_",
|
23
|
+
"_monospace": "__monospace_xl37f_gg_",
|
24
|
+
"_uppercase": "__uppercase_xl37f_gg_",
|
25
|
+
"_lowercase": "__lowercase_xl37f_gg_",
|
26
|
+
"_capitalize": "__capitalize_xl37f_gg_",
|
27
|
+
"_decoration": "__decoration_xl37f_gg_",
|
28
|
+
"--decoration": "--decoration_xl37f",
|
29
|
+
"_color": "__color_xl37f_gg_",
|
30
|
+
"--color": "--color_xl37f",
|
31
|
+
"_fontSize": "__fontSize_xl37f_gg_",
|
32
|
+
"--fontSize": "--fontSize_xl37f",
|
33
|
+
"_lineHeight": "__lineHeight_xl37f_gg_",
|
34
|
+
"--lineHeight": "--lineHeight_xl37f",
|
35
|
+
"_fontWeight": "__fontWeight_xl37f_gg_",
|
36
|
+
"--fontWeight": "--fontWeight_xl37f",
|
37
|
+
"_textAlign": "__textAlign_xl37f_gg_",
|
38
|
+
"--textAlign": "--textAlign_xl37f",
|
39
|
+
"_use_primary": "_use_primary_xl37f_gg_",
|
40
|
+
"_use_secondary": "_use_secondary_xl37f_gg_",
|
41
|
+
"_disabled": "__disabled_xl37f_gg_"
|
42
42
|
});
|
43
43
|
import { useColorResolver } from 'intergalactic/utils/lib/use/useColorResolver';
|
44
44
|
function getTextDecoration(underline, lineThrough) {
|
@@ -18,11 +18,11 @@ var _illustration = require("intergalactic/illustration");
|
|
18
18
|
var _flexBox = require("intergalactic/flex-box");
|
19
19
|
var _isNode = _interopRequireDefault(require("intergalactic/utils/lib/isNode"));
|
20
20
|
/*__reshadow-styles__:"./style/widget-empty.shadow.css"*/
|
21
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
22
|
-
"__SWidgetEmpty": "
|
23
|
-
"__SImage": "
|
24
|
-
"__STitle": "
|
25
|
-
"__SDescription": "
|
21
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_c0c4m_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_c0c4m_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_c0c4m_gg_,.___STitle_c0c4m_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_c0c4m_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_c0c4m_gg_{text-align:center;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_c0c4m_gg_+.___SDescription_c0c4m_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_c0c4m_gg_+.___SDescription_c0c4m_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "c0c4m_gg_") /*__reshadow_css_end__*/, {
|
22
|
+
"__SWidgetEmpty": "___SWidgetEmpty_c0c4m_gg_",
|
23
|
+
"__SImage": "___SImage_c0c4m_gg_",
|
24
|
+
"__STitle": "___STitle_c0c4m_gg_",
|
25
|
+
"__SDescription": "___SDescription_c0c4m_gg_"
|
26
26
|
});
|
27
27
|
var getIconPath = function getIconPath(name) {
|
28
28
|
return (0, _illustration.getIllustrationPath)(name);
|
@@ -50,7 +50,7 @@ var WidgetEmpty = /*#__PURE__*/function (_Component) {
|
|
50
50
|
"aria-hidden": 'true'
|
51
51
|
}), typeof icon === 'string' ? /*#__PURE__*/_react["default"].createElement("img", _ref4.cn("img", {
|
52
52
|
"src": icon,
|
53
|
-
"alt": '
|
53
|
+
"alt": ''
|
54
54
|
})) : icon), /*#__PURE__*/_react["default"].createElement(Children, _ref4.cn("Children", {})));
|
55
55
|
}
|
56
56
|
}]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WidgetEmpty.js","names":["_core","_interopRequireWildcard","require","_react","_interopRequireDefault","_illustration","_flexBox","_isNode","style","sstyled","insert","getIconPath","name","getIllustrationPath","exports","WidgetEmpty","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","render","_ref","asProps","_ref4","SWidgetEmpty","Flex","_this$asProps","Children","icon","styles","SImage","createElement","cn","_objectSpread2","assignProps","isNode","Component","_defineProperty2","Title","props","_ref2","arguments[0]","_ref5","STitle","Box","Description","_ref3","_ref6","SDescription","_default","createComponent"],"sources":["../../src/WidgetEmpty.jsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, sstyled, Root } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport { Box, Flex } from '@semcore/flex-box';\nimport isNode from '@semcore/utils/lib/isNode';\n\nimport style from './style/widget-empty.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass WidgetEmpty extends Component {\n static displayName = 'WidgetEmpty';\n static style = style;\n\n render() {\n const SWidgetEmpty = Root;\n const { Children, icon, styles } = this.asProps;\n const SImage = 'div';\n\n return sstyled(styles)(\n <SWidgetEmpty render={Flex}>\n {isNode(icon) && (\n <SImage aria-hidden='true'>\n {typeof icon === 'string' ? <img src={icon} alt='
|
1
|
+
{"version":3,"file":"WidgetEmpty.js","names":["_core","_interopRequireWildcard","require","_react","_interopRequireDefault","_illustration","_flexBox","_isNode","style","sstyled","insert","getIconPath","name","getIllustrationPath","exports","WidgetEmpty","_Component","_inherits2","_super","_createSuper2","_classCallCheck2","apply","arguments","_createClass2","key","value","render","_ref","asProps","_ref4","SWidgetEmpty","Flex","_this$asProps","Children","icon","styles","SImage","createElement","cn","_objectSpread2","assignProps","isNode","Component","_defineProperty2","Title","props","_ref2","arguments[0]","_ref5","STitle","Box","Description","_ref3","_ref6","SDescription","_default","createComponent"],"sources":["../../src/WidgetEmpty.jsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, sstyled, Root } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport { Box, Flex } from '@semcore/flex-box';\nimport isNode from '@semcore/utils/lib/isNode';\n\nimport style from './style/widget-empty.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass WidgetEmpty extends Component {\n static displayName = 'WidgetEmpty';\n static style = style;\n\n render() {\n const SWidgetEmpty = Root;\n const { Children, icon, styles } = this.asProps;\n const SImage = 'div';\n\n return sstyled(styles)(\n <SWidgetEmpty render={Flex}>\n {isNode(icon) && (\n <SImage aria-hidden='true'>\n {typeof icon === 'string' ? <img src={icon} alt='' /> : icon}\n </SImage>\n )}\n <Children />\n </SWidgetEmpty>,\n );\n }\n}\n\nconst Title = (props) => {\n const STitle = Root;\n const { styles } = props;\n return sstyled(styles)(<STitle render={Box} />);\n};\n\nconst Description = (props) => {\n const SDescription = Root;\n const { styles } = props;\n return sstyled(styles)(<SDescription render={Box} />);\n};\n\nexport default createComponent(WidgetEmpty, {\n Title,\n Description,\n});\n"],"mappings":";;;;;;;;;;;;;;AACA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AADA,IAAAC,MAAA,GAAAC,sBAAA,CAAAF,OAAA;AAEA,IAAAG,aAAA,GAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,OAAA,GAAAH,sBAAA,CAAAF,OAAA;AAA+C;AAAA,IAAAM,KAAA,+BAAAR,KAAA,CAAAS,OAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAIxC,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAI;EAAA,OAAK,IAAAC,iCAAmB,EAACD,IAAI,CAAC;AAAA;AAACE,OAAA,CAAAH,WAAA,GAAAA,WAAA;AAAA,IAEzDI,WAAW,0BAAAC,UAAA;EAAA,IAAAC,UAAA,aAAAF,WAAA,EAAAC,UAAA;EAAA,IAAAE,MAAA,OAAAC,aAAA,aAAAJ,WAAA;EAAA,SAAAA,YAAA;IAAA,IAAAK,gBAAA,mBAAAL,WAAA;IAAA,OAAAG,MAAA,CAAAG,KAAA,OAAAC,SAAA;EAAA;EAAA,IAAAC,aAAA,aAAAR,WAAA;IAAAS,GAAA;IAAAC,KAAA,EAIf,SAAAC,OAAA,EAAS;MAA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AA,YAAAkC,aAAA,CAACY,MAAM,EAAAD,KAAA,CAAAV,EAAA,eAAAC,cAAA,qBAAAvC,KAAA,CAAAwC,WAAA,MAAAM,KAAA,IAAgB;AAChD,CAAC;AAED,IAAMK,WAAW,GAAG,SAAdA,WAAWA,CAAIN,KAAK,EAAK;EAAA,IAAAO,KAAA,GAAAL,YAAA;IAAAM,KAAA;EAC7B,IAAMC,YAAY,GAE2BJ,YAAG;EADhD,IAAQf,MAAM,GAAKU,KAAK,CAAhBV,MAAM;EACd,OAAAkB,KAAA,GAAO,IAAA5C,aAAO,EAAC0B,MAAM,CAAC,eAAChC,MAAA,YAAAkC,aAAA,CAACiB,YAAY,EAAAD,KAAA,CAAAf,EAAA,qBAAAC,cAAA,qBAAAvC,KAAA,CAAAwC,WAAA,MAAAY,KAAA,IAAgB;AACtD,CAAC;AAAC,IAAAG,QAAA,GAEa,IAAAC,gBAAe,EAACzC,WAAW,EAAE;EAC1C6B,KAAK,EAALA,KAAK;EACLO,WAAW,EAAXA;AACF,CAAC,CAAC;AAAArC,OAAA,cAAAyC,QAAA"}
|
@@ -10,6 +10,8 @@ SImage {
|
|
10
10
|
align-items: flex-end;
|
11
11
|
justify-content: center;
|
12
12
|
margin-bottom: var(--intergalactic-spacing-3x, 12px);
|
13
|
+
width: 80px;
|
14
|
+
height: 80px;
|
13
15
|
}
|
14
16
|
|
15
17
|
STitle {
|
@@ -27,10 +29,10 @@ SDescription {
|
|
27
29
|
max-width: 400px;
|
28
30
|
}
|
29
31
|
|
30
|
-
STitle
|
32
|
+
STitle+SDescription {
|
31
33
|
margin-top: var(--intergalactic-spacing-1x, 4px);
|
32
34
|
}
|
33
35
|
|
34
|
-
SDescription
|
36
|
+
SDescription+SDescription {
|
35
37
|
margin-top: var(--intergalactic-spacing-2x, 8px);
|
36
|
-
}
|
38
|
+
}
|
@@ -14,11 +14,11 @@ import { getIllustrationPath } from 'intergalactic/illustration';
|
|
14
14
|
import { Box, Flex } from 'intergalactic/flex-box';
|
15
15
|
import isNode from 'intergalactic/utils/lib/isNode';
|
16
16
|
/*__reshadow-styles__:"./style/widget-empty.shadow.css"*/
|
17
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
18
|
-
"__SWidgetEmpty": "
|
19
|
-
"__SImage": "
|
20
|
-
"__STitle": "
|
21
|
-
"__SDescription": "
|
17
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SWidgetEmpty_c0c4m_gg_{flex-direction:column;justify-content:center;align-items:center;margin-bottom:var(--intergalactic-spacing-4x, 16px)}.___SImage_c0c4m_gg_{display:flex;align-items:flex-end;justify-content:center;margin-bottom:var(--intergalactic-spacing-3x, 12px);width:80px;height:80px}.___SDescription_c0c4m_gg_,.___STitle_c0c4m_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___STitle_c0c4m_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);font-weight:var(--intergalactic-bold, 700)}.___SDescription_c0c4m_gg_{text-align:center;font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);max-width:400px}.___STitle_c0c4m_gg_+.___SDescription_c0c4m_gg_{margin-top:var(--intergalactic-spacing-1x, 4px)}.___SDescription_c0c4m_gg_+.___SDescription_c0c4m_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}" /*__inner_css_end__*/, "c0c4m_gg_") /*__reshadow_css_end__*/, {
|
18
|
+
"__SWidgetEmpty": "___SWidgetEmpty_c0c4m_gg_",
|
19
|
+
"__SImage": "___SImage_c0c4m_gg_",
|
20
|
+
"__STitle": "___STitle_c0c4m_gg_",
|
21
|
+
"__SDescription": "___SDescription_c0c4m_gg_"
|
22
22
|
});
|
23
23
|
export var getIconPath = function getIconPath(name) {
|
24
24
|
return getIllustrationPath(name);
|
@@ -45,7 +45,7 @@ var WidgetEmpty = /*#__PURE__*/function (_Component) {
|
|
45
45
|
"aria-hidden": 'true'
|
46
46
|
}), typeof icon === 'string' ? /*#__PURE__*/React.createElement("img", _ref4.cn("img", {
|
47
47
|
"src": icon,
|
48
|
-
"alt": '
|
48
|
+
"alt": ''
|
49
49
|
})) : icon), /*#__PURE__*/React.createElement(Children, _ref4.cn("Children", {})));
|
50
50
|
}
|
51
51
|
}]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"WidgetEmpty.js","names":["React","createComponent","Component","sstyled","Root","getIllustrationPath","Box","Flex","isNode","style","_sstyled","insert","getIconPath","name","WidgetEmpty","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_ref4","SWidgetEmpty","_this$asProps","Children","icon","styles","SImage","createElement","cn","_objectSpread","_assignProps","_defineProperty","Title","props","_ref2","arguments[0]","_ref5","STitle","_assignProps2","Description","_ref3","_ref6","SDescription","_assignProps3"],"sources":["../../src/WidgetEmpty.jsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, sstyled, Root } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport { Box, Flex } from '@semcore/flex-box';\nimport isNode from '@semcore/utils/lib/isNode';\n\nimport style from './style/widget-empty.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass WidgetEmpty extends Component {\n static displayName = 'WidgetEmpty';\n static style = style;\n\n render() {\n const SWidgetEmpty = Root;\n const { Children, icon, styles } = this.asProps;\n const SImage = 'div';\n\n return sstyled(styles)(\n <SWidgetEmpty render={Flex}>\n {isNode(icon) && (\n <SImage aria-hidden='true'>\n {typeof icon === 'string' ? <img src={icon} alt='
|
1
|
+
{"version":3,"file":"WidgetEmpty.js","names":["React","createComponent","Component","sstyled","Root","getIllustrationPath","Box","Flex","isNode","style","_sstyled","insert","getIconPath","name","WidgetEmpty","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","key","value","render","_ref","asProps","_ref4","SWidgetEmpty","_this$asProps","Children","icon","styles","SImage","createElement","cn","_objectSpread","_assignProps","_defineProperty","Title","props","_ref2","arguments[0]","_ref5","STitle","_assignProps2","Description","_ref3","_ref6","SDescription","_assignProps3"],"sources":["../../src/WidgetEmpty.jsx"],"sourcesContent":["import React from 'react';\nimport createComponent, { Component, sstyled, Root } from '@semcore/core';\nimport { getIllustrationPath } from '@semcore/illustration';\nimport { Box, Flex } from '@semcore/flex-box';\nimport isNode from '@semcore/utils/lib/isNode';\n\nimport style from './style/widget-empty.shadow.css';\n\nexport const getIconPath = (name) => getIllustrationPath(name);\n\nclass WidgetEmpty extends Component {\n static displayName = 'WidgetEmpty';\n static style = style;\n\n render() {\n const SWidgetEmpty = Root;\n const { Children, icon, styles } = this.asProps;\n const SImage = 'div';\n\n return sstyled(styles)(\n <SWidgetEmpty render={Flex}>\n {isNode(icon) && (\n <SImage aria-hidden='true'>\n {typeof icon === 'string' ? <img src={icon} alt='' /> : icon}\n </SImage>\n )}\n <Children />\n </SWidgetEmpty>,\n );\n }\n}\n\nconst Title = (props) => {\n const STitle = Root;\n const { styles } = props;\n return sstyled(styles)(<STitle render={Box} />);\n};\n\nconst Description = (props) => {\n const SDescription = Root;\n const { styles } = props;\n return sstyled(styles)(<SDescription render={Box} />);\n};\n\nexport default createComponent(WidgetEmpty, {\n Title,\n Description,\n});\n"],"mappings":";;;;;;;;;;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,OAAOC,eAAe,IAAIC,SAAS,EAAEC,OAAO,EAAEC,IAAI,QAAQ,eAAe;AACzE,SAASC,mBAAmB,QAAQ,uBAAuB;AAC3D,SAASC,GAAG,EAAEC,IAAI,QAAQ,mBAAmB;AAC7C,OAAOC,MAAM,MAAM,2BAA2B;AAAC;AAAA,IAAAC,KAAA,+BAAAC,QAAA,CAAAC,MAAA;EAAA;EAAA;EAAA;EAAA;AAAA;AAI/C,OAAO,IAAMC,WAAW,GAAG,SAAdA,WAAWA,CAAIC,IAAI;EAAA,OAAKR,mBAAmB,CAACQ,IAAI,CAAC;AAAA;AAA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KAAK;AAoBtB,IAAM+B,KAAK,GAAG,SAARA,KAAKA,CAAIC,KAAK,EAAK;EAAA,IAAAC,KAAA,GAAAC,YAAA;IAAAC,KAAA;EACvB,IAAMC,MAAM,GAE2BvC,GAAG;EAD1C,IAAQ2B,MAAM,GAAKQ,KAAK,CAAhBR,MAAM;EACd,OAAAW,KAAA,GAAOzC,OAAO,CAAC8B,MAAM,CAAC,eAACjC,KAAA,CAAAmC,aAAA,CAACU,MAAM,EAAAD,KAAA,CAAAR,EAAA,WAAAC,aAAA,KAAAS,aAAA,KAAAJ,KAAA,IAAgB;AAChD,CAAC;AAED,IAAMK,WAAW,GAAG,SAAdA,WAAWA,CAAIN,KAAK,EAAK;EAAA,IAAAO,KAAA,GAAAL,YAAA;IAAAM,KAAA;EAC7B,IAAMC,YAAY,GAE2B5C,GAAG;EADhD,IAAQ2B,MAAM,GAAKQ,KAAK,CAAhBR,MAAM;EACd,OAAAgB,KAAA,GAAO9C,OAAO,CAAC8B,MAAM,CAAC,eAACjC,KAAA,CAAAmC,aAAA,CAACe,YAAY,EAAAD,KAAA,CAAAb,EAAA,iBAAAC,aAAA,KAAAc,aAAA,KAAAH,KAAA,IAAgB;AACtD,CAAC;AAED,eAAe/C,eAAe,CAACa,WAAW,EAAE;EAC1C0B,KAAK,EAALA,KAAK;EACLO,WAAW,EAAXA;AACF,CAAC,CAAC"}
|
@@ -10,6 +10,8 @@ SImage {
|
|
10
10
|
align-items: flex-end;
|
11
11
|
justify-content: center;
|
12
12
|
margin-bottom: var(--intergalactic-spacing-3x, 12px);
|
13
|
+
width: 80px;
|
14
|
+
height: 80px;
|
13
15
|
}
|
14
16
|
|
15
17
|
STitle {
|
@@ -27,10 +29,10 @@ SDescription {
|
|
27
29
|
max-width: 400px;
|
28
30
|
}
|
29
31
|
|
30
|
-
STitle
|
32
|
+
STitle+SDescription {
|
31
33
|
margin-top: var(--intergalactic-spacing-1x, 4px);
|
32
34
|
}
|
33
35
|
|
34
|
-
SDescription
|
36
|
+
SDescription+SDescription {
|
35
37
|
margin-top: var(--intergalactic-spacing-2x, 8px);
|
36
|
-
}
|
38
|
+
}
|
package/wizard/lib/cjs/Wizard.js
CHANGED
@@ -24,17 +24,17 @@ var _intergalacticDynamicLocales = require("./translations/__intergalactic-dynam
|
|
24
24
|
var _ScreenReaderOnly = require("intergalactic/utils/lib/ScreenReaderOnly");
|
25
25
|
var _useFocusLock = require("intergalactic/utils/lib/use/useFocusLock");
|
26
26
|
/*__reshadow-styles__:"./style/wizard.shadow.css"*/
|
27
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
28
|
-
"__SWizard": "
|
29
|
-
"__SStepNumber": "
|
30
|
-
"__SCompleted": "
|
31
|
-
"__SContent": "
|
32
|
-
"__SSidebar": "
|
33
|
-
"__SSidebarHeader": "
|
34
|
-
"__SStepper": "
|
35
|
-
"_active": "
|
36
|
-
"_disabled": "
|
37
|
-
"__SStepDescription": "
|
27
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SWizard_1al1e_gg_{max-width:980px;max-height:700px;display:flex;padding:0;background:0 0}.___SSidebar_1al1e_gg_{background:var(--intergalactic-control-primary-advertising, #5925ab);color:var(--intergalactic-text-primary-invert, #ffffff);font-weight:var(--intergalactic-bold, 700);font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-2x, 8px) calc(var(--intergalactic-spacing-8x, 32px) + var(--intergalactic-spacing-05x, 2px));max-width:220px;flex-shrink:0;box-sizing:border-box;border-radius:var(--intergalactic-modal-rounded, 12px)0 0 var(--intergalactic-modal-rounded, 12px)}@media (max-width:1060px){.___SSidebar_1al1e_gg_{width:44px}}.___SSidebarHeader_1al1e_gg_{font-size:var(--intergalactic-fs-300, 16px);margin:0 var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-4x, 16px)}@media (max-width:1060px){.___SSidebarHeader_1al1e_gg_{display:none}}.___SStepper_1al1e_gg_{display:flex;font-size:var(--intergalactic-fs-200, 14px);border-radius:var(--intergalactic-control-rounded, 6px);padding:var(--intergalactic-spacing-2x, 8px) var(--intergalactic-spacing-3x, 12px);cursor:pointer;position:relative;overflow:auto;line-height:var(--intergalactic-lh-200, 142%)}@media (hover:hover){.___SStepper_1al1e_gg_:hover{background:var(--intergalactic-control-primary-advertising-hover, #421983);z-index:1}}.___SStepper_1al1e_gg_.__active_1al1e_gg_{background:var(--intergalactic-control-primary-advertising-active, #8649e1)}.___SStepper_1al1e_gg_.__disabled_1al1e_gg_,.___SStepper_1al1e_gg_:disabled{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}@media (max-width:1060px){.___SStepper_1al1e_gg_{padding:var(--intergalactic-spacing-2x, 8px) var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___SStepper_1al1e_gg_:hover{width:-moz-fit-content;width:fit-content;max-width:220px}.___SStepper_1al1e_gg_:hover .___SStepDescription_1al1e_gg_{display:block;border-radius:var(--intergalactic-control-rounded, 6px);white-space:nowrap;overflow:auto}.___SStepper_1al1e_gg_.__active_1al1e_gg_:hover .___SStepDescription_1al1e_gg_{background:var(--intergalactic-control-primary-advertising-active, #8649e1)}}}.___SStepNumber_1al1e_gg_{display:inline-block;min-width:20px}.___SCompleted_1al1e_gg_{margin-top:1px}@media (max-width:1060px){.___SStepDescription_1al1e_gg_{display:none}}.___SContent_1al1e_gg_{padding:var(--intergalactic-spacing-10x, 40px);width:100%;border-radius:0 var(--intergalactic-modal-rounded, 12px) var(--intergalactic-modal-rounded, 12px)0;background:var(--intergalactic-bg-primary-neutral, #ffffff)}" /*__inner_css_end__*/, "1al1e_gg_") /*__reshadow_css_end__*/, {
|
28
|
+
"__SWizard": "___SWizard_1al1e_gg_",
|
29
|
+
"__SStepNumber": "___SStepNumber_1al1e_gg_",
|
30
|
+
"__SCompleted": "___SCompleted_1al1e_gg_",
|
31
|
+
"__SContent": "___SContent_1al1e_gg_",
|
32
|
+
"__SSidebar": "___SSidebar_1al1e_gg_",
|
33
|
+
"__SSidebarHeader": "___SSidebarHeader_1al1e_gg_",
|
34
|
+
"__SStepper": "___SStepper_1al1e_gg_",
|
35
|
+
"_active": "__active_1al1e_gg_",
|
36
|
+
"_disabled": "__disabled_1al1e_gg_",
|
37
|
+
"__SStepDescription": "___SStepDescription_1al1e_gg_"
|
38
38
|
});
|
39
39
|
var WizardRoot = /*#__PURE__*/function (_Component) {
|
40
40
|
(0, _inherits2["default"])(WizardRoot, _Component);
|
package/wizard/lib/es6/Wizard.js
CHANGED
@@ -21,17 +21,17 @@ import { localizedMessages } from './translations/__intergalactic-dynamic-locale
|
|
21
21
|
import { ScreenReaderOnly } from 'intergalactic/utils/lib/ScreenReaderOnly';
|
22
22
|
import { setFocus } from 'intergalactic/utils/lib/use/useFocusLock';
|
23
23
|
/*__reshadow-styles__:"./style/wizard.shadow.css"*/
|
24
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
25
|
-
"__SWizard": "
|
26
|
-
"__SStepNumber": "
|
27
|
-
"__SCompleted": "
|
28
|
-
"__SContent": "
|
29
|
-
"__SSidebar": "
|
30
|
-
"__SSidebarHeader": "
|
31
|
-
"__SStepper": "
|
32
|
-
"_active": "
|
33
|
-
"_disabled": "
|
34
|
-
"__SStepDescription": "
|
24
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SWizard_1al1e_gg_{max-width:980px;max-height:700px;display:flex;padding:0;background:0 0}.___SSidebar_1al1e_gg_{background:var(--intergalactic-control-primary-advertising, #5925ab);color:var(--intergalactic-text-primary-invert, #ffffff);font-weight:var(--intergalactic-bold, 700);font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%);padding:var(--intergalactic-spacing-10x, 40px) var(--intergalactic-spacing-2x, 8px) calc(var(--intergalactic-spacing-8x, 32px) + var(--intergalactic-spacing-05x, 2px));max-width:220px;flex-shrink:0;box-sizing:border-box;border-radius:var(--intergalactic-modal-rounded, 12px)0 0 var(--intergalactic-modal-rounded, 12px)}@media (max-width:1060px){.___SSidebar_1al1e_gg_{width:44px}}.___SSidebarHeader_1al1e_gg_{font-size:var(--intergalactic-fs-300, 16px);margin:0 var(--intergalactic-spacing-5x, 20px) var(--intergalactic-spacing-4x, 16px)}@media (max-width:1060px){.___SSidebarHeader_1al1e_gg_{display:none}}.___SStepper_1al1e_gg_{display:flex;font-size:var(--intergalactic-fs-200, 14px);border-radius:var(--intergalactic-control-rounded, 6px);padding:var(--intergalactic-spacing-2x, 8px) var(--intergalactic-spacing-3x, 12px);cursor:pointer;position:relative;overflow:auto;line-height:var(--intergalactic-lh-200, 142%)}@media (hover:hover){.___SStepper_1al1e_gg_:hover{background:var(--intergalactic-control-primary-advertising-hover, #421983);z-index:1}}.___SStepper_1al1e_gg_.__active_1al1e_gg_{background:var(--intergalactic-control-primary-advertising-active, #8649e1)}.___SStepper_1al1e_gg_.__disabled_1al1e_gg_,.___SStepper_1al1e_gg_:disabled{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}@media (max-width:1060px){.___SStepper_1al1e_gg_{padding:var(--intergalactic-spacing-2x, 8px) var(--intergalactic-spacing-1x, 4px)}@media (hover:hover){.___SStepper_1al1e_gg_:hover{width:-moz-fit-content;width:fit-content;max-width:220px}.___SStepper_1al1e_gg_:hover .___SStepDescription_1al1e_gg_{display:block;border-radius:var(--intergalactic-control-rounded, 6px);white-space:nowrap;overflow:auto}.___SStepper_1al1e_gg_.__active_1al1e_gg_:hover .___SStepDescription_1al1e_gg_{background:var(--intergalactic-control-primary-advertising-active, #8649e1)}}}.___SStepNumber_1al1e_gg_{display:inline-block;min-width:20px}.___SCompleted_1al1e_gg_{margin-top:1px}@media (max-width:1060px){.___SStepDescription_1al1e_gg_{display:none}}.___SContent_1al1e_gg_{padding:var(--intergalactic-spacing-10x, 40px);width:100%;border-radius:0 var(--intergalactic-modal-rounded, 12px) var(--intergalactic-modal-rounded, 12px)0;background:var(--intergalactic-bg-primary-neutral, #ffffff)}" /*__inner_css_end__*/, "1al1e_gg_") /*__reshadow_css_end__*/, {
|
25
|
+
"__SWizard": "___SWizard_1al1e_gg_",
|
26
|
+
"__SStepNumber": "___SStepNumber_1al1e_gg_",
|
27
|
+
"__SCompleted": "___SCompleted_1al1e_gg_",
|
28
|
+
"__SContent": "___SContent_1al1e_gg_",
|
29
|
+
"__SSidebar": "___SSidebar_1al1e_gg_",
|
30
|
+
"__SSidebarHeader": "___SSidebarHeader_1al1e_gg_",
|
31
|
+
"__SStepper": "___SStepper_1al1e_gg_",
|
32
|
+
"_active": "__active_1al1e_gg_",
|
33
|
+
"_disabled": "__disabled_1al1e_gg_",
|
34
|
+
"__SStepDescription": "___SStepDescription_1al1e_gg_"
|
35
35
|
});
|
36
36
|
var WizardRoot = /*#__PURE__*/function (_Component) {
|
37
37
|
_inherits(WizardRoot, _Component);
|