@povio/ui 2.1.20 → 2.2.0

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.
Files changed (138) hide show
  1. package/README.md +1 -1
  2. package/dist/Accordion.js +32 -0
  3. package/dist/AccordionItem.js +62 -0
  4. package/dist/Alert.js +1 -1
  5. package/dist/ArrowDropDown.js +1 -1
  6. package/dist/ArrowDropUp.js +1 -1
  7. package/dist/ArrowLeft.js +1 -1
  8. package/dist/ArrowRight.js +1 -1
  9. package/dist/BottomSheet.js +4 -4
  10. package/dist/Breadcrumbs.js +111 -0
  11. package/dist/Button.js +1 -1
  12. package/dist/ButtonContent.js +1 -1
  13. package/dist/Calendar.js +1 -1
  14. package/dist/Check.js +1 -1
  15. package/dist/CheckCircle.js +1 -1
  16. package/dist/CheckContent.js +1 -1
  17. package/dist/ChevronDown.js +1 -1
  18. package/dist/ChevronUp.js +1 -1
  19. package/dist/Clock.js +1 -1
  20. package/dist/ColorPickerDropdown.js +1 -1
  21. package/dist/DatePickerInput.js +1 -1
  22. package/dist/DateRangePicker.js +2 -2
  23. package/dist/DateTime.js +2 -4
  24. package/dist/{Drag.js → DragIndicator.js} +2 -2
  25. package/dist/File.js +1 -1
  26. package/dist/FileUpload.js +1 -1
  27. package/dist/Home.js +13 -0
  28. package/dist/Info.js +2 -2
  29. package/dist/InputContent.js +1 -1
  30. package/dist/InputUploadContent.js +1 -1
  31. package/dist/Menu.js +1 -1
  32. package/dist/MenuDesktop.js +1 -1
  33. package/dist/MenuItem.js +1 -1
  34. package/dist/MenuMobile.js +2 -2
  35. package/dist/MenuPopover.js +2 -2
  36. package/dist/NumberInput.js +1 -1
  37. package/dist/PasswordInput.js +3 -3
  38. package/dist/Segment.js +1 -1
  39. package/dist/SelectDesktop.js +1 -1
  40. package/dist/SelectInput.js +1 -1
  41. package/dist/SelectListBox.js +2 -2
  42. package/dist/SelectListBoxItem.js +2 -2
  43. package/dist/SelectListBoxItemSelectAll.js +1 -1
  44. package/dist/SelectListBoxLoadingItem.js +1 -1
  45. package/dist/SelectMobile.js +3 -3
  46. package/dist/Stepper.js +32 -0
  47. package/dist/StepperItem.js +52 -0
  48. package/dist/StepperSeparator.js +10 -0
  49. package/dist/Table.js +2 -2
  50. package/dist/TextArea.js +1 -1
  51. package/dist/TextInput.js +1 -1
  52. package/dist/TimePickerInput.js +1 -1
  53. package/dist/Toast.js +1 -1
  54. package/dist/Tooltip.js +2 -2
  55. package/dist/Typography.js +1 -1
  56. package/dist/Visibility.js +13 -0
  57. package/dist/VisibilityOff.js +13 -0
  58. package/dist/YearPicker.js +1 -1
  59. package/dist/accordion.cva.js +97 -0
  60. package/dist/assets/icons/{ViewOff.d.ts → Account.d.ts} +1 -1
  61. package/dist/assets/icons/Board.d.ts +2 -0
  62. package/dist/assets/icons/DragIndicator.d.ts +2 -0
  63. package/dist/assets/icons/{Drag.d.ts → Edit.d.ts} +1 -1
  64. package/dist/assets/icons/Emoji.d.ts +2 -0
  65. package/dist/assets/icons/{View.d.ts → Grid.d.ts} +1 -1
  66. package/dist/assets/icons/Home.d.ts +2 -0
  67. package/dist/assets/icons/Image.d.ts +2 -0
  68. package/dist/assets/icons/ImageError.d.ts +2 -0
  69. package/dist/assets/icons/Loader.d.ts +2 -0
  70. package/dist/assets/icons/MapPin.d.ts +2 -0
  71. package/dist/assets/icons/Minus.d.ts +2 -0
  72. package/dist/assets/icons/MoreHoriz.d.ts +2 -0
  73. package/dist/assets/icons/Pause.d.ts +2 -0
  74. package/dist/assets/icons/Plus.d.ts +2 -0
  75. package/dist/assets/icons/Retry.d.ts +2 -0
  76. package/dist/assets/icons/Search.d.ts +2 -0
  77. package/dist/assets/icons/Share.d.ts +2 -0
  78. package/dist/assets/icons/Slash.d.ts +2 -0
  79. package/dist/assets/icons/Trash.d.ts +2 -0
  80. package/dist/assets/icons/User.d.ts +2 -0
  81. package/dist/assets/icons/Visibility.d.ts +2 -0
  82. package/dist/assets/icons/VisibilityOff.d.ts +2 -0
  83. package/dist/assets/icons/WarningOutlined.d.ts +2 -0
  84. package/dist/breadcrumbs.cva.js +22 -0
  85. package/dist/components/Breadcrumbs/Breadcrumbs.d.ts +15 -0
  86. package/dist/components/Breadcrumbs/breadcrumbs.cva.d.ts +19 -0
  87. package/dist/components/Menu/Menu.d.ts +2 -2
  88. package/dist/components/inputs/File/fileUpload.types.d.ts +1 -1
  89. package/dist/components/inputs/Inputs/InputItem.d.ts +1 -1
  90. package/dist/components/inputs/shared/input.cva.d.ts +2 -2
  91. package/dist/components/inputs/shared/label.cva.d.ts +2 -2
  92. package/dist/components/navigation/Accordion/Accordion.d.ts +3 -0
  93. package/dist/components/navigation/Accordion/AccordionItem.d.ts +2 -0
  94. package/dist/components/navigation/Accordion/accordion.cva.d.ts +45 -0
  95. package/dist/components/navigation/Accordion/accordion.types.d.ts +52 -0
  96. package/dist/components/navigation/Stepper/Stepper.d.ts +2 -0
  97. package/dist/components/navigation/Stepper/StepperItem.d.ts +2 -0
  98. package/dist/components/navigation/Stepper/StepperSeparator.d.ts +5 -0
  99. package/dist/components/navigation/Stepper/stepper.cva.d.ts +37 -0
  100. package/dist/components/navigation/Stepper/stepper.types.d.ts +41 -0
  101. package/dist/config/i18n.d.ts +0 -15
  102. package/dist/config/uiStyle.context.d.ts +31 -0
  103. package/dist/index.d.ts +13 -7
  104. package/dist/index.js +11 -9
  105. package/dist/input.cva.js +30 -30
  106. package/dist/label.cva.js +1 -1
  107. package/dist/menu.cva.js +2 -3
  108. package/dist/pillButton.cva.js +1 -1
  109. package/dist/radio.cva.js +0 -10
  110. package/dist/stepper.cva.js +93 -0
  111. package/dist/tag.cva.js +1 -1
  112. package/dist/tooltip.cva.js +1 -1
  113. package/dist/translation.js +0 -8
  114. package/dist/translation2.js +0 -7
  115. package/dist/types/error-handling.d.ts +6 -0
  116. package/dist/types/react-query.d.ts +1 -1
  117. package/dist/useSelectItems.js +1 -1
  118. package/package.json +2 -3
  119. package/dist/AclGuard.js +0 -12
  120. package/dist/AuthGuard.js +0 -22
  121. package/dist/Can.js +0 -13
  122. package/dist/View.js +0 -13
  123. package/dist/ViewOff.js +0 -13
  124. package/dist/ability.context.js +0 -35
  125. package/dist/auth.context.js +0 -37
  126. package/dist/auth.d.ts +0 -6
  127. package/dist/auth.js +0 -6
  128. package/dist/error-handling.js +0 -99
  129. package/dist/rest-interceptor.js +0 -22
  130. package/dist/utils/vendor/acl/AclGuard.d.ts +0 -8
  131. package/dist/utils/vendor/acl/Can.d.ts +0 -9
  132. package/dist/utils/vendor/acl/ability.context.d.ts +0 -15
  133. package/dist/utils/vendor/acl/appAbility.types.d.ts +0 -3
  134. package/dist/utils/vendor/auth/AuthGuard.d.ts +0 -6
  135. package/dist/utils/vendor/auth/auth.context.d.ts +0 -22
  136. package/dist/utils/vendor/error-handling.d.ts +0 -21
  137. package/dist/utils/vendor/rest-client.types.d.ts +0 -23
  138. package/dist/utils/vendor/rest-interceptor.d.ts +0 -8
