@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.
- package/dist/chunk-2P7Z5PVP.cjs +2151 -0
- package/dist/chunk-2P7Z5PVP.cjs.map +1 -0
- package/dist/{chunk-QC44JPCA.cjs → chunk-PFWU7QSM.cjs} +777 -15
- package/dist/chunk-PFWU7QSM.cjs.map +1 -0
- package/dist/chunk-QC7LGFM3.js +2099 -0
- package/dist/chunk-QC7LGFM3.js.map +1 -0
- package/dist/{chunk-M7J7WKJY.js → chunk-SNUJBT5R.js} +778 -16
- package/dist/chunk-SNUJBT5R.js.map +1 -0
- package/dist/components/Accordion.figma.d.ts +2 -0
- package/dist/components/Accordion.figma.d.ts.map +1 -0
- package/dist/components/Breadcrumb.d.ts +11 -0
- package/dist/components/Breadcrumb.d.ts.map +1 -0
- package/dist/components/Breadcrumb.figma.d.ts +2 -0
- package/dist/components/Breadcrumb.figma.d.ts.map +1 -0
- package/dist/components/Checkbox.d.ts +6 -6
- package/dist/components/ContentCard/ContentCard.d.ts +13 -0
- package/dist/components/ContentCard/ContentCard.d.ts.map +1 -0
- package/dist/components/ContentCard/ContentCard.figma.d.ts +2 -0
- package/dist/components/ContentCard/ContentCard.figma.d.ts.map +1 -0
- package/dist/components/ContentCard/index.d.ts +2 -0
- package/dist/components/ContentCard/index.d.ts.map +1 -0
- package/dist/components/{Heading.d.ts → Header.d.ts} +3 -3
- package/dist/components/Header.d.ts.map +1 -0
- package/dist/components/Header.figma.d.ts +2 -0
- package/dist/components/Header.figma.d.ts.map +1 -0
- package/dist/components/Icons/AccountIcon.d.ts +6 -0
- package/dist/components/Icons/AccountIcon.d.ts.map +1 -0
- package/dist/components/Icons/ChevronUpIcon.d.ts +6 -0
- package/dist/components/Icons/ChevronUpIcon.d.ts.map +1 -0
- package/dist/components/Icons/ClockIcon.d.ts +6 -0
- package/dist/components/Icons/ClockIcon.d.ts.map +1 -0
- package/dist/components/Icons/DashboardIcon.d.ts +6 -0
- package/dist/components/Icons/DashboardIcon.d.ts.map +1 -0
- package/dist/components/Icons/DiscourserLogo.d.ts +6 -0
- package/dist/components/Icons/DiscourserLogo.d.ts.map +1 -0
- package/dist/components/Icons/DiscourserLogo.figma.d.ts +2 -0
- package/dist/components/Icons/DiscourserLogo.figma.d.ts.map +1 -0
- package/dist/components/Icons/GripDotsVerticalIcon.d.ts +6 -0
- package/dist/components/Icons/GripDotsVerticalIcon.d.ts.map +1 -0
- package/dist/components/Icons/HelpIcon.d.ts +6 -0
- package/dist/components/Icons/HelpIcon.d.ts.map +1 -0
- package/dist/components/Icons/NotebookIcon.d.ts +6 -0
- package/dist/components/Icons/NotebookIcon.d.ts.map +1 -0
- package/dist/components/Icons/RightArrowIcon.d.ts +6 -0
- package/dist/components/Icons/RightArrowIcon.d.ts.map +1 -0
- package/dist/components/Icons/ScenarioIcon.d.ts +6 -0
- package/dist/components/Icons/ScenarioIcon.d.ts.map +1 -0
- package/dist/components/Icons/index.d.ts +11 -0
- package/dist/components/Icons/index.d.ts.map +1 -0
- package/dist/components/NavigationMenu/NavigationMenu.d.ts +3 -0
- package/dist/components/NavigationMenu/NavigationMenu.d.ts.map +1 -0
- package/dist/components/NavigationMenu/NavigationMenu.figma.d.ts +2 -0
- package/dist/components/NavigationMenu/NavigationMenu.figma.d.ts.map +1 -0
- package/dist/components/NavigationMenu/index.d.ts +3 -0
- package/dist/components/NavigationMenu/index.d.ts.map +1 -0
- package/dist/components/NavigationMenu/types.d.ts +25 -0
- package/dist/components/NavigationMenu/types.d.ts.map +1 -0
- package/dist/components/QuickStartPage/QuickStartPage.d.ts +21 -0
- package/dist/components/QuickStartPage/QuickStartPage.d.ts.map +1 -0
- package/dist/components/QuickStartPage/index.d.ts +3 -0
- package/dist/components/QuickStartPage/index.d.ts.map +1 -0
- package/dist/components/ScenarioQueue/AddScenarioDialog.d.ts +16 -0
- package/dist/components/ScenarioQueue/AddScenarioDialog.d.ts.map +1 -0
- package/dist/components/ScenarioQueue/ScenarioCard.d.ts +10 -0
- package/dist/components/ScenarioQueue/ScenarioCard.d.ts.map +1 -0
- package/dist/components/ScenarioQueue/ScenarioCardDraggable.d.ts +15 -0
- package/dist/components/ScenarioQueue/ScenarioCardDraggable.d.ts.map +1 -0
- package/dist/components/ScenarioQueue/ScenarioQueue.d.ts +3 -0
- package/dist/components/ScenarioQueue/ScenarioQueue.d.ts.map +1 -0
- package/dist/components/ScenarioQueue/ScenarioQueue.figma.d.ts +2 -0
- package/dist/components/ScenarioQueue/ScenarioQueue.figma.d.ts.map +1 -0
- package/dist/components/ScenarioQueue/index.d.ts +6 -0
- package/dist/components/ScenarioQueue/index.d.ts.map +1 -0
- package/dist/components/ScenarioQueue/types.d.ts +56 -0
- package/dist/components/ScenarioQueue/types.d.ts.map +1 -0
- package/dist/components/ScenarioSettings/ScenarioSettings.d.ts +3 -0
- package/dist/components/ScenarioSettings/ScenarioSettings.d.ts.map +1 -0
- package/dist/components/ScenarioSettings/ScenarioSettings.figma.d.ts +2 -0
- package/dist/components/ScenarioSettings/ScenarioSettings.figma.d.ts.map +1 -0
- package/dist/components/ScenarioSettings/index.d.ts +3 -0
- package/dist/components/ScenarioSettings/index.d.ts.map +1 -0
- package/dist/components/ScenarioSettings/types.d.ts +54 -0
- package/dist/components/ScenarioSettings/types.d.ts.map +1 -0
- package/dist/components/index.cjs +110 -34
- package/dist/components/index.d.ts +16 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/figma-codex/config.d.ts +8 -0
- package/dist/figma-codex/config.d.ts.map +1 -0
- package/dist/figma-codex/fixtures/CompoundComponent/CompoundComponent.d.ts +6 -0
- package/dist/figma-codex/fixtures/CompoundComponent/CompoundComponent.d.ts.map +1 -0
- package/dist/figma-codex/fixtures/CompoundComponent/index.d.ts +2 -0
- package/dist/figma-codex/fixtures/CompoundComponent/index.d.ts.map +1 -0
- package/dist/figma-codex/fixtures/CompoundComponent.figma.d.ts +2 -0
- package/dist/figma-codex/fixtures/CompoundComponent.figma.d.ts.map +1 -0
- package/dist/figma-codex/fixtures/SimpleComponent.d.ts +8 -0
- package/dist/figma-codex/fixtures/SimpleComponent.d.ts.map +1 -0
- package/dist/figma-codex/fixtures/SimpleComponent.figma.d.ts +2 -0
- package/dist/figma-codex/fixtures/SimpleComponent.figma.d.ts.map +1 -0
- package/dist/figma-codex/generate.d.ts +6 -0
- package/dist/figma-codex/generate.d.ts.map +1 -0
- package/dist/figma-codex/parser.d.ts +18 -0
- package/dist/figma-codex/parser.d.ts.map +1 -0
- package/dist/figma-codex/resolver.d.ts +5 -0
- package/dist/figma-codex/resolver.d.ts.map +1 -0
- package/dist/figma-codex/schema.d.ts +60 -0
- package/dist/figma-codex/schema.d.ts.map +1 -0
- package/dist/figma-codex/writer.d.ts +8 -0
- package/dist/figma-codex/writer.d.ts.map +1 -0
- package/dist/figma-codex.json +373 -0
- package/dist/index.cjs +114 -38
- package/dist/index.js +2 -2
- package/dist/preset/index.cjs +2 -2
- package/dist/preset/index.d.ts.map +1 -1
- package/dist/preset/index.js +1 -1
- package/dist/preset/recipes/accordion.d.ts.map +1 -1
- package/dist/preset/recipes/avatar.d.ts.map +1 -1
- package/dist/preset/recipes/breadcrumb.d.ts +2 -0
- package/dist/preset/recipes/breadcrumb.d.ts.map +1 -0
- package/dist/preset/recipes/checkbox.d.ts.map +1 -1
- package/dist/preset/recipes/content-card.d.ts +2 -0
- package/dist/preset/recipes/content-card.d.ts.map +1 -0
- package/dist/preset/recipes/field.d.ts.map +1 -1
- package/dist/preset/recipes/index.d.ts +7 -0
- package/dist/preset/recipes/index.d.ts.map +1 -1
- package/dist/preset/recipes/navigation-menu.d.ts +2 -0
- package/dist/preset/recipes/navigation-menu.d.ts.map +1 -0
- package/dist/preset/recipes/progress.d.ts.map +1 -1
- package/dist/preset/recipes/radio-group.d.ts.map +1 -1
- package/dist/preset/recipes/scenario-card.d.ts +2 -0
- package/dist/preset/recipes/scenario-card.d.ts.map +1 -0
- package/dist/preset/recipes/scenario-queue.d.ts +2 -0
- package/dist/preset/recipes/scenario-queue.d.ts.map +1 -0
- package/dist/preset/recipes/scenario-settings.d.ts +2 -0
- package/dist/preset/recipes/scenario-settings.d.ts.map +1 -0
- package/dist/preset/recipes/steps.d.ts.map +1 -1
- package/dist/preset/recipes/toast.d.ts.map +1 -1
- package/dist/preset/recipes/tooltip.d.ts.map +1 -1
- package/dist/preset/semantic-tokens.d.ts +12 -0
- package/dist/preset/semantic-tokens.d.ts.map +1 -1
- package/package.json +35 -2
- package/src/components/Accordion.figma.tsx +20 -0
- package/src/components/Breadcrumb.figma.tsx +18 -0
- package/src/components/Breadcrumb.tsx +52 -0
- package/src/components/ContentCard/ContentCard.figma.tsx +21 -0
- package/src/components/ContentCard/ContentCard.test.tsx +197 -0
- package/src/components/ContentCard/ContentCard.tsx +19 -0
- package/src/components/ContentCard/index.ts +13 -0
- package/src/components/Header.figma.tsx +25 -0
- package/src/components/{Heading.tsx → Header.tsx} +2 -2
- package/src/components/Icons/AccountIcon.tsx +26 -0
- package/src/components/Icons/ChevronUpIcon.tsx +24 -0
- package/src/components/Icons/ClockIcon.tsx +40 -0
- package/src/components/Icons/DashboardIcon.tsx +47 -0
- package/src/components/Icons/Discourser-Logo.svg +14 -0
- package/src/components/Icons/DiscourserLogo.figma.tsx +10 -0
- package/src/components/Icons/DiscourserLogo.tsx +72 -0
- package/src/components/Icons/GripDotsVerticalIcon.tsx +26 -0
- package/src/components/Icons/HelpIcon.tsx +26 -0
- package/src/components/Icons/NotebookIcon.tsx +26 -0
- package/src/components/Icons/RightArrowIcon.tsx +23 -0
- package/src/components/Icons/ScenarioIcon.tsx +26 -0
- package/src/components/Icons/index.ts +13 -0
- package/src/components/NavigationMenu/NavigationMenu.figma.tsx +26 -0
- package/src/components/NavigationMenu/NavigationMenu.test.tsx +524 -0
- package/src/components/NavigationMenu/NavigationMenu.tsx +102 -0
- package/src/components/NavigationMenu/index.ts +2 -0
- package/src/components/NavigationMenu/types.ts +27 -0
- package/src/components/QuickStartPage/QuickStartPage.tsx +627 -0
- package/src/components/QuickStartPage/index.ts +2 -0
- package/src/components/ScenarioQueue/AddScenarioDialog.tsx +137 -0
- package/src/components/ScenarioQueue/ScenarioCard.tsx +120 -0
- package/src/components/ScenarioQueue/ScenarioCardDraggable.tsx +41 -0
- package/src/components/ScenarioQueue/ScenarioQueue.figma.tsx +37 -0
- package/src/components/ScenarioQueue/ScenarioQueue.test.tsx +398 -0
- package/src/components/ScenarioQueue/ScenarioQueue.tsx +162 -0
- package/src/components/ScenarioQueue/index.ts +11 -0
- package/src/components/ScenarioQueue/types.ts +86 -0
- package/src/components/ScenarioSettings/ScenarioSettings.figma.tsx +12 -0
- package/src/components/ScenarioSettings/ScenarioSettings.test.tsx +406 -0
- package/src/components/ScenarioSettings/ScenarioSettings.tsx +386 -0
- package/src/components/ScenarioSettings/index.ts +11 -0
- package/src/components/ScenarioSettings/types.ts +70 -0
- package/src/components/__tests__/Breadcrumb.test.tsx +94 -0
- package/src/components/index.ts +54 -1
- package/src/figma-codex/README.md +186 -0
- package/src/figma-codex/__tests__/config.test.ts +63 -0
- package/src/figma-codex/__tests__/generate.test.ts +78 -0
- package/src/figma-codex/__tests__/parser.test.ts +138 -0
- package/src/figma-codex/__tests__/resolver.test.ts +196 -0
- package/src/figma-codex/__tests__/writer.test.ts +111 -0
- package/src/figma-codex/config.ts +42 -0
- package/src/figma-codex/fixtures/CompoundComponent/CompoundComponent.tsx +17 -0
- package/src/figma-codex/fixtures/CompoundComponent/index.ts +1 -0
- package/src/figma-codex/fixtures/CompoundComponent.figma.tsx +14 -0
- package/src/figma-codex/fixtures/SimpleComponent.figma.tsx +10 -0
- package/src/figma-codex/fixtures/SimpleComponent.tsx +10 -0
- package/src/figma-codex/fixtures/expected-output.json +78 -0
- package/src/figma-codex/generate.ts +106 -0
- package/src/figma-codex/parser.ts +138 -0
- package/src/figma-codex/resolver.ts +280 -0
- package/src/figma-codex/schema.ts +79 -0
- package/src/figma-codex/writer.ts +54 -0
- package/src/preset/index.ts +15 -0
- package/src/preset/recipes/accordion.ts +8 -5
- package/src/preset/recipes/avatar.ts +1 -2
- package/src/preset/recipes/breadcrumb.ts +109 -0
- package/src/preset/recipes/checkbox.ts +1 -2
- package/src/preset/recipes/content-card.ts +124 -0
- package/src/preset/recipes/field.ts +1 -2
- package/src/preset/recipes/index.ts +11 -0
- package/src/preset/recipes/navigation-menu.ts +97 -0
- package/src/preset/recipes/progress.ts +1 -2
- package/src/preset/recipes/radio-group.ts +1 -2
- package/src/preset/recipes/scenario-card.ts +151 -0
- package/src/preset/recipes/scenario-queue.ts +99 -0
- package/src/preset/recipes/scenario-settings.ts +182 -0
- package/src/preset/recipes/steps.ts +1 -2
- package/src/preset/recipes/toast.ts +1 -2
- package/src/preset/recipes/tooltip.ts +1 -2
- package/src/preset/semantic-tokens.ts +4 -0
- package/src/test/setup.ts +15 -0
- package/dist/chunk-F7LHARS4.js +0 -869
- package/dist/chunk-F7LHARS4.js.map +0 -1
- package/dist/chunk-M7J7WKJY.js.map +0 -1
- package/dist/chunk-QC44JPCA.cjs.map +0 -1
- package/dist/chunk-QP4EJI3G.cjs +0 -902
- package/dist/chunk-QP4EJI3G.cjs.map +0 -1
- package/dist/components/Heading.d.ts.map +0 -1
|
@@ -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 @@
|
|
|
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,16 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
interface AddScenarioDialogProps {
|
|
3
|
+
open: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
/** Render prop slot — consumer injects their scenario collection here. */
|
|
6
|
+
renderContent?: (props: {
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
}) => ReactNode;
|
|
9
|
+
/** Called when user clicks "Browse More Scenarios" in the footer */
|
|
10
|
+
onBrowseMore?: () => void;
|
|
11
|
+
/** Called when user clicks "Build Custom Scenario" in the footer */
|
|
12
|
+
onBuildCustom?: () => void;
|
|
13
|
+
}
|
|
14
|
+
export declare function AddScenarioDialog({ open, onClose, renderContent, onBrowseMore, onBuildCustom, }: AddScenarioDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export {};
|
|
16
|
+
//# sourceMappingURL=AddScenarioDialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddScenarioDialog.d.ts","sourceRoot":"","sources":["../../../src/components/ScenarioQueue/AddScenarioDialog.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAItC,UAAU,sBAAsB;IAC9B,IAAI,EAAE,OAAO,CAAA;IACb,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,0EAA0E;IAC1E,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,KAAK,SAAS,CAAA;IAC7D,oEAAoE;IACpE,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;IACzB,oEAAoE;IACpE,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;CAC3B;AAiCD,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,OAAO,EACP,aAAa,EACb,YAAY,EACZ,aAAa,GACd,EAAE,sBAAsB,2CAmFxB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { type ComponentProps } from 'react';
|
|
2
|
+
import { type ScenarioCardProps } from './types';
|
|
3
|
+
export interface ScenarioCardElementProps extends ScenarioCardProps, Omit<ComponentProps<'div'>, 'children'> {
|
|
4
|
+
/** Callback ref for the root element (used by ScenarioCardDraggable) */
|
|
5
|
+
rootRef?: (el: HTMLDivElement | null) => void;
|
|
6
|
+
/** Callback ref for the drag handle (used by ScenarioCardDraggable) */
|
|
7
|
+
handleRef?: (el: HTMLDivElement | null) => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const ScenarioCard: import("react").ForwardRefExoticComponent<Omit<ScenarioCardElementProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
+
//# sourceMappingURL=ScenarioCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScenarioCard.d.ts","sourceRoot":"","sources":["../../../src/components/ScenarioQueue/ScenarioCard.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,cAAc,EAAc,MAAM,OAAO,CAAA;AAOvD,OAAO,EACL,KAAK,iBAAiB,EAEvB,MAAM,SAAS,CAAA;AAEhB,MAAM,WAAW,wBACf,SAAQ,iBAAiB,EACvB,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC;IACzC,wEAAwE;IACxE,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAA;IAC7C,uEAAuE;IACvE,SAAS,CAAC,EAAE,CAAC,EAAE,EAAE,cAAc,GAAG,IAAI,KAAK,IAAI,CAAA;CAChD;AAED,eAAO,MAAM,YAAY,kIAiGxB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Scenario } from './types';
|
|
2
|
+
interface ScenarioCardDraggableProps {
|
|
3
|
+
scenario: Scenario;
|
|
4
|
+
/** 0-based index in the current list (required by useSortable) */
|
|
5
|
+
index: number;
|
|
6
|
+
/** 1-based display position shown in the position badge */
|
|
7
|
+
position: number;
|
|
8
|
+
/** Whether this is the active (first) card */
|
|
9
|
+
isActive: boolean;
|
|
10
|
+
/** Whether this card was previously completed and re-queued */
|
|
11
|
+
isRepeat?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export declare function ScenarioCardDraggable({ scenario, index, position, isActive, isRepeat, }: ScenarioCardDraggableProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
|
15
|
+
//# sourceMappingURL=ScenarioCardDraggable.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScenarioCardDraggable.d.ts","sourceRoot":"","sources":["../../../src/components/ScenarioQueue/ScenarioCardDraggable.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAEvC,UAAU,0BAA0B;IAClC,QAAQ,EAAE,QAAQ,CAAA;IAClB,kEAAkE;IAClE,KAAK,EAAE,MAAM,CAAA;IACb,2DAA2D;IAC3D,QAAQ,EAAE,MAAM,CAAA;IAChB,8CAA8C;IAC9C,QAAQ,EAAE,OAAO,CAAA;IACjB,+DAA+D;IAC/D,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,QAAQ,GACT,EAAE,0BAA0B,2CAiB5B"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { ScenarioQueueProps } from './types';
|
|
2
|
+
export declare function ScenarioQueue({ scenarios, onReorder, onRequeue, onRemove: _onRemove, renderAddScenarioContent, onBrowseMore, onBuildCustom, }: ScenarioQueueProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
//# sourceMappingURL=ScenarioQueue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScenarioQueue.d.ts","sourceRoot":"","sources":["../../../src/components/ScenarioQueue/ScenarioQueue.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,kBAAkB,EAAY,MAAM,SAAS,CAAA;AAa3D,wBAAgB,aAAa,CAAC,EAC5B,SAAS,EACT,SAAS,EACT,SAAS,EACT,QAAQ,EAAE,SAAS,EACnB,wBAAwB,EACxB,YAAY,EACZ,aAAa,GACd,EAAE,kBAAkB,2CAiIpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScenarioQueue.figma.d.ts","sourceRoot":"","sources":["../../../src/components/ScenarioQueue/ScenarioQueue.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { ScenarioQueue } from './ScenarioQueue';
|
|
2
|
+
export { ScenarioCard } from './ScenarioCard';
|
|
3
|
+
export { AddScenarioDialog } from './AddScenarioDialog';
|
|
4
|
+
export type { ScenarioQueueProps, ScenarioCardProps, Scenario, Difficulty, ScenarioStatus, } from './types';
|
|
5
|
+
export { difficultyColorMap, difficultyLabel } from './types';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ScenarioQueue/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AACvD,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,QAAQ,EACR,UAAU,EACV,cAAc,GACf,MAAM,SAAS,CAAA;AAChB,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export type Difficulty = 'beginner' | 'intermediate' | 'advanced';
|
|
3
|
+
export type ScenarioStatus = 'queued' | 'completed';
|
|
4
|
+
export interface Scenario {
|
|
5
|
+
id: string;
|
|
6
|
+
title: string;
|
|
7
|
+
category: string;
|
|
8
|
+
difficulty: Difficulty;
|
|
9
|
+
/** Display string, e.g. "10-15 min" */
|
|
10
|
+
duration: string;
|
|
11
|
+
status: ScenarioStatus;
|
|
12
|
+
/** True when this card was previously completed and re-queued by the user */
|
|
13
|
+
wasRequeued?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const difficultyColorMap: Record<Difficulty, 'primary' | 'secondary' | 'tertiary'>;
|
|
16
|
+
export declare const difficultyLabel: Record<Difficulty, string>;
|
|
17
|
+
export interface ScenarioQueueProps {
|
|
18
|
+
/** All scenarios — the component splits them by status internally */
|
|
19
|
+
scenarios: Scenario[];
|
|
20
|
+
/** Called when user reorders cards in the "In Queue" tab */
|
|
21
|
+
onReorder?: (reorderedIds: string[]) => void;
|
|
22
|
+
/** Called when user toggles a completed scenario back to the queue */
|
|
23
|
+
onRequeue?: (scenarioId: string) => void;
|
|
24
|
+
/** Called when user removes a scenario from the queue */
|
|
25
|
+
onRemove?: (scenarioId: string) => void;
|
|
26
|
+
/**
|
|
27
|
+
* Render prop / slot for the Add Scenario modal body.
|
|
28
|
+
* The design system provides the Dialog shell; the consumer (discourser.ai)
|
|
29
|
+
* provides the collection content.
|
|
30
|
+
*
|
|
31
|
+
* Receives `onClose` to allow the consumer to close the modal after selection.
|
|
32
|
+
*/
|
|
33
|
+
renderAddScenarioContent?: (props: {
|
|
34
|
+
onClose: () => void;
|
|
35
|
+
}) => ReactNode;
|
|
36
|
+
/** Called when user clicks "Browse More Scenarios" link inside the modal */
|
|
37
|
+
onBrowseMore?: () => void;
|
|
38
|
+
/** Called when user clicks "Build Custom Scenario" link inside the modal */
|
|
39
|
+
onBuildCustom?: () => void;
|
|
40
|
+
}
|
|
41
|
+
export interface ScenarioCardProps {
|
|
42
|
+
scenario: Scenario;
|
|
43
|
+
/** 1-based position number shown in the circle badge */
|
|
44
|
+
position: number;
|
|
45
|
+
/** Whether this card is the active (first) scenario */
|
|
46
|
+
isActive: boolean;
|
|
47
|
+
/** Show the re-queue switch (used in Completed tab) */
|
|
48
|
+
showRequeueSwitch?: boolean;
|
|
49
|
+
/** Called when re-queue switch is toggled */
|
|
50
|
+
onRequeue?: (scenarioId: string) => void;
|
|
51
|
+
/** Whether this is a repeat scenario */
|
|
52
|
+
isRepeat?: boolean;
|
|
53
|
+
/** Visual state while the card is being dragged (applies opacity) */
|
|
54
|
+
isDragging?: boolean;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/ScenarioQueue/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAMtC,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,cAAc,GAAG,UAAU,CAAA;AAEjE,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,WAAW,CAAA;AAEnD,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,MAAM,CAAA;IAChB,UAAU,EAAE,UAAU,CAAA;IACtB,uCAAuC;IACvC,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,cAAc,CAAA;IACtB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAMD,eAAO,MAAM,kBAAkB,EAAE,MAAM,CAAC,UAAU,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAIvF,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,CAItD,CAAA;AAMD,MAAM,WAAW,kBAAkB;IACjC,qEAAqE;IACrE,SAAS,EAAE,QAAQ,EAAE,CAAA;IAErB,4DAA4D;IAC5D,SAAS,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IAE5C,sEAAsE;IACtE,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAExC,yDAAyD;IACzD,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAEvC;;;;;;OAMG;IACH,wBAAwB,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,KAAK,SAAS,CAAA;IAExE,4EAA4E;IAC5E,YAAY,CAAC,EAAE,MAAM,IAAI,CAAA;IAEzB,4EAA4E;IAC5E,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;CAC3B;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,QAAQ,CAAA;IAClB,wDAAwD;IACxD,QAAQ,EAAE,MAAM,CAAA;IAChB,uDAAuD;IACvD,QAAQ,EAAE,OAAO,CAAA;IACjB,uDAAuD;IACvD,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,6CAA6C;IAC7C,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IACxC,wCAAwC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,qEAAqE;IACrE,UAAU,CAAC,EAAE,OAAO,CAAA;CACrB"}
|
|
@@ -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 @@
|
|
|
1
|
+
{"version":3,"file":"ScenarioSettings.figma.d.ts","sourceRoot":"","sources":["../../../src/components/ScenarioSettings/ScenarioSettings.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -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"}
|
|
@@ -1,137 +1,213 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk2P7Z5PVP_cjs = require('../chunk-2P7Z5PVP.cjs');
|
|
4
4
|
require('../chunk-EARF7VDF.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "AbsoluteCenter", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunk2P7Z5PVP_cjs.AbsoluteCenter_exports; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "Accordion", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk2P7Z5PVP_cjs.Accordion_exports; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "AccountIcon", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunk2P7Z5PVP_cjs.AccountIcon; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "AddScenarioDialog", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunk2P7Z5PVP_cjs.AddScenarioDialog; }
|
|
15
23
|
});
|
|
16
24
|
Object.defineProperty(exports, "Avatar", {
|
|
17
25
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk2P7Z5PVP_cjs.Avatar_exports; }
|
|
19
27
|
});
|
|
20
28
|
Object.defineProperty(exports, "Badge", {
|
|
21
29
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk2P7Z5PVP_cjs.Badge; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "Breadcrumb", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunk2P7Z5PVP_cjs.Breadcrumb_exports; }
|
|
23
35
|
});
|
|
24
36
|
Object.defineProperty(exports, "Button", {
|
|
25
37
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunk2P7Z5PVP_cjs.Button; }
|
|
27
39
|
});
|
|
28
40
|
Object.defineProperty(exports, "ButtonGroup", {
|
|
29
41
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunk2P7Z5PVP_cjs.ButtonGroup; }
|
|
31
43
|
});
|
|
32
44
|
Object.defineProperty(exports, "Card", {
|
|
33
45
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunk2P7Z5PVP_cjs.Card_exports; }
|
|
35
47
|
});
|
|
36
48
|
Object.defineProperty(exports, "Checkbox", {
|
|
37
49
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunk2P7Z5PVP_cjs.Checkbox_exports; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "ChevronUpIcon", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunk2P7Z5PVP_cjs.ChevronUpIcon; }
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "ClockIcon", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return chunk2P7Z5PVP_cjs.ClockIcon; }
|
|
39
59
|
});
|
|
40
60
|
Object.defineProperty(exports, "CloseButton", {
|
|
41
61
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunk2P7Z5PVP_cjs.CloseButton_exports; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "ContentCard", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunk2P7Z5PVP_cjs.ContentCard_exports; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "DashboardIcon", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunk2P7Z5PVP_cjs.DashboardIcon; }
|
|
43
71
|
});
|
|
44
72
|
Object.defineProperty(exports, "Dialog", {
|
|
45
73
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunk2P7Z5PVP_cjs.Dialog_exports; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "DiscourserLogo", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return chunk2P7Z5PVP_cjs.DiscourserLogo; }
|
|
47
79
|
});
|
|
48
80
|
Object.defineProperty(exports, "Drawer", {
|
|
49
81
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunk2P7Z5PVP_cjs.Drawer_exports; }
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "GripDotsVerticalIcon", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return chunk2P7Z5PVP_cjs.GripDotsVerticalIcon; }
|
|
51
87
|
});
|
|
52
88
|
Object.defineProperty(exports, "Group", {
|
|
53
89
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunk2P7Z5PVP_cjs.Group_exports; }
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "Header", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return chunk2P7Z5PVP_cjs.Header; }
|
|
55
95
|
});
|
|
56
|
-
Object.defineProperty(exports, "
|
|
96
|
+
Object.defineProperty(exports, "HelpIcon", {
|
|
57
97
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunk2P7Z5PVP_cjs.HelpIcon; }
|
|
59
99
|
});
|
|
60
100
|
Object.defineProperty(exports, "Icon", {
|
|
61
101
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunk2P7Z5PVP_cjs.Icon_exports; }
|
|
63
103
|
});
|
|
64
104
|
Object.defineProperty(exports, "IconButton", {
|
|
65
105
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunk2P7Z5PVP_cjs.IconButton; }
|
|
67
107
|
});
|
|
68
108
|
Object.defineProperty(exports, "Input", {
|
|
69
109
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunk2P7Z5PVP_cjs.Input; }
|
|
71
111
|
});
|
|
72
112
|
Object.defineProperty(exports, "InputAddon", {
|
|
73
113
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunk2P7Z5PVP_cjs.InputAddon; }
|
|
75
115
|
});
|
|
76
116
|
Object.defineProperty(exports, "InputGroup", {
|
|
77
117
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunk2P7Z5PVP_cjs.InputGroup; }
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "NavigationMenu", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return chunk2P7Z5PVP_cjs.NavigationMenu; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "NotebookIcon", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return chunk2P7Z5PVP_cjs.NotebookIcon; }
|
|
79
127
|
});
|
|
80
128
|
Object.defineProperty(exports, "Popover", {
|
|
81
129
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunk2P7Z5PVP_cjs.Popover_exports; }
|
|
83
131
|
});
|
|
84
132
|
Object.defineProperty(exports, "Progress", {
|
|
85
133
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunk2P7Z5PVP_cjs.Progress_exports; }
|
|
87
135
|
});
|
|
88
136
|
Object.defineProperty(exports, "RadioGroup", {
|
|
89
137
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunk2P7Z5PVP_cjs.RadioGroup_exports; }
|
|
139
|
+
});
|
|
140
|
+
Object.defineProperty(exports, "RightArrowIcon", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: function () { return chunk2P7Z5PVP_cjs.RightArrowIcon; }
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "ScenarioCard", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () { return chunk2P7Z5PVP_cjs.ScenarioCard; }
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(exports, "ScenarioIcon", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function () { return chunk2P7Z5PVP_cjs.ScenarioIcon; }
|
|
151
|
+
});
|
|
152
|
+
Object.defineProperty(exports, "ScenarioQueue", {
|
|
153
|
+
enumerable: true,
|
|
154
|
+
get: function () { return chunk2P7Z5PVP_cjs.ScenarioQueue; }
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "ScenarioSettings", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () { return chunk2P7Z5PVP_cjs.ScenarioSettings; }
|
|
91
159
|
});
|
|
92
160
|
Object.defineProperty(exports, "Select", {
|
|
93
161
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunk2P7Z5PVP_cjs.Select_exports; }
|
|
95
163
|
});
|
|
96
164
|
Object.defineProperty(exports, "Skeleton", {
|
|
97
165
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunk2P7Z5PVP_cjs.Skeleton_exports; }
|
|
99
167
|
});
|
|
100
168
|
Object.defineProperty(exports, "Slider", {
|
|
101
169
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunk2P7Z5PVP_cjs.Slider_exports; }
|
|
103
171
|
});
|
|
104
172
|
Object.defineProperty(exports, "Spinner", {
|
|
105
173
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunk2P7Z5PVP_cjs.Spinner; }
|
|
107
175
|
});
|
|
108
176
|
Object.defineProperty(exports, "Stepper", {
|
|
109
177
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunk2P7Z5PVP_cjs.Stepper; }
|
|
111
179
|
});
|
|
112
180
|
Object.defineProperty(exports, "Switch", {
|
|
113
181
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunk2P7Z5PVP_cjs.Switch_exports; }
|
|
115
183
|
});
|
|
116
184
|
Object.defineProperty(exports, "Tabs", {
|
|
117
185
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunk2P7Z5PVP_cjs.Tabs_exports; }
|
|
119
187
|
});
|
|
120
188
|
Object.defineProperty(exports, "Textarea", {
|
|
121
189
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunk2P7Z5PVP_cjs.Textarea; }
|
|
123
191
|
});
|
|
124
192
|
Object.defineProperty(exports, "Toaster", {
|
|
125
193
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunk2P7Z5PVP_cjs.Toaster; }
|
|
127
195
|
});
|
|
128
196
|
Object.defineProperty(exports, "Tooltip", {
|
|
129
197
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunk2P7Z5PVP_cjs.Tooltip_exports; }
|
|
199
|
+
});
|
|
200
|
+
Object.defineProperty(exports, "difficultyColorMap", {
|
|
201
|
+
enumerable: true,
|
|
202
|
+
get: function () { return chunk2P7Z5PVP_cjs.difficultyColorMap; }
|
|
203
|
+
});
|
|
204
|
+
Object.defineProperty(exports, "difficultyLabel", {
|
|
205
|
+
enumerable: true,
|
|
206
|
+
get: function () { return chunk2P7Z5PVP_cjs.difficultyLabel; }
|
|
131
207
|
});
|
|
132
208
|
Object.defineProperty(exports, "toaster", {
|
|
133
209
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunk2P7Z5PVP_cjs.toaster; }
|
|
135
211
|
});
|
|
136
212
|
//# sourceMappingURL=index.cjs.map
|
|
137
213
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -4,7 +4,7 @@ export { Input, type InputProps } from './Input';
|
|
|
4
4
|
export { InputAddon, type InputAddonProps } from './InputAddon';
|
|
5
5
|
export { InputGroup, type InputGroupProps } from './InputGroup';
|
|
6
6
|
export { Textarea, type TextareaProps } from './Textarea';
|
|
7
|
-
export {
|
|
7
|
+
export { Header, type HeadingProps } from './Header';
|
|
8
8
|
export { Badge, type BadgeProps } from './Badge';
|
|
9
9
|
export { Spinner, type SpinnerProps } from './Spinner';
|
|
10
10
|
export { Toaster, toaster } from './Toast';
|
|
@@ -27,5 +27,20 @@ export * as CloseButton from './CloseButton';
|
|
|
27
27
|
export * as Icon from './Icon';
|
|
28
28
|
export * as AbsoluteCenter from './AbsoluteCenter';
|
|
29
29
|
export * as Group from './Group';
|
|
30
|
+
export { GripDotsVerticalIcon, type GripDotsVerticalIconProps, } from './Icons/GripDotsVerticalIcon';
|
|
31
|
+
export { ClockIcon, type ClockIconProps } from './Icons/ClockIcon';
|
|
32
|
+
export { DashboardIcon, type DashboardIconProps } from './Icons/DashboardIcon';
|
|
33
|
+
export { NotebookIcon, type NotebookIconProps } from './Icons/NotebookIcon';
|
|
34
|
+
export { ScenarioIcon, type ScenarioIconProps } from './Icons/ScenarioIcon';
|
|
35
|
+
export { HelpIcon, type HelpIconProps } from './Icons/HelpIcon';
|
|
36
|
+
export { AccountIcon, type AccountIconProps } from './Icons/AccountIcon';
|
|
37
|
+
export { RightArrowIcon, type RightArrowIconProps, } from './Icons/RightArrowIcon';
|
|
38
|
+
export { ChevronUpIcon, type ChevronUpIconProps } from './Icons/ChevronUpIcon';
|
|
39
|
+
export { DiscourserLogo, type DiscourserLogoProps } from './Icons/DiscourserLogo';
|
|
40
|
+
export * as Breadcrumb from './Breadcrumb';
|
|
41
|
+
export * as ContentCard from './ContentCard';
|
|
30
42
|
export { Stepper, type StepperRootProps, type StepItem } from './Stepper';
|
|
43
|
+
export { NavigationMenu, type NavigationMenuProps, type NavSection, type NavItem, } from './NavigationMenu';
|
|
44
|
+
export { ScenarioSettings, type ScenarioSettingsProps, type AdjustableSectionId, type RadioSectionId, type SectionId, type DurationValue, type QuestionCountValue, } from './ScenarioSettings';
|
|
45
|
+
export { ScenarioQueue, ScenarioCard, AddScenarioDialog, difficultyColorMap, difficultyLabel, type ScenarioQueueProps, type ScenarioCardProps, type Scenario, type Difficulty, type ScenarioStatus, } from './ScenarioQueue';
|
|
31
46
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,MAAM,EACN,WAAW,EACX,KAAK,WAAW,EAChB,KAAK,gBAAgB,GACtB,MAAM,UAAU,CAAC;AAGlB,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAGhE,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,KAAK,aAAa,EAAE,MAAM,YAAY,CAAC;AAG1D,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"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"}
|
package/dist/components/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
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,
|
|
1
|
+
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';
|
|
2
2
|
import '../chunk-WR5Z5QMQ.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../src/figma-codex/config.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;CAClB;AASD,wBAAgB,UAAU,CACxB,WAAW,GAAE,MAAsB,GAClC,gBAAgB,CAsBlB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { FC, ComponentProps } from 'react';
|
|
2
|
+
export type RootProps = ComponentProps<'div'>;
|
|
3
|
+
export declare const Root: FC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
4
|
+
export declare const Header: FC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
5
|
+
export declare const Body: FC<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>>;
|
|
6
|
+
//# sourceMappingURL=CompoundComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CompoundComponent.d.ts","sourceRoot":"","sources":["../../../../src/figma-codex/fixtures/CompoundComponent/CompoundComponent.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAUhD,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;AAC9C,eAAO,MAAM,IAAI,uGAAgC,CAAC;AAClD,eAAO,MAAM,MAAM,uGAAiC,CAAC;AACrD,eAAO,MAAM,IAAI,uGAA+B,CAAC"}
|