@vkzstudio/muza-ui 1.5.1 → 1.6.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 (170) 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.d.ts.map +1 -1
  11. package/dist/components/Button/Button.js +44 -42
  12. package/dist/components/Button/Button.stories.d.ts.map +1 -1
  13. package/dist/components/Button/index.js +6 -0
  14. package/dist/components/ButtonArrow/index.js +5 -0
  15. package/dist/components/Calendar/Calendar.js +6 -6
  16. package/dist/components/Calendar/index.js +10 -0
  17. package/dist/components/Card/Card.js +7 -7
  18. package/dist/components/Card/index.js +5 -0
  19. package/dist/components/CardCheckboxAmount/CardCheckboxAmount.js +8 -8
  20. package/dist/components/CardCheckboxAmount/index.js +4 -0
  21. package/dist/components/Carousel/Carousel.d.ts +99 -2
  22. package/dist/components/Carousel/Carousel.d.ts.map +1 -1
  23. package/dist/components/Carousel/Carousel.js +208 -151
  24. package/dist/components/Carousel/Carousel.stories.d.ts +2 -0
  25. package/dist/components/Carousel/Carousel.stories.d.ts.map +1 -1
  26. package/dist/components/Carousel/index.js +10 -0
  27. package/dist/components/CategoryCard/CategoryCard.js +2 -2
  28. package/dist/components/CategoryCard/index.js +6 -0
  29. package/dist/components/CategoryIcon/index.js +5 -0
  30. package/dist/components/Checkbox/Checkbox.js +1 -1
  31. package/dist/components/Checkbox/index.js +4 -0
  32. package/dist/components/Chip/Chip.js +5 -5
  33. package/dist/components/Chip/index.js +5 -0
  34. package/dist/components/DataTable/index.js +5 -0
  35. package/dist/components/DatePicker/DatePicker.js +18 -18
  36. package/dist/components/DatePicker/index.js +7 -0
  37. package/dist/components/DatePickerButton/DatePickerButton.js +5 -5
  38. package/dist/components/DatePickerButton/index.js +5 -0
  39. package/dist/components/Dialog/Dialog.js +21 -20
  40. package/dist/components/Dialog/index.js +13 -0
  41. package/dist/components/DotDivider/index.js +5 -0
  42. package/dist/components/DropdownMenu/DropdownMenu.d.ts +22 -3
  43. package/dist/components/DropdownMenu/DropdownMenu.d.ts.map +1 -1
  44. package/dist/components/DropdownMenu/DropdownMenu.js +131 -105
  45. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +3 -2
  46. package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts.map +1 -1
  47. package/dist/components/DropdownMenu/index.js +14 -0
  48. package/dist/components/DropdownSearchMenu/DropdownSearchMenu.js +7 -6
  49. package/dist/components/DropdownSearchMenu/index.js +7 -0
  50. package/dist/components/EdgeButton/EdgeButton.js +1 -1
  51. package/dist/components/EdgeButton/index.js +5 -0
  52. package/dist/components/EmptyState/index.js +4 -0
  53. package/dist/components/ExpandableTable/ExpandableTable.js +13 -13
  54. package/dist/components/ExpandableTable/index.js +4 -0
  55. package/dist/components/FileUpload/FileItem.js +1 -1
  56. package/dist/components/FileUpload/FileUpload.js +7 -7
  57. package/dist/components/FileUpload/index.js +4 -0
  58. package/dist/components/Flex/Flex.js +5 -5
  59. package/dist/components/Flex/index.js +7 -0
  60. package/dist/components/FormField/FormField.js +9 -9
  61. package/dist/components/FormField/InputHint.js +4 -4
  62. package/dist/components/FormField/index.js +8 -0
  63. package/dist/components/HeartButton/index.js +5 -0
  64. package/dist/components/Icons/index.js +65 -0
  65. package/dist/components/InfoCard/InfoCard.js +45 -0
  66. package/dist/components/InfoCard/index.js +5 -0
  67. package/dist/components/Input/Input.js +1 -1
  68. package/dist/components/Input/index.js +4 -0
  69. package/dist/components/InputOTP/InputOTP.js +7 -7
  70. package/dist/components/InputOTP/index.js +7 -0
  71. package/dist/components/LanguageSwitcher/LanguageSwitcher.js +9 -9
  72. package/dist/components/LanguageSwitcher/index.js +6 -0
  73. package/dist/components/Lightbox/Lightbox.js +1 -1
  74. package/dist/components/Lightbox/index.js +8 -0
  75. package/dist/components/Loader/index.js +4 -0
  76. package/dist/components/LoginScreen/LoginScreen.js +4 -4
  77. package/dist/components/LoginScreen/index.js +8 -0
  78. package/dist/components/MarketNav/MarketNav.examples.d.ts.map +1 -1
  79. package/dist/components/MultiSelect/MultiSelect.d.ts.map +1 -1
  80. package/dist/components/MultiSelect/MultiSelect.js +40 -41
  81. package/dist/components/MultiSelect/index.js +4 -0
  82. package/dist/components/MuzaUIProvider/MuzaUIProvider.js +5 -5
  83. package/dist/components/MuzaUIProvider/index.js +13 -0
  84. package/dist/components/MuzaUIProvider/theme/ThemeSetterModal.js +17 -17
  85. package/dist/components/OfferCard/OfferCard.js +11 -11
  86. package/dist/components/OfferCard/index.js +7 -0
  87. package/dist/components/PageContainer/index.js +5 -0
  88. package/dist/components/Pagination/Pagination.js +5 -5
  89. package/dist/components/Pagination/index.js +4 -0
  90. package/dist/components/PartnerCard/PartnerCard.js +10 -10
  91. package/dist/components/PartnerCard/index.js +6 -0
  92. package/dist/components/PasswordInput/PasswordInput.js +7 -7
  93. package/dist/components/PasswordInput/index.js +4 -0
  94. package/dist/components/PhoneInput/CountrySelector.js +5 -5
  95. package/dist/components/PhoneInput/PhoneInput.js +8 -8
  96. package/dist/components/PhoneInput/index.js +4 -0
  97. package/dist/components/PinIndicator/index.js +4 -0
  98. package/dist/components/Popover/index.js +7 -0
  99. package/dist/components/Progress/index.js +5 -0
  100. package/dist/components/Radio/index.js +5 -0
  101. package/dist/components/Rating/Rating.js +5 -5
  102. package/dist/components/Rating/index.js +4 -0
  103. package/dist/components/RatingBlock/RatingBlock.js +2 -2
  104. package/dist/components/RatingBlock/index.js +4 -0
  105. package/dist/components/Reorderable/index.js +9 -0
  106. package/dist/components/ReorderableTable/ReorderableTable.js +7 -6
  107. package/dist/components/ReorderableTable/index.js +4 -0
  108. package/dist/components/ResponsiveLayoutTable/ResponsiveLayoutTable.js +5 -5
  109. package/dist/components/ResponsiveLayoutTable/index.js +4 -0
  110. package/dist/components/SearchFilters/SearchFilters.js +11 -11
  111. package/dist/components/SearchFilters/index.js +5 -0
  112. package/dist/components/Searchbar/index.js +4 -0
  113. package/dist/components/SegmentedControl/index.js +5 -0
  114. package/dist/components/SegmentedIconControl/index.js +5 -0
  115. package/dist/components/Select/Select.d.ts.map +1 -1
  116. package/dist/components/Select/Select.js +77 -103
  117. package/dist/components/Select/Select.stories.d.ts.map +1 -1
  118. package/dist/components/Select/SelectTrigger.d.ts +54 -0
  119. package/dist/components/Select/SelectTrigger.d.ts.map +1 -0
  120. package/dist/components/Select/SelectTrigger.js +57 -0
  121. package/dist/components/Select/SelectTrigger.stories.d.ts +11 -0
  122. package/dist/components/Select/SelectTrigger.stories.d.ts.map +1 -0
  123. package/dist/components/Select/index.d.ts +2 -0
  124. package/dist/components/Select/index.d.ts.map +1 -1
  125. package/dist/components/Select/index.js +8 -0
  126. package/dist/components/Select/utils.d.ts +10 -1
  127. package/dist/components/Select/utils.d.ts.map +1 -1
  128. package/dist/components/Select/utils.js +3 -5
  129. package/dist/components/Sheet/Sheet.js +13 -12
  130. package/dist/components/Sheet/index.js +15 -0
  131. package/dist/components/Skeleton/index.js +4 -0
  132. package/dist/components/Slider/index.js +7 -0
  133. package/dist/components/SliderIndicators/index.js +4 -0
  134. package/dist/components/Stepper/Stepper.js +6 -6
  135. package/dist/components/Stepper/index.js +4 -0
  136. package/dist/components/SwipeButton/SwipeButton.js +14 -14
  137. package/dist/components/SwipeButton/index.js +4 -0
  138. package/dist/components/Switch/index.js +4 -0
  139. package/dist/components/Tag/index.js +5 -0
  140. package/dist/components/TextEditor/EditorToolbar.js +15 -15
  141. package/dist/components/TextEditor/LinkBubbleMenu.js +9 -9
  142. package/dist/components/TextEditor/TextEditor.js +12 -12
  143. package/dist/components/TextEditor/index.js +9 -0
  144. package/dist/components/Textarea/Textarea.js +1 -1
  145. package/dist/components/Textarea/index.js +4 -0
  146. package/dist/components/TimePicker/TimePicker.js +4 -4
  147. package/dist/components/TimePicker/index.js +4 -0
  148. package/dist/components/Toast/Toast.js +7 -7
  149. package/dist/components/Toast/index.js +7 -0
  150. package/dist/components/Toggle/index.js +5 -0
  151. package/dist/components/ToggleCheckButton/index.js +5 -0
  152. package/dist/components/ToggleGroup/ToggleGroup.js +4 -4
  153. package/dist/components/ToggleGroup/index.js +5 -0
  154. package/dist/components/Tooltip/Tooltip.js +6 -6
  155. package/dist/components/Tooltip/index.js +7 -0
  156. package/dist/components/TransactionsListView/TransactionsListView.js +2 -2
  157. package/dist/components/TransactionsListView/index.js +5 -0
  158. package/dist/components/Typography/index.js +5 -0
  159. package/dist/components/TypographyLink/index.js +5 -0
  160. package/dist/components/UniversalFooter/UniversalFooter.js +3 -3
  161. package/dist/components/UniversalFooter/index.js +18 -0
  162. package/dist/components/VoucherCard/VoucherCard.js +2 -2
  163. package/dist/components/VoucherCard/index.js +7 -0
  164. package/dist/components/WebCheckoutNav/WebCheckoutNav.examples.d.ts.map +1 -1
  165. package/dist/index.js +434 -429
  166. package/dist/muza-ui.css +1 -1
  167. package/dist/utils/index.js +13 -0
  168. package/llms-full.md +133 -2
  169. package/llms.txt +2 -0
  170. package/package.json +23 -5
