@canonical/react-ds-global 0.29.0 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/lib/component/Accordion/Accordion.js +2 -0
- package/dist/esm/lib/component/Accordion/Accordion.js.map +1 -1
- package/dist/esm/lib/component/Breadcrumbs/Breadcrumbs.js +2 -0
- package/dist/esm/lib/component/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/dist/esm/lib/component/Icon/Icon.js +3 -0
- package/dist/esm/lib/component/Icon/Icon.js.map +1 -1
- package/dist/esm/lib/component/InlineCode/InlineCode.js +2 -0
- package/dist/esm/lib/component/InlineCode/InlineCode.js.map +1 -1
- package/dist/esm/lib/component/KeyboardKey/KeyboardKey.js +2 -0
- package/dist/esm/lib/component/KeyboardKey/KeyboardKey.js.map +1 -1
- package/dist/esm/lib/group/KeyboardKeys/KeyboardKeys.js +3 -0
- package/dist/esm/lib/group/KeyboardKeys/KeyboardKeys.js.map +1 -1
- package/dist/types/lib/component/Accordion/Accordion.d.ts +2 -0
- package/dist/types/lib/component/Accordion/Accordion.d.ts.map +1 -1
- package/dist/types/lib/component/Breadcrumbs/Breadcrumbs.d.ts +2 -0
- package/dist/types/lib/component/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/dist/types/lib/component/Icon/Icon.d.ts +3 -0
- package/dist/types/lib/component/Icon/Icon.d.ts.map +1 -1
- package/dist/types/lib/component/InlineCode/InlineCode.d.ts +2 -0
- package/dist/types/lib/component/InlineCode/InlineCode.d.ts.map +1 -1
- package/dist/types/lib/component/KeyboardKey/KeyboardKey.d.ts +2 -0
- package/dist/types/lib/component/KeyboardKey/KeyboardKey.d.ts.map +1 -1
- package/dist/types/lib/group/KeyboardKeys/KeyboardKeys.d.ts +3 -0
- package/dist/types/lib/group/KeyboardKeys/KeyboardKeys.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -12,6 +12,8 @@ const componentCssClassName = "ds accordion";
|
|
|
12
12
|
* efficient way. Be wary that they can also hide content from users and are
|
|
13
13
|
* not suitable when a user is meant to read all of the page content.
|
|
14
14
|
*
|
|
15
|
+
* `import { Accordion } from "@canonical/react-ds-global";`
|
|
16
|
+
*
|
|
15
17
|
* @implements dso:global.component.accordion
|
|
16
18
|
*/
|
|
17
19
|
const Accordion = ({ className, children, ...props }) => (_jsx("div", { className: [componentCssClassName, className].filter(Boolean).join(" "), ...props, children: children }));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../../../src/lib/component/Accordion/Accordion.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAE7C
|
|
1
|
+
{"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../../../src/lib/component/Accordion/Accordion.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,cAAc,CAAC;AAE7C;;;;;;;;;;;;;GAaG;AACH,MAAM,SAAS,GAAG,CAAC,EACjB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACO,EAAsB,EAAE,CAAC,CACxC,cACE,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,KACnE,KAAK,YAER,QAAQ,GACL,CACP,CAAC;AAEF,SAAS,CAAC,IAAI,GAAG,IAAI,CAAC;AAEtB,eAAe,SAAS,CAAC"}
|
|
@@ -13,6 +13,8 @@ const componentCssClassName = "ds breadcrumbs";
|
|
|
13
13
|
* applications with multiple levels of hierarchy and are particularly useful
|
|
14
14
|
* when users might arrive at deep pages through search or external links.
|
|
15
15
|
*
|
|
16
|
+
* `import { Breadcrumbs } from "@canonical/react-ds-global";`
|
|
17
|
+
*
|
|
16
18
|
* @implements ds:global.pattern.breadcrumbs
|
|
17
19
|
*/
|
|
18
20
|
const Breadcrumbs = ({ items, separator = "/", LinkComponent = "a", className, "aria-label": ariaLabel = "Breadcrumb", ...props }) => (_jsx("nav", { className: [componentCssClassName, className].filter(Boolean).join(" "), "aria-label": ariaLabel, ...props, children: _jsx("ol", { className: "list p", children: items.map((item) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumbs.js","sourceRoot":"","sources":["../../../../../src/lib/component/Breadcrumbs/Breadcrumbs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,gBAAgB,CAAC;AAE/C
|
|
1
|
+
{"version":3,"file":"Breadcrumbs.js","sourceRoot":"","sources":["../../../../../src/lib/component/Breadcrumbs/Breadcrumbs.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAE7C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,gBAAgB,CAAC;AAE/C;;;;;;;;;;;;;GAaG;AACH,MAAM,WAAW,GAAG,CAAC,EACnB,KAAK,EACL,SAAS,GAAG,GAAG,EACf,aAAa,GAAG,GAAG,EACnB,SAAS,EACT,YAAY,EAAE,SAAS,GAAG,YAAY,EACtC,GAAG,KAAK,EACS,EAAsB,EAAE,CAAC,CAC1C,cACE,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,gBAC3D,SAAS,KACjB,KAAK,YAET,aAAI,SAAS,EAAC,QAAQ,YACnB,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE;YAClB,MAAM,OAAO,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC;YAChC,MAAM,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,SAAS,EAAE,GAAG,IAAI,CAAC;YACzC,MAAM,aAAa,GAAG,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC;YAE7C,+CAA+C;YAC/C,yCAAyC;YACzC,OAAO,CACL,KAAC,aAAa,IAEZ,SAAS,EAAE,SAAS,EACpB,aAAa,EAAE,aAAa,KACxB,SAAS,IAHR,OAAO,CAIZ,CACH,CAAC;QACJ,CAAC,CAAC,GACC,GACD,CACP,CAAC;AAEF,WAAW,CAAC,IAAI,GAAG,IAAI,CAAC;AAExB,eAAe,WAAW,CAAC"}
|
|
@@ -5,6 +5,9 @@ const componentCssClassName = "ds icon";
|
|
|
5
5
|
const hasAccessibleName = (value) => typeof value === "string" && value.trim() !== "";
|
|
6
6
|
/**
|
|
7
7
|
* Icon component that renders SVG icons from @canonical/ds-assets
|
|
8
|
+
*
|
|
9
|
+
* `import { Icon } from "@canonical/react-ds-global";`
|
|
10
|
+
*
|
|
8
11
|
* @implements ds:global.component.icon
|
|
9
12
|
*/
|
|
10
13
|
const Icon = ({ xmlns = "http://www.w3.org/2000/svg", viewBox = "0 0 16 16", icon, className, rootPath = "/icons", role, ...props }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../../../src/lib/component/Icon/Icon.tsx"],"names":[],"mappings":";AAEA,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,SAAS,CAAC;AAExC,qEAAqE;AACrE,MAAM,iBAAiB,GAAG,CAAC,KAAyB,EAAW,EAAE,CAC/D,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC;AAEnD
|
|
1
|
+
{"version":3,"file":"Icon.js","sourceRoot":"","sources":["../../../../../src/lib/component/Icon/Icon.tsx"],"names":[],"mappings":";AAEA,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,SAAS,CAAC;AAExC,qEAAqE;AACrE,MAAM,iBAAiB,GAAG,CAAC,KAAyB,EAAW,EAAE,CAC/D,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,IAAI,GAAG,CAAC,EACZ,KAAK,GAAG,4BAA4B,EACpC,OAAO,GAAG,WAAW,EACrB,IAAI,EACJ,SAAS,EACT,QAAQ,GAAG,QAAQ,EACnB,IAAI,EACJ,GAAG,KAAK,EACE,EAAgB,EAAE;IAC5B,wEAAwE;IACxE,2EAA2E;IAC3E,2EAA2E;IAC3E,2DAA2D;IAC3D,MAAM,UAAU,GACd,iBAAiB,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;QACtC,iBAAiB,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAE9C,OAAO;IACL,kLAAkL;IAClL,cACE,KAAK,EAAE,KAAK,EACZ,OAAO,EAAE,OAAO,EAChB,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,IAAI,IAAI,QAAQ,IAAI,EAAE,GAAI,GAC5C,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -4,6 +4,8 @@ const componentCssClassName = "ds inline-code";
|
|
|
4
4
|
/**
|
|
5
5
|
* This component is used to display code inline or as a standalone block.
|
|
6
6
|
*
|
|
7
|
+
* `import { InlineCode } from "@canonical/react-ds-global";`
|
|
8
|
+
*
|
|
7
9
|
* @implements dso:global.component.inline_code
|
|
8
10
|
*/
|
|
9
11
|
const InlineCode = ({ className, children, ...props }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InlineCode.js","sourceRoot":"","sources":["../../../../../src/lib/component/InlineCode/InlineCode.tsx"],"names":[],"mappings":";AAEA,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,gBAAgB,CAAC;AAE/C
|
|
1
|
+
{"version":3,"file":"InlineCode.js","sourceRoot":"","sources":["../../../../../src/lib/component/InlineCode/InlineCode.tsx"],"names":[],"mappings":";AAEA,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,gBAAgB,CAAC;AAE/C;;;;;;GAMG;AACH,MAAM,UAAU,GAAG,CAAC,EAClB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACQ,EAAsB,EAAE;IACxC,OAAO,CACL,eACE,SAAS,EAAE,CAAC,qBAAqB,EAAE,MAAM,EAAE,SAAS,CAAC;aAClD,MAAM,CAAC,OAAO,CAAC;aACf,IAAI,CAAC,GAAG,CAAC,KACR,KAAK,YAER,QAAQ,GACJ,CACR,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -11,6 +11,8 @@ const componentCssClassName = "ds keyboard-key";
|
|
|
11
11
|
* instructional or reference content. It is non-interactive and purely
|
|
12
12
|
* informational.
|
|
13
13
|
*
|
|
14
|
+
* `import { KeyboardKey } from "@canonical/react-ds-global";`
|
|
15
|
+
*
|
|
14
16
|
* @implements dso:global.component.keyboard_key
|
|
15
17
|
*/
|
|
16
18
|
const KeyboardKey = ({ keyValue, className, ...props }) => (_jsx("kbd", { className: [componentCssClassName, "code", className]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyboardKey.js","sourceRoot":"","sources":["../../../../../src/lib/component/KeyboardKey/KeyboardKey.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEzD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;AAEhD
|
|
1
|
+
{"version":3,"file":"KeyboardKey.js","sourceRoot":"","sources":["../../../../../src/lib/component/KeyboardKey/KeyboardKey.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEzD,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,iBAAiB,CAAC;AAEhD;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,GAAG,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACS,EAAsB,EAAE,CAAC,CAC1C,cACE,SAAS,EAAE,CAAC,qBAAqB,EAAE,MAAM,EAAE,SAAS,CAAC;SAClD,MAAM,CAAC,OAAO,CAAC;SACf,IAAI,CAAC,GAAG,CAAC,gBACA,WAAW,CAAC,QAAQ,CAAC,KAC7B,KAAK,YAER,UAAU,CAAC,QAAQ,CAAC,IAAI,QAAQ,GAC7B,CACP,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -13,6 +13,9 @@ const componentCssClassName = "ds keyboard-keys";
|
|
|
13
13
|
* single grouped keystroke.
|
|
14
14
|
*
|
|
15
15
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/kbd#representing_keystrokes_within_an_input
|
|
16
|
+
*
|
|
17
|
+
* `import { KeyboardKeys } from "@canonical/react-ds-global";`
|
|
18
|
+
*
|
|
16
19
|
* @implements dso:global.group.keyboard_keys
|
|
17
20
|
*/
|
|
18
21
|
const KeyboardKeys = ({ className, children, ...props }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyboardKeys.js","sourceRoot":"","sources":["../../../../../src/lib/group/KeyboardKeys/KeyboardKeys.tsx"],"names":[],"mappings":";AAEA,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,kBAAkB,CAAC;AAEjD
|
|
1
|
+
{"version":3,"file":"KeyboardKeys.js","sourceRoot":"","sources":["../../../../../src/lib/group/KeyboardKeys/KeyboardKeys.tsx"],"names":[],"mappings":";AAEA,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,kBAAkB,CAAC;AAEjD;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,YAAY,GAAG,CAAC,EACpB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACU,EAAsB,EAAE;IAC1C,OAAO,CACL,cACE,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,KACnE,KAAK,YAER,QAAQ,GACL,CACP,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -11,6 +11,8 @@ import "./styles.css";
|
|
|
11
11
|
* efficient way. Be wary that they can also hide content from users and are
|
|
12
12
|
* not suitable when a user is meant to read all of the page content.
|
|
13
13
|
*
|
|
14
|
+
* `import { Accordion } from "@canonical/react-ds-global";`
|
|
15
|
+
*
|
|
14
16
|
* @implements dso:global.component.accordion
|
|
15
17
|
*/
|
|
16
18
|
declare const Accordion: {
|
|
@@ -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
|
|
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"}
|
|
@@ -11,6 +11,8 @@ import "./styles.css";
|
|
|
11
11
|
* applications with multiple levels of hierarchy and are particularly useful
|
|
12
12
|
* when users might arrive at deep pages through search or external links.
|
|
13
13
|
*
|
|
14
|
+
* `import { Breadcrumbs } from "@canonical/react-ds-global";`
|
|
15
|
+
*
|
|
14
16
|
* @implements ds:global.pattern.breadcrumbs
|
|
15
17
|
*/
|
|
16
18
|
declare const Breadcrumbs: {
|
|
@@ -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
|
|
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"}
|
|
@@ -3,6 +3,9 @@ import type { IconProps } from "./types.js";
|
|
|
3
3
|
import "./styles.css";
|
|
4
4
|
/**
|
|
5
5
|
* Icon component that renders SVG icons from @canonical/ds-assets
|
|
6
|
+
*
|
|
7
|
+
* `import { Icon } from "@canonical/react-ds-global";`
|
|
8
|
+
*
|
|
6
9
|
* @implements ds:global.component.icon
|
|
7
10
|
*/
|
|
8
11
|
declare const Icon: ({ xmlns, viewBox, icon, className, rootPath, role, ...props }: IconProps) => ReactElement;
|
|
@@ -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
|
|
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"}
|
|
@@ -4,6 +4,8 @@ import "./styles.css";
|
|
|
4
4
|
/**
|
|
5
5
|
* This component is used to display code inline or as a standalone block.
|
|
6
6
|
*
|
|
7
|
+
* `import { InlineCode } from "@canonical/react-ds-global";`
|
|
8
|
+
*
|
|
7
9
|
* @implements dso:global.component.inline_code
|
|
8
10
|
*/
|
|
9
11
|
declare const InlineCode: ({ className, children, ...props }: InlineCodeProps) => React.ReactElement;
|
|
@@ -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
|
|
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"}
|
|
@@ -10,6 +10,8 @@ import "./styles.css";
|
|
|
10
10
|
* instructional or reference content. It is non-interactive and purely
|
|
11
11
|
* informational.
|
|
12
12
|
*
|
|
13
|
+
* `import { KeyboardKey } from "@canonical/react-ds-global";`
|
|
14
|
+
*
|
|
13
15
|
* @implements dso:global.component.keyboard_key
|
|
14
16
|
*/
|
|
15
17
|
declare const KeyboardKey: ({ keyValue, className, ...props }: KeyboardKeyProps) => React.ReactElement;
|
|
@@ -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;AAItB
|
|
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;AAItB;;;;;;;;;;;;GAYG;AACH,QAAA,MAAM,WAAW,GAAI,mCAIlB,gBAAgB,KAAG,KAAK,CAAC,YAU3B,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -13,6 +13,9 @@ import "./styles.css";
|
|
|
13
13
|
* single grouped keystroke.
|
|
14
14
|
*
|
|
15
15
|
* @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/kbd#representing_keystrokes_within_an_input
|
|
16
|
+
*
|
|
17
|
+
* `import { KeyboardKeys } from "@canonical/react-ds-global";`
|
|
18
|
+
*
|
|
16
19
|
* @implements dso:global.group.keyboard_keys
|
|
17
20
|
*/
|
|
18
21
|
declare const KeyboardKeys: ({ className, children, ...props }: KeyboardKeysProps) => React.ReactElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyboardKeys.d.ts","sourceRoot":"","sources":["../../../../../src/lib/group/KeyboardKeys/KeyboardKeys.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
|
|
1
|
+
{"version":3,"file":"KeyboardKeys.d.ts","sourceRoot":"","sources":["../../../../../src/lib/group/KeyboardKeys/KeyboardKeys.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;;;;;;;;;;;;;;;;GAgBG;AACH,QAAA,MAAM,YAAY,GAAI,mCAInB,iBAAiB,KAAG,KAAK,CAAC,YAS5B,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@canonical/react-ds-global",
|
|
3
|
-
"version": "0.29.
|
|
3
|
+
"version": "0.29.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
53
|
"@canonical/ds-assets": "^0.29.0",
|
|
54
|
-
"@canonical/storybook-config": "^0.29.
|
|
54
|
+
"@canonical/storybook-config": "^0.29.1",
|
|
55
55
|
"@canonical/styles": "^0.29.0",
|
|
56
56
|
"@canonical/utils": "^0.29.0",
|
|
57
57
|
"react": "^19.2.4",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"vite": "^8.0.1",
|
|
83
83
|
"vitest": "^4.0.18"
|
|
84
84
|
},
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "7c96ac31ff350a3bd099168d249680a8f9632568"
|
|
86
86
|
}
|