@databricks/design-system 1.9.0 → 1.9.2

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.
Files changed (150) hide show
  1. package/dist/Typography-04e40f87.js +1465 -0
  2. package/dist/Typography-04e40f87.js.map +1 -0
  3. package/dist/Typography-52abe0b7.js +1142 -0
  4. package/dist/Typography-52abe0b7.js.map +1 -0
  5. package/dist/Typography-74e19785.js +1472 -0
  6. package/dist/Typography-74e19785.js.map +1 -0
  7. package/dist/Typography-84a00e02.js +1465 -0
  8. package/dist/Typography-84a00e02.js.map +1 -0
  9. package/dist/design-system/AutoComplete/AutoComplete.d.ts.map +1 -1
  10. package/dist/design-system/Checkbox/Checkbox.d.ts +6 -2
  11. package/dist/design-system/Checkbox/Checkbox.d.ts.map +1 -1
  12. package/dist/design-system/DesignSystemProvider/DesignSystemProvider.d.ts +3 -1
  13. package/dist/design-system/DesignSystemProvider/DesignSystemProvider.d.ts.map +1 -1
  14. package/dist/design-system/Drawer/Drawer.d.ts +7 -1
  15. package/dist/design-system/Drawer/Drawer.d.ts.map +1 -1
  16. package/dist/design-system/FormMessage/FormMessage.d.ts +1 -1
  17. package/dist/design-system/FormMessage/FormMessage.d.ts.map +1 -1
  18. package/dist/design-system/Hooks/useDesignSystemTheme.d.ts.map +1 -1
  19. package/dist/design-system/Icon/__generated/icons/BookmarkIcon.d.ts +4 -0
  20. package/dist/design-system/Icon/__generated/icons/BookmarkIcon.d.ts.map +1 -0
  21. package/dist/design-system/Icon/__generated/icons/BracketsCurlyIcon.v2.d.ts +4 -0
  22. package/dist/design-system/Icon/__generated/icons/BracketsCurlyIcon.v2.d.ts.map +1 -0
  23. package/dist/design-system/Icon/__generated/icons/BracketsSquareIcon.v2.d.ts +4 -0
  24. package/dist/design-system/Icon/__generated/icons/BracketsSquareIcon.v2.d.ts.map +1 -0
  25. package/dist/design-system/Icon/__generated/icons/BracketsXIcon.v2.d.ts +4 -0
  26. package/dist/design-system/Icon/__generated/icons/BracketsXIcon.v2.d.ts.map +1 -0
  27. package/dist/design-system/Icon/__generated/icons/CheckCircleIcon.d.ts +4 -0
  28. package/dist/design-system/Icon/__generated/icons/CheckCircleIcon.d.ts.map +1 -0
  29. package/dist/design-system/Icon/__generated/icons/CloudModelIcon.v2.d.ts +4 -0
  30. package/dist/design-system/Icon/__generated/icons/CloudModelIcon.v2.d.ts.map +1 -0
  31. package/dist/design-system/Icon/__generated/icons/CursorIcon.v2.d.ts +4 -0
  32. package/dist/design-system/Icon/__generated/icons/CursorIcon.v2.d.ts.map +1 -0
  33. package/dist/design-system/Icon/__generated/icons/DagIcon.v2.d.ts +4 -0
  34. package/dist/design-system/Icon/__generated/icons/DagIcon.v2.d.ts.map +1 -0
  35. package/dist/design-system/Icon/__generated/icons/DangerFillIcon.d.ts +4 -0
  36. package/dist/design-system/Icon/__generated/icons/DangerFillIcon.d.ts.map +1 -0
  37. package/dist/design-system/Icon/__generated/icons/DangerIcon.d.ts +4 -0
  38. package/dist/design-system/Icon/__generated/icons/DangerIcon.d.ts.map +1 -0
  39. package/dist/design-system/Icon/__generated/icons/DecimalIcon.v2.d.ts +4 -0
  40. package/dist/design-system/Icon/__generated/icons/DecimalIcon.v2.d.ts.map +1 -0
  41. package/dist/design-system/Icon/__generated/icons/DotsCircleIcon.v2.d.ts +4 -0
  42. package/dist/design-system/Icon/__generated/icons/DotsCircleIcon.v2.d.ts.map +1 -0
  43. package/dist/design-system/Icon/__generated/icons/FolderFillIcon.d.ts +4 -0
  44. package/dist/design-system/Icon/__generated/icons/FolderFillIcon.d.ts.map +1 -0
  45. package/dist/design-system/Icon/__generated/icons/FolderIcon.d.ts.map +1 -1
  46. package/dist/design-system/Icon/__generated/icons/GearFillIcon.d.ts +4 -0
  47. package/dist/design-system/Icon/__generated/icons/GearFillIcon.d.ts.map +1 -0
  48. package/dist/design-system/Icon/__generated/icons/GearIcon.d.ts.map +1 -1
  49. package/dist/design-system/Icon/__generated/icons/InfoIcon.d.ts +4 -0
  50. package/dist/design-system/Icon/__generated/icons/InfoIcon.d.ts.map +1 -0
  51. package/dist/design-system/Icon/__generated/icons/LettersIcon.v2.d.ts +4 -0
  52. package/dist/design-system/Icon/__generated/icons/LettersIcon.v2.d.ts.map +1 -0
  53. package/dist/design-system/Icon/__generated/icons/LinkOffIcon.d.ts +4 -0
  54. package/dist/design-system/Icon/__generated/icons/LinkOffIcon.d.ts.map +1 -0
  55. package/dist/design-system/Icon/__generated/icons/LockIcon.d.ts +4 -0
  56. package/dist/design-system/Icon/__generated/icons/LockIcon.d.ts.map +1 -0
  57. package/dist/design-system/Icon/__generated/icons/MinusCircleIcon.d.ts +4 -0
  58. package/dist/design-system/Icon/__generated/icons/MinusCircleIcon.d.ts.map +1 -0
  59. package/dist/design-system/Icon/__generated/icons/NotificationOffIcon.v2.d.ts +4 -0
  60. package/dist/design-system/Icon/__generated/icons/NotificationOffIcon.v2.d.ts.map +1 -0
  61. package/dist/design-system/Icon/__generated/icons/NumbersIcon.v2.d.ts +4 -0
  62. package/dist/design-system/Icon/__generated/icons/NumbersIcon.v2.d.ts.map +1 -0
  63. package/dist/design-system/Icon/__generated/icons/PinIcon.d.ts +4 -0
  64. package/dist/design-system/Icon/__generated/icons/PinIcon.d.ts.map +1 -0
  65. package/dist/design-system/Icon/__generated/icons/PlayCircleIcon.d.ts +4 -0
  66. package/dist/design-system/Icon/__generated/icons/PlayCircleIcon.d.ts.map +1 -0
  67. package/dist/design-system/Icon/__generated/icons/PlusCircleIcon.d.ts +4 -0
  68. package/dist/design-system/Icon/__generated/icons/PlusCircleIcon.d.ts.map +1 -0
  69. package/dist/design-system/Icon/__generated/icons/QuestionMarkIcon.d.ts +4 -0
  70. package/dist/design-system/Icon/__generated/icons/QuestionMarkIcon.d.ts.map +1 -0
  71. package/dist/design-system/Icon/__generated/icons/RedoIcon.d.ts +4 -0
  72. package/dist/design-system/Icon/__generated/icons/RedoIcon.d.ts.map +1 -0
  73. package/dist/design-system/Icon/__generated/icons/Refresh.v2.d.ts +4 -0
  74. package/dist/design-system/Icon/__generated/icons/Refresh.v2.d.ts.map +1 -0
  75. package/dist/design-system/Icon/__generated/icons/RefreshIcon.d.ts +4 -0
  76. package/dist/design-system/Icon/__generated/icons/RefreshIcon.d.ts.map +1 -0
  77. package/dist/design-system/Icon/__generated/icons/StarIcon.d.ts +4 -0
  78. package/dist/design-system/Icon/__generated/icons/StarIcon.d.ts.map +1 -0
  79. package/dist/design-system/Icon/__generated/icons/StopCircleFillIcon.d.ts +4 -0
  80. package/dist/design-system/Icon/__generated/icons/StopCircleFillIcon.d.ts.map +1 -0
  81. package/dist/design-system/Icon/__generated/icons/StopCircleIcon.d.ts +4 -0
  82. package/dist/design-system/Icon/__generated/icons/StopCircleIcon.d.ts.map +1 -0
  83. package/dist/design-system/Icon/__generated/icons/StorefrontIcon.v2.d.ts +4 -0
  84. package/dist/design-system/Icon/__generated/icons/StorefrontIcon.v2.d.ts.map +1 -0
  85. package/dist/design-system/Icon/__generated/icons/UndoIcon.d.ts +4 -0
  86. package/dist/design-system/Icon/__generated/icons/UndoIcon.d.ts.map +1 -0
  87. package/dist/design-system/Icon/__generated/icons/VisibleIcon.d.ts +4 -0
  88. package/dist/design-system/Icon/__generated/icons/VisibleIcon.d.ts.map +1 -0
  89. package/dist/design-system/Icon/__generated/icons/VisibleOffIcon.d.ts +4 -0
  90. package/dist/design-system/Icon/__generated/icons/VisibleOffIcon.d.ts.map +1 -0
  91. package/dist/design-system/Icon/__generated/icons/WarningIcon.d.ts +4 -0
  92. package/dist/design-system/Icon/__generated/icons/WarningIcon.d.ts.map +1 -0
  93. package/dist/design-system/Icon/__generated/icons/XCircleIcon.d.ts +4 -0
  94. package/dist/design-system/Icon/__generated/icons/XCircleIcon.d.ts.map +1 -0
  95. package/dist/design-system/Icon/__generated/icons/index.d.ts +71 -37
  96. package/dist/design-system/Icon/__generated/icons/index.d.ts.map +1 -1
  97. package/dist/design-system/Modal/Modal.d.ts.map +1 -1
  98. package/dist/design-system/NotificationV2/NotificationV2.d.ts +23 -0
  99. package/dist/design-system/NotificationV2/NotificationV2.d.ts.map +1 -0
  100. package/dist/design-system/NotificationV2/index.d.ts +2 -0
  101. package/dist/design-system/NotificationV2/index.d.ts.map +1 -0
  102. package/dist/design-system/Popover/Popover.d.ts +2 -1
  103. package/dist/design-system/Popover/Popover.d.ts.map +1 -1
  104. package/dist/design-system/Select/Select.d.ts.map +1 -1
  105. package/dist/design-system/Sidebar/Sidebar.d.ts +4 -2
  106. package/dist/design-system/Sidebar/Sidebar.d.ts.map +1 -1
  107. package/dist/design-system/Tag/index.d.ts.map +1 -1
  108. package/dist/design-system/ToggleButton/ToggleButton.d.ts +4 -0
  109. package/dist/design-system/ToggleButton/ToggleButton.d.ts.map +1 -0
  110. package/dist/design-system/Tooltip/Tooltip.d.ts.map +1 -1
  111. package/dist/design-system/index.d.ts +1 -0
  112. package/dist/design-system/index.d.ts.map +1 -1
  113. package/dist/development/Slider/Slider.d.ts +11 -0
  114. package/dist/development/Slider/Slider.d.ts.map +1 -0
  115. package/dist/development/Slider/index.d.ts +2 -0
  116. package/dist/development/Slider/index.d.ts.map +1 -0
  117. package/dist/development/TableUI/TableUI.test.d.ts +2 -0
  118. package/dist/development/TableUI/TableUI.test.d.ts.map +1 -0
  119. package/dist/development/TableUI/index.d.ts +56 -0
  120. package/dist/development/TableUI/index.d.ts.map +1 -0
  121. package/dist/development/index.d.ts +3 -0
  122. package/dist/development/index.d.ts.map +1 -0
  123. package/dist/development.js +414 -0
  124. package/dist/development.js.map +1 -0
  125. package/dist/flags.d.ts +2 -1
  126. package/dist/flags.d.ts.map +1 -1
  127. package/dist/index-dark.css +1 -0
  128. package/dist/index-mfe-dark.css +1 -0
  129. package/dist/index-mfe.css +1 -0
  130. package/dist/index.css +1 -0
  131. package/dist/index.js +1274 -2587
  132. package/dist/index.js.map +1 -1
  133. package/dist/rollup-less-tilde-importer.d.ts.map +1 -1
  134. package/dist/test-utils/enzyme/index.d.ts +8 -0
  135. package/dist/test-utils/enzyme/index.d.ts.map +1 -0
  136. package/dist/test-utils/enzyme.js.map +1 -1
  137. package/dist/test-utils/rtl/index.d.ts +7 -0
  138. package/dist/test-utils/rtl/index.d.ts.map +1 -0
  139. package/dist/test-utils/rtl.js.map +1 -1
  140. package/dist/theme/colorList.d.ts +2 -0
  141. package/dist/theme/colorList.d.ts.map +1 -1
  142. package/dist/theme/colors.d.ts +4 -3
  143. package/dist/theme/colors.d.ts.map +1 -1
  144. package/dist/theme/convertToLessVars.d.ts +3 -4
  145. package/dist/theme/convertToLessVars.d.ts.map +1 -1
  146. package/dist/theme/generalVariables.d.ts +4 -0
  147. package/dist/theme/generalVariables.d.ts.map +1 -1
  148. package/dist/theme/index.d.ts +7 -3
  149. package/dist/theme/index.d.ts.map +1 -1
  150. package/package.json +9 -5
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Typography-74e19785.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/NewWindowIcon.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/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"],"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\n// Colors taken from figma designs but not part of official list (yet)\nconst unstableColors = {\n textValidationInfo: '#64727D',\n backgroundValidationDanger: colorPalettePrimary.red100,\n backgroundValidationSuccess: colorPalettePrimary.blue100,\n backgroundValidationWarning: colorPalettePrimary.yellow100,\n borderValidationDanger: colorPalettePrimary.red300,\n borderValidationSuccess: colorPalettePrimary.blue300,\n borderValidationWarning: colorPalettePrimary.yellow300,\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 border: colorPalettePrimary.grey300,\n borderDecorative: colorPalettePrimary.grey300,\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\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 ...unstableColors,\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: chroma(colorPalettePrimary.white).alpha(0.04).hex(),\n\n border: chroma(colorPalettePrimary.white).alpha(0.48).hex(),\n borderDecorative: chroma(colorPalettePrimary.white).alpha(0.24).hex(),\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\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 // Missing in light list\n // \"background-validation-danger\": \"rgba(229,110,134,0)\",\n // \"background-validation-warning\": \"rgba(252,234,202,0)\",\n ...unstableColors,\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 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 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';\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 } 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 {children}\n </AntDCheckbox>\n </div>\n </DesignSystemAntDConfigProvider>\n );\n});\n\nconst CheckboxGroup = forwardRef<HTMLInputElement, CheckboxGroupProps>(function CheckboxGroup(\n { 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 </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"],"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","unstableColors","textValidationInfo","backgroundValidationDanger","backgroundValidationSuccess","backgroundValidationWarning","borderValidationDanger","borderValidationSuccess","borderValidationWarning","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","border","borderDecorative","textPrimary","textSecondary","textPlaceholder","textValidationDanger","textValidationSuccess","textValidationWarning","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","SvgNewWindowIconV1","SvgNewWindowIconV2","_jsxs","NewWindowIcon","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","getCheckboxEmotionStyles","clsPrefix","isHorizontal","useNewCheckboxStyles","classInput","classInner","classIndeterminate","classChecked","classDisabled","classDisabledWrapper","classContainer","classWrapper","defaultSelector","hoverSelector","pressSelector","styles","top","lineHeight","alignItems","borderColor","display","flexDirection","rowGap","columnGap","marginRight","outlineWidth","outlineColor","outlineOffset","outlineStyle","backgroundColor","height","width","borderRadius","getWrapperStyle","wrapperStyle","useNewStyles","paddingLeft","marginTop","DuboisCheckbox","forwardRef","Checkbox","ref","isChecked","onChange","isDisabled","restProps","USE_NEW_CHECKBOX_STYLES","classnames","AntDCheckbox","event","target","checked","CheckboxGroup","layout","CheckboxNamespace","assign","Group","__INTERNAL_DO_NOT_USE__Group","getLinkStyles","classTypography","textDecoration","getEllipsisNewTabLinkStyles","paddingRight","position","getIconStyles","marginLeft","getEllipsisIconStyles","right","bottom","Link","openInNewTab","newTabProps","rel","linkProps","linkStyles","ellipsis","iconStyles","AntDTypography","Paragraph","AntDParagraph","getParagraphEmotionStyles","disabled","withoutMargins","marginBottom","userProps","Text","AntDText","getTextEmotionStyles","hint","bold","fontWeight","code","background","fontFamily","padding","margin","size","Title","AntDTitle","getLevelStyles","level","getTitleEmotionStyles","Typography"],"mappings":";;;;;;;;;;;;;;;AAAA;AACO,MAAMA,OAAO,GAAG;EACrBC,cAAc,EAAE;AAClB,CAAC;;AAED;AACA,gBAAe;EACb,GAAGD;AACL,CAAC;;ACkBD;AACO,MAAME,mBAAwC,GAAG;EACtDC,OA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