-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into chore/auto-generate-release
- Loading branch information
Showing
39 changed files
with
213 additions
and
166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 7 additions & 3 deletions
10
frontend/dashboard/components/Resources/Resources.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
.header { | ||
border-bottom: var(--studio-border-divider); | ||
padding-bottom: var(--fds-spacing-3); | ||
} | ||
|
||
.wrapper { | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--ds-spacing-4); | ||
padding-bottom: var(--ds-spacing-4); | ||
} | ||
|
||
.resourcesContainer { | ||
display: flex; | ||
flex-wrap: wrap; | ||
gap: var(--ds-spacing-5); | ||
padding-top: var(--ds-spacing-5); | ||
gap: var(--fds-spacing-5); | ||
padding-block: var(--fds-spacing-5); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...kages/schema-editor/src/components/NoItemSelectedMessage/NoItemSelectedMessage.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.noItem { | ||
margin: 0; | ||
border-bottom: var(--studio-border-divider); | ||
width: 100%; | ||
padding-block: var(--fds-spacing-5); | ||
text-align: center; | ||
} |
13 changes: 13 additions & 0 deletions
13
...end/packages/schema-editor/src/components/NoItemSelectedMessage/NoItemSelectedMessage.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import React, { type ReactElement } from 'react'; | ||
import classes from './NoItemSelectedMessage.module.css'; | ||
import { StudioLabelAsParagraph } from '@studio/components'; | ||
import { useTranslation } from 'react-i18next'; | ||
|
||
export const NoItemSelectedMessage = (): ReactElement => { | ||
const { t } = useTranslation(); | ||
return ( | ||
<StudioLabelAsParagraph size='sm' className={classes.noItem}> | ||
{t('schema_editor.no_item_selected')} | ||
</StudioLabelAsParagraph> | ||
); | ||
}; |
1 change: 1 addition & 0 deletions
1
frontend/packages/schema-editor/src/components/NoItemSelectedMessage/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { NoItemSelectedMessage } from './NoItemSelectedMessage'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.enumListFieldsset { | ||
border-top: var(--studio-border-divider); | ||
padding-top: var(--fds-spacing-5); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...editor/src/components/SchemaInspector/ItemRestrictions/ItemWrapper/ItemWrapper.module.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.itemWrapper { | ||
border-top: var(--studio-border-divider); | ||
padding-top: var(--fds-spacing-5); | ||
display: flex; | ||
flex-direction: column; | ||
gap: var(--fds-spacing-8); | ||
} |
8 changes: 8 additions & 0 deletions
8
...schema-editor/src/components/SchemaInspector/ItemRestrictions/ItemWrapper/ItemWrapper.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import React, { type HTMLAttributes, type ReactElement } from 'react'; | ||
import classes from './ItemWrapper.module.css'; | ||
|
||
type ItemWrapperProps = HTMLAttributes<HTMLDivElement>; | ||
|
||
export const ItemWrapper = ({ children }: ItemWrapperProps): ReactElement => ( | ||
<div className={classes.itemWrapper}>{children}</div> | ||
); |
1 change: 1 addition & 0 deletions
1
...ckages/schema-editor/src/components/SchemaInspector/ItemRestrictions/ItemWrapper/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { ItemWrapper } from './ItemWrapper'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.