@coveord/plasma-mantine 52.1.0 → 52.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/.turbo/turbo-test.log +28 -28
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/cjs/__tests__/Utils.js +9 -9
  5. package/dist/cjs/__tests__/Utils.js.map +1 -1
  6. package/dist/cjs/__tests__/VitestSetup.js +2 -2
  7. package/dist/cjs/__tests__/VitestSetup.js.map +1 -1
  8. package/dist/cjs/components/blank-slate/BlankSlate.js +3 -3
  9. package/dist/cjs/components/blank-slate/index.js +2 -2
  10. package/dist/cjs/components/blank-slate/index.js.map +1 -1
  11. package/dist/cjs/components/button/Button.js +15 -15
  12. package/dist/cjs/components/button/Button.js.map +1 -1
  13. package/dist/cjs/components/button/ButtonWithDisabledTooltip.js +8 -8
  14. package/dist/cjs/components/button/index.js +2 -2
  15. package/dist/cjs/components/button/index.js.map +1 -1
  16. package/dist/cjs/components/code-editor/CodeEditor.js +30 -30
  17. package/dist/cjs/components/code-editor/CodeEditor.js.map +1 -1
  18. package/dist/cjs/components/code-editor/index.js +2 -2
  19. package/dist/cjs/components/code-editor/index.js.map +1 -1
  20. package/dist/cjs/components/code-editor/languages/xml.js +4 -4
  21. package/dist/cjs/components/code-editor/languages/xml.js.map +1 -1
  22. package/dist/cjs/components/collection/Collection.js +25 -25
  23. package/dist/cjs/components/collection/Collection.js.map +1 -1
  24. package/dist/cjs/components/collection/CollectionItem.js +29 -29
  25. package/dist/cjs/components/collection/CollectionItem.js.map +1 -1
  26. package/dist/cjs/components/collection/index.js +2 -2
  27. package/dist/cjs/components/collection/index.js.map +1 -1
  28. package/dist/cjs/components/copyToClipboard/CopyToClipboard.js +13 -13
  29. package/dist/cjs/components/copyToClipboard/CopyToClipboard.js.map +1 -1
  30. package/dist/cjs/components/copyToClipboard/index.js +2 -2
  31. package/dist/cjs/components/copyToClipboard/index.js.map +1 -1
  32. package/dist/cjs/components/date-range-picker/DateRangePickerInlineCalendar.js +16 -16
  33. package/dist/cjs/components/date-range-picker/DateRangePickerInlineCalendar.js.map +1 -1
  34. package/dist/cjs/components/date-range-picker/DateRangePickerPopoverCalendar.js +16 -16
  35. package/dist/cjs/components/date-range-picker/DateRangePickerPopoverCalendar.js.map +1 -1
  36. package/dist/cjs/components/date-range-picker/DateRangePickerPresetSelect.js +10 -10
  37. package/dist/cjs/components/date-range-picker/DateRangePickerPresetSelect.js.map +1 -1
  38. package/dist/cjs/components/date-range-picker/EditableDateRangePicker.js +9 -9
  39. package/dist/cjs/components/date-range-picker/EditableDateRangePicker.js.map +1 -1
  40. package/dist/cjs/components/date-range-picker/index.js +4 -4
  41. package/dist/cjs/components/date-range-picker/index.js.map +1 -1
  42. package/dist/cjs/components/header/Header.js +23 -23
  43. package/dist/cjs/components/header/Header.js.map +1 -1
  44. package/dist/cjs/components/header/__tests__/__snapshots__/Header.spec.tsx.snap +4 -8
  45. package/dist/cjs/components/header/index.js +2 -2
  46. package/dist/cjs/components/header/index.js.map +1 -1
  47. package/dist/cjs/components/index.js +14 -14
  48. package/dist/cjs/components/index.js.map +1 -1
  49. package/dist/cjs/components/inline-confirm/InlineConfirm.js +12 -12
  50. package/dist/cjs/components/inline-confirm/InlineConfirm.js.map +1 -1
  51. package/dist/cjs/components/inline-confirm/InlineConfirmButton.js +5 -5
  52. package/dist/cjs/components/inline-confirm/InlineConfirmMenuItem.js +5 -5
  53. package/dist/cjs/components/inline-confirm/InlineConfirmPrompt.js +4 -4
  54. package/dist/cjs/components/inline-confirm/index.js +4 -4
  55. package/dist/cjs/components/inline-confirm/index.js.map +1 -1
  56. package/dist/cjs/components/inline-confirm/useInlineConfirm.js +2 -2
  57. package/dist/cjs/components/menu/Menu.js +7 -7
  58. package/dist/cjs/components/menu/index.js +2 -2
  59. package/dist/cjs/components/menu/index.js.map +1 -1
  60. package/dist/cjs/components/modal-wizard/ModalWizard.js +22 -22
  61. package/dist/cjs/components/modal-wizard/ModalWizard.js.map +1 -1
  62. package/dist/cjs/components/modal-wizard/ModalWizardStep.js +2 -2
  63. package/dist/cjs/components/modal-wizard/index.js +2 -2
  64. package/dist/cjs/components/modal-wizard/index.js.map +1 -1
  65. package/dist/cjs/components/prompt/Prompt.js +18 -18
  66. package/dist/cjs/components/prompt/PromptFooter.js +7 -7
  67. package/dist/cjs/components/prompt/PromptFooter.js.map +1 -1
  68. package/dist/cjs/components/prompt/index.js +2 -2
  69. package/dist/cjs/components/prompt/index.js.map +1 -1
  70. package/dist/cjs/components/sticky-footer/StickyFooter.js +8 -8
  71. package/dist/cjs/components/sticky-footer/index.js +2 -2
  72. package/dist/cjs/components/sticky-footer/index.js.map +1 -1
  73. package/dist/cjs/components/table/Table.js +96 -86
  74. package/dist/cjs/components/table/Table.js.map +1 -1
  75. package/dist/cjs/components/table/Table.styles.js +30 -7
  76. package/dist/cjs/components/table/Table.styles.js.map +1 -1
  77. package/dist/cjs/components/table/TableActions.js +15 -6
  78. package/dist/cjs/components/table/TableActions.js.map +1 -1
  79. package/dist/cjs/components/table/TableCollapsibleColumn.js +10 -10
  80. package/dist/cjs/components/table/TableCollapsibleColumn.js.map +1 -1
  81. package/dist/cjs/components/table/TableConsumer.js +2 -2
  82. package/dist/cjs/components/table/TableDateRangePicker.js +51 -41
  83. package/dist/cjs/components/table/TableDateRangePicker.js.map +1 -1
  84. package/dist/cjs/components/table/TableFilter.js +31 -25
  85. package/dist/cjs/components/table/TableFilter.js.map +1 -1
  86. package/dist/cjs/components/table/TableFooter.js +6 -6
  87. package/dist/cjs/components/table/TableHeader.js +45 -45
  88. package/dist/cjs/components/table/TableHeader.js.map +1 -1
  89. package/dist/cjs/components/table/TablePagination.js +8 -8
  90. package/dist/cjs/components/table/TablePagination.js.map +1 -1
  91. package/dist/cjs/components/table/TablePerPage.js +9 -9
  92. package/dist/cjs/components/table/TablePerPage.js.map +1 -1
  93. package/dist/cjs/components/table/TablePredicate.js +31 -25
  94. package/dist/cjs/components/table/TablePredicate.js.map +1 -1
  95. package/dist/cjs/components/table/TableSelectableColumn.js +4 -4
  96. package/dist/cjs/components/table/Th.js +17 -17
  97. package/dist/cjs/components/table/index.js +4 -4
  98. package/dist/cjs/components/table/index.js.map +1 -1
  99. package/dist/cjs/components/table/useRowSelection.js +9 -9
  100. package/dist/cjs/components/table/useRowSelection.js.map +1 -1
  101. package/dist/cjs/form/FormProvider.js +4 -4
  102. package/dist/cjs/form/FormProvider.js.map +1 -1
  103. package/dist/cjs/form/index.js +3 -3
  104. package/dist/cjs/form/index.js.map +1 -1
  105. package/dist/cjs/form/useForm.js +4 -4
  106. package/dist/cjs/form/useForm.js.map +1 -1
  107. package/dist/cjs/hooks/index.js +3 -3
  108. package/dist/cjs/hooks/index.js.map +1 -1
  109. package/dist/cjs/hooks/useControlledList.js +5 -5
  110. package/dist/cjs/hooks/useControlledList.js.map +1 -1
  111. package/dist/cjs/hooks/useParentHeight.js +2 -2
  112. package/dist/cjs/hooks/useParentHeight.js.map +1 -1
  113. package/dist/cjs/index.js +9 -9
  114. package/dist/cjs/index.js.map +1 -1
  115. package/dist/cjs/theme/PlasmaColors.js +30 -30
  116. package/dist/cjs/theme/Plasmantine.js +4 -4
  117. package/dist/cjs/theme/Theme.js +13 -13
  118. package/dist/cjs/theme/Theme.js.map +1 -1
  119. package/dist/cjs/theme/index.js +2 -2
  120. package/dist/cjs/theme/index.js.map +1 -1
  121. package/dist/cjs/utils/index.js +3 -3
  122. package/dist/cjs/utils/index.js.map +1 -1
  123. package/dist/cjs/utils/overrideComponent.js +2 -2
  124. package/dist/cjs/utils/overrideComponent.js.map +1 -1
  125. package/dist/definitions/components/header/Header.d.ts.map +1 -1
  126. package/dist/definitions/components/table/Table.d.ts.map +1 -1
  127. package/dist/definitions/components/table/Table.styles.d.ts +7 -1
  128. package/dist/definitions/components/table/Table.styles.d.ts.map +1 -1
  129. package/dist/definitions/components/table/TableActions.d.ts.map +1 -1
  130. package/dist/definitions/components/table/TableDateRangePicker.d.ts.map +1 -1
  131. package/dist/definitions/components/table/TableFilter.d.ts.map +1 -1
  132. package/dist/definitions/components/table/TableHeader.d.ts +1 -0
  133. package/dist/definitions/components/table/TableHeader.d.ts.map +1 -1
  134. package/dist/definitions/components/table/TablePredicate.d.ts.map +1 -1
  135. package/dist/esm/__tests__/Utils.js +1 -1
  136. package/dist/esm/components/button/Button.js +6 -6
  137. package/dist/esm/components/button/ButtonWithDisabledTooltip.js +3 -3
  138. package/dist/esm/components/code-editor/CodeEditor.js +6 -6
  139. package/dist/esm/components/code-editor/languages/xml.js +2 -2
  140. package/dist/esm/components/collection/Collection.js +3 -3
  141. package/dist/esm/components/collection/CollectionItem.js +4 -4
  142. package/dist/esm/components/copyToClipboard/CopyToClipboard.js +2 -2
  143. package/dist/esm/components/date-range-picker/DateRangePickerInlineCalendar.js +2 -2
  144. package/dist/esm/components/date-range-picker/DateRangePickerPopoverCalendar.js +2 -2
  145. package/dist/esm/components/date-range-picker/DateRangePickerPresetSelect.js +3 -3
  146. package/dist/esm/components/date-range-picker/EditableDateRangePicker.js +1 -1
  147. package/dist/esm/components/header/Header.js +11 -11
  148. package/dist/esm/components/header/Header.js.map +1 -1
  149. package/dist/esm/components/header/__tests__/__snapshots__/Header.spec.tsx.snap +4 -8
  150. package/dist/esm/components/inline-confirm/InlineConfirm.js +1 -1
  151. package/dist/esm/components/inline-confirm/InlineConfirmButton.js +2 -2
  152. package/dist/esm/components/inline-confirm/InlineConfirmMenuItem.js +2 -2
  153. package/dist/esm/components/menu/Menu.js +2 -2
  154. package/dist/esm/components/modal-wizard/ModalWizard.js +4 -4
  155. package/dist/esm/components/prompt/Prompt.js +3 -3
  156. package/dist/esm/components/prompt/PromptFooter.js +3 -3
  157. package/dist/esm/components/sticky-footer/StickyFooter.js +3 -3
  158. package/dist/esm/components/table/Table.js +27 -17
  159. package/dist/esm/components/table/Table.js.map +1 -1
  160. package/dist/esm/components/table/Table.styles.js +19 -4
  161. package/dist/esm/components/table/Table.styles.js.map +1 -1
  162. package/dist/esm/components/table/TableActions.js +13 -4
  163. package/dist/esm/components/table/TableActions.js.map +1 -1
  164. package/dist/esm/components/table/TableCollapsibleColumn.js +2 -2
  165. package/dist/esm/components/table/TableDateRangePicker.js +45 -35
  166. package/dist/esm/components/table/TableDateRangePicker.js.map +1 -1
  167. package/dist/esm/components/table/TableFilter.js +26 -20
  168. package/dist/esm/components/table/TableFilter.js.map +1 -1
  169. package/dist/esm/components/table/TableFooter.js +3 -3
  170. package/dist/esm/components/table/TableHeader.js +41 -41
  171. package/dist/esm/components/table/TableHeader.js.map +1 -1
  172. package/dist/esm/components/table/TablePagination.js +2 -2
  173. package/dist/esm/components/table/TablePerPage.js +2 -2
  174. package/dist/esm/components/table/TablePredicate.js +28 -22
  175. package/dist/esm/components/table/TablePredicate.js.map +1 -1
  176. package/dist/esm/components/table/useRowSelection.js +2 -2
  177. package/dist/esm/form/useForm.js +2 -2
  178. package/dist/esm/hooks/useControlledList.js +2 -2
  179. package/dist/esm/hooks/useParentHeight.js +1 -1
  180. package/dist/esm/theme/Theme.js +2 -2
  181. package/dist/esm/utils/overrideComponent.js +1 -1
  182. package/package.json +8 -8
  183. package/src/components/header/Header.tsx +5 -7
  184. package/src/components/header/__tests__/__snapshots__/Header.spec.tsx.snap +4 -8
  185. package/src/components/table/Table.styles.ts +21 -5
  186. package/src/components/table/Table.tsx +10 -4
  187. package/src/components/table/TableActions.tsx +9 -6
  188. package/src/components/table/TableDateRangePicker.tsx +23 -20
  189. package/src/components/table/TableFilter.tsx +21 -18
  190. package/src/components/table/TableHeader.tsx +35 -23
  191. package/src/components/table/TablePredicate.tsx +15 -12
