@pontive/pontkit-core 1.30.0 → 1.31.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/README.md +40 -0
- package/catalog.json +1 -1
- package/custom-elements.json +1 -1
- package/dist/components/ui/badge-selector/badge-selector.d.ts +5 -0
- package/dist/components/widgets/pont-member-management/components/action-modal.d.ts +2 -0
- package/dist/components/widgets/pont-member-management/components/index.d.ts +0 -1
- package/dist/components/widgets/pont-member-management/components/invitations-panel.d.ts +3 -0
- package/dist/components/widgets/pont-member-management/components/invite-members-form.d.ts +5 -6
- package/dist/components/widgets/pont-member-management/components/manage-roles-form.d.ts +11 -5
- package/dist/components/widgets/pont-member-management/components/members-panel.d.ts +5 -1
- package/dist/components/widgets/pont-member-management/components/page-range.d.ts +5 -0
- package/dist/components/widgets/pont-member-management/components/role-badges.d.ts +5 -0
- package/dist/components/widgets/pont-member-management/components/role-options.d.ts +9 -0
- package/dist/components/widgets/pont-member-management/errors.d.ts +24 -0
- package/dist/components/widgets/pont-member-management/pont-member-management.d.ts +69 -17
- package/dist/components/widgets/pont-member-management/types.d.ts +4 -3
- package/dist/i18n/messages.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +936 -1019
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6543 -6713
- package/dist/index.mjs.map +1 -1
- package/dist/pont2/globals.css +3 -3
- package/dist/pont2/styles.css +372 -133
- package/dist/pont2/theme/tokens.json.d.ts +666 -86
- package/dist/pont2/theme/types.d.ts +4 -0
- package/dist/pont2/theme.mjs +133 -118
- package/dist/pont2/theme.mjs.map +1 -1
- package/dist/pont2/tokens.json +666 -86
- package/dist/primitives/components/ui/data-table/data-table.d.ts +4 -0
- package/dist/service/http/fetch.d.ts +6 -3
- package/dist/service/http/organization/assignable-roles.d.ts +8 -0
- package/dist/service/http/organization/index.d.ts +2 -1
- package/dist/service/http/organization/management-token.d.ts +13 -0
- package/dist/service/http/organization/members.d.ts +0 -1
- package/dist/styles.css +5 -43
- package/dist/types/core/index.d.ts +19 -2
- package/dist/types/service/http/invitation/index.d.ts +7 -2
- package/dist/types/service/http/roles/index.d.ts +16 -35
- package/package.json +2 -2
- package/dist/components/widgets/pont-member-management/components/monitoring-cards.d.ts +0 -20
- package/dist/components/widgets/pont-member-management/mock-data.d.ts +0 -4
- package/dist/service/http/organization/roles.d.ts +0 -7
package/dist/pont2/styles.css
CHANGED
|
@@ -28,6 +28,12 @@
|
|
|
28
28
|
* < unlayered app CSS
|
|
29
29
|
*/
|
|
30
30
|
@layer pont2.reset, pont2.tokens, pont2.base, pont2.primitives, pont2.kit, pont2.theme.preset, pont2.theme.brand;
|
|
31
|
+
@import url("https://fonts.googleapis.com/css2?family=Geist:ital,wght@0,100..900;1,100..900&display=swap")
|
|
32
|
+
layer(pont2.tokens);
|
|
33
|
+
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap")
|
|
34
|
+
layer(pont2.tokens);
|
|
35
|
+
@import url("https://fonts.googleapis.com/css2?family=Geist+Mono:ital,wght@0,100..900;1,100..900&display=swap")
|
|
36
|
+
layer(pont2.tokens);
|
|
31
37
|
|
|
32
38
|
/* ./tokens/index.css */
|
|
33
39
|
/*
|
|
@@ -455,6 +461,73 @@
|
|
|
455
461
|
}
|
|
456
462
|
}
|
|
457
463
|
|
|
464
|
+
/* ./ref/motion.css */
|
|
465
|
+
/*
|
|
466
|
+
* ===========================================================================
|
|
467
|
+
* MOTION REFERENCE TOKENS
|
|
468
|
+
* ===========================================================================
|
|
469
|
+
*/
|
|
470
|
+
|
|
471
|
+
@layer pont2.tokens {
|
|
472
|
+
:root {
|
|
473
|
+
--pont2-ref-animate-iteration-infinite: infinite;
|
|
474
|
+
}
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
/* ./ref/radius.css */
|
|
478
|
+
/*
|
|
479
|
+
* ===========================================================================
|
|
480
|
+
* RADIUS REFERENCE TOKENS
|
|
481
|
+
* ===========================================================================
|
|
482
|
+
*/
|
|
483
|
+
|
|
484
|
+
@layer pont2.tokens {
|
|
485
|
+
:root {
|
|
486
|
+
--pont2-ref-radius: 0.625rem;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
/* ./ref/spacing.css */
|
|
491
|
+
/*
|
|
492
|
+
* ===========================================================================
|
|
493
|
+
* SPACING REFERENCE TOKENS
|
|
494
|
+
* ===========================================================================
|
|
495
|
+
*/
|
|
496
|
+
|
|
497
|
+
@layer pont2.tokens {
|
|
498
|
+
:root {
|
|
499
|
+
--pont2-ref-spacing: 0.25rem;
|
|
500
|
+
}
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
/* ./ref/typography.css */
|
|
504
|
+
/*
|
|
505
|
+
* ===========================================================================
|
|
506
|
+
* TYPOGRAPHY REFERENCE TOKENS
|
|
507
|
+
* ===========================================================================
|
|
508
|
+
*/
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
@layer pont2.tokens {
|
|
514
|
+
:root {
|
|
515
|
+
--pont2-ref-font-sans:
|
|
516
|
+
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
|
|
517
|
+
"Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
|
|
518
|
+
"Segoe UI Symbol", "Noto Color Emoji";
|
|
519
|
+
--pont2-ref-font-serif:
|
|
520
|
+
ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
|
|
521
|
+
--pont2-ref-font-mono:
|
|
522
|
+
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
523
|
+
"Courier New", monospace;
|
|
524
|
+
|
|
525
|
+
--pont2-ref-font-geist: "Geist", sans-serif;
|
|
526
|
+
--pont2-ref-font-inter: "Inter", sans-serif;
|
|
527
|
+
--pont2-ref-font-geist-mono: "Geist Mono", monospace;
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
|
|
458
531
|
/* ./sem/color.css */
|
|
459
532
|
/*
|
|
460
533
|
* sem · colour roles: shadcn's set plus pont2's status colours, built on the
|
|
@@ -596,120 +669,267 @@
|
|
|
596
669
|
}
|
|
597
670
|
}
|
|
598
671
|
|
|
599
|
-
/* ./sem/
|
|
672
|
+
/* ./sem/layout.css */
|
|
600
673
|
/*
|
|
601
|
-
*
|
|
674
|
+
* ===========================================================================
|
|
675
|
+
* LAYOUT SEMANTIC TOKENS
|
|
676
|
+
* ===========================================================================
|
|
677
|
+
*/
|
|
678
|
+
|
|
679
|
+
@layer pont2.tokens {
|
|
680
|
+
:root {
|
|
681
|
+
--pont2-sem-aspect-square: 1 / 1;
|
|
682
|
+
--pont2-sem-aspect-video: 16 / 9;
|
|
683
|
+
--pont2-sem-aspect-auto: auto;
|
|
684
|
+
}
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
/* ./sem/mode.css */
|
|
688
|
+
/*
|
|
689
|
+
* sem · mode switches: non-colour values that follow the colour scheme
|
|
690
|
+
* (docs/11-tokens.md §6). They let component CSS react to dark mode without a
|
|
691
|
+
* `.dark` selector of its own. Type `keyword`: they are not themable (the
|
|
692
|
+
* validator rejects them), because they follow the mode, not the brand.
|
|
602
693
|
*
|
|
603
|
-
*
|
|
604
|
-
*
|
|
605
|
-
*
|
|
606
|
-
*
|
|
694
|
+
* mode-blend blend for an overlay that must stay visible on any
|
|
695
|
+
* image (avatar ring: darken / lighten)
|
|
696
|
+
* mode-light-display `display` for content shown only in light mode
|
|
697
|
+
* mode-dark-display `display` for content shown only in dark mode
|
|
607
698
|
*/
|
|
608
699
|
@layer pont2.tokens {
|
|
609
700
|
:root {
|
|
610
|
-
--pont2-sem-
|
|
611
|
-
--pont2-sem-
|
|
612
|
-
--pont2-sem-
|
|
613
|
-
|
|
614
|
-
--pont2-sem-radius-xl: calc(var(--pont2-sem-radius) * 1.4);
|
|
615
|
-
--pont2-sem-radius-2xl: calc(var(--pont2-sem-radius) * 1.8);
|
|
616
|
-
--pont2-sem-radius-3xl: calc(var(--pont2-sem-radius) * 2.2);
|
|
617
|
-
--pont2-sem-radius-4xl: calc(var(--pont2-sem-radius) * 2.6);
|
|
701
|
+
--pont2-sem-mode-blend: darken;
|
|
702
|
+
--pont2-sem-mode-light-display: block;
|
|
703
|
+
--pont2-sem-mode-dark-display: none;
|
|
704
|
+
}
|
|
618
705
|
|
|
619
|
-
|
|
620
|
-
|
|
706
|
+
:root.dark,
|
|
707
|
+
:root[data-theme="dark"],
|
|
708
|
+
.dark,
|
|
709
|
+
[data-theme="dark"] {
|
|
710
|
+
--pont2-sem-mode-blend: lighten;
|
|
711
|
+
--pont2-sem-mode-light-display: none;
|
|
712
|
+
--pont2-sem-mode-dark-display: block;
|
|
621
713
|
}
|
|
622
714
|
}
|
|
623
715
|
|
|
624
|
-
/* ./sem/
|
|
716
|
+
/* ./sem/motion.css */
|
|
625
717
|
/*
|
|
626
|
-
*
|
|
627
|
-
*
|
|
628
|
-
*
|
|
718
|
+
* ===========================================================================
|
|
719
|
+
* MOTION SEMANTIC TOKENS
|
|
720
|
+
* ===========================================================================
|
|
629
721
|
*/
|
|
722
|
+
|
|
630
723
|
@layer pont2.tokens {
|
|
631
724
|
:root {
|
|
632
|
-
--pont2-sem-
|
|
633
|
-
"Segoe UI Symbol", "Noto Color Emoji";
|
|
634
|
-
--pont2-sem-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
635
|
-
"Courier New", monospace;
|
|
725
|
+
--pont2-sem-duration: 150ms;
|
|
636
726
|
|
|
637
|
-
--pont2-sem-
|
|
638
|
-
--pont2-sem-
|
|
639
|
-
--pont2-sem-
|
|
640
|
-
--pont2-sem-
|
|
641
|
-
|
|
642
|
-
--pont2-sem-
|
|
643
|
-
--pont2-sem-
|
|
644
|
-
--pont2-sem-
|
|
645
|
-
--pont2-sem-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
--pont2-sem-
|
|
727
|
+
--pont2-sem-ease-linear: linear;
|
|
728
|
+
--pont2-sem-ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
729
|
+
--pont2-sem-ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
730
|
+
--pont2-sem-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
731
|
+
|
|
732
|
+
--pont2-sem-animate-spin-name: pont2-spin;
|
|
733
|
+
--pont2-sem-animate-spin-duration: 1s;
|
|
734
|
+
--pont2-sem-animate-spin-function: var(--pont2-sem-ease-linear);
|
|
735
|
+
--pont2-sem-animate-spin-iteration: var(
|
|
736
|
+
--pont2-ref-animate-iteration-infinite
|
|
737
|
+
);
|
|
738
|
+
--pont2-sem-animate-spin: var(--pont2-sem-animate-spin-name)
|
|
739
|
+
var(--pont2-sem-animate-spin-duration)
|
|
740
|
+
var(--pont2-sem-animate-spin-function)
|
|
741
|
+
var(--pont2-sem-animate-spin-iteration);
|
|
742
|
+
|
|
743
|
+
--pont2-sem-animate-ping-name: pont2-ping;
|
|
744
|
+
--pont2-sem-animate-ping-duration: 1s;
|
|
745
|
+
--pont2-sem-animate-ping-function: var(--pont2-sem-ease-out);
|
|
746
|
+
--pont2-sem-animate-ping-iteration: var(
|
|
747
|
+
--pont2-ref-animate-iteration-infinite
|
|
748
|
+
);
|
|
749
|
+
--pont2-sem-animate-ping: var(--pont2-sem-animate-ping-name)
|
|
750
|
+
var(--pont2-sem-animate-ping-duration)
|
|
751
|
+
var(--pont2-sem-animate-ping-function)
|
|
752
|
+
var(--pont2-sem-animate-ping-iteration);
|
|
753
|
+
|
|
754
|
+
--pont2-sem-animate-pulse-name: pont2-pulse;
|
|
755
|
+
--pont2-sem-animate-pulse-duration: 2s;
|
|
756
|
+
--pont2-sem-animate-pulse-function: cubic-bezier(0.4, 0, 0.6, 1);
|
|
757
|
+
--pont2-sem-animate-pulse-iteration: var(
|
|
758
|
+
--pont2-ref-animate-iteration-infinite
|
|
759
|
+
);
|
|
760
|
+
--pont2-sem-animate-pulse: var(--pont2-sem-animate-pulse-name)
|
|
761
|
+
var(--pont2-sem-animate-pulse-duration)
|
|
762
|
+
var(--pont2-sem-animate-pulse-function)
|
|
763
|
+
var(--pont2-sem-animate-pulse-iteration);
|
|
764
|
+
|
|
765
|
+
--pont2-sem-animate-bounce-name: pont2-bounce;
|
|
766
|
+
--pont2-sem-animate-bounce-duration: 1s;
|
|
767
|
+
--pont2-sem-animate-bounce-iteration: var(
|
|
768
|
+
--pont2-ref-animate-iteration-infinite
|
|
769
|
+
);
|
|
770
|
+
--pont2-sem-animate-bounce: var(--pont2-sem-animate-bounce-name)
|
|
771
|
+
var(--pont2-sem-animate-bounce-duration)
|
|
772
|
+
var(--pont2-sem-animate-bounce-iteration);
|
|
773
|
+
}
|
|
774
|
+
}
|
|
649
775
|
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
776
|
+
/* ./sem/radius.css */
|
|
777
|
+
/*
|
|
778
|
+
* ===========================================================================
|
|
779
|
+
* RADIUS SEMANTIC TOKENS
|
|
780
|
+
* ===========================================================================
|
|
781
|
+
*
|
|
782
|
+
* The scale is derived from one knob, --pont2-ref-radius (shadcn's
|
|
783
|
+
* `--radius`; `lg` equals it). Derived tokens resolve where they are
|
|
784
|
+
* declared (:root), so overriding the knob below :root does not move the
|
|
785
|
+
* scale; ref and sem tokens are global only (docs/11-tokens.md §4).
|
|
786
|
+
*/
|
|
654
787
|
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
--pont2-sem-
|
|
788
|
+
@layer pont2.tokens {
|
|
789
|
+
:root {
|
|
790
|
+
--pont2-sem-radius-xs: calc(var(--pont2-ref-radius) * 0.2);
|
|
791
|
+
--pont2-sem-radius-sm: calc(var(--pont2-ref-radius) * 0.6);
|
|
792
|
+
--pont2-sem-radius-md: calc(var(--pont2-ref-radius) * 0.8);
|
|
793
|
+
--pont2-sem-radius-lg: var(--pont2-ref-radius);
|
|
794
|
+
--pont2-sem-radius-xl: calc(var(--pont2-ref-radius) * 1.4);
|
|
795
|
+
--pont2-sem-radius-2xl: calc(var(--pont2-ref-radius) * 1.8);
|
|
796
|
+
--pont2-sem-radius-3xl: calc(var(--pont2-ref-radius) * 2.2);
|
|
797
|
+
--pont2-sem-radius-4xl: calc(var(--pont2-ref-radius) * 2.6);
|
|
798
|
+
|
|
799
|
+
--pont2-sem-radius-none: 0;
|
|
800
|
+
--pont2-sem-radius-full: calc(infinity * 1rem);
|
|
658
801
|
}
|
|
659
802
|
}
|
|
660
803
|
|
|
661
|
-
/* ./sem/
|
|
804
|
+
/* ./sem/shadow.css */
|
|
662
805
|
/*
|
|
663
|
-
*
|
|
664
|
-
*
|
|
806
|
+
* ===========================================================================
|
|
807
|
+
* SHADOW SEMANTIC TOKENS
|
|
808
|
+
* ===========================================================================
|
|
665
809
|
*/
|
|
810
|
+
|
|
666
811
|
@layer pont2.tokens {
|
|
667
812
|
:root {
|
|
813
|
+
--pont2-sem-shadow-none: 0 0 #0000;
|
|
814
|
+
--pont2-sem-shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
|
|
668
815
|
--pont2-sem-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
669
|
-
--pont2-sem-shadow-sm:
|
|
670
|
-
|
|
671
|
-
--pont2-sem-shadow-
|
|
816
|
+
--pont2-sem-shadow-sm:
|
|
817
|
+
0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
818
|
+
--pont2-sem-shadow-md:
|
|
819
|
+
0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
820
|
+
--pont2-sem-shadow-lg:
|
|
821
|
+
0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
822
|
+
--pont2-sem-shadow-xl:
|
|
823
|
+
0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
824
|
+
--pont2-sem-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
825
|
+
|
|
826
|
+
--pont2-sem-inset-shadow-none: inset 0 0 #0000;
|
|
827
|
+
--pont2-sem-inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
|
|
828
|
+
--pont2-sem-inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
|
|
829
|
+
--pont2-sem-inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);
|
|
672
830
|
}
|
|
673
831
|
}
|
|
674
832
|
|
|
675
|
-
/* ./sem/
|
|
833
|
+
/* ./sem/shape.css */
|
|
676
834
|
/*
|
|
677
|
-
* sem ·
|
|
835
|
+
* sem · shape: focus ring. The radius scale lives in sem/radius.css, derived
|
|
836
|
+
* from the ref knob in ref/radius.css.
|
|
678
837
|
*/
|
|
679
838
|
@layer pont2.tokens {
|
|
680
839
|
:root {
|
|
681
|
-
|
|
682
|
-
--pont2-sem-
|
|
683
|
-
--pont2-sem-ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
840
|
+
/* Focus ring: `focus-visible:ring-3 ring-ring/50` */
|
|
841
|
+
--pont2-sem-ring-width: 3px;
|
|
684
842
|
}
|
|
685
843
|
}
|
|
686
844
|
|
|
687
|
-
/* ./sem/
|
|
845
|
+
/* ./sem/spacing.css */
|
|
688
846
|
/*
|
|
689
|
-
*
|
|
690
|
-
*
|
|
691
|
-
*
|
|
692
|
-
* validator rejects them), because they follow the mode, not the brand.
|
|
693
|
-
*
|
|
694
|
-
* mode-blend blend for an overlay that must stay visible on any
|
|
695
|
-
* image (avatar ring: darken / lighten)
|
|
696
|
-
* mode-light-display `display` for content shown only in light mode
|
|
697
|
-
* mode-dark-display `display` for content shown only in dark mode
|
|
847
|
+
* ===========================================================================
|
|
848
|
+
* SPACING SEMANTIC TOKENS
|
|
849
|
+
* ===========================================================================
|
|
698
850
|
*/
|
|
851
|
+
|
|
699
852
|
@layer pont2.tokens {
|
|
700
853
|
:root {
|
|
701
|
-
--pont2-sem-
|
|
702
|
-
--pont2-sem-
|
|
703
|
-
--pont2-sem-
|
|
854
|
+
--pont2-sem-container-3xs: 16rem;
|
|
855
|
+
--pont2-sem-container-2xs: 18rem;
|
|
856
|
+
--pont2-sem-container-xs: 20rem;
|
|
857
|
+
--pont2-sem-container-sm: 24rem;
|
|
858
|
+
--pont2-sem-container-md: 28rem;
|
|
859
|
+
--pont2-sem-container-lg: 32rem;
|
|
860
|
+
--pont2-sem-container-xl: 36rem;
|
|
861
|
+
--pont2-sem-container-2xl: 42rem;
|
|
862
|
+
--pont2-sem-container-3xl: 48rem;
|
|
863
|
+
--pont2-sem-container-4xl: 56rem;
|
|
864
|
+
--pont2-sem-container-5xl: 64rem;
|
|
865
|
+
--pont2-sem-container-6xl: 72rem;
|
|
866
|
+
--pont2-sem-container-7xl: 80rem;
|
|
704
867
|
}
|
|
868
|
+
}
|
|
705
869
|
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
870
|
+
/* ./sem/typography.css */
|
|
871
|
+
/*
|
|
872
|
+
* ===========================================================================
|
|
873
|
+
* TYPOGRAPHY SEMANTIC TOKENS
|
|
874
|
+
* ===========================================================================
|
|
875
|
+
*/
|
|
876
|
+
|
|
877
|
+
@layer pont2.tokens {
|
|
878
|
+
:root {
|
|
879
|
+
--pont2-sem-font-body: var(--pont2-ref-font-geist);
|
|
880
|
+
--pont2-sem-font-heading: var(--pont2-ref-font-geist);
|
|
881
|
+
--pont2-sem-font-code: var(--pont2-ref-font-geist-mono);
|
|
882
|
+
|
|
883
|
+
--pont2-sem-text-xs: 0.75rem;
|
|
884
|
+
--pont2-sem-text-xs--line-height: calc(1 / 0.75);
|
|
885
|
+
--pont2-sem-text-sm: 0.875rem;
|
|
886
|
+
--pont2-sem-text-sm--line-height: calc(1.25 / 0.875);
|
|
887
|
+
--pont2-sem-text-base: 1rem;
|
|
888
|
+
--pont2-sem-text-base--line-height: calc(1.5 / 1);
|
|
889
|
+
--pont2-sem-text-lg: 1.125rem;
|
|
890
|
+
--pont2-sem-text-lg--line-height: calc(1.75 / 1.125);
|
|
891
|
+
--pont2-sem-text-xl: 1.25rem;
|
|
892
|
+
--pont2-sem-text-xl--line-height: calc(1.75 / 1.25);
|
|
893
|
+
--pont2-sem-text-2xl: 1.5rem;
|
|
894
|
+
--pont2-sem-text-2xl--line-height: calc(2 / 1.5);
|
|
895
|
+
--pont2-sem-text-3xl: 1.875rem;
|
|
896
|
+
--pont2-sem-text-3xl--line-height: calc(2.25 / 1.875);
|
|
897
|
+
--pont2-sem-text-4xl: 2.25rem;
|
|
898
|
+
--pont2-sem-text-4xl--line-height: calc(2.5 / 2.25);
|
|
899
|
+
--pont2-sem-text-5xl: 3rem;
|
|
900
|
+
--pont2-sem-text-5xl--line-height: 1;
|
|
901
|
+
--pont2-sem-text-6xl: 3.75rem;
|
|
902
|
+
--pont2-sem-text-6xl--line-height: 1;
|
|
903
|
+
--pont2-sem-text-7xl: 4.5rem;
|
|
904
|
+
--pont2-sem-text-7xl--line-height: 1;
|
|
905
|
+
--pont2-sem-text-8xl: 6rem;
|
|
906
|
+
--pont2-sem-text-8xl--line-height: 1;
|
|
907
|
+
--pont2-sem-text-9xl: 8rem;
|
|
908
|
+
--pont2-sem-text-9xl--line-height: 1;
|
|
909
|
+
|
|
910
|
+
--pont2-sem-font-weight-thin: 100;
|
|
911
|
+
--pont2-sem-font-weight-extralight: 200;
|
|
912
|
+
--pont2-sem-font-weight-light: 300;
|
|
913
|
+
--pont2-sem-font-weight-normal: 400;
|
|
914
|
+
--pont2-sem-font-weight-medium: 500;
|
|
915
|
+
--pont2-sem-font-weight-semibold: 600;
|
|
916
|
+
--pont2-sem-font-weight-bold: 700;
|
|
917
|
+
--pont2-sem-font-weight-extrabold: 800;
|
|
918
|
+
--pont2-sem-font-weight-black: 900;
|
|
919
|
+
|
|
920
|
+
--pont2-sem-tracking-tighter: -0.05em;
|
|
921
|
+
--pont2-sem-tracking-tight: -0.025em;
|
|
922
|
+
--pont2-sem-tracking-normal: 0em;
|
|
923
|
+
--pont2-sem-tracking-wide: 0.025em;
|
|
924
|
+
--pont2-sem-tracking-wider: 0.05em;
|
|
925
|
+
--pont2-sem-tracking-widest: 0.1em;
|
|
926
|
+
|
|
927
|
+
--pont2-sem-leading-none: 1;
|
|
928
|
+
--pont2-sem-leading-tight: 1.25;
|
|
929
|
+
--pont2-sem-leading-snug: 1.375;
|
|
930
|
+
--pont2-sem-leading-normal: 1.5;
|
|
931
|
+
--pont2-sem-leading-relaxed: 1.625;
|
|
932
|
+
--pont2-sem-leading-loose: 2;
|
|
713
933
|
}
|
|
714
934
|
}
|
|
715
935
|
|
|
@@ -785,11 +1005,29 @@
|
|
|
785
1005
|
transform: rotate(360deg);
|
|
786
1006
|
}
|
|
787
1007
|
}
|
|
1008
|
+
@keyframes pont2-ping {
|
|
1009
|
+
75%,
|
|
1010
|
+
100% {
|
|
1011
|
+
transform: scale(2);
|
|
1012
|
+
opacity: 0;
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
788
1015
|
@keyframes pont2-pulse {
|
|
789
1016
|
50% {
|
|
790
1017
|
opacity: 0.5;
|
|
791
1018
|
}
|
|
792
1019
|
}
|
|
1020
|
+
@keyframes pont2-bounce {
|
|
1021
|
+
0%,
|
|
1022
|
+
100% {
|
|
1023
|
+
transform: translateY(-25%);
|
|
1024
|
+
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
1025
|
+
}
|
|
1026
|
+
50% {
|
|
1027
|
+
transform: none;
|
|
1028
|
+
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
793
1031
|
}
|
|
794
1032
|
|
|
795
1033
|
/* Primitives: pont2-prim-* (each file wraps itself in @layer pont2.primitives) */
|
|
@@ -904,7 +1142,7 @@
|
|
|
904
1142
|
outline: none;
|
|
905
1143
|
transition-property: all;
|
|
906
1144
|
transition-duration: var(--pont2-sem-duration);
|
|
907
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
1145
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
908
1146
|
|
|
909
1147
|
/* .cn-button */
|
|
910
1148
|
border: 1px solid var(--_pont2-button-border-color);
|
|
@@ -1120,7 +1358,7 @@
|
|
|
1120
1358
|
gap: 0.5rem;
|
|
1121
1359
|
user-select: none;
|
|
1122
1360
|
font-size: var(--_pont2-label-font-size);
|
|
1123
|
-
line-height:
|
|
1361
|
+
line-height: var(--pont2-sem-leading-none);
|
|
1124
1362
|
font-weight: var(--_pont2-label-font-weight);
|
|
1125
1363
|
}
|
|
1126
1364
|
|
|
@@ -1189,7 +1427,7 @@
|
|
|
1189
1427
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
1190
1428
|
transition-property: color, box-shadow;
|
|
1191
1429
|
transition-duration: var(--pont2-sem-duration);
|
|
1192
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
1430
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
1193
1431
|
}
|
|
1194
1432
|
|
|
1195
1433
|
@media (width >= 48rem) {
|
|
@@ -1279,7 +1517,7 @@
|
|
|
1279
1517
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
1280
1518
|
transition-property: color, box-shadow;
|
|
1281
1519
|
transition-duration: var(--pont2-sem-duration);
|
|
1282
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
1520
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
1283
1521
|
}
|
|
1284
1522
|
|
|
1285
1523
|
@media (width >= 48rem) {
|
|
@@ -1359,7 +1597,7 @@
|
|
|
1359
1597
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
1360
1598
|
transition-property: box-shadow;
|
|
1361
1599
|
transition-duration: var(--pont2-sem-duration);
|
|
1362
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
1600
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
1363
1601
|
}
|
|
1364
1602
|
|
|
1365
1603
|
/* Enlarged hit area: after:absolute after:-inset-x-3 after:-inset-y-2 */
|
|
@@ -1530,7 +1768,7 @@
|
|
|
1530
1768
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
1531
1769
|
transition-property: all;
|
|
1532
1770
|
transition-duration: var(--pont2-sem-duration);
|
|
1533
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
1771
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
1534
1772
|
background-color: var(--_pont2-badge-bg);
|
|
1535
1773
|
color: var(--_pont2-badge-fg);
|
|
1536
1774
|
}
|
|
@@ -1629,7 +1867,7 @@
|
|
|
1629
1867
|
border-radius: var(--_pont2-kbd-radius);
|
|
1630
1868
|
background-color: var(--_pont2-kbd-bg);
|
|
1631
1869
|
color: var(--_pont2-kbd-fg);
|
|
1632
|
-
font-family: var(--pont2-sem-font-
|
|
1870
|
+
font-family: var(--pont2-sem-font-body);
|
|
1633
1871
|
font-size: var(--pont2-sem-text-xs);
|
|
1634
1872
|
line-height: var(--pont2-sem-text-xs--line-height);
|
|
1635
1873
|
font-weight: var(--_pont2-kbd-font-weight);
|
|
@@ -1666,7 +1904,7 @@
|
|
|
1666
1904
|
box-sizing: border-box;
|
|
1667
1905
|
background-color: var(--_pont2-skeleton-bg);
|
|
1668
1906
|
border-radius: var(--_pont2-skeleton-radius);
|
|
1669
|
-
animation: pont2-pulse
|
|
1907
|
+
animation: var(--pont2-sem-animate-pulse);
|
|
1670
1908
|
}
|
|
1671
1909
|
|
|
1672
1910
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -1693,7 +1931,7 @@
|
|
|
1693
1931
|
background-color: currentColor;
|
|
1694
1932
|
-webkit-mask: var(--pont2-spinner-icon, var(--_pont2-spinner-default)) center / contain no-repeat;
|
|
1695
1933
|
mask: var(--pont2-spinner-icon, var(--_pont2-spinner-default)) center / contain no-repeat;
|
|
1696
|
-
animation: pont2-spin
|
|
1934
|
+
animation: var(--pont2-sem-animate-spin);
|
|
1697
1935
|
}
|
|
1698
1936
|
}
|
|
1699
1937
|
|
|
@@ -1862,7 +2100,7 @@
|
|
|
1862
2100
|
|
|
1863
2101
|
:is(pont2-prim-avatar, [data-pont2-avatar], pont2-prim-avatar-group-count, [data-pont2-avatar-group-count]) {
|
|
1864
2102
|
/** @token Corner radius */
|
|
1865
|
-
--_pont2-avatar-radius: var(--pont2-avatar-radius,
|
|
2103
|
+
--_pont2-avatar-radius: var(--pont2-avatar-radius, var(--pont2-sem-radius-full));
|
|
1866
2104
|
/** @token Outline ring */
|
|
1867
2105
|
--_pont2-avatar-border-color: var(--pont2-avatar-border-color, var(--pont2-sem-color-border));
|
|
1868
2106
|
/** @token Fallback and count background */
|
|
@@ -1914,7 +2152,7 @@
|
|
|
1914
2152
|
:is(pont2-prim-avatar, [data-pont2-avatar]) > img {
|
|
1915
2153
|
display: none;
|
|
1916
2154
|
box-sizing: border-box;
|
|
1917
|
-
aspect-ratio:
|
|
2155
|
+
aspect-ratio: var(--pont2-sem-aspect-square);
|
|
1918
2156
|
width: 100%;
|
|
1919
2157
|
height: 100%;
|
|
1920
2158
|
max-width: none;
|
|
@@ -1931,7 +2169,7 @@
|
|
|
1931
2169
|
justify-content: center;
|
|
1932
2170
|
width: 100%;
|
|
1933
2171
|
height: 100%;
|
|
1934
|
-
border-radius: var(--_pont2-avatar-radius,
|
|
2172
|
+
border-radius: var(--_pont2-avatar-radius, var(--pont2-sem-radius-full));
|
|
1935
2173
|
background-color: var(--_pont2-avatar-fallback-bg, var(--pont2-sem-color-muted));
|
|
1936
2174
|
color: var(--_pont2-avatar-fallback-fg, var(--pont2-sem-color-muted-foreground));
|
|
1937
2175
|
font-size: var(--pont2-sem-text-sm);
|
|
@@ -1956,7 +2194,7 @@
|
|
|
1956
2194
|
justify-content: center;
|
|
1957
2195
|
width: 0.625rem;
|
|
1958
2196
|
height: 0.625rem;
|
|
1959
|
-
border-radius:
|
|
2197
|
+
border-radius: var(--pont2-sem-radius-full);
|
|
1960
2198
|
background-blend-mode: color;
|
|
1961
2199
|
background-color: var(--_pont2-avatar-badge-bg, var(--pont2-sem-color-primary));
|
|
1962
2200
|
color: var(--_pont2-avatar-badge-fg, var(--pont2-sem-color-primary-foreground));
|
|
@@ -2399,7 +2637,7 @@
|
|
|
2399
2637
|
flex-direction: column;
|
|
2400
2638
|
align-items: center;
|
|
2401
2639
|
gap: 0.5rem;
|
|
2402
|
-
max-width:
|
|
2640
|
+
max-width: var(--pont2-sem-container-sm);
|
|
2403
2641
|
}
|
|
2404
2642
|
|
|
2405
2643
|
:is(pont2-prim-empty-media, [data-pont2-empty-media]) {
|
|
@@ -2432,14 +2670,14 @@
|
|
|
2432
2670
|
font-size: var(--pont2-sem-text-lg);
|
|
2433
2671
|
line-height: var(--pont2-sem-text-lg--line-height);
|
|
2434
2672
|
font-weight: var(--_pont2-empty-title-font-weight, var(--pont2-sem-font-weight-medium));
|
|
2435
|
-
letter-spacing: -
|
|
2673
|
+
letter-spacing: var(--pont2-sem-tracking-tight);
|
|
2436
2674
|
}
|
|
2437
2675
|
|
|
2438
2676
|
:is(pont2-prim-empty-description, [data-pont2-empty-description]) {
|
|
2439
2677
|
display: block;
|
|
2440
2678
|
color: var(--_pont2-empty-description-fg, var(--pont2-sem-color-muted-foreground));
|
|
2441
2679
|
font-size: var(--pont2-sem-text-sm);
|
|
2442
|
-
line-height:
|
|
2680
|
+
line-height: var(--pont2-sem-leading-relaxed);
|
|
2443
2681
|
}
|
|
2444
2682
|
:is(pont2-prim-empty-description, [data-pont2-empty-description]) > a {
|
|
2445
2683
|
color: inherit;
|
|
@@ -2456,7 +2694,7 @@
|
|
|
2456
2694
|
align-items: center;
|
|
2457
2695
|
gap: 1rem;
|
|
2458
2696
|
width: 100%;
|
|
2459
|
-
max-width:
|
|
2697
|
+
max-width: var(--pont2-sem-container-sm);
|
|
2460
2698
|
min-width: 0;
|
|
2461
2699
|
font-size: var(--pont2-sem-text-sm);
|
|
2462
2700
|
line-height: var(--pont2-sem-text-sm--line-height);
|
|
@@ -2828,7 +3066,7 @@
|
|
|
2828
3066
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
2829
3067
|
transition-property: color, box-shadow;
|
|
2830
3068
|
transition-duration: var(--pont2-sem-duration);
|
|
2831
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
3069
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
2832
3070
|
}
|
|
2833
3071
|
|
|
2834
3072
|
:is(pont2-prim-input-group, [data-pont2-input-group]):has([data-slot="input-group-control"]:focus-visible) {
|
|
@@ -2890,7 +3128,7 @@
|
|
|
2890
3128
|
opacity: 0.5;
|
|
2891
3129
|
}
|
|
2892
3130
|
:is(pont2-prim-input-group-addon, [data-pont2-input-group-addon]) > :is(kbd, pont2-prim-kbd, pont2-kbd, [data-pont2-kbd]) {
|
|
2893
|
-
border-radius: calc(var(--pont2-sem-radius) - 5px);
|
|
3131
|
+
border-radius: calc(var(--pont2-sem-radius-lg) - 5px);
|
|
2894
3132
|
}
|
|
2895
3133
|
:is(pont2-prim-input-group-addon, [data-pont2-input-group-addon]) > svg:not([class*="size-"]) {
|
|
2896
3134
|
width: 1rem;
|
|
@@ -2964,9 +3202,9 @@
|
|
|
2964
3202
|
[data-pont2-input-group-textarea] {
|
|
2965
3203
|
flex: 1 1 0%;
|
|
2966
3204
|
border: 0;
|
|
2967
|
-
border-radius:
|
|
3205
|
+
border-radius: var(--pont2-sem-radius-none);
|
|
2968
3206
|
background-color: transparent;
|
|
2969
|
-
--pont2-shadow:
|
|
3207
|
+
--pont2-shadow: var(--pont2-sem-shadow-none);
|
|
2970
3208
|
--pont2-ring-shadow: 0 0 #0000;
|
|
2971
3209
|
}
|
|
2972
3210
|
:is([data-pont2-input-group-input], [data-pont2-input-group-textarea]):is(:focus-visible, [aria-invalid="true"]) {
|
|
@@ -2982,7 +3220,7 @@
|
|
|
2982
3220
|
display: flex;
|
|
2983
3221
|
align-items: center;
|
|
2984
3222
|
gap: 0.5rem;
|
|
2985
|
-
--pont2-shadow:
|
|
3223
|
+
--pont2-shadow: var(--pont2-sem-shadow-none);
|
|
2986
3224
|
font-size: var(--pont2-sem-text-sm);
|
|
2987
3225
|
line-height: var(--pont2-sem-text-sm--line-height);
|
|
2988
3226
|
}
|
|
@@ -2990,7 +3228,7 @@
|
|
|
2990
3228
|
height: 1.5rem;
|
|
2991
3229
|
gap: 0.25rem;
|
|
2992
3230
|
padding: 0 0.375rem;
|
|
2993
|
-
border-radius: calc(var(--pont2-sem-radius) - 5px);
|
|
3231
|
+
border-radius: calc(var(--pont2-sem-radius-lg) - 5px);
|
|
2994
3232
|
font-size: var(--pont2-sem-text-sm);
|
|
2995
3233
|
line-height: var(--pont2-sem-text-sm--line-height);
|
|
2996
3234
|
}
|
|
@@ -3002,7 +3240,7 @@
|
|
|
3002
3240
|
width: 1.5rem;
|
|
3003
3241
|
height: 1.5rem;
|
|
3004
3242
|
padding: 0;
|
|
3005
|
-
border-radius: calc(var(--pont2-sem-radius) - 5px);
|
|
3243
|
+
border-radius: calc(var(--pont2-sem-radius-lg) - 5px);
|
|
3006
3244
|
}
|
|
3007
3245
|
[data-pont2-input-group-button][data-size="icon-sm"] {
|
|
3008
3246
|
width: 2rem;
|
|
@@ -3107,7 +3345,7 @@
|
|
|
3107
3345
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
3108
3346
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
3109
3347
|
transition-duration: 100ms;
|
|
3110
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
3348
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
3111
3349
|
}
|
|
3112
3350
|
[data-pont2-item]:focus-visible {
|
|
3113
3351
|
border-color: var(--pont2-sem-color-ring);
|
|
@@ -3325,7 +3563,7 @@
|
|
|
3325
3563
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
3326
3564
|
transition-property: color, box-shadow;
|
|
3327
3565
|
transition-duration: var(--pont2-sem-duration);
|
|
3328
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
3566
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
3329
3567
|
}
|
|
3330
3568
|
[data-pont2-native-select]::selection {
|
|
3331
3569
|
background-color: var(--pont2-sem-color-primary);
|
|
@@ -3439,7 +3677,7 @@
|
|
|
3439
3677
|
border-bottom: 1px solid var(--_pont2-table-border-color, var(--pont2-sem-color-border));
|
|
3440
3678
|
transition-property: color, background-color, border-color;
|
|
3441
3679
|
transition-duration: var(--pont2-sem-duration);
|
|
3442
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
3680
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
3443
3681
|
}
|
|
3444
3682
|
:is(:is(pont2-prim-table, pont2-table) > table > * > tr, [data-pont2-table-row]):hover,
|
|
3445
3683
|
:is(:is(pont2-prim-table, pont2-table) > table > * > tr, [data-pont2-table-row]):has([aria-expanded="true"]) {
|
|
@@ -3612,7 +3850,7 @@
|
|
|
3612
3850
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
3613
3851
|
transition-property: all;
|
|
3614
3852
|
transition-duration: var(--pont2-sem-duration);
|
|
3615
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
3853
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
3616
3854
|
}
|
|
3617
3855
|
:is(pont2-prim-input-otp-slot, [data-pont2-input-otp-slot]):first-child {
|
|
3618
3856
|
border-left-width: 1px;
|
|
@@ -3686,7 +3924,7 @@
|
|
|
3686
3924
|
/** @token Track height */
|
|
3687
3925
|
--_pont2-progress-track-height: var(--pont2-progress-track-height, 0.375rem);
|
|
3688
3926
|
/** @token Track corner radius */
|
|
3689
|
-
--_pont2-progress-track-radius: var(--pont2-progress-track-radius,
|
|
3927
|
+
--_pont2-progress-track-radius: var(--pont2-progress-track-radius, var(--pont2-sem-radius-full));
|
|
3690
3928
|
/** @token Indicator */
|
|
3691
3929
|
--_pont2-progress-indicator-bg: var(--pont2-progress-indicator-bg, var(--pont2-sem-color-primary));
|
|
3692
3930
|
/** @token Label weight */
|
|
@@ -3712,7 +3950,7 @@
|
|
|
3712
3950
|
height: var(--_pont2-progress-track-height, 0.375rem);
|
|
3713
3951
|
align-items: center;
|
|
3714
3952
|
overflow-x: hidden;
|
|
3715
|
-
border-radius: var(--_pont2-progress-track-radius,
|
|
3953
|
+
border-radius: var(--_pont2-progress-track-radius, var(--pont2-sem-radius-full));
|
|
3716
3954
|
background-color: var(--_pont2-progress-track-bg, var(--pont2-sem-color-muted));
|
|
3717
3955
|
}
|
|
3718
3956
|
|
|
@@ -3721,7 +3959,7 @@
|
|
|
3721
3959
|
background-color: var(--_pont2-progress-indicator-bg, var(--pont2-sem-color-primary));
|
|
3722
3960
|
transition-property: all;
|
|
3723
3961
|
transition-duration: var(--pont2-sem-duration);
|
|
3724
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
3962
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
3725
3963
|
}
|
|
3726
3964
|
|
|
3727
3965
|
:is(pont2-prim-progress-label, [data-pont2-progress-label]) {
|
|
@@ -3785,11 +4023,11 @@
|
|
|
3785
4023
|
position: relative;
|
|
3786
4024
|
display: flex;
|
|
3787
4025
|
flex-shrink: 0;
|
|
3788
|
-
aspect-ratio:
|
|
4026
|
+
aspect-ratio: var(--pont2-sem-aspect-square);
|
|
3789
4027
|
width: 1rem;
|
|
3790
4028
|
height: 1rem;
|
|
3791
4029
|
border: 1px solid var(--_pont2-radio-group-item-border-color);
|
|
3792
|
-
border-radius:
|
|
4030
|
+
border-radius: var(--pont2-sem-radius-full);
|
|
3793
4031
|
background-color: var(--_pont2-radio-group-item-bg);
|
|
3794
4032
|
outline: none;
|
|
3795
4033
|
color: inherit;
|
|
@@ -3854,7 +4092,7 @@
|
|
|
3854
4092
|
width: 0.5rem;
|
|
3855
4093
|
height: 0.5rem;
|
|
3856
4094
|
translate: -50% -50%;
|
|
3857
|
-
border-radius:
|
|
4095
|
+
border-radius: var(--pont2-sem-radius-full);
|
|
3858
4096
|
background-color: var(--_pont2-radio-group-indicator-bg);
|
|
3859
4097
|
}
|
|
3860
4098
|
}
|
|
@@ -3932,7 +4170,7 @@
|
|
|
3932
4170
|
flex-grow: 1;
|
|
3933
4171
|
overflow: hidden;
|
|
3934
4172
|
user-select: none;
|
|
3935
|
-
border-radius:
|
|
4173
|
+
border-radius: var(--pont2-sem-radius-full);
|
|
3936
4174
|
background-color: var(--_pont2-slider-track-bg);
|
|
3937
4175
|
}
|
|
3938
4176
|
[data-pont2-slider-track][data-orientation="horizontal"] {
|
|
@@ -3967,14 +4205,14 @@
|
|
|
3967
4205
|
width: var(--_pont2-slider-thumb);
|
|
3968
4206
|
height: var(--_pont2-slider-thumb);
|
|
3969
4207
|
border: 1px solid var(--_pont2-slider-thumb-border-color);
|
|
3970
|
-
border-radius:
|
|
4208
|
+
border-radius: var(--pont2-sem-radius-full);
|
|
3971
4209
|
background-color: var(--_pont2-slider-thumb-bg);
|
|
3972
4210
|
outline: none;
|
|
3973
4211
|
--pont2-shadow: var(--_pont2-slider-thumb-shadow);
|
|
3974
4212
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
3975
4213
|
transition-property: color, box-shadow;
|
|
3976
4214
|
transition-duration: var(--pont2-sem-duration);
|
|
3977
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
4215
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
3978
4216
|
}
|
|
3979
4217
|
[data-pont2-slider-thumb][data-orientation="horizontal"] {
|
|
3980
4218
|
top: 50%;
|
|
@@ -4036,14 +4274,14 @@
|
|
|
4036
4274
|
height: 18.4px;
|
|
4037
4275
|
width: 32px;
|
|
4038
4276
|
border: 1px solid transparent;
|
|
4039
|
-
border-radius:
|
|
4277
|
+
border-radius: var(--pont2-sem-radius-full);
|
|
4040
4278
|
background-color: var(--_pont2-switch-bg);
|
|
4041
4279
|
outline: none;
|
|
4042
4280
|
--pont2-shadow: var(--pont2-sem-shadow-xs);
|
|
4043
4281
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
4044
4282
|
transition-property: all;
|
|
4045
4283
|
transition-duration: var(--pont2-sem-duration);
|
|
4046
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
4284
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
4047
4285
|
}
|
|
4048
4286
|
|
|
4049
4287
|
:is(pont2-prim-switch, pont2-switch, [data-pont2-switch])::after {
|
|
@@ -4088,12 +4326,12 @@
|
|
|
4088
4326
|
display: block;
|
|
4089
4327
|
width: 1rem;
|
|
4090
4328
|
height: 1rem;
|
|
4091
|
-
border-radius:
|
|
4329
|
+
border-radius: var(--pont2-sem-radius-full);
|
|
4092
4330
|
background-color: var(--_pont2-switch-thumb-bg);
|
|
4093
4331
|
translate: 0 0;
|
|
4094
4332
|
transition-property: translate, transform;
|
|
4095
4333
|
transition-duration: var(--pont2-sem-duration);
|
|
4096
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
4334
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
4097
4335
|
}
|
|
4098
4336
|
[data-pont2-switch][data-size="sm"] > [data-pont2-switch-thumb] {
|
|
4099
4337
|
width: 0.75rem;
|
|
@@ -4168,7 +4406,7 @@
|
|
|
4168
4406
|
/* line variant: no list fill, the active tab is marked by the indicator only */
|
|
4169
4407
|
[data-pont2-tabs-list][data-variant="line"] {
|
|
4170
4408
|
--_pont2-tabs-list-bg: transparent;
|
|
4171
|
-
--_pont2-tabs-list-radius:
|
|
4409
|
+
--_pont2-tabs-list-radius: var(--pont2-sem-radius-none);
|
|
4172
4410
|
--_pont2-tabs-trigger-bg-active: transparent;
|
|
4173
4411
|
--_pont2-tabs-trigger-border-color-active: transparent;
|
|
4174
4412
|
}
|
|
@@ -4230,7 +4468,7 @@
|
|
|
4230
4468
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
4231
4469
|
transition-property: all;
|
|
4232
4470
|
transition-duration: var(--pont2-sem-duration);
|
|
4233
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
4471
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
4234
4472
|
}
|
|
4235
4473
|
[data-pont2-tabs][data-orientation="vertical"] [data-pont2-tabs-trigger] {
|
|
4236
4474
|
width: 100%;
|
|
@@ -4277,7 +4515,7 @@
|
|
|
4277
4515
|
|
|
4278
4516
|
/* line variant (colours: the privates above) */
|
|
4279
4517
|
[data-pont2-tabs-list][data-variant="line"] [data-pont2-tabs-trigger] {
|
|
4280
|
-
--pont2-shadow:
|
|
4518
|
+
--pont2-shadow: var(--pont2-sem-shadow-none);
|
|
4281
4519
|
}
|
|
4282
4520
|
|
|
4283
4521
|
/* the line indicator */
|
|
@@ -4286,7 +4524,7 @@
|
|
|
4286
4524
|
position: absolute;
|
|
4287
4525
|
background-color: var(--_pont2-tabs-indicator-bg, var(--pont2-sem-color-foreground));
|
|
4288
4526
|
opacity: 0;
|
|
4289
|
-
transition: opacity var(--pont2-sem-duration) var(--pont2-sem-ease);
|
|
4527
|
+
transition: opacity var(--pont2-sem-duration) var(--pont2-sem-ease-in-out);
|
|
4290
4528
|
}
|
|
4291
4529
|
[data-pont2-tabs]:not([data-orientation="vertical"]) [data-pont2-tabs-trigger]::after {
|
|
4292
4530
|
left: 0;
|
|
@@ -4406,10 +4644,10 @@
|
|
|
4406
4644
|
}
|
|
4407
4645
|
|
|
4408
4646
|
[data-pont2-popup][data-open] {
|
|
4409
|
-
animation: pont2-popup-enter var(--_pont2-popup-duration) var(--pont2-sem-ease);
|
|
4647
|
+
animation: pont2-popup-enter var(--_pont2-popup-duration) var(--pont2-sem-ease-in-out);
|
|
4410
4648
|
}
|
|
4411
4649
|
[data-pont2-popup][data-closed] {
|
|
4412
|
-
animation: pont2-popup-exit var(--_pont2-popup-duration) var(--pont2-sem-ease) forwards;
|
|
4650
|
+
animation: pont2-popup-exit var(--_pont2-popup-duration) var(--pont2-sem-ease-in-out) forwards;
|
|
4413
4651
|
}
|
|
4414
4652
|
|
|
4415
4653
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -4695,7 +4933,7 @@
|
|
|
4695
4933
|
color: var(--pont2-sem-color-muted-foreground);
|
|
4696
4934
|
font-size: var(--pont2-sem-text-xs);
|
|
4697
4935
|
line-height: var(--pont2-sem-text-xs--line-height);
|
|
4698
|
-
letter-spacing:
|
|
4936
|
+
letter-spacing: var(--pont2-sem-tracking-widest);
|
|
4699
4937
|
}
|
|
4700
4938
|
[data-pont2-menu-item]:focus [data-pont2-dropdown-menu-shortcut] {
|
|
4701
4939
|
color: var(--_pont2-dropdown-menu-item-fg-focus);
|
|
@@ -4778,7 +5016,7 @@
|
|
|
4778
5016
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
4779
5017
|
transition-property: color, box-shadow;
|
|
4780
5018
|
transition-duration: var(--pont2-sem-duration);
|
|
4781
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
5019
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
4782
5020
|
}
|
|
4783
5021
|
[data-pont2-select-trigger][data-placeholder] {
|
|
4784
5022
|
color: var(--pont2-sem-color-muted-foreground);
|
|
@@ -4983,7 +5221,7 @@
|
|
|
4983
5221
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
4984
5222
|
transition-property: color, box-shadow;
|
|
4985
5223
|
transition-duration: var(--pont2-sem-duration);
|
|
4986
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
5224
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
4987
5225
|
}
|
|
4988
5226
|
[data-pont2-combobox-input]:has(> [data-slot="input-group-control"]:focus-visible) {
|
|
4989
5227
|
border-color: var(--pont2-sem-color-ring);
|
|
@@ -5005,7 +5243,7 @@
|
|
|
5005
5243
|
height: 100%;
|
|
5006
5244
|
padding: 0.25rem 0.375rem 0.25rem 0.625rem;
|
|
5007
5245
|
border: 0;
|
|
5008
|
-
border-radius:
|
|
5246
|
+
border-radius: var(--pont2-sem-radius-none);
|
|
5009
5247
|
background: transparent;
|
|
5010
5248
|
color: inherit;
|
|
5011
5249
|
font-family: inherit;
|
|
@@ -5053,8 +5291,8 @@
|
|
|
5053
5291
|
width: 1.5rem;
|
|
5054
5292
|
height: 1.5rem;
|
|
5055
5293
|
padding: 0;
|
|
5056
|
-
border-radius: calc(var(--pont2-sem-radius) - 5px);
|
|
5057
|
-
--pont2-shadow:
|
|
5294
|
+
border-radius: calc(var(--pont2-sem-radius-lg) - 5px);
|
|
5295
|
+
--pont2-shadow: var(--pont2-sem-shadow-none);
|
|
5058
5296
|
}
|
|
5059
5297
|
/* .cn-combobox-trigger [&_svg]:size-4, .cn-combobox-trigger-icon text-muted-foreground */
|
|
5060
5298
|
[data-pont2-combobox-input-addon] > [data-combobox-trigger] svg {
|
|
@@ -5215,7 +5453,7 @@
|
|
|
5215
5453
|
/** @token Corner radius */
|
|
5216
5454
|
--_pont2-tooltip-radius: var(--pont2-tooltip-radius, var(--pont2-sem-radius-md));
|
|
5217
5455
|
/** @token Maximum width */
|
|
5218
|
-
--_pont2-tooltip-max-width: var(--pont2-tooltip-max-width,
|
|
5456
|
+
--_pont2-tooltip-max-width: var(--pont2-tooltip-max-width, var(--pont2-sem-container-xs));
|
|
5219
5457
|
/** @token Horizontal padding */
|
|
5220
5458
|
--_pont2-tooltip-padding-x: var(--pont2-tooltip-padding-x, 0.75rem);
|
|
5221
5459
|
/** @token Vertical padding */
|
|
@@ -5639,6 +5877,7 @@
|
|
|
5639
5877
|
[data-pont2-title] {
|
|
5640
5878
|
margin: 0;
|
|
5641
5879
|
color: var(--_pont2-title-fg);
|
|
5880
|
+
font-family: var(--pont2-sem-font-heading);
|
|
5642
5881
|
font-size: var(--_pont2-title-font-size);
|
|
5643
5882
|
font-weight: var(--_pont2-title-font-weight);
|
|
5644
5883
|
letter-spacing: var(--pont2-sem-tracking-tight);
|
|
@@ -5755,7 +5994,7 @@
|
|
|
5755
5994
|
/** @token Spacing (padding) */
|
|
5756
5995
|
--_pont2-card-spacing: var(--pont2-block-spacing, var(--pont2-card-spacing, 1.5rem));
|
|
5757
5996
|
/** @token Maximum width */
|
|
5758
|
-
--_pont2-block-max-width: var(--pont2-block-max-width,
|
|
5997
|
+
--_pont2-block-max-width: var(--pont2-block-max-width, var(--pont2-sem-container-sm));
|
|
5759
5998
|
/** @token Gap between children */
|
|
5760
5999
|
--_pont2-block-gap: var(--pont2-block-gap, 1rem);
|
|
5761
6000
|
/** @token Background (watermark band) */
|
|
@@ -5867,7 +6106,7 @@
|
|
|
5867
6106
|
gap: 0.375rem;
|
|
5868
6107
|
color: var(--_pont2-watermark-fg);
|
|
5869
6108
|
font-size: 0.8125rem;
|
|
5870
|
-
line-height:
|
|
6109
|
+
line-height: var(--pont2-sem-leading-none);
|
|
5871
6110
|
}
|
|
5872
6111
|
[data-pont2-watermark] > [data-slot="watermark-logo"] {
|
|
5873
6112
|
flex-shrink: 0;
|
|
@@ -6054,8 +6293,8 @@
|
|
|
6054
6293
|
font-weight: var(--pont2-sem-font-weight-medium);
|
|
6055
6294
|
}
|
|
6056
6295
|
[data-pont2-secret] [data-secret] {
|
|
6057
|
-
font-family:
|
|
6058
|
-
letter-spacing:
|
|
6296
|
+
font-family: var(--pont2-sem-font-code);
|
|
6297
|
+
letter-spacing: var(--pont2-sem-tracking-wider);
|
|
6059
6298
|
}
|
|
6060
6299
|
/* Reserved line, so the status appearing does not shift the layout. */
|
|
6061
6300
|
[data-pont2-secret] > [data-slot="secret-copied"] {
|
|
@@ -6164,7 +6403,7 @@
|
|
|
6164
6403
|
list-style: none;
|
|
6165
6404
|
border-radius: var(--_pont2-recovery-codes-list-radius);
|
|
6166
6405
|
background-color: var(--_pont2-recovery-codes-list-bg);
|
|
6167
|
-
font-family:
|
|
6406
|
+
font-family: var(--pont2-sem-font-code);
|
|
6168
6407
|
font-size: var(--pont2-sem-text-sm);
|
|
6169
6408
|
line-height: var(--pont2-sem-text-sm--line-height);
|
|
6170
6409
|
text-align: center;
|