@helpwave/hightide 0.1.22 → 0.1.23
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/README.md +5 -0
- package/dist/components/branding/HelpwaveBadge.js +8 -5
- package/dist/components/branding/HelpwaveBadge.js.map +1 -1
- package/dist/components/branding/HelpwaveBadge.mjs +8 -5
- package/dist/components/branding/HelpwaveBadge.mjs.map +1 -1
- package/dist/components/icons-and-geometry/Avatar.js +2912 -33
- package/dist/components/icons-and-geometry/Avatar.js.map +1 -1
- package/dist/components/icons-and-geometry/Avatar.mjs +2941 -33
- package/dist/components/icons-and-geometry/Avatar.mjs.map +1 -1
- package/dist/components/icons-and-geometry/Tag.js +2912 -1
- package/dist/components/icons-and-geometry/Tag.js.map +1 -1
- package/dist/components/icons-and-geometry/Tag.mjs +2931 -1
- package/dist/components/icons-and-geometry/Tag.mjs.map +1 -1
- package/dist/components/layout-and-navigation/BreadCrumb.d.mts +2 -1
- package/dist/components/layout-and-navigation/BreadCrumb.d.ts +2 -1
- package/dist/components/layout-and-navigation/BreadCrumb.js +15 -11
- package/dist/components/layout-and-navigation/BreadCrumb.js.map +1 -1
- package/dist/components/layout-and-navigation/BreadCrumb.mjs +15 -11
- package/dist/components/layout-and-navigation/BreadCrumb.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Chip.js +2 -2
- package/dist/components/layout-and-navigation/Chip.js.map +1 -1
- package/dist/components/layout-and-navigation/Chip.mjs +2 -2
- package/dist/components/layout-and-navigation/Chip.mjs.map +1 -1
- package/dist/components/layout-and-navigation/Tile.d.mts +9 -10
- package/dist/components/layout-and-navigation/Tile.d.ts +9 -10
- package/dist/components/layout-and-navigation/Tile.js +21 -4
- package/dist/components/layout-and-navigation/Tile.js.map +1 -1
- package/dist/components/layout-and-navigation/Tile.mjs +20 -4
- package/dist/components/layout-and-navigation/Tile.mjs.map +1 -1
- package/dist/components/loading-states/LoadingAndErrorComponent.js +1 -1
- package/dist/components/loading-states/LoadingAndErrorComponent.js.map +1 -1
- package/dist/components/loading-states/LoadingAndErrorComponent.mjs +1 -1
- package/dist/components/loading-states/LoadingAndErrorComponent.mjs.map +1 -1
- package/dist/components/modals/LanguageModal.js +21 -22
- package/dist/components/modals/LanguageModal.js.map +1 -1
- package/dist/components/modals/LanguageModal.mjs +21 -22
- package/dist/components/modals/LanguageModal.mjs.map +1 -1
- package/dist/components/modals/ThemeModal.js +21 -22
- package/dist/components/modals/ThemeModal.js.map +1 -1
- package/dist/components/modals/ThemeModal.mjs +21 -22
- 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 +0 -1
- package/dist/components/properties/MultiSelectProperty.d.ts +0 -1
- package/dist/components/properties/MultiSelectProperty.js +745 -740
- package/dist/components/properties/MultiSelectProperty.js.map +1 -1
- package/dist/components/properties/MultiSelectProperty.mjs +752 -747
- 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 +0 -1
- package/dist/components/properties/SelectProperty.d.ts +0 -1
- package/dist/components/properties/SelectProperty.js +24 -25
- package/dist/components/properties/SelectProperty.js.map +1 -1
- package/dist/components/properties/SelectProperty.mjs +24 -25
- 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/MultiSelect.d.mts +0 -1
- package/dist/components/user-action/MultiSelect.d.ts +0 -1
- package/dist/components/user-action/MultiSelect.js +617 -612
- package/dist/components/user-action/MultiSelect.js.map +1 -1
- package/dist/components/user-action/MultiSelect.mjs +635 -630
- package/dist/components/user-action/MultiSelect.mjs.map +1 -1
- package/dist/components/user-action/ScrollPicker.js +1 -1
- package/dist/components/user-action/ScrollPicker.js.map +1 -1
- package/dist/components/user-action/ScrollPicker.mjs +1 -1
- package/dist/components/user-action/ScrollPicker.mjs.map +1 -1
- package/dist/components/user-action/Select.d.mts +1 -4
- package/dist/components/user-action/Select.d.ts +1 -4
- package/dist/components/user-action/Select.js +21 -24
- package/dist/components/user-action/Select.js.map +1 -1
- package/dist/components/user-action/Select.mjs +21 -23
- package/dist/components/user-action/Select.mjs.map +1 -1
- package/dist/css/globals.css +175 -179
- package/dist/css/uncompiled/globals.css +3 -3
- package/dist/css/uncompiled/textstyles.css +5 -5
- package/dist/css/uncompiled/theme/colors-basic.css +13 -5
- package/dist/css/uncompiled/theme/colors-component.css +56 -41
- package/dist/css/uncompiled/theme/colors-semantic.css +76 -83
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3158 -371
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3030 -243
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -114,14 +114,16 @@ import { Check } from "lucide-react";
|
|
|
114
114
|
import { jsx as jsx3, jsxs } from "react/jsx-runtime";
|
|
115
115
|
var Tile = ({
|
|
116
116
|
title,
|
|
117
|
+
titleClassName,
|
|
117
118
|
description,
|
|
119
|
+
descriptionClassName,
|
|
118
120
|
onClick,
|
|
119
121
|
isSelected = false,
|
|
120
122
|
disabled = false,
|
|
121
123
|
prefix,
|
|
122
124
|
suffix,
|
|
123
125
|
normalClassName = "hover:bg-primary/40 cursor-pointer",
|
|
124
|
-
selectedClassName = "
|
|
126
|
+
selectedClassName = "bg-primary/20",
|
|
125
127
|
disabledClassName = "text-disabled-text bg-disabled-background cursor-not-allowed",
|
|
126
128
|
className
|
|
127
129
|
}) => {
|
|
@@ -131,7 +133,7 @@ var Tile = ({
|
|
|
131
133
|
className: clsx2(
|
|
132
134
|
"flex-row-2 w-full items-center",
|
|
133
135
|
{
|
|
134
|
-
[normalClassName]:
|
|
136
|
+
[normalClassName]: onClick && !disabled,
|
|
135
137
|
[selectedClassName]: isSelected && !disabled,
|
|
136
138
|
[disabledClassName]: disabled
|
|
137
139
|
},
|
|
@@ -141,14 +143,27 @@ var Tile = ({
|
|
|
141
143
|
children: [
|
|
142
144
|
prefix,
|
|
143
145
|
/* @__PURE__ */ jsxs("div", { className: "flex-col-0 w-full", children: [
|
|
144
|
-
/* @__PURE__ */ jsx3("
|
|
145
|
-
!!description && /* @__PURE__ */ jsx3("span", { className: clsx2(
|
|
146
|
+
/* @__PURE__ */ jsx3("span", { className: clsx2(titleClassName ?? "textstyle-title-normal"), children: title }),
|
|
147
|
+
!!description && /* @__PURE__ */ jsx3("span", { className: clsx2(descriptionClassName ?? "textstyle-description"), children: description })
|
|
146
148
|
] }),
|
|
147
149
|
suffix ?? (isSelected ? /* @__PURE__ */ jsx3(Check, { size: 24 }) : void 0)
|
|
148
150
|
]
|
|
149
151
|
}
|
|
150
152
|
);
|
|
151
153
|
};
|
|
154
|
+
var ListTile = ({
|
|
155
|
+
...props
|
|
156
|
+
}) => {
|
|
157
|
+
return /* @__PURE__ */ jsx3(
|
|
158
|
+
Tile,
|
|
159
|
+
{
|
|
160
|
+
...props,
|
|
161
|
+
titleClassName: props.titleClassName ?? "font-semibold",
|
|
162
|
+
className: clsx2("px-2 py-1 rounded-md", props.className),
|
|
163
|
+
disabledClassName: props.disabledClassName ?? "text-disabled-text cursor-not-allowed"
|
|
164
|
+
}
|
|
165
|
+
);
|
|
166
|
+
};
|
|
152
167
|
|
|
153
168
|
// src/components/layout-and-navigation/Expandable.tsx
|
|
154
169
|
import { forwardRef, useCallback as useCallback2, useEffect as useEffect3, useState as useState3 } from "react";
|
|
@@ -1072,22 +1087,6 @@ var useSearch = ({
|
|
|
1072
1087
|
|
|
1073
1088
|
// src/components/user-action/Select.tsx
|
|
1074
1089
|
import { Fragment as Fragment2, jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1075
|
-
var SelectTile = ({
|
|
1076
|
-
className,
|
|
1077
|
-
disabledClassName,
|
|
1078
|
-
title,
|
|
1079
|
-
...restProps
|
|
1080
|
-
}) => {
|
|
1081
|
-
return /* @__PURE__ */ jsx9(
|
|
1082
|
-
Tile,
|
|
1083
|
-
{
|
|
1084
|
-
...restProps,
|
|
1085
|
-
className: clsx8("px-2 py-1 rounded-md", className),
|
|
1086
|
-
disabledClassName: disabledClassName ?? "text-disabled-text cursor-not-allowed",
|
|
1087
|
-
title: { ...title, className: title.className ?? "font-semibold" }
|
|
1088
|
-
}
|
|
1089
|
-
);
|
|
1090
|
-
};
|
|
1091
1090
|
var Select = ({
|
|
1092
1091
|
value,
|
|
1093
1092
|
label,
|
|
@@ -1154,10 +1153,10 @@ var Select = ({
|
|
|
1154
1153
|
),
|
|
1155
1154
|
/* @__PURE__ */ jsxs7("div", { className: "flex-col-2 overflow-y-auto", children: [
|
|
1156
1155
|
result.map((option, index) => /* @__PURE__ */ jsx9(
|
|
1157
|
-
|
|
1156
|
+
ListTile,
|
|
1158
1157
|
{
|
|
1159
1158
|
isSelected: option === selectedOption,
|
|
1160
|
-
title:
|
|
1159
|
+
title: option.label,
|
|
1161
1160
|
onClick: () => {
|
|
1162
1161
|
onChange(option.value);
|
|
1163
1162
|
close();
|