@databricks/design-system 1.9.2 → 1.9.3
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/dist/{Typography-74e19785.js → Spinner-140f57ac.js} +1080 -27
- package/dist/Spinner-140f57ac.js.map +1 -0
- package/dist/common-3ab0e300.js +15 -0
- package/dist/common-3ab0e300.js.map +1 -0
- package/dist/design-system/Button/Button.d.ts +5 -1
- package/dist/design-system/Button/Button.d.ts.map +1 -1
- package/dist/design-system/Button/styles.d.ts.map +1 -1
- package/dist/design-system/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/design-system/DatePicker/DatePicker.d.ts +18 -14
- package/dist/design-system/DatePicker/DatePicker.d.ts.map +1 -1
- package/dist/design-system/Drawer/Drawer.d.ts +6 -1
- package/dist/design-system/Drawer/Drawer.d.ts.map +1 -1
- package/dist/design-system/FormV2/RHFAdapters.d.ts +7 -7
- package/dist/design-system/FormV2/RHFAdapters.d.ts.map +1 -1
- package/dist/design-system/Icon/__generated/icons/index.d.ts +0 -35
- package/dist/design-system/Icon/__generated/icons/index.d.ts.map +1 -1
- package/dist/design-system/LegacyTable/LegacyTable.d.ts +100 -0
- package/dist/design-system/LegacyTable/LegacyTable.d.ts.map +1 -0
- package/dist/design-system/LegacyTable/index.d.ts +2 -0
- package/dist/design-system/LegacyTable/index.d.ts.map +1 -0
- package/dist/design-system/Modal/Modal.d.ts +3 -1
- package/dist/design-system/Modal/Modal.d.ts.map +1 -1
- package/dist/design-system/Notification/Notification.d.ts.map +1 -1
- package/dist/design-system/PageWrapper/PageWrapper.d.ts.map +1 -1
- package/dist/design-system/PopoverV2/PopoverV2.d.ts +1 -0
- package/dist/design-system/PopoverV2/PopoverV2.d.ts.map +1 -1
- package/dist/design-system/Radio/Radio.d.ts.map +1 -1
- package/dist/design-system/SegmentedControl/SegmentedControl.d.ts +0 -2
- package/dist/design-system/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/design-system/SplitButton/Dropdown/DropdownButton.d.ts.map +1 -1
- package/dist/design-system/Table/index.d.ts +1 -1
- package/dist/design-system/ToggleButton/ToggleButton.d.ts.map +1 -1
- package/dist/design-system/ToggleButton/index.d.ts +2 -0
- package/dist/design-system/ToggleButton/index.d.ts.map +1 -0
- package/dist/design-system/index.d.ts +2 -1
- package/dist/design-system/index.d.ts.map +1 -1
- package/dist/development/Filter/Filter.d.ts +10 -0
- package/dist/development/Filter/Filter.d.ts.map +1 -0
- package/dist/development/Filter/Filter.test.d.ts +2 -0
- package/dist/development/Filter/Filter.test.d.ts.map +1 -0
- package/dist/development/Filter/FilterButtonContainer.d.ts +2 -0
- package/dist/development/Filter/FilterButtonContainer.d.ts.map +1 -0
- package/dist/development/Filter/FilterContent.d.ts +14 -0
- package/dist/development/Filter/FilterContent.d.ts.map +1 -0
- package/dist/development/Filter/FilterCountBadge.d.ts +2 -0
- package/dist/development/Filter/FilterCountBadge.d.ts.map +1 -0
- package/dist/development/Filter/FilterLoadingSpinner.d.ts +2 -0
- package/dist/development/Filter/FilterLoadingSpinner.d.ts.map +1 -0
- package/dist/development/Filter/FilterOptionControlledList.d.ts +9 -0
- package/dist/development/Filter/FilterOptionControlledList.d.ts.map +1 -0
- package/dist/development/Filter/FilterOptionList.d.ts +10 -0
- package/dist/development/Filter/FilterOptionList.d.ts.map +1 -0
- package/dist/development/Filter/FilterOptionListCheckboxItem.d.ts +11 -0
- package/dist/development/Filter/FilterOptionListCheckboxItem.d.ts.map +1 -0
- package/dist/development/Filter/FilterOptionListSearch.d.ts +7 -0
- package/dist/development/Filter/FilterOptionListSearch.d.ts.map +1 -0
- package/dist/development/Filter/FilterOptionListSelectItem.d.ts +10 -0
- package/dist/development/Filter/FilterOptionListSelectItem.d.ts.map +1 -0
- package/dist/development/Filter/FilterSectionHeader.d.ts +2 -0
- package/dist/development/Filter/FilterSectionHeader.d.ts.map +1 -0
- package/dist/development/Filter/FilterSeparator.d.ts +2 -0
- package/dist/development/Filter/FilterSeparator.d.ts.map +1 -0
- package/dist/development/Filter/FilterTrigger.d.ts +15 -0
- package/dist/development/Filter/FilterTrigger.d.ts.map +1 -0
- package/dist/development/Filter/hooks/useFilterContext.d.ts +2 -0
- package/dist/development/Filter/hooks/useFilterContext.d.ts.map +1 -0
- package/dist/development/Filter/hooks/useFilterOptionListContext.d.ts +2 -0
- package/dist/development/Filter/hooks/useFilterOptionListContext.d.ts.map +1 -0
- package/dist/development/Filter/index.d.ts +14 -0
- package/dist/development/Filter/index.d.ts.map +1 -0
- package/dist/development/Filter/providers/FilterContext.d.ts +15 -0
- package/dist/development/Filter/providers/FilterContext.d.ts.map +1 -0
- package/dist/development/Filter/providers/FilterOptionListContext.d.ts +10 -0
- package/dist/development/Filter/providers/FilterOptionListContext.d.ts.map +1 -0
- package/dist/development/Filter/shared.d.ts +3 -0
- package/dist/development/Filter/shared.d.ts.map +1 -0
- package/dist/development/ListPagePattern/index.d.ts +1 -0
- package/dist/development/ListPagePattern/index.d.ts.map +1 -0
- package/dist/development/TableUI/index.d.ts +19 -0
- package/dist/development/TableUI/index.d.ts.map +1 -1
- package/dist/development/index.d.ts +1 -0
- package/dist/development/index.d.ts.map +1 -1
- package/dist/development.js +1056 -52
- package/dist/development.js.map +1 -1
- package/dist/index.js +623 -1508
- package/dist/index.js.map +1 -1
- package/dist/test-utils/common.d.ts +11 -0
- package/dist/test-utils/common.d.ts.map +1 -0
- package/dist/test-utils/enzyme/index.d.ts +1 -0
- package/dist/test-utils/enzyme/index.d.ts.map +1 -1
- package/dist/test-utils/enzyme/selectEvent.d.ts +42 -0
- package/dist/test-utils/enzyme/selectEvent.d.ts.map +1 -0
- package/dist/test-utils/enzyme/selectEvent.test.d.ts +2 -0
- package/dist/test-utils/enzyme/selectEvent.test.d.ts.map +1 -0
- package/dist/test-utils/enzyme/utils.d.ts +33 -0
- package/dist/test-utils/enzyme/utils.d.ts.map +1 -0
- package/dist/test-utils/enzyme.js +258 -1
- package/dist/test-utils/enzyme.js.map +1 -1
- package/dist/test-utils/rtl/index.d.ts +1 -0
- package/dist/test-utils/rtl/index.d.ts.map +1 -1
- package/dist/test-utils/rtl/selectEvent.d.ts +41 -0
- package/dist/test-utils/rtl/selectEvent.d.ts.map +1 -0
- package/dist/test-utils/rtl/selectEvent.test.d.ts +2 -0
- package/dist/test-utils/rtl/selectEvent.test.d.ts.map +1 -0
- package/dist/test-utils/rtl.js +135 -1
- package/dist/test-utils/rtl.js.map +1 -1
- package/dist/test-utils/types.d.ts +1 -14
- package/dist/test-utils/types.d.ts.map +1 -1
- package/dist/theme/colorList.d.ts +6 -7
- package/dist/theme/colorList.d.ts.map +1 -1
- package/dist/theme/colors.d.ts +6 -7
- package/dist/theme/colors.d.ts.map +1 -1
- package/package.json +4 -3
- package/dist/Typography-04e40f87.js +0 -1465
- package/dist/Typography-04e40f87.js.map +0 -1
- package/dist/Typography-52abe0b7.js +0 -1142
- package/dist/Typography-52abe0b7.js.map +0 -1
- package/dist/Typography-74e19785.js.map +0 -1
- package/dist/Typography-84a00e02.js +0 -1465
- package/dist/Typography-84a00e02.js.map +0 -1
- package/dist/design-system/Icon/__generated/icons/ArrayIcon.v2.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/ArrayIcon.v2.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/BookmarkBorderIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/BookmarkBorderIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/BracketsIcon.v2.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/BracketsIcon.v2.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/CheckCircleBorderIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/CheckCircleBorderIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/ClusterIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/ClusterIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/ClustersIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/ClustersIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/DataMarketplace.v2.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/DataMarketplace.v2.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/ErrorBorderIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/ErrorBorderIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/ErrorFillIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/ErrorFillIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/ExperimentIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/ExperimentIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/Folder1Icon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/Folder1Icon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/Gear1Icon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/Gear1Icon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/InfoBorderIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/InfoBorderIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/LifesaverIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/LifesaverIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/LinkRemoveIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/LinkRemoveIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/LockBorderIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/LockBorderIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/MinusCircleBorderIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/MinusCircleBorderIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/NotificationsOffIcon.v2.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/NotificationsOffIcon.v2.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/PinBorderIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/PinBorderIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/PlayCircleBorderIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/PlayCircleBorderIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/PlusCircleBorderIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/PlusCircleBorderIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/QueryListViewIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/QueryListViewIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/QueryNavIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/QueryNavIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/QuestionMarkBorderIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/QuestionMarkBorderIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/Redo.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/Redo.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/RedoIcon.v2.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/RedoIcon.v2.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/Refresh.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/Refresh.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/Refresh.v2.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/Refresh.v2.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/RefreshIcon.v2.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/RefreshIcon.v2.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/Search1Icon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/Search1Icon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/StarBorderIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/StarBorderIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/StopCircleBorderIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/StopCircleBorderIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/StopCricleFillIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/StopCricleFillIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/Undo.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/Undo.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/Visible.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/Visible.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/VisibleOff.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/VisibleOff.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/WarningBorderIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/WarningBorderIcon.d.ts.map +0 -1
- package/dist/design-system/Icon/__generated/icons/XCircleBorderIcon.d.ts +0 -4
- package/dist/design-system/Icon/__generated/icons/XCircleBorderIcon.d.ts.map +0 -1
- package/dist/test-utils/enzyme.d.ts +0 -8
- package/dist/test-utils/enzyme.d.ts.map +0 -1
- package/dist/test-utils/rtl.d.ts +0 -7
- package/dist/test-utils/rtl.d.ts.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Spinner-140f57ac.js","sources":["../src/theme/borders.ts","../src/theme/colorList.ts","../src/theme/colors.ts","../src/antd-vars.ts","../src/theme/spacing.ts","../src/theme/generalVariables.ts","../src/theme/typography.ts","../src/theme/index.ts","../src/design-system/Hooks/useDesignSystemTheme.tsx","../src/design-system/DesignSystemProvider/DesignSystemProvider.tsx","../src/design-system/Hooks/useDesignSystemContext.ts","../src/design-system/Hooks/useDesignSystemFlags.tsx","../src/design-system/Icon/Icon.tsx","../src/design-system/Icon/__generated/icons/CheckIcon.tsx","../src/design-system/Icon/__generated/icons/ChevronDownIcon.tsx","../src/design-system/Icon/__generated/icons/CloseIcon.tsx","../src/design-system/Icon/__generated/icons/LoadingIcon.tsx","../src/design-system/Icon/__generated/icons/NewWindowIcon.tsx","../src/design-system/Icon/__generated/icons/SearchIcon.tsx","../src/design-system/Icon/__generated/icons/XCircleFillIcon.tsx","../src/design-system/Icon/__generated/icons/SortAscendingIcon.v2.tsx","../src/design-system/Icon/__generated/icons/SortDescendingIcon.v2.tsx","../src/design-system/Icon/__generated/icons/SortUnsortedIcon.v2.tsx","../src/design-system/constants.tsx","../src/design-system/utils/css-utils.tsx","../src/design-system/Button/styles.ts","../src/design-system/Button/Button.tsx","../src/design-system/Checkbox/Checkbox.tsx","../src/design-system/Typography/Link.tsx","../src/design-system/Typography/Paragraph.tsx","../src/design-system/Typography/Text.tsx","../src/design-system/Typography/Title.tsx","../src/design-system/Typography/Typography.tsx","../src/design-system/Tooltip/Tooltip.tsx","../src/design-system/Input/Input.tsx","../src/design-system/Spinner/Spinner.tsx"],"sourcesContent":["// Border variables\nexport const borders = {\n borderRadiusMd: 4,\n};\n\n// eslint-disable-next-line import/no-anonymous-default-export\nexport default {\n ...borders,\n};\n","import chroma from 'chroma-js';\n\nexport type ColorName = 'blue' | 'green' | 'grey' | 'red' | 'yellow';\n\nexport type ColorWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;\n\nexport type PrimaryColorToken = `${ColorName}${ColorWeight}` | 'primary' | 'white';\n\nexport type SecondaryColorToken =\n | 'brown'\n | 'coral'\n | 'charcoal'\n | 'indigo'\n | 'lemon'\n | 'lime'\n | 'pink'\n | 'purple'\n | 'teal'\n | 'turquoise';\n\nexport type TagColorToken = `tag${Capitalize<SecondaryColorToken>}` | 'tagDefault';\n\ntype ColorPalettePrimary = Record<PrimaryColorToken, string>;\n\ntype ColorPaletteSecondary = Record<SecondaryColorToken, string>;\n\n// Exported from go/designsystem/colorsheet\nexport const colorPalettePrimary: ColorPalettePrimary = {\n primary: '#2272B4',\n blue100: '#F0F8FF',\n blue200: '#D7EDFE',\n blue300: '#BAE1FC',\n blue400: '#8ACAFF',\n blue500: '#4299E0',\n blue600: '#2272B4',\n blue700: '#0E538B',\n blue800: '#04355D',\n green100: '#F3FCF6',\n green200: '#D4F7DF',\n green300: '#B1ECC5',\n green400: '#8DDDA8',\n green500: '#3CAA60',\n green600: '#277C43',\n green700: '#115026',\n green800: '#093919',\n white: '#FFFFFF',\n grey100: '#F2F5F7',\n grey200: '#E4ECF1',\n grey300: '#CDDAE5',\n grey400: '#BDCDDB',\n grey500: '#8196A7',\n grey600: '#5D7283',\n grey700: '#44535F',\n grey800: '#1F272D',\n red100: '#FFF5F7',\n red200: '#FDE2E8',\n red300: '#FBD0D8',\n red400: '#F792A6',\n red500: '#E65B77',\n red600: '#C82D4C',\n red700: '#9E102C',\n red800: '#630316',\n yellow100: '#FFF9EB',\n yellow200: '#FCEACA',\n yellow300: '#F8D4A5',\n yellow400: '#F2BE88',\n yellow500: '#DE7921',\n yellow600: '#BE501E',\n yellow700: '#93320B',\n yellow800: '#5F1B02',\n};\n\nexport const colorPaletteSecondary: ColorPaletteSecondary = {\n brown: '#A6630C',\n coral: '#C83243',\n charcoal: '#5D7283',\n indigo: '#434A93',\n lemon: '#FACB66',\n lime: '#308613',\n pink: '#B45091',\n purple: '#8A63BF',\n teal: '#04867D',\n turquoise: '#157CBC',\n};\n\nexport const lightColorList = {\n backgroundPrimary: colorPalettePrimary.white,\n\n actionDangerPrimaryBackgroundDefault: colorPalettePrimary.red600,\n actionDangerPrimaryBackgroundHover: colorPalettePrimary.red700,\n actionDangerPrimaryBackgroundPress: colorPalettePrimary.red800,\n\n actionDangerDefaultBackgroundDefault: chroma(colorPalettePrimary.red600).alpha(0).hex(),\n actionDangerDefaultBackgroundHover: chroma(colorPalettePrimary.red600).alpha(0.08).hex(),\n actionDangerDefaultBackgroundPress: chroma(colorPalettePrimary.red600).alpha(0.16).hex(),\n\n actionDangerDefaultBorderDefault: colorPalettePrimary.red600,\n actionDangerDefaultBorderHover: colorPalettePrimary.red700,\n actionDangerDefaultBorderPress: colorPalettePrimary.red800,\n\n actionDangerDefaultTextDefault: colorPalettePrimary.red600,\n actionDangerDefaultTextHover: colorPalettePrimary.red700,\n actionDangerDefaultTextPress: colorPalettePrimary.red800,\n\n actionDefaultBackgroundDefault: chroma(colorPalettePrimary.blue800).alpha(0).hex(),\n actionDefaultBackgroundHover: chroma(colorPalettePrimary.blue600).alpha(0.08).hex(),\n actionDefaultBackgroundPress: chroma(colorPalettePrimary.blue600).alpha(0.16).hex(),\n\n actionDefaultBorderDefault: colorPalettePrimary.grey300,\n actionDefaultBorderFocus: colorPalettePrimary.blue600,\n actionDefaultBorderHover: colorPalettePrimary.blue700,\n actionDefaultBorderPress: colorPalettePrimary.blue800,\n\n actionDefaultTextDefault: colorPalettePrimary.grey800,\n actionDefaultTextHover: colorPalettePrimary.blue700,\n actionDefaultTextPress: colorPalettePrimary.blue800,\n\n actionDisabledBackground: colorPalettePrimary.grey200,\n actionDisabledText: colorPalettePrimary.grey400,\n\n actionPrimaryBackgroundDefault: colorPalettePrimary.blue600,\n actionPrimaryBackgroundHover: colorPalettePrimary.blue700,\n actionPrimaryBackgroundPress: colorPalettePrimary.blue800,\n\n actionPrimaryTextDefault: colorPalettePrimary.white,\n actionPrimaryTextHover: colorPalettePrimary.white,\n actionPrimaryTextPress: colorPalettePrimary.white,\n\n actionTertiaryBackgroundDefault: chroma(colorPalettePrimary.blue600).alpha(0).hex(),\n actionTertiaryBackgroundHover: chroma(colorPalettePrimary.blue600).alpha(0.08).hex(),\n actionTertiaryBackgroundPress: chroma(colorPalettePrimary.blue600).alpha(0.16).hex(),\n\n actionTertiaryTextDefault: colorPalettePrimary.blue600,\n actionTertiaryTextHover: colorPalettePrimary.blue700,\n actionTertiaryTextPress: colorPalettePrimary.blue800,\n\n backgroundDanger: chroma(colorPalettePrimary.red100).alpha(0.08).hex(),\n backgroundSecondary: colorPalettePrimary.grey100,\n backgroundWarning: chroma(colorPalettePrimary.yellow100).alpha(0.08).hex(),\n\n backgroundValidationDanger: colorPalettePrimary.red100,\n backgroundValidationSuccess: colorPalettePrimary.blue100,\n backgroundValidationWarning: colorPalettePrimary.yellow100,\n\n border: colorPalettePrimary.grey300,\n borderDecorative: colorPalettePrimary.grey300,\n\n borderValidationDanger: colorPalettePrimary.red300,\n borderValidationWarning: colorPalettePrimary.yellow300,\n\n textPrimary: colorPalettePrimary.grey800,\n textSecondary: colorPalettePrimary.grey600,\n textPlaceholder: colorPalettePrimary.grey400,\n\n textValidationDanger: colorPalettePrimary.red600,\n textValidationSuccess: colorPalettePrimary.green600,\n textValidationWarning: colorPalettePrimary.yellow600,\n textValidationInfo: colorPalettePrimary.grey600,\n\n overlayOverlay: chroma(colorPalettePrimary.grey100).alpha(0.72).hex(),\n\n // Tags\n tagDefault: chroma(colorPalettePrimary.grey600).alpha(0.08).hex(),\n tagBrown: colorPaletteSecondary.brown,\n tagCoral: colorPaletteSecondary.coral,\n tagCharcoal: colorPalettePrimary.grey600,\n tagIndigo: colorPaletteSecondary.indigo,\n tagLemon: colorPaletteSecondary.lemon,\n tagLime: colorPaletteSecondary.lime,\n tagPink: colorPaletteSecondary.pink,\n tagPurple: colorPaletteSecondary.purple,\n tagTeal: colorPaletteSecondary.teal,\n tagTurquoise: colorPaletteSecondary.turquoise,\n tagText: colorPalettePrimary.white,\n tagHover: chroma(colorPalettePrimary.blue400).alpha(0.08).hex(),\n tagPress: chroma(colorPalettePrimary.blue400).alpha(0.16).hex(),\n tagIconHover: chroma(colorPalettePrimary.white).alpha(0.8).hex(),\n tagIconPress: chroma(colorPalettePrimary.white).alpha(0.76).hex(),\n\n // Typography\n typographyCodeBg: chroma(colorPalettePrimary.grey600).alpha(0.08).hex(),\n\n // Table\n tableSeparatorColor: colorPalettePrimary.grey200,\n tableRowHover: chroma(colorPalettePrimary.grey600).alpha(0.04).hex(),\n\n tooltipBackgroundTooltip: colorPalettePrimary.grey800,\n};\n\nexport const darkColorList: typeof lightColorList = {\n actionDangerPrimaryBackgroundDefault: chroma(colorPalettePrimary.red400).alpha(0.84).hex(),\n actionDangerPrimaryBackgroundHover: chroma(colorPalettePrimary.red400).alpha(0.72).hex(),\n actionDangerPrimaryBackgroundPress: chroma(colorPalettePrimary.red400).alpha(0.6).hex(),\n\n actionDangerDefaultBackgroundDefault: chroma(colorPalettePrimary.red400).alpha(0).hex(),\n actionDangerDefaultBackgroundHover: chroma(colorPalettePrimary.red400).alpha(0.08).hex(),\n actionDangerDefaultBackgroundPress: chroma(colorPalettePrimary.red400).alpha(0.16).hex(),\n\n actionDangerDefaultBorderDefault: colorPalettePrimary.red400,\n actionDangerDefaultBorderHover: chroma(colorPalettePrimary.red400).alpha(0.72).hex(),\n actionDangerDefaultBorderPress: chroma(colorPalettePrimary.red400).alpha(0.6).hex(),\n\n actionDangerDefaultTextDefault: colorPalettePrimary.red400,\n actionDangerDefaultTextHover: chroma(colorPalettePrimary.red400).alpha(0.72).hex(),\n actionDangerDefaultTextPress: chroma(colorPalettePrimary.red400).alpha(0.6).hex(),\n\n actionDefaultBackgroundDefault: chroma(colorPalettePrimary.blue400).alpha(0).hex(),\n actionDefaultBackgroundHover: chroma(colorPalettePrimary.blue400).alpha(0.08).hex(),\n actionDefaultBackgroundPress: chroma(colorPalettePrimary.blue400).alpha(0.16).hex(),\n\n actionDefaultBorderDefault: chroma(colorPalettePrimary.white).alpha(0.6).hex(),\n actionDefaultBorderFocus: chroma(colorPalettePrimary.blue400).alpha(0.84).hex(),\n actionDefaultBorderHover: chroma(colorPalettePrimary.blue400).alpha(0.8).hex(),\n actionDefaultBorderPress: chroma(colorPalettePrimary.blue400).alpha(0.76).hex(),\n\n actionDefaultTextDefault: chroma(colorPalettePrimary.white).alpha(0.84).hex(),\n actionDefaultTextHover: chroma(colorPalettePrimary.blue400).alpha(0.8).hex(),\n actionDefaultTextPress: chroma(colorPalettePrimary.blue400).alpha(0.76).hex(),\n\n actionDisabledBackground: chroma(colorPalettePrimary.white).alpha(0.24).hex(),\n actionDisabledText: chroma(colorPalettePrimary.white).alpha(0.4).hex(),\n\n actionPrimaryBackgroundDefault: chroma(colorPalettePrimary.blue400).alpha(0.84).hex(),\n actionPrimaryBackgroundHover: chroma(colorPalettePrimary.blue400).alpha(0.8).hex(),\n actionPrimaryBackgroundPress: chroma(colorPalettePrimary.blue400).alpha(0.76).hex(),\n\n actionPrimaryTextDefault: colorPalettePrimary.grey800,\n actionPrimaryTextHover: colorPalettePrimary.grey800,\n actionPrimaryTextPress: colorPalettePrimary.grey800,\n\n actionTertiaryBackgroundDefault: chroma(colorPalettePrimary.blue400).alpha(0).hex(),\n actionTertiaryBackgroundHover: chroma(colorPalettePrimary.blue400).alpha(0.08).hex(),\n actionTertiaryBackgroundPress: chroma(colorPalettePrimary.blue400).alpha(0.16).hex(),\n\n actionTertiaryTextDefault: chroma(colorPalettePrimary.blue400).alpha(0.84).hex(),\n actionTertiaryTextHover: chroma(colorPalettePrimary.blue400).alpha(0.8).hex(),\n actionTertiaryTextPress: chroma(colorPalettePrimary.blue400).alpha(0.76).hex(),\n\n backgroundPrimary: colorPalettePrimary.grey800,\n backgroundSecondary: '#283035',\n\n backgroundValidationDanger: 'transparent',\n backgroundValidationSuccess: 'transparent',\n backgroundValidationWarning: 'transparent',\n\n border: chroma(colorPalettePrimary.white).alpha(0.48).hex(),\n borderDecorative: chroma(colorPalettePrimary.white).alpha(0.24).hex(),\n\n borderValidationDanger: colorPalettePrimary.red300,\n borderValidationWarning: colorPalettePrimary.yellow300,\n\n textPrimary: chroma(colorPalettePrimary.white).alpha(0.84).hex(),\n textSecondary: chroma(colorPalettePrimary.white).alpha(0.6).hex(),\n textPlaceholder: chroma(colorPalettePrimary.grey400).alpha(0.84).hex(),\n\n textValidationDanger: chroma(colorPalettePrimary.red400).alpha(0.84).hex(),\n textValidationSuccess: chroma(colorPalettePrimary.green400).alpha(0.84).hex(),\n textValidationWarning: chroma(colorPalettePrimary.yellow400).alpha(0.84).hex(),\n textValidationInfo: chroma(colorPalettePrimary.white).alpha(0.6).hex(),\n\n overlayOverlay: chroma(colorPalettePrimary.grey800).alpha(0.72).hex(),\n\n // Tags\n tagDefault: chroma(colorPalettePrimary.white).alpha(0.16).hex(),\n tagBrown: chroma(colorPaletteSecondary.brown).alpha(0.84).hex(),\n tagCoral: chroma(colorPaletteSecondary.coral).alpha(0.84).hex(),\n tagCharcoal: chroma(colorPalettePrimary.grey600).alpha(0.84).hex(),\n tagIndigo: chroma(colorPaletteSecondary.indigo).alpha(0.84).hex(),\n tagLemon: chroma(colorPaletteSecondary.lemon).alpha(0.84).hex(),\n tagLime: chroma(colorPaletteSecondary.lime).alpha(0.84).hex(),\n tagPink: chroma(colorPaletteSecondary.pink).alpha(0.84).hex(),\n tagPurple: chroma(colorPaletteSecondary.purple).alpha(0.84).hex(),\n tagTeal: chroma(colorPaletteSecondary.teal).alpha(0.84).hex(),\n tagTurquoise: chroma(colorPaletteSecondary.turquoise).alpha(0.84).hex(),\n tagText: chroma(colorPalettePrimary.white).alpha(0.84).hex(),\n tagHover: chroma(colorPalettePrimary.blue400).alpha(0.08).hex(),\n tagPress: chroma(colorPalettePrimary.blue400).alpha(0.16).hex(),\n tagIconHover: chroma(colorPalettePrimary.white).alpha(0.8).hex(),\n tagIconPress: chroma(colorPalettePrimary.white).alpha(0.76).hex(),\n\n // Typography\n typographyCodeBg: chroma(colorPalettePrimary.white).alpha(0.16).hex(),\n\n // Table\n tableSeparatorColor: chroma(colorPalettePrimary.white).alpha(0.24).hex(),\n tableRowHover: chroma(colorPalettePrimary.white).alpha(0.16).hex(),\n\n tooltipBackgroundTooltip: chroma(colorPalettePrimary.white).alpha(0.6).hex(),\n // Missing in list\n backgroundDanger: 'rgba(200,45,76,0.08)',\n backgroundWarning: 'rgba(222,121,33,0.08)',\n};\n","import { colorPalettePrimary, colorPaletteSecondary, darkColorList, lightColorList } from './colorList';\n\nconst darkColors = { ...darkColorList, ...colorPalettePrimary, ...colorPaletteSecondary };\nconst lightColors = { ...lightColorList, ...colorPalettePrimary, ...colorPaletteSecondary };\ntype DesignSystemColors = typeof lightColors;\n\nfunction getSemanticColors(isDarkMode: boolean): DesignSystemColors {\n return isDarkMode ? darkColors : lightColors;\n}\n\nexport interface AntdColors {\n bodyBackground: string;\n textColor: string;\n textColorSecondary: string;\n primaryColor: string;\n infoColor: string;\n errorColor: string;\n successColor: string;\n warningColor: string;\n borderColorBase: string;\n\n alertErrorTextColor: string;\n alertErrorBgColor: string;\n alertErrorIconColor: string;\n alertErrorBorderColor: string;\n\n alertInfoBgColor: string;\n alertInfoIconColor: string;\n alertInfoTextColor: string;\n alertInfoBorderColor: string;\n\n alertWarningTextColor: string;\n alertWarningBorderColor: string;\n alertWarningBgColor: string;\n alertWarningIconColor: string;\n\n alertTextColor: string;\n alertMessageColor: string;\n\n spinDotDefault: string;\n}\n\n// Maps Dubois colors to AntD names\nexport function getAntdColors(isDarkMode: boolean): AntdColors {\n const semanticColors = getSemanticColors(isDarkMode);\n return {\n bodyBackground: semanticColors.backgroundPrimary,\n textColor: semanticColors.textPrimary,\n textColorSecondary: semanticColors.textSecondary,\n primaryColor: semanticColors.primary,\n infoColor: '#64727D',\n errorColor: semanticColors.actionDangerPrimaryBackgroundDefault,\n successColor: '#34824F',\n warningColor: '#AF5B23',\n borderColorBase: semanticColors.border,\n\n // Alert colors (AntD variables)\n alertErrorTextColor: semanticColors.textValidationDanger,\n alertErrorBorderColor: semanticColors.red300,\n alertErrorBgColor: semanticColors.red100,\n alertErrorIconColor: semanticColors.textValidationDanger,\n\n alertInfoTextColor: semanticColors.textPrimary,\n alertInfoBorderColor: semanticColors.borderDecorative,\n alertInfoBgColor: semanticColors.backgroundSecondary,\n alertInfoIconColor: semanticColors.textSecondary,\n\n alertWarningTextColor: semanticColors.textValidationWarning,\n alertWarningBorderColor: semanticColors.yellow300,\n alertWarningBgColor: semanticColors.yellow100,\n alertWarningIconColor: semanticColors.textValidationWarning,\n\n ...(isDarkMode && {\n alertErrorBgColor: 'transparent',\n alertInfoBgColor: 'transparent',\n alertWarningBgColor: 'transparent',\n }),\n\n alertTextColor: 'inherit',\n alertMessageColor: 'inherit',\n\n spinDotDefault: semanticColors.textSecondary,\n };\n}\n\n// TODO (FEINF-1674): Remove when removing USE_NEW_RADIO_STYLES\n/*\nColors that need to be replaced by semantic colors.\n */\nconst deprecatedColors = {\n // Radio Colors\n radioInteractiveAvailable: colorPalettePrimary.primary,\n radioInteractiveHover: '#186099',\n radioInteractivePress: '#0D4F85',\n radioDisabled: '#A2AEB8',\n radioDefaultBorder: '#64727D',\n radioDefaultBackground: '#FFFFFF',\n radioInteractiveHoverSecondary: 'rgba(34, 115, 181, 0.08)', // Fade of Interactive Available\n radioInteractivePressSecondary: 'rgba(34, 115, 181, 0.16)', // Fade of Interactive Available\n};\n\nexport function getColors(isDarkMode: boolean): typeof deprecatedColors & DesignSystemColors {\n return {\n ...deprecatedColors,\n ...getSemanticColors(isDarkMode),\n };\n}\n","// eslint-disable-next-line import/no-anonymous-default-export\nexport default {\n // IMPORTANT: Do not read this directly from components. Use `React.useContext`.\n 'ant-prefix': 'du-bois',\n};\n","const DEFAULT_SPACING_UNIT = 8;\nexport const MODAL_PADDING = 40;\n\nconst spacing = {\n xs: DEFAULT_SPACING_UNIT / 2,\n sm: DEFAULT_SPACING_UNIT,\n md: DEFAULT_SPACING_UNIT * 2,\n lg: DEFAULT_SPACING_UNIT * 3,\n};\n\n// Less variables that are used by AntD\nexport const antdSpacing = {\n defaultPaddingLg: spacing.lg,\n defaultPaddingMd: spacing.md,\n defaultPaddingSm: spacing.sm,\n defaultPaddingXs: spacing.sm,\n defaultPaddingXss: spacing.xs,\n paddingLg: spacing.md,\n // TODO: Check if there is a better alternative with team\n paddingMd: spacing.sm,\n paddingSm: spacing.sm,\n paddingXs: spacing.xs,\n paddingXss: 0,\n marginSm: 12,\n marginLg: spacing.lg,\n\n // Button\n btnPaddingHorizontalBase: DEFAULT_SPACING_UNIT * 2,\n btnPaddingHorizontalLg: DEFAULT_SPACING_UNIT * 2,\n btnPaddingHorizontalSm: DEFAULT_SPACING_UNIT * 2,\n\n // Input\n inputPaddingHorizontal: DEFAULT_SPACING_UNIT * 1.5,\n inputPaddingHorizontalBase: DEFAULT_SPACING_UNIT * 1.5,\n inputPaddingHorizontalSm: DEFAULT_SPACING_UNIT * 1.5,\n inputPaddingHorizontalLg: DEFAULT_SPACING_UNIT * 1.5,\n\n inputPaddingVertical: spacing.xs + 1,\n inputPaddingVerticalBase: spacing.xs + 1,\n inputPaddingVerticalSm: spacing.xs + 1,\n inputPaddingVerticalLg: spacing.xs + 1,\n\n // Modal\n modalPadding: MODAL_PADDING,\n modalLessPadding: MODAL_PADDING - 20,\n modalHeaderPadding: `${MODAL_PADDING}px ${MODAL_PADDING}px ${MODAL_PADDING - 20}px`,\n modalHeaderCloseSize: MODAL_PADDING * 2 + 22,\n modalHeaderBorderWidth: 0,\n modalBodyPadding: `0 ${MODAL_PADDING}px`,\n modalFooterPaddingVertical: 0,\n modalFooterPaddingHorizontal: 0,\n modalFooterBorderWidth: 0,\n\n // Switch\n switchPadding: 0,\n switchHeight: 16,\n switchMinWidth: 28,\n switchPinSize: 14,\n};\n\nexport default spacing;\n","import antdVars from '../antd-vars';\nimport spacing from './spacing';\n\nconst heightBase = 40;\nconst borderWidth = 1;\n\nconst antdGeneralVariables = {\n classnamePrefix: antdVars['ant-prefix'],\n iconfontCssPrefix: 'anticon',\n borderRadiusBase: 4,\n borderWidth: borderWidth,\n heightSm: 32,\n heightBase: heightBase,\n iconSize: 24,\n // TODO (FEINF-1545): Update with icon overhaul to 16px\n iconFontSize: 13,\n iconFontSizeNew: 16,\n buttonHeight: heightBase,\n // Height available within button (for label and icon). Same for middle and small buttons.\n buttonInnerHeight: heightBase - spacing.sm * 2 - borderWidth * 2,\n};\n\nexport const getShadowVariables = (isDarkMode: boolean) => {\n if (isDarkMode) {\n return {\n shadowLow: '0px 4px 16px rgba(0, 0, 0, 0.12)',\n shadowHigh: '0px 8px 24px rgba(0, 0, 0, 0.2);',\n };\n } else {\n return {\n shadowLow: '0px 4px 16px rgba(31, 39, 45, 0.12)',\n shadowHigh: '0px 8px 24px rgba(31, 39, 45, 0.2)',\n };\n }\n};\n\nexport default antdGeneralVariables;\n","const FONT_SIZE_BASE = 13;\n\n// Less variables that are used by AntD\nexport const antdTypography = {\n fontSizeSm: 12,\n fontSizeBase: FONT_SIZE_BASE,\n fontSizeMd: FONT_SIZE_BASE,\n fontSizeLg: 18,\n fontSizeXl: 22,\n fontSizeXxl: 32,\n lineHeightSm: '16px',\n lineHeightBase: '20px',\n lineHeightMd: '20px',\n lineHeightLg: '24px',\n lineHeightXl: '28px',\n lineHeightXxl: '40px',\n typographyBoldFontWeight: 600,\n};\n\n// eslint-disable-next-line import/no-anonymous-default-export\nexport default {\n ...antdTypography,\n};\n","import borders from './borders';\nimport { getColors } from './colors';\nimport generalVariables, { getShadowVariables } from './generalVariables';\nimport spacing from './spacing';\nimport typography from './typography';\n\nexport type ThemeName = 'default' | 'dark';\nexport type ComponentTheme = ReturnType<typeof getTheme>;\n\nexport interface ThemeOptions {\n enableAnimation: boolean;\n zIndexBase: number;\n}\n\nexport interface Theme {\n colors: ReturnType<typeof getColors>;\n spacing: typeof spacing;\n general: typeof generalVariables & ReturnType<typeof getShadowVariables>;\n typography: typeof typography;\n borders: typeof borders;\n /**\n * Deprecated. Use `isDarkMode` instead.\n */\n themeName: ThemeName;\n isDarkMode: boolean;\n options: ThemeOptions;\n}\n\nconst defaultOptions: ThemeOptions = {\n enableAnimation: false,\n zIndexBase: 1000,\n};\n\n// Function to get variables for a certain theme.\n// End users should use useDesignSystemTheme instead.\nexport function getTheme(isDarkMode: boolean, options: ThemeOptions = defaultOptions): Theme {\n return {\n colors: getColors(isDarkMode),\n spacing,\n general: {\n ...generalVariables,\n ...getShadowVariables(isDarkMode),\n },\n typography,\n borders,\n isDarkMode,\n themeName: isDarkMode ? 'dark' : 'default',\n options,\n };\n}\n","import { useTheme as useEmotionTheme } from '@emotion/react';\nimport type { ReactElement } from 'react';\nimport React from 'react';\n\nimport type { Theme } from '../../theme';\nimport { getTheme } from '../../theme';\n\nexport interface DesignSystemThemeInterface {\n /** Theme object that contains colors, spacing, themeName and other variables **/\n theme: Theme;\n /** Prefix that is used in front of each className. **/\n classNamePrefix: string;\n /** Helper method that use be used to construct the full className of an underlying AntD className.\n * Use with caution and prefer emotion.js when possible **/\n getPrefixedClassName: (className: string) => string;\n}\n\nexport function getClassNamePrefix(theme: Theme): string {\n const antdThemeName = theme.isDarkMode ? 'dark' : 'light';\n return `${theme.general.classnamePrefix}-${antdThemeName}`;\n}\n\nexport function getPrefixedClassNameFromTheme(theme: Theme, className: string | null | undefined): string {\n return [getClassNamePrefix(theme), className].filter(Boolean).join('-');\n}\n\nexport function useDesignSystemTheme(): DesignSystemThemeInterface {\n const emotionTheme = useEmotionTheme() as Theme;\n // Graceful fallback to default theme in case a test or developer forgot context.\n const theme = emotionTheme && emotionTheme.general ? emotionTheme : getTheme(false);\n\n return {\n theme: theme,\n classNamePrefix: getClassNamePrefix(theme),\n getPrefixedClassName: (className: string) => getPrefixedClassNameFromTheme(theme, className),\n };\n}\n\nexport type DesignSystemHocProps = { designSystemThemeApi: DesignSystemThemeInterface };\n\n// This is a simple typed HOC wrapper around the useDesignSystemTheme hook, for use in older react components.\nexport function WithDesignSystemThemeHoc<P>(Component: React.ComponentType<P & DesignSystemHocProps>) {\n return function WrappedWithDesignSystemTheme(props: P): ReactElement {\n const themeValues = useDesignSystemTheme();\n\n return <Component {...props} designSystemThemeApi={themeValues} />;\n };\n}\n","import type { CSSObject } from '@emotion/react';\nimport { ThemeProvider as EmotionThemeProvider } from '@emotion/react';\nimport { ConfigProvider as AntDConfigProvider, notification } from 'antd';\nimport type { ConfigProviderProps as AntDConfigProviderProps } from 'antd/lib/config-provider';\nimport React, { createContext, useContext, useEffect, useMemo } from 'react';\n\nimport type { DesignSystemFlags } from '../../flags';\nimport type { ThemeName } from '../../theme';\nimport { getTheme } from '../../theme';\nimport { getClassNamePrefix, getPrefixedClassNameFromTheme } from '../Hooks/useDesignSystemTheme';\n\nexport interface DesignSystemProviderProps {\n isDarkMode?: boolean;\n /**\n * @deprecated - Use `isDarkMode` instead. In the future this prop will be used for custom brand themes.\n */\n theme?: ThemeName;\n /**\n * Set this to `true` to enable CSS animations for all Du Bois components inside this provider.\n * This is purely a visual enhancement, and is not necessary for the functionality of any component.\n */\n enableAnimation?: boolean;\n /** Use this to configure the base zIndex for Du Bois. We use this to stack our internal elements\n * correctly, and to ensure that our internal elements are always on top of any other elements. This\n * should be a number >= 1000.\n */\n zIndexBase?: number;\n\n /**\n * Use this to allow the application to provide the element used as a container for all \"popup\" components.\n */\n getPopupContainer?: () => HTMLElement;\n\n /** Set any of the `AvailableDesignSystemFlags` to `true` to enable that flag. */\n flags?: DesignSystemFlags;\n}\n\nexport interface DuboisContextType {\n enableAnimation: boolean;\n isDarkMode: boolean;\n theme: ThemeName;\n // Prefer to use useDesignSystemTheme.getPrefixedClassName instead\n // TODO(sschneider): Replace in all components and possibly in webapp.\n getPrefixCls: (suffix?: string) => string;\n getPopupContainer?: () => HTMLElement;\n flags: DesignSystemFlags;\n}\n\nconst DuboisContextDefaults: DuboisContextType = {\n enableAnimation: false,\n isDarkMode: false,\n theme: 'default',\n // Prefer to use useDesignSystemTheme.getPrefixedClassName instead\n getPrefixCls: (suffix?: string) => (suffix ? `du-bois-${suffix}` : 'du-bois'),\n flags: {},\n};\n\nexport const DesignSystemContext = createContext<DuboisContextType>(DuboisContextDefaults);\n\nexport const DU_BOIS_ENABLE_ANIMATION_CLASSNAME = 'du-bois-enable-animation';\n\nexport function getAnimationCss(enableAnimation: boolean): CSSObject {\n const disableAnimationCss: CSSObject = {\n animationDuration: '0s !important',\n transition: 'none !important',\n };\n\n return enableAnimation\n ? {}\n : {\n // Apply to the current element\n ...disableAnimationCss,\n '&::before': disableAnimationCss,\n '&::after': disableAnimationCss,\n\n // Also apply to all child elements with a class that starts with our prefix\n [`[class*=du-bois]:not(.${DU_BOIS_ENABLE_ANIMATION_CLASSNAME}, .${DU_BOIS_ENABLE_ANIMATION_CLASSNAME} *)`]: {\n ...disableAnimationCss,\n // Also target any pseudo-elements associated with those elements, since these can also be animated.\n '&::before': disableAnimationCss,\n '&::after': disableAnimationCss,\n },\n };\n}\n\nconst DesignSystemProviderPropsContext = React.createContext<DesignSystemProviderProps | null>(null);\n\ninterface AntDConfigProviderPropsProps {\n prefixCls: string;\n getPopupContainer: AntDConfigProviderProps['getPopupContainer'];\n}\n\nconst AntDConfigProviderPropsContext = React.createContext<AntDConfigProviderPropsProps | null>(null);\n\nexport const DesignSystemProvider: React.FC<DesignSystemProviderProps> = ({\n children,\n isDarkMode = false,\n theme: themeName,\n enableAnimation = false,\n zIndexBase = 1000,\n getPopupContainer,\n flags = {},\n}) => {\n const theme = useMemo(\n () =>\n getTheme(isDarkMode, {\n enableAnimation,\n zIndexBase,\n }),\n // TODO: revisit this\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [themeName, isDarkMode, zIndexBase]\n );\n\n const providerPropsContext = useMemo<DesignSystemProviderProps>(\n () => ({\n isDarkMode,\n theme: themeName,\n enableAnimation,\n zIndexBase,\n getPopupContainer,\n flags,\n }),\n [themeName, isDarkMode, enableAnimation, zIndexBase, getPopupContainer, flags]\n );\n\n const classNamePrefix = getClassNamePrefix(theme);\n\n const value = useMemo(() => {\n return {\n enableAnimation,\n isDarkMode,\n theme: theme.themeName,\n getPrefixCls: (suffix?: string) => getPrefixedClassNameFromTheme(theme, suffix),\n getPopupContainer,\n flags,\n };\n }, [enableAnimation, theme, isDarkMode, getPopupContainer, flags]);\n\n useEffect(() => {\n return () => {\n // when the design system context is unmounted, make sure the notification cache is also cleaned up\n notification.destroy();\n };\n }, []);\n\n return (\n <DesignSystemProviderPropsContext.Provider value={providerPropsContext}>\n <EmotionThemeProvider theme={theme}>\n {/* This AntDConfigProviderPropsContext provides context for DesignSystemAntDConfigProvider which is used in every component */}\n <AntDConfigProviderPropsContext.Provider value={{ prefixCls: classNamePrefix, getPopupContainer }}>\n <DesignSystemContext.Provider value={value}>{children}</DesignSystemContext.Provider>\n </AntDConfigProviderPropsContext.Provider>\n </EmotionThemeProvider>\n </DesignSystemProviderPropsContext.Provider>\n );\n};\n\nexport const ApplyDesignSystemContextOverrides: React.FC<DesignSystemProviderProps> = ({\n isDarkMode,\n theme,\n enableAnimation,\n zIndexBase,\n getPopupContainer,\n flags,\n children,\n}) => {\n const parentDesignSystemProviderProps = useContext(DesignSystemProviderPropsContext);\n if (parentDesignSystemProviderProps === null) {\n throw new Error(\n `ApplyDesignSystemContextOverrides cannot be used standalone - DesignSystemProvider must exist in the React context`\n );\n }\n\n const newProps = useMemo(\n () => ({\n ...parentDesignSystemProviderProps,\n isDarkMode: isDarkMode ?? parentDesignSystemProviderProps.isDarkMode,\n theme: theme ?? parentDesignSystemProviderProps.theme,\n enableAnimation: enableAnimation ?? parentDesignSystemProviderProps.enableAnimation,\n zIndexBase: zIndexBase ?? parentDesignSystemProviderProps.zIndexBase,\n getPopupContainer: getPopupContainer ?? parentDesignSystemProviderProps.getPopupContainer,\n flags: {\n ...parentDesignSystemProviderProps.flags,\n ...flags,\n },\n }),\n [parentDesignSystemProviderProps, isDarkMode, theme, enableAnimation, zIndexBase, getPopupContainer, flags]\n );\n\n return <DesignSystemProvider {...newProps}>{children}</DesignSystemProvider>;\n};\n\n// This is a more-specific version of `ApplyDesignSystemContextOverrides` that only allows overriding the flags.\nexport const ApplyDesignSystemFlags: React.FC<{\n flags: DesignSystemFlags;\n}> = ({ flags, children }) => {\n const parentDesignSystemProviderProps = useContext(DesignSystemProviderPropsContext);\n if (parentDesignSystemProviderProps === null) {\n throw new Error(\n `ApplyDesignSystemFlags cannot be used standalone - DesignSystemProvider must exist in the React context`\n );\n }\n\n const newProps = useMemo(\n () => ({\n ...parentDesignSystemProviderProps,\n flags: {\n ...parentDesignSystemProviderProps.flags,\n ...flags,\n },\n }),\n [parentDesignSystemProviderProps, flags]\n );\n\n return <DesignSystemProvider {...newProps}>{children}</DesignSystemProvider>;\n};\n\nexport interface DesignSystemAntDConfigProviderProps {\n children: React.ReactNode;\n}\n\nexport const DesignSystemAntDConfigProvider = ({ children }: DesignSystemAntDConfigProviderProps) => {\n const antdContext = useAntDConfigProviderContext();\n return <AntDConfigProvider {...antdContext}>{children}</AntDConfigProvider>;\n};\n\nexport const useAntDConfigProviderContext = () => {\n return useContext(AntDConfigProviderPropsContext) ?? { prefixCls: undefined };\n};\n\n/**\n * When using AntD components inside Design System wrapper components (e.g. Modal, Collapse etc),\n * we don't want Design System's prefix class to override them.\n *\n * Since all Design System's components have are wrapped with DesignSystemAntDConfigProvider,\n * this won't affect their own prefixCls, but just allow nested antd components to keep their ant prefix.\n */\nexport const RestoreAntDDefaultClsPrefix = ({ children }: { children: React.ReactNode }) => {\n return <AntDConfigProvider prefixCls=\"ant\">{children}</AntDConfigProvider>;\n};\n","import { useContext } from 'react';\n\nimport type { DuboisContextType } from '../DesignSystemProvider';\nimport { DesignSystemContext } from '../DesignSystemProvider';\n\nexport function useDesignSystemContext(): DuboisContextType {\n return useContext(DesignSystemContext);\n}\n","import type { DesignSystemFlags } from '../../flags';\nimport { useDesignSystemContext } from './useDesignSystemContext';\n\nexport function useDesignSystemFlags(): DesignSystemFlags {\n const context = useDesignSystemContext();\n\n return context.flags;\n}\n","import AntDIcon from '@ant-design/icons';\nimport type { SerializedStyles } from '@emotion/react';\nimport { css } from '@emotion/react';\nimport type { ReactElement } from 'react';\nimport React, { useMemo } from 'react';\n\nimport type { Theme } from '../../theme';\nimport { DesignSystemAntDConfigProvider } from '../DesignSystemProvider';\nimport { useDesignSystemFlags, useDesignSystemTheme } from '../Hooks';\nimport type { DangerouslySetAntdProps, HTMLDataAttributes } from '../types';\n\ntype AntDIconProps = Parameters<typeof AntDIcon>[0];\nexport type IconColors = 'danger' | 'warning' | 'success';\nexport interface IconProps\n extends Omit<AntDIconProps, 'component'>,\n DangerouslySetAntdProps<AntDIconProps>,\n HTMLDataAttributes {\n component?: (props: React.SVGProps<SVGSVGElement>) => ReactElement | null;\n color?: IconColors;\n}\n\nconst getIconEmotionStyles = (theme: Theme, useNewIcons?: boolean): SerializedStyles => {\n return css({\n ...(useNewIcons && { fontSize: theme.general.iconFontSizeNew }),\n });\n};\n\nconst getIconValidationColor = (theme: Theme, color?: IconColors) => {\n switch (color) {\n case 'success':\n return theme.colors.textValidationSuccess;\n case 'warning':\n return theme.colors.textValidationWarning;\n case 'danger':\n return theme.colors.textValidationDanger;\n default:\n return color;\n }\n};\n\nexport const Icon = (props: IconProps): JSX.Element => {\n const { component: Component, dangerouslySetAntdProps, color, style, ...otherProps } = props;\n const { theme } = useDesignSystemTheme();\n const { USE_NEW_ICONS } = useDesignSystemFlags();\n\n const MemoizedComponent = useMemo(\n () =>\n Component\n ? ({ fill, ...iconProps }: React.SVGProps<SVGSVGElement>) => (\n // We don't rely on top-level fills for our colors. Fills are specified\n // with \"currentColor\" on children of the top-most svg.\n <Component fill=\"none\" {...iconProps} />\n )\n : undefined,\n [Component]\n );\n\n return (\n <DesignSystemAntDConfigProvider>\n <AntDIcon\n css={getIconEmotionStyles(theme, USE_NEW_ICONS)}\n component={MemoizedComponent}\n style={{\n color: getIconValidationColor(theme, color),\n ...style,\n }}\n {...otherProps}\n {...dangerouslySetAntdProps}\n />\n </DesignSystemAntDConfigProvider>\n );\n};\n","import * as React from 'react';\n\nimport { useDesignSystemFlags } from '../../../Hooks';\nimport type { IconProps } from '../../Icon';\nimport { Icon } from '../../Icon';\n\nfunction SvgCheckIconV1(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n d=\"M8.795 15.875l-3.47-3.47a.996.996 0 00-1.41 0 .996.996 0 000 1.41l4.18 4.18c.39.39 1.02.39 1.41 0l10.58-10.58a.996.996 0 10-1.41-1.41l-9.88 9.87z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction SvgCheckIconV2(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M15.06 3.56l-9.53 9.531L1 8.561 2.06 7.5l3.47 3.47L14 2.5l1.06 1.06z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction CheckIcon(props: IconProps) {\n const { USE_NEW_ICONS } = useDesignSystemFlags();\n const component = USE_NEW_ICONS ? SvgCheckIconV2 : SvgCheckIconV1;\n return <Icon {...props} component={component} />;\n}\n\nexport default CheckIcon;\n","import * as React from 'react';\n\nimport { useDesignSystemFlags } from '../../../Hooks';\nimport type { IconProps } from '../../Icon';\nimport { Icon } from '../../Icon';\n\nfunction SvgChevronDownIconV1(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n d=\"M15.875 9l-3.88 3.88L8.115 9a.996.996 0 10-1.41 1.41l4.59 4.59c.39.39 1.02.39 1.41 0l4.59-4.59a.996.996 0 000-1.41c-.39-.38-1.03-.39-1.42 0z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction SvgChevronDownIconV2(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8 8.917L10.947 6 12 7.042 8 11 4 7.042 5.053 6 8 8.917z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction ChevronDownIcon(props: IconProps) {\n const { USE_NEW_ICONS } = useDesignSystemFlags();\n const component = USE_NEW_ICONS ? SvgChevronDownIconV2 : SvgChevronDownIconV1;\n return <Icon {...props} component={component} />;\n}\n\nexport default ChevronDownIcon;\n","import * as React from 'react';\n\nimport { useDesignSystemFlags } from '../../../Hooks';\nimport type { IconProps } from '../../Icon';\nimport { Icon } from '../../Icon';\n\nfunction SvgCloseIconV1(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n d=\"M7.707 6.293a1 1 0 00-1.414 1.414L10.586 12l-4.293 4.293a1 1 0 101.414 1.414L12 13.414l4.293 4.293a1 1 0 001.414-1.414L13.414 12l4.293-4.293a1 1 0 00-1.414-1.414L12 10.586 7.707 6.293z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction SvgCloseIconV2(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M6.97 8.03L2 3.06 3.06 2l4.97 4.97L13 2l1.06 1.06-4.969 4.97 4.97 4.97L13 14.06 8.03 9.092l-4.97 4.97L2 13l4.97-4.97z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction CloseIcon(props: IconProps) {\n const { USE_NEW_ICONS } = useDesignSystemFlags();\n const component = USE_NEW_ICONS ? SvgCloseIconV2 : SvgCloseIconV1;\n return <Icon {...props} component={component} />;\n}\n\nexport default CloseIcon;\n","import * as React from 'react';\n\nimport { useDesignSystemFlags } from '../../../Hooks';\nimport type { IconProps } from '../../Icon';\nimport { Icon } from '../../Icon';\n\nfunction SvgLoadingIconV1(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M23.212 12a.788.788 0 01-.789-.788 9.57 9.57 0 00-.757-3.751 9.662 9.662 0 00-5.129-5.129 9.587 9.587 0 00-3.749-.755.788.788 0 010-1.577c1.513 0 2.983.296 4.365.882a11.128 11.128 0 013.562 2.403 11.157 11.157 0 013.283 7.927.785.785 0 01-.786.788z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction SvgLoadingIconV2(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M23.212 12a.788.788 0 01-.789-.788 9.57 9.57 0 00-.757-3.751 9.662 9.662 0 00-5.129-5.129 9.587 9.587 0 00-3.749-.755.788.788 0 010-1.577c1.513 0 2.983.296 4.365.882a11.128 11.128 0 013.562 2.403 11.157 11.157 0 013.283 7.927.785.785 0 01-.786.788z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction LoadingIcon(props: IconProps) {\n const { USE_NEW_ICONS } = useDesignSystemFlags();\n const component = USE_NEW_ICONS ? SvgLoadingIconV2 : SvgLoadingIconV1;\n return <Icon {...props} component={component} />;\n}\n\nexport default LoadingIcon;\n","import * as React from 'react';\n\nimport { useDesignSystemFlags } from '../../../Hooks';\nimport type { IconProps } from '../../Icon';\nimport { Icon } from '../../Icon';\n\nfunction SvgNewWindowIconV1(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M5 18c0 .55.45 1 1 1h12c.55 0 1-.45 1-1v-5c0-.55.45-1 1-1s1 .45 1 1v6c0 1.1-.9 2-2 2H5c-1.1 0-2-.9-2-2V5a2 2 0 012-2h6c.55 0 1 .45 1 1s-.45 1-1 1H6c-.55 0-1 .45-1 1v12zM15 5c-.55 0-1-.45-1-1s.45-1 1-1h5c.55 0 1 .45 1 1v5c0 .55-.45 1-1 1s-1-.45-1-1V6.41l-9.13 9.13a.996.996 0 11-1.41-1.41L17.59 5H15z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction SvgNewWindowIconV2(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path d=\"M10 1h5v5h-1.5V3.56L8.53 8.53 7.47 7.47l4.97-4.97H10V1z\" fill=\"currentColor\" />\n <path\n d=\"M1 2.75A.75.75 0 011.75 2H8v1.5H2.5v10h10V8H14v6.25a.75.75 0 01-.75.75H1.75a.75.75 0 01-.75-.75V2.75z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction NewWindowIcon(props: IconProps) {\n const { USE_NEW_ICONS } = useDesignSystemFlags();\n const component = USE_NEW_ICONS ? SvgNewWindowIconV2 : SvgNewWindowIconV1;\n return <Icon {...props} component={component} />;\n}\n\nexport default NewWindowIcon;\n","import * as React from 'react';\n\nimport { useDesignSystemFlags } from '../../../Hooks';\nimport type { IconProps } from '../../Icon';\nimport { Icon } from '../../Icon';\n\nfunction SvgSearchIconV1(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M15.187 14.472h.79l4.24 4.26c.41.41.41 1.08 0 1.49-.41.41-1.08.41-1.49 0l-4.25-4.25v-.79l-.27-.28a6.5 6.5 0 01-5.34 1.48c-2.78-.47-5-2.79-5.34-5.59a6.505 6.505 0 017.27-7.27c2.8.34 5.12 2.56 5.59 5.34a6.5 6.5 0 01-1.48 5.34l.28.27zm-9.71-4.5c0 2.49 2.01 4.5 4.5 4.5s4.5-2.01 4.5-4.5-2.01-4.5-4.5-4.5-4.5 2.01-4.5 4.5z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction SvgSearchIconV2(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <g clipPath=\"url(#SearchIcon_svg__clip0_13123_34883)\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8 1a7 7 0 104.39 12.453l2.55 2.55 1.06-1.06-2.55-2.55A7 7 0 008 1zM2.5 8a5.5 5.5 0 1111 0 5.5 5.5 0 01-11 0z\"\n fill=\"currentColor\"\n />\n </g>\n <defs>\n <clipPath id=\"SearchIcon_svg__clip0_13123_34883\">\n <path fill=\"#fff\" d=\"M0 0h16v16H0z\" />\n </clipPath>\n </defs>\n </svg>\n );\n}\n\nfunction SearchIcon(props: IconProps) {\n const { USE_NEW_ICONS } = useDesignSystemFlags();\n const component = USE_NEW_ICONS ? SvgSearchIconV2 : SvgSearchIconV1;\n return <Icon {...props} component={component} />;\n}\n\nexport default SearchIcon;\n","import * as React from 'react';\n\nimport { useDesignSystemFlags } from '../../../Hooks';\nimport type { IconProps } from '../../Icon';\nimport { Icon } from '../../Icon';\n\nfunction SvgXCircleFillIconV1(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M2 12C2 6.48 6.48 2 12 2s10 4.48 10 10-4.48 10-10 10S2 17.52 2 12zm11.414 0l2.122-2.121a1.003 1.003 0 000-1.415 1.003 1.003 0 00-1.415 0L12 10.586 9.879 8.464a1.003 1.003 0 00-1.415 0 1.003 1.003 0 000 1.415L10.586 12l-2.122 2.121a1.003 1.003 0 000 1.415 1.003 1.003 0 001.415 0L12 13.414l2.121 2.122a1.003 1.003 0 001.415 0 1.003 1.003 0 000-1.415L13.414 12z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction SvgXCircleFillIconV2(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M8 16A8 8 0 108 0a8 8 0 000 16zm1.97-4.97L8 9.06l-1.97 1.97-1.06-1.06L6.94 8 4.97 6.03l1.06-1.06L8 6.94l1.97-1.97 1.06 1.06L9.06 8l1.97 1.97-1.06 1.06z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction XCircleFillIcon(props: IconProps) {\n const { USE_NEW_ICONS } = useDesignSystemFlags();\n const component = USE_NEW_ICONS ? SvgXCircleFillIconV2 : SvgXCircleFillIconV1;\n return <Icon {...props} component={component} />;\n}\n\nexport default XCircleFillIcon;\n","import * as React from 'react';\n\nimport type { IconProps } from '../../Icon';\nimport { Icon } from '../../Icon';\n\nfunction SvgSortAscendingIcon(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n d=\"M11.5.94l4.03 4.03-1.06 1.06-2.22-2.22V10h-1.5V3.81L8.53 6.03 7.47 4.97 11.5.94zM1 4.5h4V6H1V4.5zM1 12.5h10V14H1v-1.5zM8 8.5H1V10h7V8.5z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction SortAscendingIcon(props: IconProps) {\n return <Icon {...props} component={SvgSortAscendingIcon} />;\n}\n\nexport default SortAscendingIcon;\n","import * as React from 'react';\n\nimport type { IconProps } from '../../Icon';\nimport { Icon } from '../../Icon';\n\nfunction SvgSortDescendingIcon(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M1 3.5h10V2H1v1.5zm0 8h4V10H1v1.5zm7-4H1V6h7v1.5zm3.5 7.56l4.03-4.03-1.06-1.06-2.22 2.22V6h-1.5v6.19L8.53 9.97l-1.06 1.06 4.03 4.03z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction SortDescendingIcon(props: IconProps) {\n return <Icon {...props} component={SvgSortDescendingIcon} />;\n}\n\nexport default SortDescendingIcon;\n","import * as React from 'react';\n\nimport type { IconProps } from '../../Icon';\nimport { Icon } from '../../Icon';\n\nfunction SvgSortUnsortedIcon(props: React.SVGProps<SVGSVGElement>) {\n return (\n <svg width=\"1em\" height=\"1em\" viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" {...props}>\n <path\n d=\"M11.5.94L7.47 4.97l1.06 1.06 2.22-2.22v8.38L8.53 9.97l-1.06 1.06 4.03 4.03 4.03-4.03-1.06-1.06-2.22 2.22V3.81l2.22 2.22 1.06-1.06L11.5.94zM6 3.5H1V5h5V3.5zM6 11.5H1V13h5v-1.5zM1 7.5h5V9H1V7.5z\"\n fill=\"currentColor\"\n />\n </svg>\n );\n}\n\nfunction SortUnsortedIcon(props: IconProps) {\n return <Icon {...props} component={SvgSortUnsortedIcon} />;\n}\n\nexport default SortUnsortedIcon;\n","import type { getColors } from '../theme/colors';\n\nexport const ColorVars: Record<string, keyof ReturnType<typeof getColors>> = {\n primary: 'textPrimary',\n secondary: 'textSecondary',\n info: 'textValidationInfo',\n error: 'textValidationDanger',\n success: 'textValidationSuccess',\n warning: 'textValidationWarning',\n};\n","import type { CSSObject } from '@emotion/react';\nimport unitless from '@emotion/unitless';\nimport _ from 'lodash';\n\nimport type { Theme } from '../../theme';\nimport { ColorVars } from '../constants';\nimport type { TypographyColor, ValidationState } from '../types';\n\n/**\n * Recursively appends `!important` to all CSS properties in an Emotion `CSSObject`.\n * Used to ensure that we always override Ant styles, without worrying about selector precedence.\n */\nexport function importantify(obj: CSSObject): CSSObject {\n return _.mapValues(obj, (value, key) => {\n if (_.isString(value) || _.isNumber(value) || _.isBoolean(value)) {\n // Make sure we don't double-append important\n if (_.isString(value) && _.endsWith(value, '!important')) {\n return value;\n }\n\n if (_.isNumber(value)) {\n if (unitless[key]) {\n return `${value}!important`;\n }\n return `${value}px!important`;\n }\n\n return `${value}!important`;\n }\n\n if (_.isNil(value)) {\n return value;\n }\n\n return importantify(value as CSSObject);\n }) as CSSObject;\n}\n\n/**\n * Returns a text color, in case of invalid/missing key and missing fallback color it will return textPrimary\n * @param theme\n * @param key - key of TypographyColor\n * @param fallbackColor - color to return as fallback -- used to remove tertiary check inline\n */\nexport function getTypographyColor(theme: Theme, key?: TypographyColor, fallbackColor?: string): string {\n if (theme && key && Object(theme.colors).hasOwnProperty(ColorVars[key])) {\n return theme.colors[ColorVars[key]];\n }\n\n return fallbackColor ?? theme.colors.textPrimary;\n}\n\n/**\n * Returns validation color based on state, has default validation colors if params are not provided\n * @param theme\n * @param validationState\n * @param errorColor\n * @param warningColor\n * @param successColor\n */\nexport function getValidationStateColor(\n theme: Theme,\n validationState?: ValidationState,\n {\n errorColor,\n warningColor,\n successColor,\n }: {\n errorColor?: string;\n warningColor?: string;\n successColor?: string;\n } = {}\n): string | undefined {\n switch (validationState) {\n case 'error':\n return errorColor || theme.colors.actionDangerPrimaryBackgroundDefault;\n case 'warning':\n return warningColor || theme.colors.textValidationWarning;\n break;\n case 'success':\n return successColor || theme.colors.textValidationSuccess;\n default:\n return undefined;\n }\n}\n","import type { CSSObject } from '@emotion/react';\n\nimport type { Theme } from '../../theme';\n\nexport function getDefaultStyles(theme: Theme): CSSObject {\n return {\n backgroundColor: theme.colors.actionDefaultBackgroundDefault,\n borderColor: theme.colors.actionDefaultBorderDefault,\n color: theme.colors.actionDefaultTextDefault,\n lineHeight: theme.typography.lineHeightBase,\n\n '&:hover': {\n backgroundColor: theme.colors.actionDefaultBackgroundHover,\n borderColor: theme.colors.actionDefaultBorderHover,\n color: theme.colors.actionDefaultTextHover,\n },\n\n '&:active': {\n backgroundColor: theme.colors.actionDefaultBackgroundPress,\n borderColor: theme.colors.actionDefaultBorderPress,\n color: theme.colors.actionDefaultTextPress,\n },\n };\n}\n\nexport function getPrimaryStyles(theme: Theme): CSSObject {\n return {\n backgroundColor: theme.colors.actionPrimaryBackgroundDefault,\n borderColor: 'transparent',\n color: theme.colors.actionPrimaryTextDefault,\n textShadow: 'none',\n\n '&:hover': {\n backgroundColor: theme.colors.actionPrimaryBackgroundHover,\n borderColor: 'transparent',\n color: theme.colors.actionPrimaryTextHover,\n },\n\n '&:active': {\n backgroundColor: theme.colors.actionPrimaryBackgroundPress,\n borderColor: 'transparent',\n color: theme.colors.actionPrimaryTextPress,\n },\n };\n}\n\nexport function getLinkStyles(theme: Theme): CSSObject {\n return {\n backgroundColor: theme.colors.actionTertiaryBackgroundDefault,\n borderColor: theme.colors.actionTertiaryBackgroundDefault,\n color: theme.colors.actionTertiaryTextDefault,\n\n '&:hover': {\n backgroundColor: theme.colors.actionTertiaryBackgroundHover,\n borderColor: 'transparent',\n color: theme.colors.actionTertiaryTextHover,\n },\n\n '&:active': {\n backgroundColor: theme.colors.actionTertiaryBackgroundPress,\n borderColor: 'transparent',\n color: theme.colors.actionTertiaryTextPress,\n },\n\n '&[disabled]:hover': {\n background: 'none',\n color: theme.colors.actionDisabledText,\n },\n };\n}\n\nexport function getPrimaryDangerStyles(theme: Theme): CSSObject {\n return {\n backgroundColor: theme.colors.actionDangerPrimaryBackgroundDefault,\n borderColor: 'transparent',\n color: theme.colors.white,\n\n '&:hover': {\n backgroundColor: theme.colors.actionDangerPrimaryBackgroundHover,\n borderColor: 'transparent',\n color: theme.colors.white,\n },\n\n '&:active': {\n backgroundColor: theme.colors.actionDangerPrimaryBackgroundPress,\n borderColor: 'transparent',\n color: theme.colors.white,\n },\n\n '&:focus-visible': {\n outlineColor: theme.colors.actionDangerPrimaryBackgroundDefault,\n },\n };\n}\n\nexport function getSecondaryDangerStyles(theme: Theme): CSSObject {\n return {\n backgroundColor: theme.colors.actionDangerDefaultBackgroundDefault,\n borderColor: theme.colors.actionDangerDefaultBorderDefault,\n color: theme.colors.actionDangerDefaultTextDefault,\n\n '&:hover': {\n backgroundColor: theme.colors.actionDangerDefaultBackgroundHover,\n borderColor: theme.colors.actionDangerDefaultBorderHover,\n color: theme.colors.actionDangerDefaultTextHover,\n },\n\n '&:active': {\n backgroundColor: theme.colors.actionDangerDefaultBackgroundPress,\n borderColor: theme.colors.actionDangerDefaultBorderPress,\n color: theme.colors.actionDangerDefaultTextPress,\n },\n\n '&:focus-visible': {\n outlineColor: theme.colors.actionDangerPrimaryBackgroundDefault,\n },\n };\n}\n\nexport function getDisabledStyles(theme: Theme): CSSObject {\n return {\n backgroundColor: theme.colors.actionDisabledBackground,\n borderColor: 'transparent',\n color: theme.colors.actionDisabledText,\n\n '&:hover': {\n backgroundColor: theme.colors.actionDisabledBackground,\n borderColor: 'transparent',\n color: theme.colors.actionDisabledText,\n },\n\n '&:active': {\n backgroundColor: theme.colors.actionDisabledBackground,\n borderColor: 'transparent',\n color: theme.colors.actionDisabledText,\n },\n };\n}\n\nexport function getDisabledTertiaryStyles(theme: Theme): CSSObject {\n return {\n backgroundColor: theme.colors.actionTertiaryBackgroundDefault,\n borderColor: 'transparent',\n color: theme.colors.actionDisabledText,\n\n '&:hover': {\n backgroundColor: theme.colors.actionTertiaryBackgroundDefault,\n borderColor: 'transparent',\n color: theme.colors.actionDisabledText,\n },\n\n '&:active': {\n backgroundColor: theme.colors.actionTertiaryBackgroundDefault,\n borderColor: 'transparent',\n color: theme.colors.actionDisabledText,\n },\n };\n}\n","import type { CSSObject, SerializedStyles } from '@emotion/react';\nimport { css } from '@emotion/react';\nimport type { ButtonProps as AntDButtonProps } from 'antd';\nimport { Button as AntDButton } from 'antd';\nimport type { ReactElement } from 'react';\nimport { forwardRef } from 'react';\n\nimport type { ComponentTheme, Theme } from '../../theme';\nimport { DesignSystemAntDConfigProvider, getAnimationCss } from '../DesignSystemProvider';\nimport { useDesignSystemFlags, useDesignSystemTheme } from '../Hooks';\nimport type { DangerouslySetAntdProps, HTMLDataAttributes } from '../types';\nimport { importantify } from '../utils/css-utils';\nimport {\n getDefaultStyles,\n getDisabledStyles,\n getPrimaryDangerStyles,\n getPrimaryStyles,\n getSecondaryDangerStyles,\n getLinkStyles,\n getDisabledTertiaryStyles,\n} from './styles';\n\nfunction getEndIconClsName(theme: Theme) {\n return `${theme.general.iconfontCssPrefix}-btn-end-icon`;\n}\n\nexport const getButtonEmotionStyles = ({\n theme,\n classNamePrefix,\n loading,\n withIcon,\n onlyIcon,\n isAnchor,\n enableAnimation,\n size,\n type,\n isFlex,\n useNewIcons,\n useFocusPseudoClass,\n forceIconStyles,\n}: {\n theme: ComponentTheme;\n classNamePrefix: string;\n loading?: boolean;\n withIcon?: boolean;\n onlyIcon?: boolean;\n isAnchor?: boolean;\n danger?: boolean;\n enableAnimation: boolean;\n size: ButtonSize;\n type?: ButtonProps['type'];\n isFlex?: boolean;\n useNewIcons?: boolean;\n useFocusPseudoClass?: boolean;\n forceIconStyles?: boolean;\n}): SerializedStyles => {\n const clsIcon = `.${theme.general.iconfontCssPrefix}`;\n const clsEndIcon = `.${getEndIconClsName(theme)}`;\n const clsLoadingIcon = `.${classNamePrefix}-btn-loading-icon`;\n const clsIconOnly = `.${classNamePrefix}-btn-icon-only`;\n const classPrimary = `.${classNamePrefix}-btn-primary`;\n const classLink = `.${classNamePrefix}-btn-link`;\n const classDangerous = `.${classNamePrefix}-btn-dangerous`;\n\n const SMALL_BUTTON_HEIGHT = 24;\n\n const tertiaryColors = {\n background: theme.colors.actionTertiaryBackgroundDefault,\n color: theme.colors.actionTertiaryTextDefault,\n\n '&:hover': {\n background: theme.colors.actionTertiaryBackgroundHover,\n color: theme.colors.actionTertiaryTextHover,\n },\n\n '&:active': {\n background: theme.colors.actionTertiaryBackgroundPress,\n color: theme.colors.actionTertiaryTextPress,\n },\n };\n\n const iconCss = {\n fontSize: useNewIcons ? theme.general.iconFontSizeNew : theme.general.buttonInnerHeight - 4,\n ...(!isFlex && {\n // verticalAlign used by AntD to move icon and label to center\n // TODO(schs): Try to move buttons to flexbox to solve this. Main problem is that flex-inline and inline-block\n // behave differently (vertically align of multiple buttons is off). See https://codepen.io/qfactor/pen/JXVzBe\n verticalAlign: useNewIcons ? -4 : -5,\n\n ...(onlyIcon && {\n verticalAlign: -3,\n }),\n\n // verticalAlign used by AntD to move icon and label to center\n // TODO(schs): Try to move buttons to flexbox to solve this. Main problem is that flex-inline and inline-block\n // behave differently (vertically align of multiple buttons is off). See https://codepen.io/qfactor/pen/JXVzBe\n // Need to make sure not to apply this to regular buttons as it will offset the icons\n ...(!onlyIcon && {\n verticalAlign: useNewIcons ? -3 : -4,\n }),\n }),\n lineHeight: 0,\n ...(size === 'small' && {\n lineHeight: theme.typography.lineHeightSm,\n\n ...((onlyIcon || forceIconStyles) && {\n fontSize: 16,\n ...(isFlex && {\n height: 16,\n }),\n }),\n }),\n };\n const inactiveIconCss = {\n color: theme.colors.grey600,\n };\n const endIconCssSelector = `span > ${clsEndIcon} > ${clsIcon}`;\n const styles: CSSObject = {\n lineHeight: theme.typography.lineHeightBase,\n boxShadow: 'none',\n height: theme.general.heightSm,\n ...(isFlex && {\n display: 'inline-flex',\n alignItems: 'center',\n justifyContent: 'center',\n verticalAlign: 'middle',\n }),\n\n ...(!onlyIcon &&\n !forceIconStyles && {\n '&&': {\n padding: '4px 12px',\n\n ...(size === 'small' && {\n padding: '0 8px',\n }),\n },\n }),\n\n ...((onlyIcon || forceIconStyles) && {\n width: theme.general.heightSm,\n }),\n\n ...(size === 'small' && {\n height: SMALL_BUTTON_HEIGHT,\n lineHeight: theme.typography.lineHeightBase,\n\n ...((onlyIcon || forceIconStyles) && {\n width: SMALL_BUTTON_HEIGHT,\n paddingTop: 0,\n paddingBottom: 0,\n verticalAlign: 'middle',\n }),\n }),\n\n '&:focus-visible': {\n outlineStyle: 'solid',\n outlineWidth: '2px',\n outlineOffset: '1px',\n outlineColor: theme.themeName === 'dark' ? theme.colors.actionDefaultBorderFocus : theme.colors.primary,\n },\n\n ...getDefaultStyles(theme),\n\n [`&${classPrimary}`]: {\n ...getPrimaryStyles(theme),\n },\n\n [`&${classLink}`]: {\n ...getLinkStyles(theme),\n ...(type === 'link' && {\n padding: 'unset',\n height: 'auto',\n border: 'none',\n boxShadow: 'none',\n\n '&[disabled],&:hover': {\n background: 'none',\n },\n }),\n },\n\n [`&${classDangerous}${classPrimary}`]: {\n ...getPrimaryDangerStyles(theme),\n },\n\n [`&${classDangerous}`]: {\n ...getSecondaryDangerStyles(theme),\n },\n\n [`&[disabled], &${classDangerous}:disabled`]: {\n ...getDisabledStyles(theme),\n ...((onlyIcon || forceIconStyles) && {\n backgroundColor: 'transparent',\n '&:hover': {\n backgroundColor: 'transparent',\n },\n '&:active': {\n backgroundColor: 'transparent',\n },\n }),\n },\n\n // Loading styles\n ...(loading && {\n '::before': {\n opacity: 0,\n },\n\n [`${clsLoadingIcon}`]: {\n ...(onlyIcon\n ? {\n // In case of only icon, the icon is already centered but vertically not aligned, this fixes that\n verticalAlign: 'middle',\n }\n : {\n // Position loading indicator in center\n // This would break vertical centering of loading circle when onlyIcon is true\n position: 'absolute',\n }),\n ...(!isFlex &&\n !forceIconStyles && {\n // Normally we'd do `transform: translateX(-50%)` but `antd` crushes that with injected inline `style`.\n left: 'calc(50% - 7px)',\n }),\n\n // Re-enable animation for the loading spinner, since it can be disabled by the global animation CSS.\n svg: {\n animationDuration: '1s !important',\n },\n },\n [`> :not(${clsLoadingIcon})`]: {\n // Hide all content except loading icon\n opacity: 0,\n visibility: 'hidden',\n // Add horizontal space for icon\n ...(withIcon && { paddingLeft: theme.spacing.sm * 2 + 14 }),\n },\n }),\n\n // Icon styles\n [`> ${clsIcon} + span, > span + ${clsIcon}`]: {\n marginRight: 0,\n },\n\n [`> ${clsIcon}`]: iconCss,\n [`> ${endIconCssSelector}`]: {\n ...iconCss,\n marginLeft: size === 'small' ? 8 : 12,\n },\n\n ...(!type && {\n [`&:enabled:not(:hover):not(:active) > ${clsIcon}`]: inactiveIconCss,\n }),\n ...(!type && {\n [`&:enabled:not(:hover):not(:active) > ${endIconCssSelector}`]: inactiveIconCss,\n }),\n\n // Disable animations\n [`&[${classNamePrefix}-click-animating-without-extra-node='true']::after`]: {\n display: 'none',\n },\n\n [`&${clsIconOnly}`]: {\n border: 'none',\n\n [`&:enabled:not(${classLink})`]: {\n ...tertiaryColors,\n color: theme.colors.textSecondary,\n },\n\n ...(isAnchor && {\n lineHeight: `${theme.general.heightSm}px`,\n ...getLinkStyles(theme),\n\n '&:disabled': {\n color: theme.colors.actionDisabledText,\n },\n }),\n\n '&[disabled]:hover': {\n backgroundColor: 'transparent',\n },\n },\n\n [`&:focus`]: {\n ...(useFocusPseudoClass && {\n outlineStyle: 'solid',\n outlineWidth: '2px',\n outlineOffset: '1px',\n outlineColor: theme.themeName === 'dark' ? theme.colors.actionDefaultBorderFocus : theme.colors.primary,\n }),\n [`${clsLoadingIcon}`]: {\n ...(onlyIcon && {\n // Mitigate wrong left offset for loading state with onlyIcon\n left: 0,\n }),\n },\n },\n\n ...(forceIconStyles && {\n padding: '0 6px',\n lineHeight: theme.typography.lineHeightSm,\n color: theme.colors.textSecondary,\n\n '& > span': {\n verticalAlign: -1,\n height: theme.general.heightSm / 2,\n width: theme.general.heightSm / 2,\n },\n\n [`& > ${clsLoadingIcon} .anticon`]: {\n // left: `calc(50% - 6px)!important`,\n height: theme.general.heightSm / 2,\n width: theme.general.heightSm / 2,\n padding: 0,\n },\n }),\n\n ...getAnimationCss(enableAnimation),\n };\n\n // Moved outside main style object because state & selector matching in the already existing object keys can create bugs and unwanted overwrites\n const typeStyles: CSSObject = {\n ...(type === 'tertiary' && {\n [`&:enabled:not(${clsIconOnly})`]: tertiaryColors,\n [`&${classLink}[disabled]`]: {\n ...getDisabledTertiaryStyles(theme),\n },\n }),\n };\n\n const importantStyles = importantify(styles);\n const importantTypeStyles = importantify(typeStyles);\n\n return css(importantStyles, importantTypeStyles);\n};\n\nexport type ButtonSize = 'middle' | 'small';\n\nexport interface ButtonProps\n extends Omit<AntDButtonProps, 'type' | 'ghost' | 'shape' | 'size'>,\n HTMLDataAttributes,\n DangerouslySetAntdProps<AntDButtonProps> {\n type?: 'primary' | 'link' | 'tertiary';\n size?: ButtonSize;\n endIcon?: React.ReactNode;\n dangerouslySetForceIconStyles?: boolean;\n // useFocusPseudoClass enable focus pseudo-class which uses the same styles\n // as focus-visible pseudo-class. This is a hacky way to mimic\n // HTMLElement.focus()({ focusVisible: true }) given focusVisible paramenter is not yet\n // implemented in all browsers\n dangerouslyUseFocusPseudoClass?: boolean;\n}\n\nexport const Button = /* #__PURE__ */ (() => {\n const Button = forwardRef<HTMLButtonElement, ButtonProps>(function Button(\n // Keep size out of props passed to AntD to make deprecation and eventual removal have 0 impact\n {\n dangerouslySetAntdProps,\n children,\n size,\n type,\n endIcon,\n dangerouslySetForceIconStyles,\n dangerouslyUseFocusPseudoClass,\n ...props\n },\n ref\n ): ReactElement {\n const { theme, classNamePrefix } = useDesignSystemTheme();\n const { USE_FLEX_BUTTON: isFlex, USE_NEW_ICONS: useNewIcons } = useDesignSystemFlags();\n const clsEndIcon = getEndIconClsName(theme);\n\n return (\n <DesignSystemAntDConfigProvider>\n <AntDButton\n {...props}\n css={getButtonEmotionStyles({\n theme,\n classNamePrefix,\n loading: Boolean(props.loading),\n withIcon: Boolean(props.icon),\n onlyIcon: Boolean((props.icon || endIcon) && !children),\n isAnchor: Boolean(props.href && !type),\n danger: Boolean(props.danger),\n enableAnimation: theme.options.enableAnimation,\n size: size || 'middle',\n type,\n isFlex,\n useNewIcons,\n forceIconStyles: Boolean(dangerouslySetForceIconStyles),\n useFocusPseudoClass: Boolean(dangerouslyUseFocusPseudoClass),\n })}\n href={props.disabled ? undefined : props.href}\n {...dangerouslySetAntdProps}\n ref={ref}\n type={type === 'tertiary' ? 'link' : type}\n >\n {children && (\n <span\n style={{\n visibility: props?.loading ? 'hidden' : 'visible',\n ...(isFlex && { display: 'inline-flex', alignItems: 'center' }),\n }}\n >\n {children}\n {endIcon && (\n <span\n className={clsEndIcon}\n style={{ ...(isFlex && { display: 'inline-flex', alignItems: 'center' }) }}\n >\n {endIcon}\n </span>\n )}\n </span>\n )}\n </AntDButton>\n </DesignSystemAntDConfigProvider>\n );\n });\n\n // This is needed for other Ant components that wrap Button, such as Tooltip, to correctly\n // identify it as an Ant button.\n // This should be removed if the component is rewritten to no longer be a wrapper around Ant.\n // See: https://github.com/ant-design/ant-design/blob/6dd39c1f89b4d6632e6ed022ff1bc275ca1e0f1f/components/button/button.tsx#L291\n (Button as typeof Button & { __ANT_BUTTON: true }).__ANT_BUTTON = true;\n return Button;\n})();\n","import type { CSSObject } from '@emotion/react';\nimport { css } from '@emotion/react';\nimport { Checkbox as AntDCheckbox } from 'antd';\nimport type {\n CheckboxProps as AntDCheckboxProps,\n CheckboxGroupProps as AntDCheckboxGroupProps,\n CheckboxChangeEvent,\n} from 'antd/lib/checkbox';\nimport classnames from 'classnames';\nimport { forwardRef } from 'react';\n\nimport type { Theme } from '../../theme';\nimport { DesignSystemAntDConfigProvider, getAnimationCss, RestoreAntDDefaultClsPrefix } from '../DesignSystemProvider';\nimport { useDesignSystemFlags } from '../Hooks';\nimport { useDesignSystemTheme } from '../Hooks/useDesignSystemTheme';\nimport type { DangerouslySetAntdProps, HTMLDataAttributes } from '../types';\nimport { importantify } from '../utils/css-utils';\n\nfunction getCheckboxEmotionStyles(\n clsPrefix: string,\n theme: Theme,\n isHorizontal = false,\n useNewCheckboxStyles = false\n): CSSObject {\n const classInput = `.${clsPrefix}-input`;\n const classInner = `.${clsPrefix}-inner`;\n const classIndeterminate = `.${clsPrefix}-indeterminate`;\n const classChecked = `.${clsPrefix}-checked`;\n const classDisabled = `.${clsPrefix}-disabled`;\n const classDisabledWrapper = `.${clsPrefix}-wrapper-disabled`;\n const classContainer = `.${clsPrefix}-group`;\n const classWrapper = `.${clsPrefix}-wrapper`;\n\n const defaultSelector = `${classInput} + ${classInner}`;\n const hoverSelector = `${classInput}:hover + ${classInner}`;\n const pressSelector = `${classInput}:active + ${classInner}`;\n\n const styles: CSSObject = {\n ...(useNewCheckboxStyles && {\n [`.${clsPrefix}`]: {\n top: 'unset',\n lineHeight: theme.typography.lineHeightBase,\n },\n\n [`&${classWrapper}, ${classWrapper}`]: {\n alignItems: 'center',\n lineHeight: theme.typography.lineHeightBase,\n },\n }),\n\n // Top level styles are for the unchecked state\n [classInner]: {\n borderColor: theme.colors.actionDefaultBorderDefault,\n },\n\n // Layout styling\n [`&${classContainer}`]: {\n display: 'flex',\n flexDirection: 'column',\n rowGap: theme.spacing.sm,\n columnGap: 0,\n },\n\n ...(isHorizontal && {\n [`&${classContainer}`]: {\n display: 'flex',\n flexDirection: 'row',\n columnGap: theme.spacing.sm,\n rowGap: 0,\n\n [`& > ${classContainer}-item`]: {\n marginRight: 0,\n },\n },\n }),\n\n // Keyboard focus\n [`${classInput}:focus-visible + ${classInner}`]: {\n outlineWidth: '2px',\n outlineColor: theme.colors.primary,\n outlineOffset: '4px',\n outlineStyle: 'solid',\n },\n\n // Hover\n [hoverSelector]: {\n backgroundColor: theme.colors.actionDefaultBackgroundHover,\n borderColor: theme.colors.actionPrimaryBackgroundHover,\n },\n\n // Mouse pressed\n [pressSelector]: {\n backgroundColor: theme.colors.actionDefaultBackgroundPress,\n borderColor: theme.colors.actionPrimaryBackgroundPress,\n },\n\n // Checked state\n [classChecked]: {\n '&::after': {\n border: 'none',\n },\n\n [defaultSelector]: {\n backgroundColor: theme.colors.actionPrimaryBackgroundDefault,\n borderColor: 'transparent',\n },\n\n // Checked hover\n [hoverSelector]: {\n backgroundColor: theme.colors.actionPrimaryBackgroundHover,\n borderColor: 'transparent',\n },\n\n // Checked and mouse pressed\n [pressSelector]: {\n backgroundColor: theme.colors.actionPrimaryBackgroundPress,\n borderColor: 'transparent',\n },\n },\n\n // Indeterminate\n [classIndeterminate]: {\n [classInner]: {\n backgroundColor: theme.colors.actionPrimaryBackgroundDefault,\n borderColor: theme.colors.actionPrimaryBackgroundDefault,\n\n // The after pseudo-element is used for the check image itself\n '&:after': {\n backgroundColor: theme.colors.white,\n height: '3px',\n width: '8px',\n borderRadius: '4px',\n },\n },\n\n // Indeterminate hover\n [hoverSelector]: {\n backgroundColor: theme.colors.actionPrimaryBackgroundHover,\n borderColor: 'transparent',\n },\n\n // Indeterminate and mouse pressed\n [pressSelector]: {\n backgroundColor: theme.colors.actionPrimaryBackgroundPress,\n },\n },\n\n // Disabled state\n [`&${classDisabledWrapper}`]: {\n [classDisabled]: {\n // Disabled Checked\n [`&${classChecked}`]: {\n [classInner]: {\n backgroundColor: theme.colors.actionDisabledBackground,\n borderColor: theme.colors.actionDisabledBackground,\n },\n\n // Disabled checked hover\n [hoverSelector]: {\n backgroundColor: theme.colors.actionDisabledBackground,\n borderColor: theme.colors.actionDisabledBackground,\n },\n },\n\n // Disabled indeterminate\n [`&${classIndeterminate}`]: {\n [classInner]: {\n backgroundColor: theme.colors.actionDisabledBackground,\n borderColor: theme.colors.actionDisabledBackground,\n },\n\n // Disabled indeterminate hover\n [hoverSelector]: {\n backgroundColor: theme.colors.actionDisabledBackground,\n borderColor: theme.colors.actionDisabledBackground,\n },\n },\n\n // Disabled unchecked\n [classInner]: {\n backgroundColor: theme.colors.actionDisabledBackground,\n borderColor: theme.colors.actionDisabledBackground,\n\n // The after pseudo-element is used for the check image itself\n '&:after': {\n borderColor: theme.colors.white,\n },\n },\n\n // Disabled hover\n [hoverSelector]: {\n backgroundColor: theme.colors.actionDisabledBackground,\n borderColor: theme.colors.actionDisabledBackground,\n },\n\n '& + span': {\n color: theme.colors.actionDisabledText,\n },\n },\n },\n\n // Animation\n ...getAnimationCss(theme.options.enableAnimation),\n };\n\n return styles;\n}\n\nexport const getWrapperStyle = ({\n clsPrefix,\n theme,\n wrapperStyle = {},\n useNewStyles,\n}: {\n clsPrefix: string;\n theme: Theme;\n wrapperStyle?: React.CSSProperties;\n useNewStyles?: boolean;\n}) => {\n const styles = {\n ...(useNewStyles && {\n [`&& + .${clsPrefix}-hint, && + .${clsPrefix}-form-message`]: {\n paddingLeft: theme.spacing.lg,\n marginTop: 0,\n },\n }),\n\n ...wrapperStyle,\n };\n\n return css(styles);\n};\n\nexport interface CheckboxProps\n extends DangerouslySetAntdProps<AntDCheckboxProps>,\n Omit<React.InputHTMLAttributes<HTMLInputElement>, 'onChange'>,\n HTMLDataAttributes {\n isChecked?: boolean | null;\n onChange?: (isChecked: boolean, event: CheckboxChangeEvent) => void;\n children?: React.ReactNode;\n isDisabled?: boolean;\n /**\n * Used to set styling for the div wrapping the checkbox element\n */\n wrapperStyle?: React.CSSProperties;\n /**\n * Used to style the checkbox element itself\n */\n style?: React.CSSProperties;\n}\n\nexport interface CheckboxGroupProps\n extends Omit<AntDCheckboxGroupProps, 'prefixCls'>,\n Omit<React.InputHTMLAttributes<HTMLInputElement>, 'defaultValue' | 'onChange' | 'value'> {\n layout?: 'vertical' | 'horizontal';\n}\n\nconst DuboisCheckbox = forwardRef<HTMLInputElement, CheckboxProps>(function Checkbox(\n {\n isChecked,\n onChange,\n children,\n isDisabled = false,\n style,\n wrapperStyle,\n dangerouslySetAntdProps,\n className,\n ...restProps\n }: CheckboxProps,\n ref\n): JSX.Element {\n const { theme, classNamePrefix, getPrefixedClassName } = useDesignSystemTheme();\n const { USE_NEW_CHECKBOX_STYLES } = useDesignSystemFlags();\n const clsPrefix = getPrefixedClassName('checkbox');\n\n return (\n <DesignSystemAntDConfigProvider>\n {/* Antd checkboxes are inline, so we add this div to make ours block-level */}\n <div\n className={classnames(className, `${clsPrefix}-container`)}\n css={getWrapperStyle({\n clsPrefix: classNamePrefix,\n theme,\n wrapperStyle,\n useNewStyles: USE_NEW_CHECKBOX_STYLES,\n })}\n >\n <AntDCheckbox\n checked={isChecked === null ? undefined : isChecked}\n ref={ref}\n onChange={\n onChange\n ? (event) => {\n onChange(event.target.checked, event);\n }\n : undefined\n }\n disabled={isDisabled}\n indeterminate={isChecked === null}\n // Individual checkboxes don't depend on isHorizontal flag, orientation and spacing is handled by end users\n css={css(importantify(getCheckboxEmotionStyles(clsPrefix, theme, false, USE_NEW_CHECKBOX_STYLES)))}\n style={style}\n aria-checked={isChecked === null ? 'mixed' : isChecked}\n {...restProps}\n {...dangerouslySetAntdProps}\n >\n <RestoreAntDDefaultClsPrefix>{children}</RestoreAntDDefaultClsPrefix>\n </AntDCheckbox>\n </div>\n </DesignSystemAntDConfigProvider>\n );\n});\n\nconst CheckboxGroup = forwardRef<HTMLInputElement, CheckboxGroupProps>(function CheckboxGroup(\n { children, layout = 'vertical', ...props }: CheckboxGroupProps,\n ref\n): JSX.Element {\n const { theme, getPrefixedClassName } = useDesignSystemTheme();\n const clsPrefix = getPrefixedClassName('checkbox');\n const { USE_NEW_CHECKBOX_STYLES } = useDesignSystemFlags();\n\n return (\n <DesignSystemAntDConfigProvider>\n <AntDCheckbox.Group\n ref={ref}\n {...props}\n css={getCheckboxEmotionStyles(clsPrefix, theme, layout === 'horizontal', USE_NEW_CHECKBOX_STYLES)}\n >\n <RestoreAntDDefaultClsPrefix>{children}</RestoreAntDDefaultClsPrefix>\n </AntDCheckbox.Group>\n </DesignSystemAntDConfigProvider>\n );\n});\n\nconst CheckboxNamespace = /* #__PURE__ */ Object.assign(DuboisCheckbox, { Group: CheckboxGroup });\n\nexport const Checkbox = CheckboxNamespace;\n\n// TODO: I'm doing this to support storybook's docgen;\n// We should remove this once we have a better storybook integration,\n// since these will be exposed in the library's exports.\nexport const __INTERNAL_DO_NOT_USE__Group = CheckboxGroup;\n","import type { Interpolation, SerializedStyles } from '@emotion/react';\nimport { css } from '@emotion/react';\nimport { Typography as AntDTypography } from 'antd';\nimport type { ComponentProps } from 'react';\n\nimport type { Theme } from '../../theme';\nimport { DesignSystemAntDConfigProvider } from '../DesignSystemProvider';\nimport { useDesignSystemFlags, useDesignSystemTheme } from '../Hooks';\nimport { NewWindowIcon } from '../Icon';\nimport type { DangerouslySetAntdProps, HTMLDataAttributes } from '../types';\n\ntype AntDLinkProps = ComponentProps<typeof AntDTypography['Link']>;\n\nexport interface LinkProps extends AntDLinkProps, DangerouslySetAntdProps<AntDLinkProps>, HTMLDataAttributes {\n /**\n * Configures a link to be opened in a new tab by setting `target` to `'_blank'`\n * and `rel` to `'noopener noreferrer'`, which is necessary for security, and\n * rendering an \"external link\" icon next to the link when `true`.\n */\n openInNewTab?: boolean;\n}\n\nconst getLinkStyles = (theme: Theme, clsPrefix: string, useNewIcons?: boolean): SerializedStyles => {\n const classTypography = `.${clsPrefix}-typography`;\n\n const styles: Interpolation<Theme> = {\n [`&${classTypography}, &${classTypography}:focus`]: {\n color: theme.colors.actionTertiaryTextDefault,\n },\n\n [`&${classTypography}:hover, &${classTypography}:hover .anticon`]: {\n color: theme.colors.actionTertiaryTextHover,\n textDecoration: 'underline',\n },\n\n [`&${classTypography}:active, &${classTypography}:active .anticon`]: {\n color: theme.colors.actionTertiaryTextPress,\n textDecoration: 'underline',\n },\n\n [`&${classTypography}:focus-visible`]: {\n textDecoration: 'underline',\n },\n\n ...(useNewIcons && {\n '.anticon': {\n fontSize: 12,\n },\n }),\n };\n\n return css(styles);\n};\n\nconst getEllipsisNewTabLinkStyles = (): SerializedStyles => {\n const styles: Interpolation<Theme> = {\n paddingRight: 'calc(2px + 1em)', // 1em for icon\n position: 'relative',\n };\n\n return css(styles);\n};\n\nconst getIconStyles = (theme: Theme): SerializedStyles => {\n const styles: Interpolation<Theme> = {\n marginLeft: 2,\n color: theme.colors.actionTertiaryTextDefault,\n };\n\n return css(styles);\n};\n\nconst getEllipsisIconStyles = (useNewIcons?: boolean): SerializedStyles => {\n const styles: Interpolation<Theme> = {\n position: 'absolute',\n right: 0,\n bottom: 0,\n top: 0,\n display: 'flex',\n alignItems: 'center',\n ...(useNewIcons && {\n fontSize: 12,\n }),\n };\n\n return css(styles);\n};\n\nexport function Link({ dangerouslySetAntdProps, ...props }: LinkProps): JSX.Element {\n const { children, openInNewTab, ...restProps } = props;\n const { theme, classNamePrefix } = useDesignSystemTheme();\n const { USE_NEW_ICONS: useNewIcons } = useDesignSystemFlags();\n\n const newTabProps = {\n rel: 'noopener noreferrer',\n target: '_blank',\n };\n\n const linkProps = openInNewTab ? { ...restProps, ...newTabProps } : { ...restProps };\n\n const linkStyles =\n props.ellipsis && openInNewTab\n ? [getLinkStyles(theme, classNamePrefix, useNewIcons), getEllipsisNewTabLinkStyles()]\n : getLinkStyles(theme, classNamePrefix, useNewIcons);\n const iconStyles = props.ellipsis ? [getIconStyles(theme), getEllipsisIconStyles()] : getIconStyles(theme);\n\n return (\n <DesignSystemAntDConfigProvider>\n <AntDTypography.Link css={linkStyles} {...linkProps} {...dangerouslySetAntdProps}>\n {children}\n {openInNewTab ? <NewWindowIcon css={iconStyles} {...newTabProps} /> : null}\n </AntDTypography.Link>\n </DesignSystemAntDConfigProvider>\n );\n}\n","import type { SerializedStyles } from '@emotion/react';\nimport { css } from '@emotion/react';\nimport { Typography as AntDTypography } from 'antd';\nimport type { ComponentProps } from 'react';\n\nimport type { Theme } from '../../theme';\nimport { DesignSystemAntDConfigProvider } from '../DesignSystemProvider';\nimport { useDesignSystemTheme } from '../Hooks';\nimport type { DangerouslySetAntdProps, TypographyColor, HTMLDataAttributes } from '../types';\nimport { getTypographyColor } from '../utils/css-utils';\n\nconst { Paragraph: AntDParagraph } = AntDTypography;\n\ntype AntDTypographyProps = ComponentProps<typeof AntDTypography>;\ntype AntDParagraphProps = ComponentProps<typeof AntDTypography['Paragraph']>;\n\nexport interface ParagraphProps\n extends AntDTypographyProps,\n Pick<AntDParagraphProps, 'ellipsis' | 'disabled' | 'id' | 'title' | 'aria-label'>,\n HTMLDataAttributes,\n DangerouslySetAntdProps<AntDParagraphProps> {\n withoutMargins?: boolean;\n color?: TypographyColor;\n}\n\nfunction getParagraphEmotionStyles(theme: Theme, props: ParagraphProps): SerializedStyles {\n return css(\n {\n '&&': {\n fontSize: theme.typography.fontSizeBase,\n lineHeight: theme.typography.lineHeightBase,\n color: getTypographyColor(theme, props.color, theme.colors.textPrimary),\n },\n },\n props.disabled && { '&&': { color: theme.colors.actionDisabledText } },\n props.withoutMargins && {\n '&&': {\n marginTop: 0,\n marginBottom: 0,\n },\n }\n );\n}\n\nexport function Paragraph(userProps: ParagraphProps): JSX.Element {\n const { dangerouslySetAntdProps, withoutMargins, color, ...props } = userProps;\n const { theme } = useDesignSystemTheme();\n\n return (\n <DesignSystemAntDConfigProvider>\n <AntDParagraph\n {...props}\n className={props.className}\n css={getParagraphEmotionStyles(theme, userProps)}\n {...dangerouslySetAntdProps}\n />\n </DesignSystemAntDConfigProvider>\n );\n}\n","import type { SerializedStyles } from '@emotion/react';\nimport { css } from '@emotion/react';\nimport { Typography as AntDTypography } from 'antd';\nimport type { ComponentProps } from 'react';\n\nimport type { Theme } from '../../theme';\nimport { DesignSystemAntDConfigProvider } from '../DesignSystemProvider';\nimport { useDesignSystemTheme } from '../Hooks';\nimport type { DangerouslySetAntdProps, TypographyColor, HTMLDataAttributes } from '../types';\nimport { getTypographyColor } from '../utils/css-utils';\n\nconst { Text: AntDText } = AntDTypography;\n\ntype AntDTypographyProps = ComponentProps<typeof AntDTypography>;\ntype AntDTextProps = ComponentProps<typeof AntDTypography['Text']>;\n\nexport interface TextProps\n extends AntDTypographyProps,\n Pick<AntDTextProps, 'ellipsis' | 'disabled' | 'code' | 'id' | 'title' | 'aria-label'>,\n HTMLDataAttributes,\n DangerouslySetAntdProps<AntDTextProps> {\n bold?: boolean;\n hint?: boolean;\n size?: 'sm' | 'md' | 'lg' | 'xl' | 'xxl';\n withoutMargins?: boolean;\n color?: TypographyColor;\n}\n\nfunction getTextEmotionStyles(theme: Theme, props: TextProps): SerializedStyles {\n return css(\n {\n '&&': {\n fontSize: theme.typography.fontSizeBase,\n lineHeight: theme.typography.lineHeightBase,\n color: getTypographyColor(theme, props.color, theme.colors.textPrimary),\n },\n },\n props.disabled && { '&&': { color: theme.colors.actionDisabledText } },\n props.hint && {\n '&&': { fontSize: theme.typography.fontSizeSm, lineHeight: theme.typography.lineHeightSm },\n },\n props.bold && {\n '&&': {\n fontSize: theme.typography.fontSizeBase,\n fontWeight: theme.typography.typographyBoldFontWeight,\n lineHeight: theme.typography.lineHeightBase,\n },\n },\n props.code && {\n '&& > code': {\n fontSize: theme.typography.fontSizeBase,\n lineHeight: theme.typography.lineHeightBase,\n fontWeight: theme.typography.typographyBoldFontWeight,\n background: theme.colors.typographyCodeBg,\n fontFamily: 'monospace',\n borderRadius: theme.borders.borderRadiusMd,\n padding: '2px 4px',\n border: 'unset',\n margin: 0,\n },\n },\n props.size && {\n '&&': (() => {\n switch (props.size) {\n case 'xxl':\n return {\n fontSize: theme.typography.fontSizeXxl,\n lineHeight: theme.typography.lineHeightXxl,\n };\n case 'xl':\n return {\n fontSize: theme.typography.fontSizeXl,\n lineHeight: theme.typography.lineHeightXl,\n };\n case 'lg':\n return {\n fontSize: theme.typography.fontSizeLg,\n lineHeight: theme.typography.lineHeightLg,\n };\n case 'sm':\n return {\n fontSize: theme.typography.fontSizeSm,\n lineHeight: theme.typography.lineHeightSm,\n };\n default:\n return {\n fontSize: theme.typography.fontSizeMd,\n lineHeight: theme.typography.lineHeightMd,\n };\n }\n })(),\n },\n props.withoutMargins && {\n '&&': {\n marginTop: 0,\n marginBottom: 0,\n },\n }\n );\n}\n\nexport function Text(userProps: TextProps): JSX.Element {\n // Omit props that are not supported by `antd`\n const { dangerouslySetAntdProps, bold, hint, withoutMargins, color, ...props } = userProps;\n const { theme } = useDesignSystemTheme();\n\n return (\n <DesignSystemAntDConfigProvider>\n <AntDText\n {...props}\n className={props.className}\n css={getTextEmotionStyles(theme, userProps)}\n {...dangerouslySetAntdProps}\n />\n </DesignSystemAntDConfigProvider>\n );\n}\n","import type { SerializedStyles } from '@emotion/react';\nimport { css } from '@emotion/react';\nimport { Typography as AntDTypography } from 'antd';\nimport type { ComponentProps } from 'react';\n\nimport type { Theme } from '../../theme';\nimport { DesignSystemAntDConfigProvider } from '../DesignSystemProvider';\nimport { useDesignSystemTheme } from '../Hooks';\nimport type { DangerouslySetAntdProps, TypographyColor, HTMLDataAttributes } from '../types';\nimport { getTypographyColor } from '../utils/css-utils';\n\nconst { Title: AntDTitle } = AntDTypography;\n\ntype AntDTypographyProps = ComponentProps<typeof AntDTypography>;\ntype AntDTitleProps = ComponentProps<typeof AntDTypography['Title']>;\n\nexport interface TitleProps\n extends AntDTypographyProps,\n Pick<AntDTitleProps, 'level' | 'ellipsis' | 'id' | 'title' | 'aria-label'>,\n HTMLDataAttributes,\n DangerouslySetAntdProps<AntDTitleProps> {\n withoutMargins?: boolean;\n color?: TypographyColor;\n}\n\nfunction getLevelStyles(theme: Theme, props: TitleProps): SerializedStyles {\n switch (props.level) {\n case 1:\n return css({\n '&&': {\n fontSize: theme.typography.fontSizeXxl,\n lineHeight: theme.typography.lineHeightXxl,\n fontWeight: theme.typography.typographyBoldFontWeight,\n },\n });\n case 2:\n return css({\n '&&': {\n fontSize: theme.typography.fontSizeXl,\n lineHeight: theme.typography.lineHeightXl,\n fontWeight: theme.typography.typographyBoldFontWeight,\n },\n });\n case 3:\n return css({\n '&&': {\n fontSize: theme.typography.fontSizeLg,\n lineHeight: theme.typography.lineHeightLg,\n fontWeight: theme.typography.typographyBoldFontWeight,\n },\n });\n case 4:\n default:\n return css({\n '&&': {\n fontSize: theme.typography.fontSizeMd,\n lineHeight: theme.typography.lineHeightMd,\n fontWeight: theme.typography.typographyBoldFontWeight,\n },\n });\n }\n}\n\nfunction getTitleEmotionStyles(theme: Theme, props: TitleProps): SerializedStyles {\n return css(\n getLevelStyles(theme, props),\n {\n '&&': {\n color: getTypographyColor(theme, props.color, theme.colors.textPrimary),\n },\n },\n props.withoutMargins && {\n '&&': {\n marginTop: '0 !important', // override general styling\n marginBottom: '0 !important', // override general styling\n },\n }\n );\n}\nexport function Title(userProps: TitleProps): JSX.Element {\n const { dangerouslySetAntdProps, withoutMargins, color, ...props } = userProps;\n const { theme } = useDesignSystemTheme();\n\n return (\n <DesignSystemAntDConfigProvider>\n <AntDTitle\n {...props}\n className={props.className}\n css={getTitleEmotionStyles(theme, userProps)}\n {...dangerouslySetAntdProps}\n />\n </DesignSystemAntDConfigProvider>\n );\n}\n","import type { TypographyProps as AntDTypographyProps } from 'antd';\nimport { Typography as AntDTypography } from 'antd';\nimport type { ReactNode } from 'react';\n\nimport { DesignSystemAntDConfigProvider } from '../DesignSystemProvider';\nimport type { DangerouslySetAntdProps, HTMLDataAttributes } from '../types';\nimport { Link } from './Link';\nimport { Paragraph } from './Paragraph';\nimport { Text } from './Text';\nimport { Title } from './Title';\n\ninterface TypographyProps\n extends Omit<AntDTypographyProps, 'Text' | 'Title' | 'Paragraph' | 'Link'>,\n DangerouslySetAntdProps<AntDTypographyProps>,\n HTMLDataAttributes {\n children?: ReactNode;\n withoutMargins?: boolean;\n}\n\nexport const Typography = /* #__PURE__ */ (() => {\n function Typography({ dangerouslySetAntdProps, ...props }: TypographyProps): JSX.Element {\n return (\n <DesignSystemAntDConfigProvider>\n <AntDTypography {...props} {...dangerouslySetAntdProps} />\n </DesignSystemAntDConfigProvider>\n );\n }\n\n Typography.Text = Text;\n Typography.Title = Title;\n Typography.Paragraph = Paragraph;\n Typography.Link = Link;\n\n return Typography;\n})();\n","import type { TooltipProps as AntDTooltipProps } from 'antd';\nimport { Tooltip as AntDTooltip } from 'antd';\nimport React from 'react';\n\nimport { DesignSystemAntDConfigProvider, getAnimationCss } from '../DesignSystemProvider';\nimport { useDesignSystemTheme } from '../Hooks';\nimport type { HTMLDataAttributes } from '../types';\n\nexport interface TooltipProps extends HTMLDataAttributes {\n /**\n * The element with which the tooltip should be associated.\n */\n children: React.ReactNode;\n /**\n * Plain text that will appear within the tooltip. Links and formatted content should not be use. However, we allow\n * any React element to be passed in here, rather than just a string, to allow for i18n formatting components.\n */\n title: React.ReactNode;\n /**\n * Value that determines where the tooltip will be positioned relative to the associated element.\n */\n placement?: AntDTooltipProps['placement'];\n /**\n * Escape hatch to allow passing props directly to the underlying Ant `Tooltip` component.\n */\n dangerouslySetAntdProps?: Partial<AntDTooltipProps>;\n /**\n * ID used to refer to this element in unit tests.\n */\n dataTestId?: string;\n /**\n * Prop that forces the tooltip's arrow to be centered on the target element\n */\n arrowPointAtCenter?: boolean;\n}\n\nexport const Tooltip: React.FC<TooltipProps> = ({\n children,\n title,\n placement = 'top',\n dataTestId,\n dangerouslySetAntdProps,\n ...props\n}) => {\n const { theme } = useDesignSystemTheme();\n\n if (!title) {\n return <React.Fragment>{children}</React.Fragment>;\n }\n\n const { overlayInnerStyle, overlayStyle, ...delegatedDangerouslySetAntdProps } = dangerouslySetAntdProps || {};\n return (\n <DesignSystemAntDConfigProvider>\n <AntDTooltip\n // eslint-disable-next-line react/forbid-dom-props -- FEINF-1337 - this should turn into data-testid\n title={<span data-test-id={dataTestId}>{title}</span>}\n placement={placement}\n // Always trigger on hover and focus\n trigger={['hover', 'focus']}\n overlayInnerStyle={{\n backgroundColor: '#2F3941',\n lineHeight: '22px',\n padding: '4px 8px',\n boxShadow: theme.general.shadowLow,\n ...overlayInnerStyle,\n }}\n overlayStyle={{\n zIndex: theme.options.zIndexBase + 70,\n ...overlayStyle,\n }}\n css={{\n ...getAnimationCss(theme.options.enableAnimation),\n }}\n {...delegatedDangerouslySetAntdProps}\n {...props}\n >\n {children}\n </AntDTooltip>\n </DesignSystemAntDConfigProvider>\n );\n};\n","import type { CSSObject, SerializedStyles } from '@emotion/react';\nimport { css } from '@emotion/react';\nimport type { InputProps as AntDInputProps } from 'antd';\nimport { Input as AntDInput } from 'antd';\nimport type {\n PasswordProps as AntDPasswordProps,\n TextAreaProps as AntDTextAreaProps,\n GroupProps as AntDGroupProps,\n} from 'antd/lib/input';\nimport type { TextAreaRef } from 'antd/lib/input/TextArea';\nimport React, { forwardRef } from 'react';\n\nimport type { Theme } from '../../theme';\nimport { DesignSystemAntDConfigProvider, getAnimationCss } from '../DesignSystemProvider';\nimport { useDesignSystemFlags } from '../Hooks';\nimport { useDesignSystemTheme } from '../Hooks/useDesignSystemTheme';\nimport type {\n DangerousGeneralProps,\n DangerouslySetAntdProps,\n FormElementValidationState,\n HTMLDataAttributes,\n ValidationState,\n} from '../types';\nimport { getValidationStateColor, importantify } from '../utils/css-utils';\n\n// We pass through the `ref` to Ant's input, so we need to expose that type in case a downstream\n// consumer wants to use it.\nexport type InputRef = AntDInput;\n\nexport interface InputProps\n extends Omit<AntDInputProps, 'prefixCls' | 'size' | 'addonAfter' | 'bordered'>,\n FormElementValidationState,\n HTMLDataAttributes,\n DangerouslySetAntdProps<AntDInputProps>,\n DangerousGeneralProps {}\n\nexport interface TextAreaProps\n extends Omit<AntDTextAreaProps, 'bordered' | 'showCount' | 'size'>,\n FormElementValidationState,\n HTMLDataAttributes,\n DangerouslySetAntdProps<AntDTextAreaProps>,\n DangerousGeneralProps {}\n\nexport interface PasswordProps\n extends Omit<AntDPasswordProps, 'inputPrefixCls' | 'action' | 'visibilityToggle' | 'iconRender'>,\n FormElementValidationState,\n HTMLDataAttributes,\n DangerouslySetAntdProps<AntDPasswordProps>,\n DangerousGeneralProps {}\n\nexport interface InputGroupProps\n extends Omit<AntDGroupProps, 'size'>,\n HTMLDataAttributes,\n DangerouslySetAntdProps<AntDGroupProps>,\n DangerousGeneralProps {}\n\nconst getInputEmotionStyles = (\n clsPrefix: string,\n theme: Theme,\n { validationState }: { validationState?: ValidationState },\n useNewIcons?: boolean,\n useTransparent?: boolean\n): SerializedStyles => {\n const inputClass = `.${clsPrefix}-input`;\n const affixClass = `.${clsPrefix}-input-affix-wrapper`;\n const affixClassFocused = `.${clsPrefix}-input-affix-wrapper-focused`;\n const clearIcon = `.${clsPrefix}-input-clear-icon`;\n const prefixIcon = `.${clsPrefix}-input-prefix`;\n const suffixIcon = `.${clsPrefix}-input-suffix`;\n\n const validationColor = getValidationStateColor(theme, validationState);\n\n const styles: CSSObject = {\n '&&': {\n lineHeight: theme.typography.lineHeightBase,\n minHeight: theme.general.heightSm,\n ...(validationState && { borderColor: validationColor }),\n\n '&:hover': {\n borderColor: validationState ? validationColor : theme.colors.actionPrimaryBackgroundHover,\n },\n\n '&:focus': {\n outlineColor: validationState ? validationColor : theme.colors.actionPrimaryBackgroundDefault,\n outlineWidth: 2,\n outlineOffset: -2,\n outlineStyle: 'solid',\n boxShadow: 'none',\n borderColor: 'transparent',\n },\n\n '&:disabled': {\n backgroundColor: theme.colors.actionDisabledBackground,\n color: theme.colors.actionDisabledText,\n },\n },\n\n [`&${inputClass}, ${inputClass}`]: {\n ...(useTransparent && { backgroundColor: 'transparent' }),\n },\n\n [`&${affixClass}`]: {\n ...(useTransparent && { backgroundColor: 'transparent' }),\n lineHeight: theme.typography.lineHeightBase,\n paddingTop: 5,\n paddingBottom: 5,\n minHeight: theme.general.heightSm,\n\n '::before': {\n lineHeight: theme.typography.lineHeightBase,\n },\n\n '&:hover': {\n borderColor: theme.colors.actionPrimaryBackgroundHover,\n },\n\n [`input.${clsPrefix}-input`]: {\n borderRadius: 0,\n },\n },\n\n [`&${affixClassFocused}`]: {\n boxShadow: 'none',\n '&&, &:focus': {\n outlineColor: theme.colors.actionPrimaryBackgroundDefault,\n outlineWidth: 2,\n outlineOffset: -2,\n outlineStyle: 'solid',\n boxShadow: 'none',\n borderColor: 'transparent',\n },\n },\n\n ...(useNewIcons && {\n [clearIcon]: {\n fontSize: theme.general.iconFontSizeNew,\n },\n\n [prefixIcon]: {\n marginRight: theme.spacing.sm,\n },\n\n [suffixIcon]: {\n marginLeft: theme.spacing.sm,\n },\n }),\n\n ...getAnimationCss(theme.options.enableAnimation),\n };\n\n return css(importantify(styles));\n};\n\nconst getInputGroupStyling = (clsPrefix: string) => {\n const inputClass = `.${clsPrefix}-input`;\n const buttonClass = `.${clsPrefix}-btn`;\n\n return css({\n [`& > ${inputClass}`]: {\n '&:disabled': {\n border: 'none',\n },\n },\n\n [`& > ${buttonClass} > span`]: {\n verticalAlign: 'middle',\n },\n });\n};\n\nconst TextArea = forwardRef<TextAreaRef, TextAreaProps>(function TextArea(\n { validationState, autoComplete = 'off', dangerouslySetAntdProps, dangerouslyAppendEmotionCSS, ...props },\n ref\n) {\n const { classNamePrefix, theme } = useDesignSystemTheme();\n const { USE_NEW_ICONS: useNewIcons, USE_TRANSPARENT_INPUT: useTransparent } = useDesignSystemFlags();\n\n return (\n <DesignSystemAntDConfigProvider>\n <AntDInput.TextArea\n ref={ref}\n autoComplete={autoComplete}\n css={[\n getInputEmotionStyles(classNamePrefix, theme, { validationState }, useNewIcons, useTransparent),\n dangerouslyAppendEmotionCSS,\n ]}\n {...props}\n {...dangerouslySetAntdProps}\n />\n </DesignSystemAntDConfigProvider>\n );\n});\n\nconst Password: React.FC<PasswordProps> = forwardRef<AntDInput, PasswordProps>(function Password(\n { validationState, autoComplete = 'off', dangerouslySetAntdProps, dangerouslyAppendEmotionCSS, ...props },\n ref\n) {\n const { classNamePrefix, theme } = useDesignSystemTheme();\n const { USE_NEW_ICONS: useNewIcons, USE_TRANSPARENT_INPUT: useTransparent } = useDesignSystemFlags();\n\n return (\n <DesignSystemAntDConfigProvider>\n <AntDInput.Password\n visibilityToggle={false}\n ref={ref}\n autoComplete={autoComplete}\n css={[\n getInputEmotionStyles(classNamePrefix, theme, { validationState }, useNewIcons, useTransparent),\n dangerouslyAppendEmotionCSS,\n ]}\n {...props}\n {...dangerouslySetAntdProps}\n />\n </DesignSystemAntDConfigProvider>\n );\n});\n\nconst DuboisInput = forwardRef<AntDInput, InputProps>(function Input(\n { validationState, autoComplete = 'off', dangerouslySetAntdProps, dangerouslyAppendEmotionCSS, ...props },\n ref\n) {\n const { classNamePrefix, theme } = useDesignSystemTheme();\n const { USE_NEW_ICONS: useNewIcons, USE_TRANSPARENT_INPUT: useTransparent } = useDesignSystemFlags();\n\n return (\n <DesignSystemAntDConfigProvider>\n <AntDInput\n autoComplete={autoComplete}\n ref={ref}\n css={[\n getInputEmotionStyles(classNamePrefix, theme, { validationState }, useNewIcons, useTransparent),\n dangerouslyAppendEmotionCSS,\n ]}\n {...props}\n {...dangerouslySetAntdProps}\n />\n </DesignSystemAntDConfigProvider>\n );\n});\n\nconst Group = ({ dangerouslySetAntdProps, dangerouslyAppendEmotionCSS, compact = true, ...props }: InputGroupProps) => {\n const { classNamePrefix } = useDesignSystemTheme();\n\n return (\n <DesignSystemAntDConfigProvider>\n <AntDInput.Group\n css={[getInputGroupStyling(classNamePrefix), dangerouslyAppendEmotionCSS]}\n compact={compact}\n {...props}\n {...dangerouslySetAntdProps}\n />\n </DesignSystemAntDConfigProvider>\n );\n};\n\n// Properly creates the namespace and dot-notation components with correct types.\nconst InputNamespace = /* #__PURE__ */ Object.assign(DuboisInput, { TextArea, Password, Group });\n\nexport const Input = InputNamespace;\n\n// TODO: I'm doing this to support storybook's docgen;\n// We should remove this once we have a better storybook integration,\n// since these will be exposed in the library's exports.\nexport const __INTERNAL_DO_NOT_USE__TextArea = TextArea;\nexport const __INTERNAL_DO_NOT_USE__Password = Password;\nexport const __INTERNAL_DO_NOT_USE_DEDUPE__Group = Group;\n","import type { SerializedStyles } from '@emotion/react';\nimport { css, keyframes } from '@emotion/react';\nimport type { ReactElement } from 'react';\n\nimport type { Theme } from '../../theme';\nimport { DU_BOIS_ENABLE_ANIMATION_CLASSNAME } from '../DesignSystemProvider';\nimport { useDesignSystemTheme } from '../Hooks';\nimport { LoadingIcon } from '../Icon';\nimport type { HTMLDataAttributes } from '../types';\nimport { importantify } from '../utils/css-utils';\n\nconst rotate = keyframes({\n '0%': { transform: 'rotate(0deg) translate3d(0, 0, 0)' },\n '100%': { transform: 'rotate(360deg) translate3d(0, 0, 0)' },\n});\n\nconst cssSpinner = (theme: Theme, frameRate = 60, delay = 0): SerializedStyles => {\n const styles = {\n animation: `${rotate} 1s steps(${frameRate}, end) infinite`,\n color: theme.colors.textSecondary,\n animationDelay: `${delay}s`,\n };\n return css(importantify(styles));\n};\n\nexport interface SpinnerProps extends HTMLDataAttributes {\n size?: 'small' | 'default' | 'large';\n className?: string;\n delay?: number;\n frameRate?: number;\n}\n\nexport const Spinner: React.FC<SpinnerProps> = ({\n frameRate,\n size = 'default',\n delay,\n className: propClass,\n ...props\n}): ReactElement => {\n const { classNamePrefix, theme } = useDesignSystemTheme();\n\n // We use Antd classes to keep styling unchanged\n // TODO(FEINF-1407): We want to move away from Antd classes and use Emotion for styling in the future\n const sizeSuffix = size === 'small' ? '-sm' : size === 'large' ? '-lg' : '';\n const sizeClass = sizeSuffix ? `${classNamePrefix}-spin${sizeSuffix}` : '';\n const wrapperClass = `${\n propClass || ''\n } ${classNamePrefix}-spin ${sizeClass} ${classNamePrefix}-spin-spinning ${DU_BOIS_ENABLE_ANIMATION_CLASSNAME}`.trim();\n const className = `${classNamePrefix}-spin-dot ${DU_BOIS_ENABLE_ANIMATION_CLASSNAME}`.trim();\n\n return (\n // className has to follow {...props}, otherwise is `css` prop is passed down it will overwrite our className\n <div {...props} className={wrapperClass}>\n <LoadingIcon css={cssSpinner(theme, frameRate, delay)} className={className} />\n </div>\n );\n};\n"],"names":["borders","borderRadiusMd","colorPalettePrimary","primary","blue100","blue200","blue300","blue400","blue500","blue600","blue700","blue800","green100","green200","green300","green400","green500","green600","green700","green800","white","grey100","grey200","grey300","grey400","grey500","grey600","grey700","grey800","red100","red200","red300","red400","red500","red600","red700","red800","yellow100","yellow200","yellow300","yellow400","yellow500","yellow600","yellow700","yellow800","colorPaletteSecondary","brown","coral","charcoal","indigo","lemon","lime","pink","purple","teal","turquoise","lightColorList","backgroundPrimary","actionDangerPrimaryBackgroundDefault","actionDangerPrimaryBackgroundHover","actionDangerPrimaryBackgroundPress","actionDangerDefaultBackgroundDefault","chroma","alpha","hex","actionDangerDefaultBackgroundHover","actionDangerDefaultBackgroundPress","actionDangerDefaultBorderDefault","actionDangerDefaultBorderHover","actionDangerDefaultBorderPress","actionDangerDefaultTextDefault","actionDangerDefaultTextHover","actionDangerDefaultTextPress","actionDefaultBackgroundDefault","actionDefaultBackgroundHover","actionDefaultBackgroundPress","actionDefaultBorderDefault","actionDefaultBorderFocus","actionDefaultBorderHover","actionDefaultBorderPress","actionDefaultTextDefault","actionDefaultTextHover","actionDefaultTextPress","actionDisabledBackground","actionDisabledText","actionPrimaryBackgroundDefault","actionPrimaryBackgroundHover","actionPrimaryBackgroundPress","actionPrimaryTextDefault","actionPrimaryTextHover","actionPrimaryTextPress","actionTertiaryBackgroundDefault","actionTertiaryBackgroundHover","actionTertiaryBackgroundPress","actionTertiaryTextDefault","actionTertiaryTextHover","actionTertiaryTextPress","backgroundDanger","backgroundSecondary","backgroundWarning","backgroundValidationDanger","backgroundValidationSuccess","backgroundValidationWarning","border","borderDecorative","borderValidationDanger","borderValidationWarning","textPrimary","textSecondary","textPlaceholder","textValidationDanger","textValidationSuccess","textValidationWarning","textValidationInfo","overlayOverlay","tagDefault","tagBrown","tagCoral","tagCharcoal","tagIndigo","tagLemon","tagLime","tagPink","tagPurple","tagTeal","tagTurquoise","tagText","tagHover","tagPress","tagIconHover","tagIconPress","typographyCodeBg","tableSeparatorColor","tableRowHover","tooltipBackgroundTooltip","darkColorList","darkColors","lightColors","getSemanticColors","isDarkMode","deprecatedColors","radioInteractiveAvailable","radioInteractiveHover","radioInteractivePress","radioDisabled","radioDefaultBorder","radioDefaultBackground","radioInteractiveHoverSecondary","radioInteractivePressSecondary","getColors","DEFAULT_SPACING_UNIT","MODAL_PADDING","spacing","xs","sm","md","lg","defaultPaddingLg","defaultPaddingMd","defaultPaddingSm","defaultPaddingXs","defaultPaddingXss","paddingLg","paddingMd","paddingSm","paddingXs","paddingXss","marginSm","marginLg","btnPaddingHorizontalBase","btnPaddingHorizontalLg","btnPaddingHorizontalSm","inputPaddingHorizontal","inputPaddingHorizontalBase","inputPaddingHorizontalSm","inputPaddingHorizontalLg","inputPaddingVertical","inputPaddingVerticalBase","inputPaddingVerticalSm","inputPaddingVerticalLg","modalPadding","modalLessPadding","modalHeaderPadding","modalHeaderCloseSize","modalHeaderBorderWidth","modalBodyPadding","modalFooterPaddingVertical","modalFooterPaddingHorizontal","modalFooterBorderWidth","switchPadding","switchHeight","switchMinWidth","switchPinSize","heightBase","borderWidth","antdGeneralVariables","classnamePrefix","antdVars","iconfontCssPrefix","borderRadiusBase","heightSm","iconSize","iconFontSize","iconFontSizeNew","buttonHeight","buttonInnerHeight","getShadowVariables","shadowLow","shadowHigh","FONT_SIZE_BASE","antdTypography","fontSizeSm","fontSizeBase","fontSizeMd","fontSizeLg","fontSizeXl","fontSizeXxl","lineHeightSm","lineHeightBase","lineHeightMd","lineHeightLg","lineHeightXl","lineHeightXxl","typographyBoldFontWeight","defaultOptions","enableAnimation","zIndexBase","getTheme","options","colors","general","generalVariables","typography","themeName","getClassNamePrefix","theme","antdThemeName","getPrefixedClassNameFromTheme","className","filter","Boolean","join","useDesignSystemTheme","emotionTheme","useEmotionTheme","classNamePrefix","getPrefixedClassName","WithDesignSystemThemeHoc","Component","WrappedWithDesignSystemTheme","props","themeValues","_jsx","DuboisContextDefaults","getPrefixCls","suffix","flags","DesignSystemContext","createContext","DU_BOIS_ENABLE_ANIMATION_CLASSNAME","getAnimationCss","disableAnimationCss","animationDuration","transition","DesignSystemProviderPropsContext","React","AntDConfigProviderPropsContext","DesignSystemProvider","children","getPopupContainer","useMemo","providerPropsContext","value","useEffect","notification","destroy","EmotionThemeProvider","prefixCls","ApplyDesignSystemContextOverrides","parentDesignSystemProviderProps","useContext","Error","newProps","ApplyDesignSystemFlags","DesignSystemAntDConfigProvider","antdContext","useAntDConfigProviderContext","AntDConfigProvider","undefined","RestoreAntDDefaultClsPrefix","useDesignSystemContext","useDesignSystemFlags","context","getIconEmotionStyles","useNewIcons","css","fontSize","getIconValidationColor","color","Icon","component","dangerouslySetAntdProps","style","otherProps","USE_NEW_ICONS","MemoizedComponent","fill","iconProps","SvgCheckIconV1","SvgCheckIconV2","CheckIcon","SvgChevronDownIconV1","SvgChevronDownIconV2","ChevronDownIcon","SvgCloseIconV1","SvgCloseIconV2","CloseIcon","SvgLoadingIconV1","SvgLoadingIconV2","LoadingIcon","SvgNewWindowIconV1","SvgNewWindowIconV2","_jsxs","NewWindowIcon","SvgSearchIconV1","SvgSearchIconV2","SearchIcon","SvgXCircleFillIconV1","SvgXCircleFillIconV2","XCircleFillIcon","SvgSortAscendingIcon","SortAscendingIcon","SvgSortDescendingIcon","SortDescendingIcon","SvgSortUnsortedIcon","SortUnsortedIcon","ColorVars","secondary","info","error","success","warning","importantify","obj","key","unitless","getTypographyColor","fallbackColor","Object","hasOwnProperty","getValidationStateColor","validationState","errorColor","warningColor","successColor","getDefaultStyles","backgroundColor","borderColor","lineHeight","getPrimaryStyles","textShadow","getLinkStyles","background","getPrimaryDangerStyles","outlineColor","getSecondaryDangerStyles","getDisabledStyles","getDisabledTertiaryStyles","getEndIconClsName","getButtonEmotionStyles","loading","withIcon","onlyIcon","isAnchor","size","type","isFlex","useFocusPseudoClass","forceIconStyles","clsIcon","clsEndIcon","clsLoadingIcon","clsIconOnly","classPrimary","classLink","classDangerous","SMALL_BUTTON_HEIGHT","tertiaryColors","iconCss","verticalAlign","height","inactiveIconCss","endIconCssSelector","styles","boxShadow","display","alignItems","justifyContent","padding","width","paddingTop","paddingBottom","outlineStyle","outlineWidth","outlineOffset","opacity","position","left","svg","visibility","paddingLeft","marginRight","marginLeft","typeStyles","importantStyles","importantTypeStyles","Button","forwardRef","ref","endIcon","dangerouslySetForceIconStyles","dangerouslyUseFocusPseudoClass","USE_FLEX_BUTTON","AntDButton","icon","href","danger","disabled","__ANT_BUTTON","getCheckboxEmotionStyles","clsPrefix","isHorizontal","useNewCheckboxStyles","classInput","classInner","classIndeterminate","classChecked","classDisabled","classDisabledWrapper","classContainer","classWrapper","defaultSelector","hoverSelector","pressSelector","top","flexDirection","rowGap","columnGap","borderRadius","getWrapperStyle","wrapperStyle","useNewStyles","marginTop","DuboisCheckbox","Checkbox","isChecked","onChange","isDisabled","restProps","USE_NEW_CHECKBOX_STYLES","classnames","AntDCheckbox","event","target","checked","CheckboxGroup","layout","CheckboxNamespace","assign","Group","__INTERNAL_DO_NOT_USE__Group","classTypography","textDecoration","getEllipsisNewTabLinkStyles","paddingRight","getIconStyles","getEllipsisIconStyles","right","bottom","Link","openInNewTab","newTabProps","rel","linkProps","linkStyles","ellipsis","iconStyles","AntDTypography","Paragraph","AntDParagraph","getParagraphEmotionStyles","withoutMargins","marginBottom","userProps","Text","AntDText","getTextEmotionStyles","hint","bold","fontWeight","code","fontFamily","margin","Title","AntDTitle","getLevelStyles","level","getTitleEmotionStyles","Typography","Tooltip","title","placement","dataTestId","overlayInnerStyle","overlayStyle","delegatedDangerouslySetAntdProps","AntDTooltip","zIndex","getInputEmotionStyles","useTransparent","inputClass","affixClass","affixClassFocused","clearIcon","prefixIcon","suffixIcon","validationColor","minHeight","getInputGroupStyling","buttonClass","TextArea","autoComplete","dangerouslyAppendEmotionCSS","USE_TRANSPARENT_INPUT","AntDInput","Password","DuboisInput","Input","compact","InputNamespace","__INTERNAL_DO_NOT_USE__TextArea","__INTERNAL_DO_NOT_USE__Password","__INTERNAL_DO_NOT_USE_DEDUPE__Group","rotate","keyframes","transform","cssSpinner","frameRate","delay","animation","animationDelay","Spinner","propClass","sizeSuffix","sizeClass","wrapperClass","trim"],"mappings":";;;;;;;;;;;;;;;AAAA;AACO,MAAMA,OAAO,GAAG;EACrBC,cAAc,EAAE;AAClB,CAAC;;AAED;AACA,gBA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AAE0T,SAAS;IACpB,GAAG9S;GACJ;EACC,MAAM;IAAEL,eAAe;IAAEV;GAAO,GAAGO,oBAAoB,EAAE;;;;EAIzD,MAAMuT,UAAU,GAAGnL,IAAI,KAAK,OAAO,GAAG,KAAK,GAAGA,IAAI,KAAK,OAAO,GAAG,KAAK,GAAG,EAAE;EAC3E,MAAMoL,SAAS,GAAGD,UAAU,aAAMpT,eAAe,kBAAQoT,UAAU,IAAK,EAAE;EAC1E,MAAME,YAAY,GAAG,UACnBH,SAAS,IAAI,EAAE,cACbnT,eAAe,mBAASqT,SAAS,cAAIrT,eAAe,4BAAkBc,kCAAkC,EAAGyS,IAAI,EAAE;EACrH,MAAM9T,SAAS,GAAG,UAAGO,eAAe,uBAAac,kCAAkC,EAAGyS,IAAI,EAAE;EAE5F;;IAEEhT;MAAA,GAASF,KAAK;MAAE,SAAS,EAAEiT,YAAa;MAAA,UACtC/S,IAAC,WAAW;QAAC,GAAG,EAAEsS,UAAU,CAACvT,KAAK,EAAEwT,SAAS,EAAEC,KAAK,CAAE;QAAC,SAAS,EAAEtT;;;;AAGxE;;;;"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const duBoisClassPrefix = 'du-bois-light';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Used with the `selectEvent` utils for both Enzyme and RTL.
|
|
5
|
+
*/
|
|
6
|
+
const selectClasses = {
|
|
7
|
+
clear: "".concat(duBoisClassPrefix, "-select-clear"),
|
|
8
|
+
list: 'rc-virtual-list',
|
|
9
|
+
open: "".concat(duBoisClassPrefix, "-select-open"),
|
|
10
|
+
option: "".concat(duBoisClassPrefix, "-select-item-option-content"),
|
|
11
|
+
selector: "".concat(duBoisClassPrefix, "-select-selector")
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export { selectClasses as s };
|
|
15
|
+
//# sourceMappingURL=common-3ab0e300.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common-3ab0e300.js","sources":["../src/test-utils/common.ts"],"sourcesContent":["const duBoisClassPrefix = 'du-bois-light';\n\n/**\n * Used with the `selectEvent` utils for both Enzyme and RTL.\n */\nexport const selectClasses = {\n clear: `${duBoisClassPrefix}-select-clear`,\n list: 'rc-virtual-list',\n open: `${duBoisClassPrefix}-select-open`,\n option: `${duBoisClassPrefix}-select-item-option-content`,\n selector: `${duBoisClassPrefix}-select-selector`,\n};\n"],"names":["duBoisClassPrefix","selectClasses","clear","list","open","option","selector"],"mappings":"AAAA,MAAMA,iBAAiB,GAAG,eAAe;;AAEzC;AACA;AACA;MACaC,aAAa,GAAG;EAC3BC,KAAK,YAAKF,iBAAiB,kBAAe;EAC1CG,IAAI,EAAE,iBAAiB;EACvBC,IAAI,YAAKJ,iBAAiB,iBAAc;EACxCK,MAAM,YAAKL,iBAAiB,gCAA6B;EACzDM,QAAQ,YAAKN,iBAAiB;AAChC;;;;"}
|
|
@@ -3,7 +3,7 @@ import type { SerializedStyles } from '@emotion/react';
|
|
|
3
3
|
import type { ButtonProps as AntDButtonProps } from 'antd';
|
|
4
4
|
import type { ComponentTheme } from '../../theme';
|
|
5
5
|
import type { DangerouslySetAntdProps, HTMLDataAttributes } from '../types';
|
|
6
|
-
export declare const getButtonEmotionStyles: ({ theme, classNamePrefix, loading, withIcon, onlyIcon, isAnchor, enableAnimation, size, type, isFlex, useNewIcons, }: {
|
|
6
|
+
export declare const getButtonEmotionStyles: ({ theme, classNamePrefix, loading, withIcon, onlyIcon, isAnchor, enableAnimation, size, type, isFlex, useNewIcons, useFocusPseudoClass, forceIconStyles, }: {
|
|
7
7
|
theme: ComponentTheme;
|
|
8
8
|
classNamePrefix: string;
|
|
9
9
|
loading?: boolean | undefined;
|
|
@@ -16,12 +16,16 @@ export declare const getButtonEmotionStyles: ({ theme, classNamePrefix, loading,
|
|
|
16
16
|
type?: ButtonProps['type'];
|
|
17
17
|
isFlex?: boolean | undefined;
|
|
18
18
|
useNewIcons?: boolean | undefined;
|
|
19
|
+
useFocusPseudoClass?: boolean | undefined;
|
|
20
|
+
forceIconStyles?: boolean | undefined;
|
|
19
21
|
}) => SerializedStyles;
|
|
20
22
|
export type ButtonSize = 'middle' | 'small';
|
|
21
23
|
export interface ButtonProps extends Omit<AntDButtonProps, 'type' | 'ghost' | 'shape' | 'size'>, HTMLDataAttributes, DangerouslySetAntdProps<AntDButtonProps> {
|
|
22
24
|
type?: 'primary' | 'link' | 'tertiary';
|
|
23
25
|
size?: ButtonSize;
|
|
24
26
|
endIcon?: React.ReactNode;
|
|
27
|
+
dangerouslySetForceIconStyles?: boolean;
|
|
28
|
+
dangerouslyUseFocusPseudoClass?: boolean;
|
|
25
29
|
}
|
|
26
30
|
export declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & import("react").RefAttributes<HTMLButtonElement>>;
|
|
27
31
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/design-system/Button/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAa,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElE,OAAO,KAAK,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAK3D,OAAO,KAAK,EAAE,cAAc,EAAS,MAAM,aAAa,CAAC;AAGzD,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAgB5E,eAAO,MAAM,sBAAsB;
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../src/design-system/Button/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAa,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElE,OAAO,KAAK,EAAE,WAAW,IAAI,eAAe,EAAE,MAAM,MAAM,CAAC;AAK3D,OAAO,KAAK,EAAE,cAAc,EAAS,MAAM,aAAa,CAAC;AAGzD,OAAO,KAAK,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAgB5E,eAAO,MAAM,sBAAsB;WAe1B,cAAc;qBACJ,MAAM;;;;;;qBAMN,OAAO;UAClB,UAAU;WACT,WAAW,CAAC,MAAM,CAAC;;;;;MAKxB,gBAyRH,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE5C,MAAM,WAAW,WACf,SAAQ,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC,EAChE,kBAAkB,EAClB,uBAAuB,CAAC,eAAe,CAAC;IAC1C,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,GAAG,UAAU,CAAC;IACvC,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,6BAA6B,CAAC,EAAE,OAAO,CAAC;IAKxC,8BAA8B,CAAC,EAAE,OAAO,CAAC;CAC1C;AAED,eAAO,MAAM,MAAM,2GAyEf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/design-system/Button/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAmBxD;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,CAmBxD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/design-system/Button/styles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAE,KAA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Y,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC;;OAEG;IACH,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,sBAAsB,EAAE,WAAW,CAAC,EAC/C,IAAI,CAAC,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,cAAc,GAAG,UAAU,GAAG,OAAO,CAAC;IAC1F,MAAM,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;CACpC;AAiFD,eAAO,MAAM,QAAQ;;CAAoB,CAAC;AAK1C,eAAO,MAAM,4BAA4B,iHAAgB,CAAC"}
|
|
@@ -1,48 +1,52 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { DatePickerProps as AntDDatePickerProps, MonthPickerProps as AntDMonthPickerProps, RangePickerProps as AntDRangePickerProps } from 'antd/lib/date-picker';
|
|
3
|
-
export type
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export type
|
|
8
|
-
export type
|
|
9
|
-
export type
|
|
3
|
+
export type DatePickerRef = {
|
|
4
|
+
focus: () => void;
|
|
5
|
+
blur: () => void;
|
|
6
|
+
};
|
|
7
|
+
export type DatePickerProps = AntDDatePickerProps & React.RefAttributes<DatePickerRef>;
|
|
8
|
+
export type RangePickerProps = AntDRangePickerProps & React.RefAttributes<DatePickerRef>;
|
|
9
|
+
export type TimePickerProps = AntDMonthPickerProps & React.RefAttributes<DatePickerRef>;
|
|
10
|
+
export type QuarterPickerProps = AntDMonthPickerProps & React.RefAttributes<DatePickerRef>;
|
|
11
|
+
export type WeekPickerProps = AntDMonthPickerProps & React.RefAttributes<DatePickerRef>;
|
|
12
|
+
export type MonthPickerProps = AntDMonthPickerProps & React.RefAttributes<DatePickerRef>;
|
|
13
|
+
export type YearPickerProps = AntDMonthPickerProps & React.RefAttributes<DatePickerRef>;
|
|
10
14
|
export declare const DuboisDatePicker: React.VFC<DatePickerProps>;
|
|
11
15
|
/**
|
|
12
16
|
* `LegacyDatePicker` was added as a temporary solution pending an
|
|
13
17
|
* official Du Bois replacement. Use with caution.
|
|
14
18
|
* @deprecated
|
|
15
19
|
*/
|
|
16
|
-
export declare const LegacyDatePicker: import("react").VFC<
|
|
20
|
+
export declare const LegacyDatePicker: import("react").VFC<DatePickerProps> & {
|
|
17
21
|
/**
|
|
18
22
|
* See deprecation notice for `LegacyDatePicker`.
|
|
19
23
|
* @deprecated
|
|
20
24
|
*/
|
|
21
|
-
RangePicker: import("react").VFC<
|
|
25
|
+
RangePicker: import("react").VFC<RangePickerProps>;
|
|
22
26
|
/**
|
|
23
27
|
* See deprecation notice for `LegacyDatePicker`.
|
|
24
28
|
* @deprecated
|
|
25
29
|
*/
|
|
26
|
-
TimePicker: import("react").VFC<
|
|
30
|
+
TimePicker: import("react").VFC<TimePickerProps>;
|
|
27
31
|
/**
|
|
28
32
|
* See deprecation notice for `LegacyDatePicker`.
|
|
29
33
|
* @deprecated
|
|
30
34
|
*/
|
|
31
|
-
QuarterPicker: import("react").VFC<
|
|
35
|
+
QuarterPicker: import("react").VFC<QuarterPickerProps>;
|
|
32
36
|
/**
|
|
33
37
|
* See deprecation notice for `LegacyDatePicker`.
|
|
34
38
|
* @deprecated
|
|
35
39
|
*/
|
|
36
|
-
WeekPicker: import("react").VFC<
|
|
40
|
+
WeekPicker: import("react").VFC<WeekPickerProps>;
|
|
37
41
|
/**
|
|
38
42
|
* See deprecation notice for `LegacyDatePicker`.
|
|
39
43
|
* @deprecated
|
|
40
44
|
*/
|
|
41
|
-
MonthPicker: import("react").VFC<
|
|
45
|
+
MonthPicker: import("react").VFC<MonthPickerProps>;
|
|
42
46
|
/**
|
|
43
47
|
* See deprecation notice for `LegacyDatePicker`.
|
|
44
48
|
* @deprecated
|
|
45
49
|
*/
|
|
46
|
-
YearPicker: import("react").VFC<
|
|
50
|
+
YearPicker: import("react").VFC<YearPickerProps>;
|
|
47
51
|
};
|
|
48
52
|
//# sourceMappingURL=DatePicker.d.ts.map
|