@solid-design-system/styles 1.5.0 → 1.5.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 (48) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/cdn/modules/pagination.css +1 -1
  3. package/cdn/solid-styles.css +1 -1
  4. package/cdn-versioned/modules/chip.css +1 -1
  5. package/cdn-versioned/modules/container.css +1 -1
  6. package/cdn-versioned/modules/copyright.css +1 -1
  7. package/cdn-versioned/modules/display.css +1 -1
  8. package/cdn-versioned/modules/flag.css +1 -1
  9. package/cdn-versioned/modules/footnotes.css +1 -1
  10. package/cdn-versioned/modules/headline.css +1 -1
  11. package/cdn-versioned/modules/hidden-links.css +1 -1
  12. package/cdn-versioned/modules/interactive.css +1 -1
  13. package/cdn-versioned/modules/leadtext.css +1 -1
  14. package/cdn-versioned/modules/list.css +1 -1
  15. package/cdn-versioned/modules/mark.css +1 -1
  16. package/cdn-versioned/modules/media.css +1 -1
  17. package/cdn-versioned/modules/meta.css +1 -1
  18. package/cdn-versioned/modules/pagination.css +1 -1
  19. package/cdn-versioned/modules/paragraph.css +1 -1
  20. package/cdn-versioned/modules/prose.css +1 -1
  21. package/cdn-versioned/modules/status-badge.css +1 -1
  22. package/cdn-versioned/modules/table-cell.css +1 -1
  23. package/cdn-versioned/modules/table.css +1 -1
  24. package/cdn-versioned/solid-styles.css +1 -1
  25. package/dist/modules/pagination.css +144 -256
  26. package/dist/solid-styles.css +16 -0
  27. package/dist-versioned/modules/chip.css +6 -6
  28. package/dist-versioned/modules/container.css +45 -45
  29. package/dist-versioned/modules/copyright.css +11 -11
  30. package/dist-versioned/modules/display.css +9 -9
  31. package/dist-versioned/modules/flag.css +6 -6
  32. package/dist-versioned/modules/footnotes.css +26 -26
  33. package/dist-versioned/modules/headline.css +67 -67
  34. package/dist-versioned/modules/hidden-links.css +7 -7
  35. package/dist-versioned/modules/interactive.css +38 -38
  36. package/dist-versioned/modules/leadtext.css +8 -8
  37. package/dist-versioned/modules/list.css +47 -47
  38. package/dist-versioned/modules/mark.css +2 -2
  39. package/dist-versioned/modules/media.css +7 -7
  40. package/dist-versioned/modules/meta.css +12 -12
  41. package/dist-versioned/modules/pagination.css +249 -361
  42. package/dist-versioned/modules/paragraph.css +8 -8
  43. package/dist-versioned/modules/prose.css +231 -231
  44. package/dist-versioned/modules/status-badge.css +8 -8
  45. package/dist-versioned/modules/table-cell.css +23 -23
  46. package/dist-versioned/modules/table.css +4 -4
  47. package/dist-versioned/solid-styles.css +476 -460
  48. package/package.json +1 -1
@@ -8,147 +8,113 @@
8
8
  */
9
9
 
10
10
  .sd-pagination > :not(ul) {
11
-
12
- position: absolute;
13
-
14
- height: var(--sd-spacing-0-25, 1px) /* 1px */;
15
-
16
- width: var(--sd-spacing-0-25, 1px) /* 1px */;
17
-
18
- overflow: hidden
11
+ position: absolute;
12
+ height: var(--sd-spacing-0-25, 1px) /* 1px */;
13
+ width: var(--sd-spacing-0-25, 1px) /* 1px */;
14
+ overflow: hidden;
19
15
  }
20
16
 
21
17
  .sd-pagination ul {
18
+ display: flex;
19
+ align-items: center;
20
+ gap: var(--sd-spacing-2, 0.5rem) /* 8px */;
21
+ }
22
22
 
