@discourser/design-system 0.15.0 → 0.17.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 (229) hide show
  1. package/dist/chunk-2P7Z5PVP.cjs +2151 -0
  2. package/dist/chunk-2P7Z5PVP.cjs.map +1 -0
  3. package/dist/{chunk-QC44JPCA.cjs → chunk-PFWU7QSM.cjs} +777 -15
  4. package/dist/chunk-PFWU7QSM.cjs.map +1 -0
  5. package/dist/chunk-QC7LGFM3.js +2099 -0
  6. package/dist/chunk-QC7LGFM3.js.map +1 -0
  7. package/dist/{chunk-M7J7WKJY.js → chunk-SNUJBT5R.js} +778 -16
  8. package/dist/chunk-SNUJBT5R.js.map +1 -0
  9. package/dist/components/Accordion.figma.d.ts +2 -0
  10. package/dist/components/Accordion.figma.d.ts.map +1 -0
  11. package/dist/components/Breadcrumb.d.ts +11 -0
  12. package/dist/components/Breadcrumb.d.ts.map +1 -0
  13. package/dist/components/Breadcrumb.figma.d.ts +2 -0
  14. package/dist/components/Breadcrumb.figma.d.ts.map +1 -0
  15. package/dist/components/Checkbox.d.ts +6 -6
  16. package/dist/components/ContentCard/ContentCard.d.ts +13 -0
  17. package/dist/components/ContentCard/ContentCard.d.ts.map +1 -0
  18. package/dist/components/ContentCard/ContentCard.figma.d.ts +2 -0
  19. package/dist/components/ContentCard/ContentCard.figma.d.ts.map +1 -0
  20. package/dist/components/ContentCard/index.d.ts +2 -0
  21. package/dist/components/ContentCard/index.d.ts.map +1 -0
  22. package/dist/components/{Heading.d.ts → Header.d.ts} +3 -3
  23. package/dist/components/Header.d.ts.map +1 -0
  24. package/dist/components/Header.figma.d.ts +2 -0
  25. package/dist/components/Header.figma.d.ts.map +1 -0
  26. package/dist/components/Icons/AccountIcon.d.ts +6 -0
  27. package/dist/components/Icons/AccountIcon.d.ts.map +1 -0
  28. package/dist/components/Icons/ChevronUpIcon.d.ts +6 -0
  29. package/dist/components/Icons/ChevronUpIcon.d.ts.map +1 -0
  30. package/dist/components/Icons/ClockIcon.d.ts +6 -0
  31. package/dist/components/Icons/ClockIcon.d.ts.map +1 -0
  32. package/dist/components/Icons/DashboardIcon.d.ts +6 -0
  33. package/dist/components/Icons/DashboardIcon.d.ts.map +1 -0
  34. package/dist/components/Icons/DiscourserLogo.d.ts +6 -0
  35. package/dist/components/Icons/DiscourserLogo.d.ts.map +1 -0
  36. package/dist/components/Icons/DiscourserLogo.figma.d.ts +2 -0
  37. package/dist/components/Icons/DiscourserLogo.figma.d.ts.map +1 -0
  38. package/dist/components/Icons/GripDotsVerticalIcon.d.ts +6 -0
  39. package/dist/components/Icons/GripDotsVerticalIcon.d.ts.map +1 -0
  40. package/dist/components/Icons/HelpIcon.d.ts +6 -0
  41. package/dist/components/Icons/HelpIcon.d.ts.map +1 -0
  42. package/dist/components/Icons/NotebookIcon.d.ts +6 -0
  43. package/dist/components/Icons/NotebookIcon.d.ts.map +1 -0
  44. package/dist/components/Icons/RightArrowIcon.d.ts +6 -0
  45. package/dist/components/Icons/RightArrowIcon.d.ts.map +1 -0
  46. package/dist/components/Icons/ScenarioIcon.d.ts +6 -0
  47. package/dist/components/Icons/ScenarioIcon.d.ts.map +1 -0
  48. package/dist/components/Icons/index.d.ts +11 -0
  49. package/dist/components/Icons/index.d.ts.map +1 -0
  50. package/dist/components/NavigationMenu/NavigationMenu.d.ts +3 -0
  51. package/dist/components/NavigationMenu/NavigationMenu.d.ts.map +1 -0
  52. package/dist/components/NavigationMenu/NavigationMenu.figma.d.ts +2 -0
  53. package/dist/components/NavigationMenu/NavigationMenu.figma.d.ts.map +1 -0
  54. package/dist/components/NavigationMenu/index.d.ts +3 -0
  55. package/dist/components/NavigationMenu/index.d.ts.map +1 -0
  56. package/dist/components/NavigationMenu/types.d.ts +25 -0
  57. package/dist/components/NavigationMenu/types.d.ts.map +1 -0
  58. package/dist/components/QuickStartPage/QuickStartPage.d.ts +21 -0
  59. package/dist/components/QuickStartPage/QuickStartPage.d.ts.map +1 -0
  60. package/dist/components/QuickStartPage/index.d.ts +3 -0
  61. package/dist/components/QuickStartPage/index.d.ts.map +1 -0
  62. package/dist/components/ScenarioQueue/AddScenarioDialog.d.ts +16 -0
  63. package/dist/components/ScenarioQueue/AddScenarioDialog.d.ts.map +1 -0
  64. package/dist/components/ScenarioQueue/ScenarioCard.d.ts +10 -0
  65. package/dist/components/ScenarioQueue/ScenarioCard.d.ts.map +1 -0
  66. package/dist/components/ScenarioQueue/ScenarioCardDraggable.d.ts +15 -0
  67. package/dist/components/ScenarioQueue/ScenarioCardDraggable.d.ts.map +1 -0
  68. package/dist/components/ScenarioQueue/ScenarioQueue.d.ts +3 -0
  69. package/dist/components/ScenarioQueue/ScenarioQueue.d.ts.map +1 -0
  70. package/dist/components/ScenarioQueue/ScenarioQueue.figma.d.ts +2 -0
  71. package/dist/components/ScenarioQueue/ScenarioQueue.figma.d.ts.map +1 -0
  72. package/dist/components/ScenarioQueue/index.d.ts +6 -0
  73. package/dist/components/ScenarioQueue/index.d.ts.map +1 -0
  74. package/dist/components/ScenarioQueue/types.d.ts +56 -0
  75. package/dist/components/ScenarioQueue/types.d.ts.map +1 -0
  76. package/dist/components/ScenarioSettings/ScenarioSettings.d.ts +3 -0
  77. package/dist/components/ScenarioSettings/ScenarioSettings.d.ts.map +1 -0
  78. package/dist/components/ScenarioSettings/ScenarioSettings.figma.d.ts +2 -0
  79. package/dist/components/ScenarioSettings/ScenarioSettings.figma.d.ts.map +1 -0
  80. package/dist/components/ScenarioSettings/index.d.ts +3 -0
  81. package/dist/components/ScenarioSettings/index.d.ts.map +1 -0
  82. package/dist/components/ScenarioSettings/types.d.ts +54 -0
  83. package/dist/components/ScenarioSettings/types.d.ts.map +1 -0
  84. package/dist/components/index.cjs +110 -34
  85. package/dist/components/index.d.ts +16 -1
  86. package/dist/components/index.d.ts.map +1 -1
  87. package/dist/components/index.js +1 -1
  88. package/dist/figma-codex/config.d.ts +8 -0
  89. package/dist/figma-codex/config.d.ts.map +1 -0
  90. package/dist/figma-codex/fixtures/CompoundComponent/CompoundComponent.d.ts +6 -0
  91. package/dist/figma-codex/fixtures/CompoundComponent/CompoundComponent.d.ts.map +1 -0
  92. package/dist/figma-codex/fixtures/CompoundComponent/index.d.ts +2 -0
  93. package/dist/figma-codex/fixtures/CompoundComponent/index.d.ts.map +1 -0
  94. package/dist/figma-codex/fixtures/CompoundComponent.figma.d.ts +2 -0
  95. package/dist/figma-codex/fixtures/CompoundComponent.figma.d.ts.map +1 -0
  96. package/dist/figma-codex/fixtures/SimpleComponent.d.ts +8 -0
  97. package/dist/figma-codex/fixtures/SimpleComponent.d.ts.map +1 -0
  98. package/dist/figma-codex/fixtures/SimpleComponent.figma.d.ts +2 -0
  99. package/dist/figma-codex/fixtures/SimpleComponent.figma.d.ts.map +1 -0
  100. package/dist/figma-codex/generate.d.ts +6 -0
  101. package/dist/figma-codex/generate.d.ts.map +1 -0
  102. package/dist/figma-codex/parser.d.ts +18 -0
  103. package/dist/figma-codex/parser.d.ts.map +1 -0
  104. package/dist/figma-codex/resolver.d.ts +5 -0
  105. package/dist/figma-codex/resolver.d.ts.map +1 -0
  106. package/dist/figma-codex/schema.d.ts +60 -0
  107. package/dist/figma-codex/schema.d.ts.map +1 -0
  108. package/dist/figma-codex/writer.d.ts +8 -0
  109. package/dist/figma-codex/writer.d.ts.map +1 -0
  110. package/dist/figma-codex.json +373 -0
  111. package/dist/index.cjs +114 -38
  112. package/dist/index.js +2 -2
  113. package/dist/preset/index.cjs +2 -2
  114. package/dist/preset/index.d.ts.map +1 -1
  115. package/dist/preset/index.js +1 -1
  116. package/dist/preset/recipes/accordion.d.ts.map +1 -1
  117. package/dist/preset/recipes/avatar.d.ts.map +1 -1
  118. package/dist/preset/recipes/breadcrumb.d.ts +2 -0
  119. package/dist/preset/recipes/breadcrumb.d.ts.map +1 -0
  120. package/dist/preset/recipes/checkbox.d.ts.map +1 -1
  121. package/dist/preset/recipes/content-card.d.ts +2 -0
  122. package/dist/preset/recipes/content-card.d.ts.map +1 -0
  123. package/dist/preset/recipes/field.d.ts.map +1 -1
  124. package/dist/preset/recipes/index.d.ts +7 -0
  125. package/dist/preset/recipes/index.d.ts.map +1 -1
  126. package/dist/preset/recipes/navigation-menu.d.ts +2 -0
  127. package/dist/preset/recipes/navigation-menu.d.ts.map +1 -0
  128. package/dist/preset/recipes/progress.d.ts.map +1 -1
  129. package/dist/preset/recipes/radio-group.d.ts.map +1 -1
  130. package/dist/preset/recipes/scenario-card.d.ts +2 -0
  131. package/dist/preset/recipes/scenario-card.d.ts.map +1 -0
  132. package/dist/preset/recipes/scenario-queue.d.ts +2 -0
  133. package/dist/preset/recipes/scenario-queue.d.ts.map +1 -0
  134. package/dist/preset/recipes/scenario-settings.d.ts +2 -0
  135. package/dist/preset/recipes/scenario-settings.d.ts.map +1 -0
  136. package/dist/preset/recipes/steps.d.ts.map +1 -1
  137. package/dist/preset/recipes/toast.d.ts.map +1 -1
  138. package/dist/preset/recipes/tooltip.d.ts.map +1 -1
  139. package/dist/preset/semantic-tokens.d.ts +12 -0
  140. package/dist/preset/semantic-tokens.d.ts.map +1 -1
  141. package/package.json +35 -2
  142. package/src/components/Accordion.figma.tsx +20 -0
  143. package/src/components/Breadcrumb.figma.tsx +18 -0
  144. package/src/components/Breadcrumb.tsx +52 -0
  145. package/src/components/ContentCard/ContentCard.figma.tsx +21 -0
  146. package/src/components/ContentCard/ContentCard.test.tsx +197 -0
  147. package/src/components/ContentCard/ContentCard.tsx +19 -0
  148. package/src/components/ContentCard/index.ts +13 -0
  149. package/src/components/Header.figma.tsx +25 -0
  150. package/src/components/{Heading.tsx → Header.tsx} +2 -2
  151. package/src/components/Icons/AccountIcon.tsx +26 -0
  152. package/src/components/Icons/ChevronUpIcon.tsx +24 -0
  153. package/src/components/Icons/ClockIcon.tsx +40 -0
  154. package/src/components/Icons/DashboardIcon.tsx +47 -0
  155. package/src/components/Icons/Discourser-Logo.svg +14 -0
  156. package/src/components/Icons/DiscourserLogo.figma.tsx +10 -0
  157. package/src/components/Icons/DiscourserLogo.tsx +72 -0
  158. package/src/components/Icons/GripDotsVerticalIcon.tsx +26 -0
  159. package/src/components/Icons/HelpIcon.tsx +26 -0
  160. package/src/components/Icons/NotebookIcon.tsx +26 -0
  161. package/src/components/Icons/RightArrowIcon.tsx +23 -0
  162. package/src/components/Icons/ScenarioIcon.tsx +26 -0
  163. package/src/components/Icons/index.ts +13 -0
  164. package/src/components/NavigationMenu/NavigationMenu.figma.tsx +26 -0
  165. package/src/components/NavigationMenu/NavigationMenu.test.tsx +524 -0
  166. package/src/components/NavigationMenu/NavigationMenu.tsx +102 -0
  167. package/src/components/NavigationMenu/index.ts +2 -0
  168. package/src/components/NavigationMenu/types.ts +27 -0
  169. package/src/components/QuickStartPage/QuickStartPage.tsx +627 -0
  170. package/src/components/QuickStartPage/index.ts +2 -0
  171. package/src/components/ScenarioQueue/AddScenarioDialog.tsx +137 -0
  172. package/src/components/ScenarioQueue/ScenarioCard.tsx +120 -0
  173. package/src/components/ScenarioQueue/ScenarioCardDraggable.tsx +41 -0
  174. package/src/components/ScenarioQueue/ScenarioQueue.figma.tsx +37 -0
  175. package/src/components/ScenarioQueue/ScenarioQueue.test.tsx +398 -0
  176. package/src/components/ScenarioQueue/ScenarioQueue.tsx +162 -0
  177. package/src/components/ScenarioQueue/index.ts +11 -0
  178. package/src/components/ScenarioQueue/types.ts +86 -0
  179. package/src/components/ScenarioSettings/ScenarioSettings.figma.tsx +12 -0
  180. package/src/components/ScenarioSettings/ScenarioSettings.test.tsx +406 -0
  181. package/src/components/ScenarioSettings/ScenarioSettings.tsx +386 -0
  182. package/src/components/ScenarioSettings/index.ts +11 -0
  183. package/src/components/ScenarioSettings/types.ts +70 -0
  184. package/src/components/__tests__/Breadcrumb.test.tsx +94 -0
  185. package/src/components/index.ts +54 -1
  186. package/src/figma-codex/README.md +186 -0
  187. package/src/figma-codex/__tests__/config.test.ts +63 -0
  188. package/src/figma-codex/__tests__/generate.test.ts +78 -0
  189. package/src/figma-codex/__tests__/parser.test.ts +138 -0
  190. package/src/figma-codex/__tests__/resolver.test.ts +196 -0
  191. package/src/figma-codex/__tests__/writer.test.ts +111 -0
  192. package/src/figma-codex/config.ts +42 -0
  193. package/src/figma-codex/fixtures/CompoundComponent/CompoundComponent.tsx +17 -0
  194. package/src/figma-codex/fixtures/CompoundComponent/index.ts +1 -0
  195. package/src/figma-codex/fixtures/CompoundComponent.figma.tsx +14 -0
  196. package/src/figma-codex/fixtures/SimpleComponent.figma.tsx +10 -0
  197. package/src/figma-codex/fixtures/SimpleComponent.tsx +10 -0
  198. package/src/figma-codex/fixtures/expected-output.json +78 -0
  199. package/src/figma-codex/generate.ts +106 -0
  200. package/src/figma-codex/parser.ts +138 -0
  201. package/src/figma-codex/resolver.ts +280 -0
  202. package/src/figma-codex/schema.ts +79 -0
  203. package/src/figma-codex/writer.ts +54 -0
  204. package/src/preset/index.ts +15 -0
  205. package/src/preset/recipes/accordion.ts +8 -5
  206. package/src/preset/recipes/avatar.ts +1 -2
  207. package/src/preset/recipes/breadcrumb.ts +109 -0
  208. package/src/preset/recipes/checkbox.ts +1 -2
  209. package/src/preset/recipes/content-card.ts +124 -0
  210. package/src/preset/recipes/field.ts +1 -2
  211. package/src/preset/recipes/index.ts +11 -0
  212. package/src/preset/recipes/navigation-menu.ts +97 -0
  213. package/src/preset/recipes/progress.ts +1 -2
  214. package/src/preset/recipes/radio-group.ts +1 -2
  215. package/src/preset/recipes/scenario-card.ts +151 -0
  216. package/src/preset/recipes/scenario-queue.ts +99 -0
  217. package/src/preset/recipes/scenario-settings.ts +182 -0
  218. package/src/preset/recipes/steps.ts +1 -2
  219. package/src/preset/recipes/toast.ts +1 -2
  220. package/src/preset/recipes/tooltip.ts +1 -2
  221. package/src/preset/semantic-tokens.ts +4 -0
  222. package/src/test/setup.ts +15 -0
  223. package/dist/chunk-F7LHARS4.js +0 -869
  224. package/dist/chunk-F7LHARS4.js.map +0 -1
  225. package/dist/chunk-M7J7WKJY.js.map +0 -1
  226. package/dist/chunk-QC44JPCA.cjs.map +0 -1
  227. package/dist/chunk-QP4EJI3G.cjs +0 -902
  228. package/dist/chunk-QP4EJI3G.cjs.map +0 -1
  229. package/dist/components/Heading.d.ts.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkQC44JPCA_cjs = require('./chunk-QC44JPCA.cjs');
