linkedunion-design-kit 1.4.6 → 1.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/dist/app/scripts.js +1 -1
  2. package/dist/components/Avatar/Avatar.js +1 -1
  3. package/dist/components/Color/BackgroundColor/Color.js +1 -1
  4. package/dist/components/Color/BackgroundColor/Color.stories.js +13 -13
  5. package/dist/components/Color/BackgroundColor/index.d.ts +7 -0
  6. package/dist/components/Color/BackgroundColor/index.js +8 -0
  7. package/dist/components/MediaCard/Card.d.ts +1 -1
  8. package/dist/components/MediaCard/Card.js +18 -16
  9. package/dist/components/MediaCard/Card.stories.js +11 -2
  10. package/dist/components/MediaCard/ContactProfile/ContactProfile.d.ts +2 -0
  11. package/dist/components/MediaCard/ContactProfile/ContactProfile.js +23 -0
  12. package/dist/components/MediaCard/ContactProfile/ContactProfileTheme1.d.ts +2 -0
  13. package/dist/components/MediaCard/ContactProfile/ContactProfileTheme1.js +8 -0
  14. package/dist/components/MediaCard/ContactProfile/ContactProfileTheme2.d.ts +2 -0
  15. package/dist/components/MediaCard/ContactProfile/ContactProfileTheme2.js +8 -0
  16. package/dist/components/MediaCard/PostByCategory/PostByCategory.d.ts +2 -0
  17. package/dist/components/MediaCard/PostByCategory/PostByCategory.js +23 -0
  18. package/dist/components/MediaCard/PostByCategory/PostByCategoryTheme1.d.ts +2 -0
  19. package/dist/components/MediaCard/PostByCategory/PostByCategoryTheme1.js +8 -0
  20. package/dist/components/MediaCard/PostByCategory/PostByCategoryTheme2.d.ts +2 -0
  21. package/dist/components/MediaCard/PostByCategory/PostByCategoryTheme2.js +8 -0
  22. package/dist/components/MediaCard/PostByCategory.js +21 -9
  23. package/dist/components/MediaCard/PostByCategoryTheme1.d.ts +2 -0
  24. package/dist/components/MediaCard/PostByCategoryTheme1.js +8 -0
  25. package/dist/components/MediaCard/PostByCategoryTheme2.d.ts +2 -0
  26. package/dist/components/MediaCard/PostByCategoryTheme2.js +8 -0
  27. package/dist/components/Size/Size.js +1 -1
  28. package/dist/components/Size/Size.stories.js +1 -6
  29. package/dist/components/Spacing/Margin/MarginToken.js +3 -1
  30. package/dist/components/Spacing/Margin/MarginX.d.ts +1 -0
  31. package/dist/components/Spacing/Margin/MarginX.js +5 -0
  32. package/dist/components/Spacing/Margin/MarginY.d.ts +1 -0
  33. package/dist/components/Spacing/Margin/MarginY.js +5 -0
  34. package/dist/components/Spacing/Padding/PaddingToken.js +3 -1
  35. package/dist/components/Spacing/Padding/PaddingX.d.ts +1 -0
  36. package/dist/components/Spacing/Padding/PaddingX.js +5 -0
  37. package/dist/components/Spacing/Padding/PaddingY.d.ts +1 -0
  38. package/dist/components/Spacing/Padding/PaddingY.js +5 -0
  39. package/dist/components/Typography/Body/Body.d.ts +2 -0
  40. package/dist/components/Typography/Body/Body.js +29 -0
  41. package/dist/components/Typography/Body/Body.stories.d.ts +6 -0
  42. package/dist/components/Typography/Body/Body.stories.js +68 -0
  43. package/dist/components/Typography/Body/body.test.d.ts +1 -0
  44. package/dist/components/Typography/Body/body.test.js +44 -0
  45. package/dist/components/Typography/Body/index.d.ts +14 -0
  46. package/dist/components/Typography/Body/index.js +50 -0
  47. package/dist/components/Typography/Body/type.d.ts +7 -0
  48. package/dist/components/Typography/Body/type.js +1 -0
  49. package/dist/components/Typography/Display/Display.d.ts +2 -0
  50. package/dist/components/Typography/Display/Display.js +29 -0
  51. package/dist/components/Typography/Display/Display.stories.d.ts +6 -0
  52. package/dist/components/Typography/Display/Display.stories.js +68 -0
  53. package/dist/components/Typography/Display/Display.test.d.ts +1 -0
  54. package/dist/components/Typography/Display/Display.test.js +44 -0
  55. package/dist/components/Typography/Display/index.d.ts +38 -0
  56. package/dist/components/Typography/Display/index.js +61 -0
  57. package/dist/components/Typography/Display/type.d.ts +8 -0
  58. package/dist/components/Typography/Display/type.js +1 -0
  59. package/dist/components/Typography/Headings/Heading.test.d.ts +1 -0
  60. package/dist/components/Typography/Headings/Heading.test.js +44 -0
  61. package/dist/components/Typography/Headings/Headings.d.ts +2 -2
  62. package/dist/components/Typography/Headings/Headings.js +27 -3
  63. package/dist/components/Typography/Headings/Headings.stories.d.ts +4 -2
  64. package/dist/components/Typography/Headings/Headings.stories.js +35 -8
  65. package/dist/components/Typography/Headings/index.d.ts +21 -0
  66. package/dist/components/Typography/Headings/index.js +68 -0
  67. package/dist/components/Typography/Headings/type.d.ts +6 -0
  68. package/dist/components/Typography/Headings/type.js +1 -0
  69. package/dist/global/components/Table/Table.d.ts +14 -0
  70. package/dist/global/components/Table/Table.js +12 -0
  71. package/dist/index.d.ts +13 -10
  72. package/dist/index.js +13 -10
  73. package/dist/styles/global.css +1113 -7930
  74. package/dist/tailwind.config.d.ts +1 -1
  75. package/dist/tailwind.config.js +83 -46
  76. package/dist/utils/colors.d.ts +7 -0
  77. package/dist/utils/colors.js +7 -0
  78. package/dist/utils/constants.d.ts +1 -0
  79. package/dist/utils/constants.js +1 -0
  80. package/dist/utils/enum.js +14 -14
  81. package/dist/utils/enums.d.ts +51 -0
  82. package/dist/utils/enums.js +56 -0
  83. package/dist/utils/index.d.ts +0 -93
  84. package/dist/utils/index.js +0 -165
  85. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