23
- display: flex;
24
-
25
- align-items: center;
23
+ .sd-pagination ul li button {
24
+ all: unset;
25
+ border-width: 2px;
26
+ border-style: solid;
27
+ border-color: transparent;
28
+ }
26
29
 
27
- gap: var(--sd-spacing-2, 0.5rem) /* 8px */
30
+ .sd-pagination ul li button:hover:not([disabled]) {
31
+ cursor: pointer;
28
32
  }
29
33
 
30
34
  .sd-pagination ul li a,
31
35
  .sd-pagination ul li button {
32
-
33
- display: flex;
34
-
35
- align-items: center;
36
-
37
- justify-content: center;
38
-
39
-
40
-
41
- color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
42
-
43
- text-decoration-line: none;
44
-
45
- transition-property: color;
46
-
47
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
48
-
49
- transition-duration: 150ms
36
+ display: flex;
37
+ align-items: center;
38
+ justify-content: center;
39
+
40
+ color: rgb(var(--sd-color-primary, 0 53 142) / var(--tw-text-opacity, 1)) /* Primary brand color for text */;
41
+ text-decoration-line: none;
42
+ transition-property: color;
43
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
44
+ transition-duration: 150ms;
50
45
  }
51
46
 
52
47
  .sd-pagination ul li a:hover:not([disabled]),
53
48
  .sd-pagination ul li button:hover:not([disabled]) {
54
-
55
-
56
-
57
- color: rgb(var(--sd-color-primary-500, 70 109 175) / var(--tw-text-opacity, 1)) /* Used for hover interaction */
49
+
50
+ color: rgb(var(--sd-color-primary-500, 70 109 175) / var(--tw-text-opacity, 1)) /* Used for hover interaction */;
58
51
  }
59
52
 
60
53
  .sd-pagination ul li a:active:not([disabled]),
61
54
  .sd-pagination ul li button:active:not([disabled]) {
62
-
63
-
64
-
65
- color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-text-opacity, 1)) /* Used for pressed interaction */
55
+
56
+ color: rgb(var(--sd-color-primary-800, 5 21 48) / var(--tw-text-opacity, 1)) /* Used for pressed interaction */;
66
57
  }
67
58
 
68
59
  .sd-pagination ul li a:focus-visible, .sd-pagination ul li button:focus-visible {
69
-
70
- outline-style: solid;
71
-
72
- outline-width: 2px;
73
-
74
- outline-offset: 2px;
75
-
76
- outline-color: rgb(var(--sd-color-primary, 0 53 142) / 1) /* Used for buttons, select field, focus state */
60
+ outline-style: solid;
61
+ outline-width: 2px;
62
+ outline-offset: 2px;
63
+ outline-color: rgb(var(--sd-color-primary, 0 53 142) / 1) /* Used for buttons, select field, focus state */;
77
64
  }
78
65
 
79
66
  /* Previous and Next */
80
67
 
81
68
  .sd-pagination ul li:first-child,
82
69
  .sd-pagination ul li:last-child {
83
-
84
- height: var(--sd-spacing-12, 3rem) /* 48px */;
85
-
86
- width: var(--sd-spacing-12, 3rem) /* 48px */;
87
-
88
- font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */
70
+ height: var(--sd-spacing-12, 3rem) /* 48px */;
71
+ width: var(--sd-spacing-12, 3rem) /* 48px */;
72
+ font-size: var(--sd-font-size-xl, 1.5rem) /* 24px */;
89
73
  }
90
74
 
91
75
  .sd-pagination ul li:first-child a,
92
76
  .sd-pagination ul li:first-child button,
93
77
  .sd-pagination ul li:last-child a,
94
78
  .sd-pagination ul li:last-child button {
95
-
96
- height: 100%;
97
-
98
- width: 100%
79
+ height: 100%;
80
+ width: 100%;
99
81
  }
100
82
 
101
83
  /* Numbers */
102
84
 