package/README.md CHANGED
@@ -32,7 +32,7 @@ This is required for buttons to behave as expected. It is based on [Tailwind Upg
32
32
  In order for Tailwind to also compile classes for @povio/ui package, you need to include @source directive in Tailwind config.
33
33
  In your globals.css add (make sure path is correct):
34
34
  ```css
35
- @source "../../node_modules/@povio/ui/dist";
35
+ @source "../../../../node_modules/@povio/ui/dist";
36
36
  ```
37
37
 
38
38
  ### React Aria
@@ -0,0 +1,32 @@
1
+ import { UIStyle } from "./uiStyle.context.js";
2
+ import { accordionCva } from "./accordion.cva.js";
3
+ import { AccordionItem } from "./AccordionItem.js";
4
+ import { jsx } from "react/jsx-runtime";
5
+ import { clsx } from "clsx";
6
+ import { DisclosureGroup } from "react-aria-components";
7
+ const Accordion = ({ items, variant = "filled", actionPosition = "right", allowsMultipleExpanded = false, expandedKeys, defaultExpandedKeys, onExpandedChange, className, disabled }) => {
8
+ return /* @__PURE__ */ jsx(DisclosureGroup, {
9
+ allowsMultipleExpanded,
10
+ expandedKeys,
11
+ defaultExpandedKeys,
12
+ onExpandedChange,
13
+ className: clsx((UIStyle.useConfig()?.accordion?.cva ?? accordionCva)({
14
+ className,
15
+ variant,
16
+ singleItem: items.length === 1
17
+ })),
18
+ isDisabled: disabled,
19
+ children: items.map((item) => /* @__PURE__ */ jsx(AccordionItem, {
20
+ id: item.id,
21
+ heading: item.heading,
22
+ subheading: item.subheading,
23
+ icon: item.icon,
24
+ variant,
25
+ actionPosition,
26
+ disabled: item.disabled || disabled,
27
+ isSingle: items.length === 1,
28
+ children: item.children
29
+ }, item.id))
30
+ });
31
+ };
32
+ export { Accordion };
@@ -0,0 +1,62 @@
1
+ import { ChevronDownIcon } from "./ChevronDown.js";
2
+ import { UIStyle } from "./uiStyle.context.js";
3
+ import { Typography } from "./Typography.js";
4
+ import { accordionChevronCva, accordionHeadingCva, accordionHeadingSubtitleCva, accordionHeadingTitleCva, accordionIconCva, accordionItemCva, accordionPanelContentCva, accordionPanelCva, accordionTriggerCva } from "./accordion.cva.js";
5
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
+ import { Button, Disclosure, DisclosurePanel, Heading } from "react-aria-components";
7
+ const AccordionItem = ({ id, disabled, heading, subheading, children, icon: Icon, variant = "filled", actionPosition = "right", isSingle }) => {
8
+ const uiStyle = UIStyle.useConfig();
9
+ const itemCva = uiStyle?.accordion?.itemCva ?? accordionItemCva;
10
+ const triggerCva = uiStyle?.accordion?.triggerCva ?? accordionTriggerCva;
11
+ const headingCva = uiStyle?.accordion?.headingCva ?? accordionHeadingCva;
12
+ const headingTitleCva = uiStyle?.accordion?.headingTitleCva ?? accordionHeadingTitleCva;
13
+ const headingSubtitleCva = uiStyle?.accordion?.headingSubtitleCva ?? accordionHeadingSubtitleCva;
14
+ const chevronCva = uiStyle?.accordion?.chevronCva ?? accordionChevronCva;
15
+ const iconCva = uiStyle?.accordion?.iconCva ?? accordionIconCva;
16
+ const panelCva = uiStyle?.accordion?.panelCva ?? accordionPanelCva;
17
+ const panelContentCva = uiStyle?.accordion?.panelContentCva ?? accordionPanelContentCva;
18
+ return /* @__PURE__ */ jsx(Disclosure, {
19
+ id,
20
+ className: itemCva({
21
+ variant,
22
+ singleItem: isSingle
23
+ }),
24
+ isDisabled: disabled,
25
+ children: ({ isExpanded }) => /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(Heading, { children: /* @__PURE__ */ jsxs(Button, {
26
+ slot: "trigger",
27
+ className: triggerCva({
28
+ variant,
29
+ actionPosition,
30
+ disabled
31
+ }),
32
+ children: [/* @__PURE__ */ jsx("div", {
33
+ className: headingCva({}),
34
+ children: /* @__PURE__ */ jsxs("div", {
35
+ className: "flex flex-1 items-center gap-accordion-gap-icon-to-text",
36
+ children: [
37
+ Icon && /* @__PURE__ */ jsx(Icon, { className: iconCva({}) }),
38
+ /* @__PURE__ */ jsx(Typography, {
39
+ size: "label-2",
40
+ variant: "default",
41
+ className: headingTitleCva({}),
42
+ children: heading
43
+ }),
44
+ subheading && /* @__PURE__ */ jsx(Typography, {
45
+ size: "label-3",
46
+ variant: "default",
47
+ className: headingSubtitleCva({}),
48
+ children: subheading
49
+ })
50
+ ]
51
+ })
52
+ }), /* @__PURE__ */ jsx(ChevronDownIcon, { className: chevronCva({ isExpanded }) })]
53
+ }) }), /* @__PURE__ */ jsx(DisclosurePanel, {
54
+ className: panelCva({ isExpanded }),
55
+ children: /* @__PURE__ */ jsx("div", {
56
+ className: panelContentCva({}),
57
+ children
58
+ })
59
+ })] })
60
+ });
61
+ };
62
+ export { AccordionItem };
package/dist/Alert.js CHANGED
@@ -1,6 +1,6 @@
1
- import { Loader } from "./Loader.js";
2
1
  import { UIStyle } from "./uiStyle.context.js";
