@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.
Files changed (200) hide show
  1. package/README.md +275 -36
  2. package/build/chat.cjs +3 -3
  3. package/build/chat.cjs.map +1 -1
  4. package/build/chat.css +1 -1
  5. package/build/chat.js +168 -160
  6. package/build/chat.js.map +1 -1
  7. package/build/components/AddToCart/index.cjs +2 -0
  8. package/build/components/AddToCart/index.cjs.map +1 -0
  9. package/build/components/AddToCart/index.d.cts +31 -0
  10. package/build/components/AddToCart/index.d.ts +31 -0
  11. package/build/components/AddToCart/index.js +62 -0
  12. package/build/components/AddToCart/index.js.map +1 -0
  13. package/build/components/AddToCart/style.css +1 -0
  14. package/build/components/Alert/index.cjs +1 -1
  15. package/build/components/Alert/index.cjs.map +1 -1
  16. package/build/components/Alert/index.d.cts +7 -0
  17. package/build/components/Alert/index.d.ts +7 -0
  18. package/build/components/Alert/index.js +32 -19
  19. package/build/components/Alert/index.js.map +1 -1
  20. package/build/components/Alert/style.css +1 -1
  21. package/build/components/AppShell/style.css +1 -1
  22. package/build/components/AppliedFilters/style.css +1 -1
  23. package/build/components/CodeText/index.cjs.map +1 -1
  24. package/build/components/CodeText/index.js +11 -11
  25. package/build/components/CodeText/index.js.map +1 -1
  26. package/build/components/CommandPalette/style.css +1 -1
  27. package/build/components/Directory/style.css +1 -1
  28. package/build/components/EmptyState/style.css +1 -1
  29. package/build/components/FacetSection/index.cjs +1 -1
  30. package/build/components/FacetSection/index.cjs.map +1 -1
  31. package/build/components/FacetSection/index.js +145 -138
  32. package/build/components/FacetSection/index.js.map +1 -1
  33. package/build/components/FacetSection/style.css +1 -1
  34. package/build/components/FacetSidebar/index.cjs +1 -1
  35. package/build/components/FacetSidebar/index.cjs.map +1 -1
  36. package/build/components/FacetSidebar/index.js +22 -29
  37. package/build/components/FacetSidebar/index.js.map +1 -1
  38. package/build/components/Heading/index.cjs +2 -0
  39. package/build/components/Heading/index.cjs.map +1 -0
  40. package/build/components/Heading/index.d.cts +34 -0
  41. package/build/components/Heading/index.d.ts +34 -0
  42. package/build/components/Heading/index.js +44 -0
  43. package/build/components/Heading/index.js.map +1 -0
  44. package/build/components/Heading/style.css +1 -0
  45. package/build/components/MegaMenu/index.cjs +1 -1
  46. package/build/components/MegaMenu/index.cjs.map +1 -1
  47. package/build/components/MegaMenu/index.d.cts +5 -1
  48. package/build/components/MegaMenu/index.d.ts +5 -1
  49. package/build/components/MegaMenu/index.js +131 -111
  50. package/build/components/MegaMenu/index.js.map +1 -1
  51. package/build/components/MegaMenu/style.css +1 -1
  52. package/build/components/Modal/style.css +1 -1
  53. package/build/components/NotificationCenter/style.css +1 -1
  54. package/build/components/PageHeader/style.css +1 -1
  55. package/build/components/PartNumberList/index.cjs +2 -0
  56. package/build/components/PartNumberList/index.cjs.map +1 -0
  57. package/build/components/PartNumberList/index.d.cts +30 -0
  58. package/build/components/PartNumberList/index.d.ts +30 -0
  59. package/build/components/PartNumberList/index.js +36 -0
  60. package/build/components/PartNumberList/index.js.map +1 -0
  61. package/build/components/PartNumberList/style.css +1 -0
  62. package/build/components/Price/index.cjs +1 -1
  63. package/build/components/Price/index.cjs.map +1 -1
  64. package/build/components/Price/index.d.cts +5 -1
  65. package/build/components/Price/index.d.ts +5 -1
  66. package/build/components/Price/index.js +31 -32
  67. package/build/components/Price/index.js.map +1 -1
  68. package/build/components/Price/style.css +1 -1
  69. package/build/components/ProductCard/index.cjs +2 -0
  70. package/build/components/ProductCard/index.cjs.map +1 -0
  71. package/build/components/ProductCard/index.d.cts +55 -0
  72. package/build/components/ProductCard/index.d.ts +55 -0
  73. package/build/components/ProductCard/index.js +58 -0
  74. package/build/components/ProductCard/index.js.map +1 -0
  75. package/build/components/ProductCard/style.css +1 -0
  76. package/build/components/ProductRow/columns.cjs +2 -0
  77. package/build/components/ProductRow/columns.cjs.map +1 -0
  78. package/build/components/ProductRow/columns.d.cts +27 -0
  79. package/build/components/ProductRow/columns.d.ts +27 -0
  80. package/build/components/ProductRow/columns.js +83 -0
  81. package/build/components/ProductRow/columns.js.map +1 -0
  82. package/build/components/ProductRow/index.cjs +2 -0
  83. package/build/components/ProductRow/index.cjs.map +1 -0
  84. package/build/components/ProductRow/index.d.cts +25 -0
  85. package/build/components/ProductRow/index.d.ts +25 -0
  86. package/build/components/ProductRow/index.js +43 -0
  87. package/build/components/ProductRow/index.js.map +1 -0
  88. package/build/components/ProductRow/parts.cjs +2 -0
  89. package/build/components/ProductRow/parts.cjs.map +1 -0
  90. package/build/components/ProductRow/parts.d.cts +32 -0
  91. package/build/components/ProductRow/parts.d.ts +32 -0
  92. package/build/components/ProductRow/parts.js +31 -0
  93. package/build/components/ProductRow/parts.js.map +1 -0
  94. package/build/components/ProductRow/style.css +1 -0
  95. package/build/components/QuantityStepper/index.cjs +1 -1
  96. package/build/components/QuantityStepper/index.cjs.map +1 -1
  97. package/build/components/QuantityStepper/index.js +28 -28
  98. package/build/components/QuantityStepper/index.js.map +1 -1
  99. package/build/components/Radio/style.css +1 -1
  100. package/build/components/SectionHeader/style.css +1 -1
  101. package/build/components/SpecTable/index.cjs +2 -0
  102. package/build/components/SpecTable/index.cjs.map +1 -0
  103. package/build/components/SpecTable/index.d.cts +25 -0
  104. package/build/components/SpecTable/index.d.ts +25 -0
  105. package/build/components/SpecTable/index.js +25 -0
  106. package/build/components/SpecTable/index.js.map +1 -0
  107. package/build/components/SpecTable/style.css +1 -0
  108. package/build/components/Stat/index.cjs +1 -1
  109. package/build/components/Stat/index.cjs.map +1 -1
  110. package/build/components/Stat/index.d.cts +7 -3
  111. package/build/components/Stat/index.d.ts +7 -3
  112. package/build/components/Stat/index.js +61 -66
  113. package/build/components/Stat/index.js.map +1 -1
  114. package/build/components/StatCard/StatDelta.cjs +2 -0
  115. package/build/components/StatCard/StatDelta.cjs.map +1 -0
  116. package/build/components/StatCard/StatDelta.d.cts +17 -0
  117. package/build/components/StatCard/StatDelta.d.ts +17 -0
  118. package/build/components/StatCard/StatDelta.js +45 -0
  119. package/build/components/StatCard/StatDelta.js.map +1 -0
  120. package/build/components/StatCard/index.cjs +2 -0
  121. package/build/components/StatCard/index.cjs.map +1 -0
  122. package/build/components/StatCard/index.d.cts +36 -0
  123. package/build/components/StatCard/index.d.ts +36 -0
  124. package/build/components/StatCard/index.js +60 -0
  125. package/build/components/StatCard/index.js.map +1 -0
  126. package/build/components/StatCard/style.css +1 -0
  127. package/build/components/StatusCell/index.cjs +2 -0
  128. package/build/components/StatusCell/index.cjs.map +1 -0
  129. package/build/components/StatusCell/index.d.cts +28 -0
  130. package/build/components/StatusCell/index.d.ts +28 -0
  131. package/build/components/StatusCell/index.js +24 -0
  132. package/build/components/StatusCell/index.js.map +1 -0
  133. package/build/components/StatusCell/style.css +1 -0
  134. package/build/components/StockStatus/index.cjs +2 -0
  135. package/build/components/StockStatus/index.cjs.map +1 -0
  136. package/build/components/StockStatus/index.d.cts +28 -0
  137. package/build/components/StockStatus/index.d.ts +28 -0
  138. package/build/components/StockStatus/index.js +36 -0
  139. package/build/components/StockStatus/index.js.map +1 -0
  140. package/build/components/StockStatus/style.css +1 -0
  141. package/build/components/Table/style.css +1 -1
  142. package/build/components/Tabs/index.cjs +1 -1
  143. package/build/components/Tabs/index.cjs.map +1 -1
  144. package/build/components/Tabs/index.d.cts +26 -1
  145. package/build/components/Tabs/index.d.ts +26 -1
  146. package/build/components/Tabs/index.js +140 -112
  147. package/build/components/Tabs/index.js.map +1 -1
  148. package/build/components/Tabs/style.css +1 -1
  149. package/build/components/Text/index.cjs +2 -0
  150. package/build/components/Text/index.cjs.map +1 -0
  151. package/build/components/Text/index.d.cts +49 -0
  152. package/build/components/Text/index.d.ts +49 -0
  153. package/build/components/Text/index.js +47 -0
  154. package/build/components/Text/index.js.map +1 -0
  155. package/build/components/Text/style.css +1 -0
  156. package/build/components/Tooltip/index.cjs +1 -1
  157. package/build/components/Tooltip/index.cjs.map +1 -1
  158. package/build/components/Tooltip/index.js +27 -27
  159. package/build/components/Tooltip/index.js.map +1 -1
  160. package/build/components/VehicleTypeList/index.cjs +2 -0
  161. package/build/components/VehicleTypeList/index.cjs.map +1 -0
  162. package/build/components/VehicleTypeList/index.d.cts +17 -0
  163. package/build/components/VehicleTypeList/index.d.ts +17 -0
  164. package/build/components/VehicleTypeList/index.js +47 -0
  165. package/build/components/VehicleTypeList/index.js.map +1 -0
  166. package/build/components/VehicleTypeList/style.css +1 -0
  167. package/build/design/index.cjs +12 -2
  168. package/build/design/index.cjs.map +1 -1
  169. package/build/design/index.d.cts +1 -5
  170. package/build/design/index.d.mts +1 -5
  171. package/build/design/index.mjs +12 -2
  172. package/build/design/index.mjs.map +1 -1
  173. package/build/design/index.umd.cjs +1 -1
  174. package/build/design/index.umd.cjs.map +1 -1
  175. package/build/design/tokens.css +29 -4
  176. package/build/design/tokens.json +42 -2
  177. package/build/design/tokens.scss +55 -0
  178. package/build/helpers/text.helper.cjs +1 -1
  179. package/build/helpers/text.helper.cjs.map +1 -1
  180. package/build/helpers/text.helper.d.cts +5 -0
  181. package/build/helpers/text.helper.d.ts +5 -0
  182. package/build/helpers/text.helper.js +3 -2
  183. package/build/helpers/text.helper.js.map +1 -1
  184. package/build/index.cjs +1 -1
  185. package/build/index.d.cts +13 -2
  186. package/build/index.d.ts +13 -2
  187. package/build/index.js +203 -179
  188. package/build/index.js.map +1 -1
  189. package/build/scss/_mixins.scss +101 -13
  190. package/build/scss/_variables.scss +5 -1
  191. package/build/styles.css +43 -17
  192. package/build/types/chat/DescriptionList/index.d.cts +6 -0
  193. package/build/types/chat/DescriptionList/index.d.ts +6 -0
  194. package/build/types/stat.type.d.cts +2 -0
  195. package/build/types/stat.type.d.ts +2 -0
  196. package/build/types/theme.type.d.cts +25 -0
  197. package/build/types/theme.type.d.ts +25 -0
  198. package/build/types/types/theme.type.d.cts +25 -0
  199. package/build/types/types/theme.type.d.ts +25 -0
  200. 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 u, THEME_BOOT_SCRIPT as d, THEME_BOOT_SCRIPT_HASH as s, THEME_STORAGE_KEY as m } from "@handijitcom/ui/design";
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 B } from "./hooks/useUiTokens.js";
9
- import { default as A } from "./hooks/useStickToBottom.js";
10
- import { default as P } from "./hooks/useListboxNavigation.js";
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 D } from "./hooks/useVirtualList.js";
13
- import { default as g } from "./enums/ui-variant.enum.js";
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 U, SHEET_MEDIA_QUERY as L, TABLET_BREAKPOINT as H, TABLET_PORTRAIT_BREAKPOINT as v } from "./constants/breakpoint.constants.js";
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 ue } from "./components/SegmentedControl/index.js";
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 Ee } from "./components/RadioCard/index.js";
32
- import { default as Ce } from "./components/RangeSlider/index.js";
33
- import { default as Ie } from "./components/RatingInput/index.js";
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 Me } from "./components/Input/index.js";
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 Le } from "./components/QuantityInput/index.js";
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/Alert/index.js";
49
- import { default as tt } from "./components/Avatar/index.js";
50
- import { default as rt } from "./components/Badge/index.js";
51
- import { default as ft } from "./components/Breadcrumb/index.js";
52
- import { default as pt, CardBody as ut, CardFooter as dt, CardMedia as st, CardOverlay as mt } from "./components/Card/index.js";
53
- import { default as it } from "./components/Carousel/index.js";
54
- import { default as Tt } from "./components/CodeBadge/index.js";
55
- import { default as ct } from "./components/Kbd/index.js";
56
- import { default as Bt } from "./components/StatusDot/index.js";
57
- import { default as At } from "./components/CopyField/index.js";
58
- import { default as Pt } from "./components/Divider/index.js";
59
- import { default as bt, DirectoryGroup as _t, DirectoryJump as Dt, DirectoryRow as Mt } from "./components/Directory/index.js";
60
- import { default as ht } from "./components/EmptyState/index.js";
61
- import { default as Ot } from "./components/PageHeader/index.js";
62
- import { default as Ft, PanelForm as Ut, PanelRow as Lt } from "./components/Panel/index.js";
63
- import { default as vt } from "./components/Price/index.js";
64
- import { default as Nt } from "./components/Rating/index.js";
65
- import { default as Kt } from "./components/SectionHeader/index.js";
66
- import { default as Vt } from "./components/ScrollArea/index.js";
67
- import { default as zt, SkeletonCard as Jt, SkeletonRows as jt, SkeletonTable as qt } from "./components/Skeleton/index.js";
68
- import { default as Xt } from "./components/Stat/index.js";
69
- import { default as $t } from "./components/SummaryCard/index.js";
70
- import { default as ta } from "./components/TotalsList/index.js";
71
- import { default as ra, ProgressCircle as oa } from "./components/Progress/index.js";
72
- import { default as la } from "./components/Spinner/index.js";
73
- import { default as ua, toast as da } from "./components/Toast/index.js";
74
- import { default as ma } from "./components/ToastPortal/index.js";
75
- import { default as ia } from "./components/Accordion/index.js";
76
- import { default as Ta } from "./components/Disclosure/index.js";
77
- import { default as ca } from "./components/Steps/index.js";
78
- import { default as Ba } from "./components/Tabs/index.js";
79
- import { default as Aa } from "./components/Tile/index.js";
80
- import { default as Pa } from "./components/Timeline/index.js";
81
- import { BrandBlueprint as ba, default as _a } from "./components/BrandSurface/index.js";
82
- import { default as Ma } from "./components/Eyebrow/index.js";
83
- import { default as ha } from "./components/StatStrip/index.js";
84
- import { default as Oa } from "./components/BottomSheet/index.js";
85
- import { default as Fa } from "./components/Modal/index.js";
86
- import { default as La } from "./components/CommandPalette/index.js";
87
- import { default as va } from "./components/ConfirmDialog/index.js";
88
- import { default as Na } from "./components/Drawer/index.js";
89
- import { default as Ka } from "./components/PromptDialog/index.js";
90
- import { default as Va, TableScroller as Ya } from "./components/Table/index.js";
91
- import { default as Ja, DataTableRow as ja } from "./components/DataTable/index.js";
92
- import { default as Wa } from "./components/DataTableColumnMenu/index.js";
93
- import { default as Za } from "./components/Gallery/index.js";
94
- import { default as er } from "./components/TreeSelect/index.js";
95
- import { default as ar } from "./components/NotificationCenter/index.js";
96
- import { default as or } from "./components/BulkPasteInput/index.js";
97
- import { parseBulkPaste as lr } from "./helpers/bulk-paste.helper.js";
98
- import { default as ur } from "./components/AppShell/index.js";
99
- import { default as sr } from "./components/UserMenu/index.js";
100
- import { default as xr, FilterBarField as ir } from "./components/FilterBar/index.js";
101
- import { default as Tr } from "./components/Pagination/index.js";
102
- import { default as cr } from "./components/FacetSidebar/index.js";
103
- import { default as Br } from "./components/FacetSection/index.js";
104
- import { default as Ar } from "./components/AppliedFilters/index.js";
105
- import { default as Pr } from "./components/FilterToolbar/index.js";
106
- import { default as br } from "./components/SortableList/index.js";
107
- import { default as Dr } from "./components/CodeText/index.js";
108
- import { default as gr } from "./components/BrandLockup/index.js";
109
- import { default as yr } from "./components/StickyActionBar/index.js";
110
- import { default as kr } from "./components/CompareTray/index.js";
111
- import { default as Ur } from "./components/ProductCarousel/index.js";
112
- import { default as Hr } from "./components/MegaMenu/index.js";
113
- import { AppShellNav as wr, AppShellNavGroup as Nr, AppShellNavItem as Gr } from "./components/AppShell/Nav.js";
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
- ia as Accordion,
118
- $e as Alert,
119
- ur as AppShell,
120
- wr as AppShellNav,
121
- Nr as AppShellNavGroup,
122
- Gr as AppShellNavItem,
123
- Ar as AppliedFilters,
124
- tt as Avatar,
125
- rt as Badge,
126
- Oa as BottomSheet,
127
- ba as BrandBlueprint,
128
- gr as BrandLockup,
129
- _a as BrandSurface,
130
- ft as Breadcrumb,
131
- or as BulkPasteInput,
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
- pt as Card,
134
- ut as CardBody,
135
- dt as CardFooter,
136
- st as CardMedia,
137
- mt as CardOverlay,
138
- it as Carousel,
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
- Tt as CodeBadge,
143
- Dr as CodeText,
155
+ Et as CodeBadge,
156
+ qr as CodeText,
144
157
  le as Combobox,
