@gobolt/genesis 0.1.5 → 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 +6 -8
- 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-B2J8CPnt.js → Typography-BKm8uXM1.js} +52 -50
- 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/Button.d.ts +4 -3
- package/dist/components/Button/IconButton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Button/IconButton.d.ts +8 -0
- package/dist/components/Button/UtilityButton.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Button/UtilityButton.d.ts +5 -0
- package/dist/components/Button/__stories__/Button.stories.d.ts +0 -4
- package/dist/components/Button/__stories__/IconButton.stories.d.ts +8 -0
- package/dist/components/Button/__stories__/UtilityButton.stories.d.ts +8 -0
- package/dist/components/Button/__tests__/Button.test.[format === /"es/" ? /"js/" : /"cjs/"]" +1 -0
- package/dist/components/Button/icon-button-styles.[format === /"es/" ? /"js/" : /"cjs/"]" +61 -0
- package/dist/components/Button/icon-button-styles.d.ts +1 -0
- package/dist/components/Button/index.cjs.js +1 -0
- package/dist/components/Button/index.d.ts +4 -0
- package/dist/components/Button/index.es.js +8 -0
- package/dist/components/Button/styles.[format === /"es/" ? /"js/" : /"cjs/"]" +66 -0
- package/dist/components/Button/styles.d.ts +1 -15
- 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/__stories__/Switch.stories.d.ts +2 -1
- 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.d.ts +4 -0
- package/dist/components/index.es.js +62 -0
- package/dist/constants/index.cjs.js +1 -0
- package/dist/constants/index.d.ts +2 -0
- package/dist/constants/{index.js → index.es.js} +14 -13
- 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-aZdxWCJq.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/design-tokens/variables.d.ts +2 -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.d.ts +2 -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/genesis-theme.types.d.ts +7 -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 -62
- 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 -71
- 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 -26
- package/dist/components/Button/__tests__/Button.test.js +0 -17
- package/dist/components/Button/index.js +0 -4
- package/dist/components/Button/styles.js +0 -74
- 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 -52
- 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 -947
- package/dist/components/Dashboard/__stories__/DashboardLayoutHeader.js +0 -86
- 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 -73
- 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 -56
- 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 -171
- 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 -172
- 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 -82
- 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 -106
- 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 -1462
- 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 -93
- package/dist/components/Progress/Progress.util.js +0 -63
- package/dist/components/Progress/ProgressText.js +0 -68
- 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 -45
- 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 -60
- package/dist/components/Row/RowLabelValue/RowLabelValue.js +0 -63
- 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 -322
- 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 -37
- 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 -51
- 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 -58
- package/dist/declaration.d.js +0 -1
- package/dist/genesis/GenesisThemeBreakdown.js +0 -145
- package/dist/genesis/GenesisThemeDemo.js +0 -7
- package/dist/index.js +0 -65
- 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 -37
- 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 -60
- package/dist/styles/design-tokens/sizing-tokens/SizingTokenList.js +0 -64
- package/dist/styles/design-tokens/variables.js +0 -697
- package/dist/styles/theme/genesis-theme.js +0 -1095
- 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 -1652
- 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
|
@@ -1,456 +0,0 @@
|
|
|
1
|
-
import { d as L } from "../../styled-components.browser.esm-C47QHsU4.js";
|
|
2
|
-
import * as h from "react";
|
|
3
|
-
import { R as A } from "../../LoadingOutlined-DOi5EGOl.js";
|
|
4
|
-
import { g as X, a as K, c as D, b as N, e as R, F as V } from "../../presets-CSXMiWyc.js";
|
|
5
|
-
import { u as q } from "../../useMergedState-D1-TbeEv.js";
|
|
6
|
-
import { K as H } from "../../KeyCode-B3vHb2gY.js";
|
|
7
|
-
import { W as _ } from "../../index-Br3D3cFM.js";
|
|
8
|
-
import { D as F } from "../../index-DCopujxC.js";
|
|
9
|
-
import { u as B } from "../../useSize-Ct1guc-z.js";
|
|
10
|
-
import { g as G, m as Q, j as U, f as p, o as J, C as Y } from "../../CSSMotionList-DB0khM6h.js";
|
|
11
|
-
var Z = ["prefixCls", "className", "checked", "defaultChecked", "disabled", "loadingIcon", "checkedChildren", "unCheckedChildren", "onClick", "onChange", "onKeyDown"], O = /* @__PURE__ */ h.forwardRef(function(e, n) {
|
|
12
|
-
var c, a = e.prefixCls, l = a === void 0 ? "rc-switch" : a, r = e.className, d = e.checked, t = e.defaultChecked, i = e.disabled, o = e.loadingIcon, s = e.checkedChildren, g = e.unCheckedChildren, C = e.onClick, S = e.onChange, w = e.onKeyDown, y = X(e, Z), M = q(!1, {
|
|
13
|
-
value: d,
|
|
14
|
-
defaultValue: t
|
|
15
|
-
}), v = K(M, 2), f = v[0], $ = v[1];
|
|
16
|
-
function I(u, k) {
|
|
17
|
-
var b = f;
|
|
18
|
-
return i || (b = u, $(b), S == null || S(b, k)), b;
|
|
19
|
-
}
|
|
20
|
-
function x(u) {
|
|
21
|
-
u.which === H.LEFT ? I(!1, u) : u.which === H.RIGHT && I(!0, u), w == null || w(u);
|
|
22
|
-
}
|
|
23
|
-
function m(u) {
|
|
24
|
-
var k = I(!f, u);
|
|
25
|
-
C == null || C(k, u);
|
|
26
|
-
}
|
|
27
|
-
var E = D(l, r, (c = {}, N(c, "".concat(l, "-checked"), f), N(c, "".concat(l, "-disabled"), i), c));
|
|
28
|
-
return /* @__PURE__ */ h.createElement("button", R({}, y, {
|
|
29
|
-
type: "button",
|
|
30
|
-
role: "switch",
|
|
31
|
-
"aria-checked": f,
|
|
32
|
-
disabled: i,
|
|
33
|
-
className: E,
|
|
34
|
-
ref: n,
|
|
35
|
-
onKeyDown: x,
|
|
36
|
-
onClick: m
|
|
37
|
-
}), o, /* @__PURE__ */ h.createElement("span", {
|
|
38
|
-
className: "".concat(l, "-inner")
|
|
39
|
-
}, /* @__PURE__ */ h.createElement("span", {
|
|
40
|
-
className: "".concat(l, "-inner-checked")
|
|
41
|
-
}, s), /* @__PURE__ */ h.createElement("span", {
|
|
42
|
-
className: "".concat(l, "-inner-unchecked")
|
|
43
|
-
}, g)));
|
|
44
|
-
});
|
|
45
|
-
O.displayName = "Switch";
|
|
46
|
-
const ee = (e) => {
|
|
47
|
-
const {
|
|
48
|
-
componentCls: n,
|
|
49
|
-
trackHeightSM: c,
|
|
50
|
-
trackPadding: a,
|
|
51
|
-
trackMinWidthSM: l,
|
|
52
|
-
innerMinMarginSM: r,
|
|
53
|
-
innerMaxMarginSM: d,
|
|
54
|
-
handleSizeSM: t,
|
|
55
|
-
calc: i
|
|
56
|
-
} = e, o = `${n}-inner`, s = p(i(t).add(i(a).mul(2)).equal()), g = p(i(d).mul(2).equal());
|
|
57
|
-
return {
|
|
58
|
-
[n]: {
|
|
59
|
-
[`&${n}-small`]: {
|
|
60
|
-
minWidth: l,
|
|
61
|
-
height: c,
|
|
62
|
-
lineHeight: p(c),
|
|
63
|
-
[`${n}-inner`]: {
|
|
64
|
-
paddingInlineStart: d,
|
|
65
|
-
paddingInlineEnd: r,
|
|
66
|
-
[`${o}-checked, ${o}-unchecked`]: {
|
|
67
|
-
minHeight: c
|
|
68
|
-
},
|
|
69
|
-
[`${o}-checked`]: {
|
|
70
|
-
marginInlineStart: `calc(-100% + ${s} - ${g})`,
|
|
71
|
-
marginInlineEnd: `calc(100% - ${s} + ${g})`
|
|
72
|
-
},
|
|
73
|
-
[`${o}-unchecked`]: {
|
|
74
|
-
marginTop: i(c).mul(-1).equal(),
|
|
75
|
-
marginInlineStart: 0,
|
|
76
|
-
marginInlineEnd: 0
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
[`${n}-handle`]: {
|
|
80
|
-
width: t,
|
|
81
|
-
height: t
|
|
82
|
-
},
|
|
83
|
-
[`${n}-loading-icon`]: {
|
|
84
|
-
top: i(i(t).sub(e.switchLoadingIconSize)).div(2).equal(),
|
|
85
|
-
fontSize: e.switchLoadingIconSize
|
|
86
|
-
},
|
|
87
|
-
[`&${n}-checked`]: {
|
|
88
|
-
[`${n}-inner`]: {
|
|
89
|
-
paddingInlineStart: r,
|
|
90
|
-
paddingInlineEnd: d,
|
|
91
|
-
[`${o}-checked`]: {
|
|
92
|
-
marginInlineStart: 0,
|
|
93
|
-
marginInlineEnd: 0
|
|
94
|
-
},
|
|
95
|
-
[`${o}-unchecked`]: {
|
|
96
|
-
marginInlineStart: `calc(100% - ${s} + ${g})`,
|
|
97
|
-
marginInlineEnd: `calc(-100% + ${s} - ${g})`
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
[`${n}-handle`]: {
|
|
101
|
-
insetInlineStart: `calc(100% - ${p(i(t).add(a).equal())})`
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
[`&:not(${n}-disabled):active`]: {
|
|
105
|
-
[`&:not(${n}-checked) ${o}`]: {
|
|
106
|
-
[`${o}-unchecked`]: {
|
|
107
|
-
marginInlineStart: i(e.marginXXS).div(2).equal(),
|
|
108
|
-
marginInlineEnd: i(e.marginXXS).mul(-1).div(2).equal()
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
[`&${n}-checked ${o}`]: {
|
|
112
|
-
[`${o}-checked`]: {
|
|
113
|
-
marginInlineStart: i(e.marginXXS).mul(-1).div(2).equal(),
|
|
114
|
-
marginInlineEnd: i(e.marginXXS).div(2).equal()
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
}, ne = (e) => {
|
|
122
|
-
const {
|
|
123
|
-
componentCls: n,
|
|
124
|
-
handleSize: c,
|
|
125
|
-
calc: a
|
|
126
|
-
} = e;
|
|
127
|
-
return {
|
|
128
|
-
[n]: {
|
|
129
|
-
[`${n}-loading-icon${e.iconCls}`]: {
|
|
130
|
-
position: "relative",
|
|
131
|
-
top: a(a(c).sub(e.fontSize)).div(2).equal(),
|
|
132
|
-
color: e.switchLoadingIconColor,
|
|
133
|
-
verticalAlign: "top"
|
|
134
|
-
},
|
|
135
|
-
[`&${n}-checked ${n}-loading-icon`]: {
|
|
136
|
-
color: e.switchColor
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
};
|
|
140
|
-
}, ie = (e) => {
|
|
141
|
-
const {
|
|
142
|
-
componentCls: n,
|
|
143
|
-
trackPadding: c,
|
|
144
|
-
handleBg: a,
|
|
145
|
-
handleShadow: l,
|
|
146
|
-
handleSize: r,
|
|
147
|
-
calc: d
|
|
148
|
-
} = e, t = `${n}-handle`;
|
|
149
|
-
return {
|
|
150
|
-
[n]: {
|
|
151
|
-
[t]: {
|
|
152
|
-
position: "absolute",
|
|
153
|
-
top: c,
|
|
154
|
-
insetInlineStart: c,
|
|
155
|
-
width: r,
|
|
156
|
-
height: r,
|
|
157
|
-
transition: `all ${e.switchDuration} ease-in-out`,
|
|
158
|
-
"&::before": {
|
|
159
|
-
position: "absolute",
|
|
160
|
-
top: 0,
|
|
161
|
-
insetInlineEnd: 0,
|
|
162
|
-
bottom: 0,
|
|
163
|
-
insetInlineStart: 0,
|
|
164
|
-
backgroundColor: a,
|
|
165
|
-
borderRadius: d(r).div(2).equal(),
|
|
166
|
-
boxShadow: l,
|
|
167
|
-
transition: `all ${e.switchDuration} ease-in-out`,
|
|
168
|
-
content: '""'
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
[`&${n}-checked ${t}`]: {
|
|
172
|
-
insetInlineStart: `calc(100% - ${p(d(r).add(c).equal())})`
|
|
173
|
-
},
|
|
174
|
-
[`&:not(${n}-disabled):active`]: {
|
|
175
|
-
[`${t}::before`]: {
|
|
176
|
-
insetInlineEnd: e.switchHandleActiveInset,
|
|
177
|
-
insetInlineStart: 0
|
|
178
|
-
},
|
|
179
|
-
[`&${n}-checked ${t}::before`]: {
|
|
180
|
-
insetInlineEnd: 0,
|
|
181
|
-
insetInlineStart: e.switchHandleActiveInset
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
};
|
|
186
|
-
}, ae = (e) => {
|
|
187
|
-
const {
|
|
188
|
-
componentCls: n,
|
|
189
|
-
trackHeight: c,
|
|
190
|
-
trackPadding: a,
|
|
191
|
-
innerMinMargin: l,
|
|
192
|
-
innerMaxMargin: r,
|
|
193
|
-
handleSize: d,
|
|
194
|
-
calc: t
|
|
195
|
-
} = e, i = `${n}-inner`, o = p(t(d).add(t(a).mul(2)).equal()), s = p(t(r).mul(2).equal());
|
|
196
|
-
return {
|
|
197
|
-
[n]: {
|
|
198
|
-
[i]: {
|
|
199
|
-
display: "block",
|
|
200
|
-
overflow: "hidden",
|
|
201
|
-
borderRadius: 100,
|
|
202
|
-
height: "100%",
|
|
203
|
-
paddingInlineStart: r,
|
|
204
|
-
paddingInlineEnd: l,
|
|
205
|
-
transition: `padding-inline-start ${e.switchDuration} ease-in-out, padding-inline-end ${e.switchDuration} ease-in-out`,
|
|
206
|
-
[`${i}-checked, ${i}-unchecked`]: {
|
|
207
|
-
display: "block",
|
|
208
|
-
color: e.colorTextLightSolid,
|
|
209
|
-
fontSize: e.fontSizeSM,
|
|
210
|
-
transition: `margin-inline-start ${e.switchDuration} ease-in-out, margin-inline-end ${e.switchDuration} ease-in-out`,
|
|
211
|
-
pointerEvents: "none",
|
|
212
|
-
minHeight: c
|
|
213
|
-
},
|
|
214
|
-
[`${i}-checked`]: {
|
|
215
|
-
marginInlineStart: `calc(-100% + ${o} - ${s})`,
|
|
216
|
-
marginInlineEnd: `calc(100% - ${o} + ${s})`
|
|
217
|
-
},
|
|
218
|
-
[`${i}-unchecked`]: {
|
|
219
|
-
marginTop: t(c).mul(-1).equal(),
|
|
220
|
-
marginInlineStart: 0,
|
|
221
|
-
marginInlineEnd: 0
|
|
222
|
-
}
|
|
223
|
-
},
|
|
224
|
-
[`&${n}-checked ${i}`]: {
|
|
225
|
-
paddingInlineStart: l,
|
|
226
|
-
paddingInlineEnd: r,
|
|
227
|
-
[`${i}-checked`]: {
|
|
228
|
-
marginInlineStart: 0,
|
|
229
|
-
marginInlineEnd: 0
|
|
230
|
-
},
|
|
231
|
-
[`${i}-unchecked`]: {
|
|
232
|
-
marginInlineStart: `calc(100% - ${o} + ${s})`,
|
|
233
|
-
marginInlineEnd: `calc(-100% + ${o} - ${s})`
|
|
234
|
-
}
|
|
235
|
-
},
|
|
236
|
-
[`&:not(${n}-disabled):active`]: {
|
|
237
|
-
[`&:not(${n}-checked) ${i}`]: {
|
|
238
|
-
[`${i}-unchecked`]: {
|
|
239
|
-
marginInlineStart: t(a).mul(2).equal(),
|
|
240
|
-
marginInlineEnd: t(a).mul(-1).mul(2).equal()
|
|
241
|
-
}
|
|
242
|
-
},
|
|
243
|
-
[`&${n}-checked ${i}`]: {
|
|
244
|
-
[`${i}-checked`]: {
|
|
245
|
-
marginInlineStart: t(a).mul(-1).mul(2).equal(),
|
|
246
|
-
marginInlineEnd: t(a).mul(2).equal()
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
};
|
|
252
|
-
}, te = (e) => {
|
|
253
|
-
const {
|
|
254
|
-
componentCls: n,
|
|
255
|
-
trackHeight: c,
|
|
256
|
-
trackMinWidth: a
|
|
257
|
-
} = e;
|
|
258
|
-
return {
|
|
259
|
-
[n]: Object.assign(Object.assign(Object.assign(Object.assign({}, U(e)), {
|
|
260
|
-
position: "relative",
|
|
261
|
-
display: "inline-block",
|
|
262
|
-
boxSizing: "border-box",
|
|
263
|
-
minWidth: a,
|
|
264
|
-
height: c,
|
|
265
|
-
lineHeight: p(c),
|
|
266
|
-
verticalAlign: "middle",
|
|
267
|
-
background: e.colorTextQuaternary,
|
|
268
|
-
border: "0",
|
|
269
|
-
borderRadius: 100,
|
|
270
|
-
cursor: "pointer",
|
|
271
|
-
transition: `all ${e.motionDurationMid}`,
|
|
272
|
-
userSelect: "none",
|
|
273
|
-
[`&:hover:not(${n}-disabled)`]: {
|
|
274
|
-
background: e.colorTextTertiary
|
|
275
|
-
}
|
|
276
|
-
}), J(e)), {
|
|
277
|
-
[`&${n}-checked`]: {
|
|
278
|
-
background: e.switchColor,
|
|
279
|
-
[`&:hover:not(${n}-disabled)`]: {
|
|
280
|
-
background: e.colorPrimaryHover
|
|
281
|
-
}
|
|
282
|
-
},
|
|
283
|
-
[`&${n}-loading, &${n}-disabled`]: {
|
|
284
|
-
cursor: "not-allowed",
|
|
285
|
-
opacity: e.switchDisabledOpacity,
|
|
286
|
-
"*": {
|
|
287
|
-
boxShadow: "none",
|
|
288
|
-
cursor: "not-allowed"
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
// rtl style
|
|
292
|
-
[`&${n}-rtl`]: {
|
|
293
|
-
direction: "rtl"
|
|
294
|
-
}
|
|
295
|
-
})
|
|
296
|
-
};
|
|
297
|
-
}, ce = (e) => {
|
|
298
|
-
const {
|
|
299
|
-
fontSize: n,
|
|
300
|
-
lineHeight: c,
|
|
301
|
-
controlHeight: a,
|
|
302
|
-
colorWhite: l
|
|
303
|
-
} = e, r = n * c, d = a / 2, t = 2, i = r - t * 2, o = d - t * 2;
|
|
304
|
-
return {
|
|
305
|
-
trackHeight: r,
|
|
306
|
-
trackHeightSM: d,
|
|
307
|
-
trackMinWidth: i * 2 + t * 4,
|
|
308
|
-
trackMinWidthSM: o * 2 + t * 2,
|
|
309
|
-
trackPadding: t,
|
|
310
|
-
// Fixed value
|
|
311
|
-
handleBg: l,
|
|
312
|
-
handleSize: i,
|
|
313
|
-
handleSizeSM: o,
|
|
314
|
-
handleShadow: `0 2px 4px 0 ${new V("#00230b").setA(0.2).toRgbString()}`,
|
|
315
|
-
innerMinMargin: i / 2,
|
|
316
|
-
innerMaxMargin: i + t + t * 2,
|
|
317
|
-
innerMinMarginSM: o / 2,
|
|
318
|
-
innerMaxMarginSM: o + t + t * 2
|
|
319
|
-
};
|
|
320
|
-
}, le = G("Switch", (e) => {
|
|
321
|
-
const n = Q(e, {
|
|
322
|
-
switchDuration: e.motionDurationMid,
|
|
323
|
-
switchColor: e.colorPrimary,
|
|
324
|
-
switchDisabledOpacity: e.opacityLoading,
|
|
325
|
-
switchLoadingIconSize: e.calc(e.fontSizeIcon).mul(0.75).equal(),
|
|
326
|
-
switchLoadingIconColor: `rgba(0, 0, 0, ${e.opacityLoading})`,
|
|
327
|
-
switchHandleActiveInset: "-30%"
|
|
328
|
-
});
|
|
329
|
-
return [
|
|
330
|
-
te(n),
|
|
331
|
-
// inner style
|
|
332
|
-
ae(n),
|
|
333
|
-
// handle style
|
|
334
|
-
ie(n),
|
|
335
|
-
// loading style
|
|
336
|
-
ne(n),
|
|
337
|
-
// small style
|
|
338
|
-
ee(n)
|
|
339
|
-
];
|
|
340
|
-
}, ce);
|
|
341
|
-
var oe = function(e, n) {
|
|
342
|
-
var c = {};
|
|
343
|
-
for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && n.indexOf(a) < 0 && (c[a] = e[a]);
|
|
344
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var l = 0, a = Object.getOwnPropertySymbols(e); l < a.length; l++)
|
|
345
|
-
n.indexOf(a[l]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[l]) && (c[a[l]] = e[a[l]]);
|
|
346
|
-
return c;
|
|
347
|
-
};
|
|
348
|
-
const re = /* @__PURE__ */ h.forwardRef((e, n) => {
|
|
349
|
-
const {
|
|
350
|
-
prefixCls: c,
|
|
351
|
-
size: a,
|
|
352
|
-
disabled: l,
|
|
353
|
-
loading: r,
|
|
354
|
-
className: d,
|
|
355
|
-
rootClassName: t,
|
|
356
|
-
style: i,
|
|
357
|
-
checked: o,
|
|
358
|
-
value: s,
|
|
359
|
-
defaultChecked: g,
|
|
360
|
-
defaultValue: C,
|
|
361
|
-
onChange: S
|
|
362
|
-
} = e, w = oe(e, ["prefixCls", "size", "disabled", "loading", "className", "rootClassName", "style", "checked", "value", "defaultChecked", "defaultValue", "onChange"]), [y, M] = q(!1, {
|
|
363
|
-
value: o ?? s,
|
|
364
|
-
defaultValue: g ?? C
|
|
365
|
-
}), {
|
|
366
|
-
getPrefixCls: v,
|
|
367
|
-
direction: f,
|
|
368
|
-
switch: $
|
|
369
|
-
} = h.useContext(Y), I = h.useContext(F), x = (l ?? I) || r, m = v("switch", c), E = /* @__PURE__ */ h.createElement("div", {
|
|
370
|
-
className: `${m}-handle`
|
|
371
|
-
}, r && /* @__PURE__ */ h.createElement(A, {
|
|
372
|
-
className: `${m}-loading-icon`
|
|
373
|
-
})), [u, k, b] = le(m), P = B(a), T = D($ == null ? void 0 : $.className, {
|
|
374
|
-
[`${m}-small`]: P === "small",
|
|
375
|
-
[`${m}-loading`]: r,
|
|
376
|
-
[`${m}-rtl`]: f === "rtl"
|
|
377
|
-
}, d, t, k, b), j = Object.assign(Object.assign({}, $ == null ? void 0 : $.style), i), W = function() {
|
|
378
|
-
M(arguments.length <= 0 ? void 0 : arguments[0]), S == null || S.apply(void 0, arguments);
|
|
379
|
-
};
|
|
380
|
-
return u(/* @__PURE__ */ h.createElement(_, {
|
|
381
|
-
component: "Switch"
|
|
382
|
-
}, /* @__PURE__ */ h.createElement(O, Object.assign({}, w, {
|
|
383
|
-
checked: y,
|
|
384
|
-
onChange: W,
|
|
385
|
-
prefixCls: m,
|
|
386
|
-
className: T,
|
|
387
|
-
style: j,
|
|
388
|
-
disabled: x,
|
|
389
|
-
ref: n,
|
|
390
|
-
loadingIcon: E
|
|
391
|
-
}))));
|
|
392
|
-
}), z = re;
|
|
393
|
-
z.__ANT_SWITCH = !0;
|
|
394
|
-
process.env.NODE_ENV !== "production" && (z.displayName = "Switch");
|
|
395
|
-
const de = ({ colors: e, borderRadius: n }) => `
|
|
396
|
-
&.ant-switch {
|
|
397
|
-
background-color: ${e.primary.active};
|
|
398
|
-
border-radius: ${n == null ? void 0 : n.BorderRadiusMd};
|
|
399
|
-
|
|
400
|
-
/* Focus ring styles */
|
|
401
|
-
&:focus-visible {
|
|
402
|
-
outline: none;
|
|
403
|
-
box-shadow: 0 0 0 2px ${e.inputs.onsurface.focus};
|
|
404
|
-
}
|
|
405
|
-
|
|
406
|
-
/* Unchecked states */
|
|
407
|
-
&:not(.ant-switch-checked) {
|
|
408
|
-
background-color: ${e.surface.tertiary};
|
|
409
|
-
|
|
410
|
-
&:hover {
|
|
411
|
-
background-color: ${e.status.info.surface};
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
&:focus {
|
|
415
|
-
background-color: ${e.surface.tertiary};
|
|
416
|
-
}
|
|
417
|
-
|
|
418
|
-
&:focus-visible {
|
|
419
|
-
outline: none;
|
|
420
|
-
box-shadow: 0 0 0 2px ${e.inputs.onsurface.focus};
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
&.ant-switch-disabled {
|
|
424
|
-
background-color: ${e.inputs.surface.disabled};
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
/* Checked states */
|
|
429
|
-
&-checked {
|
|
430
|
-
background-color: ${e.inputs.surface.checked};
|
|
431
|
-
|
|
432
|
-
&:hover {
|
|
433
|
-
background-color: ${e.inputs.surface["checked-hover"]};
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
&:focus {
|
|
437
|
-
background-color: ${e.inputs.surface["checked-focussed"]};
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
&:focus-visible {
|
|
441
|
-
outline: none;
|
|
442
|
-
box-shadow: 0 0 0 2px ${e.inputs.onsurface.focus};
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
&.ant-switch-disabled {
|
|
446
|
-
background-color: ${e.inputs.surface.disabled};
|
|
447
|
-
}
|
|
448
|
-
}
|
|
449
|
-
}
|
|
450
|
-
`, be = L(z)`
|
|
451
|
-
${({ theme: e }) => de(e)}
|
|
452
|
-
`;
|
|
453
|
-
export {
|
|
454
|
-
be as Switch,
|
|
455
|
-
be as default
|
|
456
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { T as m } from "../../styles-Wpm1RiGr.js";
|
|
3
|
-
const d = ({
|
|
4
|
-
columns: a,
|
|
5
|
-
dataSource: t,
|
|
6
|
-
rowKey: e = "id",
|
|
7
|
-
size: l = "small",
|
|
8
|
-
...o
|
|
9
|
-
}) => /* @__PURE__ */ r(
|
|
10
|
-
m,
|
|
11
|
-
{
|
|
12
|
-
"data-testid": "Table",
|
|
13
|
-
dataSource: t,
|
|
14
|
-
columns: a,
|
|
15
|
-
rowKey: e,
|
|
16
|
-
locale: { emptyText: "No Data" },
|
|
17
|
-
size: l,
|
|
18
|
-
...o
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
export {
|
|
22
|
-
d as default
|
|
23
|
-
};
|