@kanso-labs/kanso-ui 0.45.21 → 0.45.23

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 (269) hide show
  1. package/dist/badge/index.js.map +1 -1
  2. package/dist/button/context.js.map +1 -1
  3. package/dist/button/group.js.map +1 -1
  4. package/dist/button/hooks.js.map +1 -1
  5. package/dist/button/index.d.ts +3 -4
  6. package/dist/button/index.js.map +1 -1
  7. package/dist/button/styles.js.map +1 -1
  8. package/dist/button/toggle.js.map +1 -1
  9. package/dist/calendar/index.js +119 -11
  10. package/dist/calendar/index.js.map +1 -1
  11. package/dist/calendar/styles.js +19 -1
  12. package/dist/calendar/styles.js.map +1 -1
  13. package/dist/carousel/arrangement.d.ts +1 -2
  14. package/dist/carousel/arrangement.js.map +1 -1
  15. package/dist/chip/index.js.map +1 -1
  16. package/dist/chip/label.js.map +1 -1
  17. package/dist/chip/styles.js.map +1 -1
  18. package/dist/collection/empty.js.map +1 -1
  19. package/dist/collection/index.js.map +1 -1
  20. package/dist/collection/styles.js.map +1 -1
  21. package/dist/collection/text.js.map +1 -1
  22. package/dist/color-scheme.d.ts +1 -2
  23. package/dist/color-scheme.js.map +1 -1
  24. package/dist/components/app-bar/index.d.ts +9 -4
  25. package/dist/components/app-bar/index.js +123 -73
  26. package/dist/components/app-bar/index.js.map +1 -1
  27. package/dist/components/autocomplete/index.d.ts +1 -2
  28. package/dist/components/autocomplete/index.js.map +1 -1
  29. package/dist/components/avatar/index.d.ts +1 -2
  30. package/dist/components/avatar/index.js.map +1 -1
  31. package/dist/components/badge/index.d.ts +1 -2
  32. package/dist/components/badge/index.js.map +1 -1
  33. package/dist/components/breadcrumbs/index.d.ts +1 -2
  34. package/dist/components/breadcrumbs/index.js.map +1 -1
  35. package/dist/components/button/index.d.ts +1 -2
  36. package/dist/components/button/index.js.map +1 -1
  37. package/dist/components/button-group/index.d.ts +1 -2
  38. package/dist/components/button-group/index.js.map +1 -1
  39. package/dist/components/calendar/index.d.ts +4 -5
  40. package/dist/components/calendar/index.js +8 -19
  41. package/dist/components/calendar/index.js.map +1 -1
  42. package/dist/components/card/index.d.ts +1 -2
  43. package/dist/components/card/index.js.map +1 -1
  44. package/dist/components/carousel/index.d.ts +22 -4
  45. package/dist/components/carousel/index.js +26 -14
  46. package/dist/components/carousel/index.js.map +1 -1
  47. package/dist/components/checkbox/index.d.ts +1 -2
  48. package/dist/components/checkbox/index.js.map +1 -1
  49. package/dist/components/checkbox-group/index.d.ts +1 -2
  50. package/dist/components/checkbox-group/index.js.map +1 -1
  51. package/dist/components/chip/index.d.ts +1 -2
  52. package/dist/components/chip/index.js.map +1 -1
  53. package/dist/components/chip-group/index.d.ts +1 -2
  54. package/dist/components/chip-group/index.js +3 -0
  55. package/dist/components/chip-group/index.js.map +1 -1
  56. package/dist/components/code/index.d.ts +1 -2
  57. package/dist/components/code/index.js.map +1 -1
  58. package/dist/components/color-area/index.d.ts +1 -2
  59. package/dist/components/color-area/index.js.map +1 -1
  60. package/dist/components/color-field/index.d.ts +1 -2
  61. package/dist/components/color-field/index.js.map +1 -1
  62. package/dist/components/color-picker/index.d.ts +1 -2
  63. package/dist/components/color-picker/index.js +64 -46
  64. package/dist/components/color-picker/index.js.map +1 -1
  65. package/dist/components/color-slider/index.d.ts +1 -2
  66. package/dist/components/color-slider/index.js.map +1 -1
  67. package/dist/components/color-swatch/index.d.ts +1 -2
  68. package/dist/components/color-swatch/index.js +20 -16
  69. package/dist/components/color-swatch/index.js.map +1 -1
  70. package/dist/components/color-swatch-picker/index.d.ts +1 -2
  71. package/dist/components/color-swatch-picker/index.js.map +1 -1
  72. package/dist/components/color-wheel/index.d.ts +1 -2
  73. package/dist/components/color-wheel/index.js.map +1 -1
  74. package/dist/components/combo-box/index.d.ts +1 -2
  75. package/dist/components/combo-box/index.js.map +1 -1
  76. package/dist/components/container/index.d.ts +1 -2
  77. package/dist/components/container/index.js.map +1 -1
  78. package/dist/components/copy-field/index.d.ts +1 -2
  79. package/dist/components/copy-field/index.js +1 -0
  80. package/dist/components/copy-field/index.js.map +1 -1
  81. package/dist/components/currency/index.d.ts +1 -2
  82. package/dist/components/currency/index.js.map +1 -1
  83. package/dist/components/date-field/index.d.ts +1 -2
  84. package/dist/components/date-field/index.js.map +1 -1
  85. package/dist/components/date-picker/index.d.ts +1 -2
  86. package/dist/components/date-picker/index.js.map +1 -1
  87. package/dist/components/date-range-picker/index.d.ts +1 -2
  88. package/dist/components/date-range-picker/index.js +165 -81
  89. package/dist/components/date-range-picker/index.js.map +1 -1
  90. package/dist/components/dialog/index.d.ts +1 -2
  91. package/dist/components/dialog/index.js.map +1 -1
  92. package/dist/components/disclosure/index.d.ts +1 -2
  93. package/dist/components/disclosure/index.js.map +1 -1
  94. package/dist/components/disclosure-group/index.d.ts +1 -2
  95. package/dist/components/disclosure-group/index.js.map +1 -1
  96. package/dist/components/drop-zone/index.d.ts +1 -2
  97. package/dist/components/drop-zone/index.js.map +1 -1
  98. package/dist/components/drop-zone/styles.js.map +1 -1
  99. package/dist/components/fab/index.d.ts +1 -2
  100. package/dist/components/fab/index.js.map +1 -1
  101. package/dist/components/fab-menu/index.d.ts +1 -2
  102. package/dist/components/fab-menu/index.js.map +1 -1
  103. package/dist/components/feed/index.d.ts +1 -2
  104. package/dist/components/feed/index.js.map +1 -1
  105. package/dist/components/form/index.d.ts +1 -2
  106. package/dist/components/form/index.js.map +1 -1
  107. package/dist/components/icon-button/index.d.ts +1 -2
  108. package/dist/components/icon-button/index.js.map +1 -1
  109. package/dist/components/index.d.ts +2 -2
  110. package/dist/components/keycap/index.d.ts +1 -2
  111. package/dist/components/keycap/index.js.map +1 -1
  112. package/dist/components/link/index.d.ts +1 -2
  113. package/dist/components/link/index.js.map +1 -1
  114. package/dist/components/list/index.d.ts +1 -2
  115. package/dist/components/list/index.js.map +1 -1
  116. package/dist/components/list-box/index.d.ts +1 -2
  117. package/dist/components/list-box/index.js.map +1 -1
  118. package/dist/components/list-detail/index.d.ts +1 -2
  119. package/dist/components/list-detail/index.js.map +1 -1
  120. package/dist/components/list-item/index.d.ts +1 -2
  121. package/dist/components/list-item/index.js.map +1 -1
  122. package/dist/components/loading-indicator/index.d.ts +1 -2
  123. package/dist/components/loading-indicator/index.js.map +1 -1
  124. package/dist/components/menu/index.d.ts +1 -2
  125. package/dist/components/menu/index.js.map +1 -1
  126. package/dist/components/meter/index.d.ts +1 -2
  127. package/dist/components/meter/index.js.map +1 -1
  128. package/dist/components/navigation-bar/index.d.ts +1 -2
  129. package/dist/components/navigation-bar/index.js.map +1 -1
  130. package/dist/components/navigation-rail/index.d.ts +1 -2
  131. package/dist/components/navigation-rail/index.js.map +1 -1
  132. package/dist/components/navigation-tree/index.d.ts +1 -2
  133. package/dist/components/navigation-tree/index.js.map +1 -1
  134. package/dist/components/number-field/index.d.ts +1 -2
  135. package/dist/components/number-field/index.js.map +1 -1
  136. package/dist/components/popover/index.d.ts +1 -2
  137. package/dist/components/popover/index.js +14 -4
  138. package/dist/components/popover/index.js.map +1 -1
  139. package/dist/components/product-icon/index.d.ts +1 -2
  140. package/dist/components/product-icon/index.js.map +1 -1
  141. package/dist/components/progress-indicator/index.d.ts +1 -2
  142. package/dist/components/progress-indicator/index.js.map +1 -1
  143. package/dist/components/radio-group/index.d.ts +1 -2
  144. package/dist/components/radio-group/index.js.map +1 -1
  145. package/dist/components/range-calendar/index.d.ts +1 -2
  146. package/dist/components/range-calendar/index.js +53 -80
  147. package/dist/components/range-calendar/index.js.map +1 -1
  148. package/dist/components/search-field/index.d.ts +1 -2
  149. package/dist/components/search-field/index.js.map +1 -1
  150. package/dist/components/search-view/index.d.ts +1 -2
  151. package/dist/components/search-view/index.js.map +1 -1
  152. package/dist/components/segmented-button/index.d.ts +1 -2
  153. package/dist/components/segmented-button/index.js +261 -145
  154. package/dist/components/segmented-button/index.js.map +1 -1
  155. package/dist/components/select/index.d.ts +1 -2
  156. package/dist/components/select/index.js.map +1 -1
  157. package/dist/components/separator/index.d.ts +1 -2
  158. package/dist/components/separator/index.js.map +1 -1
  159. package/dist/components/sheet/index.d.ts +1 -2
  160. package/dist/components/sheet/index.js +149 -82
  161. package/dist/components/sheet/index.js.map +1 -1
  162. package/dist/components/slider/index.d.ts +1 -2
  163. package/dist/components/slider/index.js.map +1 -1
  164. package/dist/components/snackbar/index.d.ts +1 -2
  165. package/dist/components/snackbar/index.js.map +1 -1
  166. package/dist/components/split-button/index.d.ts +1 -2
  167. package/dist/components/split-button/index.js.map +1 -1
  168. package/dist/components/stack/index.d.ts +1 -2
  169. package/dist/components/stack/index.js.map +1 -1
  170. package/dist/components/supporting-pane/index.d.ts +1 -2
  171. package/dist/components/supporting-pane/index.js.map +1 -1
  172. package/dist/components/switch/index.d.ts +1 -2
  173. package/dist/components/switch/index.js.map +1 -1
  174. package/dist/components/table/index.d.ts +1 -2
  175. package/dist/components/table/index.js +251 -123
  176. package/dist/components/table/index.js.map +1 -1
  177. package/dist/components/tabs/index.d.ts +1 -2
  178. package/dist/components/tabs/index.js.map +1 -1
  179. package/dist/components/tag/index.d.ts +1 -2
  180. package/dist/components/tag/index.js.map +1 -1
  181. package/dist/components/text/index.d.ts +1 -2
  182. package/dist/components/text/index.js.map +1 -1
  183. package/dist/components/text-area/index.d.ts +1 -2
  184. package/dist/components/text-area/index.js.map +1 -1
  185. package/dist/components/text-field/index.d.ts +1 -2
  186. package/dist/components/text-field/index.js.map +1 -1
  187. package/dist/components/time-field/index.d.ts +1 -2
  188. package/dist/components/time-field/index.js.map +1 -1
  189. package/dist/components/time-picker/index.d.ts +1 -2
  190. package/dist/components/time-picker/index.js.map +1 -1
  191. package/dist/components/token-field/index.d.ts +1 -2
  192. package/dist/components/token-field/index.js.map +1 -1
  193. package/dist/components/toolbar/index.d.ts +1 -2
  194. package/dist/components/toolbar/index.js.map +1 -1
  195. package/dist/components/tooltip/index.d.ts +1 -2
  196. package/dist/components/tooltip/index.js.map +1 -1
  197. package/dist/components/tree/index.d.ts +1 -2
  198. package/dist/components/tree/index.js.map +1 -1
  199. package/dist/control/index.js.map +1 -1
  200. package/dist/control/styles.js.map +1 -1
  201. package/dist/drag/hooks.d.ts +1 -2
  202. package/dist/drag/hooks.js.map +1 -1
  203. package/dist/drag/index.js.map +1 -1
  204. package/dist/drag/styles.js.map +1 -1
  205. package/dist/fab/styles.js.map +1 -1
  206. package/dist/field/index.d.ts +3 -4
  207. package/dist/field/index.js.map +1 -1
  208. package/dist/field/press.js.map +1 -1
  209. package/dist/field/root.js.map +1 -1
  210. package/dist/field/styles.js.map +1 -1
  211. package/dist/glyphs/index.js.map +1 -1
  212. package/dist/glyphs/styles.js.map +1 -1
  213. package/dist/hooks/useAppBarScroll.d.ts +1 -2
  214. package/dist/hooks/useAppBarScroll.js.map +1 -1
  215. package/dist/hooks/useBottomEdge.js.map +1 -1
  216. package/dist/hooks/useClippedTitle.js.map +1 -1
  217. package/dist/hooks/useImageLoadingStatus.js.map +1 -1
  218. package/dist/hooks/useRipple.js +3 -2
  219. package/dist/hooks/useRipple.js.map +1 -1
  220. package/dist/hooks/useScrollStop.js.map +1 -1
  221. package/dist/hooks/useToggleGroupDisabled.js.map +1 -1
  222. package/dist/i18n/index.js.map +1 -1
  223. package/dist/i18n/messages.js.map +1 -1
  224. package/dist/index.d.ts +2 -2
  225. package/dist/indicator/index.js.map +1 -1
  226. package/dist/indicator/styles.d.ts +1 -2
  227. package/dist/indicator/styles.js.map +1 -1
  228. package/dist/kanso-ui-core/defaults-DMH0HWCw.d.ts +1 -2
  229. package/dist/keycap/context.js.map +1 -1
  230. package/dist/layout.d.ts +1 -2
  231. package/dist/layout.js.map +1 -1
  232. package/dist/mark/index.js.map +1 -1
  233. package/dist/mark/initials.js.map +1 -1
  234. package/dist/mark/styles.js.map +1 -1
  235. package/dist/navigation/context.js.map +1 -1
  236. package/dist/navigation/index.d.ts +2 -3
  237. package/dist/navigation/index.js.map +1 -1
  238. package/dist/navigation/styles.js.map +1 -1
  239. package/dist/overlay/index.js.map +1 -1
  240. package/dist/render/aria.js.map +1 -1
  241. package/dist/render/content.js.map +1 -1
  242. package/dist/render/name.d.ts +1 -2
  243. package/dist/render/ref.js.map +1 -1
  244. package/dist/render/useRender.d.ts +1 -2
  245. package/dist/render/useRender.js.map +1 -1
  246. package/dist/row/index.js.map +1 -1
  247. package/dist/row/styles.js.map +1 -1
  248. package/dist/segments/index.js +2 -1
  249. package/dist/segments/index.js.map +1 -1
  250. package/dist/segments/styles.js +5 -1
  251. package/dist/segments/styles.js.map +1 -1
  252. package/dist/styles/chequer.js.map +1 -1
  253. package/dist/styles/color.js.map +1 -1
  254. package/dist/styles/focus.js.map +1 -1
  255. package/dist/styles/icon-button.js.map +1 -1
  256. package/dist/styles/merge.js.map +1 -1
  257. package/dist/styles/overlay.d.ts +2 -3
  258. package/dist/styles/overlay.js.map +1 -1
  259. package/dist/styles/picker.js.map +1 -1
  260. package/dist/styles/ripple.js.map +1 -1
  261. package/dist/styles/scheme.js.map +1 -1
  262. package/dist/styles.css +40 -8
  263. package/dist/swatch/index.js +19 -0
  264. package/dist/swatch/index.js.map +1 -0
  265. package/dist/theme-scope.d.ts +1 -2
  266. package/dist/theme-scope.js.map +1 -1
  267. package/dist/tokens/design.tokens.stylex.js.map +1 -1
  268. package/dist/tokens/values.js.map +1 -1
  269. package/package.json +16 -16
