@digigov/css 2.0.0-113e6661 → 2.0.0-36b707c1
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/components.js +1 -1
- package/dist/digigov.css +2 -2
- package/dist/utilities/index.css +1 -1
- package/dist/utilities.js +1 -1
- package/package.json +5 -5
- package/src/components/modal.common.css +17 -0
- package/src/components/modal.css +7 -7
- package/src/components/modal.native.css +18 -0
- package/src/index.native.css +2 -1
- package/src/utilities/gap.css +141 -0
- package/src/utilities/index.css +4 -1
- package/src/utilities/index.native.css +5 -1
- package/src/utilities/margin.css +4299 -0
- package/src/utilities/padding.css +4299 -0
- package/src/utilities/utilities.css +3 -2377
- package/src/utilities/spacing.css +0 -2133
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/css",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-36b707c1",
|
|
4
4
|
"description": "Digigov CSS - Tailwind CSS Components",
|
|
5
5
|
"author": "GRNET Devs <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
]
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@digigov/cli": "1.1.2-
|
|
42
|
+
"@digigov/cli": "1.1.2-36b707c1",
|
|
43
43
|
"autoprefixer": "10.4.16",
|
|
44
44
|
"cssnano": "4.1.10",
|
|
45
45
|
"postcss": "8.4.4",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"tailwindcss": "3.3.5",
|
|
51
51
|
"nodemon": "2.0.7",
|
|
52
52
|
"next": "13.1.1",
|
|
53
|
-
"@digigov/postcss-banner": "1.0.5-
|
|
54
|
-
"@digigov/cli-build-tailwind": "1.0.2-
|
|
53
|
+
"@digigov/postcss-banner": "1.0.5-36b707c1",
|
|
54
|
+
"@digigov/cli-build-tailwind": "1.0.2-36b707c1",
|
|
55
55
|
"rimraf": "3.0.2",
|
|
56
56
|
"publint": "0.1.8",
|
|
57
57
|
"stylelint": "15.11.0",
|
|
58
|
-
"stylelint-plugin-digigov": "1.1.0-
|
|
58
|
+
"stylelint-plugin-digigov": "1.1.0-36b707c1",
|
|
59
59
|
"prettier": "3.2.5"
|
|
60
60
|
},
|
|
61
61
|
"dependencies": {
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@tailwind utilities;
|
|
2
|
+
|
|
3
|
+
@layer utilities {
|
|
4
|
+
.util-modal__body {
|
|
5
|
+
@apply bg-base-100 p-6 border border-solid border-base-500;
|
|
6
|
+
}
|
|
7
|
+
.util-modal__container {
|
|
8
|
+
@apply gap-6 -my-4;
|
|
9
|
+
}
|
|
10
|
+
.util-modal__content-text {
|
|
11
|
+
@apply text-base lg:text-xl text-lg;
|
|
12
|
+
}
|
|
13
|
+
.util-modal__action {
|
|
14
|
+
@apply flex flex-wrap items-center gap-4;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
}
|
package/src/components/modal.css
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
@import './modal.common.css';
|
|
2
|
+
|
|
1
3
|
.ds-modal {
|
|
2
4
|
@apply hidden justify-center items-center content-center text-left
|
|
3
5
|
mb-7 text-base-content bg-opacity-50 bg-base-700
|
|
@@ -18,14 +20,12 @@
|
|
|
18
20
|
}
|
|
19
21
|
}
|
|
20
22
|
.ds-modal__body {
|
|
21
|
-
@apply w-full max-w-md md:max-w-lg lg:max-w-4xl
|
|
22
|
-
h-fit md:h-auto overflow-y-auto
|
|
23
|
-
bg-base-100
|
|
24
|
-
border border-solid border-base-500 p-6;
|
|
23
|
+
@apply util-modal__body w-full max-w-md md:max-w-lg lg:max-w-4xl
|
|
24
|
+
h-fit md:h-auto overflow-y-auto;
|
|
25
25
|
max-height: 95vh;
|
|
26
26
|
}
|
|
27
27
|
.ds-modal__container {
|
|
28
|
-
@apply grid
|
|
28
|
+
@apply grid util-modal__container;
|
|
29
29
|
.ds-modal__action {
|
|
30
30
|
@apply mb-0;
|
|
31
31
|
}
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
.ds-modal__content {
|
|
37
|
-
@apply
|
|
37
|
+
@apply util-modal__content-text;
|
|
38
38
|
}
|
|
39
39
|
.ds-modal__action {
|
|
40
|
-
@apply
|
|
40
|
+
@apply util-modal__action;
|
|
41
41
|
.ds-link,
|
|
42
42
|
.ds-btn {
|
|
43
43
|
@apply mb-0;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@import './modal.common.css';
|
|
2
|
+
|
|
3
|
+
.ds-modal {
|
|
4
|
+
@apply absolute justify-center items-center top-0 left-0 right-0 bottom-0;
|
|
5
|
+
background-color: rgba(var(--color-black-rgb), 0.5);
|
|
6
|
+
}
|
|
7
|
+
.ds-modal__body {
|
|
8
|
+
@apply util-modal__body;
|
|
9
|
+
}
|
|
10
|
+
.ds-modal__container {
|
|
11
|
+
@apply util-modal__container;
|
|
12
|
+
}
|
|
13
|
+
.ds-modal__content__text {
|
|
14
|
+
@apply util-modal__content-text;
|
|
15
|
+
}
|
|
16
|
+
.ds-modal__action {
|
|
17
|
+
@apply util-modal__action flex-row;
|
|
18
|
+
}
|
package/src/index.native.css
CHANGED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
.ds-gap-1 {
|
|
2
|
+
@apply gap-1;
|
|
3
|
+
}
|
|
4
|
+
.ds-gap-2 {
|
|
5
|
+
@apply gap-2;
|
|
6
|
+
}
|
|
7
|
+
.ds-gap-4 {
|
|
8
|
+
@apply gap-4;
|
|
9
|
+
}
|
|
10
|
+
.ds-gap-6 {
|
|
11
|
+
@apply gap-6;
|
|
12
|
+
}
|
|
13
|
+
.ds-gap-8 {
|
|
14
|
+
@apply gap-8;
|
|
15
|
+
}
|
|
16
|
+
.ds-gap-10 {
|
|
17
|
+
@apply gap-10;
|
|
18
|
+
}
|
|
19
|
+
.ds-gap-12 {
|
|
20
|
+
@apply gap-12;
|
|
21
|
+
}
|
|
22
|
+
.ds-gap-xs-1 {
|
|
23
|
+
@apply gap-1;
|
|
24
|
+
}
|
|
25
|
+
.ds-gap-xs-2 {
|
|
26
|
+
@apply gap-2;
|
|
27
|
+
}
|
|
28
|
+
.ds-gap-xs-4 {
|
|
29
|
+
@apply gap-4;
|
|
30
|
+
}
|
|
31
|
+
.ds-gap-xs-5 {
|
|
32
|
+
@apply gap-5;
|
|
33
|
+
}
|
|
34
|
+
.ds-gap-xs-6 {
|
|
35
|
+
@apply gap-6;
|
|
36
|
+
}
|
|
37
|
+
.ds-gap-xs-8 {
|
|
38
|
+
@apply gap-8;
|
|
39
|
+
}
|
|
40
|
+
.ds-gap-xs-10 {
|
|
41
|
+
@apply gap-10;
|
|
42
|
+
}
|
|
43
|
+
.ds-gap-xs-12 {
|
|
44
|
+
@apply gap-12;
|
|
45
|
+
}
|
|
46
|
+
.ds-gap-sm-1 {
|
|
47
|
+
@apply sm:gap-1;
|
|
48
|
+
}
|
|
49
|
+
.ds-gap-sm-2 {
|
|
50
|
+
@apply sm:gap-2;
|
|
51
|
+
}
|
|
52
|
+
.ds-gap-sm-4 {
|
|
53
|
+
@apply sm:gap-4;
|
|
54
|
+
}
|
|
55
|
+
.ds-gap-sm-5 {
|
|
56
|
+
@apply sm:gap-5;
|
|
57
|
+
}
|
|
58
|
+
.ds-gap-sm-6 {
|
|
59
|
+
@apply sm:gap-6;
|
|
60
|
+
}
|
|
61
|
+
.ds-gap-sm-8 {
|
|
62
|
+
@apply sm:gap-8;
|
|
63
|
+
}
|
|
64
|
+
.ds-gap-sm-10 {
|
|
65
|
+
@apply sm:gap-10;
|
|
66
|
+
}
|
|
67
|
+
.ds-gap-sm-12 {
|
|
68
|
+
@apply sm:gap-12;
|
|
69
|
+
}
|
|
70
|
+
.ds-gap-md-1 {
|
|
71
|
+
@apply md:gap-1;
|
|
72
|
+
}
|
|
73
|
+
.ds-gap-md-2 {
|
|
74
|
+
@apply md:gap-2;
|
|
75
|
+
}
|
|
76
|
+
.ds-gap-md-4 {
|
|
77
|
+
@apply md:gap-4;
|
|
78
|
+
}
|
|
79
|
+
.ds-gap-md-5 {
|
|
80
|
+
@apply md:gap-5;
|
|
81
|
+
}
|
|
82
|
+
.ds-gap-md-6 {
|
|
83
|
+
@apply md:gap-6;
|
|
84
|
+
}
|
|
85
|
+
.ds-gap-md-8 {
|
|
86
|
+
@apply md:gap-8;
|
|
87
|
+
}
|
|
88
|
+
.ds-gap-md-10 {
|
|
89
|
+
@apply md:gap-10;
|
|
90
|
+
}
|
|
91
|
+
.ds-gap-md-12 {
|
|
92
|
+
@apply md:gap-12;
|
|
93
|
+
}
|
|
94
|
+
.ds-gap-lg-1 {
|
|
95
|
+
@apply lg:gap-1;
|
|
96
|
+
}
|
|
97
|
+
.ds-gap-lg-2 {
|
|
98
|
+
@apply lg:gap-2;
|
|
99
|
+
}
|
|
100
|
+
.ds-gap-lg-4 {
|
|
101
|
+
@apply lg:gap-4;
|
|
102
|
+
}
|
|
103
|
+
.ds-gap-lg-5 {
|
|
104
|
+
@apply lg:gap-5;
|
|
105
|
+
}
|
|
106
|
+
.ds-gap-lg-6 {
|
|
107
|
+
@apply lg:gap-6;
|
|
108
|
+
}
|
|
109
|
+
.ds-gap-lg-8 {
|
|
110
|
+
@apply lg:gap-8;
|
|
111
|
+
}
|
|
112
|
+
.ds-gap-lg-10 {
|
|
113
|
+
@apply lg:gap-10;
|
|
114
|
+
}
|
|
115
|
+
.ds-gap-lg-12 {
|
|
116
|
+
@apply lg:gap-12;
|
|
117
|
+
}
|
|
118
|
+
.ds-gap-xl-1 {
|
|
119
|
+
@apply xl:gap-1;
|
|
120
|
+
}
|
|
121
|
+
.ds-gap-xl-2 {
|
|
122
|
+
@apply xl:gap-2;
|
|
123
|
+
}
|
|
124
|
+
.ds-gap-xl-4 {
|
|
125
|
+
@apply xl:gap-4;
|
|
126
|
+
}
|
|
127
|
+
.ds-gap-xl-5 {
|
|
128
|
+
@apply xl:gap-5;
|
|
129
|
+
}
|
|
130
|
+
.ds-gap-xl-6 {
|
|
131
|
+
@apply xl:gap-6;
|
|
132
|
+
}
|
|
133
|
+
.ds-gap-xl-8 {
|
|
134
|
+
@apply xl:gap-8;
|
|
135
|
+
}
|
|
136
|
+
.ds-gap-xl-10 {
|
|
137
|
+
@apply xl:gap-10;
|
|
138
|
+
}
|
|
139
|
+
.ds-gap-xl-12 {
|
|
140
|
+
@apply xl:gap-12;
|
|
141
|
+
}
|
package/src/utilities/index.css
CHANGED