wimui 0.30.0 → 0.31.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 (35) hide show
  1. package/README.ja.md +10 -9
  2. package/README.md +9 -6
  3. package/dist/components/_internal/StatusContent.cjs +1 -1
  4. package/dist/components/_internal/StatusContent.d.ts +9 -2
  5. package/dist/components/_internal/StatusContent.js +4 -2
  6. package/dist/components/_internal/status-content.module.cjs +1 -1
  7. package/dist/components/_internal/status-content.module.js +11 -9
  8. package/dist/components/data-display/Carousel/Carousel.cjs +1 -1
  9. package/dist/components/data-display/Carousel/Carousel.d.ts +6 -0
  10. package/dist/components/data-display/Carousel/Carousel.js +92 -92
  11. package/dist/components/data-display/Carousel/carousel.module.cjs +1 -1
  12. package/dist/components/data-display/Carousel/carousel.module.js +14 -13
  13. package/dist/components/data-display/EmptyState/EmptyState.cjs +1 -1
  14. package/dist/components/data-display/EmptyState/EmptyState.d.ts +7 -1
  15. package/dist/components/data-display/EmptyState/EmptyState.js +4 -3
  16. package/dist/components/data-display/Marquee/Marquee.cjs +1 -1
  17. package/dist/components/data-display/Marquee/Marquee.d.ts +4 -1
  18. package/dist/components/data-display/Marquee/Marquee.js +4 -2
  19. package/dist/components/data-display/Marquee/marquee.module.cjs +1 -1
  20. package/dist/components/data-display/Marquee/marquee.module.js +1 -1
  21. package/dist/components/data-display/Stats/Stats.cjs +1 -1
  22. package/dist/components/data-display/Stats/Stats.d.ts +14 -3
  23. package/dist/components/data-display/Stats/Stats.js +12 -6
  24. package/dist/components/data-display/Stats/stats.module.cjs +1 -1
  25. package/dist/components/data-display/Stats/stats.module.js +4 -4
  26. package/dist/components/form/RichTextEditor/commands.d.ts +1 -1
  27. package/dist/components/overlay/Dropdown/Dropdown.cjs +1 -1
  28. package/dist/components/overlay/Dropdown/Dropdown.d.ts +14 -0
  29. package/dist/components/overlay/Dropdown/Dropdown.js +99 -93
  30. package/dist/llms-full.txt +15 -3
  31. package/dist/llms.txt +2 -2
  32. package/dist/styles.css +2 -2
  33. package/dist/wimui.umd.css +1 -1
  34. package/dist/wimui.umd.js +5 -5
  35. package/package.json +30 -11
package/README.ja.md CHANGED
@@ -426,7 +426,7 @@ npm run scaffold -- <Name> <category> [categoryId]
426
426
  # 例: npm run scaffold -- MyInput form basic-inputs
427
427
  ```
428
428
 
429
- `src/components/<category>/<Name>/` と `stories/<category>/<Name>/` のボイラープレートを生成します。続けて `src/<category>.ts` への export 追加、翻訳キー、MDX 記述が必要です(詳細は `AGENTS.md` / `SKILLS.md`)。
429
+ `src/components/<category>/<Name>/` と `stories/<category>/<Name>/` のボイラープレートを生成します。続けて `src/<category>.ts` への export 追加、翻訳キー、MDX 記述が必要です(詳細は `AGENTS.md` / `docs/rules/new-component.md`)。
430
430
 
431
431
  ### パッケージバージョン確認
432
432
 
@@ -617,14 +617,14 @@ git commit -m "commit message" --no-verify
617
617
  ## コーディングルール
618
618
 
619
619
  - スタイリング:新規コンポーネントは CSS Modules(`*.module.scss`)を推奨
620
- - CSSクラス名:従来のグローバルクラスは `wim-` プレフィックスを使用(詳細は `RULES.md` を参照)
620
+ - CSSクラス名:従来のグローバルクラスは `wim-` プレフィックスを使用(詳細は `docs/rules/tokens.md` を参照)
621
621
 
622
622
 
623
623
  ## ドキュメントの自動抽出 (Docgen)
624
624
 
625
625
  WIM UI では、コンポーネントの仕様(Props、デザイントークン、構成要素)を自動抽出し、MDX に埋め込む仕組みを構築しています。
626
626
  Vite の開発サーバー起動時やファイル保存時に `src/data/docgen_*.json` が自動更新されるため、手動でスクリプトを実行する必要はありません(生成物は gitignore され、Storybook の Vite プラグインが出力します)。
627
- MDX の記述方法の詳細は `SKILLS.md` を参照してください。
627
+ MDX の記述方法の詳細は `docs/rules/mdx.md` を参照してください。
628
628
 
629
629
  ## デザイントークン
630
630
 
@@ -647,13 +647,14 @@ npm run tokens:build # Style Dictionary + intent 生成(SCSS / TypeScript)
647
647
 
648
648
  このコマンドにより、コンポーネント開発時に最新のトークンが型補完として利用可能になります。
649
649
 
650
-
651
-
652
-
653
-
654
650
  ## ワークフロー
655
651
 
652
+ `main` は保護されているので、変更はブランチと PR 経由で入れます([CONTRIBUTING.md](./CONTRIBUTING.md))。
653
+
654
+ ```bash
655
+ git switch -c feat/my-change
656
656
  git add .
657
657
  git commit -m "..."
658
- git pull --rebase origin main
659
- git push origin main
658
+ git push -u origin feat/my-change
659
+ gh pr create
660
+ ```
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # wimui
2
2
 
3
- [English](./README.md) · [日本語](./README.ja.md)
3
+ **English** · [日本語](./README.ja.md)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/wimui.svg)](https://www.npmjs.com/package/wimui) [![license](https://img.shields.io/npm/l/wimui.svg)](./LICENSE)
6
6
 
@@ -424,7 +424,7 @@ npm run scaffold -- <Name> <category> [categoryId]
424
424
  # e.g. npm run scaffold -- MyInput form basic-inputs
425
425
  ```
426
426
 
427
- Generates boilerplate under `src/components/<category>/<Name>/` and `stories/<category>/<Name>/`. You then need to add the export to `src/<category>.ts`, add translation keys, and write the MDX (see `AGENTS.md` / `SKILLS.md`).
427
+ Generates boilerplate under `src/components/<category>/<Name>/` and `stories/<category>/<Name>/`. You then need to add the export to `src/<category>.ts`, add translation keys, and write the MDX (see `AGENTS.md` / `docs/rules/new-component.md`).
428
428
 
