linkedunion-design-kit 0.1.7 → 0.1.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 (72) hide show
  1. package/dist/app/layout.d.ts +1 -1
  2. package/dist/app/layout.js +12 -0
  3. package/dist/app/page.d.ts +1 -1
  4. package/dist/app/page.js +5 -0
  5. package/dist/components/Border/BorderRadius/BorderRadius.d.ts +1 -1
  6. package/dist/components/Border/BorderRadius/BorderRadius.js +7 -0
  7. package/dist/components/Border/BorderRadius/BorderRadius.stories.js +29 -0
  8. package/dist/components/Border/BorderRadius/BorderRadiusTable.d.ts +1 -1
  9. package/dist/components/Border/BorderRadius/BorderRadiusTable.js +5 -0
  10. package/dist/components/Border/BorderRadius/BorderRadiusView.d.ts +1 -1
  11. package/dist/components/Border/BorderRadius/BorderRadiusView.js +5 -0
  12. package/dist/components/Border/BorderWidth/BorderWidth.d.ts +1 -1
  13. package/dist/components/Border/BorderWidth/BorderWidth.js +7 -0
  14. package/dist/components/Border/BorderWidth/BorderWidth.stories.js +29 -0
  15. package/dist/components/Border/BorderWidth/BorderWidthTable.d.ts +1 -1
  16. package/dist/components/Border/BorderWidth/BorderWidthTable.js +5 -0
  17. package/dist/components/Border/BorderWidth/ViewBorderWidth.d.ts +1 -1
  18. package/dist/components/Border/BorderWidth/ViewBorderWidth.js +5 -0
  19. package/dist/components/Button/Button.d.ts +1 -1
  20. package/dist/components/Button/Button.js +7 -0
  21. package/dist/components/Button/Button.stories.js +121 -0
  22. package/dist/components/Color/Color.d.ts +1 -2
  23. package/dist/components/Color/Color.js +5 -0
  24. package/dist/components/Color/Color.stories.js +88 -0
  25. package/dist/components/Icons/IconView.d.ts +1 -1
  26. package/dist/components/Icons/IconView.js +7 -0
  27. package/dist/components/Icons/IconView.stories.js +20 -0
  28. package/dist/components/Icons/LUIcon.d.ts +1 -1
  29. package/dist/components/Icons/LUIcon.js +8 -0
  30. package/dist/components/Icons/LUIcon.stories.js +41 -0
  31. package/dist/components/Images/LuImage.d.ts +1 -1
  32. package/dist/components/Images/LuImage.js +5 -0
  33. package/dist/components/Images/LuImage.stories.js +49 -0
  34. package/dist/components/Size/MinWidthHeight.d.ts +1 -1
  35. package/dist/components/Size/MinWidthHeight.js +5 -0
  36. package/dist/components/Size/MinWidthHeight.stories.js +34 -0
  37. package/dist/components/Size/Size.d.ts +1 -1
  38. package/dist/components/Size/Size.js +5 -0
  39. package/dist/components/Size/Size.stories.js +34 -0
  40. package/dist/components/Size/WidthHeight.d.ts +1 -1
  41. package/dist/components/Size/WidthHeight.js +5 -0
  42. package/dist/components/Size/WidthHeight.stories.js +34 -0
  43. package/dist/components/Spacing/Margin/Margin.d.ts +1 -1
  44. package/dist/components/Spacing/Margin/Margin.js +5 -0
  45. package/dist/components/Spacing/Margin/MarginBottom.d.ts +1 -1
  46. package/dist/components/Spacing/Margin/MarginBottom.js +5 -0
  47. package/dist/components/Spacing/Margin/MarginLeft.d.ts +1 -1
  48. package/dist/components/Spacing/Margin/MarginLeft.js +5 -0
  49. package/dist/components/Spacing/Margin/MarginRight.d.ts +1 -1
  50. package/dist/components/Spacing/Margin/MarginRight.js +5 -0
  51. package/dist/components/Spacing/Margin/MarginToken.d.ts +1 -1
  52. package/dist/components/Spacing/Margin/MarginToken.js +10 -0
  53. package/dist/components/Spacing/Margin/MarginToken.stories.js +19 -0
  54. package/dist/components/Spacing/Margin/MarginTop.d.ts +1 -1
  55. package/dist/components/Spacing/Margin/MarginTop.js +5 -0
  56. package/dist/components/Spacing/Padding/Padding.d.ts +1 -1
  57. package/dist/components/Spacing/Padding/Padding.js +5 -0
  58. package/dist/components/Spacing/Padding/PaddingBottom.d.ts +1 -1
  59. package/dist/components/Spacing/Padding/PaddingBottom.js +5 -0
  60. package/dist/components/Spacing/Padding/PaddingLeft.d.ts +1 -1
  61. package/dist/components/Spacing/Padding/PaddingLeft.js +5 -0
  62. package/dist/components/Spacing/Padding/PaddingRight.d.ts +1 -1
  63. package/dist/components/Spacing/Padding/PaddingRight.js +5 -0
  64. package/dist/components/Spacing/Padding/PaddingToken.d.ts +1 -1
  65. package/dist/components/Spacing/Padding/PaddingToken.js +10 -0
  66. package/dist/components/Spacing/Padding/PaddingToken.stories.js +19 -0
  67. package/dist/components/Spacing/Padding/PaddingTop.d.ts +1 -1
  68. package/dist/components/Spacing/Padding/PaddingTop.js +5 -0
  69. package/dist/components/Typography/Typography.d.ts +1 -1
  70. package/dist/components/Typography/Typography.js +5 -0
  71. package/dist/components/Typography/Typography.stories.js +63 -0
  72. package/package.json +1 -1
