@atlaskit/empty-state 7.7.2 → 7.9.0

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 (34) hide show
  1. package/CHANGELOG.md +271 -104
  2. package/README.md +4 -4
  3. package/dist/cjs/styled/actions-container.js +8 -3
  4. package/dist/cjs/styled/container.js +7 -0
  5. package/dist/cjs/styled/description.js +8 -3
  6. package/dist/cjs/styled/header.js +9 -2
  7. package/dist/cjs/styled/image.js +6 -0
  8. package/dist/cjs/styled/spinner-container.js +6 -1
  9. package/dist/es2019/styled/actions-container.js +7 -3
  10. package/dist/es2019/styled/container.js +6 -0
  11. package/dist/es2019/styled/description.js +7 -3
  12. package/dist/es2019/styled/header.js +8 -2
  13. package/dist/es2019/styled/image.js +5 -0
  14. package/dist/es2019/styled/spinner-container.js +5 -1
  15. package/dist/esm/styled/actions-container.js +7 -3
  16. package/dist/esm/styled/container.js +6 -0
  17. package/dist/esm/styled/description.js +7 -3
  18. package/dist/esm/styled/header.js +8 -2
  19. package/dist/esm/styled/image.js +5 -0
  20. package/dist/esm/styled/spinner-container.js +5 -1
  21. package/dist/types/styled/actions-container.d.ts +4 -1
  22. package/dist/types/styled/container.d.ts +4 -1
  23. package/dist/types/styled/description.d.ts +4 -1
  24. package/dist/types/styled/header.d.ts +4 -1
  25. package/dist/types/styled/image.d.ts +4 -1
  26. package/dist/types/styled/spinner-container.d.ts +4 -1
  27. package/dist/types-ts4.5/styled/actions-container.d.ts +4 -1
  28. package/dist/types-ts4.5/styled/container.d.ts +4 -1
  29. package/dist/types-ts4.5/styled/description.d.ts +4 -1
  30. package/dist/types-ts4.5/styled/header.d.ts +4 -1
  31. package/dist/types-ts4.5/styled/image.d.ts +4 -1
  32. package/dist/types-ts4.5/styled/spinner-container.d.ts +4 -1
  33. package/package.json +82 -83
  34. package/report.api.md +44 -43
package/README.md CHANGED
@@ -1,8 +1,7 @@
1
1
  # Empty state
2
2
 
3
- Empty State is used for various scenarios, for example: empty search, no items,
4
- broken link, general error message, welcome screen etc. (usually it takes the
5
- whole page).
3
+ Empty State is used for various scenarios, for example: empty search, no items, broken link, general
4
+ error message, welcome screen etc. (usually it takes the whole page).
6
5
 
7
6
  ## Installation
8
7
 
@@ -12,4 +11,5 @@ yarn add @atlaskit/empty-state
12
11
 
13
12
  ## Usage
14
13
 
