@stackoverflow/stacks 3.0.0-beta.16 → 3.0.0-beta.18

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.
@@ -179,6 +179,7 @@
179
179
  // Borrowed from Wordpress
180
180
  // https://make.wordpress.org/accessibility/2015/02/09/hiding-text-for-screen-readers-with-wordpress-core/
181
181
  border: 0;
182
+ /* stylelint-disable-next-line property-no-deprecated -- clip is kept for older browser compatibility alongside clip-path */
182
183
  clip: rect(var(--su-static1), var(--su-static1), var(--su-static1), var(--su-static1)); // rect(1px, 1px, 1px, 1px)
183
184
  clip-path: inset(50%);
184
185
  height: var(--su-static1);
@@ -13,14 +13,14 @@
13
13
  // legal options are `meyer` for the Eric Meyer reset, and `none` if no CSS reset should be compiled in.
14
14
  //
15
15
  //
16
- // #stacks-config-static { @breakpoints: 1264px, 980px, 640px; }
16
+ // #stacks-config-static { @breakpoints: 92.25rem, 71.875rem, 48.75rem; }
17
17
  //
18
18
  // @breakpoints is a list of values "optional_selector1, large_breakpoint1, medium_breakpoint1, small_breakpoint1, optional_selector2, ..."
19
19
  //
20
20
  // Example:
21
21
  //
22
22
  // @breakpoints:
23
- // 1264px, 980px, 640px,
23
+ // 92.25rem, 71.875rem, 48.75rem,
24
24
  // 'html.smaller_breakpoints', 1164px, 880px, 540px,
25
25
  // 'html.even_smaller_breakpoints', 200px, 100px, 50px;
26
26
  //
@@ -37,7 +37,7 @@
37
37
  // ...
38
38
  // </html>
39
39
  //
40
- // With the example @breakpoints setting from above, this <div> will be hidden below 1264px even though the smaller_breakpoints class
40
+ // With the example @breakpoints setting from above, this <div> will be hidden below 92.25rem even though the smaller_breakpoints class
41
41
  // is on the root element, because the selector-free breakpoint group still applies.
42
42
  //
43
43
  // Any selector, if given, MUST select the root (html) element.
@@ -248,6 +248,7 @@
248
248
  &--radio { // This lives alongside a .s-btn element. These styles are the equivelent of `.v-visible-sr`
249
249
  border: 0;
250
250
  clip-path: inset(50%);
251
+ /* stylelint-disable-next-line property-no-deprecated -- clip is kept for older browser compatibility alongside clip-path */
251
252
  clip: rect(var(--su-static1), var(--su-static1), var(--su-static1), var(--su-static1)); // rect(1px, 1px, 1px, 1px)
252
253
  height: var(--su-static1);
253
254
  margin: var(--sun1);
@@ -171,7 +171,7 @@
171
171
  //Add spacing between multiple notice actions
172
172
  gap: calc(var(--su24) - var(--su2)); //22px
173
173
  //Fix css issue caused by svelte-sonner-toast in the NoticeAction svelte component
174
- word-wrap: initial !important;
174
+ overflow-wrap: initial !important;
175
175
  }
176
176
 
177
177
  // STYLES MODIFIED BY COMPONENT-SPECIFIC CUSTOM PROPERTIES
@@ -55,9 +55,9 @@ body {
55
55
  // ============================================================================
56
56
  // $ RESPONSIVE BREAKPOINTS
57
57
  // ----------------------------------------------------------------------------
58
- @breakpoint-lg: 1264px;
59
- @breakpoint-md: 980px;
60
- @breakpoint-sm: 640px;
58
+ @breakpoint-lg: 92.25rem; // 1476px
59
+ @breakpoint-md: 71.875rem; // 1150px
60
+ @breakpoint-sm: 48.75rem; // 780px
61
61
 
62
62
  // ============================================================================
63
63
  // $ SCROLLBAR STYLING
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stackoverflow/stacks",
3
3
  "description": "Stack Overflow’s CSS and Design Pattern Library. Stacks is an atomic CSS library with classes and components for rapidly building Stack Overflow.",
4
- "version": "3.0.0-beta.16",
4
+ "version": "3.0.0-beta.18",
5
5
  "files": [
6
6
  "dist",
7
7
  "lib",