@@ -1,17 +1,17 @@
1
1
  import { jsx as t, jsxs as p } from "react/jsx-runtime";
2
- import u, { forwardRef as L, useId as U, useMemo as k, useRef as G, useEffect as H } from "react";
3
- import { triggerWrapperVariants as J } from "../Select/utils.js";
4
- import { useMuzaTranslations as K } from "../../translations/TranslationContext.js";
5
- import { FormField as Q } from "../FormField/FormField.js";
6
- import { DropdownMenu as X, DropdownMenuTrigger as Y, DropdownMenuContent as Z, DropdownMenuCheckboxItem as ee } from "../DropdownMenu/DropdownMenu.js";
7
- import { Typography as I } from "../Typography/Typography.js";
8
- import { Flex as z } from "../Flex/Flex.js";
9
- import { Tag as f } from "../Tag/Tag.js";
2
+ import u, { forwardRef as L, useId as U, useMemo as T, useRef as G, useEffect as H } from "react";
3
+ import { useMuzaTranslations as J } from "../../translations/TranslationContext.js";
4
+ import { cn as K } from "../../utils/cn.js";
5
+ import { DropdownMenu as Q, DropdownMenuTrigger as X, DropdownMenuContent as Y, DropdownMenuCheckboxItem as Z } from "../DropdownMenu/DropdownMenu.js";
6
+ import { Flex as k } from "../Flex/Flex.js";
7
+ import { FormField as ee } from "../FormField/FormField.js";
10
8
  import { AltArrowUpOutline as te } from "@solar-icons/react-perf";