@@ -1 +1 @@
1
- {"version":3,"file":"messages.js","names":["LocalizedString","LocalizedStrings","LibraryMessage","PluralForms","Partial","Record","Intl","LDMLPluralRule","count","other","plural","forms","byRule","Map","Object","entries","args","String","form","get","rule","MESSAGES","back","cancel","carousel","characterLimit","few","n","many","one","two","zero","characterLimitReached","confirm","copied","copy","copySelected","dragHandle","enterTime","loading","loadingMore","nextSlide","noResults","previousSlide","selectTime","slide","slideLabel","index"],"sources":["../../src/i18n/messages.ts"],"sourcesContent":["import type {\n LocalizedString,\n LocalizedStrings,\n} from '@internationalized/string'\n\n// The words the library writes itself and React Aria has no message for: the\n// pending ring's name, a collection's loading-more row and its empty row,\n// CopyField's button and its announcement, a bottom sheet's drag handle, a\n// field's character limit and the announcement that it has been reached, a\n// search view's back button, what a carousel calls itself, its slides and its\n// two buttons, and the time picker's two headlines and two actions.\n// Everything else a control says comes from React Aria's own tables, so these\n// are the strings this table has to carry.\n//\n// One entry per locale React Aria ships, so a locale it localises reads here\n// too. React Aria's dictionary falls back from a regional locale to its\n// language and then to English, so `fr-CA` reads French and a locale neither\n// table has reads English.\n//\n// The translations were drafted for this table rather than taken from a\n// translation service, and each one wants a native speaker's eye before it is\n// trusted; a call site can always pass its own words through the prop beside\n// each one.\n\ntype LibraryMessage =\n | 'back'\n | 'cancel'\n | 'carousel'\n | 'characterLimit'\n | 'characterLimitReached'\n | 'confirm'\n | 'copied'\n | 'copy'\n | 'copySelected'\n | 'dragHandle'\n | 'enterTime'\n | 'loading'\n | 'loadingMore'\n | 'nextSlide'\n | 'noResults'\n | 'previousSlide'\n | 'selectTime'\n | 'slide'\n | 'slideLabel'\n\ntype PluralForms = Partial<\n Record<Intl.LDMLPluralRule, (count: string) => string>\n> & { other: (count: string) => string }\n\n/**\n * A message that takes the count's form from the plural rule it falls under.\n * The caller hands over the count already written in the locale's digits and\n * the rule `Intl.PluralRules` gave it, since the formatter's own plural and\n * number helpers are not part of its public API.\n */\nfunction plural(forms: PluralForms): LocalizedString {\n const byRule = new Map(Object.entries(forms))\n return (args) => {\n const count = String(args?.count ?? '')\n const form = byRule.get(String(args?.rule ?? 'other')) ?? forms.other\n return form(count)\n }\n}\n\nconst MESSAGES: LocalizedStrings<LibraryMessage, LocalizedString> = {\n 'ar-AE': {\n back: 'رجوع',\n cancel: 'إلغاء',\n carousel: 'عرض دوّار',\n characterLimit: plural({\n few: (n) => `حتى ${n} أحرف`,\n many: (n) => `حتى ${n} حرفًا`,\n one: () => 'حتى حرف واحد',\n other: (n) => `حتى ${n} حرف`,\n two: () => 'حتى حرفين',\n zero: (n) => `حتى ${n} حرف`,\n }),\n characterLimitReached: 'تم بلوغ الحد الأقصى للأحرف',\n confirm: 'موافق',\n copied: 'تم النسخ',\n copy: 'نسخ',\n copySelected: 'محدد للنسخ',\n dragHandle: 'مقبض السحب',\n enterTime: 'أدخل الوقت',\n loading: 'جارٍ التحميل',\n loadingMore: 'جارٍ تحميل المزيد',\n nextSlide: 'الشريحة التالية',\n noResults: 'لا توجد نتائج',\n previousSlide: 'الشريحة السابقة',\n selectTime: 'اختر الوقت',\n slide: 'شريحة',\n slideLabel: (args) => `${args?.index} من ${args?.count}`,\n },\n 'bg-BG': {\n back: 'Назад',\n cancel: 'Отказ',\n carousel: 'въртележка',\n characterLimit: plural({\n one: (n) => `До ${n} знак`,\n other: (n) => `До ${n} знака`,\n }),\n characterLimitReached: 'Достигнат е лимитът на знаците',\n confirm: 'OK',\n copied: 'Копирано',\n copy: 'Копиране',\n copySelected: 'Избрано за копиране',\n dragHandle: 'Манипулатор за плъзгане',\n enterTime: 'Въведете час',\n loading: 'Зареждане',\n loadingMore: 'Зареждане на още',\n nextSlide: 'Следващ слайд',\n noResults: 'Няма резултати',\n previousSlide: 'Предишен слайд',\n selectTime: 'Изберете час',\n slide: 'слайд',\n slideLabel: (args) => `${args?.index} от ${args?.count}`,\n },\n 'cs-CZ': {\n back: 'Zpět',\n cancel: 'Zrušit',\n carousel: 'karusel',\n characterLimit: plural({\n few: (n) => `Nejvýše ${n} znaky`,\n many: (n) => `Nejvýše ${n} znaku`,\n one: (n) => `Nejvýše ${n} znak`,\n other: (n) => `Nejvýše ${n} znaků`,\n }),\n characterLimitReached: 'Dosažen limit znaků',\n confirm: 'OK',\n copied: 'Zkopírováno',\n copy: 'Kopírovat',\n copySelected: 'Vybráno ke zkopírování',\n dragHandle: 'Úchyt pro přetažení',\n enterTime: 'Zadejte čas',\n loading: 'Načítání',\n loadingMore: 'Načítání dalších',\n nextSlide: 'Další snímek',\n noResults: 'Žádné výsledky',\n previousSlide: 'Předchozí snímek',\n selectTime: 'Vyberte čas',\n slide: 'snímek',\n slideLabel: (args) => `${args?.index} z ${args?.count}`,\n },\n 'da-DK': {\n back: 'Tilbage',\n cancel: 'Annuller',\n carousel: 'karrusel',\n characterLimit: plural({ other: (n) => `Op til ${n} tegn` }),\n characterLimitReached: 'Grænsen for tegn er nået',\n confirm: 'OK',\n copied: 'Kopieret',\n copy: 'Kopiér',\n copySelected: 'Markeret til kopiering',\n dragHandle: 'Trækhåndtag',\n enterTime: 'Angiv tidspunkt',\n loading: 'Indlæser',\n loadingMore: 'Indlæser flere',\n nextSlide: 'Næste dias',\n noResults: 'Ingen resultater',\n previousSlide: 'Forrige dias',\n selectTime: 'Vælg tidspunkt',\n slide: 'dias',\n slideLabel: (args) => `${args?.index} af ${args?.count}`,\n },\n 'de-DE': {\n back: 'Zurück',\n cancel: 'Abbrechen',\n carousel: 'Karussell',\n characterLimit: plural({ other: (n) => `Bis zu ${n} Zeichen` }),\n characterLimitReached: 'Zeichenlimit erreicht',\n confirm: 'OK',\n copied: 'Kopiert',\n copy: 'Kopieren',\n copySelected: 'Zum Kopieren markiert',\n dragHandle: 'Ziehpunkt',\n enterTime: 'Uhrzeit eingeben',\n loading: 'Wird geladen',\n loadingMore: 'Weitere werden geladen',\n nextSlide: 'Nächste Folie',\n noResults: 'Keine Ergebnisse',\n previousSlide: 'Vorherige Folie',\n selectTime: 'Uhrzeit auswählen',\n slide: 'Folie',\n slideLabel: (args) => `${args?.index} von ${args?.count}`,\n },\n 'el-GR': {\n back: 'Πίσω',\n cancel: 'Ακύρωση',\n carousel: 'καρουζέλ',\n characterLimit: plural({\n one: (n) => `Έως ${n} χαρακτήρας`,\n other: (n) => `Έως ${n} χαρακτήρες`,\n }),\n characterLimitReached: 'Συμπληρώθηκε το όριο χαρακτήρων',\n confirm: 'OK',\n copied: 'Αντιγράφηκε',\n copy: 'Αντιγραφή',\n copySelected: 'Επιλέχθηκε για αντιγραφή',\n dragHandle: 'Λαβή μεταφοράς',\n enterTime: 'Εισαγωγή ώρας',\n loading: 'Φόρτωση',\n loadingMore: 'Φόρτωση περισσότερων',\n nextSlide: 'Επόμενη διαφάνεια',\n noResults: 'Δεν υπάρχουν αποτελέσματα',\n previousSlide: 'Προηγούμενη διαφάνεια',\n selectTime: 'Επιλογή ώρας',\n slide: 'διαφάνεια',\n slideLabel: (args) => `${args?.index} από ${args?.count}`,\n },\n 'en-US': {\n back: 'Back',\n cancel: 'Cancel',\n carousel: 'carousel',\n characterLimit: plural({\n one: (n) => `Up to ${n} character`,\n other: (n) => `Up to ${n} characters`,\n }),\n characterLimitReached: 'Character limit reached',\n confirm: 'OK',\n copied: 'Copied',\n copy: 'Copy',\n copySelected: 'Selected to copy',\n dragHandle: 'Drag handle',\n enterTime: 'Enter time',\n loading: 'Loading',\n loadingMore: 'Loading more',\n nextSlide: 'Next slide',\n noResults: 'No results',\n previousSlide: 'Previous slide',\n selectTime: 'Select time',\n slide: 'slide',\n slideLabel: (args) => `${args?.index} of ${args?.count}`,\n },\n 'es-ES': {\n back: 'Atrás',\n cancel: 'Cancelar',\n carousel: 'carrusel',\n characterLimit: plural({\n one: (n) => `Hasta ${n} carácter`,\n other: (n) => `Hasta ${n} caracteres`,\n }),\n characterLimitReached: 'Límite de caracteres alcanzado',\n confirm: 'Aceptar',\n copied: 'Copiado',\n copy: 'Copiar',\n copySelected: 'Seleccionado para copiar',\n dragHandle: 'Controlador de arrastre',\n enterTime: 'Introducir hora',\n loading: 'Cargando',\n loadingMore: 'Cargando más',\n nextSlide: 'Diapositiva siguiente',\n noResults: 'No hay resultados',\n previousSlide: 'Diapositiva anterior',\n selectTime: 'Seleccionar hora',\n slide: 'diapositiva',\n slideLabel: (args) => `${args?.index} de ${args?.count}`,\n },\n 'et-EE': {\n back: 'Tagasi',\n cancel: 'Tühista',\n carousel: 'karussell',\n characterLimit: plural({\n one: (n) => `Kuni ${n} märk`,\n other: (n) => `Kuni ${n} märki`,\n }),\n characterLimitReached: 'Märkide piirang on täis',\n confirm: 'OK',\n copied: 'Kopeeritud',\n copy: 'Kopeeri',\n copySelected: 'Kopeerimiseks valitud',\n dragHandle: 'Lohistamispide',\n enterTime: 'Sisesta kellaaeg',\n loading: 'Laadimine',\n loadingMore: 'Laaditakse veel',\n nextSlide: 'Järgmine slaid',\n noResults: 'Tulemusi pole',\n previousSlide: 'Eelmine slaid',\n selectTime: 'Vali kellaaeg',\n slide: 'slaid',\n slideLabel: (args) => `${args?.index}/${args?.count}`,\n },\n 'fi-FI': {\n back: 'Takaisin',\n cancel: 'Peruuta',\n carousel: 'karuselli',\n characterLimit: plural({\n one: (n) => `Enintään ${n} merkki`,\n other: (n) => `Enintään ${n} merkkiä`,\n }),\n characterLimitReached: 'Merkkiraja saavutettu',\n confirm: 'OK',\n copied: 'Kopioitu',\n copy: 'Kopioi',\n copySelected: 'Valittu kopioitavaksi',\n dragHandle: 'Vetokahva',\n enterTime: 'Anna aika',\n loading: 'Ladataan',\n loadingMore: 'Ladataan lisää',\n nextSlide: 'Seuraava dia',\n noResults: 'Ei tuloksia',\n previousSlide: 'Edellinen dia',\n selectTime: 'Valitse aika',\n slide: 'dia',\n slideLabel: (args) => `${args?.index}/${args?.count}`,\n },\n 'fr-FR': {\n back: 'Retour',\n cancel: 'Annuler',\n carousel: 'carrousel',\n characterLimit: plural({\n one: (n) => `Jusqu’à ${n} caractère`,\n other: (n) => `Jusqu’à ${n} caractères`,\n }),\n characterLimitReached: 'Limite de caractères atteinte',\n confirm: 'OK',\n copied: 'Copié',\n copy: 'Copier',\n copySelected: 'Sélectionné pour la copie',\n dragHandle: 'Poignée de déplacement',\n enterTime: 'Saisir l’heure',\n loading: 'Chargement',\n loadingMore: 'Chargement de la suite',\n nextSlide: 'Diapositive suivante',\n noResults: 'Aucun résultat',\n previousSlide: 'Diapositive précédente',\n selectTime: 'Sélectionner l’heure',\n slide: 'diapositive',\n slideLabel: (args) => `${args?.index} sur ${args?.count}`,\n },\n 'he-IL': {\n back: 'חזרה',\n cancel: 'ביטול',\n carousel: 'קרוסלה',\n characterLimit: plural({\n one: () => 'עד תו אחד',\n other: (n) => `עד ${n} תווים`,\n two: () => 'עד שני תווים',\n }),\n characterLimitReached: 'הגעת למגבלת התווים',\n confirm: 'אישור',\n copied: 'הועתק',\n copy: 'העתק',\n copySelected: 'נבחר להעתקה',\n dragHandle: 'ידית גרירה',\n enterTime: 'הזנת שעה',\n loading: 'טוען',\n loadingMore: 'טוען עוד',\n nextSlide: 'השקופית הבאה',\n noResults: 'אין תוצאות',\n previousSlide: 'השקופית הקודמת',\n selectTime: 'בחירת שעה',\n slide: 'שקופית',\n slideLabel: (args) => `${args?.index} מתוך ${args?.count}`,\n },\n 'hr-HR': {\n back: 'Natrag',\n cancel: 'Odustani',\n carousel: 'vrtuljak',\n characterLimit: plural({\n few: (n) => `Najviše ${n} znaka`,\n one: (n) => `Najviše ${n} znak`,\n other: (n) => `Najviše ${n} znakova`,\n }),\n characterLimitReached: 'Dosegnuto je ograničenje znakova',\n confirm: 'U redu',\n copied: 'Kopirano',\n copy: 'Kopiraj',\n copySelected: 'Odabrano za kopiranje',\n dragHandle: 'Ručica za povlačenje',\n enterTime: 'Unesite vrijeme',\n loading: 'Učitavanje',\n loadingMore: 'Učitava se još',\n nextSlide: 'Sljedeći slajd',\n noResults: 'Nema rezultata',\n previousSlide: 'Prethodni slajd',\n selectTime: 'Odaberite vrijeme',\n slide: 'slajd',\n slideLabel: (args) => `${args?.index} od ${args?.count}`,\n },\n 'hu-HU': {\n back: 'Vissza',\n cancel: 'Mégse',\n carousel: 'körhinta',\n characterLimit: plural({ other: (n) => `Legfeljebb ${n} karakter` }),\n characterLimitReached: 'Elérte a karakterkorlátot',\n confirm: 'OK',\n copied: 'Másolva',\n copy: 'Másolás',\n copySelected: 'Kijelölve másoláshoz',\n dragHandle: 'Húzófogantyú',\n enterTime: 'Időpont megadása',\n loading: 'Betöltés',\n loadingMore: 'Továbbiak betöltése',\n nextSlide: 'Következő dia',\n noResults: 'Nincs találat',\n previousSlide: 'Előző dia',\n selectTime: 'Időpont kiválasztása',\n slide: 'dia',\n slideLabel: (args) => `${args?.index}/${args?.count}`,\n },\n 'it-IT': {\n back: 'Indietro',\n cancel: 'Annulla',\n carousel: 'carosello',\n characterLimit: plural({\n one: (n) => `Fino a ${n} carattere`,\n other: (n) => `Fino a ${n} caratteri`,\n }),\n characterLimitReached: 'Limite di caratteri raggiunto',\n confirm: 'OK',\n copied: 'Copiato',\n copy: 'Copia',\n copySelected: 'Selezionato per la copia',\n dragHandle: 'Maniglia di trascinamento',\n enterTime: 'Inserisci l’ora',\n loading: 'Caricamento',\n loadingMore: 'Caricamento di altri elementi',\n nextSlide: 'Diapositiva successiva',\n noResults: 'Nessun risultato',\n previousSlide: 'Diapositiva precedente',\n selectTime: 'Seleziona l’ora',\n slide: 'diapositiva',\n slideLabel: (args) => `${args?.index} di ${args?.count}`,\n },\n 'ja-JP': {\n back: '戻る',\n cancel: 'キャンセル',\n carousel: 'カルーセル',\n characterLimit: plural({ other: (n) => `最大 ${n} 文字` }),\n characterLimitReached: '文字数の上限に達しました',\n confirm: 'OK',\n copied: 'コピーしました',\n copy: 'コピー',\n copySelected: 'コピー用に選択しました',\n dragHandle: 'ドラッグハンドル',\n enterTime: '時刻を入力',\n loading: '読み込み中',\n loadingMore: 'さらに読み込み中',\n nextSlide: '次のスライド',\n noResults: '結果がありません',\n previousSlide: '前のスライド',\n selectTime: '時刻を選択',\n slide: 'スライド',\n slideLabel: (args) => `${args?.index}/${args?.count}`,\n },\n 'ko-KR': {\n back: '뒤로',\n cancel: '취소',\n carousel: '캐러셀',\n characterLimit: plural({ other: (n) => `최대 ${n}자` }),\n characterLimitReached: '글자 수 제한에 도달했습니다',\n confirm: '확인',\n copied: '복사됨',\n copy: '복사',\n copySelected: '복사할 수 있게 선택됨',\n dragHandle: '드래그 핸들',\n enterTime: '시간 입력',\n loading: '로드 중',\n loadingMore: '더 로드하는 중',\n nextSlide: '다음 슬라이드',\n noResults: '결과 없음',\n previousSlide: '이전 슬라이드',\n selectTime: '시간 선택',\n slide: '슬라이드',\n slideLabel: (args) => `${args?.index}/${args?.count}`,\n },\n 'lt-LT': {\n back: 'Atgal',\n cancel: 'Atšaukti',\n carousel: 'karuselė',\n characterLimit: plural({\n few: (n) => `Ne daugiau kaip ${n} simboliai`,\n many: (n) => `Ne daugiau kaip ${n} simbolio`,\n one: (n) => `Ne daugiau kaip ${n} simbolis`,\n other: (n) => `Ne daugiau kaip ${n} simbolių`,\n }),\n characterLimitReached: 'Pasiektas simbolių limitas',\n confirm: 'Gerai',\n copied: 'Nukopijuota',\n copy: 'Kopijuoti',\n copySelected: 'Pažymėta kopijuoti',\n dragHandle: 'Vilkimo rankenėlė',\n enterTime: 'Įveskite laiką',\n loading: 'Įkeliama',\n loadingMore: 'Įkeliama daugiau',\n nextSlide: 'Kita skaidrė',\n noResults: 'Rezultatų nėra',\n previousSlide: 'Ankstesnė skaidrė',\n selectTime: 'Pasirinkite laiką',\n slide: 'skaidrė',\n slideLabel: (args) => `${args?.index} iš ${args?.count}`,\n },\n 'lv-LV': {\n back: 'Atpakaļ',\n cancel: 'Atcelt',\n carousel: 'karuselis',\n characterLimit: plural({\n one: (n) => `Līdz ${n} rakstzīmei`,\n other: (n) => `Līdz ${n} rakstzīmēm`,\n zero: (n) => `Līdz ${n} rakstzīmēm`,\n }),\n characterLimitReached: 'Sasniegts rakstzīmju ierobežojums',\n confirm: 'Labi',\n copied: 'Nokopēts',\n copy: 'Kopēt',\n copySelected: 'Atlasīts kopēšanai',\n dragHandle: 'Vilkšanas turis',\n enterTime: 'Ievadiet laiku',\n loading: 'Notiek ielāde',\n loadingMore: 'Notiek papildu ielāde',\n nextSlide: 'Nākamais slaids',\n noResults: 'Nav rezultātu',\n previousSlide: 'Iepriekšējais slaids',\n selectTime: 'Izvēlieties laiku',\n slide: 'slaids',\n slideLabel: (args) => `${args?.index} no ${args?.count}`,\n },\n 'nb-NO': {\n back: 'Tilbake',\n cancel: 'Avbryt',\n carousel: 'karusell',\n characterLimit: plural({ other: (n) => `Opptil ${n} tegn` }),\n characterLimitReached: 'Tegngrensen er nådd',\n confirm: 'OK',\n copied: 'Kopiert',\n copy: 'Kopier',\n copySelected: 'Merket for kopiering',\n dragHandle: 'Drahåndtak',\n enterTime: 'Angi klokkeslett',\n loading: 'Laster inn',\n loadingMore: 'Laster inn flere',\n nextSlide: 'Neste lysbilde',\n noResults: 'Ingen resultater',\n previousSlide: 'Forrige lysbilde',\n selectTime: 'Velg klokkeslett',\n slide: 'lysbilde',\n slideLabel: (args) => `${args?.index} av ${args?.count}`,\n },\n 'nl-NL': {\n back: 'Terug',\n cancel: 'Annuleren',\n carousel: 'carrousel',\n characterLimit: plural({\n one: (n) => `Maximaal ${n} teken`,\n other: (n) => `Maximaal ${n} tekens`,\n }),\n characterLimitReached: 'Tekenlimiet bereikt',\n confirm: 'OK',\n copied: 'Gekopieerd',\n copy: 'Kopiëren',\n copySelected: 'Geselecteerd om te kopiëren',\n dragHandle: 'Sleepgreep',\n enterTime: 'Tijd invoeren',\n loading: 'Laden',\n loadingMore: 'Meer laden',\n nextSlide: 'Volgende dia',\n noResults: 'Geen resultaten',\n previousSlide: 'Vorige dia',\n selectTime: 'Tijd selecteren',\n slide: 'dia',\n slideLabel: (args) => `${args?.index} van ${args?.count}`,\n },\n 'pl-PL': {\n back: 'Wstecz',\n cancel: 'Anuluj',\n carousel: 'karuzela',\n characterLimit: plural({\n few: (n) => `Maksymalnie ${n} znaki`,\n many: (n) => `Maksymalnie ${n} znaków`,\n one: (n) => `Maksymalnie ${n} znak`,\n other: (n) => `Maksymalnie ${n} znaku`,\n }),\n characterLimitReached: 'Osiągnięto limit znaków',\n confirm: 'OK',\n copied: 'Skopiowano',\n copy: 'Kopiuj',\n copySelected: 'Zaznaczono do skopiowania',\n dragHandle: 'Uchwyt przeciągania',\n enterTime: 'Wpisz godzinę',\n loading: 'Ładowanie',\n loadingMore: 'Ładowanie kolejnych',\n nextSlide: 'Następny slajd',\n noResults: 'Brak wyników',\n previousSlide: 'Poprzedni slajd',\n selectTime: 'Wybierz godzinę',\n slide: 'slajd',\n slideLabel: (args) => `${args?.index} z ${args?.count}`,\n },\n 'pt-BR': {\n back: 'Voltar',\n cancel: 'Cancelar',\n carousel: 'carrossel',\n characterLimit: plural({\n one: (n) => `Até ${n} caractere`,\n other: (n) => `Até ${n} caracteres`,\n }),\n characterLimitReached: 'Limite de caracteres atingido',\n confirm: 'OK',\n copied: 'Copiado',\n copy: 'Copiar',\n copySelected: 'Selecionado para copiar',\n dragHandle: 'Alça de arrastar',\n enterTime: 'Digite o horário',\n loading: 'Carregando',\n loadingMore: 'Carregando mais',\n nextSlide: 'Próximo slide',\n noResults: 'Nenhum resultado',\n previousSlide: 'Slide anterior',\n selectTime: 'Selecione o horário',\n slide: 'slide',\n slideLabel: (args) => `${args?.index} de ${args?.count}`,\n },\n 'pt-PT': {\n back: 'Voltar',\n cancel: 'Cancelar',\n carousel: 'carrossel',\n characterLimit: plural({\n one: (n) => `Até ${n} carácter`,\n other: (n) => `Até ${n} caracteres`,\n }),\n characterLimitReached: 'Limite de caracteres atingido',\n confirm: 'OK',\n copied: 'Copiado',\n copy: 'Copiar',\n copySelected: 'Selecionado para copiar',\n dragHandle: 'Pega para arrastar',\n enterTime: 'Introduzir a hora',\n loading: 'A carregar',\n loadingMore: 'A carregar mais',\n nextSlide: 'Diapositivo seguinte',\n noResults: 'Nenhum resultado',\n previousSlide: 'Diapositivo anterior',\n selectTime: 'Selecionar a hora',\n slide: 'diapositivo',\n slideLabel: (args) => `${args?.index} de ${args?.count}`,\n },\n 'ro-RO': {\n back: 'Înapoi',\n cancel: 'Anulați',\n carousel: 'carusel',\n characterLimit: plural({\n few: (n) => `Maximum ${n} caractere`,\n one: (n) => `Maximum ${n} caracter`,\n other: (n) => `Maximum ${n} de caractere`,\n }),\n characterLimitReached: 'Limita de caractere a fost atinsă',\n confirm: 'OK',\n copied: 'Copiat',\n copy: 'Copiați',\n copySelected: 'Selectat pentru copiere',\n dragHandle: 'Mâner de glisare',\n enterTime: 'Introduceți ora',\n loading: 'Se încarcă',\n loadingMore: 'Se încarcă mai multe',\n nextSlide: 'Diapozitivul următor',\n noResults: 'Niciun rezultat',\n previousSlide: 'Diapozitivul anterior',\n selectTime: 'Selectați ora',\n slide: 'diapozitiv',\n slideLabel: (args) => `${args?.index} din ${args?.count}`,\n },\n 'ru-RU': {\n back: 'Назад',\n cancel: 'Отмена',\n carousel: 'карусель',\n characterLimit: plural({\n few: (n) => `Не более ${n} символов`,\n many: (n) => `Не более ${n} символов`,\n one: (n) => `Не более ${n} символа`,\n other: (n) => `Не более ${n} символа`,\n }),\n characterLimitReached: 'Достигнут лимит символов',\n confirm: 'ОК',\n copied: 'Скопировано',\n copy: 'Копировать',\n copySelected: 'Выделено для копирования',\n dragHandle: 'Маркер перемещения',\n enterTime: 'Введите время',\n loading: 'Загрузка',\n loadingMore: 'Загрузка ещё',\n nextSlide: 'Следующий слайд',\n noResults: 'Нет результатов',\n previousSlide: 'Предыдущий слайд',\n selectTime: 'Выберите время',\n slide: 'слайд',\n slideLabel: (args) => `${args?.index} из ${args?.count}`,\n },\n 'sk-SK': {\n back: 'Späť',\n cancel: 'Zrušiť',\n carousel: 'karusel',\n characterLimit: plural({\n few: (n) => `Najviac ${n} znaky`,\n many: (n) => `Najviac ${n} znaku`,\n one: (n) => `Najviac ${n} znak`,\n other: (n) => `Najviac ${n} znakov`,\n }),\n characterLimitReached: 'Dosiahnutý limit znakov',\n confirm: 'OK',\n copied: 'Skopírované',\n copy: 'Kopírovať',\n copySelected: 'Vybraté na kopírovanie',\n dragHandle: 'Úchyt na presunutie',\n enterTime: 'Zadajte čas',\n loading: 'Načítava sa',\n loadingMore: 'Načítavajú sa ďalšie',\n nextSlide: 'Nasledujúca snímka',\n noResults: 'Žiadne výsledky',\n previousSlide: 'Predchádzajúca snímka',\n selectTime: 'Vyberte čas',\n slide: 'snímka',\n slideLabel: (args) => `${args?.index} z ${args?.count}`,\n },\n 'sl-SI': {\n back: 'Nazaj',\n cancel: 'Prekliči',\n carousel: 'vrtiljak',\n characterLimit: plural({\n few: (n) => `Največ ${n} znaki`,\n one: (n) => `Največ ${n} znak`,\n other: (n) => `Največ ${n} znakov`,\n two: (n) => `Največ ${n} znaka`,\n }),\n characterLimitReached: 'Doseženo je največje število znakov',\n confirm: 'V redu',\n copied: 'Kopirano',\n copy: 'Kopiraj',\n copySelected: 'Izbrano za kopiranje',\n dragHandle: 'Ročica za vlečenje',\n enterTime: 'Vnesite čas',\n loading: 'Nalaganje',\n loadingMore: 'Nalaganje več',\n nextSlide: 'Naslednji diapozitiv',\n noResults: 'Ni rezultatov',\n previousSlide: 'Prejšnji diapozitiv',\n selectTime: 'Izberite čas',\n slide: 'diapozitiv',\n slideLabel: (args) => `${args?.index} od ${args?.count}`,\n },\n 'sr-SP': {\n back: 'Nazad',\n cancel: 'Otkaži',\n carousel: 'vrteška',\n characterLimit: plural({\n few: (n) => `Najviše ${n} znaka`,\n one: (n) => `Najviše ${n} znak`,\n other: (n) => `Najviše ${n} znakova`,\n }),\n characterLimitReached: 'Dostignuto je ograničenje znakova',\n confirm: 'U redu',\n copied: 'Kopirano',\n copy: 'Kopiraj',\n copySelected: 'Izabrano za kopiranje',\n dragHandle: 'Ručica za prevlačenje',\n enterTime: 'Unesite vreme',\n loading: 'Učitavanje',\n loadingMore: 'Učitavanje još',\n nextSlide: 'Sledeći slajd',\n noResults: 'Nema rezultata',\n previousSlide: 'Prethodni slajd',\n selectTime: 'Izaberite vreme',\n slide: 'slajd',\n slideLabel: (args) => `${args?.index} od ${args?.count}`,\n },\n 'sv-SE': {\n back: 'Tillbaka',\n cancel: 'Avbryt',\n carousel: 'karusell',\n characterLimit: plural({ other: (n) => `Högst ${n} tecken` }),\n characterLimitReached: 'Teckengränsen är nådd',\n confirm: 'OK',\n copied: 'Kopierat',\n copy: 'Kopiera',\n copySelected: 'Markerat för kopiering',\n dragHandle: 'Draghandtag',\n enterTime: 'Ange tid',\n loading: 'Läser in',\n loadingMore: 'Läser in fler',\n nextSlide: 'Nästa bild',\n noResults: 'Inga resultat',\n previousSlide: 'Föregående bild',\n selectTime: 'Välj tid',\n slide: 'bild',\n slideLabel: (args) => `${args?.index} av ${args?.count}`,\n },\n 'tr-TR': {\n back: 'Geri',\n cancel: 'İptal',\n carousel: 'karusel',\n characterLimit: plural({ other: (n) => `En fazla ${n} karakter` }),\n characterLimitReached: 'Karakter sınırına ulaşıldı',\n confirm: 'Tamam',\n copied: 'Kopyalandı',\n copy: 'Kopyala',\n copySelected: 'Kopyalamak için seçildi',\n dragHandle: 'Sürükleme tutamacı',\n enterTime: 'Saati girin',\n loading: 'Yükleniyor',\n loadingMore: 'Daha fazlası yükleniyor',\n nextSlide: 'Sonraki slayt',\n noResults: 'Sonuç yok',\n previousSlide: 'Önceki slayt',\n selectTime: 'Saati seçin',\n slide: 'slayt',\n slideLabel: (args) => `${args?.index}/${args?.count}`,\n },\n 'uk-UA': {\n back: 'Назад',\n cancel: 'Скасувати',\n carousel: 'карусель',\n characterLimit: plural({\n few: (n) => `Не більше ${n} символів`,\n many: (n) => `Не більше ${n} символів`,\n one: (n) => `Не більше ${n} символу`,\n other: (n) => `Не більше ${n} символу`,\n }),\n characterLimitReached: 'Досягнуто ліміту символів',\n confirm: 'Гаразд',\n copied: 'Скопійовано',\n copy: 'Копіювати',\n copySelected: 'Виділено для копіювання',\n dragHandle: 'Маркер перетягування',\n enterTime: 'Введіть час',\n loading: 'Завантаження',\n loadingMore: 'Завантаження ще',\n nextSlide: 'Наступний слайд',\n noResults: 'Немає результатів',\n previousSlide: 'Попередній слайд',\n selectTime: 'Виберіть час',\n slide: 'слайд',\n slideLabel: (args) => `${args?.index} з ${args?.count}`,\n },\n 'zh-CN': {\n back: '返回',\n cancel: '取消',\n carousel: '轮播',\n characterLimit: plural({ other: (n) => `最多 ${n} 个字符` }),\n characterLimitReached: '已达到字符数上限',\n confirm: '确定',\n copied: '已复制',\n copy: '复制',\n copySelected: '已选中,可复制',\n dragHandle: '拖动手柄',\n enterTime: '输入时间',\n loading: '正在加载',\n loadingMore: '正在加载更多',\n nextSlide: '下一张',\n noResults: '没有结果',\n previousSlide: '上一张',\n selectTime: '选择时间',\n slide: '幻灯片',\n slideLabel: (args) => `第 ${args?.index} 项,共 ${args?.count} 项`,\n },\n 'zh-TW': {\n back: '返回',\n cancel: '取消',\n carousel: '輪播',\n characterLimit: plural({ other: (n) => `最多 ${n} 個字元` }),\n characterLimitReached: '已達到字元數上限',\n confirm: '確定',\n copied: '已複製',\n copy: '複製',\n copySelected: '已選取,可複製',\n dragHandle: '拖曳控點',\n enterTime: '輸入時間',\n loading: '正在載入',\n loadingMore: '正在載入更多',\n nextSlide: '下一張',\n noResults: '沒有結果',\n previousSlide: '上一張',\n selectTime: '選取時間',\n slide: '投影片',\n slideLabel: (args) => `第 ${args?.index} 項,共 ${args?.count} 項`,\n },\n}\n\nexport type { LibraryMessage }\n\nexport { MESSAGES }\n"],"mappings":";;;;;;;AAuDA,SAASU,OAAOC,OAAqC;CACnD,MAAMC,SAAS,IAAIC,IAAIC,OAAOC,QAAQJ,KAAK,CAAC;CAC5C,QAAQK,SAAS;EACf,MAAMR,QAAQS,OAAOD,MAAMR,SAAS,EAAE;EAEtC,QADaI,OAAOO,IAAIF,OAAOD,MAAMI,QAAQ,OAAO,CAAC,KAAKT,MAAMF,MAAAA,CACpDD,KAAK;CACnB;AACF;AAEA,MAAMa,WAA8D;CAClE,SAAS;EACPC,MAAM;EACNC,QAAQ;EACRC,UAAU;EACVC,gBAAgBf,OAAO;GACrBgB,MAAMC,MAAM,OAAOA,EAAC;GACpBC,OAAOD,MAAM,OAAOA,EAAC;GACrBE,WAAW;GACXpB,QAAQkB,MAAM,OAAOA,EAAC;GACtBG,WAAW;GACXC,OAAOJ,MAAM,OAAOA,EAAC;EACvB,CAAC;EACDK,uBAAuB;EACvBC,SAAS;EACTC,QAAQ;EACRC,MAAM;EACNC,cAAc;EACdC,YAAY;EACZC,WAAW;EACXC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,W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C,SAAS;EACTC,QAAQ;EACRC,MAAM;EACNC,cAAc;EACdC,YAAY;EACZC,WAAW;EACXC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,WAAW;EACXC,eAAe;EACfC,YAAY;EACZC,OAAO;EACPC,aAAa9B,SAAS,GAAGA,MAAM+B,MAAK,KAAM/B,MAAMR;CAClD;CACA,SAAS;EACPc,MAAM;EACNC,QAAQ;EACRC,UAAU;EACVC,gBAAgBf,OAAO,EAAED,QAAQkB,MAAM,MAAMA,EAAC,MAAO,CAAC;EACtDK,uBAAuB;EACvBC,SAAS;EACTC,QAAQ;EACRC,MAAM;EACNC,cAAc;EACdC,YAAY;EACZC,WAAW;EACXC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,WAAW;EACXC,eAAe;EACfC,YAAY;EACZC,OAAO;EACPC,aAAa9B,SAAS,KAAKA,MAAM+B,MAAK,OAAQ/B,MAAMR,MAAK;CAC3D;CACA,SAAS;EACPc,MAAM;EACNC,QAAQ;EACRC,UAAU;EACVC,gBAAgBf,OAAO,EAAED,QAAQkB,MAAM,MAAMA,EAAC,MAAO,CAAC;EACtDK,uBAAuB;EACvBC,SAAS;EACTC,QAAQ;EACRC,MAAM;EACNC,cAAc;EACdC,YAAY;EACZC,WAAW;EACXC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,WAAW;EACXC,eAAe;EACfC,YAAY;EACZC,OAAO;EACPC,aAAa9B,SAAS,KAAKA,MAAM+B,MAAK,OAAQ/B,MAAMR,MAAK;CAC3D;AACF"}
1
+ {"version":3,"file":"messages.js","names":["count","other","plural","forms","byRule","Map","Object","entries","args","String","get","rule","MESSAGES","back","cancel","carousel","characterLimit","few","n","many","one","two","zero","characterLimitReached","confirm","copied","copy","copySelected","dragHandle","enterTime","loading","loadingMore","nextSlide","noResults","previousSlide","selectTime","slide","slideLabel","index"],"sources":["../../src/i18n/messages.ts"],"sourcesContent":["import type {\n LocalizedString,\n LocalizedStrings,\n} from '@internationalized/string'\n\n// The words the library writes itself and React Aria has no message for: the\n// pending ring's name, a collection's loading-more row and its empty row,\n// CopyField's button and its announcement, a bottom sheet's drag handle, a\n// field's character limit and the announcement that it has been reached, a\n// search view's back button, what a carousel calls itself, its slides and its\n// two buttons, and the time picker's two headlines and two actions.\n// Everything else a control says comes from React Aria's own tables, so these\n// are the strings this table has to carry.\n//\n// One entry per locale React Aria ships, so a locale it localises reads here\n// too. React Aria's dictionary falls back from a regional locale to its\n// language and then to English, so `fr-CA` reads French and a locale neither\n// table has reads English.\n//\n// The translations were drafted for this table rather than taken from a\n// translation service, and each one wants a native speaker's eye before it is\n// trusted; a call site can always pass its own words through the prop beside\n// each one.\n\ntype LibraryMessage =\n | 'back'\n | 'cancel'\n | 'carousel'\n | 'characterLimit'\n | 'characterLimitReached'\n | 'confirm'\n | 'copied'\n | 'copy'\n | 'copySelected'\n | 'dragHandle'\n | 'enterTime'\n | 'loading'\n | 'loadingMore'\n | 'nextSlide'\n | 'noResults'\n | 'previousSlide'\n | 'selectTime'\n | 'slide'\n | 'slideLabel'\n\ntype PluralForms = Partial<\n Record<Intl.LDMLPluralRule, (count: string) => string>\n> & { other: (count: string) => string }\n\n/**\n * A message that takes the count's form from the plural rule it falls under.\n * The caller hands over the count already written in the locale's digits and\n * the rule `Intl.PluralRules` gave it, since the formatter's own plural and\n * number helpers are not part of its public API.\n */\nfunction plural(forms: PluralForms): LocalizedString {\n const byRule = new Map(Object.entries(forms))\n return (args) => {\n const count = String(args?.count ?? '')\n const form = byRule.get(String(args?.rule ?? 'other')) ?? forms.other\n return form(count)\n }\n}\n\nconst MESSAGES: LocalizedStrings<LibraryMessage, LocalizedString> = {\n 'ar-AE': {\n back: 'رجوع',\n cancel: 'إلغاء',\n carousel: 'عرض دوّار',\n characterLimit: plural({\n few: (n) => `حتى ${n} أحرف`,\n many: (n) => `حتى ${n} حرفًا`,\n one: () => 'حتى حرف واحد',\n other: (n) => `حتى ${n} حرف`,\n two: () => 'حتى حرفين',\n zero: (n) => `حتى ${n} حرف`,\n }),\n characterLimitReached: 'تم بلوغ الحد الأقصى للأحرف',\n confirm: 'موافق',\n copied: 'تم النسخ',\n copy: 'نسخ',\n copySelected: 'محدد للنسخ',\n dragHandle: 'مقبض السحب',\n enterTime: 'أدخل الوقت',\n loading: 'جارٍ التحميل',\n loadingMore: 'جارٍ تحميل المزيد',\n nextSlide: 'الشريحة التالية',\n noResults: 'لا توجد نتائج',\n previousSlide: 'الشريحة السابقة',\n selectTime: 'اختر الوقت',\n slide: 'شريحة',\n slideLabel: (args) => `${args?.index} من ${args?.count}`,\n },\n 'bg-BG': {\n back: 'Назад',\n cancel: 'Отказ',\n carousel: 'въртележка',\n characterLimit: plural({\n one: (n) => `До ${n} знак`,\n other: (n) => `До ${n} знака`,\n }),\n characterLimitReached: 'Достигнат е лимитът на знаците',\n confirm: 'OK',\n copied: 'Копирано',\n copy: 'Копиране',\n copySelected: 'Избрано за копиране',\n dragHandle: 'Манипулатор за плъзгане',\n enterTime: 'Въведете час',\n loading: 'Зареждане',\n loadingMore: 'Зареждане на още',\n nextSlide: 'Следващ слайд',\n noResults: 'Няма резултати',\n previousSlide: 'Предишен слайд',\n selectTime: 'Изберете час',\n slide: 'слайд',\n slideLabel: (args) => `${args?.index} от ${args?.count}`,\n },\n 'cs-CZ': {\n back: 'Zpět',\n cancel: 'Zrušit',\n carousel: 'karusel',\n characterLimit: plural({\n few: (n) => `Nejvýše ${n} znaky`,\n many: (n) => `Nejvýše ${n} znaku`,\n one: (n) => `Nejvýše ${n} znak`,\n other: (n) => `Nejvýše ${n} znaků`,\n }),\n characterLimitReached: 'Dosažen limit znaků',\n confirm: 'OK',\n copied: 'Zkopírováno',\n copy: 'Kopírovat',\n copySelected: 'Vybráno ke zkopírování',\n dragHandle: 'Úchyt pro přetažení',\n enterTime: 'Zadejte čas',\n loading: 'Načítání',\n loadingMore: 'Načítání dalších',\n nextSlide: 'Další snímek',\n noResults: 'Žádné výsledky',\n previousSlide: 'Předchozí snímek',\n selectTime: 'Vyberte čas',\n slide: 'snímek',\n slideLabel: (args) => `${args?.index} z ${args?.count}`,\n },\n 'da-DK': {\n back: 'Tilbage',\n cancel: 'Annuller',\n carousel: 'karrusel',\n characterLimit: plural({ other: (n) => `Op til ${n} tegn` }),\n characterLimitReached: 'Grænsen for tegn er nået',\n confirm: 'OK',\n copied: 'Kopieret',\n copy: 'Kopiér',\n copySelected: 'Markeret til kopiering',\n dragHandle: 'Trækhåndtag',\n enterTime: 'Angiv tidspunkt',\n loading: 'Indlæser',\n loadingMore: 'Indlæser flere',\n nextSlide: 'Næste dias',\n noResults: 'Ingen resultater',\n previousSlide: 'Forrige dias',\n selectTime: 'Vælg tidspunkt',\n slide: 'dias',\n slideLabel: (args) => `${args?.index} af ${args?.count}`,\n },\n 'de-DE': {\n back: 'Zurück',\n cancel: 'Abbrechen',\n carousel: 'Karussell',\n characterLimit: plural({ other: (n) => `Bis zu ${n} Zeichen` }),\n characterLimitReached: 'Zeichenlimit erreicht',\n confirm: 'OK',\n copied: 'Kopiert',\n copy: 'Kopieren',\n copySelected: 'Zum Kopieren markiert',\n dragHandle: 'Ziehpunkt',\n enterTime: 'Uhrzeit eingeben',\n loading: 'Wird geladen',\n loadingMore: 'Weitere werden geladen',\n nextSlide: 'Nächste Folie',\n noResults: 'Keine Ergebnisse',\n previousSlide: 'Vorherige Folie',\n selectTime: 'Uhrzeit auswählen',\n slide: 'Folie',\n slideLabel: (args) => `${args?.index} von ${args?.count}`,\n },\n 'el-GR': {\n back: 'Πίσω',\n cancel: 'Ακύρωση',\n carousel: 'καρουζέλ',\n characterLimit: plural({\n one: (n) => `Έως ${n} χαρακτήρας`,\n other: (n) => `Έως ${n} χαρακτήρες`,\n }),\n characterLimitReached: 'Συμπληρώθηκε το όριο χαρακτήρων',\n confirm: 'OK',\n copied: 'Αντιγράφηκε',\n copy: 'Αντιγραφή',\n copySelected: 'Επιλέχθηκε για αντιγραφή',\n dragHandle: 'Λαβή μεταφοράς',\n enterTime: 'Εισαγωγή ώρας',\n loading: 'Φόρτωση',\n loadingMore: 'Φόρτωση περισσότερων',\n nextSlide: 'Επόμενη διαφάνεια',\n noResults: 'Δεν υπάρχουν αποτελέσματα',\n previousSlide: 'Προηγούμενη διαφάνεια',\n selectTime: 'Επιλογή ώρας',\n slide: 'διαφάνεια',\n slideLabel: (args) => `${args?.index} από ${args?.count}`,\n },\n 'en-US': {\n back: 'Back',\n cancel: 'Cancel',\n carousel: 'carousel',\n characterLimit: plural({\n one: (n) => `Up to ${n} character`,\n other: (n) => `Up to ${n} characters`,\n }),\n characterLimitReached: 'Character limit reached',\n confirm: 'OK',\n copied: 'Copied',\n copy: 'Copy',\n copySelected: 'Selected to copy',\n dragHandle: 'Drag handle',\n enterTime: 'Enter time',\n loading: 'Loading',\n loadingMore: 'Loading more',\n nextSlide: 'Next slide',\n noResults: 'No results',\n previousSlide: 'Previous slide',\n selectTime: 'Select time',\n slide: 'slide',\n slideLabel: (args) => `${args?.index} of ${args?.count}`,\n },\n 'es-ES': {\n back: 'Atrás',\n cancel: 'Cancelar',\n carousel: 'carrusel',\n characterLimit: plural({\n one: (n) => `Hasta ${n} carácter`,\n other: (n) => `Hasta ${n} caracteres`,\n }),\n characterLimitReached: 'Límite de caracteres alcanzado',\n confirm: 'Aceptar',\n copied: 'Copiado',\n copy: 'Copiar',\n copySelected: 'Seleccionado para copiar',\n dragHandle: 'Controlador de arrastre',\n enterTime: 'Introducir hora',\n loading: 'Cargando',\n loadingMore: 'Cargando más',\n nextSlide: 'Diapositiva siguiente',\n noResults: 'No hay resultados',\n previousSlide: 'Diapositiva anterior',\n selectTime: 'Seleccionar hora',\n slide: 'diapositiva',\n slideLabel: (args) => `${args?.index} de ${args?.count}`,\n },\n 'et-EE': {\n back: 'Tagasi',\n cancel: 'Tühista',\n carousel: 'karussell',\n characterLimit: plural({\n one: (n) => `Kuni ${n} märk`,\n other: (n) => `Kuni ${n} märki`,\n }),\n characterLimitReached: 'Märkide piirang on täis',\n confirm: 'OK',\n copied: 'Kopeeritud',\n copy: 'Kopeeri',\n copySelected: 'Kopeerimiseks valitud',\n dragHandle: 'Lohistamispide',\n enterTime: 'Sisesta kellaaeg',\n loading: 'Laadimine',\n loadingMore: 'Laaditakse veel',\n nextSlide: 'Järgmine slaid',\n noResults: 'Tulemusi pole',\n previousSlide: 'Eelmine slaid',\n selectTime: 'Vali kellaaeg',\n slide: 'slaid',\n slideLabel: (args) => `${args?.index}/${args?.count}`,\n },\n 'fi-FI': {\n back: 'Takaisin',\n cancel: 'Peruuta',\n carousel: 'karuselli',\n characterLimit: plural({\n one: (n) => `Enintään ${n} merkki`,\n other: (n) => `Enintään ${n} merkkiä`,\n }),\n characterLimitReached: 'Merkkiraja saavutettu',\n confirm: 'OK',\n copied: 'Kopioitu',\n copy: 'Kopioi',\n copySelected: 'Valittu kopioitavaksi',\n dragHandle: 'Vetokahva',\n enterTime: 'Anna aika',\n loading: 'Ladataan',\n loadingMore: 'Ladataan lisää',\n nextSlide: 'Seuraava dia',\n noResults: 'Ei tuloksia',\n previousSlide: 'Edellinen dia',\n selectTime: 'Valitse aika',\n slide: 'dia',\n slideLabel: (args) => `${args?.index}/${args?.count}`,\n },\n 'fr-FR': {\n back: 'Retour',\n cancel: 'Annuler',\n carousel: 'carrousel',\n characterLimit: plural({\n one: (n) => `Jusqu’à ${n} caractère`,\n other: (n) => `Jusqu’à ${n} caractères`,\n }),\n characterLimitReached: 'Limite de caractères atteinte',\n confirm: 'OK',\n copied: 'Copié',\n copy: 'Copier',\n copySelected: 'Sélectionné pour la copie',\n dragHandle: 'Poignée de déplacement',\n enterTime: 'Saisir l’heure',\n loading: 'Chargement',\n loadingMore: 'Chargement de la suite',\n nextSlide: 'Diapositive suivante',\n noResults: 'Aucun résultat',\n previousSlide: 'Diapositive précédente',\n selectTime: 'Sélectionner l’heure',\n slide: 'diapositive',\n slideLabel: (args) => `${args?.index} sur ${args?.count}`,\n },\n 'he-IL': {\n back: 'חזרה',\n cancel: 'ביטול',\n carousel: 'קרוסלה',\n characterLimit: plural({\n one: () => 'עד תו אחד',\n other: (n) => `עד ${n} תווים`,\n two: () => 'עד שני תווים',\n }),\n characterLimitReached: 'הגעת למגבלת התווים',\n confirm: 'אישור',\n copied: 'הועתק',\n copy: 'העתק',\n copySelected: 'נבחר להעתקה',\n dragHandle: 'ידית גרירה',\n enterTime: 'הזנת שעה',\n loading: 'טוען',\n loadingMore: 'טוען עוד',\n nextSlide: 'השקופית הבאה',\n noResults: 'אין תוצאות',\n previousSlide: 'השקופית הקודמת',\n selectTime: 'בחירת שעה',\n slide: 'שקופית',\n slideLabel: (args) => `${args?.index} מתוך ${args?.count}`,\n },\n 'hr-HR': {\n back: 'Natrag',\n cancel: 'Odustani',\n carousel: 'vrtuljak',\n characterLimit: plural({\n few: (n) => `Najviše ${n} znaka`,\n one: (n) => `Najviše ${n} znak`,\n other: (n) => `Najviše ${n} znakova`,\n }),\n characterLimitReached: 'Dosegnuto je ograničenje znakova',\n confirm: 'U redu',\n copied: 'Kopirano',\n copy: 'Kopiraj',\n copySelected: 'Odabrano za kopiranje',\n dragHandle: 'Ručica za povlačenje',\n enterTime: 'Unesite vrijeme',\n loading: 'Učitavanje',\n loadingMore: 'Učitava se još',\n nextSlide: 'Sljedeći slajd',\n noResults: 'Nema rezultata',\n previousSlide: 'Prethodni slajd',\n selectTime: 'Odaberite vrijeme',\n slide: 'slajd',\n slideLabel: (args) => `${args?.index} od ${args?.count}`,\n },\n 'hu-HU': {\n back: 'Vissza',\n cancel: 'Mégse',\n carousel: 'körhinta',\n characterLimit: plural({ other: (n) => `Legfeljebb ${n} karakter` }),\n characterLimitReached: 'Elérte a karakterkorlátot',\n confirm: 'OK',\n copied: 'Másolva',\n copy: 'Másolás',\n copySelected: 'Kijelölve másoláshoz',\n dragHandle: 'Húzófogantyú',\n enterTime: 'Időpont megadása',\n loading: 'Betöltés',\n loadingMore: 'Továbbiak betöltése',\n nextSlide: 'Következő dia',\n noResults: 'Nincs találat',\n previousSlide: 'Előző dia',\n selectTime: 'Időpont kiválasztása',\n slide: 'dia',\n slideLabel: (args) => `${args?.index}/${args?.count}`,\n },\n 'it-IT': {\n back: 'Indietro',\n cancel: 'Annulla',\n carousel: 'carosello',\n characterLimit: plural({\n one: (n) => `Fino a ${n} carattere`,\n other: (n) => `Fino a ${n} caratteri`,\n }),\n characterLimitReached: 'Limite di caratteri raggiunto',\n confirm: 'OK',\n copied: 'Copiato',\n copy: 'Copia',\n copySelected: 'Selezionato per la copia',\n dragHandle: 'Maniglia di trascinamento',\n enterTime: 'Inserisci l’ora',\n loading: 'Caricamento',\n loadingMore: 'Caricamento di altri elementi',\n nextSlide: 'Diapositiva successiva',\n noResults: 'Nessun risultato',\n previousSlide: 'Diapositiva precedente',\n selectTime: 'Seleziona l’ora',\n slide: 'diapositiva',\n slideLabel: (args) => `${args?.index} di ${args?.count}`,\n },\n 'ja-JP': {\n back: '戻る',\n cancel: 'キャンセル',\n carousel: 'カルーセル',\n characterLimit: plural({ other: (n) => `最大 ${n} 文字` }),\n characterLimitReached: '文字数の上限に達しました',\n confirm: 'OK',\n copied: 'コピーしました',\n copy: 'コピー',\n copySelected: 'コピー用に選択しました',\n dragHandle: 'ドラッグハンドル',\n enterTime: '時刻を入力',\n loading: '読み込み中',\n loadingMore: 'さらに読み込み中',\n nextSlide: '次のスライド',\n noResults: '結果がありません',\n previousSlide: '前のスライド',\n selectTime: '時刻を選択',\n slide: 'スライド',\n slideLabel: (args) => `${args?.index}/${args?.count}`,\n },\n 'ko-KR': {\n back: '뒤로',\n cancel: '취소',\n carousel: '캐러셀',\n characterLimit: plural({ other: (n) => `최대 ${n}자` }),\n characterLimitReached: '글자 수 제한에 도달했습니다',\n confirm: '확인',\n copied: '복사됨',\n copy: '복사',\n copySelected: '복사할 수 있게 선택됨',\n dragHandle: '드래그 핸들',\n enterTime: '시간 입력',\n loading: '로드 중',\n loadingMore: '더 로드하는 중',\n nextSlide: '다음 슬라이드',\n noResults: '결과 없음',\n previousSlide: '이전 슬라이드',\n selectTime: '시간 선택',\n slide: '슬라이드',\n slideLabel: (args) => `${args?.index}/${args?.count}`,\n },\n 'lt-LT': {\n back: 'Atgal',\n cancel: 'Atšaukti',\n carousel: 'karuselė',\n characterLimit: plural({\n few: (n) => `Ne daugiau kaip ${n} simboliai`,\n many: (n) => `Ne daugiau kaip ${n} simbolio`,\n one: (n) => `Ne daugiau kaip ${n} simbolis`,\n other: (n) => `Ne daugiau kaip ${n} simbolių`,\n }),\n characterLimitReached: 'Pasiektas simbolių limitas',\n confirm: 'Gerai',\n copied: 'Nukopijuota',\n copy: 'Kopijuoti',\n copySelected: 'Pažymėta kopijuoti',\n dragHandle: 'Vilkimo rankenėlė',\n enterTime: 'Įveskite laiką',\n loading: 'Įkeliama',\n loadingMore: 'Įkeliama daugiau',\n nextSlide: 'Kita skaidrė',\n noResults: 'Rezultatų nėra',\n previousSlide: 'Ankstesnė skaidrė',\n selectTime: 'Pasirinkite laiką',\n slide: 'skaidrė',\n slideLabel: (args) => `${args?.index} iš ${args?.count}`,\n },\n 'lv-LV': {\n back: 'Atpakaļ',\n cancel: 'Atcelt',\n carousel: 'karuselis',\n characterLimit: plural({\n one: (n) => `Līdz ${n} rakstzīmei`,\n other: (n) => `Līdz ${n} rakstzīmēm`,\n zero: (n) => `Līdz ${n} rakstzīmēm`,\n }),\n characterLimitReached: 'Sasniegts rakstzīmju ierobežojums',\n confirm: 'Labi',\n copied: 'Nokopēts',\n copy: 'Kopēt',\n copySelected: 'Atlasīts kopēšanai',\n dragHandle: 'Vilkšanas turis',\n enterTime: 'Ievadiet laiku',\n loading: 'Notiek ielāde',\n loadingMore: 'Notiek papildu ielāde',\n nextSlide: 'Nākamais slaids',\n noResults: 'Nav rezultātu',\n previousSlide: 'Iepriekšējais slaids',\n selectTime: 'Izvēlieties laiku',\n slide: 'slaids',\n slideLabel: (args) => `${args?.index} no ${args?.count}`,\n },\n 'nb-NO': {\n back: 'Tilbake',\n cancel: 'Avbryt',\n carousel: 'karusell',\n characterLimit: plural({ other: (n) => `Opptil ${n} tegn` }),\n characterLimitReached: 'Tegngrensen er nådd',\n confirm: 'OK',\n copied: 'Kopiert',\n copy: 'Kopier',\n copySelected: 'Merket for kopiering',\n dragHandle: 'Drahåndtak',\n enterTime: 'Angi klokkeslett',\n loading: 'Laster inn',\n loadingMore: 'Laster inn flere',\n nextSlide: 'Neste lysbilde',\n noResults: 'Ingen resultater',\n previousSlide: 'Forrige lysbilde',\n selectTime: 'Velg klokkeslett',\n slide: 'lysbilde',\n slideLabel: (args) => `${args?.index} av ${args?.count}`,\n },\n 'nl-NL': {\n back: 'Terug',\n cancel: 'Annuleren',\n carousel: 'carrousel',\n characterLimit: plural({\n one: (n) => `Maximaal ${n} teken`,\n other: (n) => `Maximaal ${n} tekens`,\n }),\n characterLimitReached: 'Tekenlimiet bereikt',\n confirm: 'OK',\n copied: 'Gekopieerd',\n copy: 'Kopiëren',\n copySelected: 'Geselecteerd om te kopiëren',\n dragHandle: 'Sleepgreep',\n enterTime: 'Tijd invoeren',\n loading: 'Laden',\n loadingMore: 'Meer laden',\n nextSlide: 'Volgende dia',\n noResults: 'Geen resultaten',\n previousSlide: 'Vorige dia',\n selectTime: 'Tijd selecteren',\n slide: 'dia',\n slideLabel: (args) => `${args?.index} van ${args?.count}`,\n },\n 'pl-PL': {\n back: 'Wstecz',\n cancel: 'Anuluj',\n carousel: 'karuzela',\n characterLimit: plural({\n few: (n) => `Maksymalnie ${n} znaki`,\n many: (n) => `Maksymalnie ${n} znaków`,\n one: (n) => `Maksymalnie ${n} znak`,\n other: (n) => `Maksymalnie ${n} znaku`,\n }),\n characterLimitReached: 'Osiągnięto limit znaków',\n confirm: 'OK',\n copied: 'Skopiowano',\n copy: 'Kopiuj',\n copySelected: 'Zaznaczono do skopiowania',\n dragHandle: 'Uchwyt przeciągania',\n enterTime: 'Wpisz godzinę',\n loading: 'Ładowanie',\n loadingMore: 'Ładowanie kolejnych',\n nextSlide: 'Następny slajd',\n noResults: 'Brak wyników',\n previousSlide: 'Poprzedni slajd',\n selectTime: 'Wybierz godzinę',\n slide: 'slajd',\n slideLabel: (args) => `${args?.index} z ${args?.count}`,\n },\n 'pt-BR': {\n back: 'Voltar',\n cancel: 'Cancelar',\n carousel: 'carrossel',\n characterLimit: plural({\n one: (n) => `Até ${n} caractere`,\n other: (n) => `Até ${n} caracteres`,\n }),\n characterLimitReached: 'Limite de caracteres atingido',\n confirm: 'OK',\n copied: 'Copiado',\n copy: 'Copiar',\n copySelected: 'Selecionado para copiar',\n dragHandle: 'Alça de arrastar',\n enterTime: 'Digite o horário',\n loading: 'Carregando',\n loadingMore: 'Carregando mais',\n nextSlide: 'Próximo slide',\n noResults: 'Nenhum resultado',\n previousSlide: 'Slide anterior',\n selectTime: 'Selecione o horário',\n slide: 'slide',\n slideLabel: (args) => `${args?.index} de ${args?.count}`,\n },\n 'pt-PT': {\n back: 'Voltar',\n cancel: 'Cancelar',\n carousel: 'carrossel',\n characterLimit: plural({\n one: (n) => `Até ${n} carácter`,\n other: (n) => `Até ${n} caracteres`,\n }),\n characterLimitReached: 'Limite de caracteres atingido',\n confirm: 'OK',\n copied: 'Copiado',\n copy: 'Copiar',\n copySelected: 'Selecionado para copiar',\n dragHandle: 'Pega para arrastar',\n enterTime: 'Introduzir a hora',\n loading: 'A carregar',\n loadingMore: 'A carregar mais',\n nextSlide: 'Diapositivo seguinte',\n noResults: 'Nenhum resultado',\n previousSlide: 'Diapositivo anterior',\n selectTime: 'Selecionar a hora',\n slide: 'diapositivo',\n slideLabel: (args) => `${args?.index} de ${args?.count}`,\n },\n 'ro-RO': {\n back: 'Înapoi',\n cancel: 'Anulați',\n carousel: 'carusel',\n characterLimit: plural({\n few: (n) => `Maximum ${n} caractere`,\n one: (n) => `Maximum ${n} caracter`,\n other: (n) => `Maximum ${n} de caractere`,\n }),\n characterLimitReached: 'Limita de caractere a fost atinsă',\n confirm: 'OK',\n copied: 'Copiat',\n copy: 'Copiați',\n copySelected: 'Selectat pentru copiere',\n dragHandle: 'Mâner de glisare',\n enterTime: 'Introduceți ora',\n loading: 'Se încarcă',\n loadingMore: 'Se încarcă mai multe',\n nextSlide: 'Diapozitivul următor',\n noResults: 'Niciun rezultat',\n previousSlide: 'Diapozitivul anterior',\n selectTime: 'Selectați ora',\n slide: 'diapozitiv',\n slideLabel: (args) => `${args?.index} din ${args?.count}`,\n },\n 'ru-RU': {\n back: 'Назад',\n cancel: 'Отмена',\n carousel: 'карусель',\n characterLimit: plural({\n few: (n) => `Не более ${n} символов`,\n many: (n) => `Не более ${n} символов`,\n one: (n) => `Не более ${n} символа`,\n other: (n) => `Не более ${n} символа`,\n }),\n characterLimitReached: 'Достигнут лимит символов',\n confirm: 'ОК',\n copied: 'Скопировано',\n copy: 'Копировать',\n copySelected: 'Выделено для копирования',\n dragHandle: 'Маркер перемещения',\n enterTime: 'Введите время',\n loading: 'Загрузка',\n loadingMore: 'Загрузка ещё',\n nextSlide: 'Следующий слайд',\n noResults: 'Нет результатов',\n previousSlide: 'Предыдущий слайд',\n selectTime: 'Выберите время',\n slide: 'слайд',\n slideLabel: (args) => `${args?.index} из ${args?.count}`,\n },\n 'sk-SK': {\n back: 'Späť',\n cancel: 'Zrušiť',\n carousel: 'karusel',\n characterLimit: plural({\n few: (n) => `Najviac ${n} znaky`,\n many: (n) => `Najviac ${n} znaku`,\n one: (n) => `Najviac ${n} znak`,\n other: (n) => `Najviac ${n} znakov`,\n }),\n characterLimitReached: 'Dosiahnutý limit znakov',\n confirm: 'OK',\n copied: 'Skopírované',\n copy: 'Kopírovať',\n copySelected: 'Vybraté na kopírovanie',\n dragHandle: 'Úchyt na presunutie',\n enterTime: 'Zadajte čas',\n loading: 'Načítava sa',\n loadingMore: 'Načítavajú sa ďalšie',\n nextSlide: 'Nasledujúca snímka',\n noResults: 'Žiadne výsledky',\n previousSlide: 'Predchádzajúca snímka',\n selectTime: 'Vyberte čas',\n slide: 'snímka',\n slideLabel: (args) => `${args?.index} z ${args?.count}`,\n },\n 'sl-SI': {\n back: 'Nazaj',\n cancel: 'Prekliči',\n carousel: 'vrtiljak',\n characterLimit: plural({\n few: (n) => `Največ ${n} znaki`,\n one: (n) => `Največ ${n} znak`,\n other: (n) => `Največ ${n} znakov`,\n two: (n) => `Največ ${n} znaka`,\n }),\n characterLimitReached: 'Doseženo je največje število znakov',\n confirm: 'V redu',\n copied: 'Kopirano',\n copy: 'Kopiraj',\n copySelected: 'Izbrano za kopiranje',\n dragHandle: 'Ročica za vlečenje',\n enterTime: 'Vnesite čas',\n loading: 'Nalaganje',\n loadingMore: 'Nalaganje več',\n nextSlide: 'Naslednji diapozitiv',\n noResults: 'Ni rezultatov',\n previousSlide: 'Prejšnji diapozitiv',\n selectTime: 'Izberite čas',\n slide: 'diapozitiv',\n slideLabel: (args) => `${args?.index} od ${args?.count}`,\n },\n 'sr-SP': {\n back: 'Nazad',\n cancel: 'Otkaži',\n carousel: 'vrteška',\n characterLimit: plural({\n few: (n) => `Najviše ${n} znaka`,\n one: (n) => `Najviše ${n} znak`,\n other: (n) => `Najviše ${n} znakova`,\n }),\n characterLimitReached: 'Dostignuto je ograničenje znakova',\n confirm: 'U redu',\n copied: 'Kopirano',\n copy: 'Kopiraj',\n copySelected: 'Izabrano za kopiranje',\n dragHandle: 'Ručica za prevlačenje',\n enterTime: 'Unesite vreme',\n loading: 'Učitavanje',\n loadingMore: 'Učitavanje još',\n nextSlide: 'Sledeći slajd',\n noResults: 'Nema rezultata',\n previousSlide: 'Prethodni slajd',\n selectTime: 'Izaberite vreme',\n slide: 'slajd',\n slideLabel: (args) => `${args?.index} od ${args?.count}`,\n },\n 'sv-SE': {\n back: 'Tillbaka',\n cancel: 'Avbryt',\n carousel: 'karusell',\n characterLimit: plural({ other: (n) => `Högst ${n} tecken` }),\n characterLimitReached: 'Teckengränsen är nådd',\n confirm: 'OK',\n copied: 'Kopierat',\n copy: 'Kopiera',\n copySelected: 'Markerat för kopiering',\n dragHandle: 'Draghandtag',\n enterTime: 'Ange tid',\n loading: 'Läser in',\n loadingMore: 'Läser in fler',\n nextSlide: 'Nästa bild',\n noResults: 'Inga resultat',\n previousSlide: 'Föregående bild',\n selectTime: 'Välj tid',\n slide: 'bild',\n slideLabel: (args) => `${args?.index} av ${args?.count}`,\n },\n 'tr-TR': {\n back: 'Geri',\n cancel: 'İptal',\n carousel: 'karusel',\n characterLimit: plural({ other: (n) => `En fazla ${n} karakter` }),\n characterLimitReached: 'Karakter sınırına ulaşıldı',\n confirm: 'Tamam',\n copied: 'Kopyalandı',\n copy: 'Kopyala',\n copySelected: 'Kopyalamak için seçildi',\n dragHandle: 'Sürükleme tutamacı',\n enterTime: 'Saati girin',\n loading: 'Yükleniyor',\n loadingMore: 'Daha fazlası yükleniyor',\n nextSlide: 'Sonraki slayt',\n noResults: 'Sonuç yok',\n previousSlide: 'Önceki slayt',\n selectTime: 'Saati seçin',\n slide: 'slayt',\n slideLabel: (args) => `${args?.index}/${args?.count}`,\n },\n 'uk-UA': {\n back: 'Назад',\n cancel: 'Скасувати',\n carousel: 'карусель',\n characterLimit: plural({\n few: (n) => `Не більше ${n} символів`,\n many: (n) => `Не більше ${n} символів`,\n one: (n) => `Не більше ${n} символу`,\n other: (n) => `Не більше ${n} символу`,\n }),\n characterLimitReached: 'Досягнуто ліміту символів',\n confirm: 'Гаразд',\n copied: 'Скопійовано',\n copy: 'Копіювати',\n copySelected: 'Виділено для копіювання',\n dragHandle: 'Маркер перетягування',\n enterTime: 'Введіть час',\n loading: 'Завантаження',\n loadingMore: 'Завантаження ще',\n nextSlide: 'Наступний слайд',\n noResults: 'Немає результатів',\n previousSlide: 'Попередній слайд',\n selectTime: 'Виберіть час',\n slide: 'слайд',\n slideLabel: (args) => `${args?.index} з ${args?.count}`,\n },\n 'zh-CN': {\n back: '返回',\n cancel: '取消',\n carousel: '轮播',\n characterLimit: plural({ other: (n) => `最多 ${n} 个字符` }),\n characterLimitReached: '已达到字符数上限',\n confirm: '确定',\n copied: '已复制',\n copy: '复制',\n copySelected: '已选中,可复制',\n dragHandle: '拖动手柄',\n enterTime: '输入时间',\n loading: '正在加载',\n loadingMore: '正在加载更多',\n nextSlide: '下一张',\n noResults: '没有结果',\n previousSlide: '上一张',\n selectTime: '选择时间',\n slide: '幻灯片',\n slideLabel: (args) => `第 ${args?.index} 项,共 ${args?.count} 项`,\n },\n 'zh-TW': {\n back: '返回',\n cancel: '取消',\n carousel: '輪播',\n characterLimit: plural({ other: (n) => `最多 ${n} 個字元` }),\n characterLimitReached: '已達到字元數上限',\n confirm: '確定',\n copied: '已複製',\n copy: '複製',\n copySelected: '已選取,可複製',\n dragHandle: '拖曳控點',\n enterTime: '輸入時間',\n loading: '正在載入',\n loadingMore: '正在載入更多',\n nextSlide: '下一張',\n noResults: '沒有結果',\n previousSlide: '上一張',\n selectTime: '選取時間',\n slide: '投影片',\n slideLabel: (args) => `第 ${args?.index} 項,共 ${args?.count} 項`,\n },\n}\n\nexport type { LibraryMessage }\n\nexport { MESSAGES }\n"],"mappings":";;;;;;;AAuDA,SAASE,OAAOC,OAAqC;CACnD,MAAMC,SAAS,IAAIC,IAAIC,OAAOC,QAAQJ,KAAK,CAAC;CAC5C,QAAQK,SAAS;EACf,MAAMR,QAAQS,OAAOD,MAAMR,SAAS,EAAE;EAEtC,QADaI,OAAOM,IAAID,OAAOD,MAAMG,QAAQ,OAAO,CAAC,KAAKR,MAAMF,MAAAA,CACpDD,KAAK;CACnB;AACF;AAEA,MAAMY,WAA8D;CAClE,SAAS;EACPC,MAAM;EACNC,QAAQ;EACRC,UAAU;EACVC,gBAAgBd,OAAO;GACrBe,MAAMC,MAAM,OAAOA,EAAC;GACpBC,OAAOD,MAAM,OAAOA,EAAC;GACrBE,WAAW;GACXnB,QAAQiB,MAAM,OAAOA,EAAC;GACtBG,WAAW;GACXC,OAAOJ,MAAM,OAAOA,EAAC;EACvB,CAAC;EACDK,uBAAuB;EACvBC,SAAS;EACTC,QAAQ;EACRC,MAAM;EACNC,cAAc;EACdC,YAA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,aAAaA,EAAC;EAC9B,CAAC;EACDK,uBAAuB;EACvBC,SAAS;EACTC,QAAQ;EACRC,MAAM;EACNC,cAAc;EACdC,YAAY;EACZC,WAAW;EACXC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,WAAW;EACXC,eAAe;EACfC,YAAY;EACZC,OAAO;EACPC,aAAa7B,SAAS,GAAGA,MAAM8B,MAAK,KAAM9B,MAAMR;CAClD;CACA,SAAS;EACPa,MAAM;EACNC,QAAQ;EACRC,UAAU;EACVC,gBAAgBd,OAAO,EAAED,QAAQiB,MAAM,MAAMA,EAAC,MAAO,CAAC;EACtDK,uBAAuB;EACvBC,SAAS;EACTC,QAAQ;EACRC,MAAM;EACNC,cAAc;EACdC,YAAY;EACZC,WAAW;EACXC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,WAAW;EACXC,eAAe;EACfC,YAAY;EACZC,OAAO;EACPC,aAAa7B,SAAS,KAAKA,MAAM8B,MAAK,OAAQ9B,MAAMR,MAAK;CAC3D;CACA,SAAS;EACPa,MAAM;EACNC,QAAQ;EACRC,UAAU;EACVC,gBAAgBd,OAAO,EAAED,QAAQiB,MAAM,MAAMA,EAAC,MAAO,CAAC;EACtDK,uBAAuB;EACvBC,SAAS;EACTC,QAAQ;EACRC,MAAM;EACNC,cAAc;EACdC,YAAY;EACZC,WAAW;EACXC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,WAAW;EACXC,eAAe;EACfC,YAAY;EACZC,OAAO;EACPC,aAAa7B,SAAS,KAAKA,MAAM8B,MAAK,OAAQ9B,MAAMR,MAAK;CAC3D;AACF"}
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import ButtonGroup, { ButtonGroupProps, ButtonGroupVariant } from "./components/
11
11
  import Calendar, { CalendarProps } from "./components/calendar/index.js";
