@synopackageland/ui 0.18.1 → 0.18.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.18.3 (2026-11-01)
4
+
5
+ - Fix `WizardStep type="done"` losing its success mark and confetti when the step has a `#hero` illustration. The mark now shows above the stage; a done step without a hero is unchanged.
6
+ - Add a browser preview (`tests/dsm-host/wizard-form.html`) of a done step with an illustration and of a form holding a card group; `FormItem` already caps its control at 320px (`fieldWidth="md"`), and a test now covers a card `RadioGroup` inside it.
7
+
8
+ ## 0.18.2 (2026-10-31)
9
+
10
+ - Fix `Select` showing an option's old label after `options` change the label but keep its value. The trigger now reads the label from the current options (and search results); the value, the open state and the trigger element stay as they were, and no `update:modelValue` is emitted (#89).
11
+
3
12
  ## 0.18.1 (2026-10-31)
4
13
 
5
14
  - A `Form`, `FormItem` or `SettingsRow` with the default `direction="auto"` keeps its labels in a left column down to 400px of container width (was 520px), as DSM does in narrow dialogs and side panels. A form in a 420–480px `Sheet` now reads label | control, sized by `label-width`; below 400px (a phone) the labels still stack. Long labels wrap and stay level with their control. Set `direction="vertical"` to keep the stacked layout in a 400–519px container.
package/dist/index.js CHANGED
@@ -19964,7 +19964,7 @@ const Tk = { key: 0 }, Ak = { key: 1 }, Pk = { key: 2 }, Bk = {
19964
19964
  placeholder: i(o).placeholder
19965
19965
  }, {
19966
19966
  default: _(({ selectedLabel: F }) => [
19967
- F.length ? (d(), g("span", Tk, R(F.join(", ")), 1)) : x.value ? (d(), g("span", Ak, R(x.value), 1)) : (d(), g("span", Pk, R(i(o).placeholder), 1))
19967
+ x.value ? (d(), g("span", Tk, R(x.value), 1)) : F.length ? (d(), g("span", Ak, R(F.join(", ")), 1)) : (d(), g("span", Pk, R(i(o).placeholder), 1))
19968
19968
  ]),
19969
19969
  _: 1
19970
19970
  }, 8, ["placeholder"]),
@@ -33761,16 +33761,11 @@ const KO = ["aria-label", "data-stepper", "data-framed", "data-fit", "data-short
33761
33761
  ], 8, lI)) : T("", !0)
33762
33762
  ], 12, KO));
33763
33763
  }
33764
- }), cI = ["aria-hidden", "aria-labelledby", "data-wizard-step", "data-type", "data-active", "data-direction"], fI = ["data-hero"], pI = {
33765
- key: 0,
33764
+ }), cI = ["aria-hidden", "aria-labelledby", "data-wizard-step", "data-type", "data-active", "data-direction"], fI = ["data-hero", "data-done"], pI = ["data-wizard-hero"], vI = { class: "ui-wizard-celebrate-mark" }, mI = {
33765
+ key: 1,
33766
33766
  class: "ui-wizard-stage",
33767
33767
  "data-wizard-hero": ""
33768
- }, vI = {
33769
- key: 1,
33770
- class: "ui-wizard-celebrate",
33771
- "data-wizard-hero": "",
33772
- "aria-hidden": "true"
33773
- }, mI = { class: "ui-wizard-celebrate-mark" }, hI = {
33768
+ }, hI = {
33774
33769
  key: 2,
33775
33770
  class: "ui-wizard-tile",
33776
33771
  "data-wizard-hero": "",
@@ -33818,12 +33813,17 @@ const KO = ["aria-label", "data-stepper", "data-framed", "data-fit", "data-short
33818
33813
  u.value ? (d(), g("header", {
33819
33814
  key: 0,
33820
33815
  class: "ui-wizard-step-head",
33821
- "data-hero": i(o).hero ? "stage" : s.value ? "done" : t.icon ? "icon" : void 0
33816
+ "data-hero": i(o).hero ? "stage" : s.value ? "done" : t.icon ? "icon" : void 0,
33817
+ "data-done": s.value ? "" : void 0
33822
33818
  }, [
33823
- i(o).hero ? (d(), g("div", pI, [
33824
- S(c.$slots, "hero")
33825
- ])) : s.value ? (d(), g("div", vI, [
33826
- A("span", mI, [
33819
+ s.value ? (d(), g("div", {
33820
+ key: 0,
33821
+ class: "ui-wizard-celebrate",
33822
+ "data-wizard-celebrate": "",
33823
+ "data-wizard-hero": i(o).hero ? void 0 : "",
33824
+ "aria-hidden": "true"
33825
+ }, [
33826
+ A("span", vI, [
33827
33827
  O(i(st), {
33828
33828
  class: "size-8",
33829
33829
  "stroke-width": 2.75
@@ -33834,7 +33834,10 @@ const KO = ["aria-label", "data-stepper", "data-framed", "data-fit", "data-short
33834
33834
  class: "ui-wizard-confetti",
33835
33835
  style: Ce({ "--ui-wizard-confetti-i": p })
33836
33836
  }, null, 4)), 64))
33837
- ])) : t.icon ? (d(), g("div", hI, [
33837
+ ], 8, pI)) : T("", !0),
33838
+ i(o).hero ? (d(), g("div", mI, [
33839
+ S(c.$slots, "hero")
33840
+ ])) : t.icon && !s.value ? (d(), g("div", hI, [
33838
33841
  (d(), E(Le(t.icon), { class: "size-[22px]" }))
33839
33842
  ])) : T("", !0),
33840
33843
  t.description ? (d(), g("p", gI, R(t.description), 1)) : T("", !0)
@@ -23242,7 +23242,7 @@ const zO = { key: 0 }, FO = { key: 1 }, qO = { key: 2 }, LO = {
23242
23242
  placeholder: p(r).placeholder
23243
23243
  }, {
23244
23244
  default: O(({ selectedLabel: z }) => [
23245
- z.length ? (y(), E("span", zO, J(z.join(", ")), 1)) : g.value ? (y(), E("span", FO, J(g.value), 1)) : (y(), E("span", qO, J(p(r).placeholder), 1))
23245
+ g.value ? (y(), E("span", zO, J(g.value), 1)) : z.length ? (y(), E("span", FO, J(z.join(", ")), 1)) : (y(), E("span", qO, J(p(r).placeholder), 1))
23246
23246
  ]),
23247
23247
  _: 1
23248
23248
  }, 8, ["placeholder"]),
@@ -3,7 +3,7 @@
3
3
  "version": "2.10.5",
4
4
  "delivery": "bundled-patched-esm",
5
5
  "patchManifestSha256": "14f10159b60d48ac7a0686f58faf7a30e99898dc267b3c032cf2bdd6052dc52b",
6
- "bundleSha256": "aab812c804e12b9e6081429b29163d20daba0ade542e1308f26888e99c6a7108",
6
+ "bundleSha256": "3e6e937be2172b319b36b14775a1ccf01d0579991d506b28f6d4b1f222436151",
7
7
  "sourceHashes": {
8
8
  "shared/useBodyScrollLock.js": "657592f283cb6fd25454abd284a0024af21936cb56e05b762ff0d22b6a979d32",
9
9
  "DismissableLayer/DismissableLayer.js": "da05ca544d9822a8e2b71057e78c0e1ef59423aa3893534338fb58e1ecbd1a8d",