@floegence/floe-webapp-core 0.50.4 → 0.50.5

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.
package/dist/floe.css CHANGED
@@ -432,40 +432,39 @@
432
432
  }
433
433
 
434
434
  /* A field has one visible border. Compound controls mark the element that owns it.
435
- * This utility changes color only; it never replaces an existing decorative shadow.
435
+ * Keep the contract unlayered so host base borders cannot silently hide focus.
436
+ * It changes color only and never replaces an existing decorative shadow.
436
437
  */
437
- @layer utilities {
438
- :is(
439
- input:not([type='checkbox'], [type='radio'], [type='range'], [type='color'], [type='file'], [type='button'], [type='submit'], [type='reset'], [type='image']),
440
- textarea, select, [data-floe-input-surface]
441
- ) {
442
- outline: none;
443
- }
438
+ :is(
439
+ input:not([type='checkbox'], [type='radio'], [type='range'], [type='color'], [type='file'], [type='button'], [type='submit'], [type='reset'], [type='image']),
440
+ textarea, select, [data-floe-input-surface]
441
+ ) {
442
+ outline: none;
443
+ }
444
444
 
445
- :is(
446
- input:not([type='checkbox'], [type='radio'], [type='range'], [type='color'], [type='file'], [type='button'], [type='submit'], [type='reset'], [type='image']),
447
- textarea, select, [data-floe-input-surface]
448
- ):focus:not(:disabled):not([aria-disabled='true']):not([data-floe-input-surface] :is(input, textarea, select)),
449
- [data-floe-input-surface]:focus-within:not(:disabled):not([aria-disabled='true']) {
450
- border-color: var(--floe-input-focus-color, var(--ring));
451
- }
445
+ :is(
446
+ input:not([type='checkbox'], [type='radio'], [type='range'], [type='color'], [type='file'], [type='button'], [type='submit'], [type='reset'], [type='image']),
447
+ textarea, select, [data-floe-input-surface]
448
+ ):focus:not(:disabled):not([aria-disabled='true']):not([data-floe-input-surface] :is(input, textarea, select)),
449
+ [data-floe-input-surface]:focus-within:not(:disabled):not([aria-disabled='true']) {
450
+ border-color: var(--floe-input-focus-color, var(--ring));
451
+ }
452
452
 
453
- :is(input, textarea, select, [data-floe-input-surface])[aria-invalid='true'] {
454
- --floe-input-focus-color: var(--error);
455
- }
453
+ :is(input, textarea, select, [data-floe-input-surface])[aria-invalid='true'] {
454
+ --floe-input-focus-color: var(--error);
455
+ }
456
456
 
457
- /* Internal buttons use a local fill to identify keyboard focus without a second frame. */
458
- [data-floe-input-surface] button:focus-visible {
459
- outline: none;
460
- background-color: var(--accent);
461
- color: var(--accent-foreground);
462
- }
457
+ /* Internal buttons use a local fill to identify keyboard focus without a second frame. */
458
+ [data-floe-input-surface] button:focus-visible {
459
+ outline: none;
460
+ background-color: var(--accent);
461
+ color: var(--accent-foreground);
462
+ }
463
463
 
464
- @media (forced-colors: active) {
465
- :is(input, textarea, select, [data-floe-input-surface]),
466
- :is(input, textarea, select, [data-floe-input-surface])[aria-invalid='true'] {
467
- --floe-input-focus-color: Highlight;
468
- }
464
+ @media (forced-colors: active) {
465
+ :is(input, textarea, select, [data-floe-input-surface]),
466
+ :is(input, textarea, select, [data-floe-input-surface])[aria-invalid='true'] {
467
+ --floe-input-focus-color: Highlight;
469
468
  }
470
469
  }
471
470