@canonical/react-ds-global 0.38.0 → 0.42.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 (127) hide show
  1. package/dist/esm/lib/component/Breadcrumbs/common/Item/Item.js +1 -6
  2. package/dist/esm/lib/component/Breadcrumbs/common/Item/Item.js.map +1 -1
  3. package/dist/esm/lib/component/Chip/Chip.js +2 -6
  4. package/dist/esm/lib/component/Chip/Chip.js.map +1 -1
  5. package/dist/esm/lib/component/ContextualMenu/ContextualMenu.js +3 -7
  6. package/dist/esm/lib/component/ContextualMenu/ContextualMenu.js.map +1 -1
  7. package/dist/esm/lib/component/ContextualMenu/common/Item/Item.js +2 -4
  8. package/dist/esm/lib/component/ContextualMenu/common/Item/Item.js.map +1 -1
  9. package/dist/esm/lib/component/ContextualMenu/common/SubMenu/SubMenu.js +1 -4
  10. package/dist/esm/lib/component/ContextualMenu/common/SubMenu/SubMenu.js.map +1 -1
  11. package/dist/esm/lib/component/ContextualMenu/styles.css +3 -4
  12. package/dist/esm/lib/component/Icon/Icon.js +1 -3
  13. package/dist/esm/lib/component/Icon/Icon.js.map +1 -1
  14. package/dist/esm/lib/component/Tooltip/Tooltip.js +1 -5
  15. package/dist/esm/lib/component/Tooltip/Tooltip.js.map +1 -1
  16. package/dist/esm/lib/component/Tooltip/TooltipEngine.js +64 -0
  17. package/dist/esm/lib/component/Tooltip/TooltipEngine.js.map +1 -0
  18. package/dist/esm/lib/component/Tooltip/index.js +1 -0
  19. package/dist/esm/lib/component/Tooltip/index.js.map +1 -1
  20. package/dist/esm/lib/component/Tooltip/withTooltip.js +11 -63
  21. package/dist/esm/lib/component/Tooltip/withTooltip.js.map +1 -1
  22. package/dist/esm/lib/group/Cards/Cards.js +1 -1
  23. package/dist/esm/lib/group/Cards/styles.css +1 -1
  24. package/dist/esm/lib/hooks/useWindowDimensions/useWindowDimensions.js.map +1 -1
  25. package/dist/esm/lib/hooks/useWindowFitment/useWindowFitment.js +26 -6
  26. package/dist/esm/lib/hooks/useWindowFitment/useWindowFitment.js.map +1 -1
  27. package/dist/esm/lib/pattern/Modal/common/Header/styles.css +31 -3
  28. package/dist/esm/lib/pattern/Modal/withModal.js +1 -1
  29. package/dist/esm/lib/subcomponent/Spinner/Spinner.js +1 -3
  30. package/dist/esm/lib/subcomponent/Spinner/Spinner.js.map +1 -1
  31. package/dist/types/lib/_work_in_progress/Announcement/Announcement.d.ts.map +1 -1
  32. package/dist/types/lib/_work_in_progress/CategoriesSection/CategoriesSection.d.ts.map +1 -1
  33. package/dist/types/lib/_work_in_progress/CategoriesSection/common/Category/Category.d.ts.map +1 -1
  34. package/dist/types/lib/_work_in_progress/CategoriesSection/fixtures.d.ts.map +1 -1
  35. package/dist/types/lib/_work_in_progress/ChatSection/ChatSection.d.ts.map +1 -1
  36. package/dist/types/lib/_work_in_progress/DescriptionSection/DescriptionSection.d.ts.map +1 -1
  37. package/dist/types/lib/_work_in_progress/IconSection/IconSection.d.ts.map +1 -1
  38. package/dist/types/lib/_work_in_progress/Label/Label.d.ts.map +1 -1
  39. package/dist/types/lib/_work_in_progress/Link/Link.d.ts.map +1 -1
  40. package/dist/types/lib/_work_in_progress/Rule/Rule.d.ts.map +1 -1
  41. package/dist/types/lib/_work_in_progress/Section/Section.d.ts.map +1 -1
  42. package/dist/types/lib/_work_in_progress/SkipLink/SkipLink.d.ts.map +1 -1
  43. package/dist/types/lib/_work_in_progress/TSection/TSection.d.ts.map +1 -1
  44. package/dist/types/lib/_work_in_progress/grid/ApplicationLayout/ApplicationLayout.d.ts.map +1 -1
  45. package/dist/types/lib/_work_in_progress/grid/GridCard/GridCard.d.ts.map +1 -1
  46. package/dist/types/lib/_work_in_progress/grid/InnerGridDemo/InnerGridDemo.d.ts.map +1 -1
  47. package/dist/types/lib/_work_in_progress/grid/SettingsView/SettingsView.d.ts.map +1 -1
  48. package/dist/types/lib/component/Accordion/Accordion.d.ts +5 -21
  49. package/dist/types/lib/component/Accordion/Accordion.d.ts.map +1 -1
  50. package/dist/types/lib/component/Accordion/common/Item/Item.d.ts +4 -15
  51. package/dist/types/lib/component/Accordion/common/Item/Item.d.ts.map +1 -1
  52. package/dist/types/lib/component/Badge/Badge.d.ts.map +1 -1
  53. package/dist/types/lib/component/Badge/hooks/useBadge.d.ts.map +1 -1
  54. package/dist/types/lib/component/Breadcrumbs/Breadcrumbs.d.ts +5 -21
  55. package/dist/types/lib/component/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
  56. package/dist/types/lib/component/Breadcrumbs/common/Item/Item.d.ts +4 -12
  57. package/dist/types/lib/component/Breadcrumbs/common/Item/Item.d.ts.map +1 -1
  58. package/dist/types/lib/component/Button/Button.d.ts.map +1 -1
  59. package/dist/types/lib/component/Card/Card.d.ts +8 -37
  60. package/dist/types/lib/component/Card/Card.d.ts.map +1 -1
  61. package/dist/types/lib/component/Card/common/Content/Content.d.ts +4 -9
  62. package/dist/types/lib/component/Card/common/Content/Content.d.ts.map +1 -1
  63. package/dist/types/lib/component/Card/common/Footer/Footer.d.ts +4 -10
  64. package/dist/types/lib/component/Card/common/Footer/Footer.d.ts.map +1 -1
  65. package/dist/types/lib/component/Card/common/Header/Header.d.ts +4 -9
  66. package/dist/types/lib/component/Card/common/Header/Header.d.ts.map +1 -1
  67. package/dist/types/lib/component/Card/common/Image/Image.d.ts +4 -11
  68. package/dist/types/lib/component/Card/common/Image/Image.d.ts.map +1 -1
  69. package/dist/types/lib/component/Chip/Chip.d.ts.map +1 -1
  70. package/dist/types/lib/component/ContextualMenu/ContextualMenu.d.ts +1 -1
  71. package/dist/types/lib/component/ContextualMenu/ContextualMenu.d.ts.map +1 -1
  72. package/dist/types/lib/component/ContextualMenu/common/Item/Item.d.ts.map +1 -1
  73. package/dist/types/lib/component/ContextualMenu/common/MenuContext.d.ts.map +1 -1
  74. package/dist/types/lib/component/ContextualMenu/common/SubMenu/SubMenu.d.ts.map +1 -1
  75. package/dist/types/lib/component/ContextualMenu/types.d.ts +1 -1
  76. package/dist/types/lib/component/ContextualMenu/types.d.ts.map +1 -1
  77. package/dist/types/lib/component/Icon/Icon.d.ts.map +1 -1
  78. package/dist/types/lib/component/InlineCode/InlineCode.d.ts.map +1 -1
  79. package/dist/types/lib/component/KeyboardKey/KeyboardKey.d.ts.map +1 -1
  80. package/dist/types/lib/component/KeyboardKey/constants.d.ts +33 -33
  81. package/dist/types/lib/component/KeyboardKey/constants.d.ts.map +1 -1
  82. package/dist/types/lib/component/Popover/Popover.d.ts.map +1 -1
  83. package/dist/types/lib/component/Tabs/Tabs.d.ts.map +1 -1
  84. package/dist/types/lib/component/Tabs/common/Item/Item.d.ts.map +1 -1
  85. package/dist/types/lib/component/Tile/Tile.d.ts +6 -21
  86. package/dist/types/lib/component/Tile/Tile.d.ts.map +1 -1
  87. package/dist/types/lib/component/Tile/common/Content/Content.d.ts +4 -11
  88. package/dist/types/lib/component/Tile/common/Content/Content.d.ts.map +1 -1
  89. package/dist/types/lib/component/Tile/common/Header/Header.d.ts +4 -11
  90. package/dist/types/lib/component/Tile/common/Header/Header.d.ts.map +1 -1
  91. package/dist/types/lib/component/Tooltip/Tooltip.d.ts.map +1 -1
  92. package/dist/types/lib/component/Tooltip/TooltipEngine.d.ts +16 -0
  93. package/dist/types/lib/component/Tooltip/TooltipEngine.d.ts.map +1 -0
  94. package/dist/types/lib/component/Tooltip/index.d.ts +1 -0
  95. package/dist/types/lib/component/Tooltip/index.d.ts.map +1 -1
  96. package/dist/types/lib/component/Tooltip/withTooltip.d.ts +9 -3
  97. package/dist/types/lib/component/Tooltip/withTooltip.d.ts.map +1 -1
  98. package/dist/types/lib/group/Cards/Cards.d.ts +1 -1
  99. package/dist/types/lib/group/Cards/Cards.d.ts.map +1 -1
  100. package/dist/types/lib/group/Cards/types.d.ts +2 -2
  101. package/dist/types/lib/group/KeyboardKeys/KeyboardKeys.d.ts.map +1 -1
  102. package/dist/types/lib/hooks/useContextualMenu/isMenuSeparator.d.ts.map +1 -1
  103. package/dist/types/lib/hooks/useContextualMenu/useContextualMenu.d.ts.map +1 -1
  104. package/dist/types/lib/hooks/useDelayedToggle/useDelayedToggle.d.ts.map +1 -1
  105. package/dist/types/lib/hooks/useDisclosure/useDisclosure.d.ts.map +1 -1
  106. package/dist/types/lib/hooks/useIsMounted/useIsMounted.d.ts.map +1 -1
  107. package/dist/types/lib/hooks/useWindowFitment/useWindowFitment.d.ts +10 -5
  108. package/dist/types/lib/hooks/useWindowFitment/useWindowFitment.d.ts.map +1 -1
  109. package/dist/types/lib/pattern/Modal/Context.d.ts.map +1 -1
  110. package/dist/types/lib/pattern/Modal/Provider.d.ts +7 -58
  111. package/dist/types/lib/pattern/Modal/Provider.d.ts.map +1 -1
  112. package/dist/types/lib/pattern/Modal/common/Content/Content.d.ts +4 -12
  113. package/dist/types/lib/pattern/Modal/common/Content/Content.d.ts.map +1 -1
  114. package/dist/types/lib/pattern/Modal/common/Footer/Footer.d.ts +4 -13
  115. package/dist/types/lib/pattern/Modal/common/Footer/Footer.d.ts.map +1 -1
  116. package/dist/types/lib/pattern/Modal/common/Header/Header.d.ts +4 -19
  117. package/dist/types/lib/pattern/Modal/common/Header/Header.d.ts.map +1 -1
  118. package/dist/types/lib/pattern/Modal/hooks/useModalState.d.ts.map +1 -1
  119. package/dist/types/lib/pattern/Modal/withModal.d.ts.map +1 -1
  120. package/dist/types/lib/pattern/Timeline/Timeline.d.ts +6 -23
  121. package/dist/types/lib/pattern/Timeline/Timeline.d.ts.map +1 -1
  122. package/dist/types/lib/pattern/Timeline/common/Content/Content.d.ts +4 -11
  123. package/dist/types/lib/pattern/Timeline/common/Content/Content.d.ts.map +1 -1
  124. package/dist/types/lib/pattern/Timeline/common/Event/Event.d.ts +4 -12
  125. package/dist/types/lib/pattern/Timeline/common/Event/Event.d.ts.map +1 -1
  126. package/dist/types/lib/subcomponent/Spinner/Spinner.d.ts.map +1 -1
  127. package/package.json +21 -21
