@coveord/plasma-mantine 56.1.6 → 56.2.1
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 +5 -3
- package/.turbo/turbo-test.log +67 -62
- package/dist/.tsbuildinfo +1 -1
- package/dist/cjs/components/accordion/Accordion.js +3 -3
- package/dist/cjs/components/accordion/Accordion.js.map +1 -1
- package/dist/cjs/components/action-icon/ActionIcon.d.ts.map +1 -1
- package/dist/cjs/components/alert/Alert.d.ts.map +1 -1
- package/dist/cjs/components/badge/Badge.d.ts.map +1 -1
- package/dist/cjs/components/button/Button.d.ts.map +1 -1
- package/dist/cjs/components/button/ButtonWithDisabledTooltip.d.ts.map +1 -1
- package/dist/cjs/components/child-form/ChildForm.d.ts.map +1 -1
- package/dist/cjs/components/code-editor/CodeEditor.d.ts +1 -1
- package/dist/cjs/components/code-editor/CodeEditor.d.ts.map +1 -1
- package/dist/cjs/components/code-editor/CodeEditor.js +39 -38
- package/dist/cjs/components/code-editor/CodeEditor.js.map +1 -1
- package/dist/cjs/components/code-editor/languages/xml.js +4 -7
- package/dist/cjs/components/code-editor/languages/xml.js.map +1 -1
- package/dist/cjs/components/collection/CollectionContext.d.ts.map +1 -1
- package/dist/cjs/components/collection/CollectionContext.js +3 -3
- package/dist/cjs/components/collection/CollectionContext.js.map +1 -1
- package/dist/cjs/components/date-range-picker/DateRangePickerInlineCalendar.d.ts +1 -1
- package/dist/cjs/components/date-range-picker/DateRangePickerInlineCalendar.d.ts.map +1 -1
- package/dist/cjs/components/date-range-picker/DateRangePickerInlineCalendar.js.map +1 -1
- package/dist/cjs/components/ellipsis-text/EllipsisText.d.ts.map +1 -1
- package/dist/cjs/components/header/Header.context.d.ts.map +1 -1
- package/dist/cjs/components/header/Header.context.js +3 -3
- package/dist/cjs/components/header/Header.context.js.map +1 -1
- package/dist/cjs/components/header/Header.d.ts +1 -1
- package/dist/cjs/components/header/Header.d.ts.map +1 -1
- package/dist/cjs/components/header/Header.js.map +1 -1
- package/dist/cjs/components/header/HeaderBreadcrumbs/HeaderBreadcrumbAnchor.d.ts.map +1 -1
- package/dist/cjs/components/header/HeaderBreadcrumbs/HeaderBreadcrumbText.d.ts.map +1 -1
- package/dist/cjs/components/info-token/InfoToken.d.ts.map +1 -1
- package/dist/cjs/components/inline-confirm/InlineConfirmContext.d.ts.map +1 -1
- package/dist/cjs/components/inline-confirm/InlineConfirmContext.js +3 -3
- package/dist/cjs/components/inline-confirm/InlineConfirmContext.js.map +1 -1
- package/dist/cjs/components/inline-confirm/InlineConfirmTarget.d.ts.map +1 -1
- package/dist/cjs/components/menu/Menu.d.ts.map +1 -1
- package/dist/cjs/components/prompt/Prompt.context.d.ts.map +1 -1
- package/dist/cjs/components/prompt/Prompt.context.js +3 -3
- package/dist/cjs/components/prompt/Prompt.context.js.map +1 -1
- package/dist/cjs/components/prompt/Prompt.d.ts +1 -1
- package/dist/cjs/components/prompt/Prompt.d.ts.map +1 -1
- package/dist/cjs/components/prompt/Prompt.js +3 -2
- package/dist/cjs/components/prompt/Prompt.js.map +1 -1
- package/dist/cjs/components/table/Table.d.ts.map +1 -1
- package/dist/cjs/components/table/Table.js +3 -3
- package/dist/cjs/components/table/Table.js.map +1 -1
- package/dist/cjs/components/table/TableContext.js +3 -3
- package/dist/cjs/components/table/TableContext.js.map +1 -1
- package/dist/cjs/components/table/index.js +5 -5
- package/dist/cjs/components/table/index.js.map +1 -1
- package/dist/cjs/components/table/layouts/row-layout/RowLayoutContext.d.ts.map +1 -1
- package/dist/cjs/components/table/layouts/row-layout/RowLayoutContext.js +3 -3
- package/dist/cjs/components/table/layouts/row-layout/RowLayoutContext.js.map +1 -1
- package/dist/cjs/components/table/table-actions/TableActionContext.d.ts.map +1 -1
- package/dist/cjs/components/table/table-actions/TableActionContext.js +3 -3
- package/dist/cjs/components/table/table-actions/TableActionContext.js.map +1 -1
- package/dist/cjs/components/table/table-actions/TableActionItem.d.ts.map +1 -1
- package/dist/cjs/components/table/table-column/TableCollapsibleColumn.js +3 -3
- package/dist/cjs/components/table/table-column/TableCollapsibleColumn.js.map +1 -1
- package/dist/cjs/hooks/useClickWithLoading.js +4 -7
- package/dist/cjs/hooks/useClickWithLoading.js.map +1 -1
- package/dist/cjs/index.js +17 -17
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/action-icon/ActionIcon.d.ts.map +1 -1
- package/dist/esm/components/alert/Alert.d.ts.map +1 -1
- package/dist/esm/components/badge/Badge.d.ts.map +1 -1
- package/dist/esm/components/button/Button.d.ts.map +1 -1
- package/dist/esm/components/button/ButtonWithDisabledTooltip.d.ts.map +1 -1
- package/dist/esm/components/child-form/ChildForm.d.ts.map +1 -1
- package/dist/esm/components/code-editor/CodeEditor.d.ts +1 -1
- package/dist/esm/components/code-editor/CodeEditor.d.ts.map +1 -1
- package/dist/esm/components/code-editor/CodeEditor.js.map +1 -1
- package/dist/esm/components/collection/CollectionContext.d.ts.map +1 -1
- package/dist/esm/components/date-range-picker/DateRangePickerInlineCalendar.d.ts +1 -1
- package/dist/esm/components/date-range-picker/DateRangePickerInlineCalendar.d.ts.map +1 -1
- package/dist/esm/components/date-range-picker/DateRangePickerInlineCalendar.js.map +1 -1
- package/dist/esm/components/ellipsis-text/EllipsisText.d.ts.map +1 -1
- package/dist/esm/components/header/Header.context.d.ts.map +1 -1
- package/dist/esm/components/header/Header.d.ts +1 -1
- package/dist/esm/components/header/Header.d.ts.map +1 -1
- package/dist/esm/components/header/Header.js.map +1 -1
- package/dist/esm/components/header/HeaderBreadcrumbs/HeaderBreadcrumbAnchor.d.ts.map +1 -1
- package/dist/esm/components/header/HeaderBreadcrumbs/HeaderBreadcrumbText.d.ts.map +1 -1
- package/dist/esm/components/info-token/InfoToken.d.ts.map +1 -1
- package/dist/esm/components/inline-confirm/InlineConfirmContext.d.ts.map +1 -1
- package/dist/esm/components/inline-confirm/InlineConfirmTarget.d.ts.map +1 -1
- package/dist/esm/components/menu/Menu.d.ts.map +1 -1
- package/dist/esm/components/prompt/Prompt.context.d.ts.map +1 -1
- package/dist/esm/components/prompt/Prompt.d.ts +1 -1
- package/dist/esm/components/prompt/Prompt.d.ts.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/table/Table.d.ts.map +1 -1
- package/dist/esm/components/table/layouts/row-layout/RowLayoutContext.d.ts.map +1 -1
- package/dist/esm/components/table/table-actions/TableActionContext.d.ts.map +1 -1
- package/dist/esm/components/table/table-actions/TableActionItem.d.ts.map +1 -1
- package/package.json +34 -34
- package/src/components/code-editor/CodeEditor.tsx +1 -1
- package/src/components/date-range-picker/DateRangePickerInlineCalendar.tsx +9 -2
- package/src/components/header/Header.tsx +1 -1
- package/src/components/prompt/Prompt.tsx +14 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coveord/plasma-mantine",
|
|
3
|
-
"version": "56.1
|
|
3
|
+
"version": "56.2.1",
|
|
4
4
|
"description": "A Plasma flavoured Mantine theme",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plasma",
|
|
@@ -33,56 +33,56 @@
|
|
|
33
33
|
"@dnd-kit/utilities": "3.2.2",
|
|
34
34
|
"@mantine/utils": "6.0.22",
|
|
35
35
|
"@monaco-editor/react": "4.7.0",
|
|
36
|
-
"@swc/helpers": "0.5.
|
|
37
|
-
"@tanstack/react-table": "8.21.
|
|
38
|
-
"@tanstack/table-core": "8.21.
|
|
36
|
+
"@swc/helpers": "0.5.17",
|
|
37
|
+
"@tanstack/react-table": "8.21.3",
|
|
38
|
+
"@tanstack/table-core": "8.21.3",
|
|
39
39
|
"clsx": "2.1.1",
|
|
40
|
-
"dayjs": "1.11.
|
|
40
|
+
"dayjs": "1.11.18",
|
|
41
41
|
"fast-deep-equal": "3.1.3",
|
|
42
42
|
"lodash.debounce": "4.0.8",
|
|
43
43
|
"lodash.defaultsdeep": "4.6.1",
|
|
44
|
-
"monaco-editor": "0.
|
|
45
|
-
"@coveord/plasma-
|
|
46
|
-
"@coveord/plasma-
|
|
44
|
+
"monaco-editor": "0.53.0",
|
|
45
|
+
"@coveord/plasma-tokens": "56.2.0",
|
|
46
|
+
"@coveord/plasma-react-icons": "56.2.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@mantine/carousel": "8.
|
|
50
|
-
"@mantine/code-highlight": "8.
|
|
51
|
-
"@mantine/core": "8.
|
|
52
|
-
"@mantine/dates": "8.
|
|
53
|
-
"@mantine/form": "8.
|
|
54
|
-
"@mantine/hooks": "8.
|
|
55
|
-
"@mantine/modals": "8.
|
|
56
|
-
"@mantine/notifications": "8.
|
|
57
|
-
"@swc/cli": "0.
|
|
58
|
-
"@swc/core": "1.
|
|
59
|
-
"@testing-library/dom": "10.4.
|
|
60
|
-
"@testing-library/jest-dom": "6.
|
|
61
|
-
"@testing-library/react": "16.
|
|
49
|
+
"@mantine/carousel": "8.3.2",
|
|
50
|
+
"@mantine/code-highlight": "8.3.2",
|
|
51
|
+
"@mantine/core": "8.3.2",
|
|
52
|
+
"@mantine/dates": "8.3.2",
|
|
53
|
+
"@mantine/form": "8.3.2",
|
|
54
|
+
"@mantine/hooks": "8.3.2",
|
|
55
|
+
"@mantine/modals": "8.3.2",
|
|
56
|
+
"@mantine/notifications": "8.3.2",
|
|
57
|
+
"@swc/cli": "0.7.8",
|
|
58
|
+
"@swc/core": "1.13.5",
|
|
59
|
+
"@testing-library/dom": "10.4.1",
|
|
60
|
+
"@testing-library/jest-dom": "6.8.0",
|
|
61
|
+
"@testing-library/react": "16.3.0",
|
|
62
62
|
"@testing-library/user-event": "14.6.1",
|
|
63
63
|
"@types/lodash.debounce": "4.0.9",
|
|
64
64
|
"@types/lodash.defaultsdeep": "4.6.9",
|
|
65
|
-
"@types/react": "18.3.
|
|
66
|
-
"@types/react-dom": "18.3.
|
|
65
|
+
"@types/react": "18.3.24",
|
|
66
|
+
"@types/react-dom": "18.3.7",
|
|
67
67
|
"cross-env": "7.0.3",
|
|
68
|
-
"embla-carousel": "8.
|
|
69
|
-
"embla-carousel-react": "8.
|
|
70
|
-
"eslint-plugin-testing-library": "6.
|
|
71
|
-
"eslint-plugin-vitest": "0.
|
|
72
|
-
"eslint-plugin-vitest-globals": "1.
|
|
68
|
+
"embla-carousel": "8.6.0",
|
|
69
|
+
"embla-carousel-react": "8.6.0",
|
|
70
|
+
"eslint-plugin-testing-library": "6.5.0",
|
|
71
|
+
"eslint-plugin-vitest": "0.5.4",
|
|
72
|
+
"eslint-plugin-vitest-globals": "1.5.0",
|
|
73
73
|
"identity-obj-proxy": "3.0.0",
|
|
74
|
-
"jsdom": "26.
|
|
75
|
-
"postcss": "8.5.
|
|
74
|
+
"jsdom": "26.1.0",
|
|
75
|
+
"postcss": "8.5.6",
|
|
76
76
|
"postcss-preset-mantine": "^1.11.0",
|
|
77
77
|
"postcss-simple-vars": "^7.0.1",
|
|
78
|
-
"publint": "0.3.
|
|
78
|
+
"publint": "0.3.13",
|
|
79
79
|
"react": "18.3.1",
|
|
80
80
|
"react-dom": "18.3.1",
|
|
81
81
|
"rimraf": "6.0.1",
|
|
82
|
-
"sass": "1.
|
|
82
|
+
"sass": "1.93.2",
|
|
83
83
|
"tslib": "2.8.1",
|
|
84
|
-
"typescript": "5.
|
|
85
|
-
"vitest": "3.
|
|
84
|
+
"typescript": "5.9.2",
|
|
85
|
+
"vitest": "3.2.4"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
88
|
"@mantine/carousel": "^8.0.2",
|
|
@@ -29,7 +29,7 @@ interface CodeEditorProps
|
|
|
29
29
|
InputWrapperProps,
|
|
30
30
|
'inputContainer' | 'inputWrapperOrder' | 'classNames' | 'styles' | 'vars' | 'onChange'
|
|
31
31
|
>,
|
|
32
|
-
Omit<StackProps, 'onChange'> {
|
|
32
|
+
Omit<StackProps, 'onChange' | 'attributes'> {
|
|
33
33
|
/**
|
|
34
34
|
* The language syntax of the editor
|
|
35
35
|
*
|
|
@@ -39,7 +39,14 @@ export interface DateRangePickerInlineCalendarProps
|
|
|
39
39
|
*/
|
|
40
40
|
rangeCalendarProps?: Omit<
|
|
41
41
|
DatePickerBaseProps,
|
|
42
|
-
|
|
42
|
+
| 'value'
|
|
43
|
+
| 'onChange'
|
|
44
|
+
| 'isDateInRange'
|
|
45
|
+
| 'isDateFirstInRange'
|
|
46
|
+
| 'isDateLastInRange'
|
|
47
|
+
| 'presets'
|
|
48
|
+
| '__onPresetSelect'
|
|
49
|
+
| 'allowDeselect'
|
|
43
50
|
>;
|
|
44
51
|
}
|
|
45
52
|
|
|
@@ -104,7 +111,7 @@ export const DateRangePickerInlineCalendar = ({
|
|
|
104
111
|
) : null}
|
|
105
112
|
</Group>
|
|
106
113
|
<Center py="sm" px="md">
|
|
107
|
-
<DatePicker
|
|
114
|
+
<DatePicker<'range'>
|
|
108
115
|
numberOfColumns={2}
|
|
109
116
|
columnsToScroll={1}
|
|
110
117
|
type="range"
|
|
@@ -43,7 +43,7 @@ export type HeaderStyleNames =
|
|
|
43
43
|
|
|
44
44
|
export interface HeaderProps
|
|
45
45
|
extends StylesApiProps<HeaderFactory>,
|
|
46
|
-
Omit<GroupProps, 'classNames' | 'styles' | 'vars' | 'variant'> {
|
|
46
|
+
Omit<GroupProps, 'classNames' | 'styles' | 'vars' | 'variant' | 'attributes'> {
|
|
47
47
|
/**
|
|
48
48
|
* The description text displayed inside the header underneath the title
|
|
49
49
|
*/
|
|
@@ -30,7 +30,7 @@ export type PromptStylesNames =
|
|
|
30
30
|
|
|
31
31
|
export interface PromptProps
|
|
32
32
|
extends StylesApiProps<PromptFactory>,
|
|
33
|
-
Omit<ModalRootProps, 'classNames' | 'styles' | 'vars'> {
|
|
33
|
+
Omit<ModalRootProps, 'classNames' | 'styles' | 'vars' | 'attributes'> {
|
|
34
34
|
/**
|
|
35
35
|
* Controls prompt appearance
|
|
36
36
|
*
|
|
@@ -68,7 +68,19 @@ const defaultProps: Partial<PromptProps> = {
|
|
|
68
68
|
|
|
69
69
|
export const Prompt = factory<PromptFactory>((_props, ref) => {
|
|
70
70
|
const props = useProps('Prompt', defaultProps, _props);
|
|
71
|
-
const {
|
|
71
|
+
const {
|
|
72
|
+
variant,
|
|
73
|
+
title,
|
|
74
|
+
children,
|
|
75
|
+
className,
|
|
76
|
+
classNames,
|
|
77
|
+
style,
|
|
78
|
+
styles,
|
|
79
|
+
unstyled,
|
|
80
|
+
vars,
|
|
81
|
+
attributes: _attributes,
|
|
82
|
+
...others
|
|
83
|
+
} = props;
|
|
72
84
|
const getStyles = useStyles<PromptFactory>({
|
|
73
85
|
name: 'Prompt',
|
|
74
86
|
props,
|