@tangible/ui 0.2.28 → 0.2.30
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/components/Accordion/Accordion.js +2 -1
- package/components/Avatar/Avatar.js +6 -2
- package/components/Button/types.d.ts +5 -5
- package/components/Chip/Chip.js +2 -1
- package/components/ChipGroup/ChipGroup.js +1 -1
- package/components/ChipGroup/types.d.ts +2 -1
- package/components/Chips/Chips.d.ts +2 -0
- package/components/Chips/Chips.js +2 -16
- package/components/ColorPicker/ColorField.d.ts +3 -3
- package/components/ColorPicker/ColorField.js +2 -1
- package/components/ColorPicker/ColorPicker.js +2 -1
- package/components/ColorPicker/usePointerDrag.d.ts +7 -0
- package/components/ColorPicker/usePointerDrag.js +15 -1
- package/components/Combobox/Combobox.js +3 -2
- package/components/ContentIndicator/types.d.ts +3 -3
- package/components/DatePicker/Calendar.js +4 -3
- package/components/DatePicker/DatePicker.js +3 -2
- package/components/DatePicker/PickerTrigger.js +2 -1
- package/components/DatePicker/types.d.ts +1 -1
- package/components/GradientPicker/GradientBar.js +3 -1
- package/components/GradientPicker/GradientPicker.js +4 -3
- package/components/Icon/Icon.d.ts +9 -2
- package/components/Icon/Icon.js +4 -3
- package/components/Icon/index.d.ts +1 -1
- package/components/IconButton/IconButton.js +13 -45
- package/components/IconButton/IconButtonCore.d.ts +9 -0
- package/components/IconButton/IconButtonCore.js +76 -0
- package/components/IconButton/types.d.ts +4 -3
- package/components/Modal/Modal.d.ts +12 -3
- package/components/Modal/Modal.js +38 -15
- package/components/MoveHandle/MoveHandle.js +3 -2
- package/components/MultiCombobox/MultiCombobox.js +3 -2
- package/components/MultiSelect/MultiSelect.js +3 -2
- package/components/NavMenu/NavMenu.js +2 -1
- package/components/NavMenu/types.d.ts +3 -3
- package/components/Notice/Notice.d.ts +7 -0
- package/components/Notice/Notice.js +6 -5
- package/components/Pager/Pager.js +5 -4
- package/components/Rating/Rating.js +2 -1
- package/components/SearchInput/SearchInput.js +3 -2
- package/components/SearchSelect/SearchSelect.js +3 -2
- package/components/SecretInput/SecretInput.js +3 -2
- package/components/Select/Select.js +3 -2
- package/components/Sidebar/Sidebar.js +2 -1
- package/components/StepIndicator/StepIndicator.js +4 -2
- package/components/StepIndicator/types.d.ts +2 -2
- package/components/StepList/types.d.ts +2 -2
- package/components/Tabs/types.d.ts +3 -3
- package/components/Toast/Toast.d.ts +5 -1
- package/components/Toast/Toast.js +3 -3
- package/components/Tooltip/Tooltip.d.ts +1 -1
- package/components/Tooltip/Tooltip.js +28 -6
- package/components/Tooltip/index.d.ts +1 -1
- package/components/Tooltip/types.d.ts +18 -0
- package/components/index.d.ts +2 -2
- package/figma-tokens.json +6 -4
- package/icons/cred/index.js +1 -0
- package/icons/icons.svg +7 -3
- package/icons/lms/index.d.ts +0 -3
- package/icons/lms/index.js +6 -33
- package/icons/manifest.json +71 -9
- package/icons/membersync/index.js +1 -0
- package/icons/player/index.js +1 -0
- package/icons/reaction/index.js +1 -0
- package/icons/registry.d.ts +14 -0
- package/icons/registry.js +7 -0
- package/icons/system/index.d.ts +11 -0
- package/icons/system/index.js +48 -0
- package/package.json +9 -2
- package/skills/building-with-tui/SKILL.md +249 -17
- package/styles/all.css +1 -1
- package/styles/all.expanded.css +127 -13
- package/styles/all.expanded.unlayered.css +127 -13
- package/styles/all.unlayered.css +1 -1
- package/styles/app.css +41 -0
- package/styles/components/_bundle.scss +2 -0
- package/styles/components/button.scss +6 -1
- package/styles/components/card.scss +17 -1
- package/styles/components/chip-group.scss +45 -28
- package/styles/components/chips.scss +21 -0
- package/styles/components/color-picker.scss +15 -1
- package/styles/components/gradient-picker.scss +2 -2
- package/styles/components/modal.scss +61 -0
- package/styles/components/tooltip.scss +8 -1
- package/styles/core.css +1 -1
- package/styles/core.unlayered.css +1 -1
- package/styles/system/_text-styles.scss +4 -0
- package/styles/system/_tokens.scss +7 -2
- package/styles/utilities/_index.scss +3 -0
- package/tui-manifest.json +46 -19
- package/utils/focus-trap.d.ts +1 -24
- package/utils/focus-trap.js +2 -65
- package/utils/scroll-lock.d.ts +4 -0
- package/utils/scroll-lock.js +25 -0
- package/utils/tabbable.d.ts +29 -0
- package/utils/tabbable.js +74 -0
- package/vanilla/modal.d.ts +37 -0
- package/vanilla/modal.js +453 -0
- package/vanilla/modal.min.js +1 -0
- package/vanilla/styles.css +1 -0
- package/vanilla/styles.unlayered.css +1 -0
package/icons/manifest.json
CHANGED
|
@@ -281,12 +281,13 @@
|
|
|
281
281
|
"sprite": true
|
|
282
282
|
},
|
|
283
283
|
"lms/help-circle-fill": {
|
|
284
|
-
"id": "tui-
|
|
284
|
+
"id": "tui-system-help-circle-fill",
|
|
285
285
|
"set": "lms",
|
|
286
286
|
"name": "help-circle-fill",
|
|
287
|
-
"file": "
|
|
287
|
+
"file": "system/help-circle-fill.svg",
|
|
288
288
|
"viewBox": "0 0 24 24",
|
|
289
|
-
"sprite": true
|
|
289
|
+
"sprite": true,
|
|
290
|
+
"aliasOf": "system/help-circle-fill"
|
|
290
291
|
},
|
|
291
292
|
"lms/help-circle-outline": {
|
|
292
293
|
"id": "tui-lms-help-circle-outline",
|
|
@@ -305,12 +306,13 @@
|
|
|
305
306
|
"sprite": true
|
|
306
307
|
},
|
|
307
308
|
"lms/info": {
|
|
308
|
-
"id": "tui-
|
|
309
|
+
"id": "tui-system-info",
|
|
309
310
|
"set": "lms",
|
|
310
311
|
"name": "info",
|
|
311
|
-
"file": "
|
|
312
|
+
"file": "system/info.svg",
|
|
312
313
|
"viewBox": "0 0 24 24",
|
|
313
|
-
"sprite": true
|
|
314
|
+
"sprite": true,
|
|
315
|
+
"aliasOf": "system/info"
|
|
314
316
|
},
|
|
315
317
|
"lms/inspector-sidebar": {
|
|
316
318
|
"id": "tui-lms-inspector-sidebar",
|
|
@@ -433,12 +435,13 @@
|
|
|
433
435
|
"sprite": true
|
|
434
436
|
},
|
|
435
437
|
"lms/question-mark": {
|
|
436
|
-
"id": "tui-
|
|
438
|
+
"id": "tui-system-question-mark",
|
|
437
439
|
"set": "lms",
|
|
438
440
|
"name": "question-mark",
|
|
439
|
-
"file": "
|
|
441
|
+
"file": "system/question-mark.svg",
|
|
440
442
|
"viewBox": "0 0 24 24",
|
|
441
|
-
"sprite": true
|
|
443
|
+
"sprite": true,
|
|
444
|
+
"aliasOf": "system/question-mark"
|
|
442
445
|
},
|
|
443
446
|
"lms/switch-branch": {
|
|
444
447
|
"id": "tui-lms-switch-branch",
|
|
@@ -1560,6 +1563,23 @@
|
|
|
1560
1563
|
"viewBox": "0 0 24 24",
|
|
1561
1564
|
"sprite": true
|
|
1562
1565
|
},
|
|
1566
|
+
"system/help-circle-fill": {
|
|
1567
|
+
"id": "tui-system-help-circle-fill",
|
|
1568
|
+
"set": "system",
|
|
1569
|
+
"name": "help-circle-fill",
|
|
1570
|
+
"file": "system/help-circle-fill.svg",
|
|
1571
|
+
"viewBox": "0 0 24 24",
|
|
1572
|
+
"sprite": true
|
|
1573
|
+
},
|
|
1574
|
+
"system/help-circle-outline": {
|
|
1575
|
+
"id": "tui-system-help",
|
|
1576
|
+
"set": "system",
|
|
1577
|
+
"name": "help-circle-outline",
|
|
1578
|
+
"file": "system/help.svg",
|
|
1579
|
+
"viewBox": "0 0 24 24",
|
|
1580
|
+
"sprite": true,
|
|
1581
|
+
"aliasOf": "system/help"
|
|
1582
|
+
},
|
|
1563
1583
|
"system/help": {
|
|
1564
1584
|
"id": "tui-system-help",
|
|
1565
1585
|
"set": "system",
|
|
@@ -1616,6 +1636,14 @@
|
|
|
1616
1636
|
"viewBox": "0 0 24 24",
|
|
1617
1637
|
"sprite": true
|
|
1618
1638
|
},
|
|
1639
|
+
"system/info": {
|
|
1640
|
+
"id": "tui-system-info",
|
|
1641
|
+
"set": "system",
|
|
1642
|
+
"name": "info",
|
|
1643
|
+
"file": "system/info.svg",
|
|
1644
|
+
"viewBox": "0 0 24 24",
|
|
1645
|
+
"sprite": true
|
|
1646
|
+
},
|
|
1619
1647
|
"system/key": {
|
|
1620
1648
|
"id": "tui-system-key",
|
|
1621
1649
|
"set": "system",
|
|
@@ -1769,6 +1797,14 @@
|
|
|
1769
1797
|
"viewBox": "0 0 24 24",
|
|
1770
1798
|
"sprite": true
|
|
1771
1799
|
},
|
|
1800
|
+
"system/question-mark": {
|
|
1801
|
+
"id": "tui-system-question-mark",
|
|
1802
|
+
"set": "system",
|
|
1803
|
+
"name": "question-mark",
|
|
1804
|
+
"file": "system/question-mark.svg",
|
|
1805
|
+
"viewBox": "0 0 24 24",
|
|
1806
|
+
"sprite": true
|
|
1807
|
+
},
|
|
1772
1808
|
"system/recurring": {
|
|
1773
1809
|
"id": "tui-system-recurring",
|
|
1774
1810
|
"set": "system",
|
|
@@ -1785,6 +1821,15 @@
|
|
|
1785
1821
|
"viewBox": "0 0 24 24",
|
|
1786
1822
|
"sprite": true
|
|
1787
1823
|
},
|
|
1824
|
+
"system/refresh": {
|
|
1825
|
+
"id": "tui-system-arrow-counterclockwise",
|
|
1826
|
+
"set": "system",
|
|
1827
|
+
"name": "refresh",
|
|
1828
|
+
"file": "system/arrow-counterclockwise.svg",
|
|
1829
|
+
"viewBox": "0 0 24 24",
|
|
1830
|
+
"sprite": true,
|
|
1831
|
+
"aliasOf": "system/arrow-counterclockwise"
|
|
1832
|
+
},
|
|
1788
1833
|
"system/sun-fill": {
|
|
1789
1834
|
"id": "tui-system-sun-fill",
|
|
1790
1835
|
"set": "system",
|
|
@@ -1817,6 +1862,15 @@
|
|
|
1817
1862
|
"viewBox": "0 0 24 24",
|
|
1818
1863
|
"sprite": true
|
|
1819
1864
|
},
|
|
1865
|
+
"system/rotate": {
|
|
1866
|
+
"id": "tui-system-arrow-counterclockwise",
|
|
1867
|
+
"set": "system",
|
|
1868
|
+
"name": "rotate",
|
|
1869
|
+
"file": "system/arrow-counterclockwise.svg",
|
|
1870
|
+
"viewBox": "0 0 24 24",
|
|
1871
|
+
"sprite": true,
|
|
1872
|
+
"aliasOf": "system/arrow-counterclockwise"
|
|
1873
|
+
},
|
|
1820
1874
|
"system/search": {
|
|
1821
1875
|
"id": "tui-system-search",
|
|
1822
1876
|
"set": "system",
|
|
@@ -1889,6 +1943,14 @@
|
|
|
1889
1943
|
"viewBox": "0 0 24 24",
|
|
1890
1944
|
"sprite": true
|
|
1891
1945
|
},
|
|
1946
|
+
"system/store": {
|
|
1947
|
+
"id": "tui-system-store",
|
|
1948
|
+
"set": "system",
|
|
1949
|
+
"name": "store",
|
|
1950
|
+
"file": "system/store.svg",
|
|
1951
|
+
"viewBox": "0 0 24 24",
|
|
1952
|
+
"sprite": true
|
|
1953
|
+
},
|
|
1892
1954
|
"system/bolt-fill": {
|
|
1893
1955
|
"id": "tui-system-bolt-fill",
|
|
1894
1956
|
"set": "system",
|
package/icons/player/index.js
CHANGED
package/icons/reaction/index.js
CHANGED
package/icons/registry.d.ts
CHANGED
|
@@ -198,6 +198,8 @@ export type IconName =
|
|
|
198
198
|
| 'system/globe'
|
|
199
199
|
| 'system/handle-alt'
|
|
200
200
|
| 'system/handle'
|
|
201
|
+
| 'system/help-circle-fill'
|
|
202
|
+
| 'system/help-circle-outline'
|
|
201
203
|
| 'system/help'
|
|
202
204
|
| 'system/hide'
|
|
203
205
|
| 'system/highlight'
|
|
@@ -205,6 +207,7 @@ export type IconName =
|
|
|
205
207
|
| 'system/home-outline'
|
|
206
208
|
| 'system/image'
|
|
207
209
|
| 'system/inbox'
|
|
210
|
+
| 'system/info'
|
|
208
211
|
| 'system/key'
|
|
209
212
|
| 'system/link'
|
|
210
213
|
| 'system/lock-fill'
|
|
@@ -224,12 +227,15 @@ export type IconName =
|
|
|
224
227
|
| 'system/plus-circle-outline'
|
|
225
228
|
| 'system/plus-small'
|
|
226
229
|
| 'system/plus'
|
|
230
|
+
| 'system/question-mark'
|
|
227
231
|
| 'system/recurring'
|
|
228
232
|
| 'system/redo'
|
|
233
|
+
| 'system/refresh'
|
|
229
234
|
| 'system/sun-fill'
|
|
230
235
|
| 'system/sun-outline'
|
|
231
236
|
| 'system/undo'
|
|
232
237
|
| 'system/reverse'
|
|
238
|
+
| 'system/rotate'
|
|
233
239
|
| 'system/search'
|
|
234
240
|
| 'system/send'
|
|
235
241
|
| 'system/settings'
|
|
@@ -239,6 +245,7 @@ export type IconName =
|
|
|
239
245
|
| 'system/star-fill'
|
|
240
246
|
| 'system/star-half'
|
|
241
247
|
| 'system/star-outline'
|
|
248
|
+
| 'system/store'
|
|
242
249
|
| 'system/bolt-fill'
|
|
243
250
|
| 'system/bolt-outline'
|
|
244
251
|
| 'system/bolt-plus-fill'
|
|
@@ -455,6 +462,8 @@ export declare const iconRegistry: {
|
|
|
455
462
|
'system/globe': IconComponent;
|
|
456
463
|
'system/handle-alt': IconComponent;
|
|
457
464
|
'system/handle': IconComponent;
|
|
465
|
+
'system/help-circle-fill': IconComponent;
|
|
466
|
+
'system/help-circle-outline': IconComponent;
|
|
458
467
|
'system/help': IconComponent;
|
|
459
468
|
'system/hide': IconComponent;
|
|
460
469
|
'system/highlight': IconComponent;
|
|
@@ -462,6 +471,7 @@ export declare const iconRegistry: {
|
|
|
462
471
|
'system/home-outline': IconComponent;
|
|
463
472
|
'system/image': IconComponent;
|
|
464
473
|
'system/inbox': IconComponent;
|
|
474
|
+
'system/info': IconComponent;
|
|
465
475
|
'system/key': IconComponent;
|
|
466
476
|
'system/link': IconComponent;
|
|
467
477
|
'system/lock-fill': IconComponent;
|
|
@@ -481,12 +491,15 @@ export declare const iconRegistry: {
|
|
|
481
491
|
'system/plus-circle-outline': IconComponent;
|
|
482
492
|
'system/plus-small': IconComponent;
|
|
483
493
|
'system/plus': IconComponent;
|
|
494
|
+
'system/question-mark': IconComponent;
|
|
484
495
|
'system/recurring': IconComponent;
|
|
485
496
|
'system/redo': IconComponent;
|
|
497
|
+
'system/refresh': IconComponent;
|
|
486
498
|
'system/sun-fill': IconComponent;
|
|
487
499
|
'system/sun-outline': IconComponent;
|
|
488
500
|
'system/undo': IconComponent;
|
|
489
501
|
'system/reverse': IconComponent;
|
|
502
|
+
'system/rotate': IconComponent;
|
|
490
503
|
'system/search': IconComponent;
|
|
491
504
|
'system/send': IconComponent;
|
|
492
505
|
'system/settings': IconComponent;
|
|
@@ -496,6 +509,7 @@ export declare const iconRegistry: {
|
|
|
496
509
|
'system/star-fill': IconComponent;
|
|
497
510
|
'system/star-half': IconComponent;
|
|
498
511
|
'system/star-outline': IconComponent;
|
|
512
|
+
'system/store': IconComponent;
|
|
499
513
|
'system/bolt-fill': IconComponent;
|
|
500
514
|
'system/bolt-outline': IconComponent;
|
|
501
515
|
'system/bolt-plus-fill': IconComponent;
|
package/icons/registry.js
CHANGED
|
@@ -201,6 +201,8 @@ export const iconRegistry = {
|
|
|
201
201
|
'system/globe': systemIcons['globe'],
|
|
202
202
|
'system/handle-alt': systemIcons['handle-alt'],
|
|
203
203
|
'system/handle': systemIcons['handle'],
|
|
204
|
+
'system/help-circle-fill': systemIcons['help-circle-fill'],
|
|
205
|
+
'system/help-circle-outline': systemIcons['help-circle-outline'],
|
|
204
206
|
'system/help': systemIcons['help'],
|
|
205
207
|
'system/hide': systemIcons['hide'],
|
|
206
208
|
'system/highlight': systemIcons['highlight'],
|
|
@@ -208,6 +210,7 @@ export const iconRegistry = {
|
|
|
208
210
|
'system/home-outline': systemIcons['home-outline'],
|
|
209
211
|
'system/image': systemIcons['image'],
|
|
210
212
|
'system/inbox': systemIcons['inbox'],
|
|
213
|
+
'system/info': systemIcons['info'],
|
|
211
214
|
'system/key': systemIcons['key'],
|
|
212
215
|
'system/link': systemIcons['link'],
|
|
213
216
|
'system/lock-fill': systemIcons['lock-fill'],
|
|
@@ -227,12 +230,15 @@ export const iconRegistry = {
|
|
|
227
230
|
'system/plus-circle-outline': systemIcons['plus-circle-outline'],
|
|
228
231
|
'system/plus-small': systemIcons['plus-small'],
|
|
229
232
|
'system/plus': systemIcons['plus'],
|
|
233
|
+
'system/question-mark': systemIcons['question-mark'],
|
|
230
234
|
'system/recurring': systemIcons['recurring'],
|
|
231
235
|
'system/redo': systemIcons['redo'],
|
|
236
|
+
'system/refresh': systemIcons['refresh'],
|
|
232
237
|
'system/sun-fill': systemIcons['sun-fill'],
|
|
233
238
|
'system/sun-outline': systemIcons['sun-outline'],
|
|
234
239
|
'system/undo': systemIcons['undo'],
|
|
235
240
|
'system/reverse': systemIcons['reverse'],
|
|
241
|
+
'system/rotate': systemIcons['rotate'],
|
|
236
242
|
'system/search': systemIcons['search'],
|
|
237
243
|
'system/send': systemIcons['send'],
|
|
238
244
|
'system/settings': systemIcons['settings'],
|
|
@@ -242,6 +248,7 @@ export const iconRegistry = {
|
|
|
242
248
|
'system/star-fill': systemIcons['star-fill'],
|
|
243
249
|
'system/star-half': systemIcons['star-half'],
|
|
244
250
|
'system/star-outline': systemIcons['star-outline'],
|
|
251
|
+
'system/store': systemIcons['store'],
|
|
245
252
|
'system/bolt-fill': systemIcons['bolt-fill'],
|
|
246
253
|
'system/bolt-outline': systemIcons['bolt-outline'],
|
|
247
254
|
'system/bolt-plus-fill': systemIcons['bolt-plus-fill'],
|
package/icons/system/index.d.ts
CHANGED
|
@@ -63,6 +63,7 @@ export declare const Funnel: IconComponent;
|
|
|
63
63
|
export declare const Globe: IconComponent;
|
|
64
64
|
export declare const HandleAlt: IconComponent;
|
|
65
65
|
export declare const Handle: IconComponent;
|
|
66
|
+
export declare const HelpCircleFill: IconComponent;
|
|
66
67
|
export declare const Help: IconComponent;
|
|
67
68
|
export declare const Hide: IconComponent;
|
|
68
69
|
export declare const Highlight: IconComponent;
|
|
@@ -70,6 +71,7 @@ export declare const HomeFill: IconComponent;
|
|
|
70
71
|
export declare const HomeOutline: IconComponent;
|
|
71
72
|
export declare const Image: IconComponent;
|
|
72
73
|
export declare const Inbox: IconComponent;
|
|
74
|
+
export declare const Info: IconComponent;
|
|
73
75
|
export declare const Key: IconComponent;
|
|
74
76
|
export declare const Link: IconComponent;
|
|
75
77
|
export declare const LockFill: IconComponent;
|
|
@@ -90,6 +92,7 @@ export declare const PlusCircleFill: IconComponent;
|
|
|
90
92
|
export declare const PlusCircleOutline: IconComponent;
|
|
91
93
|
export declare const PlusSmall: IconComponent;
|
|
92
94
|
export declare const Plus: IconComponent;
|
|
95
|
+
export declare const QuestionMark: IconComponent;
|
|
93
96
|
export declare const Recurring: IconComponent;
|
|
94
97
|
export declare const Redo: IconComponent;
|
|
95
98
|
export declare const Reverse: IconComponent;
|
|
@@ -102,6 +105,7 @@ export declare const SidebarExpand: IconComponent;
|
|
|
102
105
|
export declare const StarFill: IconComponent;
|
|
103
106
|
export declare const StarHalf: IconComponent;
|
|
104
107
|
export declare const StarOutline: IconComponent;
|
|
108
|
+
export declare const Store: IconComponent;
|
|
105
109
|
export declare const SunFill: IconComponent;
|
|
106
110
|
export declare const SunOutline: IconComponent;
|
|
107
111
|
export declare const Tool: IconComponent;
|
|
@@ -174,6 +178,8 @@ export declare const systemIcons: {
|
|
|
174
178
|
'globe': IconComponent;
|
|
175
179
|
'handle-alt': IconComponent;
|
|
176
180
|
'handle': IconComponent;
|
|
181
|
+
'help-circle-fill': IconComponent;
|
|
182
|
+
'help-circle-outline': IconComponent;
|
|
177
183
|
'help': IconComponent;
|
|
178
184
|
'hide': IconComponent;
|
|
179
185
|
'highlight': IconComponent;
|
|
@@ -181,6 +187,7 @@ export declare const systemIcons: {
|
|
|
181
187
|
'home-outline': IconComponent;
|
|
182
188
|
'image': IconComponent;
|
|
183
189
|
'inbox': IconComponent;
|
|
190
|
+
'info': IconComponent;
|
|
184
191
|
'key': IconComponent;
|
|
185
192
|
'link': IconComponent;
|
|
186
193
|
'lock-fill': IconComponent;
|
|
@@ -200,12 +207,15 @@ export declare const systemIcons: {
|
|
|
200
207
|
'plus-circle-outline': IconComponent;
|
|
201
208
|
'plus-small': IconComponent;
|
|
202
209
|
'plus': IconComponent;
|
|
210
|
+
'question-mark': IconComponent;
|
|
203
211
|
'recurring': IconComponent;
|
|
204
212
|
'redo': IconComponent;
|
|
213
|
+
'refresh': IconComponent;
|
|
205
214
|
'sun-fill': IconComponent;
|
|
206
215
|
'sun-outline': IconComponent;
|
|
207
216
|
'undo': IconComponent;
|
|
208
217
|
'reverse': IconComponent;
|
|
218
|
+
'rotate': IconComponent;
|
|
209
219
|
'search': IconComponent;
|
|
210
220
|
'send': IconComponent;
|
|
211
221
|
'settings': IconComponent;
|
|
@@ -215,6 +225,7 @@ export declare const systemIcons: {
|
|
|
215
225
|
'star-fill': IconComponent;
|
|
216
226
|
'star-half': IconComponent;
|
|
217
227
|
'star-outline': IconComponent;
|
|
228
|
+
'store': IconComponent;
|
|
218
229
|
'bolt-fill': IconComponent;
|
|
219
230
|
'bolt-outline': IconComponent;
|
|
220
231
|
'bolt-plus-fill': IconComponent;
|
package/icons/system/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { createElement as _c } from "react";
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
export function AlertCircleFill(props) {
|
|
4
5
|
return _c("svg", Object.assign({
|
|
5
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -610,6 +611,16 @@ export function Handle(props) {
|
|
|
610
611
|
}, props), _c("path", {d:"M7 16.5h10V15H7zm0-9V9h10V7.5z"}));
|
|
611
612
|
}
|
|
612
613
|
|
|
614
|
+
export function HelpCircleFill(props) {
|
|
615
|
+
return _c("svg", Object.assign({
|
|
616
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
617
|
+
viewBox: "0 0 24 24",
|
|
618
|
+
width: "1em",
|
|
619
|
+
height: "1em",
|
|
620
|
+
fill: "currentColor"
|
|
621
|
+
}, props), _c("path", {fillRule:"evenodd",d:"M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16m-.75 11v1.5h1.5V15zM12 7.25a3 3 0 0 0-3 3h1.5a1.5 1.5 0 1 1 1.667 1.491c-.465.052-.917.438-.917 1.009V14h1.5v-.849A2.997 2.997 0 0 0 12 7.25",clipRule:"evenodd"}));
|
|
622
|
+
}
|
|
623
|
+
|
|
613
624
|
export function Help(props) {
|
|
614
625
|
return _c("svg", Object.assign({
|
|
615
626
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -680,6 +691,16 @@ export function Inbox(props) {
|
|
|
680
691
|
}, props), _c("path", {fillRule:"evenodd",d:"M4 6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm2-.5h12a.5.5 0 0 1 .5.5v7H14a2 2 0 1 1-4 0H5.5V6a.5.5 0 0 1 .5-.5m-.5 9V18a.5.5 0 0 0 .5.5h12a.5.5 0 0 0 .5-.5v-3.5h-3.337a3.5 3.5 0 0 1-6.326 0z",clipRule:"evenodd"}));
|
|
681
692
|
}
|
|
682
693
|
|
|
694
|
+
export function Info(props) {
|
|
695
|
+
return _c("svg", Object.assign({
|
|
696
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
697
|
+
viewBox: "0 0 24 24",
|
|
698
|
+
width: "1em",
|
|
699
|
+
height: "1em",
|
|
700
|
+
fill: "currentColor"
|
|
701
|
+
}, props), _c("path", {d:"M13 11v6h-2v-6zm0-2V7h-2v2z"}), _c("path", {fillRule:"evenodd",d:"M3.25 12a8.75 8.75 0 1 1 17.5 0 8.75 8.75 0 0 1-17.5 0M12 4.75a7.25 7.25 0 1 0 0 14.5 7.25 7.25 0 0 0 0-14.5",clipRule:"evenodd"}));
|
|
702
|
+
}
|
|
703
|
+
|
|
683
704
|
export function Key(props) {
|
|
684
705
|
return _c("svg", Object.assign({
|
|
685
706
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -880,6 +901,16 @@ export function Plus(props) {
|
|
|
880
901
|
}, props), _c("path", {d:"M11.25 12.75V18h1.5v-5.25H18v-1.5h-5.25V6h-1.5v5.25H6v1.5z"}));
|
|
881
902
|
}
|
|
882
903
|
|
|
904
|
+
export function QuestionMark(props) {
|
|
905
|
+
return _c("svg", Object.assign({
|
|
906
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
907
|
+
viewBox: "0 0 24 24",
|
|
908
|
+
width: "1em",
|
|
909
|
+
height: "1em",
|
|
910
|
+
fill: "currentColor"
|
|
911
|
+
}, props), _c("path", {d:"M12 17a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3m0-13.306a5 5 0 0 1 1 9.9V15h-2v-2.056c0-.706.564-1.217 1.188-1.256A3 3 0 1 0 9 8.695H7a5 5 0 0 1 5-5"}));
|
|
912
|
+
}
|
|
913
|
+
|
|
883
914
|
export function Recurring(props) {
|
|
884
915
|
return _c("svg", Object.assign({
|
|
885
916
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1000,6 +1031,16 @@ export function StarOutline(props) {
|
|
|
1000
1031
|
}, props), _c("path", {fillRule:"evenodd",d:"M11.186 14.734a1.75 1.75 0 0 1 1.629 0l1.895.996-.362-2.11a1.75 1.75 0 0 1 .503-1.55l1.534-1.495-2.12-.308.216-1.484 4.626.672a.25.25 0 0 1 .139.427l-3.347 3.262a.25.25 0 0 0-.072.222l.79 4.607a.25.25 0 0 1-.363.264l-4.138-2.176a.25.25 0 0 0-.232 0l-4.138 2.175a.25.25 0 0 1-.362-.263l.79-4.607a.25.25 0 0 0-.072-.222L4.754 9.882a.25.25 0 0 1 .139-.427l4.626-.672.216 1.484-2.12.308L9.15 12.07c.412.402.6.982.503 1.55l-.362 2.11zM9.707 8.645a.25.25 0 0 1-.188.137l.216 1.484a1.75 1.75 0 0 0 1.317-.957L12 7.39l.948 1.92a1.75 1.75 0 0 0 1.318.957l.215-1.484a.25.25 0 0 1-.188-.137l-2.069-4.192a.25.25 0 0 0-.448 0z",clipRule:"evenodd"}));
|
|
1001
1032
|
}
|
|
1002
1033
|
|
|
1034
|
+
export function Store(props) {
|
|
1035
|
+
return _c("svg", Object.assign({
|
|
1036
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1037
|
+
viewBox: "0 0 24 24",
|
|
1038
|
+
width: "1em",
|
|
1039
|
+
height: "1em",
|
|
1040
|
+
fill: "currentColor"
|
|
1041
|
+
}, props), _c("path", {fillRule:"evenodd",d:"M20 9h-1v11H5V9H4V4h16zM6.5 18.5H9V14h6v4.5h2.5V9h-11zm4 0h3v-3h-3zm-5-11h3.25v-2H5.5zm4.75 0h3.5v-2h-3.5zm5 0h3.25v-2h-3.25z",clipRule:"evenodd"}));
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1003
1044
|
export function SunFill(props) {
|
|
1004
1045
|
return _c("svg", Object.assign({
|
|
1005
1046
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1197,6 +1238,8 @@ export const systemIcons = {
|
|
|
1197
1238
|
'globe': Globe,
|
|
1198
1239
|
'handle-alt': HandleAlt,
|
|
1199
1240
|
'handle': Handle,
|
|
1241
|
+
'help-circle-fill': HelpCircleFill,
|
|
1242
|
+
'help-circle-outline': Help,
|
|
1200
1243
|
'help': Help,
|
|
1201
1244
|
'hide': Hide,
|
|
1202
1245
|
'highlight': Highlight,
|
|
@@ -1204,6 +1247,7 @@ export const systemIcons = {
|
|
|
1204
1247
|
'home-outline': HomeOutline,
|
|
1205
1248
|
'image': Image,
|
|
1206
1249
|
'inbox': Inbox,
|
|
1250
|
+
'info': Info,
|
|
1207
1251
|
'key': Key,
|
|
1208
1252
|
'link': Link,
|
|
1209
1253
|
'lock-fill': LockFill,
|
|
@@ -1223,12 +1267,15 @@ export const systemIcons = {
|
|
|
1223
1267
|
'plus-circle-outline': PlusCircleOutline,
|
|
1224
1268
|
'plus-small': PlusSmall,
|
|
1225
1269
|
'plus': Plus,
|
|
1270
|
+
'question-mark': QuestionMark,
|
|
1226
1271
|
'recurring': Recurring,
|
|
1227
1272
|
'redo': Redo,
|
|
1273
|
+
'refresh': ArrowCounterclockwise,
|
|
1228
1274
|
'sun-fill': SunFill,
|
|
1229
1275
|
'sun-outline': SunOutline,
|
|
1230
1276
|
'undo': Undo,
|
|
1231
1277
|
'reverse': Reverse,
|
|
1278
|
+
'rotate': ArrowCounterclockwise,
|
|
1232
1279
|
'search': Search,
|
|
1233
1280
|
'send': Send,
|
|
1234
1281
|
'settings': Settings,
|
|
@@ -1238,6 +1285,7 @@ export const systemIcons = {
|
|
|
1238
1285
|
'star-fill': StarFill,
|
|
1239
1286
|
'star-half': StarHalf,
|
|
1240
1287
|
'star-outline': StarOutline,
|
|
1288
|
+
'store': Store,
|
|
1241
1289
|
'bolt-fill': BoltFill,
|
|
1242
1290
|
'bolt-outline': BoltOutline,
|
|
1243
1291
|
'bolt-plus-fill': BoltPlusFill,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tangible/ui",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.30",
|
|
4
4
|
"description": "Tangible Design System",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./components/index.js",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"./styles/expanded.unlayered": "./styles/all.expanded.unlayered.css",
|
|
20
20
|
"./styles/core": "./styles/core.css",
|
|
21
21
|
"./styles/core.unlayered": "./styles/core.unlayered.css",
|
|
22
|
+
"./styles/app": "./styles/app.css",
|
|
22
23
|
"./styles/scss": "./styles/index.scss",
|
|
23
24
|
"./styles/*": "./styles/*",
|
|
24
25
|
"./utils/focus-trap": {
|
|
@@ -58,6 +59,11 @@
|
|
|
58
59
|
"./manifest.json": "./tui-manifest.json",
|
|
59
60
|
"./skill": "./skills/building-with-tui/SKILL.md",
|
|
60
61
|
"./figma-tokens.json": "./figma-tokens.json",
|
|
62
|
+
"./vanilla/modal": {
|
|
63
|
+
"import": "./vanilla/modal.js",
|
|
64
|
+
"types": "./vanilla/modal.d.ts"
|
|
65
|
+
},
|
|
66
|
+
"./vanilla/*": "./vanilla/*",
|
|
61
67
|
"./components/Accordion": {
|
|
62
68
|
"import": "./components/Accordion/index.js",
|
|
63
69
|
"types": "./components/Accordion/index.d.ts"
|
|
@@ -270,7 +276,8 @@
|
|
|
270
276
|
"tui-manifest.json",
|
|
271
277
|
"figma-tokens.json",
|
|
272
278
|
"types",
|
|
273
|
-
"utils"
|
|
279
|
+
"utils",
|
|
280
|
+
"vanilla"
|
|
274
281
|
],
|
|
275
282
|
"sideEffects": [
|
|
276
283
|
"*.css",
|