intergalactic 15.77.1 → 15.78.0-prerelease.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +41 -0
- package/accordion/lib/cjs/Accordion.js +7 -7
- package/accordion/lib/es6/Accordion.js +7 -7
- package/animation/lib/cjs/Animation.js +11 -11
- package/animation/lib/cjs/Collapse.js +28 -28
- package/animation/lib/cjs/FadeInOut.js +28 -28
- package/animation/lib/cjs/Scale.js +28 -28
- package/animation/lib/cjs/Slide.js +28 -28
- package/animation/lib/cjs/Transform.js +28 -28
- package/animation/lib/es6/Animation.js +11 -11
- package/animation/lib/es6/Collapse.js +28 -28
- package/animation/lib/es6/FadeInOut.js +28 -28
- package/animation/lib/es6/Scale.js +28 -28
- package/animation/lib/es6/Slide.js +28 -28
- package/animation/lib/es6/Transform.js +28 -28
- package/badge/lib/cjs/Badge.js +6 -6
- package/badge/lib/es6/Badge.js +6 -6
- package/base-trigger/index.d.ts +3 -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 +152 -58
- package/base-trigger/lib/cjs/FilterTrigger.js.map +1 -1
- package/base-trigger/lib/cjs/LinkTrigger.js +12 -12
- package/base-trigger/lib/cjs/index.d.js.map +1 -1
- 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 +154 -58
- package/base-trigger/lib/es6/FilterTrigger.js.map +1 -1
- package/base-trigger/lib/es6/LinkTrigger.js +12 -12
- package/base-trigger/lib/es6/index.d.js.map +1 -1
- package/base-trigger/lib/types/index.d.ts +3 -1
- package/breadcrumbs/lib/cjs/Breadcrumbs.js +6 -6
- package/breadcrumbs/lib/es6/Breadcrumbs.js +6 -6
- package/button/lib/cjs/Button.js +26 -26
- package/button/lib/es6/Button.js +26 -26
- package/card/lib/cjs/Card.js +8 -8
- package/card/lib/es6/Card.js +8 -8
- package/carousel/lib/cjs/Carousel.js +19 -19
- package/carousel/lib/es6/Carousel.js +19 -19
- package/checkbox/lib/cjs/Checkbox.js +18 -18
- package/checkbox/lib/es6/Checkbox.js +18 -18
- package/color-picker/lib/cjs/ColorPicker.js +23 -23
- package/color-picker/lib/cjs/PaletteManager.js +23 -23
- package/color-picker/lib/cjs/components/InputColor.js +23 -23
- package/color-picker/lib/es6/ColorPicker.js +23 -23
- package/color-picker/lib/es6/PaletteManager.js +23 -23
- package/color-picker/lib/es6/components/InputColor.js +23 -23
- package/components.json +73 -73
- package/counter/lib/cjs/Counter.js +10 -10
- package/counter/lib/es6/Counter.js +10 -10
- package/d3-chart/component/Chart/AbstractChart.d.ts +2 -2
- package/d3-chart/component/Chart/AbstractChart.type.d.ts +5 -0
- package/d3-chart/component/Chart/CigaretteChart.d.ts +2 -0
- package/d3-chart/component/Chart/CigaretteChart.type.d.ts +15 -0
- package/d3-chart/component/Chart/index.d.ts +1 -0
- package/d3-chart/component/Cigarette/Cigarette.d.ts +2 -0
- package/d3-chart/index.d.ts +5 -1
- package/d3-chart/lib/cjs/Area.js +11 -11
- package/d3-chart/lib/cjs/Axis.js +14 -14
- package/d3-chart/lib/cjs/Bar.js +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 +10 -10
- package/d3-chart/lib/cjs/Dots.js.map +1 -1
- package/d3-chart/lib/cjs/HorizontalBar.js +10 -10
- package/d3-chart/lib/cjs/Hover.js +13 -5
- package/d3-chart/lib/cjs/Hover.js.map +1 -1
- 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 +13 -11
- package/d3-chart/lib/cjs/Tooltip.js.map +1 -1
- 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/Chart/AbstractChart.js +41 -24
- package/d3-chart/lib/cjs/component/Chart/AbstractChart.js.map +1 -1
- package/d3-chart/lib/cjs/component/Chart/AbstractChart.type.js.map +1 -1
- package/d3-chart/lib/cjs/component/Chart/BubbleChart.js +2 -2
- package/d3-chart/lib/cjs/component/Chart/BubbleChart.js.map +1 -1
- package/d3-chart/lib/cjs/component/Chart/CigaretteChart.js +325 -0
- package/d3-chart/lib/cjs/component/Chart/CigaretteChart.js.map +1 -0
- package/d3-chart/lib/cjs/component/Chart/CigaretteChart.type.js +2 -0
- package/d3-chart/lib/cjs/component/Chart/CigaretteChart.type.js.map +1 -0
- package/d3-chart/lib/cjs/component/Chart/index.js +3 -1
- package/d3-chart/lib/cjs/component/Chart/index.js.map +1 -1
- package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/legend-flex.shadow.css +2 -1
- 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/cjs/component/Cigarette/Cigarette.js +169 -0
- package/d3-chart/lib/cjs/component/Cigarette/Cigarette.js.map +1 -0
- package/d3-chart/lib/cjs/style/bar.shadow.css +1 -1
- package/d3-chart/lib/cjs/types/index.d.js +12 -0
- package/d3-chart/lib/cjs/types/index.d.js.map +1 -1
- package/d3-chart/lib/cjs/utils.js +32 -4
- package/d3-chart/lib/cjs/utils.js.map +1 -1
- 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 +10 -10
- package/d3-chart/lib/es6/Dots.js.map +1 -1
- package/d3-chart/lib/es6/HorizontalBar.js +10 -10
- package/d3-chart/lib/es6/Hover.js +13 -5
- package/d3-chart/lib/es6/Hover.js.map +1 -1
- 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 +13 -11
- package/d3-chart/lib/es6/Tooltip.js.map +1 -1
- 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/Chart/AbstractChart.js +41 -24
- package/d3-chart/lib/es6/component/Chart/AbstractChart.js.map +1 -1
- package/d3-chart/lib/es6/component/Chart/AbstractChart.type.js.map +1 -1
- package/d3-chart/lib/es6/component/Chart/BubbleChart.js +2 -2
- package/d3-chart/lib/es6/component/Chart/BubbleChart.js.map +1 -1
- package/d3-chart/lib/es6/component/Chart/CigaretteChart.js +316 -0
- package/d3-chart/lib/es6/component/Chart/CigaretteChart.js.map +1 -0
- package/d3-chart/lib/es6/component/Chart/CigaretteChart.type.js +2 -0
- package/d3-chart/lib/es6/component/Chart/CigaretteChart.type.js.map +1 -0
- package/d3-chart/lib/es6/component/Chart/index.js +3 -1
- package/d3-chart/lib/es6/component/Chart/index.js.map +1 -1
- package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/legend-flex.shadow.css +2 -1
- 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/es6/component/Cigarette/Cigarette.js +161 -0
- package/d3-chart/lib/es6/component/Cigarette/Cigarette.js.map +1 -0
- package/d3-chart/lib/es6/style/bar.shadow.css +1 -1
- package/d3-chart/lib/es6/types/index.d.js +2 -0
- package/d3-chart/lib/es6/types/index.d.js.map +1 -1
- package/d3-chart/lib/es6/utils.js +32 -4
- package/d3-chart/lib/es6/utils.js.map +1 -1
- package/d3-chart/lib/types/component/Chart/AbstractChart.d.ts +2 -2
- package/d3-chart/lib/types/component/Chart/AbstractChart.type.d.ts +5 -0
- package/d3-chart/lib/types/component/Chart/CigaretteChart.d.ts +2 -0
- package/d3-chart/lib/types/component/Chart/CigaretteChart.type.d.ts +15 -0
- package/d3-chart/lib/types/component/Chart/index.d.ts +1 -0
- package/d3-chart/lib/types/component/Cigarette/Cigarette.d.ts +2 -0
- package/d3-chart/lib/types/index.d.ts +5 -1
- package/d3-chart/lib/types/utils.d.ts +1 -1
- package/d3-chart/utils.d.ts +1 -1
- package/data-table/lib/cjs/Body.js +2 -1
- package/data-table/lib/cjs/Body.js.map +1 -1
- package/data-table/lib/cjs/DataTable.js +35 -35
- package/data-table/lib/es6/Body.js +2 -1
- package/data-table/lib/es6/Body.js.map +1 -1
- package/data-table/lib/es6/DataTable.js +35 -35
- package/date-picker/index.d.ts +0 -10
- package/date-picker/lib/cjs/DatePicker.js +4 -4
- package/date-picker/lib/cjs/DatePicker.js.map +1 -1
- package/date-picker/lib/cjs/DateRangePicker.js +4 -4
- package/date-picker/lib/cjs/DateRangePicker.js.map +1 -1
- package/date-picker/lib/cjs/MonthPicker.js +4 -4
- package/date-picker/lib/cjs/MonthPicker.js.map +1 -1
- package/date-picker/lib/cjs/MonthRangePicker.js +4 -4
- package/date-picker/lib/cjs/MonthRangePicker.js.map +1 -1
- package/date-picker/lib/cjs/components/Calendar.js +21 -21
- package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +37 -37
- package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js.map +1 -1
- package/date-picker/lib/cjs/components/InputTrigger.js +123 -42
- package/date-picker/lib/cjs/components/InputTrigger.js.map +1 -1
- package/date-picker/lib/cjs/components/PickerAbstract.js +29 -27
- package/date-picker/lib/cjs/components/PickerAbstract.js.map +1 -1
- package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -27
- package/date-picker/lib/cjs/components/RangePickerAbstract.js.map +1 -1
- package/date-picker/lib/cjs/index.d.js.map +1 -1
- package/date-picker/lib/cjs/style/date-picker.shadow.css +30 -0
- package/date-picker/lib/es6/DatePicker.js +4 -4
- package/date-picker/lib/es6/DatePicker.js.map +1 -1
- package/date-picker/lib/es6/DateRangePicker.js +4 -4
- package/date-picker/lib/es6/DateRangePicker.js.map +1 -1
- package/date-picker/lib/es6/MonthPicker.js +4 -4
- package/date-picker/lib/es6/MonthPicker.js.map +1 -1
- package/date-picker/lib/es6/MonthRangePicker.js +4 -4
- package/date-picker/lib/es6/MonthRangePicker.js.map +1 -1
- package/date-picker/lib/es6/components/Calendar.js +21 -21
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +37 -37
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js.map +1 -1
- package/date-picker/lib/es6/components/InputTrigger.js +123 -42
- package/date-picker/lib/es6/components/InputTrigger.js.map +1 -1
- package/date-picker/lib/es6/components/PickerAbstract.js +29 -27
- package/date-picker/lib/es6/components/PickerAbstract.js.map +1 -1
- package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -27
- package/date-picker/lib/es6/components/RangePickerAbstract.js.map +1 -1
- package/date-picker/lib/es6/index.d.js.map +1 -1
- package/date-picker/lib/es6/style/date-picker.shadow.css +30 -0
- package/date-picker/lib/types/index.d.ts +0 -10
- package/divider/lib/cjs/Divider.js +9 -9
- package/divider/lib/es6/Divider.js +9 -9
- package/dot/lib/cjs/Dot.js +10 -10
- package/dot/lib/es6/Dot.js +10 -10
- package/drag-and-drop/lib/cjs/DragAndDrop.js +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/styleScrollArea.js +6 -6
- package/dropdown-menu/lib/es6/DropdownMenu.js +16 -16
- package/dropdown-menu/lib/es6/styleScrollArea.js +6 -6
- package/ellipsis/lib/cjs/Ellipsis.js +10 -10
- package/ellipsis/lib/es6/Ellipsis.js +10 -10
- package/errors/lib/cjs/Error.js +9 -9
- package/errors/lib/es6/Error.js +9 -9
- package/feature-popover/lib/cjs/FeaturePopover.js +10 -10
- package/feature-popover/lib/es6/FeaturePopover.js +10 -10
- package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
- package/feedback-form/lib/es6/FeedbackForm.js +7 -7
- package/flags/lib/cjs/Flags.js +3 -3
- package/flags/lib/es6/Flags.js +3 -3
- package/flags/lib/sprites/sprite@1x.css +256 -256
- package/flags/lib/sprites/sprite@2x.css +257 -257
- package/flex-box/lib/cjs/Box/useBox.js +3 -3
- package/flex-box/lib/cjs/Flex/useFlex.js +3 -3
- package/flex-box/lib/cjs/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/es6/Box/useBox.js +3 -3
- package/flex-box/lib/es6/Flex/useFlex.js +3 -3
- package/flex-box/lib/es6/invalid-state-box/InvalidStateBox.js +2 -2
- package/format-text/lib/cjs/FormatText.js +5 -5
- package/format-text/lib/es6/FormatText.js +5 -5
- package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
- package/grid/lib/cjs/Grid.js +114 -114
- package/grid/lib/es6/Grid.js +114 -114
- package/icon/color/Confluence/l/index.js +4 -4
- package/icon/color/Confluence/l/index.mjs +4 -4
- package/icon/color/Confluence/m/index.js +4 -4
- package/icon/color/Confluence/m/index.mjs +4 -4
- package/icon/color/MicrosoftOffice/l/index.js +10 -10
- package/icon/color/MicrosoftOffice/l/index.mjs +10 -10
- package/icon/color/MicrosoftOffice/m/index.js +10 -10
- package/icon/color/MicrosoftOffice/m/index.mjs +10 -10
- package/icon/lib/cjs/Icon.js +5 -5
- package/icon/lib/es6/Icon.js +5 -5
- package/icon/pay/Discover/l/index.js +1 -1
- package/icon/pay/Discover/l/index.mjs +1 -1
- package/icon/pay/Discover/m/index.js +1 -1
- package/icon/pay/Discover/m/index.mjs +1 -1
- package/icon/pay/JCB/l/index.js +10 -10
- package/icon/pay/JCB/l/index.mjs +10 -10
- package/icon/pay/JCB/m/index.js +10 -10
- package/icon/pay/JCB/m/index.mjs +10 -10
- package/icon/pay/Visa/l/index.js +2 -2
- package/icon/pay/Visa/l/index.mjs +2 -2
- package/icon/pay/Visa/m/index.js +2 -2
- package/icon/pay/Visa/m/index.mjs +2 -2
- package/illustration/lib/cjs/index.js +1 -1
- package/illustration/lib/es6/index.js +1 -1
- package/inline-edit/lib/cjs/InlineEdit.js +4 -4
- package/inline-edit/lib/es6/InlineEdit.js +4 -4
- package/inline-input/lib/cjs/InlineInput.js +18 -18
- package/inline-input/lib/es6/InlineInput.js +18 -18
- package/input/lib/cjs/Input.js +17 -17
- package/input/lib/es6/Input.js +17 -17
- package/input-mask/lib/cjs/InputMask.js +6 -6
- package/input-mask/lib/es6/InputMask.js +6 -6
- package/input-number/lib/cjs/InputNumber.js +9 -9
- package/input-number/lib/es6/InputNumber.js +9 -9
- package/input-tags/lib/cjs/InputTags.js +12 -12
- package/input-tags/lib/es6/InputTags.js +12 -12
- package/link/lib/cjs/Link.js +12 -12
- package/link/lib/es6/Link.js +12 -12
- package/mini-chart/lib/cjs/component/score/Donut.js +9 -9
- package/mini-chart/lib/cjs/component/score/Line.js +17 -17
- package/mini-chart/lib/cjs/component/trend/Bar.js +7 -7
- package/mini-chart/lib/cjs/component/trend/Line.js +7 -7
- package/mini-chart/lib/es6/component/score/Donut.js +9 -9
- package/mini-chart/lib/es6/component/score/Line.js +17 -17
- package/mini-chart/lib/es6/component/trend/Bar.js +7 -7
- package/mini-chart/lib/es6/component/trend/Line.js +7 -7
- package/modal/lib/cjs/Modal.js +9 -9
- package/modal/lib/es6/Modal.js +9 -9
- package/notice/lib/cjs/Notice.js +13 -13
- package/notice/lib/es6/Notice.js +13 -13
- package/notice-bubble/lib/cjs/NoticeBubble.js +12 -12
- package/notice-bubble/lib/es6/NoticeBubble.js +12 -12
- package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
- package/notice-global/lib/es6/NoticeGlobal.js +11 -11
- package/package.json +1 -1
- package/pagination/lib/cjs/Pagination.js +29 -12
- package/pagination/lib/cjs/Pagination.js.map +1 -1
- package/pagination/lib/es6/Pagination.js +29 -12
- package/pagination/lib/es6/Pagination.js.map +1 -1
- package/pills/lib/cjs/Pills.js +13 -13
- package/pills/lib/es6/Pills.js +13 -13
- package/popper/lib/cjs/Popper.js +6 -6
- package/popper/lib/es6/Popper.js +6 -6
- package/product-head/lib/cjs/Info.js +4 -4
- package/product-head/lib/cjs/ProductHead.js +5 -5
- package/product-head/lib/cjs/Title.js +4 -4
- package/product-head/lib/es6/Info.js +4 -4
- package/product-head/lib/es6/ProductHead.js +5 -5
- package/product-head/lib/es6/Title.js +4 -4
- package/progress-bar/lib/cjs/ProgressBar.js +15 -15
- package/progress-bar/lib/es6/ProgressBar.js +15 -15
- package/radio/index.d.ts +1 -1
- package/radio/lib/cjs/Radio.js +16 -16
- package/radio/lib/cjs/index.d.js.map +1 -1
- package/radio/lib/es6/Radio.js +16 -16
- package/radio/lib/es6/index.d.js.map +1 -1
- package/radio/lib/types/index.d.ts +1 -1
- package/scroll-area/index.d.ts +8 -1
- package/scroll-area/lib/cjs/ScrollArea.js +35 -19
- package/scroll-area/lib/cjs/ScrollArea.js.map +1 -1
- package/scroll-area/lib/cjs/ScrollBar.js +6 -6
- package/scroll-area/lib/cjs/index.d.js.map +1 -1
- package/scroll-area/lib/cjs/style/scroll-area.shadow.css +5 -1
- package/scroll-area/lib/es6/ScrollArea.js +35 -19
- package/scroll-area/lib/es6/ScrollArea.js.map +1 -1
- package/scroll-area/lib/es6/ScrollBar.js +6 -6
- package/scroll-area/lib/es6/index.d.js.map +1 -1
- package/scroll-area/lib/es6/style/scroll-area.shadow.css +5 -1
- package/scroll-area/lib/types/index.d.ts +8 -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/side-panel/lib/cjs/SidePanel.js +15 -15
- package/side-panel/lib/es6/SidePanel.js +15 -15
- package/skeleton/lib/cjs/Charts/Area.js +9 -9
- package/skeleton/lib/cjs/Charts/Bar.js +9 -9
- package/skeleton/lib/cjs/Charts/Bubble.js +9 -9
- package/skeleton/lib/cjs/Charts/Donut.js +9 -9
- package/skeleton/lib/cjs/Charts/Histogram.js +9 -9
- package/skeleton/lib/cjs/Charts/Line.js +9 -9
- package/skeleton/lib/cjs/Charts/RadialTree.js +9 -9
- package/skeleton/lib/cjs/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/cjs/Charts/Venn.js +9 -9
- package/skeleton/lib/cjs/Skeleton.js +8 -8
- package/skeleton/lib/es6/Charts/Area.js +9 -9
- package/skeleton/lib/es6/Charts/Bar.js +9 -9
- package/skeleton/lib/es6/Charts/Bubble.js +9 -9
- package/skeleton/lib/es6/Charts/Donut.js +9 -9
- package/skeleton/lib/es6/Charts/Histogram.js +9 -9
- package/skeleton/lib/es6/Charts/Line.js +9 -9
- package/skeleton/lib/es6/Charts/RadialTree.js +9 -9
- package/skeleton/lib/es6/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/es6/Charts/Venn.js +9 -9
- package/skeleton/lib/es6/Skeleton.js +8 -8
- package/slider/lib/cjs/Slider.js +7 -7
- package/slider/lib/es6/Slider.js +7 -7
- package/spin/lib/cjs/Spin.js +13 -13
- package/spin/lib/es6/Spin.js +13 -13
- package/spin-container/lib/cjs/SpinContainer.js +9 -9
- package/spin-container/lib/cjs/SpinContainer.js.map +1 -1
- package/spin-container/lib/es6/SpinContainer.js +9 -9
- package/spin-container/lib/es6/SpinContainer.js.map +1 -1
- package/sticky/lib/cjs/Sticky.js +2 -2
- package/sticky/lib/es6/Sticky.js +2 -2
- package/switch/lib/cjs/Switch.js +21 -21
- package/switch/lib/es6/Switch.js +21 -21
- package/tab-line/lib/cjs/TabLine.js +13 -13
- package/tab-line/lib/es6/TabLine.js +13 -13
- package/tab-panel/lib/cjs/TabPanel.js +8 -8
- package/tab-panel/lib/es6/TabPanel.js +8 -8
- package/tag/lib/cjs/Tag.js +20 -20
- package/tag/lib/es6/Tag.js +20 -20
- package/textarea/lib/cjs/Textarea.js +8 -8
- package/textarea/lib/es6/Textarea.js +8 -8
- package/time-picker/lib/cjs/TimePicker.js +12 -12
- package/time-picker/lib/es6/TimePicker.js +12 -12
- package/tooltip/lib/cjs/Tooltip.js +9 -9
- package/tooltip/lib/es6/Tooltip.js +9 -9
- package/typography/lib/cjs/Blockquote.js +4 -4
- package/typography/lib/cjs/Hint.js +7 -7
- package/typography/lib/cjs/List.js +5 -5
- package/typography/lib/cjs/Text.js +34 -34
- package/typography/lib/es6/Blockquote.js +4 -4
- package/typography/lib/es6/Hint.js +7 -7
- package/typography/lib/es6/List.js +5 -5
- package/typography/lib/es6/Text.js +34 -34
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js +2 -2
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs +2 -2
- package/utils/lib/findComponent.d.ts +2 -2
- package/utils/lib/findComponent.js +10 -5
- package/utils/lib/findComponent.js.map +1 -1
- package/utils/lib/findComponent.mjs +10 -5
- package/utils/lib/findComponent.mjs.map +1 -1
- package/utils/lib/injectStyle.js +1 -1
- package/utils/lib/injectStyle.mjs +1 -1
- package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
- package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
- package/wizard/lib/cjs/Wizard.js +11 -11
- package/wizard/lib/es6/Wizard.js +11 -11
@@ -27,15 +27,15 @@ var _uniqueID = _interopRequireDefault(require("intergalactic/utils/lib/uniqueID
|
|
27
27
|
var _portal = _interopRequireDefault(require("intergalactic/portal"));
|
28
28
|
var _excluded = ["Children", "title", "offset", "forcedAdvancedMode"];
|
29
29
|
/*__reshadow-styles__:"./style/tooltip.shadow.css"*/
|
30
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
31
|
-
"__STooltip": "
|
32
|
-
"_theme_default": "
|
33
|
-
"_theme_invert": "
|
34
|
-
"_theme_warning": "
|
35
|
-
"__STooltipPortalledWrapper": "
|
36
|
-
"_zIndex": "
|
37
|
-
"--zIndex": "--
|
38
|
-
"__SArrow": "
|
30
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___STooltip_1unis_gg_{position:relative;padding:var(--intergalactic-spacing-3x, 12px);border-radius:var(--intergalactic-popper-rounded, 6px);box-sizing:border-box;color:var(--intergalactic-text-primary, #191b23);font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);word-wrap:break-word;max-width:250px;font-weight:400;white-space:normal;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15))}.___STooltip_1unis_gg_._theme_default_1unis_gg_{background-color:var(--intergalactic-tooltip-default, #ffffff);border:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___STooltip_1unis_gg_._theme_invert_1unis_gg_{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-tooltip-invert, #191b23);border:1px solid var(--intergalactic-border-tooltip-invert, #6c6e79)}.___STooltip_1unis_gg_._theme_warning_1unis_gg_{background-color:var(--intergalactic-tooltip-warning, #ffd7df);border:1px solid var(--intergalactic-border-critical-active, #d1002f)}.___STooltip_1unis_gg_[data-popper-reference-hidden]{visibility:hidden;pointer-events:none}.___SArrow_1unis_gg_,.___SArrow_1unis_gg_:before{position:absolute;border:6px solid}.___SArrow_1unis_gg_:before{content:\"\"}.___SArrow_1unis_gg_._theme_default_1unis_gg_{border-color:var(--intergalactic-border-secondary, #e0e1e9)}.___SArrow_1unis_gg_._theme_default_1unis_gg_:before{border-color:var(--intergalactic-tooltip-default, #ffffff)}.___SArrow_1unis_gg_._theme_invert_1unis_gg_{border-color:var(--intergalactic-border-tooltip-invert, #6c6e79)}.___SArrow_1unis_gg_._theme_invert_1unis_gg_::before{border-color:var(--intergalactic-tooltip-invert, #191b23)}.___SArrow_1unis_gg_._theme_warning_1unis_gg_{border-color:var(--intergalactic-border-critical-active, #d1002f)}.___SArrow_1unis_gg_._theme_warning_1unis_gg_::before{border-color:var(--intergalactic-tooltip-warning, #ffd7df)}.___STooltip_1unis_gg_[data-popper-placement^=top] .___SArrow_1unis_gg_,.___STooltip_1unis_gg_[data-popper-placement^=top] .___SArrow_1unis_gg_::before{top:100%;border-bottom:0 transparent;border-right-color:transparent!important;border-left-color:transparent!important}.___STooltip_1unis_gg_[data-popper-placement^=top] .___SArrow_1unis_gg_::before{top:-7px;left:-6px}.___STooltip_1unis_gg_[data-popper-placement^=bottom] .___SArrow_1unis_gg_{bottom:100%;border-top:0 transparent;border-right-color:transparent!important;border-left-color:transparent!important}.___STooltip_1unis_gg_[data-popper-placement^=bottom] .___SArrow_1unis_gg_::before{top:1px;left:-6px;border-top:0 transparent;border-right-color:transparent!important;border-left-color:transparent!important}.___STooltip_1unis_gg_[data-popper-placement^=left] .___SArrow_1unis_gg_,.___STooltip_1unis_gg_[data-popper-placement^=left] .___SArrow_1unis_gg_::before{left:100%;border-right:0 transparent;border-top-color:transparent!important;border-bottom-color:transparent!important}.___STooltip_1unis_gg_[data-popper-placement^=left] .___SArrow_1unis_gg_::before{top:-6px;left:-7px}.___STooltip_1unis_gg_[data-popper-placement^=right] .___SArrow_1unis_gg_{right:100%;border-left:0 transparent;border-top-color:transparent!important;border-bottom-color:transparent!important}.___STooltip_1unis_gg_[data-popper-placement^=right] .___SArrow_1unis_gg_::before{top:-6px;left:1px;border-left:0 transparent;border-top-color:transparent!important;border-bottom-color:transparent!important}.___STooltipPortalledWrapper_1unis_gg_{position:relative;z-index:var(--intergalactic-z-index-tooltip, 800)}.___STooltipPortalledWrapper_1unis_gg_.__zIndex_1unis_gg_{z-index:var(--zIndex_1unis)}" /*__inner_css_end__*/, "1unis_gg_") /*__reshadow_css_end__*/, {
|
31
|
+
"__STooltip": "___STooltip_1unis_gg_",
|
32
|
+
"_theme_default": "_theme_default_1unis_gg_",
|
33
|
+
"_theme_invert": "_theme_invert_1unis_gg_",
|
34
|
+
"_theme_warning": "_theme_warning_1unis_gg_",
|
35
|
+
"__STooltipPortalledWrapper": "___STooltipPortalledWrapper_1unis_gg_",
|
36
|
+
"_zIndex": "__zIndex_1unis_gg_",
|
37
|
+
"--zIndex": "--zIndex_1unis",
|
38
|
+
"__SArrow": "___SArrow_1unis_gg_"
|
39
39
|
});
|
40
40
|
var Popper = _popper["default"][_core.CREATE_COMPONENT]();
|
41
41
|
var defaultProps = {
|
@@ -23,15 +23,15 @@ import logger from 'intergalactic/utils/lib/logger';
|
|
23
23
|
import uniqueIDEnhancement from 'intergalactic/utils/lib/uniqueID';
|
24
24
|
import Portal from 'intergalactic/portal';
|
25
25
|
/*__reshadow-styles__:"./style/tooltip.shadow.css"*/
|
26
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
27
|
-
"__STooltip": "
|
28
|
-
"_theme_default": "
|
29
|
-
"_theme_invert": "
|
30
|
-
"_theme_warning": "
|
31
|
-
"__STooltipPortalledWrapper": "
|
32
|
-
"_zIndex": "
|
33
|
-
"--zIndex": "--
|
34
|
-
"__SArrow": "
|
26
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___STooltip_1unis_gg_{position:relative;padding:var(--intergalactic-spacing-3x, 12px);border-radius:var(--intergalactic-popper-rounded, 6px);box-sizing:border-box;color:var(--intergalactic-text-primary, #191b23);font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%);word-wrap:break-word;max-width:250px;font-weight:400;white-space:normal;box-shadow:var(--intergalactic-box-shadow-popper, 0px 1px 12px 0px rgba(25, 27, 35, 0.15))}.___STooltip_1unis_gg_._theme_default_1unis_gg_{background-color:var(--intergalactic-tooltip-default, #ffffff);border:1px solid var(--intergalactic-border-secondary, #e0e1e9)}.___STooltip_1unis_gg_._theme_invert_1unis_gg_{color:var(--intergalactic-text-primary-invert, #ffffff);background-color:var(--intergalactic-tooltip-invert, #191b23);border:1px solid var(--intergalactic-border-tooltip-invert, #6c6e79)}.___STooltip_1unis_gg_._theme_warning_1unis_gg_{background-color:var(--intergalactic-tooltip-warning, #ffd7df);border:1px solid var(--intergalactic-border-critical-active, #d1002f)}.___STooltip_1unis_gg_[data-popper-reference-hidden]{visibility:hidden;pointer-events:none}.___SArrow_1unis_gg_,.___SArrow_1unis_gg_:before{position:absolute;border:6px solid}.___SArrow_1unis_gg_:before{content:\"\"}.___SArrow_1unis_gg_._theme_default_1unis_gg_{border-color:var(--intergalactic-border-secondary, #e0e1e9)}.___SArrow_1unis_gg_._theme_default_1unis_gg_:before{border-color:var(--intergalactic-tooltip-default, #ffffff)}.___SArrow_1unis_gg_._theme_invert_1unis_gg_{border-color:var(--intergalactic-border-tooltip-invert, #6c6e79)}.___SArrow_1unis_gg_._theme_invert_1unis_gg_::before{border-color:var(--intergalactic-tooltip-invert, #191b23)}.___SArrow_1unis_gg_._theme_warning_1unis_gg_{border-color:var(--intergalactic-border-critical-active, #d1002f)}.___SArrow_1unis_gg_._theme_warning_1unis_gg_::before{border-color:var(--intergalactic-tooltip-warning, #ffd7df)}.___STooltip_1unis_gg_[data-popper-placement^=top] .___SArrow_1unis_gg_,.___STooltip_1unis_gg_[data-popper-placement^=top] .___SArrow_1unis_gg_::before{top:100%;border-bottom:0 transparent;border-right-color:transparent!important;border-left-color:transparent!important}.___STooltip_1unis_gg_[data-popper-placement^=top] .___SArrow_1unis_gg_::before{top:-7px;left:-6px}.___STooltip_1unis_gg_[data-popper-placement^=bottom] .___SArrow_1unis_gg_{bottom:100%;border-top:0 transparent;border-right-color:transparent!important;border-left-color:transparent!important}.___STooltip_1unis_gg_[data-popper-placement^=bottom] .___SArrow_1unis_gg_::before{top:1px;left:-6px;border-top:0 transparent;border-right-color:transparent!important;border-left-color:transparent!important}.___STooltip_1unis_gg_[data-popper-placement^=left] .___SArrow_1unis_gg_,.___STooltip_1unis_gg_[data-popper-placement^=left] .___SArrow_1unis_gg_::before{left:100%;border-right:0 transparent;border-top-color:transparent!important;border-bottom-color:transparent!important}.___STooltip_1unis_gg_[data-popper-placement^=left] .___SArrow_1unis_gg_::before{top:-6px;left:-7px}.___STooltip_1unis_gg_[data-popper-placement^=right] .___SArrow_1unis_gg_{right:100%;border-left:0 transparent;border-top-color:transparent!important;border-bottom-color:transparent!important}.___STooltip_1unis_gg_[data-popper-placement^=right] .___SArrow_1unis_gg_::before{top:-6px;left:1px;border-left:0 transparent;border-top-color:transparent!important;border-bottom-color:transparent!important}.___STooltipPortalledWrapper_1unis_gg_{position:relative;z-index:var(--intergalactic-z-index-tooltip, 800)}.___STooltipPortalledWrapper_1unis_gg_.__zIndex_1unis_gg_{z-index:var(--zIndex_1unis)}" /*__inner_css_end__*/, "1unis_gg_") /*__reshadow_css_end__*/, {
|
27
|
+
"__STooltip": "___STooltip_1unis_gg_",
|
28
|
+
"_theme_default": "_theme_default_1unis_gg_",
|
29
|
+
"_theme_invert": "_theme_invert_1unis_gg_",
|
30
|
+
"_theme_warning": "_theme_warning_1unis_gg_",
|
31
|
+
"__STooltipPortalledWrapper": "___STooltipPortalledWrapper_1unis_gg_",
|
32
|
+
"_zIndex": "__zIndex_1unis_gg_",
|
33
|
+
"--zIndex": "--zIndex_1unis",
|
34
|
+
"__SArrow": "___SArrow_1unis_gg_"
|
35
35
|
});
|
36
36
|
var Popper = PopperOrigin[CREATE_COMPONENT]();
|
37
37
|
var defaultProps = {
|
@@ -11,10 +11,10 @@ var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
var _isNode = _interopRequireDefault(require("intergalactic/utils/lib/isNode"));
|
12
12
|
var _flexBox = require("intergalactic/flex-box");
|
13
13
|
/*__reshadow-styles__:"./style/blockquote.shadow.css"*/
|
14
|
-
var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
15
|
-
"__SBlockquote": "
|
16
|
-
"__SDoubleQuotation": "
|
17
|
-
"__SAuthor": "
|
14
|
+
var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SBlockquote_v0z2p_gg_{position:relative;display:flex;font-style:italic;font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%);color:var(--intergalactic-text-primary, #191b23)}.___SDoubleQuotation_v0z2p_gg_{position:relative;margin-right:var(--intergalactic-spacing-5x, 20px);font-family:\"Times New Roman\",serif;font-style:normal;font-size:68px;line-height:52px;color:var(--intergalactic-text-large-secondary, #a9abb6)}.___SAuthor_v0z2p_gg_{display:block;margin-top:var(--intergalactic-spacing-4x, 16px);color:var(--intergalactic-text-secondary, #6c6e79);font-style:normal;font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}" /*__inner_css_end__*/, "v0z2p_gg_") /*__reshadow_css_end__*/, {
|
15
|
+
"__SBlockquote": "___SBlockquote_v0z2p_gg_",
|
16
|
+
"__SDoubleQuotation": "___SDoubleQuotation_v0z2p_gg_",
|
17
|
+
"__SAuthor": "___SAuthor_v0z2p_gg_"
|
18
18
|
});
|
19
19
|
function Blockquote(props, ref) {
|
20
20
|
var _ref = arguments[0],
|
@@ -19,13 +19,13 @@ var _keyboardFocusEnhance = _interopRequireDefault(require("intergalactic/utils/
|
|
19
19
|
var _addonTextChildren = _interopRequireDefault(require("intergalactic/utils/lib/addonTextChildren"));
|
20
20
|
var _Text = _interopRequireDefault(require("./Text"));
|
21
21
|
/*__reshadow-styles__:"./style/hint.shadow.css"*/
|
22
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
23
|
-
"__SHint": "
|
24
|
-
"_keyboardFocused": "
|
25
|
-
"_disabled": "
|
26
|
-
"__SAddon": "
|
27
|
-
"__SText": "
|
28
|
-
"_active": "
|
22
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SHint_1i0wa_gg_{display:inline-block;transition:all .15s ease-in-out;-webkit-text-decoration:none;text-decoration:none;outline:0;cursor:pointer;color:var(--intergalactic-text-secondary, #6c6e79)}.___SHint_1i0wa_gg_.__active_1i0wa_gg_,.___SHint_1i0wa_gg_:active{color:var(--intergalactic-text-hint-hover-active, #484a54)}@media (hover:hover){.___SHint_1i0wa_gg_:hover{color:var(--intergalactic-text-hint-hover-active, #484a54)}}.___SHint_1i0wa_gg_.__keyboardFocused_1i0wa_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHint_1i0wa_gg_.__disabled_1i0wa_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SAddon_1i0wa_gg_{vertical-align:middle;display:inline-flex}.___SHint_1i0wa_gg_ .___SAddon_1i0wa_gg_:not(:only-child):first-child{margin-right:var(--intergalactic-spacing-1x, 4px)}.___SHint_1i0wa_gg_ .___SAddon_1i0wa_gg_:not(:only-child):last-child{margin-left:var(--intergalactic-spacing-1x, 4px)}.___SText_1i0wa_gg_{border-bottom-width:1px;border-bottom-style:dashed;border-color:currentColor}@media (prefers-reduced-motion){.___SHint_1i0wa_gg_{transition:none}}" /*__inner_css_end__*/, "1i0wa_gg_") /*__reshadow_css_end__*/, {
|
23
|
+
"__SHint": "___SHint_1i0wa_gg_",
|
24
|
+
"_keyboardFocused": "__keyboardFocused_1i0wa_gg_",
|
25
|
+
"_disabled": "__disabled_1i0wa_gg_",
|
26
|
+
"__SAddon": "___SAddon_1i0wa_gg_",
|
27
|
+
"__SText": "___SText_1i0wa_gg_",
|
28
|
+
"_active": "__active_1i0wa_gg_"
|
29
29
|
});
|
30
30
|
var RootHint = /*#__PURE__*/function (_Component) {
|
31
31
|
(0, _inherits2["default"])(RootHint, _Component);
|
@@ -19,11 +19,11 @@ var _isNode = _interopRequireDefault(require("intergalactic/utils/lib/isNode"));
|
|
19
19
|
var _findComponent = require("intergalactic/utils/lib/findComponent");
|
20
20
|
var _Text = _interopRequireDefault(require("./Text"));
|
21
21
|
/*__reshadow-styles__:"./style/list.shadow.css"*/
|
22
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
23
|
-
"__SList": "
|
24
|
-
"__SContent": "
|
25
|
-
"__SItem": "
|
26
|
-
"__SMarker": "
|
22
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SList_1un2x_gg_{padding:0;margin:0;list-style-type:none}.___SContent_1un2x_gg_{overflow:inherit;text-overflow:inherit}.___SItem_1un2x_gg_+.___SItem_1un2x_gg_,.___SList_1un2x_gg_ .___SList_1un2x_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}.___SItem_1un2x_gg_{display:flex}.___SMarker_1un2x_gg_{margin-right:var(--intergalactic-spacing-2x, 8px);color:var(--intergalactic-text-secondary, #6c6e79);line-height:normal}" /*__inner_css_end__*/, "1un2x_gg_") /*__reshadow_css_end__*/, {
|
23
|
+
"__SList": "___SList_1un2x_gg_",
|
24
|
+
"__SContent": "___SContent_1un2x_gg_",
|
25
|
+
"__SItem": "___SItem_1un2x_gg_",
|
26
|
+
"__SMarker": "___SMarker_1un2x_gg_"
|
27
27
|
});
|
28
28
|
var ListRoot = /*#__PURE__*/function (_Component) {
|
29
29
|
(0, _inherits2["default"])(ListRoot, _Component);
|
@@ -11,40 +11,40 @@ var _react = _interopRequireDefault(require("react"));
|
|
11
11
|
var _flexBox = require("intergalactic/flex-box");
|
12
12
|
var _useColorResolver = require("intergalactic/utils/lib/use/useColorResolver");
|
13
13
|
/*__reshadow-styles__:"./style/text.shadow.css"*/
|
14
|
-
var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
15
|
-
"__SText": "
|
16
|
-
"_size_100": "
|
17
|
-
"_size_200": "
|
18
|
-
"_size_300": "
|
19
|
-
"_size_400": "
|
20
|
-
"_size_500": "
|
21
|
-
"_size_600": "
|
22
|
-
"_size_700": "
|
23
|
-
"_size_800": "
|
24
|
-
"_noWrap": "
|
25
|
-
"_medium": "
|
26
|
-
"_semibold": "
|
27
|
-
"_bold": "
|
28
|
-
"_italic": "
|
29
|
-
"_monospace": "
|
30
|
-
"_uppercase": "
|
31
|
-
"_lowercase": "
|
32
|
-
"_capitalize": "
|
33
|
-
"_decoration": "
|
34
|
-
"--decoration": "--
|
35
|
-
"_color": "
|
36
|
-
"--color": "--
|
37
|
-
"_fontSize": "
|
38
|
-
"--fontSize": "--
|
39
|
-
"_lineHeight": "
|
40
|
-
"--lineHeight": "--
|
41
|
-
"_fontWeight": "
|
42
|
-
"--fontWeight": "--
|
43
|
-
"_textAlign": "
|
44
|
-
"--textAlign": "--
|
45
|
-
"_use_primary": "
|
46
|
-
"_use_secondary": "
|
47
|
-
"_disabled": "
|
14
|
+
var styles = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SText_yql51_gg_{padding:0;margin:0}.___SText_yql51_gg_._size_100_yql51_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___SText_yql51_gg_._size_200_yql51_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SText_yql51_gg_._size_300_yql51_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SText_yql51_gg_._size_400_yql51_gg_{font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%)}.___SText_yql51_gg_._size_500_yql51_gg_{font-size:var(--intergalactic-fs-500, 24px);line-height:var(--intergalactic-lh-500, 117%)}.___SText_yql51_gg_._size_600_yql51_gg_{font-size:var(--intergalactic-fs-600, 32px);line-height:var(--intergalactic-lh-600, 125%)}.___SText_yql51_gg_._size_700_yql51_gg_{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%)}.___SText_yql51_gg_._size_800_yql51_gg_{font-size:var(--intergalactic-fs-800, 48px);line-height:var(--intergalactic-lh-800, 117%)}.___SText_yql51_gg_.__noWrap_yql51_gg_{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SText_yql51_gg_.__medium_yql51_gg_{font-weight:var(--intergalactic-medium, 500)}.___SText_yql51_gg_.__semibold_yql51_gg_{font-weight:var(--intergalactic-semi-bold, 600)}.___SText_yql51_gg_.__bold_yql51_gg_{font-weight:var(--intergalactic-bold, 700)}.___SText_yql51_gg_.__italic_yql51_gg_{font-style:italic}.___SText_yql51_gg_.__monospace_yql51_gg_{font-family:Consolas,\"Roboto Mono\",Menlo,Courier,monospace}.___SText_yql51_gg_.__uppercase_yql51_gg_{text-transform:uppercase}.___SText_yql51_gg_.__lowercase_yql51_gg_{text-transform:lowercase}.___SText_yql51_gg_.__capitalize_yql51_gg_{text-transform:capitalize}.___SText_yql51_gg_.__decoration_yql51_gg_{-webkit-text-decoration:var(--decoration_yql51);text-decoration:var(--decoration_yql51)}.___SText_yql51_gg_.__color_yql51_gg_{color:var(--color_yql51)}.___SText_yql51_gg_.__fontSize_yql51_gg_{font-size:var(--fontSize_yql51)}.___SText_yql51_gg_.__lineHeight_yql51_gg_{line-height:var(--lineHeight_yql51)}.___SText_yql51_gg_.__fontWeight_yql51_gg_{font-weight:var(--fontWeight_yql51)}.___SText_yql51_gg_.__textAlign_yql51_gg_{text-align:var(--textAlign_yql51)}.___SText_yql51_gg_._use_primary_yql51_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SText_yql51_gg_._use_secondary_yql51_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SText_yql51_gg_.__disabled_yql51_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}" /*__inner_css_end__*/, "yql51_gg_") /*__reshadow_css_end__*/, {
|
15
|
+
"__SText": "___SText_yql51_gg_",
|
16
|
+
"_size_100": "_size_100_yql51_gg_",
|
17
|
+
"_size_200": "_size_200_yql51_gg_",
|
18
|
+
"_size_300": "_size_300_yql51_gg_",
|
19
|
+
"_size_400": "_size_400_yql51_gg_",
|
20
|
+
"_size_500": "_size_500_yql51_gg_",
|
21
|
+
"_size_600": "_size_600_yql51_gg_",
|
22
|
+
"_size_700": "_size_700_yql51_gg_",
|
23
|
+
"_size_800": "_size_800_yql51_gg_",
|
24
|
+
"_noWrap": "__noWrap_yql51_gg_",
|
25
|
+
"_medium": "__medium_yql51_gg_",
|
26
|
+
"_semibold": "__semibold_yql51_gg_",
|
27
|
+
"_bold": "__bold_yql51_gg_",
|
28
|
+
"_italic": "__italic_yql51_gg_",
|
29
|
+
"_monospace": "__monospace_yql51_gg_",
|
30
|
+
"_uppercase": "__uppercase_yql51_gg_",
|
31
|
+
"_lowercase": "__lowercase_yql51_gg_",
|
32
|
+
"_capitalize": "__capitalize_yql51_gg_",
|
33
|
+
"_decoration": "__decoration_yql51_gg_",
|
34
|
+
"--decoration": "--decoration_yql51",
|
35
|
+
"_color": "__color_yql51_gg_",
|
36
|
+
"--color": "--color_yql51",
|
37
|
+
"_fontSize": "__fontSize_yql51_gg_",
|
38
|
+
"--fontSize": "--fontSize_yql51",
|
39
|
+
"_lineHeight": "__lineHeight_yql51_gg_",
|
40
|
+
"--lineHeight": "--lineHeight_yql51",
|
41
|
+
"_fontWeight": "__fontWeight_yql51_gg_",
|
42
|
+
"--fontWeight": "--fontWeight_yql51",
|
43
|
+
"_textAlign": "__textAlign_yql51_gg_",
|
44
|
+
"--textAlign": "--textAlign_yql51",
|
45
|
+
"_use_primary": "_use_primary_yql51_gg_",
|
46
|
+
"_use_secondary": "_use_secondary_yql51_gg_",
|
47
|
+
"_disabled": "__disabled_yql51_gg_"
|
48
48
|
});
|
49
49
|
function getTextDecoration(underline, lineThrough) {
|
50
50
|
if (underline) {
|
@@ -6,10 +6,10 @@ import { createBaseComponent, Root, sstyled } from 'intergalactic/core';
|
|
6
6
|
import isNode from 'intergalactic/utils/lib/isNode';
|
7
7
|
import { Box } from 'intergalactic/flex-box';
|
8
8
|
/*__reshadow-styles__:"./style/blockquote.shadow.css"*/
|
9
|
-
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
10
|
-
"__SBlockquote": "
|
11
|
-
"__SDoubleQuotation": "
|
12
|
-
"__SAuthor": "
|
9
|
+
var styles = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SBlockquote_v0z2p_gg_{position:relative;display:flex;font-style:italic;font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%);color:var(--intergalactic-text-primary, #191b23)}.___SDoubleQuotation_v0z2p_gg_{position:relative;margin-right:var(--intergalactic-spacing-5x, 20px);font-family:\"Times New Roman\",serif;font-style:normal;font-size:68px;line-height:52px;color:var(--intergalactic-text-large-secondary, #a9abb6)}.___SAuthor_v0z2p_gg_{display:block;margin-top:var(--intergalactic-spacing-4x, 16px);color:var(--intergalactic-text-secondary, #6c6e79);font-style:normal;font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}" /*__inner_css_end__*/, "v0z2p_gg_") /*__reshadow_css_end__*/, {
|
10
|
+
"__SBlockquote": "___SBlockquote_v0z2p_gg_",
|
11
|
+
"__SDoubleQuotation": "___SDoubleQuotation_v0z2p_gg_",
|
12
|
+
"__SAuthor": "___SAuthor_v0z2p_gg_"
|
13
13
|
});
|
14
14
|
function Blockquote(props, ref) {
|
15
15
|
var _ref = arguments[0],
|
@@ -15,13 +15,13 @@ import keyboardFocusEnhance from 'intergalactic/utils/lib/enhances/keyboardFocus
|
|
15
15
|
import addonTextChildren from 'intergalactic/utils/lib/addonTextChildren';
|
16
16
|
import Text from './Text';
|
17
17
|
/*__reshadow-styles__:"./style/hint.shadow.css"*/
|
18
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
19
|
-
"__SHint": "
|
20
|
-
"_keyboardFocused": "
|
21
|
-
"_disabled": "
|
22
|
-
"__SAddon": "
|
23
|
-
"__SText": "
|
24
|
-
"_active": "
|
18
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SHint_1i0wa_gg_{display:inline-block;transition:all .15s ease-in-out;-webkit-text-decoration:none;text-decoration:none;outline:0;cursor:pointer;color:var(--intergalactic-text-secondary, #6c6e79)}.___SHint_1i0wa_gg_.__active_1i0wa_gg_,.___SHint_1i0wa_gg_:active{color:var(--intergalactic-text-hint-hover-active, #484a54)}@media (hover:hover){.___SHint_1i0wa_gg_:hover{color:var(--intergalactic-text-hint-hover-active, #484a54)}}.___SHint_1i0wa_gg_.__keyboardFocused_1i0wa_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHint_1i0wa_gg_.__disabled_1i0wa_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SAddon_1i0wa_gg_{vertical-align:middle;display:inline-flex}.___SHint_1i0wa_gg_ .___SAddon_1i0wa_gg_:not(:only-child):first-child{margin-right:var(--intergalactic-spacing-1x, 4px)}.___SHint_1i0wa_gg_ .___SAddon_1i0wa_gg_:not(:only-child):last-child{margin-left:var(--intergalactic-spacing-1x, 4px)}.___SText_1i0wa_gg_{border-bottom-width:1px;border-bottom-style:dashed;border-color:currentColor}@media (prefers-reduced-motion){.___SHint_1i0wa_gg_{transition:none}}" /*__inner_css_end__*/, "1i0wa_gg_") /*__reshadow_css_end__*/, {
|
19
|
+
"__SHint": "___SHint_1i0wa_gg_",
|
20
|
+
"_keyboardFocused": "__keyboardFocused_1i0wa_gg_",
|
21
|
+
"_disabled": "__disabled_1i0wa_gg_",
|
22
|
+
"__SAddon": "___SAddon_1i0wa_gg_",
|
23
|
+
"__SText": "___SText_1i0wa_gg_",
|
24
|
+
"_active": "__active_1i0wa_gg_"
|
25
25
|
});
|
26
26
|
var RootHint = /*#__PURE__*/function (_Component) {
|
27
27
|
_inherits(RootHint, _Component);
|
@@ -15,11 +15,11 @@ import isNode from 'intergalactic/utils/lib/isNode';
|
|
15
15
|
import { isAdvanceMode } from 'intergalactic/utils/lib/findComponent';
|
16
16
|
import Text from './Text';
|
17
17
|
/*__reshadow-styles__:"./style/list.shadow.css"*/
|
18
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
19
|
-
"__SList": "
|
20
|
-
"__SContent": "
|
21
|
-
"__SItem": "
|
22
|
-
"__SMarker": "
|
18
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SList_1un2x_gg_{padding:0;margin:0;list-style-type:none}.___SContent_1un2x_gg_{overflow:inherit;text-overflow:inherit}.___SItem_1un2x_gg_+.___SItem_1un2x_gg_,.___SList_1un2x_gg_ .___SList_1un2x_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}.___SItem_1un2x_gg_{display:flex}.___SMarker_1un2x_gg_{margin-right:var(--intergalactic-spacing-2x, 8px);color:var(--intergalactic-text-secondary, #6c6e79);line-height:normal}" /*__inner_css_end__*/, "1un2x_gg_") /*__reshadow_css_end__*/, {
|
19
|
+
"__SList": "___SList_1un2x_gg_",
|
20
|
+
"__SContent": "___SContent_1un2x_gg_",
|
21
|
+
"__SItem": "___SItem_1un2x_gg_",
|
22
|
+
"__SMarker": "___SMarker_1un2x_gg_"
|
23
23
|
});
|
24
24
|
var ListRoot = /*#__PURE__*/function (_Component) {
|
25
25
|
_inherits(ListRoot, _Component);
|
@@ -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_yql51_gg_{padding:0;margin:0}.___SText_yql51_gg_._size_100_yql51_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___SText_yql51_gg_._size_200_yql51_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SText_yql51_gg_._size_300_yql51_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SText_yql51_gg_._size_400_yql51_gg_{font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%)}.___SText_yql51_gg_._size_500_yql51_gg_{font-size:var(--intergalactic-fs-500, 24px);line-height:var(--intergalactic-lh-500, 117%)}.___SText_yql51_gg_._size_600_yql51_gg_{font-size:var(--intergalactic-fs-600, 32px);line-height:var(--intergalactic-lh-600, 125%)}.___SText_yql51_gg_._size_700_yql51_gg_{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%)}.___SText_yql51_gg_._size_800_yql51_gg_{font-size:var(--intergalactic-fs-800, 48px);line-height:var(--intergalactic-lh-800, 117%)}.___SText_yql51_gg_.__noWrap_yql51_gg_{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SText_yql51_gg_.__medium_yql51_gg_{font-weight:var(--intergalactic-medium, 500)}.___SText_yql51_gg_.__semibold_yql51_gg_{font-weight:var(--intergalactic-semi-bold, 600)}.___SText_yql51_gg_.__bold_yql51_gg_{font-weight:var(--intergalactic-bold, 700)}.___SText_yql51_gg_.__italic_yql51_gg_{font-style:italic}.___SText_yql51_gg_.__monospace_yql51_gg_{font-family:Consolas,\"Roboto Mono\",Menlo,Courier,monospace}.___SText_yql51_gg_.__uppercase_yql51_gg_{text-transform:uppercase}.___SText_yql51_gg_.__lowercase_yql51_gg_{text-transform:lowercase}.___SText_yql51_gg_.__capitalize_yql51_gg_{text-transform:capitalize}.___SText_yql51_gg_.__decoration_yql51_gg_{-webkit-text-decoration:var(--decoration_yql51);text-decoration:var(--decoration_yql51)}.___SText_yql51_gg_.__color_yql51_gg_{color:var(--color_yql51)}.___SText_yql51_gg_.__fontSize_yql51_gg_{font-size:var(--fontSize_yql51)}.___SText_yql51_gg_.__lineHeight_yql51_gg_{line-height:var(--lineHeight_yql51)}.___SText_yql51_gg_.__fontWeight_yql51_gg_{font-weight:var(--fontWeight_yql51)}.___SText_yql51_gg_.__textAlign_yql51_gg_{text-align:var(--textAlign_yql51)}.___SText_yql51_gg_._use_primary_yql51_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SText_yql51_gg_._use_secondary_yql51_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SText_yql51_gg_.__disabled_yql51_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}" /*__inner_css_end__*/, "yql51_gg_") /*__reshadow_css_end__*/, {
|
9
|
+
"__SText": "___SText_yql51_gg_",
|
10
|
+
"_size_100": "_size_100_yql51_gg_",
|
11
|
+
"_size_200": "_size_200_yql51_gg_",
|
12
|
+
"_size_300": "_size_300_yql51_gg_",
|
13
|
+
"_size_400": "_size_400_yql51_gg_",
|
14
|
+
"_size_500": "_size_500_yql51_gg_",
|
15
|
+
"_size_600": "_size_600_yql51_gg_",
|
16
|
+
"_size_700": "_size_700_yql51_gg_",
|
17
|
+
"_size_800": "_size_800_yql51_gg_",
|
18
|
+
"_noWrap": "__noWrap_yql51_gg_",
|
19
|
+
"_medium": "__medium_yql51_gg_",
|
20
|
+
"_semibold": "__semibold_yql51_gg_",
|
21
|
+
"_bold": "__bold_yql51_gg_",
|
22
|
+
"_italic": "__italic_yql51_gg_",
|
23
|
+
"_monospace": "__monospace_yql51_gg_",
|
24
|
+
"_uppercase": "__uppercase_yql51_gg_",
|
25
|
+
"_lowercase": "__lowercase_yql51_gg_",
|
26
|
+
"_capitalize": "__capitalize_yql51_gg_",
|
27
|
+
"_decoration": "__decoration_yql51_gg_",
|
28
|
+
"--decoration": "--decoration_yql51",
|
29
|
+
"_color": "__color_yql51_gg_",
|
30
|
+
"--color": "--color_yql51",
|
31
|
+
"_fontSize": "__fontSize_yql51_gg_",
|
32
|
+
"--fontSize": "--fontSize_yql51",
|
33
|
+
"_lineHeight": "__lineHeight_yql51_gg_",
|
34
|
+
"--lineHeight": "--lineHeight_yql51",
|
35
|
+
"_fontWeight": "__fontWeight_yql51_gg_",
|
36
|
+
"--fontWeight": "--fontWeight_yql51",
|
37
|
+
"_textAlign": "__textAlign_yql51_gg_",
|
38
|
+
"--textAlign": "--textAlign_yql51",
|
39
|
+
"_use_primary": "_use_primary_yql51_gg_",
|
40
|
+
"_use_secondary": "_use_secondary_yql51_gg_",
|
41
|
+
"_disabled": "__disabled_yql51_gg_"
|
42
42
|
});
|
43
43
|
import { useColorResolver } from 'intergalactic/utils/lib/use/useColorResolver';
|
44
44
|
function getTextDecoration(underline, lineThrough) {
|
@@ -10,8 +10,8 @@ var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/obje
|
|
10
10
|
var _core = _interopRequireWildcard(require("intergalactic/core"));
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
12
12
|
/*__reshadow-styles__:"./invalidStatePattern.shadow.css"*/
|
13
|
-
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".
|
14
|
-
"__SPattern": "
|
13
|
+
var style = ( /*__reshadow_css_start__*/_core.sstyled.insert( /*__inner_css_start__*/".___SPattern_exy04_gg_{width:6px;height:100%;position:absolute;background-image:var(--intergalactic-border-critical-pattern, repeating-linear-gradient(315deg, rgba(209, 0, 47, 1) 0, rgba(209, 0, 47, 1) 2px, transparent 0, transparent 50%));background-size:6px 6px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-bottom-left-radius:var(--intergalactic-control-rounded, 6px);border-top-left-radius:var(--intergalactic-control-rounded, 6px)}" /*__inner_css_end__*/, "exy04_gg_") /*__reshadow_css_end__*/, {
|
14
|
+
"__SPattern": "___SPattern_exy04_gg_"
|
15
15
|
});
|
16
16
|
var InvalidStatePatternComponent = function InvalidStatePatternComponent() {
|
17
17
|
var _ref = arguments[0],
|
@@ -4,8 +4,8 @@ import { assignProps as _assignProps } from 'intergalactic/core';
|
|
4
4
|
import React from 'react';
|
5
5
|
import createComponent, { sstyled, Root } from 'intergalactic/core';
|
6
6
|
/*__reshadow-styles__:"./invalidStatePattern.shadow.css"*/
|
7
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
8
|
-
"__SPattern": "
|
7
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPattern_exy04_gg_{width:6px;height:100%;position:absolute;background-image:var(--intergalactic-border-critical-pattern, repeating-linear-gradient(315deg, rgba(209, 0, 47, 1) 0, rgba(209, 0, 47, 1) 2px, transparent 0, transparent 50%));background-size:6px 6px;background-color:var(--intergalactic-bg-primary-neutral, #ffffff);border-bottom-left-radius:var(--intergalactic-control-rounded, 6px);border-top-left-radius:var(--intergalactic-control-rounded, 6px)}" /*__inner_css_end__*/, "exy04_gg_") /*__reshadow_css_end__*/, {
|
8
|
+
"__SPattern": "___SPattern_exy04_gg_"
|
9
9
|
});
|
10
10
|
var InvalidStatePatternComponent = function InvalidStatePatternComponent() {
|
11
11
|
var _ref = arguments[0],
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ReactElement, ReactNode } from 'react';
|
2
|
-
declare function findComponent(Children: any, names: string[]): Exclude<ReactNode, boolean | null | undefined> | undefined;
|
3
|
-
export declare function isAdvanceMode(Children: any, name: string[]): boolean;
|
2
|
+
declare function findComponent(Children: any, names: string[], recursively?: boolean, limit?: number): Exclude<ReactNode, boolean | null | undefined> | undefined;
|
3
|
+
export declare function isAdvanceMode(Children: any, name: string[], recursively?: boolean): boolean;
|
4
4
|
export declare function findAllComponents(Children: any, names: string[]): ReactElement[];
|
5
5
|
export default findComponent;
|
@@ -12,28 +12,33 @@ var _core = require("intergalactic/core");
|
|
12
12
|
var _getOriginChildren = _interopRequireDefault(require("./getOriginChildren"));
|
13
13
|
// @ts-ignore
|
14
14
|
|
15
|
-
function findComponent(Children, names) {
|
15
|
+
function findComponent(Children, names, recursively) {
|
16
|
+
var limit = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 100;
|
16
17
|
var children = Children[_core.CHILDREN_COMPONENT] ? (0, _getOriginChildren["default"])(Children) : Children;
|
17
18
|
return _react["default"].Children.toArray(children).find(function (child) {
|
18
19
|
if ( /*#__PURE__*/_react["default"].isValidElement(child)) {
|
19
20
|
if (child.type === _react["default"].Fragment) {
|
20
|
-
return findComponent(child.props.children, names);
|
21
|
+
return findComponent(child.props.children, names, recursively, limit);
|
21
22
|
}
|
22
23
|
// @ts-ignore
|
23
24
|
var inheritedNames = child.type[_core.INHERITED_NAME] || [child.type.displayName];
|
24
|
-
|
25
|
+
var result = !!inheritedNames.find(function (name) {
|
25
26
|
return names.includes(name);
|
26
27
|
});
|
28
|
+
if (!result && child.props.children && recursively && limit > 0) {
|
29
|
+
return findComponent(child.props.children, names, recursively, limit - 1);
|
30
|
+
}
|
31
|
+
return result;
|
27
32
|
}
|
28
33
|
});
|
29
34
|
}
|
30
|
-
function isAdvanceMode(Children, name) {
|
35
|
+
function isAdvanceMode(Children, name, recursively) {
|
31
36
|
var children = Children[_core.CHILDREN_COMPONENT] ? (0, _getOriginChildren["default"])(Children) : Children;
|
32
37
|
if (!children) return false;
|
33
38
|
if (typeof children === 'function') {
|
34
39
|
return true;
|
35
40
|
}
|
36
|
-
return !!findComponent(children, name);
|
41
|
+
return !!findComponent(children, name, recursively);
|
37
42
|
}
|
38
43
|
function findAllComponents(Children, names) {
|
39
44
|
var result = [];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"findComponent.js","names":["_react","_interopRequireDefault","require","_core","_getOriginChildren","findComponent","Children","names","children","CHILDREN_COMPONENT","getOriginChildren","React","toArray","find","child","isValidElement","type","Fragment","props","inheritedNames","INHERITED_NAME","displayName","name","includes","isAdvanceMode","findAllComponents","
|
1
|
+
{"version":3,"file":"findComponent.js","names":["_react","_interopRequireDefault","require","_core","_getOriginChildren","findComponent","Children","names","recursively","limit","arguments","length","undefined","children","CHILDREN_COMPONENT","getOriginChildren","React","toArray","find","child","isValidElement","type","Fragment","props","inheritedNames","INHERITED_NAME","displayName","result","name","includes","isAdvanceMode","findAllComponents","findAllAndAdd","forEach","component","push","_default","exports"],"sources":["../src/findComponent.ts"],"sourcesContent":["import React, { ReactElement, ReactNode } from 'react';\n// @ts-ignore\nimport { CHILDREN_COMPONENT, INHERITED_NAME } from '@semcore/core';\nimport getOriginChildren from './getOriginChildren';\n\nfunction findComponent(\n Children: any,\n names: string[],\n recursively?: boolean,\n limit = 100,\n): Exclude<ReactNode, boolean | null | undefined> | undefined {\n const children = Children[CHILDREN_COMPONENT] ? getOriginChildren(Children) : Children;\n return React.Children.toArray(children).find((child) => {\n if (React.isValidElement(child)) {\n if (child.type === React.Fragment) {\n return findComponent(child.props.children, names, recursively, limit);\n }\n // @ts-ignore\n const inheritedNames = child.type[INHERITED_NAME] || [child.type.displayName];\n const result = !!inheritedNames.find((name: string) => names.includes(name));\n\n if (!result && child.props.children && recursively && limit > 0) {\n return findComponent(child.props.children, names, recursively, limit - 1);\n }\n\n return result;\n }\n });\n}\n\nexport function isAdvanceMode(Children: any, name: string[], recursively?: boolean) {\n const children = Children[CHILDREN_COMPONENT] ? getOriginChildren(Children) : Children;\n if (!children) return false;\n if (typeof children === 'function') {\n return true;\n }\n return !!findComponent(children, name, recursively);\n}\n\nexport function findAllComponents(Children: any, names: string[]): ReactElement[] {\n const result: ReactElement[] = [];\n\n const findAllAndAdd = (Children: any) => {\n const children = Children[CHILDREN_COMPONENT] ? getOriginChildren(Children) : Children;\n React.Children.toArray(children).forEach((child) => {\n if (React.isValidElement(child)) {\n if (child.type === React.Fragment) {\n findAllAndAdd(child.props.children);\n } else {\n // @ts-ignore\n const inheritedNames = child.type[INHERITED_NAME] || [child.type.displayName];\n const component = !!inheritedNames.find((name: string) => names.includes(name));\n\n if (component) {\n result.push(child);\n }\n\n if (child.props.children) {\n return findAllAndAdd(child.props.children);\n }\n }\n }\n });\n };\n\n findAllAndAdd(Children);\n\n return result;\n}\n\nexport default findComponent;\n"],"mappings":"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"}
|
@@ -2,28 +2,33 @@ import React from 'react';
|
|
2
2
|
// @ts-ignore
|
3
3
|
import { CHILDREN_COMPONENT, INHERITED_NAME } from 'intergalactic/core';
|
4
4
|
import getOriginChildren from "./getOriginChildren.mjs";
|
5
|
-
function findComponent(Children, names) {
|
5
|
+
function findComponent(Children, names, recursively) {
|
6
|
+
var limit = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 100;
|
6
7
|
var children = Children[CHILDREN_COMPONENT] ? getOriginChildren(Children) : Children;
|
7
8
|
return React.Children.toArray(children).find(function (child) {
|
8
9
|
if ( /*#__PURE__*/React.isValidElement(child)) {
|
9
10
|
if (child.type === React.Fragment) {
|
10
|
-
return findComponent(child.props.children, names);
|
11
|
+
return findComponent(child.props.children, names, recursively, limit);
|
11
12
|
}
|
12
13
|
// @ts-ignore
|
13
14
|
var inheritedNames = child.type[INHERITED_NAME] || [child.type.displayName];
|
14
|
-
|
15
|
+
var result = !!inheritedNames.find(function (name) {
|
15
16
|
return names.includes(name);
|
16
17
|
});
|
18
|
+
if (!result && child.props.children && recursively && limit > 0) {
|
19
|
+
return findComponent(child.props.children, names, recursively, limit - 1);
|
20
|
+
}
|
21
|
+
return result;
|
17
22
|
}
|
18
23
|
});
|
19
24
|
}
|
20
|
-
export function isAdvanceMode(Children, name) {
|
25
|
+
export function isAdvanceMode(Children, name, recursively) {
|
21
26
|
var children = Children[CHILDREN_COMPONENT] ? getOriginChildren(Children) : Children;
|
22
27
|
if (!children) return false;
|
23
28
|
if (typeof children === 'function') {
|
24
29
|
return true;
|
25
30
|
}
|
26
|
-
return !!findComponent(children, name);
|
31
|
+
return !!findComponent(children, name, recursively);
|
27
32
|
}
|
28
33
|
export function findAllComponents(Children, names) {
|
29
34
|
var result = [];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"findComponent.mjs","names":["React","CHILDREN_COMPONENT","INHERITED_NAME","getOriginChildren","findComponent","Children","names","children","toArray","find","child","isValidElement","type","Fragment","props","inheritedNames","displayName","name","includes","isAdvanceMode","findAllComponents","
|
1
|
+
{"version":3,"file":"findComponent.mjs","names":["React","CHILDREN_COMPONENT","INHERITED_NAME","getOriginChildren","findComponent","Children","names","recursively","limit","arguments","length","undefined","children","toArray","find","child","isValidElement","type","Fragment","props","inheritedNames","displayName","result","name","includes","isAdvanceMode","findAllComponents","findAllAndAdd","forEach","component","push"],"sources":["../src/findComponent.ts"],"sourcesContent":["import React, { ReactElement, ReactNode } from 'react';\n// @ts-ignore\nimport { CHILDREN_COMPONENT, INHERITED_NAME } from '@semcore/core';\nimport getOriginChildren from './getOriginChildren';\n\nfunction findComponent(\n Children: any,\n names: string[],\n recursively?: boolean,\n limit = 100,\n): Exclude<ReactNode, boolean | null | undefined> | undefined {\n const children = Children[CHILDREN_COMPONENT] ? getOriginChildren(Children) : Children;\n return React.Children.toArray(children).find((child) => {\n if (React.isValidElement(child)) {\n if (child.type === React.Fragment) {\n return findComponent(child.props.children, names, recursively, limit);\n }\n // @ts-ignore\n const inheritedNames = child.type[INHERITED_NAME] || [child.type.displayName];\n const result = !!inheritedNames.find((name: string) => names.includes(name));\n\n if (!result && child.props.children && recursively && limit > 0) {\n return findComponent(child.props.children, names, recursively, limit - 1);\n }\n\n return result;\n }\n });\n}\n\nexport function isAdvanceMode(Children: any, name: string[], recursively?: boolean) {\n const children = Children[CHILDREN_COMPONENT] ? getOriginChildren(Children) : Children;\n if (!children) return false;\n if (typeof children === 'function') {\n return true;\n }\n return !!findComponent(children, name, recursively);\n}\n\nexport function findAllComponents(Children: any, names: string[]): ReactElement[] {\n const result: ReactElement[] = [];\n\n const findAllAndAdd = (Children: any) => {\n const children = Children[CHILDREN_COMPONENT] ? getOriginChildren(Children) : Children;\n React.Children.toArray(children).forEach((child) => {\n if (React.isValidElement(child)) {\n if (child.type === React.Fragment) {\n findAllAndAdd(child.props.children);\n } else {\n // @ts-ignore\n const inheritedNames = child.type[INHERITED_NAME] || [child.type.displayName];\n const component = !!inheritedNames.find((name: string) => names.includes(name));\n\n if (component) {\n result.push(child);\n }\n\n if (child.props.children) {\n return findAllAndAdd(child.props.children);\n }\n }\n }\n });\n };\n\n findAllAndAdd(Children);\n\n return result;\n}\n\nexport default findComponent;\n"],"mappings":"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"}
|
package/utils/lib/injectStyle.js
CHANGED