@coveord/plasma-mantine 57.2.0 → 58.0.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 +4 -4
- package/.turbo/turbo-test.log +104 -104
- package/dist/.tsbuildinfo +1 -1
- package/dist/cjs/components/ActionIcon/ActionIcon.d.ts +3 -3
- package/dist/cjs/components/Alert/Alert.d.ts +3 -3
- package/dist/cjs/components/Alert/Alert.js +4 -12
- package/dist/cjs/components/Alert/Alert.js.map +1 -1
- package/dist/cjs/components/Badge/Badge.d.ts +3 -3
- package/dist/cjs/components/BrowserPreview/BrowserPreview.d.ts +1 -1
- package/dist/cjs/components/BrowserPreview/BrowserPreview.d.ts.map +1 -1
- package/dist/cjs/components/BrowserPreview/BrowserPreview.js +1 -2
- package/dist/cjs/components/BrowserPreview/BrowserPreview.js.map +1 -1
- package/dist/cjs/components/Button/Button.d.ts +3 -3
- package/dist/cjs/components/ChildForm/ChildForm.d.ts +5 -4
- package/dist/cjs/components/ChildForm/ChildForm.d.ts.map +1 -1
- package/dist/cjs/components/ChildForm/ChildForm.js +4 -2
- package/dist/cjs/components/ChildForm/ChildForm.js.map +1 -1
- package/dist/cjs/components/Collection/Collection.d.ts +6 -6
- package/dist/cjs/components/Collection/CollectionAddButton.d.ts +1 -1
- package/dist/cjs/components/Collection/CollectionAddButton.d.ts.map +1 -1
- package/dist/cjs/components/Collection/CollectionContext.d.ts +1 -1
- package/dist/cjs/components/Collection/CollectionContext.d.ts.map +1 -1
- package/dist/cjs/components/Collection/layouts/CollectionLayouts.d.ts +5 -5
- package/dist/cjs/components/Collection/layouts/horizontal-layout/HorizontalLayout.d.ts +3 -3
- package/dist/cjs/components/Collection/layouts/horizontal-layout/HorizontalLayoutBody.d.ts +1 -1
- package/dist/cjs/components/Collection/layouts/horizontal-layout/HorizontalLayoutBody.d.ts.map +1 -1
- package/dist/cjs/components/Collection/layouts/horizontal-layout/HorizontalLayoutHeader.d.ts +1 -1
- package/dist/cjs/components/Collection/layouts/horizontal-layout/HorizontalLayoutHeader.d.ts.map +1 -1
- package/dist/cjs/components/Collection/layouts/shared/itemRenderer.d.ts +3 -3
- package/dist/cjs/components/Collection/layouts/vertical-layout/VerticalLayout.d.ts +2 -2
- package/dist/cjs/components/Collection/layouts/vertical-layout/VerticalLayoutBody.d.ts +1 -1
- package/dist/cjs/components/Collection/layouts/vertical-layout/VerticalLayoutBody.d.ts.map +1 -1
- package/dist/cjs/components/DateRangePicker/DateRangePickerInlineCalendar.d.ts +1 -1
- package/dist/cjs/components/DateRangePicker/DateRangePickerInlineCalendar.d.ts.map +1 -1
- package/dist/cjs/components/DateRangePicker/DateRangePickerPopoverCalendar.d.ts +1 -1
- package/dist/cjs/components/DateRangePicker/DateRangePickerPopoverCalendar.d.ts.map +1 -1
- package/dist/cjs/components/DateTimeRangePicker/DateTimeRangePicker.d.ts +1 -1
- package/dist/cjs/components/DateTimeRangePicker/DateTimeRangePicker.d.ts.map +1 -1
- package/dist/cjs/components/EllipsisText/EllipsisText.d.ts +3 -3
- package/dist/cjs/components/Header/Header.context.d.ts +1 -1
- package/dist/cjs/components/Header/Header.context.d.ts.map +1 -1
- package/dist/cjs/components/Header/Header.module.css +0 -5
- package/dist/cjs/components/Header/HeaderBreadcrumbs/HeaderBreadcrumbAnchor.d.ts +3 -3
- package/dist/cjs/components/Header/HeaderBreadcrumbs/HeaderBreadcrumbText.d.ts +3 -3
- package/dist/cjs/components/Header/HeaderDocAnchor/HeaderDocAnchor.js +2 -4
- package/dist/cjs/components/Header/HeaderDocAnchor/HeaderDocAnchor.js.map +1 -1
- package/dist/cjs/components/InfoToken/InfoToken.d.ts +26 -82
- package/dist/cjs/components/InfoToken/InfoToken.d.ts.map +1 -1
- package/dist/cjs/components/InfoToken/InfoToken.js +62 -55
- package/dist/cjs/components/InfoToken/InfoToken.js.map +1 -1
- package/dist/cjs/components/InfoToken/InfoToken.module.css +11 -3
- package/dist/cjs/components/InlineConfirm/InlineConfirmTarget.d.ts +3 -3
- package/dist/cjs/components/Input/Input.d.ts +14 -1
- package/dist/cjs/components/Input/Input.d.ts.map +1 -1
- package/dist/cjs/components/Input/Input.js +17 -5
- package/dist/cjs/components/Input/Input.js.map +1 -1
- package/dist/cjs/components/Input/InputLabelInfo.d.ts +17 -0
- package/dist/cjs/components/Input/InputLabelInfo.d.ts.map +1 -0
- package/dist/cjs/components/Input/InputLabelInfo.js +58 -0
- package/dist/cjs/components/Input/InputLabelInfo.js.map +1 -0
- package/dist/cjs/components/Input/InputLabelInfo.module.css +5 -0
- package/dist/cjs/components/Menu/Menu.d.ts +1 -1
- package/dist/cjs/components/Modal/Modal.js +1 -1
- package/dist/cjs/components/Modal/Modal.js.map +1 -1
- package/dist/cjs/components/Modal/ModalFooter.js +2 -0
- package/dist/cjs/components/Modal/ModalFooter.js.map +1 -1
- package/dist/cjs/components/Modal/ModalFooter.module.css +2 -2
- package/dist/cjs/components/Prompt/Prompt.context.d.ts +1 -1
- package/dist/cjs/components/Prompt/Prompt.context.d.ts.map +1 -1
- package/dist/cjs/components/Prompt/Prompt.d.ts +33 -33
- package/dist/cjs/components/Prompt/Prompt.d.ts.map +1 -1
- package/dist/cjs/components/Prompt/Prompt.js +38 -18
- package/dist/cjs/components/Prompt/Prompt.js.map +1 -1
- package/dist/cjs/components/Prompt/Prompt.module.css +0 -17
- package/dist/cjs/components/Prompt/PromptCancelButton.d.ts.map +1 -1
- package/dist/cjs/components/Prompt/PromptCancelButton.js +1 -0
- package/dist/cjs/components/Prompt/PromptCancelButton.js.map +1 -1
- package/dist/cjs/components/Prompt/PromptConfirmButton.d.ts.map +1 -1
- package/dist/cjs/components/Prompt/PromptConfirmButton.js +2 -1
- package/dist/cjs/components/Prompt/PromptConfirmButton.js.map +1 -1
- package/dist/cjs/components/StickyFooter/StickyFooter.js +1 -1
- package/dist/cjs/components/StickyFooter/StickyFooter.js.map +1 -1
- package/dist/cjs/components/Table/Table.d.ts +4 -4
- package/dist/cjs/components/Table/layouts/TableLayoutControl.d.ts +1 -1
- package/dist/cjs/components/Table/layouts/TableLayoutControl.d.ts.map +1 -1
- package/dist/cjs/components/Table/layouts/row-layout/RowLayoutBody.d.ts +1 -1
- package/dist/cjs/components/Table/layouts/row-layout/RowLayoutContext.d.ts +1 -1
- package/dist/cjs/components/Table/layouts/row-layout/RowLayoutContext.d.ts.map +1 -1
- package/dist/cjs/components/Table/layouts/row-layout/RowLayoutHeader.d.ts +1 -1
- package/dist/cjs/components/Table/table-actions/TableActionItem.d.ts +3 -3
- package/dist/cjs/components/Table/table-actions/TableActionsList.d.ts +2 -2
- package/dist/cjs/components/Table/table-header/Th.d.ts +1 -1
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +7 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/styles/Breadcrumbs.module.css +0 -4
- package/dist/cjs/styles/Checkbox.module.css +0 -1
- package/dist/cjs/styles/InputWrapper.module.css +0 -4
- package/dist/cjs/styles/NavLink.module.css +0 -2
- package/dist/cjs/styles/Radio.module.css +0 -1
- package/dist/cjs/styles/RadioCard.module.css +0 -1
- package/dist/cjs/styles/Select.module.css +0 -2
- package/dist/cjs/styles/Tabs.module.css +2 -2
- package/dist/cjs/theme/Theme.js +3 -5
- 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 +3 -6
- package/dist/cjs/theme/plasmaCSSVariablesResolver.js.map +1 -1
- package/dist/esm/components/ActionIcon/ActionIcon.d.ts +3 -3
- package/dist/esm/components/Alert/Alert.d.ts +3 -3
- package/dist/esm/components/Alert/Alert.js +4 -12
- package/dist/esm/components/Alert/Alert.js.map +1 -1
- package/dist/esm/components/Badge/Badge.d.ts +3 -3
- package/dist/esm/components/BrowserPreview/BrowserPreview.js +1 -2
- package/dist/esm/components/BrowserPreview/BrowserPreview.js.map +1 -1
- package/dist/esm/components/Button/Button.d.ts +3 -3
- package/dist/esm/components/ChildForm/ChildForm.d.ts +5 -4
- package/dist/esm/components/ChildForm/ChildForm.d.ts.map +1 -1
- package/dist/esm/components/ChildForm/ChildForm.js +4 -2
- package/dist/esm/components/ChildForm/ChildForm.js.map +1 -1
- package/dist/esm/components/EllipsisText/EllipsisText.d.ts +3 -3
- package/dist/esm/components/Header/Header.module.css +0 -5
- package/dist/esm/components/Header/HeaderBreadcrumbs/HeaderBreadcrumbAnchor.d.ts +3 -3
- package/dist/esm/components/Header/HeaderBreadcrumbs/HeaderBreadcrumbText.d.ts +3 -3
- package/dist/esm/components/Header/HeaderDocAnchor/HeaderDocAnchor.js +2 -4
- package/dist/esm/components/Header/HeaderDocAnchor/HeaderDocAnchor.js.map +1 -1
- package/dist/esm/components/InfoToken/InfoToken.d.ts +26 -82
- package/dist/esm/components/InfoToken/InfoToken.d.ts.map +1 -1
- package/dist/esm/components/InfoToken/InfoToken.js +61 -57
- package/dist/esm/components/InfoToken/InfoToken.js.map +1 -1
- package/dist/esm/components/InfoToken/InfoToken.module.css +11 -3
- package/dist/esm/components/InlineConfirm/InlineConfirmTarget.d.ts +3 -3
- package/dist/esm/components/Input/Input.d.ts +14 -1
- package/dist/esm/components/Input/Input.d.ts.map +1 -1
- package/dist/esm/components/Input/Input.js +7 -2
- package/dist/esm/components/Input/Input.js.map +1 -1
- package/dist/esm/components/Input/InputLabelInfo.d.ts +17 -0
- package/dist/esm/components/Input/InputLabelInfo.d.ts.map +1 -0
- package/dist/esm/components/Input/InputLabelInfo.js +35 -0
- package/dist/esm/components/Input/InputLabelInfo.js.map +1 -0
- package/dist/esm/components/Input/InputLabelInfo.module.css +5 -0
- package/dist/esm/components/Modal/Modal.js +1 -1
- package/dist/esm/components/Modal/Modal.js.map +1 -1
- package/dist/esm/components/Modal/ModalFooter.js +2 -0
- package/dist/esm/components/Modal/ModalFooter.js.map +1 -1
- package/dist/esm/components/Modal/ModalFooter.module.css +2 -2
- package/dist/esm/components/Prompt/Prompt.d.ts +33 -33
- package/dist/esm/components/Prompt/Prompt.d.ts.map +1 -1
- package/dist/esm/components/Prompt/Prompt.js +38 -19
- package/dist/esm/components/Prompt/Prompt.js.map +1 -1
- package/dist/esm/components/Prompt/Prompt.module.css +0 -17
- package/dist/esm/components/Prompt/PromptCancelButton.d.ts.map +1 -1
- package/dist/esm/components/Prompt/PromptCancelButton.js +1 -0
- package/dist/esm/components/Prompt/PromptCancelButton.js.map +1 -1
- package/dist/esm/components/Prompt/PromptConfirmButton.d.ts.map +1 -1
- package/dist/esm/components/Prompt/PromptConfirmButton.js +2 -1
- package/dist/esm/components/Prompt/PromptConfirmButton.js.map +1 -1
- package/dist/esm/components/StickyFooter/StickyFooter.js +1 -1
- package/dist/esm/components/StickyFooter/StickyFooter.js.map +1 -1
- package/dist/esm/components/Table/Table.d.ts +3 -3
- package/dist/esm/components/Table/table-actions/TableActionItem.d.ts +3 -3
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/styles/Breadcrumbs.module.css +0 -4
- package/dist/esm/styles/Checkbox.module.css +0 -1
- package/dist/esm/styles/InputWrapper.module.css +0 -4
- package/dist/esm/styles/NavLink.module.css +0 -2
- package/dist/esm/styles/Radio.module.css +0 -1
- package/dist/esm/styles/RadioCard.module.css +0 -1
- package/dist/esm/styles/Select.module.css +0 -2
- package/dist/esm/styles/Tabs.module.css +2 -2
- package/dist/esm/theme/Theme.js +3 -5
- 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 +3 -6
- package/dist/esm/theme/plasmaCSSVariablesResolver.js.map +1 -1
- package/package.json +23 -23
- package/src/components/Alert/Alert.tsx +4 -4
- package/src/components/BrowserPreview/BrowserPreview.tsx +1 -1
- package/src/components/ChildForm/ChildForm.tsx +10 -3
- package/src/components/ChildForm/__tests__/ChildForm.spec.tsx +29 -4
- package/src/components/Header/Header.module.css +0 -5
- package/src/components/Header/HeaderDocAnchor/HeaderDocAnchor.tsx +2 -2
- package/src/components/InfoToken/InfoToken.module.css +11 -3
- package/src/components/InfoToken/InfoToken.tsx +83 -67
- package/src/components/Input/Input.ts +24 -2
- package/src/components/Input/InputLabelInfo.module.css +5 -0
- package/src/components/Input/InputLabelInfo.tsx +43 -0
- package/src/components/Input/__tests__/Input.spec.tsx +33 -0
- package/src/components/Modal/Modal.tsx +1 -1
- package/src/components/Modal/ModalFooter.module.css +2 -2
- package/src/components/Modal/ModalFooter.tsx +3 -1
- package/src/components/Prompt/Prompt.module.css +0 -17
- package/src/components/Prompt/Prompt.tsx +48 -34
- package/src/components/Prompt/PromptCancelButton.tsx +3 -1
- package/src/components/Prompt/PromptConfirmButton.tsx +4 -2
- package/src/components/Prompt/__tests__/Prompt.spec.tsx +18 -16
- package/src/components/StickyFooter/StickyFooter.tsx +1 -1
- package/src/components/Switch/__tests__/Switch.spec.tsx +27 -0
- package/src/index.ts +9 -1
- package/src/styles/Breadcrumbs.module.css +0 -4
- package/src/styles/Checkbox.module.css +0 -1
- package/src/styles/InputWrapper.module.css +0 -4
- package/src/styles/NavLink.module.css +0 -2
- package/src/styles/Radio.module.css +0 -1
- package/src/styles/RadioCard.module.css +0 -1
- package/src/styles/Select.module.css +0 -2
- package/src/styles/Tabs.module.css +2 -2
- package/src/theme/Theme.tsx +3 -3
- package/src/theme/__tests__/plasmaCSSVariablesResolver.spec.ts +3 -6
- package/src/theme/plasmaCSSVariablesResolver.ts +3 -6
- package/dist/cjs/components/Prompt/icons/CriticalIcon.d.ts +0 -3
- package/dist/cjs/components/Prompt/icons/CriticalIcon.d.ts.map +0 -1
- package/dist/cjs/components/Prompt/icons/CriticalIcon.js +0 -29
- package/dist/cjs/components/Prompt/icons/CriticalIcon.js.map +0 -1
- package/dist/cjs/components/Prompt/icons/InfoIcon.d.ts +0 -3
- package/dist/cjs/components/Prompt/icons/InfoIcon.d.ts.map +0 -1
- package/dist/cjs/components/Prompt/icons/InfoIcon.js +0 -29
- package/dist/cjs/components/Prompt/icons/InfoIcon.js.map +0 -1
- package/dist/cjs/components/Prompt/icons/SuccessIcon.d.ts +0 -3
- package/dist/cjs/components/Prompt/icons/SuccessIcon.d.ts.map +0 -1
- package/dist/cjs/components/Prompt/icons/SuccessIcon.js +0 -29
- package/dist/cjs/components/Prompt/icons/SuccessIcon.js.map +0 -1
- package/dist/cjs/components/Prompt/icons/WarningIcon.d.ts +0 -3
- package/dist/cjs/components/Prompt/icons/WarningIcon.d.ts.map +0 -1
- package/dist/cjs/components/Prompt/icons/WarningIcon.js +0 -29
- package/dist/cjs/components/Prompt/icons/WarningIcon.js.map +0 -1
- package/dist/esm/components/Prompt/icons/CriticalIcon.d.ts +0 -3
- package/dist/esm/components/Prompt/icons/CriticalIcon.d.ts.map +0 -1
- package/dist/esm/components/Prompt/icons/CriticalIcon.js +0 -17
- package/dist/esm/components/Prompt/icons/CriticalIcon.js.map +0 -1
- package/dist/esm/components/Prompt/icons/InfoIcon.d.ts +0 -3
- package/dist/esm/components/Prompt/icons/InfoIcon.d.ts.map +0 -1
- package/dist/esm/components/Prompt/icons/InfoIcon.js +0 -17
- package/dist/esm/components/Prompt/icons/InfoIcon.js.map +0 -1
- package/dist/esm/components/Prompt/icons/SuccessIcon.d.ts +0 -3
- package/dist/esm/components/Prompt/icons/SuccessIcon.d.ts.map +0 -1
- package/dist/esm/components/Prompt/icons/SuccessIcon.js +0 -17
- package/dist/esm/components/Prompt/icons/SuccessIcon.js.map +0 -1
- package/dist/esm/components/Prompt/icons/WarningIcon.d.ts +0 -3
- package/dist/esm/components/Prompt/icons/WarningIcon.d.ts.map +0 -1
- package/dist/esm/components/Prompt/icons/WarningIcon.js +0 -17
- package/dist/esm/components/Prompt/icons/WarningIcon.js.map +0 -1
- package/src/components/Prompt/icons/CriticalIcon.tsx +0 -18
- package/src/components/Prompt/icons/InfoIcon.tsx +0 -18
- package/src/components/Prompt/icons/SuccessIcon.tsx +0 -17
- package/src/components/Prompt/icons/WarningIcon.tsx +0 -18
|
@@ -16,7 +16,7 @@ export declare const ActionIcon: (<C = "button">(props: import("@mantine/core").
|
|
|
16
16
|
}) | (ActionIconProps & {
|
|
17
17
|
component: React.ElementType;
|
|
18
18
|
renderRoot?: (props: Record<string, any>) => any;
|
|
19
|
-
})>, never> & import("@mantine/core
|
|
19
|
+
})>, never> & import("@mantine/core").ThemeExtend<{
|
|
20
20
|
props: ActionIconProps;
|
|
21
21
|
defaultRef: HTMLButtonElement;
|
|
22
22
|
defaultComponent: "button";
|
|
@@ -34,7 +34,7 @@ export declare const ActionIcon: (<C = "button">(props: import("@mantine/core").
|
|
|
34
34
|
DestructiveTertiary: typeof ActionIconDestructiveTertiary;
|
|
35
35
|
DestructiveQuaternary: typeof ActionIconDestructiveQuaternary;
|
|
36
36
|
};
|
|
37
|
-
}> & import("@mantine/core
|
|
37
|
+
}> & import("@mantine/core").ComponentClasses<{
|
|
38
38
|
props: ActionIconProps;
|
|
39
39
|
defaultRef: HTMLButtonElement;
|
|
40
40
|
defaultComponent: "button";
|
|
@@ -52,7 +52,7 @@ export declare const ActionIcon: (<C = "button">(props: import("@mantine/core").
|
|
|
52
52
|
DestructiveTertiary: typeof ActionIconDestructiveTertiary;
|
|
53
53
|
DestructiveQuaternary: typeof ActionIconDestructiveQuaternary;
|
|
54
54
|
};
|
|
55
|
-
}> & import("@mantine/core
|
|
55
|
+
}> & import("@mantine/core").PolymorphicComponentWithProps<{
|
|
56
56
|
props: ActionIconProps;
|
|
57
57
|
defaultRef: HTMLButtonElement;
|
|
58
58
|
defaultComponent: "button";
|
|
@@ -7,7 +7,7 @@ export declare const Alert: (<C = "div">(props: import("@mantine/core").Polymorp
|
|
|
7
7
|
}) | (AlertProps & {
|
|
8
8
|
component: React.ElementType;
|
|
9
9
|
renderRoot?: (props: Record<string, any>) => any;
|
|
10
|
-
})>, never> & import("@mantine/core
|
|
10
|
+
})>, never> & import("@mantine/core").ThemeExtend<{
|
|
11
11
|
props: AlertProps;
|
|
12
12
|
defaultRef: HTMLDivElement;
|
|
13
13
|
defaultComponent: "div";
|
|
@@ -20,7 +20,7 @@ export declare const Alert: (<C = "div">(props: import("@mantine/core").Polymorp
|
|
|
20
20
|
Warning: typeof AlertWarning;
|
|
21
21
|
Critical: typeof AlertCritical;
|
|
22
22
|
};
|
|
23
|
-
}> & import("@mantine/core
|
|
23
|
+
}> & import("@mantine/core").ComponentClasses<{
|
|
24
24
|
props: AlertProps;
|
|
25
25
|
defaultRef: HTMLDivElement;
|
|
26
26
|
defaultComponent: "div";
|
|
@@ -33,7 +33,7 @@ export declare const Alert: (<C = "div">(props: import("@mantine/core").Polymorp
|
|
|
33
33
|
Warning: typeof AlertWarning;
|
|
34
34
|
Critical: typeof AlertCritical;
|
|
35
35
|
};
|
|
36
|
-
}> & import("@mantine/core
|
|
36
|
+
}> & import("@mantine/core").PolymorphicComponentWithProps<{
|
|
37
37
|
props: AlertProps;
|
|
38
38
|
defaultRef: HTMLDivElement;
|
|
39
39
|
defaultComponent: "div";
|
|
@@ -21,9 +21,7 @@ var Alert = (0, _core.polymorphicFactory)(function(props, ref) {
|
|
|
21
21
|
Alert.displayName = 'Alert';
|
|
22
22
|
var AlertInformation = Alert.withProps({
|
|
23
23
|
color: 'gray',
|
|
24
|
-
icon: /*#__PURE__*/ (0, _jsxruntime.jsx)(_InfoToken.InfoToken, {
|
|
25
|
-
variant: "information"
|
|
26
|
-
}),
|
|
24
|
+
icon: /*#__PURE__*/ (0, _jsxruntime.jsx)(_InfoToken.InfoToken.Information, {}),
|
|
27
25
|
vars: function vars() {
|
|
28
26
|
return {
|
|
29
27
|
root: {
|
|
@@ -35,9 +33,7 @@ var AlertInformation = Alert.withProps({
|
|
|
35
33
|
});
|
|
36
34
|
AlertInformation.displayName = 'Alert.Information';
|
|
37
35
|
var AlertAdvice = Alert.withProps({
|
|
38
|
-
icon: /*#__PURE__*/ (0, _jsxruntime.jsx)(_InfoToken.InfoToken, {
|
|
39
|
-
variant: "advice"
|
|
40
|
-
}),
|
|
36
|
+
icon: /*#__PURE__*/ (0, _jsxruntime.jsx)(_InfoToken.InfoToken.Advice, {}),
|
|
41
37
|
vars: function vars() {
|
|
42
38
|
return {
|
|
43
39
|
root: {
|
|
@@ -50,9 +46,7 @@ var AlertAdvice = Alert.withProps({
|
|
|
50
46
|
AlertAdvice.displayName = 'Alert.Advice';
|
|
51
47
|
var AlertWarning = Alert.withProps({
|
|
52
48
|
color: 'warning',
|
|
53
|
-
icon: /*#__PURE__*/ (0, _jsxruntime.jsx)(_InfoToken.InfoToken, {
|
|
54
|
-
variant: "warning"
|
|
55
|
-
}),
|
|
49
|
+
icon: /*#__PURE__*/ (0, _jsxruntime.jsx)(_InfoToken.InfoToken.Warning, {}),
|
|
56
50
|
vars: function vars() {
|
|
57
51
|
return {
|
|
58
52
|
root: {
|
|
@@ -64,9 +58,7 @@ var AlertWarning = Alert.withProps({
|
|
|
64
58
|
});
|
|
65
59
|
AlertWarning.displayName = 'Alert.Warning';
|
|
66
60
|
var AlertCritical = Alert.withProps({
|
|
67
|
-
icon: /*#__PURE__*/ (0, _jsxruntime.jsx)(_InfoToken.InfoToken, {
|
|
68
|
-
variant: "error"
|
|
69
|
-
}),
|
|
61
|
+
icon: /*#__PURE__*/ (0, _jsxruntime.jsx)(_InfoToken.InfoToken.Error, {}),
|
|
70
62
|
vars: function vars() {
|
|
71
63
|
return {
|
|
72
64
|
root: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/Alert/Alert.tsx"],"sourcesContent":["import {\n AlertCssVariables,\n AlertProps,\n AlertStylesNames,\n AlertVariant,\n Factory,\n Alert as MantineAlert,\n polymorphicFactory,\n} from '@mantine/core';\nimport {type ComponentType} from 'react';\nimport {InfoToken} from '../InfoToken/InfoToken.js';\n\ntype AlertOverloadFactory = Factory<{\n props: AlertProps;\n defaultRef: HTMLDivElement;\n defaultComponent: 'div';\n stylesNames: AlertStylesNames;\n vars: AlertCssVariables;\n variant: AlertVariant;\n staticComponents: {\n Information: typeof AlertInformation;\n Advice: typeof AlertAdvice;\n Warning: typeof AlertWarning;\n Critical: typeof AlertCritical;\n };\n}>;\n\nexport const Alert = polymorphicFactory<AlertOverloadFactory>((props, ref) => <MantineAlert {...props} ref={ref} />);\nAlert.displayName = 'Alert';\n\nconst AlertInformation = Alert.withProps({\n color: 'gray',\n icon: <InfoToken
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/Alert/Alert.tsx"],"sourcesContent":["import {\n AlertCssVariables,\n AlertProps,\n AlertStylesNames,\n AlertVariant,\n Factory,\n Alert as MantineAlert,\n polymorphicFactory,\n} from '@mantine/core';\nimport {type ComponentType} from 'react';\nimport {InfoToken} from '../InfoToken/InfoToken.js';\n\ntype AlertOverloadFactory = Factory<{\n props: AlertProps;\n defaultRef: HTMLDivElement;\n defaultComponent: 'div';\n stylesNames: AlertStylesNames;\n vars: AlertCssVariables;\n variant: AlertVariant;\n staticComponents: {\n Information: typeof AlertInformation;\n Advice: typeof AlertAdvice;\n Warning: typeof AlertWarning;\n Critical: typeof AlertCritical;\n };\n}>;\n\nexport const Alert = polymorphicFactory<AlertOverloadFactory>((props, ref) => <MantineAlert {...props} ref={ref} />);\nAlert.displayName = 'Alert';\n\nconst AlertInformation = Alert.withProps({\n color: 'gray',\n icon: <InfoToken.Information />,\n vars: () => ({\n root: {\n '--alert-color': 'var(--mantine-color-text)',\n '--alert-bg': 'var(--mantine-color-gray-light)',\n },\n }),\n});\n(AlertInformation as ComponentType).displayName = 'Alert.Information';\n\nconst AlertAdvice = Alert.withProps({\n icon: <InfoToken.Advice />,\n vars: () => ({\n root: {\n '--alert-color': 'var(--mantine-primary-color-filled)',\n '--alert-bg': 'var(--mantine-primary-color-light)',\n },\n }),\n});\n(AlertAdvice as ComponentType).displayName = 'Alert.Advice';\n\nconst AlertWarning = Alert.withProps({\n color: 'warning',\n icon: <InfoToken.Warning />,\n vars: () => ({\n root: {\n '--alert-color': 'var(--mantine-color-warning-filled)',\n '--alert-bg': 'var(--mantine-color-warning-light)',\n },\n }),\n});\n(AlertWarning as ComponentType).displayName = 'Alert.Warning';\n\nconst AlertCritical = Alert.withProps({\n icon: <InfoToken.Error />,\n vars: () => ({\n root: {\n '--alert-color': 'var(--mantine-color-error)',\n '--alert-bg': 'var(--mantine-color-red-light)',\n },\n }),\n});\n(AlertCritical as ComponentType).displayName = 'Alert.Critical';\n\nAlert.Information = AlertInformation;\nAlert.Advice = AlertAdvice;\nAlert.Warning = AlertWarning;\nAlert.Critical = AlertCritical;\n"],"names":["Alert","polymorphicFactory","props","ref","MantineAlert","displayName","AlertInformation","withProps","color","icon","InfoToken","Information","vars","root","AlertAdvice","Advice","AlertWarning","Warning","AlertCritical","Error","Critical"],"mappings":";;;;+BA2BaA;;;eAAAA;;;;;;oBAnBN;yBAEiB;AAiBjB,IAAMA,QAAQC,IAAAA,wBAAkB,EAAuB,SAACC,OAAOC;yBAAQ,qBAACC,WAAY,8CAAKF;QAAOC,KAAKA;;;AAC5GH,MAAMK,WAAW,GAAG;AAEpB,IAAMC,mBAAmBN,MAAMO,SAAS,CAAC;IACrCC,OAAO;IACPC,oBAAM,qBAACC,oBAAS,CAACC,WAAW;IAC5BC,MAAM,SAANA;eAAa;YACTC,MAAM;gBACF,iBAAiB;gBACjB,cAAc;YAClB;QACJ;;AACJ;AACCP,iBAAmCD,WAAW,GAAG;AAElD,IAAMS,cAAcd,MAAMO,SAAS,CAAC;IAChCE,oBAAM,qBAACC,oBAAS,CAACK,MAAM;IACvBH,MAAM,SAANA;eAAa;YACTC,MAAM;gBACF,iBAAiB;gBACjB,cAAc;YAClB;QACJ;;AACJ;AACCC,YAA8BT,WAAW,GAAG;AAE7C,IAAMW,eAAehB,MAAMO,SAAS,CAAC;IACjCC,OAAO;IACPC,oBAAM,qBAACC,oBAAS,CAACO,OAAO;IACxBL,MAAM,SAANA;eAAa;YACTC,MAAM;gBACF,iBAAiB;gBACjB,cAAc;YAClB;QACJ;;AACJ;AACCG,aAA+BX,WAAW,GAAG;AAE9C,IAAMa,gBAAgBlB,MAAMO,SAAS,CAAC;IAClCE,oBAAM,qBAACC,oBAAS,CAACS,KAAK;IACtBP,MAAM,SAANA;eAAa;YACTC,MAAM;gBACF,iBAAiB;gBACjB,cAAc;YAClB;QACJ;;AACJ;AACCK,cAAgCb,WAAW,GAAG;AAE/CL,MAAMW,WAAW,GAAGL;AACpBN,MAAMe,MAAM,GAAGD;AACfd,MAAMiB,OAAO,GAAGD;AAChBhB,MAAMoB,QAAQ,GAAGF"}
|
|
@@ -41,7 +41,7 @@ export declare const Badge: (<C = "div">(props: PolymorphicComponentProps<C, Bad
|
|
|
41
41
|
}) | (BadgeProps & {
|
|
42
42
|
component: React.ElementType;
|
|
43
43
|
renderRoot?: (props: Record<string, any>) => any;
|
|
44
|
-
})>, never> & import("@mantine/core
|
|
44
|
+
})>, never> & import("@mantine/core").ThemeExtend<{
|
|
45
45
|
props: BadgeProps;
|
|
46
46
|
defaultRef: HTMLDivElement;
|
|
47
47
|
defaultComponent: "div";
|
|
@@ -56,7 +56,7 @@ export declare const Badge: (<C = "div">(props: PolymorphicComponentProps<C, Bad
|
|
|
56
56
|
Warning: SemanticBadge;
|
|
57
57
|
Disabled: SemanticBadge;
|
|
58
58
|
};
|
|
59
|
-
}> & import("@mantine/core
|
|
59
|
+
}> & import("@mantine/core").ComponentClasses<{
|
|
60
60
|
props: BadgeProps;
|
|
61
61
|
defaultRef: HTMLDivElement;
|
|
62
62
|
defaultComponent: "div";
|
|
@@ -71,7 +71,7 @@ export declare const Badge: (<C = "div">(props: PolymorphicComponentProps<C, Bad
|
|
|
71
71
|
Warning: SemanticBadge;
|
|
72
72
|
Disabled: SemanticBadge;
|
|
73
73
|
};
|
|
74
|
-
}> & import("@mantine/core
|
|
74
|
+
}> & import("@mantine/core").PolymorphicComponentWithProps<{
|
|
75
75
|
props: BadgeProps;
|
|
76
76
|
defaultRef: HTMLDivElement;
|
|
77
77
|
defaultComponent: "div";
|
|
@@ -11,5 +11,5 @@ export interface BrowserPreviewProps extends StackProps {
|
|
|
11
11
|
*/
|
|
12
12
|
title?: string;
|
|
13
13
|
}
|
|
14
|
-
export declare const BrowserPreview: ({ children, headerTooltip, title, className, ...others }: PropsWithChildren<BrowserPreviewProps>) => import("react/jsx-runtime
|
|
14
|
+
export declare const BrowserPreview: ({ children, headerTooltip, title, className, ...others }: PropsWithChildren<BrowserPreviewProps>) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
//# sourceMappingURL=BrowserPreview.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrowserPreview.d.ts","sourceRoot":"","sources":["../../../../src/components/BrowserPreview/BrowserPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,UAAU,EAAgB,MAAM,eAAe,CAAC;AAE5E,OAAO,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAC;AAIxC,MAAM,WAAW,mBAAoB,SAAQ,UAAU;IACnD;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,cAAc,GAAI,0DAM5B,iBAAiB,CAAC,mBAAmB,CAAC
|
|
1
|
+
{"version":3,"file":"BrowserPreview.d.ts","sourceRoot":"","sources":["../../../../src/components/BrowserPreview/BrowserPreview.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,UAAU,EAAgB,MAAM,eAAe,CAAC;AAE5E,OAAO,EAAC,iBAAiB,EAAC,MAAM,OAAO,CAAC;AAIxC,MAAM,WAAW,mBAAoB,SAAQ,UAAU;IACnD;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,cAAc,GAAI,0DAM5B,iBAAiB,CAAC,mBAAmB,CAAC,4CA6BxC,CAAC"}
|
|
@@ -52,8 +52,7 @@ var BrowserPreview = function BrowserPreview(_0) {
|
|
|
52
52
|
label: headerTooltip,
|
|
53
53
|
position: "right",
|
|
54
54
|
maw: 400,
|
|
55
|
-
children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_InfoToken.InfoToken, {
|
|
56
|
-
variant: "information",
|
|
55
|
+
children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_InfoToken.InfoToken.Information, {
|
|
57
56
|
className: _BrowserPreviewmodulecss.default.infoIcon
|
|
58
57
|
})
|
|
59
58
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/BrowserPreview/BrowserPreview.tsx"],"sourcesContent":["import {Flex, Group, Stack, StackProps, Text, Tooltip} from '@mantine/core';\nimport cx from 'clsx';\nimport {PropsWithChildren} from 'react';\nimport {InfoToken} from '../InfoToken/InfoToken.js';\nimport BrowserPreviewClasses from './BrowserPreview.module.css';\n\nexport interface BrowserPreviewProps extends StackProps {\n /**\n * Text to display in a tooltip in the header.\n *\n */\n headerTooltip?: string;\n /**\n * Custom title to be displayed at the center of the header.\n */\n title?: string;\n}\n\nexport const BrowserPreview = ({\n children,\n headerTooltip,\n title,\n className,\n ...others\n}: PropsWithChildren<BrowserPreviewProps>) => (\n <Stack className={cx(BrowserPreviewClasses.root, className)} gap={0} maw={544} mih={0} {...others}>\n <Group\n className={BrowserPreviewClasses.header}\n justify=\"space-between\"\n p=\"sm\"\n bg=\"var(--mantine-color-default-hover)\"\n wrap=\"nowrap\"\n >\n <Group gap=\"xs\" wrap=\"nowrap\">\n <Text c=\"dimmed\" fz=\"md\" lh=\"18px\">\n Preview\n </Text>\n {!!headerTooltip && (\n <Tooltip label={headerTooltip} position=\"right\" maw={400}>\n <InfoToken
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/BrowserPreview/BrowserPreview.tsx"],"sourcesContent":["import {Flex, Group, Stack, StackProps, Text, Tooltip} from '@mantine/core';\nimport cx from 'clsx';\nimport {PropsWithChildren} from 'react';\nimport {InfoToken} from '../InfoToken/InfoToken.js';\nimport BrowserPreviewClasses from './BrowserPreview.module.css';\n\nexport interface BrowserPreviewProps extends StackProps {\n /**\n * Text to display in a tooltip in the header.\n *\n */\n headerTooltip?: string;\n /**\n * Custom title to be displayed at the center of the header.\n */\n title?: string;\n}\n\nexport const BrowserPreview = ({\n children,\n headerTooltip,\n title,\n className,\n ...others\n}: PropsWithChildren<BrowserPreviewProps>) => (\n <Stack className={cx(BrowserPreviewClasses.root, className)} gap={0} maw={544} mih={0} {...others}>\n <Group\n className={BrowserPreviewClasses.header}\n justify=\"space-between\"\n p=\"sm\"\n bg=\"var(--mantine-color-default-hover)\"\n wrap=\"nowrap\"\n >\n <Group gap=\"xs\" wrap=\"nowrap\">\n <Text c=\"dimmed\" fz=\"md\" lh=\"18px\">\n Preview\n </Text>\n {!!headerTooltip && (\n <Tooltip label={headerTooltip} position=\"right\" maw={400}>\n <InfoToken.Information className={BrowserPreviewClasses.infoIcon} />\n </Tooltip>\n )}\n </Group>\n {title && (\n <Text lineClamp={1} c=\"dimmed\" fz=\"md\" lh=\"18px\">\n {title}\n </Text>\n )}\n </Group>\n <Flex className={BrowserPreviewClasses.content} p=\"lg\" direction=\"column\">\n {children}\n </Flex>\n </Stack>\n);\n"],"names":["BrowserPreview","children","headerTooltip","title","className","others","Stack","cx","BrowserPreviewClasses","root","gap","maw","mih","Group","header","justify","p","bg","wrap","Text","c","fz","lh","Tooltip","label","position","InfoToken","Information","infoIcon","lineClamp","Flex","content","direction"],"mappings":";;;;+BAkBaA;;;eAAAA;;;;;;;;oBAlB+C;6DAC7C;yBAES;gFACU;AAc3B,IAAMA,iBAAiB;QAC1BC,cAAAA,UACAC,mBAAAA,eACAC,WAAAA,OACAC,eAAAA,WACGC;;;;;;yBAEH,sBAACC,WAAK;QAACF,WAAWG,IAAAA,aAAE,EAACC,gCAAqB,CAACC,IAAI,EAAEL;QAAYM,KAAK;QAAGC,KAAK;QAAKC,KAAK;OAAOP;;0BACvF,sBAACQ,WAAK;gBACFT,WAAWI,gCAAqB,CAACM,MAAM;gBACvCC,SAAQ;gBACRC,GAAE;gBACFC,IAAG;gBACHC,MAAK;;kCAEL,sBAACL,WAAK;wBAACH,KAAI;wBAAKQ,MAAK;;0CACjB,qBAACC,UAAI;gCAACC,GAAE;gCAASC,IAAG;gCAAKC,IAAG;0CAAO;;4BAGlC,CAAC,CAACpB,+BACC,qBAACqB,aAAO;gCAACC,OAAOtB;gCAAeuB,UAAS;gCAAQd,KAAK;0CACjD,cAAA,qBAACe,oBAAS,CAACC,WAAW;oCAACvB,WAAWI,gCAAqB,CAACoB,QAAQ;;;;;oBAI3EzB,uBACG,qBAACgB,UAAI;wBAACU,WAAW;wBAAGT,GAAE;wBAASC,IAAG;wBAAKC,IAAG;kCACrCnB;;;;0BAIb,qBAAC2B,UAAI;gBAAC1B,WAAWI,gCAAqB,CAACuB,OAAO;gBAAEf,GAAE;gBAAKgB,WAAU;0BAC5D/B"}
|
|
@@ -16,7 +16,7 @@ export declare const Button: (<C = "button">(props: import("@mantine/core").Poly
|
|
|
16
16
|
}) | (ButtonProps & {
|
|
17
17
|
component: React.ElementType;
|
|
18
18
|
renderRoot?: (props: Record<string, any>) => any;
|
|
19
|
-
})>, never> & import("@mantine/core
|
|
19
|
+
})>, never> & import("@mantine/core").ThemeExtend<{
|
|
20
20
|
props: ButtonProps;
|
|
21
21
|
defaultRef: HTMLButtonElement;
|
|
22
22
|
defaultComponent: "button";
|
|
@@ -34,7 +34,7 @@ export declare const Button: (<C = "button">(props: import("@mantine/core").Poly
|
|
|
34
34
|
DestructiveTertiary: typeof ButtonDestructiveTertiary;
|
|
35
35
|
DestructiveQuaternary: typeof ButtonDestructiveQuaternary;
|
|
36
36
|
};
|
|
37
|
-
}> & import("@mantine/core
|
|
37
|
+
}> & import("@mantine/core").ComponentClasses<{
|
|
38
38
|
props: ButtonProps;
|
|
39
39
|
defaultRef: HTMLButtonElement;
|
|
40
40
|
defaultComponent: "button";
|
|
@@ -52,7 +52,7 @@ export declare const Button: (<C = "button">(props: import("@mantine/core").Poly
|
|
|
52
52
|
DestructiveTertiary: typeof ButtonDestructiveTertiary;
|
|
53
53
|
DestructiveQuaternary: typeof ButtonDestructiveQuaternary;
|
|
54
54
|
};
|
|
55
|
-
}> & import("@mantine/core
|
|
55
|
+
}> & import("@mantine/core").PolymorphicComponentWithProps<{
|
|
56
56
|
props: ButtonProps;
|
|
57
57
|
defaultRef: HTMLButtonElement;
|
|
58
58
|
defaultComponent: "button";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CollapseProps, Factory, StylesApiProps } from '@mantine/core';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
export type ChildFormStylesNames = 'root' | 'paper';
|
|
3
4
|
export interface ChildFormProps extends CollapseProps, StylesApiProps<ChildFormFactory> {
|
|
4
5
|
/**
|
|
@@ -8,7 +9,7 @@ export interface ChildFormProps extends CollapseProps, StylesApiProps<ChildFormF
|
|
|
8
9
|
/**
|
|
9
10
|
* Description of the child form.
|
|
10
11
|
*/
|
|
11
|
-
description?:
|
|
12
|
+
description?: ReactNode;
|
|
12
13
|
}
|
|
13
14
|
type ChildFormFactory = Factory<{
|
|
14
15
|
props: ChildFormProps;
|
|
@@ -24,17 +25,17 @@ export declare const ChildForm: (<C = "div">(props: import("@mantine/core").Poly
|
|
|
24
25
|
}) | (ChildFormProps & {
|
|
25
26
|
component: React.ElementType;
|
|
26
27
|
renderRoot?: (props: Record<string, any>) => any;
|
|
27
|
-
})>, never> & import("@mantine/core
|
|
28
|
+
})>, never> & import("@mantine/core").ThemeExtend<{
|
|
28
29
|
props: ChildFormProps;
|
|
29
30
|
defaultRef: HTMLDivElement;
|
|
30
31
|
defaultComponent: "div";
|
|
31
32
|
stylesNames: ChildFormStylesNames;
|
|
32
|
-
}> & import("@mantine/core
|
|
33
|
+
}> & import("@mantine/core").ComponentClasses<{
|
|
33
34
|
props: ChildFormProps;
|
|
34
35
|
defaultRef: HTMLDivElement;
|
|
35
36
|
defaultComponent: "div";
|
|
36
37
|
stylesNames: ChildFormStylesNames;
|
|
37
|
-
}> & import("@mantine/core
|
|
38
|
+
}> & import("@mantine/core").PolymorphicComponentWithProps<{
|
|
38
39
|
props: ChildFormProps;
|
|
39
40
|
defaultRef: HTMLDivElement;
|
|
40
41
|
defaultComponent: "div";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChildForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ChildForm/ChildForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,aAAa,EACb,OAAO,EAIP,cAAc,EAKjB,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"ChildForm.d.ts","sourceRoot":"","sources":["../../../../src/components/ChildForm/ChildForm.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEH,aAAa,EACb,OAAO,EAIP,cAAc,EAKjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAGhC,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,OAAO,CAAC;AAEpD,MAAM,WAAW,cAAe,SAAQ,aAAa,EAAE,cAAc,CAAC,gBAAgB,CAAC;IACnF;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;CAC3B;AAED,KAAK,gBAAgB,GAAG,OAAO,CAAC;IAC5B,KAAK,EAAE,cAAc,CAAC;IACtB,UAAU,EAAE,cAAc,CAAC;IAC3B,gBAAgB,EAAE,KAAK,CAAC;IACxB,WAAW,EAAE,oBAAoB,CAAC;CACrC,CAAC,CAAC;AAIH,eAAO,MAAM,SAAS;;;;;;;;;WARX,cAAc;gBACT,cAAc;sBACR,KAAK;iBACV,oBAAoB;;WAH1B,cAAc;gBACT,cAAc;sBACR,KAAK;iBACV,oBAAoB;;WAH1B,cAAc;gBACT,cAAc;sBACR,KAAK;iBACV,oBAAoB;EA2CnC,CAAC"}
|
|
@@ -28,6 +28,7 @@ var ChildForm = (0, _core.polymorphicFactory)(function(props, ref) {
|
|
|
28
28
|
"title",
|
|
29
29
|
"description"
|
|
30
30
|
]);
|
|
31
|
+
var hasDescription = description !== null && description !== undefined && description !== '' && typeof description !== 'boolean';
|
|
31
32
|
var getStyles = (0, _core.useStyles)({
|
|
32
33
|
name: 'ChildForm',
|
|
33
34
|
classes: _ChildFormmodulecss.default,
|
|
@@ -46,7 +47,7 @@ var ChildForm = (0, _core.polymorphicFactory)(function(props, ref) {
|
|
|
46
47
|
p: "md"
|
|
47
48
|
}, getStyles('paper')), {
|
|
48
49
|
children: [
|
|
49
|
-
(title ||
|
|
50
|
+
(title || hasDescription) && /*#__PURE__*/ (0, _jsxruntime.jsxs)(_core.Stack, {
|
|
50
51
|
gap: 0,
|
|
51
52
|
mb: "md",
|
|
52
53
|
children: [
|
|
@@ -54,7 +55,8 @@ var ChildForm = (0, _core.polymorphicFactory)(function(props, ref) {
|
|
|
54
55
|
order: 5,
|
|
55
56
|
children: title
|
|
56
57
|
}),
|
|
57
|
-
|
|
58
|
+
hasDescription && /*#__PURE__*/ (0, _jsxruntime.jsx)(_core.Text, {
|
|
59
|
+
component: "div",
|
|
58
60
|
c: "gray.7",
|
|
59
61
|
children: description
|
|
60
62
|
})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/ChildForm/ChildForm.tsx"],"sourcesContent":["import {\n Collapse,\n CollapseProps,\n Factory,\n Paper,\n polymorphicFactory,\n Stack,\n StylesApiProps,\n Text,\n Title,\n useProps,\n useStyles,\n} from '@mantine/core';\nimport classes from './ChildForm.module.css';\n\nexport type ChildFormStylesNames = 'root' | 'paper';\n\nexport interface ChildFormProps extends CollapseProps, StylesApiProps<ChildFormFactory> {\n /**\n * Title of the child form.\n */\n title?: string;\n /**\n * Description of the child form.\n */\n description?:
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/ChildForm/ChildForm.tsx"],"sourcesContent":["import {\n Collapse,\n CollapseProps,\n Factory,\n Paper,\n polymorphicFactory,\n Stack,\n StylesApiProps,\n Text,\n Title,\n useProps,\n useStyles,\n} from '@mantine/core';\nimport {ReactNode} from 'react';\nimport classes from './ChildForm.module.css';\n\nexport type ChildFormStylesNames = 'root' | 'paper';\n\nexport interface ChildFormProps extends CollapseProps, StylesApiProps<ChildFormFactory> {\n /**\n * Title of the child form.\n */\n title?: string;\n /**\n * Description of the child form.\n */\n description?: ReactNode;\n}\n\ntype ChildFormFactory = Factory<{\n props: ChildFormProps;\n defaultRef: HTMLDivElement;\n defaultComponent: 'div';\n stylesNames: ChildFormStylesNames;\n}>;\n\nconst defaultProps: Partial<ChildFormProps> = {};\n\nexport const ChildForm = polymorphicFactory<ChildFormFactory>((props, ref) => {\n const {className, children, style, classNames, styles, unstyled, vars, title, description, ...others} = useProps(\n 'ChildForm',\n defaultProps,\n props,\n );\n const hasDescription =\n description !== null && description !== undefined && description !== '' && typeof description !== 'boolean';\n\n const getStyles = useStyles<ChildFormFactory>({\n name: 'ChildForm',\n classes,\n props,\n className,\n style,\n classNames,\n styles,\n unstyled,\n vars,\n });\n\n return (\n <Collapse ref={ref} {...others} {...getStyles('root')}>\n <Paper p=\"md\" {...getStyles('paper')}>\n {(title || hasDescription) && (\n <Stack gap={0} mb=\"md\">\n {title && <Title order={5}>{title}</Title>}\n {hasDescription && (\n <Text component=\"div\" c=\"gray.7\">\n {description}\n </Text>\n )}\n </Stack>\n )}\n <Stack gap=\"md\">{children}</Stack>\n </Paper>\n </Collapse>\n );\n});\n\nChildForm.displayName = 'ChildForm';\n"],"names":["ChildForm","defaultProps","polymorphicFactory","props","ref","useProps","className","children","style","classNames","styles","unstyled","vars","title","description","others","hasDescription","undefined","getStyles","useStyles","name","classes","Collapse","Paper","p","Stack","gap","mb","Title","order","Text","component","c","displayName"],"mappings":";;;;+BAsCaA;;;eAAAA;;;;;;;;oBA1BN;2EAEa;AAsBpB,IAAMC,eAAwC,CAAC;AAExC,IAAMD,YAAYE,IAAAA,wBAAkB,EAAmB,SAACC,OAAOC;IAClE,IAAwGC,YAAAA,IAAAA,cAAQ,EAC5G,aACAJ,cACAE,QAHGG,YAAiGD,UAAjGC,WAAWC,WAAsFF,UAAtFE,UAAUC,QAA4EH,UAA5EG,OAAOC,aAAqEJ,UAArEI,YAAYC,SAAyDL,UAAzDK,QAAQC,WAAiDN,UAAjDM,UAAUC,OAAuCP,UAAvCO,MAAMC,QAAiCR,UAAjCQ,OAAOC,cAA0BT,UAA1BS,aAAgBC,sCAAUV;;;;;;;;;;;IAKxG,IAAMW,iBACFF,gBAAgB,QAAQA,gBAAgBG,aAAaH,gBAAgB,MAAM,OAAOA,gBAAgB;IAEtG,IAAMI,YAAYC,IAAAA,eAAS,EAAmB;QAC1CC,MAAM;QACNC,SAAAA,2BAAO;QACPlB,OAAAA;QACAG,WAAAA;QACAE,OAAAA;QACAC,YAAAA;QACAC,QAAAA;QACAC,UAAAA;QACAC,MAAAA;IACJ;IAEA,qBACI,qBAACU,cAAQ;QAAClB,KAAKA;OAASW,QAAYG,UAAU;kBAC1C,cAAA,sBAACK,WAAK;YAACC,GAAE;WAASN,UAAU;;gBACtBL,CAAAA,SAASG,cAAa,mBACpB,sBAACS,WAAK;oBAACC,KAAK;oBAAGC,IAAG;;wBACbd,uBAAS,qBAACe,WAAK;4BAACC,OAAO;sCAAIhB;;wBAC3BG,gCACG,qBAACc,UAAI;4BAACC,WAAU;4BAAMC,GAAE;sCACnBlB;;;;8BAKjB,qBAACW,WAAK;oBAACC,KAAI;8BAAMnB;;;;;AAIjC;AAEAP,UAAUiC,WAAW,GAAG"}
|
|
@@ -161,7 +161,7 @@ export type CollectionFactory = Factory<{
|
|
|
161
161
|
export declare const Collection: {
|
|
162
162
|
<T>(props: CollectionProps<T> & {
|
|
163
163
|
ref?: ForwardedRef<HTMLDivElement>;
|
|
164
|
-
}): import("react/jsx-runtime
|
|
164
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
165
165
|
displayName: string;
|
|
166
166
|
extend: CustomComponentThemeExtend<{
|
|
167
167
|
props: CollectionProps<unknown>;
|
|
@@ -170,20 +170,20 @@ export declare const Collection: {
|
|
|
170
170
|
}>;
|
|
171
171
|
Layouts: {
|
|
172
172
|
readonly Horizontal: {
|
|
173
|
-
({ children }: import("./layouts/shared/layoutConstants.js").LayoutProps): import("react/jsx-runtime
|
|
173
|
+
({ children }: import("./layouts/shared/layoutConstants.js").LayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
174
174
|
Body: <T>(props: import("./layouts/shared/layoutConstants.js").LayoutBodyProps<T> & {
|
|
175
175
|
ref?: ForwardedRef<HTMLDivElement>;
|
|
176
|
-
}) => import("react/jsx-runtime
|
|
176
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
177
177
|
Header: (props: import("./layouts/shared/layoutConstants.js").LayoutHeaderProps & {
|
|
178
178
|
ref?: ForwardedRef<HTMLDivElement>;
|
|
179
|
-
}) => import("react/jsx-runtime
|
|
179
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
180
180
|
displayName: string;
|
|
181
181
|
};
|
|
182
182
|
readonly Vertical: {
|
|
183
|
-
({ children }: import("./layouts/shared/layoutConstants.js").LayoutProps): import("react/jsx-runtime
|
|
183
|
+
({ children }: import("./layouts/shared/layoutConstants.js").LayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
184
184
|
Body: <T>(props: import("./layouts/shared/layoutConstants.js").LayoutBodyProps<T> & {
|
|
185
185
|
ref?: ForwardedRef<HTMLDivElement>;
|
|
186
|
-
}) => import("react/jsx-runtime
|
|
186
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
187
187
|
Header: (_props: import("./layouts/shared/layoutConstants.js").LayoutHeaderProps & {
|
|
188
188
|
ref?: ForwardedRef<HTMLDivElement>;
|
|
189
189
|
}) => null;
|
|
@@ -21,5 +21,5 @@ export interface CollectionAddButtonProps {
|
|
|
21
21
|
*/
|
|
22
22
|
onAdd: () => void;
|
|
23
23
|
}
|
|
24
|
-
export declare const CollectionAddButton: ({ addLabel, addDisabledTooltip, addAllowed, onAdd }: CollectionAddButtonProps) => import("react/jsx-runtime
|
|
24
|
+
export declare const CollectionAddButton: ({ addLabel, addDisabledTooltip, addAllowed, onAdd }: CollectionAddButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
//# sourceMappingURL=CollectionAddButton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollectionAddButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Collection/CollectionAddButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAKhC,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,mBAAmB,GAAI,qDAAmD,wBAAwB
|
|
1
|
+
{"version":3,"file":"CollectionAddButton.d.ts","sourceRoot":"","sources":["../../../../src/components/Collection/CollectionAddButton.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAC,SAAS,EAAC,MAAM,OAAO,CAAC;AAKhC,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,UAAU,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,KAAK,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,mBAAmB,GAAI,qDAAmD,wBAAwB,4CAW9G,CAAC"}
|
|
@@ -11,6 +11,6 @@ interface CollectionContextType {
|
|
|
11
11
|
export declare const CollectionProvider: ({ children, value }: {
|
|
12
12
|
value: CollectionContextType;
|
|
13
13
|
children: React.ReactNode;
|
|
14
|
-
}) => import("react/jsx-runtime
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element, useCollectionContext: () => CollectionContextType;
|
|
15
15
|
export {};
|
|
16
16
|
//# sourceMappingURL=CollectionContext.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CollectionContext.d.ts","sourceRoot":"","sources":["../../../../src/components/Collection/CollectionContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,YAAY,EAAC,MAAM,eAAe,CAAC;AACnE,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,6BAA6B,CAAC;AAErE,UAAU,qBAAqB;IAC3B,SAAS,EAAE,YAAY,CAAC,iBAAiB,CAAC,CAAC;IAC3C;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC;CACjD;AAED,eAAO,MAAO,kBAAkB
|
|
1
|
+
{"version":3,"file":"CollectionContext.d.ts","sourceRoot":"","sources":["../../../../src/components/Collection/CollectionContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,YAAY,EAAC,MAAM,eAAe,CAAC;AACnE,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AACvD,OAAO,KAAK,EAAC,mBAAmB,EAAC,MAAM,6BAA6B,CAAC;AAErE,UAAU,qBAAqB;IAC3B,SAAS,EAAE,YAAY,CAAC,iBAAiB,CAAC,CAAC;IAC3C;;OAEG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC,CAAC;CACjD;AAED,eAAO,MAAO,kBAAkB;;;+CAAE,oBAAoB,6BAErD,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
export declare const CollectionLayouts: {
|
|
2
2
|
readonly Horizontal: {
|
|
3
|
-
({ children }: import("./shared/layoutConstants.js").LayoutProps): import("react/jsx-runtime
|
|
3
|
+
({ children }: import("./shared/layoutConstants.js").LayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
Body: <T>(props: import("./shared/layoutConstants.js").LayoutBodyProps<T> & {
|
|
5
5
|
ref?: import("react").ForwardedRef<HTMLDivElement>;
|
|
6
|
-
}) => import("react/jsx-runtime
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
Header: (props: import("./shared/layoutConstants.js").LayoutHeaderProps & {
|
|
8
8
|
ref?: import("react").ForwardedRef<HTMLDivElement>;
|
|
9
|
-
}) => import("react/jsx-runtime
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
12
|
readonly Vertical: {
|
|
13
|
-
({ children }: import("./shared/layoutConstants.js").LayoutProps): import("react/jsx-runtime
|
|
13
|
+
({ children }: import("./shared/layoutConstants.js").LayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
Body: <T>(props: import("./shared/layoutConstants.js").LayoutBodyProps<T> & {
|
|
15
15
|
ref?: import("react").ForwardedRef<HTMLDivElement>;
|
|
16
|
-
}) => import("react/jsx-runtime
|
|
16
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
Header: (_props: import("./shared/layoutConstants.js").LayoutHeaderProps & {
|
|
18
18
|
ref?: import("react").ForwardedRef<HTMLDivElement>;
|
|
19
19
|
}) => null;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { LayoutProps } from '../shared/layoutConstants.js';
|
|
2
2
|
export declare const HorizontalLayout: {
|
|
3
|
-
({ children }: LayoutProps): import("react/jsx-runtime
|
|
3
|
+
({ children }: LayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
Body: <T>(props: import("../shared/layoutConstants.js").LayoutBodyProps<T> & {
|
|
5
5
|
ref?: import("react").ForwardedRef<HTMLDivElement>;
|
|
6
|
-
}) => import("react/jsx-runtime
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
Header: (props: import("../shared/layoutConstants.js").LayoutHeaderProps & {
|
|
8
8
|
ref?: import("react").ForwardedRef<HTMLDivElement>;
|
|
9
|
-
}) => import("react/jsx-runtime
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
12
|
//# sourceMappingURL=HorizontalLayout.d.ts.map
|
|
@@ -2,5 +2,5 @@ import { ForwardedRef } from 'react';
|
|
|
2
2
|
import { LayoutBodyProps } from '../shared/layoutConstants.js';
|
|
3
3
|
export declare const HorizontalLayoutBody: <T>(props: LayoutBodyProps<T> & {
|
|
4
4
|
ref?: ForwardedRef<HTMLDivElement>;
|
|
5
|
-
}) => import("react/jsx-runtime
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=HorizontalLayoutBody.d.ts.map
|
package/dist/cjs/components/Collection/layouts/horizontal-layout/HorizontalLayoutBody.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HorizontalLayoutBody.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Collection/layouts/horizontal-layout/HorizontalLayoutBody.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAU,MAAM,OAAO,CAAC;AAI5C,OAAO,EAA4B,eAAe,EAAC,MAAM,8BAA8B,CAAC;AA8BxF,eAAO,MAAM,oBAAoB,GAAI,CAAC,EAAG,OAAO,eAAe,CAAC,CAAC,CAAC,GAAG;IAAC,GAAG,CAAC,EAAE,YAAY,CAAC,cAAc,CAAC,CAAA;CAAC
|
|
1
|
+
{"version":3,"file":"HorizontalLayoutBody.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Collection/layouts/horizontal-layout/HorizontalLayoutBody.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAU,MAAM,OAAO,CAAC;AAI5C,OAAO,EAA4B,eAAe,EAAC,MAAM,8BAA8B,CAAC;AA8BxF,eAAO,MAAM,oBAAoB,GAAI,CAAC,EAAG,OAAO,eAAe,CAAC,CAAC,CAAC,GAAG;IAAC,GAAG,CAAC,EAAE,YAAY,CAAC,cAAc,CAAC,CAAA;CAAC,4CAgCxG,CAAC"}
|
package/dist/cjs/components/Collection/layouts/horizontal-layout/HorizontalLayoutHeader.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import { ForwardedRef } from 'react';
|
|
|
2
2
|
import { LayoutHeaderProps } from '../shared/layoutConstants.js';
|
|
3
3
|
export declare const HorizontalLayoutHeader: (props: LayoutHeaderProps & {
|
|
4
4
|
ref?: ForwardedRef<HTMLDivElement>;
|
|
5
|
-
}) => import("react/jsx-runtime
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=HorizontalLayoutHeader.d.ts.map
|
package/dist/cjs/components/Collection/layouts/horizontal-layout/HorizontalLayoutHeader.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HorizontalLayoutHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Collection/layouts/horizontal-layout/HorizontalLayoutHeader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAC,MAAM,OAAO,CAAC;AAInC,OAAO,EAA8B,iBAAiB,EAAC,MAAM,8BAA8B,CAAC;AAK5F,eAAO,MAAM,sBAAsB,GAAI,OAAO,iBAAiB,GAAG;IAAC,GAAG,CAAC,EAAE,YAAY,CAAC,cAAc,CAAC,CAAA;CAAC
|
|
1
|
+
{"version":3,"file":"HorizontalLayoutHeader.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Collection/layouts/horizontal-layout/HorizontalLayoutHeader.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAC,MAAM,OAAO,CAAC;AAInC,OAAO,EAA8B,iBAAiB,EAAC,MAAM,8BAA8B,CAAC;AAK5F,eAAO,MAAM,sBAAsB,GAAI,OAAO,iBAAiB,GAAG;IAAC,GAAG,CAAC,EAAE,YAAY,CAAC,cAAc,CAAC,CAAA;CAAC,4CAsBrG,CAAC"}
|
|
@@ -59,9 +59,9 @@ export interface ItemRendererConfig<T> {
|
|
|
59
59
|
* The renderers are stable function references that don't capture variables in closures.
|
|
60
60
|
*/
|
|
61
61
|
export declare const createItemRenderers: <T>() => {
|
|
62
|
-
DraggableItem: (props: ItemProps<T>) => import("react/jsx-runtime
|
|
63
|
-
StaticItem: (props: ItemProps<T>) => import("react/jsx-runtime
|
|
64
|
-
DisabledItem: (props: ItemProps<T>) => import("react/jsx-runtime
|
|
62
|
+
DraggableItem: (props: ItemProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
StaticItem: (props: ItemProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
DisabledItem: (props: ItemProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
65
65
|
};
|
|
66
66
|
/**
|
|
67
67
|
* Maps items to their appropriate renderer components based on state.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { LayoutProps } from '../shared/layoutConstants.js';
|
|
2
2
|
export declare const VerticalLayout: {
|
|
3
|
-
({ children }: LayoutProps): import("react/jsx-runtime
|
|
3
|
+
({ children }: LayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
Body: <T>(props: import("../shared/layoutConstants.js").LayoutBodyProps<T> & {
|
|
5
5
|
ref?: import("react").ForwardedRef<HTMLDivElement>;
|
|
6
|
-
}) => import("react/jsx-runtime
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
Header: (_props: import("../shared/layoutConstants.js").LayoutHeaderProps & {
|
|
8
8
|
ref?: import("react").ForwardedRef<HTMLDivElement>;
|
|
9
9
|
}) => null;
|
|
@@ -2,5 +2,5 @@ import { ForwardedRef } from 'react';
|
|
|
2
2
|
import { LayoutBodyProps } from '../shared/layoutConstants.js';
|
|
3
3
|
export declare const VerticalLayoutBody: <T>(props: LayoutBodyProps<T> & {
|
|
4
4
|
ref?: ForwardedRef<HTMLDivElement>;
|
|
5
|
-
}) => import("react/jsx-runtime
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=VerticalLayoutBody.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VerticalLayoutBody.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Collection/layouts/vertical-layout/VerticalLayoutBody.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAU,MAAM,OAAO,CAAC;AAY5C,OAAO,EAA4B,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAyExF,eAAO,MAAM,kBAAkB,GAAI,CAAC,EAAG,OAAO,eAAe,CAAC,CAAC,CAAC,GAAG;IAAC,GAAG,CAAC,EAAE,YAAY,CAAC,cAAc,CAAC,CAAA;CAAC
|
|
1
|
+
{"version":3,"file":"VerticalLayoutBody.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Collection/layouts/vertical-layout/VerticalLayoutBody.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,YAAY,EAAU,MAAM,OAAO,CAAC;AAY5C,OAAO,EAA4B,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAyExF,eAAO,MAAM,kBAAkB,GAAI,CAAC,EAAG,OAAO,eAAe,CAAC,CAAC,CAAC,GAAG;IAAC,GAAG,CAAC,EAAE,YAAY,CAAC,cAAc,CAAC,CAAA;CAAC,4CAiCtG,CAAC"}
|
|
@@ -32,5 +32,5 @@ export interface DateRangePickerInlineCalendarProps extends Pick<EditableDateRan
|
|
|
32
32
|
*/
|
|
33
33
|
rangeCalendarProps?: Omit<DatePickerBaseProps, 'value' | 'onChange' | 'isDateInRange' | 'isDateFirstInRange' | 'isDateLastInRange' | 'presets' | '__onPresetSelect' | 'allowDeselect'>;
|
|
34
34
|
}
|
|
35
|
-
export declare const DateRangePickerInlineCalendar: ({ initialRange, onApply, onCancel, presets, startProps, endProps, rangeCalendarProps, }: DateRangePickerInlineCalendarProps) => import("react/jsx-runtime
|
|
35
|
+
export declare const DateRangePickerInlineCalendar: ({ initialRange, onApply, onCancel, presets, startProps, endProps, rangeCalendarProps, }: DateRangePickerInlineCalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
//# sourceMappingURL=DateRangePickerInlineCalendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateRangePickerInlineCalendar.d.ts","sourceRoot":"","sources":["../../../../src/components/DateRangePicker/DateRangePickerInlineCalendar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,mBAAmB,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAM3G,OAAO,EAAC,qBAAqB,EAA8B,MAAM,kCAAkC,CAAC;AACpG,OAAO,EAA0B,4BAA4B,EAAC,MAAM,8BAA8B,CAAC;AACnG,MAAM,WAAW,kCACb,SAAQ,IAAI,CAAC,4BAA4B,EAAE,YAAY,GAAG,UAAU,CAAC;IACrE;;OAEG;IACH,YAAY,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IACtD;;;;OAIG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,KAAK,IAAI,CAAC;IAClE;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IAChD;;OAEG;IACH,kBAAkB,CAAC,EAAE,IAAI,CACrB,mBAAmB,EACjB,OAAO,GACP,UAAU,GACV,eAAe,GACf,oBAAoB,GACpB,mBAAmB,GACnB,SAAS,GACT,kBAAkB,GAClB,eAAe,CACpB,CAAC;CACL;AAMD,eAAO,MAAM,6BAA6B,GAAI,yFAQ3C,kCAAkC
|
|
1
|
+
{"version":3,"file":"DateRangePickerInlineCalendar.d.ts","sourceRoot":"","sources":["../../../../src/components/DateRangePicker/DateRangePickerInlineCalendar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,mBAAmB,EAAE,KAAK,eAAe,EAAE,KAAK,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAM3G,OAAO,EAAC,qBAAqB,EAA8B,MAAM,kCAAkC,CAAC;AACpG,OAAO,EAA0B,4BAA4B,EAAC,MAAM,8BAA8B,CAAC;AACnG,MAAM,WAAW,kCACb,SAAQ,IAAI,CAAC,4BAA4B,EAAE,YAAY,GAAG,UAAU,CAAC;IACrE;;OAEG;IACH,YAAY,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IACtD;;;;OAIG;IACH,OAAO,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,KAAK,IAAI,CAAC;IAClE;;OAEG;IACH,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IAChD;;OAEG;IACH,kBAAkB,CAAC,EAAE,IAAI,CACrB,mBAAmB,EACjB,OAAO,GACP,UAAU,GACV,eAAe,GACf,oBAAoB,GACpB,mBAAmB,GACnB,SAAS,GACT,kBAAkB,GAClB,eAAe,CACpB,CAAC;CACL;AAMD,eAAO,MAAM,6BAA6B,GAAI,yFAQ3C,kCAAkC,4CAmEpC,CAAC"}
|
|
@@ -24,6 +24,6 @@ interface DateRangePickerPopoverCalendarProps extends Pick<EditableDateRangePick
|
|
|
24
24
|
*/
|
|
25
25
|
rangeCalendarProps?: Omit<CalendarBaseProps, 'value' | 'onChange' | 'isDateInRange' | 'isDateFirstInRange' | 'isDateLastInRange'>;
|
|
26
26
|
}
|
|
27
|
-
export declare const DateRangePickerPopoverCalendar: ({ presets, value, defaultValue, onChange, startProps, endProps, rangeCalendarProps, }: DateRangePickerPopoverCalendarProps) => import("react/jsx-runtime
|
|
27
|
+
export declare const DateRangePickerPopoverCalendar: ({ presets, value, defaultValue, onChange, startProps, endProps, rangeCalendarProps, }: DateRangePickerPopoverCalendarProps) => import("react/jsx-runtime").JSX.Element;
|
|
28
28
|
export {};
|
|
29
29
|
//# sourceMappingURL=DateRangePickerPopoverCalendar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateRangePickerPopoverCalendar.d.ts","sourceRoot":"","sources":["../../../../src/components/DateRangePicker/DateRangePickerPopoverCalendar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,iBAAiB,EAAc,KAAK,eAAe,EAAE,KAAK,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAKzG,OAAO,EAAC,qBAAqB,EAA8B,MAAM,kCAAkC,CAAC;AACpG,OAAO,EAA0B,4BAA4B,EAAC,MAAM,8BAA8B,CAAC;AAEnG,UAAU,mCAAoC,SAAQ,IAAI,CAAC,4BAA4B,EAAE,YAAY,GAAG,UAAU,CAAC;IAC/G,2CAA2C;IAC3C,YAAY,CAAC,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IACvD,iCAAiC;IACjC,KAAK,CAAC,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IAChD,0CAA0C;IAC1C,QAAQ,CAAC,CAAC,KAAK,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;IAChE;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IAChD;;OAEG;IACH,kBAAkB,CAAC,EAAE,IAAI,CACrB,iBAAiB,EACjB,OAAO,GAAG,UAAU,GAAG,eAAe,GAAG,oBAAoB,GAAG,mBAAmB,CACtF,CAAC;CACL;AAED,eAAO,MAAM,8BAA8B,GAAI,uFAQ5C,mCAAmC
|
|
1
|
+
{"version":3,"file":"DateRangePickerPopoverCalendar.d.ts","sourceRoot":"","sources":["../../../../src/components/DateRangePicker/DateRangePickerPopoverCalendar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAC,iBAAiB,EAAc,KAAK,eAAe,EAAE,KAAK,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAKzG,OAAO,EAAC,qBAAqB,EAA8B,MAAM,kCAAkC,CAAC;AACpG,OAAO,EAA0B,4BAA4B,EAAC,MAAM,8BAA8B,CAAC;AAEnG,UAAU,mCAAoC,SAAQ,IAAI,CAAC,4BAA4B,EAAE,YAAY,GAAG,UAAU,CAAC;IAC/G,2CAA2C;IAC3C,YAAY,CAAC,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IACvD,iCAAiC;IACjC,KAAK,CAAC,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IAChD,0CAA0C;IAC1C,QAAQ,CAAC,CAAC,KAAK,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;IAChE;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;IAChD;;OAEG;IACH,kBAAkB,CAAC,EAAE,IAAI,CACrB,iBAAiB,EACjB,OAAO,GAAG,UAAU,GAAG,eAAe,GAAG,oBAAoB,GAAG,mBAAmB,CACtF,CAAC;CACL;AAED,eAAO,MAAM,8BAA8B,GAAI,uFAQ5C,mCAAmC,4CA6DrC,CAAC"}
|
|
@@ -20,6 +20,6 @@ interface DateTimeRangePickerProps extends Pick<EditableDateTimeRangePickerProps
|
|
|
20
20
|
*/
|
|
21
21
|
presets?: Record<string, DateRangePickerPreset>;
|
|
22
22
|
}
|
|
23
|
-
export declare const DateTimeRangePicker: ({ presets, value, defaultValue, onChange, ...otherProps }: DateTimeRangePickerProps) => import("react/jsx-runtime
|
|
23
|
+
export declare const DateTimeRangePicker: ({ presets, value, defaultValue, onChange, ...otherProps }: DateTimeRangePickerProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
24
|
export {};
|
|
25
25
|
//# sourceMappingURL=DateTimeRangePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimeRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DateTimeRangePicker/DateTimeRangePicker.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,eAAe,EAAE,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAC,qBAAqB,EAA8B,MAAM,mDAAmD,CAAC;AACrH,OAAO,EAA8B,gCAAgC,EAAC,MAAM,kCAAkC,CAAC;AAE/G,UAAU,wBAAyB,SAAQ,IAAI,CAC3C,gCAAgC,EAChC,YAAY,GAAG,UAAU,GAAG,YAAY,GAAG,kBAAkB,CAChE;IACG,2CAA2C;IAC3C,YAAY,CAAC,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IACvD,iCAAiC;IACjC,KAAK,CAAC,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IAChD,0CAA0C;IAC1C,QAAQ,CAAC,CAAC,KAAK,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;IAChE;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;CACnD;AAED,eAAO,MAAM,mBAAmB,GAAI,2DAMjC,wBAAwB
|
|
1
|
+
{"version":3,"file":"DateTimeRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/DateTimeRangePicker/DateTimeRangePicker.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,eAAe,EAAE,eAAe,EAAC,MAAM,gBAAgB,CAAC;AAChE,OAAO,EAAC,qBAAqB,EAA8B,MAAM,mDAAmD,CAAC;AACrH,OAAO,EAA8B,gCAAgC,EAAC,MAAM,kCAAkC,CAAC;AAE/G,UAAU,wBAAyB,SAAQ,IAAI,CAC3C,gCAAgC,EAChC,YAAY,GAAG,UAAU,GAAG,YAAY,GAAG,kBAAkB,CAChE;IACG,2CAA2C;IAC3C,YAAY,CAAC,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IACvD,iCAAiC;IACjC,KAAK,CAAC,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC;IAChD,0CAA0C;IAC1C,QAAQ,CAAC,CAAC,KAAK,EAAE,eAAe,CAAC,eAAe,GAAG,IAAI,CAAC,GAAG,IAAI,CAAC;IAChE;;;;;;;;;OASG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,qBAAqB,CAAC,CAAC;CACnD;AAED,eAAO,MAAM,mBAAmB,GAAI,2DAMjC,wBAAwB,4CAqB1B,CAAC"}
|
|
@@ -19,17 +19,17 @@ export declare const EllipsisText: (<C = "div">(props: import("@mantine/core").P
|
|
|
19
19
|
}) | (EllipsisTextProps & {
|
|
20
20
|
component: React.ElementType;
|
|
21
21
|
renderRoot?: (props: Record<string, any>) => any;
|
|
22
|
-
})>, never> & import("@mantine/core
|
|
22
|
+
})>, never> & import("@mantine/core").ThemeExtend<{
|
|
23
23
|
props: EllipsisTextProps;
|
|
24
24
|
defaultRef: HTMLDivElement;
|
|
25
25
|
defaultComponent: "div";
|
|
26
26
|
stylesNames: EllipsisTextStylesNames;
|
|
27
|
-
}> & import("@mantine/core
|
|
27
|
+
}> & import("@mantine/core").ComponentClasses<{
|
|
28
28
|
props: EllipsisTextProps;
|
|
29
29
|
defaultRef: HTMLDivElement;
|
|
30
30
|
defaultComponent: "div";
|
|
31
31
|
stylesNames: EllipsisTextStylesNames;
|
|
32
|
-
}> & import("@mantine/core
|
|
32
|
+
}> & import("@mantine/core").PolymorphicComponentWithProps<{
|
|
33
33
|
props: EllipsisTextProps;
|
|
34
34
|
defaultRef: HTMLDivElement;
|
|
35
35
|
defaultComponent: "div";
|
|
@@ -6,5 +6,5 @@ export interface HeaderContextValue {
|
|
|
6
6
|
export declare const HeaderProvider: ({ children, value }: {
|
|
7
7
|
value: HeaderContextValue;
|
|
8
8
|
children: React.ReactNode;
|
|
9
|
-
}) => import("react/jsx-runtime
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element, useHeaderContext: () => HeaderContextValue;
|
|
10
10
|
//# sourceMappingURL=Header.context.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Header.context.d.ts","sourceRoot":"","sources":["../../../../src/components/Header/Header.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAoB,MAAM,eAAe,CAAC;AAC9D,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,aAAa,CAAC;AAE/C,MAAM,WAAW,kBAAkB;IAC/B,SAAS,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC;CAC1C;AAED,eAAO,MAAO,cAAc
|
|
1
|
+
{"version":3,"file":"Header.context.d.ts","sourceRoot":"","sources":["../../../../src/components/Header/Header.context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,YAAY,EAAoB,MAAM,eAAe,CAAC;AAC9D,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,aAAa,CAAC;AAE/C,MAAM,WAAW,kBAAkB;IAC/B,SAAS,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC;CAC1C;AAED,eAAO,MAAO,cAAc;;;+CAAE,gBAAgB,0BAE7C,CAAC"}
|