@solid-design-system/styles 1.5.5 → 2.0.0-next.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.
Files changed (86) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/cdn/modules/chip.css +24 -1
  3. package/cdn/modules/container.css +117 -1
  4. package/cdn/modules/copyright.css +129 -1
  5. package/cdn/modules/display.css +60 -1
  6. package/cdn/modules/flag.css +23 -1
  7. package/cdn/modules/footnotes.css +166 -1
  8. package/cdn/modules/headline.css +138 -1
  9. package/cdn/modules/hidden-links.css +130 -1
  10. package/cdn/modules/interactive.css +95 -1
  11. package/cdn/modules/leadtext.css +39 -1
  12. package/cdn/modules/list.css +125 -1
  13. package/cdn/modules/mark.css +5 -1
  14. package/cdn/modules/media.css +13 -1
  15. package/cdn/modules/meta.css +47 -1
  16. package/cdn/modules/pagination.css +292 -1
  17. package/cdn/modules/paragraph.css +39 -1
  18. package/cdn/modules/prose.css +75 -1
  19. package/cdn/modules/status-badge.css +26 -1
  20. package/cdn/modules/table-cell.css +170 -1
  21. package/cdn/modules/table.css +31 -1
  22. package/cdn/solid-styles.css +962 -1
  23. package/cdn-versioned/modules/chip.css +24 -1
  24. package/cdn-versioned/modules/container.css +117 -1
  25. package/cdn-versioned/modules/copyright.css +129 -1
  26. package/cdn-versioned/modules/display.css +60 -1
  27. package/cdn-versioned/modules/flag.css +23 -1
  28. package/cdn-versioned/modules/footnotes.css +166 -1
  29. package/cdn-versioned/modules/headline.css +138 -1
  30. package/cdn-versioned/modules/hidden-links.css +130 -1
  31. package/cdn-versioned/modules/interactive.css +95 -1
  32. package/cdn-versioned/modules/leadtext.css +39 -1
  33. package/cdn-versioned/modules/list.css +125 -1
  34. package/cdn-versioned/modules/mark.css +5 -1
  35. package/cdn-versioned/modules/media.css +13 -1
  36. package/cdn-versioned/modules/meta.css +47 -1
  37. package/cdn-versioned/modules/pagination.css +292 -1
  38. package/cdn-versioned/modules/paragraph.css +39 -1
  39. package/cdn-versioned/modules/prose.css +75 -1
  40. package/cdn-versioned/modules/status-badge.css +26 -1
  41. package/cdn-versioned/modules/table-cell.css +170 -1
  42. package/cdn-versioned/modules/table.css +31 -1
  43. package/cdn-versioned/solid-styles.css +962 -1
  44. package/dist/modules/chip.css +19 -56
  45. package/dist/modules/container.css +54 -121
  46. package/dist/modules/copyright.css +106 -49
  47. package/dist/modules/display.css +52 -62
  48. package/dist/modules/flag.css +18 -54
  49. package/dist/modules/footnotes.css +106 -119
  50. package/dist/modules/headline.css +113 -212
  51. package/dist/modules/hidden-links.css +117 -44
  52. package/dist/modules/interactive.css +76 -105
  53. package/dist/modules/leadtext.css +35 -39
  54. package/dist/modules/list.css +70 -143
  55. package/dist/modules/mark.css +3 -13
  56. package/dist/modules/media.css +9 -29
  57. package/dist/modules/meta.css +36 -38
  58. package/dist/modules/pagination.css +246 -384
  59. package/dist/modules/paragraph.css +35 -24
  60. package/dist/modules/prose.css +49 -891
  61. package/dist/modules/status-badge.css +18 -53
  62. package/dist/modules/table-cell.css +153 -169
  63. package/dist/modules/table.css +24 -17
  64. package/dist/solid-styles.css +709 -1781
  65. package/dist-versioned/modules/chip.css +23 -60
  66. package/dist-versioned/modules/container.css +76 -143
  67. package/dist-versioned/modules/copyright.css +112 -55
  68. package/dist-versioned/modules/display.css +54 -64
  69. package/dist-versioned/modules/flag.css +22 -58
  70. package/dist-versioned/modules/footnotes.css +134 -147
  71. package/dist-versioned/modules/headline.css +128 -227
  72. package/dist-versioned/modules/hidden-links.css +121 -48
  73. package/dist-versioned/modules/interactive.css +82 -111
  74. package/dist-versioned/modules/leadtext.css +36 -40
  75. package/dist-versioned/modules/list.css +92 -165
  76. package/dist-versioned/modules/mark.css +4 -14
  77. package/dist-versioned/modules/media.css +13 -33
  78. package/dist-versioned/modules/meta.css +42 -44
  79. package/dist-versioned/modules/pagination.css +273 -411
  80. package/dist-versioned/modules/paragraph.css +36 -25
  81. package/dist-versioned/modules/prose.css +57 -899
  82. package/dist-versioned/modules/status-badge.css +24 -59
  83. package/dist-versioned/modules/table-cell.css +169 -185
  84. package/dist-versioned/modules/table.css +25 -18
  85. package/dist-versioned/solid-styles.css +825 -1897
  86. package/package.json +4 -5
