@vkzstudio/muza-ui 1.8.0 → 1.9.1

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 (66) hide show
  1. package/dist/components/Breadcrumb/Breadcrumb.d.ts +146 -4
  2. package/dist/components/Breadcrumb/Breadcrumb.d.ts.map +1 -1
  3. package/dist/components/Breadcrumb/Breadcrumb.js +241 -84
  4. package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts +4 -0
  5. package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -1
  6. package/dist/components/Breadcrumb/index.js +10 -7
  7. package/dist/components/Card/Card.d.ts +36 -27
  8. package/dist/components/Card/Card.d.ts.map +1 -1
  9. package/dist/components/Card/Card.js +41 -40
  10. package/dist/components/Carousel/Carousel.d.ts +16 -0
  11. package/dist/components/Carousel/Carousel.d.ts.map +1 -1
  12. package/dist/components/Carousel/Carousel.js +56 -55
  13. package/dist/components/CarouselSection/CarouselSection.examples.d.ts +15 -6
  14. package/dist/components/CarouselSection/CarouselSection.examples.d.ts.map +1 -1
  15. package/dist/components/CarouselSection/CarouselSection.stories.d.ts +2 -0
  16. package/dist/components/CarouselSection/CarouselSection.stories.d.ts.map +1 -1
  17. package/dist/components/CategoryIcon/CategoryIcon.d.ts.map +1 -1
  18. package/dist/components/CategoryIcon/CategoryIcon.js +25 -23
  19. package/dist/components/ExpandableTable/ExpandableTable.d.ts +1 -1
  20. package/dist/components/ExpandableTable/ExpandableTable.d.ts.map +1 -1
  21. package/dist/components/Flex/Flex.d.ts +42 -25
  22. package/dist/components/Flex/Flex.d.ts.map +1 -1
  23. package/dist/components/Flex/Flex.js +52 -53
  24. package/dist/components/FormField/FormField.js +16 -16
  25. package/dist/components/FormField/InputLabel.d.ts.map +1 -1
  26. package/dist/components/FormField/InputLabel.js +35 -25
  27. package/dist/components/Input/Input.stories.d.ts +1 -0
  28. package/dist/components/Input/Input.stories.d.ts.map +1 -1
  29. package/dist/components/OfferCard/OfferCard.d.ts +19 -5
  30. package/dist/components/OfferCard/OfferCard.d.ts.map +1 -1
  31. package/dist/components/OfferCard/OfferCard.js +181 -150
  32. package/dist/components/OfferCard/OfferCard.stories.d.ts +1 -0
  33. package/dist/components/OfferCard/OfferCard.stories.d.ts.map +1 -1
  34. package/dist/components/ResponsiveLayoutTable/ResponsiveLayoutTable.d.ts +1 -1
  35. package/dist/components/ResponsiveLayoutTable/ResponsiveLayoutTable.d.ts.map +1 -1
  36. package/dist/components/internal/CardCompactShell.d.ts +7 -1
  37. package/dist/components/internal/CardCompactShell.d.ts.map +1 -1
  38. package/dist/components/internal/CardCompactShell.js +57 -51
  39. package/dist/components/internal/CardImageSlot.d.ts.map +1 -1
  40. package/dist/components/internal/CardImageSlot.js +36 -37
  41. package/dist/hooks/use-is-breakpoint.d.ts +1 -4
  42. package/dist/hooks/use-is-breakpoint.d.ts.map +1 -1
  43. package/dist/index.js +448 -437
  44. package/dist/muza-ui.css +1 -1
  45. package/dist/styles/breakpoints.css +1 -0
  46. package/dist/translations/locales/cs.d.ts.map +1 -1
  47. package/dist/translations/locales/cs.js +3 -0
  48. package/dist/translations/locales/en.d.ts.map +1 -1
  49. package/dist/translations/locales/en.js +3 -0
  50. package/dist/translations/locales/sk.d.ts.map +1 -1
  51. package/dist/translations/locales/sk.js +3 -0
  52. package/dist/translations/types.d.ts +8 -0
  53. package/dist/translations/types.d.ts.map +1 -1
  54. package/dist/utils/breakpoints.d.ts +43 -0
  55. package/dist/utils/breakpoints.d.ts.map +1 -0
  56. package/dist/utils/breakpoints.js +65 -0
  57. package/dist/utils/index.d.ts +3 -0
  58. package/dist/utils/index.d.ts.map +1 -1
  59. package/dist/utils/index.js +19 -11
  60. package/dist/utils/polymorphic.d.ts +44 -0
  61. package/dist/utils/polymorphic.d.ts.map +1 -0
  62. package/dist/utils/polymorphic.js +7 -0
  63. package/dist/utils/warnOnce.d.ts +37 -0
  64. package/dist/utils/warnOnce.d.ts.map +1 -0
  65. package/dist/utils/warnOnce.js +6 -0
  66. package/package.json +1 -1
