@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
@@ -2,13 +2,13 @@ import { jsxs as n, jsx as a, Fragment as ne } from "react/jsx-runtime";
2
2
  import * as v from "react";
3
3
  import { cva as O } from "class-variance-authority";
4
4
  import { useDropzone as me } from "react-dropzone";
5
- import { FileItem as Y } from "./FileItem.js";
6
5
  import { useMuzaTranslations as ge } from "../../translations/TranslationContext.js";
7
- import { FormField as xe } from "../FormField/FormField.js";
6
+ import { cn as Y } from "../../utils/cn.js";
8
7
  import { Flex as Z } from "../Flex/Flex.js";
9
- import { cn as q } from "../../utils/cn.js";
8
+ import { FormField as xe } from "../FormField/FormField.js";
10
9
  import { CloudUploadOutline as he } from "@solar-icons/react-perf";
11
10
  import { Typography as M } from "../Typography/Typography.js";
11
+ import { FileItem as q } from "./FileItem.js";
12
12
  const be = O(
13
13
  [
14
14
  "group relative cursor-pointer rounded-xl border-1 border-dashed transition-colors",
@@ -159,7 +159,7 @@ const be = O(
159
159
  {
160
160
  ref: ie,
161
161
  tabIndex: p ? void 0 : 0,
162
- className: q(
162
+ className: Y(
163
163
  be({
164
164
  error: te || J || L,
165
165
  disabled: p,
@@ -186,7 +186,7 @@ const be = O(
186
186
  size: "sm",
187
187
  component: "p",
188
188
  weight: "regular",
189
- className: q(
189
+ className: Y(
190
190
  ve({
191
191
  disabled: p,
192
192
  className: P
@@ -226,7 +226,7 @@ const be = O(
226
226
  ),
227
227
  (x.length > 0 || h.length > 0) && /* @__PURE__ */ n(Z, { component: "ul", direction: "column", gap: "md", children: [
228
228
  x.map((e, s) => /* @__PURE__ */ a(
229
- Y,
229
+ q,
230
230
  {
231
231
  source: "url",
232
232
  url: e.url,
@@ -245,7 +245,7 @@ const be = O(
245
245
  h.map((e, s) => {
246
246
  const t = oe[s], c = t == null ? void 0 : t.uploaded;
247
247
  return g && !c ? null : /* @__PURE__ */ a(
248
- Y,
248
+ q,
249
249
  {
250
250
  source: "file",
251
251
  file: e,
@@ -0,0 +1,4 @@
1
+ import { FileUpload as l } from "./FileUpload.js";
2
+ export {
3
+ l as FileUpload
4
+ };
@@ -1,7 +1,7 @@
1
1
  import * as e from "react";
2
2
  import { cva as d } from "class-variance-authority";
3
- import { spacingVariantDefinitions as v, getSpacingVariants as j } from "../../utils/spacing.js";
4
- import { cn as g } from "../../utils/cn.js";
3
+ import { cn as v } from "../../utils/cn.js";
4
+ import { spacingVariantDefinitions as j, getSpacingVariants as g } from "../../utils/spacing.js";
5
5
  const V = {
6
6
  direction: {
7
7
  row: "flex-row",
@@ -36,7 +36,7 @@ const V = {
36
36
  initial: "flex-initial",
37
37
  none: "flex-none"
38
38
  },
39
- ...v
39
+ ...j
40
40
  }, h = {
41
41
  direction: "row",
42
42
  wrap: "nowrap",
@@ -61,12 +61,12 @@ const V = {
61
61
  component: m = "div",
62
62
  ...p
63
63
  }, x) => {
64
- const w = m ?? "div", y = j({ gap: f, padding: c, margin: u });
64
+ const w = m ?? "div", y = g({ gap: f, padding: c, margin: u });
65
65
  return e.createElement(
66
66
  w,
67
67
  {
68
68
  ref: x,
69
- className: g(
69
+ className: v(
70
70
  b({
71
71
  direction: n,
72
72
  wrap: s,
@@ -0,0 +1,7 @@
1
+ import { Flex as t, flexLayoutDefaults as f, flexLayoutVariants as l, flexVariants as x } from "./Flex.js";
2
+ export {
3
+ t as Flex,
4
+ f as flexLayoutDefaults,
5
+ l as flexLayoutVariants,
6
+ x as flexVariants
7
+ };
@@ -1,10 +1,10 @@
1
1
  import { jsxs as e, jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as N } from "react";
3
- import { InputHint as g } from "./InputHint.js";
3
+ import { cn as g } from "../../utils/cn.js";
4
+ import { InfoCircleBold as j } from "@solar-icons/react-perf";
5
+ import { Tooltip as C, TooltipTrigger as F, TooltipContent as T } from "../Tooltip/Tooltip.js";
6
+ import { InputHint as w } from "./InputHint.js";
4
7
  import { InputLabel as s } from "./InputLabel.js";
5
- import { Tooltip as j, TooltipTrigger as C, TooltipContent as F } from "../Tooltip/Tooltip.js";
6
- import { cn as T } from "../../utils/cn.js";
7
- import { InfoCircleBold as w } from "@solar-icons/react-perf";
8
8
  const y = N(
9
9
  ({
10
10
  children: l,
@@ -21,15 +21,15 @@ const y = N(
21
21
  labelRight: i,
22
22
  className: v
23
23
  }, u) => {
24
- const f = h ?? (d ? /* @__PURE__ */ e(j, { children: [
25
- /* @__PURE__ */ o(C, { asChild: !0, children: /* @__PURE__ */ o(w, { className: "cursor-help text-comp-info-ico-def hover:text-comp-info-ico-hover" }) }),
26
- /* @__PURE__ */ o(F, { children: d })
24
+ const f = h ?? (d ? /* @__PURE__ */ e(C, { children: [
25
+ /* @__PURE__ */ o(F, { asChild: !0, children: /* @__PURE__ */ o(j, { className: "cursor-help text-comp-info-ico-def hover:text-comp-info-ico-hover" }) }),
26
+ /* @__PURE__ */ o(T, { children: d })
27
27
  ] }) : void 0);
28
28
  return /* @__PURE__ */ e(
29
29
  "div",
30
30
  {
31
31
  ref: u,
32
- className: T("flex flex-col gap-comp-input-gap", v),
32
+ className: g("flex flex-col gap-comp-input-gap", v),
33
33
  children: [
34
34
  (r || i) && (f || i ? /* @__PURE__ */ e("div", { className: "flex items-center justify-between", children: [
35
35
  /* @__PURE__ */ e("div", { className: "flex items-center gap-2xs", children: [
@@ -57,7 +57,7 @@ const y = N(
57
57
  }
58
58
  )),
59
59
  l,
60
- c && /* @__PURE__ */ o(g, { error: a, id: x, children: c })
60
+ c && /* @__PURE__ */ o(w, { error: a, id: x, children: c })
61
61
  ]
62
62
  }
63
63
  );
@@ -1,18 +1,18 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { Typography as m } from "../Typography/Typography.js";
3
- import { cn as n } from "../../utils/cn.js";
2
+ import { cn as m } from "../../utils/cn.js";
3
+ import { Typography as n } from "../Typography/Typography.js";
4
4
  const a = ({
5
5
  children: t,
6
6
  error: o,
7
7
  id: r,
8
8
  className: p
9
9
  }) => /* @__PURE__ */ e(
10
- m,
10
+ n,
11
11
  {
12
12
  component: "span",
13
13
  size: "sm",
14
14
  weight: "regular",
15
- className: n(
15
+ className: m(
16
16
  "text-comp-input-text-secondary",
17
17
  { "text-comp-input-text-error": o },
18
18
  p
@@ -0,0 +1,8 @@
1
+ import { FormField as t } from "./FormField.js";
2
+ import { InputLabel as p } from "./InputLabel.js";
3
+ import { InputHint as f } from "./InputHint.js";
4
+ export {
5
+ t as FormField,
6
+ f as InputHint,
7
+ p as InputLabel
8
+ };
@@ -0,0 +1,5 @@
1
+ import { HeartButton as a, heartButtonVariants as o } from "./HeartButton.js";
2
+ export {
3
+ a as HeartButton,
4
+ o as heartButtonVariants
5
+ };
@@ -0,0 +1,65 @@
1
+ export * from "@solar-icons/react-perf";
2
+ import { ArrowsSorting as r, Barcode as t, BulletList as i, CZK as l, CheckMinus as n, Checked as g, Coins as u, Coins2Bold as d, Coins2Outline as s, Coins3 as C, Colour as c, CurlyBrace as y, CurlyBrace2 as B, Cutlery as p, DoubleArrowRight as M, EUR as L, EditorBold as k, EditorItalic as x, EditorStrikethrough as m, EmptyCircle as z, ExternalLink as E, EyeClosed as S, Facebook as P, Fingerprint as f, FlagCz as F, FlagEn as H, FlagSk as h, HalfStar as T, LayoutHorizontal as b, LayoutVertical as w, Linkedin as A, MagnifyingGlass as R, MenuDotsVertical as G, MuzaIcon as I, NumberList as V, Plus as D, RemoveTextFormat as K, Reorder as X, SKMap as v, Scan as N, Spinner as O, TextH1 as U, TextH2 as Y, TextH3 as Z, XClose as j, XTwitter as q, Youtube as J } from "./CustomIcons.js";
3
+ import { LogoMuza as W, LogoMuzaIn as _, LogoMuzaMarket as $, LogoMuzaPay as oo, LogoMuzaPayPokladna as eo } from "./CustomLogos.js";
4
+ import { AppStoreBadge as ro, ApplePayBadge as to, GooglePayBadge as io, GooglePlayBadge as lo, HuaweiBadge as no, MastercardBadge as go, VisaBadge as uo } from "./CustomBadges.js";
5
+ export {
6
+ ro as AppStoreBadge,
7
+ to as ApplePayBadge,
8
+ r as ArrowsSorting,
9
+ t as Barcode,
10
+ i as BulletList,
11
+ l as CZK,
12
+ n as CheckMinus,
13
+ g as Checked,
14
+ u as Coins,
15
+ d as Coins2Bold,
16
+ s as Coins2Outline,
17
+ C as Coins3,
18
+ c as Colour,
19
+ y as CurlyBrace,
20
+ B as CurlyBrace2,
21
+ p as Cutlery,
22
+ M as DoubleArrowRight,
23
+ L as EUR,
24
+ k as EditorBold,
25
+ x as EditorItalic,
26
+ m as EditorStrikethrough,
27
+ z as EmptyCircle,
28
+ E as ExternalLink,
29
+ S as EyeClosed,
30
+ P as Facebook,
31
+ f as Fingerprint,
32
+ F as FlagCz,
33
+ H as FlagEn,
34
+ h as FlagSk,
35
+ io as GooglePayBadge,
36
+ lo as GooglePlayBadge,
37
+ T as HalfStar,
38
+ no as HuaweiBadge,
39
+ b as LayoutHorizontal,
40
+ w as LayoutVertical,
41
+ A as Linkedin,
42
+ W as LogoMuza,
43
+ _ as LogoMuzaIn,
44
+ $ as LogoMuzaMarket,
45
+ oo as LogoMuzaPay,
46
+ eo as LogoMuzaPayPokladna,
47
+ R as MagnifyingGlass,
48
+ go as MastercardBadge,
49
+ G as MenuDotsVertical,
50
+ I as MuzaIcon,
51
+ V as NumberList,
52
+ D as Plus,
53
+ K as RemoveTextFormat,
54
+ X as Reorder,
55
+ v as SKMap,
56
+ N as Scan,
57
+ O as Spinner,
58
+ U as TextH1,
59
+ Y as TextH2,
60
+ Z as TextH3,
61
+ uo as VisaBadge,
62
+ j as XClose,
63
+ q as XTwitter,
64
+ J as Youtube
65
+ };
@@ -0,0 +1,45 @@
1
+ import { jsxs as s, jsx as r } from "react/jsx-runtime";
2
+ import "react";
3
+ import { cva as n } from "class-variance-authority";
4
+ import { cn as m } from "../../utils/cn.js";
5
+ const f = n("flex flex-col rounded-lg border p-4", {
6
+ variants: {
7
+ variant: {
8
+ default: "bg-color-surface-base-primary border-stroke-base-primary text-text-dark-primary-def",
9
+ highlighted: "border-purple-300 bg-purple-100 text-purple-900",
10
+ warning: "border-yellow-300 bg-yellow-50"
11
+ },
12
+ size: {
13
+ sm: "gap-2 p-3",
14
+ md: "gap-3 p-4",
15
+ lg: "gap-4 p-6"
16
+ }
17
+ },
18
+ defaultVariants: { variant: "default", size: "md" }
19
+ }), g = ({
20
+ className: t,
21
+ variant: l,
22
+ size: i,
23
+ title: o,
24
+ description: e,
25
+ icon: a,
26
+ style: d,
27
+ ...p
28
+ }) => /* @__PURE__ */ s(
29
+ "div",
30
+ {
31
+ className: m(f({ variant: l, size: i, className: t })),
32
+ style: { minWidth: "200px", ...d },
33
+ ...p,
34
+ children: [
35
+ a && /* @__PURE__ */ r("div", { style: { marginBottom: "8px" }, children: a }),
36
+ /* @__PURE__ */ r("h3", { style: { fontSize: "16px", fontWeight: "bold" }, children: o }),
37
+ e && /* @__PURE__ */ r("p", { className: "text-sm text-gray-500", children: e })
38
+ ]
39
+ }
40
+ );
41
+ g.displayName = "InfoCard";
42
+ export {
43
+ g as InfoCard,
44
+ f as infoCardVariants
45
+ };
@@ -0,0 +1,5 @@
1
+ import { InfoCard as o, infoCardVariants as f } from "./InfoCard.js";
2
+ export {
3
+ o as InfoCard,
4
+ f as infoCardVariants
5
+ };
@@ -2,8 +2,8 @@ import { jsx as s, jsxs as z } from "react/jsx-runtime";
2
2
  import { forwardRef as A, useId as C, useRef as E, useEffect as y } from "react";
3
3
  import { cva as M } from "class-variance-authority";
4
4
  import { useIMask as P } from "react-imask";
5
- import { FormField as T } from "../FormField/FormField.js";
6
5
  import { cn as u } from "../../utils/cn.js";
6
+ import { FormField as T } from "../FormField/FormField.js";
7
7
  import { typographyVariants as U } from "../Typography/Typography.js";
8
8
  const Y = M(
9
9
  [
@@ -0,0 +1,4 @@
1
+ import { Input as r } from "./Input.js";
2
+ export {
3
+ r as Input
4
+ };
@@ -3,11 +3,11 @@ import { forwardRef as W, useId as j, useCallback as M } from "react";
3
3
  import { useControllableState as Y } from "@radix-ui/react-use-controllable-state";
4
4
  import { cva as w } from "class-variance-authority";
5
5
  import { OTPInput as X, REGEXP_ONLY_CHARS as Z, REGEXP_ONLY_DIGITS_AND_CHARS as $, REGEXP_ONLY_DIGITS as U } from "input-otp";
6
- import { useWebOtpAutofill as B } from "./useWebOtpAutofill.js";
7
- import { FormField as J } from "../FormField/FormField.js";
8
6
  import { cn as g } from "../../utils/cn.js";
9
- import { DotDivider as K } from "../DotDivider/DotDivider.js";
10
- import { typographyVariants as Q } from "../Typography/Typography.js";
7
+ import { DotDivider as B } from "../DotDivider/DotDivider.js";
8
+ import { FormField as J } from "../FormField/FormField.js";
9
+ import { typographyVariants as K } from "../Typography/Typography.js";
10
+ import { useWebOtpAutofill as Q } from "./useWebOtpAutofill.js";
11
11
  const q = {
12
12
  numeric: U,
13
13
  alphanumeric: $,
@@ -63,7 +63,7 @@ const q = {
63
63
  }
64
64
  }
65
65
  ), oe = g(
66
- Q({ size: "lg", weight: "medium", fixY: !0 }),
66
+ K({ size: "lg", weight: "medium", fixY: !0 }),
67
67
  "text-comp-input-text-primary"
68
68
  ), x = ({
69
69
  slot: e,
@@ -81,7 +81,7 @@ const q = {
81
81
  disabled: t
82
82
  }),
83
83
  children: [
84
- e.char !== null && (s ? /* @__PURE__ */ r(K, { className: "size-comp-inputotp-dot-size bg-comp-input-text-primary" }) : /* @__PURE__ */ r("span", { className: oe, children: e.char })),
84
+ e.char !== null && (s ? /* @__PURE__ */ r(B, { className: "size-comp-inputotp-dot-size bg-comp-input-text-primary" }) : /* @__PURE__ */ r("span", { className: oe, children: e.char })),
85
85
  e.hasFakeCaret && /* @__PURE__ */ r("div", { className: "pointer-events-none absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ r("div", { className: "h-2/3 w-px bg-comp-input-text-primary" }) })
86
86
  ]
87
87
  }
@@ -123,7 +123,7 @@ const ie = W(
123
123
  },
124
124
  [i, e, l]
125
125
  );
126
- return B({
126
+ return Q({
127
127
  enabled: N && !o,
128
128
  onReceive: F
129
129
  }), /* @__PURE__ */ r(
@@ -0,0 +1,7 @@
1
+ import { InputOTP as o, inputOTPCellVariants as p } from "./InputOTP.js";
2
+ import { useWebOtpAutofill as l } from "./useWebOtpAutofill.js";
3
+ export {
4
+ o as InputOTP,
5
+ p as inputOTPCellVariants,
6
+ l as useWebOtpAutofill
7
+ };
@@ -1,11 +1,11 @@
1
1
  import { jsxs as i, jsx as e, Fragment as b } from "react/jsx-runtime";
2
2
  import { useState as y, useEffect as z } from "react";
3
3
  import { cva as f } from "class-variance-authority";
4
- import { DropdownMenu as D, DropdownMenuTrigger as M, DropdownMenuContent as N, DropdownMenuRadioGroup as S, DropdownMenuRadioItem as A } from "../DropdownMenu/DropdownMenu.js";
5
- import { Button as I } from "../Button/Button.js";
6
4
  import { cn as v } from "../../utils/cn.js";
7
- import { Typography as g } from "../Typography/Typography.js";
5
+ import { Button as D } from "../Button/Button.js";
6
+ import { DropdownMenu as M, DropdownMenuTrigger as N, DropdownMenuContent as S, DropdownMenuRadioGroup as A, DropdownMenuRadioItem as I } from "../DropdownMenu/DropdownMenu.js";
8
7
  import { AltArrowDownOutline as T } from "@solar-icons/react-perf";
8
+ import { Typography as g } from "../Typography/Typography.js";
9
9
  const j = f(
10
10
  "group flex cursor-pointer items-center gap-sm focus-visible:focus-default disabled:pointer-events-none",
11
11
  {
@@ -64,9 +64,9 @@ const j = f(
64
64
  n && m(n);
65
65
  }, [n]);
66
66
  const t = a.find(({ value: r }) => r === d);
67
- return /* @__PURE__ */ i(D, { children: [
68
- /* @__PURE__ */ e(M, { asChild: !0, children: x ? /* @__PURE__ */ e(
69
- I,
67
+ return /* @__PURE__ */ i(M, { children: [
68
+ /* @__PURE__ */ e(N, { asChild: !0, children: x ? /* @__PURE__ */ e(
69
+ D,
70
70
  {
71
71
  variant: "tertiary",
72
72
  size: "sm",
@@ -113,14 +113,14 @@ const j = f(
113
113
  ]
114
114
  }
115
115
  ) }),
116
- /* @__PURE__ */ e(N, { className: "w-50", side: "top", align: "start", children: /* @__PURE__ */ e(
117
- S,
116
+ /* @__PURE__ */ e(S, { className: "w-50", side: "top", align: "start", children: /* @__PURE__ */ e(
117
+ A,
118
118
  {
119
119
  value: d,
120
120
  onValueChange: (r) => {
121
121
  m(r), o == null || o(r);
122
122
  },
123
- children: a.map(({ name: r, value: l, icon: u }) => /* @__PURE__ */ e(A, { value: l, children: /* @__PURE__ */ i("span", { className: "flex items-center gap-sm [&>svg]:size-icon-small", children: [
123
+ children: a.map(({ name: r, value: l, icon: u }) => /* @__PURE__ */ e(I, { value: l, children: /* @__PURE__ */ i("span", { className: "flex items-center gap-sm [&>svg]:size-icon-small", children: [
124
124
  u && u,
125
125
  r
126
126
  ] }) }, l))
@@ -0,0 +1,6 @@
1
+ import { LanguageSwitcher as e, languageSwitcherChevronVariants as g, languageSwitcherTriggerVariants as i } from "./LanguageSwitcher.js";
2
+ export {
3
+ e as LanguageSwitcher,
4
+ g as languageSwitcherChevronVariants,
5
+ i as languageSwitcherTriggerVariants
6
+ };
@@ -3,10 +3,10 @@ import { forwardRef as g, cloneElement as f, isValidElement as h } from "react";
3
3
  import { renderToStaticMarkup as l } from "react-dom/server";
4
4
  import { useGallery as y, Gallery as d, Item as x } from "react-photoswipe-gallery";
5
5
  import { Item as E } from "react-photoswipe-gallery";
6
- import { buttonVariants as m } from "../Button/buttonVariants.js";
7
6
  import "../Button/Button.js";
8
7
  import { ArrowLeftOutline as L, ArrowRightOutline as p } from "@solar-icons/react-perf";
9
8
  import { XClose as v } from "../Icons/CustomIcons.js";
9
+ import { buttonVariants as m } from "../Button/buttonVariants.js";
10
10
  const b = l(
11
11
  /* @__PURE__ */ t(
12
12
  "span",
@@ -0,0 +1,8 @@
1
+ import { Lightbox as e, LightboxGalleryOnlyImage as g, LightboxTrigger as r } from "./Lightbox.js";
2
+ import { Item as i } from "react-photoswipe-gallery";
3
+ export {
4
+ e as Lightbox,
5
+ g as LightboxGalleryOnlyImage,
6
+ i as LightboxItem,
7
+ r as LightboxTrigger
8
+ };
@@ -0,0 +1,4 @@
1
+ import { Loader as e } from "./Loader.js";
2
+ export {
3
+ e as Loader
4
+ };
@@ -1,9 +1,9 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
2
  import { AnimatePresence as f } from "framer-motion";
3
3
  import { useIsDesktop as h } from "../../hooks/use-is-desktop.js";
4
- import { LoginScreen3D as x } from "./LoginScreen3D/LoginScreen3D.js";
4
+ import { cn as x } from "../../utils/cn.js";
5
5
  import { LanguageSwitcher as p } from "../LanguageSwitcher/LanguageSwitcher.js";
6
- import { cn as v } from "../../utils/cn.js";
6
+ import { LoginScreen3D as v } from "./LoginScreen3D/LoginScreen3D.js";
7
7
  const _ = ({
8
8
  children: t,
9
9
  className: l,
@@ -19,7 +19,7 @@ const _ = ({
19
19
  return /* @__PURE__ */ r(
20
20
  "div",
21
21
  {
22
- className: v(
22
+ className: x(
23
23
  "grid size-full min-h-[100svh] grid-cols-2 bg-surface-base-tertiary",
24
24
  "max-lg:grid-cols-1",
25
25
  l
@@ -41,7 +41,7 @@ const _ = ({
41
41
  ] }),
42
42
  /* @__PURE__ */ e("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ e(f, { children: t }) })
43
43
  ] }),
44
- /* @__PURE__ */ e("div", { className: "p-md max-lg:hidden", children: a && /* @__PURE__ */ e(x, { modelPath: d }) })
44
+ /* @__PURE__ */ e("div", { className: "p-md max-lg:hidden", children: a && /* @__PURE__ */ e(v, { modelPath: d }) })
45
45
  ]
46
46
  }
47
47
  );
@@ -0,0 +1,8 @@
1
+ import { LoginScreen as r } from "./LoginScreen.js";
2
+ import { LoginScreenItem as m } from "./LoginScreenItem.js";
3
+ import { DEFAULT_LOGIN_GLB_PATH as t } from "./LoginScreen3D/LoginScreen3DModel.js";
4
+ export {
5
+ t as DEFAULT_LOGIN_GLB_PATH,
6
+ r as LoginScreen,
7
+ m as LoginScreenItem
8
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"MarketNav.examples.d.ts","sourceRoot":"","sources":["../../../src/components/MarketNav/MarketNav.examples.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAA;AAiD3D,mFAAmF;AACnF,MAAM,WAAW,YAAY;IAC3B,6DAA6D;IAC7D,KAAK,EAAE,MAAM,CAAA;IACb,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,uCAAuC;IACvC,IAAI,EAAE,SAAS,CAAA;IACf,kCAAkC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,sFAAsF;AACtF,MAAM,WAAW,OAAO;IACtB,sCAAsC;IACtC,KAAK,EAAE,MAAM,CAAA;IACb,wDAAwD;IACxD,KAAK,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB;AAED,gGAAgG;AAChG,MAAM,WAAW,aAAa;IAC5B,yBAAyB;IACzB,GAAG,EAAE,MAAM,CAAA;IACX,qBAAqB;IACrB,KAAK,EAAE,MAAM,CAAA;IACb,6BAA6B;IAC7B,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB;AAED,mDAAmD;AACnD,MAAM,WAAW,cAAc;IAC7B,kEAAkE;IAClE,UAAU,EAAE,YAAY,EAAE,CAAA;IAC1B,mEAAmE;IACnE,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,0DAA0D;IAC1D,QAAQ,EAAE,MAAM,CAAA;IAChB,oFAAoF;IACpF,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,+EAA+E;IAC/E,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,qDAAqD;IACrD,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC;AAID,eAAO,MAAM,UAAU,EAAE,YAAY,EAcpC,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,OAAO,EAAkD,CAAA;AAEhF,eAAO,MAAM,QAAQ,sBAAiB,CAAA;AAwUtC,eAAO,MAAM,SAAS,GAAI,6FAOvB,cAAc,4CA4fhB,CAAA"}
1
+ {"version":3,"file":"MarketNav.examples.d.ts","sourceRoot":"","sources":["../../../src/components/MarketNav/MarketNav.examples.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,KAAK,SAAS,EAAuB,MAAM,OAAO,CAAA;AAgD3D,mFAAmF;AACnF,MAAM,WAAW,YAAY;IAC3B,6DAA6D;IAC7D,KAAK,EAAE,MAAM,CAAA;IACb,8BAA8B;IAC9B,KAAK,EAAE,MAAM,CAAA;IACb,uCAAuC;IACvC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