@manamerge/mana-atomic-ui 1.0.45 → 1.0.46

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 (74) hide show
  1. package/dist/index.d.ts +3 -4
  2. package/dist/index.js +2 -4
  3. package/dist/index.js.map +1 -1
  4. package/dist/themes/{DavidWebTheme.js → themes/DavidWebTheme.ts} +27 -1
  5. package/dist/themes/{ManamergeTheme.js → themes/ManamergeTheme.ts} +36 -5
  6. package/dist/themes/themes/davidWeb/fonts/index.js +15 -44
  7. package/dist/themes/themes/davidWeb/images/icons/modal/closeicon.svg.js +42 -37
  8. package/dist/themes/themes/davidWeb/images/icons/navigation/notification.svg.js +49 -48
  9. package/dist/themes/themes/davidWeb/images/icons/navigation/profile.svg.js +31 -27
  10. package/dist/themes/themes/davidWeb/images/icons/navigation/user.svg.js +33 -29
  11. package/dist/themes/themes/davidWeb/styling/chat-theme.css.js +14 -80
  12. package/dist/themes/themes/davidWeb/styling/filter-list-theme.css.js +12 -47
  13. package/dist/themes/themes/davidWeb/styling/notification-theme.css.js +22 -166
  14. package/dist/themes/themes/manamerge/fonts/index.js +17 -55
  15. package/dist/themes/themes/manamerge/images/icons/modal/closeicon.svg.js +42 -37
  16. package/dist/themes/themes/manamerge/images/icons/navigation/notification.svg.js +49 -48
  17. package/dist/themes/themes/manamerge/images/icons/navigation/profile.svg.js +31 -27
  18. package/dist/themes/themes/manamerge/images/icons/navigation/user.svg.js +33 -29
  19. package/dist/themes/themes/manamerge/miscellaneous/colorpalette.ts +6 -6
  20. package/dist/themes/themes/manamerge/miscellaneous/fontsizes.ts +3 -2
  21. package/dist/themes/themes/manamerge/styling/chat-theme.css.js +14 -80
  22. package/dist/themes/themes/manamerge/styling/filter-list-theme.css.js +12 -47
  23. package/dist/themes/themes/manamerge/styling/notification-theme.css.js +22 -166
  24. package/dist/types/components/Atoms/Heading/Heading.d.ts +1 -1
  25. package/dist/types/components/Atoms/Text/Text.d.ts +2 -3
  26. package/dist/types/themes/ManamergeTheme.d.ts +155 -155
  27. package/dist/types/themes/manamerge/atoms/button.d.ts +18 -18
  28. package/dist/types/themes/manamerge/atoms/divider.d.ts +3 -3
  29. package/dist/types/themes/manamerge/atoms/gradient.d.ts +6 -6
  30. package/dist/types/themes/manamerge/atoms/heading.d.ts +36 -36
  31. package/dist/types/themes/manamerge/atoms/link.d.ts +30 -30
  32. package/dist/types/themes/manamerge/atoms/text.d.ts +14 -14
  33. package/dist/types/themes/manamerge/miscellaneous/colorpalette.d.ts +24 -29
  34. package/dist/types/themes/manamerge/miscellaneous/fontsizes.d.ts +8 -9
  35. package/dist/types/themes/manamerge/molecules/cardBanner.d.ts +2 -2
  36. package/package.json +2 -3
  37. package/dist/themes/davidWeb/atoms/button.js +0 -107
  38. package/dist/themes/davidWeb/atoms/checkbox.js +0 -72
  39. package/dist/themes/davidWeb/atoms/divider.js +0 -24
  40. package/dist/themes/davidWeb/atoms/gradient.js +0 -18
  41. package/dist/themes/davidWeb/atoms/heading.js +0 -141
  42. package/dist/themes/davidWeb/atoms/icon.js +0 -30
  43. package/dist/themes/davidWeb/atoms/link.js +0 -78
  44. package/dist/themes/davidWeb/atoms/text.js +0 -38
  45. package/dist/themes/davidWeb/layouts/pint3.js +0 -13
  46. package/dist/themes/davidWeb/miscellaneous/breakpoints.js +0 -14
  47. package/dist/themes/davidWeb/molecules/accordion.js +0 -29
  48. package/dist/themes/davidWeb/molecules/breakerTape.js +0 -30
  49. package/dist/themes/davidWeb/molecules/cardBanner.js +0 -26
  50. package/dist/themes/davidWeb/molecules/cardSimpleRender.js +0 -34
  51. package/dist/themes/davidWeb/molecules/cardTeaser.js +0 -69
  52. package/dist/themes/davidWeb/molecules/footer.js +0 -26
  53. package/dist/themes/davidWeb/molecules/header.js +0 -94
  54. package/dist/themes/davidWeb/molecules/navigation.js +0 -53
  55. package/dist/themes/manamerge/atoms/button.js +0 -108
  56. package/dist/themes/manamerge/atoms/checkbox.js +0 -72
  57. package/dist/themes/manamerge/atoms/divider.js +0 -25
  58. package/dist/themes/manamerge/atoms/gradient.js +0 -19
  59. package/dist/themes/manamerge/atoms/heading.js +0 -280
  60. package/dist/themes/manamerge/atoms/icon.js +0 -30
  61. package/dist/themes/manamerge/atoms/link.js +0 -124
  62. package/dist/themes/manamerge/atoms/text.js +0 -62
  63. package/dist/themes/manamerge/layouts/pint3.js +0 -13
  64. package/dist/themes/manamerge/miscellaneous/breakpoints.js +0 -14
  65. package/dist/themes/manamerge/miscellaneous/colorpalette.js +0 -31
  66. package/dist/themes/manamerge/miscellaneous/fontsizes.js +0 -11
  67. package/dist/themes/manamerge/molecules/accordion.js +0 -29
  68. package/dist/themes/manamerge/molecules/breakerTape.js +0 -30
  69. package/dist/themes/manamerge/molecules/cardBanner.js +0 -26
  70. package/dist/themes/manamerge/molecules/cardSimpleRender.js +0 -35
  71. package/dist/themes/manamerge/molecules/cardTeaser.js +0 -69
  72. package/dist/themes/manamerge/molecules/footer.js +0 -26
  73. package/dist/themes/manamerge/molecules/header.js +0 -86
  74. package/dist/themes/manamerge/molecules/navigation.js +0 -53
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import React, { ReactNode, FunctionComponent, SVGProps, AnchorHTMLAttributes, ElementType } from 'react';
2
- import { PaletteColor } from 'themes/manamerge/miscellaneous/colorpalette';
3
2
 
