@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
package/README.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
<div style="display: flex; justify-content: center; width: 100%; position: relative; height: 200px">
|
|
2
|
+
<div style="display: flex; position: absolute; bottom: 0; left: 40%">
|
|
3
|
+
<img src="./public/genesis-conveyor-mark.svg" width="150">
|
|
4
|
+
</div>
|
|
5
|
+
</div>
|
|
6
|
+
|
|
1
7
|
# GENESIS Design System
|
|
2
8
|
|
|
3
9
|
 
|
|
@@ -22,11 +28,11 @@ pnpm install
|
|
|
22
28
|
pnpm start
|
|
23
29
|
```
|
|
24
30
|
|
|
25
|
-
To scaffold a new component, run `pnpm generate --
|
|
31
|
+
To scaffold a new component, run `pnpm generate --name` and add the component name in PascalCase
|
|
26
32
|
|
|
27
33
|
example:
|
|
28
34
|
```
|
|
29
|
-
pnpm generate --
|
|
35
|
+
pnpm generate --name RadioGroup
|
|
30
36
|
```
|
|
31
37
|
|
|
32
38
|
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import { w as D, f as b, _ as l, h as L, I, u as U, g as N, a as S, i as W, e as q, b as x, d as F } from "./presets-Djh_L_6R.js";
|
|
2
|
+
import * as u from "react";
|
|
3
|
+
import h, { useContext as G, useEffect as H } from "react";
|
|
4
|
+
import { g as J } from "./shadow-BoMGMNn3.js";
|
|
5
|
+
function K(n) {
|
|
6
|
+
return n.replace(/-(.)/g, function(e, o) {
|
|
7
|
+
return o.toUpperCase();
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
function M(n, e) {
|
|
11
|
+
D(n, "[@ant-design/icons] ".concat(e));
|
|
12
|
+
}
|
|
13
|
+
function _(n) {
|
|
14
|
+
return b(n) === "object" && typeof n.name == "string" && typeof n.theme == "string" && (b(n.icon) === "object" || typeof n.icon == "function");
|
|
15
|
+
}
|
|
16
|
+
function k() {
|
|
17
|
+
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
18
|
+
return Object.keys(n).reduce(function(e, o) {
|
|
19
|
+
var r = n[o];
|
|
20
|
+
switch (o) {
|
|
21
|
+
case "class":
|
|
22
|
+
e.className = r, delete e.class;
|
|
23
|
+
break;
|
|
24
|
+
default:
|
|
25
|
+
delete e[o], e[K(o)] = r;
|
|
26
|
+
}
|
|
27
|
+
return e;
|
|
28
|
+
}, {});
|
|
29
|
+
}
|
|
30
|
+
function T(n, e, o) {
|
|
31
|
+
return o ? /* @__PURE__ */ h.createElement(n.tag, l(l({
|
|
32
|
+
key: e
|
|
33
|
+
}, k(n.attrs)), o), (n.children || []).map(function(r, a) {
|
|
34
|
+
return T(r, "".concat(e, "-").concat(n.tag, "-").concat(a));
|
|
35
|
+
})) : /* @__PURE__ */ h.createElement(n.tag, l({
|
|
36
|
+
key: e
|
|
37
|
+
}, k(n.attrs)), (n.children || []).map(function(r, a) {
|
|
38
|
+
return T(r, "".concat(e, "-").concat(n.tag, "-").concat(a));
|
|
39
|
+
}));
|
|
40
|
+
}
|
|
41
|
+
function R(n) {
|
|
42
|
+
return L(n)[0];
|
|
43
|
+
}
|
|
44
|
+
function z(n) {
|
|
45
|
+
return n ? Array.isArray(n) ? n : [n] : [];
|
|
46
|
+
}
|
|
47
|
+
var Q = `
|
|
48
|
+
.anticon {
|
|
49
|
+
display: inline-flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
color: inherit;
|
|
52
|
+
font-style: normal;
|
|
53
|
+
line-height: 0;
|
|
54
|
+
text-align: center;
|
|
55
|
+
text-transform: none;
|
|
56
|
+
vertical-align: -0.125em;
|
|
57
|
+
text-rendering: optimizeLegibility;
|
|
58
|
+
-webkit-font-smoothing: antialiased;
|
|
59
|
+
-moz-osx-font-smoothing: grayscale;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.anticon > * {
|
|
63
|
+
line-height: 1;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.anticon svg {
|
|
67
|
+
display: inline-block;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.anticon::before {
|
|
71
|
+
display: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.anticon .anticon-icon {
|
|
75
|
+
display: block;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.anticon[tabindex] {
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.anticon-spin::before,
|
|
83
|
+
.anticon-spin {
|
|
84
|
+
display: inline-block;
|
|
85
|
+
-webkit-animation: loadingCircle 1s infinite linear;
|
|
86
|
+
animation: loadingCircle 1s infinite linear;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
@-webkit-keyframes loadingCircle {
|
|
90
|
+
100% {
|
|
91
|
+
-webkit-transform: rotate(360deg);
|
|
92
|
+
transform: rotate(360deg);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@keyframes loadingCircle {
|
|
97
|
+
100% {
|
|
98
|
+
-webkit-transform: rotate(360deg);
|
|
99
|
+
transform: rotate(360deg);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
`, V = function(e) {
|
|
103
|
+
var o = G(I), r = o.csp, a = o.prefixCls, c = o.layer, t = Q;
|
|
104
|
+
a && (t = t.replace(/anticon/g, a)), c && (t = "@layer ".concat(c, ` {
|
|
105
|
+
`).concat(t, `
|
|
106
|
+
}`)), H(function() {
|
|
107
|
+
var s = e.current, d = J(s);
|
|
108
|
+
U(t, "@ant-design-icons", {
|
|
109
|
+
prepend: !0,
|
|
110
|
+
csp: r,
|
|
111
|
+
attachTo: d
|
|
112
|
+
});
|
|
113
|
+
}, []);
|
|
114
|
+
}, X = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"], C = {
|
|
115
|
+
primaryColor: "#333",
|
|
116
|
+
secondaryColor: "#E6E6E6",
|
|
117
|
+
calculated: !1
|
|
118
|
+
};
|
|
119
|
+
function Y(n) {
|
|
120
|
+
var e = n.primaryColor, o = n.secondaryColor;
|
|
121
|
+
C.primaryColor = e, C.secondaryColor = o || R(e), C.calculated = !!o;
|
|
122
|
+
}
|
|
123
|
+
function Z() {
|
|
124
|
+
return l({}, C);
|
|
125
|
+
}
|
|
126
|
+
var f = function(e) {
|
|
127
|
+
var o = e.icon, r = e.className, a = e.onClick, c = e.style, t = e.primaryColor, s = e.secondaryColor, d = N(e, X), y = u.useRef(), m = C;
|
|
128
|
+
if (t && (m = {
|
|
129
|
+
primaryColor: t,
|
|
130
|
+
secondaryColor: s || R(t)
|
|
131
|
+
}), V(y), M(_(o), "icon should be icon definiton, but got ".concat(o)), !_(o))
|
|
132
|
+
return null;
|
|
133
|
+
var i = o;
|
|
134
|
+
return i && typeof i.icon == "function" && (i = l(l({}, i), {}, {
|
|
135
|
+
icon: i.icon(m.primaryColor, m.secondaryColor)
|
|
136
|
+
})), T(i.icon, "svg-".concat(i.name), l(l({
|
|
137
|
+
className: r,
|
|
138
|
+
onClick: a,
|
|
139
|
+
style: c,
|
|
140
|
+
"data-icon": i.name,
|
|
141
|
+
width: "1em",
|
|
142
|
+
height: "1em",
|
|
143
|
+
fill: "currentColor",
|
|
144
|
+
"aria-hidden": "true"
|
|
145
|
+
}, d), {}, {
|
|
146
|
+
ref: y
|
|
147
|
+
}));
|
|
148
|
+
};
|
|
149
|
+
f.displayName = "IconReact";
|
|
150
|
+
f.getTwoToneColors = Z;
|
|
151
|
+
f.setTwoToneColors = Y;
|
|
152
|
+
function E(n) {
|
|
153
|
+
var e = z(n), o = S(e, 2), r = o[0], a = o[1];
|
|
154
|
+
return f.setTwoToneColors({
|
|
155
|
+
primaryColor: r,
|
|
156
|
+
secondaryColor: a
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
function nn() {
|
|
160
|
+
var n = f.getTwoToneColors();
|
|
161
|
+
return n.calculated ? [n.primaryColor, n.secondaryColor] : n.primaryColor;
|
|
162
|
+
}
|
|
163
|
+
var en = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
|
|
164
|
+
E(W.primary);
|
|
165
|
+
var v = /* @__PURE__ */ u.forwardRef(function(n, e) {
|
|
166
|
+
var o = n.className, r = n.icon, a = n.spin, c = n.rotate, t = n.tabIndex, s = n.onClick, d = n.twoToneColor, y = N(n, en), m = u.useContext(I), i = m.prefixCls, g = i === void 0 ? "anticon" : i, j = m.rootClassName, A = q(j, g, x(x({}, "".concat(g, "-").concat(r.name), !!r.name), "".concat(g, "-spin"), !!a || r.name === "loading"), o), p = t;
|
|
167
|
+
p === void 0 && s && (p = -1);
|
|
168
|
+
var $ = c ? {
|
|
169
|
+
msTransform: "rotate(".concat(c, "deg)"),
|
|
170
|
+
transform: "rotate(".concat(c, "deg)")
|
|
171
|
+
} : void 0, P = z(d), w = S(P, 2), B = w[0], O = w[1];
|
|
172
|
+
return /* @__PURE__ */ u.createElement("span", F({
|
|
173
|
+
role: "img",
|
|
174
|
+
"aria-label": r.name
|
|
175
|
+
}, y, {
|
|
176
|
+
ref: e,
|
|
177
|
+
tabIndex: p,
|
|
178
|
+
onClick: s,
|
|
179
|
+
className: A
|
|
180
|
+
}), /* @__PURE__ */ u.createElement(f, {
|
|
181
|
+
icon: r,
|
|
182
|
+
primaryColor: B,
|
|
183
|
+
secondaryColor: O,
|
|
184
|
+
style: $
|
|
185
|
+
}));
|
|
186
|
+
});
|
|
187
|
+
v.displayName = "AntdIcon";
|
|
188
|
+
v.getTwoToneColor = nn;
|
|
189
|
+
v.setTwoToneColor = E;
|
|
190
|
+
export {
|
|
191
|
+
v as I
|
|
192
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { d as l } from "./presets-Djh_L_6R.js";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
import { I as a } from "./AntdIcon-nCNB0J1E.js";
|
|
4
|
+
var i = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" } }] }, name: "check-circle", theme: "filled" }, t = function(c, r) {
|
|
5
|
+
return /* @__PURE__ */ e.createElement(a, l({}, c, {
|
|
6
|
+
ref: r,
|
|
7
|
+
icon: i
|
|
8
|
+
}));
|
|
9
|
+
}, o = /* @__PURE__ */ e.forwardRef(t);
|
|
10
|
+
process.env.NODE_ENV !== "production" && (o.displayName = "CheckCircleFilled");
|
|
11
|
+
export {
|
|
12
|
+
o as R
|
|
13
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as c } from "./presets-Djh_L_6R.js";
|
|
2
2
|
import * as e from "react";
|
|
3
|
-
import { I as r } from "./AntdIcon-
|
|
3
|
+
import { I as r } from "./AntdIcon-nCNB0J1E.js";
|
|
4
4
|
var o = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, name: "check", theme: "outlined" }, n = function(t, a) {
|
|
5
5
|
return /* @__PURE__ */ e.createElement(r, c({}, t, {
|
|
6
6
|
ref: a,
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { d as r } from "./presets-Djh_L_6R.js";
|
|
2
|
+
import * as e from "react";
|
|
3
|
+
import { I as o } from "./AntdIcon-nCNB0J1E.js";
|
|
4
|
+
var a = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { tag: "path", attrs: { d: "M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z" } }] }, name: "clock-circle", theme: "outlined" }, l = function(c, t) {
|
|
5
|
+
return /* @__PURE__ */ e.createElement(o, r({}, c, {
|
|
6
|
+
ref: t,
|
|
7
|
+
icon: a
|
|
8
|
+
}));
|
|
9
|
+
}, i = /* @__PURE__ */ e.forwardRef(l);
|
|
10
|
+
process.env.NODE_ENV !== "production" && (i.displayName = "ClockCircleOutlined");
|
|
11
|
+
export {
|
|
12
|
+
i as R
|
|
13
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as c } from "./presets-Djh_L_6R.js";
|
|
2
2
|
import * as e from "react";
|
|
3
|
-
import { I as r } from "./AntdIcon-
|
|
3
|
+
import { I as r } from "./AntdIcon-nCNB0J1E.js";
|
|
4
4
|
var o = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" } }] }, name: "close-circle", theme: "filled" }, i = function(l, a) {
|
|
5
5
|
return /* @__PURE__ */ e.createElement(r, c({}, l, {
|
|
6
6
|
ref: a,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as l } from "./presets-Djh_L_6R.js";
|
|
2
2
|
import * as e from "react";
|
|
3
|
-
import { I as o } from "./AntdIcon-
|
|
3
|
+
import { I as o } from "./AntdIcon-nCNB0J1E.js";
|
|
4
4
|
var t = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, name: "close", theme: "outlined" }, r = function(a, c) {
|
|
5
5
|
return /* @__PURE__ */ e.createElement(o, l({}, a, {
|
|
6
6
|
ref: c,
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import g from "
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
return g.useMemo(() => e ? typeof e == "string" ? e ?? t : e instanceof Function ? e(t) : t : t, [e, t]);
|
|
9
|
-
}, M = (e) => {
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
import { e as g } from "./presets-Djh_L_6R.js";
|
|
3
|
+
import { t as h } from "./toArray-U3Az44CO.js";
|
|
4
|
+
import { j as w, m as O, C as N } from "./index-BbTV2Cw5.js";
|
|
5
|
+
import { u as P } from "./useSize-DSq4r6zy.js";
|
|
6
|
+
import "./index-DLdU7Tpd.js";
|
|
7
|
+
const D = (e) => {
|
|
10
8
|
const {
|
|
11
9
|
componentCls: t
|
|
12
10
|
} = e;
|
|
@@ -21,7 +19,7 @@ const L = (e) => {
|
|
|
21
19
|
}
|
|
22
20
|
}
|
|
23
21
|
};
|
|
24
|
-
},
|
|
22
|
+
}, L = (e) => {
|
|
25
23
|
const {
|
|
26
24
|
componentCls: t,
|
|
27
25
|
antCls: n
|
|
@@ -85,27 +83,27 @@ const L = (e) => {
|
|
|
85
83
|
}
|
|
86
84
|
}
|
|
87
85
|
};
|
|
88
|
-
},
|
|
89
|
-
const t =
|
|
86
|
+
}, M = w("Space", (e) => {
|
|
87
|
+
const t = O(e, {
|
|
90
88
|
spaceGapSmallSize: e.paddingXS,
|
|
91
89
|
spaceGapMiddleSize: e.padding,
|
|
92
90
|
spaceGapLargeSize: e.paddingLG
|
|
93
91
|
});
|
|
94
|
-
return [
|
|
92
|
+
return [L(t), j(t), D(t)];
|
|
95
93
|
}, () => ({}), {
|
|
96
94
|
// Space component don't apply extra font style
|
|
97
95
|
// https://github.com/ant-design/ant-design/issues/40315
|
|
98
96
|
resetStyle: !1
|
|
99
97
|
});
|
|
100
|
-
var
|
|
98
|
+
var S = function(e, t) {
|
|
101
99
|
var n = {};
|
|
102
100
|
for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && t.indexOf(a) < 0 && (n[a] = e[a]);
|
|
103
101
|
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var c = 0, a = Object.getOwnPropertySymbols(e); c < a.length; c++)
|
|
104
102
|
t.indexOf(a[c]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[c]) && (n[a[c]] = e[a[c]]);
|
|
105
103
|
return n;
|
|
106
104
|
};
|
|
107
|
-
const p = /* @__PURE__ */
|
|
108
|
-
const n =
|
|
105
|
+
const p = /* @__PURE__ */ o.createContext(null), R = (e, t) => {
|
|
106
|
+
const n = o.useContext(p), a = o.useMemo(() => {
|
|
109
107
|
if (!n)
|
|
110
108
|
return "";
|
|
111
109
|
const {
|
|
@@ -113,7 +111,7 @@ const p = /* @__PURE__ */ r.createContext(null), T = (e, t) => {
|
|
|
113
111
|
isFirstItem: d,
|
|
114
112
|
isLastItem: u
|
|
115
113
|
} = n, l = c === "vertical" ? "-vertical-" : "-";
|
|
116
|
-
return
|
|
114
|
+
return g(`${e}-compact${l}item`, {
|
|
117
115
|
[`${e}-compact${l}first-item`]: d,
|
|
118
116
|
[`${e}-compact${l}last-item`]: u,
|
|
119
117
|
[`${e}-compact${l}item-rtl`]: t === "rtl"
|
|
@@ -124,54 +122,53 @@ const p = /* @__PURE__ */ r.createContext(null), T = (e, t) => {
|
|
|
124
122
|
compactDirection: n == null ? void 0 : n.compactDirection,
|
|
125
123
|
compactItemClassnames: a
|
|
126
124
|
};
|
|
127
|
-
},
|
|
125
|
+
}, T = (e) => {
|
|
128
126
|
const {
|
|
129
127
|
children: t
|
|
130
128
|
} = e;
|
|
131
|
-
return /* @__PURE__ */
|
|
129
|
+
return /* @__PURE__ */ o.createElement(p.Provider, {
|
|
132
130
|
value: null
|
|
133
131
|
}, t);
|
|
134
|
-
},
|
|
132
|
+
}, E = (e) => {
|
|
135
133
|
const {
|
|
136
134
|
children: t
|
|
137
|
-
} = e, n =
|
|
138
|
-
return /* @__PURE__ */
|
|
139
|
-
value:
|
|
135
|
+
} = e, n = S(e, ["children"]);
|
|
136
|
+
return /* @__PURE__ */ o.createElement(p.Provider, {
|
|
137
|
+
value: o.useMemo(() => n, [n])
|
|
140
138
|
}, t);
|
|
141
|
-
},
|
|
139
|
+
}, V = (e) => {
|
|
142
140
|
const {
|
|
143
141
|
getPrefixCls: t,
|
|
144
142
|
direction: n
|
|
145
|
-
} =
|
|
143
|
+
} = o.useContext(N), {
|
|
146
144
|
size: a,
|
|
147
145
|
direction: c,
|
|
148
146
|
block: d,
|
|
149
147
|
prefixCls: u,
|
|
150
148
|
className: l,
|
|
151
|
-
rootClassName:
|
|
152
|
-
children:
|
|
153
|
-
} = e,
|
|
149
|
+
rootClassName: C,
|
|
150
|
+
children: y
|
|
151
|
+
} = e, x = S(e, ["size", "direction", "block", "prefixCls", "className", "rootClassName", "children"]), I = P((i) => a ?? i), s = t("space-compact", u), [z, G] = M(s), b = g(s, G, {
|
|
154
152
|
[`${s}-rtl`]: n === "rtl",
|
|
155
153
|
[`${s}-block`]: d,
|
|
156
154
|
[`${s}-vertical`]: c === "vertical"
|
|
157
|
-
}, l,
|
|
158
|
-
const
|
|
159
|
-
return /* @__PURE__ */
|
|
160
|
-
key:
|
|
161
|
-
compactSize:
|
|
155
|
+
}, l, C), r = o.useContext(p), m = h(y), $ = o.useMemo(() => m.map((i, f) => {
|
|
156
|
+
const v = (i == null ? void 0 : i.key) || `${s}-item-${f}`;
|
|
157
|
+
return /* @__PURE__ */ o.createElement(E, {
|
|
158
|
+
key: v,
|
|
159
|
+
compactSize: I,
|
|
162
160
|
compactDirection: c,
|
|
163
|
-
isFirstItem: f === 0 && (!
|
|
164
|
-
isLastItem: f === m.length - 1 && (!
|
|
161
|
+
isFirstItem: f === 0 && (!r || (r == null ? void 0 : r.isFirstItem)),
|
|
162
|
+
isLastItem: f === m.length - 1 && (!r || (r == null ? void 0 : r.isLastItem))
|
|
165
163
|
}, i);
|
|
166
|
-
}), [a, m,
|
|
167
|
-
return m.length === 0 ? null :
|
|
168
|
-
className:
|
|
169
|
-
},
|
|
164
|
+
}), [a, m, r]);
|
|
165
|
+
return m.length === 0 ? null : z(/* @__PURE__ */ o.createElement("div", Object.assign({
|
|
166
|
+
className: b
|
|
167
|
+
}, x), $));
|
|
170
168
|
};
|
|
171
169
|
export {
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
E as u
|
|
170
|
+
V as C,
|
|
171
|
+
T as N,
|
|
172
|
+
M as a,
|
|
173
|
+
R as u
|
|
177
174
|
};
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { q as K, C as x } from "./index-BbTV2Cw5.js";
|
|
2
2
|
import * as t from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { u as
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
ref: s,
|
|
10
|
-
icon: z
|
|
11
|
-
}));
|
|
12
|
-
}, S = /* @__PURE__ */ t.forwardRef(L);
|
|
13
|
-
process.env.NODE_ENV !== "production" && (S.displayName = "DownOutlined");
|
|
14
|
-
const U = new r("antMoveDownIn", {
|
|
3
|
+
import { d as E } from "./presets-Djh_L_6R.js";
|
|
4
|
+
import { K as r } from "./Keyframes-C9_aCDvn.js";
|
|
5
|
+
import { i as j } from "./index-D0U6r5O7.js";
|
|
6
|
+
import { u as D } from "./useMergedState-D6toxSxh.js";
|
|
7
|
+
import { I as $ } from "./AntdIcon-nCNB0J1E.js";
|
|
8
|
+
const z = new r("antMoveDownIn", {
|
|
15
9
|
"0%": {
|
|
16
10
|
transform: "translate3d(0, 100%, 0)",
|
|
17
11
|
transformOrigin: "0 0",
|
|
@@ -22,7 +16,7 @@ const U = new r("antMoveDownIn", {
|
|
|
22
16
|
transformOrigin: "0 0",
|
|
23
17
|
opacity: 1
|
|
24
18
|
}
|
|
25
|
-
}),
|
|
19
|
+
}), L = new r("antMoveDownOut", {
|
|
26
20
|
"0%": {
|
|
27
21
|
transform: "translate3d(0, 0, 0)",
|
|
28
22
|
transformOrigin: "0 0",
|
|
@@ -33,7 +27,7 @@ const U = new r("antMoveDownIn", {
|
|
|
33
27
|
transformOrigin: "0 0",
|
|
34
28
|
opacity: 0
|
|
35
29
|
}
|
|
36
|
-
}),
|
|
30
|
+
}), S = new r("antMoveLeftIn", {
|
|
37
31
|
"0%": {
|
|
38
32
|
transform: "translate3d(-100%, 0, 0)",
|
|
39
33
|
transformOrigin: "0 0",
|
|
@@ -44,7 +38,7 @@ const U = new r("antMoveDownIn", {
|
|
|
44
38
|
transformOrigin: "0 0",
|
|
45
39
|
opacity: 1
|
|
46
40
|
}
|
|
47
|
-
}),
|
|
41
|
+
}), U = new r("antMoveLeftOut", {
|
|
48
42
|
"0%": {
|
|
49
43
|
transform: "translate3d(0, 0, 0)",
|
|
50
44
|
transformOrigin: "0 0",
|
|
@@ -55,7 +49,7 @@ const U = new r("antMoveDownIn", {
|
|
|
55
49
|
transformOrigin: "0 0",
|
|
56
50
|
opacity: 0
|
|
57
51
|
}
|
|
58
|
-
}),
|
|
52
|
+
}), W = new r("antMoveRightIn", {
|
|
59
53
|
"0%": {
|
|
60
54
|
transform: "translate3d(100%, 0, 0)",
|
|
61
55
|
transformOrigin: "0 0",
|
|
@@ -66,7 +60,7 @@ const U = new r("antMoveDownIn", {
|
|
|
66
60
|
transformOrigin: "0 0",
|
|
67
61
|
opacity: 1
|
|
68
62
|
}
|
|
69
|
-
}),
|
|
63
|
+
}), B = new r("antMoveRightOut", {
|
|
70
64
|
"0%": {
|
|
71
65
|
transform: "translate3d(0, 0, 0)",
|
|
72
66
|
transformOrigin: "0 0",
|
|
@@ -77,7 +71,7 @@ const U = new r("antMoveDownIn", {
|
|
|
77
71
|
transformOrigin: "0 0",
|
|
78
72
|
opacity: 0
|
|
79
73
|
}
|
|
80
|
-
}),
|
|
74
|
+
}), H = new r("antMoveUpIn", {
|
|
81
75
|
"0%": {
|
|
82
76
|
transform: "translate3d(0, -100%, 0)",
|
|
83
77
|
transformOrigin: "0 0",
|
|
@@ -88,7 +82,7 @@ const U = new r("antMoveDownIn", {
|
|
|
88
82
|
transformOrigin: "0 0",
|
|
89
83
|
opacity: 1
|
|
90
84
|
}
|
|
91
|
-
}),
|
|
85
|
+
}), T = new r("antMoveUpOut", {
|
|
92
86
|
"0%": {
|
|
93
87
|
transform: "translate3d(0, 0, 0)",
|
|
94
88
|
transformOrigin: "0 0",
|
|
@@ -99,31 +93,31 @@ const U = new r("antMoveDownIn", {
|
|
|
99
93
|
transformOrigin: "0 0",
|
|
100
94
|
opacity: 0
|
|
101
95
|
}
|
|
102
|
-
}),
|
|
96
|
+
}), _ = {
|
|
103
97
|
"move-up": {
|
|
104
|
-
inKeyframes:
|
|
105
|
-
outKeyframes:
|
|
98
|
+
inKeyframes: H,
|
|
99
|
+
outKeyframes: T
|
|
106
100
|
},
|
|
107
101
|
"move-down": {
|
|
108
|
-
inKeyframes:
|
|
109
|
-
outKeyframes:
|
|
102
|
+
inKeyframes: z,
|
|
103
|
+
outKeyframes: L
|
|
110
104
|
},
|
|
111
105
|
"move-left": {
|
|
112
|
-
inKeyframes:
|
|
113
|
-
outKeyframes:
|
|
106
|
+
inKeyframes: S,
|
|
107
|
+
outKeyframes: U
|
|
114
108
|
},
|
|
115
109
|
"move-right": {
|
|
116
|
-
inKeyframes:
|
|
117
|
-
outKeyframes:
|
|
110
|
+
inKeyframes: W,
|
|
111
|
+
outKeyframes: B
|
|
118
112
|
}
|
|
119
|
-
},
|
|
113
|
+
}, Z = (e, n) => {
|
|
120
114
|
const {
|
|
121
115
|
antCls: s
|
|
122
116
|
} = e, o = `${s}-${n}`, {
|
|
123
117
|
inKeyframes: i,
|
|
124
118
|
outKeyframes: l
|
|
125
|
-
} =
|
|
126
|
-
return [
|
|
119
|
+
} = _[n];
|
|
120
|
+
return [j(o, i, l, e.motionDurationMid), {
|
|
127
121
|
[`
|
|
128
122
|
${o}-enter,
|
|
129
123
|
${o}-appear
|
|
@@ -136,8 +130,8 @@ const U = new r("antMoveDownIn", {
|
|
|
136
130
|
}
|
|
137
131
|
}];
|
|
138
132
|
};
|
|
139
|
-
function
|
|
140
|
-
return (n) => /* @__PURE__ */ t.createElement(
|
|
133
|
+
function q(e) {
|
|
134
|
+
return (n) => /* @__PURE__ */ t.createElement(K, {
|
|
141
135
|
theme: {
|
|
142
136
|
token: {
|
|
143
137
|
motion: !1,
|
|
@@ -146,15 +140,15 @@ function V(e) {
|
|
|
146
140
|
}
|
|
147
141
|
}, /* @__PURE__ */ t.createElement(e, Object.assign({}, n)));
|
|
148
142
|
}
|
|
149
|
-
const
|
|
143
|
+
const k = (e, n, s, o, i) => q((f) => {
|
|
150
144
|
const {
|
|
151
145
|
prefixCls: y,
|
|
152
146
|
style: w
|
|
153
|
-
} = f, c = t.useRef(null), [h, I] = t.useState(0), [M, P] = t.useState(0), [u, C] =
|
|
147
|
+
} = f, c = t.useRef(null), [h, I] = t.useState(0), [M, P] = t.useState(0), [u, C] = D(!1, {
|
|
154
148
|
value: f.open
|
|
155
149
|
}), {
|
|
156
150
|
getPrefixCls: b
|
|
157
|
-
} = t.useContext(
|
|
151
|
+
} = t.useContext(x), p = b(o || "select", y);
|
|
158
152
|
t.useEffect(() => {
|
|
159
153
|
if (C(!0), typeof ResizeObserver < "u") {
|
|
160
154
|
const g = new ResizeObserver((a) => {
|
|
@@ -196,8 +190,16 @@ const Z = (e, n, s, o, i) => V((f) => {
|
|
|
196
190
|
style: R
|
|
197
191
|
}, /* @__PURE__ */ t.createElement(e, Object.assign({}, d)));
|
|
198
192
|
});
|
|
193
|
+
var F = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, name: "down", theme: "outlined" }, N = function(n, s) {
|
|
194
|
+
return /* @__PURE__ */ t.createElement($, E({}, n, {
|
|
195
|
+
ref: s,
|
|
196
|
+
icon: F
|
|
197
|
+
}));
|
|
198
|
+
}, V = /* @__PURE__ */ t.forwardRef(N);
|
|
199
|
+
process.env.NODE_ENV !== "production" && (V.displayName = "DownOutlined");
|
|
199
200
|
export {
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
201
|
+
V as R,
|
|
202
|
+
k as g,
|
|
203
|
+
Z as i,
|
|
204
|
+
q as w
|
|
203
205
|
};
|