@coveord/plasma-mantine 55.3.3 → 55.3.4-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +3 -3
- package/.turbo/turbo-test.log +46 -44
- package/dist/.tsbuildinfo +1 -1
- package/dist/cjs/components/alert/Alert.d.ts +17 -0
- package/dist/cjs/components/alert/Alert.d.ts.map +1 -0
- package/dist/cjs/components/alert/Alert.js +53 -0
- package/dist/cjs/components/alert/Alert.js.map +1 -0
- package/dist/cjs/components/alert/index.d.ts +2 -0
- package/dist/cjs/components/alert/index.d.ts.map +1 -0
- package/dist/cjs/components/alert/index.js +8 -0
- package/dist/cjs/components/alert/index.js.map +1 -0
- package/dist/cjs/components/badge/Badge.d.ts +8 -0
- package/dist/cjs/components/badge/Badge.d.ts.map +1 -0
- package/dist/cjs/components/badge/Badge.js +60 -0
- package/dist/cjs/components/badge/Badge.js.map +1 -0
- package/dist/cjs/components/badge/index.d.ts +2 -0
- package/dist/cjs/components/badge/index.d.ts.map +1 -0
- package/dist/cjs/components/badge/index.js +8 -0
- package/dist/cjs/components/badge/index.js.map +1 -0
- package/dist/cjs/components/browser-preview/BrowserPreview.module.css +1 -1
- package/dist/cjs/components/button/Button.d.ts +5 -0
- package/dist/cjs/components/button/Button.d.ts.map +1 -1
- package/dist/cjs/components/button/Button.js +40 -3
- package/dist/cjs/components/button/Button.js.map +1 -1
- package/dist/cjs/components/header/Header.module.css +2 -7
- package/dist/cjs/components/index.d.ts +2 -0
- package/dist/cjs/components/index.d.ts.map +1 -1
- package/dist/cjs/components/index.js +2 -0
- package/dist/cjs/components/index.js.map +1 -1
- package/dist/cjs/components/prompt/Prompt.js +1 -1
- package/dist/cjs/components/prompt/Prompt.js.map +1 -1
- package/dist/cjs/components/prompt/Prompt.module.css +4 -15
- package/dist/cjs/components/prompt/PromptConfirmButton.js +4 -4
- package/dist/cjs/components/prompt/PromptConfirmButton.js.map +1 -1
- package/dist/cjs/components/sticky-footer/StickyFooter.module.css +3 -3
- package/dist/cjs/styles/Alert.module.css +1 -26
- package/dist/cjs/styles/Badge.module.css +0 -2
- package/dist/cjs/styles/Checkbox.module.css +0 -17
- package/dist/cjs/styles/Combobox.module.css +3 -2
- package/dist/cjs/styles/InputWrapper.module.css +0 -9
- package/dist/cjs/styles/Modal.module.css +0 -62
- package/dist/cjs/styles/NavLink.module.css +0 -18
- package/dist/cjs/styles/Radio.module.css +0 -6
- package/dist/cjs/styles/ReadOnlyInput.module.css +3 -3
- package/dist/cjs/styles/SegmentedControl.module.css +0 -32
- package/dist/cjs/styles/Stepper.module.css +0 -66
- package/dist/cjs/styles/Tabs.module.css +0 -4
- package/dist/cjs/theme/PlasmaColors.d.ts +11 -7
- package/dist/cjs/theme/PlasmaColors.d.ts.map +1 -1
- package/dist/cjs/theme/PlasmaColors.js +144 -19
- package/dist/cjs/theme/PlasmaColors.js.map +1 -1
- package/dist/cjs/theme/Theme.d.ts.map +1 -1
- package/dist/cjs/theme/Theme.js +43 -115
- package/dist/cjs/theme/Theme.js.map +1 -1
- package/dist/cjs/theme/plasmaCSSVariablesResolver.d.ts.map +1 -1
- package/dist/cjs/theme/plasmaCSSVariablesResolver.js +1 -5
- package/dist/cjs/theme/plasmaCSSVariablesResolver.js.map +1 -1
- package/dist/esm/components/alert/Alert.d.ts +17 -0
- package/dist/esm/components/alert/Alert.d.ts.map +1 -0
- package/dist/esm/components/alert/Alert.js +29 -0
- package/dist/esm/components/alert/Alert.js.map +1 -0
- package/dist/esm/components/alert/index.d.ts +2 -0
- package/dist/esm/components/alert/index.d.ts.map +1 -0
- package/dist/esm/components/alert/index.js +3 -0
- package/dist/esm/components/alert/index.js.map +1 -0
- package/dist/esm/components/badge/Badge.d.ts +8 -0
- package/dist/esm/components/badge/Badge.d.ts.map +1 -0
- package/dist/esm/components/badge/Badge.js +27 -0
- package/dist/esm/components/badge/Badge.js.map +1 -0
- package/dist/esm/components/badge/index.d.ts +2 -0
- package/dist/esm/components/badge/index.d.ts.map +1 -0
- package/dist/esm/components/badge/index.js +3 -0
- package/dist/esm/components/badge/index.js.map +1 -0
- package/dist/esm/components/browser-preview/BrowserPreview.module.css +1 -1
- package/dist/esm/components/button/Button.d.ts +5 -0
- package/dist/esm/components/button/Button.d.ts.map +1 -1
- package/dist/esm/components/button/Button.js +17 -0
- package/dist/esm/components/button/Button.js.map +1 -1
- package/dist/esm/components/header/Header.module.css +2 -7
- package/dist/esm/components/index.d.ts +2 -0
- package/dist/esm/components/index.d.ts.map +1 -1
- package/dist/esm/components/index.js +2 -0
- package/dist/esm/components/index.js.map +1 -1
- package/dist/esm/components/prompt/Prompt.js +1 -1
- package/dist/esm/components/prompt/Prompt.js.map +1 -1
- package/dist/esm/components/prompt/Prompt.module.css +4 -15
- package/dist/esm/components/prompt/PromptConfirmButton.js +4 -4
- package/dist/esm/components/prompt/PromptConfirmButton.js.map +1 -1
- package/dist/esm/components/sticky-footer/StickyFooter.module.css +3 -3
- package/dist/esm/styles/Alert.module.css +1 -26
- package/dist/esm/styles/Badge.module.css +0 -2
- package/dist/esm/styles/Checkbox.module.css +0 -17
- package/dist/esm/styles/Combobox.module.css +3 -2
- package/dist/esm/styles/InputWrapper.module.css +0 -9
- package/dist/esm/styles/Modal.module.css +0 -62
- package/dist/esm/styles/NavLink.module.css +0 -18
- package/dist/esm/styles/Radio.module.css +0 -6
- package/dist/esm/styles/ReadOnlyInput.module.css +3 -3
- package/dist/esm/styles/SegmentedControl.module.css +0 -32
- package/dist/esm/styles/Stepper.module.css +0 -66
- package/dist/esm/styles/Tabs.module.css +0 -4
- package/dist/esm/theme/PlasmaColors.d.ts +11 -7
- package/dist/esm/theme/PlasmaColors.d.ts.map +1 -1
- package/dist/esm/theme/PlasmaColors.js +144 -19
- package/dist/esm/theme/PlasmaColors.js.map +1 -1
- package/dist/esm/theme/Theme.d.ts.map +1 -1
- package/dist/esm/theme/Theme.js +44 -114
- package/dist/esm/theme/Theme.js.map +1 -1
- package/dist/esm/theme/plasmaCSSVariablesResolver.d.ts.map +1 -1
- package/dist/esm/theme/plasmaCSSVariablesResolver.js +1 -5
- package/dist/esm/theme/plasmaCSSVariablesResolver.js.map +1 -1
- package/package.json +6 -6
- package/src/components/alert/Alert.tsx +7 -0
- package/src/components/alert/index.ts +1 -0
- package/src/components/badge/Badge.tsx +10 -0
- package/src/components/badge/index.ts +1 -0
- package/src/components/browser-preview/BrowserPreview.module.css +1 -1
- package/src/components/button/Button.tsx +6 -0
- package/src/components/header/Header.module.css +2 -7
- package/src/components/index.ts +2 -0
- package/src/components/prompt/Prompt.module.css +4 -15
- package/src/components/prompt/Prompt.tsx +1 -1
- package/src/components/prompt/PromptConfirmButton.tsx +4 -4
- package/src/components/sticky-footer/StickyFooter.module.css +3 -3
- package/src/styles/Alert.module.css +1 -26
- package/src/styles/Badge.module.css +0 -2
- package/src/styles/Checkbox.module.css +0 -17
- package/src/styles/Combobox.module.css +3 -2
- package/src/styles/InputWrapper.module.css +0 -9
- package/src/styles/Modal.module.css +0 -62
- package/src/styles/NavLink.module.css +0 -18
- package/src/styles/Radio.module.css +0 -6
- package/src/styles/ReadOnlyInput.module.css +3 -3
- package/src/styles/SegmentedControl.module.css +0 -32
- package/src/styles/Stepper.module.css +0 -66
- package/src/styles/Tabs.module.css +0 -4
- package/src/theme/PlasmaColors.ts +144 -19
- package/src/theme/Theme.tsx +37 -86
- package/src/theme/__tests__/plasmaCSSVariablesResolver.spec.ts +3 -46
- package/src/theme/plasmaCSSVariablesResolver.ts +2 -5
- package/dist/cjs/styles/ActionIcon.module.css +0 -6
- package/dist/cjs/styles/Anchor.module.css +0 -6
- package/dist/cjs/styles/AppShellNavBar.module.css +0 -3
- package/dist/cjs/styles/DatePicker.module.css +0 -3
- package/dist/cjs/styles/Input.module.css +0 -3
- package/dist/cjs/styles/Notification.module.css +0 -20
- package/dist/cjs/styles/Pagination.module.css +0 -30
- package/dist/cjs/styles/Select.module.css +0 -39
- package/dist/cjs/vars/Notification.vars.d.ts +0 -3
- package/dist/cjs/vars/Notification.vars.d.ts.map +0 -1
- package/dist/cjs/vars/Notification.vars.js +0 -44
- package/dist/cjs/vars/Notification.vars.js.map +0 -1
- package/dist/cjs/vars/Text.vars.d.ts +0 -3
- package/dist/cjs/vars/Text.vars.d.ts.map +0 -1
- package/dist/cjs/vars/Text.vars.js +0 -25
- package/dist/cjs/vars/Text.vars.js.map +0 -1
- package/dist/esm/styles/ActionIcon.module.css +0 -6
- package/dist/esm/styles/Anchor.module.css +0 -6
- package/dist/esm/styles/AppShellNavBar.module.css +0 -3
- package/dist/esm/styles/DatePicker.module.css +0 -3
- package/dist/esm/styles/Input.module.css +0 -3
- package/dist/esm/styles/Notification.module.css +0 -20
- package/dist/esm/styles/Pagination.module.css +0 -30
- package/dist/esm/styles/Select.module.css +0 -39
- package/dist/esm/vars/Notification.vars.d.ts +0 -3
- package/dist/esm/vars/Notification.vars.d.ts.map +0 -1
- package/dist/esm/vars/Notification.vars.js +0 -34
- package/dist/esm/vars/Notification.vars.js.map +0 -1
- package/dist/esm/vars/Text.vars.d.ts +0 -3
- package/dist/esm/vars/Text.vars.d.ts.map +0 -1
- package/dist/esm/vars/Text.vars.js +0 -15
- package/dist/esm/vars/Text.vars.js.map +0 -1
- package/src/styles/ActionIcon.module.css +0 -6
- package/src/styles/Anchor.module.css +0 -6
- package/src/styles/AppShellNavBar.module.css +0 -3
- package/src/styles/DatePicker.module.css +0 -3
- package/src/styles/Input.module.css +0 -3
- package/src/styles/Notification.module.css +0 -20
- package/src/styles/Pagination.module.css +0 -30
- package/src/styles/Select.module.css +0 -39
- package/src/vars/Notification.vars.ts +0 -14
- package/src/vars/Text.vars.ts +0 -8
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { keys } from '@mantine/core';
|
|
2
1
|
export const plasmaCSSVariablesResolver = (theme)=>{
|
|
3
2
|
const result = {
|
|
4
3
|
variables: {},
|
|
5
4
|
dark: {},
|
|
6
5
|
light: {}
|
|
7
6
|
};
|
|
8
|
-
|
|
9
|
-
result.light[`--mantine-color-${color}-light`] = theme.colors[color][color === 'gray' ? 1 : 0];
|
|
10
|
-
result.light[`--mantine-color-${color}-light-hover`] = theme.colors[color][color === 'gray' ? 2 : 1];
|
|
11
|
-
});
|
|
7
|
+
result.light['--mantine-color-error'] = theme.colors.red[5];
|
|
12
8
|
return result;
|
|
13
9
|
};
|
|
14
10
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/theme/plasmaCSSVariablesResolver.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"sources":["../../../src/theme/plasmaCSSVariablesResolver.ts"],"sourcesContent":["import {ConvertCSSVariablesInput, CSSVariablesResolver} from '@mantine/core';\n\nexport const plasmaCSSVariablesResolver: CSSVariablesResolver = (theme) => {\n const result: ConvertCSSVariablesInput = {\n variables: {},\n dark: {},\n light: {},\n };\n result.light['--mantine-color-error'] = theme.colors.red[5];\n return result;\n};\n"],"names":["plasmaCSSVariablesResolver","theme","result","variables","dark","light","colors","red"],"mappings":"AAEA,OAAO,MAAMA,6BAAmD,CAACC;IAC7D,MAAMC,SAAmC;QACrCC,WAAW,CAAC;QACZC,MAAM,CAAC;QACPC,OAAO,CAAC;IACZ;IACAH,OAAOG,KAAK,CAAC,wBAAwB,GAAGJ,MAAMK,MAAM,CAACC,GAAG,CAAC,EAAE;IAC3D,OAAOL;AACX,EAAE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coveord/plasma-mantine",
|
|
3
|
-
"version": "55.3.
|
|
3
|
+
"version": "55.3.4-next.0",
|
|
4
4
|
"description": "A Plasma flavoured Mantine theme",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plasma",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
"lodash.debounce": "4.0.8",
|
|
43
43
|
"lodash.defaultsdeep": "4.6.1",
|
|
44
44
|
"monaco-editor": "0.52.0",
|
|
45
|
-
"@coveord/plasma-react-icons": "55.3.
|
|
46
|
-
"@coveord/plasma-tokens": "55.3.
|
|
45
|
+
"@coveord/plasma-react-icons": "55.3.4-next.0",
|
|
46
|
+
"@coveord/plasma-tokens": "55.3.4-next.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@mantine/carousel": "7.14.3",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@mantine/hooks": "7.14.3",
|
|
55
55
|
"@mantine/modals": "7.14.3",
|
|
56
56
|
"@mantine/notifications": "7.14.3",
|
|
57
|
-
"@swc/cli": "0.5.
|
|
57
|
+
"@swc/cli": "0.5.2",
|
|
58
58
|
"@swc/core": "1.9.3",
|
|
59
59
|
"@testing-library/dom": "10.4.0",
|
|
60
60
|
"@testing-library/jest-dom": "6.6.3",
|
|
@@ -74,10 +74,10 @@
|
|
|
74
74
|
"react": "18.3.1",
|
|
75
75
|
"react-dom": "18.3.1",
|
|
76
76
|
"rimraf": "6.0.1",
|
|
77
|
-
"sass": "1.81.
|
|
77
|
+
"sass": "1.81.1",
|
|
78
78
|
"tslib": "2.8.1",
|
|
79
79
|
"typescript": "5.7.2",
|
|
80
|
-
"vitest": "2.1.
|
|
80
|
+
"vitest": "2.1.8"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"@mantine/carousel": "^7.6.1",
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import {CheckmarkSize16Px, CriticalSize16Px, TipSize16Px, WarningSize16Px} from '@coveord/plasma-react-icons';
|
|
2
|
+
import {Alert} from '@mantine/core';
|
|
3
|
+
|
|
4
|
+
export const AlertTip = Alert.withProps({color: 'gray', icon: <TipSize16Px height={16} />});
|
|
5
|
+
export const AlertSuccess = Alert.withProps({color: 'success', icon: <CheckmarkSize16Px height={16} />});
|
|
6
|
+
export const AlertWarning = Alert.withProps({color: 'warning', icon: <WarningSize16Px height={16} />});
|
|
7
|
+
export const AlertCritical = Alert.withProps({color: 'critical', icon: <CriticalSize16Px height={16} />});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Alert';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import {Badge} from '@mantine/core';
|
|
2
|
+
|
|
3
|
+
export const BadgePrimary = Badge.withProps({variant: 'light'});
|
|
4
|
+
export const BadgeSecondary = Badge.withProps({variant: 'outline'});
|
|
5
|
+
export const BadgeTertiary = Badge.withProps({variant: 'default'});
|
|
6
|
+
|
|
7
|
+
export const BadgeInfo = Badge.withProps({variant: 'light'});
|
|
8
|
+
export const BadgeRecommended = Badge.withProps({variant: 'light', color: 'success'});
|
|
9
|
+
export const BadgeCritical = Badge.withProps({variant: 'light', color: 'critical'});
|
|
10
|
+
export const BadgeWarning = Badge.withProps({variant: 'light', color: 'warning'});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Badge';
|
|
@@ -56,3 +56,9 @@ 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)'});
|
|
@@ -5,18 +5,13 @@
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
& .description {
|
|
8
|
-
color: var(--mantine-color-
|
|
8
|
+
color: var(--mantine-color-dimmed);
|
|
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
|
-
|
|
20
15
|
line-height: var(--mantine-line-height-md);
|
|
21
16
|
}
|
|
22
17
|
|
|
@@ -31,5 +26,5 @@
|
|
|
31
26
|
}
|
|
32
27
|
|
|
33
28
|
.breadcrumbsSeparator {
|
|
34
|
-
color: var(--mantine-color-
|
|
29
|
+
color: var(--mantine-color-dimmed);
|
|
35
30
|
}
|
package/src/components/index.ts
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
--prompt-icon-size:
|
|
3
|
-
|
|
4
|
-
.header {
|
|
5
|
-
border-bottom: none;
|
|
6
|
-
align-items: center;
|
|
7
|
-
}
|
|
2
|
+
--prompt-icon-size: 68px;
|
|
8
3
|
|
|
9
4
|
.body {
|
|
10
5
|
padding: 0 var(--mantine-spacing-lg) var(--mantine-spacing-lg)
|
|
11
|
-
calc(var(--prompt-icon-size) + (
|
|
6
|
+
calc(var(--prompt-icon-size) + var(--mantine-spacing-md) + var(--mantine-spacing-lg));
|
|
12
7
|
}
|
|
13
8
|
}
|
|
14
9
|
|
|
@@ -18,18 +13,12 @@
|
|
|
18
13
|
}
|
|
19
14
|
|
|
20
15
|
.header {
|
|
21
|
-
gap: var(--mantine-spacing-
|
|
16
|
+
gap: var(--mantine-spacing-md);
|
|
22
17
|
width: 100%;
|
|
23
|
-
font-size: var(--mantine-h3-font-size);
|
|
24
|
-
line-height: var(--mantine-h3-line-height);
|
|
25
18
|
overflow-wrap: anywhere;
|
|
26
19
|
padding: var(--mantine-spacing-lg) var(--mantine-spacing-md) var(--mantine-spacing-xs) var(--mantine-spacing-lg);
|
|
27
20
|
}
|
|
28
21
|
|
|
29
|
-
.close {
|
|
30
|
-
align-self: flex-start;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
22
|
.inner {
|
|
34
|
-
color: var(--mantine-color-
|
|
23
|
+
color: var(--mantine-color-dimmed);
|
|
35
24
|
}
|
|
@@ -99,7 +99,7 @@ export const Prompt = factory<PromptFactory>((_props, ref) => {
|
|
|
99
99
|
|
|
100
100
|
return (
|
|
101
101
|
<PromptContextProvider value={{variant, getStyles}}>
|
|
102
|
-
<Modal.Root ref={ref} variant="prompt" size="
|
|
102
|
+
<Modal.Root ref={ref} variant="prompt" size="lg" {...others} {...getStyles('root')}>
|
|
103
103
|
<Modal.Overlay {...getStyles('overlay', stylesApiProps)} />
|
|
104
104
|
<Modal.Content {...getStyles('content', stylesApiProps)}>
|
|
105
105
|
<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: '
|
|
21
|
-
info: '
|
|
22
|
-
warning: '
|
|
23
|
-
critical: '
|
|
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)',
|
|
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:
|
|
5
|
+
background-color: var(--mantine-color-body);
|
|
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-
|
|
9
|
+
border-top: 1px solid var(--mantine-color-default-border);
|
|
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-
|
|
17
|
+
border-top: 1px solid var(--mantine-color-default-border);
|
|
18
18
|
}
|
|
@@ -1,35 +1,10 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
padding: var(--mantine-spacing-sm);
|
|
3
|
-
|
|
4
2
|
&:not(&[data-variant]) {
|
|
3
|
+
/* TODO: Plasma Reset, validate if we need the border */
|
|
5
4
|
border-color: color-mix(in srgb, var(--alert-color), var(--alert-bg) 85%);
|
|
6
5
|
}
|
|
7
6
|
}
|
|
8
7
|
|
|
9
|
-
.wrapper {
|
|
10
|
-
gap: var(--mantine-spacing-sm);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
8
|
.title {
|
|
14
9
|
font-weight: 500;
|
|
15
10
|
}
|
|
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
|
-
}
|
|
@@ -1,20 +1,3 @@
|
|
|
1
1
|
.label {
|
|
2
|
-
font-size: var(--mantine-font-size-sm);
|
|
3
2
|
font-weight: 300;
|
|
4
3
|
}
|
|
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,9 +1,10 @@
|
|
|
1
|
+
/* TODO: Plasma Reset, validate if we need the custom style for the search */
|
|
1
2
|
.search {
|
|
2
3
|
margin: 0 0 var(--mantine-spacing-xs);
|
|
3
|
-
border-radius: var(--mantine-radius-
|
|
4
|
+
border-radius: var(--mantine-radius-default);
|
|
4
5
|
border: 1px solid;
|
|
5
6
|
width: 100%;
|
|
6
|
-
border-color: var(--mantine-color-
|
|
7
|
+
border-color: var(--mantine-color-default-border);
|
|
7
8
|
|
|
8
9
|
&:focus {
|
|
9
10
|
border-color: var(--mantine-primary-color-filled);
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
.label {
|
|
2
|
-
margin-bottom: var(--mantine-spacing-xs);
|
|
3
|
-
}
|
|
4
|
-
|
|
5
1
|
.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);
|
|
10
2
|
font-weight: 300;
|
|
11
3
|
}
|
|
12
4
|
|
|
13
5
|
.error {
|
|
14
|
-
line-height: var(--mantine-line-height);
|
|
15
6
|
font-weight: 300;
|
|
16
7
|
}
|
|
@@ -1,65 +1,3 @@
|
|
|
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
|
-
|
|
54
1
|
.title {
|
|
55
|
-
width: 100%;
|
|
56
|
-
font-size: var(--mantine-h3-font-size);
|
|
57
|
-
line-height: var(--mantine-h3-line-height);
|
|
58
2
|
font-weight: 500;
|
|
59
3
|
}
|
|
60
|
-
|
|
61
|
-
.body {
|
|
62
|
-
&:where(:not(:only-child)) {
|
|
63
|
-
padding-top: var(--mb-padding, var(--mantine-spacing-md));
|
|
64
|
-
}
|
|
65
|
-
}
|
|
@@ -1,21 +1,3 @@
|
|
|
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
|
-
|
|
19
1
|
.label {
|
|
20
2
|
font-weight: 500;
|
|
21
3
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
cursor: text;
|
|
3
3
|
|
|
4
4
|
--input-bd: transparent;
|
|
5
|
-
--input-bg: var(--mantine-color-
|
|
6
|
-
--input-color: var(--mantine-color-
|
|
7
|
-
--input-placeholder-color: var(--mantine-color-
|
|
5
|
+
--input-bg: var(--mantine-color-dark-light);
|
|
6
|
+
--input-color: var(--mantine-color-dimmed);
|
|
7
|
+
--input-placeholder-color: var(--mantine-color-dimmed);
|
|
8
8
|
}
|
|
@@ -1,35 +1,3 @@
|
|
|
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
|
-
|
|
9
1
|
.label {
|
|
10
2
|
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
|
-
}
|
|
35
3
|
}
|
|
@@ -1,69 +1,3 @@
|
|
|
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
|
-
|
|
15
1
|
.stepIcon {
|
|
16
2
|
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);
|
|
69
3
|
}
|