- import type { Config } from 'tailwindcss';
1
+ import type { Config } from "tailwindcss";
2
2
  declare const config: Config;
3
3
  export default config;
@@ -7,24 +7,57 @@ 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, 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
- import generateUtilities from './utils';
12
- var plugin = require('tailwindcss/plugin');
10
+ import { avatarShapeList, avatarSizesList, borderRadiusList, borderWidthList, buttonColorsList, buttonIconSizeList, buttonWithIconList, butttonSizeList, customAspectRatio, customAvatarSize, customBorderRadius, customBorderWidth, customBoxShadow, customButtonColors, customButtonIconSize, customButtonOutlineColors, customButtonSize, 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
+ import generateUtilities from "./utils";
12
+ import { customDisplay, Display_Classes, } from "./components/Typography/Display";
13
+ import { colorNames, customBackgroundColor, shades } from "./components/Color/BackgroundColor";
14
+ var plugin = require("tailwindcss/plugin");
13
15
  var config = {
14
- mode: 'jit',
16
+ mode: "jit",
15
17
  content: [
16
- './pages/**/*.{js,ts,jsx,tsx,mdx}',
17
- './components/**/*.{js,ts,jsx,tsx,mdx}',
18
- './app/**/*.{js,ts,jsx,tsx,mdx}',
18
+ "./pages/**/*.{js,ts,jsx,tsx,mdx}",
19
+ "./components/**/*.{js,ts,jsx,tsx,mdx}",
20
+ "./app/**/*.{js,ts,jsx,tsx,mdx}",
19
21
  ],
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),
22
+ 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([], colorNames.flatMap(function (color) { return shades.map(function (shade) { return "lu-bg-".concat(color, "-").concat(shade); }); }), true), fontSizes.map(function (fontSize) { return ({ pattern: new RegExp(fontSize.key) }); }), true), fontWeights.map(function (fontWeight) { return ({
23
+ pattern: new RegExp(fontWeight.key),
24
+ }); }), true), lineHeights.map(function (lineHeight) { return ({
25
+ pattern: new RegExp(lineHeight.key),
26
+ }); }), true), textAlignment.map(function (textAlign) { return ({
27
+ pattern: new RegExp(textAlign.key),
28
+ }); }), true), textTransform.map(function (textTrans) { return ({
29
+ pattern: new RegExp(textTrans.key),
30
+ }); }), 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 ({
31
+ pattern: new RegExp(borderRadius.key),
32
+ }); }), true), borderWidthList.map(function (borderWidth) { return ({
33
+ pattern: new RegExp(borderWidth.key),
34
+ }); }), true), iconSizeList.map(function (iconSize) { return ({ pattern: new RegExp(iconSize.key) }); }), true), iconColorList.map(function (iconColor) { return ({
35
+ pattern: new RegExp(iconColor.key),
36
+ }); }), true), buttonColorsList.map(function (btnColor) { return ({
37
+ pattern: new RegExp(btnColor.key),
38
+ }); }), true), butttonSizeList.map(function (btnSize) { return ({ pattern: new RegExp(btnSize.key) }); }), true), buttonIconSizeList.map(function (btnIconSize) { return ({
39
+ pattern: new RegExp(btnIconSize.key),
40
+ }); }), true), buttonWithIconList.map(function (iconButton) { return ({
41
+ pattern: new RegExp(iconButton.key),
42
+ }); }), true), portraitaspectRatioList.map(function (aspectRatio) { return ({
43
+ pattern: new RegExp(aspectRatio.key),
44
+ }); }), true), landscapeaspectRatioList.map(function (aspectRatio) { return ({
45
+ pattern: new RegExp(aspectRatio.key),
46
+ }); }), true), avatarSizesList.map(function (avatarSize) { return ({
47
+ pattern: new RegExp(avatarSize.key),
48
+ }); }), true), avatarShapeList.map(function (avatarShape) { return ({
49
+ pattern: new RegExp(avatarShape.key),
50
+ }); }), true), textColorList.map(function (textColor) { return ({
51
+ pattern: new RegExp(textColor.key),
52
+ }); }), true), headingsList.map(function (heading) { return ({ pattern: new RegExp(heading.key) }); }), true), Object.keys(Display_Classes).map(function (display) { return ({
53
+ pattern: new RegExp(display),
54
+ }); }), true),
21
55
  theme: {
22
56
  extend: {
23
57
  backgroundImage: {
24
- 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
25
- 'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
58
+ "gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
59
+ "gradient-conic": "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
26
60
  },
27
- colors: customColors,
28
61
  fontSize: customFontSize,
29
62
  fontWeight: customFontWeight,
30
63
  lineHeight: customLineHeight,
@@ -46,26 +79,26 @@ var config = {
46
79
  plugin(function (_a) {
47
80
  var addUtilities = _a.addUtilities, theme = _a.theme;
48
81
  //Font Size plugin
49
- var fontSizeUtilities = generateUtilities('fontSize', theme);
50
- addUtilities(fontSizeUtilities, ['responsive']);
82
+ var fontSizeUtilities = generateUtilities("fontSize", theme);
83
+ addUtilities(fontSizeUtilities, ["responsive"]);
51
84
  //Font Weight plugin
52
- var fontWeightUtilities = generateUtilities('fontWeight', theme);
53
- addUtilities(fontWeightUtilities, ['responsive']);
85
+ var fontWeightUtilities = generateUtilities("fontWeight", theme);
86
+ addUtilities(fontWeightUtilities, ["responsive"]);
54
87
  //Line Height plugin
55
- var lineHeightUtilities = generateUtilities('lineHeight', theme);
56
- addUtilities(lineHeightUtilities, ['responsive']);
88
+ var lineHeightUtilities = generateUtilities("lineHeight", theme);
89
+ addUtilities(lineHeightUtilities, ["responsive"]);
57
90
  //Text Alignment plugin
58
- var textAlignmentUtilities = generateUtilities('textAlign', theme);
59
- addUtilities(textAlignmentUtilities, ['responsive']);
91
+ var textAlignmentUtilities = generateUtilities("textAlign", theme);
92
+ addUtilities(textAlignmentUtilities, ["responsive"]);
60
93
  //Text Transform plugin
61
- var textTransformUtilities = generateUtilities('textTransform', theme);
62
- addUtilities(textTransformUtilities, ['responsive']);
94
+ var textTransformUtilities = generateUtilities("textTransform", theme);
95
+ addUtilities(textTransformUtilities, ["responsive"]);
63
96
  //Text Decoration plugin
64
- var textDecorationUtilities = generateUtilities('textDecoration', theme);
65
- addUtilities(textDecorationUtilities, ['responsive']);
97
+ var textDecorationUtilities = generateUtilities("textDecoration", theme);
98
+ addUtilities(textDecorationUtilities, ["responsive"]);
66
99
  //Text Wrap plugin
67
- var textWrapUtilities = generateUtilities('textWrap', theme);
68
- addUtilities(textWrapUtilities, ['responsive']);
100
+ var textWrapUtilities = generateUtilities("textWrap", theme);
101
+ addUtilities(textWrapUtilities, ["responsive"]);
69
102
  //Size plugin
70
103
  var sizeUtilities = Object.entries(customSize).reduce(function (acc, _a) {
71
104
  var key = _a[0], value = _a[1];
@@ -75,7 +108,7 @@ var config = {
75
108
  };
76
109
  return acc;
77
110
  }, {});
78
- addUtilities(sizeUtilities, ['responsive']);
111
+ addUtilities(sizeUtilities, ["responsive"]);
79
112
  //width plugin
80
113
  var widthUtilities = Object.entries(customWidth).reduce(function (acc, _a) {
81
114
  var key = _a[0], value = _a[1];
@@ -84,7 +117,7 @@ var config = {
84
117
  };
85
118
  return acc;
86
119
  }, {});
87
- addUtilities(widthUtilities, ['responsive']);
120
+ addUtilities(widthUtilities, ["responsive"]);
88
121
  //height plugin
89
122
  var heightUtilities = Object.entries(customHeight).reduce(function (acc, _a) {
90
123
  var key = _a[0], value = _a[1];
@@ -93,7 +126,7 @@ var config = {
93
126
  };
94
127
  return acc;
95
128
  }, {});
96
- addUtilities(heightUtilities, ['responsive']);
129
+ addUtilities(heightUtilities, ["responsive"]);
97
130
  //Min width Plugin
98
131
  var minWidthUtilities = Object.entries(customMinWidth).reduce(function (acc, _a) {
99
132
  var key = _a[0], value = _a[1];
@@ -102,7 +135,7 @@ var config = {
102
135
  };
103
136
  return acc;
104
137
  }, {});
105
- addUtilities(minWidthUtilities, ['responsive']);
138
+ addUtilities(minWidthUtilities, ["responsive"]);
106
139
  //Min height Plugin
107
140
  var minHeightUtilities = Object.entries(customMinHeight).reduce(function (acc, _a) {
108
141
  var key = _a[0], value = _a[1];
@@ -111,38 +144,42 @@ var config = {
111
144
  };
112
145
  return acc;
113
146
  }, {});
114
- addUtilities(minHeightUtilities, ['responsive']);
147
+ addUtilities(minHeightUtilities, ["responsive"]);
115
148
  // Add plugin border radius
116
- addUtilities(customBorderRadius, ['responsive']);
149
+ addUtilities(customBorderRadius, ["responsive"]);
117
150
  // Add plugin border width
118
- addUtilities(customBorderWidth, ['responsive']);
151
+ addUtilities(customBorderWidth, ["responsive"]);
119
152
  //plugin for icon size
120
- addUtilities(customIconSize, ['responsive', 'hover']);
153
+ addUtilities(customIconSize, ["responsive", "hover"]);
121
154
  //plugin for icon colors
122
- addUtilities(customIconColors, ['responsive']);
155
+ addUtilities(customIconColors, ["responsive"]);
123
156
  //plugin for custom button colors
124
- addUtilities(customButtonColors, ['responsive']);
157
+ addUtilities(customButtonColors, ["responsive"]);
125
158
  //plugin for custom button size
126
- addUtilities(customButtonSize, ['responsive']);
159
+ addUtilities(customButtonSize, ["responsive"]);
127
160
  //plugin for custom button icon size
128
- addUtilities(customButtonIconSize, ['responsive']);
161
+ addUtilities(customButtonIconSize, ["responsive"]);
129
162
  //plugin for custom button with icon
130
- addUtilities(customIconButtonSize, ['responsive']);
163
+ addUtilities(customIconButtonSize, ["responsive"]);
131
164
  //plugin for outline button color
132
- addUtilities(customButtonOutlineColors, ['responsive']);
165
+ addUtilities(customButtonOutlineColors, ["responsive"]);
133
166
  //plugin for aspect ratio
134
- addUtilities(customAspectRatio, ['responsive']);
167
+ addUtilities(customAspectRatio, ["responsive"]);
135
168
  //Plugin for avatar size
136
- addUtilities(customAvatarSize, ['responsive']);
169
+ addUtilities(customAvatarSize, ["responsive"]);
137
170
  //plugin for avatar shape
138
- addUtilities(customizeAvtarShape, ['responsive']);
171
+ addUtilities(customizeAvtarShape, ["responsive"]);
139
172
  //plugin for box shadow
140
- var boxShadowUtilities = generateUtilities('boxShadow', theme);
141
- addUtilities(boxShadowUtilities, ['responsive']);
173
+ var boxShadowUtilities = generateUtilities("boxShadow", theme);
174
+ addUtilities(boxShadowUtilities, ["responsive"]);
142
175
  //plugin for custom text colors
143
- addUtilities(customizeTextColors, ['responsive']);
176
+ addUtilities(customizeTextColors, ["responsive"]);
144
177
  //plugin for custom headings
145
- addUtilities(customHeadings, ['responsive']);
178
+ addUtilities(customHeadings, ["responsive"]);
179
+ //plugin for custom Display
180
+ addUtilities(customDisplay, ["responsive"]);
181
+ //plugin for custom background colors
182
+ addUtilities(customBackgroundColor, ["responsive"]);
146
183
  }),
147
184
  ],
148
185
  };
@@ -0,0 +1,7 @@
1
+ export declare const colors: {
2
+ default: string;
3
+ caption_color: string;
4
+ white: string;
5
+ gray: string;
6
+ neutral: string;
7
+ };
@@ -0,0 +1,7 @@
1
+ export var colors = {
2
+ default: 'var(--black)',
3
+ caption_color: 'var(--neutral-500)',
4
+ white: 'var( --white)',
5
+ gray: 'var(--neutral-0)',
6
+ neutral: 'var(--neutral-1000)',
7
+ };
@@ -0,0 +1 @@
1
+ export declare const Dummy_Para = "The quick brown fox jumps over the dog.";
@@ -0,0 +1 @@
1
+ export var Dummy_Para = "The quick brown fox jumps over the dog.";
@@ -1,25 +1,25 @@
1
1
  export var contentTypeEnum = {
2
- none: 'None',
3
- text_with_icon: 'Text with Icon',
4
- icon_only: 'Icon Only'
2
+ none: "None",
3
+ text_with_icon: "Text with Icon",
4
+ icon_only: "Icon Only",
5
5
  };
6
6
  export var buttonTypeEnum = {
7
- fill: 'Fill',
8
- outline: 'Outline'
7
+ fill: "Fill",
8
+ outline: "Outline",
9
9
  };
10
10
  export var orientationEnum = {
11
- portrait: 'Portrait',
12
- landscape: 'Landscape'
11
+ portrait: "Portrait",
12
+ landscape: "Landscape",
13
13
  };
14
14
  export var cardLayoutEnum = {
15
- horizontal: 'Horizontal',
16
- vertical: 'Vertical'
15
+ horizontal: "Horizontal",
16
+ vertical: "Vertical",
17
17
  };
18
18
  export var sectionType = {
19
19
  multiplePostsTheme: "Multiple Posts",
20
- singlePostTheme: 'Single Post',
21
- postByCategoriesTheme: 'Post By Categories',
22
- contactsProfileTheme: 'Contacts Profile',
23
- galleryTheme: 'Gallery',
24
- albumTheme: 'Album'
20
+ singlePostTheme: "Single Post",
21
+ postByCategoriesTheme: "Post By Categories",
22
+ contactsProfileTheme: "Contacts Profile",
23
+ galleryTheme: "Gallery",
24
+ albumTheme: "Album",
25
25
  };
@@ -0,0 +1,51 @@
1
+ export declare enum FontSize {
2
+ Base = "lu-base-font-size",
3
+ XSmall = "lu-font-size-x-small",
4
+ Small = "lu-font-size-small",
5
+ Medium = "lu-font-size-medium",
6
+ Large = "lu-font-size-large",
7
+ XLarge = "lu-font-size-x-large",
8
+ TwoXLarge = "lu-font-size-2x-large",
9
+ ThreeXLarge = "lu-font-size-3x-large",
10
+ FourXLarge = "lu-font-size-4x-large",
11
+ FiveXLarge = "lu-font-size-5x-large",
12
+ SixXLarge = "lu-font-size-6x-large",
13
+ SevenXLarge = "lu-font-size-7x-large",
14
+ Huge = "lu-font-size-huge"
15
+ }
16
+ export declare enum FontFamily {
17
+ Base = "lu-font-family-poppins"
18
+ }
19
+ export declare enum FontWeight {
20
+ Thin = "lu-font-weight-thin",
21
+ ExtraLight = "lu-font-weight-extra-light",
22
+ Light = "lu-font-weight-light",
23
+ Regular = "lu-font-weight-regular",
24
+ Medium = "lu-font-weight-medium",
25
+ SemiBold = "lu-font-weight-semibold",
26
+ Bold = "lu-font-weight-bold",
27
+ ExtraBold = "lu-font-weight-extra-bold",
28
+ Black = "lu-font-weight-black"
29
+ }
30
+ export declare enum LineHeights {
31
+ XS = "lu-line-height-xs",
32
+ SM = "lu-line-height-sm",
33
+ BASE = "lu-line-height-base",
34
+ LG = "lu-line-height-lg"
35
+ }
36
+ export declare enum TextColor {
37
+ Base = "lu-text-base",
38
+ Default = "lu-text-default",
39
+ Secondary = "lu-text-secondary",
40
+ Caption = "lu-text-caption",
41
+ Placeholder = "lu-text-placeholder",
42
+ Disabled = "lu-text-disabled",
43
+ Primary = "lu-text-primary",
44
+ Success = "lu-text-success",
45
+ Warning = "lu-text-warning",
46
+ Danger = "lu-text-danger",
47
+ Gray = "lu-text-gray",
48
+ Info = "lu-text-info",
49
+ LinkDefault = "lu-text-link-default",
50
+ LinkPressed = "lu-text-link-pressed"
51
+ }
@@ -0,0 +1,56 @@
1
+ export var FontSize;
2
+ (function (FontSize) {
3
+ FontSize["Base"] = "lu-base-font-size";
4
+ FontSize["XSmall"] = "lu-font-size-x-small";
5
+ FontSize["Small"] = "lu-font-size-small";
6
+ FontSize["Medium"] = "lu-font-size-medium";
7
+ FontSize["Large"] = "lu-font-size-large";
8
+ FontSize["XLarge"] = "lu-font-size-x-large";
9
+ FontSize["TwoXLarge"] = "lu-font-size-2x-large";
10
+ FontSize["ThreeXLarge"] = "lu-font-size-3x-large";
11
+ FontSize["FourXLarge"] = "lu-font-size-4x-large";
12
+ FontSize["FiveXLarge"] = "lu-font-size-5x-large";
13
+ FontSize["SixXLarge"] = "lu-font-size-6x-large";
14
+ FontSize["SevenXLarge"] = "lu-font-size-7x-large";
15
+ FontSize["Huge"] = "lu-font-size-huge";
16
+ })(FontSize || (FontSize = {}));
17
+ export var FontFamily;
18
+ (function (FontFamily) {
19
+ FontFamily["Base"] = "lu-font-family-poppins";
20
+ })(FontFamily || (FontFamily = {}));
21
+ export var FontWeight;
22
+ (function (FontWeight) {
23
+ FontWeight["Thin"] = "lu-font-weight-thin";
24
+ FontWeight["ExtraLight"] = "lu-font-weight-extra-light";
25
+ FontWeight["Light"] = "lu-font-weight-light";
26
+ FontWeight["Regular"] = "lu-font-weight-regular";
27
+ FontWeight["Medium"] = "lu-font-weight-medium";
28
+ FontWeight["SemiBold"] = "lu-font-weight-semibold";
29
+ FontWeight["Bold"] = "lu-font-weight-bold";
30
+ FontWeight["ExtraBold"] = "lu-font-weight-extra-bold";
31
+ FontWeight["Black"] = "lu-font-weight-black";
32
+ })(FontWeight || (FontWeight = {}));
33
+ export var LineHeights;
34
+ (function (LineHeights) {
35
+ LineHeights["XS"] = "lu-line-height-xs";
36
+ LineHeights["SM"] = "lu-line-height-sm";
37
+ LineHeights["BASE"] = "lu-line-height-base";
38
+ LineHeights["LG"] = "lu-line-height-lg";
39
+ })(LineHeights || (LineHeights = {}));
40
+ export var TextColor;
41
+ (function (TextColor) {
42
+ TextColor["Base"] = "lu-text-base";
43
+ TextColor["Default"] = "lu-text-default";
44
+ TextColor["Secondary"] = "lu-text-secondary";
45
+ TextColor["Caption"] = "lu-text-caption";
46
+ TextColor["Placeholder"] = "lu-text-placeholder";
47
+ TextColor["Disabled"] = "lu-text-disabled";
48
+ TextColor["Primary"] = "lu-text-primary";
49
+ TextColor["Success"] = "lu-text-success";
50
+ TextColor["Warning"] = "lu-text-warning";
51
+ TextColor["Danger"] = "lu-text-danger";
52
+ TextColor["Gray"] = "lu-text-gray";
53
+ TextColor["Info"] = "lu-text-info";
54
+ TextColor["LinkDefault"] = "lu-text-link-default";
55
+ TextColor["LinkPressed"] = "lu-text-link-pressed";
56
+ })(TextColor || (TextColor = {}));
@@ -12,14 +12,6 @@ export declare const defaultCardProps: {
12
12
  card_title_color: string;
13
13
  id: number;
14
14
  };
15
- export declare const colorGroups: {
16
- primary: string[];
17
- gray: string[];
18
- success: string[];
19
- warning: string[];
20
- danger: string[];
21
- info: string[];
22
- };
23
15
  export declare const fontSizes: {
24
16
  key: string;
25
17
  label: string;
@@ -120,9 +112,6 @@ export declare const textColorList: {
120
112
  key: string;
121
113
  label: string;
122
114
  }[];
123
- export declare const colors: {
124
- default: string;
125
- };
126
115
  export declare const avatarShapeList: {
127
116
  key: string;
128
117
  label: string;
@@ -140,88 +129,6 @@ export declare const sectionTypeList: {
140
129
  label: string;
141
130
  }[];
142
131
  export default function generateUtilities(property: string, theme: (property: string) => Record<string, string>): Record<string, Record<string, string>>;
143
- export declare const customColors: {
144
- white: string;
145
- black: string;
146
- primary: {
147
- 0: string;
148
- 100: string;
149
- 200: string;
150
- 300: string;
151
- 400: string;
152
- 500: string;
153
- 600: string;
154
- 700: string;
155
- 800: string;
156
- 900: string;
157
- 1000: string;
158
- };
159
- gray: {
160
- 0: string;
161
- 100: string;
162
- 200: string;
163
- 300: string;
164
- 400: string;
165
- 500: string;
166
- 600: string;
167
- 700: string;
168
- 800: string;
169
- 900: string;
170
- 1000: string;
171
- };
172
- success: {
173
- 0: string;
174
- 100: string;
175
- 200: string;
176
- 300: string;
177
- 400: string;
178
- 500: string;
179
- 600: string;
180
- 700: string;
181
- 800: string;
182
- 900: string;
183
- 1000: string;
184
- };
185
- warning: {
186
- 0: string;
187
- 100: string;
188
- 200: string;
189
- 300: string;
190
- 400: string;
191
- 500: string;
192
- 600: string;
193
- 700: string;
194
- 800: string;
195
- 900: string;
196
- 1000: string;
197
- };
198
- danger: {
199
- 0: string;
200
- 100: string;
201
- 200: string;
202
- 300: string;
203
- 400: string;
204
- 500: string;
205
- 600: string;
206
- 700: string;
207
- 800: string;
208
- 900: string;
209
- 1000: string;
210
- };
211
- info: {
212
- 0: string;
213
- 100: string;
214
- 200: string;
215
- 300: string;
216
- 400: string;
217
- 500: string;
218
- 600: string;
219
- 700: string;
220
- 800: string;
221
- 900: string;
222
- 1000: string;
223
- };
224
- };
225
132
  export declare const customFontSize: {
226
133
  'lu-base-font-size': string;
227
134
  'lu-font-size-x-small': string;