@loworbitstudio/visor 1.56.0 → 1.59.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "0.4.0",
3
- "generated_at": "2026-11-20T13:44:47.084Z",
3
+ "generated_at": "2026-11-22T07:42:30.890Z",
4
4
  "components": {
5
5
  "accessibility-specimen": {
6
6
  "changeType": "current",
@@ -560,6 +560,12 @@
560
560
  "breakingChange": false,
561
561
  "migrationNote": null
562
562
  },
563
+ "reach-rings": {
564
+ "changeType": "current",
565
+ "files": [],
566
+ "breakingChange": false,
567
+ "migrationNote": null
568
+ },
563
569
  "resizable-split": {
564
570
  "changeType": "current",
565
571
  "files": [],
package/dist/index.js CHANGED
@@ -9098,6 +9098,8 @@ var FIXTURES = {
9098
9098
  hero: { export: "Button", interactiveTarget: "button", props: `{ variant: "hero", children: "Send invoice" }` },
9099
9099
  sm: { export: "Button", interactiveTarget: "button", props: `{ size: "sm", children: "Small" }` },
9100
9100
  lg: { export: "Button", interactiveTarget: "button", props: `{ size: "lg", children: "Large" }` },
9101
+ // VI-824: the kit's outline squircle button is lg.
9102
+ "lg-outline": { export: "Button", interactiveTarget: "button", props: `{ size: "lg", variant: "outline", children: "Not Now" }` },
9101
9103
  dlg: { export: "Button", interactiveTarget: "button", props: `{ size: "dlg", children: "Save" }` },
9102
9104
  // VI-733: the compact destructive face, and an icon beside a label with JSX's " " between.
9103
9105
  "dlg-destructive": { export: "Button", interactiveTarget: "button", props: `{ size: "dlg", variant: "destructive", children: "Void" }` },
@@ -9149,6 +9151,11 @@ var FIXTURES = {
9149
9151
  React.createElement(__mod.Text, { key: "amber", "data-face": "amber", color: "amber" }, "Held"),
9150
9152
  React.createElement(__mod.Text, { key: "warning", "data-face": "warning", color: "warning" }, "Left to Assign")
9151
9153
  ] }`
9154
+ },
9155
+ // VI-801: an eyebrow with a leading mark, so its gap has something to space.
9156
+ eyebrow: {
9157
+ export: "Text",
9158
+ props: `{ size: "eyebrow", children: [React.createElement("span", { key: "m", "aria-hidden": true, style: { width: 9, height: 9, borderRadius: 9999, background: "currentColor" } }), "Your Shifts"] }`
9152
9159
  }
9153
9160
  },
9154
9161
  // VI-714: the end-of-flow panel with a check list and an action.
@@ -9189,6 +9196,12 @@ var FIXTURES = {
9189
9196
  empty: { export: "ProportionBar", props: `{ style: { width: 360 }, parts: [] }` }
9190
9197
  },
9191
9198
  // VI-767: a row meter past its heads-up tick, and a contract meter with zones and mark text.
9199
+ // VI-840: four rings at reach 2 (three lit), the compact size at reach 0, and none lit.
9200
+ "reach-rings": {
9201
+ default: { export: "ReachRings", props: `(function () { var h = React.createElement; return { levels: 4, value: 2, icon: h("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor" }, [h("circle", { key: 1, cx: 12, cy: 8, r: 4 }), h("path", { key: 2, d: "M4 21a8 8 0 0 1 16 0Z" })]) }; })()` },
9202
+ compact: { export: "ReachRings", props: `(function () { var h = React.createElement; return { levels: 4, value: 0, size: "compact", icon: h("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor" }, [h("circle", { key: 1, cx: 12, cy: 8, r: 4 }), h("path", { key: 2, d: "M4 21a8 8 0 0 1 16 0Z" })]) }; })()` },
9203
+ full: { export: "ReachRings", props: `(function () { var h = React.createElement; return { levels: 4, value: 3, icon: h("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor" }, [h("circle", { key: 1, cx: 12, cy: 8, r: 4 }), h("path", { key: 2, d: "M4 21a8 8 0 0 1 16 0Z" })]) }; })()` }
9204
+ },
9192
9205
  meter: {
9193
9206
  default: {
9194
9207
  export: "Meter",
@@ -9209,6 +9222,11 @@ var FIXTURES = {
9209
9222
  "steps-md": {
9210
9223
  export: "SegmentedProgress",
9211
9224
  props: `{ size: "md", style: { width: 360 }, steps: [{ label: "Your Info", state: "done" }, { label: "Bank Details", state: "current" }, { label: "W-9", state: "pending" }, { label: "Paid", state: "failed" }] }`
9225
+ },
9226
+ // VI-809: sections sized 2:1:3, the finished one a button, the current one a quarter filled, labels revealed.
9227
+ sections: {
9228
+ export: "SegmentedProgress",
9229
+ props: `{ style: { width: 360 }, revealLabels: true, steps: [{ label: "About You", state: "done", weight: 2, onSelect: () => {} }, { label: "Tickets", state: "current", weight: 1, fill: 0.25 }, { label: "Travel", state: "pending", weight: 3 }] }`
9212
9230
  }
9213
9231
  },
9214
9232
  // Form controls (VI-655). Each has a resting fixture plus the states that
@@ -9419,6 +9437,30 @@ var FIXTURES = {
9419
9437
  }).concat([h("p", { key: "r", id: "radio-reason", style: { margin: 0, fontSize: 12 } }, "Public needs a verified booking.")]),
9420
9438
  };
9421
9439
  })()`
9440
+ },
9441
+ // VI-840: four ordered levels as tiles, the third disabled.
9442
+ stepped: {
9443
+ export: "RadioGroup",
9444
+ interactiveTarget: '[role="radio"]',
9445
+ props: `(function () {
9446
+ var h = React.createElement;
9447
+ var icon = function (d) { return h("svg", { width: "1em", height: "1em", viewBox: "0 0 24 24", fill: "currentColor" }, h("path", { d: d })); };
9448
+ var levels = [
9449
+ ["you", "Just You", "M12 4a4 4 0 1 1 0 8 4 4 0 0 1 0-8ZM4 21a8 8 0 0 1 16 0Z"],
9450
+ ["team", "Your Team", "M8 6a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7Zm8 0a3.5 3.5 0 1 1 0 7 3.5 3.5 0 0 1 0-7ZM1 20a7 7 0 0 1 14 0Zm8 0a7 7 0 0 1 14 0Z"],
9451
+ ["bookers", "Verified Bookers", "M12 2l3 3h4v4l3 3-3 3v4h-4l-3 3-3-3H5v-4l-3-3 3-3V5h4Z"],
9452
+ ["public", "Public", "M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm0 3a7 7 0 0 1 0 14 7 7 0 0 1 0-14Z"],
9453
+ ];
9454
+ return {
9455
+ variant: "stepped",
9456
+ "aria-label": "Who can see",
9457
+ defaultValue: "team",
9458
+ style: { width: 400 },
9459
+ children: levels.map(function (l, i) {
9460
+ return h(__mod.RadioGroupItem, { key: l[0], value: l[0], icon: icon(l[2]), title: l[1], disabled: i === 2 });
9461
+ }),
9462
+ };
9463
+ })()`
9422
9464
  }
9423
9465
  },
9424
9466
  switch: {