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.
Files changed (193) hide show
  1. package/README.md +20 -8
  2. package/dist/app/layout.d.ts +2 -2
  3. package/dist/app/layout.js +5 -5
  4. package/dist/app/page.js +2 -2
  5. package/dist/app/scripts.js +1 -1
  6. package/dist/components/Avatar/Avatar.d.ts +1 -1
  7. package/dist/components/Avatar/Avatar.js +2 -5
  8. package/dist/components/Avatar/Avatar.stories.js +15 -6
  9. package/dist/components/Border/BorderRadius/BorderRadius.stories.js +8 -2
  10. package/dist/components/Border/BorderRadius/BorderRadiusTable.js +1 -1
  11. package/dist/components/Border/BorderRadius/BorderRadiusView.js +1 -1
  12. package/dist/components/Border/BorderWidth/BorderWidth.stories.js +8 -2
  13. package/dist/components/Border/BorderWidth/BorderWidthTable.js +1 -1
  14. package/dist/components/Border/BorderWidth/ViewBorderWidth.js +1 -1
  15. package/dist/components/Button/Button.d.ts +1 -1
  16. package/dist/components/Button/Button.js +8 -2
  17. package/dist/components/Button/Button.stories.js +56 -22
  18. package/dist/components/Color/BackgroundColor/Color.js +1 -1
  19. package/dist/components/Color/BackgroundColor/Color.stories.js +25 -13
  20. package/dist/components/Color/BackgroundColor/index.d.ts +7 -0
  21. package/dist/components/Color/BackgroundColor/index.js +15 -0
  22. package/dist/components/Color/TextColor.d.ts +1 -1
  23. package/dist/components/Color/TextColor.js +2 -2
  24. package/dist/components/Color/TextColor.stories.js +4 -1
  25. package/dist/components/Icons/IconView.stories.js +1 -1
  26. package/dist/components/Icons/LUIcon.js +1 -1
  27. package/dist/components/Icons/LUIcon.stories.js +16 -7
  28. package/dist/components/Images/LuImage.d.ts +1 -1
  29. package/dist/components/Images/LuImage.js +2 -2
  30. package/dist/components/Images/LuImage.stories.js +7 -9
  31. package/dist/components/MediaCard/Card.d.ts +1 -1
  32. package/dist/components/MediaCard/Card.js +30 -17
  33. package/dist/components/MediaCard/Card.stories.js +21 -9
  34. package/dist/components/MediaCard/ContactProfile/ContactProfile.js +23 -0
  35. package/dist/components/MediaCard/ContactProfile/ContactProfileTheme1.d.ts +2 -0
  36. package/dist/components/MediaCard/ContactProfile/ContactProfileTheme1.js +9 -0
  37. package/dist/components/MediaCard/ContactProfile/ContactProfileTheme2.d.ts +2 -0
  38. package/dist/components/MediaCard/ContactProfile/ContactProfileTheme2.js +9 -0
  39. package/dist/components/MediaCard/PostByCategory/PostByCategory.js +23 -0
  40. package/dist/components/MediaCard/PostByCategory/PostByCategoryTheme1.d.ts +2 -0
  41. package/dist/components/MediaCard/PostByCategory/PostByCategoryTheme1.js +9 -0
  42. package/dist/components/MediaCard/PostByCategory/PostByCategoryTheme2.d.ts +2 -0
  43. package/dist/components/MediaCard/PostByCategory/PostByCategoryTheme2.js +9 -0
  44. package/dist/components/MediaCard/card.module.css +52 -0
  45. package/dist/components/Size/MinWidthHeight.d.ts +1 -1
  46. package/dist/components/Size/MinWidthHeight.stories.js +11 -5
  47. package/dist/components/Size/Size.js +1 -1
  48. package/dist/components/Size/Size.stories.js +6 -8
  49. package/dist/components/Size/WidthHeight.stories.js +10 -4
  50. package/dist/components/Spacing/Margin/Margin.js +1 -1
  51. package/dist/components/Spacing/Margin/MarginBottom.js +1 -1
  52. package/dist/components/Spacing/Margin/MarginLeft.js +1 -1
  53. package/dist/components/Spacing/Margin/MarginRight.js +1 -1
  54. package/dist/components/Spacing/Margin/MarginToken.js +3 -1
  55. package/dist/components/Spacing/Margin/MarginTop.js +1 -1
  56. package/dist/components/Spacing/Margin/MarginX.d.ts +1 -0
  57. package/dist/components/Spacing/Margin/MarginX.js +5 -0
  58. package/dist/components/Spacing/Margin/MarginY.d.ts +1 -0
  59. package/dist/components/Spacing/Margin/MarginY.js +5 -0
  60. package/dist/components/Spacing/Padding/Padding.js +1 -1
  61. package/dist/components/Spacing/Padding/PaddingBottom.js +1 -1
  62. package/dist/components/Spacing/Padding/PaddingLeft.js +1 -1
  63. package/dist/components/Spacing/Padding/PaddingRight.js +1 -1
  64. package/dist/components/Spacing/Padding/PaddingToken.js +3 -1
  65. package/dist/components/Spacing/Padding/PaddingTop.js +1 -1
  66. package/dist/components/Spacing/Padding/PaddingX.d.ts +1 -0
  67. package/dist/components/Spacing/Padding/PaddingX.js +5 -0
  68. package/dist/components/Spacing/Padding/PaddingY.d.ts +1 -0
  69. package/dist/components/Spacing/Padding/PaddingY.js +5 -0
  70. package/dist/components/Title/Title.d.ts +6 -0
  71. package/dist/components/Title/Title.js +7 -0
  72. package/dist/components/Title/Title.module.css +56 -0
  73. package/dist/components/Title/Title.stories.d.ts +5 -0
  74. package/dist/components/Title/Title.stories.js +49 -0
  75. package/dist/components/Title/Title.test.d.ts +1 -0
  76. package/dist/components/Title/Title.test.js +24 -0
  77. package/dist/components/Typography/Body/Body.d.ts +2 -0
  78. package/dist/components/{MediaCard/Card.jsx → Typography/Body/Body.js} +6 -10
  79. package/dist/components/Typography/Body/Body.stories.d.ts +6 -0
  80. package/dist/components/Typography/Body/Body.stories.js +68 -0
  81. package/dist/components/Typography/Body/body.test.d.ts +1 -0
  82. package/dist/components/Typography/Body/body.test.js +44 -0
  83. package/dist/components/Typography/Body/index.d.ts +14 -0
  84. package/dist/components/Typography/Body/index.js +50 -0
  85. package/dist/components/Typography/Body/type.d.ts +7 -0
  86. package/dist/components/Typography/Body/type.js +1 -0
  87. package/dist/components/Typography/Display/Display.d.ts +2 -0
  88. package/dist/components/Typography/Display/Display.js +29 -0
  89. package/dist/components/Typography/Display/Display.stories.d.ts +6 -0
  90. package/dist/components/Typography/Display/Display.stories.js +72 -0
  91. package/dist/components/Typography/Display/Display.test.d.ts +1 -0
  92. package/dist/components/Typography/Display/Display.test.js +44 -0
  93. package/dist/components/Typography/Display/index.d.ts +38 -0
  94. package/dist/components/Typography/Display/index.js +61 -0
  95. package/dist/components/Typography/Display/type.d.ts +8 -0
  96. package/dist/components/Typography/Display/type.js +1 -0
  97. package/dist/components/Typography/Headings/Heading.test.d.ts +1 -0
  98. package/dist/components/Typography/Headings/Heading.test.js +44 -0
  99. package/dist/components/Typography/Headings/Headings.d.ts +2 -2
  100. package/dist/components/Typography/Headings/Headings.js +27 -3
  101. package/dist/components/Typography/Headings/Headings.stories.d.ts +4 -2
  102. package/dist/components/Typography/Headings/Headings.stories.js +39 -8
  103. package/dist/components/Typography/Headings/index.d.ts +21 -0
  104. package/dist/components/Typography/Headings/index.js +68 -0
  105. package/dist/components/Typography/Headings/type.d.ts +6 -0
  106. package/dist/components/Typography/Headings/type.js +1 -0
  107. package/dist/components/Typography/Typography.css +3002 -0
  108. package/dist/components/Typography/Typography.d.ts +1 -1
  109. package/dist/components/Typography/Typography.js +1 -1
  110. package/dist/components/Typography/Typography.stories.js +36 -15
  111. package/dist/global/components/Table/Table.d.ts +14 -0
  112. package/dist/global/components/Table/Table.js +12 -0
  113. package/dist/index.d.ts +13 -10
  114. package/dist/index.js +13 -10
  115. package/dist/styles/global.css +1151 -8030
  116. package/dist/tailwind.config.d.ts +1 -1
  117. package/dist/tailwind.config.js +85 -46
  118. package/dist/utils/colors.d.ts +7 -0
  119. package/dist/utils/colors.js +7 -0
  120. package/dist/utils/constants.d.ts +2 -0
  121. package/dist/utils/constants.js +2 -0
  122. package/dist/utils/enum.js +14 -14
  123. package/dist/utils/enums.d.ts +51 -0
  124. package/dist/utils/enums.js +56 -0
  125. package/dist/utils/iconList.js +479 -479
  126. package/dist/utils/index.d.ts +379 -472
  127. package/dist/utils/index.js +1383 -1527
  128. package/package.json +5 -2
  129. package/dist/app/layout.jsx +0 -13
  130. package/dist/app/page.jsx +0 -71
  131. package/dist/components/Avatar/Avatar.jsx +0 -15
  132. package/dist/components/Avatar/Avatar.stories.jsx +0 -25
  133. package/dist/components/Border/BorderRadius/BorderRadius.jsx +0 -12
  134. package/dist/components/Border/BorderRadius/BorderRadius.stories.jsx +0 -17
  135. package/dist/components/Border/BorderRadius/BorderRadiusTable.jsx +0 -61
  136. package/dist/components/Border/BorderRadius/BorderRadiusView.jsx +0 -8
  137. package/dist/components/Border/BorderWidth/BorderWidth.jsx +0 -12
  138. package/dist/components/Border/BorderWidth/BorderWidth.stories.jsx +0 -17
  139. package/dist/components/Border/BorderWidth/BorderWidthTable.jsx +0 -36
  140. package/dist/components/Border/BorderWidth/ViewBorderWidth.jsx +0 -8
  141. package/dist/components/Button/Button.jsx +0 -16
  142. package/dist/components/Button/Button.stories.jsx +0 -110
  143. package/dist/components/Color/BackgroundColor/Color.jsx +0 -16
  144. package/dist/components/Color/BackgroundColor/Color.stories.jsx +0 -76
  145. package/dist/components/Color/Color.d.ts +0 -2
  146. package/dist/components/Color/Color.js +0 -5
  147. package/dist/components/Color/Color.stories.d.ts +0 -10
  148. package/dist/components/Color/Color.stories.js +0 -88
  149. package/dist/components/Color/TextColor.jsx +0 -6
  150. package/dist/components/Color/TextColor.stories.jsx +0 -17
  151. package/dist/components/Icons/IconView.jsx +0 -23
  152. package/dist/components/Icons/IconView.stories.jsx +0 -8
  153. package/dist/components/Icons/LUIcon.jsx +0 -20
  154. package/dist/components/Icons/LUIcon.stories.jsx +0 -29
  155. package/dist/components/Images/LuImage.jsx +0 -7
  156. package/dist/components/Images/LuImage.stories.jsx +0 -39
  157. package/dist/components/MediaCard/Card.stories.jsx +0 -35
  158. package/dist/components/MediaCard/ContactProfile.js +0 -10
  159. package/dist/components/MediaCard/ContactProfile.jsx +0 -39
  160. package/dist/components/MediaCard/PostByCategory.js +0 -11
  161. package/dist/components/MediaCard/PostByCategory.jsx +0 -46
  162. package/dist/components/Navigation/TopNavigation/TopNavigation.d.ts +0 -2
  163. package/dist/components/Navigation/TopNavigation/TopNavigation.js +0 -8
  164. package/dist/components/Navigation/TopNavigation/TopNavigation.jsx +0 -45
  165. package/dist/components/Navigation/TopNavigation/TopNavigation.stories.d.ts +0 -4
  166. package/dist/components/Navigation/TopNavigation/TopNavigation.stories.js +0 -52
  167. package/dist/components/Navigation/TopNavigation/TopNavigation.stories.jsx +0 -40
  168. package/dist/components/Size/MinWidthHeight.jsx +0 -8
  169. package/dist/components/Size/MinWidthHeight.stories.jsx +0 -22
  170. package/dist/components/Size/Size.jsx +0 -6
  171. package/dist/components/Size/Size.stories.jsx +0 -22
  172. package/dist/components/Size/WidthHeight.jsx +0 -8
  173. package/dist/components/Size/WidthHeight.stories.jsx +0 -22
  174. package/dist/components/Spacing/Margin/Margin.jsx +0 -86
  175. package/dist/components/Spacing/Margin/MarginBottom.jsx +0 -86
  176. package/dist/components/Spacing/Margin/MarginLeft.jsx +0 -86
  177. package/dist/components/Spacing/Margin/MarginRight.jsx +0 -86
  178. package/dist/components/Spacing/Margin/MarginToken.jsx +0 -27
  179. package/dist/components/Spacing/Margin/MarginToken.stories.jsx +0 -7
  180. package/dist/components/Spacing/Margin/MarginTop.jsx +0 -87
  181. package/dist/components/Spacing/Padding/Padding.jsx +0 -87
  182. package/dist/components/Spacing/Padding/PaddingBottom.jsx +0 -86
  183. package/dist/components/Spacing/Padding/PaddingLeft.jsx +0 -86
  184. package/dist/components/Spacing/Padding/PaddingRight.jsx +0 -87
  185. package/dist/components/Spacing/Padding/PaddingToken.jsx +0 -27
  186. package/dist/components/Spacing/Padding/PaddingToken.stories.jsx +0 -7
  187. package/dist/components/Spacing/Padding/PaddingTop.jsx +0 -87
  188. package/dist/components/Typography/Headings/Headings.jsx +0 -6
  189. package/dist/components/Typography/Headings/Headings.stories.jsx +0 -19
  190. package/dist/components/Typography/Typography.jsx +0 -8
  191. package/dist/components/Typography/Typography.stories.jsx +0 -51
  192. /package/dist/components/MediaCard/{ContactProfile.d.ts → ContactProfile/ContactProfile.d.ts} +0 -0
  193. /package/dist/components/MediaCard/{PostByCategory.d.ts → PostByCategory/PostByCategory.d.ts} +0 -0
