@anker-in/headless-ui 0.0.27-alpha.28 → 0.0.27-alpha.29

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 (160) hide show
  1. package/dist/cjs/biz-components/AccordionCards/index.d.ts +11 -8
  2. package/dist/cjs/biz-components/AccordionCards/index.js +1 -1
  3. package/dist/cjs/biz-components/AccordionCards/index.js.map +3 -3
  4. package/dist/cjs/biz-components/BrandEquity/BrandEquity.d.ts +3 -1
  5. package/dist/cjs/biz-components/BrandEquity/BrandEquity.js +1 -1
  6. package/dist/cjs/biz-components/BrandEquity/BrandEquity.js.map +3 -3
  7. package/dist/cjs/biz-components/Evaluate/index.js +1 -1
  8. package/dist/cjs/biz-components/Evaluate/index.js.map +2 -2
  9. package/dist/cjs/biz-components/MediaPlayerBase/index.js +1 -1
  10. package/dist/cjs/biz-components/MediaPlayerBase/index.js.map +3 -3
  11. package/dist/cjs/biz-components/MediaPlayerBase/types.d.ts +8 -6
  12. package/dist/cjs/biz-components/MediaPlayerBase/types.js +1 -1
  13. package/dist/cjs/biz-components/MediaPlayerBase/types.js.map +1 -1
  14. package/dist/cjs/biz-components/MediaPlayerMulti/index.js +1 -1
  15. package/dist/cjs/biz-components/MediaPlayerMulti/index.js.map +2 -2
  16. package/dist/cjs/biz-components/MediaPlayerMulti/types.d.ts +1 -0
  17. package/dist/cjs/biz-components/MediaPlayerMulti/types.js +1 -1
  18. package/dist/cjs/biz-components/MediaPlayerMulti/types.js.map +1 -1
  19. package/dist/cjs/biz-components/MemberEquity/index.js +2 -13
  20. package/dist/cjs/biz-components/MemberEquity/index.js.map +3 -3
  21. package/dist/cjs/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.d.ts +1 -0
  22. package/dist/cjs/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.js +1 -1
  23. package/dist/cjs/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.js.map +3 -3
  24. package/dist/cjs/biz-components/MultiLayoutGraphicBlock/types.d.ts +5 -2
  25. package/dist/cjs/biz-components/MultiLayoutGraphicBlock/types.js +1 -1
  26. package/dist/cjs/biz-components/MultiLayoutGraphicBlock/types.js.map +1 -1
  27. package/dist/cjs/biz-components/ShelfDisplay/index.d.ts +10 -6
  28. package/dist/cjs/biz-components/ShelfDisplay/index.js +5 -5
  29. package/dist/cjs/biz-components/ShelfDisplay/index.js.map +3 -3
  30. package/dist/cjs/biz-components/Slogan/index.js +1 -1
  31. package/dist/cjs/biz-components/Slogan/index.js.map +2 -2
  32. package/dist/cjs/biz-components/Tabs/Tabs.js +1 -1
  33. package/dist/cjs/biz-components/Tabs/Tabs.js.map +3 -3
  34. package/dist/cjs/biz-components/Tabs/types.d.ts +15 -9
  35. package/dist/cjs/biz-components/Tabs/types.js +1 -1
  36. package/dist/cjs/biz-components/Tabs/types.js.map +1 -1
  37. package/dist/cjs/biz-components/Title/index.js +1 -1
  38. package/dist/cjs/biz-components/Title/index.js.map +2 -2
  39. package/dist/cjs/components/alert.d.ts +1 -1
  40. package/dist/cjs/components/avatar.d.ts +1 -1
  41. package/dist/cjs/components/badge.d.ts +1 -1
  42. package/dist/cjs/components/button.d.ts +1 -1
  43. package/dist/cjs/components/checkbox.d.ts +1 -1
  44. package/dist/cjs/components/color.d.ts +1 -1
  45. package/dist/cjs/components/container.d.ts +2 -0
  46. package/dist/cjs/components/container.js +1 -1
  47. package/dist/cjs/components/container.js.map +3 -3
  48. package/dist/cjs/components/heading.d.ts +1 -1
  49. package/dist/cjs/components/input-number.d.ts +2 -2
  50. package/dist/cjs/components/input.d.ts +1 -1
  51. package/dist/cjs/components/link.d.ts +2 -2
  52. package/dist/cjs/components/radio.d.ts +1 -1
  53. package/dist/cjs/components/text.d.ts +1 -1
  54. package/dist/cjs/stories/accordionCards.stories.d.ts +1 -0
  55. package/dist/cjs/stories/alert.stories.d.ts +1 -1
  56. package/dist/cjs/stories/avatar.stories.d.ts +1 -1
  57. package/dist/cjs/stories/avatar.stories.js.map +1 -1
  58. package/dist/cjs/stories/bizTabs.stories.js +1 -1
  59. package/dist/cjs/stories/bizTabs.stories.js.map +2 -2
  60. package/dist/cjs/stories/brandEquity.stories.js +1 -1
  61. package/dist/cjs/stories/brandEquity.stories.js.map +2 -2
  62. package/dist/cjs/stories/carousel.stories.d.ts +3 -3
  63. package/dist/cjs/stories/carousel.stories.js +1 -1
  64. package/dist/cjs/stories/carousel.stories.js.map +2 -2
  65. package/dist/cjs/stories/checkbox.stories.d.ts +1 -1
  66. package/dist/cjs/stories/checkbox.stories.js.map +1 -1
  67. package/dist/cjs/stories/container.stories.d.ts +1 -0
  68. package/dist/cjs/stories/dialog.stories.d.ts +1 -1
  69. package/dist/cjs/stories/dialog.stories.js.map +1 -1
  70. package/dist/cjs/stories/grid.stories.d.ts +2 -2
  71. package/dist/cjs/stories/heading.stories.d.ts +1 -1
  72. package/dist/cjs/stories/input-number.stories.d.ts +1 -1
  73. package/dist/cjs/stories/link.stories.d.ts +1 -1
  74. package/dist/cjs/stories/marquee.stories.d.ts +1 -1
  75. package/dist/cjs/stories/mediaplayerBase.stories.js +1 -1
  76. package/dist/cjs/stories/mediaplayerBase.stories.js.map +1 -1
  77. package/dist/cjs/stories/mediaplayerMulti.stories.js +1 -1
  78. package/dist/cjs/stories/mediaplayerMulti.stories.js.map +2 -2
  79. package/dist/cjs/stories/popover.stories.js.map +1 -1
  80. package/dist/cjs/stories/radio.stories.d.ts +2 -2
  81. package/dist/cjs/stories/radio.stories.js.map +1 -1
  82. package/dist/cjs/stories/tabs.stories.d.ts +14 -1
  83. package/dist/cjs/stories/text.stories.d.ts +1 -1
  84. package/dist/esm/biz-components/AccordionCards/index.d.ts +11 -8
  85. package/dist/esm/biz-components/AccordionCards/index.js +1 -1
  86. package/dist/esm/biz-components/AccordionCards/index.js.map +3 -3
  87. package/dist/esm/biz-components/BrandEquity/BrandEquity.d.ts +3 -1
  88. package/dist/esm/biz-components/BrandEquity/BrandEquity.js +1 -1
  89. package/dist/esm/biz-components/BrandEquity/BrandEquity.js.map +3 -3
  90. package/dist/esm/biz-components/Evaluate/index.js +1 -1
  91. package/dist/esm/biz-components/Evaluate/index.js.map +2 -2
  92. package/dist/esm/biz-components/MediaPlayerBase/index.js +1 -1
  93. package/dist/esm/biz-components/MediaPlayerBase/index.js.map +3 -3
  94. package/dist/esm/biz-components/MediaPlayerBase/types.d.ts +8 -6
  95. package/dist/esm/biz-components/MediaPlayerMulti/index.js +1 -1
  96. package/dist/esm/biz-components/MediaPlayerMulti/index.js.map +2 -2
  97. package/dist/esm/biz-components/MediaPlayerMulti/types.d.ts +1 -0
  98. package/dist/esm/biz-components/MemberEquity/index.js +2 -13
  99. package/dist/esm/biz-components/MemberEquity/index.js.map +3 -3
  100. package/dist/esm/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.d.ts +1 -0
  101. package/dist/esm/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.js +1 -1
  102. package/dist/esm/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.js.map +3 -3
  103. package/dist/esm/biz-components/MultiLayoutGraphicBlock/types.d.ts +5 -2
  104. package/dist/esm/biz-components/ShelfDisplay/index.d.ts +10 -6
  105. package/dist/esm/biz-components/ShelfDisplay/index.js +3 -3
  106. package/dist/esm/biz-components/ShelfDisplay/index.js.map +3 -3
  107. package/dist/esm/biz-components/Slogan/index.js +1 -1
  108. package/dist/esm/biz-components/Slogan/index.js.map +2 -2
  109. package/dist/esm/biz-components/Tabs/Tabs.js +1 -1
  110. package/dist/esm/biz-components/Tabs/Tabs.js.map +3 -3
  111. package/dist/esm/biz-components/Tabs/types.d.ts +15 -9
  112. package/dist/esm/biz-components/Title/index.js +1 -1
  113. package/dist/esm/biz-components/Title/index.js.map +2 -2
  114. package/dist/esm/components/alert.d.ts +1 -1
  115. package/dist/esm/components/avatar.d.ts +1 -1
  116. package/dist/esm/components/badge.d.ts +1 -1
  117. package/dist/esm/components/button.d.ts +1 -1
  118. package/dist/esm/components/checkbox.d.ts +1 -1
  119. package/dist/esm/components/color.d.ts +1 -1
  120. package/dist/esm/components/container.d.ts +2 -0
  121. package/dist/esm/components/container.js +1 -1
  122. package/dist/esm/components/container.js.map +3 -3
  123. package/dist/esm/components/heading.d.ts +1 -1
  124. package/dist/esm/components/input-number.d.ts +2 -2
  125. package/dist/esm/components/input.d.ts +1 -1
  126. package/dist/esm/components/link.d.ts +2 -2
  127. package/dist/esm/components/radio.d.ts +1 -1
  128. package/dist/esm/components/text.d.ts +1 -1
  129. package/dist/esm/stories/accordionCards.stories.d.ts +1 -0
  130. package/dist/esm/stories/alert.stories.d.ts +1 -1
  131. package/dist/esm/stories/avatar.stories.d.ts +1 -1
  132. package/dist/esm/stories/avatar.stories.js.map +1 -1
  133. package/dist/esm/stories/bizTabs.stories.js +1 -1
  134. package/dist/esm/stories/bizTabs.stories.js.map +2 -2
  135. package/dist/esm/stories/brandEquity.stories.js +1 -1
  136. package/dist/esm/stories/brandEquity.stories.js.map +2 -2
  137. package/dist/esm/stories/carousel.stories.d.ts +3 -3
  138. package/dist/esm/stories/carousel.stories.js +1 -1
  139. package/dist/esm/stories/carousel.stories.js.map +2 -2
  140. package/dist/esm/stories/checkbox.stories.d.ts +1 -1
  141. package/dist/esm/stories/checkbox.stories.js.map +1 -1
  142. package/dist/esm/stories/container.stories.d.ts +1 -0
  143. package/dist/esm/stories/dialog.stories.d.ts +1 -1
  144. package/dist/esm/stories/dialog.stories.js.map +1 -1
  145. package/dist/esm/stories/grid.stories.d.ts +2 -2
  146. package/dist/esm/stories/heading.stories.d.ts +1 -1
  147. package/dist/esm/stories/input-number.stories.d.ts +1 -1
  148. package/dist/esm/stories/link.stories.d.ts +1 -1
  149. package/dist/esm/stories/marquee.stories.d.ts +1 -1
  150. package/dist/esm/stories/mediaplayerBase.stories.js +1 -1
  151. package/dist/esm/stories/mediaplayerBase.stories.js.map +1 -1
  152. package/dist/esm/stories/mediaplayerMulti.stories.js +1 -1
  153. package/dist/esm/stories/mediaplayerMulti.stories.js.map +2 -2
  154. package/dist/esm/stories/popover.stories.js.map +1 -1
  155. package/dist/esm/stories/radio.stories.d.ts +2 -2
  156. package/dist/esm/stories/radio.stories.js.map +1 -1
  157. package/dist/esm/stories/tabs.stories.d.ts +14 -1
  158. package/dist/esm/stories/text.stories.d.ts +1 -1
  159. package/package.json +1 -1
  160. package/style.css +17 -17
