@pingux/astro 2.91.0 → 2.92.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +42 -14
- package/lib/cjs/components/DataTable/DataTable.stories.d.ts +32 -0
- package/lib/cjs/components/DataTable/DataTable.stories.js +204 -14
- package/lib/cjs/components/DataTable/DataTable.styles.d.ts +29 -0
- package/lib/cjs/components/DataTable/DataTable.styles.js +17 -0
- package/lib/cjs/components/DataTable/DataTable.test.js +144 -2
- 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/dataTable.d.ts +4 -0
- 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 +42 -14
- package/lib/components/DataTable/DataTable.stories.js +201 -13
- package/lib/components/DataTable/DataTable.styles.js +17 -0
- package/lib/components/DataTable/DataTable.test.js +141 -2
- 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,24 @@
|
|
1
|
+
export var listViewItem = {
|
2
|
+
styledListItem: {
|
3
|
+
'&.has-separator': {
|
4
|
+
borderBottom: '1px solid',
|
5
|
+
borderBottomColor: 'border.base'
|
6
|
+
},
|
7
|
+
bg: 'background.base',
|
8
|
+
'&.is-selected': {
|
9
|
+
bg: 'background.hover'
|
10
|
+
},
|
11
|
+
'&.is-hovered': {
|
12
|
+
bg: 'background.hover'
|
13
|
+
},
|
14
|
+
'&.is-focused': {
|
15
|
+
boxShadow: '0 0 0 3px inset #1a73e8',
|
16
|
+
bg: 'background.hover'
|
17
|
+
}
|
18
|
+
}
|
19
|
+
};
|
20
|
+
export var listView = {
|
21
|
+
container: {
|
22
|
+
borderColor: 'border.base'
|
23
|
+
}
|
24
|
+
};
|
@@ -0,0 +1,26 @@
|
|
1
|
+
export var menuItem = {
|
2
|
+
item: {
|
3
|
+
bg: 'transparent',
|
4
|
+
padding: '10px 10px',
|
5
|
+
outline: 'none',
|
6
|
+
color: 'gray-400',
|
7
|
+
cursor: 'pointer',
|
8
|
+
'&.is-focused, &.is-selected, &.is-pressed': {
|
9
|
+
bg: 'gray-800',
|
10
|
+
color: 'text.primary',
|
11
|
+
'> *': {
|
12
|
+
color: 'text.primary'
|
13
|
+
}
|
14
|
+
},
|
15
|
+
'&.is-pressed': {
|
16
|
+
color: 'text.secondary',
|
17
|
+
bg: 'gray-800'
|
18
|
+
}
|
19
|
+
},
|
20
|
+
separator: {
|
21
|
+
my: 'sm'
|
22
|
+
}
|
23
|
+
};
|
24
|
+
export var menu = {
|
25
|
+
backgroundColor: '#23282e'
|
26
|
+
};
|
@@ -0,0 +1,52 @@
|
|
1
|
+
export var message = {
|
2
|
+
item: {
|
3
|
+
backgroundColor: 'background.secondary',
|
4
|
+
color: 'white !important',
|
5
|
+
'> span': {
|
6
|
+
color: 'text.message'
|
7
|
+
},
|
8
|
+
'&.is-success': {
|
9
|
+
bg: 'background.secondary',
|
10
|
+
borderLeftColor: 'green-500',
|
11
|
+
color: 'text.message'
|
12
|
+
},
|
13
|
+
'&.is-success, > .is-success': {
|
14
|
+
bg: 'background.secondary',
|
15
|
+
color: 'text.message'
|
16
|
+
},
|
17
|
+
'&.is-warning': {
|
18
|
+
bg: 'background.secondary',
|
19
|
+
borderLeftColor: 'yellow-500',
|
20
|
+
color: 'text.message'
|
21
|
+
},
|
22
|
+
'&.is-warning, > .is-warning': {
|
23
|
+
bg: 'background.secondary',
|
24
|
+
color: 'text.message'
|
25
|
+
},
|
26
|
+
'&.is-error, > .is-error': {
|
27
|
+
bg: 'background.secondary',
|
28
|
+
color: 'text.message'
|
29
|
+
},
|
30
|
+
'&.is-error, > button > svg': {
|
31
|
+
color: 'white !important',
|
32
|
+
path: {
|
33
|
+
fill: 'white !important'
|
34
|
+
}
|
35
|
+
},
|
36
|
+
'&.is-warning, > button > svg': {
|
37
|
+
color: 'white !important',
|
38
|
+
path: {
|
39
|
+
fill: 'text.message'
|
40
|
+
}
|
41
|
+
},
|
42
|
+
'&.is-success, > button > svg': {
|
43
|
+
color: 'white !important',
|
44
|
+
path: {
|
45
|
+
fill: 'text.message'
|
46
|
+
}
|
47
|
+
},
|
48
|
+
'&.is-error': {
|
49
|
+
borderLeftColor: 'red-500'
|
50
|
+
}
|
51
|
+
}
|
52
|
+
};
|
@@ -0,0 +1,141 @@
|
|
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
|
+
var navBarFocus = {
|
13
|
+
outline: '2px solid',
|
14
|
+
outlineColor: 'active',
|
15
|
+
outlineOffset: '-2px'
|
16
|
+
};
|
17
|
+
var navBarSelected = {
|
18
|
+
backgroundColor: 'background.hover'
|
19
|
+
};
|
20
|
+
export var navBar = {
|
21
|
+
container: {
|
22
|
+
width: '252px',
|
23
|
+
p: 'sm',
|
24
|
+
backgroundColor: 'background.base',
|
25
|
+
boxShadow: '0 .5rem 1rem rgba(0, 0, 0, .15)'
|
26
|
+
},
|
27
|
+
sectionButton: {
|
28
|
+
'&.is-focused': _objectSpread({}, navBarFocus),
|
29
|
+
'&.is-pressed': {
|
30
|
+
backgroundColor: 'background.hover',
|
31
|
+
color: 'white',
|
32
|
+
fontFamily: 'standard',
|
33
|
+
'> div > span': {
|
34
|
+
color: 'white'
|
35
|
+
},
|
36
|
+
'> div > svg': {
|
37
|
+
fill: 'white'
|
38
|
+
}
|
39
|
+
},
|
40
|
+
'&.is-hovered': {
|
41
|
+
'> div': {
|
42
|
+
backgroundColor: 'background.hover'
|
43
|
+
}
|
44
|
+
}
|
45
|
+
},
|
46
|
+
itemButton: {
|
47
|
+
color: 'text.primary',
|
48
|
+
fontFamily: 'standard',
|
49
|
+
'&.is-selected': {
|
50
|
+
backgroundColor: 'background.hover',
|
51
|
+
color: 'white',
|
52
|
+
'> div > span': {
|
53
|
+
color: 'white'
|
54
|
+
},
|
55
|
+
'> div > svg': {
|
56
|
+
fill: 'white'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
'&.is-focused': _objectSpread({}, navBarFocus),
|
60
|
+
'&.is-hovered': {
|
61
|
+
backgroundColor: 'background.hover'
|
62
|
+
},
|
63
|
+
'&.is-pressed': {
|
64
|
+
backgroundColor: 'background.hover',
|
65
|
+
color: 'white'
|
66
|
+
}
|
67
|
+
},
|
68
|
+
subtitle: {
|
69
|
+
fontFamily: 'standard',
|
70
|
+
color: 'text.primary'
|
71
|
+
},
|
72
|
+
headerText: {
|
73
|
+
color: 'text.primary',
|
74
|
+
fontFamily: 'standard',
|
75
|
+
'.is-selected &': {
|
76
|
+
color: 'white'
|
77
|
+
}
|
78
|
+
},
|
79
|
+
headerNav: {
|
80
|
+
color: 'text.primary',
|
81
|
+
fontFamily: 'standard',
|
82
|
+
'&.is-hovered': {
|
83
|
+
backgroundColor: 'light'
|
84
|
+
},
|
85
|
+
'&.is-focused': {
|
86
|
+
boxShadow: 'none',
|
87
|
+
WebkitBoxShadow: 'none',
|
88
|
+
MozBoxShadow: 'none'
|
89
|
+
}
|
90
|
+
},
|
91
|
+
item: {
|
92
|
+
px: '1rem',
|
93
|
+
py: '.75rem',
|
94
|
+
color: 'magenta !important',
|
95
|
+
fontFamily: 'standard',
|
96
|
+
'&.is-hovered': {
|
97
|
+
backgroundColor: 'background.hover'
|
98
|
+
},
|
99
|
+
'> div > svg': {
|
100
|
+
fill: 'text.primary'
|
101
|
+
},
|
102
|
+
'&.is-selected': _objectSpread(_objectSpread({}, navBarSelected), {}, {
|
103
|
+
'> div > svg': {
|
104
|
+
fill: 'white'
|
105
|
+
}
|
106
|
+
}),
|
107
|
+
'&.is-focused': {
|
108
|
+
outline: '2px solid',
|
109
|
+
outlineColor: 'active',
|
110
|
+
outlineOffset: '-2px',
|
111
|
+
boxShadow: 'none',
|
112
|
+
WebkitBoxShadow: 'none',
|
113
|
+
MozBoxShadow: 'none'
|
114
|
+
},
|
115
|
+
'&.is-pressed': {
|
116
|
+
backgroundColor: 'background.hover',
|
117
|
+
'> div > span': {
|
118
|
+
color: 'white'
|
119
|
+
},
|
120
|
+
'> div > svg': {
|
121
|
+
fill: 'white'
|
122
|
+
}
|
123
|
+
}
|
124
|
+
},
|
125
|
+
itemHeaderContainer: {
|
126
|
+
px: '1rem',
|
127
|
+
py: '.75rem',
|
128
|
+
backgroundColor: 'transparent',
|
129
|
+
'> svg': {
|
130
|
+
fill: 'text.primary'
|
131
|
+
},
|
132
|
+
'> div > svg': {
|
133
|
+
fill: 'text.primary'
|
134
|
+
},
|
135
|
+
'&.is-selected': _objectSpread(_objectSpread({}, navBarSelected), {}, {
|
136
|
+
'> svg': {
|
137
|
+
fill: 'white'
|
138
|
+
}
|
139
|
+
})
|
140
|
+
}
|
141
|
+
};
|
@@ -0,0 +1,62 @@
|
|
1
|
+
import { avatar } from './avatar';
|
2
|
+
import iconBadge from './iconBadge';
|
3
|
+
import { listView, listViewItem } from './lsitview';
|
4
|
+
import { menu, menuItem } from './menu';
|
5
|
+
import { message } from './message';
|
6
|
+
import { navBar } from './navbar';
|
7
|
+
var listBox = {
|
8
|
+
container: {
|
9
|
+
backgroundColor: 'background.base',
|
10
|
+
border: '1px solid',
|
11
|
+
borderColor: 'border.input',
|
12
|
+
borderRadius: '4px'
|
13
|
+
},
|
14
|
+
option: {
|
15
|
+
py: '.75rem',
|
16
|
+
pl: '.75rem',
|
17
|
+
pr: '1rem',
|
18
|
+
bg: 'background.base',
|
19
|
+
'&.is-focused': {
|
20
|
+
color: 'text.primary',
|
21
|
+
bg: 'gray-800'
|
22
|
+
},
|
23
|
+
'&.is-selected': {
|
24
|
+
color: 'text.primary',
|
25
|
+
bg: 'gray-800',
|
26
|
+
pl: 0,
|
27
|
+
'&.is-focused': {
|
28
|
+
color: 'text.primary'
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
};
|
33
|
+
var tab = {
|
34
|
+
'&.is-selected': {
|
35
|
+
'& > span': {
|
36
|
+
color: 'text.secondary'
|
37
|
+
}
|
38
|
+
},
|
39
|
+
'&.is-hovered': {
|
40
|
+
'& > span': {
|
41
|
+
color: 'text.secondary'
|
42
|
+
}
|
43
|
+
}
|
44
|
+
};
|
45
|
+
var modal = {
|
46
|
+
content: {
|
47
|
+
bg: 'background.base'
|
48
|
+
}
|
49
|
+
};
|
50
|
+
export default {
|
51
|
+
avatar: avatar,
|
52
|
+
message: message,
|
53
|
+
menu: menu,
|
54
|
+
menuItem: menuItem,
|
55
|
+
listViewItem: listViewItem,
|
56
|
+
listView: listView,
|
57
|
+
navBar: navBar,
|
58
|
+
listBox: listBox,
|
59
|
+
modal: modal,
|
60
|
+
tab: tab,
|
61
|
+
iconBadge: iconBadge
|
62
|
+
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
2
|
+
var _MenuDown$MenuUp$stat;
|
3
|
+
import AlertCircleIcon from '@pingux/mdi-react/AlertCircleIcon';
|
4
|
+
import AlertIcon from '@pingux/mdi-react/AlertIcon';
|
5
|
+
import CheckCircleIcon from '@pingux/mdi-react/CheckCircleIcon';
|
6
|
+
import InformationIcon from '@pingux/mdi-react/InformationIcon';
|
7
|
+
import MenuDown from '@pingux/mdi-react/MenuDownIcon';
|
8
|
+
import MenuUp from '@pingux/mdi-react/MenuUpIcon';
|
9
|
+
import { pingLogoHorizontalSmallWhite } from '../../../../utils/devUtils/constants/logos';
|
10
|
+
import statuses from '../../../../utils/devUtils/constants/statuses';
|
11
|
+
export default (_MenuDown$MenuUp$stat = {
|
12
|
+
MenuDown: MenuDown,
|
13
|
+
MenuUp: MenuUp
|
14
|
+
}, _defineProperty(_MenuDown$MenuUp$stat, statuses.DEFAULT, InformationIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.ERROR, AlertCircleIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.SUCCESS, CheckCircleIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.WARNING, AlertIcon), _defineProperty(_MenuDown$MenuUp$stat, "pingLogoHorizontalSmall", pingLogoHorizontalSmallWhite), _MenuDown$MenuUp$stat);
|
@@ -10,6 +10,7 @@ import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
10
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
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
12
|
import { nextGenColors } from '../tokens/colorTokens';
|
13
|
+
import { iconWrapper } from './iconWrapper';
|
13
14
|
var subColors = {
|
14
15
|
lightblue: nextGenColors['blue-100'],
|
15
16
|
lightindigo: nextGenColors['indigo-100'],
|
@@ -78,24 +79,41 @@ export var warning = {
|
|
78
79
|
};
|
79
80
|
var text = {
|
80
81
|
primary: nextGenColors['gray-900'],
|
81
|
-
secondary: nextGenColors['gray-500']
|
82
|
+
secondary: nextGenColors['gray-500'],
|
83
|
+
message: nextGenColors['gray-700'],
|
84
|
+
fieldHelper: nextGenColors['gray-500']
|
82
85
|
};
|
83
86
|
var border = {
|
84
|
-
base: nextGenColors['gray-
|
87
|
+
base: nextGenColors['gray-300'],
|
88
|
+
input: nextGenColors['gray-500'],
|
89
|
+
separator: nextGenColors['gray-200']
|
85
90
|
};
|
86
91
|
var overrides = {
|
87
92
|
neutral: {
|
88
93
|
80: '#69788B'
|
89
94
|
},
|
90
|
-
focus: colorsObject.active
|
95
|
+
focus: colorsObject.active,
|
96
|
+
disabled: nextGenColors['gray-100']
|
97
|
+
};
|
98
|
+
var background = {
|
99
|
+
base: 'white',
|
100
|
+
secondary: nextGenColors['gray-100'],
|
101
|
+
card: nextGenColors['blue-100']
|
102
|
+
};
|
103
|
+
var card = {
|
104
|
+
blue: nextGenColors['blue-100'],
|
105
|
+
gray: nextGenColors['gray-100']
|
91
106
|
};
|
92
107
|
var colors = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, subColors), nextGenColors), overrides), {}, {
|
108
|
+
card: card,
|
93
109
|
critical: critical,
|
94
110
|
success: success,
|
95
111
|
warning: warning,
|
96
112
|
text: text,
|
97
113
|
border: border,
|
98
114
|
active: colorsObject.blue,
|
99
|
-
primary: colorsObject.blue
|
115
|
+
primary: colorsObject.blue,
|
116
|
+
background: background,
|
117
|
+
iconWrapper: iconWrapper
|
100
118
|
});
|
101
119
|
export default colors;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { nextGenColors } from '../tokens/colorTokens';
|
2
|
+
export var iconWrapper = {
|
3
|
+
wrapper: {
|
4
|
+
orange: nextGenColors['orange-100'],
|
5
|
+
cyan: nextGenColors['cyan-100'],
|
6
|
+
green: nextGenColors['green-100'],
|
7
|
+
purple: nextGenColors['purple-100'],
|
8
|
+
pink: nextGenColors['pink-100'],
|
9
|
+
red: nextGenColors['red-100'],
|
10
|
+
yellow: nextGenColors['yellow-100'],
|
11
|
+
teal: nextGenColors['teal-100']
|
12
|
+
},
|
13
|
+
icon: {
|
14
|
+
orange: nextGenColors['orange-800'],
|
15
|
+
cyan: nextGenColors['cyan-800'],
|
16
|
+
green: nextGenColors['green-800'],
|
17
|
+
purple: nextGenColors['purple-800'],
|
18
|
+
pink: nextGenColors['pink-800'],
|
19
|
+
red: nextGenColors['red-800'],
|
20
|
+
yellow: nextGenColors['yellow-800'],
|
21
|
+
teal: nextGenColors['teal-800']
|
22
|
+
}
|
23
|
+
};
|
@@ -1,3 +1,13 @@
|
|
1
|
-
var nextGenConvertedComponents = ['DataTable', 'Message', 'Button', 'Badge', 'IconButton', 'CheckboxField', 'Messages', 'PopoverMenu', 'TextField', 'PasswordField', 'SearchField', 'SelectField', 'Modal', 'RadioField', 'MultiValuesField', 'TextAreaField', 'RadioGroupField', 'Tabs', 'ProgressBar', 'NavBar', 'OverlayPanel', 'AstroProvider', 'ListView', 'NavigationHeader', 'Avatar', 'MultivaluesField', 'Text', 'Link', 'Card', 'ComboBoxField', 'CodeView'];
|
2
|
-
export var
|
1
|
+
var nextGenConvertedComponents = ['DataTable', 'Message', 'Button', 'Badge', 'IconButton', 'CheckboxField', 'Messages', 'PopoverMenu', 'TextField', 'PasswordField', 'SearchField', 'SelectField', 'Modal', 'RadioField', 'MultiValuesField', 'TextAreaField', 'RadioGroupField', 'Tabs', 'ProgressBar', 'NavBar', 'OverlayPanel', 'AstroProvider', 'ListView', 'NavigationHeader', 'Avatar', 'MultivaluesField', 'Text', 'Link', 'Card', 'IconWrapper', 'ComboBoxField', 'CodeView', 'Sticker Sheet'];
|
2
|
+
export var componentSpecificNextGenBlacklist = {
|
3
|
+
AstroProvider: ['Default', 'With Custom Theme Override'],
|
4
|
+
Badge: ['Status Badge Variants', 'Badge With Left Slot And Icon', 'Callout Badges', 'Removable'],
|
5
|
+
Button: ['Color Block Button', 'Text Icon Button'],
|
6
|
+
Messages: ['Customization'],
|
7
|
+
MultivaluesField: ['Condensed', 'Condensed With Section'],
|
8
|
+
PasswordField: ['Success'],
|
9
|
+
TextField: ['Success'],
|
10
|
+
OverlayPanel: ['Expandable']
|
11
|
+
};
|
12
|
+
export var nextGenOnlyComponents = ['NavigationHeader'];
|
3
13
|
export default nextGenConvertedComponents;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
2
|
+
var _MenuDown$MenuUp$stat;
|
3
|
+
import AlertCircleOutlineIcon from '@pingux/mdi-react/AlertCircleOutlineIcon';
|
4
|
+
import AlertOutlineIcon from '@pingux/mdi-react/AlertOutlineIcon';
|
5
|
+
import CheckCircleOutlineIcon from '@pingux/mdi-react/CheckCircleOutlineIcon';
|
6
|
+
import ChevronDownIcon from '@pingux/mdi-react/ChevronDownIcon';
|
7
|
+
import ChevronUpIcon from '@pingux/mdi-react/ChevronUpIcon';
|
8
|
+
import InformationOutlineIcon from '@pingux/mdi-react/InformationOutlineIcon';
|
9
|
+
import { pingLogoHorizontalSmall } from '../../../../utils/devUtils/constants/logos';
|
10
|
+
import statuses from '../../../../utils/devUtils/constants/statuses';
|
11
|
+
export default (_MenuDown$MenuUp$stat = {
|
12
|
+
MenuDown: ChevronDownIcon,
|
13
|
+
MenuUp: ChevronUpIcon
|
14
|
+
}, _defineProperty(_MenuDown$MenuUp$stat, statuses.DEFAULT, InformationOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.ERROR, AlertCircleOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.SUCCESS, CheckCircleOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, statuses.WARNING, AlertOutlineIcon), _defineProperty(_MenuDown$MenuUp$stat, "pingLogoHorizontalSmall", pingLogoHorizontalSmall), _MenuDown$MenuUp$stat);
|
@@ -24,13 +24,13 @@ export var checkbox = {
|
|
24
24
|
};
|
25
25
|
export var select = {
|
26
26
|
borderRadius: '4px',
|
27
|
-
borderColor: 'border.
|
27
|
+
borderColor: 'border.input',
|
28
28
|
color: 'text.primary',
|
29
29
|
height: '50px',
|
30
30
|
'&.is-disabled': {
|
31
31
|
opacity: 1,
|
32
|
-
borderColor: 'border.
|
33
|
-
backgroundColor: '
|
32
|
+
borderColor: 'border.input',
|
33
|
+
backgroundColor: 'disabled'
|
34
34
|
},
|
35
35
|
currentValue: {
|
36
36
|
color: 'text.primary'
|
@@ -10,26 +10,25 @@ import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
10
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
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
12
|
import merge from 'deepmerge';
|
13
|
+
import { themes } from '../../../utils/devUtils/constants/themes';
|
13
14
|
import theme from '../../theme.js';
|
14
15
|
import codeView from './codeView/codeView';
|
15
16
|
import colors from './colors/colors';
|
17
|
+
import { badges } from './variants/badges';
|
16
18
|
import buttons from './variants/button';
|
17
19
|
import cards from './variants/cards';
|
18
20
|
import images from './variants/images';
|
19
21
|
import links from './variants/links';
|
20
22
|
import navigationHeader from './variants/navigationHeader';
|
21
23
|
import { text as newText } from './variants/text';
|
22
|
-
import variants
|
24
|
+
import variants from './variants/variants';
|
23
25
|
import forms from './forms';
|
24
26
|
import sizes from './sizes';
|
25
27
|
import spacing from './spacing';
|
26
28
|
import { fontSizes, fontWeights } from './text';
|
27
|
-
|
28
|
-
// import './open_sans.css';
|
29
|
-
|
30
29
|
var breakpoints = ['0px', '576px', '768px', '992px', '1200px', '1600px'];
|
31
30
|
var nextGenTheme = {
|
32
|
-
name:
|
31
|
+
name: themes.NEXT_GEN,
|
33
32
|
colors: colors,
|
34
33
|
breakpoints: breakpoints,
|
35
34
|
buttons: buttons,
|
@@ -4,6 +4,10 @@ var avatar = {
|
|
4
4
|
lg: '72px',
|
5
5
|
xl: '104px'
|
6
6
|
};
|
7
|
+
var iconBadge = {
|
8
|
+
md: '48px',
|
9
|
+
xl: '104px'
|
10
|
+
};
|
7
11
|
var container = {
|
8
12
|
xs: ['100%', '540px', '720px', '960px', '1140px', '1540px'],
|
9
13
|
sm: ['100%', '540px', '720px', '960px', '1140px', '1540px'],
|
@@ -13,7 +17,12 @@ var container = {
|
|
13
17
|
xx: ['100%', '100%', '100%', '100%', '100%', '1540px'],
|
14
18
|
fluid: ['100%', '100%', '100%', '100%', '100%', '100%']
|
15
19
|
};
|
20
|
+
var icons = {
|
21
|
+
xxxl: '70px'
|
22
|
+
};
|
16
23
|
export default {
|
17
24
|
avatar: avatar,
|
18
|
-
container: container
|
25
|
+
container: container,
|
26
|
+
iconBadge: iconBadge,
|
27
|
+
icons: icons
|
19
28
|
};
|