@canonical/react-ds-global 0.17.1 → 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 (242) hide show
  1. package/README.md +2 -0
  2. package/dist/esm/lib/Announcement/Announcement.js +15 -0
  3. package/dist/esm/lib/Announcement/Announcement.js.map +1 -0
  4. package/dist/esm/lib/Announcement/index.js +2 -0
  5. package/dist/esm/lib/Announcement/index.js.map +1 -0
  6. package/dist/esm/lib/Announcement/styles.css +48 -0
  7. package/dist/esm/lib/Announcement/types.js +2 -0
  8. package/dist/esm/lib/Announcement/types.js.map +1 -0
  9. package/dist/esm/lib/Badge/Badge.js +2 -2
  10. package/dist/esm/lib/Badge/Badge.js.map +1 -1
  11. package/dist/esm/lib/Badge/styles.css +24 -1
  12. package/dist/esm/lib/Button/styles.css +36 -80
  13. package/dist/esm/lib/Card/Card.js +1 -3
  14. package/dist/esm/lib/Card/Card.js.map +1 -1
  15. package/dist/esm/lib/Card/styles.css +16 -0
  16. package/dist/esm/lib/Chip/Chip.js +2 -2
  17. package/dist/esm/lib/Chip/Chip.js.map +1 -1
  18. package/dist/esm/lib/Chip/styles.css +26 -4
  19. package/dist/esm/lib/Icon/styles.css +5 -0
  20. package/dist/esm/lib/KeyboardKey/KeyboardKey.js +18 -0
  21. package/dist/esm/lib/KeyboardKey/KeyboardKey.js.map +1 -0
  22. package/dist/esm/lib/KeyboardKey/constants.js +86 -0
  23. package/dist/esm/lib/KeyboardKey/constants.js.map +1 -0
  24. package/dist/esm/lib/KeyboardKey/index.js +2 -0
  25. package/dist/esm/lib/KeyboardKey/index.js.map +1 -0
  26. package/dist/esm/lib/KeyboardKey/styles.css +30 -0
  27. package/dist/esm/lib/KeyboardKey/types.js +2 -0
  28. package/dist/esm/lib/KeyboardKey/types.js.map +1 -0
  29. package/dist/esm/lib/KeyboardKeys/KeyboardKeys.js +22 -0
  30. package/dist/esm/lib/KeyboardKeys/KeyboardKeys.js.map +1 -0
  31. package/dist/esm/lib/KeyboardKeys/index.js +2 -0
  32. package/dist/esm/lib/KeyboardKeys/index.js.map +1 -0
  33. package/dist/esm/lib/KeyboardKeys/styles.css +6 -0
  34. package/dist/esm/lib/KeyboardKeys/types.js +2 -0
  35. package/dist/esm/lib/KeyboardKeys/types.js.map +1 -0
  36. package/dist/esm/lib/Label/Label.js +2 -1
  37. package/dist/esm/lib/Label/Label.js.map +1 -1
  38. package/dist/esm/lib/Label/styles.css +4 -1
  39. package/dist/esm/lib/Link/styles.css +15 -3
  40. package/dist/esm/lib/Rule/Rule.js +2 -4
  41. package/dist/esm/lib/Rule/Rule.js.map +1 -1
  42. package/dist/esm/lib/Rule/styles.css +12 -10
  43. package/dist/esm/lib/Section/styles.css +23 -0
  44. package/dist/esm/lib/SkipLink/styles.css +17 -0
  45. package/dist/esm/lib/Timeline/common/Event/styles.css +4 -17
  46. package/dist/esm/lib/Tooltip/styles.css +30 -1
  47. package/dist/esm/lib/grid/ApplicationLayout/ApplicationLayout.js +10 -0
  48. package/dist/esm/lib/grid/ApplicationLayout/ApplicationLayout.js.map +1 -0
  49. package/dist/esm/lib/grid/ApplicationLayout/index.js +4 -0
  50. package/dist/esm/lib/grid/ApplicationLayout/index.js.map +1 -0
  51. package/dist/esm/lib/grid/ApplicationLayout/styles.css +20 -0
  52. package/dist/esm/lib/grid/ApplicationLayout/types.js +4 -0
  53. package/dist/esm/lib/grid/ApplicationLayout/types.js.map +1 -0
  54. package/dist/esm/lib/grid/GridCard/GridCard.js +9 -0
  55. package/dist/esm/lib/grid/GridCard/GridCard.js.map +1 -0
  56. package/dist/esm/lib/grid/GridCard/index.js +4 -0
  57. package/dist/esm/lib/grid/GridCard/index.js.map +1 -0
  58. package/dist/esm/lib/grid/GridCard/styles.css +6 -0
  59. package/dist/esm/lib/grid/GridCard/types.js +4 -0
  60. package/dist/esm/lib/grid/GridCard/types.js.map +1 -0
  61. package/dist/esm/lib/grid/InnerGridDemo/InnerGridDemo.js +12 -0
  62. package/dist/esm/lib/grid/InnerGridDemo/InnerGridDemo.js.map +1 -0
  63. package/dist/esm/lib/grid/InnerGridDemo/index.js +4 -0
  64. package/dist/esm/lib/grid/InnerGridDemo/index.js.map +1 -0
  65. package/dist/esm/lib/grid/InnerGridDemo/styles.css +40 -0
  66. package/dist/esm/lib/grid/InnerGridDemo/types.js +4 -0
  67. package/dist/esm/lib/grid/InnerGridDemo/types.js.map +1 -0
  68. package/dist/esm/lib/grid/SettingsView/SettingsView.js +9 -0
  69. package/dist/esm/lib/grid/SettingsView/SettingsView.js.map +1 -0
  70. package/dist/esm/lib/grid/SettingsView/index.js +4 -0
  71. package/dist/esm/lib/grid/SettingsView/index.js.map +1 -0
  72. package/dist/esm/lib/grid/SettingsView/styles.css +32 -0
  73. package/dist/esm/lib/grid/SettingsView/types.js +4 -0
  74. package/dist/esm/lib/grid/SettingsView/types.js.map +1 -0
  75. package/dist/esm/lib/grid/index.js +6 -0
  76. package/dist/esm/lib/grid/index.js.map +1 -0
  77. package/dist/esm/lib/hooks/useWindowFitment/useWindowFitment.js +0 -1
  78. package/dist/esm/lib/hooks/useWindowFitment/useWindowFitment.js.map +1 -1
  79. package/dist/esm/lib/index.js +5 -0
  80. package/dist/esm/lib/index.js.map +1 -1
  81. package/dist/esm/lib/patterns/CategoriesSection/CategoriesSection.js +14 -0
  82. package/dist/esm/lib/patterns/CategoriesSection/CategoriesSection.js.map +1 -0
  83. package/dist/esm/lib/patterns/CategoriesSection/common/Category/Category.js +11 -0
  84. package/dist/esm/lib/patterns/CategoriesSection/common/Category/Category.js.map +1 -0
  85. package/dist/esm/lib/patterns/CategoriesSection/common/Category/index.js +4 -0
  86. package/dist/esm/lib/patterns/CategoriesSection/common/Category/index.js.map +1 -0
  87. package/dist/esm/lib/patterns/CategoriesSection/common/Category/styles.css +23 -0
  88. package/dist/esm/lib/patterns/CategoriesSection/common/Category/types.js +4 -0
  89. package/dist/esm/lib/patterns/CategoriesSection/common/Category/types.js.map +1 -0
  90. package/dist/esm/lib/patterns/CategoriesSection/common/index.js +3 -0
  91. package/dist/esm/lib/patterns/CategoriesSection/common/index.js.map +1 -0
  92. package/dist/esm/lib/patterns/CategoriesSection/fixtures.js +51 -0
  93. package/dist/esm/lib/patterns/CategoriesSection/fixtures.js.map +1 -0
  94. package/dist/esm/lib/patterns/CategoriesSection/index.js +4 -0
  95. package/dist/esm/lib/patterns/CategoriesSection/index.js.map +1 -0
  96. package/dist/esm/lib/patterns/CategoriesSection/styles.css +15 -0
  97. package/dist/esm/lib/patterns/CategoriesSection/types.js +4 -0
  98. package/dist/esm/lib/patterns/CategoriesSection/types.js.map +1 -0
  99. package/dist/esm/lib/patterns/ChatSection/ChatSection.js +12 -0
  100. package/dist/esm/lib/patterns/ChatSection/ChatSection.js.map +1 -0
  101. package/dist/esm/lib/patterns/ChatSection/index.js +4 -0
  102. package/dist/esm/lib/patterns/ChatSection/index.js.map +1 -0
  103. package/dist/esm/lib/patterns/ChatSection/styles.css +21 -0
  104. package/dist/esm/lib/patterns/ChatSection/types.js +4 -0
  105. package/dist/esm/lib/patterns/ChatSection/types.js.map +1 -0
  106. package/dist/esm/lib/patterns/DescriptionSection/DescriptionSection.js +12 -0
  107. package/dist/esm/lib/patterns/DescriptionSection/DescriptionSection.js.map +1 -0
  108. package/dist/esm/lib/patterns/DescriptionSection/index.js +4 -0
  109. package/dist/esm/lib/patterns/DescriptionSection/index.js.map +1 -0
  110. package/dist/esm/lib/patterns/DescriptionSection/styles.css +13 -0
  111. package/dist/esm/lib/patterns/DescriptionSection/types.js +4 -0
  112. package/dist/esm/lib/patterns/DescriptionSection/types.js.map +1 -0
  113. package/dist/esm/lib/patterns/IconSection/IconSection.js +45 -0
  114. package/dist/esm/lib/patterns/IconSection/IconSection.js.map +1 -0
  115. package/dist/esm/lib/patterns/IconSection/index.js +4 -0
  116. package/dist/esm/lib/patterns/IconSection/index.js.map +1 -0
  117. package/dist/esm/lib/patterns/IconSection/styles.css +18 -0
  118. package/dist/esm/lib/patterns/IconSection/types.js +4 -0
  119. package/dist/esm/lib/patterns/IconSection/types.js.map +1 -0
  120. package/dist/esm/lib/patterns/TSection/TSection.js +11 -0
  121. package/dist/esm/lib/patterns/TSection/TSection.js.map +1 -0
  122. package/dist/esm/lib/patterns/TSection/index.js +4 -0
  123. package/dist/esm/lib/patterns/TSection/index.js.map +1 -0
  124. package/dist/esm/lib/patterns/TSection/styles.css +27 -0
  125. package/dist/esm/lib/patterns/TSection/types.js +4 -0
  126. package/dist/esm/lib/patterns/TSection/types.js.map +1 -0
  127. package/dist/esm/lib/patterns/index.js +7 -0
  128. package/dist/esm/lib/patterns/index.js.map +1 -0
  129. package/dist/types/lib/Announcement/Announcement.d.ts +15 -0
  130. package/dist/types/lib/Announcement/Announcement.d.ts.map +1 -0
  131. package/dist/types/lib/Announcement/index.d.ts +3 -0
  132. package/dist/types/lib/Announcement/index.d.ts.map +1 -0
  133. package/dist/types/lib/Announcement/types.d.ts +13 -0
  134. package/dist/types/lib/Announcement/types.d.ts.map +1 -0
  135. package/dist/types/lib/Badge/Badge.d.ts +1 -1
  136. package/dist/types/lib/Badge/Badge.d.ts.map +1 -1
  137. package/dist/types/lib/Badge/types.d.ts +7 -10
  138. package/dist/types/lib/Badge/types.d.ts.map +1 -1
  139. package/dist/types/lib/Card/Card.d.ts +1 -1
  140. package/dist/types/lib/Card/Card.d.ts.map +1 -1
  141. package/dist/types/lib/Card/types.d.ts +0 -12
  142. package/dist/types/lib/Card/types.d.ts.map +1 -1
  143. package/dist/types/lib/Chip/Chip.d.ts +1 -1
  144. package/dist/types/lib/Chip/Chip.d.ts.map +1 -1
  145. package/dist/types/lib/Chip/types.d.ts +15 -3
  146. package/dist/types/lib/Chip/types.d.ts.map +1 -1
  147. package/dist/types/lib/KeyboardKey/KeyboardKey.d.ts +17 -0
  148. package/dist/types/lib/KeyboardKey/KeyboardKey.d.ts.map +1 -0
  149. package/dist/types/lib/KeyboardKey/constants.d.ts +134 -0
  150. package/dist/types/lib/KeyboardKey/constants.d.ts.map +1 -0
  151. package/dist/types/lib/KeyboardKey/index.d.ts +3 -0
  152. package/dist/types/lib/KeyboardKey/index.d.ts.map +1 -0
  153. package/dist/types/lib/KeyboardKey/types.d.ts +9 -0
  154. package/dist/types/lib/KeyboardKey/types.d.ts.map +1 -0
  155. package/dist/types/lib/KeyboardKeys/KeyboardKeys.d.ts +20 -0
  156. package/dist/types/lib/KeyboardKeys/KeyboardKeys.d.ts.map +1 -0
  157. package/dist/types/lib/KeyboardKeys/index.d.ts +3 -0
  158. package/dist/types/lib/KeyboardKeys/index.d.ts.map +1 -0
  159. package/dist/types/lib/KeyboardKeys/types.d.ts +4 -0
  160. package/dist/types/lib/KeyboardKeys/types.d.ts.map +1 -0
  161. package/dist/types/lib/Label/Label.d.ts +1 -1
  162. package/dist/types/lib/Label/Label.d.ts.map +1 -1
  163. package/dist/types/lib/Label/types.d.ts +8 -0
  164. package/dist/types/lib/Label/types.d.ts.map +1 -1
  165. package/dist/types/lib/Rule/Rule.d.ts +1 -1
  166. package/dist/types/lib/Rule/Rule.d.ts.map +1 -1
  167. package/dist/types/lib/Rule/types.d.ts +0 -2
  168. package/dist/types/lib/Rule/types.d.ts.map +1 -1
  169. package/dist/types/lib/Timeline/common/Event/types.d.ts +2 -6
  170. package/dist/types/lib/Timeline/common/Event/types.d.ts.map +1 -1
  171. package/dist/types/lib/grid/ApplicationLayout/ApplicationLayout.d.ts +8 -0
  172. package/dist/types/lib/grid/ApplicationLayout/ApplicationLayout.d.ts.map +1 -0
  173. package/dist/types/lib/grid/ApplicationLayout/index.d.ts +3 -0
  174. package/dist/types/lib/grid/ApplicationLayout/index.d.ts.map +1 -0
  175. package/dist/types/lib/grid/ApplicationLayout/types.d.ts +6 -0
  176. package/dist/types/lib/grid/ApplicationLayout/types.d.ts.map +1 -0
  177. package/dist/types/lib/grid/GridCard/GridCard.d.ts +8 -0
  178. package/dist/types/lib/grid/GridCard/GridCard.d.ts.map +1 -0
  179. package/dist/types/lib/grid/GridCard/index.d.ts +3 -0
  180. package/dist/types/lib/grid/GridCard/index.d.ts.map +1 -0
  181. package/dist/types/lib/grid/GridCard/types.d.ts +6 -0
  182. package/dist/types/lib/grid/GridCard/types.d.ts.map +1 -0
  183. package/dist/types/lib/grid/InnerGridDemo/InnerGridDemo.d.ts +7 -0
  184. package/dist/types/lib/grid/InnerGridDemo/InnerGridDemo.d.ts.map +1 -0
  185. package/dist/types/lib/grid/InnerGridDemo/index.d.ts +3 -0
  186. package/dist/types/lib/grid/InnerGridDemo/index.d.ts.map +1 -0
  187. package/dist/types/lib/grid/InnerGridDemo/types.d.ts +6 -0
  188. package/dist/types/lib/grid/InnerGridDemo/types.d.ts.map +1 -0
  189. package/dist/types/lib/grid/SettingsView/SettingsView.d.ts +8 -0
  190. package/dist/types/lib/grid/SettingsView/SettingsView.d.ts.map +1 -0
  191. package/dist/types/lib/grid/SettingsView/index.d.ts +3 -0
  192. package/dist/types/lib/grid/SettingsView/index.d.ts.map +1 -0
  193. package/dist/types/lib/grid/SettingsView/types.d.ts +8 -0
  194. package/dist/types/lib/grid/SettingsView/types.d.ts.map +1 -0
  195. package/dist/types/lib/grid/index.d.ts +5 -0
  196. package/dist/types/lib/grid/index.d.ts.map +1 -0
  197. package/dist/types/lib/hooks/useWindowFitment/useWindowFitment.d.ts.map +1 -1
  198. package/dist/types/lib/index.d.ts +5 -0
  199. package/dist/types/lib/index.d.ts.map +1 -1
  200. package/dist/types/lib/patterns/CategoriesSection/CategoriesSection.d.ts +9 -0
  201. package/dist/types/lib/patterns/CategoriesSection/CategoriesSection.d.ts.map +1 -0
  202. package/dist/types/lib/patterns/CategoriesSection/common/Category/Category.d.ts +9 -0
  203. package/dist/types/lib/patterns/CategoriesSection/common/Category/Category.d.ts.map +1 -0
  204. package/dist/types/lib/patterns/CategoriesSection/common/Category/index.d.ts +3 -0
  205. package/dist/types/lib/patterns/CategoriesSection/common/Category/index.d.ts.map +1 -0
  206. package/dist/types/lib/patterns/CategoriesSection/common/Category/types.d.ts +10 -0
  207. package/dist/types/lib/patterns/CategoriesSection/common/Category/types.d.ts.map +1 -0
  208. package/dist/types/lib/patterns/CategoriesSection/common/index.d.ts +2 -0
  209. package/dist/types/lib/patterns/CategoriesSection/common/index.d.ts.map +1 -0
  210. package/dist/types/lib/patterns/CategoriesSection/fixtures.d.ts +7 -0
  211. package/dist/types/lib/patterns/CategoriesSection/fixtures.d.ts.map +1 -0
  212. package/dist/types/lib/patterns/CategoriesSection/index.d.ts +3 -0
  213. package/dist/types/lib/patterns/CategoriesSection/index.d.ts.map +1 -0
  214. package/dist/types/lib/patterns/CategoriesSection/types.d.ts +6 -0
  215. package/dist/types/lib/patterns/CategoriesSection/types.d.ts.map +1 -0
  216. package/dist/types/lib/patterns/ChatSection/ChatSection.d.ts +9 -0
  217. package/dist/types/lib/patterns/ChatSection/ChatSection.d.ts.map +1 -0
  218. package/dist/types/lib/patterns/ChatSection/index.d.ts +3 -0
  219. package/dist/types/lib/patterns/ChatSection/index.d.ts.map +1 -0
  220. package/dist/types/lib/patterns/ChatSection/types.d.ts +6 -0
  221. package/dist/types/lib/patterns/ChatSection/types.d.ts.map +1 -0
  222. package/dist/types/lib/patterns/DescriptionSection/DescriptionSection.d.ts +9 -0
  223. package/dist/types/lib/patterns/DescriptionSection/DescriptionSection.d.ts.map +1 -0
  224. package/dist/types/lib/patterns/DescriptionSection/index.d.ts +3 -0
  225. package/dist/types/lib/patterns/DescriptionSection/index.d.ts.map +1 -0
  226. package/dist/types/lib/patterns/DescriptionSection/types.d.ts +6 -0
  227. package/dist/types/lib/patterns/DescriptionSection/types.d.ts.map +1 -0
  228. package/dist/types/lib/patterns/IconSection/IconSection.d.ts +9 -0
  229. package/dist/types/lib/patterns/IconSection/IconSection.d.ts.map +1 -0
  230. package/dist/types/lib/patterns/IconSection/index.d.ts +3 -0
  231. package/dist/types/lib/patterns/IconSection/index.d.ts.map +1 -0
  232. package/dist/types/lib/patterns/IconSection/types.d.ts +6 -0
  233. package/dist/types/lib/patterns/IconSection/types.d.ts.map +1 -0
  234. package/dist/types/lib/patterns/TSection/TSection.d.ts +9 -0
  235. package/dist/types/lib/patterns/TSection/TSection.d.ts.map +1 -0
  236. package/dist/types/lib/patterns/TSection/index.d.ts +3 -0
  237. package/dist/types/lib/patterns/TSection/index.d.ts.map +1 -0
  238. package/dist/types/lib/patterns/TSection/types.d.ts +6 -0
  239. package/dist/types/lib/patterns/TSection/types.d.ts.map +1 -0
  240. package/dist/types/lib/patterns/index.d.ts +6 -0
  241. package/dist/types/lib/patterns/index.d.ts.map +1 -0
  242. package/package.json +27 -25
