@digigov/css 0.14.0 → 0.17.0
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.json +73 -0
- package/CHANGELOG.md +35 -1
- package/colors/color-values.js +52 -51
- package/dist/base/index.css +3 -3
- package/dist/base.css +3 -3
- package/dist/base.js +1 -1
- package/dist/components.css +1 -1
- package/dist/components.js +1 -1
- package/dist/digigov.css +3 -3
- package/package.json +2 -2
- package/src/components/accordion.css +1 -1
- package/src/components/admin-layout.css +3 -4
- package/src/components/breadcrumbs.css +1 -1
- package/src/components/button.css +4 -5
- package/src/components/card.css +1 -1
- package/src/components/details.css +1 -1
- package/src/components/drawer.css +28 -0
- package/src/components/dropdown.css +12 -4
- package/src/components/filter.css +4 -7
- package/src/components/footer.css +33 -34
- package/src/components/form.css +52 -54
- package/src/components/full-page-background.css +7 -0
- package/src/components/header.css +3 -4
- package/src/components/index.css +3 -0
- package/src/components/layout.css +17 -26
- package/src/components/loader.css +47 -0
- package/src/components/misc.css +1 -20
- package/src/components/modal.css +3 -3
- package/src/components/nav.css +25 -31
- package/src/components/notification-banner.css +4 -4
- package/src/components/pagination.css +0 -1
- package/src/components/phase-banner.css +0 -2
- package/src/components/radios.css +0 -1
- package/src/components/summary-list.css +1 -1
- package/src/components/svg-icons.css +18 -4
- package/src/components/table.css +24 -15
- package/src/components/tabs.css +10 -11
- package/src/components/typography.css +20 -48
- package/src/pages/index.js +245 -317
- package/src/utilities/index.css +1 -1
- package/src/utilities/utilities.css +1 -1
- package/tailwind.config.js +4 -36
package/src/utilities/index.css
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
@apply col-span-2;
|
|
8
8
|
}
|
|
9
9
|
.govgr-grid-column-one-third {
|
|
10
|
-
@apply col-span-1 flex flex-wrap flex-col md:sticky md:top-8 h-fit
|
|
10
|
+
@apply col-span-1 flex flex-wrap flex-col md:sticky md:top-8 h-fit;
|
|
11
11
|
}
|
|
12
12
|
.govgr-grid {
|
|
13
13
|
@apply grid md:grid-cols-12 grid-cols-1;
|
package/tailwind.config.js
CHANGED
|
@@ -29,22 +29,14 @@ module.exports = {
|
|
|
29
29
|
sans: ['Roboto', ...defaultTheme.fontFamily.sans]
|
|
30
30
|
},
|
|
31
31
|
extend: {
|
|
32
|
-
|
|
33
32
|
height: {
|
|
34
|
-
'fit
|
|
35
|
-
'06rem': '0.6rem'
|
|
33
|
+
'fit': 'fit-content',
|
|
36
34
|
},
|
|
37
35
|
width: {
|
|
38
|
-
'
|
|
39
|
-
'fit': 'fit-content'
|
|
40
|
-
|
|
36
|
+
'fit': 'fit-content',
|
|
41
37
|
},
|
|
42
38
|
minWidth: {
|
|
43
|
-
'8': '2rem',
|
|
44
39
|
'10': '2.5rem',
|
|
45
|
-
'12': '3rem',
|
|
46
|
-
'32': '8rem',
|
|
47
|
-
'64': '16rem',
|
|
48
40
|
},
|
|
49
41
|
minHeight: {
|
|
50
42
|
'4': '1rem',
|
|
@@ -54,48 +46,24 @@ module.exports = {
|
|
|
54
46
|
'12': '3rem',
|
|
55
47
|
'14': '3.5rem',
|
|
56
48
|
},
|
|
57
|
-
maxWidth: {
|
|
58
|
-
'1/4': '25%',
|
|
59
|
-
'1/2': '50%',
|
|
60
|
-
'1/3': '33.332%',
|
|
61
|
-
'col2': 'calc((2 / 12) * 100)%',
|
|
62
|
-
'col3': '25%',
|
|
63
|
-
'col7': 'calc((7 / 12) * 100)%'
|
|
64
|
-
},
|
|
65
49
|
borderWidth: {
|
|
66
|
-
'2_5': '2.5px',
|
|
67
50
|
'3': '3px',
|
|
68
51
|
'5': '5px',
|
|
69
52
|
'6': '6px',
|
|
70
53
|
},
|
|
71
54
|
flexGrow: {
|
|
72
55
|
'2': '2',
|
|
73
|
-
'3': '3',
|
|
74
|
-
'4': '4',
|
|
75
|
-
'5': '5',
|
|
76
|
-
'6': '6',
|
|
77
|
-
'7': '7',
|
|
78
|
-
'8': '8',
|
|
79
|
-
'9': '9',
|
|
80
|
-
'10': '10',
|
|
81
|
-
'11': '11',
|
|
82
|
-
'12': '12',
|
|
83
56
|
},
|
|
84
57
|
zIndex: {
|
|
85
58
|
'/1': -1,
|
|
86
59
|
},
|
|
87
|
-
textDecoration: {
|
|
88
|
-
'dotted': 'dotted',
|
|
89
|
-
},
|
|
90
60
|
opacity: {
|
|
91
61
|
'85': '0.85',
|
|
92
62
|
},
|
|
93
63
|
margin: {
|
|
94
64
|
'15': '3.75rem',
|
|
95
|
-
}
|
|
65
|
+
},
|
|
96
66
|
},
|
|
97
|
-
|
|
98
|
-
|
|
99
67
|
},
|
|
100
68
|
variants: {
|
|
101
69
|
extend: {
|
|
@@ -105,6 +73,6 @@ module.exports = {
|
|
|
105
73
|
}
|
|
106
74
|
},
|
|
107
75
|
plugins: [
|
|
108
|
-
plugin(colorVarsPlugin)
|
|
76
|
+
plugin(colorVarsPlugin)
|
|
109
77
|
],
|
|
110
78
|
};
|