145
- La as CommandPalette,
146
- kr as CompareTray,
147
- va as ConfirmDialog,
158
+ or as CommandPalette,
159
+ to as CompareTray,
160
+ lr as ConfirmDialog,
148
161
  X as ContextMenu,
149
- At as CopyField,
150
- Ja as DataTable,
151
- Wa as DataTableColumnMenu,
152
- ja as DataTableRow,
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
- bt as Directory,
156
- _t as DirectoryGroup,
157
- Dt as DirectoryJump,
158
- Mt as DirectoryRow,
159
- Ta as Disclosure,
160
- Pt as Divider,
161
- Na as Drawer,
162
- ht as EmptyState,
163
- Ma as Eyebrow,
164
- Br as FacetSection,
165
- cr as FacetSidebar,
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
- xr as FilterBar,
169
- ir as FilterBarField,
170
- Pr as FilterToolbar,
171
- Za as Gallery,
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
- Me as Input,
174
- ct as Kbd,
175
- U as MOBILE_BREAKPOINT,
176
- Hr as MegaMenu,
187
+ De as Input,
188
+ Pt as Kbd,
189
+ L as MOBILE_BREAKPOINT,
190
+ fo as MegaMenu,
177
191
  Z as Menu,
178
- Fa as Modal,
192
+ ar as Modal,
179
193
  Fe as MoneyInput,