@@ -1,61 +1,26 @@
1
- /**
2
- * Description of the style.
3
- * @name sd-status-badge
4
- * @status stable
5
- * @since 1.0
6
- * @variant { sucess | warning | error | info } sd-status-badge--...
7
- */
8
-
1
+ /*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
9
2
  .sd-status-badge {
10
-
11
- display: inline-flex;
12
-
13
- align-items: center
3
+ display: inline-flex;
4
+ align-items: center;
14
5
  }
15
-
16
6
  .sd-status-badge sd-icon {
17
-
18
- margin-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
19
-
7
+ margin-right: var(--sd-spacing-2);
20
8
  display: flex;
21
-
22
- height: var(--sd-spacing-3, 0.75rem) /* 12px */;
23
-
24
- width: var(--sd-spacing-3, 0.75rem) /* 12px */;
25
-
26
- border-radius: var(--sd-border-radius-full, 9999px) /* Radius for pill shape buttons */;
27
-
28
- padding: var(--sd-spacing-1, 0.25rem) /* 4px */;
29
-
30
- --tw-text-opacity: 1 !important;
31
-
32
- color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-text-opacity, 1)) /* Inverted text color */ !important
33
- }
34
-
9
+ height: var(--sd-spacing-3);
10
+ width: var(--sd-spacing-3);
11
+ border-radius: var(--sd-radius-full);
12
+ padding: var(--sd-spacing-1);
13
+ color: var(--sd-color-text-white, var(--sd-color-white)) !important;
14
+ }
35
15
  .sd-status-badge--success sd-icon {
36
-
37
-
38
-
39
- background-color: rgb(var(--sd-color-success, 37 136 14) / var(--tw-bg-opacity, 1)) /* Used for success messages */
40
- }
41
-
16
+ background-color: var(--sd-color-background-success, var(--sd-color-success));
17
+ }
42
18
  .sd-status-badge--warning sd-icon {
43
-
44
-
45
-
46
- background-color: rgb(var(--sd-color-warning, 187 141 32) / var(--tw-bg-opacity, 1)) /* Used for notifications */
47
- }
48
-
19
+ background-color: var(--sd-color-background-warning, var(--sd-color-warning));
20
+ }
49
21
  .sd-status-badge--error sd-icon {
50
-
51
-
52
-
53
- background-color: rgb(var(--sd-color-error, 204 25 55) / var(--tw-bg-opacity, 1)) /* Used for notification, status-badge */
54
- }
55
-
22
+ background-color: var(--sd-color-background-error, var(--sd-color-error));
23
+ }
56
24
  .sd-status-badge--info sd-icon {
57
-
58
-
59
-
60
- background-color: rgb(var(--sd-color-info, 21 130 213) / var(--tw-bg-opacity, 1)) /* Used for notification, status-badge */
61
- }
25
+ background-color: var(--sd-color-background-info, var(--sd-color-info));
26
+ }
@@ -1,186 +1,170 @@
1
- /**
2
- * A table cell is a single cell inside a table, used to display discrete data elements.
3
- * @name sd-table-cell
4
- * @status stable
5
- * @since 1.13
6
- * @boolean sd-table-cell--divider Displays a divider to the right.
7
- * @variant { white | primary-100 | neutral-100 } sd-table-cell--bg-... Applies the selected background-color to the table cell. If not selected, a transparent background-color is used per default.
8
- * @boolean sd-table-cell--shadow-active Displays the table shadow.
9
- * @variant { top | left | right | bottom } sd-table-cell--shadow-... Applies the selected shadow to the table cell.
10
- */
11
-
12
- .sd-prose td,
13
- .sd-prose th,
14
- .sd-table-cell {
15
-
16
- border-top-width: 1px;
17
-
18
- border-bottom-width: 1px;
19
-
20
- border-left-width: 0px;
21
-
22
- border-right-width: 0px;
23
-
24
- border-style: solid;
25
-
26
- --tw-border-opacity: 1;
27
-
28
- border-color: rgb(var(--sd-color-neutral-400, 195 195 195) / var(--tw-border-opacity, 1)) /* Default border color.
29
- Used for divider, teaser, container, ... */;
30
-
31
- background-color: transparent;
32
-
33
- padding: var(--sd-spacing-4, 1rem) /* 16px */;
34
-
35
- text-align: left;
36
-
37
- font-size: var(--sd-font-size-sm, 0.875rem) /* 14px */;
38
-
39
-
40
-
41
- color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
1
+ /*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
3
+ .sd-prose td, .sd-prose th, .sd-table-cell {
4
+ border-inline-style: var(--tw-border-style);
5
+ border-inline-width: 0px;
6
+ border-block-style: var(--tw-border-style);
7
+ border-block-width: 1px;
8
+ --tw-border-style: solid;
9
+ border-style: solid;
10
+ border-color: var(--sd-color-border-neutral-400, var(--sd-color-neutral-400));
11
+ background-color: transparent;
12
+ padding: var(--sd-spacing-4);
13
+ text-align: left;
14
+ font-size: var(--sd-text-sm);
15
+ line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
16
+ color: var(--sd-color-text-black, var(--sd-color-black));
42
17
  }
43
-
44
18
  .sd-table-cell--divider {
45
-
46
- border-right-width: 1px
47
- }
48
-
19
+ border-right-style: var(--tw-border-style);
20
+ border-right-width: 1px;
21
+ }
49
22
  .sd-table-cell--shadow-top:after, .sd-table-cell--shadow-bottom:after, .sd-table-cell--shadow-left:after, .sd-table-cell--shadow-right:after {
50
-
51
- pointer-events: none;
52
-
53
- position: absolute;
54
-
55
- --tw-gradient-from: rgb(0 0 0 / var(--sd-opacity-10, 0.1)) var(--tw-gradient-from-position);
56
-
57
- --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
58
-
59
- --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
60
-
61
- --tw-gradient-to: transparent var(--tw-gradient-to-position);
62
-
63
- opacity: var(--sd-opacity-0, 0);
64
-
65
- transition-property: opacity;
66
-
67
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
68
-
69
- transition-duration: 300ms;
70
-
71
- --tw-content: '';
72
-
73
- content: var(--tw-content)
74
- }
75
-
23
+ pointer-events: none;
24
+ position: absolute;
25
+ --tw-gradient-from: color-mix(in oklab, #000 var(--sd-opacity-10), transparent);
26
+ --tw-gradient-to: transparent;
27
+ --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
28
+ opacity: var(--sd-opacity-0);
29
+ transition-property: opacity;
30
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
31
+ transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
32
+ --tw-duration: 300ms;
33
+ transition-duration: 300ms;
34
+ --tw-content: '';
35
+ content: var(--tw-content);
36
+ }
76
37
  .sd-table-cell--shadow-top:after, .sd-table-cell--shadow-bottom:after {
77
-
78
- left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
79
-
80
- right: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
81
-
82
- height: var(--sd-spacing-2-5, 0.625rem) /* 10px */
83
- }
84
-
85
- /* fix that shows line on top of table-cell */
86
-
38
+ right: calc(var(--sd-spacing-1) * 0);
39
+ left: calc(var(--sd-spacing-1) * 0);
40
+ height: calc(var(--sd-spacing-1) * 2.5);
41
+ }
87
42
  .sd-table-cell--shadow-top:before, .sd-table-cell--shadow-bottom:before {
88
-
89
- position: absolute;
90
-
91
- left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
92
-
93
- display: block;
94
-
95
- height: 1px;
96
-
97
- width: 100%;
98
-
99
- border-width: 0.5px;
100
-
101
- --tw-border-opacity: 1;
102
-
103
- border-color: rgb(var(--sd-color-neutral-400, 195 195 195) / var(--tw-border-opacity, 1)) /* Default border color.
104
- Used for divider, teaser, container, ... */;
105
-
106
- --tw-content: '';
107
-
108
- content: var(--tw-content)
109
- }
110
-
43
+ position: absolute;
44
+ left: calc(var(--sd-spacing-1) * 0);
45
+ display: block;
46
+ height: 1px;
47
+ width: 100%;
48
+ border-style: var(--tw-border-style);
49
+ border-width: 0.5px;
50
+ border-color: var(--sd-color-border-neutral-400, var(--sd-color-neutral-400));
51
+ --tw-content: '';
52
+ content: var(--tw-content);
53
+ }
111
54
  .sd-table-cell--shadow-left:after, .sd-table-cell--shadow-right:after {
112
-
113
- top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
114
-
115
- bottom: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
116
-
117
- width: var(--sd-spacing-2-5, 0.625rem) /* 10px */
118
- }
119
-
55
+ top: calc(var(--sd-spacing-1) * 0);
56
+ bottom: calc(var(--sd-spacing-1) * 0);
57
+ width: calc(var(--sd-spacing-1) * 2.5);
58
+ }
120
59
  .sd-table-cell.sd-table-cell--shadow-active:after {
121
-
122
- opacity: 100%
123
- }
124
-
60
+ opacity: 100%;
61
+ }
125
62
  .sd-table-cell--shadow-top:after {
126
-
127
- top: -10px;
128
-
129
- background-image: linear-gradient(to top, var(--tw-gradient-stops))
130
- }
131
-
132
- /* fix that shows line on top of table-cell */
133
-
63
+ top: -10px;
64
+ --tw-gradient-position: to top in oklab;
65
+ background-image: linear-gradient(var(--tw-gradient-stops));
66
+ }
134
67
  .sd-table-cell--shadow-top:before {
135
-
136
- bottom: -1px
137
- }
138
-
68
+ bottom: -1px;
69
+ }
139
70
  .sd-table-cell--shadow-bottom:after {
140
-
141
- bottom: -10px;
142
-
143
- background-image: linear-gradient(to bottom, var(--tw-gradient-stops))
144
- }
145
-
146
- /* fix that shows line on top of table-cell */
147
-
71
+ bottom: -10px;
72
+ --tw-gradient-position: to bottom in oklab;
73
+ background-image: linear-gradient(var(--tw-gradient-stops));
74
+ }
148
75
  .sd-table-cell--shadow-bottom:before {
149
-
150
- top: -1px
151
- }
152
-
76
+ top: -1px;
77
+ }
153
78
  .sd-table-cell--shadow-left:after {
154
-
155
- left: -10px;
156
-
157
- background-image: linear-gradient(to left, var(--tw-gradient-stops))
158
- }
159
-
79
+ left: -10px;
80
+ --tw-gradient-position: to left in oklab;
81
+ background-image: linear-gradient(var(--tw-gradient-stops));
82
+ }
160
83
  .sd-table-cell--shadow-right:after {
161
-
162
- right: -10px;
163
-
164
- background-image: linear-gradient(to right, var(--tw-gradient-stops))
165
- }
166
-
84
+ right: -10px;
85
+ --tw-gradient-position: to right in oklab;
86
+ background-image: linear-gradient(var(--tw-gradient-stops));
87
+ }
167
88
  .sd-table-cell--bg-white {
168
-
169
-
170
-
171
- background-color: rgb(var(--sd-color-white, 255 255 255) / var(--tw-bg-opacity, 1)) /* Default background color (light mode) 
Used for inverted button */
172
- }
173
-
89
+ background-color: var(--sd-color-background-white, var(--sd-color-white));
90
+ }
174
91
  .sd-table-cell--bg-primary-100 {
175
-
176
-
177
-
178
- background-color: rgb(var(--sd-color-primary-100, 236 240 249) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */
179
- }
180
-
92
+ background-color: var(--sd-color-background-primary-100, var(--sd-color-primary-100));
93
+ }
181
94
  .sd-table-cell--bg-neutral-100 {
182
-
183
-
184
-
185
- background-color: rgb(var(--sd-color-neutral-100, 246 246 246) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */
95
+ background-color: var(--sd-color-background-neutral-100, var(--sd-color-neutral-100));
96
+ }
97
+ @property --tw-border-style {
98
+ syntax: "*";
99
+ inherits: false;
100
+ initial-value: solid;
101
+ }
102
+ @property --tw-gradient-position {
103
+ syntax: "*";
104
+ inherits: false;
105
+ }
106
+ @property --tw-gradient-from {
107
+ syntax: "<color>";
108
+ inherits: false;
109
+ initial-value: #0000;
110
+ }
111
+ @property --tw-gradient-via {
112
+ syntax: "<color>";
113
+ inherits: false;
114
+ initial-value: #0000;
115
+ }
116
+ @property --tw-gradient-to {
117
+ syntax: "<color>";
118
+ inherits: false;
119
+ initial-value: #0000;
120
+ }
121
+ @property --tw-gradient-stops {
122
+ syntax: "*";
123
+ inherits: false;
124
+ }
125
+ @property --tw-gradient-via-stops {
126
+ syntax: "*";
127
+ inherits: false;
128
+ }
129
+ @property --tw-gradient-from-position {
130
+ syntax: "<length-percentage>";
131
+ inherits: false;
132
+ initial-value: 0%;
133
+ }
134
+ @property --tw-gradient-via-position {
135
+ syntax: "<length-percentage>";
136
+ inherits: false;
137
+ initial-value: 50%;
138
+ }
139
+ @property --tw-gradient-to-position {
140
+ syntax: "<length-percentage>";
141
+ inherits: false;
142
+ initial-value: 100%;
143
+ }
144
+ @property --tw-duration {
145
+ syntax: "*";
146
+ inherits: false;
147
+ }
148
+ @property --tw-content {
149
+ syntax: "*";
150
+ inherits: false;
151
+ initial-value: "";
152
+ }
153
+ @layer properties {
154
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
155
+ *, ::before, ::after, ::backdrop {
156
+ --tw-border-style: solid;
157
+ --tw-gradient-position: initial;
158
+ --tw-gradient-from: #0000;
159
+ --tw-gradient-via: #0000;
160
+ --tw-gradient-to: #0000;
161
+ --tw-gradient-stops: initial;
162
+ --tw-gradient-via-stops: initial;
163
+ --tw-gradient-from-position: 0%;
164
+ --tw-gradient-via-position: 50%;
165
+ --tw-gradient-to-position: 100%;
166
+ --tw-duration: initial;
167
+ --tw-content: "";
168
+ }
169
+ }
186
170
  }
