@helpwave/hightide 0.1.7 → 0.1.8
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/branding/HelpwaveBadge.js +30 -8
- package/dist/components/branding/HelpwaveBadge.js.map +1 -1
- package/dist/components/branding/HelpwaveBadge.mjs +30 -8
- package/dist/components/branding/HelpwaveBadge.mjs.map +1 -1
- package/dist/components/date/DatePicker.js +18 -20
- package/dist/components/date/DatePicker.js.map +1 -1
- package/dist/components/date/DatePicker.mjs +18 -20
- package/dist/components/date/DatePicker.mjs.map +1 -1
- package/dist/components/date/DayPicker.d.mts +1 -1
- package/dist/components/date/DayPicker.d.ts +1 -1
- package/dist/components/date/DayPicker.js +23 -11
- package/dist/components/date/DayPicker.js.map +1 -1
- package/dist/components/date/DayPicker.mjs +23 -11
- package/dist/components/date/DayPicker.mjs.map +1 -1
- package/dist/components/date/YearMonthPicker.js +106 -22
- package/dist/components/date/YearMonthPicker.js.map +1 -1
- package/dist/components/date/YearMonthPicker.mjs +106 -22
- package/dist/components/date/YearMonthPicker.mjs.map +1 -1
- package/dist/components/dialogs/ConfirmDialog.js +2 -2
- package/dist/components/dialogs/ConfirmDialog.js.map +1 -1
- package/dist/components/dialogs/ConfirmDialog.mjs +2 -2
- package/dist/components/dialogs/ConfirmDialog.mjs.map +1 -1
- package/dist/components/icons-and-geometry/Avatar.js +2 -2
- package/dist/components/icons-and-geometry/Avatar.js.map +1 -1
- package/dist/components/icons-and-geometry/Avatar.mjs +2 -2
- package/dist/components/icons-and-geometry/Avatar.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Carousel.d.mts +1 -1
- package/dist/components/layout-and-navigation/Carousel.d.ts +1 -1
- package/dist/components/layout-and-navigation/Carousel.js +86 -28
- package/dist/components/layout-and-navigation/Carousel.js.map +1 -1
- package/dist/components/layout-and-navigation/Carousel.mjs +86 -28
- package/dist/components/layout-and-navigation/Carousel.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Expandable.d.mts +3 -0
- package/dist/components/layout-and-navigation/Expandable.d.ts +3 -0
- package/dist/components/layout-and-navigation/Expandable.js +4 -3
- package/dist/components/layout-and-navigation/Expandable.js.map +1 -1
- package/dist/components/layout-and-navigation/Expandable.mjs +4 -3
- package/dist/components/layout-and-navigation/Expandable.mjs.map +1 -1
- package/dist/components/layout-and-navigation/FAQSection.js +4 -3
- package/dist/components/layout-and-navigation/FAQSection.js.map +1 -1
- package/dist/components/layout-and-navigation/FAQSection.mjs +4 -3
- package/dist/components/layout-and-navigation/FAQSection.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Overlay.js +2 -2
- package/dist/components/layout-and-navigation/Overlay.js.map +1 -1
- package/dist/components/layout-and-navigation/Overlay.mjs +2 -2
- package/dist/components/layout-and-navigation/Overlay.mjs.map +1 -1
- package/dist/components/layout-and-navigation/SearchableList.d.mts +7 -6
- package/dist/components/layout-and-navigation/SearchableList.d.ts +7 -6
- package/dist/components/layout-and-navigation/SearchableList.js +114 -21
- package/dist/components/layout-and-navigation/SearchableList.js.map +1 -1
- package/dist/components/layout-and-navigation/SearchableList.mjs +114 -21
- package/dist/components/layout-and-navigation/SearchableList.mjs.map +1 -1
- package/dist/components/layout-and-navigation/StepperBar.js +6 -6
- package/dist/components/layout-and-navigation/StepperBar.js.map +1 -1
- package/dist/components/layout-and-navigation/StepperBar.mjs +6 -6
- package/dist/components/layout-and-navigation/StepperBar.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Table.js +1 -1
- package/dist/components/layout-and-navigation/Table.js.map +1 -1
- package/dist/components/layout-and-navigation/Table.mjs +1 -1
- package/dist/components/layout-and-navigation/Table.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Tile.d.mts +10 -15
- package/dist/components/layout-and-navigation/Tile.d.ts +10 -15
- package/dist/components/layout-and-navigation/Tile.js +30 -8
- package/dist/components/layout-and-navigation/Tile.js.map +1 -1
- package/dist/components/layout-and-navigation/Tile.mjs +30 -8
- package/dist/components/layout-and-navigation/Tile.mjs.map +1 -1
- package/dist/components/loading-states/ProgressIndicator.js +2 -2
- package/dist/components/loading-states/ProgressIndicator.js.map +1 -1
- package/dist/components/loading-states/ProgressIndicator.mjs +2 -2
- package/dist/components/loading-states/ProgressIndicator.mjs.map +1 -1
- package/dist/components/modals/ConfirmModal.js +2 -2
- package/dist/components/modals/ConfirmModal.js.map +1 -1
- package/dist/components/modals/ConfirmModal.mjs +2 -2
- package/dist/components/modals/ConfirmModal.mjs.map +1 -1
- package/dist/components/modals/DiscardChangesModal.js +2 -2
- package/dist/components/modals/DiscardChangesModal.js.map +1 -1
- package/dist/components/modals/DiscardChangesModal.mjs +2 -2
- package/dist/components/modals/DiscardChangesModal.mjs.map +1 -1
- package/dist/components/modals/InputModal.js +2 -2
- package/dist/components/modals/InputModal.js.map +1 -1
- package/dist/components/modals/InputModal.mjs +2 -2
- package/dist/components/modals/InputModal.mjs.map +1 -1
- package/dist/components/modals/LanguageModal.js +384 -150
- package/dist/components/modals/LanguageModal.js.map +1 -1
- package/dist/components/modals/LanguageModal.mjs +383 -149
- package/dist/components/modals/LanguageModal.mjs.map +1 -1
- package/dist/components/modals/ThemeModal.js +385 -154
- package/dist/components/modals/ThemeModal.js.map +1 -1
- package/dist/components/modals/ThemeModal.mjs +382 -151
- package/dist/components/modals/ThemeModal.mjs.map +1 -1
- package/dist/components/properties/CheckboxProperty.js +1 -1
- package/dist/components/properties/CheckboxProperty.js.map +1 -1
- package/dist/components/properties/CheckboxProperty.mjs +1 -1
- package/dist/components/properties/CheckboxProperty.mjs.map +1 -1
- package/dist/components/properties/DateProperty.js +1 -1
- package/dist/components/properties/DateProperty.js.map +1 -1
- package/dist/components/properties/DateProperty.mjs +1 -1
- package/dist/components/properties/DateProperty.mjs.map +1 -1
- package/dist/components/properties/MultiSelectProperty.d.mts +1 -0
- package/dist/components/properties/MultiSelectProperty.d.ts +1 -0
- package/dist/components/properties/MultiSelectProperty.js +482 -430
- package/dist/components/properties/MultiSelectProperty.js.map +1 -1
- package/dist/components/properties/MultiSelectProperty.mjs +478 -426
- package/dist/components/properties/MultiSelectProperty.mjs.map +1 -1
- package/dist/components/properties/NumberProperty.js +1 -1
- package/dist/components/properties/NumberProperty.js.map +1 -1
- package/dist/components/properties/NumberProperty.mjs +1 -1
- package/dist/components/properties/NumberProperty.mjs.map +1 -1
- package/dist/components/properties/PropertyBase.js +1 -1
- package/dist/components/properties/PropertyBase.js.map +1 -1
- package/dist/components/properties/PropertyBase.mjs +1 -1
- package/dist/components/properties/PropertyBase.mjs.map +1 -1
- package/dist/components/properties/SelectProperty.d.mts +3 -3
- package/dist/components/properties/SelectProperty.d.ts +3 -3
- package/dist/components/properties/SelectProperty.js +404 -263
- package/dist/components/properties/SelectProperty.js.map +1 -1
- package/dist/components/properties/SelectProperty.mjs +404 -263
- package/dist/components/properties/SelectProperty.mjs.map +1 -1
- package/dist/components/properties/TextProperty.js +1 -1
- package/dist/components/properties/TextProperty.js.map +1 -1
- package/dist/components/properties/TextProperty.mjs +1 -1
- package/dist/components/properties/TextProperty.mjs.map +1 -1
- package/dist/components/user-action/DateAndTimePicker.js +18 -20
- package/dist/components/user-action/DateAndTimePicker.js.map +1 -1
- package/dist/components/user-action/DateAndTimePicker.mjs +18 -20
- package/dist/components/user-action/DateAndTimePicker.mjs.map +1 -1
- package/dist/components/user-action/Menu.d.mts +14 -8
- package/dist/components/user-action/Menu.d.ts +14 -8
- package/dist/components/user-action/Menu.js +32 -11
- package/dist/components/user-action/Menu.js.map +1 -1
- package/dist/components/user-action/Menu.mjs +32 -11
- package/dist/components/user-action/Menu.mjs.map +1 -1
- package/dist/components/user-action/MultiSelect.d.mts +10 -16
- package/dist/components/user-action/MultiSelect.d.ts +10 -16
- package/dist/components/user-action/MultiSelect.js +485 -312
- package/dist/components/user-action/MultiSelect.js.map +1 -1
- package/dist/components/user-action/MultiSelect.mjs +482 -310
- package/dist/components/user-action/MultiSelect.mjs.map +1 -1
- package/dist/components/user-action/Select.d.mts +5 -18
- package/dist/components/user-action/Select.d.ts +5 -18
- package/dist/components/user-action/Select.js +309 -113
- package/dist/components/user-action/Select.js.map +1 -1
- package/dist/components/user-action/Select.mjs +304 -107
- package/dist/components/user-action/Select.mjs.map +1 -1
- package/dist/components/user-action/Tooltip.js +2 -2
- package/dist/components/user-action/Tooltip.js.map +1 -1
- package/dist/components/user-action/Tooltip.mjs +2 -2
- package/dist/components/user-action/Tooltip.mjs.map +1 -1
- package/dist/css/globals.css +213 -205
- package/dist/css/uncompiled/globals.css +136 -72
- package/dist/hooks/useSearch.d.mts +17 -0
- package/dist/hooks/useSearch.d.ts +17 -0
- package/dist/hooks/useSearch.js +66 -0
- package/dist/hooks/useSearch.js.map +1 -0
- package/dist/hooks/useSearch.mjs +42 -0
- package/dist/hooks/useSearch.mjs.map +1 -0
- package/dist/index.d.mts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +555 -463
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +517 -427
- package/dist/index.mjs.map +1 -1
- package/dist/util/PropsWithFunctionChildren.d.mts +14 -0
- package/dist/util/PropsWithFunctionChildren.d.ts +14 -0
- package/dist/util/PropsWithFunctionChildren.js +38 -0
- package/dist/util/PropsWithFunctionChildren.js.map +1 -0
- package/dist/util/PropsWithFunctionChildren.mjs +14 -0
- package/dist/util/PropsWithFunctionChildren.mjs.map +1 -0
- package/dist/util/simpleSearch.d.mts +2 -2
- package/dist/util/simpleSearch.d.ts +2 -2
- package/dist/util/simpleSearch.js +4 -1
- package/dist/util/simpleSearch.js.map +1 -1
- package/dist/util/simpleSearch.mjs +4 -1
- package/dist/util/simpleSearch.mjs.map +1 -1
- package/package.json +1 -2
|
@@ -155,7 +155,14 @@
|
|
|
155
155
|
|
|
156
156
|
/* The theme variables */
|
|
157
157
|
@theme {
|
|
158
|
-
/*
|
|
158
|
+
/*
|
|
159
|
+
* Default light theme colors and initial definitions
|
|
160
|
+
*/
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
/*
|
|
164
|
+
* Basic Colors
|
|
165
|
+
*/
|
|
159
166
|
--color-white: #FFFFFF;
|
|
160
167
|
--color-black: #000000;
|
|
161
168
|
--color-gray-25: #F8F8F8;
|
|
@@ -200,47 +207,55 @@
|
|
|
200
207
|
--color-red-500: #DC576D;
|
|
201
208
|
--color-red-900: #5C252E;
|
|
202
209
|
|
|
210
|
+
|
|
211
|
+
/*
|
|
212
|
+
* Semantic Colors
|
|
213
|
+
*/
|
|
214
|
+
--color-text-dark: #1A1A1A;
|
|
215
|
+
--color-text-light: #E6E6E6;
|
|
216
|
+
--color-text-default: var(--color-text-dark);
|
|
217
|
+
|
|
203
218
|
--color-primary: var(--color-purple-500);
|
|
204
|
-
--color-on-primary:
|
|
219
|
+
--color-on-primary: var(--color-text-light);
|
|
205
220
|
--color-secondary: #11243E;
|
|
206
|
-
--color-on-secondary:
|
|
207
|
-
--color-warning:
|
|
208
|
-
--color-on-warning:
|
|
209
|
-
--color-positive:
|
|
210
|
-
--color-on-positive:
|
|
211
|
-
--color-negative:
|
|
212
|
-
--color-on-negative:
|
|
221
|
+
--color-on-secondary: var(--color-text-light);
|
|
222
|
+
--color-warning: var(--color-yellow-500);
|
|
223
|
+
--color-on-warning: var(--color-text-light);
|
|
224
|
+
--color-positive: var(--color-green-500);
|
|
225
|
+
--color-on-positive: var(--color-text-light);
|
|
226
|
+
--color-negative: var(--color-red-500);
|
|
227
|
+
--color-on-negative: var(--color-text-light);
|
|
213
228
|
--color-surface: #FFFFFF;
|
|
214
|
-
--color-on-surface:
|
|
229
|
+
--color-on-surface: var(--color-text-dark);
|
|
215
230
|
--color-surface-variant: #F8F8F8;
|
|
216
231
|
--color-surface-warning: #FBECD9;
|
|
217
232
|
--color-highlight: #3272DF;
|
|
218
233
|
--color-background: #EEEEEE;
|
|
219
|
-
--color-on-background:
|
|
234
|
+
--color-on-background: var(--color-text-dark);
|
|
220
235
|
|
|
221
|
-
--color-female:
|
|
222
|
-
--color-female-outline:
|
|
223
|
-
--color-female-surface:
|
|
224
|
-
--color-female-background:
|
|
236
|
+
--color-female: var(--color-red-400);
|
|
237
|
+
--color-female-outline: var(--color-red-300);
|
|
238
|
+
--color-female-surface: var(--color-red-100);
|
|
239
|
+
--color-female-background: var(--color-red-50);
|
|
225
240
|
|
|
226
|
-
--color-male:
|
|
227
|
-
--color-male-outline:
|
|
228
|
-
--color-male-surface:
|
|
229
|
-
--color-male-background:
|
|
241
|
+
--color-male: var(--color-blue-400);
|
|
242
|
+
--color-male-outline: var(--color-blue-300);
|
|
243
|
+
--color-male-surface: var(--color-blue-100);
|
|
244
|
+
--color-male-background: var(--color-blue-50);
|
|
230
245
|
|
|
231
246
|
--color-neutral: #4D4D4D;
|
|
232
247
|
--color-neutral-outline: #B3B3B3;
|
|
233
248
|
--color-neutral-surface: #E6E6E6;
|
|
234
249
|
--color-neutral-background: #F8F8F8;
|
|
235
250
|
|
|
236
|
-
--color-text-primary:
|
|
251
|
+
--color-text-primary: var(--color-text-default);
|
|
237
252
|
--color-text-secondary: #666666;
|
|
238
253
|
--color-text-tertiary: #B3B3B3;
|
|
239
254
|
--color-text-highlight: #3272DF;
|
|
240
255
|
--color-text-label: #4D4D4D;
|
|
241
|
-
--color-icon-primary:
|
|
242
|
-
--color-icon-secondary:
|
|
243
|
-
--color-icon-highlight:
|
|
256
|
+
--color-icon-primary: var(--color-text-primary);
|
|
257
|
+
--color-icon-secondary: var(--color-text-secondary);
|
|
258
|
+
--color-icon-highlight: var(--color-text-highlight);
|
|
244
259
|
--color-divider: #E6E6E6;
|
|
245
260
|
--color-description: #555555;
|
|
246
261
|
--color-outline: #E6E6E6;
|
|
@@ -251,6 +266,17 @@
|
|
|
251
266
|
--color-disabled-outline: #555555;
|
|
252
267
|
--color-border: #CCCCCC;
|
|
253
268
|
|
|
269
|
+
|
|
270
|
+
/*
|
|
271
|
+
* Component Colors
|
|
272
|
+
*/
|
|
273
|
+
|
|
274
|
+
/* Button Outline */
|
|
275
|
+
--color-button-outline-primary-outline: var(--color-primary);
|
|
276
|
+
--color-button-outline-primary-icon: var(--color-primary);
|
|
277
|
+
--color-button-outline-primary-text: var(--color-primary);
|
|
278
|
+
|
|
279
|
+
/* Button Solid */
|
|
254
280
|
--color-button-solid-primary-background: var(--color-primary);
|
|
255
281
|
--color-button-solid-primary-text: var(--color-on-primary);
|
|
256
282
|
--color-button-solid-primary-icon: var(--color-on-primary);
|
|
@@ -273,10 +299,7 @@
|
|
|
273
299
|
--color-button-solid-negative-icon: var(--color-on-negative);
|
|
274
300
|
--color-button-solid-negative-text: var(--color-on-negative);
|
|
275
301
|
|
|
276
|
-
|
|
277
|
-
--color-button-outline-primary-icon: var(--color-primary);
|
|
278
|
-
--color-button-outline-primary-text: var(--color-primary);
|
|
279
|
-
|
|
302
|
+
/* Button Text */
|
|
280
303
|
--color-button-text-hover-background: #77777733;
|
|
281
304
|
--color-button-text-neutral-text: #333333;
|
|
282
305
|
--color-button-text-neutral-icon: #333333;
|
|
@@ -285,19 +308,39 @@
|
|
|
285
308
|
--color-button-text-primary-text: var(--color-primary);
|
|
286
309
|
--color-button-text-primary-icon: var(--color-primary);
|
|
287
310
|
|
|
311
|
+
/* Carousel */
|
|
312
|
+
--color-carousel-dot-active: var(--color-primary);
|
|
313
|
+
--color-carousel-dot-disabled: var(--color-disabled-background);
|
|
314
|
+
|
|
315
|
+
/* Menu */
|
|
288
316
|
--color-menu-background: var(--color-surface);
|
|
289
317
|
--color-menu-text: var(--color-on-surface);
|
|
290
318
|
--color-menu-border: var(--color-border);
|
|
291
319
|
|
|
320
|
+
/* Overlay */
|
|
321
|
+
--color-overlay-background: #FFFFFF;
|
|
322
|
+
--color-overlay-text: var(--color-text-dark);
|
|
323
|
+
|
|
324
|
+
/* ProgressIndicator */
|
|
325
|
+
--color-progress-indicator-fill: var(--color-primary);
|
|
326
|
+
--color-progress-indicator-background: var(--color-gray-300);
|
|
327
|
+
|
|
328
|
+
/* Property */
|
|
292
329
|
--color-property-title-background: #E6E6E6;
|
|
293
|
-
--color-property-title-text: var(--color-
|
|
330
|
+
--color-property-title-text: var(--color-text-default);
|
|
331
|
+
|
|
332
|
+
/* Stepper Bar */
|
|
333
|
+
--color-stepperbar-dot-active: var(--color-primary);
|
|
334
|
+
--color-stepperbar-dot-normal: var(--color-purple-100);
|
|
335
|
+
--color-stepperbar-dot-disabled: var(--color-disabled-background);
|
|
294
336
|
|
|
295
|
-
|
|
296
|
-
--color-
|
|
297
|
-
|
|
337
|
+
/* Table */
|
|
338
|
+
--color-tabel-header-background: #F6FAFF;
|
|
339
|
+
|
|
340
|
+
/* Tag */
|
|
298
341
|
--color-tag-dark-background: #333333;
|
|
299
|
-
--color-tag-dark-text:
|
|
300
|
-
--color-tag-dark-icon:
|
|
342
|
+
--color-tag-dark-text: var(--color-text-light);
|
|
343
|
+
--color-tag-dark-icon: var(--color-text-light);
|
|
301
344
|
--color-tag-green-background: #E2E9DB;
|
|
302
345
|
--color-tag-green-text: #7A977E;
|
|
303
346
|
--color-tag-green-icon: #7A977E;
|
|
@@ -307,51 +350,62 @@
|
|
|
307
350
|
--color-tag-red-background: #FEE0DD;
|
|
308
351
|
--color-tag-red-text: #D67268;
|
|
309
352
|
--color-tag-red-icon: #D67268;
|
|
310
|
-
--color-tag-blue-background:
|
|
311
|
-
--color-tag-blue-text:
|
|
312
|
-
--color-tag-blue-icon:
|
|
353
|
+
--color-tag-blue-background: var(--color-blue-50);
|
|
354
|
+
--color-tag-blue-text: var(--color-blue-800);
|
|
355
|
+
--color-tag-blue-icon: var(--color-blue-800);
|
|
313
356
|
--color-tag-pink-background: #CEA3B8;
|
|
314
357
|
--color-tag-pink-text: #CE75A0;
|
|
315
358
|
--color-tag-pink-icon: #CE75A0;
|
|
316
359
|
|
|
317
|
-
|
|
318
|
-
|
|
360
|
+
/* TextImage */
|
|
319
361
|
--color-text-image-primary-background: var(--color-primary);
|
|
320
362
|
--color-text-image-primary-text: var(--color-on-primary);
|
|
321
363
|
--color-text-image-secondary-background: #3171DE;
|
|
322
|
-
--color-text-image-secondary-text:
|
|
364
|
+
--color-text-image-secondary-text: var(--color-text-light);
|
|
323
365
|
--color-text-image-dark-background: #11243E;
|
|
324
|
-
--color-text-image-dark-text:
|
|
325
|
-
|
|
326
|
-
--color-overlay-background: #FFFFFF;
|
|
327
|
-
--color-overlay-text: #1A1A1A;
|
|
366
|
+
--color-text-image-dark-text: var(--color-text-light);
|
|
328
367
|
|
|
368
|
+
/* Tooltip */
|
|
329
369
|
--color-tooltip-background: var(--color-overlay-background);
|
|
330
370
|
--color-tooltip-text: var(--color-description);
|
|
331
371
|
|
|
332
|
-
/*
|
|
372
|
+
/*
|
|
373
|
+
* breakpoints
|
|
374
|
+
*/
|
|
333
375
|
--breakpoint-tablet: 48rem; /* 768px for 16px font-size */
|
|
334
376
|
--breakpoint-desktop: 64rem; /* 1024px for 16px font-size*/
|
|
335
|
-
|
|
377
|
+
|
|
378
|
+
/*
|
|
379
|
+
* fonts
|
|
380
|
+
*/
|
|
336
381
|
--font-inter: 'Inter', sans-serif;
|
|
337
382
|
--font-space: 'Space Grotesk', sans-serif;
|
|
338
383
|
}
|
|
339
384
|
|
|
340
|
-
/* Overrides of the
|
|
385
|
+
/* Overrides of the base theme */
|
|
341
386
|
@layer base {
|
|
342
|
-
/*
|
|
387
|
+
/* dark theme overrides */
|
|
343
388
|
@variant dark {
|
|
389
|
+
/*
|
|
390
|
+
* Basic Colors
|
|
391
|
+
*/
|
|
344
392
|
--color-primary: var(--color-purple-400);
|
|
345
393
|
--color-positive: var(--color-green-700);
|
|
394
|
+
--color-negative: var(--color-red-700);
|
|
395
|
+
|
|
396
|
+
/*
|
|
397
|
+
* Semantic Colors
|
|
398
|
+
*/
|
|
399
|
+
--color-text-default: var(--color-text-light);
|
|
346
400
|
|
|
347
401
|
--color-surface: #333333;
|
|
348
|
-
--color-on-surface:
|
|
402
|
+
--color-on-surface: var(--color-text-light);
|
|
349
403
|
--color-surface-variant: #494949;
|
|
350
404
|
--color-surface-warning: #FBECD9;
|
|
351
405
|
--color-text-label: #CFCFCF;
|
|
352
406
|
--color-highlight: #3272DF;
|
|
353
|
-
--color-background: #
|
|
354
|
-
--color-on-background:
|
|
407
|
+
--color-background: #222222;
|
|
408
|
+
--color-on-background: var(--color-text-light);
|
|
355
409
|
--color-border: #444444;
|
|
356
410
|
|
|
357
411
|
--color-neutral: #4D4D4D;
|
|
@@ -359,36 +413,46 @@
|
|
|
359
413
|
--color-neutral-surface: #E6E6E6;
|
|
360
414
|
--color-neutral-background: #F8F8F8;
|
|
361
415
|
|
|
362
|
-
--color-text-primary:
|
|
416
|
+
--color-text-primary: var(--color-text-light);
|
|
363
417
|
--color-text-secondary: #666666;
|
|
364
418
|
--color-text-tertiary: #B3B3B3;
|
|
365
419
|
--color-text-highlight: #3272DF;
|
|
366
|
-
--color-icon-primary: #EEEEEE;
|
|
367
|
-
--color-icon-secondary: #666666;
|
|
368
|
-
--color-icon-highlight: #3272DF;
|
|
369
420
|
--color-description: #999999;
|
|
370
421
|
|
|
371
422
|
--color-disabled-background: #555555;
|
|
372
423
|
--color-disabled-text: #999999;
|
|
373
424
|
|
|
425
|
+
/*
|
|
426
|
+
* Component Colors
|
|
427
|
+
*/
|
|
428
|
+
|
|
429
|
+
/* Button Solid */
|
|
374
430
|
--color-button-solid-neutral-background: #424242;
|
|
375
|
-
--color-button-solid-neutral-icon:
|
|
376
|
-
--color-button-solid-neutral-text:
|
|
431
|
+
--color-button-solid-neutral-icon: var(--color-text-light);
|
|
432
|
+
--color-button-solid-neutral-text: var(--color-text-light);
|
|
377
433
|
|
|
434
|
+
/* Button Text */
|
|
378
435
|
--color-button-text-hover-background: #3F3F3F;
|
|
379
|
-
--color-button-text-neutral-text:
|
|
380
|
-
--color-button-text-neutral-icon:
|
|
436
|
+
--color-button-text-neutral-text: var(--color-text-light);
|
|
437
|
+
--color-button-text-neutral-icon: var(--color-text-light);
|
|
381
438
|
|
|
439
|
+
/* Menu */
|
|
382
440
|
--color-menu-background: #333333;
|
|
383
|
-
--color-menu-text:
|
|
441
|
+
--color-menu-text: var(--color-text-light);
|
|
384
442
|
--color-menu-border: var(--color-border);
|
|
385
443
|
|
|
444
|
+
/* Property */
|
|
386
445
|
--color-property-title-background: #393939;
|
|
387
446
|
--color-property-title-text: var(--color-on-surface);
|
|
388
447
|
|
|
389
|
-
|
|
390
|
-
--color-
|
|
448
|
+
/* ProgressIndicator */
|
|
449
|
+
--color-progress-indicator-background: var(--color-gray-700);
|
|
450
|
+
|
|
451
|
+
/* Overlay */
|
|
452
|
+
--color-overlay-background: #2A2A2A;
|
|
453
|
+
--color-overlay-text: var(--color-text-light);
|
|
391
454
|
|
|
455
|
+
/* Table */
|
|
392
456
|
--color-tabel-header-background: #F6FAFF;
|
|
393
457
|
}
|
|
394
458
|
}
|
|
@@ -396,27 +460,27 @@
|
|
|
396
460
|
/* Styles that can be overwritten by utils */
|
|
397
461
|
@layer components {
|
|
398
462
|
.btn-sm {
|
|
399
|
-
@apply row items-center justify-center gap-x-1 px-[0.625rem] py-[0.25rem] rounded-[0.375rem] h-8;
|
|
463
|
+
@apply row items-center justify-center gap-x-1 px-[0.625rem] py-[0.25rem] rounded-[0.375rem] h-8 min-h-8;
|
|
400
464
|
}
|
|
401
465
|
|
|
402
466
|
.btn-md {
|
|
403
|
-
@apply row items-center justify-center gap-x-2 px-[0.75rem] py-[0.5rem] rounded-[0.375rem] h-10;
|
|
467
|
+
@apply row items-center justify-center gap-x-2 px-[0.75rem] py-[0.5rem] rounded-[0.375rem] h-10 min-h-10;
|
|
404
468
|
}
|
|
405
469
|
|
|
406
470
|
.btn-lg {
|
|
407
|
-
@apply row items-center justify-center gap-x-2 px-[1rem] py-[0.675rem] rounded-[0.375rem] h-12;
|
|
471
|
+
@apply row items-center justify-center gap-x-2 px-[1rem] py-[0.675rem] rounded-[0.375rem] h-12 min-h-12;
|
|
408
472
|
}
|
|
409
473
|
|
|
410
474
|
.icon-btn-sm {
|
|
411
|
-
@apply row items-center justify-center gap-x-1 p-[0.375rem] rounded-[0.375rem] h-8;
|
|
475
|
+
@apply row items-center justify-center gap-x-1 p-[0.375rem] rounded-[0.375rem] h-8 min-h-8 w-8 min-w-8;
|
|
412
476
|
}
|
|
413
477
|
|
|
414
478
|
.icon-btn-md {
|
|
415
|
-
@apply row items-center justify-center gap-x-2 p-[0.5rem] rounded-[0.375rem] h-10;
|
|
479
|
+
@apply row items-center justify-center gap-x-2 p-[0.5rem] rounded-[0.375rem] h-10 min-h-10 w-10 min-w-10;
|
|
416
480
|
}
|
|
417
481
|
|
|
418
482
|
.icon-btn-lg {
|
|
419
|
-
@apply row items-center justify-center gap-x-2 p-[0.75rem] rounded-[0.375rem] h-12;
|
|
483
|
+
@apply row items-center justify-center gap-x-2 p-[0.75rem] rounded-[0.375rem] h-12 min-h-12 w-12 min-w-12;
|
|
420
484
|
}
|
|
421
485
|
|
|
422
486
|
.card-sm {
|
|
@@ -462,11 +526,11 @@
|
|
|
462
526
|
}
|
|
463
527
|
|
|
464
528
|
button {
|
|
465
|
-
@apply cursor-pointer;
|
|
529
|
+
@apply cursor-pointer text-nowrap;
|
|
466
530
|
}
|
|
467
531
|
|
|
468
532
|
input {
|
|
469
|
-
@apply block bg-surface text-on-surface px-
|
|
533
|
+
@apply block bg-surface text-on-surface px-2 py-[0.375rem] rounded-md border-2 hover:border-primary focus:outline-none focus:border-primary focus:ring-primary;
|
|
470
534
|
}
|
|
471
535
|
|
|
472
536
|
.textstyle-title-3xl {
|
|
@@ -498,7 +562,7 @@
|
|
|
498
562
|
}
|
|
499
563
|
|
|
500
564
|
.textstyle-accent {
|
|
501
|
-
@apply text-sm text-
|
|
565
|
+
@apply text-sm text-text-label font-bold;
|
|
502
566
|
}
|
|
503
567
|
|
|
504
568
|
.textstyle-description {
|
|
@@ -522,7 +586,7 @@
|
|
|
522
586
|
}
|
|
523
587
|
|
|
524
588
|
.textstyle-table-header {
|
|
525
|
-
@apply text-
|
|
589
|
+
@apply text-text-label font-bold;
|
|
526
590
|
}
|
|
527
591
|
|
|
528
592
|
.textstyle-navigation-item {
|
|
@@ -534,6 +598,6 @@
|
|
|
534
598
|
}
|
|
535
599
|
|
|
536
600
|
.textstyle-form-description {
|
|
537
|
-
@apply text-
|
|
601
|
+
@apply text-description text-sm;
|
|
538
602
|
}
|
|
539
603
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
type UseSearchProps<T> = {
|
|
4
|
+
list: T[];
|
|
5
|
+
searchMapping: (item: T) => string[];
|
|
6
|
+
initialSearch?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const useSearch: <T>({ list, initialSearch, searchMapping, }: UseSearchProps<T>) => {
|
|
9
|
+
result: T[];
|
|
10
|
+
hasResult: boolean;
|
|
11
|
+
allItems: T[];
|
|
12
|
+
setItems: react.Dispatch<react.SetStateAction<T[]>>;
|
|
13
|
+
search: string;
|
|
14
|
+
setSearch: react.Dispatch<react.SetStateAction<string>>;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { type UseSearchProps, useSearch };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
|
|
3
|
+
type UseSearchProps<T> = {
|
|
4
|
+
list: T[];
|
|
5
|
+
searchMapping: (item: T) => string[];
|
|
6
|
+
initialSearch?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const useSearch: <T>({ list, initialSearch, searchMapping, }: UseSearchProps<T>) => {
|
|
9
|
+
result: T[];
|
|
10
|
+
hasResult: boolean;
|
|
11
|
+
allItems: T[];
|
|
12
|
+
setItems: react.Dispatch<react.SetStateAction<T[]>>;
|
|
13
|
+
search: string;
|
|
14
|
+
setSearch: react.Dispatch<react.SetStateAction<string>>;
|
|
15
|
+
};
|
|
16
|
+
|
|
17
|
+
export { type UseSearchProps, useSearch };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all)
|
|
7
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
+
};
|
|
9
|
+
var __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
|
|
19
|
+
// src/hooks/useSearch.ts
|
|
20
|
+
var useSearch_exports = {};
|
|
21
|
+
__export(useSearch_exports, {
|
|
22
|
+
useSearch: () => useSearch
|
|
23
|
+
});
|
|
24
|
+
module.exports = __toCommonJS(useSearch_exports);
|
|
25
|
+
var import_react = require("react");
|
|
26
|
+
|
|
27
|
+
// src/util/simpleSearch.ts
|
|
28
|
+
var MultiSearchWithMapping = (search, objects, mapping) => {
|
|
29
|
+
return objects.filter((object) => {
|
|
30
|
+
const mappedSearchKeywords = mapping(object)?.map((value) => value.toLowerCase().trim());
|
|
31
|
+
if (!mappedSearchKeywords) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
return !!mappedSearchKeywords.find((value) => value.includes(search.toLowerCase().trim()));
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
// src/hooks/useSearch.ts
|
|
39
|
+
var useSearch = ({
|
|
40
|
+
list,
|
|
41
|
+
initialSearch,
|
|
42
|
+
searchMapping
|
|
43
|
+
}) => {
|
|
44
|
+
const [items, setItems] = (0, import_react.useState)(list);
|
|
45
|
+
const [search, setSearch] = (0, import_react.useState)(initialSearch);
|
|
46
|
+
(0, import_react.useEffect)(() => {
|
|
47
|
+
setItems(list);
|
|
48
|
+
}, [list]);
|
|
49
|
+
const result = (0, import_react.useMemo)(
|
|
50
|
+
() => MultiSearchWithMapping(search, items, searchMapping),
|
|
51
|
+
[search, items, searchMapping]
|
|
52
|
+
);
|
|
53
|
+
return {
|
|
54
|
+
result,
|
|
55
|
+
hasResult: result.length > 0,
|
|
56
|
+
allItems: items,
|
|
57
|
+
setItems,
|
|
58
|
+
search,
|
|
59
|
+
setSearch
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
63
|
+
0 && (module.exports = {
|
|
64
|
+
useSearch
|
|
65
|
+
});
|
|
66
|
+
//# sourceMappingURL=useSearch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/hooks/useSearch.ts","../../src/util/simpleSearch.ts"],"sourcesContent":["import { useEffect, useMemo, useState } from 'react'\nimport { MultiSearchWithMapping } from '../util/simpleSearch'\n\nexport type UseSearchProps<T> = {\n list: T[],\n searchMapping: (item: T) => string[],\n initialSearch?: string,\n}\n\nexport const useSearch = <T>({\n list,\n initialSearch,\n searchMapping,\n }: UseSearchProps<T>) => {\n const [items, setItems] = useState<T[]>(list)\n const [search, setSearch] = useState<string>(initialSearch)\n\n useEffect(() => {\n setItems(list)\n }, [list])\n\n const result: T[] = useMemo(\n () => MultiSearchWithMapping(search, items, searchMapping),\n [search, items, searchMapping]\n )\n\n return {\n result,\n hasResult: result.length > 0,\n allItems: items,\n setItems,\n search,\n setSearch,\n }\n}","/**\n * Finds all values matching the search values by first mapping the values to a string array and then checking each entry for matches.\n * Returns the list of all matches.\n *\n * @param search The list of search strings e.g. `[name, type]`\n *\n * @param objects The list of objects to be searched in\n *\n * @param mapping The mapping of objects to the string properties they fulfil\n *\n * @return The list of objects that match all search strings\n */\nexport const MultiSubjectSearchWithMapping = <T>(search: string[], objects: T[], mapping: (value: T) => (string | undefined)[]) => {\n return objects.filter(object => {\n const mappedSearchKeywords = mapping(object).map(value => value ? value.toLowerCase().trim() : undefined)\n return search.every(searchValue => !!mappedSearchKeywords.find(value => !!value && value.includes(searchValue.toLowerCase().trim())))\n })\n}\n\n/**\n * Finds all values matching the search value by first mapping the values to a string array and then checking each entry for matches.\n * Returns the list of all matches.\n *\n * @param search The search string e.g `name`\n *\n * @param objects The list of objects to be searched in\n *\n * @param mapping The mapping of objects to the string properties they fulfil, if undefined it is always fulfilled\n *\n * @return The list of objects that match the search string\n */\nexport const MultiSearchWithMapping = <T>(search: string, objects: T[], mapping: (value: T) => (string[] | undefined)) => {\n return objects.filter(object => {\n const mappedSearchKeywords = mapping(object)?.map(value => value.toLowerCase().trim())\n if(!mappedSearchKeywords) {\n return true\n }\n return !!mappedSearchKeywords.find(value => value.includes(search.toLowerCase().trim()))\n })\n}\n\n/**\n * Finds all values matching the search value by first mapping the values to a string and returns the list of all matches.\n *\n * @param search The search string e.g `name`\n *\n * @param objects The list of objects to be searched in\n *\n * @param mapping The mapping of objects to a string that is compared to the search\n *\n * @return The list of objects that match the search string\n */\nexport const SimpleSearchWithMapping = <T>(search: string, objects: T[], mapping: (value: T) => string) => {\n return MultiSearchWithMapping(search, objects, value => [mapping(value)])\n}\n\n/**\n * Finds all values matching the search value and returns the list of all matches.\n *\n * @param search The search string e.g `name`\n *\n * @param objects The list of objects to be searched in\n *\n * @return The list of objects that match the search string\n */\nexport const SimpleSearch = (search: string, objects: string[]) => {\n return SimpleSearchWithMapping(search, objects, value => value)\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAA6C;;;AC+BtC,IAAM,yBAAyB,CAAI,QAAgB,SAAc,YAAkD;AACxH,SAAO,QAAQ,OAAO,YAAU;AAC9B,UAAM,uBAAuB,QAAQ,MAAM,GAAG,IAAI,WAAS,MAAM,YAAY,EAAE,KAAK,CAAC;AACrF,QAAG,CAAC,sBAAsB;AACxB,aAAO;AAAA,IACT;AACA,WAAO,CAAC,CAAC,qBAAqB,KAAK,WAAS,MAAM,SAAS,OAAO,YAAY,EAAE,KAAK,CAAC,CAAC;AAAA,EACzF,CAAC;AACH;;;AD9BO,IAAM,YAAY,CAAI;AAAA,EACE;AAAA,EACA;AAAA,EACA;AACF,MAAyB;AACpD,QAAM,CAAC,OAAO,QAAQ,QAAI,uBAAc,IAAI;AAC5C,QAAM,CAAC,QAAQ,SAAS,QAAI,uBAAiB,aAAa;AAE1D,8BAAU,MAAM;AACd,aAAS,IAAI;AAAA,EACf,GAAG,CAAC,IAAI,CAAC;AAET,QAAM,aAAc;AAAA,IAClB,MAAM,uBAAuB,QAAQ,OAAO,aAAa;AAAA,IACzD,CAAC,QAAQ,OAAO,aAAa;AAAA,EAC/B;AAEA,SAAO;AAAA,IACL;AAAA,IACA,WAAW,OAAO,SAAS;AAAA,IAC3B,UAAU;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;","names":[]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// src/hooks/useSearch.ts
|
|
2
|
+
import { useEffect, useMemo, useState } from "react";
|
|
3
|
+
|
|
4
|
+
// src/util/simpleSearch.ts
|
|
5
|
+
var MultiSearchWithMapping = (search, objects, mapping) => {
|
|
6
|
+
return objects.filter((object) => {
|
|
7
|
+
const mappedSearchKeywords = mapping(object)?.map((value) => value.toLowerCase().trim());
|
|
8
|
+
if (!mappedSearchKeywords) {
|
|
9
|
+
return true;
|
|
10
|
+
}
|
|
11
|
+
return !!mappedSearchKeywords.find((value) => value.includes(search.toLowerCase().trim()));
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
// src/hooks/useSearch.ts
|
|
16
|
+
var useSearch = ({
|
|
17
|
+
list,
|
|
18
|
+
initialSearch,
|
|
19
|
+
searchMapping
|
|
20
|
+
}) => {
|
|
21
|
+
const [items, setItems] = useState(list);
|
|
22
|
+
const [search, setSearch] = useState(initialSearch);
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
setItems(list);
|
|
25
|
+
}, [list]);
|
|
26
|
+
const result = useMemo(
|
|
27
|
+
() => MultiSearchWithMapping(search, items, searchMapping),
|
|
28
|
+
[search, items, searchMapping]
|
|
29
|
+
);
|
|
30
|
+
return {
|
|
31
|
+
result,
|
|
32
|
+
hasResult: result.length > 0,
|
|
33
|
+
allItems: items,
|
|
34
|
+
setItems,
|
|
35
|
+
search,
|
|
36
|
+
setSearch
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
useSearch
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=useSearch.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/hooks/useSearch.ts","../../src/util/simpleSearch.ts"],"sourcesContent":["import { useEffect, useMemo, useState } from 'react'\nimport { MultiSearchWithMapping } from '../util/simpleSearch'\n\nexport type UseSearchProps<T> = {\n list: T[],\n searchMapping: (item: T) => string[],\n initialSearch?: string,\n}\n\nexport const useSearch = <T>({\n list,\n initialSearch,\n searchMapping,\n }: UseSearchProps<T>) => {\n const [items, setItems] = useState<T[]>(list)\n const [search, setSearch] = useState<string>(initialSearch)\n\n useEffect(() => {\n setItems(list)\n }, [list])\n\n const result: T[] = useMemo(\n () => MultiSearchWithMapping(search, items, searchMapping),\n [search, items, searchMapping]\n )\n\n return {\n result,\n hasResult: result.length > 0,\n allItems: items,\n setItems,\n search,\n setSearch,\n }\n}","/**\n * Finds all values matching the search values by first mapping the values to a string array and then checking each entry for matches.\n * Returns the list of all matches.\n *\n * @param search The list of search strings e.g. `[name, type]`\n *\n * @param objects The list of objects to be searched in\n *\n * @param mapping The mapping of objects to the string properties they fulfil\n *\n * @return The list of objects that match all search strings\n */\nexport const MultiSubjectSearchWithMapping = <T>(search: string[], objects: T[], mapping: (value: T) => (string | undefined)[]) => {\n return objects.filter(object => {\n const mappedSearchKeywords = mapping(object).map(value => value ? value.toLowerCase().trim() : undefined)\n return search.every(searchValue => !!mappedSearchKeywords.find(value => !!value && value.includes(searchValue.toLowerCase().trim())))\n })\n}\n\n/**\n * Finds all values matching the search value by first mapping the values to a string array and then checking each entry for matches.\n * Returns the list of all matches.\n *\n * @param search The search string e.g `name`\n *\n * @param objects The list of objects to be searched in\n *\n * @param mapping The mapping of objects to the string properties they fulfil, if undefined it is always fulfilled\n *\n * @return The list of objects that match the search string\n */\nexport const MultiSearchWithMapping = <T>(search: string, objects: T[], mapping: (value: T) => (string[] | undefined)) => {\n return objects.filter(object => {\n const mappedSearchKeywords = mapping(object)?.map(value => value.toLowerCase().trim())\n if(!mappedSearchKeywords) {\n return true\n }\n return !!mappedSearchKeywords.find(value => value.includes(search.toLowerCase().trim()))\n })\n}\n\n/**\n * Finds all values matching the search value by first mapping the values to a string and returns the list of all matches.\n *\n * @param search The search string e.g `name`\n *\n * @param objects The list of objects to be searched in\n *\n * @param mapping The mapping of objects to a string that is compared to the search\n *\n * @return The list of objects that match the search string\n */\nexport const SimpleSearchWithMapping = <T>(search: string, objects: T[], mapping: (value: T) => string) => {\n return MultiSearchWithMapping(search, objects, value => [mapping(value)])\n}\n\n/**\n * Finds all values matching the search value and returns the list of all matches.\n *\n * @param search The search string e.g `name`\n *\n * @param objects The list of objects to be searched in\n *\n * @return The list of objects that match the search string\n */\nexport const SimpleSearch = (search: string, objects: string[]) => {\n return SimpleSearchWithMapping(search, objects, value => value)\n}\n"],"mappings":";AAAA,SAAS,WAAW,SAAS,gBAAgB;;;AC+BtC,IAAM,yBAAyB,CAAI,QAAgB,SAAc,YAAkD;AACxH,SAAO,QAAQ,OAAO,YAAU;AAC9B,UAAM,uBAAuB,QAAQ,MAAM,GAAG,IAAI,WAAS,MAAM,YAAY,EAAE,KAAK,CAAC;AACrF,QAAG,CAAC,sBAAsB;AACxB,aAAO;AAAA,IACT;AACA,WAAO,CAAC,CAAC,qBAAqB,KAAK,WAAS,MAAM,SAAS,OAAO,YAAY,EAAE,KAAK,CAAC,CAAC;AAAA,EACzF,CAAC;AACH;;;AD9BO,IAAM,YAAY,CAAI;AAAA,EACE;AAAA,EACA;AAAA,EACA;AACF,MAAyB;AACpD,QAAM,CAAC,OAAO,QAAQ,IAAI,SAAc,IAAI;AAC5C,QAAM,CAAC,QAAQ,SAAS,IAAI,SAAiB,aAAa;AAE1D,YAAU,MAAM;AACd,aAAS,IAAI;AAAA,EACf,GAAG,CAAC,IAAI,CAAC;AAET,QAAM,SAAc;AAAA,IAClB,MAAM,uBAAuB,QAAQ,OAAO,aAAa;AAAA,IACzD,CAAC,QAAQ,OAAO,aAAa;AAAA,EAC/B;AAEA,SAAO;AAAA,IACL;AAAA,IACA,WAAW,OAAO,SAAS;AAAA,IAC3B,UAAU;AAAA,IACV;AAAA,IACA;AAAA,IACA;AAAA,EACF;AACF;","names":[]}
|
package/dist/index.d.mts
CHANGED
|
@@ -13,7 +13,7 @@ export { Helpwave, HelpwaveProps } from './components/icons-and-geometry/Helpwav
|
|
|
13
13
|
export { AnimatedRing, AnimatedRingProps, RadialRings, RadialRingsProps, Ring, RingProps, RingWave, RingWaveProps } from './components/icons-and-geometry/Ring.mjs';
|
|
14
14
|
export { TagIcon, TagProps } from './components/icons-and-geometry/Tag.mjs';
|
|
15
15
|
export { BreadCrumb, Crumb } from './components/layout-and-navigation/BreadCrumb.mjs';
|
|
16
|
-
export { Carousel } from './components/layout-and-navigation/Carousel.mjs';
|
|
16
|
+
export { Carousel, CarouselProps } from './components/layout-and-navigation/Carousel.mjs';
|
|
17
17
|
export { Chip, ChipColor, ChipList, ChipListProps, ChipProps } from './components/layout-and-navigation/Chip.mjs';
|
|
18
18
|
export { DividerInserter, DividerInserterProps } from './components/layout-and-navigation/DividerInserter.mjs';
|
|
19
19
|
export { Expandable, ExpandableProps, ExpandableUncontrolled } from './components/layout-and-navigation/Expandable.mjs';
|
|
@@ -25,7 +25,7 @@ export { SearchableList, SearchableListProps } from './components/layout-and-nav
|
|
|
25
25
|
export { StepperBar, StepperBarProps, StepperBarUncontrolled, StepperState } from './components/layout-and-navigation/StepperBar.mjs';
|
|
26
26
|
export { SortButton, SortButtonProps, Table, TableProps, TableSortingFunctionType, TableSortingType, TableState, TableStatePagination, TableStateSelection, addElementToTable, changeTableSelectionSingle, defaultTableStatePagination, defaultTableStateSelection, isDataObjectSelected, pageForItem, removeFromTableSelection, updatePagination } from './components/layout-and-navigation/Table.mjs';
|
|
27
27
|
export { TextImage, TextImageProps } from './components/layout-and-navigation/TextImage.mjs';
|
|
28
|
-
export { Tile, TileProps
|
|
28
|
+
export { Tile, TileProps } from './components/layout-and-navigation/Tile.mjs';
|
|
29
29
|
export { VerticalDivider, VerticalDividerProps } from './components/layout-and-navigation/VerticalDivider.mjs';
|
|
30
30
|
export { ErrorComponent, ErrorComponentProps } from './components/loading-states/ErrorComponent.mjs';
|
|
31
31
|
export { LoadingAndErrorComponent, LoadingAndErrorComponentProps } from './components/loading-states/LoadingAndErrorComponent.mjs';
|
|
@@ -49,10 +49,10 @@ export { Checkbox, CheckboxProps, CheckboxUncontrolled } from './components/user
|
|
|
49
49
|
export { DateTimePicker, DateTimePickerMode, DateTimePickerProps } from './components/user-action/DateAndTimePicker.mjs';
|
|
50
50
|
export { FormInput, FormInputProps, Input, InputProps, InputUncontrolled } from './components/user-action/Input.mjs';
|
|
51
51
|
export { Label, LabelProps, LabelType } from './components/user-action/Label.mjs';
|
|
52
|
-
export { Menu, MenuItem, MenuItemProps } from './components/user-action/Menu.mjs';
|
|
53
|
-
export { MultiSelect, MultiSelectOption, MultiSelectProps, SearchProps } from './components/user-action/MultiSelect.mjs';
|
|
52
|
+
export { Menu, MenuItem, MenuItemProps, MenuProps } from './components/user-action/Menu.mjs';
|
|
53
|
+
export { MultiSelect, MultiSelectOption, MultiSelectProps, MultiSelectUncontrolled, SearchProps } from './components/user-action/MultiSelect.mjs';
|
|
54
54
|
export { ScrollPicker, ScrollPickerProps } from './components/user-action/ScrollPicker.mjs';
|
|
55
|
-
export {
|
|
55
|
+
export { Select, SelectOption, SelectProps, SelectUncontrolled } from './components/user-action/Select.mjs';
|
|
56
56
|
export { Textarea, TextareaProps, TextareaUncontrolled } from './components/user-action/Textarea.mjs';
|
|
57
57
|
export { ToggleableInput, ToggleableInputUncontrolled } from './components/user-action/ToggleableInput.mjs';
|
|
58
58
|
export { Tooltip, TooltipProps } from './components/user-action/Tooltip.mjs';
|
|
@@ -60,10 +60,12 @@ export { useHoverState } from './hooks/useHoverState.mjs';
|
|
|
60
60
|
export { useLocalStorage } from './hooks/useLocalStorage.mjs';
|
|
61
61
|
export { useOutsideClick } from './hooks/useOutsideClick.mjs';
|
|
62
62
|
export { useSaveDelay } from './hooks/useSaveDelay.mjs';
|
|
63
|
+
export { UseSearchProps, useSearch } from './hooks/useSearch.mjs';
|
|
63
64
|
export { LanguageContext, LanguageContextValue, LanguageProvider, useLanguage, useLocale } from './localization/LanguageProvider.mjs';
|
|
64
65
|
export { PropsForTranslation, Translation, useTranslation } from './localization/useTranslation.mjs';
|
|
65
66
|
export { Language, LanguageUtil } from './localization/util.mjs';
|
|
66
67
|
export { ThemeContext, ThemeProvider, ThemeType, ThemeTypeTranslation, ThemeUtil, useTheme } from './theming/useTheme.mjs';
|
|
68
|
+
export { BagFunction, BagFunctionUtil, PropsWithBagFunction, PropsWithBagFunctionOrChildren } from './util/PropsWithFunctionChildren.mjs';
|
|
67
69
|
export { ArrayUtil, closestMatch, createLoopingList, createLoopingListWithIndex, equalSizeGroups, getNeighbours, range } from './util/array.mjs';
|
|
68
70
|
export { builder } from './util/builder.mjs';
|
|
69
71
|
export { Duration, Month, WeekDay, addDuration, changeDuration, equalDate, formatDate, formatDateTime, getBetweenDuration, getDaysInMonth, getWeeksForCalenderMonth, isInTimeSpan, monthsList, subtractDuration, weekDayList } from './util/date.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export { Helpwave, HelpwaveProps } from './components/icons-and-geometry/Helpwav
|
|
|
13
13
|
export { AnimatedRing, AnimatedRingProps, RadialRings, RadialRingsProps, Ring, RingProps, RingWave, RingWaveProps } from './components/icons-and-geometry/Ring.js';
|
|
14
14
|
export { TagIcon, TagProps } from './components/icons-and-geometry/Tag.js';
|
|
15
15
|
export { BreadCrumb, Crumb } from './components/layout-and-navigation/BreadCrumb.js';
|
|
16
|
-
export { Carousel } from './components/layout-and-navigation/Carousel.js';
|
|
16
|
+
export { Carousel, CarouselProps } from './components/layout-and-navigation/Carousel.js';
|
|
17
17
|
export { Chip, ChipColor, ChipList, ChipListProps, ChipProps } from './components/layout-and-navigation/Chip.js';
|
|
18
18
|
export { DividerInserter, DividerInserterProps } from './components/layout-and-navigation/DividerInserter.js';
|
|
19
19
|
export { Expandable, ExpandableProps, ExpandableUncontrolled } from './components/layout-and-navigation/Expandable.js';
|
|
@@ -25,7 +25,7 @@ export { SearchableList, SearchableListProps } from './components/layout-and-nav
|
|
|
25
25
|
export { StepperBar, StepperBarProps, StepperBarUncontrolled, StepperState } from './components/layout-and-navigation/StepperBar.js';
|
|
26
26
|
export { SortButton, SortButtonProps, Table, TableProps, TableSortingFunctionType, TableSortingType, TableState, TableStatePagination, TableStateSelection, addElementToTable, changeTableSelectionSingle, defaultTableStatePagination, defaultTableStateSelection, isDataObjectSelected, pageForItem, removeFromTableSelection, updatePagination } from './components/layout-and-navigation/Table.js';
|
|
27
27
|
export { TextImage, TextImageProps } from './components/layout-and-navigation/TextImage.js';
|
|
28
|
-
export { Tile, TileProps
|
|
28
|
+
export { Tile, TileProps } from './components/layout-and-navigation/Tile.js';
|
|
29
29
|
export { VerticalDivider, VerticalDividerProps } from './components/layout-and-navigation/VerticalDivider.js';
|
|
30
30
|
export { ErrorComponent, ErrorComponentProps } from './components/loading-states/ErrorComponent.js';
|
|
31
31
|
export { LoadingAndErrorComponent, LoadingAndErrorComponentProps } from './components/loading-states/LoadingAndErrorComponent.js';
|
|
@@ -49,10 +49,10 @@ export { Checkbox, CheckboxProps, CheckboxUncontrolled } from './components/user
|
|
|
49
49
|
export { DateTimePicker, DateTimePickerMode, DateTimePickerProps } from './components/user-action/DateAndTimePicker.js';
|
|
50
50
|
export { FormInput, FormInputProps, Input, InputProps, InputUncontrolled } from './components/user-action/Input.js';
|
|
51
51
|
export { Label, LabelProps, LabelType } from './components/user-action/Label.js';
|
|
52
|
-
export { Menu, MenuItem, MenuItemProps } from './components/user-action/Menu.js';
|
|
53
|
-
export { MultiSelect, MultiSelectOption, MultiSelectProps, SearchProps } from './components/user-action/MultiSelect.js';
|
|
52
|
+
export { Menu, MenuItem, MenuItemProps, MenuProps } from './components/user-action/Menu.js';
|
|
53
|
+
export { MultiSelect, MultiSelectOption, MultiSelectProps, MultiSelectUncontrolled, SearchProps } from './components/user-action/MultiSelect.js';
|
|
54
54
|
export { ScrollPicker, ScrollPickerProps } from './components/user-action/ScrollPicker.js';
|
|
55
|
-
export {
|
|
55
|
+
export { Select, SelectOption, SelectProps, SelectUncontrolled } from './components/user-action/Select.js';
|
|
56
56
|
export { Textarea, TextareaProps, TextareaUncontrolled } from './components/user-action/Textarea.js';
|
|
57
57
|
export { ToggleableInput, ToggleableInputUncontrolled } from './components/user-action/ToggleableInput.js';
|
|
58
58
|
export { Tooltip, TooltipProps } from './components/user-action/Tooltip.js';
|
|
@@ -60,10 +60,12 @@ export { useHoverState } from './hooks/useHoverState.js';
|
|
|
60
60
|
export { useLocalStorage } from './hooks/useLocalStorage.js';
|
|
61
61
|
export { useOutsideClick } from './hooks/useOutsideClick.js';
|
|
62
62
|
export { useSaveDelay } from './hooks/useSaveDelay.js';
|
|
63
|
+
export { UseSearchProps, useSearch } from './hooks/useSearch.js';
|
|
63
64
|
export { LanguageContext, LanguageContextValue, LanguageProvider, useLanguage, useLocale } from './localization/LanguageProvider.js';
|
|
64
65
|
export { PropsForTranslation, Translation, useTranslation } from './localization/useTranslation.js';
|
|
65
66
|
export { Language, LanguageUtil } from './localization/util.js';
|
|
66
67
|
export { ThemeContext, ThemeProvider, ThemeType, ThemeTypeTranslation, ThemeUtil, useTheme } from './theming/useTheme.js';
|
|
68
|
+
export { BagFunction, BagFunctionUtil, PropsWithBagFunction, PropsWithBagFunctionOrChildren } from './util/PropsWithFunctionChildren.js';
|
|
67
69
|
export { ArrayUtil, closestMatch, createLoopingList, createLoopingListWithIndex, equalSizeGroups, getNeighbours, range } from './util/array.js';
|
|
68
70
|
export { builder } from './util/builder.js';
|
|
69
71
|
export { Duration, Month, WeekDay, addDuration, changeDuration, equalDate, formatDate, formatDateTime, getBetweenDuration, getDaysInMonth, getWeeksForCalenderMonth, isInTimeSpan, monthsList, subtractDuration, weekDayList } from './util/date.js';
|