@solid-design-system/styles 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/cdn/modules/status-badge.css +1 -0
  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/paragraph.css +1 -1
  19. package/cdn-versioned/modules/prose.css +1 -1
  20. package/cdn-versioned/modules/status-badge.css +1 -0
  21. package/cdn-versioned/modules/table-cell.css +1 -1
  22. package/cdn-versioned/modules/table.css +1 -1
  23. package/cdn-versioned/solid-styles.css +1 -1
  24. package/dist/modules/status-badge.css +61 -0
  25. package/dist/solid-styles.css +44 -0
  26. package/dist-versioned/modules/chip.css +6 -6
  27. package/dist-versioned/modules/container.css +45 -45
  28. package/dist-versioned/modules/copyright.css +11 -11
  29. package/dist-versioned/modules/display.css +9 -9
  30. package/dist-versioned/modules/flag.css +6 -6
  31. package/dist-versioned/modules/footnotes.css +7 -7
  32. package/dist-versioned/modules/headline.css +67 -67
  33. package/dist-versioned/modules/hidden-links.css +7 -7
  34. package/dist-versioned/modules/interactive.css +38 -38
  35. package/dist-versioned/modules/leadtext.css +8 -8
  36. package/dist-versioned/modules/list.css +47 -47
  37. package/dist-versioned/modules/mark.css +2 -2
  38. package/dist-versioned/modules/media.css +7 -7
  39. package/dist-versioned/modules/meta.css +12 -12
  40. package/dist-versioned/modules/paragraph.css +8 -8
  41. package/dist-versioned/modules/prose.css +231 -231
  42. package/dist-versioned/modules/status-badge.css +61 -0
  43. package/dist-versioned/modules/table-cell.css +23 -23
  44. package/dist-versioned/modules/table.css +4 -4
  45. package/dist-versioned/solid-styles.css +371 -327
  46. package/package.json +5 -5
@@ -0,0 +1,61 @@
1
+ /**
2
+ * Description of the style.
3
+ * @name sd-1-1-0-status-badge
4
+ * @status stable
5
+ * @since 1.0
6
+ * @variant { sucess | warning | error | info } sd-1-1-0-status-badge--...
7
+ */
8
+
9
+ .sd-1-1-0-status-badge {
10
+
11
+ display: inline-flex;
12
+
13
+ align-items: center
14
+ }
15
+
16
+ .sd-1-1-0-status-badge sd-icon {
17
+
18
+ margin-right: var(--sd-spacing-2, 0.5rem) /* 8px */;
19
+
20
+ 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
+
35
+ .sd-1-1-0-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
+
42
+ .sd-1-1-0-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
+
49
+ .sd-1-1-0-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
+
56
+ .sd-1-1-0-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
+ }
@@ -1,17 +1,17 @@
1
1
  /**
2
2
  * A table cell is a single cell inside a table, used to display discrete data elements.
3
- * @name sd-1-0-0-table-cell
3
+ * @name sd-1-1-0-table-cell
4
4
  * @status stable
5
5
  * @since 1.13
6
- * @boolean sd-1-0-0-table-cell--divider Displays a divider to the right.
7
- * @variant { white | primary-100 | neutral-100 } sd-1-0-0-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-1-0-0-table-cell--shadow-active Displays the table shadow.
9
- * @variant { top | left | right | bottom } sd-1-0-0-table-cell--shadow-... Applies the selected shadow to the table cell.
6
+ * @boolean sd-1-1-0-table-cell--divider Displays a divider to the right.
7
+ * @variant { white | primary-100 | neutral-100 } sd-1-1-0-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-1-1-0-table-cell--shadow-active Displays the table shadow.
9
+ * @variant { top | left | right | bottom } sd-1-1-0-table-cell--shadow-... Applies the selected shadow to the table cell.
10
10
  */
11
11
 
