@phillips/seldon 1.59.1 → 1.61.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 (54) hide show
  1. package/dist/components/Accordion/Accordion.js +2 -2
  2. package/dist/components/Accordion/AccordionItem.js +4 -4
  3. package/dist/components/Button/Button.js +7 -7
  4. package/dist/components/Carousel/Carousel.d.ts +52 -0
  5. package/dist/components/Carousel/Carousel.js +72 -0
  6. package/dist/components/Carousel/CarouselContent.d.ts +19 -0
  7. package/dist/components/Carousel/CarouselContent.js +33 -0
  8. package/dist/components/Carousel/CarouselDots.d.ts +26 -0
  9. package/dist/components/Carousel/CarouselDots.js +75 -0
  10. package/dist/components/Carousel/CarouselItem.d.ts +11 -0
  11. package/dist/components/Carousel/CarouselItem.js +25 -0
  12. package/dist/components/Carousel/index.d.ts +4 -0
  13. package/dist/components/Carousel/utils.d.ts +8 -0
  14. package/dist/components/Carousel/utils.js +11 -0
  15. package/dist/components/ContentPeek/ContentPeek.js +5 -5
  16. package/dist/components/Drawer/Drawer.js +3 -3
  17. package/dist/components/Dropdown/Dropdown.js +3 -3
  18. package/dist/components/Grid/Grid.js +3 -3
  19. package/dist/components/Grid/utils.js +4 -4
  20. package/dist/components/GridItem/GridItem.js +8 -8
  21. package/dist/components/IconButton/IconButton.js +2 -2
  22. package/dist/components/Link/Link.js +6 -6
  23. package/dist/components/LinkList/LinkList.js +5 -5
  24. package/dist/components/Navigation/Navigation.js +4 -4
  25. package/dist/components/Navigation/NavigationList/NavigationList.js +3 -3
  26. package/dist/components/PageContentWrapper/PageContentWrapper.js +4 -4
  27. package/dist/components/Pagination/Pagination.js +6 -6
  28. package/dist/components/Row/Row.js +4 -4
  29. package/dist/components/Search/Search.js +7 -7
  30. package/dist/components/SplitPanel/SplitPanel.js +2 -2
  31. package/dist/components/Video/Video.js +2 -2
  32. package/dist/index.d.ts +1 -0
  33. package/dist/index.js +42 -34
  34. package/dist/node_modules/embla-carousel/esm/embla-carousel.esm.js +1198 -0
  35. package/dist/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js +24 -0
  36. package/dist/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js +35 -0
  37. package/dist/node_modules/embla-carousel-wheel-gestures/dist/embla-carousel-wheel-gestures.esm.js +91 -0
  38. package/dist/node_modules/exenv/index.js +1 -1
  39. package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
  40. package/dist/node_modules/wheel-gestures/dist/wheel-gestures.esm.js +269 -0
  41. package/dist/patterns/LanguageSelector/LanguageSelector.js +4 -4
  42. package/dist/patterns/Social/Social.js +5 -5
  43. package/dist/patterns/Subscribe/Subscribe.js +7 -7
  44. package/dist/patterns/UserManagement/UserManagement.js +2 -2
  45. package/dist/patterns/ViewingsList/ViewingsList.js +10 -10
  46. package/dist/patterns/ViewingsList/ViewingsListCard.js +12 -12
  47. package/dist/patterns/ViewingsList/ViewingsListCardForm.js +6 -6
  48. package/dist/scss/componentStyles.scss +1 -0
  49. package/dist/scss/components/Carousel/_carousel.scss +84 -0
  50. package/dist/scss/components/Modal/_modal.scss +1 -0
  51. package/dist/scss/site-furniture/Footer/_footer.scss +1 -1
  52. package/dist/site-furniture/Footer/Footer.js +2 -2
  53. package/dist/site-furniture/Header/Header.js +4 -4
  54. package/package.json +3 -1
@@ -3,7 +3,7 @@ import c from "../../node_modules/classnames/index.js";
3
3
  import { getCommonProps as i } from "../../utils/index.js";
4
4
  import { Root as e } from "../../node_modules/@radix-ui/react-accordion/dist/index.js";
