linkedunion-design-kit 1.1.7 → 1.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.
@@ -0,0 +1,2 @@
1
+ import { ColorProps } from "@/types/interface";
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,10 @@
1
+ import { Meta } from "@storybook/react";
2
+ import { ColorProps } from "@/types/interface";
3
+ declare const _default: Meta;
4
+ export default _default;
5
+ export declare const Primary: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ColorProps>;
6
+ export declare const Gray: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ColorProps>;
7
+ export declare const Success: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ColorProps>;
8
+ export declare const Warning: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ColorProps>;
9
+ export declare const Danger: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ColorProps>;
10
+ export declare const Info: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, ColorProps>;
@@ -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/BackgroundColor/Color";
14
+ import { colorGroups } from "../../../utils";
15
+ export default {
16
+ title: "Components/Color/BackgroundColor",
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
+ };
@@ -0,0 +1,3 @@
1
+ export declare const TextColor: ({ color }: {
2
+ color?: string;
3
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import { jsxs as _jsxs } from "react/jsx-runtime";
2
+ export var TextColor = function (_a) {
3
+ var _b = _a.color, color = _b === void 0 ? 'lu-text-default' : _b;
4
+ return (_jsxs("div", { className: "".concat(color), children: [".", color] }));
5
+ };
@@ -0,0 +1,6 @@
1
+ import { Meta } from "@storybook/react";
2
+ declare const _default: Meta;
3
+ export default _default;
4
+ export declare const textColor: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, {
5
+ color: string;
6
+ }>;
@@ -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 { TextColor } from "./TextColor";
14
+ import { textColorList } from "../../utils";
15
+ export default {
16
+ title: "Components/Color",
17
+ component: TextColor,
18
+ };
19
+ var Template = function (args) { return _jsx(TextColor, __assign({}, args)); };
20
+ export var textColor = Template.bind({});
21
+ textColor.args = {
22
+ color: "lu-text-default", // Default color
23
+ };
24
+ textColor.argTypes = {
25
+ color: {
26
+ control: { type: "select", labels: Object.fromEntries(textColorList.map(function (color) { return [color.key, color.label]; })) },
27
+ options: textColorList.map(function (color) { return color.key; }),
28
+ },
29
+ };
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  import { iconList } from "../../utils/iconList";
3
3
  export var IconView = function () {
4
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));
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 lu-text-gray text-center", children: icon === null || icon === void 0 ? void 0 : icon.label })] }, index));
6
6
  }) }) }));
7
7
  };
@@ -5,6 +5,6 @@ import { Button } from "../Button/Button";
5
5
  export var ContactProfile = function (_a) {
6
6
  var _b = _a.image, image = _b === void 0 ? '/images/demo-image.jpg' : _b, _c = _a.layout, layout = _c === void 0 ? cardLayoutEnum.horizontal : _c, _d = _a.mediaPosition, mediaPosition = _d === void 0 ? orientationEnum.landscape : _d, _e = _a.heading, heading = _e === void 0 ? 'Heading Text' : _e, _f = _a.body, body = _f === void 0 ? 'The quick brown fox jumps over the lazy dog.' : _f, _g = _a.className, className = _g === void 0 ? '' : _g, _h = _a.btnLabel, btnLabel = _h === void 0 ? 'View More' : _h;
7
7
  return (_jsx(_Fragment, { children: layout === cardLayoutEnum.horizontal ?
8
- _jsxs("div", { className: "lu-pd-250 bg-white lu-border-rounded-xl ".concat(className, " lu-shadow-md flex gap-x-[20px]"), children: [_jsx("div", { className: "max-w-[240px] overflow-hidden lu-aspect-square horizontal_card_image", children: _jsx(LuImage, { image: image, aspectRatio: "", width: 160, height: 160, className: "lu-border-rounded-full lu-height-100 object-cover", orientation: 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: "text-gray-950 lu-font-size-2x-large lu-font-weight-semibold horizontal_card_heading", children: heading }), _jsx("p", { className: "lu-base-font-size lu-font-weight-extra-light horizontal_body_text", children: body })] }), _jsx(Button, { contentType: contentTypeEnum.text_with_icon, label: btnLabel, variant: 'lu-btn-gray', iconRight: "angle-right", rightIconSize: "lu-icon-small", size: "lu-btn-lg", className: "lu-border-rounded-sm justify-between lu-width-100 card_button" })] })] })
9
- : (_jsx(_Fragment, { children: _jsxs("div", { className: "lu-pd-400 bg-white lu-border-rounded-xl ".concat(className, " lu-shadow-md flex flex-col items-center"), children: [_jsx("div", { className: "max-w-[160px] overflow-hidden lu-aspect-square", children: _jsx(LuImage, { image: image, width: 160, height: 160, className: "lu-height-100 object-cover lu-border-rounded-full", orientation: mediaPosition }) }), _jsxs("div", { className: "flex flex-col items-center flex-grow lu-m-250 text-center h-[100px]", children: [_jsx("div", { className: "text-gray-950 lu-font-size-2x-large lu-font-weight-semibold vertical_card_heading", children: heading }), _jsx("p", { className: "lu-base-font-size lu-font-weight-extra-light vertical_body_text", children: body })] }), _jsx(Button, { contentType: contentTypeEnum.text_with_icon, label: btnLabel, variant: 'lu-btn-gray', iconRight: "angle-right", rightIconSize: "lu-icon-small", size: "lu-btn-lg", className: "lu-border-rounded-sm justify-between lu-width-100" })] }) })) }));
8
+ _jsxs("div", { className: "lu-pd-250 bg-white lu-border-rounded-xl ".concat(className, " lu-shadow-md flex gap-x-[20px]"), children: [_jsx("div", { className: "max-w-[240px] overflow-hidden lu-aspect-square horizontal_card_image", children: _jsx(LuImage, { image: image, aspectRatio: "", width: 160, height: 160, className: "lu-border-rounded-full lu-height-100 object-cover", orientation: 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: "lu-text-default lu-font-size-2x-large lu-font-weight-semibold horizontal_card_heading", children: heading }), _jsx("p", { className: "lu-base-font-size lu-font-weight-extra-light lu-text-caption horizontal_body_text", children: body })] }), _jsx(Button, { contentType: contentTypeEnum.text_with_icon, label: btnLabel, variant: 'lu-btn-gray', iconRight: "angle-right", rightIconSize: "lu-icon-small", size: "lu-btn-lg", className: "lu-border-rounded-sm justify-between lu-width-100 card_button" })] })] })
9
+ : (_jsx(_Fragment, { children: _jsxs("div", { className: "lu-pd-400 bg-white lu-border-rounded-xl ".concat(className, " lu-shadow-md flex flex-col items-center"), children: [_jsx("div", { className: "max-w-[160px] overflow-hidden lu-aspect-square", children: _jsx(LuImage, { image: image, width: 160, height: 160, className: "lu-height-100 object-cover lu-border-rounded-full", orientation: mediaPosition }) }), _jsxs("div", { className: "flex flex-col items-center flex-grow lu-m-250 text-center h-[100px]", children: [_jsx("div", { className: "lu-text-default lu-font-size-2x-large lu-font-weight-semibold vertical_card_heading", children: heading }), _jsx("p", { className: "lu-base-font-size lu-font-weight-extra-light lu-text-caption vertical_body_text", children: body })] }), _jsx(Button, { contentType: contentTypeEnum.text_with_icon, label: btnLabel, variant: 'lu-btn-gray', iconRight: "angle-right", rightIconSize: "lu-icon-small", size: "lu-btn-lg", className: "lu-border-rounded-sm justify-between lu-width-100" })] }) })) }));
10
10
  };
