@digigov/css 1.1.0 → 1.2.0-fd2cea11
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/defaultTheme/typography.json +20 -0
- package/dist/base/index.css +2 -2
- package/dist/base.js +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +3 -3
- package/package.json +4 -3
- package/screens.json +7 -0
- package/src/components/autocomplete.css +2 -3
- package/src/components/button.css +3 -0
- package/src/components/experimental.css +39 -0
- package/src/components/layout.css +3 -3
- package/src/components/typography.css +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/css",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0-fd2cea11",
|
|
4
4
|
"description": "Digigov CSS - Tailwind CSS Components",
|
|
5
5
|
"author": "GRNET Devs <devs@lists.grnet.gr>",
|
|
6
6
|
"license": "BSD-2-Clause",
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"colors",
|
|
30
30
|
"themes.plugin.js",
|
|
31
31
|
"postcss.config.js",
|
|
32
|
-
"tailwind.config.js"
|
|
32
|
+
"tailwind.config.js",
|
|
33
|
+
"screens.json"
|
|
33
34
|
],
|
|
34
35
|
"publishConfig": {
|
|
35
36
|
"access": "public",
|
|
@@ -48,7 +49,7 @@
|
|
|
48
49
|
"tailwindcss": "3.3.5",
|
|
49
50
|
"nodemon": "2.0.7",
|
|
50
51
|
"next": "10.0.9",
|
|
51
|
-
"@digigov/postcss-banner": "1.0.
|
|
52
|
+
"@digigov/postcss-banner": "1.0.4-fd2cea11",
|
|
52
53
|
"@digigov/cli-build-tailwind": "1.0.1",
|
|
53
54
|
"rimraf": "3.0.2",
|
|
54
55
|
"publint": "0.1.8",
|
package/screens.json
ADDED
|
@@ -33,11 +33,10 @@
|
|
|
33
33
|
box-shadow: inset 0 0 0 2px;
|
|
34
34
|
}
|
|
35
35
|
.govgr-autocomplete__input--show-all-values {
|
|
36
|
-
@apply cursor-
|
|
36
|
+
@apply cursor-text;
|
|
37
37
|
}
|
|
38
38
|
.govgr-autocomplete__dropdown-arrow-down {
|
|
39
|
-
@apply inline-block absolute right-2 top-4 w-6 h-6;
|
|
40
|
-
z-index: -1;
|
|
39
|
+
@apply inline-block absolute right-2 top-4 w-6 h-6 cursor-pointer;
|
|
41
40
|
}
|
|
42
41
|
.govgr-autocomplete__menu {
|
|
43
42
|
@apply bg-base-100 m-0 max-h-96 overflow-x-hidden w-full p-0 border-2 border-t-0 border-base-content /* border-t-0 border-x-2 border-l-2 border-base-content */;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
.govgr-floating-btn {
|
|
2
|
+
@apply absolute bottom-4;
|
|
3
|
+
@apply p-4 rounded-full border-0 !important;
|
|
4
|
+
box-shadow: 0px 2px 8px rgba(var(--color-base-900-rgb), 0.3);
|
|
5
|
+
&.govgr-floating-btn--right {
|
|
6
|
+
@apply right-4;
|
|
7
|
+
}
|
|
8
|
+
&.govgr-floating-btn--left {
|
|
9
|
+
@apply left-4;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.govgr-option-btn {
|
|
14
|
+
@apply flex flex-col gap-2
|
|
15
|
+
bg-base-100 border-base-100 border-2;
|
|
16
|
+
@apply w-full sm:w-fit leading-tight m-0 !important;
|
|
17
|
+
padding: calc(1rem + 2px) !important;
|
|
18
|
+
&:hover {
|
|
19
|
+
@apply border-base-content;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
.govgr-option-btn--selected {
|
|
23
|
+
@apply border-success border-4 text-success p-4 !important;
|
|
24
|
+
.govgr-option-btn__steps {
|
|
25
|
+
@apply opacity-100;
|
|
26
|
+
}
|
|
27
|
+
.govgr-svg-icon {
|
|
28
|
+
fill: var(--color-success) !important;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
.govgr-option-btn__steps {
|
|
32
|
+
@apply flex flex-nowrap w-full gap-2 h-1 mt-2 opacity-0;
|
|
33
|
+
}
|
|
34
|
+
.govgr-option-btn__step {
|
|
35
|
+
@apply bg-base-300 w-full;
|
|
36
|
+
}
|
|
37
|
+
.govgr-option-btn__step--active {
|
|
38
|
+
@apply bg-success;
|
|
39
|
+
}
|
|
@@ -59,13 +59,13 @@
|
|
|
59
59
|
@apply border-t border-base-300 border-solid;
|
|
60
60
|
}
|
|
61
61
|
.govgr-section-break--md {
|
|
62
|
-
@apply mb-5;
|
|
62
|
+
@apply mb-3 md:mb-5;
|
|
63
63
|
}
|
|
64
64
|
.govgr-section-break--lg {
|
|
65
|
-
@apply mb-7;
|
|
65
|
+
@apply mb-5 md:mb-7;
|
|
66
66
|
}
|
|
67
67
|
.govgr-section-break--xl {
|
|
68
|
-
@apply mb-9;
|
|
68
|
+
@apply mb-7 md:mb-9;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
/* overrides */
|
|
@@ -231,6 +231,14 @@
|
|
|
231
231
|
color: var(--hint-color);
|
|
232
232
|
letter-spacing: var(--hint-letter-spacing);
|
|
233
233
|
}
|
|
234
|
+
.govgr-hint-lg {
|
|
235
|
+
font-size: var(--hint-lg-font-size);
|
|
236
|
+
line-height: var(--hint-lg-line-height);
|
|
237
|
+
}
|
|
238
|
+
.govgr-hint-sm {
|
|
239
|
+
font-size: var(--hint-sm-font-size);
|
|
240
|
+
line-height: var(--hint-sm-line-height);
|
|
241
|
+
}
|
|
234
242
|
.govgr-hint--break-words {
|
|
235
243
|
@apply break-words;
|
|
236
244
|
}
|