@smart-factor/gem-ui-components 0.0.11 → 0.0.12

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.
@@ -9,5 +9,6 @@ export interface SimpleSelectProps<T extends SelectInputProps['value']> {
9
9
  value: string | number;
10
10
  label: string;
11
11
  }[];
12
+ disabled?: boolean;
12
13
  }
13
- export declare const SimpleSelect: <T extends unknown>({ id, value, label, onChange, menuItems, }: SimpleSelectProps<T>) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const SimpleSelect: <T extends unknown>({ id, value, label, onChange, menuItems, disabled, }: SimpleSelectProps<T>) => import("react/jsx-runtime").JSX.Element;
package/dist/main.js CHANGED
@@ -33495,7 +33495,8 @@ const w$ = U(Pr)`
33495
33495
  value: t,
33496
33496
  label: r,
33497
33497
  onChange: n,
33498
- menuItems: l
33498
+ menuItems: l,
33499
+ disabled: a
33499
33500
  }) => /* @__PURE__ */ le(Pr, { variant: "standard", children: [
33500
33501
  /* @__PURE__ */ v(wl, { id: e, children: r }),
33501
33502
  /* @__PURE__ */ v(
@@ -33503,10 +33504,11 @@ const w$ = U(Pr)`
33503
33504
  {
33504
33505
  id: e,
33505
33506
  value: t,
33506
- onChange: (a) => n(a.target.value),
33507
+ onChange: (i) => n(i.target.value),
33507
33508
  label: r,
33508
33509
  labelId: e,
33509
- children: l.map(({ value: a, label: i }) => /* @__PURE__ */ v(Mt, { value: a, children: i }, a))
33510
+ disabled: a,
33511
+ children: l.map(({ value: i, label: s }) => /* @__PURE__ */ v(Mt, { value: i, children: s }, i))
33510
33512
  }
33511
33513
  )
33512
33514
  ] }), O$ = U($g)`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smart-factor/gem-ui-components",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "private": false,
5
5
  "description": "Gem UI Components",
6
6
  "type": "module",