@kanso-labs/kanso-ui 0.45.34 → 0.47.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/button/index.js +13 -9
- package/dist/button/index.js.map +1 -1
- package/dist/calendar/styles.js +12 -7
- package/dist/calendar/styles.js.map +1 -1
- package/dist/chip/label.js +1 -0
- package/dist/chip/label.js.map +1 -1
- package/dist/chip/styles.js +2 -0
- package/dist/chip/styles.js.map +1 -1
- package/dist/collection/styles.js +1 -1
- package/dist/collection/styles.js.map +1 -1
- package/dist/components/breadcrumbs/index.js +4 -1
- package/dist/components/breadcrumbs/index.js.map +1 -1
- package/dist/components/button-group/index.d.ts +16 -3
- package/dist/components/button-group/index.js +53 -86
- package/dist/components/button-group/index.js.map +1 -1
- package/dist/components/calendar/index.d.ts +3 -3
- package/dist/components/calendar/index.js.map +1 -1
- package/dist/components/card/index.js +5 -1
- package/dist/components/card/index.js.map +1 -1
- package/dist/components/carousel/index.js +162 -105
- package/dist/components/carousel/index.js.map +1 -1
- package/dist/components/chip/index.d.ts +38 -15
- package/dist/components/chip/index.js +104 -8
- package/dist/components/chip/index.js.map +1 -1
- package/dist/components/code/index.js +32 -26
- package/dist/components/code/index.js.map +1 -1
- package/dist/components/color-area/index.d.ts +5 -3
- package/dist/components/color-area/index.js +5 -3
- package/dist/components/color-area/index.js.map +1 -1
- package/dist/components/color-picker/index.js +6 -3
- package/dist/components/color-picker/index.js.map +1 -1
- package/dist/components/color-swatch/index.js +1 -1
- package/dist/components/color-swatch/index.js.map +1 -1
- package/dist/components/color-swatch-picker/index.js +24 -9
- package/dist/components/color-swatch-picker/index.js.map +1 -1
- package/dist/components/combo-box/index.d.ts +11 -3
- package/dist/components/combo-box/index.js +66 -62
- package/dist/components/combo-box/index.js.map +1 -1
- package/dist/components/copy-field/index.js +1 -0
- package/dist/components/copy-field/index.js.map +1 -1
- package/dist/components/date-picker/index.d.ts +22 -3
- package/dist/components/date-picker/index.js +234 -45
- package/dist/components/date-picker/index.js.map +1 -1
- package/dist/components/date-range-picker/index.d.ts +3 -1
- package/dist/components/date-range-picker/index.js +6 -4
- package/dist/components/date-range-picker/index.js.map +1 -1
- package/dist/components/disclosure/index.d.ts +4 -3
- package/dist/components/disclosure/index.js +159 -101
- package/dist/components/disclosure/index.js.map +1 -1
- package/dist/components/fab/index.d.ts +3 -1
- package/dist/components/fab/index.js +25 -12
- package/dist/components/fab/index.js.map +1 -1
- package/dist/components/fab-menu/index.js +1 -1
- package/dist/components/fab-menu/index.js.map +1 -1
- package/dist/components/icon-button/index.js +3 -3
- package/dist/components/icon-button/index.js.map +1 -1
- package/dist/components/index.d.ts +3 -3
- package/dist/components/link/index.js +2 -2
- package/dist/components/link/index.js.map +1 -1
- package/dist/components/menu/index.js +5 -2
- package/dist/components/menu/index.js.map +1 -1
- package/dist/components/navigation-bar/index.js.map +1 -1
- package/dist/components/navigation-rail/index.js +4 -4
- package/dist/components/navigation-rail/index.js.map +1 -1
- package/dist/components/navigation-tree/index.js +16 -13
- package/dist/components/navigation-tree/index.js.map +1 -1
- package/dist/components/popover/index.js +35 -33
- package/dist/components/popover/index.js.map +1 -1
- package/dist/components/progress-indicator/index.js +258 -172
- package/dist/components/progress-indicator/index.js.map +1 -1
- package/dist/components/range-calendar/index.js +41 -7
- package/dist/components/range-calendar/index.js.map +1 -1
- package/dist/components/search-view/index.js +1 -1
- package/dist/components/search-view/index.js.map +1 -1
- package/dist/components/segmented-button/index.d.ts +3 -2
- package/dist/components/segmented-button/index.js +46 -95
- package/dist/components/segmented-button/index.js.map +1 -1
- package/dist/components/select/index.js +5 -2
- package/dist/components/select/index.js.map +1 -1
- package/dist/components/slider/index.js +42 -10
- package/dist/components/slider/index.js.map +1 -1
- package/dist/components/table/index.d.ts +26 -5
- package/dist/components/table/index.js +93 -75
- package/dist/components/table/index.js.map +1 -1
- package/dist/components/tag/index.js +1 -0
- package/dist/components/tag/index.js.map +1 -1
- package/dist/components/time-picker/index.js +37 -5
- package/dist/components/time-picker/index.js.map +1 -1
- package/dist/components/token-field/index.js +89 -66
- package/dist/components/token-field/index.js.map +1 -1
- package/dist/components/toolbar/index.d.ts +8 -3
- package/dist/components/toolbar/index.js +123 -43
- package/dist/components/toolbar/index.js.map +1 -1
- package/dist/components/tree/index.js +1 -1
- package/dist/components/tree/index.js.map +1 -1
- package/dist/fab/styles.js +12 -0
- package/dist/fab/styles.js.map +1 -1
- package/dist/field/styles.js +2 -2
- package/dist/field/styles.js.map +1 -1
- package/dist/hooks/useDockedMonths.js +36 -0
- package/dist/hooks/useDockedMonths.js.map +1 -0
- package/dist/i18n/index.js +1 -0
- package/dist/i18n/index.js.map +1 -1
- package/dist/i18n/messages.js +34 -0
- package/dist/i18n/messages.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/navigation/index.js +5 -5
- package/dist/navigation/index.js.map +1 -1
- package/dist/navigation/styles.js +5 -1
- package/dist/navigation/styles.js.map +1 -1
- package/dist/row/context.js +6 -0
- package/dist/row/context.js.map +1 -0
- package/dist/row/index.js +77 -66
- package/dist/row/index.js.map +1 -1
- package/dist/row/styles.js +15 -0
- package/dist/row/styles.js.map +1 -1
- package/dist/segments/index.js +2 -5
- package/dist/segments/index.js.map +1 -1
- package/dist/segments/literal.js +66 -0
- package/dist/segments/literal.js.map +1 -0
- package/dist/segments/styles.js +8 -0
- package/dist/segments/styles.js.map +1 -1
- package/dist/styles/chequer.js +1 -0
- package/dist/styles/chequer.js.map +1 -1
- package/dist/styles/focus.js.map +1 -1
- package/dist/styles.css +509 -69
- package/dist/toggle-group/index.js +133 -0
- package/dist/toggle-group/index.js.map +1 -0
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
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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MC,MAAM,aAAaA,EAAC;GAC1BC,OAAOD,MAAM,aAAaA,EAAC;GAC3BE,MAAMF,MAAM,aAAaA,EAAC;GAC1BjB,QAAQiB,MAAM,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"}
|
|
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","selectDate","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, the time picker's two headlines and two actions, and the date\n// picker's modal headline.\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 | 'selectDate'\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 selectDate: 'اختر التاريخ',\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 selectDate: 'Изберете дата',\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 selectDate: 'Vyberte datum',\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 selectDate: 'Vælg dato',\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 selectDate: 'Datum auswählen',\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 selectDate: 'Επιλογή ημερομηνίας',\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 selectDate: 'Select date',\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 selectDate: 'Seleccionar fecha',\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 selectDate: 'Vali kuupäev',\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 selectDate: 'Valitse päivämäärä',\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 selectDate: 'Sélectionner une date',\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 selectDate: 'בחירת תאריך',\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 selectDate: 'Odaberite datum',\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 selectDate: 'Dátum kiválasztása',\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 selectDate: 'Seleziona la data',\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 selectDate: '日付を選択',\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 selectDate: '날짜 선택',\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 selectDate: 'Pasirinkite datą',\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 selectDate: 'Izvēlieties datumu',\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 selectDate: 'Velg dato',\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 selectDate: 'Datum selecteren',\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 selectDate: 'Wybierz datę',\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 selectDate: 'Selecione a data',\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 selectDate: 'Selecionar a data',\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 selectDate: 'Selectați data',\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 selectDate: 'Выберите дату',\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 selectDate: 'Vyberte dátum',\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 selectDate: 'Izberite datum',\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 selectDate: 'Izaberite datum',\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 selectDate: 'Välj datum',\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 selectDate: 'Tarihi seçin',\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 selectDate: 'Виберіть дату',\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 selectDate: '选择日期',\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 selectDate: '選取日期',\n selectTime: '選取時間',\n slide: '投影片',\n slideLabel: (args) => `第 ${args?.index} 項,共 ${args?.count} 項`,\n },\n}\n\nexport type { LibraryMessage }\n\nexport { MESSAGES }\n"],"mappings":";;;;;;;AAyDA,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,YAAY;EACZC,WAAW;EACXC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,WAAW;EACXC,eAAe;EACfC,YAAY;EACZC,YAAY;EACZC,OAAO;EACPC,aAAa9B,SAAS,GAAGA,MAAM+B,MAAK,MAAO/B,MAAMR;CACnD;CACA,SAAS;EACPa,MAAM;EACNC,QAAQ;EACRC,UAAU;EACVC,gBAAgBd,OAAO;GACrBkB,MAAMF,MAAM,MAAMA,EAAC;GACnBjB,QAAQiB,MAAM,MAAMA,EAAC;EACvB,CAAC;EACDK,uB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,aAAaA,EAAC;GAC1BjB,QAAQiB,MAAM,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,YAAY;EACZC,OAAO;EACPC,aAAa9B,SAAS,GAAGA,MAAM+B,MAAK,KAAM/B,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,YAAY;EACZC,OAAO;EACPC,aAAa9B,SAAS,KAAKA,MAAM+B,MAAK,OAAQ/B,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,YAAY;EACZC,OAAO;EACPC,aAAa9B,SAAS,KAAKA,MAAM+B,MAAK,OAAQ/B,MAAMR,MAAK;CAC3D;AACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { CarouselLayout } from "./carousel/arrangement.js";
|
|
|
14
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
|
-
import Chip, { ChipActionProps, ChipFilterProps, ChipProps, ChipVariant } from "./components/chip/index.js";
|
|
17
|
+
import Chip, { ChipActionProps, ChipDropdownProps, ChipFilterProps, ChipProps, ChipVariant } from "./components/chip/index.js";
|
|
18
18
|
import ChipGroup, { ChipGroupChip, ChipGroupChipProps, ChipGroupProps } from "./components/chip-group/index.js";
|
|
19
19
|
import Code, { CodeProps } from "./components/code/index.js";
|
|
20
20
|
import ColorArea, { ColorAreaProps } from "./components/color-area/index.js";
|
|
@@ -71,7 +71,7 @@ import SplitButton, { SplitButtonAction, SplitButtonActionProps, SplitButtonMenu
|
|
|
71
71
|
import Stack, { StackAlign, StackGap, StackJustify, StackProps } from "./components/stack/index.js";
|
|
72
72
|
import SupportingPane, { SupportingPaneProps } from "./components/supporting-pane/index.js";
|
|
73
73
|
import Switch, { SwitchProps } from "./components/switch/index.js";
|
|
74
|
-
import Table, { TableBody, TableBodyProps, TableCell, TableCellProps, TableColumn, TableColumnProps, TableFooter, TableFooterProps, TableHeader, TableHeaderProps, TableLoadMore, TableLoadMoreProps, TableProps, TableRow, TableRowProps } from "./components/table/index.js";
|
|
74
|
+
import Table, { TableAlign, TableBody, TableBodyProps, TableCell, TableCellProps, TableColumn, TableColumnProps, TableFooter, TableFooterProps, TableHeader, TableHeaderProps, TableLoadMore, TableLoadMoreProps, TableProps, TableRow, TableRowProps } from "./components/table/index.js";
|
|
75
75
|
import Tabs, { TabsLayout, TabsList, TabsListProps, TabsPanel, TabsPanelProps, TabsPanels, TabsPanelsProps, TabsProps, TabsTab, TabsTabProps, TabsVariant } from "./components/tabs/index.js";
|
|
76
76
|
import Tag, { TagProps, TagTone, TagVariant } from "./components/tag/index.js";
|
|
77
77
|
import Text, { TextProps } from "./components/text/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 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 };
|
|
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 ChipDropdownProps, 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, type TableAlign, 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 };
|
package/dist/navigation/index.js
CHANGED
|
@@ -25,20 +25,20 @@ const FORMS = {
|
|
|
25
25
|
};
|
|
26
26
|
const RINGS = {
|
|
27
27
|
bar: {
|
|
28
|
-
indicator: barItemStyles.indicatorRing,
|
|
29
|
-
item: barItemStyles.itemRing
|
|
28
|
+
indicator: [barItemStyles.indicatorRing, navigationItemStyles.ringWeight],
|
|
29
|
+
item: [barItemStyles.itemRing, navigationItemStyles.ringWeight]
|
|
30
30
|
},
|
|
31
31
|
barCramped: {
|
|
32
|
-
indicator: focus.ringVisible,
|
|
32
|
+
indicator: [focus.ringVisible, navigationItemStyles.ringWeight],
|
|
33
33
|
item: null
|
|
34
34
|
},
|
|
35
35
|
collapsed: {
|
|
36
|
-
indicator: focus.ringVisible,
|
|
36
|
+
indicator: [focus.ringVisible, navigationItemStyles.ringWeight],
|
|
37
37
|
item: null
|
|
38
38
|
},
|
|
39
39
|
expanded: {
|
|
40
40
|
indicator: null,
|
|
41
|
-
item: focus.ringVisible
|
|
41
|
+
item: [focus.ringVisible, navigationItemStyles.ringWeight]
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
44
|
function itemClasses(form, isCurrent) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["stylex","useContext","useId","RACLink","useClippedTitle","useRipple","focus","mergeStatefulStyles","NavigationContext","barItemStyles","collapsedItemStyles","crampedBarItemStyles","expandedItemStyles","navigationItemStyles","navigationListStyles","FORMS","bar","barCramped","item","list","listItem","collapsed","expanded","RINGS","indicator","indicatorRing","itemRing","ringVisible","badgeId","badgeLabel","labelId","badge","children","href","icon","isCurrent","itemClasses","form","styles","state","props","link","fade","itemCurrent","isHovered","itemHoveredCurrent","itemHovered","isFocusVisible","itemFocusedCurrent","itemFocused","isPressed","itemPressedCurrent","itemPressed","isDisabled","itemDisabled","itemContent","label","naming","ripple","glyph","undefined","badgeMark","pill","indicatorCurrent","indicatorHoveredCurrent","indicatorHovered","indicatorFocusedCurrent","indicatorFocused","indicatorPressedCurrent","indicatorPressed","labelCurrent","NavigationItem","t0","$","_c","isCurrentProp","onClick","onContextMenu","onPointerCancel","onPointerDown","onPointerLeave","onPointerUp","selectedRoute","t1","t2","T0","t3","t4","t5","handlers","t6","t7","surface","t8","t9","NavigationLabel","id","styling","clipped","NavigationList","layout"],"sources":["../../src/navigation/index.tsx"],"sourcesContent":["import type { ReactNode, RefAttributes } from 'react';\nimport type { FocusableElement, LinkRenderProps, LinkProps as RACLinkProps } from 'react-aria-components';\nimport * as stylex from '@stylexjs/stylex';\nimport { useContext, useId } from 'react';\nimport { Link as RACLink } from 'react-aria-components';\nimport type { NavigationForm } from './context';\nimport { BadgeMarkContext } from '../badge';\nimport Badge from '../components/badge';\nimport { useClippedTitle } from '../hooks/useClippedTitle';\nimport { useRipple } from '../hooks/useRipple';\nimport { focus } from '../styles/focus';\nimport { mergeStatefulStyles } from '../styles/merge';\nimport { NavigationContext } from './context';\nimport { barItemStyles, collapsedItemStyles, crampedBarItemStyles, expandedItemStyles, navigationItemStyles, navigationListStyles } from './styles';\n\n// The destination NavigationBar and NavigationRail both render, and the\n// context each hands it: which of the three forms to draw and which route is\n// current. See ./styles.ts for the forms.\n//\n// A destination is a link — it goes somewhere, rather than selecting\n// something — so it is React Aria's `Link`, which routes through a\n// `RouterProvider` when an app has one. The current one is the one whose\n// `href` is the bar's or the rail's `selectedRoute`, the same matching\n// NavigationTree does, and it carries `aria-current=\"page\"`. A destination's\n// own `isCurrent` overrides that match, which is how an app on a route\n// nested under a destination marks the destination it is under: the match\n// is exact, and a top-level destination's `href` is rarely the whole route.\n// The attribute, the indicator and the label all read the one answer.\n//\n// A badge is hidden from assistive technology — see the Badge component for\n// why — so what it says reaches the link's name through `badgeLabel`: the\n// link is named by its label and that text together, through\n// `aria-labelledby`, rather than by an `aria-label` the call site would keep\n// in step with both the label and the count, in every language. The text\n// sits in a hidden span beside the badge, which a name can still be read\n// from, so the label's own text and the width the bar measures it at are\n// untouched. An `aria-label` or `aria-labelledby` the call site passes still\n// names the link instead.\n//\n// The destinations are a list, each in an item of its own, which is what has\n// a screen reader say how many there are and which one it is on, as the\n// WAI-ARIA navigation examples do. The bar and the rail draw the list, and\n// each destination draws its item: the item takes the destination's place in\n// the row or the column, and the link fills it, so the class, the ref and\n// `aria-current` stay on the link.\n\nconst FORMS = {\n bar: barItemStyles,\n barCramped: {\n ...collapsedItemStyles,\n item: crampedBarItemStyles.item,\n list: crampedBarItemStyles.list,\n listItem: crampedBarItemStyles.listItem\n },\n collapsed: collapsedItemStyles,\n expanded: expandedItemStyles\n};\n\n// The focus ring goes around the pill, wherever a form draws it: the\n// indicator in a vertical destination, the whole destination in a horizontal\n// one. The rail's two forms take the library's shared ring. The bar's pill\n// moves from one element to the other at the medium breakpoint, so its rings\n// are its own, each giving way at the width the other takes over.\nconst RINGS = {\n bar: {\n indicator: barItemStyles.indicatorRing,\n item: barItemStyles.itemRing\n },\n barCramped: {\n indicator: focus.ringVisible,\n item: null\n },\n collapsed: {\n indicator: focus.ringVisible,\n item: null\n },\n expanded: {\n indicator: null,\n item: focus.ringVisible\n }\n};\n\n// The ids a destination naming its badge gives its label and the badge's\n// words, which its link is labelled by.\ntype Naming = {\n badgeId: string;\n badgeLabel: string;\n labelId: string;\n};\ntype NavigationItemProps = {\n /**\n * A badge on the icon: `true` for the badges page's small dot, a number\n * for the large badge holding it. The badge is hidden from assistive\n * technology, so say what it says in `badgeLabel`.\n */\n badge?: boolean | number;\n /**\n * What the badge says, in words and in the reader's language — \"3 new\",\n * or \"new\" for the dot. It follows the label in the destination's\n * accessible name, \"First item 3 new\", and is read only while the badge is\n * drawn.\n */\n badgeLabel?: string;\n /** The destination's name, drawn as its label. */\n children: ReactNode;\n /** A function may compute the class from the destination's render state. */\n className?: RACLinkProps['className'];\n /**\n * Where the destination goes, and what the bar's or the rail's\n * `selectedRoute` is matched against.\n */\n href: string;\n /** The destination's icon, at the pages' 24dp. */\n icon: ReactNode;\n /**\n * Whether this is the current destination, in place of matching its\n * `href` against the bar's or the rail's `selectedRoute`. Pass it for a\n * route nested under the destination, `/first/42` under `/first`, which\n * the exact match leaves without a current destination; `false` turns\n * the match off. Left out, the match decides.\n */\n isCurrent?: boolean;\n /** A function may compute the style from the destination's render state. */\n style?: RACLinkProps['style'];\n} & Omit<RACLinkProps, 'children' | 'className' | 'href' | 'style'>;\n\n// A destination's own classes, from React Aria's render state: the pill in a\n// horizontal form, and the layers over it.\nfunction itemClasses(form: NavigationForm, isCurrent: boolean) {\n const styles = FORMS[form];\n return (state: LinkRenderProps) => stylex.props(navigationItemStyles.link, navigationItemStyles.fade, styles.item, isCurrent && styles.itemCurrent, state.isHovered && (isCurrent ? styles.itemHoveredCurrent : styles.itemHovered), state.isFocusVisible && (isCurrent ? styles.itemFocusedCurrent : styles.itemFocused), state.isPressed && (isCurrent ? styles.itemPressedCurrent : styles.itemPressed), state.isFocusVisible && RINGS[form].item, state.isDisabled && navigationItemStyles.itemDisabled);\n}\n\n// What a destination draws, from React Aria's render state: the indicator\n// holding the icon and the press ripple, and the label beside or under it.\n// Built by a call rather than written inline at the prop, which is what\n// react-perf's no-new-function-as-prop is after.\n//\n// The ripple comes first, so a count badge drawn after it stays over it.\nfunction itemContent(form: NavigationForm, isCurrent: boolean, badge: boolean | number | undefined, icon: ReactNode, label: ReactNode, naming: Naming | undefined, ripple: ReactNode) {\n const styles = FORMS[form];\n const glyph = badge === undefined || badge === false ? icon : <BadgeMarkContext value={styles.badgeMark}>\n <Badge count={badge === true ? undefined : badge}>{icon}</Badge>\n </BadgeMarkContext>;\n return (state: LinkRenderProps) => <>\n <span {...stylex.props(navigationItemStyles.pill, navigationItemStyles.fade, styles.indicator, isCurrent && styles.indicatorCurrent, state.isHovered && (isCurrent ? styles.indicatorHoveredCurrent : styles.indicatorHovered), state.isFocusVisible && (isCurrent ? styles.indicatorFocusedCurrent : styles.indicatorFocused), state.isPressed && (isCurrent ? styles.indicatorPressedCurrent : styles.indicatorPressed), state.isFocusVisible && RINGS[form].indicator, state.isDisabled && navigationItemStyles.itemDisabled)}>\n {ripple}\n <span {...stylex.props(navigationItemStyles.icon)}>{glyph}</span>\n {naming && <span hidden id={naming.badgeId}>\n {naming.badgeLabel}\n </span>}\n </span>\n <NavigationLabel id={naming?.labelId} styling={stylex.props(navigationItemStyles.label, navigationItemStyles.fade, styles.label, isCurrent && styles.labelCurrent, state.isDisabled && navigationItemStyles.itemDisabled)}>\n {label}\n </NavigationLabel>\n </>;\n}\n\n/**\n * One destination in a navigation bar or rail: an icon, a label and, when\n * it is the current one, the active indicator behind them.\n */\nfunction NavigationItem({\n badge,\n badgeLabel,\n children,\n href,\n icon,\n isCurrent: isCurrentProp,\n onClick,\n onContextMenu,\n onPointerCancel,\n onPointerDown,\n onPointerLeave,\n onPointerUp,\n ...props\n}: NavigationItemProps & RefAttributes<HTMLAnchorElement>) {\n const {\n form,\n selectedRoute\n } = useContext(NavigationContext);\n // The call site's handlers run after the ripple's own.\n const ripple = useRipple<FocusableElement>(props.isDisabled !== true, {\n onClick,\n onContextMenu,\n onPointerCancel,\n onPointerDown,\n onPointerLeave,\n onPointerUp\n });\n const isCurrent = isCurrentProp ?? (selectedRoute !== undefined && href === selectedRoute);\n const labelId = useId();\n const badgeId = useId();\n // Only while the badge is drawn, and only where the call site names the\n // link no other way.\n const naming = badge !== undefined && badge !== false && badgeLabel !== undefined && props['aria-label'] === undefined && props['aria-labelledby'] === undefined ? {\n badgeId,\n badgeLabel,\n labelId\n } : undefined;\n return <li {...stylex.props(navigationListStyles.item, FORMS[form].listItem)}>\n <RACLink aria-current={isCurrent ? 'page' : undefined} aria-labelledby={naming && `${naming.labelId} ${naming.badgeId}`} href={href} {...ripple.handlers} {...props} {...mergeStatefulStyles(itemClasses(form, isCurrent), props)}>\n {itemContent(form, isCurrent, badge, icon, children, naming, ripple.surface)}\n </RACLink>\n </li>;\n}\n\n// The label, kept to one line, which shows its full text in the browser's\n// tooltip on hover once it is cut short — see `useClippedTitle`. A component\n// because the title is state, and `itemContent` runs inside React Aria's\n// render function.\nfunction NavigationLabel({\n children,\n id,\n styling\n}: {\n children: ReactNode;\n id: string | undefined;\n styling: ReturnType<typeof stylex.props>;\n}) {\n const clipped = useClippedTitle(children);\n return <span {...clipped} id={id} {...styling}>\n {children}\n </span>;\n}\n\n/**\n * The list a bar or a rail holds its destinations in, laid out as `layout`\n * says, the bar's row or the rail's column, with the space between them its\n * form's.\n */\nfunction NavigationList({\n children,\n layout\n}: {\n children: ReactNode;\n layout: stylex.StyleXStyles;\n}) {\n const {\n form\n } = useContext(NavigationContext);\n return <ul\n // oxlint-disable-next-line jsx-a11y/no-redundant-roles -- Safari's VoiceOver drops the role once the markers are cleared\n role=\"list\" {...stylex.props(navigationListStyles.list, layout, FORMS[form].list)}>\n {children}\n </ul>;\n}\nexport type { NavigationItemProps };\nexport { NavigationItem, NavigationList };"],"mappings":";;;;;;;;;;;;;;AA8CA,MAAMe,QAAQ;CACZC,KAAKP;CACLQ,YAAY;EACV,GAAGP;EACHQ,MAAMP,qBAAqBO;EAC3BC,MAAMR,qBAAqBQ;EAC3BC,UAAUT,qBAAqBS;CACjC;CACAC,WAAWX;CACXY,UAAUV;AACZ;AAOA,MAAMW,QAAQ;CACZP,KAAK;EACHQ,WAAWf,cAAcgB;EACzBP,MAAMT,cAAciB;CACtB;CACAT,YAAY;EACVO,WAAWlB,MAAMqB;EACjBT,MAAM;CACR;CACAG,WAAW;EACTG,WAAWlB,MAAMqB;EACjBT,MAAM;CACR;CACAI,UAAU;EACRE,WAAW;EACXN,MAAMZ,MAAMqB;CACd;AACF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AAA,OAAAU,IAAA;EAF1EC,KAAA,oBAAA,MAAA;GAEF,MAAA;GAAM,GAAKD;GACXnD;EACE,CAAA;EAAAyC,EAAA,KAAAzC;EAAAyC,EAAA,KAAAU;EAAAV,EAAA,KAAAW;CAAA,OAAAA,KAAAX,EAAA;CAAA,OAJAW;AAIA"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["stylex","useContext","useId","RACLink","useClippedTitle","useRipple","focus","mergeStatefulStyles","NavigationContext","barItemStyles","collapsedItemStyles","crampedBarItemStyles","expandedItemStyles","navigationItemStyles","navigationListStyles","FORMS","bar","barCramped","item","list","listItem","collapsed","expanded","RINGS","indicator","indicatorRing","ringWeight","itemRing","ringVisible","badgeId","badgeLabel","labelId","badge","children","href","icon","isCurrent","itemClasses","form","styles","state","props","link","fade","itemCurrent","isHovered","itemHoveredCurrent","itemHovered","isFocusVisible","itemFocusedCurrent","itemFocused","isPressed","itemPressedCurrent","itemPressed","isDisabled","itemDisabled","itemContent","label","naming","ripple","glyph","undefined","badgeMark","pill","indicatorCurrent","indicatorHoveredCurrent","indicatorHovered","indicatorFocusedCurrent","indicatorFocused","indicatorPressedCurrent","indicatorPressed","labelCurrent","NavigationItem","t0","$","_c","isCurrentProp","onClick","onContextMenu","onPointerCancel","onPointerDown","onPointerLeave","onPointerUp","selectedRoute","t1","t2","T0","t3","t4","t5","handlers","t6","t7","surface","t8","t9","NavigationLabel","id","styling","clipped","NavigationList","layout"],"sources":["../../src/navigation/index.tsx"],"sourcesContent":["import type { ReactNode, RefAttributes } from 'react';\nimport type { FocusableElement, LinkRenderProps, LinkProps as RACLinkProps } from 'react-aria-components';\nimport * as stylex from '@stylexjs/stylex';\nimport { useContext, useId } from 'react';\nimport { Link as RACLink } from 'react-aria-components';\nimport type { NavigationForm } from './context';\nimport { BadgeMarkContext } from '../badge';\nimport Badge from '../components/badge';\nimport { useClippedTitle } from '../hooks/useClippedTitle';\nimport { useRipple } from '../hooks/useRipple';\nimport { focus } from '../styles/focus';\nimport { mergeStatefulStyles } from '../styles/merge';\nimport { NavigationContext } from './context';\nimport { barItemStyles, collapsedItemStyles, crampedBarItemStyles, expandedItemStyles, navigationItemStyles, navigationListStyles } from './styles';\n\n// The destination NavigationBar and NavigationRail both render, and the\n// context each hands it: which of the three forms to draw and which route is\n// current. See ./styles.ts for the forms.\n//\n// A destination is a link — it goes somewhere, rather than selecting\n// something — so it is React Aria's `Link`, which routes through a\n// `RouterProvider` when an app has one. The current one is the one whose\n// `href` is the bar's or the rail's `selectedRoute`, the same matching\n// NavigationTree does, and it carries `aria-current=\"page\"`. A destination's\n// own `isCurrent` overrides that match, which is how an app on a route\n// nested under a destination marks the destination it is under: the match\n// is exact, and a top-level destination's `href` is rarely the whole route.\n// The attribute, the indicator and the label all read the one answer.\n//\n// A badge is hidden from assistive technology — see the Badge component for\n// why — so what it says reaches the link's name through `badgeLabel`: the\n// link is named by its label and that text together, through\n// `aria-labelledby`, rather than by an `aria-label` the call site would keep\n// in step with both the label and the count, in every language. The text\n// sits in a hidden span beside the badge, which a name can still be read\n// from, so the label's own text and the width the bar measures it at are\n// untouched. An `aria-label` or `aria-labelledby` the call site passes still\n// names the link instead.\n//\n// The destinations are a list, each in an item of its own, which is what has\n// a screen reader say how many there are and which one it is on, as the\n// WAI-ARIA navigation examples do. The bar and the rail draw the list, and\n// each destination draws its item: the item takes the destination's place in\n// the row or the column, and the link fills it, so the class, the ref and\n// `aria-current` stay on the link.\n\nconst FORMS = {\n bar: barItemStyles,\n barCramped: {\n ...collapsedItemStyles,\n item: crampedBarItemStyles.item,\n list: crampedBarItemStyles.list,\n listItem: crampedBarItemStyles.listItem\n },\n collapsed: collapsedItemStyles,\n expanded: expandedItemStyles\n};\n\n// The focus ring goes around the pill, wherever a form draws it: the\n// indicator in a vertical destination, the whole destination in a horizontal\n// one. The rail's two forms take the library's shared ring. The bar's pill\n// moves from one element to the other at the medium breakpoint, so its rings\n// are its own, each giving way at the width the other takes over. Each ring\n// takes `ringWeight` after it, which is what tells it from the current\n// destination's border under forced colours.\nconst RINGS = {\n bar: {\n indicator: [barItemStyles.indicatorRing, navigationItemStyles.ringWeight],\n item: [barItemStyles.itemRing, navigationItemStyles.ringWeight]\n },\n barCramped: {\n indicator: [focus.ringVisible, navigationItemStyles.ringWeight],\n item: null\n },\n collapsed: {\n indicator: [focus.ringVisible, navigationItemStyles.ringWeight],\n item: null\n },\n expanded: {\n indicator: null,\n item: [focus.ringVisible, navigationItemStyles.ringWeight]\n }\n};\n\n// The ids a destination naming its badge gives its label and the badge's\n// words, which its link is labelled by.\ntype Naming = {\n badgeId: string;\n badgeLabel: string;\n labelId: string;\n};\ntype NavigationItemProps = {\n /**\n * A badge on the icon: `true` for the badges page's small dot, a number\n * for the large badge holding it. The badge is hidden from assistive\n * technology, so say what it says in `badgeLabel`.\n */\n badge?: boolean | number;\n /**\n * What the badge says, in words and in the reader's language — \"3 new\",\n * or \"new\" for the dot. It follows the label in the destination's\n * accessible name, \"First item 3 new\", and is read only while the badge is\n * drawn.\n */\n badgeLabel?: string;\n /** The destination's name, drawn as its label. */\n children: ReactNode;\n /** A function may compute the class from the destination's render state. */\n className?: RACLinkProps['className'];\n /**\n * Where the destination goes, and what the bar's or the rail's\n * `selectedRoute` is matched against.\n */\n href: string;\n /** The destination's icon, at the pages' 24dp. */\n icon: ReactNode;\n /**\n * Whether this is the current destination, in place of matching its\n * `href` against the bar's or the rail's `selectedRoute`. Pass it for a\n * route nested under the destination, `/first/42` under `/first`, which\n * the exact match leaves without a current destination; `false` turns\n * the match off. Left out, the match decides.\n */\n isCurrent?: boolean;\n /** A function may compute the style from the destination's render state. */\n style?: RACLinkProps['style'];\n} & Omit<RACLinkProps, 'children' | 'className' | 'href' | 'style'>;\n\n// A destination's own classes, from React Aria's render state: the pill in a\n// horizontal form, and the layers over it.\nfunction itemClasses(form: NavigationForm, isCurrent: boolean) {\n const styles = FORMS[form];\n return (state: LinkRenderProps) => stylex.props(navigationItemStyles.link, navigationItemStyles.fade, styles.item, isCurrent && styles.itemCurrent, state.isHovered && (isCurrent ? styles.itemHoveredCurrent : styles.itemHovered), state.isFocusVisible && (isCurrent ? styles.itemFocusedCurrent : styles.itemFocused), state.isPressed && (isCurrent ? styles.itemPressedCurrent : styles.itemPressed), state.isFocusVisible && RINGS[form].item, state.isDisabled && navigationItemStyles.itemDisabled);\n}\n\n// What a destination draws, from React Aria's render state: the indicator\n// holding the icon and the press ripple, and the label beside or under it.\n// Built by a call rather than written inline at the prop, which is what\n// react-perf's no-new-function-as-prop is after.\n//\n// The ripple comes first, so a count badge drawn after it stays over it.\nfunction itemContent(form: NavigationForm, isCurrent: boolean, badge: boolean | number | undefined, icon: ReactNode, label: ReactNode, naming: Naming | undefined, ripple: ReactNode) {\n const styles = FORMS[form];\n const glyph = badge === undefined || badge === false ? icon : <BadgeMarkContext value={styles.badgeMark}>\n <Badge count={badge === true ? undefined : badge}>{icon}</Badge>\n </BadgeMarkContext>;\n return (state: LinkRenderProps) => <>\n <span {...stylex.props(navigationItemStyles.pill, navigationItemStyles.fade, styles.indicator, isCurrent && styles.indicatorCurrent, state.isHovered && (isCurrent ? styles.indicatorHoveredCurrent : styles.indicatorHovered), state.isFocusVisible && (isCurrent ? styles.indicatorFocusedCurrent : styles.indicatorFocused), state.isPressed && (isCurrent ? styles.indicatorPressedCurrent : styles.indicatorPressed), state.isFocusVisible && RINGS[form].indicator, state.isDisabled && navigationItemStyles.itemDisabled)}>\n {ripple}\n <span {...stylex.props(navigationItemStyles.icon)}>{glyph}</span>\n {naming && <span hidden id={naming.badgeId}>\n {naming.badgeLabel}\n </span>}\n </span>\n <NavigationLabel id={naming?.labelId} styling={stylex.props(navigationItemStyles.label, navigationItemStyles.fade, styles.label, isCurrent && styles.labelCurrent, state.isDisabled && navigationItemStyles.itemDisabled)}>\n {label}\n </NavigationLabel>\n </>;\n}\n\n/**\n * One destination in a navigation bar or rail: an icon, a label and, when\n * it is the current one, the active indicator behind them.\n */\nfunction NavigationItem({\n badge,\n badgeLabel,\n children,\n href,\n icon,\n isCurrent: isCurrentProp,\n onClick,\n onContextMenu,\n onPointerCancel,\n onPointerDown,\n onPointerLeave,\n onPointerUp,\n ...props\n}: NavigationItemProps & RefAttributes<HTMLAnchorElement>) {\n const {\n form,\n selectedRoute\n } = useContext(NavigationContext);\n // The call site's handlers run after the ripple's own.\n const ripple = useRipple<FocusableElement>(props.isDisabled !== true, {\n onClick,\n onContextMenu,\n onPointerCancel,\n onPointerDown,\n onPointerLeave,\n onPointerUp\n });\n const isCurrent = isCurrentProp ?? (selectedRoute !== undefined && href === selectedRoute);\n const labelId = useId();\n const badgeId = useId();\n // Only while the badge is drawn, and only where the call site names the\n // link no other way.\n const naming = badge !== undefined && badge !== false && badgeLabel !== undefined && props['aria-label'] === undefined && props['aria-labelledby'] === undefined ? {\n badgeId,\n badgeLabel,\n labelId\n } : undefined;\n return <li {...stylex.props(navigationListStyles.item, FORMS[form].listItem)}>\n <RACLink aria-current={isCurrent ? 'page' : undefined} aria-labelledby={naming && `${naming.labelId} ${naming.badgeId}`} href={href} {...ripple.handlers} {...props} {...mergeStatefulStyles(itemClasses(form, isCurrent), props)}>\n {itemContent(form, isCurrent, badge, icon, children, naming, ripple.surface)}\n </RACLink>\n </li>;\n}\n\n// The label, kept to one line, which shows its full text in the browser's\n// tooltip on hover once it is cut short — see `useClippedTitle`. A component\n// because the title is state, and `itemContent` runs inside React Aria's\n// render function.\nfunction NavigationLabel({\n children,\n id,\n styling\n}: {\n children: ReactNode;\n id: string | undefined;\n styling: ReturnType<typeof stylex.props>;\n}) {\n const clipped = useClippedTitle(children);\n return <span {...clipped} id={id} {...styling}>\n {children}\n </span>;\n}\n\n/**\n * The list a bar or a rail holds its destinations in, laid out as `layout`\n * says, the bar's row or the rail's column, with the space between them its\n * form's.\n */\nfunction NavigationList({\n children,\n layout\n}: {\n children: ReactNode;\n layout: stylex.StyleXStyles;\n}) {\n const {\n form\n } = useContext(NavigationContext);\n return <ul\n // oxlint-disable-next-line jsx-a11y/no-redundant-roles -- Safari's VoiceOver drops the role once the markers are cleared\n role=\"list\" {...stylex.props(navigationListStyles.list, layout, FORMS[form].list)}>\n {children}\n </ul>;\n}\nexport type { NavigationItemProps };\nexport { NavigationItem, NavigationList };"],"mappings":";;;;;;;;;;;;;;AA8CA,MAAMe,QAAQ;CACZC,KAAKP;CACLQ,YAAY;EACV,GAAGP;EACHQ,MAAMP,qBAAqBO;EAC3BC,MAAMR,qBAAqBQ;EAC3BC,UAAUT,qBAAqBS;CACjC;CACAC,WAAWX;CACXY,UAAUV;AACZ;AASA,MAAMW,QAAQ;CACZP,KAAK;EACHQ,WAAW,CAACf,cAAcgB,eAAeZ,qBAAqBa,UAAU;EACxER,MAAM,CAACT,cAAckB,UAAUd,qBAAqBa,UAAU;CAChE;CACAT,YAAY;EACVO,WAAW,CAAClB,MAAMsB,aAAaf,qBAAqBa,UAAU;EAC9DR,MAAM;CACR;CACAG,WAAW;EACTG,WAAW,CAAClB,MAAMsB,aAAaf,qBAAqBa,UAAU;EAC9DR,MAAM;CACR;CACAI,UAAU;EACRE,WAAW;EACXN,MAAM,CAACZ,MAAMsB,aAAaf,qBAAqBa,UAAU;CAC3D;AACF;AAgDA,SAASW,YAAYC,MAAsBF,WAAoB;CAC7D,MAAMG,SAASxB,MAAMuB;CACrB,QAAQE,UAA2BxC,MAAaa,qBAAqB6B,MAAM7B,qBAAqB8B,MAAMJ,OAAOrB,MAAMkB,aAAaG,OAAOK,aAAaJ,MAAMK,cAAcT,YAAYG,OAAOO,qBAAqBP,OAAOQ,cAAcP,MAAMQ,mBAAmBZ,YAAYG,OAAOU,qBAAqBV,OAAOW,cAAcV,MAAMW,cAAcf,YAAYG,OAAOa,qBAAqBb,OAAOc,cAAcb,MAAMQ,kBAAkBzB,MAAMe,KAAK,CAACpB,MAAMsB,MAAMc,cAAczC,qBAAqB0C,YAAY;AAC7e;AAQA,SAASC,YAAYlB,MAAsBF,WAAoBJ,OAAqCG,MAAiBsB,OAAkBC,QAA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yB,WAAAzB,EAAA,OAAAuB,MAAAvB,EAAA,OAAAwB,SAAA;EACnCd,KAAA,oBAAA,QAAA;GAEE,GAFQe;GAAaF;GAAE,GAAMC;GACjCjE;EACI,CAAA;EAAAyC,EAAA,KAAAzC;EAAAyC,EAAA,KAAAyB;EAAAzB,EAAA,KAAAuB;EAAAvB,EAAA,KAAAwB;EAAAxB,EAAA,KAAAU;CAAA,OAAAA,KAAAV,EAAA;CAAA,OAFFU;AAEE;;;;;;AAQX,SAAAgB,eAAA3B,IAAA;CAAA,MAAAC,IAAAC,EAAA,CAAA;CAAwB,MAAA,EAAA1C,UAAAoE,WAAA5B;CAOtB,MAAA,EAAAnC,SAEIrC,WAAWO,iBAAiB;CAAE,IAAA4E;CAAA,IAAAV,EAAA,OAAApC,QAAAoC,EAAA,OAAA2B,QAAA;EAGlBjB,KAAApF,MAAac,qBAAoBK,MAAOkF,QAAQtF,MAAMuB,KAAK,CAAAnB,IAAK;EAACuD,EAAA,KAAApC;EAAAoC,EAAA,KAAA2B;EAAA3B,EAAA,KAAAU;CAAA,OAAAA,KAAAV,EAAA;CAAA,IAAAW;CAAA,IAAAX,EAAA,OAAAzC,YAAAyC,EAAA,OAAAU,IAAA;EAF1EC,KAAA,oBAAA,MAAA;GAEF,MAAA;GAAM,GAAKD;GACXnD;EACE,CAAA;EAAAyC,EAAA,KAAAzC;EAAAyC,EAAA,KAAAU;EAAAV,EAAA,KAAAW;CAAA,OAAAA,KAAAX,EAAA;CAAA,OAJAW;AAIA"}
|
|
@@ -50,6 +50,10 @@ const navigationItemStyles = {
|
|
|
50
50
|
kB7OPa: "x9f619",
|
|
51
51
|
kMwMTN: "x1w5n3ug",
|
|
52
52
|
$$css: true
|
|
53
|
+
},
|
|
54
|
+
ringWeight: {
|
|
55
|
+
kMeerF: "x1de99jn xlqle6p",
|
|
56
|
+
$$css: true
|
|
53
57
|
}
|
|
54
58
|
};
|
|
55
59
|
const navigationListStyles = {
|
|
@@ -141,7 +145,7 @@ const barItemStyles = {
|
|
|
141
145
|
kAzted: "x8nclml xtyuij1",
|
|
142
146
|
k7Eaqz: "xeuugli",
|
|
143
147
|
k8WAf4: "x1t0vds8 x1nouyz5",
|
|
144
|
-
kg3NbH: "
|
|
148
|
+
kg3NbH: "ximhkdq xze1m75",
|
|
145
149
|
$$css: true
|
|
146
150
|
},
|
|
147
151
|
itemCurrent: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":["colors","stateLayerOpacity","onSecondaryContainer","hover","focus","pressed","secondaryContainer","navigationItemStyles","fade","kIyJzY","k1ekBW","kAMwcw","$$css","icon","kGNEyG","k1xSpc","kGuDYH","kjj79g","itemDisabled","kMwMTN","kkrTdU","label","kXHlph","kORKVm","kg5iWk","khDVqt","link","kB7OPa","k3XXqK","kVAEAm","kMnn75","pill","kWkggS","kaIpWk","navigationListStyles","item","list","kH6xsr","kogj98","kmVPX3","barItemStyles","badgeMark","kSGwAc","kLqNvP","keTefX","indicator","kZKoxP","kmuXW","kzqmXN","indicatorCurrent","kVAM5u","ksu8eU","kMzoRj","indicatorFocused","indicatorFocusedCurrent","indicatorHovered","indicatorHoveredCurrent","indicatorPressed","indicatorPressedCurrent","indicatorRing","kjBf7l","kInvED","kMeerF","k5JduY","kSy8m5","kcktkL","kwXMNM","kCS8Yb","kXwgrk","kzQI83","kOIVth","kqGvvJ","kAzted","k7Eaqz","k8WAf4","kg3NbH","itemCurrent","itemFocused","itemFocusedCurrent","itemHovered","itemHoveredCurrent","itemPressed","itemPressedCurrent","itemRing","kMv6JI","k63SB2","kb6lSQ","kLWn49","ks0D6T","labelCurrent","listItem","collapsedItemStyles","expandedItemStyles","crampedBarItemStyles"],"sources":["../../src/navigation/styles.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\nimport '../tokens/design.tokens.stylex';\nimport { colors, media, motion, radii, spacing, stateLayerOpacity, typography } from '../tokens/design.tokens.stylex';\n\n// The destinations NavigationBar and NavigationRail both draw, in the three\n// forms the two pages give them. Apart from either component so the two\n// cannot drift, and outside `src/components` for the reason src/row gives.\n//\n// A vertical destination puts its icon in the page's 56dp by 32dp active\n// indicator with the label 4dp under it, in label medium: the navigation bar\n// below the medium breakpoint, and the collapsed rail. A horizontal one is a\n// pill holding the icon and the label side by side, 16dp in at either end:\n// the bar at and above the medium breakpoint at 40dp with 4dp between the\n// two, and the expanded rail at 56dp with 8dp between them, in label large.\n//\n// The current destination's pill is the secondary container, with its icon\n// in on secondary container and, under the pill, its label in secondary;\n// every other is on surface variant. A label set inside the pill, as a\n// horizontal destination sets it, takes on secondary container instead — the\n// library's own call. Secondary over secondary container is not a pair a\n// scheme is held to, and the Poster scheme's came to 4:1, short of the 4.5:1\n// text needs; on secondary container is the pair every scheme guarantees.\n//\n// The hover, focus and pressed layers are the on secondary container role\n// over whatever the pill is, at the pages' 8%, 10% and 10%, drawn on the\n// pill — the indicator in a vertical destination, the whole destination in a\n// horizontal one. They are applied in that order, so where two hold the\n// later wins, as the pages draw one layer at a time. A focused destination's\n// ring goes around the same pill; ./index.tsx says whose ring it is.\n//\n// A change from one of those states to another fades, over the pages' short\n// duration on the standard curve, rather than landing in one frame. A press\n// also draws the library's ripple over the pressed layer, clipped to the\n// pill: inside the indicator in a vertical destination, which positions it,\n// and across the whole destination in a horizontal one, whose indicator is\n// left unpositioned so the ripple fills the link and takes the indicator's\n// pill corner.\n//\n// Under forced colours the mode paints the secondary container over in its\n// background, which left the current destination looking like every other.\n// The pill takes a 2px border in `Highlight` there, which the mode keeps.\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)';\n\n// The pill's ground and the layers over it, written out whole for each\n// ground, since StyleX replaces a property whole.\nconst HOVERED_OVER_NOTHING = `color-mix(in srgb, ${colors.onSecondaryContainer} calc(${stateLayerOpacity.hover} * 100%), transparent)`;\nconst FOCUSED_OVER_NOTHING = `color-mix(in srgb, ${colors.onSecondaryContainer} calc(${stateLayerOpacity.focus} * 100%), transparent)`;\nconst PRESSED_OVER_NOTHING = `color-mix(in srgb, ${colors.onSecondaryContainer} calc(${stateLayerOpacity.pressed} * 100%), transparent)`;\nconst HOVERED_OVER_CURRENT = `color-mix(in srgb, ${colors.onSecondaryContainer} calc(${stateLayerOpacity.hover} * 100%), ${colors.secondaryContainer})`;\nconst FOCUSED_OVER_CURRENT = `color-mix(in srgb, ${colors.onSecondaryContainer} calc(${stateLayerOpacity.focus} * 100%), ${colors.secondaryContainer})`;\nconst PRESSED_OVER_CURRENT = `color-mix(in srgb, ${colors.onSecondaryContainer} calc(${stateLayerOpacity.pressed} * 100%), ${colors.secondaryContainer})`;\n\n// What every destination draws whatever its form.\nconst navigationItemStyles = {\n fade: {\n kIyJzY: \"x1qno0dh x12w9bfk\",\n k1ekBW: \"xs2xxs2\",\n kAMwcw: \"xpc4ca7\",\n $$css: true\n },\n icon: {\n kGNEyG: \"x6s0dn4\",\n k1xSpc: \"x78zum5\",\n kGuDYH: \"x1pvqxga\",\n kjj79g: \"xl56j7k\",\n $$css: true\n },\n itemDisabled: {\n kMwMTN: \"x1gpw424 x1bhcspo\",\n kkrTdU: \"xt0e3qv\",\n $$css: true\n },\n label: {\n kMwMTN: \"x1w5n3ug\",\n kXHlph: \"x101abm8\",\n kORKVm: \"xryxfnj\",\n kg5iWk: \"xlyipyv\",\n khDVqt: \"xuxw1ft\",\n $$css: true\n },\n link: {\n kGNEyG: \"x6s0dn4\",\n kB7OPa: \"x9f619\",\n kMwMTN: \"x1w5n3ug\",\n kkrTdU: \"x1ypdohk\",\n k1xSpc: \"x78zum5\",\n k3XXqK: \"x1t137rt\",\n kVAEAm: \"x1n2onr6\",\n kMnn75: \"xkrqix3\",\n $$css: true\n },\n pill: {\n kWkggS: \"xjbqb8w\",\n kaIpWk: \"x1dkaolv\",\n kB7OPa: \"x9f619\",\n kMwMTN: \"x1w5n3ug\",\n $$css: true\n }\n};\n\n// The list a bar or a rail holds its destinations in, and the item each\n// destination sits in — see `NavigationList` in ./index.tsx. The list clears\n// the margin, padding and markers a `<ul>` comes with, and each form gives\n// the space between its destinations as its `list`. The item takes the\n// destination's place in the bar's row or the rail's column, which each form\n// gives as its `listItem`, and the link fills it.\nconst navigationListStyles = {\n item: {\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n $$css: true\n },\n list: {\n kB7OPa: \"x9f619\",\n kH6xsr: \"x3ct3a4\",\n kogj98: \"x1ghz6dp\",\n kmVPX3: \"x1717udv\",\n $$css: true\n }\n};\n\n// The pages' least touch target, which a horizontal bar destination's 40dp\n// pill falls short of.\nconst TARGET_SIZE = '48px';\n\n// The navigation bar page's 64dp row, and the 40dp pill a horizontal\n// destination draws inside it.\nconst BAR_ROW = '64px';\nconst PILL = '40px';\n\n// The navigation bar's destination: vertical below the medium breakpoint and\n// horizontal at it and above, so every value that differs is a pair.\nconst barItemStyles = {\n badgeMark: {\n kSGwAc: \"xcspwbw\",\n kLqNvP: \"xty0069 x19sl9hu\",\n keTefX: \"xhi6r6q\",\n kVAEAm: \"x10l6tqk x15m4ytg\",\n $$css: true\n },\n indicator: {\n kGNEyG: \"x6s0dn4\",\n kZKoxP: \"x10w6t97 x10qpgbh\",\n kaIpWk: \"x1dkaolv\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n kmuXW: \"x2lah0s\",\n kzqmXN: \"x15yg21f x11lewyt\",\n kjj79g: \"xl56j7k\",\n kVAEAm: \"x1n2onr6 xtke4eg\",\n $$css: true\n },\n indicatorCurrent: {\n kWkggS: \"x15dekr4 x8jqrm0\",\n kVAM5u: \"x1n2ykn\",\n ksu8eU: \"xx61lck xnqlxux\",\n kMzoRj: \"x2h6xq1\",\n kMwMTN: \"x1sawysd\",\n $$css: true\n },\n indicatorFocused: {\n kWkggS: \"x1syr9su x8jqrm0\",\n $$css: true\n },\n indicatorFocusedCurrent: {\n kWkggS: \"x1s5x49g x8jqrm0\",\n $$css: true\n },\n indicatorHovered: {\n kWkggS: \"x173luhf x8jqrm0\",\n $$css: true\n },\n indicatorHoveredCurrent: {\n kWkggS: \"x1fctxn6 x8jqrm0\",\n $$css: true\n },\n indicatorPressed: {\n kWkggS: \"x1rydsgj x8jqrm0\",\n $$css: true\n },\n indicatorPressedCurrent: {\n kWkggS: \"xzpauq9 x8jqrm0\",\n $$css: true\n },\n indicatorRing: {\n kjBf7l: \"xrgy624\",\n kInvED: \"x1hl8ikr\",\n k3XXqK: \"xaatb59 x1t601oj\",\n kMeerF: \"x1de99jn\",\n $$css: true\n },\n item: {\n k5JduY: \"x1ktxc2h\",\n kSy8m5: \"xfmxh57\",\n kcktkL: \"xb7ltuz\",\n kwXMNM: \"x1j6awrg\",\n kZKoxP: \"xiioxts\",\n kaIpWk: \"x1dkaolv\",\n kCS8Yb: \"x1r8uery x1a6ly76\",\n kXwgrk: \"xdt5ytf xapwh9g\",\n kzQI83: \"x1iyjqo2 x10cb59y\",\n kOIVth: \"xzoy561\",\n kjj79g: \"xl56j7k\",\n kqGvvJ: \"x10im51j xap7i12\",\n kAzted: \"x8nclml xtyuij1\",\n k7Eaqz: \"xeuugli\",\n k8WAf4: \"x1t0vds8 x1nouyz5\",\n kg3NbH: \"xnjsko4 xze1m75\",\n $$css: true\n },\n itemCurrent: {\n kWkggS: \"xjbqb8w x1xec0pq\",\n kVAM5u: \"x1n2ykn\",\n ksu8eU: \"x1xldtvv x1wx4lrg\",\n kMzoRj: \"x2h6xq1\",\n $$css: true\n },\n itemFocused: {\n kWkggS: \"xjbqb8w xdodzsd\",\n $$css: true\n },\n itemFocusedCurrent: {\n kWkggS: \"xjbqb8w xnmt8re\",\n $$css: true\n },\n itemHovered: {\n kWkggS: \"xjbqb8w xdenq60\",\n $$css: true\n },\n itemHoveredCurrent: {\n kWkggS: \"xjbqb8w xjq3nej\",\n $$css: true\n },\n itemPressed: {\n kWkggS: \"xjbqb8w x7fq6vu\",\n $$css: true\n },\n itemPressedCurrent: {\n kWkggS: \"xjbqb8w x9wewpu\",\n $$css: true\n },\n itemRing: {\n kjBf7l: \"xrgy624\",\n kInvED: \"x1hl8ikr\",\n k3XXqK: \"x1t137rt xxgb522\",\n kMeerF: \"x1de99jn\",\n $$css: true\n },\n label: {\n kMv6JI: \"xp6n8n2\",\n kGuDYH: \"xkucv67\",\n k63SB2: \"x14hhc5u\",\n kb6lSQ: \"x12utw95\",\n kLWn49: \"xvzb9hk\",\n ks0D6T: \"x193iq5w\",\n $$css: true\n },\n labelCurrent: {\n kMwMTN: \"xzakmg9 x16ybrrz\",\n $$css: true\n },\n list: {\n kOIVth: \"xxhr3t x110hqo6\",\n $$css: true\n },\n listItem: {\n kCS8Yb: \"x1r8uery x1a6ly76\",\n kzQI83: \"x1iyjqo2 x10cb59y\",\n k7Eaqz: \"xeuugli\",\n $$css: true\n }\n};\n\n// The collapsed rail's destination: always vertical, the pitch from one to\n// the next the rail's 4dp gap.\nconst collapsedItemStyles = {\n badgeMark: {\n $$css: true\n },\n indicator: {\n kGNEyG: \"x6s0dn4\",\n kZKoxP: \"x10w6t97\",\n kaIpWk: \"x1dkaolv\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n kmuXW: \"x2lah0s\",\n kzqmXN: \"x15yg21f\",\n kjj79g: \"xl56j7k\",\n kVAEAm: \"x1n2onr6\",\n $$css: true\n },\n indicatorCurrent: {\n kWkggS: \"x15dekr4\",\n kVAM5u: \"x1n2ykn\",\n ksu8eU: \"xx61lck\",\n kMzoRj: \"x2h6xq1\",\n kMwMTN: \"x1sawysd\",\n $$css: true\n },\n indicatorFocused: {\n kWkggS: \"x1syr9su\",\n $$css: true\n },\n indicatorFocusedCurrent: {\n kWkggS: \"x1s5x49g\",\n $$css: true\n },\n indicatorHovered: {\n kWkggS: \"x173luhf\",\n $$css: true\n },\n indicatorHoveredCurrent: {\n kWkggS: \"x1fctxn6\",\n $$css: true\n },\n indicatorPressed: {\n kWkggS: \"x1rydsgj\",\n $$css: true\n },\n indicatorPressedCurrent: {\n kWkggS: \"xzpauq9\",\n $$css: true\n },\n item: {\n kXwgrk: \"xdt5ytf\",\n kmuXW: \"x2lah0s\",\n kOIVth: \"xzoy561\",\n kzqmXN: \"xh8yej3\",\n kjj79g: \"xl56j7k\",\n k8WAf4: \"x1t0vds8\",\n kg3NbH: \"ximhkdq\",\n $$css: true\n },\n itemCurrent: {\n $$css: true\n },\n itemFocused: {\n $$css: true\n },\n itemFocusedCurrent: {\n $$css: true\n },\n itemHovered: {\n $$css: true\n },\n itemHoveredCurrent: {\n $$css: true\n },\n itemPressed: {\n $$css: true\n },\n itemPressedCurrent: {\n $$css: true\n },\n label: {\n kMv6JI: \"xp6n8n2\",\n kGuDYH: \"xkucv67\",\n k63SB2: \"x14hhc5u\",\n kb6lSQ: \"x12utw95\",\n kLWn49: \"xvzb9hk\",\n ks0D6T: \"x193iq5w\",\n $$css: true\n },\n labelCurrent: {\n kMwMTN: \"xzakmg9\",\n $$css: true\n },\n list: {\n kOIVth: \"xzoy561\",\n $$css: true\n },\n listItem: {\n kmuXW: \"x2lah0s\",\n kzqmXN: \"xh8yej3\",\n $$css: true\n }\n};\n\n// The expanded rail's destination: always horizontal, a 56dp pill as wide as\n// what it holds.\nconst expandedItemStyles = {\n badgeMark: {\n kSGwAc: \"xqcrz7y\",\n kLqNvP: \"x1o0tod\",\n keTefX: \"x18xomjl\",\n kVAEAm: \"x1n2onr6\",\n $$css: true\n },\n indicator: {\n kGNEyG: \"x6s0dn4\",\n k1xSpc: \"x78zum5\",\n kmuXW: \"x2lah0s\",\n $$css: true\n },\n indicatorCurrent: {\n kMwMTN: \"x1sawysd\",\n $$css: true\n },\n indicatorFocused: {\n $$css: true\n },\n indicatorFocusedCurrent: {\n $$css: true\n },\n indicatorHovered: {\n $$css: true\n },\n indicatorHoveredCurrent: {\n $$css: true\n },\n indicatorPressed: {\n $$css: true\n },\n indicatorPressedCurrent: {\n $$css: true\n },\n item: {\n kSGwAc: \"xqcrz7y\",\n kZKoxP: \"xnnlda6\",\n kaIpWk: \"x1dkaolv\",\n kXwgrk: \"x1q0g3np\",\n kmuXW: \"x2lah0s\",\n kOIVth: \"x126z3so\",\n ks0D6T: \"x193iq5w\",\n kg3NbH: \"x790zyz\",\n $$css: true\n },\n itemCurrent: {\n kWkggS: \"x15dekr4\",\n kVAM5u: \"x1n2ykn\",\n ksu8eU: \"xx61lck\",\n kMzoRj: \"x2h6xq1\",\n $$css: true\n },\n itemFocused: {\n kWkggS: \"x1syr9su\",\n $$css: true\n },\n itemFocusedCurrent: {\n kWkggS: \"x1s5x49g\",\n $$css: true\n },\n itemHovered: {\n kWkggS: \"x173luhf\",\n $$css: true\n },\n itemHoveredCurrent: {\n kWkggS: \"x1fctxn6\",\n $$css: true\n },\n itemPressed: {\n kWkggS: \"x1rydsgj\",\n $$css: true\n },\n itemPressedCurrent: {\n kWkggS: \"xzpauq9\",\n $$css: true\n },\n label: {\n kMv6JI: \"xkknnkr\",\n kGuDYH: \"x14zspaw\",\n k63SB2: \"x1v9cpvo\",\n kb6lSQ: \"x155f00i\",\n kLWn49: \"x1lz68p4\",\n $$css: true\n },\n labelCurrent: {\n kMwMTN: \"x1sawysd\",\n $$css: true\n },\n list: {\n $$css: true\n },\n listItem: {\n kSGwAc: \"xqcrz7y\",\n kmuXW: \"x2lah0s\",\n ks0D6T: \"x193iq5w\",\n $$css: true\n }\n};\n\n// The bar's destination when the bar is too narrow for its horizontal form\n// at a width that would otherwise draw it — see NavigationBar. Vertical at\n// every width: the bar's own vertical item, with the collapsed rail's\n// indicator, label and badge placement, which are the bar's vertical ones.\nconst crampedBarItemStyles = {\n item: {\n kZKoxP: \"x5yr21d\",\n kaIpWk: \"x1dkaolv\",\n kCS8Yb: \"x1r8uery\",\n kXwgrk: \"xdt5ytf\",\n kzQI83: \"x1iyjqo2\",\n kOIVth: \"xzoy561\",\n kjj79g: \"xl56j7k\",\n k7Eaqz: \"xeuugli\",\n k8WAf4: \"x1t0vds8\",\n kg3NbH: \"xnjsko4\",\n $$css: true\n },\n list: {\n kOIVth: \"xxhr3t\",\n $$css: true\n },\n listItem: {\n kCS8Yb: \"x1r8uery\",\n kzQI83: \"x1iyjqo2\",\n k7Eaqz: \"xeuugli\",\n $$css: true\n }\n};\nexport { barItemStyles, collapsedItemStyles, crampedBarItemStyles, expandedItemStyles, navigationItemStyles, navigationListStyles };"],"mappings":";;AAkD6B,GAAsBA,OAAOE,uBAA6BD,kBAAkBE;AAC5E,GAAsBH,OAAOE,uBAA6BD,kBAAkBG;AAC5E,GAAsBJ,OAAOE,uBAA6BD,kBAAkBI;AAC5E,GAAsBL,OAAOE,uBAA6BD,kBAAkBE,QAAkBH,OAAOM;AACrG,GAAsBN,OAAOE,uBAA6BD,kBAAkBG,QAAkBJ,OAAOM;AACrG,GAAsBN,OAAOE,uBAA6BD,kBAAkBI,UAAoBL,OAAOM;AAGpI,MAAMC,uBAAuB;CAC3BC,MAAM;EACJC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,OAAO;CACT;CACAC,MAAM;EACJC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRL,OAAO;CACT;CACAM,cAAc;EACZC,QAAQ;EACRC,QAAQ;EACRR,OAAO;CACT;CACAS,OAAO;EACLF,QAAQ;EACRG,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRb,OAAO;CACT;CACAc,MAAM;EACJZ,QAAQ;EACRa,QAAQ;EACRR,QAAQ;EACRC,QAAQ;EACRL,QAAQ;EACRa,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRlB,OAAO;CACT;CACAmB,MAAM;EACJC,QAAQ;EACRC,QAAQ;EACRN,QAAQ;EACRR,QAAQ;EACRP,OAAO;CACT;AACF;AAQA,MAAMsB,uBAAuB;CAC3BC,MAAM;EACJR,QAAQ;EACRZ,QAAQ;EACRH,OAAO;CAC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AQ;EACRC,QAAQ;EACRxC,OAAO;CACT;CACAiE,aAAa;EACX7C,QAAQ;EACRpB,OAAO;CACT;CACAkE,oBAAoB;EAClB9C,QAAQ;EACRpB,OAAO;CACT;CACAmE,aAAa;EACX/C,QAAQ;EACRpB,OAAO;CACT;CACAoE,oBAAoB;EAClBhD,QAAQ;EACRpB,OAAO;CACT;CACAqE,aAAa;EACXjD,QAAQ;EACRpB,OAAO;CACT;CACAsE,oBAAoB;EAClBlD,QAAQ;EACRpB,OAAO;CACT;CACAS,OAAO;EACL+D,QAAQ;EACRpE,QAAQ;EACRqE,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACR3E,OAAO;CACT;CACA6E,cAAc;EACZtE,QAAQ;EACRP,OAAO;CACT;CACAwB,MAAM,EACJxB,OAAO,KACT;CACA8E,UAAU;EACRhD,QAAQ;EACRK,OAAO;EACPyC,QAAQ;EACR5E,OAAO;CACT;AACF;AAMA,MAAMiF,uBAAuB;CAC3B1D,MAAM;EACJW,QAAQ;EACRb,QAAQ;EACRkC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRrD,QAAQ;EACRwD,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACR/D,OAAO;CACT;CACAwB,MAAM;EACJkC,QAAQ;EACR1D,OAAO;CACT;CACA8E,UAAU;EACRvB,QAAQ;EACRE,QAAQ;EACRI,QAAQ;EACR7D,OAAO;CACT;AACF"}
|
|
1
|
+
{"version":3,"file":"styles.js","names":["colors","stateLayerOpacity","onSecondaryContainer","hover","focus","pressed","secondaryContainer","navigationItemStyles","fade","kIyJzY","k1ekBW","kAMwcw","$$css","icon","kGNEyG","k1xSpc","kGuDYH","kjj79g","itemDisabled","kMwMTN","kkrTdU","label","kXHlph","kORKVm","kg5iWk","khDVqt","link","kB7OPa","k3XXqK","kVAEAm","kMnn75","pill","kWkggS","kaIpWk","ringWeight","kMeerF","navigationListStyles","item","list","kH6xsr","kogj98","kmVPX3","barItemStyles","badgeMark","kSGwAc","kLqNvP","keTefX","indicator","kZKoxP","kmuXW","kzqmXN","indicatorCurrent","kVAM5u","ksu8eU","kMzoRj","indicatorFocused","indicatorFocusedCurrent","indicatorHovered","indicatorHoveredCurrent","indicatorPressed","indicatorPressedCurrent","indicatorRing","kjBf7l","kInvED","k5JduY","kSy8m5","kcktkL","kwXMNM","kCS8Yb","kXwgrk","kzQI83","kOIVth","kqGvvJ","kAzted","k7Eaqz","k8WAf4","kg3NbH","itemCurrent","itemFocused","itemFocusedCurrent","itemHovered","itemHoveredCurrent","itemPressed","itemPressedCurrent","itemRing","kMv6JI","k63SB2","kb6lSQ","kLWn49","ks0D6T","labelCurrent","listItem","collapsedItemStyles","expandedItemStyles","crampedBarItemStyles"],"sources":["../../src/navigation/styles.ts"],"sourcesContent":["import * as stylex from '@stylexjs/stylex';\nimport '../tokens/design.tokens.stylex';\nimport { colors, media, motion, radii, spacing, stateLayerOpacity, typography } from '../tokens/design.tokens.stylex';\n\n// The destinations NavigationBar and NavigationRail both draw, in the three\n// forms the two pages give them. Apart from either component so the two\n// cannot drift, and outside `src/components` for the reason src/row gives.\n//\n// A vertical destination puts its icon in the page's 56dp by 32dp active\n// indicator with the label 4dp under it, in label medium: the navigation bar\n// below the medium breakpoint, and the collapsed rail. A horizontal one is a\n// pill holding the icon and the label side by side, 16dp in at either end:\n// the bar at and above the medium breakpoint at 40dp with 4dp between the\n// two, and the expanded rail at 56dp with 8dp between them, in label large.\n//\n// The current destination's pill is the secondary container, with its icon\n// in on secondary container and, under the pill, its label in secondary;\n// every other is on surface variant. A label set inside the pill, as a\n// horizontal destination sets it, takes on secondary container instead — the\n// library's own call. Secondary over secondary container is not a pair a\n// scheme is held to, and the Poster scheme's came to 4:1, short of the 4.5:1\n// text needs; on secondary container is the pair every scheme guarantees.\n//\n// The hover, focus and pressed layers are the on secondary container role\n// over whatever the pill is, at the pages' 8%, 10% and 10%, drawn on the\n// pill — the indicator in a vertical destination, the whole destination in a\n// horizontal one. They are applied in that order, so where two hold the\n// later wins, as the pages draw one layer at a time. A focused destination's\n// ring goes around the same pill; ./index.tsx says whose ring it is.\n//\n// A change from one of those states to another fades, over the pages' short\n// duration on the standard curve, rather than landing in one frame. A press\n// also draws the library's ripple over the pressed layer, clipped to the\n// pill: inside the indicator in a vertical destination, which positions it,\n// and across the whole destination in a horizontal one, whose indicator is\n// left unpositioned so the ripple fills the link and takes the indicator's\n// pill corner.\n//\n// Under forced colours the mode paints the secondary container over in its\n// background, which left the current destination looking like every other.\n// The pill takes a 2px border in `Highlight` there, which the mode keeps,\n// and a focused destination's ring doubles its weight, so the two marks\n// differ in shape and not in colour alone — see `ringWeight`.\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)';\n\n// The pill's ground and the layers over it, written out whole for each\n// ground, since StyleX replaces a property whole.\nconst HOVERED_OVER_NOTHING = `color-mix(in srgb, ${colors.onSecondaryContainer} calc(${stateLayerOpacity.hover} * 100%), transparent)`;\nconst FOCUSED_OVER_NOTHING = `color-mix(in srgb, ${colors.onSecondaryContainer} calc(${stateLayerOpacity.focus} * 100%), transparent)`;\nconst PRESSED_OVER_NOTHING = `color-mix(in srgb, ${colors.onSecondaryContainer} calc(${stateLayerOpacity.pressed} * 100%), transparent)`;\nconst HOVERED_OVER_CURRENT = `color-mix(in srgb, ${colors.onSecondaryContainer} calc(${stateLayerOpacity.hover} * 100%), ${colors.secondaryContainer})`;\nconst FOCUSED_OVER_CURRENT = `color-mix(in srgb, ${colors.onSecondaryContainer} calc(${stateLayerOpacity.focus} * 100%), ${colors.secondaryContainer})`;\nconst PRESSED_OVER_CURRENT = `color-mix(in srgb, ${colors.onSecondaryContainer} calc(${stateLayerOpacity.pressed} * 100%), ${colors.secondaryContainer})`;\n\n// What every destination draws whatever its form.\nconst navigationItemStyles = {\n fade: {\n kIyJzY: \"x1qno0dh x12w9bfk\",\n k1ekBW: \"xs2xxs2\",\n kAMwcw: \"xpc4ca7\",\n $$css: true\n },\n icon: {\n kGNEyG: \"x6s0dn4\",\n k1xSpc: \"x78zum5\",\n kGuDYH: \"x1pvqxga\",\n kjj79g: \"xl56j7k\",\n $$css: true\n },\n itemDisabled: {\n kMwMTN: \"x1gpw424 x1bhcspo\",\n kkrTdU: \"xt0e3qv\",\n $$css: true\n },\n label: {\n kMwMTN: \"x1w5n3ug\",\n kXHlph: \"x101abm8\",\n kORKVm: \"xryxfnj\",\n kg5iWk: \"xlyipyv\",\n khDVqt: \"xuxw1ft\",\n $$css: true\n },\n link: {\n kGNEyG: \"x6s0dn4\",\n kB7OPa: \"x9f619\",\n kMwMTN: \"x1w5n3ug\",\n kkrTdU: \"x1ypdohk\",\n k1xSpc: \"x78zum5\",\n k3XXqK: \"x1t137rt\",\n kVAEAm: \"x1n2onr6\",\n kMnn75: \"xkrqix3\",\n $$css: true\n },\n pill: {\n kWkggS: \"xjbqb8w\",\n kaIpWk: \"x1dkaolv\",\n kB7OPa: \"x9f619\",\n kMwMTN: \"x1w5n3ug\",\n $$css: true\n },\n ringWeight: {\n kMeerF: \"x1de99jn xlqle6p\",\n $$css: true\n }\n};\n\n// The list a bar or a rail holds its destinations in, and the item each\n// destination sits in — see `NavigationList` in ./index.tsx. The list clears\n// the margin, padding and markers a `<ul>` comes with, and each form gives\n// the space between its destinations as its `list`. The item takes the\n// destination's place in the bar's row or the rail's column, which each form\n// gives as its `listItem`, and the link fills it.\nconst navigationListStyles = {\n item: {\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n $$css: true\n },\n list: {\n kB7OPa: \"x9f619\",\n kH6xsr: \"x3ct3a4\",\n kogj98: \"x1ghz6dp\",\n kmVPX3: \"x1717udv\",\n $$css: true\n }\n};\n\n// The pages' least touch target, which a horizontal bar destination's 40dp\n// pill falls short of.\nconst TARGET_SIZE = '48px';\n\n// The navigation bar page's 64dp row, and the 40dp pill a horizontal\n// destination draws inside it.\nconst BAR_ROW = '64px';\nconst PILL = '40px';\n\n// The navigation bar's destination: vertical below the medium breakpoint and\n// horizontal at it and above, so every value that differs is a pair.\nconst barItemStyles = {\n badgeMark: {\n kSGwAc: \"xcspwbw\",\n kLqNvP: \"xty0069 x19sl9hu\",\n keTefX: \"xhi6r6q\",\n kVAEAm: \"x10l6tqk x15m4ytg\",\n $$css: true\n },\n indicator: {\n kGNEyG: \"x6s0dn4\",\n kZKoxP: \"x10w6t97 x10qpgbh\",\n kaIpWk: \"x1dkaolv\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n kmuXW: \"x2lah0s\",\n kzqmXN: \"x15yg21f x11lewyt\",\n kjj79g: \"xl56j7k\",\n kVAEAm: \"x1n2onr6 xtke4eg\",\n $$css: true\n },\n indicatorCurrent: {\n kWkggS: \"x15dekr4 x8jqrm0\",\n kVAM5u: \"x1n2ykn\",\n ksu8eU: \"xx61lck xnqlxux\",\n kMzoRj: \"x2h6xq1\",\n kMwMTN: \"x1sawysd\",\n $$css: true\n },\n indicatorFocused: {\n kWkggS: \"x1syr9su x8jqrm0\",\n $$css: true\n },\n indicatorFocusedCurrent: {\n kWkggS: \"x1s5x49g x8jqrm0\",\n $$css: true\n },\n indicatorHovered: {\n kWkggS: \"x173luhf x8jqrm0\",\n $$css: true\n },\n indicatorHoveredCurrent: {\n kWkggS: \"x1fctxn6 x8jqrm0\",\n $$css: true\n },\n indicatorPressed: {\n kWkggS: \"x1rydsgj x8jqrm0\",\n $$css: true\n },\n indicatorPressedCurrent: {\n kWkggS: \"xzpauq9 x8jqrm0\",\n $$css: true\n },\n indicatorRing: {\n kjBf7l: \"xrgy624\",\n kInvED: \"x1hl8ikr\",\n k3XXqK: \"xaatb59 x1t601oj\",\n kMeerF: \"x1de99jn\",\n $$css: true\n },\n item: {\n k5JduY: \"x1ktxc2h\",\n kSy8m5: \"xfmxh57\",\n kcktkL: \"xb7ltuz\",\n kwXMNM: \"x1j6awrg\",\n kZKoxP: \"xiioxts\",\n kaIpWk: \"x1dkaolv\",\n kCS8Yb: \"x1r8uery x1a6ly76\",\n kXwgrk: \"xdt5ytf xapwh9g\",\n kzQI83: \"x1iyjqo2 x10cb59y\",\n kOIVth: \"xzoy561\",\n kjj79g: \"xl56j7k\",\n kqGvvJ: \"x10im51j xap7i12\",\n kAzted: \"x8nclml xtyuij1\",\n k7Eaqz: \"xeuugli\",\n k8WAf4: \"x1t0vds8 x1nouyz5\",\n kg3NbH: \"ximhkdq xze1m75\",\n $$css: true\n },\n itemCurrent: {\n kWkggS: \"xjbqb8w x1xec0pq\",\n kVAM5u: \"x1n2ykn\",\n ksu8eU: \"x1xldtvv x1wx4lrg\",\n kMzoRj: \"x2h6xq1\",\n $$css: true\n },\n itemFocused: {\n kWkggS: \"xjbqb8w xdodzsd\",\n $$css: true\n },\n itemFocusedCurrent: {\n kWkggS: \"xjbqb8w xnmt8re\",\n $$css: true\n },\n itemHovered: {\n kWkggS: \"xjbqb8w xdenq60\",\n $$css: true\n },\n itemHoveredCurrent: {\n kWkggS: \"xjbqb8w xjq3nej\",\n $$css: true\n },\n itemPressed: {\n kWkggS: \"xjbqb8w x7fq6vu\",\n $$css: true\n },\n itemPressedCurrent: {\n kWkggS: \"xjbqb8w x9wewpu\",\n $$css: true\n },\n itemRing: {\n kjBf7l: \"xrgy624\",\n kInvED: \"x1hl8ikr\",\n k3XXqK: \"x1t137rt xxgb522\",\n kMeerF: \"x1de99jn\",\n $$css: true\n },\n label: {\n kMv6JI: \"xp6n8n2\",\n kGuDYH: \"xkucv67\",\n k63SB2: \"x14hhc5u\",\n kb6lSQ: \"x12utw95\",\n kLWn49: \"xvzb9hk\",\n ks0D6T: \"x193iq5w\",\n $$css: true\n },\n labelCurrent: {\n kMwMTN: \"xzakmg9 x16ybrrz\",\n $$css: true\n },\n list: {\n kOIVth: \"xxhr3t x110hqo6\",\n $$css: true\n },\n listItem: {\n kCS8Yb: \"x1r8uery x1a6ly76\",\n kzQI83: \"x1iyjqo2 x10cb59y\",\n k7Eaqz: \"xeuugli\",\n $$css: true\n }\n};\n\n// The collapsed rail's destination: always vertical, the pitch from one to\n// the next the rail's 4dp gap.\nconst collapsedItemStyles = {\n badgeMark: {\n $$css: true\n },\n indicator: {\n kGNEyG: \"x6s0dn4\",\n kZKoxP: \"x10w6t97\",\n kaIpWk: \"x1dkaolv\",\n kB7OPa: \"x9f619\",\n k1xSpc: \"x78zum5\",\n kmuXW: \"x2lah0s\",\n kzqmXN: \"x15yg21f\",\n kjj79g: \"xl56j7k\",\n kVAEAm: \"x1n2onr6\",\n $$css: true\n },\n indicatorCurrent: {\n kWkggS: \"x15dekr4\",\n kVAM5u: \"x1n2ykn\",\n ksu8eU: \"xx61lck\",\n kMzoRj: \"x2h6xq1\",\n kMwMTN: \"x1sawysd\",\n $$css: true\n },\n indicatorFocused: {\n kWkggS: \"x1syr9su\",\n $$css: true\n },\n indicatorFocusedCurrent: {\n kWkggS: \"x1s5x49g\",\n $$css: true\n },\n indicatorHovered: {\n kWkggS: \"x173luhf\",\n $$css: true\n },\n indicatorHoveredCurrent: {\n kWkggS: \"x1fctxn6\",\n $$css: true\n },\n indicatorPressed: {\n kWkggS: \"x1rydsgj\",\n $$css: true\n },\n indicatorPressedCurrent: {\n kWkggS: \"xzpauq9\",\n $$css: true\n },\n item: {\n kXwgrk: \"xdt5ytf\",\n kmuXW: \"x2lah0s\",\n kOIVth: \"xzoy561\",\n kzqmXN: \"xh8yej3\",\n kjj79g: \"xl56j7k\",\n k8WAf4: \"x1t0vds8\",\n kg3NbH: \"ximhkdq\",\n $$css: true\n },\n itemCurrent: {\n $$css: true\n },\n itemFocused: {\n $$css: true\n },\n itemFocusedCurrent: {\n $$css: true\n },\n itemHovered: {\n $$css: true\n },\n itemHoveredCurrent: {\n $$css: true\n },\n itemPressed: {\n $$css: true\n },\n itemPressedCurrent: {\n $$css: true\n },\n label: {\n kMv6JI: \"xp6n8n2\",\n kGuDYH: \"xkucv67\",\n k63SB2: \"x14hhc5u\",\n kb6lSQ: \"x12utw95\",\n kLWn49: \"xvzb9hk\",\n ks0D6T: \"x193iq5w\",\n $$css: true\n },\n labelCurrent: {\n kMwMTN: \"xzakmg9\",\n $$css: true\n },\n list: {\n kOIVth: \"xzoy561\",\n $$css: true\n },\n listItem: {\n kmuXW: \"x2lah0s\",\n kzqmXN: \"xh8yej3\",\n $$css: true\n }\n};\n\n// The expanded rail's destination: always horizontal, a 56dp pill as wide as\n// what it holds.\nconst expandedItemStyles = {\n badgeMark: {\n kSGwAc: \"xqcrz7y\",\n kLqNvP: \"x1o0tod\",\n keTefX: \"x18xomjl\",\n kVAEAm: \"x1n2onr6\",\n $$css: true\n },\n indicator: {\n kGNEyG: \"x6s0dn4\",\n k1xSpc: \"x78zum5\",\n kmuXW: \"x2lah0s\",\n $$css: true\n },\n indicatorCurrent: {\n kMwMTN: \"x1sawysd\",\n $$css: true\n },\n indicatorFocused: {\n $$css: true\n },\n indicatorFocusedCurrent: {\n $$css: true\n },\n indicatorHovered: {\n $$css: true\n },\n indicatorHoveredCurrent: {\n $$css: true\n },\n indicatorPressed: {\n $$css: true\n },\n indicatorPressedCurrent: {\n $$css: true\n },\n item: {\n kSGwAc: \"xqcrz7y\",\n kZKoxP: \"xnnlda6\",\n kaIpWk: \"x1dkaolv\",\n kXwgrk: \"x1q0g3np\",\n kmuXW: \"x2lah0s\",\n kOIVth: \"x126z3so\",\n ks0D6T: \"x193iq5w\",\n kg3NbH: \"x790zyz\",\n $$css: true\n },\n itemCurrent: {\n kWkggS: \"x15dekr4\",\n kVAM5u: \"x1n2ykn\",\n ksu8eU: \"xx61lck\",\n kMzoRj: \"x2h6xq1\",\n $$css: true\n },\n itemFocused: {\n kWkggS: \"x1syr9su\",\n $$css: true\n },\n itemFocusedCurrent: {\n kWkggS: \"x1s5x49g\",\n $$css: true\n },\n itemHovered: {\n kWkggS: \"x173luhf\",\n $$css: true\n },\n itemHoveredCurrent: {\n kWkggS: \"x1fctxn6\",\n $$css: true\n },\n itemPressed: {\n kWkggS: \"x1rydsgj\",\n $$css: true\n },\n itemPressedCurrent: {\n kWkggS: \"xzpauq9\",\n $$css: true\n },\n label: {\n kMv6JI: \"xkknnkr\",\n kGuDYH: \"x14zspaw\",\n k63SB2: \"x1v9cpvo\",\n kb6lSQ: \"x155f00i\",\n kLWn49: \"x1lz68p4\",\n $$css: true\n },\n labelCurrent: {\n kMwMTN: \"x1sawysd\",\n $$css: true\n },\n list: {\n $$css: true\n },\n listItem: {\n kSGwAc: \"xqcrz7y\",\n kmuXW: \"x2lah0s\",\n ks0D6T: \"x193iq5w\",\n $$css: true\n }\n};\n\n// The bar's destination when the bar is too narrow for its horizontal form\n// at a width that would otherwise draw it — see NavigationBar. Vertical at\n// every width: the bar's own vertical item, with the collapsed rail's\n// indicator, label and badge placement, which are the bar's vertical ones.\nconst crampedBarItemStyles = {\n item: {\n kZKoxP: \"x5yr21d\",\n kaIpWk: \"x1dkaolv\",\n kCS8Yb: \"x1r8uery\",\n kXwgrk: \"xdt5ytf\",\n kzQI83: \"x1iyjqo2\",\n kOIVth: \"xzoy561\",\n kjj79g: \"xl56j7k\",\n k7Eaqz: \"xeuugli\",\n k8WAf4: \"x1t0vds8\",\n kg3NbH: \"xnjsko4\",\n $$css: true\n },\n list: {\n kOIVth: \"xxhr3t\",\n $$css: true\n },\n listItem: {\n kCS8Yb: \"x1r8uery\",\n kzQI83: \"x1iyjqo2\",\n k7Eaqz: \"xeuugli\",\n $$css: true\n }\n};\nexport { barItemStyles, collapsedItemStyles, crampedBarItemStyles, expandedItemStyles, navigationItemStyles, navigationListStyles };"],"mappings":";;AAoD6B,GAAsBA,OAAOE,uBAA6BD,kBAAkBE;AAC5E,GAAsBH,OAAOE,uBAA6BD,kBAAkBG;AAC5E,GAAsBJ,OAAOE,uBAA6BD,kBAAkBI;AAC5E,GAAsBL,OAAOE,uBAA6BD,kBAAkBE,QAAkBH,OAA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E,QAAQ;EACRP,OAAO;CACT;CACA0B,MAAM,EACJ1B,OAAO,KACT;CACA+E,UAAU;EACR/C,QAAQ;EACRK,OAAO;EACPwC,QAAQ;EACR7E,OAAO;CACT;AACF;AAMA,MAAMkF,uBAAuB;CAC3BzD,MAAM;EACJW,QAAQ;EACRf,QAAQ;EACRmC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRtD,QAAQ;EACRyD,QAAQ;EACRC,QAAQ;EACRC,QAAQ;EACRhE,OAAO;CACT;CACA0B,MAAM;EACJiC,QAAQ;EACR3D,OAAO;CACT;CACA+E,UAAU;EACRvB,QAAQ;EACRE,QAAQ;EACRI,QAAQ;EACR9D,OAAO;CACT;AACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.js","names":["createContext","RowOnValueLineContext"],"sources":["../../src/row/context.ts"],"sourcesContent":["import { createContext } from 'react'\n\n// Whether a row is drawn on a field's value line rather than in a list. A\n// select's chosen value is React Aria rendering the option's own content\n// there, so the row inside it is RowContent, and that line is one line tall:\n// the headline is cut short with an ellipsis rather than wrapped. Its text\n// sits several elements inside the field's value, where `text-overflow` on\n// the value never reaches it. Apart from RowContent so its module exports\n// components alone, which is what keeps fast refresh working for it.\nconst RowOnValueLineContext = createContext(false)\n\nexport { RowOnValueLineContext }\n"],"mappings":";;AASA,MAAMC,wBAAwBD,cAAc,KAAK"}
|