@pedidopago/ui 1.2.4 → 1.3.1

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 (81) hide show
  1. package/dist/components/Alert/index.d.ts.map +1 -1
  2. package/dist/components/Alert/index.js +2 -1
  3. package/dist/components/Alert/styles.js +1 -1
  4. package/dist/components/Alert/types.d.ts +2 -1
  5. package/dist/components/Alert/types.d.ts.map +1 -1
  6. package/dist/components/Card/card.test.tsx.d.ts +2 -0
  7. package/dist/components/Card/card.test.tsx.d.ts.map +1 -0
  8. package/dist/components/Card/card.test.tsx.js +41 -0
  9. package/dist/components/Card/index.d.ts +2 -2
  10. package/dist/components/Card/index.d.ts.map +1 -1
  11. package/dist/components/Card/index.js +25 -69
  12. package/dist/components/Card/styles.d.ts +2 -52
  13. package/dist/components/Card/styles.d.ts.map +1 -1
  14. package/dist/components/Card/styles.js +7 -80
  15. package/dist/components/Card/types.d.ts +12 -37
  16. package/dist/components/Card/types.d.ts.map +1 -1
  17. package/dist/components/DateInput/styles.d.ts +1 -1
  18. package/dist/components/Flex/styles.d.ts +1 -0
  19. package/dist/components/Flex/styles.d.ts.map +1 -1
  20. package/dist/components/Grid/styles.d.ts +1 -0
  21. package/dist/components/Grid/styles.d.ts.map +1 -1
  22. package/dist/components/Icon/data/form.d.ts +9 -0
  23. package/dist/components/Icon/data/form.d.ts.map +1 -0
  24. package/dist/components/Icon/data/form.js +248 -0
  25. package/dist/components/Icon/index.js +1 -1
  26. package/dist/components/Icon/scripts/build.d.ts.map +1 -1
  27. package/dist/components/Icon/scripts/build.js +9 -3
  28. package/dist/components/Icon/types.d.ts +1 -1
  29. package/dist/components/Icon/types.d.ts.map +1 -1
  30. package/dist/components/Icon/utils/allIcons.d.ts.map +1 -1
  31. package/dist/components/Icon/utils/allIcons.js +3 -1
  32. package/dist/components/Input/index.d.ts.map +1 -1
  33. package/dist/components/Input/index.js +15 -1
  34. package/dist/components/Modal/index.d.ts +2 -2
  35. package/dist/components/Modal/index.d.ts.map +1 -1
  36. package/dist/components/Modal/index.js +43 -20
  37. package/dist/components/Modal/styles.d.ts +15 -2
  38. package/dist/components/Modal/styles.d.ts.map +1 -1
  39. package/dist/components/Modal/styles.js +25 -7
  40. package/dist/components/Modal/types.d.ts +6 -5
  41. package/dist/components/Modal/types.d.ts.map +1 -1
  42. package/dist/components/MultipleSelect/components/SelectArea/Label.js +1 -1
  43. package/dist/components/Select/index.d.ts.map +1 -1
  44. package/dist/components/Select/index.js +52 -28
  45. package/dist/components/Select/styles.d.ts +13 -0
  46. package/dist/components/Select/styles.d.ts.map +1 -1
  47. package/dist/components/Select/styles.js +22 -4
  48. package/dist/components/Select/types.d.ts +2 -0
  49. package/dist/components/Select/types.d.ts.map +1 -1
  50. package/dist/components/Spinner/styles.d.ts +1 -0
  51. package/dist/components/Spinner/styles.d.ts.map +1 -1
  52. package/dist/components/Table/styles.d.ts.map +1 -1
  53. package/dist/components/Table/styles.js +56 -8
  54. package/dist/components/Tag/styles.d.ts +3 -0
  55. package/dist/components/Tag/styles.d.ts.map +1 -1
  56. package/dist/components/Tooltip/index.d.ts.map +1 -1
  57. package/dist/components/Tooltip/index.js +10 -26
  58. package/dist/components/Tooltip/styles.d.ts.map +1 -1
  59. package/dist/components/Tooltip/styles.js +13 -20
  60. package/dist/components/Tooltip/types.d.ts +1 -1
  61. package/dist/components/Tooltip/types.d.ts.map +1 -1
  62. package/dist/components/Tooltip/util.d.ts +0 -4
  63. package/dist/components/Tooltip/util.d.ts.map +1 -1
  64. package/dist/components/Tooltip/util.js +1 -87
  65. package/dist/components/Typography/index.js +1 -1
  66. package/dist/components/Typography/styles.d.ts +1 -1
  67. package/dist/index.d.ts +8 -7
  68. package/dist/index.d.ts.map +1 -1
  69. package/dist/index.js +30 -21
  70. package/dist/shared/hooks/useDisableBodyScroll.js +2 -2
  71. package/dist/shared/hooks/useWindowSize.d.ts +5 -0
  72. package/dist/shared/hooks/useWindowSize.d.ts.map +1 -0
  73. package/dist/shared/hooks/useWindowSize.js +46 -0
  74. package/dist/shared/theme/hooks/useTheme.d.ts +1 -0
  75. package/dist/shared/theme/hooks/useTheme.d.ts.map +1 -1
  76. package/dist/shared/theme/theme.d.ts +1 -0
  77. package/dist/shared/theme/theme.d.ts.map +1 -1
  78. package/dist/shared/theme/theme.js +1 -0
  79. package/dist/utils/getColorValue.d.ts +1 -9
  80. package/dist/utils/getColorValue.d.ts.map +1 -1
  81. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAgB3B,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,QAAA,MAAM,KAAK,EAAE,EAAE,CAAC,WAAW,CAkD1B,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAgB3B,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAEtC,QAAA,MAAM,KAAK,EAAE,EAAE,CAAC,WAAW,CAuD1B,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -34,6 +34,7 @@ var Alert = function Alert(_ref) {
34
34
  children: isLoading ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.StyledAlertSkeleton, {
35
35
  fullWidth: fullWidth
36
36
  }) : /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.StyledAlertWrapper, {
37
+ haveContent: !!message || !!children,
37
38
  variant: variant,
38
39
  type: type,
39
40
  fullWidth: fullWidth,
@@ -51,7 +52,7 @@ var Alert = function Alert(_ref) {
51
52
  fontSize: "xs",
52
53
  fontWeight: "bold",
53
54
  children: title
54
- }), children || /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
55
+ }), (children || message) && /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {
55
56
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Typography.default, {
56
57
  fontSize: "xs",
57
58
  fontWeight: "400",
@@ -25,7 +25,7 @@ var StyledAlertWrapper = _styled.default.div(function (props) {
25
25
  var buttonPrimaryColor = props.type !== 'default' && props.type ? props.theme.colors[props.type].default : props.theme.colors.neutral.neutral3;
26
26
  var buttonSecondaryColor = props.type !== 'default' && props.type ? props.theme.colorMode === 'dark' ? props.theme.colors[props.type].dark : props.theme.colors[props.type].blurred : props.theme.colors.neutral.neutral1;
27
27
  var secondaryColor = props.type !== 'default' && props.type ? props.theme.colorMode === 'dark' ? props.theme.colors[props.type].dark : props.theme.colors[props.type].blurred : props.theme.colorMode === 'dark' ? props.theme.colors.neutral.neutral6 : props.theme.colors.neutral.neutral1;
28
- return (0, _react.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n align-items: flex-start;\n padding: 1rem;\n gap: 1rem;\n border-radius: 8px;\n max-width: ", ";\n background-color: ", ";\n border: ", ";\n color: ", ";\n\n & button {\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: inherit;\n font-weight: 600;\n cursor: pointer;\n border-radius: 8px;\n padding: 8px 24px;\n background-color: ", ";\n border: ", ";\n color: ", ";\n }\n "])), props.fullWidth ? '100%' : '459px', props.variant === 'outlined' ? 'transparent' : secondaryColor, props.variant === 'outlined' ? "2px solid ".concat(secondaryColor, ";") : '', props.variant === 'outlined' ? props.theme.colors.neutral.neutral4 : '', props.variant === 'outlined' ? buttonSecondaryColor : 'transparent', props.variant !== 'outlined' ? "2px solid ".concat(buttonPrimaryColor) : '0', props.variant === 'outlined' ? buttonPrimaryColor : props.theme.colorMode === 'dark' ? props.theme.colors.neutral.white : props.theme.colors.neutral.black);
28
+ return (0, _react.css)(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n align-items: ", ";\n padding: 1rem;\n gap: 1rem;\n border-radius: 8px;\n max-width: ", ";\n background-color: ", ";\n border: ", ";\n color: ", ";\n\n & button {\n display: flex;\n align-items: center;\n justify-content: center;\n font-family: inherit;\n font-weight: 600;\n cursor: pointer;\n border-radius: 8px;\n padding: 8px 24px;\n background-color: ", ";\n border: ", ";\n color: ", ";\n }\n "])), props.haveContent ? 'flex-start' : 'center', props.fullWidth ? '100%' : '459px', props.variant === 'outlined' ? 'transparent' : secondaryColor, props.variant === 'outlined' ? "2px solid ".concat(secondaryColor, ";") : '', props.variant === 'outlined' ? props.theme.colors.neutral.neutral4 : '', props.variant === 'outlined' ? buttonSecondaryColor : 'transparent', props.variant !== 'outlined' ? "2px solid ".concat(buttonPrimaryColor) : '0', props.variant === 'outlined' ? buttonPrimaryColor : props.theme.colorMode === 'dark' ? props.theme.colors.neutral.white : props.theme.colors.neutral.black);
29
29
  });
30
30
 
31
31
  exports.StyledAlertWrapper = StyledAlertWrapper;
@@ -20,7 +20,7 @@ export declare type IAlertProps = {
20
20
  /**
21
21
  * The message of the alert
22
22
  */
23
- message: string;
23
+ message?: string;
24
24
  /**
25
25
  * The children of the alert
26
26
  * @default undefined
@@ -57,5 +57,6 @@ export declare type IStyledAlert = {
57
57
  variant?: 'outlined' | 'filled' | 'closable';
58
58
  type?: 'default' | 'success' | 'warning' | 'error' | 'critical' | 'informative';
59
59
  theme?: ExtendThemeProps;
60
+ haveContent?: boolean;
60
61
  };
61
62
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,oBAAY,WAAW,GAAG;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,UAAU,CAAC;IAC7C;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,aAAa,CAAC;IAChF;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,UAAU,CAAC;IAC7C,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,aAAa,CAAC;IAChF,KAAK,CAAC,EAAE,gBAAgB,CAAC;CAC1B,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Alert/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,oBAAY,WAAW,GAAG;IACxB;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,UAAU,CAAC;IAC7C;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,aAAa,CAAC;IAChF;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,oBAAY,YAAY,GAAG;IACzB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,UAAU,GAAG,QAAQ,GAAG,UAAU,CAAC;IAC7C,IAAI,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,aAAa,CAAC;IAChF,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import '@testing-library/jest-dom';
2
+ //# sourceMappingURL=card.test.tsx.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.test.tsx.d.ts","sourceRoot":"","sources":["../../../src/components/Card/card.test.tsx.tsx"],"names":[],"mappings":"AAEA,OAAO,2BAA2B,CAAC"}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ var _testUtils = require("../../shared/tests/test-utils");
4
+
5
+ require("@testing-library/jest-dom");
6
+
7
+ var _ = require(".");
8
+
9
+ var _jsxRuntime = require("react/jsx-runtime");
10
+
11
+ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
12
+
13
+ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
14
+
15
+ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
16
+
17
+ var setup = function setup(props) {
18
+ var utils = (0, _testUtils.render)( /*#__PURE__*/(0, _jsxRuntime.jsx)(_.Card, _objectSpread({}, props)));
19
+ return utils;
20
+ };
21
+
22
+ describe('Card', function () {
23
+ it('Should render a empty card', function () {
24
+ var _setup = setup({}),
25
+ container = _setup.container;
26
+
27
+ expect(container).toBeInTheDocument();
28
+ }); // it('Should render a card with outlined', () => {
29
+ // const { container } = setup({ outlined: true });
30
+ // expect(container).toBeInTheDocument();
31
+ // });
32
+
33
+ it('Should render a card with padding', function () {
34
+ var _setup2 = setup({
35
+ cardPadding: '32px'
36
+ }),
37
+ container = _setup2.container;
38
+
39
+ expect(container).toBeInTheDocument();
40
+ });
41
+ });
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { cardI } from './types';
3
- export declare function Card({ title, subtitle, media, supporingText, tooltip, icon, outlined, expand, expandedHeight, titleColor, hover, active, padding, children, btPrimary, btSecondary, btColumn, }: cardI): JSX.Element;
2
+ import { ICard } from './types';
3
+ export declare function Card({ cardPadding, borderRadius, variant, boxShadow, bgColor, children, }: ICard): JSX.Element;
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.tsx"],"names":[],"mappings":";AAaA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,wBAAgB,IAAI,CAAC,EACnB,KAAK,EACL,QAAQ,EACR,KAAK,EACL,aAAa,EACb,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,cAAc,EACd,UAAU,EACV,KAAK,EACL,MAAM,EACN,OAAO,EACP,QAAQ,EACR,SAAS,EACT,WAAW,EACX,QAAQ,GACT,EAAE,KAAK,eAkCP"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Card/index.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,wBAAgB,IAAI,CAAC,EACnB,WAAoB,EACpB,YAAuB,EACvB,OAAiB,EACjB,SAA2B,EAC3B,OAAO,EACP,QAAQ,GACT,EAAE,KAAK,eAmBP"}
@@ -5,79 +5,35 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.Card = Card;
7
7
 
8
- var _styles = require("./styles");
9
-
10
- var _Expansion = require("./Expansion");
11
-
12
- var _Icon = _interopRequireDefault(require("../Icon"));
8
+ var _theme = require("../../shared/theme");
13
9
 
14
- var _Tooltip = _interopRequireDefault(require("../Tooltip"));
15
-
16
- var _ButtonCard = require("./ButtonCard");
10
+ var _styles = require("./styles");
17
11
 
18
12
  var _jsxRuntime = require("react/jsx-runtime");
19
13
 
20
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
21
-
22
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
23
-
24
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
25
-
26
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
27
-
28
14
  function Card(_ref) {
29
- var title = _ref.title,
30
- subtitle = _ref.subtitle,
31
- media = _ref.media,
32
- supporingText = _ref.supporingText,
33
- tooltip = _ref.tooltip,
34
- icon = _ref.icon,
35
- outlined = _ref.outlined,
36
- expand = _ref.expand,
37
- expandedHeight = _ref.expandedHeight,
38
- titleColor = _ref.titleColor,
39
- hover = _ref.hover,
40
- active = _ref.active,
41
- padding = _ref.padding,
42
- children = _ref.children,
43
- btPrimary = _ref.btPrimary,
44
- btSecondary = _ref.btSecondary,
45
- btColumn = _ref.btColumn;
46
- return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.CardBody, {
47
- outlined: outlined,
48
- hover: hover,
49
- active: active,
50
- children: [media && /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
51
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Media, {
52
- src: media
53
- })
54
- }), /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.CardContent, {
55
- padding: padding,
56
- children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.HeaderCard, {
57
- children: [title && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Title, {
58
- color: titleColor,
59
- children: title
60
- }), icon && (tooltip ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Tooltip.default, _objectSpread(_objectSpread({}, tooltip), {}, {
61
- children: icon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, {
62
- name: icon
63
- })
64
- })) : icon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_Icon.default, {
65
- name: icon
66
- }))]
67
- }), subtitle && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SubtitleText, {
68
- children: subtitle
69
- }), supporingText && /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.SupporingText, {
70
- children: supporingText
71
- }), expand ? /*#__PURE__*/(0, _jsxRuntime.jsx)(_Expansion.Expansion, {
72
- expandedHeight: expandedHeight,
73
- children: children
74
- }) : /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Content, {
75
- children: children
76
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_ButtonCard.ButtonCardArea, {
77
- btPrimary: btPrimary,
78
- btSecondary: btSecondary,
79
- btColumn: btColumn
80
- })]
81
- })]
15
+ var _ref$cardPadding = _ref.cardPadding,
16
+ cardPadding = _ref$cardPadding === void 0 ? '10px' : _ref$cardPadding,
17
+ _ref$borderRadius = _ref.borderRadius,
18
+ borderRadius = _ref$borderRadius === void 0 ? '0.5rem' : _ref$borderRadius,
19
+ _ref$variant = _ref.variant,
20
+ variant = _ref$variant === void 0 ? 'solid' : _ref$variant,
21
+ _ref$boxShadow = _ref.boxShadow,
22
+ boxShadow = _ref$boxShadow === void 0 ? 'shadow.level1' : _ref$boxShadow,
23
+ bgColor = _ref.bgColor,
24
+ children = _ref.children;
25
+
26
+ var _useTheme = (0, _theme.useTheme)(),
27
+ theme = _useTheme.theme;
28
+
29
+ var splitBoxShadow = boxShadow && boxShadow.indexOf('shadow') > -1 ? boxShadow.split('.') : null;
30
+ var boxShadowValue = splitBoxShadow ? theme.shadow[splitBoxShadow[1]] : boxShadow;
31
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.CardBody, {
32
+ cardPadding: cardPadding,
33
+ borderRadius: borderRadius,
34
+ variant: variant,
35
+ boxShadow: boxShadowValue,
36
+ bgColor: bgColor,
37
+ children: children
82
38
  });
