@dexma/ui-components 8.0.24 → 8.0.25

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.
@@ -7,6 +7,7 @@ export type TagSelectProps = {
7
7
  disabled?: boolean;
8
8
  placeholder?: string;
9
9
  style?: React.CSSProperties;
10
+ defaultValue?: string[];
10
11
  };
11
12
  export declare const TagSelect: import('react').ForwardRefExoticComponent<TagSelectProps & {
12
13
  dataId?: string;
@@ -66915,10 +66915,10 @@ const w$e = Dt.div`
66915
66915
  }
66916
66916
  `, zT = ho`
66917
66917
  ${(e) => $$e(e.$theme)};
66918
- `, aOe = da(({ dataId: e = "tagSelect", placeholder: t = "Type text and press enter", onChange: n, disabled: r, style: a }) => {
66919
- const i = Tt(vn) || $n;
66918
+ `, aOe = da(({ dataId: e = "tagSelect", placeholder: t = "Type text and press enter", onChange: n, disabled: r, style: a, defaultValue: i }) => {
66919
+ const o = Tt(vn) || $n;
66920
66920
  return /* @__PURE__ */ Yt(ta, { children: [
66921
- /* @__PURE__ */ $e(zT, { $theme: i }),
66921
+ /* @__PURE__ */ $e(zT, { $theme: o }),
66922
66922
  /* @__PURE__ */ $e(
66923
66923
  Ia,
66924
66924
  {
@@ -66930,7 +66930,10 @@ const w$e = Dt.div`
66930
66930
  dropdownAlign: { offset: [0, 3] },
66931
66931
  disabled: r,
66932
66932
  "aria-disabled": r || !1,
66933
- onChange: n
66933
+ onChange: (l) => {
66934
+ console.log(l, "!!"), n(l);
66935
+ },
66936
+ defaultValue: i
66934
66937
  }
66935
66938
  )
66936
66939
  ] });
@@ -2995,7 +2995,7 @@ Valid keys: `+JSON.stringify(Object.keys(H),null," "));var K=ee(W,ne,Y,te,X+"."
2995
2995
  }
2996
2996
  `,aT=Wi`
2997
2997
  ${e=>c8e(e.$theme)};
2998
- `,d8e=Zr(({dataId:e="tagSelect",placeholder:t="Type text and press enter",onChange:n,disabled:r,style:a})=>{const i=z.useContext(pn)||vn;return me.jsxs(me.Fragment,{children:[me.jsx(aT,{$theme:i}),me.jsx(Sa,{"data-id":e,"data-testid":"tagSelect",mode:"tags",placeholder:t,style:a||{width:"100%"},dropdownAlign:{offset:[0,3]},disabled:r,"aria-disabled":r||!1,onChange:n})]})},"tagSelect"),u8e=Nt.div`
2998
+ `,d8e=Zr(({dataId:e="tagSelect",placeholder:t="Type text and press enter",onChange:n,disabled:r,style:a,defaultValue:i})=>{const o=z.useContext(pn)||vn;return me.jsxs(me.Fragment,{children:[me.jsx(aT,{$theme:o}),me.jsx(Sa,{"data-id":e,"data-testid":"tagSelect",mode:"tags",placeholder:t,style:a||{width:"100%"},dropdownAlign:{offset:[0,3]},disabled:r,"aria-disabled":r||!1,onChange:l=>{console.log(l,"!!"),n(l)},defaultValue:i})]})},"tagSelect"),u8e=Nt.div`
2999
2999
  height: ${e=>e.$variant==="scrollable"?"100%":"auto"};
3000
3000
 
3001
3001
  .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dexma/ui-components",
3
- "version": "8.0.24",
3
+ "version": "8.0.25",
4
4
  "description": "DEXMA UI Components (React)",
5
5
  "main": "./dist/ui-components.umd.js",
6
6
  "module": "./dist/ui-components.es.js",