@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,89 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { STATE as r } from "../constants/index.js";
|
|
3
|
+
import { G as i } from "../iconBase-LROS5hdG.js";
|
|
4
|
+
import { a as d } from "../index-BRUI9igj.js";
|
|
5
|
+
import { R as m, a as p, b as v, c as g } from "../MinusCircleOutlined-Shz0RRQV.js";
|
|
6
|
+
import { R as z } from "../ClockCircleOutlined-BaXQuLIn.js";
|
|
7
|
+
import { d as l } from "../presets-Djh_L_6R.js";
|
|
8
|
+
import * as n from "react";
|
|
9
|
+
import { I as o } from "../AntdIcon-nCNB0J1E.js";
|
|
10
|
+
import { R as C } from "../CloseCircleFilled-B9e7yFwo.js";
|
|
11
|
+
import { R as S } from "../ExclamationCircleFilled-BHELVsTg.js";
|
|
12
|
+
var h = { 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 64zm176.5 585.7l-28.6 39a7.99 7.99 0 01-11.2 1.7L483.3 569.8a7.92 7.92 0 01-3.3-6.5V288c0-4.4 3.6-8 8-8h48.1c4.4 0 8 3.6 8 8v247.5l142.6 103.1c3.6 2.5 4.4 7.5 1.8 11.1z" } }] }, name: "clock-circle", theme: "filled" }, R = function(e, a) {
|
|
13
|
+
return /* @__PURE__ */ n.createElement(o, l({}, e, {
|
|
14
|
+
ref: a,
|
|
15
|
+
icon: h
|
|
16
|
+
}));
|
|
17
|
+
}, f = /* @__PURE__ */ n.forwardRef(R);
|
|
18
|
+
process.env.NODE_ENV !== "production" && (f.displayName = "ClockCircleFilled");
|
|
19
|
+
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 64zm192 472c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z" } }] }, name: "minus-circle", theme: "filled" }, y = function(e, a) {
|
|
20
|
+
return /* @__PURE__ */ n.createElement(o, l({}, e, {
|
|
21
|
+
ref: a,
|
|
22
|
+
icon: I
|
|
23
|
+
}));
|
|
24
|
+
}, u = /* @__PURE__ */ n.forwardRef(y);
|
|
25
|
+
process.env.NODE_ENV !== "production" && (u.displayName = "MinusCircleFilled");
|
|
26
|
+
function w(c) {
|
|
27
|
+
return i({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z" }, child: [] }] })(c);
|
|
28
|
+
}
|
|
29
|
+
function F(c) {
|
|
30
|
+
return i({ tag: "svg", attr: { viewBox: "0 0 24 24", fill: "currentColor" }, child: [{ tag: "path", attr: { d: "M12 2c5.523 0 10 4.477 10 10a10 10 0 0 1 -19.995 .324l-.005 -.324l.004 -.28c.148 -5.393 4.566 -9.72 9.996 -9.72zm0 9h-1l-.117 .007a1 1 0 0 0 0 1.986l.117 .007v3l.007 .117a1 1 0 0 0 .876 .876l.117 .007h1l.117 -.007a1 1 0 0 0 .876 -.876l.007 -.117l-.007 -.117a1 1 0 0 0 -.764 -.857l-.112 -.02l-.117 -.006v-3l-.007 -.117a1 1 0 0 0 -.876 -.876l-.117 -.007zm.01 -3l-.127 .007a1 1 0 0 0 0 1.986l.117 .007l.127 -.007a1 1 0 0 0 0 -1.986l-.117 -.007z" }, child: [] }] })(c);
|
|
31
|
+
}
|
|
32
|
+
const s = 14, T = (c, e) => {
|
|
33
|
+
switch (c) {
|
|
34
|
+
case r.error:
|
|
35
|
+
return e.colors.status.error.onsurface;
|
|
36
|
+
case r.success:
|
|
37
|
+
return e.colors.status.success.onsurface;
|
|
38
|
+
case r.warning:
|
|
39
|
+
return e.colors.status.warning.default;
|
|
40
|
+
case r.removed:
|
|
41
|
+
return e.colors.status.generic.default;
|
|
42
|
+
case r.progress:
|
|
43
|
+
return e.colors.timebox.evening.default;
|
|
44
|
+
case r.info:
|
|
45
|
+
default:
|
|
46
|
+
return e.colors.status.info.onsurface;
|
|
47
|
+
}
|
|
48
|
+
}, V = (c, e, a = !0) => {
|
|
49
|
+
if (!a)
|
|
50
|
+
switch (c) {
|
|
51
|
+
case r.warning:
|
|
52
|
+
return /* @__PURE__ */ t(
|
|
53
|
+
g,
|
|
54
|
+
{
|
|
55
|
+
style: { color: e, fontSize: s }
|
|
56
|
+
}
|
|
57
|
+
);
|
|
58
|
+
case r.error:
|
|
59
|
+
return /* @__PURE__ */ t(v, { style: { color: e, fontSize: s } });
|
|
60
|
+
case r.success:
|
|
61
|
+
return /* @__PURE__ */ t(d, { style: { color: e, fontSize: s } });
|
|
62
|
+
case r.progress:
|
|
63
|
+
return /* @__PURE__ */ t(z, { style: { color: e, fontSize: s } });
|
|
64
|
+
case r.removed:
|
|
65
|
+
return /* @__PURE__ */ t(p, { style: { color: e, fontSize: s } });
|
|
66
|
+
case r.info:
|
|
67
|
+
default:
|
|
68
|
+
return /* @__PURE__ */ t(m, { style: { color: e, fontSize: s } });
|
|
69
|
+
}
|
|
70
|
+
switch (c) {
|
|
71
|
+
case r.warning:
|
|
72
|
+
return /* @__PURE__ */ t(S, { style: { color: e, fontSize: s } });
|
|
73
|
+
case r.error:
|
|
74
|
+
return /* @__PURE__ */ t(C, { style: { color: e, fontSize: s } });
|
|
75
|
+
case r.success:
|
|
76
|
+
return /* @__PURE__ */ t(w, { style: { color: e, fontSize: s } });
|
|
77
|
+
case r.progress:
|
|
78
|
+
return /* @__PURE__ */ t(f, { style: { color: e, fontSize: s } });
|
|
79
|
+
case r.removed:
|
|
80
|
+
return /* @__PURE__ */ t(u, { style: { color: e, fontSize: s } });
|
|
81
|
+
case r.info:
|
|
82
|
+
default:
|
|
83
|
+
return /* @__PURE__ */ t(F, { style: { color: e, fontSize: s + 8 } });
|
|
84
|
+
}
|
|
85
|
+
};
|
|
86
|
+
export {
|
|
87
|
+
V as getBadgeStateIcon,
|
|
88
|
+
T as getIconColor
|
|
89
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gobolt/genesis",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "genesis design system",
|
|
5
5
|
"author": "gobolt",
|
|
6
6
|
"license": "MIT",
|
|
@@ -44,10 +44,13 @@
|
|
|
44
44
|
"@fontsource/roboto-mono": "^5.1.1",
|
|
45
45
|
"@rollup/plugin-node-resolve": "^15.3.0",
|
|
46
46
|
"@rollup/plugin-typescript": "^12.1.1",
|
|
47
|
+
"@storybook/addon-a11y": "^8.5.0",
|
|
48
|
+
"@storybook/addon-docs": "^8.5.0",
|
|
47
49
|
"@storybook/addon-essentials": "^8.5.0",
|
|
48
50
|
"@storybook/addon-interactions": "^8.5.0",
|
|
49
51
|
"@storybook/addon-links": "^8.5.0",
|
|
50
52
|
"@storybook/addon-mdx-gfm": "^8.5.0",
|
|
53
|
+
"@storybook/addon-styling": "^1.3.7",
|
|
51
54
|
"@storybook/blocks": "^8.5.0",
|
|
52
55
|
"@storybook/manager-api": "^8.5.2",
|
|
53
56
|
"@storybook/react": "^8.5.0",
|
|
@@ -55,6 +58,10 @@
|
|
|
55
58
|
"@storybook/test": "^8.5.0",
|
|
56
59
|
"@storybook/test-runner": "^0.19.1",
|
|
57
60
|
"@storybook/theming": "^8.5.2",
|
|
61
|
+
"@testing-library/dom": "^10.4.0",
|
|
62
|
+
"@testing-library/jest-dom": "^6.1.5",
|
|
63
|
+
"@testing-library/react": "^14.1.2",
|
|
64
|
+
"@testing-library/user-event": "^14.6.0",
|
|
58
65
|
"@types/jest": "^29.5.11",
|
|
59
66
|
"@types/react": "^18.2.37",
|
|
60
67
|
"@types/react-dom": "^18.2.15",
|
|
@@ -62,6 +69,7 @@
|
|
|
62
69
|
"@typescript-eslint/parser": "^6.10.0",
|
|
63
70
|
"@vitejs/plugin-react": "^4.2.1",
|
|
64
71
|
"@vitest/browser": "^2.0.2",
|
|
72
|
+
"chalk": "^5.4.1",
|
|
65
73
|
"eslint": "^8.57.1",
|
|
66
74
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
67
75
|
"eslint-plugin-react-refresh": "^0.4.4",
|
|
@@ -71,36 +79,35 @@
|
|
|
71
79
|
"jsdom": "^23.0.1",
|
|
72
80
|
"react": "^18.2.0",
|
|
73
81
|
"react-dom": "^18.2.0",
|
|
82
|
+
"rollup-plugin-css-only": "^4.5.2",
|
|
74
83
|
"rollup-plugin-dts": "^6.1.1",
|
|
75
84
|
"storybook": "8.5.0",
|
|
76
85
|
"tsx": "^4.19.2",
|
|
77
86
|
"typescript": "^5.2.2",
|
|
78
87
|
"vite": "^5.0.0",
|
|
88
|
+
"vite-plugin-css-injected-by-js": "^3.3.0",
|
|
79
89
|
"vite-plugin-dts": "^3.6.4",
|
|
80
90
|
"vite-plugin-lib-inject-css": "^1.3.0",
|
|
81
|
-
"vitest": "^2.1.8",
|
|
82
|
-
"@storybook/addon-a11y": "^8.5.0",
|
|
83
|
-
"@storybook/addon-docs": "^8.5.0",
|
|
84
|
-
"@storybook/addon-styling": "^1.3.7",
|
|
85
|
-
"@testing-library/jest-dom": "^6.1.5",
|
|
86
|
-
"@testing-library/react": "^14.1.2",
|
|
87
|
-
"@testing-library/user-event": "^14.6.0",
|
|
88
|
-
"vite-plugin-css-injected-by-js": "^3.3.0",
|
|
89
91
|
"vite-tsconfig-paths": "^5.1.4",
|
|
90
|
-
"
|
|
91
|
-
"chalk": "^5.4.1"
|
|
92
|
+
"vitest": "^2.1.8"
|
|
92
93
|
},
|
|
93
94
|
"dependencies": {
|
|
94
|
-
"@secondcloset/types": "^3.4.6",
|
|
95
95
|
"@ant-design/icons": "^5.5.2",
|
|
96
96
|
"@mdx-js/react": "^3.0.1",
|
|
97
|
+
"@secondcloset/types": "^3.4.6",
|
|
97
98
|
"antd": "^5.23.1",
|
|
99
|
+
"clsx": "^1.2.1",
|
|
98
100
|
"date-fns": "^3.6.0",
|
|
101
|
+
"dayjs": "^1.11.13",
|
|
102
|
+
"msw": "^2.7.1",
|
|
103
|
+
"msw-storybook-addon": "^2.0.4",
|
|
99
104
|
"react-error-boundary": "^4.0.11",
|
|
105
|
+
"react-icons": "^5.5.0",
|
|
106
|
+
"react-router-dom": "^7.2.0",
|
|
100
107
|
"react-toastify": "^11.0.3",
|
|
108
|
+
"recharts": "^2.15.1",
|
|
101
109
|
"styled-components": "^6.1.14",
|
|
102
|
-
"typescript": "^5.2.2"
|
|
103
|
-
"clsx": "^1.1.0"
|
|
110
|
+
"typescript": "^5.2.2"
|
|
104
111
|
},
|
|
105
112
|
"sideEffects": [
|
|
106
113
|
"**/*.css"
|
|
@@ -125,5 +132,10 @@
|
|
|
125
132
|
"bugs": {
|
|
126
133
|
"url": "https://github.com/SecondCloset/genesis/issues"
|
|
127
134
|
},
|
|
128
|
-
"homepage": "https://github.com/SecondCloset/genesis#readme"
|
|
135
|
+
"homepage": "https://github.com/SecondCloset/genesis#readme",
|
|
136
|
+
"msw": {
|
|
137
|
+
"workerDirectory": [
|
|
138
|
+
"public"
|
|
139
|
+
]
|
|
140
|
+
}
|
|
129
141
|
}
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
import { w as L, d as b, _ as l, g as U, I, u as W, e as N, f as R, c as q, h, a as F, i as G } from "./warning-C63HNL9U.js";
|
|
2
|
-
import * as m from "react";
|
|
3
|
-
import x, { useContext as H, useEffect as J } from "react";
|
|
4
|
-
function S(n) {
|
|
5
|
-
var o;
|
|
6
|
-
return n == null || (o = n.getRootNode) === null || o === void 0 ? void 0 : o.call(n);
|
|
7
|
-
}
|
|
8
|
-
function K(n) {
|
|
9
|
-
return S(n) instanceof ShadowRoot;
|
|
10
|
-
}
|
|
11
|
-
function M(n) {
|
|
12
|
-
return K(n) ? S(n) : null;
|
|
13
|
-
}
|
|
14
|
-
function Q(n) {
|
|
15
|
-
return n.replace(/-(.)/g, function(o, e) {
|
|
16
|
-
return e.toUpperCase();
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
function V(n, o) {
|
|
20
|
-
L(n, "[@ant-design/icons] ".concat(o));
|
|
21
|
-
}
|
|
22
|
-
function _(n) {
|
|
23
|
-
return b(n) === "object" && typeof n.name == "string" && typeof n.theme == "string" && (b(n.icon) === "object" || typeof n.icon == "function");
|
|
24
|
-
}
|
|
25
|
-
function k() {
|
|
26
|
-
var n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
27
|
-
return Object.keys(n).reduce(function(o, e) {
|
|
28
|
-
var r = n[e];
|
|
29
|
-
switch (e) {
|
|
30
|
-
case "class":
|
|
31
|
-
o.className = r, delete o.class;
|
|
32
|
-
break;
|
|
33
|
-
default:
|
|
34
|
-
delete o[e], o[Q(e)] = r;
|
|
35
|
-
}
|
|
36
|
-
return o;
|
|
37
|
-
}, {});
|
|
38
|
-
}
|
|
39
|
-
function T(n, o, e) {
|
|
40
|
-
return e ? /* @__PURE__ */ x.createElement(n.tag, l(l({
|
|
41
|
-
key: o
|
|
42
|
-
}, k(n.attrs)), e), (n.children || []).map(function(r, t) {
|
|
43
|
-
return T(r, "".concat(o, "-").concat(n.tag, "-").concat(t));
|
|
44
|
-
})) : /* @__PURE__ */ x.createElement(n.tag, l({
|
|
45
|
-
key: o
|
|
46
|
-
}, k(n.attrs)), (n.children || []).map(function(r, t) {
|
|
47
|
-
return T(r, "".concat(o, "-").concat(n.tag, "-").concat(t));
|
|
48
|
-
}));
|
|
49
|
-
}
|
|
50
|
-
function z(n) {
|
|
51
|
-
return U(n)[0];
|
|
52
|
-
}
|
|
53
|
-
function E(n) {
|
|
54
|
-
return n ? Array.isArray(n) ? n : [n] : [];
|
|
55
|
-
}
|
|
56
|
-
var X = `
|
|
57
|
-
.anticon {
|
|
58
|
-
display: inline-flex;
|
|
59
|
-
align-items: center;
|
|
60
|
-
color: inherit;
|
|
61
|
-
font-style: normal;
|
|
62
|
-
line-height: 0;
|
|
63
|
-
text-align: center;
|
|
64
|
-
text-transform: none;
|
|
65
|
-
vertical-align: -0.125em;
|
|
66
|
-
text-rendering: optimizeLegibility;
|
|
67
|
-
-webkit-font-smoothing: antialiased;
|
|
68
|
-
-moz-osx-font-smoothing: grayscale;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.anticon > * {
|
|
72
|
-
line-height: 1;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.anticon svg {
|
|
76
|
-
display: inline-block;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.anticon::before {
|
|
80
|
-
display: none;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
.anticon .anticon-icon {
|
|
84
|
-
display: block;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.anticon[tabindex] {
|
|
88
|
-
cursor: pointer;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.anticon-spin::before,
|
|
92
|
-
.anticon-spin {
|
|
93
|
-
display: inline-block;
|
|
94
|
-
-webkit-animation: loadingCircle 1s infinite linear;
|
|
95
|
-
animation: loadingCircle 1s infinite linear;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
@-webkit-keyframes loadingCircle {
|
|
99
|
-
100% {
|
|
100
|
-
-webkit-transform: rotate(360deg);
|
|
101
|
-
transform: rotate(360deg);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
@keyframes loadingCircle {
|
|
106
|
-
100% {
|
|
107
|
-
-webkit-transform: rotate(360deg);
|
|
108
|
-
transform: rotate(360deg);
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
`, Y = function(o) {
|
|
112
|
-
var e = H(I), r = e.csp, t = e.prefixCls, c = e.layer, a = X;
|
|
113
|
-
t && (a = a.replace(/anticon/g, t)), c && (a = "@layer ".concat(c, ` {
|
|
114
|
-
`).concat(a, `
|
|
115
|
-
}`)), J(function() {
|
|
116
|
-
var s = o.current, f = M(s);
|
|
117
|
-
W(a, "@ant-design-icons", {
|
|
118
|
-
prepend: !0,
|
|
119
|
-
csp: r,
|
|
120
|
-
attachTo: f
|
|
121
|
-
});
|
|
122
|
-
}, []);
|
|
123
|
-
}, Z = ["icon", "className", "onClick", "style", "primaryColor", "secondaryColor"], C = {
|
|
124
|
-
primaryColor: "#333",
|
|
125
|
-
secondaryColor: "#E6E6E6",
|
|
126
|
-
calculated: !1
|
|
127
|
-
};
|
|
128
|
-
function nn(n) {
|
|
129
|
-
var o = n.primaryColor, e = n.secondaryColor;
|
|
130
|
-
C.primaryColor = o, C.secondaryColor = e || z(o), C.calculated = !!e;
|
|
131
|
-
}
|
|
132
|
-
function on() {
|
|
133
|
-
return l({}, C);
|
|
134
|
-
}
|
|
135
|
-
var d = function(o) {
|
|
136
|
-
var e = o.icon, r = o.className, t = o.onClick, c = o.style, a = o.primaryColor, s = o.secondaryColor, f = N(o, Z), y = m.useRef(), u = C;
|
|
137
|
-
if (a && (u = {
|
|
138
|
-
primaryColor: a,
|
|
139
|
-
secondaryColor: s || z(a)
|
|
140
|
-
}), Y(y), V(_(e), "icon should be icon definiton, but got ".concat(e)), !_(e))
|
|
141
|
-
return null;
|
|
142
|
-
var i = e;
|
|
143
|
-
return i && typeof i.icon == "function" && (i = l(l({}, i), {}, {
|
|
144
|
-
icon: i.icon(u.primaryColor, u.secondaryColor)
|
|
145
|
-
})), T(i.icon, "svg-".concat(i.name), l(l({
|
|
146
|
-
className: r,
|
|
147
|
-
onClick: t,
|
|
148
|
-
style: c,
|
|
149
|
-
"data-icon": i.name,
|
|
150
|
-
width: "1em",
|
|
151
|
-
height: "1em",
|
|
152
|
-
fill: "currentColor",
|
|
153
|
-
"aria-hidden": "true"
|
|
154
|
-
}, f), {}, {
|
|
155
|
-
ref: y
|
|
156
|
-
}));
|
|
157
|
-
};
|
|
158
|
-
d.displayName = "IconReact";
|
|
159
|
-
d.getTwoToneColors = on;
|
|
160
|
-
d.setTwoToneColors = nn;
|
|
161
|
-
function $(n) {
|
|
162
|
-
var o = E(n), e = R(o, 2), r = e[0], t = e[1];
|
|
163
|
-
return d.setTwoToneColors({
|
|
164
|
-
primaryColor: r,
|
|
165
|
-
secondaryColor: t
|
|
166
|
-
});
|
|
167
|
-
}
|
|
168
|
-
function en() {
|
|
169
|
-
var n = d.getTwoToneColors();
|
|
170
|
-
return n.calculated ? [n.primaryColor, n.secondaryColor] : n.primaryColor;
|
|
171
|
-
}
|
|
172
|
-
var rn = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
|
|
173
|
-
$(G.primary);
|
|
174
|
-
var v = /* @__PURE__ */ m.forwardRef(function(n, o) {
|
|
175
|
-
var e = n.className, r = n.icon, t = n.spin, c = n.rotate, a = n.tabIndex, s = n.onClick, f = n.twoToneColor, y = N(n, rn), u = m.useContext(I), i = u.prefixCls, g = i === void 0 ? "anticon" : i, j = u.rootClassName, A = q(j, g, h(h({}, "".concat(g, "-").concat(r.name), !!r.name), "".concat(g, "-spin"), !!t || r.name === "loading"), e), p = a;
|
|
176
|
-
p === void 0 && s && (p = -1);
|
|
177
|
-
var P = c ? {
|
|
178
|
-
msTransform: "rotate(".concat(c, "deg)"),
|
|
179
|
-
transform: "rotate(".concat(c, "deg)")
|
|
180
|
-
} : void 0, B = E(f), w = R(B, 2), O = w[0], D = w[1];
|
|
181
|
-
return /* @__PURE__ */ m.createElement("span", F({
|
|
182
|
-
role: "img",
|
|
183
|
-
"aria-label": r.name
|
|
184
|
-
}, y, {
|
|
185
|
-
ref: o,
|
|
186
|
-
tabIndex: p,
|
|
187
|
-
onClick: s,
|
|
188
|
-
className: A
|
|
189
|
-
}), /* @__PURE__ */ m.createElement(d, {
|
|
190
|
-
icon: r,
|
|
191
|
-
primaryColor: O,
|
|
192
|
-
secondaryColor: D,
|
|
193
|
-
style: P
|
|
194
|
-
}));
|
|
195
|
-
});
|
|
196
|
-
v.displayName = "AntdIcon";
|
|
197
|
-
v.getTwoToneColor = en;
|
|
198
|
-
v.setTwoToneColor = $;
|
|
199
|
-
export {
|
|
200
|
-
v as I,
|
|
201
|
-
M as g
|
|
202
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { a as l } from "./warning-C63HNL9U.js";
|
|
2
|
-
import * as e from "react";
|
|
3
|
-
import { I as r } from "./AntdIcon-BoLh1dP8.js";
|
|
4
|
-
var t = { 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" }, o = function(c, a) {
|
|
5
|
-
return /* @__PURE__ */ e.createElement(r, l({}, c, {
|
|
6
|
-
ref: a,
|
|
7
|
-
icon: t
|
|
8
|
-
}));
|
|
9
|
-
}, n = /* @__PURE__ */ e.forwardRef(o);
|
|
10
|
-
process.env.NODE_ENV !== "production" && (n.displayName = "CheckCircleFilled");
|
|
11
|
-
var s = { 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 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "exclamation-circle", theme: "filled" }, m = function(c, a) {
|
|
12
|
-
return /* @__PURE__ */ e.createElement(r, l({}, c, {
|
|
13
|
-
ref: a,
|
|
14
|
-
icon: s
|
|
15
|
-
}));
|
|
16
|
-
}, d = /* @__PURE__ */ e.forwardRef(m);
|
|
17
|
-
process.env.NODE_ENV !== "production" && (d.displayName = "ExclamationCircleFilled");
|
|
18
|
-
export {
|
|
19
|
-
n as R,
|
|
20
|
-
d as a
|
|
21
|
-
};
|