@coveord/plasma-mantine 48.17.3 → 48.17.4
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 +7 -7
- package/dist/.tsbuildinfo +1 -1
- package/dist/definitions/components/inline-confirm/InlineConfirm.d.ts +1 -1
- package/dist/definitions/components/inline-confirm/InlineConfirm.d.ts.map +1 -1
- package/dist/definitions/components/inline-confirm/InlineConfirmContext.d.ts +1 -1
- package/dist/definitions/components/inline-confirm/InlineConfirmContext.d.ts.map +1 -1
- package/dist/definitions/components/modal-wizard/ModalWizardStep.d.ts +1 -1
- package/dist/definitions/components/modal-wizard/ModalWizardStep.d.ts.map +1 -1
- package/dist/definitions/components/table/TableContext.d.ts +3 -3
- package/dist/definitions/components/table/TableContext.d.ts.map +1 -1
- package/dist/definitions/components/table/TableHeader.d.ts +1 -1
- package/dist/definitions/components/table/TableHeader.d.ts.map +1 -1
- package/package.json +10 -10
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FunctionComponent, PropsWithChildren } from 'react';
|
|
2
2
|
import { InlineConfirmButton } from './InlineConfirmButton';
|
|
3
3
|
import { InlineConfirmPrompt } from './InlineConfirmPrompt';
|
|
4
|
-
|
|
4
|
+
type InlineConfirmType = FunctionComponent<PropsWithChildren> & {
|
|
5
5
|
Prompt: typeof InlineConfirmPrompt;
|
|
6
6
|
Button: typeof InlineConfirmButton;
|
|
7
7
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineConfirm.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-confirm/InlineConfirm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,iBAAiB,EAAE,iBAAiB,EAAyB,MAAM,OAAO,CAAC;AAE7F,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D,
|
|
1
|
+
{"version":3,"file":"InlineConfirm.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-confirm/InlineConfirm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,iBAAiB,EAAE,iBAAiB,EAAyB,MAAM,OAAO,CAAC;AAE7F,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAE1D,KAAK,iBAAiB,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,GAAG;IAC5D,MAAM,EAAE,OAAO,mBAAmB,CAAC;IACnC,MAAM,EAAE,OAAO,mBAAmB,CAAC;CACtC,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,iBAc3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineConfirmContext.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-confirm/InlineConfirmContext.ts"],"names":[],"mappings":";AAEA,
|
|
1
|
+
{"version":3,"file":"InlineConfirmContext.d.ts","sourceRoot":"","sources":["../../../../src/components/inline-confirm/InlineConfirmContext.ts"],"names":[],"mappings":";AAEA,KAAK,wBAAwB,GAAG;IAC5B,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,YAAY,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,oBAAoB,mDAAuD,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FunctionComponent, PropsWithChildren, ReactElement } from 'react';
|
|
2
|
-
|
|
2
|
+
type DependsOnStep<T> = (currentStep: number, numberOfSteps: number) => T;
|
|
3
3
|
export interface ModalWizardStepProps {
|
|
4
4
|
/**
|
|
5
5
|
* The title of the current step. The title can be dependent on the current step if needed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModalWizardStep.d.ts","sourceRoot":"","sources":["../../../../src/components/modal-wizard/ModalWizardStep.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAE,iBAAiB,EAAE,YAAY,EAAC,MAAM,OAAO,CAAC;AAEzE,
|
|
1
|
+
{"version":3,"file":"ModalWizardStep.d.ts","sourceRoot":"","sources":["../../../../src/components/modal-wizard/ModalWizardStep.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAE,iBAAiB,EAAE,YAAY,EAAC,MAAM,OAAO,CAAC;AAEzE,KAAK,aAAa,CAAC,CAAC,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC,CAAC;AAE1E,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,aAAa,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;IAErE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,aAAa,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;IAE3E;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,aAAa,CAAC,MAAM,GAAG,YAAY,CAAC,CAAC;IAEnF;;OAEG;IACH,YAAY,EAAE,CAAC,WAAW,EAAE,GAAG,EAAE,aAAa,EAAE,GAAG,KAAK;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAC,CAAC;IAE/F;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAE1B;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,QAAA,MAAM,eAAe,EAAE,iBAAiB,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,CAE/E,CAAC;AAOF,OAAO,EAAC,eAAe,EAAC,CAAC"}
|
|
@@ -2,8 +2,8 @@ import { DateRangePickerValue } from '@mantine/dates';
|
|
|
2
2
|
import { UseFormReturnType } from '@mantine/form';
|
|
3
3
|
import { TableState } from '@tanstack/react-table';
|
|
4
4
|
import { Dispatch, RefObject } from 'react';
|
|
5
|
-
export
|
|
6
|
-
export
|
|
5
|
+
export type onTableChangeEvent = (params: TableState & TableFormType) => void;
|
|
6
|
+
export type TableFormType = {
|
|
7
7
|
/**
|
|
8
8
|
* Object containing the table predicates and their selected values
|
|
9
9
|
*
|
|
@@ -17,7 +17,7 @@ export declare type TableFormType = {
|
|
|
17
17
|
*/
|
|
18
18
|
dateRange: DateRangePickerValue;
|
|
19
19
|
};
|
|
20
|
-
|
|
20
|
+
type TableContextType = {
|
|
21
21
|
/**
|
|
22
22
|
* Function to call when the table needs an update
|
|
23
23
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableContext.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TableContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAC,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAChD,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAgB,QAAQ,EAAE,SAAS,EAAC,MAAM,OAAO,CAAC;AAEzD,
|
|
1
|
+
{"version":3,"file":"TableContext.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TableContext.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAC,oBAAoB,EAAC,MAAM,gBAAgB,CAAC;AACpD,OAAO,EAAC,iBAAiB,EAAC,MAAM,eAAe,CAAC;AAChD,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAgB,QAAQ,EAAE,SAAS,EAAC,MAAM,OAAO,CAAC;AAEzD,MAAM,MAAM,kBAAkB,GAAG,CAAC,MAAM,EAAE,UAAU,GAAG,aAAa,KAAK,IAAI,CAAC;AAE9E,MAAM,MAAM,aAAa,GAAG;IACxB;;;;OAIG;IACH,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC;;;;OAIG;IACH,SAAS,EAAE,oBAAoB,CAAC;CACnC,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB;;;;OAIG;IACH,KAAK,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,EAAE,UAAU,KAAK,UAAU,CAAC,CAAC;IAC1D;;OAEG;IACH,YAAY,EAAE,MAAM,IAAI,CAAC;IACzB;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,GAAG,IAAI,CAAC;IACjC;;OAEG;IACH,cAAc,EAAE,MAAM,IAAI,CAAC;IAC3B;;OAEG;IACH,IAAI,EAAE,iBAAiB,CAAC,aAAa,CAAC,CAAC;IACvC;;OAEG;IACH,YAAY,EAAE,SAAS,CAAC,cAAc,CAAC,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,YAAY,2CAA+C,CAAC"}
|
|
@@ -5,7 +5,7 @@ declare const useStyles: (params: void, options?: import("@mantine/core").UseSty
|
|
|
5
5
|
cx: (...args: any) => string;
|
|
6
6
|
theme: import("@mantine/core").MantineTheme;
|
|
7
7
|
};
|
|
8
|
-
|
|
8
|
+
type TableHeaderStylesNames = Selectors<typeof useStyles>;
|
|
9
9
|
interface TableHeaderProps extends DefaultProps<TableHeaderStylesNames> {
|
|
10
10
|
children?: ReactNode;
|
|
11
11
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,YAAY,EAAS,SAAS,EAAC,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAC,MAAM,OAAO,CAAC;AAEnD,QAAA,MAAM,SAAS;;;;CAQZ,CAAC;AAEJ,
|
|
1
|
+
{"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/table/TableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,YAAY,EAAS,SAAS,EAAC,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAC,iBAAiB,EAAE,SAAS,EAAC,MAAM,OAAO,CAAC;AAEnD,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,CAa3D,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coveord/plasma-mantine",
|
|
3
|
-
"version": "48.17.
|
|
3
|
+
"version": "48.17.4",
|
|
4
4
|
"description": "A Plasma flavoured Mantine theme",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plasma",
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
"lodash.defaultsdeep": "4.6.1",
|
|
23
23
|
"monaco-editor": "0.34.0",
|
|
24
24
|
"react-beautiful-dnd": "13.1.1",
|
|
25
|
-
"@coveord/plasma-react-icons": "48.
|
|
26
|
-
"@coveord/plasma-tokens": "
|
|
25
|
+
"@coveord/plasma-react-icons": "48.17.4",
|
|
26
|
+
"@coveord/plasma-tokens": "48.17.4"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@emotion/react": "11.10.5",
|
|
30
|
-
"@mantine/carousel": "5.
|
|
31
|
-
"@mantine/core": "5.
|
|
32
|
-
"@mantine/dates": "5.
|
|
33
|
-
"@mantine/form": "5.
|
|
34
|
-
"@mantine/hooks": "5.
|
|
35
|
-
"@mantine/modals": "5.
|
|
30
|
+
"@mantine/carousel": "5.9.2",
|
|
31
|
+
"@mantine/core": "5.9.2",
|
|
32
|
+
"@mantine/dates": "5.9.2",
|
|
33
|
+
"@mantine/form": "5.9.2",
|
|
34
|
+
"@mantine/hooks": "5.9.2",
|
|
35
|
+
"@mantine/modals": "5.9.2",
|
|
36
36
|
"@swc/cli": "0.1.57",
|
|
37
37
|
"@swc/core": "1.3.16",
|
|
38
38
|
"@swc/jest": "0.2.23",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"react-dom": "18.2.0",
|
|
59
59
|
"rimraf": "3.0.2",
|
|
60
60
|
"tslib": "2.4.0",
|
|
61
|
-
"typescript": "4.
|
|
61
|
+
"typescript": "4.9.3"
|
|
62
62
|
},
|
|
63
63
|
"peerDependencies": {
|
|
64
64
|
"@emotion/react": "^11.10.0",
|