@ambuj.bhaskar/react-component-library 0.30.7 → 0.30.9
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/README.md +34 -34
- package/bin/cli.js +86 -86
- package/dist/assets/index.css +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +10 -6
- package/dist/index.umd.js +3 -3
- package/package.json +106 -106
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -86035,7 +86035,8 @@ const GIe = {
|
|
|
86035
86035
|
id: E = "",
|
|
86036
86036
|
className: S = "",
|
|
86037
86037
|
textColor: _,
|
|
86038
|
-
textSize: M = "s"
|
|
86038
|
+
textSize: M = "s",
|
|
86039
|
+
mode: H = "multiple"
|
|
86039
86040
|
}) => (M = M ?? GIe[x], /* @__PURE__ */ j.jsx(
|
|
86040
86041
|
Ta,
|
|
86041
86042
|
{
|
|
@@ -86044,7 +86045,7 @@ const GIe = {
|
|
|
86044
86045
|
disabled: d,
|
|
86045
86046
|
showSearch: h,
|
|
86046
86047
|
className: `multi_select_container ${S} h_${x} text_${M}`,
|
|
86047
|
-
mode:
|
|
86048
|
+
mode: H,
|
|
86048
86049
|
style: {
|
|
86049
86050
|
width: y,
|
|
86050
86051
|
"--c_trigger_highlight": o,
|
|
@@ -86061,18 +86062,18 @@ const GIe = {
|
|
|
86061
86062
|
onChange: t,
|
|
86062
86063
|
popupClassName: `multi_select_dropdown h_${x} text_${M}`,
|
|
86063
86064
|
value: n,
|
|
86064
|
-
filterOption: (
|
|
86065
|
+
filterOption: (k, B) => ((B == null ? void 0 : B.label) ?? "").toLowerCase().includes(k.toLowerCase()),
|
|
86065
86066
|
title: p,
|
|
86066
86067
|
maxCount: m,
|
|
86067
86068
|
maxTagCount: C,
|
|
86068
|
-
maxTagPlaceholder: (
|
|
86069
|
+
maxTagPlaceholder: (k) => /* @__PURE__ */ j.jsx(
|
|
86069
86070
|
Da,
|
|
86070
86071
|
{
|
|
86071
86072
|
styles: { root: { pointerEvents: "none" } },
|
|
86072
|
-
title:
|
|
86073
|
+
title: k.map(({ label: B }) => B).join(", "),
|
|
86073
86074
|
children: /* @__PURE__ */ j.jsxs("span", { children: [
|
|
86074
86075
|
"+",
|
|
86075
|
-
|
|
86076
|
+
k.length
|
|
86076
86077
|
] })
|
|
86077
86078
|
}
|
|
86078
86079
|
)
|
|
@@ -89151,6 +89152,7 @@ const UPe = (e) => {
|
|
|
89151
89152
|
Ir,
|
|
89152
89153
|
{
|
|
89153
89154
|
icon: "deleteIcon",
|
|
89155
|
+
title: "Delete field",
|
|
89154
89156
|
size: "s",
|
|
89155
89157
|
variant: "secondary",
|
|
89156
89158
|
onClick: (s) => {
|
|
@@ -89186,6 +89188,7 @@ const UPe = (e) => {
|
|
|
89186
89188
|
Ir,
|
|
89187
89189
|
{
|
|
89188
89190
|
icon: "plus",
|
|
89191
|
+
title: "Add new section",
|
|
89189
89192
|
size: "s",
|
|
89190
89193
|
variant: "secondary",
|
|
89191
89194
|
onClick: (p) => {
|
|
@@ -89198,6 +89201,7 @@ const UPe = (e) => {
|
|
|
89198
89201
|
Ir,
|
|
89199
89202
|
{
|
|
89200
89203
|
icon: "deleteIcon",
|
|
89204
|
+
title: "Delete section",
|
|
89201
89205
|
size: "s",
|
|
89202
89206
|
variant: "secondary",
|
|
89203
89207
|
onClick: (p) => {
|