@pingux/astro 2.91.0 → 2.92.0-alpha.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/cjs/components/Card/Card.stories.js +2 -1
- package/lib/cjs/components/Card/Card.styles.d.ts +12 -0
- package/lib/cjs/components/Card/Card.styles.js +2 -1
- package/lib/cjs/components/CodeView/CodeView.js +7 -3
- package/lib/cjs/components/CodeView/CodeView.test.js +11 -4
- package/lib/cjs/components/ComboBox/ComboBoxInput.js +5 -2
- package/lib/cjs/components/DataTable/DataTable.js +7 -4
- package/lib/cjs/components/Icon/NoticeIcon.js +4 -1
- package/lib/cjs/components/IconWrapper/IconWrapper.d.ts +4 -0
- package/lib/cjs/components/IconWrapper/IconWrapper.js +62 -0
- package/lib/cjs/components/IconWrapper/IconWrapper.mdx +14 -0
- package/lib/cjs/components/IconWrapper/IconWrapper.stories.d.ts +4 -0
- package/lib/cjs/components/IconWrapper/IconWrapper.stories.js +53 -0
- package/lib/cjs/components/IconWrapper/IconWrapper.test.d.ts +1 -0
- package/lib/cjs/components/IconWrapper/IconWrapper.test.js +41 -0
- package/lib/cjs/components/IconWrapper/iconWrapperAttributes.d.ts +21 -0
- package/lib/cjs/components/IconWrapper/iconWrapperAttributes.js +31 -0
- package/lib/cjs/components/IconWrapper/index.d.ts +1 -0
- package/lib/cjs/components/IconWrapper/index.js +14 -0
- package/lib/cjs/components/Link/Link.stories.js +1 -1
- package/lib/cjs/components/ListView/ListViewExpandableItem.js +6 -3
- package/lib/cjs/components/NavBar/NavBar.stories.js +10 -3
- package/lib/cjs/components/NavBarSection/NavBarItemBody.js +4 -1
- package/lib/cjs/components/NavBarSection/NavBarItemHeader.js +6 -4
- package/lib/cjs/components/NavSideBar/NavSideBarSectionHeader.js +6 -3
- package/lib/cjs/components/NavigationHeader/NavigationHeader.stories.js +15 -16
- package/lib/cjs/components/OverlayPanel/OverlayPanel.stories.js +5 -1
- package/lib/cjs/components/SelectFieldBase/SelectFieldBase.js +5 -2
- package/lib/cjs/components/Tabs/Tabs.stories.js +3 -3
- package/lib/cjs/hooks/index.d.ts +1 -0
- package/lib/cjs/hooks/index.js +7 -0
- package/lib/cjs/hooks/useGetTheme/index.d.ts +1 -0
- package/lib/cjs/hooks/useGetTheme/index.js +14 -0
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +26 -0
- package/lib/cjs/hooks/useGetTheme/useGetTheme.js +82 -0
- package/lib/cjs/hooks/useGetTheme/useGetTheme.test.d.ts +1 -0
- package/lib/cjs/hooks/useGetTheme/useGetTheme.test.js +88 -0
- package/lib/cjs/hooks/useTShirtSize/useTShirtSize.js +5 -3
- package/lib/cjs/hooks/useTShirtSize/useTShirtSize.test.js +17 -0
- package/lib/cjs/index.d.ts +3 -0
- package/lib/cjs/index.js +77 -50
- package/lib/cjs/recipes/NextGen/ListViewNextGen.stories.js +6 -135
- package/lib/cjs/recipes/NextGen/ModalNextGen.stories.js +8 -7
- package/lib/cjs/recipes/NextGen/NavBarNextGen.stories.js +2 -216
- package/lib/cjs/recipes/NextGen/NextGenDataTable.stories.js +2 -135
- package/lib/cjs/styles/sizes.d.ts +12 -0
- package/lib/cjs/styles/sizes.js +19 -0
- package/lib/cjs/styles/theme.js +4 -12
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.d.ts +75 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +97 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.d.ts +7 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.js +24 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +11 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +24 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/index.d.ts +1 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/index.js +14 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/nextGenDarkModeOverride.d.ts +2 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/nextGenDarkModeOverride.js +31 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkDataTable.chomatic.stories.d.ts +6 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkDataTable.chomatic.stories.js +22 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkListView.chromatic.stories.d.ts +6 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkListView.chromatic.stories.js +22 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkNavStory.chomatic.stories.d.ts +6 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkNavStory.chomatic.stories.js +22 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkStickerSheet.chromatic.stories.d.ts +6 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkStickerSheet.chromatic.stories.js +22 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/avatar.d.ts +43 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/avatar.js +51 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.d.ts +92 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.js +96 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.d.ts +82 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +105 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/cards.d.ts +15 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/cards.js +23 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.d.ts +68 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.js +71 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/iconBadge.d.ts +53 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/iconBadge.js +75 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/input.d.ts +8 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/input.js +35 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/links.d.ts +40 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/links.js +47 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/lsitview.d.ts +24 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/lsitview.js +33 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/menu.d.ts +26 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/menu.js +35 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/message.d.ts +52 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/message.js +60 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/navbar.d.ts +132 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/navbar.js +149 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +375 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +71 -0
- package/lib/cjs/styles/themes/astro/customProperties/icons.d.ts +8 -0
- package/lib/cjs/styles/themes/astro/customProperties/icons.js +23 -0
- package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +12 -0
- package/lib/cjs/styles/themes/astro/customProperties/index.js +15 -0
- package/lib/cjs/styles/themes/astro/customProperties/styles.d.ts +4 -0
- package/lib/cjs/styles/themes/astro/customProperties/styles.js +11 -0
- package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +36 -0
- package/lib/cjs/styles/themes/next-gen/colors/colors.js +22 -4
- package/lib/cjs/styles/themes/next-gen/colors/iconWrapper.d.ts +22 -0
- package/lib/cjs/styles/themes/next-gen/colors/iconWrapper.js +31 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +11 -1
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +15 -4
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.d.ts +8 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.js +23 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +12 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/index.js +15 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/styles.d.ts +4 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/styles.js +11 -0
- package/lib/cjs/styles/themes/next-gen/forms.js +3 -3
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +244 -8
- package/lib/cjs/styles/themes/next-gen/next-gen.js +5 -9
- package/lib/cjs/styles/themes/next-gen/sizes.d.ts +7 -0
- package/lib/cjs/styles/themes/next-gen/sizes.js +10 -1
- package/lib/cjs/styles/themes/next-gen/stories/DataTableNextGenComponent.d.ts +6 -0
- package/lib/cjs/styles/themes/next-gen/stories/DataTableNextGenComponent.js +151 -0
- package/lib/cjs/styles/themes/next-gen/stories/ListViewItemNextGen.d.ts +29 -0
- package/lib/cjs/styles/themes/next-gen/stories/ListViewItemNextGen.js +84 -0
- package/lib/cjs/styles/themes/next-gen/stories/ListViewNextGenComponent.d.ts +2 -0
- package/lib/cjs/styles/themes/next-gen/stories/ListViewNextGenComponent.js +67 -0
- package/lib/cjs/styles/themes/next-gen/stories/NavBarNextGenComponent.d.ts +2 -0
- package/lib/cjs/styles/themes/next-gen/stories/NavBarNextGenComponent.js +191 -0
- package/lib/cjs/styles/themes/next-gen/stories/NextGenDataTable.chromatic.stories.d.ts +6 -0
- package/lib/cjs/styles/themes/next-gen/stories/NextGenDataTable.chromatic.stories.js +22 -0
- package/lib/cjs/styles/themes/next-gen/stories/NextGenListView.chromatic.stories.d.ts +6 -0
- package/lib/cjs/styles/themes/next-gen/stories/NextGenListView.chromatic.stories.js +22 -0
- package/lib/cjs/styles/themes/next-gen/stories/NextGenListViewItem.stories.d.ts +7 -0
- package/lib/cjs/styles/themes/next-gen/stories/NextGenListViewItem.stories.js +36 -0
- package/lib/cjs/styles/themes/next-gen/stories/NextGenNavBar.chromatic.stories.d.ts +6 -0
- package/lib/cjs/styles/themes/next-gen/stories/NextGenNavBar.chromatic.stories.js +22 -0
- package/lib/cjs/styles/themes/next-gen/stories/NextGenStickerSheet.chromatic.stories.d.ts +6 -0
- package/lib/cjs/styles/themes/next-gen/stories/NextGenStickerSheet.chromatic.stories.js +22 -0
- package/lib/cjs/styles/themes/next-gen/stories/StickerSheetComponent.d.ts +3 -0
- package/lib/cjs/styles/themes/next-gen/stories/StickerSheetComponent.js +286 -0
- package/lib/cjs/styles/themes/next-gen/variants/avatar.d.ts +43 -0
- package/lib/cjs/styles/themes/next-gen/variants/avatar.js +51 -0
- package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +208 -0
- package/lib/cjs/styles/themes/next-gen/variants/badges.js +103 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.js +5 -4
- package/lib/cjs/styles/themes/next-gen/variants/cards.d.ts +40 -0
- package/lib/cjs/styles/themes/next-gen/variants/cards.js +22 -2
- package/lib/cjs/styles/themes/next-gen/variants/iconWrapper.d.ts +36 -0
- package/lib/cjs/styles/themes/next-gen/variants/iconWrapper.js +51 -0
- package/lib/cjs/styles/themes/next-gen/variants/input.js +9 -9
- package/lib/cjs/styles/themes/next-gen/variants/label.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/links.d.ts +75 -0
- package/lib/cjs/styles/themes/next-gen/variants/links.js +7 -1
- package/lib/cjs/styles/themes/next-gen/variants/listview.d.ts +68 -0
- package/lib/cjs/styles/themes/next-gen/variants/listview.js +77 -0
- package/lib/cjs/styles/themes/next-gen/variants/menu.d.ts +28 -0
- package/lib/cjs/styles/themes/next-gen/variants/menu.js +37 -0
- package/lib/cjs/styles/themes/next-gen/variants/messages.d.ts +40 -0
- package/lib/cjs/styles/themes/next-gen/variants/messages.js +48 -0
- package/lib/cjs/styles/themes/next-gen/variants/navbar.d.ts +126 -0
- package/lib/cjs/styles/themes/next-gen/variants/navbar.js +134 -0
- package/lib/cjs/styles/themes/next-gen/variants/navigationHeader.d.ts +3 -1
- package/lib/cjs/styles/themes/next-gen/variants/navigationHeader.js +6 -4
- package/lib/cjs/styles/themes/next-gen/variants/tabs.d.ts +28 -0
- package/lib/cjs/styles/themes/next-gen/variants/tabs.js +38 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +11 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.js +18 -7
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +71 -7
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +38 -338
- package/lib/cjs/types/iconWrapper.d.ts +15 -0
- package/lib/cjs/types/iconWrapper.js +6 -0
- package/lib/cjs/utils/devUtils/constants/logos.d.ts +3 -0
- package/lib/cjs/utils/devUtils/constants/logos.js +84 -0
- package/lib/cjs/utils/devUtils/constants/tShirtSizes.d.ts +11 -0
- package/lib/cjs/utils/devUtils/constants/tShirtSizes.js +8 -2
- package/lib/cjs/utils/devUtils/constants/themes.d.ts +5 -0
- package/lib/cjs/utils/devUtils/constants/themes.js +13 -0
- package/lib/cjs/utils/devUtils/shouldReturnComingSoon.d.ts +1 -0
- package/lib/cjs/utils/devUtils/shouldReturnComingSoon.js +41 -0
- package/lib/cjs/utils/docUtils/iconSizeProps.d.ts +1 -1
- package/lib/cjs/utils/docUtils/iconSizeProps.js +1 -1
- package/lib/cjs/utils/testUtils/testWrapper.d.ts +4 -2
- package/lib/cjs/utils/testUtils/testWrapper.js +10 -4
- package/lib/components/Card/Card.stories.js +2 -1
- package/lib/components/Card/Card.styles.js +1 -1
- package/lib/components/CodeView/CodeView.js +7 -3
- package/lib/components/CodeView/CodeView.test.js +12 -5
- package/lib/components/ComboBox/ComboBoxInput.js +4 -1
- package/lib/components/DataTable/DataTable.js +7 -4
- package/lib/components/Icon/NoticeIcon.js +4 -1
- package/lib/components/IconWrapper/IconWrapper.js +50 -0
- package/lib/components/IconWrapper/IconWrapper.mdx +14 -0
- package/lib/components/IconWrapper/IconWrapper.stories.js +44 -0
- package/lib/components/IconWrapper/IconWrapper.test.js +38 -0
- package/lib/components/IconWrapper/iconWrapperAttributes.js +23 -0
- package/lib/components/IconWrapper/index.js +1 -0
- package/lib/components/Link/Link.stories.js +2 -2
- package/lib/components/ListView/ListViewExpandableItem.js +6 -3
- package/lib/components/NavBar/NavBar.stories.js +10 -3
- package/lib/components/NavBarSection/NavBarItemBody.js +4 -1
- package/lib/components/NavBarSection/NavBarItemHeader.js +5 -3
- package/lib/components/NavSideBar/NavSideBarSectionHeader.js +5 -2
- package/lib/components/NavigationHeader/NavigationHeader.stories.js +17 -18
- package/lib/components/OverlayPanel/OverlayPanel.stories.js +5 -1
- package/lib/components/SelectFieldBase/SelectFieldBase.js +4 -1
- package/lib/components/Tabs/Tabs.stories.js +3 -3
- package/lib/hooks/index.js +1 -0
- package/lib/hooks/useGetTheme/index.js +1 -0
- package/lib/hooks/useGetTheme/useGetTheme.js +74 -0
- package/lib/hooks/useGetTheme/useGetTheme.test.js +81 -0
- package/lib/hooks/useTShirtSize/useTShirtSize.js +5 -3
- package/lib/hooks/useTShirtSize/useTShirtSize.test.js +17 -0
- package/lib/index.js +3 -3
- package/lib/recipes/NextGen/ListViewNextGen.stories.js +5 -134
- package/lib/recipes/NextGen/ModalNextGen.stories.js +9 -8
- package/lib/recipes/NextGen/NavBarNextGen.stories.js +2 -216
- package/lib/recipes/NextGen/NextGenDataTable.stories.js +2 -135
- package/lib/styles/sizes.js +11 -0
- package/lib/styles/theme.js +4 -12
- package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +88 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/customProperties/icons.js +16 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/customProperties/index.js +16 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/index.js +1 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/nextGenDarkModeOverride.js +22 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkDataTable.chomatic.stories.js +12 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkListView.chromatic.stories.js +12 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkNavStory.chomatic.stories.js +12 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/stories/NextGenDarkStickerSheet.chromatic.stories.js +12 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/avatar.js +43 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/badges.js +88 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +97 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/cards.js +15 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/forms.js +60 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/iconBadge.js +67 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/input.js +26 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/links.js +39 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/lsitview.js +24 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/menu.js +26 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/message.js +52 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/navbar.js +141 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +62 -0
- package/lib/styles/themes/astro/customProperties/icons.js +14 -0
- package/lib/styles/themes/astro/customProperties/index.js +6 -0
- package/lib/styles/themes/astro/customProperties/styles.js +3 -0
- package/lib/styles/themes/next-gen/colors/colors.js +22 -4
- package/lib/styles/themes/next-gen/colors/iconWrapper.js +23 -0
- package/lib/styles/themes/next-gen/convertedComponentList.js +12 -2
- package/lib/styles/themes/next-gen/customProperties/icons.js +14 -0
- package/lib/styles/themes/next-gen/customProperties/index.js +6 -0
- package/lib/styles/themes/next-gen/customProperties/styles.js +3 -0
- package/lib/styles/themes/next-gen/forms.js +3 -3
- package/lib/styles/themes/next-gen/next-gen.js +4 -5
- package/lib/styles/themes/next-gen/sizes.js +10 -1
- package/lib/styles/themes/next-gen/stories/DataTableNextGenComponent.js +141 -0
- package/lib/styles/themes/next-gen/stories/ListViewItemNextGen.js +75 -0
- package/lib/styles/themes/next-gen/stories/ListViewNextGenComponent.js +58 -0
- package/lib/styles/themes/next-gen/stories/NavBarNextGenComponent.js +182 -0
- package/lib/styles/themes/next-gen/stories/NextGenDataTable.chromatic.stories.js +12 -0
- package/lib/styles/themes/next-gen/stories/NextGenListView.chromatic.stories.js +12 -0
- package/lib/styles/themes/next-gen/stories/NextGenListViewItem.stories.js +26 -0
- package/lib/styles/themes/next-gen/stories/NextGenNavBar.chromatic.stories.js +12 -0
- package/lib/styles/themes/next-gen/stories/NextGenStickerSheet.chromatic.stories.js +12 -0
- package/lib/styles/themes/next-gen/stories/StickerSheetComponent.js +277 -0
- package/lib/styles/themes/next-gen/variants/avatar.js +43 -0
- package/lib/styles/themes/next-gen/variants/badges.js +94 -0
- package/lib/styles/themes/next-gen/variants/button.js +5 -4
- package/lib/styles/themes/next-gen/variants/cards.js +21 -2
- package/lib/styles/themes/next-gen/variants/iconWrapper.js +43 -0
- package/lib/styles/themes/next-gen/variants/input.js +9 -9
- package/lib/styles/themes/next-gen/variants/label.js +1 -1
- package/lib/styles/themes/next-gen/variants/links.js +7 -1
- package/lib/styles/themes/next-gen/variants/listview.js +68 -0
- package/lib/styles/themes/next-gen/variants/menu.js +28 -0
- package/lib/styles/themes/next-gen/variants/messages.js +40 -0
- package/lib/styles/themes/next-gen/variants/navbar.js +124 -0
- package/lib/styles/themes/next-gen/variants/navigationHeader.js +6 -4
- package/lib/styles/themes/next-gen/variants/tabs.js +28 -0
- package/lib/styles/themes/next-gen/variants/text.js +18 -7
- package/lib/styles/themes/next-gen/variants/variants.js +31 -331
- package/lib/types/iconWrapper.js +1 -0
- package/lib/utils/devUtils/constants/logos.js +74 -0
- package/lib/utils/devUtils/constants/tShirtSizes.js +5 -0
- package/lib/utils/devUtils/constants/themes.js +5 -0
- package/lib/utils/devUtils/shouldReturnComingSoon.js +27 -0
- package/lib/utils/docUtils/iconSizeProps.js +1 -1
- package/lib/utils/testUtils/testWrapper.js +10 -4
- package/package.json +1 -1
@@ -0,0 +1,375 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
avatar: {
|
3
|
+
backgroundColor: string;
|
4
|
+
color: string;
|
5
|
+
cursor: string;
|
6
|
+
'&.is-orange': {
|
7
|
+
backgroundColor: string;
|
8
|
+
color: string;
|
9
|
+
};
|
10
|
+
'&.is-green': {
|
11
|
+
backgroundColor: string;
|
12
|
+
color: string;
|
13
|
+
};
|
14
|
+
'&.is-purple': {
|
15
|
+
backgroundColor: string;
|
16
|
+
color: string;
|
17
|
+
};
|
18
|
+
'&.is-pink': {
|
19
|
+
backgroundColor: string;
|
20
|
+
color: string;
|
21
|
+
};
|
22
|
+
'&.is-red': {
|
23
|
+
backgroundColor: string;
|
24
|
+
color: string;
|
25
|
+
};
|
26
|
+
'&.is-yellow': {
|
27
|
+
backgroundColor: string;
|
28
|
+
color: string;
|
29
|
+
};
|
30
|
+
'&.is-cyan': {
|
31
|
+
backgroundColor: string;
|
32
|
+
color: string;
|
33
|
+
};
|
34
|
+
'&.is-teal': {
|
35
|
+
backgroundColor: string;
|
36
|
+
color: string;
|
37
|
+
};
|
38
|
+
display: string;
|
39
|
+
borderRadius: string;
|
40
|
+
textAlign: string;
|
41
|
+
alignItems: string;
|
42
|
+
justifyContent: string;
|
43
|
+
fontFamily: string;
|
44
|
+
};
|
45
|
+
message: {
|
46
|
+
item: {
|
47
|
+
backgroundColor: string;
|
48
|
+
color: string;
|
49
|
+
'> span': {
|
50
|
+
color: string;
|
51
|
+
};
|
52
|
+
'&.is-success': {
|
53
|
+
bg: string;
|
54
|
+
borderLeftColor: string;
|
55
|
+
color: string;
|
56
|
+
};
|
57
|
+
'&.is-success, > .is-success': {
|
58
|
+
bg: string;
|
59
|
+
color: string;
|
60
|
+
};
|
61
|
+
'&.is-warning': {
|
62
|
+
bg: string;
|
63
|
+
borderLeftColor: string;
|
64
|
+
color: string;
|
65
|
+
};
|
66
|
+
'&.is-warning, > .is-warning': {
|
67
|
+
bg: string;
|
68
|
+
color: string;
|
69
|
+
};
|
70
|
+
'&.is-error, > .is-error': {
|
71
|
+
bg: string;
|
72
|
+
color: string;
|
73
|
+
};
|
74
|
+
'&.is-error, > button > svg': {
|
75
|
+
color: string;
|
76
|
+
path: {
|
77
|
+
fill: string;
|
78
|
+
};
|
79
|
+
};
|
80
|
+
'&.is-warning, > button > svg': {
|
81
|
+
color: string;
|
82
|
+
path: {
|
83
|
+
fill: string;
|
84
|
+
};
|
85
|
+
};
|
86
|
+
'&.is-success, > button > svg': {
|
87
|
+
color: string;
|
88
|
+
path: {
|
89
|
+
fill: string;
|
90
|
+
};
|
91
|
+
};
|
92
|
+
'&.is-error': {
|
93
|
+
borderLeftColor: string;
|
94
|
+
};
|
95
|
+
};
|
96
|
+
};
|
97
|
+
menu: {
|
98
|
+
backgroundColor: string;
|
99
|
+
};
|
100
|
+
menuItem: {
|
101
|
+
item: {
|
102
|
+
bg: string;
|
103
|
+
padding: string;
|
104
|
+
outline: string;
|
105
|
+
color: string;
|
106
|
+
cursor: string;
|
107
|
+
'&.is-focused, &.is-selected, &.is-pressed': {
|
108
|
+
bg: string;
|
109
|
+
color: string;
|
110
|
+
'> *': {
|
111
|
+
color: string;
|
112
|
+
};
|
113
|
+
};
|
114
|
+
'&.is-pressed': {
|
115
|
+
color: string;
|
116
|
+
bg: string;
|
117
|
+
};
|
118
|
+
};
|
119
|
+
separator: {
|
120
|
+
my: string;
|
121
|
+
};
|
122
|
+
};
|
123
|
+
listViewItem: {
|
124
|
+
styledListItem: {
|
125
|
+
'&.has-separator': {
|
126
|
+
borderBottom: string;
|
127
|
+
borderBottomColor: string;
|
128
|
+
};
|
129
|
+
bg: string;
|
130
|
+
'&.is-selected': {
|
131
|
+
bg: string;
|
132
|
+
};
|
133
|
+
'&.is-hovered': {
|
134
|
+
bg: string;
|
135
|
+
};
|
136
|
+
'&.is-focused': {
|
137
|
+
boxShadow: string;
|
138
|
+
bg: string;
|
139
|
+
};
|
140
|
+
};
|
141
|
+
};
|
142
|
+
listView: {
|
143
|
+
container: {
|
144
|
+
borderColor: string;
|
145
|
+
};
|
146
|
+
};
|
147
|
+
navBar: {
|
148
|
+
container: {
|
149
|
+
width: string;
|
150
|
+
p: string;
|
151
|
+
backgroundColor: string;
|
152
|
+
boxShadow: string;
|
153
|
+
};
|
154
|
+
sectionButton: {
|
155
|
+
'&.is-focused': {
|
156
|
+
outline: string;
|
157
|
+
outlineColor: string;
|
158
|
+
outlineOffset: string;
|
159
|
+
};
|
160
|
+
'&.is-pressed': {
|
161
|
+
backgroundColor: string;
|
162
|
+
color: string;
|
163
|
+
fontFamily: string;
|
164
|
+
'> div > span': {
|
165
|
+
color: string;
|
166
|
+
};
|
167
|
+
'> div > svg': {
|
168
|
+
fill: string;
|
169
|
+
};
|
170
|
+
};
|
171
|
+
'&.is-hovered': {
|
172
|
+
'> div': {
|
173
|
+
backgroundColor: string;
|
174
|
+
};
|
175
|
+
};
|
176
|
+
};
|
177
|
+
itemButton: {
|
178
|
+
color: string;
|
179
|
+
fontFamily: string;
|
180
|
+
'&.is-selected': {
|
181
|
+
backgroundColor: string;
|
182
|
+
color: string;
|
183
|
+
'> div > span': {
|
184
|
+
color: string;
|
185
|
+
};
|
186
|
+
'> div > svg': {
|
187
|
+
fill: string;
|
188
|
+
};
|
189
|
+
};
|
190
|
+
'&.is-focused': {
|
191
|
+
outline: string;
|
192
|
+
outlineColor: string;
|
193
|
+
outlineOffset: string;
|
194
|
+
};
|
195
|
+
'&.is-hovered': {
|
196
|
+
backgroundColor: string;
|
197
|
+
};
|
198
|
+
'&.is-pressed': {
|
199
|
+
backgroundColor: string;
|
200
|
+
color: string;
|
201
|
+
};
|
202
|
+
};
|
203
|
+
subtitle: {
|
204
|
+
fontFamily: string;
|
205
|
+
color: string;
|
206
|
+
};
|
207
|
+
headerText: {
|
208
|
+
color: string;
|
209
|
+
fontFamily: string;
|
210
|
+
'.is-selected &': {
|
211
|
+
color: string;
|
212
|
+
};
|
213
|
+
};
|
214
|
+
headerNav: {
|
215
|
+
color: string;
|
216
|
+
fontFamily: string;
|
217
|
+
'&.is-hovered': {
|
218
|
+
backgroundColor: string;
|
219
|
+
};
|
220
|
+
'&.is-focused': {
|
221
|
+
boxShadow: string;
|
222
|
+
WebkitBoxShadow: string;
|
223
|
+
MozBoxShadow: string;
|
224
|
+
};
|
225
|
+
};
|
226
|
+
item: {
|
227
|
+
px: string;
|
228
|
+
py: string;
|
229
|
+
color: string;
|
230
|
+
fontFamily: string;
|
231
|
+
'&.is-hovered': {
|
232
|
+
backgroundColor: string;
|
233
|
+
};
|
234
|
+
'> div > svg': {
|
235
|
+
fill: string;
|
236
|
+
};
|
237
|
+
'&.is-selected': {
|
238
|
+
'> div > svg': {
|
239
|
+
fill: string;
|
240
|
+
};
|
241
|
+
backgroundColor: string;
|
242
|
+
};
|
243
|
+
'&.is-focused': {
|
244
|
+
outline: string;
|
245
|
+
outlineColor: string;
|
246
|
+
outlineOffset: string;
|
247
|
+
boxShadow: string;
|
248
|
+
WebkitBoxShadow: string;
|
249
|
+
MozBoxShadow: string;
|
250
|
+
};
|
251
|
+
'&.is-pressed': {
|
252
|
+
backgroundColor: string;
|
253
|
+
'> div > span': {
|
254
|
+
color: string;
|
255
|
+
};
|
256
|
+
'> div > svg': {
|
257
|
+
fill: string;
|
258
|
+
};
|
259
|
+
};
|
260
|
+
};
|
261
|
+
itemHeaderContainer: {
|
262
|
+
px: string;
|
263
|
+
py: string;
|
264
|
+
backgroundColor: string;
|
265
|
+
'> svg': {
|
266
|
+
fill: string;
|
267
|
+
};
|
268
|
+
'> div > svg': {
|
269
|
+
fill: string;
|
270
|
+
};
|
271
|
+
'&.is-selected': {
|
272
|
+
'> svg': {
|
273
|
+
fill: string;
|
274
|
+
};
|
275
|
+
backgroundColor: string;
|
276
|
+
};
|
277
|
+
};
|
278
|
+
};
|
279
|
+
listBox: {
|
280
|
+
container: {
|
281
|
+
backgroundColor: string;
|
282
|
+
border: string;
|
283
|
+
borderColor: string;
|
284
|
+
borderRadius: string;
|
285
|
+
};
|
286
|
+
option: {
|
287
|
+
py: string;
|
288
|
+
pl: string;
|
289
|
+
pr: string;
|
290
|
+
bg: string;
|
291
|
+
'&.is-focused': {
|
292
|
+
color: string;
|
293
|
+
bg: string;
|
294
|
+
};
|
295
|
+
'&.is-selected': {
|
296
|
+
color: string;
|
297
|
+
bg: string;
|
298
|
+
pl: number;
|
299
|
+
'&.is-focused': {
|
300
|
+
color: string;
|
301
|
+
};
|
302
|
+
};
|
303
|
+
};
|
304
|
+
};
|
305
|
+
modal: {
|
306
|
+
content: {
|
307
|
+
bg: string;
|
308
|
+
};
|
309
|
+
};
|
310
|
+
tab: {
|
311
|
+
'&.is-selected': {
|
312
|
+
'& > span': {
|
313
|
+
color: string;
|
314
|
+
};
|
315
|
+
};
|
316
|
+
'&.is-hovered': {
|
317
|
+
'& > span': {
|
318
|
+
color: string;
|
319
|
+
};
|
320
|
+
};
|
321
|
+
};
|
322
|
+
iconBadge: {
|
323
|
+
cyan: {
|
324
|
+
backgroundColor: string;
|
325
|
+
fill: string;
|
326
|
+
color: string;
|
327
|
+
};
|
328
|
+
pink: {
|
329
|
+
backgroundColor: string;
|
330
|
+
fill: string;
|
331
|
+
color: string;
|
332
|
+
};
|
333
|
+
green: {
|
334
|
+
backgroundColor: string;
|
335
|
+
fill: string;
|
336
|
+
color: string;
|
337
|
+
};
|
338
|
+
orange: {
|
339
|
+
backgroundColor: string;
|
340
|
+
fill: string;
|
341
|
+
color: string;
|
342
|
+
};
|
343
|
+
blue: {
|
344
|
+
backgroundColor: string;
|
345
|
+
fill: string;
|
346
|
+
color: string;
|
347
|
+
};
|
348
|
+
red: {
|
349
|
+
backgroundColor: string;
|
350
|
+
fill: string;
|
351
|
+
color: string;
|
352
|
+
};
|
353
|
+
teal: {
|
354
|
+
backgroundColor: string;
|
355
|
+
fill: string;
|
356
|
+
color: string;
|
357
|
+
};
|
358
|
+
yellow: {
|
359
|
+
backgroundColor: string;
|
360
|
+
fill: string;
|
361
|
+
color: string;
|
362
|
+
};
|
363
|
+
indigo: {
|
364
|
+
backgroundColor: string;
|
365
|
+
fill: string;
|
366
|
+
color: string;
|
367
|
+
};
|
368
|
+
purple: {
|
369
|
+
backgroundColor: string;
|
370
|
+
fill: string;
|
371
|
+
color: string;
|
372
|
+
};
|
373
|
+
};
|
374
|
+
};
|
375
|
+
export default _default;
|
@@ -0,0 +1,71 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports["default"] = void 0;
|
9
|
+
var _avatar = require("./avatar");
|
10
|
+
var _iconBadge = _interopRequireDefault(require("./iconBadge"));
|
11
|
+
var _lsitview = require("./lsitview");
|
12
|
+
var _menu = require("./menu");
|
13
|
+
var _message = require("./message");
|
14
|
+
var _navbar = require("./navbar");
|
15
|
+
var listBox = {
|
16
|
+
container: {
|
17
|
+
backgroundColor: 'background.base',
|
18
|
+
border: '1px solid',
|
19
|
+
borderColor: 'border.input',
|
20
|
+
borderRadius: '4px'
|
21
|
+
},
|
22
|
+
option: {
|
23
|
+
py: '.75rem',
|
24
|
+
pl: '.75rem',
|
25
|
+
pr: '1rem',
|
26
|
+
bg: 'background.base',
|
27
|
+
'&.is-focused': {
|
28
|
+
color: 'text.primary',
|
29
|
+
bg: 'gray-800'
|
30
|
+
},
|
31
|
+
'&.is-selected': {
|
32
|
+
color: 'text.primary',
|
33
|
+
bg: 'gray-800',
|
34
|
+
pl: 0,
|
35
|
+
'&.is-focused': {
|
36
|
+
color: 'text.primary'
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
40
|
+
};
|
41
|
+
var tab = {
|
42
|
+
'&.is-selected': {
|
43
|
+
'& > span': {
|
44
|
+
color: 'text.secondary'
|
45
|
+
}
|
46
|
+
},
|
47
|
+
'&.is-hovered': {
|
48
|
+
'& > span': {
|
49
|
+
color: 'text.secondary'
|
50
|
+
}
|
51
|
+
}
|
52
|
+
};
|
53
|
+
var modal = {
|
54
|
+
content: {
|
55
|
+
bg: 'background.base'
|
56
|
+
}
|
57
|
+
};
|
58
|
+
var _default = {
|
59
|
+
avatar: _avatar.avatar,
|
60
|
+
message: _message.message,
|
61
|
+
menu: _menu.menu,
|
62
|
+
menuItem: _menu.menuItem,
|
63
|
+
listViewItem: _lsitview.listViewItem,
|
64
|
+
listView: _lsitview.listView,
|
65
|
+
navBar: _navbar.navBar,
|
66
|
+
listBox: listBox,
|
67
|
+
modal: modal,
|
68
|
+
tab: tab,
|
69
|
+
iconBadge: _iconBadge["default"]
|
70
|
+
};
|
71
|
+
exports["default"] = _default;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const _default: {
|
3
|
+
[x: number]: import("@pingux/mdi-react").MdiReactIconComponentType;
|
4
|
+
MenuDown: import("@pingux/mdi-react").MdiReactIconComponentType;
|
5
|
+
MenuUp: import("@pingux/mdi-react").MdiReactIconComponentType;
|
6
|
+
pingLogoHorizontalSmall: import("react").JSX.Element;
|
7
|
+
};
|
8
|
+
export default _default;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports["default"] = void 0;
|
9
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
10
|
+
var _AlertCircleIcon = _interopRequireDefault(require("@pingux/mdi-react/AlertCircleIcon"));
|
11
|
+
var _AlertIcon = _interopRequireDefault(require("@pingux/mdi-react/AlertIcon"));
|
12
|
+
var _CheckCircleIcon = _interopRequireDefault(require("@pingux/mdi-react/CheckCircleIcon"));
|
13
|
+
var _InformationIcon = _interopRequireDefault(require("@pingux/mdi-react/InformationIcon"));
|
14
|
+
var _MenuDownIcon = _interopRequireDefault(require("@pingux/mdi-react/MenuDownIcon"));
|
15
|
+
var _MenuUpIcon = _interopRequireDefault(require("@pingux/mdi-react/MenuUpIcon"));
|
16
|
+
var _logos = require("../../../../utils/devUtils/constants/logos");
|
17
|
+
var _statuses = _interopRequireDefault(require("../../../../utils/devUtils/constants/statuses"));
|
18
|
+
var _MenuDown$MenuUp$stat;
|
19
|
+
var _default = (_MenuDown$MenuUp$stat = {
|
20
|
+
MenuDown: _MenuDownIcon["default"],
|
21
|
+
MenuUp: _MenuUpIcon["default"]
|
22
|
+
}, (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].DEFAULT, _InformationIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].ERROR, _AlertCircleIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].SUCCESS, _CheckCircleIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, _statuses["default"].WARNING, _AlertIcon["default"]), (0, _defineProperty2["default"])(_MenuDown$MenuUp$stat, "pingLogoHorizontalSmall", _logos.pingLogoHorizontalSmallWhite), _MenuDown$MenuUp$stat);
|
23
|
+
exports["default"] = _default;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
export declare const astroThemeValues: {
|
3
|
+
icons: {
|
4
|
+
[x: number]: import("@pingux/mdi-react").MdiReactIconComponentType;
|
5
|
+
MenuDown: import("@pingux/mdi-react").MdiReactIconComponentType;
|
6
|
+
MenuUp: import("@pingux/mdi-react").MdiReactIconComponentType;
|
7
|
+
pingLogoHorizontalSmall: import("react").JSX.Element;
|
8
|
+
};
|
9
|
+
styles: {
|
10
|
+
navButtonEstHeight: number;
|
11
|
+
};
|
12
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
4
|
+
var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
|
5
|
+
_Object$defineProperty(exports, "__esModule", {
|
6
|
+
value: true
|
7
|
+
});
|
8
|
+
exports.astroThemeValues = void 0;
|
9
|
+
var _icons = _interopRequireDefault(require("./icons"));
|
10
|
+
var _styles = _interopRequireDefault(require("./styles"));
|
11
|
+
var astroThemeValues = {
|
12
|
+
icons: _icons["default"],
|
13
|
+
styles: _styles["default"]
|
14
|
+
};
|
15
|
+
exports.astroThemeValues = astroThemeValues;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
4
|
+
_Object$defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var _default = {
|
9
|
+
navButtonEstHeight: 40
|
10
|
+
};
|
11
|
+
exports["default"] = _default;
|
@@ -14,6 +14,10 @@ export declare const warning: {
|
|
14
14
|
light: string;
|
15
15
|
};
|
16
16
|
declare const colors: {
|
17
|
+
card: {
|
18
|
+
blue: string;
|
19
|
+
gray: string;
|
20
|
+
};
|
17
21
|
critical: {
|
18
22
|
bright: string;
|
19
23
|
dark: string;
|
@@ -32,16 +36,48 @@ declare const colors: {
|
|
32
36
|
text: {
|
33
37
|
primary: string;
|
34
38
|
secondary: string;
|
39
|
+
message: string;
|
40
|
+
fieldHelper: string;
|
35
41
|
};
|
36
42
|
border: {
|
37
43
|
base: string;
|
44
|
+
input: string;
|
45
|
+
separator: string;
|
38
46
|
};
|
39
47
|
active: string;
|
40
48
|
primary: string;
|
49
|
+
background: {
|
50
|
+
base: string;
|
51
|
+
secondary: string;
|
52
|
+
card: string;
|
53
|
+
};
|
54
|
+
iconWrapper: {
|
55
|
+
wrapper: {
|
56
|
+
orange: string;
|
57
|
+
cyan: string;
|
58
|
+
green: string;
|
59
|
+
purple: string;
|
60
|
+
pink: string;
|
61
|
+
red: string;
|
62
|
+
yellow: string;
|
63
|
+
teal: string;
|
64
|
+
};
|
65
|
+
icon: {
|
66
|
+
orange: string;
|
67
|
+
cyan: string;
|
68
|
+
green: string;
|
69
|
+
purple: string;
|
70
|
+
pink: string;
|
71
|
+
red: string;
|
72
|
+
yellow: string;
|
73
|
+
teal: string;
|
74
|
+
};
|
75
|
+
};
|
41
76
|
neutral: {
|
42
77
|
80: string;
|
43
78
|
};
|
44
79
|
focus: string;
|
80
|
+
disabled: string;
|
45
81
|
white: string;
|
46
82
|
'blue-100': string;
|
47
83
|
'blue-200': string;
|
@@ -15,6 +15,7 @@ _Object$defineProperty(exports, "__esModule", {
|
|
15
15
|
exports.warning = exports.success = exports["default"] = exports.critical = void 0;
|
16
16
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
|
17
17
|
var _colorTokens = require("../tokens/colorTokens");
|
18
|
+
var _iconWrapper = require("./iconWrapper");
|
18
19
|
function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
19
20
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
|
20
21
|
var subColors = {
|
@@ -88,25 +89,42 @@ var warning = {
|
|
88
89
|
exports.warning = warning;
|
89
90
|
var text = {
|
90
91
|
primary: _colorTokens.nextGenColors['gray-900'],
|
91
|
-
secondary: _colorTokens.nextGenColors['gray-500']
|
92
|
+
secondary: _colorTokens.nextGenColors['gray-500'],
|
93
|
+
message: _colorTokens.nextGenColors['gray-700'],
|
94
|
+
fieldHelper: _colorTokens.nextGenColors['gray-500']
|
92
95
|
};
|
93
96
|
var border = {
|
94
|
-
base: _colorTokens.nextGenColors['gray-
|
97
|
+
base: _colorTokens.nextGenColors['gray-300'],
|
98
|
+
input: _colorTokens.nextGenColors['gray-500'],
|
99
|
+
separator: _colorTokens.nextGenColors['gray-200']
|
95
100
|
};
|
96
101
|
var overrides = {
|
97
102
|
neutral: {
|
98
103
|
80: '#69788B'
|
99
104
|
},
|
100
|
-
focus: colorsObject.active
|
105
|
+
focus: colorsObject.active,
|
106
|
+
disabled: _colorTokens.nextGenColors['gray-100']
|
107
|
+
};
|
108
|
+
var background = {
|
109
|
+
base: 'white',
|
110
|
+
secondary: _colorTokens.nextGenColors['gray-100'],
|
111
|
+
card: _colorTokens.nextGenColors['blue-100']
|
112
|
+
};
|
113
|
+
var card = {
|
114
|
+
blue: _colorTokens.nextGenColors['blue-100'],
|
115
|
+
gray: _colorTokens.nextGenColors['gray-100']
|
101
116
|
};
|
102
117
|
var colors = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, subColors), _colorTokens.nextGenColors), overrides), {}, {
|
118
|
+
card: card,
|
103
119
|
critical: critical,
|
104
120
|
success: success,
|
105
121
|
warning: warning,
|
106
122
|
text: text,
|
107
123
|
border: border,
|
108
124
|
active: colorsObject.blue,
|
109
|
-
primary: colorsObject.blue
|
125
|
+
primary: colorsObject.blue,
|
126
|
+
background: background,
|
127
|
+
iconWrapper: _iconWrapper.iconWrapper
|
110
128
|
});
|
111
129
|
var _default = colors;
|
112
130
|
exports["default"] = _default;
|
@@ -0,0 +1,22 @@
|
|
1
|
+
export declare const iconWrapper: {
|
2
|
+
wrapper: {
|
3
|
+
orange: string;
|
4
|
+
cyan: string;
|
5
|
+
green: string;
|
6
|
+
purple: string;
|
7
|
+
pink: string;
|
8
|
+
red: string;
|
9
|
+
yellow: string;
|
10
|
+
teal: string;
|
11
|
+
};
|
12
|
+
icon: {
|
13
|
+
orange: string;
|
14
|
+
cyan: string;
|
15
|
+
green: string;
|
16
|
+
purple: string;
|
17
|
+
pink: string;
|
18
|
+
red: string;
|
19
|
+
yellow: string;
|
20
|
+
teal: string;
|
21
|
+
};
|
22
|
+
};
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
|
4
|
+
_Object$defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports.iconWrapper = void 0;
|
8
|
+
var _colorTokens = require("../tokens/colorTokens");
|
9
|
+
var iconWrapper = {
|
10
|
+
wrapper: {
|
11
|
+
orange: _colorTokens.nextGenColors['orange-100'],
|
12
|
+
cyan: _colorTokens.nextGenColors['cyan-100'],
|
13
|
+
green: _colorTokens.nextGenColors['green-100'],
|
14
|
+
purple: _colorTokens.nextGenColors['purple-100'],
|
15
|
+
pink: _colorTokens.nextGenColors['pink-100'],
|
16
|
+
red: _colorTokens.nextGenColors['red-100'],
|
17
|
+
yellow: _colorTokens.nextGenColors['yellow-100'],
|
18
|
+
teal: _colorTokens.nextGenColors['teal-100']
|
19
|
+
},
|
20
|
+
icon: {
|
21
|
+
orange: _colorTokens.nextGenColors['orange-800'],
|
22
|
+
cyan: _colorTokens.nextGenColors['cyan-800'],
|
23
|
+
green: _colorTokens.nextGenColors['green-800'],
|
24
|
+
purple: _colorTokens.nextGenColors['purple-800'],
|
25
|
+
pink: _colorTokens.nextGenColors['pink-800'],
|
26
|
+
red: _colorTokens.nextGenColors['red-800'],
|
27
|
+
yellow: _colorTokens.nextGenColors['yellow-800'],
|
28
|
+
teal: _colorTokens.nextGenColors['teal-800']
|
29
|
+
}
|
30
|
+
};
|
31
|
+
exports.iconWrapper = iconWrapper;
|