@discourser/design-system 0.15.1 → 0.18.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-UNWXE6UB.cjs → chunk-2P7Z5PVP.cjs} +817 -16
- package/dist/chunk-2P7Z5PVP.cjs.map +1 -0
- package/dist/{chunk-ABC7N32K.cjs → chunk-PFWU7QSM.cjs} +464 -8
- package/dist/chunk-PFWU7QSM.cjs.map +1 -0
- package/dist/{chunk-GD6Q2FUE.js → chunk-QC7LGFM3.js} +808 -18
- package/dist/chunk-QC7LGFM3.js.map +1 -0
- package/dist/{chunk-SBKRSXSZ.js → chunk-SNUJBT5R.js} +464 -8
- 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 +2 -0
- package/dist/components/Breadcrumb.d.ts.map +1 -1
- package/dist/components/Breadcrumb.figma.d.ts +2 -0
- package/dist/components/Breadcrumb.figma.d.ts.map +1 -0
- 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/AudienceIcon.d.ts +6 -0
- package/dist/components/Icons/AudienceIcon.d.ts.map +1 -0
- package/dist/components/Icons/AudienceIcon.figma.d.ts +2 -0
- package/dist/components/Icons/AudienceIcon.figma.d.ts.map +1 -0
- package/dist/components/Icons/AudioSpeakerIcon.d.ts +6 -0
- package/dist/components/Icons/AudioSpeakerIcon.d.ts.map +1 -0
- package/dist/components/Icons/AudioSpeakerIcon.figma.d.ts +2 -0
- package/dist/components/Icons/AudioSpeakerIcon.figma.d.ts.map +1 -0
- package/dist/components/Icons/BookmarkPlusIcon.d.ts +6 -0
- package/dist/components/Icons/BookmarkPlusIcon.d.ts.map +1 -0
- package/dist/components/Icons/BookmarkPlusIcon.figma.d.ts +2 -0
- package/dist/components/Icons/BookmarkPlusIcon.figma.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/ClipBoardIcon.d.ts +6 -0
- package/dist/components/Icons/ClipBoardIcon.d.ts.map +1 -0
- package/dist/components/Icons/ClipBoardIcon.figma.d.ts +2 -0
- package/dist/components/Icons/ClipBoardIcon.figma.d.ts.map +1 -0
- package/dist/components/Icons/ClockIcon.d.ts.map +1 -1
- 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/ExitStudioIcon.d.ts +6 -0
- package/dist/components/Icons/ExitStudioIcon.d.ts.map +1 -0
- package/dist/components/Icons/ExitStudioIcon.figma.d.ts +2 -0
- package/dist/components/Icons/ExitStudioIcon.figma.d.ts.map +1 -0
- package/dist/components/Icons/GripDotsVerticalIcon.d.ts.map +1 -1
- package/dist/components/Icons/HelpIcon.d.ts +6 -0
- package/dist/components/Icons/HelpIcon.d.ts.map +1 -0
- package/dist/components/Icons/MicrophoneIcon.d.ts +6 -0
- package/dist/components/Icons/MicrophoneIcon.d.ts.map +1 -0
- package/dist/components/Icons/MicrophoneIcon.figma.d.ts +2 -0
- package/dist/components/Icons/MicrophoneIcon.figma.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/NotebookPenIcon.d.ts +6 -0
- package/dist/components/Icons/NotebookPenIcon.d.ts.map +1 -0
- package/dist/components/Icons/NotebookPenIcon.figma.d.ts +2 -0
- package/dist/components/Icons/NotebookPenIcon.figma.d.ts.map +1 -0
- package/dist/components/Icons/PausePlayIcon.d.ts +6 -0
- package/dist/components/Icons/PausePlayIcon.d.ts.map +1 -0
- package/dist/components/Icons/PausePlayIcon.figma.d.ts +2 -0
- package/dist/components/Icons/PausePlayIcon.figma.d.ts.map +1 -0
- package/dist/components/Icons/PlayIcon.d.ts +6 -0
- package/dist/components/Icons/PlayIcon.d.ts.map +1 -0
- package/dist/components/Icons/PlayIcon.figma.d.ts +2 -0
- package/dist/components/Icons/PlayIcon.figma.d.ts.map +1 -0
- package/dist/components/Icons/RecordIcon.d.ts +6 -0
- package/dist/components/Icons/RecordIcon.d.ts.map +1 -0
- package/dist/components/Icons/RecordIcon.figma.d.ts +2 -0
- package/dist/components/Icons/RecordIcon.figma.d.ts.map +1 -0
- package/dist/components/Icons/RepeatQuestionIcon.d.ts +6 -0
- package/dist/components/Icons/RepeatQuestionIcon.d.ts.map +1 -0
- package/dist/components/Icons/RepeatQuestionIcon.figma.d.ts +2 -0
- package/dist/components/Icons/RepeatQuestionIcon.figma.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/ScrollTextIcon.d.ts +6 -0
- package/dist/components/Icons/ScrollTextIcon.d.ts.map +1 -0
- package/dist/components/Icons/ScrollTextIcon.figma.d.ts +2 -0
- package/dist/components/Icons/ScrollTextIcon.figma.d.ts.map +1 -0
- package/dist/components/Icons/SparklesIcon.d.ts +6 -0
- package/dist/components/Icons/SparklesIcon.d.ts.map +1 -0
- package/dist/components/Icons/SparklesIcon.figma.d.ts +2 -0
- package/dist/components/Icons/SparklesIcon.figma.d.ts.map +1 -0
- package/dist/components/Icons/SpeechIcon.d.ts +6 -0
- package/dist/components/Icons/SpeechIcon.d.ts.map +1 -0
- package/dist/components/Icons/SpeechIcon.figma.d.ts +2 -0
- package/dist/components/Icons/SpeechIcon.figma.d.ts.map +1 -0
- package/dist/components/Icons/StopPlayIcon.d.ts +6 -0
- package/dist/components/Icons/StopPlayIcon.d.ts.map +1 -0
- package/dist/components/Icons/StopPlayIcon.figma.d.ts +2 -0
- package/dist/components/Icons/StopPlayIcon.figma.d.ts.map +1 -0
- package/dist/components/Icons/TimerIcon.d.ts +6 -0
- package/dist/components/Icons/TimerIcon.d.ts.map +1 -0
- package/dist/components/Icons/TimerIcon.figma.d.ts +2 -0
- package/dist/components/Icons/TimerIcon.figma.d.ts.map +1 -0
- package/dist/components/Icons/UserProfileIcon.d.ts +6 -0
- package/dist/components/Icons/UserProfileIcon.d.ts.map +1 -0
- package/dist/components/Icons/UserProfileIcon.figma.d.ts +2 -0
- package/dist/components/Icons/UserProfileIcon.figma.d.ts.map +1 -0
- package/dist/components/Icons/index.d.ts +26 -1
- package/dist/components/Icons/index.d.ts.map +1 -1
- 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/ScenarioQueue.figma.d.ts +2 -0
- package/dist/components/ScenarioQueue/ScenarioQueue.figma.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 +86 -42
- package/dist/components/index.d.ts +14 -3
- 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 +679 -0
- package/dist/index.cjs +90 -46
- 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/breadcrumb.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/index.d.ts +4 -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/scenario-settings.d.ts +2 -0
- package/dist/preset/recipes/scenario-settings.d.ts.map +1 -0
- package/package.json +26 -2
- package/src/components/Accordion.figma.tsx +20 -0
- package/src/components/Breadcrumb.figma.tsx +18 -0
- package/src/components/Breadcrumb.tsx +33 -15
- 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/AudienceIcon.figma.tsx +10 -0
- package/src/components/Icons/AudienceIcon.tsx +20 -0
- package/src/components/Icons/AudioSpeakerIcon.figma.tsx +10 -0
- package/src/components/Icons/AudioSpeakerIcon.tsx +26 -0
- package/src/components/Icons/BookmarkPlusIcon.figma.tsx +10 -0
- package/src/components/Icons/BookmarkPlusIcon.tsx +26 -0
- package/src/components/Icons/ChevronUpIcon.tsx +24 -0
- package/src/components/Icons/ClipBoardIcon.figma.tsx +10 -0
- package/src/components/Icons/ClipBoardIcon.tsx +61 -0
- package/src/components/Icons/ClockIcon.tsx +6 -6
- 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/ExitStudioIcon.figma.tsx +10 -0
- package/src/components/Icons/ExitStudioIcon.tsx +34 -0
- package/src/components/Icons/GripDotsVerticalIcon.tsx +6 -6
- package/src/components/Icons/HelpIcon.tsx +26 -0
- package/src/components/Icons/MicrophoneIcon.figma.tsx +10 -0
- package/src/components/Icons/MicrophoneIcon.tsx +40 -0
- package/src/components/Icons/NotebookIcon.tsx +26 -0
- package/src/components/Icons/NotebookPenIcon.figma.tsx +10 -0
- package/src/components/Icons/NotebookPenIcon.tsx +26 -0
- package/src/components/Icons/PausePlayIcon.figma.tsx +10 -0
- package/src/components/Icons/PausePlayIcon.tsx +41 -0
- package/src/components/Icons/PlayIcon.figma.tsx +10 -0
- package/src/components/Icons/PlayIcon.tsx +33 -0
- package/src/components/Icons/RecordIcon.figma.tsx +10 -0
- package/src/components/Icons/RecordIcon.tsx +41 -0
- package/src/components/Icons/RepeatQuestionIcon.figma.tsx +10 -0
- package/src/components/Icons/RepeatQuestionIcon.tsx +26 -0
- package/src/components/Icons/RightArrowIcon.tsx +23 -0
- package/src/components/Icons/ScenarioIcon.tsx +26 -0
- package/src/components/Icons/ScrollTextIcon.figma.tsx +10 -0
- package/src/components/Icons/ScrollTextIcon.tsx +26 -0
- package/src/components/Icons/SparklesIcon.figma.tsx +10 -0
- package/src/components/Icons/SparklesIcon.tsx +26 -0
- package/src/components/Icons/SpeechIcon.figma.tsx +10 -0
- package/src/components/Icons/SpeechIcon.tsx +26 -0
- package/src/components/Icons/StopPlayIcon.figma.tsx +10 -0
- package/src/components/Icons/StopPlayIcon.tsx +35 -0
- package/src/components/Icons/TimerIcon.figma.tsx +10 -0
- package/src/components/Icons/TimerIcon.tsx +26 -0
- package/src/components/Icons/UserProfileIcon.figma.tsx +10 -0
- package/src/components/Icons/UserProfileIcon.tsx +26 -0
- package/src/components/Icons/index.ts +39 -2
- 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/ScenarioQueue.figma.tsx +37 -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 +38 -4
- 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 +6 -0
- package/src/preset/recipes/accordion.ts +8 -5
- package/src/preset/recipes/breadcrumb.ts +34 -2
- package/src/preset/recipes/content-card.ts +124 -0
- package/src/preset/recipes/index.ts +4 -0
- package/src/preset/recipes/navigation-menu.ts +97 -0
- package/src/preset/recipes/scenario-settings.ts +182 -0
- package/src/test/setup.ts +12 -9
- package/dist/chunk-ABC7N32K.cjs.map +0 -1
- package/dist/chunk-GD6Q2FUE.js.map +0 -1
- package/dist/chunk-SBKRSXSZ.js.map +0 -1
- package/dist/chunk-UNWXE6UB.cjs.map +0 -1
- package/dist/components/Heading.d.ts.map +0 -1
|
@@ -0,0 +1,679 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "1.0.0",
|
|
3
|
+
"packageName": "@discourser/design-system",
|
|
4
|
+
"generatedAt": "2026-03-05T21:13:53.621Z",
|
|
5
|
+
"gitHash": "d53a23f7",
|
|
6
|
+
"figmaFiles": {
|
|
7
|
+
"GaHmFfmvO4loUzuZS4TgEz": {
|
|
8
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz"
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"components": {
|
|
12
|
+
"Accordion": {
|
|
13
|
+
"name": "Accordion",
|
|
14
|
+
"type": "compound",
|
|
15
|
+
"figma": {
|
|
16
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
17
|
+
"nodeId": "38:8232",
|
|
18
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-8232"
|
|
19
|
+
},
|
|
20
|
+
"imports": {
|
|
21
|
+
"primary": "import * as Accordion from '@discourser/design-system/Accordion'",
|
|
22
|
+
"namedExports": [
|
|
23
|
+
"Accordion.ItemBody"
|
|
24
|
+
],
|
|
25
|
+
"subpath": "@discourser/design-system/Accordion"
|
|
26
|
+
},
|
|
27
|
+
"props": [],
|
|
28
|
+
"subComponents": [
|
|
29
|
+
{
|
|
30
|
+
"name": "ItemBody",
|
|
31
|
+
"element": "div"
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
"example": "<Accordion.Root collapsible>\n <Accordion.Item value=\"item-1\">\n <Accordion.ItemTrigger>\n <span>Trigger</span>\n <Accordion.ItemIndicator />\n </Accordion.ItemTrigger>\n <Accordion.ItemContent>Content</Accordion.ItemContent>\n </Accordion.Item>\n </Accordion.Root>",
|
|
35
|
+
"sourcePath": "src/components/Accordion.tsx"
|
|
36
|
+
},
|
|
37
|
+
"Breadcrumb": {
|
|
38
|
+
"name": "Breadcrumb",
|
|
39
|
+
"type": "compound",
|
|
40
|
+
"figma": {
|
|
41
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
42
|
+
"nodeId": "38:7978",
|
|
43
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-7978"
|
|
44
|
+
},
|
|
45
|
+
"imports": {
|
|
46
|
+
"primary": "import * as Breadcrumb from '@discourser/design-system/Breadcrumb'",
|
|
47
|
+
"namedExports": [
|
|
48
|
+
"Breadcrumb.Root",
|
|
49
|
+
"Breadcrumb.List",
|
|
50
|
+
"Breadcrumb.Item",
|
|
51
|
+
"Breadcrumb.Link",
|
|
52
|
+
"Breadcrumb.Ellipsis",
|
|
53
|
+
"Breadcrumb.Separator",
|
|
54
|
+
"Breadcrumb.CurrentLink"
|
|
55
|
+
],
|
|
56
|
+
"subpath": "@discourser/design-system/Breadcrumb"
|
|
57
|
+
},
|
|
58
|
+
"props": [],
|
|
59
|
+
"subComponents": [
|
|
60
|
+
{
|
|
61
|
+
"name": "Root",
|
|
62
|
+
"element": "nav"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "List",
|
|
66
|
+
"element": "ol"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "Item",
|
|
70
|
+
"element": "li"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "Link",
|
|
74
|
+
"element": "a"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "Ellipsis",
|
|
78
|
+
"element": "li"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "Separator",
|
|
82
|
+
"element": "li"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "CurrentLink",
|
|
86
|
+
"element": "span"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
"example": "<Breadcrumb.Root>\n <Breadcrumb.List>\n <Breadcrumb.Item>\n <Breadcrumb.Link href=\"#\">Home</Breadcrumb.Link>\n </Breadcrumb.Item>\n <Breadcrumb.Separator />\n <Breadcrumb.Item>\n <Breadcrumb.CurrentLink>Current</Breadcrumb.CurrentLink>\n </Breadcrumb.Item>\n </Breadcrumb.List>\n </Breadcrumb.Root>",
|
|
90
|
+
"sourcePath": "src/components/Breadcrumb.tsx"
|
|
91
|
+
},
|
|
92
|
+
"ContentCard": {
|
|
93
|
+
"name": "ContentCard",
|
|
94
|
+
"type": "compound",
|
|
95
|
+
"figma": {
|
|
96
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
97
|
+
"nodeId": "478:5957",
|
|
98
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=478-5957"
|
|
99
|
+
},
|
|
100
|
+
"imports": {
|
|
101
|
+
"primary": "import * as ContentCard from '@discourser/design-system/ContentCard'",
|
|
102
|
+
"namedExports": [
|
|
103
|
+
"ContentCard.Root",
|
|
104
|
+
"ContentCard.Header",
|
|
105
|
+
"ContentCard.Title",
|
|
106
|
+
"ContentCard.BadgeBar",
|
|
107
|
+
"ContentCard.Body",
|
|
108
|
+
"ContentCard.Section",
|
|
109
|
+
"ContentCard.SectionTitle",
|
|
110
|
+
"ContentCard.Separator",
|
|
111
|
+
"ContentCard.List",
|
|
112
|
+
"ContentCard.ListItem"
|
|
113
|
+
],
|
|
114
|
+
"subpath": "@discourser/design-system/ContentCard"
|
|
115
|
+
},
|
|
116
|
+
"props": [],
|
|
117
|
+
"subComponents": [
|
|
118
|
+
{
|
|
119
|
+
"name": "Root",
|
|
120
|
+
"element": "div"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "Header",
|
|
124
|
+
"element": "div"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "Title",
|
|
128
|
+
"element": "h2"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "BadgeBar",
|
|
132
|
+
"element": "div"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "Body",
|
|
136
|
+
"element": "div"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "Section",
|
|
140
|
+
"element": "section"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "SectionTitle",
|
|
144
|
+
"element": "h3"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "Separator",
|
|
148
|
+
"element": "hr"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "List",
|
|
152
|
+
"element": "ul"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "ListItem",
|
|
156
|
+
"element": "li"
|
|
157
|
+
}
|
|
158
|
+
],
|
|
159
|
+
"example": "<ContentCard.Root>\n <ContentCard.Header>\n <ContentCard.Title>Title</ContentCard.Title>\n <ContentCard.BadgeBar>badges</ContentCard.BadgeBar>\n </ContentCard.Header>\n <ContentCard.Body>Content</ContentCard.Body>\n <ContentCard.Separator />\n <ContentCard.Section>\n <ContentCard.SectionTitle>Section</ContentCard.SectionTitle>\n <ContentCard.List>\n <ContentCard.ListItem>Item</ContentCard.ListItem>\n </ContentCard.List>\n </ContentCard.Section>\n </ContentCard.Root>",
|
|
160
|
+
"sourcePath": "src/components/ContentCard/index.ts"
|
|
161
|
+
},
|
|
162
|
+
"Header": {
|
|
163
|
+
"name": "Header",
|
|
164
|
+
"type": "simple",
|
|
165
|
+
"figma": {
|
|
166
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
167
|
+
"nodeId": "485:4697",
|
|
168
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=485-4697"
|
|
169
|
+
},
|
|
170
|
+
"imports": {
|
|
171
|
+
"primary": "import { Header } from '@discourser/design-system/Header'",
|
|
172
|
+
"namedExports": [
|
|
173
|
+
"Header"
|
|
174
|
+
]
|
|
175
|
+
},
|
|
176
|
+
"props": [],
|
|
177
|
+
"example": "<Header size={size}>Heading Text</Header>",
|
|
178
|
+
"sourcePath": "src/components/Header.tsx"
|
|
179
|
+
},
|
|
180
|
+
"AudienceIcon": {
|
|
181
|
+
"name": "AudienceIcon",
|
|
182
|
+
"type": "simple",
|
|
183
|
+
"figma": {
|
|
184
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
185
|
+
"nodeId": "38:9825",
|
|
186
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-9825"
|
|
187
|
+
},
|
|
188
|
+
"imports": {
|
|
189
|
+
"primary": "import { AudienceIcon } from '@discourser/design-system/AudienceIcon'",
|
|
190
|
+
"namedExports": [
|
|
191
|
+
"AudienceIcon"
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
"props": [],
|
|
195
|
+
"example": "<AudienceIcon />",
|
|
196
|
+
"sourcePath": "src/components/Icons/AudienceIcon.tsx"
|
|
197
|
+
},
|
|
198
|
+
"AudioSpeakerIcon": {
|
|
199
|
+
"name": "AudioSpeakerIcon",
|
|
200
|
+
"type": "simple",
|
|
201
|
+
"figma": {
|
|
202
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
203
|
+
"nodeId": "38:9811",
|
|
204
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-9811"
|
|
205
|
+
},
|
|
206
|
+
"imports": {
|
|
207
|
+
"primary": "import { AudioSpeakerIcon } from '@discourser/design-system/AudioSpeakerIcon'",
|
|
208
|
+
"namedExports": [
|
|
209
|
+
"AudioSpeakerIcon"
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
"props": [],
|
|
213
|
+
"example": "<AudioSpeakerIcon />",
|
|
214
|
+
"sourcePath": "src/components/Icons/AudioSpeakerIcon.tsx"
|
|
215
|
+
},
|
|
216
|
+
"BookmarkPlusIcon": {
|
|
217
|
+
"name": "BookmarkPlusIcon",
|
|
218
|
+
"type": "simple",
|
|
219
|
+
"figma": {
|
|
220
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
221
|
+
"nodeId": "622:3770",
|
|
222
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=622-3770"
|
|
223
|
+
},
|
|
224
|
+
"imports": {
|
|
225
|
+
"primary": "import { BookmarkPlusIcon } from '@discourser/design-system/BookmarkPlusIcon'",
|
|
226
|
+
"namedExports": [
|
|
227
|
+
"BookmarkPlusIcon"
|
|
228
|
+
]
|
|
229
|
+
},
|
|
230
|
+
"props": [],
|
|
231
|
+
"example": "<BookmarkPlusIcon />",
|
|
232
|
+
"sourcePath": "src/components/Icons/BookmarkPlusIcon.tsx"
|
|
233
|
+
},
|
|
234
|
+
"ClipBoardIcon": {
|
|
235
|
+
"name": "ClipBoardIcon",
|
|
236
|
+
"type": "simple",
|
|
237
|
+
"figma": {
|
|
238
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
239
|
+
"nodeId": "38:9804",
|
|
240
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-9804"
|
|
241
|
+
},
|
|
242
|
+
"imports": {
|
|
243
|
+
"primary": "import { ClipBoardIcon } from '@discourser/design-system/ClipBoardIcon'",
|
|
244
|
+
"namedExports": [
|
|
245
|
+
"ClipBoardIcon"
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
"props": [],
|
|
249
|
+
"example": "<ClipBoardIcon />",
|
|
250
|
+
"sourcePath": "src/components/Icons/ClipBoardIcon.tsx"
|
|
251
|
+
},
|
|
252
|
+
"DiscourserLogo": {
|
|
253
|
+
"name": "DiscourserLogo",
|
|
254
|
+
"type": "simple",
|
|
255
|
+
"figma": {
|
|
256
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
257
|
+
"nodeId": "491:4933",
|
|
258
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=491-4933"
|
|
259
|
+
},
|
|
260
|
+
"imports": {
|
|
261
|
+
"primary": "import { DiscourserLogo } from '@discourser/design-system/DiscourserLogo'",
|
|
262
|
+
"namedExports": [
|
|
263
|
+
"DiscourserLogo"
|
|
264
|
+
]
|
|
265
|
+
},
|
|
266
|
+
"props": [],
|
|
267
|
+
"example": "<DiscourserLogo />",
|
|
268
|
+
"sourcePath": "src/components/Icons/DiscourserLogo.tsx"
|
|
269
|
+
},
|
|
270
|
+
"ExitStudioIcon": {
|
|
271
|
+
"name": "ExitStudioIcon",
|
|
272
|
+
"type": "simple",
|
|
273
|
+
"figma": {
|
|
274
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
275
|
+
"nodeId": "38:9853",
|
|
276
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-9853"
|
|
277
|
+
},
|
|
278
|
+
"imports": {
|
|
279
|
+
"primary": "import { ExitStudioIcon } from '@discourser/design-system/ExitStudioIcon'",
|
|
280
|
+
"namedExports": [
|
|
281
|
+
"ExitStudioIcon"
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
"props": [],
|
|
285
|
+
"example": "<ExitStudioIcon />",
|
|
286
|
+
"sourcePath": "src/components/Icons/ExitStudioIcon.tsx"
|
|
287
|
+
},
|
|
288
|
+
"MicrophoneIcon": {
|
|
289
|
+
"name": "MicrophoneIcon",
|
|
290
|
+
"type": "simple",
|
|
291
|
+
"figma": {
|
|
292
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
293
|
+
"nodeId": "38:9820",
|
|
294
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-9820"
|
|
295
|
+
},
|
|
296
|
+
"imports": {
|
|
297
|
+
"primary": "import { MicrophoneIcon } from '@discourser/design-system/MicrophoneIcon'",
|
|
298
|
+
"namedExports": [
|
|
299
|
+
"MicrophoneIcon"
|
|
300
|
+
]
|
|
301
|
+
},
|
|
302
|
+
"props": [],
|
|
303
|
+
"example": "<MicrophoneIcon />",
|
|
304
|
+
"sourcePath": "src/components/Icons/MicrophoneIcon.tsx"
|
|
305
|
+
},
|
|
306
|
+
"NotebookPenIcon": {
|
|
307
|
+
"name": "NotebookPenIcon",
|
|
308
|
+
"type": "simple",
|
|
309
|
+
"figma": {
|
|
310
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
311
|
+
"nodeId": "622:3771",
|
|
312
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=622-3771"
|
|
313
|
+
},
|
|
314
|
+
"imports": {
|
|
315
|
+
"primary": "import { NotebookPenIcon } from '@discourser/design-system/NotebookPenIcon'",
|
|
316
|
+
"namedExports": [
|
|
317
|
+
"NotebookPenIcon"
|
|
318
|
+
]
|
|
319
|
+
},
|
|
320
|
+
"props": [],
|
|
321
|
+
"example": "<NotebookPenIcon />",
|
|
322
|
+
"sourcePath": "src/components/Icons/NotebookPenIcon.tsx"
|
|
323
|
+
},
|
|
324
|
+
"PausePlayIcon": {
|
|
325
|
+
"name": "PausePlayIcon",
|
|
326
|
+
"type": "simple",
|
|
327
|
+
"figma": {
|
|
328
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
329
|
+
"nodeId": "38:9849",
|
|
330
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-9849"
|
|
331
|
+
},
|
|
332
|
+
"imports": {
|
|
333
|
+
"primary": "import { PausePlayIcon } from '@discourser/design-system/PausePlayIcon'",
|
|
334
|
+
"namedExports": [
|
|
335
|
+
"PausePlayIcon"
|
|
336
|
+
]
|
|
337
|
+
},
|
|
338
|
+
"props": [],
|
|
339
|
+
"example": "<PausePlayIcon />",
|
|
340
|
+
"sourcePath": "src/components/Icons/PausePlayIcon.tsx"
|
|
341
|
+
},
|
|
342
|
+
"PlayIcon": {
|
|
343
|
+
"name": "PlayIcon",
|
|
344
|
+
"type": "simple",
|
|
345
|
+
"figma": {
|
|
346
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
347
|
+
"nodeId": "622:3766",
|
|
348
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=622-3766"
|
|
349
|
+
},
|
|
350
|
+
"imports": {
|
|
351
|
+
"primary": "import { PlayIcon } from '@discourser/design-system/PlayIcon'",
|
|
352
|
+
"namedExports": [
|
|
353
|
+
"PlayIcon"
|
|
354
|
+
]
|
|
355
|
+
},
|
|
356
|
+
"props": [],
|
|
357
|
+
"example": "<PlayIcon />",
|
|
358
|
+
"sourcePath": "src/components/Icons/PlayIcon.tsx"
|
|
359
|
+
},
|
|
360
|
+
"RecordIcon": {
|
|
361
|
+
"name": "RecordIcon",
|
|
362
|
+
"type": "simple",
|
|
363
|
+
"figma": {
|
|
364
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
365
|
+
"nodeId": "38:9843",
|
|
366
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-9843"
|
|
367
|
+
},
|
|
368
|
+
"imports": {
|
|
369
|
+
"primary": "import { RecordIcon } from '@discourser/design-system/RecordIcon'",
|
|
370
|
+
"namedExports": [
|
|
371
|
+
"RecordIcon"
|
|
372
|
+
]
|
|
373
|
+
},
|
|
374
|
+
"props": [],
|
|
375
|
+
"example": "<RecordIcon />",
|
|
376
|
+
"sourcePath": "src/components/Icons/RecordIcon.tsx"
|
|
377
|
+
},
|
|
378
|
+
"RepeatQuestionIcon": {
|
|
379
|
+
"name": "RepeatQuestionIcon",
|
|
380
|
+
"type": "simple",
|
|
381
|
+
"figma": {
|
|
382
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
383
|
+
"nodeId": "622:3767",
|
|
384
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=622-3767"
|
|
385
|
+
},
|
|
386
|
+
"imports": {
|
|
387
|
+
"primary": "import { RepeatQuestionIcon } from '@discourser/design-system/RepeatQuestionIcon'",
|
|
388
|
+
"namedExports": [
|
|
389
|
+
"RepeatQuestionIcon"
|
|
390
|
+
]
|
|
391
|
+
},
|
|
392
|
+
"props": [],
|
|
393
|
+
"example": "<RepeatQuestionIcon />",
|
|
394
|
+
"sourcePath": "src/components/Icons/RepeatQuestionIcon.tsx"
|
|
395
|
+
},
|
|
396
|
+
"ScrollTextIcon": {
|
|
397
|
+
"name": "ScrollTextIcon",
|
|
398
|
+
"type": "simple",
|
|
399
|
+
"figma": {
|
|
400
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
401
|
+
"nodeId": "622:3773",
|
|
402
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=622-3773"
|
|
403
|
+
},
|
|
404
|
+
"imports": {
|
|
405
|
+
"primary": "import { ScrollTextIcon } from '@discourser/design-system/ScrollTextIcon'",
|
|
406
|
+
"namedExports": [
|
|
407
|
+
"ScrollTextIcon"
|
|
408
|
+
]
|
|
409
|
+
},
|
|
410
|
+
"props": [],
|
|
411
|
+
"example": "<ScrollTextIcon />",
|
|
412
|
+
"sourcePath": "src/components/Icons/ScrollTextIcon.tsx"
|
|
413
|
+
},
|
|
414
|
+
"SparklesIcon": {
|
|
415
|
+
"name": "SparklesIcon",
|
|
416
|
+
"type": "simple",
|
|
417
|
+
"figma": {
|
|
418
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
419
|
+
"nodeId": "622:3772",
|
|
420
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=622-3772"
|
|
421
|
+
},
|
|
422
|
+
"imports": {
|
|
423
|
+
"primary": "import { SparklesIcon } from '@discourser/design-system/SparklesIcon'",
|
|
424
|
+
"namedExports": [
|
|
425
|
+
"SparklesIcon"
|
|
426
|
+
]
|
|
427
|
+
},
|
|
428
|
+
"props": [],
|
|
429
|
+
"example": "<SparklesIcon />",
|
|
430
|
+
"sourcePath": "src/components/Icons/SparklesIcon.tsx"
|
|
431
|
+
},
|
|
432
|
+
"SpeechIcon": {
|
|
433
|
+
"name": "SpeechIcon",
|
|
434
|
+
"type": "simple",
|
|
435
|
+
"figma": {
|
|
436
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
437
|
+
"nodeId": "622:3768",
|
|
438
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=622-3768"
|
|
439
|
+
},
|
|
440
|
+
"imports": {
|
|
441
|
+
"primary": "import { SpeechIcon } from '@discourser/design-system/SpeechIcon'",
|
|
442
|
+
"namedExports": [
|
|
443
|
+
"SpeechIcon"
|
|
444
|
+
]
|
|
445
|
+
},
|
|
446
|
+
"props": [],
|
|
447
|
+
"example": "<SpeechIcon />",
|
|
448
|
+
"sourcePath": "src/components/Icons/SpeechIcon.tsx"
|
|
449
|
+
},
|
|
450
|
+
"StopPlayIcon": {
|
|
451
|
+
"name": "StopPlayIcon",
|
|
452
|
+
"type": "simple",
|
|
453
|
+
"figma": {
|
|
454
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
455
|
+
"nodeId": "38:9857",
|
|
456
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-9857"
|
|
457
|
+
},
|
|
458
|
+
"imports": {
|
|
459
|
+
"primary": "import { StopPlayIcon } from '@discourser/design-system/StopPlayIcon'",
|
|
460
|
+
"namedExports": [
|
|
461
|
+
"StopPlayIcon"
|
|
462
|
+
]
|
|
463
|
+
},
|
|
464
|
+
"props": [],
|
|
465
|
+
"example": "<StopPlayIcon />",
|
|
466
|
+
"sourcePath": "src/components/Icons/StopPlayIcon.tsx"
|
|
467
|
+
},
|
|
468
|
+
"TimerIcon": {
|
|
469
|
+
"name": "TimerIcon",
|
|
470
|
+
"type": "simple",
|
|
471
|
+
"figma": {
|
|
472
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
473
|
+
"nodeId": "38:9817",
|
|
474
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-9817"
|
|
475
|
+
},
|
|
476
|
+
"imports": {
|
|
477
|
+
"primary": "import { TimerIcon } from '@discourser/design-system/TimerIcon'",
|
|
478
|
+
"namedExports": [
|
|
479
|
+
"TimerIcon"
|
|
480
|
+
]
|
|
481
|
+
},
|
|
482
|
+
"props": [],
|
|
483
|
+
"example": "<TimerIcon />",
|
|
484
|
+
"sourcePath": "src/components/Icons/TimerIcon.tsx"
|
|
485
|
+
},
|
|
486
|
+
"UserProfileIcon": {
|
|
487
|
+
"name": "UserProfileIcon",
|
|
488
|
+
"type": "simple",
|
|
489
|
+
"figma": {
|
|
490
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
491
|
+
"nodeId": "622:3774",
|
|
492
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=622-3774"
|
|
493
|
+
},
|
|
494
|
+
"imports": {
|
|
495
|
+
"primary": "import { UserProfileIcon } from '@discourser/design-system/UserProfileIcon'",
|
|
496
|
+
"namedExports": [
|
|
497
|
+
"UserProfileIcon"
|
|
498
|
+
]
|
|
499
|
+
},
|
|
500
|
+
"props": [],
|
|
501
|
+
"example": "<UserProfileIcon />",
|
|
502
|
+
"sourcePath": "src/components/Icons/UserProfileIcon.tsx"
|
|
503
|
+
},
|
|
504
|
+
"NavigationMenu": {
|
|
505
|
+
"name": "NavigationMenu",
|
|
506
|
+
"type": "composite",
|
|
507
|
+
"figma": {
|
|
508
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
509
|
+
"nodeId": "38:8485",
|
|
510
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-8485"
|
|
511
|
+
},
|
|
512
|
+
"imports": {
|
|
513
|
+
"primary": "import { NavigationMenu } from '@discourser/design-system/NavigationMenu'",
|
|
514
|
+
"namedExports": [
|
|
515
|
+
"NavigationMenu"
|
|
516
|
+
],
|
|
517
|
+
"subpath": "@discourser/design-system/NavigationMenu"
|
|
518
|
+
},
|
|
519
|
+
"props": [
|
|
520
|
+
{
|
|
521
|
+
"name": "sections",
|
|
522
|
+
"type": "NavSection[]",
|
|
523
|
+
"required": true
|
|
524
|
+
},
|
|
525
|
+
{
|
|
526
|
+
"name": "activeHref",
|
|
527
|
+
"type": "string",
|
|
528
|
+
"required": false
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "defaultOpenSections",
|
|
532
|
+
"type": "string[]",
|
|
533
|
+
"required": false
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"name": "onNavigate",
|
|
537
|
+
"type": "(href: string) => void",
|
|
538
|
+
"required": false
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"name": "renderLink",
|
|
542
|
+
"type": "(props: { href: string; children: React.ReactNode; isActive: boolean; className: string; }) => React.ReactNode",
|
|
543
|
+
"required": false
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"name": "ariaLabel",
|
|
547
|
+
"type": "string",
|
|
548
|
+
"required": false
|
|
549
|
+
}
|
|
550
|
+
],
|
|
551
|
+
"example": "<NavigationMenu\n sections={[\n {\n value: 'dashboard',\n title: 'Dashboard',\n icon: null,\n items: [\n { label: 'Quick Start', href: '/dashboard/quick-start' },\n { label: 'Progress', href: '/dashboard/progress' },\n ],\n },\n ]}\n defaultOpenSections={['dashboard']}\n activeHref=\"/dashboard/quick-start\"\n />",
|
|
552
|
+
"sourcePath": "src/components/NavigationMenu/NavigationMenu.tsx"
|
|
553
|
+
},
|
|
554
|
+
"ScenarioQueue": {
|
|
555
|
+
"name": "ScenarioQueue",
|
|
556
|
+
"type": "composite",
|
|
557
|
+
"figma": {
|
|
558
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
559
|
+
"nodeId": "478:5757",
|
|
560
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=478-5757"
|
|
561
|
+
},
|
|
562
|
+
"imports": {
|
|
563
|
+
"primary": "import { ScenarioQueue } from '@discourser/design-system/ScenarioQueue'",
|
|
564
|
+
"namedExports": [
|
|
565
|
+
"ScenarioQueue"
|
|
566
|
+
],
|
|
567
|
+
"subpath": "@discourser/design-system/ScenarioQueue"
|
|
568
|
+
},
|
|
569
|
+
"props": [
|
|
570
|
+
{
|
|
571
|
+
"name": "scenarios",
|
|
572
|
+
"type": "Scenario[]",
|
|
573
|
+
"required": true,
|
|
574
|
+
"description": "All scenarios — the component splits them by status internally"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"name": "onReorder",
|
|
578
|
+
"type": "(reorderedIds: string[]) => void",
|
|
579
|
+
"required": false,
|
|
580
|
+
"description": "Called when user reorders cards in the \"In Queue\" tab"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"name": "onRequeue",
|
|
584
|
+
"type": "(scenarioId: string) => void",
|
|
585
|
+
"required": false,
|
|
586
|
+
"description": "Called when user toggles a completed scenario back to the queue"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"name": "onRemove",
|
|
590
|
+
"type": "(scenarioId: string) => void",
|
|
591
|
+
"required": false,
|
|
592
|
+
"description": "Called when user removes a scenario from the queue"
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
"name": "renderAddScenarioContent",
|
|
596
|
+
"type": "(props: { onClose: () => void }) => ReactNode",
|
|
597
|
+
"required": false,
|
|
598
|
+
"description": "* Render prop / slot for the Add Scenario modal body. The design system provides the Dialog shell; the consumer (discourser.ai) provides the collection content. * Receives `onClose` to allow the consumer to close the modal after selection."
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"name": "onBrowseMore",
|
|
602
|
+
"type": "() => void",
|
|
603
|
+
"required": false,
|
|
604
|
+
"description": "Called when user clicks \"Browse More Scenarios\" link inside the modal"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"name": "onBuildCustom",
|
|
608
|
+
"type": "() => void",
|
|
609
|
+
"required": false,
|
|
610
|
+
"description": "Called when user clicks \"Build Custom Scenario\" link inside the modal"
|
|
611
|
+
}
|
|
612
|
+
],
|
|
613
|
+
"example": "<ScenarioQueue scenarios={scenarios} />",
|
|
614
|
+
"sourcePath": "src/components/ScenarioQueue/ScenarioQueue.tsx"
|
|
615
|
+
},
|
|
616
|
+
"ScenarioSettings": {
|
|
617
|
+
"name": "ScenarioSettings",
|
|
618
|
+
"type": "composite",
|
|
619
|
+
"figma": {
|
|
620
|
+
"fileKey": "GaHmFfmvO4loUzuZS4TgEz",
|
|
621
|
+
"nodeId": "38:8240",
|
|
622
|
+
"url": "https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-8240"
|
|
623
|
+
},
|
|
624
|
+
"imports": {
|
|
625
|
+
"primary": "import { ScenarioSettings } from '@discourser/design-system/ScenarioSettings'",
|
|
626
|
+
"namedExports": [
|
|
627
|
+
"ScenarioSettings"
|
|
628
|
+
],
|
|
629
|
+
"subpath": "@discourser/design-system/ScenarioSettings"
|
|
630
|
+
},
|
|
631
|
+
"props": [
|
|
632
|
+
{
|
|
633
|
+
"name": "defaultValue",
|
|
634
|
+
"type": "string[]",
|
|
635
|
+
"required": false,
|
|
636
|
+
"description": "* Section IDs that start expanded. Defaults to all six sections, or ['conversation-flow'] when singleOpen is true."
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"name": "singleOpen",
|
|
640
|
+
"type": "boolean",
|
|
641
|
+
"required": false,
|
|
642
|
+
"description": "* When true, only one accordion section can be open at a time. @default false"
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"name": "adjustmentDialogContent",
|
|
646
|
+
"type": "Partial<Record<AdjustableSectionId, ReactNode>>",
|
|
647
|
+
"required": false,
|
|
648
|
+
"description": "* ReactNode content to render inside each adjustable section's dialog. Keyed by section ID. Falls back to a placeholder when not provided."
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"name": "renderAdjustmentDialog",
|
|
652
|
+
"type": "(sectionId: AdjustableSectionId) => ReactNode",
|
|
653
|
+
"required": false,
|
|
654
|
+
"description": "* Alternative render-function API for dialog content. Takes precedence over adjustmentDialogContent when both are provided."
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"name": "defaultDuration",
|
|
658
|
+
"type": "DurationValue",
|
|
659
|
+
"required": false,
|
|
660
|
+
"description": "* Default selected value for the Duration radio group. @default 'quick'"
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
"name": "defaultQuestionCount",
|
|
664
|
+
"type": "QuestionCountValue",
|
|
665
|
+
"required": false,
|
|
666
|
+
"description": "* Default selected value for the Number of Questions radio group. @default 'brief'"
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "onSelectionChange",
|
|
670
|
+
"type": "(sectionId: RadioSectionId, value: string) => void",
|
|
671
|
+
"required": false,
|
|
672
|
+
"description": "* Called when a radio group selection changes. @param sectionId - 'duration' or 'number-of-questions' @param value - the selected radio value"
|
|
673
|
+
}
|
|
674
|
+
],
|
|
675
|
+
"example": "<ScenarioSettings\n defaultValue={['duration', 'number-of-questions']}\n defaultDuration=\"standard\"\n defaultQuestionCount=\"standard\"\n />",
|
|
676
|
+
"sourcePath": "src/components/ScenarioSettings/index.ts"
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
}
|