@zazz-ui/core 0.6.3 → 0.7.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.
- package/AUTHORING.md +2 -2
- package/CHANGELOG.md +13 -0
- package/README.md +2 -2
- package/dist/sri.json +48 -46
- package/dist/zazz.css +1 -1
- package/editor/zazz.css-data.json +312 -24
- package/editor/zazz.language-data.json +9 -9
- package/editor/zazz.lint-data.json +2028 -0
- package/package.json +1 -1
- package/src/base/_defaults.css +367 -0
- package/src/base/_layers.css +6 -2
- package/src/base/_properties-2xl.css +8 -2
- package/src/base/_properties-active.css +12 -0
- package/src/base/_properties-checked.css +12 -0
- package/src/base/_properties-current.css +12 -0
- package/src/base/_properties-disabled.css +12 -0
- package/src/base/_properties-focus-visible.css +12 -0
- package/src/base/_properties-focus-within.css +12 -0
- package/src/base/_properties-hover.css +12 -0
- package/src/base/_properties-lg.css +8 -2
- package/src/base/_properties-md.css +8 -2
- package/src/base/_properties-open.css +12 -0
- package/src/base/_properties-sm.css +8 -2
- package/src/base/_properties-starting.css +6 -0
- package/src/base/_properties-stuck.css +6 -0
- package/src/base/_properties-xl.css +8 -2
- package/src/base/_properties.css +12 -3
- package/src/base/_utilities-box.css +0 -15
- package/src/base/_utilities-color.css +0 -3
- package/src/base/_utilities-effects.css +0 -15
- package/src/base/_utilities-flow.css +79 -68
- package/src/base/_utilities-grid.css +20 -32
- package/src/base/_utilities-sizing.css +0 -3
- package/src/base/_utilities-spacing.css +24 -34
- package/src/base/_utilities-tier-2xl.css +4 -1
- package/src/base/_utilities-tier-active.css +6 -0
- package/src/base/_utilities-tier-checked.css +6 -0
- package/src/base/_utilities-tier-current.css +6 -0
- package/src/base/_utilities-tier-disabled.css +6 -0
- package/src/base/_utilities-tier-focus-visible.css +6 -0
- package/src/base/_utilities-tier-focus-within.css +6 -0
- package/src/base/_utilities-tier-hover.css +6 -0
- package/src/base/_utilities-tier-lg.css +4 -1
- package/src/base/_utilities-tier-md.css +4 -1
- package/src/base/_utilities-tier-open.css +6 -0
- package/src/base/_utilities-tier-sm.css +4 -1
- package/src/base/_utilities-tier-starting.css +3 -0
- package/src/base/_utilities-tier-stuck.css +3 -0
- package/src/base/_utilities-tier-xl.css +4 -1
- package/src/base/_utilities-typography.css +0 -9
- package/src/base/kit-styling.d.ts +11 -0
- package/src/base/kit-styling.d.ts.map +1 -0
- package/src/base/kit-styling.js +467 -0
- package/src/base/kit-styling.ts +470 -0
- package/src/base/utilities.d.ts +14 -6
- package/src/base/utilities.d.ts.map +1 -1
- package/src/base/utilities.js +65 -31
- package/src/base/utilities.ts +69 -37
- package/src/index.css +1 -0
- package/src/manifest.d.ts.map +1 -1
- package/src/manifest.js +2 -1
- package/src/manifest.ts +2 -1
- package/src/primitives/debug/audit-core.d.ts +8 -0
- package/src/primitives/debug/audit-core.d.ts.map +1 -1
- package/src/primitives/debug/audit-core.js +24 -4
- package/src/primitives/debug/audit-core.ts +42 -3
- package/src/primitives/debug/debug.d.ts +0 -15
- package/src/primitives/debug/debug.d.ts.map +1 -1
- package/src/primitives/debug/debug.js +11 -2
- package/src/primitives/debug/debug.ts +12 -1
|
@@ -485,6 +485,294 @@
|
|
|
485
485
|
"name": "--after-position",
|
|
486
486
|
"description": "--position on the ::after pseudo-element."
|
|
487
487
|
},
|
|
488
|
+
{
|
|
489
|
+
"name": "--anchor-name",
|
|
490
|
+
"description": "anchor-name — any value; flow family."
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"name": "--anchor-name--starting",
|
|
494
|
+
"description": "--anchor-name in the element's starting style (@starting-style): the value a --transition animates from on first render or when leaving display: none."
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"name": "--anchor-name--disabled",
|
|
498
|
+
"description": "--anchor-name in the disabled state."
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"name": "--anchor-name--active",
|
|
502
|
+
"description": "--anchor-name in the active state."
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "--anchor-name--focus-visible",
|
|
506
|
+
"description": "--anchor-name in the focus-visible state."
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"name": "--anchor-name--focus-within",
|
|
510
|
+
"description": "--anchor-name in the focus-within state."
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"name": "--anchor-name--hover",
|
|
514
|
+
"description": "--anchor-name in the hover state."
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
"name": "--anchor-name--checked",
|
|
518
|
+
"description": "--anchor-name in the checked state."
|
|
519
|
+
},
|
|
520
|
+
{
|
|
521
|
+
"name": "--anchor-name--current",
|
|
522
|
+
"description": "--anchor-name in the current state."
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"name": "--anchor-name--open",
|
|
526
|
+
"description": "--anchor-name in the open state."
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
"name": "--anchor-name--stuck",
|
|
530
|
+
"description": "--anchor-name while the nearest sticky ancestor is stuck to its --stuck-state side (default top); descendants only; experimental."
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"name": "--anchor-name--sm",
|
|
534
|
+
"description": "--anchor-name at the sm breakpoint and up."
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"name": "--anchor-name--md",
|
|
538
|
+
"description": "--anchor-name at the md breakpoint and up."
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"name": "--anchor-name--lg",
|
|
542
|
+
"description": "--anchor-name at the lg breakpoint and up."
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
"name": "--anchor-name--xl",
|
|
546
|
+
"description": "--anchor-name at the xl breakpoint and up."
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"name": "--anchor-name--2xl",
|
|
550
|
+
"description": "--anchor-name at the 2xl breakpoint and up."
|
|
551
|
+
},
|
|
552
|
+
{
|
|
553
|
+
"name": "--group-anchor-name--disabled",
|
|
554
|
+
"description": "--anchor-name while an ancestor with data-ui=\"group\" is disabled."
|
|
555
|
+
},
|
|
556
|
+
{
|
|
557
|
+
"name": "--group-anchor-name--active",
|
|
558
|
+
"description": "--anchor-name while an ancestor with data-ui=\"group\" is active."
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
"name": "--group-anchor-name--focus-visible",
|
|
562
|
+
"description": "--anchor-name while an ancestor with data-ui=\"group\" is focus-visible."
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
"name": "--group-anchor-name--focus-within",
|
|
566
|
+
"description": "--anchor-name while an ancestor with data-ui=\"group\" is focus-within."
|
|
567
|
+
},
|
|
568
|
+
{
|
|
569
|
+
"name": "--group-anchor-name--hover",
|
|
570
|
+
"description": "--anchor-name while an ancestor with data-ui=\"group\" is hover."
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"name": "--group-anchor-name--checked",
|
|
574
|
+
"description": "--anchor-name while an ancestor with data-ui=\"group\" is checked."
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"name": "--group-anchor-name--current",
|
|
578
|
+
"description": "--anchor-name while an ancestor with data-ui=\"group\" is current."
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"name": "--group-anchor-name--open",
|
|
582
|
+
"description": "--anchor-name while an ancestor with data-ui=\"group\" is open."
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
"name": "--position-anchor",
|
|
586
|
+
"description": "position-anchor — any value; flow family."
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
"name": "--position-anchor--starting",
|
|
590
|
+
"description": "--position-anchor in the element's starting style (@starting-style): the value a --transition animates from on first render or when leaving display: none."
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"name": "--position-anchor--disabled",
|
|
594
|
+
"description": "--position-anchor in the disabled state."
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"name": "--position-anchor--active",
|
|
598
|
+
"description": "--position-anchor in the active state."
|
|
599
|
+
},
|
|
600
|
+
{
|
|
601
|
+
"name": "--position-anchor--focus-visible",
|
|
602
|
+
"description": "--position-anchor in the focus-visible state."
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"name": "--position-anchor--focus-within",
|
|
606
|
+
"description": "--position-anchor in the focus-within state."
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"name": "--position-anchor--hover",
|
|
610
|
+
"description": "--position-anchor in the hover state."
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"name": "--position-anchor--checked",
|
|
614
|
+
"description": "--position-anchor in the checked state."
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
"name": "--position-anchor--current",
|
|
618
|
+
"description": "--position-anchor in the current state."
|
|
619
|
+
},
|
|
620
|
+
{
|
|
621
|
+
"name": "--position-anchor--open",
|
|
622
|
+
"description": "--position-anchor in the open state."
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
"name": "--position-anchor--stuck",
|
|
626
|
+
"description": "--position-anchor while the nearest sticky ancestor is stuck to its --stuck-state side (default top); descendants only; experimental."
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"name": "--position-anchor--sm",
|
|
630
|
+
"description": "--position-anchor at the sm breakpoint and up."
|
|
631
|
+
},
|
|
632
|
+
{
|
|
633
|
+
"name": "--position-anchor--md",
|
|
634
|
+
"description": "--position-anchor at the md breakpoint and up."
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"name": "--position-anchor--lg",
|
|
638
|
+
"description": "--position-anchor at the lg breakpoint and up."
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
"name": "--position-anchor--xl",
|
|
642
|
+
"description": "--position-anchor at the xl breakpoint and up."
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"name": "--position-anchor--2xl",
|
|
646
|
+
"description": "--position-anchor at the 2xl breakpoint and up."
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
"name": "--group-position-anchor--disabled",
|
|
650
|
+
"description": "--position-anchor while an ancestor with data-ui=\"group\" is disabled."
|
|
651
|
+
},
|
|
652
|
+
{
|
|
653
|
+
"name": "--group-position-anchor--active",
|
|
654
|
+
"description": "--position-anchor while an ancestor with data-ui=\"group\" is active."
|
|
655
|
+
},
|
|
656
|
+
{
|
|
657
|
+
"name": "--group-position-anchor--focus-visible",
|
|
658
|
+
"description": "--position-anchor while an ancestor with data-ui=\"group\" is focus-visible."
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"name": "--group-position-anchor--focus-within",
|
|
662
|
+
"description": "--position-anchor while an ancestor with data-ui=\"group\" is focus-within."
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"name": "--group-position-anchor--hover",
|
|
666
|
+
"description": "--position-anchor while an ancestor with data-ui=\"group\" is hover."
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"name": "--group-position-anchor--checked",
|
|
670
|
+
"description": "--position-anchor while an ancestor with data-ui=\"group\" is checked."
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"name": "--group-position-anchor--current",
|
|
674
|
+
"description": "--position-anchor while an ancestor with data-ui=\"group\" is current."
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"name": "--group-position-anchor--open",
|
|
678
|
+
"description": "--position-anchor while an ancestor with data-ui=\"group\" is open."
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
"name": "--position-area",
|
|
682
|
+
"description": "position-area — any value; flow family."
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"name": "--position-area--starting",
|
|
686
|
+
"description": "--position-area in the element's starting style (@starting-style): the value a --transition animates from on first render or when leaving display: none."
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"name": "--position-area--disabled",
|
|
690
|
+
"description": "--position-area in the disabled state."
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
"name": "--position-area--active",
|
|
694
|
+
"description": "--position-area in the active state."
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"name": "--position-area--focus-visible",
|
|
698
|
+
"description": "--position-area in the focus-visible state."
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"name": "--position-area--focus-within",
|
|
702
|
+
"description": "--position-area in the focus-within state."
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"name": "--position-area--hover",
|
|
706
|
+
"description": "--position-area in the hover state."
|
|
707
|
+
},
|
|
708
|
+
{
|
|
709
|
+
"name": "--position-area--checked",
|
|
710
|
+
"description": "--position-area in the checked state."
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"name": "--position-area--current",
|
|
714
|
+
"description": "--position-area in the current state."
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"name": "--position-area--open",
|
|
718
|
+
"description": "--position-area in the open state."
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"name": "--position-area--stuck",
|
|
722
|
+
"description": "--position-area while the nearest sticky ancestor is stuck to its --stuck-state side (default top); descendants only; experimental."
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"name": "--position-area--sm",
|
|
726
|
+
"description": "--position-area at the sm breakpoint and up."
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"name": "--position-area--md",
|
|
730
|
+
"description": "--position-area at the md breakpoint and up."
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"name": "--position-area--lg",
|
|
734
|
+
"description": "--position-area at the lg breakpoint and up."
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"name": "--position-area--xl",
|
|
738
|
+
"description": "--position-area at the xl breakpoint and up."
|
|
739
|
+
},
|
|
740
|
+
{
|
|
741
|
+
"name": "--position-area--2xl",
|
|
742
|
+
"description": "--position-area at the 2xl breakpoint and up."
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"name": "--group-position-area--disabled",
|
|
746
|
+
"description": "--position-area while an ancestor with data-ui=\"group\" is disabled."
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
"name": "--group-position-area--active",
|
|
750
|
+
"description": "--position-area while an ancestor with data-ui=\"group\" is active."
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"name": "--group-position-area--focus-visible",
|
|
754
|
+
"description": "--position-area while an ancestor with data-ui=\"group\" is focus-visible."
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"name": "--group-position-area--focus-within",
|
|
758
|
+
"description": "--position-area while an ancestor with data-ui=\"group\" is focus-within."
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"name": "--group-position-area--hover",
|
|
762
|
+
"description": "--position-area while an ancestor with data-ui=\"group\" is hover."
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"name": "--group-position-area--checked",
|
|
766
|
+
"description": "--position-area while an ancestor with data-ui=\"group\" is checked."
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"name": "--group-position-area--current",
|
|
770
|
+
"description": "--position-area while an ancestor with data-ui=\"group\" is current."
|
|
771
|
+
},
|
|
772
|
+
{
|
|
773
|
+
"name": "--group-position-area--open",
|
|
774
|
+
"description": "--position-area while an ancestor with data-ui=\"group\" is open."
|
|
775
|
+
},
|
|
488
776
|
{
|
|
489
777
|
"name": "--flex-wrap",
|
|
490
778
|
"description": "flex-wrap — a keyword; flow family.",
|
|
@@ -575,30 +863,6 @@
|
|
|
575
863
|
}
|
|
576
864
|
]
|
|
577
865
|
},
|
|
578
|
-
{
|
|
579
|
-
"name": "--shrink",
|
|
580
|
-
"description": "flex-shrink — any value; flow family."
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
"name": "--shrink--sm",
|
|
584
|
-
"description": "--shrink at the sm breakpoint and up."
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
"name": "--shrink--md",
|
|
588
|
-
"description": "--shrink at the md breakpoint and up."
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
"name": "--shrink--lg",
|
|
592
|
-
"description": "--shrink at the lg breakpoint and up."
|
|
593
|
-
},
|
|
594
|
-
{
|
|
595
|
-
"name": "--shrink--xl",
|
|
596
|
-
"description": "--shrink at the xl breakpoint and up."
|
|
597
|
-
},
|
|
598
|
-
{
|
|
599
|
-
"name": "--shrink--2xl",
|
|
600
|
-
"description": "--shrink at the 2xl breakpoint and up."
|
|
601
|
-
},
|
|
602
866
|
{
|
|
603
867
|
"name": "--grid-flow",
|
|
604
868
|
"description": "grid-auto-flow — a keyword; flow family.",
|
|
@@ -1415,6 +1679,30 @@
|
|
|
1415
1679
|
"name": "--flex--2xl",
|
|
1416
1680
|
"description": "--flex at the 2xl breakpoint and up."
|
|
1417
1681
|
},
|
|
1682
|
+
{
|
|
1683
|
+
"name": "--shrink",
|
|
1684
|
+
"description": "flex-shrink — any value; flow family."
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
"name": "--shrink--sm",
|
|
1688
|
+
"description": "--shrink at the sm breakpoint and up."
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
"name": "--shrink--md",
|
|
1692
|
+
"description": "--shrink at the md breakpoint and up."
|
|
1693
|
+
},
|
|
1694
|
+
{
|
|
1695
|
+
"name": "--shrink--lg",
|
|
1696
|
+
"description": "--shrink at the lg breakpoint and up."
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
"name": "--shrink--xl",
|
|
1700
|
+
"description": "--shrink at the xl breakpoint and up."
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
"name": "--shrink--2xl",
|
|
1704
|
+
"description": "--shrink at the 2xl breakpoint and up."
|
|
1705
|
+
},
|
|
1418
1706
|
{
|
|
1419
1707
|
"name": "--basis",
|
|
1420
1708
|
"description": "flex-basis — any value; flow family."
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
},
|
|
159
159
|
"radio-group": {
|
|
160
160
|
"primitive": "radio",
|
|
161
|
-
"file": "
|
|
161
|
+
"file": "primitives/fields/fields.css"
|
|
162
162
|
},
|
|
163
163
|
"scroll-fade": {
|
|
164
164
|
"primitive": "scroll-fade",
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
},
|
|
199
199
|
"text-display": {
|
|
200
200
|
"primitive": null,
|
|
201
|
-
"file": "base/
|
|
201
|
+
"file": "base/_defaults.css"
|
|
202
202
|
},
|
|
203
203
|
"text-eyebrow": {
|
|
204
204
|
"primitive": null,
|
|
@@ -206,27 +206,27 @@
|
|
|
206
206
|
},
|
|
207
207
|
"text-h1": {
|
|
208
208
|
"primitive": null,
|
|
209
|
-
"file": "base/
|
|
209
|
+
"file": "base/_defaults.css"
|
|
210
210
|
},
|
|
211
211
|
"text-h2": {
|
|
212
212
|
"primitive": null,
|
|
213
|
-
"file": "base/
|
|
213
|
+
"file": "base/_defaults.css"
|
|
214
214
|
},
|
|
215
215
|
"text-h3": {
|
|
216
216
|
"primitive": null,
|
|
217
|
-
"file": "base/
|
|
217
|
+
"file": "base/_defaults.css"
|
|
218
218
|
},
|
|
219
219
|
"text-h4": {
|
|
220
220
|
"primitive": null,
|
|
221
|
-
"file": "base/
|
|
221
|
+
"file": "base/_defaults.css"
|
|
222
222
|
},
|
|
223
223
|
"text-h5": {
|
|
224
224
|
"primitive": null,
|
|
225
|
-
"file": "base/
|
|
225
|
+
"file": "base/_defaults.css"
|
|
226
226
|
},
|
|
227
227
|
"text-h6": {
|
|
228
228
|
"primitive": null,
|
|
229
|
-
"file": "base/
|
|
229
|
+
"file": "base/_defaults.css"
|
|
230
230
|
},
|
|
231
231
|
"text-lg": {
|
|
232
232
|
"primitive": null,
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
},
|
|
235
235
|
"text-link": {
|
|
236
236
|
"primitive": null,
|
|
237
|
-
"file": "base/
|
|
237
|
+
"file": "base/_defaults.css"
|
|
238
238
|
},
|
|
239
239
|
"text-md": {
|
|
240
240
|
"primitive": null,
|