@@ -5,6 +5,6 @@ import { Button } from "../Button/Button";
5
5
  export var PostByCategory = function (_a) {
6
6
  var _b = _a.image, image = _b === void 0 ? '/images/demo-image.jpg' : _b, _c = _a.layout, layout = _c === void 0 ? cardLayoutEnum.horizontal : _c, _d = _a.mediaPosition, mediaPosition = _d === void 0 ? orientationEnum.landscape : _d, _e = _a.heading, heading = _e === void 0 ? 'Heading Text' : _e, _f = _a.body, body = _f === void 0 ? 'The quick brown fox jumps over the lazy dog.' : _f, _g = _a.className, className = _g === void 0 ? '' : _g, _h = _a.btnLabel, btnLabel = _h === void 0 ? 'View More' : _h;
7
7
  return (_jsx(_Fragment, { children: layout === cardLayoutEnum.horizontal ?
8
- _jsxs("div", { className: "lu-pd-250 bg-white lu-border-rounded-xl ".concat(className, " lu-shadow-md 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: image, aspectRatio: "", width: 240, height: 240, className: "lu-border-rounded-lg lu-width-100 lu-height-100 object-cover", orientation: 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: "text-gray-950 lu-font-size-2x-large lu-font-weight-semibold horizontal_card_heading", children: heading }), _jsx("p", { className: "lu-base-font-size lu-font-weight-extra-light horizontal_body_text", children: body })] }), _jsx(Button, { contentType: contentTypeEnum.text_with_icon, label: btnLabel, variant: 'lu-btn-gray', iconRight: "angle-right", rightIconSize: "lu-icon-small", size: "lu-btn-lg", className: "lu-border-rounded-sm justify-between lu-width-100 card_button" })] })] })
9
- : (_jsx(_Fragment, { children: _jsxs("div", { className: "lu-pd-400 bg-white lu-border-rounded-xl ".concat(className, " lu-shadow-md 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: image, width: 240, height: 240, className: "lu-width-100 lu-height-100 object-cover", orientation: mediaPosition }) }), _jsxs("div", { className: "flex flex-col items-center flex-grow lu-m-250 text-center h-[100px]", children: [_jsx("div", { className: "text-gray-950 lu-font-size-2x-large lu-font-weight-semibold vertical_card_heading", children: heading }), _jsx("p", { className: "lu-base-font-size lu-font-weight-extra-light vertical_body_text", children: body })] }), _jsx(Button, { contentType: contentTypeEnum.text_with_icon, label: btnLabel, variant: 'lu-btn-gray', iconRight: "angle-right", rightIconSize: "lu-icon-small", size: "lu-btn-lg", className: "lu-border-rounded-sm justify-between lu-width-100" })] }) })) }));
8
+ _jsxs("div", { className: "lu-pd-250 bg-white lu-border-rounded-xl ".concat(className, " lu-shadow-md 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: image, aspectRatio: "", width: 240, height: 240, className: "lu-border-rounded-lg lu-width-100 lu-height-100 object-cover", orientation: 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: "lu-text-default lu-font-size-2x-large lu-font-weight-semibold horizontal_card_heading", children: heading }), _jsx("p", { className: "lu-base-font-size lu-font-weight-extra-light horizontal_body_text lu-text-caption", children: body })] }), _jsx(Button, { contentType: contentTypeEnum.text_with_icon, label: btnLabel, variant: 'lu-btn-gray', iconRight: "angle-right", rightIconSize: "lu-icon-small", size: "lu-btn-lg", className: "lu-border-rounded-sm justify-between lu-width-100 card_button" })] })] })
9
+ : (_jsx(_Fragment, { children: _jsxs("div", { className: "lu-pd-400 bg-white lu-border-rounded-xl ".concat(className, " lu-shadow-md 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: image, width: 240, height: 240, className: "lu-width-100 lu-height-100 object-cover", orientation: mediaPosition }) }), _jsxs("div", { className: "flex flex-col items-center flex-grow lu-m-250 text-center h-[100px]", children: [_jsx("div", { className: "lu-text-default lu-font-size-2x-large lu-font-weight-semibold vertical_card_heading", children: heading }), _jsx("p", { className: "lu-base-font-size lu-font-weight-extra-light lu-text-caption vertical_body_text", children: body })] }), _jsx(Button, { contentType: contentTypeEnum.text_with_icon, label: btnLabel, variant: 'lu-btn-gray', iconRight: "angle-right", rightIconSize: "lu-icon-small", size: "lu-btn-lg", className: "lu-border-rounded-sm justify-between lu-width-100" })] }) })) }));
10
10
  };
@@ -0,0 +1,2 @@
1
+ import { TopNavigationProps } from "@/types/interface";
2
+ export declare const TopNavigation: ({ phoneNumber, phoneNumber2, bannerText, facebookUrl, linkedinUrl, twitterUrl, instagramUrl, onClickPhoneNumber }: TopNavigationProps) => 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 { LUIcon } from "../../../components/Icons/LUIcon";
3
+ import Link from "next/link";
4
+ export var TopNavigation = function (_a) {
5
+ var phoneNumber = _a.phoneNumber, phoneNumber2 = _a.phoneNumber2, bannerText = _a.bannerText, facebookUrl = _a.facebookUrl, linkedinUrl = _a.linkedinUrl, twitterUrl = _a.twitterUrl, instagramUrl = _a.instagramUrl, onClickPhoneNumber = _a.onClickPhoneNumber;
6
+ return (_jsx(_Fragment, { children: (phoneNumber || phoneNumber2 || bannerText || facebookUrl || linkedinUrl || twitterUrl || instagramUrl) &&
7
+ _jsx("div", { className: "lu-pr-050 lu-pl-050 bg-primary-600 lu-text-base", children: _jsxs("div", { className: "flex justify-between items-center", children: [_jsxs("div", { className: "flex lu-pt-050 lu-pr-100 lu-pb-050 lu-pl-100 gap-3", children: [phoneNumber && _jsxs("div", { className: "flex items-center gap-2 cursor-pointer", onClick: onClickPhoneNumber, children: [_jsx(LUIcon, { fill: "lu-neutral-icon-light", icon: "phone", size: "lu-icon-medium" }), _jsx("div", { className: "lu-font-size-small", children: phoneNumber })] }), phoneNumber && phoneNumber2 && _jsx("div", { className: "lu-border-width-0125 contact-border" }), phoneNumber2 && _jsxs("div", { className: "flex items-center gap-2 main-navbar-contact cursor-pointer", onClick: onClickPhoneNumber, children: [_jsx(LUIcon, { fill: "lu-neutral-icon-light", icon: "phone", size: "lu-icon-medium" }), _jsx("div", { className: "lu-font-size-small", children: phoneNumber2 })] })] }), bannerText && _jsx("div", { className: "lu-text-center lu-text-decoration-underline lu-font-weight-semibold lu-font-size-small promotional-banner-text", children: bannerText }), _jsxs("div", { className: "flex gap-2", children: [facebookUrl && _jsx(Link, { href: facebookUrl, target: "_blank", "aria-label": "Facebook", children: _jsx(LUIcon, { fill: "lu-info-icon-light", icon: 'facebook-f', size: "lu-icon-x-small", className: "cursor-pointer" }) }), twitterUrl && _jsx(Link, { href: twitterUrl, target: "_blank", "aria-label": "Twitter", children: _jsx(LUIcon, { fill: "lu-info-icon-light", icon: 'x-twitter', size: "lu-icon-x-small", className: "cursor-pointer" }) }), instagramUrl && _jsx(Link, { href: instagramUrl, target: "_blank", "aria-label": "Instagram", children: _jsx(LUIcon, { fill: "lu-info-icon-light", icon: 'instagram', size: "lu-icon-x-small", className: "cursor-pointer" }) }), linkedinUrl && _jsx(Link, { href: linkedinUrl, target: "_blank", "aria-label": "Linkedin", children: _jsx(LUIcon, { fill: "lu-info-icon-light", icon: 'linkedin-in', size: "lu-icon-x-small", className: "cursor-pointer" }) })] })] }) }) }));
8
+ };
@@ -0,0 +1,4 @@
1
+ import { Meta } from "@storybook/react";
2
+ declare const _default: Meta;
3
+ export default _default;
4
+ export declare const topNavigation: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@storybook/csf").Args>;
@@ -0,0 +1,52 @@
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 { TopNavigation } from "./TopNavigation";
14
+ export default {
15
+ title: "Components/Navigation/TopNavigation",
16
+ component: TopNavigation,
17
+ };
18
+ var Template = function (args) { return _jsx(TopNavigation, __assign({}, args)); };
19
+ export var topNavigation = Template.bind({});
20
+ topNavigation.args = {
21
+ phoneNumber: '+1 (XXX) XXX-XXXX',
22
+ phoneNumber2: '+1 (XXX) XXX-XXXXX',
23
+ bannerText: 'Creative ideas often lead to innovative solutions in daily challenges.',
24
+ facebookUrl: 'https://www.facebook.com',
25
+ linkedinUrl: 'https://www.linkedin.com',
26
+ twitterUrl: 'https://www.twitter.com',
27
+ instagramUrl: 'https://www.instagram.com',
28
+ onClickPhoneNumber: function () { alert('clicked'); }
29
+ };
30
+ topNavigation.argTypes = {
31
+ phoneNumber: {
32
+ description: "Phone number 1",
33
+ },
34
+ phoneNumber2: {
35
+ description: "Phone number 2",
36
+ },
37
+ bannerText: {
38
+ description: "Promotional banner text",
39
+ },
40
+ facebookUrl: {
41
+ description: "Facebook URL",
42
+ },
43
+ linkedinUrl: {
44
+ description: "Instagram URL",
45
+ },
46
+ twitterUrl: {
47
+ description: "Twitter URL",
48
+ },
49
+ instagramUrl: {
50
+ description: "Instagram URL",
51
+ },
52
+ };
@@ -0,0 +1,2 @@
1
+ import { HeadingProps } from "@/types/interface";
2
+ export declare const Heading: ({ heading, label, className }: HeadingProps) => 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 Heading = function (_a) {
3
+ var _b = _a.heading, heading = _b === void 0 ? 'lu-heading-h1' : _b, _c = _a.label, label = _c === void 0 ? '' : _c, _d = _a.className, className = _d === void 0 ? '' : _d;
4
+ return (_jsx(_Fragment, { children: _jsx("div", { className: "".concat(heading, " ").concat(className), children: label }) }));
5
+ };
@@ -0,0 +1,4 @@
1
+ import { Meta } from "@storybook/react";
2
+ declare const _default: Meta;
3
+ export default _default;
4
+ export declare const heading: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, import("@storybook/csf").Args>;
@@ -0,0 +1,31 @@
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 { Heading } from "./Headings";
14
+ import { headingsList } from "../../../utils";
15
+ export default {
16
+ title: "Components/Typography/Headings",
17
+ component: Heading,
18
+ };
19
+ var Template = function (args) { return _jsx(Heading, __assign({}, args)); };
20
+ export var heading = Template.bind({});
21
+ heading.args = {
22
+ label: 'The quick brown fox jumps over the dog.',
23
+ heading: 'lu-heading-h1',
24
+ className: ''
25
+ };
26
+ heading.argTypes = {
27
+ heading: {
28
+ control: { type: "select", labels: Object.fromEntries(headingsList.map(function (heading) { return [heading.key, heading.label]; })) },
29
+ options: headingsList.map(function (heading) { return heading.key; }),
30
+ },
31
+ };
@@ -761,6 +761,9 @@ video {
761
761
  .transform {
762
762
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
763
763
  }
764
+ .cursor-pointer {
765
+ cursor: pointer;
766
+ }
764
767
  .grid-cols-3 {
765
768
  grid-template-columns: repeat(3, minmax(0, 1fr));
766
769
  }
@@ -785,6 +788,9 @@ video {
785
788
  .gap-2 {
786
789
  gap: 0.5rem;
787
790
  }
791
+ .gap-3 {
792
+ gap: 0.75rem;
793
+ }
788
794
  .gap-4 {
789
795
  gap: 1rem;
790
796
  }
@@ -8565,14 +8571,6 @@ video {
8565
8571
  .leading-lu-line-height-xs {
8566
8572
  line-height: 1;
8567
8573
  }
8568
- .text-gray-700 {
8569
- --tw-text-opacity: 1;
8570
- color: rgb(81 84 88 / var(--tw-text-opacity, 1));
8571
- }
8572
- .text-gray-950 {
8573
- --tw-text-opacity: 1;
8574
- color: rgb(3 7 18 / var(--tw-text-opacity, 1));
8575
- }
8576
8574
  .opacity-50 {
8577
8575
  opacity: 0.5;
8578
8576
  }
@@ -8914,6 +8912,9 @@ video {
8914
8912
  .lu-border-rounded-full {
8915
8913
  border-radius: 9999px;
8916
8914
  }
8915
+ .lu-border-width-0125 {
8916
+ border-width: var(--core-0125);
8917
+ }
8917
8918
  .lu-border-width-025 {
8918
8919
  border-width: var(--core-025);
8919
8920
  }
@@ -9956,6 +9957,84 @@ video {
9956
9957
  .lu-shadow-md {
9957
9958
  box-shadow: 0px 4px 12px 0 rgba(52, 52, 52, 0.15);
9958
9959
  }
9960
+ .lu-text-base {
9961
+ color: var(--neutral-0);
9962
+ }
9963
+ .lu-text-default {
9964
+ color: var(--black);
9965
+ }
9966
+ .lu-text-secondary {
9967
+ color: var(--neutral-800);
9968
+ }
9969
+ .lu-text-caption {
9970
+ color: var(--neutral-500);
9971
+ }
9972
+ .lu-text-placeholder {
9973
+ color: var(--neutral-400);
9974
+ }
9975
+ .lu-text-disabled {
9976
+ color: var(--neutral-400);
9977
+ }
9978
+ .lu-text-primary {
9979
+ color: var(--primary-600);
9980
+ }
9981
+ .lu-text-success {
9982
+ color: var(--success-600);
9983
+ }
9984
+ .lu-text-warning {
9985
+ color: var(--warning-500);
9986
+ }
9987
+ .lu-text-danger {
9988
+ color: var(--danger-600);
9989
+ }
9990
+ .lu-text-gray {
9991
+ color: var(--neutral-600);
9992
+ }
9993
+ .lu-text-info {
9994
+ color: var(--info-600);
9995
+ }
9996
+ .lu-text-link-default {
9997
+ color: var(--primary-400);
9998
+ }
9999
+ .lu-text-link-pressed {
10000
+ color: var(--primary-600);
10001
+ }
10002
+ .lu-heading-h1 {
10003
+ font-size: var(--core-600);
10004
+ font-weight: bold;
10005
+ line-height: 1;
10006
+ color: var(--black);
10007
+ }
10008
+ .lu-heading-h2 {
10009
+ font-size: var(--core-450);
10010
+ font-weight: bold;
10011
+ line-height: 1;
10012
+ color: var(--black);
10013
+ }
10014
+ .lu-heading-h3 {
10015
+ font-size: var(--core-400);
10016
+ font-weight: bold;
10017
+ line-height: 1;
10018
+ color: var(--black);
10019
+ }
10020
+ .lu-heading-h4 {
10021
+ font-size: var(--core-350);
10022
+ font-weight: 600;
10023
+ line-height: 1;
10024
+ color: var(--black);
10025
+ }
10026
+ .lu-heading-h5 {
10027
+ font-size: var(--core-300);
10028
+ font-weight: 600;
10029
+ line-height: 1;
10030
+ color: var(--black);
10031
+ }
10032
+ .lu-heading-h6 {
10033
+ font-size: var(--core-250);
10034
+ font-weight: 600;
10035
+ line-height: 1;
10036
+ color: var(--black);
10037
+ }
9959
10038
 
9960
10039
  :root {
9961
10040
  /* --foreground-rgb: 0, 0, 0; */
@@ -10652,7 +10731,9 @@ table, th, td {
10652
10731
  overflow: hidden;
10653
10732
  text-transform: capitalize;
10654
10733
  }
10655
-
10734
+ .contact-border {
10735
+ border-color: var(--white);
10736
+ }
10656
10737
  @media (max-width: 440px) and (min-width: 398px) {
10657
10738
  .horizontal_card_image {
10658
10739
  max-width: 160px;
@@ -10674,6 +10755,20 @@ table, th, td {
10674
10755
  margin-top: 10px;
10675
10756
  }
10676
10757
  }
10758
+
10759
+ @media(max-width: 1024px) {
10760
+ .contact-border {
10761
+ display: none;
10762
+ }
10763
+ .main-navbar-contact {
10764
+ display: none;
10765
+ }
10766
+ }
10767
+ @media(max-width: 744px) {
10768
+ .promotional-banner-text {
10769
+ display: none;
10770
+ }
10771
+ }
10677
10772
  .before\:absolute::before {
10678
10773
  content: var(--tw-content);
10679
10774
  position: absolute;
@@ -7,7 +7,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
7
7
  }
8
8
  return to.concat(ar || Array.prototype.slice.call(from));
9
9
  };
10
- import { avatarShapeList, avatarSizesList, borderRadiusList, borderWidthList, buttonColorsList, buttonIconSizeList, buttonWithIconList, butttonSizeList, colorGroups, customAspectRatio, customAvatarSize, customBorderRadius, customBorderWidth, customBoxShadow, customButtonColors, customButtonIconSize, customButtonOutlineColors, customButtonSize, customColors, customFontSize, customFontWeight, customHeight, customIconButtonSize, customIconColors, customIconSize, customizeAvtarShape, customLineHeight, customLogoSize, customMinHeight, customMinWidth, customOpacity, customSize, customTextAlignment, customTextDecoration, customTextTransform, customTextWrap, customWidth, fontSizes, fontWeights, heights, iconColorList, iconSizeList, landscapeaspectRatioList, lineHeights, minHeights, minWidths, portraitaspectRatioList, sizes, textAlignment, textDecorations, textTransform, textWraps, widths } from './utils';
10
+ import { avatarShapeList, avatarSizesList, borderRadiusList, borderWidthList, buttonColorsList, buttonIconSizeList, buttonWithIconList, butttonSizeList, colorGroups, customAspectRatio, customAvatarSize, customBorderRadius, customBorderWidth, customBoxShadow, customButtonColors, customButtonIconSize, customButtonOutlineColors, customButtonSize, customColors, customFontSize, customFontWeight, customHeadings, customHeight, customIconButtonSize, customIconColors, customIconSize, customizeAvtarShape, customizeTextColors, customLineHeight, customLogoSize, customMinHeight, customMinWidth, customOpacity, customSize, customTextAlignment, customTextDecoration, customTextTransform, customTextWrap, customWidth, fontSizes, fontWeights, headingsList, heights, iconColorList, iconSizeList, landscapeaspectRatioList, lineHeights, minHeights, minWidths, portraitaspectRatioList, sizes, textAlignment, textColorList, textDecorations, textTransform, textWraps, widths } from './utils';
11
11
  import generateUtilities from './utils';
12
12
  var plugin = require('tailwindcss/plugin');
13
13
  var config = {
@@ -17,7 +17,7 @@ var config = {
17
17
  './components/**/*.{js,ts,jsx,tsx,mdx}',
18
18
  './app/**/*.{js,ts,jsx,tsx,mdx}',
19
19
  ],
20
- safelist: __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], colorGroups.primary.map(function (color) { return ({ pattern: new RegExp(color) }); }), true), colorGroups.gray.map(function (color) { return ({ pattern: new RegExp(color) }); }), true), colorGroups.success.map(function (color) { return ({ pattern: new RegExp(color) }); }), true), colorGroups.warning.map(function (color) { return ({ pattern: new RegExp(color) }); }), true), colorGroups.danger.map(function (color) { return ({ pattern: new RegExp(color) }); }), true), colorGroups.info.map(function (color) { return ({ pattern: new RegExp(color) }); }), true), fontSizes.map(function (fontSize) { return ({ pattern: new RegExp(fontSize.key) }); }), true), fontWeights.map(function (fontWeight) { return ({ pattern: new RegExp(fontWeight.key) }); }), true), lineHeights.map(function (lineHeight) { return ({ pattern: new RegExp(lineHeight.key) }); }), true), textAlignment.map(function (textAlign) { return ({ pattern: new RegExp(textAlign.key) }); }), true), textTransform.map(function (textTrans) { return ({ pattern: new RegExp(textTrans.key) }); }), true), textDecorations.map(function (textDec) { return ({ pattern: new RegExp(textDec.key) }); }), true), textWraps.map(function (textWrap) { return ({ pattern: new RegExp(textWrap.key) }); }), true), sizes.map(function (size) { return ({ pattern: new RegExp(size.key) }); }), true), widths.map(function (width) { return ({ pattern: new RegExp(width.key) }); }), true), heights.map(function (height) { return ({ pattern: new RegExp(height.key) }); }), true), minWidths.map(function (minWidth) { return ({ pattern: new RegExp(minWidth.key) }); }), true), minHeights.map(function (minHeight) { return ({ pattern: new RegExp(minHeight.key) }); }), true), borderRadiusList.map(function (borderRadius) { return ({ pattern: new RegExp(borderRadius.key) }); }), true), borderWidthList.map(function (borderWidth) { return ({ pattern: new RegExp(borderWidth.key) }); }), true), iconSizeList.map(function (iconSize) { return ({ pattern: new RegExp(iconSize.key) }); }), true), iconColorList.map(function (iconColor) { return ({ pattern: new RegExp(iconColor.key) }); }), true), buttonColorsList.map(function (btnColor) { return ({ pattern: new RegExp(btnColor.key) }); }), true), butttonSizeList.map(function (btnSize) { return ({ pattern: new RegExp(btnSize.key) }); }), true), buttonIconSizeList.map(function (btnIconSize) { return ({ pattern: new RegExp(btnIconSize.key) }); }), true), buttonWithIconList.map(function (iconButton) { return ({ pattern: new RegExp(iconButton.key) }); }), true), portraitaspectRatioList.map(function (aspectRatio) { return ({ pattern: new RegExp(aspectRatio.key) }); }), true), landscapeaspectRatioList.map(function (aspectRatio) { return ({ pattern: new RegExp(aspectRatio.key) }); }), true), avatarSizesList.map(function (avatarSize) { return ({ pattern: new RegExp(avatarSize.key) }); }), true), avatarShapeList.map(function (avatarShape) { return ({ pattern: new RegExp(avatarShape.key) }); }), true),
20
+ safelist: __spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray(__spreadArray([], colorGroups.primary.map(function (color) { return ({ pattern: new RegExp(color) }); }), true), colorGroups.gray.map(function (color) { return ({ pattern: new RegExp(color) }); }), true), colorGroups.success.map(function (color) { return ({ pattern: new RegExp(color) }); }), true), colorGroups.warning.map(function (color) { return ({ pattern: new RegExp(color) }); }), true), colorGroups.danger.map(function (color) { return ({ pattern: new RegExp(color) }); }), true), colorGroups.info.map(function (color) { return ({ pattern: new RegExp(color) }); }), true), fontSizes.map(function (fontSize) { return ({ pattern: new RegExp(fontSize.key) }); }), true), fontWeights.map(function (fontWeight) { return ({ pattern: new RegExp(fontWeight.key) }); }), true), lineHeights.map(function (lineHeight) { return ({ pattern: new RegExp(lineHeight.key) }); }), true), textAlignment.map(function (textAlign) { return ({ pattern: new RegExp(textAlign.key) }); }), true), textTransform.map(function (textTrans) { return ({ pattern: new RegExp(textTrans.key) }); }), true), textDecorations.map(function (textDec) { return ({ pattern: new RegExp(textDec.key) }); }), true), textWraps.map(function (textWrap) { return ({ pattern: new RegExp(textWrap.key) }); }), true), sizes.map(function (size) { return ({ pattern: new RegExp(size.key) }); }), true), widths.map(function (width) { return ({ pattern: new RegExp(width.key) }); }), true), heights.map(function (height) { return ({ pattern: new RegExp(height.key) }); }), true), minWidths.map(function (minWidth) { return ({ pattern: new RegExp(minWidth.key) }); }), true), minHeights.map(function (minHeight) { return ({ pattern: new RegExp(minHeight.key) }); }), true), borderRadiusList.map(function (borderRadius) { return ({ pattern: new RegExp(borderRadius.key) }); }), true), borderWidthList.map(function (borderWidth) { return ({ pattern: new RegExp(borderWidth.key) }); }), true), iconSizeList.map(function (iconSize) { return ({ pattern: new RegExp(iconSize.key) }); }), true), iconColorList.map(function (iconColor) { return ({ pattern: new RegExp(iconColor.key) }); }), true), buttonColorsList.map(function (btnColor) { return ({ pattern: new RegExp(btnColor.key) }); }), true), butttonSizeList.map(function (btnSize) { return ({ pattern: new RegExp(btnSize.key) }); }), true), buttonIconSizeList.map(function (btnIconSize) { return ({ pattern: new RegExp(btnIconSize.key) }); }), true), buttonWithIconList.map(function (iconButton) { return ({ pattern: new RegExp(iconButton.key) }); }), true), portraitaspectRatioList.map(function (aspectRatio) { return ({ pattern: new RegExp(aspectRatio.key) }); }), true), landscapeaspectRatioList.map(function (aspectRatio) { return ({ pattern: new RegExp(aspectRatio.key) }); }), true), avatarSizesList.map(function (avatarSize) { return ({ pattern: new RegExp(avatarSize.key) }); }), true), avatarShapeList.map(function (avatarShape) { return ({ pattern: new RegExp(avatarShape.key) }); }), true), textColorList.map(function (textColor) { return ({ pattern: new RegExp(textColor.key) }); }), true), headingsList.map(function (heading) { return ({ pattern: new RegExp(heading.key) }); }), true),
21
21
  theme: {
22
22
  extend: {
23
23
  backgroundImage: {
@@ -139,6 +139,10 @@ var config = {
139
139
  //plugin for box shadow
140
140
  var boxShadowUtilities = generateUtilities('boxShadow', theme);
141
141
  addUtilities(boxShadowUtilities, ['responsive']);
142
+ //plugin for custom text colors
143
+ addUtilities(customizeTextColors, ['responsive']);
144
+ //plugin for custom headings
145
+ addUtilities(customHeadings, ['responsive']);
142
146
  }),
143
147
  ],
144
148
  };