@@ -3,4 +3,4 @@ import '../styles/globals.css';
3
3
  export declare const metadata: Metadata;
4
4
  export default function RootLayout({ children, }: {
5
5
  children: React.ReactNode;
6
- }): import("react").JSX.Element;
6
+ }): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
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'] });
5
+ export var metadata = {
6
+ title: 'Create Next App',
7
+ description: 'Generated by create next app',
8
+ };
9
+ export default function RootLayout(_a) {
10
+ var children = _a.children;
11
+ return (_jsx("html", { lang: "en", children: _jsx("body", { className: inter.className, children: children }) }));
12
+ }
@@ -1 +1 @@
1
- export default function Home(): import("react").JSX.Element;
1
+ export default function Home(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import Image from 'next/image';
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." })] })] })] }));
5
+ }
@@ -1,2 +1,2 @@
1
1
  import { BorderRadiusProps } from "@/types/interface";
2
- export declare const BorderRadius: ({ borderRadius }: BorderRadiusProps) => import("react").JSX.Element;
2
+ export declare const BorderRadius: ({ borderRadius }: BorderRadiusProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { BorderRadiusTable } from "./BorderRadiusTable";
3
+ import { BorderRadiusView } from "./BorderRadiusView";
4
+ export var BorderRadius = function (_a) {
5
+ var borderRadius = _a.borderRadius;
6
+ return (_jsxs(_Fragment, { children: [_jsx("div", { className: "lu-font-size-large lu-font-weight-semibold lu-text-center lu-text-uppercase lu-text-decoration-underline lu-mb-100", children: "Border Radius" }), _jsx(BorderRadiusTable, {}), _jsx("div", { className: "lu-mt-150", children: _jsx(BorderRadiusView, { borderRadius: borderRadius }) })] }));
7
+ };
@@ -0,0 +1,29 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { BorderRadius } from "./BorderRadius";
14
+ import { borderRadiusList } from "../../../utils";
15
+ export default {
16
+ title: "Components/Border",
17
+ component: BorderRadius,
18
+ };
19
+ var Template = function (args) { return _jsx(BorderRadius, __assign({}, args)); };
20
+ export var borderRadius = Template.bind({});
21
+ borderRadius.args = {
22
+ borderRadius: 'lu-border-rounded-xs',
23
+ };
24
+ borderRadius.argTypes = {
25
+ borderRadius: {
26
+ control: { type: "select", labels: Object.fromEntries(borderRadiusList.map(function (borderRadius) { return [borderRadius.key, borderRadius.label]; })) },
27
+ options: borderRadiusList.map(function (borderRadius) { return borderRadius.key; }),
28
+ },
29
+ };
@@ -1 +1 @@
1
- export declare const BorderRadiusTable: () => import("react").JSX.Element;
1
+ export declare const BorderRadiusTable: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
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";
3
+ export var BorderRadiusTable = function () {
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
+ };
@@ -1,2 +1,2 @@
1
1
  import { BorderRadiusProps } from "@/types/interface";
2
- export declare const BorderRadiusView: ({ borderRadius }: BorderRadiusProps) => import("react").JSX.Element;
2
+ export declare const BorderRadiusView: ({ borderRadius }: BorderRadiusProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
+ export var BorderRadiusView = function (_a) {
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 }) }) }));
5
+ };
@@ -1,2 +1,2 @@
1
1
  import { BorderWidthProps } from "@/types/interface";
