@handijitcom/ui 3.6.1 → 3.8.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 +275 -36
- package/build/chat.cjs +3 -3
- package/build/chat.cjs.map +1 -1
- package/build/chat.css +1 -1
- package/build/chat.js +168 -160
- package/build/chat.js.map +1 -1
- package/build/components/AddToCart/index.cjs +2 -0
- package/build/components/AddToCart/index.cjs.map +1 -0
- package/build/components/AddToCart/index.d.cts +31 -0
- package/build/components/AddToCart/index.d.ts +31 -0
- package/build/components/AddToCart/index.js +62 -0
- package/build/components/AddToCart/index.js.map +1 -0
- package/build/components/AddToCart/style.css +1 -0
- package/build/components/Alert/index.cjs +1 -1
- package/build/components/Alert/index.cjs.map +1 -1
- package/build/components/Alert/index.d.cts +7 -0
- package/build/components/Alert/index.d.ts +7 -0
- package/build/components/Alert/index.js +32 -19
- package/build/components/Alert/index.js.map +1 -1
- package/build/components/Alert/style.css +1 -1
- package/build/components/AppShell/style.css +1 -1
- package/build/components/AppliedFilters/style.css +1 -1
- package/build/components/CodeText/index.cjs.map +1 -1
- package/build/components/CodeText/index.js +11 -11
- package/build/components/CodeText/index.js.map +1 -1
- package/build/components/CommandPalette/style.css +1 -1
- package/build/components/Directory/style.css +1 -1
- package/build/components/EmptyState/style.css +1 -1
- package/build/components/FacetSection/index.cjs +1 -1
- package/build/components/FacetSection/index.cjs.map +1 -1
- package/build/components/FacetSection/index.js +145 -138
- package/build/components/FacetSection/index.js.map +1 -1
- package/build/components/FacetSection/style.css +1 -1
- package/build/components/FacetSidebar/index.cjs +1 -1
- package/build/components/FacetSidebar/index.cjs.map +1 -1
- package/build/components/FacetSidebar/index.js +22 -29
- package/build/components/FacetSidebar/index.js.map +1 -1
- package/build/components/Heading/index.cjs +2 -0
- package/build/components/Heading/index.cjs.map +1 -0
- package/build/components/Heading/index.d.cts +34 -0
- package/build/components/Heading/index.d.ts +34 -0
- package/build/components/Heading/index.js +44 -0
- package/build/components/Heading/index.js.map +1 -0
- package/build/components/Heading/style.css +1 -0
- package/build/components/MegaMenu/index.cjs +1 -1
- package/build/components/MegaMenu/index.cjs.map +1 -1
- package/build/components/MegaMenu/index.d.cts +5 -1
- package/build/components/MegaMenu/index.d.ts +5 -1
- package/build/components/MegaMenu/index.js +131 -111
- package/build/components/MegaMenu/index.js.map +1 -1
- package/build/components/MegaMenu/style.css +1 -1
- package/build/components/Modal/style.css +1 -1
- package/build/components/NotificationCenter/style.css +1 -1
- package/build/components/PageHeader/style.css +1 -1
- package/build/components/PartNumberList/index.cjs +2 -0
- package/build/components/PartNumberList/index.cjs.map +1 -0
- package/build/components/PartNumberList/index.d.cts +30 -0
- package/build/components/PartNumberList/index.d.ts +30 -0
- package/build/components/PartNumberList/index.js +36 -0
- package/build/components/PartNumberList/index.js.map +1 -0
- package/build/components/PartNumberList/style.css +1 -0
- package/build/components/Price/index.cjs +1 -1
- package/build/components/Price/index.cjs.map +1 -1
- package/build/components/Price/index.d.cts +5 -1
- package/build/components/Price/index.d.ts +5 -1
- package/build/components/Price/index.js +31 -32
- package/build/components/Price/index.js.map +1 -1
- package/build/components/Price/style.css +1 -1
- package/build/components/ProductCard/index.cjs +2 -0
- package/build/components/ProductCard/index.cjs.map +1 -0
- package/build/components/ProductCard/index.d.cts +55 -0
- package/build/components/ProductCard/index.d.ts +55 -0
- package/build/components/ProductCard/index.js +58 -0
- package/build/components/ProductCard/index.js.map +1 -0
- package/build/components/ProductCard/style.css +1 -0
- package/build/components/ProductRow/columns.cjs +2 -0
- package/build/components/ProductRow/columns.cjs.map +1 -0
- package/build/components/ProductRow/columns.d.cts +27 -0
- package/build/components/ProductRow/columns.d.ts +27 -0
- package/build/components/ProductRow/columns.js +83 -0
- package/build/components/ProductRow/columns.js.map +1 -0
- package/build/components/ProductRow/index.cjs +2 -0
- package/build/components/ProductRow/index.cjs.map +1 -0
- package/build/components/ProductRow/index.d.cts +25 -0
- package/build/components/ProductRow/index.d.ts +25 -0
- package/build/components/ProductRow/index.js +43 -0
- package/build/components/ProductRow/index.js.map +1 -0
- package/build/components/ProductRow/parts.cjs +2 -0
- package/build/components/ProductRow/parts.cjs.map +1 -0
- package/build/components/ProductRow/parts.d.cts +32 -0
- package/build/components/ProductRow/parts.d.ts +32 -0
- package/build/components/ProductRow/parts.js +31 -0
- package/build/components/ProductRow/parts.js.map +1 -0
- package/build/components/ProductRow/style.css +1 -0
- package/build/components/QuantityStepper/index.cjs +1 -1
- package/build/components/QuantityStepper/index.cjs.map +1 -1
- package/build/components/QuantityStepper/index.js +28 -28
- package/build/components/QuantityStepper/index.js.map +1 -1
- package/build/components/Radio/style.css +1 -1
- package/build/components/SectionHeader/style.css +1 -1
- package/build/components/SpecTable/index.cjs +2 -0
- package/build/components/SpecTable/index.cjs.map +1 -0
- package/build/components/SpecTable/index.d.cts +25 -0
- package/build/components/SpecTable/index.d.ts +25 -0
- package/build/components/SpecTable/index.js +25 -0
- package/build/components/SpecTable/index.js.map +1 -0
- package/build/components/SpecTable/style.css +1 -0
- package/build/components/Stat/index.cjs +1 -1
- package/build/components/Stat/index.cjs.map +1 -1
- package/build/components/Stat/index.d.cts +7 -3
- package/build/components/Stat/index.d.ts +7 -3
- package/build/components/Stat/index.js +61 -66
- package/build/components/Stat/index.js.map +1 -1
- package/build/components/StatCard/StatDelta.cjs +2 -0
- package/build/components/StatCard/StatDelta.cjs.map +1 -0
- package/build/components/StatCard/StatDelta.d.cts +17 -0
- package/build/components/StatCard/StatDelta.d.ts +17 -0
- package/build/components/StatCard/StatDelta.js +45 -0
- package/build/components/StatCard/StatDelta.js.map +1 -0
- package/build/components/StatCard/index.cjs +2 -0
- package/build/components/StatCard/index.cjs.map +1 -0
- package/build/components/StatCard/index.d.cts +36 -0
- package/build/components/StatCard/index.d.ts +36 -0
- package/build/components/StatCard/index.js +60 -0
- package/build/components/StatCard/index.js.map +1 -0
- package/build/components/StatCard/style.css +1 -0
- package/build/components/StatusCell/index.cjs +2 -0
- package/build/components/StatusCell/index.cjs.map +1 -0
- package/build/components/StatusCell/index.d.cts +28 -0
- package/build/components/StatusCell/index.d.ts +28 -0
- package/build/components/StatusCell/index.js +24 -0
- package/build/components/StatusCell/index.js.map +1 -0
- package/build/components/StatusCell/style.css +1 -0
- package/build/components/StockStatus/index.cjs +2 -0
- package/build/components/StockStatus/index.cjs.map +1 -0
- package/build/components/StockStatus/index.d.cts +28 -0
- package/build/components/StockStatus/index.d.ts +28 -0
- package/build/components/StockStatus/index.js +36 -0
- package/build/components/StockStatus/index.js.map +1 -0
- package/build/components/StockStatus/style.css +1 -0
- package/build/components/Table/style.css +1 -1
- package/build/components/Tabs/index.cjs +1 -1
- package/build/components/Tabs/index.cjs.map +1 -1
- package/build/components/Tabs/index.d.cts +26 -1
- package/build/components/Tabs/index.d.ts +26 -1
- package/build/components/Tabs/index.js +140 -112
- package/build/components/Tabs/index.js.map +1 -1
- package/build/components/Tabs/style.css +1 -1
- package/build/components/Text/index.cjs +2 -0
- package/build/components/Text/index.cjs.map +1 -0
- package/build/components/Text/index.d.cts +49 -0
- package/build/components/Text/index.d.ts +49 -0
- package/build/components/Text/index.js +47 -0
- package/build/components/Text/index.js.map +1 -0
- package/build/components/Text/style.css +1 -0
- package/build/components/Tooltip/index.cjs +1 -1
- package/build/components/Tooltip/index.cjs.map +1 -1
- package/build/components/Tooltip/index.js +27 -27
- package/build/components/Tooltip/index.js.map +1 -1
- package/build/components/VehicleTypeList/index.cjs +2 -0
- package/build/components/VehicleTypeList/index.cjs.map +1 -0
- package/build/components/VehicleTypeList/index.d.cts +17 -0
- package/build/components/VehicleTypeList/index.d.ts +17 -0
- package/build/components/VehicleTypeList/index.js +47 -0
- package/build/components/VehicleTypeList/index.js.map +1 -0
- package/build/components/VehicleTypeList/style.css +1 -0
- package/build/design/index.cjs +12 -2
- package/build/design/index.cjs.map +1 -1
- package/build/design/index.d.cts +1 -5
- package/build/design/index.d.mts +1 -5
- package/build/design/index.mjs +12 -2
- package/build/design/index.mjs.map +1 -1
- package/build/design/index.umd.cjs +1 -1
- package/build/design/index.umd.cjs.map +1 -1
- package/build/design/tokens.css +29 -4
- package/build/design/tokens.json +42 -2
- package/build/design/tokens.scss +55 -0
- package/build/helpers/text.helper.cjs +1 -1
- package/build/helpers/text.helper.cjs.map +1 -1
- package/build/helpers/text.helper.d.cts +5 -0
- package/build/helpers/text.helper.d.ts +5 -0
- package/build/helpers/text.helper.js +3 -2
- package/build/helpers/text.helper.js.map +1 -1
- package/build/index.cjs +1 -1
- package/build/index.d.cts +13 -2
- package/build/index.d.ts +13 -2
- package/build/index.js +203 -179
- package/build/index.js.map +1 -1
- package/build/scss/_mixins.scss +101 -13
- package/build/scss/_variables.scss +5 -1
- package/build/styles.css +43 -17
- package/build/types/chat/DescriptionList/index.d.cts +6 -0
- package/build/types/chat/DescriptionList/index.d.ts +6 -0
- package/build/types/stat.type.d.cts +2 -0
- package/build/types/stat.type.d.ts +2 -0
- package/build/types/theme.type.d.cts +25 -0
- package/build/types/theme.type.d.ts +25 -0
- package/build/types/types/theme.type.d.cts +25 -0
- package/build/types/types/theme.type.d.ts +25 -0
- package/package.json +111 -1
package/build/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { default as a } from "./theme/UiProvider.js";
|
|
2
2
|
import { default as o } from "./theme/UiThemeScript.js";
|
|
3
3
|
import { useUi as l } from "./theme/context.js";
|
|
4
|
-
import { THEME_ATTRIBUTE as
|
|
4
|
+
import { THEME_ATTRIBUTE as p, THEME_BOOT_SCRIPT as d, THEME_BOOT_SCRIPT_HASH as s, THEME_STORAGE_KEY as m } from "@handijitcom/ui/design";
|
|
5
5
|
import { hasOpenSurface as i } from "./helpers/focus.helper.js";
|
|
6
6
|
import { default as T } from "./hooks/useAnnounce.js";
|
|
7
7
|
import { default as c } from "./hooks/useUiTheme.js";
|
|
8
|
-
import { default as
|
|
9
|
-
import { default as
|
|
10
|
-
import { default as
|
|
8
|
+
import { default as E } from "./hooks/useUiTokens.js";
|
|
9
|
+
import { default as P } from "./hooks/useStickToBottom.js";
|
|
10
|
+
import { default as I } from "./hooks/useListboxNavigation.js";
|
|
11
11
|
import { default as b } from "./hooks/usePositioning.js";
|
|
12
|
-
import { default as
|
|
13
|
-
import { default as
|
|
12
|
+
import { default as g } from "./hooks/useVirtualList.js";
|
|
13
|
+
import { default as M } from "./enums/ui-variant.enum.js";
|
|
14
14
|
import { default as y } from "./enums/ui-size.enum.js";
|
|
15
|
-
import { ABOVE_MOBILE_MEDIA_QUERY as k, ABOVE_TABLET_MEDIA_QUERY as F, MOBILE_BREAKPOINT as
|
|
15
|
+
import { ABOVE_MOBILE_MEDIA_QUERY as k, ABOVE_TABLET_MEDIA_QUERY as F, MOBILE_BREAKPOINT as L, SHEET_MEDIA_QUERY as U, TABLET_BREAKPOINT as H, TABLET_PORTRAIT_BREAKPOINT as v } from "./constants/breakpoint.constants.js";
|
|
16
16
|
import { matchesSearch as N, normalizeSearchTerm as G } from "./helpers/text.helper.js";
|
|
17
17
|
import { default as Q } from "./components/Button/index.js";
|
|
18
18
|
import { default as Y } from "./components/IconButton/index.js";
|
|
@@ -23,21 +23,21 @@ import { default as ee } from "./components/Popover/index.js";
|
|
|
23
23
|
import { default as ae } from "./components/Chip/index.js";
|
|
24
24
|
import { default as oe } from "./components/ChipGroup/index.js";
|
|
25
25
|
import { default as le } from "./components/Combobox/index.js";
|
|
26
|
-
import { default as
|
|
26
|
+
import { default as pe } from "./components/SegmentedControl/index.js";
|
|
27
27
|
import { default as se } from "./components/Select/index.js";
|
|
28
28
|
import { default as xe } from "./components/Checkbox/index.js";
|
|
29
29
|
import { default as ne } from "./components/Switch/index.js";
|
|
30
30
|
import { default as Se } from "./components/Radio/index.js";
|
|
31
|
-
import { default as
|
|
32
|
-
import { default as
|
|
33
|
-
import { default as
|
|
31
|
+
import { default as Ce } from "./components/RadioCard/index.js";
|
|
32
|
+
import { default as Be } from "./components/RangeSlider/index.js";
|
|
33
|
+
import { default as Ae } from "./components/RatingInput/index.js";
|
|
34
34
|
import { default as Re } from "./components/QuantityStepper/index.js";
|
|
35
35
|
import { default as _e } from "./components/TableCheckbox/index.js";
|
|
36
|
-
import { default as
|
|
36
|
+
import { default as De } from "./components/Input/index.js";
|
|
37
37
|
import { default as he } from "./components/PasswordInput/index.js";
|
|
38
38
|
import { default as Oe } from "./components/ScaledInput/index.js";
|
|
39
39
|
import { default as Fe } from "./components/MoneyInput/index.js";
|
|
40
|
-
import { default as
|
|
40
|
+
import { default as Ue } from "./components/QuantityInput/index.js";
|
|
41
41
|
import { default as ve } from "./components/RateInput/index.js";
|
|
42
42
|
import { default as Ne } from "./components/PercentInput/index.js";
|
|
43
43
|
import { default as Ke } from "./components/TagInput/index.js";
|
|
@@ -45,216 +45,240 @@ import { default as Ve } from "./components/Textarea/index.js";
|
|
|
45
45
|
import { default as ze, DateRange as Je } from "./components/DateField/index.js";
|
|
46
46
|
import { default as qe } from "./components/Field/index.js";
|
|
47
47
|
import { default as Xe } from "./components/FileUpload/index.js";
|
|
48
|
-
import { default as $e } from "./components/
|
|
49
|
-
import { default as tt } from "./components/
|
|
50
|
-
import { default as rt } from "./components/
|
|
51
|
-
import { default as ft } from "./components/
|
|
52
|
-
import { default as
|
|
53
|
-
import { default as
|
|
54
|
-
import { default as Tt } from "./components/
|
|
55
|
-
import { default as ct } from "./components/
|
|
56
|
-
import { default as
|
|
57
|
-
import { default as
|
|
58
|
-
import { default as
|
|
59
|
-
import { default as bt
|
|
60
|
-
import { default as
|
|
61
|
-
import { default as Ot } from "./components/
|
|
62
|
-
import { default as Ft
|
|
63
|
-
import { default as
|
|
64
|
-
import { default as Nt } from "./components/
|
|
65
|
-
import { default as Kt } from "./components/
|
|
66
|
-
import { default as Vt } from "./components/
|
|
67
|
-
import { default as zt
|
|
68
|
-
import { default as
|
|
69
|
-
import { default as $t } from "./components/
|
|
70
|
-
import { default as ta } from "./components/
|
|
71
|
-
import { default as ra
|
|
72
|
-
import { default as
|
|
73
|
-
import { default as ua
|
|
74
|
-
import { default as
|
|
75
|
-
import { default as
|
|
76
|
-
import { default as Ta } from "./components/
|
|
77
|
-
import { default as ca } from "./components/
|
|
78
|
-
import { default as
|
|
79
|
-
import { default as
|
|
80
|
-
import { default as
|
|
81
|
-
import {
|
|
82
|
-
import { default as
|
|
83
|
-
import { default as
|
|
84
|
-
import { default as
|
|
85
|
-
import { default as
|
|
86
|
-
import { default as La } from "./components/
|
|
87
|
-
import { default as
|
|
88
|
-
import { default as
|
|
89
|
-
import { default as
|
|
90
|
-
import { default as
|
|
91
|
-
import { default as
|
|
92
|
-
import { default as
|
|
93
|
-
import { default as
|
|
94
|
-
import { default as
|
|
95
|
-
import { default as
|
|
96
|
-
import { default as
|
|
97
|
-
import {
|
|
98
|
-
import { default as
|
|
99
|
-
import { default as
|
|
100
|
-
import { default as
|
|
101
|
-
import { default as
|
|
102
|
-
import { default as
|
|
103
|
-
import { default as
|
|
104
|
-
import { default as
|
|
105
|
-
import { default as
|
|
106
|
-
import { default as
|
|
107
|
-
import { default as
|
|
108
|
-
import {
|
|
109
|
-
import { default as
|
|
110
|
-
import { default as
|
|
111
|
-
import { default as
|
|
112
|
-
import { default as Hr } from "./components/
|
|
113
|
-
import {
|
|
48
|
+
import { default as $e } from "./components/Heading/index.js";
|
|
49
|
+
import { default as tt } from "./components/Text/index.js";
|
|
50
|
+
import { default as rt } from "./components/Alert/index.js";
|
|
51
|
+
import { default as ft } from "./components/Avatar/index.js";
|
|
52
|
+
import { default as ut } from "./components/Badge/index.js";
|
|
53
|
+
import { default as dt } from "./components/Breadcrumb/index.js";
|
|
54
|
+
import { default as mt, CardBody as xt, CardFooter as it, CardMedia as nt, CardOverlay as Tt } from "./components/Card/index.js";
|
|
55
|
+
import { default as ct } from "./components/Carousel/index.js";
|
|
56
|
+
import { default as Et } from "./components/CodeBadge/index.js";
|
|
57
|
+
import { default as Pt } from "./components/Kbd/index.js";
|
|
58
|
+
import { default as It } from "./components/StatusDot/index.js";
|
|
59
|
+
import { default as bt } from "./components/CopyField/index.js";
|
|
60
|
+
import { default as gt } from "./components/Divider/index.js";
|
|
61
|
+
import { default as Mt, DirectoryGroup as ht, DirectoryJump as yt, DirectoryRow as Ot } from "./components/Directory/index.js";
|
|
62
|
+
import { default as Ft } from "./components/EmptyState/index.js";
|
|
63
|
+
import { default as Ut } from "./components/PageHeader/index.js";
|
|
64
|
+
import { default as vt, PanelForm as wt, PanelRow as Nt } from "./components/Panel/index.js";
|
|
65
|
+
import { default as Kt } from "./components/Price/index.js";
|
|
66
|
+
import { default as Vt } from "./components/Rating/index.js";
|
|
67
|
+
import { default as zt } from "./components/SectionHeader/index.js";
|
|
68
|
+
import { default as jt } from "./components/ScrollArea/index.js";
|
|
69
|
+
import { default as Wt, SkeletonCard as Xt, SkeletonRows as Zt, SkeletonTable as $t } from "./components/Skeleton/index.js";
|
|
70
|
+
import { default as ta } from "./components/Stat/index.js";
|
|
71
|
+
import { default as ra } from "./components/StatCard/index.js";
|
|
72
|
+
import { default as fa } from "./components/SummaryCard/index.js";
|
|
73
|
+
import { default as ua } from "./components/TotalsList/index.js";
|
|
74
|
+
import { default as da, ProgressCircle as sa } from "./components/Progress/index.js";
|
|
75
|
+
import { default as xa } from "./components/Spinner/index.js";
|
|
76
|
+
import { default as na, toast as Ta } from "./components/Toast/index.js";
|
|
77
|
+
import { default as ca } from "./components/ToastPortal/index.js";
|
|
78
|
+
import { default as Ea } from "./components/Accordion/index.js";
|
|
79
|
+
import { default as Pa } from "./components/Disclosure/index.js";
|
|
80
|
+
import { default as Ia } from "./components/Steps/index.js";
|
|
81
|
+
import { default as ba } from "./components/Tabs/index.js";
|
|
82
|
+
import { default as ga } from "./components/Tile/index.js";
|
|
83
|
+
import { default as Ma } from "./components/Timeline/index.js";
|
|
84
|
+
import { default as ya } from "./components/AddToCart/index.js";
|
|
85
|
+
import { default as ka } from "./components/PartNumberList/index.js";
|
|
86
|
+
import { default as La } from "./components/ProductCard/index.js";
|
|
87
|
+
import { default as Ha } from "./components/ProductRow/index.js";
|
|
88
|
+
import { default as wa } from "./components/SpecTable/index.js";
|
|
89
|
+
import { default as Ga } from "./components/StatusCell/index.js";
|
|
90
|
+
import { default as Qa } from "./components/StockStatus/index.js";
|
|
91
|
+
import { default as Ya } from "./components/VehicleTypeList/index.js";
|
|
92
|
+
import { BrandBlueprint as Ja, default as ja } from "./components/BrandSurface/index.js";
|
|
93
|
+
import { default as Wa } from "./components/Eyebrow/index.js";
|
|
94
|
+
import { default as Za } from "./components/StatStrip/index.js";
|
|
95
|
+
import { default as er } from "./components/BottomSheet/index.js";
|
|
96
|
+
import { default as ar } from "./components/Modal/index.js";
|
|
97
|
+
import { default as or } from "./components/CommandPalette/index.js";
|
|
98
|
+
import { default as lr } from "./components/ConfirmDialog/index.js";
|
|
99
|
+
import { default as pr } from "./components/Drawer/index.js";
|
|
100
|
+
import { default as sr } from "./components/PromptDialog/index.js";
|
|
101
|
+
import { default as xr, TableScroller as ir } from "./components/Table/index.js";
|
|
102
|
+
import { default as Tr, DataTableRow as Sr } from "./components/DataTable/index.js";
|
|
103
|
+
import { default as Cr } from "./components/DataTableColumnMenu/index.js";
|
|
104
|
+
import { default as Br } from "./components/Gallery/index.js";
|
|
105
|
+
import { default as Ar } from "./components/TreeSelect/index.js";
|
|
106
|
+
import { default as Rr } from "./components/NotificationCenter/index.js";
|
|
107
|
+
import { default as _r } from "./components/BulkPasteInput/index.js";
|
|
108
|
+
import { parseBulkPaste as Dr } from "./helpers/bulk-paste.helper.js";
|
|
109
|
+
import { default as hr } from "./components/AppShell/index.js";
|
|
110
|
+
import { default as Or } from "./components/UserMenu/index.js";
|
|
111
|
+
import { default as Fr, FilterBarField as Lr } from "./components/FilterBar/index.js";
|
|
112
|
+
import { default as Hr } from "./components/Pagination/index.js";
|
|
113
|
+
import { default as wr } from "./components/FacetSidebar/index.js";
|
|
114
|
+
import { default as Gr } from "./components/FacetSection/index.js";
|
|
115
|
+
import { default as Qr } from "./components/AppliedFilters/index.js";
|
|
116
|
+
import { default as Yr } from "./components/FilterToolbar/index.js";
|
|
117
|
+
import { default as Jr } from "./components/SortableList/index.js";
|
|
118
|
+
import { default as qr } from "./components/CodeText/index.js";
|
|
119
|
+
import { default as Xr } from "./components/BrandLockup/index.js";
|
|
120
|
+
import { default as $r } from "./components/StickyActionBar/index.js";
|
|
121
|
+
import { default as to } from "./components/CompareTray/index.js";
|
|
122
|
+
import { default as ro } from "./components/ProductCarousel/index.js";
|
|
123
|
+
import { default as fo } from "./components/MegaMenu/index.js";
|
|
124
|
+
import { default as uo } from "./components/ProductRow/columns.js";
|
|
125
|
+
import { AppShellNav as so, AppShellNavGroup as mo, AppShellNavItem as xo } from "./components/AppShell/Nav.js";
|
|
114
126
|
export {
|
|
115
127
|
k as ABOVE_MOBILE_MEDIA_QUERY,
|
|
116
128
|
F as ABOVE_TABLET_MEDIA_QUERY,
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
129
|
+
Ea as Accordion,
|
|
130
|
+
ya as AddToCart,
|
|
131
|
+
rt as Alert,
|
|
132
|
+
hr as AppShell,
|
|
133
|
+
so as AppShellNav,
|
|
134
|
+
mo as AppShellNavGroup,
|
|
135
|
+
xo as AppShellNavItem,
|
|
136
|
+
Qr as AppliedFilters,
|
|
137
|
+
ft as Avatar,
|
|
138
|
+
ut as Badge,
|
|
139
|
+
er as BottomSheet,
|
|
140
|
+
Ja as BrandBlueprint,
|
|
141
|
+
Xr as BrandLockup,
|
|
142
|
+
ja as BrandSurface,
|
|
143
|
+
dt as Breadcrumb,
|
|
144
|
+
_r as BulkPasteInput,
|
|
132
145
|
Q as Button,
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
146
|
+
mt as Card,
|
|
147
|
+
xt as CardBody,
|
|
148
|
+
it as CardFooter,
|
|
149
|
+
nt as CardMedia,
|
|
150
|
+
Tt as CardOverlay,
|
|
151
|
+
ct as Carousel,
|
|
139
152
|
xe as Checkbox,
|
|
140
153
|
ae as Chip,
|
|
141
154
|
oe as ChipGroup,
|
|
142
|
-
|
|
143
|
-
|
|
155
|
+
Et as CodeBadge,
|
|
156
|
+
qr as CodeText,
|
|
144
157
|
le as Combobox,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
158
|
+
or as CommandPalette,
|
|
159
|
+
to as CompareTray,
|
|
160
|
+
lr as ConfirmDialog,
|
|
148
161
|
X as ContextMenu,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
162
|
+
bt as CopyField,
|
|
163
|
+
Tr as DataTable,
|
|
164
|
+
Cr as DataTableColumnMenu,
|
|
165
|
+
Sr as DataTableRow,
|
|
153
166
|
ze as DateField,
|
|
154
167
|
Je as DateRange,
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
168
|
+
Mt as Directory,
|
|
169
|
+
ht as DirectoryGroup,
|
|
170
|
+
yt as DirectoryJump,
|
|
171
|
+
Ot as DirectoryRow,
|
|
172
|
+
Pa as Disclosure,
|
|
173
|
+
gt as Divider,
|
|
174
|
+
pr as Drawer,
|
|
175
|
+
Ft as EmptyState,
|
|
176
|
+
Wa as Eyebrow,
|
|
177
|
+
Gr as FacetSection,
|
|
178
|
+
wr as FacetSidebar,
|
|
166
179
|
qe as Field,
|
|
167
180
|
Xe as FileUpload,
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
181
|
+
Fr as FilterBar,
|
|
182
|
+
Lr as FilterBarField,
|
|
183
|
+
Yr as FilterToolbar,
|
|
184
|
+
Br as Gallery,
|
|
185
|
+
$e as Heading,
|
|
172
186
|
Y as IconButton,
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
187
|
+
De as Input,
|
|
188
|
+
Pt as Kbd,
|
|
189
|
+
L as MOBILE_BREAKPOINT,
|
|
190
|
+
fo as MegaMenu,
|
|
177
191
|
Z as Menu,
|
|
178
|
-
|
|
192
|
+
ar as Modal,
|
|
179
193
|
Fe as MoneyInput,
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
194
|
+
Rr as NotificationCenter,
|
|
195
|
+
Ut as PageHeader,
|
|
196
|
+
Hr as Pagination,
|
|
197
|
+
vt as Panel,
|
|
198
|
+
wt as PanelForm,
|
|
199
|
+
Nt as PanelRow,
|
|
200
|
+
ka as PartNumberList,
|
|
186
201
|
he as PasswordInput,
|
|
187
202
|
Ne as PercentInput,
|
|
188
203
|
ee as Popover,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
204
|
+
Kt as Price,
|
|
205
|
+
La as ProductCard,
|
|
206
|
+
ro as ProductCarousel,
|
|
207
|
+
Ha as ProductRow,
|
|
208
|
+
da as Progress,
|
|
209
|
+
sa as ProgressCircle,
|
|
210
|
+
sr as PromptDialog,
|
|
211
|
+
Ue as QuantityInput,
|
|
195
212
|
Re as QuantityStepper,
|
|
196
213
|
Se as Radio,
|
|
197
|
-
|
|
198
|
-
|
|
214
|
+
Ce as RadioCard,
|
|
215
|
+
Be as RangeSlider,
|
|
199
216
|
ve as RateInput,
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
217
|
+
Vt as Rating,
|
|
218
|
+
Ae as RatingInput,
|
|
219
|
+
U as SHEET_MEDIA_QUERY,
|
|
203
220
|
Oe as ScaledInput,
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
221
|
+
jt as ScrollArea,
|
|
222
|
+
zt as SectionHeader,
|
|
223
|
+
pe as SegmentedControl,
|
|
207
224
|
se as Select,
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
225
|
+
Wt as Skeleton,
|
|
226
|
+
Xt as SkeletonCard,
|
|
227
|
+
Zt as SkeletonRows,
|
|
228
|
+
$t as SkeletonTable,
|
|
229
|
+
Jr as SortableList,
|
|
230
|
+
wa as SpecTable,
|
|
231
|
+
xa as Spinner,
|
|
232
|
+
ta as Stat,
|
|
233
|
+
ra as StatCard,
|
|
234
|
+
Za as StatStrip,
|
|
235
|
+
Ga as StatusCell,
|
|
236
|
+
It as StatusDot,
|
|
237
|
+
Ia as Steps,
|
|
238
|
+
$r as StickyActionBar,
|
|
239
|
+
Qa as StockStatus,
|
|
240
|
+
fa as SummaryCard,
|
|
220
241
|
ne as Switch,
|
|
221
242
|
H as TABLET_BREAKPOINT,
|
|
222
243
|
v as TABLET_PORTRAIT_BREAKPOINT,
|
|
223
|
-
|
|
244
|
+
p as THEME_ATTRIBUTE,
|
|
224
245
|
d as THEME_BOOT_SCRIPT,
|
|
225
246
|
s as THEME_BOOT_SCRIPT_HASH,
|
|
226
247
|
m as THEME_STORAGE_KEY,
|
|
227
|
-
|
|
248
|
+
xr as Table,
|
|
228
249
|
_e as TableCheckbox,
|
|
229
|
-
|
|
230
|
-
|
|
250
|
+
ir as TableScroller,
|
|
251
|
+
ba as Tabs,
|
|
231
252
|
Ke as TagInput,
|
|
253
|
+
tt as Text,
|
|
232
254
|
J as TextLink,
|
|
233
255
|
Ve as Textarea,
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
256
|
+
ga as Tile,
|
|
257
|
+
Ma as Timeline,
|
|
258
|
+
na as ToastHub,
|
|
259
|
+
ca as ToastPortal,
|
|
238
260
|
q as Tooltip,
|
|
239
|
-
|
|
240
|
-
|
|
261
|
+
ua as TotalsList,
|
|
262
|
+
Ar as TreeSelect,
|
|
241
263
|
y as UISize,
|
|
242
|
-
|
|
264
|
+
M as UIVariant,
|
|
243
265
|
a as UiProvider,
|
|
244
266
|
o as UiThemeScript,
|
|
245
|
-
|
|
267
|
+
Or as UserMenu,
|
|
268
|
+
Ya as VehicleTypeList,
|
|
246
269
|
i as hasOpenSurface,
|
|
247
270
|
N as matchesSearch,
|
|
248
271
|
G as normalizeSearchTerm,
|
|
249
|
-
|
|
250
|
-
|
|
272
|
+
Dr as parseBulkPaste,
|
|
273
|
+
uo as productColumns,
|
|
274
|
+
Ta as toast,
|
|
251
275
|
T as useAnnounce,
|
|
252
|
-
|
|
276
|
+
I as useListboxNavigation,
|
|
253
277
|
b as usePositioning,
|
|
254
|
-
|
|
278
|
+
P as useStickToBottom,
|
|
255
279
|
l as useUi,
|
|
256
280
|
c as useUiTheme,
|
|
257
|
-
|
|
258
|
-
|
|
281
|
+
E as useUiTokens,
|
|
282
|
+
g as useVirtualList
|
|
259
283
|
};
|
|
260
284
|
//# sourceMappingURL=index.js.map
|
package/build/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/build/scss/_mixins.scss
CHANGED
|
@@ -360,13 +360,13 @@ $header-offset: var(--ui-header-height, 0px);
|
|
|
360
360
|
}
|
|
361
361
|
|
|
362
362
|
// A whole design type role: family, size, line height, weight, letter spacing and stretch.
|
|
363
|
-
// Roles: display, h1, h2, h3, h4, lead, body, small, caption, code.
|
|
363
|
+
// Roles: display, h1, h2, h3, h4, title-1 … title-5 (3.7), lead, body, small, caption, code.
|
|
364
364
|
@mixin type($role: body) {
|
|
365
365
|
@if list.index($type-roles, $role) == null {
|
|
366
366
|
@error 'type(): unknown role `#{$role}`. Valid: #{$type-roles}.';
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
-
@if list.index(
|
|
369
|
+
@if list.index($heading-roles, $role) != null {
|
|
370
370
|
font-family: $font-display;
|
|
371
371
|
} @else if $role == code {
|
|
372
372
|
font-family: $font-mono;
|
|
@@ -383,8 +383,8 @@ $header-offset: var(--ui-header-height, 0px);
|
|
|
383
383
|
|
|
384
384
|
// A heading in one of the design heading roles, in the text colour.
|
|
385
385
|
@mixin heading($role: h3) {
|
|
386
|
-
@if list.index(
|
|
387
|
-
@error 'heading(): `#{$role}` is not a heading role. Valid:
|
|
386
|
+
@if list.index($heading-roles, $role) == null {
|
|
387
|
+
@error 'heading(): `#{$role}` is not a heading role. Valid: #{$heading-roles}.';
|
|
388
388
|
}
|
|
389
389
|
|
|
390
390
|
@include type($role);
|
|
@@ -403,31 +403,119 @@ $header-offset: var(--ui-header-height, 0px);
|
|
|
403
403
|
color: $text;
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
+
// 3.7: the interface title role (`title-1`, 32px Archivo 600). Until 3.6 it was the wide 30px/700
|
|
407
|
+
// marketing `h2`, the heaviest text on every panel page.
|
|
406
408
|
@mixin page-title {
|
|
407
|
-
@include heading(
|
|
409
|
+
@include heading(title-1);
|
|
408
410
|
|
|
409
411
|
text-wrap: balance;
|
|
410
412
|
}
|
|
411
413
|
|
|
412
|
-
// `--ui-overline-font` (3.4): an application sets the family of every overline (
|
|
413
|
-
//
|
|
414
|
+
// `--ui-overline-font` (3.4): an application sets the family of every overline (section overlines,
|
|
415
|
+
// group titles, table and filter leads) once, e.g. its display face; the body font otherwise.
|
|
416
|
+
//
|
|
417
|
+
// 3.7: an overline is a LABEL — Inter 13/600 in `text-2`, written as given. Until 3.6 it was 12px
|
|
418
|
+
// capitals with wide tracking: harder to read, wider (labels broke onto two lines and pushed the
|
|
419
|
+
// values beside them out of line) and wrong for Turkish names. Capitals are the application's call
|
|
420
|
+
// (`--ui-overline-transform`, `--ui-overline-tracking`), not the default.
|
|
414
421
|
@mixin overline {
|
|
415
422
|
font-family: var(--ui-overline-font, #{$font-body});
|
|
416
|
-
font-size: $font-size-
|
|
423
|
+
font-size: $font-size-small;
|
|
417
424
|
font-weight: $weight-semibold;
|
|
418
|
-
|
|
419
|
-
|
|
425
|
+
line-height: $leading-snug;
|
|
426
|
+
letter-spacing: var(--ui-overline-tracking, normal);
|
|
427
|
+
text-transform: var(--ui-overline-transform, none);
|
|
420
428
|
color: $text-2;
|
|
421
429
|
}
|
|
422
430
|
|
|
423
|
-
// An overline that keeps the given case (3.2.1)
|
|
424
|
-
// capitalised by CSS — under `lang="tr"` the browser
|
|
425
|
-
//
|
|
431
|
+
// An overline that keeps the given case (3.2.1) even where an application turns capitals on: a brand
|
|
432
|
+
// or a proper name ("Mann-Filter") must not be capitalised by CSS — under `lang="tr"` the browser
|
|
433
|
+
// writes "MANN-FİLTER".
|
|
426
434
|
@mixin overline-as-written {
|
|
427
435
|
letter-spacing: normal;
|
|
428
436
|
text-transform: none;
|
|
429
437
|
}
|
|
430
438
|
|
|
439
|
+
// A text that never wraps: one line, an ellipsis, and the full text in the element's `title` (3.7).
|
|
440
|
+
// For a cell, a chip, a label beside a value. Flex parents need `min-width: 0` on the item.
|
|
441
|
+
@mixin text-truncate {
|
|
442
|
+
@include truncate;
|
|
443
|
+
|
|
444
|
+
display: block;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
// At most `$lines` lines, then an ellipsis (3.7): product names (2), descriptions (3). The element
|
|
448
|
+
// keeps its line height, so a card's rows line up whether the text fills the lines or not when
|
|
449
|
+
// `$reserve` is true.
|
|
450
|
+
@mixin line-clamp($lines: 2, $reserve: false) {
|
|
451
|
+
display: -webkit-box;
|
|
452
|
+
min-width: 0;
|
|
453
|
+
overflow: hidden;
|
|
454
|
+
-webkit-box-orient: vertical;
|
|
455
|
+
-webkit-line-clamp: $lines;
|
|
456
|
+
line-clamp: $lines;
|
|
457
|
+
overflow-wrap: anywhere;
|
|
458
|
+
|
|
459
|
+
@if $reserve {
|
|
460
|
+
min-height: calc(#{$lines} * 1lh);
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
// The one active-navigation mark (3.7): a 2px straight line in `primary`, never rounded, never a
|
|
465
|
+
// partial border. `bottom` for a horizontal bar (tabs, a category bar), `start` for a side
|
|
466
|
+
// navigation. Draws on `::after`; the element itself sets `position: relative`. `$inset` pulls the line
|
|
467
|
+
// in from the ends of a bottom mark (a tab with padding).
|
|
468
|
+
@mixin nav-indicator($side: bottom, $inset: 0) {
|
|
469
|
+
@if $side != bottom and $side != start {
|
|
470
|
+
@error 'nav-indicator(): `#{$side}` is not a side. Valid: bottom, start.';
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
&::after {
|
|
474
|
+
content: '';
|
|
475
|
+
position: absolute;
|
|
476
|
+
background-color: transparent;
|
|
477
|
+
border-radius: 0;
|
|
478
|
+
pointer-events: none;
|
|
479
|
+
transition: background-color $duration-fast $ease-standard;
|
|
480
|
+
|
|
481
|
+
@if $side == bottom {
|
|
482
|
+
inset-inline: $inset;
|
|
483
|
+
inset-block-end: 0;
|
|
484
|
+
height: 2px;
|
|
485
|
+
} @else {
|
|
486
|
+
inset-block: $space-1;
|
|
487
|
+
inset-inline-start: 0;
|
|
488
|
+
width: 2px;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
// The current state of a `nav-indicator` element: the line fills `primary`.
|
|
494
|
+
@mixin nav-indicator-active {
|
|
495
|
+
&::after {
|
|
496
|
+
background-color: $primary;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
// Forced colours draw no background: the mark becomes a line in the highlight colour.
|
|
500
|
+
@media (forced-colors: active) {
|
|
501
|
+
&::after {
|
|
502
|
+
background-color: Highlight;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
// A count beside a label (3.7): tabs, filter options, menu links, facet headers. Secondary text in
|
|
508
|
+
// tabular figures, no pill — the same everywhere, so a count never competes with the label.
|
|
509
|
+
@mixin count-text {
|
|
510
|
+
flex-shrink: 0;
|
|
511
|
+
margin-inline-start: auto;
|
|
512
|
+
font-size: $font-size-caption;
|
|
513
|
+
font-weight: $weight-medium;
|
|
514
|
+
line-height: inherit;
|
|
515
|
+
color: $text-2;
|
|
516
|
+
font-variant-numeric: tabular-nums;
|
|
517
|
+
}
|
|
518
|
+
|
|
431
519
|
@mixin label {
|
|
432
520
|
font-family: $font-body;
|
|
433
521
|
font-size: $font-size-small;
|
|
@@ -135,7 +135,11 @@ $font-size-code: var(--hd-type-code-size);
|
|
|
135
135
|
// iOS Safari zooms the page when a focused field is smaller than 16px; text entry never goes below.
|
|
136
136
|
$font-size-control: #{'max(16px, var(--hd-type-body-size))'};
|
|
137
137
|
|
|
138
|
-
$type-roles:
|
|
138
|
+
$type-roles:
|
|
139
|
+
display, h1, h2, h3, h4, title-1, title-2, title-3, title-4, title-5, lead, body, small, caption,
|
|
140
|
+
code;
|
|
141
|
+
// The roles set in the display family: the marketing headings and the interface titles (3.7).
|
|
142
|
+
$heading-roles: display, h1, h2, h3, h4, title-1, title-2, title-3, title-4, title-5;
|
|
139
143
|
|
|
140
144
|
$leading-none: 1;
|
|
141
145
|
$leading-tight: var(--hd-type-h2-line-height);
|