@solid-design-system/styles 1.3.2 → 1.4.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/cdn/modules/interactive.css +1 -1
  3. package/cdn/modules/pagination.css +1 -1
  4. package/cdn/modules/prose.css +1 -1
  5. package/cdn/solid-styles.css +1 -1
  6. package/cdn-versioned/modules/chip.css +1 -1
  7. package/cdn-versioned/modules/container.css +1 -1
  8. package/cdn-versioned/modules/copyright.css +1 -1
  9. package/cdn-versioned/modules/display.css +1 -1
  10. package/cdn-versioned/modules/flag.css +1 -1
  11. package/cdn-versioned/modules/footnotes.css +1 -1
  12. package/cdn-versioned/modules/headline.css +1 -1
  13. package/cdn-versioned/modules/hidden-links.css +1 -1
  14. package/cdn-versioned/modules/interactive.css +1 -1
  15. package/cdn-versioned/modules/leadtext.css +1 -1
  16. package/cdn-versioned/modules/list.css +1 -1
  17. package/cdn-versioned/modules/mark.css +1 -1
  18. package/cdn-versioned/modules/media.css +1 -1
  19. package/cdn-versioned/modules/meta.css +1 -1
  20. package/cdn-versioned/modules/pagination.css +1 -1
  21. package/cdn-versioned/modules/paragraph.css +1 -1
  22. package/cdn-versioned/modules/prose.css +1 -1
  23. package/cdn-versioned/modules/status-badge.css +1 -1
  24. package/cdn-versioned/modules/table-cell.css +1 -1
  25. package/cdn-versioned/modules/table.css +1 -1
  26. package/cdn-versioned/solid-styles.css +1 -1
  27. package/dist/modules/interactive.css +5 -1
  28. package/dist/modules/pagination.css +46 -45
  29. package/dist/modules/prose.css +5 -1
  30. package/dist/solid-styles.css +48 -43
  31. package/dist-versioned/modules/chip.css +6 -6
  32. package/dist-versioned/modules/container.css +45 -45
  33. package/dist-versioned/modules/copyright.css +11 -11
  34. package/dist-versioned/modules/display.css +9 -9
  35. package/dist-versioned/modules/flag.css +6 -6
  36. package/dist-versioned/modules/footnotes.css +26 -26
  37. package/dist-versioned/modules/headline.css +67 -67
  38. package/dist-versioned/modules/hidden-links.css +7 -7
  39. package/dist-versioned/modules/interactive.css +43 -39
  40. package/dist-versioned/modules/leadtext.css +8 -8
  41. package/dist-versioned/modules/list.css +47 -47
  42. package/dist-versioned/modules/mark.css +2 -2
  43. package/dist-versioned/modules/media.css +7 -7
  44. package/dist-versioned/modules/meta.css +12 -12
  45. package/dist-versioned/modules/pagination.css +77 -76
  46. package/dist-versioned/modules/paragraph.css +8 -8
  47. package/dist-versioned/modules/prose.css +236 -232
  48. package/dist-versioned/modules/status-badge.css +8 -8
  49. package/dist-versioned/modules/table-cell.css +23 -23
  50. package/dist-versioned/modules/table.css +4 -4
  51. package/dist-versioned/solid-styles.css +433 -428
  52. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
1
  /**
2
2
  * Used to split large content into several pages, allowing users to navigate between them instead of displaying all information on a single page.
3
- * @name sd-1-3-2-pagination
3
+ * @name sd-1-4-1-pagination
4
4
  * @status stable
5
5
  * @since 1.3
6
- * @variant { simple } sd-1-3-2-pagination--... The pagination format.
7
- * @boolean sd-1-3-2-pagination--inverted Inverts the pagination style.
6
+ * @variant { simple } sd-1-4-1-pagination--... The pagination format.
7
+ * @boolean sd-1-4-1-pagination--inverted Inverts the pagination style.
8
8
  */
9
9
 