103
85
  .sd-pagination ul li {
104
-
105
- display: flex;
106
-
107
- height: var(--sd-spacing-8, 2rem) /* 32px */;
108
-
109
- width: var(--sd-spacing-8, 2rem) /* 32px */;
110
-
111
- align-items: center;
112
-
113
- justify-content: center;
114
-
115
- text-align: center
86
+ display: flex;
87
+ height: var(--sd-spacing-8, 2rem) /* 32px */;
88
+ width: var(--sd-spacing-8, 2rem) /* 32px */;
89
+ align-items: center;
90
+ justify-content: center;
91
+ text-align: center;
116
92
  }
117
93
 
118
94
  .sd-pagination ul li:not(:first-child):not(:last-child) a,
119
95
  .sd-pagination ul li:not(:first-child):not(:last-child) button {
120
-
121
- height: 100%;
122
-
123
- width: 100%;
124
-
125
- border-bottom-width: 2px;
126
-
127
- border-bottom-color: transparent
96
+ height: 100%;
97
+ width: 100%;
98
+ border-bottom-width: 2px;
99
+ border-bottom-color: transparent;
128
100
  }
129
101
 
130
102
  .sd-pagination ul li:not(:first-child):not(:last-child) a[aria-current], .sd-pagination ul li:not(:first-child):not(:last-child) button[aria-current] {
131
-
132
- --tw-border-opacity: 1;
133
-
134
- border-bottom-color: rgb(var(--sd-color-accent, 45 157 0) / var(--tw-border-opacity, 1)) /* Used to highlight active/selected elements
135
- */
103
+ --tw-border-opacity: 1;
104
+ border-bottom-color: rgb(var(--sd-color-accent, 45 157 0) / var(--tw-border-opacity, 1)) /* Used to highlight active/selected elements
105
+ */;
136
106
  }
137
107
 
138
108
  .sd-pagination ul li a[aria-current],
139
109
  .sd-pagination ul li button[aria-current] {
140
-
141
-
142
-
143
- color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
110
+
111
+ color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
144
112
  }
145
113
 
146
114
  .sd-pagination ul li a[aria-current]:hover:not([disabled]),
147
115
  .sd-pagination ul li button[aria-current]:hover:not([disabled]) {
148
-
149
-
150
-
151
- color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
116
+
117
+ color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */;
152
118
  }
153
119
 
154
120
  /* Previous and next arrow when it has no href */
@@ -157,22 +123,17 @@
157
123
  .sd-pagination ul li:last-child:has(a:not([href])) a,
158
124
  .sd-pagination ul li:first-child:has(button[disabled]) button,
159
125
  .sd-pagination ul li:last-child:has(button[disabled]) button {
160
-
161
- cursor: not-allowed;
162
-
163
-
164
-
165
- color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */
126
+ cursor: not-allowed;
127
+
128
+ color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */;
166
129
  }
167
130
 
168
131
  .sd-pagination ul li:first-child:has(a:not([href])) a:hover:not([disabled]),
169
132
  .sd-pagination ul li:last-child:has(a:not([href])) a:hover:not([disabled]),
170
133
  .sd-pagination ul li:first-child:has(button[disabled]) button:hover:not([disabled]),
171
134
  .sd-pagination ul li:last-child:has(button[disabled]) button:hover:not([disabled]) {
172
-
173
-
174
-
175
- color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */
135
+
136
+ color: rgb(var(--sd-color-neutral-500, 174 174 174) / var(--tw-text-opacity, 1)) /* Used for disabled state */;
176
137
  }
177
138
 
178
139
  /* Numbers */
@@ -180,32 +141,25 @@
180
141
  /* Number which is not current */
181
142
 
182
143
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):not(:has(a[aria-current], button[aria-current])) {
183
-
184
- pointer-events: none;
185
-
186
- position: absolute
144
+ pointer-events: none;
145
+ position: absolute;
187
146
  }
188
147
 
