@vkzstudio/muza-ui 1.5.1 → 1.5.2

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 (142) hide show
  1. package/dist/components/Accordion/Accordion.js +1 -1
  2. package/dist/components/Accordion/index.js +16 -0
  3. package/dist/components/Alert/Alert.js +6 -6
  4. package/dist/components/Alert/index.js +4 -0
  5. package/dist/components/ArticleCard/ArticleCard.js +11 -11
  6. package/dist/components/ArticleCard/index.js +7 -0
  7. package/dist/components/Avatar/index.js +6 -0
  8. package/dist/components/Breadcrumb/Breadcrumb.js +4 -4
  9. package/dist/components/Breadcrumb/index.js +10 -0
  10. package/dist/components/Button/Button.js +7 -7
  11. package/dist/components/Button/index.js +6 -0
  12. package/dist/components/ButtonArrow/index.js +5 -0
  13. package/dist/components/Calendar/Calendar.js +6 -6
  14. package/dist/components/Calendar/index.js +10 -0
  15. package/dist/components/Card/Card.js +7 -7
  16. package/dist/components/Card/index.js +5 -0
  17. package/dist/components/CardCheckboxAmount/CardCheckboxAmount.js +8 -8
  18. package/dist/components/CardCheckboxAmount/index.js +4 -0
  19. package/dist/components/Carousel/Carousel.js +5 -5
  20. package/dist/components/Carousel/index.js +9 -0
  21. package/dist/components/CategoryCard/CategoryCard.js +2 -2
  22. package/dist/components/CategoryCard/index.js +6 -0
  23. package/dist/components/CategoryIcon/index.js +5 -0
  24. package/dist/components/Checkbox/Checkbox.js +1 -1
  25. package/dist/components/Checkbox/index.js +4 -0
  26. package/dist/components/Chip/Chip.js +5 -5
  27. package/dist/components/Chip/index.js +5 -0
  28. package/dist/components/DataTable/index.js +5 -0
  29. package/dist/components/DatePicker/DatePicker.js +18 -18
  30. package/dist/components/DatePicker/index.js +7 -0
  31. package/dist/components/DatePickerButton/DatePickerButton.js +5 -5
  32. package/dist/components/DatePickerButton/index.js +5 -0
  33. package/dist/components/Dialog/Dialog.js +21 -20
  34. package/dist/components/Dialog/index.js +13 -0
  35. package/dist/components/DotDivider/index.js +5 -0
  36. package/dist/components/DropdownMenu/DropdownMenu.js +2 -2
  37. package/dist/components/DropdownMenu/index.js +14 -0
  38. package/dist/components/DropdownSearchMenu/DropdownSearchMenu.js +7 -6
  39. package/dist/components/DropdownSearchMenu/index.js +7 -0
  40. package/dist/components/EdgeButton/EdgeButton.js +1 -1
  41. package/dist/components/EdgeButton/index.js +5 -0
  42. package/dist/components/EmptyState/index.js +4 -0
  43. package/dist/components/ExpandableTable/ExpandableTable.js +13 -13
  44. package/dist/components/ExpandableTable/index.js +4 -0
  45. package/dist/components/FileUpload/FileItem.js +1 -1
  46. package/dist/components/FileUpload/FileUpload.js +7 -7
  47. package/dist/components/FileUpload/index.js +4 -0
  48. package/dist/components/Flex/Flex.js +5 -5
  49. package/dist/components/Flex/index.js +7 -0
  50. package/dist/components/FormField/FormField.js +9 -9
  51. package/dist/components/FormField/InputHint.js +4 -4
  52. package/dist/components/FormField/index.js +8 -0
  53. package/dist/components/HeartButton/index.js +5 -0
  54. package/dist/components/Icons/index.js +65 -0
  55. package/dist/components/InfoCard/InfoCard.js +45 -0
  56. package/dist/components/InfoCard/index.js +5 -0
  57. package/dist/components/Input/Input.js +1 -1
  58. package/dist/components/Input/index.js +4 -0
  59. package/dist/components/InputOTP/InputOTP.js +7 -7
  60. package/dist/components/InputOTP/index.js +7 -0
  61. package/dist/components/LanguageSwitcher/LanguageSwitcher.js +9 -9
  62. package/dist/components/LanguageSwitcher/index.js +6 -0
  63. package/dist/components/Lightbox/Lightbox.js +1 -1
  64. package/dist/components/Lightbox/index.js +8 -0
  65. package/dist/components/Loader/index.js +4 -0
  66. package/dist/components/LoginScreen/LoginScreen.js +4 -4
  67. package/dist/components/LoginScreen/index.js +8 -0
  68. package/dist/components/MultiSelect/MultiSelect.js +20 -20
  69. package/dist/components/MultiSelect/index.js +4 -0
  70. package/dist/components/MuzaUIProvider/MuzaUIProvider.js +5 -5
  71. package/dist/components/MuzaUIProvider/index.js +13 -0
  72. package/dist/components/MuzaUIProvider/theme/ThemeSetterModal.js +17 -17
  73. package/dist/components/OfferCard/OfferCard.js +11 -11
  74. package/dist/components/OfferCard/index.js +7 -0
  75. package/dist/components/PageContainer/index.js +5 -0
  76. package/dist/components/Pagination/Pagination.js +5 -5
  77. package/dist/components/Pagination/index.js +4 -0
  78. package/dist/components/PartnerCard/PartnerCard.js +10 -10
  79. package/dist/components/PartnerCard/index.js +6 -0
  80. package/dist/components/PasswordInput/PasswordInput.js +7 -7
  81. package/dist/components/PasswordInput/index.js +4 -0
  82. package/dist/components/PhoneInput/CountrySelector.js +5 -5
  83. package/dist/components/PhoneInput/PhoneInput.js +8 -8
  84. package/dist/components/PhoneInput/index.js +4 -0
  85. package/dist/components/PinIndicator/index.js +4 -0
  86. package/dist/components/Popover/index.js +7 -0
  87. package/dist/components/Progress/index.js +5 -0
  88. package/dist/components/Radio/index.js +5 -0
  89. package/dist/components/Rating/Rating.js +5 -5
  90. package/dist/components/Rating/index.js +4 -0
  91. package/dist/components/RatingBlock/RatingBlock.js +2 -2
  92. package/dist/components/RatingBlock/index.js +4 -0
  93. package/dist/components/Reorderable/index.js +9 -0
  94. package/dist/components/ReorderableTable/ReorderableTable.js +7 -6
  95. package/dist/components/ReorderableTable/index.js +4 -0
  96. package/dist/components/ResponsiveLayoutTable/ResponsiveLayoutTable.js +5 -5
  97. package/dist/components/ResponsiveLayoutTable/index.js +4 -0
  98. package/dist/components/SearchFilters/SearchFilters.js +11 -11
  99. package/dist/components/SearchFilters/index.js +5 -0
  100. package/dist/components/Searchbar/index.js +4 -0
  101. package/dist/components/SegmentedControl/index.js +5 -0
  102. package/dist/components/SegmentedIconControl/index.js +5 -0
  103. package/dist/components/Select/Select.js +17 -17
  104. package/dist/components/Select/index.js +4 -0
  105. package/dist/components/Sheet/Sheet.js +13 -12
  106. package/dist/components/Sheet/index.js +15 -0
  107. package/dist/components/Skeleton/index.js +4 -0
  108. package/dist/components/Slider/index.js +7 -0
  109. package/dist/components/SliderIndicators/index.js +4 -0
  110. package/dist/components/Stepper/Stepper.js +6 -6
  111. package/dist/components/Stepper/index.js +4 -0
  112. package/dist/components/SwipeButton/SwipeButton.js +14 -14
  113. package/dist/components/SwipeButton/index.js +4 -0
  114. package/dist/components/Switch/index.js +4 -0
  115. package/dist/components/Tag/index.js +5 -0
  116. package/dist/components/TextEditor/EditorToolbar.js +15 -15
  117. package/dist/components/TextEditor/LinkBubbleMenu.js +9 -9
  118. package/dist/components/TextEditor/TextEditor.js +12 -12
  119. package/dist/components/TextEditor/index.js +9 -0
  120. package/dist/components/Textarea/Textarea.js +1 -1
  121. package/dist/components/Textarea/index.js +4 -0
  122. package/dist/components/TimePicker/TimePicker.js +4 -4
  123. package/dist/components/TimePicker/index.js +4 -0
  124. package/dist/components/Toast/Toast.js +7 -7
  125. package/dist/components/Toast/index.js +7 -0
  126. package/dist/components/Toggle/index.js +5 -0
  127. package/dist/components/ToggleCheckButton/index.js +5 -0
  128. package/dist/components/ToggleGroup/ToggleGroup.js +4 -4
  129. package/dist/components/ToggleGroup/index.js +5 -0
  130. package/dist/components/Tooltip/Tooltip.js +6 -6
  131. package/dist/components/Tooltip/index.js +7 -0
  132. package/dist/components/TransactionsListView/TransactionsListView.js +2 -2
  133. package/dist/components/TransactionsListView/index.js +5 -0
  134. package/dist/components/Typography/index.js +5 -0
  135. package/dist/components/TypographyLink/index.js +5 -0
  136. package/dist/components/UniversalFooter/UniversalFooter.js +2 -2
  137. package/dist/components/UniversalFooter/index.js +18 -0
  138. package/dist/components/VoucherCard/VoucherCard.js +2 -2
  139. package/dist/components/VoucherCard/index.js +7 -0
  140. package/dist/index.js +429 -429
  141. package/dist/utils/index.js +13 -0
  142. package/package.json +22 -5
