@mlola-ui/engine 1.0.4 → 1.0.6
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/generated/agents.md +2 -0
- package/generated/assets.json +44 -44
- package/generated/contract.json +12 -1
- package/generated/recipes.css +8 -2
- package/package.json +1 -1
- package/src/behavior-spec.mjs +11 -0
package/generated/agents.md
CHANGED
|
@@ -372,6 +372,7 @@ A dialog over the page that owns focus while open.
|
|
|
372
372
|
- On open, set focus to the first focusable element inside. Also: lock page scroll.
|
|
373
373
|
- On close, set focus to the element that opened the dialog. Also: release page scroll.
|
|
374
374
|
- On pointer down on the backdrop, set closed to unless closing on backdrop is disabled.
|
|
375
|
+
- Markup: `data-ml-opens` — on any control outside: the id of the dialog it opens; `data-ml-for` — on the overlay: the id of its dialog; `data-ml-close` — on any control inside that closes it, such as Cancel; `role="alertdialog"` — for a confirmation that interrupts
|
|
375
376
|
|
|
376
377
|
### sheet
|
|
377
378
|
|
|
@@ -386,6 +387,7 @@ A dialog anchored to one edge of the viewport.
|
|
|
386
387
|
- State changes:
|
|
387
388
|
- On open, set focus to inside the panel. Also: lock page scroll.
|
|
388
389
|
- On close, set focus to the trigger. Also: release page scroll.
|
|
390
|
+
- Markup: `data-ml-opens` — on any control outside: the id of the panel it opens; `data-ml-for` — on the overlay: the id of its panel; `data-ml-close` — on any control inside that closes it
|
|
389
391
|
- Note: Identical to modal apart from which edge it is anchored to.
|
|
390
392
|
|
|
391
393
|
### tooltip
|
package/generated/assets.json
CHANGED
|
@@ -872,14 +872,14 @@
|
|
|
872
872
|
{
|
|
873
873
|
"path": "checklist.svg",
|
|
874
874
|
"role": "source",
|
|
875
|
-
"bytes":
|
|
876
|
-
"integrity": "sha256-
|
|
875
|
+
"bytes": 5044,
|
|
876
|
+
"integrity": "sha256-bdyD2CXZuKZWwhL0Zzs+Xatuy9F0TjjMYOJVn3WZ7DQ="
|
|
877
877
|
},
|
|
878
878
|
{
|
|
879
879
|
"path": "checklist.tsx",
|
|
880
880
|
"role": "react",
|
|
881
|
-
"bytes":
|
|
882
|
-
"integrity": "sha256-
|
|
881
|
+
"bytes": 6023,
|
|
882
|
+
"integrity": "sha256-tG4P4LCm8chgVqgbYaDBu9Xxm6LmlRz6A5iXy8uuo1M="
|
|
883
883
|
}
|
|
884
884
|
],
|
|
885
885
|
"themeable": true,
|
|
@@ -956,14 +956,14 @@
|
|
|
956
956
|
{
|
|
957
957
|
"path": "data-vault.svg",
|
|
958
958
|
"role": "source",
|
|
959
|
-
"bytes":
|
|
960
|
-
"integrity": "sha256-
|
|
959
|
+
"bytes": 5200,
|
|
960
|
+
"integrity": "sha256-rdMlcPjBjBeo5MMnfHJz2DH5CYxSdMJyG/5flQNaQVc="
|
|
961
961
|
},
|
|
962
962
|
{
|
|
963
963
|
"path": "data-vault.tsx",
|
|
964
964
|
"role": "react",
|
|
965
|
-
"bytes":
|
|
966
|
-
"integrity": "sha256-
|
|
965
|
+
"bytes": 6172,
|
|
966
|
+
"integrity": "sha256-5S8ZG/nh6ZtB5oaCgREFsZzWC12+vdxP6IN2Ix5e/uM="
|
|
967
967
|
}
|
|
968
968
|
],
|
|
969
969
|
"themeable": true,
|
|
@@ -1208,14 +1208,14 @@
|
|
|
1208
1208
|
{
|
|
1209
1209
|
"path": "inventory.svg",
|
|
1210
1210
|
"role": "source",
|
|
1211
|
-
"bytes":
|
|
1212
|
-
"integrity": "sha256-
|
|
1211
|
+
"bytes": 4558,
|
|
1212
|
+
"integrity": "sha256-lpe+xybY6if62AE7jyrc531zeQuQiZWvB6bZ8LNSAuE="
|
|
1213
1213
|
},
|
|
1214
1214
|
{
|
|
1215
1215
|
"path": "inventory.tsx",
|
|
1216
1216
|
"role": "react",
|
|
1217
|
-
"bytes":
|
|
1218
|
-
"integrity": "sha256-
|
|
1217
|
+
"bytes": 5532,
|
|
1218
|
+
"integrity": "sha256-si0HLYrwRJ07wZH2lNuvUhxhhNGFtihT8S21fClz4sY="
|
|
1219
1219
|
}
|
|
1220
1220
|
],
|
|
1221
1221
|
"themeable": true,
|
|
@@ -1264,14 +1264,14 @@
|
|
|
1264
1264
|
{
|
|
1265
1265
|
"path": "maintenance.svg",
|
|
1266
1266
|
"role": "source",
|
|
1267
|
-
"bytes":
|
|
1268
|
-
"integrity": "sha256-
|
|
1267
|
+
"bytes": 3627,
|
|
1268
|
+
"integrity": "sha256-nFrhbuQoe6Ys7h5QrNLajgk4NHtZvOBmXxQpjJZjXaQ="
|
|
1269
1269
|
},
|
|
1270
1270
|
{
|
|
1271
1271
|
"path": "maintenance.tsx",
|
|
1272
1272
|
"role": "react",
|
|
1273
|
-
"bytes":
|
|
1274
|
-
"integrity": "sha256-
|
|
1273
|
+
"bytes": 4555,
|
|
1274
|
+
"integrity": "sha256-wvuHnBjqhATZCt3dfHYBZ3thY57Tsm7UWoCB3z7MMjc="
|
|
1275
1275
|
}
|
|
1276
1276
|
],
|
|
1277
1277
|
"themeable": true,
|
|
@@ -1460,14 +1460,14 @@
|
|
|
1460
1460
|
{
|
|
1461
1461
|
"path": "roadmap.svg",
|
|
1462
1462
|
"role": "source",
|
|
1463
|
-
"bytes":
|
|
1464
|
-
"integrity": "sha256-
|
|
1463
|
+
"bytes": 6403,
|
|
1464
|
+
"integrity": "sha256-VGmXHxFV6dZH7naewqSFjNXW4aL9TXo313mIkhpRRIY="
|
|
1465
1465
|
},
|
|
1466
1466
|
{
|
|
1467
1467
|
"path": "roadmap.tsx",
|
|
1468
1468
|
"role": "react",
|
|
1469
|
-
"bytes":
|
|
1470
|
-
"integrity": "sha256-
|
|
1469
|
+
"bytes": 7400,
|
|
1470
|
+
"integrity": "sha256-PyS0RKSie4ScWYh84GMkOH1uM4NVIeaPsqN6G510IEI="
|
|
1471
1471
|
}
|
|
1472
1472
|
],
|
|
1473
1473
|
"themeable": true,
|
|
@@ -1516,14 +1516,14 @@
|
|
|
1516
1516
|
{
|
|
1517
1517
|
"path": "secure.svg",
|
|
1518
1518
|
"role": "source",
|
|
1519
|
-
"bytes":
|
|
1520
|
-
"integrity": "sha256-
|
|
1519
|
+
"bytes": 4513,
|
|
1520
|
+
"integrity": "sha256-DfQCBeSjDeXMV2/aj8gbyZ96qkt+xbKAbStNQ/WTuog="
|
|
1521
1521
|
},
|
|
1522
1522
|
{
|
|
1523
1523
|
"path": "secure.tsx",
|
|
1524
1524
|
"role": "react",
|
|
1525
|
-
"bytes":
|
|
1526
|
-
"integrity": "sha256-
|
|
1525
|
+
"bytes": 5463,
|
|
1526
|
+
"integrity": "sha256-wTJ37xnH/YYorXYm7Kw0LmKSdjkB3WRzE6N2HtRl8Ho="
|
|
1527
1527
|
}
|
|
1528
1528
|
],
|
|
1529
1529
|
"themeable": true,
|
|
@@ -1544,14 +1544,14 @@
|
|
|
1544
1544
|
{
|
|
1545
1545
|
"path": "settings.svg",
|
|
1546
1546
|
"role": "source",
|
|
1547
|
-
"bytes":
|
|
1548
|
-
"integrity": "sha256-
|
|
1547
|
+
"bytes": 6307,
|
|
1548
|
+
"integrity": "sha256-97sH/xeELOZb38vXhpSWwZTnbps93GOJQz8/qD+5oKI="
|
|
1549
1549
|
},
|
|
1550
1550
|
{
|
|
1551
1551
|
"path": "settings.tsx",
|
|
1552
1552
|
"role": "react",
|
|
1553
|
-
"bytes":
|
|
1554
|
-
"integrity": "sha256-
|
|
1553
|
+
"bytes": 7362,
|
|
1554
|
+
"integrity": "sha256-8rtUZ+Txob/uwVWyzvwiYHNSVhHSQxmk2Ng3j1Jt01g="
|
|
1555
1555
|
}
|
|
1556
1556
|
],
|
|
1557
1557
|
"themeable": true,
|
|
@@ -1572,14 +1572,14 @@
|
|
|
1572
1572
|
{
|
|
1573
1573
|
"path": "storage.svg",
|
|
1574
1574
|
"role": "source",
|
|
1575
|
-
"bytes":
|
|
1576
|
-
"integrity": "sha256-
|
|
1575
|
+
"bytes": 3938,
|
|
1576
|
+
"integrity": "sha256-iwCyd/bbuzEZd4UScH6dXyDSh/TLaBBt7c1lT48iVO4="
|
|
1577
1577
|
},
|
|
1578
1578
|
{
|
|
1579
1579
|
"path": "storage.tsx",
|
|
1580
1580
|
"role": "react",
|
|
1581
|
-
"bytes":
|
|
1582
|
-
"integrity": "sha256-
|
|
1581
|
+
"bytes": 4817,
|
|
1582
|
+
"integrity": "sha256-ml1PaCIZ+snHq7Z1RTyfZLUjBebwiZb/6uXpI/yNe3s="
|
|
1583
1583
|
}
|
|
1584
1584
|
],
|
|
1585
1585
|
"themeable": true,
|
|
@@ -1600,14 +1600,14 @@
|
|
|
1600
1600
|
{
|
|
1601
1601
|
"path": "success.svg",
|
|
1602
1602
|
"role": "source",
|
|
1603
|
-
"bytes":
|
|
1604
|
-
"integrity": "sha256-
|
|
1603
|
+
"bytes": 4528,
|
|
1604
|
+
"integrity": "sha256-sxMt1j1/7y8xPAOEAbmri/N0phPItxSekNnoqPW9QiA="
|
|
1605
1605
|
},
|
|
1606
1606
|
{
|
|
1607
1607
|
"path": "success.tsx",
|
|
1608
1608
|
"role": "react",
|
|
1609
|
-
"bytes":
|
|
1610
|
-
"integrity": "sha256-
|
|
1609
|
+
"bytes": 5470,
|
|
1610
|
+
"integrity": "sha256-yb06ZhflQxikrdfEtAlpTu4lZofiA0GMwD2krVmEH0U="
|
|
1611
1611
|
}
|
|
1612
1612
|
],
|
|
1613
1613
|
"themeable": true,
|
|
@@ -1628,14 +1628,14 @@
|
|
|
1628
1628
|
{
|
|
1629
1629
|
"path": "terminal.svg",
|
|
1630
1630
|
"role": "source",
|
|
1631
|
-
"bytes":
|
|
1632
|
-
"integrity": "sha256-
|
|
1631
|
+
"bytes": 3383,
|
|
1632
|
+
"integrity": "sha256-eWpshizfLD+m6shcHKYORhpPAyPmK1C4Shbj6NJiC8s="
|
|
1633
1633
|
},
|
|
1634
1634
|
{
|
|
1635
1635
|
"path": "terminal.tsx",
|
|
1636
1636
|
"role": "react",
|
|
1637
|
-
"bytes":
|
|
1638
|
-
"integrity": "sha256-
|
|
1637
|
+
"bytes": 4292,
|
|
1638
|
+
"integrity": "sha256-a26T4wq/nOrJiGDWPQ8a6JI6PP3++fimoOClHI1kP7A="
|
|
1639
1639
|
}
|
|
1640
1640
|
],
|
|
1641
1641
|
"themeable": true,
|
|
@@ -1712,14 +1712,14 @@
|
|
|
1712
1712
|
{
|
|
1713
1713
|
"path": "workflow.svg",
|
|
1714
1714
|
"role": "source",
|
|
1715
|
-
"bytes":
|
|
1716
|
-
"integrity": "sha256-
|
|
1715
|
+
"bytes": 5424,
|
|
1716
|
+
"integrity": "sha256-j/eKrdIOuoHFx1xgSpzCWn/itVKkdLM5hqXHcnedI9U="
|
|
1717
1717
|
},
|
|
1718
1718
|
{
|
|
1719
1719
|
"path": "workflow.tsx",
|
|
1720
1720
|
"role": "react",
|
|
1721
|
-
"bytes":
|
|
1722
|
-
"integrity": "sha256-
|
|
1721
|
+
"bytes": 6417,
|
|
1722
|
+
"integrity": "sha256-nO1BPNekc6T1fTYduDI9Z4izGEM7UI7WBgR48/iK390="
|
|
1723
1723
|
}
|
|
1724
1724
|
],
|
|
1725
1725
|
"themeable": true,
|
package/generated/contract.json
CHANGED
|
@@ -957,7 +957,13 @@
|
|
|
957
957
|
"set": "closed",
|
|
958
958
|
"to": "unless closing on backdrop is disabled"
|
|
959
959
|
}
|
|
960
|
-
]
|
|
960
|
+
],
|
|
961
|
+
"markup": {
|
|
962
|
+
"data-ml-opens": "on any control outside: the id of the dialog it opens",
|
|
963
|
+
"data-ml-for": "on the overlay: the id of its dialog",
|
|
964
|
+
"data-ml-close": "on any control inside that closes it, such as Cancel",
|
|
965
|
+
"role=\"alertdialog\"": "for a confirmation that interrupts"
|
|
966
|
+
}
|
|
961
967
|
},
|
|
962
968
|
"sheet": {
|
|
963
969
|
"summary": "A dialog anchored to one edge of the viewport.",
|
|
@@ -1020,6 +1026,11 @@
|
|
|
1020
1026
|
"also": "release page scroll"
|
|
1021
1027
|
}
|
|
1022
1028
|
],
|
|
1029
|
+
"markup": {
|
|
1030
|
+
"data-ml-opens": "on any control outside: the id of the panel it opens",
|
|
1031
|
+
"data-ml-for": "on the overlay: the id of its panel",
|
|
1032
|
+
"data-ml-close": "on any control inside that closes it"
|
|
1033
|
+
},
|
|
1023
1034
|
"notes": "Identical to modal apart from which edge it is anchored to."
|
|
1024
1035
|
},
|
|
1025
1036
|
"tooltip": {
|
package/generated/recipes.css
CHANGED
|
@@ -4489,8 +4489,8 @@
|
|
|
4489
4489
|
display: inline-flex;
|
|
4490
4490
|
align-items: center;
|
|
4491
4491
|
justify-content: center;
|
|
4492
|
-
width: 1.
|
|
4493
|
-
height: 1.
|
|
4492
|
+
width: 1.5rem;
|
|
4493
|
+
height: 1.5rem;
|
|
4494
4494
|
border: 0;
|
|
4495
4495
|
border-radius: var(--ml-radius-xs);
|
|
4496
4496
|
background: transparent;
|
|
@@ -5216,6 +5216,12 @@ button.ml-stepper-target:focus-visible {
|
|
|
5216
5216
|
box-shadow: var(--ml-shadow-xs);
|
|
5217
5217
|
}
|
|
5218
5218
|
|
|
5219
|
+
/* Focusable only while it scrolls; the ring sits inside, where it cannot be clipped. */
|
|
5220
|
+
.ml-table-container:focus-visible {
|
|
5221
|
+
outline: 2px solid var(--ml-focus);
|
|
5222
|
+
outline-offset: -2px;
|
|
5223
|
+
}
|
|
5224
|
+
|
|
5219
5225
|
.ml-table-card {
|
|
5220
5226
|
display: grid;
|
|
5221
5227
|
gap: var(--ml-space-4);
|
package/package.json
CHANGED
package/src/behavior-spec.mjs
CHANGED
|
@@ -180,6 +180,12 @@ export const behaviors = {
|
|
|
180
180
|
{ on: "close", set: "focus", to: "the element that opened the dialog", also: "release page scroll" },
|
|
181
181
|
{ on: "pointer down on the backdrop", set: "closed", to: "unless closing on backdrop is disabled" },
|
|
182
182
|
],
|
|
183
|
+
markup: {
|
|
184
|
+
"data-ml-opens": "on any control outside: the id of the dialog it opens",
|
|
185
|
+
"data-ml-for": "on the overlay: the id of its dialog",
|
|
186
|
+
"data-ml-close": "on any control inside that closes it, such as Cancel",
|
|
187
|
+
"role=\"alertdialog\"": "for a confirmation that interrupts",
|
|
188
|
+
},
|
|
183
189
|
},
|
|
184
190
|
|
|
185
191
|
sheet: {
|
|
@@ -200,6 +206,11 @@ export const behaviors = {
|
|
|
200
206
|
{ on: "open", set: "focus", to: "inside the panel", also: "lock page scroll" },
|
|
201
207
|
{ on: "close", set: "focus", to: "the trigger", also: "release page scroll" },
|
|
202
208
|
],
|
|
209
|
+
markup: {
|
|
210
|
+
"data-ml-opens": "on any control outside: the id of the panel it opens",
|
|
211
|
+
"data-ml-for": "on the overlay: the id of its panel",
|
|
212
|
+
"data-ml-close": "on any control inside that closes it",
|
|
213
|
+
},
|
|
203
214
|
notes: "Identical to modal apart from which edge it is anchored to.",
|
|
204
215
|
},
|
|
205
216
|
|