@trafilea/afrodita-components 4.4.0-beta.2 → 4.4.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.d.ts CHANGED
@@ -1646,6 +1646,15 @@ declare type SpacingProps = {
1646
1646
  };
1647
1647
  declare const Spacing: FC<SpacingProps>;
1648
1648
 
1649
+ declare global {
1650
+ interface Events {
1651
+ modal: {
1652
+ id: string;
1653
+ type: 'open' | 'close';
1654
+ };
1655
+ }
1656
+ }
1657
+
1649
1658
  declare const useOnClickOutside: <T extends HTMLElement = HTMLElement>(ref: RefObject<T>, handler: (event: Event) => void) => void;
1650
1659
 
1651
1660
  declare const useWindowDimensions: (breakpoints: ThemeBreakpoints) => {
@@ -12516,7 +12516,7 @@ var ImageContainer = newStyled.div(function (_a) {
12516
12516
  });
12517
12517
  });
12518
12518
  var Container$d = newStyled.a(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n text-decoration: none;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n text-decoration: none;\n"])));
12519
- var H1 = newStyled.h1(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n font-size: 0.875rem;\n font-weight: normal;\n line-height: 1.375rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n"], ["\n font-size: 0.875rem;\n font-weight: normal;\n line-height: 1.375rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n"])), function (props) { return props.theme.colors.pallete.secondary.color; }, function (props) { return props.align; });
12519
+ var H1 = newStyled.h1(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n font-size: 0.875rem;\n font-weight: normal;\n line-height: 1.375rem;\n min-height: 2.75rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n"], ["\n font-size: 0.875rem;\n font-weight: normal;\n line-height: 1.375rem;\n min-height: 2.75rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n"])), function (props) { return props.theme.colors.pallete.secondary.color; }, function (props) { return props.align; });
12520
12520
  var getStylesBySize = function (size) {
12521
12521
  switch (size) {
12522
12522
  case ComponentSize.Medium:
package/build/index.js CHANGED
@@ -12542,7 +12542,7 @@ var ImageContainer = newStyled.div(function (_a) {
12542
12542
  });
12543
12543
  });
12544
12544
  var Container$d = newStyled.a(templateObject_1$j || (templateObject_1$j = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n text-decoration: none;\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n width: min-content;\n text-decoration: none;\n"])));
12545
- var H1 = newStyled.h1(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n font-size: 0.875rem;\n font-weight: normal;\n line-height: 1.375rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n"], ["\n font-size: 0.875rem;\n font-weight: normal;\n line-height: 1.375rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n"])), function (props) { return props.theme.colors.pallete.secondary.color; }, function (props) { return props.align; });
12545
+ var H1 = newStyled.h1(templateObject_2$9 || (templateObject_2$9 = __makeTemplateObject(["\n font-size: 0.875rem;\n font-weight: normal;\n line-height: 1.375rem;\n min-height: 2.75rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n"], ["\n font-size: 0.875rem;\n font-weight: normal;\n line-height: 1.375rem;\n min-height: 2.75rem;\n text-align: center;\n color: ", ";\n margin: 0.25rem 0;\n text-align: ", ";\n"])), function (props) { return props.theme.colors.pallete.secondary.color; }, function (props) { return props.align; });
12546
12546
  var getStylesBySize = function (size) {
12547
12547
  switch (size) {
12548
12548
  case exports.ComponentSize.Medium:
@@ -349,19 +349,19 @@ var truekind = {
349
349
  size: {
350
350
  xsmall: {
351
351
  fontSize: '0.625rem',
352
- lineHeight: '0.875rem',
352
+ lineHeight: '0.625rem',
353
353
  },
354
354
  small: {
355
355
  fontSize: '0.875rem',
356
- lineHeight: '1.375rem',
356
+ lineHeight: '0.875rem',
357
357
  },
358
358
  medium: {
359
359
  fontSize: '1rem',
360
- lineHeight: '1.5rem',
360
+ lineHeight: '1rem',
361
361
  },
362
362
  large: {
363
363
  fontSize: '1.125rem',
364
- lineHeight: '1.75rem',
364
+ lineHeight: '1.125rem',
365
365
  },
366
366
  },
367
367
  },
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Trafilea's Design System",
4
4
  "author": "Trafilea",
5
5
  "repository": "https://github.com/trafilea/afrodita-components",
6
- "version": "4.4.0-beta.2",
6
+ "version": "4.4.0-beta.5",
7
7
  "private": false,
8
8
  "main": "build/index.js",
9
9
  "style": "build/index.css",