83
39
  }
@@ -1,57 +1,7 @@
1
1
  /// <reference types="react" />
2
- import { BodyCard } from './types';
2
+ import { IBodyCard } from './types';
3
3
  export declare const CardBody: import("@emotion/styled").StyledComponent<{
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
5
  as?: import("react").ElementType<any> | undefined;
6
- } & BodyCard, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
- export declare const CardContent: import("@emotion/styled").StyledComponent<{
8
- theme?: import("@emotion/react").Theme | undefined;
9
- as?: import("react").ElementType<any> | undefined;
10
- } & {
11
- padding?: string | undefined;
12
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
13
- export declare const HeaderCard: import("@emotion/styled").StyledComponent<{
14
- theme?: import("@emotion/react").Theme | undefined;
15
- as?: import("react").ElementType<any> | undefined;
16
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
17
- export declare const ChildrenBody: import("@emotion/styled").StyledComponent<{
18
- theme?: import("@emotion/react").Theme | undefined;
19
- as?: import("react").ElementType<any> | undefined;
20
- } & {
21
- expand: boolean;
22
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
23
- export declare const Title: import("@emotion/styled").StyledComponent<{
24
- theme?: import("@emotion/react").Theme | undefined;
25
- as?: import("react").ElementType<any> | undefined;
26
- } & {
27
- color?: string | undefined;
28
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
29
- export declare const Content: import("@emotion/styled").StyledComponent<{
30
- theme?: import("@emotion/react").Theme | undefined;
31
- as?: import("react").ElementType<any> | undefined;
32
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
33
- export declare const SubtitleText: import("@emotion/styled").StyledComponent<{
34
- theme?: import("@emotion/react").Theme | undefined;
35
- as?: import("react").ElementType<any> | undefined;
36
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
37
- export declare const SupporingText: import("@emotion/styled").StyledComponent<{
38
- theme?: import("@emotion/react").Theme | undefined;
39
- as?: import("react").ElementType<any> | undefined;
40
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
41
- export declare const Media: import("@emotion/styled").StyledComponent<{
42
- theme?: import("@emotion/react").Theme | undefined;
43
- as?: import("react").ElementType<any> | undefined;
44
- }, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
45
- export declare const SupText: import("@emotion/styled").StyledComponent<{
46
- theme?: import("@emotion/react").Theme | undefined;
47
- as?: import("react").ElementType<any> | undefined;
48
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
49
- export declare const IconArea: import("@emotion/styled").StyledComponent<{
50
- theme?: import("@emotion/react").Theme | undefined;
51
- as?: import("react").ElementType<any> | undefined;
52
- }, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
53
- export declare const ButtonArea: import("@emotion/styled").StyledComponent<{
54
- theme?: import("@emotion/react").Theme | undefined;
55
- as?: import("react").ElementType<any> | undefined;
56
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
6
+ } & IBodyCard, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
57
7
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Card/styles.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEnC,eAAO,MAAM,QAAQ;;;oHAiBpB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;yGAEvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;yGAStB,CAAC;AACF,eAAO,MAAM,YAAY;;;;YAAwB,OAAO;yGAEvD,CAAC;AAEF,eAAO,MAAM,KAAK;;;;;yGAKjB,CAAC;AAEF,eAAO,MAAM,OAAO;;;yGAGnB,CAAC;AAEF,eAAO,MAAM,YAAY;;;qHAGxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;qHAIzB,CAAC;AAEF,eAAO,MAAM,KAAK;;;gHAIjB,CAAC;AAEF,eAAO,MAAM,OAAO;;;yGAEnB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;gHAKpB,CAAC;AAEF,eAAO,MAAM,UAAU;;;yGAItB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Card/styles.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,eAAO,MAAM,QAAQ;;;qHAYnB,CAAC"}
@@ -3,93 +3,20 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.Title = exports.SupporingText = exports.SupText = exports.SubtitleText = exports.Media = exports.IconArea = exports.HeaderCard = exports.Content = exports.ChildrenBody = exports.CardContent = exports.CardBody = exports.ButtonArea = void 0;
6
+ exports.CardBody = void 0;
7
+
8
+ var _react = require("@emotion/react");
7
9
 
8
10
  var _styled = _interopRequireDefault(require("@emotion/styled"));
9
11
 
10
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12;
12
+ var _templateObject;
11
13
 
12
14
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
15
 
14
16
  function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
15
17
 
16
- var CardBody = _styled.default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n background-color: ", ";\n border-radius: 8px;\n box-shadow: ", ";\n width: 100%;\n :hover {\n ", "\n }\n :active {\n ", "\n }\n"])), function (props) {
17
- return props.theme.colorMode === 'dark' ? props.theme.colors.neutral.neutral6 : props.theme.colors.neutral.white;
18
- }, function (_ref) {
19
- var theme = _ref.theme;
20
- return theme.colorMode === 'dark' ? "0px 16px 32px ".concat(theme.colors.neutral.black) : theme.shadow.level2;
21
- }, function (_ref2) {
22
- var hover = _ref2.hover;
23
- return hover;
24
- }, function (_ref3) {
25
- var active = _ref3.active;
26
- return active;
27
- });
28
-
29
- exports.CardBody = CardBody;
30
-
31
- var CardContent = _styled.default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n padding: ", ";\n"])), function (_ref4) {
32
- var padding = _ref4.padding;
33
- return padding || 0;
34
- });
35
-
36
- exports.CardContent = CardContent;
37
-
38
- var HeaderCard = _styled.default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n\n & svg {\n color: ", ";\n }\n"])), function (_ref5) {
39
- var theme = _ref5.theme;
40
- return theme.colorMode === 'dark' ? theme.colors.neutral.white : theme.colors.neutral.black;
41
- });
42
-
43
- exports.HeaderCard = HeaderCard;
44
-
45
- var ChildrenBody = _styled.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n display: ", ";\n"])), function (_ref6) {
46
- var expand = _ref6.expand;
47
- return !expand || 'none';
48
- });
49
-
50
- exports.ChildrenBody = ChildrenBody;
51
-
52
- var Title = _styled.default.div(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n color: ", ";\n font-size: 1.5rem;\n font-weight: bold;\n"])), function (_ref7) {
53
- var color = _ref7.color,
54
- theme = _ref7.theme;
55
- return color || theme.colorMode === 'dark' ? theme.colors.neutral.white : theme.colors.neutral.black;
56
- });
57
-
58
- exports.Title = Title;
59
-
60
- var Content = _styled.default.div(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n color: ", ";\n"])), function (_ref8) {
61
- var theme = _ref8.theme;
62
- return theme.colorMode === 'dark' ? theme.colors.neutral.white : theme.colors.neutral.black;
63
- });
64
-
65
- exports.Content = Content;
66
-
67
- var SubtitleText = _styled.default.p(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n color: ", ";\n"])), function (_ref9) {
68
- var theme = _ref9.theme;
69
- return theme.colorMode === 'dark' ? theme.colors.neutral.white : theme.colors.neutral.black;
18
+ var CardBody = _styled.default.div(function (props) {
19
+ return (0, _react.css)(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n padding: ", ";\n border-radius: ", ";\n box-shadow: ", ";\n width: 100%;\n background-color: ", ";\n border: ", ";\n color: ", ";\n "])), props.cardPadding, props.borderRadius, props.variant === 'outlined' ? '' : props.boxShadow, props.variant === 'outlined' ? 'transparent' : props.bgColor, props.variant === 'outlined' ? "2px solid ".concat(props.theme.colors.neutral.neutral1) : '', props.theme.colors.neutral.black);
70
20
  });
71
21
 
72
- exports.SubtitleText = SubtitleText;
73
-
74
- var SupporingText = _styled.default.p(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n font-size: 12px;\n color: ", ";\n"])), function (_ref10) {
75
- var theme = _ref10.theme;
76
- return theme.colorMode === 'dark' ? theme.colors.neutral.white : theme.colors.neutral.black;
77
- });
78
-
79
- exports.SupporingText = SupporingText;
80
-
81
- var Media = _styled.default.img(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n width: 100%;\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n"])));
82
-
83
- exports.Media = Media;
84
-
85
- var SupText = _styled.default.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n padding: 0 32px;\n"])));
86
-
87
- exports.SupText = SupText;
88
-
89
- var IconArea = _styled.default.img(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n width: 100px;\n height: 100px;\n object-fit: cover;\n border-radius: 50%;\n"])));
90
-
91
- exports.IconArea = IconArea;
92
-
93
- var ButtonArea = _styled.default.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: center;\n margin-top: 32px;\n"])));
94
-
95
- exports.ButtonArea = ButtonArea;
22
+ exports.CardBody = CardBody;
@@ -1,42 +1,17 @@
1
1
  import React from 'react';
2
- import { ThemeProps } from 'src';
3
- import { IButtonProps } from '../Button/types';
4
- import { IconName } from '../Icon/types';
5
- import { IInputProps, positionType } from '../Tooltip/types';
6
- import { CSSObject } from '@emotion/react';
7
- export declare type toolTipCard = {
8
- label: string;
9
- position: positionType;
10
- backgroundColor: string;
11
- };
12
- export interface BodyCard {
13
- outlined?: boolean;
14
- theme?: ThemeProps;
15
- hover?: CSSObject;
16
- active?: CSSObject;
2
+ export interface IBodyCard {
3
+ cardPadding?: string;
4
+ borderRadius?: string;
5
+ variant?: string;
6
+ boxShadow?: string;
7
+ bgColor?: string;
17
8
  }
18
- export interface Buttons {
19
- btPrimary?: IButtonProps;
20
- btSecondary?: IButtonProps;
21
- btColumn?: boolean;
22
- }
23
- export interface cardI {
24
- title?: string;
25
- subtitle?: string;
26
- media?: string;
27
- supporingText?: string;
28
- tooltip?: IInputProps;
29
- icon?: IconName;
30
- outlined?: boolean;
31
- expand?: boolean;
32
- expandedHeight?: string;
33
- titleColor?: string;
34
- hover?: CSSObject;
35
- active?: CSSObject;
36
- padding?: string;
9
+ export interface ICard {
10
+ cardPadding?: string;
37
11
  children?: React.ReactChild;
38
- btPrimary?: IButtonProps;
39
- btSecondary?: IButtonProps;
40
- btColumn?: boolean;
12
+ borderRadius?: string;
13
+ variant?: string;
14
+ boxShadow?: 'shadow.level1' | 'shadow.level2' | 'shadow.level3' | (string & {});
15
+ bgColor?: string;
41
16
  }
42
17
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Card/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,oBAAY,WAAW,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,YAAY,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AACF,MAAM,WAAW,QAAQ;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AACD,MAAM,WAAW,OAAO;IACtB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,KAAK;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC;IAC5B,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/Card/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,SAAS;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,KAAK;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC;IAC5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,eAAe,GAAG,eAAe,GAAG,eAAe,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IAChF,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB"}
@@ -265,7 +265,7 @@ export declare const CalendarText: import("@emotion/styled").StyledComponent<{
265
265
  } & import("../../@types").GenericStyledProps & import("react").ClassAttributes<HTMLParagraphElement> & import("react").HTMLAttributes<HTMLParagraphElement> & {
266
266
  variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | undefined;
267
267
  color?: import("../..").GlobalColorsProps | (string & {}) | undefined;
268
- fontSize?: number | "display" | "xxxs" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl" | "giant" | undefined;
268
+ fontSize?: number | "display" | "tiny" | "xxxs" | "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | "xxxl" | "giant" | undefined;
269
269
  fontWeight?: "400" | "700" | "100" | "200" | "300" | "500" | "600" | "800" | "900" | "bold" | "normal" | undefined;
270
270
  fontStyle?: "inherit" | "initial" | "normal" | "italic" | "oblique" | undefined;
271
271
  lineHeight?: string | number | undefined;
@@ -5,6 +5,7 @@ export declare const StyledFlexContainer: import("@emotion/styled").StyledCompon
5
5
  } & import("./types").IFlexProps & {
6
6
  theme?: {
7
7
  fontSizes: {
8
+ tiny: string;
8
9
  xxxs: string;
9
10
  xxs: string;
10
11
  xs: string;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yGAyZ9B,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Flex/styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yGAyZ9B,CAAC"}
@@ -5,6 +5,7 @@ export declare const GridComponent: import("@emotion/styled").StyledComponent<{
5
5
  } & import("./types").IGridProps & {
6
6
  theme?: {
7
7
  fontSizes: {
8
+ tiny: string;
8
9
  xxxs: string;
9
10
  xxs: string;
10
11
  xs: string;
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yGA4azB,CAAC"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Grid/styles.ts"],"names":[],"mappings":";AAKA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;yGA4azB,CAAC"}
@@ -0,0 +1,9 @@
1
+ export declare const formIcons: {
2
+ name: string;
3
+ width: number;
4
+ height: number;
5
+ viewBox: string;
6
+ html: string;
7
+ xmlns: string;
8
+ }[];
9
+ //# sourceMappingURL=form.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/data/form.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS;;;;;;;GAiRrB,CAAC"}