189
148
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):not(:has(a[aria-current], button[aria-current])) a,
190
149
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):not(:has(a[aria-current], button[aria-current])) button {
191
-
192
- display: none
150
+ display: none;
193
151
  }
194
152
 
195
153
  /* Apply ellipsis to (n + 2 && n - 1) */
196
154
 
197
155
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):has(+ li + li a[aria-current], + li + li button[aria-current]), .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):has(a[aria-current], button[aria-current]) + li + li:not(:last-child) {
198
-
199
- pointer-events: auto !important;
200
-
201
- position: relative !important
156
+ pointer-events: auto !important;
157
+ position: relative !important;
202
158
  }
203
159
 
204
160
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):has(+ li + li a[aria-current], + li + li button[aria-current])::after, .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):has(a[aria-current], button[aria-current]) + li + li:not(:last-child)::after {
205
-
206
- --tw-content: '...';
207
-
208
- content: var(--tw-content)
161
+ --tw-content: '...';
162
+ content: var(--tw-content);
209
163
  }
210
164
 
211
165
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(2),
@@ -216,10 +170,8 @@
216
170
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):has(
217
171
  a[aria-current],
218
172
  button[aria-current]) + li {
219
-
220
- pointer-events: auto !important;
221
-
222
- position: relative !important
173
+ pointer-events: auto !important;
174
+ position: relative !important;
223
175
  }
224
176
 
225
177
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(2)::after,
@@ -230,10 +182,8 @@
230
182
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):has(
231
183
  a[aria-current],
232
184
  button[aria-current]) + li::after {
233
-
234
- content: var(--tw-content) !important;
235
-
236
- display: none !important
185
+ content: var(--tw-content) !important;
186
+ display: none !important;
237
187
  }
238
188
 
239
189
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(2) a,
@@ -252,8 +202,7 @@
252
202
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):has(
253
203
  a[aria-current],
254
204
  button[aria-current]) + li button {
255
-
256
- display: flex !important
205
+ display: flex !important;
257
206
  }
258
207
 
259
208
  /* When one of the first 4 pages is selected */
@@ -261,83 +210,64 @@
261
210
  /* Show until the 5th page (forward) */
262
211
 
263
212
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current], button[aria-current]) ~ :nth-child(-n + 6) {
264
-
265
- pointer-events: auto;
266
-
267
- position: relative
213
+ pointer-events: auto;
214
+ position: relative;
268
215
  }
269
216
 
270
217
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current], button[aria-current]) ~ :nth-child(-n + 6)::after {
271
-
272
- content: var(--tw-content);
273
-
274
- display: none
218
+ content: var(--tw-content);
219
+ display: none;
275
220
  }
276
221
 
277
222
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current], button[aria-current]) ~ :nth-child(-n + 6) a,
278
223
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current], button[aria-current]) ~ :nth-child(-n + 6) button {
279
-
280
- display: flex
224
+ display: flex;
281
225
  }
282
226
 
283
227
  /* Show ellipsis on the 6th */
284
228
 
285
229
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current], button[aria-current]) ~ :nth-child(6):not(:last-child) + li {
286
-
287
- pointer-events: none;
288
-
289
- position: relative
230
+ pointer-events: none;
231
+ position: relative;
290
232
  }
291
233
 
292
234
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(a[aria-current], button[aria-current]) ~ :nth-child(6):not(:last-child) + li::after {
293
-
294
- --tw-content: '...';
295
-
296
- content: var(--tw-content)
235
+ --tw-content: '...';
236
+ content: var(--tw-content);
297
237
  }
298
238
 
299
239
  /* When one of the first 4 pages is selected, show until the 5th page (backward) */
300
240
 
301
241
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current], ~ :nth-child(-n + 5) button[aria-current]) {
302
-
303
- pointer-events: auto;
304
-
305
- position: relative
242
+ pointer-events: auto;
243
+ position: relative;
306
244
  }
307
245
 