@@ -4,6 +4,7 @@ declare const meta: {
4
4
  component: ({ data, className, event }: {
5
5
  className?: string;
6
6
  data: {
7
+ key?: string;
7
8
  title?: string;
8
9
  items: Array<{
9
10
  title: string;
@@ -4,7 +4,7 @@ declare const meta: {
4
4
  title: string;
5
5
  component: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & import("class-variance-authority").VariantProps<(props?: ({
6
6
  variant?: "default" | "destructive" | null | undefined;
7
- } & import("class-variance-authority/dist/types.js").ClassProp) | undefined) => string> & {
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & {
8
8
  status?: "success" | "error" | "warning" | "info";
9
9
  closable?: boolean;
10
10
  } & React.RefAttributes<HTMLDivElement>>;
@@ -11,7 +11,7 @@ declare const meta: {
11
11
  textClassName?: string;
12
12
  } & import("class-variance-authority").VariantProps<(props?: ({
13
13
  size?: "small" | "medium" | "large" | null | undefined;
14
- } & import("class-variance-authority/dist/types.js").ClassProp) | undefined) => string> & Omit<import("@radix-ui/react-avatar").AvatarProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
14
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & Omit<import("@radix-ui/react-avatar").AvatarProps & import("react").RefAttributes<HTMLSpanElement>, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
15
15
  tags: string[];
16
16
  subcomponents: any;
17
17
  parameters: {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/stories/avatar.stories.tsx"],
4
- "sourcesContent": ["import type { Meta } from '@storybook/react/*'\nimport { UserIcon } from '@storybook/icons'\nimport { Avatar, AvatarImage, AvatarFallback } from '../components/index.js'\n\nconst meta = {\n title: 'Components/Avatar',\n component: Avatar,\n tags: ['autodocs'],\n subcomponents: { AvatarImage, AvatarFallback } as any,\n parameters: {\n layout: 'centered',\n docs: {\n description: {\n component: 'avatar\u7EC4\u4EF6,\u57FA\u4E8E@radix-ui/react-avatar,https://www.radix-ui.com/primitives/docs/components/avatar',\n },\n },\n },\n argTypes: {\n size: {\n description: '\u5C3A\u5BF8',\n table: {\n defaultValue: { summary: 'small' },\n },\n },\n },\n} satisfies Meta<typeof Avatar>\n\nexport default meta\n\nexport const Default = () => (\n <Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n)\n\nexport const AvatarType = () => (\n <div className=\"flex items-center gap-4\">\n <Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarFallback>\n <UserIcon />\n </AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarFallback>A</AvatarFallback>\n </Avatar>\n </div>\n)\n\nexport const AvatarTextAdaptation = () => (\n <div className=\"flex items-center gap-4\">\n <Avatar size=\"large\" isAdaptation>\n Text\n </Avatar>\n <Avatar size=\"large\" isAdaptation>\n TextTextText\n </Avatar>\n <Avatar size=\"large\" isAdaptation>\n TextTextTextTextText\n </Avatar>\n </div>\n)\n\nexport const AvatarSize = () => (\n <div className=\"flex items-center gap-4\">\n <Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar size=\"medium\">\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar size=\"large\">\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n </div>\n)\n"],
4
+ "sourcesContent": ["import type { Meta } from '@storybook/react'\nimport { UserIcon } from '@storybook/icons'\nimport { Avatar, AvatarImage, AvatarFallback } from '../components/index.js'\n\nconst meta = {\n title: 'Components/Avatar',\n component: Avatar,\n tags: ['autodocs'],\n subcomponents: { AvatarImage, AvatarFallback } as any,\n parameters: {\n layout: 'centered',\n docs: {\n description: {\n component: 'avatar\u7EC4\u4EF6,\u57FA\u4E8E@radix-ui/react-avatar,https://www.radix-ui.com/primitives/docs/components/avatar',\n },\n },\n },\n argTypes: {\n size: {\n description: '\u5C3A\u5BF8',\n table: {\n defaultValue: { summary: 'small' },\n },\n },\n },\n} satisfies Meta<typeof Avatar>\n\nexport default meta\n\nexport const Default = () => (\n <Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n)\n\nexport const AvatarType = () => (\n <div className=\"flex items-center gap-4\">\n <Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarFallback>\n <UserIcon />\n </AvatarFallback>\n </Avatar>\n <Avatar>\n <AvatarFallback>A</AvatarFallback>\n </Avatar>\n </div>\n)\n\nexport const AvatarTextAdaptation = () => (\n <div className=\"flex items-center gap-4\">\n <Avatar size=\"large\" isAdaptation>\n Text\n </Avatar>\n <Avatar size=\"large\" isAdaptation>\n TextTextText\n </Avatar>\n <Avatar size=\"large\" isAdaptation>\n TextTextTextTextText\n </Avatar>\n </div>\n)\n\nexport const AvatarSize = () => (\n <div className=\"flex items-center gap-4\">\n <Avatar>\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar size=\"medium\">\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n <Avatar size=\"large\">\n <AvatarImage src=\"https://github.com/shadcn.png\" alt=\"@shadcn\" />\n <AvatarFallback>CN</AvatarFallback>\n </Avatar>\n </div>\n)\n"],
5
5
  "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,gBAAAE,EAAA,yBAAAC,EAAA,eAAAC,EAAA,YAAAC,EAAA,YAAAC,IAAA,eAAAC,EAAAP,GA8BE,IAAAQ,EAAA,6BA7BFC,EAAyB,4BACzBC,EAAoD,kCAEpD,MAAMC,EAAO,CACX,MAAO,oBACP,UAAW,SACX,KAAM,CAAC,UAAU,EACjB,cAAe,CAAE,0BAAa,+BAAe,EAC7C,WAAY,CACV,OAAQ,WACR,KAAM,CACJ,YAAa,CACX,UAAW,kHACb,CACF,CACF,EACA,SAAU,CACR,KAAM,CACJ,YAAa,eACb,MAAO,CACL,aAAc,CAAE,QAAS,OAAQ,CACnC,CACF,CACF,CACF,EAEA,IAAOL,EAAQK,EAER,MAAMN,EAAU,OACrB,QAAC,UACC,oBAAC,eAAY,IAAI,gCAAgC,IAAI,UAAU,KAC/D,OAAC,kBAAe,cAAE,GACpB,EAGWD,EAAa,OACxB,QAAC,OAAI,UAAU,0BACb,qBAAC,UACC,oBAAC,eAAY,IAAI,gCAAgC,IAAI,UAAU,KAC/D,OAAC,kBAAe,cAAE,GACpB,KACA,OAAC,UACC,mBAAC,kBACC,mBAAC,aAAS,EACZ,EACF,KACA,OAAC,UACC,mBAAC,kBAAe,aAAC,EACnB,GACF,EAGWD,EAAuB,OAClC,QAAC,OAAI,UAAU,0BACb,oBAAC,UAAO,KAAK,QAAQ,aAAY,GAAC,gBAElC,KACA,OAAC,UAAO,KAAK,QAAQ,aAAY,GAAC,wBAElC,KACA,OAAC,UAAO,KAAK,QAAQ,aAAY,GAAC,gCAElC,GACF,EAGWD,EAAa,OACxB,QAAC,OAAI,UAAU,0BACb,qBAAC,UACC,oBAAC,eAAY,IAAI,gCAAgC,IAAI,UAAU,KAC/D,OAAC,kBAAe,cAAE,GACpB,KACA,QAAC,UAAO,KAAK,SACX,oBAAC,eAAY,IAAI,gCAAgC,IAAI,UAAU,KAC/D,OAAC,kBAAe,cAAE,GACpB,KACA,QAAC,UAAO,KAAK,QACX,oBAAC,eAAY,IAAI,gCAAgC,IAAI,UAAU,KAC/D,OAAC,kBAAe,cAAE,GACpB,GACF",
6
6
  "names": ["avatar_stories_exports", "__export", "AvatarSize", "AvatarTextAdaptation", "AvatarType", "Default", "avatar_stories_default", "__toCommonJS", "import_jsx_runtime", "import_icons", "import_components", "meta"]
7
7
  }
@@ -1,2 +1,2 @@
1
- "use strict";var c=Object.create;var o=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,h=Object.prototype.hasOwnProperty;var f=(t,e)=>{for(var s in e)o(t,s,{get:e[s],enumerable:!0})},p=(t,e,s,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of b(e))!h.call(t,a)&&a!==s&&o(t,a,{get:()=>e[a],enumerable:!(r=l(e,a))||r.enumerable});return t};var u=(t,e,s)=>(s=t!=null?c(y(t)):{},p(e||!t||!t.__esModule?o(s,"default",{value:t,enumerable:!0}):s,t)),T=t=>p(o({},"__esModule",{value:!0}),t);var D={};f(D,{Dark:()=>k,Default:()=>S,default:()=>d});module.exports=T(D);var m=u(require("../biz-components/Tabs/index.js"));const g={title:"Biz-Components/Tabs",component:m.default,tags:["autodocs"],argTypes:{theme:{control:"select",options:["light","dark"]}}};var d=g;const n={tabName:"\u7545\u9500\u5546\u54C1",tabContent:[{blockType:"ShelfDisplay",primaryButton:"Learn More",secondaryButton:"Shop Now",products:[{img:"https://cdn.shopify.com/s/files/1/0517/6767/3016/files/B25M2111_Richimage_TD01_US_V11.png?v=1745726871",price:"\uFFE599",title:"\u5546\u54C11",basePrice:"\uFFE5199",subTitle:"\u526F\u6807\u98981",tagItems:["\u70ED\u5356"]}],itemShape:"square",theme:"dark"}]},i={tabName:"\u6298\u6263\u5546\u54C1",tabContent:[{blockType:"ShelfDisplay",primaryButton:"Learn More",secondaryButton:"Shop Now",products:[{img:"https://cdn.shopify.com/s/files/1/0517/6767/3016/files/A2147113_TD01_V2_1.png?v=1745389222",price:"\uFFE5199",title:"\u5546\u54C11",basePrice:"\uFFE5199",subTitle:"\u526F\u6807\u98981",tagItems:["\u6298\u6263"]}],itemShape:"square",theme:"dark"}]},S={args:{shape:"square",align:"left",tabs:[n,i]}},k={args:{theme:"dark",shape:"square",align:"center",tabs:[n,i],className:"mx-auto"}};
1
+ "use strict";var b=Object.create;var o=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,f=Object.prototype.hasOwnProperty;var h=(t,e)=>{for(var a in e)o(t,a,{get:e[a],enumerable:!0})},p=(t,e,a,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of l(e))!f.call(t,s)&&s!==a&&o(t,s,{get:()=>e[s],enumerable:!(r=c(e,s))||r.enumerable});return t};var u=(t,e,a)=>(a=t!=null?b(y(t)):{},p(e||!t||!t.__esModule?o(a,"default",{value:t,enumerable:!0}):a,t)),T=t=>p(o({},"__esModule",{value:!0}),t);var D={};h(D,{Dark:()=>k,Default:()=>S,default:()=>g});module.exports=T(D);var m=u(require("../biz-components/Tabs/index.js"));const d={title:"Biz-Components/Tabs",component:m.default,tags:["autodocs"]};var g=d;const n={tabName:"\u7545\u9500\u5546\u54C1",tabContent:[{blockType:"ShelfDisplay",primaryButton:"Learn More",secondaryButton:"Shop Now",products:[{img:"https://cdn.shopify.com/s/files/1/0517/6767/3016/files/B25M2111_Richimage_TD01_US_V11.png?v=1745726871",price:"\uFFE599",title:"\u5546\u54C11",basePrice:"\uFFE5199",subTitle:"\u526F\u6807\u98981",tagItems:["\u70ED\u5356"]}],itemShape:"square",theme:"dark"}]},i={tabName:"\u6298\u6263\u5546\u54C1",tabContent:[{blockType:"ShelfDisplay",primaryButton:"Learn More",secondaryButton:"Shop Now",products:[{img:"https://cdn.shopify.com/s/files/1/0517/6767/3016/files/A2147113_TD01_V2_1.png?v=1745389222",price:"\uFFE5199",title:"\u5546\u54C11",basePrice:"\uFFE5199",subTitle:"\u526F\u6807\u98981",tagItems:["\u6298\u6263"]}],itemShape:"square",theme:"dark"}]},S={args:{data:{shape:"square",align:"left",tabs:[n,i]}}},k={args:{data:{theme:"dark",shape:"square",align:"center",tabs:[n,i]},className:"mx-auto"}};
2
2
  //# sourceMappingURL=bizTabs.stories.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/stories/bizTabs.stories.tsx"],
4
- "sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react'\nimport Tabs from '../biz-components/Tabs/index.js'\nimport type { TabsProps } from '../biz-components/Tabs/types'\n\nconst meta: Meta<typeof Tabs> = {\n title: 'Biz-Components/Tabs',\n component: Tabs,\n tags: ['autodocs'],\n argTypes: {\n theme: {\n control: 'select',\n options: ['light', 'dark'],\n },\n },\n}\n\nexport default meta\n\ntype Story = StoryObj<typeof Tabs>\n\nconst shelfDisplayTab1 = {\n tabName: '\u7545\u9500\u5546\u54C1',\n tabContent: [\n {\n blockType: 'ShelfDisplay',\n primaryButton: 'Learn More',\n secondaryButton: 'Shop Now',\n products: [\n {\n img: 'https://cdn.shopify.com/s/files/1/0517/6767/3016/files/B25M2111_Richimage_TD01_US_V11.png?v=1745726871',\n price: '\uFFE599',\n title: '\u5546\u54C11',\n basePrice: '\uFFE5199',\n subTitle: '\u526F\u6807\u98981',\n tagItems: ['\u70ED\u5356'],\n },\n ],\n itemShape: 'square',\n theme: 'dark',\n },\n ],\n}\n\nconst shelfDisplayTab2 = {\n tabName: '\u6298\u6263\u5546\u54C1',\n tabContent: [\n {\n blockType: 'ShelfDisplay',\n primaryButton: 'Learn More',\n secondaryButton: 'Shop Now',\n products: [\n {\n img: 'https://cdn.shopify.com/s/files/1/0517/6767/3016/files/A2147113_TD01_V2_1.png?v=1745389222',\n price: '\uFFE5199',\n title: '\u5546\u54C11',\n basePrice: '\uFFE5199',\n subTitle: '\u526F\u6807\u98981',\n tagItems: ['\u6298\u6263'],\n },\n ],\n itemShape: 'square',\n theme: 'dark',\n },\n ],\n}\n\nexport const Default: Story = {\n args: {\n shape: 'square',\n align: 'left',\n tabs: [shelfDisplayTab1, shelfDisplayTab2],\n } as unknown as TabsProps,\n}\n\nexport const Dark: Story = {\n args: {\n theme: 'dark',\n shape: 'square',\n align: 'center',\n tabs: [shelfDisplayTab1, shelfDisplayTab2],\n className: 'mx-auto',\n } as unknown as TabsProps,\n}\n"],
5
- "mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,UAAAE,EAAA,YAAAC,EAAA,YAAAC,IAAA,eAAAC,EAAAL,GACA,IAAAM,EAAiB,8CAGjB,MAAMC,EAA0B,CAC9B,MAAO,sBACP,UAAW,EAAAC,QACX,KAAM,CAAC,UAAU,EACjB,SAAU,CACR,MAAO,CACL,QAAS,SACT,QAAS,CAAC,QAAS,MAAM,CAC3B,CACF,CACF,EAEA,IAAOJ,EAAQG,EAIf,MAAME,EAAmB,CACvB,QAAS,2BACT,WAAY,CACV,CACE,UAAW,eACX,cAAe,aACf,gBAAiB,WACjB,SAAU,CACR,CACE,IAAK,yGACL,MAAO,WACP,MAAO,gBACP,UAAW,YACX,SAAU,sBACV,SAAU,CAAC,cAAI,CACjB,CACF,EACA,UAAW,SACX,MAAO,MACT,CACF,CACF,EAEMC,EAAmB,CACvB,QAAS,2BACT,WAAY,CACV,CACE,UAAW,eACX,cAAe,aACf,gBAAiB,WACjB,SAAU,CACR,CACE,IAAK,6FACL,MAAO,YACP,MAAO,gBACP,UAAW,YACX,SAAU,sBACV,SAAU,CAAC,cAAI,CACjB,CACF,EACA,UAAW,SACX,MAAO,MACT,CACF,CACF,EAEaP,EAAiB,CAC5B,KAAM,CACJ,MAAO,SACP,MAAO,OACP,KAAM,CAACM,EAAkBC,CAAgB,CAC3C,CACF,EAEaR,EAAc,CACzB,KAAM,CACJ,MAAO,OACP,MAAO,SACP,MAAO,SACP,KAAM,CAACO,EAAkBC,CAAgB,EACzC,UAAW,SACb,CACF",
4
+ "sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react'\nimport Tabs from '../biz-components/Tabs/index.js'\nimport type { TabsProps } from '../biz-components/Tabs/types'\n\nconst meta: Meta<typeof Tabs> = {\n title: 'Biz-Components/Tabs',\n component: Tabs,\n tags: ['autodocs'],\n}\n\nexport default meta\n\ntype Story = StoryObj<typeof Tabs>\n\nconst shelfDisplayTab1 = {\n tabName: '\u7545\u9500\u5546\u54C1',\n tabContent: [\n {\n blockType: 'ShelfDisplay',\n primaryButton: 'Learn More',\n secondaryButton: 'Shop Now',\n products: [\n {\n img: 'https://cdn.shopify.com/s/files/1/0517/6767/3016/files/B25M2111_Richimage_TD01_US_V11.png?v=1745726871',\n price: '\uFFE599',\n title: '\u5546\u54C11',\n basePrice: '\uFFE5199',\n subTitle: '\u526F\u6807\u98981',\n tagItems: ['\u70ED\u5356'],\n },\n ],\n itemShape: 'square',\n theme: 'dark',\n },\n ],\n}\n\nconst shelfDisplayTab2 = {\n tabName: '\u6298\u6263\u5546\u54C1',\n tabContent: [\n {\n blockType: 'ShelfDisplay',\n primaryButton: 'Learn More',\n secondaryButton: 'Shop Now',\n products: [\n {\n img: 'https://cdn.shopify.com/s/files/1/0517/6767/3016/files/A2147113_TD01_V2_1.png?v=1745389222',\n price: '\uFFE5199',\n title: '\u5546\u54C11',\n basePrice: '\uFFE5199',\n subTitle: '\u526F\u6807\u98981',\n tagItems: ['\u6298\u6263'],\n },\n ],\n itemShape: 'square',\n theme: 'dark',\n },\n ],\n}\n\nexport const Default: Story = {\n args: {\n data: {\n shape: 'square',\n align: 'left',\n tabs: [shelfDisplayTab1, shelfDisplayTab2],\n },\n } as unknown as TabsProps,\n}\n\nexport const Dark: Story = {\n args: {\n data: {\n theme: 'dark',\n shape: 'square',\n align: 'center',\n tabs: [shelfDisplayTab1, shelfDisplayTab2],\n },\n className: 'mx-auto',\n } as unknown as TabsProps,\n}\n"],
5
+ "mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,UAAAE,EAAA,YAAAC,EAAA,YAAAC,IAAA,eAAAC,EAAAL,GACA,IAAAM,EAAiB,8CAGjB,MAAMC,EAA0B,CAC9B,MAAO,sBACP,UAAW,EAAAC,QACX,KAAM,CAAC,UAAU,CACnB,EAEA,IAAOJ,EAAQG,EAIf,MAAME,EAAmB,CACvB,QAAS,2BACT,WAAY,CACV,CACE,UAAW,eACX,cAAe,aACf,gBAAiB,WACjB,SAAU,CACR,CACE,IAAK,yGACL,MAAO,WACP,MAAO,gBACP,UAAW,YACX,SAAU,sBACV,SAAU,CAAC,cAAI,CACjB,CACF,EACA,UAAW,SACX,MAAO,MACT,CACF,CACF,EAEMC,EAAmB,CACvB,QAAS,2BACT,WAAY,CACV,CACE,UAAW,eACX,cAAe,aACf,gBAAiB,WACjB,SAAU,CACR,CACE,IAAK,6FACL,MAAO,YACP,MAAO,gBACP,UAAW,YACX,SAAU,sBACV,SAAU,CAAC,cAAI,CACjB,CACF,EACA,UAAW,SACX,MAAO,MACT,CACF,CACF,EAEaP,EAAiB,CAC5B,KAAM,CACJ,KAAM,CACJ,MAAO,SACP,MAAO,OACP,KAAM,CAACM,EAAkBC,CAAgB,CAC3C,CACF,CACF,EAEaR,EAAc,CACzB,KAAM,CACJ,KAAM,CACJ,MAAO,OACP,MAAO,SACP,MAAO,SACP,KAAM,CAACO,EAAkBC,CAAgB,CAC3C,EACA,UAAW,SACb,CACF",
6
6
  "names": ["bizTabs_stories_exports", "__export", "Dark", "Default", "bizTabs_stories_default", "__toCommonJS", "import_Tabs", "meta", "Tabs", "shelfDisplayTab1", "shelfDisplayTab2"]
7
7
  }
@@ -1,2 +1,2 @@
1
- "use strict";var f=Object.create;var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty;var h=(e,t)=>{for(var s in t)c(e,s,{get:t[s],enumerable:!0})},n=(e,t,s,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of m(t))!C.call(e,i)&&i!==s&&c(e,i,{get:()=>t[i],enumerable:!(r=p(t,i))||r.enumerable});return e};var b=(e,t,s)=>(s=e!=null?f(y(e)):{},n(t||!e||!e.__esModule?c(s,"default",{value:e,enumerable:!0}):s,e)),u=e=>n(c({},"__esModule",{value:!0}),e);var N={};h(N,{CustomBackground:()=>w,Default:()=>H,default:()=>v});module.exports=u(N);var a=require("react/jsx-runtime"),d=b(require("../biz-components/BrandEquity/BrandEquity.js"));const o=e=>(0,a.jsx)("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M11.4653 6.25C11.9801 4.79351 13.3691 3.75 15.0019 3.75C16.6347 3.75 18.0237 4.79351 18.5385 6.25H11.4653ZM8.75192 8.75V13.75C8.75192 14.4404 9.31156 15 10.0019 15C10.6923 15 11.2519 14.4404 11.2519 13.75V8.75H18.7519V13.75C18.7519 14.4404 19.3116 15 20.0019 15C20.6923 15 21.2519 14.4404 21.2519 13.75V8.75H23.8452C24.5037 8.75 25.0493 9.26086 25.0925 9.91794L26.0793 24.9179C26.1268 25.639 25.5547 26.25 24.832 26.25H5.1718C4.44915 26.25 3.87705 25.639 3.92449 24.9179L4.91133 9.91794C4.95456 9.26086 5.50014 8.75 6.15864 8.75H8.75192ZM8.87694 6.25C9.45603 3.3972 11.9782 1.25 15.0019 1.25C18.0256 1.25 20.5478 3.3972 21.1269 6.25H23.8452C25.8207 6.25 27.4574 7.78258 27.5871 9.75382L28.5739 24.7538C28.7163 26.9171 27 28.75 24.832 28.75H5.1718C3.00385 28.75 1.28756 26.9171 1.42989 24.7538L2.41673 9.75382C2.54641 7.78259 4.18314 6.25 6.15864 6.25H8.87694ZM12.5019 16.25C12.5019 15.5596 13.0616 15 13.7519 15H16.2519C16.9423 15 17.5019 15.5596 17.5019 16.25C17.5019 16.9404 16.9423 17.5 16.2519 17.5H13.7519C13.0616 17.5 12.5019 16.9404 12.5019 16.25Z",fill:"#1D1D1F"})}),g={title:"Biz-Components/BrandEquity",component:d.default,parameters:{layout:"fullscreen"},tags:["autodocs"]};var v=g;const l=[{icon:(0,a.jsx)(o,{className:"size-6"}),title:"Hassle-Free Warranty",description:"Comprehensive warranty protection on all purchases."},{icon:(0,a.jsx)(o,{className:"size-6"}),title:"Our Happy Customers",description:"Join millions of satisfied Anker users worldwide."},{icon:(0,a.jsx)(o,{className:"size-6"}),title:"Anker credits rewards",description:"Buy more, save more, and earn more."},{icon:(0,a.jsx)(o,{className:"size-6"}),title:"Pay with Ease",description:"Pay immediately or in installments with Affirm."},{icon:(0,a.jsx)(o,{className:"size-6"}),title:"30-day money-back guarantee",description:"Return within 30 days for a full refund."},{avatarList:["https://cdn.shopify.com/s/files/1/0521/9411/5753/files/25954496272e3aad27d750494d4748ca_c591cb1a-5f47-42d9-b356-0acd9e87fed0.png?v=1744612103","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/ee5edd6de20a7af2f30f2fa976d779c9_6ddc29a7-c287-4afc-909c-383fe1f1a74b.png?v=1744612102","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/c3269421a5343c0e59065b53bd81c8f5_ba2fc271-206e-4480-b815-9eb76b45f691.png?v=1744612102","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/b0b7c87fb0819b6cd109bf4b0d865006_e0f7c15a-7d1a-45e7-aee3-783e681a3864.png?v=1744612102","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/85087c9c0ec8c86b481eaea247812c3e.png?v=1744612102"],title:"We are Here to Help",description:"Contact our expert team via email or live chat for assistance."}],H={args:{data:l,className:"bg-[#eeeeee] p-4"}},w={args:{data:l,className:"bg-gray-900 p-4",itemShape:"round"}};
1
+ "use strict";var f=Object.create;var c=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,C=Object.prototype.hasOwnProperty;var h=(e,t)=>{for(var s in t)c(e,s,{get:t[s],enumerable:!0})},n=(e,t,s,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of m(t))!C.call(e,i)&&i!==s&&c(e,i,{get:()=>t[i],enumerable:!(r=p(t,i))||r.enumerable});return e};var b=(e,t,s)=>(s=e!=null?f(y(e)):{},n(t||!e||!e.__esModule?c(s,"default",{value:e,enumerable:!0}):s,e)),u=e=>n(c({},"__esModule",{value:!0}),e);var N={};h(N,{CustomBackground:()=>w,Default:()=>H,default:()=>v});module.exports=u(N);var a=require("react/jsx-runtime"),d=b(require("../biz-components/BrandEquity/BrandEquity.js"));const o=e=>(0,a.jsx)("svg",{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.4653 6.25C11.9801 4.79351 13.3691 3.75 15.0019 3.75C16.6347 3.75 18.0237 4.79351 18.5385 6.25H11.4653ZM8.75192 8.75V13.75C8.75192 14.4404 9.31156 15 10.0019 15C10.6923 15 11.2519 14.4404 11.2519 13.75V8.75H18.7519V13.75C18.7519 14.4404 19.3116 15 20.0019 15C20.6923 15 21.2519 14.4404 21.2519 13.75V8.75H23.8452C24.5037 8.75 25.0493 9.26086 25.0925 9.91794L26.0793 24.9179C26.1268 25.639 25.5547 26.25 24.832 26.25H5.1718C4.44915 26.25 3.87705 25.639 3.92449 24.9179L4.91133 9.91794C4.95456 9.26086 5.50014 8.75 6.15864 8.75H8.75192ZM8.87694 6.25C9.45603 3.3972 11.9782 1.25 15.0019 1.25C18.0256 1.25 20.5478 3.3972 21.1269 6.25H23.8452C25.8207 6.25 27.4574 7.78258 27.5871 9.75382L28.5739 24.7538C28.7163 26.9171 27 28.75 24.832 28.75H5.1718C3.00385 28.75 1.28756 26.9171 1.42989 24.7538L2.41673 9.75382C2.54641 7.78259 4.18314 6.25 6.15864 6.25H8.87694ZM12.5019 16.25C12.5019 15.5596 13.0616 15 13.7519 15H16.2519C16.9423 15 17.5019 15.5596 17.5019 16.25C17.5019 16.9404 16.9423 17.5 16.2519 17.5H13.7519C13.0616 17.5 12.5019 16.9404 12.5019 16.25Z",fill:"#1D1D1F"})}),g={title:"Biz-Components/BrandEquity",component:d.default,parameters:{layout:"fullscreen"},tags:["autodocs"]};var v=g;const l=[{icon:(0,a.jsx)(o,{className:"size-6"}),title:"Hassle-Free Warranty",description:"Comprehensive warranty protection on all purchases."},{icon:(0,a.jsx)(o,{className:"size-6"}),title:"Our Happy Customers",description:"Join millions of satisfied Anker users worldwide."},{icon:(0,a.jsx)(o,{className:"size-6"}),title:"Anker credits rewards",description:"Buy more, save more, and earn more."},{icon:(0,a.jsx)(o,{className:"size-6"}),title:"Pay with Ease",description:"Pay immediately or in installments with Affirm."},{icon:(0,a.jsx)(o,{className:"size-6"}),title:"30-day money-back guarantee",description:"Return within 30 days for a full refund."},{avatarList:["https://cdn.shopify.com/s/files/1/0521/9411/5753/files/25954496272e3aad27d750494d4748ca_c591cb1a-5f47-42d9-b356-0acd9e87fed0.png?v=1744612103","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/ee5edd6de20a7af2f30f2fa976d779c9_6ddc29a7-c287-4afc-909c-383fe1f1a74b.png?v=1744612102","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/c3269421a5343c0e59065b53bd81c8f5_ba2fc271-206e-4480-b815-9eb76b45f691.png?v=1744612102","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/b0b7c87fb0819b6cd109bf4b0d865006_e0f7c15a-7d1a-45e7-aee3-783e681a3864.png?v=1744612102","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/85087c9c0ec8c86b481eaea247812c3e.png?v=1744612102"],title:"We are Here to Help",description:"Contact our expert team via email or live chat for assistance."}],H={args:{data:{items:l},className:"bg-[#eeeeee] p-4"}},w={args:{data:{items:l},className:"bg-gray-900 p-4",itemShape:"round"}};
2
2
  //# sourceMappingURL=brandEquity.stories.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/stories/brandEquity.stories.tsx"],
4
- "sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react'\nimport BrandEquity from '../biz-components/BrandEquity/BrandEquity.js'\n\nconst ShieldCheckIcon = (props: { className?: string }) => (\n <svg width=\"30\" height=\"30\" viewBox=\"0 0 30 30\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fill-rule=\"evenodd\"\n clip-rule=\"evenodd\"\n d=\"M11.4653 6.25C11.9801 4.79351 13.3691 3.75 15.0019 3.75C16.6347 3.75 18.0237 4.79351 18.5385 6.25H11.4653ZM8.75192 8.75V13.75C8.75192 14.4404 9.31156 15 10.0019 15C10.6923 15 11.2519 14.4404 11.2519 13.75V8.75H18.7519V13.75C18.7519 14.4404 19.3116 15 20.0019 15C20.6923 15 21.2519 14.4404 21.2519 13.75V8.75H23.8452C24.5037 8.75 25.0493 9.26086 25.0925 9.91794L26.0793 24.9179C26.1268 25.639 25.5547 26.25 24.832 26.25H5.1718C4.44915 26.25 3.87705 25.639 3.92449 24.9179L4.91133 9.91794C4.95456 9.26086 5.50014 8.75 6.15864 8.75H8.75192ZM8.87694 6.25C9.45603 3.3972 11.9782 1.25 15.0019 1.25C18.0256 1.25 20.5478 3.3972 21.1269 6.25H23.8452C25.8207 6.25 27.4574 7.78258 27.5871 9.75382L28.5739 24.7538C28.7163 26.9171 27 28.75 24.832 28.75H5.1718C3.00385 28.75 1.28756 26.9171 1.42989 24.7538L2.41673 9.75382C2.54641 7.78259 4.18314 6.25 6.15864 6.25H8.87694ZM12.5019 16.25C12.5019 15.5596 13.0616 15 13.7519 15H16.2519C16.9423 15 17.5019 15.5596 17.5019 16.25C17.5019 16.9404 16.9423 17.5 16.2519 17.5H13.7519C13.0616 17.5 12.5019 16.9404 12.5019 16.25Z\"\n fill=\"#1D1D1F\"\n />\n </svg>\n)\n\nconst meta = {\n title: 'Biz-Components/BrandEquity',\n component: BrandEquity,\n parameters: {\n layout: 'fullscreen',\n },\n tags: ['autodocs'],\n} satisfies Meta<typeof BrandEquity>\n\nexport default meta\ntype Story = StoryObj<typeof meta>\n\nconst mockItems = [\n {\n icon: <ShieldCheckIcon className=\"size-6\" />,\n title: 'Hassle-Free Warranty',\n description: 'Comprehensive warranty protection on all purchases.',\n },\n {\n icon: <ShieldCheckIcon className=\"size-6\" />,\n title: 'Our Happy Customers',\n description: 'Join millions of satisfied Anker users worldwide.',\n },\n {\n icon: <ShieldCheckIcon className=\"size-6\" />,\n title: 'Anker credits rewards',\n description: 'Buy more, save more, and earn more.',\n },\n {\n icon: <ShieldCheckIcon className=\"size-6\" />,\n title: 'Pay with Ease',\n description: 'Pay immediately or in installments with Affirm.',\n },\n {\n icon: <ShieldCheckIcon className=\"size-6\" />,\n title: '30-day money-back guarantee',\n description: 'Return within 30 days for a full refund.',\n },\n {\n avatarList: [\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/25954496272e3aad27d750494d4748ca_c591cb1a-5f47-42d9-b356-0acd9e87fed0.png?v=1744612103',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/ee5edd6de20a7af2f30f2fa976d779c9_6ddc29a7-c287-4afc-909c-383fe1f1a74b.png?v=1744612102',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/c3269421a5343c0e59065b53bd81c8f5_ba2fc271-206e-4480-b815-9eb76b45f691.png?v=1744612102',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/b0b7c87fb0819b6cd109bf4b0d865006_e0f7c15a-7d1a-45e7-aee3-783e681a3864.png?v=1744612102',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/85087c9c0ec8c86b481eaea247812c3e.png?v=1744612102',\n ],\n title: 'We are Here to Help',\n description: 'Contact our expert team via email or live chat for assistance.',\n },\n]\n\nexport const Default: Story = {\n args: {\n data: mockItems,\n className: 'bg-[#eeeeee] p-4',\n },\n}\n\nexport const CustomBackground: Story = {\n args: {\n data: mockItems,\n className: 'bg-gray-900 p-4',\n itemShape: 'round',\n },\n}\n"],
5
- "mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,sBAAAE,EAAA,YAAAC,EAAA,YAAAC,IAAA,eAAAC,EAAAL,GAKI,IAAAM,EAAA,6BAJJC,EAAwB,2DAExB,MAAMC,EAAmBC,MACvB,OAAC,OAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,mBAAC,QACC,YAAU,UACV,YAAU,UACV,EAAE,iiCACF,KAAK,UACP,EACF,EAGIC,EAAO,CACX,MAAO,6BACP,UAAW,EAAAC,QACX,WAAY,CACV,OAAQ,YACV,EACA,KAAM,CAAC,UAAU,CACnB,EAEA,IAAOP,EAAQM,EAGf,MAAME,EAAY,CAChB,CACE,QAAM,OAACJ,EAAA,CAAgB,UAAU,SAAS,EAC1C,MAAO,uBACP,YAAa,qDACf,EACA,CACE,QAAM,OAACA,EAAA,CAAgB,UAAU,SAAS,EAC1C,MAAO,sBACP,YAAa,mDACf,EACA,CACE,QAAM,OAACA,EAAA,CAAgB,UAAU,SAAS,EAC1C,MAAO,wBACP,YAAa,qCACf,EACA,CACE,QAAM,OAACA,EAAA,CAAgB,UAAU,SAAS,EAC1C,MAAO,gBACP,YAAa,iDACf,EACA,CACE,QAAM,OAACA,EAAA,CAAgB,UAAU,SAAS,EAC1C,MAAO,8BACP,YAAa,0CACf,EACA,CACE,WAAY,CACV,gJACA,gJACA,gJACA,gJACA,0GACF,EACA,MAAO,sBACP,YAAa,gEACf,CACF,EAEaL,EAAiB,CAC5B,KAAM,CACJ,KAAMS,EACN,UAAW,kBACb,CACF,EAEaV,EAA0B,CACrC,KAAM,CACJ,KAAMU,EACN,UAAW,kBACX,UAAW,OACb,CACF",
4
+ "sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react'\nimport BrandEquity from '../biz-components/BrandEquity/BrandEquity.js'\n\nconst ShieldCheckIcon = (props: { className?: string }) => (\n <svg width=\"30\" height=\"30\" viewBox=\"0 0 30 30\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n <path\n fillRule=\"evenodd\"\n clipRule=\"evenodd\"\n d=\"M11.4653 6.25C11.9801 4.79351 13.3691 3.75 15.0019 3.75C16.6347 3.75 18.0237 4.79351 18.5385 6.25H11.4653ZM8.75192 8.75V13.75C8.75192 14.4404 9.31156 15 10.0019 15C10.6923 15 11.2519 14.4404 11.2519 13.75V8.75H18.7519V13.75C18.7519 14.4404 19.3116 15 20.0019 15C20.6923 15 21.2519 14.4404 21.2519 13.75V8.75H23.8452C24.5037 8.75 25.0493 9.26086 25.0925 9.91794L26.0793 24.9179C26.1268 25.639 25.5547 26.25 24.832 26.25H5.1718C4.44915 26.25 3.87705 25.639 3.92449 24.9179L4.91133 9.91794C4.95456 9.26086 5.50014 8.75 6.15864 8.75H8.75192ZM8.87694 6.25C9.45603 3.3972 11.9782 1.25 15.0019 1.25C18.0256 1.25 20.5478 3.3972 21.1269 6.25H23.8452C25.8207 6.25 27.4574 7.78258 27.5871 9.75382L28.5739 24.7538C28.7163 26.9171 27 28.75 24.832 28.75H5.1718C3.00385 28.75 1.28756 26.9171 1.42989 24.7538L2.41673 9.75382C2.54641 7.78259 4.18314 6.25 6.15864 6.25H8.87694ZM12.5019 16.25C12.5019 15.5596 13.0616 15 13.7519 15H16.2519C16.9423 15 17.5019 15.5596 17.5019 16.25C17.5019 16.9404 16.9423 17.5 16.2519 17.5H13.7519C13.0616 17.5 12.5019 16.9404 12.5019 16.25Z\"\n fill=\"#1D1D1F\"\n />\n </svg>\n)\n\nconst meta = {\n title: 'Biz-Components/BrandEquity',\n component: BrandEquity,\n parameters: {\n layout: 'fullscreen',\n },\n tags: ['autodocs'],\n} satisfies Meta<typeof BrandEquity>\n\nexport default meta\ntype Story = StoryObj<typeof meta>\n\nconst mockItems = [\n {\n icon: <ShieldCheckIcon className=\"size-6\" />,\n title: 'Hassle-Free Warranty',\n description: 'Comprehensive warranty protection on all purchases.',\n },\n {\n icon: <ShieldCheckIcon className=\"size-6\" />,\n title: 'Our Happy Customers',\n description: 'Join millions of satisfied Anker users worldwide.',\n },\n {\n icon: <ShieldCheckIcon className=\"size-6\" />,\n title: 'Anker credits rewards',\n description: 'Buy more, save more, and earn more.',\n },\n {\n icon: <ShieldCheckIcon className=\"size-6\" />,\n title: 'Pay with Ease',\n description: 'Pay immediately or in installments with Affirm.',\n },\n {\n icon: <ShieldCheckIcon className=\"size-6\" />,\n title: '30-day money-back guarantee',\n description: 'Return within 30 days for a full refund.',\n },\n {\n avatarList: [\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/25954496272e3aad27d750494d4748ca_c591cb1a-5f47-42d9-b356-0acd9e87fed0.png?v=1744612103',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/ee5edd6de20a7af2f30f2fa976d779c9_6ddc29a7-c287-4afc-909c-383fe1f1a74b.png?v=1744612102',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/c3269421a5343c0e59065b53bd81c8f5_ba2fc271-206e-4480-b815-9eb76b45f691.png?v=1744612102',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/b0b7c87fb0819b6cd109bf4b0d865006_e0f7c15a-7d1a-45e7-aee3-783e681a3864.png?v=1744612102',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/85087c9c0ec8c86b481eaea247812c3e.png?v=1744612102',\n ],\n title: 'We are Here to Help',\n description: 'Contact our expert team via email or live chat for assistance.',\n },\n]\n\nexport const Default: Story = {\n args: {\n data: {\n items: mockItems,\n },\n className: 'bg-[#eeeeee] p-4',\n },\n}\n\nexport const CustomBackground: Story = {\n args: {\n data: {\n items: mockItems,\n },\n className: 'bg-gray-900 p-4',\n itemShape: 'round',\n },\n}\n"],
5
+ "mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,sBAAAE,EAAA,YAAAC,EAAA,YAAAC,IAAA,eAAAC,EAAAL,GAKI,IAAAM,EAAA,6BAJJC,EAAwB,2DAExB,MAAMC,EAAmBC,MACvB,OAAC,OAAI,MAAM,KAAK,OAAO,KAAK,QAAQ,YAAY,KAAK,OAAO,MAAM,6BAChE,mBAAC,QACC,SAAS,UACT,SAAS,UACT,EAAE,iiCACF,KAAK,UACP,EACF,EAGIC,EAAO,CACX,MAAO,6BACP,UAAW,EAAAC,QACX,WAAY,CACV,OAAQ,YACV,EACA,KAAM,CAAC,UAAU,CACnB,EAEA,IAAOP,EAAQM,EAGf,MAAME,EAAY,CAChB,CACE,QAAM,OAACJ,EAAA,CAAgB,UAAU,SAAS,EAC1C,MAAO,uBACP,YAAa,qDACf,EACA,CACE,QAAM,OAACA,EAAA,CAAgB,UAAU,SAAS,EAC1C,MAAO,sBACP,YAAa,mDACf,EACA,CACE,QAAM,OAACA,EAAA,CAAgB,UAAU,SAAS,EAC1C,MAAO,wBACP,YAAa,qCACf,EACA,CACE,QAAM,OAACA,EAAA,CAAgB,UAAU,SAAS,EAC1C,MAAO,gBACP,YAAa,iDACf,EACA,CACE,QAAM,OAACA,EAAA,CAAgB,UAAU,SAAS,EAC1C,MAAO,8BACP,YAAa,0CACf,EACA,CACE,WAAY,CACV,gJACA,gJACA,gJACA,gJACA,0GACF,EACA,MAAO,sBACP,YAAa,gEACf,CACF,EAEaL,EAAiB,CAC5B,KAAM,CACJ,KAAM,CACJ,MAAOS,CACT,EACA,UAAW,kBACb,CACF,EAEaV,EAA0B,CACrC,KAAM,CACJ,KAAM,CACJ,MAAOU,CACT,EACA,UAAW,kBACX,UAAW,OACb,CACF",
6
6
  "names": ["brandEquity_stories_exports", "__export", "CustomBackground", "Default", "brandEquity_stories_default", "__toCommonJS", "import_jsx_runtime", "import_BrandEquity", "ShieldCheckIcon", "props", "meta", "BrandEquity", "mockItems"]
