@canonical/react-ds-global 0.20.0 → 0.22.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 (220) hide show
  1. package/dist/esm/lib/Badge/Badge.js +2 -2
  2. package/dist/esm/lib/Badge/Badge.js.map +1 -1
  3. package/dist/esm/lib/Badge/styles.css +4 -1
  4. package/dist/esm/lib/Button/styles.css +18 -82
  5. package/dist/esm/lib/Card/Card.js +1 -3
  6. package/dist/esm/lib/Card/Card.js.map +1 -1
  7. package/dist/esm/lib/Chip/Chip.js +2 -2
  8. package/dist/esm/lib/Chip/Chip.js.map +1 -1
  9. package/dist/esm/lib/Chip/styles.css +7 -4
  10. package/dist/esm/lib/KeyboardKey/KeyboardKey.js +18 -0
  11. package/dist/esm/lib/KeyboardKey/KeyboardKey.js.map +1 -0
  12. package/dist/esm/lib/KeyboardKey/constants.js +86 -0
  13. package/dist/esm/lib/KeyboardKey/constants.js.map +1 -0
  14. package/dist/esm/lib/KeyboardKey/index.js +2 -0
  15. package/dist/esm/lib/KeyboardKey/index.js.map +1 -0
  16. package/dist/esm/lib/KeyboardKey/styles.css +30 -0
  17. package/dist/esm/lib/KeyboardKey/types.js +2 -0
  18. package/dist/esm/lib/KeyboardKey/types.js.map +1 -0
  19. package/dist/esm/lib/KeyboardKeys/KeyboardKeys.js +22 -0
  20. package/dist/esm/lib/KeyboardKeys/KeyboardKeys.js.map +1 -0
  21. package/dist/esm/lib/KeyboardKeys/index.js +2 -0
  22. package/dist/esm/lib/KeyboardKeys/index.js.map +1 -0
  23. package/dist/esm/lib/KeyboardKeys/styles.css +6 -0
  24. package/dist/esm/lib/KeyboardKeys/types.js +2 -0
  25. package/dist/esm/lib/KeyboardKeys/types.js.map +1 -0
  26. package/dist/esm/lib/Label/Label.js +2 -1
  27. package/dist/esm/lib/Label/Label.js.map +1 -1
  28. package/dist/esm/lib/Label/styles.css +4 -1
  29. package/dist/esm/lib/Rule/Rule.js +2 -4
  30. package/dist/esm/lib/Rule/Rule.js.map +1 -1
  31. package/dist/esm/lib/Rule/styles.css +3 -10
  32. package/dist/esm/lib/Timeline/common/Event/styles.css +4 -17
  33. package/dist/esm/lib/Tooltip/styles.css +1 -1
  34. package/dist/esm/lib/grid/ApplicationLayout/ApplicationLayout.js +10 -0
  35. package/dist/esm/lib/grid/ApplicationLayout/ApplicationLayout.js.map +1 -0
  36. package/dist/esm/lib/grid/ApplicationLayout/index.js +4 -0
  37. package/dist/esm/lib/grid/ApplicationLayout/index.js.map +1 -0
  38. package/dist/esm/lib/grid/ApplicationLayout/styles.css +20 -0
  39. package/dist/esm/lib/grid/ApplicationLayout/types.js +4 -0
  40. package/dist/esm/lib/grid/ApplicationLayout/types.js.map +1 -0
  41. package/dist/esm/lib/grid/GridCard/GridCard.js +9 -0
  42. package/dist/esm/lib/grid/GridCard/GridCard.js.map +1 -0
  43. package/dist/esm/lib/grid/GridCard/index.js +4 -0
  44. package/dist/esm/lib/grid/GridCard/index.js.map +1 -0
  45. package/dist/esm/lib/grid/GridCard/styles.css +6 -0
  46. package/dist/esm/lib/grid/GridCard/types.js +4 -0
  47. package/dist/esm/lib/grid/GridCard/types.js.map +1 -0
  48. package/dist/esm/lib/grid/InnerGridDemo/InnerGridDemo.js +12 -0
  49. package/dist/esm/lib/grid/InnerGridDemo/InnerGridDemo.js.map +1 -0
  50. package/dist/esm/lib/grid/InnerGridDemo/index.js +4 -0
  51. package/dist/esm/lib/grid/InnerGridDemo/index.js.map +1 -0
  52. package/dist/esm/lib/grid/InnerGridDemo/styles.css +40 -0
  53. package/dist/esm/lib/grid/InnerGridDemo/types.js +4 -0
  54. package/dist/esm/lib/grid/InnerGridDemo/types.js.map +1 -0
  55. package/dist/esm/lib/grid/SettingsView/SettingsView.js +9 -0
  56. package/dist/esm/lib/grid/SettingsView/SettingsView.js.map +1 -0
  57. package/dist/esm/lib/grid/SettingsView/index.js +4 -0
  58. package/dist/esm/lib/grid/SettingsView/index.js.map +1 -0
  59. package/dist/esm/lib/grid/SettingsView/styles.css +32 -0
  60. package/dist/esm/lib/grid/SettingsView/types.js +4 -0
  61. package/dist/esm/lib/grid/SettingsView/types.js.map +1 -0
  62. package/dist/esm/lib/grid/index.js +6 -0
  63. package/dist/esm/lib/grid/index.js.map +1 -0
  64. package/dist/esm/lib/index.js +4 -0
  65. package/dist/esm/lib/index.js.map +1 -1
  66. package/dist/esm/lib/patterns/CategoriesSection/CategoriesSection.js +14 -0
  67. package/dist/esm/lib/patterns/CategoriesSection/CategoriesSection.js.map +1 -0
  68. package/dist/esm/lib/patterns/CategoriesSection/common/Category/Category.js +11 -0
  69. package/dist/esm/lib/patterns/CategoriesSection/common/Category/Category.js.map +1 -0
  70. package/dist/esm/lib/patterns/CategoriesSection/common/Category/index.js +4 -0
  71. package/dist/esm/lib/patterns/CategoriesSection/common/Category/index.js.map +1 -0
  72. package/dist/esm/lib/patterns/CategoriesSection/common/Category/styles.css +23 -0
  73. package/dist/esm/lib/patterns/CategoriesSection/common/Category/types.js +4 -0
  74. package/dist/esm/lib/patterns/CategoriesSection/common/Category/types.js.map +1 -0
  75. package/dist/esm/lib/patterns/CategoriesSection/common/index.js +3 -0
  76. package/dist/esm/lib/patterns/CategoriesSection/common/index.js.map +1 -0
  77. package/dist/esm/lib/patterns/CategoriesSection/fixtures.js +51 -0
  78. package/dist/esm/lib/patterns/CategoriesSection/fixtures.js.map +1 -0
  79. package/dist/esm/lib/patterns/CategoriesSection/index.js +4 -0
  80. package/dist/esm/lib/patterns/CategoriesSection/index.js.map +1 -0
  81. package/dist/esm/lib/patterns/CategoriesSection/styles.css +15 -0
  82. package/dist/esm/lib/patterns/CategoriesSection/types.js +4 -0
  83. package/dist/esm/lib/patterns/CategoriesSection/types.js.map +1 -0
  84. package/dist/esm/lib/patterns/ChatSection/ChatSection.js +12 -0
  85. package/dist/esm/lib/patterns/ChatSection/ChatSection.js.map +1 -0
  86. package/dist/esm/lib/patterns/ChatSection/index.js +4 -0
  87. package/dist/esm/lib/patterns/ChatSection/index.js.map +1 -0
  88. package/dist/esm/lib/patterns/ChatSection/styles.css +21 -0
  89. package/dist/esm/lib/patterns/ChatSection/types.js +4 -0
  90. package/dist/esm/lib/patterns/ChatSection/types.js.map +1 -0
  91. package/dist/esm/lib/patterns/DescriptionSection/DescriptionSection.js +12 -0
  92. package/dist/esm/lib/patterns/DescriptionSection/DescriptionSection.js.map +1 -0
  93. package/dist/esm/lib/patterns/DescriptionSection/index.js +4 -0
  94. package/dist/esm/lib/patterns/DescriptionSection/index.js.map +1 -0
  95. package/dist/esm/lib/patterns/DescriptionSection/styles.css +13 -0
  96. package/dist/esm/lib/patterns/DescriptionSection/types.js +4 -0
  97. package/dist/esm/lib/patterns/DescriptionSection/types.js.map +1 -0
  98. package/dist/esm/lib/patterns/IconSection/IconSection.js +45 -0
  99. package/dist/esm/lib/patterns/IconSection/IconSection.js.map +1 -0
  100. package/dist/esm/lib/patterns/IconSection/index.js +4 -0
  101. package/dist/esm/lib/patterns/IconSection/index.js.map +1 -0
  102. package/dist/esm/lib/patterns/IconSection/styles.css +18 -0
  103. package/dist/esm/lib/patterns/IconSection/types.js +4 -0
  104. package/dist/esm/lib/patterns/IconSection/types.js.map +1 -0
  105. package/dist/esm/lib/patterns/TSection/TSection.js +11 -0
  106. package/dist/esm/lib/patterns/TSection/TSection.js.map +1 -0
  107. package/dist/esm/lib/patterns/TSection/index.js +4 -0
  108. package/dist/esm/lib/patterns/TSection/index.js.map +1 -0
  109. package/dist/esm/lib/patterns/TSection/styles.css +27 -0
  110. package/dist/esm/lib/patterns/TSection/types.js +4 -0
  111. package/dist/esm/lib/patterns/TSection/types.js.map +1 -0
  112. package/dist/esm/lib/patterns/index.js +7 -0
  113. package/dist/esm/lib/patterns/index.js.map +1 -0
  114. package/dist/types/lib/Badge/Badge.d.ts +1 -1
  115. package/dist/types/lib/Badge/Badge.d.ts.map +1 -1
  116. package/dist/types/lib/Badge/types.d.ts +7 -10
  117. package/dist/types/lib/Badge/types.d.ts.map +1 -1
  118. package/dist/types/lib/Card/Card.d.ts +1 -1
  119. package/dist/types/lib/Card/Card.d.ts.map +1 -1
  120. package/dist/types/lib/Card/types.d.ts +0 -12
  121. package/dist/types/lib/Card/types.d.ts.map +1 -1
  122. package/dist/types/lib/Chip/Chip.d.ts +1 -1
  123. package/dist/types/lib/Chip/Chip.d.ts.map +1 -1
  124. package/dist/types/lib/Chip/types.d.ts +15 -3
  125. package/dist/types/lib/Chip/types.d.ts.map +1 -1
  126. package/dist/types/lib/KeyboardKey/KeyboardKey.d.ts +17 -0
  127. package/dist/types/lib/KeyboardKey/KeyboardKey.d.ts.map +1 -0
  128. package/dist/types/lib/KeyboardKey/constants.d.ts +134 -0
  129. package/dist/types/lib/KeyboardKey/constants.d.ts.map +1 -0
  130. package/dist/types/lib/KeyboardKey/index.d.ts +3 -0
  131. package/dist/types/lib/KeyboardKey/index.d.ts.map +1 -0
  132. package/dist/types/lib/KeyboardKey/types.d.ts +9 -0
  133. package/dist/types/lib/KeyboardKey/types.d.ts.map +1 -0
  134. package/dist/types/lib/KeyboardKeys/KeyboardKeys.d.ts +20 -0
  135. package/dist/types/lib/KeyboardKeys/KeyboardKeys.d.ts.map +1 -0
  136. package/dist/types/lib/KeyboardKeys/index.d.ts +3 -0
  137. package/dist/types/lib/KeyboardKeys/index.d.ts.map +1 -0
  138. package/dist/types/lib/KeyboardKeys/types.d.ts +4 -0
  139. package/dist/types/lib/KeyboardKeys/types.d.ts.map +1 -0
  140. package/dist/types/lib/Label/Label.d.ts +1 -1
  141. package/dist/types/lib/Label/Label.d.ts.map +1 -1
  142. package/dist/types/lib/Label/types.d.ts +8 -0
  143. package/dist/types/lib/Label/types.d.ts.map +1 -1
  144. package/dist/types/lib/Rule/Rule.d.ts +1 -1
  145. package/dist/types/lib/Rule/Rule.d.ts.map +1 -1
  146. package/dist/types/lib/Rule/types.d.ts +0 -2
  147. package/dist/types/lib/Rule/types.d.ts.map +1 -1
  148. package/dist/types/lib/Timeline/common/Event/types.d.ts +2 -6
  149. package/dist/types/lib/Timeline/common/Event/types.d.ts.map +1 -1
  150. package/dist/types/lib/grid/ApplicationLayout/ApplicationLayout.d.ts +8 -0
  151. package/dist/types/lib/grid/ApplicationLayout/ApplicationLayout.d.ts.map +1 -0
  152. package/dist/types/lib/grid/ApplicationLayout/index.d.ts +3 -0
  153. package/dist/types/lib/grid/ApplicationLayout/index.d.ts.map +1 -0
  154. package/dist/types/lib/grid/ApplicationLayout/types.d.ts +6 -0
  155. package/dist/types/lib/grid/ApplicationLayout/types.d.ts.map +1 -0
  156. package/dist/types/lib/grid/GridCard/GridCard.d.ts +8 -0
  157. package/dist/types/lib/grid/GridCard/GridCard.d.ts.map +1 -0
  158. package/dist/types/lib/grid/GridCard/index.d.ts +3 -0
  159. package/dist/types/lib/grid/GridCard/index.d.ts.map +1 -0
  160. package/dist/types/lib/grid/GridCard/types.d.ts +6 -0
  161. package/dist/types/lib/grid/GridCard/types.d.ts.map +1 -0
  162. package/dist/types/lib/grid/InnerGridDemo/InnerGridDemo.d.ts +7 -0
  163. package/dist/types/lib/grid/InnerGridDemo/InnerGridDemo.d.ts.map +1 -0
  164. package/dist/types/lib/grid/InnerGridDemo/index.d.ts +3 -0
  165. package/dist/types/lib/grid/InnerGridDemo/index.d.ts.map +1 -0
  166. package/dist/types/lib/grid/InnerGridDemo/types.d.ts +6 -0
  167. package/dist/types/lib/grid/InnerGridDemo/types.d.ts.map +1 -0
  168. package/dist/types/lib/grid/SettingsView/SettingsView.d.ts +8 -0
  169. package/dist/types/lib/grid/SettingsView/SettingsView.d.ts.map +1 -0
  170. package/dist/types/lib/grid/SettingsView/index.d.ts +3 -0
  171. package/dist/types/lib/grid/SettingsView/index.d.ts.map +1 -0
  172. package/dist/types/lib/grid/SettingsView/types.d.ts +8 -0
  173. package/dist/types/lib/grid/SettingsView/types.d.ts.map +1 -0
  174. package/dist/types/lib/grid/index.d.ts +5 -0
  175. package/dist/types/lib/grid/index.d.ts.map +1 -0
  176. package/dist/types/lib/index.d.ts +4 -0
  177. package/dist/types/lib/index.d.ts.map +1 -1
  178. package/dist/types/lib/patterns/CategoriesSection/CategoriesSection.d.ts +9 -0
  179. package/dist/types/lib/patterns/CategoriesSection/CategoriesSection.d.ts.map +1 -0
  180. package/dist/types/lib/patterns/CategoriesSection/common/Category/Category.d.ts +9 -0
  181. package/dist/types/lib/patterns/CategoriesSection/common/Category/Category.d.ts.map +1 -0
  182. package/dist/types/lib/patterns/CategoriesSection/common/Category/index.d.ts +3 -0
  183. package/dist/types/lib/patterns/CategoriesSection/common/Category/index.d.ts.map +1 -0
  184. package/dist/types/lib/patterns/CategoriesSection/common/Category/types.d.ts +10 -0
  185. package/dist/types/lib/patterns/CategoriesSection/common/Category/types.d.ts.map +1 -0
  186. package/dist/types/lib/patterns/CategoriesSection/common/index.d.ts +2 -0
  187. package/dist/types/lib/patterns/CategoriesSection/common/index.d.ts.map +1 -0
  188. package/dist/types/lib/patterns/CategoriesSection/fixtures.d.ts +7 -0
  189. package/dist/types/lib/patterns/CategoriesSection/fixtures.d.ts.map +1 -0
  190. package/dist/types/lib/patterns/CategoriesSection/index.d.ts +3 -0
  191. package/dist/types/lib/patterns/CategoriesSection/index.d.ts.map +1 -0
  192. package/dist/types/lib/patterns/CategoriesSection/types.d.ts +6 -0
  193. package/dist/types/lib/patterns/CategoriesSection/types.d.ts.map +1 -0
  194. package/dist/types/lib/patterns/ChatSection/ChatSection.d.ts +9 -0
  195. package/dist/types/lib/patterns/ChatSection/ChatSection.d.ts.map +1 -0
  196. package/dist/types/lib/patterns/ChatSection/index.d.ts +3 -0
  197. package/dist/types/lib/patterns/ChatSection/index.d.ts.map +1 -0
  198. package/dist/types/lib/patterns/ChatSection/types.d.ts +6 -0
  199. package/dist/types/lib/patterns/ChatSection/types.d.ts.map +1 -0
  200. package/dist/types/lib/patterns/DescriptionSection/DescriptionSection.d.ts +9 -0
  201. package/dist/types/lib/patterns/DescriptionSection/DescriptionSection.d.ts.map +1 -0
  202. package/dist/types/lib/patterns/DescriptionSection/index.d.ts +3 -0
  203. package/dist/types/lib/patterns/DescriptionSection/index.d.ts.map +1 -0
  204. package/dist/types/lib/patterns/DescriptionSection/types.d.ts +6 -0
  205. package/dist/types/lib/patterns/DescriptionSection/types.d.ts.map +1 -0
  206. package/dist/types/lib/patterns/IconSection/IconSection.d.ts +9 -0
  207. package/dist/types/lib/patterns/IconSection/IconSection.d.ts.map +1 -0
  208. package/dist/types/lib/patterns/IconSection/index.d.ts +3 -0
  209. package/dist/types/lib/patterns/IconSection/index.d.ts.map +1 -0
  210. package/dist/types/lib/patterns/IconSection/types.d.ts +6 -0
  211. package/dist/types/lib/patterns/IconSection/types.d.ts.map +1 -0
  212. package/dist/types/lib/patterns/TSection/TSection.d.ts +9 -0
  213. package/dist/types/lib/patterns/TSection/TSection.d.ts.map +1 -0
  214. package/dist/types/lib/patterns/TSection/index.d.ts +3 -0
  215. package/dist/types/lib/patterns/TSection/index.d.ts.map +1 -0
  216. package/dist/types/lib/patterns/TSection/types.d.ts +6 -0
  217. package/dist/types/lib/patterns/TSection/types.d.ts.map +1 -0
  218. package/dist/types/lib/patterns/index.d.ts +6 -0
  219. package/dist/types/lib/patterns/index.d.ts.map +1 -0
  220. package/package.json +15 -14
