mlola-ui 1.0.5 → 1.0.7

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mlola-ui",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Source-copy CLI that writes framework-free Mlola UI items into your project",
5
5
  "type": "module",
6
6
  "bin": {
@@ -41,23 +41,28 @@
41
41
  },
42
42
  {
43
43
  "group": "Color roles",
44
- "purpose": "Each role is a fill with its `-foreground`, a `-text` for text and marks on the page, and (primary) a `-subtle` tint.",
44
+ "purpose": "Each role is a fill with its `-foreground` and `-hover`, a `-text` for text and marks on the page, and (primary) a `-subtle` tint.",
45
45
  "names": [
46
46
  "--ml-primary",
47
47
  "--ml-primary-foreground",
48
+ "--ml-primary-hover",
48
49
  "--ml-primary-text",
49
50
  "--ml-primary-subtle",
50
51
  "--ml-success",
51
52
  "--ml-success-foreground",
53
+ "--ml-success-hover",
52
54
  "--ml-success-text",
53
55
  "--ml-warning",
54
56
  "--ml-warning-foreground",
57
+ "--ml-warning-hover",
55
58
  "--ml-warning-text",
56
59
  "--ml-danger",
57
60
  "--ml-danger-foreground",
61
+ "--ml-danger-hover",
58
62
  "--ml-danger-text",
59
63
  "--ml-info",
60
64
  "--ml-info-foreground",
65
+ "--ml-info-hover",
61
66
  "--ml-info-text"
62
67
  ]
63
68
  },
@@ -78,7 +83,6 @@
78
83
  "purpose": "Focus, hover and pressed fills, tracks, the veil behind overlays, light and knobs.",
79
84
  "names": [
80
85
  "--ml-focus",
81
- "--ml-primary-hover",
82
86
  "--ml-fill-hover",
83
87
  "--ml-fill-active",
84
88
  "--ml-track",
@@ -56,12 +56,12 @@ Values change with the theme and the mode, the names never do.
56
56
 
57
57
  - **Planes and ink.** Backgrounds, surfaces, the three levels of text, borders.
58
58
  `--ml-background` `--ml-background-subtle` `--ml-surface` `--ml-surface-elevated` `--ml-text` `--ml-text-muted` `--ml-text-faint` `--ml-border` `--ml-border-subtle`
59
- - **Color roles.** Each role is a fill with its `-foreground`, a `-text` for text and marks on the page, and (primary) a `-subtle` tint.
60
- `--ml-primary` `--ml-primary-foreground` `--ml-primary-text` `--ml-primary-subtle` `--ml-success` `--ml-success-foreground` `--ml-success-text` `--ml-warning` `--ml-warning-foreground` `--ml-warning-text` `--ml-danger` `--ml-danger-foreground` `--ml-danger-text` `--ml-info` `--ml-info-foreground` `--ml-info-text`
59
+ - **Color roles.** Each role is a fill with its `-foreground` and `-hover`, a `-text` for text and marks on the page, and (primary) a `-subtle` tint.
60
+ `--ml-primary` `--ml-primary-foreground` `--ml-primary-hover` `--ml-primary-text` `--ml-primary-subtle` `--ml-success` `--ml-success-foreground` `--ml-success-hover` `--ml-success-text` `--ml-warning` `--ml-warning-foreground` `--ml-warning-hover` `--ml-warning-text` `--ml-danger` `--ml-danger-foreground` `--ml-danger-hover` `--ml-danger-text` `--ml-info` `--ml-info-foreground` `--ml-info-hover` `--ml-info-text`
61
61
  - **Charts.** A categorical palette for series, 3:1 on the surface. Never a status.
62
62
  `--ml-chart-1` `--ml-chart-2` `--ml-chart-3` `--ml-chart-4` `--ml-chart-5` `--ml-chart-6`
63
63
  - **Interaction and light.** Focus, hover and pressed fills, tracks, the veil behind overlays, light and knobs.
64
- `--ml-focus` `--ml-primary-hover` `--ml-fill-hover` `--ml-fill-active` `--ml-track` `--ml-control-border` `--ml-ring` `--ml-scrim` `--ml-highlight` `--ml-knob` `--ml-knob-shadow` `--ml-sheen`
64
+ `--ml-focus` `--ml-fill-hover` `--ml-fill-active` `--ml-track` `--ml-control-border` `--ml-ring` `--ml-scrim` `--ml-highlight` `--ml-knob` `--ml-knob-shadow` `--ml-sheen`
65
65
  - **Spacing.** The only spacing: gaps, padding, margins, offsets.
66
66
  `--ml-space-px` `--ml-space-0-5` `--ml-space-1` `--ml-space-1-5` `--ml-space-2` `--ml-space-2-5` `--ml-space-3` `--ml-space-3-5` `--ml-space-4` `--ml-space-4-5` `--ml-space-5` `--ml-space-6` `--ml-space-7` `--ml-space-8` `--ml-space-9` `--ml-space-10` `--ml-space-12` `--ml-space-14` `--ml-space-16`
67
67
  - **Type.** The only type sizes, line heights, families and weights.
@@ -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
@@ -552,7 +552,7 @@
552
552
  "id": "no-results",
553
553
  "kind": "2d",
554
554
  "title": "No results",
555
- "summary": "A magnifier searching a layered document, with an empty field at its centre.",
555
+ "summary": "A magnifier searching a layered document, with an empty field at its center.",
556
556
  "tags": [
557
557
  "empty-state",
558
558
  "search",
@@ -570,7 +570,7 @@
570
570
  "path": "no-results.tsx",
571
571
  "role": "react",
572
572
  "bytes": 5800,
573
- "integrity": "sha256-CDORmpix2cd9bwtV96F84+kmM+iWh0uXKEzXkJ5y33I="
573
+ "integrity": "sha256-AsJuBu37uhuBIEI+qfgs3yCZxEOUAO8yqRw2t85+Qyk="
574
574
  }
575
575
  ]