4
3
  interface ButtonTypes {
5
4
  disabled?: boolean;
@@ -23,8 +22,8 @@ interface TextTypes {
23
22
  lineHeight?: string;
24
23
  fontWeight?: string | number;
25
24
  tag?: keyof JSX.IntrinsicElements;
26
- vColor?: PaletteColor;
27
- vFontSize?: "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl" | "xxxxl";
25
+ vColor?: string;
26
+ vFontSize?: "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxxl";
28
27
  onClick?: React.MouseEventHandler<HTMLElement>;
29
28
  }
30
29
  declare const Text: React.FC<TextTypes>;
@@ -32,7 +31,7 @@ declare const Text: React.FC<TextTypes>;
32
31
  interface HeadingTypes {
33
32
  variant?: string;
34
33
  children: ReactNode;
35
- as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
34
+ as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
36
35
  }
37
36
  declare const Heading: React.FC<HeadingTypes>;
38
37
 
package/dist/index.js CHANGED
@@ -143,11 +143,9 @@ const TextContainer = styled.p `
143
143
  var _b, _c;
144
144
  var { variant = "regular", theme } = _a, props = __rest(_a, ["variant", "theme"]);
145
145
  const textStyles = ((_b = theme === null || theme === void 0 ? void 0 : theme.text) === null || _b === void 0 ? void 0 : _b[variant]) || {};
146
- console.log("----", theme);
147
146
  return css `
148
147
  margin: ${(props === null || props === void 0 ? void 0 : props.margin) || (textStyles === null || textStyles === void 0 ? void 0 : textStyles.margin)};
149
- font-size: ${((_c = theme === null || theme === void 0 ? void 0 : theme.fontsizes) === null || _c === void 0 ? void 0 : _c[props === null || props === void 0 ? void 0 : props.vFontSize]) ||
150
- (textStyles === null || textStyles === void 0 ? void 0 : textStyles.vFontSize)};
148
+ font-size: ${((_c = theme.fontsizes) === null || _c === void 0 ? void 0 : _c[props === null || props === void 0 ? void 0 : props.vFontSize]) || (textStyles === null || textStyles === void 0 ? void 0 : textStyles.vFontSize)};
151
149
  line-height: ${(props === null || props === void 0 ? void 0 : props.lineHeight) || (textStyles === null || textStyles === void 0 ? void 0 : textStyles.lineHeight)};
152
150
  font-weight: ${(props === null || props === void 0 ? void 0 : props.fontWeight) ||
153
151
  (textStyles === null || textStyles === void 0 ? void 0 : textStyles.fontWeight) ||
@@ -187,7 +185,7 @@ const Text = (_a) => {
187
185
  };
188
186
 
189
187
  const HeadingContainer = styled.h1 `
190
- ${({ variant, theme }) => {
188
+ ${({ variant = "h1", theme }) => {
191
189
  const { media, heading } = theme;
192
190
  const { tinyMobileUp, largeMobileUp, superLargeDesktopUp } = media;
193
191
  const headingStyles = (heading === null || heading === void 0 ? void 0 : heading[variant]) || {};