@sphereon/ui-components.ssi-react 0.1.3-unstable.99 → 0.2.1-next.18
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/LICENSE +201 -636
- package/dist/@config/toasts/index.d.ts +2 -3
- package/dist/components/assets/icons/{BitterballenIcon → CrossIcon}/index.d.ts +2 -2
- package/dist/components/assets/icons/CrossIcon/index.js +7 -0
- package/dist/components/assets/icons/DeleteIcon/index.d.ts +2 -1
- package/dist/components/assets/icons/DeleteIcon/index.js +2 -2
- package/dist/components/assets/icons/DocumentIcon/index.d.ts +9 -0
- package/dist/components/assets/icons/DocumentIcon/index.js +7 -0
- package/dist/components/assets/icons/ImageIcon/index.d.ts +9 -0
- package/dist/components/assets/icons/ImageIcon/index.js +7 -0
- package/dist/components/assets/icons/MeatBallsIcon/index.d.ts +9 -0
- package/dist/components/assets/icons/MeatBallsIcon/index.js +7 -0
- package/dist/components/assets/icons/SSIAddIcon/index.js +1 -1
- package/dist/components/assets/icons/SSIArrowDownIcon/index.js +1 -1
- package/dist/components/assets/icons/SSIFilterIcon/index.js +1 -1
- package/dist/components/assets/images/WarningImage/index.d.ts +8 -0
- package/dist/components/assets/images/WarningImage/index.js +6 -0
- package/dist/components/assets/placeholders/PersonPlaceholder/index.d.ts +9 -0
- package/dist/components/assets/placeholders/PersonPlaceholder/index.js +7 -0
- package/dist/components/buttons/IconButton/index.d.ts +11 -0
- package/dist/components/buttons/IconButton/index.js +37 -0
- package/dist/components/buttons/{SSISecondaryButton → PrimaryButton}/index.d.ts +3 -3
- package/dist/components/buttons/{SSIPrimaryButton → PrimaryButton}/index.js +5 -4
- package/dist/components/buttons/{SSIPrimaryButton → SecondaryButton}/index.d.ts +3 -3
- package/dist/components/buttons/{SSISecondaryButton → SecondaryButton}/index.js +5 -4
- package/dist/components/fields/ComboBox/index.d.ts +21 -0
- package/dist/components/fields/ComboBox/index.js +51 -0
- package/dist/components/fields/DragAndDropBox/index.d.ts +8 -0
- package/dist/components/fields/DragAndDropBox/index.js +30 -0
- package/dist/components/fields/FileSelection/index.d.ts +12 -0
- package/dist/components/fields/FileSelection/index.js +33 -0
- package/dist/components/fields/JSONForms/PassportPhotoControl/index.d.ts +5 -0
- package/dist/components/fields/JSONForms/PassportPhotoControl/index.js +37 -0
- package/dist/components/fields/SSICheckbox/index.d.ts +2 -1
- package/dist/components/fields/SSICheckbox/index.js +2 -2
- package/dist/components/fields/TextInputField/index.d.ts +12 -0
- package/dist/components/fields/TextInputField/index.js +21 -0
- package/dist/components/indicators/ProgressStepIndicator/index.js +6 -4
- package/dist/components/lists/DropDownList/index.d.ts +10 -0
- package/dist/components/lists/DropDownList/index.js +34 -0
- package/dist/components/lists/DropDownListItem/index.d.ts +13 -0
- package/dist/components/lists/DropDownListItem/index.js +23 -0
- package/dist/components/views/CredentialIssuanceWizardView/index.d.ts +10 -0
- package/dist/components/views/CredentialIssuanceWizardView/index.js +42 -0
- package/dist/components/views/CredentialMiniCardView/index.js +1 -1
- package/dist/components/views/CredentialViewItem/index.d.ts +16 -0
- package/dist/components/views/CredentialViewItem/index.js +17 -0
- package/dist/components/views/FormView/index.d.ts +15 -0
- package/dist/components/views/FormView/index.js +12 -0
- package/dist/components/views/FormView/styles.css +105 -0
- package/dist/components/views/JSONDataView/index.d.ts +8 -0
- package/dist/components/views/JSONDataView/index.js +85 -0
- package/dist/components/views/SSITabView/SSITabViewHeader/index.js +1 -1
- package/dist/components/views/SSITableView/PaginationControls/index.d.ts +8 -0
- package/dist/components/views/SSITableView/PaginationControls/index.js +9 -0
- package/dist/components/views/SSITableView/SSITableViewHeader/index.d.ts +1 -0
- package/dist/components/views/SSITableView/SSITableViewHeader/index.js +9 -7
- package/dist/components/views/SSITableView/index.d.ts +5 -2
- package/dist/components/views/SSITableView/index.js +76 -45
- package/dist/index.d.ts +22 -5
- package/dist/index.js +22 -5
- package/dist/renders/jsonFormsRenders.d.ts +2 -0
- package/dist/renders/jsonFormsRenders.js +6 -0
- package/dist/styles/components/components/CredentialIssuanceWizardView/index.d.ts +9 -0
- package/dist/styles/components/components/CredentialIssuanceWizardView/index.js +55 -0
- package/dist/styles/components/components/CredentialViewItem/index.d.ts +5 -0
- package/dist/styles/components/components/CredentialViewItem/index.js +28 -0
- package/dist/styles/components/components/DragAndDropBox/index.d.ts +4 -0
- package/dist/styles/components/components/DragAndDropBox/index.js +25 -0
- package/dist/styles/components/components/DropDownList/index.d.ts +3 -0
- package/dist/styles/components/components/DropDownList/index.js +21 -0
- package/dist/styles/components/components/DropDownListItem/index.d.ts +3 -0
- package/dist/styles/components/components/DropDownListItem/index.js +21 -0
- package/dist/styles/components/components/FileSelectionField/index.d.ts +10 -0
- package/dist/styles/components/components/FileSelectionField/index.js +64 -0
- package/dist/styles/components/components/IconButton/index.d.ts +1 -0
- package/dist/styles/components/components/{SSIIconButton → IconButton}/index.js +5 -3
- package/dist/styles/components/components/JSONDataView/index.d.ts +7 -0
- package/dist/styles/components/components/JSONDataView/index.js +47 -0
- package/dist/styles/components/components/Pagination/index.d.ts +5 -0
- package/dist/styles/components/components/Pagination/index.js +71 -0
- package/dist/styles/components/components/PassportPhotoControl/index.d.ts +4 -0
- package/dist/styles/components/components/PassportPhotoControl/index.js +27 -0
- package/dist/styles/components/components/PrimaryButton/index.d.ts +1 -0
- package/dist/styles/components/components/{SSIPrimaryButton → PrimaryButton}/index.js +3 -2
- package/dist/styles/components/components/ProgressStepIndicator/index.d.ts +1 -0
- package/dist/styles/components/components/ProgressStepIndicator/index.js +11 -0
- package/dist/styles/components/components/SSICheckbox/index.js +2 -2
- package/dist/styles/components/components/SSICredentialCardView/index.js +1 -0
- package/dist/styles/components/components/SSIStatusLabel/index.js +1 -0
- package/dist/styles/components/components/SSITabView/index.js +1 -1
- package/dist/styles/components/components/SSITabViewHeader/index.d.ts +1 -0
- package/dist/styles/components/components/SSITabViewHeader/index.js +5 -0
- package/dist/styles/components/components/SSITableView/index.d.ts +5 -1
- package/dist/styles/components/components/SSITableView/index.js +21 -3
- package/dist/styles/components/components/SSITableViewHeader/index.d.ts +1 -0
- package/dist/styles/components/components/SSITableViewHeader/index.js +8 -0
- package/dist/styles/components/components/SSIToast/index.js +2 -2
- package/dist/styles/components/components/SecondaryButton/index.d.ts +2 -0
- package/dist/styles/components/components/{SSISecondaryButton → SecondaryButton}/index.js +4 -3
- package/dist/styles/components/components/TextInputField/index.d.ts +2 -0
- package/dist/styles/components/components/TextInputField/index.js +27 -0
- package/dist/styles/components/components/buttons/index.d.ts +1 -0
- package/dist/styles/components/components/buttons/index.js +4 -0
- package/dist/styles/components/components/index.d.ts +14 -5
- package/dist/styles/components/components/index.js +14 -5
- package/dist/styles/css/index.d.ts +2 -0
- package/dist/styles/css/index.js +14 -0
- package/dist/styles/fonts/index.d.ts +1 -1
- package/dist/styles/fonts/index.js +23 -13
- package/dist/styles/typography.js +6 -0
- package/dist/types/button/index.d.ts +2 -1
- package/dist/types/field/index.d.ts +21 -0
- package/dist/types/field/index.js +10 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.js +2 -0
- package/dist/types/indicator/index.d.ts +1 -0
- package/dist/types/table/index.d.ts +24 -14
- package/dist/types/table/index.js +3 -0
- package/dist/types/view/index.d.ts +14 -0
- package/dist/types/view/index.js +1 -0
- package/dist/utils/FileUtils.d.ts +1 -0
- package/dist/utils/FileUtils.js +7 -0
- package/dist/utils/ImageUtils.d.ts +2 -0
- package/dist/utils/ImageUtils.js +12 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +2 -0
- package/package.json +25 -8
- package/dist/components/assets/icons/BitterballenIcon/index.js +0 -7
- package/dist/components/buttons/RowActionMenuButton/index.d.ts +0 -13
- package/dist/components/buttons/RowActionMenuButton/index.js +0 -28
- package/dist/components/buttons/SSIIconButton/index.d.ts +0 -10
- package/dist/components/buttons/SSIIconButton/index.js +0 -29
- package/dist/components/lists/SSIDropDownList/index.d.ts +0 -7
- package/dist/components/lists/SSIDropDownList/index.js +0 -11
- package/dist/styles/components/components/RowActionMenuButton/index.d.ts +0 -4
- package/dist/styles/components/components/RowActionMenuButton/index.js +0 -27
- package/dist/styles/components/components/SSIDropDownList/index.d.ts +0 -2
- package/dist/styles/components/components/SSIDropDownList/index.js +0 -12
- package/dist/styles/components/components/SSIIconButton/index.d.ts +0 -1
- package/dist/styles/components/components/SSIPrimaryButton/index.d.ts +0 -1
- package/dist/styles/components/components/SSISecondaryButton/index.d.ts +0 -2
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
import { backgroundColors, borderColors, fontColors, SSIRoundedEdgesCss } from '@sphereon/ui-components.core';
|
|
3
|
+
import { SSITextH2SemiBoldStyledCss, SSITextH5Css, SSITextH7SemiBoldCss } from '../../../css';
|
|
4
|
+
export const JSONDataViewContainerStyled = styled.div `
|
|
5
|
+
${SSIRoundedEdgesCss};
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
background-color: ${backgroundColors.primaryLight};
|
|
10
|
+
border: 1px solid ${borderColors.light};
|
|
11
|
+
`;
|
|
12
|
+
export const JSONDataViewHeaderContainerStyled = styled.div `
|
|
13
|
+
padding: 12px 24px;
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: row;
|
|
16
|
+
align-items: center;
|
|
17
|
+
border-bottom: 2px solid ${borderColors.light};
|
|
18
|
+
`;
|
|
19
|
+
export const JSONDataViewColumnHeaderCaptionStyled = styled.div `
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-grow: 1;
|
|
22
|
+
${SSITextH2SemiBoldStyledCss};
|
|
23
|
+
color: ${fontColors.lightGrey};
|
|
24
|
+
max-width: 200px;
|
|
25
|
+
`;
|
|
26
|
+
export const JSONDataViewDataContainerCaptionStyled = styled.div `
|
|
27
|
+
padding-right: 24px;
|
|
28
|
+
padding-bottom: 24px;
|
|
29
|
+
padding-left: 12px;
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: row;
|
|
32
|
+
`;
|
|
33
|
+
export const JSONDataViewDataImageValueStyled = styled.div `
|
|
34
|
+
background-size: cover;
|
|
35
|
+
height: 130px;
|
|
36
|
+
border-radius: 10px;
|
|
37
|
+
`;
|
|
38
|
+
export const JSONDataViewDataTextValueStyled = styled.span `
|
|
39
|
+
color: ${fontColors.dark};
|
|
40
|
+
${SSITextH7SemiBoldCss}
|
|
41
|
+
`;
|
|
42
|
+
export const JSONDataViewDataLabelStyled = styled.span `
|
|
43
|
+
color: ${fontColors.dark};
|
|
44
|
+
${SSITextH5Css};
|
|
45
|
+
width: 212px;
|
|
46
|
+
display: inline-block;
|
|
47
|
+
`;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const PaginationContainerStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
3
|
+
export declare const GoToInputStyled: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
|
|
4
|
+
export declare const GoToInputContainer: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
5
|
+
export declare const PaginationStyled: import("@emotion/styled").StyledComponent<import("@mui/material").PaginationProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { styled } from '@mui/material/styles';
|
|
2
|
+
import { Pagination, paginationItemClasses } from '@mui/material';
|
|
3
|
+
import { backgroundColors, borderColors, elementColors, fontColors } from '@sphereon/ui-components.core';
|
|
4
|
+
export const PaginationContainerStyled = styled('div') `
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
gap: 32px;
|
|
9
|
+
margin-top: 16px;
|
|
10
|
+
`;
|
|
11
|
+
export const GoToInputStyled = styled('input') `
|
|
12
|
+
height: 28px;
|
|
13
|
+
width: 44px;
|
|
14
|
+
background-color: ${backgroundColors.primaryLight};
|
|
15
|
+
outline: none;
|
|
16
|
+
color: ${fontColors.dark};
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
border-radius: 6px;
|
|
20
|
+
border: 1px ${borderColors.lightGrey} solid;
|
|
21
|
+
text-align: center;
|
|
22
|
+
&:focus {
|
|
23
|
+
border: 1px ${elementColors.purple} solid;
|
|
24
|
+
}
|
|
25
|
+
`;
|
|
26
|
+
export const GoToInputContainer = styled('div') `
|
|
27
|
+
display: inline-flex;
|
|
28
|
+
gap: 10px;
|
|
29
|
+
align-items: center;
|
|
30
|
+
font-weight: 500;
|
|
31
|
+
font-size: 14px;
|
|
32
|
+
`;
|
|
33
|
+
export const PaginationStyled = styled(Pagination) `
|
|
34
|
+
& .${paginationItemClasses.root} {
|
|
35
|
+
color: ${fontColors.dark};
|
|
36
|
+
background-color: ${backgroundColors.primaryLight};
|
|
37
|
+
border: 1px ${borderColors.lightGrey} solid;
|
|
38
|
+
border-radius: 6px;
|
|
39
|
+
font-size: 14px;
|
|
40
|
+
min-width: 32px;
|
|
41
|
+
min-height: 32px;
|
|
42
|
+
width: 32px;
|
|
43
|
+
height: 32px;
|
|
44
|
+
&:hover {
|
|
45
|
+
background-color: ${backgroundColors.primaryLight};
|
|
46
|
+
},
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
& .${paginationItemClasses.selected} {
|
|
50
|
+
background-color: transparent !important;
|
|
51
|
+
border: 1px ${elementColors.purple} solid;
|
|
52
|
+
color: ${elementColors.purple};
|
|
53
|
+
},
|
|
54
|
+
|
|
55
|
+
& .${paginationItemClasses.previousNext} {
|
|
56
|
+
color: ${borderColors.lightGrey};
|
|
57
|
+
},
|
|
58
|
+
|
|
59
|
+
& .${paginationItemClasses.disabled} {
|
|
60
|
+
color: ${borderColors.lightGrey};
|
|
61
|
+
background-color: ${backgroundColors.lightGrey};
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
& .${paginationItemClasses.ellipsis} {
|
|
65
|
+
font-size: 20px;
|
|
66
|
+
user-select: none;
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
justify-content: center;
|
|
70
|
+
}
|
|
71
|
+
`;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare const PassportPhotoControlContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const PassportPhotoControlDragAndDropBoxContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const PassportPhotoControlPassportPhotoContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const PassportPhotoControlPassportPhotoImageStyled: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import styled from 'styled-components';
|
|
2
|
+
import { backgroundColors, borderColors } from '@sphereon/ui-components.core';
|
|
3
|
+
export const PassportPhotoControlContainerStyled = styled.div `
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: 12px;
|
|
7
|
+
`;
|
|
8
|
+
export const PassportPhotoControlDragAndDropBoxContainerStyled = styled.div `
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
gap: 10px;
|
|
12
|
+
`;
|
|
13
|
+
export const PassportPhotoControlPassportPhotoContainerStyled = styled.div `
|
|
14
|
+
height: 138px;
|
|
15
|
+
width: 112px;
|
|
16
|
+
background-color: ${backgroundColors.lightGrey};
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
border-radius: 4px;
|
|
19
|
+
border: 1px solid ${borderColors.lightGrey};
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
`;
|
|
24
|
+
export const PassportPhotoControlPassportPhotoImageStyled = styled.img `
|
|
25
|
+
width: 100%;
|
|
26
|
+
height: auto
|
|
27
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const PrimaryButtonContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { SSIRoundedContainerStyled } from '../../containers';
|
|
3
3
|
import { gradientColors } from '../../../colors';
|
|
4
|
-
export const
|
|
4
|
+
export const PrimaryButtonContainerStyled = styled(SSIRoundedContainerStyled) `
|
|
5
5
|
background: ${gradientColors['100']};
|
|
6
6
|
display: flex;
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
justify-content: center;
|
|
9
9
|
align-items: center;
|
|
10
10
|
gap: 8px;
|
|
11
|
-
padding: 9px
|
|
11
|
+
padding: 9px;
|
|
12
12
|
cursor: pointer;
|
|
13
|
+
width: 180px;
|
|
13
14
|
`;
|
|
@@ -5,4 +5,5 @@ export declare const ProgressStepIndicatorStepTextCellStyled: import("styled-com
|
|
|
5
5
|
export declare const ProgressStepIndicatorSpacerLineCellStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
6
|
export declare const ProgressStepIndicatorTitleTextStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
7
|
export declare const ProgressStepIndicatorDescriptionTextStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
|
+
export declare const ProgressStepIndicatorOptionalTextStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
9
|
export declare const ProgressStepIndicatorStepLineStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { backgroundColors, borderColors, elementColors, fontColors } from '@sphereon/ui-components.core';
|
|
3
3
|
import { SSITextH1SemiBoldStyled, SSITextH3Styled } from '../../../fonts';
|
|
4
|
+
import { SSITextH2Css } from "../../../css";
|
|
4
5
|
export const ProgressStepIndicatorContainerStyled = styled.div `
|
|
5
6
|
background-color: ${backgroundColors.primaryLight};
|
|
6
7
|
border-radius: 24px;
|
|
@@ -10,6 +11,7 @@ export const ProgressStepIndicatorContainerStyled = styled.div `
|
|
|
10
11
|
padding: 48px 24px;
|
|
11
12
|
cursor: default;
|
|
12
13
|
min-width: 325px;
|
|
14
|
+
height: fit-content;
|
|
13
15
|
`;
|
|
14
16
|
export const ProgressStepIndicatorContentGridContainerStyled = styled.div `
|
|
15
17
|
display: grid;
|
|
@@ -35,11 +37,20 @@ export const ProgressStepIndicatorSpacerLineCellStyled = styled.div `
|
|
|
35
37
|
`;
|
|
36
38
|
export const ProgressStepIndicatorTitleTextStyled = styled(SSITextH1SemiBoldStyled) `
|
|
37
39
|
word-break: break-word;
|
|
40
|
+
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: row;
|
|
43
|
+
gap: 4px;
|
|
38
44
|
`;
|
|
39
45
|
export const ProgressStepIndicatorDescriptionTextStyled = styled(SSITextH3Styled) `
|
|
40
46
|
word-break: break-word;
|
|
41
47
|
color: ${fontColors.lightGrey};
|
|
42
48
|
`;
|
|
49
|
+
export const ProgressStepIndicatorOptionalTextStyled = styled.div `
|
|
50
|
+
${SSITextH2Css};
|
|
51
|
+
line-height: unset;
|
|
52
|
+
font-style: italic;
|
|
53
|
+
`;
|
|
43
54
|
export const ProgressStepIndicatorStepLineStyled = styled.div `
|
|
44
55
|
width: 4px;
|
|
45
56
|
display: flex;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
|
-
import {
|
|
2
|
+
import { SSITextH2Styled } from '../../../fonts';
|
|
3
3
|
import { SSIFlexDirectionRowViewStyled } from '../../containers';
|
|
4
4
|
export const SSICheckboxContainerStyled = styled(SSIFlexDirectionRowViewStyled) `
|
|
5
5
|
align-items: center;
|
|
@@ -19,7 +19,7 @@ export const SSICheckboxSelectedContainerStyled = styled.div `
|
|
|
19
19
|
align-items: center;
|
|
20
20
|
justify-content: center;
|
|
21
21
|
`;
|
|
22
|
-
export const SSICheckboxLabelContainerStyled = styled(
|
|
22
|
+
export const SSICheckboxLabelContainerStyled = styled(SSITextH2Styled) `
|
|
23
23
|
display: flex;
|
|
24
24
|
flex-wrap: wrap;
|
|
25
25
|
`;
|
|
@@ -7,6 +7,7 @@ export const SSICredentialCardViewContainerStyled = styled(SSIRoundedContainerSt
|
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: column;
|
|
9
9
|
user-select: none;
|
|
10
|
+
flex-shrink: 0;
|
|
10
11
|
`;
|
|
11
12
|
export const SSICredentialCardViewBackgroundImageStyled = styled(SSIFlexDirectionColumnViewStyled) `
|
|
12
13
|
flex-grow: 1;
|
|
@@ -5,6 +5,7 @@ export const SSIStatusLabelContainerStyled = styled(SSIFlexDirectionRowViewStyle
|
|
|
5
5
|
border-radius: 9px;
|
|
6
6
|
border: 1px solid #000;
|
|
7
7
|
width: fit-content;
|
|
8
|
+
height: fit-content;
|
|
8
9
|
`;
|
|
9
10
|
export const SSIStatusLabelStatusCaptionStyled = styled(SSITextH5LightStyled) `
|
|
10
11
|
margin-left: 7px;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
export declare const SSITabViewHeaderContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
2
|
export declare const SSITabViewHeaderTitleContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const SSITabViewHeaderTitleCaptionStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
|
+
import { SSITextH3Styled } from '../../../fonts';
|
|
2
3
|
export const SSITabViewHeaderContainerStyled = styled.div `
|
|
3
4
|
display: flex;
|
|
4
5
|
flex-direction: row;
|
|
@@ -7,4 +8,8 @@ export const SSITabViewHeaderContainerStyled = styled.div `
|
|
|
7
8
|
`;
|
|
8
9
|
export const SSITabViewHeaderTitleContainerStyled = styled.div `
|
|
9
10
|
cursor: pointer;
|
|
11
|
+
display: flex;
|
|
12
|
+
`;
|
|
13
|
+
export const SSITabViewHeaderTitleCaptionStyled = styled(SSITextH3Styled) `
|
|
14
|
+
margin-top: auto;
|
|
10
15
|
`;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
export declare const SSITableViewContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
2
|
export declare const SSITableViewLabelCellStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const SSITableViewTableContainerStyled: import("styled-components").StyledComponent<"table", any, {}, never>;
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const SSITableViewHeaderRowContainerStyled: import("styled-components").StyledComponent<"tr", any, {}, never>;
|
|
5
|
+
export declare const SSITableViewRowContainerStyled: import("styled-components").StyledComponent<"tr", any, {
|
|
6
|
+
enableHover?: boolean | undefined;
|
|
7
|
+
}, never>;
|
|
5
8
|
export declare const SSITableViewCellContainerStyled: import("styled-components").StyledComponent<"td", any, {}, never>;
|
|
6
9
|
export declare const SSITableViewHeaderCellContainerStyled: import("styled-components").StyledComponent<"th", any, {}, never>;
|
|
7
10
|
export declare const SSITableViewResultCountCaptionStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
+
export declare const TableViewRowSelectionCheckboxContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import styled from 'styled-components';
|
|
1
|
+
import styled, { css } from 'styled-components';
|
|
2
2
|
import { backgroundColors, borderColors, fontColors } from '@sphereon/ui-components.core';
|
|
3
3
|
import { SSITextH2Css, SSITextH3Css } from '../../../css';
|
|
4
4
|
export const SSITableViewContainerStyled = styled.div `
|
|
@@ -17,13 +17,27 @@ export const SSITableViewTableContainerStyled = styled.table `
|
|
|
17
17
|
border-collapse: collapse;
|
|
18
18
|
background-color: ${backgroundColors.lightGrey};
|
|
19
19
|
`;
|
|
20
|
-
export const
|
|
20
|
+
export const SSITableViewHeaderRowContainerStyled = styled.tr `
|
|
21
21
|
border-bottom: 1px solid ${borderColors.lightGrey};
|
|
22
|
+
background-color: ${backgroundColors.primaryLight};
|
|
23
|
+
`;
|
|
24
|
+
export const SSITableViewRowContainerStyled = styled.tr `
|
|
25
|
+
background-color: ${backgroundColors.primaryLight};
|
|
26
|
+
|
|
27
|
+
&:not(:last-child) {
|
|
28
|
+
border-bottom: 1px solid ${borderColors.lightGrey};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
${props => props.enableHover &&
|
|
32
|
+
css `
|
|
33
|
+
&:hover {
|
|
34
|
+
background-color: #ececec; // TODO
|
|
35
|
+
}
|
|
36
|
+
`}
|
|
22
37
|
`;
|
|
23
38
|
export const SSITableViewCellContainerStyled = styled.td `
|
|
24
39
|
${SSITextH3Css};
|
|
25
40
|
color: ${fontColors.dark};
|
|
26
|
-
background-color: ${backgroundColors.primaryLight};
|
|
27
41
|
padding: 20px 16px 20px 16px;
|
|
28
42
|
text-align: left;
|
|
29
43
|
//setting border-box makes padding be included in the width, otherwise content-box is used and then padding is excluded from the width
|
|
@@ -43,3 +57,7 @@ export const SSITableViewResultCountCaptionStyled = styled.div `
|
|
|
43
57
|
${SSITextH3Css};
|
|
44
58
|
margin-left: 24px;
|
|
45
59
|
`;
|
|
60
|
+
export const TableViewRowSelectionCheckboxContainerStyled = styled.div `
|
|
61
|
+
width: 20px;
|
|
62
|
+
height: 20px;
|
|
63
|
+
`;
|
|
@@ -3,3 +3,4 @@ export declare const SSITableViewHeaderContentContainerStyled: import("styled-co
|
|
|
3
3
|
export declare const SSITableViewHeaderActionsContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
4
|
export declare const SSITableViewHeaderFilterContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
5
|
export declare const SSITableViewHeaderShowOptionContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const TableViewHeaderStaticActionsContainerStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -27,3 +27,11 @@ export const SSITableViewHeaderShowOptionContainerStyled = styled.div `
|
|
|
27
27
|
text-align: left;
|
|
28
28
|
align-items: center;
|
|
29
29
|
`;
|
|
30
|
+
export const TableViewHeaderStaticActionsContainerStyled = styled.div `
|
|
31
|
+
height: 48px;
|
|
32
|
+
flex-grow: 1;
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
justify-content: center;
|
|
36
|
+
gap: 50px;
|
|
37
|
+
`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { alertColors } from '@sphereon/ui-components.core';
|
|
3
3
|
import { SSIFlexDirectionRowViewStyled, SSIRoundedContainerStyled } from '../../containers';
|
|
4
|
-
import {
|
|
4
|
+
import { SSITextH4Styled } from '../../../fonts';
|
|
5
5
|
export const SSIToastContainerStyled = styled(SSIRoundedContainerStyled) `
|
|
6
6
|
//TODO we need better width, use a max width and use content to scale
|
|
7
7
|
// 96.8%;
|
|
@@ -19,6 +19,6 @@ export const SSIToastTitleContainerStyled = styled(SSIFlexDirectionRowViewStyled
|
|
|
19
19
|
margin-bottom: 12px;
|
|
20
20
|
width: 100%;
|
|
21
21
|
`;
|
|
22
|
-
export const SSIToastMessageTextStyled = styled(
|
|
22
|
+
export const SSIToastMessageTextStyled = styled(SSITextH4Styled) `
|
|
23
23
|
width: 100%;
|
|
24
24
|
`;
|
|
@@ -2,15 +2,16 @@ import styled from 'styled-components';
|
|
|
2
2
|
import { SSIRoundedContainerStyled } from '../../containers';
|
|
3
3
|
import { SSITextH3Styled } from '../../../fonts';
|
|
4
4
|
import { gradient100TextCss } from '../../../css';
|
|
5
|
-
export const
|
|
5
|
+
export const SecondaryButtonContainerStyled = styled(SSIRoundedContainerStyled) `
|
|
6
6
|
position: relative;
|
|
7
7
|
display: flex;
|
|
8
8
|
flex-direction: row;
|
|
9
9
|
justify-content: center;
|
|
10
10
|
align-items: center;
|
|
11
11
|
gap: 8px;
|
|
12
|
-
padding: 9px
|
|
12
|
+
padding: 9px;
|
|
13
13
|
cursor: pointer;
|
|
14
|
+
width: 180px;
|
|
14
15
|
|
|
15
16
|
&::before {
|
|
16
17
|
content: '';
|
|
@@ -27,6 +28,6 @@ export const SSISecondaryButtonContainerStyled = styled(SSIRoundedContainerStyle
|
|
|
27
28
|
mask-composite: exclude;
|
|
28
29
|
}
|
|
29
30
|
`;
|
|
30
|
-
export const
|
|
31
|
+
export const SecondaryButtonCaptionStyled = styled(SSITextH3Styled) ` // FIXME H3 vs H2 mobile
|
|
31
32
|
${gradient100TextCss}
|
|
32
33
|
`;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { borderColors, fontColors } from '@sphereon/ui-components.core';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import { SSITextH2Css } from '../../../css';
|
|
4
|
+
export const TextFieldInputContainerStyled = styled.div `
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
`;
|
|
8
|
+
export const TextFieldInputInputStyled = styled.input `
|
|
9
|
+
${SSITextH2Css};
|
|
10
|
+
color: ${fontColors.dark};
|
|
11
|
+
display: flex;
|
|
12
|
+
padding: 12px 16px;
|
|
13
|
+
align-items: center;
|
|
14
|
+
border-radius: 4px;
|
|
15
|
+
border: 1px solid ${borderColors.lightGrey};
|
|
16
|
+
outline: none;
|
|
17
|
+
background-color: unset;
|
|
18
|
+
font-family: Poppins, serif;
|
|
19
|
+
|
|
20
|
+
&:focus {
|
|
21
|
+
border-color: ${borderColors.purple};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:hover {
|
|
25
|
+
border-color: ${borderColors.purple};
|
|
26
|
+
}
|
|
27
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ButtonFlexRowStyled: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './buttons';
|
|
2
|
+
export * from './DropDownListItem';
|
|
2
3
|
export * from './SSICredentialCardView';
|
|
3
4
|
export * from './SSICredentialMiniCardView';
|
|
4
5
|
export * from './SSIStatusLabel';
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
6
|
+
export * from './PrimaryButton';
|
|
7
|
+
export * from './SecondaryButton';
|
|
8
|
+
export * from './IconButton';
|
|
9
|
+
export * from './DropDownList';
|
|
9
10
|
export * from './SSITypeLabel';
|
|
10
11
|
export * from './SSITableViewHeader';
|
|
11
12
|
export * from './SSITableView';
|
|
@@ -18,3 +19,11 @@ export * from './SSIHoverText';
|
|
|
18
19
|
export * from './SSICheckbox';
|
|
19
20
|
export * from './ProgressStepIndicator';
|
|
20
21
|
export * from './StepMarker';
|
|
22
|
+
export * from './FileSelectionField';
|
|
23
|
+
export * from './DragAndDropBox';
|
|
24
|
+
export * from './PassportPhotoControl';
|
|
25
|
+
export * from './CredentialIssuanceWizardView';
|
|
26
|
+
export * from './Pagination';
|
|
27
|
+
export * from './CredentialViewItem';
|
|
28
|
+
export * from './JSONDataView';
|
|
29
|
+
export * from './TextInputField';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
export * from './
|
|
1
|
+
export * from './buttons';
|
|
2
|
+
export * from './DropDownListItem';
|
|
2
3
|
export * from './SSICredentialCardView';
|
|
3
4
|
export * from './SSICredentialMiniCardView';
|
|
4
5
|
export * from './SSIStatusLabel';
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
6
|
+
export * from './PrimaryButton';
|
|
7
|
+
export * from './SecondaryButton';
|
|
8
|
+
export * from './IconButton';
|
|
9
|
+
export * from './DropDownList';
|
|
9
10
|
export * from './SSITypeLabel';
|
|
10
11
|
export * from './SSITableViewHeader';
|
|
11
12
|
export * from './SSITableView';
|
|
@@ -18,3 +19,11 @@ export * from './SSIHoverText';
|
|
|
18
19
|
export * from './SSICheckbox';
|
|
19
20
|
export * from './ProgressStepIndicator';
|
|
20
21
|
export * from './StepMarker';
|
|
22
|
+
export * from './FileSelectionField';
|
|
23
|
+
export * from './DragAndDropBox';
|
|
24
|
+
export * from './PassportPhotoControl';
|
|
25
|
+
export * from './CredentialIssuanceWizardView';
|
|
26
|
+
export * from './Pagination';
|
|
27
|
+
export * from './CredentialViewItem';
|
|
28
|
+
export * from './JSONDataView';
|
|
29
|
+
export * from './TextInputField';
|
|
@@ -7,4 +7,6 @@ export declare const SSITextH4Css: import("styled-components").FlattenSimpleInte
|
|
|
7
7
|
export declare const SSITextH4SemiBoldCss: import("styled-components").FlattenSimpleInterpolation;
|
|
8
8
|
export declare const SSITextH5Css: import("styled-components").FlattenSimpleInterpolation;
|
|
9
9
|
export declare const SSITextH6Css: import("styled-components").FlattenSimpleInterpolation;
|
|
10
|
+
export declare const SSITextH7RegularCss: import("styled-components").FlattenSimpleInterpolation;
|
|
11
|
+
export declare const SSITextH7SemiBoldCss: import("styled-components").FlattenSimpleInterpolation;
|
|
10
12
|
export declare const gradient100TextCss: import("styled-components").FlattenSimpleInterpolation;
|
package/dist/styles/css/index.js
CHANGED
|
@@ -64,6 +64,20 @@ export const SSITextH6Css = css `
|
|
|
64
64
|
line-height: ${fontStyle.h6.lineHeight}px;
|
|
65
65
|
height: auto;
|
|
66
66
|
`;
|
|
67
|
+
export const SSITextH7RegularCss = css `
|
|
68
|
+
font-family: ${fontStyle.h7Regular.fontFamily};
|
|
69
|
+
font-size: ${fontStyle.h7Regular.fontSize}px;
|
|
70
|
+
font-weight: ${fontStyle.h7Regular.fontWeight};
|
|
71
|
+
line-height: ${fontStyle.h7Regular.lineHeight}px;
|
|
72
|
+
height: auto;
|
|
73
|
+
`;
|
|
74
|
+
export const SSITextH7SemiBoldCss = css `
|
|
75
|
+
font-family: ${fontStyle.h7SemiBold.fontFamily};
|
|
76
|
+
font-size: ${fontStyle.h7SemiBold.fontSize}px;
|
|
77
|
+
font-weight: ${fontStyle.h7SemiBold.fontWeight};
|
|
78
|
+
line-height: ${fontStyle.h7SemiBold.lineHeight}px;
|
|
79
|
+
height: auto;
|
|
80
|
+
`;
|
|
67
81
|
export const gradient100TextCss = css `
|
|
68
82
|
background: ${gradientColors['100']};
|
|
69
83
|
background-clip: text;
|
|
@@ -8,9 +8,9 @@ export declare const SSITextH3LightStyled: import("styled-components").StyledCom
|
|
|
8
8
|
export declare const SSITextH4Styled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
9
|
export declare const SSITextH4SemiBoldStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
10
|
export declare const SSITextH4LightStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
-
export declare const SSITextH4DarkStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
11
|
export declare const SSITextH4SemiBoldLightStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
12
|
export declare const SSITextH5Styled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
13
|
export declare const SSITextH5LightStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
15
14
|
export declare const SSITextH6Styled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
16
15
|
export declare const SSITextH6LightStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
16
|
+
export declare const SSITextH7RegularStyled: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,51 +1,61 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
import { fontColors } from '@sphereon/ui-components.core';
|
|
3
|
-
import { SSITextH1Css, SSITextH1SemiBoldCss, SSITextH2Css, SSITextH2SemiBoldStyledCss, SSITextH3Css, SSITextH4Css, SSITextH4SemiBoldCss, SSITextH5Css, SSITextH6Css, } from '../css';
|
|
3
|
+
import { SSITextH1Css, SSITextH1SemiBoldCss, SSITextH2Css, SSITextH2SemiBoldStyledCss, SSITextH3Css, SSITextH4Css, SSITextH4SemiBoldCss, SSITextH5Css, SSITextH6Css, SSITextH7RegularCss, } from '../css';
|
|
4
4
|
export const SSITextH1Styled = styled.div `
|
|
5
|
-
${SSITextH1Css}
|
|
5
|
+
${SSITextH1Css};
|
|
6
|
+
color: ${fontColors.dark};
|
|
6
7
|
`;
|
|
7
8
|
export const SSITextH1SemiBoldStyled = styled.div `
|
|
8
|
-
${SSITextH1SemiBoldCss}
|
|
9
|
+
${SSITextH1SemiBoldCss};
|
|
10
|
+
color: ${fontColors.dark};
|
|
9
11
|
`;
|
|
10
12
|
export const SSITextH1SemiBoldLightStyled = styled(SSITextH1SemiBoldStyled) `
|
|
11
13
|
color: ${fontColors.light};
|
|
12
14
|
`;
|
|
13
15
|
export const SSITextH2Styled = styled.div `
|
|
14
|
-
${SSITextH2Css}
|
|
16
|
+
${SSITextH2Css};
|
|
17
|
+
color: ${fontColors.dark};
|
|
15
18
|
`;
|
|
16
19
|
export const SSITextH2SemiBoldStyled = styled.div `
|
|
17
|
-
${SSITextH2SemiBoldStyledCss}
|
|
20
|
+
${SSITextH2SemiBoldStyledCss};
|
|
21
|
+
color: ${fontColors.dark};
|
|
18
22
|
`;
|
|
19
23
|
export const SSITextH3Styled = styled.div `
|
|
20
|
-
${SSITextH3Css}
|
|
24
|
+
${SSITextH3Css};
|
|
25
|
+
color: ${fontColors.dark};
|
|
21
26
|
`;
|
|
22
27
|
export const SSITextH3LightStyled = styled(SSITextH3Styled) `
|
|
23
28
|
color: ${fontColors.light};
|
|
24
29
|
`;
|
|
25
30
|
export const SSITextH4Styled = styled.div `
|
|
26
|
-
${SSITextH4Css}
|
|
31
|
+
${SSITextH4Css};
|
|
32
|
+
color: ${fontColors.dark};
|
|
27
33
|
`;
|
|
28
34
|
export const SSITextH4SemiBoldStyled = styled.div `
|
|
29
|
-
${SSITextH4SemiBoldCss}
|
|
35
|
+
${SSITextH4SemiBoldCss};
|
|
36
|
+
color: ${fontColors.dark};
|
|
30
37
|
`;
|
|
31
38
|
export const SSITextH4LightStyled = styled(SSITextH4Styled) `
|
|
32
39
|
color: ${fontColors.light};
|
|
33
40
|
`;
|
|
34
|
-
export const SSITextH4DarkStyled = styled(SSITextH4Styled) `
|
|
35
|
-
color: ${fontColors.dark};
|
|
36
|
-
`;
|
|
37
41
|
export const SSITextH4SemiBoldLightStyled = styled(SSITextH4SemiBoldStyled) `
|
|
38
42
|
color: ${fontColors.light};
|
|
39
43
|
`;
|
|
40
44
|
export const SSITextH5Styled = styled.div `
|
|
41
|
-
${SSITextH5Css}
|
|
45
|
+
${SSITextH5Css};
|
|
46
|
+
color: ${fontColors.dark};
|
|
42
47
|
`;
|
|
43
48
|
export const SSITextH5LightStyled = styled(SSITextH5Styled) `
|
|
44
49
|
color: ${fontColors.light};
|
|
45
50
|
`;
|
|
46
51
|
export const SSITextH6Styled = styled.div `
|
|
47
|
-
${SSITextH6Css}
|
|
52
|
+
${SSITextH6Css};
|
|
53
|
+
color: ${fontColors.dark};
|
|
48
54
|
`;
|
|
49
55
|
export const SSITextH6LightStyled = styled(SSITextH6Styled) `
|
|
50
56
|
color: ${fontColors.light};
|
|
51
57
|
`;
|
|
58
|
+
export const SSITextH7RegularStyled = styled.div `
|
|
59
|
+
${SSITextH7RegularCss};
|
|
60
|
+
color: ${fontColors.dark};
|
|
61
|
+
`;
|