@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
|
@@ -443,7 +443,7 @@ var PropertyBase = ({
|
|
|
443
443
|
className
|
|
444
444
|
),
|
|
445
445
|
children: [
|
|
446
|
-
/* @__PURE__ */ jsx3("div", { className: "max-w-6 min-w-6 text-text-
|
|
446
|
+
/* @__PURE__ */ jsx3("div", { className: "max-w-6 min-w-6 text-text-primary", children: icon }),
|
|
447
447
|
/* @__PURE__ */ jsx3("span", { className: "font-semibold", children: name })
|
|
448
448
|
]
|
|
449
449
|
}
|
|
@@ -507,14 +507,16 @@ import { Check } from "lucide-react";
|
|
|
507
507
|
import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
508
508
|
var Tile = ({
|
|
509
509
|
title,
|
|
510
|
+
titleClassName,
|
|
510
511
|
description,
|
|
512
|
+
descriptionClassName,
|
|
511
513
|
onClick,
|
|
512
514
|
isSelected = false,
|
|
513
515
|
disabled = false,
|
|
514
516
|
prefix,
|
|
515
517
|
suffix,
|
|
516
518
|
normalClassName = "hover:bg-primary/40 cursor-pointer",
|
|
517
|
-
selectedClassName = "
|
|
519
|
+
selectedClassName = "bg-primary/20",
|
|
518
520
|
disabledClassName = "text-disabled-text bg-disabled-background cursor-not-allowed",
|
|
519
521
|
className
|
|
520
522
|
}) => {
|
|
@@ -524,7 +526,7 @@ var Tile = ({
|
|
|
524
526
|
className: clsx4(
|
|
525
527
|
"flex-row-2 w-full items-center",
|
|
526
528
|
{
|
|
527
|
-
[normalClassName]:
|
|
529
|
+
[normalClassName]: onClick && !disabled,
|
|
528
530
|
[selectedClassName]: isSelected && !disabled,
|
|
529
531
|
[disabledClassName]: disabled
|
|
530
532
|
},
|
|
@@ -534,14 +536,27 @@ var Tile = ({
|
|
|
534
536
|
children: [
|
|
535
537
|
prefix,
|
|
536
538
|
/* @__PURE__ */ jsxs3("div", { className: "flex-col-0 w-full", children: [
|
|
537
|
-
/* @__PURE__ */ jsx5("
|
|
538
|
-
!!description && /* @__PURE__ */ jsx5("span", { className: clsx4(
|
|
539
|
+
/* @__PURE__ */ jsx5("span", { className: clsx4(titleClassName ?? "textstyle-title-normal"), children: title }),
|
|
540
|
+
!!description && /* @__PURE__ */ jsx5("span", { className: clsx4(descriptionClassName ?? "textstyle-description"), children: description })
|
|
539
541
|
] }),
|
|
540
542
|
suffix ?? (isSelected ? /* @__PURE__ */ jsx5(Check, { size: 24 }) : void 0)
|
|
541
543
|
]
|
|
542
544
|
}
|
|
543
545
|
);
|
|
544
546
|
};
|
|
547
|
+
var ListTile = ({
|
|
548
|
+
...props
|
|
549
|
+
}) => {
|
|
550
|
+
return /* @__PURE__ */ jsx5(
|
|
551
|
+
Tile,
|
|
552
|
+
{
|
|
553
|
+
...props,
|
|
554
|
+
titleClassName: props.titleClassName ?? "font-semibold",
|
|
555
|
+
className: clsx4("px-2 py-1 rounded-md", props.className),
|
|
556
|
+
disabledClassName: props.disabledClassName ?? "text-disabled-text cursor-not-allowed"
|
|
557
|
+
}
|
|
558
|
+
);
|
|
559
|
+
};
|
|
545
560
|
|
|
546
561
|
// src/components/layout-and-navigation/Expandable.tsx
|
|
547
562
|
import { forwardRef as forwardRef2, useCallback as useCallback2, useEffect as useEffect3, useState as useState3 } from "react";
|
|
@@ -1213,22 +1228,6 @@ var useSearch = ({
|
|
|
1213
1228
|
|
|
1214
1229
|
// src/components/user-action/Select.tsx
|
|
1215
1230
|
import { Fragment as Fragment2, jsx as jsx10, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
1216
|
-
var SelectTile = ({
|
|
1217
|
-
className,
|
|
1218
|
-
disabledClassName,
|
|
1219
|
-
title,
|
|
1220
|
-
...restProps
|
|
1221
|
-
}) => {
|
|
1222
|
-
return /* @__PURE__ */ jsx10(
|
|
1223
|
-
Tile,
|
|
1224
|
-
{
|
|
1225
|
-
...restProps,
|
|
1226
|
-
className: clsx9("px-2 py-1 rounded-md", className),
|
|
1227
|
-
disabledClassName: disabledClassName ?? "text-disabled-text cursor-not-allowed",
|
|
1228
|
-
title: { ...title, className: title.className ?? "font-semibold" }
|
|
1229
|
-
}
|
|
1230
|
-
);
|
|
1231
|
-
};
|
|
1232
1231
|
var Select = ({
|
|
1233
1232
|
value,
|
|
1234
1233
|
label,
|
|
@@ -1295,10 +1294,10 @@ var Select = ({
|
|
|
1295
1294
|
),
|
|
1296
1295
|
/* @__PURE__ */ jsxs8("div", { className: "flex-col-2 overflow-y-auto", children: [
|
|
1297
1296
|
result.map((option, index) => /* @__PURE__ */ jsx10(
|
|
1298
|
-
|
|
1297
|
+
ListTile,
|
|
1299
1298
|
{
|
|
1300
1299
|
isSelected: option === selectedOption,
|
|
1301
|
-
title:
|
|
1300
|
+
title: option.label,
|
|
1302
1301
|
onClick: () => {
|
|
1303
1302
|
onChange(option.value);
|
|
1304
1303
|
close();
|
|
@@ -1358,10 +1357,10 @@ var SingleSelectProperty = ({
|
|
|
1358
1357
|
return void 0;
|
|
1359
1358
|
}
|
|
1360
1359
|
return /* @__PURE__ */ jsx11(
|
|
1361
|
-
|
|
1360
|
+
ListTile,
|
|
1362
1361
|
{
|
|
1363
1362
|
prefix: /* @__PURE__ */ jsx11(Plus, {}),
|
|
1364
|
-
title:
|
|
1363
|
+
title: `${translation("add")} ${search.trim()}`,
|
|
1365
1364
|
onClick: () => {
|
|
1366
1365
|
onAddNew(search);
|
|
1367
1366
|
close();
|