2
- export declare const BorderWidth: ({ border }: BorderWidthProps) => import("react").JSX.Element;
2
+ export declare const BorderWidth: ({ border }: BorderWidthProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { BorderWidthTable } from "./BorderWidthTable";
3
+ import { ViewBorderWidth } from "./ViewBorderWidth";
4
+ export var BorderWidth = function (_a) {
5
+ var border = _a.border;
6
+ return (_jsxs(_Fragment, { children: [_jsx("div", { className: "lu-font-size-large lu-font-weight-semibold lu-text-center lu-text-uppercase lu-text-decoration-underline lu-mb-100", children: "Border Width" }), _jsx(BorderWidthTable, {}), _jsx("div", { className: "lu-mt-150", children: _jsx(ViewBorderWidth, { border: border }) })] }));
7
+ };
@@ -0,0 +1,29 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { BorderWidth } from "./BorderWidth";
14
+ import { borderWidthList } from "../../../utils";
15
+ export default {
16
+ title: "Components/Border",
17
+ component: BorderWidth,
18
+ };
19
+ var Template = function (args) { return _jsx(BorderWidth, __assign({}, args)); };
20
+ export var borderWidth = Template.bind({});
21
+ borderWidth.args = {
22
+ border: 'lu-border-width-125',
23
+ };
24
+ borderWidth.argTypes = {
25
+ border: {
26
+ control: { type: "select", labels: Object.fromEntries(borderWidthList.map(function (borderWidth) { return [borderWidth.key, borderWidth.label]; })) },
27
+ options: borderWidthList.map(function (borderWidth) { return borderWidth.key; }),
28
+ },
29
+ };
@@ -1 +1 @@
1
- export declare const BorderWidthTable: () => import("react").JSX.Element;
1
+ export declare const BorderWidthTable: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
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";
3
+ export var BorderWidthTable = function () {
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
+ };
@@ -1,2 +1,2 @@
1
1
  import { BorderWidthProps } from "@/types/interface";
2
- export declare const ViewBorderWidth: ({ border }: BorderWidthProps) => import("react").JSX.Element;
2
+ export declare const ViewBorderWidth: ({ border }: BorderWidthProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
+ export var ViewBorderWidth = function (_a) {
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 }) }) }));
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.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;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { LUIcon } from "../Icons/LUIcon";
3
+ import { buttonTypeEnum, contentTypeEnum } from "../../utils/enum";
4
+ export var Button = function (_a) {
5
+ var contentType = _a.contentType, variant = _a.variant, label = _a.label, iconLeft = _a.iconLeft, iconRight = _a.iconRight, onClick = _a.onClick, shape = _a.shape, size = _a.size, 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" }))] }))] }) }));
7
+ };
@@ -0,0 +1,121 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
13
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
14
+ if (ar || !(i in from)) {
15
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
16
+ ar[i] = from[i];
17
+ }
18
+ }
19
+ return to.concat(ar || Array.prototype.slice.call(from));
20
+ };
21
+ import { jsx as _jsx } from "react/jsx-runtime";
22
+ import { Button } from "./Button";
23
+ import { borderRadiusList, buttonColorsList, buttonIconSizeList, buttonWithIconList, butttonSizeList } from "../../utils";
24
+ import { iconList } from "../../utils/iconList";
25
+ import { buttonTypeEnum, contentTypeEnum } from "../../utils/enum";
26
+ export default {
27
+ title: "Components/Button",
28
+ component: Button,
29
+ tags: ['autodocs'],
30
+ };
31
+ var Template = function (args) { return _jsx(Button, __assign({}, args)); };
32
+ export var button = Template.bind({});
33
+ button.args = {
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',
44
+ type: buttonTypeEnum.fill,
45
+ };
46
+ button.argTypes = {
47
+ contentType: {
48
+ control: { type: "select" },
49
+ options: [contentTypeEnum.none, contentTypeEnum.text_with_icon, contentTypeEnum.icon_only],
50
+ description: "Determines the content of the button",
51
+ },
52
+ label: {
53
+ control: { type: "text" },
54
+ description: "Button label text",
55
+ if: { arg: "contentType", neq: contentTypeEnum.icon_only },
56
+ },
57
+ variant: {
58
+ control: { type: "select", labels: Object.fromEntries(buttonColorsList.map(function (btnColor) { return [btnColor.key, btnColor.label]; })) },
59
+ options: buttonColorsList.map(function (btnColor) { return btnColor.key; }),
60
+ },
61
+ iconLeft: {
62
+ control: { type: "select", labels: Object.fromEntries(iconList.map(function (icon) { return [icon.key, icon.label]; })) },
63
+ options: __spreadArray(["none"], iconList.map(function (icon) { return icon.key; }), true),
64
+ if: { arg: "contentType", eq: contentTypeEnum.text_with_icon },
65
+ },
66
+ iconRight: {
67
+ control: { type: "select", labels: Object.fromEntries(iconList.map(function (icon) { return [icon.key, icon.label]; })) },
68
+ options: __spreadArray(["none"], iconList.map(function (icon) { return icon.key; }), true),
69
+ if: { arg: "contentType", eq: contentTypeEnum.text_with_icon },
70
+ },
71
+ shape: {
72
+ control: { type: "select", labels: Object.fromEntries(borderRadiusList.map(function (borderRadius) { return [borderRadius.key, borderRadius.label]; })) },
73
+ options: borderRadiusList.map(function (borderRadius) { return borderRadius.key; }),
74
+ },
75
+ size: {
76
+ control: { type: "select", labels: Object.fromEntries(butttonSizeList.map(function (size) { return [size.key, size.label]; })) },
77
+ options: butttonSizeList.map(function (size) { return size.key; }),
78
+ description: "Select the size of the button",
79
+ update: function (args) {
80
+ var isIconOnly = args.contentType === contentTypeEnum.icon_only;
81
+ // Dynamically update options and labels based on contentType
82
+ return {
83
+ options: isIconOnly
84
+ ? buttonWithIconList.map(function (size) { return size.key; })
85
+ : butttonSizeList.map(function (size) { return size.key; }),
86
+ control: {
87
+ type: "select",
88
+ labels: Object.fromEntries((isIconOnly ? buttonWithIconList : butttonSizeList).map(function (size) { return [
89
+ size.key,
90
+ size.label,
91
+ ]; })),
92
+ },
93
+ };
94
+ },
95
+ },
96
+ leftIconSize: {
97
+ control: { type: "select", labels: Object.fromEntries(buttonIconSizeList.map(function (size) { return [size.key, size.label]; })) },
98
+ options: buttonIconSizeList.map(function (size) { return size.key; }),
99
+ if: { arg: "contentType", eq: contentTypeEnum.text_with_icon },
100
+ },
101
+ rightIconSize: {
102
+ control: { type: "select", labels: Object.fromEntries(buttonIconSizeList.map(function (size) { return [size.key, size.label]; })) },
103
+ options: buttonIconSizeList.map(function (size) { return size.key; }),
104
+ if: { arg: "contentType", eq: contentTypeEnum.text_with_icon },
105
+ },
106
+ icon: {
107
+ control: { type: "select", labels: Object.fromEntries(iconList.map(function (icon) { return [icon.key, icon.label]; })) },
108
+ options: iconList.map(function (icon) { return icon.key; }),
109
+ if: { arg: "contentType", eq: contentTypeEnum.icon_only },
110
+ },
111
+ iconSize: {
112
+ control: { type: "select", labels: Object.fromEntries(buttonIconSizeList.map(function (size) { return [size.key, size.label]; })) },
113
+ options: buttonIconSizeList.map(function (size) { return size.key; }),
114
+ if: { arg: "contentType", eq: contentTypeEnum.icon_only },
115
+ },
116
+ type: {
117
+ control: { type: "select" },
118
+ options: [buttonTypeEnum.fill, buttonTypeEnum.outline],
119
+ description: "Determines the type of the button",
120
+ },
121
+ };
@@ -1,3 +1,2 @@
1
1
  import { ColorProps } from "@/types/interface";