@@ -3,18 +3,18 @@ import * as w from "react";
3
3
  import { Slot as pe } from "@radix-ui/react-slot";
4
4
  import { cva as Z } from "class-variance-authority";
5
5
  import { useMuzaTranslationContext as he } from "../../translations/TranslationContext.js";
6
- import { Button as ue } from "../Button/Button.js";
7
- import { CategoryIcon as ge } from "../CategoryIcon/CategoryIcon.js";
8
6
  import { cn as n } from "../../utils/cn.js";
9
- import { Typography as f } from "../Typography/Typography.js";
10
7
  import { disabledLinkProps as X } from "../../utils/disabledLinkProps.js";
8
+ import { Button as ue } from "../Button/Button.js";
9
+ import { CategoryIcon as ge } from "../CategoryIcon/CategoryIcon.js";
10
+ import { DotDivider as fe } from "../DotDivider/DotDivider.js";
11
11
  import { Flex as m } from "../Flex/Flex.js";
12
- import { MapBold as fe } from "@solar-icons/react-perf";
13
12
  import { HeartButton as ve } from "../HeartButton/HeartButton.js";
14
- import { Rating as be } from "../Rating/Rating.js";
15
- import { Tag as T } from "../Tag/Tag.js";
16
- import { DotDivider as we } from "../DotDivider/DotDivider.js";
13
+ import { MapBold as be } from "@solar-icons/react-perf";
14
+ import { Rating as we } from "../Rating/Rating.js";
17
15
  import { Skeleton as d } from "../Skeleton/Skeleton.js";
