@digigov/css 2.0.0-555d1027 → 2.0.0-5e7a6790

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digigov/css",
3
- "version": "2.0.0-555d1027",
3
+ "version": "2.0.0-5e7a6790",
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": "2.0.0-555d1027",
42
+ "@digigov/cli": "2.0.0-5e7a6790",
43
43
  "autoprefixer": "10.4.16",
44
44
  "postcss-cli": "8.3.0",
45
45
  "postcss-import": "13.0.0",
@@ -48,16 +48,16 @@
48
48
  "tailwindcss": "3.4.13",
49
49
  "nodemon": "2.0.7",
50
50
  "next": "13.1.1",
51
- "@digigov/postcss-banner": "1.0.5-555d1027",
52
- "@digigov/cli-build-tailwind": "2.0.0-555d1027",
51
+ "@digigov/postcss-banner": "1.0.5-5e7a6790",
52
+ "@digigov/cli-build-tailwind": "2.0.0-5e7a6790",
53
53
  "rimraf": "3.0.2",
54
54
  "publint": "0.1.8",
55
55
  "stylelint": "15.11.0",
56
- "stylelint-plugin-digigov": "1.1.0-555d1027",
56
+ "stylelint-plugin-digigov": "1.1.0-5e7a6790",
57
57
  "prettier": "3.4.2"
58
58
  },
59
59
  "dependencies": {
60
- "@digigov/theme-default": "1.0.0-555d1027",
60
+ "@digigov/theme-default": "1.0.0-5e7a6790",
61
61
  "@fontsource/roboto": "4.4.0",
62
62
  "cssnano": "4.1.10",
63
63
  "publint": "0.1.8",
@@ -35,7 +35,12 @@
35
35
  }
36
36
  .ds-accordion__section-button {
37
37
  &::after {
38
- @apply right-0;
38
+ @apply right-0 !important;
39
+ }
40
+ &.ds-accordion__section-button--arrows {
41
+ &::after {
42
+ @apply right-1 !important;
43
+ }
39
44
  }
40
45
  }
41
46
  }
@@ -72,9 +77,11 @@
72
77
  .ds-accordion__section-button {
73
78
  @apply underline bg-focus;
74
79
  text-decoration-thickness: 2px;
75
- &::after {
76
- @apply underline bg-focus;
77
- text-decoration-thickness: 2px;
80
+ &:not(.ds-accordion__section-button--arrows) {
81
+ &::after {
82
+ @apply underline bg-focus;
83
+ text-decoration-thickness: 2px;
84
+ }
78
85
  }
79
86
  }
80
87
  }
@@ -95,12 +102,19 @@
95
102
  }
96
103
  }
97
104
  .ds-accordion__section-button {
98
- @apply util-accordion__section-button util-accordion__section-button-text focus:underline;
105
+ @apply util-accordion__section-button util-accordion__section-button-text focus:underline transition ease-in-out;
99
106
  &::after {
100
107
  @apply util-accordion__section-button-icon float-right -right-8;
101
108
  content: '+';
102
109
  line-height: 2rem;
103
110
  }
111
+ &.ds-accordion__section-button--arrows {
112
+ &::after {
113
+ @apply h-3 w-3 rotate-45 border-b-3 border-r-3 border-base-content top-1.5 -right-7 bg-transparent !important;
114
+ transition: all 0.3s ease;
115
+ content: '';
116
+ }
117
+ }
104
118
  }
105
119
  .ds-accordion__section[open] {
106
120
  .ds-accordion__section-content {
@@ -110,6 +124,12 @@
110
124
  &::after {
111
125
  content: '\2013';
112
126
  }
127
+ &.ds-accordion__section-button--arrows {
128
+ &::after {
129
+ @apply -rotate-[135deg] top-2.5 !important;
130
+ content: '';
131
+ }
132
+ }
113
133
  }
114
134
  }
115
135
  .ds-accordion__section-content {
@@ -24,6 +24,10 @@
24
24
  }
25
25
  .ds-details__content {
26
26
  @apply util-details__content;
27
+ &.ds-details__content--secondary {
28
+ @apply border-0 bg-base-200 py-4 mt-2;
29
+ border-radius:0 0 0.25rem 0.25rem;
30
+ }
27
31
  > *:last-child {
28
32
  @apply mb-0;
29
33
  }
@@ -34,7 +34,7 @@
34
34
  }
35
35
  }
36
36
 
37
- .ds-cookie-banner {
37
+ .ds-banner-container {
38
38
  @apply bg-base-200;
39
39
  }
40
40
 
@@ -5,10 +5,10 @@
5
5
  &.ds-stack--row {
6
6
  @apply util-stack--row;
7
7
  }
8
- &.ds-stack--reverse-row {
8
+ &.ds-stack--row-reverse {
9
9
  @apply util-stack--reverse-row;
10
10
  }
11
- &.ds-stack--col-reverse {
11
+ &.ds-stack--column-reverse {
12
12
  @apply util-stack--col-reverse;
13
13
  }
14
14
  &.ds-stack--nowrap {