2
- import React from "react";
3
- export declare const Color: ({ label, color }: ColorProps) => React.JSX.Element;
2
+ export declare const Color: ({ label, color }: ColorProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ export var Color = function (_a) {
3
+ var label = _a.label, color = _a.color;
4
+ return (_jsxs("div", { children: [_jsx("h2", { className: "text-lg font-bold mb-4", 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: "font-semibold", children: color === null || color === void 0 ? void 0 : color.replace('bg-', '') }), _jsx("code", { className: "text-sm", children: color })] })] })] }));
5
+ };
@@ -0,0 +1,88 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { Color } from "../../components/Color/Color";
14
+ import { colorGroups } from "../../utils";
15
+ export default {
16
+ title: "Components/Color",
17
+ component: Color,
18
+ argTypes: {
19
+ label: { control: "text" },
20
+ },
21
+ };
22
+ var Template = function (args) { return _jsx(Color, __assign({}, args)); };
23
+ export var Primary = Template.bind({});
24
+ Primary.args = {
25
+ label: "Primary",
26
+ color: "bg-primary-500", // Default color
27
+ };
28
+ Primary.argTypes = {
29
+ color: {
30
+ control: { type: "select" },
31
+ options: colorGroups.primary,
32
+ },
33
+ };
34
+ export var Gray = Template.bind({});
35
+ Gray.argTypes = {
36
+ color: {
37
+ control: { type: "select" },
38
+ options: colorGroups.gray,
39
+ },
40
+ };
41
+ Gray.args = {
42
+ label: "Gray",
43
+ color: "bg-gray-500",
44
+ };
45
+ export var Success = Template.bind({});
46
+ Success.argTypes = {
47
+ color: {
48
+ control: { type: "select" },
49
+ options: colorGroups.success,
50
+ },
51
+ };
52
+ Success.args = {
53
+ label: "Success",
54
+ color: "bg-success-500",
55
+ };
56
+ export var Warning = Template.bind({});
57
+ Warning.argTypes = {
58
+ color: {
59
+ control: { type: "select" },
60
+ options: colorGroups.warning,
61
+ },
62
+ };
63
+ Warning.args = {
64
+ label: "Warning",
65
+ color: "bg-warning-500",
66
+ };
67
+ export var Danger = Template.bind({});
68
+ Danger.argTypes = {
69
+ color: {
70
+ control: { type: "select" },
71
+ options: colorGroups.danger,
72
+ },
73
+ };
74
+ Danger.args = {
75
+ label: "Danger",
76
+ color: "bg-danger-500",
77
+ };
78
+ export var Info = Template.bind({});
79
+ Info.argTypes = {
80
+ color: {
81
+ control: { type: "select" },
82
+ options: colorGroups.info,
83
+ },
84
+ };
85
+ Info.args = {
86
+ label: "Info",
87
+ color: "bg-info-500",
88
+ };
@@ -1 +1 @@
1
- export declare const IconView: () => import("react").JSX.Element;
1
+ export declare const IconView: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { iconList } from "../../utils/iconList";
3
+ export var IconView = function () {
4
+ return (_jsx(_Fragment, { children: _jsx("div", { className: "grid grid-cols-3 sm:grid-cols-4 md:grid-cols-6 lg:grid-cols-6 gap-6", "data-testid": "icons-list", children: iconList.map(function (icon, index) {
5
+ return (_jsxs("div", { className: "flex flex-col items-center justify-center bg-gray-100 lu-border-rounded-lg lu-pd-200 shadow-md hover:bg-gray-200", "data-testid": "single-icon", children: [_jsxs("svg", { width: "25", height: "25", viewBox: "0 0 32 32", fill: "none", className: "mb-2", role: "img", children: [_jsx("g", { clipPath: "url(#clip0_9168_14965)", children: _jsx("path", { d: icon === null || icon === void 0 ? void 0 : icon.path, fill: "#070808" }) }), _jsx("defs", { children: _jsx("clipPath", { id: "clip0_9168_14965", children: _jsx("rect", { width: "32", height: "32", fill: "black" }) }) })] }), _jsx("p", { className: "lu-font-size-x-small lu-font-weight-regular text-gray-700 text-center", children: icon === null || icon === void 0 ? void 0 : icon.label })] }, index));
6
+ }) }) }));
7
+ };
@@ -0,0 +1,20 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { IconView } from "./IconView";
14
+ export default {
15
+ title: "Components/Icon",
16
+ component: IconView,
17
+ tags: ['!autodocs'],
18
+ };
19
+ var Template = function (args) { return _jsx(IconView, __assign({}, args)); };
20
+ export var iconView = Template.bind({});
@@ -1,2 +1,2 @@
1
1
  import { IconProps } from "@/types/interface";
