@kanso-labs/react-native-kanso-ui 0.4.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -1
- package/dist/autocomplete/index.js +39 -0
- package/dist/autocomplete/index.js.map +1 -0
- package/dist/badge/index.js +74 -0
- package/dist/badge/index.js.map +1 -0
- package/dist/badge/styles.js +51 -0
- package/dist/badge/styles.js.map +1 -0
- package/dist/button/index.d.ts +2 -1
- package/dist/button/index.js +35 -2
- package/dist/button/index.js.map +1 -1
- package/dist/button/slots.d.ts +2 -1
- package/dist/button/slots.js.map +1 -1
- package/dist/chip/index.js +2 -2
- package/dist/components/app-bar/index.d.ts +111 -0
- package/dist/components/app-bar/index.js +341 -0
- package/dist/components/app-bar/index.js.map +1 -0
- package/dist/components/autocomplete/index.d.ts +49 -0
- package/dist/components/autocomplete/index.js +87 -0
- package/dist/components/autocomplete/index.js.map +1 -0
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/index.js +197 -151
- package/dist/components/button/index.js.map +1 -1
- package/dist/components/card/index.js +2 -2
- package/dist/components/checkbox/index.js +106 -193
- package/dist/components/checkbox/index.js.map +1 -1
- package/dist/components/chip/index.js +1 -1
- package/dist/components/chip-group/index.js +3 -3
- package/dist/components/dialog/index.js +4 -3
- package/dist/components/dialog/index.js.map +1 -1
- package/dist/components/icon-button/index.d.ts +1 -1
- package/dist/components/icon-button/index.js +206 -160
- package/dist/components/icon-button/index.js.map +1 -1
- package/dist/components/link/index.js +2 -2
- package/dist/components/list/index.d.ts +216 -0
- package/dist/components/list/index.js +1118 -0
- package/dist/components/list/index.js.map +1 -0
- package/dist/components/list-detail/index.d.ts +56 -0
- package/dist/components/list-detail/index.js +169 -0
- package/dist/components/list-detail/index.js.map +1 -0
- package/dist/components/list-item/index.d.ts +63 -0
- package/dist/components/list-item/index.js +275 -0
- package/dist/components/list-item/index.js.map +1 -0
- package/dist/components/menu/index.d.ts +309 -0
- package/dist/components/menu/index.js +1283 -0
- package/dist/components/menu/index.js.map +1 -0
- package/dist/components/navigation-bar/index.d.ts +170 -0
- package/dist/components/navigation-bar/index.js +494 -0
- package/dist/components/navigation-bar/index.js.map +1 -0
- package/dist/components/number-field/index.js +3 -3
- package/dist/components/popover/index.d.ts +140 -0
- package/dist/components/popover/index.js +704 -0
- package/dist/components/popover/index.js.map +1 -0
- package/dist/components/progress-indicator/index.js +3 -3
- package/dist/components/radio-group/index.js +2 -2
- package/dist/components/search-field/index.d.ts +11 -3
- package/dist/components/search-field/index.js +66 -60
- package/dist/components/search-field/index.js.map +1 -1
- package/dist/components/segmented-button/index.js +4 -4
- package/dist/components/sheet/index.js +5 -4
- package/dist/components/sheet/index.js.map +1 -1
- package/dist/components/snackbar/index.js +4 -4
- package/dist/components/switch/index.js +3 -3
- package/dist/control/checkbox-box.js +137 -0
- package/dist/control/checkbox-box.js.map +1 -0
- package/dist/field/index.d.ts +1 -1
- package/dist/field/index.js +3 -3
- package/dist/form/index.d.ts +1 -1
- package/dist/glyphs/index.js +22 -3
- package/dist/glyphs/index.js.map +1 -1
- package/dist/hooks/useAppBarScroll.d.ts +56 -0
- package/dist/hooks/useAppBarScroll.js +87 -0
- package/dist/hooks/useAppBarScroll.js.map +1 -0
- package/dist/i18n/index.js +16 -1
- package/dist/i18n/index.js.map +1 -1
- package/dist/i18n/messages.js +272 -34
- package/dist/i18n/messages.js.map +1 -1
- package/dist/index.d.ts +12 -3
- package/dist/index.js +12 -3
- package/dist/indicator/index.d.ts +2 -2
- package/dist/indicator/index.js +1 -1
- package/dist/indicator/motion.js +1 -1
- package/dist/mark/index.js +1 -1
- package/dist/modal/index.d.ts +1 -1
- package/dist/modal/index.js +2 -9
- package/dist/modal/index.js.map +1 -1
- package/dist/navigation/index.d.ts +29 -0
- package/dist/navigation/index.js +405 -0
- package/dist/navigation/index.js.map +1 -0
- package/dist/navigation/styles.js +61 -0
- package/dist/navigation/styles.js.map +1 -0
- package/dist/overlay/anchored.d.ts +2 -0
- package/dist/overlay/anchored.js +182 -0
- package/dist/overlay/anchored.js.map +1 -0
- package/dist/overlay/host.d.ts +2 -0
- package/dist/overlay/index.d.ts +4 -0
- package/dist/overlay/panel.js +215 -0
- package/dist/overlay/panel.js.map +1 -0
- package/dist/overlay/placement.d.ts +8 -0
- package/dist/overlay/placement.js +87 -0
- package/dist/overlay/placement.js.map +1 -0
- package/dist/press/index.js +74 -68
- package/dist/press/index.js.map +1 -1
- package/dist/ref/index.js +15 -0
- package/dist/ref/index.js.map +1 -0
- package/dist/row/index.js +158 -0
- package/dist/row/index.js.map +1 -0
- package/dist/row/styles.js +51 -0
- package/dist/row/styles.js.map +1 -0
- package/package.json +3 -3
package/dist/i18n/messages.js
CHANGED
|
@@ -2,139 +2,377 @@
|
|
|
2
2
|
const MESSAGES = {
|
|
3
3
|
"ar-AE": {
|
|
4
4
|
dragHandle: "مقبض السحب",
|
|
5
|
-
loading: "جارٍ التحميل"
|
|
5
|
+
loading: "جارٍ التحميل",
|
|
6
|
+
loadingMore: "جارٍ تحميل المزيد",
|
|
7
|
+
noResults: "لا توجد نتائج",
|
|
8
|
+
results: {
|
|
9
|
+
one: "{count} خيار متاحة.",
|
|
10
|
+
other: "{count} خيارات متاحة."
|
|
11
|
+
},
|
|
12
|
+
select: "تحديد"
|
|
6
13
|
},
|
|
7
14
|
"bg-BG": {
|
|
8
15
|
dragHandle: "Манипулатор за плъзгане",
|
|
9
|
-
loading: "Зареждане"
|
|
16
|
+
loading: "Зареждане",
|
|
17
|
+
loadingMore: "Зареждане на още",
|
|
18
|
+
noResults: "Няма резултати",
|
|
19
|
+
results: {
|
|
20
|
+
one: "{count} опция на разположение.",
|
|
21
|
+
other: "{count} опции на разположение."
|
|
22
|
+
},
|
|
23
|
+
select: "Изберете"
|
|
10
24
|
},
|
|
11
25
|
"cs-CZ": {
|
|
12
26
|
dragHandle: "Úchyt pro přetažení",
|
|
13
|
-
loading: "Načítání"
|
|
27
|
+
loading: "Načítání",
|
|
28
|
+
loadingMore: "Načítání dalších",
|
|
29
|
+
noResults: "Žádné výsledky",
|
|
30
|
+
results: {
|
|
31
|
+
one: "K dispozici je {count} možnost.",
|
|
32
|
+
other: "K dispozici jsou/je {count} možnosti/-í."
|
|
33
|
+
},
|
|
34
|
+
select: "Vybrat"
|
|
14
35
|
},
|
|
15
36
|
"da-DK": {
|
|
16
37
|
dragHandle: "Trækhåndtag",
|
|
17
|
-
loading: "Indlæser"
|
|
38
|
+
loading: "Indlæser",
|
|
39
|
+
loadingMore: "Indlæser flere",
|
|
40
|
+
noResults: "Ingen resultater",
|
|
41
|
+
results: {
|
|
42
|
+
one: "{count} mulighed tilgængelig.",
|
|
43
|
+
other: "{count} muligheder tilgængelige."
|
|
44
|
+
},
|
|
45
|
+
select: "Vælg"
|
|
18
46
|
},
|
|
19
47
|
"de-DE": {
|
|
20
48
|
dragHandle: "Ziehpunkt",
|
|
21
|
-
loading: "Wird geladen"
|
|
49
|
+
loading: "Wird geladen",
|
|
50
|
+
loadingMore: "Weitere werden geladen",
|
|
51
|
+
noResults: "Keine Ergebnisse",
|
|
52
|
+
results: {
|
|
53
|
+
one: "{count} Option verfügbar.",
|
|
54
|
+
other: "{count} Optionen verfügbar."
|
|
55
|
+
},
|
|
56
|
+
select: "Auswählen"
|
|
22
57
|
},
|
|
23
58
|
"el-GR": {
|
|
24
59
|
dragHandle: "Λαβή μεταφοράς",
|
|
25
|
-
loading: "Φόρτωση"
|
|
60
|
+
loading: "Φόρτωση",
|
|
61
|
+
loadingMore: "Φόρτωση περισσότερων",
|
|
62
|
+
noResults: "Δεν υπάρχουν αποτελέσματα",
|
|
63
|
+
results: {
|
|
64
|
+
one: "{count} επιλογή διαθέσιμες.",
|
|
65
|
+
other: "{count} επιλογές διαθέσιμες."
|
|
66
|
+
},
|
|
67
|
+
select: "Επιλογή"
|
|
26
68
|
},
|
|
27
69
|
"en-US": {
|
|
28
70
|
dragHandle: "Drag handle",
|
|
29
|
-
loading: "Loading"
|
|
71
|
+
loading: "Loading",
|
|
72
|
+
loadingMore: "Loading more",
|
|
73
|
+
noResults: "No results",
|
|
74
|
+
results: {
|
|
75
|
+
one: "{count} option available.",
|
|
76
|
+
other: "{count} options available."
|
|
77
|
+
},
|
|
78
|
+
select: "Select"
|
|
30
79
|
},
|
|
31
80
|
"es-ES": {
|
|
32
81
|
dragHandle: "Control de arrastre",
|
|
33
|
-
loading: "Cargando"
|
|
82
|
+
loading: "Cargando",
|
|
83
|
+
loadingMore: "Cargando más",
|
|
84
|
+
noResults: "No hay resultados",
|
|
85
|
+
results: {
|
|
86
|
+
one: "{count} opción disponible(s).",
|
|
87
|
+
other: "{count} opciones disponible(s)."
|
|
88
|
+
},
|
|
89
|
+
select: "Seleccionar"
|
|
34
90
|
},
|
|
35
91
|
"et-EE": {
|
|
36
92
|
dragHandle: "Lohistamispide",
|
|
37
|
-
loading: "Laadimine"
|
|
93
|
+
loading: "Laadimine",
|
|
94
|
+
loadingMore: "Laaditakse veel",
|
|
95
|
+
noResults: "Tulemusi pole",
|
|
96
|
+
results: {
|
|
97
|
+
one: "{count} valik saadaval.",
|
|
98
|
+
other: "{count} valikud saadaval."
|
|
99
|
+
},
|
|
100
|
+
select: "Vali"
|
|
38
101
|
},
|
|
39
102
|
"fi-FI": {
|
|
40
103
|
dragHandle: "Vetokahva",
|
|
41
|
-
loading: "Ladataan"
|
|
104
|
+
loading: "Ladataan",
|
|
105
|
+
loadingMore: "Ladataan lisää",
|
|
106
|
+
noResults: "Ei tuloksia",
|
|
107
|
+
results: {
|
|
108
|
+
one: "{count} vaihtoehto saatavilla.",
|
|
109
|
+
other: "{count} vaihtoehtoa saatavilla."
|
|
110
|
+
},
|
|
111
|
+
select: "Valitse"
|
|
42
112
|
},
|
|
43
113
|
"fr-FR": {
|
|
44
114
|
dragHandle: "Poignée de déplacement",
|
|
45
|
-
loading: "Chargement"
|
|
115
|
+
loading: "Chargement",
|
|
116
|
+
loadingMore: "Chargement de la suite",
|
|
117
|
+
noResults: "Aucun résultat",
|
|
118
|
+
results: {
|
|
119
|
+
one: "{count} option disponible(s).",
|
|
120
|
+
other: "{count} options disponible(s)."
|
|
121
|
+
},
|
|
122
|
+
select: "Sélectionner"
|
|
46
123
|
},
|
|
47
124
|
"he-IL": {
|
|
48
125
|
dragHandle: "ידית גרירה",
|
|
49
|
-
loading: "טוען"
|
|
126
|
+
loading: "טוען",
|
|
127
|
+
loadingMore: "טוען עוד",
|
|
128
|
+
noResults: "אין תוצאות",
|
|
129
|
+
results: {
|
|
130
|
+
one: "אפשרות {count} במצב זמין.",
|
|
131
|
+
other: "{count} אפשרויות במצב זמין."
|
|
132
|
+
},
|
|
133
|
+
select: "בחר"
|
|
50
134
|
},
|
|
51
135
|
"hr-HR": {
|
|
52
136
|
dragHandle: "Ručica za povlačenje",
|
|
53
|
-
loading: "Učitavanje"
|
|
137
|
+
loading: "Učitavanje",
|
|
138
|
+
loadingMore: "Učitava se još",
|
|
139
|
+
noResults: "Nema rezultata",
|
|
140
|
+
results: {
|
|
141
|
+
one: "Dostupno još: {count} opcija.",
|
|
142
|
+
other: "Dostupno još: {count} opcije/a."
|
|
143
|
+
},
|
|
144
|
+
select: "Odaberite"
|
|
54
145
|
},
|
|
55
146
|
"hu-HU": {
|
|
56
147
|
dragHandle: "Húzófogantyú",
|
|
57
|
-
loading: "Betöltés"
|
|
148
|
+
loading: "Betöltés",
|
|
149
|
+
loadingMore: "Továbbiak betöltése",
|
|
150
|
+
noResults: "Nincs találat",
|
|
151
|
+
results: {
|
|
152
|
+
one: "{count} lehetőség áll rendelkezésre.",
|
|
153
|
+
other: "{count} lehetőség áll rendelkezésre."
|
|
154
|
+
},
|
|
155
|
+
select: "Kijelölés"
|
|
58
156
|
},
|
|
59
157
|
"it-IT": {
|
|
60
158
|
dragHandle: "Punto di trascinamento",
|
|
61
|
-
loading: "Caricamento"
|
|
159
|
+
loading: "Caricamento",
|
|
160
|
+
loadingMore: "Caricamento di altri elementi",
|
|
161
|
+
noResults: "Nessun risultato",
|
|
162
|
+
results: {
|
|
163
|
+
one: "{count} opzione disponibile.",
|
|
164
|
+
other: "{count} opzioni disponibili."
|
|
165
|
+
},
|
|
166
|
+
select: "Seleziona"
|
|
62
167
|
},
|
|
63
168
|
"ja-JP": {
|
|
64
169
|
dragHandle: "ドラッグハンドル",
|
|
65
|
-
loading: "読み込み中"
|
|
170
|
+
loading: "読み込み中",
|
|
171
|
+
loadingMore: "さらに読み込み中",
|
|
172
|
+
noResults: "結果がありません",
|
|
173
|
+
results: {
|
|
174
|
+
one: "{count} 個のオプションを利用できます。",
|
|
175
|
+
other: "{count} 個のオプションを利用できます。"
|
|
176
|
+
},
|
|
177
|
+
select: "選択"
|
|
66
178
|
},
|
|
67
179
|
"ko-KR": {
|
|
68
180
|
dragHandle: "드래그 핸들",
|
|
69
|
-
loading: "로드 중"
|
|
181
|
+
loading: "로드 중",
|
|
182
|
+
loadingMore: "더 로드하는 중",
|
|
183
|
+
noResults: "결과 없음",
|
|
184
|
+
results: {
|
|
185
|
+
one: "{count}개 옵션을 사용할 수 있습니다.",
|
|
186
|
+
other: "{count}개 옵션을 사용할 수 있습니다."
|
|
187
|
+
},
|
|
188
|
+
select: "선택"
|
|
70
189
|
},
|
|
71
190
|
"lt-LT": {
|
|
72
191
|
dragHandle: "Vilkimo rankenėlė",
|
|
73
|
-
loading: "Įkeliama"
|
|
192
|
+
loading: "Įkeliama",
|
|
193
|
+
loadingMore: "Įkeliama daugiau",
|
|
194
|
+
noResults: "Rezultatų nėra",
|
|
195
|
+
results: {
|
|
196
|
+
one: "Yra {count} parinktis.",
|
|
197
|
+
other: "Yra {count} parinktys (-ių)."
|
|
198
|
+
},
|
|
199
|
+
select: "Pasirinkti"
|
|
74
200
|
},
|
|
75
201
|
"lv-LV": {
|
|
76
202
|
dragHandle: "Vilkšanas turis",
|
|
77
|
-
loading: "Notiek ielāde"
|
|
203
|
+
loading: "Notiek ielāde",
|
|
204
|
+
loadingMore: "Notiek papildu ielāde",
|
|
205
|
+
noResults: "Nav rezultātu",
|
|
206
|
+
results: {
|
|
207
|
+
one: "Pieejamo opciju skaits: {count} opcija.",
|
|
208
|
+
other: "Pieejamo opciju skaits: {count} opcijas."
|
|
209
|
+
},
|
|
210
|
+
select: "Atlasīt"
|
|
78
211
|
},
|
|
79
212
|
"nb-NO": {
|
|
80
213
|
dragHandle: "Drahåndtak",
|
|
81
|
-
loading: "Laster inn"
|
|
214
|
+
loading: "Laster inn",
|
|
215
|
+
loadingMore: "Laster inn flere",
|
|
216
|
+
noResults: "Ingen resultater",
|
|
217
|
+
results: {
|
|
218
|
+
one: "{count} alternativ finnes.",
|
|
219
|
+
other: "{count} alternativer finnes."
|
|
220
|
+
},
|
|
221
|
+
select: "Velg"
|
|
82
222
|
},
|
|
83
223
|
"nl-NL": {
|
|
84
224
|
dragHandle: "Sleepgreep",
|
|
85
|
-
loading: "Laden"
|
|
225
|
+
loading: "Laden",
|
|
226
|
+
loadingMore: "Meer laden",
|
|
227
|
+
noResults: "Geen resultaten",
|
|
228
|
+
results: {
|
|
229
|
+
one: "{count} optie beschikbaar.",
|
|
230
|
+
other: "{count} opties beschikbaar."
|
|
231
|
+
},
|
|
232
|
+
select: "Selecteren"
|
|
86
233
|
},
|
|
87
234
|
"pl-PL": {
|
|
88
235
|
dragHandle: "Uchwyt do przeciągania",
|
|
89
|
-
loading: "Ładowanie"
|
|
236
|
+
loading: "Ładowanie",
|
|
237
|
+
loadingMore: "Ładowanie kolejnych",
|
|
238
|
+
noResults: "Brak wyników",
|
|
239
|
+
results: {
|
|
240
|
+
one: "dostępna/dostępne(-nych) {count} opcja.",
|
|
241
|
+
other: "dostępna/dostępne(-nych) {count} opcje(-i)."
|
|
242
|
+
},
|
|
243
|
+
select: "Zaznacz"
|
|
90
244
|
},
|
|
91
245
|
"pt-BR": {
|
|
92
246
|
dragHandle: "Alça de arrastar",
|
|
93
|
-
loading: "Carregando"
|
|
247
|
+
loading: "Carregando",
|
|
248
|
+
loadingMore: "Carregando mais",
|
|
249
|
+
noResults: "Nenhum resultado",
|
|
250
|
+
results: {
|
|
251
|
+
one: "{count} opção disponível.",
|
|
252
|
+
other: "{count} opções disponível."
|
|
253
|
+
},
|
|
254
|
+
select: "Selecionar"
|
|
94
255
|
},
|
|
95
256
|
"pt-PT": {
|
|
96
257
|
dragHandle: "Pega para arrastar",
|
|
97
|
-
loading: "A carregar"
|
|
258
|
+
loading: "A carregar",
|
|
259
|
+
loadingMore: "A carregar mais",
|
|
260
|
+
noResults: "Nenhum resultado",
|
|
261
|
+
results: {
|
|
262
|
+
one: "{count} opção disponível.",
|
|
263
|
+
other: "{count} opções disponível."
|
|
264
|
+
},
|
|
265
|
+
select: "Selecionar"
|
|
98
266
|
},
|
|
99
267
|
"ro-RO": {
|
|
100
268
|
dragHandle: "Mâner de tragere",
|
|
101
|
-
loading: "Se încarcă"
|
|
269
|
+
loading: "Se încarcă",
|
|
270
|
+
loadingMore: "Se încarcă mai multe",
|
|
271
|
+
noResults: "Niciun rezultat",
|
|
272
|
+
results: {
|
|
273
|
+
one: "{count} opțiune disponibile.",
|
|
274
|
+
other: "{count} opțiuni disponibile."
|
|
275
|
+
},
|
|
276
|
+
select: "Selectare"
|
|
102
277
|
},
|
|
103
278
|
"ru-RU": {
|
|
104
279
|
dragHandle: "Маркер перемещения",
|
|
105
|
-
loading: "Загрузка"
|
|
280
|
+
loading: "Загрузка",
|
|
281
|
+
loadingMore: "Загрузка ещё",
|
|
282
|
+
noResults: "Нет результатов",
|
|
283
|
+
results: {
|
|
284
|
+
one: "{count} параметр доступно.",
|
|
285
|
+
other: "{count} параметров доступно."
|
|
286
|
+
},
|
|
287
|
+
select: "Выбрать"
|
|
106
288
|
},
|
|
107
289
|
"sk-SK": {
|
|
108
290
|
dragHandle: "Úchyt na presúvanie",
|
|
109
|
-
loading: "Načítava sa"
|
|
291
|
+
loading: "Načítava sa",
|
|
292
|
+
loadingMore: "Načítavajú sa ďalšie",
|
|
293
|
+
noResults: "Žiadne výsledky",
|
|
294
|
+
results: {
|
|
295
|
+
one: "{count} možnosť k dispozícii.",
|
|
296
|
+
other: "{count} možnosti/-í k dispozícii."
|
|
297
|
+
},
|
|
298
|
+
select: "Vybrať"
|
|
110
299
|
},
|
|
111
300
|
"sl-SI": {
|
|
112
301
|
dragHandle: "Ročica za vlečenje",
|
|
113
|
-
loading: "Nalaganje"
|
|
302
|
+
loading: "Nalaganje",
|
|
303
|
+
loadingMore: "Nalaganje več",
|
|
304
|
+
noResults: "Ni rezultatov",
|
|
305
|
+
results: {
|
|
306
|
+
one: "Na voljo je {count} opcija.",
|
|
307
|
+
other: "Na voljo je {count} opcije."
|
|
308
|
+
},
|
|
309
|
+
select: "Izberite"
|
|
114
310
|
},
|
|
115
311
|
"sr-SP": {
|
|
116
312
|
dragHandle: "Ručica za prevlačenje",
|
|
117
|
-
loading: "Učitavanje"
|
|
313
|
+
loading: "Učitavanje",
|
|
314
|
+
loadingMore: "Učitavanje još",
|
|
315
|
+
noResults: "Nema rezultata",
|
|
316
|
+
results: {
|
|
317
|
+
one: "Dostupno još: {count} opcija.",
|
|
318
|
+
other: "Dostupno još: {count} opcije/a."
|
|
319
|
+
},
|
|
320
|
+
select: "Izaberite"
|
|
118
321
|
},
|
|
119
322
|
"sv-SE": {
|
|
120
323
|
dragHandle: "Draghandtag",
|
|
121
|
-
loading: "Läser in"
|
|
324
|
+
loading: "Läser in",
|
|
325
|
+
loadingMore: "Läser in fler",
|
|
326
|
+
noResults: "Inga resultat",
|
|
327
|
+
results: {
|
|
328
|
+
one: "{count} alternativ tillgängliga.",
|
|
329
|
+
other: "{count} alternativ tillgängliga."
|
|
330
|
+
},
|
|
331
|
+
select: "Markera"
|
|
122
332
|
},
|
|
123
333
|
"tr-TR": {
|
|
124
334
|
dragHandle: "Sürükleme tutamacı",
|
|
125
|
-
loading: "Yükleniyor"
|
|
335
|
+
loading: "Yükleniyor",
|
|
336
|
+
loadingMore: "Daha fazlası yükleniyor",
|
|
337
|
+
noResults: "Sonuç yok",
|
|
338
|
+
results: {
|
|
339
|
+
one: "{count} seçenek kullanılabilir.",
|
|
340
|
+
other: "{count} seçenekler kullanılabilir."
|
|
341
|
+
},
|
|
342
|
+
select: "Seç"
|
|
126
343
|
},
|
|
127
344
|
"uk-UA": {
|
|
128
345
|
dragHandle: "Маркер переміщення",
|
|
129
|
-
loading: "Завантаження"
|
|
346
|
+
loading: "Завантаження",
|
|
347
|
+
loadingMore: "Завантаження ще",
|
|
348
|
+
noResults: "Немає результатів",
|
|
349
|
+
results: {
|
|
350
|
+
one: "{count} параметр доступно.",
|
|
351
|
+
other: "{count} параметри(-ів) доступно."
|
|
352
|
+
},
|
|
353
|
+
select: "Вибрати"
|
|
130
354
|
},
|
|
131
355
|
"zh-CN": {
|
|
132
356
|
dragHandle: "拖动手柄",
|
|
133
|
-
loading: "正在加载"
|
|
357
|
+
loading: "正在加载",
|
|
358
|
+
loadingMore: "正在加载更多",
|
|
359
|
+
noResults: "没有结果",
|
|
360
|
+
results: {
|
|
361
|
+
one: "有 {count} 个选项可用。",
|
|
362
|
+
other: "有 {count} 个选项可用。"
|
|
363
|
+
},
|
|
364
|
+
select: "选择"
|
|
134
365
|
},
|
|
135
366
|
"zh-TW": {
|
|
136
367
|
dragHandle: "拖曳控點",
|
|
137
|
-
loading: "正在載入"
|
|
368
|
+
loading: "正在載入",
|
|
369
|
+
loadingMore: "正在載入更多",
|
|
370
|
+
noResults: "沒有結果",
|
|
371
|
+
results: {
|
|
372
|
+
one: "{count} 選項 可用。",
|
|
373
|
+
other: "{count} 選項 可用。"
|
|
374
|
+
},
|
|
375
|
+
select: "選取"
|
|
138
376
|
}
|
|
139
377
|
};
|
|
140
378
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.js","names":["LibraryMessages","dragHandle","loading","MESSAGES","Readonly","Record"],"sources":["../../src/i18n/messages.ts"],"sourcesContent":["// The words the library writes itself: the pending ring's name and a bottom\n// sheet's drag handle. Each one stands behind a prop that names it otherwise,\n// `pendingLabel` for the ring and `aria-label` for the handle.\n//\n// Copied from kanso-ui's src/i18n/messages.ts, one entry per locale React\n// Aria ships, and kept in step with it by hand: the web library publishes no\n// copy of its table, and a word that differs between the two would name the\n// same ring two ways. The handle's name is this table's alone, since web's\n// sheet draws its handle as decoration and names nothing. The translations\n// were drafted for that table rather than taken from a translation service,\n// and each one wants a native speaker's eye before it is trusted; a call site\n// can always pass its own words through the prop.\n\ntype LibraryMessages = {\n /** What a bottom sheet's handle is called, where it is a control. */\n readonly dragHandle: string\n /** What a pending button's ring is called. */\n readonly loading: string\n}\n\nconst MESSAGES: Readonly<Record<string, LibraryMessages>> = {\n 'ar-AE': { dragHandle: 'مقبض السحب', loading: 'جارٍ التحميل' },\n 'bg-BG': { dragHandle: 'Манипулатор за плъзгане', loading: 'Зареждане' },\n 'cs-CZ': { dragHandle: 'Úchyt pro přetažení', loading: 'Načítání' },\n 'da-DK': { dragHandle: 'Trækhåndtag', loading: 'Indlæser' },\n 'de-DE': { dragHandle: 'Ziehpunkt', loading: 'Wird geladen' },\n 'el-GR': { dragHandle: 'Λαβή μεταφοράς', loading: 'Φόρτωση' },\n 'en-US': { dragHandle: 'Drag handle', loading: 'Loading' },\n 'es-ES': { dragHandle: 'Control de arrastre', loading: 'Cargando' },\n 'et-EE': { dragHandle: 'Lohistamispide', loading: 'Laadimine' },\n 'fi-FI': { dragHandle: 'Vetokahva', loading: 'Ladataan' },\n 'fr-FR': { dragHandle: 'Poignée de déplacement', loading: 'Chargement' },\n 'he-IL': { dragHandle: 'ידית גרירה', loading: 'טוען' },\n 'hr-HR': { dragHandle: 'Ručica za povlačenje', loading: 'Učitavanje' },\n 'hu-HU': { dragHandle: 'Húzófogantyú', loading: 'Betöltés' },\n 'it-IT': { dragHandle: 'Punto di trascinamento', loading: 'Caricamento' },\n 'ja-JP': { dragHandle: 'ドラッグハンドル', loading: '読み込み中' },\n 'ko-KR': { dragHandle: '드래그 핸들', loading: '로드 중' },\n 'lt-LT': { dragHandle: 'Vilkimo rankenėlė', loading: 'Įkeliama' },\n 'lv-LV': { dragHandle: 'Vilkšanas turis', loading: 'Notiek ielāde' },\n 'nb-NO': { dragHandle: 'Drahåndtak', loading: 'Laster inn' },\n 'nl-NL': { dragHandle: 'Sleepgreep', loading: 'Laden' },\n 'pl-PL': { dragHandle: 'Uchwyt do przeciągania', loading: 'Ładowanie' },\n 'pt-BR': { dragHandle: 'Alça de arrastar', loading: 'Carregando' },\n 'pt-PT': { dragHandle: 'Pega para arrastar', loading: 'A carregar' },\n 'ro-RO': { dragHandle: 'Mâner de tragere', loading: 'Se încarcă' },\n 'ru-RU': { dragHandle: 'Маркер перемещения', loading: 'Загрузка' },\n 'sk-SK': { dragHandle: 'Úchyt na presúvanie', loading: 'Načítava sa' },\n 'sl-SI': { dragHandle: 'Ročica za vlečenje', loading: 'Nalaganje' },\n 'sr-SP': { dragHandle: 'Ručica za prevlačenje', loading: 'Učitavanje' },\n 'sv-SE': { dragHandle: 'Draghandtag', loading: 'Läser in' },\n 'tr-TR': { dragHandle: 'Sürükleme tutamacı', loading: 'Yükleniyor' },\n 'uk-UA': { dragHandle: 'Маркер переміщення', loading: 'Завантаження' },\n 'zh-CN': { dragHandle: '拖动手柄', loading: '正在加载' },\n 'zh-TW': { dragHandle: '拖曳控點', loading: '正在載入' },\n}\n\nexport { MESSAGES }\nexport type { LibraryMessages }\n"],"mappings":";AAoBA,MAAMG,WAAsD;CAC1D,SAAS;EAAEF,YAAY;EAAcC,SAAS;CAAe;CAC7D,SAAS;EAAED,YAAY;EAA2BC,SAAS;CAAY;CACvE,SAAS;EAAED,YAAY;EAAuBC,SAAS;CAAW;CAClE,SAAS;EAAED,YAAY;EAAeC,SAAS;CAAW;CAC1D,SAAS;EAAED,YAAY;EAAaC,SAAS;CAAe;CAC5D,SAAS;EAAED,YAAY;EAAkBC,SAAS;CAAU;CAC5D,SAAS;EAAED,YAAY;EAAeC,SAAS;CAAU;CACzD,SAAS;EAAED,YAAY;EAAuBC,SAAS;CAAW;CAClE,SAAS;EAAED,YAAY;EAAkBC,SAAS;CAAY;CAC9D,SAAS;EAAED,YAAY;EAAaC,SAAS;CAAW;CACxD,SAAS;EAAED,YAAY;EAA0BC,SAAS;CAAa;CACvE,SAAS;EAAED,YAAY;EAAcC,SAAS;CAAO;CACrD,SAAS;EAAED,YAAY;EAAwBC,SAAS;CAAa;CACrE,SAAS;EAAED,YAAY;EAAgBC,SAAS;CAAW;CAC3D,SAAS;EAAED,YAAY;EAA0BC,SAAS;CAAc;CACxE,SAAS;EAAED,YAAY;EAAYC,SAAS;CAAQ;CACpD,SAAS;EAAED,YAAY;EAAUC,SAAS;CAAO;CACjD,SAAS;EAAED,YAAY;EAAqBC,SAAS;CAAW;CAChE,SAAS;EAAED,YAAY;EAAmBC,SAAS;CAAgB;CACnE,SAAS;EAAED,YAAY;EAAcC,SAAS;CAAa;CAC3D,SAAS;EAAED,YAAY;EAAcC,SAAS;CAAQ;CACtD,SAAS;EAAED,YAAY;EAA0BC,SAAS;CAAY;CACtE,SAAS;EAAED,YAAY;EAAoBC,SAAS;CAAa;CACjE,SAAS;EAAED,YAAY;EAAsBC,SAAS;CAAa;CACnE,SAAS;EAAED,YAAY;EAAoBC,SAAS;CAAa;CACjE,SAAS;EAAED,YAAY;EAAsBC,SAAS;CAAW;CACjE,SAAS;EAAED,YAAY;EAAuBC,SAAS;CAAc;CACrE,SAAS;EAAED,YAAY;EAAsBC,SAAS;CAAY;CAClE,SAAS;EAAED,YAAY;EAAyBC,SAAS;CAAa;CACtE,SAAS;EAAED,YAAY;EAAeC,SAAS;CAAW;CAC1D,SAAS;EAAED,YAAY;EAAsBC,SAAS;CAAa;CACnE,SAAS;EAAED,YAAY;EAAsBC,SAAS;CAAe;CACrE,SAAS;EAAED,YAAY;EAAQC,SAAS;CAAO;CAC/C,SAAS;EAAED,YAAY;EAAQC,SAAS;CAAO;AACjD"}
|
|
1
|
+
{"version":3,"file":"messages.js","names":["LibraryMessages","dragHandle","loading","loadingMore","noResults","results","one","other","select","MESSAGES","Readonly","Record"],"sources":["../../src/i18n/messages.ts"],"sourcesContent":["// The words the library writes itself: the pending ring's name, a bottom\n// sheet's drag handle, a collection's loading-more and empty rows, what\n// selecting a list's row is called, and how many rows a search leaves. Each\n// but the last stands behind a prop that names it otherwise: `pendingLabel`\n// for the ring, `aria-label` for the handle, `label` for the loading-more\n// row, `renderEmptyState` for the empty one and `selectLabel` for the\n// selection.\n//\n// Copied from kanso-ui's src/i18n/messages.ts, one entry per locale React\n// Aria ships, and kept in step with it by hand: the web library publishes no\n// copy of its table, and a word that differs between the two would name the\n// same ring two ways. The handle's name is this table's alone, since web's\n// sheet draws its handle as decoration and names nothing. `select` is React\n// Aria's own word for a grid list row's checkbox, which web's List takes\n// from React Aria's tables rather than its own, copied here so the two read\n// the same. `results` is React Aria's too, the count its ComboBox announces,\n// which Autocomplete announces as a search narrows a list. The others were\n// drafted for kanso-ui's table rather than taken from a translation service,\n// and each one wants a native speaker's eye before it is trusted; a call\n// site can always pass its own words through the prop.\n\ntype LibraryMessages = {\n /** What a bottom sheet's handle is called, where it is a control. */\n readonly dragHandle: string\n /** What a pending button's ring is called. */\n readonly loading: string\n /** What a collection's row says while more items are on their way. */\n readonly loadingMore: string\n /** What a collection with nothing in it says. */\n readonly noResults: string\n /**\n * How many rows a search leaves, for a screen reader, in the plural\n * forms React Aria's table gives the locale; `{count}` is the number.\n */\n readonly results: {\n readonly one: string\n readonly other: string\n }\n /** What selecting a list's row is called, beside its checkbox. */\n readonly select: string\n}\n\nconst MESSAGES: Readonly<Record<string, LibraryMessages>> = {\n 'ar-AE': {\n dragHandle: 'مقبض السحب',\n loading: 'جارٍ التحميل',\n loadingMore: 'جارٍ تحميل المزيد',\n noResults: 'لا توجد نتائج',\n results: {\n one: '{count} خيار متاحة.',\n other: '{count} خيارات متاحة.',\n },\n select: 'تحديد',\n },\n 'bg-BG': {\n dragHandle: 'Манипулатор за плъзгане',\n loading: 'Зареждане',\n loadingMore: 'Зареждане на още',\n noResults: 'Няма резултати',\n results: {\n one: '{count} опция на разположение.',\n other: '{count} опции на разположение.',\n },\n select: 'Изберете',\n },\n 'cs-CZ': {\n dragHandle: 'Úchyt pro přetažení',\n loading: 'Načítání',\n loadingMore: 'Načítání dalších',\n noResults: 'Žádné výsledky',\n results: {\n one: 'K dispozici je {count} možnost.',\n other: 'K dispozici jsou/je {count} možnosti/-í.',\n },\n select: 'Vybrat',\n },\n 'da-DK': {\n dragHandle: 'Trækhåndtag',\n loading: 'Indlæser',\n loadingMore: 'Indlæser flere',\n noResults: 'Ingen resultater',\n results: {\n one: '{count} mulighed tilgængelig.',\n other: '{count} muligheder tilgængelige.',\n },\n select: 'Vælg',\n },\n 'de-DE': {\n dragHandle: 'Ziehpunkt',\n loading: 'Wird geladen',\n loadingMore: 'Weitere werden geladen',\n noResults: 'Keine Ergebnisse',\n results: {\n one: '{count} Option verfügbar.',\n other: '{count} Optionen verfügbar.',\n },\n select: 'Auswählen',\n },\n 'el-GR': {\n dragHandle: 'Λαβή μεταφοράς',\n loading: 'Φόρτωση',\n loadingMore: 'Φόρτωση περισσότερων',\n noResults: 'Δεν υπάρχουν αποτελέσματα',\n results: {\n one: '{count} επιλογή διαθέσιμες.',\n other: '{count} επιλογές διαθέσιμες.',\n },\n select: 'Επιλογή',\n },\n 'en-US': {\n dragHandle: 'Drag handle',\n loading: 'Loading',\n loadingMore: 'Loading more',\n noResults: 'No results',\n results: {\n one: '{count} option available.',\n other: '{count} options available.',\n },\n select: 'Select',\n },\n 'es-ES': {\n dragHandle: 'Control de arrastre',\n loading: 'Cargando',\n loadingMore: 'Cargando más',\n noResults: 'No hay resultados',\n results: {\n one: '{count} opción disponible(s).',\n other: '{count} opciones disponible(s).',\n },\n select: 'Seleccionar',\n },\n 'et-EE': {\n dragHandle: 'Lohistamispide',\n loading: 'Laadimine',\n loadingMore: 'Laaditakse veel',\n noResults: 'Tulemusi pole',\n results: {\n one: '{count} valik saadaval.',\n other: '{count} valikud saadaval.',\n },\n select: 'Vali',\n },\n 'fi-FI': {\n dragHandle: 'Vetokahva',\n loading: 'Ladataan',\n loadingMore: 'Ladataan lisää',\n noResults: 'Ei tuloksia',\n results: {\n one: '{count} vaihtoehto saatavilla.',\n other: '{count} vaihtoehtoa saatavilla.',\n },\n select: 'Valitse',\n },\n 'fr-FR': {\n dragHandle: 'Poignée de déplacement',\n loading: 'Chargement',\n loadingMore: 'Chargement de la suite',\n noResults: 'Aucun résultat',\n results: {\n one: '{count} option disponible(s).',\n other: '{count} options disponible(s).',\n },\n select: 'Sélectionner',\n },\n 'he-IL': {\n dragHandle: 'ידית גרירה',\n loading: 'טוען',\n loadingMore: 'טוען עוד',\n noResults: 'אין תוצאות',\n results: {\n one: 'אפשרות {count} במצב זמין.',\n other: '{count} אפשרויות במצב זמין.',\n },\n select: 'בחר',\n },\n 'hr-HR': {\n dragHandle: 'Ručica za povlačenje',\n loading: 'Učitavanje',\n loadingMore: 'Učitava se još',\n noResults: 'Nema rezultata',\n results: {\n one: 'Dostupno još: {count} opcija.',\n other: 'Dostupno još: {count} opcije/a.',\n },\n select: 'Odaberite',\n },\n 'hu-HU': {\n dragHandle: 'Húzófogantyú',\n loading: 'Betöltés',\n loadingMore: 'Továbbiak betöltése',\n noResults: 'Nincs találat',\n results: {\n one: '{count} lehetőség áll rendelkezésre.',\n other: '{count} lehetőség áll rendelkezésre.',\n },\n select: 'Kijelölés',\n },\n 'it-IT': {\n dragHandle: 'Punto di trascinamento',\n loading: 'Caricamento',\n loadingMore: 'Caricamento di altri elementi',\n noResults: 'Nessun risultato',\n results: {\n one: '{count} opzione disponibile.',\n other: '{count} opzioni disponibili.',\n },\n select: 'Seleziona',\n },\n 'ja-JP': {\n dragHandle: 'ドラッグハンドル',\n loading: '読み込み中',\n loadingMore: 'さらに読み込み中',\n noResults: '結果がありません',\n results: {\n one: '{count} 個のオプションを利用できます。',\n other: '{count} 個のオプションを利用できます。',\n },\n select: '選択',\n },\n 'ko-KR': {\n dragHandle: '드래그 핸들',\n loading: '로드 중',\n loadingMore: '더 로드하는 중',\n noResults: '결과 없음',\n results: {\n one: '{count}개 옵션을 사용할 수 있습니다.',\n other: '{count}개 옵션을 사용할 수 있습니다.',\n },\n select: '선택',\n },\n 'lt-LT': {\n dragHandle: 'Vilkimo rankenėlė',\n loading: 'Įkeliama',\n loadingMore: 'Įkeliama daugiau',\n noResults: 'Rezultatų nėra',\n results: {\n one: 'Yra {count} parinktis.',\n other: 'Yra {count} parinktys (-ių).',\n },\n select: 'Pasirinkti',\n },\n 'lv-LV': {\n dragHandle: 'Vilkšanas turis',\n loading: 'Notiek ielāde',\n loadingMore: 'Notiek papildu ielāde',\n noResults: 'Nav rezultātu',\n results: {\n one: 'Pieejamo opciju skaits: {count} opcija.',\n other: 'Pieejamo opciju skaits: {count} opcijas.',\n },\n select: 'Atlasīt',\n },\n 'nb-NO': {\n dragHandle: 'Drahåndtak',\n loading: 'Laster inn',\n loadingMore: 'Laster inn flere',\n noResults: 'Ingen resultater',\n results: {\n one: '{count} alternativ finnes.',\n other: '{count} alternativer finnes.',\n },\n select: 'Velg',\n },\n 'nl-NL': {\n dragHandle: 'Sleepgreep',\n loading: 'Laden',\n loadingMore: 'Meer laden',\n noResults: 'Geen resultaten',\n results: {\n one: '{count} optie beschikbaar.',\n other: '{count} opties beschikbaar.',\n },\n select: 'Selecteren',\n },\n 'pl-PL': {\n dragHandle: 'Uchwyt do przeciągania',\n loading: 'Ładowanie',\n loadingMore: 'Ładowanie kolejnych',\n noResults: 'Brak wyników',\n results: {\n one: 'dostępna/dostępne(-nych) {count} opcja.',\n other: 'dostępna/dostępne(-nych) {count} opcje(-i).',\n },\n select: 'Zaznacz',\n },\n 'pt-BR': {\n dragHandle: 'Alça de arrastar',\n loading: 'Carregando',\n loadingMore: 'Carregando mais',\n noResults: 'Nenhum resultado',\n results: {\n one: '{count} opção disponível.',\n other: '{count} opções disponível.',\n },\n select: 'Selecionar',\n },\n 'pt-PT': {\n dragHandle: 'Pega para arrastar',\n loading: 'A carregar',\n loadingMore: 'A carregar mais',\n noResults: 'Nenhum resultado',\n results: {\n one: '{count} opção disponível.',\n other: '{count} opções disponível.',\n },\n select: 'Selecionar',\n },\n 'ro-RO': {\n dragHandle: 'Mâner de tragere',\n loading: 'Se încarcă',\n loadingMore: 'Se încarcă mai multe',\n noResults: 'Niciun rezultat',\n results: {\n one: '{count} opțiune disponibile.',\n other: '{count} opțiuni disponibile.',\n },\n select: 'Selectare',\n },\n 'ru-RU': {\n dragHandle: 'Маркер перемещения',\n loading: 'Загрузка',\n loadingMore: 'Загрузка ещё',\n noResults: 'Нет результатов',\n results: {\n one: '{count} параметр доступно.',\n other: '{count} параметров доступно.',\n },\n select: 'Выбрать',\n },\n 'sk-SK': {\n dragHandle: 'Úchyt na presúvanie',\n loading: 'Načítava sa',\n loadingMore: 'Načítavajú sa ďalšie',\n noResults: 'Žiadne výsledky',\n results: {\n one: '{count} možnosť k dispozícii.',\n other: '{count} možnosti/-í k dispozícii.',\n },\n select: 'Vybrať',\n },\n 'sl-SI': {\n dragHandle: 'Ročica za vlečenje',\n loading: 'Nalaganje',\n loadingMore: 'Nalaganje več',\n noResults: 'Ni rezultatov',\n results: {\n one: 'Na voljo je {count} opcija.',\n other: 'Na voljo je {count} opcije.',\n },\n select: 'Izberite',\n },\n 'sr-SP': {\n dragHandle: 'Ručica za prevlačenje',\n loading: 'Učitavanje',\n loadingMore: 'Učitavanje još',\n noResults: 'Nema rezultata',\n results: {\n one: 'Dostupno još: {count} opcija.',\n other: 'Dostupno još: {count} opcije/a.',\n },\n select: 'Izaberite',\n },\n 'sv-SE': {\n dragHandle: 'Draghandtag',\n loading: 'Läser in',\n loadingMore: 'Läser in fler',\n noResults: 'Inga resultat',\n results: {\n one: '{count} alternativ tillgängliga.',\n other: '{count} alternativ tillgängliga.',\n },\n select: 'Markera',\n },\n 'tr-TR': {\n dragHandle: 'Sürükleme tutamacı',\n loading: 'Yükleniyor',\n loadingMore: 'Daha fazlası yükleniyor',\n noResults: 'Sonuç yok',\n results: {\n one: '{count} seçenek kullanılabilir.',\n other: '{count} seçenekler kullanılabilir.',\n },\n select: 'Seç',\n },\n 'uk-UA': {\n dragHandle: 'Маркер переміщення',\n loading: 'Завантаження',\n loadingMore: 'Завантаження ще',\n noResults: 'Немає результатів',\n results: {\n one: '{count} параметр доступно.',\n other: '{count} параметри(-ів) доступно.',\n },\n select: 'Вибрати',\n },\n 'zh-CN': {\n dragHandle: '拖动手柄',\n loading: '正在加载',\n loadingMore: '正在加载更多',\n noResults: '没有结果',\n results: {\n one: '有 {count} 个选项可用。',\n other: '有 {count} 个选项可用。',\n },\n select: '选择',\n },\n 'zh-TW': {\n dragHandle: '拖曳控點',\n loading: '正在載入',\n loadingMore: '正在載入更多',\n noResults: '沒有結果',\n results: {\n one: '{count} 選項 可用。',\n other: '{count} 選項 可用。',\n },\n select: '選取',\n },\n}\n\nexport { MESSAGES }\nexport type { LibraryMessages }\n"],"mappings":";AA0CA,MAAMS,WAAsD;CAC1D,SAAS;EACPR,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;CACA,SAAS;EACPP,YAAY;EACZC,SAAS;EACTC,aAAa;EACbC,WAAW;EACXC,SAAS;GACPC,KAAK;GACLC,OAAO;EACT;EACAC,QAAQ;CACV;AACF"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { AppBar, AppBarProps } from "./components/app-bar/index.js";
|
|
2
|
+
import { Autocomplete, AutocompleteFilter, AutocompleteProps } from "./components/autocomplete/index.js";
|
|
1
3
|
import { Avatar, AvatarProps } from "./components/avatar/index.js";
|
|
2
4
|
import { Button, ButtonProps, ButtonShape, ButtonSize, ButtonVariant } from "./components/button/index.js";
|
|
3
5
|
import { Card, CardProps, CardVariant } from "./components/card/index.js";
|
|
@@ -10,9 +12,17 @@ import { Dialog, DialogBody, DialogBodyProps, DialogContent, DialogContentProps,
|
|
|
10
12
|
import { Form, FormHandle, FormProps } from "./components/form/index.js";
|
|
11
13
|
import { IconButton, IconButtonProps, IconButtonSize, IconButtonVariant } from "./components/icon-button/index.js";
|
|
12
14
|
import { Link, LinkProps, LinkTone, LinkUnderline } from "./components/link/index.js";
|
|
15
|
+
import { List, ListLoadMore, ListLoadMoreProps, ListProps, ListRow, ListRowProps, ListSection, ListSectionProps } from "./components/list/index.js";
|
|
16
|
+
import { ListDetail, ListDetailProps } from "./components/list-detail/index.js";
|
|
17
|
+
import { ListItem, ListItemProps } from "./components/list-item/index.js";
|
|
18
|
+
import { Menu, MenuAlign, MenuContent, MenuContentProps, MenuItem, MenuItemProps, MenuLoadMore, MenuLoadMoreProps, MenuProps, MenuSection, MenuSectionProps, MenuSeparator, MenuSeparatorProps, MenuSide, MenuSubmenu, MenuSubmenuProps, MenuTrigger } from "./components/menu/index.js";
|
|
13
19
|
import { Meter, MeterProps, MeterTone } from "./components/meter/index.js";
|
|
20
|
+
import { KuiTheme } from "./tokens/defaults.js";
|
|
21
|
+
import { ResolvedTheme, useTheme } from "./theme/scope.js";
|
|
22
|
+
import { NavigationBar, NavigationBarItem, NavigationBarItemProps, NavigationBarProps, NavigationTabBar, NavigationTabBarProps } from "./components/navigation-bar/index.js";
|
|
14
23
|
import { FieldVariant } from "./field/index.js";
|
|
15
24
|
import { NumberField, NumberFieldProps } from "./components/number-field/index.js";
|
|
25
|
+
import { Popover, PopoverAlign, PopoverContent, PopoverContentProps, PopoverDescription, PopoverDescriptionProps, PopoverProps, PopoverSide, PopoverSize, PopoverTitle, PopoverTitleProps, PopoverTrigger } from "./components/popover/index.js";
|
|
16
26
|
import { ProductIcon, ProductIconProps } from "./components/product-icon/index.js";
|
|
17
27
|
import { ProgressIndicator, ProgressIndicatorProps, ProgressIndicatorShape, ProgressIndicatorTone, ProgressIndicatorVariant } from "./components/progress-indicator/index.js";
|
|
18
28
|
import { Radio, RadioGroup, RadioGroupOrientation, RadioGroupProps, RadioProps } from "./components/radio-group/index.js";
|
|
@@ -27,10 +37,9 @@ import { TypeRole } from "./typography/roles.js";
|
|
|
27
37
|
import { Text, TextProps } from "./components/text/index.js";
|
|
28
38
|
import { TextField, TextFieldProps } from "./components/text-field/index.js";
|
|
29
39
|
import { IconStyle, useIconStyle } from "./glyphs/icon-style.js";
|
|
30
|
-
import {
|
|
40
|
+
import { AppBarScroll, AppBarScrollOptions, useAppBarScroll } from "./hooks/useAppBarScroll.js";
|
|
31
41
|
import { WindowSizeClass, useWindowSizeClass } from "./hooks/useWindowSizeClass.js";
|
|
32
42
|
import { RouterProvider, RouterProviderProps } from "./router/index.js";
|
|
33
43
|
import { ThemeScope, ThemeScopeProps } from "./theme-scope.js";
|
|
34
|
-
import { ResolvedTheme, useTheme } from "./theme/scope.js";
|
|
35
44
|
import { Key, Selection } from "react-stately";
|
|
36
|
-
export { Avatar, type AvatarProps, Button, type ButtonProps, type ButtonShape, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardVariant, Checkbox, type CheckboxProps, Chip, type ChipActionProps, type ChipFilterProps, ChipGroup, ChipGroupChip, type ChipGroupChipProps, type ChipGroupProps, type ChipProps, type ChipVariant, CopyField, type CopyFieldProps, Currency, type CurrencyProps, type CurrencySignDisplay, type CurrencyTone, Dialog, DialogBody, type DialogBodyProps, DialogContent, type DialogContentProps, DialogFooter, DialogHeader, type DialogPartProps, type DialogProps, DialogTitle, type DialogTitleProps, type FieldVariant, Form, type FormHandle, type FormProps, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconStyle, type Key, type KuiTheme, Link, type LinkProps, type LinkTone, type LinkUnderline, Meter, type MeterProps, type MeterTone, NumberField, type NumberFieldProps, ProductIcon, type ProductIconProps, ProgressIndicator, type ProgressIndicatorProps, type ProgressIndicatorShape, type ProgressIndicatorTone, type ProgressIndicatorVariant, Radio, RadioGroup, type RadioGroupOrientation, type RadioGroupProps, type RadioProps, type ResolvedTheme, RouterProvider, type RouterProviderProps, SearchField, type SearchFieldProps, SegmentedButton, type SegmentedButtonProps, SegmentedButtonSegment, type SegmentedButtonSegmentProps, type Selection, Separator, type SeparatorInset, type SeparatorProps, Sheet, SheetBody, type SheetBodyProps, SheetContent, type SheetContentProps, SheetFooter, SheetHandle, type SheetHandleProps, SheetHeader, type SheetPartProps, type SheetProps, SheetTitle, type SheetTitleProps, Snackbar, type SnackbarAction, type SnackbarOptions, type SnackbarProps, type SnackbarQueue, Stack, type StackAlign, type StackGap, type StackJustify, type StackProps, Switch, type SwitchProps, Text, TextField, type TextFieldProps, type TextProps, ThemeScope, type ThemeScopeProps, type TypeRole, type WindowSizeClass, useIconStyle, useTheme, useWindowSizeClass };
|
|
45
|
+
export { AppBar, type AppBarProps, type AppBarScroll, type AppBarScrollOptions, Autocomplete, type AutocompleteFilter, type AutocompleteProps, Avatar, type AvatarProps, Button, type ButtonProps, type ButtonShape, type ButtonSize, type ButtonVariant, Card, type CardProps, type CardVariant, Checkbox, type CheckboxProps, Chip, type ChipActionProps, type ChipFilterProps, ChipGroup, ChipGroupChip, type ChipGroupChipProps, type ChipGroupProps, type ChipProps, type ChipVariant, CopyField, type CopyFieldProps, Currency, type CurrencyProps, type CurrencySignDisplay, type CurrencyTone, Dialog, DialogBody, type DialogBodyProps, DialogContent, type DialogContentProps, DialogFooter, DialogHeader, type DialogPartProps, type DialogProps, DialogTitle, type DialogTitleProps, type FieldVariant, Form, type FormHandle, type FormProps, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconStyle, type Key, type KuiTheme, Link, type LinkProps, type LinkTone, type LinkUnderline, List, ListDetail, type ListDetailProps, ListItem, type ListItemProps, ListLoadMore, type ListLoadMoreProps, type ListProps, ListRow, type ListRowProps, ListSection, type ListSectionProps, 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, type MenuTrigger, Meter, type MeterProps, type MeterTone, NavigationBar, NavigationBarItem, type NavigationBarItemProps, type NavigationBarProps, NavigationTabBar, type NavigationTabBarProps, NumberField, type NumberFieldProps, Popover, type PopoverAlign, PopoverContent, type PopoverContentProps, PopoverDescription, type PopoverDescriptionProps, type PopoverProps, type PopoverSide, type PopoverSize, PopoverTitle, type PopoverTitleProps, type PopoverTrigger, ProductIcon, type ProductIconProps, ProgressIndicator, type ProgressIndicatorProps, type ProgressIndicatorShape, type ProgressIndicatorTone, type ProgressIndicatorVariant, Radio, RadioGroup, type RadioGroupOrientation, type RadioGroupProps, type RadioProps, type ResolvedTheme, RouterProvider, type RouterProviderProps, SearchField, type SearchFieldProps, SegmentedButton, type SegmentedButtonProps, SegmentedButtonSegment, type SegmentedButtonSegmentProps, type Selection, Separator, type SeparatorInset, type SeparatorProps, Sheet, SheetBody, type SheetBodyProps, SheetContent, type SheetContentProps, SheetFooter, SheetHandle, type SheetHandleProps, SheetHeader, type SheetPartProps, type SheetProps, SheetTitle, type SheetTitleProps, Snackbar, type SnackbarAction, type SnackbarOptions, type SnackbarProps, type SnackbarQueue, Stack, type StackAlign, type StackGap, type StackJustify, type StackProps, Switch, type SwitchProps, Text, TextField, type TextFieldProps, type TextProps, ThemeScope, type ThemeScopeProps, type TypeRole, type WindowSizeClass, useAppBarScroll, useIconStyle, useTheme, useWindowSizeClass };
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { useIconStyle } from "./glyphs/icon-style.js";
|
|
2
|
+
import { useAppBarScroll } from "./hooks/useAppBarScroll.js";
|
|
2
3
|
import { useTheme } from "./theme/scope.js";
|
|
4
|
+
import { Text } from "./components/text/index.js";
|
|
5
|
+
import { AppBar } from "./components/app-bar/index.js";
|
|
6
|
+
import { Autocomplete } from "./components/autocomplete/index.js";
|
|
3
7
|
import { Avatar } from "./components/avatar/index.js";
|
|
4
8
|
import { RouterProvider } from "./router/index.js";
|
|
5
|
-
import { Text } from "./components/text/index.js";
|
|
6
9
|
import { ProgressIndicator } from "./components/progress-indicator/index.js";
|
|
7
10
|
import { Button } from "./components/button/index.js";
|
|
8
11
|
import { Card } from "./components/card/index.js";
|
|
@@ -16,17 +19,23 @@ import { Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTi
|
|
|
16
19
|
import { Form } from "./components/form/index.js";
|
|
17
20
|
import { IconButton } from "./components/icon-button/index.js";
|
|
18
21
|
import { Link } from "./components/link/index.js";
|
|
22
|
+
import { List, ListLoadMore, ListRow, ListSection } from "./components/list/index.js";
|
|
23
|
+
import { ListDetail } from "./components/list-detail/index.js";
|
|
24
|
+
import { ListItem } from "./components/list-item/index.js";
|
|
25
|
+
import { Separator } from "./components/separator/index.js";
|
|
26
|
+
import { Menu, MenuContent, MenuItem, MenuLoadMore, MenuSection, MenuSeparator, MenuSubmenu } from "./components/menu/index.js";
|
|
19
27
|
import { Meter } from "./components/meter/index.js";
|
|
28
|
+
import { NavigationBar, NavigationBarItem, NavigationTabBar } from "./components/navigation-bar/index.js";
|
|
20
29
|
import { NumberField } from "./components/number-field/index.js";
|
|
30
|
+
import { Popover, PopoverContent, PopoverDescription, PopoverTitle } from "./components/popover/index.js";
|
|
21
31
|
import { ProductIcon } from "./components/product-icon/index.js";
|
|
22
32
|
import { Radio, RadioGroup } from "./components/radio-group/index.js";
|
|
23
33
|
import { SearchField } from "./components/search-field/index.js";
|
|
24
34
|
import { SegmentedButton, SegmentedButtonSegment } from "./components/segmented-button/index.js";
|
|
25
|
-
import { Separator } from "./components/separator/index.js";
|
|
26
35
|
import { Sheet, SheetBody, SheetContent, SheetFooter, SheetHandle, SheetHeader, SheetTitle } from "./components/sheet/index.js";
|
|
27
36
|
import { Snackbar } from "./components/snackbar/index.js";
|
|
28
37
|
import { Stack } from "./components/stack/index.js";
|
|
29
38
|
import { Switch } from "./components/switch/index.js";
|
|
30
39
|
import { TextField } from "./components/text-field/index.js";
|
|
31
40
|
import { ThemeScope } from "./theme-scope.js";
|
|
32
|
-
export { Avatar, Button, Card, Checkbox, Chip, ChipGroup, ChipGroupChip, CopyField, Currency, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Form, IconButton, Link, Meter, NumberField, ProductIcon, ProgressIndicator, Radio, RadioGroup, RouterProvider, SearchField, SegmentedButton, SegmentedButtonSegment, Separator, Sheet, SheetBody, SheetContent, SheetFooter, SheetHandle, SheetHeader, SheetTitle, Snackbar, Stack, Switch, Text, TextField, ThemeScope, useIconStyle, useTheme, useWindowSizeClass };
|
|
41
|
+
export { AppBar, Autocomplete, Avatar, Button, Card, Checkbox, Chip, ChipGroup, ChipGroupChip, CopyField, Currency, Dialog, DialogBody, DialogContent, DialogFooter, DialogHeader, DialogTitle, Form, IconButton, Link, List, ListDetail, ListItem, ListLoadMore, ListRow, ListSection, Menu, MenuContent, MenuItem, MenuLoadMore, MenuSection, MenuSeparator, MenuSubmenu, Meter, NavigationBar, NavigationBarItem, NavigationTabBar, NumberField, Popover, PopoverContent, PopoverDescription, PopoverTitle, ProductIcon, ProgressIndicator, Radio, RadioGroup, RouterProvider, SearchField, SegmentedButton, SegmentedButtonSegment, Separator, Sheet, SheetBody, SheetContent, SheetFooter, SheetHandle, SheetHeader, SheetTitle, Snackbar, Stack, Switch, Text, TextField, ThemeScope, useAppBarScroll, useIconStyle, useTheme, useWindowSizeClass };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "react-native";
|
|
2
|
-
import { ReactNode } from "react";
|
|
1
|
+
import { LayoutChangeEvent } from "react-native";
|
|
3
2
|
import "react-native-reanimated";
|
|
3
|
+
import { ReactNode } from "react";
|
|
4
4
|
//#region src/indicator/index.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* The line's colour. `primary` is the page's own pair. `negative` and
|
package/dist/indicator/index.js
CHANGED
|
@@ -7,9 +7,9 @@ import { localeOf } from "../number/locale.js";
|
|
|
7
7
|
import { styles, stylesOf } from "./styles.js";
|
|
8
8
|
import { c } from "react/compiler-runtime";
|
|
9
9
|
import { View } from "react-native";
|
|
10
|
+
import Animated, { Easing, useAnimatedStyle, useReducedMotion, useSharedValue, withTiming } from "react-native-reanimated";
|
|
10
11
|
import { useEffect, useState } from "react";
|
|
11
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
|
-
import Animated, { Easing, useAnimatedStyle, useReducedMotion, useSharedValue, withTiming } from "react-native-reanimated";
|
|
13
13
|
import { NumberFormatter } from "@internationalized/number";
|
|
14
14
|
//#region src/indicator/index.tsx
|
|
15
15
|
/**
|
package/dist/indicator/motion.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c } from "react/compiler-runtime";
|
|
2
|
-
import { useEffect } from "react";
|
|
3
2
|
import { Easing, ReduceMotion, cancelAnimation, useSharedValue, withRepeat, withTiming } from "react-native-reanimated";
|
|
3
|
+
import { useEffect } from "react";
|
|
4
4
|
//#region src/indicator/motion.ts
|
|
5
5
|
const SEARCH_STEPS = 24;
|
|
6
6
|
/**
|
package/dist/mark/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PersonGlyph } from "../glyphs/index.js";
|
|
2
1
|
import { useTheme } from "../theme/scope.js";
|
|
3
2
|
import { composeStyles } from "../theme/styles.js";
|
|
4
3
|
import { useTypeRole } from "../typography/roles.js";
|
|
4
|
+
import { PersonGlyph } from "../glyphs/index.js";
|
|
5
5
|
import { useImageLoadingStatus } from "./image.js";
|
|
6
6
|
import { initialOfThing, initialsOfPerson } from "./initials.js";
|
|
7
7
|
import { DIAMETERS, GLYPH_SHARE, initialsStylesOf, markStyles, markStylesOf } from "./styles.js";
|
package/dist/modal/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "../button/slots.js";
|
|
2
2
|
import { HostInstance, ViewProps, ViewStyle } from "react-native";
|
|
3
|
-
import { ReactNode, Ref } from "react";
|
|
4
3
|
import "react-native-reanimated";
|
|
5
4
|
import "react-native-safe-area-context";
|
|
5
|
+
import { ReactNode } from "react";
|
|
6
6
|
import "react-stately/useOverlayTriggerState";
|
|
7
7
|
//#region src/modal/index.d.ts
|
|
8
8
|
/** Whether a modal surface is open, and who holds that state. */
|
package/dist/modal/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useTheme } from "../theme/scope.js";
|
|
2
2
|
import { composeStyles, themedStyles } from "../theme/styles.js";
|
|
3
|
+
import { withOpacity } from "../theme/color.js";
|
|
3
4
|
import { ButtonSlotContext } from "../button/slots.js";
|
|
4
5
|
import { AnimatedPressable } from "../button/index.js";
|
|
5
|
-
import { withOpacity } from "../theme/color.js";
|
|
6
6
|
import { OverlayHost } from "../overlay/host.js";
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
8
8
|
import { AccessibilityInfo, I18nManager, Modal, Platform, StyleSheet } from "react-native";
|
|
@@ -143,13 +143,6 @@ function panelRoleOf(role, labelledBy) {
|
|
|
143
143
|
role
|
|
144
144
|
};
|
|
145
145
|
}
|
|
146
|
-
function refsOf(own, other) {
|
|
147
|
-
return (node) => {
|
|
148
|
-
own(node);
|
|
149
|
-
if (typeof other === "function") other(node);
|
|
150
|
-
else if (other !== null && other !== void 0) other.current = node;
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
146
|
function registerOf(setParts) {
|
|
154
147
|
return (part) => {
|
|
155
148
|
setParts((parts) => ({
|
|
@@ -279,6 +272,6 @@ function useReturnFocus(present, outer) {
|
|
|
279
272
|
useEffect(t0, t1);
|
|
280
273
|
}
|
|
281
274
|
//#endregion
|
|
282
|
-
export { ModalWindow, NO_INSETS, insetsOf, panelRoleOf,
|
|
275
|
+
export { ModalWindow, NO_INSETS, insetsOf, panelRoleOf, registerOf, useModalState, useModalTrigger };
|
|
283
276
|
|
|
284
277
|
//# sourceMappingURL=index.js.map
|