@@ -1,24 +1,23 @@
1
- import { FlexProps } from '../Flex/Flex';
2
- import * as React from 'react';
1
+ import { FlexOwnProps, FlexProps } from '../Flex/Flex';
3
2
  declare const cardVariants: (props?: ({
4
3
  variant?: "default" | "market" | "checkout" | null | undefined;
5
- gap?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
6
- gapX?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
7
- gapY?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
8
- p?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
9
- px?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
10
- py?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
11
- pt?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
12
- pr?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
13
- pb?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
14
- pl?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
15
- m?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
16
- mx?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
17
- my?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
18
- mt?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
19
- mr?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
20
- mb?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
21
- ml?: "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
4
+ gap?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
5
+ gapX?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
6
+ gapY?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
7
+ p?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
8
+ px?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
9
+ py?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
10
+ pt?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
11
+ pr?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
12
+ pb?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
13
+ pl?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
14
+ m?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
15
+ mx?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
16
+ my?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
17
+ mt?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
18
+ mr?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
19
+ mb?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
20
+ ml?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "none" | "2xs" | "3xs" | "4xl" | "5xl" | "6xl" | "7xl" | "8xl" | "9xl" | "10xl" | null | undefined;
22
21
  direction?: "row" | "column" | "row-reverse" | "column-reverse" | null | undefined;
23
22
  wrap?: "wrap" | "nowrap" | "wrap-reverse" | null | undefined;
24
23
  justify?: "end" | "start" | "center" | "stretch" | "between" | "around" | "evenly" | null | undefined;
@@ -26,14 +25,11 @@ declare const cardVariants: (props?: ({
26
25
  flex?: 1 | "none" | "auto" | "initial" | null | undefined;
27
26
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
28
27
  /**
29
- * Props for the Card component.
30
- *
31
- * Extends `FlexProps` so the card surface exposes the same layout API as
32
- * `Flex` (direction, alignment, gap, padding, margin, polymorphic
33
- * `component`). Adds a visual `variant` for the Figma-defined card styles
34
- * and an `asChild` escape hatch for polymorphic rendering via Radix Slot.
28
+ * Card's own props on top of the `Flex` layout API: a visual `variant` for
29
+ * the Figma-defined card styles and an `asChild` escape hatch for polymorphic
30
+ * rendering via Radix Slot.
35
31
  */
36
- export interface CardProps extends FlexProps, Omit<React.HTMLAttributes<HTMLElement>, 'color'> {
32
+ export interface CardOwnProps {
37
33
  /**
38
34
  * Visual style variant.
39
35
  *
@@ -58,6 +54,19 @@ export interface CardProps extends FlexProps, Omit<React.HTMLAttributes<HTMLElem
58
54
  */
59
55
  asChild?: boolean;
60
56
  }
61
- declare const Card: React.ForwardRefExoticComponent<CardProps & React.RefAttributes<HTMLElement>>;
57
+ /**
58
+ * Props for the Card component.
59
+ *
60
+ * Extends `FlexProps` so the card surface exposes the same layout API as
61
+ * `Flex` (direction, alignment, gap, padding, margin, `component`) and the
62
+ * same standard HTML attributes. As with `Flex`, naming a `component` at the
63
+ * call site brings that tag's own attributes and element type.
64
+ *
65
+ * @example
66
+ * <Card component="section" aria-labelledby="heading" variant="market" />
67
+ */
68
+ export interface CardProps extends FlexProps, CardOwnProps {
69
+ }
70
+ declare const Card: import('../../utils').PolymorphicComponent<FlexOwnProps & CardOwnProps, CardProps>;
62
71
  export { Card, cardVariants };
63
72
  //# sourceMappingURL=Card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAK9B,OAAO,EACL,KAAK,SAAS,EAGf,MAAM,cAAc,CAAA;AAErB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;8EAiBhB,CAAA;AAEF;;;;;;;GAOG;AACH,MAAM,WAAW,SACf,SAAQ,SAAS,EACf,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC;IAClD;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAA;IAC3C;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,IAAI,+EA+CT,CAAA;AAGD,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,CAAA"}
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../src/components/Card/Card.tsx"],"names":[],"mappings":"AAMA,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,SAAS,EAGf,MAAM,cAAc,CAAA;AAErB,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;8EAiBhB,CAAA;AAEF;;;;GAIG;AACH,MAAM,WAAW,YAAY;IAC3B;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAA;IAC3C;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED;;;;;;;;;;GAUG;AACH,MAAM,WAAW,SAAU,SAAQ,SAAS,EAAE,YAAY;CAAG;AAE7D,QAAA,MAAM,IAAI,gFA+CT,CAAA;AAID,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,CAAA"}
@@ -1,12 +1,13 @@
1
- import * as r from "react";
1
+ import * as v from "react";
2
2
  import { Slot as g } from "@radix-ui/react-slot";
3
3
  import { cva as x } from "class-variance-authority";
4
4
  import { cn as y } from "../../utils/cn.js";
5
5
  import { getSpacingVariants as V } from "../../utils/spacing.js";
6
- import { flexLayoutDefaults as C, flexLayoutVariants as z } from "../Flex/Flex.js";
7
- const L = x("flex border border-solid", {
6
+ import { polymorphicForwardRef as C } from "../../utils/polymorphic.js";
7
+ import { flexLayoutDefaults as z, flexLayoutVariants as L } from "../Flex/Flex.js";
8
+ const N = x("flex border border-solid", {
8
9
  variants: {
9
- ...z,
10
+ ...L,
10
11
  variant: {
11
12
  default: "rounded-comp-card-default-radius border-comp-card-muzain-stroke bg-comp-card-muzain-bg px-comp-card-default-p-hor py-comp-card-default-p-ver",
12
13
  market: "rounded-comp-card-account-radius border-comp-card-account-stroke bg-comp-card-account-fill px-comp-card-account-p-hor py-comp-card-account-p-ver-def",
@@ -14,54 +15,54 @@ const L = x("flex border border-solid", {
14
15
  }
15
16
  },
16
17
  defaultVariants: {
17
- ...C,
18
+ ...z,
18
19
  direction: "column",
19
20
  variant: "default"
20
21
  }
21
- }), N = r.forwardRef(
22
- ({
23
- className: a,
24
- style: c,
25
- variant: o,
26
- direction: t,
27
- wrap: e,
22
+ }), R = C(
23
+ function({
24
+ className: r,
25
+ style: o,
26
+ variant: c,
27
+ direction: a,
28
+ wrap: t,
28
29
  justify: d,
29
- align: p,
30
- flex: m,
31
- gap: u,
32
- padding: n,
33
- margin: i,
34
- component: s = "div",
35
- asChild: f = !1,
36
- children: l,
37
- ...k
38
- }, b) => {
39
- const h = f ? g : s, v = V({ gap: u, padding: n, margin: i });
40
- return r.createElement(
41
- h,
30
+ align: e,
31
+ flex: p,
32
+ gap: m,
33
+ padding: i,
34
+ margin: n,
35
+ component: u = "div",
36
+ asChild: s = !1,
37
+ children: f,
38
+ ...l
39
+ }, h) {
40
+ const k = s ? g : u, b = V({ gap: m, padding: i, margin: n });
41
+ return v.createElement(
42
+ k,
42
43
  {
43
- ref: b,
44
+ ref: h,
44
45
  className: y(
45
- L({
46
- variant: o,
47
- direction: t,
48
- wrap: e,
46
+ N({
47
+ variant: c,
48
+ direction: a,
49
+ wrap: t,
49
50
  justify: d,
50
- align: p,
51
- flex: m,
52
- ...v
51
+ align: e,
52
+ flex: p,
53
+ ...b
53
54
  }),
54
- a
55
+ r
55
56
  ),
56
- style: c,
57
- ...k
57
+ style: o,
58
+ ...l
58
59
  },
59
- l
60
+ f
60
61
  );
61
62
  }
62
63
  );
63
- N.displayName = "Card";
64
+ R.displayName = "Card";
64
65
  export {
65
- N as Card,
66
- L as cardVariants
66
+ R as Card,
67
+ N as cardVariants
67
68
  };
@@ -207,6 +207,22 @@ export interface CarouselContentProps extends React.HTMLAttributes<HTMLDivElemen
207
207
  * @default false
208
208
  */
209
209
  overflowVisible?: boolean;
210
+ /**
211
+ * Additional CSS classes for the scrolling viewport — the element Embla
212
+ * measures slide positions against — rather than the inner track that
213
+ * `className` targets.
214
+ *
215
+ * Use it for padding that must sit *outside* the slide measurement. Padding
216
+ * on the track is measured as part of the slides, so with `align="start"`
217
+ * only the first slide ends up inset: every later snap aligns flush to the
218
+ * viewport edge. Applying the same padding here insets the viewport itself,
219
+ * so every snap position matches.
220
+ *
221
+ * @example
222
+ * // Bleeding track whose first and last cards stay inset to the page column
223
+ * <CarouselContent viewportClassName="px-layout-p-standard" />
224
+ */
225
+ viewportClassName?: string;
210
226
  }
211
227
  declare const CarouselContent: React.ForwardRefExoticComponent<CarouselContentProps & React.RefAttributes<HTMLDivElement>>;
212
228
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"Carousel.d.ts","sourceRoot":"","sources":["../../../src/components/Carousel/Carousel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,gBAAgB,EAAE,EACvB,KAAK,oBAAoB,EAC1B,MAAM,sBAAsB,CAAA;AAI7B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAO5C;;;;;;;;;;;;;GAaG;AACH,MAAM,MAAM,WAAW,GAAG,oBAAoB,CAAC,CAAC,CAAC,CAAA;AAEjD,KAAK,qBAAqB,GAAG,UAAU,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEhE;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAA;AAEtD;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAAA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;;GAKG;AACH,MAAM,WAAW,iBAAiB;IAChC,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAuB7C,CAAA;AAED,OAAO,EACL,QAAQ,EACR,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,WAAW,GACZ,CAAA"}
@@ -1,9 +1,9 @@
1
- import { jsx as p, jsxs as Z } from "react/jsx-runtime";
1
+ import { jsx as d, jsxs as Z } from "react/jsx-runtime";
2
2
  import * as r from "react";
3
3
  import $ from "embla-carousel-autoplay";
4
4
  import ee from "embla-carousel-react";
5
5
  import { useMuzaTranslations as U } from "../../translations/TranslationContext.js";
6
- import { cn as C } from "../../utils/cn.js";
6
+ import { cn as w } from "../../utils/cn.js";
7
7
  import { ButtonArrow as K } from "../ButtonArrow/ButtonArrow.js";
8
8
  import { Flex as oe } from "../Flex/Flex.js";
9
9
  import { SliderIndicators as re } from "../SliderIndicators/SliderIndicators.js";
@@ -17,15 +17,15 @@ const se = "(prefers-reduced-motion: reduce)", ae = 5e3, F = r.createContext(nul
17
17
  ({
18
18
  orientation: t = "horizontal",
19
19
  options: l,
20
- align: u,
20
+ align: c,
21
21
  setApi: n,
22
22
  plugins: s,
23
23
  autoplay: f = !1,
24
- autoplayDelay: c = ae,
25
- className: w,
24
+ autoplayDelay: u = ae,
25
+ className: m,
26
26
  children: b,
27
- onPointerEnter: m,
28
- onPointerLeave: d,
27
+ onPointerEnter: p,
28
+ onPointerLeave: h,
29
29
  ...x
30
30
  }, a) => {
31
31
  const i = te(se), y = (s ?? []).some(
@@ -33,7 +33,7 @@ const se = "(prefers-reduced-motion: reduce)", ae = 5e3, F = r.createContext(nul
33
33
  ), g = f && !i && !y, Y = r.useMemo(() => g ? [
34
34
  ...s ?? [],
35
35
  $({
36
- delay: c,
36
+ delay: u,
37
37
  // Pause/resume is driven from this component instead of the plugin's
38
38
  // own wiring: on touch devices the browser fires a synthetic
39
39
  // `mouseenter` after a tap and never a matching `mouseleave`, which
@@ -49,7 +49,7 @@ const se = "(prefers-reduced-motion: reduce)", ae = 5e3, F = r.createContext(nul
49
49
  // the first time anything inside gets focused.
50
50
  stopOnFocusIn: !1
51
51
  })
52
- ] : s, [g, c, s]), [j, e] = ee(
52
+ ] : s, [g, u, s]), [j, e] = ee(
53
53
  {
54
54
  // `skipSnaps: true` lets a longer drag/flick cross several slides
55
55
  // before snapping, instead of Embla's default of clamping every drag
@@ -57,12 +57,12 @@ const se = "(prefers-reduced-motion: reduce)", ae = 5e3, F = r.createContext(nul
57
57
  // (e.g. single-slide galleries that should advance one at a time).
58
58
  skipSnaps: !0,
59
59
  // `align` prop is a baseline; an explicit `options.align` overrides it.
60
- ...u !== void 0 && { align: u },
60
+ ...c !== void 0 && { align: c },
61
61
  ...l,
62
62
  axis: t === "horizontal" ? "x" : "y"
63
63
  },
64
64
  Y
65
- ), [Q, B] = r.useState(!1), [V, q] = r.useState(!1), [G, J] = r.useState(0), [M, O] = r.useState(0), h = r.useCallback((o) => {
65
+ ), [Q, B] = r.useState(!1), [V, q] = r.useState(!1), [G, J] = r.useState(0), [M, O] = r.useState(0), C = r.useCallback((o) => {
66
66
  o && (J(o.selectedScrollSnap()), B(o.canScrollPrev()), q(o.canScrollNext()));
67
67
  }, []), z = r.useCallback((o) => {
68
68
  o && O(o.scrollSnapList().length);
@@ -86,10 +86,10 @@ const se = "(prefers-reduced-motion: reduce)", ae = 5e3, F = r.createContext(nul
86
86
  !e || !n || n(e);
87
87
  }, [e, n]), r.useEffect(() => {
88
88
  if (e)
89
- return O(e.scrollSnapList().length), h(e), e.on("select", h), e.on("reInit", h), e.on("reInit", z), () => {
90
- e.off("select", h), e.off("reInit", h), e.off("reInit", z);
89
+ return O(e.scrollSnapList().length), C(e), e.on("select", C), e.on("reInit", C), e.on("reInit", z), () => {
90
+ e.off("select", C), e.off("reInit", C), e.off("reInit", z);
91
91
  };
92
- }, [e, h, z]);
92
+ }, [e, C, z]);
93
93
  const T = r.useRef(!1), S = r.useRef(!1), N = r.useRef(!1), R = g && M > 1, A = r.useCallback(
94
94
  () => R ? e == null ? void 0 : e.plugins().autoplay : void 0,
95
95
  [e, R]
@@ -116,7 +116,7 @@ const se = "(prefers-reduced-motion: reduce)", ae = 5e3, F = r.createContext(nul
116
116
  const _ = [], H = [];
117
117
  return r.Children.forEach(b, (o) => {
118
118
  r.isValidElement(o) && o.type === fe ? _.push(o) : H.push(o);
119
- }), /* @__PURE__ */ p(
119
+ }), /* @__PURE__ */ d(
120
120
  F.Provider,
121
121
  {
122
122
  value: {
@@ -138,18 +138,18 @@ const se = "(prefers-reduced-motion: reduce)", ae = 5e3, F = r.createContext(nul
138
138
  {
139
139
  ref: a,
140
140
  onKeyDownCapture: X,
141
- className: w,
141
+ className: m,
142
142
  role: "region",
143
143
  "aria-roledescription": "carousel",
144
144
  onPointerEnter: (o) => {
145
- o.pointerType === "mouse" && (T.current = !0, k()), m == null || m(o);
145
+ o.pointerType === "mouse" && (T.current = !0, k()), p == null || p(o);
146
146
  },
147
147
  onPointerLeave: (o) => {
148
- o.pointerType === "mouse" && (T.current = !1, I()), d == null || d(o);
148
+ o.pointerType === "mouse" && (T.current = !1, I()), h == null || h(o);
149
149
  },
150
150
  ...x,
151
151
  children: [
152
- /* @__PURE__ */ p("div", { className: "relative", children: H }),
152
+ /* @__PURE__ */ d("div", { className: "relative", children: H }),
153
153
  _
154
154
  ]
155
155
  }
@@ -160,28 +160,29 @@ const se = "(prefers-reduced-motion: reduce)", ae = 5e3, F = r.createContext(nul
160
160
  );
161
161
  le.displayName = "Carousel";
162
162
  const ne = r.forwardRef(
163
- ({ className: t, overflowVisible: l = !1, ...u }, n) => {
164
- const { carouselRef: s, orientation: f } = v(), c = f === "horizontal";
165
- return /* @__PURE__ */ p(
163
+ ({ className: t, overflowVisible: l = !1, viewportClassName: c, ...n }, s) => {
164
+ const { carouselRef: f, orientation: u } = v(), m = u === "horizontal";
165
+ return /* @__PURE__ */ d(
166
166
  "div",
167
167
  {
168
- ref: s,
169
- className: C(
168
+ ref: f,
169
+ className: w(
170
170
  // touch-action: keeps cross-axis native scroll while same-axis swipes go to Embla
171
171
  "select-none",
172
172
  l ? "overflow-visible" : "overflow-hidden",
173
- c ? "[touch-action:pan-y_pinch-zoom]" : "[touch-action:pan-x_pinch-zoom]"
173
+ m ? "[touch-action:pan-y_pinch-zoom]" : "[touch-action:pan-x_pinch-zoom]",
174
+ c
174
175
  ),
175
- children: /* @__PURE__ */ p(
176
+ children: /* @__PURE__ */ d(
176
177
  oe,
177
178
  {
178
- ref: n,
179
- direction: c ? "row" : "column",
180
- className: C(
181
- c ? "-ml-comp-carousel-gap" : "-mt-comp-carousel-gap",
179
+ ref: s,
180
+ direction: m ? "row" : "column",
181
+ className: w(
182
+ m ? "-ml-comp-carousel-gap" : "-mt-comp-carousel-gap",
182
183
  t
183
184
  ),
184
- ...u
185
+ ...n
185
186
  }
186
187
  )
187
188
  }
@@ -190,15 +191,15 @@ const ne = r.forwardRef(
190
191
  );
191
192
  ne.displayName = "CarouselContent";
192
193
  const ce = r.forwardRef(
193
- ({ className: t, ...l }, u) => {
194
+ ({ className: t, ...l }, c) => {
194
195
  const { orientation: n } = v();
195
- return /* @__PURE__ */ p(
196
+ return /* @__PURE__ */ d(
196
197
  "div",
197
198
  {
198
- ref: u,
199
+ ref: c,
199
200
  role: "group",
200
201
  "aria-roledescription": "slide",
201
- className: C(
202
+ className: w(
202
203
  "min-w-0 shrink-0 grow-0 basis-full",
203
204
  {
204
205
  "pl-comp-carousel-gap": n === "horizontal",
@@ -216,24 +217,24 @@ const ue = r.forwardRef(
216
217
  ({
217
218
  className: t,
218
219
  size: l = "default",
219
- ariaLabel: u,
220
+ ariaLabel: c,
220
221
  hideWhenDisabled: n = !1,
221
222
  onClick: s,
222
223
  ...f
223
- }, c) => {
224
- const { orientation: w, scrollPrev: b, canScrollPrev: m } = v(), d = U(), x = u ?? d.carousel.previousAriaLabel, a = w === "horizontal", i = l === "sm";
225
- return n && !m ? null : /* @__PURE__ */ p(
224
+ }, u) => {
225
+ const { orientation: m, scrollPrev: b, canScrollPrev: p } = v(), h = U(), x = c ?? h.carousel.previousAriaLabel, a = m === "horizontal", i = l === "sm";
226
+ return n && !p ? null : /* @__PURE__ */ d(
226
227
  K,
227
228
  {
228
- ref: c,
229
+ ref: u,
229
230
  direction: "left",
230
231
  size: l,
231
- disabled: !m,
232
+ disabled: !p,
232
233
  "aria-label": x,
233
234
  onClick: (y) => {
234
235
  b(), s == null || s(y);
235
236
  },
236
- className: C(
237
+ className: w(
237
238
  "absolute",
238
239
  {
239
240
  "top-1/2 -translate-y-1/2": a,
@@ -255,24 +256,24 @@ const ie = r.forwardRef(
255
256
  ({
256
257
  className: t,
257
258
  size: l = "default",
258
- ariaLabel: u,
259
+ ariaLabel: c,
259
260
  hideWhenDisabled: n = !1,
260
261
  onClick: s,
261
262
  ...f
262
- }, c) => {
263
- const { orientation: w, scrollNext: b, canScrollNext: m } = v(), d = U(), x = u ?? d.carousel.nextAriaLabel, a = w === "horizontal", i = l === "sm";
264
- return n && !m ? null : /* @__PURE__ */ p(
263
+ }, u) => {
264
+ const { orientation: m, scrollNext: b, canScrollNext: p } = v(), h = U(), x = c ?? h.carousel.nextAriaLabel, a = m === "horizontal", i = l === "sm";
265
+ return n && !p ? null : /* @__PURE__ */ d(
265
266
  K,
266
267
  {
267
- ref: c,
268
+ ref: u,
268
269
  direction: "right",
269
270
  size: l,
270
- disabled: !m,
271
+ disabled: !p,
271
272
  "aria-label": x,
272
273
  onClick: (y) => {
273
274
  b(), s == null || s(y);
274
275
  },
275
- className: C(
276
+ className: w(
276
277
  "absolute",
277
278
  {
278
279
  "top-1/2 -translate-y-1/2": a,
@@ -293,19 +294,19 @@ ie.displayName = "CarouselNext";
293
294
  const fe = ({
294
295
  className: t,
295
296
  ariaLabel: l,
296
- buttonAriaLabel: u
297
+ buttonAriaLabel: c
297
298
  }) => {
298
- const { selectedIndex: n, scrollTo: s, slidesCount: f } = v(), c = U();
299
- return f <= 1 ? null : /* @__PURE__ */ p(
299
+ const { selectedIndex: n, scrollTo: s, slidesCount: f } = v(), u = U();
300
+ return f <= 1 ? null : /* @__PURE__ */ d(
300
301
  re,
301
302
  {
302
303
  count: f,
303
304
  activeIndex: n,
304
305
  onDotClick: s,
305
306
  interactive: !0,
306
- className: C("mt-comp-carousel-dots-gap", t),
307
- ariaLabel: l ?? c.carousel.dotsAriaLabel,
308
- buttonAriaLabel: u ?? c.carousel.dotAriaLabel
307
+ className: w("mt-comp-carousel-dots-gap", t),
308
+ ariaLabel: l ?? u.carousel.dotsAriaLabel,
309
+ buttonAriaLabel: c ?? u.carousel.dotAriaLabel
309
310
  }
310
311
  );
311
312
  };
@@ -17,18 +17,27 @@ export interface CarouselSectionProps {
17
17
  * should navigate to.
18
18
  */
19
19
  ctaHref?: string;
20
+ /**
21
+ * Whether the section sits on a tinted brand panel. `true` wraps the content
22
+ * in the rounded `surface-brand-brand-tertiary` box; `false` drops the panel
23
+ * so the section runs straight on the page background. Pair it with
24
+ * untinted cards (`offerItems` vs `untintedOfferItems` below).
25
+ *
26
+ * @default true
27
+ */
28
+ isTinted?: boolean;
20
29
  }
21
30
  /**
22
31
  * A horizontally scrollable promo section. Drag/swipe (touch + mouse) snaps to
23
32
  * a card and can skip several at once with a longer flick; on desktop, arrow
24
33
  * buttons step through them one at a time too.
25
34
  */
26
- export declare const CarouselSection: ({ title, items, ctaLabel, ctaHref, }: CarouselSectionProps) => import("react/jsx-runtime").JSX.Element;
35
+ export declare const CarouselSection: ({ title, items, ctaLabel, ctaHref, isTinted, }: CarouselSectionProps) => import("react/jsx-runtime").JSX.Element;
36
+ /** Slides for the tinted section — cards filled to read on the purple panel. */
37
+ export declare const offerItems: React.ReactNode[];
27
38
  /**
28
- * Pre-rendered slides using the library `OfferCard` (tinted compact variant).
29
- * Below desktop the fixed `w-[284px]` drives the peeking multi-card layout;
30
- * `lg:w-full` lets the card fill its slide so the desktop fractional bases
31
- * (3 → 4 → 5 per view) line up exactly. `h-full` matches the tallest card.
39
+ * Slides for the untinted section transparent cards that keep only their
40
+ * stroke, so they read on the plain page background.
32
41
  */
33
- export declare const offerItems: React.ReactNode[];
42
+ export declare const untintedOfferItems: React.ReactNode[];
34
43
  //# sourceMappingURL=CarouselSection.examples.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselSection.examples.d.ts","sourceRoot":"","sources":["../../../src/components/CarouselSection/CarouselSection.examples.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAgB9B,2DAA2D;AAC3D,MAAM,WAAW,oBAAoB;IACnC,2DAA2D;IAC3D,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;IACxB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,sCAK7B,oBAAoB,4CA0EtB,CAAA;AA8HD;;;;;GAKG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,SAAS,EAQtC,CAAA"}
1
+ {"version":3,"file":"CarouselSection.examples.d.ts","sourceRoot":"","sources":["../../../src/components/CarouselSection/CarouselSection.examples.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AA+C9B,2DAA2D;AAC3D,MAAM,WAAW,oBAAoB;IACnC,2DAA2D;IAC3D,KAAK,EAAE,MAAM,CAAA;IACb;;;;OAIG;IACH,KAAK,EAAE,KAAK,CAAC,SAAS,EAAE,CAAA;IACxB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED;;;;GAIG;AACH,eAAO,MAAM,eAAe,GAAI,gDAM7B,oBAAoB,4CAiGtB,CAAA;AA+ID,gFAAgF;AAChF,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,SAAS,EAA2B,CAAA;AAEnE;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,SAAS,EAA4B,CAAA"}
@@ -4,5 +4,7 @@ declare const meta: Meta<CarouselSectionProps>;
4
4
  export default meta;
5
5
  type Story = StoryObj<CarouselSectionProps>;
6
6
  export declare const Responsive: Story;
7
+ export declare const Untinted: Story;
8
+ export declare const FitsOnDesktop: Story;
7
9
  export declare const WithoutCta: Story;
8
10
  //# sourceMappingURL=CarouselSection.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CarouselSection.stories.d.ts","sourceRoot":"","sources":["../../../src/components/CarouselSection/CarouselSection.stories.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAEL,KAAK,oBAAoB,EAE1B,MAAM,4BAA4B,CAAA;AAGnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,oBAAoB,CAoDpC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,oBAAoB,CAAC,CAAA;AAE3C,eAAO,MAAM,UAAU,EAAE,KAiBxB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAaxB,CAAA"}
1
+ {"version":3,"file":"CarouselSection.stories.d.ts","sourceRoot":"","sources":["../../../src/components/CarouselSection/CarouselSection.stories.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAEL,KAAK,oBAAoB,EAG1B,MAAM,4BAA4B,CAAA;AAGnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,oBAAoB,CAqDpC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,oBAAoB,CAAC,CAAA;AAE3C,eAAO,MAAM,UAAU,EAAE,KAsBxB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAetB,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAmB3B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAaxB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"CategoryIcon.d.ts","sourceRoot":"","sources":["../../../src/components/CategoryIcon/CategoryIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,KAAK,YAAY,EAAO,MAAM,0BAA0B,CAAA;AAIjE;;;GAGG;AACH,QAAA,MAAM,oBAAoB;;8EAYzB,CAAA;AAED,4CAA4C;AAC5C,MAAM,WAAW,iBACf,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC,EAAE,OAAO,CAAC,EAC1D,YAAY,CAAC,OAAO,oBAAoB,CAAC;IAC3C;;;;;;;OAOG;IACH,KAAK,EAAE,MAAM,CAAA;IACb;;;OAGG;IACH,IAAI,EAAE,KAAK,CAAC,SAAS,CAAA;IACrB,iCAAiC;IACjC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CAC1B;AAYD;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,YAAY,2FAuCjB,CAAA;AAGD,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,CAAA"}
1
+ {"version":3,"file":"CategoryIcon.d.ts","sourceRoot":"","sources":["../../../src/components/CategoryIcon/CategoryIcon.tsx"],"names":[],"mappings":"AAAA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