@coveord/plasma-mantine 57.1.0 → 58.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +4 -4
- package/.turbo/turbo-test.log +106 -102
- 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/AppShell/AppShell.d.ts +8 -1
- package/dist/cjs/components/AppShell/AppShell.d.ts.map +1 -1
- package/dist/cjs/components/AppShell/AppShell.js +27 -1
- package/dist/cjs/components/AppShell/AppShell.js.map +1 -1
- package/dist/cjs/components/AppShell/AppShell.module.css +4 -0
- 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 +3 -3
- 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/AppShell.module.css +4 -0
- 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.d.ts.map +1 -1
- package/dist/cjs/theme/Theme.js +15 -4
- 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/AppShell/AppShell.d.ts +8 -1
- package/dist/esm/components/AppShell/AppShell.d.ts.map +1 -1
- package/dist/esm/components/AppShell/AppShell.js +15 -3
- package/dist/esm/components/AppShell/AppShell.js.map +1 -1
- package/dist/esm/components/AppShell/AppShell.module.css +4 -0
- 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 +3 -3
- 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/AppShell.module.css +4 -0
- 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.d.ts.map +1 -1
- package/dist/esm/theme/Theme.js +15 -4
- 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/AppShell/AppShell.module.css +4 -0
- package/src/components/AppShell/AppShell.tsx +27 -0
- 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 +12 -4
- package/src/styles/AppShell.module.css +4 -0
- 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 +10 -2
- 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/AppShell/AppShell.ts +0 -11
- 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
|
@@ -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"}
|
|
@@ -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("@mantine/core
|
|
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("@mantine/core
|
|
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("@mantine/core
|
|
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("@mantine/core
|
|
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("@mantine/core
|
|
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("@mantine/core
|
|
33
|
+
}> & import("@mantine/core").PolymorphicComponentWithProps<{
|
|
34
34
|
props: TextProps;
|
|
35
35
|
ref: HTMLParagraphElement;
|
|
36
36
|
stylesNames: HeaderBreadcrumbTextStyleNames;
|
|
@@ -13,13 +13,11 @@ var _object_spread_props = require("@swc/helpers/_/_object_spread_props");
|
|
|
13
13
|
var _object_without_properties = require("@swc/helpers/_/_object_without_properties");
|
|
14
14
|
var _jsxruntime = require("react/jsx-runtime");
|
|
15
15
|
var _core = require("@mantine/core");
|
|
16
|
-
var _Headercontext = require("../Header.context.js");
|
|
17
16
|
var _InfoToken = require("../../InfoToken/InfoToken.js");
|
|
17
|
+
var _Headercontext = require("../Header.context.js");
|
|
18
18
|
var defaultProps = {
|
|
19
19
|
position: 'right',
|
|
20
|
-
children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_InfoToken.InfoToken, {
|
|
21
|
-
variant: "question"
|
|
22
|
-
})
|
|
20
|
+
children: /*#__PURE__*/ (0, _jsxruntime.jsx)(_InfoToken.InfoToken.Question, {})
|
|
23
21
|
};
|
|
24
22
|
var HeaderDocAnchor = (0, _core.factory)(function(_props, ref) {
|
|
25
23
|
var props = (0, _core.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":["HeaderDocAnchor","defaultProps","position","children","InfoToken","Question","factory","_props","ref","props","useProps","className","classNames","styles","style","label","vars","others","ctx","useHeaderContext","Tooltip","disabled","tooltip","getStyles","Anchor","inline","target","displayName"],"mappings":";;;;+BAgDaA;;;eAAAA;;;;;;;oBAvCN;yBAEiB;6BACO;AA+B/B,IAAMC,eAA8C;IAChDC,UAAU;IACVC,wBAAU,qBAACC,oBAAS,CAACC,QAAQ;AACjC;AAEO,IAAML,kBAAkBM,IAAAA,aAAO,EAAyB,SAACC,QAAQC;IACpE,IAAMC,QAAQC,IAAAA,cAAQ,EAAC,uBAAuBT,cAAcM;IAC5D,IAAOI,YAAoFF,MAApFE,WAAWC,aAAyEH,MAAzEG,YAAYC,SAA6DJ,MAA7DI,QAAQC,QAAqDL,MAArDK,OAAOX,WAA8CM,MAA9CN,UAAUY,QAAoCN,MAApCM,OAAOb,WAA6BO,MAA7BP,UAAUc,OAAmBP,MAAnBO,MAASC,sCAAUR;;;;;;;;;;IAE3F,IAAMS,MAAMC,IAAAA,+BAAgB;IAE5B,qBACI,qBAACC,aAAO;QACJL,OAAOA;QACPM,UAAU,CAACN;QACXb,UAAUA;QACVU,YAAY;YAACU,SAASJ,IAAIK,SAAS,CAAC,oBAAoB;gBAACX,YAAAA;gBAAYC,QAAAA;gBAAQJ,OAAAA;YAAK,GAAGE,SAAS;QAAA;kBAE9F,cAAA,qBAACa,YAAM;YACHhB,KAAKA;YACLiB,MAAM;YACNC,QAAO;WACHR,IAAIK,SAAS,CAAC,aAAa;YAACX,YAAAA;YAAYC,QAAAA;YAAQJ,OAAAA;YAAOK,OAAAA;YAAOH,WAAAA;QAAS,IACvEM;sBAEHd;;;AAIjB;AAEAH,gBAAgB2B,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("@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("@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"}
|
|
@@ -15,29 +15,46 @@ var _object_without_properties = require("@swc/helpers/_/_object_without_propert
|
|
|
15
15
|
var _jsxruntime = require("react/jsx-runtime");
|
|
16
16
|
var _plasmareacticons = require("@coveord/plasma-react-icons");
|
|
17
17
|
var _core = require("@mantine/core");
|
|
18
|
+
var _react = require("react");
|
|
18
19
|
var _InfoTokenmodulecss = /*#__PURE__*/ _interop_require_default._(require("./InfoToken.module.css"));
|
|
19
20
|
var defaultProps = {
|
|
20
|
-
variant: '
|
|
21
|
+
variant: 'outline',
|
|
22
|
+
type: 'information',
|
|
21
23
|
size: 'xs'
|
|
22
24
|
};
|
|
23
|
-
var colorResolver = function colorResolver(
|
|
24
|
-
switch(
|
|
25
|
+
var colorResolver = function colorResolver(type) {
|
|
26
|
+
switch(type){
|
|
25
27
|
case 'error':
|
|
26
28
|
return 'var(--mantine-color-error)';
|
|
27
29
|
case 'advice':
|
|
28
30
|
case 'question':
|
|
29
31
|
return 'var(--coveo-color-text-primary)';
|
|
30
32
|
case 'warning':
|
|
31
|
-
return 'var(--mantine-color-
|
|
33
|
+
return 'var(--mantine-color-yellow-text)';
|
|
34
|
+
case 'success':
|
|
35
|
+
return 'var(--mantine-color-green-text)';
|
|
32
36
|
case 'information':
|
|
33
37
|
default:
|
|
34
|
-
return 'var(--mantine-color-gray-
|
|
38
|
+
return 'var(--mantine-color-gray-text)';
|
|
35
39
|
}
|
|
36
40
|
};
|
|
37
|
-
var
|
|
38
|
-
|
|
39
|
-
|
|
41
|
+
var bgColorResolver = function bgColorResolver(type) {
|
|
42
|
+
switch(type){
|
|
43
|
+
case 'error':
|
|
44
|
+
return 'var(--mantine-color-red-light)';
|
|
45
|
+
case 'advice':
|
|
46
|
+
case 'question':
|
|
47
|
+
return 'var(--mantine-primary-color-light)';
|
|
48
|
+
case 'warning':
|
|
49
|
+
return 'var(--mantine-color-yellow-light)';
|
|
50
|
+
case 'success':
|
|
51
|
+
return 'var(--mantine-color-green-light)';
|
|
52
|
+
case 'information':
|
|
53
|
+
default:
|
|
54
|
+
return 'var(--mantine-color-gray-light)';
|
|
40
55
|
}
|
|
56
|
+
};
|
|
57
|
+
var sizeResolver = function sizeResolver(size) {
|
|
41
58
|
switch(size){
|
|
42
59
|
case 'sm':
|
|
43
60
|
return 20;
|
|
@@ -45,43 +62,43 @@ var sizeResolver = function sizeResolver(size) {
|
|
|
45
62
|
return 24;
|
|
46
63
|
case 'lg':
|
|
47
64
|
return 32;
|
|
48
|
-
case 'xl':
|
|
49
|
-
return 40;
|
|
50
65
|
case 'xs':
|
|
51
66
|
default:
|
|
52
67
|
return 16;
|
|
53
68
|
}
|
|
54
69
|
};
|
|
55
|
-
var iconResolver = function iconResolver(
|
|
56
|
-
switch(
|
|
70
|
+
var iconResolver = function iconResolver(type) {
|
|
71
|
+
switch(type){
|
|
57
72
|
case 'error':
|
|
58
|
-
return _plasmareacticons.
|
|
59
|
-
case 'information':
|
|
60
|
-
return _plasmareacticons.IconInfoCircleFilled;
|
|
61
|
-
case 'information-outline':
|
|
62
|
-
return _plasmareacticons.IconInfoCircle;
|
|
73
|
+
return _plasmareacticons.IconAlertSquare;
|
|
63
74
|
case 'question':
|
|
64
75
|
return _plasmareacticons.IconHelpCircle;
|
|
65
76
|
case 'warning':
|
|
66
|
-
return _plasmareacticons.
|
|
77
|
+
return _plasmareacticons.IconAlertTriangle;
|
|
67
78
|
case 'advice':
|
|
79
|
+
return _plasmareacticons.IconBulb;
|
|
80
|
+
case 'success':
|
|
81
|
+
return _plasmareacticons.IconCheck;
|
|
68
82
|
default:
|
|
69
|
-
return _plasmareacticons.
|
|
83
|
+
return _plasmareacticons.IconInfoCircle;
|
|
70
84
|
}
|
|
71
85
|
};
|
|
72
86
|
var varsResolver = (0, _core.createVarsResolver)(function(_theme, param) {
|
|
73
|
-
var
|
|
74
|
-
var color = colorResolver(
|
|
87
|
+
var type = param.type;
|
|
88
|
+
var color = colorResolver(type);
|
|
89
|
+
var bgColor = bgColorResolver(type);
|
|
75
90
|
return {
|
|
76
91
|
root: {
|
|
77
|
-
'--
|
|
92
|
+
'--it-color': color,
|
|
93
|
+
'--it-bg': bgColor
|
|
78
94
|
}
|
|
79
95
|
};
|
|
80
96
|
});
|
|
81
|
-
var
|
|
97
|
+
var _InfoToken = (0, _core.polymorphicFactory)(function(_props, ref) {
|
|
82
98
|
var props = (0, _core.useProps)('InfoToken', defaultProps, _props);
|
|
83
|
-
var variant = props.variant, vars = props.vars, className = props.className, style = props.style, unstyled = props.unstyled, styles = props.styles, classNames = props.classNames, size = props.size, others = _object_without_properties._(props, [
|
|
99
|
+
var variant = props.variant, type = props.type, vars = props.vars, className = props.className, style = props.style, unstyled = props.unstyled, styles = props.styles, classNames = props.classNames, size = props.size, others = _object_without_properties._(props, [
|
|
84
100
|
"variant",
|
|
101
|
+
"type",
|
|
85
102
|
"vars",
|
|
86
103
|
"className",
|
|
87
104
|
"style",
|
|
@@ -101,12 +118,12 @@ var InfoToken = (0, _core.polymorphicFactory)(function(_props, ref) {
|
|
|
101
118
|
vars: vars,
|
|
102
119
|
varsResolver: varsResolver
|
|
103
120
|
});
|
|
104
|
-
var IconComponent = iconResolver(
|
|
121
|
+
var IconComponent = iconResolver(type);
|
|
105
122
|
return /*#__PURE__*/ (0, _jsxruntime.jsx)(_core.Box, _object_spread_props._(_object_spread._({
|
|
106
123
|
ref: ref,
|
|
107
124
|
variant: variant,
|
|
108
125
|
role: "img",
|
|
109
|
-
"aria-label":
|
|
126
|
+
"aria-label": type,
|
|
110
127
|
size: size
|
|
111
128
|
}, getStyles('root', {
|
|
112
129
|
className: className,
|
|
@@ -119,34 +136,24 @@ var InfoToken = (0, _core.polymorphicFactory)(function(_props, ref) {
|
|
|
119
136
|
})
|
|
120
137
|
}));
|
|
121
138
|
});
|
|
122
|
-
var
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
});
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
var
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
var TokenQuestion = InfoToken.withProps({
|
|
142
|
-
variant: 'question'
|
|
143
|
-
});
|
|
144
|
-
TokenQuestion.displayName = 'InfoToken.Question';
|
|
145
|
-
InfoToken.Information = TokenInformation;
|
|
146
|
-
InfoToken.InformationOutline = TokenInformationOutline;
|
|
147
|
-
InfoToken.Advice = TokenAdvice;
|
|
148
|
-
InfoToken.Warning = TokenWarning;
|
|
149
|
-
InfoToken.Error = TokenError;
|
|
150
|
-
InfoToken.Question = TokenQuestion;
|
|
139
|
+
var createInfoTokenCompound = function createInfoTokenCompound(type, displayName) {
|
|
140
|
+
var Component = (0, _core.createPolymorphicComponent)(/*#__PURE__*/ (0, _react.forwardRef)(function(props, ref) {
|
|
141
|
+
return /*#__PURE__*/ (0, _jsxruntime.jsx)(_InfoToken, _object_spread_props._(_object_spread._({
|
|
142
|
+
ref: ref
|
|
143
|
+
}, props), {
|
|
144
|
+
type: type
|
|
145
|
+
}));
|
|
146
|
+
}));
|
|
147
|
+
Component.displayName = displayName;
|
|
148
|
+
return Component;
|
|
149
|
+
};
|
|
150
|
+
var InfoToken = {
|
|
151
|
+
Information: createInfoTokenCompound('information', 'InfoToken.Information'),
|
|
152
|
+
Advice: createInfoTokenCompound('advice', 'InfoToken.Advice'),
|
|
153
|
+
Warning: createInfoTokenCompound('warning', 'InfoToken.Warning'),
|
|
154
|
+
Error: createInfoTokenCompound('error', 'InfoToken.Error'),
|
|
155
|
+
Question: createInfoTokenCompound('question', 'InfoToken.Question'),
|
|
156
|
+
Success: createInfoTokenCompound('success', 'InfoToken.Success')
|
|
157
|
+
};
|
|
151
158
|
|
|
152
159
|
//# sourceMappingURL=InfoToken.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../../src/components/InfoToken/InfoToken.tsx"],"sourcesContent":["import {\n
|
|
1
|
+
{"version":3,"sources":["../../../../src/components/InfoToken/InfoToken.tsx"],"sourcesContent":["import {\n IconAlertSquare,\n IconAlertTriangle,\n IconBulb,\n IconCheck,\n IconHelpCircle,\n IconInfoCircle,\n TablerIcon,\n} from '@coveord/plasma-react-icons';\nimport {\n Box,\n BoxProps,\n createPolymorphicComponent,\n createVarsResolver,\n Factory,\n PolymorphicComponentProps,\n polymorphicFactory,\n StylesApiProps,\n useProps,\n useStyles,\n} from '@mantine/core';\nimport {forwardRef, FunctionComponent, ReactElement} from 'react';\nimport classes from './InfoToken.module.css';\n\nexport type InfoTokenFactory = Factory<{\n props: InfoTokenInternalProps;\n defaultRef: HTMLDivElement;\n defaultComponent: 'div';\n stylesNames: InfoTokenComponentStylesNames;\n vars: InfoTokenCssVariables;\n variant: InfoTokenVariant;\n}>;\nexport type InfoTokenComponentStylesNames = 'root';\nexport type InfoTokenType = 'information' | 'advice' | 'warning' | 'error' | 'question' | 'success';\nexport type InfoTokenVariant = 'outline' | 'light';\nexport type InfoTokenSizes = 'xs' | 'sm' | 'md' | 'lg';\nexport type InfoTokenCssVariables = {\n root: '--it-color' | '--it-bg';\n};\n\ninterface InfoTokenInternalProps extends BoxProps, StylesApiProps<InfoTokenFactory> {\n /**\n * The variant of the token.\n *\n * @default 'outline'\n */\n variant?: InfoTokenVariant;\n /**\n * The semantic type of the token\n *\n * @default 'information'\n */\n type?: InfoTokenType;\n /**\n * The size of the info token.\n *\n * @default 'xs'\n */\n size?: InfoTokenSizes;\n}\n\nexport type InfoTokenProps = Omit<InfoTokenInternalProps, 'type'>;\n\ntype InfoTokenCompoundComponent = (<C = 'div'>(props: PolymorphicComponentProps<C, InfoTokenProps>) => ReactElement) &\n Omit<FunctionComponent<PolymorphicComponentProps<any, InfoTokenProps>>, never>;\n\nconst defaultProps: Partial<InfoTokenInternalProps> = {variant: 'outline', type: 'information', size: 'xs'};\n\nconst colorResolver = (type: InfoTokenType): string => {\n switch (type) {\n case 'error':\n return 'var(--mantine-color-error)';\n case 'advice':\n case 'question':\n return 'var(--coveo-color-text-primary)';\n case 'warning':\n return 'var(--mantine-color-yellow-text)';\n case 'success':\n return 'var(--mantine-color-green-text)';\n case 'information':\n default:\n return 'var(--mantine-color-gray-text)';\n }\n};\n\nconst bgColorResolver = (type: InfoTokenType): string => {\n switch (type) {\n case 'error':\n return 'var(--mantine-color-red-light)';\n case 'advice':\n case 'question':\n return 'var(--mantine-primary-color-light)';\n case 'warning':\n return 'var(--mantine-color-yellow-light)';\n case 'success':\n return 'var(--mantine-color-green-light)';\n case 'information':\n default:\n return 'var(--mantine-color-gray-light)';\n }\n};\n\nconst sizeResolver = (size: InfoTokenSizes): number => {\n switch (size) {\n case 'sm':\n return 20;\n case 'md':\n return 24;\n case 'lg':\n return 32;\n case 'xs':\n default:\n return 16;\n }\n};\n\nconst iconResolver = (type: InfoTokenType): TablerIcon => {\n switch (type) {\n case 'error':\n return IconAlertSquare;\n case 'question':\n return IconHelpCircle;\n case 'warning':\n return IconAlertTriangle;\n case 'advice':\n return IconBulb;\n case 'success':\n return IconCheck;\n default:\n return IconInfoCircle;\n }\n};\n\nconst varsResolver = createVarsResolver<InfoTokenFactory>((_theme, {type}) => {\n const color = colorResolver(type);\n const bgColor = bgColorResolver(type);\n return {\n root: {\n '--it-color': color,\n '--it-bg': bgColor,\n },\n };\n});\n\nconst _InfoToken = polymorphicFactory<InfoTokenFactory>((_props, ref) => {\n const props = useProps('InfoToken', defaultProps, _props);\n const {variant, type, vars, className, style, unstyled, styles, classNames, size, ...others} = props;\n const getStyles = useStyles<InfoTokenFactory>({\n name: 'InfoToken',\n classes,\n className,\n props,\n style,\n styles,\n unstyled,\n vars,\n varsResolver,\n });\n const IconComponent = iconResolver(type);\n return (\n <Box\n ref={ref}\n variant={variant}\n role=\"img\"\n aria-label={type}\n size={size}\n {...getStyles('root', {\n className,\n style,\n styles,\n classNames,\n })}\n {...others}\n >\n <IconComponent size={sizeResolver(size)} />\n </Box>\n );\n});\n\nconst createInfoTokenCompound = (type: InfoTokenType, displayName: string): InfoTokenCompoundComponent => {\n const Component: InfoTokenCompoundComponent = createPolymorphicComponent<'div', InfoTokenProps>(\n forwardRef<any, InfoTokenProps>((props, ref) => <_InfoToken ref={ref} {...props} type={type} />),\n );\n Component.displayName = displayName;\n return Component;\n};\n\nexport const InfoToken = {\n Information: createInfoTokenCompound('information', 'InfoToken.Information'),\n Advice: createInfoTokenCompound('advice', 'InfoToken.Advice'),\n Warning: createInfoTokenCompound('warning', 'InfoToken.Warning'),\n Error: createInfoTokenCompound('error', 'InfoToken.Error'),\n Question: createInfoTokenCompound('question', 'InfoToken.Question'),\n Success: createInfoTokenCompound('success', 'InfoToken.Success'),\n} as const;\n"],"names":["InfoToken","defaultProps","variant","type","size","colorResolver","bgColorResolver","sizeResolver","iconResolver","IconAlertSquare","IconHelpCircle","IconAlertTriangle","IconBulb","IconCheck","IconInfoCircle","varsResolver","createVarsResolver","_theme","color","bgColor","root","_InfoToken","polymorphicFactory","_props","ref","props","useProps","vars","className","style","unstyled","styles","classNames","others","getStyles","useStyles","name","classes","IconComponent","Box","role","aria-label","createInfoTokenCompound","displayName","Component","createPolymorphicComponent","forwardRef","Information","Advice","Warning","Error","Question","Success"],"mappings":";;;;+BA2LaA;;;eAAAA;;;;;;;;gCAnLN;oBAYA;qBACmD;2EACtC;AA4CpB,IAAMC,eAAgD;IAACC,SAAS;IAAWC,MAAM;IAAeC,MAAM;AAAI;AAE1G,IAAMC,gBAAgB,uBAACF;IACnB,OAAQA;QACJ,KAAK;YACD,OAAO;QACX,KAAK;QACL,KAAK;YACD,OAAO;QACX,KAAK;YACD,OAAO;QACX,KAAK;YACD,OAAO;QACX,KAAK;QACL;YACI,OAAO;IACf;AACJ;AAEA,IAAMG,kBAAkB,yBAACH;IACrB,OAAQA;QACJ,KAAK;YACD,OAAO;QACX,KAAK;QACL,KAAK;YACD,OAAO;QACX,KAAK;YACD,OAAO;QACX,KAAK;YACD,OAAO;QACX,KAAK;QACL;YACI,OAAO;IACf;AACJ;AAEA,IAAMI,eAAe,sBAACH;IAClB,OAAQA;QACJ,KAAK;YACD,OAAO;QACX,KAAK;YACD,OAAO;QACX,KAAK;YACD,OAAO;QACX,KAAK;QACL;YACI,OAAO;IACf;AACJ;AAEA,IAAMI,eAAe,sBAACL;IAClB,OAAQA;QACJ,KAAK;YACD,OAAOM,iCAAe;QAC1B,KAAK;YACD,OAAOC,gCAAc;QACzB,KAAK;YACD,OAAOC,mCAAiB;QAC5B,KAAK;YACD,OAAOC,0BAAQ;QACnB,KAAK;YACD,OAAOC,2BAAS;QACpB;YACI,OAAOC,gCAAc;IAC7B;AACJ;AAEA,IAAMC,eAAeC,IAAAA,wBAAkB,EAAmB,SAACC;QAASd,aAAAA;IAChE,IAAMe,QAAQb,cAAcF;IAC5B,IAAMgB,UAAUb,gBAAgBH;IAChC,OAAO;QACHiB,MAAM;YACF,cAAcF;YACd,WAAWC;QACf;IACJ;AACJ;AAEA,IAAME,aAAaC,IAAAA,wBAAkB,EAAmB,SAACC,QAAQC;IAC7D,IAAMC,QAAQC,IAAAA,cAAQ,EAAC,aAAazB,cAAcsB;IAClD,IAAOrB,UAAwFuB,MAAxFvB,SAASC,OAA+EsB,MAA/EtB,MAAMwB,OAAyEF,MAAzEE,MAAMC,YAAmEH,MAAnEG,WAAWC,QAAwDJ,MAAxDI,OAAOC,WAAiDL,MAAjDK,UAAUC,SAAuCN,MAAvCM,QAAQC,aAA+BP,MAA/BO,YAAY5B,OAAmBqB,MAAnBrB,MAAS6B,sCAAUR;;;;;;;;;;;IAC/F,IAAMS,YAAYC,IAAAA,eAAS,EAAmB;QAC1CC,MAAM;QACNC,SAAAA,2BAAO;QACPT,WAAAA;QACAH,OAAAA;QACAI,OAAAA;QACAE,QAAAA;QACAD,UAAAA;QACAH,MAAAA;QACAZ,cAAAA;IACJ;IACA,IAAMuB,gBAAgB9B,aAAaL;IACnC,qBACI,qBAACoC,SAAG;QACAf,KAAKA;QACLtB,SAASA;QACTsC,MAAK;QACLC,cAAYtC;QACZC,MAAMA;OACF8B,UAAU,QAAQ;QAClBN,WAAAA;QACAC,OAAAA;QACAE,QAAAA;QACAC,YAAAA;IACJ,IACIC;kBAEJ,cAAA,qBAACK;YAAclC,MAAMG,aAAaH;;;AAG9C;AAEA,IAAMsC,0BAA0B,iCAACvC,MAAqBwC;IAClD,IAAMC,YAAwCC,IAAAA,gCAA0B,gBACpEC,IAAAA,iBAAU,EAAsB,SAACrB,OAAOD;6BAAQ,qBAACH;YAAWG,KAAKA;WAASC;YAAOtB,MAAMA;;;IAE3FyC,UAAUD,WAAW,GAAGA;IACxB,OAAOC;AACX;AAEO,IAAM5C,YAAY;IACrB+C,aAAaL,wBAAwB,eAAe;IACpDM,QAAQN,wBAAwB,UAAU;IAC1CO,SAASP,wBAAwB,WAAW;IAC5CQ,OAAOR,wBAAwB,SAAS;IACxCS,UAAUT,wBAAwB,YAAY;IAC9CU,SAASV,wBAAwB,WAAW;AAChD"}
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
.root {
|
|
2
|
-
--info-token-color: var(--mantine-color-primary);
|
|
3
|
-
|
|
4
2
|
display: inline-flex;
|
|
5
3
|
flex-shrink: 0;
|
|
6
4
|
align-items: center;
|
|
7
|
-
color: var(--
|
|
5
|
+
color: var(--it-color);
|
|
6
|
+
|
|
7
|
+
&[data-variant='light'] {
|
|
8
|
+
background-color: var(--it-bg);
|
|
9
|
+
border-radius: var(--mantine-spacing-xxs);
|
|
10
|
+
padding: var(--mantine-spacing-xs);
|
|
11
|
+
|
|
12
|
+
&[data-size='xs'] {
|
|
13
|
+
padding: var(--mantine-spacing-xxs);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
8
16
|
}
|
|
@@ -12,7 +12,7 @@ export declare const InlineConfirmTarget: (<C = (<C_1 = "button">(props: import(
|
|
|
12
12
|
}) | (ButtonProps & {
|
|
13
13
|
component: React.ElementType;
|
|
14
14
|
renderRoot?: (props: Record<string, any>) => any;
|
|
15
|
-
})>, never> & import("@mantine/core
|
|
15
|
+
})>, never> & import("@mantine/core").ThemeExtend<{
|
|
16
16
|
props: ButtonProps;
|
|
17
17
|
defaultRef: HTMLButtonElement;
|
|
18
18
|
defaultComponent: "button";
|
|
@@ -30,7 +30,7 @@ export declare const InlineConfirmTarget: (<C = (<C_1 = "button">(props: import(
|
|
|
30
30
|
DestructiveTertiary: <L = "button">(props: import("@mantine/core").PolymorphicComponentProps<L, ButtonProps>) => React.ReactElement;
|
|
31
31
|
DestructiveQuaternary: <L = "button">(props: import("@mantine/core").PolymorphicComponentProps<L, ButtonProps>) => React.ReactElement;
|
|
32
32
|
};
|
|
33
|
-
}> & import("@mantine/core
|
|
33
|
+
}> & import("@mantine/core").ComponentClasses<{
|
|
34
34
|
props: ButtonProps;
|
|
35
35
|
defaultRef: HTMLButtonElement;
|
|
36
36
|
defaultComponent: "button";
|
|
@@ -48,7 +48,7 @@ export declare const InlineConfirmTarget: (<C = (<C_1 = "button">(props: import(
|
|
|
48
48
|
DestructiveTertiary: <L = "button">(props: import("@mantine/core").PolymorphicComponentProps<L, ButtonProps>) => React.ReactElement;
|
|
49
49
|
DestructiveQuaternary: <L = "button">(props: import("@mantine/core").PolymorphicComponentProps<L, ButtonProps>) => React.ReactElement;
|
|
50
50
|
};
|
|
51
|
-
}> & import("@mantine/core
|
|
51
|
+
}> & import("@mantine/core").PolymorphicComponentWithProps<{
|
|
52
52
|
props: ButtonProps;
|
|
53
53
|
defaultRef: HTMLButtonElement;
|
|
54
54
|
defaultComponent: "button";
|
|
@@ -1,2 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
import { Input as MantineInput, type InputFactory as MantineInputFactory, type InputProps } from '@mantine/core';
|
|
2
|
+
import { InputLabelInfo, type InputLabelInfoFactory, type InputLabelInfoProps, type InputLabelInfoStylesNames } from './InputLabelInfo.js';
|
|
3
|
+
type PlasmaInputFactory = Omit<MantineInputFactory, 'staticComponents'> & {
|
|
4
|
+
staticComponents: MantineInputFactory['staticComponents'] & {
|
|
5
|
+
LabelInfo: typeof InputLabelInfo;
|
|
6
|
+
};
|
|
7
|
+
};
|
|
8
|
+
declare const Input: typeof MantineInput & {
|
|
9
|
+
LabelInfo: typeof InputLabelInfo;
|
|
10
|
+
};
|
|
11
|
+
export { Input };
|
|
12
|
+
export type InputFactory = PlasmaInputFactory;
|
|
13
|
+
export type { InputProps, InputLabelInfoFactory, InputLabelInfoProps, InputLabelInfoStylesNames };
|
|
14
|
+
export { InputLabelInfo };
|
|
2
15
|
//# sourceMappingURL=Input.d.ts.map
|