@carbon/ibm-products 2.95.0 → 2.96.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 (134) hide show
  1. package/css/index-full-carbon.css +94 -89
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +1 -1
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon-released-only.css +15 -11
  6. package/css/index-without-carbon-released-only.css.map +1 -1
  7. package/css/index-without-carbon-released-only.min.css +1 -1
  8. package/css/index-without-carbon-released-only.min.css.map +1 -1
  9. package/css/index-without-carbon.css +94 -89
  10. package/css/index-without-carbon.css.map +1 -1
  11. package/css/index-without-carbon.min.css +1 -1
  12. package/css/index-without-carbon.min.css.map +1 -1
  13. package/css/index.css +15 -11
  14. package/css/index.css.map +1 -1
  15. package/css/index.min.css +1 -1
  16. package/css/index.min.css.map +1 -1
  17. package/es/components/Card/next/Card.d.ts +6 -69
  18. package/es/components/Card/next/Card.d.ts.map +1 -1
  19. package/es/components/Card/next/Card.js +45 -24
  20. package/es/components/Card/next/Card.types.d.ts +12 -3
  21. package/es/components/Card/next/Card.types.d.ts.map +1 -1
  22. package/es/components/Card/next/CardAction.d.ts +7 -15
  23. package/es/components/Card/next/CardAction.d.ts.map +1 -1
  24. package/es/components/Card/next/CardAction.js +10 -4
  25. package/es/components/Card/next/CardActions.d.ts +1 -19
  26. package/es/components/Card/next/CardActions.d.ts.map +1 -1
  27. package/es/components/Card/next/CardActions.js +27 -22
  28. package/es/components/Card/next/CardBody.d.ts +1 -1
  29. package/es/components/Card/next/CardBody.d.ts.map +1 -1
  30. package/es/components/Card/next/CardBody.js +3 -2
  31. package/es/components/Card/next/CardFooter.d.ts +1 -1
  32. package/es/components/Card/next/CardFooter.d.ts.map +1 -1
  33. package/es/components/Card/next/CardFooter.js +3 -2
  34. package/es/components/Card/next/CardHeader.d.ts +8 -2
  35. package/es/components/Card/next/CardHeader.d.ts.map +1 -1
  36. package/es/components/Card/next/CardHeader.js +17 -24
  37. package/es/components/Card/next/CardHeaderMedia.d.ts +1 -15
  38. package/es/components/Card/next/CardHeaderMedia.d.ts.map +1 -1
  39. package/es/components/Card/next/CardHeaderMedia.js +5 -3
  40. package/es/components/Card/next/CardMedia.d.ts +12 -18
  41. package/es/components/Card/next/CardMedia.d.ts.map +1 -1
  42. package/es/components/Card/next/CardMedia.js +22 -13
  43. package/es/components/Card/next/CardTitle.d.ts +27 -33
  44. package/es/components/Card/next/CardTitle.d.ts.map +1 -1
  45. package/es/components/Card/next/CardTitle.js +62 -18
  46. package/es/components/Card/next/CardTitleMedia.d.ts +1 -1
  47. package/es/components/Card/next/CardTitleMedia.d.ts.map +1 -1
  48. package/es/components/Card/next/CardTitleMedia.js +3 -2
  49. package/es/components/Card/next/_story-assets/data.d.ts +7 -0
  50. package/es/components/Card/next/_story-assets/data.d.ts.map +1 -0
  51. package/es/components/Card/next/_story-assets/options.d.ts +48 -0
  52. package/es/components/Card/next/_story-assets/options.d.ts.map +1 -0
  53. package/es/components/Card/next/index.d.ts +2 -2
  54. package/es/components/Card/next/index.d.ts.map +1 -1
  55. package/es/components/Card/next/index.js +0 -4
  56. package/es/components/Tearsheet/next/Tearsheet.d.ts.map +1 -1
  57. package/es/components/Tearsheet/next/Tearsheet.js +5 -2
  58. package/es/components/Tearsheet/next/TearsheetBody.d.ts.map +1 -1
  59. package/es/components/Tearsheet/next/TearsheetBody.js +2 -1
  60. package/es/global/js/package-settings.d.ts +10 -0
  61. package/es/global/js/package-settings.d.ts.map +1 -1
  62. package/es/global/js/package-settings.js +10 -0
  63. package/es/settings.d.ts +10 -0
  64. package/es/settings.d.ts.map +1 -1
  65. package/lib/components/Card/next/Card.d.ts +6 -69
  66. package/lib/components/Card/next/Card.d.ts.map +1 -1
  67. package/lib/components/Card/next/Card.js +44 -23
  68. package/lib/components/Card/next/Card.types.d.ts +12 -3
  69. package/lib/components/Card/next/Card.types.d.ts.map +1 -1
  70. package/lib/components/Card/next/CardAction.d.ts +7 -15
  71. package/lib/components/Card/next/CardAction.d.ts.map +1 -1
  72. package/lib/components/Card/next/CardAction.js +15 -4
  73. package/lib/components/Card/next/CardActions.d.ts +1 -19
  74. package/lib/components/Card/next/CardActions.d.ts.map +1 -1
  75. package/lib/components/Card/next/CardActions.js +32 -22
  76. package/lib/components/Card/next/CardBody.d.ts +1 -1
  77. package/lib/components/Card/next/CardBody.d.ts.map +1 -1
  78. package/lib/components/Card/next/CardBody.js +9 -3
  79. package/lib/components/Card/next/CardFooter.d.ts +1 -1
  80. package/lib/components/Card/next/CardFooter.d.ts.map +1 -1
  81. package/lib/components/Card/next/CardFooter.js +9 -3
  82. package/lib/components/Card/next/CardHeader.d.ts +8 -2
  83. package/lib/components/Card/next/CardHeader.d.ts.map +1 -1
  84. package/lib/components/Card/next/CardHeader.js +22 -24
  85. package/lib/components/Card/next/CardHeaderMedia.d.ts +1 -15
  86. package/lib/components/Card/next/CardHeaderMedia.d.ts.map +1 -1
  87. package/lib/components/Card/next/CardHeaderMedia.js +10 -3
  88. package/lib/components/Card/next/CardMedia.d.ts +12 -18
  89. package/lib/components/Card/next/CardMedia.d.ts.map +1 -1
  90. package/lib/components/Card/next/CardMedia.js +27 -13
  91. package/lib/components/Card/next/CardTitle.d.ts +27 -33
  92. package/lib/components/Card/next/CardTitle.d.ts.map +1 -1
  93. package/lib/components/Card/next/CardTitle.js +67 -18
  94. package/lib/components/Card/next/CardTitleMedia.d.ts +1 -1
  95. package/lib/components/Card/next/CardTitleMedia.d.ts.map +1 -1
  96. package/lib/components/Card/next/CardTitleMedia.js +9 -3
  97. package/lib/components/Card/next/_story-assets/data.d.ts +7 -0
  98. package/lib/components/Card/next/_story-assets/data.d.ts.map +1 -0
  99. package/lib/components/Card/next/_story-assets/options.d.ts +48 -0
  100. package/lib/components/Card/next/_story-assets/options.d.ts.map +1 -0
  101. package/lib/components/Card/next/index.d.ts +2 -2
  102. package/lib/components/Card/next/index.d.ts.map +1 -1
  103. package/lib/components/Card/next/index.js +0 -4
  104. package/lib/components/Tearsheet/next/Tearsheet.d.ts.map +1 -1
  105. package/lib/components/Tearsheet/next/Tearsheet.js +5 -2
  106. package/lib/components/Tearsheet/next/TearsheetBody.d.ts.map +1 -1
  107. package/lib/components/Tearsheet/next/TearsheetBody.js +2 -1
  108. package/lib/global/js/package-settings.d.ts +10 -0
  109. package/lib/global/js/package-settings.d.ts.map +1 -1
  110. package/lib/global/js/package-settings.js +10 -0
  111. package/lib/settings.d.ts +10 -0
  112. package/lib/settings.d.ts.map +1 -1
  113. package/package.json +9 -8
  114. package/scss/components/AboutModal/_about-modal.scss +12 -12
  115. package/scss/components/Card/_card-next.scss +184 -157
  116. package/scss/components/PageHeader/_page-header.scss +1 -1
  117. package/scss/components/Tearsheet/_tearsheet_next.scss +1 -2
  118. package/telemetry.yml +9 -9
  119. package/es/components/Card/next/CardCaption.d.ts +0 -46
  120. package/es/components/Card/next/CardCaption.d.ts.map +0 -1
  121. package/es/components/Card/next/CardCaption.js +0 -52
  122. package/es/components/Card/next/CardLabel.d.ts +0 -46
  123. package/es/components/Card/next/CardLabel.d.ts.map +0 -1
  124. package/es/components/Card/next/CardLabel.js +0 -52
  125. package/es/components/Tearsheet/next/_story-assets/StepTearsheet.d.ts +0 -30
  126. package/es/components/Tearsheet/next/_story-assets/StepTearsheet.d.ts.map +0 -1
  127. package/lib/components/Card/next/CardCaption.d.ts +0 -46
  128. package/lib/components/Card/next/CardCaption.d.ts.map +0 -1
  129. package/lib/components/Card/next/CardCaption.js +0 -54
  130. package/lib/components/Card/next/CardLabel.d.ts +0 -46
  131. package/lib/components/Card/next/CardLabel.d.ts.map +0 -1
  132. package/lib/components/Card/next/CardLabel.js +0 -54
  133. package/lib/components/Tearsheet/next/_story-assets/StepTearsheet.d.ts +0 -30
  134. package/lib/components/Tearsheet/next/_story-assets/StepTearsheet.d.ts.map +0 -1
