intergalactic 15.108.0 → 15.109.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 +15 -0
- package/accordion/lib/cjs/Accordion.js +9 -9
- package/accordion/lib/es6/Accordion.js +9 -9
- package/accordion/package.json +1 -1
- package/animation/lib/cjs/Animation.js +11 -11
- package/animation/lib/cjs/Collapse.js +28 -28
- package/animation/lib/cjs/FadeInOut.js +28 -28
- package/animation/lib/cjs/Scale.js +28 -28
- package/animation/lib/cjs/Slide.js +28 -28
- package/animation/lib/cjs/Transform.js +28 -28
- package/animation/lib/es6/Animation.js +11 -11
- package/animation/lib/es6/Collapse.js +28 -28
- package/animation/lib/es6/FadeInOut.js +28 -28
- package/animation/lib/es6/Scale.js +28 -28
- package/animation/lib/es6/Slide.js +28 -28
- package/animation/lib/es6/Transform.js +28 -28
- package/animation/package.json +1 -1
- package/badge/lib/cjs/Badge.js +6 -6
- package/badge/lib/es6/Badge.js +6 -6
- package/badge/package.json +1 -1
- package/base-trigger/lib/cjs/BaseTrigger.js +18 -18
- package/base-trigger/lib/cjs/ButtonTrigger.js +3 -3
- package/base-trigger/lib/cjs/FilterTrigger.js +7 -7
- package/base-trigger/lib/cjs/LinkTrigger.js +12 -12
- package/base-trigger/lib/es6/BaseTrigger.js +18 -18
- package/base-trigger/lib/es6/ButtonTrigger.js +3 -3
- package/base-trigger/lib/es6/FilterTrigger.js +7 -7
- package/base-trigger/lib/es6/LinkTrigger.js +12 -12
- package/base-trigger/package.json +1 -1
- package/breadcrumbs/lib/cjs/Breadcrumbs.js +8 -8
- package/breadcrumbs/lib/es6/Breadcrumbs.js +8 -8
- package/breadcrumbs/package.json +1 -1
- package/breakpoints/package.json +1 -1
- package/button/lib/cjs/component/Button/Button.js +27 -27
- package/button/lib/cjs/component/ButtonLink/ButtonLink.js +20 -19
- package/button/lib/cjs/component/ButtonLink/ButtonLink.js.map +1 -1
- package/button/lib/cjs/component/ButtonLink/buttonLink.shadow.css +9 -2
- package/button/lib/es6/component/Button/Button.js +27 -27
- package/button/lib/es6/component/ButtonLink/ButtonLink.js +20 -19
- package/button/lib/es6/component/ButtonLink/ButtonLink.js.map +1 -1
- package/button/lib/es6/component/ButtonLink/buttonLink.shadow.css +9 -2
- package/button/package.json +1 -1
- package/card/lib/cjs/Card.js +6 -6
- package/card/lib/es6/Card.js +6 -6
- package/card/package.json +1 -1
- package/carousel/lib/cjs/Carousel.js +21 -21
- package/carousel/lib/es6/Carousel.js +21 -21
- package/carousel/package.json +1 -1
- package/checkbox/lib/cjs/Checkbox.js +18 -18
- package/checkbox/lib/es6/Checkbox.js +18 -18
- package/checkbox/package.json +1 -1
- package/color-picker/lib/cjs/ColorPicker.js +24 -24
- package/color-picker/lib/cjs/PaletteManager.js +24 -24
- package/color-picker/lib/cjs/components/InputColor.js +24 -24
- package/color-picker/lib/es6/ColorPicker.js +24 -24
- package/color-picker/lib/es6/PaletteManager.js +24 -24
- package/color-picker/lib/es6/components/InputColor.js +24 -24
- package/color-picker/package.json +1 -1
- package/components.json +73 -73
- package/core/package.json +1 -1
- package/counter/lib/cjs/Counter.js +11 -11
- package/counter/lib/es6/Counter.js +11 -11
- package/counter/package.json +1 -1
- package/d3-chart/lib/cjs/Area.js +11 -11
- package/d3-chart/lib/cjs/Axis.js +14 -14
- package/d3-chart/lib/cjs/Bar.js +16 -16
- package/d3-chart/lib/cjs/Bubble.js +12 -12
- package/d3-chart/lib/cjs/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Donut.js +9 -9
- package/d3-chart/lib/cjs/Dots.js +8 -8
- package/d3-chart/lib/cjs/HorizontalBar.js +16 -16
- package/d3-chart/lib/cjs/Hover.js +3 -3
- package/d3-chart/lib/cjs/Line.js +9 -9
- package/d3-chart/lib/cjs/Plot.js +3 -3
- package/d3-chart/lib/cjs/Radar.js +19 -19
- package/d3-chart/lib/cjs/RadialTree.js +12 -12
- package/d3-chart/lib/cjs/Reference.js +12 -12
- package/d3-chart/lib/cjs/ScatterPlot.js +9 -9
- package/d3-chart/lib/cjs/Tooltip.js +9 -9
- package/d3-chart/lib/cjs/Venn.js +9 -9
- package/d3-chart/lib/cjs/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/cjs/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/cjs/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/cjs/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/cjs/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/lib/es6/Area.js +11 -11
- package/d3-chart/lib/es6/Axis.js +14 -14
- package/d3-chart/lib/es6/Bar.js +16 -16
- package/d3-chart/lib/es6/Bubble.js +12 -12
- package/d3-chart/lib/es6/CompactHorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Donut.js +9 -9
- package/d3-chart/lib/es6/Dots.js +8 -8
- package/d3-chart/lib/es6/HorizontalBar.js +16 -16
- package/d3-chart/lib/es6/Hover.js +3 -3
- package/d3-chart/lib/es6/Line.js +9 -9
- package/d3-chart/lib/es6/Plot.js +3 -3
- package/d3-chart/lib/es6/Radar.js +19 -19
- package/d3-chart/lib/es6/RadialTree.js +12 -12
- package/d3-chart/lib/es6/Reference.js +12 -12
- package/d3-chart/lib/es6/ScatterPlot.js +9 -9
- package/d3-chart/lib/es6/Tooltip.js +9 -9
- package/d3-chart/lib/es6/Venn.js +9 -9
- package/d3-chart/lib/es6/a11y/PlotA11yModule.js +2 -2
- package/d3-chart/lib/es6/a11y/PlotA11yView.js +2 -2
- package/d3-chart/lib/es6/component/ChartLegend/LegendFlex/LegendFlex.js +4 -4
- package/d3-chart/lib/es6/component/ChartLegend/LegendItem/LegendItem.js +17 -17
- package/d3-chart/lib/es6/component/ChartLegend/LegendTable/LegendTable.js +6 -6
- package/d3-chart/package.json +1 -1
- package/data-table/lib/cjs/Body.js +6 -4
- package/data-table/lib/cjs/Body.js.map +1 -1
- package/data-table/lib/cjs/DataTable.js +56 -41
- package/data-table/lib/cjs/DataTable.js.map +1 -1
- package/data-table/lib/es6/Body.js +6 -4
- package/data-table/lib/es6/Body.js.map +1 -1
- package/data-table/lib/es6/DataTable.js +56 -41
- package/data-table/lib/es6/DataTable.js.map +1 -1
- package/data-table/package.json +1 -1
- package/date-picker/lib/cjs/components/Calendar.js +21 -21
- package/date-picker/lib/cjs/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/cjs/components/InputTrigger.js +29 -29
- package/date-picker/lib/cjs/components/PickerAbstract.js +29 -29
- package/date-picker/lib/cjs/components/RangePickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/Calendar.js +21 -21
- package/date-picker/lib/es6/components/DateRangeComparatorAbstract.js +29 -29
- package/date-picker/lib/es6/components/InputTrigger.js +29 -29
- package/date-picker/lib/es6/components/PickerAbstract.js +29 -29
- package/date-picker/lib/es6/components/RangePickerAbstract.js +29 -29
- package/date-picker/package.json +1 -1
- package/divider/lib/cjs/Divider.js +10 -10
- package/divider/lib/es6/Divider.js +10 -10
- package/divider/package.json +1 -1
- package/dot/lib/cjs/Dot.js +10 -10
- package/dot/lib/es6/Dot.js +10 -10
- package/dot/package.json +1 -1
- package/drag-and-drop/lib/cjs/DragAndDrop.js +16 -16
- package/drag-and-drop/lib/es6/DragAndDrop.js +16 -16
- package/drag-and-drop/package.json +1 -1
- package/dropdown/lib/cjs/Dropdown.js +2 -2
- package/dropdown/lib/es6/Dropdown.js +2 -2
- package/dropdown/package.json +1 -1
- package/dropdown-menu/lib/cjs/DropdownMenu.js +25 -25
- package/dropdown-menu/lib/cjs/DropdownMenuOld.js +21 -21
- package/dropdown-menu/lib/es6/DropdownMenu.js +25 -25
- package/dropdown-menu/lib/es6/DropdownMenuOld.js +21 -21
- package/dropdown-menu/package.json +1 -1
- package/ellipsis/lib/cjs/Ellipsis.js +10 -10
- package/ellipsis/lib/es6/Ellipsis.js +10 -10
- package/ellipsis/package.json +1 -1
- package/errors/lib/cjs/Error.js +9 -9
- package/errors/lib/es6/Error.js +9 -9
- package/errors/package.json +1 -1
- package/feature-popover/lib/cjs/FeaturePopover.js +11 -11
- package/feature-popover/lib/es6/FeaturePopover.js +11 -11
- package/feature-popover/package.json +1 -1
- package/feedback-form/lib/cjs/FeedbackForm.js +7 -7
- package/feedback-form/lib/cjs/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/cjs/component/feedback-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/cjs/component/slider-rating/SliderRating.js +6 -6
- package/feedback-form/lib/es6/FeedbackForm.js +7 -7
- package/feedback-form/lib/es6/component/checkbox-button/CheckboxButton.js +3 -3
- package/feedback-form/lib/es6/component/feedback-rating/FeedbackRating.js +2 -2
- package/feedback-form/lib/es6/component/slider-rating/SliderRating.js +6 -6
- package/feedback-form/package.json +1 -1
- package/flags/lib/cjs/Flags.js +3 -3
- package/flags/lib/es6/Flags.js +3 -3
- package/flags/lib/sprites/sprite@1x.css +256 -256
- package/flags/lib/sprites/sprite@2x.css +257 -257
- package/flags/package.json +1 -1
- package/flex-box/lib/cjs/Box/useBox.js +3 -3
- package/flex-box/lib/cjs/Flex/useFlex.js +3 -3
- package/flex-box/lib/cjs/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/lib/es6/Box/useBox.js +3 -3
- package/flex-box/lib/es6/Flex/useFlex.js +3 -3
- package/flex-box/lib/es6/invalid-state-box/InvalidStateBox.js +2 -2
- package/flex-box/package.json +1 -1
- package/format-text/lib/cjs/FormatText.js +5 -5
- package/format-text/lib/es6/FormatText.js +5 -5
- package/format-text/package.json +1 -1
- package/fullscreen-modal/lib/cjs/FullscreenModal.js +13 -13
- package/fullscreen-modal/lib/es6/FullscreenModal.js +13 -13
- package/fullscreen-modal/package.json +1 -1
- package/grid/lib/cjs/Grid.js +114 -114
- package/grid/lib/es6/Grid.js +114 -114
- package/grid/package.json +1 -1
- package/i18n-unplugin/package.json +1 -1
- package/icon/color/Ahrefs/l/index.d.ts +6 -0
- package/icon/color/Ahrefs/l/index.js +37 -0
- package/icon/color/Ahrefs/l/index.mjs +25 -0
- package/icon/color/Ahrefs/m/index.d.ts +6 -0
- package/icon/color/Ahrefs/m/index.js +37 -0
- package/icon/color/Ahrefs/m/index.mjs +25 -0
- package/icon/color/Amazon/l/index.d.ts +6 -0
- package/icon/color/Amazon/l/index.js +48 -0
- package/icon/color/Amazon/l/index.mjs +36 -0
- package/icon/color/Amazon/m/index.d.ts +6 -0
- package/icon/color/Amazon/m/index.js +47 -0
- package/icon/color/Amazon/m/index.mjs +35 -0
- package/icon/color/CallRailColored/l/index.d.ts +6 -0
- package/icon/color/CallRailColored/l/index.js +43 -0
- package/icon/color/CallRailColored/l/index.mjs +31 -0
- package/icon/color/CallRailColored/m/index.d.ts +6 -0
- package/icon/color/CallRailColored/m/index.js +43 -0
- package/icon/color/CallRailColored/m/index.mjs +31 -0
- 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/LinkedInColored/l/index.d.ts +6 -0
- package/icon/color/LinkedInColored/l/index.js +37 -0
- package/icon/color/LinkedInColored/l/index.mjs +25 -0
- package/icon/color/LinkedInColored/m/index.d.ts +6 -0
- package/icon/color/LinkedInColored/m/index.js +37 -0
- package/icon/color/LinkedInColored/m/index.mjs +25 -0
- package/icon/color/Mailchimp/l/index.d.ts +6 -0
- package/icon/color/Mailchimp/l/index.js +41 -0
- package/icon/color/Mailchimp/l/index.mjs +29 -0
- package/icon/color/Mailchimp/m/index.d.ts +6 -0
- package/icon/color/Mailchimp/m/index.js +41 -0
- package/icon/color/Mailchimp/m/index.mjs +29 -0
- package/icon/color/Matomo/l/index.d.ts +6 -0
- package/icon/color/Matomo/l/index.js +54 -0
- package/icon/color/Matomo/l/index.mjs +42 -0
- package/icon/color/Matomo/m/index.d.ts +6 -0
- package/icon/color/Matomo/m/index.js +53 -0
- package/icon/color/Matomo/m/index.mjs +41 -0
- package/icon/color/Microsoft/l/index.d.ts +6 -0
- package/icon/color/Microsoft/l/index.js +54 -0
- package/icon/color/Microsoft/l/index.mjs +42 -0
- package/icon/color/Microsoft/m/index.d.ts +6 -0
- package/icon/color/Microsoft/m/index.js +53 -0
- package/icon/color/Microsoft/m/index.mjs +41 -0
- 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/color/Moz/l/index.d.ts +6 -0
- package/icon/color/Moz/l/index.js +37 -0
- package/icon/color/Moz/l/index.mjs +25 -0
- package/icon/color/Moz/m/index.d.ts +6 -0
- package/icon/color/Moz/m/index.js +37 -0
- package/icon/color/Moz/m/index.mjs +25 -0
- package/icon/color/Salesforce/l/index.d.ts +6 -0
- package/icon/color/Salesforce/l/index.js +43 -0
- package/icon/color/Salesforce/l/index.mjs +31 -0
- package/icon/color/Salesforce/m/index.d.ts +6 -0
- package/icon/color/Salesforce/m/index.js +43 -0
- package/icon/color/Salesforce/m/index.mjs +31 -0
- package/icon/color/Snapchat/l/index.d.ts +6 -0
- package/icon/color/Snapchat/l/index.js +45 -0
- package/icon/color/Snapchat/l/index.mjs +33 -0
- package/icon/color/Snapchat/m/index.d.ts +6 -0
- package/icon/color/Snapchat/m/index.js +41 -0
- package/icon/color/Snapchat/m/index.mjs +29 -0
- package/icon/color/TikTokColored/l/index.d.ts +6 -0
- package/icon/color/TikTokColored/l/index.js +57 -0
- package/icon/color/TikTokColored/l/index.mjs +45 -0
- package/icon/color/TikTokColored/m/index.d.ts +6 -0
- package/icon/color/TikTokColored/m/index.js +53 -0
- package/icon/color/TikTokColored/m/index.mjs +41 -0
- package/icon/color/TikTokColoredInvert/l/index.d.ts +6 -0
- package/icon/color/TikTokColoredInvert/l/index.js +62 -0
- package/icon/color/TikTokColoredInvert/l/index.mjs +50 -0
- package/icon/color/TikTokColoredInvert/m/index.d.ts +6 -0
- package/icon/color/TikTokColoredInvert/m/index.js +60 -0
- package/icon/color/TikTokColoredInvert/m/index.mjs +48 -0
- package/icon/lib/cjs/Icon.js +6 -6
- package/icon/lib/es6/Icon.js +6 -6
- package/icon/package.json +1 -1
- package/icon/pay/Discover/l/index.js +1 -1
- package/icon/pay/Discover/l/index.mjs +1 -1
- package/icon/pay/Discover/m/index.js +1 -1
- package/icon/pay/Discover/m/index.mjs +1 -1
- package/icon/pay/JCB/l/index.js +10 -10
- package/icon/pay/JCB/l/index.mjs +10 -10
- package/icon/pay/JCB/m/index.js +10 -10
- package/icon/pay/JCB/m/index.mjs +10 -10
- package/icon/pay/Visa/l/index.js +2 -2
- package/icon/pay/Visa/l/index.mjs +2 -2
- package/icon/pay/Visa/m/index.js +2 -2
- package/icon/pay/Visa/m/index.mjs +2 -2
- package/illustration/lib/cjs/index.js +1 -1
- package/illustration/lib/es6/index.js +1 -1
- package/illustration/package.json +1 -1
- package/inline-edit/lib/cjs/InlineEdit.js +4 -4
- package/inline-edit/lib/es6/InlineEdit.js +4 -4
- package/inline-edit/package.json +1 -1
- package/inline-input/lib/cjs/InlineInput.js +14 -14
- package/inline-input/lib/es6/InlineInput.js +14 -14
- package/inline-input/package.json +1 -1
- package/input/lib/cjs/Input.js +17 -17
- package/input/lib/es6/Input.js +17 -17
- package/input/package.json +1 -1
- package/input-mask/lib/cjs/InputMask.js +6 -6
- package/input-mask/lib/es6/InputMask.js +6 -6
- package/input-mask/package.json +1 -1
- package/input-number/lib/cjs/InputNumber.js +9 -9
- package/input-number/lib/es6/InputNumber.js +9 -9
- package/input-number/package.json +1 -1
- package/input-tags/lib/cjs/InputTags.js +12 -12
- package/input-tags/lib/es6/InputTags.js +12 -12
- package/input-tags/package.json +1 -1
- package/link/lib/cjs/Link.js +12 -12
- package/link/lib/es6/Link.js +12 -12
- package/link/package.json +1 -1
- package/mini-chart/lib/cjs/component/score/Donut.js +9 -9
- package/mini-chart/lib/cjs/component/score/Line.js +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/mini-chart/package.json +1 -1
- package/modal/lib/cjs/Modal.js +8 -8
- package/modal/lib/es6/Modal.js +8 -8
- package/modal/package.json +1 -1
- package/neighbor-location/package.json +1 -1
- package/notice/lib/cjs/Notice.js +14 -14
- package/notice/lib/es6/Notice.js +14 -14
- package/notice/package.json +1 -1
- package/notice-bubble/lib/cjs/NoticeBubble.js +15 -15
- package/notice-bubble/lib/es6/NoticeBubble.js +15 -15
- package/notice-bubble/package.json +1 -1
- package/notice-global/lib/cjs/NoticeGlobal.js +11 -11
- package/notice-global/lib/es6/NoticeGlobal.js +11 -11
- package/notice-global/package.json +1 -1
- package/outside-click/package.json +1 -1
- package/package.json +1 -1
- package/pagination/lib/cjs/Pagination.js +10 -10
- package/pagination/lib/es6/Pagination.js +10 -10
- package/pagination/package.json +1 -1
- package/pills/lib/cjs/Pills.js +13 -13
- package/pills/lib/es6/Pills.js +13 -13
- package/pills/package.json +1 -1
- package/popper/lib/cjs/Popper.js +6 -6
- package/popper/lib/es6/Popper.js +6 -6
- package/popper/package.json +1 -1
- package/portal/package.json +1 -1
- package/product-head/lib/cjs/Info.js +4 -4
- package/product-head/lib/cjs/ProductHead.js +5 -5
- package/product-head/lib/cjs/Title.js +4 -4
- package/product-head/lib/es6/Info.js +4 -4
- package/product-head/lib/es6/ProductHead.js +5 -5
- package/product-head/lib/es6/Title.js +4 -4
- package/product-head/package.json +1 -1
- package/progress-bar/lib/cjs/ProgressBar.js +15 -15
- package/progress-bar/lib/es6/ProgressBar.js +15 -15
- package/progress-bar/package.json +1 -1
- package/radio/lib/cjs/Radio.js +16 -16
- package/radio/lib/es6/Radio.js +16 -16
- package/radio/package.json +1 -1
- package/scroll-area/lib/cjs/ScrollArea.js +21 -21
- package/scroll-area/lib/cjs/ScrollBar.js +6 -6
- package/scroll-area/lib/es6/ScrollArea.js +21 -21
- package/scroll-area/lib/es6/ScrollBar.js +6 -6
- package/scroll-area/package.json +1 -1
- package/select/lib/cjs/InputSearch.js +6 -6
- package/select/lib/cjs/Select.js +8 -8
- package/select/lib/es6/InputSearch.js +6 -6
- package/select/lib/es6/Select.js +8 -8
- package/select/package.json +1 -1
- package/side-panel/lib/cjs/SidePanel.js +17 -29
- package/side-panel/lib/cjs/SidePanel.js.map +1 -1
- package/side-panel/lib/es6/SidePanel.js +17 -29
- package/side-panel/lib/es6/SidePanel.js.map +1 -1
- package/side-panel/package.json +1 -1
- package/skeleton/lib/cjs/Charts/Area.js +9 -9
- package/skeleton/lib/cjs/Charts/Bar.js +9 -9
- package/skeleton/lib/cjs/Charts/Bubble.js +9 -9
- package/skeleton/lib/cjs/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/cjs/Charts/Donut.js +9 -9
- package/skeleton/lib/cjs/Charts/Histogram.js +9 -9
- package/skeleton/lib/cjs/Charts/Line.js +9 -9
- package/skeleton/lib/cjs/Charts/RadialTree.js +9 -9
- package/skeleton/lib/cjs/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/cjs/Charts/Venn.js +9 -9
- package/skeleton/lib/cjs/Skeleton.js +8 -8
- package/skeleton/lib/es6/Charts/Area.js +9 -9
- package/skeleton/lib/es6/Charts/Bar.js +9 -9
- package/skeleton/lib/es6/Charts/Bubble.js +9 -9
- package/skeleton/lib/es6/Charts/CompactHorizontalBar.js +9 -9
- package/skeleton/lib/es6/Charts/Donut.js +9 -9
- package/skeleton/lib/es6/Charts/Histogram.js +9 -9
- package/skeleton/lib/es6/Charts/Line.js +9 -9
- package/skeleton/lib/es6/Charts/RadialTree.js +9 -9
- package/skeleton/lib/es6/Charts/ScatterPlot.js +9 -9
- package/skeleton/lib/es6/Charts/Venn.js +9 -9
- package/skeleton/lib/es6/Skeleton.js +8 -8
- package/skeleton/package.json +1 -1
- package/slider/lib/cjs/Slider.js +8 -8
- package/slider/lib/es6/Slider.js +8 -8
- package/slider/package.json +1 -1
- package/spin/lib/cjs/Spin.js +13 -13
- package/spin/lib/es6/Spin.js +13 -13
- package/spin/package.json +1 -1
- package/spin-container/lib/cjs/SpinContainer.js +8 -8
- package/spin-container/lib/es6/SpinContainer.js +8 -8
- package/spin-container/package.json +1 -1
- package/sticky/lib/cjs/Sticky.js +2 -2
- package/sticky/lib/es6/Sticky.js +2 -2
- package/sticky/package.json +1 -1
- package/switch/lib/cjs/Switch.js +21 -21
- package/switch/lib/es6/Switch.js +21 -21
- package/switch/package.json +1 -1
- package/tab-line/lib/cjs/TabLine.js +13 -13
- package/tab-line/lib/es6/TabLine.js +13 -13
- package/tab-line/package.json +1 -1
- package/tab-panel/lib/cjs/TabPanel.js +8 -8
- package/tab-panel/lib/es6/TabPanel.js +8 -8
- package/tab-panel/package.json +1 -1
- package/tag/lib/cjs/Tag.js +23 -23
- package/tag/lib/es6/Tag.js +23 -23
- package/tag/package.json +1 -1
- package/textarea/lib/cjs/Textarea.js +8 -8
- package/textarea/lib/es6/Textarea.js +8 -8
- package/textarea/package.json +1 -1
- package/time-picker/lib/cjs/TimePicker.js +12 -12
- package/time-picker/lib/es6/TimePicker.js +12 -12
- package/time-picker/package.json +1 -1
- package/tooltip/lib/cjs/Tooltip.js +9 -9
- package/tooltip/lib/es6/Tooltip.js +9 -9
- package/tooltip/package.json +1 -1
- package/typography/lib/cjs/Blockquote.js +4 -4
- package/typography/lib/cjs/Hint.js +7 -7
- package/typography/lib/cjs/List.js +5 -5
- package/typography/lib/cjs/Text.js +34 -34
- package/typography/lib/es6/Blockquote.js +4 -4
- package/typography/lib/es6/Hint.js +7 -7
- package/typography/lib/es6/List.js +5 -5
- package/typography/lib/es6/Text.js +34 -34
- package/typography/package.json +1 -1
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.js +2 -2
- package/utils/lib/components/invalid-state-pattern/InvalidStatePattern.mjs +2 -2
- package/utils/lib/focus-lock/iframeBorders.d.ts +2 -2
- package/utils/lib/focus-lock/iframeBorders.js +9 -3
- package/utils/lib/focus-lock/iframeBorders.js.map +1 -1
- package/utils/lib/focus-lock/iframeBorders.mjs +9 -3
- package/utils/lib/focus-lock/iframeBorders.mjs.map +1 -1
- package/utils/lib/injectStyle.js +1 -1
- package/utils/lib/injectStyle.mjs +1 -1
- package/utils/lib/propsForElement.js +1 -1
- package/utils/lib/propsForElement.js.map +1 -1
- package/utils/lib/propsForElement.mjs +1 -1
- package/utils/lib/propsForElement.mjs.map +1 -1
- package/utils/lib/use/useFocusLock.js +5 -5
- package/utils/lib/use/useFocusLock.js.map +1 -1
- package/utils/lib/use/useFocusLock.mjs +5 -5
- package/utils/lib/use/useFocusLock.mjs.map +1 -1
- package/widget-empty/lib/cjs/WidgetEmpty.js +5 -5
- package/widget-empty/lib/es6/WidgetEmpty.js +5 -5
- package/widget-empty/package.json +1 -1
- package/wizard/lib/cjs/Wizard.js +12 -12
- package/wizard/lib/es6/Wizard.js +12 -12
- package/wizard/package.json +1 -1
@@ -20,13 +20,13 @@ var _keyboardFocusEnhance = _interopRequireDefault(require("intergalactic/utils/
|
|
20
20
|
var _addonTextChildren = _interopRequireDefault(require("intergalactic/utils/lib/addonTextChildren"));
|
21
21
|
var _Text = _interopRequireDefault(require("./Text"));
|
22
22
|
/*__reshadow-styles__:"./style/hint.shadow.css"*/
|
23
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
24
|
-
"__SHint": "
|
25
|
-
"_keyboardFocused": "
|
26
|
-
"_disabled": "
|
27
|
-
"__SAddon": "
|
28
|
-
"__SText": "
|
29
|
-
"_active": "
|
23
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SHint_i20k3_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_i20k3_gg_.__active_i20k3_gg_,.___SHint_i20k3_gg_:active{color:var(--intergalactic-text-hint-hover-active, #484a54)}@media (hover:hover){.___SHint_i20k3_gg_:hover{color:var(--intergalactic-text-hint-hover-active, #484a54)}}.___SHint_i20k3_gg_.__keyboardFocused_i20k3_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHint_i20k3_gg_.__disabled_i20k3_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SAddon_i20k3_gg_{vertical-align:middle;display:inline-flex}.___SHint_i20k3_gg_ .___SAddon_i20k3_gg_:not(:only-child):first-child{margin-right:var(--intergalactic-spacing-1x, 4px)}.___SHint_i20k3_gg_ .___SAddon_i20k3_gg_:not(:only-child):last-child{margin-left:var(--intergalactic-spacing-1x, 4px)}.___SText_i20k3_gg_{border-bottom-width:1px;border-bottom-style:dashed;border-color:currentColor}@media (prefers-reduced-motion){.___SHint_i20k3_gg_{transition:none}}" /*__inner_css_end__*/, "i20k3_gg_") /*__reshadow_css_end__*/, {
|
24
|
+
"__SHint": "___SHint_i20k3_gg_",
|
25
|
+
"_keyboardFocused": "__keyboardFocused_i20k3_gg_",
|
26
|
+
"_disabled": "__disabled_i20k3_gg_",
|
27
|
+
"__SAddon": "___SAddon_i20k3_gg_",
|
28
|
+
"__SText": "___SText_i20k3_gg_",
|
29
|
+
"_active": "__active_i20k3_gg_"
|
30
30
|
});
|
31
31
|
var RootHint = /*#__PURE__*/function (_Component) {
|
32
32
|
(0, _inherits2["default"])(RootHint, _Component);
|
@@ -20,11 +20,11 @@ var _isNode = _interopRequireDefault(require("intergalactic/utils/lib/isNode"));
|
|
20
20
|
var _findComponent = require("intergalactic/utils/lib/findComponent");
|
21
21
|
var _Text = _interopRequireDefault(require("./Text"));
|
22
22
|
/*__reshadow-styles__:"./style/list.shadow.css"*/
|
23
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
24
|
-
"__SList": "
|
25
|
-
"__SContent": "
|
26
|
-
"__SItem": "
|
27
|
-
"__SMarker": "
|
23
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SList_xfpfq_gg_{padding:0;margin:0;list-style-type:none}.___SContent_xfpfq_gg_{overflow:inherit;text-overflow:inherit}.___SItem_xfpfq_gg_+.___SItem_xfpfq_gg_,.___SList_xfpfq_gg_ .___SList_xfpfq_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}.___SItem_xfpfq_gg_{display:flex}.___SMarker_xfpfq_gg_{margin-right:var(--intergalactic-spacing-2x, 8px);color:var(--intergalactic-text-secondary, #6c6e79);line-height:normal}" /*__inner_css_end__*/, "xfpfq_gg_") /*__reshadow_css_end__*/, {
|
24
|
+
"__SList": "___SList_xfpfq_gg_",
|
25
|
+
"__SContent": "___SContent_xfpfq_gg_",
|
26
|
+
"__SItem": "___SItem_xfpfq_gg_",
|
27
|
+
"__SMarker": "___SMarker_xfpfq_gg_"
|
28
28
|
});
|
29
29
|
var ListRoot = /*#__PURE__*/function (_Component) {
|
30
30
|
(0, _inherits2["default"])(ListRoot, _Component);
|
@@ -12,40 +12,40 @@ var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
var _flexBox = require("intergalactic/flex-box");
|
13
13
|
var _useColorResolver = require("intergalactic/utils/lib/use/useColorResolver");
|
14
14
|
/*__reshadow-styles__:"./style/text.shadow.css"*/
|
15
|
-
var styles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
16
|
-
"__SText": "
|
17
|
-
"_size_100": "
|
18
|
-
"_size_200": "
|
19
|
-
"_size_300": "
|
20
|
-
"_size_400": "
|
21
|
-
"_size_500": "
|
22
|
-
"_size_600": "
|
23
|
-
"_size_700": "
|
24
|
-
"_size_800": "
|
25
|
-
"_noWrap": "
|
26
|
-
"_medium": "
|
27
|
-
"_semibold": "
|
28
|
-
"_bold": "
|
29
|
-
"_italic": "
|
30
|
-
"_monospace": "
|
31
|
-
"_uppercase": "
|
32
|
-
"_lowercase": "
|
33
|
-
"_capitalize": "
|
34
|
-
"_decoration": "
|
35
|
-
"--decoration": "--
|
36
|
-
"_color": "
|
37
|
-
"--color": "--
|
38
|
-
"_fontSize": "
|
39
|
-
"--fontSize": "--
|
40
|
-
"_lineHeight": "
|
41
|
-
"--lineHeight": "--
|
42
|
-
"_fontWeight": "
|
43
|
-
"--fontWeight": "--
|
44
|
-
"_textAlign": "
|
45
|
-
"--textAlign": "--
|
46
|
-
"_use_primary": "
|
47
|
-
"_use_secondary": "
|
48
|
-
"_disabled": "
|
15
|
+
var styles = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SText_1ykcv_gg_{padding:0;margin:0}.___SText_1ykcv_gg_._size_100_1ykcv_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___SText_1ykcv_gg_._size_200_1ykcv_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SText_1ykcv_gg_._size_300_1ykcv_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SText_1ykcv_gg_._size_400_1ykcv_gg_{font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%)}.___SText_1ykcv_gg_._size_500_1ykcv_gg_{font-size:var(--intergalactic-fs-500, 24px);line-height:var(--intergalactic-lh-500, 117%)}.___SText_1ykcv_gg_._size_600_1ykcv_gg_{font-size:var(--intergalactic-fs-600, 32px);line-height:var(--intergalactic-lh-600, 125%)}.___SText_1ykcv_gg_._size_700_1ykcv_gg_{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%)}.___SText_1ykcv_gg_._size_800_1ykcv_gg_{font-size:var(--intergalactic-fs-800, 48px);line-height:var(--intergalactic-lh-800, 117%)}.___SText_1ykcv_gg_.__noWrap_1ykcv_gg_{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SText_1ykcv_gg_.__medium_1ykcv_gg_{font-weight:var(--intergalactic-medium, 500)}.___SText_1ykcv_gg_.__semibold_1ykcv_gg_{font-weight:var(--intergalactic-semi-bold, 600)}.___SText_1ykcv_gg_.__bold_1ykcv_gg_{font-weight:var(--intergalactic-bold, 700)}.___SText_1ykcv_gg_.__italic_1ykcv_gg_{font-style:italic}.___SText_1ykcv_gg_.__monospace_1ykcv_gg_{font-family:Consolas,\"Roboto Mono\",Menlo,Courier,monospace}.___SText_1ykcv_gg_.__uppercase_1ykcv_gg_{text-transform:uppercase}.___SText_1ykcv_gg_.__lowercase_1ykcv_gg_{text-transform:lowercase}.___SText_1ykcv_gg_.__capitalize_1ykcv_gg_{text-transform:capitalize}.___SText_1ykcv_gg_.__decoration_1ykcv_gg_{-webkit-text-decoration:var(--decoration_1ykcv);text-decoration:var(--decoration_1ykcv)}.___SText_1ykcv_gg_.__color_1ykcv_gg_{color:var(--color_1ykcv)}.___SText_1ykcv_gg_.__fontSize_1ykcv_gg_{font-size:var(--fontSize_1ykcv)}.___SText_1ykcv_gg_.__lineHeight_1ykcv_gg_{line-height:var(--lineHeight_1ykcv)}.___SText_1ykcv_gg_.__fontWeight_1ykcv_gg_{font-weight:var(--fontWeight_1ykcv)}.___SText_1ykcv_gg_.__textAlign_1ykcv_gg_{text-align:var(--textAlign_1ykcv)}.___SText_1ykcv_gg_._use_primary_1ykcv_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SText_1ykcv_gg_._use_secondary_1ykcv_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SText_1ykcv_gg_.__disabled_1ykcv_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}" /*__inner_css_end__*/, "1ykcv_gg_") /*__reshadow_css_end__*/, {
|
16
|
+
"__SText": "___SText_1ykcv_gg_",
|
17
|
+
"_size_100": "_size_100_1ykcv_gg_",
|
18
|
+
"_size_200": "_size_200_1ykcv_gg_",
|
19
|
+
"_size_300": "_size_300_1ykcv_gg_",
|
20
|
+
"_size_400": "_size_400_1ykcv_gg_",
|
21
|
+
"_size_500": "_size_500_1ykcv_gg_",
|
22
|
+
"_size_600": "_size_600_1ykcv_gg_",
|
23
|
+
"_size_700": "_size_700_1ykcv_gg_",
|
24
|
+
"_size_800": "_size_800_1ykcv_gg_",
|
25
|
+
"_noWrap": "__noWrap_1ykcv_gg_",
|
26
|
+
"_medium": "__medium_1ykcv_gg_",
|
27
|
+
"_semibold": "__semibold_1ykcv_gg_",
|
28
|
+
"_bold": "__bold_1ykcv_gg_",
|
29
|
+
"_italic": "__italic_1ykcv_gg_",
|
30
|
+
"_monospace": "__monospace_1ykcv_gg_",
|
31
|
+
"_uppercase": "__uppercase_1ykcv_gg_",
|
32
|
+
"_lowercase": "__lowercase_1ykcv_gg_",
|
33
|
+
"_capitalize": "__capitalize_1ykcv_gg_",
|
34
|
+
"_decoration": "__decoration_1ykcv_gg_",
|
35
|
+
"--decoration": "--decoration_1ykcv",
|
36
|
+
"_color": "__color_1ykcv_gg_",
|
37
|
+
"--color": "--color_1ykcv",
|
38
|
+
"_fontSize": "__fontSize_1ykcv_gg_",
|
39
|
+
"--fontSize": "--fontSize_1ykcv",
|
40
|
+
"_lineHeight": "__lineHeight_1ykcv_gg_",
|
41
|
+
"--lineHeight": "--lineHeight_1ykcv",
|
42
|
+
"_fontWeight": "__fontWeight_1ykcv_gg_",
|
43
|
+
"--fontWeight": "--fontWeight_1ykcv",
|
44
|
+
"_textAlign": "__textAlign_1ykcv_gg_",
|
45
|
+
"--textAlign": "--textAlign_1ykcv",
|
46
|
+
"_use_primary": "_use_primary_1ykcv_gg_",
|
47
|
+
"_use_secondary": "_use_secondary_1ykcv_gg_",
|
48
|
+
"_disabled": "__disabled_1ykcv_gg_"
|
49
49
|
});
|
50
50
|
function getTextDecoration(underline, lineThrough) {
|
51
51
|
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_132lu_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_132lu_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_132lu_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__*/, "132lu_gg_") /*__reshadow_css_end__*/, {
|
10
|
+
"__SBlockquote": "___SBlockquote_132lu_gg_",
|
11
|
+
"__SDoubleQuotation": "___SDoubleQuotation_132lu_gg_",
|
12
|
+
"__SAuthor": "___SAuthor_132lu_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_i20k3_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_i20k3_gg_.__active_i20k3_gg_,.___SHint_i20k3_gg_:active{color:var(--intergalactic-text-hint-hover-active, #484a54)}@media (hover:hover){.___SHint_i20k3_gg_:hover{color:var(--intergalactic-text-hint-hover-active, #484a54)}}.___SHint_i20k3_gg_.__keyboardFocused_i20k3_gg_{box-shadow:var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5))}.___SHint_i20k3_gg_.__disabled_i20k3_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3);cursor:default;pointer-events:none}.___SAddon_i20k3_gg_{vertical-align:middle;display:inline-flex}.___SHint_i20k3_gg_ .___SAddon_i20k3_gg_:not(:only-child):first-child{margin-right:var(--intergalactic-spacing-1x, 4px)}.___SHint_i20k3_gg_ .___SAddon_i20k3_gg_:not(:only-child):last-child{margin-left:var(--intergalactic-spacing-1x, 4px)}.___SText_i20k3_gg_{border-bottom-width:1px;border-bottom-style:dashed;border-color:currentColor}@media (prefers-reduced-motion){.___SHint_i20k3_gg_{transition:none}}" /*__inner_css_end__*/, "i20k3_gg_") /*__reshadow_css_end__*/, {
|
19
|
+
"__SHint": "___SHint_i20k3_gg_",
|
20
|
+
"_keyboardFocused": "__keyboardFocused_i20k3_gg_",
|
21
|
+
"_disabled": "__disabled_i20k3_gg_",
|
22
|
+
"__SAddon": "___SAddon_i20k3_gg_",
|
23
|
+
"__SText": "___SText_i20k3_gg_",
|
24
|
+
"_active": "__active_i20k3_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_xfpfq_gg_{padding:0;margin:0;list-style-type:none}.___SContent_xfpfq_gg_{overflow:inherit;text-overflow:inherit}.___SItem_xfpfq_gg_+.___SItem_xfpfq_gg_,.___SList_xfpfq_gg_ .___SList_xfpfq_gg_{margin-top:var(--intergalactic-spacing-2x, 8px)}.___SItem_xfpfq_gg_{display:flex}.___SMarker_xfpfq_gg_{margin-right:var(--intergalactic-spacing-2x, 8px);color:var(--intergalactic-text-secondary, #6c6e79);line-height:normal}" /*__inner_css_end__*/, "xfpfq_gg_") /*__reshadow_css_end__*/, {
|
19
|
+
"__SList": "___SList_xfpfq_gg_",
|
20
|
+
"__SContent": "___SContent_xfpfq_gg_",
|
21
|
+
"__SItem": "___SItem_xfpfq_gg_",
|
22
|
+
"__SMarker": "___SMarker_xfpfq_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_1ykcv_gg_{padding:0;margin:0}.___SText_1ykcv_gg_._size_100_1ykcv_gg_{font-size:var(--intergalactic-fs-100, 12px);line-height:var(--intergalactic-lh-100, 133%)}.___SText_1ykcv_gg_._size_200_1ykcv_gg_{font-size:var(--intergalactic-fs-200, 14px);line-height:var(--intergalactic-lh-200, 142%)}.___SText_1ykcv_gg_._size_300_1ykcv_gg_{font-size:var(--intergalactic-fs-300, 16px);line-height:var(--intergalactic-lh-300, 150%)}.___SText_1ykcv_gg_._size_400_1ykcv_gg_{font-size:var(--intergalactic-fs-400, 20px);line-height:var(--intergalactic-lh-400, 120%)}.___SText_1ykcv_gg_._size_500_1ykcv_gg_{font-size:var(--intergalactic-fs-500, 24px);line-height:var(--intergalactic-lh-500, 117%)}.___SText_1ykcv_gg_._size_600_1ykcv_gg_{font-size:var(--intergalactic-fs-600, 32px);line-height:var(--intergalactic-lh-600, 125%)}.___SText_1ykcv_gg_._size_700_1ykcv_gg_{font-size:var(--intergalactic-fs-700, 36px);line-height:var(--intergalactic-lh-700, 110%)}.___SText_1ykcv_gg_._size_800_1ykcv_gg_{font-size:var(--intergalactic-fs-800, 48px);line-height:var(--intergalactic-lh-800, 117%)}.___SText_1ykcv_gg_.__noWrap_1ykcv_gg_{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.___SText_1ykcv_gg_.__medium_1ykcv_gg_{font-weight:var(--intergalactic-medium, 500)}.___SText_1ykcv_gg_.__semibold_1ykcv_gg_{font-weight:var(--intergalactic-semi-bold, 600)}.___SText_1ykcv_gg_.__bold_1ykcv_gg_{font-weight:var(--intergalactic-bold, 700)}.___SText_1ykcv_gg_.__italic_1ykcv_gg_{font-style:italic}.___SText_1ykcv_gg_.__monospace_1ykcv_gg_{font-family:Consolas,\"Roboto Mono\",Menlo,Courier,monospace}.___SText_1ykcv_gg_.__uppercase_1ykcv_gg_{text-transform:uppercase}.___SText_1ykcv_gg_.__lowercase_1ykcv_gg_{text-transform:lowercase}.___SText_1ykcv_gg_.__capitalize_1ykcv_gg_{text-transform:capitalize}.___SText_1ykcv_gg_.__decoration_1ykcv_gg_{-webkit-text-decoration:var(--decoration_1ykcv);text-decoration:var(--decoration_1ykcv)}.___SText_1ykcv_gg_.__color_1ykcv_gg_{color:var(--color_1ykcv)}.___SText_1ykcv_gg_.__fontSize_1ykcv_gg_{font-size:var(--fontSize_1ykcv)}.___SText_1ykcv_gg_.__lineHeight_1ykcv_gg_{line-height:var(--lineHeight_1ykcv)}.___SText_1ykcv_gg_.__fontWeight_1ykcv_gg_{font-weight:var(--fontWeight_1ykcv)}.___SText_1ykcv_gg_.__textAlign_1ykcv_gg_{text-align:var(--textAlign_1ykcv)}.___SText_1ykcv_gg_._use_primary_1ykcv_gg_{color:var(--intergalactic-text-primary, #191b23)}.___SText_1ykcv_gg_._use_secondary_1ykcv_gg_{color:var(--intergalactic-text-secondary, #6c6e79)}.___SText_1ykcv_gg_.__disabled_1ykcv_gg_{opacity:var(--intergalactic-disabled-opacity, 0.3)}" /*__inner_css_end__*/, "1ykcv_gg_") /*__reshadow_css_end__*/, {
|
9
|
+
"__SText": "___SText_1ykcv_gg_",
|
10
|
+
"_size_100": "_size_100_1ykcv_gg_",
|
11
|
+
"_size_200": "_size_200_1ykcv_gg_",
|
12
|
+
"_size_300": "_size_300_1ykcv_gg_",
|
13
|
+
"_size_400": "_size_400_1ykcv_gg_",
|
14
|
+
"_size_500": "_size_500_1ykcv_gg_",
|
15
|
+
"_size_600": "_size_600_1ykcv_gg_",
|
16
|
+
"_size_700": "_size_700_1ykcv_gg_",
|
17
|
+
"_size_800": "_size_800_1ykcv_gg_",
|
18
|
+
"_noWrap": "__noWrap_1ykcv_gg_",
|
19
|
+
"_medium": "__medium_1ykcv_gg_",
|
20
|
+
"_semibold": "__semibold_1ykcv_gg_",
|
21
|
+
"_bold": "__bold_1ykcv_gg_",
|
22
|
+
"_italic": "__italic_1ykcv_gg_",
|
23
|
+
"_monospace": "__monospace_1ykcv_gg_",
|
24
|
+
"_uppercase": "__uppercase_1ykcv_gg_",
|
25
|
+
"_lowercase": "__lowercase_1ykcv_gg_",
|
26
|
+
"_capitalize": "__capitalize_1ykcv_gg_",
|
27
|
+
"_decoration": "__decoration_1ykcv_gg_",
|
28
|
+
"--decoration": "--decoration_1ykcv",
|
29
|
+
"_color": "__color_1ykcv_gg_",
|
30
|
+
"--color": "--color_1ykcv",
|
31
|
+
"_fontSize": "__fontSize_1ykcv_gg_",
|
32
|
+
"--fontSize": "--fontSize_1ykcv",
|
33
|
+
"_lineHeight": "__lineHeight_1ykcv_gg_",
|
34
|
+
"--lineHeight": "--lineHeight_1ykcv",
|
35
|
+
"_fontWeight": "__fontWeight_1ykcv_gg_",
|
36
|
+
"--fontWeight": "--fontWeight_1ykcv",
|
37
|
+
"_textAlign": "__textAlign_1ykcv_gg_",
|
38
|
+
"--textAlign": "--textAlign_1ykcv",
|
39
|
+
"_use_primary": "_use_primary_1ykcv_gg_",
|
40
|
+
"_use_secondary": "_use_secondary_1ykcv_gg_",
|
41
|
+
"_disabled": "__disabled_1ykcv_gg_"
|
42
42
|
});
|
43
43
|
import { useColorResolver } from 'intergalactic/utils/lib/use/useColorResolver';
|
44
44
|
function getTextDecoration(underline, lineThrough) {
|
package/typography/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"intergalactic/typography","description":"Semrush Typography Component","version":"5.42.
|
1
|
+
{"name":"intergalactic/typography","description":"Semrush Typography Component","version":"5.42.1-prerelease.1","main":"lib/cjs/index.js","module":"lib/es6/index.js","typings":"lib/types/index.d.ts","sideEffects":false,"author":"UI-kit team <ui-kit-team@semrush.com>","license":"MIT","scripts":{"build":"pnpm semcore-builder --source=js"},"dependencies":{"@semcore/utils":"4.36.2-prerelease.1","@semcore/flex-box":"5.33.1-prerelease.1","@semcore/icon":"4.46.0-prerelease.1","csstype":"3.0.8"},"peerDependencies":{"@semcore/core":"^2.31.1-prerelease.1","react":"16.8 - 18","react-dom":"16.8 - 18"},"repository":{"type":"git","url":"https://github.com/semrush/intergalactic.git","directory":"semcore/typography"},"devDependencies":{"@types/react":"18.0.21","@semcore/testing-utils":"1.0.0"}}
|
@@ -10,8 +10,8 @@ var _index = require("intergalactic/utils/lib/core/index");
|
|
10
10
|
var _react = _interopRequireDefault(require("react"));
|
11
11
|
var _index2 = _interopRequireWildcard(require("../../core/index"));
|
12
12
|
/*__reshadow-styles__:"./invalidStatePattern.shadow.css"*/
|
13
|
-
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".
|
14
|
-
"__SPattern": "
|
13
|
+
var style = ( /*__reshadow_css_start__*/_index.sstyled.insert( /*__inner_css_start__*/".___SPattern_6qf6s_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__*/, "6qf6s_gg_") /*__reshadow_css_end__*/, {
|
14
|
+
"__SPattern": "___SPattern_6qf6s_gg_"
|
15
15
|
});
|
16
16
|
var InvalidStatePatternComponent = function InvalidStatePatternComponent() {
|
17
17
|
var _ref;
|
@@ -2,8 +2,8 @@ import { sstyled as _sstyled } from 'intergalactic/utils/lib/core/index';
|
|
2
2
|
import React from 'react';
|
3
3
|
import createComponent, { sstyled, Root } from "../../core/index.mjs";
|
4
4
|
/*__reshadow-styles__:"./invalidStatePattern.shadow.css"*/
|
5
|
-
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".
|
6
|
-
"__SPattern": "
|
5
|
+
var style = ( /*__reshadow_css_start__*/_sstyled.insert( /*__inner_css_start__*/".___SPattern_6qf6s_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__*/, "6qf6s_gg_") /*__reshadow_css_end__*/, {
|
6
|
+
"__SPattern": "___SPattern_6qf6s_gg_"
|
7
7
|
});
|
8
8
|
var InvalidStatePatternComponent = function InvalidStatePatternComponent() {
|
9
9
|
var SPattern = Root;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export declare const addIframeBorders: () => void;
|
1
|
+
export declare const addIframeBorders: (excludeFor?: HTMLElement | null) => void;
|
2
2
|
export declare const removeIframeBorders: () => void;
|
3
|
-
export declare const areIframeBordersPlacedCorrectly: () => boolean;
|
3
|
+
export declare const areIframeBordersPlacedCorrectly: (excludeFor?: HTMLElement | null) => boolean;
|
@@ -4,10 +4,14 @@ Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
5
5
|
});
|
6
6
|
exports.removeIframeBorders = exports.areIframeBordersPlacedCorrectly = exports.addIframeBorders = void 0;
|
7
|
+
var _hasParent = require("../hasParent");
|
7
8
|
var iframeBorders = new Set();
|
8
|
-
var addIframeBorders = function addIframeBorders() {
|
9
|
+
var addIframeBorders = function addIframeBorders(excludeFor) {
|
9
10
|
var iframes = document.querySelectorAll('iframe');
|
10
11
|
iframes.forEach(function (iframe) {
|
12
|
+
if (excludeFor && (0, _hasParent.hasParent)(iframe, excludeFor)) {
|
13
|
+
return;
|
14
|
+
}
|
11
15
|
var iframeBefore = document.createElement('div');
|
12
16
|
iframeBefore.style.position = 'fixed';
|
13
17
|
iframeBefore.setAttribute('tabindex', '0');
|
@@ -48,8 +52,10 @@ var removeIframeBorders = function removeIframeBorders() {
|
|
48
52
|
iframeBorders.clear();
|
49
53
|
};
|
50
54
|
exports.removeIframeBorders = removeIframeBorders;
|
51
|
-
var areIframeBordersPlacedCorrectly = function areIframeBordersPlacedCorrectly() {
|
52
|
-
var iframes = Array.from(document.querySelectorAll('iframe'))
|
55
|
+
var areIframeBordersPlacedCorrectly = function areIframeBordersPlacedCorrectly(excludeFor) {
|
56
|
+
var iframes = Array.from(document.querySelectorAll('iframe')).filter(function (iframe) {
|
57
|
+
return !excludeFor || !(0, _hasParent.hasParent)(iframe, excludeFor);
|
58
|
+
});
|
53
59
|
if (iframes.length * 2 === iframeBorders.size) return false;
|
54
60
|
return iframes.every(function (iframe) {
|
55
61
|
var nodeBeforeIframe = iframe.previousSibling;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"iframeBorders.js","names":["iframeBorders","Set","addIframeBorders","iframes","document","querySelectorAll","forEach","iframe","iframeBefore","createElement","style","position","setAttribute","iframeAfter","addEventListener","event","Promise","resolve","then","activeElement","relatedTarget","focus","before","after","add","exports","removeIframeBorders","node","remove","clear","areIframeBordersPlacedCorrectly","Array","from","length","size","every","nodeBeforeIframe","previousSibling","nodeAfterIframe","nextSibling","has"],"sources":["../../src/focus-lock/iframeBorders.ts"],"sourcesContent":["
|
1
|
+
{"version":3,"file":"iframeBorders.js","names":["_hasParent","require","iframeBorders","Set","addIframeBorders","excludeFor","iframes","document","querySelectorAll","forEach","iframe","hasParent","iframeBefore","createElement","style","position","setAttribute","iframeAfter","addEventListener","event","Promise","resolve","then","activeElement","relatedTarget","focus","before","after","add","exports","removeIframeBorders","node","remove","clear","areIframeBordersPlacedCorrectly","Array","from","filter","length","size","every","nodeBeforeIframe","previousSibling","nodeAfterIframe","nextSibling","has"],"sources":["../../src/focus-lock/iframeBorders.ts"],"sourcesContent":["import { hasParent } from '../hasParent';\n\nconst iframeBorders = new Set<HTMLElement>();\n\nexport const addIframeBorders = (excludeFor?: HTMLElement | null) => {\n const iframes = document.querySelectorAll('iframe');\n iframes.forEach((iframe) => {\n if (excludeFor && hasParent(iframe, excludeFor)) {\n return;\n }\n\n const iframeBefore = document.createElement('div');\n iframeBefore.style.position = 'fixed';\n iframeBefore.setAttribute('tabindex', '0');\n const iframeAfter = document.createElement('div');\n iframeAfter.style.position = 'fixed';\n iframeAfter.setAttribute('tabindex', '0');\n iframeBefore.addEventListener('focus', (event) => {\n Promise.resolve().then(() => {\n if (\n document.activeElement === iframeBefore &&\n event.relatedTarget !== iframeAfter && // prevent loop\n event.relatedTarget // prevent initial focus\n ) {\n iframeAfter?.focus();\n }\n });\n });\n iframeAfter.addEventListener('focus', (event) => {\n Promise.resolve().then(() => {\n if (\n document.activeElement === iframeAfter &&\n event.relatedTarget !== iframeBefore && // prevent loop\n event.relatedTarget // prevent initial focus\n ) {\n iframeBefore?.focus();\n }\n });\n });\n iframe.before(iframeBefore);\n iframe.after(iframeAfter);\n iframeBorders.add(iframeBefore);\n iframeBorders.add(iframeAfter);\n });\n};\nexport const removeIframeBorders = () => {\n iframeBorders.forEach((node) => node?.remove());\n iframeBorders.clear();\n};\nexport const areIframeBordersPlacedCorrectly = (excludeFor?: HTMLElement | null) => {\n const iframes = Array.from(document.querySelectorAll('iframe')).filter((iframe) => {\n return !excludeFor || !hasParent(iframe, excludeFor);\n });\n\n if (iframes.length * 2 === iframeBorders.size) return false;\n\n return iframes.every((iframe) => {\n const nodeBeforeIframe = iframe.previousSibling as any;\n const nodeAfterIframe = iframe.nextSibling as any;\n\n return iframeBorders.has(nodeBeforeIframe) && iframeBorders.has(nodeAfterIframe);\n });\n};\n"],"mappings":";;;;;;AAAA,IAAAA,UAAA,GAAAC,OAAA;AAEA,IAAMC,aAAa,GAAG,IAAIC,GAAG,EAAe;AAErC,IAAMC,gBAAgB,GAAG,SAAnBA,gBAAgBA,CAAIC,UAA+B,EAAK;EACnE,IAAMC,OAAO,GAAGC,QAAQ,CAACC,gBAAgB,CAAC,QAAQ,CAAC;EACnDF,OAAO,CAACG,OAAO,CAAC,UAACC,MAAM,EAAK;IAC1B,IAAIL,UAAU,IAAI,IAAAM,oBAAS,EAACD,MAAM,EAAEL,UAAU,CAAC,EAAE;MAC/C;IACF;IAEA,IAAMO,YAAY,GAAGL,QAAQ,CAACM,aAAa,CAAC,KAAK,CAAC;IAClDD,YAAY,CAACE,KAAK,CAACC,QAAQ,GAAG,OAAO;IACrCH,YAAY,CAACI,YAAY,CAAC,UAAU,EAAE,GAAG,CAAC;IAC1C,IAAMC,WAAW,GAAGV,QAAQ,CAACM,aAAa,CAAC,KAAK,CAAC;IACjDI,WAAW,CAACH,KAAK,CAACC,QAAQ,GAAG,OAAO;IACpCE,WAAW,CAACD,YAAY,CAAC,UAAU,EAAE,GAAG,CAAC;IACzCJ,YAAY,CAACM,gBAAgB,CAAC,OAAO,EAAE,UAACC,KAAK,EAAK;MAChDC,OAAO,CAACC,OAAO,EAAE,CAACC,IAAI,CAAC,YAAM;QAC3B,IACEf,QAAQ,CAACgB,aAAa,KAAKX,YAAY,IACvCO,KAAK,CAACK,aAAa,KAAKP,WAAW;QAAI;QACvCE,KAAK,CAACK,aAAa,CAAC;QAAA,EACpB;UACAP,WAAW,aAAXA,WAAW,uBAAXA,WAAW,CAAEQ,KAAK,EAAE;QACtB;MACF,CAAC,CAAC;IACJ,CAAC,CAAC;IACFR,WAAW,CAACC,gBAAgB,CAAC,OAAO,EAAE,UAACC,KAAK,EAAK;MAC/CC,OAAO,CAACC,OAAO,EAAE,CAACC,IAAI,CAAC,YAAM;QAC3B,IACEf,QAAQ,CAACgB,aAAa,KAAKN,WAAW,IACtCE,KAAK,CAACK,aAAa,KAAKZ,YAAY;QAAI;QACxCO,KAAK,CAACK,aAAa,CAAC;QAAA,EACpB;UACAZ,YAAY,aAAZA,YAAY,uBAAZA,YAAY,CAAEa,KAAK,EAAE;QACvB;MACF,CAAC,CAAC;IACJ,CAAC,CAAC;IACFf,MAAM,CAACgB,MAAM,CAACd,YAAY,CAAC;IAC3BF,MAAM,CAACiB,KAAK,CAACV,WAAW,CAAC;IACzBf,aAAa,CAAC0B,GAAG,CAAChB,YAAY,CAAC;IAC/BV,aAAa,CAAC0B,GAAG,CAACX,WAAW,CAAC;EAChC,CAAC,CAAC;AACJ,CAAC;AAACY,OAAA,CAAAzB,gBAAA,GAAAA,gBAAA;AACK,IAAM0B,mBAAmB,GAAG,SAAtBA,mBAAmBA,CAAA,EAAS;EACvC5B,aAAa,CAACO,OAAO,CAAC,UAACsB,IAAI;IAAA,OAAKA,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAEC,MAAM,EAAE;EAAA,EAAC;EAC/C9B,aAAa,CAAC+B,KAAK,EAAE;AACvB,CAAC;AAACJ,OAAA,CAAAC,mBAAA,GAAAA,mBAAA;AACK,IAAMI,+BAA+B,GAAG,SAAlCA,+BAA+BA,CAAI7B,UAA+B,EAAK;EAClF,IAAMC,OAAO,GAAG6B,KAAK,CAACC,IAAI,CAAC7B,QAAQ,CAACC,gBAAgB,CAAC,QAAQ,CAAC,CAAC,CAAC6B,MAAM,CAAC,UAAC3B,MAAM,EAAK;IACjF,OAAO,CAACL,UAAU,IAAI,CAAC,IAAAM,oBAAS,EAACD,MAAM,EAAEL,UAAU,CAAC;EACtD,CAAC,CAAC;EAEF,IAAIC,OAAO,CAACgC,MAAM,GAAG,CAAC,KAAKpC,aAAa,CAACqC,IAAI,EAAE,OAAO,KAAK;EAE3D,OAAOjC,OAAO,CAACkC,KAAK,CAAC,UAAC9B,MAAM,EAAK;IAC/B,IAAM+B,gBAAgB,GAAG/B,MAAM,CAACgC,eAAsB;IACtD,IAAMC,eAAe,GAAGjC,MAAM,CAACkC,WAAkB;IAEjD,OAAO1C,aAAa,CAAC2C,GAAG,CAACJ,gBAAgB,CAAC,IAAIvC,aAAa,CAAC2C,GAAG,CAACF,eAAe,CAAC;EAClF,CAAC,CAAC;AACJ,CAAC;AAACd,OAAA,CAAAK,+BAAA,GAAAA,+BAAA"}
|
@@ -1,7 +1,11 @@
|
|
1
|
+
import { hasParent } from "../hasParent.mjs";
|
1
2
|
var iframeBorders = new Set();
|
2
|
-
export var addIframeBorders = function addIframeBorders() {
|
3
|
+
export var addIframeBorders = function addIframeBorders(excludeFor) {
|
3
4
|
var iframes = document.querySelectorAll('iframe');
|
4
5
|
iframes.forEach(function (iframe) {
|
6
|
+
if (excludeFor && hasParent(iframe, excludeFor)) {
|
7
|
+
return;
|
8
|
+
}
|
5
9
|
var iframeBefore = document.createElement('div');
|
6
10
|
iframeBefore.style.position = 'fixed';
|
7
11
|
iframeBefore.setAttribute('tabindex', '0');
|
@@ -40,8 +44,10 @@ export var removeIframeBorders = function removeIframeBorders() {
|
|
40
44
|
});
|
41
45
|
iframeBorders.clear();
|
42
46
|
};
|
43
|
-
export var areIframeBordersPlacedCorrectly = function areIframeBordersPlacedCorrectly() {
|
44
|
-
var iframes = Array.from(document.querySelectorAll('iframe'))
|
47
|
+
export var areIframeBordersPlacedCorrectly = function areIframeBordersPlacedCorrectly(excludeFor) {
|
48
|
+
var iframes = Array.from(document.querySelectorAll('iframe')).filter(function (iframe) {
|
49
|
+
return !excludeFor || !hasParent(iframe, excludeFor);
|
50
|
+
});
|
45
51
|
if (iframes.length * 2 === iframeBorders.size) return false;
|
46
52
|
return iframes.every(function (iframe) {
|
47
53
|
var nodeBeforeIframe = iframe.previousSibling;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"iframeBorders.mjs","names":["iframeBorders","Set","addIframeBorders","iframes","document","querySelectorAll","forEach","iframe","iframeBefore","createElement","style","position","setAttribute","iframeAfter","addEventListener","event","Promise","resolve","then","activeElement","relatedTarget","focus","before","after","add","removeIframeBorders","node","remove","clear","areIframeBordersPlacedCorrectly","Array","from","length","size","every","nodeBeforeIframe","previousSibling","nodeAfterIframe","nextSibling","has"],"sources":["../../src/focus-lock/iframeBorders.ts"],"sourcesContent":["
|
1
|
+
{"version":3,"file":"iframeBorders.mjs","names":["hasParent","iframeBorders","Set","addIframeBorders","excludeFor","iframes","document","querySelectorAll","forEach","iframe","iframeBefore","createElement","style","position","setAttribute","iframeAfter","addEventListener","event","Promise","resolve","then","activeElement","relatedTarget","focus","before","after","add","removeIframeBorders","node","remove","clear","areIframeBordersPlacedCorrectly","Array","from","filter","length","size","every","nodeBeforeIframe","previousSibling","nodeAfterIframe","nextSibling","has"],"sources":["../../src/focus-lock/iframeBorders.ts"],"sourcesContent":["import { hasParent } from '../hasParent';\n\nconst iframeBorders = new Set<HTMLElement>();\n\nexport const addIframeBorders = (excludeFor?: HTMLElement | null) => {\n const iframes = document.querySelectorAll('iframe');\n iframes.forEach((iframe) => {\n if (excludeFor && hasParent(iframe, excludeFor)) {\n return;\n }\n\n const iframeBefore = document.createElement('div');\n iframeBefore.style.position = 'fixed';\n iframeBefore.setAttribute('tabindex', '0');\n const iframeAfter = document.createElement('div');\n iframeAfter.style.position = 'fixed';\n iframeAfter.setAttribute('tabindex', '0');\n iframeBefore.addEventListener('focus', (event) => {\n Promise.resolve().then(() => {\n if (\n document.activeElement === iframeBefore &&\n event.relatedTarget !== iframeAfter && // prevent loop\n event.relatedTarget // prevent initial focus\n ) {\n iframeAfter?.focus();\n }\n });\n });\n iframeAfter.addEventListener('focus', (event) => {\n Promise.resolve().then(() => {\n if (\n document.activeElement === iframeAfter &&\n event.relatedTarget !== iframeBefore && // prevent loop\n event.relatedTarget // prevent initial focus\n ) {\n iframeBefore?.focus();\n }\n });\n });\n iframe.before(iframeBefore);\n iframe.after(iframeAfter);\n iframeBorders.add(iframeBefore);\n iframeBorders.add(iframeAfter);\n });\n};\nexport const removeIframeBorders = () => {\n iframeBorders.forEach((node) => node?.remove());\n iframeBorders.clear();\n};\nexport const areIframeBordersPlacedCorrectly = (excludeFor?: HTMLElement | null) => {\n const iframes = Array.from(document.querySelectorAll('iframe')).filter((iframe) => {\n return !excludeFor || !hasParent(iframe, excludeFor);\n });\n\n if (iframes.length * 2 === iframeBorders.size) return false;\n\n return iframes.every((iframe) => {\n const nodeBeforeIframe = iframe.previousSibling as any;\n const nodeAfterIframe = iframe.nextSibling as any;\n\n return iframeBorders.has(nodeBeforeIframe) && iframeBorders.has(nodeAfterIframe);\n });\n};\n"],"mappings":"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"}
|
package/utils/lib/injectStyle.js
CHANGED
@@ -8,7 +8,7 @@ exports["default"] = propsForElement;
|
|
8
8
|
exports.validAttr = void 0;
|
9
9
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
10
10
|
var _excluded = ["__excludeProps"];
|
11
|
-
var allowedAttributes = new Set(['children', 'dangerouslySetInnerHTML', 'key', 'ref', 'autoFocus', 'defaultValue', 'valueLink', 'defaultChecked', 'checkedLink', 'innerHTML', 'suppressContentEditableWarning', 'onFocusIn', 'onFocusOut', 'className', 'onCopy', 'onCut', 'onPaste', 'onCompositionEnd', 'onCompositionStart', 'onCompositionUpdate', 'onKeyDown', 'onKeyPress', 'onKeyUp', 'onFocus', 'onBlur', 'onChange', 'onInput', 'onInvalid', 'onSubmit', 'onReset', 'onClick', 'onContextMenu', 'onDoubleClick', 'onDrag', 'onDragEnd', 'onDragEnter', 'onDragExit', 'onDragLeave', 'onDragOver', 'onDragStart', 'onDrop', 'onMouseDown', 'onMouseEnter', 'onMouseLeave', 'onMouseMove', 'onMouseOut', 'onMouseOver', 'onMouseUp', 'onSelect', 'onTouchCancel', 'onTouchEnd', 'onTouchMove', 'onTouchStart', 'onScroll', 'onWheel', 'onAbort', 'onCanPlay', 'onCanPlayThrough', 'onDurationChange', 'onEmptied', 'onEncrypted', 'onEnded', 'onError', 'onLoadedData', 'onLoadedMetadata', 'onLoadStart', 'onPause', 'onPlay', 'onPlaying', 'onProgress', 'onRateChange', 'onSeeked', 'onSeeking', 'onStalled', 'onSuspend', 'onTimeUpdate', 'onVolumeChange', 'onWaiting', 'onLoad', 'onAnimationStart', 'onAnimationEnd', 'onAnimationIteration', 'onTransitionEnd', 'onCopyCapture', 'onCutCapture', 'onPasteCapture', 'onCompositionEndCapture', 'onCompositionStartCapture', 'onCompositionUpdateCapture', 'onKeyDownCapture', 'onKeyPressCapture', 'onKeyUpCapture', 'onFocusCapture', 'onBlurCapture', 'onChangeCapture', 'onInputCapture', 'onSubmitCapture', 'onResetCapture', 'onClickCapture', 'onContextMenuCapture', 'onDoubleClickCapture', 'onDragCapture', 'onDragEndCapture', 'onDragEnterCapture', 'onDragExitCapture', 'onDragLeaveCapture', 'onDragOverCapture', 'onDragStartCapture', 'onDropCapture', 'onMouseDownCapture', 'onMouseEnterCapture', 'onMouseLeaveCapture', 'onMouseMoveCapture', 'onMouseOutCapture', 'onMouseOverCapture', 'onMouseUpCapture', 'onSelectCapture', 'onTouchCancelCapture', 'onTouchEndCapture', 'onTouchMoveCapture', 'onTouchStartCapture', 'onScrollCapture', 'onWheelCapture', 'onAbortCapture', 'onCanPlayCapture', 'onCanPlayThroughCapture', 'onDurationChangeCapture', 'onEmptiedCapture', 'onEncryptedCapture', 'onEndedCapture', 'onErrorCapture', 'onLoadedDataCapture', 'onLoadedMetadataCapture', 'onLoadStartCapture', 'onPauseCapture', 'onPlayCapture', 'onPlayingCapture', 'onProgressCapture', 'onRateChangeCapture', 'onSeekedCapture', 'onSeekingCapture', 'onStalledCapture', 'onSuspendCapture', 'onTimeUpdateCapture', 'onVolumeChangeCapture', 'onWaitingCapture', 'onLoadCapture', 'onAnimationStartCapture', 'onAnimationEndCapture', 'onAnimationIterationCapture', 'onTransitionEndCapture', 'accept', 'acceptCharset', 'accessKey', 'action', 'allowFullScreen', 'allowTransparency', 'alt', 'as', 'async', 'autoComplete', 'autoPlay', 'capture', 'cellPadding', 'cellSpacing', 'charSet', 'challenge', 'checked', 'cite', 'classID', 'className', 'cols', 'colSpan', 'content', 'contentEditable', 'contextMenu', 'controlsList', 'controls', 'coords', 'crossOrigin', 'data', 'dateTime', 'default', 'defer', 'dir', 'disabled', 'download', 'draggable', 'encType', 'form', 'formAction', 'formEncType', 'formMethod', 'formNoValidate', 'formTarget', 'frameBorder', 'headers', 'height', 'hidden', 'high', 'href', 'hrefLang', 'htmlFor', 'httpEquiv', 'icon', 'id', 'inputMode', 'integrity', 'is', 'keyParams', 'keyType', 'kind', 'label', 'lang', 'list', 'loop', 'low', 'manifest', 'marginHeight', 'marginWidth', 'max', 'maxLength', 'media', 'mediaGroup', 'method', 'min', 'minLength', 'multiple', 'muted', 'name', 'nonce', 'noValidate', 'open', 'optimum', 'pattern', 'placeholder', 'playsInline', 'poster', 'preload', 'profile', 'radioGroup', 'readOnly', 'referrerPolicy', 'rel', 'required', 'reversed', 'role', 'rows', 'rowSpan', 'sandbox', 'scope', 'scoped', 'scrolling', 'seamless', 'selected', 'shape', 'size', 'sizes', 'span', 'spellCheck', 'src', 'srcDoc', 'srcLang', 'srcSet', 'start', 'step', 'style', 'summary', 'tabIndex', 'target', 'title', 'type', 'useMap', 'value', 'width', 'wmode', 'wrap', 'about', 'datatype', 'inlist', 'prefix', 'property', 'resource', 'typeof', 'vocab', 'autoCapitalize', 'autoCorrect', 'autoSave', 'color', 'itemProp', 'itemScope', 'itemType', 'itemID', 'itemRef', 'results', 'security', 'unselectable', 'accentHeight', 'accumulate', 'additive', 'alignmentBaseline', 'allowReorder', 'alphabetic', 'amplitude', 'arabicForm', 'ascent', 'attributeName', 'attributeType', 'autoReverse', 'azimuth', 'baseFrequency', 'baseProfile', 'baselineShift', 'bbox', 'begin', 'bias', 'by', 'calcMode', 'capHeight', 'clip', 'clipPath', 'clipRule', 'clipPathUnits', 'colorInterpolation', 'colorInterpolationFilters', 'colorProfile', 'colorRendering', 'contentScriptType', 'contentStyleType', 'cursor', 'cx', 'cy', 'd', 'decelerate', 'descent', 'diffuseConstant', 'direction', 'display', 'divisor', 'dominantBaseline', 'dur', 'dx', 'dy', 'edgeMode', 'elevation', 'enableBackground', 'end', 'exponent', 'externalResourcesRequired', 'fill', 'fillOpacity', 'fillRule', 'filter', 'filterRes', 'filterUnits', 'floodColor', 'floodOpacity', 'focusable', 'fontFamily', 'fontSize', 'fontSizeAdjust', 'fontStretch', 'fontStyle', 'fontVariant', 'fontWeight', 'format', 'from', 'fx', 'fy', 'g1', 'g2', 'glyphName', 'glyphOrientationHorizontal', 'glyphOrientationVertical', 'glyphRef', 'gradientTransform', 'gradientUnits', 'hanging', 'horizAdvX', 'horizOriginX', 'ideographic', 'imageRendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kernelMatrix', 'kernelUnitLength', 'kerning', 'keyPoints', 'keySplines', 'keyTimes', 'lengthAdjust', 'letterSpacing', 'lightingColor', 'limitingConeAngle', 'local', 'markerEnd', 'markerMid', 'markerStart', 'markerHeight', 'markerUnits', 'markerWidth', 'mask', 'maskContentUnits', 'maskUnits', 'mathematical', 'mode', 'numOctaves', 'offset', 'opacity', 'operator', 'order', 'orient', 'orientation', 'origin', 'overflow', 'overlinePosition', 'overlineThickness', 'paintOrder', 'panose1', 'pathLength', 'patternContentUnits', 'patternTransform', 'patternUnits', 'pointerEvents', 'points', 'pointsAtX', 'pointsAtY', 'pointsAtZ', 'preserveAlpha', 'preserveAspectRatio', 'primitiveUnits', 'r', 'radius', 'refX', 'refY', 'renderingIntent', 'repeatCount', 'repeatDur', 'requiredExtensions', 'requiredFeatures', 'restart', 'result', 'rotate', 'rx', 'ry', 'scale', 'seed', 'shapeRendering', 'slope', 'spacing', 'specularConstant', 'specularExponent', 'speed', 'spreadMethod', 'startOffset', 'stdDeviation', 'stemh', 'stemv', 'stitchTiles', 'stopColor', 'stopOpacity', 'strikethroughPosition', 'strikethroughThickness', 'string', 'stroke', 'strokeDasharray', 'strokeDashoffset', 'strokeLinecap', 'strokeLinejoin', 'strokeMiterlimit', 'strokeOpacity', 'strokeWidth', 'surfaceScale', 'systemLanguage', 'tableValues', 'targetX', 'targetY', 'textAnchor', 'textDecoration', 'textRendering', 'textLength', 'to', 'transform', 'u1', 'u2', 'underlinePosition', 'underlineThickness', 'unicode', 'unicodeBidi', 'unicodeRange', 'unitsPerEm', 'vAlphabetic', 'vHanging', 'vIdeographic', 'vMathematical', 'values', 'vectorEffect', 'version', 'vertAdvY', 'vertOriginX', 'vertOriginY', 'viewBox', 'viewTarget', 'visibility', 'widths', 'wordSpacing', 'writingMode', 'x', 'xHeight', 'x1', 'x2', 'xChannelSelector', 'xlinkActuate', 'xlinkArcrole', 'xlinkHref', 'xlinkRole', 'xlinkShow', 'xlinkTitle', 'xlinkType', 'xmlBase', 'xmlns', 'xmlnsXlink', 'xmlLang', 'xmlSpace', 'y', 'y1', 'y2', 'yChannelSelector', 'z', 'zoomAndPan', 'onPointerDown', 'onPointerMove', 'onPointerUp', 'onPointerCancel', 'onGotPointerCapture', 'onLostPointerCapture', 'onPointerEnter', 'onPointerLeave', 'onPointerOver', 'onPointerOut', 'className', 'htmlFor', 'autofocus', 'elementtiming', 'attr', 'inert']);
|
11
|
+
var allowedAttributes = new Set(['children', 'dangerouslySetInnerHTML', 'key', 'ref', 'autoFocus', 'defaultValue', 'valueLink', 'defaultChecked', 'checkedLink', 'innerHTML', 'suppressContentEditableWarning', 'onFocusIn', 'onFocusOut', 'className', 'onCopy', 'onCut', 'onPaste', 'onCompositionEnd', 'onCompositionStart', 'onCompositionUpdate', 'onKeyDown', 'onKeyPress', 'onKeyUp', 'onFocus', 'onBlur', 'onChange', 'onInput', 'onInvalid', 'onSubmit', 'onReset', 'onClick', 'onContextMenu', 'onDoubleClick', 'onDrag', 'onDragEnd', 'onDragEnter', 'onDragExit', 'onDragLeave', 'onDragOver', 'onDragStart', 'onDrop', 'onMouseDown', 'onMouseEnter', 'onMouseLeave', 'onMouseMove', 'onMouseOut', 'onMouseOver', 'onMouseUp', 'onSelect', 'onTouchCancel', 'onTouchEnd', 'onTouchMove', 'onTouchStart', 'onScroll', 'onWheel', 'onAbort', 'onCanPlay', 'onCanPlayThrough', 'onDurationChange', 'onEmptied', 'onEncrypted', 'onEnded', 'onError', 'onLoadedData', 'onLoadedMetadata', 'onLoadStart', 'onPause', 'onPlay', 'onPlaying', 'onProgress', 'onRateChange', 'onSeeked', 'onSeeking', 'onStalled', 'onSuspend', 'onTimeUpdate', 'onVolumeChange', 'onWaiting', 'onLoad', 'onAnimationStart', 'onAnimationEnd', 'onAnimationIteration', 'onTransitionEnd', 'onCopyCapture', 'onCutCapture', 'onPasteCapture', 'onCompositionEndCapture', 'onCompositionStartCapture', 'onCompositionUpdateCapture', 'onKeyDownCapture', 'onKeyPressCapture', 'onKeyUpCapture', 'onFocusCapture', 'onBlurCapture', 'onChangeCapture', 'onInputCapture', 'onSubmitCapture', 'onResetCapture', 'onClickCapture', 'onContextMenuCapture', 'onDoubleClickCapture', 'onDragCapture', 'onDragEndCapture', 'onDragEnterCapture', 'onDragExitCapture', 'onDragLeaveCapture', 'onDragOverCapture', 'onDragStartCapture', 'onDropCapture', 'onMouseDownCapture', 'onMouseEnterCapture', 'onMouseLeaveCapture', 'onMouseMoveCapture', 'onMouseOutCapture', 'onMouseOverCapture', 'onMouseUpCapture', 'onSelectCapture', 'onTouchCancelCapture', 'onTouchEndCapture', 'onTouchMoveCapture', 'onTouchStartCapture', 'onScrollCapture', 'onWheelCapture', 'onAbortCapture', 'onCanPlayCapture', 'onCanPlayThroughCapture', 'onDurationChangeCapture', 'onEmptiedCapture', 'onEncryptedCapture', 'onEndedCapture', 'onErrorCapture', 'onLoadedDataCapture', 'onLoadedMetadataCapture', 'onLoadStartCapture', 'onPauseCapture', 'onPlayCapture', 'onPlayingCapture', 'onProgressCapture', 'onRateChangeCapture', 'onSeekedCapture', 'onSeekingCapture', 'onStalledCapture', 'onSuspendCapture', 'onTimeUpdateCapture', 'onVolumeChangeCapture', 'onWaitingCapture', 'onLoadCapture', 'onAnimationStartCapture', 'onAnimationEndCapture', 'onAnimationIterationCapture', 'onTransitionEndCapture', 'accept', 'acceptCharset', 'accessKey', 'action', 'allowFullScreen', 'allowTransparency', 'alt', 'as', 'async', 'autoComplete', 'autoPlay', 'capture', 'cellPadding', 'cellSpacing', 'charSet', 'challenge', 'checked', 'cite', 'classID', 'className', 'cols', 'colSpan', 'content', 'contentEditable', 'contextMenu', 'controlsList', 'controls', 'coords', 'crossOrigin', 'data', 'dateTime', 'default', 'defer', 'dir', 'disabled', 'download', 'draggable', 'encType', 'form', 'formAction', 'formEncType', 'formMethod', 'formNoValidate', 'formTarget', 'frameBorder', 'headers', 'height', 'hidden', 'high', 'href', 'hrefLang', 'htmlFor', 'httpEquiv', 'icon', 'id', 'inputMode', 'integrity', 'is', 'keyParams', 'keyType', 'kind', 'label', 'lang', 'list', 'loop', 'low', 'manifest', 'marginHeight', 'marginWidth', 'max', 'maxLength', 'media', 'mediaGroup', 'method', 'min', 'minLength', 'multiple', 'muted', 'name', 'nonce', 'noValidate', 'open', 'optimum', 'pattern', 'placeholder', 'playsInline', 'poster', 'preload', 'profile', 'radioGroup', 'readOnly', 'referrerPolicy', 'rel', 'required', 'reversed', 'role', 'rows', 'rowSpan', 'sandbox', 'scope', 'scoped', 'scrolling', 'seamless', 'selected', 'shape', 'size', 'sizes', 'span', 'spellCheck', 'src', 'srcDoc', 'srcLang', 'srcSet', 'start', 'step', 'style', 'summary', 'tabIndex', 'target', 'title', 'type', 'useMap', 'value', 'width', 'wmode', 'wrap', 'about', 'datatype', 'inlist', 'prefix', 'property', 'resource', 'typeof', 'vocab', 'autoCapitalize', 'autoCorrect', 'autoSave', 'color', 'itemProp', 'itemScope', 'itemType', 'itemID', 'itemRef', 'results', 'security', 'unselectable', 'accentHeight', 'accumulate', 'additive', 'alignmentBaseline', 'allowReorder', 'alphabetic', 'amplitude', 'arabicForm', 'ascent', 'attributeName', 'attributeType', 'autoReverse', 'azimuth', 'baseFrequency', 'baseProfile', 'baselineShift', 'bbox', 'begin', 'bias', 'by', 'calcMode', 'capHeight', 'clip', 'clipPath', 'clipRule', 'clipPathUnits', 'colorInterpolation', 'colorInterpolationFilters', 'colorProfile', 'colorRendering', 'contentScriptType', 'contentStyleType', 'cursor', 'cx', 'cy', 'd', 'decelerate', 'descent', 'diffuseConstant', 'direction', 'display', 'divisor', 'dominantBaseline', 'dur', 'dx', 'dy', 'edgeMode', 'elevation', 'enableBackground', 'end', 'exponent', 'externalResourcesRequired', 'fill', 'fillOpacity', 'fillRule', 'filter', 'filterRes', 'filterUnits', 'floodColor', 'floodOpacity', 'focusable', 'fontFamily', 'fontSize', 'fontSizeAdjust', 'fontStretch', 'fontStyle', 'fontVariant', 'fontWeight', 'format', 'from', 'fx', 'fy', 'g1', 'g2', 'glyphName', 'glyphOrientationHorizontal', 'glyphOrientationVertical', 'glyphRef', 'gradientTransform', 'gradientUnits', 'hanging', 'horizAdvX', 'horizOriginX', 'ideographic', 'imageRendering', 'in', 'in2', 'intercept', 'k', 'k1', 'k2', 'k3', 'k4', 'kernelMatrix', 'kernelUnitLength', 'kerning', 'keyPoints', 'keySplines', 'keyTimes', 'lengthAdjust', 'letterSpacing', 'lightingColor', 'limitingConeAngle', 'local', 'markerEnd', 'markerMid', 'markerStart', 'markerHeight', 'markerUnits', 'markerWidth', 'mask', 'maskContentUnits', 'maskUnits', 'mathematical', 'mode', 'numOctaves', 'offset', 'opacity', 'operator', 'order', 'orient', 'orientation', 'origin', 'overflow', 'overlinePosition', 'overlineThickness', 'paintOrder', 'panose1', 'pathLength', 'patternContentUnits', 'patternTransform', 'patternUnits', 'pointerEvents', 'points', 'pointsAtX', 'pointsAtY', 'pointsAtZ', 'preserveAlpha', 'preserveAspectRatio', 'primitiveUnits', 'r', 'radius', 'refX', 'refY', 'renderingIntent', 'repeatCount', 'repeatDur', 'requiredExtensions', 'requiredFeatures', 'restart', 'result', 'rotate', 'rx', 'ry', 'scale', 'seed', 'shapeRendering', 'slope', 'spacing', 'specularConstant', 'specularExponent', 'speed', 'spreadMethod', 'startOffset', 'stdDeviation', 'stemh', 'stemv', 'stitchTiles', 'stopColor', 'stopOpacity', 'strikethroughPosition', 'strikethroughThickness', 'string', 'stroke', 'strokeDasharray', 'strokeDashoffset', 'strokeLinecap', 'strokeLinejoin', 'strokeMiterlimit', 'strokeOpacity', 'strokeWidth', 'surfaceScale', 'systemLanguage', 'tableValues', 'targetX', 'targetY', 'textAnchor', 'textDecoration', 'textRendering', 'textLength', 'to', 'transform', 'u1', 'u2', 'underlinePosition', 'underlineThickness', 'unicode', 'unicodeBidi', 'unicodeRange', 'unitsPerEm', 'vAlphabetic', 'vHanging', 'vIdeographic', 'vMathematical', 'values', 'vectorEffect', 'version', 'vertAdvY', 'vertOriginX', 'vertOriginY', 'viewBox', 'viewTarget', 'visibility', 'widths', 'wordSpacing', 'writingMode', 'x', 'xHeight', 'x1', 'x2', 'xChannelSelector', 'xlinkActuate', 'xlinkArcrole', 'xlinkHref', 'xlinkRole', 'xlinkShow', 'xlinkTitle', 'xlinkType', 'xmlBase', 'xmlns', 'xmlnsXlink', 'xmlLang', 'xmlSpace', 'y', 'y1', 'y2', 'yChannelSelector', 'z', 'zoomAndPan', 'onPointerDown', 'onPointerMove', 'onPointerUp', 'onPointerCancel', 'onGotPointerCapture', 'onLostPointerCapture', 'onPointerEnter', 'onPointerLeave', 'onPointerOver', 'onPointerOut', 'className', 'htmlFor', 'autofocus', 'elementtiming', 'attr', 'inert', 'suppressHydrationWarning']);
|
12
12
|
var validAttr = function validAttr(name) {
|
13
13
|
if (name.startsWith('x-')) return true;
|
14
14
|
if (name.startsWith('data-')) return true;
|