mlola-ui 1.5.0 → 1.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/package.json
CHANGED
package/registry/catalog.json
CHANGED
|
@@ -111,7 +111,9 @@
|
|
|
111
111
|
"docs-site",
|
|
112
112
|
"finance",
|
|
113
113
|
"smart-home",
|
|
114
|
-
"
|
|
114
|
+
"incident-room",
|
|
115
|
+
"voice-console",
|
|
116
|
+
"trip-planner"
|
|
115
117
|
],
|
|
116
118
|
"items": [
|
|
117
119
|
{
|
|
@@ -1525,19 +1527,50 @@
|
|
|
1525
1527
|
]
|
|
1526
1528
|
},
|
|
1527
1529
|
{
|
|
1528
|
-
"name": "
|
|
1530
|
+
"name": "incident-room",
|
|
1529
1531
|
"type": "registry:template",
|
|
1530
|
-
"title": "
|
|
1531
|
-
"description": "
|
|
1532
|
+
"title": "Incident Room",
|
|
1533
|
+
"description": "An incident room for a team on call: what has failed and what is left of the error budget, an assistant that has read the logs, traces and releases and asks before rolling back, a timeline to post to, the release that caused it, responders to page, requests traced call by call, a live log tail and the public status page",
|
|
1532
1534
|
"category": "application",
|
|
1533
1535
|
"tags": [
|
|
1534
1536
|
"template",
|
|
1535
|
-
"
|
|
1536
|
-
"
|
|
1537
|
-
"
|
|
1538
|
-
"
|
|
1539
|
-
"
|
|
1540
|
-
"
|
|
1537
|
+
"incident",
|
|
1538
|
+
"on-call",
|
|
1539
|
+
"observability",
|
|
1540
|
+
"status-page",
|
|
1541
|
+
"ai",
|
|
1542
|
+
"premium"
|
|
1543
|
+
]
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
"name": "voice-console",
|
|
1547
|
+
"type": "registry:template",
|
|
1548
|
+
"title": "Voice Agent Console",
|
|
1549
|
+
"description": "A console for a voice agent answering a clinic's phone line: the live call with the agent's presence, both voices, the transcript as it is spoken and the tools it uses, a handoff that waits for a person, taking over with the agent's suggested lines, whispers the caller does not hear, the day's calls to replay and review, the day in numbers, and the agent's voice, greeting, tools and rules",
|
|
1550
|
+
"category": "application",
|
|
1551
|
+
"tags": [
|
|
1552
|
+
"template",
|
|
1553
|
+
"voice",
|
|
1554
|
+
"ai",
|
|
1555
|
+
"agent",
|
|
1556
|
+
"call-center",
|
|
1557
|
+
"transcript",
|
|
1558
|
+
"premium"
|
|
1559
|
+
]
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
"name": "trip-planner",
|
|
1563
|
+
"type": "registry:template",
|
|
1564
|
+
"title": "Trip Planner",
|
|
1565
|
+
"description": "A trip planner: the days as a board to drag places between, each day's times worked out and what is wrong with it (an outdoor stop in the forecast rain, a place closed that day) with a better day to move it to, places drawn as postcards, the budget with what is paid and what the plan still costs, and a packing list the forecast adds to",
|
|
1566
|
+
"category": "application",
|
|
1567
|
+
"tags": [
|
|
1568
|
+
"template",
|
|
1569
|
+
"travel",
|
|
1570
|
+
"itinerary",
|
|
1571
|
+
"kanban",
|
|
1572
|
+
"budget",
|
|
1573
|
+
"planner",
|
|
1541
1574
|
"premium"
|
|
1542
1575
|
]
|
|
1543
1576
|
}
|
package/registry/icons.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
3
|
"names": [
|
|
4
|
+
"Activity",
|
|
4
5
|
"Archive",
|
|
5
6
|
"ArrowDown",
|
|
6
7
|
"ArrowLeft",
|
|
@@ -8,6 +9,7 @@
|
|
|
8
9
|
"ArrowUp",
|
|
9
10
|
"ArrowUpDown",
|
|
10
11
|
"ArrowUpRight",
|
|
12
|
+
"AudioWaveform",
|
|
11
13
|
"Ban",
|
|
12
14
|
"BarChart",
|
|
13
15
|
"Bath",
|
|
@@ -36,6 +38,7 @@
|
|
|
36
38
|
"Clipboard",
|
|
37
39
|
"Clock",
|
|
38
40
|
"Cloud",
|
|
41
|
+
"CloudRain",
|
|
39
42
|
"Code2",
|
|
40
43
|
"Coins",
|
|
41
44
|
"CookingPot",
|
|
@@ -51,7 +54,9 @@
|
|
|
51
54
|
"Filter",
|
|
52
55
|
"Flag",
|
|
53
56
|
"Globe",
|
|
57
|
+
"Headset",
|
|
54
58
|
"Heart",
|
|
59
|
+
"History",
|
|
55
60
|
"Home",
|
|
56
61
|
"Hourglass",
|
|
57
62
|
"IconArchive",
|
|
@@ -73,6 +78,7 @@
|
|
|
73
78
|
"IconBookmark",
|
|
74
79
|
"IconBox3D",
|
|
75
80
|
"IconBrain",
|
|
81
|
+
"IconBroadcast",
|
|
76
82
|
"IconCalendar",
|
|
77
83
|
"IconCar",
|
|
78
84
|
"IconCertificate",
|
|
@@ -94,6 +100,7 @@
|
|
|
94
100
|
"IconClipboard",
|
|
95
101
|
"IconClock",
|
|
96
102
|
"IconCloud",
|
|
103
|
+
"IconCloudRain",
|
|
97
104
|
"IconCode",
|
|
98
105
|
"IconCodeBlock",
|
|
99
106
|
"IconCoins",
|
|
@@ -111,6 +118,7 @@
|
|
|
111
118
|
"IconExternalLink",
|
|
112
119
|
"IconEye",
|
|
113
120
|
"IconEyeOff",
|
|
121
|
+
"IconFerry",
|
|
114
122
|
"IconFile",
|
|
115
123
|
"IconFilePlus",
|
|
116
124
|
"IconFilter",
|
|
@@ -126,9 +134,12 @@
|
|
|
126
134
|
"IconGoldBar",
|
|
127
135
|
"IconGrip",
|
|
128
136
|
"IconHand",
|
|
137
|
+
"IconHangUp",
|
|
129
138
|
"IconHeading",
|
|
139
|
+
"IconHeadset",
|
|
130
140
|
"IconHeart",
|
|
131
141
|
"IconHelp",
|
|
142
|
+
"IconHistory",
|
|
132
143
|
"IconHome",
|
|
133
144
|
"IconHourglass",
|
|
134
145
|
"IconImage",
|
|
@@ -136,6 +147,7 @@
|
|
|
136
147
|
"IconInfo",
|
|
137
148
|
"IconItalic",
|
|
138
149
|
"IconKey",
|
|
150
|
+
"IconLandmark",
|
|
139
151
|
"IconLayers",
|
|
140
152
|
"IconLayoutGrid",
|
|
141
153
|
"IconLayoutList",
|
|
@@ -147,6 +159,7 @@
|
|
|
147
159
|
"IconLock",
|
|
148
160
|
"IconLogIn",
|
|
149
161
|
"IconLogOut",
|
|
162
|
+
"IconLogs",
|
|
150
163
|
"IconMail",
|
|
151
164
|
"IconMapPin",
|
|
152
165
|
"IconMaximize",
|
|
@@ -174,17 +187,22 @@
|
|
|
174
187
|
"IconPlus",
|
|
175
188
|
"IconPointer",
|
|
176
189
|
"IconPrinter",
|
|
190
|
+
"IconPulse",
|
|
177
191
|
"IconQuote",
|
|
178
192
|
"IconReceipt",
|
|
179
193
|
"IconRedo",
|
|
180
194
|
"IconRefresh",
|
|
195
|
+
"IconRoute",
|
|
181
196
|
"IconScale",
|
|
182
197
|
"IconSearch",
|
|
183
198
|
"IconSend",
|
|
199
|
+
"IconServer",
|
|
184
200
|
"IconSettings",
|
|
185
201
|
"IconShare",
|
|
186
202
|
"IconShield",
|
|
203
|
+
"IconShoppingBag",
|
|
187
204
|
"IconShoppingCart",
|
|
205
|
+
"IconSiren",
|
|
188
206
|
"IconSliders",
|
|
189
207
|
"IconSmartphone",
|
|
190
208
|
"IconSofa",
|
|
@@ -196,6 +214,7 @@
|
|
|
196
214
|
"IconStickyNote",
|
|
197
215
|
"IconStop",
|
|
198
216
|
"IconStrikethrough",
|
|
217
|
+
"IconSuitcase",
|
|
199
218
|
"IconSun",
|
|
200
219
|
"IconTag",
|
|
201
220
|
"IconTarget",
|
|
@@ -205,6 +224,7 @@
|
|
|
205
224
|
"IconThumbDown",
|
|
206
225
|
"IconThumbUp",
|
|
207
226
|
"IconTool",
|
|
227
|
+
"IconTrace",
|
|
208
228
|
"IconTrash",
|
|
209
229
|
"IconTrendingUp",
|
|
210
230
|
"IconTriangleAlert",
|
|
@@ -217,6 +237,7 @@
|
|
|
217
237
|
"IconVolume",
|
|
218
238
|
"IconWallet",
|
|
219
239
|
"IconWasher",
|
|
240
|
+
"IconWaveform",
|
|
220
241
|
"IconWind",
|
|
221
242
|
"IconWindow",
|
|
222
243
|
"IconWorkflow",
|
|
@@ -227,6 +248,7 @@
|
|
|
227
248
|
"Inbox",
|
|
228
249
|
"Info",
|
|
229
250
|
"Key",
|
|
251
|
+
"Landmark",
|
|
230
252
|
"Layers",
|
|
231
253
|
"LayoutGrid",
|
|
232
254
|
"LayoutList",
|
|
@@ -235,6 +257,8 @@
|
|
|
235
257
|
"Loader2",
|
|
236
258
|
"LogIn",
|
|
237
259
|
"LogOut",
|
|
260
|
+
"Logs",
|
|
261
|
+
"Luggage",
|
|
238
262
|
"Mail",
|
|
239
263
|
"MapPin",
|
|
240
264
|
"Menu",
|
|
@@ -253,13 +277,19 @@
|
|
|
253
277
|
"Plug",
|
|
254
278
|
"Plus",
|
|
255
279
|
"Printer",
|
|
280
|
+
"Radio",
|
|
256
281
|
"Receipt",
|
|
257
282
|
"Refrigerator",
|
|
283
|
+
"Route",
|
|
258
284
|
"Scale",
|
|
259
285
|
"Search",
|
|
260
286
|
"Send",
|
|
287
|
+
"Server",
|
|
261
288
|
"Settings",
|
|
289
|
+
"Ship",
|
|
290
|
+
"ShoppingBag",
|
|
262
291
|
"ShoppingCart",
|
|
292
|
+
"Siren",
|
|
263
293
|
"Smartphone",
|
|
264
294
|
"Sofa",
|
|
265
295
|
"Sparkles",
|
package/registry/index.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "./schema/registry-index.schema.json",
|
|
3
3
|
"schemaVersion": 2,
|
|
4
4
|
"name": "mlola-ui",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.6.0",
|
|
6
6
|
"homepage": "https://ui.mlola.com",
|
|
7
7
|
"themeContract": {
|
|
8
8
|
"attribute": "data-theme",
|
|
@@ -178,8 +178,8 @@
|
|
|
178
178
|
},
|
|
179
179
|
"registryDependencies": [],
|
|
180
180
|
"engineDependencies": {
|
|
181
|
-
"@mlola-ui/behavior": "^1.
|
|
182
|
-
"@mlola-ui/icons": "^1.
|
|
181
|
+
"@mlola-ui/behavior": "^1.6.0",
|
|
182
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
183
183
|
},
|
|
184
184
|
"options": [
|
|
185
185
|
{
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
},
|
|
241
241
|
"registryDependencies": [],
|
|
242
242
|
"engineDependencies": {
|
|
243
|
-
"@mlola-ui/icons": "^1.
|
|
243
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
244
244
|
},
|
|
245
245
|
"options": [
|
|
246
246
|
{
|
|
@@ -402,7 +402,7 @@
|
|
|
402
402
|
},
|
|
403
403
|
"registryDependencies": [],
|
|
404
404
|
"engineDependencies": {
|
|
405
|
-
"@mlola-ui/icons": "^1.
|
|
405
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
406
406
|
},
|
|
407
407
|
"options": [
|
|
408
408
|
{
|
|
@@ -494,7 +494,7 @@
|
|
|
494
494
|
},
|
|
495
495
|
"registryDependencies": [],
|
|
496
496
|
"engineDependencies": {
|
|
497
|
-
"@mlola-ui/icons": "^1.
|
|
497
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
498
498
|
},
|
|
499
499
|
"options": [],
|
|
500
500
|
"variants": [],
|
|
@@ -547,7 +547,7 @@
|
|
|
547
547
|
"spinner"
|
|
548
548
|
],
|
|
549
549
|
"engineDependencies": {
|
|
550
|
-
"@mlola-ui/motion": "^1.
|
|
550
|
+
"@mlola-ui/motion": "^1.6.0"
|
|
551
551
|
},
|
|
552
552
|
"options": [
|
|
553
553
|
{
|
|
@@ -715,8 +715,8 @@
|
|
|
715
715
|
},
|
|
716
716
|
"registryDependencies": [],
|
|
717
717
|
"engineDependencies": {
|
|
718
|
-
"@mlola-ui/behavior": "^1.
|
|
719
|
-
"@mlola-ui/icons": "^1.
|
|
718
|
+
"@mlola-ui/behavior": "^1.6.0",
|
|
719
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
720
720
|
},
|
|
721
721
|
"options": [
|
|
722
722
|
{
|
|
@@ -785,7 +785,7 @@
|
|
|
785
785
|
},
|
|
786
786
|
"registryDependencies": [],
|
|
787
787
|
"engineDependencies": {
|
|
788
|
-
"@mlola-ui/icons": "^1.
|
|
788
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
789
789
|
},
|
|
790
790
|
"options": [],
|
|
791
791
|
"variants": [],
|
|
@@ -840,7 +840,7 @@
|
|
|
840
840
|
"modal"
|
|
841
841
|
],
|
|
842
842
|
"engineDependencies": {
|
|
843
|
-
"@mlola-ui/icons": "^1.
|
|
843
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
844
844
|
},
|
|
845
845
|
"options": [],
|
|
846
846
|
"variants": [],
|
|
@@ -904,8 +904,8 @@
|
|
|
904
904
|
},
|
|
905
905
|
"registryDependencies": [],
|
|
906
906
|
"engineDependencies": {
|
|
907
|
-
"@mlola-ui/behavior": "^1.
|
|
908
|
-
"@mlola-ui/icons": "^1.
|
|
907
|
+
"@mlola-ui/behavior": "^1.6.0",
|
|
908
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
909
909
|
},
|
|
910
910
|
"options": [
|
|
911
911
|
{
|
|
@@ -994,7 +994,7 @@
|
|
|
994
994
|
"input"
|
|
995
995
|
],
|
|
996
996
|
"engineDependencies": {
|
|
997
|
-
"@mlola-ui/icons": "^1.
|
|
997
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
998
998
|
},
|
|
999
999
|
"options": [],
|
|
1000
1000
|
"variants": [],
|
|
@@ -1219,8 +1219,8 @@
|
|
|
1219
1219
|
},
|
|
1220
1220
|
"registryDependencies": [],
|
|
1221
1221
|
"engineDependencies": {
|
|
1222
|
-
"@mlola-ui/behavior": "^1.
|
|
1223
|
-
"@mlola-ui/icons": "^1.
|
|
1222
|
+
"@mlola-ui/behavior": "^1.6.0",
|
|
1223
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
1224
1224
|
},
|
|
1225
1225
|
"options": [
|
|
1226
1226
|
{
|
|
@@ -1371,7 +1371,7 @@
|
|
|
1371
1371
|
},
|
|
1372
1372
|
"registryDependencies": [],
|
|
1373
1373
|
"engineDependencies": {
|
|
1374
|
-
"@mlola-ui/icons": "^1.
|
|
1374
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
1375
1375
|
},
|
|
1376
1376
|
"options": [],
|
|
1377
1377
|
"variants": [],
|
|
@@ -1422,7 +1422,7 @@
|
|
|
1422
1422
|
},
|
|
1423
1423
|
"registryDependencies": [],
|
|
1424
1424
|
"engineDependencies": {
|
|
1425
|
-
"@mlola-ui/behavior": "^1.
|
|
1425
|
+
"@mlola-ui/behavior": "^1.6.0"
|
|
1426
1426
|
},
|
|
1427
1427
|
"options": [
|
|
1428
1428
|
{
|
|
@@ -1800,7 +1800,7 @@
|
|
|
1800
1800
|
},
|
|
1801
1801
|
"registryDependencies": [],
|
|
1802
1802
|
"engineDependencies": {
|
|
1803
|
-
"@mlola-ui/behavior": "^1.
|
|
1803
|
+
"@mlola-ui/behavior": "^1.6.0"
|
|
1804
1804
|
},
|
|
1805
1805
|
"options": [],
|
|
1806
1806
|
"variants": [],
|
|
@@ -1853,8 +1853,8 @@
|
|
|
1853
1853
|
"input"
|
|
1854
1854
|
],
|
|
1855
1855
|
"engineDependencies": {
|
|
1856
|
-
"@mlola-ui/behavior": "^1.
|
|
1857
|
-
"@mlola-ui/icons": "^1.
|
|
1856
|
+
"@mlola-ui/behavior": "^1.6.0",
|
|
1857
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
1858
1858
|
},
|
|
1859
1859
|
"options": [
|
|
1860
1860
|
{
|
|
@@ -1932,8 +1932,8 @@
|
|
|
1932
1932
|
},
|
|
1933
1933
|
"registryDependencies": [],
|
|
1934
1934
|
"engineDependencies": {
|
|
1935
|
-
"@mlola-ui/behavior": "^1.
|
|
1936
|
-
"@mlola-ui/icons": "^1.
|
|
1935
|
+
"@mlola-ui/behavior": "^1.6.0",
|
|
1936
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
1937
1937
|
},
|
|
1938
1938
|
"options": [
|
|
1939
1939
|
{
|
|
@@ -2079,7 +2079,7 @@
|
|
|
2079
2079
|
"input"
|
|
2080
2080
|
],
|
|
2081
2081
|
"engineDependencies": {
|
|
2082
|
-
"@mlola-ui/behavior": "^1.
|
|
2082
|
+
"@mlola-ui/behavior": "^1.6.0"
|
|
2083
2083
|
},
|
|
2084
2084
|
"options": [
|
|
2085
2085
|
{
|
|
@@ -2108,7 +2108,7 @@
|
|
|
2108
2108
|
"path": "packages/components/slider/slider.tsx",
|
|
2109
2109
|
"target": "{{aliases.components}}/slider.tsx",
|
|
2110
2110
|
"type": "registry:ui",
|
|
2111
|
-
"integrity": "sha256-
|
|
2111
|
+
"integrity": "sha256-u0CIgpYSseu6yGQZQjjWvoFup9OC/ZJbeKUMlQ1yf8c="
|
|
2112
2112
|
}
|
|
2113
2113
|
],
|
|
2114
2114
|
"themeContract": {
|
|
@@ -2147,7 +2147,7 @@
|
|
|
2147
2147
|
"input"
|
|
2148
2148
|
],
|
|
2149
2149
|
"engineDependencies": {
|
|
2150
|
-
"@mlola-ui/behavior": "^1.
|
|
2150
|
+
"@mlola-ui/behavior": "^1.6.0"
|
|
2151
2151
|
},
|
|
2152
2152
|
"options": [
|
|
2153
2153
|
{
|
|
@@ -2307,7 +2307,7 @@
|
|
|
2307
2307
|
},
|
|
2308
2308
|
"registryDependencies": [],
|
|
2309
2309
|
"engineDependencies": {
|
|
2310
|
-
"@mlola-ui/behavior": "^1.
|
|
2310
|
+
"@mlola-ui/behavior": "^1.6.0"
|
|
2311
2311
|
},
|
|
2312
2312
|
"options": [
|
|
2313
2313
|
{
|
|
@@ -2439,7 +2439,7 @@
|
|
|
2439
2439
|
},
|
|
2440
2440
|
"registryDependencies": [],
|
|
2441
2441
|
"engineDependencies": {
|
|
2442
|
-
"@mlola-ui/icons": "^1.
|
|
2442
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
2443
2443
|
},
|
|
2444
2444
|
"options": [
|
|
2445
2445
|
{
|
|
@@ -2527,8 +2527,8 @@
|
|
|
2527
2527
|
"spinner"
|
|
2528
2528
|
],
|
|
2529
2529
|
"engineDependencies": {
|
|
2530
|
-
"@mlola-ui/behavior": "^1.
|
|
2531
|
-
"@mlola-ui/icons": "^1.
|
|
2530
|
+
"@mlola-ui/behavior": "^1.6.0",
|
|
2531
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
2532
2532
|
},
|
|
2533
2533
|
"options": [
|
|
2534
2534
|
{
|
|
@@ -2683,7 +2683,7 @@
|
|
|
2683
2683
|
},
|
|
2684
2684
|
"registryDependencies": [],
|
|
2685
2685
|
"engineDependencies": {
|
|
2686
|
-
"@mlola-ui/behavior": "^1.
|
|
2686
|
+
"@mlola-ui/behavior": "^1.6.0"
|
|
2687
2687
|
},
|
|
2688
2688
|
"options": [
|
|
2689
2689
|
{
|
|
@@ -2760,7 +2760,7 @@
|
|
|
2760
2760
|
},
|
|
2761
2761
|
"registryDependencies": [],
|
|
2762
2762
|
"engineDependencies": {
|
|
2763
|
-
"@mlola-ui/behavior": "^1.
|
|
2763
|
+
"@mlola-ui/behavior": "^1.6.0"
|
|
2764
2764
|
},
|
|
2765
2765
|
"options": [
|
|
2766
2766
|
{
|
|
@@ -2842,7 +2842,7 @@
|
|
|
2842
2842
|
},
|
|
2843
2843
|
"registryDependencies": [],
|
|
2844
2844
|
"engineDependencies": {
|
|
2845
|
-
"@mlola-ui/icons": "^1.
|
|
2845
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
2846
2846
|
},
|
|
2847
2847
|
"options": [
|
|
2848
2848
|
{
|
|
@@ -2914,7 +2914,7 @@
|
|
|
2914
2914
|
"popover"
|
|
2915
2915
|
],
|
|
2916
2916
|
"engineDependencies": {
|
|
2917
|
-
"@mlola-ui/icons": "^1.
|
|
2917
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
2918
2918
|
},
|
|
2919
2919
|
"options": [
|
|
2920
2920
|
{
|
|
@@ -2984,7 +2984,7 @@
|
|
|
2984
2984
|
"popover"
|
|
2985
2985
|
],
|
|
2986
2986
|
"engineDependencies": {
|
|
2987
|
-
"@mlola-ui/icons": "^1.
|
|
2987
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
2988
2988
|
},
|
|
2989
2989
|
"options": [],
|
|
2990
2990
|
"variants": [],
|
|
@@ -3182,8 +3182,8 @@
|
|
|
3182
3182
|
"input"
|
|
3183
3183
|
],
|
|
3184
3184
|
"engineDependencies": {
|
|
3185
|
-
"@mlola-ui/behavior": "^1.
|
|
3186
|
-
"@mlola-ui/icons": "^1.
|
|
3185
|
+
"@mlola-ui/behavior": "^1.6.0",
|
|
3186
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
3187
3187
|
},
|
|
3188
3188
|
"options": [
|
|
3189
3189
|
{
|
|
@@ -3272,7 +3272,7 @@
|
|
|
3272
3272
|
"input"
|
|
3273
3273
|
],
|
|
3274
3274
|
"engineDependencies": {
|
|
3275
|
-
"@mlola-ui/icons": "^1.
|
|
3275
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
3276
3276
|
},
|
|
3277
3277
|
"options": [],
|
|
3278
3278
|
"variants": [],
|
|
@@ -3327,7 +3327,7 @@
|
|
|
3327
3327
|
"input"
|
|
3328
3328
|
],
|
|
3329
3329
|
"engineDependencies": {
|
|
3330
|
-
"@mlola-ui/icons": "^1.
|
|
3330
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
3331
3331
|
},
|
|
3332
3332
|
"options": [],
|
|
3333
3333
|
"variants": [],
|
|
@@ -3390,7 +3390,7 @@
|
|
|
3390
3390
|
"popover"
|
|
3391
3391
|
],
|
|
3392
3392
|
"engineDependencies": {
|
|
3393
|
-
"@mlola-ui/icons": "^1.
|
|
3393
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
3394
3394
|
},
|
|
3395
3395
|
"options": [
|
|
3396
3396
|
{
|
|
@@ -3461,7 +3461,7 @@
|
|
|
3461
3461
|
},
|
|
3462
3462
|
"registryDependencies": [],
|
|
3463
3463
|
"engineDependencies": {
|
|
3464
|
-
"@mlola-ui/icons": "^1.
|
|
3464
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
3465
3465
|
},
|
|
3466
3466
|
"options": [
|
|
3467
3467
|
{
|
|
@@ -3580,8 +3580,8 @@
|
|
|
3580
3580
|
},
|
|
3581
3581
|
"registryDependencies": [],
|
|
3582
3582
|
"engineDependencies": {
|
|
3583
|
-
"@mlola-ui/behavior": "^1.
|
|
3584
|
-
"@mlola-ui/icons": "^1.
|
|
3583
|
+
"@mlola-ui/behavior": "^1.6.0",
|
|
3584
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
3585
3585
|
},
|
|
3586
3586
|
"options": [],
|
|
3587
3587
|
"variants": [],
|
|
@@ -3645,7 +3645,7 @@
|
|
|
3645
3645
|
},
|
|
3646
3646
|
"registryDependencies": [],
|
|
3647
3647
|
"engineDependencies": {
|
|
3648
|
-
"@mlola-ui/behavior": "^1.
|
|
3648
|
+
"@mlola-ui/behavior": "^1.6.0"
|
|
3649
3649
|
},
|
|
3650
3650
|
"options": [
|
|
3651
3651
|
{
|
|
@@ -3732,8 +3732,8 @@
|
|
|
3732
3732
|
},
|
|
3733
3733
|
"registryDependencies": [],
|
|
3734
3734
|
"engineDependencies": {
|
|
3735
|
-
"@mlola-ui/behavior": "^1.
|
|
3736
|
-
"@mlola-ui/icons": "^1.
|
|
3735
|
+
"@mlola-ui/behavior": "^1.6.0",
|
|
3736
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
3737
3737
|
},
|
|
3738
3738
|
"options": [],
|
|
3739
3739
|
"variants": [],
|
|
@@ -3807,7 +3807,7 @@
|
|
|
3807
3807
|
"sheet"
|
|
3808
3808
|
],
|
|
3809
3809
|
"engineDependencies": {
|
|
3810
|
-
"@mlola-ui/icons": "^1.
|
|
3810
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
3811
3811
|
},
|
|
3812
3812
|
"options": [],
|
|
3813
3813
|
"variants": [],
|
|
@@ -3930,7 +3930,7 @@
|
|
|
3930
3930
|
"button"
|
|
3931
3931
|
],
|
|
3932
3932
|
"engineDependencies": {
|
|
3933
|
-
"@mlola-ui/icons": "^1.
|
|
3933
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
3934
3934
|
},
|
|
3935
3935
|
"options": [
|
|
3936
3936
|
{
|
|
@@ -4034,8 +4034,8 @@
|
|
|
4034
4034
|
"input"
|
|
4035
4035
|
],
|
|
4036
4036
|
"engineDependencies": {
|
|
4037
|
-
"@mlola-ui/behavior": "^1.
|
|
4038
|
-
"@mlola-ui/icons": "^1.
|
|
4037
|
+
"@mlola-ui/behavior": "^1.6.0",
|
|
4038
|
+
"@mlola-ui/icons": "^1.6.0"
|
|
4039
4039
|
},
|
|
4040
4040
|
"options": [
|
|
4041
4041
|
{
|
|
@@ -15,11 +15,13 @@ interface SliderProps extends Omit<FormControlProps, "required"> {
|
|
|
15
15
|
step?: number;
|
|
16
16
|
label?: React.ReactNode;
|
|
17
17
|
showValue?: boolean;
|
|
18
|
+
/** How the value reads, shown with `showValue` and announced: "1.05×", "0:12 of 0:52". */
|
|
19
|
+
formatValue?: (value: number) => string;
|
|
18
20
|
size?: SliderSize;
|
|
19
21
|
className?: string;
|
|
20
22
|
}
|
|
21
23
|
const Slider = React.forwardRef<HTMLDivElement, SliderProps>(
|
|
22
|
-
({ value, defaultValue = 50, onValueChange, min = 0, max = 100, step = 1, disabled = false, label, showValue = false, size = "md", className, id, name, form, "aria-label": ariaLabel, "aria-labelledby": labelledBy, "aria-describedby": describedBy }, ref) => {
|
|
24
|
+
({ value, defaultValue = 50, onValueChange, min = 0, max = 100, step = 1, disabled = false, label, showValue = false, formatValue, size = "md", className, id, name, form, "aria-label": ariaLabel, "aria-labelledby": labelledBy, "aria-describedby": describedBy }, ref) => {
|
|
23
25
|
const low = Number.isFinite(min) ? min : 0;
|
|
24
26
|
const high = Number.isFinite(max) && max > low ? max : low + 100;
|
|
25
27
|
const increment = Number.isFinite(step) && step > 0 ? step : 1;
|
|
@@ -47,7 +49,7 @@ const Slider = React.forwardRef<HTMLDivElement, SliderProps>(
|
|
|
47
49
|
{label || showValue ? (
|
|
48
50
|
<div className="ml-slider-header">
|
|
49
51
|
{label ? <span id={labelId} className="ml-slider-label">{label}</span> : <span />}
|
|
50
|
-
{showValue ? <output id={valueId} htmlFor={sliderId} className="ml-slider-output">{current}</output> : null}
|
|
52
|
+
{showValue ? <output id={valueId} htmlFor={sliderId} className="ml-slider-output">{formatValue ? formatValue(current) : current}</output> : null}
|
|
51
53
|
</div>
|
|
52
54
|
) : null}
|
|
53
55
|
<div
|
|
@@ -58,7 +60,7 @@ const Slider = React.forwardRef<HTMLDivElement, SliderProps>(
|
|
|
58
60
|
aria-valuemin={low}
|
|
59
61
|
aria-valuemax={high}
|
|
60
62
|
aria-valuenow={current}
|
|
61
|
-
aria-valuetext={`${current} of ${high}`}
|
|
63
|
+
aria-valuetext={formatValue ? formatValue(current) : `${current} of ${high}`}
|
|
62
64
|
aria-labelledby={labelledBy ?? labelId}
|
|
63
65
|
aria-label={labelledBy || label ? undefined : (ariaLabel ?? "Value")}
|
|
64
66
|
aria-describedby={[describedBy, valueId].filter(Boolean).join(" ") || undefined}
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"packages/components/select/select.tsx": "sha256-7u1sshW6KAQgjgwQ1siN1P5GkBxboOiOJOdgLanForE=",
|
|
54
54
|
"packages/components/sheet/sheet.tsx": "sha256-U5uuIle4HMkKILrxBqp+cimv7aKGurWa8s7RYhbuIM8=",
|
|
55
55
|
"packages/components/skeleton/skeleton.tsx": "sha256-2Fk72NbLr3+CrXH7jGbHNsc3t+vskMqSyySe/UwbGCs=",
|
|
56
|
-
"packages/components/slider/slider.tsx": "sha256-
|
|
56
|
+
"packages/components/slider/slider.tsx": "sha256-u0CIgpYSseu6yGQZQjjWvoFup9OC/ZJbeKUMlQ1yf8c=",
|
|
57
57
|
"packages/components/spinner/spinner.tsx": "sha256-FZQmcGkQ8N0485n9bYsLTpTnolbM729YKjkQrXriz9A=",
|
|
58
58
|
"packages/components/status-icon/labels.ts": "sha256-EE8q+geQBbJUs7I3RmaHZnPwn7Vjk2GjCfxvI4ruXKM=",
|
|
59
59
|
"packages/components/status-icon/status-icon.tsx": "sha256-TtrTeoePyfH1VhKuWC0v12FuwfgND1CHnH5x8fyf4AM=",
|
package/src/knowledge.js
CHANGED
|
@@ -256,10 +256,83 @@ function handSpacing(text) {
|
|
|
256
256
|
|
|
257
257
|
const SPACING_FIX = "Measure with the scale: var(--ml-space-2), var(--ml-space-4)… (get_tokens spacing), or a calc() of its steps; space that grows with the window is var(--ml-space-fluid-sm)… to -xl. An em tuned to the font is fine; a length invented between the steps is not.";
|
|
258
258
|
|
|
259
|
+
/** One opening tag, the whole of it: its name and its attributes. */
|
|
260
|
+
const OPENING_TAG = /^<([A-Za-z][\w.-]*)((?:\s+(?:[^\s"'>={}]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|\{(?:[^{}]|\{[^{}]*\})*\}))?))*)\s*\/?>$/;
|
|
261
|
+
/** The longest an opening tag may run before it is taken to be text. */
|
|
262
|
+
const MAX_TAG = 8192;
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* Where each candidate opening tag starts and ends, found in one pass:
|
|
266
|
+
* quotes and JSX braces are skipped over, a tag ends at the first ">"
|
|
267
|
+
* outside them, and a "<" outside them means the one before was not a tag.
|
|
268
|
+
* The pattern above then reads each candidate on its own. Markup is anyone's
|
|
269
|
+
* input (a pasted page, a fetched site), so nothing here rescans what it has
|
|
270
|
+
* passed: a tag left open costs no more than its own length.
|
|
271
|
+
*/
|
|
272
|
+
function* tagSpans(markup) {
|
|
273
|
+
let start = markup.indexOf("<");
|
|
274
|
+
while (start >= 0) {
|
|
275
|
+
if (!/[A-Za-z]/.test(markup[start + 1] ?? "")) {
|
|
276
|
+
start = markup.indexOf("<", start + 1);
|
|
277
|
+
continue;
|
|
278
|
+
}
|
|
279
|
+
let quote = "";
|
|
280
|
+
let depth = 0;
|
|
281
|
+
let end = -1;
|
|
282
|
+
let next = -1;
|
|
283
|
+
let at = start + 1;
|
|
284
|
+
for (; at < markup.length && at - start <= MAX_TAG; at += 1) {
|
|
285
|
+
const char = markup[at];
|
|
286
|
+
if (quote) {
|
|
287
|
+
if (char === quote) quote = "";
|
|
288
|
+
} else if (depth > 0) {
|
|
289
|
+
if (char === "{") depth += 1;
|
|
290
|
+
else if (char === "}") depth -= 1;
|
|
291
|
+
} else if (char === '"' || char === "'") quote = char;
|
|
292
|
+
else if (char === "{") depth = 1;
|
|
293
|
+
else if (char === ">") {
|
|
294
|
+
end = at;
|
|
295
|
+
break;
|
|
296
|
+
} else if (char === "<") {
|
|
297
|
+
next = at;
|
|
298
|
+
break;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
if (end >= 0) {
|
|
302
|
+
yield [start, end + 1];
|
|
303
|
+
start = markup.indexOf("<", end + 1);
|
|
304
|
+
} else start = next >= 0 ? next : markup.indexOf("<", at);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Each <style> block, shaped like a match ([whole, body], index), found with
|
|
310
|
+
* indexOf so a block left open costs one scan to the end and no more.
|
|
311
|
+
*/
|
|
312
|
+
function* styleBlocks(markup) {
|
|
313
|
+
const lower = markup.toLowerCase();
|
|
314
|
+
let from = 0;
|
|
315
|
+
while (from < markup.length) {
|
|
316
|
+
const open = lower.indexOf("<style", from);
|
|
317
|
+
if (open < 0) return;
|
|
318
|
+
const opened = markup.indexOf(">", open);
|
|
319
|
+
if (opened < 0) return;
|
|
320
|
+
const close = lower.indexOf("</style>", opened + 1);
|
|
321
|
+
if (close < 0) return;
|
|
322
|
+
const block = [markup.slice(open, close + 8), markup.slice(opened + 1, close)];
|
|
323
|
+
block.index = open;
|
|
324
|
+
yield block;
|
|
325
|
+
from = close + 8;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
|
|
259
329
|
/** Every opening tag in HTML or JSX, with its string-valued attributes. */
|
|
260
330
|
export function tagsOf(markup) {
|
|
261
331
|
const tags = [];
|
|
262
|
-
for (const
|
|
332
|
+
for (const [from, to] of tagSpans(markup)) {
|
|
333
|
+
const match = OPENING_TAG.exec(markup.slice(from, to));
|
|
334
|
+
if (!match) continue;
|
|
335
|
+
match.index = from;
|
|
263
336
|
const attributes = new Map();
|
|
264
337
|
for (const attribute of match[2].matchAll(/([^\s"'>={}]+)(?:\s*=\s*(?:"([^"]*)"|'([^']*)'|(\{(?:[^{}]|\{[^{}]*\})*\})))?/g)) {
|
|
265
338
|
const [, name, double, single, expression] = attribute;
|
|
@@ -474,7 +547,7 @@ export function checkMarkup(markup, { themes: ownThemes = [], contract: installe
|
|
|
474
547
|
}
|
|
475
548
|
|
|
476
549
|
// The page's own stylesheet: the same rules hold in a <style> block.
|
|
477
|
-
for (const block of markup
|
|
550
|
+
for (const block of styleBlocks(markup)) {
|
|
478
551
|
// Comments become blanks of the same length, so every offset still points into the markup.
|
|
479
552
|
const css = block[1].replace(/\/\*[\s\S]*?\*\//g, (comment) => comment.replace(/[^\n]/g, " "));
|
|
480
553
|
let offset = block.index + block[0].indexOf(">") + 1;
|