ionbase-ui 0.18.0 → 0.19.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/meta/Alert.json +0 -21
- package/dist/meta/Avatar.json +66 -0
- package/dist/meta/AvatarGroup.json +57 -0
- package/dist/meta/Badge.json +65 -0
- package/dist/meta/Button.json +0 -38
- package/dist/meta/Checkbox.json +82 -0
- package/dist/meta/Divider.json +39 -0
- package/dist/meta/FullCard.json +77 -0
- package/dist/meta/Header.json +59 -0
- package/dist/meta/Icon.json +54 -0
- package/dist/meta/Link.json +67 -0
- package/dist/meta/Logo.json +49 -0
- package/dist/meta/LogoMark.json +38 -0
- package/dist/meta/Menu.json +54 -0
- package/dist/meta/MenuItem.json +51 -0
- package/dist/meta/NavItem.json +53 -0
- package/dist/meta/PhoneInput.json +60 -0
- package/dist/meta/Popover.json +92 -0
- package/dist/meta/Radio.json +77 -0
- package/dist/meta/RadioGroup.json +84 -0
- package/dist/meta/ScrollProgress.json +41 -0
- package/dist/meta/TabItem.json +42 -0
- package/dist/meta/TableBody.json +36 -0
- package/dist/meta/TableCell.json +83 -0
- package/dist/meta/TableHead.json +39 -0
- package/dist/meta/TableRow.json +45 -0
- package/dist/meta/Tabs.json +85 -0
- package/dist/meta/Toast.json +81 -0
- package/dist/meta/ToastProvider.json +57 -0
- package/dist/meta/Toggle.json +76 -0
- package/dist/meta/Tooltip.json +74 -0
- package/dist/meta/components.json +1856 -132
- package/dist/meta/contrast.json +6 -1
- package/dist/meta/index.json +88 -59
- package/package.json +1 -1
package/dist/meta/contrast.json
CHANGED
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
"text": 4.5,
|
|
5
5
|
"nonText": 3
|
|
6
6
|
},
|
|
7
|
+
"deferredModes": [
|
|
8
|
+
"Dark"
|
|
9
|
+
],
|
|
7
10
|
"pairings": [
|
|
8
11
|
{
|
|
9
12
|
"component": "button",
|
|
@@ -3533,7 +3536,9 @@
|
|
|
3533
3536
|
"Input",
|
|
3534
3537
|
"Select"
|
|
3535
3538
|
]
|
|
3536
|
-
}
|
|
3539
|
+
}
|
|
3540
|
+
],
|
|
3541
|
+
"deferred": [
|
|
3537
3542
|
{
|
|
3538
3543
|
"fg": "--text-disabled",
|
|
3539
3544
|
"bg": "--surface-disabled",
|
package/dist/meta/index.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"package": "ionbase-ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.0",
|
|
4
4
|
"usage": "Pick a component here, then read dist/meta/<Name>.json for its full contract.",
|
|
5
5
|
"hooks": [
|
|
6
6
|
"useToast"
|
|
@@ -31,7 +31,8 @@
|
|
|
31
31
|
"hasIntent": true
|
|
32
32
|
},
|
|
33
33
|
"Avatar": {
|
|
34
|
-
"summary": "
|
|
34
|
+
"summary": "A person or entity marker. Content is chosen by precedence — image, then initials, then icon — not by a type prop.",
|
|
35
|
+
"status": "stable",
|
|
35
36
|
"variants": {
|
|
36
37
|
"size": [
|
|
37
38
|
"mini",
|
|
@@ -45,10 +46,11 @@
|
|
|
45
46
|
]
|
|
46
47
|
},
|
|
47
48
|
"detail": "dist/meta/Avatar.json",
|
|
48
|
-
"hasIntent":
|
|
49
|
+
"hasIntent": true
|
|
49
50
|
},
|
|
50
51
|
"AvatarGroup": {
|
|
51
|
-
"summary": "
|
|
52
|
+
"summary": "Overlapping Avatars with a `+N` overflow, for showing several people in one row's width.",
|
|
53
|
+
"status": "stable",
|
|
52
54
|
"variants": {
|
|
53
55
|
"size": [
|
|
54
56
|
"mini",
|
|
@@ -62,10 +64,11 @@
|
|
|
62
64
|
]
|
|
63
65
|
},
|
|
64
66
|
"detail": "dist/meta/AvatarGroup.json",
|
|
65
|
-
"hasIntent":
|
|
67
|
+
"hasIntent": true
|
|
66
68
|
},
|
|
67
69
|
"Badge": {
|
|
68
|
-
"summary": "
|
|
70
|
+
"summary": "A small, non-interactive label that classifies the thing next to it. Presentational — no role, no live region.",
|
|
71
|
+
"status": "stable",
|
|
69
72
|
"variants": {
|
|
70
73
|
"intent": [
|
|
71
74
|
"neutral",
|
|
@@ -77,7 +80,7 @@
|
|
|
77
80
|
]
|
|
78
81
|
},
|
|
79
82
|
"detail": "dist/meta/Badge.json",
|
|
80
|
-
"hasIntent":
|
|
83
|
+
"hasIntent": true
|
|
81
84
|
},
|
|
82
85
|
"Button": {
|
|
83
86
|
"summary": "Triggers an action in place. Never navigates.",
|
|
@@ -103,7 +106,8 @@
|
|
|
103
106
|
"hasIntent": true
|
|
104
107
|
},
|
|
105
108
|
"Checkbox": {
|
|
106
|
-
"summary": "
|
|
109
|
+
"summary": "A native checkbox with the system's styling, supporting an indeterminate state.",
|
|
110
|
+
"status": "stable",
|
|
107
111
|
"variants": {
|
|
108
112
|
"size": [
|
|
109
113
|
"sm",
|
|
@@ -117,10 +121,11 @@
|
|
|
117
121
|
]
|
|
118
122
|
},
|
|
119
123
|
"detail": "dist/meta/Checkbox.json",
|
|
120
|
-
"hasIntent":
|
|
124
|
+
"hasIntent": true
|
|
121
125
|
},
|
|
122
126
|
"Divider": {
|
|
123
|
-
"summary": "A
|
|
127
|
+
"summary": "A semantic thematic break, rendered as a real <hr>.",
|
|
128
|
+
"status": "stable",
|
|
124
129
|
"variants": {
|
|
125
130
|
"orientation": [
|
|
126
131
|
"horizontal",
|
|
@@ -128,10 +133,11 @@
|
|
|
128
133
|
]
|
|
129
134
|
},
|
|
130
135
|
"detail": "dist/meta/Divider.json",
|
|
131
|
-
"hasIntent":
|
|
136
|
+
"hasIntent": true
|
|
132
137
|
},
|
|
133
138
|
"FullCard": {
|
|
134
|
-
"summary": "
|
|
139
|
+
"summary": "A full-bleed row: a text column beside a framed media panel, mirrored by `alignment`.",
|
|
140
|
+
"status": "stable",
|
|
135
141
|
"variants": {
|
|
136
142
|
"alignment": [
|
|
137
143
|
"right",
|
|
@@ -139,19 +145,21 @@
|
|
|
139
145
|
]
|
|
140
146
|
},
|
|
141
147
|
"detail": "dist/meta/FullCard.json",
|
|
142
|
-
"hasIntent":
|
|
148
|
+
"hasIntent": true
|
|
143
149
|
},
|
|
144
150
|
"Header": {
|
|
145
|
-
"summary": "
|
|
151
|
+
"summary": "The page header bar. Renders Figma's Desktop, Tablet, Mobile-Closed and Mobile-Open from one DOM tree.",
|
|
152
|
+
"status": "stable",
|
|
146
153
|
"variants": {},
|
|
147
154
|
"detail": "dist/meta/Header.json",
|
|
148
|
-
"hasIntent":
|
|
155
|
+
"hasIntent": true
|
|
149
156
|
},
|
|
150
157
|
"Icon": {
|
|
151
|
-
"summary": "
|
|
158
|
+
"summary": "Applies the system's icon sizing and accessibility defaults to any SVG component you hand it. The package ships no icon set.",
|
|
159
|
+
"status": "stable",
|
|
152
160
|
"variants": {},
|
|
153
161
|
"detail": "dist/meta/Icon.json",
|
|
154
|
-
"hasIntent":
|
|
162
|
+
"hasIntent": true
|
|
155
163
|
},
|
|
156
164
|
"Input": {
|
|
157
165
|
"summary": "A single-line text field, together with its label, helper text and error message.",
|
|
@@ -175,7 +183,8 @@
|
|
|
175
183
|
"hasIntent": true
|
|
176
184
|
},
|
|
177
185
|
"Link": {
|
|
178
|
-
"summary": "
|
|
186
|
+
"summary": "Navigation to somewhere else. Renders an <a> when given `href`, a <button> otherwise.",
|
|
187
|
+
"status": "stable",
|
|
179
188
|
"variants": {
|
|
180
189
|
"variant": [
|
|
181
190
|
"inline",
|
|
@@ -183,10 +192,11 @@
|
|
|
183
192
|
]
|
|
184
193
|
},
|
|
185
194
|
"detail": "dist/meta/Link.json",
|
|
186
|
-
"hasIntent":
|
|
195
|
+
"hasIntent": true
|
|
187
196
|
},
|
|
188
197
|
"Logo": {
|
|
189
|
-
"summary": "The full lockup
|
|
198
|
+
"summary": "The full IonBase lockup — mark plus wordmark.",
|
|
199
|
+
"status": "stable",
|
|
190
200
|
"variants": {
|
|
191
201
|
"size": [
|
|
192
202
|
"sm",
|
|
@@ -198,10 +208,11 @@
|
|
|
198
208
|
]
|
|
199
209
|
},
|
|
200
210
|
"detail": "dist/meta/Logo.json",
|
|
201
|
-
"hasIntent":
|
|
211
|
+
"hasIntent": true
|
|
202
212
|
},
|
|
203
213
|
"LogoMark": {
|
|
204
|
-
"summary": "The bare
|
|
214
|
+
"summary": "The bare mark, no wordmark — what Header uses.",
|
|
215
|
+
"status": "stable",
|
|
205
216
|
"variants": {
|
|
206
217
|
"size": [
|
|
207
218
|
"sm",
|
|
@@ -209,19 +220,21 @@
|
|
|
209
220
|
]
|
|
210
221
|
},
|
|
211
222
|
"detail": "dist/meta/LogoMark.json",
|
|
212
|
-
"hasIntent":
|
|
223
|
+
"hasIntent": true
|
|
213
224
|
},
|
|
214
225
|
"Menu": {
|
|
215
|
-
"summary": "
|
|
226
|
+
"summary": "The list surface only — no trigger, no anchor, no open state. Positioning it is the caller's job.",
|
|
227
|
+
"status": "stable",
|
|
216
228
|
"variants": {},
|
|
217
229
|
"detail": "dist/meta/Menu.json",
|
|
218
|
-
"hasIntent":
|
|
230
|
+
"hasIntent": true
|
|
219
231
|
},
|
|
220
232
|
"MenuItem": {
|
|
221
|
-
"summary":
|
|
233
|
+
"summary": "One row in a Menu. A real <button> inside an <li>, with an optional leading icon and a trailing selected check.",
|
|
234
|
+
"status": "stable",
|
|
222
235
|
"variants": {},
|
|
223
236
|
"detail": "dist/meta/MenuItem.json",
|
|
224
|
-
"hasIntent":
|
|
237
|
+
"hasIntent": true
|
|
225
238
|
},
|
|
226
239
|
"Modal": {
|
|
227
240
|
"summary": "A focus-trapping dialog. Renders nothing when closed and portals when open.",
|
|
@@ -242,13 +255,15 @@
|
|
|
242
255
|
"hasIntent": true
|
|
243
256
|
},
|
|
244
257
|
"NavItem": {
|
|
245
|
-
"summary": "
|
|
258
|
+
"summary": "A primary navigation destination. Renders an <a> when given `href`, a <button> otherwise.",
|
|
259
|
+
"status": "stable",
|
|
246
260
|
"variants": {},
|
|
247
261
|
"detail": "dist/meta/NavItem.json",
|
|
248
|
-
"hasIntent":
|
|
262
|
+
"hasIntent": true
|
|
249
263
|
},
|
|
250
264
|
"PhoneInput": {
|
|
251
|
-
"summary": "
|
|
265
|
+
"summary": "A dial-code block butted against an Input, sharing one outline. It does not pick countries.",
|
|
266
|
+
"status": "stable",
|
|
252
267
|
"variants": {
|
|
253
268
|
"autoCapitalize": [
|
|
254
269
|
"none",
|
|
@@ -265,10 +280,11 @@
|
|
|
265
280
|
]
|
|
266
281
|
},
|
|
267
282
|
"detail": "dist/meta/PhoneInput.json",
|
|
268
|
-
"hasIntent":
|
|
283
|
+
"hasIntent": true
|
|
269
284
|
},
|
|
270
285
|
"Popover": {
|
|
271
|
-
"summary": "
|
|
286
|
+
"summary": "An anchored panel that holds interactive content. Sits between Tooltip and Modal.",
|
|
287
|
+
"status": "stable",
|
|
272
288
|
"variants": {
|
|
273
289
|
"placement": [
|
|
274
290
|
"right",
|
|
@@ -283,10 +299,11 @@
|
|
|
283
299
|
]
|
|
284
300
|
},
|
|
285
301
|
"detail": "dist/meta/Popover.json",
|
|
286
|
-
"hasIntent":
|
|
302
|
+
"hasIntent": true
|
|
287
303
|
},
|
|
288
304
|
"Radio": {
|
|
289
|
-
"summary":
|
|
305
|
+
"summary": "One option inside a RadioGroup. Meaningless on its own — the group owns the name and the selected value.",
|
|
306
|
+
"status": "stable",
|
|
290
307
|
"variants": {
|
|
291
308
|
"size": [
|
|
292
309
|
"sm",
|
|
@@ -300,10 +317,11 @@
|
|
|
300
317
|
]
|
|
301
318
|
},
|
|
302
319
|
"detail": "dist/meta/Radio.json",
|
|
303
|
-
"hasIntent":
|
|
320
|
+
"hasIntent": true
|
|
304
321
|
},
|
|
305
322
|
"RadioGroup": {
|
|
306
|
-
"summary": "
|
|
323
|
+
"summary": "A <fieldset>/<legend> group of mutually exclusive options. Owns the shared name and the selected value.",
|
|
324
|
+
"status": "stable",
|
|
307
325
|
"variants": {
|
|
308
326
|
"size": [
|
|
309
327
|
"sm",
|
|
@@ -317,13 +335,14 @@
|
|
|
317
335
|
]
|
|
318
336
|
},
|
|
319
337
|
"detail": "dist/meta/RadioGroup.json",
|
|
320
|
-
"hasIntent":
|
|
338
|
+
"hasIntent": true
|
|
321
339
|
},
|
|
322
340
|
"ScrollProgress": {
|
|
323
|
-
"summary": "
|
|
341
|
+
"summary": "A compact progress rail that expands into a section list. A disclosure, not a menu — and it computes nothing itself.",
|
|
342
|
+
"status": "stable",
|
|
324
343
|
"variants": {},
|
|
325
344
|
"detail": "dist/meta/ScrollProgress.json",
|
|
326
|
-
"hasIntent":
|
|
345
|
+
"hasIntent": true
|
|
327
346
|
},
|
|
328
347
|
"Select": {
|
|
329
348
|
"summary": "A dropdown over a native <select>, with the same label and error wiring as Input.",
|
|
@@ -339,10 +358,11 @@
|
|
|
339
358
|
"hasIntent": true
|
|
340
359
|
},
|
|
341
360
|
"TabItem": {
|
|
342
|
-
"summary":
|
|
361
|
+
"summary": "One tab and its panel. Re-exported from react-stately's collection Item — `title` is the tab label, children are the panel.",
|
|
362
|
+
"status": "stable",
|
|
343
363
|
"variants": {},
|
|
344
364
|
"detail": "dist/meta/TabItem.json",
|
|
345
|
-
"hasIntent":
|
|
365
|
+
"hasIntent": true
|
|
346
366
|
},
|
|
347
367
|
"Table": {
|
|
348
368
|
"summary": "A data table. Table owns the scroll container and density; rows and cells are composed.",
|
|
@@ -358,13 +378,15 @@
|
|
|
358
378
|
"hasIntent": true
|
|
359
379
|
},
|
|
360
380
|
"TableBody": {
|
|
361
|
-
"summary":
|
|
381
|
+
"summary": "The <tbody> section. Takes no props — it places the data rows and gives their cells body context.",
|
|
382
|
+
"status": "stable",
|
|
362
383
|
"variants": {},
|
|
363
384
|
"detail": "dist/meta/TableBody.json",
|
|
364
|
-
"hasIntent":
|
|
385
|
+
"hasIntent": true
|
|
365
386
|
},
|
|
366
387
|
"TableCell": {
|
|
367
|
-
"summary": "One
|
|
388
|
+
"summary": "One cell, covering Figma's Table Cell and Cell Text together. `header` decides <th> versus <td>.",
|
|
389
|
+
"status": "stable",
|
|
368
390
|
"variants": {
|
|
369
391
|
"scope": [
|
|
370
392
|
"row",
|
|
@@ -383,22 +405,25 @@
|
|
|
383
405
|
]
|
|
384
406
|
},
|
|
385
407
|
"detail": "dist/meta/TableCell.json",
|
|
386
|
-
"hasIntent":
|
|
408
|
+
"hasIntent": true
|
|
387
409
|
},
|
|
388
410
|
"TableHead": {
|
|
389
|
-
"summary":
|
|
411
|
+
"summary": "The <thead> section. Takes no props — it places the header row and gives its cells their head-or-body context.",
|
|
412
|
+
"status": "stable",
|
|
390
413
|
"variants": {},
|
|
391
414
|
"detail": "dist/meta/TableHead.json",
|
|
392
|
-
"hasIntent":
|
|
415
|
+
"hasIntent": true
|
|
393
416
|
},
|
|
394
417
|
"TableRow": {
|
|
395
|
-
"summary": "A plain
|
|
418
|
+
"summary": "A plain <tr>. Hover is CSS-only; a row is not itself interactive.",
|
|
419
|
+
"status": "stable",
|
|
396
420
|
"variants": {},
|
|
397
421
|
"detail": "dist/meta/TableRow.json",
|
|
398
|
-
"hasIntent":
|
|
422
|
+
"hasIntent": true
|
|
399
423
|
},
|
|
400
424
|
"Tabs": {
|
|
401
|
-
"summary":
|
|
425
|
+
"summary": "A tab list and its panels, built on react-aria's tab collection. Children are TabItem.",
|
|
426
|
+
"status": "stable",
|
|
402
427
|
"variants": {
|
|
403
428
|
"type": [
|
|
404
429
|
"pill",
|
|
@@ -415,10 +440,11 @@
|
|
|
415
440
|
]
|
|
416
441
|
},
|
|
417
442
|
"detail": "dist/meta/Tabs.json",
|
|
418
|
-
"hasIntent":
|
|
443
|
+
"hasIntent": true
|
|
419
444
|
},
|
|
420
445
|
"Toast": {
|
|
421
|
-
"summary": "
|
|
446
|
+
"summary": "A transient notification on neutral chrome. Intent is carried by the icon, not by a tinted panel.",
|
|
447
|
+
"status": "stable",
|
|
422
448
|
"variants": {
|
|
423
449
|
"intent": [
|
|
424
450
|
"neutral",
|
|
@@ -430,10 +456,11 @@
|
|
|
430
456
|
]
|
|
431
457
|
},
|
|
432
458
|
"detail": "dist/meta/Toast.json",
|
|
433
|
-
"hasIntent":
|
|
459
|
+
"hasIntent": true
|
|
434
460
|
},
|
|
435
461
|
"ToastProvider": {
|
|
436
|
-
"summary": "Renders the queue and supplies `useToast
|
|
462
|
+
"summary": "Renders the toast queue and supplies the `useToast` hook. Mount once, near the app root.",
|
|
463
|
+
"status": "stable",
|
|
437
464
|
"variants": {
|
|
438
465
|
"placement": [
|
|
439
466
|
"top-left",
|
|
@@ -443,10 +470,11 @@
|
|
|
443
470
|
]
|
|
444
471
|
},
|
|
445
472
|
"detail": "dist/meta/ToastProvider.json",
|
|
446
|
-
"hasIntent":
|
|
473
|
+
"hasIntent": true
|
|
447
474
|
},
|
|
448
475
|
"Toggle": {
|
|
449
|
-
"summary": "
|
|
476
|
+
"summary": "A switch — a checkbox with role=\"switch\", announced as on/off.",
|
|
477
|
+
"status": "stable",
|
|
450
478
|
"variants": {
|
|
451
479
|
"size": [
|
|
452
480
|
"sm",
|
|
@@ -460,10 +488,11 @@
|
|
|
460
488
|
]
|
|
461
489
|
},
|
|
462
490
|
"detail": "dist/meta/Toggle.json",
|
|
463
|
-
"hasIntent":
|
|
491
|
+
"hasIntent": true
|
|
464
492
|
},
|
|
465
493
|
"Tooltip": {
|
|
466
|
-
"summary": "
|
|
494
|
+
"summary": "A text-only hint attached to a trigger. Opens on hover and on focus.",
|
|
495
|
+
"status": "stable",
|
|
467
496
|
"variants": {
|
|
468
497
|
"placement": [
|
|
469
498
|
"right",
|
|
@@ -473,7 +502,7 @@
|
|
|
473
502
|
]
|
|
474
503
|
},
|
|
475
504
|
"detail": "dist/meta/Tooltip.json",
|
|
476
|
-
"hasIntent":
|
|
505
|
+
"hasIntent": true
|
|
477
506
|
}
|
|
478
507
|
}
|
|
479
508
|
}
|