7
7
  }
@@ -5,10 +5,10 @@ declare const meta: {
5
5
  component: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
6
6
  showNavigation?: boolean;
7
7
  navigationPosition?: "inner" | "outter";
8
- opts?: Partial<import("embla-carousel/components/Options.js").OptionsType> | undefined;
9
- plugins?: import("embla-carousel").CreatePluginType<import("embla-carousel/components/Plugins.js").LoosePluginType, {}>[] | undefined;
8
+ opts?: Partial<import("node_modules/embla-carousel/esm/components/Options.js").OptionsType> | undefined;
9
+ plugins?: import("embla-carousel").CreatePluginType<import("node_modules/embla-carousel/esm/components/Plugins.js").LoosePluginType, {}>[] | undefined;
10
10
  orientation?: "horizontal" | "vertical";
11
- setApi?: (api: import("../components/carousel.js").CarouselApi) => void;
11
+ setApi?: (api: import("../index.js").CarouselApi) => void;
12
12
  } & React.RefAttributes<HTMLDivElement>>;
13
13
  subcomponents: {
14
14
  CarouselContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
@@ -1,2 +1,2 @@
1
- "use strict";var l=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var u=(a,s)=>{for(var r in s)l(a,r,{get:s[r],enumerable:!0})},d=(a,s,r,n)=>{if(s&&typeof s=="object"||typeof s=="function")for(let o of c(s))!m.call(a,o)&&o!==r&&l(a,o,{get:()=>s[o],enumerable:!(n=p(s,o))||n.enumerable});return a};var f=a=>d(l({},"__esModule",{value:!0}),a);var v={};u(v,{Default:()=>g,OverrideClassName:()=>i,Vertical:()=>h,default:()=>C});module.exports=f(v);var e=require("react/jsx-runtime"),t=require("../components/index.js"),_=require("react");const y={title:"Components/Carousel",component:t.Carousel,subcomponents:{CarouselContent:t.CarouselContent,CarouselItem:t.CarouselItem},parameters:{layout:"centered",docs:{description:{component:"\u8F6E\u64AD\u7EC4\u4EF6, \u57FA\u4E8E\u8F7B\u91CF\u7EA7\u7EC4\u4EF6embla-carousel-react, https://www.embla-carousel.com/get-started/react/"}}},tags:["autodocs"],argTypes:{opts:{description:"embla-carousel-react \u7684\u914D\u7F6E\u53C2\u6570, \u53EF\u4EE5\u914D\u7F6Eloop: true \u5F00\u542F\u5FAA\u73AF\uFF0Calign: center | start | end \u5BF9\u9F50\u65B9\u5F0F\uFF0C \u67E5\u770B https://www.embla-carousel.com/api/options/",control:{type:"object"}},showNavigation:{description:"\u662F\u5426\u663E\u793A\u5BFC\u822A\u70B9",control:{type:"boolean"}},orientation:{description:"\u8F6E\u64AD\u65B9\u5411",control:{type:"select"},options:["horizontal","vertical"]},setApi:{description:"\u8BBE\u7F6Eapi, \u53EF\u4EE5\u901A\u8FC7\u8FD9\u4E2A\u51FD\u6570\u83B7\u53D6carousel API \u5B9E\u4F8B\uFF0C\u62FF\u5230api \u5B9E\u4F8B\u540E,\u53EF\u4EE5\u8C03\u7528api \u5B9E\u4F8B\u7684\u65B9\u6CD5\u6216\u8005\u5C5E\u6027"},plugins:{description:"embla-carousel-react \u7684\u63D2\u4EF6,embla-carousel \u7684 Autoplay, Wheel Gesture \u7B49\u9AD8\u7EA7\u529F\u80FD \u901A\u8FC7\u63D2\u4EF6\u652F\u6301 https://www.embla-carousel.com/plugins/"}},args:{opts:{},orientation:"horizontal"}};var C=y;const g={args:{opts:{align:"start"},children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(t.CarouselContent,{children:Array.from({length:5}).map((a,s)=>(0,e.jsx)(t.CarouselItem,{className:"basis-1/3",children:(0,e.jsx)("div",{className:"p-1",children:(0,e.jsx)(t.Card,{children:(0,e.jsx)(t.CardContent,{className:"flex aspect-square items-center justify-center p-6",children:(0,e.jsx)("span",{className:"text-3xl font-semibold",children:s+1})})})})},s))}),(0,e.jsx)(t.CarouselPrevious,{}),(0,e.jsx)(t.CarouselNext,{})]})}},h={render(){return(0,e.jsxs)(t.Carousel,{opts:{align:"start"},orientation:"vertical",className:"w-full max-w-xs",children:[(0,e.jsx)(t.CarouselContent,{className:"-mt-1 h-[200px]",children:Array.from({length:5}).map((a,s)=>(0,e.jsx)(t.CarouselItem,{className:"basis-1/2 pt-1",children:(0,e.jsx)("div",{className:"p-1",children:(0,e.jsx)(t.Card,{children:(0,e.jsx)(t.CardContent,{className:"flex aspect-square items-center justify-center p-6",children:(0,e.jsx)("span",{className:"text-3xl font-semibold",children:s+1})})})})},s))}),(0,e.jsx)(t.CarouselPrevious,{}),(0,e.jsx)(t.CarouselNext,{})]})}},N=["https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388_mo_path_1.png?v=1741689169","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388.png?v=1741689169","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388_1_mo_never_missing.png?v=1741689169","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388_mo_path_1.png?v=1741689169","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388.png?v=1741689169"],i={render(){return(0,e.jsxs)(t.Carousel,{opts:{loop:!0,align:"center"},showNavigation:!0,navigationPosition:"outter",className:"w-full max-w-xl",children:[(0,e.jsx)(t.CarouselContent,{className:"",children:Array.from({length:5}).map((a,s)=>(0,e.jsx)(t.CarouselItem,{className:"basis-1/2",children:(0,e.jsx)("div",{className:"p-1",children:(0,e.jsx)("img",{src:N[s],alt:""})})},s))}),(0,e.jsx)(t.CarouselPrevious,{className:"left-4"}),(0,e.jsx)(t.CarouselNext,{className:"right-4"})]})}};i.parameters={layout:"padded"};
1
+ "use strict";var l=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var u=(a,s)=>{for(var r in s)l(a,r,{get:s[r],enumerable:!0})},f=(a,s,r,n)=>{if(s&&typeof s=="object"||typeof s=="function")for(let o of c(s))!m.call(a,o)&&o!==r&&l(a,o,{get:()=>s[o],enumerable:!(n=p(s,o))||n.enumerable});return a};var d=a=>f(l({},"__esModule",{value:!0}),a);var v={};u(v,{Default:()=>g,OverrideClassName:()=>i,Vertical:()=>h,default:()=>C});module.exports=d(v);var e=require("react/jsx-runtime"),t=require("../components/index.js"),_=require("react");const y={title:"Components/Carousel",component:t.Carousel,subcomponents:{CarouselContent:t.CarouselContent,CarouselItem:t.CarouselItem},parameters:{layout:"fullscreen",docs:{description:{component:"\u8F6E\u64AD\u7EC4\u4EF6, \u57FA\u4E8E\u8F7B\u91CF\u7EA7\u7EC4\u4EF6embla-carousel-react, https://www.embla-carousel.com/get-started/react/"}}},tags:["autodocs"],argTypes:{opts:{description:"embla-carousel-react \u7684\u914D\u7F6E\u53C2\u6570, \u53EF\u4EE5\u914D\u7F6Eloop: true \u5F00\u542F\u5FAA\u73AF\uFF0Calign: center | start | end \u5BF9\u9F50\u65B9\u5F0F\uFF0C \u67E5\u770B https://www.embla-carousel.com/api/options/",control:{type:"object"}},showNavigation:{description:"\u662F\u5426\u663E\u793A\u5BFC\u822A\u70B9",control:{type:"boolean"}},orientation:{description:"\u8F6E\u64AD\u65B9\u5411",control:{type:"select"},options:["horizontal","vertical"]},setApi:{description:"\u8BBE\u7F6Eapi, \u53EF\u4EE5\u901A\u8FC7\u8FD9\u4E2A\u51FD\u6570\u83B7\u53D6carousel API \u5B9E\u4F8B\uFF0C\u62FF\u5230api \u5B9E\u4F8B\u540E,\u53EF\u4EE5\u8C03\u7528api \u5B9E\u4F8B\u7684\u65B9\u6CD5\u6216\u8005\u5C5E\u6027"},plugins:{description:"embla-carousel-react \u7684\u63D2\u4EF6,embla-carousel \u7684 Autoplay, Wheel Gesture \u7B49\u9AD8\u7EA7\u529F\u80FD \u901A\u8FC7\u63D2\u4EF6\u652F\u6301 https://www.embla-carousel.com/plugins/"}},args:{opts:{},orientation:"horizontal"}};var C=y;const g={args:{opts:{align:"start"},children:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(t.CarouselContent,{children:Array.from({length:5}).map((a,s)=>(0,e.jsx)(t.CarouselItem,{className:"basis-1/3",children:(0,e.jsx)("div",{className:"p-1",children:(0,e.jsx)(t.Card,{children:(0,e.jsx)(t.CardContent,{className:"flex aspect-square items-center justify-center p-6",children:(0,e.jsx)("span",{className:"text-3xl font-semibold",children:s+1})})})})},s))}),(0,e.jsx)(t.CarouselPrevious,{}),(0,e.jsx)(t.CarouselNext,{})]})}},h={render(){return(0,e.jsxs)(t.Carousel,{opts:{align:"start"},orientation:"vertical",className:"w-full max-w-xs",children:[(0,e.jsx)(t.CarouselContent,{className:"-mt-1 h-[200px]",children:Array.from({length:5}).map((a,s)=>(0,e.jsx)(t.CarouselItem,{className:"basis-1/2 pt-1",children:(0,e.jsx)("div",{className:"p-1",children:(0,e.jsx)(t.Card,{children:(0,e.jsx)(t.CardContent,{className:"flex aspect-square items-center justify-center p-6",children:(0,e.jsx)("span",{className:"text-3xl font-semibold",children:s+1})})})})},s))}),(0,e.jsx)(t.CarouselPrevious,{}),(0,e.jsx)(t.CarouselNext,{})]})}},N=["https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388_mo_path_1.png?v=1741689169","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388.png?v=1741689169","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388_1_mo_never_missing.png?v=1741689169","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388_mo_path_1.png?v=1741689169","https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388.png?v=1741689169"],i={render(){return(0,e.jsxs)(t.Carousel,{opts:{loop:!0,align:"center"},showNavigation:!0,navigationPosition:"outter",className:"w-full max-w-xl",children:[(0,e.jsx)(t.CarouselContent,{className:"",children:Array.from({length:5}).map((a,s)=>(0,e.jsx)(t.CarouselItem,{className:"basis-1/2",children:(0,e.jsx)("div",{className:"p-1",children:(0,e.jsx)("img",{src:N[s],alt:""})})},s))}),(0,e.jsx)(t.CarouselPrevious,{className:"left-4"}),(0,e.jsx)(t.CarouselNext,{className:"right-4"})]})}};i.parameters={layout:"padded"};
2
2
  //# sourceMappingURL=carousel.stories.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/stories/carousel.stories.tsx"],
