@ssa-ui-kit/core 2.0.0-canary-1cc9a72-20250305 → 2.1.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/dist/components/Badge/Badge.d.ts +1 -1
- package/dist/components/Button/fixtures.d.ts +8 -8
- package/dist/components/Charts/PieChart/PieChartLegendMarker.d.ts +1 -1
- package/dist/components/Field/FieldControl.d.ts +7 -0
- package/dist/components/Field/FieldDescription.d.ts +4 -0
- package/dist/components/Field/FieldError.d.ts +4 -0
- package/dist/components/Field/FieldLabel.d.ts +5 -0
- package/dist/components/Field/FieldProvider.d.ts +12 -0
- package/dist/components/Field/FieldRoot.d.ts +6 -0
- package/dist/components/Field/FieldSuccess.d.ts +4 -0
- package/dist/components/Field/index.d.ts +5 -0
- package/dist/components/Field/index.parts.d.ts +6 -0
- package/dist/components/FiltersMultiSelect/FiltersMultiSelect.d.ts +24 -0
- package/dist/components/FiltersMultiSelect/FiltersMultiSelectProvider.d.ts +9 -0
- package/dist/components/FiltersMultiSelect/components/FilterBadge.d.ts +11 -0
- package/dist/components/FiltersMultiSelect/components/FiltersMultiSelectEmpty.d.ts +5 -0
- package/dist/components/FiltersMultiSelect/components/FiltersMultiSelectOption.d.ts +7 -0
- package/dist/components/FiltersMultiSelect/components/FiltersMultiSelectOptions.d.ts +4 -0
- package/dist/components/FiltersMultiSelect/index.d.ts +5 -0
- package/dist/components/FiltersMultiSelect/useFiltersMultiSelect.d.ts +32 -0
- package/dist/components/Icon/icons/CheckCircleInverted.d.ts +3 -0
- package/dist/components/Icon/icons/MinusCircle.d.ts +3 -0
- package/dist/components/Icon/icons/MinusCircleInverted.d.ts +3 -0
- package/dist/components/Icon/icons/PlusCircle.d.ts +3 -0
- package/dist/components/Icon/icons/PlusCircleInverted.d.ts +3 -0
- package/dist/components/Icon/icons/all.d.ts +5 -0
- package/dist/components/Icon/icons/iconsList.d.ts +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/index.js +918 -1
- package/dist/index.js.map +1 -1
- package/dist/types/emotion.d.ts +8 -0
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -91,7 +91,18 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
91
91
|
DropdownOption: () => (/* reexport */ DropdownOption_DropdownOption),
|
|
92
92
|
DropdownOptions: () => (/* reexport */ DropdownOptions_DropdownOptions),
|
|
93
93
|
DropdownToggle: () => (/* reexport */ DropdownToggle_DropdownToggle),
|
|
94
|
+
FieldControlProps: () => (/* reexport */ FieldControl_namespaceObject.FieldControlProps),
|
|
95
|
+
FieldLabelProps: () => (/* reexport */ FieldLabel_namespaceObject.FieldLabelProps),
|
|
96
|
+
FieldProps: () => (/* reexport */ FieldRoot_namespaceObject.FieldRootProps),
|
|
97
|
+
Filter: () => (/* reexport */ useFiltersMultiSelect_namespaceObject.Filter),
|
|
94
98
|
Filters: () => (/* reexport */ Filters),
|
|
99
|
+
FiltersMultiSelect: () => (/* reexport */ FiltersMultiSelect),
|
|
100
|
+
FiltersMultiSelectEmpty: () => (/* reexport */ FiltersMultiSelectEmpty),
|
|
101
|
+
FiltersMultiSelectEmptyProps: () => (/* reexport */ FiltersMultiSelectEmpty_namespaceObject.FiltersMultiSelectEmptyProps),
|
|
102
|
+
FiltersMultiSelectOption: () => (/* reexport */ FiltersMultiSelectOption),
|
|
103
|
+
FiltersMultiSelectOptionProps: () => (/* reexport */ FiltersMultiSelectOption_namespaceObject.FiltersMultiSelectOptionProps),
|
|
104
|
+
FiltersMultiSelectOptions: () => (/* reexport */ FiltersMultiSelectOptions),
|
|
105
|
+
FiltersMultiSelectProps: () => (/* reexport */ FiltersMultiSelect_namespaceObject.FiltersMultiSelectProps),
|
|
95
106
|
Form: () => (/* reexport */ Form_Form),
|
|
96
107
|
FormAction: () => (/* reexport */ FormAction_FormAction),
|
|
97
108
|
FormCheckbox: () => (/* reexport */ FormCheckbox_FormCheckbox),
|
|
@@ -156,6 +167,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
156
167
|
SearchBoxWrapper: () => (/* reexport */ SearchBoxWrapper),
|
|
157
168
|
SegmentedPieChart: () => (/* reexport */ SegmentedPieChart),
|
|
158
169
|
SegmentedPieChartComponent: () => (/* reexport */ SegmentedPieChartComponent),
|
|
170
|
+
SelectedFilter: () => (/* reexport */ useFiltersMultiSelect_namespaceObject.SelectedFilter),
|
|
159
171
|
SimpleChartTooltip: () => (/* reexport */ SimpleChartTooltip),
|
|
160
172
|
Step: () => (/* reexport */ Step_Step),
|
|
161
173
|
StepConnector: () => (/* reexport */ StepConnector_StepConnector),
|
|
@@ -225,6 +237,8 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
225
237
|
styles: () => (/* reexport */ Tooltip_styles_namespaceObject),
|
|
226
238
|
useAccordionGroupContext: () => (/* reexport */ useAccordionGroupContext),
|
|
227
239
|
useCollapsibleNavBarContext: () => (/* reexport */ useCollapsibleNavBarContext),
|
|
240
|
+
useFieldContext: () => (/* reexport */ useFieldContext),
|
|
241
|
+
useFilterMultiSelect: () => (/* reexport */ useFilterMultiSelect),
|
|
228
242
|
useFullscreenMode: () => (/* reexport */ useFullscreenMode),
|
|
229
243
|
useNestedTableRowContext: () => (/* reexport */ useNestedTableRowContext),
|
|
230
244
|
usePaginationContext: () => (/* reexport */ usePaginationContext),
|
|
@@ -333,6 +347,22 @@ __webpack_require__.d(Plus_namespaceObject, {
|
|
|
333
347
|
Plus: () => (Plus)
|
|
334
348
|
});
|
|
335
349
|
|
|
350
|
+
// NAMESPACE OBJECT: ./src/components/Icon/icons/PlusCircle.tsx
|
|
351
|
+
var PlusCircle_namespaceObject = {};
|
|
352
|
+
__webpack_require__.r(PlusCircle_namespaceObject);
|
|
353
|
+
__webpack_require__.d(PlusCircle_namespaceObject, {
|
|
354
|
+
ICON_NAME: () => (PlusCircle_ICON_NAME),
|
|
355
|
+
PlusCircle: () => (PlusCircle)
|
|
356
|
+
});
|
|
357
|
+
|
|
358
|
+
// NAMESPACE OBJECT: ./src/components/Icon/icons/PlusCircleInverted.tsx
|
|
359
|
+
var PlusCircleInverted_namespaceObject = {};
|
|
360
|
+
__webpack_require__.r(PlusCircleInverted_namespaceObject);
|
|
361
|
+
__webpack_require__.d(PlusCircleInverted_namespaceObject, {
|
|
362
|
+
ICON_NAME: () => (PlusCircleInverted_ICON_NAME),
|
|
363
|
+
PlusCircleInverted: () => (PlusCircleInverted)
|
|
364
|
+
});
|
|
365
|
+
|
|
336
366
|
// NAMESPACE OBJECT: ./src/components/Icon/icons/Minus.tsx
|
|
337
367
|
var Minus_namespaceObject = {};
|
|
338
368
|
__webpack_require__.r(Minus_namespaceObject);
|
|
@@ -341,6 +371,22 @@ __webpack_require__.d(Minus_namespaceObject, {
|
|
|
341
371
|
Minus: () => (Minus)
|
|
342
372
|
});
|
|
343
373
|
|
|
374
|
+
// NAMESPACE OBJECT: ./src/components/Icon/icons/MinusCircle.tsx
|
|
375
|
+
var MinusCircle_namespaceObject = {};
|
|
376
|
+
__webpack_require__.r(MinusCircle_namespaceObject);
|
|
377
|
+
__webpack_require__.d(MinusCircle_namespaceObject, {
|
|
378
|
+
ICON_NAME: () => (MinusCircle_ICON_NAME),
|
|
379
|
+
MinusCircle: () => (MinusCircle)
|
|
380
|
+
});
|
|
381
|
+
|
|
382
|
+
// NAMESPACE OBJECT: ./src/components/Icon/icons/MinusCircleInverted.tsx
|
|
383
|
+
var MinusCircleInverted_namespaceObject = {};
|
|
384
|
+
__webpack_require__.r(MinusCircleInverted_namespaceObject);
|
|
385
|
+
__webpack_require__.d(MinusCircleInverted_namespaceObject, {
|
|
386
|
+
ICON_NAME: () => (MinusCircleInverted_ICON_NAME),
|
|
387
|
+
MinusCircleInverted: () => (MinusCircleInverted)
|
|
388
|
+
});
|
|
389
|
+
|
|
344
390
|
// NAMESPACE OBJECT: ./src/components/Icon/icons/Cross.tsx
|
|
345
391
|
var Cross_namespaceObject = {};
|
|
346
392
|
__webpack_require__.r(Cross_namespaceObject);
|
|
@@ -365,6 +411,14 @@ __webpack_require__.d(CheckCircle_namespaceObject, {
|
|
|
365
411
|
ICON_NAME: () => (CheckCircle_ICON_NAME)
|
|
366
412
|
});
|
|
367
413
|
|
|
414
|
+
// NAMESPACE OBJECT: ./src/components/Icon/icons/CheckCircleInverted.tsx
|
|
415
|
+
var CheckCircleInverted_namespaceObject = {};
|
|
416
|
+
__webpack_require__.r(CheckCircleInverted_namespaceObject);
|
|
417
|
+
__webpack_require__.d(CheckCircleInverted_namespaceObject, {
|
|
418
|
+
CheckCircleInverted: () => (CheckCircleInverted),
|
|
419
|
+
ICON_NAME: () => (CheckCircleInverted_ICON_NAME)
|
|
420
|
+
});
|
|
421
|
+
|
|
368
422
|
// NAMESPACE OBJECT: ./src/components/Icon/icons/More.tsx
|
|
369
423
|
var More_namespaceObject = {};
|
|
370
424
|
__webpack_require__.r(More_namespaceObject);
|
|
@@ -752,6 +806,7 @@ __webpack_require__.d(all_namespaceObject, {
|
|
|
752
806
|
Chart: () => (Chart_namespaceObject),
|
|
753
807
|
Check: () => (Check_namespaceObject),
|
|
754
808
|
CheckCircle: () => (CheckCircle_namespaceObject),
|
|
809
|
+
CheckCircleInverted: () => (CheckCircleInverted_namespaceObject),
|
|
755
810
|
Circle: () => (Circle_namespaceObject),
|
|
756
811
|
Circular: () => (Circular_namespaceObject),
|
|
757
812
|
Clock: () => (Clock_namespaceObject),
|
|
@@ -776,11 +831,15 @@ __webpack_require__.d(all_namespaceObject, {
|
|
|
776
831
|
Measurements: () => (Measurements_namespaceObject),
|
|
777
832
|
Message: () => (Message_namespaceObject),
|
|
778
833
|
Minus: () => (Minus_namespaceObject),
|
|
834
|
+
MinusCircle: () => (MinusCircle_namespaceObject),
|
|
835
|
+
MinusCircleInverted: () => (MinusCircleInverted_namespaceObject),
|
|
779
836
|
More: () => (More_namespaceObject),
|
|
780
837
|
MoreVertical: () => (MoreVertical_namespaceObject),
|
|
781
838
|
Notification: () => (Notification_namespaceObject),
|
|
782
839
|
Pages: () => (Pages_namespaceObject),
|
|
783
840
|
Plus: () => (Plus_namespaceObject),
|
|
841
|
+
PlusCircle: () => (PlusCircle_namespaceObject),
|
|
842
|
+
PlusCircleInverted: () => (PlusCircleInverted_namespaceObject),
|
|
784
843
|
RadioOn: () => (RadioOn_namespaceObject),
|
|
785
844
|
Report: () => (Report_namespaceObject),
|
|
786
845
|
Robot: () => (Robot_namespaceObject),
|
|
@@ -829,6 +888,55 @@ __webpack_require__.d(Tooltip_styles_namespaceObject, {
|
|
|
829
888
|
small: () => (Tooltip_styles_small)
|
|
830
889
|
});
|
|
831
890
|
|
|
891
|
+
// NAMESPACE OBJECT: ./src/components/Field/FieldRoot.tsx
|
|
892
|
+
var FieldRoot_namespaceObject = {};
|
|
893
|
+
__webpack_require__.r(FieldRoot_namespaceObject);
|
|
894
|
+
__webpack_require__.d(FieldRoot_namespaceObject, {
|
|
895
|
+
X: () => (FieldRoot)
|
|
896
|
+
});
|
|
897
|
+
|
|
898
|
+
// NAMESPACE OBJECT: ./src/components/Field/FieldLabel.tsx
|
|
899
|
+
var FieldLabel_namespaceObject = {};
|
|
900
|
+
__webpack_require__.r(FieldLabel_namespaceObject);
|
|
901
|
+
__webpack_require__.d(FieldLabel_namespaceObject, {
|
|
902
|
+
d: () => (FieldLabel)
|
|
903
|
+
});
|
|
904
|
+
|
|
905
|
+
// NAMESPACE OBJECT: ./src/components/Field/FieldControl.tsx
|
|
906
|
+
var FieldControl_namespaceObject = {};
|
|
907
|
+
__webpack_require__.r(FieldControl_namespaceObject);
|
|
908
|
+
__webpack_require__.d(FieldControl_namespaceObject, {
|
|
909
|
+
s: () => (FieldControl)
|
|
910
|
+
});
|
|
911
|
+
|
|
912
|
+
// NAMESPACE OBJECT: ./src/components/FiltersMultiSelect/useFiltersMultiSelect.tsx
|
|
913
|
+
var useFiltersMultiSelect_namespaceObject = {};
|
|
914
|
+
__webpack_require__.r(useFiltersMultiSelect_namespaceObject);
|
|
915
|
+
__webpack_require__.d(useFiltersMultiSelect_namespaceObject, {
|
|
916
|
+
j: () => (useFilterMultiSelect)
|
|
917
|
+
});
|
|
918
|
+
|
|
919
|
+
// NAMESPACE OBJECT: ./src/components/FiltersMultiSelect/components/FiltersMultiSelectEmpty.tsx
|
|
920
|
+
var FiltersMultiSelectEmpty_namespaceObject = {};
|
|
921
|
+
__webpack_require__.r(FiltersMultiSelectEmpty_namespaceObject);
|
|
922
|
+
__webpack_require__.d(FiltersMultiSelectEmpty_namespaceObject, {
|
|
923
|
+
S: () => (FiltersMultiSelectEmpty)
|
|
924
|
+
});
|
|
925
|
+
|
|
926
|
+
// NAMESPACE OBJECT: ./src/components/FiltersMultiSelect/FiltersMultiSelect.tsx
|
|
927
|
+
var FiltersMultiSelect_namespaceObject = {};
|
|
928
|
+
__webpack_require__.r(FiltersMultiSelect_namespaceObject);
|
|
929
|
+
__webpack_require__.d(FiltersMultiSelect_namespaceObject, {
|
|
930
|
+
p: () => (FiltersMultiSelect)
|
|
931
|
+
});
|
|
932
|
+
|
|
933
|
+
// NAMESPACE OBJECT: ./src/components/FiltersMultiSelect/components/FiltersMultiSelectOption.tsx
|
|
934
|
+
var FiltersMultiSelectOption_namespaceObject = {};
|
|
935
|
+
__webpack_require__.r(FiltersMultiSelectOption_namespaceObject);
|
|
936
|
+
__webpack_require__.d(FiltersMultiSelectOption_namespaceObject, {
|
|
937
|
+
u: () => (FiltersMultiSelectOption)
|
|
938
|
+
});
|
|
939
|
+
|
|
832
940
|
// NAMESPACE OBJECT: ./src/components/Charts/PieChart/colorPalettes.ts
|
|
833
941
|
var colorPalettes_namespaceObject = {};
|
|
834
942
|
__webpack_require__.r(colorPalettes_namespaceObject);
|
|
@@ -923,14 +1031,22 @@ const main = {
|
|
|
923
1031
|
// #656567
|
|
924
1032
|
redLighter: 'rgba(242, 136, 142, 1)',
|
|
925
1033
|
// #f2888e
|
|
1034
|
+
redLighter6: 'rgba(242, 136, 142, 0.06)',
|
|
1035
|
+
// #f2888e
|
|
926
1036
|
redLighter40: 'rgba(242, 136, 142, 0.4)',
|
|
927
1037
|
// #f2888e
|
|
928
1038
|
red: 'rgba(235, 117, 86, 1)',
|
|
929
1039
|
// #eb7556
|
|
1040
|
+
red6: 'rgba(235, 117, 86, 0.06)',
|
|
1041
|
+
// #eb7556
|
|
1042
|
+
redDark: 'rgba(229, 53, 14, 1)',
|
|
1043
|
+
// #e5350e
|
|
930
1044
|
red40: 'rgba(235, 117, 86, 0.4)',
|
|
931
1045
|
// #eb7556
|
|
932
1046
|
greenLighter: 'rgba(137, 217, 150, 1)',
|
|
933
1047
|
// #89d996
|
|
1048
|
+
greenLighter6: 'rgba(137, 217, 150, 0.06)',
|
|
1049
|
+
// #89d996
|
|
934
1050
|
greenLighter20: 'rgba(137, 217, 150, 0.2)',
|
|
935
1051
|
// #89d996
|
|
936
1052
|
greenLighter40: 'rgba(137, 217, 150, 0.4)',
|
|
@@ -939,6 +1055,8 @@ const main = {
|
|
|
939
1055
|
// #89d996
|
|
940
1056
|
green: 'rgba(82, 197, 135, 1)',
|
|
941
1057
|
// #52c587
|
|
1058
|
+
green6: 'rgba(82, 197, 135, 0.06)',
|
|
1059
|
+
// #52c587
|
|
942
1060
|
green20: 'rgba(82, 197, 135, 0.2)',
|
|
943
1061
|
// #52c587
|
|
944
1062
|
green40: 'rgba(82, 197, 135, 0.4)',
|
|
@@ -1009,6 +1127,8 @@ const main = {
|
|
|
1009
1127
|
// #9c7aeb
|
|
1010
1128
|
blue: 'rgba(65, 120, 225, 1)',
|
|
1011
1129
|
// #4178e1
|
|
1130
|
+
blue6: 'rgba(65, 120, 225, 0.06)',
|
|
1131
|
+
// #4178e1
|
|
1012
1132
|
blue20: 'rgba(65, 120, 225, 0.2)',
|
|
1013
1133
|
// #4178e1
|
|
1014
1134
|
blueDark: 'rgba(36, 101, 227, 1)',
|
|
@@ -1021,6 +1141,8 @@ const main = {
|
|
|
1021
1141
|
// #A6D5F4
|
|
1022
1142
|
blueLighter: 'rgba(117, 153, 222, 1)',
|
|
1023
1143
|
// #7599de
|
|
1144
|
+
blueLighter6: 'rgba(117, 153, 222, 0.06)',
|
|
1145
|
+
// #7599de
|
|
1024
1146
|
blueLighter20: 'rgba(117, 153, 222, 0.2)',
|
|
1025
1147
|
// #7599de
|
|
1026
1148
|
blueLighter40: 'rgba(117, 153, 222, 0.4)',
|
|
@@ -1049,6 +1171,8 @@ const main = {
|
|
|
1049
1171
|
//#0745bd
|
|
1050
1172
|
blueRoyal: 'rgba(72, 125, 225, 1)',
|
|
1051
1173
|
//#487de1
|
|
1174
|
+
blueRoyal6: 'rgba(72, 125, 225, 0.06)',
|
|
1175
|
+
//#487DE1
|
|
1052
1176
|
blueRoyal12: 'rgba(72, 125, 225, 0.12)',
|
|
1053
1177
|
//#487DE1
|
|
1054
1178
|
dangerShades300: 'rgb(253, 128, 122)',
|
|
@@ -1161,11 +1285,12 @@ const Badge = /*#__PURE__*/external_react_default().forwardRef(function Badge({
|
|
|
1161
1285
|
children,
|
|
1162
1286
|
...props
|
|
1163
1287
|
}, ref) {
|
|
1288
|
+
const sizeProps = mapSizes[size];
|
|
1164
1289
|
return (0,jsx_runtime_namespaceObject.jsx)(Badge_BadgeBase, {
|
|
1165
1290
|
ref: ref,
|
|
1166
1291
|
css: [color in mapColors ? mapColors[color] : {
|
|
1167
1292
|
background: color
|
|
1168
|
-
},
|
|
1293
|
+
}, sizeProps, true ? "" : 0, true ? "" : 0],
|
|
1169
1294
|
...props,
|
|
1170
1295
|
children: children ? children : null
|
|
1171
1296
|
});
|
|
@@ -1731,6 +1856,59 @@ const Plus = ({
|
|
|
1731
1856
|
})]
|
|
1732
1857
|
});
|
|
1733
1858
|
const Plus_ICON_NAME = 'plus';
|
|
1859
|
+
;// ./src/components/Icon/icons/PlusCircle.tsx
|
|
1860
|
+
|
|
1861
|
+
const PlusCircle = ({
|
|
1862
|
+
fill = '#000',
|
|
1863
|
+
size = 24,
|
|
1864
|
+
tooltip = 'Plus circle',
|
|
1865
|
+
...props
|
|
1866
|
+
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
1867
|
+
width: `${size}px`,
|
|
1868
|
+
height: `${size}px`,
|
|
1869
|
+
viewBox: "0 0 20 20",
|
|
1870
|
+
fill: "none",
|
|
1871
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1872
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1873
|
+
...props,
|
|
1874
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
1875
|
+
children: tooltip
|
|
1876
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
1877
|
+
d: "M5.96667 9.99999C5.96667 9.61339 6.28008 9.29999 6.66667 9.29999H9.30005V6.66667C9.30005 6.28008 9.61345 5.96667 10 5.96667C10.3866 5.96667 10.7 6.28008 10.7 6.66667V9.29999H13.3333C13.7199 9.29999 14.0333 9.61339 14.0333 9.99999C14.0333 10.3866 13.7199 10.7 13.3333 10.7H10.7V13.3333C10.7 13.7199 10.3866 14.0333 10 14.0333C9.61345 14.0333 9.30005 13.7199 9.30005 13.3333V10.7H6.66667C6.28008 10.7 5.96667 10.3866 5.96667 9.99999Z",
|
|
1878
|
+
fill: fill
|
|
1879
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
1880
|
+
d: "M0.966675 10C0.966675 5.03008 5.03008 0.966675 10 0.966675C14.9699 0.966675 19.0333 5.03008 19.0333 10C19.0333 14.9699 14.9699 19.0333 10 19.0333C5.03008 19.0333 0.966675 14.9699 0.966675 10ZM10 2.36667C5.80327 2.36667 2.36667 5.80327 2.36667 10C2.36667 14.1967 5.80327 17.6333 10 17.6333C14.1967 17.6333 17.6333 14.1967 17.6333 10C17.6333 5.80327 14.1967 2.36667 10 2.36667Z",
|
|
1881
|
+
fillRule: "evenodd",
|
|
1882
|
+
clipRule: "evenodd",
|
|
1883
|
+
fill: fill
|
|
1884
|
+
})]
|
|
1885
|
+
});
|
|
1886
|
+
const PlusCircle_ICON_NAME = 'plus-circle';
|
|
1887
|
+
;// ./src/components/Icon/icons/PlusCircleInverted.tsx
|
|
1888
|
+
|
|
1889
|
+
const PlusCircleInverted = ({
|
|
1890
|
+
fill = '#000',
|
|
1891
|
+
size = 24,
|
|
1892
|
+
tooltip = 'Plus circle inverted',
|
|
1893
|
+
...props
|
|
1894
|
+
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
1895
|
+
width: `${size}px`,
|
|
1896
|
+
height: `${size}px`,
|
|
1897
|
+
viewBox: "0 0 20 20",
|
|
1898
|
+
fill: "none",
|
|
1899
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1900
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1901
|
+
...props,
|
|
1902
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
1903
|
+
children: tooltip
|
|
1904
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
1905
|
+
d: "M1.66663 10C1.66663 5.40835 5.40829 1.66669 9.99996 1.66669C14.5916 1.66669 18.3333 5.40835 18.3333 10C18.3333 14.5917 14.5916 18.3334 9.99996 18.3334C5.40829 18.3334 1.66663 14.5917 1.66663 10ZM9.99996 13.9584C10.3416 13.9584 10.625 13.675 10.625 13.3334V10.625H13.3333C13.675 10.625 13.9583 10.3417 13.9583 10C13.9583 9.65835 13.675 9.37502 13.3333 9.37502H10.625V6.66669C10.625 6.32502 10.3416 6.04169 9.99996 6.04169C9.65829 6.04169 9.37496 6.32502 9.37496 6.66669V9.37502H6.66663C6.32496 9.37502 6.04163 9.65835 6.04163 10C6.04163 10.3417 6.32496 10.625 6.66663 10.625H9.37496V13.3334C9.37496 13.675 9.65829 13.9584 9.99996 13.9584Z",
|
|
1906
|
+
fillRule: "evenodd",
|
|
1907
|
+
clipRule: "evenodd",
|
|
1908
|
+
fill: fill
|
|
1909
|
+
})]
|
|
1910
|
+
});
|
|
1911
|
+
const PlusCircleInverted_ICON_NAME = 'plus-circle-inverted';
|
|
1734
1912
|
;// ./src/components/Icon/icons/Minus.tsx
|
|
1735
1913
|
|
|
1736
1914
|
const Minus = ({
|
|
@@ -1757,6 +1935,59 @@ const Minus = ({
|
|
|
1757
1935
|
})]
|
|
1758
1936
|
});
|
|
1759
1937
|
const Minus_ICON_NAME = 'minus';
|
|
1938
|
+
;// ./src/components/Icon/icons/MinusCircle.tsx
|
|
1939
|
+
|
|
1940
|
+
const MinusCircle = ({
|
|
1941
|
+
fill = '#000',
|
|
1942
|
+
size = 24,
|
|
1943
|
+
tooltip = 'Minus circle',
|
|
1944
|
+
...props
|
|
1945
|
+
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
1946
|
+
width: `${size}px`,
|
|
1947
|
+
height: `${size}px`,
|
|
1948
|
+
viewBox: "0 0 20 20",
|
|
1949
|
+
fill: "none",
|
|
1950
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1951
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1952
|
+
...props,
|
|
1953
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
1954
|
+
children: tooltip
|
|
1955
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
1956
|
+
d: "M5.8999 10C5.8999 9.61341 6.2133 9.30001 6.5999 9.30001H13.2666C13.6532 9.30001 13.9666 9.61341 13.9666 10C13.9666 10.3866 13.6532 10.7 13.2666 10.7H6.5999C6.2133 10.7 5.8999 10.3866 5.8999 10Z",
|
|
1957
|
+
fill: fill
|
|
1958
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
1959
|
+
d: "M0.899902 10C0.899902 5.03008 4.9633 0.966675 9.93324 0.966675C14.9032 0.966675 18.9666 5.03008 18.9666 10C18.9666 14.9699 14.9032 19.0333 9.93324 19.0333C4.9633 19.0333 0.899902 14.9699 0.899902 10ZM9.93324 2.36667C5.7365 2.36667 2.2999 5.80327 2.2999 10C2.2999 14.1967 5.7365 17.6333 9.93324 17.6333C14.13 17.6333 17.5666 14.1967 17.5666 10C17.5666 5.80327 14.13 2.36667 9.93324 2.36667Z",
|
|
1960
|
+
fillRule: "evenodd",
|
|
1961
|
+
clipRule: "evenodd",
|
|
1962
|
+
fill: fill
|
|
1963
|
+
})]
|
|
1964
|
+
});
|
|
1965
|
+
const MinusCircle_ICON_NAME = 'minus-circle';
|
|
1966
|
+
;// ./src/components/Icon/icons/MinusCircleInverted.tsx
|
|
1967
|
+
|
|
1968
|
+
const MinusCircleInverted = ({
|
|
1969
|
+
fill = '#000',
|
|
1970
|
+
size = 24,
|
|
1971
|
+
tooltip = 'Minus circle inverted',
|
|
1972
|
+
...props
|
|
1973
|
+
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
1974
|
+
width: `${size}px`,
|
|
1975
|
+
height: `${size}px`,
|
|
1976
|
+
viewBox: "0 0 20 20",
|
|
1977
|
+
fill: "none",
|
|
1978
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1979
|
+
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
1980
|
+
...props,
|
|
1981
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
1982
|
+
children: tooltip
|
|
1983
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
1984
|
+
d: "M1.66663 10C1.66663 5.40835 5.40829 1.66669 9.99996 1.66669C14.5916 1.66669 18.3333 5.40835 18.3333 10C18.3333 14.5917 14.5916 18.3334 9.99996 18.3334C5.40829 18.3334 1.66663 14.5917 1.66663 10ZM5.97496 10C5.97496 10.3417 6.25829 10.625 6.59996 10.625H13.2666C13.6166 10.625 13.8916 10.3417 13.8916 10C13.8916 9.65835 13.6083 9.37502 13.2666 9.37502H6.59996C6.25829 9.37502 5.97496 9.65835 5.97496 10Z",
|
|
1985
|
+
fillRule: "evenodd",
|
|
1986
|
+
clipRule: "evenodd",
|
|
1987
|
+
fill: fill
|
|
1988
|
+
})]
|
|
1989
|
+
});
|
|
1990
|
+
const MinusCircleInverted_ICON_NAME = 'minus-circle-inverted';
|
|
1760
1991
|
;// ./src/components/Icon/icons/Cross.tsx
|
|
1761
1992
|
|
|
1762
1993
|
const Cross = ({
|
|
@@ -1846,6 +2077,35 @@ const CheckCircle = ({
|
|
|
1846
2077
|
})]
|
|
1847
2078
|
});
|
|
1848
2079
|
const CheckCircle_ICON_NAME = 'check-circle';
|
|
2080
|
+
;// ./src/components/Icon/icons/CheckCircleInverted.tsx
|
|
2081
|
+
|
|
2082
|
+
const CheckCircleInverted = ({
|
|
2083
|
+
fill = '#000',
|
|
2084
|
+
size = 24,
|
|
2085
|
+
tooltip = 'Check circle inverted',
|
|
2086
|
+
...props
|
|
2087
|
+
}) => (0,jsx_runtime_namespaceObject.jsxs)("svg", {
|
|
2088
|
+
width: `${size}px`,
|
|
2089
|
+
height: `${size}px`,
|
|
2090
|
+
viewBox: "0 0 20 20",
|
|
2091
|
+
fill: "none",
|
|
2092
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2093
|
+
...props,
|
|
2094
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("title", {
|
|
2095
|
+
children: tooltip
|
|
2096
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
2097
|
+
fillRule: "evenodd",
|
|
2098
|
+
clipRule: "evenodd",
|
|
2099
|
+
d: "M0.966675 10C0.966675 5.03008 5.03008 0.966675 10 0.966675C14.9699 0.966675 19.0333 5.03008 19.0333 10C19.0333 14.9699 14.9699 19.0333 10 19.0333C5.03008 19.0333 0.966675 14.9699 0.966675 10ZM10 2.36667C5.80327 2.36667 2.36667 5.80327 2.36667 10C2.36667 14.1967 5.80327 17.6333 10 17.6333C14.1967 17.6333 17.6333 14.1967 17.6333 10C17.6333 5.80327 14.1967 2.36667 10 2.36667Z",
|
|
2100
|
+
fill: fill
|
|
2101
|
+
}), (0,jsx_runtime_namespaceObject.jsx)("path", {
|
|
2102
|
+
fillRule: "evenodd",
|
|
2103
|
+
clipRule: "evenodd",
|
|
2104
|
+
d: "M2.36667 10C2.36667 5.80327 5.80327 2.36667 10 2.36667C14.1967 2.36667 17.6333 5.80327 17.6333 10C17.6333 14.1967 14.1967 17.6333 10 17.6333C5.80327 17.6333 2.36667 14.1967 2.36667 10ZM14.037 7.14705C14.3102 7.42066 14.3098 7.86388 14.0362 8.137L9.31117 12.8537C9.03773 13.1266 8.59486 13.1264 8.32166 12.8532L5.96333 10.4949C5.68996 10.2215 5.68996 9.77831 5.96333 9.50495C6.23669 9.23158 6.67991 9.23158 6.95328 9.50495L8.81707 11.3687L13.0471 7.14618C13.3207 6.87305 13.7639 6.87344 14.037 7.14705Z",
|
|
2105
|
+
fill: fill
|
|
2106
|
+
})]
|
|
2107
|
+
});
|
|
2108
|
+
const CheckCircleInverted_ICON_NAME = 'check-circle-inverted';
|
|
1849
2109
|
;// ./src/components/Icon/icons/More.tsx
|
|
1850
2110
|
|
|
1851
2111
|
const More = ({
|
|
@@ -3445,6 +3705,16 @@ const Report_ICON_NAME = 'report';
|
|
|
3445
3705
|
|
|
3446
3706
|
|
|
3447
3707
|
|
|
3708
|
+
|
|
3709
|
+
|
|
3710
|
+
|
|
3711
|
+
|
|
3712
|
+
|
|
3713
|
+
|
|
3714
|
+
|
|
3715
|
+
|
|
3716
|
+
|
|
3717
|
+
|
|
3448
3718
|
|
|
3449
3719
|
|
|
3450
3720
|
|
|
@@ -9640,6 +9910,135 @@ const DatePickerInner = ({
|
|
|
9640
9910
|
const DatePicker = /*#__PURE__*/(0,external_react_namespaceObject.forwardRef)(DatePickerInner);
|
|
9641
9911
|
;// ./src/components/DatePicker/index.ts
|
|
9642
9912
|
|
|
9913
|
+
;// ./src/components/Field/FieldProvider.ts
|
|
9914
|
+
|
|
9915
|
+
const [FieldProvider, useFieldContext] = (0,hooks_namespaceObject.createSafeContext)('useFieldContext must be used within a FieldProvider');
|
|
9916
|
+
;// ./src/components/Field/FieldRoot.tsx
|
|
9917
|
+
|
|
9918
|
+
|
|
9919
|
+
const FieldRoot = ({
|
|
9920
|
+
children,
|
|
9921
|
+
...props
|
|
9922
|
+
}) => {
|
|
9923
|
+
const {
|
|
9924
|
+
disabled = false,
|
|
9925
|
+
status = 'basic',
|
|
9926
|
+
forwardFocus = true,
|
|
9927
|
+
...divProps
|
|
9928
|
+
} = props;
|
|
9929
|
+
return (0,jsx_runtime_namespaceObject.jsx)("div", {
|
|
9930
|
+
...divProps,
|
|
9931
|
+
children: (0,jsx_runtime_namespaceObject.jsx)(FieldProvider, {
|
|
9932
|
+
value: {
|
|
9933
|
+
disabled,
|
|
9934
|
+
status,
|
|
9935
|
+
forwardFocus
|
|
9936
|
+
},
|
|
9937
|
+
children: children
|
|
9938
|
+
})
|
|
9939
|
+
});
|
|
9940
|
+
};
|
|
9941
|
+
;// ./src/components/Field/FieldLabel.tsx
|
|
9942
|
+
|
|
9943
|
+
|
|
9944
|
+
|
|
9945
|
+
const FieldLabel = ({
|
|
9946
|
+
children,
|
|
9947
|
+
...props
|
|
9948
|
+
}) => {
|
|
9949
|
+
const ctx = useFieldContext();
|
|
9950
|
+
return (0,jsx_runtime_namespaceObject.jsx)(Label_Label, {
|
|
9951
|
+
isDisabled: ctx.disabled,
|
|
9952
|
+
...props,
|
|
9953
|
+
children: children
|
|
9954
|
+
});
|
|
9955
|
+
};
|
|
9956
|
+
;// ./src/components/Field/FieldControl.tsx
|
|
9957
|
+
|
|
9958
|
+
|
|
9959
|
+
|
|
9960
|
+
|
|
9961
|
+
const FieldControlBase = /*#__PURE__*/base_default()("div", true ? {
|
|
9962
|
+
target: "e1lr2tz0"
|
|
9963
|
+
} : 0)("display:flex;align-items:center;min-height:44px;height:auto;border-radius:8px;overflow:hidden;border:1px solid ", ({
|
|
9964
|
+
status,
|
|
9965
|
+
theme
|
|
9966
|
+
}) => {
|
|
9967
|
+
if (status === 'error') return theme.colors.red;
|
|
9968
|
+
if (status === 'success') return theme.colors.greenLighter;
|
|
9969
|
+
return theme.colors.grey;
|
|
9970
|
+
}, ";background:", ({
|
|
9971
|
+
disabled,
|
|
9972
|
+
theme
|
|
9973
|
+
}) => disabled ? theme.colors.greyLighter : theme.colors.white, ";&>*{background:transparent;}&:active,&:hover{background:", ({
|
|
9974
|
+
disabled,
|
|
9975
|
+
theme
|
|
9976
|
+
}) => disabled ? theme.colors.greyLighter : theme.colors.white, ";box-shadow:none;}&:hover{cursor:", ({
|
|
9977
|
+
disabled
|
|
9978
|
+
}) => disabled ? 'default' : 'pointer', ";}&:focus-within,&:active{border-color:", ({
|
|
9979
|
+
status,
|
|
9980
|
+
disabled,
|
|
9981
|
+
theme
|
|
9982
|
+
}) => {
|
|
9983
|
+
if (disabled) return theme.colors.grey;
|
|
9984
|
+
if (status === 'error') return theme.colors.red;
|
|
9985
|
+
if (status === 'success') return theme.colors.greenLighter;
|
|
9986
|
+
return theme.colors.blueRoyal;
|
|
9987
|
+
}, ";}" + ( true ? "" : 0));
|
|
9988
|
+
const isForwardRefComponent = component => {
|
|
9989
|
+
if (typeof component.type === 'object' && component.type.$$typeof?.toString() === 'Symbol(react.forward_ref)') {
|
|
9990
|
+
return true;
|
|
9991
|
+
}
|
|
9992
|
+
return false;
|
|
9993
|
+
};
|
|
9994
|
+
const FieldControl = /*#__PURE__*/external_react_default().forwardRef(function FieldControl({
|
|
9995
|
+
children,
|
|
9996
|
+
controlRef,
|
|
9997
|
+
...props
|
|
9998
|
+
}, ref) {
|
|
9999
|
+
const ctx = useFieldContext();
|
|
10000
|
+
const baseProps = {
|
|
10001
|
+
...props,
|
|
10002
|
+
...ctx
|
|
10003
|
+
};
|
|
10004
|
+
const internalRef = (0,external_react_namespaceObject.useRef)(null);
|
|
10005
|
+
let _children = typeof children === 'function' ? children(ctx) : children;
|
|
10006
|
+
if (ctx.forwardFocus && /*#__PURE__*/(0,external_react_namespaceObject.isValidElement)(_children) && isForwardRefComponent(_children)) {
|
|
10007
|
+
const setRef = defaultRef => element => {
|
|
10008
|
+
internalRef.current = element;
|
|
10009
|
+
if (defaultRef) {
|
|
10010
|
+
if (typeof defaultRef === 'function') {
|
|
10011
|
+
defaultRef(element);
|
|
10012
|
+
} else {
|
|
10013
|
+
defaultRef.current = element;
|
|
10014
|
+
}
|
|
10015
|
+
}
|
|
10016
|
+
};
|
|
10017
|
+
_children = /*#__PURE__*/(0,external_react_namespaceObject.cloneElement)(_children, {
|
|
10018
|
+
ref: setRef(children.ref)
|
|
10019
|
+
});
|
|
10020
|
+
}
|
|
10021
|
+
return (0,jsx_runtime_namespaceObject.jsx)(FieldControlBase, {
|
|
10022
|
+
...baseProps,
|
|
10023
|
+
ref: ref,
|
|
10024
|
+
onClick: event => {
|
|
10025
|
+
baseProps.onClick?.(event);
|
|
10026
|
+
if (controlRef) {
|
|
10027
|
+
controlRef.current?.focus?.();
|
|
10028
|
+
} else if (internalRef.current) {
|
|
10029
|
+
internalRef.current?.focus?.();
|
|
10030
|
+
}
|
|
10031
|
+
},
|
|
10032
|
+
children: _children
|
|
10033
|
+
});
|
|
10034
|
+
});
|
|
10035
|
+
;// ./src/components/Field/index.ts
|
|
10036
|
+
|
|
10037
|
+
|
|
10038
|
+
|
|
10039
|
+
|
|
10040
|
+
|
|
10041
|
+
|
|
9643
10042
|
;// ./src/components/TableFilters/styles.ts
|
|
9644
10043
|
function TableFilters_styles_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
9645
10044
|
|
|
@@ -10542,6 +10941,522 @@ const Filters = ({
|
|
|
10542
10941
|
};
|
|
10543
10942
|
;// ./src/components/Filters/index.ts
|
|
10544
10943
|
|
|
10944
|
+
;// ./src/components/Field/FieldDescription.tsx
|
|
10945
|
+
|
|
10946
|
+
|
|
10947
|
+
|
|
10948
|
+
const FieldDescription = ({
|
|
10949
|
+
children
|
|
10950
|
+
}) => {
|
|
10951
|
+
const ctx = useFieldContext();
|
|
10952
|
+
if (ctx.status !== 'basic') {
|
|
10953
|
+
return null;
|
|
10954
|
+
}
|
|
10955
|
+
return (0,jsx_runtime_namespaceObject.jsx)(FormHelperText_FormHelperText, {
|
|
10956
|
+
status: "basic",
|
|
10957
|
+
children: children
|
|
10958
|
+
});
|
|
10959
|
+
};
|
|
10960
|
+
;// ./src/components/Field/FieldError.tsx
|
|
10961
|
+
|
|
10962
|
+
|
|
10963
|
+
|
|
10964
|
+
const FieldError = ({
|
|
10965
|
+
children
|
|
10966
|
+
}) => {
|
|
10967
|
+
const ctx = useFieldContext();
|
|
10968
|
+
if (ctx.status !== 'error') {
|
|
10969
|
+
return null;
|
|
10970
|
+
}
|
|
10971
|
+
return (0,jsx_runtime_namespaceObject.jsx)(FormHelperText_FormHelperText, {
|
|
10972
|
+
status: "error",
|
|
10973
|
+
children: children
|
|
10974
|
+
});
|
|
10975
|
+
};
|
|
10976
|
+
;// ./src/components/Field/FieldSuccess.tsx
|
|
10977
|
+
|
|
10978
|
+
|
|
10979
|
+
|
|
10980
|
+
const FieldSuccess = ({
|
|
10981
|
+
children
|
|
10982
|
+
}) => {
|
|
10983
|
+
const ctx = useFieldContext();
|
|
10984
|
+
if (ctx.status !== 'success') {
|
|
10985
|
+
return null;
|
|
10986
|
+
}
|
|
10987
|
+
return (0,jsx_runtime_namespaceObject.jsx)(FormHelperText_FormHelperText, {
|
|
10988
|
+
status: "success",
|
|
10989
|
+
children: children
|
|
10990
|
+
});
|
|
10991
|
+
};
|
|
10992
|
+
;// ./src/components/FiltersMultiSelect/useFiltersMultiSelect.tsx
|
|
10993
|
+
|
|
10994
|
+
function useFilterMultiSelect({
|
|
10995
|
+
opened,
|
|
10996
|
+
defaultOpened,
|
|
10997
|
+
selectedFilters,
|
|
10998
|
+
defaultSelectedFilters,
|
|
10999
|
+
search,
|
|
11000
|
+
defaultSearch,
|
|
11001
|
+
onChange,
|
|
11002
|
+
onOpenedChange,
|
|
11003
|
+
onDropdownClose,
|
|
11004
|
+
onDropdownOpen,
|
|
11005
|
+
onSearchChange
|
|
11006
|
+
} = {}) {
|
|
11007
|
+
const [_opened, setOpened] = (0,hooks_namespaceObject.useUncontrolled)({
|
|
11008
|
+
value: opened,
|
|
11009
|
+
defaultValue: defaultOpened,
|
|
11010
|
+
finalValue: false,
|
|
11011
|
+
onChange: onOpenedChange
|
|
11012
|
+
});
|
|
11013
|
+
const [_selectedFilters, setSelectedFilters] = (0,hooks_namespaceObject.useUncontrolled)({
|
|
11014
|
+
value: selectedFilters,
|
|
11015
|
+
defaultValue: defaultSelectedFilters,
|
|
11016
|
+
finalValue: [],
|
|
11017
|
+
onChange
|
|
11018
|
+
});
|
|
11019
|
+
const [_search, setSearch] = (0,hooks_namespaceObject.useUncontrolled)({
|
|
11020
|
+
value: search,
|
|
11021
|
+
defaultValue: defaultSearch,
|
|
11022
|
+
finalValue: '',
|
|
11023
|
+
onChange: onSearchChange
|
|
11024
|
+
});
|
|
11025
|
+
const toggleDropdown = open => {
|
|
11026
|
+
const _open = open ?? !_opened;
|
|
11027
|
+
setOpened(_open);
|
|
11028
|
+
if (_open) {
|
|
11029
|
+
onDropdownOpen?.();
|
|
11030
|
+
} else {
|
|
11031
|
+
onDropdownClose?.();
|
|
11032
|
+
}
|
|
11033
|
+
};
|
|
11034
|
+
const selectFilters = (...filters) => {
|
|
11035
|
+
const filtersArray = Array.isArray(filters) ? filters : [filters];
|
|
11036
|
+
const newFilters = [..._selectedFilters];
|
|
11037
|
+
filtersArray.forEach(filter => {
|
|
11038
|
+
const index = newFilters.findIndex(f => f.id === filter.id);
|
|
11039
|
+
if (index === -1) {
|
|
11040
|
+
newFilters.push(filter);
|
|
11041
|
+
} else if (newFilters[index].type !== filter.type) {
|
|
11042
|
+
newFilters[index] = filter;
|
|
11043
|
+
}
|
|
11044
|
+
});
|
|
11045
|
+
setSelectedFilters(newFilters);
|
|
11046
|
+
};
|
|
11047
|
+
const unselectFilters = (...filters) => {
|
|
11048
|
+
const filtersArray = Array.isArray(filters) ? filters : [filters];
|
|
11049
|
+
const newFilters = _selectedFilters.filter(f => !filtersArray.includes(f));
|
|
11050
|
+
setSelectedFilters(newFilters);
|
|
11051
|
+
};
|
|
11052
|
+
const isSelected = id => _selectedFilters.find(f => f.id === id);
|
|
11053
|
+
return {
|
|
11054
|
+
opened: _opened,
|
|
11055
|
+
selectedFilters: _selectedFilters,
|
|
11056
|
+
search: _search,
|
|
11057
|
+
toggleDropdown,
|
|
11058
|
+
selectFilters,
|
|
11059
|
+
unselectFilters,
|
|
11060
|
+
isSelected,
|
|
11061
|
+
setSearch
|
|
11062
|
+
};
|
|
11063
|
+
}
|
|
11064
|
+
;// ./src/components/FiltersMultiSelect/FiltersMultiSelectProvider.tsx
|
|
11065
|
+
|
|
11066
|
+
const [FiltersMultiSelectProvider, useFiltersMultiSelectContext] = (0,hooks_namespaceObject.createSafeContext)('useFiltersMultiSelect must be used within a FiltersMultiSelectProvider');
|
|
11067
|
+
;// ./src/components/FiltersMultiSelect/components/FilterBadge.tsx
|
|
11068
|
+
|
|
11069
|
+
|
|
11070
|
+
|
|
11071
|
+
|
|
11072
|
+
|
|
11073
|
+
const FilterBadge = ({
|
|
11074
|
+
type,
|
|
11075
|
+
disabled,
|
|
11076
|
+
className,
|
|
11077
|
+
withRemoveButton,
|
|
11078
|
+
onRemove,
|
|
11079
|
+
children
|
|
11080
|
+
}) => {
|
|
11081
|
+
const theme = (0,react_namespaceObject.useTheme)();
|
|
11082
|
+
const colors = {
|
|
11083
|
+
include: {
|
|
11084
|
+
light: theme.colors.greenLighter,
|
|
11085
|
+
main: theme.colors.green,
|
|
11086
|
+
text: theme.colors.greenDark
|
|
11087
|
+
},
|
|
11088
|
+
exclude: {
|
|
11089
|
+
light: theme.colors.redLighter,
|
|
11090
|
+
main: theme.colors.red,
|
|
11091
|
+
text: theme.colors.redDark
|
|
11092
|
+
},
|
|
11093
|
+
group: {
|
|
11094
|
+
light: theme.colors.blueLighter,
|
|
11095
|
+
main: theme.colors.blue,
|
|
11096
|
+
text: theme.colors.blue
|
|
11097
|
+
}
|
|
11098
|
+
};
|
|
11099
|
+
const mixTarget = disabled ? theme.colors.greyLighter : theme.colors.white;
|
|
11100
|
+
const mixIfDisabled = color => disabled ? `color-mix(in srgb, ${color}, ${mixTarget})` : color;
|
|
11101
|
+
return (0,jsx_runtime_namespaceObject.jsxs)(Badge_Badge, {
|
|
11102
|
+
className: className,
|
|
11103
|
+
"data-filter-type": type,
|
|
11104
|
+
css: /*#__PURE__*/(0,react_namespaceObject.css)("cursor:default;font-weight:500;font-size:14px;display:flex;align-items:center;gap:10px;padding:0 12px;height:32px;border-radius:24px;border:1px solid transparent;box-shadow:none;background:linear-gradient(\n 295.98deg,\n color-mix(in srgb, ", colors[type].light, " 6%, ", mixTarget, ") 16.38%,\n color-mix(in srgb, ", colors[type].main, " 6%, ", mixTarget, ") 83.62%\n ) padding-box,linear-gradient(\n 295.98deg,\n ", mixIfDisabled(colors[type].light), " 16.38%,\n ", mixIfDisabled(colors[type].main), " 83.62%\n ) border-box;color:", mixIfDisabled(colors[type].text), ";& svg{path{stroke:", mixIfDisabled(colors[type].text), ";stroke-width:1;}}" + ( true ? "" : 0), true ? "" : 0),
|
|
11105
|
+
children: [children, withRemoveButton && (0,jsx_runtime_namespaceObject.jsx)(Button_Button, {
|
|
11106
|
+
variant: "tertiary",
|
|
11107
|
+
isDisabled: disabled,
|
|
11108
|
+
css: /*#__PURE__*/(0,react_namespaceObject.css)({
|
|
11109
|
+
padding: 0,
|
|
11110
|
+
cursor: disabled ? 'default' : 'pointer'
|
|
11111
|
+
}, true ? "" : 0, true ? "" : 0),
|
|
11112
|
+
onClick: e => {
|
|
11113
|
+
e.stopPropagation();
|
|
11114
|
+
onRemove?.();
|
|
11115
|
+
},
|
|
11116
|
+
endIcon: (0,jsx_runtime_namespaceObject.jsx)(Icon_Icon, {
|
|
11117
|
+
name: "cross",
|
|
11118
|
+
role: "button",
|
|
11119
|
+
size: 12
|
|
11120
|
+
})
|
|
11121
|
+
})]
|
|
11122
|
+
});
|
|
11123
|
+
};
|
|
11124
|
+
;// ./src/components/FiltersMultiSelect/components/FiltersMultiSelectEmpty.tsx
|
|
11125
|
+
|
|
11126
|
+
function FiltersMultiSelectEmpty_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
11127
|
+
|
|
11128
|
+
const FiltersMultiSelectEmptyBase = /*#__PURE__*/base_default()("div", true ? {
|
|
11129
|
+
target: "e1ldbojn0"
|
|
11130
|
+
} : 0)( true ? {
|
|
11131
|
+
name: "var55v",
|
|
11132
|
+
styles: "padding:12px;text-align:center;font-weight:500;font-size:13.33px"
|
|
11133
|
+
} : 0);
|
|
11134
|
+
const FiltersMultiSelectEmpty = ({
|
|
11135
|
+
children,
|
|
11136
|
+
...props
|
|
11137
|
+
}) => (0,jsx_runtime_namespaceObject.jsx)(FiltersMultiSelectEmptyBase, {
|
|
11138
|
+
...props,
|
|
11139
|
+
children: children
|
|
11140
|
+
});
|
|
11141
|
+
;// ./src/components/FiltersMultiSelect/FiltersMultiSelect.tsx
|
|
11142
|
+
|
|
11143
|
+
function FiltersMultiSelect_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
11144
|
+
|
|
11145
|
+
|
|
11146
|
+
|
|
11147
|
+
|
|
11148
|
+
|
|
11149
|
+
|
|
11150
|
+
|
|
11151
|
+
|
|
11152
|
+
|
|
11153
|
+
|
|
11154
|
+
|
|
11155
|
+
|
|
11156
|
+
|
|
11157
|
+
|
|
11158
|
+
var FiltersMultiSelect_ref = true ? {
|
|
11159
|
+
name: "w1nxbg",
|
|
11160
|
+
styles: "padding:6px 14px"
|
|
11161
|
+
} : 0;
|
|
11162
|
+
var FiltersMultiSelect_ref2 = true ? {
|
|
11163
|
+
name: "1a5utpy",
|
|
11164
|
+
styles: "gap:8px;flex-wrap:wrap;flex-grow:1"
|
|
11165
|
+
} : 0;
|
|
11166
|
+
var FiltersMultiSelect_ref3 = true ? {
|
|
11167
|
+
name: "chpy5q",
|
|
11168
|
+
styles: "with:auto;border:0 !important;padding:2px 0;height:32px;border-radius:0"
|
|
11169
|
+
} : 0;
|
|
11170
|
+
var FiltersMultiSelect_ref4 = true ? {
|
|
11171
|
+
name: "2f908b",
|
|
11172
|
+
styles: "& path{stroke-width:1;}"
|
|
11173
|
+
} : 0;
|
|
11174
|
+
var FiltersMultiSelect_ref5 = true ? {
|
|
11175
|
+
name: "1d3w5wq",
|
|
11176
|
+
styles: "width:100%"
|
|
11177
|
+
} : 0;
|
|
11178
|
+
const FiltersMultiSelect = ({
|
|
11179
|
+
children,
|
|
11180
|
+
description,
|
|
11181
|
+
disabled,
|
|
11182
|
+
emptyNode: controlledEmptyNode,
|
|
11183
|
+
error,
|
|
11184
|
+
icon,
|
|
11185
|
+
inputProps,
|
|
11186
|
+
label,
|
|
11187
|
+
placeholder,
|
|
11188
|
+
searchable = true,
|
|
11189
|
+
selectedFilters: controlledSelectedFilters,
|
|
11190
|
+
status,
|
|
11191
|
+
store: controlledStore,
|
|
11192
|
+
success,
|
|
11193
|
+
badgeClassName,
|
|
11194
|
+
inputClassName,
|
|
11195
|
+
wrapperClassName,
|
|
11196
|
+
onChange,
|
|
11197
|
+
register
|
|
11198
|
+
}) => {
|
|
11199
|
+
const id = (0,external_react_namespaceObject.useId)();
|
|
11200
|
+
const [wrapperRef] = (0,hooks_namespaceObject.useResizeObserver)();
|
|
11201
|
+
const inputRef = (0,external_react_namespaceObject.useRef)(null);
|
|
11202
|
+
const uncontrolledStore = useFilterMultiSelect({
|
|
11203
|
+
selectedFilters: controlledSelectedFilters,
|
|
11204
|
+
onChange
|
|
11205
|
+
});
|
|
11206
|
+
const store = controlledStore || uncontrolledStore;
|
|
11207
|
+
const {
|
|
11208
|
+
selectedFilters
|
|
11209
|
+
} = store;
|
|
11210
|
+
const emptyNode = controlledEmptyNode || (0,jsx_runtime_namespaceObject.jsx)(FiltersMultiSelectEmpty, {
|
|
11211
|
+
children: "No Items Found"
|
|
11212
|
+
});
|
|
11213
|
+
return (0,jsx_runtime_namespaceObject.jsx)(FiltersMultiSelectProvider, {
|
|
11214
|
+
value: {
|
|
11215
|
+
store,
|
|
11216
|
+
emptyNode
|
|
11217
|
+
},
|
|
11218
|
+
children: (0,jsx_runtime_namespaceObject.jsxs)(FieldRoot, {
|
|
11219
|
+
disabled: disabled,
|
|
11220
|
+
status: status,
|
|
11221
|
+
children: [label && (0,jsx_runtime_namespaceObject.jsx)(FieldLabel, {
|
|
11222
|
+
htmlFor: `formElement-search-${id}`,
|
|
11223
|
+
children: label
|
|
11224
|
+
}), (0,jsx_runtime_namespaceObject.jsx)(FieldControl, {
|
|
11225
|
+
controlRef: inputRef,
|
|
11226
|
+
children: (0,jsx_runtime_namespaceObject.jsxs)(Popover, {
|
|
11227
|
+
floatingOptions: {
|
|
11228
|
+
onOpenChange: (open, event, reason) => {
|
|
11229
|
+
if (disabled) return;
|
|
11230
|
+
if (reason === 'click' && event?.target === wrapperRef.current || ['outside-press', 'escape-key'].includes(reason || '')) {
|
|
11231
|
+
store.toggleDropdown(open);
|
|
11232
|
+
}
|
|
11233
|
+
},
|
|
11234
|
+
open: store.opened
|
|
11235
|
+
},
|
|
11236
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)(PopoverTrigger, {
|
|
11237
|
+
asChild: true,
|
|
11238
|
+
children: (0,jsx_runtime_namespaceObject.jsxs)(Wrapper_Wrapper, {
|
|
11239
|
+
css: FiltersMultiSelect_ref,
|
|
11240
|
+
ref: wrapperRef,
|
|
11241
|
+
className: wrapperClassName,
|
|
11242
|
+
children: [(0,jsx_runtime_namespaceObject.jsxs)(Wrapper_Wrapper, {
|
|
11243
|
+
css: FiltersMultiSelect_ref2,
|
|
11244
|
+
children: [icon, selectedFilters.map(filter => (0,jsx_runtime_namespaceObject.jsx)(FilterBadge, {
|
|
11245
|
+
className: badgeClassName,
|
|
11246
|
+
type: filter.type,
|
|
11247
|
+
disabled: disabled,
|
|
11248
|
+
withRemoveButton: true,
|
|
11249
|
+
onRemove: () => store.unselectFilters(filter),
|
|
11250
|
+
children: filter.label
|
|
11251
|
+
}, filter.id)), searchable && (0,jsx_runtime_namespaceObject.jsx)(Input_Input, {
|
|
11252
|
+
className: inputClassName,
|
|
11253
|
+
name: `search-${id}`,
|
|
11254
|
+
register: register,
|
|
11255
|
+
placeholder: placeholder,
|
|
11256
|
+
disabled: disabled,
|
|
11257
|
+
status: "custom",
|
|
11258
|
+
inputProps: {
|
|
11259
|
+
onChange: e => store.setSearch(e.target.value),
|
|
11260
|
+
onFocus: () => store.toggleDropdown(true),
|
|
11261
|
+
onKeyUp: e => {
|
|
11262
|
+
if (e.key === 'Escape') {
|
|
11263
|
+
inputRef.current?.blur();
|
|
11264
|
+
}
|
|
11265
|
+
},
|
|
11266
|
+
autoComplete: 'off',
|
|
11267
|
+
...inputProps
|
|
11268
|
+
},
|
|
11269
|
+
ref: inputRef,
|
|
11270
|
+
wrapperClassName: /*#__PURE__*/(0,css_namespaceObject.css)( true ? {
|
|
11271
|
+
name: "1sblf6",
|
|
11272
|
+
styles: "width:auto!important;flex-grow:1"
|
|
11273
|
+
} : 0),
|
|
11274
|
+
css: FiltersMultiSelect_ref3
|
|
11275
|
+
})]
|
|
11276
|
+
}), (0,jsx_runtime_namespaceObject.jsx)(Button_Button, {
|
|
11277
|
+
"data-testid": "clear-all-filters",
|
|
11278
|
+
variant: "tertiary",
|
|
11279
|
+
isDisabled: disabled,
|
|
11280
|
+
css: /*#__PURE__*/(0,react_namespaceObject.css)({
|
|
11281
|
+
height: '32px',
|
|
11282
|
+
display: disabled || !store.selectedFilters.length ? 'none' : 'inline-flex',
|
|
11283
|
+
cursor: disabled ? 'default' : 'pointer'
|
|
11284
|
+
}, true ? "" : 0, true ? "" : 0),
|
|
11285
|
+
onClick: () => store.unselectFilters(...store.selectedFilters),
|
|
11286
|
+
endIcon: (0,jsx_runtime_namespaceObject.jsx)(Icon_Icon, {
|
|
11287
|
+
name: "cross",
|
|
11288
|
+
role: "button",
|
|
11289
|
+
size: 12,
|
|
11290
|
+
css: FiltersMultiSelect_ref4
|
|
11291
|
+
})
|
|
11292
|
+
}), store.opened ? (0,jsx_runtime_namespaceObject.jsx)(Icon_Icon, {
|
|
11293
|
+
name: "carrot-up",
|
|
11294
|
+
size: 12
|
|
11295
|
+
}) : (0,jsx_runtime_namespaceObject.jsx)(Icon_Icon, {
|
|
11296
|
+
name: "carrot-down",
|
|
11297
|
+
size: 12
|
|
11298
|
+
})]
|
|
11299
|
+
})
|
|
11300
|
+
}), (0,jsx_runtime_namespaceObject.jsx)(PopoverContent, {
|
|
11301
|
+
css: /*#__PURE__*/(0,react_namespaceObject.css)({
|
|
11302
|
+
width: wrapperRef.current?.clientWidth,
|
|
11303
|
+
zIndex: 100
|
|
11304
|
+
}, true ? "" : 0, true ? "" : 0),
|
|
11305
|
+
isFocusManagerDisabled: true,
|
|
11306
|
+
children: (0,jsx_runtime_namespaceObject.jsx)(PopoverDescription, {
|
|
11307
|
+
css: FiltersMultiSelect_ref5,
|
|
11308
|
+
children: children
|
|
11309
|
+
})
|
|
11310
|
+
})]
|
|
11311
|
+
})
|
|
11312
|
+
}), (0,jsx_runtime_namespaceObject.jsx)(FieldDescription, {
|
|
11313
|
+
children: description
|
|
11314
|
+
}), (0,jsx_runtime_namespaceObject.jsx)(FieldError, {
|
|
11315
|
+
children: error
|
|
11316
|
+
}), (0,jsx_runtime_namespaceObject.jsx)(FieldSuccess, {
|
|
11317
|
+
children: success
|
|
11318
|
+
})]
|
|
11319
|
+
})
|
|
11320
|
+
});
|
|
11321
|
+
};
|
|
11322
|
+
;// ./src/components/FiltersMultiSelect/components/FiltersMultiSelectOption.tsx
|
|
11323
|
+
|
|
11324
|
+
function FiltersMultiSelectOption_EMOTION_STRINGIFIED_CSS_ERROR_() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
11325
|
+
|
|
11326
|
+
|
|
11327
|
+
|
|
11328
|
+
|
|
11329
|
+
|
|
11330
|
+
const FiltersMultiSelectOptionBase = /*#__PURE__*/base_default()("div", true ? {
|
|
11331
|
+
target: "e1a919p41"
|
|
11332
|
+
} : 0)("padding:12px;height:42px;font-weight:500;font-size:13.33px;display:flex;align-items:center;justify-content:space-between;&:hover{background:", ({
|
|
11333
|
+
theme
|
|
11334
|
+
}) => theme.colors.blueRoyal6, ";}" + ( true ? "" : 0));
|
|
11335
|
+
const FilterButton = /*#__PURE__*/base_default()(Button_Button, true ? {
|
|
11336
|
+
target: "e1a919p40"
|
|
11337
|
+
} : 0)( true ? {
|
|
11338
|
+
name: "hgien2",
|
|
11339
|
+
styles: "padding:0 4px;&:not(:disabled):hover{svg{path{stroke-width:2;}}}"
|
|
11340
|
+
} : 0);
|
|
11341
|
+
var FiltersMultiSelectOption_ref = true ? {
|
|
11342
|
+
name: "1eoy87d",
|
|
11343
|
+
styles: "display:flex;justify-content:space-between"
|
|
11344
|
+
} : 0;
|
|
11345
|
+
const FiltersMultiSelectOption = ({
|
|
11346
|
+
filter,
|
|
11347
|
+
children,
|
|
11348
|
+
selected
|
|
11349
|
+
}) => {
|
|
11350
|
+
const theme = (0,react_namespaceObject.useTheme)();
|
|
11351
|
+
const {
|
|
11352
|
+
store
|
|
11353
|
+
} = useFiltersMultiSelectContext();
|
|
11354
|
+
const {
|
|
11355
|
+
id,
|
|
11356
|
+
label,
|
|
11357
|
+
group
|
|
11358
|
+
} = filter;
|
|
11359
|
+
const selectedFilter = store.isSelected(filter.id);
|
|
11360
|
+
const selectFilters = type => {
|
|
11361
|
+
store.selectFilters({
|
|
11362
|
+
id,
|
|
11363
|
+
label,
|
|
11364
|
+
type
|
|
11365
|
+
});
|
|
11366
|
+
};
|
|
11367
|
+
const getIconName = type => {
|
|
11368
|
+
let iconName;
|
|
11369
|
+
switch (type) {
|
|
11370
|
+
case 'group':
|
|
11371
|
+
iconName = 'check-circle';
|
|
11372
|
+
break;
|
|
11373
|
+
case 'include':
|
|
11374
|
+
iconName = 'plus-circle';
|
|
11375
|
+
break;
|
|
11376
|
+
case 'exclude':
|
|
11377
|
+
iconName = 'minus-circle';
|
|
11378
|
+
break;
|
|
11379
|
+
}
|
|
11380
|
+
if (selectedFilter?.type === type) {
|
|
11381
|
+
iconName += '-inverted';
|
|
11382
|
+
}
|
|
11383
|
+
return iconName;
|
|
11384
|
+
};
|
|
11385
|
+
const Controls = () => (0,jsx_runtime_namespaceObject.jsx)("div", {
|
|
11386
|
+
css: FiltersMultiSelectOption_ref,
|
|
11387
|
+
children: group ? (0,jsx_runtime_namespaceObject.jsx)(FilterButton, {
|
|
11388
|
+
variant: "tertiary",
|
|
11389
|
+
isDisabled: selectedFilter?.type === 'group',
|
|
11390
|
+
endIcon: (0,jsx_runtime_namespaceObject.jsx)(Icon_Icon, {
|
|
11391
|
+
name: getIconName('group'),
|
|
11392
|
+
color: theme.colors.blue,
|
|
11393
|
+
size: 20,
|
|
11394
|
+
tooltip: "Add filter group"
|
|
11395
|
+
}),
|
|
11396
|
+
onClick: () => selectFilters('group')
|
|
11397
|
+
}) : (0,jsx_runtime_namespaceObject.jsxs)(jsx_runtime_namespaceObject.Fragment, {
|
|
11398
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)(FilterButton, {
|
|
11399
|
+
variant: "tertiary",
|
|
11400
|
+
isDisabled: selectedFilter?.type === 'include',
|
|
11401
|
+
endIcon: (0,jsx_runtime_namespaceObject.jsx)(Icon_Icon, {
|
|
11402
|
+
name: getIconName('include'),
|
|
11403
|
+
color: theme.colors.greenDark,
|
|
11404
|
+
size: 20,
|
|
11405
|
+
tooltip: "Add include filter"
|
|
11406
|
+
}),
|
|
11407
|
+
onClick: () => selectFilters('include')
|
|
11408
|
+
}), (0,jsx_runtime_namespaceObject.jsx)(FilterButton, {
|
|
11409
|
+
variant: "tertiary",
|
|
11410
|
+
isDisabled: selectedFilter?.type === 'exclude',
|
|
11411
|
+
endIcon: (0,jsx_runtime_namespaceObject.jsx)(Icon_Icon, {
|
|
11412
|
+
name: getIconName('exclude'),
|
|
11413
|
+
color: theme.colors.redDark,
|
|
11414
|
+
size: 20,
|
|
11415
|
+
tooltip: "Add exclude filter"
|
|
11416
|
+
}),
|
|
11417
|
+
onClick: () => selectFilters('exclude')
|
|
11418
|
+
})]
|
|
11419
|
+
})
|
|
11420
|
+
});
|
|
11421
|
+
return (0,jsx_runtime_namespaceObject.jsxs)(FiltersMultiSelectOptionBase, {
|
|
11422
|
+
"aria-selected": selected ?? !!selectedFilter,
|
|
11423
|
+
role: "option",
|
|
11424
|
+
children: [(0,jsx_runtime_namespaceObject.jsx)("span", {
|
|
11425
|
+
css: true,
|
|
11426
|
+
children: children
|
|
11427
|
+
}), (0,jsx_runtime_namespaceObject.jsx)(Controls, {})]
|
|
11428
|
+
});
|
|
11429
|
+
};
|
|
11430
|
+
;// ./src/components/FiltersMultiSelect/components/FiltersMultiSelectOptions.tsx
|
|
11431
|
+
|
|
11432
|
+
|
|
11433
|
+
|
|
11434
|
+
|
|
11435
|
+
const FiltersMultiselectOptionsBase = /*#__PURE__*/base_default()("div", true ? {
|
|
11436
|
+
target: "e4b1h580"
|
|
11437
|
+
} : 0)("display:flex;flex-direction:column;background:", ({
|
|
11438
|
+
theme
|
|
11439
|
+
}) => theme.colors.white, ";border-radius:8px;overflow:hidden;box-shadow:-4px 4px 14px 0 ", ({
|
|
11440
|
+
theme
|
|
11441
|
+
}) => theme.colors.greyDarker14, ";" + ( true ? "" : 0));
|
|
11442
|
+
const FiltersMultiSelectOptions = ({
|
|
11443
|
+
children,
|
|
11444
|
+
...props
|
|
11445
|
+
}) => {
|
|
11446
|
+
const ctx = useFiltersMultiSelectContext();
|
|
11447
|
+
const childrenArray = external_react_default().Children.toArray(children).filter(Boolean);
|
|
11448
|
+
return (0,jsx_runtime_namespaceObject.jsx)(FiltersMultiselectOptionsBase, {
|
|
11449
|
+
role: "listbox",
|
|
11450
|
+
...props,
|
|
11451
|
+
children: childrenArray.length ? childrenArray : ctx.emptyNode
|
|
11452
|
+
});
|
|
11453
|
+
};
|
|
11454
|
+
;// ./src/components/FiltersMultiSelect/index.ts
|
|
11455
|
+
|
|
11456
|
+
|
|
11457
|
+
|
|
11458
|
+
|
|
11459
|
+
|
|
10545
11460
|
;// ./src/components/Icon/index.ts
|
|
10546
11461
|
|
|
10547
11462
|
|
|
@@ -13934,6 +14849,8 @@ const WithVisibleUpToLG = (Component, styles) => {
|
|
|
13934
14849
|
|
|
13935
14850
|
|
|
13936
14851
|
|
|
14852
|
+
|
|
14853
|
+
|
|
13937
14854
|
|
|
13938
14855
|
|
|
13939
14856
|
|