16
+ import { Tag as T } from "../Tag/Tag.js";
17
+ import { Typography as f } from "../Typography/Typography.js";
18
18
  const xe = Z(
19
19
  "group relative inline-flex border border-solid transition-colors focus-visible:outline-none data-[disabled=true]:pointer-events-none",
20
20
  {
@@ -39,7 +39,7 @@ const xe = Z(
39
39
  },
40
40
  defaultVariants: { variant: "search" }
41
41
  }), D = ({ rating: t, ratingCount: a, disabled: i }) => /* @__PURE__ */ r(m, { align: "center", gap: "xs", children: [
42
- /* @__PURE__ */ e(be, { value: t, allowHalf: !0, disabled: i }),
42
+ /* @__PURE__ */ e(we, { value: t, allowHalf: !0, disabled: i }),
43
43
  a != null && /* @__PURE__ */ r(
44
44
  f,
45
45
  {
@@ -391,7 +391,7 @@ const re = w.forwardRef(
391
391
  className: "hidden min-w-0 md:flex",
392
392
  children: [
393
393
  U,
394
- o && c && /* @__PURE__ */ e(we, {}),
394
+ o && c && /* @__PURE__ */ e(fe, {}),
395
395
  Q
396
396
  ]
397
397
  }
@@ -489,7 +489,7 @@ const re = w.forwardRef(
489
489
  variant: "secondary",
490
490
  ghost: !0,
491
491
  size: "xs",
492
- icon: /* @__PURE__ */ e(fe, {}),
492
+ icon: /* @__PURE__ */ e(be, {}),
493
493
  onClick: A,
494
494
  disabled: s,
495
495
  className: "relative z-10",
@@ -0,0 +1,6 @@
1
+ import { PartnerCard as t, partnerCardTitleVariants as e, partnerCardVariants as n } from "./PartnerCard.js";
2
+ export {
3
+ t as PartnerCard,
4
+ e as partnerCardTitleVariants,
5
+ n as partnerCardVariants
6
+ };
@@ -1,10 +1,10 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as u, useState as p } from "react";
3
3
  import { useMuzaTranslationContext as c } from "../../translations/TranslationContext.js";
4
- import { EyeClosed as f } from "../Icons/CustomIcons.js";
5
- import { Input as w } from "../Input/Input.js";
6
- import { cn as b } from "../../utils/cn.js";
7
- import { EyeBold as h } from "@solar-icons/react-perf";
4
+ import { cn as f } from "../../utils/cn.js";
5
+ import { EyeBold as w } from "@solar-icons/react-perf";
6
+ import { EyeClosed as b } from "../Icons/CustomIcons.js";
7
+ import { Input as h } from "../Input/Input.js";
8
8
  const P = u(
9
9
  ({
10
10
  initialShowPassword: t,
@@ -16,7 +16,7 @@ const P = u(
16
16
  t || !1
17
17
  ), m = e ? n ?? r.passwordInput.hidePasswordAriaLabel : i ?? r.passwordInput.showPasswordAriaLabel;
18
18
  return /* @__PURE__ */ o(
19
- w,
19
+ h,
20
20
  {
21
21
  ...s,
22
22
  ref: d,
@@ -24,7 +24,7 @@ const P = u(
24
24
  suffix: /* @__PURE__ */ o(
25
25
  "button",
26
26
  {
27
- className: b("cursor-pointer focus-visible-default", {
27
+ className: f("cursor-pointer focus-visible-default", {
28
28
  "pointer-events-none cursor-not-allowed": s.disabled
29
29
  }),
30
30
  onMouseDown: (a) => a.preventDefault(),
@@ -32,7 +32,7 @@ const P = u(
32
32
  disabled: s.disabled,
33
33
  type: "button",
34
34
  "aria-label": m,
35
- children: e ? /* @__PURE__ */ o(h, { "aria-hidden": "true", className: "size-icon-medium" }) : /* @__PURE__ */ o(f, { "aria-hidden": "true", className: "size-icon-medium" })
35
+ children: e ? /* @__PURE__ */ o(w, { "aria-hidden": "true", className: "size-icon-medium" }) : /* @__PURE__ */ o(b, { "aria-hidden": "true", className: "size-icon-medium" })
36
36
  }
37
37
  )
38
38
  }
@@ -0,0 +1,4 @@
1
+ import { PasswordInput as p } from "./PasswordInput.js";
2
+ export {
3
+ p as PasswordInput
4
+ };
@@ -1,10 +1,10 @@
1
1
  import { jsxs as p, jsx as r } from "react/jsx-runtime";
2
2
  import { useState as u, useMemo as a } from "react";
3
3
  import { parseCountry as v, FlagImage as l } from "react-international-phone";
4
- import { DropdownSearchMenu as M, DropdownSearchMenuTrigger as y, DropdownSearchMenuContent as z, DropdownSearchMenuItem as D } from "../DropdownSearchMenu/DropdownSearchMenu.js";
5
4
  import { cn as f } from "../../utils/cn.js";
6
- import { Typography as N } from "../Typography/Typography.js";
7
- import { AltArrowUpOutline as A } from "@solar-icons/react-perf";
5
+ import { DropdownSearchMenu as M, DropdownSearchMenuTrigger as y, DropdownSearchMenuContent as z, DropdownSearchMenuItem as D } from "../DropdownSearchMenu/DropdownSearchMenu.js";
6
+ import { AltArrowUpOutline as N } from "@solar-icons/react-perf";
7
+ import { Typography as A } from "../Typography/Typography.js";
8
8
  const O = ({
9
9
  selectedCountry: c,
10
10
  onCountryChange: h,
@@ -53,7 +53,7 @@ const O = ({
53
53
  children: [
54
54
  /* @__PURE__ */ r(l, { iso2: n.iso2, size: "20px" }),
55
55
  /* @__PURE__ */ p(
56
- N,
56
+ A,
57
57
  {
58
58
  size: "input",
59
59
  weight: "medium",
@@ -67,7 +67,7 @@ const O = ({
67
67
  }
68
68
  ),
69
69
  /* @__PURE__ */ r(
70
- A,
70
+ N,
71
71
  {
72
72
  "aria-hidden": "true",
73
73
  className: f(
@@ -2,11 +2,11 @@ import { jsx as u, jsxs as W } from "react/jsx-runtime";
2
2
  import { forwardRef as Y, useId as B, useRef as G, useState as H, useEffect as J } from "react";
3
3
  import { cva as K } from "class-variance-authority";
4
4
  import { usePhoneInput as O, defaultCountries as Q } from "react-international-phone";
5
- import { CountrySelector as U } from "./CountrySelector.js";
6
- import { useMuzaTranslations as X } from "../../translations/TranslationContext.js";
7
- import { FormField as Z } from "../FormField/FormField.js";
5
+ import { useMuzaTranslations as U } from "../../translations/TranslationContext.js";
8
6
  import { cn as v } from "../../utils/cn.js";
9
- import { typographyVariants as _ } from "../Typography/Typography.js";
7
+ import { FormField as X } from "../FormField/FormField.js";
8
+ import { typographyVariants as Z } from "../Typography/Typography.js";
9
+ import { CountrySelector as _ } from "./CountrySelector.js";
10
10
  const q = K(
11
11
  [
12
12
  "group flex items-center",
@@ -33,7 +33,7 @@ const q = K(
33
33
  }
34
34
  }
35
35
  ), ee = (t) => v(
36
- _({
36
+ Z({
37
37
  size: t === "xs" || t === "sm" ? "input" : "base",
38
38
  weight: "medium",
39
39
  fixY: !0
@@ -64,7 +64,7 @@ const q = K(
64
64
  noResultsText: F,
65
65
  ...b
66
66
  }, e) => {
67
- const s = X(), S = B(), r = k ?? S, y = c ? `${r}-hint` : void 0, x = p ? `${r}-label` : void 0, n = G(null), I = m !== void 0, [j, A] = H(C ?? ""), L = I ? m : j, { inputValue: M, country: T, setCountry: $, handlePhoneValueChange: D } = O({
67
+ const s = U(), S = B(), r = k ?? S, y = c ? `${r}-hint` : void 0, x = p ? `${r}-label` : void 0, n = G(null), I = m !== void 0, [j, A] = H(C ?? ""), L = I ? m : j, { inputValue: M, country: T, setCountry: $, handlePhoneValueChange: D } = O({
68
68
  defaultCountry: V,
69
69
  value: L,
70
70
  countries: h,
@@ -86,7 +86,7 @@ const q = K(
86
86
  return J(() => {
87
87
  e && (typeof e == "function" ? e(n.current) : e.current = n.current);
88
88
  }, [e]), /* @__PURE__ */ u(
89
- Z,
89
+ X,
90
90
  {
91
91
  label: p,
92
92
  hint: c,
@@ -100,7 +100,7 @@ const q = K(
100
100
  infoTooltip: R,
101
101
  children: /* @__PURE__ */ W("div", { className: v(q({ size: d, error: o }), t), children: [
102
102
  /* @__PURE__ */ u(
103
- U,
103
+ _,
104
104
  {
105
105
  selectedCountry: T.iso2,
106
106
  onCountryChange: (a) => $(a),
@@ -0,0 +1,4 @@
1
+ import { PhoneInput as n } from "./PhoneInput.js";
2
+ export {
3
+ n as PhoneInput
4
+ };
@@ -0,0 +1,4 @@
1
+ import { PinIndicator as i } from "./PinIndicator.js";
2
+ export {
3
+ i as PinIndicator
4
+ };
@@ -0,0 +1,7 @@
1
+ import { Popover as e, PopoverAnchor as p, PopoverContent as v, PopoverTrigger as P } from "./Popover.js";
2
+ export {
3
+ e as Popover,
4
+ p as PopoverAnchor,
5
+ v as PopoverContent,
6
+ P as PopoverTrigger
7
+ };
@@ -0,0 +1,5 @@
1
+ import { Progress as o, progressVariants as e } from "./Progress.js";
2
+ export {
3
+ o as Progress,
4
+ e as progressVariants
5
+ };
@@ -0,0 +1,5 @@
1
+ import { RadioGroup as p, RadioGroupItem as a } from "./Radio.js";
2
+ export {
3
+ p as RadioGroup,
4
+ a as RadioGroupItem
5
+ };
@@ -1,10 +1,10 @@
1
1
  import { jsx as f } from "react/jsx-runtime";
2
2
  import * as a from "react";
3
3
  import { useMuzaTranslationContext as _ } from "../../translations/TranslationContext.js";
4
- import { HalfStar as z } from "../Icons/CustomIcons.js";
5
- import { resolvePluralTemplate as C } from "../../translations/resolvePluralTemplate.js";
4
+ import { resolvePluralTemplate as z } from "../../translations/resolvePluralTemplate.js";
6
5
  import { cn as y } from "../../utils/cn.js";
7
- import { StarBold as F } from "@solar-icons/react-perf";
6
+ import { StarBold as C } from "@solar-icons/react-perf";
7
+ import { HalfStar as F } from "../Icons/CustomIcons.js";
8
8
  const T = (l, m, p) => Array.from({ length: m }, (s, n) => {
9
9
  const c = n + 1;
10
10
  return p ? l >= c - 0.25 ? "full" : l >= c - 0.75 ? "half" : "empty" : l >= c - 0.5 ? "full" : "empty";
@@ -50,7 +50,7 @@ const T = (l, m, p) => Array.from({ length: m }, (s, n) => {
50
50
  ),
51
51
  ...R,
52
52
  children: H.map((e, t) => {
53
- const o = t + 1, v = /* @__PURE__ */ f(e === "half" ? z : F, { className: y(e === "empty" ? "text-comp-rating-star-empty" : "text-comp-rating-star-default", "transition-colors") });
53
+ const o = t + 1, v = /* @__PURE__ */ f(e === "half" ? F : C, { className: y(e === "empty" ? "text-comp-rating-star-empty" : "text-comp-rating-star-default", "transition-colors") });
54
54
  return i ? /* @__PURE__ */ f(
55
55
  "button",
56
56
  {
@@ -60,7 +60,7 @@ const T = (l, m, p) => Array.from({ length: m }, (s, n) => {
60
60
  type: "button",
61
61
  role: "radio",
62
62
  "aria-checked": Math.ceil(r) === o,
63
- "aria-label": (I ?? C(
63
+ "aria-label": (I ?? z(
64
64
  o,
65
65
  D,
66
66
  M.rating.starLabel
@@ -0,0 +1,4 @@
1
+ import { Rating as t } from "./Rating.js";
2
+ export {
3
+ t as Rating
4
+ };
@@ -2,11 +2,11 @@ import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
2
  import * as n from "react";
3
3
  import { useMuzaTranslationContext as b } from "../../translations/TranslationContext.js";
4
4
  import { resolvePluralTemplate as M } from "../../translations/resolvePluralTemplate.js";
5
- import { Card as B } from "../Card/Card.js";
6
5
  import { cn as p } from "../../utils/cn.js";
7
- import { Typography as u } from "../Typography/Typography.js";
6
+ import { Card as B } from "../Card/Card.js";
8
7
  import { Flex as C } from "../Flex/Flex.js";
9
8
  import { Rating as z } from "../Rating/Rating.js";
9
+ import { Typography as u } from "../Typography/Typography.js";
10
10
  const T = n.forwardRef(
11
11
  ({
12
12
  value: i,
@@ -0,0 +1,4 @@
1
+ import { RatingBlock as t } from "./RatingBlock.js";
2
+ export {
3
+ t as RatingBlock
4
+ };
@@ -0,0 +1,9 @@
1
+ import { ReorderableGroup as o, ReorderableHandle as a, ReorderableItem as d, ReorderableStaticItem as l, useReorderableGroup as b, useReorderableItem as t } from "./Reorderable.js";
2
+ export {
3
+ o as ReorderableGroup,
4
+ a as ReorderableHandle,
5
+ d as ReorderableItem,
6
+ l as ReorderableStaticItem,
7
+ b as useReorderableGroup,
8
+ t as useReorderableItem
9
+ };
@@ -1,9 +1,10 @@
1
1
  import { jsx as e, jsxs as h } from "react/jsx-runtime";
2
2
  import { forwardRef as S } from "react";
3
3
  import { motion as l } from "motion/react";
4
- import { ReorderableGroup as k, ReorderableItem as w, ReorderableHandle as z } from "../Reorderable/Reorderable.js";
5
- import { Reorder as G } from "../Icons/CustomIcons.js";
6
4
  import { cn as d } from "../../utils/cn.js";
5
+ import "@solar-icons/react-perf";
6
+ import { Reorder as k } from "../Icons/CustomIcons.js";
7
+ import { ReorderableGroup as w, ReorderableItem as z, ReorderableHandle as G } from "../Reorderable/Reorderable.js";
7
8
  import { typographyVariants as W, Typography as K } from "../Typography/Typography.js";
8
9
  const f = 72, N = 20, R = 24, U = 4, F = ({
9
10
  data: g,
@@ -64,7 +65,7 @@ const f = 72, N = 20, R = 24, U = 4, F = ({
64
65
  )
65
66
  ] }) }),
66
67
  /* @__PURE__ */ e(
67
- k,
68
+ w,
68
69
  {
69
70
  values: g,
70
71
  onReorder: x,
@@ -80,7 +81,7 @@ const f = 72, N = 20, R = 24, U = 4, F = ({
80
81
  children: (o) => o.map((a, p) => {
81
82
  const D = (m == null ? void 0 : m(a, p)) ?? !1, t = u || D, b = !!n && !t;
82
83
  return /* @__PURE__ */ h(
83
- w,
84
+ z,
84
85
  {
85
86
  value: a,
86
87
  as: "tr",
@@ -169,14 +170,14 @@ const f = 72, N = 20, R = 24, U = 4, F = ({
169
170
  transition: { duration: 0.3, ease: "easeInOut" },
170
171
  className: "flex h-full items-center justify-center overflow-hidden border-l border-stroke-base-secondary",
171
172
  children: /* @__PURE__ */ e(
172
- z,
173
+ G,
173
174
  {
174
175
  disabled: !i || t,
175
176
  className: d(
176
177
  "flex h-comp-button-h-sm w-comp-button-w-sm items-center justify-center focus-visible-default",
177
178
  t ? "text-text-dark-disabled" : "text-text-brand-def"
178
179
  ),
179
- children: /* @__PURE__ */ e(G, { className: "size-icon-default" })
180
+ children: /* @__PURE__ */ e(k, { className: "size-icon-default" })
180
181
  }
181
182
  )
182
183
  }
@@ -0,0 +1,4 @@
1
+ import { ReorderableTable as o } from "./ReorderableTable.js";
2
+ export {
3
+ o as ReorderableTable
4
+ };
@@ -2,8 +2,8 @@ import { jsx as r, jsxs as T } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import { useBreakpoints as E } from "../../hooks/use-is-breakpoint.js";
4
4
  import { cn as l } from "../../utils/cn.js";
5
- import { typographyVariants as H, Typography as S } from "../Typography/Typography.js";
6
- import { Skeleton as V } from "../Skeleton/Skeleton.js";
5
+ import { Skeleton as H } from "../Skeleton/Skeleton.js";
6
+ import { typographyVariants as S, Typography as V } from "../Typography/Typography.js";
7
7
  const J = ({
8
8
  data: y,
9
9
  layouts: n,
@@ -50,7 +50,7 @@ const J = ({
50
50
  "th",
51
51
  {
52
52
  className: l(
53
- H({
53
+ S({
54
54
  size: "sm",
55
55
  uppercase: !0,
56
56
  variant: "body",
@@ -100,8 +100,8 @@ const J = ({
100
100
  i && "relative",
101
101
  t.className
102
102
  ),
103
- children: a ? t.skeleton ?? /* @__PURE__ */ r(V, { color: "light", className: "h-4 w-full" }) : t.render ? t.render(e, s, o) : /* @__PURE__ */ r(
104
- S,
103
+ children: a ? t.skeleton ?? /* @__PURE__ */ r(H, { color: "light", className: "h-4 w-full" }) : t.render ? t.render(e, s, o) : /* @__PURE__ */ r(
104
+ V,
105
105
  {
106
106
  variant: "body",
107
107
  size: "base",
@@ -0,0 +1,4 @@
1
+ import { ResponsiveLayoutTable as a } from "./ResponsiveLayoutTable.js";
2
+ export {
3
+ a as ResponsiveLayoutTable
4
+ };
@@ -1,11 +1,11 @@
1
1
  import { jsxs as s, jsx as e, Fragment as N } from "react/jsx-runtime";
2
2
  import * as n from "react";
3
+ import { cn as l } from "../../utils/cn.js";
3
4
  import { Button as w } from "../Button/Button.js";
4
- import { Searchbar as k } from "../Searchbar/Searchbar.js";
5
- import { Carousel as y, CarouselContent as v, CarouselItem as S, CarouselPrevious as C, CarouselNext as F } from "../Carousel/Carousel.js";
5
+ import { Carousel as k, CarouselContent as y, CarouselItem as v, CarouselPrevious as S, CarouselNext as C } from "../Carousel/Carousel.js";
6
6
  import { Flex as m } from "../Flex/Flex.js";
7
- import { cn as l } from "../../utils/cn.js";
8
- import { ArrowLeftOutline as A } from "@solar-icons/react-perf";
7
+ import { ArrowLeftOutline as F } from "@solar-icons/react-perf";
8
+ import { Searchbar as A } from "../Searchbar/Searchbar.js";
9
9
  import { Skeleton as f } from "../Skeleton/Skeleton.js";
10
10
  const R = n.forwardRef(
11
11
  ({
@@ -55,13 +55,13 @@ const R = n.forwardRef(
55
55
  {
56
56
  variant: "tertiary",
57
57
  size: "icon",
58
- icon: /* @__PURE__ */ e(A, {}),
58
+ icon: /* @__PURE__ */ e(F, {}),
59
59
  ...a
60
60
  }
61
61
  )
62
62
  }
63
63
  ),
64
- r && /* @__PURE__ */ e("div", { className: "flex-1 md:w-[280px] md:flex-none", children: /* @__PURE__ */ e(k, { ...r }) })
64
+ r && /* @__PURE__ */ e("div", { className: "flex-1 md:w-[280px] md:flex-none", children: /* @__PURE__ */ e(A, { ...r }) })
65
65
  ]
66
66
  }
67
67
  ),
@@ -89,9 +89,9 @@ const R = n.forwardRef(
89
89
  // bleed to the viewport's right edge (left stays inset by the bar).
90
90
  "md:-mr-2xl md:flex-1 md:border-b-0 md:p-0"
91
91
  ),
92
- children: /* @__PURE__ */ s(y, { align: "start", options: d, className: "w-full", children: [
93
- /* @__PURE__ */ e(v, { className: "!ml-0 items-center gap-xs", children: p.map((g, o) => /* @__PURE__ */ e(
94
- S,
92
+ children: /* @__PURE__ */ s(k, { align: "start", options: d, className: "w-full", children: [
93
+ /* @__PURE__ */ e(y, { className: "!ml-0 items-center gap-xs", children: p.map((g, o) => /* @__PURE__ */ e(
94
+ v,
95
95
  {
96
96
  className: l(
97
97
  "!basis-auto !pl-0",
@@ -108,14 +108,14 @@ const R = n.forwardRef(
108
108
  )) }),
109
109
  u && /* @__PURE__ */ s(N, { children: [
110
110
  /* @__PURE__ */ e(
111
- C,
111
+ S,
112
112
  {
113
113
  hideWhenDisabled: !0,
114
114
  className: "hidden md:left-0 md:flex"
115
115
  }
116
116
  ),
117
117
  /* @__PURE__ */ e(
118
- F,
118
+ C,
119
119
  {
120
120
  hideWhenDisabled: !0,
121
121
  className: "hidden md:right-2xl md:flex"
@@ -0,0 +1,5 @@
1
+ import { SearchFilters as t, SearchFiltersSkeleton as l } from "./SearchFilters.js";
2
+ export {
3
+ t as SearchFilters,
4
+ l as SearchFiltersSkeleton
5
+ };
@@ -0,0 +1,4 @@
1
+ import { Searchbar as e } from "./Searchbar.js";
2
+ export {
3
+ e as Searchbar
4
+ };
@@ -0,0 +1,5 @@
1
+ import { SegmentedControl as t, SegmentedControlItem as m } from "./SegmentedControl.js";
2
+ export {
3
+ t as SegmentedControl,
4
+ m as SegmentedControlItem
5
+ };
@@ -0,0 +1,5 @@
1
+ import { SegmentedIconControl as n, SegmentedIconControlItem as t } from "./SegmentedIconControl.js";
2
+ export {
3
+ n as SegmentedIconControl,
4
+ t as SegmentedIconControlItem
5
+ };
@@ -1,16 +1,16 @@
1
1
  import { jsx as t, jsxs as u } from "react/jsx-runtime";
2
2
  import f, { forwardRef as G, useId as L, useMemo as U, useRef as S, useEffect as T } from "react";
3
- import { triggerWrapperVariants as H } from "./utils.js";
4
- import { useMuzaTranslations as J } from "../../translations/TranslationContext.js";
5
- import { FormField as K } from "../FormField/FormField.js";
6
- import { Typography as o } from "../Typography/Typography.js";
7
- import { Flex as Q } from "../Flex/Flex.js";
8
- import { DropdownMenu as X, DropdownMenuTrigger as Y, DropdownMenuContent as Z, DropdownMenuRadioGroup as ee, DropdownMenuRadioItem as te } from "../DropdownMenu/DropdownMenu.js";
3
+ import { useMuzaTranslations as H } from "../../translations/TranslationContext.js";
9
4
  import { cn as D } from "../../utils/cn.js";
10
- import { AltArrowUpOutline as re } from "@solar-icons/react-perf";
5
+ import { DropdownMenu as J, DropdownMenuTrigger as K, DropdownMenuContent as Q, DropdownMenuRadioGroup as X, DropdownMenuRadioItem as Y } from "../DropdownMenu/DropdownMenu.js";
6
+ import { Flex as Z } from "../Flex/Flex.js";
7
+ import { FormField as ee } from "../FormField/FormField.js";
8
+ import { AltArrowUpOutline as te } from "@solar-icons/react-perf";
9
+ import { Typography as o } from "../Typography/Typography.js";
10
+ import { triggerWrapperVariants as re } from "./utils.js";
11
11
  const ne = G(
12
12
  (I, h) => {
13
- const g = J(), {
13
+ const g = H(), {
14
14
  label: x,
15
15
  hint: b,
16
16
  error: w,
@@ -28,7 +28,7 @@ const ne = G(
28
28
  disableRequiredAsterisk: F,
29
29
  labelExtra: V,
30
30
  infoTooltip: q
31
- } = I, R = W ?? g.select.placeholder, E = A ?? g.select.noOptions, M = L(), P = x ? `${M}-label` : void 0, $ = b ? `${M}-hint` : void 0, r = n ? a.find((e) => e.value === n) : void 0, j = U(() => r ? r.description ? /* @__PURE__ */ u(Q, { flex: 1, direction: "column", className: "min-w-0 text-left", children: [
31
+ } = I, R = W ?? g.select.placeholder, E = A ?? g.select.noOptions, M = L(), P = x ? `${M}-label` : void 0, $ = b ? `${M}-hint` : void 0, r = n ? a.find((e) => e.value === n) : void 0, j = U(() => r ? r.description ? /* @__PURE__ */ u(Z, { flex: 1, direction: "column", className: "min-w-0 text-left", children: [
32
32
  /* @__PURE__ */ t(
33
33
  o,
34
34
  {
@@ -83,7 +83,7 @@ const ne = G(
83
83
  var e;
84
84
  l && n && m.current[n] && v && ((e = m.current[n]) == null || e.scrollIntoView({ block: "nearest" }));
85
85
  }, [l, v, n]), /* @__PURE__ */ t(
86
- K,
86
+ ee,
87
87
  {
88
88
  label: x,
89
89
  hint: b,
@@ -96,13 +96,13 @@ const ne = G(
96
96
  infoTooltip: q,
97
97
  className: "flex-1",
98
98
  children: /* @__PURE__ */ u(
99
- X,
99
+ J,
100
100
  {
101
101
  onOpenChange: (e) => {
102
102
  k(e);
103
103
  },
104
104
  children: [
105
- /* @__PURE__ */ t(Y, { disabled: s, asChild: !0, children: /* @__PURE__ */ t(
105
+ /* @__PURE__ */ t(K, { disabled: s, asChild: !0, children: /* @__PURE__ */ t(
106
106
  "button",
107
107
  {
108
108
  ref: i,
@@ -112,7 +112,7 @@ const ne = G(
112
112
  disabled: s,
113
113
  "aria-required": N,
114
114
  className: D(
115
- H({
115
+ re({
116
116
  size: O,
117
117
  error: w,
118
118
  expanded: l,
@@ -129,7 +129,7 @@ const ne = G(
129
129
  ),
130
130
  j,
131
131
  /* @__PURE__ */ t(
132
- re,
132
+ te,
133
133
  {
134
134
  className: D(
135
135
  "transition-transform duration-200",
@@ -142,7 +142,7 @@ const ne = G(
142
142
  }
143
143
  ) }),
144
144
  /* @__PURE__ */ t(
145
- Z,
145
+ Q,
146
146
  {
147
147
  className: "mt-1",
148
148
  style: {
@@ -163,14 +163,14 @@ const ne = G(
163
163
  children: E
164
164
  }
165
165
  ) }) : /* @__PURE__ */ t(
166
- ee,
166
+ X,
167
167
  {
168
168
  value: n,
169
169
  onValueChange: (e) => {
170
170
  p.current = !0, d == null || d(e);
171
171
  },
172
172
  children: a.map((e) => /* @__PURE__ */ t(
173
- te,
173
+ Y,
174
174
  {
175
175
  value: e.value.toString(),
176
176
  disabled: e.disabled,
@@ -0,0 +1,4 @@
1
+ import { Select as r } from "./Select.js";
2
+ export {
3
+ r as Select
4
+ };