@coveord/plasma-mantine 55.7.2-next.0 → 55.7.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 (217) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/.turbo/turbo-test.log +51 -55
  3. package/dist/.tsbuildinfo +1 -1
  4. package/dist/cjs/components/browser-preview/BrowserPreview.d.ts.map +1 -1
  5. package/dist/cjs/components/browser-preview/BrowserPreview.module.css +1 -1
  6. package/dist/cjs/components/button/Button.d.ts +0 -5
  7. package/dist/cjs/components/button/Button.d.ts.map +1 -1
  8. package/dist/cjs/components/button/Button.js +3 -40
  9. package/dist/cjs/components/button/Button.js.map +1 -1
  10. package/dist/cjs/components/code-editor/CodeEditor.d.ts.map +1 -1
  11. package/dist/cjs/components/code-editor/CodeEditor.js +30 -13
  12. package/dist/cjs/components/code-editor/CodeEditor.js.map +1 -1
  13. package/dist/cjs/components/collection/enhanceWithCollectionProps.d.ts.map +1 -1
  14. package/dist/cjs/components/date-range-picker/DateRangePickerInlineCalendar.d.ts.map +1 -1
  15. package/dist/cjs/components/date-range-picker/DateRangePickerPopoverCalendar.d.ts.map +1 -1
  16. package/dist/cjs/components/date-range-picker/DateRangePickerPresetSelect.d.ts.map +1 -1
  17. package/dist/cjs/components/date-range-picker/EditableDateRangePicker.d.ts.map +1 -1
  18. package/dist/cjs/components/header/Header.module.css +7 -2
  19. package/dist/cjs/components/index.d.ts +0 -2
  20. package/dist/cjs/components/index.d.ts.map +1 -1
  21. package/dist/cjs/components/index.js +0 -2
  22. package/dist/cjs/components/index.js.map +1 -1
  23. package/dist/cjs/components/prompt/Prompt.js +1 -1
  24. package/dist/cjs/components/prompt/Prompt.js.map +1 -1
  25. package/dist/cjs/components/prompt/Prompt.module.css +15 -4
  26. package/dist/cjs/components/prompt/PromptConfirmButton.js +4 -4
  27. package/dist/cjs/components/prompt/PromptConfirmButton.js.map +1 -1
  28. package/dist/cjs/components/read-only/ReadOnlyInputStyles.d.ts.map +1 -1
  29. package/dist/cjs/components/sticky-footer/StickyFooter.module.css +3 -3
  30. package/dist/cjs/components/table/use-table.d.ts.map +1 -1
  31. package/dist/cjs/components/table/use-url-synced-state.d.ts.map +1 -1
  32. package/dist/cjs/hooks/useClickWithLoading.d.ts.map +1 -1
  33. package/dist/cjs/hooks/useControlledList.d.ts.map +1 -1
  34. package/dist/cjs/styles/ActionIcon.module.css +6 -0
  35. package/dist/cjs/styles/Alert.module.css +26 -1
  36. package/dist/cjs/styles/Anchor.module.css +6 -0
  37. package/dist/cjs/styles/AppShellNavBar.module.css +3 -0
  38. package/dist/cjs/styles/Badge.module.css +2 -0
  39. package/dist/cjs/styles/Checkbox.module.css +17 -0
  40. package/dist/cjs/styles/Combobox.module.css +2 -3
  41. package/dist/cjs/styles/DatePicker.module.css +3 -0
  42. package/dist/cjs/styles/Input.module.css +3 -0
  43. package/dist/cjs/styles/InputWrapper.module.css +9 -0
  44. package/dist/cjs/styles/Modal.module.css +62 -0
  45. package/dist/cjs/styles/NavLink.module.css +18 -0
  46. package/dist/cjs/styles/Notification.module.css +20 -0
  47. package/dist/cjs/styles/Pagination.module.css +30 -0
  48. package/dist/cjs/styles/Radio.module.css +6 -0
  49. package/dist/cjs/styles/ReadOnlyInput.module.css +3 -3
  50. package/dist/cjs/styles/SegmentedControl.module.css +32 -0
  51. package/dist/cjs/styles/Select.module.css +39 -0
  52. package/dist/cjs/styles/Stepper.module.css +66 -0
  53. package/dist/cjs/styles/Tabs.module.css +4 -0
  54. package/dist/cjs/theme/PlasmaColors.d.ts +7 -11
  55. package/dist/cjs/theme/PlasmaColors.d.ts.map +1 -1
  56. package/dist/cjs/theme/PlasmaColors.js +19 -144
  57. package/dist/cjs/theme/PlasmaColors.js.map +1 -1
  58. package/dist/cjs/theme/Theme.d.ts.map +1 -1
  59. package/dist/cjs/theme/Theme.js +115 -43
  60. package/dist/cjs/theme/Theme.js.map +1 -1
  61. package/dist/cjs/theme/mergeCSSVariablesResolvers.d.ts.map +1 -1
  62. package/dist/cjs/theme/plasmaCSSVariablesResolver.d.ts.map +1 -1
  63. package/dist/cjs/theme/plasmaCSSVariablesResolver.js +5 -1
  64. package/dist/cjs/theme/plasmaCSSVariablesResolver.js.map +1 -1
  65. package/dist/cjs/utils/createFactoryComponent.d.ts.map +1 -1
  66. package/dist/cjs/utils/overrideComponent.d.ts.map +1 -1
  67. package/dist/cjs/vars/Notification.vars.d.ts +3 -0
  68. package/dist/cjs/vars/Notification.vars.d.ts.map +1 -0
  69. package/dist/cjs/vars/Notification.vars.js +44 -0
  70. package/dist/cjs/vars/Notification.vars.js.map +1 -0
  71. package/dist/cjs/vars/Text.vars.d.ts +3 -0
  72. package/dist/cjs/vars/Text.vars.d.ts.map +1 -0
  73. package/dist/cjs/vars/Text.vars.js +25 -0
  74. package/dist/cjs/vars/Text.vars.js.map +1 -0
  75. package/dist/esm/components/browser-preview/BrowserPreview.d.ts.map +1 -1
  76. package/dist/esm/components/browser-preview/BrowserPreview.module.css +1 -1
  77. package/dist/esm/components/button/Button.d.ts +0 -5
  78. package/dist/esm/components/button/Button.d.ts.map +1 -1
  79. package/dist/esm/components/button/Button.js +0 -17
  80. package/dist/esm/components/button/Button.js.map +1 -1
  81. package/dist/esm/components/code-editor/CodeEditor.d.ts.map +1 -1
  82. package/dist/esm/components/code-editor/CodeEditor.js +10 -2
  83. package/dist/esm/components/code-editor/CodeEditor.js.map +1 -1
  84. package/dist/esm/components/collection/enhanceWithCollectionProps.d.ts.map +1 -1
  85. package/dist/esm/components/date-range-picker/DateRangePickerInlineCalendar.d.ts.map +1 -1
  86. package/dist/esm/components/date-range-picker/DateRangePickerPopoverCalendar.d.ts.map +1 -1
  87. package/dist/esm/components/date-range-picker/DateRangePickerPresetSelect.d.ts.map +1 -1
  88. package/dist/esm/components/date-range-picker/EditableDateRangePicker.d.ts.map +1 -1
  89. package/dist/esm/components/header/Header.module.css +7 -2
  90. package/dist/esm/components/index.d.ts +0 -2
  91. package/dist/esm/components/index.d.ts.map +1 -1
  92. package/dist/esm/components/index.js +0 -2
  93. package/dist/esm/components/index.js.map +1 -1
  94. package/dist/esm/components/prompt/Prompt.js +1 -1
  95. package/dist/esm/components/prompt/Prompt.js.map +1 -1
  96. package/dist/esm/components/prompt/Prompt.module.css +15 -4
  97. package/dist/esm/components/prompt/PromptConfirmButton.js +4 -4
  98. package/dist/esm/components/prompt/PromptConfirmButton.js.map +1 -1
  99. package/dist/esm/components/read-only/ReadOnlyInputStyles.d.ts.map +1 -1
  100. package/dist/esm/components/sticky-footer/StickyFooter.module.css +3 -3
  101. package/dist/esm/components/table/use-table.d.ts.map +1 -1
  102. package/dist/esm/components/table/use-url-synced-state.d.ts.map +1 -1
  103. package/dist/esm/hooks/useClickWithLoading.d.ts.map +1 -1
  104. package/dist/esm/hooks/useControlledList.d.ts.map +1 -1
  105. package/dist/esm/styles/ActionIcon.module.css +6 -0
  106. package/dist/esm/styles/Alert.module.css +26 -1
  107. package/dist/esm/styles/Anchor.module.css +6 -0
  108. package/dist/esm/styles/AppShellNavBar.module.css +3 -0
  109. package/dist/esm/styles/Badge.module.css +2 -0
  110. package/dist/esm/styles/Checkbox.module.css +17 -0
  111. package/dist/esm/styles/Combobox.module.css +2 -3
  112. package/dist/esm/styles/DatePicker.module.css +3 -0
  113. package/dist/esm/styles/Input.module.css +3 -0
  114. package/dist/esm/styles/InputWrapper.module.css +9 -0
  115. package/dist/esm/styles/Modal.module.css +62 -0
  116. package/dist/esm/styles/NavLink.module.css +18 -0
  117. package/dist/esm/styles/Notification.module.css +20 -0
  118. package/dist/esm/styles/Pagination.module.css +30 -0
  119. package/dist/esm/styles/Radio.module.css +6 -0
  120. package/dist/esm/styles/ReadOnlyInput.module.css +3 -3
  121. package/dist/esm/styles/SegmentedControl.module.css +32 -0
  122. package/dist/esm/styles/Select.module.css +39 -0
  123. package/dist/esm/styles/Stepper.module.css +66 -0
  124. package/dist/esm/styles/Tabs.module.css +4 -0
  125. package/dist/esm/theme/PlasmaColors.d.ts +7 -11
  126. package/dist/esm/theme/PlasmaColors.d.ts.map +1 -1
  127. package/dist/esm/theme/PlasmaColors.js +19 -144
  128. package/dist/esm/theme/PlasmaColors.js.map +1 -1
  129. package/dist/esm/theme/Theme.d.ts.map +1 -1
  130. package/dist/esm/theme/Theme.js +114 -44
  131. package/dist/esm/theme/Theme.js.map +1 -1
  132. package/dist/esm/theme/mergeCSSVariablesResolvers.d.ts.map +1 -1
  133. package/dist/esm/theme/plasmaCSSVariablesResolver.d.ts.map +1 -1
  134. package/dist/esm/theme/plasmaCSSVariablesResolver.js +5 -1
  135. package/dist/esm/theme/plasmaCSSVariablesResolver.js.map +1 -1
  136. package/dist/esm/utils/createFactoryComponent.d.ts.map +1 -1
  137. package/dist/esm/utils/overrideComponent.d.ts.map +1 -1
  138. package/dist/esm/vars/Notification.vars.d.ts +3 -0
  139. package/dist/esm/vars/Notification.vars.d.ts.map +1 -0
  140. package/dist/esm/vars/Notification.vars.js +34 -0
  141. package/dist/esm/vars/Notification.vars.js.map +1 -0
  142. package/dist/esm/vars/Text.vars.d.ts +3 -0
  143. package/dist/esm/vars/Text.vars.d.ts.map +1 -0
  144. package/dist/esm/vars/Text.vars.js +15 -0
  145. package/dist/esm/vars/Text.vars.js.map +1 -0
  146. package/package.json +21 -21
  147. package/src/components/browser-preview/BrowserPreview.module.css +1 -1
  148. package/src/components/button/Button.tsx +0 -6
  149. package/src/components/code-editor/CodeEditor.tsx +12 -5
  150. package/src/components/header/Header.module.css +7 -2
  151. package/src/components/index.ts +0 -2
  152. package/src/components/prompt/Prompt.module.css +15 -4
  153. package/src/components/prompt/Prompt.tsx +1 -1
  154. package/src/components/prompt/PromptConfirmButton.tsx +4 -4
  155. package/src/components/sticky-footer/StickyFooter.module.css +3 -3
  156. package/src/styles/ActionIcon.module.css +6 -0
  157. package/src/styles/Alert.module.css +26 -1
  158. package/src/styles/Anchor.module.css +6 -0
  159. package/src/styles/AppShellNavBar.module.css +3 -0
  160. package/src/styles/Badge.module.css +2 -0
  161. package/src/styles/Checkbox.module.css +17 -0
  162. package/src/styles/Combobox.module.css +2 -3
  163. package/src/styles/DatePicker.module.css +3 -0
  164. package/src/styles/Input.module.css +3 -0
  165. package/src/styles/InputWrapper.module.css +9 -0
  166. package/src/styles/Modal.module.css +62 -0
  167. package/src/styles/NavLink.module.css +18 -0
  168. package/src/styles/Notification.module.css +20 -0
  169. package/src/styles/Pagination.module.css +30 -0
  170. package/src/styles/Radio.module.css +6 -0
  171. package/src/styles/ReadOnlyInput.module.css +3 -3
  172. package/src/styles/SegmentedControl.module.css +32 -0
  173. package/src/styles/Select.module.css +39 -0
  174. package/src/styles/Stepper.module.css +66 -0
  175. package/src/styles/Tabs.module.css +4 -0
  176. package/src/theme/PlasmaColors.ts +19 -144
  177. package/src/theme/Theme.tsx +86 -37
  178. package/src/theme/__tests__/plasmaCSSVariablesResolver.spec.ts +46 -3
  179. package/src/theme/plasmaCSSVariablesResolver.ts +5 -2
  180. package/src/vars/Notification.vars.ts +14 -0
  181. package/src/vars/Text.vars.ts +8 -0
  182. package/dist/cjs/components/alert/Alert.d.ts +0 -17
  183. package/dist/cjs/components/alert/Alert.d.ts.map +0 -1
  184. package/dist/cjs/components/alert/Alert.js +0 -53
  185. package/dist/cjs/components/alert/Alert.js.map +0 -1
  186. package/dist/cjs/components/alert/index.d.ts +0 -2
  187. package/dist/cjs/components/alert/index.d.ts.map +0 -1
  188. package/dist/cjs/components/alert/index.js +0 -8
  189. package/dist/cjs/components/alert/index.js.map +0 -1
  190. package/dist/cjs/components/badge/Badge.d.ts +0 -8
  191. package/dist/cjs/components/badge/Badge.d.ts.map +0 -1
  192. package/dist/cjs/components/badge/Badge.js +0 -60
  193. package/dist/cjs/components/badge/Badge.js.map +0 -1
  194. package/dist/cjs/components/badge/index.d.ts +0 -2
  195. package/dist/cjs/components/badge/index.d.ts.map +0 -1
  196. package/dist/cjs/components/badge/index.js +0 -8
  197. package/dist/cjs/components/badge/index.js.map +0 -1
  198. package/dist/esm/components/alert/Alert.d.ts +0 -17
  199. package/dist/esm/components/alert/Alert.d.ts.map +0 -1
  200. package/dist/esm/components/alert/Alert.js +0 -29
  201. package/dist/esm/components/alert/Alert.js.map +0 -1
  202. package/dist/esm/components/alert/index.d.ts +0 -2
  203. package/dist/esm/components/alert/index.d.ts.map +0 -1
  204. package/dist/esm/components/alert/index.js +0 -3
  205. package/dist/esm/components/alert/index.js.map +0 -1
  206. package/dist/esm/components/badge/Badge.d.ts +0 -8
  207. package/dist/esm/components/badge/Badge.d.ts.map +0 -1
  208. package/dist/esm/components/badge/Badge.js +0 -27
  209. package/dist/esm/components/badge/Badge.js.map +0 -1
  210. package/dist/esm/components/badge/index.d.ts +0 -2
  211. package/dist/esm/components/badge/index.d.ts.map +0 -1
  212. package/dist/esm/components/badge/index.js +0 -3
  213. package/dist/esm/components/badge/index.js.map +0 -1
  214. package/src/components/alert/Alert.tsx +0 -7
  215. package/src/components/alert/index.ts +0 -1
  216. package/src/components/badge/Badge.tsx +0 -10
  217. package/src/components/badge/index.ts +0 -1