429
429
  ### Check package versions
430
430
 
@@ -615,13 +615,13 @@ git commit -m "commit message" --no-verify
615
615
  ## Coding rules
616
616
 
617
617
  - Styling: new components should use CSS Modules (`*.module.scss`)
618
- - CSS class names: legacy global classes use the `wim-` prefix (see `RULES.md` for details)
618
+ - CSS class names: legacy global classes use the `wim-` prefix (see `docs/rules/tokens.md` for details)
619
619
 
620
620
  ## Automatic documentation extraction (Docgen)
621
621
 
622
622
  WIM UI extracts component specs (Props, design tokens, anatomy) automatically and embeds them into MDX.
623
623
  `src/data/docgen_*.json` is refreshed automatically when the Vite dev server starts or on file save, so you don't need to run a script manually (the output is gitignored and produced by Storybook's Vite plugin).
624
- For details on writing MDX, see `SKILLS.md`.
624
+ For details on writing MDX, see `docs/rules/mdx.md`.
625
625
 
626
626
  ## Design tokens
627
627
 
@@ -646,9 +646,12 @@ This makes the latest tokens available as type completions during component deve
646
646
 
647
647
  ## Workflow
648
648
 
649
+ `main` is protected: changes land through a branch and a pull request (see [CONTRIBUTING.md](./CONTRIBUTING.md)).
650
+
649
651
  ```bash
652
+ git switch -c feat/my-change
650
653
  git add .
651
654
  git commit -m "..."
652
- git pull --rebase origin main
653
- git push origin main
655
+ git push -u origin feat/my-change
656
+ gh pr create
654
657
  ```
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./status-content.module.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("classnames");r=e.__toESM(r,1);let i=require("react/jsx-runtime");var a=({icon:e,title:n,description:a,actions:o,children:s,className:c,size:l=`md`,prefixCls:u})=>(0,i.jsxs)(`div`,{className:(0,r.default)(t.default.root,t.default[l],u,c),children:[(0,i.jsxs)(`div`,{className:t.default.container,children:[e&&(0,i.jsx)(`div`,{className:t.default.icon,children:e}),(0,i.jsxs)(`div`,{className:t.default.content,children:[n&&(0,i.jsx)(`div`,{className:t.default.title,children:n}),a&&(0,i.jsx)(`div`,{className:t.default.description,children:a})]})]}),s&&(0,i.jsx)(`div`,{className:t.default.body,children:s}),o&&(0,i.jsx)(`div`,{className:t.default.actions,children:o})]});exports.StatusContent=a;
2
+ const e=require("../../_virtual/_rolldown/runtime.cjs"),t=require("./status-content.module.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("classnames");r=e.__toESM(r,1);let i=require("react/jsx-runtime");var a=({icon:e,title:n,description:a,actions:o,children:s,className:c,size:l=`md`,align:u=`start`,prefixCls:d,...f})=>(0,i.jsxs)(`div`,{...f,"data-align":u,className:(0,r.default)(t.default.root,t.default[l],u===`center`?t.default.alignCenter:t.default.alignStart,d,c),children:[(0,i.jsxs)(`div`,{className:t.default.container,children:[e&&(0,i.jsx)(`div`,{className:t.default.icon,children:e}),(0,i.jsxs)(`div`,{className:t.default.content,children:[n&&(0,i.jsx)(`div`,{className:t.default.title,children:n}),a&&(0,i.jsx)(`div`,{className:t.default.description,children:a})]})]}),s&&(0,i.jsx)(`div`,{className:t.default.body,children:s}),o&&(0,i.jsx)(`div`,{className:t.default.actions,children:o})]});exports.StatusContent=a;
@@ -3,7 +3,7 @@ import { ComponentSize } from '../../types/tokens';
3
3
  /**
4
4
  * Props for the StatusContent component.
5
5
  */
6
- export type StatusContentProps = {
6
+ export type StatusContentProps = Omit<React.ComponentPropsWithoutRef<"div">, "title" | "children"> & {
7
7
  /**
8
8
  * Main icon representing the status or state.
9
9
  */
@@ -33,6 +33,13 @@ export type StatusContentProps = {
33
33
  * @default "md"
34
34
  */
35
35
  size?: ComponentSize;
36
+ /**
37
+ * Horizontal alignment of the icon, text, and actions. Start-aligned reads as
38
+ * part of the surrounding content; use `"center"` only when the status is the
39
+ * only thing in its region (for example, a full-page empty result).
40
+ * @default "start"
41
+ */
42
+ align?: "start" | "center";
36
43
  /**
37
44
  * Custom class name prefix for the root element.
38
45
  */
@@ -47,4 +54,4 @@ export type StatusContentProps = {
47
54
  * - Ensures consistent spacing and typography across different status displays.
48
55
  * - Supports responsive sizing via the `size` prop.
49
56
  */
50
- export declare const StatusContent: ({ icon, title, description, actions, children, className, size, prefixCls, }: StatusContentProps) => React.JSX.Element;
57
+ export declare const StatusContent: ({ icon, title, description, actions, children, className, size, align, prefixCls, ...rest }: StatusContentProps) => React.JSX.Element;
@@ -4,8 +4,10 @@ import "react";
4
4
  import t from "classnames";
5
5
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
6
6
  //#region src/components/_internal/StatusContent.tsx
7
- var i = ({ icon: i, title: a, description: o, actions: s, children: c, className: l, size: u = "md", prefixCls: d }) => /* @__PURE__ */ r("div", {
8
- className: t(e.root, e[u], d, l),
7
+ var i = ({ icon: i, title: a, description: o, actions: s, children: c, className: l, size: u = "md", align: d = "start", prefixCls: f, ...p }) => /* @__PURE__ */ r("div", {
8
+ ...p,
9
+ "data-align": d,
10
+ className: t(e.root, e[u], d === "center" ? e.alignCenter : e.alignStart, f, l),
9
11
  children: [
10
12
  /* @__PURE__ */ r("div", {
11
13
  className: e.container,
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- var e=`_root_yuxna_3`,t=`_sm_yuxna_11`,n=`_container_yuxna_17`,r=`_icon_yuxna_22`,i=`_title_yuxna_30`,a=`_description_yuxna_33`,o=`_actions_yuxna_36`,s=`_content_yuxna_46`,c=`_body_yuxna_84`,l={root:e,sm:t,container:n,icon:r,title:i,description:a,actions:o,content:s,body:c};exports.actions=o,exports.body=c,exports.container=n,exports.content=s,exports.default=l,exports.description=a,exports.icon=r,exports.root=e,exports.sm=t,exports.title=i;
2
+ var e=`_root_a7t1s_3`,t=`_alignStart_a7t1s_11`,n=`_container_a7t1s_15`,r=`_actions_a7t1s_18`,i=`_alignCenter_a7t1s_21`,a=`_sm_a7t1s_35`,o=`_icon_a7t1s_44`,s=`_title_a7t1s_52`,c=`_description_a7t1s_55`,l=`_content_a7t1s_66`,u=`_body_a7t1s_103`,d={root:e,alignStart:t,container:n,actions:r,alignCenter:i,sm:a,icon:o,title:s,description:c,content:l,body:u};exports.actions=r,exports.alignCenter=i,exports.alignStart=t,exports.body=u,exports.container=n,exports.content=l,exports.default=d,exports.description=c,exports.icon=o,exports.root=e,exports.sm=a,exports.title=s;
@@ -1,15 +1,17 @@
1
1
  "use client";
2
2
  //#region src/components/_internal/status-content.module.scss
3
- var e = "_root_yuxna_3", t = "_sm_yuxna_11", n = "_container_yuxna_17", r = "_icon_yuxna_22", i = "_title_yuxna_30", a = "_description_yuxna_33", o = "_actions_yuxna_36", s = "_content_yuxna_46", c = "_body_yuxna_84", l = {
3
+ var e = "_root_a7t1s_3", t = "_alignStart_a7t1s_11", n = "_container_a7t1s_15", r = "_actions_a7t1s_18", i = "_alignCenter_a7t1s_21", a = "_sm_a7t1s_35", o = "_icon_a7t1s_44", s = "_title_a7t1s_52", c = "_description_a7t1s_55", l = "_content_a7t1s_66", u = "_body_a7t1s_103", d = {
4
4
  root: e,
5
- sm: t,
5
+ alignStart: t,
6
6
  container: n,
7
- icon: r,
8
- title: i,
9
- description: a,
10
- actions: o,
11
- content: s,
12
- body: c
7
+ actions: r,
8
+ alignCenter: i,
9
+ sm: a,
10
+ icon: o,
11
+ title: s,
12
+ description: c,
13
+ content: l,
14
+ body: u
13
15
  };
14
16
  //#endregion
15
- export { o as actions, c as body, n as container, s as content, l as default, a as description, r as icon, e as root, t as sm, i as title };
17
+ export { r as actions, i as alignCenter, t as alignStart, u as body, n as container, l as content, d as default, c as description, o as icon, e as root, a as sm, s as title };
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../node_modules/@radix-ui/react-slot/dist/index.cjs"),n=require("../../../icon/chevron-left.cjs"),r=require("../../../icon/chevron-right.cjs"),i=require("../../media/Icon/Icon.cjs"),a=require("./carousel.module.cjs");let o=require("react");o=e.__toESM(o,1);let s=require("classnames");s=e.__toESM(s,1);let c=require("react/jsx-runtime");var l={slideLabel:e=>`Slide ${e}`,prevSlide:`Previous slide`,nextSlide:`Next slide`,goToSlide:e=>`Go to slide ${e}`},u=(e,t)=>typeof e==`number`?e:e?t>=1280&&e.xl?e.xl:t>=1024&&e.lg?e.lg:t>=768&&e.md?e.md:t>=640&&e.sm?e.sm:e.base||1:1,d=(0,o.forwardRef)(({children:e,autoPlay:d=!1,interval:f=5e3,showIndicators:p=!0,showControls:m=!0,loop:h=!0,slidesToShow:g=1,aspectRatio:_,objectFit:v=`cover`,labels:y,className:b,asChild:x,...S},C)=>{let w=x?t.Root:`div`,T={...l,...y},E=(0,o.useMemo)(()=>o.default.Children.toArray(e),[e]),D=E.length,[O,k]=(0,o.useState)(typeof window<`u`?window.innerWidth:0),[A,j]=(0,o.useState)(h?D:0),[M,N]=(0,o.useState)(!1),[P,F]=(0,o.useState)(!1),I=u(g,O),L=(0,o.useRef)(null),R=(0,o.useRef)(null),z=(0,o.useRef)(null),B=(0,o.useRef)(null);(0,o.useEffect)(()=>{let e=()=>k(window.innerWidth);return window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[]);let V=(0,o.useMemo)(()=>!h||D===0?E:[...E,...E,...E],[E,h,D]),H=(0,o.useCallback)(()=>{if(!M){if(!h){j(e=>Math.min(e+1,D-I));return}N(!0),j(e=>e+1)}},[M,h,D,I]),U=(0,o.useCallback)(()=>{if(!M){if(!h){j(e=>Math.max(e-1,0));return}N(!0),j(e=>e-1)}},[M,h]),W=e=>{M||(h?(N(!0),j(e+D)):j(e))},G=()=>{h&&(N(!1),A>=D*2?j(A-D):A<D&&j(A+D))};(0,o.useEffect)(()=>(d&&!P&&D>I&&(L.current=window.setInterval(H,f)),()=>{L.current&&window.clearInterval(L.current)}),[d,f,H,D,I,P]);let K=e=>{e.key===`ArrowLeft`?U():e.key===`ArrowRight`&&H()},q=e=>{z.current=e.targetTouches[0].clientX},J=e=>{B.current=e.targetTouches[0].clientX},Y=()=>{if(!z.current||!B.current)return;let e=z.current-B.current;e>50?H():e<-50&&U(),z.current=null,B.current=null};if(D===0)return null;let X=100/I,Z=-A*X;return(0,c.jsxs)(w,{ref:C,className:(0,s.default)(`wim-carousel`,a.default.root,b),onMouseEnter:()=>F(!0),onMouseLeave:()=>F(!1),onFocus:()=>F(!0),onBlur:()=>F(!1),onKeyDown:K,tabIndex:0,role:`region`,"aria-roledescription":`carousel`,...S,children:[(0,c.jsx)(`div`,{className:a.default.viewport,children:(0,c.jsx)(`div`,{ref:R,className:(0,s.default)(a.default.track,M&&a.default.transition),style:{transform:`translateX(${Z}%)`},onTransitionEnd:G,onTouchStart:q,onTouchMove:J,onTouchEnd:Y,children:V.map((e,t)=>(0,c.jsx)(`div`,{className:(0,s.default)(a.default.item,_&&a.default.hasAspectRatio),style:{flex:`0 0 ${X}%`,width:`${X}%`,..._?{aspectRatio:_,"--wim-carousel-object-fit":v}:{}},role:`group`,"aria-roledescription":`slide`,"aria-label":T.slideLabel(t%D+1),children:e},t))})}),m&&D>I&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(`button`,{className:(0,s.default)(a.default.control,a.default.prev),onClick:U,"aria-label":T.prevSlide,disabled:!h&&A===0,tabIndex:-1,children:(0,c.jsx)(i.Icon,{component:n.default,size:`md`})}),(0,c.jsx)(`button`,{className:(0,s.default)(a.default.control,a.default.next),onClick:H,"aria-label":T.nextSlide,disabled:!h&&A>=D-I,tabIndex:-1,children:(0,c.jsx)(i.Icon,{component:r.default,size:`md`})})]}),p&&D>1&&(0,c.jsx)(`div`,{className:a.default.indicators,children:E.map((e,t)=>{let n=h?A%D===t:A===t;return(0,c.jsx)(`button`,{className:(0,s.default)(a.default.indicator,n&&a.default.active),onClick:()=>W(t),"aria-label":T.goToSlide(t+1),"aria-current":n?`true`:`false`},t)})})]})});d.displayName=`Carousel`,exports.Carousel=d;
2
+ const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../../node_modules/@radix-ui/react-slot/dist/index.cjs"),n=require("../../../icon/chevron-left.cjs"),r=require("../../../icon/chevron-right.cjs"),i=require("../../media/Icon/Icon.cjs"),a=require("./carousel.module.cjs");let o=require("react");o=e.__toESM(o,1);let s=require("classnames");s=e.__toESM(s,1);let c=require("react/jsx-runtime");var l={slideLabel:e=>`Slide ${e}`,prevSlide:`Previous slide`,nextSlide:`Next slide`,goToSlide:e=>`Go to slide ${e}`},u=(e,t)=>typeof e==`number`?e:e?t>=1280&&e.xl?e.xl:t>=1024&&e.lg?e.lg:t>=768&&e.md?e.md:t>=640&&e.sm?e.sm:e.base||1:1,d=(0,o.forwardRef)(({children:e,autoPlay:d=!1,interval:f=5e3,showIndicators:p=!0,showControls:m=!0,controlsPlacement:h=`overlay`,loop:g=!0,slidesToShow:_=1,aspectRatio:v,objectFit:y=`cover`,labels:b,className:x,asChild:S,...C},w)=>{let T=S?t.Root:`div`,E={...l,...b},D=(0,o.useMemo)(()=>o.default.Children.toArray(e),[e]),O=D.length,[k,A]=(0,o.useState)(typeof window<`u`?window.innerWidth:0),[j,M]=(0,o.useState)(g?O:0),[N,P]=(0,o.useState)(!1),[F,I]=(0,o.useState)(!1),L=u(_,k),R=(0,o.useRef)(null),z=(0,o.useRef)(null),B=(0,o.useRef)(null),V=(0,o.useRef)(null);(0,o.useEffect)(()=>{let e=()=>A(window.innerWidth);return window.addEventListener(`resize`,e),()=>window.removeEventListener(`resize`,e)},[]);let H=(0,o.useMemo)(()=>!g||O===0?D:[...D,...D,...D],[D,g,O]),U=(0,o.useCallback)(()=>{if(!N){if(!g){M(e=>Math.min(e+1,O-L));return}P(!0),M(e=>e+1)}},[N,g,O,L]),W=(0,o.useCallback)(()=>{if(!N){if(!g){M(e=>Math.max(e-1,0));return}P(!0),M(e=>e-1)}},[N,g]),G=e=>{N||(g?(P(!0),M(e+O)):M(e))},K=()=>{g&&(P(!1),j>=O*2?M(j-O):j<O&&M(j+O))};(0,o.useEffect)(()=>(d&&!F&&O>L&&(R.current=window.setInterval(U,f)),()=>{R.current&&window.clearInterval(R.current)}),[d,f,U,O,L,F]);let q=e=>{e.key===`ArrowLeft`?W():e.key===`ArrowRight`&&U()},J=e=>{B.current=e.targetTouches[0].clientX},Y=e=>{V.current=e.targetTouches[0].clientX},X=()=>{if(!B.current||!V.current)return;let e=B.current-V.current;e>50?U():e<-50&&W(),B.current=null,V.current=null};if(O===0)return null;let Z=100/L,Q=-j*Z;return(0,c.jsxs)(T,{ref:w,className:(0,s.default)(`wim-carousel`,a.default.root,h===`outside`&&a.default.controlsOutside,x),onMouseEnter:()=>I(!0),onMouseLeave:()=>I(!1),onFocus:()=>I(!0),onBlur:()=>I(!1),onKeyDown:q,tabIndex:0,role:`region`,"aria-roledescription":`carousel`,...C,children:[(0,c.jsx)(`div`,{className:a.default.viewport,children:(0,c.jsx)(`div`,{ref:z,className:(0,s.default)(a.default.track,N&&a.default.transition),style:{transform:`translateX(${Q}%)`},onTransitionEnd:K,onTouchStart:J,onTouchMove:Y,onTouchEnd:X,children:H.map((e,t)=>(0,c.jsx)(`div`,{className:(0,s.default)(a.default.item,v&&a.default.hasAspectRatio),style:{flex:`0 0 ${Z}%`,width:`${Z}%`,...v?{aspectRatio:v,"--wim-carousel-object-fit":y}:{}},role:`group`,"aria-roledescription":`slide`,"aria-label":E.slideLabel(t%O+1),children:e},t))})}),m&&O>L&&(0,c.jsxs)(c.Fragment,{children:[(0,c.jsx)(`button`,{className:(0,s.default)(a.default.control,a.default.prev),onClick:W,"aria-label":E.prevSlide,disabled:!g&&j===0,tabIndex:-1,children:(0,c.jsx)(i.Icon,{component:n.default,size:`md`})}),(0,c.jsx)(`button`,{className:(0,s.default)(a.default.control,a.default.next),onClick:U,"aria-label":E.nextSlide,disabled:!g&&j>=O-L,tabIndex:-1,children:(0,c.jsx)(i.Icon,{component:r.default,size:`md`})})]}),p&&O>1&&(0,c.jsx)(`div`,{className:a.default.indicators,children:D.map((e,t)=>{let n=g?j%O===t:j===t;return(0,c.jsx)(`button`,{className:(0,s.default)(a.default.indicator,n&&a.default.active),onClick:()=>G(t),"aria-label":E.goToSlide(t+1),"aria-current":n?`true`:`false`},t)})})]})});d.displayName=`Carousel`,exports.Carousel=d;
@@ -23,6 +23,12 @@ export type CarouselProps = {
23
23
  showIndicators?: boolean;
24
24
  /** Whether to show the previous/next buttons */
25
25
  showControls?: boolean;
26
+ /**
27
+ * Where the arrows and indicators sit. `overlay` (default) places them on top of the
28
+ * slide, which suits full-bleed images. `outside` moves the arrows beside the viewport
29
+ * and the indicators below it, so they never cover a slide made of text.
30
+ */
31
+ controlsPlacement?: "overlay" | "outside";
26
32
  /** Whether to loop infinitely (seamless transitions) */
27
33
  loop?: boolean;
28
34
  /** Number of slides to show at once. A number or an object per breakpoint. */
@@ -6,148 +6,148 @@ import { Icon as r } from "../../media/Icon/Icon.js";
6
6
  import i from "./carousel.module.js";
7
7
  import a, { forwardRef as o, useCallback as s, useEffect as c, useMemo as l, useRef as u, useState as d } from "react";
8
8
  import f from "classnames";
9
- import { Fragment as p, jsx as m, jsxs as h } from "react/jsx-runtime";
9
+ import { Fragment as ee, jsx as p, jsxs as m } from "react/jsx-runtime";
10
10
  //#region src/components/data-display/Carousel/Carousel.tsx
11
- var g = {
11
+ var h = {
12
12
  slideLabel: (e) => `Slide ${e}`,
13
13
  prevSlide: "Previous slide",
14
14
  nextSlide: "Next slide",
15
15
  goToSlide: (e) => `Go to slide ${e}`
16
- }, _ = (e, t) => typeof e == "number" ? e : e ? t >= 1280 && e.xl ? e.xl : t >= 1024 && e.lg ? e.lg : t >= 768 && e.md ? e.md : t >= 640 && e.sm ? e.sm : e.base || 1 : 1, v = o(({ children: o, autoPlay: v = !1, interval: y = 5e3, showIndicators: b = !0, showControls: ee = !0, loop: x = !0, slidesToShow: S = 1, aspectRatio: C, objectFit: w = "cover", labels: T, className: E, asChild: D, ...O }, k) => {
17
- let A = D ? e : "div", j = {
18
- ...g,
19
- ...T
20
- }, M = l(() => a.Children.toArray(o), [o]), N = M.length, [P, F] = d(typeof window < "u" ? window.innerWidth : 0), [I, L] = d(x ? N : 0), [R, z] = d(!1), [B, V] = d(!1), H = _(S, P), U = u(null), W = u(null), G = u(null), K = u(null);
16
+ }, g = (e, t) => typeof e == "number" ? e : e ? t >= 1280 && e.xl ? e.xl : t >= 1024 && e.lg ? e.lg : t >= 768 && e.md ? e.md : t >= 640 && e.sm ? e.sm : e.base || 1 : 1, _ = o(({ children: o, autoPlay: _ = !1, interval: v = 5e3, showIndicators: y = !0, showControls: b = !0, controlsPlacement: x = "overlay", loop: S = !0, slidesToShow: C = 1, aspectRatio: w, objectFit: T = "cover", labels: E, className: D, asChild: O, ...k }, A) => {
17
+ let j = O ? e : "div", M = {
18
+ ...h,
19
+ ...E
20
+ }, N = l(() => a.Children.toArray(o), [o]), P = N.length, [F, I] = d(typeof window < "u" ? window.innerWidth : 0), [L, R] = d(S ? P : 0), [z, B] = d(!1), [V, H] = d(!1), U = g(C, F), W = u(null), G = u(null), K = u(null), q = u(null);
21
21
  c(() => {
22
- let e = () => F(window.innerWidth);
22
+ let e = () => I(window.innerWidth);
23
23
  return window.addEventListener("resize", e), () => window.removeEventListener("resize", e);
24
24
  }, []);
25
- let q = l(() => !x || N === 0 ? M : [
26
- ...M,
27
- ...M,
28
- ...M
25
+ let J = l(() => !S || P === 0 ? N : [
26
+ ...N,
27
+ ...N,
28
+ ...N
29
29
  ], [
30
- M,
31
- x,
32
- N
33
- ]), J = s(() => {
34
- if (!R) {
35
- if (!x) {
36
- L((e) => Math.min(e + 1, N - H));
30
+ N,
31
+ S,
32
+ P
33
+ ]), Y = s(() => {
34
+ if (!z) {
35
+ if (!S) {
36
+ R((e) => Math.min(e + 1, P - U));
37
37
  return;
38
38
  }
39
- z(!0), L((e) => e + 1);
39
+ B(!0), R((e) => e + 1);
40
40
  }
41
41
  }, [
42
- R,
43
- x,
44
- N,
45
- H
46
- ]), Y = s(() => {
47
- if (!R) {
48
- if (!x) {
49
- L((e) => Math.max(e - 1, 0));
42
+ z,
43
+ S,
44
+ P,
45
+ U
46
+ ]), X = s(() => {
47
+ if (!z) {
48
+ if (!S) {
49
+ R((e) => Math.max(e - 1, 0));
50
50
  return;
51
51
  }
52
- z(!0), L((e) => e - 1);
52
+ B(!0), R((e) => e - 1);
53
53
  }
54
- }, [R, x]), X = (e) => {
55
- R || (x ? (z(!0), L(e + N)) : L(e));
56
- }, Z = () => {
57
- x && (z(!1), I >= N * 2 ? L(I - N) : I < N && L(I + N));
54
+ }, [z, S]), Z = (e) => {
55
+ z || (S ? (B(!0), R(e + P)) : R(e));
56
+ }, Q = () => {
57
+ S && (B(!1), L >= P * 2 ? R(L - P) : L < P && R(L + P));
58
58
  };
59
- c(() => (v && !B && N > H && (U.current = window.setInterval(J, y)), () => {
60
- U.current && window.clearInterval(U.current);
59
+ c(() => (_ && !V && P > U && (W.current = window.setInterval(Y, v)), () => {
60
+ W.current && window.clearInterval(W.current);
61
61
  }), [
62
+ _,
62
63
  v,
63
- y,
64
- J,
65
- N,
66
- H,
67
- B
64
+ Y,
65
+ P,
66
+ U,
67
+ V
68
68
  ]);
69
- let Q = (e) => {
70
- e.key === "ArrowLeft" ? Y() : e.key === "ArrowRight" && J();
71
- }, te = (e) => {
72
- G.current = e.targetTouches[0].clientX;
69
+ let te = (e) => {
70
+ e.key === "ArrowLeft" ? X() : e.key === "ArrowRight" && Y();
73
71
  }, ne = (e) => {
74
72
  K.current = e.targetTouches[0].clientX;
75
- }, re = () => {
76
- if (!G.current || !K.current) return;
77
- let e = G.current - K.current;
78
- e > 50 ? J() : e < -50 && Y(), G.current = null, K.current = null;
73
+ }, re = (e) => {
74
+ q.current = e.targetTouches[0].clientX;
75
+ }, ie = () => {
76
+ if (!K.current || !q.current) return;
77
+ let e = K.current - q.current;
78
+ e > 50 ? Y() : e < -50 && X(), K.current = null, q.current = null;
79
79
  };
80
- if (N === 0) return null;
81
- let $ = 100 / H, ie = -I * $;
82
- return /* @__PURE__ */ h(A, {
83
- ref: k,
84
- className: f("wim-carousel", i.root, E),
85
- onMouseEnter: () => V(!0),
86
- onMouseLeave: () => V(!1),
87
- onFocus: () => V(!0),
88
- onBlur: () => V(!1),
89
- onKeyDown: Q,
80
+ if (P === 0) return null;
81
+ let $ = 100 / U, ae = -L * $;
82
+ return /* @__PURE__ */ m(j, {
83
+ ref: A,
84
+ className: f("wim-carousel", i.root, x === "outside" && i.controlsOutside, D),
85
+ onMouseEnter: () => H(!0),
86
+ onMouseLeave: () => H(!1),
87
+ onFocus: () => H(!0),
88
+ onBlur: () => H(!1),
89
+ onKeyDown: te,
90
90
  tabIndex: 0,
91
91
  role: "region",
92
92
  "aria-roledescription": "carousel",
93
- ...O,
93
+ ...k,
94
94
  children: [
95
- /* @__PURE__ */ m("div", {
95
+ /* @__PURE__ */ p("div", {
96
96
  className: i.viewport,
97
- children: /* @__PURE__ */ m("div", {
98
- ref: W,
99
- className: f(i.track, R && i.transition),
100
- style: { transform: `translateX(${ie}%)` },
101
- onTransitionEnd: Z,
102
- onTouchStart: te,
103
- onTouchMove: ne,
104
- onTouchEnd: re,
105
- children: q.map((e, t) => /* @__PURE__ */ m("div", {
106
- className: f(i.item, C && i.hasAspectRatio),
97
+ children: /* @__PURE__ */ p("div", {
98
+ ref: G,
99
+ className: f(i.track, z && i.transition),
100
+ style: { transform: `translateX(${ae}%)` },
101
+ onTransitionEnd: Q,
102
+ onTouchStart: ne,
103
+ onTouchMove: re,
104
+ onTouchEnd: ie,
105
+ children: J.map((e, t) => /* @__PURE__ */ p("div", {
106
+ className: f(i.item, w && i.hasAspectRatio),
107
107
  style: {
108
108
  flex: `0 0 ${$}%`,
109
109
  width: `${$}%`,
110
- ...C ? {
111
- aspectRatio: C,
112
- "--wim-carousel-object-fit": w
110
+ ...w ? {
111
+ aspectRatio: w,
112
+ "--wim-carousel-object-fit": T
113
113
  } : {}
114
114
  },
115
115
  role: "group",
116
116
  "aria-roledescription": "slide",
117
- "aria-label": j.slideLabel(t % N + 1),
117
+ "aria-label": M.slideLabel(t % P + 1),
118
118
  children: e
119
119
  }, t))
120
120
  })
121
121
  }),
122
- ee && N > H && /* @__PURE__ */ h(p, { children: [/* @__PURE__ */ m("button", {
122
+ b && P > U && /* @__PURE__ */ m(ee, { children: [/* @__PURE__ */ p("button", {
123
123
  className: f(i.control, i.prev),
124
- onClick: Y,
125
- "aria-label": j.prevSlide,
126
- disabled: !x && I === 0,
124
+ onClick: X,
125
+ "aria-label": M.prevSlide,
126
+ disabled: !S && L === 0,
127
127
  tabIndex: -1,
128
- children: /* @__PURE__ */ m(r, {
128
+ children: /* @__PURE__ */ p(r, {
129
129
  component: t,
130
130
  size: "md"
131
131
  })
132
- }), /* @__PURE__ */ m("button", {
132
+ }), /* @__PURE__ */ p("button", {
133
133
  className: f(i.control, i.next),
134
- onClick: J,
135
- "aria-label": j.nextSlide,
136
- disabled: !x && I >= N - H,
134
+ onClick: Y,
135
+ "aria-label": M.nextSlide,
136
+ disabled: !S && L >= P - U,
137
137
  tabIndex: -1,
138
- children: /* @__PURE__ */ m(r, {
138
+ children: /* @__PURE__ */ p(r, {
139
139
  component: n,
140
140
  size: "md"
141
141
  })
142
142
  })] }),
143
- b && N > 1 && /* @__PURE__ */ m("div", {
143
+ y && P > 1 && /* @__PURE__ */ p("div", {
144
144
  className: i.indicators,
145
- children: M.map((e, t) => {
146
- let n = x ? I % N === t : I === t;
147
- return /* @__PURE__ */ m("button", {
145
+ children: N.map((e, t) => {
146
+ let n = S ? L % P === t : L === t;
147
+ return /* @__PURE__ */ p("button", {
148
148
  className: f(i.indicator, n && i.active),
149
- onClick: () => X(t),
150
- "aria-label": j.goToSlide(t + 1),
149
+ onClick: () => Z(t),
150
+ "aria-label": M.goToSlide(t + 1),
151
151
  "aria-current": n ? "true" : "false"
152
152
  }, t);
153
153
  })
@@ -155,6 +155,6 @@ var g = {
155
155
  ]
156
156
  });
157
157
  });
158
- v.displayName = "Carousel";
158
+ _.displayName = "Carousel";
159
159
  //#endregion
160
- export { v as Carousel };
160
+ export { _ as Carousel };
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- var e=`_root_kpbzt_3`,t=`_viewport_kpbzt_12`,n=`_track_kpbzt_16`,r=`_transition_kpbzt_20`,i=`_item_kpbzt_23`,a=`_hasAspectRatio_kpbzt_28`,o=`_control_kpbzt_42`,s=`_prev_kpbzt_72`,c=`_next_kpbzt_75`,l=`_indicators_kpbzt_79`,u=`_indicator_kpbzt_79`,d=`_active_kpbzt_104`,f={root:e,viewport:t,track:n,transition:r,item:i,hasAspectRatio:a,control:o,prev:s,next:c,indicators:l,indicator:u,active:d};exports.active=d,exports.control=o,exports.default=f,exports.hasAspectRatio=a,exports.indicator=u,exports.indicators=l,exports.item=i,exports.next=c,exports.prev=s,exports.root=e,exports.track=n,exports.transition=r,exports.viewport=t;
2
+ var e=`_root_lyyrv_3`,t=`_controlsOutside_lyyrv_15`,n=`_viewport_lyyrv_21`,r=`_control_lyyrv_15`,i=`_prev_lyyrv_45`,a=`_next_lyyrv_48`,o=`_indicators_lyyrv_51`,s=`_indicator_lyyrv_51`,c=`_track_lyyrv_66`,l=`_transition_lyyrv_70`,u=`_item_lyyrv_73`,d=`_hasAspectRatio_lyyrv_78`,f=`_active_lyyrv_154`,p={root:e,controlsOutside:t,viewport:n,control:r,prev:i,next:a,indicators:o,indicator:s,track:c,transition:l,item:u,hasAspectRatio:d,active:f};exports.active=f,exports.control=r,exports.controlsOutside=t,exports.default=p,exports.hasAspectRatio=d,exports.indicator=s,exports.indicators=o,exports.item=u,exports.next=a,exports.prev=i,exports.root=e,exports.track=c,exports.transition=l,exports.viewport=n;
@@ -1,18 +1,19 @@
1
1
  "use client";
2
2
  //#region src/components/data-display/Carousel/carousel.module.scss
3
- var e = "_root_kpbzt_3", t = "_viewport_kpbzt_12", n = "_track_kpbzt_16", r = "_transition_kpbzt_20", i = "_item_kpbzt_23", a = "_hasAspectRatio_kpbzt_28", o = "_control_kpbzt_42", s = "_prev_kpbzt_72", c = "_next_kpbzt_75", l = "_indicators_kpbzt_79", u = "_indicator_kpbzt_79", d = "_active_kpbzt_104", f = {
3
+ var e = "_root_lyyrv_3", t = "_controlsOutside_lyyrv_15", n = "_viewport_lyyrv_21", r = "_control_lyyrv_15", i = "_prev_lyyrv_45", a = "_next_lyyrv_48", o = "_indicators_lyyrv_51", s = "_indicator_lyyrv_51", c = "_track_lyyrv_66", l = "_transition_lyyrv_70", u = "_item_lyyrv_73", d = "_hasAspectRatio_lyyrv_78", f = "_active_lyyrv_154", p = {
4
4
  root: e,
5
- viewport: t,
6
- track: n,
7
- transition: r,
8
- item: i,
9
- hasAspectRatio: a,
10
- control: o,
11
- prev: s,
12
- next: c,
13
- indicators: l,
14
- indicator: u,
15
- active: d
5
+ controlsOutside: t,
6
+ viewport: n,
7
+ control: r,
8
+ prev: i,
9
+ next: a,
10
+ indicators: o,
11
+ indicator: s,
12
+ track: c,
13
+ transition: l,
14
+ item: u,
15
+ hasAspectRatio: d,
16
+ active: f
16
17
  };
17
18
  //#endregion
18
- export { d as active, o as control, f as default, a as hasAspectRatio, u as indicator, l as indicators, i as item, c as next, s as prev, e as root, n as track, r as transition, t as viewport };
19
+ export { f as active, r as control, t as controlsOutside, p as default, d as hasAspectRatio, s as indicator, o as indicators, u as item, a as next, i as prev, e as root, c as track, l as transition, n as viewport };
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../_internal/StatusContent.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("classnames");r=e.__toESM(r,1);let i=require("react/jsx-runtime");var a=({title:e,description:n,icon:a,extra:o,className:s,...c})=>(0,i.jsx)(t.StatusContent,{title:e,description:n,icon:a,actions:o,className:(0,r.default)(`wim-empty-state`,s),...c});exports.EmptyState=a;
2
+ const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("../../_internal/StatusContent.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("classnames");r=e.__toESM(r,1);let i=require("react/jsx-runtime");var a=({title:e,description:n,icon:a,extra:o,align:s=`start`,className:c,...l})=>(0,i.jsx)(t.StatusContent,{title:e,description:n,icon:a,actions:o,align:s,className:(0,r.default)(`wim-empty-state`,c),...l});exports.EmptyState=a;
@@ -8,9 +8,15 @@ type EmptyStateProps = React.ComponentPropsWithoutRef<"div"> & {
8
8
  icon?: React.ReactNode;
9
9
  /** Element shown as an action (e.g. a button). */
10
10
  extra?: React.ReactNode;
11
+ /**
12
+ * Horizontal alignment. Start-aligned reads as part of the card or table it sits
13
+ * in; use `"center"` only when the empty state is the only thing in its region.
14
+ * @default "start"
15
+ */
16
+ align?: "start" | "center";
11
17
  };
12
18
  /**
13
19
  * Placeholder component shown when there is no data or no search results.
14
20
  */
15
- export declare const EmptyState: ({ title, description, icon, extra, className, ...props }: EmptyStateProps) => React.JSX.Element;
21
+ export declare const EmptyState: ({ title, description, icon, extra, align, className, ...props }: EmptyStateProps) => React.JSX.Element;
16
22
  export {};
@@ -4,13 +4,14 @@ import "react";
4
4
  import t from "classnames";
5
5
  import { jsx as n } from "react/jsx-runtime";
6
6
  //#region src/components/data-display/EmptyState/EmptyState.tsx
7
- var r = ({ title: r, description: i, icon: a, extra: o, className: s, ...c }) => /* @__PURE__ */ n(e, {
7
+ var r = ({ title: r, description: i, icon: a, extra: o, align: s = "start", className: c, ...l }) => /* @__PURE__ */ n(e, {
8
8
  title: r,
9
9
  description: i,
10
10
  icon: a,
11
11
  actions: o,
12
- className: t("wim-empty-state", s),
13
- ...c
12
+ align: s,
13
+ className: t("wim-empty-state", c),
14
+ ...l
14
15
  });
15
16
  //#endregion
16
17
  export { r as EmptyState };
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("./marquee.module.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("classnames");r=e.__toESM(r,1);let i=require("react/jsx-runtime");var a=({duration:e=20,reverse:a=!1,pauseOnHover:o=!0,vertical:s=!1,repeat:c=2,className:l,children:u,style:d,...f})=>{let p=(0,i.jsx)(`div`,{className:(0,r.default)(t.default.content,{[t.default.reverse]:a,[t.default.vertical]:s}),children:u});return(0,i.jsx)(`div`,{className:(0,r.default)(`wim-marquee`,t.default.root,l),style:{"--duration":`${e}s`,"--pause-on-hover":o?`paused`:`running`,...d},...f,children:Array.from({length:c}).map((e,t)=>(0,i.jsx)(n.default.Fragment,{children:p},t))})};exports.Marquee=a;
2
+ const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("./marquee.module.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("classnames");r=e.__toESM(r,1);let i=require("react/jsx-runtime");var a=({duration:e=20,reverse:a=!1,pauseOnHover:o=!0,vertical:s=!1,repeat:c=2,className:l,children:u,style:d,...f})=>{let p=e=>(0,i.jsx)(`div`,{className:(0,r.default)(t.default.content,{[t.default.reverse]:a,[t.default.vertical]:s}),"aria-hidden":e||void 0,inert:e||void 0,children:u});return(0,i.jsx)(`div`,{className:(0,r.default)(`wim-marquee`,t.default.root,l),style:{"--duration":`${e}s`,"--pause-on-hover":o?`paused`:`running`,...d},...f,children:Array.from({length:c}).map((e,t)=>(0,i.jsx)(n.default.Fragment,{children:p(t>0)},t))})};exports.Marquee=a;
@@ -4,7 +4,10 @@ export type MarqueeProps = React.ComponentPropsWithoutRef<"div"> & {
4
4
  duration?: number;
5
5
  /** Whether to run the animation in reverse. */
6
6
  reverse?: boolean;
7
- /** Whether to pause the animation on hover. */
7
+ /**
8
+ * Whether to pause the animation on hover. Keyboard focus inside the marquee
9
+ * always pauses it, regardless of this option (WCAG 2.2.2).
10
+ */
8
11
  pauseOnHover?: boolean;
9
12
  /** Whether to scroll vertically. */
10
13
  vertical?: boolean;
@@ -5,11 +5,13 @@ import n from "classnames";
5
5
  import { jsx as r } from "react/jsx-runtime";
6
6
  //#region src/components/data-display/Marquee/Marquee.tsx
7
7
  var i = ({ duration: i = 20, reverse: a = !1, pauseOnHover: o = !0, vertical: s = !1, repeat: c = 2, className: l, children: u, style: d, ...f }) => {
8
- let p = /* @__PURE__ */ r("div", {
8
+ let p = (t) => /* @__PURE__ */ r("div", {
9
9
  className: n(e.content, {
10
10
  [e.reverse]: a,
11
11
  [e.vertical]: s
12
12
  }),
13
+ "aria-hidden": t || void 0,
14
+ inert: t || void 0,
13
15
  children: u
14
16
  });
15
17
  return /* @__PURE__ */ r("div", {
@@ -20,7 +22,7 @@ var i = ({ duration: i = 20, reverse: a = !1, pauseOnHover: o = !0, vertical: s
20
22
  ...d
21
23
  },
22
24
  ...f,
23
- children: Array.from({ length: c }).map((e, n) => /* @__PURE__ */ r(t.Fragment, { children: p }, n))
25
+ children: Array.from({ length: c }).map((e, n) => /* @__PURE__ */ r(t.Fragment, { children: p(n > 0) }, n))
24
26
  });
25
27
  };
26
28
  //#endregion
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- var e=`_root_493y3_2`,t=`_content_493y3_9`,n=`_scroll_493y3_1`,r=`_reverse_493y3_21`,i=`_vertical_493y3_24`,a=`_scrollVertical_493y3_1`,o={root:e,content:t,scroll:n,reverse:r,vertical:i,scrollVertical:a};exports.content=t,exports.default=o,exports.reverse=r,exports.root=e,exports.scroll=n,exports.scrollVertical=a,exports.vertical=i;
2
+ var e=`_root_10z6t_3`,t=`_content_10z6t_10`,n=`_scroll_10z6t_1`,r=`_reverse_10z6t_30`,i=`_vertical_10z6t_33`,a=`_scrollVertical_10z6t_1`,o={root:e,content:t,scroll:n,reverse:r,vertical:i,scrollVertical:a};exports.content=t,exports.default=o,exports.reverse=r,exports.root=e,exports.scroll=n,exports.scrollVertical=a,exports.vertical=i;
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  //#region src/components/data-display/Marquee/marquee.module.scss
3
- var e = "_root_493y3_2", t = "_content_493y3_9", n = "_scroll_493y3_1", r = "_reverse_493y3_21", i = "_vertical_493y3_24", a = "_scrollVertical_493y3_1", o = {
3
+ var e = "_root_10z6t_3", t = "_content_10z6t_10", n = "_scroll_10z6t_1", r = "_reverse_10z6t_30", i = "_vertical_10z6t_33", a = "_scrollVertical_10z6t_1", o = {
4
4
  root: e,
5
5
  content: t,
6
6
  scroll: n,