@codeandfunction/callaloo 3.2.4 → 3.2.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.
@@ -49,14 +49,14 @@ interface Props {
49
49
  }
50
50
  type __VLS_Props = Props;
51
51
  type __VLS_PublicProps = {
52
- modelValue?: string | number;
52
+ modelValue?: string | number | null;
53
53
  } & __VLS_Props;
54
54
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
55
55
  selectRef: Readonly<import('vue').ShallowRef<HTMLSelectElement | null>>;
56
56
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
57
- "update:modelValue": (value: string | number) => any;
57
+ "update:modelValue": (value: string | number | null) => any;
58
58
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
59
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
59
+ "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
60
60
  }>, {
61
61
  color: CLColors;
62
62
  variant: CLColorVariants.Outline | CLColorVariants.Ghost;
package/dist/index.js CHANGED
@@ -3239,7 +3239,7 @@ const p0 = /* @__PURE__ */ bs(fs, [["render", ms]]), yt = ({ escHandler: e, trig
3239
3239
  _: 1
3240
3240
  }));
3241
3241
  }
3242
- }), zs = ["data-testid"], Ts = ["for"], Hs = ["id", "aria-label", "disabled", "name", "placeholder", "form", "required"], _s = ["value", "selected"], te = "clll-select", g0 = /* @__PURE__ */ W({
3242
+ }), zs = ["data-testid"], Ts = ["for"], Hs = ["id", "aria-label", "disabled", "name", "placeholder", "form", "required"], _s = ["value", "selected", "disabled"], te = "clll-select", g0 = /* @__PURE__ */ W({
3243
3243
  name: "CLSelect",
3244
3244
  __name: "CLSelect",
3245
3245
  props: /* @__PURE__ */ lo({
@@ -3348,7 +3348,8 @@ const p0 = /* @__PURE__ */ bs(fs, [["render", ms]]), yt = ({ escHandler: e, trig
3348
3348
  i.options ? (m(!0), $(Le, { key: 0 }, Oo(i.options, (u, h) => (m(), $("option", {
3349
3349
  key: `${i.id}-option-${h}`,
3350
3350
  value: u.value,
3351
- selected: u.value === t.value
3351
+ selected: u.value === t.value,
3352
+ disabled: u.disabled
3352
3353
  }, P(u.label), 9, _s))), 128)) : M("", !0)
3353
3354
  ], 42, Hs), [
3354
3355
  [Dl, t.value]
package/dist/types.d.ts CHANGED
@@ -570,6 +570,7 @@ export interface NavItem {
570
570
  export interface Option {
571
571
  label: string;
572
572
  value: string | number | null;
573
+ disabled?: boolean;
573
574
  }
574
575
  export declare enum Order {
575
576
  After = "after",
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "ui components",
18
18
  "vuejs"
19
19
  ],
20
- "version": "3.2.4",
20
+ "version": "3.2.6",
21
21
  "license": "MIT",
22
22
  "type": "module",
23
23
  "scripts": {