@@ -56,9 +56,3 @@ export const Button = polymorphicFactory<ButtonOverloadFactory>(
56
56
  },
57
57
  );
58
58
  Button.Group = MantineButton.Group;
59
-
60
- export const ButtonPrimary = Button.withProps({variant: 'filled'});
61
- export const ButtonSecondary = Button.withProps({variant: 'light'});
62
- export const ButtonTertiary = Button.withProps({variant: 'subtle'});
63
- export const ButtonDestructive = Button.withProps({variant: 'filled', color: 'var(--mantine-color-error)'});
64
- export const ButtonDestructiveSecondary = Button.withProps({variant: 'light', color: 'var(--mantine-color-error)'});
@@ -15,7 +15,7 @@ import {
15
15
  } from '@mantine/core';
16
16
  import {useUncontrolled} from '@mantine/hooks';
17
17
  import Editor, {Monaco, loader} from '@monaco-editor/react';
18
- import {editor as monacoEditor} from 'monaco-editor';
18
+ import {editor as monacoEditor, MarkerSeverity} from 'monaco-editor';
19
19
  import {FunctionComponent, useEffect, useRef, useState} from 'react';
20
20
 
21
21
  import cx from 'clsx';
@@ -159,6 +159,10 @@ export const CodeEditor: FunctionComponent<CodeEditorProps> = (props) => {
159
159
  };
