@vlrc-fe/components 3.1.0 → 3.2.0
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/CHANGELOG.md +22 -0
- package/README.md +33 -22
- package/dist/DataTable/DataTable.cjs +8 -4
- package/dist/DataTable/DataTable.d.ts +1 -1
- package/dist/DataTable/DataTable.d.ts.map +1 -1
- package/dist/DataTable/DataTable.js +8 -4
- package/dist/DataTable/components/DataTablePagination.cjs +48 -174
- package/dist/DataTable/components/DataTablePagination.d.ts +2 -1
- package/dist/DataTable/components/DataTablePagination.d.ts.map +1 -1
- package/dist/DataTable/components/DataTablePagination.js +48 -174
- package/dist/DataTable/components/DataTableTable.cjs +43 -79
- package/dist/DataTable/components/DataTableTable.d.ts +2 -1
- package/dist/DataTable/components/DataTableTable.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableTable.js +43 -79
- package/dist/DataTable/components/DataTableToolbar.cjs +25 -29
- package/dist/DataTable/components/DataTableToolbar.d.ts +2 -1
- package/dist/DataTable/components/DataTableToolbar.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableToolbar.js +25 -29
- package/dist/DataTable/types.d.ts +3 -0
- package/dist/DataTable/types.d.ts.map +1 -1
- package/dist/FilterPopup/FilterPopup.cjs +289 -0
- package/dist/FilterPopup/FilterPopup.d.ts +21 -0
- package/dist/FilterPopup/FilterPopup.d.ts.map +1 -0
- package/dist/FilterPopup/FilterPopup.js +287 -0
- package/dist/FilterPopup/assets/Divider.svg.cjs +3 -0
- package/dist/FilterPopup/assets/Divider.svg.js +3 -0
- package/dist/FilterPopup/assets/IconCheck.svg.cjs +3 -0
- package/dist/FilterPopup/assets/IconCheck.svg.js +3 -0
- package/dist/FilterPopup/assets/IconClose.svg.cjs +3 -0
- package/dist/FilterPopup/assets/IconClose.svg.js +3 -0
- package/dist/FilterPopup/assets/IconSearch.svg.cjs +3 -0
- package/dist/FilterPopup/assets/IconSearch.svg.js +3 -0
- package/dist/FilterPopup/index.d.ts +3 -0
- package/dist/FilterPopup/index.d.ts.map +1 -0
- package/dist/FilterPopup/styles.cjs +151 -0
- package/dist/FilterPopup/styles.d.ts +134 -0
- package/dist/FilterPopup/styles.d.ts.map +1 -0
- package/dist/FilterPopup/styles.js +149 -0
- package/dist/FilterPopup/types.d.ts +13 -0
- package/dist/FilterPopup/types.d.ts.map +1 -0
- package/dist/Form/Form.cjs +4 -2
- package/dist/Form/Form.d.ts.map +1 -1
- package/dist/Form/Form.js +4 -2
- package/dist/Icons/Icons.cjs +4 -0
- package/dist/Icons/Icons.d.ts +4 -0
- package/dist/Icons/Icons.d.ts.map +1 -1
- package/dist/Icons/Icons.js +5 -1
- package/dist/Icons/JiraIcons.cjs +99 -0
- package/dist/Icons/JiraIcons.js +100 -2
- package/dist/Icons/index.cjs +11 -0
- package/dist/Icons/index.js +3 -0
- package/dist/Select/BaseSelect.cjs +8 -4
- package/dist/Select/BaseSelect.d.ts.map +1 -1
- package/dist/Select/BaseSelect.js +8 -4
- package/dist/Select/type.d.ts +1 -0
- package/dist/Select/type.d.ts.map +1 -1
- package/dist/assets/stylex.css +174 -12
- package/dist/index.cjs +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/stylex-config.cjs +56 -0
- package/dist/stylex-config.d.ts +14 -0
- package/dist/stylex-config.d.ts.map +1 -0
- package/dist/stylex-config.js +55 -0
- package/dist/theme/tokens.stylex.cjs +24 -23
- package/dist/theme/tokens.stylex.d.ts +48 -48
- package/dist/theme/tokens.stylex.d.ts.map +1 -1
- package/dist/theme/tokens.stylex.js +24 -23
- package/dist/theme.css +179 -13
- package/dist/ui/button.cjs +3 -3
- package/dist/ui/button.js +3 -3
- package/dist/ui/checkbox.cjs +2 -2
- package/dist/ui/checkbox.d.ts +3 -2
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/checkbox.js +2 -2
- package/dist/ui/popover.cjs +6 -1
- package/dist/ui/popover.d.ts +3 -1
- package/dist/ui/popover.d.ts.map +1 -1
- package/dist/ui/popover.js +6 -1
- package/dist/ui/scroll-area.cjs +4 -2
- package/dist/ui/scroll-area.d.ts.map +1 -1
- package/dist/ui/scroll-area.js +4 -2
- package/package.json +7 -2
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import "@stylexjs/stylex";
|
|
2
|
+
// src/FilterPopup/styles.ts
|
|
3
|
+
var styles = {
|
|
4
|
+
popup: {
|
|
5
|
+
kB7OPa: "x9f619",
|
|
6
|
+
kzqmXN: "x64frv8",
|
|
7
|
+
kMv6JI: "x1o9apwc",
|
|
8
|
+
ks0D6T: "xuhc1l6",
|
|
9
|
+
kskxy: "xu39rbg",
|
|
10
|
+
kmVPX3: "x1g7u2xf",
|
|
11
|
+
kaIpWk: "x1ez7q3a",
|
|
12
|
+
kGVxlE: "x15wanwk",
|
|
13
|
+
kORKVm: "x1odjw0f",
|
|
14
|
+
kKVMdj: "x1a5igra",
|
|
15
|
+
$$css: true
|
|
16
|
+
},
|
|
17
|
+
layout: {
|
|
18
|
+
k1xSpc: "xrvj5dj",
|
|
19
|
+
kumcoG: "x1laftvf",
|
|
20
|
+
k1C7PZ: "xguee2a",
|
|
21
|
+
kGNEyG: "x7a106z",
|
|
22
|
+
kDKsTI: "x1tx6lya",
|
|
23
|
+
$$css: true
|
|
24
|
+
},
|
|
25
|
+
divider: {
|
|
26
|
+
kVAEAm: "x1n2onr6",
|
|
27
|
+
kSGwAc: "xkh2ocl",
|
|
28
|
+
kVQacm: "xb3r6kr",
|
|
29
|
+
$$css: true
|
|
30
|
+
},
|
|
31
|
+
dividerImage: {
|
|
32
|
+
kVAEAm: "x10l6tqk",
|
|
33
|
+
k87sOh: "xwa60dl",
|
|
34
|
+
kbCHJM: "x1nrll8i",
|
|
35
|
+
k3aq6I: "xvxagb8",
|
|
36
|
+
ks0D6T: "x1x1rfll",
|
|
37
|
+
$$css: true
|
|
38
|
+
},
|
|
39
|
+
column: {
|
|
40
|
+
k7Eaqz: "xeuugli",
|
|
41
|
+
k1xSpc: "xrvj5dj",
|
|
42
|
+
k9llMU: "x1h51kgi",
|
|
43
|
+
kOIVth: "x1m5ztt4",
|
|
44
|
+
$$css: true
|
|
45
|
+
},
|
|
46
|
+
categories: {
|
|
47
|
+
k1xSpc: "x78zum5",
|
|
48
|
+
kXwgrk: "xdt5ytf",
|
|
49
|
+
$$css: true
|
|
50
|
+
},
|
|
51
|
+
category: {
|
|
52
|
+
kjj79g: "xl56j7k",
|
|
53
|
+
kVAEAm: "x1n2onr6",
|
|
54
|
+
k7Eaqz: "xeuugli",
|
|
55
|
+
kAzted: "x1p3atzf xgt7kqx",
|
|
56
|
+
kg3NbH: "x7ai2fz",
|
|
57
|
+
k63SB2: "xo1l8bm",
|
|
58
|
+
$$css: true
|
|
59
|
+
},
|
|
60
|
+
categoryLabel: {
|
|
61
|
+
kUk6DE: "x98rzlu",
|
|
62
|
+
k7Eaqz: "xeuugli",
|
|
63
|
+
k9WMMc: "x2b8uid",
|
|
64
|
+
$$css: true
|
|
65
|
+
},
|
|
66
|
+
activeCategory: {
|
|
67
|
+
kWkggS: "x1p8vxlw",
|
|
68
|
+
$$css: true
|
|
69
|
+
},
|
|
70
|
+
count: {
|
|
71
|
+
k7Eaqz: "x1obl2fl",
|
|
72
|
+
kg3NbH: "xim7yig",
|
|
73
|
+
kMzoRj: "xmkeg23",
|
|
74
|
+
ksu8eU: "x1y0btm7",
|
|
75
|
+
kVAM5u: "xb30jbz",
|
|
76
|
+
kaIpWk: "xqfady0",
|
|
77
|
+
kWkggS: "x123ixkk",
|
|
78
|
+
k9WMMc: "x2b8uid",
|
|
79
|
+
kGuDYH: "x2ohwh0",
|
|
80
|
+
kLWn49: "x1jo673t",
|
|
81
|
+
$$css: true
|
|
82
|
+
},
|
|
83
|
+
optionsWithSearch: {
|
|
84
|
+
k1xSpc: "xrvj5dj",
|
|
85
|
+
kOIVth: "x1m5ztt4",
|
|
86
|
+
kAzted: "x2lwn1j",
|
|
87
|
+
$$css: true
|
|
88
|
+
},
|
|
89
|
+
search: {
|
|
90
|
+
kWkggS: "x123ixkk",
|
|
91
|
+
kGVxlE: "x4qz2uc",
|
|
92
|
+
$$css: true
|
|
93
|
+
},
|
|
94
|
+
options: {
|
|
95
|
+
kAzted: "x1ymur96",
|
|
96
|
+
kskxy: "x1mjfrbz",
|
|
97
|
+
kORKVm: "x1odjw0f",
|
|
98
|
+
k5wCbM: "x1597r2g",
|
|
99
|
+
$$css: true
|
|
100
|
+
},
|
|
101
|
+
option: {
|
|
102
|
+
k1xSpc: "x78zum5",
|
|
103
|
+
kGNEyG: "x6s0dn4",
|
|
104
|
+
kOIVth: "x1m5ztt4",
|
|
105
|
+
kAzted: "x1p3atzf xgt7kqx",
|
|
106
|
+
kg3NbH: "x7ai2fz",
|
|
107
|
+
kaIpWk: "x1ch3zq1",
|
|
108
|
+
kkrTdU: "x1ypdohk",
|
|
109
|
+
kGzVvX: "x1ukakyg",
|
|
110
|
+
$$css: true
|
|
111
|
+
},
|
|
112
|
+
checkbox: {
|
|
113
|
+
kWkggS: "x123ixkk",
|
|
114
|
+
kVAM5u: "xb30jbz",
|
|
115
|
+
kaIpWk: "xqfady0",
|
|
116
|
+
kGVxlE: "x4qz2uc",
|
|
117
|
+
$$css: true
|
|
118
|
+
},
|
|
119
|
+
checkboxSelected: {
|
|
120
|
+
kWkggS: "x1skizrm",
|
|
121
|
+
kVAM5u: "x1j35chg",
|
|
122
|
+
$$css: true
|
|
123
|
+
},
|
|
124
|
+
footer: {
|
|
125
|
+
k1xSpc: "x78zum5",
|
|
126
|
+
kwnvtZ: "x1a02dak",
|
|
127
|
+
kGNEyG: "x6s0dn4",
|
|
128
|
+
kjj79g: "x1qughib",
|
|
129
|
+
kg3NbH: "xco5wwd",
|
|
130
|
+
kag1fF: "x15nl2py",
|
|
131
|
+
$$css: true
|
|
132
|
+
},
|
|
133
|
+
footerAction: {
|
|
134
|
+
kFhvOy: "x1lqcxt8",
|
|
135
|
+
kAzted: "xwz81cq xgt7kqx",
|
|
136
|
+
$$css: true
|
|
137
|
+
},
|
|
138
|
+
closeIcon: {
|
|
139
|
+
kmuXW: "x2lah0s",
|
|
140
|
+
kzqmXN: "x1xvt488",
|
|
141
|
+
kZKoxP: "xf08kfj",
|
|
142
|
+
$$css: true
|
|
143
|
+
},
|
|
144
|
+
empty: {
|
|
145
|
+
kmVPX3: "x1g7u2xf",
|
|
146
|
+
$$css: true
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
export { styles };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface FilterPopupOption {
|
|
3
|
+
value: string;
|
|
4
|
+
label: string;
|
|
5
|
+
icon?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export interface FilterPopupCategory {
|
|
8
|
+
key: string;
|
|
9
|
+
label: string;
|
|
10
|
+
options: readonly FilterPopupOption[];
|
|
11
|
+
}
|
|
12
|
+
export type FilterPopupSelection = Partial<Record<string, readonly string[]>>;
|
|
13
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/FilterPopup/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,SAAS,iBAAiB,EAAE,CAAC;CACvC;AAED,MAAM,MAAM,oBAAoB,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC,CAAC,CAAC"}
|
package/dist/Form/Form.cjs
CHANGED
|
@@ -386,7 +386,7 @@ var FormSimpleSelect = ({ children, width = "full", ...props }) => {
|
|
|
386
386
|
})
|
|
387
387
|
});
|
|
388
388
|
};
|
|
389
|
-
var FormCheckbox = ({ checkboxClassName, wrapperClassName, className, sx, disabled, size = "md", ...props }) => {
|
|
389
|
+
var FormCheckbox = ({ checkboxClassName, wrapperClassName, className, sx, disabled, size = "md", width = "auto", ...props }) => {
|
|
390
390
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FormBase, {
|
|
391
391
|
name: props.name,
|
|
392
392
|
control: props.control,
|
|
@@ -396,6 +396,7 @@ var FormCheckbox = ({ checkboxClassName, wrapperClassName, className, sx, disabl
|
|
|
396
396
|
horizontal: true,
|
|
397
397
|
controlFirst: true,
|
|
398
398
|
className: wrapperClassName,
|
|
399
|
+
width,
|
|
399
400
|
children: ({ onChange, value, ...field }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_checkbox.Checkbox, {
|
|
400
401
|
...field,
|
|
401
402
|
...props,
|
|
@@ -408,7 +409,7 @@ var FormCheckbox = ({ checkboxClassName, wrapperClassName, className, sx, disabl
|
|
|
408
409
|
})
|
|
409
410
|
});
|
|
410
411
|
};
|
|
411
|
-
var FormSwitch = ({ switchClassName, wrapperClassName, className, sx, disabled, size = "md", ...props }) => {
|
|
412
|
+
var FormSwitch = ({ switchClassName, wrapperClassName, className, sx, disabled, size = "md", width = "auto", ...props }) => {
|
|
412
413
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(FormBase, {
|
|
413
414
|
name: props.name,
|
|
414
415
|
control: props.control,
|
|
@@ -418,6 +419,7 @@ var FormSwitch = ({ switchClassName, wrapperClassName, className, sx, disabled,
|
|
|
418
419
|
horizontal: true,
|
|
419
420
|
controlFirst: true,
|
|
420
421
|
className: wrapperClassName,
|
|
422
|
+
width,
|
|
421
423
|
children: ({ onChange, value, ...field }) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_switch.Switch, {
|
|
422
424
|
...field,
|
|
423
425
|
...props,
|
package/dist/Form/Form.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../src/Form/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAc,KAAK,WAAW,EAAwB,MAAM,iBAAiB,CAAC;AAUrF,OAAO,KAAK,EACV,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,sBAAsB,EACtB,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAuGjD,wBAAgB,QAAQ,CACtB,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,kBAAkB,GAAG,YAAY,EACjC,EACA,QAAQ,EACR,KAAK,EACL,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,UAAU,EACV,KAAK,EACL,SAAS,EACT,KAAK,GACN,EAAE,aAAa,CAAC,YAAY,EAAE,KAAK,EAAE,kBAAkB,CAAC,+BAuFxD;AAED,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,mBAAmB,CAgF1D,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,sBAAsB,CA6BhE,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAsBrE,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,sBAAsB,
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../src/Form/Form.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAc,KAAK,WAAW,EAAwB,MAAM,iBAAiB,CAAC;AAUrF,OAAO,KAAK,EACV,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,sBAAsB,EACtB,sBAAsB,EACtB,oBAAoB,EACrB,MAAM,SAAS,CAAC;AACjB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAuGjD,wBAAgB,QAAQ,CACtB,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,kBAAkB,GAAG,YAAY,EACjC,EACA,QAAQ,EACR,KAAK,EACL,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,UAAU,EACV,KAAK,EACL,SAAS,EACT,KAAK,GACN,EAAE,aAAa,CAAC,YAAY,EAAE,KAAK,EAAE,kBAAkB,CAAC,+BAuFxD;AAED,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,mBAAmB,CAgF1D,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,sBAAsB,CA6BhE,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,eAAe,CAAC;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,CAsBrE,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,eAAe,CAAC,sBAAsB,CAoChE,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,oBAAoB,CAoC5D,CAAC"}
|
package/dist/Form/Form.js
CHANGED
|
@@ -384,7 +384,7 @@ var FormSimpleSelect = ({ children, width = "full", ...props }) => {
|
|
|
384
384
|
})
|
|
385
385
|
});
|
|
386
386
|
};
|
|
387
|
-
var FormCheckbox = ({ checkboxClassName, wrapperClassName, className, sx, disabled, size = "md", ...props }) => {
|
|
387
|
+
var FormCheckbox = ({ checkboxClassName, wrapperClassName, className, sx, disabled, size = "md", width = "auto", ...props }) => {
|
|
388
388
|
return /* @__PURE__ */ jsx(FormBase, {
|
|
389
389
|
name: props.name,
|
|
390
390
|
control: props.control,
|
|
@@ -394,6 +394,7 @@ var FormCheckbox = ({ checkboxClassName, wrapperClassName, className, sx, disabl
|
|
|
394
394
|
horizontal: true,
|
|
395
395
|
controlFirst: true,
|
|
396
396
|
className: wrapperClassName,
|
|
397
|
+
width,
|
|
397
398
|
children: ({ onChange, value, ...field }) => /* @__PURE__ */ jsx(Checkbox, {
|
|
398
399
|
...field,
|
|
399
400
|
...props,
|
|
@@ -406,7 +407,7 @@ var FormCheckbox = ({ checkboxClassName, wrapperClassName, className, sx, disabl
|
|
|
406
407
|
})
|
|
407
408
|
});
|
|
408
409
|
};
|
|
409
|
-
var FormSwitch = ({ switchClassName, wrapperClassName, className, sx, disabled, size = "md", ...props }) => {
|
|
410
|
+
var FormSwitch = ({ switchClassName, wrapperClassName, className, sx, disabled, size = "md", width = "auto", ...props }) => {
|
|
410
411
|
return /* @__PURE__ */ jsx(FormBase, {
|
|
411
412
|
name: props.name,
|
|
412
413
|
control: props.control,
|
|
@@ -416,6 +417,7 @@ var FormSwitch = ({ switchClassName, wrapperClassName, className, sx, disabled,
|
|
|
416
417
|
horizontal: true,
|
|
417
418
|
controlFirst: true,
|
|
418
419
|
className: wrapperClassName,
|
|
420
|
+
width,
|
|
419
421
|
children: ({ onChange, value, ...field }) => /* @__PURE__ */ jsx(Switch, {
|
|
420
422
|
...field,
|
|
421
423
|
...props,
|
package/dist/Icons/Icons.cjs
CHANGED
|
@@ -16,6 +16,7 @@ var Icons = {
|
|
|
16
16
|
Users: lucide_react.Users,
|
|
17
17
|
Star: lucide_react.Star,
|
|
18
18
|
Heart: lucide_react.Heart,
|
|
19
|
+
ThumbsUp: lucide_react.ThumbsUp,
|
|
19
20
|
Zap: lucide_react.Zap,
|
|
20
21
|
Cpu: lucide_react.Cpu,
|
|
21
22
|
Database: lucide_react.Database,
|
|
@@ -114,6 +115,7 @@ var Icons = {
|
|
|
114
115
|
Bold: lucide_react.Bold,
|
|
115
116
|
Underline: lucide_react.Underline,
|
|
116
117
|
Smile: lucide_react.Smile,
|
|
118
|
+
SmilePlus: lucide_react.SmilePlus,
|
|
117
119
|
Calculator: lucide_react.Calculator,
|
|
118
120
|
CreditCard: lucide_react.CreditCard,
|
|
119
121
|
Camera: lucide_react.Camera,
|
|
@@ -166,8 +168,10 @@ var Icons = {
|
|
|
166
168
|
Grid: lucide_react.Grid,
|
|
167
169
|
Share2: lucide_react.Share2,
|
|
168
170
|
SlidersHorizontal: lucide_react.SlidersHorizontal,
|
|
171
|
+
SlidersVertical: lucide_react.SlidersVertical,
|
|
169
172
|
Layers: lucide_react.Layers,
|
|
170
173
|
CornerDownRight: lucide_react.CornerDownRight,
|
|
174
|
+
Reply: lucide_react.Reply,
|
|
171
175
|
Archive: lucide_react.Archive,
|
|
172
176
|
RotateCw: lucide_react.RotateCw,
|
|
173
177
|
RefreshCw: lucide_react.RefreshCw,
|
package/dist/Icons/Icons.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export declare const Icons: {
|
|
|
13
13
|
Users: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
14
14
|
Star: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
15
15
|
Heart: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
16
|
+
ThumbsUp: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
16
17
|
Zap: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
17
18
|
Cpu: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
18
19
|
Database: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
@@ -111,6 +112,7 @@ export declare const Icons: {
|
|
|
111
112
|
Bold: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
112
113
|
Underline: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
113
114
|
Smile: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
115
|
+
SmilePlus: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
114
116
|
Calculator: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
115
117
|
CreditCard: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
116
118
|
Camera: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
@@ -163,8 +165,10 @@ export declare const Icons: {
|
|
|
163
165
|
Grid: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
164
166
|
Share2: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
165
167
|
SlidersHorizontal: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
168
|
+
SlidersVertical: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
166
169
|
Layers: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
167
170
|
CornerDownRight: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
171
|
+
Reply: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
168
172
|
Archive: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
169
173
|
RotateCw: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
170
174
|
RefreshCw: import("react").ForwardRefExoticComponent<Omit<LucideProps, "ref"> & import("react").RefAttributes<SVGSVGElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../src/Icons/Icons.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,WAAW,
|
|
1
|
+
{"version":3,"file":"Icons.d.ts","sourceRoot":"","sources":["../../src/Icons/Icons.tsx"],"names":[],"mappings":"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"}
|
package/dist/Icons/Icons.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IssueIcon, PriorityIcon } from "./JiraIcons.js";
|
|
2
|
-
import { Activity, AlertCircle, AlertTriangle, Archive, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpDown, Award, BarChart3, Bold, BookOpen, Bookmark, Bot, Brain, Bug, Calculator, Calendar, CalendarIcon, Camera, Cat, Check, CheckCircle2, CheckIcon, CheckSquare, ChevronDown, ChevronDownIcon, ChevronLeft, ChevronRight, ChevronUp, ChevronsDown, ChevronsLeft, ChevronsRight, ChevronsUp, Circle, Clock, CloudUpload, Code, Columns, Copy, CornerDownRight, Cpu, CreditCard, Database, Dog, DollarSign, Download, Edit, ExternalLink, Eye, EyeOff, FileArchiveIcon, FileAudioIcon, FileCodeIcon, FileCogIcon, FileIcon, FileQuestion, FileText, FileTextIcon, FileVideoIcon, Filter, Fish, Flag, Flame, Folder, FolderHeart, FolderOpen, GitBranch, GitCommit, GitMerge, Globe, Grid, GripVertical, HardDrive, Headphones, Heart, HelpCircle, History, Home, Image, Info, Italic, Languages, Layers, LayoutGrid, LayoutList, Lightbulb, Link, Link2, List, Loader2, LoaderCircleIcon, LoaderIcon, LoaderPinwheelIcon, Lock, LogOut, Mail, Maximize, MessageCircle, MessageSquare, Mic, Minimize, Monitor, Moon, MoonIcon, MoreHorizontal, MoreVertical, Palette, PanelRight, Paperclip, PenTool, Pencil, Phone, PhoneOff, PieChart, Play, Plus, PlusCircle, Rabbit, RefreshCcw, RefreshCw, RotateCcw, RotateCw, Save, Search, SearchIcon, Send, Settings, Share2, Shield, SlidersHorizontal, Smartphone, Smile, Sparkles, Square, Star, Sun, SunMedium, Tag, Target, Terminal, Trash, Trash2, TrendingUp, Trophy, Turtle, Type, Underline, Undo2, Unlink, Unlock, Upload, UploadCloud, User, Users, Video, Volume2, Wand2, WandSparkles, X, XCircle, XIcon, Zap } from "lucide-react";
|
|
2
|
+
import { Activity, AlertCircle, AlertTriangle, Archive, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, ArrowUpDown, Award, BarChart3, Bold, BookOpen, Bookmark, Bot, Brain, Bug, Calculator, Calendar, CalendarIcon, Camera, Cat, Check, CheckCircle2, CheckIcon, CheckSquare, ChevronDown, ChevronDownIcon, ChevronLeft, ChevronRight, ChevronUp, ChevronsDown, ChevronsLeft, ChevronsRight, ChevronsUp, Circle, Clock, CloudUpload, Code, Columns, Copy, CornerDownRight, Cpu, CreditCard, Database, Dog, DollarSign, Download, Edit, ExternalLink, Eye, EyeOff, FileArchiveIcon, FileAudioIcon, FileCodeIcon, FileCogIcon, FileIcon, FileQuestion, FileText, FileTextIcon, FileVideoIcon, Filter, Fish, Flag, Flame, Folder, FolderHeart, FolderOpen, GitBranch, GitCommit, GitMerge, Globe, Grid, GripVertical, HardDrive, Headphones, Heart, HelpCircle, History, Home, Image, Info, Italic, Languages, Layers, LayoutGrid, LayoutList, Lightbulb, Link, Link2, List, Loader2, LoaderCircleIcon, LoaderIcon, LoaderPinwheelIcon, Lock, LogOut, Mail, Maximize, MessageCircle, MessageSquare, Mic, Minimize, Monitor, Moon, MoonIcon, MoreHorizontal, MoreVertical, Palette, PanelRight, Paperclip, PenTool, Pencil, Phone, PhoneOff, PieChart, Play, Plus, PlusCircle, Rabbit, RefreshCcw, RefreshCw, Reply, RotateCcw, RotateCw, Save, Search, SearchIcon, Send, Settings, Share2, Shield, SlidersHorizontal, SlidersVertical, Smartphone, Smile, SmilePlus, Sparkles, Square, Star, Sun, SunMedium, Tag, Target, Terminal, ThumbsUp, Trash, Trash2, TrendingUp, Trophy, Turtle, Type, Underline, Undo2, Unlink, Unlock, Upload, UploadCloud, User, Users, Video, Volume2, Wand2, WandSparkles, X, XCircle, XIcon, Zap } from "lucide-react";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
// src/Icons/Icons.tsx
|
|
5
5
|
var Icons = {
|
|
@@ -16,6 +16,7 @@ var Icons = {
|
|
|
16
16
|
Users,
|
|
17
17
|
Star,
|
|
18
18
|
Heart,
|
|
19
|
+
ThumbsUp,
|
|
19
20
|
Zap,
|
|
20
21
|
Cpu,
|
|
21
22
|
Database,
|
|
@@ -114,6 +115,7 @@ var Icons = {
|
|
|
114
115
|
Bold,
|
|
115
116
|
Underline,
|
|
116
117
|
Smile,
|
|
118
|
+
SmilePlus,
|
|
117
119
|
Calculator,
|
|
118
120
|
CreditCard,
|
|
119
121
|
Camera,
|
|
@@ -166,8 +168,10 @@ var Icons = {
|
|
|
166
168
|
Grid,
|
|
167
169
|
Share2,
|
|
168
170
|
SlidersHorizontal,
|
|
171
|
+
SlidersVertical,
|
|
169
172
|
Layers,
|
|
170
173
|
CornerDownRight,
|
|
174
|
+
Reply,
|
|
171
175
|
Archive,
|
|
172
176
|
RotateCw,
|
|
173
177
|
RefreshCw,
|
package/dist/Icons/JiraIcons.cjs
CHANGED
|
@@ -247,5 +247,104 @@ var PriorityIcon = ({ priority, size = 16, sx, className, ...props }) => {
|
|
|
247
247
|
});
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
|
+
var FontIcon = ({ name, size = 16, color, className, sx }) => {
|
|
251
|
+
const normalizedName = name.toLowerCase();
|
|
252
|
+
const sxProps = _stylexjs_stylex.props(styles.iconContainer, sx);
|
|
253
|
+
if (normalizedName === "flash" || normalizedName === "epic") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IssueIcon, {
|
|
254
|
+
type: "EPIC",
|
|
255
|
+
size,
|
|
256
|
+
className,
|
|
257
|
+
sx
|
|
258
|
+
});
|
|
259
|
+
if (normalizedName === "bookmark" || normalizedName === "story") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IssueIcon, {
|
|
260
|
+
type: "STORY",
|
|
261
|
+
size,
|
|
262
|
+
className,
|
|
263
|
+
sx
|
|
264
|
+
});
|
|
265
|
+
if (normalizedName === "task") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IssueIcon, {
|
|
266
|
+
type: "TASK",
|
|
267
|
+
size,
|
|
268
|
+
className,
|
|
269
|
+
sx
|
|
270
|
+
});
|
|
271
|
+
if (normalizedName === "bug") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IssueIcon, {
|
|
272
|
+
type: "BUG",
|
|
273
|
+
size,
|
|
274
|
+
className,
|
|
275
|
+
sx
|
|
276
|
+
});
|
|
277
|
+
if (normalizedName === "subtask") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IssueIcon, {
|
|
278
|
+
type: "SUBTASK",
|
|
279
|
+
size,
|
|
280
|
+
className,
|
|
281
|
+
sx
|
|
282
|
+
});
|
|
283
|
+
if (normalizedName === "double-up" || normalizedName === "highest") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PriorityIcon, {
|
|
284
|
+
priority: "HIGHEST",
|
|
285
|
+
size,
|
|
286
|
+
className,
|
|
287
|
+
sx
|
|
288
|
+
});
|
|
289
|
+
if (normalizedName === "up-arrow" || normalizedName === "high") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PriorityIcon, {
|
|
290
|
+
priority: "HIGH",
|
|
291
|
+
size,
|
|
292
|
+
className,
|
|
293
|
+
sx
|
|
294
|
+
});
|
|
295
|
+
if (normalizedName === "medium") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PriorityIcon, {
|
|
296
|
+
priority: "MEDIUM",
|
|
297
|
+
size,
|
|
298
|
+
className,
|
|
299
|
+
sx
|
|
300
|
+
});
|
|
301
|
+
if (normalizedName === "down-arrow" || normalizedName === "low") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PriorityIcon, {
|
|
302
|
+
priority: "LOW",
|
|
303
|
+
size,
|
|
304
|
+
className,
|
|
305
|
+
sx
|
|
306
|
+
});
|
|
307
|
+
if (normalizedName === "double-down" || normalizedName === "lowest") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(PriorityIcon, {
|
|
308
|
+
priority: "LOWEST",
|
|
309
|
+
size,
|
|
310
|
+
className,
|
|
311
|
+
sx
|
|
312
|
+
});
|
|
313
|
+
const iconColor = color || "currentColor";
|
|
314
|
+
let IconComponent = lucide_react.Bookmark;
|
|
315
|
+
switch (normalizedName) {
|
|
316
|
+
case "plus":
|
|
317
|
+
IconComponent = lucide_react.Plus;
|
|
318
|
+
break;
|
|
319
|
+
case "close":
|
|
320
|
+
case "x":
|
|
321
|
+
IconComponent = lucide_react.X;
|
|
322
|
+
break;
|
|
323
|
+
case "setting":
|
|
324
|
+
case "settings":
|
|
325
|
+
IconComponent = lucide_react.Settings;
|
|
326
|
+
break;
|
|
327
|
+
case "search":
|
|
328
|
+
IconComponent = lucide_react.Search;
|
|
329
|
+
break;
|
|
330
|
+
case "user":
|
|
331
|
+
case "account":
|
|
332
|
+
IconComponent = lucide_react.User;
|
|
333
|
+
break;
|
|
334
|
+
case "trash":
|
|
335
|
+
IconComponent = lucide_react.Trash2;
|
|
336
|
+
break;
|
|
337
|
+
default: IconComponent = lucide_react.Bookmark;
|
|
338
|
+
}
|
|
339
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
340
|
+
...sxProps,
|
|
341
|
+
className,
|
|
342
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconComponent, {
|
|
343
|
+
size,
|
|
344
|
+
color: iconColor
|
|
345
|
+
})
|
|
346
|
+
});
|
|
347
|
+
};
|
|
348
|
+
exports.FontIcon = FontIcon;
|
|
250
349
|
exports.IssueIcon = IssueIcon;
|
|
251
350
|
exports.PriorityIcon = PriorityIcon;
|
package/dist/Icons/JiraIcons.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as stylex from "@stylexjs/stylex";
|
|
2
|
-
import { Bookmark, Minus } from "lucide-react";
|
|
2
|
+
import { Bookmark, Minus, Plus, Search, Settings, Trash2, User, X } from "lucide-react";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
4
|
// src/Icons/JiraIcons.tsx
|
|
5
5
|
var styles = { iconContainer: {
|
|
@@ -245,4 +245,102 @@ var PriorityIcon = ({ priority, size = 16, sx, className, ...props }) => {
|
|
|
245
245
|
});
|
|
246
246
|
}
|
|
247
247
|
};
|
|
248
|
-
|
|
248
|
+
var FontIcon = ({ name, size = 16, color, className, sx }) => {
|
|
249
|
+
const normalizedName = name.toLowerCase();
|
|
250
|
+
const sxProps = stylex.props(styles.iconContainer, sx);
|
|
251
|
+
if (normalizedName === "flash" || normalizedName === "epic") return /* @__PURE__ */ jsx(IssueIcon, {
|
|
252
|
+
type: "EPIC",
|
|
253
|
+
size,
|
|
254
|
+
className,
|
|
255
|
+
sx
|
|
256
|
+
});
|
|
257
|
+
if (normalizedName === "bookmark" || normalizedName === "story") return /* @__PURE__ */ jsx(IssueIcon, {
|
|
258
|
+
type: "STORY",
|
|
259
|
+
size,
|
|
260
|
+
className,
|
|
261
|
+
sx
|
|
262
|
+
});
|
|
263
|
+
if (normalizedName === "task") return /* @__PURE__ */ jsx(IssueIcon, {
|
|
264
|
+
type: "TASK",
|
|
265
|
+
size,
|
|
266
|
+
className,
|
|
267
|
+
sx
|
|
268
|
+
});
|
|
269
|
+
if (normalizedName === "bug") return /* @__PURE__ */ jsx(IssueIcon, {
|
|
270
|
+
type: "BUG",
|
|
271
|
+
size,
|
|
272
|
+
className,
|
|
273
|
+
sx
|
|
274
|
+
});
|
|
275
|
+
if (normalizedName === "subtask") return /* @__PURE__ */ jsx(IssueIcon, {
|
|
276
|
+
type: "SUBTASK",
|
|
277
|
+
size,
|
|
278
|
+
className,
|
|
279
|
+
sx
|
|
280
|
+
});
|
|
281
|
+
if (normalizedName === "double-up" || normalizedName === "highest") return /* @__PURE__ */ jsx(PriorityIcon, {
|
|
282
|
+
priority: "HIGHEST",
|
|
283
|
+
size,
|
|
284
|
+
className,
|
|
285
|
+
sx
|
|
286
|
+
});
|
|
287
|
+
if (normalizedName === "up-arrow" || normalizedName === "high") return /* @__PURE__ */ jsx(PriorityIcon, {
|
|
288
|
+
priority: "HIGH",
|
|
289
|
+
size,
|
|
290
|
+
className,
|
|
291
|
+
sx
|
|
292
|
+
});
|
|
293
|
+
if (normalizedName === "medium") return /* @__PURE__ */ jsx(PriorityIcon, {
|
|
294
|
+
priority: "MEDIUM",
|
|
295
|
+
size,
|
|
296
|
+
className,
|
|
297
|
+
sx
|
|
298
|
+
});
|
|
299
|
+
if (normalizedName === "down-arrow" || normalizedName === "low") return /* @__PURE__ */ jsx(PriorityIcon, {
|
|
300
|
+
priority: "LOW",
|
|
301
|
+
size,
|
|
302
|
+
className,
|
|
303
|
+
sx
|
|
304
|
+
});
|
|
305
|
+
if (normalizedName === "double-down" || normalizedName === "lowest") return /* @__PURE__ */ jsx(PriorityIcon, {
|
|
306
|
+
priority: "LOWEST",
|
|
307
|
+
size,
|
|
308
|
+
className,
|
|
309
|
+
sx
|
|
310
|
+
});
|
|
311
|
+
const iconColor = color || "currentColor";
|
|
312
|
+
let IconComponent = Bookmark;
|
|
313
|
+
switch (normalizedName) {
|
|
314
|
+
case "plus":
|
|
315
|
+
IconComponent = Plus;
|
|
316
|
+
break;
|
|
317
|
+
case "close":
|
|
318
|
+
case "x":
|
|
319
|
+
IconComponent = X;
|
|
320
|
+
break;
|
|
321
|
+
case "setting":
|
|
322
|
+
case "settings":
|
|
323
|
+
IconComponent = Settings;
|
|
324
|
+
break;
|
|
325
|
+
case "search":
|
|
326
|
+
IconComponent = Search;
|
|
327
|
+
break;
|
|
328
|
+
case "user":
|
|
329
|
+
case "account":
|
|
330
|
+
IconComponent = User;
|
|
331
|
+
break;
|
|
332
|
+
case "trash":
|
|
333
|
+
IconComponent = Trash2;
|
|
334
|
+
break;
|
|
335
|
+
default: IconComponent = Bookmark;
|
|
336
|
+
}
|
|
337
|
+
return /* @__PURE__ */ jsx("span", {
|
|
338
|
+
...sxProps,
|
|
339
|
+
className,
|
|
340
|
+
children: /* @__PURE__ */ jsx(IconComponent, {
|
|
341
|
+
size,
|
|
342
|
+
color: iconColor
|
|
343
|
+
})
|
|
344
|
+
});
|
|
345
|
+
};
|
|
346
|
+
export { FontIcon, IssueIcon, PriorityIcon };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Object.defineProperties(exports, {
|
|
2
|
+
__esModule: { value: true },
|
|
3
|
+
[Symbol.toStringTag]: { value: "Module" }
|
|
4
|
+
});
|
|
5
|
+
const require_JiraIcons = require("./JiraIcons.cjs");
|
|
6
|
+
const require_Icons = require("./Icons.cjs");
|
|
7
|
+
exports.FontIcon = require_JiraIcons.FontIcon;
|
|
8
|
+
exports.Icons = require_Icons.Icons;
|
|
9
|
+
exports.IssueIcon = require_JiraIcons.IssueIcon;
|
|
10
|
+
exports.PriorityIcon = require_JiraIcons.PriorityIcon;
|
|
11
|
+
exports.default = require_Icons.Icons;
|
|
@@ -53,7 +53,7 @@ function isMultiProps(props) {
|
|
|
53
53
|
return props.isMulti === true;
|
|
54
54
|
}
|
|
55
55
|
function BaseSelect(props) {
|
|
56
|
-
const { options, injectOptions = EMPTY_INJECT_OPTIONS, placeholder = "Select...", isClearable = true, isSearchable = true, isLoading = false, className = "", disabled = false, onSearchTextChange, hasNextPage = false, isFetchingNextPage = false, fetchNextPage, maxTagCount = "responsive", tagRender, showSelectAll = false, width } = props;
|
|
56
|
+
const { options, injectOptions = EMPTY_INJECT_OPTIONS, placeholder = "Select...", isClearable = true, isSearchable = true, isLoading = false, className = "", disabled = false, onSearchTextChange, hasNextPage = false, isFetchingNextPage = false, fetchNextPage, maxTagCount = "responsive", tagRender, showSelectAll = false, suffixIcon, width } = props;
|
|
57
57
|
const isMulti = isMultiProps(props);
|
|
58
58
|
const { value } = props;
|
|
59
59
|
const resolvedWidth = require_width.resolveWidth(width);
|
|
@@ -198,12 +198,16 @@ function BaseSelect(props) {
|
|
|
198
198
|
onRemove: handleRemoveTag,
|
|
199
199
|
disabled,
|
|
200
200
|
tagRender
|
|
201
|
-
}) : displayLabel ? /* @__PURE__ */ (0, react_jsx_runtime.
|
|
201
|
+
}) : displayLabel ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [selectedOptions[0]?.icon && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
202
|
+
className: "x3nfvp2 x2lah0s x6s0dn4",
|
|
203
|
+
"aria-hidden": "true",
|
|
204
|
+
children: selectedOptions[0].icon
|
|
205
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Text.Text, {
|
|
202
206
|
ellipsis: true,
|
|
203
207
|
tooltip: true,
|
|
204
208
|
sx: styles.labelArea,
|
|
205
209
|
children: displayLabel
|
|
206
|
-
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Text.Text, {
|
|
210
|
+
})] }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Text.Text, {
|
|
207
211
|
sx: [styles.labelArea, styles.placeholder],
|
|
208
212
|
children: placeholder
|
|
209
213
|
}),
|
|
@@ -211,7 +215,7 @@ function BaseSelect(props) {
|
|
|
211
215
|
className: "x1xvt488 xf08kfj x13zjp5t xw3nh4a x2lah0s x1ypdohk x1mqvv6a",
|
|
212
216
|
onClick: handleClear
|
|
213
217
|
}),
|
|
214
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Icons.Icons.ChevronDownIcon, { className: "x1xvt488 xf08kfj x13zjp5t xw3nh4a x2lah0s" })
|
|
218
|
+
suffixIcon ?? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(require_Icons.Icons.ChevronDownIcon, { className: "x1xvt488 xf08kfj x13zjp5t xw3nh4a x2lah0s" })
|
|
215
219
|
]
|
|
216
220
|
})
|
|
217
221
|
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(require_popover.PopoverContent, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseSelect.d.ts","sourceRoot":"","sources":["../../src/Select/BaseSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAWpE,OAAO,KAAK,EACV,oBAAoB,EAGpB,qBAAqB,EACrB,WAAW,EACZ,MAAM,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"BaseSelect.d.ts","sourceRoot":"","sources":["../../src/Select/BaseSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAWpE,OAAO,KAAK,EACV,oBAAoB,EAGpB,qBAAqB,EACrB,WAAW,EACZ,MAAM,QAAQ,CAAC;AAsMhB,wBAAgB,UAAU,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAC5D,KAAK,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAC7B,KAAK,CAAC,YAAY,CAAC;AACtB,wBAAgB,UAAU,CAAC,CAAC,SAAS,WAAW,GAAG,WAAW,EAC5D,KAAK,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAC9B,KAAK,CAAC,YAAY,CAAC;eAsUP,UAAU"}
|
|
@@ -50,7 +50,7 @@ function isMultiProps(props) {
|
|
|
50
50
|
return props.isMulti === true;
|
|
51
51
|
}
|
|
52
52
|
function BaseSelect(props) {
|
|
53
|
-
const { options, injectOptions = EMPTY_INJECT_OPTIONS, placeholder = "Select...", isClearable = true, isSearchable = true, isLoading = false, className = "", disabled = false, onSearchTextChange, hasNextPage = false, isFetchingNextPage = false, fetchNextPage, maxTagCount = "responsive", tagRender, showSelectAll = false, width } = props;
|
|
53
|
+
const { options, injectOptions = EMPTY_INJECT_OPTIONS, placeholder = "Select...", isClearable = true, isSearchable = true, isLoading = false, className = "", disabled = false, onSearchTextChange, hasNextPage = false, isFetchingNextPage = false, fetchNextPage, maxTagCount = "responsive", tagRender, showSelectAll = false, suffixIcon, width } = props;
|
|
54
54
|
const isMulti = isMultiProps(props);
|
|
55
55
|
const { value } = props;
|
|
56
56
|
const resolvedWidth = resolveWidth(width);
|
|
@@ -195,12 +195,16 @@ function BaseSelect(props) {
|
|
|
195
195
|
onRemove: handleRemoveTag,
|
|
196
196
|
disabled,
|
|
197
197
|
tagRender
|
|
198
|
-
}) : displayLabel ? /* @__PURE__ */ jsx(
|
|
198
|
+
}) : displayLabel ? /* @__PURE__ */ jsxs(Fragment, { children: [selectedOptions[0]?.icon && /* @__PURE__ */ jsx("span", {
|
|
199
|
+
className: "x3nfvp2 x2lah0s x6s0dn4",
|
|
200
|
+
"aria-hidden": "true",
|
|
201
|
+
children: selectedOptions[0].icon
|
|
202
|
+
}), /* @__PURE__ */ jsx(Text, {
|
|
199
203
|
ellipsis: true,
|
|
200
204
|
tooltip: true,
|
|
201
205
|
sx: styles.labelArea,
|
|
202
206
|
children: displayLabel
|
|
203
|
-
}) : /* @__PURE__ */ jsx(Text, {
|
|
207
|
+
})] }) : /* @__PURE__ */ jsx(Text, {
|
|
204
208
|
sx: [styles.labelArea, styles.placeholder],
|
|
205
209
|
children: placeholder
|
|
206
210
|
}),
|
|
@@ -208,7 +212,7 @@ function BaseSelect(props) {
|
|
|
208
212
|
className: "x1xvt488 xf08kfj x13zjp5t xw3nh4a x2lah0s x1ypdohk x1mqvv6a",
|
|
209
213
|
onClick: handleClear
|
|
210
214
|
}),
|
|
211
|
-
/* @__PURE__ */ jsx(Icons.ChevronDownIcon, { className: "x1xvt488 xf08kfj x13zjp5t xw3nh4a x2lah0s" })
|
|
215
|
+
suffixIcon ?? /* @__PURE__ */ jsx(Icons.ChevronDownIcon, { className: "x1xvt488 xf08kfj x13zjp5t xw3nh4a x2lah0s" })
|
|
212
216
|
]
|
|
213
217
|
})
|
|
214
218
|
}), /* @__PURE__ */ jsxs(PopoverContent, {
|