@digigov/css 1.1.0 → 1.1.1

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.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @digigov/css: 1.1.0
2
+ * @digigov/css: 1.1.1
3
3
  *
4
4
  * Author: grnet-devs
5
5
  * Date: 2024-1-29
package/dist/digigov.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * @digigov/css: 1.1.0
2
+ * @digigov/css: 1.1.1
3
3
  *
4
4
  * Author: grnet-devs
5
5
  * Date: 2024-1-29
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digigov/css",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
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.2",
52
+ "@digigov/postcss-banner": "1.0.3",
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
@@ -0,0 +1,7 @@
1
+ {
2
+ "xs": 0,
3
+ "sm": 640,
4
+ "md": 768,
5
+ "lg": 1024,
6
+ "xl": 1280
7
+ }
@@ -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
+ }