@@ -1,24 +1,31 @@
1
- /**
2
- * A table is organized structured content, used for scanning, comparing, and analyzing the data.
3
- * @name sd-table
4
- * @status stable
5
- * @since 1.13
6
- */
7
-
8
- /*
9
- * Remove inherited styles from table before applying our styles.
10
- */
11
-
12
- .sd-table,
13
- .sd-prose table {
1
+ /*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
3
+ .sd-table, .sd-prose table {
14
4
  all: unset;
15
5
  display: table;
16
6
  border-collapse: collapse;
17
- --tw-border-spacing-x: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
18
- --tw-border-spacing-y: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
7
+ --tw-border-spacing-x: calc(var(--sd-spacing-1) * 0);
8
+ --tw-border-spacing-y: calc(var(--sd-spacing-1) * 0);
19
9
  border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
20
10
  }
21
-
22
11
  .sd-table thead tr:first-of-type, .sd-table tfoot tr:first-of-type, .sd-prose table thead tr:first-of-type, .sd-prose table tfoot tr:first-of-type {
23
- position: relative;
12
+ position: relative;
13
+ }
14
+ @property --tw-border-spacing-x {
15
+ syntax: "<length>";
16
+ inherits: false;
17
+ initial-value: 0;
18
+ }
19
+ @property --tw-border-spacing-y {
20
+ syntax: "<length>";
21
+ inherits: false;
22
+ initial-value: 0;
23
+ }
24
+ @layer properties {
25
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
26
+ *, ::before, ::after, ::backdrop {
27
+ --tw-border-spacing-x: 0;
28
+ --tw-border-spacing-y: 0;
29
+ }
30
+ }
24
31
  }