@pingux/astro 2.221.6-alpha.0 → 2.234.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/AccordionGridGroup/AccordionGrid.styles.d.ts +50 -0
- package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.d.ts +14 -0
- package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.js +6 -56
- package/lib/cjs/components/AccordionGridGroup/AccordionGridGroup.stories.js +2 -1
- package/lib/cjs/components/AccordionGridGroup/index.d.ts +1 -0
- package/lib/cjs/components/AccordionGridItem/AccordionGridItem.d.ts +3 -0
- package/lib/cjs/components/AccordionGridItem/AccordionGridItem.js +12 -20
- package/lib/cjs/components/AccordionGridItem/AccordionGridItemBody.d.ts +4 -0
- package/lib/cjs/components/AccordionGridItem/AccordionGridItemBody.js +9 -15
- package/lib/cjs/components/AccordionGridItem/AccordionGridItemHeader.d.ts +4 -0
- package/lib/cjs/components/AccordionGridItem/AccordionGridItemHeader.js +10 -23
- package/lib/cjs/components/AccordionGridItem/index.d.ts +1 -0
- package/lib/cjs/components/AccordionGroup/AccordionGroup.stories.js +12 -1
- package/lib/cjs/components/AccordionGroup/AccordionGroup.test.js +43 -1
- package/lib/cjs/components/AccordionItem/AccordionItem.d.ts +3 -0
- package/lib/cjs/components/AccordionItem/AccordionItem.js +4 -2
- package/lib/cjs/components/ArrayField/ArrayField.js +30 -13
- package/lib/cjs/components/ArrayField/ArrayField.mdx +5 -1
- package/lib/cjs/components/ArrayField/ArrayField.stories.js +127 -90
- package/lib/cjs/components/ArrayField/ArrayField.styles.d.ts +9 -0
- package/lib/cjs/components/ArrayField/ArrayField.styles.js +41 -0
- package/lib/cjs/components/ArrayField/ArrayField.test.js +202 -30
- package/lib/cjs/components/ArrayField/ArrayFieldDeleteButton.js +21 -8
- package/lib/cjs/components/ArrayField/ArrayFieldDeleteButton.styles.d.ts +5 -0
- package/lib/cjs/components/ArrayField/ArrayFieldDeleteButton.styles.js +21 -0
- package/lib/cjs/components/ArrayField/arrayFieldAttributes.d.ts +1 -99
- package/lib/cjs/components/ArrayField/arrayFieldAttributes.js +3 -2
- package/lib/cjs/components/AstroProvider/AstroProvider.d.ts +16 -0
- package/lib/cjs/components/AstroProvider/AstroProvider.js +10 -34
- package/lib/cjs/components/AstroProvider/PageWrapper.test.js +49 -4
- package/lib/cjs/components/AstroProvider/index.d.ts +2 -0
- package/lib/cjs/components/Badge/Badge.js +20 -11
- package/lib/cjs/components/Badge/Badge.mdx +6 -0
- package/lib/cjs/components/Badge/Badge.stories.js +64 -19
- package/lib/cjs/components/Badge/Badge.styles.d.ts +266 -0
- package/lib/cjs/components/Badge/Badge.styles.js +24 -4
- package/lib/cjs/components/Badge/Badge.test.js +165 -1
- package/lib/cjs/components/Badge/BadgeHelpHint.d.ts +8 -0
- package/lib/cjs/components/Badge/BadgeHelpHint.js +84 -0
- package/lib/cjs/components/Badge/Convenience/DefaultBadge.js +5 -2
- package/lib/cjs/components/Badge/Convenience/ErrorCalloutBadge.js +5 -4
- package/lib/cjs/components/Badge/Convenience/InfoCalloutBadge.js +5 -4
- package/lib/cjs/components/Badge/Convenience/SuccessCalloutBadge.js +5 -4
- package/lib/cjs/components/Badge/Convenience/WarningCalloutBadge.js +5 -4
- package/lib/cjs/components/Checkbox/Checkbox.d.ts +9 -0
- package/lib/cjs/components/Checkbox/Checkbox.styles.d.ts +15 -0
- package/lib/cjs/components/Checkbox/CheckboxBase.d.ts +4 -0
- package/lib/cjs/components/Checkbox/CheckboxBase.js +100 -49
- package/lib/cjs/components/Checkbox/CheckboxIcons.d.ts +15 -0
- package/lib/cjs/components/Checkbox/CheckboxIcons.js +122 -0
- package/lib/cjs/components/Checkbox/index.d.ts +1 -0
- package/lib/cjs/components/CheckboxField/CheckboxField.js +5 -1
- package/lib/cjs/components/CheckboxField/CheckboxField.stories.js +1 -1
- package/lib/cjs/components/CheckboxField/CheckboxField.test.js +41 -5
- package/lib/cjs/components/CheckboxFieldGroup/CheckboxFieldGroup.d.ts +4 -0
- package/lib/cjs/components/CheckboxFieldGroup/CheckboxFieldGroup.js +89 -0
- package/lib/cjs/components/CheckboxFieldGroup/CheckboxFieldGroup.mdx +69 -0
- package/lib/cjs/components/CheckboxFieldGroup/CheckboxFieldGroup.stories.js +118 -0
- package/lib/cjs/components/CheckboxFieldGroup/CheckboxFieldGroup.styles.d.ts +8 -0
- package/lib/cjs/components/CheckboxFieldGroup/CheckboxFieldGroup.styles.js +40 -0
- package/lib/cjs/components/CheckboxFieldGroup/CheckboxFieldGroup.test.js +485 -0
- package/lib/cjs/components/CheckboxFieldGroup/CheckboxFieldGroupItem.d.ts +4 -0
- package/lib/cjs/components/CheckboxFieldGroup/CheckboxFieldGroupItem.js +112 -0
- package/lib/cjs/components/CheckboxFieldGroup/checkboxFieldGroupAttributes.d.ts +2 -0
- package/lib/cjs/components/CheckboxFieldGroup/checkboxFieldGroupAttributes.js +108 -0
- package/lib/cjs/components/CheckboxFieldGroup/index.d.ts +3 -0
- package/lib/cjs/components/CheckboxFieldGroup/index.js +27 -0
- package/lib/cjs/components/CodeView/CodeView.js +3 -2
- package/lib/cjs/components/CodeView/CodeView.stories.js +44 -1
- package/lib/cjs/components/CodeView/CodeView.test.js +84 -0
- package/lib/cjs/components/ComboBoxField/ComboBoxField.stories.js +18 -1
- package/lib/cjs/components/CopyText/CopyButton.js +1 -2
- package/lib/cjs/components/DatePicker/DatePicker.test.js +1 -1
- package/lib/cjs/components/EmptyState/EmptyState.d.ts +4 -0
- package/lib/cjs/components/EmptyState/EmptyState.js +66 -0
- package/lib/cjs/components/EmptyState/EmptyState.mdx +44 -0
- package/lib/cjs/components/EmptyState/EmptyState.stories.js +88 -0
- package/lib/cjs/components/EmptyState/EmptyState.styles.d.ts +13 -0
- package/lib/cjs/components/EmptyState/EmptyState.styles.js +22 -0
- package/lib/cjs/components/EmptyState/EmptyState.test.js +223 -0
- package/lib/cjs/components/EmptyState/emptyStateAttributes.d.ts +99 -0
- package/lib/cjs/components/EmptyState/emptyStateAttributes.js +49 -0
- package/lib/cjs/components/EmptyState/index.d.ts +1 -0
- package/lib/cjs/components/EmptyState/index.js +14 -0
- package/lib/cjs/components/HelpHint/HelpHint.js +38 -83
- package/lib/cjs/components/IconBadge/IconBadge.d.ts +2 -0
- package/lib/cjs/components/IconBadge/IconBadge.js +39 -20
- package/lib/cjs/components/IconBadge/IconBadge.mdx +5 -1
- package/lib/cjs/components/IconBadge/IconBadge.stories.js +50 -7
- package/lib/cjs/components/IconBadge/IconBadge.styles.d.ts +19 -0
- package/lib/cjs/components/IconBadge/IconBadge.styles.js +27 -0
- package/lib/cjs/components/IconBadge/IconBadge.test.js +67 -14
- package/lib/cjs/components/IconButton/IconButton.styles.d.ts +3 -0
- package/lib/cjs/components/IconButton/IconButton.styles.js +4 -0
- package/lib/cjs/components/LabelValuePairs/LabelValuePairs.stories.js +1 -0
- package/lib/cjs/components/LabelValuePairs/LabelValuePairs.test.js +18 -1
- package/lib/cjs/components/LabelValuePairs/LabelValuePairsLabel.js +1 -2
- package/lib/cjs/components/ListView/ListView.js +28 -4
- package/lib/cjs/components/ListView/ListView.stories.js +110 -62
- package/lib/cjs/components/ListView/ListView.test.js +80 -0
- package/lib/cjs/components/ListView/ListViewTypes.d.ts +5 -0
- package/lib/cjs/components/ListViewItem/ListViewItem.js +28 -7
- package/lib/cjs/components/ListViewItem/ListViewItem.stories.js +2 -5
- package/lib/cjs/components/ListViewItem/ListViewItem.styles.js +7 -0
- package/lib/cjs/components/ListViewItem/ListViewItem.test.js +36 -5
- package/lib/cjs/components/ListViewItem/listViewItemAttributes.js +9 -1
- package/lib/cjs/components/MultivaluesField/DefaultMultivaluesField.js +8 -0
- package/lib/cjs/components/MultivaluesField/MultivaluesField.stories.js +23 -1
- package/lib/cjs/components/NavBar/NavBar.styles.d.ts +11 -1
- package/lib/cjs/components/PageHeader/PageHeader.js +9 -4
- package/lib/cjs/components/PageHeader/PageHeader.mdx +3 -0
- package/lib/cjs/components/PageHeader/PageHeader.stories.js +14 -4
- package/lib/cjs/components/PageHeader/PageHeader.test.js +57 -3
- package/lib/cjs/components/PanelHeader/PanelHeader.js +36 -8
- package/lib/cjs/components/PanelHeader/PanelHeader.stories.js +2 -5
- package/lib/cjs/components/PanelHeader/PanelHeader.test.js +46 -4
- package/lib/cjs/components/RangeCalendar/RangeCalendar.js +1 -1
- package/lib/cjs/components/RangeCalendar/RangeCalendar.mdx +4 -0
- package/lib/cjs/components/RangeCalendar/RangeCalendar.test.js +30 -0
- package/lib/cjs/components/RangeCalendar/RangeCalendarGrid.js +1 -0
- package/lib/cjs/components/SelectField/SelectField.stories.js +14 -1
- package/lib/cjs/components/Tab/Tab.js +38 -6
- package/lib/cjs/components/Tab/getSlotText.d.ts +6 -0
- package/lib/cjs/components/Tab/getSlotText.js +21 -0
- package/lib/cjs/components/Tab/getSlotText.test.js +23 -0
- package/lib/cjs/components/TabPicker/TabPicker.js +9 -4
- package/lib/cjs/components/Tabs/Tabs.stories.js +63 -14
- package/lib/cjs/components/Tabs/Tabs.storyData.d.ts +1 -0
- package/lib/cjs/components/Tabs/Tabs.storyData.js +8 -0
- package/lib/cjs/components/Tabs/Tabs.style.d.ts +5 -0
- package/lib/cjs/components/Tabs/Tabs.style.js +7 -2
- package/lib/cjs/components/Tabs/Tabs.test.js +85 -37
- package/lib/cjs/context/CheckboxFieldGroupContext/index.d.ts +10 -0
- package/lib/cjs/context/CheckboxFieldGroupContext/index.js +17 -0
- package/lib/cjs/hooks/index.d.ts +1 -0
- package/lib/cjs/hooks/index.js +7 -0
- package/lib/cjs/hooks/useField/useField.d.ts +78 -78
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +14 -0
- package/lib/cjs/hooks/useHelpHintPopover/index.d.ts +2 -0
- package/lib/cjs/hooks/useHelpHintPopover/index.js +32 -0
- package/lib/cjs/hooks/useHelpHintPopover/useHelpHintPopover.d.ts +25 -0
- package/lib/cjs/hooks/useHelpHintPopover/useHelpHintPopover.js +137 -0
- package/lib/cjs/hooks/usePagination/usePagination.d.ts +94 -94
- package/lib/cjs/index.d.ts +4 -0
- package/lib/cjs/index.js +114 -69
- package/lib/cjs/styles/forms/index.js +23 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.d.ts +17 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +18 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.d.ts +6 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +7 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.d.ts +90 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/badges.js +76 -29
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/box.d.ts +14 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/box.js +22 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.d.ts +20 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +20 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/comboBox.d.ts +3 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/comboBox.js +4 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.d.ts +45 -8
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.js +34 -10
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/listview.d.ts +29 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/listview.js +30 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.d.ts +5 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.js +5 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +52 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +12 -1
- package/lib/cjs/styles/themeOverrides/onyxSideNav.d.ts +6 -0
- package/lib/cjs/styles/themes/astro/customProperties/icons.d.ts +6 -0
- package/lib/cjs/styles/themes/astro/customProperties/icons.js +3 -1
- package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +7 -0
- package/lib/cjs/styles/themes/astro/customProperties/index.js +3 -0
- package/lib/cjs/styles/themes/next-gen/codeView/codeView.d.ts +9 -0
- package/lib/cjs/styles/themes/next-gen/codeView/codeView.js +5 -2
- package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +17 -0
- package/lib/cjs/styles/themes/next-gen/colors/twoTone.d.ts +18 -0
- package/lib/cjs/styles/themes/next-gen/colors/twoTone.js +21 -1
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.d.ts +2 -0
- package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +5 -3
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.d.ts +6 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.js +5 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +7 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/index.js +3 -1
- package/lib/cjs/styles/themes/next-gen/forms.d.ts +83 -4
- package/lib/cjs/styles/themes/next-gen/forms.js +51 -8
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +472 -72
- package/lib/cjs/styles/themes/next-gen/spacing.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/spacing.js +2 -1
- package/lib/cjs/styles/themes/next-gen/variants/arrayField.d.ts +9 -0
- package/lib/cjs/styles/themes/next-gen/variants/arrayField.js +71 -0
- package/lib/cjs/styles/themes/next-gen/variants/arrayFieldDeleteButton.d.ts +5 -0
- package/lib/cjs/styles/themes/next-gen/variants/arrayFieldDeleteButton.js +44 -0
- package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +243 -33
- package/lib/cjs/styles/themes/next-gen/variants/badges.js +77 -28
- package/lib/cjs/styles/themes/next-gen/variants/box.d.ts +2 -0
- package/lib/cjs/styles/themes/next-gen/variants/box.js +7 -4
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +41 -29
- package/lib/cjs/styles/themes/next-gen/variants/button.js +25 -2
- package/lib/cjs/styles/themes/next-gen/variants/images.d.ts +6 -1
- package/lib/cjs/styles/themes/next-gen/variants/images.js +8 -1
- package/lib/cjs/styles/themes/next-gen/variants/label.js +33 -1
- package/lib/cjs/styles/themes/next-gen/variants/listview.d.ts +33 -0
- package/lib/cjs/styles/themes/next-gen/variants/listview.js +36 -1
- package/lib/cjs/styles/themes/next-gen/variants/rangeCalendar.d.ts +10 -0
- package/lib/cjs/styles/themes/next-gen/variants/rangeCalendar.js +15 -4
- package/lib/cjs/styles/themes/next-gen/variants/tabs.d.ts +9 -0
- package/lib/cjs/styles/themes/next-gen/variants/tabs.js +12 -3
- package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +5 -1
- package/lib/cjs/styles/themes/next-gen/variants/text.js +6 -2
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +103 -6
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +30 -4
- package/lib/cjs/styles/variants/variants.js +8 -0
- package/lib/cjs/types/AccordionGridGroup.d.ts +36 -0
- package/lib/cjs/types/AccordionGridGroup.js +6 -0
- package/lib/cjs/types/AccordionGridItem.d.ts +52 -0
- package/lib/cjs/types/AccordionGridItem.js +6 -0
- package/lib/cjs/types/AstroProvider.d.ts +32 -0
- package/lib/cjs/types/AstroProvider.js +6 -0
- package/lib/cjs/types/Checkbox.d.ts +44 -0
- package/lib/cjs/types/Checkbox.js +6 -0
- package/lib/cjs/types/badge.d.ts +6 -0
- package/lib/cjs/types/checkboxFieldGroup.d.ts +48 -0
- package/lib/cjs/types/checkboxFieldGroup.js +6 -0
- package/lib/cjs/types/codeView.d.ts +3 -0
- package/lib/cjs/types/emptyState.d.ts +27 -0
- package/lib/cjs/types/emptyState.js +6 -0
- package/lib/cjs/types/iconBadge.d.ts +6 -0
- package/lib/cjs/types/index.d.ts +7 -0
- package/lib/cjs/types/index.js +147 -70
- package/lib/cjs/types/item.d.ts +5 -0
- package/lib/cjs/types/listView.d.ts +3 -0
- package/lib/cjs/types/table.d.ts +2 -0
- package/lib/cjs/utils/designUtils/figmaLinks.d.ts +3 -0
- package/lib/cjs/utils/designUtils/figmaLinks.js +4 -1
- package/lib/components/AccordionGridGroup/AccordionGridGroup.js +6 -56
- package/lib/components/AccordionGridGroup/AccordionGridGroup.stories.js +2 -1
- package/lib/components/AccordionGridItem/AccordionGridItem.js +12 -20
- package/lib/components/AccordionGridItem/AccordionGridItemBody.js +9 -15
- package/lib/components/AccordionGridItem/AccordionGridItemHeader.js +10 -23
- package/lib/components/AccordionGroup/AccordionGroup.stories.js +11 -0
- package/lib/components/AccordionGroup/AccordionGroup.test.js +43 -1
- package/lib/components/AccordionItem/AccordionItem.js +5 -3
- package/lib/components/ArrayField/ArrayField.js +30 -13
- package/lib/components/ArrayField/ArrayField.mdx +5 -1
- package/lib/components/ArrayField/ArrayField.stories.js +126 -89
- package/lib/components/ArrayField/ArrayField.styles.js +34 -0
- package/lib/components/ArrayField/ArrayField.test.js +202 -30
- package/lib/components/ArrayField/ArrayFieldDeleteButton.js +21 -8
- package/lib/components/ArrayField/ArrayFieldDeleteButton.styles.js +14 -0
- package/lib/components/ArrayField/arrayFieldAttributes.js +3 -2
- package/lib/components/AstroProvider/AstroProvider.js +10 -34
- package/lib/components/AstroProvider/PageWrapper.test.js +46 -0
- package/lib/components/Badge/Badge.js +20 -11
- package/lib/components/Badge/Badge.mdx +6 -0
- package/lib/components/Badge/Badge.stories.js +64 -19
- package/lib/components/Badge/Badge.styles.js +25 -5
- package/lib/components/Badge/Badge.test.js +166 -2
- package/lib/components/Badge/BadgeHelpHint.js +74 -0
- package/lib/components/Badge/Convenience/DefaultBadge.js +5 -2
- package/lib/components/Badge/Convenience/ErrorCalloutBadge.js +5 -4
- package/lib/components/Badge/Convenience/InfoCalloutBadge.js +5 -4
- package/lib/components/Badge/Convenience/SuccessCalloutBadge.js +5 -4
- package/lib/components/Badge/Convenience/WarningCalloutBadge.js +5 -4
- package/lib/components/Checkbox/CheckboxBase.js +99 -48
- package/lib/components/Checkbox/CheckboxIcons.js +114 -0
- package/lib/components/CheckboxField/CheckboxField.js +6 -2
- package/lib/components/CheckboxField/CheckboxField.stories.js +1 -1
- package/lib/components/CheckboxField/CheckboxField.test.js +41 -5
- package/lib/components/CheckboxFieldGroup/CheckboxFieldGroup.js +79 -0
- package/lib/components/CheckboxFieldGroup/CheckboxFieldGroup.mdx +69 -0
- package/lib/components/CheckboxFieldGroup/CheckboxFieldGroup.stories.js +111 -0
- package/lib/components/CheckboxFieldGroup/CheckboxFieldGroup.styles.js +33 -0
- package/lib/components/CheckboxFieldGroup/CheckboxFieldGroup.test.js +481 -0
- package/lib/components/CheckboxFieldGroup/CheckboxFieldGroupItem.js +101 -0
- package/lib/components/CheckboxFieldGroup/checkboxFieldGroupAttributes.js +101 -0
- package/lib/components/CheckboxFieldGroup/index.js +3 -0
- package/lib/components/CodeView/CodeView.js +3 -2
- package/lib/components/CodeView/CodeView.stories.js +44 -1
- package/lib/components/CodeView/CodeView.test.js +85 -1
- package/lib/components/ComboBoxField/ComboBoxField.stories.js +18 -1
- package/lib/components/CopyText/CopyButton.js +1 -2
- package/lib/components/DatePicker/DatePicker.test.js +1 -1
- package/lib/components/EmptyState/EmptyState.js +54 -0
- package/lib/components/EmptyState/EmptyState.mdx +44 -0
- package/lib/components/EmptyState/EmptyState.stories.js +81 -0
- package/lib/components/EmptyState/EmptyState.styles.js +15 -0
- package/lib/components/EmptyState/EmptyState.test.js +220 -0
- package/lib/components/EmptyState/emptyStateAttributes.js +42 -0
- package/lib/components/EmptyState/index.js +1 -0
- package/lib/components/HelpHint/HelpHint.js +41 -86
- package/lib/components/IconBadge/IconBadge.js +43 -24
- package/lib/components/IconBadge/IconBadge.mdx +5 -1
- package/lib/components/IconBadge/IconBadge.stories.js +50 -7
- package/lib/components/IconBadge/IconBadge.styles.js +20 -0
- package/lib/components/IconBadge/IconBadge.test.js +54 -1
- package/lib/components/IconButton/IconButton.styles.js +4 -0
- package/lib/components/LabelValuePairs/LabelValuePairs.stories.js +1 -0
- package/lib/components/LabelValuePairs/LabelValuePairs.test.js +19 -2
- package/lib/components/LabelValuePairs/LabelValuePairsLabel.js +1 -2
- package/lib/components/ListView/ListView.js +28 -4
- package/lib/components/ListView/ListView.stories.js +106 -58
- package/lib/components/ListView/ListView.test.js +80 -0
- package/lib/components/ListViewItem/ListViewItem.js +28 -5
- package/lib/components/ListViewItem/ListViewItem.stories.js +3 -6
- package/lib/components/ListViewItem/ListViewItem.styles.js +7 -0
- package/lib/components/ListViewItem/ListViewItem.test.js +33 -2
- package/lib/components/ListViewItem/listViewItemAttributes.js +9 -1
- package/lib/components/MultivaluesField/DefaultMultivaluesField.js +8 -0
- package/lib/components/MultivaluesField/MultivaluesField.stories.js +23 -1
- package/lib/components/PageHeader/PageHeader.js +9 -4
- package/lib/components/PageHeader/PageHeader.mdx +3 -0
- package/lib/components/PageHeader/PageHeader.stories.js +15 -5
- package/lib/components/PageHeader/PageHeader.test.js +58 -4
- package/lib/components/PanelHeader/PanelHeader.js +37 -9
- package/lib/components/PanelHeader/PanelHeader.stories.js +3 -6
- package/lib/components/PanelHeader/PanelHeader.test.js +47 -5
- package/lib/components/RangeCalendar/RangeCalendar.js +1 -1
- package/lib/components/RangeCalendar/RangeCalendar.mdx +4 -0
- package/lib/components/RangeCalendar/RangeCalendar.test.js +30 -0
- package/lib/components/RangeCalendar/RangeCalendarGrid.js +1 -0
- package/lib/components/SelectField/SelectField.stories.js +13 -0
- package/lib/components/Tab/Tab.js +39 -3
- package/lib/components/Tab/getSlotText.js +15 -0
- package/lib/components/Tab/getSlotText.test.js +21 -0
- package/lib/components/TabPicker/TabPicker.js +10 -5
- package/lib/components/Tabs/Tabs.stories.js +62 -11
- package/lib/components/Tabs/Tabs.storyData.js +1 -0
- package/lib/components/Tabs/Tabs.style.js +6 -1
- package/lib/components/Tabs/Tabs.test.js +85 -37
- package/lib/context/CheckboxFieldGroupContext/index.js +10 -0
- package/lib/hooks/index.js +1 -0
- package/lib/hooks/useHelpHintPopover/index.js +2 -0
- package/lib/hooks/useHelpHintPopover/useHelpHintPopover.js +130 -0
- package/lib/index.js +4 -0
- package/lib/styles/forms/index.js +22 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +18 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/badges.js +76 -29
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/box.js +15 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +20 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/comboBox.js +4 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/forms.js +33 -9
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/listview.js +30 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/text.js +5 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +12 -1
- package/lib/styles/themes/astro/customProperties/icons.js +3 -1
- package/lib/styles/themes/astro/customProperties/index.js +3 -0
- package/lib/styles/themes/next-gen/codeView/codeView.js +5 -2
- package/lib/styles/themes/next-gen/colors/twoTone.js +19 -0
- package/lib/styles/themes/next-gen/convertedComponentList.js +5 -3
- package/lib/styles/themes/next-gen/customProperties/icons.js +5 -1
- package/lib/styles/themes/next-gen/customProperties/index.js +3 -1
- package/lib/styles/themes/next-gen/forms.js +50 -7
- package/lib/styles/themes/next-gen/spacing.js +2 -1
- package/lib/styles/themes/next-gen/variants/arrayField.js +64 -0
- package/lib/styles/themes/next-gen/variants/arrayFieldDeleteButton.js +37 -0
- package/lib/styles/themes/next-gen/variants/badges.js +77 -28
- package/lib/styles/themes/next-gen/variants/box.js +7 -4
- package/lib/styles/themes/next-gen/variants/button.js +25 -2
- package/lib/styles/themes/next-gen/variants/images.js +7 -1
- package/lib/styles/themes/next-gen/variants/label.js +33 -1
- package/lib/styles/themes/next-gen/variants/listview.js +35 -1
- package/lib/styles/themes/next-gen/variants/rangeCalendar.js +15 -4
- package/lib/styles/themes/next-gen/variants/tabs.js +11 -2
- package/lib/styles/themes/next-gen/variants/text.js +6 -2
- package/lib/styles/themes/next-gen/variants/variants.js +31 -5
- package/lib/styles/variants/variants.js +8 -0
- package/lib/types/AccordionGridGroup.js +1 -0
- package/lib/types/AccordionGridItem.js +1 -0
- package/lib/types/AstroProvider.js +1 -0
- package/lib/types/Checkbox.js +1 -0
- package/lib/types/checkboxFieldGroup.js +1 -0
- package/lib/types/emptyState.js +1 -0
- package/lib/types/index.js +7 -0
- package/lib/utils/designUtils/figmaLinks.js +4 -1
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -62,6 +62,8 @@ export { default as Checkbox } from './components/Checkbox';
|
|
|
62
62
|
export * from './components/Checkbox';
|
|
63
63
|
export { default as CheckboxField } from './components/CheckboxField';
|
|
64
64
|
export * from './components/CheckboxField';
|
|
65
|
+
export { default as CheckboxFieldGroup, CheckboxFieldGroupItem } from './components/CheckboxFieldGroup';
|
|
66
|
+
export * from './components/CheckboxFieldGroup';
|
|
65
67
|
export { default as CodeEditor } from './components/CodeEditor';
|
|
66
68
|
export { default as CodeView } from './components/CodeView';
|
|
67
69
|
export { default as CollapsiblePanel } from './components/CollapsiblePanel';
|
|
@@ -79,6 +81,8 @@ export * from './components/DataTable';
|
|
|
79
81
|
export { default as DatePicker } from './components/DatePicker';
|
|
80
82
|
export { default as DateField } from './components/DatePicker/DateField';
|
|
81
83
|
export { default as EditButton } from './components/EditButton';
|
|
84
|
+
export { default as EmptyState } from './components/EmptyState';
|
|
85
|
+
export * from './components/EmptyState';
|
|
82
86
|
export { default as EnvironmentBreadcrumb } from './components/EnvironmentBreadcrumb';
|
|
83
87
|
export { default as ExpandableText } from './components/ExpandableText';
|
|
84
88
|
export { default as FieldHelperText } from './components/FieldHelperText';
|
|
@@ -10,6 +10,7 @@ import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
|
10
10
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
11
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
12
|
import * as checkbox from '../../components/Checkbox/Checkbox.styles';
|
|
13
|
+
import checkboxFieldGroup from '../../components/CheckboxFieldGroup/CheckboxFieldGroup.styles';
|
|
13
14
|
import colorField from '../../components/ColorField/ColorField.styles';
|
|
14
15
|
import comboBox from '../../components/ComboBox/ComboBox.styles';
|
|
15
16
|
import datePicker from '../../components/DatePicker/DatePicker.styles';
|
|
@@ -23,15 +24,34 @@ import * as select from '../../components/SelectField/Select.styles';
|
|
|
23
24
|
import * as switchable from '../../components/Switch/Switch.styles'; // 'switch' is a reserved keyword
|
|
24
25
|
import textarea from '../../components/TextArea/TextArea.styles';
|
|
25
26
|
import timeField from '../../components/TimeField/TimeField.styles';
|
|
27
|
+
var labelVariants = _objectSpread(_objectSpread({}, label.label), {}, {
|
|
28
|
+
checkboxFieldGroup: _objectSpread(_objectSpread({}, label.label), {}, {
|
|
29
|
+
mb: 'sm',
|
|
30
|
+
flexWrap: 'wrap'
|
|
31
|
+
}),
|
|
32
|
+
checkboxFieldGroupItem: _objectSpread(_objectSpread({}, label.label.checkbox), {}, {
|
|
33
|
+
minWidth: 0,
|
|
34
|
+
maxWidth: '100%',
|
|
35
|
+
flexWrap: 'wrap',
|
|
36
|
+
'> div': {
|
|
37
|
+
mr: 'md'
|
|
38
|
+
},
|
|
39
|
+
'&.is-disabled, &.is-read-only': {
|
|
40
|
+
color: 'inherit'
|
|
41
|
+
}
|
|
42
|
+
})
|
|
43
|
+
});
|
|
26
44
|
|
|
27
45
|
// See ThemeUI docs on variants and themes for intended structure
|
|
28
46
|
// Variants should be defined in the approprate file.
|
|
29
|
-
export default _objectSpread(_objectSpread(_objectSpread(_objectSpread(
|
|
47
|
+
export default _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, checkbox), {}, {
|
|
48
|
+
checkboxFieldGroup: checkboxFieldGroup,
|
|
30
49
|
colorField: colorField,
|
|
31
50
|
comboBox: comboBox,
|
|
32
51
|
datePicker: datePicker,
|
|
33
52
|
fileInputField: fileInputField
|
|
34
|
-
}, input),
|
|
53
|
+
}, input), {}, {
|
|
54
|
+
label: labelVariants,
|
|
35
55
|
numberField: numberField,
|
|
36
56
|
radio: radio
|
|
37
57
|
}, select), {}, {
|
|
@@ -30,7 +30,7 @@ var border = {
|
|
|
30
30
|
input: astroTokensDark.color.gray[500],
|
|
31
31
|
separator: chroma.mix('#23282e', 'white', 0.15, 'rgb').hex(),
|
|
32
32
|
attachment: '#39414b',
|
|
33
|
-
hairline:
|
|
33
|
+
hairline: astroTokensDark.color.common.border
|
|
34
34
|
};
|
|
35
35
|
var badge = {
|
|
36
36
|
background: astroTokensDark.color.gray[800],
|
|
@@ -81,6 +81,23 @@ var twoTone = {
|
|
|
81
81
|
lightGreen: 'black',
|
|
82
82
|
lightYellow: 'black',
|
|
83
83
|
lightIndigo: 'black'
|
|
84
|
+
},
|
|
85
|
+
secondary: {
|
|
86
|
+
orange: astroTokensDark.color.orange[500],
|
|
87
|
+
cyan: astroTokensDark.color.cyan[500],
|
|
88
|
+
green: astroTokensDark.color.green[500],
|
|
89
|
+
purple: astroTokensDark.color.purple[500],
|
|
90
|
+
pink: astroTokensDark.color.pink[500],
|
|
91
|
+
red: astroTokensDark.color.red[500],
|
|
92
|
+
yellow: astroTokensDark.color.yellow[500],
|
|
93
|
+
teal: astroTokensDark.color.teal[500],
|
|
94
|
+
blue: astroTokensDark.color.blue[500],
|
|
95
|
+
indigo: astroTokensDark.color.indigo[500],
|
|
96
|
+
lightBlue: astroTokensDark.color.blue[600],
|
|
97
|
+
lightPink: astroTokensDark.color.pink[600],
|
|
98
|
+
lightGreen: astroTokensDark.color.green[800],
|
|
99
|
+
lightYellow: astroTokensDark.color.yellow[800],
|
|
100
|
+
lightIndigo: astroTokensDark.color.indigo[700]
|
|
84
101
|
}
|
|
85
102
|
};
|
|
86
103
|
var iconWrapper = {
|
|
@@ -57,11 +57,46 @@ var dark = {
|
|
|
57
57
|
color: astroTokensDark.color.gray[100]
|
|
58
58
|
}
|
|
59
59
|
};
|
|
60
|
-
var activeStatusBadge = _objectSpread({}, primary)
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
var activeStatusBadge = _objectSpread(_objectSpread({}, primary), {}, {
|
|
61
|
+
'& svg': {
|
|
62
|
+
color: 'inherit',
|
|
63
|
+
path: {
|
|
64
|
+
fill: 'black'
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
var warningStatusBadge = _objectSpread(_objectSpread({}, warning), {}, {
|
|
69
|
+
'& svg': {
|
|
70
|
+
color: 'inherit',
|
|
71
|
+
path: {
|
|
72
|
+
fill: 'black'
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
var criticalStatusBadge = _objectSpread(_objectSpread({}, danger), {}, {
|
|
77
|
+
'& svg': {
|
|
78
|
+
color: 'inherit',
|
|
79
|
+
path: {
|
|
80
|
+
fill: 'black'
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
});
|
|
84
|
+
var healthyStatusBadge = _objectSpread(_objectSpread({}, success), {}, {
|
|
85
|
+
'& svg': {
|
|
86
|
+
color: 'inherit',
|
|
87
|
+
path: {
|
|
88
|
+
fill: 'black'
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
var secondaryStatusBadge = _objectSpread(_objectSpread({}, secondary), {}, {
|
|
93
|
+
'& svg': {
|
|
94
|
+
color: 'inherit',
|
|
95
|
+
path: {
|
|
96
|
+
fill: astroTokensDark.color.gray[100]
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
});
|
|
65
100
|
var countBadge = {
|
|
66
101
|
backgroundColor: '#F6F8FA !important',
|
|
67
102
|
'& span': {
|
|
@@ -103,6 +138,30 @@ var itemBadgeWithSlot = _objectSpread(_objectSpread({}, selectedItemBadge), {},
|
|
|
103
138
|
}
|
|
104
139
|
}
|
|
105
140
|
});
|
|
141
|
+
var removableBadge = {
|
|
142
|
+
backgroundColor: "".concat(astroTokensDark.color.gray[700], " !important"),
|
|
143
|
+
'& span': {
|
|
144
|
+
color: astroTokensDark.color.gray[100]
|
|
145
|
+
},
|
|
146
|
+
'& svg': {
|
|
147
|
+
color: astroTokensDark.color.gray[100],
|
|
148
|
+
path: {
|
|
149
|
+
fill: astroTokensDark.color.gray[100]
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
};
|
|
153
|
+
var invertedRemovableBadge = {
|
|
154
|
+
backgroundColor: "".concat(astroTokensDark.color.gray[100], " !important"),
|
|
155
|
+
'& span': {
|
|
156
|
+
color: astroTokensDark.color.gray[700]
|
|
157
|
+
},
|
|
158
|
+
'& svg': {
|
|
159
|
+
color: astroTokensDark.color.gray[700],
|
|
160
|
+
path: {
|
|
161
|
+
fill: astroTokensDark.color.gray[700]
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
};
|
|
106
165
|
var tableBaseBadgeSpanStyle = {
|
|
107
166
|
fontSize: '11.25px',
|
|
108
167
|
lineHeight: '1'
|
|
@@ -141,6 +200,12 @@ var tableBaseBadge = {
|
|
|
141
200
|
};
|
|
142
201
|
var badges = {
|
|
143
202
|
baseBadge: baseBadge,
|
|
203
|
+
convenienceDefault: {
|
|
204
|
+
backgroundColor: "".concat(astroTokensDark.color.gray.light, " !important"),
|
|
205
|
+
'& span': {
|
|
206
|
+
color: astroTokensDark.color.font.base
|
|
207
|
+
}
|
|
208
|
+
},
|
|
144
209
|
primary: primary,
|
|
145
210
|
secondary: secondary,
|
|
146
211
|
success: success,
|
|
@@ -160,30 +225,12 @@ var badges = {
|
|
|
160
225
|
readOnlyBadge: readOnlyBadge,
|
|
161
226
|
readOnlyFieldBadge: readOnlyFieldBadge,
|
|
162
227
|
itemBadgeWithSlot: itemBadgeWithSlot,
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
},
|
|
169
|
-
infoCalloutBadge: {
|
|
170
|
-
backgroundColor: '#23282e !important',
|
|
171
|
-
'& span': {
|
|
172
|
-
color: 'font.base'
|
|
173
|
-
}
|
|
174
|
-
},
|
|
175
|
-
successCalloutBadge: {
|
|
176
|
-
backgroundColor: '#23282e !important',
|
|
177
|
-
'& span': {
|
|
178
|
-
color: 'font.base'
|
|
179
|
-
}
|
|
180
|
-
},
|
|
181
|
-
warningCalloutBadge: {
|
|
182
|
-
backgroundColor: '#23282e !important',
|
|
183
|
-
'& span': {
|
|
184
|
-
color: 'font.base'
|
|
185
|
-
}
|
|
186
|
-
},
|
|
228
|
+
removableBadge: removableBadge,
|
|
229
|
+
invertedRemovableBadge: invertedRemovableBadge,
|
|
230
|
+
errorCalloutBadge: _objectSpread({}, criticalStatusBadge),
|
|
231
|
+
infoCalloutBadge: _objectSpread({}, activeStatusBadge),
|
|
232
|
+
successCalloutBadge: _objectSpread({}, healthyStatusBadge),
|
|
233
|
+
warningCalloutBadge: _objectSpread({}, warningStatusBadge),
|
|
187
234
|
tableBaseBadge: tableBaseBadge
|
|
188
235
|
};
|
|
189
236
|
export default badges;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export var box = {
|
|
2
|
+
indeterminateCheckboxIcon: {
|
|
3
|
+
height: '16px',
|
|
4
|
+
width: '16px',
|
|
5
|
+
color: 'primary',
|
|
6
|
+
'&.is-disabled': {
|
|
7
|
+
opacity: 0.5,
|
|
8
|
+
// Override base Astro theme's neutral.80 fill so disabled state stays blue at 50%
|
|
9
|
+
'& rect[id="indeterminate-checkbox-icon-wrapper"]': {
|
|
10
|
+
fill: 'primary',
|
|
11
|
+
stroke: 'primary'
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
};
|
|
@@ -66,6 +66,23 @@ var iconButtons = {
|
|
|
66
66
|
}
|
|
67
67
|
}),
|
|
68
68
|
modalCloseButton: _objectSpread({}, baseIconButton),
|
|
69
|
+
invertedBadgeDeleteButton: {
|
|
70
|
+
path: {
|
|
71
|
+
fill: astroTokensDark.color.gray[700]
|
|
72
|
+
},
|
|
73
|
+
'&.is-hovered': {
|
|
74
|
+
bg: 'transparent',
|
|
75
|
+
path: {
|
|
76
|
+
fill: astroTokensDark.color.gray[700]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
'&.is-pressed': {
|
|
80
|
+
bg: 'transparent',
|
|
81
|
+
path: {
|
|
82
|
+
fill: astroTokensDark.color.gray[700]
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
69
86
|
modalHeaderCloseButton: _objectSpread({}, baseIconButton),
|
|
70
87
|
messageCloseButton: _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
71
88
|
'&.is-hovered': {
|
|
@@ -174,6 +191,9 @@ var buttons = {
|
|
|
174
191
|
path: {
|
|
175
192
|
fill: 'black'
|
|
176
193
|
}
|
|
194
|
+
},
|
|
195
|
+
'> span': {
|
|
196
|
+
color: 'black'
|
|
177
197
|
}
|
|
178
198
|
},
|
|
179
199
|
inlineWithIcon: {
|
|
@@ -19,6 +19,7 @@ export var select = {
|
|
|
19
19
|
borderColor: '#69788B !important',
|
|
20
20
|
color: 'text.primary',
|
|
21
21
|
height: astroTokensDark.size.input.height,
|
|
22
|
+
pr: astroTokensDark.spacing.input['padding-x'],
|
|
22
23
|
'&.is-disabled': {
|
|
23
24
|
opacity: 1,
|
|
24
25
|
borderColor: 'border.input',
|
|
@@ -28,21 +29,45 @@ export var select = {
|
|
|
28
29
|
color: 'text.primary'
|
|
29
30
|
}
|
|
30
31
|
};
|
|
31
|
-
export var radio = {
|
|
32
|
-
base: {
|
|
33
|
-
color: 'text.primary'
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
32
|
export var checkbox = {
|
|
37
|
-
color:
|
|
33
|
+
color: astroTokensDark.color.gray[500],
|
|
34
|
+
'& rect[id="unchecked-bg"]': {
|
|
35
|
+
fill: astroTokensDark.color.gray[900]
|
|
36
|
+
},
|
|
37
|
+
'input:checked ~ &': {
|
|
38
|
+
color: 'primary'
|
|
39
|
+
},
|
|
40
|
+
// The input is visually hidden; use the focus state propagated to the label for the outline.
|
|
41
|
+
'.is-focused &': {
|
|
42
|
+
outline: '2px solid',
|
|
43
|
+
outlineColor: astroTokensDark.color.blue[400],
|
|
44
|
+
outlineOffset: '2px'
|
|
45
|
+
},
|
|
46
|
+
'input:disabled ~ &': {
|
|
47
|
+
opacity: 0.5
|
|
48
|
+
}
|
|
38
49
|
};
|
|
39
50
|
var label = {
|
|
40
51
|
color: astroTokensDark.color.gray[100],
|
|
41
52
|
radioGroup: {
|
|
42
|
-
color:
|
|
53
|
+
color: astroTokensDark.color.input.text
|
|
43
54
|
},
|
|
44
55
|
radio: {
|
|
45
|
-
color:
|
|
56
|
+
color: astroTokensDark.color.input.text
|
|
57
|
+
},
|
|
58
|
+
checkboxFieldGroup: {
|
|
59
|
+
color: 'text.primary'
|
|
60
|
+
},
|
|
61
|
+
checkboxFieldGroupItem: {
|
|
62
|
+
color: 'text.primary',
|
|
63
|
+
'&.is-disabled, &.is-read-only': {
|
|
64
|
+
color: 'text.primary'
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
checkbox: {
|
|
68
|
+
'&.is-disabled': {
|
|
69
|
+
color: astroTokensDark.color.gray[100]
|
|
70
|
+
}
|
|
46
71
|
}
|
|
47
72
|
};
|
|
48
73
|
var selectOption = {
|
|
@@ -92,7 +117,6 @@ var numberField = {
|
|
|
92
117
|
export default {
|
|
93
118
|
input: input,
|
|
94
119
|
checkbox: checkbox,
|
|
95
|
-
radio: radio,
|
|
96
120
|
label: label,
|
|
97
121
|
search: search,
|
|
98
122
|
select: _objectSpread(_objectSpread({}, select), {}, {
|
|
@@ -1,6 +1,36 @@
|
|
|
1
1
|
import { astroTokensDark } from '@pingux/onyx-tokens';
|
|
2
|
+
import { borderRadius } from '../../../themes/next-gen/variants/listview';
|
|
2
3
|
import { colors } from '../colors';
|
|
3
4
|
export var listViewItem = {
|
|
5
|
+
container: {
|
|
6
|
+
bg: 'backgroundBase',
|
|
7
|
+
'&.is-selected': {
|
|
8
|
+
bg: 'background.hover'
|
|
9
|
+
},
|
|
10
|
+
borderBottom: 'none',
|
|
11
|
+
'&.has-separator': {
|
|
12
|
+
borderBottom: '1px solid',
|
|
13
|
+
borderBottomColor: 'border.attachment'
|
|
14
|
+
},
|
|
15
|
+
'&.is-hovered': {
|
|
16
|
+
bg: 'background.hover'
|
|
17
|
+
},
|
|
18
|
+
'&.is-focused': {
|
|
19
|
+
boxShadow: '0 0 0 3px inset #1a73e8',
|
|
20
|
+
bg: 'background.hover'
|
|
21
|
+
},
|
|
22
|
+
'&.is-first-item': {
|
|
23
|
+
borderTopLeftRadius: borderRadius,
|
|
24
|
+
borderTopRightRadius: borderRadius
|
|
25
|
+
},
|
|
26
|
+
'&.is-last-item': {
|
|
27
|
+
borderBottomLeftRadius: borderRadius,
|
|
28
|
+
borderBottomRightRadius: borderRadius,
|
|
29
|
+
'&.has-separator': {
|
|
30
|
+
border: 'none'
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
},
|
|
4
34
|
styledListItem: {
|
|
5
35
|
'&.has-separator': {
|
|
6
36
|
borderBottom: '1px solid',
|
|
@@ -57,8 +57,11 @@ export var text = {
|
|
|
57
57
|
},
|
|
58
58
|
tabLabel: {
|
|
59
59
|
color: astroTokensDark.color.font.base,
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
fontWeight: 0,
|
|
61
|
+
lineHeight: 'sm',
|
|
62
|
+
wordBreak: 'break-word',
|
|
63
|
+
'.is-disabled &': {
|
|
64
|
+
opacity: 0.65
|
|
62
65
|
},
|
|
63
66
|
'.is-selected &, .is-hovered &': {
|
|
64
67
|
color: astroTokensDark.color.font.link
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { astroTokensDark } from '@pingux/onyx-tokens';
|
|
2
|
+
import { colors } from '../colors';
|
|
2
3
|
import { avatar } from './avatar';
|
|
4
|
+
import { box } from './box';
|
|
3
5
|
import callout from './callout';
|
|
4
6
|
import { footer } from './footer';
|
|
5
7
|
import iconBadge from './iconBadge';
|
|
@@ -42,7 +44,11 @@ var listBox = {
|
|
|
42
44
|
}
|
|
43
45
|
}
|
|
44
46
|
};
|
|
45
|
-
var tab = {
|
|
47
|
+
var tab = {
|
|
48
|
+
'&.is-selected > span': {
|
|
49
|
+
color: 'link'
|
|
50
|
+
}
|
|
51
|
+
};
|
|
46
52
|
var modal = {
|
|
47
53
|
content: {
|
|
48
54
|
bg: 'backgroundBase'
|
|
@@ -176,6 +182,7 @@ var environmentBreadcrumb = {
|
|
|
176
182
|
}
|
|
177
183
|
};
|
|
178
184
|
export default {
|
|
185
|
+
box: box,
|
|
179
186
|
rockerButton: rockerButton,
|
|
180
187
|
rangeCalendar: rangeCalendar,
|
|
181
188
|
attachment: attachment,
|
|
@@ -191,6 +198,10 @@ export default {
|
|
|
191
198
|
environmentBreadcrumb: environmentBreadcrumb,
|
|
192
199
|
modal: modal,
|
|
193
200
|
tab: tab,
|
|
201
|
+
tabPickerExpandIcon: {
|
|
202
|
+
color: astroTokensDark.color.gray[100],
|
|
203
|
+
fill: "".concat(colors.secondary, " !important")
|
|
204
|
+
},
|
|
194
205
|
iconBadge: iconBadge,
|
|
195
206
|
skeleton: skeleton,
|
|
196
207
|
stepper: stepper,
|
|
@@ -9,6 +9,8 @@ import AlertIcon from '@pingux/mdi-react/AlertIcon';
|
|
|
9
9
|
import WarningIcon from '@pingux/mdi-react/AlertOutlineIcon';
|
|
10
10
|
import ApplicationOutlineIcon from '@pingux/mdi-react/ApplicationOutlineIcon';
|
|
11
11
|
import ArrowDownIcon from '@pingux/mdi-react/ArrowDownIcon';
|
|
12
|
+
import ArrowDropDownIcon from '@pingux/mdi-react/ArrowDropDownIcon';
|
|
13
|
+
import ArrowDropUpIcon from '@pingux/mdi-react/ArrowDropUpIcon';
|
|
12
14
|
import ArrowUpIcon from '@pingux/mdi-react/ArrowUpIcon';
|
|
13
15
|
import CameraAltIcon from '@pingux/mdi-react/CameraAltIcon';
|
|
14
16
|
import ChatIcon from '@pingux/mdi-react/ChatIcon';
|
|
@@ -63,4 +65,4 @@ var HelpIcon = function HelpIcon() {
|
|
|
63
65
|
fill: "#3B4A58"
|
|
64
66
|
}));
|
|
65
67
|
};
|
|
66
|
-
export default (_statuses$DEFAULT$sta = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, statuses.DEFAULT, InformationIcon), statuses.ERROR, AlertCircleIcon), statuses.SUCCESS, CheckCircleIcon), statuses.WARNING, AlertIcon), statusIcon.CRITICAL, AlertCircleOutlineIcon), statusIcon.FATAL, CloseOctagonOutlineIcon), statusIcon.INFO, InformationOutlineIcon), statusIcon.MAJOR, ArrowUpIcon), statusIcon.MINOR, ArrowDownIcon), statusIcon.WARNING_NEUTRAL, WarningIcon), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "aic", Aic), "applicationsIcon", ApplicationOutlineIcon), "Ascending", MenuUp), "authenticationIcon", CheckCircleOutlineIcon), "clipboard", Clipboard), "CreateIcon", CreateIcon), "daVinci", DaVinci), "DefaultCircle", DefaultCircle), "Descending", MenuDown), "popoverMenuIcon", MoreVertIcon), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "ErrorCircle", AlertCircleIcon), "integrationsIcon", ConnectionIcon), "listViewMenu", MoreVertIcon), "mdiAccountCog", mdiAccountCog), "mdiAccountMultiple", AccountMultiple), "mdiEarth", Earth), "mdiEmoticonHappyOutline", EmoticonHappy), "mdiFingerprint", Fingerprint), "mdiPlayCircleIcon", PlayCircle), "mdiScaleBalance", ScaleBalance), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "mdiShoCard", Credentials), "mdiTransitConnectionVariant", TransitConnection), "mdiViewDashboard", ViewDashboard), "mdiWeb", GlobeIcon), "MenuDown", MenuDown), "MenuUp", MenuUp), "
|
|
68
|
+
export default (_statuses$DEFAULT$sta = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, statuses.DEFAULT, InformationIcon), statuses.ERROR, AlertCircleIcon), statuses.SUCCESS, CheckCircleIcon), statuses.WARNING, AlertIcon), statusIcon.CRITICAL, AlertCircleOutlineIcon), statusIcon.FATAL, CloseOctagonOutlineIcon), statusIcon.INFO, InformationOutlineIcon), statusIcon.MAJOR, ArrowUpIcon), statusIcon.MINOR, ArrowDownIcon), statusIcon.WARNING_NEUTRAL, WarningIcon), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "aic", Aic), "applicationsIcon", ApplicationOutlineIcon), "Ascending", MenuUp), "authenticationIcon", CheckCircleOutlineIcon), "clipboard", Clipboard), "CreateIcon", CreateIcon), "daVinci", DaVinci), "DefaultCircle", DefaultCircle), "Descending", MenuDown), "popoverMenuIcon", MoreVertIcon), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "ErrorCircle", AlertCircleIcon), "integrationsIcon", ConnectionIcon), "listViewMenu", MoreVertIcon), "mdiAccountCog", mdiAccountCog), "mdiAccountMultiple", AccountMultiple), "mdiEarth", Earth), "mdiEmoticonHappyOutline", EmoticonHappy), "mdiFingerprint", Fingerprint), "mdiPlayCircleIcon", PlayCircle), "mdiScaleBalance", ScaleBalance), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "mdiShoCard", Credentials), "mdiTransitConnectionVariant", TransitConnection), "mdiViewDashboard", ViewDashboard), "mdiWeb", GlobeIcon), "MenuDown", MenuDown), "MenuUp", MenuUp), "tabPickerDown", ArrowDropDownIcon), "tabPickerUp", ArrowDropUpIcon), "monitoringIcon", PulseIcon), "openInNew", OpenInNew), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "overviewIcon", WebIcon), "p1verify", Verify), "pam", PamIcon), "PingAuthorize", KeyChainVariant), "HomeIcon", HomeIcon), "pingLogoHorizontalSmall", pingLogoHorizontalSmallWhite), "protect", Protect), "rocketLaunchIcon", RocketLaunchIcon), "shareFeedbackIcon", ChatIcon), "shieldStar", ShieldStarOutlineIcon), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "SuccessCircle", CheckCircleIcon), "userExperienceIcon", MonitorScreenshotIcon), "WarningIcon", WarningIcon), "CameraOutlineIcon", CameraAltIcon), "ImageOutlineIcon", ImageFilterHdrIcon), "helpHint", HelpIcon), "ModalCloseIcon", CloseIcon), "errorCalloutBadge", AlertCircleIcon), "infoCalloutBadge", InformationIcon), "successCalloutBadge", CheckCircleIcon), _defineProperty(_statuses$DEFAULT$sta, "warningCalloutBadge", AlertIcon));
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { hoveredState } from '../../../../components/AccordionGroup/Accordion.styles';
|
|
2
|
+
import { twotoneColorNames } from '../../next-gen/colors/twoTone';
|
|
2
3
|
import icons from './icons';
|
|
3
4
|
import styles from './styles';
|
|
4
5
|
import tShirtSizes, { iconWrapperSizes } from './tShirtSizes';
|
|
@@ -7,6 +8,7 @@ var breadcrumbIconMargin = 5;
|
|
|
7
8
|
var breadcrumbIconSize = 'xs';
|
|
8
9
|
var accordionItemDefaultLabelTag = 'span';
|
|
9
10
|
var iconBadgeCircleColor = 'white';
|
|
11
|
+
var iconBadgeTwotoneColorNames = twotoneColorNames;
|
|
10
12
|
var rockerButtonGap = '3px';
|
|
11
13
|
var accordionItemMarginLeft = 'sm';
|
|
12
14
|
var pageHeaderTitleMargin = 'xs';
|
|
@@ -36,6 +38,7 @@ export var astroThemeValues = {
|
|
|
36
38
|
styles: styles,
|
|
37
39
|
tShirtSizes: tShirtSizes,
|
|
38
40
|
iconBadgeCircleColor: iconBadgeCircleColor,
|
|
41
|
+
iconBadgeTwotoneColorNames: iconBadgeTwotoneColorNames,
|
|
39
42
|
iconWrapperSizes: iconWrapperSizes,
|
|
40
43
|
iFrameContentDivBackgroundColor: iFrameContentDivBackgroundColor,
|
|
41
44
|
copyButtonSize: copyButtonSize,
|
|
@@ -144,17 +144,20 @@ var lineNo = {
|
|
|
144
144
|
backgroundColor: 'transparent'
|
|
145
145
|
};
|
|
146
146
|
export var copyButton = {
|
|
147
|
+
path: {
|
|
148
|
+
fill: 'text.primary'
|
|
149
|
+
},
|
|
147
150
|
"default": {
|
|
148
151
|
mx: 'sm',
|
|
149
152
|
path: {
|
|
150
|
-
fill: '
|
|
153
|
+
fill: 'white'
|
|
151
154
|
},
|
|
152
155
|
border: 'none !important'
|
|
153
156
|
},
|
|
154
157
|
light: {
|
|
155
158
|
mx: 'sm',
|
|
156
159
|
path: {
|
|
157
|
-
fill: '
|
|
160
|
+
fill: 'black'
|
|
158
161
|
},
|
|
159
162
|
border: 'none !important'
|
|
160
163
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import _Object$keys from "@babel/runtime-corejs3/core-js-stable/object/keys";
|
|
1
2
|
import { astroTokens } from '@pingux/onyx-tokens';
|
|
2
3
|
var twoTone = {
|
|
3
4
|
bg: {
|
|
@@ -33,6 +34,24 @@ var twoTone = {
|
|
|
33
34
|
lightGreen: astroTokens.color.green[800],
|
|
34
35
|
lightYellow: astroTokens.color.yellow[800],
|
|
35
36
|
lightIndigo: astroTokens.color.indigo[700]
|
|
37
|
+
},
|
|
38
|
+
secondary: {
|
|
39
|
+
orange: astroTokens.color.orange[800],
|
|
40
|
+
cyan: astroTokens.color.cyan[800],
|
|
41
|
+
green: astroTokens.color.green[800],
|
|
42
|
+
purple: astroTokens.color.purple[800],
|
|
43
|
+
pink: astroTokens.color.pink[800],
|
|
44
|
+
red: astroTokens.color.red[800],
|
|
45
|
+
yellow: astroTokens.color.yellow[800],
|
|
46
|
+
teal: astroTokens.color.teal[800],
|
|
47
|
+
blue: astroTokens.color.blue[600],
|
|
48
|
+
indigo: astroTokens.color.indigo[700],
|
|
49
|
+
lightBlue: astroTokens.color.blue[500],
|
|
50
|
+
lightPink: astroTokens.color.pink[600],
|
|
51
|
+
lightGreen: astroTokens.color.green[800],
|
|
52
|
+
lightYellow: astroTokens.color.yellow[800],
|
|
53
|
+
lightIndigo: astroTokens.color.indigo[700]
|
|
36
54
|
}
|
|
37
55
|
};
|
|
56
|
+
export var twotoneColorNames = _Object$keys(twoTone.text);
|
|
38
57
|
export default twoTone;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var nextGenConvertedComponents = ['AccordionGridGroup', 'AccordionGroup', 'ArrayField', 'AstroProvider', 'Avatar', 'Badge', 'Base Components', 'Breadcrumbs', 'Button', 'ButtonBar', 'Callout', 'Card', 'CheckboxField', 'CodeView', 'ColorField', 'ComboBoxField', 'CopyText', 'DataTable', 'EnvironmentBreadcrumb', 'GridList', 'HelpHint', 'Icon', 'MaterialSymbolIcon', 'IconBadge', 'IconButton', 'IconWrapper', 'ImageUploadField', 'Loader', 'Link', 'LinkSelectField', 'ListView', 'ListViewItem', 'Message', 'Messages', 'Modal', 'MultiValuesField', 'MultivaluesField', 'NavBar', 'NavList', 'NavigationHeader', 'NextGen ListViewItem', 'NumberField', 'OverlayPanel', 'PageHeader', 'Pagination', 'PanelHeader', 'PasswordField', 'PhoneNumberField', 'PopoverMenu', 'ProgressBar', 'RadioField', 'RadioGroupField', 'RangeCalendar', 'RequirementsList', 'RockerButtonGroup', 'SearchField', 'SelectField', 'Skeleton', 'SliderField', 'Stepper', 'Sticker Sheet', 'SwitchField', 'StatusIcon', 'Table', 'TableBase', 'Tabs', 'Text', 'TextAreaField', 'TextField', 'TooltipTrigger', 'ArrayField', 'ColorField', 'LinkSelectField', 'NumberField', 'SwitchField', 'Base Components', 'SliderField', 'ServerErrorBoundary', 'Avatar', 'Box', 'TimeField', 'LabelValuePairs'];
|
|
1
|
+
var nextGenConvertedComponents = ['AccordionGridGroup', 'AccordionGroup', 'ArrayField', 'AstroProvider', 'Avatar', 'Badge', 'Base Components', 'Breadcrumbs', 'Button', 'ButtonBar', 'Callout', 'Card', 'CheckboxField', 'CheckboxFieldGroup', 'CodeView', 'ColorField', 'ComboBoxField', 'CopyText', 'DataTable', 'EnvironmentBreadcrumb', 'GridList', 'HelpHint', 'Icon', 'MaterialSymbolIcon', 'IconBadge', 'IconButton', 'IconWrapper', 'ImageUploadField', 'Loader', 'Link', 'LinkSelectField', 'ListView', 'ListViewItem', 'Message', 'Messages', 'Modal', 'MultiValuesField', 'MultivaluesField', 'NavBar', 'NavList', 'NavigationHeader', 'NextGen ListViewItem', 'NumberField', 'OverlayPanel', 'PageHeader', 'Pagination', 'PanelHeader', 'PasswordField', 'PhoneNumberField', 'PopoverMenu', 'ProgressBar', 'RadioField', 'RadioGroupField', 'RangeCalendar', 'RequirementsList', 'RockerButtonGroup', 'SearchField', 'SelectField', 'Skeleton', 'SliderField', 'Stepper', 'Sticker Sheet', 'SwitchField', 'StatusIcon', 'Table', 'TableBase', 'Tabs', 'Text', 'TextAreaField', 'TextField', 'TooltipTrigger', 'ArrayField', 'ColorField', 'LinkSelectField', 'NumberField', 'SwitchField', 'Base Components', 'SliderField', 'ServerErrorBoundary', 'Avatar', 'Box', 'TimeField', 'LabelValuePairs'];
|
|
2
2
|
export var componentSpecificNextGenBlacklist = {
|
|
3
3
|
AstroProvider: ['Default', 'With Custom Theme Override'],
|
|
4
4
|
Messages: ['Customization'],
|
|
@@ -8,7 +8,8 @@ export var componentSpecificNextGenBlacklist = {
|
|
|
8
8
|
DataTable: ['Default'],
|
|
9
9
|
Text: ['Default'],
|
|
10
10
|
Tabs: ['Vertical Orientation'],
|
|
11
|
-
AccordionGridGroup: ['Default', 'Accordion With Inputs', 'Controlled']
|
|
11
|
+
AccordionGridGroup: ['Default', 'Accordion With Inputs', 'Controlled'],
|
|
12
|
+
ListView: ['Astro Empty List']
|
|
12
13
|
};
|
|
13
14
|
export var astroBlacklistStory = {
|
|
14
15
|
AccordionGridGroup: ['Onyx Default'],
|
|
@@ -22,10 +23,11 @@ export var astroBlacklistStory = {
|
|
|
22
23
|
Text: ['Onyx'],
|
|
23
24
|
Loader: ['Circular', 'Custom Circular'],
|
|
24
25
|
Card: ['With Shadow'],
|
|
26
|
+
ListView: ['Onyx Default Empty State', 'Custom Render Empty State'],
|
|
25
27
|
ListViewItem: ['With Expandable Item'],
|
|
26
28
|
MaterialSymbolIcon: ['Default', 'Sizes', 'Commonly Used'],
|
|
27
29
|
Modal: ['With Full Page']
|
|
28
30
|
};
|
|
29
|
-
export var nextGenOnlyComponents = ['NavigationHeader', 'Prompt', 'AI Panel', 'Response', 'Suggestions', 'Prompt Input', 'Footer', 'Onyx Input Patterns'];
|
|
31
|
+
export var nextGenOnlyComponents = ['NavigationHeader', 'Prompt', 'AI Panel', 'Response', 'Suggestions', 'Prompt Input', 'Footer', 'Onyx Input Patterns', 'EmptyState'];
|
|
30
32
|
export var onyxOnlyRecipes = ['Vertical Onyx Stepper'];
|
|
31
33
|
export default nextGenConvertedComponents;
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
2
2
|
var _icons;
|
|
3
|
+
import AlertCircleOutlineIcon from '@pingux/mdi-react/AlertCircleOutlineIcon';
|
|
4
|
+
import AlertOutlineIcon from '@pingux/mdi-react/AlertOutlineIcon';
|
|
5
|
+
import CheckCircleOutlineIcon from '@pingux/mdi-react/CheckCircleOutlineIcon';
|
|
3
6
|
import EmoticonHappy from '@pingux/mdi-react/EmoticonHappyOutlineIcon';
|
|
7
|
+
import InformationCircleOutlineIcon from '@pingux/mdi-react/InformationCircleOutlineIcon';
|
|
4
8
|
import Settings from '@pingux/mdi-react/SettingsOutlineIcon';
|
|
5
9
|
import ShieldStarOutlineIcon from '@pingux/mdi-react/ShieldStarOutlineIcon';
|
|
6
10
|
import ShowChartIcon from '@pingux/mdi-react/ShowChartIcon';
|
|
@@ -8,5 +12,5 @@ import TransitConnection from '@pingux/mdi-react/TransitConnectionVariantIcon';
|
|
|
8
12
|
import { pingLogoHorizontalSmall } from '../../../../utils/devUtils/constants/logos';
|
|
9
13
|
import statuses, { statusIcon } from '../../../../utils/devUtils/constants/statuses';
|
|
10
14
|
import { Aic, PamIcon, Protect } from '../../astro/customProperties/navBarIcons';
|
|
11
|
-
var icons = (_icons = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, statuses.DEFAULT, 'info'), statuses.ERROR, 'error'), statuses.SUCCESS, 'check_circle'), statuses.WARNING, 'warning'), statusIcon.CRITICAL, 'error'), statusIcon.FATAL, 'dangerous'), statusIcon.INFO, 'info'), statusIcon.MAJOR, 'arrow_upward'), statusIcon.MINOR, 'arrow_downward'), statusIcon.WARNING_NEUTRAL, 'warning'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "aic", Aic), "applicationsIcon", 'apps'), "Ascending", 'arrow_upward'), "authenticationIcon", 'check_circle'), "clipboard", 'content_paste'), "CreateIcon", 'edit'), "daVinci", 'account_tree'), "DefaultCircle", 'circle'), "Descending", 'arrow_downward'), "popoverMenuIcon", 'more_horiz'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "ErrorCircle", 'error'), "HomeIcon", 'home'), "integrationsIcon", 'widgets'), "listViewMenu", 'more_horiz'), "mdiAccountCog", 'manage_accounts'), "mdiAccountMultiple", 'group'), "mdiEarth", Settings), "mdiEmoticonHappyOutline", EmoticonHappy), "mdiFingerprint", 'fingerprint'), "mdiPlayCircleIcon", 'play_circle'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "mdiScaleBalance", 'balance'), "mdiShoCard", 'id_card'), "mdiTransitConnectionVariant", TransitConnection), "mdiViewDashboard", 'dashboard'), "mdiWeb", 'globe'), "MenuDown", 'keyboard_arrow_down'), "MenuUp", 'keyboard_arrow_up'), "
|
|
15
|
+
var icons = (_icons = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, statuses.DEFAULT, 'info'), statuses.ERROR, 'error'), statuses.SUCCESS, 'check_circle'), statuses.WARNING, 'warning'), statusIcon.CRITICAL, 'error'), statusIcon.FATAL, 'dangerous'), statusIcon.INFO, 'info'), statusIcon.MAJOR, 'arrow_upward'), statusIcon.MINOR, 'arrow_downward'), statusIcon.WARNING_NEUTRAL, 'warning'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "aic", Aic), "applicationsIcon", 'apps'), "Ascending", 'arrow_upward'), "authenticationIcon", 'check_circle'), "clipboard", 'content_paste'), "CreateIcon", 'edit'), "daVinci", 'account_tree'), "DefaultCircle", 'circle'), "Descending", 'arrow_downward'), "popoverMenuIcon", 'more_horiz'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "ErrorCircle", 'error'), "HomeIcon", 'home'), "integrationsIcon", 'widgets'), "listViewMenu", 'more_horiz'), "mdiAccountCog", 'manage_accounts'), "mdiAccountMultiple", 'group'), "mdiEarth", Settings), "mdiEmoticonHappyOutline", EmoticonHappy), "mdiFingerprint", 'fingerprint'), "mdiPlayCircleIcon", 'play_circle'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "mdiScaleBalance", 'balance'), "mdiShoCard", 'id_card'), "mdiTransitConnectionVariant", TransitConnection), "mdiViewDashboard", 'dashboard'), "mdiWeb", 'globe'), "MenuDown", 'keyboard_arrow_down'), "MenuUp", 'keyboard_arrow_up'), "tabPickerDown", 'keyboard_arrow_down'), "tabPickerUp", 'keyboard_arrow_up'), "monitoringIcon", ShowChartIcon), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "openInNew", 'open_in_new'), "overviewIcon", 'dashboard'), "p1verify", 'person_check'), "pam", PamIcon), "PingAuthorize", 'key'), "pingLogoHorizontalSmall", pingLogoHorizontalSmall), "protect", Protect), "rocketLaunchIcon", 'rocket_launch'), "shareFeedbackIcon", 'chat'), "shieldStar", ShieldStarOutlineIcon), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "SuccessCircle", 'check_circle'), "userExperienceIcon", 'palette'), "WarningIcon", 'warning'), "CameraOutlineIcon", 'photo_camera'), "ImageOutlineIcon", 'image'), "helpHint", 'info'), "ModalCloseIcon", 'close'), "errorCalloutBadge", AlertCircleOutlineIcon), "infoCalloutBadge", InformationCircleOutlineIcon), "successCalloutBadge", CheckCircleOutlineIcon), _defineProperty(_icons, "warningCalloutBadge", AlertOutlineIcon));
|
|
12
16
|
export default icons;
|
|
@@ -9,6 +9,7 @@ import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object
|
|
|
9
9
|
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
10
10
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
11
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
|
+
import { twotoneColorNames } from '../colors/twoTone';
|
|
12
13
|
import customSizes from './customSizes';
|
|
13
14
|
import icons from './icons';
|
|
14
15
|
import styles from './styles';
|
|
@@ -20,7 +21,7 @@ var accordionHoveredState = {
|
|
|
20
21
|
}
|
|
21
22
|
};
|
|
22
23
|
var accordionItemDefaultLabelTag = 'h2';
|
|
23
|
-
var iconBadgeCircleColor = '
|
|
24
|
+
var iconBadgeCircleColor = 'backgroundBase';
|
|
24
25
|
var activeColor = '#1a73e8';
|
|
25
26
|
var backgroundBaseColor = 'white';
|
|
26
27
|
var iFrameContentDivBackgroundColor = backgroundBaseColor;
|
|
@@ -46,6 +47,7 @@ export var nextGenThemeValues = _objectSpread({
|
|
|
46
47
|
icons: icons,
|
|
47
48
|
tShirtSizes: tShirtSizes,
|
|
48
49
|
iconBadgeCircleColor: iconBadgeCircleColor,
|
|
50
|
+
iconBadgeTwotoneColorNames: twotoneColorNames,
|
|
49
51
|
iconWrapperSizes: iconWrapperSizes,
|
|
50
52
|
defaultIconColor: defaultIconColor,
|
|
51
53
|
accordionItemDefaultLabelTag: accordionItemDefaultLabelTag,
|