2
- export declare const LUIcon: ({ size, fill, icon, className }: IconProps) => import("react").JSX.Element;
2
+ export declare const LUIcon: ({ size, fill, icon, className }: IconProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { iconList } from "../../utils/iconList";
3
+ export var LUIcon = function (_a) {
4
+ var _b;
5
+ var size = _a.size, fill = _a.fill, icon = _a.icon, className = _a.className;
6
+ var selectedIcon = iconList.find(function (item) { return item.key === icon; });
7
+ return (_jsx(_Fragment, { children: _jsx("div", { "data-testid": "single-icon", 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
+ };
@@ -0,0 +1,41 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { LUIcon } from "./LUIcon";
14
+ import { iconColorList, iconSizeList } from "../../utils";
15
+ import { iconList } from "../../utils/iconList";
16
+ export default {
17
+ title: "Components/Icon",
18
+ component: LUIcon,
19
+ tags: ['autodocs'],
20
+ };
21
+ var Template = function (args) { return _jsx(LUIcon, __assign({}, args)); };
22
+ export var icon = Template.bind({});
23
+ icon.args = {
24
+ size: 'lu-icon-x-small',
25
+ fill: 'lu-primary-icon-default',
26
+ icon: iconList[0].key,
27
+ };
28
+ icon.argTypes = {
29
+ size: {
30
+ control: { type: "select", labels: Object.fromEntries(iconSizeList.map(function (size) { return [size.key, size.label]; })) },
31
+ options: iconSizeList.map(function (size) { return size.key; }),
32
+ },
33
+ fill: {
34
+ control: { type: "select", labels: Object.fromEntries(iconColorList.map(function (color) { return [color.key, color.label]; })) },
35
+ options: iconColorList.map(function (color) { return color.key; }),
36
+ },
37
+ icon: {
38
+ control: { type: "select", labels: Object.fromEntries(iconList.map(function (icon) { return [icon.key, icon.label]; })) },
39
+ options: iconList.map(function (icon) { return icon.key; }),
40
+ }
41
+ };
@@ -1,2 +1,2 @@
1
1
  import { AspectRatioProps } from "@/types/interface";
2
- export declare const Image: ({ image, aspectRatio, className }: AspectRatioProps) => import("react").JSX.Element;
2
+ export declare const Image: ({ image, aspectRatio, className }: AspectRatioProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ export var Image = function (_a) {
3
+ var image = _a.image, aspectRatio = _a.aspectRatio, className = _a.className;
4
+ return (_jsx("div", { className: "lu-width-25 lu-height-25", "data-testid": "lu-image", children: _jsx("img", { src: image || '', alt: "Image", className: "lu-width-100 ".concat(aspectRatio, " ").concat(className) }) }));
5
+ };
@@ -0,0 +1,49 @@
1
+ var __assign = (this && this.__assign) || function () {
2
+ __assign = Object.assign || function(t) {
3
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
4
+ s = arguments[i];
5
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
6
+ t[p] = s[p];
7
+ }
8
+ return t;
9
+ };
10
+ return __assign.apply(this, arguments);
11
+ };
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ import { Image } from "./LuImage";
14
+ import { landscapeaspectRatioList, portraitaspectRatioList } from "../../utils";
15
+ import { orientationEnum } from "../../utils/enum";
16
+ export default {
17
+ title: "Components/Image",
18
+ component: Image,
19
+ };
20
+ var Template = function (args, _a) {
21
+ var argTypes = _a.argTypes;
22
+ //Show aspectRatio options based on orientation(landscape)
23
+ var isLandscape = args.orientation === orientationEnum.landscape;
24
+ argTypes.aspectRatio.options = isLandscape ? landscapeaspectRatioList.map(function (ratio) { return ratio.key; }) : portraitaspectRatioList.map(function (ratio) { return ratio.key; });
25
+ argTypes.aspectRatio.control.labels = Object.fromEntries((isLandscape ? landscapeaspectRatioList : portraitaspectRatioList).map(function (ratio) { return [
26
+ ratio.key,
27
+ ratio.label,
28
+ ]; }));
29
+ return _jsx(Image, __assign({}, args));
30
+ };
31
+ export var image = Template.bind({});
32
+ image.args = {
33
+ image: '/images/demo-image.jpg',
34
+ orientation: orientationEnum.portrait,
35
+ aspectRatio: portraitaspectRatioList[0].key,
36
+ className: ''
37
+ };
38
+ image.argTypes = {
39
+ orientation: {
40
+ control: { type: "select" },
41
+ options: [orientationEnum.portrait, orientationEnum.landscape],
42
+ },
43
+ //Show Default aspectRatio options for portrait orientation
44
+ aspectRatio: {
45
+ control: { type: "select" },
46
+ options: portraitaspectRatioList.map(function (ratio) { return ratio.key; }),
47
+ labels: Object.fromEntries(portraitaspectRatioList.map(function (ratio) { return [ratio.key, ratio.label]; })),
48
+ },
49
+ };
@@ -1,2 +1,2 @@
1
1
  import { MinWidthHeightProps } from "@/types/interface";
2
- export declare const MinWidthHeight: ({ minWidth, minHeight }: MinWidthHeightProps) => import("react").JSX.Element;
2
+ export declare const MinWidthHeight: ({ minWidth, minHeight }: MinWidthHeightProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
2
+ export var MinWidthHeight = function (_a) {
3
+ var minWidth = _a.minWidth, minHeight = _a.minHeight;
4
+ return (_jsx(_Fragment, { children: _jsx("div", { className: "w-fit", children: _jsx("div", { className: "bg-blue-500 ".concat(minWidth, " ").concat(minHeight, " rounded"), "data-testid": "minWidthHeight-box" }) }) }));
5
+ };