160
160
 
161
161
  const [hasMonacoError, setHasMonacoError] = useState(false);
162
+ const hasMonacoErrorRef = useRef(false);
163
+
164
+ hasMonacoErrorRef.current = hasMonacoError;
165
+
162
166
  const renderErrorOutline = !!error || hasMonacoError;
163
167
  const theme = useMantineTheme();
164
168
  const {colorScheme} = useMantineColorScheme();
@@ -172,9 +176,7 @@ export const CodeEditor: FunctionComponent<CodeEditorProps> = (props) => {
172
176
  }, []);
173
177
 
174
178
  const handleValidate = (markers: monacoEditor.IMarker[]) => {
175
- setHasMonacoError(
176
- markers.some((marker) => marker.severity === loader.__getMonacoInstance().MarkerSeverity.Error),
177
- );
179
+ setHasMonacoError(markers.some((marker) => marker.severity === MarkerSeverity.Error));
178
180
  };
179
181
 
180
182
  const _label = label ? (
@@ -247,7 +249,12 @@ export const CodeEditor: FunctionComponent<CodeEditorProps> = (props) => {
247
249
  registerThemes(monaco);
248
250
  editor.onDidFocusEditorText(() => onFocus?.());
249
251
  editor.onDidBlurEditorText(async () => {
250
- await editor.getAction('editor.action.formatDocument').run();
252
+ // monaco editor has a timeout of 500ms populating errors, we want to ensure that checking errors happen after that
253
+ setTimeout(async () => {
254
+ if (!hasMonacoErrorRef.current) {
255
+ await editor.getAction('editor.action.formatDocument').run();
256
+ }
257
+ }, 550);
251
258
  });
252
259
  }}