12
- .sd-1-0-0-prose td,
13
- .sd-1-0-0-prose th,
14
- .sd-1-0-0-table-cell {
12
+ .sd-1-1-0-prose td,
13
+ .sd-1-1-0-prose th,
14
+ .sd-1-1-0-table-cell {
15
15
 
16
16
  border-top-width: 1px;
17
17
 
@@ -41,12 +41,12 @@ Used for divider, teaser, container, ... */;
41
41
  color: rgb(var(--sd-color-black, 24 24 24) / var(--tw-text-opacity, 1)) /* Default text color */
42
42
  }
43
43
 
44
- .sd-1-0-0-table-cell--divider {
44
+ .sd-1-1-0-table-cell--divider {
45
45
 
46
46
  border-right-width: 1px
47
47
  }
48
48
 
49
- .sd-1-0-0-table-cell--shadow-top:after, .sd-1-0-0-table-cell--shadow-bottom:after, .sd-1-0-0-table-cell--shadow-left:after, .sd-1-0-0-table-cell--shadow-right:after {
49
+ .sd-1-1-0-table-cell--shadow-top:after, .sd-1-1-0-table-cell--shadow-bottom:after, .sd-1-1-0-table-cell--shadow-left:after, .sd-1-1-0-table-cell--shadow-right:after {
50
50
 
51
51
  pointer-events: none;
52
52
 
@@ -73,7 +73,7 @@ Used for divider, teaser, container, ... */;
73
73
  content: var(--tw-content)
74
74
  }
75
75
 
76
- .sd-1-0-0-table-cell--shadow-top:after, .sd-1-0-0-table-cell--shadow-bottom:after {
76
+ .sd-1-1-0-table-cell--shadow-top:after, .sd-1-1-0-table-cell--shadow-bottom:after {
77
77
 
78
78
  left: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
79
79
 
@@ -84,7 +84,7 @@ Used for divider, teaser, container, ... */;
84
84
 
85
85
  /* fix that shows line on top of table-cell */
86
86
 
87
- .sd-1-0-0-table-cell--shadow-top:before, .sd-1-0-0-table-cell--shadow-bottom:before {
87
+ .sd-1-1-0-table-cell--shadow-top:before, .sd-1-1-0-table-cell--shadow-bottom:before {
88
88
 
89
89
  position: absolute;
90
90
 
@@ -108,7 +108,7 @@ Used for divider, teaser, container, ... */;
108
108
  content: var(--tw-content)
109
109
  }
110
110
 
111
- .sd-1-0-0-table-cell--shadow-left:after, .sd-1-0-0-table-cell--shadow-right:after {
111
+ .sd-1-1-0-table-cell--shadow-left:after, .sd-1-1-0-table-cell--shadow-right:after {
112
112
 
113
113
  top: var(--sd-spacing-0, 0px) /* No spacing (manually added) */;
114
114
 
@@ -117,12 +117,12 @@ Used for divider, teaser, container, ... */;
117
117
  width: var(--sd-spacing-2-5, 0.625rem) /* 10px */
118
118
  }
119
119
 
120
- .sd-1-0-0-table-cell.sd-1-0-0-table-cell--shadow-active:after {
120
+ .sd-1-1-0-table-cell.sd-1-1-0-table-cell--shadow-active:after {
121
121
 
122
122
  opacity: 100%
123
123
  }
124
124
 
125
- .sd-1-0-0-table-cell--shadow-top:after {
125
+ .sd-1-1-0-table-cell--shadow-top:after {
126
126
 
127
127
  top: -10px;
128
128
 
@@ -131,12 +131,12 @@ Used for divider, teaser, container, ... */;
131
131
 
132
132
  /* fix that shows line on top of table-cell */
133
133
 
134
- .sd-1-0-0-table-cell--shadow-top:before {
134
+ .sd-1-1-0-table-cell--shadow-top:before {
135
135
 
136
136
  bottom: -1px
137
137
  }
138
138
 
139
- .sd-1-0-0-table-cell--shadow-bottom:after {
139
+ .sd-1-1-0-table-cell--shadow-bottom:after {
140
140
 
141
141
  bottom: -10px;
142
142
 
@@ -145,40 +145,40 @@ Used for divider, teaser, container, ... */;
145
145
 
146
146
  /* fix that shows line on top of table-cell */
147
147
 
148
- .sd-1-0-0-table-cell--shadow-bottom:before {
148
+ .sd-1-1-0-table-cell--shadow-bottom:before {
149
149
 
150
150
  top: -1px
151
151
  }
152
152
 
153
- .sd-1-0-0-table-cell--shadow-left:after {
153
+ .sd-1-1-0-table-cell--shadow-left:after {
154
154
 
155
155
  left: -10px;
156
156
 
157
157
  background-image: linear-gradient(to left, var(--tw-gradient-stops))
158
158
  }
159
159
 
160
- .sd-1-0-0-table-cell--shadow-right:after {
160
+ .sd-1-1-0-table-cell--shadow-right:after {
161
161
 
162
162
  right: -10px;
163
163
 
164
164
  background-image: linear-gradient(to right, var(--tw-gradient-stops))
165
165
  }
166
166
 
167
- .sd-1-0-0-table-cell--bg-white {
167
+ .sd-1-1-0-table-cell--bg-white {
168
168
 
169
169
 
170
170
 
171
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
172
  }
173
173
 
174
- .sd-1-0-0-table-cell--bg-primary-100 {
174
+ .sd-1-1-0-table-cell--bg-primary-100 {
175
175
 
176
176
 
177
177
 
178
178
  background-color: rgb(var(--sd-color-primary-100, 236 240 249) / var(--tw-bg-opacity, 1)) /* Additional background color (light mode) */
179
179
  }
180
180
 
181
- .sd-1-0-0-table-cell--bg-neutral-100 {
181
+ .sd-1-1-0-table-cell--bg-neutral-100 {
182
182
 
183
183
 
184
184
 
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * A table is organized structured content, used for scanning, comparing, and analyzing the data.
3
- * @name sd-1-0-0-table
3
+ * @name sd-1-1-0-table
4
4
  * @status stable
5
5
  * @since 1.13
6
6
  */
@@ -9,8 +9,8 @@
9
9
  * Remove inherited styles from table before applying our styles.
10
10
  */
11
11
 
12
- .sd-1-0-0-table,
13
- .sd-1-0-0-prose table {
12
+ .sd-1-1-0-table,
13
+ .sd-1-1-0-prose table {
14
14
  all: unset;
15
15
  display: table;
16
16
  border-collapse: collapse;
@@ -19,6 +19,6 @@
19
19
  border-spacing: var(--tw-border-spacing-x) var(--tw-border-spacing-y);
20
20
  }
21
21
 
22
- .sd-1-0-0-table thead tr:first-of-type, .sd-1-0-0-table tfoot tr:first-of-type, .sd-1-0-0-prose table thead tr:first-of-type, .sd-1-0-0-prose table tfoot tr:first-of-type {
22
+ .sd-1-1-0-table thead tr:first-of-type, .sd-1-1-0-table tfoot tr:first-of-type, .sd-1-1-0-prose table thead tr:first-of-type, .sd-1-1-0-prose table tfoot tr:first-of-type {
23
23
  position: relative;
24
24
  }