12
12
  import Card, { CardProps, CardVariant } from "./components/card/index.js";
13
13
  import { CarouselLayout } from "./carousel/arrangement.js";
14
- import Carousel, { CarouselItem, CarouselItemProps, CarouselProps } from "./components/carousel/index.js";
14
+ import Carousel, { CarouselItem, CarouselItemProps, CarouselItemRenderProps, CarouselProps } from "./components/carousel/index.js";
15
15
  import Checkbox, { CheckboxProps } from "./components/checkbox/index.js";
16
16
  import CheckboxGroup, { CheckboxGroupProps } from "./components/checkbox-group/index.js";
17
17
  import Chip, { ChipActionProps, ChipFilterProps, ChipProps, ChipVariant } from "./components/chip/index.js";
@@ -89,4 +89,4 @@ import { useDragAndDrop } from "./drag/hooks.js";
89
89
  import { Collection, DIRECTORY_DRAG_TYPE, Focusable, FocusableElement, GridLayout, HoverEvent, I18nProvider, Key, KeyboardEvent, ListLayout, PressEvent, Pressable, RouterProvider, Selection, SharedElement, SharedElementTransition, SortDescriptor, TableLayout, TokenFieldValue, Virtualizer, VisuallyHidden, WaterfallLayout, getColorChannels, isDirectoryDropItem, isFileDropItem, isTextDropItem, parseColor, useAsyncList, useDrag, useDrop, useFilter, useListData, useLocale, useTreeData } from "./react-aria.js";
