@gobolt/genesis 0.0.10 → 0.1.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/README.md +8 -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/ClockCircleOutlined-BaXQuLIn.js +13 -0
- 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-Du9689ax.js} +41 -44
- package/dist/{ContextIsolator-D5x2Ih51.js → ContextIsolator-BmfhJgG0.js} +2 -2
- package/dist/{PurePanel-BqPLRtc2.js → DownOutlined-Dcq69ZKM.js} +42 -40
- package/dist/{index-C8haFnXI.js → EllipsisOutlined-DGMph0Bj.js} +138 -135
- package/dist/ExclamationCircleFilled-BHELVsTg.js +13 -0
- package/dist/Keyframes-C9_aCDvn.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-DWf4XIal.js} +62 -61
- package/dist/{SearchOutlined-BP3Z2K6j.js → SearchOutlined-DNj-7b_h.js} +2 -2
- package/dist/Skeleton-BVN4pcVe.js +560 -0
- package/dist/TextArea-Bkf9hh7l.js +708 -0
- package/dist/Typography-CoZ5qD-t.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-BwqpCxVM.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/DatePicker/DatePicker.d.ts +6 -0
- package/dist/components/DatePicker/DatePicker.js +5 -0
- package/dist/components/DatePicker/__stories__/DatePicker.stories.d.ts +10 -0
- package/dist/components/DatePicker/__tests__/DatePicker.test.d.ts +1 -0
- package/dist/components/DatePicker/__tests__/DatePicker.test.js +19 -0
- package/dist/components/DatePicker/index.d.ts +2 -0
- package/dist/components/DatePicker/index.js +4 -0
- package/dist/components/DateRangePicker/DateRangePicker.d.ts +5 -0
- package/dist/components/DateRangePicker/DateRangePicker.js +5 -0
- package/dist/components/DateRangePicker/__stories__/DateRangePicker.stories.d.ts +9 -0
- package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.d.ts +1 -0
- package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.js +23 -0
- package/dist/components/DateRangePicker/index.d.ts +2 -0
- package/dist/components/DateRangePicker/index.js +4 -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 +35 -1
- package/dist/components/index.js +58 -24
- package/dist/constants/index.d.ts +4 -0
- package/dist/constants/index.js +4 -2
- package/dist/{context-BMW3aJEf.js → context-DIFtNa4d.js} +230 -233
- package/dist/dropdown-Dp_PTQ2u.js +2045 -0
- package/dist/generateCategoricalChart-7ceYaiZ2.js +15597 -0
- package/dist/genesis/GenesisThemeBreakdown.js +101 -43
- package/dist/genesis/labs/Lab.stories.d.ts +6 -0
- package/dist/genesis/styles.js +7 -2923
- package/dist/iconBase-LROS5hdG.js +112 -0
- package/dist/index-BPVue1Yd.js +445 -0
- package/dist/{index-bKlRxQp4.js → index-BQM5OniU.js} +12 -12
- package/dist/index-BRUI9igj.js +11 -0
- package/dist/index-B_1Ge8na.js +1846 -0
- package/dist/{index-oK7z6jnz.js → index-BbTV2Cw5.js} +8641 -8798
- package/dist/index-BeGv28kJ.js +5173 -0
- package/dist/{index-1CBpubM3.js → index-BpZSuIUV.js} +45 -42
- package/dist/index-BvOLXELm.js +102 -0
- package/dist/index-CLSrpQRW.js +416 -0
- package/dist/index-CbVOl2U6.js +288 -0
- package/dist/index-D0U6r5O7.js +780 -0
- package/dist/index-DEu2PVzQ.js +538 -0
- package/dist/index-DLdU7Tpd.js +183 -0
- package/dist/index-DNQ-jnBx.js +3321 -0
- package/dist/index-DOsPeIWJ.js +1000 -0
- package/dist/{index-C0SmxWLS.js → index-DRGX1Wem.js} +136 -143
- package/dist/index-DWjq9XYj.js +899 -0
- package/dist/index.js +65 -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/motion-CUN72xsH.js +33 -0
- 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-dCkpy7Cb.js +73 -0
- package/dist/roundedArrow-DI_Q-xdU.js +65 -0
- package/dist/setup-CUbCc8fQ.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 +29 -13
- 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 +398 -331
- 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 +1652 -0
- package/dist/styles/theme/theme-tree/ThemeTree.stories.d.ts +6 -0
- package/dist/styles-CWdUpZom.js +289 -0
- package/dist/{styles-CT_fyXBd.js → styles-D1vKDy9V.js} +587 -643
- package/dist/styles-qerRs7Rn.js +9196 -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-U3Az44CO.js +11 -0
- package/dist/useBreakpoint-TkMv121M.js +22 -0
- package/dist/useCSSVarCls-Dau77fzS.js +11 -0
- package/dist/useIcons-Ck4JP1m9.js +321 -0
- package/dist/useId-D2tzlufo.js +26 -0
- package/dist/useLocale-CTfNpakL.js +16 -0
- package/dist/useMergedState-D6toxSxh.js +23 -0
- package/dist/useSize-DSq4r6zy.js +9 -0
- package/dist/{useVariants-DvhXfgJY.js → useVariants-DrLzUVLU.js} +3 -3
- package/dist/useZIndex-DhyHuZTN.js +44 -0
- package/dist/utils/icon-util.d.ts +2 -0
- package/dist/utils/icon-util.js +89 -0
- package/package.json +27 -15
- package/dist/AntdIcon-BoLh1dP8.js +0 -202
- package/dist/ExclamationCircleFilled-C0Kj5KQV.js +0 -21
- package/dist/TextArea-DKwCct3i.js +0 -1690
- package/dist/Typography-aGoDUl4R.js +0 -710
- package/dist/index-BZAhCB_K.js +0 -97
- package/dist/index-CfDY25LP.js +0 -873
- package/dist/index-DPW8XdWj.js +0 -952
- 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,289 @@
|
|
|
1
|
+
import { d as U } from "./styled-components.browser.esm-CZ1XM4o4.js";
|
|
2
|
+
import * as l from "react";
|
|
3
|
+
import { R as I } from "./ExclamationCircleFilled-BHELVsTg.js";
|
|
4
|
+
import { e as E } from "./presets-Djh_L_6R.js";
|
|
5
|
+
import { u as Y } from "./useMergedState-D6toxSxh.js";
|
|
6
|
+
import { o as J } from "./omit-B_u6A-HL.js";
|
|
7
|
+
import { u as K, j as Q, C as _, l as Z } from "./index-BbTV2Cw5.js";
|
|
8
|
+
import { P as ee, g as k, a as ne } from "./index-CbVOl2U6.js";
|
|
9
|
+
import { B as T, c as w } from "./button-BwqpCxVM.js";
|
|
10
|
+
import "./index-DLdU7Tpd.js";
|
|
11
|
+
import { u as te } from "./useLocale-CTfNpakL.js";
|
|
12
|
+
function j(e) {
|
|
13
|
+
return !!(e != null && e.then);
|
|
14
|
+
}
|
|
15
|
+
const oe = (e) => {
|
|
16
|
+
const {
|
|
17
|
+
type: t,
|
|
18
|
+
children: r,
|
|
19
|
+
prefixCls: n,
|
|
20
|
+
buttonProps: o,
|
|
21
|
+
close: c,
|
|
22
|
+
autoFocus: g,
|
|
23
|
+
emitEvent: u,
|
|
24
|
+
isSilent: f,
|
|
25
|
+
quitOnNullishReturnValue: O,
|
|
26
|
+
actionFn: y
|
|
27
|
+
} = e, d = l.useRef(!1), P = l.useRef(null), [N, x] = K(!1), b = function() {
|
|
28
|
+
c == null || c.apply(void 0, arguments);
|
|
29
|
+
};
|
|
30
|
+
l.useEffect(() => {
|
|
31
|
+
let s = null;
|
|
32
|
+
return g && (s = setTimeout(() => {
|
|
33
|
+
var i;
|
|
34
|
+
(i = P.current) === null || i === void 0 || i.focus({
|
|
35
|
+
preventScroll: !0
|
|
36
|
+
});
|
|
37
|
+
})), () => {
|
|
38
|
+
s && clearTimeout(s);
|
|
39
|
+
};
|
|
40
|
+
}, []);
|
|
41
|
+
const m = (s) => {
|
|
42
|
+
j(s) && (x(!0), s.then(function() {
|
|
43
|
+
x(!1, !0), b.apply(void 0, arguments), d.current = !1;
|
|
44
|
+
}, (i) => {
|
|
45
|
+
if (x(!1, !0), d.current = !1, !(f != null && f()))
|
|
46
|
+
return Promise.reject(i);
|
|
47
|
+
}));
|
|
48
|
+
}, v = (s) => {
|
|
49
|
+
if (d.current)
|
|
50
|
+
return;
|
|
51
|
+
if (d.current = !0, !y) {
|
|
52
|
+
b();
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
let i;
|
|
56
|
+
if (u) {
|
|
57
|
+
if (i = y(s), O && !j(i)) {
|
|
58
|
+
d.current = !1, b(s);
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
} else if (y.length)
|
|
62
|
+
i = y(c), d.current = !1;
|
|
63
|
+
else if (i = y(), !j(i)) {
|
|
64
|
+
b();
|
|
65
|
+
return;
|
|
66
|
+
}
|
|
67
|
+
m(i);
|
|
68
|
+
};
|
|
69
|
+
return /* @__PURE__ */ l.createElement(T, Object.assign({}, w(t), {
|
|
70
|
+
onClick: v,
|
|
71
|
+
loading: N,
|
|
72
|
+
prefixCls: n
|
|
73
|
+
}, o, {
|
|
74
|
+
ref: P
|
|
75
|
+
}), r);
|
|
76
|
+
}, le = (e) => {
|
|
77
|
+
const {
|
|
78
|
+
componentCls: t,
|
|
79
|
+
iconCls: r,
|
|
80
|
+
antCls: n,
|
|
81
|
+
zIndexPopup: o,
|
|
82
|
+
colorText: c,
|
|
83
|
+
colorWarning: g,
|
|
84
|
+
marginXXS: u,
|
|
85
|
+
marginXS: f,
|
|
86
|
+
fontSize: O,
|
|
87
|
+
fontWeightStrong: y,
|
|
88
|
+
colorTextHeading: d
|
|
89
|
+
} = e;
|
|
90
|
+
return {
|
|
91
|
+
[t]: {
|
|
92
|
+
zIndex: o,
|
|
93
|
+
[`&${n}-popover`]: {
|
|
94
|
+
fontSize: O
|
|
95
|
+
},
|
|
96
|
+
[`${t}-message`]: {
|
|
97
|
+
marginBottom: f,
|
|
98
|
+
display: "flex",
|
|
99
|
+
flexWrap: "nowrap",
|
|
100
|
+
alignItems: "start",
|
|
101
|
+
[`> ${t}-message-icon ${r}`]: {
|
|
102
|
+
color: g,
|
|
103
|
+
fontSize: O,
|
|
104
|
+
lineHeight: 1,
|
|
105
|
+
marginInlineEnd: f
|
|
106
|
+
},
|
|
107
|
+
[`${t}-title`]: {
|
|
108
|
+
fontWeight: y,
|
|
109
|
+
color: d,
|
|
110
|
+
"&:only-child": {
|
|
111
|
+
fontWeight: "normal"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
[`${t}-description`]: {
|
|
115
|
+
marginTop: u,
|
|
116
|
+
color: c
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
[`${t}-buttons`]: {
|
|
120
|
+
textAlign: "end",
|
|
121
|
+
whiteSpace: "nowrap",
|
|
122
|
+
button: {
|
|
123
|
+
marginInlineStart: f
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
};
|
|
128
|
+
}, re = (e) => {
|
|
129
|
+
const {
|
|
130
|
+
zIndexPopupBase: t
|
|
131
|
+
} = e;
|
|
132
|
+
return {
|
|
133
|
+
zIndexPopup: t + 60
|
|
134
|
+
};
|
|
135
|
+
}, R = Q("Popconfirm", (e) => le(e), re, {
|
|
136
|
+
resetStyle: !1
|
|
137
|
+
});
|
|
138
|
+
var se = function(e, t) {
|
|
139
|
+
var r = {};
|
|
140
|
+
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
141
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, n = Object.getOwnPropertySymbols(e); o < n.length; o++)
|
|
142
|
+
t.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[o]) && (r[n[o]] = e[n[o]]);
|
|
143
|
+
return r;
|
|
144
|
+
};
|
|
145
|
+
const V = (e) => {
|
|
146
|
+
const {
|
|
147
|
+
prefixCls: t,
|
|
148
|
+
okButtonProps: r,
|
|
149
|
+
cancelButtonProps: n,
|
|
150
|
+
title: o,
|
|
151
|
+
description: c,
|
|
152
|
+
cancelText: g,
|
|
153
|
+
okText: u,
|
|
154
|
+
okType: f = "primary",
|
|
155
|
+
icon: O = /* @__PURE__ */ l.createElement(I, null),
|
|
156
|
+
showCancel: y = !0,
|
|
157
|
+
close: d,
|
|
158
|
+
onConfirm: P,
|
|
159
|
+
onCancel: N,
|
|
160
|
+
onPopupClick: x
|
|
161
|
+
} = e, {
|
|
162
|
+
getPrefixCls: b
|
|
163
|
+
} = l.useContext(_), [m] = te("Popconfirm", Z.Popconfirm), v = k(o), s = k(c);
|
|
164
|
+
return /* @__PURE__ */ l.createElement("div", {
|
|
165
|
+
className: `${t}-inner-content`,
|
|
166
|
+
onClick: x
|
|
167
|
+
}, /* @__PURE__ */ l.createElement("div", {
|
|
168
|
+
className: `${t}-message`
|
|
169
|
+
}, O && /* @__PURE__ */ l.createElement("span", {
|
|
170
|
+
className: `${t}-message-icon`
|
|
171
|
+
}, O), /* @__PURE__ */ l.createElement("div", {
|
|
172
|
+
className: `${t}-message-text`
|
|
173
|
+
}, v && /* @__PURE__ */ l.createElement("div", {
|
|
174
|
+
className: `${t}-title`
|
|
175
|
+
}, v), s && /* @__PURE__ */ l.createElement("div", {
|
|
176
|
+
className: `${t}-description`
|
|
177
|
+
}, s))), /* @__PURE__ */ l.createElement("div", {
|
|
178
|
+
className: `${t}-buttons`
|
|
179
|
+
}, y && /* @__PURE__ */ l.createElement(T, Object.assign({
|
|
180
|
+
onClick: N,
|
|
181
|
+
size: "small"
|
|
182
|
+
}, n), g || (m == null ? void 0 : m.cancelText)), /* @__PURE__ */ l.createElement(oe, {
|
|
183
|
+
buttonProps: Object.assign(Object.assign({
|
|
184
|
+
size: "small"
|
|
185
|
+
}, w(f)), r),
|
|
186
|
+
actionFn: P,
|
|
187
|
+
close: d,
|
|
188
|
+
prefixCls: b("btn"),
|
|
189
|
+
quitOnNullishReturnValue: !0,
|
|
190
|
+
emitEvent: !0
|
|
191
|
+
}, u || (m == null ? void 0 : m.okText))));
|
|
192
|
+
}, ie = (e) => {
|
|
193
|
+
const {
|
|
194
|
+
prefixCls: t,
|
|
195
|
+
placement: r,
|
|
196
|
+
className: n,
|
|
197
|
+
style: o
|
|
198
|
+
} = e, c = se(e, ["prefixCls", "placement", "className", "style"]), {
|
|
199
|
+
getPrefixCls: g
|
|
200
|
+
} = l.useContext(_), u = g("popconfirm", t), [f] = R(u);
|
|
201
|
+
return f(/* @__PURE__ */ l.createElement(ee, {
|
|
202
|
+
placement: r,
|
|
203
|
+
className: E(u, n),
|
|
204
|
+
style: o,
|
|
205
|
+
content: /* @__PURE__ */ l.createElement(V, Object.assign({
|
|
206
|
+
prefixCls: u
|
|
207
|
+
}, c))
|
|
208
|
+
}));
|
|
209
|
+
};
|
|
210
|
+
var ae = function(e, t) {
|
|
211
|
+
var r = {};
|
|
212
|
+
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
213
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, n = Object.getOwnPropertySymbols(e); o < n.length; o++)
|
|
214
|
+
t.indexOf(n[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[o]) && (r[n[o]] = e[n[o]]);
|
|
215
|
+
return r;
|
|
216
|
+
};
|
|
217
|
+
const ce = /* @__PURE__ */ l.forwardRef((e, t) => {
|
|
218
|
+
var r, n, o, c, g, u;
|
|
219
|
+
const {
|
|
220
|
+
prefixCls: f,
|
|
221
|
+
placement: O = "top",
|
|
222
|
+
trigger: y = "click",
|
|
223
|
+
okType: d = "primary",
|
|
224
|
+
icon: P = /* @__PURE__ */ l.createElement(I, null),
|
|
225
|
+
children: N,
|
|
226
|
+
overlayClassName: x,
|
|
227
|
+
onOpenChange: b,
|
|
228
|
+
onVisibleChange: m,
|
|
229
|
+
overlayStyle: v,
|
|
230
|
+
styles: s,
|
|
231
|
+
classNames: i
|
|
232
|
+
} = e, z = ae(e, ["prefixCls", "placement", "trigger", "okType", "icon", "children", "overlayClassName", "onOpenChange", "onVisibleChange", "overlayStyle", "styles", "classNames"]), {
|
|
233
|
+
getPrefixCls: B,
|
|
234
|
+
popconfirm: a
|
|
235
|
+
} = l.useContext(_), [W, F] = Y(!1, {
|
|
236
|
+
value: (r = e.open) !== null && r !== void 0 ? r : e.visible,
|
|
237
|
+
defaultValue: (n = e.defaultOpen) !== null && n !== void 0 ? n : e.defaultVisible
|
|
238
|
+
}), h = (p, C) => {
|
|
239
|
+
F(p, !0), m == null || m(p), b == null || b(p, C);
|
|
240
|
+
}, L = (p) => {
|
|
241
|
+
h(!1, p);
|
|
242
|
+
}, A = (p) => {
|
|
243
|
+
var C;
|
|
244
|
+
return (C = e.onConfirm) === null || C === void 0 ? void 0 : C.call(void 0, p);
|
|
245
|
+
}, H = (p) => {
|
|
246
|
+
var C;
|
|
247
|
+
h(!1, p), (C = e.onCancel) === null || C === void 0 || C.call(void 0, p);
|
|
248
|
+
}, X = (p, C) => {
|
|
249
|
+
const {
|
|
250
|
+
disabled: M = !1
|
|
251
|
+
} = e;
|
|
252
|
+
M || h(p, C);
|
|
253
|
+
}, S = B("popconfirm", f), q = E(S, x, (o = a == null ? void 0 : a.classNames) === null || o === void 0 ? void 0 : o.root, i == null ? void 0 : i.root), D = E((c = a == null ? void 0 : a.classNames) === null || c === void 0 ? void 0 : c.body, i == null ? void 0 : i.body), [G] = R(S);
|
|
254
|
+
return G(/* @__PURE__ */ l.createElement(ne, Object.assign({}, J(z, ["title"]), {
|
|
255
|
+
trigger: y,
|
|
256
|
+
placement: O,
|
|
257
|
+
onOpenChange: X,
|
|
258
|
+
open: W,
|
|
259
|
+
ref: t,
|
|
260
|
+
classNames: {
|
|
261
|
+
root: q,
|
|
262
|
+
body: D
|
|
263
|
+
},
|
|
264
|
+
styles: {
|
|
265
|
+
root: Object.assign(Object.assign(Object.assign(Object.assign({}, (g = a == null ? void 0 : a.styles) === null || g === void 0 ? void 0 : g.root), a == null ? void 0 : a.style), v), s == null ? void 0 : s.root),
|
|
266
|
+
body: Object.assign(Object.assign({}, (u = a == null ? void 0 : a.styles) === null || u === void 0 ? void 0 : u.body), s == null ? void 0 : s.body)
|
|
267
|
+
},
|
|
268
|
+
content: /* @__PURE__ */ l.createElement(V, Object.assign({
|
|
269
|
+
okType: d,
|
|
270
|
+
icon: P
|
|
271
|
+
}, e, {
|
|
272
|
+
prefixCls: S,
|
|
273
|
+
close: L,
|
|
274
|
+
onConfirm: A,
|
|
275
|
+
onCancel: H
|
|
276
|
+
})),
|
|
277
|
+
"data-popover-inject": !0
|
|
278
|
+
}), N));
|
|
279
|
+
}), $ = ce;
|
|
280
|
+
$._InternalPanelDoNotUseOrYouWillBeFired = ie;
|
|
281
|
+
process.env.NODE_ENV !== "production" && ($.displayName = "Popconfirm");
|
|
282
|
+
const ue = (e) => "", Pe = U($)`
|
|
283
|
+
${({ theme: e }) => ue()}
|
|
284
|
+
`;
|
|
285
|
+
export {
|
|
286
|
+
oe as A,
|
|
287
|
+
Pe as P,
|
|
288
|
+
ue as g
|
|
289
|
+
};
|