@egovernments/digit-ui-components-css 0.2.0-beta.8 → 0.2.0-rc.16
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/index.css +4 -14635
- package/package.json +33 -36
- package/src/digitv2/components/FormComposerV2.scss +6 -5
- package/src/digitv2/components/accordionV2.scss +59 -59
- package/src/digitv2/components/alertCardV2.scss +43 -43
- package/src/digitv2/components/backLinkV2.scss +11 -8
- package/src/digitv2/components/bodyContainerV2.scss +2 -1
- package/src/digitv2/components/bottomSheetV2.scss +22 -19
- package/src/digitv2/components/breadcrumbV2.scss +27 -25
- package/src/digitv2/components/buttonsV2.scss +72 -72
- package/src/digitv2/components/cardV2.scss +18 -17
- package/src/digitv2/components/cardbasedoptionsV2.scss +4 -1
- package/src/digitv2/components/cardlabelV2.scss +4 -3
- package/src/digitv2/components/checkboxV2.scss +33 -32
- package/src/digitv2/components/chipV2.scss +46 -43
- package/src/digitv2/components/dividerV2.scss +7 -4
- package/src/digitv2/components/errorMessageV2.scss +15 -15
- package/src/digitv2/components/fieldV1.scss +69 -64
- package/src/digitv2/components/fileUploadV2.scss +129 -126
- package/src/digitv2/components/filterCardV2.scss +54 -51
- package/src/digitv2/components/footerV2.scss +14 -13
- package/src/digitv2/components/formCardV2.scss +52 -49
- package/src/digitv2/components/hamburgerV2.scss +145 -142
- package/src/digitv2/components/headerV2.scss +60 -57
- package/src/digitv2/components/headerdropdownV2.scss +72 -69
- package/src/digitv2/components/infobuttonV2.scss +18 -15
- package/src/digitv2/components/labelFieldPairV2.scss +11 -8
- package/src/digitv2/components/landingpagecardV2.scss +73 -70
- package/src/digitv2/components/loaderV2.scss +7 -4
- package/src/digitv2/components/menuCardV2.scss +34 -31
- package/src/digitv2/components/metricCardV2.scss +55 -52
- package/src/digitv2/components/mobileNumberV2.scss +10 -10
- package/src/digitv2/components/multiSelectDropdownV2.scss +170 -168
- package/src/digitv2/components/otpInputV2.scss +29 -26
- package/src/digitv2/components/panelCardV2.scss +46 -43
- package/src/digitv2/components/panelV2.scss +34 -31
- package/src/digitv2/components/popUpV2.scss +94 -91
- package/src/digitv2/components/radiobtnV2.scss +24 -23
- package/src/digitv2/components/selectDropdownV2.scss +200 -197
- package/src/digitv2/components/selectionTagV2.scss +32 -29
- package/src/digitv2/components/sidePanelV2.scss +51 -48
- package/src/digitv2/components/sidenavV2.scss +119 -116
- package/src/digitv2/components/stepperV2.scss +61 -58
- package/src/digitv2/components/summaryCardFieldPairV2.scss +25 -22
- package/src/digitv2/components/summaryCardV2.scss +30 -27
- package/src/digitv2/components/switchV2.scss +34 -31
- package/src/digitv2/components/tabV2.scss +29 -26
- package/src/digitv2/components/tableV2.scss +152 -149
- package/src/digitv2/components/tagV2.scss +27 -24
- package/src/digitv2/components/textInputV2.scss +117 -101
- package/src/digitv2/components/textareaV2.scss +23 -20
- package/src/digitv2/components/textblockV2.scss +31 -28
- package/src/digitv2/components/timelineV2.scss +64 -61
- package/src/digitv2/components/toastV2.scss +28 -25
- package/src/digitv2/components/toggleV2.scss +121 -37
- package/src/digitv2/components/tooltipwrapperV2.scss +97 -94
- package/src/digitv2/components/treeSelectV2.scss +58 -55
- package/src/digitv2/index.scss +136 -134
- package/src/digitv2/pages/employee/boundaryFilter.scss +63 -0
- package/src/digitv2/pages/employee/inboxsearchcomposer.scss +107 -37
- package/src/digitv2/pages/employee/index.scss +4 -3
- package/src/digitv2/pages/employee/reactdatatable.scss +13 -13
- package/src/digitv2/pages/employee/workbench.scss +29 -28
- package/src/digitv2/typography.scss +633 -640
- package/src/index.scss +21 -19
- package/src/pages/employee/index.scss +26 -26
- package/src/pages/employee/login.scss +4 -4
- package/src/theme-variables.css +137 -0
- package/CHANGELOG.md +0 -231
- package/dist/index.min.css +0 -6
package/package.json
CHANGED
|
@@ -1,52 +1,57 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@egovernments/digit-ui-components-css",
|
|
3
|
-
"version": "0.2.0-
|
|
3
|
+
"version": "0.2.0-rc.16",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.css",
|
|
6
6
|
"author": "Jagankumar <jagan.kumar@egovernments.org>",
|
|
7
7
|
"engines": {
|
|
8
|
-
"node": ">=
|
|
8
|
+
"node": ">=20"
|
|
9
9
|
},
|
|
10
10
|
"cssConfig": {
|
|
11
11
|
"prefix": ""
|
|
12
12
|
},
|
|
13
13
|
"scripts": {
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"build
|
|
17
|
-
"prepublish": "yarn build
|
|
14
|
+
"generate-theme": "node extract-theme.js",
|
|
15
|
+
"start": "cross-env NODE_ENV=development webpack serve --config webpack.config.js",
|
|
16
|
+
"build": "cross-env NODE_ENV=production webpack --config webpack.config.js",
|
|
17
|
+
"prepublish": "yarn build",
|
|
18
18
|
"publish:css-develop": "npm publish --tag core-v0.1",
|
|
19
19
|
"publish:css": "npm publish --access public",
|
|
20
|
-
"deploy": "
|
|
20
|
+
"deploy": "yarn build && cp -R svg dist && cp -R img dist && gh-pages -d dist"
|
|
21
21
|
},
|
|
22
22
|
"browserslist": [
|
|
23
23
|
"> 3%",
|
|
24
24
|
"last 2 versions"
|
|
25
25
|
],
|
|
26
26
|
"style": "./dist/index.css",
|
|
27
|
-
"dependencies": {
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"react-date-picker": "^12.0.1",
|
|
29
|
+
"react-date-range": "^2.0.1",
|
|
30
|
+
"react-datepicker": "4.8.0"
|
|
31
|
+
},
|
|
28
32
|
"devDependencies": {
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"cssnano": "^
|
|
34
|
-
"gh-pages": "
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"gulp-livereload": "^4.0.2",
|
|
39
|
-
"gulp-postcss": "9.0.0",
|
|
40
|
-
"gulp-rename": "^2.0.0",
|
|
41
|
-
"gulp-sass": "^4.1.0",
|
|
42
|
-
"postcss": "8.3.11",
|
|
43
|
-
"postcss-cli": "^8.0.0",
|
|
33
|
+
"autoprefixer": "^10.4.21",
|
|
34
|
+
"cross-env": "^7.0.3",
|
|
35
|
+
"css-loader": "^7.1.2",
|
|
36
|
+
"css-minimizer-webpack-plugin": "^7.0.2",
|
|
37
|
+
"cssnano": "^7.0.0",
|
|
38
|
+
"gh-pages": "6.1.1",
|
|
39
|
+
"mini-css-extract-plugin": "^2.9.1",
|
|
40
|
+
"postcss": "^8.5.6",
|
|
41
|
+
"postcss-cli": "^10.1.0",
|
|
44
42
|
"postcss-header": "^2.0.0",
|
|
45
|
-
"postcss-import": "^
|
|
46
|
-
"postcss-
|
|
47
|
-
"postcss-
|
|
48
|
-
"postcss-
|
|
49
|
-
"
|
|
43
|
+
"postcss-import": "^16.1.0",
|
|
44
|
+
"postcss-loader": "^8.1.1",
|
|
45
|
+
"postcss-nested": "^6.0.1",
|
|
46
|
+
"postcss-preset-env": "^9.6.0",
|
|
47
|
+
"postcss-scss": "^4.0.9",
|
|
48
|
+
"sass": "^1.77.8",
|
|
49
|
+
"sass-loader": "^16.0.0",
|
|
50
|
+
"tailwindcss": "^3.4.10",
|
|
51
|
+
"terser-webpack-plugin": "^5.3.10",
|
|
52
|
+
"webpack": "^5.95.0",
|
|
53
|
+
"webpack-cli": "^5.1.4",
|
|
54
|
+
"webpack-dev-server": "^5.2.0"
|
|
50
55
|
},
|
|
51
56
|
"files": [
|
|
52
57
|
"dist/index.min.css",
|
|
@@ -55,13 +60,5 @@
|
|
|
55
60
|
"img/**/*.png",
|
|
56
61
|
"src/**/*.scss",
|
|
57
62
|
"src/**/*.css"
|
|
58
|
-
],
|
|
59
|
-
"keywords": [
|
|
60
|
-
"digit",
|
|
61
|
-
"egov",
|
|
62
|
-
"dpg",
|
|
63
|
-
"digit-ui",
|
|
64
|
-
"css",
|
|
65
|
-
"digit-ui-components"
|
|
66
63
|
]
|
|
67
64
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
@import
|
|
1
|
+
@import './theme-variables.css';
|
|
2
|
+
@import '../typography.scss';
|
|
2
3
|
|
|
3
4
|
.digit-field-container {
|
|
4
5
|
display: flex;
|
|
@@ -62,7 +63,7 @@
|
|
|
62
63
|
width: fit-content !important;
|
|
63
64
|
display: flex;
|
|
64
65
|
align-items: center;
|
|
65
|
-
/* background: theme(colors.grey.mid); */
|
|
66
|
+
/* background: theme("colors.grey.mid"); */
|
|
66
67
|
border-right: 0;
|
|
67
68
|
padding-right: 5px;
|
|
68
69
|
}
|
|
@@ -90,7 +91,7 @@
|
|
|
90
91
|
width: fit-content !important;
|
|
91
92
|
display: flex;
|
|
92
93
|
align-items: center;
|
|
93
|
-
/* background: theme(colors.grey.mid); */
|
|
94
|
+
/* background: theme("colors.grey.mid"); */
|
|
94
95
|
border-right: 0;
|
|
95
96
|
padding-right: 5px;
|
|
96
97
|
}
|
|
@@ -109,10 +110,10 @@
|
|
|
109
110
|
gap: 10px;
|
|
110
111
|
|
|
111
112
|
svg {
|
|
112
|
-
fill: theme(colors.primary.main);
|
|
113
|
+
fill: theme("colors.primary.main");
|
|
113
114
|
}
|
|
114
115
|
}
|
|
115
116
|
|
|
116
117
|
.digit-form-composer-header {
|
|
117
|
-
font-size: theme(digitv2.fontSize.heading-l
|
|
118
|
+
font-size: theme("digitv2.fontSize.heading-l.desktop");
|
|
118
119
|
}
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
+
/* Import the generated theme variables */
|
|
2
|
+
@import './theme-variables.css';
|
|
3
|
+
@import '../typography.scss';
|
|
4
|
+
|
|
1
5
|
.digit-accordion-title {
|
|
2
6
|
display: flex;
|
|
3
7
|
align-items: flex-start;
|
|
4
8
|
cursor: pointer;
|
|
5
9
|
background-color: transparent;
|
|
6
|
-
gap:
|
|
10
|
+
gap: var(--digitv2-spacers-spacer3);
|
|
7
11
|
|
|
8
12
|
@media (max-aspect-ratio: 9/16) {
|
|
9
|
-
padding:
|
|
13
|
+
padding: var(--digitv2-spacers-spacer4);
|
|
10
14
|
}
|
|
11
15
|
|
|
12
16
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
13
|
-
padding:
|
|
17
|
+
padding: var(--digitv2-spacers-spacer5);
|
|
14
18
|
}
|
|
15
19
|
|
|
16
20
|
@media (min-aspect-ratio: 3/4) {
|
|
17
|
-
padding:
|
|
21
|
+
padding: var(--digitv2-spacers-spacer6);
|
|
18
22
|
}
|
|
19
23
|
}
|
|
20
24
|
|
|
21
25
|
.digit-accordion-icon {
|
|
22
|
-
width:
|
|
23
|
-
height:
|
|
26
|
+
width: var(--digitv2-spacers-spacer6);
|
|
27
|
+
height: var(--digitv2-spacers-spacer6);
|
|
24
28
|
flex-shrink: 0;
|
|
25
29
|
}
|
|
26
30
|
|
|
27
31
|
.digit-accordion-number {
|
|
28
|
-
@
|
|
29
|
-
font-family:
|
|
30
|
-
font-style:
|
|
31
|
-
font-weight:
|
|
32
|
-
line-height:
|
|
32
|
+
@include typography-heading-s;
|
|
33
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
34
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
35
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
36
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
33
37
|
|
|
34
38
|
@media (max-aspect-ratio: 9/16) {
|
|
35
|
-
|
|
36
|
-
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
39
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
40
|
-
|
|
41
|
-
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
43
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
@media (min-aspect-ratio: 3/4) {
|
|
45
|
-
|
|
46
|
-
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
47
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
47
48
|
}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
|
|
50
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
51
|
+
min-width: var(--digitv2-spacers-spacer6);
|
|
52
|
+
height: var(--digitv2-spacers-spacer6);
|
|
51
53
|
display: flex;
|
|
52
54
|
align-items: center;
|
|
53
|
-
justify-content: center
|
|
55
|
+
justify-content: center;
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
.digit-accordion-header-title {
|
|
57
|
-
@
|
|
58
|
-
font-family:
|
|
59
|
-
font-style:
|
|
60
|
-
font-weight:
|
|
61
|
-
line-height:
|
|
59
|
+
@include typography-heading-s;
|
|
60
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
61
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
62
|
+
font-weight: var(--digitv2-fontWeight-bold);
|
|
63
|
+
line-height: var(--digitv2-lineHeight-lineheight1);
|
|
62
64
|
|
|
63
65
|
@media (max-aspect-ratio: 9/16) {
|
|
64
|
-
|
|
65
|
-
font-size: theme(digitv2.fontSize.heading-s.mobile);
|
|
66
|
+
font-size: var(--digitv2-fontSize-heading-s-mobile);
|
|
66
67
|
}
|
|
67
68
|
|
|
68
69
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
69
|
-
|
|
70
|
-
font-size: theme(digitv2.fontSize.heading-s.tablet);
|
|
70
|
+
font-size: var(--digitv2-fontSize-heading-s-tablet);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
@media (min-aspect-ratio: 3/4) {
|
|
74
|
-
|
|
75
|
-
font-size: theme(digitv2.fontSize.heading-s.desktop);
|
|
74
|
+
font-size: var(--digitv2-fontSize-heading-s-desktop);
|
|
76
75
|
}
|
|
77
|
-
|
|
76
|
+
|
|
77
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
78
78
|
margin-top: 0.18rem;
|
|
79
79
|
flex-grow: 1;
|
|
80
80
|
}
|
|
@@ -87,72 +87,72 @@
|
|
|
87
87
|
display: flex;
|
|
88
88
|
gap: 0.625rem;
|
|
89
89
|
flex-direction: column;
|
|
90
|
-
@
|
|
91
|
-
font-family:
|
|
92
|
-
font-style:
|
|
93
|
-
font-weight:
|
|
94
|
-
line-height:
|
|
90
|
+
@include typography-body-s;
|
|
91
|
+
font-family: var(--digitv2-fontFamily-sans);
|
|
92
|
+
font-style: var(--digitv2-fontStyle-normal);
|
|
93
|
+
font-weight: var(--digitv2-fontWeight-regular);
|
|
94
|
+
line-height: var(--digitv2-lineHeight-lineheight2);
|
|
95
95
|
|
|
96
96
|
@media (max-aspect-ratio: 9/16) {
|
|
97
|
-
font-size:
|
|
98
|
-
padding: 0rem
|
|
97
|
+
font-size: var(--digitv2-fontSize-body-s-mobile);
|
|
98
|
+
padding: 0rem var(--digitv2-spacers-spacer4);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
102
|
-
font-size:
|
|
103
|
-
padding: 0rem
|
|
102
|
+
font-size: var(--digitv2-fontSize-body-s-tablet);
|
|
103
|
+
padding: 0rem var(--digitv2-spacers-spacer5);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
@media (min-aspect-ratio: 3/4) {
|
|
107
|
-
font-size:
|
|
108
|
-
padding: 0rem
|
|
107
|
+
font-size: var(--digitv2-fontSize-body-s-desktop);
|
|
108
|
+
padding: 0rem var(--digitv2-spacers-spacer6);
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
color:
|
|
111
|
+
color: var(--digitv2-lightTheme-text-primary);
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.digit-accordion-content.open {
|
|
115
115
|
max-height: fit-content;
|
|
116
116
|
|
|
117
117
|
@media (max-aspect-ratio: 9/16) {
|
|
118
|
-
padding:
|
|
118
|
+
padding: var(--digitv2-spacers-spacer4);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
122
|
-
padding:
|
|
122
|
+
padding: var(--digitv2-spacers-spacer5);
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
@media (min-aspect-ratio: 3/4) {
|
|
126
|
-
padding:
|
|
126
|
+
padding: var(--digitv2-spacers-spacer6);
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.digit-accordion {
|
|
131
131
|
&.border {
|
|
132
|
-
border: 0.063rem solid
|
|
132
|
+
border: 0.063rem solid var(--digitv2-lightTheme-generic-divider);
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
&.borderRadius {
|
|
136
|
-
border-radius:
|
|
136
|
+
border-radius: var(--digitv2-spacers-spacer1);
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
&.withDivider {
|
|
140
140
|
.digit-accordion-content.open{
|
|
141
|
-
border-top: 1px solid
|
|
141
|
+
border-top: 1px solid var(--digitv2-lightTheme-generic-divider);
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
&.no-divider {
|
|
146
146
|
.digit-accordion-title {
|
|
147
|
-
padding-bottom:
|
|
147
|
+
padding-bottom: var(--digitv2-spacers-spacer0);
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
&.cardBg {
|
|
152
|
-
background-color:
|
|
152
|
+
background-color: var(--digitv2-lightTheme-paper-primary);
|
|
153
153
|
|
|
154
154
|
&.nested {
|
|
155
|
-
background-color:
|
|
155
|
+
background-color: var(--digitv2-lightTheme-paper-secondary);
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
}
|
|
@@ -180,8 +180,8 @@
|
|
|
180
180
|
.digit-accordion-toggle{
|
|
181
181
|
display: flex;
|
|
182
182
|
align-items: center;
|
|
183
|
-
width:
|
|
184
|
-
height:
|
|
183
|
+
width: var(--digitv2-spacers-spacer6);
|
|
184
|
+
height: var(--digitv2-spacers-spacer6);
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
.digit-accordion-toggle.animate-open svg {
|
|
@@ -197,15 +197,15 @@
|
|
|
197
197
|
flex-direction: column;
|
|
198
198
|
|
|
199
199
|
@media (max-aspect-ratio: 9/16) {
|
|
200
|
-
gap:
|
|
200
|
+
gap: var(--digitv2-spacers-spacer4);
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
@media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
|
|
204
|
-
gap:
|
|
204
|
+
gap: var(--digitv2-spacers-spacer5);
|
|
205
205
|
}
|
|
206
206
|
|
|
207
207
|
@media (min-aspect-ratio: 3/4) {
|
|
208
|
-
gap:
|
|
208
|
+
gap: var(--digitv2-spacers-spacer6);
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
@import
|
|
2
|
-
@import
|
|
1
|
+
@import './theme-variables.css';
|
|
2
|
+
@import '../typography.scss';
|
|
3
3
|
|
|
4
4
|
.digit-infobanner-wrap {
|
|
5
5
|
@apply p-md flex flex-col;
|
|
6
|
-
top: theme(digitv2.spacers.spacer5);
|
|
7
|
-
left: theme(digitv2.spacers.spacer5);
|
|
8
|
-
gap: theme(digitv2.spacers.spacer2);
|
|
9
|
-
background-color: theme(digitv2.lightTheme.alert-infobg);
|
|
6
|
+
top: theme("digitv2.spacers.spacer5");
|
|
7
|
+
left: theme("digitv2.spacers.spacer5");
|
|
8
|
+
gap: theme("digitv2.spacers.spacer2");
|
|
9
|
+
background-color: theme("digitv2.lightTheme.alert-infobg");
|
|
10
10
|
|
|
11
|
-
border: 0.063rem solid theme(digitv2.lightTheme.alert-info);
|
|
12
|
-
border-left-width: theme(digitv2.spacers.spacer1);
|
|
11
|
+
border: 0.063rem solid theme("digitv2.lightTheme.alert-info");
|
|
12
|
+
border-left-width: theme("digitv2.spacers.spacer1");
|
|
13
13
|
|
|
14
14
|
div {
|
|
15
15
|
@apply flex;
|
|
16
|
-
gap: theme(digitv2.spacers.spacer2);
|
|
17
|
-
min-height: theme(digitv2.spacers.spacer6);
|
|
16
|
+
gap: theme("digitv2.spacers.spacer2");
|
|
17
|
+
min-height: theme("digitv2.spacers.spacer6");
|
|
18
18
|
|
|
19
19
|
svg {
|
|
20
20
|
flex-shrink: 0;
|
|
@@ -23,63 +23,63 @@
|
|
|
23
23
|
|
|
24
24
|
.digit-infobanner-header {
|
|
25
25
|
@apply w-full max-w-full overflow-hidden text-left;
|
|
26
|
-
font-family: theme(digitv2.fontFamily.sans);
|
|
27
|
-
font-weight: theme(digitv2.fontWeight.bold);
|
|
28
|
-
color: theme(digitv2.lightTheme.alert-info);
|
|
29
|
-
font-size: theme(digitv2.spacers.spacer4);
|
|
26
|
+
font-family: theme("digitv2.fontFamily.sans");
|
|
27
|
+
font-weight: theme("digitv2.fontWeight.bold");
|
|
28
|
+
color: theme("digitv2.lightTheme.alert-info");
|
|
29
|
+
font-size: theme("digitv2.spacers.spacer4");
|
|
30
30
|
line-height: 1.172rem;
|
|
31
|
-
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
32
|
-
margin: 0.164rem theme(digitv2.spacers.spacer0);
|
|
31
|
+
letter-spacing: theme("digitv2.spacers.spacer0");
|
|
32
|
+
margin: 0.164rem theme("digitv2.spacers.spacer0");
|
|
33
33
|
white-space: normal;
|
|
34
34
|
word-break: break-word;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
p {
|
|
38
38
|
@apply whitespace-pre-line text-left;
|
|
39
|
-
font-weight: theme(digitv2.fontWeight.regular);
|
|
40
|
-
color: theme(digitv2.lightTheme.text-secondary);
|
|
41
|
-
font-style: theme(digitv2.fontStyle.normal);
|
|
42
|
-
font-family: theme(digitv2.fontFamily.sans);
|
|
39
|
+
font-weight: theme("digitv2.fontWeight.regular");
|
|
40
|
+
color: theme("digitv2.lightTheme.text-secondary");
|
|
41
|
+
font-style: theme("digitv2.fontStyle.normal");
|
|
42
|
+
font-family: theme("digitv2.fontFamily.sans");
|
|
43
43
|
font-size: 0.875rem;
|
|
44
|
-
line-height: theme(digitv2.spacers.spacer5);
|
|
45
|
-
letter-spacing: theme(digitv2.spacers.spacer0);
|
|
46
|
-
margin: theme(digitv2.spacers.spacer0);
|
|
44
|
+
line-height: theme("digitv2.spacers.spacer5");
|
|
45
|
+
letter-spacing: theme("digitv2.spacers.spacer0");
|
|
46
|
+
margin: theme("digitv2.spacers.spacer0");
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
&.digit-core-variant {
|
|
50
|
-
margin: theme(digitv2.spacers.spacer8) theme(digitv2.spacers.spacer0);
|
|
50
|
+
margin: theme("digitv2.spacers.spacer8") theme("digitv2.spacers.spacer0");
|
|
51
51
|
padding: 0.625rem;
|
|
52
52
|
background-color: #ffe2b5;
|
|
53
|
-
border-radius: theme(digitv2.spacers.spacer1);
|
|
53
|
+
border-radius: theme("digitv2.spacers.spacer1");
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
&.success {
|
|
57
|
-
background-color: theme(digitv2.lightTheme.alert-successbg);
|
|
58
|
-
border: 0.063rem solid theme(digitv2.lightTheme.alert-success);
|
|
59
|
-
border-left-width: theme(digitv2.spacers.spacer1);
|
|
57
|
+
background-color: theme("digitv2.lightTheme.alert-successbg");
|
|
58
|
+
border: 0.063rem solid theme("digitv2.lightTheme.alert-success");
|
|
59
|
+
border-left-width: theme("digitv2.spacers.spacer1");
|
|
60
60
|
|
|
61
61
|
.digit-infobanner-header{
|
|
62
|
-
color: theme(digitv2.lightTheme.alert-success);
|
|
62
|
+
color: theme("digitv2.lightTheme.alert-success");
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
&.warning {
|
|
67
|
-
background-color: theme(digitv2.lightTheme.alert-warning-bg);
|
|
68
|
-
border: 0.063rem solid theme(digitv2.lightTheme.alert-warning);
|
|
69
|
-
border-left-width: theme(digitv2.spacers.spacer1);
|
|
67
|
+
background-color: theme("digitv2.lightTheme.alert-warning-bg");
|
|
68
|
+
border: 0.063rem solid theme("digitv2.lightTheme.alert-warning");
|
|
69
|
+
border-left-width: theme("digitv2.spacers.spacer1");
|
|
70
70
|
|
|
71
71
|
.digit-infobanner-header{
|
|
72
|
-
color: theme(digitv2.lightTheme.alert-warning);
|
|
72
|
+
color: theme("digitv2.lightTheme.alert-warning");
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
&.error {
|
|
77
|
-
background-color: theme(digitv2.lightTheme.alert-errorbg);
|
|
78
|
-
border: 0.063rem solid theme(digitv2.lightTheme.alert-error);
|
|
79
|
-
border-left-width: theme(digitv2.spacers.spacer1);
|
|
77
|
+
background-color: theme("digitv2.lightTheme.alert-errorbg");
|
|
78
|
+
border: 0.063rem solid theme("digitv2.lightTheme.alert-error");
|
|
79
|
+
border-left-width: theme("digitv2.spacers.spacer1");
|
|
80
80
|
|
|
81
81
|
.digit-infobanner-header{
|
|
82
|
-
color: theme(digitv2.lightTheme.alert-error);
|
|
82
|
+
color: theme("digitv2.lightTheme.alert-error");
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
85
|
|
|
@@ -108,26 +108,26 @@
|
|
|
108
108
|
|
|
109
109
|
.additional-elements-inline {
|
|
110
110
|
@apply flex flex-wrap items-start;
|
|
111
|
-
gap: theme(digitv2.spacers.spacer2);
|
|
111
|
+
gap: theme("digitv2.spacers.spacer2");
|
|
112
112
|
|
|
113
113
|
.individualElement{
|
|
114
114
|
h2{
|
|
115
|
-
margin: theme(digitv2.spacers.spacer0);
|
|
116
|
-
color: theme(digitv2.lightTheme.text-primary);
|
|
115
|
+
margin: theme("digitv2.spacers.spacer0");
|
|
116
|
+
color: theme("digitv2.lightTheme.text-primary");
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
.additional-elements-column {
|
|
122
122
|
@apply flex flex-col items-start;
|
|
123
|
-
gap: theme(digitv2.spacers.spacer2);
|
|
123
|
+
gap: theme("digitv2.spacers.spacer2");
|
|
124
124
|
|
|
125
125
|
.individualElement {
|
|
126
126
|
@apply w-full max-w-full;
|
|
127
127
|
|
|
128
128
|
h2{
|
|
129
|
-
margin: theme(digitv2.spacers.spacer0);
|
|
130
|
-
color: theme(digitv2.lightTheme.text-primary);
|
|
129
|
+
margin: theme("digitv2.spacers.spacer0");
|
|
130
|
+
color: theme("digitv2.lightTheme.text-primary");
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
}
|
|
@@ -1,24 +1,27 @@
|
|
|
1
|
+
@import './theme-variables.css';
|
|
2
|
+
@import '../typography.scss';
|
|
3
|
+
|
|
1
4
|
.digit-back-link {
|
|
2
|
-
gap: theme(digitv2.spacers.spacer1);
|
|
5
|
+
gap: theme("digitv2.spacers.spacer1");
|
|
3
6
|
display: flex;
|
|
4
7
|
align-items: center;
|
|
5
8
|
|
|
6
9
|
.digit-back-link-icon {
|
|
7
10
|
flex-shrink: 0;
|
|
8
|
-
width: theme(digitv2.spacers.spacer6);
|
|
9
|
-
height: theme(digitv2.spacers.spacer6);
|
|
11
|
+
width: theme("digitv2.spacers.spacer6");
|
|
12
|
+
height: theme("digitv2.spacers.spacer6");
|
|
10
13
|
cursor: pointer;
|
|
11
14
|
|
|
12
15
|
@media (max-width: 30rem) {
|
|
13
|
-
width: theme(digitv2.spacers.spacer5);
|
|
14
|
-
height: theme(digitv2.spacers.spacer5);
|
|
16
|
+
width: theme("digitv2.spacers.spacer5");
|
|
17
|
+
height: theme("digitv2.spacers.spacer5");
|
|
15
18
|
}
|
|
16
19
|
|
|
17
20
|
}
|
|
18
21
|
|
|
19
22
|
.digit-back-link-label {
|
|
20
|
-
@
|
|
21
|
-
color: theme(digitv2.lightTheme.primary-2);
|
|
23
|
+
@include typography-body-l;
|
|
24
|
+
color: theme("digitv2.lightTheme.primary-2");
|
|
22
25
|
margin-top:0.063rem;
|
|
23
26
|
cursor: pointer;
|
|
24
27
|
}
|
|
@@ -26,7 +29,7 @@
|
|
|
26
29
|
&.disabled{
|
|
27
30
|
pointer-events: none;
|
|
28
31
|
.digit-back-link-label{
|
|
29
|
-
color: theme(digitv2.lightTheme.text-disabled);
|
|
32
|
+
color: theme("digitv2.lightTheme.text-disabled");
|
|
30
33
|
cursor: default;
|
|
31
34
|
}
|
|
32
35
|
|