@@ -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.17.1",
3
+ "version": "0.21.0",
4
4
  "type": "module",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -13,13 +13,13 @@
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "https://github.com/canonical/ds25"
16
+ "url": "https://github.com/canonical/pragma"
17
17
  },
18
18
  "license": "LGPL-3.0",
19
19
  "bugs": {
20
- "url": "https://github.com/canonical/ds25/issues"
20
+ "url": "https://github.com/canonical/pragma/issues"
21
21
  },
22
- "homepage": "https://github.com/canonical/ds25#readme",
22
+ "homepage": "https://github.com/canonical/pragma#readme",
23
23
  "scripts": {
24
24
  "build": "bun run build:package",
25
25
  "build:all": "bun run build:package && bun run build:storybook",
@@ -39,37 +39,39 @@
39
39
  "test:vitest:watch": "vitest"
40
40
  },
41
41
  "dependencies": {
42
- "@canonical/ds-assets": "^0.17.1",
43
- "@canonical/storybook-config": "^0.17.1",
44
- "@canonical/styles": "^0.17.1",
45
- "@canonical/utils": "^0.17.1",
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",
46
47
  "react": "^19.2.4",
47
48
  "react-dom": "^19.2.4"
48
49
  },
49
50
  "devDependencies": {
50
- "@biomejs/biome": "2.4.5",
51
- "@canonical/biome-config": "^0.17.1",
52
- "@canonical/ds-types": "^0.17.1",
53
- "@canonical/storybook-helpers": "^0.17.1",
54
- "@canonical/typescript-config-react": "^0.17.1",
55
- "@canonical/webarchitect": "^0.17.1",
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",
56
58
  "@chromatic-com/storybook": "^5.0.1",
57
- "@storybook/addon-docs": "^10.2.8",
58
- "@storybook/react-vite": "^10.2.8",
59
+ "@storybook/addon-docs": "^10.3.1",
60
+ "@storybook/react-vite": "^10.3.1",
59
61
  "@testing-library/jest-dom": "^6.9.1",
60
62
  "@testing-library/react": "^16.3.2",
61
- "@types/node": "^24.10.13",
62
- "@types/react": "^19.2.13",
63
+ "@types/node": "^24.12.0",
64
+ "@types/react": "^19.2.14",
63
65
  "@types/react-dom": "^19.2.3",
64
- "@vitejs/plugin-react": "^5.1.4",
66
+ "@vitejs/plugin-react": "^6.0.0",
65
67
  "copyfiles": "^2.4.1",
66
- "globals": "^17.3.0",
67
- "jsdom": "^28.0.0",
68
- "storybook": "^10.2.8",
68
+ "globals": "^17.4.0",
69
+ "jsdom": "^28.1.0",
70
+ "storybook": "^10.3.1",
69
71
  "typescript": "^5.9.3",
70
- "vite": "^7.3.1",
71
- "vite-tsconfig-paths": "^6.1.0",
72
+ "vite": "^8.0.1",
73
+ "vite-tsconfig-paths": "^6.1.1",
72
74
  "vitest": "^4.0.18"
73
75
  },
74
- "gitHead": "e3eaaa9efdb58fa72acb8fdd3c7dffa25a1341c4"
76
+ "gitHead": "4a39c954e7bbad4903397f8371f801982034a26d"
75
77
  }