@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,62 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { Avatar as a } from "./styles.js";
|
|
3
|
-
import "../Badge/styles.js";
|
|
4
|
-
import "../../providers/BreakpointThemeProvider.js";
|
|
5
|
-
import { a as e } from "../../Typography-B2J8CPnt.js";
|
|
6
|
-
import "../Breadcrumb/styles.js";
|
|
7
|
-
import "../Button/styles.js";
|
|
8
|
-
import "../Card/styles.js";
|
|
9
|
-
import "../Checkbox/styles.js";
|
|
10
|
-
import "../DateRangePicker/DateRangePicker.js";
|
|
11
|
-
import "react";
|
|
12
|
-
import "../ErrorBoundaryFallback/styles.js";
|
|
13
|
-
import "../../styles-XuoEGUZZ.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 "../Progress/styles.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 "../Select/styles.js";
|
|
26
|
-
import "../Switch/styles.js";
|
|
27
|
-
import "../../styles-Wpm1RiGr.js";
|
|
28
|
-
import "../Tabs/styles.js";
|
|
29
|
-
import "../Tile/styles.js";
|
|
30
|
-
import "../Toast/styles.js";
|
|
31
|
-
import "../Tooltip/styles.js";
|
|
32
|
-
const N = ({
|
|
33
|
-
size: r = 64,
|
|
34
|
-
shape: o = "circle",
|
|
35
|
-
imageUrl: i,
|
|
36
|
-
altText: p,
|
|
37
|
-
children: m,
|
|
38
|
-
backgroundColor: s = "#00282B"
|
|
39
|
-
}) => typeof m == "string" ? /* @__PURE__ */ t(
|
|
40
|
-
a,
|
|
41
|
-
{
|
|
42
|
-
"data-testid": "avatar",
|
|
43
|
-
shape: o,
|
|
44
|
-
size: r,
|
|
45
|
-
src: i,
|
|
46
|
-
alt: p,
|
|
47
|
-
style: { backgroundColor: s },
|
|
48
|
-
children: /* @__PURE__ */ t(e, { variant: "body2", color: "white", style: { fontWeight: 600 }, children: m })
|
|
49
|
-
}
|
|
50
|
-
) : /* @__PURE__ */ t(
|
|
51
|
-
a,
|
|
52
|
-
{
|
|
53
|
-
"data-testid": "avatar",
|
|
54
|
-
shape: o,
|
|
55
|
-
size: r,
|
|
56
|
-
src: i,
|
|
57
|
-
alt: p
|
|
58
|
-
}
|
|
59
|
-
);
|
|
60
|
-
export {
|
|
61
|
-
N as default
|
|
62
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { a as s } from "../../../setup-aZdxWCJq.js";
|
|
3
|
-
import i from "../Avatar.js";
|
|
4
|
-
describe("<Avatar />", () => {
|
|
5
|
-
let t;
|
|
6
|
-
beforeEach(() => {
|
|
7
|
-
t = {
|
|
8
|
-
imageUrl: "https://lh4.googleusercontent.com/XC0gixA6JwMn7vvYsT2qtoOKPfJuUDKnS0KsCWS2eY0EKg4bgmd46vwQ6MDt29haf-KG8iZ40M1D1pXfPUUWSAtr_Udn0fgdljQDn3qlDHf4yhUUpopObnszdpH6z5oYiA=w1280",
|
|
9
|
-
altText: "User Avatar"
|
|
10
|
-
};
|
|
11
|
-
});
|
|
12
|
-
const r = () => s(/* @__PURE__ */ a(i, { ...t }));
|
|
13
|
-
it("should render avatar image correctly", () => {
|
|
14
|
-
const { getByRole: o } = r(), e = o("img");
|
|
15
|
-
expect(e).toHaveAttribute("src", t.imageUrl), expect(e).toHaveAttribute("alt", t.altText);
|
|
16
|
-
});
|
|
17
|
-
});
|
|
@@ -1,328 +0,0 @@
|
|
|
1
|
-
import { d as re } from "../../styled-components.browser.esm-C47QHsU4.js";
|
|
2
|
-
import * as o from "react";
|
|
3
|
-
import { c as M } from "../../presets-CSXMiWyc.js";
|
|
4
|
-
import { R as ne } from "../../index-CzMIlMTV.js";
|
|
5
|
-
import { g as se, m as ae, j as ie, f as ce, q as le, C as D } from "../../CSSMotionList-DB0khM6h.js";
|
|
6
|
-
import { u as de, r as me } from "../../useBreakpoint-ByLol0R9.js";
|
|
7
|
-
import { d as X } from "../../index-DCopujxC.js";
|
|
8
|
-
import { u as q } from "../../useCSSVarCls-YfJY1twF.js";
|
|
9
|
-
import { u as pe } from "../../useSize-Ct1guc-z.js";
|
|
10
|
-
import { t as ge } from "../../toArray-D5kvYi_U.js";
|
|
11
|
-
import { c as ue } from "../../reactNode-sKPeiqPL.js";
|
|
12
|
-
import { a as ve } from "../../index-BZ050Dyl.js";
|
|
13
|
-
const B = /* @__PURE__ */ o.createContext({}), fe = (e) => {
|
|
14
|
-
const {
|
|
15
|
-
antCls: r,
|
|
16
|
-
componentCls: n,
|
|
17
|
-
iconCls: t,
|
|
18
|
-
avatarBg: a,
|
|
19
|
-
avatarColor: z,
|
|
20
|
-
containerSize: h,
|
|
21
|
-
containerSizeLG: y,
|
|
22
|
-
containerSizeSM: f,
|
|
23
|
-
textFontSize: u,
|
|
24
|
-
textFontSizeLG: x,
|
|
25
|
-
textFontSizeSM: w,
|
|
26
|
-
borderRadius: v,
|
|
27
|
-
borderRadiusLG: m,
|
|
28
|
-
borderRadiusSM: O,
|
|
29
|
-
lineWidth: k,
|
|
30
|
-
lineType: A
|
|
31
|
-
} = e, E = (s, p, P) => ({
|
|
32
|
-
width: s,
|
|
33
|
-
height: s,
|
|
34
|
-
borderRadius: "50%",
|
|
35
|
-
[`&${n}-square`]: {
|
|
36
|
-
borderRadius: P
|
|
37
|
-
},
|
|
38
|
-
[`&${n}-icon`]: {
|
|
39
|
-
fontSize: p,
|
|
40
|
-
[`> ${t}`]: {
|
|
41
|
-
margin: 0
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
return {
|
|
46
|
-
[n]: Object.assign(Object.assign(Object.assign(Object.assign({}, ie(e)), {
|
|
47
|
-
position: "relative",
|
|
48
|
-
display: "inline-flex",
|
|
49
|
-
justifyContent: "center",
|
|
50
|
-
alignItems: "center",
|
|
51
|
-
overflow: "hidden",
|
|
52
|
-
color: z,
|
|
53
|
-
whiteSpace: "nowrap",
|
|
54
|
-
textAlign: "center",
|
|
55
|
-
verticalAlign: "middle",
|
|
56
|
-
background: a,
|
|
57
|
-
border: `${ce(k)} ${A} transparent`,
|
|
58
|
-
"&-image": {
|
|
59
|
-
background: "transparent"
|
|
60
|
-
},
|
|
61
|
-
[`${r}-image-img`]: {
|
|
62
|
-
display: "block"
|
|
63
|
-
}
|
|
64
|
-
}), E(h, u, v)), {
|
|
65
|
-
"&-lg": Object.assign({}, E(y, x, m)),
|
|
66
|
-
"&-sm": Object.assign({}, E(f, w, O)),
|
|
67
|
-
"> img": {
|
|
68
|
-
display: "block",
|
|
69
|
-
width: "100%",
|
|
70
|
-
height: "100%",
|
|
71
|
-
objectFit: "cover"
|
|
72
|
-
}
|
|
73
|
-
})
|
|
74
|
-
};
|
|
75
|
-
}, Se = (e) => {
|
|
76
|
-
const {
|
|
77
|
-
componentCls: r,
|
|
78
|
-
groupBorderColor: n,
|
|
79
|
-
groupOverlapping: t,
|
|
80
|
-
groupSpace: a
|
|
81
|
-
} = e;
|
|
82
|
-
return {
|
|
83
|
-
[`${r}-group`]: {
|
|
84
|
-
display: "inline-flex",
|
|
85
|
-
[r]: {
|
|
86
|
-
borderColor: n
|
|
87
|
-
},
|
|
88
|
-
"> *:not(:first-child)": {
|
|
89
|
-
marginInlineStart: t
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
[`${r}-group-popover`]: {
|
|
93
|
-
[`${r} + ${r}`]: {
|
|
94
|
-
marginInlineStart: a
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
}, he = (e) => {
|
|
99
|
-
const {
|
|
100
|
-
controlHeight: r,
|
|
101
|
-
controlHeightLG: n,
|
|
102
|
-
controlHeightSM: t,
|
|
103
|
-
fontSize: a,
|
|
104
|
-
fontSizeLG: z,
|
|
105
|
-
fontSizeXL: h,
|
|
106
|
-
fontSizeHeading3: y,
|
|
107
|
-
marginXS: f,
|
|
108
|
-
marginXXS: u,
|
|
109
|
-
colorBorderBg: x
|
|
110
|
-
} = e;
|
|
111
|
-
return {
|
|
112
|
-
containerSize: r,
|
|
113
|
-
containerSizeLG: n,
|
|
114
|
-
containerSizeSM: t,
|
|
115
|
-
textFontSize: Math.round((z + h) / 2),
|
|
116
|
-
textFontSizeLG: y,
|
|
117
|
-
textFontSizeSM: a,
|
|
118
|
-
groupSpace: u,
|
|
119
|
-
groupOverlapping: -f,
|
|
120
|
-
groupBorderColor: x
|
|
121
|
-
};
|
|
122
|
-
}, U = se("Avatar", (e) => {
|
|
123
|
-
const {
|
|
124
|
-
colorTextLightSolid: r,
|
|
125
|
-
colorTextPlaceholder: n
|
|
126
|
-
} = e, t = ae(e, {
|
|
127
|
-
avatarBg: n,
|
|
128
|
-
avatarColor: r
|
|
129
|
-
});
|
|
130
|
-
return [fe(t), Se(t)];
|
|
131
|
-
}, he);
|
|
132
|
-
var ye = function(e, r) {
|
|
133
|
-
var n = {};
|
|
134
|
-
for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && r.indexOf(t) < 0 && (n[t] = e[t]);
|
|
135
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function") for (var a = 0, t = Object.getOwnPropertySymbols(e); a < t.length; a++)
|
|
136
|
-
r.indexOf(t[a]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[a]) && (n[t[a]] = e[t[a]]);
|
|
137
|
-
return n;
|
|
138
|
-
};
|
|
139
|
-
const xe = (e, r) => {
|
|
140
|
-
const [n, t] = o.useState(1), [a, z] = o.useState(!1), [h, y] = o.useState(!0), f = o.useRef(null), u = o.useRef(null), x = le(r, f), {
|
|
141
|
-
getPrefixCls: w,
|
|
142
|
-
avatar: v
|
|
143
|
-
} = o.useContext(D), m = o.useContext(B), O = () => {
|
|
144
|
-
if (!u.current || !f.current)
|
|
145
|
-
return;
|
|
146
|
-
const i = u.current.offsetWidth, l = f.current.offsetWidth;
|
|
147
|
-
if (i !== 0 && l !== 0) {
|
|
148
|
-
const {
|
|
149
|
-
gap: S = 4
|
|
150
|
-
} = e;
|
|
151
|
-
S * 2 < l && t(l - S * 2 < i ? (l - S * 2) / i : 1);
|
|
152
|
-
}
|
|
153
|
-
};
|
|
154
|
-
o.useEffect(() => {
|
|
155
|
-
z(!0);
|
|
156
|
-
}, []), o.useEffect(() => {
|
|
157
|
-
y(!0), t(1);
|
|
158
|
-
}, [e.src]), o.useEffect(O, [e.gap]);
|
|
159
|
-
const k = () => {
|
|
160
|
-
const {
|
|
161
|
-
onError: i
|
|
162
|
-
} = e;
|
|
163
|
-
(i == null ? void 0 : i()) !== !1 && y(!1);
|
|
164
|
-
}, {
|
|
165
|
-
prefixCls: A,
|
|
166
|
-
shape: E,
|
|
167
|
-
size: s,
|
|
168
|
-
src: p,
|
|
169
|
-
srcSet: P,
|
|
170
|
-
icon: g,
|
|
171
|
-
className: G,
|
|
172
|
-
rootClassName: V,
|
|
173
|
-
alt: L,
|
|
174
|
-
draggable: I,
|
|
175
|
-
children: C,
|
|
176
|
-
crossOrigin: N
|
|
177
|
-
} = e, b = ye(e, ["prefixCls", "shape", "size", "src", "srcSet", "icon", "className", "rootClassName", "alt", "draggable", "children", "crossOrigin"]), c = pe((i) => {
|
|
178
|
-
var l, S;
|
|
179
|
-
return (S = (l = s ?? (m == null ? void 0 : m.size)) !== null && l !== void 0 ? l : i) !== null && S !== void 0 ? S : "default";
|
|
180
|
-
}), $ = Object.keys(typeof c == "object" ? c || {} : {}).some((i) => ["xs", "sm", "md", "lg", "xl", "xxl"].includes(i)), j = de($), _ = o.useMemo(() => {
|
|
181
|
-
if (typeof c != "object")
|
|
182
|
-
return {};
|
|
183
|
-
const i = me.find((S) => j[S]), l = c[i];
|
|
184
|
-
return l ? {
|
|
185
|
-
width: l,
|
|
186
|
-
height: l,
|
|
187
|
-
fontSize: l && (g || C) ? l / 2 : 18
|
|
188
|
-
} : {};
|
|
189
|
-
}, [j, c]);
|
|
190
|
-
if (process.env.NODE_ENV !== "production") {
|
|
191
|
-
const i = X("Avatar");
|
|
192
|
-
process.env.NODE_ENV !== "production" && i(!(typeof g == "string" && g.length > 2), "breaking", `\`icon\` is using ReactNode instead of string naming in v4. Please check \`${g}\` at https://ant.design/components/icon`);
|
|
193
|
-
}
|
|
194
|
-
const d = w("avatar", A), T = q(d), [K, Q, Y] = U(d, T), Z = M({
|
|
195
|
-
[`${d}-lg`]: c === "large",
|
|
196
|
-
[`${d}-sm`]: c === "small"
|
|
197
|
-
}), W = /* @__PURE__ */ o.isValidElement(p), ee = E || (m == null ? void 0 : m.shape) || "circle", te = M(d, Z, v == null ? void 0 : v.className, `${d}-${ee}`, {
|
|
198
|
-
[`${d}-image`]: W || p && h,
|
|
199
|
-
[`${d}-icon`]: !!g
|
|
200
|
-
}, Y, T, G, V, Q), oe = typeof c == "number" ? {
|
|
201
|
-
width: c,
|
|
202
|
-
height: c,
|
|
203
|
-
fontSize: g ? c / 2 : 18
|
|
204
|
-
} : {};
|
|
205
|
-
let R;
|
|
206
|
-
if (typeof p == "string" && h)
|
|
207
|
-
R = /* @__PURE__ */ o.createElement("img", {
|
|
208
|
-
src: p,
|
|
209
|
-
draggable: I,
|
|
210
|
-
srcSet: P,
|
|
211
|
-
onError: k,
|
|
212
|
-
alt: L,
|
|
213
|
-
crossOrigin: N
|
|
214
|
-
});
|
|
215
|
-
else if (W)
|
|
216
|
-
R = p;
|
|
217
|
-
else if (g)
|
|
218
|
-
R = g;
|
|
219
|
-
else if (a || n !== 1) {
|
|
220
|
-
const i = `scale(${n})`, l = {
|
|
221
|
-
msTransform: i,
|
|
222
|
-
WebkitTransform: i,
|
|
223
|
-
transform: i
|
|
224
|
-
};
|
|
225
|
-
R = /* @__PURE__ */ o.createElement(ne, {
|
|
226
|
-
onResize: O
|
|
227
|
-
}, /* @__PURE__ */ o.createElement("span", {
|
|
228
|
-
className: `${d}-string`,
|
|
229
|
-
ref: u,
|
|
230
|
-
style: Object.assign({}, l)
|
|
231
|
-
}, C));
|
|
232
|
-
} else
|
|
233
|
-
R = /* @__PURE__ */ o.createElement("span", {
|
|
234
|
-
className: `${d}-string`,
|
|
235
|
-
style: {
|
|
236
|
-
opacity: 0
|
|
237
|
-
},
|
|
238
|
-
ref: u
|
|
239
|
-
}, C);
|
|
240
|
-
return delete b.onError, delete b.gap, K(/* @__PURE__ */ o.createElement("span", Object.assign({}, b, {
|
|
241
|
-
style: Object.assign(Object.assign(Object.assign(Object.assign({}, oe), _), v == null ? void 0 : v.style), b.style),
|
|
242
|
-
className: te,
|
|
243
|
-
ref: x
|
|
244
|
-
}), R));
|
|
245
|
-
}, F = /* @__PURE__ */ o.forwardRef(xe);
|
|
246
|
-
process.env.NODE_ENV !== "production" && (F.displayName = "Avatar");
|
|
247
|
-
const H = (e) => {
|
|
248
|
-
const {
|
|
249
|
-
size: r,
|
|
250
|
-
shape: n
|
|
251
|
-
} = o.useContext(B), t = o.useMemo(() => ({
|
|
252
|
-
size: e.size || r,
|
|
253
|
-
shape: e.shape || n
|
|
254
|
-
}), [e.size, e.shape, r, n]);
|
|
255
|
-
return /* @__PURE__ */ o.createElement(B.Provider, {
|
|
256
|
-
value: t
|
|
257
|
-
}, e.children);
|
|
258
|
-
}, Ce = (e) => {
|
|
259
|
-
var r, n, t, a;
|
|
260
|
-
const {
|
|
261
|
-
getPrefixCls: z,
|
|
262
|
-
direction: h
|
|
263
|
-
} = o.useContext(D), {
|
|
264
|
-
prefixCls: y,
|
|
265
|
-
className: f,
|
|
266
|
-
rootClassName: u,
|
|
267
|
-
style: x,
|
|
268
|
-
maxCount: w,
|
|
269
|
-
maxStyle: v,
|
|
270
|
-
size: m,
|
|
271
|
-
shape: O,
|
|
272
|
-
maxPopoverPlacement: k,
|
|
273
|
-
maxPopoverTrigger: A,
|
|
274
|
-
children: E,
|
|
275
|
-
max: s
|
|
276
|
-
} = e;
|
|
277
|
-
if (process.env.NODE_ENV !== "production") {
|
|
278
|
-
const c = X("Avatar.Group");
|
|
279
|
-
[["maxCount", "max={{ count: number }}"], ["maxStyle", "max={{ style: CSSProperties }}"], ["maxPopoverPlacement", "max={{ popover: PopoverProps }}"], ["maxPopoverTrigger", "max={{ popover: PopoverProps }}"]].forEach(($) => {
|
|
280
|
-
let [j, _] = $;
|
|
281
|
-
c.deprecated(!(j in e), j, _);
|
|
282
|
-
});
|
|
283
|
-
}
|
|
284
|
-
const p = z("avatar", y), P = `${p}-group`, g = q(p), [G, V, L] = U(p, g), I = M(P, {
|
|
285
|
-
[`${P}-rtl`]: h === "rtl"
|
|
286
|
-
}, L, g, f, u, V), C = ge(E).map((c, $) => ue(c, {
|
|
287
|
-
// eslint-disable-next-line react/no-array-index-key
|
|
288
|
-
key: `avatar-key-${$}`
|
|
289
|
-
})), N = (s == null ? void 0 : s.count) || w, b = C.length;
|
|
290
|
-
if (N && N < b) {
|
|
291
|
-
const c = C.slice(0, N), $ = C.slice(N, b), j = (s == null ? void 0 : s.style) || v, _ = ((r = s == null ? void 0 : s.popover) === null || r === void 0 ? void 0 : r.trigger) || A || "hover", d = ((n = s == null ? void 0 : s.popover) === null || n === void 0 ? void 0 : n.placement) || k || "top", T = Object.assign(Object.assign({
|
|
292
|
-
content: $
|
|
293
|
-
}, s == null ? void 0 : s.popover), {
|
|
294
|
-
classNames: {
|
|
295
|
-
root: M(`${P}-popover`, (a = (t = s == null ? void 0 : s.popover) === null || t === void 0 ? void 0 : t.classNames) === null || a === void 0 ? void 0 : a.root)
|
|
296
|
-
},
|
|
297
|
-
placement: d,
|
|
298
|
-
trigger: _
|
|
299
|
-
});
|
|
300
|
-
return c.push(/* @__PURE__ */ o.createElement(ve, Object.assign({
|
|
301
|
-
key: "avatar-popover-key",
|
|
302
|
-
destroyTooltipOnHide: !0
|
|
303
|
-
}, T), /* @__PURE__ */ o.createElement(F, {
|
|
304
|
-
style: j
|
|
305
|
-
}, `+${b - N}`))), G(/* @__PURE__ */ o.createElement(H, {
|
|
306
|
-
shape: O,
|
|
307
|
-
size: m
|
|
308
|
-
}, /* @__PURE__ */ o.createElement("div", {
|
|
309
|
-
className: I,
|
|
310
|
-
style: x
|
|
311
|
-
}, c)));
|
|
312
|
-
}
|
|
313
|
-
return G(/* @__PURE__ */ o.createElement(H, {
|
|
314
|
-
shape: O,
|
|
315
|
-
size: m
|
|
316
|
-
}, /* @__PURE__ */ o.createElement("div", {
|
|
317
|
-
className: I,
|
|
318
|
-
style: x
|
|
319
|
-
}, C)));
|
|
320
|
-
}, J = F;
|
|
321
|
-
J.Group = Ce;
|
|
322
|
-
const be = ({ colors: e, borderRadius: r, sizing: n }, t = "primary", a = "active") => "", _e = re(J)`
|
|
323
|
-
${({ theme: e, type: r, state: n }) => be(e, r, n)}
|
|
324
|
-
`;
|
|
325
|
-
export {
|
|
326
|
-
_e as Avatar,
|
|
327
|
-
be as getGenesisClass
|
|
328
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import { Badge as e } from "./styles.js";
|
|
3
|
-
import "../Avatar/styles.js";
|
|
4
|
-
import "../Breadcrumb/styles.js";
|
|
5
|
-
import "../../providers/BreakpointThemeProvider.js";
|
|
6
|
-
import { u as a, a as d } from "../../Typography-B2J8CPnt.js";
|
|
7
|
-
import "../Button/styles.js";
|
|
8
|
-
import "../Card/styles.js";
|
|
9
|
-
import "../Checkbox/styles.js";
|
|
10
|
-
import "../DateRangePicker/DateRangePicker.js";
|
|
11
|
-
import "react";
|
|
12
|
-
import "../ErrorBoundaryFallback/styles.js";
|
|
13
|
-
import "../../styles-XuoEGUZZ.js";
|
|
14
|
-
import "../Layout/Content/styles.js";
|
|
15
|
-
import "../Message/styles.js";
|
|
16
|
-
import "../Notification/NotificationBadge/styles.js";
|
|
17
|
-
import { getBadgeStateIcon as s } from "../../utils/icon-util.js";
|
|
18
|
-
import "../Notification/styles.js";
|
|
19
|
-
import "../../styles-DNay6iFa.js";
|
|
20
|
-
import "../Progress/styles.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 "../Select/styles.js";
|
|
27
|
-
import "../Switch/styles.js";
|
|
28
|
-
import "../../styles-Wpm1RiGr.js";
|
|
29
|
-
import "../Tabs/styles.js";
|
|
30
|
-
import "../Tile/styles.js";
|
|
31
|
-
import "../Toast/styles.js";
|
|
32
|
-
import "../Tooltip/styles.js";
|
|
33
|
-
const n = !1, P = ({ label: r, state: o = "info", isDisabled: t, ...p }) => {
|
|
34
|
-
const { theme: i } = a();
|
|
35
|
-
return r ? /* @__PURE__ */ m(
|
|
36
|
-
e,
|
|
37
|
-
{
|
|
38
|
-
label: r,
|
|
39
|
-
role: "badge",
|
|
40
|
-
state: o,
|
|
41
|
-
disabled: t,
|
|
42
|
-
...p,
|
|
43
|
-
children: /* @__PURE__ */ m(
|
|
44
|
-
d,
|
|
45
|
-
{
|
|
46
|
-
variant: "label2",
|
|
47
|
-
color: t ? i.colors.status.disabled.default : i.colors.status[o].onsurface,
|
|
48
|
-
isDisabled: t,
|
|
49
|
-
children: r
|
|
50
|
-
}
|
|
51
|
-
)
|
|
52
|
-
}
|
|
53
|
-
) : /* @__PURE__ */ m(
|
|
54
|
-
e,
|
|
55
|
-
{
|
|
56
|
-
label: r,
|
|
57
|
-
role: "badge",
|
|
58
|
-
state: o,
|
|
59
|
-
disabled: t,
|
|
60
|
-
...p,
|
|
61
|
-
children: s(
|
|
62
|
-
o,
|
|
63
|
-
i.colors.status[o].onsurface,
|
|
64
|
-
n
|
|
65
|
-
)
|
|
66
|
-
}
|
|
67
|
-
);
|
|
68
|
-
};
|
|
69
|
-
export {
|
|
70
|
-
P as default
|
|
71
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { s as n, a as s } from "../../../setup-aZdxWCJq.js";
|
|
3
|
-
import a from "../Badge.js";
|
|
4
|
-
describe("<Badge />", () => {
|
|
5
|
-
let e;
|
|
6
|
-
beforeEach(() => {
|
|
7
|
-
e = {
|
|
8
|
-
label: "Hello"
|
|
9
|
-
};
|
|
10
|
-
});
|
|
11
|
-
const r = () => s(/* @__PURE__ */ t(a, { ...e }));
|
|
12
|
-
it("should render the Badge component", () => {
|
|
13
|
-
r();
|
|
14
|
-
const o = n.getByRole("badge");
|
|
15
|
-
expect(o).toBeInTheDocument();
|
|
16
|
-
});
|
|
17
|
-
});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { BreadcrumbWrapper as s, Breadcrumb as i } from "./styles.js";
|
|
3
|
-
import "../../providers/BreakpointThemeProvider.js";
|
|
4
|
-
import { u as m } from "../../Typography-B2J8CPnt.js";
|
|
5
|
-
const c = ({ items: e, isDisabled: a = !1 }) => {
|
|
6
|
-
const { breakpoint: o } = m();
|
|
7
|
-
return /* @__PURE__ */ r(s, { $isDisabled: a, children: /* @__PURE__ */ r(i, { items: e, breakpoint: o, role: "navigation" }) });
|
|
8
|
-
};
|
|
9
|
-
export {
|
|
10
|
-
c as default
|
|
11
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
-
import { a as s, s as c } from "../../../setup-aZdxWCJq.js";
|
|
3
|
-
import m from "../Breadcrumb.js";
|
|
4
|
-
const n = [
|
|
5
|
-
{ title: "Home", href: "/" },
|
|
6
|
-
{ title: "Products", href: "/products" },
|
|
7
|
-
{ title: "Current Page", href: "/products/current" }
|
|
8
|
-
];
|
|
9
|
-
describe("<Breadcrumb />", () => {
|
|
10
|
-
let e;
|
|
11
|
-
beforeEach(() => {
|
|
12
|
-
e = {
|
|
13
|
-
items: n,
|
|
14
|
-
isDisabled: !1
|
|
15
|
-
};
|
|
16
|
-
});
|
|
17
|
-
const r = () => s(/* @__PURE__ */ o(m, { ...e }));
|
|
18
|
-
it("should render the Breadcrumb component", () => {
|
|
19
|
-
r();
|
|
20
|
-
const t = c.getByRole("navigation");
|
|
21
|
-
expect(t).toBeInTheDocument();
|
|
22
|
-
});
|
|
23
|
-
});
|