@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,26 @@
|
|
|
1
|
+
import { ark } from '@ark-ui/react/factory';
|
|
2
|
+
import type { ComponentProps } from 'react';
|
|
3
|
+
import { styled } from 'styled-system/jsx';
|
|
4
|
+
|
|
5
|
+
const StyledSvg = styled(ark.svg);
|
|
6
|
+
|
|
7
|
+
export type SpeechIconProps = ComponentProps<typeof StyledSvg>;
|
|
8
|
+
|
|
9
|
+
export const SpeechIcon = (props: SpeechIconProps) => (
|
|
10
|
+
<StyledSvg
|
|
11
|
+
viewBox="0 0 60 60"
|
|
12
|
+
fill="none"
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
width="1em"
|
|
15
|
+
height="1em"
|
|
16
|
+
{...props}
|
|
17
|
+
>
|
|
18
|
+
<path
|
|
19
|
+
d="M22 50.0002V39.7502L26.75 40.2502C28.1328 40.1734 29.4415 39.6 30.4354 38.6355C31.4293 37.671 32.0417 36.3801 32.16 35.0002V20.7502C32.1766 17.1485 30.7617 13.6878 28.2267 11.1294C25.6917 8.57091 22.2441 7.12426 18.6425 7.10769C15.0409 7.09111 11.5801 8.50596 9.02168 11.041C6.46322 13.576 5.01658 17.0235 5 20.6252C5 27.6252 6.64 28.2602 7.5 32.0002C8.08121 34.2589 8.10609 36.6248 7.5725 38.8952L5 50.0002M49.5001 44.5001C53.0147 40.9851 54.9897 36.2185 54.9911 31.2479C54.9925 26.2773 53.0202 21.5095 49.5076 17.9926M42.4999 37.4998C43.3179 36.682 43.9656 35.7102 44.4056 34.6405C44.8455 33.5708 45.0691 32.4246 45.0633 31.268C45.0575 30.1114 44.8224 28.9674 44.3717 27.9022C43.921 26.837 43.2636 25.8718 42.4374 25.0623"
|
|
20
|
+
stroke="currentColor"
|
|
21
|
+
strokeWidth="2.4"
|
|
22
|
+
strokeLinecap="round"
|
|
23
|
+
strokeLinejoin="round"
|
|
24
|
+
/>
|
|
25
|
+
</StyledSvg>
|
|
26
|
+
);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import figma from '@figma/code-connect';
|
|
2
|
+
import { StopPlayIcon } from './StopPlayIcon';
|
|
3
|
+
|
|
4
|
+
figma.connect(
|
|
5
|
+
StopPlayIcon,
|
|
6
|
+
'https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-9857',
|
|
7
|
+
{
|
|
8
|
+
example: () => <StopPlayIcon />,
|
|
9
|
+
},
|
|
10
|
+
);
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ark } from '@ark-ui/react/factory';
|
|
2
|
+
import type { ComponentProps } from 'react';
|
|
3
|
+
import { styled } from 'styled-system/jsx';
|
|
4
|
+
|
|
5
|
+
const StyledSvg = styled(ark.svg);
|
|
6
|
+
|
|
7
|
+
export type StopPlayIconProps = ComponentProps<typeof StyledSvg>;
|
|
8
|
+
|
|
9
|
+
export const StopPlayIcon = (props: StopPlayIconProps) => (
|
|
10
|
+
<StyledSvg
|
|
11
|
+
viewBox="0 0 64 64"
|
|
12
|
+
fill="none"
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
width="1em"
|
|
15
|
+
height="1em"
|
|
16
|
+
{...props}
|
|
17
|
+
>
|
|
18
|
+
<circle
|
|
19
|
+
cx="31.7438"
|
|
20
|
+
cy="31.7438"
|
|
21
|
+
r="30.7438"
|
|
22
|
+
stroke="currentColor"
|
|
23
|
+
strokeWidth="2"
|
|
24
|
+
fill="none"
|
|
25
|
+
/>
|
|
26
|
+
<rect
|
|
27
|
+
x="15.231"
|
|
28
|
+
y="15.231"
|
|
29
|
+
width="33.0254"
|
|
30
|
+
height="33.0254"
|
|
31
|
+
rx="8"
|
|
32
|
+
fill="currentColor"
|
|
33
|
+
/>
|
|
34
|
+
</StyledSvg>
|
|
35
|
+
);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ark } from '@ark-ui/react/factory';
|
|
2
|
+
import type { ComponentProps } from 'react';
|
|
3
|
+
import { styled } from 'styled-system/jsx';
|
|
4
|
+
|
|
5
|
+
const StyledSvg = styled(ark.svg);
|
|
6
|
+
|
|
7
|
+
export type TimerIconProps = ComponentProps<typeof StyledSvg>;
|
|
8
|
+
|
|
9
|
+
export const TimerIcon = (props: TimerIconProps) => (
|
|
10
|
+
<StyledSvg
|
|
11
|
+
viewBox="0 0 35 39"
|
|
12
|
+
fill="none"
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
width="1em"
|
|
15
|
+
height="1em"
|
|
16
|
+
{...props}
|
|
17
|
+
>
|
|
18
|
+
<path
|
|
19
|
+
d="M6.27333 12C4.83741 14.1451 4 16.7248 4 19.5C4 26.9559 10.0442 33 17.5 33C24.9559 33 31 26.9559 31 19.5C31 12.0442 24.9559 6 17.5 6V10.5M17.5 19.5L11.5 13.5"
|
|
20
|
+
stroke="currentColor"
|
|
21
|
+
strokeWidth="2"
|
|
22
|
+
strokeLinecap="round"
|
|
23
|
+
strokeLinejoin="round"
|
|
24
|
+
/>
|
|
25
|
+
</StyledSvg>
|
|
26
|
+
);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import figma from '@figma/code-connect';
|
|
2
|
+
import { UserProfileIcon } from './UserProfileIcon';
|
|
3
|
+
|
|
4
|
+
figma.connect(
|
|
5
|
+
UserProfileIcon,
|
|
6
|
+
'https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=622-3774',
|
|
7
|
+
{
|
|
8
|
+
example: () => <UserProfileIcon />,
|
|
9
|
+
},
|
|
10
|
+
);
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ark } from '@ark-ui/react/factory';
|
|
2
|
+
import type { ComponentProps } from 'react';
|
|
3
|
+
import { styled } from 'styled-system/jsx';
|
|
4
|
+
|
|
5
|
+
const StyledSvg = styled(ark.svg);
|
|
6
|
+
|
|
7
|
+
export type UserProfileIconProps = ComponentProps<typeof StyledSvg>;
|
|
8
|
+
|
|
9
|
+
export const UserProfileIcon = (props: UserProfileIconProps) => (
|
|
10
|
+
<StyledSvg
|
|
11
|
+
viewBox="0 0 42 42"
|
|
12
|
+
fill="none"
|
|
13
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
14
|
+
width="1em"
|
|
15
|
+
height="1em"
|
|
16
|
+
{...props}
|
|
17
|
+
>
|
|
18
|
+
<path
|
|
19
|
+
d="M21 22.75C25.8325 22.75 29.75 18.8325 29.75 14C29.75 9.16751 25.8325 5.25 21 5.25C16.1675 5.25 12.25 9.16751 12.25 14C12.25 18.8325 16.1675 22.75 21 22.75ZM21 22.75C24.713 22.75 28.274 24.225 30.8995 26.8505C33.525 29.476 35 33.037 35 36.75M21 22.75C17.287 22.75 13.726 24.225 11.1005 26.8505C8.475 29.476 7 33.037 7 36.75"
|
|
20
|
+
stroke="currentColor"
|
|
21
|
+
strokeWidth="2"
|
|
22
|
+
strokeLinecap="round"
|
|
23
|
+
strokeLinejoin="round"
|
|
24
|
+
/>
|
|
25
|
+
</StyledSvg>
|
|
26
|
+
);
|
|
@@ -1,2 +1,39 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
1
|
+
export {
|
|
2
|
+
GripDotsVerticalIcon,
|
|
3
|
+
type GripDotsVerticalIconProps,
|
|
4
|
+
} from './GripDotsVerticalIcon';
|
|
5
|
+
export { ClockIcon, type ClockIconProps } from './ClockIcon';
|
|
6
|
+
export { DashboardIcon, type DashboardIconProps } from './DashboardIcon';
|
|
7
|
+
export { NotebookIcon, type NotebookIconProps } from './NotebookIcon';
|
|
8
|
+
export { ScenarioIcon, type ScenarioIconProps } from './ScenarioIcon';
|
|
9
|
+
export { HelpIcon, type HelpIconProps } from './HelpIcon';
|
|
10
|
+
export { AccountIcon, type AccountIconProps } from './AccountIcon';
|
|
11
|
+
export { RightArrowIcon, type RightArrowIconProps } from './RightArrowIcon';
|
|
12
|
+
export { ChevronUpIcon, type ChevronUpIconProps } from './ChevronUpIcon';
|
|
13
|
+
export { DiscourserLogo, type DiscourserLogoProps } from './DiscourserLogo';
|
|
14
|
+
export { TimerIcon, type TimerIconProps } from './TimerIcon';
|
|
15
|
+
export { ClipBoardIcon, type ClipBoardIconProps } from './ClipBoardIcon';
|
|
16
|
+
export { MicrophoneIcon, type MicrophoneIconProps } from './MicrophoneIcon';
|
|
17
|
+
export { AudienceIcon, type AudienceIconProps } from './AudienceIcon';
|
|
18
|
+
export { RecordIcon, type RecordIconProps } from './RecordIcon';
|
|
19
|
+
export { NotebookPenIcon, type NotebookPenIconProps } from './NotebookPenIcon';
|
|
20
|
+
export { SparklesIcon, type SparklesIconProps } from './SparklesIcon';
|
|
21
|
+
export { ScrollTextIcon, type ScrollTextIconProps } from './ScrollTextIcon';
|
|
22
|
+
export {
|
|
23
|
+
RepeatQuestionIcon,
|
|
24
|
+
type RepeatQuestionIconProps,
|
|
25
|
+
} from './RepeatQuestionIcon';
|
|
26
|
+
export { ExitStudioIcon, type ExitStudioIconProps } from './ExitStudioIcon';
|
|
27
|
+
export { PausePlayIcon, type PausePlayIconProps } from './PausePlayIcon';
|
|
28
|
+
export { StopPlayIcon, type StopPlayIconProps } from './StopPlayIcon';
|
|
29
|
+
export {
|
|
30
|
+
BookmarkPlusIcon,
|
|
31
|
+
type BookmarkPlusIconProps,
|
|
32
|
+
} from './BookmarkPlusIcon';
|
|
33
|
+
export {
|
|
34
|
+
AudioSpeakerIcon,
|
|
35
|
+
type AudioSpeakerIconProps,
|
|
36
|
+
} from './AudioSpeakerIcon';
|
|
37
|
+
export { UserProfileIcon, type UserProfileIconProps } from './UserProfileIcon';
|
|
38
|
+
export { PlayIcon, type PlayIconProps } from './PlayIcon';
|
|
39
|
+
export { SpeechIcon, type SpeechIconProps } from './SpeechIcon';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import figma from '@figma/code-connect';
|
|
2
|
+
import { NavigationMenu } from './NavigationMenu';
|
|
3
|
+
|
|
4
|
+
figma.connect(
|
|
5
|
+
NavigationMenu,
|
|
6
|
+
'https://www.figma.com/design/GaHmFfmvO4loUzuZS4TgEz/Discourser.AI--V1?node-id=38-8485',
|
|
7
|
+
{
|
|
8
|
+
example: () => (
|
|
9
|
+
<NavigationMenu
|
|
10
|
+
sections={[
|
|
11
|
+
{
|
|
12
|
+
value: 'dashboard',
|
|
13
|
+
title: 'Dashboard',
|
|
14
|
+
icon: null,
|
|
15
|
+
items: [
|
|
16
|
+
{ label: 'Quick Start', href: '/dashboard/quick-start' },
|
|
17
|
+
{ label: 'Progress', href: '/dashboard/progress' },
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
]}
|
|
21
|
+
defaultOpenSections={['dashboard']}
|
|
22
|
+
activeHref="/dashboard/quick-start"
|
|
23
|
+
/>
|
|
24
|
+
),
|
|
25
|
+
},
|
|
26
|
+
);
|