@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.
- package/dist/esm/lib/component/Breadcrumbs/common/Item/Item.js +1 -6
- package/dist/esm/lib/component/Breadcrumbs/common/Item/Item.js.map +1 -1
- package/dist/esm/lib/component/Chip/Chip.js +2 -6
- package/dist/esm/lib/component/Chip/Chip.js.map +1 -1
- package/dist/esm/lib/component/ContextualMenu/ContextualMenu.js +3 -7
- package/dist/esm/lib/component/ContextualMenu/ContextualMenu.js.map +1 -1
- package/dist/esm/lib/component/ContextualMenu/common/Item/Item.js +2 -4
- package/dist/esm/lib/component/ContextualMenu/common/Item/Item.js.map +1 -1
- package/dist/esm/lib/component/ContextualMenu/common/SubMenu/SubMenu.js +1 -4
- package/dist/esm/lib/component/ContextualMenu/common/SubMenu/SubMenu.js.map +1 -1
- package/dist/esm/lib/component/ContextualMenu/styles.css +3 -4
- package/dist/esm/lib/component/Icon/Icon.js +1 -3
- package/dist/esm/lib/component/Icon/Icon.js.map +1 -1
- package/dist/esm/lib/component/Tooltip/Tooltip.js +1 -5
- package/dist/esm/lib/component/Tooltip/Tooltip.js.map +1 -1
- package/dist/esm/lib/component/Tooltip/TooltipEngine.js +64 -0
- package/dist/esm/lib/component/Tooltip/TooltipEngine.js.map +1 -0
- package/dist/esm/lib/component/Tooltip/index.js +1 -0
- package/dist/esm/lib/component/Tooltip/index.js.map +1 -1
- package/dist/esm/lib/component/Tooltip/withTooltip.js +11 -63
- package/dist/esm/lib/component/Tooltip/withTooltip.js.map +1 -1
- package/dist/esm/lib/group/Cards/Cards.js +1 -1
- package/dist/esm/lib/group/Cards/styles.css +1 -1
- package/dist/esm/lib/hooks/useWindowDimensions/useWindowDimensions.js.map +1 -1
- package/dist/esm/lib/hooks/useWindowFitment/useWindowFitment.js +26 -6
- package/dist/esm/lib/hooks/useWindowFitment/useWindowFitment.js.map +1 -1
- package/dist/esm/lib/pattern/Modal/common/Header/styles.css +31 -3
- package/dist/esm/lib/pattern/Modal/withModal.js +1 -1
- package/dist/esm/lib/subcomponent/Spinner/Spinner.js +1 -3
- package/dist/esm/lib/subcomponent/Spinner/Spinner.js.map +1 -1
- package/dist/types/lib/_work_in_progress/Announcement/Announcement.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/CategoriesSection/CategoriesSection.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/CategoriesSection/common/Category/Category.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/CategoriesSection/fixtures.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/ChatSection/ChatSection.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/DescriptionSection/DescriptionSection.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/IconSection/IconSection.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/Label/Label.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/Link/Link.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/Rule/Rule.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/Section/Section.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/SkipLink/SkipLink.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/TSection/TSection.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/grid/ApplicationLayout/ApplicationLayout.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/grid/GridCard/GridCard.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/grid/InnerGridDemo/InnerGridDemo.d.ts.map +1 -1
- package/dist/types/lib/_work_in_progress/grid/SettingsView/SettingsView.d.ts.map +1 -1
- package/dist/types/lib/component/Accordion/Accordion.d.ts +5 -21
- package/dist/types/lib/component/Accordion/Accordion.d.ts.map +1 -1
- package/dist/types/lib/component/Accordion/common/Item/Item.d.ts +4 -15
- package/dist/types/lib/component/Accordion/common/Item/Item.d.ts.map +1 -1
- package/dist/types/lib/component/Badge/Badge.d.ts.map +1 -1
- package/dist/types/lib/component/Badge/hooks/useBadge.d.ts.map +1 -1
- package/dist/types/lib/component/Breadcrumbs/Breadcrumbs.d.ts +5 -21
- package/dist/types/lib/component/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/types/lib/component/Breadcrumbs/common/Item/Item.d.ts +4 -12
- package/dist/types/lib/component/Breadcrumbs/common/Item/Item.d.ts.map +1 -1
- package/dist/types/lib/component/Button/Button.d.ts.map +1 -1
- package/dist/types/lib/component/Card/Card.d.ts +8 -37
- package/dist/types/lib/component/Card/Card.d.ts.map +1 -1
- package/dist/types/lib/component/Card/common/Content/Content.d.ts +4 -9
- package/dist/types/lib/component/Card/common/Content/Content.d.ts.map +1 -1
- package/dist/types/lib/component/Card/common/Footer/Footer.d.ts +4 -10
- package/dist/types/lib/component/Card/common/Footer/Footer.d.ts.map +1 -1
- package/dist/types/lib/component/Card/common/Header/Header.d.ts +4 -9
- package/dist/types/lib/component/Card/common/Header/Header.d.ts.map +1 -1
- package/dist/types/lib/component/Card/common/Image/Image.d.ts +4 -11
- package/dist/types/lib/component/Card/common/Image/Image.d.ts.map +1 -1
- package/dist/types/lib/component/Chip/Chip.d.ts.map +1 -1
- package/dist/types/lib/component/ContextualMenu/ContextualMenu.d.ts +1 -1
- package/dist/types/lib/component/ContextualMenu/ContextualMenu.d.ts.map +1 -1
- package/dist/types/lib/component/ContextualMenu/common/Item/Item.d.ts.map +1 -1
- package/dist/types/lib/component/ContextualMenu/common/MenuContext.d.ts.map +1 -1
- package/dist/types/lib/component/ContextualMenu/common/SubMenu/SubMenu.d.ts.map +1 -1
- package/dist/types/lib/component/ContextualMenu/types.d.ts +1 -1
- package/dist/types/lib/component/ContextualMenu/types.d.ts.map +1 -1
- package/dist/types/lib/component/Icon/Icon.d.ts.map +1 -1
- package/dist/types/lib/component/InlineCode/InlineCode.d.ts.map +1 -1
- package/dist/types/lib/component/KeyboardKey/KeyboardKey.d.ts.map +1 -1
- package/dist/types/lib/component/KeyboardKey/constants.d.ts +33 -33
- package/dist/types/lib/component/KeyboardKey/constants.d.ts.map +1 -1
- package/dist/types/lib/component/Popover/Popover.d.ts.map +1 -1
- package/dist/types/lib/component/Tabs/Tabs.d.ts.map +1 -1
- package/dist/types/lib/component/Tabs/common/Item/Item.d.ts.map +1 -1
- package/dist/types/lib/component/Tile/Tile.d.ts +6 -21
- package/dist/types/lib/component/Tile/Tile.d.ts.map +1 -1
- package/dist/types/lib/component/Tile/common/Content/Content.d.ts +4 -11
- package/dist/types/lib/component/Tile/common/Content/Content.d.ts.map +1 -1
- package/dist/types/lib/component/Tile/common/Header/Header.d.ts +4 -11
- package/dist/types/lib/component/Tile/common/Header/Header.d.ts.map +1 -1
- package/dist/types/lib/component/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/lib/component/Tooltip/TooltipEngine.d.ts +16 -0
- package/dist/types/lib/component/Tooltip/TooltipEngine.d.ts.map +1 -0
- package/dist/types/lib/component/Tooltip/index.d.ts +1 -0
- package/dist/types/lib/component/Tooltip/index.d.ts.map +1 -1
- package/dist/types/lib/component/Tooltip/withTooltip.d.ts +9 -3
- package/dist/types/lib/component/Tooltip/withTooltip.d.ts.map +1 -1
- package/dist/types/lib/group/Cards/Cards.d.ts +1 -1
- package/dist/types/lib/group/Cards/Cards.d.ts.map +1 -1
- package/dist/types/lib/group/Cards/types.d.ts +2 -2
- package/dist/types/lib/group/KeyboardKeys/KeyboardKeys.d.ts.map +1 -1
- package/dist/types/lib/hooks/useContextualMenu/isMenuSeparator.d.ts.map +1 -1
- package/dist/types/lib/hooks/useContextualMenu/useContextualMenu.d.ts.map +1 -1
- package/dist/types/lib/hooks/useDelayedToggle/useDelayedToggle.d.ts.map +1 -1
- package/dist/types/lib/hooks/useDisclosure/useDisclosure.d.ts.map +1 -1
- package/dist/types/lib/hooks/useIsMounted/useIsMounted.d.ts.map +1 -1
- package/dist/types/lib/hooks/useWindowFitment/useWindowFitment.d.ts +10 -5
- package/dist/types/lib/hooks/useWindowFitment/useWindowFitment.d.ts.map +1 -1
- package/dist/types/lib/pattern/Modal/Context.d.ts.map +1 -1
- package/dist/types/lib/pattern/Modal/Provider.d.ts +7 -58
- package/dist/types/lib/pattern/Modal/Provider.d.ts.map +1 -1
- package/dist/types/lib/pattern/Modal/common/Content/Content.d.ts +4 -12
- package/dist/types/lib/pattern/Modal/common/Content/Content.d.ts.map +1 -1
- package/dist/types/lib/pattern/Modal/common/Footer/Footer.d.ts +4 -13
- package/dist/types/lib/pattern/Modal/common/Footer/Footer.d.ts.map +1 -1
- package/dist/types/lib/pattern/Modal/common/Header/Header.d.ts +4 -19
- package/dist/types/lib/pattern/Modal/common/Header/Header.d.ts.map +1 -1
- package/dist/types/lib/pattern/Modal/hooks/useModalState.d.ts.map +1 -1
- package/dist/types/lib/pattern/Modal/withModal.d.ts.map +1 -1
- package/dist/types/lib/pattern/Timeline/Timeline.d.ts +6 -23
- package/dist/types/lib/pattern/Timeline/Timeline.d.ts.map +1 -1
- package/dist/types/lib/pattern/Timeline/common/Content/Content.d.ts +4 -11
- package/dist/types/lib/pattern/Timeline/common/Content/Content.d.ts.map +1 -1
- package/dist/types/lib/pattern/Timeline/common/Event/Event.d.ts +4 -12
- package/dist/types/lib/pattern/Timeline/common/Event/Event.d.ts.map +1 -1
- package/dist/types/lib/subcomponent/Spinner/Spinner.d.ts.map +1 -1
- 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 {
|
|
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
|
|
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,
|
|
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,
|
|
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"}
|
package/dist/types/lib/_work_in_progress/CategoriesSection/common/Category/Category.d.ts.map
CHANGED
|
@@ -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,
|
|
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":"
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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;
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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;
|
|
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,
|
|
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,
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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;
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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;
|
|
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,
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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;
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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;
|
|
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
|
-
|
|
6
|
-
|
|
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;
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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;
|
|
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
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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;
|
|
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,
|
|
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: ({
|
|
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,
|
|
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,
|
|
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;
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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"}
|