@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
|
@@ -886,7 +886,6 @@ var ButtonUtil = {
|
|
|
886
886
|
};
|
|
887
887
|
var SolidButton = forwardRef3(function SolidButton2({
|
|
888
888
|
children,
|
|
889
|
-
disabled = false,
|
|
890
889
|
color = "primary",
|
|
891
890
|
size = "medium",
|
|
892
891
|
startIcon,
|
|
@@ -896,35 +895,33 @@ var SolidButton = forwardRef3(function SolidButton2({
|
|
|
896
895
|
...restProps
|
|
897
896
|
}, ref) {
|
|
898
897
|
const colorClasses = {
|
|
899
|
-
primary: "bg-button-solid-primary-background text-button-solid-primary-text",
|
|
900
|
-
secondary: "bg-button-solid-secondary-background text-button-solid-secondary-text",
|
|
901
|
-
tertiary: "bg-button-solid-tertiary-background text-button-solid-tertiary-text",
|
|
902
|
-
positive: "bg-button-solid-positive-background text-button-solid-positive-text",
|
|
903
|
-
warning: "bg-button-solid-warning-background text-button-solid-warning-text",
|
|
904
|
-
negative: "bg-button-solid-negative-background text-button-solid-negative-text",
|
|
905
|
-
neutral: "bg-button-solid-neutral-background text-button-solid-neutral-text"
|
|
898
|
+
primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
|
|
899
|
+
secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
|
|
900
|
+
tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
|
|
901
|
+
positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
|
|
902
|
+
warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
|
|
903
|
+
negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
|
|
904
|
+
neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text"
|
|
906
905
|
}[color];
|
|
907
906
|
const iconColorClasses = {
|
|
908
|
-
primary: "text-button-solid-primary-icon",
|
|
909
|
-
secondary: "text-button-solid-secondary-icon",
|
|
910
|
-
tertiary: "text-button-solid-tertiary-icon",
|
|
911
|
-
positive: "text-button-solid-positive-icon",
|
|
912
|
-
warning: "text-button-solid-warning-icon",
|
|
913
|
-
negative: "text-button-solid-negative-icon",
|
|
914
|
-
neutral: "text-button-solid-neutral-icon"
|
|
907
|
+
primary: "not-group-disabled:text-button-solid-primary-icon",
|
|
908
|
+
secondary: "not-group-disabled:text-button-solid-secondary-icon",
|
|
909
|
+
tertiary: "not-group-disabled:text-button-solid-tertiary-icon",
|
|
910
|
+
positive: "not-group-disabled:text-button-solid-positive-icon",
|
|
911
|
+
warning: "not-group-disabled:text-button-solid-warning-icon",
|
|
912
|
+
negative: "not-group-disabled:text-button-solid-negative-icon",
|
|
913
|
+
neutral: "not-group-disabled:text-button-solid-neutral-icon"
|
|
915
914
|
}[color];
|
|
916
915
|
return /* @__PURE__ */ jsxs5(
|
|
917
916
|
"button",
|
|
918
917
|
{
|
|
919
918
|
ref,
|
|
920
919
|
onClick,
|
|
921
|
-
disabled,
|
|
922
920
|
className: clsx6(
|
|
923
|
-
"font-semibold",
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
},
|
|
921
|
+
"group font-semibold",
|
|
922
|
+
colorClasses,
|
|
923
|
+
"not-disabled:hover:brightness-90",
|
|
924
|
+
"disabled:text-disabled-text disabled:bg-disabled-background",
|
|
928
925
|
ButtonUtil.paddingMapping[size],
|
|
929
926
|
className
|
|
930
927
|
),
|
|
@@ -933,10 +930,10 @@ var SolidButton = forwardRef3(function SolidButton2({
|
|
|
933
930
|
startIcon && /* @__PURE__ */ jsx7(
|
|
934
931
|
"span",
|
|
935
932
|
{
|
|
936
|
-
className: clsx6(
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
933
|
+
className: clsx6(
|
|
934
|
+
iconColorClasses,
|
|
935
|
+
"group-disabled:text-disabled-icon"
|
|
936
|
+
),
|
|
940
937
|
children: startIcon
|
|
941
938
|
}
|
|
942
939
|
),
|
|
@@ -944,10 +941,10 @@ var SolidButton = forwardRef3(function SolidButton2({
|
|
|
944
941
|
endIcon && /* @__PURE__ */ jsx7(
|
|
945
942
|
"span",
|
|
946
943
|
{
|
|
947
|
-
className: clsx6(
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
944
|
+
className: clsx6(
|
|
945
|
+
iconColorClasses,
|
|
946
|
+
"group-disabled:text-disabled-icon"
|
|
947
|
+
),
|
|
951
948
|
children: endIcon
|
|
952
949
|
}
|
|
953
950
|
)
|
|
@@ -957,32 +954,32 @@ var SolidButton = forwardRef3(function SolidButton2({
|
|
|
957
954
|
});
|
|
958
955
|
var IconButton = ({
|
|
959
956
|
children,
|
|
960
|
-
disabled = false,
|
|
961
957
|
color = "primary",
|
|
962
958
|
size = "medium",
|
|
963
959
|
className,
|
|
964
960
|
...restProps
|
|
965
961
|
}) => {
|
|
966
962
|
const colorClasses = {
|
|
967
|
-
primary: "bg-button-solid-primary-background text-button-solid-primary-text",
|
|
968
|
-
secondary: "bg-button-solid-secondary-background text-button-solid-secondary-text",
|
|
969
|
-
tertiary: "bg-button-solid-tertiary-background text-button-solid-tertiary-text",
|
|
970
|
-
positive: "bg-button-solid-positive-background text-button-solid-positive-text",
|
|
971
|
-
warning: "bg-button-solid-warning-background text-button-solid-warning-text",
|
|
972
|
-
negative: "bg-button-solid-negative-background text-button-solid-negative-text",
|
|
973
|
-
neutral: "bg-button-solid-neutral-background text-button-solid-neutral-text",
|
|
974
|
-
transparent: "bg-transparent"
|
|
963
|
+
primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
|
|
964
|
+
secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
|
|
965
|
+
tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
|
|
966
|
+
positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
|
|
967
|
+
warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
|
|
968
|
+
negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
|
|
969
|
+
neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text",
|
|
970
|
+
transparent: "not-disabled:bg-transparent"
|
|
975
971
|
}[color];
|
|
976
972
|
return /* @__PURE__ */ jsx7(
|
|
977
973
|
"button",
|
|
978
974
|
{
|
|
979
|
-
disabled,
|
|
980
975
|
className: clsx6(
|
|
976
|
+
colorClasses,
|
|
977
|
+
"not-disabled:hover:brightness-90",
|
|
978
|
+
"disabled:text-disabled-text",
|
|
981
979
|
{
|
|
982
|
-
"
|
|
983
|
-
"
|
|
984
|
-
"hover:bg-button-text-hover-background":
|
|
985
|
-
[clsx6(colorClasses, "hover:brightness-90")]: !disabled
|
|
980
|
+
"disabled:bg-disabled-background": color !== "transparent",
|
|
981
|
+
"disabled:opacity-70": color === "transparent",
|
|
982
|
+
"not-disabled:hover:bg-button-text-hover-background": color === "transparent"
|
|
986
983
|
},
|
|
987
984
|
ButtonUtil.iconPaddingMapping[size],
|
|
988
985
|
className
|
|
@@ -1112,7 +1109,7 @@ var Select = ({
|
|
|
1112
1109
|
...searchOptions
|
|
1113
1110
|
});
|
|
1114
1111
|
return /* @__PURE__ */ jsxs7("div", { className: clsx8(className), children: [
|
|
1115
|
-
label && /* @__PURE__ */ jsx9(Label, { ...label, labelType: label.labelType ?? "
|
|
1112
|
+
label && /* @__PURE__ */ jsx9(Label, { ...label, labelType: label.labelType ?? "labelSmall", className: clsx8("mb-1", label.className) }),
|
|
1116
1113
|
/* @__PURE__ */ jsx9(
|
|
1117
1114
|
Menu,
|
|
1118
1115
|
{
|
|
@@ -1123,11 +1120,8 @@ var Select = ({
|
|
|
1123
1120
|
ref,
|
|
1124
1121
|
className: clsx8(
|
|
1125
1122
|
"btn-md justify-between w-full border-2",
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
"bg-input-background text-input-text hover:border-primary": !disabled,
|
|
1129
|
-
"bg-disabled-background text-disabled-text border-disabled-background cursor-not-allowed": disabled
|
|
1130
|
-
},
|
|
1123
|
+
"not-disabled:bg-input-background not-disabled:text-input-text not-disabled:hover:border-primary",
|
|
1124
|
+
"disabled:bg-disabled-background disabled:text-disabled-text disabled:border-disabled-border",
|
|
1131
1125
|
triggerClassName
|
|
1132
1126
|
),
|
|
1133
1127
|
onClick: toggleOpen,
|