@@ -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,59 @@ 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) {
23
+ return shades.map(function (shade) { return "lu-bg-".concat(color, "-").concat(shade); });
24
+ }), true), fontSizes.map(function (fontSize) { return ({ pattern: new RegExp(fontSize.key) }); }), true), fontWeights.map(function (fontWeight) { return ({
25
+ pattern: new RegExp(fontWeight.key),
26
+ }); }), true), lineHeights.map(function (lineHeight) { return ({
27
+ pattern: new RegExp(lineHeight.key),
28
+ }); }), true), textAlignment.map(function (textAlign) { return ({
29
+ pattern: new RegExp(textAlign.key),
30
+ }); }), true), textTransform.map(function (textTrans) { return ({
31
+ pattern: new RegExp(textTrans.key),
32
+ }); }), 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 ({
33
+ pattern: new RegExp(borderRadius.key),
34
+ }); }), true), borderWidthList.map(function (borderWidth) { return ({
35
+ pattern: new RegExp(borderWidth.key),
36
+ }); }), true), iconSizeList.map(function (iconSize) { return ({ pattern: new RegExp(iconSize.key) }); }), true), iconColorList.map(function (iconColor) { return ({
37
+ pattern: new RegExp(iconColor.key),
38
+ }); }), true), buttonColorsList.map(function (btnColor) { return ({
39
+ pattern: new RegExp(btnColor.key),
40
+ }); }), true), butttonSizeList.map(function (btnSize) { return ({ pattern: new RegExp(btnSize.key) }); }), true), buttonIconSizeList.map(function (btnIconSize) { return ({
41
+ pattern: new RegExp(btnIconSize.key),
42
+ }); }), true), buttonWithIconList.map(function (iconButton) { return ({
43
+ pattern: new RegExp(iconButton.key),
44
+ }); }), true), portraitaspectRatioList.map(function (aspectRatio) { return ({
45
+ pattern: new RegExp(aspectRatio.key),
46
+ }); }), true), landscapeaspectRatioList.map(function (aspectRatio) { return ({
47
+ pattern: new RegExp(aspectRatio.key),
48
+ }); }), true), avatarSizesList.map(function (avatarSize) { return ({
49
+ pattern: new RegExp(avatarSize.key),
50
+ }); }), true), avatarShapeList.map(function (avatarShape) { return ({
51
+ pattern: new RegExp(avatarShape.key),
52
+ }); }), true), textColorList.map(function (textColor) { return ({
53
+ pattern: new RegExp(textColor.key),
54
+ }); }), true), headingsList.map(function (heading) { return ({ pattern: new RegExp(heading.key) }); }), true), Object.keys(Display_Classes).map(function (display) { return ({
55
+ pattern: new RegExp(display),
56
+ }); }), true),
21
57
  theme: {
22
58
  extend: {
23
59
  backgroundImage: {
24
- 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))',
25
- 'gradient-conic': 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))',
60
+ "gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
61
+ "gradient-conic": "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
26
62
  },
