@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
|
@@ -921,7 +921,6 @@ var ButtonUtil = {
|
|
|
921
921
|
};
|
|
922
922
|
var SolidButton = (0, import_react11.forwardRef)(function SolidButton2({
|
|
923
923
|
children,
|
|
924
|
-
disabled = false,
|
|
925
924
|
color = "primary",
|
|
926
925
|
size = "medium",
|
|
927
926
|
startIcon,
|
|
@@ -931,35 +930,33 @@ var SolidButton = (0, import_react11.forwardRef)(function SolidButton2({
|
|
|
931
930
|
...restProps
|
|
932
931
|
}, ref) {
|
|
933
932
|
const colorClasses = {
|
|
934
|
-
primary: "bg-button-solid-primary-background text-button-solid-primary-text",
|
|
935
|
-
secondary: "bg-button-solid-secondary-background text-button-solid-secondary-text",
|
|
936
|
-
tertiary: "bg-button-solid-tertiary-background text-button-solid-tertiary-text",
|
|
937
|
-
positive: "bg-button-solid-positive-background text-button-solid-positive-text",
|
|
938
|
-
warning: "bg-button-solid-warning-background text-button-solid-warning-text",
|
|
939
|
-
negative: "bg-button-solid-negative-background text-button-solid-negative-text",
|
|
940
|
-
neutral: "bg-button-solid-neutral-background text-button-solid-neutral-text"
|
|
933
|
+
primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
|
|
934
|
+
secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
|
|
935
|
+
tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
|
|
936
|
+
positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
|
|
937
|
+
warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
|
|
938
|
+
negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
|
|
939
|
+
neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text"
|
|
941
940
|
}[color];
|
|
942
941
|
const iconColorClasses = {
|
|
943
|
-
primary: "text-button-solid-primary-icon",
|
|
944
|
-
secondary: "text-button-solid-secondary-icon",
|
|
945
|
-
tertiary: "text-button-solid-tertiary-icon",
|
|
946
|
-
positive: "text-button-solid-positive-icon",
|
|
947
|
-
warning: "text-button-solid-warning-icon",
|
|
948
|
-
negative: "text-button-solid-negative-icon",
|
|
949
|
-
neutral: "text-button-solid-neutral-icon"
|
|
942
|
+
primary: "not-group-disabled:text-button-solid-primary-icon",
|
|
943
|
+
secondary: "not-group-disabled:text-button-solid-secondary-icon",
|
|
944
|
+
tertiary: "not-group-disabled:text-button-solid-tertiary-icon",
|
|
945
|
+
positive: "not-group-disabled:text-button-solid-positive-icon",
|
|
946
|
+
warning: "not-group-disabled:text-button-solid-warning-icon",
|
|
947
|
+
negative: "not-group-disabled:text-button-solid-negative-icon",
|
|
948
|
+
neutral: "not-group-disabled:text-button-solid-neutral-icon"
|
|
950
949
|
}[color];
|
|
951
950
|
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
|
952
951
|
"button",
|
|
953
952
|
{
|
|
954
953
|
ref,
|
|
955
954
|
onClick,
|
|
956
|
-
disabled,
|
|
957
955
|
className: (0, import_clsx6.default)(
|
|
958
|
-
"font-semibold",
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
},
|
|
956
|
+
"group font-semibold",
|
|
957
|
+
colorClasses,
|
|
958
|
+
"not-disabled:hover:brightness-90",
|
|
959
|
+
"disabled:text-disabled-text disabled:bg-disabled-background",
|
|
963
960
|
ButtonUtil.paddingMapping[size],
|
|
964
961
|
className
|
|
965
962
|
),
|
|
@@ -968,10 +965,10 @@ var SolidButton = (0, import_react11.forwardRef)(function SolidButton2({
|
|
|
968
965
|
startIcon && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
969
966
|
"span",
|
|
970
967
|
{
|
|
971
|
-
className: (0, import_clsx6.default)(
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
968
|
+
className: (0, import_clsx6.default)(
|
|
969
|
+
iconColorClasses,
|
|
970
|
+
"group-disabled:text-disabled-icon"
|
|
971
|
+
),
|
|
975
972
|
children: startIcon
|
|
976
973
|
}
|
|
977
974
|
),
|
|
@@ -979,10 +976,10 @@ var SolidButton = (0, import_react11.forwardRef)(function SolidButton2({
|
|
|
979
976
|
endIcon && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
980
977
|
"span",
|
|
981
978
|
{
|
|
982
|
-
className: (0, import_clsx6.default)(
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
979
|
+
className: (0, import_clsx6.default)(
|
|
980
|
+
iconColorClasses,
|
|
981
|
+
"group-disabled:text-disabled-icon"
|
|
982
|
+
),
|
|
986
983
|
children: endIcon
|
|
987
984
|
}
|
|
988
985
|
)
|
|
@@ -992,32 +989,32 @@ var SolidButton = (0, import_react11.forwardRef)(function SolidButton2({
|
|
|
992
989
|
});
|
|
993
990
|
var IconButton = ({
|
|
994
991
|
children,
|
|
995
|
-
disabled = false,
|
|
996
992
|
color = "primary",
|
|
997
993
|
size = "medium",
|
|
998
994
|
className,
|
|
999
995
|
...restProps
|
|
1000
996
|
}) => {
|
|
1001
997
|
const colorClasses = {
|
|
1002
|
-
primary: "bg-button-solid-primary-background text-button-solid-primary-text",
|
|
1003
|
-
secondary: "bg-button-solid-secondary-background text-button-solid-secondary-text",
|
|
1004
|
-
tertiary: "bg-button-solid-tertiary-background text-button-solid-tertiary-text",
|
|
1005
|
-
positive: "bg-button-solid-positive-background text-button-solid-positive-text",
|
|
1006
|
-
warning: "bg-button-solid-warning-background text-button-solid-warning-text",
|
|
1007
|
-
negative: "bg-button-solid-negative-background text-button-solid-negative-text",
|
|
1008
|
-
neutral: "bg-button-solid-neutral-background text-button-solid-neutral-text",
|
|
1009
|
-
transparent: "bg-transparent"
|
|
998
|
+
primary: "not-disabled:bg-button-solid-primary-background not-disabled:text-button-solid-primary-text",
|
|
999
|
+
secondary: "not-disabled:bg-button-solid-secondary-background not-disabled:text-button-solid-secondary-text",
|
|
1000
|
+
tertiary: "not-disabled:bg-button-solid-tertiary-background not-disabled:text-button-solid-tertiary-text",
|
|
1001
|
+
positive: "not-disabled:bg-button-solid-positive-background not-disabled:text-button-solid-positive-text",
|
|
1002
|
+
warning: "not-disabled:bg-button-solid-warning-background not-disabled:text-button-solid-warning-text",
|
|
1003
|
+
negative: "not-disabled:bg-button-solid-negative-background not-disabled:text-button-solid-negative-text",
|
|
1004
|
+
neutral: "not-disabled:bg-button-solid-neutral-background not-disabled:text-button-solid-neutral-text",
|
|
1005
|
+
transparent: "not-disabled:bg-transparent"
|
|
1010
1006
|
}[color];
|
|
1011
1007
|
return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
1012
1008
|
"button",
|
|
1013
1009
|
{
|
|
1014
|
-
disabled,
|
|
1015
1010
|
className: (0, import_clsx6.default)(
|
|
1011
|
+
colorClasses,
|
|
1012
|
+
"not-disabled:hover:brightness-90",
|
|
1013
|
+
"disabled:text-disabled-text",
|
|
1016
1014
|
{
|
|
1017
|
-
"
|
|
1018
|
-
"
|
|
1019
|
-
"hover:bg-button-text-hover-background":
|
|
1020
|
-
[(0, import_clsx6.default)(colorClasses, "hover:brightness-90")]: !disabled
|
|
1015
|
+
"disabled:bg-disabled-background": color !== "transparent",
|
|
1016
|
+
"disabled:opacity-70": color === "transparent",
|
|
1017
|
+
"not-disabled:hover:bg-button-text-hover-background": color === "transparent"
|
|
1021
1018
|
},
|
|
1022
1019
|
ButtonUtil.iconPaddingMapping[size],
|
|
1023
1020
|
className
|
|
@@ -1147,7 +1144,7 @@ var Select = ({
|
|
|
1147
1144
|
...searchOptions
|
|
1148
1145
|
});
|
|
1149
1146
|
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)("div", { className: (0, import_clsx8.default)(className), children: [
|
|
1150
|
-
label && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Label, { ...label, labelType: label.labelType ?? "
|
|
1147
|
+
label && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Label, { ...label, labelType: label.labelType ?? "labelSmall", className: (0, import_clsx8.default)("mb-1", label.className) }),
|
|
1151
1148
|
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
1152
1149
|
Menu,
|
|
1153
1150
|
{
|
|
@@ -1158,11 +1155,8 @@ var Select = ({
|
|
|
1158
1155
|
ref,
|
|
1159
1156
|
className: (0, import_clsx8.default)(
|
|
1160
1157
|
"btn-md justify-between w-full border-2",
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
"bg-input-background text-input-text hover:border-primary": !disabled,
|
|
1164
|
-
"bg-disabled-background text-disabled-text border-disabled-background cursor-not-allowed": disabled
|
|
1165
|
-
},
|
|
1158
|
+
"not-disabled:bg-input-background not-disabled:text-input-text not-disabled:hover:border-primary",
|
|
1159
|
+
"disabled:bg-disabled-background disabled:text-disabled-text disabled:border-disabled-border",
|
|
1166
1160
|
triggerClassName
|
|
1167
1161
|
),
|
|
1168
1162
|
onClick: toggleOpen,
|