4
- var chunkQP4EJI3G_cjs = require('./chunk-QP4EJI3G.cjs');
3
+ var chunkPFWU7QSM_cjs = require('./chunk-PFWU7QSM.cjs');
4
+ var chunk2P7Z5PVP_cjs = require('./chunk-2P7Z5PVP.cjs');
5
5
  require('./chunk-EARF7VDF.cjs');
6
6
  var clsx = require('clsx');
7
7
 
@@ -11,143 +11,219 @@ function cn(...inputs) {
11
11
 
12
12
  Object.defineProperty(exports, "activeLanguage", {
13
13
  enumerable: true,
14
- get: function () { return chunkQC44JPCA_cjs.material3Language; }
14
+ get: function () { return chunkPFWU7QSM_cjs.material3Language; }
15
15
  });
16
16
  Object.defineProperty(exports, "discourserPandaPreset", {
17
17
  enumerable: true,
18
- get: function () { return chunkQC44JPCA_cjs.discourserPandaPreset; }
18
+ get: function () { return chunkPFWU7QSM_cjs.discourserPandaPreset; }
19
19
  });
20
20
  Object.defineProperty(exports, "transformToPandaTheme", {
21
21
  enumerable: true,
22
- get: function () { return chunkQC44JPCA_cjs.transformToPandaTheme; }
22
+ get: function () { return chunkPFWU7QSM_cjs.transformToPandaTheme; }
23
23
  });
24
24
  Object.defineProperty(exports, "AbsoluteCenter", {
25
25
  enumerable: true,
26
- get: function () { return chunkQP4EJI3G_cjs.AbsoluteCenter_exports; }
26
+ get: function () { return chunk2P7Z5PVP_cjs.AbsoluteCenter_exports; }
27
27
  });
28
28
  Object.defineProperty(exports, "Accordion", {
29
29
  enumerable: true,
30
- get: function () { return chunkQP4EJI3G_cjs.Accordion_exports; }
30
+ get: function () { return chunk2P7Z5PVP_cjs.Accordion_exports; }
31
+ });
32
+ Object.defineProperty(exports, "AccountIcon", {
33
+ enumerable: true,
34
+ get: function () { return chunk2P7Z5PVP_cjs.AccountIcon; }
35
+ });
36
+ Object.defineProperty(exports, "AddScenarioDialog", {
37
+ enumerable: true,
38
+ get: function () { return chunk2P7Z5PVP_cjs.AddScenarioDialog; }
31
39
  });
32
40
  Object.defineProperty(exports, "Avatar", {
33
41
  enumerable: true,
34
- get: function () { return chunkQP4EJI3G_cjs.Avatar_exports; }
42
+ get: function () { return chunk2P7Z5PVP_cjs.Avatar_exports; }
35
43
  });
36
44
  Object.defineProperty(exports, "Badge", {
37
45
  enumerable: true,
38
- get: function () { return chunkQP4EJI3G_cjs.Badge; }
46
+ get: function () { return chunk2P7Z5PVP_cjs.Badge; }
47
+ });
48
+ Object.defineProperty(exports, "Breadcrumb", {
49
+ enumerable: true,
50
+ get: function () { return chunk2P7Z5PVP_cjs.Breadcrumb_exports; }
39
51
  });
40
52
  Object.defineProperty(exports, "Button", {
41
53
  enumerable: true,
42
- get: function () { return chunkQP4EJI3G_cjs.Button; }
54
+ get: function () { return chunk2P7Z5PVP_cjs.Button; }
43
55
  });
44
56
  Object.defineProperty(exports, "ButtonGroup", {
45
57
  enumerable: true,
46
- get: function () { return chunkQP4EJI3G_cjs.ButtonGroup; }
58
+ get: function () { return chunk2P7Z5PVP_cjs.ButtonGroup; }
47
59
  });
48
60
  Object.defineProperty(exports, "Card", {
49
61
  enumerable: true,
50
- get: function () { return chunkQP4EJI3G_cjs.Card_exports; }
62
+ get: function () { return chunk2P7Z5PVP_cjs.Card_exports; }
51
63
  });
52
64
  Object.defineProperty(exports, "Checkbox", {
53
65
  enumerable: true,
54
- get: function () { return chunkQP4EJI3G_cjs.Checkbox_exports; }
66
+ get: function () { return chunk2P7Z5PVP_cjs.Checkbox_exports; }
67
+ });
68
+ Object.defineProperty(exports, "ChevronUpIcon", {
69
+ enumerable: true,
70
+ get: function () { return chunk2P7Z5PVP_cjs.ChevronUpIcon; }
71
+ });
72
+ Object.defineProperty(exports, "ClockIcon", {
73
+ enumerable: true,
74
+ get: function () { return chunk2P7Z5PVP_cjs.ClockIcon; }
55
75
  });
56
76
  Object.defineProperty(exports, "CloseButton", {
57
77
  enumerable: true,
58
- get: function () { return chunkQP4EJI3G_cjs.CloseButton_exports; }
78
+ get: function () { return chunk2P7Z5PVP_cjs.CloseButton_exports; }
79
+ });
80
+ Object.defineProperty(exports, "ContentCard", {
81
+ enumerable: true,
82
+ get: function () { return chunk2P7Z5PVP_cjs.ContentCard_exports; }
83
+ });
84
+ Object.defineProperty(exports, "DashboardIcon", {
85
+ enumerable: true,
86
+ get: function () { return chunk2P7Z5PVP_cjs.DashboardIcon; }
59
87
  });
60
88
  Object.defineProperty(exports, "Dialog", {
61
89
  enumerable: true,
62
- get: function () { return chunkQP4EJI3G_cjs.Dialog_exports; }
90
+ get: function () { return chunk2P7Z5PVP_cjs.Dialog_exports; }
91
+ });
92
+ Object.defineProperty(exports, "DiscourserLogo", {
93
+ enumerable: true,
94
+ get: function () { return chunk2P7Z5PVP_cjs.DiscourserLogo; }
63
95
  });
64
96
  Object.defineProperty(exports, "Drawer", {
65
97
  enumerable: true,
66
- get: function () { return chunkQP4EJI3G_cjs.Drawer_exports; }
98
+ get: function () { return chunk2P7Z5PVP_cjs.Drawer_exports; }
99
+ });
100
+ Object.defineProperty(exports, "GripDotsVerticalIcon", {
101
+ enumerable: true,
102
+ get: function () { return chunk2P7Z5PVP_cjs.GripDotsVerticalIcon; }
67
103
  });
68
104
  Object.defineProperty(exports, "Group", {
69
105
  enumerable: true,
70
- get: function () { return chunkQP4EJI3G_cjs.Group_exports; }
106
+ get: function () { return chunk2P7Z5PVP_cjs.Group_exports; }
107
+ });
108
+ Object.defineProperty(exports, "Header", {
109
+ enumerable: true,
110
+ get: function () { return chunk2P7Z5PVP_cjs.Header; }
71
111
  });
72
- Object.defineProperty(exports, "Heading", {
112
+ Object.defineProperty(exports, "HelpIcon", {
73
113
  enumerable: true,
74
- get: function () { return chunkQP4EJI3G_cjs.Heading; }
114
+ get: function () { return chunk2P7Z5PVP_cjs.HelpIcon; }
75
115
  });
76
116
  Object.defineProperty(exports, "Icon", {
77
117
  enumerable: true,
78
- get: function () { return chunkQP4EJI3G_cjs.Icon_exports; }
118
+ get: function () { return chunk2P7Z5PVP_cjs.Icon_exports; }
79
119
  });
80
120
  Object.defineProperty(exports, "IconButton", {
81
121
  enumerable: true,
82
- get: function () { return chunkQP4EJI3G_cjs.IconButton; }
122
+ get: function () { return chunk2P7Z5PVP_cjs.IconButton; }
83
123
  });
84
124
  Object.defineProperty(exports, "Input", {
85
125
  enumerable: true,
86
- get: function () { return chunkQP4EJI3G_cjs.Input; }
126
+ get: function () { return chunk2P7Z5PVP_cjs.Input; }
87
127
  });
88
128
  Object.defineProperty(exports, "InputAddon", {
89
129
  enumerable: true,
90
- get: function () { return chunkQP4EJI3G_cjs.InputAddon; }
130
+ get: function () { return chunk2P7Z5PVP_cjs.InputAddon; }
91
131
  });
92
132
  Object.defineProperty(exports, "InputGroup", {
93
133
  enumerable: true,
94
- get: function () { return chunkQP4EJI3G_cjs.InputGroup; }
134
+ get: function () { return chunk2P7Z5PVP_cjs.InputGroup; }
135
+ });
136
+ Object.defineProperty(exports, "NavigationMenu", {
137
+ enumerable: true,
138
+ get: function () { return chunk2P7Z5PVP_cjs.NavigationMenu; }
139
+ });
140
+ Object.defineProperty(exports, "NotebookIcon", {
141
+ enumerable: true,
142
+ get: function () { return chunk2P7Z5PVP_cjs.NotebookIcon; }
95
143
  });
96
144
  Object.defineProperty(exports, "Popover", {
97
145
  enumerable: true,
98
- get: function () { return chunkQP4EJI3G_cjs.Popover_exports; }
146
+ get: function () { return chunk2P7Z5PVP_cjs.Popover_exports; }
99
147
  });
100
148
  Object.defineProperty(exports, "Progress", {
101
149
  enumerable: true,
102
- get: function () { return chunkQP4EJI3G_cjs.Progress_exports; }
150
+ get: function () { return chunk2P7Z5PVP_cjs.Progress_exports; }
103
151
  });
104
152
  Object.defineProperty(exports, "RadioGroup", {
105
153
  enumerable: true,
106
- get: function () { return chunkQP4EJI3G_cjs.RadioGroup_exports; }
154
+ get: function () { return chunk2P7Z5PVP_cjs.RadioGroup_exports; }
155
+ });
156
+ Object.defineProperty(exports, "RightArrowIcon", {
157
+ enumerable: true,
158
+ get: function () { return chunk2P7Z5PVP_cjs.RightArrowIcon; }
159
+ });
160
+ Object.defineProperty(exports, "ScenarioCard", {
161
+ enumerable: true,
162
+ get: function () { return chunk2P7Z5PVP_cjs.ScenarioCard; }
163
+ });
164
+ Object.defineProperty(exports, "ScenarioIcon", {
165
+ enumerable: true,
166
+ get: function () { return chunk2P7Z5PVP_cjs.ScenarioIcon; }
167
+ });
168
+ Object.defineProperty(exports, "ScenarioQueue", {
169
+ enumerable: true,
170
+ get: function () { return chunk2P7Z5PVP_cjs.ScenarioQueue; }
171
+ });
172
+ Object.defineProperty(exports, "ScenarioSettings", {
173
+ enumerable: true,
174
+ get: function () { return chunk2P7Z5PVP_cjs.ScenarioSettings; }
107
175
  });
108
176
  Object.defineProperty(exports, "Select", {
109
177
  enumerable: true,
110
- get: function () { return chunkQP4EJI3G_cjs.Select_exports; }
178
+ get: function () { return chunk2P7Z5PVP_cjs.Select_exports; }
111
179
  });
112
180
  Object.defineProperty(exports, "Skeleton", {
113
181
  enumerable: true,
114
- get: function () { return chunkQP4EJI3G_cjs.Skeleton_exports; }
182
+ get: function () { return chunk2P7Z5PVP_cjs.Skeleton_exports; }
115
183
  });
116
184
  Object.defineProperty(exports, "Slider", {
117
185
  enumerable: true,
118
- get: function () { return chunkQP4EJI3G_cjs.Slider_exports; }
186
+ get: function () { return chunk2P7Z5PVP_cjs.Slider_exports; }
119
187
  });
120
188
  Object.defineProperty(exports, "Spinner", {
121
189
  enumerable: true,
122
- get: function () { return chunkQP4EJI3G_cjs.Spinner; }
190
+ get: function () { return chunk2P7Z5PVP_cjs.Spinner; }
123
191
  });
124
192
  Object.defineProperty(exports, "Stepper", {
125
193
  enumerable: true,
126
- get: function () { return chunkQP4EJI3G_cjs.Stepper; }
194
+ get: function () { return chunk2P7Z5PVP_cjs.Stepper; }
127
195
  });
128
196
  Object.defineProperty(exports, "Switch", {
129
197
  enumerable: true,
130
- get: function () { return chunkQP4EJI3G_cjs.Switch_exports; }
198
+ get: function () { return chunk2P7Z5PVP_cjs.Switch_exports; }
131
199
  });
132
200
  Object.defineProperty(exports, "Tabs", {
133
201
  enumerable: true,
134
- get: function () { return chunkQP4EJI3G_cjs.Tabs_exports; }
202
+ get: function () { return chunk2P7Z5PVP_cjs.Tabs_exports; }
135
203
  });
136
204
  Object.defineProperty(exports, "Textarea", {
137
205
  enumerable: true,
138
- get: function () { return chunkQP4EJI3G_cjs.Textarea; }
206
+ get: function () { return chunk2P7Z5PVP_cjs.Textarea; }
139
207
  });
140
208
  Object.defineProperty(exports, "Toaster", {
141
209
  enumerable: true,
142
- get: function () { return chunkQP4EJI3G_cjs.Toaster; }
210
+ get: function () { return chunk2P7Z5PVP_cjs.Toaster; }
143
211
  });
144
212
  Object.defineProperty(exports, "Tooltip", {
145
213
  enumerable: true,
146
- get: function () { return chunkQP4EJI3G_cjs.Tooltip_exports; }
214
+ get: function () { return chunk2P7Z5PVP_cjs.Tooltip_exports; }
215
+ });
216
+ Object.defineProperty(exports, "difficultyColorMap", {
217
+ enumerable: true,
218
+ get: function () { return chunk2P7Z5PVP_cjs.difficultyColorMap; }
219
+ });
220
+ Object.defineProperty(exports, "difficultyLabel", {
221
+ enumerable: true,
222
+ get: function () { return chunk2P7Z5PVP_cjs.difficultyLabel; }
147
223
  });
148
224
  Object.defineProperty(exports, "toaster", {
149
225
  enumerable: true,
150
- get: function () { return chunkQP4EJI3G_cjs.toaster; }
226
+ get: function () { return chunk2P7Z5PVP_cjs.toaster; }
151
227
  });
152
228
  exports.cn = cn;
153
229
  //# sourceMappingURL=index.cjs.map
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export { material3Language as activeLanguage, discourserPandaPreset, transformToPandaTheme } from './chunk-M7J7WKJY.js';
2
- export { AbsoluteCenter_exports as AbsoluteCenter, Accordion_exports as Accordion, Avatar_exports as Avatar, Badge, Button, ButtonGroup, Card_exports as Card, Checkbox_exports as Checkbox, CloseButton_exports as CloseButton, Dialog_exports as Dialog, Drawer_exports as Drawer, Group_exports as Group, Heading, Icon_exports as Icon, IconButton, Input, InputAddon, InputGroup, Popover_exports as Popover, Progress_exports as Progress, RadioGroup_exports as RadioGroup, Select_exports as Select, Skeleton_exports as Skeleton, Slider_exports as Slider, Spinner, Stepper, Switch_exports as Switch, Tabs_exports as Tabs, Textarea, Toaster, Tooltip_exports as Tooltip, toaster } from './chunk-F7LHARS4.js';
1
+ export { material3Language as activeLanguage, discourserPandaPreset, transformToPandaTheme } from './chunk-SNUJBT5R.js';
2
+ export { AbsoluteCenter_exports as AbsoluteCenter, Accordion_exports as Accordion, AccountIcon, AddScenarioDialog, Avatar_exports as Avatar, Badge, Breadcrumb_exports as Breadcrumb, Button, ButtonGroup, Card_exports as Card, Checkbox_exports as Checkbox, ChevronUpIcon, ClockIcon, CloseButton_exports as CloseButton, ContentCard_exports as ContentCard, DashboardIcon, Dialog_exports as Dialog, DiscourserLogo, Drawer_exports as Drawer, GripDotsVerticalIcon, Group_exports as Group, Header, HelpIcon, Icon_exports as Icon, IconButton, Input, InputAddon, InputGroup, NavigationMenu, NotebookIcon, Popover_exports as Popover, Progress_exports as Progress, RadioGroup_exports as RadioGroup, RightArrowIcon, ScenarioCard, ScenarioIcon, ScenarioQueue, ScenarioSettings, Select_exports as Select, Skeleton_exports as Skeleton, Slider_exports as Slider, Spinner, Stepper, Switch_exports as Switch, Tabs_exports as Tabs, Textarea, Toaster, Tooltip_exports as Tooltip, difficultyColorMap, difficultyLabel, toaster } from './chunk-QC7LGFM3.js';
3
3
  import './chunk-WR5Z5QMQ.js';
4
4
  import { clsx } from 'clsx';
5
5
 
@@ -1,13 +1,13 @@
1
1
  'use strict';
2
2
 
3
- var chunkQC44JPCA_cjs = require('../chunk-QC44JPCA.cjs');
3
+ var chunkPFWU7QSM_cjs = require('../chunk-PFWU7QSM.cjs');
4
4
  require('../chunk-EARF7VDF.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "discourserPandaPreset", {
9
9
  enumerable: true,
10
- get: function () { return chunkQC44JPCA_cjs.discourserPandaPreset; }
10
+ get: function () { return chunkPFWU7QSM_cjs.discourserPandaPreset; }
11
11
  });
12
12
  //# sourceMappingURL=index.cjs.map
13
13
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/preset/index.ts"],"names":[],"mappings":"AAsDA,eAAO,MAAM,qBAAqB,gCA2IhC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/preset/index.ts"],"names":[],"mappings":"AA8DA,eAAO,MAAM,qBAAqB,gCAkJhC,CAAC"}
@@ -1,4 +1,4 @@
1
- export { discourserPandaPreset } from '../chunk-M7J7WKJY.js';
1
+ export { discourserPandaPreset } from '../chunk-SNUJBT5R.js';
2
2
  import '../chunk-WR5Z5QMQ.js';
3
3
  //# sourceMappingURL=index.js.map
4
4
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/accordion.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,0CAwFpB,CAAA"}
1
+ {"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/accordion.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,SAAS,0CA2FpB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/avatar.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,MAAM,0CAoJjB,CAAA"}
1
+ {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/avatar.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM,0CAoJjB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const breadcrumb: import("@pandacss/dev").SlotRecipeConfig;
2
+ //# sourceMappingURL=breadcrumb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/breadcrumb.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,0CA0GrB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/checkbox.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,0CAyGnB,CAAA"}
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/checkbox.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,0CAyGnB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const contentCard: import("@pandacss/dev").SlotRecipeConfig;
2
+ //# sourceMappingURL=content-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"content-card.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/content-card.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,WAAW,0CAyHtB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/field.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,0CAoChB,CAAA"}
1
+ {"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/field.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,0CAoChB,CAAA"}
@@ -7,6 +7,8 @@ export * from './card';
7
7
  export * from './accordion';
8
8
  export * from './drawer';
9
9
  export * from './tabs';
10
+ export * from './breadcrumb';
11
+ export * from './navigation-menu';
10
12
  export * from './switch';
11
13
  export * from './checkbox';
12
14
  export * from './radio-group';
@@ -25,4 +27,9 @@ export * from './tooltip';
25
27
  export * from './heading';
26
28
  export * from './absolute-center';
27
29
  export * from './group';
30
+ export * from './stepper';
31
+ export * from './content-card';
32
+ export * from './scenario-card';
33
+ export * from './scenario-queue';
34
+ export * from './scenario-settings';
28
35
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/index.ts"],"names":[],"mappings":"AACA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AAGxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AAGvB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AAGzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AAGxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAG1B,cAAc,WAAW,CAAC;AAG1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/index.ts"],"names":[],"mappings":"AACA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AAGxB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAC5B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AAGvB,cAAc,cAAc,CAAC;AAC7B,cAAc,mBAAmB,CAAC;AAGlC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AAGzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AAGxB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAG1B,cAAc,WAAW,CAAC;AAG1B,cAAc,mBAAmB,CAAC;AAClC,cAAc,SAAS,CAAC;AAGxB,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const navigationMenu: import("@pandacss/dev").SlotRecipeConfig;
2
+ //# sourceMappingURL=navigation-menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation-menu.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/navigation-menu.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,cAAc,0CA8FzB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/progress.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,QAAQ,0CAoHnB,CAAA"}
1
+ {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/progress.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,QAAQ,0CAoHnB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/radio-group.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,UAAU,0CAgGrB,CAAA"}
1
+ {"version":3,"file":"radio-group.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/radio-group.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,UAAU,0CAgGrB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const scenarioCard: import("@pandacss/dev").SlotRecipeConfig;
2
+ //# sourceMappingURL=scenario-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scenario-card.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/scenario-card.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY,0CAoJvB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const scenarioQueue: import("@pandacss/dev").SlotRecipeConfig;
2
+ //# sourceMappingURL=scenario-queue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scenario-queue.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/scenario-queue.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,0CAgGxB,CAAA"}
@@ -0,0 +1,2 @@
1
+ export declare const scenarioSettings: import("@pandacss/dev").SlotRecipeConfig;
2
+ //# sourceMappingURL=scenario-settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scenario-settings.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/scenario-settings.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,0CAmL3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/steps.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,0CAIhB,CAAC"}
1
+ {"version":3,"file":"steps.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/steps.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,0CAIhB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/toast.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,0CA+ChB,CAAA"}
1
+ {"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/toast.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,KAAK,0CA+ChB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/tooltip.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,0CAkClB,CAAA"}
1
+ {"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/preset/recipes/tooltip.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,0CAkClB,CAAA"}
@@ -187,6 +187,18 @@ export declare const m3SemanticTokens: {
187
187
  _dark: string;
188
188
  };
189
189
  };
190
+ inverseSecondary: {
191
+ value: {
192
+ base: string;
193
+ _dark: string;
194
+ };
195
+ };
196
+ inverseTertiary: {
197
+ value: {
198
+ base: string;
199
+ _dark: string;
200
+ };
201
+ };
190
202
  scrim: {
191
203
  value: {
192
204
  base: string;
@@ -1 +1 @@
1
- {"version":3,"file":"semantic-tokens.d.ts","sourceRoot":"","sources":["../../src/preset/semantic-tokens.ts"],"names":[],"mappings":"AAMA;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8D3B,CAAC"}
1
+ {"version":3,"file":"semantic-tokens.d.ts","sourceRoot":"","sources":["../../src/preset/semantic-tokens.ts"],"names":[],"mappings":"AAMA;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkE3B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@discourser/design-system",
3
- "version": "0.15.0",
3
+ "version": "0.17.0",
4
4
  "description": "Aesthetic-agnostic design system with Panda CSS and Ark UI",
5
5
  "type": "module",
6
6
  "publishConfig": {
@@ -149,6 +149,30 @@
149
149
  "./Stepper": {
150
150
  "types": "./src/components/Stepper/index.ts",
151
151
  "import": "./src/components/Stepper/index.ts"
152
+ },
153
+ "./NavigationMenu": {
154
+ "types": "./src/components/NavigationMenu/index.ts",
155
+ "import": "./src/components/NavigationMenu/index.ts"
156
+ },
157
+ "./ScenarioQueue": {
158
+ "types": "./src/components/ScenarioQueue/index.ts",
159
+ "import": "./src/components/ScenarioQueue/index.ts"
160
+ },
161
+ "./ScenarioSettings": {
162
+ "types": "./src/components/ScenarioSettings/index.ts",
163
+ "import": "./src/components/ScenarioSettings/index.ts"
164
+ },
165
+ "./Breadcrumb": {
166
+ "types": "./src/components/Breadcrumb.tsx",
167
+ "import": "./src/components/Breadcrumb.tsx"
168
+ },
169
+ "./ContentCard": {
170
+ "types": "./src/components/ContentCard/index.ts",
171
+ "import": "./src/components/ContentCard/index.ts"
172
+ },
173
+ "./figma-codex": {
174
+ "import": "./dist/figma-codex.json",
175
+ "require": "./dist/figma-codex.json"
152
176
  }
153
177
  },
154
178
  "files": [
@@ -157,7 +181,7 @@
157
181
  ],
158
182
  "scripts": {
159
183
  "dev": "pnpm docs:generate && storybook dev -p 6006",
160
- "build": "pnpm build:panda && pnpm typecheck && pnpm build:lib && pnpm build:types",
184
+ "build": "pnpm build:panda && pnpm typecheck && pnpm build:lib && pnpm build:types && pnpm codex:generate",
161
185
  "build:panda": "panda codegen",
162
186
  "build:css": "panda cssgen --outfile dist/styles.css",
163
187
  "build:lib": "tsup",
@@ -182,6 +206,10 @@
182
206
  "verify:lint": "pnpm lint",
183
207
  "verify:test": "pnpm test run",
184
208
  "verify:build": "pnpm build",
209
+ "codex:generate": "tsx src/figma-codex/generate.ts",
210
+ "codex:watch": "tsx --watch src/figma-codex/generate.ts",
211
+ "figma:connect": "figma connect publish",
212
+ "figma:connect:dry": "figma connect publish --dry-run",
185
213
  "changeset": "changeset",
186
214
  "version": "changeset version",
187
215
  "ci:version": "pnpm exec changeset version",
@@ -194,12 +222,14 @@
194
222
  },
195
223
  "dependencies": {
196
224
  "@ark-ui/react": "^5.31.0",
225
+ "@dnd-kit/react": "^0.3.1",
197
226
  "clsx": "^2.1.1"
198
227
  },
199
228
  "devDependencies": {
200
229
  "@changesets/changelog-github": "^0.5.2",
201
230
  "@changesets/cli": "^2.29.8",
202
231
  "@eslint/js": "^9.39.2",
232
+ "@figma/code-connect": "^1.4.1",
203
233
  "@material/material-color-utilities": "^0.3.0",
204
234
  "@pandacss/dev": "^1.8.1",
205
235
  "@storybook/addon-a11y": "^10.2.8",
@@ -258,6 +288,9 @@
258
288
  ],
259
289
  "*.{json,md}": [
260
290
  "prettier --write"
291
+ ],
292
+ "*.figma.tsx": [
293
+ "tsx src/figma-codex/generate.ts"
261
294
  ]
262
295
  }
263
296
  }
@@ -0,0 +1,20 @@
1
+ import figma from '@figma/code-connect';
2
+ import * as Accordion from './Accordion';
3
+
4
+ figma.connect(
5
+ Accordion.Root,
6
+ 'https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-8232',
7
+ {
8
+ example: () => (
9
+ <Accordion.Root collapsible>
10
+ <Accordion.Item value="item-1">
11
+ <Accordion.ItemTrigger>
12
+ <span>Trigger</span>
13
+ <Accordion.ItemIndicator />
14
+ </Accordion.ItemTrigger>
15
+ <Accordion.ItemContent>Content</Accordion.ItemContent>
16
+ </Accordion.Item>
17
+ </Accordion.Root>
18
+ ),
19
+ },
20
+ );
@@ -0,0 +1,18 @@
1
+ import figma from '@figma/code-connect'
2
+ import * as Breadcrumb from './Breadcrumb'
3
+
4
+ figma.connect(Breadcrumb.Root, 'https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-7978', {
5
+ example: () => (
6
+ <Breadcrumb.Root>
7
+ <Breadcrumb.List>
8
+ <Breadcrumb.Item>
9
+ <Breadcrumb.Link href="#">Home</Breadcrumb.Link>
10
+ </Breadcrumb.Item>
11
+ <Breadcrumb.Separator />
12
+ <Breadcrumb.Item>
13
+ <Breadcrumb.CurrentLink>Current</Breadcrumb.CurrentLink>
14
+ </Breadcrumb.Item>
15
+ </Breadcrumb.List>
16
+ </Breadcrumb.Root>
17
+ ),
18
+ })
@@ -0,0 +1,52 @@
1
+ 'use client';
2
+ import { ark } from '@ark-ui/react/factory';
3
+ import type { ComponentProps } from 'react';
4
+ import { createStyleContext } from 'styled-system/jsx';
5
+ import { breadcrumb } from 'styled-system/recipes';
6
+
7
+ const ChevronRightIcon = () => (
8
+ <svg
9
+ width="16"
10
+ height="16"
11
+ viewBox="0 0 24 24"
12
+ fill="none"
13
+ stroke="currentColor"
14
+ strokeWidth="2"
15
+ strokeLinecap="round"
16
+ strokeLinejoin="round"
17
+ >
18
+ <path d="m9 18 6-6-6-6"></path>
19
+ </svg>
20
+ );
21
+
22
+ const { withProvider, withContext } = createStyleContext(breadcrumb);
23
+
24
+ export type RootProps = ComponentProps<typeof Root>;
25
+
26
+ export const Root = withProvider(ark.nav, 'root', {
27
+ defaultProps: { 'aria-label': 'breadcrumb' },
28
+ });
29
+ export const List = withContext(ark.ol, 'list');
30
+ export const Item = withContext(ark.li, 'item');
31
+ export const Link = withContext(ark.a, 'link');
32
+ export const Ellipsis = withContext(ark.li, 'ellipsis', {
33
+ defaultProps: {
34
+ role: 'presentation',
35
+ 'aria-hidden': true,
36
+ children: '...',
37
+ },
38
+ });
39
+
40
+ export const Separator = withContext(ark.li, 'separator', {
41
+ defaultProps: {
42
+ 'aria-hidden': true,
43
+ children: <ChevronRightIcon />,
44
+ },
45
+ });
46
+
47
+ /** The current/active page crumb — renders as a span (not a link) with aria-current="page" */
48
+ export const CurrentLink = withContext(ark.span, 'link', {
49
+ defaultProps: {
50
+ 'aria-current': 'page',
51
+ },
52
+ });