@egovernments/digit-ui-components-css 0.0.2-beta.11 → 0.0.2-beta.13
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/CHANGELOG.md +92 -88
- package/README.md +80 -80
- package/dist/index.css +810 -16
- package/dist/index.min.css +2 -2
- package/package.json +69 -69
- package/src/digitv2/components/FormComposerV2.scss +118 -118
- package/src/digitv2/components/actionbarV2.scss +206 -206
- package/src/digitv2/components/backLinkV2.scss +36 -36
- package/src/digitv2/components/bodyContainerV2.scss +39 -39
- package/src/digitv2/components/breadcrumbV2.scss +56 -56
- package/src/digitv2/components/buttonsV2.scss +450 -451
- package/src/digitv2/components/cardV2.scss +497 -497
- package/src/digitv2/components/cardbasedoptionsV2.scss +46 -46
- package/src/digitv2/components/cardlabelV2.scss +7 -7
- package/src/digitv2/components/checkboxV2.scss +83 -83
- package/src/digitv2/components/chipV2.scss +129 -129
- package/src/digitv2/components/dividerV2.scss +10 -10
- package/src/digitv2/components/errorMessageV2.scss +20 -20
- package/src/digitv2/components/fieldV1.scss +96 -96
- package/src/digitv2/components/headerdropdownV2.scss +151 -151
- package/src/digitv2/components/infoCardV2.scss +139 -139
- package/src/digitv2/components/infobuttonV2.scss +75 -75
- package/src/digitv2/components/labelFieldPairV2.scss +66 -66
- package/src/digitv2/components/mobileNumberV2.scss +65 -65
- package/src/digitv2/components/mobilesidebarV2.scss +439 -0
- package/src/digitv2/components/multiSelectDropdownV2.scss +315 -315
- package/src/digitv2/components/panelCardV2.scss +160 -160
- package/src/digitv2/components/panelV2.scss +114 -114
- package/src/digitv2/components/popUpV2.scss +330 -330
- package/src/digitv2/components/radiobtnV2.scss +115 -115
- package/src/digitv2/components/selectDropdownV2.scss +364 -364
- package/src/digitv2/components/sidebarV2.scss +409 -0
- package/src/digitv2/components/stepperV2.scss +147 -147
- package/src/digitv2/components/textInputV2.scss +462 -462
- package/src/digitv2/components/textareaV2.scss +99 -99
- package/src/digitv2/components/textblockV2.scss +46 -46
- package/src/digitv2/components/timelineV2.scss +170 -170
- package/src/digitv2/components/toastV2.scss +80 -80
- package/src/digitv2/components/toggleV2.scss +72 -72
- package/src/digitv2/components/tooltipwrapperV2.scss +96 -0
- package/src/digitv2/components/topbarV2.scss +387 -387
- package/src/digitv2/components/treeSelectV2.scss +132 -132
- package/src/digitv2/components/uploaderV2.scss +556 -556
- package/src/digitv2/components/viewCardFieldPairV2.scss +44 -44
- package/src/digitv2/index.scss +172 -169
- package/src/digitv2/pages/employee/index.scss +1 -1
- package/src/digitv2/pages/employee/workbench.scss +615 -615
- package/src/digitv2/typography.scss +638 -638
- package/src/index.scss +677 -681
- package/src/pages/employee/index.scss +625 -625
- package/src/pages/employee/login.scss +220 -220
package/package.json
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@egovernments/digit-ui-components-css",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
4
|
-
"license": "MIT",
|
|
5
|
-
"main": "dist/index.css",
|
|
6
|
-
"author": "Jagankumar <jagan.kumar@egov.org.in>",
|
|
7
|
-
"engines": {
|
|
8
|
-
"node": ">=14"
|
|
9
|
-
},
|
|
10
|
-
"cssConfig": {
|
|
11
|
-
"prefix": ""
|
|
12
|
-
},
|
|
13
|
-
"scripts": {
|
|
14
|
-
"start": "gulp build",
|
|
15
|
-
"build": "NODE_ENV=production gulp build",
|
|
16
|
-
"build:prod": "NODE_ENV=production gulp build",
|
|
17
|
-
"prepublish": "yarn build:prod",
|
|
18
|
-
"publish:css-develop": "npm publish --tag core-v0.1",
|
|
19
|
-
"publish:css": "npm publish --access public",
|
|
20
|
-
"deploy": "gulp && cp -R svg example && cp -R img example && gh-pages -d example"
|
|
21
|
-
},
|
|
22
|
-
"browserslist": [
|
|
23
|
-
"> 3%",
|
|
24
|
-
"last 2 versions"
|
|
25
|
-
],
|
|
26
|
-
"style": "./dist/index.css",
|
|
27
|
-
"dependencies": {
|
|
28
|
-
"node-sass": "^4.14.1",
|
|
29
|
-
"normalize.css": "^8.0.1",
|
|
30
|
-
"postcss-scss": "^3.0.1",
|
|
31
|
-
"tailwindcss": "^1.8.10"
|
|
32
|
-
},
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"autoprefixer": "^10.0.0",
|
|
35
|
-
"cssnano": "^4.1.10",
|
|
36
|
-
"gh-pages": "3.1.0",
|
|
37
|
-
"gulp": "^4.0.2",
|
|
38
|
-
"gulp-clean": "^0.4.0",
|
|
39
|
-
"gulp-clean-css": "^4.3.0",
|
|
40
|
-
"gulp-livereload": "^4.0.2",
|
|
41
|
-
"gulp-postcss": "9.0.0",
|
|
42
|
-
"gulp-rename": "^2.0.0",
|
|
43
|
-
"gulp-sass": "^4.1.0",
|
|
44
|
-
"postcss": "8.3.11",
|
|
45
|
-
"postcss-cli": "^8.0.0",
|
|
46
|
-
"postcss-header": "^2.0.0",
|
|
47
|
-
"postcss-import": "^12.0.1",
|
|
48
|
-
"postcss-prefixer": "^2.1.2",
|
|
49
|
-
"postcss-preset-env": "^6.7.0",
|
|
50
|
-
"postcss-scss": "^3.0.1",
|
|
51
|
-
"sass": "^1.26.11"
|
|
52
|
-
},
|
|
53
|
-
"files": [
|
|
54
|
-
"dist/index.min.css",
|
|
55
|
-
"dist/index.css",
|
|
56
|
-
"svg/**/*.svg",
|
|
57
|
-
"img/**/*.png",
|
|
58
|
-
"src/**/*.scss",
|
|
59
|
-
"src/**/*.css"
|
|
60
|
-
],
|
|
61
|
-
"keywords": [
|
|
62
|
-
"digit",
|
|
63
|
-
"egov",
|
|
64
|
-
"dpg",
|
|
65
|
-
"digit-ui",
|
|
66
|
-
"css",
|
|
67
|
-
"digit-ui-components"
|
|
68
|
-
]
|
|
69
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@egovernments/digit-ui-components-css",
|
|
3
|
+
"version": "0.0.2-beta.13",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"main": "dist/index.css",
|
|
6
|
+
"author": "Jagankumar <jagan.kumar@egov.org.in>",
|
|
7
|
+
"engines": {
|
|
8
|
+
"node": ">=14"
|
|
9
|
+
},
|
|
10
|
+
"cssConfig": {
|
|
11
|
+
"prefix": ""
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"start": "gulp build",
|
|
15
|
+
"build": "NODE_ENV=production gulp build",
|
|
16
|
+
"build:prod": "NODE_ENV=production gulp build",
|
|
17
|
+
"prepublish": "yarn build:prod",
|
|
18
|
+
"publish:css-develop": "npm publish --tag core-v0.1",
|
|
19
|
+
"publish:css": "npm publish --access public",
|
|
20
|
+
"deploy": "gulp && cp -R svg example && cp -R img example && gh-pages -d example"
|
|
21
|
+
},
|
|
22
|
+
"browserslist": [
|
|
23
|
+
"> 3%",
|
|
24
|
+
"last 2 versions"
|
|
25
|
+
],
|
|
26
|
+
"style": "./dist/index.css",
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"node-sass": "^4.14.1",
|
|
29
|
+
"normalize.css": "^8.0.1",
|
|
30
|
+
"postcss-scss": "^3.0.1",
|
|
31
|
+
"tailwindcss": "^1.8.10"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"autoprefixer": "^10.0.0",
|
|
35
|
+
"cssnano": "^4.1.10",
|
|
36
|
+
"gh-pages": "3.1.0",
|
|
37
|
+
"gulp": "^4.0.2",
|
|
38
|
+
"gulp-clean": "^0.4.0",
|
|
39
|
+
"gulp-clean-css": "^4.3.0",
|
|
40
|
+
"gulp-livereload": "^4.0.2",
|
|
41
|
+
"gulp-postcss": "9.0.0",
|
|
42
|
+
"gulp-rename": "^2.0.0",
|
|
43
|
+
"gulp-sass": "^4.1.0",
|
|
44
|
+
"postcss": "8.3.11",
|
|
45
|
+
"postcss-cli": "^8.0.0",
|
|
46
|
+
"postcss-header": "^2.0.0",
|
|
47
|
+
"postcss-import": "^12.0.1",
|
|
48
|
+
"postcss-prefixer": "^2.1.2",
|
|
49
|
+
"postcss-preset-env": "^6.7.0",
|
|
50
|
+
"postcss-scss": "^3.0.1",
|
|
51
|
+
"sass": "^1.26.11"
|
|
52
|
+
},
|
|
53
|
+
"files": [
|
|
54
|
+
"dist/index.min.css",
|
|
55
|
+
"dist/index.css",
|
|
56
|
+
"svg/**/*.svg",
|
|
57
|
+
"img/**/*.png",
|
|
58
|
+
"src/**/*.scss",
|
|
59
|
+
"src/**/*.css"
|
|
60
|
+
],
|
|
61
|
+
"keywords": [
|
|
62
|
+
"digit",
|
|
63
|
+
"egov",
|
|
64
|
+
"dpg",
|
|
65
|
+
"digit-ui",
|
|
66
|
+
"css",
|
|
67
|
+
"digit-ui-components"
|
|
68
|
+
]
|
|
69
|
+
}
|
|
@@ -1,118 +1,118 @@
|
|
|
1
|
-
@import url("../index.scss");
|
|
2
|
-
|
|
3
|
-
.digit-field-container {
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
@apply flex items-center;
|
|
7
|
-
|
|
8
|
-
.component-in-front {
|
|
9
|
-
@apply flex justify-center items-center;
|
|
10
|
-
@extend .light-background;
|
|
11
|
-
@extend .light-input-border;
|
|
12
|
-
margin-top: 0;
|
|
13
|
-
border: 1px solid;
|
|
14
|
-
border-right: none;
|
|
15
|
-
padding: 7px;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.card-date-input {
|
|
20
|
-
@extend .light-input-border;
|
|
21
|
-
@apply absolute top-0 left-0 w-3/4 bg-white pl-sm border border-input-border border-solid border-r-0;
|
|
22
|
-
outline: transparent solid 1px;
|
|
23
|
-
height: 2.5rem;
|
|
24
|
-
}
|
|
25
|
-
.text-input-width {
|
|
26
|
-
max-width: 540px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.text-input {
|
|
30
|
-
@apply relative w-full;
|
|
31
|
-
input {
|
|
32
|
-
background-color: transparent;
|
|
33
|
-
&:hover {
|
|
34
|
-
@extend .light-input-border;
|
|
35
|
-
@apply border-2 border-solid border-primary-main;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
.employee-card-input-error {
|
|
40
|
-
@extend .light-input-border;
|
|
41
|
-
@extend .alert-error;
|
|
42
|
-
@apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
43
|
-
}
|
|
44
|
-
.card-input-error {
|
|
45
|
-
@extend .light-input-border;
|
|
46
|
-
@extend .alert-error;
|
|
47
|
-
@apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.employee-card-input {
|
|
51
|
-
@extend .light-input-border;
|
|
52
|
-
@apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
53
|
-
}
|
|
54
|
-
.employee-card-input:disabled {
|
|
55
|
-
@extend .light-input-border;
|
|
56
|
-
@extend .light-text-color-disabled;
|
|
57
|
-
@apply border-grey-dark text-grey-dark !important;
|
|
58
|
-
pointer-events: none !important;
|
|
59
|
-
}
|
|
60
|
-
.employee-card-input--front {
|
|
61
|
-
@extend .light-background;
|
|
62
|
-
width: fit-content !important;
|
|
63
|
-
display: flex;
|
|
64
|
-
align-items: center;
|
|
65
|
-
/* background: theme(colors.grey.mid); */
|
|
66
|
-
border-right: 0;
|
|
67
|
-
padding-right: 5px;
|
|
68
|
-
}
|
|
69
|
-
.employee-card-input-error {
|
|
70
|
-
@extend .light-input-border;
|
|
71
|
-
@extend .alert-error;
|
|
72
|
-
@apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.card-textarea,
|
|
76
|
-
.employee-card-textarea {
|
|
77
|
-
@extend .light-input-border;
|
|
78
|
-
@apply block outline-none mt-md mb-lg border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm;
|
|
79
|
-
}
|
|
80
|
-
.employee-card-textarea {
|
|
81
|
-
@apply w-full;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.citizen-card-input {
|
|
85
|
-
@extend .light-input-border;
|
|
86
|
-
@apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
87
|
-
}
|
|
88
|
-
.citizen-card-input--front {
|
|
89
|
-
@extend .light-background;
|
|
90
|
-
width: fit-content !important;
|
|
91
|
-
display: flex;
|
|
92
|
-
align-items: center;
|
|
93
|
-
/* background: theme(colors.grey.mid); */
|
|
94
|
-
border-right: 0;
|
|
95
|
-
padding-right: 5px;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.break-line {
|
|
99
|
-
@extend .light-input-border;
|
|
100
|
-
@apply border-border my-lg;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.primary-label-btn {
|
|
104
|
-
@extend .light-primary;
|
|
105
|
-
@apply flex;
|
|
106
|
-
cursor: pointer;
|
|
107
|
-
font-weight: 500;
|
|
108
|
-
width: fit-content;
|
|
109
|
-
gap: 10px;
|
|
110
|
-
|
|
111
|
-
svg {
|
|
112
|
-
fill: theme(colors.primary.main);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.digit-form-composer-header {
|
|
117
|
-
font-size: theme(digitv2.fontSize.heading-l-dt);
|
|
118
|
-
}
|
|
1
|
+
@import url("../index.scss");
|
|
2
|
+
|
|
3
|
+
.digit-field-container {
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
@apply flex items-center;
|
|
7
|
+
|
|
8
|
+
.component-in-front {
|
|
9
|
+
@apply flex justify-center items-center;
|
|
10
|
+
@extend .light-background;
|
|
11
|
+
@extend .light-input-border;
|
|
12
|
+
margin-top: 0;
|
|
13
|
+
border: 1px solid;
|
|
14
|
+
border-right: none;
|
|
15
|
+
padding: 7px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.card-date-input {
|
|
20
|
+
@extend .light-input-border;
|
|
21
|
+
@apply absolute top-0 left-0 w-3/4 bg-white pl-sm border border-input-border border-solid border-r-0;
|
|
22
|
+
outline: transparent solid 1px;
|
|
23
|
+
height: 2.5rem;
|
|
24
|
+
}
|
|
25
|
+
.text-input-width {
|
|
26
|
+
max-width: 540px;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.text-input {
|
|
30
|
+
@apply relative w-full;
|
|
31
|
+
input {
|
|
32
|
+
background-color: transparent;
|
|
33
|
+
&:hover {
|
|
34
|
+
@extend .light-input-border;
|
|
35
|
+
@apply border-2 border-solid border-primary-main;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
.employee-card-input-error {
|
|
40
|
+
@extend .light-input-border;
|
|
41
|
+
@extend .alert-error;
|
|
42
|
+
@apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
43
|
+
}
|
|
44
|
+
.card-input-error {
|
|
45
|
+
@extend .light-input-border;
|
|
46
|
+
@extend .alert-error;
|
|
47
|
+
@apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.employee-card-input {
|
|
51
|
+
@extend .light-input-border;
|
|
52
|
+
@apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
53
|
+
}
|
|
54
|
+
.employee-card-input:disabled {
|
|
55
|
+
@extend .light-input-border;
|
|
56
|
+
@extend .light-text-color-disabled;
|
|
57
|
+
@apply border-grey-dark text-grey-dark !important;
|
|
58
|
+
pointer-events: none !important;
|
|
59
|
+
}
|
|
60
|
+
.employee-card-input--front {
|
|
61
|
+
@extend .light-background;
|
|
62
|
+
width: fit-content !important;
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
/* background: theme(colors.grey.mid); */
|
|
66
|
+
border-right: 0;
|
|
67
|
+
padding-right: 5px;
|
|
68
|
+
}
|
|
69
|
+
.employee-card-input-error {
|
|
70
|
+
@extend .light-input-border;
|
|
71
|
+
@extend .alert-error;
|
|
72
|
+
@apply mb-lg pl-sm block w-full h-10 outline-none border-2 border-error border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.card-textarea,
|
|
76
|
+
.employee-card-textarea {
|
|
77
|
+
@extend .light-input-border;
|
|
78
|
+
@apply block outline-none mt-md mb-lg border w-full border-input-border border-solid bg-white h-24 text-form-field text-text-primary p-sm;
|
|
79
|
+
}
|
|
80
|
+
.employee-card-textarea {
|
|
81
|
+
@apply w-full;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.citizen-card-input {
|
|
85
|
+
@extend .light-input-border;
|
|
86
|
+
@apply mb-lg pl-sm outline-none block border w-full h-10 border-input-border border-solid bg-white leading-10 text-form-field text-text-primary;
|
|
87
|
+
}
|
|
88
|
+
.citizen-card-input--front {
|
|
89
|
+
@extend .light-background;
|
|
90
|
+
width: fit-content !important;
|
|
91
|
+
display: flex;
|
|
92
|
+
align-items: center;
|
|
93
|
+
/* background: theme(colors.grey.mid); */
|
|
94
|
+
border-right: 0;
|
|
95
|
+
padding-right: 5px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.break-line {
|
|
99
|
+
@extend .light-input-border;
|
|
100
|
+
@apply border-border my-lg;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.primary-label-btn {
|
|
104
|
+
@extend .light-primary;
|
|
105
|
+
@apply flex;
|
|
106
|
+
cursor: pointer;
|
|
107
|
+
font-weight: 500;
|
|
108
|
+
width: fit-content;
|
|
109
|
+
gap: 10px;
|
|
110
|
+
|
|
111
|
+
svg {
|
|
112
|
+
fill: theme(colors.primary.main);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.digit-form-composer-header {
|
|
117
|
+
font-size: theme(digitv2.fontSize.heading-l-dt);
|
|
118
|
+
}
|