10
- .sd-1-3-2-pagination > :not(ul) {
10
+ .sd-1-4-1-pagination > :not(ul) {
11
11
 
12
12
  position: absolute;
13
13
 
@@ -18,7 +18,7 @@
18
18
  overflow: hidden
19
19
  }
20
20
 
21
- .sd-1-3-2-pagination ul {
21
+ .sd-1-4-1-pagination ul {
22
22
 
23
23
  display: flex;
24
24
 
@@ -27,7 +27,7 @@
27
27
  gap: var(--sd-spacing-2, 0.5rem) /* 8px */
28
28
  }
29
29
 
30
- .sd-1-3-2-pagination ul li a {
30
+ .sd-1-4-1-pagination ul li a {
31
31
 
32
32
  display: flex;
33
33
 
@@ -39,6 +39,8 @@
39
39
 
40
40
  color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
41
41
 
42
+ text-decoration-line: none;
43
+
42
44
  transition-property: color;
43
45
 
44
46
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
@@ -46,21 +48,21 @@
46
48
  transition-duration: 150ms
47
49
  }
48
50
 
49
- .sd-1-3-2-pagination ul li a:hover:not([disabled]) {
51
+ .sd-1-4-1-pagination ul li a:hover:not([disabled]) {
50
52
 
51
53
 
52
54
 
53
55
  color: rgb(var(--sd-color-primary-500, 70 109 175) / var(--tw-text-opacity, 1)) /* Used for hover interaction */
54
56
  }
55
57
 
56
- .sd-1-3-2-pagination ul li a:active:not([disabled]) {
58
+ .sd-1-4-1-pagination ul li a:active:not([disabled]) {
57
59
 
58
60
 
59
61
 
60
62
  color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-text-opacity, 1)) /* Used for pressed interaction */
61
63
  }
62
64
 
63
- .sd-1-3-2-pagination ul li a:focus-visible {
65
+ .sd-1-4-1-pagination ul li a:focus-visible {
64
66
 
65
67
  outline-style: solid;
66
68
 
@@ -73,31 +75,26 @@
73
75
 
74
76
  /* Previous and Next */
75
77
 
76
- .sd-1-3-2-pagination ul li:first-child,
77
- .sd-1-3-2-pagination ul li:last-child {
78
+ .sd-1-4-1-pagination ul li:first-child,
79
+ .sd-1-4-1-pagination ul li:last-child {
78
80
 
79
81
  height: var(--sd-spacing-12, 3rem) /* 48px */;
80
82
 
81
- width: var(--sd-spacing-12, 3rem) /* 48px */
83
+ width: var(--sd-spacing-12, 3rem) /* 48px */;
84
+
85
+ font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */
82
86
  }
83
87
 
84
- .sd-1-3-2-pagination ul li:first-child a, .sd-1-3-2-pagination ul li:last-child a {
88
+ .sd-1-4-1-pagination ul li:first-child a, .sd-1-4-1-pagination ul li:last-child a {
85
89
 
86
90
  height: 100%;
87
91
 
88
92
  width: 100%
89
93
  }
90
94
 
91
- .sd-1-3-2-pagination ul li:first-child sd-icon, .sd-1-3-2-pagination ul li:last-child sd-icon {
92
-
93
- height: var(--sd-spacing-6, 1.5rem) /* 24px */;
94
-
95
- width: var(--sd-spacing-6, 1.5rem) /* 24px */
96
- }
97
-
98
95
  /* Numbers */
99
96
 
100
- .sd-1-3-2-pagination ul li {
97
+ .sd-1-4-1-pagination ul li {
101
98
 
102
99
  display: flex;
103
100
 
@@ -112,7 +109,7 @@
112
109
  text-align: center
113
110
  }
114
111
 
115
- .sd-1-3-2-pagination ul li:not(:has(a sd-icon)) a {
112
+ .sd-1-4-1-pagination ul li:not(:first-child):not(:last-child) a {
116
113
 
117
114
  height: 100%;
118
115
 
@@ -123,7 +120,7 @@
123
120
  border-bottom-color: transparent
124
121
  }
125
122
 
126
- .sd-1-3-2-pagination ul li:not(:has(a sd-icon)) a[aria-current] {
123
+ .sd-1-4-1-pagination ul li:not(:first-child):not(:last-child) a[aria-current] {
127
124
 
128
125
  --tw-border-opacity: 1;
129
126
 
@@ -131,14 +128,14 @@
131
128
  */
132
129
  }
133
130
 
134
- .sd-1-3-2-pagination ul li a[aria-current] {
131
+ .sd-1-4-1-pagination ul li a[aria-current] {
135
132
 
136
133
 
137
134
 
138
135
  color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
139
136
  }
140
137
 
141
- .sd-1-3-2-pagination ul li a[aria-current]:hover:not([disabled]) {
138
+ .sd-1-4-1-pagination ul li a[aria-current]:hover:not([disabled]) {
142
139
 
143
140
 
144
141
 
@@ -147,7 +144,8 @@
147
144
 
148
145
  /* Previous and next arrow when it has no href */
149
146
 
150
- .sd-1-3-2-pagination ul li:has(a:not([href]) sd-icon) a {
147
+ .sd-1-4-1-pagination ul li:first-child:has(a:not([href])) a,
148
+ .sd-1-4-1-pagination ul li:last-child:has(a:not([href])) a {
151
149
 
152
150
  cursor: not-allowed;
153
151
 
@@ -156,7 +154,8 @@
156
154
  color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */
157
155
  }
158
156
 
159
- .sd-1-3-2-pagination ul li:has(a:not([href]) sd-icon) a:hover:not([disabled]) {
157
+ .sd-1-4-1-pagination ul li:first-child:has(a:not([href])) a:hover:not([disabled]),
158
+ .sd-1-4-1-pagination ul li:last-child:has(a:not([href])) a:hover:not([disabled]) {
160
159
 
161
160
 
162
161
 
@@ -167,57 +166,57 @@
167
166
 
168
167
  /* Number which is not current */
169
168
 
170
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):not(:has(a[aria-current])) {
169
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):not(:has(a[aria-current])) {
171
170
 
172
171
  pointer-events: none;
173
172
 
174
173
  position: absolute
175
174
  }
176
175
 
177
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):not(:has(a[aria-current])) a {
176
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):not(:has(a[aria-current])) a {
178
177
 
179
178
  display: none
180
179
  }
181
180
 
182
181
  /* Apply ellipsis to (n + 2 && n - 1) */
183
182
 
184
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):has(+ li + li a[aria-current]),
185
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):has(a[aria-current]) + li + li:not(:last-child) {
183
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(+ li + li a[aria-current]),
184
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(a[aria-current]) + li + li:not(:last-child) {
186
185
 
187
186
  pointer-events: auto !important;
188
187
 
189
188
  position: relative !important
190
189
  }
191
190
 
192
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):has(+ li + li a[aria-current])::after,
193
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):has(a[aria-current]) + li + li:not(:last-child)::after {
191
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(+ li + li a[aria-current])::after,
192
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(a[aria-current]) + li + li:not(:last-child)::after {
194
193
 
195
194
  --tw-content: '...';
196
195
 
197
196
  content: var(--tw-content)
198
197
  }
199
198
 
200
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(2),
201
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(2),
202
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):has(+ li a[aria-current]),
203
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):has(a[aria-current]) + li {
199
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(2),
200
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(2),
201
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(+ li a[aria-current]),
202
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(a[aria-current]) + li {
204
203
 
205
204
  pointer-events: auto !important;
206
205
 
207
206
  position: relative !important
208
207
  }
209
208
 
210
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(2)::after,
211
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(2)::after,
212
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):has(+ li a[aria-current])::after,
213
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):has(a[aria-current]) + li::after {
209
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(2)::after,
210
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(2)::after,
211
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(+ li a[aria-current])::after,
212
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(a[aria-current]) + li::after {
214
213
 
215
214
  content: var(--tw-content) !important;
216
215
 
217
216
  display: none !important
218
217
  }
219
218
 
220
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(2) a, .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(2) a, .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):has(+ li a[aria-current]) a, .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):has(a[aria-current]) + li a {
219
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(2) a, .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(2) a, .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(+ li a[aria-current]) a, .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):has(a[aria-current]) + li a {
221
220
 
222
221
  display: flex !important
223
222
  }
@@ -226,35 +225,35 @@
226
225
 
227
226
  /* Show until the 5th page (forward) */
228
227
 
229
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(-n + 6) {
228
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(-n + 6) {
230
229
 
231
230
  pointer-events: auto;
232
231
 
233
232
  position: relative
234
233
  }
235
234
 
236
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(-n + 6)::after {
235
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(-n + 6)::after {
237
236
 
238
237
  content: var(--tw-content);
239
238
 
240
239
  display: none
241
240
  }
242
241
 
243
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(-n + 6) a {
242
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(-n + 6) a {
244
243
 
245
244
  display: flex
246
245
  }
247
246
 
248
247
  /* Show ellipsis on the 6th */
249
248
 
250
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(6):not(:last-child) + li {
249
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(6):not(:last-child) + li {
251
250
 
252
251
  pointer-events: none;
253
252
 
254
253
  position: relative
255
254
  }
256
255
 
257
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(6):not(:last-child) + li::after {
256
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current]) ~ :nth-child(6):not(:last-child) + li::after {
258
257
 
259
258
  --tw-content: '...';
260
259
 
@@ -263,77 +262,77 @@
263
262
 
264
263
  /* When one of the first 4 pages is selected, show until the 5th page (backward) */
265
264
 
266
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current]) {
265
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current]) {
267
266
 
268
267
  pointer-events: auto;
269
268
 
270
269
  position: relative
271
270
  }
272
271
 
273
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current])::after {
272
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current])::after {
274
273
 
275
274
  content: var(--tw-content);
276
275
 
277
276
  display: none
278
277
  }
279
278
 
280
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current]) a {
279
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current]) a {
281
280
 
282
281
  display: flex
283
282
  }
284
283
 
285
284
  /* When one of the last 4 pages is selected, show the last 4 pages (forward) */
286
285
 
287
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 5):has(a[aria-current]) ~ :nth-last-child(-n + 5):not(:has(a sd-icon)) {
286
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 5):has(a[aria-current]) ~ :nth-last-child(-n + 5):not(:first-child):not(:last-child) {
288
287
 
289
288
  pointer-events: auto;
290
289
 
291
290
  position: relative
292
291
  }
293
292
 
294
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 5):has(a[aria-current]) ~ :nth-last-child(-n + 5):not(:has(a sd-icon))::after {
293
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 5):has(a[aria-current]) ~ :nth-last-child(-n + 5):not(:first-child):not(:last-child)::after {
295
294
 
296
295
  content: var(--tw-content);
297
296
 
298
297
  display: none
299
298
  }
300
299
 
301
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 5):has(a[aria-current]) ~ :nth-last-child(-n + 5):not(:has(a sd-icon)) a {
300
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 5):has(a[aria-current]) ~ :nth-last-child(-n + 5):not(:first-child):not(:last-child) a {
302
301
 
303
302
  display: flex
304
303
  }