3
2
  import { Typography } from "./Typography.js";
3
+ import { Loader } from "./Loader.js";
4
4
  import { alert } from "./alert.cva.js";
5
5
  import { statusIcon, statusSeparator } from "./status.cva.js";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -7,7 +7,7 @@ const ArrowDropDownIcon = (props) => /* @__PURE__ */ jsx("svg", {
7
7
  ...props,
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
- d: "m12 15-5-5h10z"
10
+ d: "M7.7 10.65q0-.2.137-.35.138-.15.363-.15h7.6q.224 0 .363.15.137.15.137.35 0 .05-.15.35l-3.625 3.625a.8.8 0 0 1-.25.175.7.7 0 0 1-.275.05.7.7 0 0 1-.275-.05.8.8 0 0 1-.25-.175L7.85 11a.47.47 0 0 1-.15-.35"
11
11
  })
12
12
  });
13
13
  export { ArrowDropDownIcon };
@@ -7,7 +7,7 @@ const ArrowDropUpIcon = (props) => /* @__PURE__ */ jsx("svg", {
7
7
  ...props,
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
- d: "m7 14 5-5 5 5z"
10
+ d: "M16.3 13.35q0 .2-.137.35a.47.47 0 0 1-.363.15H8.2q-.224 0-.363-.15a.5.5 0 0 1-.137-.35q0-.05.15-.35l3.625-3.625a.8.8 0 0 1 .25-.175.7.7 0 0 1 .275-.05q.15 0 .275.05a.8.8 0 0 1 .25.175L16.15 13a.47.47 0 0 1 .15.35"
11
11
  })
12
12
  });
13
13
  export { ArrowDropUpIcon };
package/dist/ArrowLeft.js CHANGED
@@ -7,7 +7,7 @@ const ArrowLeftIcon = (props) => /* @__PURE__ */ jsx("svg", {
7
7
  ...props,
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
- d: "m14 17-5-5 5-5z"
10
+ d: "M13.35 7.7q.2 0 .35.138.15.137.15.362v7.6q0 .225-.15.363a.5.5 0 0 1-.35.137q-.05 0-.35-.15l-3.625-3.625a.8.8 0 0 1-.175-.25.7.7 0 0 1-.05-.275q0-.15.05-.275a.8.8 0 0 1 .175-.25L13 7.85a.47.47 0 0 1 .35-.15"
11
11
  })
12
12
  });
13
13
  export { ArrowLeftIcon };
@@ -7,7 +7,7 @@ const ArrowRightIcon = (props) => /* @__PURE__ */ jsx("svg", {
7
7
  ...props,
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
- d: "M10 17V7l5 5z"
10
+ d: "M10.65 16.3a.5.5 0 0 1-.35-.137.47.47 0 0 1-.15-.363V8.2q0-.224.15-.362a.5.5 0 0 1 .35-.138q.05 0 .35.15l3.625 3.625a.8.8 0 0 1 .175.25q.05.126.05.275t-.05.275a.8.8 0 0 1-.175.25L11 16.15a.47.47 0 0 1-.35.15"
11
11
  })
12
12
  });
13
13
  export { ArrowRightIcon };
@@ -2,8 +2,8 @@ import { react_exports } from "./react.js";
2
2
  import { DomUtils } from "./dom.utils.js";
3
3
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
4
4
  import { clsx } from "clsx";
5
- import { Dialog, DialogTrigger, Modal, ModalOverlay } from "react-aria-components";
6
5
  import { useEffect, useMemo, useRef, useState } from "react";
6
+ import { Dialog, DialogTrigger, Modal, ModalOverlay } from "react-aria-components";
7
7
  import { useResizeObserver, useViewportSize } from "@react-aria/utils";
8
8
  var MotionModal = react_exports.motion.create(Modal);
9
9
  var MotionModalOverlay = react_exports.motion.create(ModalOverlay);