27
- colors: customColors,
28
63
  fontSize: customFontSize,
29
64
  fontWeight: customFontWeight,
30
65
  lineHeight: customLineHeight,
@@ -46,26 +81,26 @@ var config = {
46
81
  plugin(function (_a) {
47
82
  var addUtilities = _a.addUtilities, theme = _a.theme;
48
83
  //Font Size plugin
49
- var fontSizeUtilities = generateUtilities('fontSize', theme);
50
- addUtilities(fontSizeUtilities, ['responsive']);
84
+ var fontSizeUtilities = generateUtilities("fontSize", theme);
85
+ addUtilities(fontSizeUtilities, ["responsive"]);
51
86
  //Font Weight plugin
52
- var fontWeightUtilities = generateUtilities('fontWeight', theme);
53
- addUtilities(fontWeightUtilities, ['responsive']);
87
+ var fontWeightUtilities = generateUtilities("fontWeight", theme);
88
+ addUtilities(fontWeightUtilities, ["responsive"]);
54
89
  //Line Height plugin
55
- var lineHeightUtilities = generateUtilities('lineHeight', theme);
56
- addUtilities(lineHeightUtilities, ['responsive']);
90
+ var lineHeightUtilities = generateUtilities("lineHeight", theme);
91
+ addUtilities(lineHeightUtilities, ["responsive"]);
57
92
  //Text Alignment plugin
58
- var textAlignmentUtilities = generateUtilities('textAlign', theme);
59
- addUtilities(textAlignmentUtilities, ['responsive']);
93
+ var textAlignmentUtilities = generateUtilities("textAlign", theme);
94
+ addUtilities(textAlignmentUtilities, ["responsive"]);
60
95
  //Text Transform plugin
61
- var textTransformUtilities = generateUtilities('textTransform', theme);
62
- addUtilities(textTransformUtilities, ['responsive']);
96
+ var textTransformUtilities = generateUtilities("textTransform", theme);
97
+ addUtilities(textTransformUtilities, ["responsive"]);
63
98
  //Text Decoration plugin
64
- var textDecorationUtilities = generateUtilities('textDecoration', theme);
65
- addUtilities(textDecorationUtilities, ['responsive']);
99
+ var textDecorationUtilities = generateUtilities("textDecoration", theme);
100
+ addUtilities(textDecorationUtilities, ["responsive"]);
66
101
  //Text Wrap plugin
67
- var textWrapUtilities = generateUtilities('textWrap', theme);
68
- addUtilities(textWrapUtilities, ['responsive']);
102
+ var textWrapUtilities = generateUtilities("textWrap", theme);
103
+ addUtilities(textWrapUtilities, ["responsive"]);
69
104
  //Size plugin
70
105
  var sizeUtilities = Object.entries(customSize).reduce(function (acc, _a) {
71
106
  var key = _a[0], value = _a[1];
@@ -75,7 +110,7 @@ var config = {
75
110
  };
76
111
  return acc;
77
112
  }, {});
78
- addUtilities(sizeUtilities, ['responsive']);
113
+ addUtilities(sizeUtilities, ["responsive"]);
79
114
  //width plugin
80
115
  var widthUtilities = Object.entries(customWidth).reduce(function (acc, _a) {
81
116
  var key = _a[0], value = _a[1];
@@ -84,7 +119,7 @@ var config = {
84
119
  };
85
120
  return acc;
86
121
  }, {});
87
- addUtilities(widthUtilities, ['responsive']);
122
+ addUtilities(widthUtilities, ["responsive"]);
88
123
  //height plugin
89
124
  var heightUtilities = Object.entries(customHeight).reduce(function (acc, _a) {
90
125
  var key = _a[0], value = _a[1];
@@ -93,7 +128,7 @@ var config = {
93
128
  };
94
129
  return acc;
95
130
  }, {});
96
- addUtilities(heightUtilities, ['responsive']);
131
+ addUtilities(heightUtilities, ["responsive"]);
97
132
  //Min width Plugin
98
133
  var minWidthUtilities = Object.entries(customMinWidth).reduce(function (acc, _a) {
99
134
  var key = _a[0], value = _a[1];
@@ -102,7 +137,7 @@ var config = {
102
137
  };
103
138
  return acc;
104
139
  }, {});
105
- addUtilities(minWidthUtilities, ['responsive']);
140
+ addUtilities(minWidthUtilities, ["responsive"]);
106
141
  //Min height Plugin
107
142
  var minHeightUtilities = Object.entries(customMinHeight).reduce(function (acc, _a) {
108
143
  var key = _a[0], value = _a[1];
@@ -111,38 +146,42 @@ var config = {
111
146
  };
112
147
  return acc;
113
148
  }, {});
114
- addUtilities(minHeightUtilities, ['responsive']);
149
+ addUtilities(minHeightUtilities, ["responsive"]);
115
150
  // Add plugin border radius
116
- addUtilities(customBorderRadius, ['responsive']);
151
+ addUtilities(customBorderRadius, ["responsive"]);
117
152
  // Add plugin border width
118
- addUtilities(customBorderWidth, ['responsive']);
153
+ addUtilities(customBorderWidth, ["responsive"]);
119
154
  //plugin for icon size
120
- addUtilities(customIconSize, ['responsive', 'hover']);
155
+ addUtilities(customIconSize, ["responsive", "hover"]);
121
156
  //plugin for icon colors
122
- addUtilities(customIconColors, ['responsive']);
157
+ addUtilities(customIconColors, ["responsive"]);
123
158
  //plugin for custom button colors
124
- addUtilities(customButtonColors, ['responsive']);
159
+ addUtilities(customButtonColors, ["responsive"]);
125
160
  //plugin for custom button size
126
- addUtilities(customButtonSize, ['responsive']);
161
+ addUtilities(customButtonSize, ["responsive"]);
127
162
  //plugin for custom button icon size
128
- addUtilities(customButtonIconSize, ['responsive']);
163
+ addUtilities(customButtonIconSize, ["responsive"]);
129
164
  //plugin for custom button with icon
130
- addUtilities(customIconButtonSize, ['responsive']);
165
+ addUtilities(customIconButtonSize, ["responsive"]);
131
166
  //plugin for outline button color
132
- addUtilities(customButtonOutlineColors, ['responsive']);
167
+ addUtilities(customButtonOutlineColors, ["responsive"]);
133
168
  //plugin for aspect ratio
134
- addUtilities(customAspectRatio, ['responsive']);
169
+ addUtilities(customAspectRatio, ["responsive"]);
135
170
  //Plugin for avatar size
136
- addUtilities(customAvatarSize, ['responsive']);
171
+ addUtilities(customAvatarSize, ["responsive"]);
137
172
  //plugin for avatar shape
138
- addUtilities(customizeAvtarShape, ['responsive']);
173
+ addUtilities(customizeAvtarShape, ["responsive"]);
139
174
  //plugin for box shadow
140
- var boxShadowUtilities = generateUtilities('boxShadow', theme);
141
- addUtilities(boxShadowUtilities, ['responsive']);
175
+ var boxShadowUtilities = generateUtilities("boxShadow", theme);
176
+ addUtilities(boxShadowUtilities, ["responsive"]);
142
177
  //plugin for custom text colors
143
- addUtilities(customizeTextColors, ['responsive']);
178
+ addUtilities(customizeTextColors, ["responsive"]);
144
179
  //plugin for custom headings
145
- addUtilities(customHeadings, ['responsive']);
180
+ addUtilities(customHeadings, ["responsive"]);
181
+ //plugin for custom Display
182
+ addUtilities(customDisplay, ["responsive"]);
183
+ //plugin for custom background colors
184
+ addUtilities(customBackgroundColor, ["responsive"]);
146
185
  }),
147
186
  ],
148
187
  };
@@ -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,2 @@
1
+ export declare const Dummy_Para = "The quick brown fox jumps over the dog.";
2
+ export declare const Dummy_Title = "Hello World!";
@@ -0,0 +1,2 @@
1
+ export var Dummy_Para = "The quick brown fox jumps over the dog.";
2
+ export var Dummy_Title = "Hello World!";
@@ -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 = {}));