@ambuj.bhaskar/react-component-library 0.24.16-alpha → 0.24.17-alpha

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
@@ -1210,6 +1210,7 @@ export declare type MultiselectProps = {
1210
1210
  menuActiveColor?: Color;
1211
1211
  menuHoverColor?: Color;
1212
1212
  borderColor?: Color;
1213
+ textColor?: Color;
1213
1214
  disabled?: boolean;
1214
1215
  id?: string;
1215
1216
  suffixIcon?: ReactNode | boolean;
@@ -1314,6 +1315,7 @@ export declare type SelectProps = {
1314
1315
  id?: string;
1315
1316
  suffixIcon?: ReactNode | boolean;
1316
1317
  title?: string;
1318
+ textColor?: Color;
1317
1319
  };
1318
1320
 
1319
1321
  declare function shiftPolygon(polygon: any): any;
package/dist/index.js CHANGED
@@ -11893,7 +11893,7 @@ const SG = /* @__PURE__ */ Ao(EG), gg = ({
11893
11893
  title: e,
11894
11894
  titleId: t,
11895
11895
  ...n
11896
- }, r) => /* @__PURE__ */ l.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24", ref: r, "aria-labelledby": t, ...n }, e ? /* @__PURE__ */ l.createElement("title", { id: t }, e) : null, /* @__PURE__ */ l.createElement("path", { fill: "#1F1F1F", d: "M2.755 19.63a.7.7 0 0 0 .99.99l-.99-.99Zm5.495-4.505.495-.495a.7.7 0 0 0-.99 0l.495.495Zm2.5 2.5-.495.495a.7.7 0 0 0 .99 0l-.495-.495ZM16.375 12l.495-.495a.7.7 0 0 0-.99 0l.495.495Zm4.505 5.495a.7.7 0 0 0 .99-.99l-.99.99Zm-17.63 2.63.495.495 5-5-.495-.495-.495-.495-5 5 .495.495Zm5-5-.495.495 2.5 2.5.495-.495.495-.495-2.5-2.5-.495.495Zm2.5 2.5.495.495 5.625-5.625-.495-.495-.495-.495-5.625 5.625.495.495ZM16.375 12l-.495.495 5 5 .495-.495.495-.495-5-5-.495.495ZM5.75 2v.7h12.5V1.3H5.75V2ZM22 5.75h-.7v12.5h1.4V5.75H22ZM18.25 22v-.7H5.75v1.4h12.5V22ZM2 18.25h.7V5.75H1.3v12.5H2ZM5.75 22v-.7a3.05 3.05 0 0 1-3.05-3.05H1.3a4.45 4.45 0 0 0 4.45 4.45V22ZM22 18.25h-.7a3.05 3.05 0 0 1-3.05 3.05v1.4a4.45 4.45 0 0 0 4.45-4.45H22ZM18.25 2v.7a3.05 3.05 0 0 1 3.05 3.05h1.4a4.45 4.45 0 0 0-4.45-4.45V2ZM5.75 2v-.7A4.45 4.45 0 0 0 1.3 5.75h1.4A3.05 3.05 0 0 1 5.75 2.7V2ZM9.5 7.625h-.7c0 .649-.526 1.175-1.175 1.175v1.4A2.575 2.575 0 0 0 10.2 7.625h-.7ZM7.625 9.5v-.7A1.175 1.175 0 0 1 6.45 7.625h-1.4A2.575 2.575 0 0 0 7.625 10.2v-.7ZM5.75 7.625h.7c0-.649.526-1.175 1.175-1.175v-1.4A2.575 2.575 0 0 0 5.05 7.625h.7ZM7.625 5.75v.7c.649 0 1.175.526 1.175 1.175h1.4A2.575 2.575 0 0 0 7.625 5.05v.7Z" })), X1e = Me(q1e), J1e = ({
11896
+ }, r) => /* @__PURE__ */ l.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24", ref: r, "aria-labelledby": t, ...n }, e ? /* @__PURE__ */ l.createElement("title", { id: t }, e) : null, /* @__PURE__ */ l.createElement("path", { fill: "currentColor", d: "M2.755 19.63a.7.7 0 0 0 .99.99l-.99-.99Zm5.495-4.505.495-.495a.7.7 0 0 0-.99 0l.495.495Zm2.5 2.5-.495.495a.7.7 0 0 0 .99 0l-.495-.495ZM16.375 12l.495-.495a.7.7 0 0 0-.99 0l.495.495Zm4.505 5.495a.7.7 0 0 0 .99-.99l-.99.99Zm-17.63 2.63.495.495 5-5-.495-.495-.495-.495-5 5 .495.495Zm5-5-.495.495 2.5 2.5.495-.495.495-.495-2.5-2.5-.495.495Zm2.5 2.5.495.495 5.625-5.625-.495-.495-.495-.495-5.625 5.625.495.495ZM16.375 12l-.495.495 5 5 .495-.495.495-.495-5-5-.495.495ZM5.75 2v.7h12.5V1.3H5.75V2ZM22 5.75h-.7v12.5h1.4V5.75H22ZM18.25 22v-.7H5.75v1.4h12.5V22ZM2 18.25h.7V5.75H1.3v12.5H2ZM5.75 22v-.7a3.05 3.05 0 0 1-3.05-3.05H1.3a4.45 4.45 0 0 0 4.45 4.45V22ZM22 18.25h-.7a3.05 3.05 0 0 1-3.05 3.05v1.4a4.45 4.45 0 0 0 4.45-4.45H22ZM18.25 2v.7a3.05 3.05 0 0 1 3.05 3.05h1.4a4.45 4.45 0 0 0-4.45-4.45V2ZM5.75 2v-.7A4.45 4.45 0 0 0 1.3 5.75h1.4A3.05 3.05 0 0 1 5.75 2.7V2ZM9.5 7.625h-.7c0 .649-.526 1.175-1.175 1.175v1.4A2.575 2.575 0 0 0 10.2 7.625h-.7ZM7.625 9.5v-.7A1.175 1.175 0 0 1 6.45 7.625h-1.4A2.575 2.575 0 0 0 7.625 10.2v-.7ZM5.75 7.625h.7c0-.649.526-1.175 1.175-1.175v-1.4A2.575 2.575 0 0 0 5.05 7.625h.7ZM7.625 5.75v.7c.649 0 1.175.526 1.175 1.175h1.4A2.575 2.575 0 0 0 7.625 5.05v.7Z" })), X1e = Me(q1e), J1e = ({
11897
11897
  title: e,
