mnfst 0.5.285 → 0.5.286

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.
@@ -5,7 +5,7 @@
5
5
  @layer base {
6
6
 
7
7
  /* All text elements */
8
- :where(abbr, address, blockquote, code, del, figcaption, h1, h2, h3, h4, h5, h6, ins, label:not(.avatar, :has([type=file], [type=search])), legend, p, small, cite, q):not(.unstyle),
8
+ :where(abbr, address, blockquote, code, del, figcaption, h1, h2, h3, h4, h5, h6, ins, label:not(.avatar, :has(> :where([type=file], [type=search]))), legend, p, small, cite, q):not(.unstyle),
9
9
  .h1,
10
10
  .h2,
11
11
  .h3,
@@ -109,7 +109,7 @@
109
109
  color: var(--color-content-neutral, oklch(43.9% 0 0))
110
110
  }
111
111
 
112
- &:where(:has([x-icon])) {
112
+ &:where(:has(> [x-icon], > * > [x-icon])) {
113
113
  display: inline-flex;
114
114
  align-items: center;
115
115
  gap: 0.25em
@@ -296,7 +296,7 @@
296
296
  :where(ul):not(.unstyle) {
297
297
  padding-inline-start: 1.75ch;
298
298
 
299
- &:has(input[type=checkbox]) {
299
+ &:has(> :where(li) > input[type=checkbox], > :where(li) > :where(p, label) > input[type=checkbox]) {
300
300
  padding-inline-start: 0
301
301
  }
302
302
 
@@ -317,7 +317,7 @@
317
317
  }
318
318
 
319
319
  /* Allow icons to replace markers */
320
- &:has([x-icon]) {
320
+ &:has(> [x-icon]) {
321
321
  position: relative;
322
322
  display: inherit;
323
323
  list-style: none;
@@ -330,7 +330,7 @@
330
330
  }
331
331
 
332
332
  /* Checklist items */
333
- &:has(input[type=checkbox]) {
333
+ &:has(> input[type=checkbox], > :where(p, label) > input[type=checkbox]) {
334
334
  position: relative;
335
335
  display: inherit;
336
336
  list-style: none;
@@ -359,14 +359,14 @@
359
359
  /* RTL list overrides */
360
360
  [dir=rtl] :where(ol):not(nav ol):not(menu ol):not(.unstyle),
361
361
  [dir=rtl] :where(ul):not(nav ul):not(menu ul):not(.unstyle) {
362
- & li:has([x-icon]) {
362
+ & li:has(> [x-icon]) {
363
363
  & [x-icon] {
364
364
  left: auto;
365
365
  right: -1.75ch
366
366
  }
367
367
  }
368
368
 
369
- & li:has(input[type=checkbox]) {
369
+ & li:has(> input[type=checkbox], > :where(p, label) > input[type=checkbox]) {
370
370
  & input[type=checkbox] {
371
371
  left: auto;
372
372
  right: -1.25ch
@@ -231,7 +231,7 @@
231
231
  border: 1px solid color-mix(in oklch, var(--color-field-surface, color-mix(in oklch, oklch(20.5% 0 0) 10%, transparent)) 15%, transparent);
232
232
 
233
233
  /* Auto format asides with icons */
234
- &:has([x-icon]):not([x-code-group] aside, aside.frame) {
234
+ &:has(> [x-icon]):not([x-code-group] aside, aside.frame) {
235
235
  display: flex;
236
236
  flex-direction: row;
237
237
  gap: 1rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mnfst",
3
- "version": "0.5.285",
3
+ "version": "0.5.286",
4
4
  "private": false,
5
5
  "workspaces": [
6
6
  "templates/starter",