@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,522 +0,0 @@
|
|
|
1
|
-
import { d as ge } from "../../styled-components.browser.esm-C47QHsU4.js";
|
|
2
|
-
import * as i from "react";
|
|
3
|
-
import { a as B, _ as q, c as L, g as be, e as Q, b as _, f as ne } from "../../presets-CSXMiWyc.js";
|
|
4
|
-
import { u as Se } from "../../useMergedState-D1-TbeEv.js";
|
|
5
|
-
import { o as pe } from "../../omit-B_u6A-HL.js";
|
|
6
|
-
import { h as $e, p as ye, q as ie, g as Ce, m as we, j as xe, o as Ne, f as E, s as Re, t as Oe, l as Me } from "../../CSSMotionList-DB0khM6h.js";
|
|
7
|
-
import { u as Ie } from "../../useId-DLf1xVuv.js";
|
|
8
|
-
import { u as je } from "../../useSize-Ct1guc-z.js";
|
|
9
|
-
var k = function(t, n) {
|
|
10
|
-
if (!t) return null;
|
|
11
|
-
var a = {
|
|
12
|
-
left: t.offsetLeft,
|
|
13
|
-
right: t.parentElement.clientWidth - t.clientWidth - t.offsetLeft,
|
|
14
|
-
width: t.clientWidth,
|
|
15
|
-
top: t.offsetTop,
|
|
16
|
-
bottom: t.parentElement.clientHeight - t.clientHeight - t.offsetTop,
|
|
17
|
-
height: t.clientHeight
|
|
18
|
-
};
|
|
19
|
-
return n ? {
|
|
20
|
-
left: 0,
|
|
21
|
-
right: 0,
|
|
22
|
-
width: 0,
|
|
23
|
-
top: a.top,
|
|
24
|
-
bottom: a.bottom,
|
|
25
|
-
height: a.height
|
|
26
|
-
} : {
|
|
27
|
-
left: a.left,
|
|
28
|
-
right: a.right,
|
|
29
|
-
width: a.width,
|
|
30
|
-
top: 0,
|
|
31
|
-
bottom: 0,
|
|
32
|
-
height: 0
|
|
33
|
-
};
|
|
34
|
-
}, C = function(t) {
|
|
35
|
-
return t !== void 0 ? "".concat(t, "px") : void 0;
|
|
36
|
-
};
|
|
37
|
-
function Ee(e) {
|
|
38
|
-
var t = e.prefixCls, n = e.containerRef, a = e.value, o = e.getValueIndex, s = e.motionName, S = e.onMotionStart, h = e.onMotionEnd, b = e.direction, w = e.vertical, d = w === void 0 ? !1 : w, N = i.useRef(null), H = i.useState(a), R = B(H, 2), v = R[0], O = R[1], M = function(j) {
|
|
39
|
-
var x, A = o(j), y = (x = n.current) === null || x === void 0 ? void 0 : x.querySelectorAll(".".concat(t, "-item"))[A];
|
|
40
|
-
return (y == null ? void 0 : y.offsetParent) && y;
|
|
41
|
-
}, P = i.useState(null), m = B(P, 2), r = m[0], I = m[1], T = i.useState(null), g = B(T, 2), l = g[0], D = g[1];
|
|
42
|
-
$e(function() {
|
|
43
|
-
if (v !== a) {
|
|
44
|
-
var c = M(v), j = M(a), x = k(c, d), A = k(j, d);
|
|
45
|
-
O(a), I(x), D(A), c && j ? S() : h();
|
|
46
|
-
}
|
|
47
|
-
}, [a]);
|
|
48
|
-
var p = i.useMemo(function() {
|
|
49
|
-
if (d) {
|
|
50
|
-
var c;
|
|
51
|
-
return C((c = r == null ? void 0 : r.top) !== null && c !== void 0 ? c : 0);
|
|
52
|
-
}
|
|
53
|
-
return C(b === "rtl" ? -(r == null ? void 0 : r.right) : r == null ? void 0 : r.left);
|
|
54
|
-
}, [d, b, r]), $ = i.useMemo(function() {
|
|
55
|
-
if (d) {
|
|
56
|
-
var c;
|
|
57
|
-
return C((c = l == null ? void 0 : l.top) !== null && c !== void 0 ? c : 0);
|
|
58
|
-
}
|
|
59
|
-
return C(b === "rtl" ? -(l == null ? void 0 : l.right) : l == null ? void 0 : l.left);
|
|
60
|
-
}, [d, b, l]), K = function() {
|
|
61
|
-
return d ? {
|
|
62
|
-
transform: "translateY(var(--thumb-start-top))",
|
|
63
|
-
height: "var(--thumb-start-height)"
|
|
64
|
-
} : {
|
|
65
|
-
transform: "translateX(var(--thumb-start-left))",
|
|
66
|
-
width: "var(--thumb-start-width)"
|
|
67
|
-
};
|
|
68
|
-
}, V = function() {
|
|
69
|
-
return d ? {
|
|
70
|
-
transform: "translateY(var(--thumb-active-top))",
|
|
71
|
-
height: "var(--thumb-active-height)"
|
|
72
|
-
} : {
|
|
73
|
-
transform: "translateX(var(--thumb-active-left))",
|
|
74
|
-
width: "var(--thumb-active-width)"
|
|
75
|
-
};
|
|
76
|
-
}, F = function() {
|
|
77
|
-
I(null), D(null), h();
|
|
78
|
-
};
|
|
79
|
-
return !r || !l ? null : /* @__PURE__ */ i.createElement(ye, {
|
|
80
|
-
visible: !0,
|
|
81
|
-
motionName: s,
|
|
82
|
-
motionAppear: !0,
|
|
83
|
-
onAppearStart: K,
|
|
84
|
-
onAppearActive: V,
|
|
85
|
-
onVisibleChanged: F
|
|
86
|
-
}, function(c, j) {
|
|
87
|
-
var x = c.className, A = c.style, y = q(q({}, A), {}, {
|
|
88
|
-
"--thumb-start-left": p,
|
|
89
|
-
"--thumb-start-width": C(r == null ? void 0 : r.width),
|
|
90
|
-
"--thumb-active-left": $,
|
|
91
|
-
"--thumb-active-width": C(l == null ? void 0 : l.width),
|
|
92
|
-
"--thumb-start-top": p,
|
|
93
|
-
"--thumb-start-height": C(r == null ? void 0 : r.height),
|
|
94
|
-
"--thumb-active-top": $,
|
|
95
|
-
"--thumb-active-height": C(l == null ? void 0 : l.height)
|
|
96
|
-
}), X = {
|
|
97
|
-
ref: ie(N, j),
|
|
98
|
-
style: y,
|
|
99
|
-
className: L("".concat(t, "-thumb"), x)
|
|
100
|
-
};
|
|
101
|
-
return process.env.NODE_ENV === "test" && (X["data-test-style"] = JSON.stringify(y)), /* @__PURE__ */ i.createElement("div", X);
|
|
102
|
-
});
|
|
103
|
-
}
|
|
104
|
-
var He = ["prefixCls", "direction", "vertical", "options", "disabled", "defaultValue", "value", "name", "onChange", "className", "motionName"];
|
|
105
|
-
function Pe(e) {
|
|
106
|
-
if (typeof e.title < "u")
|
|
107
|
-
return e.title;
|
|
108
|
-
if (ne(e.label) !== "object") {
|
|
109
|
-
var t;
|
|
110
|
-
return (t = e.label) === null || t === void 0 ? void 0 : t.toString();
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
function De(e) {
|
|
114
|
-
return e.map(function(t) {
|
|
115
|
-
if (ne(t) === "object" && t !== null) {
|
|
116
|
-
var n = Pe(t);
|
|
117
|
-
return q(q({}, t), {}, {
|
|
118
|
-
title: n
|
|
119
|
-
});
|
|
120
|
-
}
|
|
121
|
-
return {
|
|
122
|
-
label: t == null ? void 0 : t.toString(),
|
|
123
|
-
title: t == null ? void 0 : t.toString(),
|
|
124
|
-
value: t
|
|
125
|
-
};
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
var Ve = function(t) {
|
|
129
|
-
var n = t.prefixCls, a = t.className, o = t.disabled, s = t.checked, S = t.label, h = t.title, b = t.value, w = t.name, d = t.onChange, N = t.onFocus, H = t.onBlur, R = t.onKeyDown, v = t.onKeyUp, O = t.onMouseDown, M = function(m) {
|
|
130
|
-
o || d(m, b);
|
|
131
|
-
};
|
|
132
|
-
return /* @__PURE__ */ i.createElement("label", {
|
|
133
|
-
className: L(a, _({}, "".concat(n, "-item-disabled"), o)),
|
|
134
|
-
onMouseDown: O
|
|
135
|
-
}, /* @__PURE__ */ i.createElement("input", {
|
|
136
|
-
name: w,
|
|
137
|
-
className: "".concat(n, "-item-input"),
|
|
138
|
-
type: "radio",
|
|
139
|
-
disabled: o,
|
|
140
|
-
checked: s,
|
|
141
|
-
onChange: M,
|
|
142
|
-
onFocus: N,
|
|
143
|
-
onBlur: H,
|
|
144
|
-
onKeyDown: R,
|
|
145
|
-
onKeyUp: v
|
|
146
|
-
}), /* @__PURE__ */ i.createElement("div", {
|
|
147
|
-
className: "".concat(n, "-item-label"),
|
|
148
|
-
title: h,
|
|
149
|
-
"aria-selected": s
|
|
150
|
-
}, S));
|
|
151
|
-
}, oe = /* @__PURE__ */ i.forwardRef(function(e, t) {
|
|
152
|
-
var n, a, o = e.prefixCls, s = o === void 0 ? "rc-segmented" : o, S = e.direction, h = e.vertical, b = e.options, w = b === void 0 ? [] : b, d = e.disabled, N = e.defaultValue, H = e.value, R = e.name, v = e.onChange, O = e.className, M = O === void 0 ? "" : O, P = e.motionName, m = P === void 0 ? "thumb-motion" : P, r = be(e, He), I = i.useRef(null), T = i.useMemo(function() {
|
|
153
|
-
return ie(I, t);
|
|
154
|
-
}, [I, t]), g = i.useMemo(function() {
|
|
155
|
-
return De(w);
|
|
156
|
-
}, [w]), l = Se((n = g[0]) === null || n === void 0 ? void 0 : n.value, {
|
|
157
|
-
value: H,
|
|
158
|
-
defaultValue: N
|
|
159
|
-
}), D = B(l, 2), p = D[0], $ = D[1], K = i.useState(!1), V = B(K, 2), F = V[0], c = V[1], j = function(f, z) {
|
|
160
|
-
$(z), v == null || v(z);
|
|
161
|
-
}, x = pe(r, ["children"]), A = i.useState(!1), y = B(A, 2), X = y[0], U = y[1], le = i.useState(!1), G = B(le, 2), se = G[0], Y = G[1], ce = function() {
|
|
162
|
-
Y(!0);
|
|
163
|
-
}, de = function() {
|
|
164
|
-
Y(!1);
|
|
165
|
-
}, ue = function() {
|
|
166
|
-
U(!1);
|
|
167
|
-
}, me = function(f) {
|
|
168
|
-
f.key === "Tab" && U(!0);
|
|
169
|
-
}, J = function(f) {
|
|
170
|
-
var z = g.findIndex(function(he) {
|
|
171
|
-
return he.value === p;
|
|
172
|
-
}), Z = g.length, fe = (z + f + Z) % Z, W = g[fe];
|
|
173
|
-
W && ($(W.value), v == null || v(W.value));
|
|
174
|
-
}, ve = function(f) {
|
|
175
|
-
switch (f.key) {
|
|
176
|
-
case "ArrowLeft":
|
|
177
|
-
case "ArrowUp":
|
|
178
|
-
J(-1);
|
|
179
|
-
break;
|
|
180
|
-
case "ArrowRight":
|
|
181
|
-
case "ArrowDown":
|
|
182
|
-
J(1);
|
|
183
|
-
break;
|
|
184
|
-
}
|
|
185
|
-
};
|
|
186
|
-
return /* @__PURE__ */ i.createElement("div", Q({
|
|
187
|
-
role: "radiogroup",
|
|
188
|
-
"aria-label": "segmented control",
|
|
189
|
-
tabIndex: d ? void 0 : 0
|
|
190
|
-
}, x, {
|
|
191
|
-
className: L(s, (a = {}, _(a, "".concat(s, "-rtl"), S === "rtl"), _(a, "".concat(s, "-disabled"), d), _(a, "".concat(s, "-vertical"), h), a), M),
|
|
192
|
-
ref: T
|
|
193
|
-
}), /* @__PURE__ */ i.createElement("div", {
|
|
194
|
-
className: "".concat(s, "-group")
|
|
195
|
-
}, /* @__PURE__ */ i.createElement(Ee, {
|
|
196
|
-
vertical: h,
|
|
197
|
-
prefixCls: s,
|
|
198
|
-
value: p,
|
|
199
|
-
containerRef: I,
|
|
200
|
-
motionName: "".concat(s, "-").concat(m),
|
|
201
|
-
direction: S,
|
|
202
|
-
getValueIndex: function(f) {
|
|
203
|
-
return g.findIndex(function(z) {
|
|
204
|
-
return z.value === f;
|
|
205
|
-
});
|
|
206
|
-
},
|
|
207
|
-
onMotionStart: function() {
|
|
208
|
-
c(!0);
|
|
209
|
-
},
|
|
210
|
-
onMotionEnd: function() {
|
|
211
|
-
c(!1);
|
|
212
|
-
}
|
|
213
|
-
}), g.map(function(u) {
|
|
214
|
-
var f;
|
|
215
|
-
return /* @__PURE__ */ i.createElement(Ve, Q({}, u, {
|
|
216
|
-
name: R,
|
|
217
|
-
key: u.value,
|
|
218
|
-
prefixCls: s,
|
|
219
|
-
className: L(u.className, "".concat(s, "-item"), (f = {}, _(f, "".concat(s, "-item-selected"), u.value === p && !F), _(f, "".concat(s, "-item-focused"), se && X && u.value === p), f)),
|
|
220
|
-
checked: u.value === p,
|
|
221
|
-
onChange: j,
|
|
222
|
-
onFocus: ce,
|
|
223
|
-
onBlur: de,
|
|
224
|
-
onKeyDown: ve,
|
|
225
|
-
onKeyUp: me,
|
|
226
|
-
onMouseDown: ue,
|
|
227
|
-
disabled: !!d || !!u.disabled
|
|
228
|
-
}));
|
|
229
|
-
})));
|
|
230
|
-
});
|
|
231
|
-
process.env.NODE_ENV !== "production" && (oe.displayName = "Segmented");
|
|
232
|
-
var Ae = oe;
|
|
233
|
-
function ee(e, t) {
|
|
234
|
-
return {
|
|
235
|
-
[`${e}, ${e}:hover, ${e}:focus`]: {
|
|
236
|
-
color: t.colorTextDisabled,
|
|
237
|
-
cursor: "not-allowed"
|
|
238
|
-
}
|
|
239
|
-
};
|
|
240
|
-
}
|
|
241
|
-
function te(e) {
|
|
242
|
-
return {
|
|
243
|
-
backgroundColor: e.itemSelectedBg,
|
|
244
|
-
boxShadow: e.boxShadowTertiary
|
|
245
|
-
};
|
|
246
|
-
}
|
|
247
|
-
const Be = Object.assign({
|
|
248
|
-
overflow: "hidden"
|
|
249
|
-
}, Oe), ze = (e) => {
|
|
250
|
-
const {
|
|
251
|
-
componentCls: t
|
|
252
|
-
} = e, n = e.calc(e.controlHeight).sub(e.calc(e.trackPadding).mul(2)).equal(), a = e.calc(e.controlHeightLG).sub(e.calc(e.trackPadding).mul(2)).equal(), o = e.calc(e.controlHeightSM).sub(e.calc(e.trackPadding).mul(2)).equal();
|
|
253
|
-
return {
|
|
254
|
-
[t]: Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, xe(e)), {
|
|
255
|
-
display: "inline-block",
|
|
256
|
-
padding: e.trackPadding,
|
|
257
|
-
color: e.itemColor,
|
|
258
|
-
background: e.trackBg,
|
|
259
|
-
borderRadius: e.borderRadius,
|
|
260
|
-
transition: `all ${e.motionDurationMid} ${e.motionEaseInOut}`
|
|
261
|
-
}), Ne(e)), {
|
|
262
|
-
[`${t}-group`]: {
|
|
263
|
-
position: "relative",
|
|
264
|
-
display: "flex",
|
|
265
|
-
alignItems: "stretch",
|
|
266
|
-
justifyItems: "flex-start",
|
|
267
|
-
flexDirection: "row",
|
|
268
|
-
width: "100%"
|
|
269
|
-
},
|
|
270
|
-
// RTL styles
|
|
271
|
-
[`&${t}-rtl`]: {
|
|
272
|
-
direction: "rtl"
|
|
273
|
-
},
|
|
274
|
-
[`&${t}-vertical`]: {
|
|
275
|
-
[`${t}-group`]: {
|
|
276
|
-
flexDirection: "column"
|
|
277
|
-
},
|
|
278
|
-
[`${t}-thumb`]: {
|
|
279
|
-
width: "100%",
|
|
280
|
-
height: 0,
|
|
281
|
-
padding: `0 ${E(e.paddingXXS)}`
|
|
282
|
-
}
|
|
283
|
-
},
|
|
284
|
-
// block styles
|
|
285
|
-
[`&${t}-block`]: {
|
|
286
|
-
display: "flex"
|
|
287
|
-
},
|
|
288
|
-
[`&${t}-block ${t}-item`]: {
|
|
289
|
-
flex: 1,
|
|
290
|
-
minWidth: 0
|
|
291
|
-
},
|
|
292
|
-
// item styles
|
|
293
|
-
[`${t}-item`]: {
|
|
294
|
-
position: "relative",
|
|
295
|
-
textAlign: "center",
|
|
296
|
-
cursor: "pointer",
|
|
297
|
-
transition: `color ${e.motionDurationMid} ${e.motionEaseInOut}`,
|
|
298
|
-
borderRadius: e.borderRadiusSM,
|
|
299
|
-
// Fix Safari render bug
|
|
300
|
-
// https://github.com/ant-design/ant-design/issues/45250
|
|
301
|
-
transform: "translateZ(0)",
|
|
302
|
-
"&-selected": Object.assign(Object.assign({}, te(e)), {
|
|
303
|
-
color: e.itemSelectedColor
|
|
304
|
-
}),
|
|
305
|
-
"&-focused": Object.assign({}, Re(e)),
|
|
306
|
-
"&::after": {
|
|
307
|
-
content: '""',
|
|
308
|
-
position: "absolute",
|
|
309
|
-
zIndex: -1,
|
|
310
|
-
width: "100%",
|
|
311
|
-
height: "100%",
|
|
312
|
-
top: 0,
|
|
313
|
-
insetInlineStart: 0,
|
|
314
|
-
borderRadius: "inherit",
|
|
315
|
-
opacity: 0,
|
|
316
|
-
transition: `opacity ${e.motionDurationMid}`,
|
|
317
|
-
// This is mandatory to make it not clickable or hoverable
|
|
318
|
-
// Ref: https://github.com/ant-design/ant-design/issues/40888
|
|
319
|
-
pointerEvents: "none"
|
|
320
|
-
},
|
|
321
|
-
[`&:hover:not(${t}-item-selected):not(${t}-item-disabled)`]: {
|
|
322
|
-
color: e.itemHoverColor,
|
|
323
|
-
"&::after": {
|
|
324
|
-
opacity: 1,
|
|
325
|
-
backgroundColor: e.itemHoverBg
|
|
326
|
-
}
|
|
327
|
-
},
|
|
328
|
-
[`&:active:not(${t}-item-selected):not(${t}-item-disabled)`]: {
|
|
329
|
-
color: e.itemHoverColor,
|
|
330
|
-
"&::after": {
|
|
331
|
-
opacity: 1,
|
|
332
|
-
backgroundColor: e.itemActiveBg
|
|
333
|
-
}
|
|
334
|
-
},
|
|
335
|
-
"&-label": Object.assign({
|
|
336
|
-
minHeight: n,
|
|
337
|
-
lineHeight: E(n),
|
|
338
|
-
padding: `0 ${E(e.segmentedPaddingHorizontal)}`
|
|
339
|
-
}, Be),
|
|
340
|
-
// syntactic sugar to add `icon` for Segmented Item
|
|
341
|
-
"&-icon + *": {
|
|
342
|
-
marginInlineStart: e.calc(e.marginSM).div(2).equal()
|
|
343
|
-
},
|
|
344
|
-
"&-input": {
|
|
345
|
-
position: "absolute",
|
|
346
|
-
insetBlockStart: 0,
|
|
347
|
-
insetInlineStart: 0,
|
|
348
|
-
width: 0,
|
|
349
|
-
height: 0,
|
|
350
|
-
opacity: 0,
|
|
351
|
-
pointerEvents: "none"
|
|
352
|
-
}
|
|
353
|
-
},
|
|
354
|
-
// thumb styles
|
|
355
|
-
[`${t}-thumb`]: Object.assign(Object.assign({}, te(e)), {
|
|
356
|
-
position: "absolute",
|
|
357
|
-
insetBlockStart: 0,
|
|
358
|
-
insetInlineStart: 0,
|
|
359
|
-
width: 0,
|
|
360
|
-
height: "100%",
|
|
361
|
-
padding: `${E(e.paddingXXS)} 0`,
|
|
362
|
-
borderRadius: e.borderRadiusSM,
|
|
363
|
-
transition: `transform ${e.motionDurationSlow} ${e.motionEaseInOut}, height ${e.motionDurationSlow} ${e.motionEaseInOut}`,
|
|
364
|
-
[`& ~ ${t}-item:not(${t}-item-selected):not(${t}-item-disabled)::after`]: {
|
|
365
|
-
backgroundColor: "transparent"
|
|
366
|
-
}
|
|
367
|
-
}),
|
|
368
|
-
// size styles
|
|
369
|
-
[`&${t}-lg`]: {
|
|
370
|
-
borderRadius: e.borderRadiusLG,
|
|
371
|
-
[`${t}-item-label`]: {
|
|
372
|
-
minHeight: a,
|
|
373
|
-
lineHeight: E(a),
|
|
374
|
-
padding: `0 ${E(e.segmentedPaddingHorizontal)}`,
|
|
375
|
-
fontSize: e.fontSizeLG
|
|
376
|
-
},
|
|
377
|
-
[`${t}-item, ${t}-thumb`]: {
|
|
378
|
-
borderRadius: e.borderRadius
|
|
379
|
-
}
|
|
380
|
-
},
|
|
381
|
-
[`&${t}-sm`]: {
|
|
382
|
-
borderRadius: e.borderRadiusSM,
|
|
383
|
-
[`${t}-item-label`]: {
|
|
384
|
-
minHeight: o,
|
|
385
|
-
lineHeight: E(o),
|
|
386
|
-
padding: `0 ${E(e.segmentedPaddingHorizontalSM)}`
|
|
387
|
-
},
|
|
388
|
-
[`${t}-item, ${t}-thumb`]: {
|
|
389
|
-
borderRadius: e.borderRadiusXS
|
|
390
|
-
}
|
|
391
|
-
}
|
|
392
|
-
}), ee(`&-disabled ${t}-item`, e)), ee(`${t}-item-disabled`, e)), {
|
|
393
|
-
// transition effect when `appear-active`
|
|
394
|
-
[`${t}-thumb-motion-appear-active`]: {
|
|
395
|
-
transition: `transform ${e.motionDurationSlow} ${e.motionEaseInOut}, width ${e.motionDurationSlow} ${e.motionEaseInOut}`,
|
|
396
|
-
willChange: "transform, width"
|
|
397
|
-
},
|
|
398
|
-
[`&${t}-shape-round`]: {
|
|
399
|
-
borderRadius: 9999,
|
|
400
|
-
[`${t}-item, ${t}-thumb`]: {
|
|
401
|
-
borderRadius: 9999
|
|
402
|
-
}
|
|
403
|
-
}
|
|
404
|
-
})
|
|
405
|
-
};
|
|
406
|
-
}, _e = (e) => {
|
|
407
|
-
const {
|
|
408
|
-
colorTextLabel: t,
|
|
409
|
-
colorText: n,
|
|
410
|
-
colorFillSecondary: a,
|
|
411
|
-
colorBgElevated: o,
|
|
412
|
-
colorFill: s,
|
|
413
|
-
lineWidthBold: S,
|
|
414
|
-
colorBgLayout: h
|
|
415
|
-
} = e;
|
|
416
|
-
return {
|
|
417
|
-
trackPadding: S,
|
|
418
|
-
trackBg: h,
|
|
419
|
-
itemColor: t,
|
|
420
|
-
itemHoverColor: n,
|
|
421
|
-
itemHoverBg: a,
|
|
422
|
-
itemSelectedBg: o,
|
|
423
|
-
itemActiveBg: s,
|
|
424
|
-
itemSelectedColor: n
|
|
425
|
-
};
|
|
426
|
-
}, Te = Ce("Segmented", (e) => {
|
|
427
|
-
const {
|
|
428
|
-
lineWidth: t,
|
|
429
|
-
calc: n
|
|
430
|
-
} = e, a = we(e, {
|
|
431
|
-
segmentedPaddingHorizontal: n(e.controlPaddingHorizontal).sub(t).equal(),
|
|
432
|
-
segmentedPaddingHorizontalSM: n(e.controlPaddingHorizontalSM).sub(t).equal()
|
|
433
|
-
});
|
|
434
|
-
return [ze(a)];
|
|
435
|
-
}, _e);
|
|
436
|
-
var ae = function(e, t) {
|
|
437
|
-
var n = {};
|
|
438
|
-
for (var a in e) Object.prototype.hasOwnProperty.call(e, a) && t.indexOf(a) < 0 && (n[a] = e[a]);
|
|
439
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var o = 0, a = Object.getOwnPropertySymbols(e); o < a.length; o++)
|
|
440
|
-
t.indexOf(a[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, a[o]) && (n[a[o]] = e[a[o]]);
|
|
441
|
-
return n;
|
|
442
|
-
};
|
|
443
|
-
function Ke(e) {
|
|
444
|
-
return typeof e == "object" && !!(e != null && e.icon);
|
|
445
|
-
}
|
|
446
|
-
const Fe = /* @__PURE__ */ i.forwardRef((e, t) => {
|
|
447
|
-
const n = Ie(), {
|
|
448
|
-
prefixCls: a,
|
|
449
|
-
className: o,
|
|
450
|
-
rootClassName: s,
|
|
451
|
-
block: S,
|
|
452
|
-
options: h = [],
|
|
453
|
-
size: b = "middle",
|
|
454
|
-
style: w,
|
|
455
|
-
vertical: d,
|
|
456
|
-
shape: N = "default",
|
|
457
|
-
name: H = n
|
|
458
|
-
} = e, R = ae(e, ["prefixCls", "className", "rootClassName", "block", "options", "size", "style", "vertical", "shape", "name"]), {
|
|
459
|
-
getPrefixCls: v,
|
|
460
|
-
direction: O,
|
|
461
|
-
className: M,
|
|
462
|
-
style: P
|
|
463
|
-
} = Me("segmented"), m = v("segmented", a), [r, I, T] = Te(m), g = je(b), l = i.useMemo(() => h.map(($) => {
|
|
464
|
-
if (Ke($)) {
|
|
465
|
-
const {
|
|
466
|
-
icon: K,
|
|
467
|
-
label: V
|
|
468
|
-
} = $, F = ae($, ["icon", "label"]);
|
|
469
|
-
return Object.assign(Object.assign({}, F), {
|
|
470
|
-
label: /* @__PURE__ */ i.createElement(i.Fragment, null, /* @__PURE__ */ i.createElement("span", {
|
|
471
|
-
className: `${m}-item-icon`
|
|
472
|
-
}, K), V && /* @__PURE__ */ i.createElement("span", null, V))
|
|
473
|
-
});
|
|
474
|
-
}
|
|
475
|
-
return $;
|
|
476
|
-
}), [h, m]), D = L(o, s, M, {
|
|
477
|
-
[`${m}-block`]: S,
|
|
478
|
-
[`${m}-sm`]: g === "small",
|
|
479
|
-
[`${m}-lg`]: g === "large",
|
|
480
|
-
[`${m}-vertical`]: d,
|
|
481
|
-
[`${m}-shape-${N}`]: N === "round"
|
|
482
|
-
}, I, T), p = Object.assign(Object.assign({}, P), w);
|
|
483
|
-
return r(/* @__PURE__ */ i.createElement(Ae, Object.assign({}, R, {
|
|
484
|
-
name: H,
|
|
485
|
-
className: D,
|
|
486
|
-
style: p,
|
|
487
|
-
options: l,
|
|
488
|
-
ref: t,
|
|
489
|
-
prefixCls: m,
|
|
490
|
-
direction: O,
|
|
491
|
-
vertical: d
|
|
492
|
-
})));
|
|
493
|
-
}), re = Fe;
|
|
494
|
-
process.env.NODE_ENV !== "production" && (re.displayName = "Segmented");
|
|
495
|
-
const Le = ({ colors: e, borderRadius: t, sizing: n }, a = "primary", o = "active") => `
|
|
496
|
-
&.ant-segmented {
|
|
497
|
-
border-radius: ${t.BorderRadiusMd};
|
|
498
|
-
color: ${e.onsurface.copy};
|
|
499
|
-
|
|
500
|
-
.ant-segmented-item {
|
|
501
|
-
color: ${e[a].text};
|
|
502
|
-
transition: all 0.3s;
|
|
503
|
-
|
|
504
|
-
&-selected {
|
|
505
|
-
background: ${e[a][o]};
|
|
506
|
-
color: ${e[a].textContrast};
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
&:hover {
|
|
510
|
-
color: ${e[a].hover};
|
|
511
|
-
}
|
|
512
|
-
}
|
|
513
|
-
}
|
|
514
|
-
`, Ze = ge(
|
|
515
|
-
re
|
|
516
|
-
)`
|
|
517
|
-
${({ theme: e, type: t = "primary", state: n = "active" }) => Le(e, t, n)}
|
|
518
|
-
`;
|
|
519
|
-
export {
|
|
520
|
-
Ze as SegmentedControls,
|
|
521
|
-
Le as getGenesisClass
|
|
522
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsx as l } from "react/jsx-runtime";
|
|
2
|
-
const d = (e) => /* @__PURE__ */ l(
|
|
3
|
-
"svg",
|
|
4
|
-
{
|
|
5
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6
|
-
width: 20,
|
|
7
|
-
height: 20,
|
|
8
|
-
fill: "none",
|
|
9
|
-
...e,
|
|
10
|
-
children: /* @__PURE__ */ l(
|
|
11
|
-
"path",
|
|
12
|
-
{
|
|
13
|
-
fill: "#222",
|
|
14
|
-
fillRule: "evenodd",
|
|
15
|
-
d: "M5.293 7.293a1 1 0 0 1 1.414 0L10 10.586l3.293-3.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 0-1.414Z",
|
|
16
|
-
clipRule: "evenodd"
|
|
17
|
-
}
|
|
18
|
-
)
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
export {
|
|
22
|
-
d as default
|
|
23
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import c, { useEffect as m } from "react";
|
|
3
|
-
import "../../providers/BreakpointThemeProvider.js";
|
|
4
|
-
import { u as p } from "../../Typography-8BO7aTuQ.js";
|
|
5
|
-
import { TYPE as u } from "../../constants/index.js";
|
|
6
|
-
import i from "./DropdownChevron.js";
|
|
7
|
-
import { SelectWrapper as l, Select as a, SelectDropdown as f, StyledMenuItem as h } from "./styles.js";
|
|
8
|
-
const v = ({
|
|
9
|
-
type: t = u.primary,
|
|
10
|
-
state: r,
|
|
11
|
-
...d
|
|
12
|
-
}) => {
|
|
13
|
-
const { breakpoint: S } = p(), [s, n] = c.useState(!1);
|
|
14
|
-
return m(() => {
|
|
15
|
-
const e = document.createElement("style");
|
|
16
|
-
return e.textContent = `
|
|
17
|
-
.ant-select-dropdown {
|
|
18
|
-
padding: 0px !important;
|
|
19
|
-
}
|
|
20
|
-
`, document.head.appendChild(e), () => {
|
|
21
|
-
document.head.removeChild(e);
|
|
22
|
-
};
|
|
23
|
-
}, []), /* @__PURE__ */ o(l, { $isFocused: s, type: t, children: /* @__PURE__ */ o(
|
|
24
|
-
a,
|
|
25
|
-
{
|
|
26
|
-
...d,
|
|
27
|
-
suffixIcon: /* @__PURE__ */ o(i, {}),
|
|
28
|
-
dropdownRender: (e) => /* @__PURE__ */ o(f, { type: t, state: r, children: /* @__PURE__ */ o(h, { type: t, state: r, children: e }) }),
|
|
29
|
-
onFocus: () => n(!0),
|
|
30
|
-
onBlur: () => n(!1)
|
|
31
|
-
}
|
|
32
|
-
) });
|
|
33
|
-
};
|
|
34
|
-
export {
|
|
35
|
-
v as default
|
|
36
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { jsx as s } from "react/jsx-runtime";
|
|
2
|
-
import { c as m, a as c, s as r, f as u, t as f } from "../../../setup-rcqlwLGQ.js";
|
|
3
|
-
import l from "../Select.js";
|
|
4
|
-
import { STATE as d, TYPE as h } from "../../../constants/index.js";
|
|
5
|
-
import { d as y, i, g as t, v } from "../../../vi.B5EKKJdE-BsDIxc7v.js";
|
|
6
|
-
y("Select", () => {
|
|
7
|
-
const a = [
|
|
8
|
-
{ value: "1", label: "Option 1" },
|
|
9
|
-
{ value: "2", label: "Option 2" },
|
|
10
|
-
{ value: "3", label: "Option 3" }
|
|
11
|
-
];
|
|
12
|
-
afterEach(() => {
|
|
13
|
-
m();
|
|
14
|
-
}), i("renders select component", async () => {
|
|
15
|
-
c(
|
|
16
|
-
/* @__PURE__ */ s(
|
|
17
|
-
l,
|
|
18
|
-
{
|
|
19
|
-
options: a,
|
|
20
|
-
placeholder: "Select an option",
|
|
21
|
-
"data-testid": "select"
|
|
22
|
-
}
|
|
23
|
-
)
|
|
24
|
-
);
|
|
25
|
-
const e = await r.findByText("Select an option");
|
|
26
|
-
t(e).toBeInTheDocument();
|
|
27
|
-
}), i("shows placeholder text", async () => {
|
|
28
|
-
c(
|
|
29
|
-
/* @__PURE__ */ s(l, { options: a, placeholder: "Select an option" })
|
|
30
|
-
);
|
|
31
|
-
const e = await r.findByText("Select an option");
|
|
32
|
-
t(e).toBeInTheDocument();
|
|
33
|
-
}), i("handles selection", async () => {
|
|
34
|
-
const e = v.fn(), o = {
|
|
35
|
-
options: a,
|
|
36
|
-
placeholder: "Select an option",
|
|
37
|
-
onChange: e,
|
|
38
|
-
type: h.primary,
|
|
39
|
-
state: d.active,
|
|
40
|
-
"data-testid": "select"
|
|
41
|
-
}, { getByTestId: n } = c(/* @__PURE__ */ s(l, { ...o })), p = n("select");
|
|
42
|
-
u.mouseDown(p), f.act(() => {
|
|
43
|
-
o.onChange("1", { label: "Option 1", value: "1" });
|
|
44
|
-
}), t(o.onChange).toHaveBeenCalledWith("1", t.anything()), t(p).toBeInTheDocument();
|
|
45
|
-
}), i("has the correct attributes", () => {
|
|
46
|
-
const e = {
|
|
47
|
-
options: a,
|
|
48
|
-
placeholder: "Select an option",
|
|
49
|
-
type: h.primary,
|
|
50
|
-
state: d.active,
|
|
51
|
-
"data-testid": "select"
|
|
52
|
-
}, { getByTestId: o } = c(/* @__PURE__ */ s(l, { ...e })), n = o("select");
|
|
53
|
-
t(n).toHaveClass("ant-select"), t(n).toBeInTheDocument();
|
|
54
|
-
});
|
|
55
|
-
});
|