@canonical/react-ds-global 0.20.0 → 0.21.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,7 @@
1
+ import type { InnerGridDemoProps } from "./types.js";
2
+ import "./styles.css";
3
+ /**
4
+ * InnerGridDemo component
5
+ */
6
+ export declare const InnerGridDemo: ({ className, children, ...props }: InnerGridDemoProps) => React.ReactNode;
7
+ //# sourceMappingURL=InnerGridDemo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InnerGridDemo.d.ts","sourceRoot":"","sources":["../../../../../src/lib/grid/InnerGridDemo/InnerGridDemo.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,OAAO,cAAc,CAAC;AAMtB;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,mCAI3B,kBAAkB,KAAG,KAAK,CAAC,SAuB7B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { InnerGridDemo } from "./InnerGridDemo.js";
2
+ export type { InnerGridDemoProps } from "./types.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/grid/InnerGridDemo/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,YAAY,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface InnerGridDemoProps 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/InnerGridDemo/types.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,WAAW,kBAAmB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACxE,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
@@ -0,0 +1,8 @@
1
+ import type React from "react";
2
+ import type { SettingsViewProps } from "./types.js";
3
+ import "./styles.css";
4
+ /**
5
+ * SettingsView component
6
+ */
7
+ export declare const SettingsView: ({ className, children, title, ...props }: SettingsViewProps) => React.ReactNode;
8
+ //# sourceMappingURL=SettingsView.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SettingsView.d.ts","sourceRoot":"","sources":["../../../../../src/lib/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;AAEtB;;GAEG;AACH,eAAO,MAAM,YAAY,GAAI,0CAK1B,iBAAiB,KAAG,KAAK,CAAC,SAoB5B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { SettingsView } from "./SettingsView.js";
2
+ export type { SettingsViewProps } from "./types.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/grid/SettingsView/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,YAAY,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface SettingsViewProps extends HTMLAttributes<HTMLDivElement> {
3
+ /** Content to render inside the component */
4
+ children?: ReactNode;
5
+ /** Title displayed at the top of the settings view */
6
+ title?: string;
7
+ }
8
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/lib/grid/SettingsView/types.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,WAAW,iBAAkB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACvE,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
@@ -0,0 +1,5 @@
1
+ export * from "./ApplicationLayout/index.js";
2
+ export * from "./GridCard/index.js";
3
+ export * from "./InnerGridDemo/index.js";
4
+ export * from "./SettingsView/index.js";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/grid/index.ts"],"names":[],"mappings":"AAEA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC"}
@@ -5,9 +5,13 @@ export * from "./Breadcrumbs/index.js";
5
5
  export * from "./Button/index.js";
6
6
  export * from "./Card/index.js";
7
7
  export * from "./Chip/index.js";
8
+ export * from "./grid/index.js";
8
9
  export * from "./Icon/index.js";
10
+ export * from "./KeyboardKey/index.js";
11
+ export * from "./KeyboardKeys/index.js";
9
12
  export * from "./Label/index.js";
10
13
  export * from "./Link/index.js";
14
+ export * from "./patterns/index.js";
11
15
  export * from "./Rule/index.js";
12
16
  export * from "./Section/index.js";
13
17
  export * from "./SkipLink/index.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,mBAAmB,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,mBAAmB,kBAAkB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type React from "react";
