@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,171 +0,0 @@
|
|
|
1
|
-
import { jsxs as s, Fragment as T, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useState as u, useMemo as x } from "react";
|
|
3
|
-
import { F as P, a as c, d as a } from "../../../Typography-B2J8CPnt.js";
|
|
4
|
-
import "../../Avatar/styles.js";
|
|
5
|
-
import "../../Badge/styles.js";
|
|
6
|
-
import "../../../providers/BreakpointThemeProvider.js";
|
|
7
|
-
import "../../Breadcrumb/styles.js";
|
|
8
|
-
import p from "../../Button/Button.js";
|
|
9
|
-
import V from "../../Card/Card.js";
|
|
10
|
-
import k from "../../Checkbox/Checkbox.js";
|
|
11
|
-
import "../../DateRangePicker/DateRangePicker.js";
|
|
12
|
-
import "../../ErrorBoundaryFallback/styles.js";
|
|
13
|
-
import d from "../../Input/Input.js";
|
|
14
|
-
import "../../Layout/Content/styles.js";
|
|
15
|
-
import "../../Message/styles.js";
|
|
16
|
-
import "../../Notification/NotificationBadge/styles.js";
|
|
17
|
-
import "../../Notification/styles.js";
|
|
18
|
-
import "../../../styles-DNay6iFa.js";
|
|
19
|
-
import S from "../../Progress/Progress.js";
|
|
20
|
-
import "../../Row/styles.js";
|
|
21
|
-
import "../../../styles/global-styles.js";
|
|
22
|
-
import "../../Row/RowLabelValue/styles.js";
|
|
23
|
-
import "../../Row/RowActions/styles.js";
|
|
24
|
-
import "../../SegmentedControls/styles.js";
|
|
25
|
-
import I from "../../Select/Select.js";
|
|
26
|
-
import "../../Switch/styles.js";
|
|
27
|
-
import { S as h } from "../../../styles-Wpm1RiGr.js";
|
|
28
|
-
import "../../Tabs/styles.js";
|
|
29
|
-
import "../../Tile/styles.js";
|
|
30
|
-
import "../../Toast/styles.js";
|
|
31
|
-
import "../../Tooltip/styles.js";
|
|
32
|
-
import { F as v } from "../../../index-CupwdUIJ.js";
|
|
33
|
-
const N = [
|
|
34
|
-
{ value: "sedan_tesla_3", label: "Tesla Model 3", isEv: !0 },
|
|
35
|
-
{ value: "suv_tesla_y", label: "Tesla Model Y", isEv: !0 },
|
|
36
|
-
{ value: "sedan_lucid", label: "Lucid Air", isEv: !0 },
|
|
37
|
-
{ value: "sedan_camry", label: "Toyota Camry", isEv: !1 },
|
|
38
|
-
{ value: "suv_rav4", label: "Toyota RAV4", isEv: !1 },
|
|
39
|
-
{ value: "pickup_f150", label: "Ford F-150", isEv: !1 },
|
|
40
|
-
{ value: "van_transit", label: "Ford Transit", isEv: !1 },
|
|
41
|
-
{ value: "suv_highlander", label: "Toyota Highlander", isEv: !1 },
|
|
42
|
-
{ value: "sedan_accord", label: "Honda Accord", isEv: !1 },
|
|
43
|
-
{ value: "suv_crv", label: "Honda CR-V", isEv: !1 },
|
|
44
|
-
{ value: "other_ev", label: "Other EV", isEv: !0 },
|
|
45
|
-
{ value: "other_ice", label: "Other ICE", isEv: !1 }
|
|
46
|
-
], ce = () => {
|
|
47
|
-
const [b, f] = u({
|
|
48
|
-
value: 0,
|
|
49
|
-
status: "success",
|
|
50
|
-
text: null
|
|
51
|
-
}), [o, i] = u(null), [r] = v.useForm(), g = (l) => {
|
|
52
|
-
console.log("Success:", l), i(l);
|
|
53
|
-
}, y = (l) => {
|
|
54
|
-
console.log("Failed:", l);
|
|
55
|
-
}, F = () => {
|
|
56
|
-
r.resetFields(), i(null);
|
|
57
|
-
}, n = v.useWatch("isEv", r), E = x(
|
|
58
|
-
() => N.filter((l) => n ? l.isEv : !0),
|
|
59
|
-
[n]
|
|
60
|
-
), C = () => {
|
|
61
|
-
const l = ["email", "routeNumber"], t = r.getFieldsValue(), _ = l.length;
|
|
62
|
-
return l.filter(
|
|
63
|
-
(m) => t[m] !== void 0 && t[m] !== ""
|
|
64
|
-
).length / _ * 100;
|
|
65
|
-
};
|
|
66
|
-
return /* @__PURE__ */ s(T, { children: [
|
|
67
|
-
/* @__PURE__ */ s(
|
|
68
|
-
P,
|
|
69
|
-
{
|
|
70
|
-
form: r,
|
|
71
|
-
autoComplete: "off",
|
|
72
|
-
initialValues: { remember: !0 },
|
|
73
|
-
onFinish: g,
|
|
74
|
-
onFinishFailed: y,
|
|
75
|
-
onValuesChange: () => {
|
|
76
|
-
f({
|
|
77
|
-
text: null,
|
|
78
|
-
value: C(),
|
|
79
|
-
status: r.getFieldsError().some((l) => l.errors.length > 0) ? "error" : "success"
|
|
80
|
-
});
|
|
81
|
-
},
|
|
82
|
-
children: [
|
|
83
|
-
/* @__PURE__ */ e(V, { cover: /* @__PURE__ */ e("img", { alt: "driver check in", src: "/gobolt_warehouse.png" }), children: /* @__PURE__ */ e(c, { variant: "heading2", children: "Driver Check In" }) }),
|
|
84
|
-
/* @__PURE__ */ e(
|
|
85
|
-
a,
|
|
86
|
-
{
|
|
87
|
-
label: "What is your email?",
|
|
88
|
-
name: "email",
|
|
89
|
-
rules: [
|
|
90
|
-
{ required: !0, message: "Please input your email!" },
|
|
91
|
-
{ type: "email", message: "Please enter a valid email address!" }
|
|
92
|
-
],
|
|
93
|
-
labelCol: { span: 24 },
|
|
94
|
-
children: /* @__PURE__ */ e(d, {})
|
|
95
|
-
}
|
|
96
|
-
),
|
|
97
|
-
/* @__PURE__ */ e(
|
|
98
|
-
a,
|
|
99
|
-
{
|
|
100
|
-
label: "What is your route number?",
|
|
101
|
-
name: "routeNumber",
|
|
102
|
-
rules: [
|
|
103
|
-
{ required: !0, message: "Please input only numbers" },
|
|
104
|
-
{ pattern: /^[0-9]*$/, message: "Please input numbers only" }
|
|
105
|
-
],
|
|
106
|
-
help: "Please input only numbers",
|
|
107
|
-
labelCol: { span: 24 },
|
|
108
|
-
style: { marginBottom: "48px" },
|
|
109
|
-
children: /* @__PURE__ */ e(
|
|
110
|
-
d,
|
|
111
|
-
{
|
|
112
|
-
placeholder: "Enter a route number",
|
|
113
|
-
type: "number",
|
|
114
|
-
maxLength: 10,
|
|
115
|
-
onKeyPress: (l) => {
|
|
116
|
-
/[0-9]/.test(l.key) || l.preventDefault();
|
|
117
|
-
},
|
|
118
|
-
onChange: (l) => {
|
|
119
|
-
const t = l.target.value.replace(/[^0-9]/g, "");
|
|
120
|
-
r.setFieldValue("routeNumber", t);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
)
|
|
124
|
-
}
|
|
125
|
-
),
|
|
126
|
-
/* @__PURE__ */ e(
|
|
127
|
-
a,
|
|
128
|
-
{
|
|
129
|
-
name: "isEv",
|
|
130
|
-
labelCol: { span: 24 },
|
|
131
|
-
valuePropName: "checked",
|
|
132
|
-
children: /* @__PURE__ */ e(h, { direction: "horizontal", children: /* @__PURE__ */ e(k, { children: "Is your vehicle an EV?" }) })
|
|
133
|
-
}
|
|
134
|
-
),
|
|
135
|
-
/* @__PURE__ */ e(
|
|
136
|
-
a,
|
|
137
|
-
{
|
|
138
|
-
label: "Please select your vehicle type",
|
|
139
|
-
name: "vehicleType",
|
|
140
|
-
rules: [{ required: !1 }],
|
|
141
|
-
labelCol: { span: 24 },
|
|
142
|
-
children: /* @__PURE__ */ e(I, { options: E, placeholder: "Select a vehicle type" })
|
|
143
|
-
}
|
|
144
|
-
),
|
|
145
|
-
/* @__PURE__ */ e(a, { label: null, name: "subscribe", valuePropName: "checked", children: /* @__PURE__ */ s(h, { direction: "horizontal", children: [
|
|
146
|
-
/* @__PURE__ */ e(p, { htmlType: "submit", children: "Check In" }),
|
|
147
|
-
/* @__PURE__ */ e(p, { themeType: "secondary", onClick: F, children: "Reset" }),
|
|
148
|
-
/* @__PURE__ */ e(S, { firstBarData: b })
|
|
149
|
-
] }) })
|
|
150
|
-
]
|
|
151
|
-
}
|
|
152
|
-
),
|
|
153
|
-
o && /* @__PURE__ */ s(
|
|
154
|
-
"div",
|
|
155
|
-
{
|
|
156
|
-
style: {
|
|
157
|
-
marginTop: "20px",
|
|
158
|
-
padding: "10px",
|
|
159
|
-
border: "1px solid #ccc"
|
|
160
|
-
},
|
|
161
|
-
children: [
|
|
162
|
-
/* @__PURE__ */ e(c, { variant: "heading3", children: "Form Values:" }),
|
|
163
|
-
/* @__PURE__ */ e("pre", { children: JSON.stringify(o, null, 2) })
|
|
164
|
-
]
|
|
165
|
-
}
|
|
166
|
-
)
|
|
167
|
-
] });
|
|
168
|
-
};
|
|
169
|
-
export {
|
|
170
|
-
ce as FormStory
|
|
171
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { a as s, s as t } from "../../../setup-aZdxWCJq.js";
|
|
3
|
-
import { F as i } from "../../../Typography-B2J8CPnt.js";
|
|
4
|
-
import { v as e } from "../../../vi.B5EKKJdE-BsDIxc7v.js";
|
|
5
|
-
describe("<Form />", () => {
|
|
6
|
-
let o;
|
|
7
|
-
beforeEach(() => {
|
|
8
|
-
o = {
|
|
9
|
-
onFinish: e.fn(),
|
|
10
|
-
onFinishFailed: e.fn()
|
|
11
|
-
};
|
|
12
|
-
});
|
|
13
|
-
const r = () => s(/* @__PURE__ */ n(i, { ...o }));
|
|
14
|
-
it("should render the form", () => {
|
|
15
|
-
r();
|
|
16
|
-
const m = t.getByRole("form");
|
|
17
|
-
expect(m).toBeInTheDocument();
|
|
18
|
-
});
|
|
19
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { d as t } from "../../styled-components.browser.esm-C47QHsU4.js";
|
|
2
|
-
import { F as o } from "../../index-CupwdUIJ.js";
|
|
3
|
-
const a = t(o)`
|
|
4
|
-
label,
|
|
5
|
-
.ant-form-item-label > label,
|
|
6
|
-
.ant-form-item-required,
|
|
7
|
-
.ant-form-item-row > label {
|
|
8
|
-
height: auto !important;
|
|
9
|
-
}
|
|
10
|
-
`;
|
|
11
|
-
export {
|
|
12
|
-
a as Form
|
|
13
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { FormProps as AntFormProps, FormInstance } from 'antd';
|
|
3
|
-
import { TYPE, STATE } from '../../constants';
|
|
4
|
-
import * as S from "./styles";
|
|
5
|
-
export interface FormProps extends AntFormProps {
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
type?: keyof typeof TYPE;
|
|
8
|
-
state?: keyof typeof STATE;
|
|
9
|
-
}
|
|
10
|
-
export declare const FormItem: (<Values = any>(props: import('antd').FormItemProps<Values>) => React.ReactElement) & {
|
|
11
|
-
useStatus: () => {
|
|
12
|
-
status?: import('antd/es/form/FormItem').ValidateStatus;
|
|
13
|
-
errors: React.ReactNode[];
|
|
14
|
-
warnings: React.ReactNode[];
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
interface GenesisFormProps extends FormProps {
|
|
18
|
-
form?: FormInstance;
|
|
19
|
-
}
|
|
20
|
-
interface FormType extends React.FC<GenesisFormProps> {
|
|
21
|
-
Item: typeof S.Form.Item;
|
|
22
|
-
useForm: typeof S.Form.useForm;
|
|
23
|
-
}
|
|
24
|
-
declare const Form: FormType;
|
|
25
|
-
export default Form;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import "../../providers/BreakpointThemeProvider.js";
|
|
3
|
-
import { u as e } from "../../Typography-B2J8CPnt.js";
|
|
4
|
-
import { Form as o } from "./styles.js";
|
|
5
|
-
const s = o.Item, F = Object.assign(
|
|
6
|
-
({ children: r, ...m }) => {
|
|
7
|
-
const { breakpoint: i } = e();
|
|
8
|
-
return /* @__PURE__ */ t(o, { role: "form", ...m, children: r });
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
Item: s,
|
|
12
|
-
useForm: o.useForm
|
|
13
|
-
}
|
|
14
|
-
);
|
|
15
|
-
export {
|
|
16
|
-
s as FormItem,
|
|
17
|
-
F as default
|
|
18
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const FormStory: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,172 +0,0 @@
|
|
|
1
|
-
import { jsxs as o, Fragment as T, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { useState as u, useMemo as x } from "react";
|
|
3
|
-
import P, { FormItem as t } from "../Form.js";
|
|
4
|
-
import "../../Avatar/styles.js";
|
|
5
|
-
import "../../Badge/styles.js";
|
|
6
|
-
import "../../../providers/BreakpointThemeProvider.js";
|
|
7
|
-
import { a as c } from "../../../Typography-B2J8CPnt.js";
|
|
8
|
-
import "../../Breadcrumb/styles.js";
|
|
9
|
-
import p from "../../Button/Button.js";
|
|
10
|
-
import V from "../../Card/Card.js";
|
|
11
|
-
import k from "../../Checkbox/Checkbox.js";
|
|
12
|
-
import "../../DateRangePicker/DateRangePicker.js";
|
|
13
|
-
import "../../ErrorBoundaryFallback/styles.js";
|
|
14
|
-
import d from "../../Input/Input.js";
|
|
15
|
-
import "../../Layout/Content/styles.js";
|
|
16
|
-
import "../../Message/styles.js";
|
|
17
|
-
import "../../Notification/NotificationBadge/styles.js";
|
|
18
|
-
import "../../Notification/styles.js";
|
|
19
|
-
import "../../../styles-DNay6iFa.js";
|
|
20
|
-
import S from "../../Progress/Progress.js";
|
|
21
|
-
import "../../Row/styles.js";
|
|
22
|
-
import "../../../styles/global-styles.js";
|
|
23
|
-
import "../../Row/RowLabelValue/styles.js";
|
|
24
|
-
import "../../Row/RowActions/styles.js";
|
|
25
|
-
import "../../SegmentedControls/styles.js";
|
|
26
|
-
import I from "../../Select/Select.js";
|
|
27
|
-
import "../../Switch/styles.js";
|
|
28
|
-
import { S as h } from "../../../styles-Wpm1RiGr.js";
|
|
29
|
-
import "../../Tabs/styles.js";
|
|
30
|
-
import "../../Tile/styles.js";
|
|
31
|
-
import "../../Toast/styles.js";
|
|
32
|
-
import "../../Tooltip/styles.js";
|
|
33
|
-
import { F as v } from "../../../index-CupwdUIJ.js";
|
|
34
|
-
const N = [
|
|
35
|
-
{ value: "sedan_tesla_3", label: "Tesla Model 3", isEv: !0 },
|
|
36
|
-
{ value: "suv_tesla_y", label: "Tesla Model Y", isEv: !0 },
|
|
37
|
-
{ value: "sedan_lucid", label: "Lucid Air", isEv: !0 },
|
|
38
|
-
{ value: "sedan_camry", label: "Toyota Camry", isEv: !1 },
|
|
39
|
-
{ value: "suv_rav4", label: "Toyota RAV4", isEv: !1 },
|
|
40
|
-
{ value: "pickup_f150", label: "Ford F-150", isEv: !1 },
|
|
41
|
-
{ value: "van_transit", label: "Ford Transit", isEv: !1 },
|
|
42
|
-
{ value: "suv_highlander", label: "Toyota Highlander", isEv: !1 },
|
|
43
|
-
{ value: "sedan_accord", label: "Honda Accord", isEv: !1 },
|
|
44
|
-
{ value: "suv_crv", label: "Honda CR-V", isEv: !1 },
|
|
45
|
-
{ value: "other_ev", label: "Other EV", isEv: !0 },
|
|
46
|
-
{ value: "other_ice", label: "Other ICE", isEv: !1 }
|
|
47
|
-
], pe = () => {
|
|
48
|
-
const [b, f] = u({
|
|
49
|
-
value: 0,
|
|
50
|
-
status: "success",
|
|
51
|
-
text: null
|
|
52
|
-
}), [s, i] = u(null), [l] = v.useForm(), g = (r) => {
|
|
53
|
-
console.log("Success:", r), i(r);
|
|
54
|
-
}, y = (r) => {
|
|
55
|
-
console.log("Failed:", r);
|
|
56
|
-
}, F = () => {
|
|
57
|
-
l.resetFields(), i(null);
|
|
58
|
-
}, n = v.useWatch("isEv", l), E = x(
|
|
59
|
-
() => N.filter((r) => n ? r.isEv : !0),
|
|
60
|
-
[n]
|
|
61
|
-
), C = () => {
|
|
62
|
-
const r = ["email", "routeNumber"], a = l.getFieldsValue(), _ = r.length;
|
|
63
|
-
return r.filter(
|
|
64
|
-
(m) => a[m] !== void 0 && a[m] !== ""
|
|
65
|
-
).length / _ * 100;
|
|
66
|
-
};
|
|
67
|
-
return /* @__PURE__ */ o(T, { children: [
|
|
68
|
-
/* @__PURE__ */ o(
|
|
69
|
-
P,
|
|
70
|
-
{
|
|
71
|
-
form: l,
|
|
72
|
-
autoComplete: "off",
|
|
73
|
-
initialValues: { remember: !0 },
|
|
74
|
-
onFinish: g,
|
|
75
|
-
onFinishFailed: y,
|
|
76
|
-
onValuesChange: () => {
|
|
77
|
-
f({
|
|
78
|
-
text: null,
|
|
79
|
-
value: C(),
|
|
80
|
-
status: l.getFieldsError().some((r) => r.errors.length > 0) ? "error" : "success"
|
|
81
|
-
});
|
|
82
|
-
},
|
|
83
|
-
children: [
|
|
84
|
-
/* @__PURE__ */ e(V, { cover: /* @__PURE__ */ e("img", { alt: "driver check in", src: "/gobolt_warehouse.png" }), children: /* @__PURE__ */ e(c, { variant: "heading2", children: "Driver Check In" }) }),
|
|
85
|
-
/* @__PURE__ */ e(
|
|
86
|
-
t,
|
|
87
|
-
{
|
|
88
|
-
label: "What is your email?",
|
|
89
|
-
name: "email",
|
|
90
|
-
rules: [
|
|
91
|
-
{ required: !0, message: "Please input your email!" },
|
|
92
|
-
{ type: "email", message: "Please enter a valid email address!" }
|
|
93
|
-
],
|
|
94
|
-
labelCol: { span: 24 },
|
|
95
|
-
children: /* @__PURE__ */ e(d, {})
|
|
96
|
-
}
|
|
97
|
-
),
|
|
98
|
-
/* @__PURE__ */ e(
|
|
99
|
-
t,
|
|
100
|
-
{
|
|
101
|
-
label: "What is your route number?",
|
|
102
|
-
name: "routeNumber",
|
|
103
|
-
rules: [
|
|
104
|
-
{ required: !0, message: "Please input only numbers" },
|
|
105
|
-
{ pattern: /^[0-9]*$/, message: "Please input numbers only" }
|
|
106
|
-
],
|
|
107
|
-
help: "Please input only numbers",
|
|
108
|
-
labelCol: { span: 24 },
|
|
109
|
-
style: { marginBottom: "48px" },
|
|
110
|
-
children: /* @__PURE__ */ e(
|
|
111
|
-
d,
|
|
112
|
-
{
|
|
113
|
-
placeholder: "Enter a route number",
|
|
114
|
-
type: "number",
|
|
115
|
-
maxLength: 10,
|
|
116
|
-
onKeyPress: (r) => {
|
|
117
|
-
/[0-9]/.test(r.key) || r.preventDefault();
|
|
118
|
-
},
|
|
119
|
-
onChange: (r) => {
|
|
120
|
-
const a = r.target.value.replace(/[^0-9]/g, "");
|
|
121
|
-
l.setFieldValue("routeNumber", a);
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
)
|
|
125
|
-
}
|
|
126
|
-
),
|
|
127
|
-
/* @__PURE__ */ e(
|
|
128
|
-
t,
|
|
129
|
-
{
|
|
130
|
-
name: "isEv",
|
|
131
|
-
labelCol: { span: 24 },
|
|
132
|
-
valuePropName: "checked",
|
|
133
|
-
children: /* @__PURE__ */ e(h, { direction: "horizontal", children: /* @__PURE__ */ e(k, { children: "Is your vehicle an EV?" }) })
|
|
134
|
-
}
|
|
135
|
-
),
|
|
136
|
-
/* @__PURE__ */ e(
|
|
137
|
-
t,
|
|
138
|
-
{
|
|
139
|
-
label: "Please select your vehicle type",
|
|
140
|
-
name: "vehicleType",
|
|
141
|
-
rules: [{ required: !1 }],
|
|
142
|
-
labelCol: { span: 24 },
|
|
143
|
-
children: /* @__PURE__ */ e(I, { options: E, placeholder: "Select a vehicle type" })
|
|
144
|
-
}
|
|
145
|
-
),
|
|
146
|
-
/* @__PURE__ */ e(t, { label: null, name: "subscribe", valuePropName: "checked", children: /* @__PURE__ */ o(h, { direction: "horizontal", children: [
|
|
147
|
-
/* @__PURE__ */ e(p, { htmlType: "submit", children: "Check In" }),
|
|
148
|
-
/* @__PURE__ */ e(p, { themeType: "secondary", onClick: F, children: "Reset" }),
|
|
149
|
-
/* @__PURE__ */ e(S, { firstBarData: b })
|
|
150
|
-
] }) })
|
|
151
|
-
]
|
|
152
|
-
}
|
|
153
|
-
),
|
|
154
|
-
s && /* @__PURE__ */ o(
|
|
155
|
-
"div",
|
|
156
|
-
{
|
|
157
|
-
style: {
|
|
158
|
-
marginTop: "20px",
|
|
159
|
-
padding: "10px",
|
|
160
|
-
border: "1px solid #ccc"
|
|
161
|
-
},
|
|
162
|
-
children: [
|
|
163
|
-
/* @__PURE__ */ e(c, { variant: "heading3", children: "Form Values:" }),
|
|
164
|
-
/* @__PURE__ */ e("pre", { children: JSON.stringify(s, null, 2) })
|
|
165
|
-
]
|
|
166
|
-
}
|
|
167
|
-
)
|
|
168
|
-
] });
|
|
169
|
-
};
|
|
170
|
-
export {
|
|
171
|
-
pe as FormStory
|
|
172
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import { a as t, s } from "../../../setup-aZdxWCJq.js";
|
|
3
|
-
import i from "../Form.js";
|
|
4
|
-
import { v as e } from "../../../vi.B5EKKJdE-BsDIxc7v.js";
|
|
5
|
-
describe("<Form />", () => {
|
|
6
|
-
let o;
|
|
7
|
-
beforeEach(() => {
|
|
8
|
-
o = {
|
|
9
|
-
onFinish: e.fn(),
|
|
10
|
-
onFinishFailed: e.fn()
|
|
11
|
-
};
|
|
12
|
-
});
|
|
13
|
-
const r = () => t(/* @__PURE__ */ n(i, { ...o }));
|
|
14
|
-
it("should render the form", () => {
|
|
15
|
-
r();
|
|
16
|
-
const m = s.getByRole("form");
|
|
17
|
-
expect(m).toBeInTheDocument();
|
|
18
|
-
});
|
|
19
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { d as t } from "../../styled-components.browser.esm-C47QHsU4.js";
|
|
2
|
-
import { F as o } from "../../index-CupwdUIJ.js";
|
|
3
|
-
const a = t(o)`
|
|
4
|
-
label,
|
|
5
|
-
.ant-form-item-label > label,
|
|
6
|
-
.ant-form-item-required,
|
|
7
|
-
.ant-form-item-row > label {
|
|
8
|
-
height: auto !important;
|
|
9
|
-
}
|
|
10
|
-
`;
|
|
11
|
-
export {
|
|
12
|
-
a as Form
|
|
13
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { G as a } from "../../iconBase-DSKTHwal.js";
|
|
3
|
-
function o(r) {
|
|
4
|
-
return a({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9" }, child: [] }, { tag: "path", attr: { d: "M10.3 21a1.94 1.94 0 0 0 3.4 0" }, child: [] }, { tag: "path", attr: { d: "M4 2C2.8 3.7 2 5.7 2 8" }, child: [] }, { tag: "path", attr: { d: "M22 8c0-2.3-.8-4.3-2-6" }, child: [] }] })(r);
|
|
5
|
-
}
|
|
6
|
-
const e = ({}) => /* @__PURE__ */ t("div", { "data-testid": "Glyph", children: /* @__PURE__ */ t(o, {}) });
|
|
7
|
-
export {
|
|
8
|
-
e as default
|
|
9
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { d as r } from "../../styled-components.browser.esm-C47QHsU4.js";
|
|
2
|
-
const a = ({ colors: e, borderRadius: s, sizing: t }, i = "primary", o = "active") => `
|
|
3
|
-
.class-name-here {
|
|
4
|
-
}
|
|
5
|
-
`, n = r.div`
|
|
6
|
-
${({ theme: e, type: s, state: t }) => a(e, s, t)}
|
|
7
|
-
`;
|
|
8
|
-
export {
|
|
9
|
-
n as StyledGlyph,
|
|
10
|
-
a as getGenesisClass
|
|
11
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { I as s } from "../../styles-XuoEGUZZ.js";
|
|
3
|
-
import "../../providers/BreakpointThemeProvider.js";
|
|
4
|
-
import { u as e } from "../../Typography-B2J8CPnt.js";
|
|
5
|
-
import { STATE as p } from "../../constants/index.js";
|
|
6
|
-
const b = ({
|
|
7
|
-
state: o = p.active,
|
|
8
|
-
...t
|
|
9
|
-
}) => {
|
|
10
|
-
const { breakpoint: a } = e(), { type: m, ...i } = t;
|
|
11
|
-
return /* @__PURE__ */ r(
|
|
12
|
-
s,
|
|
13
|
-
{
|
|
14
|
-
state: o,
|
|
15
|
-
disabled: o === "disabled" || t.disabled,
|
|
16
|
-
...i
|
|
17
|
-
}
|
|
18
|
-
);
|
|
19
|
-
};
|
|
20
|
-
export {
|
|
21
|
-
b as default
|
|
22
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { a as o, s } from "../../../setup-aZdxWCJq.js";
|
|
3
|
-
import n from "../Input.js";
|
|
4
|
-
import { STATE as p } from "../../../constants/index.js";
|
|
5
|
-
import { d as c, i as a, g as i } from "../../../vi.B5EKKJdE-BsDIxc7v.js";
|
|
6
|
-
c("Input Component", () => {
|
|
7
|
-
a("customRenders input with default props", () => {
|
|
8
|
-
o(/* @__PURE__ */ e(n, {}));
|
|
9
|
-
const t = s.getByRole("textbox");
|
|
10
|
-
i(t).toBeInTheDocument();
|
|
11
|
-
}), a("customRenders input with active state", () => {
|
|
12
|
-
o(/* @__PURE__ */ e(n, { state: p.active }));
|
|
13
|
-
const t = s.getByRole("textbox");
|
|
14
|
-
i(t).toBeEnabled();
|
|
15
|
-
}), a("passes through additional props", () => {
|
|
16
|
-
const t = "Enter text";
|
|
17
|
-
o(/* @__PURE__ */ e(n, { placeholder: t }));
|
|
18
|
-
const r = s.getByPlaceholderText(t);
|
|
19
|
-
i(r).toBeInTheDocument();
|
|
20
|
-
}), a("handles disabled state", () => {
|
|
21
|
-
o(/* @__PURE__ */ e(n, { disabled: !0 }));
|
|
22
|
-
const t = s.getByRole("textbox");
|
|
23
|
-
i(t).toBeDisabled();
|
|
24
|
-
});
|
|
25
|
-
});
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { Content as a } from "./styles.js";
|
|
3
|
-
function s(t) {
|
|
4
|
-
var n, o, r = "";
|
|
5
|
-
if (typeof t == "string" || typeof t == "number") r += t;
|
|
6
|
-
else if (typeof t == "object") if (Array.isArray(t)) for (n = 0; n < t.length; n++) t[n] && (o = s(t[n])) && (r && (r += " "), r += o);
|
|
7
|
-
else for (n in t) t[n] && (r && (r += " "), r += n);
|
|
8
|
-
return r;
|
|
9
|
-
}
|
|
10
|
-
function i() {
|
|
11
|
-
for (var t, n, o = 0, r = ""; o < arguments.length; ) (t = arguments[o++]) && (n = s(t)) && (r && (r += " "), r += n);
|
|
12
|
-
return r;
|
|
13
|
-
}
|
|
14
|
-
const m = ({
|
|
15
|
-
children: t,
|
|
16
|
-
className: n,
|
|
17
|
-
backgroundColor: o,
|
|
18
|
-
isColumn: r,
|
|
19
|
-
style: f
|
|
20
|
-
}) => /* @__PURE__ */ e(
|
|
21
|
-
a,
|
|
22
|
-
{
|
|
23
|
-
className: i(n),
|
|
24
|
-
style: { ...f, backgroundColor: o },
|
|
25
|
-
$isColumn: r,
|
|
26
|
-
children: t
|
|
27
|
-
}
|
|
28
|
-
);
|
|
29
|
-
export {
|
|
30
|
-
m as Content,
|
|
31
|
-
m as default
|
|
32
|
-
};
|