305
304
 
306
305
  /* When one of the last 4 pages is selected, show the last 4 pages (backward) */
307
306
 
308
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 6):has(~ :nth-last-child(-n + 5) a[aria-current]) {
307
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 6):has(~ :nth-last-child(-n + 5) a[aria-current]) {
309
308
 
310
309
  pointer-events: auto;
311
310
 
312
311
  position: relative
313
312
  }
314
313
 
315
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 6):has(~ :nth-last-child(-n + 5) a[aria-current])::after {
314
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 6):has(~ :nth-last-child(-n + 5) a[aria-current])::after {
316
315
 
317
316
  content: var(--tw-content);
318
317
 
319
318
  display: none
320
319
  }
321
320
 
322
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(-n + 6):has(~ :nth-last-child(-n + 5) a[aria-current]) a {
321
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 6):has(~ :nth-last-child(-n + 5) a[aria-current]) a {
323
322
 
324
323
  display: flex
325
324
  }
326
325
 
327
326
  /* Show ellipsis on the 6th to last */
328
327
 
329
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(7):has(~ :nth-last-child(-n + 5) a[aria-current]) {
328
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(7):has(~ :nth-last-child(-n + 5) a[aria-current]) {
330
329
 
331
330
  pointer-events: none;
332
331
 
333
332
  position: relative
334
333
  }
335
334
 
336
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul li:not(:has(a sd-icon)):nth-last-child(7):has(~ :nth-last-child(-n + 5) a[aria-current])::after {
335
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(7):has(~ :nth-last-child(-n + 5) a[aria-current])::after {
337
336
 
338
337
  --tw-content: '...';
339
338
 
@@ -342,26 +341,26 @@
342
341
 
343
342
  /* When it only has 5 numbers + 2 prev & next buttons */
344
343
 
345
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li {
344
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li {
346
345
 
347
346
  pointer-events: auto;
348
347
 
349
348
  position: relative
350
349
  }
351
350
 
352
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li::after {
351
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li::after {
353
352
 
354
353
  content: var(--tw-content);
355
354
 
356
355
  display: none
357
356
  }
358
357
 
359
- .sd-1-3-2-pagination:not(.sd-1-3-2-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li a {
358
+ .sd-1-4-1-pagination:not(.sd-1-4-1-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li a {
360
359
 
361
360
  display: flex
362
361
  }
363
362
 
364
- .sd-1-3-2-pagination--simple ul li:nth-child(2) {
363
+ .sd-1-4-1-pagination--simple ul li:nth-child(2) {
365
364
 
366
365
  position: relative;
367
366
 
@@ -377,7 +376,7 @@
377
376
  */
378
377
  }
379
378
 
380
- .sd-1-3-2-pagination--simple ul li:nth-child(2)::after {
379
+ .sd-1-4-1-pagination--simple ul li:nth-child(2)::after {
381
380
 
382
381
  position: absolute;
383
382
 
@@ -392,14 +391,14 @@
392
391
  content: var(--tw-content)
393
392
  }
394
393
 
395
- .sd-1-3-2-pagination--simple ul li:nth-last-child(2) {
394
+ .sd-1-4-1-pagination--simple ul li:nth-last-child(2) {
396
395
 
397
396
  border-bottom-width: 2px;
398
397
 
399
398
  border-bottom-color: transparent
400
399
  }
401
400
 
402
- .sd-1-3-2-pagination--inverted ul li::after {
401
+ .sd-1-4-1-pagination--inverted ul li::after {
403
402
 
404
403
  content: var(--tw-content);
405
404
 
@@ -408,38 +407,40 @@
408
407
  color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
409
408
  }
410
409
 
411
- .sd-1-3-2-pagination--inverted ul li:has(a:not([href]) sd-icon) a {
410
+ .sd-1-4-1-pagination--inverted ul li:first-child:has(a:not([href])) a,
411
+ .sd-1-4-1-pagination--inverted ul li:last-child:has(a:not([href])) a {
412
412
 
413
413
 
414
414
 
415
415
  color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */
416
416
  }
417
417
 
418
- .sd-1-3-2-pagination--inverted ul li:has(a:not([href]) sd-icon) a:hover:not([disabled]) {
418
+ .sd-1-4-1-pagination--inverted ul li:first-child:has(a:not([href])) a:hover:not([disabled]),
419
+ .sd-1-4-1-pagination--inverted ul li:last-child:has(a:not([href])) a:hover:not([disabled]) {
419
420
 
420
421
 
421
422
 
422
423
  color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */
423
424
  }
424
425
 
425
- .sd-1-3-2-pagination--inverted ul li a,
426
- .sd-1-3-2-pagination--inverted ul li a[aria-current] {
426
+ .sd-1-4-1-pagination--inverted ul li a,
427
+ .sd-1-4-1-pagination--inverted ul li a[aria-current] {
427
428
 
428
429
 
429
430
 
430
431
  color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
431
432
  }
432
433
 
433
- .sd-1-3-2-pagination--inverted ul li a:hover:not([disabled]),
434
- .sd-1-3-2-pagination--inverted ul li a[aria-current]:hover:not([disabled]) {
434
+ .sd-1-4-1-pagination--inverted ul li a:hover:not([disabled]),
435
+ .sd-1-4-1-pagination--inverted ul li a[aria-current]:hover:not([disabled]) {
435
436
 
436
437
 
437
438
 
438
439
  color: rgb(var(--sd-color-primary-200, 224 233 243) / var(--tw-text-opacity, 1)) /* Used for inverted hover interaction text link and inverted pressed interaction button label */
439
440
  }
440
441
 
441
- .sd-1-3-2-pagination--inverted ul li a:active:not([disabled]),
442
- .sd-1-3-2-pagination--inverted ul li a[aria-current]:active:not([disabled]) {
442
+ .sd-1-4-1-pagination--inverted ul li a:active:not([disabled]),
443
+ .sd-1-4-1-pagination--inverted ul li a[aria-current]:active:not([disabled]) {
443
444
 
444
445
 
445
446
 
@@ -447,19 +448,19 @@
447
448
  Used for inverted pressed interaction text link */
448
449
  }
449
450
 
450
- .sd-1-3-2-pagination--inverted ul li a:focus-visible, .sd-1-3-2-pagination--inverted ul li a[aria-current]:focus-visible {
451
+ .sd-1-4-1-pagination--inverted ul li a:focus-visible, .sd-1-4-1-pagination--inverted ul li a[aria-current]:focus-visible {
451
452
 
452
453
  outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */
453
454
  }
454
455
 
455
- .sd-1-3-2-pagination--inverted.sd-1-3-2-pagination--simple ul li {
456
+ .sd-1-4-1-pagination--inverted.sd-1-4-1-pagination--simple ul li {
456
457
 
457
458
 
458
459
 
459
460
  color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
460
461
  }
461
462
 
462
- .sd-1-3-2-pagination--inverted.sd-1-3-2-pagination--simple ul li::after {
463
+ .sd-1-4-1-pagination--inverted.sd-1-4-1-pagination--simple ul li::after {
463
464
 
464
465
  content: var(--tw-content);
465
466
 
@@ -1,28 +1,28 @@
1
1
  /**
2
2
  * A paragraph is used to display blocks of text. It uses the base font size and can contain bold and/or link styles.
3
- * @name sd-1-3-2-paragraph
3
+ * @name sd-1-4-1-paragraph
4
4
  * @status stable
5
5
  * @since 1.7
6
- * @variant { sm } sd-1-3-2-paragraph--size-... The paragraph's font size.
7
- * @boolean sd-1-3-2-paragraph--inverted Inverts the paragraph text.
6
+ * @variant { sm } sd-1-4-1-paragraph--size-... The paragraph's font size.
7
+ * @boolean sd-1-4-1-paragraph--inverted Inverts the paragraph text.
8
8
  */
9
- .sd-1-3-2-paragraph,
10
- .sd-1-3-2-prose p {
9
+ .sd-1-4-1-paragraph,
10
+ .sd-1-4-1-prose p {
11
11
  font-size: var(--sd-font-size-base, 1rem) /* 16px */;
12
12
  font-weight: 400;
13
13
  line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
14
14
 
15
15
  color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
16
16
  }
17
- .sd-1-3-2-paragraph--size-sm, .sd-1-3-2-prose p--size-sm {
17
+ .sd-1-4-1-paragraph--size-sm, .sd-1-4-1-prose p--size-sm {
18
18
  font-size: var(--sd-font-size-sm, 0.875rem) /* 14px */;
19
19
  font-weight: 400;
20
20
  line-height: var(--sd-line-height-normal, 150%) /* Used for body copy and smaller titles */;
21
21
 
22
22
  color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
23
23
  }
24
- .sd-1-3-2-paragraph--inverted,
25
- .sd-1-3-2-prose--inverted p {
24
+ .sd-1-4-1-paragraph--inverted,
25
+ .sd-1-4-1-prose--inverted p {
26
26
 
27
27
  color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
28
28
  }