2
+ import type { CategoriesSectionProps } from "./types.js";
3
+ import "./styles.css";
4
+ /**
5
+ * CategoriesSection component
6
+ */
7
+ declare const CategoriesSection: ({ className, children, title, ...props }: CategoriesSectionProps) => React.ReactNode;
8
+ export default CategoriesSection;
9
+ //# sourceMappingURL=CategoriesSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoriesSection.d.ts","sourceRoot":"","sources":["../../../../../src/lib/patterns/CategoriesSection/CategoriesSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,YAAY,CAAC;AACzD,OAAO,cAAc,CAAC;AAOtB;;GAEG;AACH,QAAA,MAAM,iBAAiB,GAAI,0CAKxB,sBAAsB,KAAG,KAAK,CAAC,SAYjC,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type React from "react";
2
+ import type { CategoryProps } from "./types.js";
3
+ import "./styles.css";
4
+ /**
5
+ * Category component
6
+ */
7
+ declare const Category: ({ className, children, title, items, ...props }: CategoryProps) => React.ReactNode;
8
+ export default Category;
9
+ //# sourceMappingURL=Category.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Category.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/patterns/CategoriesSection/common/Category/Category.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,cAAc,CAAC;AAItB;;GAEG;AACH,QAAA,MAAM,QAAQ,GAAI,iDAMf,aAAa,KAAG,KAAK,CAAC,SAcxB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as Category } from "./Category.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/patterns/CategoriesSection/common/Category/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,eAAe,CAAC;AACpD,mBAAmB,YAAY,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface CategoryProps extends HTMLAttributes<HTMLDivElement> {
3
+ /** Content to render inside the component */
4
+ children?: ReactNode;
5
+ /** Category title */
6
+ title?: string;
7
+ /** List of items to display */
8
+ items: string[];
9
+ }
10
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../src/lib/patterns/CategoriesSection/common/Category/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;IACrB,qBAAqB;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+BAA+B;IAC/B,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB"}
@@ -0,0 +1,2 @@
1
+ export * from "./Category/index.js";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lib/patterns/CategoriesSection/common/index.ts"],"names":[],"mappings":"AACA,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ id: string;
3
+ title: string;
4
+ items: string[];
5
+ }[];
6
+ export default _default;
7
+ //# sourceMappingURL=fixtures.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fixtures.d.ts","sourceRoot":"","sources":["../../../../../src/lib/patterns/CategoriesSection/fixtures.ts"],"names":[],"mappings":";;;;;AAAA,wBAiDE"}
@@ -0,0 +1,3 @@
1
+ export { default as CategoriesSection } from "./CategoriesSection.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/patterns/CategoriesSection/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AACtE,mBAAmB,YAAY,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface CategoriesSectionProps 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/patterns/CategoriesSection/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,9 @@
1
+ import type React from "react";
2
+ import type { ChatSectionProps } from "./types.js";
3
+ import "./styles.css";
4
+ /**
5
+ * ChatSection component
6
+ */
7
+ declare const ChatSection: ({ className, children, title, ...props }: ChatSectionProps) => React.ReactNode;
8
+ export default ChatSection;
9
+ //# sourceMappingURL=ChatSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatSection.d.ts","sourceRoot":"","sources":["../../../../../src/lib/patterns/ChatSection/ChatSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAKtB;;GAEG;AACH,QAAA,MAAM,WAAW,GAAI,0CAKlB,gBAAgB,KAAG,KAAK,CAAC,SAY3B,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as ChatSection } from "./ChatSection.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/patterns/ChatSection/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC1D,mBAAmB,YAAY,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface ChatSectionProps 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/patterns/ChatSection/types.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtE,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
@@ -0,0 +1,9 @@
1
+ import type React from "react";
2
+ import type { DescriptionSectionProps } from "./types.js";
3
+ import "./styles.css";
4
+ /**
5
+ * DescriptionSection component
6
+ */
7
+ declare const DescriptionSection: ({ className, children, title, ...props }: DescriptionSectionProps) => React.ReactNode;
8
+ export default DescriptionSection;
9
+ //# sourceMappingURL=DescriptionSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescriptionSection.d.ts","sourceRoot":"","sources":["../../../../../src/lib/patterns/DescriptionSection/DescriptionSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,cAAc,CAAC;AAKtB;;GAEG;AACH,QAAA,MAAM,kBAAkB,GAAI,0CAKzB,uBAAuB,KAAG,KAAK,CAAC,SAUlC,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as DescriptionSection } from "./DescriptionSection.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/patterns/DescriptionSection/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACxE,mBAAmB,YAAY,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface DescriptionSectionProps 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/patterns/DescriptionSection/types.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,WAAW,uBACf,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtC,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
@@ -0,0 +1,9 @@
1
+ import type React from "react";
2
+ import type { IconSectionProps } from "./types.js";
3
+ import "./styles.css";
4
+ /**
5
+ * IconSection component
6
+ */
7
+ declare const IconSection: ({ className, children, ...props }: IconSectionProps) => React.ReactNode;
8
+ export default IconSection;
9
+ //# sourceMappingURL=IconSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IconSection.d.ts","sourceRoot":"","sources":["../../../../../src/lib/patterns/IconSection/IconSection.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,cAAc,CAAC;AAuCtB;;GAEG;AACH,QAAA,MAAM,WAAW,GAAI,mCAIlB,gBAAgB,KAAG,KAAK,CAAC,SAa3B,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as IconSection } from "./IconSection.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/patterns/IconSection/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC1D,mBAAmB,YAAY,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface IconSectionProps 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/patterns/IconSection/types.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,WAAW,gBAAiB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACtE,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB"}
@@ -0,0 +1,9 @@
1
+ import type React from "react";
2
+ import type { TSectionProps } from "./types.js";
3
+ import "./styles.css";
4
+ /**
5
+ * TSection component
6
+ */
7
+ declare const TSection: ({ className, children, title, ...props }: TSectionProps) => React.ReactNode;
8
+ export default TSection;
9
+ //# sourceMappingURL=TSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TSection.d.ts","sourceRoot":"","sources":["../../../../../src/lib/patterns/TSection/TSection.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAChD,OAAO,cAAc,CAAC;AAItB;;GAEG;AACH,QAAA,MAAM,QAAQ,GAAI,0CAKf,aAAa,KAAG,KAAK,CAAC,SAUxB,CAAC;AAEF,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default as TSection } from "./TSection.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/patterns/TSection/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,eAAe,CAAC;AACpD,mBAAmB,YAAY,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { HTMLAttributes, ReactNode } from "react";
2
+ export interface TSectionProps 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/patterns/TSection/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"}
@@ -0,0 +1,6 @@
1
+ export * from "./CategoriesSection/index.js";
2
+ export * from "./ChatSection/index.js";
3
+ export * from "./DescriptionSection/index.js";
4
+ export * from "./IconSection/index.js";
5
+ export * from "./TSection/index.js";
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/patterns/index.ts"],"names":[],"mappings":"AAEA,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@canonical/react-ds-global",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "type": "module",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -39,21 +39,22 @@
39
39
  "test:vitest:watch": "vitest"
