@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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
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("
|
|
36
|
+
}> & import("@mantine/core").PolymorphicComponentWithProps<{
|
|
37
37
|
props: AlertProps;
|
|
38
38
|
defaultRef: HTMLDivElement;
|
|
39
39
|
defaultComponent: "div";
|
|
@@ -8,9 +8,7 @@ export const Alert = polymorphicFactory((props, ref)=>/*#__PURE__*/ _jsx(Mantine
|
|
|
8
8
|
Alert.displayName = 'Alert';
|
|
9
9
|
const AlertInformation = Alert.withProps({
|
|
10
10
|
color: 'gray',
|
|
11
|
-
icon: /*#__PURE__*/ _jsx(InfoToken, {
|
|
12
|
-
variant: "information"
|
|
13
|
-
}),
|
|
11
|
+
icon: /*#__PURE__*/ _jsx(InfoToken.Information, {}),
|
|
14
12
|
vars: ()=>({
|
|
15
13
|
root: {
|
|
16
14
|
'--alert-color': 'var(--mantine-color-text)',
|
|
@@ -20,9 +18,7 @@ const AlertInformation = Alert.withProps({
|
|
|
20
18
|
});
|
|
21
19
|
AlertInformation.displayName = 'Alert.Information';
|
|
22
20
|
const AlertAdvice = Alert.withProps({
|
|
23
|
-
icon: /*#__PURE__*/ _jsx(InfoToken, {
|
|
24
|
-
variant: "advice"
|
|
25
|
-
}),
|
|
21
|
+
icon: /*#__PURE__*/ _jsx(InfoToken.Advice, {}),
|
|
26
22
|
vars: ()=>({
|
|
27
23
|
root: {
|
|
28
24
|
'--alert-color': 'var(--mantine-primary-color-filled)',
|
|
@@ -33,9 +29,7 @@ const AlertAdvice = Alert.withProps({
|
|
|
33
29
|
AlertAdvice.displayName = 'Alert.Advice';
|
|
34
30
|
const AlertWarning = Alert.withProps({
|
|
35
31
|
color: 'warning',
|
|
36
|
-
icon: /*#__PURE__*/ _jsx(InfoToken, {
|
|
37
|
-
variant: "warning"
|
|
38
|
-
}),
|
|
32
|
+
icon: /*#__PURE__*/ _jsx(InfoToken.Warning, {}),
|
|
39
33
|
vars: ()=>({
|
|
40
34
|
root: {
|
|
41
35
|
'--alert-color': 'var(--mantine-color-warning-filled)',
|
|
@@ -45,9 +39,7 @@ const AlertWarning = Alert.withProps({
|
|
|
45
39
|
});
|
|
46
40
|
AlertWarning.displayName = 'Alert.Warning';
|
|
47
41
|
const AlertCritical = Alert.withProps({
|
|
48
|
-
icon: /*#__PURE__*/ _jsx(InfoToken, {
|
|
49
|
-
variant: "error"
|
|
50
|
-
}),
|
|
42
|
+
icon: /*#__PURE__*/ _jsx(InfoToken.Error, {}),
|
|
51
43
|
vars: ()=>({
|
|
52
44
|
root: {
|
|
53
45
|
'--alert-color': 'var(--mantine-color-error)',
|
|
@@ -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","MantineAlert","polymorphicFactory","InfoToken","props","ref","displayName","AlertInformation","withProps","color","icon","Information","vars","root","AlertAdvice","Advice","AlertWarning","Warning","AlertCritical","Error","Critical"],"mappings":";AAAA,SAMIA,SAASC,YAAY,EACrBC,kBAAkB,QACf,gBAAgB;AAEvB,SAAQC,SAAS,QAAO,4BAA4B;AAiBpD,OAAO,MAAMH,QAAQE,mBAAyC,CAACE,OAAOC,oBAAQ,KAACJ;QAAc,GAAGG,KAAK;QAAEC,KAAKA;QAAS;AACrHL,MAAMM,WAAW,GAAG;AAEpB,MAAMC,mBAAmBP,MAAMQ,SAAS,CAAC;IACrCC,OAAO;IACPC,oBAAM,KAACP,UAAUQ,WAAW;IAC5BC,MAAM,IAAO,CAAA;YACTC,MAAM;gBACF,iBAAiB;gBACjB,cAAc;YAClB;QACJ,CAAA;AACJ;AACCN,iBAAmCD,WAAW,GAAG;AAElD,MAAMQ,cAAcd,MAAMQ,SAAS,CAAC;IAChCE,oBAAM,KAACP,UAAUY,MAAM;IACvBH,MAAM,IAAO,CAAA;YACTC,MAAM;gBACF,iBAAiB;gBACjB,cAAc;YAClB;QACJ,CAAA;AACJ;AACCC,YAA8BR,WAAW,GAAG;AAE7C,MAAMU,eAAehB,MAAMQ,SAAS,CAAC;IACjCC,OAAO;IACPC,oBAAM,KAACP,UAAUc,OAAO;IACxBL,MAAM,IAAO,CAAA;YACTC,MAAM;gBACF,iBAAiB;gBACjB,cAAc;YAClB;QACJ,CAAA;AACJ;AACCG,aAA+BV,WAAW,GAAG;AAE9C,MAAMY,gBAAgBlB,MAAMQ,SAAS,CAAC;IAClCE,oBAAM,KAACP,UAAUgB,KAAK;IACtBP,MAAM,IAAO,CAAA;YACTC,MAAM;gBACF,iBAAiB;gBACjB,cAAc;YAClB;QACJ,CAAA;AACJ;AACCK,cAAgCZ,WAAW,GAAG;AAE/CN,MAAMW,WAAW,GAAGJ;AACpBP,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("
|
|
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("
|
|
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("
|
|
74
|
+
}> & import("@mantine/core").PolymorphicComponentWithProps<{
|
|
75
75
|
props: BadgeProps;
|
|
76
76
|
defaultRef: HTMLDivElement;
|
|
77
77
|
defaultComponent: "div";
|
|
@@ -31,8 +31,7 @@ export const BrowserPreview = ({ children, headerTooltip, title, className, ...o
|
|
|
31
31
|
label: headerTooltip,
|
|
32
32
|
position: "right",
|
|
33
33
|
maw: 400,
|
|
34
|
-
children: /*#__PURE__*/ _jsx(InfoToken, {
|
|
35
|
-
variant: "information",
|
|
34
|
+
children: /*#__PURE__*/ _jsx(InfoToken.Information, {
|
|
36
35
|
className: BrowserPreviewClasses.infoIcon
|
|
37
36
|
})
|
|
38
37
|
})
|
|
@@ -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":["Flex","Group","Stack","Text","Tooltip","cx","InfoToken","BrowserPreviewClasses","BrowserPreview","children","headerTooltip","title","className","others","root","gap","maw","mih","header","justify","p","bg","wrap","c","fz","lh","label","position","Information","infoIcon","lineClamp","content","direction"],"mappings":";AAAA,SAAQA,IAAI,EAAEC,KAAK,EAAEC,KAAK,EAAcC,IAAI,EAAEC,OAAO,QAAO,gBAAgB;AAC5E,OAAOC,QAAQ,OAAO;AAEtB,SAAQC,SAAS,QAAO,4BAA4B;AACpD,OAAOC,2BAA2B,8BAA8B;AAchE,OAAO,MAAMC,iBAAiB,CAAC,EAC3BC,QAAQ,EACRC,aAAa,EACbC,KAAK,EACLC,SAAS,EACT,GAAGC,QACkC,iBACrC,MAACX;QAAMU,WAAWP,GAAGE,sBAAsBO,IAAI,EAAEF;QAAYG,KAAK;QAAGC,KAAK;QAAKC,KAAK;QAAI,GAAGJ,MAAM;;0BAC7F,MAACZ;gBACGW,WAAWL,sBAAsBW,MAAM;gBACvCC,SAAQ;gBACRC,GAAE;gBACFC,IAAG;gBACHC,MAAK;;kCAEL,MAACrB;wBAAMc,KAAI;wBAAKO,MAAK;;0CACjB,KAACnB;gCAAKoB,GAAE;gCAASC,IAAG;gCAAKC,IAAG;0CAAO;;4BAGlC,CAAC,CAACf,+BACC,KAACN;gCAAQsB,OAAOhB;gCAAeiB,UAAS;gCAAQX,KAAK;0CACjD,cAAA,KAACV,UAAUsB,WAAW;oCAAChB,WAAWL,sBAAsBsB,QAAQ;;;;;oBAI3ElB,uBACG,KAACR;wBAAK2B,WAAW;wBAAGP,GAAE;wBAASC,IAAG;wBAAKC,IAAG;kCACrCd;;;;0BAIb,KAACX;gBAAKY,WAAWL,sBAAsBwB,OAAO;gBAAEX,GAAE;gBAAKY,WAAU;0BAC5DvB;;;OAGX"}
|
|
@@ -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("
|
|
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("
|
|
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("
|
|
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("
|
|
28
|
+
})>, never> & import("@mantine/core").ThemeExtend<{
|
|
28
29
|
props: ChildFormProps;
|
|
29
30
|
defaultRef: HTMLDivElement;
|
|
30
31
|
defaultComponent: "div";
|
|
31
32
|
stylesNames: ChildFormStylesNames;
|
|
32
|
-
}> & import("
|
|
33
|
+
}> & import("@mantine/core").ComponentClasses<{
|
|
33
34
|
props: ChildFormProps;
|
|
34
35
|
defaultRef: HTMLDivElement;
|
|
35
36
|
defaultComponent: "div";
|
|
36
37
|
stylesNames: ChildFormStylesNames;
|
|
37
|
-
}> & import("
|
|
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"}
|
|
@@ -4,6 +4,7 @@ import classes from './ChildForm.module.css';
|
|
|
4
4
|
const defaultProps = {};
|
|
5
5
|
export const ChildForm = polymorphicFactory((props, ref)=>{
|
|
6
6
|
const { className, children, style, classNames, styles, unstyled, vars, title, description, ...others } = useProps('ChildForm', defaultProps, props);
|
|
7
|
+
const hasDescription = description !== null && description !== undefined && description !== '' && typeof description !== 'boolean';
|
|
7
8
|
const getStyles = useStyles({
|
|
8
9
|
name: 'ChildForm',
|
|
9
10
|
classes,
|
|
@@ -23,7 +24,7 @@ export const ChildForm = polymorphicFactory((props, ref)=>{
|
|
|
23
24
|
p: "md",
|
|
24
25
|
...getStyles('paper'),
|
|
25
26
|
children: [
|
|
26
|
-
(title ||
|
|
27
|
+
(title || hasDescription) && /*#__PURE__*/ _jsxs(Stack, {
|
|
27
28
|
gap: 0,
|
|
28
29
|
mb: "md",
|
|
29
30
|
children: [
|
|
@@ -31,7 +32,8 @@ export const ChildForm = polymorphicFactory((props, ref)=>{
|
|
|
31
32
|
order: 5,
|
|
32
33
|
children: title
|
|
33
34
|
}),
|
|
34
|
-
|
|
35
|
+
hasDescription && /*#__PURE__*/ _jsx(Text, {
|
|
36
|
+
component: "div",
|
|
35
37
|
c: "gray.7",
|
|
36
38
|
children: description
|
|
37
39
|
})
|
|
@@ -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":["Collapse","Paper","polymorphicFactory","Stack","Text","Title","useProps","useStyles","classes","defaultProps","ChildForm","props","ref","className","children","style","classNames","styles","unstyled","vars","title","description","others","hasDescription","undefined","getStyles","name","p","gap","mb","order","component","c","displayName"],"mappings":";AAAA,SACIA,QAAQ,EAGRC,KAAK,EACLC,kBAAkB,EAClBC,KAAK,EAELC,IAAI,EACJC,KAAK,EACLC,QAAQ,EACRC,SAAS,QACN,gBAAgB;AAEvB,OAAOC,aAAa,yBAAyB;AAsB7C,MAAMC,eAAwC,CAAC;AAE/C,OAAO,MAAMC,YAAYR,mBAAqC,CAACS,OAAOC;IAClE,MAAM,EAACC,SAAS,EAAEC,QAAQ,EAAEC,KAAK,EAAEC,UAAU,EAAEC,MAAM,EAAEC,QAAQ,EAAEC,IAAI,EAAEC,KAAK,EAAEC,WAAW,EAAE,GAAGC,QAAO,GAAGhB,SACpG,aACAG,cACAE;IAEJ,MAAMY,iBACFF,gBAAgB,QAAQA,gBAAgBG,aAAaH,gBAAgB,MAAM,OAAOA,gBAAgB;IAEtG,MAAMI,YAAYlB,UAA4B;QAC1CmB,MAAM;QACNlB;QACAG;QACAE;QACAE;QACAC;QACAC;QACAC;QACAC;IACJ;IAEA,qBACI,KAACnB;QAASY,KAAKA;QAAM,GAAGU,MAAM;QAAG,GAAGG,UAAU,OAAO;kBACjD,cAAA,MAACxB;YAAM0B,GAAE;YAAM,GAAGF,UAAU,QAAQ;;gBAC9BL,CAAAA,SAASG,cAAa,mBACpB,MAACpB;oBAAMyB,KAAK;oBAAGC,IAAG;;wBACbT,uBAAS,KAACf;4BAAMyB,OAAO;sCAAIV;;wBAC3BG,gCACG,KAACnB;4BAAK2B,WAAU;4BAAMC,GAAE;sCACnBX;;;;8BAKjB,KAAClB;oBAAMyB,KAAI;8BAAMd;;;;;AAIjC,GAAG;AAEHJ,UAAUuB,WAAW,GAAG"}
|
|
@@ -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("
|
|
22
|
+
})>, never> & import("@mantine/core").ThemeExtend<{
|
|
23
23
|
props: EllipsisTextProps;
|
|
24
24
|
defaultRef: HTMLDivElement;
|
|
25
25
|
defaultComponent: "div";
|
|
26
26
|
stylesNames: EllipsisTextStylesNames;
|
|
27
|
-
}> & import("
|
|
27
|
+
}> & import("@mantine/core").ComponentClasses<{
|
|
28
28
|
props: EllipsisTextProps;
|
|
29
29
|
defaultRef: HTMLDivElement;
|
|
30
30
|
defaultComponent: "div";
|
|
31
31
|
stylesNames: EllipsisTextStylesNames;
|
|
32
|
-
}> & import("
|
|
32
|
+
}> & import("@mantine/core").PolymorphicComponentWithProps<{
|
|
33
33
|
props: EllipsisTextProps;
|
|
34
34
|
defaultRef: HTMLDivElement;
|
|
35
35
|
defaultComponent: "div";
|
|
@@ -25,21 +25,21 @@ export declare const HeaderBreadcrumbAnchor: (<C = "a">(props: import("@mantine/
|
|
|
25
25
|
}) | (HeaderBreadcrumbAnchorProps & {
|
|
26
26
|
component: React.ElementType;
|
|
27
27
|
renderRoot?: (props: Record<string, any>) => any;
|
|
28
|
-
})>, never> & import("
|
|
28
|
+
})>, never> & import("@mantine/core").ThemeExtend<{
|
|
29
29
|
props: HeaderBreadcrumbAnchorProps;
|
|
30
30
|
ref: HTMLAnchorElement;
|
|
31
31
|
stylesNames: HeaderBreadcrumbAnchorStyleNames;
|
|
32
32
|
compound: true;
|
|
33
33
|
defaultComponent: "a";
|
|
34
34
|
defaultRef: HTMLAnchorElement;
|
|
35
|
-
}> & import("
|
|
35
|
+
}> & import("@mantine/core").ComponentClasses<{
|
|
36
36
|
props: HeaderBreadcrumbAnchorProps;
|
|
37
37
|
ref: HTMLAnchorElement;
|
|
38
38
|
stylesNames: HeaderBreadcrumbAnchorStyleNames;
|
|
39
39
|
compound: true;
|
|
40
40
|
defaultComponent: "a";
|
|
41
41
|
defaultRef: HTMLAnchorElement;
|
|
42
|
-
}> & import("
|
|
42
|
+
}> & import("@mantine/core").PolymorphicComponentWithProps<{
|
|
43
43
|
props: HeaderBreadcrumbAnchorProps;
|
|
44
44
|
ref: HTMLAnchorElement;
|
|
45
45
|
stylesNames: HeaderBreadcrumbAnchorStyleNames;
|
|
@@ -16,21 +16,21 @@ export declare const HeaderBreadcrumbText: (<C = "p">(props: import("@mantine/co
|
|
|
16
16
|
}) | (TextProps & {
|
|
17
17
|
component: React.ElementType;
|
|
18
18
|
renderRoot?: (props: Record<string, any>) => any;
|
|
19
|
-
})>, never> & import("
|
|
19
|
+
})>, never> & import("@mantine/core").ThemeExtend<{
|
|
20
20
|
props: TextProps;
|
|
21
21
|
ref: HTMLParagraphElement;
|
|
22
22
|
stylesNames: HeaderBreadcrumbTextStyleNames;
|
|
23
23
|
compound: true;
|
|
24
24
|
defaultComponent: "p";
|
|
25
25
|
defaultRef: HTMLParagraphElement;
|
|
26
|
-
}> & import("
|
|
26
|
+
}> & import("@mantine/core").ComponentClasses<{
|
|
27
27
|
props: TextProps;
|
|
28
28
|
ref: HTMLParagraphElement;
|
|
29
29
|
stylesNames: HeaderBreadcrumbTextStyleNames;
|
|
30
30
|
compound: true;
|
|
31
31
|
defaultComponent: "p";
|
|
32
32
|
defaultRef: HTMLParagraphElement;
|
|
33
|
-
}> & import("
|
|
33
|
+
}> & import("@mantine/core").PolymorphicComponentWithProps<{
|
|
34
34
|
props: TextProps;
|
|
35
35
|
ref: HTMLParagraphElement;
|
|
36
36
|
stylesNames: HeaderBreadcrumbTextStyleNames;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Anchor, Tooltip, factory, useProps } from '@mantine/core';
|
|
3
|
-
import { useHeaderContext } from '../Header.context.js';
|
|
4
3
|
import { InfoToken } from '../../InfoToken/InfoToken.js';
|
|
4
|
+
import { useHeaderContext } from '../Header.context.js';
|
|
5
5
|
const defaultProps = {
|
|
6
6
|
position: 'right',
|
|
7
|
-
children: /*#__PURE__*/ _jsx(InfoToken, {
|
|
8
|
-
variant: "question"
|
|
9
|
-
})
|
|
7
|
+
children: /*#__PURE__*/ _jsx(InfoToken.Question, {})
|
|
10
8
|
};
|
|
11
9
|
export const HeaderDocAnchor = factory((_props, ref)=>{
|
|
12
10
|
const props = useProps('PlasmaHeaderActions', defaultProps, _props);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../../src/components/Header/HeaderDocAnchor/HeaderDocAnchor.tsx"],"sourcesContent":["import {\n Anchor,\n AnchorProps,\n CompoundStylesApiProps,\n Factory,\n Tooltip,\n TooltipProps,\n factory,\n useProps,\n} from '@mantine/core';\nimport {ReactNode} from 'react';\nimport {
|
|
1
|
+
{"version":3,"sources":["../../../../../src/components/Header/HeaderDocAnchor/HeaderDocAnchor.tsx"],"sourcesContent":["import {\n Anchor,\n AnchorProps,\n CompoundStylesApiProps,\n Factory,\n Tooltip,\n TooltipProps,\n factory,\n useProps,\n} from '@mantine/core';\nimport {ReactNode} from 'react';\nimport {InfoToken} from '../../InfoToken/InfoToken.js';\nimport {useHeaderContext} from '../Header.context.js';\n\nexport type HeaderDocAnchorStyleNames = 'docAnchorTooltip' | 'docAnchor';\n\nexport interface HeaderDocAnchorProps\n extends\n Pick<TooltipProps, 'position'>,\n CompoundStylesApiProps<HeaderDocAnchorFactory>,\n Omit<AnchorProps, 'classNames' | 'styles' | 'variant' | 'vars'> {\n /**\n * A href pointing to documentation related to the current panel.\n * When provided, an info icon is rendered next to the title as link to this documentation\n */\n href: string;\n /**\n * The tooltip text shown when hovering over the doc link icon\n */\n label?: ReactNode;\n /**\n * React component to add the tooltip and anchor on\n */\n children?: ReactNode;\n}\n\nexport type HeaderDocAnchorFactory = Factory<{\n props: HeaderDocAnchorProps;\n ref: HTMLAnchorElement;\n stylesNames: HeaderDocAnchorStyleNames;\n compound: true;\n}>;\n\nconst defaultProps: Partial<HeaderDocAnchorProps> = {\n position: 'right',\n children: <InfoToken.Question />,\n};\n\nexport const HeaderDocAnchor = factory<HeaderDocAnchorFactory>((_props, ref) => {\n const props = useProps('PlasmaHeaderActions', defaultProps, _props);\n const {className, classNames, styles, style, children, label, position, vars, ...others} = props;\n\n const ctx = useHeaderContext();\n\n return (\n <Tooltip\n label={label}\n disabled={!label}\n position={position}\n classNames={{tooltip: ctx.getStyles('docAnchorTooltip', {classNames, styles, props}).className}}\n >\n <Anchor\n ref={ref}\n inline\n target=\"_blank\"\n {...ctx.getStyles('docAnchor', {classNames, styles, props, style, className})}\n {...others}\n >\n {children}\n </Anchor>\n </Tooltip>\n );\n});\n\nHeaderDocAnchor.displayName = 'Header.DocAnchor';\n"],"names":["Anchor","Tooltip","factory","useProps","InfoToken","useHeaderContext","defaultProps","position","children","Question","HeaderDocAnchor","_props","ref","props","className","classNames","styles","style","label","vars","others","ctx","disabled","tooltip","getStyles","inline","target","displayName"],"mappings":";AAAA,SACIA,MAAM,EAINC,OAAO,EAEPC,OAAO,EACPC,QAAQ,QACL,gBAAgB;AAEvB,SAAQC,SAAS,QAAO,+BAA+B;AACvD,SAAQC,gBAAgB,QAAO,uBAAuB;AA+BtD,MAAMC,eAA8C;IAChDC,UAAU;IACVC,wBAAU,KAACJ,UAAUK,QAAQ;AACjC;AAEA,OAAO,MAAMC,kBAAkBR,QAAgC,CAACS,QAAQC;IACpE,MAAMC,QAAQV,SAAS,uBAAuBG,cAAcK;IAC5D,MAAM,EAACG,SAAS,EAAEC,UAAU,EAAEC,MAAM,EAAEC,KAAK,EAAET,QAAQ,EAAEU,KAAK,EAAEX,QAAQ,EAAEY,IAAI,EAAE,GAAGC,QAAO,GAAGP;IAE3F,MAAMQ,MAAMhB;IAEZ,qBACI,KAACJ;QACGiB,OAAOA;QACPI,UAAU,CAACJ;QACXX,UAAUA;QACVQ,YAAY;YAACQ,SAASF,IAAIG,SAAS,CAAC,oBAAoB;gBAACT;gBAAYC;gBAAQH;YAAK,GAAGC,SAAS;QAAA;kBAE9F,cAAA,KAACd;YACGY,KAAKA;YACLa,MAAM;YACNC,QAAO;YACN,GAAGL,IAAIG,SAAS,CAAC,aAAa;gBAACT;gBAAYC;gBAAQH;gBAAOI;gBAAOH;YAAS,EAAE;YAC5E,GAAGM,MAAM;sBAETZ;;;AAIjB,GAAG;AAEHE,gBAAgBiB,WAAW,GAAG"}
|
|
@@ -1,105 +1,49 @@
|
|
|
1
|
-
import { BoxProps, Factory,
|
|
1
|
+
import { BoxProps, Factory, PolymorphicComponentProps, StylesApiProps } from '@mantine/core';
|
|
2
|
+
import { FunctionComponent, ReactElement } from 'react';
|
|
2
3
|
export type InfoTokenFactory = Factory<{
|
|
3
|
-
props:
|
|
4
|
+
props: InfoTokenInternalProps;
|
|
4
5
|
defaultRef: HTMLDivElement;
|
|
5
6
|
defaultComponent: 'div';
|
|
6
7
|
stylesNames: InfoTokenComponentStylesNames;
|
|
7
8
|
vars: InfoTokenCssVariables;
|
|
8
9
|
variant: InfoTokenVariant;
|
|
9
|
-
staticComponents: {
|
|
10
|
-
Information: typeof TokenInformation;
|
|
11
|
-
InformationOutline: typeof TokenInformationOutline;
|
|
12
|
-
Advice: typeof TokenAdvice;
|
|
13
|
-
Warning: typeof TokenWarning;
|
|
14
|
-
Error: typeof TokenError;
|
|
15
|
-
Question: typeof TokenQuestion;
|
|
16
|
-
};
|
|
17
10
|
}>;
|
|
18
11
|
export type InfoTokenComponentStylesNames = 'root';
|
|
19
|
-
export type
|
|
12
|
+
export type InfoTokenType = 'information' | 'advice' | 'warning' | 'error' | 'question' | 'success';
|
|
13
|
+
export type InfoTokenVariant = 'outline' | 'light';
|
|
14
|
+
export type InfoTokenSizes = 'xs' | 'sm' | 'md' | 'lg';
|
|
20
15
|
export type InfoTokenCssVariables = {
|
|
21
|
-
root: '--
|
|
16
|
+
root: '--it-color' | '--it-bg';
|
|
22
17
|
};
|
|
23
|
-
|
|
18
|
+
interface InfoTokenInternalProps extends BoxProps, StylesApiProps<InfoTokenFactory> {
|
|
24
19
|
/**
|
|
25
20
|
* The variant of the token.
|
|
26
21
|
*
|
|
27
|
-
* @default '
|
|
22
|
+
* @default 'outline'
|
|
28
23
|
*/
|
|
29
24
|
variant?: InfoTokenVariant;
|
|
25
|
+
/**
|
|
26
|
+
* The semantic type of the token
|
|
27
|
+
*
|
|
28
|
+
* @default 'information'
|
|
29
|
+
*/
|
|
30
|
+
type?: InfoTokenType;
|
|
30
31
|
/**
|
|
31
32
|
* The size of the info token.
|
|
32
33
|
*
|
|
33
|
-
* @default '
|
|
34
|
+
* @default 'xs'
|
|
34
35
|
*/
|
|
35
|
-
size?:
|
|
36
|
+
size?: InfoTokenSizes;
|
|
36
37
|
}
|
|
37
|
-
export
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
props: InfoTokenProps;
|
|
47
|
-
defaultRef: HTMLDivElement;
|
|
48
|
-
defaultComponent: "div";
|
|
49
|
-
stylesNames: InfoTokenComponentStylesNames;
|
|
50
|
-
vars: InfoTokenCssVariables;
|
|
51
|
-
variant: InfoTokenVariant;
|
|
52
|
-
staticComponents: {
|
|
53
|
-
Information: typeof TokenInformation;
|
|
54
|
-
InformationOutline: typeof TokenInformationOutline;
|
|
55
|
-
Advice: typeof TokenAdvice;
|
|
56
|
-
Warning: typeof TokenWarning;
|
|
57
|
-
Error: typeof TokenError;
|
|
58
|
-
Question: typeof TokenQuestion;
|
|
59
|
-
};
|
|
60
|
-
}> & import("node_modules/@mantine/core/lib/core/factory/factory").ComponentClasses<{
|
|
61
|
-
props: InfoTokenProps;
|
|
62
|
-
defaultRef: HTMLDivElement;
|
|
63
|
-
defaultComponent: "div";
|
|
64
|
-
stylesNames: InfoTokenComponentStylesNames;
|
|
65
|
-
vars: InfoTokenCssVariables;
|
|
66
|
-
variant: InfoTokenVariant;
|
|
67
|
-
staticComponents: {
|
|
68
|
-
Information: typeof TokenInformation;
|
|
69
|
-
InformationOutline: typeof TokenInformationOutline;
|
|
70
|
-
Advice: typeof TokenAdvice;
|
|
71
|
-
Warning: typeof TokenWarning;
|
|
72
|
-
Error: typeof TokenError;
|
|
73
|
-
Question: typeof TokenQuestion;
|
|
74
|
-
};
|
|
75
|
-
}> & import("node_modules/@mantine/core/lib/core/factory/polymorphic-factory").PolymorphicComponentWithProps<{
|
|
76
|
-
props: InfoTokenProps;
|
|
77
|
-
defaultRef: HTMLDivElement;
|
|
78
|
-
defaultComponent: "div";
|
|
79
|
-
stylesNames: InfoTokenComponentStylesNames;
|
|
80
|
-
vars: InfoTokenCssVariables;
|
|
81
|
-
variant: InfoTokenVariant;
|
|
82
|
-
staticComponents: {
|
|
83
|
-
Information: typeof TokenInformation;
|
|
84
|
-
InformationOutline: typeof TokenInformationOutline;
|
|
85
|
-
Advice: typeof TokenAdvice;
|
|
86
|
-
Warning: typeof TokenWarning;
|
|
87
|
-
Error: typeof TokenError;
|
|
88
|
-
Question: typeof TokenQuestion;
|
|
89
|
-
};
|
|
90
|
-
}> & {
|
|
91
|
-
Information: typeof TokenInformation;
|
|
92
|
-
InformationOutline: typeof TokenInformationOutline;
|
|
93
|
-
Advice: typeof TokenAdvice;
|
|
94
|
-
Warning: typeof TokenWarning;
|
|
95
|
-
Error: typeof TokenError;
|
|
96
|
-
Question: typeof TokenQuestion;
|
|
38
|
+
export type InfoTokenProps = Omit<InfoTokenInternalProps, 'type'>;
|
|
39
|
+
type InfoTokenCompoundComponent = (<C = 'div'>(props: PolymorphicComponentProps<C, InfoTokenProps>) => ReactElement) & Omit<FunctionComponent<PolymorphicComponentProps<any, InfoTokenProps>>, never>;
|
|
40
|
+
export declare const InfoToken: {
|
|
41
|
+
readonly Information: InfoTokenCompoundComponent;
|
|
42
|
+
readonly Advice: InfoTokenCompoundComponent;
|
|
43
|
+
readonly Warning: InfoTokenCompoundComponent;
|
|
44
|
+
readonly Error: InfoTokenCompoundComponent;
|
|
45
|
+
readonly Question: InfoTokenCompoundComponent;
|
|
46
|
+
readonly Success: InfoTokenCompoundComponent;
|
|
97
47
|
};
|
|
98
|
-
declare const TokenInformation: <L = "div">(props: import("@mantine/core").PolymorphicComponentProps<L, InfoTokenProps>) => React.ReactElement;
|
|
99
|
-
declare const TokenInformationOutline: <L = "div">(props: import("@mantine/core").PolymorphicComponentProps<L, InfoTokenProps>) => React.ReactElement;
|
|
100
|
-
declare const TokenAdvice: <L = "div">(props: import("@mantine/core").PolymorphicComponentProps<L, InfoTokenProps>) => React.ReactElement;
|
|
101
|
-
declare const TokenWarning: <L = "div">(props: import("@mantine/core").PolymorphicComponentProps<L, InfoTokenProps>) => React.ReactElement;
|
|
102
|
-
declare const TokenError: <L = "div">(props: import("@mantine/core").PolymorphicComponentProps<L, InfoTokenProps>) => React.ReactElement;
|
|
103
|
-
declare const TokenQuestion: <L = "div">(props: import("@mantine/core").PolymorphicComponentProps<L, InfoTokenProps>) => React.ReactElement;
|
|
104
48
|
export {};
|
|
105
49
|
//# sourceMappingURL=InfoToken.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InfoToken.d.ts","sourceRoot":"","sources":["../../../../src/components/InfoToken/InfoToken.tsx"],"names":[],"mappings":"AASA,OAAO,EAEH,QAAQ,
|
|
1
|
+
{"version":3,"file":"InfoToken.d.ts","sourceRoot":"","sources":["../../../../src/components/InfoToken/InfoToken.tsx"],"names":[],"mappings":"AASA,OAAO,EAEH,QAAQ,EAGR,OAAO,EACP,yBAAyB,EAEzB,cAAc,EAGjB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAa,iBAAiB,EAAE,YAAY,EAAC,MAAM,OAAO,CAAC;AAGlE,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC;IACnC,KAAK,EAAE,sBAAsB,CAAC;IAC9B,UAAU,EAAE,cAAc,CAAC;IAC3B,gBAAgB,EAAE,KAAK,CAAC;IACxB,WAAW,EAAE,6BAA6B,CAAC;IAC3C,IAAI,EAAE,qBAAqB,CAAC;IAC5B,OAAO,EAAE,gBAAgB,CAAC;CAC7B,CAAC,CAAC;AACH,MAAM,MAAM,6BAA6B,GAAG,MAAM,CAAC;AACnD,MAAM,MAAM,aAAa,GAAG,aAAa,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC;AACpG,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,OAAO,CAAC;AACnD,MAAM,MAAM,cAAc,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AACvD,MAAM,MAAM,qBAAqB,GAAG;IAChC,IAAI,EAAE,YAAY,GAAG,SAAS,CAAC;CAClC,CAAC;AAEF,UAAU,sBAAuB,SAAQ,QAAQ,EAAE,cAAc,CAAC,gBAAgB,CAAC;IAC/E;;;;OAIG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B;;;;OAIG;IACH,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB;;;;OAIG;IACH,IAAI,CAAC,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,MAAM,cAAc,GAAG,IAAI,CAAC,sBAAsB,EAAE,MAAM,CAAC,CAAC;AAElE,KAAK,0BAA0B,GAAG,CAAC,CAAC,CAAC,GAAG,KAAK,EAAE,KAAK,EAAE,yBAAyB,CAAC,CAAC,EAAE,cAAc,CAAC,KAAK,YAAY,CAAC,GAChH,IAAI,CAAC,iBAAiB,CAAC,yBAAyB,CAAC,GAAG,EAAE,cAAc,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;AA2HnF,eAAO,MAAM,SAAS;;;;;;;CAOZ,CAAC"}
|