5
5
  import { getAccordionVariantProps as d } from "./utils.js";
6
- const N = ({ className: m, children: t, ...o }) => {
6
+ const C = ({ className: m, children: t, ...o }) => {
7
7
  const { className: a, ...r } = i(o, "Accordion"), n = d(o.variant);
8
8
  return /* @__PURE__ */ s(
9
9
  e,
@@ -17,5 +17,5 @@ const N = ({ className: m, children: t, ...o }) => {
17
17
  );
18
18
  };
19
19
  export {
20
- N as default
20
+ C as default
21
21
  };
@@ -4,9 +4,9 @@ import f from "../../assets/plus.svg.js";
4
4
  import v from "../../assets/minus.svg.js";
5
5
  import I from "../../assets/lock.svg.js";
6
6
  import d from "../../node_modules/classnames/index.js";
7
- import { Item as _, Trigger as C, Content as x } from "../../node_modules/@radix-ui/react-accordion/dist/index.js";
7
+ import { Item as _, Trigger as C, Content as N } from "../../node_modules/@radix-ui/react-accordion/dist/index.js";
8
8
  import { getIconClasses as p } from "./utils.js";
9
- const N = ({
9
+ const x = ({
10
10
  children: n,
11
11
  className: s,
12
12
  baseClassName: t,
@@ -58,7 +58,7 @@ const N = ({
58
58
  isLargeVariation: e,
59
59
  className: r
60
60
  }) => /* @__PURE__ */ o(h, { children: t && n ? /* @__PURE__ */ o("div", { children: n }) : /* @__PURE__ */ o(
61
- x,
61
+ N,
62
62
  {
63
63
  asChild: !0,
64
64
  className: d(
@@ -88,7 +88,7 @@ const N = ({
88
88
  ...l,
89
89
  children: [
90
90
  /* @__PURE__ */ o(
91
- N,
91
+ x,
92
92
  {
93
93
  disable: n,
94
94
  isLargeVariation: i,
@@ -3,14 +3,14 @@ import p from "../../node_modules/classnames/index.js";
3
3
  import { getCommonProps as u } from "../../utils/index.js";
4
4
  import { ButtonVariants as d } from "./types.js";
5
5
  import { forwardRef as $ } from "react";
6
- const b = $(
6
+ const N = $(
7
7
  ({
8
8
  variant: s = d.primary,
9
9
  size: a = "md",
10
10
  children: m,
11
11
  className: r,
12
- isIconLast: n = !1,
13
- type: e = "button",
12
+ isIconLast: e = !1,
13
+ type: n = "button",
14
14
  isDisabled: i = !1,
15
15
  ...t
16
16
  }, f) => {
@@ -20,13 +20,13 @@ const b = $(
20
20
  {
21
21
  ...l,
22
22
  ref: f,
23
- type: e,
23
+ type: n,
24
24
  className: p(
25
25
  `${o}`,
26
26
  `${o}--${a}`,
27
27
  `${o}--${s}`,
28
28
  {
29
- [`${o}--icon-last`]: n
29
+ [`${o}--icon-last`]: e
30
30
  },
31
31
  r
32
32
  ),
@@ -37,7 +37,7 @@ const b = $(
37
37
  );
38
38
  }
39
39
  );
40
- b.displayName = "Button";
40
+ N.displayName = "Button";
41
41
  export {
42
- b as default
42
+ N as default
43
43
  };
@@ -0,0 +1,52 @@
1
+ import { ComponentProps } from 'react';
2
+ import { SpacingTokens } from '../../utils';
3
+ import useEmblaCarousel, { type UseEmblaCarouselType } from 'embla-carousel-react';
4
+ export type CarouselApi = UseEmblaCarouselType[1];
5
+ export interface CarouselProps extends ComponentProps<'div'> {
6
+ /**
7
+ * Whether the carousel should loop.
8
+ */
9
+ loop?: boolean;
10
+ /**
11
+ * The index to start the carousel at. Can be used if you want the carousel to be controlled.
12
+ */
13
+ startIndex?: number;
14
+ /**
15
+ * Function to call when the slide changes.
16
+ */
17
+ onSlideChange?: (index: number) => void;
18
+ /**
19
+ * The horizontal gap between the carousel items.
20
+ */
21
+ columnGap?: SpacingTokens;
22
+ /**
23
+ * Whether the carousel should use wheel gestures.
24
+ */
25
+ useWheelGestures?: boolean;
26
+ }
27
+ type CarouselContextProps = {
28
+ carouselRef: ReturnType<typeof useEmblaCarousel>[0];
29
+ api: ReturnType<typeof useEmblaCarousel>[1];
30
+ scrollPrev: () => void;
31
+ scrollNext: () => void;
32
+ canScrollPrev: boolean;
33
+ canScrollNext: boolean;
34
+ } & CarouselProps;
35
+ export declare const CarouselContext: import("react").Context<CarouselContextProps | null>;
36
+ /**
37
+ * ## Overview
38
+ *
39
+ * Carousel component
40
+ *
41
+ * Combine with CarouselContent, CarouselItem, and CarouselDots to use
42
+ *
43
+ * API Inspired by https://ui.shadcn.com/docs/components/carousel#api
44
+ *
45
+ * Built on top of https://github.com/davidjerleke/embla-carousel
46
+ *
47
+ * [Figma Link](https://www.figma.com/design/hMu9IWH5N3KamJy8tLFdyV/EASEL-Compendium%3A-Tokens%2C-Components-%26-Patterns?node-id=7068-6007&t=HYwLAd3xkKAOgjpo-1)
48
+ *
49
+ * [Storybook Link](https://phillips-seldon.netlify.app/?path=/docs/components-carousel--overview)
50
+ */
51
+ declare const Carousel: import("react").ForwardRefExoticComponent<Omit<CarouselProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
52
+ export default Carousel;
@@ -0,0 +1,72 @@
1
+ import { jsx as f } from "react/jsx-runtime";
2
+ import { createContext as b, forwardRef as d, useCallback as m, useEffect as k } from "react";
3
+ import { getCommonProps as A } from "../../utils/index.js";
4
+ import R from "../../node_modules/classnames/index.js";
5
+ import E from "../../node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js";
6
+ import { WheelGesturesPlugin as I } from "../../node_modules/embla-carousel-wheel-gestures/dist/embla-carousel-wheel-gestures.esm.js";
7
+ const K = b(null), W = d(
8
+ ({ loop: u = !1, startIndex: n = 0, onSlideChange: l, className: a, children: x, columnGap: N, useWheelGestures: P = !1, ...s }, v) => {
9
+ var t, c;
10
+ const { className: w, ...y } = A(s, "Carousel"), [C, r] = E(
11
+ {
12
+ loop: u,
13
+ startIndex: n
14
+ },
15
+ [
16
+ ...P ? [
17
+ I({
18
+ forceWheelAxis: "x"
19
+ })
20
+ ] : []
21
+ ]
22
+ ), D = m(
23
+ (e) => {
24
+ e.key === "ArrowLeft" ? (e.preventDefault(), r == null || r.scrollPrev()) : e.key === "ArrowRight" && (e.preventDefault(), r == null || r.scrollNext());
25
+ },
26
+ [r]
27
+ ), o = m(
28
+ (e) => {
29
+ e && (l == null || l(e.selectedScrollSnap()));
30
+ },
31
+ [l]
32
+ );
33
+ return k(() => {
34
+ if (r)
35
+ return o(r), r.on("reInit", o), r.on("settle", o), () => {
36
+ r == null || r.off("settle", o), r == null || r.off("reInit", o);
37
+ };
38
+ }, [r, o]), /* @__PURE__ */ f(
39
+ K.Provider,
40
+ {
41
+ value: {
42
+ carouselRef: C,
43
+ api: r,
44
+ scrollPrev: () => r == null ? void 0 : r.scrollPrev(),
45
+ scrollNext: () => r == null ? void 0 : r.scrollNext(),
46
+ canScrollPrev: (t = r == null ? void 0 : r.canScrollPrev()) != null ? t : !1,
47
+ canScrollNext: (c = r == null ? void 0 : r.canScrollNext()) != null ? c : !1,
48
+ columnGap: N,
49
+ onSlideChange: l
50
+ },
51
+ children: /* @__PURE__ */ f(
52
+ "div",
53
+ {
54
+ ref: v,
55
+ onKeyDownCapture: D,
56
+ className: R(w, a),
57
+ role: "region",
58
+ "aria-roledescription": "carousel",
59
+ ...s,
60
+ ...y,
61
+ children: x
62
+ }
63
+ )
64
+ }
65
+ );
66
+ }
67
+ );
68
+ W.displayName = "Carousel";
69
+ export {
70
+ K as CarouselContext,
71
+ W as default
72
+ };
@@ -0,0 +1,19 @@
1
+ import { ComponentProps } from 'react';
2
+ export interface CarouselContentProps extends ComponentProps<'div'> {
3
+ /**
4
+ * The className for the carousel content container.
5
+ */
6
+ containerClassName?: string;
7
+ /**
8
+ * The styles for the carousel content container.
9
+ */
10
+ containerStyles?: React.CSSProperties;
11
+ }
12
+ /**
13
+ * ## Overview
14
+ *
15
+ * The wrapper for the carousel content.
16
+ *
17
+ */
18
+ declare const CarouselContent: import("react").ForwardRefExoticComponent<Omit<CarouselContentProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
19
+ export default CarouselContent;
@@ -0,0 +1,33 @@
1
+ import { jsx as r } from "react/jsx-runtime";
2
+ import { forwardRef as f } from "react";
3
+ import a from "../../node_modules/classnames/index.js";
4
+ import { useCarousel as p } from "./utils.js";
5
+ import { getCommonProps as u } from "../../utils/index.js";
6
+ const C = f(
7
+ ({ className: t, containerClassName: n, containerStyles: m, ...e }, l) => {
8
+ const { className: o, ...c } = u(e, "Carousel"), { carouselRef: i, columnGap: s } = p();
9
+ return /* @__PURE__ */ r(
10
+ "div",
11
+ {
12
+ ref: i,
13
+ className: a(`${o}-content`, n),
14
+ style: m,
15
+ children: /* @__PURE__ */ r(
16
+ "div",
17
+ {
18
+ ref: l,
19
+ className: a(`${o}-content-inner`, t, {
20
+ [`${o}-content-inner--gap-${s}`]: !!s
21
+ }),
22
+ ...e,
23
+ ...c
24
+ }
25
+ )
26
+ }
27
+ );
28
+ }
29
+ );
30
+ C.displayName = "CarouselContent";
31
+ export {
32
+ C as default
33
+ };
@@ -0,0 +1,26 @@
1
+ import { ComponentProps } from 'react';
2
+ export interface CarouselDotsProps extends ComponentProps<'div'> {
3
+ /**
4
+ * The maximum number of dots to display.
5
+ */
6
+ maxDots?: number;
7
+ /**
8
+ * The position of the dots.
9
+ */
10
+ position?: 'on-content' | 'inline';
11
+ /**
12
+ * The number of slides (used to pre-calc the number of dots to render before embla API initializes)
13
+ * otherwise you can get slight layout shift before the number of slides is calculated
14
+ */
15
+ numberOfSlides?: number;
16
+ }
17
+ /**
18
+ * ## Overview
19
+ *
20
+ * Carousel dots component that displays pagination for the carousel.
21
+ * It supports a maximum number of visible dots
22
+ * The dots animate left to right as the user navigates through the carousel.
23
+ *
24
+ */
25
+ declare const CarouselDots: import("react").ForwardRefExoticComponent<Omit<CarouselDotsProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
26
+ export default CarouselDots;
@@ -0,0 +1,75 @@
1
+ import { jsx as c } from "react/jsx-runtime";
2
+ import u from "../../node_modules/classnames/index.js";
3
+ import { forwardRef as y, useState as h, useCallback as p, useEffect as D } from "react";
4
+ import { useCarousel as P } from "./utils.js";
5
+ import { getCommonProps as V } from "../../utils/index.js";
6
+ const _ = y(
7
+ ({ className: N, maxDots: i = 7, position: b = "inline", numberOfSlides: I = 0, ...d }, $) => {
8
+ const { className: s, ...C } = V(d, "Carousel"), { api: e, onSlideChange: n } = P(), [g, M] = h(0), [l, v] = h(
9
+ Array.from({ length: I }, (t, o) => o)
10
+ ), x = p(
11
+ (t) => {
12
+ e && (e.scrollTo(t, !0), n == null || n(t));
13
+ },
14
+ [e, n]
15
+ ), f = p((t) => {
16
+ v(t.scrollSnapList());
17
+ }, []), r = p((t) => {
18
+ M(t.selectedScrollSnap());
19
+ }, []), m = p(
20
+ (t) => {
21
+ n == null || n(t.selectedScrollSnap());
22
+ },
23
+ [n]
24
+ );
25
+ D(() => {
26
+ if (e)
27
+ return f(e), r(e), e.on("reInit", f).on("reInit", r).on("select", r).on("settle", m), () => {
28
+ e.off("reInit", f).off("reInit", r).off("select", r).off("settle", m);
29
+ };
30
+ }, [e, f, r, m]);
31
+ const S = (() => {
32
+ if (l.length <= i) return l;
33
+ const t = Math.floor(i / 2);
34
+ let o = Math.max(0, g - t);
35
+ const a = Math.min(l.length, o + i);
36
+ return a - o < i && (o = Math.max(0, a - i)), l.slice(o, a);
37
+ })();
38
+ return /* @__PURE__ */ c(
39
+ "div",
40
+ {
41
+ ref: $,
42
+ role: "group",
43
+ "aria-roledescription": "pagination",
44
+ "aria-label": "pagination",
45
+ className: u(`${s}-pagination`, N, `${s}-pagination-${b}`),
46
+ ...d,
47
+ ...C,
48
+ children: /* @__PURE__ */ c("div", { className: `${s}-pagination-container`, children: /* @__PURE__ */ c("div", { className: `${s}-pagination-container-inner`, children: S.map((t, o) => {
49
+ const a = l.indexOf(S[o]), k = g === a;
50
+ return /* @__PURE__ */ c(
51
+ "button",
52
+ {
53
+ role: "button",
54
+ onClick: () => x(a),
55
+ className: u(`${s}-pagination-dot-container`),
56
+ children: /* @__PURE__ */ c(
57
+ "span",
58
+ {
59
+ className: u(`${s}-pagination-dot`, {
60
+ [`${s}-pagination-dot-selected`]: k
61
+ })
62
+ }
63
+ )
64
+ },
65
+ a
66
+ );
67
+ }) }) })
68
+ }
69
+ );
70
+ }
71
+ );
72
+ _.displayName = "CarouselDots";
73
+ export {
74
+ _ as default
75
+ };
@@ -0,0 +1,11 @@
1
+ import { ComponentProps } from 'react';
2
+ export type CarouselItemProps = ComponentProps<'div'>;
3
+ /**
4
+ * ## Overview
5
+ *
6
+ * An individual item within the carousel.
7
+ * It will stretch to fill the width of the carousel viewport.
8
+ *
9
+ */
10
+ declare const CarouselItem: import("react").ForwardRefExoticComponent<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
11
+ export default CarouselItem;
@@ -0,0 +1,25 @@
1
+ import { jsx as t } from "react/jsx-runtime";
2
+ import l from "../../node_modules/classnames/index.js";
3
+ import { forwardRef as i } from "react";
4
+ import { getCommonProps as p } from "../../utils/index.js";
5
+ import { useCarousel as c } from "./utils.js";
6
+ const u = i(({ className: m, ...o }, s) => {
7
+ const { className: r, ...a } = p(o, "Carousel"), { columnGap: e } = c();
8
+ return /* @__PURE__ */ t(
9
+ "div",
10
+ {
11
+ ref: s,
12
+ role: "group",
13
+ "aria-roledescription": "slide",
14
+ className: l(`${r}-item`, m, {
15
+ [`${r}-item--gap-${e}`]: !!e
16
+ }),
17
+ ...o,
18
+ ...a
19
+ }
20
+ );
21
+ });
22
+ u.displayName = "CarouselItem";
23
+ export {
24
+ u as default
25
+ };
@@ -0,0 +1,4 @@
1
+ export { default as Carousel, type CarouselProps, type CarouselApi } from './Carousel';
2
+ export { default as CarouselContent, type CarouselContentProps } from './CarouselContent';
3
+ export { default as CarouselItem, type CarouselItemProps } from './CarouselItem';
4
+ export { default as CarouselDots, type CarouselDotsProps } from './CarouselDots';
@@ -0,0 +1,8 @@
1
+ export declare function useCarousel(): {
2
+ carouselRef: import("embla-carousel-react").EmblaViewportRefType;
3
+ api: import("embla-carousel").EmblaCarouselType | undefined;
4
+ scrollPrev: () => void;
5
+ scrollNext: () => void;
6
+ canScrollPrev: boolean;
7
+ canScrollNext: boolean;
8
+ } & import("./Carousel").CarouselProps;
@@ -0,0 +1,11 @@
1
+ import { useContext as e } from "react";
2
+ import { CarouselContext as r } from "./Carousel.js";
3
+ function s() {
4
+ const o = e(r);
5
+ if (!o)
6
+ throw new Error("useCarousel must be used within a <Carousel />");
7
+ return o;
8
+ }
9
+ export {
10
+ s as useCarousel
11
+ };
@@ -1,5 +1,5 @@
1
1
  import { jsxs as m, jsx as o } from "react/jsx-runtime";
2
- import { forwardRef as N, useState as i, useRef as x, useEffect as $, useCallback as P } from "react";
2
+ import { forwardRef as y, useState as i, useRef as x, useEffect as $, useCallback as P } from "react";
3
3
  import c from "../../node_modules/classnames/index.js";
4
4
  import { getCommonProps as b } from "../../utils/index.js";
5
5
  import k from "../Button/Button.js";
@@ -9,7 +9,7 @@ import E from "../Collapsible/CollapsibleContent.js";
9
9
  import M from "../Collapsible/CollapsibleTrigger.js";
10
10
  import O from "../../assets/plus.svg.js";
11
11
  import S from "../../assets/minus.svg.js";
12
- const j = N(
12
+ const j = y(
13
13
  ({
14
14
  className: f,
15
15
  children: n,
@@ -22,15 +22,15 @@ const j = N(
22
22
  $(() => {
23
23
  s.current && C(s.current.scrollHeight > a);
24
24
  }, [n, a]);
25
- const h = P(() => {
26
- v((y) => !y);
25
+ const N = P(() => {
26
+ v((h) => !h);
27
27
  }, []);
28
28
  return /* @__PURE__ */ m(
29
29
  w,
30
30
  {
31
31
  id: r == null ? void 0 : r.id,
32
32
  open: t,
33
- onOpenChange: h,
33
+ onOpenChange: N,
34
34
  className: c(e, f),
35
35
  style: {
36
36
  "--content-peek-max-height": `${a}px`
@@ -1,7 +1,7 @@
1
1
  import { jsx as r, jsxs as s } from "react/jsx-runtime";
2
2
  import { getCommonProps as d, noOp as p } from "../../utils/index.js";
3
3
  import o from "../../node_modules/classnames/index.js";
4
- import { Root as f, Portal as C, Overlay as h, Content as u, Title as v, Description as N, Close as w } from "../../node_modules/@radix-ui/react-dialog/dist/index.js";
4
+ import { Root as f, Portal as C, Overlay as h, Content as N, Title as u, Description as v, Close as w } from "../../node_modules/@radix-ui/react-dialog/dist/index.js";
5
5
  import y from "../../assets/close.svg.js";
6
6
  import _ from "../IconButton/IconButton.js";
7
7
  import { ButtonVariants as g } from "../Button/types.js";
@@ -23,9 +23,9 @@ const B = ({ className: i, isOpen: l = !1, onClose: a = p, children: m, ...t })
23
23
  "data-testid": "drawer-overlay"
24
24
  }
25
25
  ),
26
- /* @__PURE__ */ s(u, { className: o(e, i), id: t.id, ...n, children: [
26
+ /* @__PURE__ */ s(N, { className: o(e, i), id: t.id, ...n, children: [
27
+ /* @__PURE__ */ r(u, {}),
27
28
  /* @__PURE__ */ r(v, {}),
28
- /* @__PURE__ */ r(N, {}),
29
29
  /* @__PURE__ */ r(w, { asChild: !0, children: /* @__PURE__ */ r(
30
30
  _,
31
31
  {
@@ -6,8 +6,8 @@ import { Root as D, Trigger as $, Value as b, Icon as v, Portal as I, Content as
6
6
  import c from "../../assets/chevronDown.svg.js";
7
7
  const j = d.forwardRef(
8
8
  ({ options: l, value: a, onValueChange: s, label: t, className: _, id: m, ...h }, f) => {
9
- const { className: o, ...u } = C({ id: m }, "Dropdown"), [N, w] = g(!1);
10
- return /* @__PURE__ */ e("div", { className: i(o, _), id: m, ...u, ...h, children: /* @__PURE__ */ n(
9
+ const { className: o, ...N } = C({ id: m }, "Dropdown"), [u, w] = g(!1);
10
+ return /* @__PURE__ */ e("div", { className: i(o, _), id: m, ...N, ...h, children: /* @__PURE__ */ n(
11
11
  D,
12
12
  {
13
13
  value: a,
@@ -18,7 +18,7 @@ const j = d.forwardRef(
18
18
  children: [
19
19
  /* @__PURE__ */ n($, { className: `${o}__trigger`, "aria-label": t, ref: f, children: [
20
20
  /* @__PURE__ */ e(b, { placeholder: a }),
21
- /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(c, { className: i({ [`${o}__trigger-icon-expanded`]: N }) }) })
21
+ /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(c, { className: i({ [`${o}__trigger-icon-expanded`]: u }) }) })
22
22
  ] }),
23
23
  /* @__PURE__ */ e(I, { children: /* @__PURE__ */ n(S, { className: `${o}__content`, position: "popper", children: [
24
24
  /* @__PURE__ */ e(x, { className: `${o}__scroll-button__up`, children: /* @__PURE__ */ e(c, {}) }),
@@ -10,12 +10,12 @@ function C({
10
10
  rowGap: t = e.lg,
11
11
  ...m
12
12
  }) {
13
- const { className: n, ...i } = d(m, "Grid");
13
+ const { className: i, ...n } = d(m, "Grid");
14
14
  return /* @__PURE__ */ c(
15
15
  r,
16
16
  {
17
- ...i,
18
- className: l(f(n, a, t), s),
17
+ ...n,
18
+ className: l(f(i, a, t), s),
19
19
  ...m,
20
20
  children: o
21
21
  }
@@ -1,8 +1,8 @@
1
- import t from "../../node_modules/classnames/index.js";
2
- const m = (r, o, n) => t(
1
+ import $ from "../../node_modules/classnames/index.js";
2
+ const n = (r, o, t) => $(
3
3
  `${r} ${r}--column-gap-${o}`,
4
- `${r}--row-gap-${n}`
4
+ `${r}--row-gap-${t}`
5
5
  );
6
6
  export {
7
- m as determineGridClassName
7
+ n as determineGridClassName
8
8
  };
@@ -1,29 +1,29 @@
1
1
  import { jsx as I } from "react/jsx-runtime";
2
2
  import { useMemo as l } from "react";
3
- import { getCommonProps as b } from "../../utils/index.js";
4
- import j from "../../node_modules/classnames/index.js";
5
- import { determineColumnSpanClassName as v, validateColumnSpans as G } from "./gridItemUtils.js";
6
- import { GridItemAlign as N } from "./types.js";
3
+ import { getCommonProps as N } from "../../utils/index.js";
4
+ import b from "../../node_modules/classnames/index.js";
5
+ import { determineColumnSpanClassName as j, validateColumnSpans as v } from "./gridItemUtils.js";
6
+ import { GridItemAlign as G } from "./types.js";
7
7
  const A = ({
8
8
  children: p,
9
9
  xs: m = 2,
10
10
  sm: r = 2,
11
11
  md: t = 6,
12
12
  lg: o = 12,
13
- align: s = N.center,
13
+ align: s = G.center,
14
14
  element: c = "div",
15
15
  className: n,
16
16
  ...a
17
17
  }) => {
18
- const { className: i, ...u } = b(a, "GridItem"), e = l(() => ({ xs: m, sm: r, md: t, lg: o }), [m, r, t, o]), f = l(() => [
18
+ const { className: i, ...u } = N(a, "GridItem"), e = l(() => ({ xs: m, sm: r, md: t, lg: o }), [m, r, t, o]), f = l(() => [
19
19
  i,
20
20
  // figure out the class names for each breakpoint
21
21
  Object.entries(e).map(
22
- ([d, C]) => v(d, C, s)
22
+ ([d, C]) => j(d, C, s)
23
23
  ),
24
24
  n
25
25
  ], [s, e, i, n]);
26
- return G(Object.values(e)) ? /* @__PURE__ */ I(c, { ...u, className: j(f), ...a, children: p }) : null;
26
+ return v(Object.values(e)) ? /* @__PURE__ */ I(c, { ...u, className: b(f), ...a, children: p }) : null;
27
27
  };
28
28
  export {
29
29
  A as default
@@ -3,7 +3,7 @@ import f from "../../node_modules/classnames/index.js";
3
3
  import p from "../Button/Button.js";
4
4
  import { getCommonProps as i } from "../../utils/index.js";
5
5
  import { ButtonVariants as l } from "../Button/types.js";
6
- const C = ({
6
+ const x = ({
7
7
  children: s,
8
8
  size: r = "md",
9
9
  variant: m = l.primary,
@@ -25,5 +25,5 @@ const C = ({
25
25
  );
26
26
  };
27
27
  export {
28
- C as default
28
+ x as default
29
29
  };
@@ -1,18 +1,18 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import p from "../../node_modules/classnames/index.js";
3
3
  import { getCommonProps as f } from "../../utils/index.js";
4
- import { getLinkVariantClassName as k, isLinkExternal as x } from "./utils.js";
5
- import { LinkVariants as L } from "./types.js";
6
- import N from "../Text/Text.js";
4
+ import { getLinkVariantClassName as k, isLinkExternal as N } from "./utils.js";
5
+ import { LinkVariants as x } from "./types.js";
6
+ import L from "../Text/Text.js";
7
7
  const V = ({
8
8
  children: m,
9
9
  className: n,
10
10
  element: r = "a",
11
- variant: o = L.link,
11
+ variant: o = x.link,
12
12
  href: s,
13
13
  ...a
14
14
  }) => {
15
- const { className: t, ...i } = f(a, "Link"), l = p(t, k(o), n), c = x(s);
15
+ const { className: t, ...i } = f(a, "Link"), l = p(t, k(o), n), c = N(s);
16
16
  return /* @__PURE__ */ e(
17
17
  r,
18
18
  {
@@ -21,7 +21,7 @@ const V = ({
21
21
  className: l,
22
22
  ...c && r === "a" ? { rel: "noopener noreferrer", target: "_blank" } : {},
23
23
  ...a,
24
- children: /* @__PURE__ */ e(N, { variant: o, children: m })
24
+ children: /* @__PURE__ */ e(L, { variant: o, children: m })
25
25
  }
26
26
  );
27
27
  };
@@ -1,10 +1,10 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { getCommonProps as c } from "../../utils/index.js";
3
- import d from "../../node_modules/classnames/index.js";
4
- import { Grid as o } from "../Grid/Grid.js";
2
+ import { getCommonProps as N } from "../../utils/index.js";
3
+ import c from "../../node_modules/classnames/index.js";
4
+ import { Grid as d } from "../Grid/Grid.js";
5
5
  const P = ({ children: i, className: l, ...r }) => {
6
- const { className: m, ...f } = c(r, "LinkList");
7
- return /* @__PURE__ */ t(o, { ...f, className: d(m, l), element: "ul", role: "list", ...r, children: i.map((s) => {
6
+ const { className: m, ...f } = N(r, "LinkList");
7
+ return /* @__PURE__ */ t(d, { ...f, className: c(m, l), element: "ul", role: "list", ...r, children: i.map((s) => {
8
8
  var a, e;
9
9
  return /* @__PURE__ */ t("li", { className: `${m}--item`, children: s }, (e = (a = s == null ? void 0 : s.props) == null ? void 0 : a.linkProps) == null ? void 0 : e.href);
10
10
  }) });