@ceed/ads 1.4.4 → 1.4.5

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.
@@ -16,6 +16,7 @@ export { Option };
16
16
  type OptionType = {
17
17
  label: string;
18
18
  value: string | number;
19
+ disabled?: boolean;
19
20
  } | string | number;
20
21
  type InferOptionValue<OptionValue> = OptionValue extends {
21
22
  value: infer V;
package/dist/index.cjs CHANGED
@@ -2650,7 +2650,7 @@ function Select(props) {
2650
2650
  color: error ? "danger" : color,
2651
2651
  onChange: handleChange
2652
2652
  },
2653
- options.map((option) => /* @__PURE__ */ import_react21.default.createElement(Option, { key: option.value, value: option.value }, option.label))
2653
+ options.map((option) => /* @__PURE__ */ import_react21.default.createElement(Option, { key: option.value, value: option.value, disabled: option.disabled }, option.label))
2654
2654
  );
2655
2655
  return /* @__PURE__ */ import_react21.default.createElement(
2656
2656
  FormControl_default,
package/dist/index.js CHANGED
@@ -2597,7 +2597,7 @@ function Select(props) {
2597
2597
  color: error ? "danger" : color,
2598
2598
  onChange: handleChange
2599
2599
  },
2600
- options.map((option) => /* @__PURE__ */ React19.createElement(Option, { key: option.value, value: option.value }, option.label))
2600
+ options.map((option) => /* @__PURE__ */ React19.createElement(Option, { key: option.value, value: option.value, disabled: option.disabled }, option.label))
2601
2601
  );
2602
2602
  return /* @__PURE__ */ React19.createElement(
2603
2603
  FormControl_default,