180
- ar as NotificationCenter,
181
- Ot as PageHeader,
182
- Tr as Pagination,
183
- Ft as Panel,
184
- Ut as PanelForm,
185
- Lt as PanelRow,
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
- vt as Price,
190
- Ur as ProductCarousel,
191
- ra as Progress,
192
- oa as ProgressCircle,
193
- Ka as PromptDialog,
194
- Le as QuantityInput,
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
- Ee as RadioCard,
198
- Ce as RangeSlider,
214
+ Ce as RadioCard,
215
+ Be as RangeSlider,
199
216
  ve as RateInput,
200
- Nt as Rating,
201
- Ie as RatingInput,
202
- L as SHEET_MEDIA_QUERY,
217
+ Vt as Rating,
218
+ Ae as RatingInput,
219
+ U as SHEET_MEDIA_QUERY,
203
220
  Oe as ScaledInput,
204
- Vt as ScrollArea,
205
- Kt as SectionHeader,
206
- ue as SegmentedControl,
221
+ jt as ScrollArea,
222
+ zt as SectionHeader,
223
+ pe as SegmentedControl,
207
224
  se as Select,
208
- zt as Skeleton,
209
- Jt as SkeletonCard,
210
- jt as SkeletonRows,
211
- qt as SkeletonTable,
212
- br as SortableList,
213
- la as Spinner,
214
- Xt as Stat,
215
- ha as StatStrip,
216
- Bt as StatusDot,
217
- ca as Steps,
218
- yr as StickyActionBar,
219
- $t as SummaryCard,
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
- u as THEME_ATTRIBUTE,
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
- Va as Table,
248
+ xr as Table,
228
249
  _e as TableCheckbox,
