@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,68 @@
|
|
1
|
+
export var listViewItem = {
|
2
|
+
rightOfData: {
|
3
|
+
flexShrink: 4,
|
4
|
+
whiteSpace: 'nowrap'
|
5
|
+
},
|
6
|
+
iconContainer: {
|
7
|
+
ml: '0px'
|
8
|
+
},
|
9
|
+
styledListItem: {
|
10
|
+
bg: 'white',
|
11
|
+
'&.is-selected': {
|
12
|
+
bg: 'gray-100'
|
13
|
+
},
|
14
|
+
borderBottom: 'none',
|
15
|
+
'&.has-separator': {
|
16
|
+
borderBottom: '1px solid',
|
17
|
+
borderBottomColor: 'gray-200'
|
18
|
+
},
|
19
|
+
'&.is-hovered': {
|
20
|
+
bg: 'gray-100'
|
21
|
+
},
|
22
|
+
'&.is-focused': {
|
23
|
+
boxShadow: '0 0 0 3px inset #1a73e8',
|
24
|
+
bg: 'gray-100'
|
25
|
+
}
|
26
|
+
},
|
27
|
+
styledContainer: {
|
28
|
+
py: 'md',
|
29
|
+
px: 'lg',
|
30
|
+
bg: 'transparent',
|
31
|
+
'&.is-hovered': {
|
32
|
+
bg: 'transparent',
|
33
|
+
cursor: 'pointer'
|
34
|
+
}
|
35
|
+
},
|
36
|
+
expandableStyledListItem: {
|
37
|
+
pr: '1.25rem',
|
38
|
+
pl: 0
|
39
|
+
},
|
40
|
+
expandableItemBody: {
|
41
|
+
px: '1.5rem'
|
42
|
+
},
|
43
|
+
expandableRow: {
|
44
|
+
'&.has-separator': {
|
45
|
+
borderBottom: '1px solid',
|
46
|
+
borderBottomColor: 'border.base'
|
47
|
+
}
|
48
|
+
}
|
49
|
+
};
|
50
|
+
export var listView = {
|
51
|
+
container: {
|
52
|
+
borderRadius: '16px',
|
53
|
+
border: '1px solid',
|
54
|
+
borderColor: '#e7eef4',
|
55
|
+
'& > div > div': {
|
56
|
+
'& > div:first-of-type': {
|
57
|
+
'& > div > div': {
|
58
|
+
borderRadius: '16px 16px 0 0'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
'& > div:last-of-type': {
|
62
|
+
'& > div > div': {
|
63
|
+
borderRadius: ' 0 0 16px 16px'
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
};
|
@@ -0,0 +1,28 @@
|
|
1
|
+
export var menu = {
|
2
|
+
p: 'sm',
|
3
|
+
border: '1px solid',
|
4
|
+
borderColor: 'border.base'
|
5
|
+
};
|
6
|
+
export var menuItem = {
|
7
|
+
item: {
|
8
|
+
bg: 'transparent',
|
9
|
+
padding: '10px 10px',
|
10
|
+
outline: 'none',
|
11
|
+
color: 'text.primary',
|
12
|
+
cursor: 'pointer',
|
13
|
+
'&.is-focused, &.is-selected, &.is-pressed': {
|
14
|
+
bg: 'gray-100',
|
15
|
+
color: 'text.primary',
|
16
|
+
'> *': {
|
17
|
+
color: 'text.primary'
|
18
|
+
}
|
19
|
+
},
|
20
|
+
'&.is-pressed': {
|
21
|
+
color: 'text.primary',
|
22
|
+
bg: 'lightblue'
|
23
|
+
}
|
24
|
+
},
|
25
|
+
separator: {
|
26
|
+
my: 'sm'
|
27
|
+
}
|
28
|
+
};
|
@@ -0,0 +1,40 @@
|
|
1
|
+
export var message = {
|
2
|
+
item: {
|
3
|
+
maxWidth: 400,
|
4
|
+
pointerEvents: 'all',
|
5
|
+
mb: 'md',
|
6
|
+
p: '1.25rem',
|
7
|
+
wordBreak: 'break-word',
|
8
|
+
alignItems: 'center',
|
9
|
+
backgroundColor: 'blue-100',
|
10
|
+
borderLeftWidth: '5px',
|
11
|
+
borderLeftStyle: 'solid',
|
12
|
+
borderLeftColor: 'teal-500',
|
13
|
+
color: 'text.message',
|
14
|
+
fontSize: '15px !important',
|
15
|
+
borderRadius: 4,
|
16
|
+
'&.is-success': {
|
17
|
+
bg: 'green-100',
|
18
|
+
borderLeftColor: 'green-500',
|
19
|
+
color: 'text.message'
|
20
|
+
},
|
21
|
+
'&.is-warning': {
|
22
|
+
bg: 'warning.light',
|
23
|
+
borderLeftColor: 'yellow-500',
|
24
|
+
color: 'text.message'
|
25
|
+
},
|
26
|
+
'&.is-error, > .is-error': {
|
27
|
+
bg: 'red-100',
|
28
|
+
color: 'text.message'
|
29
|
+
},
|
30
|
+
'&.is-error, > button > svg': {
|
31
|
+
color: 'text.message !important',
|
32
|
+
path: {
|
33
|
+
fill: 'text.message'
|
34
|
+
}
|
35
|
+
},
|
36
|
+
'&.is-error': {
|
37
|
+
borderLeftColor: 'red-500'
|
38
|
+
}
|
39
|
+
}
|
40
|
+
};
|
@@ -0,0 +1,124 @@
|
|
1
|
+
import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
|
2
|
+
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols";
|
3
|
+
import _filterInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/filter";
|
4
|
+
import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor";
|
5
|
+
import _forEachInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/for-each";
|
6
|
+
import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors";
|
7
|
+
import _Object$defineProperties from "@babel/runtime-corejs3/core-js-stable/object/define-properties";
|
8
|
+
import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object/define-property";
|
9
|
+
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
10
|
+
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; }
|
11
|
+
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) { _defineProperty(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; }
|
12
|
+
export var navBarSelected = {
|
13
|
+
backgroundColor: 'lightblue',
|
14
|
+
boxShadow: 'none'
|
15
|
+
};
|
16
|
+
export var navBarFocus = {
|
17
|
+
outline: '2px solid',
|
18
|
+
outlineColor: 'active',
|
19
|
+
outlineOffset: '-2px'
|
20
|
+
};
|
21
|
+
export var navBar = {
|
22
|
+
container: {
|
23
|
+
width: '252px',
|
24
|
+
p: 'sm',
|
25
|
+
backgroundColor: 'background.base',
|
26
|
+
boxShadow: '0 .5rem 1rem rgba(0, 0, 0, .15)'
|
27
|
+
},
|
28
|
+
sectionButton: {
|
29
|
+
borderRadius: '4px',
|
30
|
+
'&.is-hovered': {
|
31
|
+
backgroundColor: 'light'
|
32
|
+
},
|
33
|
+
'&.is-pressed': {
|
34
|
+
backgroundColor: 'gray-200'
|
35
|
+
},
|
36
|
+
'&.is-focused': _objectSpread({}, navBarFocus)
|
37
|
+
},
|
38
|
+
itemButton: {
|
39
|
+
py: '.75rem',
|
40
|
+
paddingLeft: '53px',
|
41
|
+
color: 'text.primary',
|
42
|
+
borderRadius: '4px',
|
43
|
+
'&.is-focused': _objectSpread({}, navBarFocus),
|
44
|
+
'&.is-hovered': {
|
45
|
+
backgroundColor: 'light'
|
46
|
+
},
|
47
|
+
'&.is-pressed': {
|
48
|
+
backgroundColor: 'gray-200',
|
49
|
+
color: 'text.primary'
|
50
|
+
},
|
51
|
+
'&.is-selected': {
|
52
|
+
bg: 'lightblue',
|
53
|
+
boxShadow: 'none',
|
54
|
+
color: 'darkblue'
|
55
|
+
}
|
56
|
+
},
|
57
|
+
subtitle: {
|
58
|
+
color: 'text.primary'
|
59
|
+
},
|
60
|
+
headerText: {
|
61
|
+
color: 'text.primary',
|
62
|
+
ml: 'sm',
|
63
|
+
'.is-selected &': {
|
64
|
+
color: 'darkblue'
|
65
|
+
}
|
66
|
+
},
|
67
|
+
headerNav: {
|
68
|
+
borderRadius: '4px',
|
69
|
+
color: 'text.primary',
|
70
|
+
'&.is-hovered': {
|
71
|
+
backgroundColor: 'light'
|
72
|
+
},
|
73
|
+
'&.is-focused': {
|
74
|
+
boxShadow: 'none',
|
75
|
+
WebkitBoxShadow: 'none',
|
76
|
+
MozBoxShadow: 'none'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
item: {
|
80
|
+
px: '1rem',
|
81
|
+
py: '.75rem',
|
82
|
+
color: 'text.primary',
|
83
|
+
borderRadius: '4px',
|
84
|
+
'&.is-hovered': {
|
85
|
+
backgroundColor: 'light'
|
86
|
+
},
|
87
|
+
'> div > svg': {
|
88
|
+
fill: 'text.primary'
|
89
|
+
},
|
90
|
+
'&.is-pressed': {
|
91
|
+
backgroundColor: 'gray-200'
|
92
|
+
},
|
93
|
+
'&.is-selected': _objectSpread(_objectSpread({}, navBarSelected), {}, {
|
94
|
+
'> div > svg': {
|
95
|
+
fill: 'darkblue'
|
96
|
+
}
|
97
|
+
}),
|
98
|
+
'&.is-focused': {
|
99
|
+
outline: '2px solid',
|
100
|
+
outlineColor: 'active',
|
101
|
+
outlineOffset: '-2px',
|
102
|
+
boxShadow: 'none',
|
103
|
+
WebkitBoxShadow: 'none',
|
104
|
+
MozBoxShadow: 'none'
|
105
|
+
}
|
106
|
+
},
|
107
|
+
itemHeaderContainer: {
|
108
|
+
boxShadow: 'none',
|
109
|
+
maxWidth: '236px',
|
110
|
+
px: '1rem',
|
111
|
+
py: '.75rem',
|
112
|
+
'&.is-selected': _objectSpread({}, navBarSelected),
|
113
|
+
backgroundColor: 'transparent',
|
114
|
+
'> svg': {
|
115
|
+
fill: 'text.primary'
|
116
|
+
},
|
117
|
+
'> div > svg': {
|
118
|
+
fill: 'text.primary'
|
119
|
+
}
|
120
|
+
},
|
121
|
+
navBarItemBody: {
|
122
|
+
mb: '0px !important'
|
123
|
+
}
|
124
|
+
};
|
@@ -42,7 +42,7 @@ var logoBand = _objectSpread(_objectSpread({}, link), {}, {
|
|
42
42
|
var headerPlaceholder = {
|
43
43
|
fontSize: 'lg',
|
44
44
|
ml: 'md',
|
45
|
-
color: 'text.
|
45
|
+
color: 'text.secondary',
|
46
46
|
lineHeight: 'body',
|
47
47
|
fontWeight: '1',
|
48
48
|
'&.is-hovered': {
|
@@ -56,8 +56,8 @@ var navigationHeader = {
|
|
56
56
|
container: {
|
57
57
|
fontFamily: 'standard',
|
58
58
|
borderBottom: '1px solid',
|
59
|
-
borderColor: '
|
60
|
-
|
59
|
+
borderColor: 'border.base',
|
60
|
+
backgroundColor: 'background.base',
|
61
61
|
height: '4.5rem',
|
62
62
|
justifyContent: 'center'
|
63
63
|
},
|
@@ -65,9 +65,11 @@ var navigationHeader = {
|
|
65
65
|
px: ['1.5rem', '1.5rem', '1.5rem', '3rem', '3rem', '3rem'],
|
66
66
|
maxWidth: '1540px',
|
67
67
|
mx: 'auto',
|
68
|
-
width: '100%'
|
68
|
+
width: '100%',
|
69
|
+
backgroundColor: 'background.base'
|
69
70
|
},
|
70
71
|
dropdownMenu: {
|
72
|
+
backgroundColor: 'background.base',
|
71
73
|
maxWidth: 'unset',
|
72
74
|
p: 'sm',
|
73
75
|
'& > li': {
|
@@ -0,0 +1,28 @@
|
|
1
|
+
export var tabs = {
|
2
|
+
gap: '0px'
|
3
|
+
};
|
4
|
+
export var menuTab = {
|
5
|
+
ml: '0px !important'
|
6
|
+
};
|
7
|
+
export var tab = {
|
8
|
+
borderRadius: '2px',
|
9
|
+
pt: '.5rem',
|
10
|
+
'& > span': {
|
11
|
+
px: '1rem',
|
12
|
+
fontSize: '.9375rem'
|
13
|
+
},
|
14
|
+
'&.is-focused': {
|
15
|
+
boxShadow: 'none',
|
16
|
+
outline: '3px solid',
|
17
|
+
outlineColor: 'active',
|
18
|
+
outlineOffset: '1px',
|
19
|
+
'& > span': {
|
20
|
+
outline: 'none'
|
21
|
+
}
|
22
|
+
},
|
23
|
+
'& > div': {
|
24
|
+
borderBottom: '3px solid',
|
25
|
+
borderBottomColor: 'primary',
|
26
|
+
ml: '0px'
|
27
|
+
}
|
28
|
+
};
|
@@ -13,45 +13,55 @@ var hTags = {
|
|
13
13
|
h1: {
|
14
14
|
fontSize: 'xxx',
|
15
15
|
fontWeight: 2,
|
16
|
-
color: 'text.
|
16
|
+
color: 'text.secondary',
|
17
17
|
fontFamily: 'standard'
|
18
18
|
},
|
19
19
|
h2: {
|
20
20
|
fontSize: 'xx',
|
21
21
|
fontWeight: 2,
|
22
|
-
color: 'text.
|
22
|
+
color: 'text.secondary',
|
23
23
|
fontFamily: 'standard'
|
24
24
|
},
|
25
25
|
h3: {
|
26
26
|
fontSize: 'xl',
|
27
27
|
fontWeight: 2,
|
28
|
-
color: 'text.
|
28
|
+
color: 'text.secondary',
|
29
29
|
fontFamily: 'standard'
|
30
30
|
},
|
31
31
|
h4: {
|
32
32
|
fontSize: 'lg',
|
33
33
|
fontWeight: 2,
|
34
|
-
color: 'text.
|
34
|
+
color: 'text.secondary',
|
35
35
|
fontFamily: 'standard'
|
36
36
|
},
|
37
37
|
h5: {
|
38
38
|
fontSize: 'md',
|
39
39
|
fontWeight: 2,
|
40
|
-
color: 'text.
|
40
|
+
color: 'text.secondary',
|
41
41
|
fontFamily: 'standard'
|
42
42
|
},
|
43
43
|
h6: {
|
44
44
|
textTransform: 'uppercase',
|
45
|
-
color: 'text.
|
45
|
+
color: 'text.secondary',
|
46
46
|
fontFamily: 'standard',
|
47
47
|
fontWeight: 1,
|
48
48
|
fontSize: 'xs'
|
49
49
|
}
|
50
50
|
};
|
51
51
|
export var text = _objectSpread({
|
52
|
+
sideNavHeader: {
|
53
|
+
py: 'sm',
|
54
|
+
lineHeight: 'body',
|
55
|
+
textDecoration: 'none',
|
56
|
+
color: 'text.secondary',
|
57
|
+
px: '0',
|
58
|
+
fontWeight: '1',
|
59
|
+
letterSpacing: '1px'
|
60
|
+
},
|
52
61
|
modalTitle: {
|
53
62
|
fontSize: '20px',
|
54
63
|
fontWeight: '2',
|
64
|
+
color: 'text.secondary',
|
55
65
|
fontFamily: 'standard'
|
56
66
|
},
|
57
67
|
tabLabel: {
|
@@ -65,11 +75,12 @@ export var text = _objectSpread({
|
|
65
75
|
lineHeight: 'body'
|
66
76
|
},
|
67
77
|
listViewItemText: {
|
78
|
+
color: 'text.secondary',
|
68
79
|
fontWeight: 2
|
69
80
|
},
|
70
81
|
small: {
|
71
82
|
fontSize: 'sm',
|
72
|
-
color: '
|
83
|
+
color: 'text.primary',
|
73
84
|
fontFamily: 'standard',
|
74
85
|
lineHeight: 'md'
|
75
86
|
}
|