@@ -8,15 +8,15 @@ Object.defineProperty(exports, "Plasmantine", {
8
8
  return Plasmantine;
9
9
  }
10
10
  });
11
- var _jsxRuntime = require("react/jsx-runtime");
11
+ var _jsxruntime = require("react/jsx-runtime");
12
12
  var _core = require("@mantine/core");
13
- var _theme = require("./Theme");
13
+ var _Theme = require("./Theme");
14
14
  var Plasmantine = function(param) {
15
15
  var children = param.children;
16
- return /*#__PURE__*/ (0, _jsxRuntime.jsx)(_core.MantineProvider, {
16
+ return /*#__PURE__*/ (0, _jsxruntime.jsx)(_core.MantineProvider, {
17
17
  withGlobalStyles: true,
18
18
  withNormalizeCSS: true,
19
- theme: _theme.plasmaTheme,
19
+ theme: _Theme.plasmaTheme,
20
20
  children: children
21
21
  });
22
22
  };
@@ -8,18 +8,18 @@ Object.defineProperty(exports, "plasmaTheme", {
8
8
  return plasmaTheme;
9
9
  }
10
10
  });
11
- var _objectDestructuringEmpty = require("@swc/helpers/lib/_object_destructuring_empty.js").default;
12
- var _objectSpread = require("@swc/helpers/lib/_object_spread.js").default;
13
- var _jsxRuntime = require("react/jsx-runtime");
14
- var _plasmaReactIcons = require("@coveord/plasma-react-icons");
15
- var _plasmaTokens = require("@coveord/plasma-tokens");
11
+ var _object_destructuring_empty = require("@swc/helpers/_/_object_destructuring_empty");
12
+ var _object_spread = require("@swc/helpers/_/_object_spread");
13
+ var _jsxruntime = require("react/jsx-runtime");
14
+ var _plasmareacticons = require("@coveord/plasma-react-icons");
15
+ var _plasmatokens = require("@coveord/plasma-tokens");
16
16
  var _core = require("@mantine/core");
17
- var _plasmaColors = require("./PlasmaColors");
17
+ var _PlasmaColors = require("./PlasmaColors");
18
18
  var plasmaTheme = {
19
19
  // These are overrides over https://github.com/mantinedev/mantine/blob/master/src/mantine-styles/src/theme/default-theme.ts
20
20
  colorScheme: "light",
21
21
  fontFamily: "canada-type-gibson, sans-serif",
22
- black: _plasmaTokens.color.primary.gray[9],
22
+ black: _plasmatokens.color.primary.gray[9],
23
23
  defaultRadius: 8,
24
24
  lineHeight: 1.5,
25
25
  spacing: {
@@ -73,11 +73,11 @@ var plasmaTheme = {
73
73
  lg: "0px 8px 16px rgba(7, 12, 41, 0.06)",
74
74
  xl: "0px 16px 24px rgba(4, 8, 31, 0.06)"
75
75
  },
76
- colors: _plasmaColors.PlasmaColors,
76
+ colors: _PlasmaColors.PlasmaColors,
77
77
  components: {
78
78
  Alert: {
79
79
  defaultProps: {
80
- icon: /*#__PURE__*/ (0, _jsxRuntime.jsx)(_plasmaReactIcons.InfoSize24Px, {
80
+ icon: /*#__PURE__*/ (0, _jsxruntime.jsx)(_plasmareacticons.InfoSize24Px, {
81
81
  height: 24
82
82
  }),
83
83
  color: "navy"
@@ -102,7 +102,7 @@ var plasmaTheme = {
102
102
  weight: 300
103
103
  },
104
104
  styles: function(theme, param, param1) {
105
- var ref = _objectDestructuringEmpty(param), size = param1.size;
105
+ var ref = _object_destructuring_empty._(param), size = param1.size;
106
106
  return {
107
107
  root: {
108
108
  fontSize: (0, _core.getSize)({
@@ -158,7 +158,7 @@ var plasmaTheme = {
158
158
  },
159
159
  defaultProps: {
160
160
  overlayProps: {
161
- color: _plasmaTokens.color.primary.navy[9],
161
+ color: _plasmatokens.color.primary.navy[9],
162
162
  opacity: 0.9
163
163
  }
164
164
  }
@@ -220,7 +220,7 @@ var plasmaTheme = {
220
220
  },
221
221
  styles: function(theme) {
222
222
  return {
223
- root: _objectSpread({}, theme.fn.hover({
223
+ root: _object_spread._({}, theme.fn.hover({
224
224
  textDecoration: "underline",
225
225
  color: theme.colors.action[8]
226
226
  }))
@@ -309,7 +309,7 @@ var plasmaTheme = {
309
309
  };
310
310
  },
311
311
  defaultProps: {
312
- icon: /*#__PURE__*/ (0, _jsxRuntime.jsx)(_plasmaReactIcons.InfoSize24Px, {
312
+ icon: /*#__PURE__*/ (0, _jsxruntime.jsx)(_plasmareacticons.InfoSize24Px, {
313
313
  height: 24
314
314
  }),
315
315
  color: "info"
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/theme/Theme.tsx"],"sourcesContent":["import {InfoSize24Px} from '@coveord/plasma-react-icons';\nimport {color} from '@coveord/plasma-tokens';\nimport {getSize, MantineThemeOverride, NotificationProps, rem} from '@mantine/core';\n\nimport {PlasmaColors} from './PlasmaColors';\n\nexport const plasmaTheme: MantineThemeOverride = {\n // These are overrides over https://github.com/mantinedev/mantine/blob/master/src/mantine-styles/src/theme/default-theme.ts\n colorScheme: 'light',\n fontFamily: 'canada-type-gibson, sans-serif',\n black: color.primary.gray[9],\n defaultRadius: 8,\n lineHeight: 1.5,\n spacing: {\n xs: '8px',\n sm: '16px',\n md: '24px',\n lg: '32px',\n xl: '40px',\n },\n primaryColor: 'action',\n headings: {\n fontFamily: 'canada-type-gibson, sans-serif',\n fontWeight: 500,\n sizes: {\n h1: {fontSize: '48px', lineHeight: undefined, fontWeight: 300},\n h2: {fontSize: '32px', lineHeight: undefined, fontWeight: 500},\n h3: {fontSize: '24px', lineHeight: undefined, fontWeight: 500},\n h4: {fontSize: '18px', lineHeight: undefined, fontWeight: 300},\n h5: {fontSize: '14px', lineHeight: undefined, fontWeight: 500},\n h6: {fontSize: '12px', lineHeight: undefined, fontWeight: 500},\n },\n },\n shadows: {\n xs: '0px 1px 0px rgba(4, 8, 31, 0.08)',\n sm: '0px 2px 4px rgba(4, 8, 31, 0.12)',\n md: '0px 4px 8px rgba(4, 8, 31, 0.08)',\n lg: '0px 8px 16px rgba(7, 12, 41, 0.06)',\n xl: '0px 16px 24px rgba(4, 8, 31, 0.06)',\n },\n colors: PlasmaColors,\n components: {\n Alert: {\n defaultProps: {\n icon: <InfoSize24Px height={24} />,\n color: 'navy',\n },\n styles: {\n title: {\n fontWeight: 500,\n },\n },\n },\n Title: {\n styles: {\n root: {\n '&:is(h1,h2,h3,h4,h5,h6)': {letterSpacing: '0.011em'},\n },\n },\n },\n Text: {\n defaultProps: {\n weight: 300,\n },\n styles: (theme, {}, {size}) => ({\n root: {\n fontSize: getSize({size: size ?? 'sm', sizes: theme.fontSizes}),\n },\n }),\n },\n Button: {\n styles: () => ({\n root: {\n fontWeight: 400,\n },\n }),\n variants: {\n outline: () => ({\n root: {\n backgroundColor: 'white',\n },\n }),\n },\n },\n Modal: {\n styles: (theme, {fullScreen}, {size}) => ({\n content: {\n flex: fullScreen\n ? '0 0 100%'\n : `0 0 ${getSize({\n size,\n sizes: {\n xs: rem(440),\n sm: rem(550),\n md: rem(800),\n lg: rem(1334),\n xl: rem('85%'),\n },\n })}`,\n overflow: 'auto',\n },\n title: {\n width: '100%',\n fontSize: theme.headings.sizes.h3.fontSize,\n lineHeight: theme.headings.sizes.h3.lineHeight,\n fontWeight: 500,\n },\n }),\n defaultProps: {\n overlayProps: {\n color: color.primary.navy[9],\n opacity: 0.9,\n },\n },\n },\n InputWrapper: {\n defaultProps: {\n withAsterisk: false,\n },\n styles: (theme) => ({\n label: {\n marginBottom: theme.spacing.xs,\n },\n description: {\n fontSize: theme.fontSizes.sm,\n color: theme.colors.gray[7],\n marginBottom: theme.spacing.xs,\n },\n invalid: {\n color: theme.colors.red[9],\n borderColor: theme.colors.red[6],\n },\n error: {\n color: theme.colors.red[9],\n },\n }),\n },\n TextInput: {\n defaultProps: {\n radius: 8,\n },\n },\n Tooltip: {\n defaultProps: {\n color: 'navy',\n withArrow: true,\n withinPortal: true,\n multiline: true,\n zIndex: 10000,\n },\n },\n Loader: {\n defaultProps: {\n variant: 'dots',\n color: 'action',\n },\n },\n DateRangePicker: {\n styles: {\n cell: {\n textAlign: 'center',\n },\n },\n },\n Anchor: {\n defaultProps: {\n color: 'action.6',\n },\n styles: (theme) => ({\n root: {\n ...theme.fn.hover({\n textDecoration: 'underline',\n color: theme.colors.action[8],\n }),\n },\n }),\n },\n Checkbox: {\n defaultProps: {\n radius: 'sm',\n },\n styles: (theme) => ({\n label: {\n fontSize: theme.fontSizes.sm,\n fontWeight: 300,\n },\n }),\n },\n List: {\n styles: () => ({\n root: {\n listStyleType: 'disc',\n },\n }),\n },\n Radio: {\n styles: {\n labelWrapper: {\n display: 'flex',\n alignItems: 'flex-start',\n },\n },\n },\n Popover: {\n defaultProps: {\n shadow: 'md',\n withArrow: true,\n },\n },\n Badge: {\n styles: {\n root: {\n textTransform: 'none',\n padding: '4px 8px',\n fontWeight: 500,\n },\n },\n },\n ColorSwatch: {\n defaultProps: {\n size: 8,\n withShadow: false,\n },\n },\n MenuItem: {\n defaultProps: {\n fw: 300,\n },\n },\n Notification: {\n styles: (theme, {color: notificationType}: NotificationProps) => ({\n root: {\n borderColor: theme.colors.gray[3],\n backgroundColor: theme.colors.gray[0],\n boxShadow: theme.shadows.lg,\n padding: theme.spacing.sm,\n '&[data-with-icon]': {\n paddingLeft: theme.spacing.sm,\n },\n },\n icon: {\n backgroundColor: 'transparent',\n marginRight: theme.spacing.sm,\n color: theme.colors?.[notificationType][6],\n },\n closeButton: {\n margin: theme.spacing.xs,\n color: theme.colors.gray[5],\n },\n }),\n defaultProps: {\n icon: <InfoSize24Px height={24} />,\n color: 'info',\n },\n },\n Skeleton: {\n styles: {\n visible: {\n '&::before': {zIndex: 'unset'},\n '&::after': {zIndex: 'unset'},\n },\n },\n },\n Segmented: {\n styles: {\n control: {\n zIndex: 'unset',\n },\n },\n },\n },\n};\n"],"names":["plasmaTheme","colorScheme","fontFamily","black","color","primary","gray","defaultRadius","lineHeight","spacing","xs","sm","md","lg","xl","primaryColor","headings","fontWeight","sizes","h1","fontSize","undefined","h2","h3","h4","h5","h6","shadows","colors","PlasmaColors","components","Alert","defaultProps","icon","InfoSize24Px","height","styles","title","Title","root","letterSpacing","Text","weight","theme","size","getSize","fontSizes","Button","variants","outline","backgroundColor","Modal","fullScreen","content","flex","rem","overflow","width","overlayProps","navy","opacity","InputWrapper","withAsterisk","label","marginBottom","description","invalid","red","borderColor","error","TextInput","radius","Tooltip","withArrow","withinPortal","multiline","zIndex","Loader","variant","DateRangePicker","cell","textAlign","Anchor","fn","hover","textDecoration","action","Checkbox","List","listStyleType","Radio","labelWrapper","display","alignItems","Popover","shadow","Badge","textTransform","padding","ColorSwatch","withShadow","MenuItem","fw","Notification","notificationType","boxShadow","paddingLeft","marginRight","closeButton","margin","Skeleton","visible","Segmented","control"],"mappings":";;;;+BAMaA;;;eAAAA;;;;;;gCANc;4BACP;oBACg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
1
+ {"version":3,"sources":["../../../src/theme/Theme.tsx"],"sourcesContent":["import {InfoSize24Px} from '@coveord/plasma-react-icons';\nimport {color} from '@coveord/plasma-tokens';\nimport {getSize, MantineThemeOverride, NotificationProps, rem} from '@mantine/core';\n\nimport {PlasmaColors} from './PlasmaColors';\n\nexport const plasmaTheme: MantineThemeOverride = {\n // These are overrides over https://github.com/mantinedev/mantine/blob/master/src/mantine-styles/src/theme/default-theme.ts\n colorScheme: 'light',\n fontFamily: 'canada-type-gibson, sans-serif',\n black: color.primary.gray[9],\n defaultRadius: 8,\n lineHeight: 1.5,\n spacing: {\n xs: '8px',\n sm: '16px',\n md: '24px',\n lg: '32px',\n xl: '40px',\n },\n primaryColor: 'action',\n headings: {\n fontFamily: 'canada-type-gibson, sans-serif',\n fontWeight: 500,\n sizes: {\n h1: {fontSize: '48px', lineHeight: undefined, fontWeight: 300},\n h2: {fontSize: '32px', lineHeight: undefined, fontWeight: 500},\n h3: {fontSize: '24px', lineHeight: undefined, fontWeight: 500},\n h4: {fontSize: '18px', lineHeight: undefined, fontWeight: 300},\n h5: {fontSize: '14px', lineHeight: undefined, fontWeight: 500},\n h6: {fontSize: '12px', lineHeight: undefined, fontWeight: 500},\n },\n },\n shadows: {\n xs: '0px 1px 0px rgba(4, 8, 31, 0.08)',\n sm: '0px 2px 4px rgba(4, 8, 31, 0.12)',\n md: '0px 4px 8px rgba(4, 8, 31, 0.08)',\n lg: '0px 8px 16px rgba(7, 12, 41, 0.06)',\n xl: '0px 16px 24px rgba(4, 8, 31, 0.06)',\n },\n colors: PlasmaColors,\n components: {\n Alert: {\n defaultProps: {\n icon: <InfoSize24Px height={24} />,\n color: 'navy',\n },\n styles: {\n title: {\n fontWeight: 500,\n },\n },\n },\n Title: {\n styles: {\n root: {\n '&:is(h1,h2,h3,h4,h5,h6)': {letterSpacing: '0.011em'},\n },\n },\n },\n Text: {\n defaultProps: {\n weight: 300,\n },\n styles: (theme, {}, {size}) => ({\n root: {\n fontSize: getSize({size: size ?? 'sm', sizes: theme.fontSizes}),\n },\n }),\n },\n Button: {\n styles: () => ({\n root: {\n fontWeight: 400,\n },\n }),\n variants: {\n outline: () => ({\n root: {\n backgroundColor: 'white',\n },\n }),\n },\n },\n Modal: {\n styles: (theme, {fullScreen}, {size}) => ({\n content: {\n flex: fullScreen\n ? '0 0 100%'\n : `0 0 ${getSize({\n size,\n sizes: {\n xs: rem(440),\n sm: rem(550),\n md: rem(800),\n lg: rem(1334),\n xl: rem('85%'),\n },\n })}`,\n overflow: 'auto',\n },\n title: {\n width: '100%',\n fontSize: theme.headings.sizes.h3.fontSize,\n lineHeight: theme.headings.sizes.h3.lineHeight,\n fontWeight: 500,\n },\n }),\n defaultProps: {\n overlayProps: {\n color: color.primary.navy[9],\n opacity: 0.9,\n },\n },\n },\n InputWrapper: {\n defaultProps: {\n withAsterisk: false,\n },\n styles: (theme) => ({\n label: {\n marginBottom: theme.spacing.xs,\n },\n description: {\n fontSize: theme.fontSizes.sm,\n color: theme.colors.gray[7],\n marginBottom: theme.spacing.xs,\n },\n invalid: {\n color: theme.colors.red[9],\n borderColor: theme.colors.red[6],\n },\n error: {\n color: theme.colors.red[9],\n },\n }),\n },\n TextInput: {\n defaultProps: {\n radius: 8,\n },\n },\n Tooltip: {\n defaultProps: {\n color: 'navy',\n withArrow: true,\n withinPortal: true,\n multiline: true,\n zIndex: 10000,\n },\n },\n Loader: {\n defaultProps: {\n variant: 'dots',\n color: 'action',\n },\n },\n DateRangePicker: {\n styles: {\n cell: {\n textAlign: 'center',\n },\n },\n },\n Anchor: {\n defaultProps: {\n color: 'action.6',\n },\n styles: (theme) => ({\n root: {\n ...theme.fn.hover({\n textDecoration: 'underline',\n color: theme.colors.action[8],\n }),\n },\n }),\n },\n Checkbox: {\n defaultProps: {\n radius: 'sm',\n },\n styles: (theme) => ({\n label: {\n fontSize: theme.fontSizes.sm,\n fontWeight: 300,\n },\n }),\n },\n List: {\n styles: () => ({\n root: {\n listStyleType: 'disc',\n },\n }),\n },\n Radio: {\n styles: {\n labelWrapper: {\n display: 'flex',\n alignItems: 'flex-start',\n },\n },\n },\n Popover: {\n defaultProps: {\n shadow: 'md',\n withArrow: true,\n },\n },\n Badge: {\n styles: {\n root: {\n textTransform: 'none',\n padding: '4px 8px',\n fontWeight: 500,\n },\n },\n },\n ColorSwatch: {\n defaultProps: {\n size: 8,\n withShadow: false,\n },\n },\n MenuItem: {\n defaultProps: {\n fw: 300,\n },\n },\n Notification: {\n styles: (theme, {color: notificationType}: NotificationProps) => ({\n root: {\n borderColor: theme.colors.gray[3],\n backgroundColor: theme.colors.gray[0],\n boxShadow: theme.shadows.lg,\n padding: theme.spacing.sm,\n '&[data-with-icon]': {\n paddingLeft: theme.spacing.sm,\n },\n },\n icon: {\n backgroundColor: 'transparent',\n marginRight: theme.spacing.sm,\n color: theme.colors?.[notificationType][6],\n },\n closeButton: {\n margin: theme.spacing.xs,\n color: theme.colors.gray[5],\n },\n }),\n defaultProps: {\n icon: <InfoSize24Px height={24} />,\n color: 'info',\n },\n },\n Skeleton: {\n styles: {\n visible: {\n '&::before': {zIndex: 'unset'},\n '&::after': {zIndex: 'unset'},\n },\n },\n },\n Segmented: {\n styles: {\n control: {\n zIndex: 'unset',\n },\n },\n },\n },\n};\n"],"names":["plasmaTheme","colorScheme","fontFamily","black","color","primary","gray","defaultRadius","lineHeight","spacing","xs","sm","md","lg","xl","primaryColor","headings","fontWeight","sizes","h1","fontSize","undefined","h2","h3","h4","h5","h6","shadows","colors","PlasmaColors","components","Alert","defaultProps","icon","InfoSize24Px","height","styles","title","Title","root","letterSpacing","Text","weight","theme","size","getSize","fontSizes","Button","variants","outline","backgroundColor","Modal","fullScreen","content","flex","rem","overflow","width","overlayProps","navy","opacity","InputWrapper","withAsterisk","label","marginBottom","description","invalid","red","borderColor","error","TextInput","radius","Tooltip","withArrow","withinPortal","multiline","zIndex","Loader","variant","DateRangePicker","cell","textAlign","Anchor","fn","hover","textDecoration","action","Checkbox","List","listStyleType","Radio","labelWrapper","display","alignItems","Popover","shadow","Badge","textTransform","padding","ColorSwatch","withShadow","MenuItem","fw","Notification","notificationType","boxShadow","paddingLeft","marginRight","closeButton","margin","Skeleton","visible","Segmented","control"],"mappings":";;;;+BAMaA;;;eAAAA;;;;;;gCANc;4BACP;oBACgD;4BAEzC;AAEpB,IAAMA,cAAoC;IAC7C,2HAA2H;IAC3HC,aAAa;IACbC,YAAY;IACZC,OAAOC,mBAAK,CAACC,OAAO,CAACC,IAAI,CAAC,EAAE;IAC5BC,eAAe;IACfC,YAAY;IACZC,SAAS;QACLC,IAAI;QACJC,IAAI;QACJC,IAAI;QACJC,IAAI;QACJC,IAAI;IACR;IACAC,cAAc;IACdC,UAAU;QACNd,YAAY;QACZe,YAAY;QACZC,OAAO;YACHC,IAAI;gBAACC,UAAU;gBAAQZ,YAAYa;gBAAWJ,YAAY;YAAG;YAC7DK,IAAI;gBAACF,UAAU;gBAAQZ,YAAYa;gBAAWJ,YAAY;YAAG;YAC7DM,IAAI;gBAACH,UAAU;gBAAQZ,YAAYa;gBAAWJ,YAAY;YAAG;YAC7DO,IAAI;gBAACJ,UAAU;gBAAQZ,YAAYa;gBAAWJ,YAAY;YAAG;YAC7DQ,IAAI;gBAACL,UAAU;gBAAQZ,YAAYa;gBAAWJ,YAAY;YAAG;YAC7DS,IAAI;gBAACN,UAAU;gBAAQZ,YAAYa;gBAAWJ,YAAY;YAAG;QACjE;IACJ;IACAU,SAAS;QACLjB,IAAI;QACJC,IAAI;QACJC,IAAI;QACJC,IAAI;QACJC,IAAI;IACR;IACAc,QAAQC,0BAAY;IACpBC,YAAY;QACRC,OAAO;YACHC,cAAc;gBACVC,oBAAM,qBAACC,8BAAY;oBAACC,QAAQ;;gBAC5B/B,OAAO;YACX;YACAgC,QAAQ;gBACJC,OAAO;oBACHpB,YAAY;gBAChB;YACJ;QACJ;QACAqB,OAAO;YACHF,QAAQ;gBACJG,MAAM;oBACF,2BAA2B;wBAACC,eAAe;oBAAS;gBAC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AAS;oBACL,aAAa;wBAACnC,QAAQ;oBAAO;oBAC7B,YAAY;wBAACA,QAAQ;oBAAO;gBAChC;YACJ;QACJ;QACAoC,WAAW;YACP5E,QAAQ;gBACJ6E,SAAS;oBACLrC,QAAQ;gBACZ;YACJ;QACJ;IACJ;AACJ"}
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- var _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
- _exportStar(require("./Plasmantine"), exports);
5
+ var _export_star = require("@swc/helpers/_/_export_star");
6
+ _export_star._(require("./Plasmantine"), exports);
7
7
 
8
8
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/theme/index.ts"],"sourcesContent":["export * from './Plasmantine';\n"],"names":[],"mappings":";;;;;oBAAc"}
1
+ {"version":3,"sources":["../../../src/theme/index.ts"],"sourcesContent":["export * from './Plasmantine';\n"],"names":[],"mappings":";;;;;uBAAc"}
@@ -2,8 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", {
3
3
  value: true
4
4
  });
5
- var _exportStar = require("@swc/helpers/lib/_export_star.js").default;
6
- _exportStar(require("./createPolymorphicComponent"), exports);
7
- _exportStar(require("./overrideComponent"), exports);
5
+ var _export_star = require("@swc/helpers/_/_export_star");
6
+ _export_star._(require("./createPolymorphicComponent"), exports);
7
+ _export_star._(require("./overrideComponent"), exports);
8
8
 
9
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/utils/index.ts"],"sourcesContent":["export * from './createPolymorphicComponent';\nexport * from './overrideComponent';\n"],"names":[],"mappings":";;;;;oBAAc;oBACA"}
1
+ {"version":3,"sources":["../../../src/utils/index.ts"],"sourcesContent":["export * from './createPolymorphicComponent';\nexport * from './overrideComponent';\n"],"names":[],"mappings":";;;;;uBAAc;uBACA"}
@@ -15,13 +15,13 @@ Object.defineProperty(exports, "overrideComponent", {
15
15
  return overrideComponent;
16
16
  }
17
17
  });
18
- var _toConsumableArray = require("@swc/helpers/lib/_to_consumable_array.js").default;
18
+ var _to_consumable_array = require("@swc/helpers/_/_to_consumable_array");
19
19
  var overrideComponent = function(component, properties) {
20
20
  var componentClone = function() {
21
21
  for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
22
22
  args[_key] = arguments[_key];
23
23
  }
24
- return component.apply(void 0, _toConsumableArray(args));
24
+ return component.apply(void 0, _to_consumable_array._(args));
25
25
  };
26
26
  return Object.assign(componentClone, component, properties);
27
27
  };
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/utils/overrideComponent.ts"],"sourcesContent":["/**\n * Allows to override static properties from a component function\n *\n * @param component The component which holds the static properties\n * @param properties The new static properties to assign on the component\n * @returns A new component with the specified properties. It doesn't change the original component\n * @example const Menu = overrideComponent(MantineMenu, {Item: MyMenuItem}); // Menu.Item will equal MyMenuItem\n */\nexport const overrideComponent = <\n Component extends (...args: Parameters<Component>) => ReturnType<Component>,\n StaticProperties = Record<keyof Component, never>\n>(\n component: Component,\n properties: StaticProperties\n): ((...args: Parameters<Component>) => ReturnType<Component>) & Component & StaticProperties => {\n const componentClone = (...args: Parameters<Component>) => component(...args);\n return Object.assign(componentClone, component, properties);\n};\n"],"names":["overrideComponent","component","properties","componentClone","args","Object","assign"],"mappings":"AAAA;;;;;;;CAOC;;;;+BACYA;;;eAAAA;;;;AAAN,IAAMA,oBAAoB,SAI7BC,WACAC,YAC6F;IAC7F,IAAMC,iBAAiB;yCAAIC;YAAAA;;eAAgCH,UAAAA,MAAAA,KAAAA,GAAU,mBAAGG;;IACxE,OAAOC,OAAOC,MAAM,CAACH,gBAAgBF,WAAWC;AACpD"}
1
+ {"version":3,"sources":["../../../src/utils/overrideComponent.ts"],"sourcesContent":["/**\n * Allows to override static properties from a component function\n *\n * @param component The component which holds the static properties\n * @param properties The new static properties to assign on the component\n * @returns A new component with the specified properties. It doesn't change the original component\n * @example const Menu = overrideComponent(MantineMenu, {Item: MyMenuItem}); // Menu.Item will equal MyMenuItem\n */\nexport const overrideComponent = <\n Component extends (...args: Parameters<Component>) => ReturnType<Component>,\n StaticProperties = Record<keyof Component, never>\n>(\n component: Component,\n properties: StaticProperties\n): ((...args: Parameters<Component>) => ReturnType<Component>) & Component & StaticProperties => {\n const componentClone = (...args: Parameters<Component>) => component(...args);\n return Object.assign(componentClone, component, properties);\n};\n"],"names":["overrideComponent","component","properties","componentClone","args","Object","assign"],"mappings":"AAAA;;;;;;;CAOC;;;;+BACYA;;;eAAAA;;;;AAAN,IAAMA,oBAAoB,SAI7BC,WACAC,YAC6F;IAC7F,IAAMC,iBAAiB;yCAAIC;YAAAA;;eAAgCH,UAAAA,MAAAA,KAAAA,GAAU,uBAAGG;;IACxE,OAAOC,OAAOC,MAAM,CAACH,gBAAgBF,WAAWC;AACpD"}
@@ -1 +1 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../src/components/header/Header.tsx"],"names":[],"mappings":"AACA,OAAO,EAAsB,YAAY,EAAoD,MAAM,eAAe,CAAC;AACnH,OAAO,EAAW,iBAAiB,EAAE,YAAY,EAAE,SAAS,EAAC,MAAM,OAAO,CAAC;AAE3E,MAAM,WAAW,WAAY,SAAQ,YAAY;IAC7C;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAC3B;;OAEG;IACH,QAAQ,EAAE,SAAS,CAAC;CACvB;AAED,UAAU,UAAU;IAChB,CAAC,KAAK,EAAE,WAAW,GAAG,YAAY,CAAC;IACnC,WAAW,EAAE,OAAO,iBAAiB,CAAC;IACtC,OAAO,EAAE,OAAO,aAAa,CAAC;IAC9B,SAAS,EAAE,OAAO,eAAe,CAAC;CACrC;AAED,eAAO,MAAM,MAAM,EAAE,UAiCpB,CAAC;AAEF,QAAA,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0D,CAAC;AAEvH,MAAM,WAAW,oBAAoB;IACjC;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,eAAe,EAAE,iBAAiB,CAAC,oBAAoB,CAM5D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/table/Table.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAwC,SAAS,EAAC,MAAM,eAAe,CAAC;AAsB/E,eAAO,MAAM,KAAK,EAAE,SA4LnB,CAAC"}
1
+ {"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/table/Table.tsx"],"names":[],"mappings":"AAiBA,OAAO,EAAwC,SAAS,EAAC,MAAM,eAAe,CAAC;AAsB/E,eAAO,MAAM,KAAK,EAAE,SAkMnB,CAAC"}
@@ -1,5 +1,4 @@
1
1
  interface TableStylesParams {
2
- hasHeader: boolean;
3
2
  multiRowSelectionEnabled: boolean;
4
3
  }
5
4
  declare const useStyles: (params: TableStylesParams, options?: import("@mantine/core").UseStylesOptions<string>) => {
@@ -9,5 +8,12 @@ declare const useStyles: (params: TableStylesParams, options?: import("@mantine/
9
8
  cx: (...args: any) => string;
10
9
  theme: import("@mantine/core").MantineTheme;
11
10
  };
11
+ export declare const TableComponentsOrder: {
12
+ MultiSelectInfo: number;
13
+ Actions: number;
14
+ Predicate: number;
15
+ Filter: number;
16
+ DateRangePicker: number;
17
+ };
12
18
  export default useStyles;
13
19
  //# sourceMappingURL=Table.styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Table.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/table/Table.styles.ts"],"names":[],"mappings":"AAEA,UAAU,iBAAiB;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,wBAAwB,EAAE,OAAO,CAAC;CACrC;AAED,QAAA,MAAM,SAAS;;;;;;CAgDb,CAAC;AAEH,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Table.styles.d.ts","sourceRoot":"","sources":["../../../../src/components/table/Table.styles.ts"],"names":[],"mappings":"AAEA,UAAU,iBAAiB;IACvB,wBAAwB,EAAE,OAAO,CAAC;CACrC;AAED,QAAA,MAAM,SAAS;;;;;;CAyDb,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;CAMhC,CAAC;AAEF,eAAe,SAAS,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TableActions.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TableActions.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAE,SAAS,EAAC,MAAM,OAAO,CAAC;AAI9C,UAAU,iBAAiB,CAAC,CAAC;IACzB;;;;;;;;;;;;;;;;;;OAkBG;IACH,QAAQ,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,SAAS,CAAC,CAAC;CACpE;AAED,eAAO,MAAM,YAAY,6CAA2C,YAenE,CAAC"}
1
+ {"version":3,"file":"TableActions.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TableActions.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAE,SAAS,EAAC,MAAM,OAAO,CAAC;AAK9C,UAAU,iBAAiB,CAAC,CAAC;IACzB;;;;;;;;;;;;;;;;;;OAkBG;IACH,QAAQ,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,SAAS,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,KAAK,SAAS,CAAC,CAAC;CACpE;AAED,eAAO,MAAM,YAAY,6CAA2C,YAiBnE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TableDateRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TableDateRangePicker.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAGlD,OAAO,EAEH,kCAAkC,EAClC,qBAAqB,EAExB,MAAM,sBAAsB,CAAC;AAG9B,UAAU,yBACN,SAAQ,IAAI,CAAC,kCAAkC,EAAE,YAAY,GAAG,UAAU,GAAG,oBAAoB,CAAC;IAClG;;;;;;;;;;OAUG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;CACnD;AAED,eAAO,MAAM,oBAAoB,EAAE,iBAAiB,CAAC,yBAAyB,CAuC7E,CAAC"}
1
+ {"version":3,"file":"TableDateRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TableDateRangePicker.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,iBAAiB,EAAW,MAAM,OAAO,CAAC;AAGlD,OAAO,EAEH,kCAAkC,EAClC,qBAAqB,EAExB,MAAM,sBAAsB,CAAC;AAI9B,UAAU,yBACN,SAAQ,IAAI,CAAC,kCAAkC,EAAE,YAAY,GAAG,UAAU,GAAG,oBAAoB,CAAC;IAClG;;;;;;;;;;OAUG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;CACnD;AAED,eAAO,MAAM,oBAAoB,EAAE,iBAAiB,CAAC,yBAAyB,CAyC7E,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TableFilter.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TableFilter.tsx"],"names":[],"mappings":"AACA,OAAO,EAA2B,YAAY,EAAE,SAAS,EAAY,MAAM,eAAe,CAAC;AAC3F,OAAO,EAAqB,iBAAiB,EAAoB,MAAM,OAAO,CAAC;AAI/E,QAAA,MAAM,SAAS;;;;;;;CAOZ,CAAC;AAEJ,KAAK,sBAAsB,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,CAAC;AAC1D,UAAU,gBAAiB,SAAQ,YAAY,CAAC,sBAAsB,CAAC;IACnE;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,WAAW,EAAE,iBAAiB,CAAC,gBAAgB,CAgD3D,CAAC"}
1
+ {"version":3,"file":"TableFilter.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TableFilter.tsx"],"names":[],"mappings":"AACA,OAAO,EAA2B,YAAY,EAAQ,SAAS,EAAY,MAAM,eAAe,CAAC;AACjG,OAAO,EAAqB,iBAAiB,EAAoB,MAAM,OAAO,CAAC;AAK/E,QAAA,MAAM,SAAS;;;;;;;CAOZ,CAAC;AAEJ,KAAK,sBAAsB,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,CAAC;AAC1D,UAAU,gBAAiB,SAAQ,YAAY,CAAC,sBAAsB,CAAC;IACnE;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,eAAO,MAAM,WAAW,EAAE,iBAAiB,CAAC,gBAAgB,CAkD3D,CAAC"}
@@ -3,6 +3,7 @@ import { FunctionComponent, ReactNode } from 'react';
3
3
  declare const useStyles: (params: void, options?: import("@mantine/core").UseStylesOptions<string>) => {
4
4
  classes: {
5
5
  root: string;
6
+ multiSelectInfo: string;
6
7
  };
7
8
  cx: (...args: any) => string;
8
9
  theme: import("@mantine/core").MantineTheme;
@@ -1 +1 @@
1
- {"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TableHeader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAe,YAAY,EAAS,SAAS,EAAiB,MAAM,eAAe,CAAC;AAC3F,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAC,MAAM,OAAO,CAAC;AAKnD,QAAA,MAAM,SAAS;;;;;;CAQZ,CAAC;AAEJ,KAAK,sBAAsB,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,CAAC;AAC1D,UAAU,gBAAiB,SAAQ,YAAY,CAAC,sBAAsB,CAAC;IAEnE,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AACD,eAAO,MAAM,WAAW,EAAE,iBAAiB,CAAC,gBAAgB,CA8B3D,CAAC"}
1
+ {"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TableHeader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAe,YAAY,EAAQ,SAAS,EAAU,MAAM,eAAe,CAAC;AACnF,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAC,MAAM,OAAO,CAAC;AAMnD,QAAA,MAAM,SAAS;;;;;;;CAUZ,CAAC;AAEJ,KAAK,sBAAsB,GAAG,SAAS,CAAC,OAAO,SAAS,CAAC,CAAC;AAC1D,UAAU,gBAAiB,SAAQ,YAAY,CAAC,sBAAsB,CAAC;IAEnE,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AACD,eAAO,MAAM,WAAW,EAAE,iBAAiB,CAAC,gBAAgB,CAuC3D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"TablePredicate.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TablePredicate.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgB,UAAU,EAAO,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAC;AAIxC,UAAU,mBAAmB;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,cAAc,EAAE,iBAAiB,CAAC,mBAAmB,CAqBjE,CAAC"}
1
+ {"version":3,"file":"TablePredicate.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TablePredicate.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAsB,UAAU,EAAO,MAAM,eAAe,CAAC;AACpE,OAAO,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAC;AAKxC,UAAU,mBAAmB;IACzB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,EAAE,UAAU,EAAE,CAAC;IACnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,cAAc,EAAE,iBAAiB,CAAC,mBAAmB,CAuBjE,CAAC"}
@@ -1,4 +1,4 @@
1
- import _object_spread from "@swc/helpers/src/_object_spread.mjs";
1
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { render } from "@testing-library/react";
4
4
  import userEvent from "@testing-library/user-event";
@@ -1,9 +1,9 @@
1
- import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
2
- import _instanceof from "@swc/helpers/src/_instanceof.mjs";
3
- import _object_spread from "@swc/helpers/src/_object_spread.mjs";
4
- import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs";
5
- import _sliced_to_array from "@swc/helpers/src/_sliced_to_array.mjs";
6
- import _ts_generator from "@swc/helpers/src/_ts_generator.mjs";
1
+ import { _ as _async_to_generator } from "@swc/helpers/_/_async_to_generator";
2
+ import { _ as _instanceof } from "@swc/helpers/_/_instanceof";
3
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
4
+ import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
5
+ import { _ as _sliced_to_array } from "@swc/helpers/_/_sliced_to_array";
6
+ import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
7
7
  import { jsx as _jsx } from "react/jsx-runtime";
8
8
  import { Button as MantineButton } from "@mantine/core";
9
9
  import { forwardRef, useState } from "react";
@@ -1,6 +1,6 @@
1
- import _object_spread from "@swc/helpers/src/_object_spread.mjs";
2
- import _object_spread_props from "@swc/helpers/src/_object_spread_props.mjs";
3
- import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs";
1
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
2
+ import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
3
+ import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
4
4
  import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
5
5
  import { Box, Tooltip } from "@mantine/core";
6
6
  import { forwardRef } from "react";
@@ -1,9 +1,9 @@
1
- import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
2
- import _object_spread from "@swc/helpers/src/_object_spread.mjs";
3
- import _object_spread_props from "@swc/helpers/src/_object_spread_props.mjs";
4
- import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs";
5
- import _sliced_to_array from "@swc/helpers/src/_sliced_to_array.mjs";
6
- import _ts_generator from "@swc/helpers/src/_ts_generator.mjs";
1
+ import { _ as _async_to_generator } from "@swc/helpers/_/_async_to_generator";
2
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
3
+ import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
4
+ import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
5
+ import { _ as _sliced_to_array } from "@swc/helpers/_/_sliced_to_array";
6
+ import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
7
7
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
8
  import { Box, Center, createStyles, Group, Input, Loader, px, Space, Stack, useComponentDefaultProps } from "@mantine/core";
9
9
  import { useUncontrolled } from "@mantine/hooks";
@@ -1,5 +1,5 @@
1
- import _async_to_generator from "@swc/helpers/src/_async_to_generator.mjs";
2
- import _ts_generator from "@swc/helpers/src/_ts_generator.mjs";
1
+ import { _ as _async_to_generator } from "@swc/helpers/_/_async_to_generator";
2
+ import { _ as _ts_generator } from "@swc/helpers/_/_ts_generator";
3
3
  var format = function(xml) {
4
4
  // https://stackoverflow.com/questions/57039218/doesnt-monaco-editor-support-xml-language-by-default
5
5
  var PADDING = " ".repeat(2);
@@ -1,6 +1,6 @@
1
- import _object_spread from "@swc/helpers/src/_object_spread.mjs";
2
- import _object_spread_props from "@swc/helpers/src/_object_spread_props.mjs";
3
- import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs";
1
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
2
+ import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
3
+ import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
4
4
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
5
5
  import { AddSize16Px } from "@coveord/plasma-react-icons";
6
6
  import { Box, Group, Input, Stack, Tooltip, useComponentDefaultProps } from "@mantine/core";
@@ -1,7 +1,7 @@
1
- import _define_property from "@swc/helpers/src/_define_property.mjs";
2
- import _object_spread from "@swc/helpers/src/_object_spread.mjs";
3
- import _object_spread_props from "@swc/helpers/src/_object_spread_props.mjs";
4
- import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs";
1
+ import { _ as _define_property } from "@swc/helpers/_/_define_property";
2
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
3
+ import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
4
+ import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
5
5
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
6
  import { DragAndDropSize16Px, RemoveSize16Px } from "@coveord/plasma-react-icons";
7
7
  import { ActionIcon, Group } from "@mantine/core";
@@ -1,5 +1,5 @@
1
- import _object_spread from "@swc/helpers/src/_object_spread.mjs";
2
- import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs";
1
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
2
+ import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
3
3
  import { jsx as _jsx } from "react/jsx-runtime";
4
4
  import { CheckSize16Px, CopySize16Px } from "@coveord/plasma-react-icons";
5
5
  import { ActionIcon, CopyButton, createStyles, TextInput, Tooltip } from "@mantine/core";
@@ -1,5 +1,5 @@
1
- import _object_spread from "@swc/helpers/src/_object_spread.mjs";
2
- import _object_spread_props from "@swc/helpers/src/_object_spread_props.mjs";
1
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
2
+ import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
3
3
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
4
4
  import { Center, Group, Space } from "@mantine/core";
5
5
  import { DatePicker } from "@mantine/dates";
@@ -1,5 +1,5 @@
1
- import _object_spread from "@swc/helpers/src/_object_spread.mjs";
2
- import _sliced_to_array from "@swc/helpers/src/_sliced_to_array.mjs";
1
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
2
+ import { _ as _sliced_to_array } from "@swc/helpers/_/_sliced_to_array";
3
3
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
4
4
  import { Group, Popover, Space } from "@mantine/core";
5
5
  import { DatePicker } from "@mantine/dates";
@@ -1,6 +1,6 @@
1
- import _object_spread from "@swc/helpers/src/_object_spread.mjs";
2
- import _object_spread_props from "@swc/helpers/src/_object_spread_props.mjs";
3
- import _sliced_to_array from "@swc/helpers/src/_sliced_to_array.mjs";
1
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
2
+ import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
3
+ import { _ as _sliced_to_array } from "@swc/helpers/_/_sliced_to_array";
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
5
  import { Select } from "@mantine/core";
6
6
  import dayjs from "dayjs";
@@ -1,4 +1,4 @@
1
- import _object_spread from "@swc/helpers/src/_object_spread.mjs";
1
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
3
  import { DateInput } from "@mantine/dates";
4
4
  import dayjs from "dayjs";
@@ -1,9 +1,9 @@
1
- import _object_spread from "@swc/helpers/src/_object_spread.mjs";
2
- import _object_spread_props from "@swc/helpers/src/_object_spread_props.mjs";
3
- import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs";
1
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
2
+ import { _ as _object_spread_props } from "@swc/helpers/_/_object_spread_props";
3
+ import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
4
4
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
5
5
  import { QuestionSize16Px } from "@coveord/plasma-react-icons";
6
- import { Anchor, Breadcrumbs, Divider, Flex, Group, Stack, Text, Title, Tooltip } from "@mantine/core";
6
+ import { Anchor, Breadcrumbs, Divider, Group, Stack, Text, Title, Tooltip } from "@mantine/core";
7
7
  import { Children } from "react";
8
8
  export var Header = function(_param) {
9
9
  var description = _param.description, borderBottom = _param.borderBottom, children = _param.children, _param_variant = _param.variant, variant = _param_variant === void 0 ? "page" : _param_variant, others = _object_without_properties(_param, [
@@ -37,14 +37,11 @@ export var Header = function(_param) {
37
37
  spacing: 0,
38
38
  children: [
39
39
  breadcrumbs,
40
- /*#__PURE__*/ _jsxs(Flex, {
41
- align: "center",
40
+ /*#__PURE__*/ _jsxs(Title, {
41
+ order: variant === "page" ? 1 : 3,
42
+ color: variant === "page" ? "gray.5" : undefined,
42
43
  children: [
43
- /*#__PURE__*/ _jsx(Title, {
44
- order: variant === "page" ? 1 : 3,
45
- color: variant === "page" ? "gray.5" : undefined,
46
- children: otherChildren
47
- }),
44
+ otherChildren,
48
45
  docAnchor
49
46
  ]
50
47
  }),
@@ -99,6 +96,9 @@ var HeaderDocAnchor = function(param) {
99
96
  href: docLink,
100
97
  target: "_blank",
101
98
  ml: "xs",
99
+ style: {
100
+ verticalAlign: "middle"
101
+ },
102
102
  children: /*#__PURE__*/ _jsx(QuestionSize16Px, {
103
103
  height: 16
104
104
  })
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../src/components/header/Header.tsx"],"sourcesContent":["import {QuestionSize16Px} from '@coveord/plasma-react-icons';\nimport {Anchor, Breadcrumbs, DefaultProps, Divider, Flex, Group, Stack, Text, Title, Tooltip} from '@mantine/core';\nimport {Children, FunctionComponent, ReactElement, ReactNode} from 'react';\n\nexport interface HeaderProps extends DefaultProps {\n /**\n * The description text displayed inside the header underneath the title\n */\n description?: ReactNode;\n /**\n * Whether the header should have a border on the bottom\n */\n borderBottom?: boolean;\n /**\n * Use the modal variant when displaying the header inside a modal\n *\n * @default 'page'\n */\n variant?: 'page' | 'modal';\n /**\n * The title of the header.\n */\n children: ReactNode;\n}\n\ninterface HeaderType {\n (props: HeaderProps): ReactElement;\n Breadcrumbs: typeof HeaderBreadcrumbs;\n Actions: typeof HeaderActions;\n DocAnchor: typeof HeaderDocAnchor;\n}\n\nexport const Header: HeaderType = ({description, borderBottom, children, variant = 'page', ...others}) => {\n const convertedChildren = Children.toArray(children) as ReactElement[];\n const breadcrumbs = convertedChildren.find((child) => child.type === HeaderBreadcrumbs);\n const actions = convertedChildren.find((child) => child.type === HeaderActions);\n const docAnchor = convertedChildren.find((child) => child.type === HeaderDocAnchor);\n const otherChildren = convertedChildren.filter(\n (child) => child.type !== HeaderBreadcrumbs && child.type !== HeaderActions && child.type !== HeaderDocAnchor\n );\n return (\n <>\n <Group\n position=\"apart\"\n p={variant === 'page' ? 'xl' : undefined}\n pb={variant === 'page' ? 'lg' : undefined}\n {...others}\n >\n <Stack spacing={0}>\n {breadcrumbs}\n <Flex align=\"center\">\n <Title order={variant === 'page' ? 1 : 3} color={variant === 'page' ? 'gray.5' : undefined}>\n {otherChildren}\n </Title>\n {docAnchor}\n </Flex>\n <Text size={variant === 'page' ? 'md' : 'sm'} color=\"gray.6\">\n {description}\n </Text>\n </Stack>\n {actions}\n </Group>\n {borderBottom ? <Divider size=\"xs\" /> : null}\n </>\n );\n};\n\nconst HeaderBreadcrumbs: FunctionComponent<{children: ReactNode}> = ({children}) => (\n <Breadcrumbs\n styles={(theme) => ({\n breadcrumb: {fontSize: theme.fontSizes.sm, fontWeight: 300},\n separator: {color: theme.colors.gray[5]},\n })}\n >\n {children}\n </Breadcrumbs>\n);\n\nconst HeaderActions: FunctionComponent<{children: ReactNode}> = ({children}) => <Group spacing=\"sm\">{children}</Group>;\n\nexport interface HeaderDocAnchorProps {\n /**\n * A href pointing to documentation related to the current panel.\n * When provided, an info icon is rendered next to the title as link to this documentation\n */\n href: string;\n /**\n * The tooltip text shown when hovering over the doc link icon\n */\n label?: string;\n}\n\nconst HeaderDocAnchor: FunctionComponent<HeaderDocAnchorProps> = ({href: docLink, label: docLinkTooltipLabel}) => (\n <Tooltip label={docLinkTooltipLabel} disabled={!docLinkTooltipLabel} position=\"right\">\n <Anchor inline href={docLink} target=\"_blank\" ml=\"xs\">\n <QuestionSize16Px height={16} />\n </Anchor>\n </Tooltip>\n);\n\nHeader.Breadcrumbs = HeaderBreadcrumbs;\nHeader.Actions = HeaderActions;\nHeader.DocAnchor = HeaderDocAnchor;\n"],"names":["QuestionSize16Px","Anchor","Breadcrumbs","Divider","Flex","Group","Stack","Text","Title","Tooltip","Children","Header","description","borderBottom","children","variant","others","convertedChildren","toArray","breadcrumbs","find","child","type","HeaderBreadcrumbs","actions","HeaderActions","docAnchor","HeaderDocAnchor","otherChildren","filter","position","p","undefined","pb","spacing","align","order","color","size","styles","theme","breadcrumb","fontSize","fontSizes","sm","fontWeight","separator","colors","gray","href","docLink","label","docLinkTooltipLabel","disabled","inline","target","ml","height","Actions","DocAnchor"],"mappings":";;;;AAAA,SAAQA,gBAAgB,QAAO,8BAA8B;AAC7D,SAAQC,MAAM,EAAEC,WAAW,EAAgBC,OAAO,EAAEC,IAAI,EAAEC,KAAK,EAAEC,KAAK,EAAEC,IAAI,EAAEC,KAAK,EAAEC,OAAO,QAAO,gBAAgB;AACnH,SAAQC,QAAQ,QAAmD,QAAQ;AA8B3E,OAAO,IAAMC,SAAqB,iBAAwE;QAAtEC,qBAAAA,aAAaC,sBAAAA,cAAcC,kBAAAA,kCAAUC,SAAAA,sCAAU,yBAAWC;QAA1DJ;QAAaC;QAAcC;QAAUC;;IACrE,IAAME,oBAAoBP,SAASQ,OAAO,CAACJ;IAC3C,IAAMK,cAAcF,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D;yBAC9E,KAAC1C;QAAQ0C,OAAOC;QAAqBC,UAAU,CAACD;QAAqBtB,UAAS;kBAC1E,cAAA,KAAC7B;YAAOqD,MAAM;YAACL,MAAMC;YAASK,QAAO;YAASC,IAAG;sBAC7C,cAAA,KAACxD;gBAAiByD,QAAQ;;;;;AAKtC9C,OAAOT,WAAW,GAAGqB;AACrBZ,OAAO+C,OAAO,GAAGjC;AACjBd,OAAOgD,SAAS,GAAGhC"}
1
+ {"version":3,"sources":["../../../../src/components/header/Header.tsx"],"sourcesContent":["import {QuestionSize16Px} from '@coveord/plasma-react-icons';\nimport {Anchor, Breadcrumbs, DefaultProps, Divider, Group, Stack, Text, Title, Tooltip} from '@mantine/core';\nimport {Children, FunctionComponent, ReactElement, ReactNode} from 'react';\n\nexport interface HeaderProps extends DefaultProps {\n /**\n * The description text displayed inside the header underneath the title\n */\n description?: ReactNode;\n /**\n * Whether the header should have a border on the bottom\n */\n borderBottom?: boolean;\n /**\n * Use the modal variant when displaying the header inside a modal\n *\n * @default 'page'\n */\n variant?: 'page' | 'modal';\n /**\n * The title of the header.\n */\n children: ReactNode;\n}\n\ninterface HeaderType {\n (props: HeaderProps): ReactElement;\n Breadcrumbs: typeof HeaderBreadcrumbs;\n Actions: typeof HeaderActions;\n DocAnchor: typeof HeaderDocAnchor;\n}\n\nexport const Header: HeaderType = ({description, borderBottom, children, variant = 'page', ...others}) => {\n const convertedChildren = Children.toArray(children) as ReactElement[];\n const breadcrumbs = convertedChildren.find((child) => child.type === HeaderBreadcrumbs);\n const actions = convertedChildren.find((child) => child.type === HeaderActions);\n const docAnchor = convertedChildren.find((child) => child.type === HeaderDocAnchor);\n const otherChildren = convertedChildren.filter(\n (child) => child.type !== HeaderBreadcrumbs && child.type !== HeaderActions && child.type !== HeaderDocAnchor\n );\n return (\n <>\n <Group\n position=\"apart\"\n p={variant === 'page' ? 'xl' : undefined}\n pb={variant === 'page' ? 'lg' : undefined}\n {...others}\n >\n <Stack spacing={0}>\n {breadcrumbs}\n <Title order={variant === 'page' ? 1 : 3} color={variant === 'page' ? 'gray.5' : undefined}>\n {otherChildren}\n {docAnchor}\n </Title>\n <Text size={variant === 'page' ? 'md' : 'sm'} color=\"gray.6\">\n {description}\n </Text>\n </Stack>\n {actions}\n </Group>\n {borderBottom ? <Divider size=\"xs\" /> : null}\n </>\n );\n};\n\nconst HeaderBreadcrumbs: FunctionComponent<{children: ReactNode}> = ({children}) => (\n <Breadcrumbs\n styles={(theme) => ({\n breadcrumb: {fontSize: theme.fontSizes.sm, fontWeight: 300},\n separator: {color: theme.colors.gray[5]},\n })}\n >\n {children}\n </Breadcrumbs>\n);\n\nconst HeaderActions: FunctionComponent<{children: ReactNode}> = ({children}) => <Group spacing=\"sm\">{children}</Group>;\n\nexport interface HeaderDocAnchorProps {\n /**\n * A href pointing to documentation related to the current panel.\n * When provided, an info icon is rendered next to the title as link to this documentation\n */\n href: string;\n /**\n * The tooltip text shown when hovering over the doc link icon\n */\n label?: string;\n}\n\nconst HeaderDocAnchor: FunctionComponent<HeaderDocAnchorProps> = ({href: docLink, label: docLinkTooltipLabel}) => (\n <Tooltip label={docLinkTooltipLabel} disabled={!docLinkTooltipLabel} position=\"right\">\n <Anchor inline href={docLink} target=\"_blank\" ml=\"xs\" style={{verticalAlign: 'middle'}}>\n <QuestionSize16Px height={16} />\n </Anchor>\n </Tooltip>\n);\n\nHeader.Breadcrumbs = HeaderBreadcrumbs;\nHeader.Actions = HeaderActions;\nHeader.DocAnchor = HeaderDocAnchor;\n"],"names":["QuestionSize16Px","Anchor","Breadcrumbs","Divider","Group","Stack","Text","Title","Tooltip","Children","Header","description","borderBottom","children","variant","others","convertedChildren","toArray","breadcrumbs","find","child","type","HeaderBreadcrumbs","actions","HeaderActions","docAnchor","HeaderDocAnchor","otherChildren","filter","position","p","undefined","pb","spacing","order","color","size","styles","theme","breadcrumb","fontSize","fontSizes","sm","fontWeight","separator","colors","gray","href","docLink","label","docLinkTooltipLabel","disabled","inline","target","ml","style","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AU,IAAI;;;AAGxD,EAAE;AAEF,IAAMd,oBAA8D;QAAET,iBAAAA;yBAClE,KAACX;QACGmC,QAAQ,SAACC;mBAAW;gBAChBC,YAAY;oBAACC,UAAUF,MAAMG,SAAS,CAACC,EAAE;oBAAEC,YAAY;gBAAG;gBAC1DC,WAAW;oBAACT,OAAOG,MAAMO,MAAM,CAACC,IAAI,CAAC,EAAE;gBAAA;YAC3C;;kBAECjC;;;AAIT,IAAMW,gBAA0D;QAAEX,iBAAAA;yBAAc,KAACT;QAAM6B,SAAQ;kBAAMpB;;;AAcrG,IAAMa,kBAA2D;QAAEqB,AAAMC,gBAAND,MAAeE,AAAOC,4BAAPD;yBAC9E,KAACzC;QAAQyC,OAAOC;QAAqBC,UAAU,CAACD;QAAqBrB,UAAS;kBAC1E,cAAA,KAAC5B;YAAOmD,MAAM;YAACL,MAAMC;YAASK,QAAO;YAASC,IAAG;YAAKC,OAAO;gBAACC,eAAe;YAAQ;sBACjF,cAAA,KAACxD;gBAAiByD,QAAQ;;;;;AAKtC/C,OAAOR,WAAW,GAAGoB;AACrBZ,OAAOgD,OAAO,GAAGlC;AACjBd,OAAOiD,SAAS,GAAGjC"}
@@ -37,15 +37,11 @@ exports[`Header > renders the specified breadcrumbs above the title 1`] = `
37
37
  Three
38
38
  </a>
39
39
  </div>
40
- <div
41
- class="mantine-xg7kom"
40
+ <h1
41
+ class="mantine-Text-root mantine-Title-root mantine-d1yoif"
42
42
  >
43
- <h1
44
- class="mantine-Text-root mantine-Title-root mantine-d1yoif"
45
- >
46
- Title
47
- </h1>
48
- </div>
43
+ Title
44
+ </h1>
49
45
  <div
50
46
  class="mantine-Text-root mantine-1w25z6f"
51
47
  />
@@ -1,4 +1,4 @@
1
- import _sliced_to_array from "@swc/helpers/src/_sliced_to_array.mjs";
1
+ import { _ as _sliced_to_array } from "@swc/helpers/_/_sliced_to_array";
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { Children, useState } from "react";
4
4
  import { InlineConfirmButton } from "./InlineConfirmButton";
@@ -1,5 +1,5 @@
1
- import _object_spread from "@swc/helpers/src/_object_spread.mjs";
2
- import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs";
1
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
2
+ import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
3
3
  import { jsx as _jsx } from "react/jsx-runtime";
4
4
  import { Button } from "@mantine/core";
5
5
  import { forwardRef } from "react";
@@ -1,5 +1,5 @@
1
- import _object_spread from "@swc/helpers/src/_object_spread.mjs";
2
- import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs";
1
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
2
+ import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
3
3
  import { jsx as _jsx } from "react/jsx-runtime";
4
4
  import { forwardRef } from "react";
5
5
  import { Menu } from "../menu";
@@ -1,5 +1,5 @@
1
- import _object_spread from "@swc/helpers/src/_object_spread.mjs";
2
- import _object_without_properties from "@swc/helpers/src/_object_without_properties.mjs";
1
+ import { _ as _object_spread } from "@swc/helpers/_/_object_spread";
2
+ import { _ as _object_without_properties } from "@swc/helpers/_/_object_without_properties";
3
3
  import { jsx as _jsx } from "react/jsx-runtime";
4
4
  import { Menu as MantineMenu } from "@mantine/core";
5
5
  import { forwardRef } from "react";