253
260
  />
@@ -5,13 +5,18 @@
5
5
  }
6
6
 
7
7
  & .description {
8
- color: var(--mantine-color-dimmed);
8
+ color: var(--mantine-color-gray-6);
9
9
  font-weight: 300;
10
10
  }
11
11
  }
12
12
 
13
13
  .title {
14
14
  word-break: break-word;
15
+
16
+ &[data-variant='primary'] {
17
+ color: var(--mantine-color-gray-5);
18
+ }
19
+
15
20
  line-height: var(--mantine-line-height-md);
16
21
  }
17
22
 
@@ -26,5 +31,5 @@
26
31
  }
27
32
 
28
33
  .breadcrumbsSeparator {
29
- color: var(--mantine-color-dimmed);
34
+ color: var(--mantine-color-gray-5);
30
35
  }
@@ -1,6 +1,4 @@
1
1
  export * from './action-icon';
2
- export * from './alert';
3
- export * from './badge';
4
2
  export * from './blank-slate';
5
3
  export * from './browser-preview';
6
4
  export * from './button';
@@ -1,9 +1,14 @@
1
1
  .root {
2
- --prompt-icon-size: 68px;
2
+ --prompt-icon-size: 88px;
3
+
4
+ .header {
5
+ border-bottom: none;
6
+ align-items: center;
7
+ }
3
8
 
4
9
  .body {
5
10
  padding: 0 var(--mantine-spacing-lg) var(--mantine-spacing-lg)
6
- calc(var(--prompt-icon-size) + var(--mantine-spacing-md) + var(--mantine-spacing-lg));
11
+ calc(var(--prompt-icon-size) + (2 * var(--mantine-spacing-lg)));
7
12
  }
8
13
  }
