@gobolt/genesis 0.1.6 → 0.2.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 +2 -2
- package/dist/AntdIcon-DH0CLM1Y.cjs +58 -0
- package/dist/CSSMotionList-BkQaDrZL.cjs +54 -0
- package/dist/CSSMotionList-Bnxp3McO.js +3043 -0
- package/dist/CheckCircleFilled-CjHdYIbm.cjs +1 -0
- package/dist/CheckOutlined-zCdr5BJm.cjs +1 -0
- package/dist/ClockCircleOutlined-5UFb32Vd.cjs +1 -0
- package/dist/CloseCircleFilled-DTf4XAEx.cjs +1 -0
- package/dist/CloseOutlined-Bdhtz5G6.cjs +1 -0
- package/dist/{Compact-DFcWZrNo.js → Compact-DLyEiUiM.js} +4 -4
- package/dist/Compact-DbbroFuI.cjs +1 -0
- package/dist/Context-C1u4yclk.cjs +1 -0
- package/dist/ContextIsolator-CoEIkMNv.cjs +1 -0
- package/dist/{ContextIsolator-CUJnq-4F.js → ContextIsolator-DmNIEQ4a.js} +2 -2
- package/dist/{DownOutlined-Bv7ua5i8.js → DownOutlined-B6sv2Wz7.js} +5 -5
- package/dist/DownOutlined-BQeYXxEW.cjs +4 -0
- package/dist/EllipsisOutlined-41dQ6mc7.cjs +1 -0
- package/dist/{EllipsisOutlined-BodkguEc.js → EllipsisOutlined-p42n6YT6.js} +62 -61
- package/dist/ExclamationCircleFilled-CKIE3287.cjs +1 -0
- package/dist/{Input--qsU-6vp.js → Input-BQWrpo9X.js} +10 -10
- package/dist/Input-DR_AoU5d.cjs +1 -0
- package/dist/KeyCode-CIq7HTTY.cjs +1 -0
- package/dist/Keyframes-CLS7wZIp.cjs +1 -0
- package/dist/{Keyframes-CyO2Aeq-.js → Keyframes-DIF9LGg-.js} +1 -1
- package/dist/LoadingOutlined-ByLc1sSe.cjs +1 -0
- package/dist/MinusCircleOutlined-d1WYK6RE.cjs +1 -0
- package/dist/{Overflow-CVbsx7Gn.js → Overflow-BjFvsSs4.js} +60 -59
- package/dist/Overflow-Bthkof3a.cjs +4 -0
- package/dist/SearchOutlined-BzV3qXvi.cjs +1 -0
- package/dist/{Skeleton-CudViN0a.js → Skeleton-CUGMlCIU.js} +3 -3
- package/dist/Skeleton-DJMABrvW.cjs +8 -0
- package/dist/TextArea-B8UHj7uQ.cjs +15 -0
- package/dist/{TextArea-CHo3cxKw.js → TextArea-FhT_niDe.js} +11 -11
- package/dist/{Typography-8BO7aTuQ.js → Typography-BKm8uXM1.js} +52 -51
- package/dist/Typography-DCxwDJFP.cjs +10 -0
- package/dist/_baseIsEqual-DnZ6AoVd.cjs +1 -0
- package/dist/_commonjsHelpers-BTDuMlIz.cjs +1 -0
- package/dist/asyncToGenerator-Dr7BhN2C.cjs +1 -0
- package/dist/{button-CYVlK7G0.js → button-CvcGKj7O.js} +31 -31
- package/dist/button-vyLzOdPi.cjs +1 -0
- package/dist/collapse-DNCMuTyD.cjs +3 -0
- package/dist/compact-item-B2FiQh6y.cjs +1 -0
- package/dist/components/Avatar/Avatar.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Avatar/__tests__/Avatar.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Avatar/index.cjs.js +1 -0
- package/dist/components/Avatar/index.es.js +4 -0
- package/dist/components/Avatar/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +3 -0
- package/dist/components/Avatar/styles.d.ts +1 -12
- package/dist/components/Badge/Badge.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Badge/Badge.d.ts +4 -1
- package/dist/components/Badge/__stories__/Badge.stories.d.ts +1 -0
- package/dist/components/Badge/__tests__/Badge.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Badge/index.cjs.js +1 -0
- package/dist/components/Badge/index.es.js +4 -0
- package/dist/components/Badge/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +10 -14
- package/dist/components/Badge/styles.d.ts +1 -8
- package/dist/components/Breadcrumb/Breadcrumb.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.types.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Breadcrumb/index.cjs.js +1 -0
- package/dist/components/Breadcrumb/index.es.js +4 -0
- package/dist/components/Breadcrumb/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +60 -0
- package/dist/components/Breadcrumb/styles.d.ts +2 -23
- package/dist/components/Button/Button.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Button/IconButton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Button/UtilityButton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Button/__stories__/UtilityButton.stories.d.ts +2 -1
- package/dist/components/Button/__tests__/Button.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Button/{icon-button-styles.js → icon-button-styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +12 -16
- package/dist/components/Button/icon-button-styles.d.ts +1 -12
- package/dist/components/Button/index.cjs.js +1 -0
- package/dist/components/Button/index.es.js +8 -0
- package/dist/components/Button/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +14 -22
- package/dist/components/Button/styles.d.ts +1 -16
- package/dist/components/Card/Card.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Card/__tests__/Card.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Card/index.cjs.js +1 -0
- package/dist/components/Card/index.es.js +4 -0
- package/dist/components/Card/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
- package/dist/components/Card/styles.d.ts +1 -10
- package/dist/components/Checkbox/Checkbox.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Checkbox/__tests__/Checkbox.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Checkbox/index.cjs.js +1 -0
- package/dist/components/Checkbox/index.es.js +4 -0
- package/dist/components/Checkbox/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +17 -23
- package/dist/components/Checkbox/styles.d.ts +2 -7
- package/dist/components/Dashboard/Dashboard.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Dashboard/__mocks__/dashboard-data.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutContent.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Dashboard/__stories__/DashboardLayoutStory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Dashboard/__stories__/charts/LineChart.[format === /"es/" ? /"js/" : /"cjs/"]" +2 -0
- package/dist/components/Dashboard/__tests__/Dashboard.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Dashboard/index.cjs.js +1 -0
- package/dist/components/Dashboard/index.es.js +4 -0
- package/dist/components/Dashboard/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
- package/dist/components/Dashboard/styles.d.ts +1 -8
- package/dist/components/DatePicker/DatePicker.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/DatePicker/__tests__/DatePicker.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/DatePicker/index.cjs.js +1 -0
- package/dist/components/DatePicker/index.es.js +4 -0
- package/dist/components/DateRangePicker/DateRangePicker.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/DateRangePicker/index.cjs.js +1 -0
- package/dist/components/DateRangePicker/index.es.js +4 -0
- package/dist/components/ErrorBoundary/ErrorBoundary.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/ErrorBoundary/index.cjs.js +1 -0
- package/dist/components/ErrorBoundary/index.es.js +4 -0
- package/dist/components/ErrorBoundary/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
- package/dist/components/ErrorBoundary/styles.d.ts +1 -8
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/ErrorBoundaryFallback/index.cjs.js +1 -0
- package/dist/components/ErrorBoundaryFallback/index.es.js +4 -0
- package/dist/components/ErrorBoundaryFallback/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +11 -0
- package/dist/components/ErrorBoundaryFallback/styles.d.ts +1 -1
- package/dist/components/Form/Form.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Form/__stories__/FormStory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Form/__tests__/form.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Form/index.cjs.js +1 -0
- package/dist/components/Form/index.es.js +4 -0
- package/dist/components/Form/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Glyph/Glyph.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Glyph/index.cjs.js +1 -0
- package/dist/components/Glyph/index.es.js +4 -0
- package/dist/components/Glyph/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
- package/dist/components/Glyph/styles.d.ts +1 -8
- package/dist/components/Input/Input.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Input/Input.d.ts +3 -2
- package/dist/components/Input/__stories__/Input.stories.d.ts +1 -0
- package/dist/components/Input/__tests__/Input.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Input/index.cjs.js +1 -0
- package/dist/components/Input/index.es.js +4 -0
- package/dist/components/Input/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Input/styles.d.ts +1 -15
- package/dist/components/Layout/Content/Content.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Layout/Content/ResponsiveContent.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Layout/Content/index.cjs.js +1 -0
- package/dist/components/Layout/Content/index.es.js +4 -0
- package/dist/components/Layout/Content/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +11 -0
- package/dist/components/Layout/Content/styles.d.ts +1 -7
- package/dist/components/Layout/Layout.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Layout/MainLayout/MainLayout.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Layout/MainLayout/index.cjs.js +1 -0
- package/dist/components/Layout/MainLayout/index.es.js +4 -0
- package/dist/components/Layout/MainLayout/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +62 -0
- package/dist/components/Layout/MainLayout/styles.d.ts +4 -4
- package/dist/components/Layout/__tests__/Layout.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Layout/index.cjs.js +1 -0
- package/dist/components/Layout/index.es.js +4 -0
- package/dist/components/Message/Message.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Message/__tests__/Message.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Message/index.cjs.js +1 -0
- package/dist/components/Message/index.es.js +4 -0
- package/dist/components/Message/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +38 -0
- package/dist/components/Message/styles.d.ts +3 -9
- package/dist/components/Notification/Notification.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/NotificationBadge.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/ASN.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/Appointment.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/Inventory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/Parcel.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/Product.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/Route.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/Shipment.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/ShoppingCart.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/icons/System.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/NotificationBadge/index.cjs.js +1 -0
- package/dist/components/Notification/NotificationBadge/index.es.js +4 -0
- package/dist/components/Notification/NotificationBadge/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +28 -0
- package/dist/components/Notification/NotificationBadge/styles.d.ts +3 -3
- package/dist/components/Notification/NotificationRightChevron.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/__tests__/Notification.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Notification/index.cjs.js +1 -0
- package/dist/components/Notification/index.es.js +4 -0
- package/dist/components/Notification/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +56 -0
- package/dist/components/Notification/styles.d.ts +5 -16
- package/dist/components/Popover/Popover.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Popover/__tests__/Popover.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Popover/index.cjs.js +1 -0
- package/dist/components/Popover/index.es.js +4 -0
- package/dist/components/Popover/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Popover/styles.d.ts +1 -13
- package/dist/components/Progress/Progress.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Progress/Progress.util.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Progress/ProgressText.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Progress/__tests__/Progress.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Progress/index.cjs.js +1 -0
- package/dist/components/Progress/index.es.js +4 -0
- package/dist/components/Progress/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +3 -0
- package/dist/components/Progress/styles.d.ts +1 -13
- package/dist/components/Radio/Radio.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/Radio.d.ts +1 -4
- package/dist/components/Radio/RadioGroup.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/__tests__/RadioGroup.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/index.cjs.js +1 -0
- package/dist/components/Radio/index.es.js +4 -0
- package/dist/components/Radio/states/RadioChecked.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/states/RadioCheckedDisabled.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/states/RadioCheckedFocussed.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/states/RadioCheckedHover.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/states/RadioUnchecked.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/states/RadioUncheckedDisabled.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/states/RadioUncheckedFocussed.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Radio/states/RadioUncheckedHover.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Row/Row.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Row/RowActions/RowActions.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Row/RowActions/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +4 -9
- package/dist/components/Row/RowActions/styles.d.ts +2 -2
- package/dist/components/Row/RowLabelValue/RowLabelValue.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Row/RowLabelValue/RowSkeleton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Row/RowLabelValue/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +18 -0
- package/dist/components/Row/RowLabelValue/styles.d.ts +2 -12
- package/dist/components/Row/__tests__/Row.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Row/index.cjs.js +1 -0
- package/dist/components/Row/index.es.js +4 -0
- package/dist/components/Row/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +10 -0
- package/dist/components/Row/styles.d.ts +1 -9
- package/dist/components/SegmentedControls/SegmentedControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/SegmentedControls/index.cjs.js +1 -0
- package/dist/components/SegmentedControls/index.es.js +4 -0
- package/dist/components/SegmentedControls/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +22 -0
- package/dist/components/SegmentedControls/styles.d.ts +1 -9
- package/dist/components/Select/DropdownChevron.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Select/Select.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
- package/dist/components/Select/Select.d.ts +5 -2
- package/dist/components/Select/__stories__/Select.stories.d.ts +1 -0
- package/dist/components/Select/__tests__/Select.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Select/index.cjs.js +1 -0
- package/dist/components/Select/index.es.js +4 -0
- package/dist/components/Select/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +129 -0
- package/dist/components/Select/styles.d.ts +5 -21
- package/dist/components/Shapes/Shapes.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Shapes/__tests__/Shapes.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Shapes/index.cjs.js +1 -0
- package/dist/components/Shapes/index.es.js +4 -0
- package/dist/components/Shapes/variants/Circle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Shapes/variants/Rectangle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Shapes/variants/Triangle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Switch/Switch.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Switch/__tests__/Switch.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Switch/index.cjs.js +1 -0
- package/dist/components/Switch/index.es.js +4 -0
- package/dist/components/Switch/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +58 -0
- package/dist/components/Switch/styles.d.ts +1 -7
- package/dist/components/Table/Table.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/Table.d.ts +40 -11
- package/dist/components/Table/TableControls/PrimaryTableControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/TableControls/PrimaryTableControls.d.ts +15 -0
- package/dist/components/Table/TableControls/SecondaryTableControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/TableControls/SecondaryTableControls.d.ts +10 -0
- package/dist/components/Table/TableControls/TableControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/TableControls/TableControls.d.ts +8 -0
- package/dist/components/Table/TableControls/__stories__/TableControls.stories.d.ts +6 -0
- package/dist/components/Table/TableControls/__tests__/TableControls.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/TableControls/index.cjs.js +1 -0
- package/dist/components/Table/TableControls/index.d.ts +2 -0
- package/dist/components/Table/TableControls/index.es.js +4 -0
- package/dist/components/Table/TableControls/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +6 -0
- package/dist/components/Table/TableControls/styles.d.ts +6 -0
- package/dist/components/Table/TableWithControls/TableWithControls.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/TableWithControls/TableWithControls.d.ts +12 -0
- package/dist/components/Table/TableWithControls/__stories__/TableWithControls.stories.d.ts +6 -0
- package/dist/components/Table/TableWithControls/__stories__/TableWithControlsStory.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/TableWithControls/__stories__/TableWithControlsStory.d.ts +1 -0
- package/dist/components/Table/TableWithControls/__tests__/TableWithControls.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/TableWithControls/__tests__/TableWithControls.test.d.ts +1 -0
- package/dist/components/Table/TableWithControls/index.cjs.js +1 -0
- package/dist/components/Table/TableWithControls/index.d.ts +2 -0
- package/dist/components/Table/TableWithControls/index.es.js +4 -0
- package/dist/components/Table/__mocks__/table-mocks.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/__mocks__/table-mocks.d.ts +2 -1
- package/dist/components/Table/__stories__/GenesisTable.stories.d.ts +3 -0
- package/dist/components/Table/__stories__/Table.stories.d.ts +3 -1
- package/dist/components/Table/__stories__/use-table-hook.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/__stories__/use-table-hook.d.ts +9 -0
- package/dist/components/Table/__tests__/Table.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/index.cjs.js +1 -0
- package/dist/components/Table/index.es.js +4 -0
- package/dist/components/Table/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/use-table-hook.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Table/use-table-hook.d.ts +23 -0
- package/dist/components/Tabs/Tabs.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Tabs/__tests__/Tabs.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Tabs/index.cjs.js +1 -0
- package/dist/components/Tabs/index.es.js +4 -0
- package/dist/components/Tabs/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +4 -10
- package/dist/components/Tabs/styles.d.ts +1 -9
- package/dist/components/Tile/Tile.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Tile/__tests__/Tile.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Tile/index.cjs.js +1 -0
- package/dist/components/Tile/index.es.js +4 -0
- package/dist/components/Tile/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +7 -0
- package/dist/components/Tile/styles.d.ts +1 -7
- package/dist/components/Toast/Toast.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Toast/__tests__/Toast.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Toast/index.cjs.js +1 -0
- package/dist/components/Toast/index.es.js +4 -0
- package/dist/components/Toast/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +38 -0
- package/dist/components/Toast/styles.d.ts +3 -9
- package/dist/components/Tooltip/Tooltip.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Tooltip/__tests__/Tooltip.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Tooltip/index.cjs.js +1 -0
- package/dist/components/Tooltip/index.es.js +4 -0
- package/dist/components/Tooltip/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +5 -0
- package/dist/components/Tooltip/styles.d.ts +1 -14
- package/dist/components/Typography/Typography.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Typography/Typography.d.ts +1 -2
- package/dist/components/Typography/__tests__/Typography.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Typography/index.cjs.js +1 -0
- package/dist/components/Typography/index.es.js +4 -0
- package/dist/components/Typography/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +29 -0
- package/dist/components/Typography/styles.d.ts +3 -21
- package/dist/components/index.cjs.js +1 -0
- package/dist/components/index.d.cjs.js +1 -0
- package/dist/components/index.es.js +62 -0
- package/dist/constants/index.cjs.js +1 -0
- package/dist/{context-CQfFkrkv.js → context-CTca8gjn.js} +3 -3
- package/dist/context-DdubDZbV.cjs +1 -0
- package/dist/declaration.d.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/{dropdown-BlRB2LxQ.js → dropdown-CZHhUAdC.js} +13 -13
- package/dist/dropdown-DDY5X1Q0.cjs +27 -0
- package/dist/generateCategoricalChart-Dcyk3onh.cjs +90 -0
- package/dist/genesis/GenesisThemeBreakdown.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/genesis/GenesisThemeDemo.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/genesis/{styles.js → styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +3 -10
- package/dist/genesis/styles.d.ts +2 -11
- package/dist/iconBase-C4boY5mo.cjs +1 -0
- package/dist/index-B2Z5NSa0.cjs +4 -0
- package/dist/{index-DRGbc-fW.js → index-B56O6LEG.js} +38 -37
- package/dist/index-B6nsE0F_.cjs +16 -0
- package/dist/index-BD5op9DA.cjs +6 -0
- package/dist/{index-BZ050Dyl.js → index-BJgt3NQN.js} +7 -7
- package/dist/index-Bj0GOR4e.cjs +1 -0
- package/dist/index-Bml8d_Df.cjs +15 -0
- package/dist/index-CNA8GQQR.cjs +1 -0
- package/dist/index-CSLsxIxR.cjs +1 -0
- package/dist/index-CUpwy6fl.cjs +24 -0
- package/dist/{index-CzMIlMTV.js → index-CXee0v2G.js} +2 -2
- package/dist/{index-C2K1BzmJ.js → index-CYbLY3uE.js} +22 -21
- package/dist/{index-DCopujxC.js → index-Ce7BgA_I.js} +32 -32
- package/dist/index-Cft4ZDoE.cjs +1 -0
- package/dist/{index-Br3D3cFM.js → index-CkrCy-wr.js} +49 -48
- package/dist/index-CmiuhnsO.js +11 -0
- package/dist/{index-RtWhGOwR.js → index-CsSLy_ri.js} +9 -9
- package/dist/{index-Bxbr727t.js → index-D0AjEeN2.js} +1 -1
- package/dist/{index-B7FXyiY_.js → index-D76Ewoqp.js} +4 -4
- package/dist/{index-BHCqeC4j.js → index-D9i74AKg.js} +11 -11
- package/dist/{index-DavB5GQ3.js → index-DAtTGIsZ.js} +19 -19
- package/dist/{index-Y0KgiFZb.js → index-DJcvYBdb.js} +9 -9
- package/dist/index-DLI4yl_y.cjs +22 -0
- package/dist/index-DPPQ1GIl.cjs +10 -0
- package/dist/index-DV4cHHkU.cjs +1 -0
- package/dist/index-DY6qmEFc.js +23 -0
- package/dist/index-DdF9CYRQ.cjs +1 -0
- package/dist/index-Dwe6wwhx.cjs +7 -0
- package/dist/{index-sX7KZ-nU.js → index-FDGutzXP.js} +42 -42
- package/dist/{index-RAH9f-qb.js → index-emugciTm.js} +6 -6
- package/dist/index-x6LPvHOw.cjs +17 -0
- package/dist/index-zDIwuuqH.cjs +3 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.es.js +69 -0
- package/dist/interface/address.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/appointment.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/appointmentV2.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/appointmentsState.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/common.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/completionData.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/deliveryPartner.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/organization.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/pagination.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/roles.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/route.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/routeAnalysis.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/routeAutomationJob.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/routeAutomationLog.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/routeEvent.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/serviceArea.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/util.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/vehicle.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/interface/workOrder.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/isVisible-BNxwNfFH.cjs +1 -0
- package/dist/magic-string.es-BMxHbF2i.cjs +10 -0
- package/dist/motion-B_a-We1F.cjs +1 -0
- package/dist/{motion-C-XpKcZG.js → motion-Tyjtqn8t.js} +2 -2
- package/dist/omit-BrHx-Kj7.cjs +1 -0
- package/dist/pickAttrs-BUFdQiVt.cjs +18 -0
- package/dist/presetColors-DyrVjOJc.cjs +1 -0
- package/dist/presets-CCbttGCy.cjs +6 -0
- package/dist/providers/BreakpointProvider.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/providers/BreakpointProvider.d.ts +7 -0
- package/dist/providers/GenesisProvider.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/providers/ToastProvider.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/providers/index.cjs.js +1 -0
- package/dist/providers/index.es.js +6 -0
- package/dist/providers/useGenesis.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/providers/useGenesis.d.ts +2 -1
- package/dist/reactNode-DcoR9VZw.cjs +1 -0
- package/dist/{roundedArrow-BxPlu4Hq.js → roundedArrow-BtSC7b_q.js} +1 -1
- package/dist/roundedArrow-i9Dmpgeh.cjs +1 -0
- package/dist/{setup-rcqlwLGQ.js → setup-D5hJ8cId.js} +6300 -5518
- package/dist/setup-Lma-RJTH.cjs +148 -0
- package/dist/setup.types-DNdmb6tK.cjs +46 -0
- package/dist/shadow-1q6dM13I.cjs +1 -0
- package/dist/statusUtils-DExYjn05.cjs +1 -0
- package/dist/styleChecker-Vc3-yig2.cjs +1 -0
- package/dist/styles/design-tokens/border-tokens/BorderTokenList.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/styles/design-tokens/variables.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/styles/{global-styles.js → global-styles.[format === /"es/" ? /"js/" : /"cjs/"]" } +2 -6
- package/dist/styles/global-styles.d.ts +1 -1
- package/dist/styles/theme/genesis-theme.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/styles/theme/genesis-theme.test.[format === /"es/" ? /"js/" : /"cjs/"]" +3 -0
- package/dist/styles/theme/genesis-theme.types.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/styles/theme/index.cjs.js +1 -0
- package/dist/styles/theme/{index.js → index.es.js} +1 -1
- package/dist/styles/theme/theme-tree/ThemeTree.[format === /"es/" ? /"js/" : /"cjs/"]" +7 -0
- package/dist/styles-BEj8fZMe.cjs +3 -0
- package/dist/styles-BWTP_Zyu.cjs +103 -0
- package/dist/styles-BfoQ93tm.cjs +91 -0
- package/dist/{styles-Wpm1RiGr.js → styles-Bnh9HSiM.js} +46 -45
- package/dist/{styles-XuoEGUZZ.js → styles-CRSK7_lW.js} +135 -122
- package/dist/{styles-DNay6iFa.js → styles-CSzrJlJ9.js} +7 -7
- package/dist/{index-CupwdUIJ.js → styles-DXLK47iT.js} +167 -157
- package/dist/styles-j60Er7XY.cjs +16 -0
- package/dist/test/setup.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/test/setup.types.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/{toArray-D5kvYi_U.js → toArray-BdEmgTlP.js} +1 -1
- package/dist/toArray-Cnq83wS3.cjs +1 -0
- package/dist/useBreakpoint-BkvhZP6y.cjs +1 -0
- package/dist/{useBreakpoint-ByLol0R9.js → useBreakpoint-C6P2JavP.js} +1 -1
- package/dist/{useCSSVarCls-YfJY1twF.js → useCSSVarCls-CwGsW74t.js} +1 -1
- package/dist/useCSSVarCls-Eahl89PI.cjs +1 -0
- package/dist/{useIcons-CoxuumP_.js → useIcons-BP_qFbBH.js} +3 -3
- package/dist/useIcons-elrpktrI.cjs +6 -0
- package/dist/useId-BDresUbx.cjs +1 -0
- package/dist/useLocale-Ccu6a0gD.cjs +1 -0
- package/dist/{useLocale-BQ3mKRyJ.js → useLocale-DkcoQ5u9.js} +1 -1
- package/dist/{useMergedState-D1-TbeEv.js → useMergedState-dLe_CnQY.js} +1 -1
- package/dist/useMergedState-g1JWsrDw.cjs +1 -0
- package/dist/{useSize-Ct1guc-z.js → useSize-D_iM0JXw.js} +1 -1
- package/dist/useSize-OiGNe58i.cjs +1 -0
- package/dist/{useVariants-C6UAAu9f.js → useVariants-BO1luVHT.js} +3 -3
- package/dist/useVariants-CAEx8XcP.cjs +1 -0
- package/dist/useZIndex-B720RqFH.cjs +1 -0
- package/dist/{useZIndex-tgX56o1r.js → useZIndex-DNLQPZBP.js} +2 -2
- package/dist/utils/icon-util.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/utils/icon-util.d.ts +1 -0
- package/dist/utils/styled.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/utils/styled.d.ts +7 -0
- package/dist/vi.B5EKKJdE-CoUxwxV9.cjs +434 -0
- package/dist/vite-env.d.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/package.json +26 -11
- package/dist/CSSMotionList-DB0khM6h.js +0 -22193
- package/dist/components/Avatar/Avatar.js +0 -63
- package/dist/components/Avatar/__tests__/Avatar.test.js +0 -17
- package/dist/components/Avatar/index.js +0 -4
- package/dist/components/Avatar/styles.js +0 -328
- package/dist/components/Badge/Badge.js +0 -72
- package/dist/components/Badge/__tests__/Badge.test.js +0 -17
- package/dist/components/Badge/index.js +0 -4
- package/dist/components/Breadcrumb/Breadcrumb.js +0 -11
- package/dist/components/Breadcrumb/__tests__/Breadcrumb.test.js +0 -23
- package/dist/components/Breadcrumb/index.js +0 -4
- package/dist/components/Breadcrumb/styles.js +0 -415
- package/dist/components/Button/Button.js +0 -30
- package/dist/components/Button/IconButton.js +0 -29
- package/dist/components/Button/UtilityButton.js +0 -29
- package/dist/components/Button/__tests__/Button.test.js +0 -18
- package/dist/components/Button/index.js +0 -8
- package/dist/components/Card/Card.js +0 -16
- package/dist/components/Card/__tests__/Card.test.js +0 -16
- package/dist/components/Card/index.js +0 -4
- package/dist/components/Card/styles.js +0 -12
- package/dist/components/Checkbox/Checkbox.js +0 -53
- package/dist/components/Checkbox/__tests__/Checkbox.test.js +0 -19
- package/dist/components/Checkbox/index.js +0 -4
- package/dist/components/Dashboard/Dashboard.js +0 -5
- package/dist/components/Dashboard/__mocks__/dashboard-data.js +0 -186
- package/dist/components/Dashboard/__stories__/DashboardLayoutContent.js +0 -948
- package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +0 -87
- package/dist/components/Dashboard/__stories__/DashboardLayoutStory.js +0 -23
- package/dist/components/Dashboard/__stories__/charts/LineChart.js +0 -534
- package/dist/components/Dashboard/__tests__/Dashboard.test.js +0 -16
- package/dist/components/Dashboard/index.js +0 -4
- package/dist/components/Dashboard/styles.js +0 -11
- package/dist/components/DatePicker/DatePicker.js +0 -5
- package/dist/components/DatePicker/__tests__/DatePicker.test.js +0 -19
- package/dist/components/DatePicker/index.js +0 -4
- package/dist/components/DateRangePicker/DateRangePicker.js +0 -5
- package/dist/components/DateRangePicker/__tests__/DateRangePicker.test.js +0 -23
- package/dist/components/DateRangePicker/index.js +0 -4
- package/dist/components/ErrorBoundary/ErrorBoundary.js +0 -74
- package/dist/components/ErrorBoundary/__tests__/ErrorBoundary.test.js +0 -30
- package/dist/components/ErrorBoundary/index.js +0 -4
- package/dist/components/ErrorBoundary/styles.js +0 -11
- package/dist/components/ErrorBoundaryFallback/ErrorBoundaryFallback.js +0 -57
- package/dist/components/ErrorBoundaryFallback/index.js +0 -4
- package/dist/components/ErrorBoundaryFallback/styles.js +0 -933
- package/dist/components/Form/Form.js +0 -8
- package/dist/components/Form/__stories__/FormStory.js +0 -172
- package/dist/components/Form/__tests__/form.test.js +0 -19
- package/dist/components/Form/index.js +0 -4
- package/dist/components/Form/styles.js +0 -13
- package/dist/components/FormBrandon/Form.d.ts +0 -25
- package/dist/components/FormBrandon/Form.js +0 -18
- package/dist/components/FormBrandon/__stories__/Form.stories.d.ts +0 -6
- package/dist/components/FormBrandon/__stories__/FormStory.d.ts +0 -1
- package/dist/components/FormBrandon/__stories__/FormStory.js +0 -173
- package/dist/components/FormBrandon/__tests__/form.test.js +0 -19
- package/dist/components/FormBrandon/index.d.ts +0 -2
- package/dist/components/FormBrandon/index.js +0 -4
- package/dist/components/FormBrandon/styles.d.ts +0 -2
- package/dist/components/FormBrandon/styles.js +0 -13
- package/dist/components/Glyph/Glyph.js +0 -9
- package/dist/components/Glyph/index.js +0 -4
- package/dist/components/Glyph/styles.js +0 -11
- package/dist/components/Input/Input.js +0 -22
- package/dist/components/Input/__tests__/Input.test.js +0 -25
- package/dist/components/Input/index.js +0 -4
- package/dist/components/Input/styles.js +0 -6
- package/dist/components/Layout/Content/Content.js +0 -32
- package/dist/components/Layout/Content/ResponsiveContent.js +0 -83
- package/dist/components/Layout/Content/index.js +0 -4
- package/dist/components/Layout/Content/styles.js +0 -16
- package/dist/components/Layout/Layout.js +0 -6
- package/dist/components/Layout/MainLayout/MainLayout.js +0 -28
- package/dist/components/Layout/MainLayout/index.js +0 -4
- package/dist/components/Layout/MainLayout/styles.js +0 -69
- package/dist/components/Layout/__tests__/Layout.test.js +0 -14
- package/dist/components/Layout/index.js +0 -4
- package/dist/components/Message/Message.js +0 -107
- package/dist/components/Message/__tests__/Message.test.js +0 -43
- package/dist/components/Message/index.js +0 -4
- package/dist/components/Message/styles.js +0 -45
- package/dist/components/Notification/Notification.js +0 -1463
- package/dist/components/Notification/NotificationBadge/NotificationBadge.js +0 -49
- package/dist/components/Notification/NotificationBadge/__tests__/NotificationBadge.test.js +0 -18
- package/dist/components/Notification/NotificationBadge/icons/ASN.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/Appointment.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/Inventory.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/Parcel.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/Product.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/Route.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/Shipment.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/ShoppingCart.js +0 -23
- package/dist/components/Notification/NotificationBadge/icons/System.js +0 -23
- package/dist/components/Notification/NotificationBadge/index.js +0 -4
- package/dist/components/Notification/NotificationBadge/styles.js +0 -34
- package/dist/components/Notification/NotificationRightChevron.js +0 -23
- package/dist/components/Notification/__tests__/Notification.test.js +0 -15
- package/dist/components/Notification/index.js +0 -4
- package/dist/components/Notification/styles.js +0 -65
- package/dist/components/Popover/Popover.js +0 -24
- package/dist/components/Popover/__tests__/Popover.test.js +0 -33
- package/dist/components/Popover/index.js +0 -4
- package/dist/components/Popover/styles.js +0 -6
- package/dist/components/Progress/Progress.js +0 -87
- package/dist/components/Progress/Progress.util.js +0 -64
- package/dist/components/Progress/ProgressText.js +0 -69
- package/dist/components/Progress/__tests__/Progress.test.js +0 -21
- package/dist/components/Progress/index.js +0 -4
- package/dist/components/Progress/styles.js +0 -796
- package/dist/components/Radio/Radio.js +0 -46
- package/dist/components/Radio/RadioGroup.js +0 -33
- package/dist/components/Radio/__tests__/RadioGroup.test.js +0 -31
- package/dist/components/Radio/index.js +0 -4
- package/dist/components/Radio/states/RadioChecked.js +0 -18
- package/dist/components/Radio/states/RadioCheckedDisabled.js +0 -18
- package/dist/components/Radio/states/RadioCheckedFocussed.js +0 -30
- package/dist/components/Radio/states/RadioCheckedHover.js +0 -18
- package/dist/components/Radio/states/RadioUnchecked.js +0 -15
- package/dist/components/Radio/states/RadioUncheckedDisabled.js +0 -15
- package/dist/components/Radio/states/RadioUncheckedFocussed.js +0 -29
- package/dist/components/Radio/states/RadioUncheckedHover.js +0 -18
- package/dist/components/Row/Row.js +0 -41
- package/dist/components/Row/RowActions/RowActions.js +0 -61
- package/dist/components/Row/RowLabelValue/RowLabelValue.js +0 -64
- package/dist/components/Row/RowLabelValue/RowSkeleton.js +0 -24
- package/dist/components/Row/RowLabelValue/styles.js +0 -25
- package/dist/components/Row/__tests__/Row.test.js +0 -16
- package/dist/components/Row/index.js +0 -4
- package/dist/components/Row/styles.js +0 -15
- package/dist/components/SegmentedControls/SegmentedControls.js +0 -26
- package/dist/components/SegmentedControls/__tests__/SegmentedControls.test.js +0 -24
- package/dist/components/SegmentedControls/index.js +0 -4
- package/dist/components/SegmentedControls/styles.js +0 -522
- package/dist/components/Select/DropdownChevron.js +0 -23
- package/dist/components/Select/Select.js +0 -36
- package/dist/components/Select/__tests__/Select.test.js +0 -55
- package/dist/components/Select/index.js +0 -4
- package/dist/components/Select/styles.js +0 -119
- package/dist/components/Shapes/Shapes.js +0 -8
- package/dist/components/Shapes/__tests__/Shapes.test.js +0 -16
- package/dist/components/Shapes/index.js +0 -4
- package/dist/components/Shapes/variants/Circle.js +0 -23
- package/dist/components/Shapes/variants/Rectangle.js +0 -23
- package/dist/components/Shapes/variants/Triangle.js +0 -23
- package/dist/components/Switch/Switch.js +0 -22
- package/dist/components/Switch/__tests__/Switch.test.js +0 -25
- package/dist/components/Switch/index.js +0 -4
- package/dist/components/Switch/styles.js +0 -456
- package/dist/components/Table/Table.js +0 -23
- package/dist/components/Table/__mocks__/table-mocks.js +0 -323
- package/dist/components/Table/__tests__/Table.test.js +0 -34
- package/dist/components/Table/index.js +0 -4
- package/dist/components/Table/styles.js +0 -6
- package/dist/components/Tabs/Tabs.js +0 -23
- package/dist/components/Tabs/__tests__/Tabs.test.js +0 -37
- package/dist/components/Tabs/index.js +0 -4
- package/dist/components/Tile/Tile.js +0 -21
- package/dist/components/Tile/__tests__/Tile.test.js +0 -21
- package/dist/components/Tile/index.js +0 -4
- package/dist/components/Tile/styles.js +0 -12
- package/dist/components/Toast/Toast.js +0 -38
- package/dist/components/Toast/__tests__/Toast.test.js +0 -19
- package/dist/components/Toast/index.js +0 -4
- package/dist/components/Toast/styles.js +0 -45
- package/dist/components/Tooltip/Tooltip.js +0 -52
- package/dist/components/Tooltip/__tests__/Tooltip.test.js +0 -25
- package/dist/components/Tooltip/index.js +0 -4
- package/dist/components/Tooltip/styles.js +0 -11
- package/dist/components/Typography/Typography.js +0 -8
- package/dist/components/Typography/__tests__/Typography.test.js +0 -24
- package/dist/components/Typography/index.js +0 -4
- package/dist/components/Typography/styles.js +0 -84
- package/dist/components/index.d.js +0 -1
- package/dist/components/index.js +0 -62
- package/dist/declaration.d.js +0 -1
- package/dist/genesis/GenesisThemeBreakdown.js +0 -146
- package/dist/genesis/GenesisThemeDemo.js +0 -7
- package/dist/index.js +0 -69
- package/dist/interface/address.js +0 -1
- package/dist/interface/appointment.js +0 -5
- package/dist/interface/appointmentV2.js +0 -1
- package/dist/interface/appointmentsState.js +0 -1
- package/dist/interface/common.js +0 -1
- package/dist/interface/completionData.js +0 -1
- package/dist/interface/deliveryPartner.js +0 -1
- package/dist/interface/organization.js +0 -1
- package/dist/interface/pagination.js +0 -1
- package/dist/interface/roles.js +0 -1
- package/dist/interface/route.js +0 -1
- package/dist/interface/routeAnalysis.js +0 -1
- package/dist/interface/routeAutomationJob.js +0 -10
- package/dist/interface/routeAutomationLog.js +0 -1
- package/dist/interface/routeEvent.js +0 -5
- package/dist/interface/serviceArea.js +0 -1
- package/dist/interface/util.js +0 -1
- package/dist/interface/vehicle.js +0 -1
- package/dist/interface/workOrder.js +0 -1
- package/dist/providers/BreakpointThemeProvider.d.ts +0 -8
- package/dist/providers/BreakpointThemeProvider.js +0 -21
- package/dist/providers/GenesisProvider.js +0 -11
- package/dist/providers/ToastProvider.js +0 -38
- package/dist/providers/index.js +0 -6
- package/dist/providers/useGenesis.js +0 -6
- package/dist/styled-components.browser.esm-C47QHsU4.js +0 -1211
- package/dist/styles/design-tokens/border-tokens/BorderTokenList.js +0 -61
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +0 -65
- package/dist/styles/design-tokens/variables.js +0 -699
- package/dist/styles/theme/genesis-theme.js +0 -1154
- package/dist/styles/theme/genesis-theme.test.js +0 -69
- package/dist/styles/theme/genesis-theme.types.js +0 -4
- package/dist/styles/theme/theme-tree/ThemeTree.js +0 -1653
- package/dist/test/setup.js +0 -91
- package/dist/test/setup.types.js +0 -1
- package/dist/utils/icon-util.js +0 -93
- package/dist/vite-env.d.js +0 -1
- /package/dist/components/{FormBrandon/__tests__/form.test.d.ts → Table/TableControls/__tests__/TableControls.test.d.ts} +0 -0
- /package/dist/components/{Breadcrumb/Breadcrumb.types.js → index.d.es.js} +0 -0
- /package/dist/constants/{index.js → index.es.js} +0 -0
|
@@ -1,796 +0,0 @@
|
|
|
1
|
-
import { d as me } from "../../styled-components.browser.esm-C47QHsU4.js";
|
|
2
|
-
import * as i from "react";
|
|
3
|
-
import { useRef as re, useEffect as ye } from "react";
|
|
4
|
-
import { a as ve, d as he, f as V, _ as oe, g as Ce, e as be, c as M, p as ee, F as $e } from "../../presets-CSXMiWyc.js";
|
|
5
|
-
import { R as Se } from "../../CheckCircleFilled-B-wrMduA.js";
|
|
6
|
-
import { R as ke } from "../../CheckOutlined-DTEHi_xG.js";
|
|
7
|
-
import { R as xe } from "../../CloseCircleFilled-WEQ0SaSW.js";
|
|
8
|
-
import { R as Ee } from "../../CloseOutlined-DzgBOns1.js";
|
|
9
|
-
import { o as Pe } from "../../omit-B_u6A-HL.js";
|
|
10
|
-
import { d as le } from "../../index-DCopujxC.js";
|
|
11
|
-
import { T as we } from "../../index-Y0KgiFZb.js";
|
|
12
|
-
import { g as Ne, m as Oe, j as Ie, f as _e, C as De } from "../../CSSMotionList-DB0khM6h.js";
|
|
13
|
-
import { K as je } from "../../Keyframes-CyO2Aeq-.js";
|
|
14
|
-
var We = {
|
|
15
|
-
percent: 0,
|
|
16
|
-
prefixCls: "rc-progress",
|
|
17
|
-
strokeColor: "#2db7f5",
|
|
18
|
-
strokeLinecap: "round",
|
|
19
|
-
strokeWidth: 1,
|
|
20
|
-
trailColor: "#D9D9D9",
|
|
21
|
-
trailWidth: 1,
|
|
22
|
-
gapPosition: "bottom"
|
|
23
|
-
}, Ae = function() {
|
|
24
|
-
var t = re([]), r = re(null);
|
|
25
|
-
return ye(function() {
|
|
26
|
-
var o = Date.now(), n = !1;
|
|
27
|
-
t.current.forEach(function(a) {
|
|
28
|
-
if (a) {
|
|
29
|
-
n = !0;
|
|
30
|
-
var s = a.style;
|
|
31
|
-
s.transitionDuration = ".3s, .3s, .3s, .06s", r.current && o - r.current < 100 && (s.transitionDuration = "0s, 0s");
|
|
32
|
-
}
|
|
33
|
-
}), n && (r.current = Date.now());
|
|
34
|
-
}), t.current;
|
|
35
|
-
};
|
|
36
|
-
process.env.NODE_ENV;
|
|
37
|
-
var ne = 0, Le = process.env.NODE_ENV !== "test" && he();
|
|
38
|
-
function Re() {
|
|
39
|
-
var e;
|
|
40
|
-
return Le ? (e = ne, ne += 1) : e = "TEST_OR_SSR", e;
|
|
41
|
-
}
|
|
42
|
-
const Te = function(e) {
|
|
43
|
-
var t = i.useState(), r = ve(t, 2), o = r[0], n = r[1];
|
|
44
|
-
return i.useEffect(function() {
|
|
45
|
-
n("rc_progress_".concat(Re()));
|
|
46
|
-
}, []), e || o;
|
|
47
|
-
};
|
|
48
|
-
var se = function(t) {
|
|
49
|
-
var r = t.bg, o = t.children;
|
|
50
|
-
return /* @__PURE__ */ i.createElement("div", {
|
|
51
|
-
style: {
|
|
52
|
-
width: "100%",
|
|
53
|
-
height: "100%",
|
|
54
|
-
background: r
|
|
55
|
-
}
|
|
56
|
-
}, o);
|
|
57
|
-
};
|
|
58
|
-
function ie(e, t) {
|
|
59
|
-
return Object.keys(e).map(function(r) {
|
|
60
|
-
var o = parseFloat(r), n = "".concat(Math.floor(o * t), "%");
|
|
61
|
-
return "".concat(e[r], " ").concat(n);
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
|
-
var de = /* @__PURE__ */ i.forwardRef(function(e, t) {
|
|
65
|
-
var r = e.prefixCls, o = e.color, n = e.gradientId, a = e.radius, s = e.style, l = e.ptg, c = e.strokeLinecap, f = e.strokeWidth, d = e.size, g = e.gapDegree, m = o && V(o) === "object", h = m ? "#FFF" : void 0, v = d / 2, C = /* @__PURE__ */ i.createElement("circle", {
|
|
66
|
-
className: "".concat(r, "-circle-path"),
|
|
67
|
-
r: a,
|
|
68
|
-
cx: v,
|
|
69
|
-
cy: v,
|
|
70
|
-
stroke: h,
|
|
71
|
-
strokeLinecap: c,
|
|
72
|
-
strokeWidth: f,
|
|
73
|
-
opacity: l === 0 ? 0 : 1,
|
|
74
|
-
style: s,
|
|
75
|
-
ref: t
|
|
76
|
-
});
|
|
77
|
-
if (!m)
|
|
78
|
-
return C;
|
|
79
|
-
var S = "".concat(n, "-conic"), p = g ? "".concat(180 + g / 2, "deg") : "0deg", y = ie(o, (360 - g) / 360), I = ie(o, 1), P = "conic-gradient(from ".concat(p, ", ").concat(y.join(", "), ")"), b = "linear-gradient(to ".concat(g ? "bottom" : "top", ", ").concat(I.join(", "), ")");
|
|
80
|
-
return /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement("mask", {
|
|
81
|
-
id: S
|
|
82
|
-
}, C), /* @__PURE__ */ i.createElement("foreignObject", {
|
|
83
|
-
x: 0,
|
|
84
|
-
y: 0,
|
|
85
|
-
width: d,
|
|
86
|
-
height: d,
|
|
87
|
-
mask: "url(#".concat(S, ")")
|
|
88
|
-
}, /* @__PURE__ */ i.createElement(se, {
|
|
89
|
-
bg: b
|
|
90
|
-
}, /* @__PURE__ */ i.createElement(se, {
|
|
91
|
-
bg: P
|
|
92
|
-
}))));
|
|
93
|
-
});
|
|
94
|
-
process.env.NODE_ENV !== "production" && (de.displayName = "PtgCircle");
|
|
95
|
-
var G = 100, J = function(t, r, o, n, a, s, l, c, f, d) {
|
|
96
|
-
var g = arguments.length > 10 && arguments[10] !== void 0 ? arguments[10] : 0, m = o / 100 * 360 * ((360 - s) / 360), h = s === 0 ? 0 : {
|
|
97
|
-
bottom: 0,
|
|
98
|
-
top: 180,
|
|
99
|
-
left: 90,
|
|
100
|
-
right: -90
|
|
101
|
-
}[l], v = (100 - n) / 100 * r;
|
|
102
|
-
f === "round" && n !== 100 && (v += d / 2, v >= r && (v = r - 0.01));
|
|
103
|
-
var C = G / 2;
|
|
104
|
-
return {
|
|
105
|
-
stroke: typeof c == "string" ? c : void 0,
|
|
106
|
-
strokeDasharray: "".concat(r, "px ").concat(t),
|
|
107
|
-
strokeDashoffset: v + g,
|
|
108
|
-
transform: "rotate(".concat(a + m + h, "deg)"),
|
|
109
|
-
transformOrigin: "".concat(C, "px ").concat(C, "px"),
|
|
110
|
-
transition: "stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",
|
|
111
|
-
fillOpacity: 0
|
|
112
|
-
};
|
|
113
|
-
}, Me = ["id", "prefixCls", "steps", "strokeWidth", "trailWidth", "gapDegree", "gapPosition", "trailColor", "strokeLinecap", "style", "className", "strokeColor", "percent"];
|
|
114
|
-
function ce(e) {
|
|
115
|
-
var t = e ?? [];
|
|
116
|
-
return Array.isArray(t) ? t : [t];
|
|
117
|
-
}
|
|
118
|
-
var ue = function(t) {
|
|
119
|
-
var r = oe(oe({}, We), t), o = r.id, n = r.prefixCls, a = r.steps, s = r.strokeWidth, l = r.trailWidth, c = r.gapDegree, f = c === void 0 ? 0 : c, d = r.gapPosition, g = r.trailColor, m = r.strokeLinecap, h = r.style, v = r.className, C = r.strokeColor, S = r.percent, p = Ce(r, Me), y = G / 2, I = Te(o), P = "".concat(I, "-gradient"), b = y - s / 2, $ = Math.PI * 2 * b, O = f > 0 ? 90 + f / 2 : -90, x = $ * ((360 - f) / 360), w = V(a) === "object" ? a : {
|
|
120
|
-
count: a,
|
|
121
|
-
gap: 2
|
|
122
|
-
}, u = w.count, B = w.gap, z = ce(S), j = ce(C), W = j.find(function(N) {
|
|
123
|
-
return N && V(N) === "object";
|
|
124
|
-
}), A = W && V(W) === "object", _ = A ? "butt" : m, F = J($, x, 0, 100, O, f, d, g, _, s), H = Ae(), k = function() {
|
|
125
|
-
var R = 0;
|
|
126
|
-
return z.map(function(L, T) {
|
|
127
|
-
var Y = j[T] || j[j.length - 1], X = J($, x, R, L, O, f, d, Y, _, s);
|
|
128
|
-
return R += L, /* @__PURE__ */ i.createElement(de, {
|
|
129
|
-
key: T,
|
|
130
|
-
color: Y,
|
|
131
|
-
ptg: L,
|
|
132
|
-
radius: b,
|
|
133
|
-
prefixCls: n,
|
|
134
|
-
gradientId: P,
|
|
135
|
-
style: X,
|
|
136
|
-
strokeLinecap: _,
|
|
137
|
-
strokeWidth: s,
|
|
138
|
-
gapDegree: f,
|
|
139
|
-
ref: function(Z) {
|
|
140
|
-
H[T] = Z;
|
|
141
|
-
},
|
|
142
|
-
size: G
|
|
143
|
-
});
|
|
144
|
-
}).reverse();
|
|
145
|
-
}, E = function() {
|
|
146
|
-
var R = Math.round(u * (z[0] / 100)), L = 100 / u, T = 0;
|
|
147
|
-
return new Array(u).fill(null).map(function(Y, X) {
|
|
148
|
-
var K = X <= R - 1 ? j[0] : g, Z = K && V(K) === "object" ? "url(#".concat(P, ")") : void 0, te = J($, x, T, L, O, f, d, K, "butt", s, B);
|
|
149
|
-
return T += (x - te.strokeDashoffset + B) * 100 / x, /* @__PURE__ */ i.createElement("circle", {
|
|
150
|
-
key: X,
|
|
151
|
-
className: "".concat(n, "-circle-path"),
|
|
152
|
-
r: b,
|
|
153
|
-
cx: y,
|
|
154
|
-
cy: y,
|
|
155
|
-
stroke: Z,
|
|
156
|
-
strokeWidth: s,
|
|
157
|
-
opacity: 1,
|
|
158
|
-
style: te,
|
|
159
|
-
ref: function(pe) {
|
|
160
|
-
H[X] = pe;
|
|
161
|
-
}
|
|
162
|
-
});
|
|
163
|
-
});
|
|
164
|
-
};
|
|
165
|
-
return /* @__PURE__ */ i.createElement("svg", be({
|
|
166
|
-
className: M("".concat(n, "-circle"), v),
|
|
167
|
-
viewBox: "0 0 ".concat(G, " ").concat(G),
|
|
168
|
-
style: h,
|
|
169
|
-
id: o,
|
|
170
|
-
role: "presentation"
|
|
171
|
-
}, p), !u && /* @__PURE__ */ i.createElement("circle", {
|
|
172
|
-
className: "".concat(n, "-circle-trail"),
|
|
173
|
-
r: b,
|
|
174
|
-
cx: y,
|
|
175
|
-
cy: y,
|
|
176
|
-
stroke: g,
|
|
177
|
-
strokeLinecap: _,
|
|
178
|
-
strokeWidth: l || s,
|
|
179
|
-
style: F
|
|
180
|
-
}), u ? E() : k());
|
|
181
|
-
};
|
|
182
|
-
process.env.NODE_ENV !== "production" && (ue.displayName = "Circle");
|
|
183
|
-
function D(e) {
|
|
184
|
-
return !e || e < 0 ? 0 : e > 100 ? 100 : e;
|
|
185
|
-
}
|
|
186
|
-
function U(e) {
|
|
187
|
-
let {
|
|
188
|
-
success: t,
|
|
189
|
-
successPercent: r
|
|
190
|
-
} = e, o = r;
|
|
191
|
-
return t && "progress" in t && (o = t.progress), t && "percent" in t && (o = t.percent), o;
|
|
192
|
-
}
|
|
193
|
-
const Be = (e) => {
|
|
194
|
-
let {
|
|
195
|
-
percent: t,
|
|
196
|
-
success: r,
|
|
197
|
-
successPercent: o
|
|
198
|
-
} = e;
|
|
199
|
-
const n = D(U({
|
|
200
|
-
success: r,
|
|
201
|
-
successPercent: o
|
|
202
|
-
}));
|
|
203
|
-
return [n, D(D(t) - n)];
|
|
204
|
-
}, Fe = (e) => {
|
|
205
|
-
let {
|
|
206
|
-
success: t = {},
|
|
207
|
-
strokeColor: r
|
|
208
|
-
} = e;
|
|
209
|
-
const {
|
|
210
|
-
strokeColor: o
|
|
211
|
-
} = t;
|
|
212
|
-
return [o || ee.green, r || null];
|
|
213
|
-
}, Q = (e, t, r) => {
|
|
214
|
-
var o, n, a, s;
|
|
215
|
-
let l = -1, c = -1;
|
|
216
|
-
if (t === "step") {
|
|
217
|
-
const f = r.steps, d = r.strokeWidth;
|
|
218
|
-
typeof e == "string" || typeof e > "u" ? (l = e === "small" ? 2 : 14, c = d ?? 8) : typeof e == "number" ? [l, c] = [e, e] : [l = 14, c = 8] = Array.isArray(e) ? e : [e.width, e.height], l *= f;
|
|
219
|
-
} else if (t === "line") {
|
|
220
|
-
const f = r == null ? void 0 : r.strokeWidth;
|
|
221
|
-
typeof e == "string" || typeof e > "u" ? c = f || (e === "small" ? 6 : 8) : typeof e == "number" ? [l, c] = [e, e] : [l = -1, c = 8] = Array.isArray(e) ? e : [e.width, e.height];
|
|
222
|
-
} else (t === "circle" || t === "dashboard") && (typeof e == "string" || typeof e > "u" ? [l, c] = e === "small" ? [60, 60] : [120, 120] : typeof e == "number" ? [l, c] = [e, e] : Array.isArray(e) && (l = (n = (o = e[0]) !== null && o !== void 0 ? o : e[1]) !== null && n !== void 0 ? n : 120, c = (s = (a = e[0]) !== null && a !== void 0 ? a : e[1]) !== null && s !== void 0 ? s : 120));
|
|
223
|
-
return [l, c];
|
|
224
|
-
}, Xe = 3, Ve = (e) => Xe / e * 100, Ge = (e) => {
|
|
225
|
-
const {
|
|
226
|
-
prefixCls: t,
|
|
227
|
-
trailColor: r = null,
|
|
228
|
-
strokeLinecap: o = "round",
|
|
229
|
-
gapPosition: n,
|
|
230
|
-
gapDegree: a,
|
|
231
|
-
width: s = 120,
|
|
232
|
-
type: l,
|
|
233
|
-
children: c,
|
|
234
|
-
success: f,
|
|
235
|
-
size: d = s,
|
|
236
|
-
steps: g
|
|
237
|
-
} = e, [m, h] = Q(d, "circle");
|
|
238
|
-
let {
|
|
239
|
-
strokeWidth: v
|
|
240
|
-
} = e;
|
|
241
|
-
v === void 0 && (v = Math.max(Ve(m), 6));
|
|
242
|
-
const C = {
|
|
243
|
-
width: m,
|
|
244
|
-
height: h,
|
|
245
|
-
fontSize: m * 0.15 + 6
|
|
246
|
-
}, S = i.useMemo(() => {
|
|
247
|
-
if (a || a === 0)
|
|
248
|
-
return a;
|
|
249
|
-
if (l === "dashboard")
|
|
250
|
-
return 75;
|
|
251
|
-
}, [a, l]), p = Be(e), y = n || l === "dashboard" && "bottom" || void 0, I = Object.prototype.toString.call(e.strokeColor) === "[object Object]", P = Fe({
|
|
252
|
-
success: f,
|
|
253
|
-
strokeColor: e.strokeColor
|
|
254
|
-
}), b = M(`${t}-inner`, {
|
|
255
|
-
[`${t}-circle-gradient`]: I
|
|
256
|
-
}), $ = /* @__PURE__ */ i.createElement(ue, {
|
|
257
|
-
steps: g,
|
|
258
|
-
percent: g ? p[1] : p,
|
|
259
|
-
strokeWidth: v,
|
|
260
|
-
trailWidth: v,
|
|
261
|
-
strokeColor: g ? P[1] : P,
|
|
262
|
-
strokeLinecap: o,
|
|
263
|
-
trailColor: r,
|
|
264
|
-
prefixCls: t,
|
|
265
|
-
gapDegree: S,
|
|
266
|
-
gapPosition: y
|
|
267
|
-
}), O = m <= 20, x = /* @__PURE__ */ i.createElement("div", {
|
|
268
|
-
className: b,
|
|
269
|
-
style: C
|
|
270
|
-
}, $, !O && c);
|
|
271
|
-
return O ? /* @__PURE__ */ i.createElement(we, {
|
|
272
|
-
title: c
|
|
273
|
-
}, x) : x;
|
|
274
|
-
}, q = "--progress-line-stroke-color", fe = "--progress-percent", ae = (e) => {
|
|
275
|
-
const t = e ? "100%" : "-100%";
|
|
276
|
-
return new je(`antProgress${e ? "RTL" : "LTR"}Active`, {
|
|
277
|
-
"0%": {
|
|
278
|
-
transform: `translateX(${t}) scaleX(0)`,
|
|
279
|
-
opacity: 0.1
|
|
280
|
-
},
|
|
281
|
-
"20%": {
|
|
282
|
-
transform: `translateX(${t}) scaleX(0)`,
|
|
283
|
-
opacity: 0.5
|
|
284
|
-
},
|
|
285
|
-
to: {
|
|
286
|
-
transform: "translateX(0) scaleX(1)",
|
|
287
|
-
opacity: 0
|
|
288
|
-
}
|
|
289
|
-
});
|
|
290
|
-
}, ze = (e) => {
|
|
291
|
-
const {
|
|
292
|
-
componentCls: t,
|
|
293
|
-
iconCls: r
|
|
294
|
-
} = e;
|
|
295
|
-
return {
|
|
296
|
-
[t]: Object.assign(Object.assign({}, Ie(e)), {
|
|
297
|
-
display: "inline-block",
|
|
298
|
-
"&-rtl": {
|
|
299
|
-
direction: "rtl"
|
|
300
|
-
},
|
|
301
|
-
"&-line": {
|
|
302
|
-
position: "relative",
|
|
303
|
-
width: "100%",
|
|
304
|
-
fontSize: e.fontSize
|
|
305
|
-
},
|
|
306
|
-
[`${t}-outer`]: {
|
|
307
|
-
display: "inline-flex",
|
|
308
|
-
alignItems: "center",
|
|
309
|
-
width: "100%"
|
|
310
|
-
},
|
|
311
|
-
[`${t}-inner`]: {
|
|
312
|
-
position: "relative",
|
|
313
|
-
display: "inline-block",
|
|
314
|
-
width: "100%",
|
|
315
|
-
flex: 1,
|
|
316
|
-
overflow: "hidden",
|
|
317
|
-
verticalAlign: "middle",
|
|
318
|
-
backgroundColor: e.remainingColor,
|
|
319
|
-
borderRadius: e.lineBorderRadius
|
|
320
|
-
},
|
|
321
|
-
[`${t}-inner:not(${t}-circle-gradient)`]: {
|
|
322
|
-
[`${t}-circle-path`]: {
|
|
323
|
-
stroke: e.defaultColor
|
|
324
|
-
}
|
|
325
|
-
},
|
|
326
|
-
[`${t}-success-bg, ${t}-bg`]: {
|
|
327
|
-
position: "relative",
|
|
328
|
-
background: e.defaultColor,
|
|
329
|
-
borderRadius: e.lineBorderRadius,
|
|
330
|
-
transition: `all ${e.motionDurationSlow} ${e.motionEaseInOutCirc}`
|
|
331
|
-
},
|
|
332
|
-
[`${t}-layout-bottom`]: {
|
|
333
|
-
display: "flex",
|
|
334
|
-
flexDirection: "column",
|
|
335
|
-
alignItems: "center",
|
|
336
|
-
justifyContent: "center",
|
|
337
|
-
[`${t}-text`]: {
|
|
338
|
-
width: "max-content",
|
|
339
|
-
marginInlineStart: 0,
|
|
340
|
-
marginTop: e.marginXXS
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
[`${t}-bg`]: {
|
|
344
|
-
overflow: "hidden",
|
|
345
|
-
"&::after": {
|
|
346
|
-
content: '""',
|
|
347
|
-
background: {
|
|
348
|
-
_multi_value_: !0,
|
|
349
|
-
value: ["inherit", `var(${q})`]
|
|
350
|
-
},
|
|
351
|
-
height: "100%",
|
|
352
|
-
width: `calc(1 / var(${fe}) * 100%)`,
|
|
353
|
-
display: "block"
|
|
354
|
-
},
|
|
355
|
-
[`&${t}-bg-inner`]: {
|
|
356
|
-
minWidth: "max-content",
|
|
357
|
-
"&::after": {
|
|
358
|
-
content: "none"
|
|
359
|
-
},
|
|
360
|
-
[`${t}-text-inner`]: {
|
|
361
|
-
color: e.colorWhite,
|
|
362
|
-
[`&${t}-text-bright`]: {
|
|
363
|
-
color: "rgba(0, 0, 0, 0.45)"
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
},
|
|
368
|
-
[`${t}-success-bg`]: {
|
|
369
|
-
position: "absolute",
|
|
370
|
-
insetBlockStart: 0,
|
|
371
|
-
insetInlineStart: 0,
|
|
372
|
-
backgroundColor: e.colorSuccess
|
|
373
|
-
},
|
|
374
|
-
[`${t}-text`]: {
|
|
375
|
-
display: "inline-block",
|
|
376
|
-
marginInlineStart: e.marginXS,
|
|
377
|
-
color: e.colorText,
|
|
378
|
-
lineHeight: 1,
|
|
379
|
-
width: "2em",
|
|
380
|
-
whiteSpace: "nowrap",
|
|
381
|
-
textAlign: "start",
|
|
382
|
-
verticalAlign: "middle",
|
|
383
|
-
wordBreak: "normal",
|
|
384
|
-
[r]: {
|
|
385
|
-
fontSize: e.fontSize
|
|
386
|
-
},
|
|
387
|
-
[`&${t}-text-outer`]: {
|
|
388
|
-
width: "max-content"
|
|
389
|
-
},
|
|
390
|
-
[`&${t}-text-outer${t}-text-start`]: {
|
|
391
|
-
width: "max-content",
|
|
392
|
-
marginInlineStart: 0,
|
|
393
|
-
marginInlineEnd: e.marginXS
|
|
394
|
-
}
|
|
395
|
-
},
|
|
396
|
-
[`${t}-text-inner`]: {
|
|
397
|
-
display: "flex",
|
|
398
|
-
justifyContent: "center",
|
|
399
|
-
alignItems: "center",
|
|
400
|
-
width: "100%",
|
|
401
|
-
height: "100%",
|
|
402
|
-
marginInlineStart: 0,
|
|
403
|
-
padding: `0 ${_e(e.paddingXXS)}`,
|
|
404
|
-
[`&${t}-text-start`]: {
|
|
405
|
-
justifyContent: "start"
|
|
406
|
-
},
|
|
407
|
-
[`&${t}-text-end`]: {
|
|
408
|
-
justifyContent: "end"
|
|
409
|
-
}
|
|
410
|
-
},
|
|
411
|
-
[`&${t}-status-active`]: {
|
|
412
|
-
[`${t}-bg::before`]: {
|
|
413
|
-
position: "absolute",
|
|
414
|
-
inset: 0,
|
|
415
|
-
backgroundColor: e.colorBgContainer,
|
|
416
|
-
borderRadius: e.lineBorderRadius,
|
|
417
|
-
opacity: 0,
|
|
418
|
-
animationName: ae(),
|
|
419
|
-
animationDuration: e.progressActiveMotionDuration,
|
|
420
|
-
animationTimingFunction: e.motionEaseOutQuint,
|
|
421
|
-
animationIterationCount: "infinite",
|
|
422
|
-
content: '""'
|
|
423
|
-
}
|
|
424
|
-
},
|
|
425
|
-
[`&${t}-rtl${t}-status-active`]: {
|
|
426
|
-
[`${t}-bg::before`]: {
|
|
427
|
-
animationName: ae(!0)
|
|
428
|
-
}
|
|
429
|
-
},
|
|
430
|
-
[`&${t}-status-exception`]: {
|
|
431
|
-
[`${t}-bg`]: {
|
|
432
|
-
backgroundColor: e.colorError
|
|
433
|
-
},
|
|
434
|
-
[`${t}-text`]: {
|
|
435
|
-
color: e.colorError
|
|
436
|
-
}
|
|
437
|
-
},
|
|
438
|
-
[`&${t}-status-exception ${t}-inner:not(${t}-circle-gradient)`]: {
|
|
439
|
-
[`${t}-circle-path`]: {
|
|
440
|
-
stroke: e.colorError
|
|
441
|
-
}
|
|
442
|
-
},
|
|
443
|
-
[`&${t}-status-success`]: {
|
|
444
|
-
[`${t}-bg`]: {
|
|
445
|
-
backgroundColor: e.colorSuccess
|
|
446
|
-
},
|
|
447
|
-
[`${t}-text`]: {
|
|
448
|
-
color: e.colorSuccess
|
|
449
|
-
}
|
|
450
|
-
},
|
|
451
|
-
[`&${t}-status-success ${t}-inner:not(${t}-circle-gradient)`]: {
|
|
452
|
-
[`${t}-circle-path`]: {
|
|
453
|
-
stroke: e.colorSuccess
|
|
454
|
-
}
|
|
455
|
-
}
|
|
456
|
-
})
|
|
457
|
-
};
|
|
458
|
-
}, He = (e) => {
|
|
459
|
-
const {
|
|
460
|
-
componentCls: t,
|
|
461
|
-
iconCls: r
|
|
462
|
-
} = e;
|
|
463
|
-
return {
|
|
464
|
-
[t]: {
|
|
465
|
-
[`${t}-circle-trail`]: {
|
|
466
|
-
stroke: e.remainingColor
|
|
467
|
-
},
|
|
468
|
-
[`&${t}-circle ${t}-inner`]: {
|
|
469
|
-
position: "relative",
|
|
470
|
-
lineHeight: 1,
|
|
471
|
-
backgroundColor: "transparent"
|
|
472
|
-
},
|
|
473
|
-
[`&${t}-circle ${t}-text`]: {
|
|
474
|
-
position: "absolute",
|
|
475
|
-
insetBlockStart: "50%",
|
|
476
|
-
insetInlineStart: 0,
|
|
477
|
-
width: "100%",
|
|
478
|
-
margin: 0,
|
|
479
|
-
padding: 0,
|
|
480
|
-
color: e.circleTextColor,
|
|
481
|
-
fontSize: e.circleTextFontSize,
|
|
482
|
-
lineHeight: 1,
|
|
483
|
-
whiteSpace: "normal",
|
|
484
|
-
textAlign: "center",
|
|
485
|
-
transform: "translateY(-50%)",
|
|
486
|
-
[r]: {
|
|
487
|
-
fontSize: e.circleIconFontSize
|
|
488
|
-
}
|
|
489
|
-
},
|
|
490
|
-
[`${t}-circle&-status-exception`]: {
|
|
491
|
-
[`${t}-text`]: {
|
|
492
|
-
color: e.colorError
|
|
493
|
-
}
|
|
494
|
-
},
|
|
495
|
-
[`${t}-circle&-status-success`]: {
|
|
496
|
-
[`${t}-text`]: {
|
|
497
|
-
color: e.colorSuccess
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
},
|
|
501
|
-
[`${t}-inline-circle`]: {
|
|
502
|
-
lineHeight: 1,
|
|
503
|
-
[`${t}-inner`]: {
|
|
504
|
-
verticalAlign: "bottom"
|
|
505
|
-
}
|
|
506
|
-
}
|
|
507
|
-
};
|
|
508
|
-
}, Ke = (e) => {
|
|
509
|
-
const {
|
|
510
|
-
componentCls: t
|
|
511
|
-
} = e;
|
|
512
|
-
return {
|
|
513
|
-
[t]: {
|
|
514
|
-
[`${t}-steps`]: {
|
|
515
|
-
display: "inline-block",
|
|
516
|
-
"&-outer": {
|
|
517
|
-
display: "flex",
|
|
518
|
-
flexDirection: "row",
|
|
519
|
-
alignItems: "center"
|
|
520
|
-
},
|
|
521
|
-
"&-item": {
|
|
522
|
-
flexShrink: 0,
|
|
523
|
-
minWidth: e.progressStepMinWidth,
|
|
524
|
-
marginInlineEnd: e.progressStepMarginInlineEnd,
|
|
525
|
-
backgroundColor: e.remainingColor,
|
|
526
|
-
transition: `all ${e.motionDurationSlow}`,
|
|
527
|
-
"&-active": {
|
|
528
|
-
backgroundColor: e.defaultColor
|
|
529
|
-
}
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
}
|
|
533
|
-
};
|
|
534
|
-
}, Ue = (e) => {
|
|
535
|
-
const {
|
|
536
|
-
componentCls: t,
|
|
537
|
-
iconCls: r
|
|
538
|
-
} = e;
|
|
539
|
-
return {
|
|
540
|
-
[t]: {
|
|
541
|
-
[`${t}-small&-line, ${t}-small&-line ${t}-text ${r}`]: {
|
|
542
|
-
fontSize: e.fontSizeSM
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
|
-
};
|
|
546
|
-
}, qe = (e) => ({
|
|
547
|
-
circleTextColor: e.colorText,
|
|
548
|
-
defaultColor: e.colorInfo,
|
|
549
|
-
remainingColor: e.colorFillSecondary,
|
|
550
|
-
lineBorderRadius: 100,
|
|
551
|
-
// magic for capsule shape, should be a very large number
|
|
552
|
-
circleTextFontSize: "1em",
|
|
553
|
-
circleIconFontSize: `${e.fontSize / e.fontSizeSM}em`
|
|
554
|
-
}), Qe = Ne("Progress", (e) => {
|
|
555
|
-
const t = e.calc(e.marginXXS).div(2).equal(), r = Oe(e, {
|
|
556
|
-
progressStepMarginInlineEnd: t,
|
|
557
|
-
progressStepMinWidth: t,
|
|
558
|
-
progressActiveMotionDuration: "2.4s"
|
|
559
|
-
});
|
|
560
|
-
return [ze(r), He(r), Ke(r), Ue(r)];
|
|
561
|
-
}, qe);
|
|
562
|
-
var Ye = function(e, t) {
|
|
563
|
-
var r = {};
|
|
564
|
-
for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && t.indexOf(o) < 0 && (r[o] = e[o]);
|
|
565
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var n = 0, o = Object.getOwnPropertySymbols(e); n < o.length; n++)
|
|
566
|
-
t.indexOf(o[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[n]) && (r[o[n]] = e[o[n]]);
|
|
567
|
-
return r;
|
|
568
|
-
};
|
|
569
|
-
const Ze = (e) => {
|
|
570
|
-
let t = [];
|
|
571
|
-
return Object.keys(e).forEach((r) => {
|
|
572
|
-
const o = parseFloat(r.replace(/%/g, ""));
|
|
573
|
-
Number.isNaN(o) || t.push({
|
|
574
|
-
key: o,
|
|
575
|
-
value: e[r]
|
|
576
|
-
});
|
|
577
|
-
}), t = t.sort((r, o) => r.key - o.key), t.map((r) => {
|
|
578
|
-
let {
|
|
579
|
-
key: o,
|
|
580
|
-
value: n
|
|
581
|
-
} = r;
|
|
582
|
-
return `${n} ${o}%`;
|
|
583
|
-
}).join(", ");
|
|
584
|
-
}, Je = (e, t) => {
|
|
585
|
-
const {
|
|
586
|
-
from: r = ee.blue,
|
|
587
|
-
to: o = ee.blue,
|
|
588
|
-
direction: n = t === "rtl" ? "to left" : "to right"
|
|
589
|
-
} = e, a = Ye(e, ["from", "to", "direction"]);
|
|
590
|
-
if (Object.keys(a).length !== 0) {
|
|
591
|
-
const l = Ze(a), c = `linear-gradient(${n}, ${l})`;
|
|
592
|
-
return {
|
|
593
|
-
background: c,
|
|
594
|
-
[q]: c
|
|
595
|
-
};
|
|
596
|
-
}
|
|
597
|
-
const s = `linear-gradient(${n}, ${r}, ${o})`;
|
|
598
|
-
return {
|
|
599
|
-
background: s,
|
|
600
|
-
[q]: s
|
|
601
|
-
};
|
|
602
|
-
}, et = (e) => {
|
|
603
|
-
const {
|
|
604
|
-
prefixCls: t,
|
|
605
|
-
direction: r,
|
|
606
|
-
percent: o,
|
|
607
|
-
size: n,
|
|
608
|
-
strokeWidth: a,
|
|
609
|
-
strokeColor: s,
|
|
610
|
-
strokeLinecap: l = "round",
|
|
611
|
-
children: c,
|
|
612
|
-
trailColor: f = null,
|
|
613
|
-
percentPosition: d,
|
|
614
|
-
success: g
|
|
615
|
-
} = e, {
|
|
616
|
-
align: m,
|
|
617
|
-
type: h
|
|
618
|
-
} = d, v = s && typeof s != "string" ? Je(s, r) : {
|
|
619
|
-
[q]: s,
|
|
620
|
-
background: s
|
|
621
|
-
}, C = l === "square" || l === "butt" ? 0 : void 0, S = n ?? [-1, a || (n === "small" ? 6 : 8)], [p, y] = Q(S, "line", {
|
|
622
|
-
strokeWidth: a
|
|
623
|
-
});
|
|
624
|
-
process.env.NODE_ENV !== "production" && le("Progress").deprecated(!("strokeWidth" in e), "strokeWidth", "size");
|
|
625
|
-
const I = {
|
|
626
|
-
backgroundColor: f || void 0,
|
|
627
|
-
borderRadius: C
|
|
628
|
-
}, P = Object.assign(Object.assign({
|
|
629
|
-
width: `${D(o)}%`,
|
|
630
|
-
height: y,
|
|
631
|
-
borderRadius: C
|
|
632
|
-
}, v), {
|
|
633
|
-
[fe]: D(o) / 100
|
|
634
|
-
}), b = U(e), $ = {
|
|
635
|
-
width: `${D(b)}%`,
|
|
636
|
-
height: y,
|
|
637
|
-
borderRadius: C,
|
|
638
|
-
backgroundColor: g == null ? void 0 : g.strokeColor
|
|
639
|
-
}, O = {
|
|
640
|
-
width: p < 0 ? "100%" : p
|
|
641
|
-
}, x = /* @__PURE__ */ i.createElement("div", {
|
|
642
|
-
className: `${t}-inner`,
|
|
643
|
-
style: I
|
|
644
|
-
}, /* @__PURE__ */ i.createElement("div", {
|
|
645
|
-
className: M(`${t}-bg`, `${t}-bg-${h}`),
|
|
646
|
-
style: P
|
|
647
|
-
}, h === "inner" && c), b !== void 0 && /* @__PURE__ */ i.createElement("div", {
|
|
648
|
-
className: `${t}-success-bg`,
|
|
649
|
-
style: $
|
|
650
|
-
})), w = h === "outer" && m === "start", u = h === "outer" && m === "end";
|
|
651
|
-
return h === "outer" && m === "center" ? /* @__PURE__ */ i.createElement("div", {
|
|
652
|
-
className: `${t}-layout-bottom`
|
|
653
|
-
}, x, c) : /* @__PURE__ */ i.createElement("div", {
|
|
654
|
-
className: `${t}-outer`,
|
|
655
|
-
style: O
|
|
656
|
-
}, w && c, x, u && c);
|
|
657
|
-
}, tt = (e) => {
|
|
658
|
-
const {
|
|
659
|
-
size: t,
|
|
660
|
-
steps: r,
|
|
661
|
-
rounding: o = Math.round,
|
|
662
|
-
percent: n = 0,
|
|
663
|
-
strokeWidth: a = 8,
|
|
664
|
-
strokeColor: s,
|
|
665
|
-
trailColor: l = null,
|
|
666
|
-
prefixCls: c,
|
|
667
|
-
children: f
|
|
668
|
-
} = e, d = o(r * (n / 100)), m = t ?? [t === "small" ? 2 : 14, a], [h, v] = Q(m, "step", {
|
|
669
|
-
steps: r,
|
|
670
|
-
strokeWidth: a
|
|
671
|
-
}), C = h / r, S = Array.from({
|
|
672
|
-
length: r
|
|
673
|
-
});
|
|
674
|
-
for (let p = 0; p < r; p++) {
|
|
675
|
-
const y = Array.isArray(s) ? s[p] : s;
|
|
676
|
-
S[p] = /* @__PURE__ */ i.createElement("div", {
|
|
677
|
-
key: p,
|
|
678
|
-
className: M(`${c}-steps-item`, {
|
|
679
|
-
[`${c}-steps-item-active`]: p <= d - 1
|
|
680
|
-
}),
|
|
681
|
-
style: {
|
|
682
|
-
backgroundColor: p <= d - 1 ? y : l,
|
|
683
|
-
width: C,
|
|
684
|
-
height: v
|
|
685
|
-
}
|
|
686
|
-
});
|
|
687
|
-
}
|
|
688
|
-
return /* @__PURE__ */ i.createElement("div", {
|
|
689
|
-
className: `${c}-steps-outer`
|
|
690
|
-
}, S, f);
|
|
691
|
-
};
|
|
692
|
-
var rt = function(e, t) {
|
|
693
|
-
var r = {};
|
|
694
|
-
for (var o in e) Object.prototype.hasOwnProperty.call(e, o) && t.indexOf(o) < 0 && (r[o] = e[o]);
|
|
695
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var n = 0, o = Object.getOwnPropertySymbols(e); n < o.length; n++)
|
|
696
|
-
t.indexOf(o[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, o[n]) && (r[o[n]] = e[o[n]]);
|
|
697
|
-
return r;
|
|
698
|
-
};
|
|
699
|
-
const ot = ["normal", "exception", "active", "success"], ge = /* @__PURE__ */ i.forwardRef((e, t) => {
|
|
700
|
-
const {
|
|
701
|
-
prefixCls: r,
|
|
702
|
-
className: o,
|
|
703
|
-
rootClassName: n,
|
|
704
|
-
steps: a,
|
|
705
|
-
strokeColor: s,
|
|
706
|
-
percent: l = 0,
|
|
707
|
-
size: c = "default",
|
|
708
|
-
showInfo: f = !0,
|
|
709
|
-
type: d = "line",
|
|
710
|
-
status: g,
|
|
711
|
-
format: m,
|
|
712
|
-
style: h,
|
|
713
|
-
percentPosition: v = {}
|
|
714
|
-
} = e, C = rt(e, ["prefixCls", "className", "rootClassName", "steps", "strokeColor", "percent", "size", "showInfo", "type", "status", "format", "style", "percentPosition"]), {
|
|
715
|
-
align: S = "end",
|
|
716
|
-
type: p = "outer"
|
|
717
|
-
} = v, y = Array.isArray(s) ? s[0] : s, I = typeof s == "string" || Array.isArray(s) ? s : void 0, P = i.useMemo(() => {
|
|
718
|
-
if (y) {
|
|
719
|
-
const k = typeof y == "string" ? y : Object.values(y)[0];
|
|
720
|
-
return new $e(k).isLight();
|
|
721
|
-
}
|
|
722
|
-
return !1;
|
|
723
|
-
}, [s]), b = i.useMemo(() => {
|
|
724
|
-
var k, E;
|
|
725
|
-
const N = U(e);
|
|
726
|
-
return parseInt(N !== void 0 ? (k = N ?? 0) === null || k === void 0 ? void 0 : k.toString() : (E = l ?? 0) === null || E === void 0 ? void 0 : E.toString(), 10);
|
|
727
|
-
}, [l, e.success, e.successPercent]), $ = i.useMemo(() => !ot.includes(g) && b >= 100 ? "success" : g || "normal", [g, b]), {
|
|
728
|
-
getPrefixCls: O,
|
|
729
|
-
direction: x,
|
|
730
|
-
progress: w
|
|
731
|
-
} = i.useContext(De), u = O("progress", r), [B, z, j] = Qe(u), W = d === "line", A = W && !a, _ = i.useMemo(() => {
|
|
732
|
-
if (!f)
|
|
733
|
-
return null;
|
|
734
|
-
const k = U(e);
|
|
735
|
-
let E;
|
|
736
|
-
const N = m || ((L) => `${L}%`), R = W && P && p === "inner";
|
|
737
|
-
return p === "inner" || m || $ !== "exception" && $ !== "success" ? E = N(D(l), D(k)) : $ === "exception" ? E = W ? /* @__PURE__ */ i.createElement(xe, null) : /* @__PURE__ */ i.createElement(Ee, null) : $ === "success" && (E = W ? /* @__PURE__ */ i.createElement(Se, null) : /* @__PURE__ */ i.createElement(ke, null)), /* @__PURE__ */ i.createElement("span", {
|
|
738
|
-
className: M(`${u}-text`, {
|
|
739
|
-
[`${u}-text-bright`]: R,
|
|
740
|
-
[`${u}-text-${S}`]: A,
|
|
741
|
-
[`${u}-text-${p}`]: A
|
|
742
|
-
}),
|
|
743
|
-
title: typeof E == "string" ? E : void 0
|
|
744
|
-
}, E);
|
|
745
|
-
}, [f, l, b, $, d, u, m]);
|
|
746
|
-
if (process.env.NODE_ENV !== "production") {
|
|
747
|
-
const k = le("Progress");
|
|
748
|
-
k.deprecated(!("successPercent" in e), "successPercent", "success.percent"), k.deprecated(!("width" in e), "width", "size"), (d === "circle" || d === "dashboard") && (Array.isArray(c) ? process.env.NODE_ENV !== "production" && k(!1, "usage", 'Type "circle" and "dashboard" do not accept array as `size`, please use number or preset size instead.') : typeof c == "object" && process.env.NODE_ENV !== "production" && k(!1, "usage", 'Type "circle" and "dashboard" do not accept object as `size`, please use number or preset size instead.')), e.success && "progress" in e.success && k.deprecated(!1, "success.progress", "success.percent");
|
|
749
|
-
}
|
|
750
|
-
let F;
|
|
751
|
-
d === "line" ? F = a ? /* @__PURE__ */ i.createElement(tt, Object.assign({}, e, {
|
|
752
|
-
strokeColor: I,
|
|
753
|
-
prefixCls: u,
|
|
754
|
-
steps: typeof a == "object" ? a.count : a
|
|
755
|
-
}), _) : /* @__PURE__ */ i.createElement(et, Object.assign({}, e, {
|
|
756
|
-
strokeColor: y,
|
|
757
|
-
prefixCls: u,
|
|
758
|
-
direction: x,
|
|
759
|
-
percentPosition: {
|
|
760
|
-
align: S,
|
|
761
|
-
type: p
|
|
762
|
-
}
|
|
763
|
-
}), _) : (d === "circle" || d === "dashboard") && (F = /* @__PURE__ */ i.createElement(Ge, Object.assign({}, e, {
|
|
764
|
-
strokeColor: y,
|
|
765
|
-
prefixCls: u,
|
|
766
|
-
progressStatus: $
|
|
767
|
-
}), _));
|
|
768
|
-
const H = M(u, `${u}-status-${$}`, {
|
|
769
|
-
[`${u}-${d === "dashboard" && "circle" || d}`]: d !== "line",
|
|
770
|
-
[`${u}-inline-circle`]: d === "circle" && Q(c, "circle")[0] <= 20,
|
|
771
|
-
[`${u}-line`]: A,
|
|
772
|
-
[`${u}-line-align-${S}`]: A,
|
|
773
|
-
[`${u}-line-position-${p}`]: A,
|
|
774
|
-
[`${u}-steps`]: a,
|
|
775
|
-
[`${u}-show-info`]: f,
|
|
776
|
-
[`${u}-${c}`]: typeof c == "string",
|
|
777
|
-
[`${u}-rtl`]: x === "rtl"
|
|
778
|
-
}, w == null ? void 0 : w.className, o, n, z, j);
|
|
779
|
-
return B(/* @__PURE__ */ i.createElement("div", Object.assign({
|
|
780
|
-
ref: t,
|
|
781
|
-
style: Object.assign(Object.assign({}, w == null ? void 0 : w.style), h),
|
|
782
|
-
className: H,
|
|
783
|
-
role: "progressbar",
|
|
784
|
-
"aria-valuenow": b,
|
|
785
|
-
"aria-valuemin": 0,
|
|
786
|
-
"aria-valuemax": 100
|
|
787
|
-
}, Pe(C, ["trailColor", "strokeWidth", "width", "gapDegree", "gapPosition", "strokeLinecap", "success", "successPercent"])), F));
|
|
788
|
-
});
|
|
789
|
-
process.env.NODE_ENV !== "production" && (ge.displayName = "Progress");
|
|
790
|
-
const nt = ({ colors: e }, t = "info") => "", ht = me(ge)`
|
|
791
|
-
${({ theme: e, state: t }) => nt(e, t)}
|
|
792
|
-
`;
|
|
793
|
-
export {
|
|
794
|
-
ht as Progress,
|
|
795
|
-
nt as getGenesisClass
|
|
796
|
-
};
|