40
40
  },
41
41
  "dependencies": {
42
- "@canonical/ds-assets": "^0.20.0",
43
- "@canonical/storybook-config": "^0.20.0",
44
- "@canonical/styles": "^0.20.0",
45
- "@canonical/styles-old": "^0.20.0",
46
- "@canonical/utils": "^0.20.0",
42
+ "@canonical/ds-assets": "^0.21.0",
43
+ "@canonical/storybook-config": "^0.21.0",
44
+ "@canonical/styles": "^0.21.0",
45
+ "@canonical/styles-old": "^0.21.0",
46
+ "@canonical/utils": "^0.21.0",
47
47
  "react": "^19.2.4",
48
48
  "react-dom": "^19.2.4"
49
49
  },
50
50
  "devDependencies": {
51
- "@biomejs/biome": "2.4.6",
52
- "@canonical/biome-config": "^0.20.0",
53
- "@canonical/ds-types": "^0.20.0",
54
- "@canonical/storybook-helpers": "^0.20.0",
55
- "@canonical/typescript-config-react": "^0.20.0",
56
- "@canonical/webarchitect": "^0.20.0",
51
+ "@biomejs/biome": "2.4.9",
52
+ "@canonical/biome-config": "^0.21.0",
53
+ "@canonical/design-tokens": "^0.6.0",
54
+ "@canonical/ds-types": "^0.21.0",
55
+ "@canonical/storybook-helpers": "^0.21.0",
56
+ "@canonical/typescript-config-react": "^0.21.0",
57
+ "@canonical/webarchitect": "^0.21.0",
57
58
  "@chromatic-com/storybook": "^5.0.1",
58
59
  "@storybook/addon-docs": "^10.3.1",
59
60
  "@storybook/react-vite": "^10.3.1",
@@ -62,7 +63,7 @@
62
63
  "@types/node": "^24.12.0",
63
64
  "@types/react": "^19.2.14",
64
65
  "@types/react-dom": "^19.2.3",
65
- "@vitejs/plugin-react": "^5.1.4",
66
+ "@vitejs/plugin-react": "^6.0.0",
66
67
  "copyfiles": "^2.4.1",
67
68
  "globals": "^17.4.0",
68
69
  "jsdom": "^28.1.0",
@@ -72,5 +73,5 @@
72
73
  "vite-tsconfig-paths": "^6.1.1",
73
74
  "vitest": "^4.0.18"
74
75
  },
75
- "gitHead": "1aee634b278922f2aa1cfe2a11d3b14e64280905"
76
+ "gitHead": "4a39c954e7bbad4903397f8371f801982034a26d"
76
77
  }