@handijitcom/ui 3.3.1 → 3.4.1

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 (212) hide show
  1. package/README.md +247 -0
  2. package/build/chat.css +1 -1
  3. package/build/components/AppShell/Nav.cjs +1 -1
  4. package/build/components/AppShell/Nav.cjs.map +1 -1
  5. package/build/components/AppShell/Nav.d.cts +8 -1
  6. package/build/components/AppShell/Nav.d.ts +8 -1
  7. package/build/components/AppShell/Nav.js +127 -112
  8. package/build/components/AppShell/Nav.js.map +1 -1
  9. package/build/components/AppShell/style.css +1 -1
  10. package/build/components/AppliedFilters/index.cjs +2 -0
  11. package/build/components/AppliedFilters/index.cjs.map +1 -0
  12. package/build/components/AppliedFilters/index.d.cts +33 -0
  13. package/build/components/AppliedFilters/index.d.ts +33 -0
  14. package/build/components/AppliedFilters/index.js +85 -0
  15. package/build/components/AppliedFilters/index.js.map +1 -0
  16. package/build/components/AppliedFilters/style.css +1 -0
  17. package/build/components/BrandLockup/index.cjs +2 -0
  18. package/build/components/BrandLockup/index.cjs.map +1 -0
  19. package/build/components/BrandLockup/index.d.cts +29 -0
  20. package/build/components/BrandLockup/index.d.ts +29 -0
  21. package/build/components/BrandLockup/index.js +41 -0
  22. package/build/components/BrandLockup/index.js.map +1 -0
  23. package/build/components/BrandLockup/style.css +1 -0
  24. package/build/components/Carousel/index.cjs +1 -1
  25. package/build/components/Carousel/index.cjs.map +1 -1
  26. package/build/components/Carousel/index.d.cts +9 -0
  27. package/build/components/Carousel/index.d.ts +9 -0
  28. package/build/components/Carousel/index.js +65 -60
  29. package/build/components/Carousel/index.js.map +1 -1
  30. package/build/components/Carousel/style.css +1 -1
  31. package/build/components/CodeText/CodeTextCopy.cjs +2 -0
  32. package/build/components/CodeText/CodeTextCopy.cjs.map +1 -0
  33. package/build/components/CodeText/CodeTextCopy.d.cts +11 -0
  34. package/build/components/CodeText/CodeTextCopy.d.ts +11 -0
  35. package/build/components/CodeText/CodeTextCopy.js +41 -0
  36. package/build/components/CodeText/CodeTextCopy.js.map +1 -0
  37. package/build/components/CodeText/index.cjs +2 -0
  38. package/build/components/CodeText/index.cjs.map +1 -0
  39. package/build/components/CodeText/index.d.cts +26 -0
  40. package/build/components/CodeText/index.d.ts +26 -0
  41. package/build/components/CodeText/index.js +39 -0
  42. package/build/components/CodeText/index.js.map +1 -0
  43. package/build/components/CodeText/style.css +1 -0
  44. package/build/components/Combobox/index.cjs +1 -1
  45. package/build/components/Combobox/index.cjs.map +1 -1
  46. package/build/components/Combobox/index.js +147 -146
  47. package/build/components/Combobox/index.js.map +1 -1
  48. package/build/components/Combobox/style.css +1 -1
  49. package/build/components/CompareTray/index.cjs +2 -0
  50. package/build/components/CompareTray/index.cjs.map +1 -0
  51. package/build/components/CompareTray/index.d.cts +44 -0
  52. package/build/components/CompareTray/index.d.ts +44 -0
  53. package/build/components/CompareTray/index.js +94 -0
  54. package/build/components/CompareTray/index.js.map +1 -0
  55. package/build/components/CompareTray/style.css +1 -0
  56. package/build/components/DataTable/index.cjs +1 -1
  57. package/build/components/DataTable/index.cjs.map +1 -1
  58. package/build/components/DataTable/index.d.cts +12 -0
  59. package/build/components/DataTable/index.d.ts +12 -0
  60. package/build/components/DataTable/index.js +120 -122
  61. package/build/components/DataTable/index.js.map +1 -1
  62. package/build/components/DataTable/style.css +1 -1
  63. package/build/components/Eyebrow/style.css +1 -1
  64. package/build/components/FacetSection/index.cjs +2 -0
  65. package/build/components/FacetSection/index.cjs.map +1 -0
  66. package/build/components/FacetSection/index.d.cts +75 -0
  67. package/build/components/FacetSection/index.d.ts +75 -0
  68. package/build/components/FacetSection/index.js +199 -0
  69. package/build/components/FacetSection/index.js.map +1 -0
  70. package/build/components/FacetSection/style.css +1 -0
  71. package/build/components/FacetSidebar/index.cjs +2 -0
  72. package/build/components/FacetSidebar/index.cjs.map +1 -0
  73. package/build/components/FacetSidebar/index.d.cts +35 -0
  74. package/build/components/FacetSidebar/index.d.ts +35 -0
  75. package/build/components/FacetSidebar/index.js +110 -0
  76. package/build/components/FacetSidebar/index.js.map +1 -0
  77. package/build/components/FacetSidebar/style.css +1 -0
  78. package/build/components/FilterToolbar/index.cjs +2 -0
  79. package/build/components/FilterToolbar/index.cjs.map +1 -0
  80. package/build/components/FilterToolbar/index.d.cts +55 -0
  81. package/build/components/FilterToolbar/index.d.ts +55 -0
  82. package/build/components/FilterToolbar/index.js +149 -0
  83. package/build/components/FilterToolbar/index.js.map +1 -0
  84. package/build/components/FilterToolbar/style.css +1 -0
  85. package/build/components/Gallery/index.cjs +1 -1
  86. package/build/components/Gallery/index.cjs.map +1 -1
  87. package/build/components/Gallery/index.d.cts +8 -1
  88. package/build/components/Gallery/index.d.ts +8 -1
  89. package/build/components/Gallery/index.js +146 -138
  90. package/build/components/Gallery/index.js.map +1 -1
  91. package/build/components/Gallery/style.css +1 -1
  92. package/build/components/MegaMenu/index.cjs +2 -0
  93. package/build/components/MegaMenu/index.cjs.map +1 -0
  94. package/build/components/MegaMenu/index.d.cts +67 -0
  95. package/build/components/MegaMenu/index.d.ts +67 -0
  96. package/build/components/MegaMenu/index.js +220 -0
  97. package/build/components/MegaMenu/index.js.map +1 -0
  98. package/build/components/MegaMenu/style.css +1 -0
  99. package/build/components/MoneyInput/index.cjs +1 -1
  100. package/build/components/MoneyInput/index.cjs.map +1 -1
  101. package/build/components/MoneyInput/index.js +10 -10
  102. package/build/components/MoneyInput/index.js.map +1 -1
  103. package/build/components/NotificationCenter/style.css +1 -1
  104. package/build/components/PageHeader/style.css +1 -1
  105. package/build/components/Popover/style.css +1 -1
  106. package/build/components/ProductCarousel/index.cjs +2 -0
  107. package/build/components/ProductCarousel/index.cjs.map +1 -0
  108. package/build/components/ProductCarousel/index.d.cts +35 -0
  109. package/build/components/ProductCarousel/index.d.ts +35 -0
  110. package/build/components/ProductCarousel/index.js +86 -0
  111. package/build/components/ProductCarousel/index.js.map +1 -0
  112. package/build/components/ProductCarousel/style.css +1 -0
  113. package/build/components/Radio/index.cjs +1 -1
  114. package/build/components/Radio/index.cjs.map +1 -1
  115. package/build/components/Radio/index.js +10 -10
  116. package/build/components/Radio/index.js.map +1 -1
  117. package/build/components/SectionHeader/index.cjs +1 -1
  118. package/build/components/SectionHeader/index.cjs.map +1 -1
  119. package/build/components/SectionHeader/index.js +4 -4
  120. package/build/components/SectionHeader/index.js.map +1 -1
  121. package/build/components/SectionHeader/style.css +1 -1
  122. package/build/components/SegmentedControl/index.cjs +1 -1
  123. package/build/components/SegmentedControl/index.cjs.map +1 -1
  124. package/build/components/SegmentedControl/index.js +23 -23
  125. package/build/components/SegmentedControl/index.js.map +1 -1
  126. package/build/components/Select/index.cjs +1 -1
  127. package/build/components/Select/index.cjs.map +1 -1
  128. package/build/components/Select/index.js +37 -37
  129. package/build/components/Select/index.js.map +1 -1
  130. package/build/components/Select/style.css +1 -1
  131. package/build/components/Skeleton/index.cjs +1 -1
  132. package/build/components/Skeleton/index.cjs.map +1 -1
  133. package/build/components/Skeleton/index.js +16 -16
  134. package/build/components/Skeleton/index.js.map +1 -1
  135. package/build/components/SortableList/index.cjs +2 -0
  136. package/build/components/SortableList/index.cjs.map +1 -0
  137. package/build/components/SortableList/index.d.cts +37 -0
  138. package/build/components/SortableList/index.d.ts +37 -0
  139. package/build/components/SortableList/index.js +159 -0
  140. package/build/components/SortableList/index.js.map +1 -0
  141. package/build/components/SortableList/style.css +1 -0
  142. package/build/components/Steps/index.cjs +1 -1
  143. package/build/components/Steps/index.cjs.map +1 -1
  144. package/build/components/Steps/index.d.cts +6 -0
  145. package/build/components/Steps/index.d.ts +6 -0
  146. package/build/components/Steps/index.js +37 -35
  147. package/build/components/Steps/index.js.map +1 -1
  148. package/build/components/Steps/style.css +1 -1
  149. package/build/components/StickyActionBar/index.cjs +2 -0
  150. package/build/components/StickyActionBar/index.cjs.map +1 -0
  151. package/build/components/StickyActionBar/index.d.cts +29 -0
  152. package/build/components/StickyActionBar/index.d.ts +29 -0
  153. package/build/components/StickyActionBar/index.js +57 -0
  154. package/build/components/StickyActionBar/index.js.map +1 -0
  155. package/build/components/StickyActionBar/style.css +1 -0
  156. package/build/components/Table/index.cjs +1 -1
  157. package/build/components/Table/index.cjs.map +1 -1
  158. package/build/components/Table/index.d.cts +6 -0
  159. package/build/components/Table/index.d.ts +6 -0
  160. package/build/components/Table/index.js +34 -32
  161. package/build/components/Table/index.js.map +1 -1
  162. package/build/components/Table/style.css +1 -1
  163. package/build/helpers/carousel.helper.cjs +2 -0
  164. package/build/helpers/carousel.helper.cjs.map +1 -0
  165. package/build/helpers/carousel.helper.d.cts +11 -0
  166. package/build/helpers/carousel.helper.d.ts +11 -0
  167. package/build/helpers/carousel.helper.js +10 -0
  168. package/build/helpers/carousel.helper.js.map +1 -0
  169. package/build/helpers/facet.helper.cjs +2 -0
  170. package/build/helpers/facet.helper.cjs.map +1 -0
  171. package/build/helpers/facet.helper.d.cts +6 -0
  172. package/build/helpers/facet.helper.d.ts +6 -0
  173. package/build/helpers/facet.helper.js +5 -0
  174. package/build/helpers/facet.helper.js.map +1 -0
  175. package/build/helpers/focus.helper.cjs +1 -1
  176. package/build/helpers/focus.helper.cjs.map +1 -1
  177. package/build/helpers/focus.helper.d.cts +2 -0
  178. package/build/helpers/focus.helper.d.ts +2 -0
  179. package/build/helpers/focus.helper.js +1 -0
  180. package/build/helpers/focus.helper.js.map +1 -1
  181. package/build/helpers/sortable.helper.cjs +2 -0
  182. package/build/helpers/sortable.helper.cjs.map +1 -0
  183. package/build/helpers/sortable.helper.d.cts +19 -0
  184. package/build/helpers/sortable.helper.d.ts +19 -0
  185. package/build/helpers/sortable.helper.js +20 -0
  186. package/build/helpers/sortable.helper.js.map +1 -0
  187. package/build/helpers/sticky-bar.helper.cjs +2 -0
  188. package/build/helpers/sticky-bar.helper.cjs.map +1 -0
  189. package/build/helpers/sticky-bar.helper.d.cts +6 -0
  190. package/build/helpers/sticky-bar.helper.d.ts +6 -0
  191. package/build/helpers/sticky-bar.helper.js +8 -0
  192. package/build/helpers/sticky-bar.helper.js.map +1 -0
  193. package/build/hooks/useRemovalFocus.cjs +2 -0
  194. package/build/hooks/useRemovalFocus.cjs.map +1 -0
  195. package/build/hooks/useRemovalFocus.d.cts +13 -0
  196. package/build/hooks/useRemovalFocus.d.ts +13 -0
  197. package/build/hooks/useRemovalFocus.js +21 -0
  198. package/build/hooks/useRemovalFocus.js.map +1 -0
  199. package/build/index.cjs +1 -1
  200. package/build/index.d.cts +13 -2
  201. package/build/index.d.ts +13 -2
  202. package/build/index.js +115 -93
  203. package/build/index.js.map +1 -1
  204. package/build/scss/_mixins.scss +3 -1
  205. package/build/styles.css +38 -14
  206. package/build/types/sortable.type.d.cts +12 -0
  207. package/build/types/sortable.type.d.ts +12 -0
  208. package/build/types/theme.type.d.cts +95 -0
  209. package/build/types/theme.type.d.ts +95 -0
  210. package/build/types/types/theme.type.d.cts +95 -0
  211. package/build/types/types/theme.type.d.ts +95 -0
  212. package/package.json +111 -1
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+ /** What `renderItem` receives for one item. */
3
+ export type SortableItemState = {
4
+ /** The item's position in the order being drawn (0-based). */
5
+ index: number;
6
+ /** The item is being moved, by pointer or keyboard. */
7
+ isDragging: boolean;
8
+ /** The drag handle; place it in the item. Pointer drag and the keyboard both start on it. */
9
+ handle: ReactNode;
10
+ /** Moves the item to a position at once — `moveTo(0)` makes an image the cover. */
11
+ moveTo: (index: number) => void;
12
+ };
@@ -0,0 +1,12 @@
1
+ import { ReactNode } from 'react';
2
+ /** What `renderItem` receives for one item. */
3
+ export type SortableItemState = {
4
+ /** The item's position in the order being drawn (0-based). */
5
+ index: number;
6
+ /** The item is being moved, by pointer or keyboard. */
7
+ isDragging: boolean;
8
+ /** The drag handle; place it in the item. Pointer drag and the keyboard both start on it. */
9
+ handle: ReactNode;
10
+ /** Moves the item to a position at once — `moveTo(0)` makes an image the cover. */
11
+ moveTo: (index: number) => void;
12
+ };
@@ -146,6 +146,101 @@ export type UiLabels = Partial<{
146
146
  /** The account menu's name ("Hesap"). `UserMenu`. */
147
147
  userMenu: string;
148
148
  }>;