90
90
  import { t as KuiTheme } from "./kanso-ui-core/defaults-DMH0HWCw.js";
91
91
  import { ThemeScope, ThemeScopeProps } from "./theme-scope.js";
92
- export { AppBar, type AppBarProps, type AppBarScroll, type AppBarScrollOptions, Autocomplete, type AutocompleteFilter, type AutocompleteProps, Avatar, type AvatarProps, Badge, type BadgeProps, Breadcrumbs, BreadcrumbsItem, type BreadcrumbsItemProps, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonGroupVariant, type ButtonProps, type ButtonShape, type ButtonSize, type ButtonVariant, Calendar, type CalendarProps, Card, type CardProps, type CardVariant, Carousel, CarouselItem, type CarouselItemProps, type CarouselLayout, type CarouselProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipActionProps, type ChipFilterProps, ChipGroup, ChipGroupChip, type ChipGroupChipProps, type ChipGroupProps, type ChipProps, type ChipVariant, Code, type CodeProps, Collection, ColorArea, type ColorAreaProps, ColorField, type ColorFieldProps, ColorPicker, type ColorPickerProps, ColorSlider, type ColorSliderProps, ColorSwatch, ColorSwatchPicker, ColorSwatchPickerItem, type ColorSwatchPickerItemProps, type ColorSwatchPickerProps, type ColorSwatchProps, ColorWheel, type ColorWheelProps, ComboBox, type ComboBoxProps, type ComboBoxSelectionMode, Container, type ContainerProps, CopyField, type CopyFieldProps, Currency, type CurrencyDisplay, type CurrencyNotation, type CurrencyProps, type CurrencySignDisplay, type CurrencyTone, DIRECTORY_DRAG_TYPE, DateField, type DateFieldProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, Dialog, DialogBody, DialogContent, type DialogContentProps, DialogFooter, DialogHeader, type DialogProps, DialogTitle, type DialogTitleProps, Disclosure, DisclosureGroup, type DisclosureGroupProps, DisclosureHeader, type DisclosureHeaderProps, DisclosurePanel, type DisclosurePanelProps, type DisclosureProps, DropZone, type DropZoneProps, Fab, FabMenu, FabMenuItem, type FabMenuItemProps, type FabMenuProps, type FabProps, type FabSize, type FabTone, type FabVariant, Feed, type FeedProps, type FieldVariant, FileTrigger, type FileTriggerProps, Focusable, type FocusableElement, Form, type FormProps, GridLayout, type HoverEvent, I18nProvider, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type Key, type KeyboardEvent, Keycap, type KeycapProps, type KuiTheme, Link, type LinkProps, type LinkTone, type LinkUnderline, List, ListBox, ListBoxItem, type ListBoxItemProps, ListBoxLoadMore, type ListBoxLoadMoreProps, type ListBoxProps, ListBoxSection, type ListBoxSectionProps, ListDetail, type ListDetailProps, ListItem, type ListItemProps, ListLayout, ListLoadMore, type ListLoadMoreProps, type ListProps, ListRow, type ListRowProps, ListSection, type ListSectionProps, LoadingIndicator, type LoadingIndicatorProps, Menu, type MenuAlign, MenuContent, type MenuContentProps, MenuItem, type MenuItemProps, MenuLoadMore, type MenuLoadMoreProps, type MenuProps, MenuSection, type MenuSectionProps, MenuSeparator, type MenuSeparatorProps, type MenuSide, MenuSubmenu, type MenuSubmenuProps, Meter, type MeterProps, type MeterTone, NavigationBar, NavigationBarItem, type NavigationItemProps as NavigationBarItemProps, type NavigationBarProps, NavigationRail, NavigationRailItem, type NavigationItemProps as NavigationRailItemProps, type NavigationRailProps, NavigationTree, NavigationTreeItem, type NavigationTreeItemProps, type NavigationTreeProps, NavigationTreeSection, type NavigationTreeSectionProps, NumberField, type NumberFieldProps, Popover, type PopoverAlign, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, type PopoverProps, type PopoverSide, type PopoverSize, PopoverTitle, type PopoverTitleProps, type PopoverTrigger, type PressEvent, Pressable, ProductIcon, type ProductIconProps, ProgressIndicator, type ProgressIndicatorProps, type ProgressIndicatorShape, type ProgressIndicatorTone, type ProgressIndicatorVariant, Radio, RadioGroup, type RadioGroupProps, type RadioProps, RangeCalendar, type RangeCalendarProps, RouterProvider, SearchField, type SearchFieldProps, SearchView, SearchViewContent, type SearchViewContentProps, type SearchViewProps, SegmentedButton, type SegmentedButtonProps, SegmentedButtonSegment, type SegmentedButtonSegmentProps, Select, type SelectProps, type Selection, Separator, type SeparatorInset, type SeparatorProps, SharedElement, SharedElementTransition, Sheet, SheetBody, SheetContent, type SheetContentProps, SheetFooter, SheetHandle, SheetHeader, type SheetProps, SheetTitle, type SheetTitleProps, Slider, type SliderProps, type SliderSize, Snackbar, type SnackbarAction, type SnackbarMessage, type SnackbarOptions, type SnackbarProps, type SnackbarQueue, type ToastRegionRenderProps as SnackbarRegionRenderProps, type SortDescriptor, SplitButton, SplitButtonAction, type SplitButtonActionProps, SplitButtonMenu, type SplitButtonMenuProps, type SplitButtonProps, type SplitButtonVariant, Stack, type StackAlign, type StackGap, type StackJustify, type StackProps, SupportingPane, type SupportingPaneProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableFooter, type TableFooterProps, TableHeader, type TableHeaderProps, TableLayout, TableLoadMore, type TableLoadMoreProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsLayout, TabsList, type TabsListProps, TabsPanel, type TabsPanelProps, TabsPanels, type TabsPanelsProps, type TabsProps, TabsTab, type TabsTabProps, type TabsVariant, Tag, type TagProps, type TagTone, type TagVariant, Text, TextArea, type TextAreaProps, TextField, type TextFieldProps, type TextProps, ThemeScope, type ThemeScopeProps, TimeField, type TimeFieldProps, TimePicker, type TimePickerMode, type TimePickerProps, TokenField, type TokenFieldProps, TokenFieldValue, type TokenSegment, Toolbar, type ToolbarProps, type ToolbarTone, Tooltip, type TooltipAlign, type TooltipProps, type TooltipSide, Tree, TreeItem, type TreeItemProps, TreeLoadMore, type TreeLoadMoreProps, type TreeProps, TreeSection, type TreeSectionProps, Virtualizer, VisuallyHidden, WaterfallLayout, collectionSizes, colorScheme, getColorChannels, isDirectoryDropItem, isFileDropItem, isTextDropItem, parseColor, themeScope, useAppBarScroll, useAsyncList, useDrag, useDragAndDrop, useDrop, useFilter, useListData, useLocale, useTreeData };
92
+ export { AppBar, type AppBarProps, type AppBarScroll, type AppBarScrollOptions, Autocomplete, type AutocompleteFilter, type AutocompleteProps, Avatar, type AvatarProps, Badge, type BadgeProps, Breadcrumbs, BreadcrumbsItem, type BreadcrumbsItemProps, type BreadcrumbsProps, Button, ButtonGroup, type ButtonGroupProps, type ButtonGroupVariant, type ButtonProps, type ButtonShape, type ButtonSize, type ButtonVariant, Calendar, type CalendarProps, Card, type CardProps, type CardVariant, Carousel, CarouselItem, type CarouselItemProps, type CarouselItemRenderProps, type CarouselLayout, type CarouselProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipActionProps, type ChipFilterProps, ChipGroup, ChipGroupChip, type ChipGroupChipProps, type ChipGroupProps, type ChipProps, type ChipVariant, Code, type CodeProps, Collection, ColorArea, type ColorAreaProps, ColorField, type ColorFieldProps, ColorPicker, type ColorPickerProps, ColorSlider, type ColorSliderProps, ColorSwatch, ColorSwatchPicker, ColorSwatchPickerItem, type ColorSwatchPickerItemProps, type ColorSwatchPickerProps, type ColorSwatchProps, ColorWheel, type ColorWheelProps, ComboBox, type ComboBoxProps, type ComboBoxSelectionMode, Container, type ContainerProps, CopyField, type CopyFieldProps, Currency, type CurrencyDisplay, type CurrencyNotation, type CurrencyProps, type CurrencySignDisplay, type CurrencyTone, DIRECTORY_DRAG_TYPE, DateField, type DateFieldProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, Dialog, DialogBody, DialogContent, type DialogContentProps, DialogFooter, DialogHeader, type DialogProps, DialogTitle, type DialogTitleProps, Disclosure, DisclosureGroup, type DisclosureGroupProps, DisclosureHeader, type DisclosureHeaderProps, DisclosurePanel, type DisclosurePanelProps, type DisclosureProps, DropZone, type DropZoneProps, Fab, FabMenu, FabMenuItem, type FabMenuItemProps, type FabMenuProps, type FabProps, type FabSize, type FabTone, type FabVariant, Feed, type FeedProps, type FieldVariant, FileTrigger, type FileTriggerProps, Focusable, type FocusableElement, Form, type FormProps, GridLayout, type HoverEvent, I18nProvider, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type Key, type KeyboardEvent, Keycap, type KeycapProps, type KuiTheme, Link, type LinkProps, type LinkTone, type LinkUnderline, List, ListBox, ListBoxItem, type ListBoxItemProps, ListBoxLoadMore, type ListBoxLoadMoreProps, type ListBoxProps, ListBoxSection, type ListBoxSectionProps, ListDetail, type ListDetailProps, ListItem, type ListItemProps, ListLayout, ListLoadMore, type ListLoadMoreProps, type ListProps, ListRow, type ListRowProps, ListSection, type ListSectionProps, LoadingIndicator, type LoadingIndicatorProps, Menu, type MenuAlign, MenuContent, type MenuContentProps, MenuItem, type MenuItemProps, MenuLoadMore, type MenuLoadMoreProps, type MenuProps, MenuSection, type MenuSectionProps, MenuSeparator, type MenuSeparatorProps, type MenuSide, MenuSubmenu, type MenuSubmenuProps, Meter, type MeterProps, type MeterTone, NavigationBar, NavigationBarItem, type NavigationItemProps as NavigationBarItemProps, type NavigationBarProps, NavigationRail, NavigationRailItem, type NavigationItemProps as NavigationRailItemProps, type NavigationRailProps, NavigationTree, NavigationTreeItem, type NavigationTreeItemProps, type NavigationTreeProps, NavigationTreeSection, type NavigationTreeSectionProps, NumberField, type NumberFieldProps, Popover, type PopoverAlign, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, type PopoverProps, type PopoverSide, type PopoverSize, PopoverTitle, type PopoverTitleProps, type PopoverTrigger, type PressEvent, Pressable, ProductIcon, type ProductIconProps, ProgressIndicator, type ProgressIndicatorProps, type ProgressIndicatorShape, type ProgressIndicatorTone, type ProgressIndicatorVariant, Radio, RadioGroup, type RadioGroupProps, type RadioProps, RangeCalendar, type RangeCalendarProps, RouterProvider, SearchField, type SearchFieldProps, SearchView, SearchViewContent, type SearchViewContentProps, type SearchViewProps, SegmentedButton, type SegmentedButtonProps, SegmentedButtonSegment, type SegmentedButtonSegmentProps, Select, type SelectProps, type Selection, Separator, type SeparatorInset, type SeparatorProps, SharedElement, SharedElementTransition, Sheet, SheetBody, SheetContent, type SheetContentProps, SheetFooter, SheetHandle, SheetHeader, type SheetProps, SheetTitle, type SheetTitleProps, Slider, type SliderProps, type SliderSize, Snackbar, type SnackbarAction, type SnackbarMessage, type SnackbarOptions, type SnackbarProps, type SnackbarQueue, type ToastRegionRenderProps as SnackbarRegionRenderProps, type SortDescriptor, SplitButton, SplitButtonAction, type SplitButtonActionProps, SplitButtonMenu, type SplitButtonMenuProps, type SplitButtonProps, type SplitButtonVariant, Stack, type StackAlign, type StackGap, type StackJustify, type StackProps, SupportingPane, type SupportingPaneProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableColumn, type TableColumnProps, TableFooter, type TableFooterProps, TableHeader, type TableHeaderProps, TableLayout, TableLoadMore, type TableLoadMoreProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsLayout, TabsList, type TabsListProps, TabsPanel, type TabsPanelProps, TabsPanels, type TabsPanelsProps, type TabsProps, TabsTab, type TabsTabProps, type TabsVariant, Tag, type TagProps, type TagTone, type TagVariant, Text, TextArea, type TextAreaProps, TextField, type TextFieldProps, type TextProps, ThemeScope, type ThemeScopeProps, TimeField, type TimeFieldProps, TimePicker, type TimePickerMode, type TimePickerProps, TokenField, type TokenFieldProps, TokenFieldValue, type TokenSegment, Toolbar, type ToolbarProps, type ToolbarTone, Tooltip, type TooltipAlign, type TooltipProps, type TooltipSide, Tree, TreeItem, type TreeItemProps, TreeLoadMore, type TreeLoadMoreProps, type TreeProps, TreeSection, type TreeSectionProps, Virtualizer, VisuallyHidden, WaterfallLayout, collectionSizes, colorScheme, getColorChannels, isDirectoryDropItem, isFileDropItem, isTextDropItem, parseColor, themeScope, useAppBarScroll, useAsyncList, useDrag, useDragAndDrop, useDrop, useFilter, useListData, useLocale, useTreeData };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["ReactNode","stylex","Label","IndicatorTone","hasContent","indicatorStyles","ACTIVE_TONES","inherit","inheritActive","negative","negativeActive","positive","positiveActive","primary","const","IndicatorLabels","t0","$","_c","label","status","value","t1","Symbol","for","props","labels","t2","labelText","t3","t4","IndicatorLine","activeStyle","children","percentage","tone","active","solid","undefined","line","activeAt","track","trackSolid","inheritTrack","t5","t6","stop","t7","t8","_c","stylex.props"],"sources":["../../src/indicator/index.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport * as stylex from '@stylexjs/stylex';\nimport { Label } from 'react-aria-components';\nimport type { IndicatorTone } from './styles';\nimport { hasContent } from '../render/content';\nimport { indicatorStyles } from './styles';\n\n// The two pieces a linear indicator is drawn from, shared by\n// ProgressIndicator and Meter. The styles they use are in ./styles.ts.\n\n// What each tone draws the active indicator and the stop indicator in.\n// `primary` is the style they already carry, so it adds nothing.\nconst ACTIVE_TONES = {\n inherit: indicatorStyles.inheritActive,\n negative: indicatorStyles.negativeActive,\n positive: indicatorStyles.positiveActive,\n primary: null\n} as const;\n\n/**\n * The label and, optionally, the value, on a line above the indicator.\n * React Aria's `Label` reads the surrounding context, so the same element\n * names a progress bar and a meter alike. `status` is drawn just before the\n * value, at the end of the line, which is where a meter puts the glyph that\n * says its tone. Renders nothing when there is none of the three to show.\n */\nexport function IndicatorLabels({\n label,\n status,\n value\n}: {\n label: ReactNode;\n status?: ReactNode;\n value: ReactNode;\n}) {\n if (!hasContent(label) && !hasContent(status) && !hasContent(value)) {\n return null;\n }\n return <div {...stylex.props(indicatorStyles.labels)}>\n {!hasContent(label) ? null : <Label {...stylex.props(indicatorStyles.label, indicatorStyles.labelText)}>\n {label}\n </Label>}\n {!hasContent(status) && !hasContent(value) ? null : <span {...stylex.props(indicatorStyles.label, indicatorStyles.value)}>\n {status}\n {value}\n </span>}\n </div>;\n}\n\n/**\n * The page's line: the active indicator at its share of the width, the track\n * taking what is left, and the stop indicator at the end. Anything passed as\n * `children` is drawn inside the track, which is what the progress\n * indicator's buffer fills it with; with none the track is solid.\n * `activeStyle` is applied to the active indicator last, which is how the\n * progress indicator fades it under a wave.\n */\nexport function IndicatorLine({\n activeStyle,\n children,\n percentage,\n tone\n}: {\n activeStyle?: stylex.StyleXStyles;\n children?: ReactNode;\n percentage: number;\n tone: IndicatorTone;\n}) {\n const active = ACTIVE_TONES[tone];\n const solid = children === undefined;\n return <div {...stylex.props(indicatorStyles.line)}>\n <span {...stylex.props(indicatorStyles.active, indicatorStyles.activeAt(percentage), active, activeStyle)} />\n <span {...stylex.props(indicatorStyles.track, solid && indicatorStyles.trackSolid, solid && tone === 'inherit' && indicatorStyles.inheritTrack)}>\n {children}\n </span>\n <span {...stylex.props(indicatorStyles.stop, active)} />\n </div>;\n}"],"mappings":";;;;;;;AAYA,MAAMM,eAAe;CACnBC,SAASF,gBAAgBG;CACzBC,UAAUJ,gBAAgBK;CAC1BC,UAAUN,gBAAgBO;CAC1BC,SAAS;AACX;;;;;;;;AASA,SAAOE,gBAAAC,IAAA;CAAA,MAAAC,IAAAC,EAAA,CAAA;CAAyB,MAAA,EAAAC,OAAAC,QAAAC,UAAAL;CAS9B,IAAI,CAACZ,WAAWe,KAAK,KAAjB,CAAu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MAAA4B;CAAA,OAAAA,KAAA5B,EAAA;CAAA,IAAA8B;CAAA,IAAA9B,EAAA,QAAA4B,IAAA;EAApDE,KAAA,oBAAA,QAAA,EAAwD,GAA9CF,GAA0C,CAAA;EAAI5B,EAAA,MAAA4B;EAAA5B,EAAA,MAAA8B;CAAA,OAAAA,KAAA9B,EAAA;CAAA,IAAA+B;CAAA,IAAA/B,EAAA,QAAAY,MAAAZ,EAAA,QAAA2B,MAAA3B,EAAA,QAAA8B,IAAA;EALrDC,KAAA,qBAAA,OAAA;GAMC,GANQ1B;GAAT,UAAA;IACHO;IACAe;IAGAG;GACI;;EAAA9B,EAAA,MAAAY;EAAAZ,EAAA,MAAA2B;EAAA3B,EAAA,MAAA8B;EAAA9B,EAAA,MAAA+B;CAAA,OAAAA,KAAA/B,EAAA;CAAA,OAND+B;AAMC"}
1
+ {"version":3,"file":"index.js","names":["stylex","hasContent","indicatorStyles","ACTIVE_TONES","inherit","inheritActive","negative","negativeActive","positive","positiveActive","primary","IndicatorLabels","t0","$","_c","label","status","value","t1","Symbol","for","labels","t2","labelText","t3","t4","IndicatorLine","activeStyle","children","percentage","tone","active","solid","undefined","line","activeAt","track","trackSolid","inheritTrack","t5","t6","stop","t7","t8"],"sources":["../../src/indicator/index.tsx"],"sourcesContent":["import type { ReactNode } from 'react';\nimport * as stylex from '@stylexjs/stylex';\nimport { Label } from 'react-aria-components';\nimport type { IndicatorTone } from './styles';\nimport { hasContent } from '../render/content';\nimport { indicatorStyles } from './styles';\n\n// The two pieces a linear indicator is drawn from, shared by\n// ProgressIndicator and Meter. The styles they use are in ./styles.ts.\n\n// What each tone draws the active indicator and the stop indicator in.\n// `primary` is the style they already carry, so it adds nothing.\nconst ACTIVE_TONES = {\n inherit: indicatorStyles.inheritActive,\n negative: indicatorStyles.negativeActive,\n positive: indicatorStyles.positiveActive,\n primary: null\n} as const;\n\n/**\n * The label and, optionally, the value, on a line above the indicator.\n * React Aria's `Label` reads the surrounding context, so the same element\n * names a progress bar and a meter alike. `status` is drawn just before the\n * value, at the end of the line, which is where a meter puts the glyph that\n * says its tone. Renders nothing when there is none of the three to show.\n */\nexport function IndicatorLabels({\n label,\n status,\n value\n}: {\n label: ReactNode;\n status?: ReactNode;\n value: ReactNode;\n}) {\n if (!hasContent(label) && !hasContent(status) && !hasContent(value)) {\n return null;\n }\n return <div {...stylex.props(indicatorStyles.labels)}>\n {!hasContent(label) ? null : <Label {...stylex.props(indicatorStyles.label, indicatorStyles.labelText)}>\n {label}\n </Label>}\n {!hasContent(status) && !hasContent(value) ? null : <span {...stylex.props(indicatorStyles.label, indicatorStyles.value)}>\n {status}\n {value}\n </span>}\n </div>;\n}\n\n/**\n * The page's line: the active indicator at its share of the width, the track\n * taking what is left, and the stop indicator at the end. Anything passed as\n * `children` is drawn inside the track, which is what the progress\n * indicator's buffer fills it with; with none the track is solid.\n * `activeStyle` is applied to the active indicator last, which is how the\n * progress indicator fades it under a wave.\n */\nexport function IndicatorLine({\n activeStyle,\n children,\n percentage,\n tone\n}: {\n activeStyle?: stylex.StyleXStyles;\n children?: ReactNode;\n percentage: number;\n tone: IndicatorTone;\n}) {\n const active = ACTIVE_TONES[tone];\n const solid = children === undefined;\n return <div {...stylex.props(indicatorStyles.line)}>\n <span {...stylex.props(indicatorStyles.active, indicatorStyles.activeAt(percentage), active, activeStyle)} />\n <span {...stylex.props(indicatorStyles.track, solid && indicatorStyles.trackSolid, solid && tone === 'inherit' && indicatorStyles.inheritTrack)}>\n {children}\n </span>\n <span {...stylex.props(indicatorStyles.stop, active)} />\n </div>;\n}"],"mappings":";;;;;;;AAYA,MAAMG,eAAe;CACnBC,SAASF,gBAAgBG;CACzBC,UAAUJ,gBAAgBK;CAC1BC,UAAUN,gBAAgBO;CAC1BC,SAAS;AACX;;;;;;;;AASA,SAAOC,gBAAAC,IAAA;CAAA,MAAAC,IAAAC,EAAA,CAAA;CAAyB,MAAA,EAAAC,OAAAC,QAAAC,UAAAL;CAS9B,IAAI,CAACX,WAAW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,EAAA,MAAA2B;CAAA,OAAAA,KAAA3B,EAAA;CAAA,IAAA6B;CAAA,IAAA7B,EAAA,QAAA2B,IAAA;EAApDE,KAAA,oBAAA,QAAA,EAAwD,GAA9CF,GAA0C,CAAA;EAAI3B,EAAA,MAAA2B;EAAA3B,EAAA,MAAA6B;CAAA,OAAAA,KAAA7B,EAAA;CAAA,IAAA8B;CAAA,IAAA9B,EAAA,QAAAW,MAAAX,EAAA,QAAA0B,MAAA1B,EAAA,QAAA6B,IAAA;EALrDC,KAAA,qBAAA,OAAA;GAMC,GANQzB;GAAT,UAAA;IACHM;IACAe;IAGAG;GACI;;EAAA7B,EAAA,MAAAW;EAAAX,EAAA,MAAA0B;EAAA1B,EAAA,MAAA6B;EAAA7B,EAAA,MAAA8B;CAAA,OAAAA,KAAA9B,EAAA;CAAA,OAND8B;AAMC"}
@@ -1,2 +1 @@
1
- export type IndicatorTone = 'inherit' | 'negative' | 'positive' | 'primary';
2
- //# sourceMappingURL=styles.d.ts.map
1
+ export type IndicatorTone = 'inherit' | 'negative' | 'positive' | 'primary';
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","names":["stylex","colors","motion","radii","spacing","typography","THICKNESS","GAP","DETERMINATE_EASING","IndicatorTone","FORCED_COLORS","_temp","kzqmXN","k71WvV","indicatorStyles","active","k6CgDc","kWkggS","kZKoxP","kaIpWk","kB7OPa","kmuXW","kIyJzY","k1ekBW","kAMwcw","$$css","activeAt","percentage","val","undefined","inheritActive","kjVXCG","inheritTrack","label","kMwMTN","kMv6JI","kGuDYH","k63SB2","kb6lSQ","kLWn49","labels","kGNEyG","k1xSpc","kOIVth","kjj79g","labelText","k7Eaqz","kHjlTd","line","negativeActive","positiveActive","root","kXwgrk","stop","keTefX","track","kzQI83","kjBf7l","kInvED","k3XXqK","kMeerF","kVQacm","trackSolid","value","khDVqt"],"sources":["../../src/indicator/styles.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\nimport '../tokens/design.tokens.stylex';\nimport { colors, motion, radii, spacing, typography } from '../tokens/design.tokens.stylex';\n\n// The line the progress indicators page draws, and the label row above it,\n// shared by the two components that draw one: ProgressIndicator, which adds\n// the ring and the two indeterminate presentations on top, and Meter, which\n// is this and nothing else.\n//\n// The page's anatomy names three parts — the active indicator in primary,\n// the track in secondary container, and the stop indicator in primary at the\n// end — at 4dp thick with 4dp between them. The row is a flex line. The\n// active indicator takes the value's share of the row less the stop and the\n// gap before it, and the track takes the rest, so the stop ends the row at\n// every value.\n//\n// The gap between the active indicator and the track is never wider than\n// either of them, which is Compose's rule: it grows from nothing at 0, so an\n// empty line is the whole track from the row's start, and it closes again\n// over the last 4dp, where the track has no room left, so a full line ends\n// 4dp before the stop. A gap kept beside a part with no width is a space\n// with nothing on one side of it.\n//\n// Under forced colours every part here is a background, which that mode\n// paints in a system colour, so the line drew nothing at all. The active\n// indicator and the stop take `Highlight` there, as the slider's filled part\n// does, and the track keeps a `CanvasText` edge, drawn as an outline inside\n// it so it takes no room from the line.\n//\n// `tone` is the line's colour. `primary` is the page's own pair, and it is\n// what a progress indicator draws. `negative` and `positive` swap the active\n// indicator and the stop indicator alone, leaving the track in secondary\n// container, so a column of meters reads as one scale with bars of different\n// colours rather than as several unrelated gauges. `inherit` instead takes\n// the colour around it for both, and gives the track a quarter of it, which\n// is what makes a ring legible inside a filled button, where the page's\n// primary is the button's own fill.\n//\n// Apart from ./index.tsx so that file exports components alone, which is\n// what keeps fast refresh working for it.\n\n/** The thickness of every part, and the room the page leaves between them. */\nexport const THICKNESS = 4;\nexport const GAP = 4;\n\n/**\n * What the page gives a value that changes to move over. The duration is the\n * motion scale's own step rather than a constant beside it — src/tokens/\n * values.ts keeps a number in JS only where one has to reach\n * `element.animate()` or a timer, and nothing here does.\n */\nexport const DETERMINATE_EASING = 'cubic-bezier(0.4, 0, 0.6, 1)';\nexport type IndicatorTone = 'inherit' | 'negative' | 'positive' | 'primary';\n\n// Windows High Contrast and the rest of the forced-colours modes. Spelled\n// here rather than imported, for the reason src/field/styles.ts records: the\n// StyleX compiler resolves a constant across files only out of a `.stylex.ts`\n// module, and the generated one holds design tokens rather than queries.\nconst FORCED_COLORS = '@media (forced-colors: active)';\nconst _temp = {\n kzqmXN: \"x1uyokj7\",\n k71WvV: \"x1c9tiao\",\n \"$$css\": true\n};\nexport const indicatorStyles = {\n active: {\n k6CgDc: \"x12w9bfk\",\n kWkggS: \"xnety89 x1jzqe4\",\n kZKoxP: \"x5yr21d\",\n kaIpWk: \"x1dkaolv\",\n kB7OPa: \"x9f619\",\n kmuXW: \"x2lah0s\",\n kIyJzY: \"xioksi3\",\n k1ekBW: \"x1gcwfje\",\n kAMwcw: \"x16pyfke\",\n $$css: true\n },\n activeAt: (percentage: number) => [_temp, {\n \"--x-inlineSize\": (val => typeof val === \"number\" ? val + \"px\" : val != null ? val : undefined)(`calc((100% - ${GAP + THICKNESS}px) * ${percentage / 100})`),\n \"--x-marginInlineEnd\": (val => typeof val === \"number\" ? val + \"px\" : val != null ? val : undefined)(`min(${GAP}px, (100% - ${GAP + THICKNESS}px) * ${percentage / 100}, (100% - ${GAP + THICKNESS}px) * ${(100 - percentage) / 100})`)\n }],\n inheritActive: {\n kWkggS: \"xtwfq29 x1jzqe4\",\n kjVXCG: \"x73je2i xbabvq0\",\n $$css: true\n },\n inheritTrack: {\n kWkggS: \"xtp5tyh\",\n kjVXCG: \"xy3ggvv x8jos32\",\n $$css: true\n },\n label: {\n kB7OPa: \"x9f619\",\n kMwMTN: \"x1w5n3ug\",\n kMv6JI: \"xkknnkr\",\n kGuDYH: \"x14zspaw\",\n k63SB2: \"x1v9cpvo\",\n kb6lSQ: \"x155f00i\",\n kLWn49: \"x1lz68p4\",\n $$css: true\n },\n labels: {\n kGNEyG: \"x1pha0wt\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n kOIVth: \"x126z3so\",\n kjj79g: \"x1qughib\",\n $$css: true\n },\n labelText: {\n k7Eaqz: \"xeuugli\",\n kHjlTd: \"xj0a0fe\",\n $$css: true\n },\n line: {\n kGNEyG: \"x6s0dn4\",\n kZKoxP: \"xqu0tyb\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n kzqmXN: \"xh8yej3\",\n $$css: true\n },\n negativeActive: {\n kWkggS: \"xmjwayr x1jzqe4\",\n $$css: true\n },\n positiveActive: {\n kWkggS: \"x1xov01w x1jzqe4\",\n $$css: true\n },\n root: {\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n kXwgrk: \"xdt5ytf\",\n kOIVth: \"xzoy561\",\n kzqmXN: \"xh8yej3\",\n $$css: true\n },\n stop: {\n kWkggS: \"xnety89 x1jzqe4\",\n kZKoxP: \"xqu0tyb\",\n kaIpWk: \"x16fbrrb\",\n kB7OPa: \"x9f619\",\n kmuXW: \"x2lah0s\",\n kzqmXN: \"x51ohtg\",\n keTefX: \"xdwrcjd\",\n $$css: true\n },\n track: {\n kZKoxP: \"x5yr21d\",\n kaIpWk: \"x1dkaolv\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n kzQI83: \"x1iyjqo2\",\n k7Eaqz: \"xeuugli\",\n kjBf7l: \"x3teovq\",\n kInvED: \"xvr1dqx\",\n k3XXqK: \"x815t2r\",\n kMeerF: \"xcthrzx\",\n kVQacm: \"xb3r6kr\",\n $$css: true\n },\n trackSolid: {\n kWkggS: \"x15dekr4\",\n $$css: true\n },\n value: {\n kGNEyG: \"x1pha0wt\",\n k1xSpc: \"x78zum5\",\n kmuXW: \"x2lah0s\",\n kOIVth: \"x126z3so\",\n keTefX: \"xvc5jky\",\n khDVqt: \"xuxw1ft\",\n $$css: true\n }\n};"],"mappings":"AA2DA,MAAMW,QAAQ;CACZC,QAAQ;CACRC,QAAQ;CACR,SAAS;AACX;AACA,MAAaC,kBAAkB;CAC7BC,QAAQ;EACNC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,OAAO;EACPC,QAAQ;EACRC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EACRsB,QAAQ;EACRc,QAAQ;EACRV,QAAQ;EACRW,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRpC,OAAO;CACT;CACAqC,YAAY;EACV7C,QAAQ;EACRQ,OAAO;CACT;CACAsC,OAAO;EACLtB,QAAQ;EACRC,QAAQ;EACRrB,OAAO;EACPsB,QAAQ;EACRW,QAAQ;EACRU,QAAQ;EACRvC,OAAO;CACT;AACF"}
1
+ {"version":3,"file":"styles.js","names":["GAP","_temp","kzqmXN","k71WvV","indicatorStyles","active","k6CgDc","kWkggS","kZKoxP","kaIpWk","kB7OPa","kmuXW","kIyJzY","k1ekBW","kAMwcw","$$css","activeAt","percentage","val","undefined","inheritActive","kjVXCG","inheritTrack","label","kMwMTN","kMv6JI","kGuDYH","k63SB2","kb6lSQ","kLWn49","labels","kGNEyG","k1xSpc","kOIVth","kjj79g","labelText","k7Eaqz","kHjlTd","line","negativeActive","positiveActive","root","kXwgrk","stop","keTefX","track","kzQI83","kjBf7l","kInvED","k3XXqK","kMeerF","kVQacm","trackSolid","value","khDVqt"],"sources":["../../src/indicator/styles.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\nimport '../tokens/design.tokens.stylex';\nimport { colors, motion, radii, spacing, typography } from '../tokens/design.tokens.stylex';\n\n// The line the progress indicators page draws, and the label row above it,\n// shared by the two components that draw one: ProgressIndicator, which adds\n// the ring and the two indeterminate presentations on top, and Meter, which\n// is this and nothing else.\n//\n// The page's anatomy names three parts — the active indicator in primary,\n// the track in secondary container, and the stop indicator in primary at the\n// end — at 4dp thick with 4dp between them. The row is a flex line. The\n// active indicator takes the value's share of the row less the stop and the\n// gap before it, and the track takes the rest, so the stop ends the row at\n// every value.\n//\n// The gap between the active indicator and the track is never wider than\n// either of them, which is Compose's rule: it grows from nothing at 0, so an\n// empty line is the whole track from the row's start, and it closes again\n// over the last 4dp, where the track has no room left, so a full line ends\n// 4dp before the stop. A gap kept beside a part with no width is a space\n// with nothing on one side of it.\n//\n// Under forced colours every part here is a background, which that mode\n// paints in a system colour, so the line drew nothing at all. The active\n// indicator and the stop take `Highlight` there, as the slider's filled part\n// does, and the track keeps a `CanvasText` edge, drawn as an outline inside\n// it so it takes no room from the line.\n//\n// `tone` is the line's colour. `primary` is the page's own pair, and it is\n// what a progress indicator draws. `negative` and `positive` swap the active\n// indicator and the stop indicator alone, leaving the track in secondary\n// container, so a column of meters reads as one scale with bars of different\n// colours rather than as several unrelated gauges. `inherit` instead takes\n// the colour around it for both, and gives the track a quarter of it, which\n// is what makes a ring legible inside a filled button, where the page's\n// primary is the button's own fill.\n//\n// Apart from ./index.tsx so that file exports components alone, which is\n// what keeps fast refresh working for it.\n\n/** The thickness of every part, and the room the page leaves between them. */\nexport const THICKNESS = 4;\nexport const GAP = 4;\n\n/**\n * What the page gives a value that changes to move over. The duration is the\n * motion scale's own step rather than a constant beside it — src/tokens/\n * values.ts keeps a number in JS only where one has to reach\n * `element.animate()` or a timer, and nothing here does.\n */\nexport const DETERMINATE_EASING = 'cubic-bezier(0.4, 0, 0.6, 1)';\nexport type IndicatorTone = 'inherit' | 'negative' | 'positive' | 'primary';\n\n// Windows High Contrast and the rest of the forced-colours modes. Spelled\n// here rather than imported, for the reason src/field/styles.ts records: the\n// StyleX compiler resolves a constant across files only out of a `.stylex.ts`\n// module, and the generated one holds design tokens rather than queries.\nconst FORCED_COLORS = '@media (forced-colors: active)';\nconst _temp = {\n kzqmXN: \"x1uyokj7\",\n k71WvV: \"x1c9tiao\",\n \"$$css\": true\n};\nexport const indicatorStyles = {\n active: {\n k6CgDc: \"x12w9bfk\",\n kWkggS: \"xnety89 x1jzqe4\",\n kZKoxP: \"x5yr21d\",\n kaIpWk: \"x1dkaolv\",\n kB7OPa: \"x9f619\",\n kmuXW: \"x2lah0s\",\n kIyJzY: \"xioksi3\",\n k1ekBW: \"x1gcwfje\",\n kAMwcw: \"x16pyfke\",\n $$css: true\n },\n activeAt: (percentage: number) => [_temp, {\n \"--x-inlineSize\": (val => typeof val === \"number\" ? val + \"px\" : val != null ? val : undefined)(`calc((100% - ${GAP + THICKNESS}px) * ${percentage / 100})`),\n \"--x-marginInlineEnd\": (val => typeof val === \"number\" ? val + \"px\" : val != null ? val : undefined)(`min(${GAP}px, (100% - ${GAP + THICKNESS}px) * ${percentage / 100}, (100% - ${GAP + THICKNESS}px) * ${(100 - percentage) / 100})`)\n }],\n inheritActive: {\n kWkggS: \"xtwfq29 x1jzqe4\",\n kjVXCG: \"x73je2i xbabvq0\",\n $$css: true\n },\n inheritTrack: {\n kWkggS: \"xtp5tyh\",\n kjVXCG: \"xy3ggvv x8jos32\",\n $$css: true\n },\n label: {\n kB7OPa: \"x9f619\",\n kMwMTN: \"x1w5n3ug\",\n kMv6JI: \"xkknnkr\",\n kGuDYH: \"x14zspaw\",\n k63SB2: \"x1v9cpvo\",\n kb6lSQ: \"x155f00i\",\n kLWn49: \"x1lz68p4\",\n $$css: true\n },\n labels: {\n kGNEyG: \"x1pha0wt\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n kOIVth: \"x126z3so\",\n kjj79g: \"x1qughib\",\n $$css: true\n },\n labelText: {\n k7Eaqz: \"xeuugli\",\n kHjlTd: \"xj0a0fe\",\n $$css: true\n },\n line: {\n kGNEyG: \"x6s0dn4\",\n kZKoxP: \"xqu0tyb\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n kzqmXN: \"xh8yej3\",\n $$css: true\n },\n negativeActive: {\n kWkggS: \"xmjwayr x1jzqe4\",\n $$css: true\n },\n positiveActive: {\n kWkggS: \"x1xov01w x1jzqe4\",\n $$css: true\n },\n root: {\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n kXwgrk: \"xdt5ytf\",\n kOIVth: \"xzoy561\",\n kzqmXN: \"xh8yej3\",\n $$css: true\n },\n stop: {\n kWkggS: \"xnety89 x1jzqe4\",\n kZKoxP: \"xqu0tyb\",\n kaIpWk: \"x16fbrrb\",\n kB7OPa: \"x9f619\",\n kmuXW: \"x2lah0s\",\n kzqmXN: \"x51ohtg\",\n keTefX: \"xdwrcjd\",\n $$css: true\n },\n track: {\n kZKoxP: \"x5yr21d\",\n kaIpWk: \"x1dkaolv\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n kzQI83: \"x1iyjqo2\",\n k7Eaqz: \"xeuugli\",\n kjBf7l: \"x3teovq\",\n kInvED: \"xvr1dqx\",\n k3XXqK: \"x815t2r\",\n kMeerF: \"xcthrzx\",\n kVQacm: \"xb3r6kr\",\n $$css: true\n },\n trackSolid: {\n kWkggS: \"x15dekr4\",\n $$css: true\n },\n value: {\n kGNEyG: \"x1pha0wt\",\n k1xSpc: \"x78zum5\",\n kmuXW: \"x2lah0s\",\n kOIVth: \"x126z3so\",\n keTefX: \"xvc5jky\",\n khDVqt: \"xuxw1ft\",\n $$css: true\n }\n};"],"mappings":"AA2DA,MAAMC,QAAQ;CACZC,QAAQ;CACRC,QAAQ;CACR,SAAS;AACX;AACA,MAAaC,kBAAkB;CAC7BC,QAAQ;EACNC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,OAAO;EACPC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,OAAO;CACT;CACAC,WAAWC,eAAuB,CAAChB,OAAO;EACxC,oBAAmBiB,QAAO,OAAOA,QAAQ,WAAWA,MAAM,OAAOA,OAAO,OAAOA,MAAMC,KAAAA,EAAAA,CAAW,uBAAwCF,aAAa,IAAG,EAAG;EAC3J,yBAAwBC,QAAO,OAAOA,QAAQ,WAAWA,MAAM,OAAOA,OAAO,OAAOA,MAAMC,KAAAA,EAAAA,CAAW,2BAAiDF,aAAa,IAAG,oBAAsC,MAAMA,cAAc,IAAG,EAAG;CACxO,CAAC;CACDG,eAAe;EACbb,QAAQ;EACRc,QAAQ;EACRN,OAAO;CACT;CACAO,cAAc;EACZf,QAAQ;EACRc,QAAQ;EACRN,OAAO;CACT;CACAQ,OAAO;EACLb,QAAQ;EACRc,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRd,OAAO;CACT;CACAe,QAAQ;EACNC,QAAQ;EACRrB,QAAQ;EACRsB,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRnB,OAAO;CACT;CACAoB,WAAW;EACTC,QAAQ;EACRC,QAAQ;EACRtB,OAAO;CACT;CACAuB,MAAM;EACJP,QAAQ;EACRvB,QAAQ;EACRE,QAAQ;EACRsB,QAAQ;EACR9B,QAAQ;EACRa,OAAO;CACT;CACAwB,gBAAgB;EACdhC,QAAQ;EACRQ,OAAO;CACT;CACAyB,gBAAgB;EACdjC,QAAQ;EACRQ,OAAO;CACT;CACA0B,MAAM;EACJ/B,QAAQ;EACRsB,QAAQ;EACRU,QAAQ;EACRT,QAAQ;EACR/B,QAAQ;EACRa,OAAO;CACT;CACA4B,MAAM;EACJpC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,OAAO;EACPT,QAAQ;EACR0C,QAAQ;EACR7B,OAAO;CACT;CACA8B,OAAO;EACLrC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRsB,QAAQ;EACRc,QAAQ;EACRV,QAAQ;EACRW,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRpC,OAAO;CACT;CACAqC,YAAY;EACV7C,QAAQ;EACRQ,OAAO;CACT;CACAsC,OAAO;EACLtB,QAAQ;EACRC,QAAQ;EACRrB,OAAO;EACPsB,QAAQ;EACRW,QAAQ;EACRU,QAAQ;EACRvC,OAAO;CACT;AACF"}
@@ -389,5 +389,4 @@ type KuiTheme = {
389
389
  /** Defaults to `400`. */
390
390
  readonly '--kui-typography-weight-regular'?: string;
391
391
  };