@@ -73,7 +73,7 @@ var BottomSheetBase = ({ isOpen, onOpenChange, onStateChange, isDismissable = fa
73
73
  exit: { opacity: 0 }
74
74
  }), /* @__PURE__ */ jsx(MotionModal, {
75
75
  isDismissable: true,
76
- className: clsx("pointer-events-none flex w-full flex-col items-stretch justify-end outline-none will-change-transform", isScrollable ? "h-auto" : "h-full"),
76
+ className: clsx("pointer-events-none flex h-full w-full flex-col items-stretch justify-end outline-none will-change-transform"),
77
77
  animate: {
78
78
  y: 0,
79
79
  opacity: 1
@@ -143,13 +143,13 @@ var BottomSheetBase = ({ isOpen, onOpenChange, onStateChange, isDismissable = fa
143
143
  tabIndex: -1
144
144
  }),
145
145
  /* @__PURE__ */ jsx("div", {
146
- className: clsx("flex min-h-0 grow flex-col items-stretch", isScrollable ? "shrink-0" : "shrink"),
146
+ className: "flex max-h-full min-h-0 flex-col items-stretch",
147
147
  ref: containerRef,
148
148
  children: typeof children === "function" ? children(close) : children
149
149
  }),
150
150
  /* @__PURE__ */ jsx("div", {
151
151
  className: "shrink-0",
152
- style: { height: `${footerHeight + sheetMarginBottom}px` }
152
+ style: { height: `${footerHeight + (isScrollable ? 0 : sheetMarginBottom)}px` }
153
153
  }),
154
154
  /* @__PURE__ */ jsx("div", { className: "absolute top-full h-screen w-full bg-elevation-fill-default-1" })
155
155
  ]
@@ -0,0 +1,111 @@
1
+ import { ChevronRightIcon } from "./ChevronRight.js";
2
+ import { breadcrumbChevron, breadcrumbIcon, breadcrumbItem, breadcrumbSegment, breadcrumbsCva } from "./breadcrumbs.cva.js";
3
+ import { UIStyle } from "./uiStyle.context.js";
4
+ import { MenuDesktop } from "./MenuDesktop.js";
5
+ import { Typography } from "./Typography.js";
6
+ import { Tooltip as Tooltip$1 } from "./Tooltip.js";
7
+ import { LinkContext } from "./link.context.js";
8
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
+ import { clsx } from "clsx";
10
+ import { useLayoutEffect, useRef, useState } from "react";
11
+ import { Breadcrumb, Breadcrumbs, Button, Link } from "react-aria-components";
12
+ const Breadcrumbs$1 = ({ items, className, onAction, iconOnly = false }) => {
13
+ const uiStyle = UIStyle.useConfig();
14
+ const breadcrumbsCva$1 = uiStyle?.breadcrumbs?.cva ?? breadcrumbsCva;
15
+ const breadcrumbItem$1 = uiStyle?.breadcrumbs?.itemCva ?? breadcrumbItem;
16
+ const breadcrumbSegmentCva = uiStyle?.breadcrumbs?.segmentCva ?? breadcrumbSegment;
17
+ const breadcrumbChevronCva = uiStyle?.breadcrumbs?.chevronCva ?? breadcrumbChevron;
18
+ const breadcrumbIconCva = uiStyle?.breadcrumbs?.iconCva ?? breadcrumbIcon;
19
+ const containerRef = useRef(null);
20
+ const [isOverflowing, setIsOverflowing] = useState(items.length <= 2 ? false : null);
21
+ useLayoutEffect(() => {
22
+ if (items.length <= 2) {
23
+ setIsOverflowing(false);
24
+ return;
25
+ }
26
+ const container = containerRef.current;
27
+ if (!container) return;
28
+ const resizeObserver = new ResizeObserver(() => {
29
+ setIsOverflowing(container.scrollWidth > container.clientWidth);
30
+ });
31
+ resizeObserver.observe(container);
32
+ return () => resizeObserver.disconnect();
33
+ }, [items]);
34
+ const isReady = isOverflowing !== null;
35
+ const hiddenItems = items.length > 2 ? items.slice(1, -1) : [];
36
+ const firstItem = items[0];
37
+ const lastItem = items[items.length - 1];
38
+ const LinkComponent = LinkContext.useLinkContext()?.LinkComponent ?? Link;
39
+ const renderBreadcrumbLink = (item, isCurrent, iconOnly$1) => /* @__PURE__ */ jsxs(LinkComponent, {
40
+ href: item.href,
41
+ className: breadcrumbItem$1({ isCurrent }),
42
+ children: [item.icon && /* @__PURE__ */ jsx(item.icon, {
43
+ className: breadcrumbIconCva({}),
44
+ "aria-label": item.label
45
+ }), !iconOnly$1 && /* @__PURE__ */ jsx(Typography, {
46
+ variant: "default",
47
+ size: "label-3",
48
+ children: item.label
49
+ })]
50
+ });
51
+ if (isOverflowing === true && items.length > 2) {
52
+ const menuItems = hiddenItems.map((item) => ({
53
+ id: item.id,
54
+ label: item.label,
55
+ href: item.href
56
+ }));
57
+ const renderEllipsis = () => /* @__PURE__ */ jsx(MenuDesktop, {
58
+ trigger: /* @__PURE__ */ jsx(Tooltip$1, {
59
+ text: hiddenItems.map((i) => i.label).join(", "),
60
+ children: /* @__PURE__ */ jsx(Button, {
61
+ "aria-label": "Show hidden breadcrumbs",
62
+ className: breadcrumbItem$1({
63
+ isCurrent: false,
64
+ isEllipsis: true
65
+ }),
66
+ children: /* @__PURE__ */ jsx(Typography, {
67
+ variant: "default",
68
+ size: "label-3",
69
+ children: "..."
70
+ })
71
+ })
72
+ }),
73
+ items: menuItems,
74
+ onAction: onAction ? (key) => onAction(key) : void 0
75
+ });
76
+ return /* @__PURE__ */ jsxs(Breadcrumbs, {
77
+ onAction,
78
+ className: clsx(breadcrumbsCva$1({}), className),
79
+ children: [
80
+ /* @__PURE__ */ jsxs(Breadcrumb, {
81
+ id: firstItem.id,
82
+ className: breadcrumbSegmentCva({}),
83
+ children: [renderBreadcrumbLink(firstItem, false, iconOnly), /* @__PURE__ */ jsx(ChevronRightIcon, { className: breadcrumbChevronCva({}) })]
84
+ }),
85
+ /* @__PURE__ */ jsxs(Breadcrumb, {
86
+ id: "ellipsis",
87
+ className: breadcrumbSegmentCva({}),
88
+ children: [renderEllipsis(), /* @__PURE__ */ jsx(ChevronRightIcon, { className: breadcrumbChevronCva({}) })]
89
+ }),
90
+ /* @__PURE__ */ jsx(Breadcrumb, {
91
+ id: lastItem.id,
92
+ className: breadcrumbSegmentCva({}),
93
+ children: renderBreadcrumbLink(lastItem, true)
94
+ })
95
+ ]
96
+ });
97
+ }
98
+ return /* @__PURE__ */ jsx(Breadcrumbs, {
99
+ ref: containerRef,
100
+ items,
101
+ onAction,
102
+ className: clsx(breadcrumbsCva$1({}), className),
103
+ style: { visibility: isReady ? "visible" : "hidden" },
104
+ children: (item) => /* @__PURE__ */ jsx(Breadcrumb, {
105
+ id: item.id,
106
+ className: breadcrumbSegmentCva({}),
107
+ children: ({ isCurrent }) => /* @__PURE__ */ jsxs(Fragment, { children: [renderBreadcrumbLink(item, isCurrent, iconOnly && item === items[0]), !isCurrent && /* @__PURE__ */ jsx(ChevronRightIcon, { className: breadcrumbChevronCva({}) })] })
108
+ })
109
+ });
110
+ };
111
+ export { Breadcrumbs$1 as Breadcrumbs };
package/dist/Button.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { UIStyle } from "./uiStyle.context.js";
2
+ import { LinkContext } from "./link.context.js";
2
3
  import { ButtonContent } from "./ButtonContent.js";
3
4
  import { TooltipEllipsis } from "./TooltipEllipsis.js";
4
- import { LinkContext } from "./link.context.js";
5
5
  import { button, buttonContent, buttonIconSize, buttonSize, buttonTypography } from "./button.cva.js";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  import { clsx } from "clsx";
@@ -1,6 +1,6 @@
1
+ import { Typography } from "./Typography.js";
1
2
  import { buttonContent } from "./buttonContent.cva.js";
2
3
  import { Loader } from "./Loader.js";
3
- import { Typography } from "./Typography.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { clsx } from "clsx";
6
6
  import { isValidElement } from "react";
package/dist/Calendar.js CHANGED
@@ -8,7 +8,7 @@ const CalendarIcon = (props) => /* @__PURE__ */ jsx("svg", {
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
10
  fillRule: "evenodd",
11
- d: "M16.5 2.91a.905.905 0 0 0-.9-.91c-.497 0-.9.407-.9.91v.908H9.3V2.91A.905.905 0 0 0 8.4 2c-.497 0-.9.407-.9.91v.908H5.7C4.209 3.818 3 5.04 3 6.545v12.728C3 20.779 4.209 22 5.7 22h12.6c1.491 0 2.7-1.221 2.7-2.727V6.545c0-1.506-1.209-2.727-2.7-2.727h-1.8zm2.7 6.363V6.545a.905.905 0 0 0-.9-.909h-1.8v.91c0 .502-.403.909-.9.909a.905.905 0 0 1-.9-.91v-.909H9.3v.91c0 .502-.403.909-.9.909a.905.905 0 0 1-.9-.91v-.909H5.7c-.497 0-.9.407-.9.91v2.727zM4.8 11.09h14.4v8.182c0 .502-.403.909-.9.909H5.7a.905.905 0 0 1-.9-.91z",
11
+ d: "M15.9 4.045c0-.439-.35-.795-.78-.795s-.78.356-.78.795v.796H9.66v-.796c0-.439-.35-.795-.78-.795s-.78.356-.78.795v.796H6.54c-1.292 0-2.34 1.068-2.34 2.386v11.137c0 1.318 1.048 2.386 2.34 2.386h10.92c1.292 0 2.34-1.068 2.34-2.386V7.227c0-1.318-1.048-2.386-2.34-2.386H15.9zm2.34 5.569V7.227c0-.439-.35-.795-.78-.795H15.9v.795c0 .44-.35.796-.78.796a.79.79 0 0 1-.78-.796v-.795H9.66v.795c0 .44-.35.796-.78.796a.79.79 0 0 1-.78-.796v-.795H6.54c-.43 0-.78.356-.78.795v2.387zm-12.48 1.59h12.48v7.16c0 .439-.35.795-.78.795H6.54a.79.79 0 0 1-.78-.795z",
12
12
  clipRule: "evenodd"
13
13
  })
14
14
  });