9
14
 
@@ -13,12 +18,18 @@
13
18
  }
14
19
 
15
20
  .header {
16
- gap: var(--mantine-spacing-md);
21
+ gap: var(--mantine-spacing-lg);
17
22
  width: 100%;
23
+ font-size: var(--mantine-h3-font-size);
24
+ line-height: var(--mantine-h3-line-height);
18
25
  overflow-wrap: anywhere;
19
26
  padding: var(--mantine-spacing-lg) var(--mantine-spacing-md) var(--mantine-spacing-xs) var(--mantine-spacing-lg);
20
27
  }
21
28
 
29
+ .close {
30
+ align-self: flex-start;
31
+ }
32
+
22
33
  .inner {
23
- color: var(--mantine-color-dimmed);
34
+ color: var(--mantine-color-gray-7);
24
35
  }
@@ -100,7 +100,7 @@ export const Prompt = factory<PromptFactory>((_props, ref) => {
100
100
 
101
101
  return (
102
102
  <PromptContextProvider value={{variant, getStyles}}>
103
- <Modal.Root ref={ref} variant="prompt" size="lg" {...others} {...getStyles('root')}>
103
+ <Modal.Root ref={ref} variant="prompt" size="sm" {...others} {...getStyles('root')}>
104
104
  <Modal.Overlay {...getStyles('overlay', stylesApiProps)} />
105
105
  <Modal.Content {...getStyles('content', stylesApiProps)}>
106
106
  <Modal.Header {...getStyles('header', stylesApiProps)}>
@@ -17,10 +17,10 @@ export type PromptConfirmButtonFactory = Factory<{
17
17
  }>;
18
18
 
19
19
  const COLOR_BY_VARIANT: Record<PromptVariant, string> = {
20
- success: 'var(--mantine-primary-color-filled)',
21
- info: 'var(--mantine-primary-color-filled)',
22
- warning: 'var(--mantine-color-error)',
23
- critical: 'var(--mantine-color-error)',
20
+ success: 'action',
21
+ info: 'action',
22
+ warning: 'critical',
23
+ critical: 'critical',
24
24
  };
25
25
 
26
26
  const defaultProps: Partial<PromptConfirmButtonProps> = {};
@@ -2,11 +2,11 @@
2
2
  position: sticky;
3
3
  bottom: 0;
4
4
  z-index: 10;
5
- background-color: var(--mantine-color-body);
5
+ background-color: white;
6
6
  padding: var(--mantine-spacing-md) var(--mantine-spacing-lg);
7
7
 
8
8
  &[data-variant='modal-footer'] {
9
- border-top: 1px solid var(--mantine-color-default-border);
9
+ border-top: 1px solid var(--mantine-color-gray-3);
10
10
  padding-bottom: 0;
11
11
  margin: var(--mb-padding) calc(-1 * var(--mb-padding)) calc(var(--mantine-spacing-md) - var(--mb-padding))
12
12
  calc(-1 * var(--mb-padding));
@@ -14,5 +14,5 @@
14
14
  }
15
15
 
16
16
  .border {
17
- border-top: 1px solid var(--mantine-color-default-border);
17
+ border-top: 1px solid var(--mantine-color-gray-3);
18
18
  }
@@ -0,0 +1,6 @@
1
+ .root {
2
+ &[data-disabled] {
3
+ color: var(--mantine-color-gray-4);
4
+ background-color: var(--mantine-color-gray-1);
5
+ }
6
+ }
@@ -1,10 +1,35 @@
1
1
  .root {
2
+ padding: var(--mantine-spacing-sm);
3
+
2
4
  &:not(&[data-variant]) {
3
- /* TODO: Plasma Reset, validate if we need the border */
4
5
  border-color: color-mix(in srgb, var(--alert-color), var(--alert-bg) 85%);
5
6
  }
6
7
  }
7
8
 
9
+ .wrapper {
10
+ gap: var(--mantine-spacing-sm);
11
+ }
12
+
8
13
  .title {
9
14
  font-weight: 500;
10
15
  }
16
+
17
+ .icon {
18
+ width: 16px;
19
+ height: 16px;
20
+ margin-right: 0;
21
+ }
22
+
23
+ .message {
24
+ @mixin light {
25
+ color: var(--mantine-color-gray-7);
26
+
27
+ &:where([data-variant='filled']) {
28
+ color: var(--alert-color);
29
+ }
30
+ }
31
+
32
+ &:where([data-variant='white']) {
33
+ color: var(--mantine-color-black);
34
+ }
35
+ }
@@ -0,0 +1,6 @@
1
+ .root {
2
+ @mixin hover {
3
+ text-decoration: underline;
4
+ color: var(--mantine-color-action-8);
5
+ }
6
+ }
@@ -0,0 +1,3 @@
1
+ .navbar {
2
+ border-color: var(--mantine-color-gray-3);
3
+ }
@@ -1,3 +1,5 @@
1
1
  .root {
2
+ text-transform: none;
3
+ padding: var(--mantine-spacing-xxs) var(--mantine-spacing-xs);
2
4
  font-weight: 500;
3
5
  }
@@ -1,3 +1,20 @@
1
1
  .label {
2
+ font-size: var(--mantine-font-size-sm);
2
3
  font-weight: 300;
3
4
  }
5
+
6
+ .input {
7
+ &[data-indeterminate] {
8
+ background-color: var(--mantine-color-pureWhite);
9
+ border-color: var(--mantine-color-gray-4);
10
+
11
+ & + svg {
12
+ color: var(--mantine-color-gray-6);
13
+ }
14
+ }
15
+
16
+ &[readonly] {
17
+ background-color: var(--mantine-color-gray-2);
18
+ border-color: var(--mantine-color-gray-2);
19
+ }
20
+ }
@@ -1,10 +1,9 @@
1
- /* TODO: Plasma Reset, validate if we need the custom style for the search */
2
1
  .search {
3
2
  margin: 0 0 var(--mantine-spacing-xs);
4
- border-radius: var(--mantine-radius-default);
3
+ border-radius: var(--mantine-radius-md);
5
4
  border: 1px solid;
6
5
  width: 100%;
7
- border-color: var(--mantine-color-default-border);
6
+ border-color: var(--mantine-color-gray-4);
8
7
 
9
8
  &:focus {
10
9
  border-color: var(--mantine-primary-color-filled);
@@ -0,0 +1,3 @@
1
+ .monthCell {
2
+ text-align: center;
3
+ }
@@ -0,0 +1,3 @@
1
+ .input {
2
+ --input-color: var(--mantine-color-gray-7);
3
+ }
@@ -1,7 +1,16 @@
1
+ .label {
2
+ margin-bottom: var(--mantine-spacing-xs);
3
+ }
4
+
1
5
  .description {
6
+ font-size: var(--mantine-font-size-sm);
7
+ color: var(--mantine-color-gray-7);
8
+ margin-bottom: var(--mantine-spacing-xs);
9
+ line-height: var(--mantine-line-height);
2
10
  font-weight: 300;
3
11
  }
4
12
 
5
13
  .error {
14
+ line-height: var(--mantine-line-height);
6
15
  font-weight: 300;
7
16
  }
@@ -1,3 +1,65 @@
1
+ .root {
2
+ &[data-full-screen] {
3
+ .content {
4
+ flex: 0 0 100%;
5
+ }
6
+ }
7
+
8
+ &[data-size='xs'] {
9
+ .content {
10
+ flex: 0 0 rem(432px);
11
+ }
12
+ }
13
+
14
+ &[data-size='sm'] {
15
+ .content {
16
+ flex: 0 0 rem(664px);
17
+ }
18
+ }
19
+
20
+ &[data-size='md'] {
21
+ .content {
22
+ flex: 0 0 rem(896px);
23
+ }
24
+ }
25
+
26
+ &[data-size='lg'] {
27
+ .content {
28
+ flex: 0 0 rem(1120px);
29
+ }
30
+ }
31
+
32
+ &[data-size='xl'] {
33
+ .content {
34
+ flex: 0 0 rem(88%);
35
+ }
36
+ }
37
+
38
+ &:not([data-size]) {
39
+ .content {
40
+ flex: 0 0 rem(896px);
41
+ }
42
+ }
43
+ }
44
+
45
+ .content {
46
+ overflow: auto;
47
+ }
48
+
49
+ .header {
50
+ border-bottom: 1px solid var(--mantine-color-gray-3);
51
+ align-items: flex-start;
52
+ }
53
+
1
54
  .title {
55
+ width: 100%;
56
+ font-size: var(--mantine-h3-font-size);
57
+ line-height: var(--mantine-h3-line-height);
2
58
  font-weight: 500;
3
59
  }
60
+
61
+ .body {
62
+ &:where(:not(:only-child)) {
63
+ padding-top: var(--mb-padding, var(--mantine-spacing-md));
64
+ }
65
+ }
@@ -1,3 +1,21 @@
1
+ .root {
2
+ color: var(--mantine-color-gray-6);
3
+ line-height: var(--mantine-line-height);
4
+ border-radius: var(--mantine-radius-default) 0 0 var(--mantine-radius-default);
5
+
6
+ &[data-active] {
7
+ color: var(--mantine-primary-color-6);
8
+ }
9
+
10
+ @mixin hover {
11
+ @mixin light {
12
+ &:where(:not([data-active])) {
13
+ background-color: var(--mantine-color-gray-1);
14
+ }
15
+ }
16
+ }
17
+ }
18
+
1
19
  .label {
2
20
  font-weight: 500;
3
21
  }
@@ -0,0 +1,20 @@
1
+ .root {
2
+ border-color: var(--mantine-color-gray-3);
3
+ background-color: var(--mantine-color-gray-0);
4
+ box-shadow: var(--mantine-shadow-lg);
5
+ padding: var(--mantine-spacing-sm);
6
+
7
+ &[data-with-icon] {
8
+ padding-left: var(--mantine-spacing-sm);
9
+ }
10
+ }
11
+
12
+ .icon {
13
+ background-color: transparent;
14
+ margin-right: var(--mantine-spacing-sm);
15
+ }
16
+
17
+ .closeButton {
18
+ margin: var(--mantine-spacing-xs);
19
+ color: var(--mantine-color-gray-5);
20
+ }
@@ -0,0 +1,30 @@
1
+ .root {
2
+ --pagination-control-fz: var(--mantine-font-size-sm);
3
+
4
+ color: var(--mantine-color-gray-6);
5
+ }
6
+
7
+ .control {
8
+ color: var(--mantine-color-gray-6);
9
+
10
+ @mixin light {
11
+ border-color: var(--mantine-color-gray-3);
12
+
13
+ @mixin hover {
14
+ &:where(:not(:disabled, [data-disabled])) {
15
+ background-color: var(--mantine-primary-color-1);
16
+ }
17
+ }
18
+ }
19
+
20
+ &:where([data-active]) {
21
+ @mixin light {
22
+ border-color: var(--pagination-active-bg);
23
+ color: var(--pagination-active-color, var(--mantine-color-white));
24
+
25
+ @mixin hover {
26
+ background-color: var(--pagination-active-bg);
27
+ }
28
+ }
29
+ }
30
+ }
@@ -1,4 +1,10 @@
1
1
  .labelWrapper {
2
2
  display: flex;
3
3
  align-items: flex-start;
4
+
5
+ &:not([data-disabled]) {
6
+ .label {
7
+ color: var(--mantine-color-gray-7);
8
+ }
9
+ }
4
10
  }
@@ -2,7 +2,7 @@
2
2
  cursor: text;
3
3
 
4
4
  --input-bd: transparent;
5
- --input-bg: var(--mantine-color-dark-light);
6
- --input-color: var(--mantine-color-dimmed);
7
- --input-placeholder-color: var(--mantine-color-dimmed);
5
+ --input-bg: var(--mantine-color-gray-2);
6
+ --input-color: var(--mantine-color-gray-7);
7
+ --input-placeholder-color: var(--mantine-color-gray-7);
8
8
  }
@@ -1,3 +1,35 @@
1
+ .root {
2
+ background-color: var(--mantine-color-gray-2);
3
+ }
4
+
5
+ .indicator {
6
+ border-radius: var(--sc-radius, var(--mantine-radius-sm));
7
+ }
8
+
1
9
  .label {
2
10
  font-weight: 300;
11
+
12
+ @mixin light {
13
+ color: var(--mantine-color-gray-6);
14
+ }
15
+
16
+ &:where([data-disabled]) {
17
+ @mixin light {
18
+ color: var(--mantine-color-gray-5);
19
+ }
20
+ }
21
+
22
+ &:where([data-active]) {
23
+ @mixin light {
24
+ color: var(--sc-label-color, var(--mantine-color-black));
25
+ }
26
+ }
27
+
28
+ &:where(:not([data-disabled], [data-active], [data-read-only])) {
29
+ @mixin hover {
30
+ @mixin light {
31
+ color: var(--mantine-color-black);
32
+ }
33
+ }
34
+ }
3
35
  }
@@ -0,0 +1,39 @@
1
+ .input {
2
+ @mixin light {
3
+ color: var(--mantine-color-gray-7);
4
+ }
5
+
6
+ @mixin dark {
7
+ color: var(--mantine-color-dark-0);
8
+ }
9
+ }
10
+
11
+ .option {
12
+ padding: 12px 16px;
13
+
14
+ @mixin light {
15
+ color: var(--mantine-color-gray-7);
16
+
17
+ @mixin hover {
18
+ background-color: var(--mantine-color-gray-1);
19
+ }
20
+ }
21
+
22
+ @mixin dark {
23
+ color: var(--mantine-color-dark-0);
24
+
25
+ @mixin hover {
26
+ background-color: var(--mantine-color-dark-4);
27
+ }
28
+ }
29
+
30
+ &[aria-selected='true'] {
31
+ background-color: var(--mantine-color-action-1);
32
+ color: var(--mantine-color-action-6);
33
+
34
+ @mixin hover {
35
+ color: var(--mantine-color-action-6);
36
+ background-color: rgb(237 246 255 / 65%);
37
+ }
38
+ }
39
+ }
@@ -1,3 +1,69 @@
1
+ .step {
2
+ &[disabled] {
3
+ color: var(--mantine-color-gray-5);
4
+
5
+ & .mantine-Stepper-stepDescription {
6
+ color: var(--mantine-color-gray-5);
7
+ }
8
+
9
+ & .mantine-Stepper-stepIcon {
10
+ border-color: var(--mantine-color-gray-1);
11
+ }
12
+ }
13
+ }
14
+
1
15
  .stepIcon {
2
16
  font-weight: 500;
17
+ background-color: var(--mantine-color-gray-1);
18
+ color: inherit;
19
+ border: rem(1) solid var(--mantine-color-gray-3);
20
+
21
+ &[data-progress] {
22
+ background-color: var(--mantine-color-white);
23
+ border-color: var(--step-color);
24
+ }
25
+
26
+ &[data-completed] {
27
+ background-color: var(--mantine-color-white);
28
+ border-color: var(--mantine-color-lime-6);
29
+ color: var(--mantine-color-lime-6);
30
+ }
31
+ }
32
+
33
+ .stepCompletedIcon {
34
+ color: var(--mantine-color-lime-6);
35
+ font-size: rem(16);
36
+ }
37
+
38
+ .stepDescription {
39
+ color: var(--mantine-color-gray-7);
40
+
41
+ &[data-size='xs'] {
42
+ font-size: var(--mantine-font-size-xs);
43
+ }
44
+
45
+ &[data-size='sm'] {
46
+ font-size: var(--mantine-font-size-sm);
47
+ }
48
+
49
+ &[data-size='md'] {
50
+ font-size: var(--mantine-font-size-md);
51
+ }
52
+
53
+ &[data-size='lg'] {
54
+ font-size: var(--mantine-font-size-lg);
55
+ }
56
+
57
+ &[data-size='xl'] {
58
+ font-size: var(--mantine-font-size-xl);
59
+ }
60
+ }
61
+
62
+ .separator {
63
+ height: rem(1);
64
+ background-color: var(--mantine-color-gray-3);
65
+ }
66
+
67
+ .verticalSeparator {
68
+ border-left: rem(1) solid var(--mantine-color-gray-3);
3
69
  }
@@ -1,5 +1,9 @@
1
1
  .root {
2
2
  &[data-variant='default'] {
3
+ @mixin light {
4
+ --tab-hover-color: var(--mantine-color-gray-1);
5
+ }
6
+
3
7
  --tabs-list-border-width: 1px;
4
8
 
5
9
  &[data-orientation='horizontal'] {