392
- export { KuiTheme as t };
393
- //# sourceMappingURL=defaults-DMH0HWCw.d.ts.map
392
+ export { KuiTheme as t };
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","names":["createContext","KeycapTone","KeycapToneContext"],"sources":["../../src/keycap/context.ts"],"sourcesContent":["import { createContext } from 'react'\n\n// Whether a Keycap draws in its own colours or in the colour of the text\n// around it. A selected or disabled menu item asks for the second around its\n// shortcut, so a keycap there takes the row's colour onto the selected\n// container and fades with a disabled label, rather than staying dark and\n// boxed on a row that has changed around it. Apart from the component so its\n// module exports components alone, which is what keeps fast refresh working\n// for it.\n\n/** `neutral` is the keycap's own on surface and outline; `inherit` is the\n * colour around it, for its text and its rule alike. */\ntype KeycapTone = 'inherit' | 'neutral'\n\nconst KeycapToneContext = createContext<KeycapTone>('neutral')\n\nexport type { KeycapTone }\n\nexport { KeycapToneContext }\n"],"mappings":";;AAcA,MAAME,oBAAoBF,cAA0B,SAAS"}
1
+ {"version":3,"file":"context.js","names":["createContext","KeycapToneContext"],"sources":["../../src/keycap/context.ts"],"sourcesContent":["import { createContext } from 'react'\n\n// Whether a Keycap draws in its own colours or in the colour of the text\n// around it. A selected or disabled menu item asks for the second around its\n// shortcut, so a keycap there takes the row's colour onto the selected\n// container and fades with a disabled label, rather than staying dark and\n// boxed on a row that has changed around it. Apart from the component so its\n// module exports components alone, which is what keeps fast refresh working\n// for it.\n\n/** `neutral` is the keycap's own on surface and outline; `inherit` is the\n * colour around it, for its text and its rule alike. */\ntype KeycapTone = 'inherit' | 'neutral'\n\nconst KeycapToneContext = createContext<KeycapTone>('neutral')\n\nexport type { KeycapTone }\n\nexport { KeycapToneContext }\n"],"mappings":";;AAcA,MAAMC,oBAAoBD,cAA0B,SAAS"}
package/dist/layout.d.ts CHANGED
@@ -37,5 +37,4 @@ declare const collectionSizes: {
37
37
  /** A `Table` body row. */
38
38
  readonly tableRow: 52;
39
39
  };