@@ -103,10 +103,18 @@ export declare const avatarSizesList: {
103
103
  key: string;
104
104
  label: string;
105
105
  }[];
106
+ export declare const textColorList: {
107
+ key: string;
108
+ label: string;
109
+ }[];
106
110
  export declare const avatarShapeList: {
107
111
  key: string;
108
112
  label: string;
109
113
  }[];
114
+ export declare const headingsList: {
115
+ key: string;
116
+ label: string;
117
+ }[];
110
118
  export declare const avtarBackgroundSize: (size: string) => {
111
119
  width: string;
112
120
  height: string;
@@ -417,6 +425,9 @@ export declare const customOpacity: {
417
425
  'lu-opacity-100': string;
418
426
  };
419
427
  export declare const customBorderWidth: {
428
+ '.lu-border-width-0125': {
429
+ borderWidth: string;
430
+ };
420
431
  '.lu-border-width-025': {
421
432
  borderWidth: string;
422
433
  };
@@ -1426,6 +1437,88 @@ export declare const customizeAvtarShape: {
1426
1437
  borderRadius: string;
1427
1438
  };
1428
1439
  };
1440
+ export declare const customizeTextColors: {
1441
+ '.lu-text-base': {
1442
+ color: string;
1443
+ };
1444
+ '.lu-text-default': {
1445
+ color: string;
1446
+ };
1447
+ '.lu-text-secondary': {
1448
+ color: string;
1449
+ };
1450
+ '.lu-text-caption': {
1451
+ color: string;
1452
+ };
1453
+ '.lu-text-placeholder': {
1454
+ color: string;
1455
+ };
1456
+ '.lu-text-disabled': {
1457
+ color: string;
1458
+ };
1459
+ '.lu-text-primary': {
1460
+ color: string;
1461
+ };
1462
+ '.lu-text-success': {
1463
+ color: string;
1464
+ };
1465
+ '.lu-text-warning': {
1466
+ color: string;
1467
+ };
1468
+ '.lu-text-danger': {
1469
+ color: string;
1470
+ };
1471
+ '.lu-text-gray': {
1472
+ color: string;
1473
+ };
1474
+ '.lu-text-info': {
1475
+ color: string;
1476
+ };
1477
+ '.lu-text-link-default': {
1478
+ color: string;
1479
+ };
1480
+ '.lu-text-link-pressed': {
1481
+ color: string;
1482
+ };
1483
+ };
1484
+ export declare const customHeadings: {
1485
+ '.lu-heading-h1': {
1486
+ fontSize: string;
1487
+ fontWeight: string;
1488
+ lineHeight: string;
1489
+ color: string;
1490
+ };
1491
+ '.lu-heading-h2': {
1492
+ fontSize: string;
1493
+ fontWeight: string;
1494
+ lineHeight: string;
1495
+ color: string;
1496
+ };
1497
+ '.lu-heading-h3': {
1498
+ fontSize: string;
1499
+ fontWeight: string;
1500
+ lineHeight: string;
1501
+ color: string;
1502
+ };
1503
+ '.lu-heading-h4': {
1504
+ fontSize: string;
1505
+ fontWeight: string;
1506
+ lineHeight: string;
1507
+ color: string;
1508
+ };
1509
+ '.lu-heading-h5': {
1510
+ fontSize: string;
1511
+ fontWeight: string;
1512
+ lineHeight: string;
1513
+ color: string;
1514
+ };
1515
+ '.lu-heading-h6': {
1516
+ fontSize: string;
1517
+ fontWeight: string;
1518
+ lineHeight: string;
1519
+ color: string;
1520
+ };
1521
+ };
1429
1522
  export declare const table_data_className = "bg-gray-100 lu-pt-050 lu-pr-100 lu-pb-050 lu-pl-100 rounded gap-2.5";
1430
1523
  export declare const table_header_className = "lu-pd-200";
1431
1524
  export declare const table_sub_heading_className = "lu-text-center lu-text-uppercase lu-font-weight-semibold lu-font-size-large lu-pd-200";
@@ -333,10 +333,34 @@ export var avatarSizesList = [
333
333
  { key: 'lu-avatar-medium', label: 'lu-avatar-medium' },
334
334
  { key: 'lu-avatar-small', label: 'lu-avatar-small' },
335
335
  ];
336
+ export var textColorList = [
337
+ { key: 'lu-text-base', label: 'lu-text-base' },
338
+ { key: 'lu-text-default', label: 'lu-text-default' },
339
+ { key: 'lu-text-secondary', label: 'lu-text-secondary' },
340
+ { key: 'lu-text-caption', label: 'lu-text-caption' },
341
+ { key: 'lu-text-placeholder', label: 'lu-text-placeholder' },
342
+ { key: 'lu-text-disabled', label: 'lu-text-disabled' },
343
+ { key: 'lu-text-primary', label: 'lu-text-primary' },
344
+ { key: 'lu-text-success', label: 'lu-text-success' },
345
+ { key: 'lu-text-warning', label: 'lu-text-warning' },
346
+ { key: 'lu-text-danger', label: 'lu-text-danger' },
347
+ { key: 'lu-text-gray', label: 'lu-text-gray' },
348
+ { key: 'lu-text-info', label: 'lu-text-info' },
349
+ { key: 'lu-text-link-default', label: 'lu-text-link-default' },
350
+ { key: 'lu-text-link-pressed', label: 'lu-text-link-pressed' },
351
+ ];
336
352
  export var avatarShapeList = [
337
353
  { key: 'square', label: 'square' },
338
354
  { key: 'circle', label: 'circle' },
339
355
  ];
356
+ export var headingsList = [
357
+ { key: 'lu-heading-h1', label: 'lu-heading-h1' },
358
+ { key: 'lu-heading-h2', label: 'lu-heading-h2' },
359
+ { key: 'lu-heading-h3', label: 'lu-heading-h3' },
360
+ { key: 'lu-heading-h4', label: 'lu-heading-h4' },
361
+ { key: 'lu-heading-h5', label: 'lu-heading-h5' },
362
+ { key: 'lu-heading-h6', label: 'lu-heading-h6' }
363
+ ];
340
364
  export var avtarBackgroundSize = function (size) {
341
365
  if (size === 'lu-avatar-massive') {
342
366
  return {
@@ -737,6 +761,7 @@ export var customOpacity = {
737
761
  'lu-opacity-100': '1',
738
762
  };
739
763
  export var customBorderWidth = {
764
+ '.lu-border-width-0125': { borderWidth: 'var(--core-0125)' },
740
765
  '.lu-border-width-025': { borderWidth: 'var(--core-025)' },
741
766
  '.lu-border-width-050': { borderWidth: 'var(--core-050)' },
742
767
  '.lu-border-width-100': { borderWidth: 'var(--core-100)' },
@@ -1650,6 +1675,60 @@ export var customizeAvtarShape = {
1650
1675
  '.square': { borderRadius: '0px' },
1651
1676
  '.circle': { borderRadius: '9999px' },
1652
1677
  };
1678
+ export var customizeTextColors = {
1679
+ '.lu-text-base': { color: 'var(--neutral-0)' },
1680
+ '.lu-text-default': { color: 'var(--black)' },
1681
+ '.lu-text-secondary': { color: 'var(--neutral-800)' },
1682
+ '.lu-text-caption': { color: 'var(--neutral-500)' },
1683
+ '.lu-text-placeholder': { color: 'var(--neutral-400)' },
1684
+ '.lu-text-disabled': { color: 'var(--neutral-400)' },
1685
+ '.lu-text-primary': { color: 'var(--primary-600)' },
1686
+ '.lu-text-success': { color: 'var(--success-600)' },
1687
+ '.lu-text-warning': { color: 'var(--warning-500)' },
1688
+ '.lu-text-danger': { color: 'var(--danger-600)' },
1689
+ '.lu-text-gray': { color: 'var(--neutral-600)' },
1690
+ '.lu-text-info': { color: 'var(--info-600)' },
1691
+ '.lu-text-link-default': { color: 'var(--primary-400)' },
1692
+ '.lu-text-link-pressed': { color: 'var(--primary-600)' },
1693
+ };
1694
+ export var customHeadings = {
1695
+ '.lu-heading-h1': {
1696
+ fontSize: 'var(--core-600)',
1697
+ fontWeight: 'bold',
1698
+ lineHeight: '1',
1699
+ color: 'var(--black)'
1700
+ },
1701
+ '.lu-heading-h2': {
1702
+ fontSize: 'var(--core-450)',
1703
+ fontWeight: 'bold',
1704
+ lineHeight: '1',
1705
+ color: 'var(--black)'
1706
+ },
1707
+ '.lu-heading-h3': {
1708
+ fontSize: 'var(--core-400)',
1709
+ fontWeight: 'bold',
1710
+ lineHeight: '1',
1711
+ color: 'var(--black)'
1712
+ },
1713
+ '.lu-heading-h4': {
1714
+ fontSize: 'var(--core-350)',
1715
+ fontWeight: '600',
1716
+ lineHeight: '1',
1717
+ color: 'var(--black)'
1718
+ },
1719
+ '.lu-heading-h5': {
1720
+ fontSize: 'var(--core-300)',
1721
+ fontWeight: '600',
1722
+ lineHeight: '1',
1723
+ color: 'var(--black)'
1724
+ },
1725
+ '.lu-heading-h6': {
1726
+ fontSize: 'var(--core-250)',
1727
+ fontWeight: '600',
1728
+ lineHeight: '1',
1729
+ color: 'var(--black)'
1730
+ }
1731
+ };
1653
1732
  // Components CSS Classes
1654
1733
  export var table_data_className = 'bg-gray-100 lu-pt-050 lu-pr-100 lu-pb-050 lu-pl-100 rounded gap-2.5';
1655
1734
  export var table_header_className = 'lu-pd-200';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linkedunion-design-kit",
3
- "version": "1.1.7",
3
+ "version": "1.1.8",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",