@konstructio/ui 0.1.2-alpha.5 → 0.1.2-alpha.50
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/{Combination-VYaRRJBZ.js → Combination-BtmnusWq.js} +141 -138
- package/dist/DatePicker.css +1 -1
- package/dist/Modal-CjC-CIJ8.js +99 -0
- package/dist/assets/icons/index.js +7 -0
- package/dist/chevron-down-DgT-uSF9.js +5 -0
- package/dist/chevron-right-DYvXLeql.js +7 -0
- package/dist/chevron-up-DEfvgPCw.js +54 -0
- package/dist/chevron-up-DrQr2Fwd.js +5 -0
- package/dist/components/Alert/Alert.js +2 -2
- package/dist/components/AlertDialog/AlertDialog.js +81 -53
- package/dist/components/AlertDialog/components/AlertDialogTrigger.js +3 -2
- package/dist/components/AlertDialog/components/index.js +1 -1
- package/dist/components/Badge/Badge.js +41 -44
- package/dist/components/Badge/Badge.variants.js +52 -13
- package/dist/components/Breadcrumb/Breadcrumb.js +1 -1
- package/dist/components/Breadcrumb/Breadcrumb.variants.js +3 -3
- package/dist/components/Breadcrumb/components/Item/Item.js +22 -22
- package/dist/components/Breadcrumb/components/Item/Item.variants.js +25 -14
- package/dist/components/Breadcrumb/hooks/useBreadcrumb.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/Button.variants.js +108 -98
- package/dist/components/Card/Card.variants.js +7 -12
- package/dist/components/Checkbox/Checkbox.js +108 -105
- package/dist/components/Checkbox/Checkbox.variants.js +34 -7
- package/dist/components/Command/Command.js +2 -2
- package/dist/components/Command/components/Command.js +1 -1
- package/dist/components/Command/components/CommandEmpty.js +1 -1
- package/dist/components/Command/components/CommandGroup.js +1 -1
- package/dist/components/Command/components/CommandInput.js +2 -2
- package/dist/components/Command/components/CommandItem.js +1 -1
- package/dist/components/Command/components/CommandList.js +1 -1
- package/dist/components/Command/components/CommandSeparator.js +1 -1
- package/dist/components/Command/components/DialogContent.js +2 -2
- package/dist/components/Command/components/DialogOverlay.js +1 -1
- package/dist/components/Counter/Counter.js +210 -0
- package/dist/components/Counter/Counter.variants.js +70 -0
- package/dist/components/Datepicker/DatePicker.js +1587 -1353
- package/dist/components/Divider/Divider.variants.js +1 -1
- package/dist/components/DropdownButton/DropdownButton.js +1 -1
- package/dist/components/Filter/Filter.js +1 -1
- package/dist/components/Filter/Filter.variants.js +8 -7
- package/dist/components/Filter/components/BadgeDropdown/BadgeMultiSelect.js +71 -45
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.hook.js +2 -2
- package/dist/components/Filter/components/DateFilterDropdown/DateFilterDropdown.js +76 -43
- package/dist/components/Filter/components/ResetButton/ResetButton.js +15 -12
- package/dist/components/Filter/events/index.js +3 -3
- package/dist/components/ImageUpload/ImageUpload.js +221 -0
- package/dist/components/ImageUpload/ImageUpload.variants.js +109 -0
- package/dist/components/Input/Input.js +185 -118
- package/dist/components/Input/Input.variants.js +24 -19
- package/dist/components/Loading/Loading.js +1 -7
- package/dist/components/Modal/Modal.js +2 -2
- package/dist/components/Modal/components/Body/Body.js +1 -1
- package/dist/components/Modal/components/Footer/Footer.js +1 -1
- package/dist/components/Modal/components/Header/Header.js +1 -1
- package/dist/components/Modal/components/Wrapper/Wrapper.js +4 -4
- package/dist/components/Modal/components/index.js +1 -1
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.js +34 -0
- package/dist/components/MultiSelectDropdown/MultiSelectDropdown.variants.js +30 -0
- package/dist/components/MultiSelectDropdown/components/Item/Item.js +30 -0
- package/dist/components/MultiSelectDropdown/components/Item/Item.variants.js +38 -0
- package/dist/components/MultiSelectDropdown/components/List/List.js +30 -0
- package/dist/components/MultiSelectDropdown/components/List/List.variants.js +25 -0
- package/dist/components/MultiSelectDropdown/components/Wrapper/Wrapper.js +119 -0
- package/dist/components/MultiSelectDropdown/components/index.js +8 -0
- package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.context.js +21 -0
- package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.hook.js +13 -0
- package/dist/components/MultiSelectDropdown/contexts/MultiSelectDropdown.provider.js +138 -0
- package/dist/components/MultiSelectDropdown/contexts/index.js +6 -0
- package/dist/components/MultiSelectDropdown/hooks/useMultiSelectDropdown.js +32 -0
- package/dist/components/PhoneNumberInput/PhoneNumberInput.js +8 -0
- package/dist/components/PhoneNumberInput/PhoneNumberInput.variants.js +46 -0
- package/dist/components/PhoneNumberInput/components/FlagContent/FlagContent.js +36 -0
- package/dist/components/PhoneNumberInput/components/FlagSelectorList/FlagSelectorList.js +690 -0
- package/dist/components/PhoneNumberInput/components/FlagSelectorWrapper/FlagSelectorWrapper.js +60 -0
- package/dist/components/PhoneNumberInput/components/TruncateText/TruncateText.js +45 -0
- package/dist/components/PhoneNumberInput/components/Wrapper.js +651 -0
- package/dist/components/PhoneNumberInput/components/index.js +6 -0
- package/dist/components/PhoneNumberInput/contexts/index.js +8 -0
- package/dist/components/PhoneNumberInput/contexts/phone-number.context.js +28 -0
- package/dist/components/PhoneNumberInput/contexts/phone-number.hook.js +13 -0
- package/dist/components/PhoneNumberInput/contexts/phone-number.provider.js +6144 -0
- package/dist/components/PhoneNumberInput/utils/index.js +11 -0
- package/dist/components/PieChart/PieChart.js +463 -482
- package/dist/components/Radio/Radio.js +47 -44
- package/dist/components/Radio/Radio.variants.js +12 -8
- package/dist/components/RadioCard/RadioCard.variants.js +1 -6
- package/dist/components/RadioGroup/RadioGroup.js +10 -10
- package/dist/components/Range/Range.js +1 -1
- package/dist/components/Select/Select.js +48 -0
- package/dist/components/{Dropdown/Dropdown.variants.js → Select/Select.variants.js} +17 -11
- package/dist/components/Select/components/List/List.js +172 -0
- package/dist/components/{Dropdown → Select}/components/List/List.variants.js +11 -8
- package/dist/components/Select/components/ListItem/ListItem.js +117 -0
- package/dist/components/{Dropdown → Select}/components/ListItem/ListItem.variants.js +5 -4
- package/dist/components/Select/components/Wrapper.js +226 -0
- package/dist/components/Select/constants/index.js +4 -0
- package/dist/components/Select/constants/pagination.js +4 -0
- package/dist/components/Select/contexts/index.js +6 -0
- package/dist/components/Select/contexts/select.context.js +36 -0
- package/dist/components/Select/contexts/select.hook.js +11 -0
- package/dist/components/Select/contexts/select.provider.js +58 -0
- package/dist/components/Select/hooks/useNavigationList.js +50 -0
- package/dist/components/Select/hooks/useSelect.js +103 -0
- package/dist/components/Sidebar/Sidebar.variants.js +2 -2
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Switch/Switch.js +156 -129
- package/dist/components/Switch/Switch.variants.js +19 -10
- package/dist/components/Tabs/Tabs.js +1 -1
- package/dist/components/Tabs/Tabs.variants.js +4 -3
- package/dist/components/Tabs/components/Content.js +1 -1
- package/dist/components/Tabs/components/List.js +1 -1
- package/dist/components/Tabs/components/Trigger.js +1 -1
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/Tag/Tag.variants.js +1 -0
- package/dist/components/TagSelect/components/Wrapper/Wrapper.js +49 -98
- package/dist/components/TimePicker/TimePicker.js +1 -1
- package/dist/components/TimePicker/TimePicker.variants.js +26 -14
- package/dist/components/TimePicker/components/MeridianList/MeridianList.js +30 -20
- package/dist/components/TimePicker/components/Wrapper/Wrapper.js +57 -35
- package/dist/components/TimePicker/components/WrapperList/WrapperList.js +53 -45
- package/dist/components/Toast/Toast.js +283 -256
- package/dist/components/Toast/Toast.variants.js +37 -24
- package/dist/components/Tooltip/Tooltip.js +15 -14
- package/dist/components/Tooltip/Tooltip.variants.js +5 -4
- package/dist/components/Typography/Typography.js +23 -25
- package/dist/components/Typography/Typography.variants.js +55 -52
- package/dist/components/VirtualizedTable/VirtualizedTable.js +97 -71
- package/dist/components/VirtualizedTable/components/Actions/Actions.js +95 -33
- package/dist/components/VirtualizedTable/components/Body/Body.js +73 -21
- package/dist/components/VirtualizedTable/components/DotPaginate/DotPaginate.js +94 -91
- package/dist/components/VirtualizedTable/components/DropdownPaginate/DropdownPaginate.js +20 -20
- package/dist/components/VirtualizedTable/components/Filter/Filter.js +61 -44
- package/dist/components/VirtualizedTable/components/FormPaginate/FormPaginate.js +33 -21
- package/dist/components/VirtualizedTable/components/Header/Header.js +61 -41
- package/dist/components/VirtualizedTable/components/Pagination/Pagination.js +43 -22
- package/dist/components/VirtualizedTable/components/Skeleton/Skeleton.js +106 -0
- package/dist/components/VirtualizedTable/components/TruncateText/TruncateText.js +22 -1858
- package/dist/components/VirtualizedTable/components/WrapperBody/WrapperBody.js +27 -0
- package/dist/components/VirtualizedTable/components/index.js +8 -6
- package/dist/components/VirtualizedTable/contexts/table.context.js +1 -0
- package/dist/components/VirtualizedTable/contexts/table.provider.js +68 -761
- package/dist/components/index.js +94 -86
- package/dist/contexts/theme.provider.js +0 -1
- package/dist/{createLucideIcon-D2CN7Ma9.js → createLucideIcon-D4r5Phnh.js} +0 -24
- package/dist/ellipsis-vertical-BVPtjl5f.js +9 -0
- package/dist/{index-C1g_chDT.js → index-AV6ZtGhy.js} +2 -2
- package/dist/index-BG8O18ZY.js +93 -0
- package/dist/index-BKjcReYh.js +55 -0
- package/dist/{index-N2OStZoU.js → index-BOE_3f_Z.js} +4 -25
- package/dist/{index-Cd2vhaop.js → index-BlSRBdPy.js} +5 -6
- package/dist/index-BmVmDQGH.js +662 -0
- package/dist/index-BvoZGpli.js +60 -0
- package/dist/index-Byr10W8m.js +1873 -0
- package/dist/{index-Dx2grAuN.js → index-CSWGJT-v.js} +0 -20
- package/dist/index-CeZcoQDw.js +479 -0
- package/dist/index-D6KzX_ef.js +135 -0
- package/dist/{index-B7t8D14s.js → index-D9SSJ6om.js} +4 -4
- package/dist/index-DKfEnhKr.js +200 -0
- package/dist/index-DLcqcWxM.js +29 -0
- package/dist/{index-ti1b9kqV.js → index-DMb4KD0b.js} +4 -4
- package/dist/{index-BAEWsOG1.js → index-DtEcCIrM.js} +1 -1
- package/dist/{index-bwWKd82e.js → index-Dy59FQl5.js} +1 -1
- package/dist/{index-C84F4YyO.js → index-gSPwC-1I.js} +10 -11
- package/dist/{index-Bnb0ezr3.js → index-vcSp8YRZ.js} +11 -12
- package/dist/index.d.ts +2142 -99
- package/dist/index.js +116 -106
- package/dist/libphonenumber-FTwQ9nyV.js +11549 -0
- package/dist/loader-juvMSJ9L.js +5 -0
- package/dist/package.json +43 -33
- package/dist/styles.css +1 -1
- package/dist/ui/civo-theme.css +194 -168
- package/dist/ui/theme.css +27 -0
- package/dist/{useBreadcrumb-B8DnuqkR.js → useBreadcrumb-BAHbGQ_O.js} +0 -10
- package/dist/utils/index.js +534 -501
- package/dist/x-BXShoIAM.js +8 -0
- package/dist/{x-4F_5p77m.js → x-Eoa9FJjA.js} +1 -1
- package/package.json +43 -33
- package/dist/Modal-D-NOEWMX.js +0 -98
- package/dist/chevron-down-MZvQoT2F.js +0 -11
- package/dist/chevron-right-VYBOBhRt.js +0 -19
- package/dist/components/Dropdown/Dropdown.js +0 -42
- package/dist/components/Dropdown/components/List/List.js +0 -79
- package/dist/components/Dropdown/components/ListItem/ListItem.js +0 -67
- package/dist/components/Dropdown/components/Wrapper.js +0 -205
- package/dist/components/Dropdown/contexts/dropdown.context.js +0 -19
- package/dist/components/Dropdown/contexts/dropdown.hook.js +0 -13
- package/dist/components/Dropdown/contexts/dropdown.provider.js +0 -30
- package/dist/components/Dropdown/contexts/index.js +0 -6
- package/dist/components/Dropdown/hooks/useDropdown.js +0 -58
- package/dist/components/Dropdown/hooks/useNavigationList.js +0 -62
- package/dist/components/NumberInput/NumberInput.js +0 -179
- package/dist/components/NumberInput/NumberInput.variants.js +0 -50
- package/dist/components/TimePicker/components/WrapperList/WrapperList.variants.js +0 -16
- package/dist/index-BITvcJAz.js +0 -423
- package/dist/index-BfXxHr_2.js +0 -125
- package/dist/index-Cvx4lqTq.js +0 -47
- package/dist/index-DBbEcSUG.js +0 -31
- package/dist/index-DQH6odE9.js +0 -82
- package/dist/index-DzIBBMjs.js +0 -436
- package/dist/index-os7vysFS.js +0 -131
- /package/dist/components/{Dropdown → Select}/components/EmptyList.js +0 -0
- /package/dist/components/{Dropdown → Select}/components/index.js +0 -0
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@konstructio/ui",
|
|
3
3
|
"description": "A set of reusable and customizable React components built for konstruct.io",
|
|
4
4
|
"private": false,
|
|
5
|
-
"version": "0.1.2-alpha.
|
|
5
|
+
"version": "0.1.2-alpha.50",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "dist/index.js",
|
|
@@ -59,29 +59,34 @@
|
|
|
59
59
|
"@radix-ui/react-checkbox": "^1.3.3",
|
|
60
60
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
61
61
|
"@radix-ui/react-slider": "^1.3.6",
|
|
62
|
-
"@radix-ui/react-slot": "^1.2.
|
|
62
|
+
"@radix-ui/react-slot": "^1.2.4",
|
|
63
63
|
"@radix-ui/react-switch": "^1.2.6",
|
|
64
64
|
"@radix-ui/react-tabs": "^1.1.13",
|
|
65
65
|
"@radix-ui/react-toast": "^1.2.15",
|
|
66
66
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
67
|
-
"@radix-ui/react-visually-hidden": "^1.2.
|
|
68
|
-
"@
|
|
67
|
+
"@radix-ui/react-visually-hidden": "^1.2.4",
|
|
68
|
+
"@react-input/mask": "^2.0.4",
|
|
69
69
|
"@tanstack/react-table": "^8.21.3",
|
|
70
|
+
"@tanstack/react-virtual": "^3.13.18",
|
|
70
71
|
"chart.js": "^4.5.1",
|
|
71
72
|
"class-variance-authority": "^0.7.1",
|
|
72
73
|
"clsx": "^2.1.1",
|
|
73
74
|
"cmdk": "^1.1.1",
|
|
74
75
|
"countries-and-timezones": "^3.8.0",
|
|
76
|
+
"country-flag-icons": "^1.6.4",
|
|
77
|
+
"google-libphonenumber": "^3.2.43",
|
|
78
|
+
"i18n-iso-countries": "^7.14.0",
|
|
75
79
|
"js-cookie": "^3.0.5",
|
|
76
|
-
"lucide-react": "^0.
|
|
77
|
-
"react-chartjs-2": "^5.3.
|
|
78
|
-
"react-day-picker": "^9.
|
|
80
|
+
"lucide-react": "^0.562.0",
|
|
81
|
+
"react-chartjs-2": "^5.3.1",
|
|
82
|
+
"react-day-picker": "^9.13.0",
|
|
79
83
|
"react-feather": "^2.0.10",
|
|
80
|
-
"react-focus-lock": "^2.13.
|
|
81
|
-
"react-remove-scroll": "^2.7.
|
|
82
|
-
"tailwind-merge": "^3.
|
|
84
|
+
"react-focus-lock": "^2.13.7",
|
|
85
|
+
"react-remove-scroll": "^2.7.2",
|
|
86
|
+
"tailwind-merge": "^3.4.0"
|
|
83
87
|
},
|
|
84
88
|
"peerDependencies": {
|
|
89
|
+
"@tanstack/react-query": "^5.90",
|
|
85
90
|
"@types/react": "*",
|
|
86
91
|
"@types/react-dom": "*",
|
|
87
92
|
"react": "^16.8 || ^17.0 || ^18.0 || ^19.0",
|
|
@@ -107,47 +112,52 @@
|
|
|
107
112
|
},
|
|
108
113
|
"@types/react-router-dom": {
|
|
109
114
|
"optional": true
|
|
115
|
+
},
|
|
116
|
+
"@tanstack/react-query": {
|
|
117
|
+
"optional": false
|
|
110
118
|
}
|
|
111
119
|
},
|
|
112
120
|
"devDependencies": {
|
|
113
|
-
"@faker-js/faker": "^10.
|
|
114
|
-
"@rollup/plugin-alias": "^
|
|
115
|
-
"@storybook/addon-docs": "^
|
|
116
|
-
"@storybook/addon-links": "^
|
|
117
|
-
"@storybook/react-vite": "^
|
|
118
|
-
"@tailwindcss/vite": "^4.1.
|
|
121
|
+
"@faker-js/faker": "^10.2.0",
|
|
122
|
+
"@rollup/plugin-alias": "^6.0.0",
|
|
123
|
+
"@storybook/addon-docs": "^10.1.11",
|
|
124
|
+
"@storybook/addon-links": "^10.1.11",
|
|
125
|
+
"@storybook/react-vite": "^10.1.11",
|
|
126
|
+
"@tailwindcss/vite": "^4.1.18",
|
|
127
|
+
"@tanstack/react-query": "^5.90.17",
|
|
119
128
|
"@testing-library/jest-dom": "^6.9.1",
|
|
120
|
-
"@testing-library/react": "^16.3.
|
|
129
|
+
"@testing-library/react": "^16.3.1",
|
|
121
130
|
"@testing-library/user-event": "^14.6.1",
|
|
131
|
+
"@types/google-libphonenumber": "^7.4.30",
|
|
122
132
|
"@types/jest-axe": "^3.5.9",
|
|
123
133
|
"@types/js-cookie": "^3.0.6",
|
|
124
|
-
"@types/lodash": "^4.17.
|
|
125
|
-
"@types/react": "^19.2.
|
|
126
|
-
"@types/react-dom": "^19.2.
|
|
127
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
128
|
-
"@typescript-eslint/parser": "^8.
|
|
129
|
-
"@vitejs/plugin-react": "^5.
|
|
134
|
+
"@types/lodash": "^4.17.23",
|
|
135
|
+
"@types/react": "^19.2.8",
|
|
136
|
+
"@types/react-dom": "^19.2.3",
|
|
137
|
+
"@typescript-eslint/eslint-plugin": "^8.53.0",
|
|
138
|
+
"@typescript-eslint/parser": "^8.53.0",
|
|
139
|
+
"@vitejs/plugin-react": "^5.1.2",
|
|
130
140
|
"@vitest/coverage-v8": "^3.2.4",
|
|
131
|
-
"autoprefixer": "^10.4.
|
|
132
|
-
"eslint": "^9.
|
|
141
|
+
"autoprefixer": "^10.4.23",
|
|
142
|
+
"eslint": "^9.39.2",
|
|
133
143
|
"eslint-plugin-react": "^7.37.5",
|
|
134
144
|
"eslint-plugin-react-hooks": "^6.1.1",
|
|
135
145
|
"eslint-plugin-react-refresh": "^0.4.23",
|
|
136
|
-
"eslint-plugin-storybook": "^9.1.
|
|
146
|
+
"eslint-plugin-storybook": "^9.1.13",
|
|
137
147
|
"eslint-plugin-vitest": "^0.5.4",
|
|
138
|
-
"glob": "^
|
|
148
|
+
"glob": "^13.0.0",
|
|
139
149
|
"husky": "^9.1.7",
|
|
140
150
|
"jest-axe": "^10.0.0",
|
|
141
|
-
"jsdom": "^27.
|
|
151
|
+
"jsdom": "^27.4.0",
|
|
142
152
|
"lodash": "^4.17.21",
|
|
143
153
|
"postcss": "^8.5.6",
|
|
144
|
-
"prettier": "^3.
|
|
145
|
-
"rimraf": "^6.
|
|
146
|
-
"storybook": "^
|
|
147
|
-
"tailwindcss": "^4.1.
|
|
154
|
+
"prettier": "^3.7.4",
|
|
155
|
+
"rimraf": "^6.1.2",
|
|
156
|
+
"storybook": "^10.1.11",
|
|
157
|
+
"tailwindcss": "^4.1.18",
|
|
148
158
|
"ts-node": "^10.9.2",
|
|
149
159
|
"typescript": "^5.9.3",
|
|
150
|
-
"vite": "^7.1
|
|
160
|
+
"vite": "^7.3.1",
|
|
151
161
|
"vite-plugin-dts": "^4.5.4",
|
|
152
162
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
153
163
|
"vite-plugin-svgr": "^4.5.0",
|
package/dist/Modal-D-NOEWMX.js
DELETED
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { Body as b } from "./components/Modal/components/Body/Body.js";
|
|
2
|
-
import { Footer as g } from "./components/Modal/components/Footer/Footer.js";
|
|
3
|
-
import { Header as v } from "./components/Modal/components/Header/Header.js";
|
|
4
|
-
import { jsx as n, jsxs as p } from "react/jsx-runtime";
|
|
5
|
-
import { Children as i, isValidElement as s, useEffect as w } from "react";
|
|
6
|
-
import { r as x } from "./index-BITvcJAz.js";
|
|
7
|
-
import { R as A } from "./index-DBbEcSUG.js";
|
|
8
|
-
import { R as E } from "./Combination-VYaRRJBZ.js";
|
|
9
|
-
import { cn as f } from "./utils/index.js";
|
|
10
|
-
import { buttonCloseVariants as N, modalVariants as R } from "./components/Modal/components/Wrapper/Wrapper.variants.js";
|
|
11
|
-
import { X as k } from "./x-4F_5p77m.js";
|
|
12
|
-
const B = ({
|
|
13
|
-
children: e,
|
|
14
|
-
theme: t,
|
|
15
|
-
className: m,
|
|
16
|
-
buttonCloseClassName: d,
|
|
17
|
-
onClose: a
|
|
18
|
-
}) => {
|
|
19
|
-
const l = i.toArray(e).find(
|
|
20
|
-
(o) => s(o) && o.type === r.Header
|
|
21
|
-
), c = i.toArray(e).find(
|
|
22
|
-
(o) => s(o) && o.type === r.Body
|
|
23
|
-
), y = i.toArray(e).find(
|
|
24
|
-
(o) => s(o) && o.type === r.Footer
|
|
25
|
-
), u = i.toArray(e).filter(
|
|
26
|
-
(o) => !s(o) || ![r.Header, r.Body, r.Footer].includes(
|
|
27
|
-
o.type
|
|
28
|
-
)
|
|
29
|
-
);
|
|
30
|
-
return /* @__PURE__ */ n(E, { children: /* @__PURE__ */ p(
|
|
31
|
-
"div",
|
|
32
|
-
{
|
|
33
|
-
className: "fixed inset-0 grid place-content-center",
|
|
34
|
-
"data-theme": t,
|
|
35
|
-
children: [
|
|
36
|
-
/* @__PURE__ */ n(
|
|
37
|
-
"div",
|
|
38
|
-
{
|
|
39
|
-
className: "absolute inset-0 bg-black opacity-75 animate-in fade-in-0",
|
|
40
|
-
onClick: a,
|
|
41
|
-
role: "presentation"
|
|
42
|
-
}
|
|
43
|
-
),
|
|
44
|
-
/* @__PURE__ */ p(
|
|
45
|
-
"div",
|
|
46
|
-
{
|
|
47
|
-
className: f(
|
|
48
|
-
R({
|
|
49
|
-
className: m
|
|
50
|
-
})
|
|
51
|
-
),
|
|
52
|
-
role: "dialog",
|
|
53
|
-
"aria-modal": "true",
|
|
54
|
-
children: [
|
|
55
|
-
l,
|
|
56
|
-
/* @__PURE__ */ p(
|
|
57
|
-
"button",
|
|
58
|
-
{
|
|
59
|
-
className: f(
|
|
60
|
-
N({
|
|
61
|
-
className: d
|
|
62
|
-
})
|
|
63
|
-
),
|
|
64
|
-
onClick: a,
|
|
65
|
-
children: [
|
|
66
|
-
/* @__PURE__ */ n(k, {}),
|
|
67
|
-
/* @__PURE__ */ n(A, { children: "Dismiss modal" })
|
|
68
|
-
]
|
|
69
|
-
}
|
|
70
|
-
),
|
|
71
|
-
c ?? u,
|
|
72
|
-
y
|
|
73
|
-
]
|
|
74
|
-
}
|
|
75
|
-
)
|
|
76
|
-
]
|
|
77
|
-
}
|
|
78
|
-
) });
|
|
79
|
-
}, r = ({ isOpen: e, onClose: t, container: m, ...d }) => (w(() => {
|
|
80
|
-
const a = new AbortController(), l = (c) => {
|
|
81
|
-
c.code === "Escape" && t?.();
|
|
82
|
-
};
|
|
83
|
-
return window.addEventListener("keydown", l, {
|
|
84
|
-
signal: a.signal
|
|
85
|
-
}), () => {
|
|
86
|
-
a.abort();
|
|
87
|
-
};
|
|
88
|
-
}, [t]), e ? x.createPortal(
|
|
89
|
-
/* @__PURE__ */ n(B, { ...d, onClose: t }),
|
|
90
|
-
m || document.body
|
|
91
|
-
) : null);
|
|
92
|
-
r.Header = v;
|
|
93
|
-
r.Body = b;
|
|
94
|
-
r.Footer = g;
|
|
95
|
-
export {
|
|
96
|
-
r as M,
|
|
97
|
-
B as W
|
|
98
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { c as o } from "./createLucideIcon-D2CN7Ma9.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.545.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const n = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], e = o("chevron-down", n);
|
|
9
|
-
export {
|
|
10
|
-
e as C
|
|
11
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { c as o } from "./createLucideIcon-D2CN7Ma9.js";
|
|
2
|
-
/**
|
|
3
|
-
* @license lucide-react v0.545.0 - ISC
|
|
4
|
-
*
|
|
5
|
-
* This source code is licensed under the ISC license.
|
|
6
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
-
*/
|
|
8
|
-
const e = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], n = o("chevron-left", e);
|
|
9
|
-
/**
|
|
10
|
-
* @license lucide-react v0.545.0 - ISC
|
|
11
|
-
*
|
|
12
|
-
* This source code is licensed under the ISC license.
|
|
13
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
14
|
-
*/
|
|
15
|
-
const t = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], h = o("chevron-right", t);
|
|
16
|
-
export {
|
|
17
|
-
n as C,
|
|
18
|
-
h as a
|
|
19
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { jsx as t, jsxs as p } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as n } from "react";
|
|
3
|
-
import { DropdownProvider as c } from "./contexts/dropdown.provider.js";
|
|
4
|
-
import { Wrapper as x } from "./components/Wrapper.js";
|
|
5
|
-
const N = n(
|
|
6
|
-
({
|
|
7
|
-
onChange: r,
|
|
8
|
-
onBlur: l,
|
|
9
|
-
value: a,
|
|
10
|
-
error: s,
|
|
11
|
-
helperText: e,
|
|
12
|
-
name: o,
|
|
13
|
-
highlightSearch: i,
|
|
14
|
-
...d
|
|
15
|
-
}, m) => /* @__PURE__ */ t(
|
|
16
|
-
c,
|
|
17
|
-
{
|
|
18
|
-
highlightSearch: i,
|
|
19
|
-
name: o,
|
|
20
|
-
value: a,
|
|
21
|
-
onBlur: l,
|
|
22
|
-
onChange: r,
|
|
23
|
-
children: /* @__PURE__ */ p("div", { className: "relative w-full", children: [
|
|
24
|
-
/* @__PURE__ */ t(
|
|
25
|
-
x,
|
|
26
|
-
{
|
|
27
|
-
name: o,
|
|
28
|
-
error: s,
|
|
29
|
-
ref: m,
|
|
30
|
-
onBlur: l,
|
|
31
|
-
...d
|
|
32
|
-
}
|
|
33
|
-
),
|
|
34
|
-
s ? /* @__PURE__ */ t("span", { className: "text-xs text-red-700", children: s }) : null,
|
|
35
|
-
!s && e ? /* @__PURE__ */ t("span", { className: "text-xs text-slate-600", children: e }) : null
|
|
36
|
-
] })
|
|
37
|
-
}
|
|
38
|
-
)
|
|
39
|
-
);
|
|
40
|
-
export {
|
|
41
|
-
N as Dropdown
|
|
42
|
-
};
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { jsx as l, jsxs as x, Fragment as N } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as k, useRef as C, useImperativeHandle as y } from "react";
|
|
3
|
-
import { cn as t } from "../../../../utils/index.js";
|
|
4
|
-
import { useNavigationUlList as j } from "../../hooks/useNavigationList.js";
|
|
5
|
-
import { ListItem as n } from "../ListItem/ListItem.js";
|
|
6
|
-
import { listVariants as I } from "./List.variants.js";
|
|
7
|
-
import { S as O } from "../../../../index-DQH6odE9.js";
|
|
8
|
-
import { useDropdownContext as S } from "../../contexts/dropdown.hook.js";
|
|
9
|
-
const A = k(
|
|
10
|
-
({
|
|
11
|
-
additionalOptions: f,
|
|
12
|
-
className: p,
|
|
13
|
-
inputRef: o,
|
|
14
|
-
isLoading: u,
|
|
15
|
-
itemClassName: r,
|
|
16
|
-
name: d,
|
|
17
|
-
options: i,
|
|
18
|
-
searchable: c = !1,
|
|
19
|
-
wrapperInputRef: g,
|
|
20
|
-
wrapperRef: b
|
|
21
|
-
}, h) => {
|
|
22
|
-
const s = C(null), { isOpen: v, searchTerm: L } = S();
|
|
23
|
-
y(h, () => s.current, [s]), j({
|
|
24
|
-
ulRef: s,
|
|
25
|
-
wrapperRef: b,
|
|
26
|
-
wrapperInputRef: g,
|
|
27
|
-
inputRef: o,
|
|
28
|
-
searchable: c
|
|
29
|
-
});
|
|
30
|
-
const m = c ? i.filter((e) => {
|
|
31
|
-
const a = L.toLowerCase();
|
|
32
|
-
return (typeof e.label == "string" ? e.label.toLowerCase() : "").includes(a);
|
|
33
|
-
}) : i, w = m.length === 0;
|
|
34
|
-
return /* @__PURE__ */ l(
|
|
35
|
-
"ul",
|
|
36
|
-
{
|
|
37
|
-
ref: s,
|
|
38
|
-
title: d,
|
|
39
|
-
role: "listbox",
|
|
40
|
-
className: t(I({ className: p })),
|
|
41
|
-
"data-state": v ? "open" : "closed",
|
|
42
|
-
children: u ? /* @__PURE__ */ l(
|
|
43
|
-
n,
|
|
44
|
-
{
|
|
45
|
-
className: t("select-none", r),
|
|
46
|
-
isClickable: !1,
|
|
47
|
-
inputRef: o,
|
|
48
|
-
value: "Loading...",
|
|
49
|
-
label: "Loading..."
|
|
50
|
-
}
|
|
51
|
-
) : w ? /* @__PURE__ */ l(
|
|
52
|
-
n,
|
|
53
|
-
{
|
|
54
|
-
className: t("select-none", r),
|
|
55
|
-
isClickable: !1,
|
|
56
|
-
inputRef: o,
|
|
57
|
-
value: "No options",
|
|
58
|
-
label: "No options"
|
|
59
|
-
}
|
|
60
|
-
) : /* @__PURE__ */ x(N, { children: [
|
|
61
|
-
m.map((e) => /* @__PURE__ */ l(
|
|
62
|
-
n,
|
|
63
|
-
{
|
|
64
|
-
className: t("select-none", r),
|
|
65
|
-
isClickable: !0,
|
|
66
|
-
inputRef: o,
|
|
67
|
-
...e
|
|
68
|
-
},
|
|
69
|
-
e.value
|
|
70
|
-
)),
|
|
71
|
-
f?.map((e, a) => /* @__PURE__ */ l("li", { role: "option", "data-action": "true", children: /* @__PURE__ */ l(O, { className: "flex p-2 w-full h-full gap-1 items-center text-sm [&>svg]:w-3.5 [&>svg]:h-3.5 [&>svg]:shrink-0 cursor-pointer select-none hover:bg-gray-50 hover:dark:bg-slate-700 focus:outline-0", children: e }) }, a))
|
|
72
|
-
] })
|
|
73
|
-
}
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
);
|
|
77
|
-
export {
|
|
78
|
-
A as List
|
|
79
|
-
};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { jsx as o, jsxs as u } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as b, useCallback as l } from "react";
|
|
3
|
-
import { Typography as w } from "../../../Typography/Typography.js";
|
|
4
|
-
import { cn as y } from "../../../../utils/index.js";
|
|
5
|
-
import { listItemVariants as k } from "./ListItem.variants.js";
|
|
6
|
-
import { useDropdownContext as C } from "../../contexts/dropdown.hook.js";
|
|
7
|
-
const E = ({
|
|
8
|
-
isClickable: f,
|
|
9
|
-
className: p,
|
|
10
|
-
inputRef: d,
|
|
11
|
-
...t
|
|
12
|
-
}) => {
|
|
13
|
-
const { searchTerm: r, highlightSearchEnabled: i, setValue: c, toggleOpen: m } = C(), h = b(null), a = l(
|
|
14
|
-
(e) => {
|
|
15
|
-
c(e.value, d), m(!1);
|
|
16
|
-
},
|
|
17
|
-
[c, m]
|
|
18
|
-
), g = l(
|
|
19
|
-
(e, s) => {
|
|
20
|
-
e.key === "Enter" && (e.stopPropagation(), a(s));
|
|
21
|
-
},
|
|
22
|
-
[a]
|
|
23
|
-
), x = l(
|
|
24
|
-
(e) => {
|
|
25
|
-
if (typeof e != "string")
|
|
26
|
-
return e;
|
|
27
|
-
const s = i && r.length > 0 ? e.split(new RegExp(`(${r})`, "gi")).map((n) => n.toLowerCase() === r.toLowerCase() ? /* @__PURE__ */ o(
|
|
28
|
-
"mark",
|
|
29
|
-
{
|
|
30
|
-
className: "bg-transparent font-semibold text-slate-800 dark:text-slate-50",
|
|
31
|
-
children: n
|
|
32
|
-
},
|
|
33
|
-
n
|
|
34
|
-
) : n) : [e];
|
|
35
|
-
return /* @__PURE__ */ o(
|
|
36
|
-
w,
|
|
37
|
-
{
|
|
38
|
-
variant: "body2",
|
|
39
|
-
className: "text-zinc-700 dark:text-slate-50",
|
|
40
|
-
children: s
|
|
41
|
-
}
|
|
42
|
-
);
|
|
43
|
-
},
|
|
44
|
-
[i, r]
|
|
45
|
-
);
|
|
46
|
-
return /* @__PURE__ */ u(
|
|
47
|
-
"li",
|
|
48
|
-
{
|
|
49
|
-
ref: h,
|
|
50
|
-
role: "option",
|
|
51
|
-
"data-action": "false",
|
|
52
|
-
className: y(k({ className: p })),
|
|
53
|
-
tabIndex: 0,
|
|
54
|
-
onClick: (e) => {
|
|
55
|
-
f && (a(t), e.stopPropagation());
|
|
56
|
-
},
|
|
57
|
-
onKeyDown: (e) => g(e, t),
|
|
58
|
-
children: [
|
|
59
|
-
t.leftIcon ? /* @__PURE__ */ o("span", { className: "w-4 h-4 flex justify-center items-center", children: t.leftIcon }) : null,
|
|
60
|
-
x(t.label)
|
|
61
|
-
]
|
|
62
|
-
}
|
|
63
|
-
);
|
|
64
|
-
};
|
|
65
|
-
export {
|
|
66
|
-
E as ListItem
|
|
67
|
-
};
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
import { jsxs as p, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { forwardRef as K, useId as Q, useRef as R, useImperativeHandle as S, useMemo as X, useEffect as g } from "react";
|
|
3
|
-
import { Loading as Y } from "../../Loading/Loading.js";
|
|
4
|
-
import { Typography as Z } from "../../Typography/Typography.js";
|
|
5
|
-
import { cn as s } from "../../../utils/index.js";
|
|
6
|
-
import { labelVariants as B, inputVariants as ee, dropdownVariants as te } from "../Dropdown.variants.js";
|
|
7
|
-
import { useDropdown as ae } from "../hooks/useDropdown.js";
|
|
8
|
-
import { List as re } from "./List/List.js";
|
|
9
|
-
import { c as T } from "../../../createLucideIcon-D2CN7Ma9.js";
|
|
10
|
-
import { useDropdownContext as ne } from "../contexts/dropdown.hook.js";
|
|
11
|
-
/**
|
|
12
|
-
* @license lucide-react v0.545.0 - ISC
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the ISC license.
|
|
15
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/
|
|
17
|
-
const le = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], oe = T("chevron-up", le);
|
|
18
|
-
/**
|
|
19
|
-
* @license lucide-react v0.545.0 - ISC
|
|
20
|
-
*
|
|
21
|
-
* This source code is licensed under the ISC license.
|
|
22
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
23
|
-
*/
|
|
24
|
-
const se = [
|
|
25
|
-
["path", { d: "m21 21-4.34-4.34", key: "14j7rj" }],
|
|
26
|
-
["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
|
|
27
|
-
], ce = T("search", se), we = K(
|
|
28
|
-
({
|
|
29
|
-
additionalOptions: V,
|
|
30
|
-
className: _,
|
|
31
|
-
defaultValue: x,
|
|
32
|
-
error: f,
|
|
33
|
-
iconClassName: $,
|
|
34
|
-
inputClassName: D,
|
|
35
|
-
isLoading: L,
|
|
36
|
-
isRequired: h,
|
|
37
|
-
label: v,
|
|
38
|
-
labelClassName: F,
|
|
39
|
-
listClassName: M,
|
|
40
|
-
listItemClassName: A,
|
|
41
|
-
name: c,
|
|
42
|
-
options: n,
|
|
43
|
-
placeholder: N,
|
|
44
|
-
searchable: w = !1,
|
|
45
|
-
showSearchIcon: C,
|
|
46
|
-
theme: H,
|
|
47
|
-
wrapperClassName: P,
|
|
48
|
-
onBlur: j,
|
|
49
|
-
...z
|
|
50
|
-
}, U) => {
|
|
51
|
-
const I = Q(), t = R(null), E = R(null), { wrapperRef: i, wrapperInputRef: O, handleOpen: k } = ae({
|
|
52
|
-
ulRef: E,
|
|
53
|
-
inputRef: t
|
|
54
|
-
}), { isOpen: m, searchTerm: W, value: l, toggleOpen: q, setValue: y, setSearchTerm: b } = ne(), d = c ? `${I}-${c}` : I;
|
|
55
|
-
S(U, () => t.current, [t]);
|
|
56
|
-
const r = X(() => n.find(({ value: e }) => e === l), [n, l]);
|
|
57
|
-
g(() => {
|
|
58
|
-
t.current && (t.current.value = l ? r?.value : "");
|
|
59
|
-
}, [r, l]), g(() => {
|
|
60
|
-
if (x && !l) {
|
|
61
|
-
const e = n && n.find((o) => o.value === x);
|
|
62
|
-
e && y(e.value);
|
|
63
|
-
}
|
|
64
|
-
}, [x, n, y, l]), g(() => {
|
|
65
|
-
const e = new AbortController();
|
|
66
|
-
return i.current?.addEventListener("focusout", (o) => {
|
|
67
|
-
const u = o.relatedTarget;
|
|
68
|
-
(!u || !i.current?.contains(u)) && (b(""), t.current?.value || j?.());
|
|
69
|
-
}), () => {
|
|
70
|
-
e.abort();
|
|
71
|
-
};
|
|
72
|
-
}, [q, i, b, j, l]);
|
|
73
|
-
const G = (e) => {
|
|
74
|
-
const o = e.target.value;
|
|
75
|
-
b(o);
|
|
76
|
-
const u = n.find(
|
|
77
|
-
(J) => J.value.toLocaleLowerCase() === o.toLocaleLowerCase()
|
|
78
|
-
);
|
|
79
|
-
u && y(u.value);
|
|
80
|
-
};
|
|
81
|
-
return /* @__PURE__ */ p(
|
|
82
|
-
"div",
|
|
83
|
-
{
|
|
84
|
-
ref: i,
|
|
85
|
-
className: s("flex flex-col w-full relative", P),
|
|
86
|
-
"data-theme": H,
|
|
87
|
-
children: [
|
|
88
|
-
v ? /* @__PURE__ */ p(
|
|
89
|
-
"label",
|
|
90
|
-
{
|
|
91
|
-
id: d,
|
|
92
|
-
className: s(B({ className: F })),
|
|
93
|
-
htmlFor: d,
|
|
94
|
-
onClick: k,
|
|
95
|
-
children: [
|
|
96
|
-
v,
|
|
97
|
-
h && /* @__PURE__ */ a("span", { className: "text-red-600 ml-1", children: "*" })
|
|
98
|
-
]
|
|
99
|
-
}
|
|
100
|
-
) : null,
|
|
101
|
-
/* @__PURE__ */ p(
|
|
102
|
-
"div",
|
|
103
|
-
{
|
|
104
|
-
ref: O,
|
|
105
|
-
id: d,
|
|
106
|
-
className: s(te({ className: _, hasError: !!f })),
|
|
107
|
-
role: "combobox",
|
|
108
|
-
onClick: k,
|
|
109
|
-
"aria-expanded": m,
|
|
110
|
-
tabIndex: 0,
|
|
111
|
-
"aria-labelledby": d,
|
|
112
|
-
children: [
|
|
113
|
-
/* @__PURE__ */ p("div", { className: "flex gap-2.5 items-center flex-1", children: [
|
|
114
|
-
r?.leftIcon && !C && /* @__PURE__ */ a("span", { className: "w-4 h-4 flex justify-center items-center dark:text-slate-50", children: r.leftIcon }),
|
|
115
|
-
C && /* @__PURE__ */ a(ce, { className: "w-4 h-4 text-zinc-500 select-none dark:text-slate-300 dark:group-focus-within:text-slate-50 transition-colors duration-300" }),
|
|
116
|
-
w ? /* @__PURE__ */ a(
|
|
117
|
-
"input",
|
|
118
|
-
{
|
|
119
|
-
ref: t,
|
|
120
|
-
type: "text",
|
|
121
|
-
value: m ? W : r?.label || "",
|
|
122
|
-
name: c,
|
|
123
|
-
onChange: G,
|
|
124
|
-
placeholder: N,
|
|
125
|
-
className: s(ee({ className: D }), {
|
|
126
|
-
"text-red-700 placeholder:text-red-700": !!f
|
|
127
|
-
}),
|
|
128
|
-
onClick: (e) => {
|
|
129
|
-
e.stopPropagation(), k();
|
|
130
|
-
},
|
|
131
|
-
"aria-label": v || N,
|
|
132
|
-
"aria-labelledby": d,
|
|
133
|
-
required: h,
|
|
134
|
-
autoComplete: "off",
|
|
135
|
-
autoCapitalize: "words",
|
|
136
|
-
...z
|
|
137
|
-
}
|
|
138
|
-
) : /* @__PURE__ */ a(
|
|
139
|
-
Z,
|
|
140
|
-
{
|
|
141
|
-
variant: "body2",
|
|
142
|
-
className: s(
|
|
143
|
-
"flex-1 text-zinc-400 text-sm dark:text-slate-400",
|
|
144
|
-
{
|
|
145
|
-
"text-red-700": !!f,
|
|
146
|
-
"select-none": !r,
|
|
147
|
-
"text-slate-800 dark:text-slate-50": r
|
|
148
|
-
}
|
|
149
|
-
),
|
|
150
|
-
children: r?.label || N
|
|
151
|
-
}
|
|
152
|
-
)
|
|
153
|
-
] }),
|
|
154
|
-
L ? /* @__PURE__ */ a(Y, { className: "w-4 h-4 text-zinc-500 select-none" }) : !C && /* @__PURE__ */ a(
|
|
155
|
-
oe,
|
|
156
|
-
{
|
|
157
|
-
"data-state": m ? "open" : "closed",
|
|
158
|
-
className: s(
|
|
159
|
-
"w-4 h-4 text-zinc-500 transition-all duration-100 data-[state=open]:rotate-0 data-[state=closed]:rotate-180 select-none dark:group-focus-within:text-slate-50",
|
|
160
|
-
$,
|
|
161
|
-
{
|
|
162
|
-
"text-red-700": !!f
|
|
163
|
-
}
|
|
164
|
-
)
|
|
165
|
-
}
|
|
166
|
-
)
|
|
167
|
-
]
|
|
168
|
-
}
|
|
169
|
-
),
|
|
170
|
-
!w && /* @__PURE__ */ a(
|
|
171
|
-
"input",
|
|
172
|
-
{
|
|
173
|
-
ref: t,
|
|
174
|
-
type: "text",
|
|
175
|
-
name: c,
|
|
176
|
-
className: "hidden",
|
|
177
|
-
"aria-hidden": "true",
|
|
178
|
-
required: h,
|
|
179
|
-
...z
|
|
180
|
-
}
|
|
181
|
-
),
|
|
182
|
-
m && /* @__PURE__ */ a(
|
|
183
|
-
re,
|
|
184
|
-
{
|
|
185
|
-
ref: E,
|
|
186
|
-
additionalOptions: V,
|
|
187
|
-
className: M,
|
|
188
|
-
itemClassName: A,
|
|
189
|
-
name: c,
|
|
190
|
-
wrapperRef: i,
|
|
191
|
-
wrapperInputRef: O,
|
|
192
|
-
inputRef: t,
|
|
193
|
-
options: n,
|
|
194
|
-
isLoading: !!L,
|
|
195
|
-
searchable: w
|
|
196
|
-
}
|
|
197
|
-
)
|
|
198
|
-
]
|
|
199
|
-
}
|
|
200
|
-
);
|
|
201
|
-
}
|
|
202
|
-
);
|
|
203
|
-
export {
|
|
204
|
-
we as Wrapper
|
|
205
|
-
};
|