308
246
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current], ~ :nth-child(-n + 5) button[aria-current])::after {
309
-
310
- content: var(--tw-content);
311
-
312
- display: none
247
+ content: var(--tw-content);
248
+ display: none;
313
249
  }
314
250
 
315
251
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current], ~ :nth-child(-n + 5) button[aria-current]) a,
316
252
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-child(-n + 6):has(~ :nth-child(-n + 5) a[aria-current], ~ :nth-child(-n + 5) button[aria-current]) button {
317
-
318
- display: flex
253
+ display: flex;
319
254
  }
320
255
 
321
256
  /* When one of the last 4 pages is selected, show the last 4 pages (forward) */
322
257
 
323
258
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 5):has(a[aria-current], button[aria-current]) ~ :nth-last-child(-n + 5):not(:first-child):not(:last-child) {
324
-
325
- pointer-events: auto;
326
-
327
- position: relative
259
+ pointer-events: auto;
260
+ position: relative;
328
261
  }
329
262
 
330
263
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 5):has(a[aria-current], button[aria-current]) ~ :nth-last-child(-n + 5):not(:first-child):not(:last-child)::after {
331
-
332
- content: var(--tw-content);
333
-
334
- display: none
264
+ content: var(--tw-content);
265
+ display: none;
335
266
  }
336
267
 
337
268
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 5):has(a[aria-current], button[aria-current]) ~ :nth-last-child(-n + 5):not(:first-child):not(:last-child) a,
338
269
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 5):has(a[aria-current], button[aria-current]) ~ :nth-last-child(-n + 5):not(:first-child):not(:last-child) button {
339
-
340
- display: flex
270
+ display: flex;
341
271
  }
342
272
 
343
273
  /* When one of the last 4 pages is selected, show the last 4 pages (backward) */
@@ -346,20 +276,16 @@
346
276
  ~ :nth-last-child(-n + 5) a[aria-current],
347
277
  ~ :nth-last-child(-n + 5) button[aria-current]
348
278
  ) {
349
-
350
- pointer-events: auto;
351
-
352
- position: relative
279
+ pointer-events: auto;
280
+ position: relative;
353
281
  }
354
282
 
355
283
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 6):has(
356
284
  ~ :nth-last-child(-n + 5) a[aria-current],
357
285
  ~ :nth-last-child(-n + 5) button[aria-current]
358
286
  )::after {
359
-
360
- content: var(--tw-content);
361
-
362
- display: none
287
+ content: var(--tw-content);
288
+ display: none;
363
289
  }
364
290
 
365
291
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(-n + 6):has(
@@ -370,8 +296,7 @@
370
296
  ~ :nth-last-child(-n + 5) a[aria-current],
371
297
  ~ :nth-last-child(-n + 5) button[aria-current]
372
298
  ) button {
373
-
374
- display: flex
299
+ display: flex;
375
300
  }
376
301
 
377
302
  /* Show ellipsis on the 6th to last */
@@ -380,159 +305,122 @@
380
305
  ~ :nth-last-child(-n + 5) a[aria-current],
381
306
  ~ :nth-last-child(-n + 5) button[aria-current]
382
307
  ) {
383
-
384
- pointer-events: none;
385
-
386
- position: relative
308
+ pointer-events: none;
309
+ position: relative;
387
310
  }
388
311
 
389
312
  .sd-pagination:not(.sd-pagination--simple) ul li:not(:first-child):not(:last-child):nth-last-child(7):has(
390
313
  ~ :nth-last-child(-n + 5) a[aria-current],
391
314
  ~ :nth-last-child(-n + 5) button[aria-current]
392
315
  )::after {
393
-
394
- --tw-content: '...';
395
-
396
- content: var(--tw-content)
316
+ --tw-content: '...';
317
+ content: var(--tw-content);
397
318
  }
398
319
 
399
320
  /* When it only has 5 numbers + 2 prev & next buttons */
400
321
 
