@pega/cosmos-react-core 9.0.0-build.1.0 → 9.0.0-build.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/AppShell/AppHeader.d.ts.map +1 -1
- package/lib/components/AppShell/AppHeader.js +4 -1
- package/lib/components/AppShell/AppHeader.js.map +1 -1
- package/lib/components/AppShell/AppShell.styles.d.ts.map +1 -1
- package/lib/components/AppShell/AppShell.styles.js +3 -1
- package/lib/components/AppShell/AppShell.styles.js.map +1 -1
- package/lib/components/AppShell/NavigationListItemWrapper.d.ts.map +1 -1
- package/lib/components/AppShell/NavigationListItemWrapper.js +3 -4
- package/lib/components/AppShell/NavigationListItemWrapper.js.map +1 -1
- package/lib/components/AppShell/ThemeSwitcher.d.ts +9 -0
- package/lib/components/AppShell/ThemeSwitcher.d.ts.map +1 -0
- package/lib/components/AppShell/ThemeSwitcher.js +58 -0
- package/lib/components/AppShell/ThemeSwitcher.js.map +1 -0
- package/lib/components/AppShell/ThemeSwitcher.test-ids.d.ts +2 -0
- package/lib/components/AppShell/ThemeSwitcher.test-ids.d.ts.map +1 -0
- package/lib/components/AppShell/ThemeSwitcher.test-ids.js +3 -0
- package/lib/components/AppShell/ThemeSwitcher.test-ids.js.map +1 -0
- package/lib/components/Avatar/Avatar.d.ts.map +1 -1
- package/lib/components/Avatar/Avatar.js +10 -4
- package/lib/components/Avatar/Avatar.js.map +1 -1
- package/lib/components/Banner/Banner.js +1 -1
- package/lib/components/Banner/Banner.js.map +1 -1
- package/lib/components/Card/CardHeader.d.ts.map +1 -1
- package/lib/components/Card/CardHeader.js +2 -2
- package/lib/components/Card/CardHeader.js.map +1 -1
- package/lib/components/ComboBox/ComboBox.d.ts.map +1 -1
- package/lib/components/ComboBox/ComboBox.js +8 -3
- package/lib/components/ComboBox/ComboBox.js.map +1 -1
- package/lib/components/ComboBox/ComboBox.types.d.ts +5 -0
- package/lib/components/ComboBox/ComboBox.types.d.ts.map +1 -1
- package/lib/components/ComboBox/ComboBox.types.js.map +1 -1
- package/lib/components/CompositeInput/CompositeInput.d.ts.map +1 -1
- package/lib/components/CompositeInput/CompositeInput.js +3 -9
- package/lib/components/CompositeInput/CompositeInput.js.map +1 -1
- package/lib/components/Configuration/Configuration.d.ts +7 -2
- package/lib/components/Configuration/Configuration.d.ts.map +1 -1
- package/lib/components/Configuration/Configuration.js +6 -4
- package/lib/components/Configuration/Configuration.js.map +1 -1
- package/lib/components/CreditCard/CreditCardInput.d.ts +1 -1
- package/lib/components/Currency/CurrencyInput.d.ts.map +1 -1
- package/lib/components/Currency/CurrencyInput.js +8 -4
- package/lib/components/Currency/CurrencyInput.js.map +1 -1
- package/lib/components/DateTime/Input/DateInput.d.ts.map +1 -1
- package/lib/components/DateTime/Input/DateInput.js +8 -6
- package/lib/components/DateTime/Input/DateInput.js.map +1 -1
- package/lib/components/DateTime/Input/DateTime.styles.d.ts.map +1 -1
- package/lib/components/DateTime/Input/DateTime.styles.js +0 -4
- package/lib/components/DateTime/Input/DateTime.styles.js.map +1 -1
- package/lib/components/DateTime/Input/DateTimeInput.d.ts.map +1 -1
- package/lib/components/DateTime/Input/DateTimeInput.js +29 -10
- package/lib/components/DateTime/Input/DateTimeInput.js.map +1 -1
- package/lib/components/DateTime/Input/MonthInput.d.ts.map +1 -1
- package/lib/components/DateTime/Input/MonthInput.js +1 -1
- package/lib/components/DateTime/Input/MonthInput.js.map +1 -1
- package/lib/components/DateTime/Input/PartInput.d.ts.map +1 -1
- package/lib/components/DateTime/Input/PartInput.js +6 -1
- package/lib/components/DateTime/Input/PartInput.js.map +1 -1
- package/lib/components/DateTime/Input/QuarterInput.d.ts.map +1 -1
- package/lib/components/DateTime/Input/QuarterInput.js +1 -1
- package/lib/components/DateTime/Input/QuarterInput.js.map +1 -1
- package/lib/components/DateTime/Input/TimeInput.d.ts.map +1 -1
- package/lib/components/DateTime/Input/TimeInput.js +1 -1
- package/lib/components/DateTime/Input/TimeInput.js.map +1 -1
- package/lib/components/DateTime/Input/WeekInput.d.ts.map +1 -1
- package/lib/components/DateTime/Input/WeekInput.js +7 -5
- package/lib/components/DateTime/Input/WeekInput.js.map +1 -1
- package/lib/components/DateTime/Input/utils.d.ts +2 -2
- package/lib/components/DateTime/Input/utils.d.ts.map +1 -1
- package/lib/components/DateTime/Input/utils.js +4 -3
- package/lib/components/DateTime/Input/utils.js.map +1 -1
- package/lib/components/DateTime/Picker/utils.d.ts.map +1 -1
- package/lib/components/DateTime/Picker/utils.js +2 -6
- package/lib/components/DateTime/Picker/utils.js.map +1 -1
- package/lib/components/Dialog/Dialog.types.d.ts +4 -0
- package/lib/components/Dialog/Dialog.types.d.ts.map +1 -1
- package/lib/components/Dialog/Dialog.types.js.map +1 -1
- package/lib/components/Dialog/FormDialog.d.ts.map +1 -1
- package/lib/components/Dialog/FormDialog.js +7 -2
- package/lib/components/Dialog/FormDialog.js.map +1 -1
- package/lib/components/Dialog/InfoDialog.js +1 -1
- package/lib/components/Dialog/InfoDialog.js.map +1 -1
- package/lib/components/Drawer/Drawer.d.ts +8 -1
- package/lib/components/Drawer/Drawer.d.ts.map +1 -1
- package/lib/components/Drawer/Drawer.js +67 -8
- package/lib/components/Drawer/Drawer.js.map +1 -1
- package/lib/components/Drawer/ResizeHandle.d.ts +9 -0
- package/lib/components/Drawer/ResizeHandle.d.ts.map +1 -0
- package/lib/components/Drawer/ResizeHandle.js +109 -0
- package/lib/components/Drawer/ResizeHandle.js.map +1 -0
- package/lib/components/Drawer/index.d.ts +2 -0
- package/lib/components/Drawer/index.d.ts.map +1 -1
- package/lib/components/Drawer/index.js +1 -0
- package/lib/components/Drawer/index.js.map +1 -1
- package/lib/components/FieldGroup/FieldGroup.d.ts +5 -0
- package/lib/components/FieldGroup/FieldGroup.d.ts.map +1 -1
- package/lib/components/FieldGroup/FieldGroup.js +10 -6
- package/lib/components/FieldGroup/FieldGroup.js.map +1 -1
- package/lib/components/FieldGroup/FieldGroupList.d.ts +17 -2
- package/lib/components/FieldGroup/FieldGroupList.d.ts.map +1 -1
- package/lib/components/FieldGroup/FieldGroupList.js +202 -50
- package/lib/components/FieldGroup/FieldGroupList.js.map +1 -1
- package/lib/components/FieldGroup/FieldGroupList.utils.d.ts +33 -0
- package/lib/components/FieldGroup/FieldGroupList.utils.d.ts.map +1 -0
- package/lib/components/FieldGroup/FieldGroupList.utils.js +74 -0
- package/lib/components/FieldGroup/FieldGroupList.utils.js.map +1 -0
- package/lib/components/FieldGroup/FieldGroupListContext.d.ts +8 -0
- package/lib/components/FieldGroup/FieldGroupListContext.d.ts.map +1 -0
- package/lib/components/FieldGroup/FieldGroupListContext.js +9 -0
- package/lib/components/FieldGroup/FieldGroupListContext.js.map +1 -0
- package/lib/components/FieldGroup/index.d.ts +2 -0
- package/lib/components/FieldGroup/index.d.ts.map +1 -1
- package/lib/components/FieldGroup/index.js +2 -0
- package/lib/components/FieldGroup/index.js.map +1 -1
- package/lib/components/FieldValueList/FieldValueList.d.ts.map +1 -1
- package/lib/components/FieldValueList/FieldValueList.js +11 -5
- package/lib/components/FieldValueList/FieldValueList.js.map +1 -1
- package/lib/components/File/FileInput.d.ts.map +1 -1
- package/lib/components/File/FileInput.js +4 -3
- package/lib/components/File/FileInput.js.map +1 -1
- package/lib/components/File/FileItem.d.ts.map +1 -1
- package/lib/components/File/FileItem.js +2 -2
- package/lib/components/File/FileItem.js.map +1 -1
- package/lib/components/Form/Form.d.ts +2 -0
- package/lib/components/Form/Form.d.ts.map +1 -1
- package/lib/components/Form/Form.js +2 -2
- package/lib/components/Form/Form.js.map +1 -1
- package/lib/components/FormField/FormField.d.ts.map +1 -1
- package/lib/components/FormField/FormField.js +3 -2
- package/lib/components/FormField/FormField.js.map +1 -1
- package/lib/components/Fullscreen/Fullscreen.d.ts.map +1 -1
- package/lib/components/Fullscreen/Fullscreen.js +8 -5
- package/lib/components/Fullscreen/Fullscreen.js.map +1 -1
- package/lib/components/Icon/Icon.d.ts.map +1 -1
- package/lib/components/Icon/Icon.js +7 -2
- package/lib/components/Icon/Icon.js.map +1 -1
- package/lib/components/Icon/streamline-icons/archive-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/archive-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/archive-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/archive-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/archive.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/archive.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/archive.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/archive.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/article-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/article-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/article-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/article-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/article.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/article.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/article.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/article.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/bell-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/bell-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/bell-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/bell-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/browser-site.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/browser-site.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/browser-site.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/browser-site.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/circle-mixed-right.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/circle-mixed-right.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/circle-mixed-right.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/circle-mixed-right.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/circle-stacked-mixed.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/circle-stacked-mixed.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/circle-stacked-mixed.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/circle-stacked-mixed.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/circle-stacked.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/circle-stacked.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/circle-stacked.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/circle-stacked.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/cloud-nodes.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/cloud-nodes.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/cloud-nodes.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/cloud-nodes.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/condition-critical.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/condition-critical.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/condition-critical.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/condition-critical.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/condition-satisfactory.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/condition-satisfactory.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/condition-satisfactory.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/condition-satisfactory.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/disc-document.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/disc-document.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/disc-document.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/disc-document.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/disc-nodes.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/disc-nodes.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/disc-nodes.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/disc-nodes.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/document-doc.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/document-doc.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/document-doc.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/document-doc.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/document-json.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/document-json.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/document-json.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/document-json.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/document-xls.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/document-xls.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/document-xls.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/document-xls.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/documents.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/documents.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/documents.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/documents.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/field-cursor.icon.js +1 -1
- package/lib/components/Icon/streamline-icons/field-cursor.icon.js.map +1 -1
- package/lib/components/Icon/streamline-icons/filter-on.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/filter-on.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/filter-on.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/filter-on.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/freeze-column.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/freeze-column.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/freeze-column.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/freeze-column.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/galaxy.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/galaxy.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/galaxy.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/galaxy.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/grid-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/grid-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/grid-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/grid-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/grid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/grid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/grid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/grid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/language-pack.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/language-pack.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/language-pack.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/language-pack.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/layout.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/layout.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/layout.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/layout.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/lock-closed.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/lock-closed.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/lock-closed.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/lock-closed.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/mail-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/mail-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/mail-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/mail-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/mail.icon.d.ts.map +1 -1
- package/lib/components/Icon/streamline-icons/mail.icon.js +1 -1
- package/lib/components/Icon/streamline-icons/mail.icon.js.map +1 -1
- package/lib/components/Icon/streamline-icons/mobius.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/mobius.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/mobius.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/mobius.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/phone-in-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/phone-in-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/phone-in-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/phone-in-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/picture-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/picture-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/picture-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/picture-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/plug-connect.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/plug-connect.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/plug-connect.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/plug-connect.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/return.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/return.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/return.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/return.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/robot-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/robot-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/robot-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/robot-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/shapes.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/shapes.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/shapes.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/shapes.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/share-case.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/share-case.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/share-case.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/share-case.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/share-document.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/share-document.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/share-document.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/share-document.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/shield-lock.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/shield-lock.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/shield-lock.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/shield-lock.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/slideshow-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/slideshow-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/slideshow-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/slideshow-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/speaker-on-sold.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/speaker-on-sold.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/speaker-on-sold.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/speaker-on-sold.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/speaker-on.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/speaker-on.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/speaker-on.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/speaker-on.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/table-disc.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/table-disc.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/table-disc.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/table-disc.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/translate.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/translate.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/translate.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/translate.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-check-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/user-check-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/user-check-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/user-check-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-close-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/user-close-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/user-close-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/user-close-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-close.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/user-close.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/user-close.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/user-close.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-female-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/user-female-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/user-female-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/user-female-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-female.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/user-female.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/user-female.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/user-female.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-list-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/user-list-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/user-list-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/user-list-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-list.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/user-list.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/user-list.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/user-list.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-plus-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/user-plus-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/user-plus-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/user-plus-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-plus.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/user-plus.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/user-plus.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/user-plus.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-question-mark-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/user-question-mark-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/user-question-mark-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/user-question-mark-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-question-mark.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/user-question-mark.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/user-question-mark.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/user-question-mark.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-search-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/user-search-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/user-search-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/user-search-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-search.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/user-search.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/user-search.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/user-search.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-star-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/user-star-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/user-star-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/user-star-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/user-star.icon.js +2 -2
- package/lib/components/Icon/streamline-icons/user-star.icon.js.map +1 -1
- package/lib/components/Icon/streamline-icons/users-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/users-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/users-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/users-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/users.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/users.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/users.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/users.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/versions.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/versions.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/versions.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/versions.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/video-off.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/video-off.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/video-off.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/video-off.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/video-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/video-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/video-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/video-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/video.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/video.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/video.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/video.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/voicemail.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/voicemail.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/voicemail.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/voicemail.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/vr-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/vr-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/vr-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/vr-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/vr.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/vr.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/vr.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/vr.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/walkie-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/walkie-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/walkie-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/walkie-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/walkie.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/walkie.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/walkie.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/walkie.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/wallet-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/wallet-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/wallet-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/wallet-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/wallet.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/wallet.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/wallet.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/wallet.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/watch-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/watch-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/watch-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/watch-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/watch.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/watch.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/watch.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/watch.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/waypoint-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/waypoint-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/waypoint-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/waypoint-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/waypoint.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/waypoint.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/waypoint.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/waypoint.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/webcam-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/webcam-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/webcam-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/webcam-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/webcam.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/webcam.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/webcam.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/webcam.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/whatsapp.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/whatsapp.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/whatsapp.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/whatsapp.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/wifi-none.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/wifi-none.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/wifi-none.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/wifi-none.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/wifi-off.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/wifi-off.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/wifi-off.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/wifi-off.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/wizard-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/wizard-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/wizard-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/wizard-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/wizard.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/wizard.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/wizard.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/wizard.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/wrench-solid.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/wrench-solid.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/wrench-solid.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/wrench-solid.icon.js.map +1 -0
- package/lib/components/Icon/streamline-icons/wrench.icon.d.ts +5 -0
- package/lib/components/Icon/streamline-icons/wrench.icon.d.ts.map +1 -0
- package/lib/components/Icon/streamline-icons/wrench.icon.js +7 -0
- package/lib/components/Icon/streamline-icons/wrench.icon.js.map +1 -0
- package/lib/components/Icon/streamlineIconNames.d.ts +1 -1
- package/lib/components/Icon/streamlineIconNames.d.ts.map +1 -1
- package/lib/components/Icon/streamlineIconNames.js +82 -0
- package/lib/components/Icon/streamlineIconNames.js.map +1 -1
- package/lib/components/IconPicker/IconPicker.d.ts +4 -4
- package/lib/components/IconPicker/IconPicker.d.ts.map +1 -1
- package/lib/components/IconPicker/IconPicker.js +19 -25
- package/lib/components/IconPicker/IconPicker.js.map +1 -1
- package/lib/components/Input/Input.styles.d.ts.map +1 -1
- package/lib/components/Input/Input.styles.js +2 -17
- package/lib/components/Input/Input.styles.js.map +1 -1
- package/lib/components/Lightbox/Lightbox.d.ts +1 -1
- package/lib/components/Lightbox/Lightbox.d.ts.map +1 -1
- package/lib/components/Lightbox/Lightbox.js +9 -3
- package/lib/components/Lightbox/Lightbox.js.map +1 -1
- package/lib/components/Lightbox/Lightbox.test-ids.d.ts +1 -1
- package/lib/components/Lightbox/Lightbox.test-ids.d.ts.map +1 -1
- package/lib/components/Lightbox/Lightbox.test-ids.js +1 -0
- package/lib/components/Lightbox/Lightbox.test-ids.js.map +1 -1
- package/lib/components/ListToolbar/ListToolbar.d.ts.map +1 -1
- package/lib/components/ListToolbar/ListToolbar.js +100 -39
- package/lib/components/ListToolbar/ListToolbar.js.map +1 -1
- package/lib/components/ListToolbar/ListToolbar.styles.d.ts.map +1 -1
- package/lib/components/ListToolbar/ListToolbar.styles.js +9 -14
- package/lib/components/ListToolbar/ListToolbar.styles.js.map +1 -1
- package/lib/components/ListToolbar/ListToolbar.types.d.ts +7 -3
- package/lib/components/ListToolbar/ListToolbar.types.d.ts.map +1 -1
- package/lib/components/ListToolbar/ListToolbar.types.js.map +1 -1
- package/lib/components/Location/CurrentLocationButton.d.ts.map +1 -1
- package/lib/components/Location/CurrentLocationButton.js +4 -2
- package/lib/components/Location/CurrentLocationButton.js.map +1 -1
- package/lib/components/Location/GoogleMapsAPI.d.ts +43 -0
- package/lib/components/Location/GoogleMapsAPI.d.ts.map +1 -0
- package/lib/components/Location/GoogleMapsAPI.js +244 -0
- package/lib/components/Location/GoogleMapsAPI.js.map +1 -0
- package/lib/components/Location/Location.types.d.ts +3 -2
- package/lib/components/Location/Location.types.d.ts.map +1 -1
- package/lib/components/Location/Location.types.js.map +1 -1
- package/lib/components/Location/LocationAPI.types.d.ts +23 -0
- package/lib/components/Location/LocationAPI.types.d.ts.map +1 -0
- package/lib/components/Location/LocationAPI.types.js +2 -0
- package/lib/components/Location/LocationAPI.types.js.map +1 -0
- package/lib/components/Location/LocationDisplay.d.ts.map +1 -1
- package/lib/components/Location/LocationDisplay.js +5 -3
- package/lib/components/Location/LocationDisplay.js.map +1 -1
- package/lib/components/Location/LocationInput.d.ts.map +1 -1
- package/lib/components/Location/LocationInput.js +24 -21
- package/lib/components/Location/LocationInput.js.map +1 -1
- package/lib/components/Location/LocationView.d.ts.map +1 -1
- package/lib/components/Location/LocationView.js +8 -5
- package/lib/components/Location/LocationView.js.map +1 -1
- package/lib/components/Location/index.d.ts +2 -1
- package/lib/components/Location/index.d.ts.map +1 -1
- package/lib/components/Location/index.js +2 -1
- package/lib/components/Location/index.js.map +1 -1
- package/lib/components/Location/utils.d.ts +3 -19
- package/lib/components/Location/utils.d.ts.map +1 -1
- package/lib/components/Location/utils.js +7 -161
- package/lib/components/Location/utils.js.map +1 -1
- package/lib/components/MetaList/MetaList.d.ts.map +1 -1
- package/lib/components/MetaList/MetaList.js +3 -2
- package/lib/components/MetaList/MetaList.js.map +1 -1
- package/lib/components/Modal/Modal.styles.d.ts.map +1 -1
- package/lib/components/Modal/Modal.styles.js +5 -1
- package/lib/components/Modal/Modal.styles.js.map +1 -1
- package/lib/components/MultiStepForm/MultiStepForm.d.ts.map +1 -1
- package/lib/components/MultiStepForm/MultiStepForm.js +29 -3
- package/lib/components/MultiStepForm/MultiStepForm.js.map +1 -1
- package/lib/components/Number/NumberInput.js +2 -2
- package/lib/components/Number/NumberInput.js.map +1 -1
- package/lib/components/Number/utils.d.ts +1 -1
- package/lib/components/Number/utils.d.ts.map +1 -1
- package/lib/components/Number/utils.js +1 -2
- package/lib/components/Number/utils.js.map +1 -1
- package/lib/components/PageTemplates/DashboardPage.js +2 -2
- package/lib/components/PageTemplates/DashboardPage.js.map +1 -1
- package/lib/components/PageTemplates/GridLayout/EditorBackground.js +1 -1
- package/lib/components/PageTemplates/GridLayout/EditorBackground.js.map +1 -1
- package/lib/components/PageTemplates/GridLayout/GridLayoutEditor.js +1 -1
- package/lib/components/PageTemplates/GridLayout/GridLayoutEditor.js.map +1 -1
- package/lib/components/PageTemplates/GridLayout/GridLayoutViewer.d.ts +5 -0
- package/lib/components/PageTemplates/GridLayout/GridLayoutViewer.d.ts.map +1 -1
- package/lib/components/PageTemplates/GridLayout/GridLayoutViewer.js +2 -2
- package/lib/components/PageTemplates/GridLayout/GridLayoutViewer.js.map +1 -1
- package/lib/components/PageTemplates/GridLayout/config.d.ts +1 -1
- package/lib/components/PageTemplates/GridLayout/config.d.ts.map +1 -1
- package/lib/components/PageTemplates/GridLayout/config.js +3 -3
- package/lib/components/PageTemplates/GridLayout/config.js.map +1 -1
- package/lib/components/PageTemplates/PageTemplates.d.ts.map +1 -1
- package/lib/components/PageTemplates/PageTemplates.js +33 -5
- package/lib/components/PageTemplates/PageTemplates.js.map +1 -1
- package/lib/components/Phone/PhoneInput.d.ts.map +1 -1
- package/lib/components/Phone/PhoneInput.js +1 -1
- package/lib/components/Phone/PhoneInput.js.map +1 -1
- package/lib/components/Popover/Popover.d.ts.map +1 -1
- package/lib/components/Popover/Popover.js +4 -22
- package/lib/components/Popover/Popover.js.map +1 -1
- package/lib/components/Popover/Popover.styles.d.ts.map +1 -1
- package/lib/components/Popover/Popover.styles.js +19 -4
- package/lib/components/Popover/Popover.styles.js.map +1 -1
- package/lib/components/Popover/modifiers.d.ts.map +1 -1
- package/lib/components/Popover/modifiers.js +10 -0
- package/lib/components/Popover/modifiers.js.map +1 -1
- package/lib/components/Tabs/TabPanel.d.ts.map +1 -1
- package/lib/components/Tabs/TabPanel.js +8 -0
- package/lib/components/Tabs/TabPanel.js.map +1 -1
- package/lib/components/Toaster/Toaster.d.ts.map +1 -1
- package/lib/components/Toaster/Toaster.js +9 -5
- package/lib/components/Toaster/Toaster.js.map +1 -1
- package/lib/components/Toaster/Toaster.types.d.ts +3 -3
- package/lib/components/Toaster/Toaster.types.d.ts.map +1 -1
- package/lib/components/Toaster/Toaster.types.js.map +1 -1
- package/lib/components/Tooltip/Tooltip.d.ts.map +1 -1
- package/lib/components/Tooltip/Tooltip.js +3 -1
- package/lib/components/Tooltip/Tooltip.js.map +1 -1
- package/lib/components/Tree/Tree.js +1 -1
- package/lib/components/Tree/Tree.js.map +1 -1
- package/lib/hooks/index.d.ts +2 -0
- package/lib/hooks/index.d.ts.map +1 -1
- package/lib/hooks/index.js +2 -0
- package/lib/hooks/index.js.map +1 -1
- package/lib/hooks/useAnimatedText.d.ts +11 -0
- package/lib/hooks/useAnimatedText.d.ts.map +1 -0
- package/lib/hooks/useAnimatedText.js +96 -0
- package/lib/hooks/useAnimatedText.js.map +1 -0
- package/lib/hooks/useBreakpoint.d.ts.map +1 -1
- package/lib/hooks/useBreakpoint.js +5 -2
- package/lib/hooks/useBreakpoint.js.map +1 -1
- package/lib/hooks/useChToPxConversionFactor.d.ts +2 -2
- package/lib/hooks/useChToPxConversionFactor.d.ts.map +1 -1
- package/lib/hooks/useChToPxConversionFactor.js +4 -13
- package/lib/hooks/useChToPxConversionFactor.js.map +1 -1
- package/lib/hooks/useI18n.d.ts +181 -2
- package/lib/hooks/useI18n.d.ts.map +1 -1
- package/lib/hooks/useItemIntersection.d.ts +2 -1
- package/lib/hooks/useItemIntersection.d.ts.map +1 -1
- package/lib/hooks/useItemIntersection.js +10 -4
- package/lib/hooks/useItemIntersection.js.map +1 -1
- package/lib/hooks/usePopoverMap.d.ts +10 -0
- package/lib/hooks/usePopoverMap.d.ts.map +1 -0
- package/lib/hooks/usePopoverMap.js +34 -0
- package/lib/hooks/usePopoverMap.js.map +1 -0
- package/lib/hooks/useThemeMode.d.ts +10 -0
- package/lib/hooks/useThemeMode.d.ts.map +1 -0
- package/lib/hooks/useThemeMode.js +11 -0
- package/lib/hooks/useThemeMode.js.map +1 -0
- package/lib/i18n/default.d.ts +185 -2
- package/lib/i18n/default.d.ts.map +1 -1
- package/lib/i18n/default.js +199 -5
- package/lib/i18n/default.js.map +1 -1
- package/lib/i18n/i18n.d.ts +181 -2
- package/lib/i18n/i18n.d.ts.map +1 -1
- package/lib/styles/GlobalStyle.d.ts +2 -2
- package/lib/styles/GlobalStyle.d.ts.map +1 -1
- package/lib/styles/GlobalStyle.js +8 -3
- package/lib/styles/GlobalStyle.js.map +1 -1
- package/lib/styles/animations.d.ts +9 -0
- package/lib/styles/animations.d.ts.map +1 -0
- package/lib/styles/animations.js +78 -0
- package/lib/styles/animations.js.map +1 -0
- package/lib/styles/constants.d.ts +5 -0
- package/lib/styles/constants.d.ts.map +1 -0
- package/lib/styles/constants.js +5 -0
- package/lib/styles/constants.js.map +1 -0
- package/lib/styles/gradients.d.ts +2 -0
- package/lib/styles/gradients.d.ts.map +1 -1
- package/lib/styles/gradients.js +4 -1
- package/lib/styles/gradients.js.map +1 -1
- package/lib/styles/index.d.ts +1 -0
- package/lib/styles/index.d.ts.map +1 -1
- package/lib/styles/index.js +1 -0
- package/lib/styles/index.js.map +1 -1
- package/lib/styles/utils.d.ts +1 -1
- package/lib/styles/utils.d.ts.map +1 -1
- package/lib/styles/utils.js +1 -1
- package/lib/styles/utils.js.map +1 -1
- package/lib/theme/index.d.ts +2 -0
- package/lib/theme/index.d.ts.map +1 -1
- package/lib/theme/index.js +2 -0
- package/lib/theme/index.js.map +1 -1
- package/lib/theme/theme.d.ts +150 -0
- package/lib/theme/theme.d.ts.map +1 -1
- package/lib/theme/themeDefinition.json +82 -0
- package/lib/theme/themeOverrides.schema.json +102 -0
- package/lib/theme/themes/bootes2025Theme.json +3 -3
- package/lib/theme/themes/cygnus2025Theme.json +17 -17
- package/lib/theme/themes/studioDarkTheme.json +240 -0
- package/lib/theme/themes/studioTheme.json +240 -0
- package/lib/utils/focusNonInteractiveElement.d.ts +9 -0
- package/lib/utils/focusNonInteractiveElement.d.ts.map +1 -0
- package/lib/utils/focusNonInteractiveElement.js +27 -0
- package/lib/utils/focusNonInteractiveElement.js.map +1 -0
- package/lib/utils/getChToPxConversionFactor.d.ts +11 -0
- package/lib/utils/getChToPxConversionFactor.d.ts.map +1 -0
- package/lib/utils/getChToPxConversionFactor.js +18 -0
- package/lib/utils/getChToPxConversionFactor.js.map +1 -0
- package/lib/utils/getChildOfRootNode.d.ts +10 -0
- package/lib/utils/getChildOfRootNode.d.ts.map +1 -0
- package/lib/utils/getChildOfRootNode.js +19 -0
- package/lib/utils/getChildOfRootNode.js.map +1 -0
- package/lib/utils/getFocusables.d.ts +4 -2
- package/lib/utils/getFocusables.d.ts.map +1 -1
- package/lib/utils/getFocusables.js +9 -7
- package/lib/utils/getFocusables.js.map +1 -1
- package/lib/utils/index.d.ts +4 -0
- package/lib/utils/index.d.ts.map +1 -1
- package/lib/utils/index.js +4 -0
- package/lib/utils/index.js.map +1 -1
- package/lib/utils/isInstance.d.ts +4 -4
- package/lib/utils/isInstance.d.ts.map +1 -1
- package/lib/utils/isInstance.js +20 -8
- package/lib/utils/isInstance.js.map +1 -1
- package/lib/utils/markdownTokenizer.d.ts +3 -0
- package/lib/utils/markdownTokenizer.d.ts.map +1 -0
- package/lib/utils/markdownTokenizer.js +159 -0
- package/lib/utils/markdownTokenizer.js.map +1 -0
- package/package.json +5 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gradients.js","sourceRoot":"","sources":["../../src/styles/gradients.ts"],"names":[],"mappings":"AAAA,s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AAe,CAAC,WAAW,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;AAElF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAC9B,QAAwB,EACxB,EAAE,SAAS,GAAG,QAAQ,KAA6B,EAAE,EAC7C,EAAE;IACV,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,aAAa,CAAC;IAChD,IAAI,QAAQ,CAAC,MAAM,KAAK,CAAC;QAAE,OAAO,QAAQ,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;IAEpD,OAAO,mBAAmB,SAAS,KAAK,QAAQ;SAC7C,GAAG,CAAC,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,GAAG,KAAK,IAAI,QAAQ,GAAG,GAAG,GAAG,CAAC;SAC3D,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;AACnB,CAAC,CAAC","sourcesContent":["// cspell:words deutan\nimport { mix } from 'polished';\n\ninterface ColorStop {\n /** CSS color string. */\n color: string;\n /** Position along the gradient expressed as a number from 0 to 1. */\n position: number;\n}\n\ntype LinearGradient = ColorStop[];\n\nexport const gradientMap = {\n grayscale: [\n { color: 'hsl(0, 100%, 100%)', position: 0 },\n { color: 'hsl(0, 100%, 0%)', position: 1 }\n ],\n 'persian-blue': [\n { color: 'hsl(210, 50%, 94%)', position: 0 },\n { color: 'hsl(210, 46%, 63%)', position: 1 / 3 },\n { color: 'hsl(206, 100%, 33%)', position: 2 / 3 },\n { color: 'hsl(210, 100%, 27%)', position: 1 }\n ],\n 'persian-green': [\n { color: 'hsl(175, 35%, 94%)', position: 0 },\n { color: 'hsl(175, 42%, 65%)', position: 1 / 3 },\n { color: 'hsl(175, 100%, 33%)', position: 2 / 3 },\n { color: 'hsl(175, 100%, 27%)', position: 1 }\n ],\n 'pastel-orange': [\n { color: 'hsl(36, 100%, 97%)', position: 0 },\n { color: 'hsl(36, 100%, 79%)', position: 1 / 3 },\n { color: 'hsl(36, 100%, 64%)', position: 2 / 3 },\n { color: 'hsl(36, 99%, 61%)', position: 1 }\n ],\n 'japanese-laurel': [\n { color: 'hsl(135, 21%, 94%)', position: 0 },\n { color: 'hsl(135, 24%, 61%)', position: 1 / 3 },\n { color: 'hsl(135, 54%, 33%)', position: 2 / 3 },\n { color: 'hsl(135, 60%, 26%)', position: 1 }\n ],\n 'mango-tango': [\n { color: 'hsl(23, 100%, 96%)', position: 0 },\n { color: 'hsl(23, 100%, 78%)', position: 1 / 3 },\n { color: 'hsl(23, 100%, 62%)', position: 2 / 3 },\n { color: 'hsl(23, 100%, 53%)', position: 1 }\n ],\n valencia: [\n { color: 'hsl(1, 87%, 96%)', position: 0 },\n { color: 'hsl(1, 72%, 75%)', position: 1 / 3 },\n { color: 'hsl(1, 67%, 56%)', position: 2 / 3 },\n { color: 'hsl(1, 82%, 41%)', position: 1 }\n ],\n 'fuchsia-blue': [\n { color: 'hsl(259, 45%, 96%)', position: 0 },\n { color: 'hsl(259, 45%, 78%)', position: 1 / 3 },\n { color: 'hsl(259, 43%, 56%)', position: 2 / 3 },\n { color: 'hsl(259, 40%, 49%)', position: 1 }\n ],\n 'faded-red': [\n { color: 'hsl(360, 100%, 95%)', position: 0 },\n { color: 'hsl(360, 100%, 85%)', position: 1 / 3 },\n { color: 'hsl(360, 100%, 75%)', position: 2 / 3 },\n { color: 'hsl(360, 100%, 70%)', position: 1 }\n ],\n rope: [\n { color: 'hsl(25, 31%, 93%)', position: 0 },\n { color: 'hsl(25, 32%, 62%)', position: 1 / 3 },\n { color: 'hsl(25, 59%, 35%)', position: 2 / 3 },\n { color: 'hsl(25, 64%, 30%)', position: 1 }\n ],\n silver: [\n { color: 'hsl(15, 18%, 97%)', position: 0 },\n { color: 'hsl(15, 9%, 79%)', position: 1 / 3 },\n { color: 'hsl(15, 11%, 65%)', position: 2 / 3 },\n { color: 'hsl(15, 9%, 58%)', position: 1 }\n ],\n 'blue-yellow': [\n { color: 'hsl(56, 100%, 93%)', position: 0 },\n { color: 'hsl(144, 46%, 79%)', position: 2 / 10 },\n { color: 'hsl(185, 53%, 58%)', position: 4 / 10 },\n { color: 'hsl(191, 56%, 52%)', position: 5 / 10 },\n { color: 'hsl(195, 62%, 48%)', position: 6 / 10 },\n { color: 'hsl(206, 67%, 37%)', position: 8 / 10 },\n { color: 'hsl(215, 62%, 30%)', position: 1 }\n ],\n 'green-yellow': [\n { color: 'hsl(56, 100%, 93%)', position: 0 },\n { color: 'hsl(88, 61%, 85%)', position: 2 / 10 },\n { color: 'hsl(125, 47%, 78%)', position: 4 / 10 },\n { color: 'hsl(148, 45%, 65%)', position: 5 / 10 },\n { color: 'hsl(159, 47%, 50%)', position: 6 / 10 },\n { color: 'hsl(173, 80%, 30%)', position: 8 / 10 },\n { color: 'hsl(178, 73%, 22%)', position: 1 }\n ],\n 'ruby-yellow': [\n { color: 'hsl(56, 100%, 93%)', position: 0 },\n { color: 'hsl(40, 100%, 83%)', position: 2 / 10 },\n { color: 'hsl(19, 100%, 75%)', position: 4 / 10 },\n { color: 'hsl(3, 100%, 73%)', position: 5 / 10 },\n { color: 'hsl(350, 81%, 62%)', position: 6 / 10 },\n { color: 'hsl(343, 54%, 55%)', position: 8 / 10 },\n { color: 'hsl(330, 40%, 36%)', position: 1 }\n ],\n 'purple-blue': [\n { color: 'hsl(190, 42%, 97%)', position: 0 },\n { color: 'hsl(205, 51%, 84%)', position: 2 / 10 },\n { color: 'hsl(212, 47%, 73%)', position: 4 / 10 },\n { color: 'hsl(219, 41%, 70%)', position: 5 / 10 },\n { color: 'hsl(253, 32%, 66%)', position: 6 / 10 },\n { color: 'hsl(272, 27%, 49%)', position: 8 / 10 },\n { color: 'hsl(272, 37%, 32%)', position: 1 }\n ],\n 'violet-rose': [\n { color: 'hsl(18, 100%, 98%)', position: 0 },\n { color: 'hsl(359, 100%, 91%)', position: 2 / 10 },\n { color: 'hsl(336, 96%, 77%)', position: 4 / 10 },\n { color: 'hsl(325, 73%, 65%)', position: 5 / 10 },\n { color: 'hsl(319, 58%, 58%)', position: 6 / 10 },\n { color: 'hsl(287, 38%, 45%)', position: 8 / 10 },\n { color: 'hsl(259, 43%, 35%)', position: 1 }\n ],\n 'negative-attention-positive': [\n { color: 'hsl(2, 67%, 56%)', position: 0 },\n { color: 'hsl(21, 87%, 60%)', position: 2 / 10 },\n { color: 'hsl(36, 100%, 64%)', position: 4 / 10 },\n { color: 'hsl(50, 95%, 75%)', position: 5 / 10 },\n { color: 'hsl(85, 72%, 67%)', position: 6 / 10 },\n { color: 'hsl(120, 49%, 60%)', position: 8 / 10 },\n { color: 'hsl(135, 53%, 33%)', position: 1 }\n ],\n 'negative-attention-positive-protan': [\n { color: 'hsl(344, 67%, 44%)', position: 0 },\n { color: 'hsl(351, 66%, 59%)', position: 2 / 10 },\n { color: 'hsl(360, 100%, 84%)', position: 4 / 10 },\n { color: 'hsl(0, 0%, 89%)', position: 5 / 10 },\n { color: 'hsl(110, 46%, 80%)', position: 6 / 10 },\n { color: 'hsl(120, 49%, 60%)', position: 8 / 10 },\n { color: 'hsl(135, 53%, 33%)', position: 1 }\n ],\n 'negative-attention-positive-deutan': [\n { color: 'hsl(315, 64%, 45%)', position: 0 },\n { color: 'hsl(313, 83%, 62%)', position: 2 / 10 },\n { color: 'hsl(313, 100%, 80%)', position: 4 / 10 },\n { color: 'hsl(0, 0%, 89%)', position: 5 / 10 },\n { color: 'hsl(110, 46%, 80%)', position: 6 / 10 },\n { color: 'hsl(120, 49%, 60%)', position: 8 / 10 },\n { color: 'hsl(135, 53%, 33%)', position: 1 }\n ],\n 'hot-cold': [\n { color: 'hsl(212, 100%, 27%)', position: 0 },\n { color: 'hsl(213, 40%, 49%)', position: 2 / 10 },\n { color: 'hsl(210, 45%, 69%)', position: 4 / 10 },\n { color: 'hsl(0, 0%, 89%)', position: 5 / 10 },\n { color: 'hsl(360, 100%, 84%)', position: 6 / 10 },\n { color: 'hsl(351, 66%, 59%)', position: 8 / 10 },\n { color: 'hsl(344, 67%, 44%)', position: 1 }\n ],\n 'two-extremes': [\n { color: 'hsl(240, 30%, 39%)', position: 0 },\n { color: 'hsl(271, 27%, 63%)', position: 2 / 10 },\n { color: 'hsl(293, 25%, 87%)', position: 4 / 10 },\n { color: 'hsl(0, 0%, 89%)', position: 5 / 10 },\n { color: 'hsl(171, 37%, 86%)', position: 6 / 10 },\n { color: 'hsl(167, 41%, 51%)', position: 8 / 10 },\n { color: 'hsl(163, 44%, 16%)', position: 1 }\n ]\n};\n\nexport const colorInGradient = ([...gradient]: LinearGradient, targetPosition: number): string => {\n // Return transparent for an empty gradient.\n if (gradient.length === 0) return 'transparent';\n\n // Return the color for single element gradient.\n if (gradient.length === 1) return gradient[0].color;\n\n // Clamp position to interval from 0 to 1.\n targetPosition = Math.min(Math.max(targetPosition, 0), 1);\n\n // Extend the the start of the gradient to 0 if necessary.\n if (gradient[0].position !== 0) gradient.unshift({ color: gradient[0].color, position: 0 });\n\n // Extend the the end of the gradient to 1 if necessary.\n if (gradient[gradient.length - 1].position !== 1)\n gradient.push({ color: gradient[gradient.length - 1].color, position: 1 });\n\n for (let i = 0; i < gradient.length; i += 1) {\n const current = gradient[i];\n\n // If target position is the same as the current position, return the color at the current position.\n if (targetPosition === current.position) return current.color;\n\n // If target position is less than the current position, it must be between the previous position and current position.\n if (targetPosition < current.position) {\n const previous = gradient[i - 1];\n\n // Calculate how far the targetPosition is between the previousPosition and the currentPosition.\n const percentage =\n (targetPosition - previous.position) / (current.position - previous.position);\n\n try {\n return mix(percentage, current.color, previous.color);\n } catch {\n // Polished mix throws on invalid color.\n return 'transparent';\n }\n }\n }\n\n // Failsafe return.\n return 'transparent';\n};\n\nexport const colorInGradientByName = (\n name: keyof typeof gradientMap,\n targetPosition: number\n): string => {\n return colorInGradient(gradientMap[name] ?? [], targetPosition);\n};\n\nexport const colorsForCategories = (\n count: number,\n {\n gradients = (\n [\n 'persian-blue',\n 'persian-green',\n 'pastel-orange',\n 'japanese-laurel',\n 'mango-tango',\n 'valencia',\n 'fuchsia-blue',\n 'faded-red',\n 'rope',\n 'silver'\n ] as const\n ).map(name => gradientMap[name]),\n steps = [2 / 3, 1 / 3, 1, 0, 1 / 2]\n }: { gradients?: LinearGradient[]; steps?: number[] } = {}\n): string[] => {\n // Colors per gradient\n const perGradient = Math.floor(count / gradients.length);\n\n // Number of gradients with 1 extra color\n const extra = count % gradients.length;\n\n const colors: string[] = [];\n\n for (let i = 0; i < gradients.length; i += 1) {\n for (let j = 0; j < (i < extra ? perGradient + 1 : perGradient); j += 1) {\n colors.push(colorInGradient(gradients[i], steps[j % steps.length]));\n }\n }\n\n return colors;\n};\n\nexport const nlpColors = (\n [\n ['persian-blue', 1],\n ['persian-green', 1],\n ['pastel-orange', 1],\n ['japanese-laurel', 1],\n ['mango-tango', 1],\n ['valencia', 1],\n ['fuchsia-blue', 1],\n ['faded-red', 1],\n ['rope', 1],\n ['silver', 1],\n ['blue-yellow', 1],\n ['blue-yellow', 5 / 10],\n ['green-yellow', 1],\n ['blue-yellow', 3 / 10],\n ['green-yellow', 7 / 10],\n ['ruby-yellow', 1],\n ['ruby-yellow', 6 / 10],\n ['purple-blue', 1],\n ['two-extremes', 9 / 10],\n ['persian-blue', 1 / 2],\n ['hot-cold', 1],\n ['persian-green', 1 / 2],\n ['pastel-orange', 1 / 2],\n ['japanese-laurel', 1 / 2],\n ['mango-tango', 1 / 2],\n ['valencia', 1 / 2],\n ['fuchsia-blue', 1 / 2],\n ['faded-red', 1 / 2],\n ['rope', 1 / 2],\n ['silver', 1 / 2],\n ['blue-yellow', 7 / 10],\n ['blue-yellow', 4 / 10],\n ['green-yellow', 5 / 10],\n ['ruby-yellow', 5 / 10],\n ['purple-blue', 7 / 10],\n ['purple-blue', 5 / 10],\n ['violet-rose', 5 / 10],\n ['two-extremes', 8 / 10],\n ['ruby-yellow', 4 / 10],\n ['violet-rose', 7 / 10],\n ['negative-attention-positive-deutan', 8 / 10]\n ] as const\n).map(([gradient, position]) => colorInGradient(gradientMap[gradient], position));\n\nexport const toLinearGradient = (\n gradient: LinearGradient,\n { direction = '180deg' }: { direction?: string } = {}\n): string => {\n if (gradient.length === 0) return 'transparent';\n if (gradient.length === 1) return gradient[0].color;\n\n return `linear-gradient(${direction}, ${gradient\n .map(({ color, position }) => `${color} ${position * 100}%`)\n .join(', ')})`;\n};\n"]}
|
|
1
|
+
{"version":3,"file":"gradients.js","sourceRoot":"","sources":["../../src/styles/gradients.ts"],"names":[],"mappings":"AAAA,sBAAsB;AACtB,OAAO,EAAE,WAAW,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE5C,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAWvC,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,SAAS,EAAE;QACT,EAAE,KAAK,EAAE,oBAAoB,EAAE,QAAQ,EAAE,CAAC,EAAE;QAC5C,EAAE,KAAK,EAAE,kBAAkB,EAAE,QAAQ,EAAE,CAAC,EAAE;KAC3C;IACD,cAAc,EAAE;QACd,EAAE,KAAK,EAAE,oBAAoB,EAAE,QAAQ,EAAE,CAAC,EAAE;QAC5C,EAAE,KAAK,EAAE,oBAAoB,EAAE,QAAQ,EAAE,CAAC,GAAG,CAAC,EAAE;QAChD,EAAE,KAAK,EAAE,qBAAqB,EAAE,QAAQ,EAAE,CAAC,GAAG,CAAC,EAAE;QACjD,EAAE,KAAK,EAAE,qBAAqB,EAAE,QAAQ,EAAE,CAAC,EAAE;KAC9C;IACD,eAAe,EAAE;QACf,EAAE,KAAK,EAAE,oBAAoB,EAAE,QAAQ,EAAE,CAAC,EAAE;QAC5C,EAAE,KAAK,EAAE,oBAAoB,EAAE,QAAQ,EAAE,CAAC,GAAG,CAAC,EAAE;QAChD,EAAE,KAAK,EAAE,qBAAqB,EAAE,QAAQ,EAAE,CAAC,GAAG,CAAC,EAAE;QACjD,EAAE,KAAK,EAAE,qBAAqB,EAAE,QAAQ,EAAE,CAAC,EAAE;KAC9C;IACD,eAAe,EAAE;QACf,EAAE,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,CAAC","sourcesContent":["// cspell:words deutan\nimport { getContrast, mix } from 'polished';\n\nimport { wcagContrast } from './utils';\n\ninterface ColorStop {\n /** CSS color string. */\n color: string;\n /** Position along the gradient expressed as a number from 0 to 1. */\n position: number;\n}\n\ntype LinearGradient = ColorStop[];\n\nexport const gradientMap = {\n grayscale: [\n { color: 'hsl(0, 100%, 100%)', position: 0 },\n { color: 'hsl(0, 100%, 0%)', position: 1 }\n ],\n 'persian-blue': [\n { color: 'hsl(210, 50%, 94%)', position: 0 },\n { color: 'hsl(210, 46%, 63%)', position: 1 / 3 },\n { color: 'hsl(206, 100%, 33%)', position: 2 / 3 },\n { color: 'hsl(210, 100%, 27%)', position: 1 }\n ],\n 'persian-green': [\n { color: 'hsl(175, 35%, 94%)', position: 0 },\n { color: 'hsl(175, 42%, 65%)', position: 1 / 3 },\n { color: 'hsl(175, 100%, 33%)', position: 2 / 3 },\n { color: 'hsl(175, 100%, 27%)', position: 1 }\n ],\n 'pastel-orange': [\n { color: 'hsl(36, 100%, 97%)', position: 0 },\n { color: 'hsl(36, 100%, 79%)', position: 1 / 3 },\n { color: 'hsl(36, 100%, 64%)', position: 2 / 3 },\n { color: 'hsl(36, 99%, 61%)', position: 1 }\n ],\n 'japanese-laurel': [\n { color: 'hsl(135, 21%, 94%)', position: 0 },\n { color: 'hsl(135, 24%, 61%)', position: 1 / 3 },\n { color: 'hsl(135, 54%, 33%)', position: 2 / 3 },\n { color: 'hsl(135, 60%, 26%)', position: 1 }\n ],\n 'mango-tango': [\n { color: 'hsl(23, 100%, 96%)', position: 0 },\n { color: 'hsl(23, 100%, 78%)', position: 1 / 3 },\n { color: 'hsl(23, 100%, 62%)', position: 2 / 3 },\n { color: 'hsl(23, 100%, 53%)', position: 1 }\n ],\n valencia: [\n { color: 'hsl(1, 87%, 96%)', position: 0 },\n { color: 'hsl(1, 72%, 75%)', position: 1 / 3 },\n { color: 'hsl(1, 67%, 56%)', position: 2 / 3 },\n { color: 'hsl(1, 82%, 41%)', position: 1 }\n ],\n 'fuchsia-blue': [\n { color: 'hsl(259, 45%, 96%)', position: 0 },\n { color: 'hsl(259, 45%, 78%)', position: 1 / 3 },\n { color: 'hsl(259, 43%, 56%)', position: 2 / 3 },\n { color: 'hsl(259, 40%, 49%)', position: 1 }\n ],\n 'faded-red': [\n { color: 'hsl(360, 100%, 95%)', position: 0 },\n { color: 'hsl(360, 100%, 85%)', position: 1 / 3 },\n { color: 'hsl(360, 100%, 75%)', position: 2 / 3 },\n { color: 'hsl(360, 100%, 70%)', position: 1 }\n ],\n rope: [\n { color: 'hsl(25, 31%, 93%)', position: 0 },\n { color: 'hsl(25, 32%, 62%)', position: 1 / 3 },\n { color: 'hsl(25, 59%, 35%)', position: 2 / 3 },\n { color: 'hsl(25, 64%, 30%)', position: 1 }\n ],\n silver: [\n { color: 'hsl(15, 18%, 97%)', position: 0 },\n { color: 'hsl(15, 9%, 79%)', position: 1 / 3 },\n { color: 'hsl(15, 11%, 65%)', position: 2 / 3 },\n { color: 'hsl(15, 9%, 58%)', position: 1 }\n ],\n 'blue-yellow': [\n { color: 'hsl(56, 100%, 93%)', position: 0 },\n { color: 'hsl(144, 46%, 79%)', position: 2 / 10 },\n { color: 'hsl(185, 53%, 58%)', position: 4 / 10 },\n { color: 'hsl(191, 56%, 52%)', position: 5 / 10 },\n { color: 'hsl(195, 62%, 48%)', position: 6 / 10 },\n { color: 'hsl(206, 67%, 37%)', position: 8 / 10 },\n { color: 'hsl(215, 62%, 30%)', position: 1 }\n ],\n 'green-yellow': [\n { color: 'hsl(56, 100%, 93%)', position: 0 },\n { color: 'hsl(88, 61%, 85%)', position: 2 / 10 },\n { color: 'hsl(125, 47%, 78%)', position: 4 / 10 },\n { color: 'hsl(148, 45%, 65%)', position: 5 / 10 },\n { color: 'hsl(159, 47%, 50%)', position: 6 / 10 },\n { color: 'hsl(173, 80%, 30%)', position: 8 / 10 },\n { color: 'hsl(178, 73%, 22%)', position: 1 }\n ],\n 'ruby-yellow': [\n { color: 'hsl(56, 100%, 93%)', position: 0 },\n { color: 'hsl(40, 100%, 83%)', position: 2 / 10 },\n { color: 'hsl(19, 100%, 75%)', position: 4 / 10 },\n { color: 'hsl(3, 100%, 73%)', position: 5 / 10 },\n { color: 'hsl(350, 81%, 62%)', position: 6 / 10 },\n { color: 'hsl(343, 54%, 55%)', position: 8 / 10 },\n { color: 'hsl(330, 40%, 36%)', position: 1 }\n ],\n 'purple-blue': [\n { color: 'hsl(190, 42%, 97%)', position: 0 },\n { color: 'hsl(205, 51%, 84%)', position: 2 / 10 },\n { color: 'hsl(212, 47%, 73%)', position: 4 / 10 },\n { color: 'hsl(219, 41%, 70%)', position: 5 / 10 },\n { color: 'hsl(253, 32%, 66%)', position: 6 / 10 },\n { color: 'hsl(272, 27%, 49%)', position: 8 / 10 },\n { color: 'hsl(272, 37%, 32%)', position: 1 }\n ],\n 'violet-rose': [\n { color: 'hsl(18, 100%, 98%)', position: 0 },\n { color: 'hsl(359, 100%, 91%)', position: 2 / 10 },\n { color: 'hsl(336, 96%, 77%)', position: 4 / 10 },\n { color: 'hsl(325, 73%, 65%)', position: 5 / 10 },\n { color: 'hsl(319, 58%, 58%)', position: 6 / 10 },\n { color: 'hsl(287, 38%, 45%)', position: 8 / 10 },\n { color: 'hsl(259, 43%, 35%)', position: 1 }\n ],\n 'negative-attention-positive': [\n { color: 'hsl(2, 67%, 56%)', position: 0 },\n { color: 'hsl(21, 87%, 60%)', position: 2 / 10 },\n { color: 'hsl(36, 100%, 64%)', position: 4 / 10 },\n { color: 'hsl(50, 95%, 75%)', position: 5 / 10 },\n { color: 'hsl(85, 72%, 67%)', position: 6 / 10 },\n { color: 'hsl(120, 49%, 60%)', position: 8 / 10 },\n { color: 'hsl(135, 53%, 33%)', position: 1 }\n ],\n 'negative-attention-positive-protan': [\n { color: 'hsl(344, 67%, 44%)', position: 0 },\n { color: 'hsl(351, 66%, 59%)', position: 2 / 10 },\n { color: 'hsl(360, 100%, 84%)', position: 4 / 10 },\n { color: 'hsl(0, 0%, 89%)', position: 5 / 10 },\n { color: 'hsl(110, 46%, 80%)', position: 6 / 10 },\n { color: 'hsl(120, 49%, 60%)', position: 8 / 10 },\n { color: 'hsl(135, 53%, 33%)', position: 1 }\n ],\n 'negative-attention-positive-deutan': [\n { color: 'hsl(315, 64%, 45%)', position: 0 },\n { color: 'hsl(313, 83%, 62%)', position: 2 / 10 },\n { color: 'hsl(313, 100%, 80%)', position: 4 / 10 },\n { color: 'hsl(0, 0%, 89%)', position: 5 / 10 },\n { color: 'hsl(110, 46%, 80%)', position: 6 / 10 },\n { color: 'hsl(120, 49%, 60%)', position: 8 / 10 },\n { color: 'hsl(135, 53%, 33%)', position: 1 }\n ],\n 'hot-cold': [\n { color: 'hsl(212, 100%, 27%)', position: 0 },\n { color: 'hsl(213, 40%, 49%)', position: 2 / 10 },\n { color: 'hsl(210, 45%, 69%)', position: 4 / 10 },\n { color: 'hsl(0, 0%, 89%)', position: 5 / 10 },\n { color: 'hsl(360, 100%, 84%)', position: 6 / 10 },\n { color: 'hsl(351, 66%, 59%)', position: 8 / 10 },\n { color: 'hsl(344, 67%, 44%)', position: 1 }\n ],\n 'two-extremes': [\n { color: 'hsl(240, 30%, 39%)', position: 0 },\n { color: 'hsl(271, 27%, 63%)', position: 2 / 10 },\n { color: 'hsl(293, 25%, 87%)', position: 4 / 10 },\n { color: 'hsl(0, 0%, 89%)', position: 5 / 10 },\n { color: 'hsl(171, 37%, 86%)', position: 6 / 10 },\n { color: 'hsl(167, 41%, 51%)', position: 8 / 10 },\n { color: 'hsl(163, 44%, 16%)', position: 1 }\n ]\n};\n\nexport const colorInGradient = ([...gradient]: LinearGradient, targetPosition: number): string => {\n // Return transparent for an empty gradient.\n if (gradient.length === 0) return 'transparent';\n\n // Return the color for single element gradient.\n if (gradient.length === 1) return gradient[0].color;\n\n // Clamp position to interval from 0 to 1.\n targetPosition = Math.min(Math.max(targetPosition, 0), 1);\n\n // Extend the the start of the gradient to 0 if necessary.\n if (gradient[0].position !== 0) gradient.unshift({ color: gradient[0].color, position: 0 });\n\n // Extend the the end of the gradient to 1 if necessary.\n if (gradient[gradient.length - 1].position !== 1)\n gradient.push({ color: gradient[gradient.length - 1].color, position: 1 });\n\n for (let i = 0; i < gradient.length; i += 1) {\n const current = gradient[i];\n\n // If target position is the same as the current position, return the color at the current position.\n if (targetPosition === current.position) return current.color;\n\n // If target position is less than the current position, it must be between the previous position and current position.\n if (targetPosition < current.position) {\n const previous = gradient[i - 1];\n\n // Calculate how far the targetPosition is between the previousPosition and the currentPosition.\n const percentage =\n (targetPosition - previous.position) / (current.position - previous.position);\n\n try {\n return mix(percentage, current.color, previous.color);\n } catch {\n // Polished mix throws on invalid color.\n return 'transparent';\n }\n }\n }\n\n // Failsafe return.\n return 'transparent';\n};\n\nexport const colorInGradientByName = (\n name: keyof typeof gradientMap,\n targetPosition: number\n): string => {\n return colorInGradient(gradientMap[name] ?? [], targetPosition);\n};\n\nexport const colorsForCategories = (\n count: number,\n {\n gradients = (\n [\n 'persian-blue',\n 'persian-green',\n 'pastel-orange',\n 'japanese-laurel',\n 'mango-tango',\n 'valencia',\n 'fuchsia-blue',\n 'faded-red',\n 'rope',\n 'silver'\n ] as const\n ).map(name => gradientMap[name]),\n steps = [2 / 3, 1 / 3, 1, 0, 1 / 2]\n }: { gradients?: LinearGradient[]; steps?: number[] } = {}\n): string[] => {\n // Colors per gradient\n const perGradient = Math.floor(count / gradients.length);\n\n // Number of gradients with 1 extra color\n const extra = count % gradients.length;\n\n const colors: string[] = [];\n\n for (let i = 0; i < gradients.length; i += 1) {\n for (let j = 0; j < (i < extra ? perGradient + 1 : perGradient); j += 1) {\n colors.push(colorInGradient(gradients[i], steps[j % steps.length]));\n }\n }\n\n return colors;\n};\n\nexport const nlpColors = (\n [\n ['persian-blue', 1],\n ['persian-green', 1],\n ['pastel-orange', 1],\n ['japanese-laurel', 1],\n ['mango-tango', 1],\n ['valencia', 1],\n ['fuchsia-blue', 1],\n ['faded-red', 1],\n ['rope', 1],\n ['silver', 1],\n ['blue-yellow', 1],\n ['blue-yellow', 5 / 10],\n ['green-yellow', 1],\n ['blue-yellow', 3 / 10],\n ['green-yellow', 7 / 10],\n ['ruby-yellow', 1],\n ['ruby-yellow', 6 / 10],\n ['purple-blue', 1],\n ['two-extremes', 9 / 10],\n ['persian-blue', 1 / 2],\n ['hot-cold', 1],\n ['persian-green', 1 / 2],\n ['pastel-orange', 1 / 2],\n ['japanese-laurel', 1 / 2],\n ['mango-tango', 1 / 2],\n ['valencia', 1 / 2],\n ['fuchsia-blue', 1 / 2],\n ['faded-red', 1 / 2],\n ['rope', 1 / 2],\n ['silver', 1 / 2],\n ['blue-yellow', 7 / 10],\n ['blue-yellow', 4 / 10],\n ['green-yellow', 5 / 10],\n ['ruby-yellow', 5 / 10],\n ['purple-blue', 7 / 10],\n ['purple-blue', 5 / 10],\n ['violet-rose', 5 / 10],\n ['two-extremes', 8 / 10],\n ['ruby-yellow', 4 / 10],\n ['violet-rose', 7 / 10],\n ['negative-attention-positive-deutan', 8 / 10]\n ] as const\n).map(([gradient, position]) => colorInGradient(gradientMap[gradient], position));\n\nexport const whiteCompatibleNLPColors = nlpColors.filter(\n color => getContrast(color, '#ffffff') >= wcagContrast.AANonText\n);\n\nexport const blackCompatibleNLPColors = nlpColors.filter(\n color => getContrast(color, '#000000') >= wcagContrast.AANonText\n);\n\nexport const toLinearGradient = (\n gradient: LinearGradient,\n { direction = '180deg' }: { direction?: string } = {}\n): string => {\n if (gradient.length === 0) return 'transparent';\n if (gradient.length === 1) return gradient[0].color;\n\n return `linear-gradient(${direction}, ${gradient\n .map(({ color, position }) => `${color} ${position * 100}%`)\n .join(', ')})`;\n};\n"]}
|
package/lib/styles/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC"}
|
package/lib/styles/index.js
CHANGED
package/lib/styles/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC","sourcesContent":["export * from './utils';\nexport * from './gradients';\nexport { default as GlobalStyle } from './GlobalStyle';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/styles/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,UAAU,MAAM,cAAc,CAAC","sourcesContent":["export * from './utils';\nexport * from './gradients';\nexport { default as GlobalStyle } from './GlobalStyle';\nexport * as animations from './animations';\n"]}
|
package/lib/styles/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { StyledConfig } from 'styled-components';
|
|
2
2
|
import type { ContrastScores } from 'polished/lib/types/color';
|
|
3
|
-
declare const wcagContrast: Record<keyof ContrastScores | 'AANonText', number>;
|
|
3
|
+
export declare const wcagContrast: Record<keyof ContrastScores | 'AANonText', number>;
|
|
4
4
|
interface ContrastOptions {
|
|
5
5
|
mode?: 'light' | 'dark' | 'both';
|
|
6
6
|
level?: keyof typeof wcagContrast | number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/styles/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAetD,OAAO,KAAK,EAAE,cAAc,EAAa,MAAM,0BAA0B,CAAC;AAK1E,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/styles/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAetD,OAAO,KAAK,EAAE,cAAc,EAAa,MAAM,0BAA0B,CAAC;AAK1E,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,MAAM,cAAc,GAAG,WAAW,EAAE,MAAM,CAS3E,CAAC;AAEF,UAAU,eAAe;IACvB,IAAI,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,OAAO,YAAY,GAAG,MAAM,CAAC;CAC5C;AAED,eAAO,MAAM,YAAY,GAAI,YAAY,MAAM,wBAO9C,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,OAAO,MAAM,EACb,kBAAkC,eAAoB,KACrD,MAYF,CAAC;AAiBF,eAAO,MAAM,cAAc,GAAI,OAAO,MAAM;;;CAE3C,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,OAAO,MAAM;;;CAE5C,CAAC;AAEF,eAAO,MAAM,WAAW,GACtB,QAAQ,MAAM,EACd,QAAQ,MAAM,EACd,kBAAiC,eAAoB,KACpD,MAmEF,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,MAAM,GAAG,MAAM,CAAC,WAAW,EAAE,OAAO,CAAC,EACvE,GAAG,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,EAAE,GAAG,KAAK,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,KAC/C,YAAY,CAAC,CAAC,CAEf,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,KAAK,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,CAAC;AAWrE,eAAO,MAAM,iBAAiB,GAAI,cAAc,MAAM,EAAE,eAAe,MAAM,GAAG,MAAM,KAiB/E,MAAM,CAAC,QAAQ,EAAE,MAAM,CAC7B,CAAC;AAEF,eAAO,MAAM,wBAAwB,GAAI,YAAY,MAAM,EAAE,iBAAiB,MAAM,WAMnF,CAAC;AAEF,eAAO,MAAM,mCAAmC,GAC9C,YAAY,MAAM,EAClB,iBAAiB,MAAM,KACtB;IAAE,aAAa,EAAE,MAAM,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAiBlD,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,OAAO,MAAM,KAAG,MAUnD,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,wBAAwB,GAAI,MAAM,MAAM,GAAG,MAAM,GAAG,SAAS,KAAG,MAU5E,CAAC"}
|
package/lib/styles/utils.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parseToHsl, lighten, readableColor as polishedReadableColor, darken, getContrast, hsl, modularScale, stripUnit, math, getValueAndUnit, transparentize, parseToRgb } from 'polished';
|
|
2
2
|
import { tryCatch } from '../utils';
|
|
3
|
-
const wcagContrast = {
|
|
3
|
+
export const wcagContrast = {
|
|
4
4
|
// https://www.w3.org/TR/WCAG21/#contrast-minimum
|
|
5
5
|
AA: 4.5,
|
|
6
6
|
AALarge: 3,
|
package/lib/styles/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/styles/utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,OAAO,EACP,aAAa,IAAI,qBAAqB,EACtC,MAAM,EACN,WAAW,EACX,GAAG,EACH,YAAY,EACZ,SA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,IAAI,CAAC,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAE5C,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,KAAK,GAAG,IAAI,CAAC;IACtC,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,KAAK,CAAC;IAEhC,OAAO,CAAC,CAAC;AACX,CAAC,CAAC","sourcesContent":["import type { StyledConfig } from 'styled-components';\nimport {\n parseToHsl,\n lighten,\n readableColor as polishedReadableColor,\n darken,\n getContrast,\n hsl,\n modularScale,\n stripUnit,\n math,\n getValueAndUnit,\n transparentize,\n parseToRgb\n} from 'polished';\nimport type { ContrastScores, RgbaColor } from 'polished/lib/types/color';\nimport type { ModularScaleRatio } from 'polished/lib/types/modularScaleRatio';\n\nimport { tryCatch } from '../utils';\n\nconst wcagContrast: Record<keyof ContrastScores | 'AANonText', number> = {\n // https://www.w3.org/TR/WCAG21/#contrast-minimum\n AA: 4.5,\n AALarge: 3,\n // https://www.w3.org/TR/WCAG21/#contrast-enhanced\n AAA: 7,\n AAALarge: 4.5,\n // https://www.w3.org/TR/WCAG21/#non-text-contrast\n AANonText: 3\n};\n\ninterface ContrastOptions {\n mode?: 'light' | 'dark' | 'both';\n level?: keyof typeof wcagContrast | number;\n}\n\nexport const isSolidColor = (background: string) => {\n const rgb = tryCatch(() => parseToRgb(background));\n return (\n rgb &&\n ((rgb as RgbaColor).alpha === undefined ||\n ((rgb as RgbaColor).alpha !== undefined && (rgb as RgbaColor).alpha === 1))\n );\n};\n\nexport const readableColor = (\n color: string,\n { mode = 'light', level = 'AA' }: ContrastOptions = {}\n): string => {\n const minContrast = typeof level === 'string' ? wcagContrast[level] : level;\n\n if (mode === 'light' && getContrast('#fff', color) >= minContrast) {\n return '#fff';\n }\n\n if (mode === 'dark' && getContrast('#000', color) >= minContrast) {\n return '#000';\n }\n\n return polishedReadableColor(color);\n};\n\nconst getBackgroundForegroundColors = (color: string, delta: number) => {\n const backgroundLightness = tryCatch(\n () => parseToHsl(color).lightness,\n () => 1\n );\n let background = tryCatch(() => lighten(delta, color));\n let foreground = tryCatch(() => readableColor(lighten(delta, color)));\n if (backgroundLightness > 0.35) {\n background = tryCatch(() => darken(delta, color));\n foreground = tryCatch(() => readableColor(darken(delta, color)));\n }\n\n return { background, foreground };\n};\n\nexport const getHoverColors = (color: string) => {\n return getBackgroundForegroundColors(color, 0.1);\n};\n\nexport const getActiveColors = (color: string) => {\n return getBackgroundForegroundColors(color, 0.2);\n};\n\nexport const readableHue = (\n color1: string,\n color2: string,\n { mode = 'both', level = 'AA' }: ContrastOptions = {}\n): string => {\n // if both the color are not solid, return black as fallback\n if (!isSolidColor(color1) && !isSolidColor(color2)) {\n return '#000000';\n }\n\n // if one of the color is not solid, return the other color\n if (!isSolidColor(color2)) {\n return color1;\n }\n\n if (!isSolidColor(color1)) {\n return color2;\n }\n\n const minContrast = typeof level === 'string' ? wcagContrast[level] : level;\n\n if (getContrast(color1, color2) >= minContrast) return color1;\n\n const { lightness, ...hueSaturation } = parseToHsl(color1);\n\n let shouldLighten = true;\n let shouldDarken = true;\n\n let lightEnough = '';\n let darkEnough = '';\n\n for (let i = 0; i <= 1; i += 0.01) {\n if (shouldLighten) {\n const lightented = hsl({\n ...hueSaturation,\n lightness: Math.min(lightness + i, 1)\n });\n\n if (getContrast(lightented, color2) >= minContrast) {\n if (mode !== 'dark') return lightented;\n\n shouldLighten = false;\n lightEnough = lightented;\n }\n\n if (lightness + i >= 1) shouldLighten = false;\n }\n\n if (shouldDarken) {\n const darkened = hsl({\n ...hueSaturation,\n lightness: Math.max(lightness - i, 0)\n });\n\n if (getContrast(darkened, color2) >= minContrast) {\n if (mode !== 'light') return darkened;\n\n shouldDarken = false;\n darkEnough = darkened;\n }\n\n if (lightness - i <= 0) shouldDarken = false;\n }\n\n if (!shouldLighten && !shouldDarken) break;\n }\n\n if (lightEnough) return lightEnough;\n if (darkEnough) return darkEnough;\n\n return readableColor(color2, { mode, level });\n};\n\nexport const omitProps = <O extends object = Record<PropertyKey, unknown>>(\n ...props: [prop: keyof O, ...props: (keyof O)[]]\n): StyledConfig<O> => ({\n shouldForwardProp: (prop, defaultValidatorFn) => !props.includes(prop) && defaultValidatorFn(prop)\n});\n\nexport type FontSize = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';\nconst stepsMap = {\n xxs: -2,\n xs: -1,\n s: 0,\n m: 1,\n l: 2,\n xl: 3,\n xxl: 4\n};\n\nexport const calculateFontSize = (baseFontSize: string, baseFontScale: string | number) => {\n return Object.fromEntries(\n Object.entries(stepsMap).map(([size, steps]) => {\n const calculation = tryCatch(\n () =>\n baseFontScale === 'linear'\n ? math(`${baseFontSize} + (${steps} * 0.0625rem)`)\n : modularScale(steps, baseFontSize, baseFontScale as ModularScaleRatio),\n () => baseFontSize\n );\n\n if (size === 'xs' && Number.parseFloat(`${stripUnit(calculation)}`) < 0.75) {\n return [size, `max(calc((${baseFontSize} + 12px) / 2), 12px)`];\n }\n\n return [size, `max(${calculation}, 12px)`];\n })\n ) as Record<FontSize, string>;\n};\n\nexport const calculateForegroundColor = (background: string, foregroundColor: string) => {\n if (foregroundColor !== 'auto') {\n return foregroundColor;\n }\n\n return isSolidColor(background) ? readableColor(background) : '#000000';\n};\n\nexport const calculateBackgroundAndContrastColor = (\n background: string,\n foregroundColor: string\n): { contrastColor: string; backgroundColor: string } => {\n const isGradientBackground = !isSolidColor(background);\n const computedFgColor = calculateForegroundColor(background, foregroundColor);\n const computedBgColor = isGradientBackground ? readableColor(computedFgColor) : background;\n\n let contrastColor = darken(0.05, computedBgColor);\n if (getContrast(computedBgColor, contrastColor) === 1) {\n contrastColor = lighten(0.15, computedBgColor);\n }\n if (isGradientBackground) {\n contrastColor = transparentize(0.9, computedFgColor);\n }\n\n return {\n contrastColor,\n backgroundColor: computedBgColor\n };\n};\n\nexport const getTranslucentColor = (color: string): string => {\n const fallbackColor = isSolidColor(color) ? color : '#000000';\n const luminance = tryCatch(\n () => parseToHsl(fallbackColor).lightness,\n () => 1\n );\n if (luminance > 0.5) {\n return transparentize(0.5, '#ffffff');\n }\n return transparentize(0.95, '#ffffff');\n};\n\n/**\n * Converts a CSS time value to a number in milliseconds.\n *\n * @param time - The CSS time value as a string (e.g: \"2s\", \"500ms\") or a number. If undefined, returns 0.\n * @returns The time value in milliseconds.\n * If the input is a number, it is returned as is.\n * If the input is a string, it is parsed and converted to milliseconds.\n */\nexport const getCSSTimeInMilliseconds = (time: string | number | undefined): number => {\n if (time === undefined) return 0;\n if (typeof time === 'number') return time;\n\n const [value, unit] = getValueAndUnit(time);\n\n if (unit === 's') return value * 1000;\n if (unit === 'ms') return value;\n\n return 0;\n};\n"]}
|
|
1
|
+
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/styles/utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,EACV,OAAO,EACP,aAAa,IAAI,qBAAqB,EACtC,MAAM,EACN,WAAW,EACX,GAAG,EACH,YAAY,EACZ,SAAS,EACT,IAAI,EACJ,eAAe,EACf,cAAc,EACd,UAAU,EACX,MAAM,UAAU,CAAC;AAIlB,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,MAAM,CAAC,MAAM,YAAY,GAAuD;IAC9E,iDAAiD;IACjD,EAAE,EAAE,GAAG;IACP,OAAO,EAAE,CAAC;IACV,kDAAkD;IAClD,GAAG,EAAE,CAAC;IACN,QAAQ,EAAE,GAAG;IACb,kDAAkD;IAClD,SAAS,EAAE,CAAC;CACb,CAAC;AAOF,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,UAAkB,EAAE,EAAE;IACjD,MAAM,GAAG,GAAG,QAAQ,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,CAAC;IACnD,OAAO,CACL,GAAG;QACH,CAAE,GAAiB,CAAC,KAAK,KAAK,SAAS;YACrC,CAAE,GAAiB,CAAC,KAAK,KAAK,SAAS,IAAK,GAAiB,CAAC,KAAK,KAAK,CAAC,CAAC,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AC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;IAC9D,MAAM,SAAS,GAAG,QAAQ,CACxB,GAAG,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,SAAS,EACzC,GAAG,EAAE,CAAC,CAAC,CACR,CAAC;IACF,IAAI,SAAS,GAAG,GAAG,EAAE,CAAC;QACpB,OAAO,cAAc,CAAC,GAAG,EAAE,SAAS,CAAC,CAAC;IACxC,CAAC;IACD,OAAO,cAAc,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;AACzC,CAAC,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,IAAiC,EAAU,EAAE;IACpF,IAAI,IAAI,KAAK,SAAS;QAAE,OAAO,CAAC,CAAC;IACjC,IAAI,OAAO,IAAI,KAAK,QAAQ;QAAE,OAAO,IAAI,CAAC;IAE1C,MAAM,CAAC,KAAK,EAAE,IAAI,CAAC,GAAG,eAAe,CAAC,IAAI,CAAC,CAAC;IAE5C,IAAI,IAAI,KAAK,GAAG;QAAE,OAAO,KAAK,GAAG,IAAI,CAAC;IACtC,IAAI,IAAI,KAAK,IAAI;QAAE,OAAO,KAAK,CAAC;IAEhC,OAAO,CAAC,CAAC;AACX,CAAC,CAAC","sourcesContent":["import type { StyledConfig } from 'styled-components';\nimport {\n parseToHsl,\n lighten,\n readableColor as polishedReadableColor,\n darken,\n getContrast,\n hsl,\n modularScale,\n stripUnit,\n math,\n getValueAndUnit,\n transparentize,\n parseToRgb\n} from 'polished';\nimport type { ContrastScores, RgbaColor } from 'polished/lib/types/color';\nimport type { ModularScaleRatio } from 'polished/lib/types/modularScaleRatio';\n\nimport { tryCatch } from '../utils';\n\nexport const wcagContrast: Record<keyof ContrastScores | 'AANonText', number> = {\n // https://www.w3.org/TR/WCAG21/#contrast-minimum\n AA: 4.5,\n AALarge: 3,\n // https://www.w3.org/TR/WCAG21/#contrast-enhanced\n AAA: 7,\n AAALarge: 4.5,\n // https://www.w3.org/TR/WCAG21/#non-text-contrast\n AANonText: 3\n};\n\ninterface ContrastOptions {\n mode?: 'light' | 'dark' | 'both';\n level?: keyof typeof wcagContrast | number;\n}\n\nexport const isSolidColor = (background: string) => {\n const rgb = tryCatch(() => parseToRgb(background));\n return (\n rgb &&\n ((rgb as RgbaColor).alpha === undefined ||\n ((rgb as RgbaColor).alpha !== undefined && (rgb as RgbaColor).alpha === 1))\n );\n};\n\nexport const readableColor = (\n color: string,\n { mode = 'light', level = 'AA' }: ContrastOptions = {}\n): string => {\n const minContrast = typeof level === 'string' ? wcagContrast[level] : level;\n\n if (mode === 'light' && getContrast('#fff', color) >= minContrast) {\n return '#fff';\n }\n\n if (mode === 'dark' && getContrast('#000', color) >= minContrast) {\n return '#000';\n }\n\n return polishedReadableColor(color);\n};\n\nconst getBackgroundForegroundColors = (color: string, delta: number) => {\n const backgroundLightness = tryCatch(\n () => parseToHsl(color).lightness,\n () => 1\n );\n let background = tryCatch(() => lighten(delta, color));\n let foreground = tryCatch(() => readableColor(lighten(delta, color)));\n if (backgroundLightness > 0.35) {\n background = tryCatch(() => darken(delta, color));\n foreground = tryCatch(() => readableColor(darken(delta, color)));\n }\n\n return { background, foreground };\n};\n\nexport const getHoverColors = (color: string) => {\n return getBackgroundForegroundColors(color, 0.1);\n};\n\nexport const getActiveColors = (color: string) => {\n return getBackgroundForegroundColors(color, 0.2);\n};\n\nexport const readableHue = (\n color1: string,\n color2: string,\n { mode = 'both', level = 'AA' }: ContrastOptions = {}\n): string => {\n // if both the color are not solid, return black as fallback\n if (!isSolidColor(color1) && !isSolidColor(color2)) {\n return '#000000';\n }\n\n // if one of the color is not solid, return the other color\n if (!isSolidColor(color2)) {\n return color1;\n }\n\n if (!isSolidColor(color1)) {\n return color2;\n }\n\n const minContrast = typeof level === 'string' ? wcagContrast[level] : level;\n\n if (getContrast(color1, color2) >= minContrast) return color1;\n\n const { lightness, ...hueSaturation } = parseToHsl(color1);\n\n let shouldLighten = true;\n let shouldDarken = true;\n\n let lightEnough = '';\n let darkEnough = '';\n\n for (let i = 0; i <= 1; i += 0.01) {\n if (shouldLighten) {\n const lightented = hsl({\n ...hueSaturation,\n lightness: Math.min(lightness + i, 1)\n });\n\n if (getContrast(lightented, color2) >= minContrast) {\n if (mode !== 'dark') return lightented;\n\n shouldLighten = false;\n lightEnough = lightented;\n }\n\n if (lightness + i >= 1) shouldLighten = false;\n }\n\n if (shouldDarken) {\n const darkened = hsl({\n ...hueSaturation,\n lightness: Math.max(lightness - i, 0)\n });\n\n if (getContrast(darkened, color2) >= minContrast) {\n if (mode !== 'light') return darkened;\n\n shouldDarken = false;\n darkEnough = darkened;\n }\n\n if (lightness - i <= 0) shouldDarken = false;\n }\n\n if (!shouldLighten && !shouldDarken) break;\n }\n\n if (lightEnough) return lightEnough;\n if (darkEnough) return darkEnough;\n\n return readableColor(color2, { mode, level });\n};\n\nexport const omitProps = <O extends object = Record<PropertyKey, unknown>>(\n ...props: [prop: keyof O, ...props: (keyof O)[]]\n): StyledConfig<O> => ({\n shouldForwardProp: (prop, defaultValidatorFn) => !props.includes(prop) && defaultValidatorFn(prop)\n});\n\nexport type FontSize = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl';\nconst stepsMap = {\n xxs: -2,\n xs: -1,\n s: 0,\n m: 1,\n l: 2,\n xl: 3,\n xxl: 4\n};\n\nexport const calculateFontSize = (baseFontSize: string, baseFontScale: string | number) => {\n return Object.fromEntries(\n Object.entries(stepsMap).map(([size, steps]) => {\n const calculation = tryCatch(\n () =>\n baseFontScale === 'linear'\n ? math(`${baseFontSize} + (${steps} * 0.0625rem)`)\n : modularScale(steps, baseFontSize, baseFontScale as ModularScaleRatio),\n () => baseFontSize\n );\n\n if (size === 'xs' && Number.parseFloat(`${stripUnit(calculation)}`) < 0.75) {\n return [size, `max(calc((${baseFontSize} + 12px) / 2), 12px)`];\n }\n\n return [size, `max(${calculation}, 12px)`];\n })\n ) as Record<FontSize, string>;\n};\n\nexport const calculateForegroundColor = (background: string, foregroundColor: string) => {\n if (foregroundColor !== 'auto') {\n return foregroundColor;\n }\n\n return isSolidColor(background) ? readableColor(background) : '#000000';\n};\n\nexport const calculateBackgroundAndContrastColor = (\n background: string,\n foregroundColor: string\n): { contrastColor: string; backgroundColor: string } => {\n const isGradientBackground = !isSolidColor(background);\n const computedFgColor = calculateForegroundColor(background, foregroundColor);\n const computedBgColor = isGradientBackground ? readableColor(computedFgColor) : background;\n\n let contrastColor = darken(0.05, computedBgColor);\n if (getContrast(computedBgColor, contrastColor) === 1) {\n contrastColor = lighten(0.15, computedBgColor);\n }\n if (isGradientBackground) {\n contrastColor = transparentize(0.9, computedFgColor);\n }\n\n return {\n contrastColor,\n backgroundColor: computedBgColor\n };\n};\n\nexport const getTranslucentColor = (color: string): string => {\n const fallbackColor = isSolidColor(color) ? color : '#000000';\n const luminance = tryCatch(\n () => parseToHsl(fallbackColor).lightness,\n () => 1\n );\n if (luminance > 0.5) {\n return transparentize(0.5, '#ffffff');\n }\n return transparentize(0.95, '#ffffff');\n};\n\n/**\n * Converts a CSS time value to a number in milliseconds.\n *\n * @param time - The CSS time value as a string (e.g: \"2s\", \"500ms\") or a number. If undefined, returns 0.\n * @returns The time value in milliseconds.\n * If the input is a number, it is returned as is.\n * If the input is a string, it is parsed and converted to milliseconds.\n */\nexport const getCSSTimeInMilliseconds = (time: string | number | undefined): number => {\n if (time === undefined) return 0;\n if (typeof time === 'number') return time;\n\n const [value, unit] = getValueAndUnit(time);\n\n if (unit === 's') return value * 1000;\n if (unit === 'ms') return value;\n\n return 0;\n};\n"]}
|
package/lib/theme/index.d.ts
CHANGED
|
@@ -16,6 +16,8 @@ export { default as LegacyBuildTheme } from './themes/legacyBuildTheme.json';
|
|
|
16
16
|
export { default as DarkTheme } from './themes/darkTheme.json';
|
|
17
17
|
export { default as HubbleTheme } from './themes/hubbleTheme.json';
|
|
18
18
|
export { default as SquareTheme } from './themes/squareTheme.json';
|
|
19
|
+
export { default as StudioTheme } from './themes/studioTheme.json';
|
|
20
|
+
export { default as StudioDarkTheme } from './themes/studioDarkTheme.json';
|
|
19
21
|
export { default as WSSTheme } from './themes/wssTheme.json';
|
|
20
22
|
export { default as pastelTheme } from './themes/pastelTheme.json';
|
|
21
23
|
export { default as vibrantTheme } from './themes/vibrantTheme.json';
|
package/lib/theme/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,gCAAgC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AgB,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACjG,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,kCAAkC,CAAC"}
|
package/lib/theme/index.js
CHANGED
|
@@ -16,6 +16,8 @@ export { default as LegacyBuildTheme } from './themes/legacyBuildTheme.json';
|
|
|
16
16
|
export { default as DarkTheme } from './themes/darkTheme.json';
|
|
17
17
|
export { default as HubbleTheme } from './themes/hubbleTheme.json';
|
|
18
18
|
export { default as SquareTheme } from './themes/squareTheme.json';
|
|
19
|
+
export { default as StudioTheme } from './themes/studioTheme.json';
|
|
20
|
+
export { default as StudioDarkTheme } from './themes/studioDarkTheme.json';
|
|
19
21
|
export { default as WSSTheme } from './themes/wssTheme.json';
|
|
20
22
|
export { default as pastelTheme } from './themes/pastelTheme.json';
|
|
21
23
|
export { default as vibrantTheme } from './themes/vibrantTheme.json';
|
package/lib/theme/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,cAAc,gBAAgB,CAAC;AAC/B,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACjF,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAC3E,OA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AI,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,kCAAkC,CAAC","sourcesContent":["export * from './theme';\nexport { default as ThemeMachine } from './ThemeMachine';\nexport * from './ThemeMachine';\nexport { default as Aries2023Theme } from './themes/aries2023Theme.json';\nexport { default as Aries2023DarkTheme } from './themes/aries2023DarkTheme.json';\nexport { default as Andromeda2025Theme } from './themes/andromeda2025Theme.json';\nexport { default as Bootes2025Theme } from './themes/bootes2025Theme.json';\nexport { default as Bootes2025DarkTheme } from './themes/bootes2025DarkTheme.json';\nexport { default as Cygnus2025Theme } from './themes/cygnus2025Theme.json';\nexport { default as Dorado2025Theme } from './themes/dorado2025Theme.json';\nexport { default as Equuleus2025Theme } from './themes/equuleus2025Theme.json';\nexport { default as LargeTextTheme } from './themes/largeTextTheme.json';\nexport { default as SmallTextTheme } from './themes/smallTextTheme.json';\nexport { default as BuildTheme } from './themes/buildTheme.json';\nexport { default as LegacyBuildTheme } from './themes/legacyBuildTheme.json';\nexport { default as DarkTheme } from './themes/darkTheme.json';\nexport { default as HubbleTheme } from './themes/hubbleTheme.json';\nexport { default as SquareTheme } from './themes/squareTheme.json';\nexport { default as WSSTheme } from './themes/wssTheme.json';\nexport { default as pastelTheme } from './themes/pastelTheme.json';\nexport { default as vibrantTheme } from './themes/vibrantTheme.json';\nexport { default as elegantTheme } from './themes/elegantTheme.json';\nexport { default as artisticTheme } from './themes/artisticTheme.json';\nexport { default as vibrantDarkTheme } from './themes/vibrantDarkTheme.json';\nexport { default as elegantDarkTheme } from './themes/elegantDarkTheme.json';\nexport { default as artisticExpressionismTheme } from './themes/artisticExpressionismTheme.json';\nexport { default as conciergeTheme } from './themes/conciergeTheme.json';\nexport { default as conciergeDarkTheme } from './themes/conciergeDarkTheme.json';\n"]}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/theme/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CA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wB,CAAC;AAC7D,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACnE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,4BAA4B,CAAC;AACrE,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,0BAA0B,EAAE,MAAM,0CAA0C,CAAC;AACjG,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,8BAA8B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,kCAAkC,CAAC","sourcesContent":["export * from './theme';\nexport { default as ThemeMachine } from './ThemeMachine';\nexport * from './ThemeMachine';\nexport { default as Aries2023Theme } from './themes/aries2023Theme.json';\nexport { default as Aries2023DarkTheme } from './themes/aries2023DarkTheme.json';\nexport { default as Andromeda2025Theme } from './themes/andromeda2025Theme.json';\nexport { default as Bootes2025Theme } from './themes/bootes2025Theme.json';\nexport { default as Bootes2025DarkTheme } from './themes/bootes2025DarkTheme.json';\nexport { default as Cygnus2025Theme } from './themes/cygnus2025Theme.json';\nexport { default as Dorado2025Theme } from './themes/dorado2025Theme.json';\nexport { default as Equuleus2025Theme } from './themes/equuleus2025Theme.json';\nexport { default as LargeTextTheme } from './themes/largeTextTheme.json';\nexport { default as SmallTextTheme } from './themes/smallTextTheme.json';\nexport { default as BuildTheme } from './themes/buildTheme.json';\nexport { default as LegacyBuildTheme } from './themes/legacyBuildTheme.json';\nexport { default as DarkTheme } from './themes/darkTheme.json';\nexport { default as HubbleTheme } from './themes/hubbleTheme.json';\nexport { default as SquareTheme } from './themes/squareTheme.json';\nexport { default as StudioTheme } from './themes/studioTheme.json';\nexport { default as StudioDarkTheme } from './themes/studioDarkTheme.json';\nexport { default as WSSTheme } from './themes/wssTheme.json';\nexport { default as pastelTheme } from './themes/pastelTheme.json';\nexport { default as vibrantTheme } from './themes/vibrantTheme.json';\nexport { default as elegantTheme } from './themes/elegantTheme.json';\nexport { default as artisticTheme } from './themes/artisticTheme.json';\nexport { default as vibrantDarkTheme } from './themes/vibrantDarkTheme.json';\nexport { default as elegantDarkTheme } from './themes/elegantDarkTheme.json';\nexport { default as artisticExpressionismTheme } from './themes/artisticExpressionismTheme.json';\nexport { default as conciergeTheme } from './themes/conciergeTheme.json';\nexport { default as conciergeDarkTheme } from './themes/conciergeDarkTheme.json';\n"]}
|
package/lib/theme/theme.d.ts
CHANGED
|
@@ -1126,6 +1126,88 @@ export declare const BaseThemeMachine: ThemeMachine<{
|
|
|
1126
1126
|
$value: string;
|
|
1127
1127
|
};
|
|
1128
1128
|
};
|
|
1129
|
+
modal: {
|
|
1130
|
+
background: {
|
|
1131
|
+
$type: string;
|
|
1132
|
+
$value: string;
|
|
1133
|
+
};
|
|
1134
|
+
};
|
|
1135
|
+
popover: {
|
|
1136
|
+
background: {
|
|
1137
|
+
$type: string;
|
|
1138
|
+
$value: string;
|
|
1139
|
+
};
|
|
1140
|
+
};
|
|
1141
|
+
lifecycle: {
|
|
1142
|
+
background: {
|
|
1143
|
+
$type: string;
|
|
1144
|
+
$value: string;
|
|
1145
|
+
};
|
|
1146
|
+
task: {
|
|
1147
|
+
background: {
|
|
1148
|
+
$type: string;
|
|
1149
|
+
$value: string;
|
|
1150
|
+
};
|
|
1151
|
+
"foreground-color": {
|
|
1152
|
+
$type: string;
|
|
1153
|
+
$value: string;
|
|
1154
|
+
};
|
|
1155
|
+
};
|
|
1156
|
+
stage: {
|
|
1157
|
+
background: {
|
|
1158
|
+
$type: string;
|
|
1159
|
+
$value: string;
|
|
1160
|
+
};
|
|
1161
|
+
"foreground-color": {
|
|
1162
|
+
$type: string;
|
|
1163
|
+
$value: string;
|
|
1164
|
+
};
|
|
1165
|
+
start: {
|
|
1166
|
+
background: {
|
|
1167
|
+
$type: string;
|
|
1168
|
+
$value: string;
|
|
1169
|
+
};
|
|
1170
|
+
"hover-color": {
|
|
1171
|
+
$type: string;
|
|
1172
|
+
$value: string;
|
|
1173
|
+
};
|
|
1174
|
+
};
|
|
1175
|
+
default: {
|
|
1176
|
+
background: {
|
|
1177
|
+
$type: string;
|
|
1178
|
+
$value: string;
|
|
1179
|
+
};
|
|
1180
|
+
"hover-color": {
|
|
1181
|
+
$type: string;
|
|
1182
|
+
$value: string;
|
|
1183
|
+
};
|
|
1184
|
+
};
|
|
1185
|
+
resolution: {
|
|
1186
|
+
background: {
|
|
1187
|
+
$type: string;
|
|
1188
|
+
$value: string;
|
|
1189
|
+
};
|
|
1190
|
+
"hover-color": {
|
|
1191
|
+
$type: string;
|
|
1192
|
+
$value: string;
|
|
1193
|
+
};
|
|
1194
|
+
};
|
|
1195
|
+
alternate: {
|
|
1196
|
+
background: {
|
|
1197
|
+
$type: string;
|
|
1198
|
+
$value: string;
|
|
1199
|
+
};
|
|
1200
|
+
"hover-color": {
|
|
1201
|
+
$type: string;
|
|
1202
|
+
$value: string;
|
|
1203
|
+
};
|
|
1204
|
+
"resolution-highlight": {
|
|
1205
|
+
$type: string;
|
|
1206
|
+
$value: string;
|
|
1207
|
+
};
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
};
|
|
1129
1211
|
mark: {
|
|
1130
1212
|
"background-color": {
|
|
1131
1213
|
$type: string;
|
|
@@ -2048,6 +2130,40 @@ export declare const WorkTheme: {
|
|
|
2048
2130
|
readonly link: {
|
|
2049
2131
|
readonly color: string;
|
|
2050
2132
|
};
|
|
2133
|
+
readonly modal: {
|
|
2134
|
+
readonly background: string;
|
|
2135
|
+
};
|
|
2136
|
+
readonly popover: {
|
|
2137
|
+
readonly background: string;
|
|
2138
|
+
};
|
|
2139
|
+
readonly lifecycle: {
|
|
2140
|
+
readonly background: string;
|
|
2141
|
+
readonly task: {
|
|
2142
|
+
readonly background: string;
|
|
2143
|
+
readonly "foreground-color": string;
|
|
2144
|
+
};
|
|
2145
|
+
readonly stage: {
|
|
2146
|
+
readonly background: string;
|
|
2147
|
+
readonly "foreground-color": string;
|
|
2148
|
+
readonly start: {
|
|
2149
|
+
readonly background: string;
|
|
2150
|
+
readonly "hover-color": string;
|
|
2151
|
+
};
|
|
2152
|
+
readonly default: {
|
|
2153
|
+
readonly background: string;
|
|
2154
|
+
readonly "hover-color": string;
|
|
2155
|
+
};
|
|
2156
|
+
readonly resolution: {
|
|
2157
|
+
readonly background: string;
|
|
2158
|
+
readonly "hover-color": string;
|
|
2159
|
+
};
|
|
2160
|
+
readonly alternate: {
|
|
2161
|
+
readonly background: string;
|
|
2162
|
+
readonly "hover-color": string;
|
|
2163
|
+
readonly "resolution-highlight": string;
|
|
2164
|
+
};
|
|
2165
|
+
};
|
|
2166
|
+
};
|
|
2051
2167
|
readonly mark: {
|
|
2052
2168
|
readonly "background-color": string;
|
|
2053
2169
|
readonly "font-weight": string;
|
|
@@ -2660,6 +2776,40 @@ export declare const defaultThemeProp: Readonly<{
|
|
|
2660
2776
|
readonly link: {
|
|
2661
2777
|
readonly color: string;
|
|
2662
2778
|
};
|
|
2779
|
+
readonly modal: {
|
|
2780
|
+
readonly background: string;
|
|
2781
|
+
};
|
|
2782
|
+
readonly popover: {
|
|
2783
|
+
readonly background: string;
|
|
2784
|
+
};
|
|
2785
|
+
readonly lifecycle: {
|
|
2786
|
+
readonly background: string;
|
|
2787
|
+
readonly task: {
|
|
2788
|
+
readonly background: string;
|
|
2789
|
+
readonly "foreground-color": string;
|
|
2790
|
+
};
|
|
2791
|
+
readonly stage: {
|
|
2792
|
+
readonly background: string;
|
|
2793
|
+
readonly "foreground-color": string;
|
|
2794
|
+
readonly start: {
|
|
2795
|
+
readonly background: string;
|
|
2796
|
+
readonly "hover-color": string;
|
|
2797
|
+
};
|
|
2798
|
+
readonly default: {
|
|
2799
|
+
readonly background: string;
|
|
2800
|
+
readonly "hover-color": string;
|
|
2801
|
+
};
|
|
2802
|
+
readonly resolution: {
|
|
2803
|
+
readonly background: string;
|
|
2804
|
+
readonly "hover-color": string;
|
|
2805
|
+
};
|
|
2806
|
+
readonly alternate: {
|
|
2807
|
+
readonly background: string;
|
|
2808
|
+
readonly "hover-color": string;
|
|
2809
|
+
readonly "resolution-highlight": string;
|
|
2810
|
+
};
|
|
2811
|
+
};
|
|
2812
|
+
};
|
|
2663
2813
|
readonly mark: {
|
|
2664
2814
|
readonly "background-color": string;
|
|
2665
2815
|
readonly "font-weight": string;
|
package/lib/theme/theme.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/theme/theme.ts"],"names":[],"mappings":"AAAA,OAAO,YAAgC,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,sBAAsB,MAAM,wBAAwB,CAAC;AAE5D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC;AAEnE,OAAO,EAAE,sBAAsB,IAAI,eAAe,EAAE,CAAC;AAErD,eAAO,MAAM,gBAAgB
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/theme/theme.ts"],"names":[],"mappings":"AAAA,OAAO,YAAgC,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAClE,OAAO,sBAAsB,MAAM,wBAAwB,CAAC;AAE5D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC;AAEnE,OAAO,EAAE,sBAAsB,IAAI,eAAe,EAAE,CAAC;AAErD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC;AAEpE,MAAM,MAAM,oBAAoB,GAAG,aAAa,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAGhF,OAAO,QAAQ,mBAAmB,CAAC;IACjC,UAAiB,YAAa,SAAQ,YAAY,CAAC,OAAO,sBAAsB,CAAC;KAAG;CACrF"}
|
|
@@ -1121,6 +1121,88 @@
|
|
|
1121
1121
|
"$value": "base.palette.interactive"
|
|
1122
1122
|
}
|
|
1123
1123
|
},
|
|
1124
|
+
"modal": {
|
|
1125
|
+
"background": {
|
|
1126
|
+
"$type": "inherited",
|
|
1127
|
+
"$value": "base.palette.primary-background"
|
|
1128
|
+
}
|
|
1129
|
+
},
|
|
1130
|
+
"popover": {
|
|
1131
|
+
"background": {
|
|
1132
|
+
"$type": "inherited",
|
|
1133
|
+
"$value": "base.palette.primary-background"
|
|
1134
|
+
}
|
|
1135
|
+
},
|
|
1136
|
+
"lifecycle": {
|
|
1137
|
+
"background": {
|
|
1138
|
+
"$type": "inherited",
|
|
1139
|
+
"$value": "base.palette.app-background"
|
|
1140
|
+
},
|
|
1141
|
+
"task": {
|
|
1142
|
+
"background": {
|
|
1143
|
+
"$type": "inherited",
|
|
1144
|
+
"$value": "base.palette.primary-background"
|
|
1145
|
+
},
|
|
1146
|
+
"foreground-color": {
|
|
1147
|
+
"$type": "inherited",
|
|
1148
|
+
"$value": "base.palette.foreground-color"
|
|
1149
|
+
}
|
|
1150
|
+
},
|
|
1151
|
+
"stage": {
|
|
1152
|
+
"background": {
|
|
1153
|
+
"$type": "inherited",
|
|
1154
|
+
"$value": "base.palette.app-background"
|
|
1155
|
+
},
|
|
1156
|
+
"foreground-color": {
|
|
1157
|
+
"$type": "inherited",
|
|
1158
|
+
"$value": "base.palette.light"
|
|
1159
|
+
},
|
|
1160
|
+
"start": {
|
|
1161
|
+
"background": {
|
|
1162
|
+
"$type": "inherited",
|
|
1163
|
+
"$value": "base.colors.blue.dark"
|
|
1164
|
+
},
|
|
1165
|
+
"hover-color": {
|
|
1166
|
+
"$type": "inherited",
|
|
1167
|
+
"$value": "base.colors.blue.medium"
|
|
1168
|
+
}
|
|
1169
|
+
},
|
|
1170
|
+
"default": {
|
|
1171
|
+
"background": {
|
|
1172
|
+
"$type": "inherited",
|
|
1173
|
+
"$value": "base.colors.blue.medium"
|
|
1174
|
+
},
|
|
1175
|
+
"hover-color": {
|
|
1176
|
+
"$type": "inherited",
|
|
1177
|
+
"$value": "base.colors.blue.light"
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
"resolution": {
|
|
1181
|
+
"background": {
|
|
1182
|
+
"$type": "inherited",
|
|
1183
|
+
"$value": "base.colors.green.medium"
|
|
1184
|
+
},
|
|
1185
|
+
"hover-color": {
|
|
1186
|
+
"$type": "inherited",
|
|
1187
|
+
"$value": "base.colors.green.light"
|
|
1188
|
+
}
|
|
1189
|
+
},
|
|
1190
|
+
"alternate": {
|
|
1191
|
+
"background": {
|
|
1192
|
+
"$type": "inherited",
|
|
1193
|
+
"$value": "base.colors.slate.dark"
|
|
1194
|
+
},
|
|
1195
|
+
"hover-color": {
|
|
1196
|
+
"$type": "inherited",
|
|
1197
|
+
"$value": "base.colors.slate.medium"
|
|
1198
|
+
},
|
|
1199
|
+
"resolution-highlight": {
|
|
1200
|
+
"$type": "inherited",
|
|
1201
|
+
"$value": "base.colors.green.medium"
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1124
1206
|
"mark": {
|
|
1125
1207
|
"background-color": {
|
|
1126
1208
|
"$type": "inherited",
|