@helpwave/hightide 0.1.24 → 0.1.25
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/date/DatePicker.js +48 -53
- package/dist/components/date/DatePicker.js.map +1 -1
- package/dist/components/date/DatePicker.mjs +48 -53
- package/dist/components/date/DatePicker.mjs.map +1 -1
- package/dist/components/date/YearMonthPicker.js +26 -29
- package/dist/components/date/YearMonthPicker.js.map +1 -1
- package/dist/components/date/YearMonthPicker.mjs +26 -29
- package/dist/components/date/YearMonthPicker.mjs.map +1 -1
- package/dist/components/dialogs/ConfirmDialog.js +40 -43
- package/dist/components/dialogs/ConfirmDialog.js.map +1 -1
- package/dist/components/dialogs/ConfirmDialog.mjs +40 -43
- package/dist/components/dialogs/ConfirmDialog.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Carousel.js +40 -43
- package/dist/components/layout-and-navigation/Carousel.js.map +1 -1
- package/dist/components/layout-and-navigation/Carousel.mjs +40 -43
- package/dist/components/layout-and-navigation/Carousel.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Overlay.js +40 -43
- package/dist/components/layout-and-navigation/Overlay.js.map +1 -1
- package/dist/components/layout-and-navigation/Overlay.mjs +40 -43
- package/dist/components/layout-and-navigation/Overlay.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Pagination.js +40 -43
- package/dist/components/layout-and-navigation/Pagination.js.map +1 -1
- package/dist/components/layout-and-navigation/Pagination.mjs +40 -43
- package/dist/components/layout-and-navigation/Pagination.mjs.map +1 -1
- package/dist/components/layout-and-navigation/SearchableList.js +40 -43
- package/dist/components/layout-and-navigation/SearchableList.js.map +1 -1
- package/dist/components/layout-and-navigation/SearchableList.mjs +40 -43
- package/dist/components/layout-and-navigation/SearchableList.mjs.map +1 -1
- package/dist/components/layout-and-navigation/StepperBar.js +26 -29
- package/dist/components/layout-and-navigation/StepperBar.js.map +1 -1
- package/dist/components/layout-and-navigation/StepperBar.mjs +26 -29
- package/dist/components/layout-and-navigation/StepperBar.mjs.map +1 -1
- package/dist/components/loading-states/LoadingButton.js +26 -29
- package/dist/components/loading-states/LoadingButton.js.map +1 -1
- package/dist/components/loading-states/LoadingButton.mjs +26 -29
- package/dist/components/loading-states/LoadingButton.mjs.map +1 -1
- package/dist/components/modals/ConfirmModal.js +40 -43
- package/dist/components/modals/ConfirmModal.js.map +1 -1
- package/dist/components/modals/ConfirmModal.mjs +40 -43
- package/dist/components/modals/ConfirmModal.mjs.map +1 -1
- package/dist/components/modals/DiscardChangesModal.js +40 -43
- package/dist/components/modals/DiscardChangesModal.js.map +1 -1
- package/dist/components/modals/DiscardChangesModal.mjs +40 -43
- package/dist/components/modals/DiscardChangesModal.mjs.map +1 -1
- package/dist/components/modals/InputModal.js +40 -43
- package/dist/components/modals/InputModal.js.map +1 -1
- package/dist/components/modals/InputModal.mjs +40 -43
- package/dist/components/modals/InputModal.mjs.map +1 -1
- package/dist/components/modals/LanguageModal.js +43 -49
- package/dist/components/modals/LanguageModal.js.map +1 -1
- package/dist/components/modals/LanguageModal.mjs +43 -49
- package/dist/components/modals/LanguageModal.mjs.map +1 -1
- package/dist/components/modals/ThemeModal.js +43 -49
- package/dist/components/modals/ThemeModal.js.map +1 -1
- package/dist/components/modals/ThemeModal.mjs +43 -49
- package/dist/components/modals/ThemeModal.mjs.map +1 -1
- package/dist/components/properties/CheckboxProperty.js +96 -75
- package/dist/components/properties/CheckboxProperty.js.map +1 -1
- package/dist/components/properties/CheckboxProperty.mjs +96 -75
- package/dist/components/properties/CheckboxProperty.mjs.map +1 -1
- package/dist/components/properties/DateProperty.js +48 -53
- package/dist/components/properties/DateProperty.js.map +1 -1
- package/dist/components/properties/DateProperty.mjs +48 -53
- package/dist/components/properties/DateProperty.mjs.map +1 -1
- package/dist/components/properties/MultiSelectProperty.js +114 -93
- package/dist/components/properties/MultiSelectProperty.js.map +1 -1
- package/dist/components/properties/MultiSelectProperty.mjs +114 -93
- package/dist/components/properties/MultiSelectProperty.mjs.map +1 -1
- package/dist/components/properties/NumberProperty.js +48 -53
- package/dist/components/properties/NumberProperty.js.map +1 -1
- package/dist/components/properties/NumberProperty.mjs +48 -53
- package/dist/components/properties/NumberProperty.mjs.map +1 -1
- package/dist/components/properties/PropertyBase.js +48 -53
- package/dist/components/properties/PropertyBase.js.map +1 -1
- package/dist/components/properties/PropertyBase.mjs +48 -53
- package/dist/components/properties/PropertyBase.mjs.map +1 -1
- package/dist/components/properties/SelectProperty.js +65 -73
- package/dist/components/properties/SelectProperty.js.map +1 -1
- package/dist/components/properties/SelectProperty.mjs +65 -73
- package/dist/components/properties/SelectProperty.mjs.map +1 -1
- package/dist/components/properties/TextProperty.js +51 -56
- package/dist/components/properties/TextProperty.js.map +1 -1
- package/dist/components/properties/TextProperty.mjs +51 -56
- package/dist/components/properties/TextProperty.mjs.map +1 -1
- package/dist/components/table/Table.js +88 -65
- package/dist/components/table/Table.js.map +1 -1
- package/dist/components/table/Table.mjs +88 -65
- package/dist/components/table/Table.mjs.map +1 -1
- package/dist/components/table/TableFilterButton.js +40 -43
- package/dist/components/table/TableFilterButton.js.map +1 -1
- package/dist/components/table/TableFilterButton.mjs +40 -43
- package/dist/components/table/TableFilterButton.mjs.map +1 -1
- package/dist/components/table/TableSortButton.js +40 -43
- package/dist/components/table/TableSortButton.js.map +1 -1
- package/dist/components/table/TableSortButton.mjs +40 -43
- package/dist/components/table/TableSortButton.mjs.map +1 -1
- package/dist/components/user-action/Button.d.mts +3 -3
- package/dist/components/user-action/Button.d.ts +3 -3
- package/dist/components/user-action/Button.js +76 -84
- package/dist/components/user-action/Button.js.map +1 -1
- package/dist/components/user-action/Button.mjs +76 -84
- package/dist/components/user-action/Button.mjs.map +1 -1
- package/dist/components/user-action/Checkbox.js +48 -22
- package/dist/components/user-action/Checkbox.js.map +1 -1
- package/dist/components/user-action/Checkbox.mjs +48 -22
- package/dist/components/user-action/Checkbox.mjs.map +1 -1
- package/dist/components/user-action/DateAndTimePicker.js +48 -53
- package/dist/components/user-action/DateAndTimePicker.js.map +1 -1
- package/dist/components/user-action/DateAndTimePicker.mjs +48 -53
- package/dist/components/user-action/DateAndTimePicker.mjs.map +1 -1
- package/dist/components/user-action/MultiSelect.js +92 -69
- package/dist/components/user-action/MultiSelect.js.map +1 -1
- package/dist/components/user-action/MultiSelect.mjs +92 -69
- package/dist/components/user-action/MultiSelect.mjs.map +1 -1
- package/dist/components/user-action/SearchBar.js +40 -43
- package/dist/components/user-action/SearchBar.js.map +1 -1
- package/dist/components/user-action/SearchBar.mjs +40 -43
- package/dist/components/user-action/SearchBar.mjs.map +1 -1
- package/dist/components/user-action/Select.js +43 -49
- package/dist/components/user-action/Select.js.map +1 -1
- package/dist/components/user-action/Select.mjs +43 -49
- package/dist/components/user-action/Select.mjs.map +1 -1
- package/dist/components/user-action/Textarea.js +3 -3
- package/dist/components/user-action/Textarea.js.map +1 -1
- package/dist/components/user-action/Textarea.mjs +3 -3
- package/dist/components/user-action/Textarea.mjs.map +1 -1
- package/dist/css/globals.css +269 -136
- package/dist/index.js +139 -124
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +139 -124
- package/dist/index.mjs.map +1 -1
- package/dist/theming/useTheme.js +1 -1
- package/dist/theming/useTheme.js.map +1 -1
- package/dist/theming/useTheme.mjs +1 -1
- package/dist/theming/useTheme.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -267,7 +267,6 @@ var ButtonUtil = {
|
|
|
267
267
|
};
|
|
268
268
|
var SolidButton = forwardRef(function SolidButton2({
|
|
269
269
|
children,
|
|
270
|
-
disabled = false,
|
|
271
270
|
color = "primary",
|
|
272
271
|
size = "medium",
|
|
273
272
|
startIcon,
|
|
@@ -277,35 +276,33 @@ var SolidButton = forwardRef(function SolidButton2({
|
|
|
277
276
|
...restProps
|
|
278
277
|
}, ref) {
|
|
279
278
|
const colorClasses = {
|
|
280
|
-
primary: "bg-button-solid-primary-background text-button-solid-primary-text",
|
|
281
|
-
secondary: "bg-button-solid-secondary-background text-button-solid-secondary-text",
|
|
282
|
-
tertiary: "bg-button-solid-tertiary-background text-button-solid-tertiary-text",
|
|
283
|
-
positive: "bg-button-solid-positive-background text-button-solid-positive-text",
|
|
284
|
-
warning: "bg-button-solid-warning-background text-button-solid-warning-text",
|
|
285
|
-
negative: "bg-button-solid-negative-background text-button-solid-negative-text",
|
|
286
|
-
neutral: "bg-button-solid-neutral-background text-button-solid-neutral-text"
|
|
279
|
+
primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
|
|
280
|
+
secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
|
|
281
|
+
tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
|
|
282
|
+
positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
|
|
283
|
+
warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
|
|
284
|
+
negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
|
|
285
|
+
neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text"
|
|
287
286
|
}[color];
|
|
288
287
|
const iconColorClasses = {
|
|
289
|
-
primary: "text-button-solid-primary-icon",
|
|
290
|
-
secondary: "text-button-solid-secondary-icon",
|
|
291
|
-
tertiary: "text-button-solid-tertiary-icon",
|
|
292
|
-
positive: "text-button-solid-positive-icon",
|
|
293
|
-
warning: "text-button-solid-warning-icon",
|
|
294
|
-
negative: "text-button-solid-negative-icon",
|
|
295
|
-
neutral: "text-button-solid-neutral-icon"
|
|
288
|
+
primary: "not-group-disabled:text-button-solid-primary-icon",
|
|
289
|
+
secondary: "not-group-disabled:text-button-solid-secondary-icon",
|
|
290
|
+
tertiary: "not-group-disabled:text-button-solid-tertiary-icon",
|
|
291
|
+
positive: "not-group-disabled:text-button-solid-positive-icon",
|
|
292
|
+
warning: "not-group-disabled:text-button-solid-warning-icon",
|
|
293
|
+
negative: "not-group-disabled:text-button-solid-negative-icon",
|
|
294
|
+
neutral: "not-group-disabled:text-button-solid-neutral-icon"
|
|
296
295
|
}[color];
|
|
297
296
|
return /* @__PURE__ */ jsxs(
|
|
298
297
|
"button",
|
|
299
298
|
{
|
|
300
299
|
ref,
|
|
301
300
|
onClick,
|
|
302
|
-
disabled,
|
|
303
301
|
className: clsx(
|
|
304
|
-
"font-semibold",
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
},
|
|
302
|
+
"group font-semibold",
|
|
303
|
+
colorClasses,
|
|
304
|
+
"not-disabled:hover:brightness-90",
|
|
305
|
+
"disabled:text-disabled-text disabled:bg-disabled-background",
|
|
309
306
|
ButtonUtil.paddingMapping[size],
|
|
310
307
|
className
|
|
311
308
|
),
|
|
@@ -314,10 +311,10 @@ var SolidButton = forwardRef(function SolidButton2({
|
|
|
314
311
|
startIcon && /* @__PURE__ */ jsx2(
|
|
315
312
|
"span",
|
|
316
313
|
{
|
|
317
|
-
className: clsx(
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
314
|
+
className: clsx(
|
|
315
|
+
iconColorClasses,
|
|
316
|
+
"group-disabled:text-disabled-icon"
|
|
317
|
+
),
|
|
321
318
|
children: startIcon
|
|
322
319
|
}
|
|
323
320
|
),
|
|
@@ -325,10 +322,10 @@ var SolidButton = forwardRef(function SolidButton2({
|
|
|
325
322
|
endIcon && /* @__PURE__ */ jsx2(
|
|
326
323
|
"span",
|
|
327
324
|
{
|
|
328
|
-
className: clsx(
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
325
|
+
className: clsx(
|
|
326
|
+
iconColorClasses,
|
|
327
|
+
"group-disabled:text-disabled-icon"
|
|
328
|
+
),
|
|
332
329
|
children: endIcon
|
|
333
330
|
}
|
|
334
331
|
)
|
|
@@ -338,7 +335,6 @@ var SolidButton = forwardRef(function SolidButton2({
|
|
|
338
335
|
});
|
|
339
336
|
var TextButton = ({
|
|
340
337
|
children,
|
|
341
|
-
disabled = false,
|
|
342
338
|
color = "neutral",
|
|
343
339
|
size = "medium",
|
|
344
340
|
startIcon,
|
|
@@ -349,32 +345,31 @@ var TextButton = ({
|
|
|
349
345
|
...restProps
|
|
350
346
|
}) => {
|
|
351
347
|
const colorClasses = {
|
|
352
|
-
primary: "bg-transparent text-button-text-primary-text",
|
|
353
|
-
negative: "bg-transparent text-button-text-negative-text",
|
|
354
|
-
neutral: "bg-transparent text-button-text-neutral-text"
|
|
348
|
+
primary: "not-disabled:bg-transparent not-disabled:text-button-text-primary-text",
|
|
349
|
+
negative: "not-disabled:bg-transparent not-disabled:text-button-text-negative-text",
|
|
350
|
+
neutral: "not-disabled:bg-transparent not-disabled:text-button-text-neutral-text"
|
|
355
351
|
}[color];
|
|
356
352
|
const backgroundColor = {
|
|
357
|
-
primary: "hover:bg-button-text-primary-text/20",
|
|
358
|
-
negative: "hover:bg-button-text-negative-text/20",
|
|
359
|
-
neutral: "hover:bg-button-text-neutral-text/20"
|
|
353
|
+
primary: "not-disabled:hover:bg-button-text-primary-text/20",
|
|
354
|
+
negative: "not-disabled:hover:bg-button-text-negative-text/20",
|
|
355
|
+
neutral: "not-disabled:hover:bg-button-text-neutral-text/20"
|
|
360
356
|
}[color];
|
|
361
357
|
const iconColorClasses = {
|
|
362
|
-
primary: "text-button-text-primary-icon",
|
|
363
|
-
negative: "text-button-text-negative-icon",
|
|
364
|
-
neutral: "text-button-text-neutral-icon"
|
|
358
|
+
primary: "not-group-disabled:text-button-text-primary-icon",
|
|
359
|
+
negative: "not-group-disabled:text-button-text-negative-icon",
|
|
360
|
+
neutral: "not-group-disabled:text-button-text-neutral-icon"
|
|
365
361
|
}[color];
|
|
366
362
|
return /* @__PURE__ */ jsxs(
|
|
367
363
|
"button",
|
|
368
364
|
{
|
|
369
365
|
onClick,
|
|
370
|
-
disabled,
|
|
371
366
|
className: clsx(
|
|
372
|
-
"font-semibold",
|
|
367
|
+
"group font-semibold",
|
|
368
|
+
"disabled:text-disabled-text",
|
|
369
|
+
colorClasses,
|
|
373
370
|
{
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
[backgroundColor]: !disabled && coloredHoverBackground,
|
|
377
|
-
"hover:bg-button-text-hover-background": !disabled && !coloredHoverBackground
|
|
371
|
+
[backgroundColor]: coloredHoverBackground,
|
|
372
|
+
"not-disabled:hover:bg-button-text-hover-background": !coloredHoverBackground
|
|
378
373
|
},
|
|
379
374
|
ButtonUtil.paddingMapping[size],
|
|
380
375
|
className
|
|
@@ -384,10 +379,10 @@ var TextButton = ({
|
|
|
384
379
|
startIcon && /* @__PURE__ */ jsx2(
|
|
385
380
|
"span",
|
|
386
381
|
{
|
|
387
|
-
className: clsx(
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
382
|
+
className: clsx(
|
|
383
|
+
iconColorClasses,
|
|
384
|
+
"group-disabled:text-disabled-icon"
|
|
385
|
+
),
|
|
391
386
|
children: startIcon
|
|
392
387
|
}
|
|
393
388
|
),
|
|
@@ -395,10 +390,10 @@ var TextButton = ({
|
|
|
395
390
|
endIcon && /* @__PURE__ */ jsx2(
|
|
396
391
|
"span",
|
|
397
392
|
{
|
|
398
|
-
className: clsx(
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
393
|
+
className: clsx(
|
|
394
|
+
iconColorClasses,
|
|
395
|
+
"group-disabled:text-disabled-icon"
|
|
396
|
+
),
|
|
402
397
|
children: endIcon
|
|
403
398
|
}
|
|
404
399
|
)
|