@northlight/ui 2.24.0 → 2.24.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.
@@ -12199,6 +12199,7 @@
12199
12199
  "data-testid": testId,
12200
12200
  customOption = null,
12201
12201
  customTag = null,
12202
+ isClearable = false,
12202
12203
  value,
12203
12204
  icon
12204
12205
  } = _b, rest = __objRest$l(_b, [
@@ -12212,6 +12213,7 @@
12212
12213
  "data-testid",
12213
12214
  "customOption",
12214
12215
  "customTag",
12216
+ "isClearable",
12215
12217
  "value",
12216
12218
  "icon"
12217
12219
  ]);
@@ -12243,7 +12245,7 @@
12243
12245
  useBasicStyles: true,
12244
12246
  closeMenuOnSelect: !isMulti,
12245
12247
  hideSelectedOptions: false,
12246
- isClearable: false,
12248
+ isClearable,
12247
12249
  onChange: handleChange,
12248
12250
  selectedOptionStyle: "check",
12249
12251
  chakraStyles: customSelectStyles,
@@ -13774,7 +13776,7 @@
13774
13776
  const customComponents = {
13775
13777
  Option: (_a) => {
13776
13778
  var _b = _a, { children } = _b, props = __objRest(_b, ["children"]);
13777
- return /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.Option, __spreadValues$1({}, props), /* @__PURE__ */ React.createElement(React.Fragment, null, props.data.isCreation ? /* @__PURE__ */ React.createElement(react.Flex, { mr: 3, width: 1.5, mb: 0.5, justifyContent: "center", alignItems: "center" }, /* @__PURE__ */ React.createElement(react.Icon, { mb: "4px", as: icons.PlusSolid, color: "brand" })) : /* @__PURE__ */ React.createElement(react.Box, { mr: 3, width: 1.5 }), children));
13779
+ return /* @__PURE__ */ React.createElement(chakraReactSelect.chakraComponents.Option, __spreadValues$1({}, props), /* @__PURE__ */ React.createElement(React.Fragment, null, props.data.isCreation ? /* @__PURE__ */ React.createElement(react.Flex, { mr: 3, width: 1.5, mb: 0.5, justifyContent: "center", alignItems: "center" }, /* @__PURE__ */ React.createElement(Icon$1, { mb: "4px", as: icons.PlusSolid, color: "brand" })) : /* @__PURE__ */ React.createElement(react.Box, { mr: 3, width: 1.5 }), children));
13778
13780
  }
13779
13781
  };
13780
13782
 
@@ -13862,7 +13864,7 @@
13862
13864
  const combinedOptions = [...standardOptions, ...createdOptions];
13863
13865
  const customOptions = [
13864
13866
  __spreadProps(__spreadValues({}, creationOption), {
13865
- icon: /* @__PURE__ */ React.createElement(react.Icon, { as: icons.PlusSolid, color: "brand" })
13867
+ icon: /* @__PURE__ */ React.createElement(Icon$1, { as: icons.PlusSolid, color: "brand" })
13866
13868
  }),
13867
13869
  ...combinedOptions
13868
13870
  ];