576
576
  },
@@ -708,7 +708,7 @@
708
708
  "id": "search-index",
709
709
  "kind": "2d",
710
710
  "title": "Search index",
711
- "summary": "A searchable card catalogue with alphabetized tabs and a hovering magnifier.",
711
+ "summary": "A searchable card catalog with alphabetized tabs and a hovering magnifier.",
712
712
  "tags": [
713
713
  "search",
714
714
  "index",
@@ -725,8 +725,8 @@
725
725
  {
726
726
  "path": "search-index.tsx",
727
727
  "role": "react",
728
- "bytes": 4988,
729
- "integrity": "sha256-B01lKtpiwqvEwuPmJavJT3G8E5lTQ66gxtoLjkL1ww8="
728
+ "bytes": 4986,
729
+ "integrity": "sha256-IkulM8Tk9MpuwbCS88IlBbrF3oSx6g05pw2Ydm/ld8s="
730
730
  }
731
731
  ]
732
732
  },
@@ -994,7 +994,7 @@
994
994
  "id": "folder",
995
995
  "kind": "3d",
996
996
  "title": "Folder",
997
- "summary": "A moulded project folder with layered documents, a label and a brass-coloured tab.",
997
+ "summary": "A molded project folder with layered documents, a label and a brass-colored tab.",
998
998
  "tags": [
999
999
  "files",
1000
1000
  "empty-state",
@@ -663,7 +663,7 @@
663
663
  "name": "data-grid",
664
664
  "type": "registry:ui",
665
665
  "title": "Data Grid",
666
- "description": "A spreadsheet-grade table: virtualised rows, pinned and resizable columns, sorting, cell ranges, inline editing, copy and paste, totals",
666
+ "description": "A spreadsheet-grade table: virtualized rows, pinned and resizable columns, sorting, cell ranges, inline editing, copy and paste, totals",
667
667
  "category": "workflow",
668
668
  "tags": [
669
669
  "data grid",