package/dist/Check.js CHANGED
@@ -8,7 +8,7 @@ const CheckIcon = (props) => /* @__PURE__ */ jsx("svg", {
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
10
  fillRule: "evenodd",
11
- d: "M20.707 5.293a1 1 0 0 1 0 1.414l-11 11a1 1 0 0 1-1.414 0l-5-5a1 1 0 1 1 1.414-1.414L9 15.586 19.293 5.293a1 1 0 0 1 1.414 0",
11
+ d: "M20.223 6.27a.91.91 0 0 1 0 1.306L9.834 17.73a.96.96 0 0 1-1.335 0l-4.722-4.616a.91.91 0 0 1 0-1.305.96.96 0 0 1 1.335 0l4.055 3.963 9.72-9.502a.96.96 0 0 1 1.336 0",
12
12
  clipRule: "evenodd"
13
13
  })
14
14
  });
@@ -7,7 +7,7 @@ const CheckCircleIcon = (props) => /* @__PURE__ */ jsx("svg", {
7
7
  ...props,
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
- d: "m10.58 14.146-2.322-2.323a.73.73 0 0 0-.522-.213.7.7 0 0 0-.532.213.72.72 0 0 0-.217.527q0 .31.217.527l2.744 2.744q.27.27.633.271.36 0 .633-.27l5.563-5.564a.73.73 0 0 0 .212-.522.7.7 0 0 0-.212-.532.72.72 0 0 0-.527-.217.72.72 0 0 0-.527.217zm1.422 7.354a9.3 9.3 0 0 1-3.706-.748 9.6 9.6 0 0 1-3.016-2.03 9.6 9.6 0 0 1-2.032-3.016 9.25 9.25 0 0 1-.748-3.704q0-1.972.748-3.706a9.6 9.6 0 0 1 2.03-3.016 9.6 9.6 0 0 1 3.016-2.032 9.25 9.25 0 0 1 3.704-.748q1.972 0 3.706.748a9.6 9.6 0 0 1 3.017 2.03 9.6 9.6 0 0 1 2.03 3.016 9.25 9.25 0 0 1 .749 3.704q0 1.972-.748 3.706a9.6 9.6 0 0 1-2.03 3.017 9.6 9.6 0 0 1-3.016 2.03 9.25 9.25 0 0 1-3.704.749"
10
+ d: "m10.74 13.62-1.935-1.935a.85.85 0 0 0-.63-.248.85.85 0 0 0-.63.248.85.85 0 0 0-.247.63q0 .383.247.63l2.565 2.565q.27.27.63.27t.63-.27l5.085-5.085a.85.85 0 0 0 .248-.63.85.85 0 0 0-.248-.63.85.85 0 0 0-.63-.247.85.85 0 0 0-.63.247zM12 21a8.8 8.8 0 0 1-3.51-.709 9.1 9.1 0 0 1-2.857-1.924 9.1 9.1 0 0 1-1.924-2.857A8.8 8.8 0 0 1 3 12q0-1.867.709-3.51a9.1 9.1 0 0 1 1.924-2.857A9.1 9.1 0 0 1 8.49 3.709 8.8 8.8 0 0 1 12 3q1.867 0 3.51.709a9.1 9.1 0 0 1 2.858 1.924A9.1 9.1 0 0 1 20.29 8.49 8.8 8.8 0 0 1 21 12a8.8 8.8 0 0 1-.709 3.51 9.1 9.1 0 0 1-1.924 2.858 9.1 9.1 0 0 1-2.857 1.923A8.8 8.8 0 0 1 12 21"
11
11
  })
12
12
  });
13
13
  export { CheckCircleIcon };
@@ -1,5 +1,5 @@
1
- import { typography } from "./typography.cva.js";
2
1
  import { UIStyle } from "./uiStyle.context.js";
2
+ import { typography } from "./typography.cva.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
  import clsx$1 from "clsx";
5
5
  const CheckContent = ({ children, className,...props }) => {
@@ -8,7 +8,7 @@ const ChevronDownIcon = (props) => /* @__PURE__ */ jsx("svg", {
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
10
  fillRule: "evenodd",
11
- d: "M5.293 8.293a1 1 0 0 1 1.414 0L12 13.586l5.293-5.293a1 1 0 1 1 1.414 1.414l-6 6a1 1 0 0 1-1.414 0l-6-6a1 1 0 0 1 0-1.414",
11
+ d: "M5.251 8.256a.845.845 0 0 1 1.212 0L11 12.888l4.537-4.632a.845.845 0 0 1 1.212 0 .89.89 0 0 1 0 1.238l-5.143 5.25a.845.845 0 0 1-1.212 0L5.25 9.494a.89.89 0 0 1 0-1.238",
12
12
  clipRule: "evenodd"
13
13
  })
14
14
  });
package/dist/ChevronUp.js CHANGED
@@ -8,7 +8,7 @@ const ChevronUpIcon = (props) => /* @__PURE__ */ jsx("svg", {
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
10
  fillRule: "evenodd",
11
- d: "M11.293 8.293a1 1 0 0 1 1.414 0l6 6a1 1 0 0 1-1.414 1.414L12 10.414l-5.293 5.293a1 1 0 0 1-1.414-1.414z",
11
+ d: "M10.394 8.256a.845.845 0 0 1 1.212 0l5.143 5.25a.89.89 0 0 1 0 1.238.845.845 0 0 1-1.212 0L11 10.112l-4.537 4.632a.845.845 0 0 1-1.212 0 .89.89 0 0 1 0-1.238z",
12
12
  clipRule: "evenodd"
13
13
  })
14
14
  });