@@ -15,7 +15,6 @@
15
15
  * the rule to the inline padding)
16
16
  */
17
17
 
18
- /* Component tokens — sourced from @canonical/design-tokens */
19
18
  :root {
20
19
  /* The rules are quiet boundaries, not structural edges: `muted` is the
21
20
  palest border token (gray-100 vs gray-520 for `--color-border`). */
@@ -24,11 +23,37 @@
24
23
  --modal-header-padding-block: var(--dimension-200);
25
24
  --modal-header-padding-inline: var(--modal-padding-inline);
26
25
  --modal-header-gap: var(--dimension-200);
27
- --modal-header-font-size: var(--typography-text-primary-font-size);
28
- --modal-header-font-weight: var(--typography-weight-semiBold);
29
26
  }
30
27
 
31
28
  .ds.modal-header {
29
+ /*
30
+
31
+ The title is a `span`, not an `h2`: a modal opens from anywhere in the
32
+ document, so no heading level would be right everywhere, and the dialog is
33
+ named through `aria-labelledby` instead. Only the type scale is borrowed
34
+ here, never the outline semantics.
35
+ */
36
+ --modal-header-font-family: var(--typography-heading-2-font-family);
37
+ --modal-header-font-size: var(--typography-heading-2-font-size);
38
+ --modal-header-font-weight: var(--typography-heading-2-font-weight);
39
+ --modal-header-letter-spacing: var(--typography-heading-2-letter-spacing);
40
+ /*
41
+ The exact dimension takes precedence; the round() path is the
42
+ design-tokens 0.8.1 compatibility fallback, and is retained only so long
43
+ as the `h2` element rule carries it.
44
+ */
45
+ --modal-header-line-height: var(
46
+ --typography-heading-2-line-height-dimension,
47
+ round(
48
+ up,
49
+ calc(
50
+ var(--typography-heading-2-font-size) *
51
+ var(--typography-heading-2-line-height)
52
+ ),
53
+ var(--baseline-height)
54
+ )
55
+ );
56
+
32
57
  /* layout.type: flow, direction horizontal, align center, justify space-between */
33
58
  display: flex;
34
59
  flex-direction: row;
@@ -61,8 +86,11 @@
61
86
 
62
87
  > .title {
63
88
  flex: 1;
89
+ font-family: var(--modal-header-font-family);
64
90
  font-size: var(--modal-header-font-size);
65
91
  font-weight: var(--modal-header-font-weight);
92
+ letter-spacing: var(--modal-header-letter-spacing);
93
+ line-height: var(--modal-header-line-height);
66
94
  }
67
95
 
68
96
  > .close {
@@ -1,4 +1,4 @@
1
- import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useRef } from "react";
3
3
  /**
4
4
  * Wraps a trigger with a modal. Click the trigger → the modal opens.
@@ -27,9 +27,7 @@ const Spinner = ({ className, rootPath = "/icons", role, ...props }) => {
27
27
  // An empty label counts as decorative, mirroring the `alt=""` convention.
28
28
  const isLabelled = hasAccessibleName(props["aria-label"]) ||
29
29
  hasAccessibleName(props["aria-labelledby"]);
30
- return (
31
- // biome-ignore lint/a11y/noSvgWithoutTitle: decorative spinners render aria-hidden="true"; labelled spinners render role="img" with an aria-label/aria-labelledby (computed at runtime)
32
- _jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", className: [componentCssClassName, className].filter(Boolean).join(" "), role: role ?? (isLabelled ? "img" : undefined), "aria-hidden": isLabelled || role ? undefined : true, ...props, children: _jsx("use", { href: `${rootPath}/spinner.svg#spinner` }) }));
30
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 16 16", className: [componentCssClassName, className].filter(Boolean).join(" "), role: role ?? (isLabelled ? "img" : undefined), "aria-hidden": isLabelled || role ? undefined : true, ...props, children: _jsx("use", { href: `${rootPath}/spinner.svg#spinner` }) }));
33
31
  };
34
32
  export default Spinner;
35
33
  //# sourceMappingURL=Spinner.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Spinner.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/Spinner/Spinner.tsx"],"names":[],"mappings":";AAEA,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,YAAY,CAAC;AAE3C,qEAAqE;AACrE,MAAM,iBAAiB,GAAG,CAAC,KAAyB,EAAW,EAAE,CAC/D,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC;AAEnD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,OAAO,GAAG,CAAC,EACf,SAAS,EACT,QAAQ,GAAG,QAAQ,EACnB,IAAI,EACJ,GAAG,KAAK,EACK,EAAgB,EAAE;IAC/B,2EAA2E;IAC3E,6EAA6E;IAC7E,0EAA0E;IAC1E,MAAM,UAAU,GACd,iBAAiB,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QACtC,iBAAiB,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAE9C,OAAO;IACL,wLAAwL;IACxL,cACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EACvE,IAAI,EAAE,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,iBACjC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,KAC9C,KAAK,YAET,cAAK,IAAI,EAAE,GAAG,QAAQ,sBAAsB,GAAI,GAC5C,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Spinner.js","sourceRoot":"","sources":["../../../../../src/lib/subcomponent/Spinner/Spinner.tsx"],"names":[],"mappings":";AAEA,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,YAAY,CAAC;AAE3C,qEAAqE;AACrE,MAAM,iBAAiB,GAAG,CAAC,KAAyB,EAAW,EAAE,CAC/D,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC;AAEnD;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,OAAO,GAAG,CAAC,EACf,SAAS,EACT,QAAQ,GAAG,QAAQ,EACnB,IAAI,EACJ,GAAG,KAAK,EACK,EAAgB,EAAE;IAC/B,2EAA2E;IAC3E,6EAA6E;IAC7E,0EAA0E;IAC1E,MAAM,UAAU,GACd,iBAAiB,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QACtC,iBAAiB,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAE9C,OAAO,CAEL,cACE,KAAK,EAAC,4BAA4B,EAClC,OAAO,EAAC,WAAW,EACnB,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,EACvE,IAAI,EAAE,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC,iBACjC,UAAU,IAAI,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,KAC9C,KAAK,YAET,cAAK,IAAI,EAAE,GAAG,QAAQ,sBAAsB,GAAI,GAC5C,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Announcement.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/Announcement/Announcement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,cAAc,CAAC;AAItB;;;;;;;;GAQG;AACH,QAAA,MAAM,YAAY,GAAI,yDAMnB,iBAAiB,KAAG,KAAK,CAAC,YAkB5B,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"Announcement.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/Announcement/Announcement.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,cAAc,CAAC;AAItB;;;;;;;;GAQG;AACH,QAAA,MAAM,YAAY,4DAMf,iBAAiB,KAAG,KAAK,CAAC,YAkB5B,CAAC;eAEa,YAAY"}
@@ -1 +1 @@
1
- {"version":3,"file":"CategoriesSection.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/CategoriesSection/CategoriesSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,cAAc,CAAC;AAOtB;;GAEG;AACH,QAAA,MAAM,iBAAiB,GAAI,0CAKxB,sBAAsB,KAAG,KAAK,CAAC,SAYjC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"CategoriesSection.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/CategoriesSection/CategoriesSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,cAAc,CAAC;AAOtB;;GAEG;AACH,QAAA,MAAM,iBAAiB,6CAKpB,sBAAsB,KAAG,KAAK,CAAC,SAYjC,CAAC;eAEa,iBAAiB"}
@@ -1 +1 @@
1
- {"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/_work_in_progress/CategoriesSection/common/Category/Category.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,cAAc,CAAC;AAItB;;GAEG;AACH,QAAA,MAAM,QAAQ,GAAI,iDAMf,aAAa,KAAG,KAAK,CAAC,SAcxB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/_work_in_progress/CategoriesSection/common/Category/Category.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,cAAc,CAAC;AAItB;;GAEG;AACH,QAAA,MAAM,QAAQ,oDAMX,aAAa,KAAG,KAAK,CAAC,SAcxB,CAAC;eAEa,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/CategoriesSection/fixtures.ts"],"names":[],"mappings":";;;;;AAAA,wBAiDE"}
1
+ {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/CategoriesSection/fixtures.ts"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"ChatSection.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/ChatSection/ChatSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAKtB;;GAEG;AACH,QAAA,MAAM,WAAW,GAAI,0CAKlB,gBAAgB,KAAG,KAAK,CAAC,SAY3B,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"ChatSection.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/ChatSection/ChatSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAKtB;;GAEG;AACH,QAAA,MAAM,WAAW,6CAKd,gBAAgB,KAAG,KAAK,CAAC,SAY3B,CAAC;eAEa,WAAW"}
@@ -1 +1 @@
1
- {"version":3,"file":"DescriptionSection.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/DescriptionSection/DescriptionSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,cAAc,CAAC;AAKtB;;GAEG;AACH,QAAA,MAAM,kBAAkB,GAAI,0CAKzB,uBAAuB,KAAG,KAAK,CAAC,SAUlC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
1
+ {"version":3,"file":"DescriptionSection.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/DescriptionSection/DescriptionSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,cAAc,CAAC;AAKtB;;GAEG;AACH,QAAA,MAAM,kBAAkB,6CAKrB,uBAAuB,KAAG,KAAK,CAAC,SAUlC,CAAC;eAEa,kBAAkB"}
@@ -1 +1 @@
1
- {"version":3,"file":"IconSection.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/IconSection/IconSection.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAuCtB;;GAEG;AACH,QAAA,MAAM,WAAW,GAAI,mCAIlB,gBAAgB,KAAG,KAAK,CAAC,SAa3B,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"IconSection.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/IconSection/IconSection.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAuCtB;;GAEG;AACH,QAAA,MAAM,WAAW,sCAId,gBAAgB,KAAG,KAAK,CAAC,SAa3B,CAAC;eAEa,WAAW"}
@@ -1 +1 @@
1
- {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,cAAc,CAAC;AAItB;;;;;;;GAOG;AACH,QAAA,MAAM,KAAK,GAAI,qFAQZ,UAAU,KAAG,KAAK,CAAC,YAgBrB,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/Label/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,cAAc,CAAC;AAItB;;;;;;;GAOG;AACH,QAAA,MAAM,KAAK,wFAQR,UAAU,KAAG,KAAK,CAAC,YAgBrB,CAAC;eAEa,KAAK"}
@@ -1 +1 @@
1
- {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/Link/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,cAAc,CAAC;AAItB;;;GAGG;AACH,QAAA,MAAM,IAAI,GAAI,QAAQ,SAAS,WAAW,GAAG,GAAG,EAAE,mDAM/C,SAAS,CAAC,QAAQ,CAAC,KAAG,YAaxB,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Link.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/Link/Link.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,cAAc,CAAC;AAItB;;;GAGG;AACH,QAAA,MAAM,IAAI,GAAI,QAAQ,SAAS,WAAW,GAAG,GAAG,qDAM7C,SAAS,CAAC,QAAQ,CAAC,KAAG,YAaxB,CAAC;eAEa,IAAI"}
@@ -1 +1 @@
1
- {"version":3,"file":"Rule.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/Rule/Rule.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,cAAc,CAAC;AAItB;;;;GAIG;AACH,QAAA,MAAM,IAAI,GAAI,yBAAyB,SAAS,KAAG,KAAK,CAAC,YAOxD,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Rule.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/Rule/Rule.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,cAAc,CAAC;AAItB;;;;GAIG;AACH,QAAA,MAAM,IAAI,4BAA6B,SAAS,KAAG,KAAK,CAAC,YAOxD,CAAC;eAEa,IAAI"}
@@ -1 +1 @@
1
- {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/Section/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,cAAc,CAAC;AAItB;;;;;GAKG;AACH,QAAA,MAAM,OAAO,GAAI,sDAMd,YAAY,KAAG,KAAK,CAAC,YAgBvB,CAAC;AAEF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Section.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/Section/Section.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,cAAc,CAAC;AAItB;;;;;GAKG;AACH,QAAA,MAAM,OAAO,yDAMV,YAAY,KAAG,KAAK,CAAC,YAgBvB,CAAC;eAEa,OAAO"}
@@ -1 +1 @@
1
- {"version":3,"file":"SkipLink.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/SkipLink/SkipLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,cAAc,CAAC;AAItB;;;;;;;;;GASG;AACH,QAAA,MAAM,QAAQ,GAAI,2CAKf,aAAa,KAAG,KAAK,CAAC,YAcxB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"SkipLink.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/SkipLink/SkipLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,cAAc,CAAC;AAItB;;;;;;;;;GASG;AACH,QAAA,MAAM,QAAQ,8CAKX,aAAa,KAAG,KAAK,CAAC,YAcxB,CAAC;eAEa,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"TSection.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/TSection/TSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,cAAc,CAAC;AAItB;;GAEG;AACH,QAAA,MAAM,QAAQ,GAAI,0CAKf,aAAa,KAAG,KAAK,CAAC,SAUxB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"TSection.d.ts","sourceRoot":"","sources":["../../../../../src/lib/_work_in_progress/TSection/TSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,cAAc,CAAC;AAItB;;GAEG;AACH,QAAA,MAAM,QAAQ,6CAKX,aAAa,KAAG,KAAK,CAAC,SAUxB,CAAC;eAEa,QAAQ"}
@@ -1 +1 @@
1
- {"version":3,"file":"ApplicationLayout.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/_work_in_progress/grid/ApplicationLayout/ApplicationLayout.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,cAAc,CAAC;AAOtB;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,mCAI/B,sBAAsB,KAAG,KAAK,CAAC,SAWjC,CAAC"}
1
+ {"version":3,"file":"ApplicationLayout.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/_work_in_progress/grid/ApplicationLayout/ApplicationLayout.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,cAAc,CAAC;AAOtB;;GAEG;AACH,eAAO,MAAM,iBAAiB,sCAI3B,sBAAsB,KAAG,KAAK,CAAC,SAWjC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"GridCard.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/_work_in_progress/grid/GridCard/GridCard.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,cAAc,CAAC;AAMtB;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,mCAItB,aAAa,KAAG,KAAK,CAAC,SASxB,CAAC"}
1
+ {"version":3,"file":"GridCard.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/_work_in_progress/grid/GridCard/GridCard.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,cAAc,CAAC;AAMtB;;GAEG;AACH,eAAO,MAAM,QAAQ,sCAIlB,aAAa,KAAG,KAAK,CAAC,SASxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"InnerGridDemo.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/_work_in_progress/grid/InnerGridDemo/InnerGridDemo.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,cAAc,CAAC;AAMtB;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,mCAI3B,kBAAkB,KAAG,KAAK,CAAC,SAuB7B,CAAC"}
1
+ {"version":3,"file":"InnerGridDemo.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/_work_in_progress/grid/InnerGridDemo/InnerGridDemo.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,cAAc,CAAC;AAMtB;;GAEG;AACH,eAAO,MAAM,aAAa,sCAIvB,kBAAkB,KAAG,KAAK,CAAC,SAuB7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"SettingsView.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/_work_in_progress/grid/SettingsView/SettingsView.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,cAAc,CAAC;AAMtB;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,0CAK1B,iBAAiB,KAAG,KAAK,CAAC,SAoB5B,CAAC"}
1
+ {"version":3,"file":"SettingsView.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/_work_in_progress/grid/SettingsView/SettingsView.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AACpD,OAAO,cAAc,CAAC;AAMtB;;GAEG;AACH,eAAO,MAAM,YAAY,6CAKtB,iBAAiB,KAAG,KAAK,CAAC,SAoB5B,CAAC"}
@@ -1,26 +1,10 @@
1
1
  import type React from "react";
2
+ import { Item } from "./common/index.js";
2
3
  import type { AccordionProps } from "./types.js";
3
4
  import "./styles.css";
4
- /**
5
- * The accordion is a vertically stacked content area which can be collapsed
6
- * and expanded to reveal or hide its contents. An Accordion.Item can be opened
7
- * or closed independently of its surrounding counterparts (i.e: multiple
8
- * accordions can be open at the same time).
9
- *
10
- * Accordions can help browse different pieces of related content in a more
11
- * efficient way. Be wary that they can also hide content from users and are
12
- * not suitable when a user is meant to read all of the page content.
13
- *
14
- * `import { Accordion } from "@canonical/react-ds-global";`
15
- *
16
- * @implements ds:global.component.accordion
17
- */
18
- declare const Accordion: {
19
- ({ className, children, ...props }: AccordionProps): React.ReactElement;
20
- Item: {
21
- ({ heading, children, expanded, onExpandedChange, className, ...props }: import("./common/index.js").ItemProps): React.ReactElement;
22
- displayName: string;
23
- };
24
- };
5
+ declare function Accordion({ className, children, ...props }: AccordionProps): React.ReactElement;
6
+ declare namespace Accordion {
7
+ export { Item };
8
+ }
25
9
  export default Accordion;
26
10
  //# sourceMappingURL=Accordion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,SAAS;wCAIZ,cAAc,GAAG,KAAK,CAAC,YAAY;;;;;CAOrC,CAAC;AAIF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Accordion.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Accordion/Accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AACjD,OAAO,cAAc,CAAC;2BAkBH,EACjB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,cAAc,GAAG,KAAK,CAAC,YAAY;;;;eAWvB,SAAS"}
@@ -1,20 +1,9 @@
1
1
  import type React from "react";
2
2
  import type { ItemProps } from "./types.js";
3
3
  import "./styles.css";
4
- /**
5
- * Accordion.Item subcomponent
6
- *
7
- * A collapsible content area within an Accordion, rendered with native
8
- * `<details>`/`<summary>` so the browser owns the open/close state and
9
- * keyboard interaction (Enter/Space on the summary toggles it). No JavaScript
10
- * state is required; `expanded`/`onExpandedChange` is an optional controlled
11
- * overlay on the native `open` attribute.
12
- *
13
- * @implements ds:global.subcomponent.accordion-item
14
- */
15
- declare const Item: {
16
- ({ heading, children, expanded, onExpandedChange, className, ...props }: ItemProps): React.ReactElement;
17
- displayName: string;
18
- };
4
+ declare function Item({ heading, children, expanded, onExpandedChange, className, ...props }: ItemProps): React.ReactElement;
5
+ declare namespace Item {
6
+ var displayName: string;
7
+ }
19
8
  export default Item;
20
9
  //# sourceMappingURL=Item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/Accordion/common/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;GAUG;AACH,QAAA,MAAM,IAAI;6EAOP,SAAS,GAAG,KAAK,CAAC,YAAY;;CA8BhC,CAAC;AAIF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/Accordion/common/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,cAAc,CAAC;sBAeR,EACZ,OAAO,EACP,QAAQ,EACR,QAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,SAAS,GAAG,KAAK,CAAC,YAAY;;;;eAkClB,IAAI"}
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,cAAc,CAAC;AAKtB;;;GAGG;AACH,QAAA,MAAM,KAAK,GAAI,gFAOZ,UAAU,KAAG,KAAK,CAAC,YAkBrB,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Badge/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,cAAc,CAAC;AAKtB;;;GAGG;AACH,QAAA,MAAM,KAAK,mFAOR,UAAU,KAAG,KAAK,CAAC,YAkBrB,CAAC;eAEa,KAAK"}
@@ -1 +1 @@
1
- {"version":3,"file":"useBadge.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/component/Badge/hooks/useBadge.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAMjE;;GAEG;AACH,QAAA,MAAM,QAAQ,GAAI,+CAIf,aAAa,KAAG,cAsBlB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"useBadge.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/component/Badge/hooks/useBadge.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAMjE;;GAEG;AACH,QAAA,MAAM,QAAQ,kDAIX,aAAa,KAAG,cAsBlB,CAAC;eAEa,QAAQ"}
@@ -1,26 +1,10 @@
1
1
  import type React from "react";
2
+ import { Item } from "./common/index.js";
2
3
  import type { BreadcrumbsProps } from "./types.js";
3
4
  import "./styles.css";
4
- /**
5
- * Breadcrumbs are a navigational aid that shows users their current location
6
- * within a site's information architecture. They provide a clear path from the
7
- * root of the information architecture (IA) to the current page, allowing users
8
- * to quickly understand where they are and easily navigate back to previous
9
- * levels in the IA. Breadcrumbs should reflect the IA, not the user's path
10
- * they took to arrive at the current page. They work best in websites or
11
- * applications with multiple levels of hierarchy and are particularly useful
12
- * when users might arrive at deep pages through search or external links.
13
- *
14
- * `import { Breadcrumbs } from "@canonical/react-ds-global";`
15
- *
16
- * @implements ds:global.component.breadcrumbs
17
- */
18
- declare const Breadcrumbs: {
19
- ({ items, separator, LinkComponent, className, "aria-label": ariaLabel, ...props }: BreadcrumbsProps): React.ReactElement;
20
- Item: {
21
- ({ children, label, url, current, separator, disabled, className, LinkComponent, key: _key, items: _items, Component: _Component, ...props }: import("./common/index.js").ItemProps): React.ReactElement;
22
- displayName: string;
23
- };
24
- };
5
+ declare function Breadcrumbs({ items, separator, LinkComponent, className, "aria-label": ariaLabel, ...props }: BreadcrumbsProps): React.ReactElement;
6
+ declare namespace Breadcrumbs {
7
+ export { Item };
8
+ }
25
9
  export default Breadcrumbs;
26
10
  //# sourceMappingURL=Breadcrumbs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Breadcrumbs/Breadcrumbs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAItB;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,WAAW;wFAOd,gBAAgB,GAAG,KAAK,CAAC,YAAY;;;;;CAyBvC,CAAC;AAIF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"Breadcrumbs.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Breadcrumbs/Breadcrumbs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;6BAkBD,EACnB,KAAK,EACL,SAAe,EACf,aAAmB,EACnB,SAAS,EACT,YAAY,EAAE,SAAwB,EACtC,GAAG,KAAK,EACT,EAAE,gBAAgB,GAAG,KAAK,CAAC,YAAY;;;;eA6BzB,WAAW"}
@@ -1,17 +1,9 @@
1
1
  import type React from "react";
2
2
  import type { ItemProps } from "./types.js";
3
3
  import "./styles.css";
4
- /**
5
- * Default breadcrumb item renderer.
6
- *
7
- * Can be replaced by providing a custom Component in the Item
8
- * that satisfies ItemProps.
9
- *
10
- * @implements ds:global.subcomponent.breadcrumbs-item
11
- */
12
- declare const Item: {
13
- ({ children, label, url, current, separator, disabled, className, LinkComponent, key: _key, items: _items, Component: _Component, ...props }: ItemProps): React.ReactElement;
14
- displayName: string;
15
- };
4
+ declare function Item({ children, label, url, current, separator, disabled, className, LinkComponent, key: _key, items: _items, Component: _Component, ...props }: ItemProps): React.ReactElement;
5
+ declare namespace Item {
6
+ var displayName: string;
7
+ }
16
8
  export default Item;
17
9
  //# sourceMappingURL=Item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/Breadcrumbs/common/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,cAAc,CAAC;AAItB;;;;;;;GAOG;AACH,QAAA,MAAM,IAAI;kJAcP,SAAS,GAAG,KAAK,CAAC,YAAY;;CA4ChC,CAAC;AAIF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/Breadcrumbs/common/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,cAAc,CAAC;sBAYR,EACZ,QAAQ,EACR,KAAK,EACL,GAAG,EACH,OAAe,EACf,SAAe,EACf,QAAgB,EAChB,SAAS,EACT,aAAmB,EAEnB,GAAG,EAAE,IAAI,EACT,KAAK,EAAE,MAAM,EACb,SAAS,EAAE,UAAU,EACrB,GAAG,KAAK,EACT,EAAE,SAAS,GAAG,KAAK,CAAC,YAAY;;;;eAgDlB,IAAI"}
@@ -1 +1 @@
1
- {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,cAAc,CAAC;AAItB;;;;;;;;GAQG;AACH,QAAA,MAAM,MAAM,GAAI,0GAYb,KAAK,KAAG,KAAK,CAAC,YA2DhB,CAAC;AAEF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Button/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AACpC,OAAO,cAAc,CAAC;AAItB;;;;;;;;GAQG;AACH,QAAA,MAAM,MAAM,6GAYT,KAAK,KAAG,KAAK,CAAC,YA2DhB,CAAC;eAEa,MAAM"}
@@ -1,42 +1,13 @@
1
1
  import type React from "react";
2
+ import { Content, Footer, Header, Image } from "./common/index.js";
2
3
  import type { CardProps } from "./types.js";
3
4
  import "./styles.css";
4
- /**
5
- * The card is a container that is designed to represent data objects that share
6
- * the same structure. Unlike the more flexible Tile, a card is designed to have
7
- * multiple units displayed beside one another. Because of this, the card has a
8
- * predictable structure that allows the user to compare attributes across data
9
- * objects.
10
- *
11
- * A Card is always a grid participant: `.ds.card` is a ROW SUBGRID that spans
12
- * four fixed section tracks (image / header / content / footer), inheriting them
13
- * from its parent grid. Standalone (wrapped in a `.grid`) it lays its own
14
- * sections out on those tracks; inside a `Cards` group it shares the group's
15
- * tracks so the same sections line up across every card in the row. See the
16
- * `Cards` group component for the full layout model.
17
- *
18
- * `import { Card } from "@canonical/react-ds-global";`
19
- *
20
- * @implements ds:global.component.card
21
- */
22
- declare const Card: {
23
- ({ className, children, ...props }: CardProps): React.ReactElement;
24
- Content: {
25
- ({ children, className, ...props }: import("./common/index.js").ContentProps): React.ReactElement;
26
- displayName: string;
27
- };
28
- Footer: {
29
- ({ children, className, ...props }: import("./common/index.js").FooterProps): React.ReactElement;
30
- displayName: string;
31
- };
32
- Header: {
33
- ({ children, className, ...props }: import("./common/index.js").HeaderProps): React.ReactElement;
34
- displayName: string;
35
- };
36
- Image: {
37
- ({ className, alt, ...props }: import("./common/index.js").ImageProps): React.ReactElement;
38
- displayName: string;
39
- };
40
- };
5
+ declare function Card({ className, children, ...props }: CardProps): React.ReactElement;
6
+ declare namespace Card {
7
+ export { Content };
8
+ export { Footer };
9
+ export { Header };
10
+ export { Image };
11
+ }
41
12
  export default Card;
42
13
  //# sourceMappingURL=Card.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,cAAc,CAAC;AAQtB;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,IAAI;wCAIP,SAAS,GAAG,KAAK,CAAC,YAAY;;;;;;;;;;;;;;;;;CAOhC,CAAC;AAOF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Card/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,cAAc,CAAC;sBA0BR,EACZ,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,SAAS,GAAG,KAAK,CAAC,YAAY;;;;;;;eAclB,IAAI"}
@@ -1,14 +1,9 @@
1
1
  import type React from "react";
2
2
  import type { ContentProps } from "./types.js";
3
3
  import "./styles.css";
4
- /**
5
- * Content component for Card
6
- *
7
- * @implements ds:global.subcomponent.card-content
8
- */
9
- declare const Content: {
10
- ({ children, className, ...props }: ContentProps): React.ReactElement;
11
- displayName: string;
12
- };
4
+ declare function Content({ children, className, ...props }: ContentProps): React.ReactElement;
5
+ declare namespace Content {
6
+ var displayName: string;
7
+ }
13
8
  export default Content;
14
9
  //# sourceMappingURL=Content.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/Card/common/Content/Content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,cAAc,CAAC;AAItB;;;;GAIG;AACH,QAAA,MAAM,OAAO;wCAIV,YAAY,GAAG,KAAK,CAAC,YAAY;;CASnC,CAAC;AAIF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"Content.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/Card/common/Content/Content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,cAAc,CAAC;yBASL,EACf,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,YAAY,GAAG,KAAK,CAAC,YAAY;;;;eAarB,OAAO"}
@@ -1,15 +1,9 @@
1
1
  import type React from "react";
2
2
  import type { FooterProps } from "./types.js";
3
3
  import "./styles.css";
4
- /**
5
- * Footer component for Card. A padded content-bearing section pinned to the
6
- * bottom of the card, for tags and labels.
7
- *
8
- * @implements ds:global.subcomponent.card-footer
9
- */
10
- declare const Footer: {
11
- ({ children, className, ...props }: FooterProps): React.ReactElement;
12
- displayName: string;
13
- };
4
+ declare function Footer({ children, className, ...props }: FooterProps): React.ReactElement;
5
+ declare namespace Footer {
6
+ var displayName: string;
7
+ }
14
8
  export default Footer;
15
9
  //# sourceMappingURL=Footer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/Card/common/Footer/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,cAAc,CAAC;AAItB;;;;;GAKG;AACH,QAAA,MAAM,MAAM;wCAIT,WAAW,GAAG,KAAK,CAAC,YAAY;;CASlC,CAAC;AAIF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Footer.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/Card/common/Footer/Footer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,cAAc,CAAC;wBAUN,EACd,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY;;;;eAapB,MAAM"}
@@ -1,14 +1,9 @@
1
1
  import type React from "react";
2
2
  import type { HeaderProps } from "./types.js";
3
3
  import "./styles.css";
4
- /**
5
- * Header component for Card
6
- *
7
- * @implements ds:global.subcomponent.card-header
8
- */
9
- declare const Header: {
10
- ({ children, className, ...props }: HeaderProps): React.ReactElement;
11
- displayName: string;
12
- };
4
+ declare function Header({ children, className, ...props }: HeaderProps): React.ReactElement;
5
+ declare namespace Header {
6
+ var displayName: string;
7
+ }
13
8
  export default Header;
14
9
  //# sourceMappingURL=Header.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/Card/common/Header/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,cAAc,CAAC;AAItB;;;;GAIG;AACH,QAAA,MAAM,MAAM;wCAIT,WAAW,GAAG,KAAK,CAAC,YAAY;;CASlC,CAAC;AAIF,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/Card/common/Header/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,cAAc,CAAC;wBASN,EACd,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,WAAW,GAAG,KAAK,CAAC,YAAY;;;;eAapB,MAAM"}
@@ -1,16 +1,9 @@
1
1
  import type React from "react";
2
2
  import type { ImageProps } from "./types.js";
3
3
  import "./styles.css";
4
- /**
5
- * Card.Image subcomponent
6
- *
7
- * Full-width image with content bleed (no padding).
8
- *
9
- * @implements ds:global.subcomponent.card-image
10
- */
11
- declare const Image: {
12
- ({ className, alt, ...props }: ImageProps): React.ReactElement;
13
- displayName: string;
14
- };
4
+ declare function Image({ className, alt, ...props }: ImageProps): React.ReactElement;
5
+ declare namespace Image {
6
+ var displayName: string;
7
+ }
15
8
  export default Image;
16
9
  //# sourceMappingURL=Image.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/Card/common/Image/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,cAAc,CAAC;AAItB;;;;;;GAMG;AACH,QAAA,MAAM,KAAK;mCAIR,UAAU,GAAG,KAAK,CAAC,YAAY;;CAQjC,CAAC;AAIF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Image.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/Card/common/Image/Image.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAC7C,OAAO,cAAc,CAAC;uBAWP,EACb,SAAS,EACT,GAAG,EACH,GAAG,KAAK,EACT,EAAE,UAAU,GAAG,KAAK,CAAC,YAAY;;;;eAYnB,KAAK"}
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAI5C;;;;;;;;;;GAUG;AACH,QAAA,MAAM,IAAI,GAAI,OAAO,SAAS,KAAG,KAAK,CAAC,YA+DtC,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAI5C;;;;;;;;;;GAUG;AACH,QAAA,MAAM,IAAI,UAAW,SAAS,KAAG,KAAK,CAAC,YA+DtC,CAAC;eAEa,IAAI"}
@@ -10,6 +10,6 @@ import "./styles.css";
10
10
  *
11
11
  * @implements ds:global.component.contextual_menu
12
12
  */
13
- declare const ContextualMenu: ({ trigger, items, label, className, preferredDirections, distance, gutter, maxWidth, autoFit, wrap, onSelect, open, onOpenChange, ...props }: ContextualMenuProps) => React.ReactElement;
13
+ declare const ContextualMenu: ({ children, items, label, className, preferredDirections, distance, gutter, maxWidth, autoFit, wrap, onSelect, open, onOpenChange, ...props }: ContextualMenuProps) => React.ReactElement;
14
14
  export default ContextualMenu;
15
15
  //# sourceMappingURL=ContextualMenu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ContextualMenu.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ContextualMenu/ContextualMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,KAAK,EAAE,mBAAmB,EAAY,MAAM,YAAY,CAAC;AAChE,OAAO,cAAc,CAAC;AAItB;;;;;;;;GAQG;AACH,QAAA,MAAM,cAAc,GAAI,8IAerB,mBAAmB,KAAG,KAAK,CAAC,YAmJ9B,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"ContextualMenu.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ContextualMenu/ContextualMenu.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,KAAK,EAAE,mBAAmB,EAAY,MAAM,YAAY,CAAC;AAChE,OAAO,cAAc,CAAC;AAItB;;;;;;;;GAQG;AACH,QAAA,MAAM,cAAc,kJAejB,mBAAmB,KAAG,KAAK,CAAC,YAkJ9B,CAAC;eAEa,cAAc"}
@@ -1 +1 @@
1
- {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/ContextualMenu/common/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,cAAc,CAAC;AAItB;;;;;;;GAOG;AACH,QAAA,MAAM,IAAI,GAAI,+BAA+B,SAAS,KAAG,KAAK,CAAC,YAkF9D,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Item.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/ContextualMenu/common/Item/Item.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,cAAc,CAAC;AAItB;;;;;;;GAOG;AACH,QAAA,MAAM,IAAI,kCAAmC,SAAS,KAAG,KAAK,CAAC,YAkF9D,CAAC;eAEa,IAAI"}
@@ -1 +1 @@
1
- {"version":3,"file":"MenuContext.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/component/ContextualMenu/common/MenuContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C;;;;;;GAMG;AACH,MAAM,WAAW,gBACf,SAAQ,IAAI,CACV,uBAAuB,EACrB,cAAc,GACd,cAAc,GACd,eAAe,GACf,eAAe,GACf,OAAO,GACP,QAAQ,CACX;IACD,yEAAyE;IACzE,YAAY,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC;CAC/C;AAED,QAAA,MAAM,WAAW,kDAA+C,CAAC;AAEjE,yEAAyE;AACzE,eAAO,MAAM,cAAc,QAAO,gBAMjC,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"MenuContext.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/component/ContextualMenu/common/MenuContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAEjD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAE5C;;;;;;GAMG;AACH,MAAM,WAAW,gBACf,SAAQ,IAAI,CACV,uBAAuB,EACrB,cAAc,GACd,cAAc,GACd,eAAe,GACf,eAAe,GACf,OAAO,GACP,QAAQ,CACX;IACD,yEAAyE;IACzE,YAAY,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAC;CAC/C;AAED,QAAA,MAAM,WAAW,kDAA+C,CAAC;AAEjE,yEAAyE;AACzE,eAAO,MAAM,cAAc,QAAO,gBAMjC,CAAC;eAEa,WAAW"}
@@ -1 +1 @@
1
- {"version":3,"file":"SubMenu.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/ContextualMenu/common/SubMenu/SubMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,KAAK,YAAY,EAAsC,MAAM,OAAO,CAAC;AAQ9E,OAAO,KAAK,EAAE,SAAS,EAAY,MAAM,gBAAgB,CAAC;AAI1D;;;;;;;;GAQG;AACH,QAAA,MAAM,OAAO,GAAI,UAAU;IAAE,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;CAAE,KAAG,YAmBvD,CAAC;AAgKF,eAAe,OAAO,CAAC"}
1
+ {"version":3,"file":"SubMenu.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/component/ContextualMenu/common/SubMenu/SubMenu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAGjD,OAAO,EAAE,KAAK,YAAY,EAAsC,MAAM,OAAO,CAAC;AAQ9E,OAAO,KAAK,EAAE,SAAS,EAAY,MAAM,gBAAgB,CAAC;AAI1D;;;;;;;;GAQG;AACH,QAAA,MAAM,OAAO,aAAc;IAAE,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC,CAAA;CAAE,KAAG,YAmBvD,CAAC;eA+Ja,OAAO"}
@@ -13,7 +13,7 @@ type OwnProps = Pick<UseContextualMenuProps, "distance" | "gutter" | "maxWidth"
13
13
  * The trigger content, rendered inside the trigger button. Clicking it opens
14
14
  * the menu.
15
15
  */
16
- trigger: ReactNode;
16
+ children: ReactNode;
17
17
  /**
18
18
  * The menu entries: one flat list of items and separators
19
19
  * (`{ type: "separator", key: "…" }`). An item's own `items` form its submenu, which
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ContextualMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EACV,SAAS,EACT,QAAQ,EACR,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,sBAAsB,CAAC;AAE9B,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE/E,KAAK,QAAQ,GAAG,IAAI,CAClB,sBAAsB,EACtB,UAAU,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAC/C,GAAG;IACF;;;;;OAKG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,OAAO,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,iBAAiB,GAAG,sBAAsB,CAAC,EAAE,CAAC;IACrE,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACpC,6BAA6B;IAC7B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,0CAA0C;IAC1C,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GACxC,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,MAAM,QAAQ,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/ContextualMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,KAAK,EACV,SAAS,EACT,QAAQ,EACR,sBAAsB,EACtB,sBAAsB,EACtB,iBAAiB,EAClB,MAAM,sBAAsB,CAAC;AAE9B,YAAY,EAAE,SAAS,EAAE,QAAQ,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE/E,KAAK,QAAQ,GAAG,IAAI,CAClB,sBAAsB,EACtB,UAAU,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,CAC/C,GAAG;IACF;;;;;OAKG;IACH,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;;;OAIG;IACH,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,CAAC,iBAAiB,GAAG,sBAAsB,CAAC,EAAE,CAAC;IACrE,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACpC,6BAA6B;IAC7B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,0CAA0C;IAC1C,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GACxC,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,MAAM,QAAQ,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,cAAc,CAAC;AAQtB;;;;;;GAMG;AACH,QAAA,MAAM,IAAI,GAAI,+DAQX,SAAS,KAAG,YAsBd,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/Icon/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,cAAc,CAAC;AAQtB;;;;;;GAMG;AACH,QAAA,MAAM,IAAI,kEAQP,SAAS,KAAG,YAsBd,CAAC;eAEa,IAAI"}
@@ -1 +1 @@
1
- {"version":3,"file":"InlineCode.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/InlineCode/InlineCode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,cAAc,CAAC;AAItB;;;;;;GAMG;AACH,QAAA,MAAM,UAAU,GAAI,mCAIjB,eAAe,KAAG,KAAK,CAAC,YAW1B,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"InlineCode.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/InlineCode/InlineCode.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAC;AAClD,OAAO,cAAc,CAAC;AAItB;;;;;;GAMG;AACH,QAAA,MAAM,UAAU,sCAIb,eAAe,KAAG,KAAK,CAAC,YAW1B,CAAC;eAEa,UAAU"}
@@ -1 +1 @@
1
- {"version":3,"file":"KeyboardKey.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/KeyboardKey/KeyboardKey.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAQtB;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,WAAW,GAAI,mCAIlB,gBAAgB,KAAG,KAAK,CAAC,YAU3B,CAAC;AAEF,eAAe,WAAW,CAAC"}
1
+ {"version":3,"file":"KeyboardKey.d.ts","sourceRoot":"","sources":["../../../../../src/lib/component/KeyboardKey/KeyboardKey.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAQtB;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,WAAW,sCAId,gBAAgB,KAAG,KAAK,CAAC,YAU3B,CAAC;eAEa,WAAW"}