4
- "sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react'\nimport {\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselNext,\n CarouselPrevious,\n Card,\n CardContent,\n} from '../components/index.js'\n\nimport React from 'react'\n\nconst meta = {\n title: 'Components/Carousel',\n component: Carousel,\n subcomponents: {\n CarouselContent,\n CarouselItem,\n },\n parameters: {\n layout: 'centered',\n docs: {\n description: {\n component: '\u8F6E\u64AD\u7EC4\u4EF6, \u57FA\u4E8E\u8F7B\u91CF\u7EA7\u7EC4\u4EF6embla-carousel-react, https://www.embla-carousel.com/get-started/react/',\n },\n },\n },\n tags: ['autodocs'],\n argTypes: {\n opts: {\n description:\n 'embla-carousel-react \u7684\u914D\u7F6E\u53C2\u6570, \u53EF\u4EE5\u914D\u7F6Eloop: true \u5F00\u542F\u5FAA\u73AF\uFF0Calign: center | start | end \u5BF9\u9F50\u65B9\u5F0F\uFF0C \u67E5\u770B https://www.embla-carousel.com/api/options/',\n control: {\n type: 'object',\n },\n },\n showNavigation: {\n description: '\u662F\u5426\u663E\u793A\u5BFC\u822A\u70B9',\n control: {\n type: 'boolean',\n },\n },\n orientation: {\n description: '\u8F6E\u64AD\u65B9\u5411',\n control: {\n type: 'select',\n },\n options: ['horizontal', 'vertical'],\n },\n setApi: {\n description: '\u8BBE\u7F6Eapi, \u53EF\u4EE5\u901A\u8FC7\u8FD9\u4E2A\u51FD\u6570\u83B7\u53D6carousel API \u5B9E\u4F8B\uFF0C\u62FF\u5230api \u5B9E\u4F8B\u540E,\u53EF\u4EE5\u8C03\u7528api \u5B9E\u4F8B\u7684\u65B9\u6CD5\u6216\u8005\u5C5E\u6027',\n },\n plugins: {\n description:\n 'embla-carousel-react \u7684\u63D2\u4EF6,embla-carousel \u7684 Autoplay, Wheel Gesture \u7B49\u9AD8\u7EA7\u529F\u80FD \u901A\u8FC7\u63D2\u4EF6\u652F\u6301 https://www.embla-carousel.com/plugins/',\n },\n },\n args: {\n opts: {},\n orientation: 'horizontal',\n },\n} satisfies Meta<typeof Carousel>\n\nexport default meta\ntype Story = StoryObj<typeof meta>\n\nexport const Default: Story = {\n args: {\n opts: {\n align: 'start',\n },\n children: (\n <>\n <CarouselContent>\n {Array.from({ length: 5 }).map((_, index) => (\n <CarouselItem key={index} className=\"basis-1/3\">\n <div className=\"p-1\">\n <Card>\n <CardContent className=\"flex aspect-square items-center justify-center p-6\">\n <span className=\"text-3xl font-semibold\">{index + 1}</span>\n </CardContent>\n </Card>\n </div>\n </CarouselItem>\n ))}\n </CarouselContent>\n <CarouselPrevious />\n <CarouselNext />\n </>\n ),\n },\n}\n\nexport const Vertical: Story = {\n render() {\n return (\n <Carousel\n opts={{\n align: 'start',\n }}\n orientation=\"vertical\"\n className=\"w-full max-w-xs\"\n >\n <CarouselContent className=\"-mt-1 h-[200px]\">\n {Array.from({ length: 5 }).map((_, index) => (\n <CarouselItem key={index} className=\"basis-1/2 pt-1\">\n <div className=\"p-1\">\n <Card>\n <CardContent className=\"flex aspect-square items-center justify-center p-6\">\n <span className=\"text-3xl font-semibold\">{index + 1}</span>\n </CardContent>\n </Card>\n </div>\n </CarouselItem>\n ))}\n </CarouselContent>\n <CarouselPrevious />\n <CarouselNext />\n </Carousel>\n )\n },\n}\n\nconst images = [\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388_mo_path_1.png?v=1741689169',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388.png?v=1741689169',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388_1_mo_never_missing.png?v=1741689169',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388_mo_path_1.png?v=1741689169',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388.png?v=1741689169',\n]\nexport const OverrideClassName: Story = {\n render() {\n return (\n <Carousel\n opts={{\n loop: true,\n align: 'center',\n }}\n showNavigation={true}\n navigationPosition=\"outter\"\n className=\"w-full max-w-xl\"\n >\n <CarouselContent className=\"\">\n {Array.from({ length: 5 }).map((_, index) => (\n <CarouselItem key={index} className=\"basis-1/2\">\n <div className=\"p-1\">\n <img src={images[index]} alt=\"\" />\n </div>\n </CarouselItem>\n ))}\n </CarouselContent>\n <CarouselPrevious className=\"left-4\" />\n <CarouselNext className=\"right-4\" />\n </Carousel>\n )\n },\n}\nOverrideClassName.parameters = {\n layout: 'padded',\n}\n"],
5
- "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,sBAAAC,EAAA,aAAAC,EAAA,YAAAC,IAAA,eAAAC,EAAAN,GAyEM,IAAAO,EAAA,6BAxENC,EAQO,kCAEPC,EAAkB,iBAElB,MAAMC,EAAO,CACX,MAAO,sBACP,UAAW,WACX,cAAe,CACb,kCACA,2BACF,EACA,WAAY,CACV,OAAQ,WACR,KAAM,CACJ,YAAa,CACX,UAAW,6IACb,CACF,CACF,EACA,KAAM,CAAC,UAAU,EACjB,SAAU,CACR,KAAM,CACJ,YACE,4OACF,QAAS,CACP,KAAM,QACR,CACF,EACA,eAAgB,CACd,YAAa,6CACb,QAAS,CACP,KAAM,SACR,CACF,EACA,YAAa,CACX,YAAa,2BACb,QAAS,CACP,KAAM,QACR,EACA,QAAS,CAAC,aAAc,UAAU,CACpC,EACA,OAAQ,CACN,YAAa,mOACf,EACA,QAAS,CACP,YACE,oMACJ,CACF,EACA,KAAM,CACJ,KAAM,CAAC,EACP,YAAa,YACf,CACF,EAEA,IAAOL,EAAQK,EAGR,MAAMR,EAAiB,CAC5B,KAAM,CACJ,KAAM,CACJ,MAAO,OACT,EACA,YACE,oBACE,oBAAC,mBACE,eAAM,KAAK,CAAE,OAAQ,CAAE,CAAC,EAAE,IAAI,CAACS,EAAGC,OACjC,OAAC,gBAAyB,UAAU,YAClC,mBAAC,OAAI,UAAU,MACb,mBAAC,QACC,mBAAC,eAAY,UAAU,qDACrB,mBAAC,QAAK,UAAU,yBAA0B,SAAAA,EAAQ,EAAE,EACtD,EACF,EACF,GAPiBA,CAQnB,CACD,EACH,KACA,OAAC,qBAAiB,KAClB,OAAC,iBAAa,GAChB,CAEJ,CACF,EAEaR,EAAkB,CAC7B,QAAS,CACP,SACE,QAAC,YACC,KAAM,CACJ,MAAO,OACT,EACA,YAAY,WACZ,UAAU,kBAEV,oBAAC,mBAAgB,UAAU,kBACxB,eAAM,KAAK,CAAE,OAAQ,CAAE,CAAC,EAAE,IAAI,CAACO,EAAGC,OACjC,OAAC,gBAAyB,UAAU,iBAClC,mBAAC,OAAI,UAAU,MACb,mBAAC,QACC,mBAAC,eAAY,UAAU,qDACrB,mBAAC,QAAK,UAAU,yBAA0B,SAAAA,EAAQ,EAAE,EACtD,EACF,EACF,GAPiBA,CAQnB,CACD,EACH,KACA,OAAC,qBAAiB,KAClB,OAAC,iBAAa,GAChB,CAEJ,CACF,EAEMC,EAAS,CACb,qGACA,2FACA,8GACA,qGACA,0FACF,EACaV,EAA2B,CACtC,QAAS,CACP,SACE,QAAC,YACC,KAAM,CACJ,KAAM,GACN,MAAO,QACT,EACA,eAAgB,GAChB,mBAAmB,SACnB,UAAU,kBAEV,oBAAC,mBAAgB,UAAU,GACxB,eAAM,KAAK,CAAE,OAAQ,CAAE,CAAC,EAAE,IAAI,CAACQ,EAAGC,OACjC,OAAC,gBAAyB,UAAU,YAClC,mBAAC,OAAI,UAAU,MACb,mBAAC,OAAI,IAAKC,EAAOD,CAAK,EAAG,IAAI,GAAG,EAClC,GAHiBA,CAInB,CACD,EACH,KACA,OAAC,oBAAiB,UAAU,SAAS,KACrC,OAAC,gBAAa,UAAU,UAAU,GACpC,CAEJ,CACF,EACAT,EAAkB,WAAa,CAC7B,OAAQ,QACV",
4
+ "sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react'\nimport {\n Carousel,\n CarouselContent,\n CarouselItem,\n CarouselNext,\n CarouselPrevious,\n Card,\n CardContent,\n} from '../components/index.js'\n\nimport React from 'react'\n\nconst meta = {\n title: 'Components/Carousel',\n component: Carousel,\n subcomponents: {\n CarouselContent,\n CarouselItem,\n },\n parameters: {\n layout: 'fullscreen',\n docs: {\n description: {\n component: '\u8F6E\u64AD\u7EC4\u4EF6, \u57FA\u4E8E\u8F7B\u91CF\u7EA7\u7EC4\u4EF6embla-carousel-react, https://www.embla-carousel.com/get-started/react/',\n },\n },\n },\n tags: ['autodocs'],\n argTypes: {\n opts: {\n description:\n 'embla-carousel-react \u7684\u914D\u7F6E\u53C2\u6570, \u53EF\u4EE5\u914D\u7F6Eloop: true \u5F00\u542F\u5FAA\u73AF\uFF0Calign: center | start | end \u5BF9\u9F50\u65B9\u5F0F\uFF0C \u67E5\u770B https://www.embla-carousel.com/api/options/',\n control: {\n type: 'object',\n },\n },\n showNavigation: {\n description: '\u662F\u5426\u663E\u793A\u5BFC\u822A\u70B9',\n control: {\n type: 'boolean',\n },\n },\n orientation: {\n description: '\u8F6E\u64AD\u65B9\u5411',\n control: {\n type: 'select',\n },\n options: ['horizontal', 'vertical'],\n },\n setApi: {\n description: '\u8BBE\u7F6Eapi, \u53EF\u4EE5\u901A\u8FC7\u8FD9\u4E2A\u51FD\u6570\u83B7\u53D6carousel API \u5B9E\u4F8B\uFF0C\u62FF\u5230api \u5B9E\u4F8B\u540E,\u53EF\u4EE5\u8C03\u7528api \u5B9E\u4F8B\u7684\u65B9\u6CD5\u6216\u8005\u5C5E\u6027',\n },\n plugins: {\n description:\n 'embla-carousel-react \u7684\u63D2\u4EF6,embla-carousel \u7684 Autoplay, Wheel Gesture \u7B49\u9AD8\u7EA7\u529F\u80FD \u901A\u8FC7\u63D2\u4EF6\u652F\u6301 https://www.embla-carousel.com/plugins/',\n },\n },\n args: {\n opts: {},\n orientation: 'horizontal',\n },\n} satisfies Meta<typeof Carousel>\n\nexport default meta\ntype Story = StoryObj<typeof meta>\n\nexport const Default: Story = {\n args: {\n opts: {\n align: 'start',\n },\n children: (\n <>\n <CarouselContent>\n {Array.from({ length: 5 }).map((_, index) => (\n <CarouselItem key={index} className=\"basis-1/3\">\n <div className=\"p-1\">\n <Card>\n <CardContent className=\"flex aspect-square items-center justify-center p-6\">\n <span className=\"text-3xl font-semibold\">{index + 1}</span>\n </CardContent>\n </Card>\n </div>\n </CarouselItem>\n ))}\n </CarouselContent>\n <CarouselPrevious />\n <CarouselNext />\n </>\n ),\n },\n}\n\nexport const Vertical: Story = {\n render() {\n return (\n <Carousel\n opts={{\n align: 'start',\n }}\n orientation=\"vertical\"\n className=\"w-full max-w-xs\"\n >\n <CarouselContent className=\"-mt-1 h-[200px]\">\n {Array.from({ length: 5 }).map((_, index) => (\n <CarouselItem key={index} className=\"basis-1/2 pt-1\">\n <div className=\"p-1\">\n <Card>\n <CardContent className=\"flex aspect-square items-center justify-center p-6\">\n <span className=\"text-3xl font-semibold\">{index + 1}</span>\n </CardContent>\n </Card>\n </div>\n </CarouselItem>\n ))}\n </CarouselContent>\n <CarouselPrevious />\n <CarouselNext />\n </Carousel>\n )\n },\n}\n\nconst images = [\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388_mo_path_1.png?v=1741689169',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388.png?v=1741689169',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388_1_mo_never_missing.png?v=1741689169',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388_mo_path_1.png?v=1741689169',\n 'https://cdn.shopify.com/s/files/1/0521/9411/5753/files/Frame_1312320388.png?v=1741689169',\n]\nexport const OverrideClassName: Story = {\n render() {\n return (\n <Carousel\n opts={{\n loop: true,\n align: 'center',\n }}\n showNavigation={true}\n navigationPosition=\"outter\"\n className=\"w-full max-w-xl\"\n >\n <CarouselContent className=\"\">\n {Array.from({ length: 5 }).map((_, index) => (\n <CarouselItem key={index} className=\"basis-1/2\">\n <div className=\"p-1\">\n <img src={images[index]} alt=\"\" />\n </div>\n </CarouselItem>\n ))}\n </CarouselContent>\n <CarouselPrevious className=\"left-4\" />\n <CarouselNext className=\"right-4\" />\n </Carousel>\n )\n },\n}\nOverrideClassName.parameters = {\n layout: 'padded',\n}\n"],
5
+ "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,sBAAAC,EAAA,aAAAC,EAAA,YAAAC,IAAA,eAAAC,EAAAN,GAyEM,IAAAO,EAAA,6BAxENC,EAQO,kCAEPC,EAAkB,iBAElB,MAAMC,EAAO,CACX,MAAO,sBACP,UAAW,WACX,cAAe,CACb,kCACA,2BACF,EACA,WAAY,CACV,OAAQ,aACR,KAAM,CACJ,YAAa,CACX,UAAW,6IACb,CACF,CACF,EACA,KAAM,CAAC,UAAU,EACjB,SAAU,CACR,KAAM,CACJ,YACE,4OACF,QAAS,CACP,KAAM,QACR,CACF,EACA,eAAgB,CACd,YAAa,6CACb,QAAS,CACP,KAAM,SACR,CACF,EACA,YAAa,CACX,YAAa,2BACb,QAAS,CACP,KAAM,QACR,EACA,QAAS,CAAC,aAAc,UAAU,CACpC,EACA,OAAQ,CACN,YAAa,mOACf,EACA,QAAS,CACP,YACE,oMACJ,CACF,EACA,KAAM,CACJ,KAAM,CAAC,EACP,YAAa,YACf,CACF,EAEA,IAAOL,EAAQK,EAGR,MAAMR,EAAiB,CAC5B,KAAM,CACJ,KAAM,CACJ,MAAO,OACT,EACA,YACE,oBACE,oBAAC,mBACE,eAAM,KAAK,CAAE,OAAQ,CAAE,CAAC,EAAE,IAAI,CAACS,EAAGC,OACjC,OAAC,gBAAyB,UAAU,YAClC,mBAAC,OAAI,UAAU,MACb,mBAAC,QACC,mBAAC,eAAY,UAAU,qDACrB,mBAAC,QAAK,UAAU,yBAA0B,SAAAA,EAAQ,EAAE,EACtD,EACF,EACF,GAPiBA,CAQnB,CACD,EACH,KACA,OAAC,qBAAiB,KAClB,OAAC,iBAAa,GAChB,CAEJ,CACF,EAEaR,EAAkB,CAC7B,QAAS,CACP,SACE,QAAC,YACC,KAAM,CACJ,MAAO,OACT,EACA,YAAY,WACZ,UAAU,kBAEV,oBAAC,mBAAgB,UAAU,kBACxB,eAAM,KAAK,CAAE,OAAQ,CAAE,CAAC,EAAE,IAAI,CAACO,EAAGC,OACjC,OAAC,gBAAyB,UAAU,iBAClC,mBAAC,OAAI,UAAU,MACb,mBAAC,QACC,mBAAC,eAAY,UAAU,qDACrB,mBAAC,QAAK,UAAU,yBAA0B,SAAAA,EAAQ,EAAE,EACtD,EACF,EACF,GAPiBA,CAQnB,CACD,EACH,KACA,OAAC,qBAAiB,KAClB,OAAC,iBAAa,GAChB,CAEJ,CACF,EAEMC,EAAS,CACb,qGACA,2FACA,8GACA,qGACA,0FACF,EACaV,EAA2B,CACtC,QAAS,CACP,SACE,QAAC,YACC,KAAM,CACJ,KAAM,GACN,MAAO,QACT,EACA,eAAgB,GAChB,mBAAmB,SACnB,UAAU,kBAEV,oBAAC,mBAAgB,UAAU,GACxB,eAAM,KAAK,CAAE,OAAQ,CAAE,CAAC,EAAE,IAAI,CAACQ,EAAGC,OACjC,OAAC,gBAAyB,UAAU,YAClC,mBAAC,OAAI,UAAU,MACb,mBAAC,OAAI,IAAKC,EAAOD,CAAK,EAAG,IAAI,GAAG,EAClC,GAHiBA,CAInB,CACD,EACH,KACA,OAAC,oBAAiB,UAAU,SAAS,KACrC,OAAC,gBAAa,UAAU,UAAU,GACpC,CAEJ,CACF,EACAT,EAAkB,WAAa,CAC7B,OAAQ,QACV",
6
6
  "names": ["carousel_stories_exports", "__export", "Default", "OverrideClassName", "Vertical", "carousel_stories_default", "__toCommonJS", "import_jsx_runtime", "import_components", "import_react", "meta", "_", "index", "images"]
