@gobolt/genesis 0.0.10 → 0.0.11
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/README.md +2 -2
- package/dist/AntdIcon-nCNB0J1E.js +192 -0
- package/dist/CheckCircleFilled-BKgizvyl.js +13 -0
- package/dist/{CheckOutlined-CeTKr6II.js → CheckOutlined-cEBrx_Ag.js} +2 -2
- package/dist/{CloseCircleFilled-DXCxlIQL.js → CloseCircleFilled-B9e7yFwo.js} +2 -2
- package/dist/{CloseOutlined-ClXDNn82.js → CloseOutlined-ogxnm7Oy.js} +2 -2
- package/dist/{Compact-CGY560JF.js → Compact-DBh6nSYB.js} +42 -45
- package/dist/{ContextIsolator-D5x2Ih51.js → ContextIsolator-CwuJooYf.js} +2 -2
- package/dist/{PurePanel-BqPLRtc2.js → DownOutlined-5-15jS0h.js} +42 -40
- package/dist/{index-C8haFnXI.js → EllipsisOutlined-CJ2pgE2d.js} +153 -150
- package/dist/ExclamationCircleFilled-BHELVsTg.js +13 -0
- package/dist/Keyframes-sPZXYuXt.js +17 -0
- package/dist/{LoadingOutlined-8EnJdZ7I.js → LoadingOutlined-C1qu6ymP.js} +6 -6
- package/dist/MinusCircleOutlined-Shz0RRQV.js +37 -0
- package/dist/{Overflow-PBZD-PFm.js → Overflow-DdNKJLQh.js} +67 -66
- package/dist/{SearchOutlined-BP3Z2K6j.js → SearchOutlined-DNj-7b_h.js} +2 -2
- package/dist/Skeleton-B3vg9CbL.js +560 -0
- package/dist/{TextArea-DKwCct3i.js → TextArea-CKWbFr0u.js} +26 -18
- package/dist/Typography-DqI7RslA.js +705 -0
- package/dist/_baseIsEqual-L0-w1QRI.js +598 -0
- package/dist/_commonjsHelpers-BkfeUUK-.js +28 -0
- package/dist/asyncToGenerator-CKP9bEZn.js +312 -0
- package/dist/{button-CDQgO1OK.js → button-B2Rgggx2.js} +127 -116
- package/dist/clsx-OuTLNxxd.js +16 -0
- package/dist/components/Avatar/Avatar.d.ts +12 -0
- package/dist/components/Avatar/Avatar.js +61 -0
- package/dist/components/Avatar/__stories__/Avatar.stories.d.ts +8 -0
- package/dist/components/Avatar/__tests__/Avatar.test.d.ts +1 -0
- package/dist/components/Avatar/__tests__/Avatar.test.js +17 -0
- package/dist/components/Avatar/index.d.ts +2 -0
- package/dist/components/Avatar/index.js +4 -0
- package/dist/components/Avatar/styles.d.ts +18 -0
- package/dist/components/Avatar/styles.js +326 -0
- package/dist/components/Badge/Badge.d.ts +5 -3
- package/dist/components/Badge/Badge.js +67 -100
- package/dist/components/Badge/__stories__/Badge.stories.d.ts +5 -4
- package/dist/components/Badge/__tests__/Badge.test.js +9 -10
- package/dist/components/Badge/styles.d.ts +12 -3
- package/dist/components/Badge/styles.js +30 -27
- package/dist/components/Breadcrumb/Breadcrumb.js +2 -2
- package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +1 -1
- package/dist/components/Breadcrumb/styles.js +239 -2260
- package/dist/components/Button/Button.d.ts +4 -3
- package/dist/components/Button/Button.js +10 -6
- package/dist/components/Button/__stories__/Button.stories.d.ts +3 -0
- package/dist/components/Button/__tests__/Button.test.js +1 -1
- package/dist/components/Button/styles.d.ts +2 -2
- package/dist/components/Button/styles.js +20 -17
- package/dist/components/Card/Card.d.ts +9 -0
- package/dist/components/Card/Card.js +16 -0
- package/dist/components/Card/__stories__/Card.stories.d.ts +7 -0
- package/dist/components/Card/__tests__/Card.test.d.ts +1 -0
- package/dist/components/Card/__tests__/Card.test.js +16 -0
- package/dist/components/Card/index.d.ts +2 -0
- package/dist/components/Card/index.js +4 -0
- package/dist/components/Card/styles.d.ts +16 -0
- package/dist/components/Card/styles.js +12 -0
- package/dist/components/Checkbox/Checkbox.d.ts +1 -2
- package/dist/components/Checkbox/Checkbox.js +28 -16
- package/dist/components/Checkbox/__tests__/Checkbox.test.js +1 -1
- package/dist/components/Checkbox/styles.js +22 -457
- package/dist/components/Dashboard/Dashboard.d.ts +5 -0
- package/dist/components/Dashboard/Dashboard.js +5 -0
- package/dist/components/Dashboard/__mocks__/dashboard-data.d.ts +14 -0
- package/dist/components/Dashboard/__mocks__/dashboard-data.js +186 -0
- package/dist/components/Dashboard/__stories__/Dashboard.stories.d.ts +7 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutContent.d.ts +2 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +948 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.d.ts +2 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +85 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutStory.d.ts +13 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutStory.js +22 -0
- package/dist/components/Dashboard/__stories__/charts/LineChart.d.ts +12 -0
- package/dist/components/Dashboard/__stories__/charts/LineChart.js +536 -0
- package/dist/components/Dashboard/__tests__/Dashboard.test.d.ts +1 -0
- package/dist/components/Dashboard/__tests__/Dashboard.test.js +16 -0
- package/dist/components/Dashboard/index.d.ts +2 -0
- package/dist/components/Dashboard/index.js +4 -0
- package/dist/components/Dashboard/styles.d.ts +14 -0
- package/dist/components/Dashboard/styles.js +11 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +19 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.js +72 -0
- package/dist/components/ErrorBoundary/__stories__/ErrorBoundary.stories.d.ts +8 -0
- package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.d.ts +1 -0
- package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +25 -0
- package/dist/components/ErrorBoundary/index.d.ts +2 -0
- package/dist/components/ErrorBoundary/index.js +4 -0
- package/dist/components/ErrorBoundary/styles.d.ts +14 -0
- package/dist/components/ErrorBoundary/styles.js +11 -0
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.d.ts +2 -2
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +33 -18
- package/dist/components/ErrorBoundaryFallback/__stories__/ErrorBoundaryFallback.stories.d.ts +1 -1
- package/dist/components/ErrorBoundaryFallback/styles.js +17 -15
- package/dist/components/Form/Form.js +3 -3
- package/dist/components/Form/__stories__/FormStory.js +127 -50
- package/dist/components/Form/__tests__/form.test.js +2 -2
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Form/styles.js +1 -1
- package/dist/components/Glyph/Glyph.d.ts +4 -0
- package/dist/components/Glyph/Glyph.js +9 -0
- package/dist/components/Glyph/__stories__/Glyph.stories.d.ts +7 -0
- package/dist/components/Glyph/index.d.ts +2 -0
- package/dist/components/Glyph/index.js +4 -0
- package/dist/components/Glyph/styles.d.ts +14 -0
- package/dist/components/Glyph/styles.js +11 -0
- package/dist/components/Input/Input.d.ts +1 -2
- package/dist/components/Input/Input.js +14 -10
- package/dist/components/Input/__tests__/Input.test.js +1 -1
- package/dist/components/Input/styles.js +58 -466
- package/dist/components/Layout/Content/Content.d.ts +11 -0
- package/dist/components/Layout/Content/Content.js +32 -0
- package/dist/components/Layout/Content/ResponsiveContent.d.ts +7 -0
- package/dist/components/Layout/Content/ResponsiveContent.js +81 -0
- package/dist/components/Layout/Content/index.d.ts +2 -0
- package/dist/components/Layout/Content/index.js +4 -0
- package/dist/components/Layout/Content/styles.d.ts +11 -0
- package/dist/components/Layout/Content/styles.js +16 -0
- package/dist/components/Layout/Layout.d.ts +8 -0
- package/dist/components/Layout/Layout.js +6 -0
- package/dist/components/Layout/MainLayout/MainLayout.d.ts +10 -0
- package/dist/components/Layout/MainLayout/MainLayout.js +28 -0
- package/dist/components/Layout/MainLayout/__stories__/MainLayout.stories.d.ts +9 -0
- package/dist/components/Layout/MainLayout/index.d.ts +2 -0
- package/dist/components/Layout/MainLayout/index.js +4 -0
- package/dist/components/Layout/MainLayout/styles.d.ts +4 -0
- package/dist/components/Layout/MainLayout/styles.js +69 -0
- package/dist/components/Layout/__stories__/Layout.stories.d.ts +7 -0
- package/dist/components/Layout/__tests__/Layout.test.d.ts +1 -0
- package/dist/components/Layout/__tests__/Layout.test.js +14 -0
- package/dist/components/Layout/index.d.ts +2 -0
- package/dist/components/Layout/index.js +4 -0
- package/dist/components/Message/Message.d.ts +6 -4
- package/dist/components/Message/Message.js +70 -43
- package/dist/components/Message/__tests__/Message.test.js +1 -1
- package/dist/components/Message/styles.d.ts +1 -0
- package/dist/components/Message/styles.js +15 -11
- package/dist/components/Notification/Notification.js +145 -120
- package/dist/components/Notification/NotificationBadge/NotificationBadge.d.ts +6 -0
- package/dist/components/Notification/NotificationBadge/NotificationBadge.js +49 -0
- package/dist/components/Notification/NotificationBadge/__stories__/NotificationBadge.stories.d.ts +13 -0
- package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.d.ts +1 -0
- package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +18 -0
- package/dist/components/Notification/NotificationBadge/index.d.ts +2 -0
- package/dist/components/Notification/NotificationBadge/index.js +4 -0
- package/dist/components/Notification/NotificationBadge/styles.d.ts +3 -0
- package/dist/components/Notification/NotificationBadge/styles.js +34 -0
- package/dist/components/Notification/__tests__/Notification.test.js +1 -1
- package/dist/components/Notification/styles.d.ts +1 -1
- package/dist/components/Notification/styles.js +1 -1
- package/dist/components/Popover/Popover.d.ts +10 -0
- package/dist/components/Popover/Popover.js +21 -0
- package/dist/components/Popover/__stories__/Popover.stories.d.ts +7 -0
- package/dist/components/Popover/__tests__/Popover.test.d.ts +1 -0
- package/dist/components/Popover/__tests__/Popover.test.js +40 -0
- package/dist/components/Popover/index.d.ts +2 -0
- package/dist/components/Popover/index.js +4 -0
- package/dist/components/Popover/styles.d.ts +15 -0
- package/dist/components/Popover/styles.js +6 -0
- package/dist/components/Progress/Progress.d.ts +18 -0
- package/dist/components/Progress/Progress.js +91 -0
- package/dist/components/Progress/Progress.util.d.ts +4 -0
- package/dist/components/Progress/Progress.util.js +62 -0
- package/dist/components/Progress/ProgressText.d.ts +11 -0
- package/dist/components/Progress/ProgressText.js +67 -0
- package/dist/components/Progress/__stories__/Progress.stories.d.ts +12 -0
- package/dist/components/Progress/__tests__/Progress.test.d.ts +1 -0
- package/dist/components/Progress/__tests__/Progress.test.js +21 -0
- package/dist/components/Progress/index.d.ts +2 -0
- package/dist/components/Progress/index.js +4 -0
- package/dist/components/Progress/styles.d.ts +17 -0
- package/dist/components/Progress/styles.js +793 -0
- package/dist/components/Radio/Radio.js +22 -6
- package/dist/components/Radio/RadioGroup.js +1 -1
- package/dist/components/Radio/__tests__/RadioGroup.test.js +1 -1
- package/dist/components/Radio/index.d.ts +1 -0
- package/dist/components/Row/Row.d.ts +14 -0
- package/dist/components/Row/Row.js +38 -0
- package/dist/components/Row/RowActions/RowActions.d.ts +9 -0
- package/dist/components/Row/RowActions/RowActions.js +59 -0
- package/dist/components/Row/RowActions/styles.d.ts +2 -0
- package/dist/components/Row/RowActions/styles.js +32 -0
- package/dist/components/Row/RowLabelValue/RowLabelValue.d.ts +11 -0
- package/dist/components/Row/RowLabelValue/RowLabelValue.js +62 -0
- package/dist/components/Row/RowLabelValue/RowSkeleton.d.ts +3 -0
- package/dist/components/Row/RowLabelValue/RowSkeleton.js +24 -0
- package/dist/components/Row/RowLabelValue/styles.d.ts +15 -0
- package/dist/components/Row/RowLabelValue/styles.js +25 -0
- package/dist/components/Row/__stories__/Row.stories.d.ts +13 -0
- package/dist/components/Row/__tests__/Row.test.d.ts +1 -0
- package/dist/components/Row/__tests__/Row.test.js +16 -0
- package/dist/components/Row/index.d.ts +2 -0
- package/dist/components/Row/index.js +4 -0
- package/dist/components/Row/styles.d.ts +15 -0
- package/dist/components/Row/styles.js +15 -0
- package/dist/components/SegmentedControls/SegmentedControls.d.ts +12 -0
- package/dist/components/SegmentedControls/SegmentedControls.js +26 -0
- package/dist/components/SegmentedControls/__stories__/SegmentedControls.stories.d.ts +9 -0
- package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.d.ts +1 -0
- package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +24 -0
- package/dist/components/SegmentedControls/index.d.ts +2 -0
- package/dist/components/SegmentedControls/index.js +4 -0
- package/dist/components/SegmentedControls/styles.d.ts +12 -0
- package/dist/components/SegmentedControls/styles.js +511 -0
- package/dist/components/Select/Select.d.ts +2 -4
- package/dist/components/Select/Select.js +12 -11
- package/dist/components/Select/__tests__/Select.test.js +1 -1
- package/dist/components/Select/styles.js +39 -3654
- package/dist/components/Shapes/Shapes.d.ts +6 -0
- package/dist/components/Shapes/Shapes.js +8 -0
- package/dist/components/Shapes/__stories__/Shapes.stories.d.ts +9 -0
- package/dist/components/Shapes/__tests__/Shapes.test.d.ts +1 -0
- package/dist/components/Shapes/__tests__/Shapes.test.js +16 -0
- package/dist/components/Shapes/index.d.ts +2 -0
- package/dist/components/Shapes/index.js +4 -0
- package/dist/components/Shapes/variants/Circle.d.ts +5 -0
- package/dist/components/Shapes/variants/Circle.js +23 -0
- package/dist/components/Shapes/variants/Rectangle.d.ts +5 -0
- package/dist/components/Shapes/variants/Rectangle.js +23 -0
- package/dist/components/Shapes/variants/Triangle.d.ts +5 -0
- package/dist/components/Shapes/variants/Triangle.js +23 -0
- package/dist/components/Switch/Switch.d.ts +9 -0
- package/dist/components/Switch/Switch.js +22 -0
- package/dist/components/Switch/__stories__/Switch.stories.d.ts +8 -0
- package/dist/components/Switch/__tests__/Switch.test.d.ts +1 -0
- package/dist/components/Switch/__tests__/Switch.test.js +25 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/Switch/index.js +4 -0
- package/dist/components/Switch/styles.d.ts +9 -0
- package/dist/components/Switch/styles.js +456 -0
- package/dist/components/Table/Table.d.ts +15 -0
- package/dist/components/Table/Table.js +23 -0
- package/dist/components/Table/__mocks__/table-mocks.d.ts +20 -0
- package/dist/components/Table/__mocks__/table-mocks.js +321 -0
- package/dist/components/Table/__stories__/Table.stories.d.ts +7 -0
- package/dist/components/Table/__tests__/Table.test.d.ts +1 -0
- package/dist/components/Table/__tests__/Table.test.js +34 -0
- package/dist/components/Table/index.d.ts +2 -0
- package/dist/components/Table/index.js +4 -0
- package/dist/components/Table/styles.d.ts +8 -0
- package/dist/components/Table/styles.js +6 -0
- package/dist/components/Tabs/Tabs.d.ts +10 -0
- package/dist/components/Tabs/Tabs.js +23 -0
- package/dist/components/Tabs/__stories__/Tabs.stories.d.ts +8 -0
- package/dist/components/Tabs/__tests__/Tabs.test.d.ts +1 -0
- package/dist/components/Tabs/__tests__/Tabs.test.js +37 -0
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/Tabs/index.js +4 -0
- package/dist/components/Tabs/styles.d.ts +12 -0
- package/dist/components/Tabs/styles.js +102 -0
- package/dist/components/Tile/Tile.d.ts +10 -0
- package/dist/components/Tile/Tile.js +21 -0
- package/dist/components/Tile/__stories__/Tile.stories.d.ts +7 -0
- package/dist/components/Tile/__tests__/Tile.test.d.ts +1 -0
- package/dist/components/Tile/__tests__/Tile.test.js +21 -0
- package/dist/components/Tile/index.d.ts +2 -0
- package/dist/components/Tile/index.js +4 -0
- package/dist/components/Tile/styles.d.ts +11 -0
- package/dist/components/Tile/styles.js +12 -0
- package/dist/components/Toast/Toast.js +23 -6
- package/dist/components/Toast/__tests__/Toast.test.js +2 -2
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/Toast/styles.d.ts +0 -1
- package/dist/components/Toast/styles.js +14 -23
- package/dist/components/Tooltip/Tooltip.d.ts +7 -0
- package/dist/components/Tooltip/Tooltip.js +50 -0
- package/dist/components/Tooltip/__stories__/Tooltip.stories.d.ts +7 -0
- package/dist/components/Tooltip/__tests__/Tooltip.test.d.ts +1 -0
- package/dist/components/Tooltip/__tests__/Tooltip.test.js +25 -0
- package/dist/components/Tooltip/index.d.ts +2 -0
- package/dist/components/Tooltip/index.js +4 -0
- package/dist/components/Tooltip/styles.d.ts +20 -0
- package/dist/components/Tooltip/styles.js +11 -0
- package/dist/components/Typography/Typography.d.ts +5 -1
- package/dist/components/Typography/Typography.js +2 -2
- package/dist/components/Typography/__stories__/Typography.stories.d.ts +1 -0
- package/dist/components/Typography/__tests__/Typography.test.js +2 -2
- package/dist/components/Typography/index.js +1 -1
- package/dist/components/Typography/styles.d.ts +1 -0
- package/dist/components/Typography/styles.js +53 -17
- package/dist/components/index.d.ts +31 -1
- package/dist/components/index.js +54 -24
- package/dist/constants/index.d.ts +4 -0
- package/dist/constants/index.js +4 -2
- package/dist/{context-BMW3aJEf.js → context-Cx7GtZpz.js} +281 -284
- package/dist/dropdown-zGGFIyJ_.js +2044 -0
- package/dist/generateCategoricalChart-7ceYaiZ2.js +15597 -0
- package/dist/genesis/GenesisThemeBreakdown.js +38 -22
- package/dist/genesis/styles.js +7 -2923
- package/dist/iconBase-LROS5hdG.js +112 -0
- package/dist/index-BRUI9igj.js +11 -0
- package/dist/index-BTGF--50.js +1845 -0
- package/dist/index-BW_7pvTr.js +538 -0
- package/dist/{index-oK7z6jnz.js → index-ByspLxrB.js} +8640 -8798
- package/dist/{index-bKlRxQp4.js → index-CRotrkWm.js} +7 -7
- package/dist/{index-C0SmxWLS.js → index-CSPlXIlA.js} +136 -143
- package/dist/index-CdiHBmVe.js +445 -0
- package/dist/index-CodMmNWv.js +102 -0
- package/dist/{index-DPW8XdWj.js → index-CqqwGTME.js} +34 -30
- package/dist/index-D0P16DlX.js +286 -0
- package/dist/index-DLdU7Tpd.js +183 -0
- package/dist/index-DWUXwgXK.js +809 -0
- package/dist/index-DmZOkMjs.js +3628 -0
- package/dist/{index-1CBpubM3.js → index-Dyl-ddV6.js} +47 -44
- package/dist/index-hoPiccJv.js +415 -0
- package/dist/index.js +61 -31
- package/dist/interface/address.d.ts +10 -0
- package/dist/interface/address.js +1 -0
- package/dist/interface/appointment.d.ts +57 -0
- package/dist/interface/appointment.js +5 -0
- package/dist/interface/appointmentV2.d.ts +65 -0
- package/dist/interface/appointmentV2.js +1 -0
- package/dist/interface/appointmentsState.d.ts +21 -0
- package/dist/interface/appointmentsState.js +1 -0
- package/dist/interface/common.d.ts +2 -0
- package/dist/interface/common.js +1 -0
- package/dist/interface/completionData.d.ts +18 -0
- package/dist/interface/completionData.js +1 -0
- package/dist/interface/deliveryPartner.d.ts +25 -0
- package/dist/interface/deliveryPartner.js +1 -0
- package/dist/interface/organization.d.ts +9 -0
- package/dist/interface/organization.js +1 -0
- package/dist/interface/pagination.d.ts +8 -0
- package/dist/interface/pagination.js +1 -0
- package/dist/interface/roles.d.ts +9 -0
- package/dist/interface/roles.js +1 -0
- package/dist/interface/route.d.ts +73 -0
- package/dist/interface/route.js +1 -0
- package/dist/interface/routeAnalysis.d.ts +108 -0
- package/dist/interface/routeAnalysis.js +1 -0
- package/dist/interface/routeAutomationJob.d.ts +95 -0
- package/dist/interface/routeAutomationJob.js +10 -0
- package/dist/interface/routeAutomationLog.d.ts +10 -0
- package/dist/interface/routeAutomationLog.js +1 -0
- package/dist/interface/routeEvent.d.ts +55 -0
- package/dist/interface/routeEvent.js +5 -0
- package/dist/interface/serviceArea.d.ts +18 -0
- package/dist/interface/serviceArea.js +1 -0
- package/dist/interface/util.d.ts +3 -0
- package/dist/interface/util.js +1 -0
- package/dist/interface/vehicle.d.ts +120 -0
- package/dist/interface/vehicle.js +1 -0
- package/dist/interface/workOrder.d.ts +22 -0
- package/dist/interface/workOrder.js +1 -0
- package/dist/isVisible-D3-B85BJ.js +22 -0
- package/dist/{magic-string.es-D2FWSwU3.js → magic-string.es-BKBb7z-1.js} +1 -1
- package/dist/omit-B_u6A-HL.js +9 -0
- package/dist/{pickAttrs-B0YTfcV1.js → pickAttrs-CleuMJFR.js} +1 -1
- package/dist/{warning-C63HNL9U.js → presets-Djh_L_6R.js} +333 -356
- package/dist/providers/BreakpointThemeProvider.d.ts +9 -0
- package/dist/providers/BreakpointThemeProvider.js +21 -0
- package/dist/providers/GenesisProvider.js +3 -3
- package/dist/providers/ToastProvider.js +22 -6
- package/dist/providers/index.js +1 -1
- package/dist/providers/useGenesis.js +2 -2
- package/dist/responsiveObserver-O1kw80RG.js +73 -0
- package/dist/setup-CKu7-AfI.js +24706 -0
- package/dist/setup.types-dBtAXXGp.js +8824 -0
- package/dist/shadow-BoMGMNn3.js +13 -0
- package/dist/styleChecker-Cotu61d0.js +21 -0
- package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +28 -12
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.d.ts +1 -3
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +37 -16
- package/dist/styles/design-tokens/sizing-tokens/index.stories.d.ts +0 -1
- package/dist/styles/theme/genesis-theme.js +468 -263
- package/dist/styles/theme/genesis-theme.types.d.ts +53 -12
- package/dist/styles/theme/theme-tree/ThemeTree.d.ts +1 -0
- package/dist/styles/theme/theme-tree/ThemeTree.js +1651 -0
- package/dist/styles/theme/theme-tree/ThemeTree.stories.d.ts +6 -0
- package/dist/{styles-CT_fyXBd.js → styles-BDbHpHsc.js} +587 -643
- package/dist/styles-BSD221S5.js +289 -0
- package/dist/styles-D9iYILpv.js +9195 -0
- package/dist/test/setup.d.ts +2 -3
- package/dist/test/setup.js +87 -4
- package/dist/test/setup.types.d.ts +7 -0
- package/dist/test/setup.types.js +1 -0
- package/dist/toArray-DGvPoJP_.js +11 -0
- package/dist/useBreakpoint-CAMzKscx.js +22 -0
- package/dist/useCSSVarCls-C-MlZC6a.js +11 -0
- package/dist/useId-D2tzlufo.js +26 -0
- package/dist/useLocale-DWRfeMSS.js +16 -0
- package/dist/useMergedState-BoELfaU9.js +23 -0
- package/dist/useSize-CPo2bUE3.js +9 -0
- package/dist/{useVariants-DvhXfgJY.js → useVariants-Cin23jEC.js} +3 -3
- package/dist/useZIndex-D81lkWy4.js +44 -0
- package/dist/utils/icon-util.d.ts +2 -0
- package/dist/utils/icon-util.js +95 -0
- package/package.json +26 -15
- package/dist/AntdIcon-BoLh1dP8.js +0 -202
- package/dist/ExclamationCircleFilled-C0Kj5KQV.js +0 -21
- package/dist/Typography-aGoDUl4R.js +0 -710
- package/dist/index-BZAhCB_K.js +0 -97
- package/dist/index-CfDY25LP.js +0 -873
- package/dist/isVisible-A-IfeFoT.js +0 -367
- package/dist/providers/ThemeProvider.d.ts +0 -9
- package/dist/providers/ThemeProvider.js +0 -21
- package/dist/setup-BvfREoHl.js +0 -33891
- package/dist/useLocale-DT-z_vQ6.js +0 -16
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ASN.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ASN.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Appointment.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Appointment.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Inventory.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Inventory.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Parcel.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Parcel.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Product.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Product.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Route.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Route.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Shipment.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/Shipment.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ShoppingCart.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/ShoppingCart.js +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/System.d.ts +0 -0
- /package/dist/components/{Badge → Notification/NotificationBadge}/icons/System.js +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
|
|
2
|
+
|
|
3
|
+
interface StyledTileProps {
|
|
4
|
+
theme?: GenesisTheme;
|
|
5
|
+
$isHorizontal?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare const getGenesisClass: ({ sizing }: {
|
|
8
|
+
sizing: any;
|
|
9
|
+
}, $isHorizontal?: boolean) => string;
|
|
10
|
+
export declare const Tile: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyledTileProps>> & string;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { d as s } from "../../styled-components.browser.esm-CZ1XM4o4.js";
|
|
2
|
+
const o = ({ sizing: e }, i = !1) => `
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-direction: ${i ? "row" : "column"};
|
|
5
|
+
padding: ${e.Size4};
|
|
6
|
+
`, d = s.div`
|
|
7
|
+
${({ theme: e, $isHorizontal: i }) => o(e, i)}
|
|
8
|
+
`;
|
|
9
|
+
export {
|
|
10
|
+
d as Tile,
|
|
11
|
+
o as getGenesisClass
|
|
12
|
+
};
|
|
@@ -1,19 +1,36 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "../../constants/index.js";
|
|
3
|
+
import "../Avatar/styles.js";
|
|
3
4
|
import "../Badge/styles.js";
|
|
5
|
+
import "../../providers/BreakpointThemeProvider.js";
|
|
6
|
+
import { T as H } from "../../Typography-DqI7RslA.js";
|
|
4
7
|
import "../Breadcrumb/styles.js";
|
|
5
|
-
import "
|
|
6
|
-
import
|
|
7
|
-
import "../Button/styles.js";
|
|
8
|
+
import "../Button/Button.js";
|
|
9
|
+
import "../Card/styles.js";
|
|
8
10
|
import "../Checkbox/styles.js";
|
|
11
|
+
import "react";
|
|
9
12
|
import "../ErrorBoundaryFallback/styles.js";
|
|
10
13
|
import "../Input/styles.js";
|
|
14
|
+
import "../Layout/Content/styles.js";
|
|
11
15
|
import "../Message/styles.js";
|
|
16
|
+
import "../Notification/NotificationBadge/styles.js";
|
|
12
17
|
import "../Notification/styles.js";
|
|
13
|
-
import "
|
|
18
|
+
import "../../styles-BSD221S5.js";
|
|
19
|
+
import "../Progress/styles.js";
|
|
20
|
+
import "../../styles/global-styles.js";
|
|
21
|
+
import "../Row/styles.js";
|
|
22
|
+
import "../Row/RowLabelValue/styles.js";
|
|
23
|
+
import "../Row/RowActions/styles.js";
|
|
24
|
+
import "../SegmentedControls/styles.js";
|
|
14
25
|
import "../Select/styles.js";
|
|
26
|
+
import "../Switch/styles.js";
|
|
27
|
+
import "../../styles-D9iYILpv.js";
|
|
28
|
+
import "../Tabs/styles.js";
|
|
29
|
+
import "../Tile/styles.js";
|
|
30
|
+
import "../Tooltip/styles.js";
|
|
15
31
|
import "./styles.js";
|
|
16
|
-
import "../../CloseOutlined-
|
|
32
|
+
import "../../CloseOutlined-ogxnm7Oy.js";
|
|
33
|
+
import "../../MinusCircleOutlined-Shz0RRQV.js";
|
|
17
34
|
export {
|
|
18
|
-
|
|
35
|
+
H as default
|
|
19
36
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { v as m, a as n } from "../../../setup-
|
|
3
|
-
import { T as a } from "../../../Typography-
|
|
2
|
+
import { v as m, a as n } from "../../../setup-CKu7-AfI.js";
|
|
3
|
+
import { T as a } from "../../../Typography-DqI7RslA.js";
|
|
4
4
|
describe("<Toast />", () => {
|
|
5
5
|
let e;
|
|
6
6
|
beforeEach(() => {
|
|
@@ -2,7 +2,6 @@ export declare const ToastRow: import('styled-components/dist/types').IStyledCom
|
|
|
2
2
|
state: string;
|
|
3
3
|
size: string;
|
|
4
4
|
}>> & string;
|
|
5
|
-
export declare const ToastActionButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
6
5
|
export declare const ToastCloseButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components').FastOmit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
7
6
|
export declare const ToastContent: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
8
7
|
state: string;
|
|
@@ -1,39 +1,31 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { SIZE as
|
|
3
|
-
const
|
|
1
|
+
import { d as i } from "../../styled-components.browser.esm-CZ1XM4o4.js";
|
|
2
|
+
import { SIZE as a } from "../../constants/index.js";
|
|
3
|
+
const s = i.div`
|
|
4
4
|
display: flex;
|
|
5
5
|
align-items: center;
|
|
6
6
|
gap: ${({ theme: t }) => t.sizing.Size4}px;
|
|
7
7
|
padding: ${({ theme: t }) => t.sizing.Size3}px;
|
|
8
|
-
background-color: ${({ theme: t, state:
|
|
9
|
-
border-left: ${({ theme: t, state:
|
|
8
|
+
background-color: ${({ theme: t, state: e }) => t.colors.surface.default};
|
|
9
|
+
border-left: ${({ theme: t, state: e }) => `2px solid ${t.colors.status[e].default}`};
|
|
10
10
|
pointer-events: none;
|
|
11
11
|
cursor: default;
|
|
12
12
|
border-radius: ${({ theme: t }) => t.borderRadius.BorderRadiusXs}px;
|
|
13
13
|
height: 56px;
|
|
14
|
-
width: ${({ theme: t, state:
|
|
15
|
-
background-color: ${({ theme: t, state:
|
|
14
|
+
width: ${({ theme: t, state: e, size: o }) => o === "standard" ? "340px" : "240px"};
|
|
15
|
+
background-color: ${({ theme: t, state: e }) => t.colors.surface.default};
|
|
16
16
|
box-shadow: 0px 4px 16px 0px #00000026;
|
|
17
|
-
`,
|
|
18
|
-
border: ${({ theme: t }) => `1px solid ${t.colors.interactive.utility.border}`};
|
|
19
|
-
background: none;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
pointer-events: all;
|
|
22
|
-
color: ${({ theme: t }) => t.colors.interactive.utility.onsurface};
|
|
23
|
-
border-radius: ${({ theme: t }) => t.borderRadius.BorderRadiusSm}px;
|
|
24
|
-
padding: ${({ theme: t }) => `${t.components.utilityButton.padding.verPadding}px ${t.components.utilityButton.padding.horPadding}px`};
|
|
25
|
-
`, p = e.button`
|
|
17
|
+
`, d = i.button`
|
|
26
18
|
text-decoration: underline;
|
|
27
19
|
border: none;
|
|
28
20
|
background: none;
|
|
29
21
|
cursor: pointer;
|
|
30
22
|
pointer-events: all;
|
|
31
|
-
`,
|
|
23
|
+
`, p = i.div`
|
|
32
24
|
display: flex;
|
|
33
25
|
align-items: center;
|
|
34
26
|
gap: ${({ theme: t }) => t.sizing.Size2}px;
|
|
35
27
|
flex: 1;
|
|
36
|
-
max-width: ${({ theme: t, state:
|
|
28
|
+
max-width: ${({ theme: t, state: e, size: o }) => o === "standard" ? "340px" : "240px"};
|
|
37
29
|
|
|
38
30
|
.ant-typography {
|
|
39
31
|
display: -webkit-box;
|
|
@@ -43,12 +35,11 @@ const d = e.div`
|
|
|
43
35
|
text-overflow: ellipsis;
|
|
44
36
|
font-size: 16px;
|
|
45
37
|
font-family: ${({ theme: t }) => t.typography.fontFamily};
|
|
46
|
-
line-height: ${({ theme: t, size:
|
|
38
|
+
line-height: ${({ theme: t, size: e }) => e === a.standard ? t.typography.lineHeight : "16px"};
|
|
47
39
|
}
|
|
48
40
|
`;
|
|
49
41
|
export {
|
|
50
|
-
|
|
51
|
-
p as
|
|
52
|
-
|
|
53
|
-
d as ToastRow
|
|
42
|
+
d as ToastCloseButton,
|
|
43
|
+
p as ToastContent,
|
|
44
|
+
s as ToastRow
|
|
54
45
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface TooltipProps {
|
|
2
|
+
tip: string;
|
|
3
|
+
placement?: "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare const Tooltip: ({ tip, children }: TooltipProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default Tooltip;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import { Tooltip as i } from "./styles.js";
|
|
3
|
+
import "../Avatar/styles.js";
|
|
4
|
+
import "../Badge/styles.js";
|
|
5
|
+
import "../../providers/BreakpointThemeProvider.js";
|
|
6
|
+
import { a as p } from "../../Typography-DqI7RslA.js";
|
|
7
|
+
import { TYPOGRAPHY_VARIANT as m } from "../../constants/index.js";
|
|
8
|
+
import "../Breadcrumb/styles.js";
|
|
9
|
+
import "../Button/styles.js";
|
|
10
|
+
import "../Card/styles.js";
|
|
11
|
+
import "../Checkbox/styles.js";
|
|
12
|
+
import "react";
|
|
13
|
+
import "../ErrorBoundaryFallback/styles.js";
|
|
14
|
+
import "../Input/styles.js";
|
|
15
|
+
import "../Layout/Content/styles.js";
|
|
16
|
+
import "../Message/styles.js";
|
|
17
|
+
import "../Notification/NotificationBadge/styles.js";
|
|
18
|
+
import "../Notification/styles.js";
|
|
19
|
+
import "../../styles-BSD221S5.js";
|
|
20
|
+
import "../Progress/styles.js";
|
|
21
|
+
import "../../styles/global-styles.js";
|
|
22
|
+
import "../Row/styles.js";
|
|
23
|
+
import "../Row/RowLabelValue/styles.js";
|
|
24
|
+
import "../Row/RowActions/styles.js";
|
|
25
|
+
import "../SegmentedControls/styles.js";
|
|
26
|
+
import "../Select/styles.js";
|
|
27
|
+
import "../Switch/styles.js";
|
|
28
|
+
import "../../styles-D9iYILpv.js";
|
|
29
|
+
import "../Tabs/styles.js";
|
|
30
|
+
import "../Tile/styles.js";
|
|
31
|
+
import "../Toast/styles.js";
|
|
32
|
+
const q = ({ tip: t = "", children: r }) => /* @__PURE__ */ o(
|
|
33
|
+
i,
|
|
34
|
+
{
|
|
35
|
+
"data-testid": "Tooltip",
|
|
36
|
+
placement: "top",
|
|
37
|
+
color: "white",
|
|
38
|
+
title: /* @__PURE__ */ o(
|
|
39
|
+
p,
|
|
40
|
+
{
|
|
41
|
+
variant: m.body1,
|
|
42
|
+
children: t
|
|
43
|
+
}
|
|
44
|
+
),
|
|
45
|
+
children: r
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
export {
|
|
49
|
+
q as default
|
|
50
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
+
import { a as r } from "../../../setup-CKu7-AfI.js";
|
|
3
|
+
import i from "../Tooltip.js";
|
|
4
|
+
describe("<Tooltip />", () => {
|
|
5
|
+
let t;
|
|
6
|
+
beforeEach(() => {
|
|
7
|
+
t = {
|
|
8
|
+
tip: "Tooltip content",
|
|
9
|
+
children: /* @__PURE__ */ n("div", { children: "Hover me" })
|
|
10
|
+
};
|
|
11
|
+
});
|
|
12
|
+
const o = () => r(/* @__PURE__ */ n(i, { ...t }));
|
|
13
|
+
it("should render the tooltip with default props", () => {
|
|
14
|
+
const { getByText: e } = o();
|
|
15
|
+
expect(e("Hover me")).toBeInTheDocument();
|
|
16
|
+
}), it("should render with custom content", () => {
|
|
17
|
+
t.tip = "Custom tooltip message";
|
|
18
|
+
const { getByText: e } = o();
|
|
19
|
+
expect(e("Hover me")).toBeInTheDocument();
|
|
20
|
+
}), it("should render with custom children", () => {
|
|
21
|
+
t.children = /* @__PURE__ */ n("button", { children: "Click me" });
|
|
22
|
+
const { getByText: e } = o();
|
|
23
|
+
expect(e("Click me")).toBeInTheDocument();
|
|
24
|
+
});
|
|
25
|
+
});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { GenesisTheme } from '../../styles/theme/genesis-theme.types';
|
|
2
|
+
|
|
3
|
+
interface StyledTooltipProps {
|
|
4
|
+
theme?: GenesisTheme;
|
|
5
|
+
type?: "primary" | "secondary";
|
|
6
|
+
state?: "active" | "disabled";
|
|
7
|
+
}
|
|
8
|
+
export declare const getGenesisClass: ({ colors, borderRadius, sizing }: {
|
|
9
|
+
colors: any;
|
|
10
|
+
borderRadius: any;
|
|
11
|
+
sizing: any;
|
|
12
|
+
}, type?: string, state?: string) => string;
|
|
13
|
+
export declare const Tooltip: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<(Omit<import('antd/es/tooltip').TooltipPropsWithTitle & import('react').RefAttributes<import('antd/es/tooltip').TooltipRef>, "ref"> & {
|
|
14
|
+
ref?: import('react').Ref<import('antd/es/tooltip').TooltipRef>;
|
|
15
|
+
}) | (Omit<import('antd/es/tooltip').TooltipPropsWithOverlay & import('react').RefAttributes<import('antd/es/tooltip').TooltipRef>, "ref"> & {
|
|
16
|
+
ref?: import('react').Ref<import('antd/es/tooltip').TooltipRef>;
|
|
17
|
+
}), StyledTooltipProps>> & string & Omit<import('react').ForwardRefExoticComponent<import('antd').TooltipProps & import('react').RefAttributes<import('antd/es/tooltip').TooltipRef>> & {
|
|
18
|
+
_InternalPanelDoNotUseOrYouWillBeFired: import('react').FC<import('antd/es/tooltip/PurePanel').PurePanelProps>;
|
|
19
|
+
}, keyof import('react').Component<any, {}, any>>;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { d as s } from "../../styled-components.browser.esm-CZ1XM4o4.js";
|
|
2
|
+
import { T as i } from "../../index-CqqwGTME.js";
|
|
3
|
+
const e = ({ colors: o, borderRadius: t, sizing: r }, a = "primary", p = "active") => `
|
|
4
|
+
|
|
5
|
+
`, c = s(i)`
|
|
6
|
+
${({ theme: o, type: t, state: r }) => e(o, t, r)}
|
|
7
|
+
`;
|
|
8
|
+
export {
|
|
9
|
+
c as Tooltip,
|
|
10
|
+
e as getGenesisClass
|
|
11
|
+
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { TYPE, TYPOGRAPHY_VARIANT, STATE } from '../../constants';
|
|
3
|
+
import { CSSProperties } from 'styled-components';
|
|
3
4
|
|
|
4
5
|
type HeadingLevel = 1 | 2 | 3 | 4 | 5;
|
|
5
6
|
export interface TypographyProps {
|
|
@@ -10,6 +11,9 @@ export interface TypographyProps {
|
|
|
10
11
|
color?: string;
|
|
11
12
|
level?: HeadingLevel;
|
|
12
13
|
isText?: boolean;
|
|
14
|
+
isFullWidth?: boolean;
|
|
15
|
+
style?: CSSProperties;
|
|
16
|
+
isDisabled?: boolean;
|
|
13
17
|
}
|
|
14
|
-
declare const Typography: ({ children, themeType, variant, state, color, isText, ...rest }: TypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
declare const Typography: ({ children, themeType, variant, state, color, isText, isFullWidth, style, isDisabled, ...rest }: TypographyProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
19
|
export default Typography;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "./styles.js";
|
|
3
|
-
import "../../providers/
|
|
4
|
-
import { a } from "../../Typography-
|
|
3
|
+
import "../../providers/BreakpointThemeProvider.js";
|
|
4
|
+
import { a } from "../../Typography-DqI7RslA.js";
|
|
5
5
|
import "../../constants/index.js";
|
|
6
6
|
export {
|
|
7
7
|
a as default
|
|
@@ -8,6 +8,7 @@ export declare const Default: Story;
|
|
|
8
8
|
export declare const Display: Story;
|
|
9
9
|
export declare const Heading: Story;
|
|
10
10
|
export declare const Body: Story;
|
|
11
|
+
export declare const Label: Story;
|
|
11
12
|
export declare const Message: Story;
|
|
12
13
|
export declare const Digits: Story;
|
|
13
14
|
export declare const DefaultParagraphVsText: Story;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { d as a, i, c, a as p, g as m, s as n } from "../../../setup-
|
|
3
|
-
import { a as y } from "../../../Typography-
|
|
2
|
+
import { d as a, i, c, a as p, g as m, s as n } from "../../../setup-CKu7-AfI.js";
|
|
3
|
+
import { a as y } from "../../../Typography-DqI7RslA.js";
|
|
4
4
|
import { TYPE as d, TYPOGRAPHY_VARIANT as f } from "../../../constants/index.js";
|
|
5
5
|
a("Typography", () => {
|
|
6
6
|
i("renders type and variant correctly", () => {
|
|
@@ -8,6 +8,7 @@ interface TypographyStyledProps {
|
|
|
8
8
|
state?: keyof typeof STATE;
|
|
9
9
|
breakpoint?: string;
|
|
10
10
|
color?: string;
|
|
11
|
+
$isFullWidth?: boolean;
|
|
11
12
|
}
|
|
12
13
|
export declare const Headline: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<Omit<import('antd/es/typography/Title').TitleProps & import('react').RefAttributes<HTMLElement>, "ref"> & {
|
|
13
14
|
ref?: import('react').Ref<HTMLElement>;
|
|
@@ -1,48 +1,84 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { T as
|
|
3
|
-
const
|
|
1
|
+
import { d as a } from "../../styled-components.browser.esm-CZ1XM4o4.js";
|
|
2
|
+
import { T as l } from "../../index-CSPlXIlA.js";
|
|
3
|
+
const m = (t, e, n) => `
|
|
4
4
|
font-size: ${t[n][e].fontSize}px !important;
|
|
5
5
|
line-height: ${t[n][e].lineHeight};
|
|
6
6
|
letter-spacing: ${t[n][e].letterSpacing}px;
|
|
7
7
|
font-weight: ${t[n][e].fontWeight};
|
|
8
|
-
`,
|
|
8
|
+
`, u = (t, e, n) => t || e[n].active.color, $ = (t) => `
|
|
9
9
|
${t.includes("digits") ? "'Roboto Mono', sans-serif" : "'Inter', sans-serif"} !important;
|
|
10
|
-
`, g = ({ colors: t, typography: e }, n, o, s, r, c) => `
|
|
10
|
+
`, g = ({ colors: t, typography: e }, n, o, s, r, i, c) => `
|
|
11
11
|
&.ant-typography {
|
|
12
12
|
font-family: ${$(o)};
|
|
13
|
-
color: ${
|
|
14
|
-
${
|
|
13
|
+
color: ${u(i, t, n)} !important;
|
|
14
|
+
${m(e, o, r)}
|
|
15
|
+
margin-bottom: 0 !important;
|
|
16
|
+
width: ${c ? "100%" : "auto"};
|
|
17
|
+
line-height: 1;
|
|
18
|
+
|
|
19
|
+
&:disabled {
|
|
20
|
+
color: ${t.status.disabled.default} !important;
|
|
21
|
+
userSelect: none;
|
|
22
|
+
cursor: not-allowed;
|
|
23
|
+
}
|
|
15
24
|
}
|
|
16
|
-
`,
|
|
17
|
-
${({
|
|
25
|
+
`, p = a(l.Title)`
|
|
26
|
+
${({
|
|
27
|
+
theme: t,
|
|
28
|
+
$themeType: e,
|
|
29
|
+
variant: n,
|
|
30
|
+
state: o,
|
|
31
|
+
breakpoint: s,
|
|
32
|
+
color: r,
|
|
33
|
+
$isFullWidth: i
|
|
34
|
+
}) => g(
|
|
18
35
|
t,
|
|
19
36
|
e,
|
|
20
37
|
n,
|
|
21
38
|
o,
|
|
22
39
|
s,
|
|
23
|
-
r
|
|
40
|
+
r,
|
|
41
|
+
i
|
|
24
42
|
)}
|
|
25
|
-
`, h =
|
|
26
|
-
${({
|
|
43
|
+
`, h = a(l.Paragraph)`
|
|
44
|
+
${({
|
|
45
|
+
theme: t,
|
|
46
|
+
$themeType: e,
|
|
47
|
+
variant: n,
|
|
48
|
+
state: o,
|
|
49
|
+
breakpoint: s,
|
|
50
|
+
color: r,
|
|
51
|
+
$isFullWidth: i
|
|
52
|
+
}) => g(
|
|
27
53
|
t,
|
|
28
54
|
e,
|
|
29
55
|
n,
|
|
30
56
|
o,
|
|
31
57
|
s,
|
|
32
|
-
r
|
|
58
|
+
r,
|
|
59
|
+
i
|
|
33
60
|
)}
|
|
34
|
-
`, T =
|
|
35
|
-
${({
|
|
61
|
+
`, T = a(l.Text)`
|
|
62
|
+
${({
|
|
63
|
+
theme: t,
|
|
64
|
+
$themeType: e,
|
|
65
|
+
variant: n,
|
|
66
|
+
state: o,
|
|
67
|
+
breakpoint: s,
|
|
68
|
+
color: r,
|
|
69
|
+
$isFullWidth: i
|
|
70
|
+
}) => g(
|
|
36
71
|
t,
|
|
37
72
|
e,
|
|
38
73
|
n,
|
|
39
74
|
o,
|
|
40
75
|
s,
|
|
41
|
-
r
|
|
76
|
+
r,
|
|
77
|
+
i
|
|
42
78
|
)}
|
|
43
79
|
`;
|
|
44
80
|
export {
|
|
45
|
-
|
|
81
|
+
p as Headline,
|
|
46
82
|
h as Paragraph,
|
|
47
83
|
T as Text
|
|
48
84
|
};
|
|
@@ -1,26 +1,56 @@
|
|
|
1
|
+
export { default as Avatar } from './Avatar';
|
|
2
|
+
export type { AvatarProps } from './Avatar';
|
|
1
3
|
export { default as Badge } from './Badge';
|
|
2
4
|
export type { BadgeProps } from './Badge';
|
|
3
5
|
export { default as Breadcrumb } from './Breadcrumb';
|
|
4
6
|
export type { BreadcrumbProps } from './Breadcrumb';
|
|
5
7
|
export { default as Button } from './Button';
|
|
6
8
|
export type { ButtonProps } from './Button';
|
|
9
|
+
export { default as Card } from './Card';
|
|
10
|
+
export type { CardProps } from './Card';
|
|
7
11
|
export { default as Checkbox } from './Checkbox';
|
|
8
12
|
export type { CheckboxProps } from './Checkbox';
|
|
13
|
+
export { default as Dashboard } from './Dashboard';
|
|
14
|
+
export type { DashboardProps } from './Dashboard';
|
|
15
|
+
export { default as ErrorBoundary } from './ErrorBoundary';
|
|
16
|
+
export type { ErrorBoundaryProps } from './ErrorBoundary';
|
|
9
17
|
export { default as ErrorBoundaryFallback } from './ErrorBoundaryFallback';
|
|
10
18
|
export type { ErrorBoundaryFallbackProps } from './ErrorBoundaryFallback';
|
|
11
19
|
export { default as Form } from './Form';
|
|
12
20
|
export type { FormProps } from './Form';
|
|
13
21
|
export { default as Input } from './Input';
|
|
14
22
|
export type { InputProps } from './Input';
|
|
23
|
+
export { default as Layout } from './Layout';
|
|
24
|
+
export type { LayoutProps } from './Layout';
|
|
15
25
|
export { default as Message } from './Message';
|
|
16
26
|
export type { MessageProps } from './Message';
|
|
17
27
|
export { default as Notification } from './Notification';
|
|
18
28
|
export type { NotificationProps } from './Notification';
|
|
29
|
+
export { default as Popover } from './Popover';
|
|
30
|
+
export type { PopoverProps } from './Popover';
|
|
31
|
+
export { default as Progress } from './Progress';
|
|
32
|
+
export type { ProgressProps } from './Progress';
|
|
19
33
|
export { default as RadioGroup } from './Radio';
|
|
20
|
-
export type { RadioGroupProps } from './Radio';
|
|
34
|
+
export type { RadioGroupProps, RadioData } from './Radio';
|
|
35
|
+
export { default as Row } from './Row';
|
|
36
|
+
export type { RowProps } from './Row';
|
|
37
|
+
export { default as SegmentedControls } from './SegmentedControls';
|
|
38
|
+
export type { SegmentedControlsProps } from './SegmentedControls';
|
|
21
39
|
export { default as Select } from './Select';
|
|
22
40
|
export type { SelectProps } from './Select';
|
|
41
|
+
export { default as Shapes } from './Shapes';
|
|
42
|
+
export type { ShapesProps } from './Shapes';
|
|
43
|
+
export { default as Switch } from './Switch';
|
|
44
|
+
export type { SwitchProps } from './Switch';
|
|
45
|
+
export { default as Table } from './Table';
|
|
46
|
+
export type { TableProps } from './Table';
|
|
47
|
+
export { default as Tabs } from './Tabs';
|
|
48
|
+
export type { TabsProps } from './Tabs';
|
|
49
|
+
export { default as Tile } from './Tile';
|
|
50
|
+
export type { TileProps } from './Tile';
|
|
23
51
|
export { default as Toast } from './Toast';
|
|
24
52
|
export type { ToastProps } from './Toast';
|
|
53
|
+
export { default as Tooltip } from './Tooltip';
|
|
54
|
+
export type { TooltipProps } from './Tooltip';
|
|
25
55
|
export { default as Typography } from './Typography';
|
|
26
56
|
export type { TypographyProps } from './Typography';
|
package/dist/components/index.js
CHANGED
|
@@ -1,26 +1,56 @@
|
|
|
1
|
-
import { default as r } from "./
|
|
2
|
-
import { default as t } from "./
|
|
3
|
-
import { default as s } from "./
|
|
4
|
-
import { default as
|
|
5
|
-
import { default as
|
|
6
|
-
import {
|
|
7
|
-
import { default as
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import {
|
|
11
|
-
import { default as
|
|
1
|
+
import { default as r } from "./Avatar/Avatar.js";
|
|
2
|
+
import { default as t } from "./Badge/Badge.js";
|
|
3
|
+
import { default as s } from "./Breadcrumb/Breadcrumb.js";
|
|
4
|
+
import { default as p } from "./Button/Button.js";
|
|
5
|
+
import { default as u } from "./Card/Card.js";
|
|
6
|
+
import { default as x } from "./Checkbox/Checkbox.js";
|
|
7
|
+
import { default as n } from "./Dashboard/Dashboard.js";
|
|
8
|
+
import { default as b } from "./ErrorBoundary/ErrorBoundary.js";
|
|
9
|
+
import { default as g } from "./ErrorBoundaryFallback/ErrorBoundaryFallback.js";
|
|
10
|
+
import { F as y, T as B, a as S } from "../Typography-DqI7RslA.js";
|
|
11
|
+
import { default as F } from "./Input/Input.js";
|
|
12
|
+
import { default as v } from "./Layout/Layout.js";
|
|
13
|
+
import { default as E } from "./Message/Message.js";
|
|
14
|
+
import { default as R } from "./Notification/Notification.js";
|
|
15
|
+
import { default as D } from "./Popover/Popover.js";
|
|
16
|
+
import { default as I } from "./Progress/Progress.js";
|
|
17
|
+
import { default as M } from "./Radio/RadioGroup.js";
|
|
18
|
+
import { default as j } from "./Row/Row.js";
|
|
19
|
+
import { default as z } from "./SegmentedControls/SegmentedControls.js";
|
|
20
|
+
import { default as J } from "./Select/Select.js";
|
|
21
|
+
import { default as O } from "./Shapes/Shapes.js";
|
|
22
|
+
import { default as U } from "./Switch/Switch.js";
|
|
23
|
+
import { default as W } from "./Table/Table.js";
|
|
24
|
+
import { default as Y } from "./Tabs/Tabs.js";
|
|
25
|
+
import { default as _ } from "./Tile/Tile.js";
|
|
26
|
+
import { default as oo } from "./Tooltip/Tooltip.js";
|
|
12
27
|
export {
|
|
13
|
-
r as
|
|
14
|
-
t as
|
|
15
|
-
s as
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
x as
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
28
|
+
r as Avatar,
|
|
29
|
+
t as Badge,
|
|
30
|
+
s as Breadcrumb,
|
|
31
|
+
p as Button,
|
|
32
|
+
u as Card,
|
|
33
|
+
x as Checkbox,
|
|
34
|
+
n as Dashboard,
|
|
35
|
+
b as ErrorBoundary,
|
|
36
|
+
g as ErrorBoundaryFallback,
|
|
37
|
+
y as Form,
|
|
38
|
+
F as Input,
|
|
39
|
+
v as Layout,
|
|
40
|
+
E as Message,
|
|
41
|
+
R as Notification,
|
|
42
|
+
D as Popover,
|
|
43
|
+
I as Progress,
|
|
44
|
+
M as RadioGroup,
|
|
45
|
+
j as Row,
|
|
46
|
+
z as SegmentedControls,
|
|
47
|
+
J as Select,
|
|
48
|
+
O as Shapes,
|
|
49
|
+
U as Switch,
|
|
50
|
+
W as Table,
|
|
51
|
+
Y as Tabs,
|
|
52
|
+
_ as Tile,
|
|
53
|
+
B as Toast,
|
|
54
|
+
oo as Tooltip,
|
|
55
|
+
S as Typography
|
|
26
56
|
};
|
|
@@ -2,6 +2,7 @@ export declare const TYPE: {
|
|
|
2
2
|
primary: string;
|
|
3
3
|
secondary: string;
|
|
4
4
|
tertiary: string;
|
|
5
|
+
utility: string;
|
|
5
6
|
};
|
|
6
7
|
export declare const BREAKPOINTS: {
|
|
7
8
|
wide: string;
|
|
@@ -22,6 +23,7 @@ export declare const STATE: {
|
|
|
22
23
|
filled: string;
|
|
23
24
|
generic: string;
|
|
24
25
|
removed: string;
|
|
26
|
+
hollow: string;
|
|
25
27
|
};
|
|
26
28
|
export declare const TYPOGRAPHY_VARIANT: {
|
|
27
29
|
display1: string;
|
|
@@ -79,6 +81,7 @@ declare const _default: {
|
|
|
79
81
|
primary: string;
|
|
80
82
|
secondary: string;
|
|
81
83
|
tertiary: string;
|
|
84
|
+
utility: string;
|
|
82
85
|
};
|
|
83
86
|
BREAKPOINTS: {
|
|
84
87
|
wide: string;
|
|
@@ -99,6 +102,7 @@ declare const _default: {
|
|
|
99
102
|
filled: string;
|
|
100
103
|
generic: string;
|
|
101
104
|
removed: string;
|
|
105
|
+
hollow: string;
|
|
102
106
|
};
|
|
103
107
|
TYPOGRAPHY_VARIANT: {
|
|
104
108
|
display1: string;
|