11898
11898
  titleId: t,
11899
11899
  ...n
@@ -74057,7 +74057,8 @@ const wp = ({
74057
74057
  height: v = "m",
74058
74058
  id: p = "",
74059
74059
  suffixIcon: _ = !0,
74060
- title: w = ""
74060
+ title: w = "",
74061
+ textColor: x
74061
74062
  }) => /* @__PURE__ */ z.jsx(
74062
74063
  S9,
74063
74064
  {
@@ -74071,7 +74072,8 @@ const wp = ({
74071
74072
  "--c_menu_active": c,
74072
74073
  "--c_menu_hover": u,
74073
74074
  "--c_border": d,
74074
- "--c_disabled": h
74075
+ "--c_disabled": h,
74076
+ "--c_text_primary": x
74075
74077
  },
74076
74078
  value: n,
74077
74079
  onChange: t,
@@ -74080,7 +74082,7 @@ const wp = ({
74080
74082
  disabled: m,
74081
74083
  popupClassName: `single_select_dropdown h_${v} items_${o} ${d ? "border" : ""}`,
74082
74084
  removeIcon: !0,
74083
- filterOption: (x, E) => ((E == null ? void 0 : E.label) ?? "").toLowerCase().includes(x.toLowerCase()),
74085
+ filterOption: (E, S) => ((S == null ? void 0 : S.label) ?? "").toLowerCase().includes(E.toLowerCase()),
74084
74086
  options: e,
74085
74087
  title: w
74086
74088
  }
@@ -84194,7 +84196,8 @@ const ZDe = ({
84194
84196
  height: w = "m",
84195
84197
  // Other
84196
84198
  id: x = "",
84197
- className: E = ""
84199
+ className: E = "",
84200
+ textColor: S
84198
84201
  }) => /* @__PURE__ */ z.jsx(
84199
84202
  S9,
84200
84203
  {
@@ -84211,7 +84214,8 @@ const ZDe = ({
84211
84214
  "--c_menu_background": a,
84212
84215
  "--c_menu_active": s,
84213
84216
  "--c_menu_hover": c,
84214
- "--c_border": u
84217
+ "--c_border": u,
84218
+ "--c_text_primary": S
84215
84219
  },
84216
84220
  suffixIcon: A ? void 0 : null,
84217
84221
  options: e,
@@ -84219,18 +84223,18 @@ const ZDe = ({
84219
84223
  onChange: t,
84220
84224
  popupClassName: `multi_select_dropdown h_${w} `,
84221
84225
  value: n,
84222
- filterOption: (S, M) => ((M == null ? void 0 : M.label) ?? "").toLowerCase().includes(S.toLowerCase()),
84226
+ filterOption: (M, H) => ((H == null ? void 0 : H.label) ?? "").toLowerCase().includes(M.toLowerCase()),
84223
84227
  title: p,
84224
84228
  maxCount: m,
84225
84229
  maxTagCount: C,
84226
- maxTagPlaceholder: (S) => /* @__PURE__ */ z.jsx(
84230
+ maxTagPlaceholder: (M) => /* @__PURE__ */ z.jsx(
84227
84231
  Aa,
84228
84232
  {
84229
84233
  styles: { root: { pointerEvents: "none" } },
84230
- title: S.map(({ label: M }) => M).join(", "),
84234
+ title: M.map(({ label: H }) => H).join(", "),
84231
84235
  children: /* @__PURE__ */ z.jsxs("span", { children: [
84232
84236
  "+",
84233
- S.length
84237
+ M.length
84234
84238
  ] })
84235
84239
  }
84236
84240
  )