@@ -0,0 +1,11 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import "./styles.css";
3
+ const componentCssClassName = "ds section";
4
+ /**
5
+ * TSection component
6
+ */
7
+ const TSection = ({ className, children, title = "Section title", ...props }) => {
8
+ return (_jsxs("section", { className: [componentCssClassName, className].filter(Boolean).join(" "), ...props, children: [_jsx("h2", { className: "title", children: title }), _jsx("div", { className: "payload", children: children })] }));
9
+ };
10
+ export default TSection;
11
+ //# sourceMappingURL=TSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TSection.js","sourceRoot":"","sources":["../../../../../src/lib/patterns/TSection/TSection.tsx"],"names":[],"mappings":";AAKA,OAAO,cAAc,CAAC;AAEtB,MAAM,qBAAqB,GAAG,YAAY,CAAC;AAE3C;;GAEG;AACH,MAAM,QAAQ,GAAG,CAAC,EAChB,SAAS,EACT,QAAQ,EACR,KAAK,GAAG,eAAe,EACvB,GAAG,KAAK,EACM,EAAmB,EAAE;IACnC,OAAO,CACL,mBACE,SAAS,EAAE,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,KACnE,KAAK,aAET,aAAI,SAAS,EAAC,OAAO,YAAE,KAAK,GAAM,EAClC,cAAK,SAAS,EAAC,SAAS,YAAE,QAAQ,GAAO,IACjC,CACX,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,4 @@
1
+ // Generated by component/react v0.1.0
2
+ // Generated by @canonical/summon:component-react v0.1.0
3
+ export { default as TSection } from "./TSection.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/patterns/TSection/index.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,wDAAwD;AAExD,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,eAAe,CAAC"}
@@ -0,0 +1,27 @@
1
+ /* Generated by component/react v0.1.0 */
2
+ /* Generated by @canonical/summon:component-react v0.1.0 */
3
+
4
+ .ds.section {
5
+ h2 {
6
+ padding-top: var(--space-100);
7
+ font-size: var(--typography-heading-h2-font-size, 2rem);
8
+ margin-bottom: var(--space-200);
9
+ /* Heading styles */
10
+ }
11
+ > .title {
12
+ background: #fefedd;
13
+ max-width: initial;
14
+ border: 1px solid green;
15
+ }
16
+ .payload {
17
+ grid-column: 1 / -1;
18
+ border: 1px solid green;
19
+ }
20
+ grid-column: 1 / -1;
21
+
22
+ display: grid;
23
+ grid-template-columns: subgrid;
24
+
25
+ background: #dedede;
26
+ /* Component styles */
27
+ }
@@ -0,0 +1,4 @@
1
+ // Generated by component/react v0.1.0
2
+ // Generated by @canonical/summon:component-react v0.1.0
3
+ export {};
4
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../../src/lib/patterns/TSection/types.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,wDAAwD"}
@@ -0,0 +1,7 @@
1
+ // Generated by component/react v0.1.0
2
+ export * from "./CategoriesSection/index.js";
3
+ export * from "./ChatSection/index.js";
4
+ export * from "./DescriptionSection/index.js";
5
+ export * from "./IconSection/index.js";
6
+ export * from "./TSection/index.js";
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/patterns/index.ts"],"names":[],"mappings":"AAAA,sCAAsC;AAEtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC"}
@@ -5,6 +5,6 @@ import "./styles.css";
5
5
  * description of the Badge component
