@discourser/design-system 0.15.1 → 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 (179) hide show
  1. package/dist/{chunk-UNWXE6UB.cjs → chunk-2P7Z5PVP.cjs} +817 -16
  2. package/dist/chunk-2P7Z5PVP.cjs.map +1 -0
  3. package/dist/{chunk-ABC7N32K.cjs → chunk-PFWU7QSM.cjs} +464 -8
  4. package/dist/chunk-PFWU7QSM.cjs.map +1 -0
  5. package/dist/{chunk-GD6Q2FUE.js → chunk-QC7LGFM3.js} +808 -18
  6. package/dist/chunk-QC7LGFM3.js.map +1 -0
  7. package/dist/{chunk-SBKRSXSZ.js → chunk-SNUJBT5R.js} +464 -8
  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 +2 -0
  12. package/dist/components/Breadcrumb.d.ts.map +1 -1
  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/ContentCard/ContentCard.d.ts +13 -0
  16. package/dist/components/ContentCard/ContentCard.d.ts.map +1 -0
  17. package/dist/components/ContentCard/ContentCard.figma.d.ts +2 -0
  18. package/dist/components/ContentCard/ContentCard.figma.d.ts.map +1 -0
  19. package/dist/components/ContentCard/index.d.ts +2 -0
  20. package/dist/components/ContentCard/index.d.ts.map +1 -0
  21. package/dist/components/{Heading.d.ts → Header.d.ts} +3 -3
  22. package/dist/components/Header.d.ts.map +1 -0
  23. package/dist/components/Header.figma.d.ts +2 -0
  24. package/dist/components/Header.figma.d.ts.map +1 -0
  25. package/dist/components/Icons/AccountIcon.d.ts +6 -0
  26. package/dist/components/Icons/AccountIcon.d.ts.map +1 -0
  27. package/dist/components/Icons/ChevronUpIcon.d.ts +6 -0
  28. package/dist/components/Icons/ChevronUpIcon.d.ts.map +1 -0
  29. package/dist/components/Icons/ClockIcon.d.ts.map +1 -1
  30. package/dist/components/Icons/DashboardIcon.d.ts +6 -0
  31. package/dist/components/Icons/DashboardIcon.d.ts.map +1 -0
  32. package/dist/components/Icons/DiscourserLogo.d.ts +6 -0
  33. package/dist/components/Icons/DiscourserLogo.d.ts.map +1 -0
  34. package/dist/components/Icons/DiscourserLogo.figma.d.ts +2 -0
  35. package/dist/components/Icons/DiscourserLogo.figma.d.ts.map +1 -0
  36. package/dist/components/Icons/GripDotsVerticalIcon.d.ts.map +1 -1
  37. package/dist/components/Icons/HelpIcon.d.ts +6 -0
  38. package/dist/components/Icons/HelpIcon.d.ts.map +1 -0
  39. package/dist/components/Icons/NotebookIcon.d.ts +6 -0
  40. package/dist/components/Icons/NotebookIcon.d.ts.map +1 -0
  41. package/dist/components/Icons/RightArrowIcon.d.ts +6 -0
  42. package/dist/components/Icons/RightArrowIcon.d.ts.map +1 -0
  43. package/dist/components/Icons/ScenarioIcon.d.ts +6 -0
  44. package/dist/components/Icons/ScenarioIcon.d.ts.map +1 -0
  45. package/dist/components/Icons/index.d.ts +9 -1
  46. package/dist/components/Icons/index.d.ts.map +1 -1
  47. package/dist/components/NavigationMenu/NavigationMenu.d.ts +3 -0
  48. package/dist/components/NavigationMenu/NavigationMenu.d.ts.map +1 -0
  49. package/dist/components/NavigationMenu/NavigationMenu.figma.d.ts +2 -0
  50. package/dist/components/NavigationMenu/NavigationMenu.figma.d.ts.map +1 -0
  51. package/dist/components/NavigationMenu/index.d.ts +3 -0
  52. package/dist/components/NavigationMenu/index.d.ts.map +1 -0
  53. package/dist/components/NavigationMenu/types.d.ts +25 -0
  54. package/dist/components/NavigationMenu/types.d.ts.map +1 -0
  55. package/dist/components/QuickStartPage/QuickStartPage.d.ts +21 -0
  56. package/dist/components/QuickStartPage/QuickStartPage.d.ts.map +1 -0
  57. package/dist/components/QuickStartPage/index.d.ts +3 -0
  58. package/dist/components/QuickStartPage/index.d.ts.map +1 -0
  59. package/dist/components/ScenarioQueue/ScenarioQueue.figma.d.ts +2 -0
  60. package/dist/components/ScenarioQueue/ScenarioQueue.figma.d.ts.map +1 -0
  61. package/dist/components/ScenarioSettings/ScenarioSettings.d.ts +3 -0
  62. package/dist/components/ScenarioSettings/ScenarioSettings.d.ts.map +1 -0
  63. package/dist/components/ScenarioSettings/ScenarioSettings.figma.d.ts +2 -0
  64. package/dist/components/ScenarioSettings/ScenarioSettings.figma.d.ts.map +1 -0
  65. package/dist/components/ScenarioSettings/index.d.ts +3 -0
  66. package/dist/components/ScenarioSettings/index.d.ts.map +1 -0
  67. package/dist/components/ScenarioSettings/types.d.ts +54 -0
  68. package/dist/components/ScenarioSettings/types.d.ts.map +1 -0
  69. package/dist/components/index.cjs +86 -42
  70. package/dist/components/index.d.ts +14 -3
  71. package/dist/components/index.d.ts.map +1 -1
  72. package/dist/components/index.js +1 -1
  73. package/dist/figma-codex/config.d.ts +8 -0
  74. package/dist/figma-codex/config.d.ts.map +1 -0
  75. package/dist/figma-codex/fixtures/CompoundComponent/CompoundComponent.d.ts +6 -0
  76. package/dist/figma-codex/fixtures/CompoundComponent/CompoundComponent.d.ts.map +1 -0
  77. package/dist/figma-codex/fixtures/CompoundComponent/index.d.ts +2 -0
  78. package/dist/figma-codex/fixtures/CompoundComponent/index.d.ts.map +1 -0
  79. package/dist/figma-codex/fixtures/CompoundComponent.figma.d.ts +2 -0
  80. package/dist/figma-codex/fixtures/CompoundComponent.figma.d.ts.map +1 -0
  81. package/dist/figma-codex/fixtures/SimpleComponent.d.ts +8 -0
  82. package/dist/figma-codex/fixtures/SimpleComponent.d.ts.map +1 -0
  83. package/dist/figma-codex/fixtures/SimpleComponent.figma.d.ts +2 -0
  84. package/dist/figma-codex/fixtures/SimpleComponent.figma.d.ts.map +1 -0
  85. package/dist/figma-codex/generate.d.ts +6 -0
  86. package/dist/figma-codex/generate.d.ts.map +1 -0
  87. package/dist/figma-codex/parser.d.ts +18 -0
  88. package/dist/figma-codex/parser.d.ts.map +1 -0
  89. package/dist/figma-codex/resolver.d.ts +5 -0
  90. package/dist/figma-codex/resolver.d.ts.map +1 -0
  91. package/dist/figma-codex/schema.d.ts +60 -0
  92. package/dist/figma-codex/schema.d.ts.map +1 -0
  93. package/dist/figma-codex/writer.d.ts +8 -0
  94. package/dist/figma-codex/writer.d.ts.map +1 -0
  95. package/dist/figma-codex.json +373 -0
  96. package/dist/index.cjs +90 -46
  97. package/dist/index.js +2 -2
  98. package/dist/preset/index.cjs +2 -2
  99. package/dist/preset/index.d.ts.map +1 -1
  100. package/dist/preset/index.js +1 -1
  101. package/dist/preset/recipes/accordion.d.ts.map +1 -1
  102. package/dist/preset/recipes/breadcrumb.d.ts.map +1 -1
  103. package/dist/preset/recipes/content-card.d.ts +2 -0
  104. package/dist/preset/recipes/content-card.d.ts.map +1 -0
  105. package/dist/preset/recipes/index.d.ts +4 -0
  106. package/dist/preset/recipes/index.d.ts.map +1 -1
  107. package/dist/preset/recipes/navigation-menu.d.ts +2 -0
  108. package/dist/preset/recipes/navigation-menu.d.ts.map +1 -0
  109. package/dist/preset/recipes/scenario-settings.d.ts +2 -0
  110. package/dist/preset/recipes/scenario-settings.d.ts.map +1 -0
  111. package/package.json +26 -2
  112. package/src/components/Accordion.figma.tsx +20 -0
  113. package/src/components/Breadcrumb.figma.tsx +18 -0
  114. package/src/components/Breadcrumb.tsx +33 -15
  115. package/src/components/ContentCard/ContentCard.figma.tsx +21 -0
  116. package/src/components/ContentCard/ContentCard.test.tsx +197 -0
  117. package/src/components/ContentCard/ContentCard.tsx +19 -0
  118. package/src/components/ContentCard/index.ts +13 -0
  119. package/src/components/Header.figma.tsx +25 -0
  120. package/src/components/{Heading.tsx → Header.tsx} +2 -2
  121. package/src/components/Icons/AccountIcon.tsx +26 -0
  122. package/src/components/Icons/ChevronUpIcon.tsx +24 -0
  123. package/src/components/Icons/ClockIcon.tsx +6 -6
  124. package/src/components/Icons/DashboardIcon.tsx +47 -0
  125. package/src/components/Icons/Discourser-Logo.svg +14 -0
  126. package/src/components/Icons/DiscourserLogo.figma.tsx +10 -0
  127. package/src/components/Icons/DiscourserLogo.tsx +72 -0
  128. package/src/components/Icons/GripDotsVerticalIcon.tsx +6 -6
  129. package/src/components/Icons/HelpIcon.tsx +26 -0
  130. package/src/components/Icons/NotebookIcon.tsx +26 -0
  131. package/src/components/Icons/RightArrowIcon.tsx +23 -0
  132. package/src/components/Icons/ScenarioIcon.tsx +26 -0
  133. package/src/components/Icons/index.ts +13 -2
  134. package/src/components/NavigationMenu/NavigationMenu.figma.tsx +26 -0
  135. package/src/components/NavigationMenu/NavigationMenu.test.tsx +524 -0
  136. package/src/components/NavigationMenu/NavigationMenu.tsx +102 -0
  137. package/src/components/NavigationMenu/index.ts +2 -0
  138. package/src/components/NavigationMenu/types.ts +27 -0
  139. package/src/components/QuickStartPage/QuickStartPage.tsx +627 -0
  140. package/src/components/QuickStartPage/index.ts +2 -0
  141. package/src/components/ScenarioQueue/ScenarioQueue.figma.tsx +37 -0
  142. package/src/components/ScenarioSettings/ScenarioSettings.figma.tsx +12 -0
  143. package/src/components/ScenarioSettings/ScenarioSettings.test.tsx +406 -0
  144. package/src/components/ScenarioSettings/ScenarioSettings.tsx +386 -0
  145. package/src/components/ScenarioSettings/index.ts +11 -0
  146. package/src/components/ScenarioSettings/types.ts +70 -0
  147. package/src/components/__tests__/Breadcrumb.test.tsx +94 -0
  148. package/src/components/index.ts +38 -4
  149. package/src/figma-codex/README.md +186 -0
  150. package/src/figma-codex/__tests__/config.test.ts +63 -0
  151. package/src/figma-codex/__tests__/generate.test.ts +78 -0
  152. package/src/figma-codex/__tests__/parser.test.ts +138 -0
  153. package/src/figma-codex/__tests__/resolver.test.ts +196 -0
  154. package/src/figma-codex/__tests__/writer.test.ts +111 -0
  155. package/src/figma-codex/config.ts +42 -0
  156. package/src/figma-codex/fixtures/CompoundComponent/CompoundComponent.tsx +17 -0
  157. package/src/figma-codex/fixtures/CompoundComponent/index.ts +1 -0
  158. package/src/figma-codex/fixtures/CompoundComponent.figma.tsx +14 -0
  159. package/src/figma-codex/fixtures/SimpleComponent.figma.tsx +10 -0
  160. package/src/figma-codex/fixtures/SimpleComponent.tsx +10 -0
  161. package/src/figma-codex/fixtures/expected-output.json +78 -0
  162. package/src/figma-codex/generate.ts +106 -0
  163. package/src/figma-codex/parser.ts +138 -0
  164. package/src/figma-codex/resolver.ts +280 -0
  165. package/src/figma-codex/schema.ts +79 -0
  166. package/src/figma-codex/writer.ts +54 -0
  167. package/src/preset/index.ts +6 -0
  168. package/src/preset/recipes/accordion.ts +8 -5
  169. package/src/preset/recipes/breadcrumb.ts +34 -2
  170. package/src/preset/recipes/content-card.ts +124 -0
  171. package/src/preset/recipes/index.ts +4 -0
  172. package/src/preset/recipes/navigation-menu.ts +97 -0
  173. package/src/preset/recipes/scenario-settings.ts +182 -0
  174. package/src/test/setup.ts +12 -9
  175. package/dist/chunk-ABC7N32K.cjs.map +0 -1
  176. package/dist/chunk-GD6Q2FUE.js.map +0 -1
  177. package/dist/chunk-SBKRSXSZ.js.map +0 -1
  178. package/dist/chunk-UNWXE6UB.cjs.map +0 -1
  179. package/dist/components/Heading.d.ts.map +0 -1
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Accordion.figma.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Accordion.figma.d.ts","sourceRoot":"","sources":["../../src/components/Accordion.figma.tsx"],"names":[],"mappings":""}
@@ -6,4 +6,6 @@ export declare const Item: import("styled-system/jsx").StyleContextConsumer<impo
6
6
  export declare const Link: import("styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<import("react").ClassAttributes<HTMLAnchorElement> & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & import("@ark-ui/react").PolymorphicProps>>;
7
7
  export declare const Ellipsis: import("styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement> & import("@ark-ui/react").PolymorphicProps>>;
8
8
  export declare const Separator: import("styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement> & import("@ark-ui/react").PolymorphicProps>>;
9
+ /** The current/active page crumb — renders as a span (not a link) with aria-current="page" */
10
+ export declare const CurrentLink: import("styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<import("react").ClassAttributes<HTMLSpanElement> & import("react").HTMLAttributes<HTMLSpanElement> & import("@ark-ui/react").PolymorphicProps>>;
9
11
  //# sourceMappingURL=Breadcrumb.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../src/components/Breadcrumb.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAY3C,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAA;AAEnD,eAAO,MAAM,IAAI,sRAAkF,CAAA;AACnG,eAAO,MAAM,IAAI,gPAA8B,CAAA;AAC/C,eAAO,MAAM,IAAI,0OAA8B,CAAA;AAC/C,eAAO,MAAM,IAAI,sPAA6B,CAAA;AAC9C,eAAO,MAAM,QAAQ,0OAMnB,CAAA;AAEF,eAAO,MAAM,SAAS,0OAKpB,CAAA"}
1
+ {"version":3,"file":"Breadcrumb.d.ts","sourceRoot":"","sources":["../../src/components/Breadcrumb.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAqB5C,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC;AAEpD,eAAO,MAAM,IAAI,sRAEf,CAAC;AACH,eAAO,MAAM,IAAI,gPAA8B,CAAC;AAChD,eAAO,MAAM,IAAI,0OAA8B,CAAC;AAChD,eAAO,MAAM,IAAI,sPAA6B,CAAC;AAC/C,eAAO,MAAM,QAAQ,0OAMnB,CAAC;AAEH,eAAO,MAAM,SAAS,0OAKpB,CAAC;AAEH,8FAA8F;AAC9F,eAAO,MAAM,WAAW,4OAItB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Breadcrumb.figma.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Breadcrumb.figma.d.ts","sourceRoot":"","sources":["../../src/components/Breadcrumb.figma.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import type { ComponentProps } from 'react';
2
+ export type RootProps = ComponentProps<typeof Root>;
3
+ export declare const Root: import("styled-system/jsx").StyleContextProvider<import("react").ForwardRefExoticComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("@ark-ui/react").PolymorphicProps>, import("styled-system/recipes").ContentCardRecipe>;
4
+ export declare const Header: import("styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("@ark-ui/react").PolymorphicProps>>;
5
+ export declare const Title: import("styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<import("react").ClassAttributes<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement> & import("@ark-ui/react").PolymorphicProps>>;
6
+ export declare const BadgeBar: import("styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("@ark-ui/react").PolymorphicProps>>;
7
+ export declare const Body: import("styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & import("@ark-ui/react").PolymorphicProps>>;
8
+ export declare const Section: import("styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<import("react").ClassAttributes<HTMLElement> & import("react").HTMLAttributes<HTMLElement> & import("@ark-ui/react").PolymorphicProps>>;
9
+ export declare const SectionTitle: import("styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<import("react").ClassAttributes<HTMLHeadingElement> & import("react").HTMLAttributes<HTMLHeadingElement> & import("@ark-ui/react").PolymorphicProps>>;
10
+ export declare const Separator: import("styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<import("react").ClassAttributes<HTMLHRElement> & import("react").HTMLAttributes<HTMLHRElement> & import("@ark-ui/react").PolymorphicProps>>;
11
+ export declare const List: import("styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<import("react").ClassAttributes<HTMLUListElement> & import("react").HTMLAttributes<HTMLUListElement> & import("@ark-ui/react").PolymorphicProps>>;
12
+ export declare const ListItem: import("styled-system/jsx").StyleContextConsumer<import("react").ForwardRefExoticComponent<import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement> & import("@ark-ui/react").PolymorphicProps>>;
13
+ //# sourceMappingURL=ContentCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContentCard.d.ts","sourceRoot":"","sources":["../../../src/components/ContentCard/ContentCard.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAM5C,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,OAAO,IAAI,CAAC,CAAC;AACpD,eAAO,MAAM,IAAI,6RAAgC,CAAC;AAClD,eAAO,MAAM,MAAM,0OAAiC,CAAC;AACrD,eAAO,MAAM,KAAK,kPAA+B,CAAC;AAClD,eAAO,MAAM,QAAQ,0OAAmC,CAAC;AACzD,eAAO,MAAM,IAAI,0OAA+B,CAAC;AACjD,eAAO,MAAM,OAAO,oOAAsC,CAAC;AAC3D,eAAO,MAAM,YAAY,kPAAsC,CAAC;AAChE,eAAO,MAAM,SAAS,wOAAmC,CAAC;AAC1D,eAAO,MAAM,IAAI,8OAA8B,CAAC;AAChD,eAAO,MAAM,QAAQ,0OAAkC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ContentCard.figma.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ContentCard.figma.d.ts","sourceRoot":"","sources":["../../../src/components/ContentCard/ContentCard.figma.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ export { Root, Header, Title, BadgeBar, Body, Section, SectionTitle, Separator, List, ListItem, type RootProps, } from './ContentCard';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ContentCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,MAAM,EACN,KAAK,EACL,QAAQ,EACR,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,SAAS,EACT,IAAI,EACJ,QAAQ,EACR,KAAK,SAAS,GACf,MAAM,eAAe,CAAC"}
@@ -4,7 +4,7 @@ import type { StyledComponent } from 'styled-system/types';
4
4
  type Props = HeadingVariantProps & {
5
5
  as?: ElementType;
6
6
  };
7
- export type HeadingProps = ComponentProps<typeof Heading>;
8
- export declare const Heading: StyledComponent<"h2", Props>;
7
+ export type HeadingProps = ComponentProps<typeof Header>;
8
+ export declare const Header: StyledComponent<"h2", Props>;
9
9
  export {};
10
- //# sourceMappingURL=Heading.d.ts.map
10
+ //# sourceMappingURL=Header.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../src/components/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAExD,OAAO,EAAE,KAAK,mBAAmB,EAAW,MAAM,uBAAuB,CAAA;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAE1D,KAAK,KAAK,GAAG,mBAAmB,GAAG;IAAE,EAAE,CAAC,EAAE,WAAW,CAAA;CAAE,CAAC;AAExD,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AACzD,eAAO,MAAM,MAAM,EAA4B,eAAe,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Header.figma.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Header.figma.d.ts","sourceRoot":"","sources":["../../src/components/Header.figma.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import type { ComponentProps } from 'react';
2
+ declare const StyledSvg: import("styled-system/jsx").StyledComponent<import("react").ForwardRefExoticComponent<import("react").SVGProps<SVGSVGElement> & import("@ark-ui/react").PolymorphicProps>, {}>;
3
+ export type AccountIconProps = ComponentProps<typeof StyledSvg>;
4
+ export declare const AccountIcon: (props: AccountIconProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=AccountIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccountIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/AccountIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,QAAA,MAAM,SAAS,gLAAkB,CAAC;AAElC,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAEhE,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,4CAiBlD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ComponentProps } from 'react';
2
+ declare const StyledSvg: import("styled-system/jsx").StyledComponent<import("react").ForwardRefExoticComponent<import("react").SVGProps<SVGSVGElement> & import("@ark-ui/react").PolymorphicProps>, {}>;
3
+ export type ChevronUpIconProps = ComponentProps<typeof StyledSvg>;
4
+ export declare const ChevronUpIcon: (props: ChevronUpIconProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=ChevronUpIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChevronUpIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/ChevronUpIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,QAAA,MAAM,SAAS,gLAAkB,CAAC;AAElC,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAElE,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,4CAetD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ClockIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/ClockIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAG3C,QAAA,MAAM,SAAS,gLAAkB,CAAA;AAEjC,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAA;AAE7D,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,4CA+B9C,CAAA"}
1
+ {"version":3,"file":"ClockIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/ClockIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,QAAA,MAAM,SAAS,gLAAkB,CAAC;AAElC,MAAM,MAAM,cAAc,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAE9D,eAAO,MAAM,SAAS,GAAI,OAAO,cAAc,4CA+B9C,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ComponentProps } from 'react';
2
+ declare const StyledSvg: import("styled-system/jsx").StyledComponent<import("react").ForwardRefExoticComponent<import("react").SVGProps<SVGSVGElement> & import("@ark-ui/react").PolymorphicProps>, {}>;
3
+ export type DashboardIconProps = ComponentProps<typeof StyledSvg>;
4
+ export declare const DashboardIcon: (props: DashboardIconProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=DashboardIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DashboardIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/DashboardIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,QAAA,MAAM,SAAS,gLAAkB,CAAC;AAElC,MAAM,MAAM,kBAAkB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAElE,eAAO,MAAM,aAAa,GAAI,OAAO,kBAAkB,4CAsCtD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ComponentProps } from 'react';
2
+ declare const StyledSvg: import("styled-system/jsx").StyledComponent<import("react").ForwardRefExoticComponent<import("react").SVGProps<SVGSVGElement> & import("@ark-ui/react").PolymorphicProps>, {}>;
3
+ export type DiscourserLogoProps = ComponentProps<typeof StyledSvg>;
4
+ export declare const DiscourserLogo: (props: DiscourserLogoProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=DiscourserLogo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiscourserLogo.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/DiscourserLogo.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,QAAA,MAAM,SAAS,gLAAkB,CAAC;AAElC,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAEnE,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,4CA+DxD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=DiscourserLogo.figma.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DiscourserLogo.figma.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/DiscourserLogo.figma.tsx"],"names":[],"mappings":""}
@@ -1 +1 @@
1
- {"version":3,"file":"GripDotsVerticalIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/GripDotsVerticalIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAG3C,QAAA,MAAM,SAAS,gLAAkB,CAAA;AAEjC,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAA;AAExE,eAAO,MAAM,oBAAoB,GAAI,OAAO,yBAAyB,4CAiBpE,CAAA"}
1
+ {"version":3,"file":"GripDotsVerticalIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/GripDotsVerticalIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,QAAA,MAAM,SAAS,gLAAkB,CAAC;AAElC,MAAM,MAAM,yBAAyB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAEzE,eAAO,MAAM,oBAAoB,GAAI,OAAO,yBAAyB,4CAiBpE,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ComponentProps } from 'react';
2
+ declare const StyledSvg: import("styled-system/jsx").StyledComponent<import("react").ForwardRefExoticComponent<import("react").SVGProps<SVGSVGElement> & import("@ark-ui/react").PolymorphicProps>, {}>;
3
+ export type HelpIconProps = ComponentProps<typeof StyledSvg>;
4
+ export declare const HelpIcon: (props: HelpIconProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=HelpIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HelpIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/HelpIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,QAAA,MAAM,SAAS,gLAAkB,CAAC;AAElC,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAE7D,eAAO,MAAM,QAAQ,GAAI,OAAO,aAAa,4CAiB5C,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ComponentProps } from 'react';
2
+ declare const StyledSvg: import("styled-system/jsx").StyledComponent<import("react").ForwardRefExoticComponent<import("react").SVGProps<SVGSVGElement> & import("@ark-ui/react").PolymorphicProps>, {}>;
3
+ export type NotebookIconProps = ComponentProps<typeof StyledSvg>;
4
+ export declare const NotebookIcon: (props: NotebookIconProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=NotebookIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotebookIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/NotebookIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,QAAA,MAAM,SAAS,gLAAkB,CAAC;AAElC,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAEjE,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,4CAiBpD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ComponentProps } from 'react';
2
+ declare const StyledSvg: import("styled-system/jsx").StyledComponent<import("react").ForwardRefExoticComponent<import("react").SVGProps<SVGSVGElement> & import("@ark-ui/react").PolymorphicProps>, {}>;
3
+ export type RightArrowIconProps = ComponentProps<typeof StyledSvg>;
4
+ export declare const RightArrowIcon: (props: RightArrowIconProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=RightArrowIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RightArrowIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/RightArrowIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,QAAA,MAAM,SAAS,gLAAkB,CAAC;AAElC,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAEnE,eAAO,MAAM,cAAc,GAAI,OAAO,mBAAmB,4CAcxD,CAAC"}
@@ -0,0 +1,6 @@
1
+ import type { ComponentProps } from 'react';
2
+ declare const StyledSvg: import("styled-system/jsx").StyledComponent<import("react").ForwardRefExoticComponent<import("react").SVGProps<SVGSVGElement> & import("@ark-ui/react").PolymorphicProps>, {}>;
3
+ export type ScenarioIconProps = ComponentProps<typeof StyledSvg>;
4
+ export declare const ScenarioIcon: (props: ScenarioIconProps) => import("react/jsx-runtime").JSX.Element;
5
+ export {};
6
+ //# sourceMappingURL=ScenarioIcon.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScenarioIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/ScenarioIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAG5C,QAAA,MAAM,SAAS,gLAAkB,CAAC;AAElC,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,OAAO,SAAS,CAAC,CAAC;AAEjE,eAAO,MAAM,YAAY,GAAI,OAAO,iBAAiB,4CAiBpD,CAAC"}
@@ -1,3 +1,11 @@
1
- export { GripDotsVerticalIcon, type GripDotsVerticalIconProps } from './GripDotsVerticalIcon';
1
+ export { GripDotsVerticalIcon, type GripDotsVerticalIconProps, } from './GripDotsVerticalIcon';
2
2
  export { ClockIcon, type ClockIconProps } from './ClockIcon';
3
+ export { DashboardIcon, type DashboardIconProps } from './DashboardIcon';
4
+ export { NotebookIcon, type NotebookIconProps } from './NotebookIcon';
5
+ export { ScenarioIcon, type ScenarioIconProps } from './ScenarioIcon';
6
+ export { HelpIcon, type HelpIconProps } from './HelpIcon';
7
+ export { AccountIcon, type AccountIconProps } from './AccountIcon';
8
+ export { RightArrowIcon, type RightArrowIconProps } from './RightArrowIcon';
9
+ export { ChevronUpIcon, type ChevronUpIconProps } from './ChevronUpIcon';
10
+ export { DiscourserLogo, type DiscourserLogoProps } from './DiscourserLogo';
3
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAA;AAC7F,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,KAAK,yBAAyB,GAC/B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,aAAa,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { NavigationMenuProps } from './types';
2
+ export declare function NavigationMenu({ sections, activeHref, defaultOpenSections, onNavigate, renderLink, ariaLabel, }: NavigationMenuProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=NavigationMenu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavigationMenu.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationMenu/NavigationMenu.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,UAAU,EACV,UAAU,EACV,SAAwB,GACzB,EAAE,mBAAmB,2CAsFrB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=NavigationMenu.figma.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavigationMenu.figma.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationMenu/NavigationMenu.figma.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export { NavigationMenu } from './NavigationMenu';
2
+ export type { NavigationMenuProps, NavSection, NavItem } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationMenu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,25 @@
1
+ import type React from 'react';
2
+ export interface NavItem {
3
+ label: string;
4
+ href: string;
5
+ }
6
+ export interface NavSection {
7
+ value: string;
8
+ title: string;
9
+ icon: React.ReactNode;
10
+ items: NavItem[];
11
+ }
12
+ export interface NavigationMenuProps {
13
+ sections: NavSection[];
14
+ activeHref?: string;
15
+ defaultOpenSections?: string[];
16
+ onNavigate?: (href: string) => void;
17
+ renderLink?: (props: {
18
+ href: string;
19
+ children: React.ReactNode;
20
+ isActive: boolean;
21
+ className: string;
22
+ }) => React.ReactNode;
23
+ ariaLabel?: string;
24
+ }
25
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/NavigationMenu/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,MAAM,WAAW,OAAO;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,EAAE,OAAO,EAAE,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,UAAU,EAAE,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC/B,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;QAC1B,QAAQ,EAAE,OAAO,CAAC;QAClB,SAAS,EAAE,MAAM,CAAC;KACnB,KAAK,KAAK,CAAC,SAAS,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,21 @@
1
+ import type { NavSection } from '../NavigationMenu/types';
2
+ export interface QuickStartScenario {
3
+ title: string;
4
+ level: 'beginner' | 'intermediate' | 'advanced';
5
+ duration: string;
6
+ }
7
+ export interface QuickStartPageProps {
8
+ /** User's first name shown in the greeting */
9
+ userName: string;
10
+ /** The first scenario queued for the user */
11
+ firstScenario?: QuickStartScenario;
12
+ /** Currently active nav href */
13
+ activeHref?: string;
14
+ /** Nav sections — defaults to the standard Discourser nav */
15
+ navSections?: NavSection[];
16
+ onStartPracticing?: () => void;
17
+ onLearnAboutSetup?: () => void;
18
+ onNavigate?: (href: string) => void;
19
+ }
20
+ export declare function QuickStartPage({ userName, firstScenario, activeHref, navSections, onStartPracticing, onLearnAboutSetup, onNavigate, }: QuickStartPageProps): import("react/jsx-runtime").JSX.Element;
21
+ //# sourceMappingURL=QuickStartPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"QuickStartPage.d.ts","sourceRoot":"","sources":["../../../src/components/QuickStartPage/QuickStartPage.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAE1D,MAAM,WAAW,kBAAkB;IACjC,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,UAAU,GAAG,cAAc,GAAG,UAAU,CAAC;IAChD,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,mBAAmB;IAClC,8CAA8C;IAC9C,QAAQ,EAAE,MAAM,CAAC;IACjB,6CAA6C;IAC7C,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,gCAAgC;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,6DAA6D;IAC7D,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,iBAAiB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC/B,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC;AAoFD,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,aAAgC,EAChC,UAAqC,EACrC,WAAkC,EAClC,iBAAiB,EACjB,iBAAiB,EACjB,UAAU,GACX,EAAE,mBAAmB,2CAwfrB"}
@@ -0,0 +1,3 @@
1
+ export { QuickStartPage } from './QuickStartPage';
2
+ export type { QuickStartPageProps, QuickStartScenario } from './QuickStartPage';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QuickStartPage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,YAAY,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScenarioQueue.figma.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScenarioQueue.figma.d.ts","sourceRoot":"","sources":["../../../src/components/ScenarioQueue/ScenarioQueue.figma.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import type { ScenarioSettingsProps } from './types';
2
+ export declare function ScenarioSettings({ defaultValue, singleOpen, adjustmentDialogContent, renderAdjustmentDialog, defaultDuration, defaultQuestionCount, onSelectionChange, }: ScenarioSettingsProps): import("react/jsx-runtime").JSX.Element;
3
+ //# sourceMappingURL=ScenarioSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScenarioSettings.d.ts","sourceRoot":"","sources":["../../../src/components/ScenarioSettings/ScenarioSettings.tsx"],"names":[],"mappings":"AASA,OAAO,KAAK,EACV,qBAAqB,EAItB,MAAM,SAAS,CAAC;AA0EjB,wBAAgB,gBAAgB,CAAC,EAC/B,YAAY,EACZ,UAAkB,EAClB,uBAAuB,EACvB,sBAAsB,EACtB,eAAyB,EACzB,oBAA8B,EAC9B,iBAAiB,GAClB,EAAE,qBAAqB,2CAiSvB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ScenarioSettings.figma.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ScenarioSettings.figma.d.ts","sourceRoot":"","sources":["../../../src/components/ScenarioSettings/ScenarioSettings.figma.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export { ScenarioSettings } from './ScenarioSettings';
2
+ export type { ScenarioSettingsProps, AdjustableSectionId, RadioSectionId, SectionId, DurationValue, QuestionCountValue, ExplanationContent, RadioOption, } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ScenarioSettings/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EACV,qBAAqB,EACrB,mBAAmB,EACnB,cAAc,EACd,SAAS,EACT,aAAa,EACb,kBAAkB,EAClB,kBAAkB,EAClB,WAAW,GACZ,MAAM,SAAS,CAAC"}
@@ -0,0 +1,54 @@
1
+ import type { ReactNode } from 'react';
2
+ export type AdjustableSectionId = 'conversation-flow' | 'question-complexity' | 'discourse-tone' | 'response-pacing';
3
+ export type RadioSectionId = 'duration' | 'number-of-questions';
4
+ export type SectionId = AdjustableSectionId | RadioSectionId;
5
+ export type DurationValue = 'quick' | 'standard' | 'extended';
6
+ export type QuestionCountValue = 'brief' | 'standard' | 'extended';
7
+ export interface ExplanationContent {
8
+ beginner: string;
9
+ intermediate: string;
10
+ advanced: string;
11
+ }
12
+ export interface RadioOption {
13
+ value: string;
14
+ label: string;
15
+ }
16
+ export interface ScenarioSettingsProps {
17
+ /**
18
+ * Section IDs that start expanded.
19
+ * Defaults to all six sections, or ['conversation-flow'] when singleOpen is true.
20
+ */
21
+ defaultValue?: string[];
22
+ /**
23
+ * When true, only one accordion section can be open at a time.
24
+ * @default false
25
+ */
26
+ singleOpen?: boolean;
27
+ /**
28
+ * ReactNode content to render inside each adjustable section's dialog.
29
+ * Keyed by section ID. Falls back to a placeholder when not provided.
30
+ */
31
+ adjustmentDialogContent?: Partial<Record<AdjustableSectionId, ReactNode>>;
32
+ /**
33
+ * Alternative render-function API for dialog content.
34
+ * Takes precedence over adjustmentDialogContent when both are provided.
35
+ */
36
+ renderAdjustmentDialog?: (sectionId: AdjustableSectionId) => ReactNode;
37
+ /**
38
+ * Default selected value for the Duration radio group.
39
+ * @default 'quick'
40
+ */
41
+ defaultDuration?: DurationValue;
42
+ /**
43
+ * Default selected value for the Number of Questions radio group.
44
+ * @default 'brief'
45
+ */
46
+ defaultQuestionCount?: QuestionCountValue;
47
+ /**
48
+ * Called when a radio group selection changes.
49
+ * @param sectionId - 'duration' or 'number-of-questions'
50
+ * @param value - the selected radio value
51
+ */
52
+ onSelectionChange?: (sectionId: RadioSectionId, value: string) => void;
53
+ }
54
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScenarioSettings/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,mBAAmB,GAC3B,mBAAmB,GACnB,qBAAqB,GACrB,gBAAgB,GAChB,iBAAiB,CAAC;AAEtB,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,qBAAqB,CAAC;AAEhE,MAAM,MAAM,SAAS,GAAG,mBAAmB,GAAG,cAAc,CAAC;AAE7D,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;AAC9D,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC;AAEnE,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAqB;IACpC;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IAExB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;;OAGG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,mBAAmB,EAAE,SAAS,CAAC,CAAC,CAAC;IAE1E;;;OAGG;IACH,sBAAsB,CAAC,EAAE,CAAC,SAAS,EAAE,mBAAmB,KAAK,SAAS,CAAC;IAEvE;;;OAGG;IACH,eAAe,CAAC,EAAE,aAAa,CAAC;IAEhC;;;OAGG;IACH,oBAAoB,CAAC,EAAE,kBAAkB,CAAC;IAE1C;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,CAAC,SAAS,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxE"}