@synopackageland/ui 0.18.1 → 0.18.2

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.18.2 (2026-10-31)
4
+
5
+ - 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).
6
+
3
7
  ## 0.18.1 (2026-10-31)
4
8
 
5
9
  - 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"]),
@@ -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": "03961493865a9bf0b2f696d02172c2ed7f05504fcdc1839d4b44035fe9ab4a50",
7
7
  "sourceHashes": {
8
8
  "shared/useBodyScrollLock.js": "657592f283cb6fd25454abd284a0024af21936cb56e05b762ff0d22b6a979d32",
9
9
  "DismissableLayer/DismissableLayer.js": "da05ca544d9822a8e2b71057e78c0e1ef59423aa3893534338fb58e1ecbd1a8d",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synopackageland/ui",
3
- "version": "0.18.1",
3
+ "version": "0.18.2",
4
4
  "description": "Shared Vue 3 UI component library with a DSM 7 inspired application theme",
5
5
  "license": "MIT",
6
6
  "type": "module",