@@ -8,5 +8,5 @@ import React from 'react';
8
8
  /**
9
9
  * CardFooter component - Footer section of the card
10
10
  */
11
- export declare const CardFooter: React.ForwardRefExoticComponent<import("./Card.types").CardBaseProps & React.RefAttributes<HTMLDivElement>>;
11
+ export declare let CardFooter: React.ForwardRefExoticComponent<import("./Card.types").CardBaseProps & React.RefAttributes<HTMLDivElement>>;
12
12
  //# sourceMappingURL=CardFooter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/next/CardFooter.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAqB,MAAM,OAAO,CAAC;AAS1C;;GAEG;AACH,eAAO,MAAM,UAAU,6GAUtB,CAAC"}
1
+ {"version":3,"file":"CardFooter.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/next/CardFooter.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAqB,MAAM,OAAO,CAAC;AAS1C;;GAEG;AACH,eAAO,IAAI,UAAU,6GAUpB,CAAC"}
@@ -25,7 +25,7 @@ const blockClass = `${require_settings.pkg.prefix}--card-next__footer`;
25
25
  /**
26
26
  * CardFooter component - Footer section of the card
27
27
  */
28
- const CardFooter = (0, react.forwardRef)(({ className, children, ...rest }, ref) => {
28
+ let CardFooter = (0, react.forwardRef)(({ className, children, ...rest }, ref) => {
29
29
  const footerClasses = (0, import_classnames.default)(blockClass, className);
30
30
  return /* @__PURE__ */ react.default.createElement("div", {
31
31
  ...rest,
@@ -33,7 +33,6 @@ const CardFooter = (0, react.forwardRef)(({ className, children, ...rest }, ref)
33
33
  className: footerClasses
34
34
  }, children);
35
35
  });
36
- CardFooter.displayName = componentName;
37
36
  CardFooter.propTypes = {
38
37
  /**
39
38
  * Footer content
@@ -44,5 +43,12 @@ CardFooter.propTypes = {
44
43
  */
45
44
  className: prop_types.default.string
46
45
  };
46
+ CardFooter = require_settings.pkg.checkComponentEnabled(CardFooter, componentName);
47
+ CardFooter.displayName = componentName;
47
48
  //#endregion
48
- exports.CardFooter = CardFooter;
49
+ Object.defineProperty(exports, "CardFooter", {
50
+ enumerable: true,
51
+ get: function() {
52
+ return CardFooter;
53
+ }
54
+ });
@@ -6,7 +6,13 @@
6
6
  */
7
7
  import React from 'react';
8
8
  /**
9
- * CardHeader component - Header section of the card
9
+ * CardHeader component - Header section of the card.
10
+ * Layout is handled entirely by CSS Grid on __header:
11
+ * - CardHeaderMedia spans both columns (full-width row above the title area)
12
+ * - CardTitleMedia occupies column 1 (left icon slot)
13
+ * - CardTitle occupies column 2 (right text slot), or spans full width when
14
+ * CardTitleMedia is absent — detected by the :has selector in SCSS.
15
+ * No child-scanning or wrapper injection is needed.
10
16
  */
11
- export declare const CardHeader: React.ForwardRefExoticComponent<import("./Card.types").CardBaseProps & React.RefAttributes<HTMLDivElement>>;
17
+ export declare let CardHeader: React.ForwardRefExoticComponent<import("./Card.types").CardBaseProps & React.RefAttributes<HTMLDivElement>>;
12
18
  //# sourceMappingURL=CardHeader.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/next/CardHeader.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAA0D,MAAM,OAAO,CAAC;AAU/E;;GAEG;AACH,eAAO,MAAM,UAAU,6GA4EtB,CAAC"}
1
+ {"version":3,"file":"CardHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/next/CardHeader.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAkC,MAAM,OAAO,CAAC;AAUvD;;;;;;;;GAQG;AACH,eAAO,IAAI,UAAU,6GA+BpB,CAAC"}
@@ -24,39 +24,30 @@ var import_classnames = /* @__PURE__ */ require_runtime.__toESM(require_index.de
24
24
  const componentName = "CardHeader";
25
25
  const blockClass = `${require_settings.pkg.prefix}--card-next__header`;
26
26
  /**
27
- * CardHeader component - Header section of the card
27
+ * CardHeader component - Header section of the card.
28
+ * Layout is handled entirely by CSS Grid on __header:
29
+ * - CardHeaderMedia spans both columns (full-width row above the title area)
30
+ * - CardTitleMedia occupies column 1 (left icon slot)
31
+ * - CardTitle occupies column 2 (right text slot), or spans full width when
32
+ * CardTitleMedia is absent — detected by the :has selector in SCSS.
33
+ * No child-scanning or wrapper injection is needed.
28
34
  */
29
- const CardHeader = (0, react.forwardRef)(({ className, children, ...rest }, ref) => {
35
+ let CardHeader = (0, react.forwardRef)(({ className, children, ...rest }, ref) => {
30
36
  const context = require_CardContext.useCardContext();
31
37
  const cardBlockClass = `${require_settings.pkg.prefix}--card-next`;
32
- const hasTitleMedia = react.Children.toArray(children).some((child) => {
33
- return (0, react.isValidElement)(child) && child.type?.["displayName"] === "Card.TitleMedia";
34
- });
35
- const titleMediaElements = [];
36
- const mediaElements = [];
37
- const otherContent = [];
38
- if (hasTitleMedia) react.Children.forEach(children, (child) => {
39
- if ((0, react.isValidElement)(child) && child.type?.["displayName"] === "Card.TitleMedia") titleMediaElements.push(child);
40
- else if ((0, react.isValidElement)(child) && child.type?.["displayName"] === "Card.Media") mediaElements.push(child);
41
- else otherContent.push(child);
42
- });
43
- const headerClasses = (0, import_classnames.default)(blockClass, className);
38
+ const handleDecoratorClick = (0, react.useCallback)((e) => e.stopPropagation(), []);
39
+ const handleDecoratorKeyDown = (0, react.useCallback)((e) => e.stopPropagation(), []);
44
40
  return /* @__PURE__ */ react.default.createElement("div", {
45
41
  ...rest,
46
42
  ref,
47
- className: headerClasses
48
- }, hasTitleMedia ? /* @__PURE__ */ react.default.createElement(react.default.Fragment, null, mediaElements, /* @__PURE__ */ react.default.createElement("div", { className: `${cardBlockClass}__header-content` }, titleMediaElements, /* @__PURE__ */ react.default.createElement("div", { className: `${cardBlockClass}__title-content` }, otherContent))) : children, context.decorator && /* @__PURE__ */ react.default.createElement("div", {
43
+ className: (0, import_classnames.default)(blockClass, className)
44
+ }, children, context.decorator && /* @__PURE__ */ react.default.createElement("div", {
49
45
  className: `${cardBlockClass}__decorator`,
50
46
  role: "presentation",
51
- onClick: (e) => {
52
- e.stopPropagation();
53
- },
54
- onKeyDown: (e) => {
55
- e.stopPropagation();
56
- }
47
+ onClick: handleDecoratorClick,
48
+ onKeyDown: handleDecoratorKeyDown
57
49
  }, context.decorator));
58
50
  });
59
- CardHeader.displayName = componentName;
60
51
  CardHeader.propTypes = {
61
52
  /**
62
53
  * Header content
@@ -67,5 +58,12 @@ CardHeader.propTypes = {
67
58
  */
68
59
  className: prop_types.default.string
69
60
  };
61
+ CardHeader = require_settings.pkg.checkComponentEnabled(CardHeader, componentName);
62
+ CardHeader.displayName = componentName;
70
63
  //#endregion
71
- exports.CardHeader = CardHeader;
64
+ Object.defineProperty(exports, "CardHeader", {
65
+ enumerable: true,
66
+ get: function() {
67
+ return CardHeader;
68
+ }
69
+ });
@@ -5,7 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ReactNode } from 'react';
8
- import PropTypes from 'prop-types';
9
8
  export interface CardHeaderMediaProps {
10
9
  /**
11
10
  * Provide the contents of the CardHeaderMedia.
@@ -16,18 +15,5 @@ export interface CardHeaderMediaProps {
16
15
  */
17
16
  className?: string;
18
17
  }
19
- export declare const CardHeaderMedia: {
20
- ({ children, className, ...rest }: CardHeaderMediaProps): React.JSX.Element;
21
- propTypes: {
22
- /**
23
- * Provide the contents of the CardHeaderMedia.
24
- */
25
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
26
- /**
27
- * Provide an optional class to be applied to the containing node.
28
- */
29
- className: PropTypes.Requireable<string>;
30
- };
31
- displayName: string;
32
- };
18
+ export declare let CardHeaderMedia: React.ForwardRefExoticComponent<CardHeaderMediaProps & React.RefAttributes<HTMLDivElement>>;
33
19
  //# sourceMappingURL=CardHeaderMedia.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardHeaderMedia.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/next/CardHeaderMedia.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,SAAS,MAAM,YAAY,CAAC;AAQnC,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,eAAe;uCAIzB,oBAAoB;;QAWrB;;WAEG;;QAGH;;WAEG;;;;CAVJ,CAAC"}
1
+ {"version":3,"file":"CardHeaderMedia.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/next/CardHeaderMedia.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AASrD,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,IAAI,eAAe,6FAezB,CAAC"}
@@ -23,14 +23,15 @@ prop_types = require_runtime.__toESM(prop_types);
23
23
  var import_classnames = /* @__PURE__ */ require_runtime.__toESM(require_index.default);
24
24
  const blockClass = `${require_settings.pkg.prefix}--card-next`;
25
25
  const componentName = "CardHeaderMedia";
26
- const CardHeaderMedia = ({ children, className, ...rest }) => {
26
+ let CardHeaderMedia = (0, react.forwardRef)(({ children, className, ...rest }, ref) => {
27
27
  const classes = (0, import_classnames.default)(`${blockClass}__header-media`, className);
28
28
  return /* @__PURE__ */ react.default.createElement("div", {
29
29
  ...rest,
30
+ ref,
30
31
  className: classes,
31
32
  ...require_devtools.getDevtoolsProps(componentName)
32
33
  }, children);
33
- };
34
+ });
34
35
  CardHeaderMedia.propTypes = {
35
36
  /**
36
37
  * Provide the contents of the CardHeaderMedia.
@@ -41,6 +42,12 @@ CardHeaderMedia.propTypes = {
41
42
  */
42
43
  className: prop_types.default.string
43
44
  };
45
+ CardHeaderMedia = require_settings.pkg.checkComponentEnabled(CardHeaderMedia, componentName);
44
46
  CardHeaderMedia.displayName = componentName;
45
47
  //#endregion
46
- exports.CardHeaderMedia = CardHeaderMedia;
48
+ Object.defineProperty(exports, "CardHeaderMedia", {
49
+ enumerable: true,
50
+ get: function() {
51
+ return CardHeaderMedia;
52
+ }
53
+ });
@@ -5,7 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React from 'react';
8
- import PropTypes from 'prop-types';
9
8
  import { AspectRatioProps } from '@carbon/react';
10
9
  export interface CardMediaProps extends Omit<AspectRatioProps, 'className'> {
11
10
  /**
@@ -16,24 +15,19 @@ export interface CardMediaProps extends Omit<AspectRatioProps, 'className'> {
16
15
  * Provide an optional class to be applied to the containing node.
17
16
  */
18
17
  className?: string;
18
+ /**
19
+ * Width of the media column when the card is in horizontal layout.
20
+ * Accepts any valid CSS width value (e.g. '200px', '40%').
21
+ * Defaults to '33.33%'. Has no effect in vertical (default) layout.
22
+ */
23
+ mediaWidth?: string;
19
24
  }
20
25
  /**
21
- * CardMedia is a media slot component that maintains aspect ratio using Carbon's AspectRatio.
22
- * Used for images, profiles, tags, large pictograms, and other substantial content in the card.
23
- * Supports all Carbon AspectRatio props including ratio: '1x1', '2x1', '2x3', '3x2', '4x3', '9x16', '16x9'
26
+ * CardMedia is a media slot component that maintains aspect ratio.
27
+ *
28
+ * In vertical (default) mode it delegates to Carbon's AspectRatio.
29
+ * In horizontal mode it renders a plain div sized to `mediaWidth` (default
30
+ * 33.33%) that stretches to the full card height — no aspect-ratio math needed.
24
31
  */
25
- export declare const CardMedia: {
26
- ({ children, className, ...rest }: CardMediaProps): React.JSX.Element;
27
- propTypes: {
28
- /**
29
- * Provide the contents of the CardMedia.
30
- */
31
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
32
- /**
33
- * Provide an optional class to be applied to the containing node.
34
- */
35
- className: PropTypes.Requireable<string>;
36
- };
37
- displayName: string;
38
- };
32
+ export declare let CardMedia: React.ForwardRefExoticComponent<CardMediaProps & React.RefAttributes<HTMLDivElement>>;
39
33
  //# sourceMappingURL=CardMedia.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardMedia.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/next/CardMedia.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAe,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAO9D,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,gBAAgB,EAAE,WAAW,CAAC;IACzE;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,eAAO,MAAM,SAAS;uCAAsC,cAAc;;QAexE;;WAEG;;QAGH;;WAEG;;;;CAVJ,CAAC"}
1
+ {"version":3,"file":"CardMedia.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/next/CardMedia.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAqB,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAe,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAQ9D,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,gBAAgB,EAAE,WAAW,CAAC;IACzE;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;GAMG;AACH,eAAO,IAAI,SAAS,uFAkCnB,CAAC"}
@@ -9,6 +9,7 @@ const require_runtime = require("../../../_virtual/_rolldown/runtime.js");
9
9
  const require_index = require("../../../node_modules/classnames/index.js");
10
10
  const require_settings = require("../../../settings.js");
11
11
  const require_devtools = require("../../../global/js/utils/devtools.js");
12
+ const require_CardContext = require("./CardContext.js");
12
13
  let react = require("react");
13
14
  react = require_runtime.__toESM(react);
14
15
  let prop_types = require("prop-types");
@@ -25,28 +26,41 @@ var import_classnames = /* @__PURE__ */ require_runtime.__toESM(require_index.de
25
26
  const blockClass = `${require_settings.pkg.prefix}--card-next`;
26
27
  const componentName = "CardMedia";
27
28
  /**
28
- * CardMedia is a media slot component that maintains aspect ratio using Carbon's AspectRatio.
29
- * Used for images, profiles, tags, large pictograms, and other substantial content in the card.
30
- * Supports all Carbon AspectRatio props including ratio: '1x1', '2x1', '2x3', '3x2', '4x3', '9x16', '16x9'
29
+ * CardMedia is a media slot component that maintains aspect ratio.
30
+ *
31
+ * In vertical (default) mode it delegates to Carbon's AspectRatio.
32
+ * In horizontal mode it renders a plain div sized to `mediaWidth` (default
33
+ * 33.33%) that stretches to the full card height — no aspect-ratio math needed.
31
34
  */
32
- const CardMedia = ({ children, className, ...rest }) => {
35
+ let CardMedia = (0, react.forwardRef)(({ children, className, ratio, mediaWidth = "33.33%", ...rest }, ref) => {
36
+ const { horizontal } = require_CardContext.useCardContext();
33
37
  const classes = (0, import_classnames.default)(`${blockClass}__media`, className);
38
+ if (horizontal) return /* @__PURE__ */ react.default.createElement("div", {
39
+ ref,
40
+ className: `${blockClass}__media ${blockClass}__media--horizontal`,
41
+ style: { [`--${blockClass}--media-width`]: mediaWidth },
42
+ ...require_devtools.getDevtoolsProps(componentName)
43
+ }, children);
34
44
  return /* @__PURE__ */ react.default.createElement(_carbon_react.AspectRatio, {
45
+ ratio,
35
46
  ...rest,
47
+ ref,
36
48
  className: classes,
37
49
  ...require_devtools.getDevtoolsProps(componentName)
38
50
  }, children);
39
- };
51
+ });
40
52
  CardMedia.propTypes = {
41
- /**
42
- * Provide the contents of the CardMedia.
43
- */
44
53
  children: prop_types.default.node,
45
- /**
46
- * Provide an optional class to be applied to the containing node.
47
- */
48
- className: prop_types.default.string
54
+ className: prop_types.default.string,
55
+ /** Width of the media column in horizontal layout. Any valid CSS width value. */
56
+ mediaWidth: prop_types.default.string
49
57
  };
58
+ CardMedia = require_settings.pkg.checkComponentEnabled(CardMedia, componentName);
50
59
  CardMedia.displayName = componentName;
51
60
  //#endregion
52
- exports.CardMedia = CardMedia;
61
+ Object.defineProperty(exports, "CardMedia", {
62
+ enumerable: true,
63
+ get: function() {
64
+ return CardMedia;
65
+ }
66
+ });
@@ -5,7 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
  import React, { ReactNode } from 'react';
8
- import PropTypes from 'prop-types';
9
8
  export interface CardTitleProps {
10
9
  /**
11
10
  * Provide the contents of the CardTitle.
@@ -21,10 +20,10 @@ export interface CardTitleProps {
21
20
  * - `number`: Multi-line truncation (line clamp)
22
21
  * @default false
23
22
  */
24
- truncate?: boolean | number;
23
+ titleTruncate?: boolean | number;
25
24
  /**
26
25
  * Maximum width for the title.
27
- * @default '640px'
26
+ * @default '100%'
28
27
  */
29
28
  maxWidth?: string;
30
29
  /**
@@ -41,6 +40,30 @@ export interface CardTitleProps {
41
40
  * - Expressive density: 24px icon recommended
42
41
  */
43
42
  titleEnd?: ReactNode;
43
+ /**
44
+ * Optional label rendered above the title text.
45
+ * Uses $label-01 typography and $text-secondary color.
46
+ */
47
+ label?: ReactNode;
48
+ /**
49
+ * Enable truncation on the label text.
50
+ * - `true`: Single line truncation
51
+ * - `number`: Multi-line truncation (line clamp)
52
+ * @default false
53
+ */
54
+ labelTruncate?: boolean | number;
55
+ /**
56
+ * Optional description rendered below the title text.
57
+ * Uses $label-01 typography and $text-secondary color.
58
+ */
59
+ description?: ReactNode;
60
+ /**
61
+ * Enable truncation on the description text.
62
+ * - `true`: Single line truncation
63
+ * - `number`: Multi-line truncation (line clamp)
64
+ * @default false
65
+ */
66
+ descriptionTruncate?: boolean | number;
44
67
  }
45
68
  /**
46
69
  * CardTitle displays the main title text in the card header.
@@ -49,34 +72,5 @@ export interface CardTitleProps {
49
72
  * - Expressive: Use $heading-03 (20px/28px)
50
73
  * Color uses $text-primary token.
51
74
  */
52
- export declare const CardTitle: {
53
- ({ children, className, truncate, maxWidth, titleStart, titleEnd, ...rest }: CardTitleProps): React.JSX.Element;
54
- propTypes: {
55
- /**
56
- * Provide the contents of the CardTitle.
57
- */
58
- children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
59
- /**
60
- * Provide an optional class to be applied to the containing node.
61
- */
62
- className: PropTypes.Requireable<string>;
63
- /**
64
- * Maximum width for the title.
65
- */
66
- maxWidth: PropTypes.Requireable<string>;
67
- /**
68
- * Optional trailing icon or content to display after the title text.
69
- */
70
- titleEnd: PropTypes.Requireable<PropTypes.ReactNodeLike>;
71
- /**
72
- * Optional leading icon or content to display before the title text.
73
- */
74
- titleStart: PropTypes.Requireable<PropTypes.ReactNodeLike>;
75
- /**
76
- * Enable text truncation with ellipsis.
77
- */
78
- truncate: PropTypes.Requireable<NonNullable<number | boolean>>;
79
- };
80
- displayName: string;
81
- };
75
+ export declare let CardTitle: React.ForwardRefExoticComponent<CardTitleProps & React.RefAttributes<HTMLDivElement>>;
82
76
  //# sourceMappingURL=CardTitle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/next/CardTitle.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,SAAS,MAAM,YAAY,CAAC;AAQnC,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAE5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IAEvB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;GAMG;AACH,eAAO,MAAM,SAAS;iFAQnB,cAAc;;QAuCf;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;QAGH;;WAEG;;;;CA9BJ,CAAC"}
1
+ {"version":3,"file":"CardTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/next/CardTitle.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AASrD,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAEjC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,SAAS,CAAC;IAEvB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAElB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAEjC;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;CACxC;AAED;;;;;;GAMG;AACH,eAAO,IAAI,SAAS,uFAuGnB,CAAC"}
@@ -30,24 +30,45 @@ const componentName = "CardTitle";
30
30
  * - Expressive: Use $heading-03 (20px/28px)
31
31
  * Color uses $text-primary token.
32
32
  */
33
- const CardTitle = ({ children, className, truncate = false, maxWidth = "640px", titleStart, titleEnd, ...rest }) => {
34
- const classes = (0, import_classnames.default)(`${blockClass}__title`, {
35
- [`${blockClass}__title--truncate`]: truncate === true,
36
- [`${blockClass}__title--truncate-multi`]: typeof truncate === "number",
37
- [`${blockClass}__title--with-start-icon`]: titleStart,
38
- [`${blockClass}__title--with-end-icon`]: titleEnd
39
- }, className);
40
- const style = typeof truncate === "number" ? {
41
- WebkitLineClamp: truncate,
42
- maxWidth
43
- } : { maxWidth };
33
+ let CardTitle = (0, react.forwardRef)(({ children, className, titleTruncate = false, maxWidth = "100%", titleStart, titleEnd, label, labelTruncate = false, description, descriptionTruncate = false, ...rest }, ref) => {
34
+ const isTitleMulti = typeof titleTruncate === "number";
35
+ const isLabelMulti = typeof labelTruncate === "number";
36
+ const isDescMulti = typeof descriptionTruncate === "number";
37
+ const containerClasses = (0, import_classnames.default)(`${blockClass}__title`, className);
38
+ const textRowClasses = (0, import_classnames.default)(`${blockClass}__title-text-row`, {
39
+ [`${blockClass}__title-text-row--truncate`]: titleTruncate === true,
40
+ [`${blockClass}__title-text-row--truncate-multi`]: isTitleMulti,
41
+ [`${blockClass}__title-text-row--with-start-icon`]: titleStart,
42
+ [`${blockClass}__title-text-row--with-end-icon`]: titleEnd
43
+ });
44
+ const titleVars = titleTruncate !== false ? {
45
+ [`--${blockClass}--title-max-width`]: maxWidth,
46
+ ...isTitleMulti && { [`--${blockClass}--title-line-clamp`]: titleTruncate }
47
+ } : void 0;
48
+ const labelVars = isLabelMulti ? { [`--${blockClass}--label-line-clamp`]: labelTruncate } : void 0;
49
+ const descVars = isDescMulti ? { [`--${blockClass}--description-line-clamp`]: descriptionTruncate } : void 0;
44
50
  return /* @__PURE__ */ react.default.createElement("div", {
45
51
  ...rest,
46
- className: classes,
47
- style,
52
+ ref,
53
+ className: containerClasses,
48
54
  ...require_devtools.getDevtoolsProps(componentName)
49
- }, titleStart && /* @__PURE__ */ react.default.createElement("span", { className: `${blockClass}__title-start-icon` }, titleStart), children, titleEnd && /* @__PURE__ */ react.default.createElement("span", { className: `${blockClass}__title-end-icon` }, titleEnd));
50
- };
55
+ }, label && /* @__PURE__ */ react.default.createElement("div", {
56
+ className: (0, import_classnames.default)(`${blockClass}__label`, {
57
+ [`${blockClass}__label--truncate`]: labelTruncate === true,
58
+ [`${blockClass}__label--truncate-multi`]: isLabelMulti
59
+ }),
60
+ style: labelVars
61
+ }, label), /* @__PURE__ */ react.default.createElement("span", {
62
+ className: textRowClasses,
63
+ style: titleVars
64
+ }, titleStart && /* @__PURE__ */ react.default.createElement("span", { className: `${blockClass}__title-start-icon` }, titleStart), children, titleEnd && /* @__PURE__ */ react.default.createElement("span", { className: `${blockClass}__title-end-icon` }, titleEnd)), description && /* @__PURE__ */ react.default.createElement("div", {
65
+ className: (0, import_classnames.default)(`${blockClass}__description`, {
66
+ [`${blockClass}__description--truncate`]: descriptionTruncate === true,
67
+ [`${blockClass}__description--truncate-multi`]: isDescMulti
68
+ }),
69
+ style: descVars
70
+ }, description));
71
+ });
51
72
  CardTitle.propTypes = {
52
73
  /**
53
74
  * Provide the contents of the CardTitle.
@@ -58,7 +79,27 @@ CardTitle.propTypes = {
58
79
  */
59
80
  className: prop_types.default.string,
60
81
  /**
61
- * Maximum width for the title.
82
+ * Optional description rendered below the title text.
83
+ */
84
+ description: prop_types.default.node,
85
+ /**
86
+ * Enable truncation on the description text.
87
+ * - `true`: Single line truncation
88
+ * - `number`: Multi-line truncation (line clamp)
89
+ */
90
+ descriptionTruncate: prop_types.default.oneOfType([prop_types.default.bool, prop_types.default.number]),
91
+ /**
92
+ * Optional label rendered above the title text.
93
+ */
94
+ label: prop_types.default.node,
95
+ /**
96
+ * Enable truncation on the label text.
97
+ * - `true`: Single line truncation
98
+ * - `number`: Multi-line truncation (line clamp)
99
+ */
100
+ labelTruncate: prop_types.default.oneOfType([prop_types.default.bool, prop_types.default.number]),
101
+ /**
102
+ * Maximum width for the title when truncation is active.
62
103
  */
63
104
  maxWidth: prop_types.default.string,
64
105
  /**
@@ -71,9 +112,17 @@ CardTitle.propTypes = {
71
112
  titleStart: prop_types.default.node,
72
113
  /**
73
114
  * Enable text truncation with ellipsis.
115
+ * - `true`: Single line truncation
116
+ * - `number`: Multi-line truncation (line clamp)
74
117
  */
75
- truncate: prop_types.default.oneOfType([prop_types.default.bool, prop_types.default.number])
118
+ titleTruncate: prop_types.default.oneOfType([prop_types.default.bool, prop_types.default.number])
76
119
  };
120
+ CardTitle = require_settings.pkg.checkComponentEnabled(CardTitle, componentName);
77
121
  CardTitle.displayName = componentName;
78
122
  //#endregion
79
- exports.CardTitle = CardTitle;
123
+ Object.defineProperty(exports, "CardTitle", {
124
+ enumerable: true,
125
+ get: function() {
126
+ return CardTitle;
127
+ }
128
+ });
@@ -20,5 +20,5 @@ export interface CardTitleMediaProps {
20
20
  * The media slot adapts to the heading area height (min 48px, max 64px) and stays
21
21
  * top-aligned when the title wraps to multiple lines.
22
22
  */
23
- export declare const CardTitleMedia: React.ForwardRefExoticComponent<CardTitleMediaProps & React.RefAttributes<HTMLDivElement>>;
23
+ export declare let CardTitleMedia: React.ForwardRefExoticComponent<CardTitleMediaProps & React.RefAttributes<HTMLDivElement>>;
24
24
  //# sourceMappingURL=CardTitleMedia.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CardTitleMedia.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/next/CardTitleMedia.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAQrD,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,eAAO,MAAM,cAAc,4FAU1B,CAAC"}
1
+ {"version":3,"file":"CardTitleMedia.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/next/CardTitleMedia.tsx"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AAQrD,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IAErB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;GAIG;AACH,eAAO,IAAI,cAAc,4FAUxB,CAAC"}
@@ -27,7 +27,7 @@ const componentName = "CardTitleMedia";
27
27
  * The media slot adapts to the heading area height (min 48px, max 64px) and stays
28
28
  * top-aligned when the title wraps to multiple lines.
29
29
  */
30
- const CardTitleMedia = (0, react.forwardRef)(({ className, children, ...rest }, ref) => {
30
+ let CardTitleMedia = (0, react.forwardRef)(({ className, children, ...rest }, ref) => {
31
31
  const titleMediaClasses = (0, import_classnames.default)(blockClass, className);
32
32
  return /* @__PURE__ */ react.default.createElement("div", {
33
33
  ...rest,
@@ -35,7 +35,6 @@ const CardTitleMedia = (0, react.forwardRef)(({ className, children, ...rest },
35
35
  className: titleMediaClasses
36
36
  }, children);
37
37
  });
38
- CardTitleMedia.displayName = componentName;
39
38
  CardTitleMedia.propTypes = {
40
39
  /**
41
40
  * Content to be rendered in the title media slot (typically an icon or small image)
@@ -46,5 +45,12 @@ CardTitleMedia.propTypes = {
46
45
  */
47
46
  className: prop_types.default.string
48
47
  };
48
+ CardTitleMedia = require_settings.pkg.checkComponentEnabled(CardTitleMedia, componentName);
49
+ CardTitleMedia.displayName = componentName;
49
50
  //#endregion
50
- exports.CardTitleMedia = CardTitleMedia;
51
+ Object.defineProperty(exports, "CardTitleMedia", {
52
+ enumerable: true,
53
+ get: function() {
54
+ return CardTitleMedia;
55
+ }
56
+ });
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ group: string;
3
+ date: string;
4
+ value: number;
5
+ }[];
6
+ export default _default;
7
+ //# sourceMappingURL=data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data.d.ts","sourceRoot":"","sources":["../../../../../src/components/Card/next/_story-assets/data.js"],"names":[],"mappings":""}
@@ -0,0 +1,48 @@
1
+ declare namespace _default {
2
+ let height: string;
3
+ namespace grid {
4
+ namespace x {
5
+ let enabled: boolean;
6
+ }
7
+ namespace y {
8
+ let enabled_1: boolean;
9
+ export { enabled_1 as enabled };
10
+ }
11
+ }
12
+ namespace axes {
13
+ namespace bottom {
14
+ let visible: boolean;
15
+ let title: string;
16
+ let mapsTo: string;
17
+ let scaleType: string;
18
+ }
19
+ namespace left {
20
+ let visible_1: boolean;
21
+ export { visible_1 as visible };
22
+ let mapsTo_1: string;
23
+ export { mapsTo_1 as mapsTo };
24
+ let scaleType_1: string;
25
+ export { scaleType_1 as scaleType };
26
+ }
27
+ }
28
+ namespace color {
29
+ namespace gradient {
30
+ let enabled_2: boolean;
31
+ export { enabled_2 as enabled };
32
+ }
33
+ }
34
+ namespace points {
35
+ let enabled_3: boolean;
36
+ export { enabled_3 as enabled };
37
+ }
38
+ namespace legend {
39
+ let enabled_4: boolean;
40
+ export { enabled_4 as enabled };
41
+ }
42
+ namespace toolbar {
43
+ let enabled_5: boolean;
44
+ export { enabled_5 as enabled };
45
+ }
46
+ }
47
+ export default _default;
48
+ //# sourceMappingURL=options.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"options.d.ts","sourceRoot":"","sources":["../../../../../src/components/Card/next/_story-assets/options.js"],"names":[],"mappings":""}
@@ -4,6 +4,6 @@
4
4
  * This source code is licensed under the Apache-2.0 license found in the
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
- export { Card, CardHeader, CardBody, CardFooter, CardHeaderMedia, CardMedia, CardLabel, CardTitle, CardTitleMedia, CardCaption, CardActions, CardAction, } from './Card';
8
- export type { CardProps, CardHeaderProps, CardBodyProps, CardFooterProps, CardHeaderMediaProps, CardMediaProps, CardLabelProps, CardTitleProps, CardTitleMediaProps, CardCaptionProps, CardActionsProps, CardActionProps, } from './Card';
7
+ export { Card, CardHeader, CardBody, CardFooter, CardHeaderMedia, CardMedia, CardTitle, CardTitleMedia, CardActions, CardAction, } from './Card';
8
+ export type { CardProps, CardHeaderProps, CardBodyProps, CardFooterProps, CardHeaderMediaProps, CardMediaProps, CardTitleProps, CardTitleMediaProps, CardActionsProps, CardActionProps, } from './Card';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/next/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EACL,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,UAAU,EACV,eAAe,EACf,SAAS,EACT,SAAS,EACT,SAAS,EACT,cAAc,EACd,WAAW,EACX,WAAW,EACX,UAAU,GACX,MAAM,QAAQ,CAAC;AAEhB,YAAY,EACV,SAAS,EACT,eAAe,EACf,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,GAChB,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Card/next/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,EACL,IAAI,EACJ,UAAU,EACV,QAAQ,EACR,UAAU,EACV,eAAe,EACf,SAAS,EACT,SAAS,EACT,cAAc,EACd,WAAW,EACX,UAAU,GACX,MAAM,QAAQ,CAAC;AAEhB,YAAY,EACV,SAAS,EACT,eAAe,EACf,aAAa,EACb,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,gBAAgB,EAChB,eAAe,GAChB,MAAM,QAAQ,CAAC"}