11
- import { cn as re } from "../../utils/cn.js";
9
+ import { triggerWrapperVariants as re } from "../Select/utils.js";
10
+ import { Tag as f } from "../Tag/Tag.js";
11
+ import { Typography as I } from "../Typography/Typography.js";
12
12
  const ne = L(
13
- (D, h) => {
14
- const g = K(), {
13
+ (z, h) => {
14
+ const g = J(), {
15
15
  label: x,
16
16
  hint: b,
17
17
  error: w,
@@ -21,18 +21,18 @@ const ne = L(
21
21
  disabled: o,
22
22
  prefix: d,
23
23
  maxNumberOfVisibleTags: c = 2,
24
- size: O,
25
- placeholder: S,
26
- emptyMessage: W,
24
+ size: D,
25
+ placeholder: O,
26
+ emptyMessage: S,
27
27
  required: v,
28
- disableRequiredAsterisk: j,
29
- labelExtra: A,
30
- infoTooltip: C,
31
- collisionPadding: F
32
- } = D, y = S ?? g.select.placeholder, q = W ?? g.select.noOptions, N = U(), E = x ? `${N}-label` : void 0, P = b ? `${N}-hint` : void 0, M = k(() => new Map(a.map((e) => [e.value, e.label])), [a]), V = k(() => {
28
+ disableRequiredAsterisk: W,
29
+ labelExtra: j,
30
+ infoTooltip: A,
31
+ collisionPadding: C
32
+ } = z, y = O ?? g.select.placeholder, F = S ?? g.select.noOptions, N = U(), q = x ? `${N}-label` : void 0, E = b ? `${N}-hint` : void 0, M = T(() => new Map(a.map((e) => [e.value, e.label])), [a]), P = T(() => {
33
33
  const e = r && r.map((n) => M.get(n));
34
34
  return e != null && e.length ? e.length <= c ? /* @__PURE__ */ t(
35
- z,
35
+ k,
36
36
  {
37
37
  gap: "xs",
38
38
  justify: "start",
@@ -42,7 +42,7 @@ const ne = L(
42
42
  children: e.map((n, i) => /* @__PURE__ */ t(f, { variant: "info", className: "min-w-[50px] shrink-1", children: n }, i))
43
43
  }
44
44
  ) : /* @__PURE__ */ t(
45
- z,
45
+ k,
46
46
  {
47
47
  gap: "xs",
48
48
  justify: "start",
@@ -75,7 +75,7 @@ const ne = L(
75
75
  children: y
76
76
  }
77
77
  );
78
- }, [r, y, c, M]), [R, $] = u.useState(!1), [T, _] = u.useState(0), m = u.useRef(!1), B = G(null), l = (typeof h == "function" ? null : h) ?? B;
78
+ }, [r, y, c, M]), [V, $] = u.useState(!1), [R, _] = u.useState(0), m = u.useRef(!1), B = G(null), l = (typeof h == "function" ? null : h) ?? B;
79
79
  return H(() => {
80
80
  const e = () => {
81
81
  l.current && _(l.current.offsetWidth);
@@ -86,25 +86,25 @@ const ne = L(
86
86
  n.disconnect();
87
87
  };
88
88
  }, [l]), /* @__PURE__ */ t(
89
- Q,
89
+ ee,
90
90
  {
91
91
  label: x,
92
92
  hint: b,
93
93
  error: w,
94
94
  required: v,
95
- disableRequiredAsterisk: j,
96
- labelId: E,
97
- hintId: P,
98
- labelExtra: A,
99
- infoTooltip: C,
95
+ disableRequiredAsterisk: W,
96
+ labelId: q,
97
+ hintId: E,
98
+ labelExtra: j,
99
+ infoTooltip: A,
100
100
  children: /* @__PURE__ */ p(
101
- X,
101
+ Q,
102
102
  {
103
103
  onOpenChange: (e) => {
104
104
  $(e);
105
105
  },
106
106
  children: [
107
- /* @__PURE__ */ t(Y, { disabled: o, asChild: !0, children: /* @__PURE__ */ t(
107
+ /* @__PURE__ */ t(X, { disabled: o, asChild: !0, children: /* @__PURE__ */ t(
108
108
  "button",
109
109
  {
110
110
  ref: l,
@@ -113,10 +113,9 @@ const ne = L(
113
113
  tabIndex: 0,
114
114
  disabled: o,
115
115
  "aria-required": v,
116
- className: J({
117
- size: O,
116
+ className: re({
117
+ size: D,
118
118
  error: w,
119
- expanded: R,
120
119
  hasIcon: !!d || (r == null ? void 0 : r.length) === 0
121
120
  }),
122
121
  children: /* @__PURE__ */ p("div", { className: "flex min-w-0 flex-1 items-center gap-sm", children: [
@@ -127,13 +126,13 @@ const ne = L(
127
126
  children: d
128
127
  }
129
128
  ),
130
- V,
129
+ P,
131
130
  /* @__PURE__ */ t(
132
131
  te,
133
132
  {
134
- className: re(
133
+ className: K(
135
134
  "shrink-0 transition-transform duration-200",
136
- R ? "rotate-0" : "rotate-180",
135
+ V ? "rotate-0" : "rotate-180",
137
136
  o ? "text-comp-select-icon-disabled" : "text-comp-select-icon-brand-def"
138
137
  )
139
138
  }
@@ -142,16 +141,16 @@ const ne = L(
142
141
  }
143
142
  ) }),
144
143
  /* @__PURE__ */ t(
145
- Z,
144
+ Y,
146
145
  {
147
146
  className: "mt-1",
148
147
  style: {
149
- width: T > 0 ? `${T}px` : void 0
148
+ width: R > 0 ? `${R}px` : void 0
150
149
  },
151
150
  onCloseAutoFocus: (e) => {
152
151
  m.current || e.preventDefault(), m.current = !1;
153
152
  },
154
- collisionPadding: F,
153
+ collisionPadding: C,
155
154
  children: a.length === 0 ? /* @__PURE__ */ t("div", { className: "px-lg py-md", role: "presentation", children: /* @__PURE__ */ t(
156
155
  I,
157
156
  {
@@ -159,10 +158,10 @@ const ne = L(
159
158
  size: "input",
160
159
  weight: "regular",
161
160
  className: "text-comp-select-text-secondary",
162
- children: q
161
+ children: F
163
162
  }
164
163
  ) }) : a.map((e) => /* @__PURE__ */ t(
165
- ee,
164
+ Z,
166
165
  {
167
166
  checked: r == null ? void 0 : r.includes(e.value),
168
167
  disabled: e.disabled,
@@ -0,0 +1,4 @@
1
+ import { MultiSelect as l } from "./MultiSelect.js";
2
+ export {
3
+ l as MultiSelect
4
+ };
@@ -2,18 +2,18 @@ import { jsx as r, jsxs as p } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import "sonner";
4
4
  import { TranslationProvider as d } from "../../translations/TranslationContext.js";
5
- import { TooltipProvider as n } from "../Tooltip/Tooltip.js";
6
- import { ThemeProvider as a } from "./theme/ThemeProvider.js";
7
- import { ToastContainer as s } from "../Toast/ToastContainer.js";
5
+ import { ToastContainer as n } from "../Toast/ToastContainer.js";
6
+ import { TooltipProvider as a } from "../Tooltip/Tooltip.js";
7
+ import { ThemeProvider as s } from "./theme/ThemeProvider.js";
8
8
  const l = ({
9
9
  children: o,
10
10
  tooltipConfig: i = {},
11
11
  toastConfig: e = {},
12
12
  translationConfig: m = {},
13
13
  color: t
14
- }) => /* @__PURE__ */ r(d, { ...m, children: /* @__PURE__ */ r(n, { ...i, children: /* @__PURE__ */ p(a, { color: t, children: [
14
+ }) => /* @__PURE__ */ r(d, { ...m, children: /* @__PURE__ */ r(a, { ...i, children: /* @__PURE__ */ p(s, { color: t, children: [
15
15
  o,
16
- /* @__PURE__ */ r(s, { ...e })
16
+ /* @__PURE__ */ r(n, { ...e })
17
17
  ] }) }) });
18
18
  l.displayName = "MuzaUIProvider";
19
19
  export {
@@ -0,0 +1,13 @@
1
+ import { MuzaUIProvider as o } from "./MuzaUIProvider.js";
2
+ import { useTheme as m } from "./theme/ThemeProvider.js";
3
+ import { setThemeVariables as a } from "./theme/setThemeVariables.js";
4
+ import { themePresets as h } from "./theme/themePresets.js";
5
+ import { formatShadesAsObject as x, generateColorShades as d } from "./theme/colorShades.js";
6
+ export {
7
+ o as MuzaUIProvider,
8
+ x as formatShadesAsObject,
9
+ d as generateColorShades,
10
+ a as setThemeVariables,
11
+ h as themePresets,
12
+ m as useTheme
13
+ };
@@ -1,11 +1,11 @@
1
1
  import { jsx as r, jsxs as a } from "react/jsx-runtime";
2
2
  import { useState as f } from "react";
3
- import { useTheme as D } from "./ThemeProvider.js";
4
- import { themePresets as u } from "./themePresets.js";
5
- import { Dialog as I, DialogOverlay as M, DialogContent as H } from "../../Dialog/Dialog.js";
6
3
  import { Button as s } from "../../Button/Button.js";
7
- import { DropdownMenu as v, DropdownMenuTrigger as N, DropdownMenuContent as b, DropdownMenuItem as p } from "../../DropdownMenu/DropdownMenu.js";
8
- import { Input as R } from "../../Input/Input.js";
4
+ import { Dialog as D, DialogOverlay as I, DialogContent as M } from "../../Dialog/Dialog.js";
5
+ import { DropdownMenu as u, DropdownMenuTrigger as v, DropdownMenuContent as N, DropdownMenuItem as p } from "../../DropdownMenu/DropdownMenu.js";
6
+ import { Input as H } from "../../Input/Input.js";
7
+ import { useTheme as R } from "./ThemeProvider.js";
8
+ import { themePresets as b } from "./themePresets.js";
9
9
  const z = ({
10
10
  isOpen: C,
11
11
  onClose: o
@@ -16,7 +16,7 @@ const z = ({
16
16
  setShadesFromHex: c,
17
17
  setShadesFromPreset: S,
18
18
  setShadesGenerator: k
19
- } = D(), n = () => {
19
+ } = R(), n = () => {
20
20
  o == null || o();
21
21
  }, [i, d] = f(t[500]), [m, y] = f(""), P = (e) => {
22
22
  if (d(e), /^#?([A-Fa-f0-9]{6})$/.test(e)) {
@@ -27,7 +27,7 @@ const z = ({
27
27
  c(e), d(e);
28
28
  }, G = (e) => {
29
29
  S(e);
30
- const l = u[e]["--brand-primary"];
30
+ const l = b[e]["--brand-primary"];
31
31
  l && d(l);
32
32
  }, x = (e) => {
33
33
  k(e), c(i);
@@ -36,14 +36,14 @@ const z = ({
36
36
  preserve500: "Preserve 500"
37
37
  };
38
38
  return /* @__PURE__ */ r(
39
- I,
39
+ D,
40
40
  {
41
41
  open: C,
42
42
  onOpenChange: (e) => {
43
43
  e === !1 && n();
44
44
  },
45
- children: /* @__PURE__ */ r(M, { className: "bg-transparent", children: /* @__PURE__ */ a(
46
- H,
45
+ children: /* @__PURE__ */ r(I, { className: "bg-transparent", children: /* @__PURE__ */ a(
46
+ M,
47
47
  {
48
48
  size: "large",
49
49
  className: "space-y-6",
@@ -51,9 +51,9 @@ const z = ({
51
51
  children: [
52
52
  /* @__PURE__ */ a("div", { className: "flex flex-col gap-2", children: [
53
53
  /* @__PURE__ */ r("label", { className: "text-sm font-medium text-gray-700", children: "Generator Algorithm" }),
54
- /* @__PURE__ */ a(v, { children: [
55
- /* @__PURE__ */ r(N, { asChild: !0, children: /* @__PURE__ */ r(s, { variant: "secondary", className: "w-max", children: h[w] }) }),
56
- /* @__PURE__ */ a(b, { className: "w-full", children: [
54
+ /* @__PURE__ */ a(u, { children: [
55
+ /* @__PURE__ */ r(v, { asChild: !0, children: /* @__PURE__ */ r(s, { variant: "secondary", className: "w-max", children: h[w] }) }),
56
+ /* @__PURE__ */ a(N, { className: "w-full", children: [
57
57
  /* @__PURE__ */ r(
58
58
  p,
59
59
  {
@@ -88,7 +88,7 @@ const z = ({
88
88
  /* @__PURE__ */ a("div", { className: "flex flex-1 flex-col gap-2", children: [
89
89
  /* @__PURE__ */ r("label", { className: "text-sm font-medium text-gray-700", children: "Hex Code" }),
90
90
  /* @__PURE__ */ r(
91
- R,
91
+ H,
92
92
  {
93
93
  value: i,
94
94
  onChange: (e) => P(e.target.value),
@@ -100,9 +100,9 @@ const z = ({
100
100
  ] }),
101
101
  /* @__PURE__ */ a("div", { className: "flex flex-col gap-2", children: [
102
102
  /* @__PURE__ */ r("label", { className: "text-sm font-medium text-gray-700", children: "Presets" }),
103
- /* @__PURE__ */ a(v, { children: [
104
- /* @__PURE__ */ r(N, { asChild: !0, children: /* @__PURE__ */ r(s, { variant: "secondary", className: "h-12", children: "Select Preset" }) }),
105
- /* @__PURE__ */ r(b, { children: Object.keys(u).map(
103
+ /* @__PURE__ */ a(u, { children: [
104
+ /* @__PURE__ */ r(v, { asChild: !0, children: /* @__PURE__ */ r(s, { variant: "secondary", className: "h-12", children: "Select Preset" }) }),
105
+ /* @__PURE__ */ r(N, { children: Object.keys(b).map(
106
106
  (e) => /* @__PURE__ */ r(
107
107
  p,
108
108
  {
@@ -1,15 +1,15 @@
1
1
  import { jsx as e, jsxs as r, Fragment as D } from "react/jsx-runtime";
2
2
  import * as w from "react";
3
3
  import { cva as z } from "class-variance-authority";
4
- import { HeartButton as Q } from "../HeartButton/HeartButton.js";
5
- import { Rating as U } from "../Rating/Rating.js";
6
4
  import { cn as s } from "../../utils/cn.js";
7
- import { Typography as n } from "../Typography/Typography.js";
8
- import { disabledLinkProps as X } from "../../utils/disabledLinkProps.js";
9
- import { Tag as Z } from "../Tag/Tag.js";
5
+ import { disabledLinkProps as Q } from "../../utils/disabledLinkProps.js";
6
+ import { DotDivider as U } from "../DotDivider/DotDivider.js";
10
7
  import { Flex as f } from "../Flex/Flex.js";
11
- import { DotDivider as ee } from "../DotDivider/DotDivider.js";
8
+ import { HeartButton as X } from "../HeartButton/HeartButton.js";
9
+ import { Rating as Z } from "../Rating/Rating.js";
12
10
  import { Skeleton as o } from "../Skeleton/Skeleton.js";
11
+ import { Tag as ee } from "../Tag/Tag.js";
12
+ import { Typography as n } from "../Typography/Typography.js";
13
13
  const ae = z(
14
14
  "group relative inline-flex border border-solid transition-colors focus-visible:outline-none data-[disabled=true]:pointer-events-none",
15
15
  {
@@ -54,7 +54,7 @@ const ae = z(
54
54
  },
55
55
  defaultVariants: { variant: "compact" }
56
56
  }), k = ({ rating: c, ratingCount: a, disabled: t }) => /* @__PURE__ */ r(f, { align: "center", gap: "2xs", children: [
57
- /* @__PURE__ */ e(U, { value: c, allowHalf: !0, disabled: t }),
57
+ /* @__PURE__ */ e(Z, { value: c, allowHalf: !0, disabled: t }),
58
58
  a != null && /* @__PURE__ */ r(
59
59
  n,
60
60
  {
@@ -242,11 +242,11 @@ const L = w.forwardRef(
242
242
  v,
243
243
  {
244
244
  className: s(A, v.props.className),
245
- ...d ? X : null
245
+ ...d ? Q : null
246
246
  },
247
247
  F
248
248
  ) : /* @__PURE__ */ e("a", { href: d ? void 0 : $, className: A, children: F }), Y = P && /* @__PURE__ */ e(
249
- Q,
249
+ X,
250
250
  {
251
251
  active: B,
252
252
  defaultActive: O,
@@ -275,7 +275,7 @@ const L = w.forwardRef(
275
275
  ),
276
276
  /* @__PURE__ */ r("div", { className: "absolute top-comp-offer-card-compact-p-img right-comp-offer-card-compact-p-img left-comp-offer-card-compact-p-img flex items-start justify-between gap-sm", children: [
277
277
  C ? /* @__PURE__ */ e(
278
- Z,
278
+ ee,
279
279
  {
280
280
  variant: "invert",
281
281
  className: "min-w-[50px] shrink overflow-hidden",
@@ -374,7 +374,7 @@ const L = w.forwardRef(
374
374
  children: u
375
375
  }
376
376
  ),
377
- u && x && /* @__PURE__ */ e(ee, {}),
377
+ u && x && /* @__PURE__ */ e(U, {}),
378
378
  x && /* @__PURE__ */ e(
379
379
  k,
380
380
  {
@@ -0,0 +1,7 @@
1
+ import { OfferCard as f, offerCardDescriptionVariants as e, offerCardTitleVariants as i, offerCardVariants as o } from "./OfferCard.js";
2
+ export {
3
+ f as OfferCard,
4
+ e as offerCardDescriptionVariants,
5
+ i as offerCardTitleVariants,
6
+ o as offerCardVariants
7
+ };
@@ -0,0 +1,5 @@
1
+ import { PageContainer as n, pageContainerVariants as r } from "./PageContainer.js";
2
+ export {
3
+ n as PageContainer,
4
+ r as pageContainerVariants
5
+ };
@@ -2,10 +2,10 @@ import { jsxs as l, jsx as n } from "react/jsx-runtime";
2
2
  import * as X from "react";
3
3
  import { useState as S, useCallback as b, useEffect as Y } from "react";
4
4
  import { useMuzaTranslations as C } from "../../translations/TranslationContext.js";
5
- import { Select as aa } from "../Select/Select.js";
6
- import { Flex as p } from "../Flex/Flex.js";
7
5
  import { ButtonArrow as z } from "../ButtonArrow/ButtonArrow.js";
8
- import { Input as ea } from "../Input/Input.js";
6
+ import { Flex as p } from "../Flex/Flex.js";
7
+ import { Input as aa } from "../Input/Input.js";
8
+ import { Select as ea } from "../Select/Select.js";
9
9
  import { Typography as v } from "../Typography/Typography.js";
10
10
  const ta = [
11
11
  { value: "10", label: "10" },
@@ -91,7 +91,7 @@ const ta = [
91
91
  "aria-label": `${L}: ${a} ${h} ${e}`,
92
92
  children: [
93
93
  /* @__PURE__ */ n(
94
- ea,
94
+ aa,
95
95
  {
96
96
  value: u,
97
97
  size: "xs",
@@ -189,7 +189,7 @@ const ta = [
189
189
  }
190
190
  ),
191
191
  /* @__PURE__ */ n(
192
- aa,
192
+ ea,
193
193
  {
194
194
  value: d.toString(),
195
195
  onChange: Q,
@@ -0,0 +1,4 @@
1
+ import { Pagination as i } from "./Pagination.js";
2
+ export {
3
+ i as Pagination
4
+ };
@@ -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
+ };