Skip to content

Commit

Permalink
fix issues in other apps
Browse files Browse the repository at this point in the history
  • Loading branch information
Barsnes committed Jun 18, 2024
1 parent 281d234 commit 963dc4b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
20 changes: 10 additions & 10 deletions apps/theme/components/Previews/Components/Components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -385,14 +385,14 @@ export const Components = () => {
Svar under så finner vi flyreise
</Paragraph>
<div className={classes.toggleCombo}>
<ToggleGroup
<ToggleGroup.Root
defaultValue='norway'
size='sm'
>
<ToggleGroup.Item value='norway'>Norge</ToggleGroup.Item>
<ToggleGroup.Item value='sweden'>Sverige</ToggleGroup.Item>
<ToggleGroup.Item value='utlandet'>Utlandet</ToggleGroup.Item>
</ToggleGroup>
</ToggleGroup.Root>
</div>
<Heading
size='xs'
Expand Down Expand Up @@ -449,7 +449,7 @@ export const Components = () => {
/>
</div>
<div className={cl(classes.card, classes.tabs)}>
<Tabs
<Tabs.Root
defaultValue='value1'
size='sm'
>
Expand All @@ -458,7 +458,7 @@ export const Components = () => {
<Tabs.Tab value='value2'>Tjenester</Tabs.Tab>
<Tabs.Tab value='value3'>Innstillinger</Tabs.Tab>
</Tabs.List>
</Tabs>
</Tabs.Root>
<Paragraph size='sm'>
For å kunne bli registrert i{' '}
<Link
Expand Down Expand Up @@ -500,9 +500,9 @@ export const Components = () => {
className={classes.accordion}
>
<Accordion.Item>
<Accordion.Header level={3}>
<Accordion.Heading level={3}>
Hvem kan registrere seg i Frivillighetsregisteret?
</Accordion.Header>
</Accordion.Heading>
<Accordion.Content>
For å kunne bli registrert i Frivillighetsregisteret, må
organisasjonen drive frivillig virksomhet. Det er bare foreninger,
Expand All @@ -512,19 +512,19 @@ export const Components = () => {
</Accordion.Content>
</Accordion.Item>
<Accordion.Item>
<Accordion.Header level={3}>
<Accordion.Heading level={3}>
Hvordan går jeg fram for å registrere i Frivillighetsregisteret?
</Accordion.Header>
</Accordion.Heading>
<Accordion.Content>
Virksomheten må være registrert i Enhetsregisteret før den kan bli
registrert i Frivillighetsregisteret. Du kan registrere i begge
registrene samtidig i Samordnet registermelding.
</Accordion.Content>
</Accordion.Item>
<Accordion.Item>
<Accordion.Header level={3}>
<Accordion.Heading level={3}>
Hvordan går jeg fram for å registrere i Frivillighetsregisteret?
</Accordion.Header>
</Accordion.Heading>
<Accordion.Content>
Virksomheten må være registrert i Enhetsregisteret før den kan bli
registrert i Frivillighetsregisteret. Du kan registrere i begge
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/Tabs/TabsRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ export const TabsRoot = forwardRef<HTMLDivElement, TabsProps>(
},
);

TabsRoot.displayName = 'TabsRoot';
TabsRoot.displayName = 'Tabs.Root';
4 changes: 2 additions & 2 deletions plugins/figma-plugin/src/ui/pages/PageOne/PageOne.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function PageOne() {
i feltet under.
</Paragraph>

<ToggleGroup
<ToggleGroup.Root
className='modes'
defaultValue='light'
name='toggle-group-nuts'
Expand All @@ -119,7 +119,7 @@ function PageOne() {
<ToggleGroup.Item value='light'>Light Mode</ToggleGroup.Item>
<ToggleGroup.Item value='dark'>Dark Mode</ToggleGroup.Item>
{/* <ToggleGroup.Item value='contrast'>Contrast</ToggleGroup.Item> */}
</ToggleGroup>
</ToggleGroup.Root>
<Textarea
className='textarea'
cols={40}
Expand Down

0 comments on commit 963dc4b

Please sign in to comment.