6
6
  * @implements ds:global.component.badge
7
7
  */
8
- declare const Badge: ({ value, className, severity, humanizeOptions, pluralizeOptions, ...props }: BadgeProps) => React.ReactElement;
8
+ declare const Badge: ({ value, className, criticality, humanizeOptions, pluralizeOptions, ...props }: BadgeProps) => React.ReactElement;
9
9
  export default Badge;
10
10
  //# sourceMappingURL=Badge.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/lib/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,6EAOZ,UAAU,KAAG,KAAK,CAAC,YAkBrB,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../src/lib/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"}
@@ -7,18 +7,15 @@ export interface BadgeProps extends HTMLAttributes<HTMLSpanElement> {
7
7
  */
8
8
  value: number;
9
9
  /**
10
- * Visual appearance of the badge, typically reflecting status.
11
- * Options include:
12
- * - "positive": Indicates a positive status
13
- * - "negative": Indicates a negative status
14
- * - "caution": Indicates a cautionary status
15
- * - "information": Indicates an informative status
16
- * // TODO neutral intent is currently defined in a very button-centric way. It should unset other appearances, but it currently applies default button styling.
17
- * Possibly we will need to revisit this by binding component variables without component name prefix, so that neutral can reset components to their neutral state.
10
+ * Visual criticality modifier for the badge, reflecting status.
11
+ * - "success": Positive status
12
+ * - "error": Negative status
13
+ * - "warning": Cautionary status
14
+ * - "information": Informative status
18
15
  *
19
- * When no appearance is specified, uses the default badge styling.
16
+ * When omitted, the badge uses its default styling.
20
17
  */
21
- severity?: ModifierFamily<"severity">;
18
+ criticality?: ModifierFamily<"criticality">;
22
19
  /**
23
20
  * Options for humanizing the numeric value displayed in the badge.
24
21
  */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Badge/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,eAAe,CAAC;IACjE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;IAEtC;;OAEG;IACH,eAAe,CAAC,EAAE,qBAAqB,CAAC;IAExC;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AAED,MAAM,MAAM,aAAa,GAAG,IAAI,CAC9B,UAAU,EACV,OAAO,GAAG,iBAAiB,GAAG,kBAAkB,CACjD,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,mDAAmD;IACnD,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,kFAAkF;IAClF,KAAK,EAAE,MAAM,CAAC;CACf"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Badge/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAChF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,eAAe,CAAC;IACjE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAE5C;;OAEG;IACH,eAAe,CAAC,EAAE,qBAAqB,CAAC;IAExC;;OAEG;IACH,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AAED,MAAM,MAAM,aAAa,GAAG,IAAI,CAC9B,UAAU,EACV,OAAO,GAAG,iBAAiB,GAAG,kBAAkB,CACjD,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B,mDAAmD;IACnD,YAAY,EAAE,MAAM,GAAG,MAAM,CAAC;IAC9B,kFAAkF;IAClF,KAAK,EAAE,MAAM,CAAC;CACf"}