7
7
  }
@@ -1,4 +1,4 @@
1
- import type { StoryObj } from '@storybook/react/*';
1
+ import type { StoryObj } from '@storybook/react';
2
2
  import React from 'react';
3
3
  declare const meta: {
4
4
  title: string;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/stories/checkbox.stories.tsx"],
4
- "sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react/*'\nimport { Checkbox } from '../components/index.js'\nimport React from 'react'\n\nconst meta = {\n title: 'Components/Checkbox',\n component: Checkbox,\n parameters: {\n layout: 'centered',\n docs: {\n description: {\n component: '\u590D\u9009\u6846, \u57FA\u4E8E@radix-ui/react-checkbox https://www.radix-ui.com/primitives/docs/components/checkbox',\n },\n },\n },\n tags: ['autodocs'],\n argTypes: {\n size: {\n control: {\n type: 'select',\n },\n options: ['sm', 'base', 'lg'],\n description: '\u5C3A\u5BF8',\n table: {\n defaultValue: { summary: 'base' },\n },\n },\n },\n args: {\n size: 'base',\n },\n} satisfies Meta<typeof Checkbox>\n\nexport default meta\n\ntype Story = StoryObj<typeof meta>\n\nexport const Default: Story = {\n args: {\n size: 'base',\n },\n}\n\nexport const Sizes = () => (\n <div className=\"flex flex-col gap-2\">\n <div className=\"flex items-center space-x-2\">\n <Checkbox id=\"terms\" size=\"sm\" />\n <label\n htmlFor=\"terms\"\n className=\"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n >\n Accept terms and conditions\n </label>\n </div>\n <div className=\"flex items-center space-x-2\">\n <Checkbox id=\"terms1\" size=\"base\" />\n <label\n htmlFor=\"terms1\"\n className=\"text-base font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n >\n Accept terms and conditions\n </label>\n </div>\n <div className=\"flex items-center space-x-2\">\n <Checkbox id=\"terms2\" size=\"lg\" />\n <label\n htmlFor=\"terms2\"\n className=\"text-lg font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n >\n Accept terms and conditions\n </label>\n </div>\n </div>\n)\nSizes.parameters = {\n docs: {\n description: {\n story: '\u4E0D\u540C\u7684\u5C3A\u5BF8',\n },\n },\n}\n\nexport const Disabled = () => (\n <div className=\"flex items-center space-x-2\">\n <Checkbox id=\"terms\" disabled />\n <label\n htmlFor=\"terms\"\n className=\"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n >\n Accept terms and conditions\n </label>\n </div>\n)\n"],
4
+ "sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react'\nimport { Checkbox } from '../components/index.js'\nimport React from 'react'\n\nconst meta = {\n title: 'Components/Checkbox',\n component: Checkbox,\n parameters: {\n layout: 'centered',\n docs: {\n description: {\n component: '\u590D\u9009\u6846, \u57FA\u4E8E@radix-ui/react-checkbox https://www.radix-ui.com/primitives/docs/components/checkbox',\n },\n },\n },\n tags: ['autodocs'],\n argTypes: {\n size: {\n control: {\n type: 'select',\n },\n options: ['sm', 'base', 'lg'],\n description: '\u5C3A\u5BF8',\n table: {\n defaultValue: { summary: 'base' },\n },\n },\n },\n args: {\n size: 'base',\n },\n} satisfies Meta<typeof Checkbox>\n\nexport default meta\n\ntype Story = StoryObj<typeof meta>\n\nexport const Default: Story = {\n args: {\n size: 'base',\n },\n}\n\nexport const Sizes = () => (\n <div className=\"flex flex-col gap-2\">\n <div className=\"flex items-center space-x-2\">\n <Checkbox id=\"terms\" size=\"sm\" />\n <label\n htmlFor=\"terms\"\n className=\"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n >\n Accept terms and conditions\n </label>\n </div>\n <div className=\"flex items-center space-x-2\">\n <Checkbox id=\"terms1\" size=\"base\" />\n <label\n htmlFor=\"terms1\"\n className=\"text-base font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n >\n Accept terms and conditions\n </label>\n </div>\n <div className=\"flex items-center space-x-2\">\n <Checkbox id=\"terms2\" size=\"lg\" />\n <label\n htmlFor=\"terms2\"\n className=\"text-lg font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n >\n Accept terms and conditions\n </label>\n </div>\n </div>\n)\nSizes.parameters = {\n docs: {\n description: {\n story: '\u4E0D\u540C\u7684\u5C3A\u5BF8',\n },\n },\n}\n\nexport const Disabled = () => (\n <div className=\"flex items-center space-x-2\">\n <Checkbox id=\"terms\" disabled />\n <label\n htmlFor=\"terms\"\n className=\"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n >\n Accept terms and conditions\n </label>\n </div>\n)\n"],
5
5
  "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,aAAAC,EAAA,UAAAC,EAAA,YAAAC,IAAA,eAAAC,EAAAN,GA6CI,IAAAO,EAAA,6BA5CJC,EAAyB,kCACzBC,EAAkB,iBAElB,MAAMC,EAAO,CACX,MAAO,sBACP,UAAW,WACX,WAAY,CACV,OAAQ,WACR,KAAM,CACJ,YAAa,CACX,UAAW,uHACb,CACF,CACF,EACA,KAAM,CAAC,UAAU,EACjB,SAAU,CACR,KAAM,CACJ,QAAS,CACP,KAAM,QACR,EACA,QAAS,CAAC,KAAM,OAAQ,IAAI,EAC5B,YAAa,eACb,MAAO,CACL,aAAc,CAAE,QAAS,MAAO,CAClC,CACF,CACF,EACA,KAAM,CACJ,KAAM,MACR,CACF,EAEA,IAAOL,EAAQK,EAIR,MAAMR,EAAiB,CAC5B,KAAM,CACJ,KAAM,MACR,CACF,EAEaE,EAAQ,OACnB,QAAC,OAAI,UAAU,sBACb,qBAAC,OAAI,UAAU,8BACb,oBAAC,YAAS,GAAG,QAAQ,KAAK,KAAK,KAC/B,OAAC,SACC,QAAQ,QACR,UAAU,6FACX,uCAED,GACF,KACA,QAAC,OAAI,UAAU,8BACb,oBAAC,YAAS,GAAG,SAAS,KAAK,OAAO,KAClC,OAAC,SACC,QAAQ,SACR,UAAU,+FACX,uCAED,GACF,KACA,QAAC,OAAI,UAAU,8BACb,oBAAC,YAAS,GAAG,SAAS,KAAK,KAAK,KAChC,OAAC,SACC,QAAQ,SACR,UAAU,6FACX,uCAED,GACF,GACF,EAEFA,EAAM,WAAa,CACjB,KAAM,CACJ,YAAa,CACX,MAAO,gCACT,CACF,CACF,EAEO,MAAMD,EAAW,OACtB,QAAC,OAAI,UAAU,8BACb,oBAAC,YAAS,GAAG,QAAQ,SAAQ,GAAC,KAC9B,OAAC,SACC,QAAQ,QACR,UAAU,6FACX,uCAED,GACF",
