linkedunion-design-kit 1.4.6 → 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.
- package/README.md +20 -8
- package/dist/app/layout.d.ts +2 -2
- package/dist/app/layout.js +5 -5
- package/dist/app/page.js +2 -2
- package/dist/app/scripts.js +1 -1
- package/dist/components/Avatar/Avatar.d.ts +1 -1
- package/dist/components/Avatar/Avatar.js +2 -5
- package/dist/components/Avatar/Avatar.stories.js +15 -6
- package/dist/components/Border/BorderRadius/BorderRadius.stories.js +8 -2
- package/dist/components/Border/BorderRadius/BorderRadiusTable.js +1 -1
- package/dist/components/Border/BorderRadius/BorderRadiusView.js +1 -1
- package/dist/components/Border/BorderWidth/BorderWidth.stories.js +8 -2
- package/dist/components/Border/BorderWidth/BorderWidthTable.js +1 -1
- package/dist/components/Border/BorderWidth/ViewBorderWidth.js +1 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/Button.js +8 -2
- package/dist/components/Button/Button.stories.js +56 -22
- package/dist/components/Color/BackgroundColor/Color.js +1 -1
- package/dist/components/Color/BackgroundColor/Color.stories.js +25 -13
- package/dist/components/Color/BackgroundColor/index.d.ts +7 -0
- package/dist/components/Color/BackgroundColor/index.js +15 -0
- package/dist/components/Color/TextColor.d.ts +1 -1
- package/dist/components/Color/TextColor.js +2 -2
- package/dist/components/Color/TextColor.stories.js +4 -1
- package/dist/components/Icons/IconView.stories.js +1 -1
- package/dist/components/Icons/LUIcon.js +1 -1
- package/dist/components/Icons/LUIcon.stories.js +16 -7
- package/dist/components/Images/LuImage.d.ts +1 -1
- package/dist/components/Images/LuImage.js +2 -2
- package/dist/components/Images/LuImage.stories.js +7 -9
- package/dist/components/MediaCard/Card.d.ts +1 -1
- package/dist/components/MediaCard/Card.js +30 -17
- package/dist/components/MediaCard/Card.stories.js +21 -9
- package/dist/components/MediaCard/ContactProfile/ContactProfile.js +23 -0
- package/dist/components/MediaCard/ContactProfile/ContactProfileTheme1.d.ts +2 -0
- package/dist/components/MediaCard/ContactProfile/ContactProfileTheme1.js +9 -0
- package/dist/components/MediaCard/ContactProfile/ContactProfileTheme2.d.ts +2 -0
- package/dist/components/MediaCard/ContactProfile/ContactProfileTheme2.js +9 -0
- package/dist/components/MediaCard/PostByCategory/PostByCategory.js +23 -0
- package/dist/components/MediaCard/PostByCategory/PostByCategoryTheme1.d.ts +2 -0
- package/dist/components/MediaCard/PostByCategory/PostByCategoryTheme1.js +9 -0
- package/dist/components/MediaCard/PostByCategory/PostByCategoryTheme2.d.ts +2 -0
- package/dist/components/MediaCard/PostByCategory/PostByCategoryTheme2.js +9 -0
- package/dist/components/MediaCard/card.module.css +52 -0
- package/dist/components/Size/MinWidthHeight.d.ts +1 -1
- package/dist/components/Size/MinWidthHeight.stories.js +11 -5
- package/dist/components/Size/Size.js +1 -1
- package/dist/components/Size/Size.stories.js +6 -8
- package/dist/components/Size/WidthHeight.stories.js +10 -4
- package/dist/components/Spacing/Margin/Margin.js +1 -1
- package/dist/components/Spacing/Margin/MarginBottom.js +1 -1
- package/dist/components/Spacing/Margin/MarginLeft.js +1 -1
- package/dist/components/Spacing/Margin/MarginRight.js +1 -1
- package/dist/components/Spacing/Margin/MarginToken.js +3 -1
- package/dist/components/Spacing/Margin/MarginTop.js +1 -1
- package/dist/components/Spacing/Margin/MarginX.d.ts +1 -0
- package/dist/components/Spacing/Margin/MarginX.js +5 -0
- package/dist/components/Spacing/Margin/MarginY.d.ts +1 -0
- package/dist/components/Spacing/Margin/MarginY.js +5 -0
- package/dist/components/Spacing/Padding/Padding.js +1 -1
- package/dist/components/Spacing/Padding/PaddingBottom.js +1 -1
- package/dist/components/Spacing/Padding/PaddingLeft.js +1 -1
- package/dist/components/Spacing/Padding/PaddingRight.js +1 -1
- package/dist/components/Spacing/Padding/PaddingToken.js +3 -1
- package/dist/components/Spacing/Padding/PaddingTop.js +1 -1
- package/dist/components/Spacing/Padding/PaddingX.d.ts +1 -0
- package/dist/components/Spacing/Padding/PaddingX.js +5 -0
- package/dist/components/Spacing/Padding/PaddingY.d.ts +1 -0
- package/dist/components/Spacing/Padding/PaddingY.js +5 -0
- package/dist/components/Title/Title.d.ts +6 -0
- package/dist/components/Title/Title.js +7 -0
- package/dist/components/Title/Title.module.css +56 -0
- package/dist/components/Title/Title.stories.d.ts +5 -0
- package/dist/components/Title/Title.stories.js +49 -0
- package/dist/components/Title/Title.test.d.ts +1 -0
- package/dist/components/Title/Title.test.js +24 -0
- package/dist/components/Typography/Body/Body.d.ts +2 -0
- package/dist/components/{MediaCard/Card.jsx → Typography/Body/Body.js} +6 -10
- package/dist/components/Typography/Body/Body.stories.d.ts +6 -0
- package/dist/components/Typography/Body/Body.stories.js +68 -0
- package/dist/components/Typography/Body/body.test.d.ts +1 -0
- package/dist/components/Typography/Body/body.test.js +44 -0
- package/dist/components/Typography/Body/index.d.ts +14 -0
- package/dist/components/Typography/Body/index.js +50 -0
- package/dist/components/Typography/Body/type.d.ts +7 -0
- package/dist/components/Typography/Body/type.js +1 -0
- package/dist/components/Typography/Display/Display.d.ts +2 -0
- package/dist/components/Typography/Display/Display.js +29 -0
- package/dist/components/Typography/Display/Display.stories.d.ts +6 -0
- package/dist/components/Typography/Display/Display.stories.js +72 -0
- package/dist/components/Typography/Display/Display.test.d.ts +1 -0
- package/dist/components/Typography/Display/Display.test.js +44 -0
- package/dist/components/Typography/Display/index.d.ts +38 -0
- package/dist/components/Typography/Display/index.js +61 -0
- package/dist/components/Typography/Display/type.d.ts +8 -0
- package/dist/components/Typography/Display/type.js +1 -0
- package/dist/components/Typography/Headings/Heading.test.d.ts +1 -0
- package/dist/components/Typography/Headings/Heading.test.js +44 -0
- package/dist/components/Typography/Headings/Headings.d.ts +2 -2
- package/dist/components/Typography/Headings/Headings.js +27 -3
- package/dist/components/Typography/Headings/Headings.stories.d.ts +4 -2
- package/dist/components/Typography/Headings/Headings.stories.js +39 -8
- package/dist/components/Typography/Headings/index.d.ts +21 -0
- package/dist/components/Typography/Headings/index.js +68 -0
- package/dist/components/Typography/Headings/type.d.ts +6 -0
- package/dist/components/Typography/Headings/type.js +1 -0
- package/dist/components/Typography/Typography.css +3002 -0
- package/dist/components/Typography/Typography.d.ts +1 -1
- package/dist/components/Typography/Typography.js +1 -1
- package/dist/components/Typography/Typography.stories.js +36 -15
- package/dist/global/components/Table/Table.d.ts +14 -0
- package/dist/global/components/Table/Table.js +12 -0
- package/dist/index.d.ts +13 -10
- package/dist/index.js +13 -10
- package/dist/styles/global.css +1151 -8030
- package/dist/tailwind.config.d.ts +1 -1
- package/dist/tailwind.config.js +85 -46
- package/dist/utils/colors.d.ts +7 -0
- package/dist/utils/colors.js +7 -0
- package/dist/utils/constants.d.ts +2 -0
- package/dist/utils/constants.js +2 -0
- package/dist/utils/enum.js +14 -14
- package/dist/utils/enums.d.ts +51 -0
- package/dist/utils/enums.js +56 -0
- package/dist/utils/iconList.js +479 -479
- package/dist/utils/index.d.ts +379 -472
- package/dist/utils/index.js +1383 -1527
- package/package.json +5 -2
- package/dist/app/layout.jsx +0 -13
- package/dist/app/page.jsx +0 -71
- package/dist/components/Avatar/Avatar.jsx +0 -15
- package/dist/components/Avatar/Avatar.stories.jsx +0 -25
- package/dist/components/Border/BorderRadius/BorderRadius.jsx +0 -12
- package/dist/components/Border/BorderRadius/BorderRadius.stories.jsx +0 -17
- package/dist/components/Border/BorderRadius/BorderRadiusTable.jsx +0 -61
- package/dist/components/Border/BorderRadius/BorderRadiusView.jsx +0 -8
- package/dist/components/Border/BorderWidth/BorderWidth.jsx +0 -12
- package/dist/components/Border/BorderWidth/BorderWidth.stories.jsx +0 -17
- package/dist/components/Border/BorderWidth/BorderWidthTable.jsx +0 -36
- package/dist/components/Border/BorderWidth/ViewBorderWidth.jsx +0 -8
- package/dist/components/Button/Button.jsx +0 -16
- package/dist/components/Button/Button.stories.jsx +0 -110
- package/dist/components/Color/BackgroundColor/Color.jsx +0 -16
- package/dist/components/Color/BackgroundColor/Color.stories.jsx +0 -76
- package/dist/components/Color/Color.d.ts +0 -2
- package/dist/components/Color/Color.js +0 -5
- package/dist/components/Color/Color.stories.d.ts +0 -10
- package/dist/components/Color/Color.stories.js +0 -88
- package/dist/components/Color/TextColor.jsx +0 -6
- package/dist/components/Color/TextColor.stories.jsx +0 -17
- package/dist/components/Icons/IconView.jsx +0 -23
- package/dist/components/Icons/IconView.stories.jsx +0 -8
- package/dist/components/Icons/LUIcon.jsx +0 -20
- package/dist/components/Icons/LUIcon.stories.jsx +0 -29
- package/dist/components/Images/LuImage.jsx +0 -7
- package/dist/components/Images/LuImage.stories.jsx +0 -39
- package/dist/components/MediaCard/Card.stories.jsx +0 -35
- package/dist/components/MediaCard/ContactProfile.js +0 -10
- package/dist/components/MediaCard/ContactProfile.jsx +0 -39
- package/dist/components/MediaCard/PostByCategory.js +0 -11
- package/dist/components/MediaCard/PostByCategory.jsx +0 -46
- package/dist/components/Navigation/TopNavigation/TopNavigation.d.ts +0 -2
- package/dist/components/Navigation/TopNavigation/TopNavigation.js +0 -8
- package/dist/components/Navigation/TopNavigation/TopNavigation.jsx +0 -45
- package/dist/components/Navigation/TopNavigation/TopNavigation.stories.d.ts +0 -4
- package/dist/components/Navigation/TopNavigation/TopNavigation.stories.js +0 -52
- package/dist/components/Navigation/TopNavigation/TopNavigation.stories.jsx +0 -40
- package/dist/components/Size/MinWidthHeight.jsx +0 -8
- package/dist/components/Size/MinWidthHeight.stories.jsx +0 -22
- package/dist/components/Size/Size.jsx +0 -6
- package/dist/components/Size/Size.stories.jsx +0 -22
- package/dist/components/Size/WidthHeight.jsx +0 -8
- package/dist/components/Size/WidthHeight.stories.jsx +0 -22
- package/dist/components/Spacing/Margin/Margin.jsx +0 -86
- package/dist/components/Spacing/Margin/MarginBottom.jsx +0 -86
- package/dist/components/Spacing/Margin/MarginLeft.jsx +0 -86
- package/dist/components/Spacing/Margin/MarginRight.jsx +0 -86
- package/dist/components/Spacing/Margin/MarginToken.jsx +0 -27
- package/dist/components/Spacing/Margin/MarginToken.stories.jsx +0 -7
- package/dist/components/Spacing/Margin/MarginTop.jsx +0 -87
- package/dist/components/Spacing/Padding/Padding.jsx +0 -87
- package/dist/components/Spacing/Padding/PaddingBottom.jsx +0 -86
- package/dist/components/Spacing/Padding/PaddingLeft.jsx +0 -86
- package/dist/components/Spacing/Padding/PaddingRight.jsx +0 -87
- package/dist/components/Spacing/Padding/PaddingToken.jsx +0 -27
- package/dist/components/Spacing/Padding/PaddingToken.stories.jsx +0 -7
- package/dist/components/Spacing/Padding/PaddingTop.jsx +0 -87
- package/dist/components/Typography/Headings/Headings.jsx +0 -6
- package/dist/components/Typography/Headings/Headings.stories.jsx +0 -19
- package/dist/components/Typography/Typography.jsx +0 -8
- package/dist/components/Typography/Typography.stories.jsx +0 -51
- /package/dist/components/MediaCard/{ContactProfile.d.ts → ContactProfile/ContactProfile.d.ts} +0 -0
- /package/dist/components/MediaCard/{PostByCategory.d.ts → PostByCategory/PostByCategory.d.ts} +0 -0
|
@@ -16,26 +16,35 @@ import { iconList } from "../../utils/iconList";
|
|
|
16
16
|
export default {
|
|
17
17
|
title: "Components/Icon",
|
|
18
18
|
component: LUIcon,
|
|
19
|
-
tags: [
|
|
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:
|
|
25
|
-
fill:
|
|
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: {
|
|
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: {
|
|
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: {
|
|
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;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import Image from "next/image";
|
|
3
3
|
export var LuImage = function (_a) {
|
|
4
|
-
var image = _a.image,
|
|
5
|
-
return (_jsx(Image, { src: image ||
|
|
4
|
+
var image = _a.image, _b = _a.aspectRatio, aspectRatio = _b === void 0 ? '' : _b, _c = _a.width, width = _c === void 0 ? 240 : _c, _d = _a.height, height = _d === void 0 ? 240 : _d, _e = _a.className, className = _e === void 0 ? '' : _e;
|
|
5
|
+
return (_jsx(Image, { src: image || "", alt: "Image", width: width, height: height, className: "".concat(aspectRatio, " ").concat(className) }));
|
|
6
6
|
};
|
|
@@ -19,23 +19,21 @@ export default {
|
|
|
19
19
|
};
|
|
20
20
|
var Template = function (args, _a) {
|
|
21
21
|
var argTypes = _a.argTypes;
|
|
22
|
-
//Show aspectRatio options based on orientation(landscape)
|
|
22
|
+
//Show aspectRatio options based on orientation(landscape)
|
|
23
23
|
var isLandscape = args.orientation === orientationEnum.landscape;
|
|
24
|
-
argTypes.aspectRatio.options = isLandscape
|
|
25
|
-
|
|
26
|
-
ratio.key
|
|
27
|
-
|
|
28
|
-
]; }));
|
|
24
|
+
argTypes.aspectRatio.options = isLandscape
|
|
25
|
+
? landscapeaspectRatioList.map(function (ratio) { return ratio.key; })
|
|
26
|
+
: portraitaspectRatioList.map(function (ratio) { return ratio.key; });
|
|
27
|
+
argTypes.aspectRatio.control.labels = Object.fromEntries((isLandscape ? landscapeaspectRatioList : portraitaspectRatioList).map(function (ratio) { return [ratio.key, ratio.label]; }));
|
|
29
28
|
return _jsx(LuImage, __assign({}, args));
|
|
30
29
|
};
|
|
31
30
|
export var image = Template.bind({});
|
|
32
31
|
image.args = {
|
|
33
|
-
image:
|
|
34
|
-
orientation: orientationEnum.portrait,
|
|
32
|
+
image: "/images/demo-image.jpg",
|
|
35
33
|
aspectRatio: portraitaspectRatioList[0].key,
|
|
36
34
|
width: 240,
|
|
37
35
|
height: 240,
|
|
38
|
-
className:
|
|
36
|
+
className: "",
|
|
39
37
|
};
|
|
40
38
|
image.argTypes = {
|
|
41
39
|
orientation: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { CardProps } from "@/types/interface";
|
|
2
|
-
export declare const Card: ({ type,
|
|
2
|
+
export declare const Card: ({ type, layout, id, className, image, mediaPosition, heading, body, href, btnLabel, cardStyle, }: CardProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -9,23 +9,36 @@ var __assign = (this && this.__assign) || function () {
|
|
|
9
9
|
};
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
12
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
24
|
-
import { sectionType } from "../../utils/enum";
|
|
25
|
-
import { PostByCategory } from "./PostByCategory";
|
|
26
|
-
import {
|
|
13
|
+
import { sectionType, cardLayoutEnum } from "../../utils/enum";
|
|
14
|
+
import { PostByCategory } from "./PostByCategory/PostByCategory";
|
|
15
|
+
import { colors } from "../../utils/colors";
|
|
16
|
+
import { defaultCardProps } from "../../utils";
|
|
17
|
+
import { ContactProfile } from "./ContactProfile/ContactProfile";
|
|
27
18
|
export var Card = function (_a) {
|
|
28
|
-
var _b = _a.type, type = _b === void 0 ? sectionType.postByCategoriesTheme : _b, defaultCardProps =
|
|
29
|
-
|
|
30
|
-
|
|
19
|
+
var _b = _a.type, type = _b === void 0 ? sectionType.postByCategoriesTheme : _b, _c = _a.layout, layout = _c === void 0 ? cardLayoutEnum.horizontal : _c, _d = _a.id, id = _d === void 0 ? 1 : _d, _e = _a.className, className = _e === void 0 ? "" : _e, _f = _a.image, image = _f === void 0 ? defaultCardProps.image : _f, _g = _a.mediaPosition, mediaPosition = _g === void 0 ? "" : _g, _h = _a.heading, heading = _h === void 0 ? defaultCardProps.heading : _h, _j = _a.body, body = _j === void 0 ? defaultCardProps.body : _j, _k = _a.href, href = _k === void 0 ? defaultCardProps.href : _k, _l = _a.btnLabel, btnLabel = _l === void 0 ? defaultCardProps.btnLabel : _l, _m = _a.cardStyle, cardStyle = _m === void 0 ? {
|
|
20
|
+
card_title_color: colors.default,
|
|
21
|
+
card_description_color: colors.caption_color,
|
|
22
|
+
card_shadow_toggle: 1,
|
|
23
|
+
card_shadow_color: "rgba(52, 52, 52, 0.15)",
|
|
24
|
+
card_background_color: colors.white,
|
|
25
|
+
card_button_background_color: colors.gray,
|
|
26
|
+
card_button_text_color: colors.default,
|
|
27
|
+
card_image_border_color: colors === null || colors === void 0 ? void 0 : colors.default,
|
|
28
|
+
card_image_border_radius: "0",
|
|
29
|
+
card_image_border: "0",
|
|
30
|
+
} : _m;
|
|
31
|
+
var data = {
|
|
32
|
+
id: id,
|
|
33
|
+
image: image,
|
|
34
|
+
layout: layout,
|
|
35
|
+
mediaPosition: mediaPosition,
|
|
36
|
+
heading: heading,
|
|
37
|
+
body: body,
|
|
38
|
+
className: className,
|
|
39
|
+
btnLabel: btnLabel,
|
|
40
|
+
href: href,
|
|
41
|
+
cardStyle: cardStyle,
|
|
42
|
+
};
|
|
43
|
+
return (_jsxs(_Fragment, { children: [type === sectionType.postByCategoriesTheme && (_jsx(PostByCategory, __assign({}, data))), type === sectionType.contactsProfileTheme && (_jsx(ContactProfile, __assign({}, data)))] }));
|
|
31
44
|
};
|
|
@@ -13,6 +13,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
13
13
|
import { Card } from "./Card";
|
|
14
14
|
import { cardLayoutEnum, orientationEnum, sectionType } from "../../utils/enum";
|
|
15
15
|
import { sectionTypeList } from "../../utils";
|
|
16
|
+
import { colors } from "../../utils/colors";
|
|
16
17
|
export default {
|
|
17
18
|
title: "Components/Card",
|
|
18
19
|
component: Card,
|
|
@@ -21,15 +22,23 @@ var Template = function (args) { return _jsx(Card, __assign({}, args)); };
|
|
|
21
22
|
export var card = Template.bind({});
|
|
22
23
|
card.args = {
|
|
23
24
|
type: sectionType.postByCategoriesTheme,
|
|
24
|
-
image:
|
|
25
|
-
heading:
|
|
26
|
-
body:
|
|
25
|
+
image: "/images/demo-image.jpg",
|
|
26
|
+
heading: "Heading Text",
|
|
27
|
+
body: "The quick brown fox jumps over the lazy dog.",
|
|
27
28
|
mediaPosition: orientationEnum.landscape,
|
|
28
29
|
layout: cardLayoutEnum.horizontal,
|
|
29
|
-
btnLabel:
|
|
30
|
-
href:
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
btnLabel: "View More",
|
|
31
|
+
href: "https://www.google.com/",
|
|
32
|
+
cardStyle: {
|
|
33
|
+
card_title_color: colors.default,
|
|
34
|
+
card_description_color: colors.caption_color,
|
|
35
|
+
card_shadow_toggle: 1,
|
|
36
|
+
card_shadow_color: "rgba(52, 52, 52, 0.15)",
|
|
37
|
+
card_background_color: colors.white,
|
|
38
|
+
card_button_background_color: colors.gray,
|
|
39
|
+
card_button_text_color: colors.default,
|
|
40
|
+
},
|
|
41
|
+
id: 1,
|
|
33
42
|
};
|
|
34
43
|
card.argTypes = {
|
|
35
44
|
mediaPosition: {
|
|
@@ -41,7 +50,10 @@ card.argTypes = {
|
|
|
41
50
|
options: [cardLayoutEnum.horizontal, cardLayoutEnum.vertical],
|
|
42
51
|
},
|
|
43
52
|
type: {
|
|
44
|
-
control: {
|
|
53
|
+
control: {
|
|
54
|
+
type: "select",
|
|
55
|
+
labels: Object.fromEntries(sectionTypeList.map(function (type) { return [type.key, type.label]; })),
|
|
56
|
+
},
|
|
45
57
|
options: sectionTypeList.map(function (type) { return type.key; }),
|
|
46
|
-
}
|
|
58
|
+
},
|
|
47
59
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
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, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { cardLayoutEnum } from "../../../utils/enum";
|
|
14
|
+
import { ContactProfileTheme1 } from "./ContactProfileTheme1";
|
|
15
|
+
import { ContactProfileTheme2 } from "./ContactProfileTheme2";
|
|
16
|
+
import { getColor } from "../../../app/scripts";
|
|
17
|
+
import { colors } from "../../../utils/colors";
|
|
18
|
+
export var ContactProfile = function (props) {
|
|
19
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
20
|
+
return (_jsxs("div", { children: [props.layout === cardLayoutEnum.horizontal ? (_jsx(ContactProfileTheme1, __assign({}, props))) : (_jsx(_Fragment, { children: _jsx(ContactProfileTheme2, __assign({}, props)) })), _jsx("style", { jsx: true, global: true, children: "\n .card_ContactProfile_title_color_".concat(props.id, " {\n color: ").concat(getColor((_a = props.cardStyle) === null || _a === void 0 ? void 0 : _a.card_title_color, colors === null || colors === void 0 ? void 0 : colors.default), ";\n }\n .card_ContactProfile_designation_color_").concat(props.id, " {\n color: ").concat(getColor((_b = props.cardStyle) === null || _b === void 0 ? void 0 : _b.card_description_color, colors.caption_color), ";\n }\n .card_shadow_ContactProfile_").concat(props.id, " {\n box-shadow: ").concat(((_c = props.cardStyle) === null || _c === void 0 ? void 0 : _c.card_shadow_toggle) === 1
|
|
21
|
+
? "0px 4px 12px 0px ".concat(getColor((_d = props.cardStyle) === null || _d === void 0 ? void 0 : _d.card_shadow_color, "rgba(52, 52, 52, 0.15)"))
|
|
22
|
+
: "0px 4px 12px 0px rgba(52, 52, 52, 0.15)", ";\n }\n .card_bg_ContactProfile_").concat(props.id, " {\n background-color: ").concat(getColor((_e = props.cardStyle) === null || _e === void 0 ? void 0 : _e.card_background_color, colors.white), " !important;\n }\n .card_ContactProfile_btn_").concat(props.id, " {\n background-color: ").concat(getColor((_f = props.cardStyle) === null || _f === void 0 ? void 0 : _f.card_button_background_color, colors.gray), " !important;\n color: ").concat(getColor((_g = props.cardStyle) === null || _g === void 0 ? void 0 : _g.card_button_text_color, colors.neutral), " !important;\n fill: ").concat(getColor((_h = props.cardStyle) === null || _h === void 0 ? void 0 : _h.card_button_text_color, colors.neutral), " !important;\n }\n .card_ContactProfile_btn_").concat(props.id, ":hover {\n background-color: ").concat(getColor((_j = props.cardStyle) === null || _j === void 0 ? void 0 : _j.card_button_background_color, colors.gray), " !important;\n color: ").concat(getColor((_k = props.cardStyle) === null || _k === void 0 ? void 0 : _k.card_button_text_color, colors.neutral), " !important;\n fill: ").concat(getColor((_l = props.cardStyle) === null || _l === void 0 ? void 0 : _l.card_button_text_color, colors.neutral), " !important;\n }\n ") })] }));
|
|
23
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Button } from "../../../components/Button/Button";
|
|
3
|
+
import { LuImage } from "../../../components/Images/LuImage";
|
|
4
|
+
import { contentTypeEnum } from "../../../utils/enum";
|
|
5
|
+
import Link from "next/link";
|
|
6
|
+
import styles from "../card.module.css";
|
|
7
|
+
export var ContactProfileTheme1 = function (props) {
|
|
8
|
+
return (_jsxs("div", { className: "lu-pd-250 card_bg_ContactProfile_".concat(props.id, " lu-border-rounded-xl ").concat(props.className, " card_shadow_ContactProfile_").concat(props.id), children: [_jsxs("div", { className: "flex gap-x-5", children: [_jsx("div", { className: "max-w-[240px] overflow-hidden lu-aspect-square ".concat(styles.horizontal_card_image), children: _jsx(LuImage, { image: props.image, aspectRatio: "", width: 160, height: 160, className: "lu-border-rounded-full lu-height-100 object-cover", orientation: props.mediaPosition }) }), _jsx("div", { className: "flex flex-1 flex-col", children: _jsxs("div", { className: "flex flex-col justify-center flex-1 lu-height-100", children: [_jsx("div", { className: "card_ContactProfile_title_color_".concat(props.id, " lu-font-size-2x-large lu-font-weight-semibold ").concat(styles.horizontal_card_heading), children: props.heading }), _jsx("p", { className: "lu-base-font-size lu-font-weight-extra-light card_ContactProfile_designation_color_".concat(props.id, " ").concat(styles.horizontal_body_text), children: props.body })] }) })] }), _jsx(Link, { href: props.href || "", className: "lu-width-100 lu-text-decoration-none", children: _jsx(Button, { contentType: contentTypeEnum.text_with_icon, label: props.btnLabel, variant: "card_ContactProfile_btn_".concat(props.id), iconRight: "angle-right", rightIconSize: "lu-icon-small", size: "lu-btn-lg", className: "lu-border-rounded-sm justify-between lu-width-100 lu-mt-200 ".concat(styles.card_button, " card_ContactProfile_btn_").concat(props.id) }) })] }));
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Button } from "../../../components/Button/Button";
|
|
3
|
+
import { LuImage } from "../../../components/Images/LuImage";
|
|
4
|
+
import { contentTypeEnum } from "../../../utils/enum";
|
|
5
|
+
import Link from "next/link";
|
|
6
|
+
import styles from "../card.module.css";
|
|
7
|
+
export var ContactProfileTheme2 = function (props) {
|
|
8
|
+
return (_jsxs("div", { className: "lu-pd-400 card_bg_ContactProfile_".concat(props.id, " lu-border-rounded-xl ").concat(props.className, " card_shadow_ContactProfile_").concat(props.id, " flex flex-col items-center"), children: [_jsx("div", { className: "max-w-[160px] overflow-hidden lu-aspect-square", children: _jsx(LuImage, { image: props.image, width: 160, height: 160, className: "lu-height-100 object-cover lu-border-rounded-full", orientation: props.mediaPosition }) }), _jsxs("div", { className: "flex flex-col items-center flex-grow lu-m-250 text-center h-[100px]", children: [_jsx("div", { className: "card_ContactProfile_title_color_".concat(props.id, " lu-font-size-2x-large lu-font-weight-semibold ").concat(styles.vertical_card_heading), children: props.heading }), _jsx("p", { className: "lu-base-font-size lu-font-weight-extra-light card_ContactProfile_designation_color_".concat(props.id, " ").concat(styles.vertical_body_text), children: props.body })] }), _jsx(Link, { href: props.href || "", className: "lu-width-100 lu-text-decoration-none", children: _jsx(Button, { contentType: contentTypeEnum.text_with_icon, label: props.btnLabel, variant: "card_ContactProfile_btn_".concat(props.id), iconRight: "angle-right", rightIconSize: "lu-icon-small", size: "lu-btn-lg", className: "lu-border-rounded-sm justify-between lu-width-100 card_ContactProfile_btn_".concat(props.id) }) })] }));
|
|
9
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
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, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { cardLayoutEnum } from "../../../utils/enum";
|
|
14
|
+
import { colors } from "../../../utils/colors";
|
|
15
|
+
import { ensureValue, getColor } from "../../../app/scripts";
|
|
16
|
+
import { PostByCategoryTheme1 } from "./PostByCategoryTheme1";
|
|
17
|
+
import { PostByCategoryTheme2 } from "./PostByCategoryTheme2";
|
|
18
|
+
export var PostByCategory = function (props) {
|
|
19
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
20
|
+
return (_jsxs("div", { children: [props.layout === cardLayoutEnum.horizontal ? (_jsx(PostByCategoryTheme1, __assign({}, props))) : (_jsx(_Fragment, { children: _jsx(PostByCategoryTheme2, __assign({}, props)) })), _jsx("style", { jsx: true, global: true, children: "\n .card_PostByCategory_title_color_".concat(props.id, " {\n color: ").concat(getColor((_a = props.cardStyle) === null || _a === void 0 ? void 0 : _a.card_title_color, colors === null || colors === void 0 ? void 0 : colors.default), ";\n }\n .card_PostByCategory_description_color_").concat(props.id, " {\n color: ").concat(getColor((_b = props.cardStyle) === null || _b === void 0 ? void 0 : _b.card_description_color, colors.caption_color), ";\n }\n .card_shadow_PostByCategory_").concat(props.id, " {\n box-shadow: ").concat(((_c = props.cardStyle) === null || _c === void 0 ? void 0 : _c.card_shadow_toggle) === 1
|
|
21
|
+
? "0px 4px 12px 0px ".concat(getColor((_d = props.cardStyle) === null || _d === void 0 ? void 0 : _d.card_shadow_color, "rgba(52, 52, 52, 0.15)"))
|
|
22
|
+
: "0px 4px 12px 0px rgba(52, 52, 52, 0.15)", ";\n }\n .card_bg_PostByCategory_").concat(props.id, " {\n background-color: ").concat(getColor((_e = props.cardStyle) === null || _e === void 0 ? void 0 : _e.card_background_color, colors.white), " !important;\n }\n .card_PostByCategory_btn_").concat(props.id, " {\n background-color: ").concat(getColor((_f = props.cardStyle) === null || _f === void 0 ? void 0 : _f.card_button_background_color, colors.gray), " !important;\n color: ").concat(getColor((_g = props.cardStyle) === null || _g === void 0 ? void 0 : _g.card_button_text_color, colors.neutral), " !important;\n fill: ").concat(getColor((_h = props.cardStyle) === null || _h === void 0 ? void 0 : _h.card_button_text_color, colors.neutral), " !important;\n }\n .card_PostByCategory_btn_").concat(props.id, ":hover {\n background-color: ").concat(getColor((_j = props.cardStyle) === null || _j === void 0 ? void 0 : _j.card_button_background_color, colors.gray), " !important;\n color: ").concat(getColor((_k = props.cardStyle) === null || _k === void 0 ? void 0 : _k.card_button_text_color, colors.neutral), " !important;\n fill: ").concat(getColor((_l = props.cardStyle) === null || _l === void 0 ? void 0 : _l.card_button_text_color, colors.neutral), " !important;\n }\n .card_PostByCategory_theme2_image_").concat(props === null || props === void 0 ? void 0 : props.id, " {\n border-color: ").concat(getColor((_m = props.cardStyle) === null || _m === void 0 ? void 0 : _m.card_image_border_color, colors === null || colors === void 0 ? void 0 : colors.default), " !important;\n border-radius: ").concat(ensureValue((_o = props.cardStyle) === null || _o === void 0 ? void 0 : _o.card_image_border_radius, "0"), "%;\n border: ").concat(ensureValue((_p = props.cardStyle) === null || _p === void 0 ? void 0 : _p.card_image_border, "0"), "px\n solid;\n }\n ") })] }));
|
|
23
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { LuImage } from "../../../components/Images/LuImage";
|
|
3
|
+
import Link from "next/link";
|
|
4
|
+
import { Button } from "../../../components/Button/Button";
|
|
5
|
+
import { contentTypeEnum } from "../../../utils/enum";
|
|
6
|
+
import styles from "../card.module.css";
|
|
7
|
+
export var PostByCategoryTheme1 = function (props) {
|
|
8
|
+
return (_jsxs("div", { className: "lu-pd-250 card_bg_PostByCategory_".concat(props.id, " lu-border-rounded-xl ").concat(props.className, " card_shadow_PostByCategory_").concat(props.id, " flex gap-x-[20px] lu-width-100"), children: [_jsx("div", { className: "lu-width-100 max-w-[240px] overflow-hidden lu-aspect-square horizontal_card_image", children: _jsx(LuImage, { image: props.image, width: 240, height: 240, className: "lu-border-rounded-lg lu-width-100 lu-height-100 object-cover", orientation: props.mediaPosition }) }), _jsxs("div", { className: "flex flex-1 flex-col", children: [_jsxs("div", { className: "flex flex-col justify-center flex-1 h-full", children: [_jsx("div", { className: "card_PostByCategory_title_color_".concat(props.id, " lu-font-size-2x-large lu-font-weight-semibold ").concat(styles.horizontal_card_heading), children: props.heading }), _jsx("p", { className: "card_PostByCategory_description_color_".concat(props.id, " lu-base-font-size lu-font-weight-extra-light ").concat(styles.horizontal_body_text), children: props.body })] }), _jsx(Link, { href: props.href || "", className: "lu-width-100 lu-text-decoration-none", children: _jsx(Button, { contentType: contentTypeEnum.text_with_icon, label: props.btnLabel, variant: "card_PostByCategory_btn_".concat(props.id), iconRight: "angle-right", rightIconSize: "lu-icon-small", size: "lu-btn-lg", className: "lu-border-rounded-sm justify-between lu-width-100 ".concat(styles.card_button, " card_PostByCategory_btn_").concat(props.id) }) })] })] }));
|
|
9
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { LuImage } from "../../../components/Images/LuImage";
|
|
3
|
+
import Link from "next/link";
|
|
4
|
+
import { Button } from "../../../components/Button/Button";
|
|
5
|
+
import { contentTypeEnum } from "../../../utils/enum";
|
|
6
|
+
import styles from "../card.module.css";
|
|
7
|
+
export var PostByCategoryTheme2 = function (props) {
|
|
8
|
+
return (_jsxs("div", { className: "lu-pd-400 card_bg_PostByCategory_".concat(props.id, " lu-border-rounded-xl ").concat(props.className, " card_shadow_PostByCategory_").concat(props.id, " flex flex-col items-center lu-width-100"), children: [_jsx("div", { className: "lu-width-100 max-w-[240px] overflow-hidden lu-aspect-square", children: _jsx(LuImage, { image: props.image, width: 240, height: 240, className: "lu-width-100 lu-height-100 object-cover card_PostByCategory_theme2_image_".concat(props === null || props === void 0 ? void 0 : props.id), orientation: props.mediaPosition }) }), _jsxs("div", { className: "flex flex-col items-center flex-grow lu-m-250 text-center h-[100px]", children: [_jsx("div", { className: "card_PostByCategory_title_color_".concat(props.id, " lu-font-size-2x-large lu-font-weight-semibold ").concat(styles.vertical_card_heading), children: props.heading }), _jsx("p", { className: "card_PostByCategory_description_color_".concat(props.id, " lu-base-font-size lu-font-weight-extra-light ").concat(styles.vertical_body_text), children: props.body })] }), _jsx(Link, { href: props.href || "", className: "lu-width-100 lu-text-decoration-none", children: _jsx(Button, { contentType: contentTypeEnum.text_with_icon, label: props.btnLabel, variant: "card_PostByCategory_btn_".concat(props.id), iconRight: "angle-right", rightIconSize: "lu-icon-small", size: "lu-btn-lg", className: "lu-border-rounded-sm justify-between lu-width-100 card_PostByCategory_btn_".concat(props.id) }) })] }));
|
|
9
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
.vertical_card_heading {
|
|
2
|
+
display: -webkit-box;
|
|
3
|
+
-webkit-line-clamp: 1;
|
|
4
|
+
line-clamp: 1;
|
|
5
|
+
-webkit-box-orient: vertical;
|
|
6
|
+
overflow: hidden;
|
|
7
|
+
text-transform: capitalize;
|
|
8
|
+
}
|
|
9
|
+
.vertical_body_text {
|
|
10
|
+
display: -webkit-box;
|
|
11
|
+
-webkit-line-clamp: 2;
|
|
12
|
+
line-clamp: 2;
|
|
13
|
+
-webkit-box-orient: vertical;
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
}
|
|
16
|
+
.horizontal_card_heading {
|
|
17
|
+
display: -webkit-box;
|
|
18
|
+
-webkit-line-clamp: 1;
|
|
19
|
+
line-clamp: 1;
|
|
20
|
+
-webkit-box-orient: vertical;
|
|
21
|
+
overflow: hidden;
|
|
22
|
+
text-transform: capitalize;
|
|
23
|
+
}
|
|
24
|
+
.horizontal_body_text {
|
|
25
|
+
display: -webkit-box;
|
|
26
|
+
-webkit-line-clamp: 2;
|
|
27
|
+
line-clamp: 2;
|
|
28
|
+
-webkit-box-orient: vertical;
|
|
29
|
+
overflow: hidden;
|
|
30
|
+
}
|
|
31
|
+
@media (max-width: 440px) and (min-width: 398px) {
|
|
32
|
+
.horizontal_card_image {
|
|
33
|
+
max-width: 160px;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
@media (max-width: 398px) {
|
|
37
|
+
.horizontal_card_image {
|
|
38
|
+
display: none;
|
|
39
|
+
}
|
|
40
|
+
.horizontal_body_text {
|
|
41
|
+
display: -webkit-box;
|
|
42
|
+
-webkit-line-clamp: 1;
|
|
43
|
+
line-clamp: 1;
|
|
44
|
+
-webkit-box-orient: vertical;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
margin-top: 7px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.card_button {
|
|
50
|
+
margin-top: 10px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { MinWidthHeightProps } from "@/types/interface";
|
|
2
|
-
export declare const MinWidthHeight: ({ minWidth, minHeight }: MinWidthHeightProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const MinWidthHeight: ({ minWidth, minHeight, }: MinWidthHeightProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,19 +16,25 @@ export default {
|
|
|
16
16
|
title: "Components/Size",
|
|
17
17
|
component: MinWidthHeight,
|
|
18
18
|
};
|
|
19
|
-
var Template = function (args) { return _jsx(MinWidthHeight, __assign({}, args)); };
|
|
19
|
+
var Template = function (args) { return (_jsx(MinWidthHeight, __assign({}, args))); };
|
|
20
20
|
export var minWidthAndHeight = Template.bind({});
|
|
21
21
|
minWidthAndHeight.args = {
|
|
22
|
-
minWidth:
|
|
23
|
-
minHeight:
|
|
22
|
+
minWidth: "lu-min-width-100",
|
|
23
|
+
minHeight: "lu-min-height-100",
|
|
24
24
|
};
|
|
25
25
|
minWidthAndHeight.argTypes = {
|
|
26
26
|
minWidth: {
|
|
27
|
-
control: {
|
|
27
|
+
control: {
|
|
28
|
+
type: "select",
|
|
29
|
+
labels: Object.fromEntries(minWidths.map(function (size) { return [size.key, size.label]; })),
|
|
30
|
+
},
|
|
28
31
|
options: minWidths.map(function (size) { return size.key; }),
|
|
29
32
|
},
|
|
30
33
|
minHeight: {
|
|
31
|
-
control: {
|
|
34
|
+
control: {
|
|
35
|
+
type: "select",
|
|
36
|
+
labels: Object.fromEntries(minHeights.map(function (size) { return [size.key, size.label]; })),
|
|
37
|
+
},
|
|
32
38
|
options: minHeights.map(function (size) { return size.key; }),
|
|
33
39
|
},
|
|
34
40
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
export var Size = function (_a) {
|
|
3
3
|
var size = _a.size, color = _a.color;
|
|
4
|
-
return (_jsx(_Fragment, { children: _jsx("div", { className: "".concat(size, " rounded ")
|
|
4
|
+
return (_jsx(_Fragment, { children: _jsx("div", { className: "".concat(size, " rounded lu-bg-primary-600"), "data-testid": "size-box" }) }));
|
|
5
5
|
};
|
|
@@ -11,7 +11,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
13
|
import { Size } from "../../components/Size/Size";
|
|
14
|
-
import {
|
|
14
|
+
import { sizes } from "../../utils";
|
|
15
15
|
export default {
|
|
16
16
|
title: "Components/Size",
|
|
17
17
|
component: Size,
|
|
@@ -19,16 +19,14 @@ export default {
|
|
|
19
19
|
var Template = function (args) { return _jsx(Size, __assign({}, args)); };
|
|
20
20
|
export var SizeStory = Template.bind({});
|
|
21
21
|
SizeStory.args = {
|
|
22
|
-
size:
|
|
23
|
-
color: 'bg-primary-500',
|
|
22
|
+
size: "lu-size-400",
|
|
24
23
|
};
|
|
25
24
|
SizeStory.argTypes = {
|
|
26
25
|
size: {
|
|
27
|
-
control: {
|
|
26
|
+
control: {
|
|
27
|
+
type: "select",
|
|
28
|
+
labels: Object.fromEntries(sizes.map(function (size) { return [size.key, size.label]; })),
|
|
29
|
+
},
|
|
28
30
|
options: sizes.map(function (size) { return size.key; }),
|
|
29
31
|
},
|
|
30
|
-
color: {
|
|
31
|
-
control: { type: "select" },
|
|
32
|
-
options: colorGroups.primary,
|
|
33
|
-
},
|
|
34
32
|
};
|
|
@@ -19,16 +19,22 @@ export default {
|
|
|
19
19
|
var Template = function (args) { return _jsx(WidthHeight, __assign({}, args)); };
|
|
20
20
|
export var widthAndHeight = Template.bind({});
|
|
21
21
|
widthAndHeight.args = {
|
|
22
|
-
width:
|
|
23
|
-
height:
|
|
22
|
+
width: "lu-width-50",
|
|
23
|
+
height: "lu-height-50",
|
|
24
24
|
};
|
|
25
25
|
widthAndHeight.argTypes = {
|
|
26
26
|
width: {
|
|
27
|
-
control: {
|
|
27
|
+
control: {
|
|
28
|
+
type: "select",
|
|
29
|
+
labels: Object.fromEntries(widths.map(function (size) { return [size.key, size.label]; })),
|
|
30
|
+
},
|
|
28
31
|
options: widths.map(function (size) { return size.key; }),
|
|
29
32
|
},
|
|
30
33
|
height: {
|
|
31
|
-
control: {
|
|
34
|
+
control: {
|
|
35
|
+
type: "select",
|
|
36
|
+
labels: Object.fromEntries(heights.map(function (size) { return [size.key, size.label]; })),
|
|
37
|
+
},
|
|
32
38
|
options: heights.map(function (size) { return size.key; }),
|
|
33
39
|
},
|
|
34
40
|
};
|
|
@@ -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_row_className, table_sub_heading_className } from "../../../utils";
|
|
2
|
+
import { table_data_className, table_row_className, table_sub_heading_className, } from "../../../utils";
|
|
3
3
|
export var Margin = function () {
|
|
4
4
|
return (_jsxs(_Fragment, { children: [_jsx("tr", { children: _jsx("td", { colSpan: 3, className: "".concat(table_sub_heading_className), children: "Margin" }) }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-m-0" }) }), _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-m-050" }) }), _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-m-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" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-m-150" }) }), _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-m-200" }) }), _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-m-250" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "2.5x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "20px = 1.25rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-m-300" }) }), _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-m-400" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "4x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "32px = 2rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-m-500" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "5x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "40px = 2.5rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-m-600" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "6x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "48px = 3rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-m-800" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "8x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "64px = 4rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-m-1000" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "10x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "80px = 5rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-m-1500" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "15x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "120px = 7.5rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-m-2000" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "20x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "160px = 10rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-m-2500" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "25x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "200px = 12.5rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-m-3000" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "30x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "240px = 15rem" }) })] })] }));
|
|
5
5
|
};
|
|
@@ -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_row_className, table_sub_heading_className } from "../../../utils";
|
|
2
|
+
import { table_data_className, table_row_className, table_sub_heading_className, } from "../../../utils";
|
|
3
3
|
export var MarginBottom = function () {
|
|
4
4
|
return (_jsxs(_Fragment, { children: [_jsx("tr", { children: _jsx("td", { colSpan: 3, className: "".concat(table_sub_heading_className), children: "Margin Bottom" }) }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-mb-0" }) }), _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-mb-050" }) }), _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-mb-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" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-mb-150" }) }), _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-mb-200" }) }), _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-mb-250" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "2.5x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "20px = 1.25rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-mb-300" }) }), _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-mb-400" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "4x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "32px = 2rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-mb-500" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "5x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "40px = 2.5rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-mb-600" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "6x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "48px = 3rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-mb-800" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "8x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "64px = 4rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-mb-1000" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "10x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "80px = 5rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-mb-1500" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "15x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "120px = 7.5rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-mb-2000" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "20x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "160px = 10rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-mb-2500" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "25x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "200px = 12.5rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-mb-3000" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "30x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "240px = 15rem" }) })] })] }));
|
|
5
5
|
};
|
|
@@ -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_row_className, table_sub_heading_className } from "../../../utils";
|
|
2
|
+
import { table_data_className, table_row_className, table_sub_heading_className, } from "../../../utils";
|
|
3
3
|
export var MarginLeft = function () {
|
|
4
4
|
return (_jsxs(_Fragment, { children: [_jsx("tr", { children: _jsx("td", { colSpan: 3, className: "".concat(table_sub_heading_className), children: "Margin Left" }) }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-ml-0" }) }), _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-ml-050" }) }), _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-ml-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" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-ml-150" }) }), _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-ml-200" }) }), _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-ml-250" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "2.5x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "20px = 1.25rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-ml-300" }) }), _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-ml-400" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "4x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "32px = 2rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-ml-500" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "5x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "40px = 2.5rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-ml-600" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "6x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "48px = 3rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-ml-800" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "8x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "64px = 4rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-ml-1000" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "10x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "80px = 5rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-ml-1500" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "15x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "120px = 7.5rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-ml-2000" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "20x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "160px = 10rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-ml-2500" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "25x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "200px = 12.5rem" }) })] }), _jsxs("tr", { children: [_jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "lu-ml-3000" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "30x" }) }), _jsx("td", { className: "".concat(table_row_className), children: _jsx("span", { className: "".concat(table_data_className), children: "240px = 15rem" }) })] })] }));
|
|
5
5
|
};
|