package/dist/Clock.js CHANGED
@@ -7,7 +7,7 @@ const ClockIcon = (props) => /* @__PURE__ */ jsx("svg", {
7
7
  ...props,
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
- d: "m14.75 15.917 1.167-1.167-3.083-3.083V7.834h-1.667v4.5zM12 20.334a8.1 8.1 0 0 1-3.25-.657 8.4 8.4 0 0 1-2.646-1.78 8.4 8.4 0 0 1-1.78-2.647A8.1 8.1 0 0 1 3.666 12q0-1.729.656-3.25a8.4 8.4 0 0 1 1.781-2.646 8.4 8.4 0 0 1 2.646-1.78A8.1 8.1 0 0 1 12 3.666q1.73 0 3.25.656a8.4 8.4 0 0 1 2.646 1.781 8.4 8.4 0 0 1 1.781 2.646 8.1 8.1 0 0 1 .657 3.25 8.1 8.1 0 0 1-.657 3.25 8.4 8.4 0 0 1-1.78 2.646 8.4 8.4 0 0 1-2.647 1.781 8.1 8.1 0 0 1-3.25.657m0-1.667q2.771 0 4.72-1.948 1.947-1.948 1.947-4.719 0-2.77-1.948-4.718T12 5.334 7.282 7.282 5.334 12t1.948 4.72Q9.229 18.666 12 18.666"
10
+ d: "M12.85 11.66V8.6a.82.82 0 0 0-.244-.606A.82.82 0 0 0 12 7.75a.82.82 0 0 0-.606.244.82.82 0 0 0-.244.606v3.379q0 .17.064.33a.85.85 0 0 0 .191.286L14.21 15.4a.8.8 0 0 0 .595.234q.361 0 .595-.234a.8.8 0 0 0 .234-.595q0-.361-.234-.595zM12 20.5a8.3 8.3 0 0 1-3.315-.67 8.6 8.6 0 0 1-2.699-1.816 8.6 8.6 0 0 1-1.817-2.699A8.3 8.3 0 0 1 3.5 12q0-1.763.67-3.315a8.6 8.6 0 0 1 1.816-2.699A8.6 8.6 0 0 1 8.685 4.17 8.3 8.3 0 0 1 12 3.5q1.763 0 3.315.67a8.6 8.6 0 0 1 2.699 1.816 8.6 8.6 0 0 1 1.817 2.699Q20.5 10.237 20.5 12t-.67 3.315a8.6 8.6 0 0 1-1.816 2.699 8.6 8.6 0 0 1-2.699 1.817A8.3 8.3 0 0 1 12 20.5m0-1.7q2.826 0 4.813-1.987Q18.8 14.827 18.8 12t-1.987-4.813T12 5.2 7.187 7.187Q5.2 9.173 5.2 12t1.987 4.813Q9.173 18.8 12 18.8"
11
11
  })
12
12
  });
13
13
  export { ClockIcon };
@@ -4,8 +4,8 @@ import { useInputCva } from "./input.cva.js";
4
4
  import { ColorPicker } from "./ColorPicker.js";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import { clsx } from "clsx";
7
- import { Button, Dialog, DialogTrigger, Popover } from "react-aria-components";
8
7
  import { useState } from "react";
