linkedunion-design-kit 1.4.7 → 1.4.8

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 (159) hide show
  1. package/README.md +20 -8
  2. package/dist/app/layout.d.ts +2 -2
  3. package/dist/app/layout.js +5 -5
  4. package/dist/app/page.js +2 -2
  5. package/dist/components/Avatar/Avatar.d.ts +1 -1
  6. package/dist/components/Avatar/Avatar.js +2 -5
  7. package/dist/components/Avatar/Avatar.stories.js +15 -6
  8. package/dist/components/Border/BorderRadius/BorderRadius.stories.js +8 -2
  9. package/dist/components/Border/BorderRadius/BorderRadiusTable.js +1 -1
  10. package/dist/components/Border/BorderRadius/BorderRadiusView.js +1 -1
  11. package/dist/components/Border/BorderWidth/BorderWidth.stories.js +8 -2
  12. package/dist/components/Border/BorderWidth/BorderWidthTable.js +1 -1
  13. package/dist/components/Border/BorderWidth/ViewBorderWidth.js +1 -1
  14. package/dist/components/Button/Button.d.ts +1 -1
  15. package/dist/components/Button/Button.js +8 -2
  16. package/dist/components/Button/Button.stories.js +56 -22
  17. package/dist/components/Color/BackgroundColor/Color.js +1 -1
  18. package/dist/components/Color/BackgroundColor/Color.stories.js +18 -6
  19. package/dist/components/Color/BackgroundColor/index.js +8 -1
  20. package/dist/components/Color/TextColor.d.ts +1 -1
  21. package/dist/components/Color/TextColor.js +2 -2
  22. package/dist/components/Color/TextColor.stories.js +4 -1
  23. package/dist/components/Icons/IconView.stories.js +1 -1
  24. package/dist/components/Icons/LUIcon.js +1 -1
  25. package/dist/components/Icons/LUIcon.stories.js +16 -7
  26. package/dist/components/Images/LuImage.d.ts +1 -1
  27. package/dist/components/Images/LuImage.js +2 -2
  28. package/dist/components/Images/LuImage.stories.js +7 -9
  29. package/dist/components/MediaCard/Card.d.ts +1 -1
  30. package/dist/components/MediaCard/Card.js +17 -6
  31. package/dist/components/MediaCard/Card.stories.js +11 -8
  32. package/dist/components/MediaCard/ContactProfile/ContactProfile.js +3 -3
  33. package/dist/components/MediaCard/ContactProfile/ContactProfileTheme1.js +2 -1
  34. package/dist/components/MediaCard/ContactProfile/ContactProfileTheme2.js +2 -1
  35. package/dist/components/MediaCard/PostByCategory/PostByCategory.js +3 -3
  36. package/dist/components/MediaCard/PostByCategory/PostByCategoryTheme1.js +2 -1
  37. package/dist/components/MediaCard/PostByCategory/PostByCategoryTheme2.js +2 -1
  38. package/dist/components/MediaCard/card.module.css +52 -0
  39. package/dist/components/Size/MinWidthHeight.d.ts +1 -1
  40. package/dist/components/Size/MinWidthHeight.stories.js +11 -5
  41. package/dist/components/Size/Size.stories.js +5 -2
  42. package/dist/components/Size/WidthHeight.stories.js +10 -4
  43. package/dist/components/Spacing/Margin/Margin.js +1 -1
  44. package/dist/components/Spacing/Margin/MarginBottom.js +1 -1
  45. package/dist/components/Spacing/Margin/MarginLeft.js +1 -1
  46. package/dist/components/Spacing/Margin/MarginRight.js +1 -1
  47. package/dist/components/Spacing/Margin/MarginTop.js +1 -1
  48. package/dist/components/Spacing/Margin/MarginX.js +1 -1
  49. package/dist/components/Spacing/Margin/MarginY.js +1 -1
  50. package/dist/components/Spacing/Padding/Padding.js +1 -1
  51. package/dist/components/Spacing/Padding/PaddingBottom.js +1 -1
  52. package/dist/components/Spacing/Padding/PaddingLeft.js +1 -1
  53. package/dist/components/Spacing/Padding/PaddingRight.js +1 -1
  54. package/dist/components/Spacing/Padding/PaddingTop.js +1 -1
  55. package/dist/components/Spacing/Padding/PaddingX.js +1 -1
  56. package/dist/components/Spacing/Padding/PaddingY.js +1 -1
  57. package/dist/components/Title/Title.d.ts +6 -0
  58. package/dist/components/Title/Title.js +7 -0
  59. package/dist/components/Title/Title.module.css +56 -0
  60. package/dist/components/Title/Title.stories.d.ts +5 -0
  61. package/dist/components/Title/Title.stories.js +49 -0
  62. package/dist/components/Title/Title.test.d.ts +1 -0
  63. package/dist/components/Title/Title.test.js +24 -0
  64. package/dist/components/Typography/Body/Body.stories.js +11 -11
  65. package/dist/components/Typography/Body/body.test.d.ts +1 -1
  66. package/dist/components/Typography/Body/body.test.js +18 -18
  67. package/dist/components/Typography/Display/Display.js +1 -1
  68. package/dist/components/Typography/Display/Display.stories.js +16 -12
  69. package/dist/components/Typography/Display/Display.test.d.ts +1 -1
  70. package/dist/components/Typography/Display/Display.test.js +20 -20
  71. package/dist/components/Typography/Headings/Heading.test.d.ts +1 -1
  72. package/dist/components/Typography/Headings/Heading.test.js +20 -20
  73. package/dist/components/Typography/Headings/Headings.js +1 -1
  74. package/dist/components/Typography/Headings/Headings.stories.js +12 -8
  75. package/dist/components/Typography/Typography.css +3002 -0
  76. package/dist/components/Typography/Typography.d.ts +1 -1
  77. package/dist/components/Typography/Typography.js +1 -1
  78. package/dist/components/Typography/Typography.stories.js +36 -15
  79. package/dist/index.d.ts +1 -1
  80. package/dist/index.js +1 -1
  81. package/dist/styles/global.css +95 -157
  82. package/dist/tailwind.config.js +4 -2
  83. package/dist/utils/colors.js +5 -5
  84. package/dist/utils/constants.d.ts +1 -0
  85. package/dist/utils/constants.js +1 -0
  86. package/dist/utils/iconList.js +479 -479
  87. package/dist/utils/index.d.ts +379 -379
  88. package/dist/utils/index.js +1383 -1362
  89. package/package.json +5 -2
  90. package/dist/app/layout.jsx +0 -13
  91. package/dist/app/page.jsx +0 -71
  92. package/dist/components/Avatar/Avatar.jsx +0 -15
  93. package/dist/components/Avatar/Avatar.stories.jsx +0 -25
  94. package/dist/components/Border/BorderRadius/BorderRadius.jsx +0 -12
  95. package/dist/components/Border/BorderRadius/BorderRadius.stories.jsx +0 -17
  96. package/dist/components/Border/BorderRadius/BorderRadiusTable.jsx +0 -61
  97. package/dist/components/Border/BorderRadius/BorderRadiusView.jsx +0 -8
  98. package/dist/components/Border/BorderWidth/BorderWidth.jsx +0 -12
  99. package/dist/components/Border/BorderWidth/BorderWidth.stories.jsx +0 -17
  100. package/dist/components/Border/BorderWidth/BorderWidthTable.jsx +0 -36
  101. package/dist/components/Border/BorderWidth/ViewBorderWidth.jsx +0 -8
  102. package/dist/components/Button/Button.jsx +0 -16
  103. package/dist/components/Button/Button.stories.jsx +0 -110
  104. package/dist/components/Color/BackgroundColor/Color.jsx +0 -16
  105. package/dist/components/Color/BackgroundColor/Color.stories.jsx +0 -76
  106. package/dist/components/Color/Color.d.ts +0 -2
  107. package/dist/components/Color/Color.js +0 -5
  108. package/dist/components/Color/Color.stories.d.ts +0 -10
  109. package/dist/components/Color/Color.stories.js +0 -88
  110. package/dist/components/Color/TextColor.jsx +0 -6
  111. package/dist/components/Color/TextColor.stories.jsx +0 -17
  112. package/dist/components/Icons/IconView.jsx +0 -23
  113. package/dist/components/Icons/IconView.stories.jsx +0 -8
  114. package/dist/components/Icons/LUIcon.jsx +0 -20
  115. package/dist/components/Icons/LUIcon.stories.jsx +0 -29
  116. package/dist/components/Images/LuImage.jsx +0 -7
  117. package/dist/components/Images/LuImage.stories.jsx +0 -39
  118. package/dist/components/MediaCard/Card.jsx +0 -33
  119. package/dist/components/MediaCard/Card.stories.jsx +0 -35
  120. package/dist/components/MediaCard/ContactProfile.d.ts +0 -2
  121. package/dist/components/MediaCard/ContactProfile.js +0 -10
  122. package/dist/components/MediaCard/ContactProfile.jsx +0 -39
  123. package/dist/components/MediaCard/PostByCategory.d.ts +0 -2
  124. package/dist/components/MediaCard/PostByCategory.js +0 -23
  125. package/dist/components/MediaCard/PostByCategory.jsx +0 -46
  126. package/dist/components/MediaCard/PostByCategoryTheme1.d.ts +0 -2
  127. package/dist/components/MediaCard/PostByCategoryTheme1.js +0 -8
  128. package/dist/components/MediaCard/PostByCategoryTheme2.d.ts +0 -2
  129. package/dist/components/MediaCard/PostByCategoryTheme2.js +0 -8
  130. package/dist/components/Navigation/TopNavigation/TopNavigation.d.ts +0 -2
  131. package/dist/components/Navigation/TopNavigation/TopNavigation.js +0 -8
  132. package/dist/components/Navigation/TopNavigation/TopNavigation.jsx +0 -45
  133. package/dist/components/Navigation/TopNavigation/TopNavigation.stories.d.ts +0 -4
  134. package/dist/components/Navigation/TopNavigation/TopNavigation.stories.js +0 -52
  135. package/dist/components/Navigation/TopNavigation/TopNavigation.stories.jsx +0 -40
  136. package/dist/components/Size/MinWidthHeight.jsx +0 -8
  137. package/dist/components/Size/MinWidthHeight.stories.jsx +0 -22
  138. package/dist/components/Size/Size.jsx +0 -6
  139. package/dist/components/Size/Size.stories.jsx +0 -22
  140. package/dist/components/Size/WidthHeight.jsx +0 -8
  141. package/dist/components/Size/WidthHeight.stories.jsx +0 -22
  142. package/dist/components/Spacing/Margin/Margin.jsx +0 -86
  143. package/dist/components/Spacing/Margin/MarginBottom.jsx +0 -86
  144. package/dist/components/Spacing/Margin/MarginLeft.jsx +0 -86
  145. package/dist/components/Spacing/Margin/MarginRight.jsx +0 -86
  146. package/dist/components/Spacing/Margin/MarginToken.jsx +0 -27
  147. package/dist/components/Spacing/Margin/MarginToken.stories.jsx +0 -7
  148. package/dist/components/Spacing/Margin/MarginTop.jsx +0 -87
  149. package/dist/components/Spacing/Padding/Padding.jsx +0 -87
  150. package/dist/components/Spacing/Padding/PaddingBottom.jsx +0 -86
  151. package/dist/components/Spacing/Padding/PaddingLeft.jsx +0 -86
  152. package/dist/components/Spacing/Padding/PaddingRight.jsx +0 -87
  153. package/dist/components/Spacing/Padding/PaddingToken.jsx +0 -27
  154. package/dist/components/Spacing/Padding/PaddingToken.stories.jsx +0 -7
  155. package/dist/components/Spacing/Padding/PaddingTop.jsx +0 -87
  156. package/dist/components/Typography/Headings/Headings.jsx +0 -6
  157. package/dist/components/Typography/Headings/Headings.stories.jsx +0 -19
  158. package/dist/components/Typography/Typography.jsx +0 -8
  159. package/dist/components/Typography/Typography.stories.jsx +0 -51
