@namba_one/ui-kit-2 1.0.256 → 1.0.257

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/dist/index.d.ts CHANGED
@@ -4208,6 +4208,7 @@ export declare type SelectProps = Pick<SelectBaseProps, 'label' | 'description'
4208
4208
  data: {
4209
4209
  id: string | number;
4210
4210
  text: string;
4211
+ displayValue?: string;
4211
4212
  icon?: IconName;
4212
4213
  }[];
4213
4214
  };
package/dist/index.es.js CHANGED
@@ -8706,7 +8706,7 @@ const C_ = /* @__PURE__ */ oe({
8706
8706
  setup(n) {
8707
8707
  const e = et(n, "value"), t = V(!1), o = I(() => {
8708
8708
  const s = n.data.find((i) => i.id === e.value);
8709
- return s ? s.text : null;
8709
+ return s ? s.displayValue ? s.displayValue : s.text : null;
8710
8710
  });
8711
8711
  function r(s) {
8712
8712
  t.value = !1, s === e.value ? e.value = null : e.value = s;