401
322
  .sd-pagination:not(.sd-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li {
402
-
403
- pointer-events: auto;
404
-
405
- position: relative
323
+ pointer-events: auto;
324
+ position: relative;
406
325
  }
407
326
 
408
327
  .sd-pagination:not(.sd-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li::after {
409
-
410
- content: var(--tw-content);
411
-
412
- display: none
328
+ content: var(--tw-content);
329
+ display: none;
413
330
  }
414
331
 
415
332
  .sd-pagination:not(.sd-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li a,
416
333
  .sd-pagination:not(.sd-pagination--simple) ul:has(> li:last-child:nth-child(-n + 9)) li button {
417
-
418
- display: flex
334
+ display: flex;
419
335
  }
420
336
 
421
337
  .sd-pagination--simple ul li:nth-child(2) {
422
-
423
- position: relative;
424
-
425
- margin-inline-end: var(--sd-spacing-5, 1.25rem) /* 20px */;
426
-
427
- width: var(--sd-spacing-8, 2rem) /* 32px */;
428
-
429
- border-bottom-width: 2px;
430
-
431
- --tw-border-opacity: 1;
432
-
433
- border-bottom-color: rgb(var(--sd-color-accent, 45 157 0) / var(--tw-border-opacity, 1)) /* Used to highlight active/selected elements
434
- */
338
+ position: relative;
339
+ margin-inline-end: var(--sd-spacing-5, 1.25rem) /* 20px */;
340
+ width: var(--sd-spacing-8, 2rem) /* 32px */;
341
+ border-bottom-width: 2px;
342
+ --tw-border-opacity: 1;
343
+ border-bottom-color: rgb(var(--sd-color-accent, 45 157 0) / var(--tw-border-opacity, 1)) /* Used to highlight active/selected elements
344
+ */;
435
345
  }
436
346
 
437
347
  .sd-pagination--simple ul li:nth-child(2)::after {
438
-
439
- position: absolute;
440
-
441
- right: -18px;
442
-
443
- --tw-scale-y: 1.5;
444
-
445
- transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
446
-
447
- --tw-content: '/';
448
-
449
- content: var(--tw-content)
348
+ position: absolute;
349
+ right: -18px;
350
+ --tw-scale-y: 1.5;
351
+ transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
352
+ --tw-content: '/';
353
+ content: var(--tw-content);
450
354
  }
451
355
 
452
- .sd-pagination--simple ul li:nth-last-child(2) {
356
+ .sd-pagination--simple ul li:nth-child(2) {
453
357
 
454
- border-bottom-width: 2px;
358
+ border-bottom-style: solid;
359
+ }
455
360
 
456
- border-bottom-color: transparent
361
+ .sd-pagination--simple ul li:nth-last-child(2) {
362
+ border-bottom-width: 2px;
363
+ border-bottom-color: transparent;
457
364
  }
458
365
 
459
366
  .sd-pagination--inverted ul li::after {
460
-
461
- content: var(--tw-content);
462
-
463
-
464
-
465
- color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
367
+ content: var(--tw-content);
368
+
369
+ color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
466
370
  }
467
371
 
468
372
  .sd-pagination--inverted ul li:first-child:has(a:not([href])) a,
469
373
  .sd-pagination--inverted ul li:last-child:has(a:not([href])) a,
470
374
  .sd-pagination--inverted ul li:first-child:has(button[disabled]) button,
471
375
  .sd-pagination--inverted ul li:last-child:has(button[disabled]) button {
472
-
473
-
474
-
475
- color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */
376
+
377
+ color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
476
378
  }
477
379
 
478
380
  .sd-pagination--inverted ul li:first-child:has(a:not([href])) a:hover:not([disabled]),
479
381
  .sd-pagination--inverted ul li:last-child:has(a:not([href])) a:hover:not([disabled]),
480
382
  .sd-pagination--inverted ul li:first-child:has(button[disabled]) button:hover:not([disabled]),
481
383
  .sd-pagination--inverted ul li:last-child:has(button[disabled]) button:hover:not([disabled]) {
482
-
483
-
484
-
485
- color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */
384
+
385
+ color: rgb(var(--sd-color-neutral-600, 136 136 136) / var(--tw-text-opacity, 1)) /* Used for inverted disabled state */;
486
386
  }
487
387
 
488
388
  .sd-pagination--inverted ul li a,
489
389
  .sd-pagination--inverted ul li a[aria-current],
490
390
  .sd-pagination--inverted ul li button,
491
391
  .sd-pagination--inverted ul li button[aria-current] {
492
-
493
-
494
-
495
- color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
392
+
393
+ color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
496
394
  }
497
395
 
498
396
  .sd-pagination--inverted ul li a:hover:not([disabled]),
499
397
  .sd-pagination--inverted ul li a[aria-current]:hover:not([disabled]),
500
398
  .sd-pagination--inverted ul li button:hover:not([disabled]),
501
399
  .sd-pagination--inverted ul li button[aria-current]:hover:not([disabled]) {
502
-
503
-
504
-
505
- 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 */
400
+
401
+ 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 */;
506
402
  }
507
403
 
508
404
  .sd-pagination--inverted ul li a:active:not([disabled]),
509
405
  .sd-pagination--inverted ul li a[aria-current]:active:not([disabled]),
510
406
  .sd-pagination--inverted ul li button:active:not([disabled]),
511
407
  .sd-pagination--inverted ul li button[aria-current]:active:not([disabled]) {
512
-
513
-
514
-
515
- color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
516
- Used for inverted pressed interaction text link */
408
+
409
+ color: rgb(var(--sd-color-primary-400, 153 171 208) / var(--tw-text-opacity, 1)) /* Additional text inverted color
410
+ Used for inverted pressed interaction text link */;
517
411
  }
518
412
 
519
413
  .sd-pagination--inverted ul li a:focus-visible, .sd-pagination--inverted ul li a[aria-current]:focus-visible, .sd-pagination--inverted ul li button:focus-visible, .sd-pagination--inverted ul li button[aria-current]:focus-visible {
520
-
521
- outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */
414
+ outline-color: rgb(var(--sd-color-white, 255 255 255) / 1) /* Used for buttons, inverted focus state */;
522
415
  }
523
416
 
524
417
  .sd-pagination--inverted.sd-pagination--simple ul li {
525
-
526
-
527
-
528
- color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
418
+
419
+ color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
529
420
  }
530
421
 
531
422
  .sd-pagination--inverted.sd-pagination--simple ul li::after {
532
-
533
- content: var(--tw-content);
534
-
535
-
536
-
537
- color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */
423
+ content: var(--tw-content);
424
+
425
+ color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */;
538
426
  }
@@ -630,6 +630,17 @@ Used for inverted pressed interaction text link */;
630
630
  gap: var(--sd-spacing-2, 0.5rem) /* 8px */;
631
631
  }
632
632
 
633
+ .sd-pagination ul li button {
634
+ all: unset;
635
+ border-width: 2px;
636
+ border-style: solid;
637
+ border-color: transparent;
638
+ }
639
+
640
+ .sd-pagination ul li button:hover:not([disabled]) {
641
+ cursor: pointer;
642
+ }
643
+
633
644
  .sd-pagination ul li a,
634
645
  .sd-pagination ul li button {
635
646
  display: flex;
@@ -952,6 +963,11 @@ Used for inverted pressed interaction text link */;
952
963
  content: var(--tw-content);
953
964
  }
954
965
 
966
+ .sd-pagination--simple ul li:nth-child(2) {
967
+
968
+ border-bottom-style: solid;
969
+ }
970
+
955
971
  .sd-pagination--simple ul li:nth-last-child(2) {
956
972
  border-bottom-width: 2px;
957
973
  border-bottom-color: transparent;