package/README.md CHANGED
@@ -1,4 +1,5 @@
1
- This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
1
+ This is a [Next.js](https://nextjs.org/) project bootstrapped with
2
+ [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
2
3
 
3
4
  ## Getting Started
4
5
 
@@ -14,23 +15,34 @@ pnpm dev
14
15
  bun dev
15
16
  ```
16
17
 
17
- Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
18
+ Open [http://localhost:3000](http://localhost:3000) with your browser to see the
19
+ result.
18
20
 
19
- You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
21
+ You can start editing the page by modifying `app/page.tsx`. The page
22
+ auto-updates as you edit the file.
20
23
 
21
- This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
24
+ This project uses
25
+ [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to
26
+ automatically optimize and load Inter, a custom Google Font.
22
27
 
23
28
  ## Learn More
24
29
 
25
30
  To learn more about Next.js, take a look at the following resources:
26
31
 
27
- - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
32
+ - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js
33
+ features and API.
28
34
  - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
29
35
 
30
- You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
36
+ You can check out
37
+ [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your
38
+ feedback and contributions are welcome!
31
39
 
32
40
  ## Deploy on Vercel
33
41
 
34
- The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
42
+ The easiest way to deploy your Next.js app is to use the
43
+ [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme)
44
+ from the creators of Next.js.
35
45
 
36
- Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
46
+ Check out our
47
+ [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more
48
+ details.
@@ -1,5 +1,5 @@
1
- import type { Metadata } from 'next';
2
- import '../styles/globals.css';
1
+ import type { Metadata } from "next";
2
+ import "../styles/globals.css";
3
3
  export declare const metadata: Metadata;
4
4
  export default function RootLayout({ children, }: {
5
5
  children: React.ReactNode;
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- import { Inter } from 'next/font/google';
3
- import '../styles/globals.css';
4
- var inter = Inter({ subsets: ['latin'] });
2
+ import { Inter } from "next/font/google";
3
+ import "../styles/globals.css";
4
+ var inter = Inter({ subsets: ["latin"] });
5
5
  export var metadata = {
6
- title: 'Create Next App',
7
- description: 'Generated by create next app',
6
+ title: "Create Next App",
7
+ description: "Generated by create next app",
8
8
  };
9
9
  export default function RootLayout(_a) {
10
10
  var children = _a.children;
package/dist/app/page.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import Image from 'next/image';
2
+ import Image from "next/image";
3
3
  export default function Home() {
4
- return (_jsxs("main", { className: "flex min-h-screen flex-col items-center justify-between p-24", children: [_jsxs("div", { className: "z-10 max-w-5xl w-full items-center justify-between font-mono text-sm lg:flex", children: [_jsxs("p", { className: "fixed left-0 top-0 flex w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30", children: ["Get started by editing\u00A0", _jsx("code", { className: "font-mono font-bold", children: "app/page.tsx" })] }), _jsx("div", { className: "fixed bottom-0 left-0 flex h-48 w-full items-end justify-center bg-gradient-to-t from-white via-white dark:from-black dark:via-black lg:static lg:h-auto lg:w-auto lg:bg-none", children: _jsxs("a", { className: "pointer-events-none flex place-items-center gap-2 p-8 lg:pointer-events-auto lg:p-0", href: "https://vercel.com?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app", target: "_blank", rel: "noopener noreferrer", children: ["By", ' ', _jsx(Image, { src: "/vercel.svg", alt: "Vercel Logo", className: "dark:invert", width: 100, height: 24, priority: true })] }) })] }), _jsx("div", { className: "relative flex place-items-center before:absolute before:h-[300px] before:w-[480px] before:-translate-x-1/2 before:rounded-full before:bg-gradient-radial before:from-white before:to-transparent before:blur-2xl before:content-[''] after:absolute after:-z-20 after:h-[180px] after:w-[240px] after:translate-x-1/3 after:bg-gradient-conic after:from-sky-200 after:via-blue-200 after:blur-2xl after:content-[''] before:dark:bg-gradient-to-br before:dark:from-transparent before:dark:to-blue-700 before:dark:opacity-10 after:dark:from-sky-900 after:dark:via-[#0141ff] after:dark:opacity-40 before:lg:h-[360px] z-[-1]", children: _jsx(Image, { className: "relative dark:drop-shadow-[0_0_0.3rem_#ffffff70] dark:invert", src: "/next.svg", alt: "Next.js Logo", width: 180, height: 37, priority: true }) }), _jsxs("div", { className: "mb-32 grid text-center lg:max-w-5xl lg:w-full lg:mb-0 lg:grid-cols-4 lg:text-left", children: [_jsxs("a", { href: "https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app", className: "group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30", target: "_blank", rel: "noopener noreferrer", children: [_jsxs("h2", { className: "mb-3 text-2xl font-semibold", children: ["Docs", ' ', _jsx("span", { className: "inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none", children: "->" })] }), _jsx("p", { className: "m-0 max-w-[30ch] text-sm opacity-50", children: "Find in-depth information about Next.js features and API." })] }), _jsxs("a", { href: "https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app", className: "group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30", target: "_blank", rel: "noopener noreferrer", children: [_jsxs("h2", { className: "mb-3 text-2xl font-semibold", children: ["Learn", ' ', _jsx("span", { className: "inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none", children: "->" })] }), _jsx("p", { className: "m-0 max-w-[30ch] text-sm opacity-50", children: "Learn about Next.js in an interactive course with\u00A0quizzes!" })] }), _jsxs("a", { href: "https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app", className: "group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30", target: "_blank", rel: "noopener noreferrer", children: [_jsxs("h2", { className: "mb-3 text-2xl font-semibold", children: ["Templates", ' ', _jsx("span", { className: "inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none", children: "->" })] }), _jsx("p", { className: "m-0 max-w-[30ch] text-sm opacity-50", children: "Explore the Next.js 13 playground." })] }), _jsxs("a", { href: "https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app", className: "group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30", target: "_blank", rel: "noopener noreferrer", children: [_jsxs("h2", { className: "mb-3 text-2xl font-semibold", children: ["Deploy", ' ', _jsx("span", { className: "inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none", children: "->" })] }), _jsx("p", { className: "m-0 max-w-[30ch] text-sm opacity-50", children: "Instantly deploy your Next.js site to a shareable URL with Vercel." })] })] })] }));
4
+ return (_jsxs("main", { className: "flex min-h-screen flex-col items-center justify-between p-24", children: [_jsxs("div", { className: "z-10 max-w-5xl w-full items-center justify-between font-mono text-sm lg:flex", children: [_jsxs("p", { className: "fixed left-0 top-0 flex w-full justify-center border-b border-gray-300 bg-gradient-to-b from-zinc-200 pb-6 pt-8 backdrop-blur-2xl dark:border-neutral-800 dark:bg-zinc-800/30 dark:from-inherit lg:static lg:w-auto lg:rounded-xl lg:border lg:bg-gray-200 lg:p-4 lg:dark:bg-zinc-800/30", children: ["Get started by editing\u00A0", _jsx("code", { className: "font-mono font-bold", children: "app/page.tsx" })] }), _jsx("div", { className: "fixed bottom-0 left-0 flex h-48 w-full items-end justify-center bg-gradient-to-t from-white via-white dark:from-black dark:via-black lg:static lg:h-auto lg:w-auto lg:bg-none", children: _jsxs("a", { className: "pointer-events-none flex place-items-center gap-2 p-8 lg:pointer-events-auto lg:p-0", href: "https://vercel.com?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app", target: "_blank", rel: "noopener noreferrer", children: ["By", " ", _jsx(Image, { src: "/vercel.svg", alt: "Vercel Logo", className: "dark:invert", width: 100, height: 24, priority: true })] }) })] }), _jsx("div", { className: "relative flex place-items-center before:absolute before:h-[300px] before:w-[480px] before:-translate-x-1/2 before:rounded-full before:bg-gradient-radial before:from-white before:to-transparent before:blur-2xl before:content-[''] after:absolute after:-z-20 after:h-[180px] after:w-[240px] after:translate-x-1/3 after:bg-gradient-conic after:from-sky-200 after:via-blue-200 after:blur-2xl after:content-[''] before:dark:bg-gradient-to-br before:dark:from-transparent before:dark:to-blue-700 before:dark:opacity-10 after:dark:from-sky-900 after:dark:via-[#0141ff] after:dark:opacity-40 before:lg:h-[360px] z-[-1]", children: _jsx(Image, { className: "relative dark:drop-shadow-[0_0_0.3rem_#ffffff70] dark:invert", src: "/next.svg", alt: "Next.js Logo", width: 180, height: 37, priority: true }) }), _jsxs("div", { className: "mb-32 grid text-center lg:max-w-5xl lg:w-full lg:mb-0 lg:grid-cols-4 lg:text-left", children: [_jsxs("a", { href: "https://nextjs.org/docs?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app", className: "group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30", target: "_blank", rel: "noopener noreferrer", children: [_jsxs("h2", { className: "mb-3 text-2xl font-semibold", children: ["Docs", " ", _jsx("span", { className: "inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none", children: "->" })] }), _jsx("p", { className: "m-0 max-w-[30ch] text-sm opacity-50", children: "Find in-depth information about Next.js features and API." })] }), _jsxs("a", { href: "https://nextjs.org/learn?utm_source=create-next-app&utm_medium=appdir-template-tw&utm_campaign=create-next-app", className: "group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30", target: "_blank", rel: "noopener noreferrer", children: [_jsxs("h2", { className: "mb-3 text-2xl font-semibold", children: ["Learn", " ", _jsx("span", { className: "inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none", children: "->" })] }), _jsx("p", { className: "m-0 max-w-[30ch] text-sm opacity-50", children: "Learn about Next.js in an interactive course with\u00A0quizzes!" })] }), _jsxs("a", { href: "https://vercel.com/templates?framework=next.js&utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app", className: "group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30", target: "_blank", rel: "noopener noreferrer", children: [_jsxs("h2", { className: "mb-3 text-2xl font-semibold", children: ["Templates", " ", _jsx("span", { className: "inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none", children: "->" })] }), _jsx("p", { className: "m-0 max-w-[30ch] text-sm opacity-50", children: "Explore the Next.js 13 playground." })] }), _jsxs("a", { href: "https://vercel.com/new?utm_source=create-next-app&utm_medium=appdir-template&utm_campaign=create-next-app", className: "group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30", target: "_blank", rel: "noopener noreferrer", children: [_jsxs("h2", { className: "mb-3 text-2xl font-semibold", children: ["Deploy", " ", _jsx("span", { className: "inline-block transition-transform group-hover:translate-x-1 motion-reduce:transform-none", children: "->" })] }), _jsx("p", { className: "m-0 max-w-[30ch] text-sm opacity-50", children: "Instantly deploy your Next.js site to a shareable URL with Vercel." })] })] })] }));
5
5
  }
@@ -1,2 +1,2 @@
1
1
  import { AvatarProps } from "@/types/interface";
2
- export declare const Avatar: ({ image, icon, shape, size, className }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Avatar: ({ image, icon, shape, size, className, }: AvatarProps) => import("react/jsx-runtime").JSX.Element;
@@ -3,10 +3,7 @@ import { LUIcon } from "../Icons/LUIcon";
3
3
  import { iconList } from "../../utils/iconList";
4
4
  import { avtarBackgroundSize } from "../../utils";
5
5
  export var Avatar = function (_a) {
6
- var image = _a.image, _b = _a.icon, icon = _b === void 0 ? 'user' : _b, shape = _a.shape, size = _a.size, className = _a.className;
6
+ var image = _a.image, _b = _a.icon, icon = _b === void 0 ? "user" : _b, shape = _a.shape, size = _a.size, className = _a.className;
7
7
  var defaultIcon = iconList.find(function (item) { return item.key === (icon || "user"); });
8
- return (_jsx(_Fragment, { children: _jsx("div", { className: "".concat(image ? 'lu-bg-primary-200' : 'lu-bg-gray-100', " flex items-center justify-center ").concat(shape, " overflow-hidden ").concat(className), style: avtarBackgroundSize(size), "data-testid": "lu-avatar", children: image ?
9
- _jsx("img", { src: image, alt: "image", className: "w-full h-full object-cover" })
10
- :
11
- _jsx(LUIcon, { size: size, icon: defaultIcon === null || defaultIcon === void 0 ? void 0 : defaultIcon.key, fill: "lu-neutral-icon-dark", className: "" }) }) }));
8
+ return (_jsx(_Fragment, { children: _jsx("div", { className: "".concat(image ? "lu-bg-primary-200" : "lu-bg-gray-100", " flex items-center justify-center ").concat(shape, " overflow-hidden ").concat(className), style: avtarBackgroundSize(size), "data-testid": "lu-avatar", children: image ? (_jsx("img", { src: image, alt: "image", className: "w-full h-full object-cover" })) : (_jsx(LUIcon, { size: size, icon: defaultIcon === null || defaultIcon === void 0 ? void 0 : defaultIcon.key, fill: "lu-neutral-icon-dark", className: "" })) }) }));
12
9
  };
@@ -19,19 +19,28 @@ export default {
19
19
  var Template = function (args) { return _jsx(Avatar, __assign({}, args)); };
20
20
  export var avatar = Template.bind({});
21
21
  avatar.args = {
22
- image: '/images/avatar.png',
23
- shape: 'square',
24
- size: 'lu-avatar-massive',
25
- className: '',
22
+ image: "/images/avatar.png",
23
+ shape: "square",
24
+ size: "lu-avatar-massive",
25
+ className: "",
26
26
  icon: "user",
27
27
  };
28
28
  avatar.argTypes = {
29
29
  shape: {
30
- control: { type: "select", labels: Object.fromEntries(avatarShapeList.map(function (borderRadius) { return [borderRadius.key, borderRadius.label]; })) },
30
+ control: {
31
+ type: "select",
32
+ labels: Object.fromEntries(avatarShapeList.map(function (borderRadius) { return [
33
+ borderRadius.key,
34
+ borderRadius.label,
35
+ ]; })),
36
+ },
31
37
  options: avatarShapeList.map(function (borderRadius) { return borderRadius.key; }),
32
38
  },
33
39
  size: {
34
- control: { type: "select", labels: Object.fromEntries(avatarSizesList.map(function (size) { return [size.key, size.label]; })) },
40
+ control: {
41
+ type: "select",
42
+ labels: Object.fromEntries(avatarSizesList.map(function (size) { return [size.key, size.label]; })),
43
+ },
35
44
  options: avatarSizesList.map(function (size) { return size.key; }),
36
45
  },
37
46
  };
@@ -19,11 +19,17 @@ export default {
19
19
  var Template = function (args) { return _jsx(BorderRadius, __assign({}, args)); };
20
20
  export var borderRadius = Template.bind({});
21
21
  borderRadius.args = {
22
- borderRadius: 'lu-border-rounded-xs',
22
+ borderRadius: "lu-border-rounded-xs",
23
23
  };
24
24
  borderRadius.argTypes = {
25
25
  borderRadius: {
26
- control: { type: "select", labels: Object.fromEntries(borderRadiusList.map(function (borderRadius) { return [borderRadius.key, borderRadius.label]; })) },
26
+ control: {
27
+ type: "select",
28
+ labels: Object.fromEntries(borderRadiusList.map(function (borderRadius) { return [
29
+ borderRadius.key,
30
+ borderRadius.label,
31
+ ]; })),
32
+ },
27
33
  options: borderRadiusList.map(function (borderRadius) { return borderRadius.key; }),
28
34
  },
29
35
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { table_data_className, table_header_className, table_row_className } from "../../../utils";
2
+ import { table_data_className, table_header_className, table_row_className, } from "../../../utils";
3
3
  export var BorderRadiusTable = function () {
4
4
  return (_jsx(_Fragment, { children: _jsxs("table", { className: "lu-width-100 lu-font-size-x-small lu-font-weight-medium", children: [_jsx("thead", { className: "bg-primary-100", children: _jsxs("tr", { children: [_jsx("th", { className: "".concat(table_header_className), children: "Alias Token Name" }), _jsx("th", { className: "".concat(table_header_className), children: "Base unit Multiplier of 8" }), _jsx("th", { className: "".concat(table_header_className), children: "Value(PX)(REM)" })] }) }), _jsxs("tbody", { children: [_jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-border-rounded-none" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "0x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "0px = 0rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-border-rounded-xs" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "0.25x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "2px = 0.125rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-border-rounded-sm" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "0.5x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "4px = 0.25rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-border-rounded-md" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "0.75x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "6px = 0.375rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-border-rounded-lg" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "1x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "8px = 0.5rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-border-rounded-xl" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "1.5x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "12px = 0.75rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-border-rounded-2xl" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "2x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "16px = 1rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-border-rounded-3xl" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "3x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "24px = 1.5rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-border-rounded-full" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "100x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "9999px" }) })] })] })] }) }));
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  export var BorderRadiusView = function (_a) {
3
3
  var borderRadius = _a.borderRadius;
4
- return (_jsx(_Fragment, { children: _jsx("div", { className: "border-primary-600 lu-pd-200 lu-size-2500 lu-border-width-125 ".concat(borderRadius), "data-testid": "border-radius", children: _jsx("p", { className: "bg-gray-100 lu-pt-050 lu-pr-100 lu-pb-050 lu-pl-100 rounded lu-font-size-x-small", children: borderRadius }) }) }));
4
+ return (_jsx(_Fragment, { children: _jsx("div", { className: "border-primary-600 lu-pd-200 lu-size-2500 lu-border-width-125 ".concat(borderRadius), "data-testid": "border-radius", children: _jsx("p", { className: "lu-bg-neutral-100 lu-pt-050 lu-pr-100 lu-pb-050 lu-pl-100 rounded lu-font-size-x-small", children: borderRadius }) }) }));
5
5
  };
@@ -19,11 +19,17 @@ export default {
19
19
  var Template = function (args) { return _jsx(BorderWidth, __assign({}, args)); };
20
20
  export var borderWidth = Template.bind({});
21
21
  borderWidth.args = {
22
- border: 'lu-border-width-125',
22
+ border: "lu-border-width-125",
23
23
  };
24
24
  borderWidth.argTypes = {
25
25
  border: {
26
- control: { type: "select", labels: Object.fromEntries(borderWidthList.map(function (borderWidth) { return [borderWidth.key, borderWidth.label]; })) },
26
+ control: {
27
+ type: "select",
28
+ labels: Object.fromEntries(borderWidthList.map(function (borderWidth) { return [
29
+ borderWidth.key,
30
+ borderWidth.label,
31
+ ]; })),
32
+ },
27
33
  options: borderWidthList.map(function (borderWidth) { return borderWidth.key; }),
28
34
  },
29
35
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- import { table_data_className, table_header_className, table_row_className } from "../../../utils";
2
+ import { table_data_className, table_header_className, table_row_className, } from "../../../utils";
3
3
  export var BorderWidthTable = function () {
4
4
  return (_jsx(_Fragment, { children: _jsxs("table", { className: "lu-width-100 lu-font-size-x-small lu-font-weight-medium", children: [_jsx("thead", { className: "bg-primary-100", children: _jsxs("tr", { children: [_jsx("th", { className: "".concat(table_header_className), children: "Alias Token Name" }), _jsx("th", { className: "".concat(table_header_className), children: "Base unit Multiplier of 8" }), _jsx("th", { className: "".concat(table_header_className), children: "Value(PX)(REM)" })] }) }), _jsxs("tbody", { children: [_jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-border-width-125" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "0.125x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "1px = 0.063rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-border-width-025" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "0.25x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "2px = 0.125rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-border-width-050" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "0.50x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "4px = 0.25rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-border-width-100" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "1x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "8px = 0.5rem" }) })] })] })] }) }));
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  export var ViewBorderWidth = function (_a) {
3
3
  var border = _a.border;
4
- return (_jsx(_Fragment, { children: _jsx("div", { className: "border-primary-600 lu-border-rounded-2xl lu-pd-200 lu-size-2500 ".concat(border), "data-testid": "border-width", children: _jsx("p", { className: "bg-gray-100 lu-pt-050 lu-pr-100 lu-pb-050 lu-pl-100 rounded lu-font-size-x-small lu-text-center", children: border }) }) }));
4
+ return (_jsx(_Fragment, { children: _jsx("div", { className: "border-primary-600 lu-border-rounded-2xl lu-pd-200 lu-size-2500 ".concat(border), "data-testid": "border-width", children: _jsx("p", { className: "lu-bg-neutral-100 lu-pt-050 lu-pr-100 lu-pb-050 lu-pl-100 rounded lu-font-size-x-small lu-text-center", children: border }) }) }));
5
5
  };
@@ -1,2 +1,2 @@
1
1
  import { ButtonProps } from "@/types/interface";
2
- export declare const Button: ({ contentType, variant, label, iconLeft, iconRight, onClick, shape, size, leftIconSize, rightIconSize, className, icon, iconSize, type }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const Button: ({ contentType, variant, label, iconLeft, iconRight, onClick, shape, size, leftIconSize, rightIconSize, className, icon, iconSize, type, }: ButtonProps) => import("react/jsx-runtime").JSX.Element;
@@ -2,6 +2,12 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
2
2
  import { LUIcon } from "../Icons/LUIcon";
3
3
  import { buttonTypeEnum, contentTypeEnum } from "../../utils/enum";
4
4
  export var Button = function (_a) {
5
- var _b = _a.contentType, contentType = _b === void 0 ? contentTypeEnum.text_with_icon : _b, _c = _a.variant, variant = _c === void 0 ? 'lu-btn-primary' : _c, _d = _a.label, label = _d === void 0 ? 'Button Text' : _d, iconLeft = _a.iconLeft, iconRight = _a.iconRight, onClick = _a.onClick, shape = _a.shape, _e = _a.size, size = _e === void 0 ? 'lu-btn-md' : _e, leftIconSize = _a.leftIconSize, rightIconSize = _a.rightIconSize, className = _a.className, icon = _a.icon, iconSize = _a.iconSize, type = _a.type;
6
- return (_jsx(_Fragment, { children: _jsxs("button", { className: "flex items-center ".concat(shape, " ").concat(type === buttonTypeEnum.outline ? "outline-button ".concat(variant) : variant, " ").concat(className, " ").concat(contentType === contentTypeEnum.icon_only ? "icon-only ".concat(size) : size), onClick: onClick, children: [contentType === contentTypeEnum.none && label, contentType === contentTypeEnum.icon_only && icon && (_jsx(LUIcon, { size: iconSize, icon: icon, fill: type === buttonTypeEnum.outline ? "outline-button ".concat(variant) : variant })), contentType === contentTypeEnum.text_with_icon && (_jsxs(_Fragment, { children: [iconLeft && iconLeft !== 'none' && (_jsx(LUIcon, { size: leftIconSize, icon: iconLeft, fill: type === buttonTypeEnum.outline ? "outline-button ".concat(variant) : variant, className: "lu-mr-100" })), label, iconRight && iconRight !== 'none' && (_jsx(LUIcon, { size: rightIconSize, icon: iconRight, fill: type === buttonTypeEnum.outline ? "outline-button ".concat(variant) : variant, className: "lu-ml-100" }))] }))] }) }));
5
+ var _b = _a.contentType, contentType = _b === void 0 ? contentTypeEnum.text_with_icon : _b, _c = _a.variant, variant = _c === void 0 ? "lu-btn-primary" : _c, _d = _a.label, label = _d === void 0 ? "Button Text" : _d, iconLeft = _a.iconLeft, iconRight = _a.iconRight, onClick = _a.onClick, shape = _a.shape, _e = _a.size, size = _e === void 0 ? "lu-btn-md" : _e, leftIconSize = _a.leftIconSize, rightIconSize = _a.rightIconSize, className = _a.className, icon = _a.icon, iconSize = _a.iconSize, type = _a.type;
6
+ return (_jsx(_Fragment, { children: _jsxs("button", { className: "flex items-center ".concat(shape, " ").concat(type === buttonTypeEnum.outline ? "outline-button ".concat(variant) : variant, " ").concat(className, " ").concat(contentType === contentTypeEnum.icon_only ? "icon-only ".concat(size) : size), onClick: onClick, children: [contentType === contentTypeEnum.none && label, contentType === contentTypeEnum.icon_only && icon && (_jsx(LUIcon, { size: iconSize, icon: icon, fill: type === buttonTypeEnum.outline
7
+ ? "outline-button ".concat(variant)
8
+ : variant })), contentType === contentTypeEnum.text_with_icon && (_jsxs(_Fragment, { children: [iconLeft && iconLeft !== "none" && (_jsx(LUIcon, { size: leftIconSize, icon: iconLeft, fill: type === buttonTypeEnum.outline
9
+ ? "outline-button ".concat(variant)
10
+ : variant, className: "lu-mr-100" })), label, iconRight && iconRight !== "none" && (_jsx(LUIcon, { size: rightIconSize, icon: iconRight, fill: type === buttonTypeEnum.outline
11
+ ? "outline-button ".concat(variant)
12
+ : variant, className: "lu-ml-100" }))] }))] }) }));
7
13
  };
@@ -20,34 +20,38 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
20
20
  };
21
21
  import { jsx as _jsx } from "react/jsx-runtime";
22
22
  import { Button } from "./Button";
23
- import { borderRadiusList, buttonColorsList, buttonIconSizeList, buttonWithIconList, butttonSizeList } from "../../utils";
23
+ import { borderRadiusList, buttonColorsList, buttonIconSizeList, buttonWithIconList, butttonSizeList, } from "../../utils";
24
24
  import { iconList } from "../../utils/iconList";
25
25
  import { buttonTypeEnum, contentTypeEnum } from "../../utils/enum";
26
26
  export default {
27
27
  title: "Components/Button",
28
28
  component: Button,
29
- tags: ['autodocs'],
29
+ tags: ["autodocs"],
30
30
  };
31
31
  var Template = function (args) { return _jsx(Button, __assign({}, args)); };
32
32
  export var button = Template.bind({});
33
33
  button.args = {
34
34
  contentType: contentTypeEnum.none,
35
- variant: 'lu-btn-primary',
36
- label: 'Button Text',
37
- onClick: function () { return alert('Button Clicked'); },
38
- shape: 'lu-border-rounded-sm',
39
- size: 'lu-btn-md',
40
- iconLeft: 'chart-simple',
41
- leftIconSize: 'lu-icon-small',
42
- icon: 'chart-simple',
43
- iconSize: 'lu-icon-small',
35
+ variant: "lu-btn-primary",
36
+ label: "Button Text",
37
+ onClick: function () { return alert("Button Clicked"); },
38
+ shape: "lu-border-rounded-sm",
39
+ size: "lu-btn-md",
40
+ iconLeft: "chart-simple",
41
+ leftIconSize: "lu-icon-small",
42
+ icon: "chart-simple",
43
+ iconSize: "lu-icon-small",
44
44
  type: buttonTypeEnum.fill,
45
- className: '',
45
+ className: "",
46
46
  };
47
47
  button.argTypes = {
48
48
  contentType: {
49
49
  control: { type: "select" },
50
- options: [contentTypeEnum.none, contentTypeEnum.text_with_icon, contentTypeEnum.icon_only],
50
+ options: [
51
+ contentTypeEnum.none,
52
+ contentTypeEnum.text_with_icon,
53
+ contentTypeEnum.icon_only,
54
+ ],
51
55
  description: "Determines the content of the button",
52
56
  },
53
57
  label: {
@@ -56,25 +60,43 @@ button.argTypes = {
56
60
  if: { arg: "contentType", neq: contentTypeEnum.icon_only },
57
61
  },
58
62
  variant: {
59
- control: { type: "select", labels: Object.fromEntries(buttonColorsList.map(function (btnColor) { return [btnColor.key, btnColor.label]; })) },
63
+ control: {
64
+ type: "select",
65
+ labels: Object.fromEntries(buttonColorsList.map(function (btnColor) { return [btnColor.key, btnColor.label]; })),
66
+ },
60
67
  options: buttonColorsList.map(function (btnColor) { return btnColor.key; }),
61
68
  },
62
69
  iconLeft: {
63
- control: { type: "select", labels: Object.fromEntries(iconList.map(function (icon) { return [icon.key, icon.label]; })) },
70
+ control: {
71
+ type: "select",
72
+ labels: Object.fromEntries(iconList.map(function (icon) { return [icon.key, icon.label]; })),
73
+ },
64
74
  options: __spreadArray(["none"], iconList.map(function (icon) { return icon.key; }), true),
65
75
  if: { arg: "contentType", eq: contentTypeEnum.text_with_icon },
66
76
  },
67
77
  iconRight: {
68
- control: { type: "select", labels: Object.fromEntries(iconList.map(function (icon) { return [icon.key, icon.label]; })) },
78
+ control: {
79
+ type: "select",
80
+ labels: Object.fromEntries(iconList.map(function (icon) { return [icon.key, icon.label]; })),
81
+ },
69
82
  options: __spreadArray(["none"], iconList.map(function (icon) { return icon.key; }), true),
70
83
  if: { arg: "contentType", eq: contentTypeEnum.text_with_icon },
71
84
  },
72
85
  shape: {
73
- control: { type: "select", labels: Object.fromEntries(borderRadiusList.map(function (borderRadius) { return [borderRadius.key, borderRadius.label]; })) },
86
+ control: {
87
+ type: "select",
88
+ labels: Object.fromEntries(borderRadiusList.map(function (borderRadius) { return [
89
+ borderRadius.key,
90
+ borderRadius.label,
91
+ ]; })),
92
+ },
74
93
  options: borderRadiusList.map(function (borderRadius) { return borderRadius.key; }),
75
94
  },
76
95
  size: {
77
- control: { type: "select", labels: Object.fromEntries(butttonSizeList.map(function (size) { return [size.key, size.label]; })) },
96
+ control: {
97
+ type: "select",
98
+ labels: Object.fromEntries(butttonSizeList.map(function (size) { return [size.key, size.label]; })),
99
+ },
78
100
  options: butttonSizeList.map(function (size) { return size.key; }),
79
101
  description: "Select the size of the button",
80
102
  update: function (args) {
@@ -95,22 +117,34 @@ button.argTypes = {
95
117
  },
96
118
  },
97
119
  leftIconSize: {
98
- control: { type: "select", labels: Object.fromEntries(buttonIconSizeList.map(function (size) { return [size.key, size.label]; })) },
120
+ control: {
121
+ type: "select",
122
+ labels: Object.fromEntries(buttonIconSizeList.map(function (size) { return [size.key, size.label]; })),
123
+ },
99
124
  options: buttonIconSizeList.map(function (size) { return size.key; }),
100
125
  if: { arg: "contentType", eq: contentTypeEnum.text_with_icon },
101
126
  },
102
127
  rightIconSize: {
103
- control: { type: "select", labels: Object.fromEntries(buttonIconSizeList.map(function (size) { return [size.key, size.label]; })) },
128
+ control: {
129
+ type: "select",
130
+ labels: Object.fromEntries(buttonIconSizeList.map(function (size) { return [size.key, size.label]; })),
131
+ },
104
132
  options: buttonIconSizeList.map(function (size) { return size.key; }),
105
133
  if: { arg: "contentType", eq: contentTypeEnum.text_with_icon },
106
134
  },
107
135
  icon: {
108
- control: { type: "select", labels: Object.fromEntries(iconList.map(function (icon) { return [icon.key, icon.label]; })) },
136
+ control: {
137
+ type: "select",
138
+ labels: Object.fromEntries(iconList.map(function (icon) { return [icon.key, icon.label]; })),
139
+ },
109
140
  options: iconList.map(function (icon) { return icon.key; }),
110
141
  if: { arg: "contentType", eq: contentTypeEnum.icon_only },
111
142
  },
112
143
  iconSize: {
113
- control: { type: "select", labels: Object.fromEntries(buttonIconSizeList.map(function (size) { return [size.key, size.label]; })) },
144
+ control: {
145
+ type: "select",
146
+ labels: Object.fromEntries(buttonIconSizeList.map(function (size) { return [size.key, size.label]; })),
147
+ },
114
148
  options: buttonIconSizeList.map(function (size) { return size.key; }),
115
149
  if: { arg: "contentType", eq: contentTypeEnum.icon_only },
116
150
  },
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  export var Color = function (_a) {
3
3
  var label = _a.label, color = _a.color;
4
- return (_jsxs("div", { children: [_jsx("h2", { className: "lu-font-size-large lu-font-weight-bold lu-mb-200", children: label }), _jsxs("div", { className: "flex items-center gap-4", children: [_jsx("div", { className: "w-10 h-10 rounded ".concat(color), "data-testid": "color-box" }), _jsxs("div", { children: [_jsx("p", { className: "lu-font-weight-semibold", children: color === null || color === void 0 ? void 0 : color.replace('bg-', '') }), _jsx("code", { className: "lu-font-size-small", children: color })] })] })] }));
4
+ return (_jsxs("div", { children: [_jsx("h2", { className: "lu-font-size-large lu-font-weight-bold lu-mb-200", children: label }), _jsxs("div", { className: "flex items-center gap-4", children: [_jsx("div", { className: "w-10 h-10 rounded ".concat(color), "data-testid": "color-box" }), _jsxs("div", { children: [_jsx("p", { className: "lu-font-weight-semibold", children: color === null || color === void 0 ? void 0 : color.replace("bg-", "") }), _jsx("code", { className: "lu-font-size-small", children: color })] })] })] }));
5
5
  };
@@ -28,14 +28,18 @@ Primary.args = {
28
28
  Primary.argTypes = {
29
29
  color: {
30
30
  control: { type: "select" },
31
- options: Object.keys(customBackgroundColor).filter(function (key) { return key.startsWith(".lu-bg-primary-"); }).map(function (key) { return key.slice(1); })
31
+ options: Object.keys(customBackgroundColor)
32
+ .filter(function (key) { return key.startsWith(".lu-bg-primary-"); })
33
+ .map(function (key) { return key.slice(1); }),
32
34
  },
33
35
  };
34
36
  export var Gray = Template.bind({});
35
37
  Gray.argTypes = {
36
38
  color: {
37
39
  control: { type: "select" },
38
- options: Object.keys(customBackgroundColor).filter(function (key) { return key.startsWith(".lu-bg-neutral-"); }).map(function (key) { return key.slice(1); })
40
+ options: Object.keys(customBackgroundColor)
41
+ .filter(function (key) { return key.startsWith(".lu-bg-neutral-"); })
42
+ .map(function (key) { return key.slice(1); }),
39
43
  },
40
44
  };
41
45
  Gray.args = {
@@ -46,7 +50,9 @@ export var Success = Template.bind({});
46
50
  Success.argTypes = {
47
51
  color: {
48
52
  control: { type: "select" },
49
- options: Object.keys(customBackgroundColor).filter(function (key) { return key.startsWith(".lu-bg-success-"); }).map(function (key) { return key.slice(1); })
53
+ options: Object.keys(customBackgroundColor)
54
+ .filter(function (key) { return key.startsWith(".lu-bg-success-"); })
55
+ .map(function (key) { return key.slice(1); }),
50
56
  },
51
57
  };
52
58
  Success.args = {
@@ -57,7 +63,9 @@ export var Warning = Template.bind({});
57
63
  Warning.argTypes = {
58
64
  color: {
59
65
  control: { type: "select" },
60
- options: Object.keys(customBackgroundColor).filter(function (key) { return key.startsWith(".lu-bg-warning-"); }).map(function (key) { return key.slice(1); })
66
+ options: Object.keys(customBackgroundColor)
67
+ .filter(function (key) { return key.startsWith(".lu-bg-warning-"); })
68
+ .map(function (key) { return key.slice(1); }),
61
69
  },
62
70
  };
63
71
  Warning.args = {
@@ -68,7 +76,9 @@ export var Danger = Template.bind({});
68
76
  Danger.argTypes = {
69
77
  color: {
70
78
  control: { type: "select" },
71
- options: Object.keys(customBackgroundColor).filter(function (key) { return key.startsWith(".lu-bg-danger-"); }).map(function (key) { return key.slice(1); })
79
+ options: Object.keys(customBackgroundColor)
80
+ .filter(function (key) { return key.startsWith(".lu-bg-danger-"); })
81
+ .map(function (key) { return key.slice(1); }),
72
82
  },
73
83
  };
74
84
  Danger.args = {
@@ -79,7 +89,9 @@ export var Info = Template.bind({});
79
89
  Info.argTypes = {
80
90
  color: {
81
91
  control: { type: "select" },
82
- options: Object.keys(customBackgroundColor).filter(function (key) { return key.startsWith(".lu-bg-info-"); }).map(function (key) { return key.slice(1); })
92
+ options: Object.keys(customBackgroundColor)
93
+ .filter(function (key) { return key.startsWith(".lu-bg-info-"); })
94
+ .map(function (key) { return key.slice(1); }),
83
95
  },
84
96
  };
85
97
  Info.args = {
@@ -1,4 +1,11 @@
1
- export var colorNames = ["primary", "neutral", "success", "warning", "danger", "info"];
1
+ export var colorNames = [
2
+ "primary",
3
+ "neutral",
4
+ "success",
5
+ "warning",
6
+ "danger",
7
+ "info",
8
+ ];
2
9
  export var shades = Array.from({ length: 11 }, function (_, i) { return i * 100; }); // Generates [0, 100, 200, ..., 1000]
3
10
  export var customBackgroundColor = Object.fromEntries(colorNames.flatMap(function (color) {
4
11
  return shades.map(function (shade) { return [
@@ -1,3 +1,3 @@
1
- export declare const TextColor: ({ color }: {
1
+ export declare const TextColor: ({ color, }: {
2
2
  color?: string;
3
3
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import { jsxs as _jsxs } from "react/jsx-runtime";
2
2
  export var TextColor = function (_a) {
3
- var _b = _a.color, color = _b === void 0 ? 'lu-text-default' : _b;
4
- return (_jsxs("div", { className: "".concat(color), children: [".", color] }));
3
+ var _b = _a.color, color = _b === void 0 ? "lu-text-default" : _b;
4
+ return _jsxs("div", { className: "".concat(color), children: [".", color] });
5
5
  };
@@ -23,7 +23,10 @@ textColor.args = {
23
23
  };
24
24
  textColor.argTypes = {
25
25
  color: {
26
- control: { type: "select", labels: Object.fromEntries(textColorList.map(function (color) { return [color.key, color.label]; })) },
26
+ control: {
27
+ type: "select",
28
+ labels: Object.fromEntries(textColorList.map(function (color) { return [color.key, color.label]; })),
29
+ },
27
30
  options: textColorList.map(function (color) { return color.key; }),
28
31
  },
29
32
  };
@@ -14,7 +14,7 @@ import { IconView } from "./IconView";
14
14
  export default {
15
15
  title: "Components/Icon",
16
16
  component: IconView,
17
- tags: ['!autodocs'],
17
+ tags: ["!autodocs"],
18
18
  };
19
19
  var Template = function (args) { return _jsx(IconView, __assign({}, args)); };
20
20
  export var iconView = Template.bind({});
@@ -4,5 +4,5 @@ export var LUIcon = function (_a) {
4
4
  var _b;
5
5
  var size = _a.size, fill = _a.fill, icon = _a.icon, className = _a.className;
6
6
  var selectedIcon = iconList.find(function (item) { return item.key === icon; });
7
- return (_jsx(_Fragment, { children: _jsxs("svg", { className: "".concat(size, " ").concat(className), viewBox: "0 0 32 32", fill: "none", children: [_jsx("g", { "clip-path": "url(#clip0_9168_14965)", children: _jsx("path", { d: (_b = selectedIcon === null || selectedIcon === void 0 ? void 0 : selectedIcon.path) !== null && _b !== void 0 ? _b : '', className: "".concat(fill, " icon") }) }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_9168_14965", children: _jsx("rect", { width: "32", height: "32", fill: "black" }) }) })] }) }));
7
+ return (_jsx(_Fragment, { children: _jsxs("svg", { className: "".concat(size, " ").concat(className), viewBox: "0 0 32 32", fill: "none", children: [_jsx("g", { "clip-path": "url(#clip0_9168_14965)", children: _jsx("path", { d: (_b = selectedIcon === null || selectedIcon === void 0 ? void 0 : selectedIcon.path) !== null && _b !== void 0 ? _b : "", className: "".concat(fill, " icon") }) }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_9168_14965", children: _jsx("rect", { width: "32", height: "32", fill: "black" }) }) })] }) }));
8
8
  };
@@ -16,26 +16,35 @@ import { iconList } from "../../utils/iconList";
16
16
  export default {
17
17
  title: "Components/Icon",
18
18
  component: LUIcon,
19
- tags: ['autodocs'],
19
+ tags: ["autodocs"],
20
20
  };
21
21
  var Template = function (args) { return _jsx(LUIcon, __assign({}, args)); };
22
22
  export var icon = Template.bind({});
23
23
  icon.args = {
24
- size: 'lu-icon-x-small',
25
- fill: 'lu-primary-icon-default',
24
+ size: "lu-icon-x-small",
25
+ fill: "lu-primary-icon-default",
26
26
  icon: iconList[0].key,
27
27
  };
28
28
  icon.argTypes = {
29
29
  size: {
30
- control: { type: "select", labels: Object.fromEntries(iconSizeList.map(function (size) { return [size.key, size.label]; })) },
30
+ control: {
31
+ type: "select",
32
+ labels: Object.fromEntries(iconSizeList.map(function (size) { return [size.key, size.label]; })),
33
+ },
31
34
  options: iconSizeList.map(function (size) { return size.key; }),
32
35
  },
33
36
  fill: {
34
- control: { type: "select", labels: Object.fromEntries(iconColorList.map(function (color) { return [color.key, color.label]; })) },
37
+ control: {
38
+ type: "select",
39
+ labels: Object.fromEntries(iconColorList.map(function (color) { return [color.key, color.label]; })),
40
+ },
35
41
  options: iconColorList.map(function (color) { return color.key; }),
36
42
  },
37
43
  icon: {
38
- control: { type: "select", labels: Object.fromEntries(iconList.map(function (icon) { return [icon.key, icon.label]; })) },
44
+ control: {
45
+ type: "select",
46
+ labels: Object.fromEntries(iconList.map(function (icon) { return [icon.key, icon.label]; })),
47
+ },
39
48
  options: iconList.map(function (icon) { return icon.key; }),
40
- }
49
+ },
41
50
  };
@@ -1,2 +1,2 @@
1
1
  import { AspectRatioProps } from "@/types/interface";
2
- export declare const LuImage: ({ image, aspectRatio, width, height, className }: AspectRatioProps) => import("react/jsx-runtime").JSX.Element;
2
+ export declare const LuImage: ({ image, aspectRatio, width, height, className, }: AspectRatioProps) => import("react/jsx-runtime").JSX.Element;