149
+ /** `FacetSidebar` and `FacetSection` (3.4). */
150
+ facets: Partial<{
151
+ /** The sidebar's name and the drawer's title ("Filtreler"). */
152
+ title: string;
153
+ /** Clears every filter ("Tümünü temizle"). */
154
+ clearAll: string;
155
+ /** Clears one section ("Temizle"). */
156
+ clear: string;
157
+ /** The drawer's apply button when the call passes no `applyLabel` ("Sonuçları göster"). */
158
+ apply: string;
159
+ /** Applies a min/max range ("Uygula"). */
160
+ applyRange: string;
161
+ /** Unfolds a long list, e.g. `count => count + ' seçenek daha'`. */
162
+ showMore: Formatter<[count: number]>;
163
+ /** Folds it back ("Daha az göster"). */
164
+ showLess: string;
165
+ /** The search field of a long list, e.g. `title => title + ' içinde ara'`. */
166
+ search: Formatter<[title: string]>;
167
+ /** No option matches the search, e.g. `term => '“' + term + '” için sonuç yok'`. */
168
+ noMatch: Formatter<[term: string]>;
169
+ /** Read after a section's title, e.g. `count => count + ' seçili'`: the badge is not read. */
170
+ selected: Formatter<[count: number]>;
171
+ }>;
172
+ /** `AppliedFilters` (3.4). */
173
+ appliedFilters: Partial<{
174
+ /** The strip's name and its lead ("Uygulanan filtreler"). */
175
+ title: string;
176
+ /** One chip, e.g. `(group, value) => group + ': ' + value + ' filtresini kaldır'`. */
177
+ remove: Formatter<[group: string, value: string]>;
178
+ clearAll: string;
179
+ /** Filters without a chip, e.g. `count => '+' + count + ' filtre daha'`. */
180
+ more: Formatter<[count: number]>;
181
+ }>;
182
+ /** `FilterToolbar` (3.4). */
183
+ filterToolbar: Partial<{
184
+ /** The narrow-screen button that opens the filters ("Filtrele"). */
185
+ filter: string;
186
+ /** Read after it, e.g. `count => count + ' filtre uygulandı'`. */
187
+ activeFilters: Formatter<[count: number]>;
188
+ sort: string;
189
+ /** The view switch's name and its two options ("Görünüm", "Tablo", "Kartlar"). */
190
+ view: string;
191
+ viewTable: string;
192
+ viewCards: string;
193
+ /** The density switch ("Yoğunluk", "Rahat", "Sıkı"). */
194
+ density: string;
195
+ densityComfortable: string;
196
+ densityCompact: string;
197
+ /** The page size select's name ("Sayfa başına"). */
198
+ pageSize: string;
199
+ /** One page size, e.g. `size => size + ' / sayfa'`. */
200
+ perPage: Formatter<[size: number]>;
201
+ }>;
202
+ /** `SortableList` (3.4). Positions are 1-based. */
203
+ sortableList: Partial<{
204
+ /** Read once by the handles, e.g. "Boşluk ile tutun, oklarla taşıyın, Boşluk ile bırakın, Escape ile vazgeçin." */
205
+ instructions: string;
206
+ /** A handle's name, e.g. `item => item + ' öğesini taşı'`. */
207
+ handle: Formatter<[item: string]>;
208
+ grabbed: Formatter<[item: string, position: number, total: number]>;
209
+ moved: Formatter<[item: string, position: number, total: number]>;
210
+ dropped: Formatter<[item: string, position: number, total: number]>;
211
+ cancelled: Formatter<[item: string]>;
212
+ }>;
213
+ /** `CompareTray` (3.4). */
214
+ compareTray: Partial<{
215
+ /** The tray's name and title ("Karşılaştırma listesi"). */
216
+ title: string;
217
+ /** e.g. `(count, max) => count + '/' + max`. */
218
+ count: Formatter<[count: number, max: number]>;
219
+ /** e.g. `item => item + ' ürününü karşılaştırmadan çıkar'`. */
220
+ remove: Formatter<[item: string]>;
221
+ clear: string;
222
+ /** e.g. `count => 'Karşılaştır (' + count + ')'`. */
223
+ compare: Formatter<[count: number]>;
224
+ /** Why compare is disabled, e.g. `min => 'En az ' + min + ' ürün seçin'`. */
225
+ needMore: Formatter<[min: number]>;
226
+ }>;
227
+ /** `ProductCarousel` (3.4). */
228
+ productCarousel: Partial<{
229
+ /** e.g. `title => title + ': önceki ürünler'`. */
230
+ previous: Formatter<[title: string]>;
231
+ next: Formatter<[title: string]>;
232
+ /** The rail's "see all" link ("Tümünü gör"). */
233
+ seeAll: string;
234
+ }>;
235
+ /** `MegaMenu` (3.4). */
236
+ megaMenu: Partial<{
237
+ /** The navigation landmark's name ("Kategoriler"). */
238
+ navigation: string;
239
+ /** The narrow-screen drawer's title ("Menü"). */
240
+ menu: string;
241
+ /** The panel's link to the whole category, e.g. `label => 'Tüm ' + label`. */
242
+ seeAll: Formatter<[label: string]>;
243
+ }>;
149
244
  /** `BulkPasteInput` (3.1). */