6
6
  "names": ["checkbox_stories_exports", "__export", "Default", "Disabled", "Sizes", "checkbox_stories_default", "__toCommonJS", "import_jsx_runtime", "import_components", "import_react", "meta"]
7
7
  }
@@ -5,6 +5,7 @@ declare const meta: {
5
5
  asChild?: boolean;
6
6
  children?: React.ReactNode;
7
7
  className?: string;
8
+ overflow?: "hidden";
8
9
  } & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
10
  parameters: {
10
11
  layout: string;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Dialog } from '../components/index.js';
3
- import type { StoryObj } from '@storybook/react/*';
3
+ import type { StoryObj } from '@storybook/react';
4
4
  declare const meta: {
5
5
  title: string;
6
6
  component: React.FC<import("@radix-ui/react-dialog").DialogProps>;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/stories/dialog.stories.tsx"],
4
- "sourcesContent": ["import React from 'react'\nimport {\n Button,\n Dialog,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogTitle,\n DialogTrigger,\n Input,\n} from '../components/index.js'\nimport type { Meta, StoryObj } from '@storybook/react/*'\n\nconst meta = {\n title: 'Components/Dialog',\n component: Dialog,\n subcomponents: {\n DialogTrigger,\n DialogContent,\n DialogHeader,\n DialogTitle,\n DialogDescription,\n DialogFooter,\n } as any,\n parameters: {\n layout: 'centered',\n docs: {\n description: {\n component: '\u5F39\u7A97\u7EC4\u4EF6\uFF0C\u57FA\u4E8E@radix-ui/react-dialog\uFF0Chttps://www.radix-ui.com/primitives/docs/components/dialog ',\n },\n },\n },\n tags: ['autodocs'],\n} satisfies Meta<typeof Dialog>\n\nexport default meta\n\ntype Story = StoryObj<typeof Dialog>\n\nexport const Default: Story = {\n args: {\n children: (\n <>\n <DialogTrigger asChild>\n <button>Edit Profile</button>\n </DialogTrigger>\n <DialogContent className=\"tablet:max-w-[425px]\">\n <DialogHeader>\n <DialogTitle>Edit profile</DialogTitle>\n <DialogDescription>Make changes to your profile here. Click save when you're done.</DialogDescription>\n </DialogHeader>\n <div className=\"grid gap-4 py-4\">\n <div className=\"grid grid-cols-4 items-center gap-4\">\n <label htmlFor=\"name\" className=\"text-right\">\n Name\n </label>\n <Input id=\"name\" defaultValue=\"Pedro Duarte\" className=\"col-span-3\" />\n </div>\n <div className=\"grid grid-cols-4 items-center gap-4\">\n <label htmlFor=\"username\" className=\"text-right\">\n Username\n </label>\n <Input id=\"username\" defaultValue=\"@peduarte\" className=\"col-span-3\" />\n </div>\n </div>\n <DialogFooter>\n <Button type=\"submit\">Save changes</Button>\n </DialogFooter>\n </DialogContent>\n </>\n ),\n },\n}\n"],
4
+ "sourcesContent": ["import React from 'react'\nimport {\n Button,\n Dialog,\n DialogContent,\n DialogDescription,\n DialogFooter,\n DialogHeader,\n DialogTitle,\n DialogTrigger,\n Input,\n} from '../components/index.js'\nimport type { Meta, StoryObj } from '@storybook/react'\n\nconst meta = {\n title: 'Components/Dialog',\n component: Dialog,\n subcomponents: {\n DialogTrigger,\n DialogContent,\n DialogHeader,\n DialogTitle,\n DialogDescription,\n DialogFooter,\n } as any,\n parameters: {\n layout: 'centered',\n docs: {\n description: {\n component: '\u5F39\u7A97\u7EC4\u4EF6\uFF0C\u57FA\u4E8E@radix-ui/react-dialog\uFF0Chttps://www.radix-ui.com/primitives/docs/components/dialog ',\n },\n },\n },\n tags: ['autodocs'],\n} satisfies Meta<typeof Dialog>\n\nexport default meta\n\ntype Story = StoryObj<typeof Dialog>\n\nexport const Default: Story = {\n args: {\n children: (\n <>\n <DialogTrigger asChild>\n <button>Edit Profile</button>\n </DialogTrigger>\n <DialogContent className=\"tablet:max-w-[425px]\">\n <DialogHeader>\n <DialogTitle>Edit profile</DialogTitle>\n <DialogDescription>Make changes to your profile here. Click save when you're done.</DialogDescription>\n </DialogHeader>\n <div className=\"grid gap-4 py-4\">\n <div className=\"grid grid-cols-4 items-center gap-4\">\n <label htmlFor=\"name\" className=\"text-right\">\n Name\n </label>\n <Input id=\"name\" defaultValue=\"Pedro Duarte\" className=\"col-span-3\" />\n </div>\n <div className=\"grid grid-cols-4 items-center gap-4\">\n <label htmlFor=\"username\" className=\"text-right\">\n Username\n </label>\n <Input id=\"username\" defaultValue=\"@peduarte\" className=\"col-span-3\" />\n </div>\n </div>\n <DialogFooter>\n <Button type=\"submit\">Save changes</Button>\n </DialogFooter>\n </DialogContent>\n </>\n ),\n },\n}\n"],
5
5
  "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GA2CM,IAAAK,EAAA,6BA3CNC,EAAkB,iBAClBC,EAUO,kCAGP,MAAMC,EAAO,CACX,MAAO,oBACP,UAAW,SACX,cAAe,CACb,8BACA,8BACA,4BACA,0BACA,sCACA,2BACF,EACA,WAAY,CACV,OAAQ,WACR,KAAM,CACJ,YAAa,CACX,UAAW,mIACb,CACF,CACF,EACA,KAAM,CAAC,UAAU,CACnB,EAEA,IAAOL,EAAQK,EAIR,MAAMN,EAAiB,CAC5B,KAAM,CACJ,YACE,oBACE,oBAAC,iBAAc,QAAO,GACpB,mBAAC,UAAO,wBAAY,EACtB,KACA,QAAC,iBAAc,UAAU,uBACvB,qBAAC,gBACC,oBAAC,eAAY,wBAAY,KACzB,OAAC,qBAAkB,2EAA+D,GACpF,KACA,QAAC,OAAI,UAAU,kBACb,qBAAC,OAAI,UAAU,sCACb,oBAAC,SAAM,QAAQ,OAAO,UAAU,aAAa,gBAE7C,KACA,OAAC,SAAM,GAAG,OAAO,aAAa,eAAe,UAAU,aAAa,GACtE,KACA,QAAC,OAAI,UAAU,sCACb,oBAAC,SAAM,QAAQ,WAAW,UAAU,aAAa,oBAEjD,KACA,OAAC,SAAM,GAAG,WAAW,aAAa,YAAY,UAAU,aAAa,GACvE,GACF,KACA,OAAC,gBACC,mBAAC,UAAO,KAAK,SAAS,wBAAY,EACpC,GACF,GACF,CAEJ,CACF",
6
6
  "names": ["dialog_stories_exports", "__export", "Default", "dialog_stories_default", "__toCommonJS", "import_jsx_runtime", "import_react", "import_components", "meta"]
7
7
  }