40
- export { collectionSizes };
41
- //# sourceMappingURL=layout.d.ts.map
40
+ export { collectionSizes };
@@ -1 +1 @@
1
- {"version":3,"file":"layout.js","names":["collectionSizes","dropIndicator","listRow","listRowTwoLine","menuRow","sectionHeading","tableHeaderRow","tableRow","const"],"sources":["../src/layout.ts"],"sourcesContent":["// What the collections actually measure, for the layouts a virtualized one is\n// given. React Aria's `ListLayout`, `GridLayout`, `TableLayout` and\n// `WaterfallLayout` position rows from a size rather than from the DOM, so a\n// virtualized List, ListBox, Table or Tree has to be told how tall its rows\n// are — and a number guessed at the call site puts every row in the wrong\n// place the moment a component's own height changes.\n//\n// These are that number, and `src/layout.test.tsx` renders each collection and\n// measures it, so a constant here cannot drift from what the component draws.\n//\n// They are the heights as rendered, which is what a virtualizer needs — not\n// what a spec page names, where the two can differ. They agree today.\n\n/**\n * The heights the collections draw, in pixels, for a virtualized one's\n * layout options.\n *\n * ```tsx\n * <Virtualizer\n * layout={ListLayout}\n * layoutOptions={{\n * rowSize: collectionSizes.listRow,\n * headingSize: collectionSizes.sectionHeading,\n * }}\n * >\n * <List aria-label=\"Label\" items={items}>{renderItem}</List>\n * </Virtualizer>\n * ```\n *\n * A row that wraps is taller than any of these, so a collection whose content\n * varies takes `estimatedRowSize` rather than `rowSize` and lets React Aria\n * measure the rest.\n */\nconst collectionSizes = {\n /** The thickness of the line a drag draws between two rows. */\n dropIndicator: 2,\n /**\n * A `List`, `ListBox` or `Tree` row with a headline alone, with or without\n * the checkbox a selecting list draws beside it.\n */\n listRow: 56,\n /** A `List`, `ListBox` or `Tree` row with a headline and a supporting line. */\n listRowTwoLine: 72,\n /** A `Menu` item, which the menus page gives a shorter floor than a list's. */\n menuRow: 48,\n /** A `List.Section` or `Tree.Section` heading. */\n sectionHeading: 38,\n /** A `Table` header row, which the data tables page draws taller than a body row. */\n tableHeaderRow: 56,\n /** A `Table` body row. */\n tableRow: 52,\n} as const\n\nexport { collectionSizes }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAiCA,MAAMA,kBAAkB;;CAEtBC,eAAe;;;;;CAKfC,SAAS;;CAETC,gBAAgB;;CAEhBC,SAAS;;CAETC,gBAAgB;;CAEhBC,gBAAgB;;CAEhBC,UAAU;AACZ"}
1
+ {"version":3,"file":"layout.js","names":["collectionSizes","dropIndicator","listRow","listRowTwoLine","menuRow","sectionHeading","tableHeaderRow","tableRow"],"sources":["../src/layout.ts"],"sourcesContent":["// What the collections actually measure, for the layouts a virtualized one is\n// given. React Aria's `ListLayout`, `GridLayout`, `TableLayout` and\n// `WaterfallLayout` position rows from a size rather than from the DOM, so a\n// virtualized List, ListBox, Table or Tree has to be told how tall its rows\n// are — and a number guessed at the call site puts every row in the wrong\n// place the moment a component's own height changes.\n//\n// These are that number, and `src/layout.test.tsx` renders each collection and\n// measures it, so a constant here cannot drift from what the component draws.\n//\n// They are the heights as rendered, which is what a virtualizer needs — not\n// what a spec page names, where the two can differ. They agree today.\n\n/**\n * The heights the collections draw, in pixels, for a virtualized one's\n * layout options.\n *\n * ```tsx\n * <Virtualizer\n * layout={ListLayout}\n * layoutOptions={{\n * rowSize: collectionSizes.listRow,\n * headingSize: collectionSizes.sectionHeading,\n * }}\n * >\n * <List aria-label=\"Label\" items={items}>{renderItem}</List>\n * </Virtualizer>\n * ```\n *\n * A row that wraps is taller than any of these, so a collection whose content\n * varies takes `estimatedRowSize` rather than `rowSize` and lets React Aria\n * measure the rest.\n */\nconst collectionSizes = {\n /** The thickness of the line a drag draws between two rows. */\n dropIndicator: 2,\n /**\n * A `List`, `ListBox` or `Tree` row with a headline alone, with or without\n * the checkbox a selecting list draws beside it.\n */\n listRow: 56,\n /** A `List`, `ListBox` or `Tree` row with a headline and a supporting line. */\n listRowTwoLine: 72,\n /** A `Menu` item, which the menus page gives a shorter floor than a list's. */\n menuRow: 48,\n /** A `List.Section` or `Tree.Section` heading. */\n sectionHeading: 38,\n /** A `Table` header row, which the data tables page draws taller than a body row. */\n tableHeaderRow: 56,\n /** A `Table` body row. */\n tableRow: 52,\n} as const\n\nexport { collectionSizes }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAiCA,MAAMA,kBAAkB;;CAEtBC,eAAe;;;;;CAKfC,SAAS;;CAETC,gBAAgB;;CAEhBC,SAAS;;CAETC,gBAAgB;;CAEhBC,gBAAgB;;CAEhBC,UAAU;AACZ"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["ImgHTMLAttributes","stylex","useLocale","RenderComponentProps","MarkSize","MarkTone","PersonGlyph","useImageLoadingStatus","useRender","mergeStyles","initialOfThing","initialsOfPerson","markStyles","KINDS","person","fit","cover","initials","shape","circle","tintsFallback","thing","contain","square","const","MarkProps","decorative","imgProps","Pick","HTMLImageElement","kind","name","showPersonIcon","size","src","tone","Omit","Mark","t0","$","_c","t1","render","t2","props","undefined","onError","onLoad","previous","status","locale","t3","fallback","t4","trim","named","showsPicture","initialsNode","t5","personGlyph","image","t6","imagePending","t7","children","t8","t9","role","t10","t11","base","t12","t13","defaultTagName","_c","props","stylex.props"],"sources":["../../src/mark/index.tsx"],"sourcesContent":["import type { ImgHTMLAttributes } from 'react';\nimport * as stylex from '@stylexjs/stylex';\nimport { useLocale } from 'react-aria-components';\nimport type { RenderComponentProps } from '../render/useRender';\nimport type { MarkSize, MarkTone } from './styles';\nimport { PersonGlyph } from '../glyphs';\nimport { useImageLoadingStatus } from '../hooks/useImageLoadingStatus';\nimport { useRender } from '../render/useRender';\nimport { mergeStyles } from '../styles/merge';\nimport { initialOfThing, initialsOfPerson } from './initials';\nimport { markStyles } from './styles';\n\n// What each kind of mark is drawn as. The header of `./styles` says why the\n// two differ where they do; everything not in this table is the same for\n// both.\nconst KINDS = {\n person: {\n fit: markStyles.cover,\n initials: initialsOfPerson,\n shape: markStyles.circle,\n tintsFallback: false\n },\n thing: {\n fit: markStyles.contain,\n initials: initialOfThing,\n shape: markStyles.square,\n tintsFallback: true\n }\n} as const;\ntype MarkProps = {\n /**\n * Hides the mark from assistive technology, for one beside the name it\n * stands for, which would otherwise be announced twice.\n */\n decorative?: boolean | undefined;\n /** Attributes for the picture's own `<img>`, as Avatar and ProductIcon take them. */\n imgProps?: Pick<ImgHTMLAttributes<HTMLImageElement>, 'crossOrigin' | 'decoding' | 'fetchPriority' | 'loading' | 'referrerPolicy' | 'sizes' | 'srcSet'> | undefined;\n /** A person, which Avatar draws, or anything else, which ProductIcon does. */\n kind: keyof typeof KINDS;\n /** Supplies the fallback's initials, and the accessible name unless decorative. */\n name: string;\n /**\n * Whether a person with no initials to take — a blank name — draws the\n * anonymous person glyph, or an empty disc, as a loading skeleton wants.\n */\n showPersonIcon?: boolean | undefined;\n size: MarkSize;\n /** An image to show in place of the initials once it has loaded. */\n src?: string;\n tone: MarkTone;\n} & Omit<RenderComponentProps<'span'>, 'children'>;\n\n/**\n * The small identity mark Avatar and ProductIcon both render: an image once\n * it has loaded, initials until then or if it fails, named for whoever or\n * whatever it stands for. Shared rather than written into each, so a fix to\n * one reaches both. Not a component of the library's own and not exported\n * from the package; see `src/chip` for the same arrangement around a chip's\n * pill.\n */\nfunction Mark({\n decorative = false,\n imgProps,\n kind,\n name,\n render,\n showPersonIcon = true,\n size,\n src,\n tone,\n ...props\n}: MarkProps) {\n const {\n fit,\n initials,\n shape,\n tintsFallback\n } = KINDS[kind];\n // The image is rendered from the start and shown once it has loaded, and\n // the initials stay until then and come back if it fails — see\n // useImageLoadingStatus.\n const {\n onError,\n onLoad,\n previous,\n status\n } = useImageLoadingStatus(src);\n const {\n locale\n } = useLocale();\n const fallback = initials(name, locale);\n\n // role/aria-label rather than letting the initials be read: \"AL\" is not\n // what anyone means to announce. Marking the root as an image also makes\n // its contents presentational, so the image and the initials can't be\n // announced a second time underneath the name. A span rather than an\n // <img>, which is void: this element's whole job is to hold the initials\n // shown when there is no image, or none has loaded yet.\n //\n // A blank name — one still loading, say — names nothing, so the mark is\n // then a plain element rather than an image with no name, which a screen\n // reader reads as a bare \"image\". Its empty initials, or its image with an\n // empty alt, leave it nothing to announce.\n //\n // A decorative mark is hidden outright. Beside the name it stands for — a\n // list row whose headline is the person — the name came out twice, once as\n // the image and once as the text, and with no role the initials would be\n // read as bare letters instead.\n const named = !decorative && name.trim() !== '';\n\n // The initials while no picture shows: before the first loads, and once\n // one fails. They are left out under a picture rather than kept beneath\n // it, since a letterboxed logo would show them through its transparent\n // parts.\n const showsPicture = status === 'loaded' || previous !== undefined;\n let initialsNode = null;\n if (!showsPicture && kind === 'person' && fallback === '') {\n // A person with no initials to take — a blank name, one still loading —\n // draws Material Design's anonymous person in the tone's on-container\n // colour, where it drew an empty disc. Decoration: a blank name is\n // unnamed, and the glyph announces nothing either.\n initialsNode = showPersonIcon ? <PersonGlyph {...stylex.props(markStyles.personGlyph)} /> : null;\n } else if (!showsPicture) {\n initialsNode = tintsFallback ? <span {...stylex.props(markStyles.fallback, markStyles[tone])}>\n {fallback}\n </span> : fallback;\n }\n\n // Two pictures at most, laid over the initials. The one last loaded stays\n // while a new `src` loads, and the new one is rendered on top of it from\n // the start, hidden until it has loaded: lazy, so an avatar far down an\n // unvirtualised list is not fetched on mount, and decoded off the main\n // thread, both of which the call site can change through `imgProps`. The\n // last loaded one is the resource the browser chose, out of a `srcSet`\n // too, and is cached, so it needs none of those.\n const children = <>\n {initialsNode}\n {previous === undefined ? null : <img alt=\"\" key={previous} src={previous} {...stylex.props(markStyles.image, fit)} />}\n {src === undefined || status === 'error' ? null : <img alt=\"\" decoding=\"async\" key={src} loading=\"lazy\" {...imgProps} onError={onError} onLoad={onLoad} src={src} {...stylex.props(markStyles.image, fit, status !== 'loaded' && markStyles.imagePending)} />}\n </>;\n return useRender({\n defaultTagName: 'span',\n props: {\n ...(named ? {\n 'aria-label': name,\n role: 'img'\n } : {}),\n ...(decorative ? {\n 'aria-hidden': true\n } : {}),\n ...props,\n children,\n ...mergeStyles(stylex.props(markStyles.base, shape, markStyles[size], !tintsFallback && markStyles[tone]), props)\n },\n render\n });\n}\nexport default Mark;"],"mappings":";;;;;;;;;;;AAeA,MAAMa,QAAQ;CACZC,QAAQ;EACNC,KAAKH,WAAWI;EAChBC,UAAUN;EACVO,OAAON,WAAWO;EAClBC,eAAe;CACjB;CACAC,OAAO;EACLN,KAA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GAAA,GAELK;EACL;EAAC9B,EAAA,MAAAyB;EAAAzB,EAAA,MAAAK;EAAAL,EAAA,MAAA6B;EAAA7B,EAAA,MAAA8B;EAAA9B,EAAA,MAAA2B;EAAA3B,EAAA,MAAAgC;CAAA,OAAAA,MAAAhC,EAAA;CAAA,IAAAiC;CAAA,IAAAjC,EAAA,QAAAG,UAAAH,EAAA,QAAAgC,KAAA;EAbcC,MAAA;GAAAC,gBACCR;GAAMrB,OACf2B;GAWN7B;EAEH;EAACH,EAAA,MAAAG;EAAAH,EAAA,MAAAgC;EAAAhC,EAAA,MAAAiC;CAAA,OAAAA,MAAAjC,EAAA;CAAA,OAfM/B,UAAUgE,GAehB;AAAC"}
1
+ {"version":3,"file":"index.js","names":["stylex","useLocale","useImageLoadingStatus","useRender","mergeStyles","initialOfThing","initialsOfPerson","markStyles","KINDS","person","fit","cover","initials","shape","circle","tintsFallback","thing","contain","square","decorative","imgProps","kind","name","showPersonIcon","size","src","tone","Mark","t0","$","_c","t1","render","t2","props","undefined","onError","onLoad","previous","status","locale","t3","fallback","t4","trim","named","showsPicture","initialsNode","t5","personGlyph","image","t6","imagePending","t7","children","t8","t9","role","t10","t11","base","t12","t13","defaultTagName"],"sources":["../../src/mark/index.tsx"],"sourcesContent":["import type { ImgHTMLAttributes } from 'react';\nimport * as stylex from '@stylexjs/stylex';\nimport { useLocale } from 'react-aria-components';\nimport type { RenderComponentProps } from '../render/useRender';\nimport type { MarkSize, MarkTone } from './styles';\nimport { PersonGlyph } from '../glyphs';\nimport { useImageLoadingStatus } from '../hooks/useImageLoadingStatus';\nimport { useRender } from '../render/useRender';\nimport { mergeStyles } from '../styles/merge';\nimport { initialOfThing, initialsOfPerson } from './initials';\nimport { markStyles } from './styles';\n\n// What each kind of mark is drawn as. The header of `./styles` says why the\n// two differ where they do; everything not in this table is the same for\n// both.\nconst KINDS = {\n person: {\n fit: markStyles.cover,\n initials: initialsOfPerson,\n shape: markStyles.circle,\n tintsFallback: false\n },\n thing: {\n fit: markStyles.contain,\n initials: initialOfThing,\n shape: markStyles.square,\n tintsFallback: true\n }\n} as const;\ntype MarkProps = {\n /**\n * Hides the mark from assistive technology, for one beside the name it\n * stands for, which would otherwise be announced twice.\n */\n decorative?: boolean | undefined;\n /** Attributes for the picture's own `<img>`, as Avatar and ProductIcon take them. */\n imgProps?: Pick<ImgHTMLAttributes<HTMLImageElement>, 'crossOrigin' | 'decoding' | 'fetchPriority' | 'loading' | 'referrerPolicy' | 'sizes' | 'srcSet'> | undefined;\n /** A person, which Avatar draws, or anything else, which ProductIcon does. */\n kind: keyof typeof KINDS;\n /** Supplies the fallback's initials, and the accessible name unless decorative. */\n name: string;\n /**\n * Whether a person with no initials to take — a blank name — draws the\n * anonymous person glyph, or an empty disc, as a loading skeleton wants.\n */\n showPersonIcon?: boolean | undefined;\n size: MarkSize;\n /** An image to show in place of the initials once it has loaded. */\n src?: string;\n tone: MarkTone;\n} & Omit<RenderComponentProps<'span'>, 'children'>;\n\n/**\n * The small identity mark Avatar and ProductIcon both render: an image once\n * it has loaded, initials until then or if it fails, named for whoever or\n * whatever it stands for. Shared rather than written into each, so a fix to\n * one reaches both. Not a component of the library's own and not exported\n * from the package; see `src/chip` for the same arrangement around a chip's\n * pill.\n */\nfunction Mark({\n decorative = false,\n imgProps,\n kind,\n name,\n render,\n showPersonIcon = true,\n size,\n src,\n tone,\n ...props\n}: MarkProps) {\n const {\n fit,\n initials,\n shape,\n tintsFallback\n } = KINDS[kind];\n // The image is rendered from the start and shown once it has loaded, and\n // the initials stay until then and come back if it fails — see\n // useImageLoadingStatus.\n const {\n onError,\n onLoad,\n previous,\n status\n } = useImageLoadingStatus(src);\n const {\n locale\n } = useLocale();\n const fallback = initials(name, locale);\n\n // role/aria-label rather than letting the initials be read: \"AL\" is not\n // what anyone means to announce. Marking the root as an image also makes\n // its contents presentational, so the image and the initials can't be\n // announced a second time underneath the name. A span rather than an\n // <img>, which is void: this element's whole job is to hold the initials\n // shown when there is no image, or none has loaded yet.\n //\n // A blank name — one still loading, say — names nothing, so the mark is\n // then a plain element rather than an image with no name, which a screen\n // reader reads as a bare \"image\". Its empty initials, or its image with an\n // empty alt, leave it nothing to announce.\n //\n // A decorative mark is hidden outright. Beside the name it stands for — a\n // list row whose headline is the person — the name came out twice, once as\n // the image and once as the text, and with no role the initials would be\n // read as bare letters instead.\n const named = !decorative && name.trim() !== '';\n\n // The initials while no picture shows: before the first loads, and once\n // one fails. They are left out under a picture rather than kept beneath\n // it, since a letterboxed logo would show them through its transparent\n // parts.\n const showsPicture = status === 'loaded' || previous !== undefined;\n let initialsNode = null;\n if (!showsPicture && kind === 'person' && fallback === '') {\n // A person with no initials to take — a blank name, one still loading —\n // draws Material Design's anonymous person in the tone's on-container\n // colour, where it drew an empty disc. Decoration: a blank name is\n // unnamed, and the glyph announces nothing either.\n initialsNode = showPersonIcon ? <PersonGlyph {...stylex.props(markStyles.personGlyph)} /> : null;\n } else if (!showsPicture) {\n initialsNode = tintsFallback ? <span {...stylex.props(markStyles.fallback, markStyles[tone])}>\n {fallback}\n </span> : fallback;\n }\n\n // Two pictures at most, laid over the initials. The one last loaded stays\n // while a new `src` loads, and the new one is rendered on top of it from\n // the start, hidden until it has loaded: lazy, so an avatar far down an\n // unvirtualised list is not fetched on mount, and decoded off the main\n // thread, both of which the call site can change through `imgProps`. The\n // last loaded one is the resource the browser chose, out of a `srcSet`\n // too, and is cached, so it needs none of those.\n const children = <>\n {initialsNode}\n {previous === undefined ? null : <img alt=\"\" key={previous} src={previous} {...stylex.props(markStyles.image, fit)} />}\n {src === undefined || status === 'error' ? null : <img alt=\"\" decoding=\"async\" key={src} loading=\"lazy\" {...imgProps} onError={onError} onLoad={onLoad} src={src} {...stylex.props(markStyles.image, fit, status !== 'loaded' && markStyles.imagePending)} />}\n </>;\n return useRender({\n defaultTagName: 'span',\n props: {\n ...(named ? {\n 'aria-label': name,\n role: 'img'\n } : {}),\n ...(decorative ? {\n 'aria-hidden': true\n } : {}),\n ...props,\n children,\n ...mergeStyles(stylex.props(markStyles.base, shape, markStyles[size], !tintsFallback && markStyles[tone]), props)\n },\n render\n });\n}\nexport default Mark;"],"mappings":";;;;;;;;;;;AAeA,MAAMQ,QAAQ;CACZC,QAAQ;EACNC,KAAKH,WAAWI;EAChBC,UAAUN;EACVO,OAAON,WAAWO;EAClBC,eAAe;CACjB;CACAC,OAAO;EACLN,KAAKH,WAAWU;EAChBL,UAAUP;EACVQ,OAAON,WAAWW;EAClBH,eAAe;CACjB;AACF;;;;;;;;;AAgCA,SAAAY,KAAAC,IAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CAAc,MAAA,EAAAX,YAAAY,IAAAX,UAAAC,MAAAC,MAAAU,QAAAT,gBAAAU,IAAAT,MAAAC,KAAAC,MAAA,GAAAQ,YAAAN;CACZ,MAAAT,aAAAY,OAAAI,KAAAA,IAAA,QAAAJ;CAKA,MAAAR,iBAAAU,OAAAE,KAAAA,IAAA,OAAAF;CAMA,MAAA,EAAAvB,KAAAE,UAAAC,OAAAE,kBAKIP,MAAMa;CAIV,MAAA,EAAAe,SAAAC,QAAAC,UAAAC,WAKIrC,sBAAsBuB,GAAG;CAC7B,MAAA,EAAAe,WAEIvC,UAAU;CAAE,IAAAwC;CAAA,IAAAZ,EAAA,OAAAjB,YAAAiB,EAAA,OAAAW,UAAAX,EAAA,OAAAP,MAAA;EACCmB,KAAA7B,SAASU,MAAMkB,MAAM;EAACX,EAAA,KAAAjB;EAAAiB,EAAA,KAAAW;EAAAX,EAAA,KAAAP;EAAAO,EAAA,KAAAY;CAAA,OAAAA,KAAAZ,EAAA;CAAvC,MAAAa,WAAiBD;CAAuB,IAAAE;CAAA,IAAAd,EAAA,OAAAV,cAAAU,EAAA,OAAAP,MAAA;EAkB1BqB,KAAA,CAACxB,cAAcG,KAAIsB,KAAM,MAAM;EAAEf,EAAA,KAAAV;EAAAU,EAAA,KAAAP;EAAAO,EAAA,KAAAc;CAAA,OAAAA,KAAAd,EAAA;CAA/C,MAA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mB,KAAK,GAAGQ,OAAK;CAAC,IAAA2B;CAAA,IAAAhC,EAAA,QAAAyB,YAAAzB,EAAA,QAAAK,WAAAL,EAAA,QAAA6B,OAAA7B,EAAA,QAAA8B,OAAA9B,EAAA,QAAA2B,IAAA;EAV5GK,MAAA;GAAA,GACDL;GAGE,GACFE;GAEE,GACHxB;GAAKoB;GAAA,GAELK;EACL;EAAC9B,EAAA,MAAAyB;EAAAzB,EAAA,MAAAK;EAAAL,EAAA,MAAA6B;EAAA7B,EAAA,MAAA8B;EAAA9B,EAAA,MAAA2B;EAAA3B,EAAA,MAAAgC;CAAA,OAAAA,MAAAhC,EAAA;CAAA,IAAAiC;CAAA,IAAAjC,EAAA,QAAAG,UAAAH,EAAA,QAAAgC,KAAA;EAbcC,MAAA;GAAAC,gBACCR;GAAMrB,OACf2B;GAWN7B;EAEH;EAACH,EAAA,MAAAG;EAAAH,EAAA,MAAAgC;EAAAhC,EAAA,MAAAiC;CAAA,OAAAA,MAAAjC,EAAA;CAAA,OAfM1B,UAAU2D,GAehB;AAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"initials.js","names":["INITIAL","JOINING","ZERO_WIDTH_NON_JOINER","TITLE","SUFFIX","TRAILING_ASIDE","segmenters","Map","Intl","Segmenter","graphemesOf","text","locale","segmenter","get","undefined","granularity","set","Array","from","segment","initialOf","word","graphemes","chosen","find","grapheme","test","at","toLocaleUpperCase","initialOfThing","name","trim","initialsOfPerson","words","replace","split","filter","Boolean","length","slice","first","last","between"],"sources":["../../src/mark/initials.ts"],"sourcesContent":["// What a mark shows while it has no image: two initials for a person, one for\n// anything else. Beside the mark rather than inside `./index.tsx`, which\n// exports components alone so fast refresh keeps working for it.\n//\n// Both take the same rule for which character stands for a word, in\n// `initialOf`, and both work in graphemes — what a reader sees as one\n// character — in the reader's locale. A code point drops an accent written\n// as a combining mark, splits an Indic conjunct and cuts a flag or a joined\n// emoji in half; upper-casing without the locale turns a Turkish \"i\" into\n// \"I\" rather than \"İ\".\n\n// What a word's initial can be: a letter, a number, or a picture — an emoji,\n// or a flag, which is a pair of regional indicators. A word opening with\n// anything else — a bracket, a quote, the @ of a handle, the # of a channel\n// — is initialised by the first of these inside it.\nconst INITIAL = /^[\\p{L}\\p{N}\\p{Extended_Pictographic}\\p{Regional_Indicator}]/u\n\n// The scripts whose letters join to the next one. Two initials in one of\n// them, written side by side, shape into a single connected word rather than\n// two letters, so a zero-width non-joiner goes between them.\nconst JOINING =\n /^[\\p{Script=Arabic}\\p{Script=Syriac}\\p{Script=Mongolian}\\p{Script=Nko}\\p{Script=Adlam}\\p{Script=Mandaic}\\p{Script=Manichaean}\\p{Script=Psalter_Pahlavi}\\p{Script=Hanifi_Rohingya}\\p{Script=Sogdian}\\p{Script=Old_Uyghur}]/u\n\nconst ZERO_WIDTH_NON_JOINER = '‌'\n\n// A title before a name — \"Dr.\", \"Mrs.\", \"Prof.\" — which is not one of its\n// words. Two letters at least, so a first initial written \"J.\" is kept.\nconst TITLE = /^\\p{L}{2,4}\\.$/u\n\n// A generational suffix after a name — \"Jr.\", \"Sr\", \"III\", \"3rd\" — which is\n// not its last word either. The numerals are the generational ones only, so\n// a surname that reads as a numeral, \"Xi\" say, is kept.\nconst SUFFIX = /^(?:jr|sr|ii|iii|iv|\\d+(?:st|nd|rd|th))\\.?,?$/iu\n\n// Something said about the name rather than part of it, in brackets at its\n// end: \"(she/her)\", \"[away]\".\nconst TRAILING_ASIDE = /\\s*[([{][^)\\]}]*[)\\]}]\\s*$/u\n\nconst segmenters = new Map<string, Intl.Segmenter>()\n\nfunction graphemesOf(text: string, locale: string) {\n let segmenter = segmenters.get(locale)\n if (segmenter === undefined) {\n segmenter = new Intl.Segmenter(locale, { granularity: 'grapheme' })\n segmenters.set(locale, segmenter)\n }\n return Array.from(segmenter.segment(text), ({ segment }) => segment)\n}\n\n/**\n * The character that stands for `word`: its first grapheme that is a letter,\n * a number or a picture, or its first grapheme where it has none of those,\n * so something always shows. Upper-cased in the locale, and then one\n * grapheme of that, since upper-casing can lengthen it: \"ß\" is \"SS\".\n */\nfunction initialOf(word: string, locale: string) {\n const graphemes = graphemesOf(word, locale)\n const chosen =\n graphemes.find((grapheme) => INITIAL.test(grapheme)) ??\n graphemes.at(0) ??\n ''\n return graphemesOf(chosen.toLocaleUpperCase(locale), locale).at(0) ?? ''\n}\n\n/**\n * One letter, where a person takes two. A person has a first name and a last\n * name to initialise; a thing usually has neither, so the same rule applied\n * to \"Second Item\" would produce \"SI\" — a pair of initials for something that\n * was never two words in that sense.\n */\nfunction initialOfThing(name: string, locale: string) {\n return initialOf(name.trim(), locale)\n}\n\n/**\n * The initials of the first and the last word, which handles both \"Ada\" and\n * \"Ada Lovelace\" without a separate prop for how many to take. What a\n * display name carries around the name itself is left out first: a title\n * before it, a generational suffix after it, and an aside in brackets at its\n * end. A name written without spaces between its words — Japanese, Chinese —\n * is one word to this, and takes one initial.\n */\nfunction initialsOfPerson(name: string, locale: string) {\n let words = name.replace(TRAILING_ASIDE, '').split(/\\s+/u).filter(Boolean)\n if (words.length > 1 && TITLE.test(words[0] ?? '')) {\n words = words.slice(1)\n }\n if (words.length > 1 && SUFFIX.test(words.at(-1) ?? '')) {\n words = words.slice(0, -1)\n }\n if (words.length === 0) {\n return ''\n }\n const first = initialOf(words[0] ?? '', locale)\n if (words.length === 1) {\n return first\n }\n const last = initialOf(words.at(-1) ?? '', locale)\n const between =\n JOINING.test(first) && JOINING.test(last) ? ZERO_WIDTH_NON_JOINER : ''\n return `${first}${between}${last}`\n}\n\nexport { initialOfThing, initialsOfPerson }\n"],"mappings":";AAeA,MAAMA,UAAU;AAKhB,MAAMC,UACJ;AAEF,MAAMC,wBAAwB;AAI9B,MAAMC,QAAQ;AAKd,MAAMC,SAAS;AAIf,MAAMC,iBAAiB;AAEvB,MAAMC,6BAAa,IAAIC,IAA4B;AAEnD,SAASG,YAAYC,MAAcC,QAAgB;CACjD,IAAIC,YAAYP,WAAWQ,IAAIF,MAAM;CACrC,IAAIC,cAAc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,IAAIxC,wBAAwB,KAC1CwC;AAC9B"}
1
+ {"version":3,"file":"initials.js","names":["INITIAL","JOINING","ZERO_WIDTH_NON_JOINER","TITLE","SUFFIX","TRAILING_ASIDE","segmenters","Map","Intl","Segmenter","graphemesOf","text","locale","segmenter","get","undefined","granularity","set","Array","from","segment","initialOf","word","graphemes","find","grapheme","test","at","toLocaleUpperCase","initialOfThing","name","trim","initialsOfPerson","words","replace","split","filter","Boolean","length","slice","first","last"],"sources":["../../src/mark/initials.ts"],"sourcesContent":["// What a mark shows while it has no image: two initials for a person, one for\n// anything else. Beside the mark rather than inside `./index.tsx`, which\n// exports components alone so fast refresh keeps working for it.\n//\n// Both take the same rule for which character stands for a word, in\n// `initialOf`, and both work in graphemes — what a reader sees as one\n// character — in the reader's locale. A code point drops an accent written\n// as a combining mark, splits an Indic conjunct and cuts a flag or a joined\n// emoji in half; upper-casing without the locale turns a Turkish \"i\" into\n// \"I\" rather than \"İ\".\n\n// What a word's initial can be: a letter, a number, or a picture — an emoji,\n// or a flag, which is a pair of regional indicators. A word opening with\n// anything else — a bracket, a quote, the @ of a handle, the # of a channel\n// — is initialised by the first of these inside it.\nconst INITIAL = /^[\\p{L}\\p{N}\\p{Extended_Pictographic}\\p{Regional_Indicator}]/u\n\n// The scripts whose letters join to the next one. Two initials in one of\n// them, written side by side, shape into a single connected word rather than\n// two letters, so a zero-width non-joiner goes between them.\nconst JOINING =\n /^[\\p{Script=Arabic}\\p{Script=Syriac}\\p{Script=Mongolian}\\p{Script=Nko}\\p{Script=Adlam}\\p{Script=Mandaic}\\p{Script=Manichaean}\\p{Script=Psalter_Pahlavi}\\p{Script=Hanifi_Rohingya}\\p{Script=Sogdian}\\p{Script=Old_Uyghur}]/u\n\nconst ZERO_WIDTH_NON_JOINER = '‌'\n\n// A title before a name — \"Dr.\", \"Mrs.\", \"Prof.\" — which is not one of its\n// words. Two letters at least, so a first initial written \"J.\" is kept.\nconst TITLE = /^\\p{L}{2,4}\\.$/u\n\n// A generational suffix after a name — \"Jr.\", \"Sr\", \"III\", \"3rd\" — which is\n// not its last word either. The numerals are the generational ones only, so\n// a surname that reads as a numeral, \"Xi\" say, is kept.\nconst SUFFIX = /^(?:jr|sr|ii|iii|iv|\\d+(?:st|nd|rd|th))\\.?,?$/iu\n\n// Something said about the name rather than part of it, in brackets at its\n// end: \"(she/her)\", \"[away]\".\nconst TRAILING_ASIDE = /\\s*[([{][^)\\]}]*[)\\]}]\\s*$/u\n\nconst segmenters = new Map<string, Intl.Segmenter>()\n\nfunction graphemesOf(text: string, locale: string) {\n let segmenter = segmenters.get(locale)\n if (segmenter === undefined) {\n segmenter = new Intl.Segmenter(locale, { granularity: 'grapheme' })\n segmenters.set(locale, segmenter)\n }\n return Array.from(segmenter.segment(text), ({ segment }) => segment)\n}\n\n/**\n * The character that stands for `word`: its first grapheme that is a letter,\n * a number or a picture, or its first grapheme where it has none of those,\n * so something always shows. Upper-cased in the locale, and then one\n * grapheme of that, since upper-casing can lengthen it: \"ß\" is \"SS\".\n */\nfunction initialOf(word: string, locale: string) {\n const graphemes = graphemesOf(word, locale)\n const chosen =\n graphemes.find((grapheme) => INITIAL.test(grapheme)) ??\n graphemes.at(0) ??\n ''\n return graphemesOf(chosen.toLocaleUpperCase(locale), locale).at(0) ?? ''\n}\n\n/**\n * One letter, where a person takes two. A person has a first name and a last\n * name to initialise; a thing usually has neither, so the same rule applied\n * to \"Second Item\" would produce \"SI\" — a pair of initials for something that\n * was never two words in that sense.\n */\nfunction initialOfThing(name: string, locale: string) {\n return initialOf(name.trim(), locale)\n}\n\n/**\n * The initials of the first and the last word, which handles both \"Ada\" and\n * \"Ada Lovelace\" without a separate prop for how many to take. What a\n * display name carries around the name itself is left out first: a title\n * before it, a generational suffix after it, and an aside in brackets at its\n * end. A name written without spaces between its words — Japanese, Chinese —\n * is one word to this, and takes one initial.\n */\nfunction initialsOfPerson(name: string, locale: string) {\n let words = name.replace(TRAILING_ASIDE, '').split(/\\s+/u).filter(Boolean)\n if (words.length > 1 && TITLE.test(words[0] ?? '')) {\n words = words.slice(1)\n }\n if (words.length > 1 && SUFFIX.test(words.at(-1) ?? '')) {\n words = words.slice(0, -1)\n }\n if (words.length === 0) {\n return ''\n }\n const first = initialOf(words[0] ?? '', locale)\n if (words.length === 1) {\n return first\n }\n const last = initialOf(words.at(-1) ?? '', locale)\n const between =\n JOINING.test(first) && JOINING.test(last) ? ZERO_WIDTH_NON_JOINER : ''\n return `${first}${between}${last}`\n}\n\nexport { initialOfThing, initialsOfPerson }\n"],"mappings":";AAeA,MAAMA,UAAU;AAKhB,MAAMC,UACJ;AAEF,MAAMC,wBAAwB;AAI9B,MAAMC,QAAQ;AAKd,MAAMC,SAAS;AAIf,MAAMC,iBAAiB;AAEvB,MAAMC,6BAAa,IAAIC,IAA4B;AAEnD,SAASG,YAAYC,MAAcC,QAAgB;CACjD,IAAIC,YAAYP,WAAWQ,IAAIF,MAAM;CACrC,IAAIC,cAAcE,KAAAA,GAAW;EAC3BF,YAAY,IAAIL,KAAKC,UAAUG,QAAQ,EAAEI,aAAa,WAAW,CAAC;EAClEV,WAAWW,IAAIL,QAAQC,SAAS;CAClC;CACA,OAAOK,MAAMC,KAAKN,UAAUO,QAAQT,IAAI,IAAI,EAAES,cAAcA,OAAO;AACrE;;;;;;;AAQA,SAASC,UAAUC,MAAcV,QAAgB;CAC/C,MAAMW,YAAYb,YAAYY,MAAMV,MAAM;CAK1C,OAAOF,aAHLa,UAAUC,MAAMC,aAAazB,QAAQ0B,KAAKD,QAAQ,CAAC,KACnDF,UAAUI,GAAG,CAAC,KACd,GAAA,CACwBC,kBAAkBhB,MAAM,GAAGA,MAAM,CAAC,CAACe,GAAG,CAAC,KAAK;AACxE;;;;;;;AAQA,SAASE,eAAeC,MAAclB,QAAgB;CACpD,OAAOS,UAAUS,KAAKC,KAAK,GAAGnB,MAAM;AACtC;;;;;;;;;AAUA,SAASoB,iBAAiBF,MAAclB,QAAgB;CACtD,IAAIqB,QAAQH,KAAKI,QAAQ7B,gBAAgB,EAAE,CAAC,CAAC8B,MAAM,MAAM,CAAC,CAACC,OAAOC,OAAO;CACzE,IAAIJ,MAAMK,SAAS,KAAKnC,MAAMuB,KAAKO,MAAM,MAAM,EAAE,GAC/CA,QAAQA,MAAMM,MAAM,CAAC;CAEvB,IAAIN,MAAMK,SAAS,KAAKlC,OAAOsB,KAAKO,MAAMN,GAAG,EAAE,KAAK,EAAE,GACpDM,QAAQA,MAAMM,MAAM,GAAG,EAAE;CAE3B,IAAIN,MAAMK,WAAW,GACnB,OAAO;CAET,MAAME,QAAQnB,UAAUY,MAAM,MAAM,IAAIrB,MAAM;CAC9C,IAAIqB,MAAMK,WAAW,GACnB,OAAOE;CAET,MAAMC,OAAOpB,UAAUY,MAAMN,GAAG,EAAE,KAAK,IAAIf,MAAM;CAGjD,OAAO,GAAG4B,QADRvC,QAAQyB,KAAKc,KAAK,KAAKvC,QAAQyB,KAAKe,IAAI,IAAIvC,wBAAwB,KAC1CuC;AAC9B"}
@@ -1 +1 @@
1
- {"version":3,"file":"styles.js","names":["stylex","colors","radii","typography","FORCED_COLORS","markStyles","base","kGNEyG","kVAM5u","ksu8eU","kMzoRj","kB7OPa","k1xSpc","kmuXW","kMv6JI","k63SB2","kjj79g","kVQacm","kVAEAm","kfSwDN","$$css","circle","kaIpWk","contain","kVIFPx","cover","fallback","kZKoxP","kzqmXN","image","k87sOh","kLqNvP","imagePending","kSiTet","lg","kGuDYH","kb6lSQ","kLWn49","md","negative","kWkggS","kMwMTN","personGlyph","positive","primary","secondary","sm","square","tertiary","MarkSize","MarkTone"],"sources":["../../src/mark/styles.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\nimport '../tokens/design.tokens.stylex';\nimport { colors, radii, typography } from '../tokens/design.tokens.stylex';\n\n// The box Avatar and ProductIcon draw in, shared so a person and a thing stay\n// the same three sizes in the same five tones, and so either can fill a\n// leading slot without moving what sits beside it. They differ in the two\n// ways that matter for a mark rather than a face, and those are the keys a\n// kind picks between in `./index.tsx`.\n//\n// A person is a circle with the photo cropped to fill it; a thing is a\n// rounded square with its mark letterboxed. A logo is drawn to its own\n// bounding box, so a circle crops the corners it was composed with, and\n// cropping a face loses nothing anyone minds where cropping a wordmark loses\n// the word. The cost of `contain` is letterboxing — a wide mark leaves space\n// above and below — and that is the right trade for a mark whose whole job\n// is to be recognised.\n//\n// That cost is also why a thing's tone tints the fallback rather than the\n// root. A mark letterboxed into the square does not cover it, and neither\n// does one drawn with transparency, so a tint on the root showed as a\n// coloured box around every logo that was not an opaque square. On the\n// fallback it is seen exactly when it is meant to be: while there is no\n// mark, or none has loaded. A photo covers the whole circle, so a person's\n// tone stays on the root.\n//\n// Tones are container/on-container pairs rather than one colour each, so the\n// initials are always a role's own foreground and can't end up unreadable on\n// a tint they were never paired with.\n//\n// `md` is the leading avatar of Material Design's lists page: 40dp, with its\n// initials in the role the list tokens give that avatar's label,\n// `ItemLeadingAvatarLabelFont`, which is title medium — 16 on 24, with 0.15 of\n// tracking. 40dp is also Button's and IconButton's own `md` height, so a mark\n// and a control line up in a row.\n//\n// The other two sizes are the library's own, since the lists page gives only\n// the 40dp case. `lg` is 56dp. `sm` is 36dp, between the 32dp a chip and an\n// `xs` control take and that 40dp default, for a row that wants a person\n// smaller than the button beside them. Each sets its initials in the role\n// whose size is the same two fifths of its diameter as title medium is of\n// 40dp: label large's 14 in 36dp, and title large's 22 in 56dp. They take that\n// role's size, line height and tracking, and keep title medium's family and\n// weight, so a large mark is bigger initials rather than differently styled\n// ones — title large is set in the brand face at regular weight, which would\n// draw the same person's initials in another face at one size.\n//\n// Every size sets its line height and tracking as well as its size, so\n// nothing about the initials is inherited from what the mark sits in.\n// Windows High Contrast and the rest of the forced-colours modes. Spelled\n// here rather than imported, for the reason src/field/styles.ts records: the\n// StyleX compiler resolves a constant across files only out of a `.stylex.ts`\n// module, and the generated one holds design tokens rather than queries.\nconst FORCED_COLORS = '@media (forced-colors: active)';\nconst markStyles = {\n base: {\n kGNEyG: \"x6s0dn4\",\n kVAM5u: \"x1w1tqly\",\n ksu8eU: \"xx61lck\",\n kMzoRj: \"x13rsnn2\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"x3nfvp2\",\n kmuXW: \"x2lah0s\",\n kMv6JI: \"x46eyla\",\n k63SB2: \"xrf6cl6\",\n kjj79g: \"xl56j7k\",\n kVQacm: \"xb3r6kr\",\n kVAEAm: \"x1n2onr6\",\n kfSwDN: \"x87ps6o\",\n $$css: true\n },\n circle: {\n kaIpWk: \"x16fbrrb\",\n $$css: true\n },\n contain: {\n kVIFPx: \"x19kjcj4\",\n $$css: true\n },\n cover: {\n kVIFPx: \"xl1xv1r\",\n $$css: true\n },\n fallback: {\n kGNEyG: \"x6s0dn4\",\n kZKoxP: \"x5yr21d\",\n k1xSpc: \"x78zum5\",\n kzqmXN: \"xh8yej3\",\n kjj79g: \"xl56j7k\",\n $$css: true\n },\n image: {\n kZKoxP: \"x5yr21d\",\n kB7OPa: \"x9f619\",\n kzqmXN: \"xh8yej3\",\n k87sOh: \"x13vifvy\",\n kLqNvP: \"x1o0tod\",\n kVAEAm: \"x10l6tqk\",\n $$css: true\n },\n imagePending: {\n kSiTet: \"xg01cxk\",\n $$css: true\n },\n lg: {\n kZKoxP: \"xnnlda6\",\n kGuDYH: \"xete2z3\",\n kzqmXN: \"x15yg21f\",\n kb6lSQ: \"xug9e1u\",\n kLWn49: \"x2divse\",\n $$css: true\n },\n md: {\n kZKoxP: \"x1vqgdyp\",\n kGuDYH: \"x5ehqhr\",\n kzqmXN: \"x100vrsf\",\n kb6lSQ: \"x1g135zh\",\n kLWn49: \"x1ggk5va\",\n $$css: true\n },\n negative: {\n kWkggS: \"xkz0cvf\",\n kMwMTN: \"xylzu7l\",\n $$css: true\n },\n personGlyph: {\n kZKoxP: \"x39lw6i\",\n kzqmXN: \"xycev2y\",\n $$css: true\n },\n positive: {\n kWkggS: \"xa3zu90\",\n kMwMTN: \"x1di7zbg\",\n $$css: true\n },\n primary: {\n kWkggS: \"xp89om9\",\n kMwMTN: \"xscdzaa\",\n $$css: true\n },\n secondary: {\n kWkggS: \"x15dekr4\",\n kMwMTN: \"x1sawysd\",\n $$css: true\n },\n sm: {\n kZKoxP: \"xc9qbxq\",\n kGuDYH: \"x14zspaw\",\n kzqmXN: \"x14qfxbe\",\n kb6lSQ: \"x155f00i\",\n kLWn49: \"x1lz68p4\",\n $$css: true\n },\n square: {\n kaIpWk: \"x1xdvaa9\",\n $$css: true\n },\n tertiary: {\n kWkggS: \"xs6yvni\",\n kMwMTN: \"x3cbcwg\",\n $$css: true\n }\n};\ntype MarkSize = 'lg' | 'md' | 'sm';\ntype MarkTone = 'negative' | 'positive' | 'primary' | 'secondary' | 'tertiary';\nexport type { MarkSize, MarkTone };\nexport { markStyles };"],"mappings":";AAsDA,MAAMK,aAAa;CACjBC,MAAM;EACJC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,OAAO;EACPC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,OAAO;CACT;CACAC,QAAQ;EACNC,QAAQ;EACRF,OAAO;CACT;CACAG,SAAS;EACPC,QAAQ;EACRJ,OAAO;CACT;CACAK,OAAO;EACLD,QAAQ;EACRJ,OAAO;CACT;CACAM,UAAU;EACRnB,QAAQ;EACRoB,QAAQ;EACRf,QAAQ;EACRgB,QAAQ;EACRZ,QAAQ;EACRI,OAAO;CACT;CACAS,OAAO;EACLF,QAAQ;EACRhB,QAAQ;EACRiB,QAAQ;EACRE,QAAQ;EACRC,QAAQ;EACRb,QAAQ;EACRE,OAAO;CACT;CACAY,cAAc;EACZC,QAAQ;EACRb,OAAO;CACT;CACAc,IAAI;EACFP,QAAQ;EACRQ,QAAQ;EACRP,QAAQ;EACRQ,QAAQ;EACRC,QAAQ;EACRjB,OAAO;CACT;CACAkB,IAAI;EACFX,QAAQ;EACRQ,QAAQ;EACRP,QAAQ;EACRQ,QAAQ;EACRC,QAAQ;EACRjB,OAAO;CACT;CACAmB,UAAU;EACRC,QAAQ;EACRC,QAAQ;EACRrB,OAAO;CACT;CACAsB,aAAa;EACXf,QAAQ;EACRC,QAAQ;EACRR,OAAO;CACT;CACAuB,UAAU;EACRH,QAAQ;EACRC,QAAQ;EACRrB,OAAO;CACT;CACAwB,SAAS;EACPJ,QAAQ;EACRC,QAAQ;EACRrB,OAAO;CACT;CACAyB,WAAW;EACTL,QAAQ;EACRC,QAAQ;EACRrB,OAAO;CACT;CACA0B,IAAI;EACFnB,QAAQ;EACRQ,QAAQ;EACRP,QAAQ;EACRQ,QAAQ;EACRC,QAAQ;EACRjB,OAAO;CACT;CACA2B,QAAQ;EACNzB,QAAQ;EACRF,OAAO;CACT;CACA4B,UAAU;EACRR,QAAQ;EACRC,QAAQ;EACRrB,OAAO;CACT;AACF"}
1
+ {"version":3,"file":"styles.js","names":["markStyles","base","kGNEyG","kVAM5u","ksu8eU","kMzoRj","kB7OPa","k1xSpc","kmuXW","kMv6JI","k63SB2","kjj79g","kVQacm","kVAEAm","kfSwDN","$$css","circle","kaIpWk","contain","kVIFPx","cover","fallback","kZKoxP","kzqmXN","image","k87sOh","kLqNvP","imagePending","kSiTet","lg","kGuDYH","kb6lSQ","kLWn49","md","negative","kWkggS","kMwMTN","personGlyph","positive","primary","secondary","sm","square","tertiary"],"sources":["../../src/mark/styles.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\nimport '../tokens/design.tokens.stylex';\nimport { colors, radii, typography } from '../tokens/design.tokens.stylex';\n\n// The box Avatar and ProductIcon draw in, shared so a person and a thing stay\n// the same three sizes in the same five tones, and so either can fill a\n// leading slot without moving what sits beside it. They differ in the two\n// ways that matter for a mark rather than a face, and those are the keys a\n// kind picks between in `./index.tsx`.\n//\n// A person is a circle with the photo cropped to fill it; a thing is a\n// rounded square with its mark letterboxed. A logo is drawn to its own\n// bounding box, so a circle crops the corners it was composed with, and\n// cropping a face loses nothing anyone minds where cropping a wordmark loses\n// the word. The cost of `contain` is letterboxing — a wide mark leaves space\n// above and below — and that is the right trade for a mark whose whole job\n// is to be recognised.\n//\n// That cost is also why a thing's tone tints the fallback rather than the\n// root. A mark letterboxed into the square does not cover it, and neither\n// does one drawn with transparency, so a tint on the root showed as a\n// coloured box around every logo that was not an opaque square. On the\n// fallback it is seen exactly when it is meant to be: while there is no\n// mark, or none has loaded. A photo covers the whole circle, so a person's\n// tone stays on the root.\n//\n// Tones are container/on-container pairs rather than one colour each, so the\n// initials are always a role's own foreground and can't end up unreadable on\n// a tint they were never paired with.\n//\n// `md` is the leading avatar of Material Design's lists page: 40dp, with its\n// initials in the role the list tokens give that avatar's label,\n// `ItemLeadingAvatarLabelFont`, which is title medium — 16 on 24, with 0.15 of\n// tracking. 40dp is also Button's and IconButton's own `md` height, so a mark\n// and a control line up in a row.\n//\n// The other two sizes are the library's own, since the lists page gives only\n// the 40dp case. `lg` is 56dp. `sm` is 36dp, between the 32dp a chip and an\n// `xs` control take and that 40dp default, for a row that wants a person\n// smaller than the button beside them. Each sets its initials in the role\n// whose size is the same two fifths of its diameter as title medium is of\n// 40dp: label large's 14 in 36dp, and title large's 22 in 56dp. They take that\n// role's size, line height and tracking, and keep title medium's family and\n// weight, so a large mark is bigger initials rather than differently styled\n// ones — title large is set in the brand face at regular weight, which would\n// draw the same person's initials in another face at one size.\n//\n// Every size sets its line height and tracking as well as its size, so\n// nothing about the initials is inherited from what the mark sits in.\n// Windows High Contrast and the rest of the forced-colours modes. Spelled\n// here rather than imported, for the reason src/field/styles.ts records: the\n// StyleX compiler resolves a constant across files only out of a `.stylex.ts`\n// module, and the generated one holds design tokens rather than queries.\nconst FORCED_COLORS = '@media (forced-colors: active)';\nconst markStyles = {\n base: {\n kGNEyG: \"x6s0dn4\",\n kVAM5u: \"x1w1tqly\",\n ksu8eU: \"xx61lck\",\n kMzoRj: \"x13rsnn2\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"x3nfvp2\",\n kmuXW: \"x2lah0s\",\n kMv6JI: \"x46eyla\",\n k63SB2: \"xrf6cl6\",\n kjj79g: \"xl56j7k\",\n kVQacm: \"xb3r6kr\",\n kVAEAm: \"x1n2onr6\",\n kfSwDN: \"x87ps6o\",\n $$css: true\n },\n circle: {\n kaIpWk: \"x16fbrrb\",\n $$css: true\n },\n contain: {\n kVIFPx: \"x19kjcj4\",\n $$css: true\n },\n cover: {\n kVIFPx: \"xl1xv1r\",\n $$css: true\n },\n fallback: {\n kGNEyG: \"x6s0dn4\",\n kZKoxP: \"x5yr21d\",\n k1xSpc: \"x78zum5\",\n kzqmXN: \"xh8yej3\",\n kjj79g: \"xl56j7k\",\n $$css: true\n },\n image: {\n kZKoxP: \"x5yr21d\",\n kB7OPa: \"x9f619\",\n kzqmXN: \"xh8yej3\",\n k87sOh: \"x13vifvy\",\n kLqNvP: \"x1o0tod\",\n kVAEAm: \"x10l6tqk\",\n $$css: true\n },\n imagePending: {\n kSiTet: \"xg01cxk\",\n $$css: true\n },\n lg: {\n kZKoxP: \"xnnlda6\",\n kGuDYH: \"xete2z3\",\n kzqmXN: \"x15yg21f\",\n kb6lSQ: \"xug9e1u\",\n kLWn49: \"x2divse\",\n $$css: true\n },\n md: {\n kZKoxP: \"x1vqgdyp\",\n kGuDYH: \"x5ehqhr\",\n kzqmXN: \"x100vrsf\",\n kb6lSQ: \"x1g135zh\",\n kLWn49: \"x1ggk5va\",\n $$css: true\n },\n negative: {\n kWkggS: \"xkz0cvf\",\n kMwMTN: \"xylzu7l\",\n $$css: true\n },\n personGlyph: {\n kZKoxP: \"x39lw6i\",\n kzqmXN: \"xycev2y\",\n $$css: true\n },\n positive: {\n kWkggS: \"xa3zu90\",\n kMwMTN: \"x1di7zbg\",\n $$css: true\n },\n primary: {\n kWkggS: \"xp89om9\",\n kMwMTN: \"xscdzaa\",\n $$css: true\n },\n secondary: {\n kWkggS: \"x15dekr4\",\n kMwMTN: \"x1sawysd\",\n $$css: true\n },\n sm: {\n kZKoxP: \"xc9qbxq\",\n kGuDYH: \"x14zspaw\",\n kzqmXN: \"x14qfxbe\",\n kb6lSQ: \"x155f00i\",\n kLWn49: \"x1lz68p4\",\n $$css: true\n },\n square: {\n kaIpWk: \"x1xdvaa9\",\n $$css: true\n },\n tertiary: {\n kWkggS: \"xs6yvni\",\n kMwMTN: \"x3cbcwg\",\n $$css: true\n }\n};\ntype MarkSize = 'lg' | 'md' | 'sm';\ntype MarkTone = 'negative' | 'positive' | 'primary' | 'secondary' | 'tertiary';\nexport type { MarkSize, MarkTone };\nexport { markStyles };"],"mappings":";AAsDA,MAAMA,aAAa;CACjBC,MAAM;EACJC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,OAAO;EACPC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,OAAO;CACT;CACAC,QAAQ;EACNC,QAAQ;EACRF,OAAO;CACT;CACAG,SAAS;EACPC,QAAQ;EACRJ,OAAO;CACT;CACAK,OAAO;EACLD,QAAQ;EACRJ,OAAO;CACT;CACAM,UAAU;EACRnB,QAAQ;EACRoB,QAAQ;EACRf,QAAQ;EACRgB,QAAQ;EACRZ,QAAQ;EACRI,OAAO;CACT;CACAS,OAAO;EACLF,QAAQ;EACRhB,QAAQ;EACRiB,QAAQ;EACRE,QAAQ;EACRC,QAAQ;EACRb,QAAQ;EACRE,OAAO;CACT;CACAY,cAAc;EACZC,QAAQ;EACRb,OAAO;CACT;CACAc,IAAI;EACFP,QAAQ;EACRQ,QAAQ;EACRP,QAAQ;EACRQ,QAAQ;EACRC,QAAQ;EACRjB,OAAO;CACT;CACAkB,IAAI;EACFX,QAAQ;EACRQ,QAAQ;EACRP,QAAQ;EACRQ,QAAQ;EACRC,QAAQ;EACRjB,OAAO;CACT;CACAmB,UAAU;EACRC,QAAQ;EACRC,QAAQ;EACRrB,OAAO;CACT;CACAsB,aAAa;EACXf,QAAQ;EACRC,QAAQ;EACRR,OAAO;CACT;CACAuB,UAAU;EACRH,QAAQ;EACRC,QAAQ;EACRrB,OAAO;CACT;CACAwB,SAAS;EACPJ,QAAQ;EACRC,QAAQ;EACRrB,OAAO;CACT;CACAyB,WAAW;EACTL,QAAQ;EACRC,QAAQ;EACRrB,OAAO;CACT;CACA0B,IAAI;EACFnB,QAAQ;EACRQ,QAAQ;EACRP,QAAQ;EACRQ,QAAQ;EACRC,QAAQ;EACRjB,OAAO;CACT;CACA2B,QAAQ;EACNzB,QAAQ;EACRF,OAAO;CACT;CACA4B,UAAU;EACRR,QAAQ;EACRC,QAAQ;EACRrB,OAAO;CACT;AACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"context.js","names":["createContext","NavigationContextValue","form","NavigationForm","selectedRoute","NavigationContext"],"sources":["../../src/navigation/context.ts"],"sourcesContent":["import { createContext } from 'react'\n\n// Apart from ./index.tsx so that file exports components alone, which is what\n// keeps fast refresh working for it — the same arrangement `src/row` uses.\n\n/**\n * What NavigationBar and NavigationRail hand their destinations: the form to\n * draw, and the route of the current one.\n */\ntype NavigationContextValue = {\n form: NavigationForm\n selectedRoute?: string | undefined\n}\n\n/**\n * Which form a destination draws — see ./styles.ts. `barCramped` is the bar's\n * vertical form at every width, for a bar too narrow for its horizontal one.\n */\ntype NavigationForm = 'bar' | 'barCramped' | 'collapsed' | 'expanded'\n\nconst NavigationContext = createContext<NavigationContextValue>({\n form: 'bar',\n})\n\nexport type { NavigationContextValue, NavigationForm }\n\nexport { NavigationContext }\n"],"mappings":";;AAoBA,MAAMK,oBAAoBL,cAAsC,EAC9DE,MAAM,MACR,CAAC"}
1
+ {"version":3,"file":"context.js","names":["createContext","form","NavigationContext"],"sources":["../../src/navigation/context.ts"],"sourcesContent":["import { createContext } from 'react'\n\n// Apart from ./index.tsx so that file exports components alone, which is what\n// keeps fast refresh working for it — the same arrangement `src/row` uses.\n\n/**\n * What NavigationBar and NavigationRail hand their destinations: the form to\n * draw, and the route of the current one.\n */\ntype NavigationContextValue = {\n form: NavigationForm\n selectedRoute?: string | undefined\n}\n\n/**\n * Which form a destination draws — see ./styles.ts. `barCramped` is the bar's\n * vertical form at every width, for a bar too narrow for its horizontal one.\n */\ntype NavigationForm = 'bar' | 'barCramped' | 'collapsed' | 'expanded'\n\nconst NavigationContext = createContext<NavigationContextValue>({\n form: 'bar',\n})\n\nexport type { NavigationContextValue, NavigationForm }\n\nexport { NavigationContext }\n"],"mappings":";;AAoBA,MAAME,oBAAoBF,cAAsC,EAC9DC,MAAM,MACR,CAAC"}