229
- Ya as TableScroller,
230
- Ba as Tabs,
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
- Aa as Tile,
235
- Pa as Timeline,
236
- ua as ToastHub,
237
- ma as ToastPortal,
256
+ ga as Tile,
257
+ Ma as Timeline,
258
+ na as ToastHub,
259
+ ca as ToastPortal,
238
260
  q as Tooltip,
239
- ta as TotalsList,
240
- er as TreeSelect,
261
+ ua as TotalsList,
262
+ Ar as TreeSelect,
241
263
  y as UISize,
242
- g as UIVariant,
264
+ M as UIVariant,
243
265
  a as UiProvider,
244
266
  o as UiThemeScript,
245
- sr as UserMenu,
267
+ Or as UserMenu,
268
+ Ya as VehicleTypeList,
246
269
  i as hasOpenSurface,
247
270
  N as matchesSearch,
248
271
  G as normalizeSearchTerm,
249
- lr as parseBulkPaste,
250
- da as toast,
272
+ Dr as parseBulkPaste,
273
+ uo as productColumns,
274
+ Ta as toast,
251
275
  T as useAnnounce,
252
- P as useListboxNavigation,
276
+ I as useListboxNavigation,
253
277
  b as usePositioning,
254
- A as useStickToBottom,
278
+ P as useStickToBottom,
255
279
  l as useUi,
256
280
  c as useUiTheme,
257
- B as useUiTokens,
258
- D as useVirtualList
281
+ E as useUiTokens,
282
+ g as useVirtualList
259
283
  };
260
284
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -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((display, h1, h2, h3, h4), $role) != null {
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((display, h1, h2, h3, h4), $role) == null {
387
- @error 'heading(): `#{$role}` is not a heading role. Valid: display, h1, h2, h3, h4.';
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(h2);
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 (`Eyebrow`, section
413
- // overlines, table and filter leads) once, e.g. its display or mono face; the body font otherwise.
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-caption;
423
+ font-size: $font-size-small;
417
424
  font-weight: $weight-semibold;
418
- letter-spacing: $tracking-wide;
419
- text-transform: uppercase;
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): a brand or a proper name ("Mann-Filter") must not be
424
- // capitalised by CSS — under `lang="tr"` the browser writes "MANN-FİLTER". The capitals' wide
425
- // tracking goes with them.
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: display, h1, h2, h3, h4, lead, body, small, caption, code;
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);