@@ -1,9 +1,9 @@
1
1
  import React from 'react';
2
2
  declare const meta: {
3
3
  title: string;
4
- component: React.ForwardRefExoticComponent<import("../components/gird.js").GridProps & React.RefAttributes<HTMLDivElement>>;
4
+ component: React.ForwardRefExoticComponent<import("../index.js").GridProps & React.RefAttributes<HTMLDivElement>>;
5
5
  subcomponents: {
6
- GridItem: React.ForwardRefExoticComponent<import("../components/gird.js").GridItemProps & React.RefAttributes<HTMLDivElement>>;
6
+ GridItem: React.ForwardRefExoticComponent<import("../index.js").GridItemProps & React.RefAttributes<HTMLDivElement>>;
7
7
  };
8
8
  parameters: {
9
9
  layout: string;
@@ -2,7 +2,7 @@ import type { StoryObj } from '@storybook/react';
2
2
  import React from 'react';
3
3
  declare const meta: {
4
4
  title: string;
5
- component: React.ForwardRefExoticComponent<import("../components/heading.js").HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
5
+ component: React.ForwardRefExoticComponent<import("../index.js").HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
6
6
  parameters: {
7
7
  layout: string;
8
8
  docs: {
@@ -20,7 +20,7 @@ declare const meta: {
20
20
  } & import("class-variance-authority").VariantProps<(props?: ({
21
21
  status?: "default" | "error" | "success" | "warning" | null | undefined;
22
22
  disabled?: boolean | null | undefined;
23
- } & import("class-variance-authority/dist/types.js").ClassProp) | undefined) => string> & import("../helpers/component-props.js").ComponentPropsWithout<"div", import("../helpers/component-props.js").RemovedProps> & import("react").RefAttributes<HTMLDivElement>>;
23
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & import("../helpers/component-props.js").ComponentPropsWithout<"div", import("../helpers/component-props.js").RemovedProps> & import("react").RefAttributes<HTMLDivElement>>;
24
24
  subcomponents: any;
25
25
  parameters: {
26
26
  layout: string;
@@ -13,7 +13,7 @@ declare const meta: {
13
13
  size?: "small" | "medium" | "large" | null | undefined;
14
14
  underline?: "none" | "always" | "hover" | null | undefined;
15
15
  hoverColor?: "none" | "hover" | null | undefined;
16
- } & import("class-variance-authority/dist/types.js").ClassProp) | undefined) => string> & import("../helpers/component-props.js").ComponentPropsWithout<"a", import("../helpers/component-props.js").RemovedProps> & import("react").RefAttributes<HTMLAnchorElement>>;
16
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string> & import("../helpers/component-props.js").ComponentPropsWithout<"a", import("../helpers/component-props.js").RemovedProps> & import("react").RefAttributes<HTMLAnchorElement>>;
17
17
  parameters: {
18
18
  layout: string;
19
19
  };
@@ -3,7 +3,7 @@ import type { StoryObj } from '@storybook/react';
3
3
  declare const meta: {
4
4
  title: string;
5
5
  component: {
6
- (props: Omit<import("react-fast-marquee/dist/components/Marquee.js").MarqueeProps, keyof import("../shared/Styles.js").StylesProps> & Partial<import("../shared/Styles.js").StylesProps> & {
6
+ (props: Omit<import("react-fast-marquee").MarqueeProps, keyof import("../shared/Styles.js").StylesProps> & Partial<import("../shared/Styles.js").StylesProps> & {
7
7
  className?: string;
8
8
  }): import("react/jsx-runtime").JSX.Element;
9
9
  displayName: string;
@@ -1,2 +1,2 @@
1
- "use strict";var d=Object.create;var r=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty;var n=(e,t)=>{for(var a in t)r(e,a,{get:t[a],enumerable:!0})},i=(e,t,a,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of l(t))!c.call(e,o)&&o!==a&&r(e,o,{get:()=>t[o],enumerable:!(s=f(t,o))||s.enumerable});return e};var b=(e,t,a)=>(a=e!=null?d(y(e)):{},i(t||!e||!e.__esModule?r(a,"default",{value:e,enumerable:!0}):a,e)),m=e=>i(r({},"__esModule",{value:!0}),e);var B={};n(B,{Default:()=>g,default:()=>M});module.exports=m(B);var p=b(require("../biz-components/MediaPlayerBase/index.js"));const h={title:"Biz-Components/MediaPlayerBase",component:p.default,parameters:{layout:"fullscreen"}};var M=h;const g={args:{data:{title:"Live Charged.",videoTitle:`The World's <span class="text-brand-1">NO.1</span> Mobile Charging Brand*`,img:"https://cdn.shopify.com/s/files/1/0819/5735/5793/files/bb4296bf-5436-4998-866d-2665b11e6494_89394f2f67489421c24267fae7fba035.jpg?v=1745399761",btnText:"Watch Video",media:"https://cdn.shopify.com/videos/c/o/v/97144231c93943c4aae54f8056b1073b.mp4"}}};
1
+ "use strict";var d=Object.create;var r=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty;var n=(e,t)=>{for(var a in t)r(e,a,{get:t[a],enumerable:!0})},i=(e,t,a,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of l(t))!c.call(e,o)&&o!==a&&r(e,o,{get:()=>t[o],enumerable:!(s=f(t,o))||s.enumerable});return e};var b=(e,t,a)=>(a=e!=null?d(y(e)):{},i(t||!e||!e.__esModule?r(a,"default",{value:e,enumerable:!0}):a,e)),m=e=>i(r({},"__esModule",{value:!0}),e);var v={};n(v,{Default:()=>g,default:()=>M});module.exports=m(v);var p=b(require("../biz-components/MediaPlayerBase/index.js"));const h={title:"Biz-Components/MediaPlayerBase",component:p.default,parameters:{layout:"fullscreen"}};var M=h;const g={args:{data:{title:"Live Charged.",videoTitle:`The World's <span class="text-brand-1">NO.1</span> Mobile Charging Brand*`,img:"https://cdn.shopify.com/s/files/1/0819/5735/5793/files/bb4296bf-5436-4998-866d-2665b11e6494_89394f2f67489421c24267fae7fba035.jpg?v=1745399761",btnText:"Watch Video",video:"https://cdn.shopify.com/videos/c/o/v/97144231c93943c4aae54f8056b1073b.mp4"}}};
2
2
  //# sourceMappingURL=mediaplayerBase.stories.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/stories/mediaplayerBase.stories.tsx"],
4
- "sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react'\nimport MediaPlayerBase from '../biz-components/MediaPlayerBase/index.js'\n\nconst meta: Meta<typeof MediaPlayerBase> = {\n title: 'Biz-Components/MediaPlayerBase',\n component: MediaPlayerBase,\n parameters: {\n layout: 'fullscreen',\n },\n}\n\nexport default meta\ntype Story = StoryObj<typeof MediaPlayerBase>\n\nexport const Default: Story = {\n args: {\n data: {\n title: 'Live Charged.',\n videoTitle: 'The World\\'s <span class=\"text-brand-1\">NO.1</span> Mobile Charging Brand*',\n img: 'https://cdn.shopify.com/s/files/1/0819/5735/5793/files/bb4296bf-5436-4998-866d-2665b11e6494_89394f2f67489421c24267fae7fba035.jpg?v=1745399761',\n btnText: 'Watch Video',\n media: 'https://cdn.shopify.com/videos/c/o/v/97144231c93943c4aae54f8056b1073b.mp4',\n },\n },\n}\n"],
4
+ "sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react'\nimport MediaPlayerBase from '../biz-components/MediaPlayerBase/index.js'\n\nconst meta: Meta<typeof MediaPlayerBase> = {\n title: 'Biz-Components/MediaPlayerBase',\n component: MediaPlayerBase,\n parameters: {\n layout: 'fullscreen',\n },\n}\n\nexport default meta\ntype Story = StoryObj<typeof MediaPlayerBase>\n\nexport const Default: Story = {\n args: {\n data: {\n title: 'Live Charged.',\n videoTitle: 'The World\\'s <span class=\"text-brand-1\">NO.1</span> Mobile Charging Brand*',\n img: 'https://cdn.shopify.com/s/files/1/0819/5735/5793/files/bb4296bf-5436-4998-866d-2665b11e6494_89394f2f67489421c24267fae7fba035.jpg?v=1745399761',\n btnText: 'Watch Video',\n video: 'https://cdn.shopify.com/videos/c/o/v/97144231c93943c4aae54f8056b1073b.mp4',\n },\n },\n}\n"],
5
5
  "mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GACA,IAAAK,EAA4B,yDAE5B,MAAMC,EAAqC,CACzC,MAAO,iCACP,UAAW,EAAAC,QACX,WAAY,CACV,OAAQ,YACV,CACF,EAEA,IAAOJ,EAAQG,EAGR,MAAMJ,EAAiB,CAC5B,KAAM,CACJ,KAAM,CACJ,MAAO,gBACP,WAAY,4EACZ,IAAK,gJACL,QAAS,cACT,MAAO,2EACT,CACF,CACF",
6
6
  "names": ["mediaplayerBase_stories_exports", "__export", "Default", "mediaplayerBase_stories_default", "__toCommonJS", "import_MediaPlayerBase", "meta", "MediaPlayerBase"]
7
7
  }
@@ -1,2 +1,2 @@
1
- "use strict";var l=Object.create;var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var m=Object.getPrototypeOf,b=Object.prototype.hasOwnProperty;var y=(e,t)=>{for(var a in t)s(e,a,{get:t[a],enumerable:!0})},c=(e,t,a,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of d(t))!b.call(e,o)&&o!==a&&s(e,o,{get:()=>t[o],enumerable:!(r=f(t,o))||r.enumerable});return e};var u=(e,t,a)=>(a=e!=null?l(m(e)):{},c(t||!e||!e.__esModule?s(a,"default",{value:e,enumerable:!0}):a,e)),p=e=>c(s({},"__esModule",{value:!0}),e);var I={};y(I,{Default:()=>M,Multi:()=>k,default:()=>g});module.exports=p(I);var n=u(require("../biz-components/MediaPlayerMulti/index.js"));const i=[{name:"MKBHD",description:"18.2 Million Youtube subscribers",quote:'"If efficiency means something to you, then definitely check out Anker, who makes these chargers and cables that I really like."',backgroundImage:"https://cdn.shopify.com/s/files/1/0819/5735/5793/files/9b8ef5a9-97c5-4b81-9fdd-1c2805a12702_dca27557ea115cd0c51fa8ee0d7ebd7b.jpg?v=1745464110"},{name:"Unbox Therapy",description:"18.2 Million Youtube subscribers",quote:'"I highly recommend the Anker Nano Pro. This truly is a no-brainer."',backgroundImage:"https://cdn.shopify.com/s/files/1/0819/5735/5793/files/1dd1b39c-1206-48a5-96ec-1083627f51bb_3a34a11a40cbfb857cec1f91eeeaff29.jpg?v=1745464094"}],h={title:"Biz-Components/MediaPlayerMulti",component:n.default,parameters:{layout:"fullscreen"},tags:["autodocs"]};var g=h;const M={args:{data:{items:i}}},k={args:{data:{items:i?.concat(i)}}};
1
+ "use strict";var d=Object.create;var s=Object.defineProperty;var f=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var m=Object.getPrototypeOf,b=Object.prototype.hasOwnProperty;var p=(e,t)=>{for(var o in t)s(e,o,{get:t[o],enumerable:!0})},r=(e,t,o,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of l(t))!b.call(e,a)&&a!==o&&s(e,a,{get:()=>t[a],enumerable:!(c=f(t,a))||c.enumerable});return e};var y=(e,t,o)=>(o=e!=null?d(m(e)):{},r(t||!e||!e.__esModule?s(o,"default",{value:e,enumerable:!0}):o,e)),u=e=>r(s({},"__esModule",{value:!0}),e);var v={};p(v,{Default:()=>M,Multi:()=>k,default:()=>g});module.exports=u(v);var n=y(require("../biz-components/MediaPlayerMulti/index.js"));const i=[{name:"MKBHD",description:"18.2 Million Youtube subscribers",quote:'"If efficiency means something to you, then definitely check out Anker, who makes these chargers and cables that I really like."',backgroundImage:"https://cdn.shopify.com/s/files/1/0819/5735/5793/files/9b8ef5a9-97c5-4b81-9fdd-1c2805a12702_dca27557ea115cd0c51fa8ee0d7ebd7b.jpg?v=1745464110",video:"https://cdn.shopify.com/videos/c/o/v/97144231c93943c4aae54f8056b1073b.mp4"},{name:"Unbox Therapy",description:"18.2 Million Youtube subscribers",quote:'"I highly recommend the Anker Nano Pro. This truly is a no-brainer."',backgroundImage:"https://cdn.shopify.com/s/files/1/0819/5735/5793/files/1dd1b39c-1206-48a5-96ec-1083627f51bb_3a34a11a40cbfb857cec1f91eeeaff29.jpg?v=1745464094",video:"https://cdn.shopify.com/videos/c/o/v/97144231c93943c4aae54f8056b1073b.mp4"}],h={title:"Biz-Components/MediaPlayerMulti",component:n.default,parameters:{layout:"fullscreen"},tags:["autodocs"]};var g=h;const M={args:{data:{items:i}}},k={args:{data:{items:i?.concat(i)}}};
2
2
  //# sourceMappingURL=mediaplayerMulti.stories.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/stories/mediaplayerMulti.stories.tsx"],
4
- "sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react'\nimport MediaPlayerMulti from '../biz-components/MediaPlayerMulti/index.js'\n\nconst testimonialItems = [\n {\n name: 'MKBHD',\n description: '18.2 Million Youtube subscribers',\n quote:\n '\"If efficiency means something to you, then definitely check out Anker, who makes these chargers and cables that I really like.\"',\n backgroundImage:\n 'https://cdn.shopify.com/s/files/1/0819/5735/5793/files/9b8ef5a9-97c5-4b81-9fdd-1c2805a12702_dca27557ea115cd0c51fa8ee0d7ebd7b.jpg?v=1745464110',\n },\n {\n name: 'Unbox Therapy',\n description: '18.2 Million Youtube subscribers',\n quote: '\"I highly recommend the Anker Nano Pro. This truly is a no-brainer.\"',\n backgroundImage:\n 'https://cdn.shopify.com/s/files/1/0819/5735/5793/files/1dd1b39c-1206-48a5-96ec-1083627f51bb_3a34a11a40cbfb857cec1f91eeeaff29.jpg?v=1745464094',\n },\n]\n\nconst meta = {\n title: 'Biz-Components/MediaPlayerMulti',\n component: MediaPlayerMulti,\n parameters: {\n layout: 'fullscreen',\n },\n tags: ['autodocs'],\n} satisfies Meta<typeof MediaPlayerMulti>\n\nexport default meta\ntype Story = StoryObj<typeof meta>\n\nexport const Default: Story = {\n args: {\n data: {\n items: testimonialItems,\n },\n },\n}\n\nexport const Multi: Story = {\n args: {\n data: {\n items: testimonialItems?.concat(testimonialItems),\n },\n },\n}\n"],
5
- "mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,UAAAC,EAAA,YAAAC,IAAA,eAAAC,EAAAL,GACA,IAAAM,EAA6B,0DAE7B,MAAMC,EAAmB,CACvB,CACE,KAAM,QACN,YAAa,mCACb,MACE,mIACF,gBACE,+IACJ,EACA,CACE,KAAM,gBACN,YAAa,mCACb,MAAO,uEACP,gBACE,+IACJ,CACF,EAEMC,EAAO,CACX,MAAO,kCACP,UAAW,EAAAC,QACX,WAAY,CACV,OAAQ,YACV,EACA,KAAM,CAAC,UAAU,CACnB,EAEA,IAAOL,EAAQI,EAGR,MAAMN,EAAiB,CAC5B,KAAM,CACJ,KAAM,CACJ,MAAOK,CACT,CACF,CACF,EAEaJ,EAAe,CAC1B,KAAM,CACJ,KAAM,CACJ,MAAOI,GAAkB,OAAOA,CAAgB,CAClD,CACF,CACF",
4
+ "sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react'\nimport MediaPlayerMulti from '../biz-components/MediaPlayerMulti/index.js'\n\nconst testimonialItems = [\n {\n name: 'MKBHD',\n description: '18.2 Million Youtube subscribers',\n quote:\n '\"If efficiency means something to you, then definitely check out Anker, who makes these chargers and cables that I really like.\"',\n backgroundImage:\n 'https://cdn.shopify.com/s/files/1/0819/5735/5793/files/9b8ef5a9-97c5-4b81-9fdd-1c2805a12702_dca27557ea115cd0c51fa8ee0d7ebd7b.jpg?v=1745464110',\n video: 'https://cdn.shopify.com/videos/c/o/v/97144231c93943c4aae54f8056b1073b.mp4',\n },\n {\n name: 'Unbox Therapy',\n description: '18.2 Million Youtube subscribers',\n quote: '\"I highly recommend the Anker Nano Pro. This truly is a no-brainer.\"',\n backgroundImage:\n 'https://cdn.shopify.com/s/files/1/0819/5735/5793/files/1dd1b39c-1206-48a5-96ec-1083627f51bb_3a34a11a40cbfb857cec1f91eeeaff29.jpg?v=1745464094',\n video: 'https://cdn.shopify.com/videos/c/o/v/97144231c93943c4aae54f8056b1073b.mp4',\n },\n]\n\nconst meta = {\n title: 'Biz-Components/MediaPlayerMulti',\n component: MediaPlayerMulti,\n parameters: {\n layout: 'fullscreen',\n },\n tags: ['autodocs'],\n} satisfies Meta<typeof MediaPlayerMulti>\n\nexport default meta\ntype Story = StoryObj<typeof meta>\n\nexport const Default: Story = {\n args: {\n data: {\n items: testimonialItems,\n },\n },\n}\n\nexport const Multi: Story = {\n args: {\n data: {\n items: testimonialItems?.concat(testimonialItems),\n },\n },\n}\n"],
5
+ "mappings": "0jBAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,UAAAC,EAAA,YAAAC,IAAA,eAAAC,EAAAL,GACA,IAAAM,EAA6B,0DAE7B,MAAMC,EAAmB,CACvB,CACE,KAAM,QACN,YAAa,mCACb,MACE,mIACF,gBACE,gJACF,MAAO,2EACT,EACA,CACE,KAAM,gBACN,YAAa,mCACb,MAAO,uEACP,gBACE,gJACF,MAAO,2EACT,CACF,EAEMC,EAAO,CACX,MAAO,kCACP,UAAW,EAAAC,QACX,WAAY,CACV,OAAQ,YACV,EACA,KAAM,CAAC,UAAU,CACnB,EAEA,IAAOL,EAAQI,EAGR,MAAMN,EAAiB,CAC5B,KAAM,CACJ,KAAM,CACJ,MAAOK,CACT,CACF,CACF,EAEaJ,EAAe,CAC1B,KAAM,CACJ,KAAM,CACJ,MAAOI,GAAkB,OAAOA,CAAgB,CAClD,CACF,CACF",
6
6
  "names": ["mediaplayerMulti_stories_exports", "__export", "Default", "Multi", "mediaplayerMulti_stories_default", "__toCommonJS", "import_MediaPlayerMulti", "testimonialItems", "meta", "MediaPlayerMulti"]
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/stories/popover.stories.tsx"],
4
- "sourcesContent": ["import React from 'react'\nimport { Popover, PopoverContent, PopoverTrigger } from '../components/index.js'\nimport type { Meta } from '@storybook/react/*'\n\nconst meta = {\n title: 'Components/Popover',\n component: Popover,\n subcomponents: { Popover, PopoverTrigger, PopoverContent } as any,\n parameters: {\n layout: 'centered',\n docs: {\n description: {\n component:\n 'popover\u7EC4\u4EF6\uFF0C\u5728\u4E00\u4E2Aportal\u5C55\u793A\u590D\u6742ui, \u57FA\u4E8E@radix-ui/react-popover, https://www.radix-ui.com/primitives/docs/components/popover',\n },\n },\n },\n tags: ['autodocs'],\n} satisfies Meta<typeof Popover>\n\nexport default meta\n\nexport const Default = () => (\n <Popover>\n <PopoverTrigger asChild>\n <button>Open popover</button>\n </PopoverTrigger>\n <PopoverContent className=\"w-80 bg-white\" side=\"right\">\n <div className=\"grid gap-4\">\n <p>\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's\n standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to\n make a type specimen book. It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset\n sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus\n PageMaker including versions of Lorem Ipsum.\n </p>\n </div>\n </PopoverContent>\n </Popover>\n)\n"],
4
+ "sourcesContent": ["import React from 'react'\nimport { Popover, PopoverContent, PopoverTrigger } from '../components/index.js'\nimport type { Meta } from '@storybook/react'\n\nconst meta = {\n title: 'Components/Popover',\n component: Popover,\n subcomponents: { Popover, PopoverTrigger, PopoverContent } as any,\n parameters: {\n layout: 'centered',\n docs: {\n description: {\n component:\n 'popover\u7EC4\u4EF6\uFF0C\u5728\u4E00\u4E2Aportal\u5C55\u793A\u590D\u6742ui, \u57FA\u4E8E@radix-ui/react-popover, https://www.radix-ui.com/primitives/docs/components/popover',\n },\n },\n },\n tags: ['autodocs'],\n} satisfies Meta<typeof Popover>\n\nexport default meta\n\nexport const Default = () => (\n <Popover>\n <PopoverTrigger asChild>\n <button>Open popover</button>\n </PopoverTrigger>\n <PopoverContent className=\"w-80 bg-white\" side=\"right\">\n <div className=\"grid gap-4\">\n <p>\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's\n standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to\n make a type specimen book. It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset\n sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus\n PageMaker including versions of Lorem Ipsum.\n </p>\n </div>\n </PopoverContent>\n </Popover>\n)\n"],
5
5
  "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GAuBE,IAAAK,EAAA,6BAvBFC,EAAkB,iBAClBC,EAAwD,kCAGxD,MAAMC,EAAO,CACX,MAAO,qBACP,UAAW,UACX,cAAe,CAAE,kBAAS,gCAAgB,+BAAe,EACzD,WAAY,CACV,OAAQ,WACR,KAAM,CACJ,YAAa,CACX,UACE,+KACJ,CACF,CACF,EACA,KAAM,CAAC,UAAU,CACnB,EAEA,IAAOL,EAAQK,EAER,MAAMN,EAAU,OACrB,QAAC,WACC,oBAAC,kBAAe,QAAO,GACrB,mBAAC,UAAO,wBAAY,EACtB,KACA,OAAC,kBAAe,UAAU,gBAAgB,KAAK,QAC7C,mBAAC,OAAI,UAAU,aACb,mBAAC,KAAE,0kBAOH,EACF,EACF,GACF",