8
+ import { Button, Dialog, DialogTrigger, Popover } from "react-aria-components";
9
9
  const ColorPickerDropdown = ({ colors, value, onChange, isDisabled, children }) => {
10
10
  const inputCva = useInputCva();
11
11
  const [isOpen, setIsOpen] = useState(false);
@@ -11,8 +11,8 @@ import { FormFieldLabel } from "./FormFieldLabel.js";
11
11
  import { InputClear } from "./InputClear.js";
12
12
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
13
13
  import { clsx } from "clsx";
14
- import { Button } from "react-aria-components";
15
14
  import { useCallback, useImperativeHandle, useMemo, useRef, useState } from "react";
15
+ import { Button } from "react-aria-components";
16
16
  import { useFocusVisible, useFocusWithin, useHover } from "react-aria";
17
17
  import { getLocalTimeZone, now, toCalendarDateTime, today } from "@internationalized/date";
18
18
  import useMeasure from "react-use-measure";
@@ -10,8 +10,8 @@ import { DateTimeUtils } from "./date-time.utils.js";
10
10
  import { RangeCalendar } from "./RangeCalendar.js";
11
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
12
  import { clsx } from "clsx";
13
- import { Button } from "react-aria-components";
14
13
  import { useCallback, useImperativeHandle, useMemo, useRef, useState } from "react";
14
+ import { Button } from "react-aria-components";
15
15
  import { useDateRangePicker, useLocale as useLocale$1 } from "react-aria";
16
16
  import { mergeRefs } from "@react-aria/utils";
17
17
  import { Controller } from "react-hook-form";
@@ -491,7 +491,7 @@ var DateRangePickerBase = (props) => {
491
491
  className: "flex w-full flex-row overflow-auto border-elevation-outline-default-1 border-solid [-ms-overflow-style:none] [scrollbar-width:none] md:w-[156px] md:flex-col md:border-r [&::-webkit-scrollbar]:hidden",
492
492
  children: presets.map((preset) => /* @__PURE__ */ jsx(Button, {
493
493
  onClick: () => selectPreset(preset),
494
- className: clsx("w-full px-2 py-1 text-left md:px-list-side-item md:py-list-height-item", activePreset !== preset.label && "text-interactive-text-secondary-idle hover:text-interactive-text-secondary-hover", activePreset === preset.label && "bg-interactive-contained-primary-idle text-interactive-text-secondary-idle-inverted"),
494
+ className: clsx("w-full px-2 py-1 text-left md:px-list-side-item-left md:py-list-height-item", activePreset !== preset.label && "text-interactive-text-secondary-idle hover:text-interactive-text-secondary-hover", activePreset === preset.label && "bg-interactive-contained-primary-idle text-interactive-text-secondary-idle-inverted"),
495
495
  children: /* @__PURE__ */ jsx(Typography, {
496
496
  size: "label-2",
497
497
  sizeMobile: "label-3",
package/dist/DateTime.js CHANGED
@@ -7,12 +7,10 @@ const DateTimeIcon = (props) => /* @__PURE__ */ jsxs("svg", {
7
7
  ...props,
8
8
  children: [/* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
- d: "m18.37 18.852.573-.573-1.534-1.533v-2.291h-.818v2.618zM17.02 21q-1.718 0-2.914-1.186-1.197-1.187-1.197-2.905t1.197-2.904 2.914-1.187q1.699 0 2.884 1.197 1.187 1.196 1.187 2.894t-1.187 2.894T17.02 21"
10
+ d: "M14.506 2.948a.806.806 0 0 1 .714.804v.769h1.54c1.303 0 2.36 1.067 2.36 2.383l-.002 4.287c0 .285-.1.502-.25.647a.8.8 0 0 1-.549.221c-.199.001-.4-.07-.55-.215a.8.8 0 0 1-.216-.38l-.029-.167-.005-.106.002-1.13H5.078v7.873l.001.009.014.138.002.007c.07.35.377.615.744.615h4.457l.114.003c.25.02.443.111.578.244.154.15.23.354.23.556a.78.78 0 0 1-.23.558.9.9 0 0 1-.579.248l-.11.005H5.84a2.37 2.37 0 0 1-2.348-2.139l-.012-.244V6.904c0-1.316 1.056-2.383 2.36-2.383h1.54v-.769c0-.445.357-.806.798-.807l.088.003a.806.806 0 0 1 .713.804v.769h4.641v-.769c0-.445.357-.806.798-.807zM5.84 6.135c-.42 0-.76.345-.76.769v1.54h12.44v-1.54a.765.765 0 0 0-.76-.769h-1.54v.769l-.015.153a.8.8 0 0 1-.7.65l-.087.003a.8.8 0 0 1-.794-.723l-.004-.083v-.769H8.98v.769l-.015.153a.8.8 0 0 1-.7.65l-.087.003a.8.8 0 0 1-.793-.723l-.004-.083v-.769z"
11
11
  }), /* @__PURE__ */ jsx("path", {
12
12
  fill: "currentColor",
13
- fillRule: "evenodd",
14
- d: "M14.218 3a.74.74 0 0 1 .736.744v.744h1.473c1.22 0 2.21.999 2.21 2.231v4.7a5.7 5.7 0 0 0-1.473-.235v-.746H5.382v6.694c0 .411.33.744.736.744h5.236c.089.523.25 1.023.47 1.488H6.118a2.22 2.22 0 0 1-2.209-2.232V6.72a2.22 2.22 0 0 1 2.21-2.231H7.59v-.744c0-.411.33-.744.736-.744a.74.74 0 0 1 .737.744v.744h4.418v-.744c0-.411.33-.744.736-.744m2.946 3.719V8.95H5.382V6.72c0-.41.33-.744.736-.744h1.473v.744c0 .41.33.744.736.744a.74.74 0 0 0 .737-.744v-.744h4.418v.744c0 .41.33.744.736.744a.74.74 0 0 0 .736-.744v-.744h1.473a.74.74 0 0 1 .737.744",
15
- clipRule: "evenodd"
13
+ d: "M16.25 12.484q1.755 0 2.992 1.248t1.238 3.018q0 1.77-1.238 3.018t-2.992 1.248q-1.755 0-2.992-1.248T12.02 16.75q0-1.77 1.238-3.018t2.992-1.248m0 1.675a.43.43 0 0 0-.312.134.43.43 0 0 0-.133.314v1.95q0 .175.065.34.066.165.195.296l1.297 1.306q.133.135.312.135l.086-.009a.44.44 0 0 0 .225-.125.44.44 0 0 0 .125-.227l.01-.087a.44.44 0 0 0-.135-.314l-1.266-1.278-.024-.023v-1.964a.43.43 0 0 0-.134-.313.43.43 0 0 0-.311-.135"
16
14
  })]
17
15
  });
18
16
  export { DateTimeIcon };
@@ -1,5 +1,5 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
- const DragIcon = (props) => /* @__PURE__ */ jsx("svg", {
2
+ const DragIndicatorIcon = (props) => /* @__PURE__ */ jsx("svg", {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  fill: "none",
5
5
  viewBox: "0 0 24 24",
@@ -10,4 +10,4 @@ const DragIcon = (props) => /* @__PURE__ */ jsx("svg", {
10
10
  d: "M9 19.615q-.666 0-1.14-.474A1.56 1.56 0 0 1 7.384 18q0-.666.474-1.14A1.56 1.56 0 0 1 9 16.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14A1.56 1.56 0 0 1 9 19.616m6 0q-.666 0-1.14-.474A1.56 1.56 0 0 1 13.384 18q0-.666.474-1.14A1.56 1.56 0 0 1 15 16.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14a1.56 1.56 0 0 1-1.141.475m-6-6q-.666 0-1.14-.474A1.56 1.56 0 0 1 7.384 12q0-.666.474-1.14A1.56 1.56 0 0 1 9 10.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14A1.56 1.56 0 0 1 9 13.616m6 0q-.666 0-1.14-.474A1.56 1.56 0 0 1 13.384 12q0-.666.474-1.14A1.56 1.56 0 0 1 15 10.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14a1.56 1.56 0 0 1-1.141.475m-6-6q-.666 0-1.14-.474A1.56 1.56 0 0 1 7.384 6q0-.666.474-1.14A1.56 1.56 0 0 1 9 4.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14A1.56 1.56 0 0 1 9 7.616m6 0q-.666 0-1.14-.474A1.56 1.56 0 0 1 13.384 6q0-.666.474-1.14A1.56 1.56 0 0 1 15 4.384q.666 0 1.14.474.475.475.475 1.141t-.474 1.14A1.56 1.56 0 0 1 15 7.616"
11
11
  })
12
12
  });
13
- export { DragIcon };
13
+ export { DragIndicatorIcon };
package/dist/File.js CHANGED
@@ -8,7 +8,7 @@ const FileIcon = (props) => /* @__PURE__ */ jsx("svg", {
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
10
  fillRule: "evenodd",
11
- d: "M12.9 2.1a1 1 0 0 1 .234.03l.009.003a1 1 0 0 1 .12.046q.03.013.054.027a1 1 0 0 1 .143.093q.03.023.058.049l.018.015 6.3 6.301.014.015q.015.014.029.032l.016.018q.018.025.034.048.022.03.042.062.02.035.037.073a.9.9 0 0 1 .093.388l-.001.016V19.2a2.7 2.7 0 0 1-2.7 2.7H6.6a2.7 2.7 0 0 1-2.7-2.7V4.8a2.7 2.7 0 0 1 2.7-2.7zM6.6 3.9a.9.9 0 0 0-.9.9v14.4a.9.9 0 0 0 .9.9h10.8a.9.9 0 0 0 .9-.9v-9h-5.4a.9.9 0 0 1-.9-.9V3.9zm7.2 4.5h3.227l-3.226-3.226z",
11
+ d: "M12.682 3q.111 0 .213.028l.008.002q.056.017.11.042.024.011.049.025a1 1 0 0 1 .13.084l.051.044.017.015 5.727 5.727.013.014.026.03.015.016q.016.022.03.043.021.028.039.056.018.033.033.067a.8.8 0 0 1 .085.352l-.001.015v8.985A2.455 2.455 0 0 1 16.772 21H6.955A2.456 2.456 0 0 1 4.5 18.545V5.455A2.455 2.455 0 0 1 6.955 3zM6.955 4.637a.82.82 0 0 0-.818.818v13.09a.817.817 0 0 0 .818.818h9.817a.82.82 0 0 0 .819-.818v-8.181h-4.909a.82.82 0 0 1-.818-.819V4.637zm6.546 4.09h2.933l-2.933-2.932z",
12
12
  clipRule: "evenodd"
13
13
  })
14
14
  });
@@ -8,8 +8,8 @@ import { FileUploadContent } from "./FileUploadContent.js";
8
8
  import { fileUploadDropZone } from "./fileUpload.cva.js";
9
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
10
  import { clsx } from "clsx";
11
- import { DropZone } from "react-aria-components";
12
11
  import { useCallback, useState } from "react";
12
+ import { DropZone } from "react-aria-components";
13
13
  import { mergeRefs, useLabels } from "@react-aria/utils";
14
14
  import { Controller } from "react-hook-form";
15
15
  import { useTranslation } from "react-i18next";
package/dist/Home.js ADDED
@@ -0,0 +1,13 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ const HomeIcon = (props) => /* @__PURE__ */ jsx("svg", {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "none",
5
+ viewBox: "0 0 24 24",
6
+ className: "fill-current",
7
+ ...props,
8
+ children: /* @__PURE__ */ jsx("path", {
9
+ fill: "currentColor",
10
+ d: "M12 3.33q.649 0 1.151.384l6.001 4.5q.36.263.564.672.204.408.204.864v9q0 .792-.565 1.355A1.85 1.85 0 0 1 18 20.67h-4a.89.89 0 0 1-.656-.264.89.89 0 0 1-.264-.656v-5.08h-2.16v5.08q0 .393-.264.656a.89.89 0 0 1-.656.264H6q-.792 0-1.355-.565a1.85 1.85 0 0 1-.565-1.355v-9a1.9 1.9 0 0 1 .768-1.535l6-4.501A1.85 1.85 0 0 1 12 3.33m-.048 1.856-6 4.5-.032.024v9.12h3.16v-5.08q0-.393.264-.656A.89.89 0 0 1 10 12.83h4q.393 0 .656.264a.89.89 0 0 1 .264.656v5.08h3.16V9.71l-.032-.024-6-4.5L12 5.15z"
11
+ })
12
+ });
13
+ export { HomeIcon };
package/dist/Info.js CHANGED
@@ -7,11 +7,11 @@ const InfoIcon = (props) => /* @__PURE__ */ jsxs("svg", {
7
7
  ...props,
8
8
  children: [/* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
- d: "M12 7.8a1 1 0 0 1 1 1V12a1 1 0 1 1-2 0V8.8a1 1 0 0 1 1-1M12 14.2a1 1 0 1 0 0 2h.008a1 1 0 1 0 0-2z"
10
+ d: "M12 8.033c.522 0 .944.423.944.945V12a.944.944 0 1 1-1.888 0V8.978c0-.522.422-.945.944-.945M12 14.078a.944.944 0 1 0 0 1.889h.008a.944.944 0 0 0 0-1.889z"
11
11
  }), /* @__PURE__ */ jsx("path", {
12
12
  fill: "currentColor",
13
13
  fillRule: "evenodd",
14
- d: "M3 12a9 9 0 1 1 18 0 9 9 0 0 1-18 0m9-7a7 7 0 1 0 0 14 7 7 0 0 0 0-14",
14
+ d: "M3.5 12a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0M12 5.389a6.611 6.611 0 1 0 0 13.222A6.611 6.611 0 0 0 12 5.39",
15
15
  clipRule: "evenodd"
16
16
  })]
17
17
  });
@@ -1,6 +1,6 @@
1
- import { Loader } from "./Loader.js";
2
1
  import { UIStyle } from "./uiStyle.context.js";
3
2
  import { Typography } from "./Typography.js";
3
+ import { Loader } from "./Loader.js";
4
4
  import { InlineIconButton } from "./InlineIconButton.js";
5
5
  import { inputSide } from "./input.cva.js";
6
6
  import { FormFieldLabel } from "./FormFieldLabel.js";
@@ -40,7 +40,7 @@ const InputUploadContent = (props) => {
40
40
  children: buttonText ?? t(($) => $.ui.fileUpload.upload)
41
41
  })]
42
42
  }), variant !== "nested" && /* @__PURE__ */ jsx(Button$1, {
43
- size: "s",
43
+ size: "m",
44
44
  width: "hug",
45
45
  isDisabled,
46
46
  className: "truncate",
package/dist/Menu.js CHANGED
@@ -7,7 +7,7 @@ const MenuIcon = (props) => /* @__PURE__ */ jsx("svg", {
7
7
  ...props,
8
8
  children: /* @__PURE__ */ jsx("path", {
9
9
  fill: "currentColor",
10
- d: "M2 6a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1M2 12a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1M3 17a1 1 0 1 0 0 2h18a1 1 0 1 0 0-2z"
10
+ d: "M4 18a.97.97 0 0 1-.712-.288A.97.97 0 0 1 3 17q0-.424.288-.712A.97.97 0 0 1 4 16h16q.424 0 .712.288.288.287.288.712 0 .424-.288.712A.97.97 0 0 1 20 18zm0-5a.97.97 0 0 1-.712-.287A.97.97 0 0 1 3 12q0-.424.288-.713A.97.97 0 0 1 4 11h16q.424 0 .712.287.288.288.288.713 0 .424-.288.713A.97.97 0 0 1 20 13zm0-5a.97.97 0 0 1-.712-.287A.97.97 0 0 1 3 7q0-.424.288-.713A.97.97 0 0 1 4 6h16q.424 0 .712.287Q21 6.576 21 7q0 .424-.288.713A.97.97 0 0 1 20 8z"
11
11
  })
12
12
  });
13
13
  export { MenuIcon };
@@ -1,7 +1,7 @@
1
1
  import { MenuPopover } from "./MenuPopover.js";
2
2
  import { jsx, jsxs } from "react/jsx-runtime";
3
- import { MenuTrigger } from "react-aria-components";
4
3
  import React, { useRef, useState } from "react";
4
+ import { MenuTrigger } from "react-aria-components";
5
5
  import { useHover } from "react-aria";
6
6
  var CLOSE_DELAY = 100;
7
7
  const MenuDesktop = ({ trigger, items, closeDelay = CLOSE_DELAY, triggerOnHover = false, onAction,...props }) => {
package/dist/MenuItem.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { ArrowRightIcon } from "./ArrowRight.js";
2
- import { UIStyle } from "./uiStyle.context.js";
3
2
  import { menuItemCva } from "./menu.cva.js";
3
+ import { UIStyle } from "./uiStyle.context.js";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  import { clsx } from "clsx";
6
6
  import { MenuItem } from "react-aria-components";
@@ -1,12 +1,12 @@
1
1
  import { ArrowLeftIcon } from "./ArrowLeft.js";
2
- import { UIStyle } from "./uiStyle.context.js";
3
2
  import { menuCva, menuItemCva } from "./menu.cva.js";
3
+ import { UIStyle } from "./uiStyle.context.js";
4
4
  import { MenuItem as MenuItem$1 } from "./MenuItem.js";
5
5
  import { BottomSheet } from "./BottomSheet.js";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  import { clsx } from "clsx";
8
- import { Button, Menu } from "react-aria-components";
9
8
  import { useRef, useState } from "react";
9
+ import { Button, Menu } from "react-aria-components";
10
10
  const MenuMobile = ({ trigger, items, onAction,...props }) => {
11
11
  const uiStyle = UIStyle.useConfig();
12
12
  const menuItemCva$1 = uiStyle?.menu?.itemCva ?? menuItemCva;