15
- Detailed docs and example usage can be found [here](https://atlaskit.atlassian.com/packages/core/empty-state).
14
+ Detailed docs and example usage can be found
15
+ [here](https://atlaskit.atlassian.com/packages/core/empty-state).
@@ -5,14 +5,19 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _react = require("@emotion/react");
8
+ /**
9
+ * @jsxRuntime classic
10
+ */
8
11
  /** @jsx jsx */
9
12
 
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
+
10
15
  var actionsStyles = (0, _react.css)({
11
16
  display: 'flex',
12
- marginBottom: "var(--ds-space-100, 8px)",
13
- paddingLeft: "var(--ds-space-500, 40px)",
14
17
  alignItems: 'center',
15
- justifyContent: 'center'
18
+ justifyContent: 'center',
19
+ marginBlockEnd: "var(--ds-space-100, 8px)",
20
+ paddingInlineStart: "var(--ds-space-500, 40px)"
16
21
  });
17
22
 
18
23
  /**
@@ -6,8 +6,13 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  var _constants = require("@atlaskit/theme/constants");
9
+ /**
10
+ * @jsxRuntime classic
11
+ */
9
12
  /** @jsx jsx */
10
13
 
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
+
11
16
  // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
12
17
 
13
18
  var gridSize = (0, _constants.gridSize)();
@@ -22,9 +27,11 @@ var containerStyles = (0, _react.css)({
22
27
 
23
28
  /* Use max-width so the component can shrink on smaller viewports. */
24
29
  var wideContainerStyles = (0, _react.css)({
30
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
25
31
  maxWidth: "".concat(columnWidth * 6 + gutter * 5, "px")
26
32
  });
27
33
  var narrowContainerStyles = (0, _react.css)({
34
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
28
35
  maxWidth: "".concat(columnWidth * 4 + gutter * 3, "px")
29
36
  });
30
37
  /**
@@ -6,12 +6,17 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  var _colors = require("@atlaskit/theme/colors");
9
+ /**
10
+ * @jsxRuntime classic
11
+ */
9
12
  /** @jsx jsx */
10
13
 
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
+
11
16
  var descriptionStyles = (0, _react.css)({
12
- marginTop: "var(--ds-space-0, 0px)",
13
- marginBottom: "var(--ds-space-300, 24px)",
14
- color: "var(--ds-text, ".concat(_colors.N800, ")")
17
+ color: "var(--ds-text, ".concat(_colors.N800, ")"),
18
+ marginBlockEnd: "var(--ds-space-300, 24px)",
19
+ marginBlockStart: "var(--ds-space-0, 0px)"
15
20
  });
16
21
 
17
22
  /**
@@ -6,10 +6,17 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.default = void 0;
7
7
  var _react = require("@emotion/react");
8
8
  var _typography = require("@atlaskit/theme/typography");
9
+ /**
10
+ * @jsxRuntime classic
11
+ */
9
12
  /** @jsx jsx */
10
13
 
11
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
12
- var headerStyles = (0, _react.css)([(0, _typography.h600)(), {
14
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
+
16
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-array-arguments -- Ignored via go/DSP-18766
17
+ var headerStyles = (0, _react.css)([
18
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
19
+ (0, _typography.h600)(), {
13
20
  marginTop: "var(--ds-space-0, 0px)",
14
21
  marginBottom: "var(--ds-space-200, 16px)"
15
22
  }]);
@@ -7,8 +7,13 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.default = void 0;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _react = require("@emotion/react");
10
+ /**
11
+ * @jsxRuntime classic
12
+ */
10
13
  /** @jsx jsx */
11
14
 
15
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
16
+
12
17
  var CSS_VAR_MAX_WIDTH = '--max-width';
13
18
  var CSS_VAR_MAX_HEIGHT = '--max-height';
14
19
  var imageStyles = (0, _react.css)({
@@ -36,6 +41,7 @@ var Image = function Image(_ref) {
36
41
  width = _ref$width === void 0 ? 'auto' : _ref$width,
37
42
  src = _ref.src;
38
43
  return (0, _react.jsx)("img", {
44
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
39
45
  style: (_ref2 = {}, (0, _defineProperty2.default)(_ref2, CSS_VAR_MAX_WIDTH, "".concat(maxWidth, "px")), (0, _defineProperty2.default)(_ref2, CSS_VAR_MAX_HEIGHT, "".concat(maxHeight, "px")), _ref2),
40
46
  width: width,
41
47
  height: height,
@@ -5,11 +5,16 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _react = require("@emotion/react");
8
+ /**
9
+ * @jsxRuntime classic
10
+ */
8
11
  /** @jsx jsx */
9
12
 
13
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
14
+
10
15
  var spinnerContainerStyles = (0, _react.css)({
11
16
  width: "var(--ds-space-300, 24px)",
12
- marginLeft: "var(--ds-space-200, 16px)"
17
+ marginInlineStart: "var(--ds-space-200, 16px)"
13
18
  });
14
19
 
15
20
  /**
@@ -1,12 +1,16 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
 
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
7
  import { css, jsx } from '@emotion/react';
4
8
  const actionsStyles = css({
5
9
  display: 'flex',
6
- marginBottom: "var(--ds-space-100, 8px)",
7
- paddingLeft: "var(--ds-space-500, 40px)",
8
10
  alignItems: 'center',
9
- justifyContent: 'center'
11
+ justifyContent: 'center',
12
+ marginBlockEnd: "var(--ds-space-100, 8px)",
13
+ paddingInlineStart: "var(--ds-space-500, 40px)"
10
14
  });
11
15
 
12
16
  /**
@@ -1,5 +1,9 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
 
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
7
  import { css, jsx } from '@emotion/react';
4
8
 
5
9
  // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
@@ -16,9 +20,11 @@ const containerStyles = css({
16
20
 
17
21
  /* Use max-width so the component can shrink on smaller viewports. */
18
22
  const wideContainerStyles = css({
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
19
24
  maxWidth: `${columnWidth * 6 + gutter * 5}px`
20
25
  });
21
26
  const narrowContainerStyles = css({
27
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
22
28
  maxWidth: `${columnWidth * 4 + gutter * 3}px`
23
29
  });
24
30
  /**
@@ -1,11 +1,15 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
 
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
7
  import { css, jsx } from '@emotion/react';
4
8
  import { N800 } from '@atlaskit/theme/colors';
5
9
  const descriptionStyles = css({
6
- marginTop: "var(--ds-space-0, 0px)",
7
- marginBottom: "var(--ds-space-300, 24px)",
8
- color: `var(--ds-text, ${N800})`
10
+ color: `var(--ds-text, ${N800})`,
11
+ marginBlockEnd: "var(--ds-space-300, 24px)",
12
+ marginBlockStart: "var(--ds-space-0, 0px)"
9
13
  });
10
14
 
11
15
  /**
@@ -1,9 +1,15 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
 
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
7
  import { css, jsx } from '@emotion/react';
4
8
  import { h600 } from '@atlaskit/theme/typography';
5
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
6
- const headerStyles = css([h600(), {
9
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-array-arguments -- Ignored via go/DSP-18766
10
+ const headerStyles = css([
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
12
+ h600(), {
7
13
  marginTop: "var(--ds-space-0, 0px)",
8
14
  marginBottom: "var(--ds-space-200, 16px)"
9
15
  }]);
@@ -1,5 +1,9 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
 
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
7
  import { css, jsx } from '@emotion/react';
4
8
  const CSS_VAR_MAX_WIDTH = '--max-width';
5
9
  const CSS_VAR_MAX_HEIGHT = '--max-height';
@@ -25,6 +29,7 @@ const Image = ({
25
29
  width = 'auto',
26
30
  src
27
31
  }) => jsx("img", {
32
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
28
33
  style: {
29
34
  [CSS_VAR_MAX_WIDTH]: `${maxWidth}px`,
30
35
  [CSS_VAR_MAX_HEIGHT]: `${maxHeight}px`
@@ -1,9 +1,13 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
 
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
7
  import { css, jsx } from '@emotion/react';
4
8
  const spinnerContainerStyles = css({
5
9
  width: "var(--ds-space-300, 24px)",
6
- marginLeft: "var(--ds-space-200, 16px)"
10
+ marginInlineStart: "var(--ds-space-200, 16px)"
7
11
  });
8
12
 
9
13
  /**
@@ -1,12 +1,16 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
 
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
7
  import { css, jsx } from '@emotion/react';
4
8
  var actionsStyles = css({
5
9
  display: 'flex',
6
- marginBottom: "var(--ds-space-100, 8px)",
7
- paddingLeft: "var(--ds-space-500, 40px)",
8
10
  alignItems: 'center',
9
- justifyContent: 'center'
11
+ justifyContent: 'center',
12
+ marginBlockEnd: "var(--ds-space-100, 8px)",
13
+ paddingInlineStart: "var(--ds-space-500, 40px)"
10
14
  });
11
15
 
12
16
  /**
@@ -1,5 +1,9 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
 
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
7
  import { css, jsx } from '@emotion/react';
4
8
 
5
9
  // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
@@ -16,9 +20,11 @@ var containerStyles = css({
16
20
 
17
21
  /* Use max-width so the component can shrink on smaller viewports. */
18
22
  var wideContainerStyles = css({
23
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
19
24
  maxWidth: "".concat(columnWidth * 6 + gutter * 5, "px")
20
25
  });
21
26
  var narrowContainerStyles = css({
27
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
22
28
  maxWidth: "".concat(columnWidth * 4 + gutter * 3, "px")
23
29
  });
24
30
  /**
@@ -1,11 +1,15 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
 
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
7
  import { css, jsx } from '@emotion/react';
4
8
  import { N800 } from '@atlaskit/theme/colors';
5
9
  var descriptionStyles = css({
6
- marginTop: "var(--ds-space-0, 0px)",
7
- marginBottom: "var(--ds-space-300, 24px)",
8
- color: "var(--ds-text, ".concat(N800, ")")
10
+ color: "var(--ds-text, ".concat(N800, ")"),
11
+ marginBlockEnd: "var(--ds-space-300, 24px)",
12
+ marginBlockStart: "var(--ds-space-0, 0px)"
9
13
  });
10
14
 
11
15
  /**
@@ -1,9 +1,15 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
 
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
7
  import { css, jsx } from '@emotion/react';
4
8
  import { h600 } from '@atlaskit/theme/typography';
5
- // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
6
- var headerStyles = css([h600(), {
9
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-array-arguments -- Ignored via go/DSP-18766
10
+ var headerStyles = css([
11
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
12
+ h600(), {
7
13
  marginTop: "var(--ds-space-0, 0px)",
8
14
  marginBottom: "var(--ds-space-200, 16px)"
9
15
  }]);
@@ -1,6 +1,10 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
+ /**
3
+ * @jsxRuntime classic
4
+ */
2
5
  /** @jsx jsx */
3
6
 
7
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
4
8
  import { css, jsx } from '@emotion/react';
5
9
  var CSS_VAR_MAX_WIDTH = '--max-width';
6
10
  var CSS_VAR_MAX_HEIGHT = '--max-height';
@@ -29,6 +33,7 @@ var Image = function Image(_ref) {
29
33
  width = _ref$width === void 0 ? 'auto' : _ref$width,
30
34
  src = _ref.src;
31
35
  return jsx("img", {
36
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop -- Ignored via go/DSP-18766
32
37
  style: (_ref2 = {}, _defineProperty(_ref2, CSS_VAR_MAX_WIDTH, "".concat(maxWidth, "px")), _defineProperty(_ref2, CSS_VAR_MAX_HEIGHT, "".concat(maxHeight, "px")), _ref2),
33
38
  width: width,
34
39
  height: height,
@@ -1,9 +1,13 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
5
 
6
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
3
7
  import { css, jsx } from '@emotion/react';
4
8
  var spinnerContainerStyles = css({
5
9
  width: "var(--ds-space-300, 24px)",
6
- marginLeft: "var(--ds-space-200, 16px)"
10
+ marginInlineStart: "var(--ds-space-200, 16px)"
7
11
  });
8
12
 
9
13
  /**
@@ -1,5 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
5
+ import { type FC, type ReactNode } from 'react';
3
6
  /**
4
7
  * __Actions container__
5
8
  *
@@ -1,5 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
5
+ import { type FC, type ReactNode } from 'react';
3
6
  import type { Width } from '../index';
4
7
  type ContainerProps = {
5
8
  testId?: string;
@@ -1,5 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
5
+ import { type FC, type ReactNode } from 'react';
3
6
  /**
4
7
  * __Description__
5
8
  *
@@ -1,5 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
- import { FC } from 'react';
5
+ import { type FC } from 'react';
3
6
  type HeaderProps = {
4
7
  children: string;
5
8
  level?: number;
@@ -1,5 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
- import { FC } from 'react';
5
+ import { type FC } from 'react';
3
6
  type ImageProps = {
4
7
  height?: number;
5
8
  maxHeight: number;
@@ -1,5 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
5
+ import { type FC, type ReactNode } from 'react';
3
6
  /**
4
7
  * __Spinner container__
5
8
  *
@@ -1,5 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
5
+ import { type FC, type ReactNode } from 'react';
3
6
  /**
4
7
  * __Actions container__
5
8
  *
@@ -1,5 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
5
+ import { type FC, type ReactNode } from 'react';
3
6
  import type { Width } from '../index';
4
7
  type ContainerProps = {
5
8
  testId?: string;
@@ -1,5 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
5
+ import { type FC, type ReactNode } from 'react';
3
6
  /**
4
7
  * __Description__
5
8
  *
@@ -1,5 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
- import { FC } from 'react';
5
+ import { type FC } from 'react';
3
6
  type HeaderProps = {
4
7
  children: string;
5
8
  level?: number;
@@ -1,5 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
- import { FC } from 'react';
5
+ import { type FC } from 'react';
3
6
  type ImageProps = {
4
7
  height?: number;
5
8
  maxHeight: number;
@@ -1,5 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ */
1
4
  /** @jsx jsx */
2
- import { FC, ReactNode } from 'react';
5
+ import { type FC, type ReactNode } from 'react';
3
6
  /**
4
7
  * __Spinner container__
5
8
  *