6
6
  "names": ["popover_stories_exports", "__export", "Default", "popover_stories_default", "__toCommonJS", "import_jsx_runtime", "import_react", "import_components", "meta"]
7
7
  }
@@ -1,9 +1,9 @@
1
- import type { StoryObj } from '@storybook/react/*';
1
+ import type { StoryObj } from '@storybook/react';
2
2
  import { RadioGroup } from '../components/index.js';
3
3
  import React, { type ComponentType } from 'react';
4
4
  declare const meta: {
5
5
  title: string;
6
- component: React.ForwardRefExoticComponent<import("../components/radio.js").RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
6
+ component: React.ForwardRefExoticComponent<import("../index.js").RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
7
7
  subcomponents: {
8
8
  RadioGroupItem: ComponentType<unknown>;
9
9
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/stories/radio.stories.tsx"],
4
- "sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react/*'\nimport { RadioGroup, RadioGroupItem } from '../components/index.js'\nimport React, { type ComponentType } from 'react'\n\nconst meta = {\n title: 'Components/RadioGroup',\n component: RadioGroup,\n subcomponents: { RadioGroupItem: RadioGroupItem as ComponentType<unknown> },\n parameters: {\n layout: 'centered',\n docs: {\n description: {\n component:\n '\u5355\u9009\u6846, \u57FA\u4E8E@radix-ui/react-radio-group https://www.radix-ui.com/primitives/docs/components/radio-group',\n },\n },\n },\n tags: ['autodocs'],\n argTypes: {\n size: {\n control: {\n type: 'select',\n },\n options: ['sm', 'base', 'lg'],\n description: '\u5C3A\u5BF8',\n table: {\n defaultValue: { summary: 'base' },\n },\n },\n },\n args: {\n size: 'base',\n },\n} satisfies Meta<typeof RadioGroup>\n\nexport default meta\n\ntype Story = StoryObj<typeof RadioGroup>\nexport const Default: Story = {\n args: {\n size: 'base',\n children: (\n <>\n <div className=\"flex items-center space-x-2\">\n <RadioGroupItem value=\"option-one\" id=\"option-one\" />\n <label htmlFor=\"option-one\">Option One</label>\n </div>\n <div className=\"flex items-center space-x-2\">\n <RadioGroupItem value=\"option-two\" id=\"option-two\" />\n <label htmlFor=\"option-two\">Option Two</label>\n </div>\n </>\n ),\n },\n}\n"],
4
+ "sourcesContent": ["import type { Meta, StoryObj } from '@storybook/react'\nimport { RadioGroup, RadioGroupItem } from '../components/index.js'\nimport React, { type ComponentType } from 'react'\n\nconst meta = {\n title: 'Components/RadioGroup',\n component: RadioGroup,\n subcomponents: { RadioGroupItem: RadioGroupItem as ComponentType<unknown> },\n parameters: {\n layout: 'centered',\n docs: {\n description: {\n component:\n '\u5355\u9009\u6846, \u57FA\u4E8E@radix-ui/react-radio-group https://www.radix-ui.com/primitives/docs/components/radio-group',\n },\n },\n },\n tags: ['autodocs'],\n argTypes: {\n size: {\n control: {\n type: 'select',\n },\n options: ['sm', 'base', 'lg'],\n description: '\u5C3A\u5BF8',\n table: {\n defaultValue: { summary: 'base' },\n },\n },\n },\n args: {\n size: 'base',\n },\n} satisfies Meta<typeof RadioGroup>\n\nexport default meta\n\ntype Story = StoryObj<typeof RadioGroup>\nexport const Default: Story = {\n args: {\n size: 'base',\n children: (\n <>\n <div className=\"flex items-center space-x-2\">\n <RadioGroupItem value=\"option-one\" id=\"option-one\" />\n <label htmlFor=\"option-one\">Option One</label>\n </div>\n <div className=\"flex items-center space-x-2\">\n <RadioGroupItem value=\"option-two\" id=\"option-two\" />\n <label htmlFor=\"option-two\">Option Two</label>\n </div>\n </>\n ),\n },\n}\n"],
5
5
  "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,aAAAE,EAAA,YAAAC,IAAA,eAAAC,EAAAJ,GA0CM,IAAAK,EAAA,6BAzCNC,EAA2C,kCAC3CC,EAA0C,iBAE1C,MAAMC,EAAO,CACX,MAAO,wBACP,UAAW,aACX,cAAe,CAAE,eAAgB,gBAAyC,EAC1E,WAAY,CACV,OAAQ,WACR,KAAM,CACJ,YAAa,CACX,UACE,6HACJ,CACF,CACF,EACA,KAAM,CAAC,UAAU,EACjB,SAAU,CACR,KAAM,CACJ,QAAS,CACP,KAAM,QACR,EACA,QAAS,CAAC,KAAM,OAAQ,IAAI,EAC5B,YAAa,eACb,MAAO,CACL,aAAc,CAAE,QAAS,MAAO,CAClC,CACF,CACF,EACA,KAAM,CACJ,KAAM,MACR,CACF,EAEA,IAAOL,EAAQK,EAGR,MAAMN,EAAiB,CAC5B,KAAM,CACJ,KAAM,OACN,YACE,oBACE,qBAAC,OAAI,UAAU,8BACb,oBAAC,kBAAe,MAAM,aAAa,GAAG,aAAa,KACnD,OAAC,SAAM,QAAQ,aAAa,sBAAU,GACxC,KACA,QAAC,OAAI,UAAU,8BACb,oBAAC,kBAAe,MAAM,aAAa,GAAG,aAAa,KACnD,OAAC,SAAM,QAAQ,aAAa,sBAAU,GACxC,GACF,CAEJ,CACF",
6
6
  "names": ["radio_stories_exports", "__export", "Default", "radio_stories_default", "__toCommonJS", "import_jsx_runtime", "import_components", "import_react", "meta"]
7
7
  }
@@ -66,6 +66,13 @@ declare const meta: {
66
66
  is?: string | undefined | undefined;
67
67
  exportparts?: string | undefined | undefined;
68
68
  part?: string | undefined | undefined;
69
+ popover?: "" | "auto" | "manual" | undefined | undefined;
70
+ popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
71
+ popoverTarget?: string | undefined | undefined;
72
+ onToggle?: React.ToggleEventHandler<HTMLDivElement> | undefined;
73
+ onBeforeToggle?: React.ToggleEventHandler<HTMLDivElement> | undefined;
74
+ inert?: boolean | undefined | undefined;
75
+ tw?: string | undefined;
69
76
  "aria-activedescendant"?: string | undefined | undefined;
70
77
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
71
78
  "aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
@@ -122,7 +129,7 @@ declare const meta: {
122
129
  children?: React.ReactNode;
123
130
  dangerouslySetInnerHTML?: {
124
131
  __html: string | TrustedHTML;
125
- } | undefined | undefined;
132
+ } | undefined;
126
133
  onCopy?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
127
134
  onCopyCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
128
135
  onCut?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
@@ -283,6 +290,12 @@ declare const meta: {
283
290
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
284
291
  onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
285
292
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
293
+ onTransitionCancel?: React.TransitionEventHandler<HTMLDivElement> | undefined;
294
+ onTransitionCancelCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
295
+ onTransitionRun?: React.TransitionEventHandler<HTMLDivElement> | undefined;
296
+ onTransitionRunCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
297
+ onTransitionStart?: React.TransitionEventHandler<HTMLDivElement> | undefined;
298
+ onTransitionStartCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
286
299
  key?: React.Key | null | undefined;
287
300
  orientation?: "horizontal" | "vertical" | undefined;
288
301
  onValueChange?: ((value: string) => void) | undefined;
@@ -2,7 +2,7 @@ import type { StoryObj } from '@storybook/react';
2
2
  import React from 'react';
3
3
  declare const meta: {
4
4
  title: string;
5
- component: React.ForwardRefExoticComponent<import("../components/text.js").TextProps & React.RefAttributes<HTMLSpanElement>>;
5
+ component: React.ForwardRefExoticComponent<import("../index.js").TextProps & React.RefAttributes<HTMLSpanElement>>;
6
6
  parameters: {
7
7
  layout: string;
8
8
  docs: {
@@ -1,15 +1,18 @@
1
+ /** Hook:监听窗口宽度 */
2
+ type ItemType = {
3
+ /** 标题文本 */
4
+ title: string;
5
+ /** 图片*/
6
+ img: string;
7
+ /** 内容节点 */
8
+ subTitle: string;
9
+ };
1
10
  type AccordionCardsType = {
2
11
  className?: string;
3
12
  data: {
13
+ key?: string;
4
14
  title?: string;
5
- items: Array<{
6
- /** 标题文本 */
7
- title: string;
8
- /** 图片*/
9
- img: string;
10
- /** 内容节点 */
11
- subTitle: string;
12
- }>;
15
+ items: Array<ItemType>;
13
16
  /** 按钮形状 */
14
17
  shape?: 'round' | 'square';
15
18
  /** 卡片形状 */