@@ -11,7 +11,7 @@ import "./styles.css";
11
11
  * @implements ds:global.component.card
12
12
  */
13
13
  declare const Card: {
14
- ({ className, children, emphasis, ...props }: CardProps): React.ReactElement;
14
+ ({ className, children, ...props }: CardProps): React.ReactElement;
15
15
  Content: {
16
16
  ({ children, className, ...props }: import("./common/index.js").ContentProps): React.ReactElement;
17
17
  displayName: string;
@@ -1 +1 @@
1
- {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/lib/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;AAItB;;;;;;;;GAQG;AACH,QAAA,MAAM,IAAI;kDAKP,SAAS,GAAG,KAAK,CAAC,YAAY;;;;;;;;;;;;;;;;;CAShC,CAAC;AAOF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../../../../src/lib/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;AAItB;;;;;;;;GAQG;AACH,QAAA,MAAM,IAAI;wCAIP,SAAS,GAAG,KAAK,CAAC,YAAY;;;;;;;;;;;;;;;;;CAOhC,CAAC;AAOF,eAAe,IAAI,CAAC"}
@@ -1,16 +1,4 @@
1
1
  import type { HTMLAttributes } from "react";
2
- /**
3
- * Card-specific emphasis values.
4
- * Note: These differ from the standard emphasis modifier family
5
- * as Card uses "neutral" (default) and "highlighted" for visual distinction.
6
- */
7
- export type CardEmphasis = "neutral" | "highlighted";
8
2
  export interface CardProps extends HTMLAttributes<HTMLDivElement> {
9
- /**
10
- * Visual emphasis for the card.
11
- * - "neutral": Default appearance
12
- * - "highlighted": Increased visual prominence
13
- */
14
- emphasis?: CardEmphasis;
15
3
  }
16
4
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Card/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,aAAa,CAAC;AAErD,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC/D;;;;OAIG;IACH,QAAQ,CAAC,EAAE,YAAY,CAAC;CACzB"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Card/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,cAAc,CAAC;CAAG"}
@@ -7,6 +7,6 @@ import type { ChipPropsType } from "./types.js";
7
7
  *
8
8
  * @implements ds:global.component.chip
9
9
  */
10
- declare const Chip: ({ appearance, lead, value, onClick, onDismiss, id, className, style, ...props }: ChipPropsType) => React.ReactElement;
10
+ declare const Chip: ({ criticality, release, lead, value, onClick, onDismiss, id, className, style, ...props }: ChipPropsType) => React.ReactElement;
11
11
  export default Chip;
12
12
  //# sourceMappingURL=Chip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../src/lib/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAIhD;;;;;GAKG;AACH,QAAA,MAAM,IAAI,GAAI,iFAUX,aAAa,KAAG,KAAK,CAAC,YAwBxB,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../src/lib/Chip/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,cAAc,CAAC;AACtB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAIhD;;;;;GAKG;AACH,QAAA,MAAM,IAAI,GAAI,2FAWX,aAAa,KAAG,KAAK,CAAC,YAwBxB,CAAC;AAEF,eAAe,IAAI,CAAC"}
@@ -1,13 +1,25 @@
1
+ import type { ModifierFamily } from "@canonical/ds-types";
1
2
  import type React from "react";
2
3
  /**
3
4
  * Props for the `Chip` component.
4
5
  */
5
6
  export interface ChipProps {
6
7
  /**
7
- * The chip’s appearance.
8
- * @default "neutral"
8
+ * Criticality modifier for status indication.
9
+ * - "success": Positive status
10
+ * - "error": Negative status
11
+ * - "warning": Cautionary status
12
+ * - "information": Informative status
9
13
  */
10
- appearance?: "neutral" | "positive" | "negative" | "caution" | "information";
14
+ criticality?: ModifierFamily<"criticality">;
15
+ /**
16
+ * Release stage modifier.
17
+ * - "experimental": Early exploration
18
+ * - "alpha": Functionally incomplete
19
+ * - "beta": Feature-complete, not hardened
20
+ * - "stable": Production-ready
21
+ */
22
+ release?: ModifierFamily<"release">;
11
23
  /** Text shown before the value. */
12
24
  lead?: string;
13
25
  /** The chip’s value text. */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Chip/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;;OAGG;IACH,UAAU,CAAC,EAAE,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,SAAS,GAAG,aAAa,CAAC;IAE7E,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,uCAAuC;IACvC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAE/D,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IAEvB,sCAAsC;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,kCAAkC;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,MAAM,MAAM,aAAa,GAAG,SAAS,GACnC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Chip/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAE5C;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;IAEpC,mCAAmC;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,uCAAuC;IACvC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;IAE/D,yCAAyC;IACzC,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IAEvB,sCAAsC;IACtC,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,kCAAkC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,kCAAkC;IAClC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,MAAM,MAAM,aAAa,GAAG,SAAS,GACnC,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC,EAAE,UAAU,CAAC,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type React from "react";
2
+ import type { KeyboardKeyProps } from "./types.js";
3
+ import "./styles.css";
4
+ /**
5
+ * The KeyboardKey component renders a single keyboard key as a styled
6
+ * kbd element. It maps a key identifier (letters, digits, modifiers,
7
+ * function keys, navigation keys, and action keys) to its display label
8
+ * and presents it as a compact, inline visual indicator. Use it to
9
+ * represent keyboard shortcuts, key bindings, or individual keys within
10
+ * instructional or reference content. It is non-interactive and purely
11
+ * informational.
12
+ *
13
+ * @implements dso:global.component.keyboard_key
14
+ */
15
+ declare const KeyboardKey: ({ keyValue, className, ...props }: KeyboardKeyProps) => React.ReactElement;
16
+ export default KeyboardKey;
17
+ //# sourceMappingURL=KeyboardKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyboardKey.d.ts","sourceRoot":"","sources":["../../../../src/lib/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;;;;;;;;;;GAUG;AACH,QAAA,MAAM,WAAW,GAAI,mCAIlB,gBAAgB,KAAG,KAAK,CAAC,YAQ3B,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,134 @@
1
+ export declare const LETTER_KEYS: {
2
+ readonly a: "A";
3
+ readonly b: "B";
4
+ readonly c: "C";
5
+ readonly d: "D";
6
+ readonly e: "E";
7
+ readonly f: "F";
8
+ readonly g: "G";
9
+ readonly h: "H";
10
+ readonly i: "I";
11
+ readonly j: "J";
12
+ readonly k: "K";
13
+ readonly l: "L";
14
+ readonly m: "M";
15
+ readonly n: "N";
16
+ readonly o: "O";
17
+ readonly p: "P";
18
+ readonly q: "Q";
19
+ readonly r: "R";
20
+ readonly s: "S";
21
+ readonly t: "T";
22
+ readonly u: "U";
23
+ readonly v: "V";
24
+ readonly w: "W";
25
+ readonly x: "X";
26
+ readonly y: "Y";
27
+ readonly z: "Z";
28
+ };
29
+ export declare const FUNCTION_KEYS: {
30
+ readonly f1: "F1";
31
+ readonly f2: "F2";
32
+ readonly f3: "F3";
33
+ readonly f4: "F4";
34
+ readonly f5: "F5";
35
+ readonly f6: "F6";
36
+ readonly f7: "F7";
37
+ readonly f8: "F8";
38
+ readonly f9: "F9";
39
+ readonly f10: "F10";
40
+ readonly f11: "F11";
41
+ readonly f12: "F12";
42
+ };
43
+ export declare const ACTION_KEYS: {
44
+ readonly tab: "Tab";
45
+ readonly space: "Space";
46
+ readonly backspace: "Backspace";
47
+ readonly delete: "Del";
48
+ readonly escape: "Esc";
49
+ readonly enter: "↵";
50
+ };
51
+ export declare const MODIFIER_KEYS: {
52
+ readonly shift: "Shift";
53
+ readonly ctrl: "Ctrl";
54
+ readonly alt: "Alt";
55
+ readonly cmd: "Cmd";
56
+ readonly option: "Option";
57
+ readonly meta: "Meta";
58
+ readonly capslock: "Caps Lock";
59
+ };
60
+ export declare const NAVIGATION_KEYS: {
61
+ readonly up: "↑";
62
+ readonly down: "↓";
63
+ readonly left: "←";
64
+ readonly right: "→";
65
+ readonly home: "Home";
66
+ readonly end: "End";
67
+ readonly pageup: "PgUp";
68
+ readonly pagedown: "PgDn";
69
+ };
70
+ /** All key display labels, derived from individual key groups */
71
+ export declare const KEY_LABELS: {
72
+ readonly up: "↑";
73
+ readonly down: "↓";
74
+ readonly left: "←";
75
+ readonly right: "→";
76
+ readonly home: "Home";
77
+ readonly end: "End";
78
+ readonly pageup: "PgUp";
79
+ readonly pagedown: "PgDn";
80
+ readonly shift: "Shift";
81
+ readonly ctrl: "Ctrl";
82
+ readonly alt: "Alt";
83
+ readonly cmd: "Cmd";
84
+ readonly option: "Option";
85
+ readonly meta: "Meta";
86
+ readonly capslock: "Caps Lock";
87
+ readonly tab: "Tab";
88
+ readonly space: "Space";
89
+ readonly backspace: "Backspace";
90
+ readonly delete: "Del";
91
+ readonly escape: "Esc";
92
+ readonly enter: "↵";
93
+ readonly f1: "F1";
94
+ readonly f2: "F2";
95
+ readonly f3: "F3";
96
+ readonly f4: "F4";
97
+ readonly f5: "F5";
98
+ readonly f6: "F6";
99
+ readonly f7: "F7";
100
+ readonly f8: "F8";
101
+ readonly f9: "F9";
102
+ readonly f10: "F10";
103
+ readonly f11: "F11";
104
+ readonly f12: "F12";
105
+ readonly a: "A";
106
+ readonly b: "B";
107
+ readonly c: "C";
108
+ readonly d: "D";
109
+ readonly e: "E";
110
+ readonly f: "F";
111
+ readonly g: "G";
112
+ readonly h: "H";
113
+ readonly i: "I";
114
+ readonly j: "J";
115
+ readonly k: "K";
116
+ readonly l: "L";
117
+ readonly m: "M";
118
+ readonly n: "N";
119
+ readonly o: "O";
120
+ readonly p: "P";
121
+ readonly q: "Q";
122
+ readonly r: "R";
123
+ readonly s: "S";
124
+ readonly t: "T";
125
+ readonly u: "U";
126
+ readonly v: "V";
127
+ readonly w: "W";
128
+ readonly x: "X";
129
+ readonly y: "Y";
130
+ readonly z: "Z";
131
+ };
132
+ /** Accessible labels for keys whose label is a symbol */
133
+ export declare const ARIA_LABELS: Partial<Record<keyof typeof KEY_LABELS, string>>;
134
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/lib/KeyboardKey/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2Bd,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;;;;;;CAahB,CAAC;AAEX,eAAO,MAAM,WAAW;;;;;;;CAOd,CAAC;AAEX,eAAO,MAAM,aAAa;;;;;;;;CAQhB,CAAC;AAEX,eAAO,MAAM,eAAe;;;;;;;;;CASlB,CAAC;AAEX,iEAAiE;AACjE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMb,CAAC;AAEX,yDAAyD;AACzD,eAAO,MAAM,WAAW,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,OAAO,UAAU,EAAE,MAAM,CAAC,CAM/D,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as KeyboardKey } from "./KeyboardKey.js";
2
+ export type * from "./types.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/KeyboardKey/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC1D,mBAAmB,YAAY,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { HTMLAttributes } from "react";
2
+ import type { KEY_LABELS } from "./constants.js";
3
+ /** Valid keyboard key identifiers, derived from KEY_LABELS */
4
+ export type Key = keyof typeof KEY_LABELS;
5
+ export interface KeyboardKeyProps extends HTMLAttributes<HTMLElement> {
6
+ /** The keyboard key to display */
7
+ keyValue: Key;
8
+ }
9
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/KeyboardKey/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAEjD,8DAA8D;AAC9D,MAAM,MAAM,GAAG,GAAG,MAAM,OAAO,UAAU,CAAC;AAE1C,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,WAAW,CAAC;IACnE,kCAAkC;IAClC,QAAQ,EAAE,GAAG,CAAC;CACf"}
@@ -0,0 +1,20 @@
1
+ import type React from "react";
2
+ import type { KeyboardKeysProps } from "./types.js";
3
+ import "./styles.css";
4
+ /**
5
+ * KeyboardKeys groups two or more KeyboardKey components into a single
6
+ * inline unit with consistent spacing. Use it to represent multi-key
7
+ * shortcuts (e.g., Ctrl + C) or key sets (e.g., arrow keys) as a
8
+ * visually cohesive group. It accepts arbitrary children, including
9
+ * separator text, alongside KeyboardKey instances.
10
+ *
11
+ * This component renders a `<kbd>` element and is designed to contain
12
+ * other `<kbd>` elements (e.g., individual keys) as children, forming a
13
+ * single grouped keystroke.
14
+ *
15
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/kbd#representing_keystrokes_within_an_input
16
+ * @implements dso:global.group.keyboard_keys
17
+ */
18
+ declare const KeyboardKeys: ({ className, children, ...props }: KeyboardKeysProps) => React.ReactElement;
19
+ export default KeyboardKeys;
20
+ //# sourceMappingURL=KeyboardKeys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KeyboardKeys.d.ts","sourceRoot":"","sources":["../../../../src/lib/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;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,YAAY,GAAI,mCAInB,iBAAiB,KAAG,KAAK,CAAC,YAS5B,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as KeyboardKeys } from "./KeyboardKeys.js";
2
+ export type * from "./types.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/KeyboardKeys/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC5D,mBAAmB,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { HTMLAttributes } from "react";
2
+ export interface KeyboardKeysProps extends HTMLAttributes<HTMLElement> {
3
+ }
4
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/KeyboardKeys/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,WAAW,CAAC;CAAG"}
@@ -9,6 +9,6 @@ import "./styles.css";
9
9
  *
10
10
  * @implements ds:global.component.label
11
11
  */
12
- declare const Label: ({ children, anticipation, importance, criticality, className, ...props }: LabelProps) => React.ReactElement;
12
+ declare const Label: ({ children, anticipation, importance, criticality, lifecycle, className, ...props }: LabelProps) => React.ReactElement;
13
13
  export default Label;
14
14
  //# sourceMappingURL=Label.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../src/lib/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,0EAOZ,UAAU,KAAG,KAAK,CAAC,YAerB,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../src/lib/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"}
@@ -42,5 +42,13 @@ export interface LabelProps extends HTMLAttributes<HTMLSpanElement> {
42
42
  * - information: Informational status
43
43
  */
44
44
  criticality?: ModifierFamily<"criticality">;
45
+ /**
46
+ * Lifecycle modifier - indicates temporal state
47
+ * - planned: Future/upcoming
48
+ * - in_progress: Active/ongoing
49
+ * - completed: Finished successfully
50
+ * - failed: Terminal failure
51
+ */
52
+ lifecycle?: ModifierFamily<"lifecycle">;
45
53
  }
46
54
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Label/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,eAAe,CAAC;IACjE;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IAC9C;;;;;OAKG;IACH,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IAC1C;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;CAC7C"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Label/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;;;;;;;;;;;;;GAcG;AACH,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,eAAe,CAAC;IACjE;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,cAAc,CAAC,cAAc,CAAC,CAAC;IAC9C;;;;;OAKG;IACH,UAAU,CAAC,EAAE,cAAc,CAAC,YAAY,CAAC,CAAC;IAC1C;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAC5C;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;CACzC"}
@@ -6,6 +6,6 @@ import "./styles.css";
6
6
  * @TODO implement fixed-width behavior after implementation of the Grid
7
7
  * @implements ds:site.component.rule
8
8
  */
9
- declare const Rule: ({ className, emphasis, ...props }: RuleProps) => React.ReactElement;
9
+ declare const Rule: ({ className, ...props }: RuleProps) => React.ReactElement;
10
10
  export default Rule;
11
11
  //# sourceMappingURL=Rule.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Rule.d.ts","sourceRoot":"","sources":["../../../../src/lib/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,mCAIX,SAAS,KAAG,KAAK,CAAC,YASpB,CAAC;AAEF,eAAe,IAAI,CAAC"}
1
+ {"version":3,"file":"Rule.d.ts","sourceRoot":"","sources":["../../../../src/lib/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,4 +1,3 @@
1
- import type { ModifierFamily } from "@canonical/ds-types";
2
1
  import type { HTMLAttributes } from "react";
3
2
  /**
4
3
  We have used the `HTMLDivElement` as a default props base.
@@ -6,6 +5,5 @@ import type { HTMLAttributes } from "react";
6
5
  See https://developer.mozilla.org/en-US/docs/Web/API/HTML_DOM_API for a full list of HTML elements interfaces.
7
6
  */
8
7
  export interface RuleProps extends HTMLAttributes<HTMLHRElement> {
9
- emphasis?: ModifierFamily<"emphasis">;
10
8
  }
11
9
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Rule/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C;;;;EAIE;AACF,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,aAAa,CAAC;IAC9D,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAC;CACvC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/lib/Rule/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAE5C;;;;EAIE;AACF,MAAM,WAAW,SAAU,SAAQ,cAAc,CAAC,aAAa,CAAC;CAAG"}
@@ -1,9 +1,5 @@
1
+ import type { ModifierFamily } from "@canonical/ds-types";
1
2
  import type { HTMLAttributes, ReactNode } from "react";
2
- /**
3
- * Criticality modifier values
4
- * Maps to DSL modifierFamily: criticality
5
- */
6
- export type Criticality = "info" | "success" | "warning" | "critical";
7
3
  /**
8
4
  * Props for the Timeline.Event subcomponent
9
5
  *
@@ -37,6 +33,6 @@ export interface EventProps extends HTMLAttributes<HTMLDivElement> {
37
33
  * Visual criticality modifier for the event
38
34
  * Maps to DSL hasModifierFamily: criticality
39
35
  */
40
- criticality?: Criticality;
36
+ criticality?: ModifierFamily<"criticality">;
41
37
  }
42
38
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Timeline/common/Event/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;AAEtE;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,cAAc,CAAC;IAChE;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/Timeline/common/Event/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,UAAW,SAAQ,cAAc,CAAC,cAAc,CAAC;IAChE;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;;OAGG;IACH,QAAQ,EAAE,SAAS,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;CAC7C"}
@@ -0,0 +1,8 @@
1
+ import type React from "react";
2
+ import type { ApplicationLayoutProps } from "./types.js";
3
+ import "./styles.css";
4
+ /**
5
+ * ApplicationLayout component
6
+ */
7
+ export declare const ApplicationLayout: ({ className, children, ...props }: ApplicationLayoutProps) => React.ReactNode;
8
+ //# sourceMappingURL=ApplicationLayout.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApplicationLayout.d.ts","sourceRoot":"","sources":["../../../../../src/lib/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;AAGtB;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAAI,mCAI/B,sBAAsB,KAAG,KAAK,CAAC,SAWjC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { ApplicationLayout } from "./ApplicationLayout.js";
2
+ export type { ApplicationLayoutProps } from "./types.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/grid/ApplicationLayout/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,YAAY,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface ApplicationLayoutProps extends HTMLAttributes<HTMLDivElement> {
3
+ /** Content to render inside the component */
4
+ children?: ReactNode;
5
+ }
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/grid/ApplicationLayout/types.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,WAAW,sBAAuB,SAAQ,cAAc,CAAC,cAAc,CAAC;IAC5E,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
@@ -0,0 +1,8 @@
1
+ import type React from "react";
2
+ import type { GridCardProps } from "./types.js";
3
+ import "./styles.css";
4
+ /**
5
+ * GridCard component
6
+ */
7
+ export declare const GridCard: ({ className, children, ...props }: GridCardProps) => React.ReactNode;
8
+ //# sourceMappingURL=GridCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GridCard.d.ts","sourceRoot":"","sources":["../../../../../src/lib/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;AAEtB;;GAEG;AACH,eAAO,MAAM,QAAQ,GAAI,mCAItB,aAAa,KAAG,KAAK,CAAC,SAMxB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { GridCard } from "./GridCard.js";
2
+ export type { GridCardProps } from "./types.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/grid/GridCard/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface GridCardProps extends HTMLAttributes<HTMLDivElement> {
3
+ /** Content to render inside the component */
4
+ children?: ReactNode;
5
+ }
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/grid/GridCard/types.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,WAAW,aAAc,SAAQ,cAAc,CAAC,cAAc,CAAC;IACnE,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}