150
245
  bulkPaste: Partial<{
151
246
  /** Parsed rows, e.g. `count => count + ' satır okundu'`. */
@@ -146,6 +146,101 @@ export type UiLabels = Partial<{
146
146
  /** The account menu's name ("Hesap"). `UserMenu`. */
147
147
  userMenu: string;
148
148
  }>;
149
+ /** `FacetSidebar` and `FacetSection` (3.4). */
150
+ facets: Partial<{
151
+ /** The sidebar's name and the drawer's title ("Filtreler"). */
152
+ title: string;
153
+ /** Clears every filter ("Tümünü temizle"). */
154
+ clearAll: string;
155
+ /** Clears one section ("Temizle"). */
156
+ clear: string;
157
+ /** The drawer's apply button when the call passes no `applyLabel` ("Sonuçları göster"). */
158
+ apply: string;
159
+ /** Applies a min/max range ("Uygula"). */
160
+ applyRange: string;
161
+ /** Unfolds a long list, e.g. `count => count + ' seçenek daha'`. */
162
+ showMore: Formatter<[count: number]>;
163
+ /** Folds it back ("Daha az göster"). */
164
+ showLess: string;
165
+ /** The search field of a long list, e.g. `title => title + ' içinde ara'`. */
166
+ search: Formatter<[title: string]>;
167
+ /** No option matches the search, e.g. `term => '“' + term + '” için sonuç yok'`. */
168
+ noMatch: Formatter<[term: string]>;
169
+ /** Read after a section's title, e.g. `count => count + ' seçili'`: the badge is not read. */
170
+ selected: Formatter<[count: number]>;
171
+ }>;
172
+ /** `AppliedFilters` (3.4). */
173
+ appliedFilters: Partial<{
174
+ /** The strip's name and its lead ("Uygulanan filtreler"). */
175
+ title: string;
176
+ /** One chip, e.g. `(group, value) => group + ': ' + value + ' filtresini kaldır'`. */
177
+ remove: Formatter<[group: string, value: string]>;
178
+ clearAll: string;
179
+ /** Filters without a chip, e.g. `count => '+' + count + ' filtre daha'`. */
180
+ more: Formatter<[count: number]>;
181
+ }>;
182
+ /** `FilterToolbar` (3.4). */
183
+ filterToolbar: Partial<{
184
+ /** The narrow-screen button that opens the filters ("Filtrele"). */
185
+ filter: string;
186
+ /** Read after it, e.g. `count => count + ' filtre uygulandı'`. */
187
+ activeFilters: Formatter<[count: number]>;
188
+ sort: string;
189
+ /** The view switch's name and its two options ("Görünüm", "Tablo", "Kartlar"). */
190
+ view: string;
191
+ viewTable: string;
192
+ viewCards: string;
193
+ /** The density switch ("Yoğunluk", "Rahat", "Sıkı"). */
194
+ density: string;
195
+ densityComfortable: string;
196
+ densityCompact: string;
197
+ /** The page size select's name ("Sayfa başına"). */
198
+ pageSize: string;
199
+ /** One page size, e.g. `size => size + ' / sayfa'`. */
200
+ perPage: Formatter<[size: number]>;
201
+ }>;
202
+ /** `SortableList` (3.4). Positions are 1-based. */
203
+ sortableList: Partial<{
204
+ /** Read once by the handles, e.g. "Boşluk ile tutun, oklarla taşıyın, Boşluk ile bırakın, Escape ile vazgeçin." */
205
+ instructions: string;
206
+ /** A handle's name, e.g. `item => item + ' öğesini taşı'`. */
207
+ handle: Formatter<[item: string]>;
208
+ grabbed: Formatter<[item: string, position: number, total: number]>;
209
+ moved: Formatter<[item: string, position: number, total: number]>;
210
+ dropped: Formatter<[item: string, position: number, total: number]>;
211
+ cancelled: Formatter<[item: string]>;
212
+ }>;
213
+ /** `CompareTray` (3.4). */
214
+ compareTray: Partial<{
215
+ /** The tray's name and title ("Karşılaştırma listesi"). */
216
+ title: string;
217
+ /** e.g. `(count, max) => count + '/' + max`. */
218
+ count: Formatter<[count: number, max: number]>;
219
+ /** e.g. `item => item + ' ürününü karşılaştırmadan çıkar'`. */
220
+ remove: Formatter<[item: string]>;
221
+ clear: string;
222
+ /** e.g. `count => 'Karşılaştır (' + count + ')'`. */
223
+ compare: Formatter<[count: number]>;
224
+ /** Why compare is disabled, e.g. `min => 'En az ' + min + ' ürün seçin'`. */
225
+ needMore: Formatter<[min: number]>;
226
+ }>;
227
+ /** `ProductCarousel` (3.4). */
228
+ productCarousel: Partial<{
229
+ /** e.g. `title => title + ': önceki ürünler'`. */
230
+ previous: Formatter<[title: string]>;
231
+ next: Formatter<[title: string]>;
232
+ /** The rail's "see all" link ("Tümünü gör"). */
233
+ seeAll: string;
234
+ }>;
235
+ /** `MegaMenu` (3.4). */
236
+ megaMenu: Partial<{
237
+ /** The navigation landmark's name ("Kategoriler"). */
238
+ navigation: string;
239
+ /** The narrow-screen drawer's title ("Menü"). */
240
+ menu: string;
241
+ /** The panel's link to the whole category, e.g. `label => 'Tüm ' + label`. */
242
+ seeAll: Formatter<[label: string]>;
243
+ }>;
149
244
  /** `BulkPasteInput` (3.1). */
150
245
  bulkPaste: Partial<{
151
246
  /** Parsed rows, e.g. `count => count + ' satır okundu'`. */
@@ -146,6 +146,101 @@ export type UiLabels = Partial<{
146
146
  /** The account menu's name ("Hesap"). `UserMenu`. */
147
147
  userMenu: string;
148
148
  }>;
149
+ /** `FacetSidebar` and `FacetSection` (3.4). */
150
+ facets: Partial<{
151
+ /** The sidebar's name and the drawer's title ("Filtreler"). */
152
+ title: string;
153
+ /** Clears every filter ("Tümünü temizle"). */
154
+ clearAll: string;
155
+ /** Clears one section ("Temizle"). */
156
+ clear: string;
157
+ /** The drawer's apply button when the call passes no `applyLabel` ("Sonuçları göster"). */
158
+ apply: string;
159
+ /** Applies a min/max range ("Uygula"). */
160
+ applyRange: string;
161
+ /** Unfolds a long list, e.g. `count => count + ' seçenek daha'`. */
162
+ showMore: Formatter<[count: number]>;
163
+ /** Folds it back ("Daha az göster"). */
164
+ showLess: string;
165
+ /** The search field of a long list, e.g. `title => title + ' içinde ara'`. */
166
+ search: Formatter<[title: string]>;
167
+ /** No option matches the search, e.g. `term => '“' + term + '” için sonuç yok'`. */
168
+ noMatch: Formatter<[term: string]>;
169
+ /** Read after a section's title, e.g. `count => count + ' seçili'`: the badge is not read. */
170
+ selected: Formatter<[count: number]>;
171
+ }>;
172
+ /** `AppliedFilters` (3.4). */
173
+ appliedFilters: Partial<{
174
+ /** The strip's name and its lead ("Uygulanan filtreler"). */
175
+ title: string;
176
+ /** One chip, e.g. `(group, value) => group + ': ' + value + ' filtresini kaldır'`. */
177
+ remove: Formatter<[group: string, value: string]>;
178
+ clearAll: string;
179
+ /** Filters without a chip, e.g. `count => '+' + count + ' filtre daha'`. */
180
+ more: Formatter<[count: number]>;
181
+ }>;
182
+ /** `FilterToolbar` (3.4). */
183
+ filterToolbar: Partial<{
184
+ /** The narrow-screen button that opens the filters ("Filtrele"). */
185
+ filter: string;
186
+ /** Read after it, e.g. `count => count + ' filtre uygulandı'`. */
187
+ activeFilters: Formatter<[count: number]>;
188
+ sort: string;
189
+ /** The view switch's name and its two options ("Görünüm", "Tablo", "Kartlar"). */
190
+ view: string;
191
+ viewTable: string;
192
+ viewCards: string;
193
+ /** The density switch ("Yoğunluk", "Rahat", "Sıkı"). */
194
+ density: string;
195
+ densityComfortable: string;
196
+ densityCompact: string;
197
+ /** The page size select's name ("Sayfa başına"). */
198
+ pageSize: string;
199
+ /** One page size, e.g. `size => size + ' / sayfa'`. */
200
+ perPage: Formatter<[size: number]>;
201
+ }>;
202
+ /** `SortableList` (3.4). Positions are 1-based. */
203
+ sortableList: Partial<{
204
+ /** Read once by the handles, e.g. "Boşluk ile tutun, oklarla taşıyın, Boşluk ile bırakın, Escape ile vazgeçin." */
205
+ instructions: string;
206
+ /** A handle's name, e.g. `item => item + ' öğesini taşı'`. */
207
+ handle: Formatter<[item: string]>;
208
+ grabbed: Formatter<[item: string, position: number, total: number]>;
209
+ moved: Formatter<[item: string, position: number, total: number]>;
210
+ dropped: Formatter<[item: string, position: number, total: number]>;
211
+ cancelled: Formatter<[item: string]>;
212
+ }>;
213
+ /** `CompareTray` (3.4). */
214
+ compareTray: Partial<{
215
+ /** The tray's name and title ("Karşılaştırma listesi"). */
216
+ title: string;
217
+ /** e.g. `(count, max) => count + '/' + max`. */
218
+ count: Formatter<[count: number, max: number]>;
219
+ /** e.g. `item => item + ' ürününü karşılaştırmadan çıkar'`. */
220
+ remove: Formatter<[item: string]>;
221
+ clear: string;
222
+ /** e.g. `count => 'Karşılaştır (' + count + ')'`. */
223
+ compare: Formatter<[count: number]>;
224
+ /** Why compare is disabled, e.g. `min => 'En az ' + min + ' ürün seçin'`. */
225
+ needMore: Formatter<[min: number]>;
226
+ }>;
227
+ /** `ProductCarousel` (3.4). */
228
+ productCarousel: Partial<{
229
+ /** e.g. `title => title + ': önceki ürünler'`. */
230
+ previous: Formatter<[title: string]>;
231
+ next: Formatter<[title: string]>;
232
+ /** The rail's "see all" link ("Tümünü gör"). */
233
+ seeAll: string;
234
+ }>;
235
+ /** `MegaMenu` (3.4). */
236
+ megaMenu: Partial<{
237
+ /** The navigation landmark's name ("Kategoriler"). */
238
+ navigation: string;
239
+ /** The narrow-screen drawer's title ("Menü"). */
240
+ menu: string;
241
+ /** The panel's link to the whole category, e.g. `label => 'Tüm ' + label`. */
242
+ seeAll: Formatter<[label: string]>;
243
+ }>;
149
244
  /** `BulkPasteInput` (3.1). */
150
245
  bulkPaste: Partial<{
151
246
  /** Parsed rows, e.g. `count => count + ' satır okundu'`. */
@@ -146,6 +146,101 @@ export type UiLabels = Partial<{
146
146
  /** The account menu's name ("Hesap"). `UserMenu`. */
147
147
  userMenu: string;
148
148
  }>;
149
+ /** `FacetSidebar` and `FacetSection` (3.4). */
150
+ facets: Partial<{
151
+ /** The sidebar's name and the drawer's title ("Filtreler"). */
152
+ title: string;
153
+ /** Clears every filter ("Tümünü temizle"). */
154
+ clearAll: string;
155
+ /** Clears one section ("Temizle"). */
156
+ clear: string;
157
+ /** The drawer's apply button when the call passes no `applyLabel` ("Sonuçları göster"). */
158
+ apply: string;
159
+ /** Applies a min/max range ("Uygula"). */
160
+ applyRange: string;
161
+ /** Unfolds a long list, e.g. `count => count + ' seçenek daha'`. */
162
+ showMore: Formatter<[count: number]>;
163
+ /** Folds it back ("Daha az göster"). */
164
+ showLess: string;
165
+ /** The search field of a long list, e.g. `title => title + ' içinde ara'`. */
166
+ search: Formatter<[title: string]>;
167
+ /** No option matches the search, e.g. `term => '“' + term + '” için sonuç yok'`. */
168
+ noMatch: Formatter<[term: string]>;
169
+ /** Read after a section's title, e.g. `count => count + ' seçili'`: the badge is not read. */
170
+ selected: Formatter<[count: number]>;
171
+ }>;
172
+ /** `AppliedFilters` (3.4). */
173
+ appliedFilters: Partial<{
174
+ /** The strip's name and its lead ("Uygulanan filtreler"). */
175
+ title: string;
176
+ /** One chip, e.g. `(group, value) => group + ': ' + value + ' filtresini kaldır'`. */
177
+ remove: Formatter<[group: string, value: string]>;
178
+ clearAll: string;
179
+ /** Filters without a chip, e.g. `count => '+' + count + ' filtre daha'`. */
180
+ more: Formatter<[count: number]>;
181
+ }>;
182
+ /** `FilterToolbar` (3.4). */
183
+ filterToolbar: Partial<{
184
+ /** The narrow-screen button that opens the filters ("Filtrele"). */
185
+ filter: string;
186
+ /** Read after it, e.g. `count => count + ' filtre uygulandı'`. */
187
+ activeFilters: Formatter<[count: number]>;
188
+ sort: string;
189
+ /** The view switch's name and its two options ("Görünüm", "Tablo", "Kartlar"). */
190
+ view: string;
191
+ viewTable: string;
192
+ viewCards: string;
193
+ /** The density switch ("Yoğunluk", "Rahat", "Sıkı"). */
194
+ density: string;
195
+ densityComfortable: string;
196
+ densityCompact: string;
197
+ /** The page size select's name ("Sayfa başına"). */
198
+ pageSize: string;
199
+ /** One page size, e.g. `size => size + ' / sayfa'`. */
200
+ perPage: Formatter<[size: number]>;
201
+ }>;
202
+ /** `SortableList` (3.4). Positions are 1-based. */
203
+ sortableList: Partial<{
204
+ /** Read once by the handles, e.g. "Boşluk ile tutun, oklarla taşıyın, Boşluk ile bırakın, Escape ile vazgeçin." */
205
+ instructions: string;
206
+ /** A handle's name, e.g. `item => item + ' öğesini taşı'`. */
207
+ handle: Formatter<[item: string]>;
208
+ grabbed: Formatter<[item: string, position: number, total: number]>;
209
+ moved: Formatter<[item: string, position: number, total: number]>;
210
+ dropped: Formatter<[item: string, position: number, total: number]>;
211
+ cancelled: Formatter<[item: string]>;
212
+ }>;
213
+ /** `CompareTray` (3.4). */
214
+ compareTray: Partial<{
215
+ /** The tray's name and title ("Karşılaştırma listesi"). */
216
+ title: string;
217
+ /** e.g. `(count, max) => count + '/' + max`. */
218
+ count: Formatter<[count: number, max: number]>;
219
+ /** e.g. `item => item + ' ürününü karşılaştırmadan çıkar'`. */
220
+ remove: Formatter<[item: string]>;
221
+ clear: string;
222
+ /** e.g. `count => 'Karşılaştır (' + count + ')'`. */
223
+ compare: Formatter<[count: number]>;
224
+ /** Why compare is disabled, e.g. `min => 'En az ' + min + ' ürün seçin'`. */
225
+ needMore: Formatter<[min: number]>;
226
+ }>;
227
+ /** `ProductCarousel` (3.4). */
228
+ productCarousel: Partial<{
229
+ /** e.g. `title => title + ': önceki ürünler'`. */
230
+ previous: Formatter<[title: string]>;
231
+ next: Formatter<[title: string]>;
232
+ /** The rail's "see all" link ("Tümünü gör"). */
233
+ seeAll: string;
234
+ }>;
235
+ /** `MegaMenu` (3.4). */
236
+ megaMenu: Partial<{
237
+ /** The navigation landmark's name ("Kategoriler"). */
238
+ navigation: string;
239
+ /** The narrow-screen drawer's title ("Menü"). */
240
+ menu: string;
241
+ /** The panel's link to the whole category, e.g. `label => 'Tüm ' + label`. */
242
+ seeAll: Formatter<[label: string]>;
243
+ }>;
149
244
  /** `BulkPasteInput` (3.1). */
150
245
  bulkPaste: Partial<{
151
246
  /** Parsed rows, e.g. `count => count + ' satır okundu'`. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handijitcom/ui",
3
- "version": "3.3.1",
3
+ "version": "3.4.1",
4
4
  "description": "Accessible React component library on SCSS Modules, themed by its own design tokens (@handijitcom/ui/design): light and dark from one set of --hd-* tokens, a CSP-ready theme boot script, and Bootstrap Icons for iconography.",
5
5
  "author": "Ahmet ilhan <ahmetilhan.dev@gmail.com>",
6
6
  "license": "MIT",
@@ -46,6 +46,16 @@
46
46
  "default": "./build/components/Alert/index.cjs"
47
47
  }
48
48
  },
49
+ "./applied-filters": {
50
+ "import": {
51
+ "types": "./build/components/AppliedFilters/index.d.ts",
52
+ "default": "./build/components/AppliedFilters/index.js"
53
+ },
54
+ "require": {
55
+ "types": "./build/components/AppliedFilters/index.d.cts",
56
+ "default": "./build/components/AppliedFilters/index.cjs"
57
+ }
58
+ },
49
59
  "./app-shell": {
50
60
  "import": {
51
61
  "types": "./build/components/AppShell/index.d.ts",
@@ -86,6 +96,16 @@
86
96
  "default": "./build/components/BottomSheet/index.cjs"
87
97
  }
88
98
  },
99
+ "./brand-lockup": {
100
+ "import": {
101
+ "types": "./build/components/BrandLockup/index.d.ts",
102
+ "default": "./build/components/BrandLockup/index.js"
103
+ },
104
+ "require": {
105
+ "types": "./build/components/BrandLockup/index.d.cts",
106
+ "default": "./build/components/BrandLockup/index.cjs"
107
+ }
108
+ },
89
109
  "./brand-surface": {
90
110
  "import": {
91
111
  "types": "./build/components/BrandSurface/index.d.ts",
@@ -186,6 +206,16 @@
186
206
  "default": "./build/components/CodeBadge/index.cjs"
187
207
  }
188
208
  },
209
+ "./code-text": {
210
+ "import": {
211
+ "types": "./build/components/CodeText/index.d.ts",
212
+ "default": "./build/components/CodeText/index.js"
213
+ },
214
+ "require": {
215
+ "types": "./build/components/CodeText/index.d.cts",
216
+ "default": "./build/components/CodeText/index.cjs"
217
+ }
218
+ },
189
219
  "./combobox": {
190
220
  "import": {
191
221
  "types": "./build/components/Combobox/index.d.ts",
@@ -206,6 +236,16 @@
206
236
  "default": "./build/components/CommandPalette/index.cjs"
207
237
  }
208
238
  },
239
+ "./compare-tray": {
240
+ "import": {
241
+ "types": "./build/components/CompareTray/index.d.ts",
242
+ "default": "./build/components/CompareTray/index.js"
243
+ },
244
+ "require": {
245
+ "types": "./build/components/CompareTray/index.d.cts",
246
+ "default": "./build/components/CompareTray/index.cjs"
247
+ }
248
+ },
209
249
  "./confirm-dialog": {
210
250
  "import": {
211
251
  "types": "./build/components/ConfirmDialog/index.d.ts",
@@ -316,6 +356,26 @@
316
356
  "default": "./build/components/Eyebrow/index.cjs"
317
357
  }
318
358
  },
359
+ "./facet-section": {
360
+ "import": {
361
+ "types": "./build/components/FacetSection/index.d.ts",
362
+ "default": "./build/components/FacetSection/index.js"
363
+ },
364
+ "require": {
365
+ "types": "./build/components/FacetSection/index.d.cts",
366
+ "default": "./build/components/FacetSection/index.cjs"
367
+ }
368
+ },
369
+ "./facet-sidebar": {
370
+ "import": {
371
+ "types": "./build/components/FacetSidebar/index.d.ts",
372
+ "default": "./build/components/FacetSidebar/index.js"
373
+ },
374
+ "require": {
375
+ "types": "./build/components/FacetSidebar/index.d.cts",
376
+ "default": "./build/components/FacetSidebar/index.cjs"
377
+ }
378
+ },
319
379
  "./field": {
320
380
  "import": {
321
381
  "types": "./build/components/Field/index.d.ts",
@@ -346,6 +406,16 @@
346
406
  "default": "./build/components/FilterBar/index.cjs"
347
407
  }
348
408
  },
409
+ "./filter-toolbar": {
410
+ "import": {
411
+ "types": "./build/components/FilterToolbar/index.d.ts",
412
+ "default": "./build/components/FilterToolbar/index.js"
413
+ },
414
+ "require": {
415
+ "types": "./build/components/FilterToolbar/index.d.cts",
416
+ "default": "./build/components/FilterToolbar/index.cjs"
417
+ }
418
+ },
349
419
  "./gallery": {
350
420
  "import": {
351
421
  "types": "./build/components/Gallery/index.d.ts",
@@ -386,6 +456,16 @@
386
456
  "default": "./build/components/Kbd/index.cjs"
387
457
  }
388
458
  },
459
+ "./mega-menu": {
460
+ "import": {
461
+ "types": "./build/components/MegaMenu/index.d.ts",
462
+ "default": "./build/components/MegaMenu/index.js"
463
+ },
464
+ "require": {
465
+ "types": "./build/components/MegaMenu/index.d.cts",
466
+ "default": "./build/components/MegaMenu/index.cjs"
467
+ }
468
+ },
389
469
  "./menu": {
390
470
  "import": {
391
471
  "types": "./build/components/Menu/index.d.ts",
@@ -496,6 +576,16 @@
496
576
  "default": "./build/components/Price/index.cjs"
497
577
  }
498
578
  },
579
+ "./product-carousel": {
580
+ "import": {
581
+ "types": "./build/components/ProductCarousel/index.d.ts",
582
+ "default": "./build/components/ProductCarousel/index.js"
583
+ },
584
+ "require": {
585
+ "types": "./build/components/ProductCarousel/index.d.cts",
586
+ "default": "./build/components/ProductCarousel/index.cjs"
587
+ }
588
+ },
499
589
  "./progress": {
500
590
  "import": {
501
591
  "types": "./build/components/Progress/index.d.ts",
@@ -656,6 +746,16 @@
656
746
  "default": "./build/components/Skeleton/index.cjs"
657
747
  }
658
748
  },
749
+ "./sortable-list": {
750
+ "import": {
751
+ "types": "./build/components/SortableList/index.d.ts",
752
+ "default": "./build/components/SortableList/index.js"
753
+ },
754
+ "require": {
755
+ "types": "./build/components/SortableList/index.d.cts",
756
+ "default": "./build/components/SortableList/index.cjs"
757
+ }
758
+ },
659
759
  "./spinner": {
660
760
  "import": {
661
761
  "types": "./build/components/Spinner/index.d.ts",
@@ -706,6 +806,16 @@
706
806
  "default": "./build/components/Steps/index.cjs"
707
807
  }
708
808
  },
809
+ "./sticky-action-bar": {
810
+ "import": {
811
+ "types": "./build/components/StickyActionBar/index.d.ts",
812
+ "default": "./build/components/StickyActionBar/index.js"
813
+ },
814
+ "require": {
815
+ "types": "./build/components/StickyActionBar/index.d.cts",
816
+ "default": "./build/components/StickyActionBar/index.cjs"
817
+ }
818
+ },
709
819
  "./summary-card": {
710
820
  "import": {
711
821
  "types": "./build/components/SummaryCard/index.d.ts",