@pontive/pontkit-core 1.29.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/index.mjs +678 -617
- package/dist/pont2/index.mjs.map +1 -1
- package/dist/pont2/kit/flow-widget/preview.d.ts +46 -0
- package/dist/pont2/kit/index.d.ts +1 -0
- package/dist/pont2/styles.css +390 -149
- package/dist/pont2/theme/tokens.json.d.ts +1020 -440
- package/dist/pont2/theme/types.d.ts +4 -0
- package/dist/pont2/theme.mjs +172 -157
- package/dist/pont2/theme.mjs.map +1 -1
- package/dist/pont2/tokens.json +1020 -440
- 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
|
/*
|
|
@@ -39,14 +45,21 @@
|
|
|
39
45
|
* ref/ raw values, global only, never read by components
|
|
40
46
|
* sem/ design roles; light/dark lives in sem/color.css
|
|
41
47
|
*/
|
|
42
|
-
|
|
48
|
+
|
|
49
|
+
/* ./ref/color.css */
|
|
43
50
|
/*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
|
|
51
|
+
* ===========================================================================
|
|
52
|
+
* COLOR REFERENCE TOKENS
|
|
53
|
+
* --pont2-ref-color-*
|
|
54
|
+
* ===========================================================================
|
|
55
|
+
*/
|
|
56
|
+
|
|
57
|
+
/*
|
|
58
|
+
* --------------------------------------------------
|
|
59
|
+
* COLOR PALETTE
|
|
60
|
+
* --------------------------------------------------
|
|
49
61
|
*/
|
|
62
|
+
|
|
50
63
|
@layer pont2.tokens {
|
|
51
64
|
:root {
|
|
52
65
|
--pont2-ref-color-red-50: oklch(97.1% 0.013 17.38);
|
|
@@ -366,17 +379,12 @@
|
|
|
366
379
|
}
|
|
367
380
|
}
|
|
368
381
|
|
|
369
|
-
/* ./ref/roles.css */
|
|
370
382
|
/*
|
|
371
|
-
*
|
|
372
|
-
*
|
|
373
|
-
*
|
|
374
|
-
*
|
|
375
|
-
* base neutrals: surfaces, text, borders
|
|
376
|
-
* brand primary actions and charts (neutral by default, so the
|
|
377
|
-
* defaults look like shadcn's neutral theme)
|
|
378
|
-
* destructive, warning, success, info status colours
|
|
383
|
+
* --------------------------------------------------
|
|
384
|
+
* COLOR ROLES
|
|
385
|
+
* --------------------------------------------------
|
|
379
386
|
*/
|
|
387
|
+
|
|
380
388
|
@layer pont2.tokens {
|
|
381
389
|
:root {
|
|
382
390
|
--pont2-ref-color-base-50: var(--pont2-ref-color-neutral-50);
|
|
@@ -453,10 +461,77 @@
|
|
|
453
461
|
}
|
|
454
462
|
}
|
|
455
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
|
+
|
|
456
531
|
/* ./sem/color.css */
|
|
457
532
|
/*
|
|
458
533
|
* sem · colour roles: shadcn's set plus pont2's status colours, built on the
|
|
459
|
-
* ref
|
|
534
|
+
* ref colour roles (ref/color.css). The theme mode lives here and only here
|
|
460
535
|
* (docs/11-tokens.md §6).
|
|
461
536
|
*
|
|
462
537
|
* Defaults reproduce shadcn's neutral theme exactly. `primary` and
|
|
@@ -594,120 +669,267 @@
|
|
|
594
669
|
}
|
|
595
670
|
}
|
|
596
671
|
|
|
597
|
-
/* ./sem/
|
|
672
|
+
/* ./sem/layout.css */
|
|
673
|
+
/*
|
|
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 */
|
|
598
688
|
/*
|
|
599
|
-
* sem ·
|
|
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.
|
|
600
693
|
*
|
|
601
|
-
*
|
|
602
|
-
*
|
|
603
|
-
*
|
|
604
|
-
*
|
|
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
|
|
605
698
|
*/
|
|
606
699
|
@layer pont2.tokens {
|
|
607
700
|
:root {
|
|
608
|
-
--pont2-sem-
|
|
609
|
-
--pont2-sem-
|
|
610
|
-
--pont2-sem-
|
|
611
|
-
|
|
612
|
-
--pont2-sem-radius-xl: calc(var(--pont2-sem-radius) * 1.4);
|
|
613
|
-
--pont2-sem-radius-2xl: calc(var(--pont2-sem-radius) * 1.8);
|
|
614
|
-
--pont2-sem-radius-3xl: calc(var(--pont2-sem-radius) * 2.2);
|
|
615
|
-
--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
|
+
}
|
|
616
705
|
|
|
617
|
-
|
|
618
|
-
|
|
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;
|
|
619
713
|
}
|
|
620
714
|
}
|
|
621
715
|
|
|
622
|
-
/* ./sem/
|
|
716
|
+
/* ./sem/motion.css */
|
|
623
717
|
/*
|
|
624
|
-
*
|
|
625
|
-
*
|
|
626
|
-
*
|
|
718
|
+
* ===========================================================================
|
|
719
|
+
* MOTION SEMANTIC TOKENS
|
|
720
|
+
* ===========================================================================
|
|
627
721
|
*/
|
|
722
|
+
|
|
628
723
|
@layer pont2.tokens {
|
|
629
724
|
:root {
|
|
630
|
-
--pont2-sem-
|
|
631
|
-
"Segoe UI Symbol", "Noto Color Emoji";
|
|
632
|
-
--pont2-sem-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
633
|
-
"Courier New", monospace;
|
|
725
|
+
--pont2-sem-duration: 150ms;
|
|
634
726
|
|
|
635
|
-
--pont2-sem-
|
|
636
|
-
--pont2-sem-
|
|
637
|
-
--pont2-sem-
|
|
638
|
-
--pont2-sem-
|
|
639
|
-
|
|
640
|
-
--pont2-sem-
|
|
641
|
-
--pont2-sem-
|
|
642
|
-
--pont2-sem-
|
|
643
|
-
--pont2-sem-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
--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
|
+
}
|
|
647
775
|
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
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
|
+
*/
|
|
652
787
|
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
--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);
|
|
656
801
|
}
|
|
657
802
|
}
|
|
658
803
|
|
|
659
|
-
/* ./sem/
|
|
804
|
+
/* ./sem/shadow.css */
|
|
660
805
|
/*
|
|
661
|
-
*
|
|
662
|
-
*
|
|
806
|
+
* ===========================================================================
|
|
807
|
+
* SHADOW SEMANTIC TOKENS
|
|
808
|
+
* ===========================================================================
|
|
663
809
|
*/
|
|
810
|
+
|
|
664
811
|
@layer pont2.tokens {
|
|
665
812
|
:root {
|
|
813
|
+
--pont2-sem-shadow-none: 0 0 #0000;
|
|
814
|
+
--pont2-sem-shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
|
|
666
815
|
--pont2-sem-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
667
|
-
--pont2-sem-shadow-sm:
|
|
668
|
-
|
|
669
|
-
--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);
|
|
670
830
|
}
|
|
671
831
|
}
|
|
672
832
|
|
|
673
|
-
/* ./sem/
|
|
833
|
+
/* ./sem/shape.css */
|
|
674
834
|
/*
|
|
675
|
-
* sem ·
|
|
835
|
+
* sem · shape: focus ring. The radius scale lives in sem/radius.css, derived
|
|
836
|
+
* from the ref knob in ref/radius.css.
|
|
676
837
|
*/
|
|
677
838
|
@layer pont2.tokens {
|
|
678
839
|
:root {
|
|
679
|
-
|
|
680
|
-
--pont2-sem-
|
|
681
|
-
--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;
|
|
682
842
|
}
|
|
683
843
|
}
|
|
684
844
|
|
|
685
|
-
/* ./sem/
|
|
845
|
+
/* ./sem/spacing.css */
|
|
686
846
|
/*
|
|
687
|
-
*
|
|
688
|
-
*
|
|
689
|
-
*
|
|
690
|
-
* validator rejects them), because they follow the mode, not the brand.
|
|
691
|
-
*
|
|
692
|
-
* mode-blend blend for an overlay that must stay visible on any
|
|
693
|
-
* image (avatar ring: darken / lighten)
|
|
694
|
-
* mode-light-display `display` for content shown only in light mode
|
|
695
|
-
* mode-dark-display `display` for content shown only in dark mode
|
|
847
|
+
* ===========================================================================
|
|
848
|
+
* SPACING SEMANTIC TOKENS
|
|
849
|
+
* ===========================================================================
|
|
696
850
|
*/
|
|
851
|
+
|
|
697
852
|
@layer pont2.tokens {
|
|
698
853
|
:root {
|
|
699
|
-
--pont2-sem-
|
|
700
|
-
--pont2-sem-
|
|
701
|
-
--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;
|
|
702
867
|
}
|
|
868
|
+
}
|
|
703
869
|
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
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;
|
|
711
933
|
}
|
|
712
934
|
}
|
|
713
935
|
|
|
@@ -783,11 +1005,29 @@
|
|
|
783
1005
|
transform: rotate(360deg);
|
|
784
1006
|
}
|
|
785
1007
|
}
|
|
1008
|
+
@keyframes pont2-ping {
|
|
1009
|
+
75%,
|
|
1010
|
+
100% {
|
|
1011
|
+
transform: scale(2);
|
|
1012
|
+
opacity: 0;
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
786
1015
|
@keyframes pont2-pulse {
|
|
787
1016
|
50% {
|
|
788
1017
|
opacity: 0.5;
|
|
789
1018
|
}
|
|
790
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
|
+
}
|
|
791
1031
|
}
|
|
792
1032
|
|
|
793
1033
|
/* Primitives: pont2-prim-* (each file wraps itself in @layer pont2.primitives) */
|
|
@@ -902,7 +1142,7 @@
|
|
|
902
1142
|
outline: none;
|
|
903
1143
|
transition-property: all;
|
|
904
1144
|
transition-duration: var(--pont2-sem-duration);
|
|
905
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
1145
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
906
1146
|
|
|
907
1147
|
/* .cn-button */
|
|
908
1148
|
border: 1px solid var(--_pont2-button-border-color);
|
|
@@ -1118,7 +1358,7 @@
|
|
|
1118
1358
|
gap: 0.5rem;
|
|
1119
1359
|
user-select: none;
|
|
1120
1360
|
font-size: var(--_pont2-label-font-size);
|
|
1121
|
-
line-height:
|
|
1361
|
+
line-height: var(--pont2-sem-leading-none);
|
|
1122
1362
|
font-weight: var(--_pont2-label-font-weight);
|
|
1123
1363
|
}
|
|
1124
1364
|
|
|
@@ -1187,7 +1427,7 @@
|
|
|
1187
1427
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
1188
1428
|
transition-property: color, box-shadow;
|
|
1189
1429
|
transition-duration: var(--pont2-sem-duration);
|
|
1190
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
1430
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
1191
1431
|
}
|
|
1192
1432
|
|
|
1193
1433
|
@media (width >= 48rem) {
|
|
@@ -1277,7 +1517,7 @@
|
|
|
1277
1517
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
1278
1518
|
transition-property: color, box-shadow;
|
|
1279
1519
|
transition-duration: var(--pont2-sem-duration);
|
|
1280
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
1520
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
1281
1521
|
}
|
|
1282
1522
|
|
|
1283
1523
|
@media (width >= 48rem) {
|
|
@@ -1357,7 +1597,7 @@
|
|
|
1357
1597
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
1358
1598
|
transition-property: box-shadow;
|
|
1359
1599
|
transition-duration: var(--pont2-sem-duration);
|
|
1360
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
1600
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
1361
1601
|
}
|
|
1362
1602
|
|
|
1363
1603
|
/* Enlarged hit area: after:absolute after:-inset-x-3 after:-inset-y-2 */
|
|
@@ -1528,7 +1768,7 @@
|
|
|
1528
1768
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
1529
1769
|
transition-property: all;
|
|
1530
1770
|
transition-duration: var(--pont2-sem-duration);
|
|
1531
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
1771
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
1532
1772
|
background-color: var(--_pont2-badge-bg);
|
|
1533
1773
|
color: var(--_pont2-badge-fg);
|
|
1534
1774
|
}
|
|
@@ -1627,7 +1867,7 @@
|
|
|
1627
1867
|
border-radius: var(--_pont2-kbd-radius);
|
|
1628
1868
|
background-color: var(--_pont2-kbd-bg);
|
|
1629
1869
|
color: var(--_pont2-kbd-fg);
|
|
1630
|
-
font-family: var(--pont2-sem-font-
|
|
1870
|
+
font-family: var(--pont2-sem-font-body);
|
|
1631
1871
|
font-size: var(--pont2-sem-text-xs);
|
|
1632
1872
|
line-height: var(--pont2-sem-text-xs--line-height);
|
|
1633
1873
|
font-weight: var(--_pont2-kbd-font-weight);
|
|
@@ -1664,7 +1904,7 @@
|
|
|
1664
1904
|
box-sizing: border-box;
|
|
1665
1905
|
background-color: var(--_pont2-skeleton-bg);
|
|
1666
1906
|
border-radius: var(--_pont2-skeleton-radius);
|
|
1667
|
-
animation: pont2-pulse
|
|
1907
|
+
animation: var(--pont2-sem-animate-pulse);
|
|
1668
1908
|
}
|
|
1669
1909
|
|
|
1670
1910
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -1691,7 +1931,7 @@
|
|
|
1691
1931
|
background-color: currentColor;
|
|
1692
1932
|
-webkit-mask: var(--pont2-spinner-icon, var(--_pont2-spinner-default)) center / contain no-repeat;
|
|
1693
1933
|
mask: var(--pont2-spinner-icon, var(--_pont2-spinner-default)) center / contain no-repeat;
|
|
1694
|
-
animation: pont2-spin
|
|
1934
|
+
animation: var(--pont2-sem-animate-spin);
|
|
1695
1935
|
}
|
|
1696
1936
|
}
|
|
1697
1937
|
|
|
@@ -1860,7 +2100,7 @@
|
|
|
1860
2100
|
|
|
1861
2101
|
:is(pont2-prim-avatar, [data-pont2-avatar], pont2-prim-avatar-group-count, [data-pont2-avatar-group-count]) {
|
|
1862
2102
|
/** @token Corner radius */
|
|
1863
|
-
--_pont2-avatar-radius: var(--pont2-avatar-radius,
|
|
2103
|
+
--_pont2-avatar-radius: var(--pont2-avatar-radius, var(--pont2-sem-radius-full));
|
|
1864
2104
|
/** @token Outline ring */
|
|
1865
2105
|
--_pont2-avatar-border-color: var(--pont2-avatar-border-color, var(--pont2-sem-color-border));
|
|
1866
2106
|
/** @token Fallback and count background */
|
|
@@ -1912,7 +2152,7 @@
|
|
|
1912
2152
|
:is(pont2-prim-avatar, [data-pont2-avatar]) > img {
|
|
1913
2153
|
display: none;
|
|
1914
2154
|
box-sizing: border-box;
|
|
1915
|
-
aspect-ratio:
|
|
2155
|
+
aspect-ratio: var(--pont2-sem-aspect-square);
|
|
1916
2156
|
width: 100%;
|
|
1917
2157
|
height: 100%;
|
|
1918
2158
|
max-width: none;
|
|
@@ -1929,7 +2169,7 @@
|
|
|
1929
2169
|
justify-content: center;
|
|
1930
2170
|
width: 100%;
|
|
1931
2171
|
height: 100%;
|
|
1932
|
-
border-radius: var(--_pont2-avatar-radius,
|
|
2172
|
+
border-radius: var(--_pont2-avatar-radius, var(--pont2-sem-radius-full));
|
|
1933
2173
|
background-color: var(--_pont2-avatar-fallback-bg, var(--pont2-sem-color-muted));
|
|
1934
2174
|
color: var(--_pont2-avatar-fallback-fg, var(--pont2-sem-color-muted-foreground));
|
|
1935
2175
|
font-size: var(--pont2-sem-text-sm);
|
|
@@ -1954,7 +2194,7 @@
|
|
|
1954
2194
|
justify-content: center;
|
|
1955
2195
|
width: 0.625rem;
|
|
1956
2196
|
height: 0.625rem;
|
|
1957
|
-
border-radius:
|
|
2197
|
+
border-radius: var(--pont2-sem-radius-full);
|
|
1958
2198
|
background-blend-mode: color;
|
|
1959
2199
|
background-color: var(--_pont2-avatar-badge-bg, var(--pont2-sem-color-primary));
|
|
1960
2200
|
color: var(--_pont2-avatar-badge-fg, var(--pont2-sem-color-primary-foreground));
|
|
@@ -2397,7 +2637,7 @@
|
|
|
2397
2637
|
flex-direction: column;
|
|
2398
2638
|
align-items: center;
|
|
2399
2639
|
gap: 0.5rem;
|
|
2400
|
-
max-width:
|
|
2640
|
+
max-width: var(--pont2-sem-container-sm);
|
|
2401
2641
|
}
|
|
2402
2642
|
|
|
2403
2643
|
:is(pont2-prim-empty-media, [data-pont2-empty-media]) {
|
|
@@ -2430,14 +2670,14 @@
|
|
|
2430
2670
|
font-size: var(--pont2-sem-text-lg);
|
|
2431
2671
|
line-height: var(--pont2-sem-text-lg--line-height);
|
|
2432
2672
|
font-weight: var(--_pont2-empty-title-font-weight, var(--pont2-sem-font-weight-medium));
|
|
2433
|
-
letter-spacing: -
|
|
2673
|
+
letter-spacing: var(--pont2-sem-tracking-tight);
|
|
2434
2674
|
}
|
|
2435
2675
|
|
|
2436
2676
|
:is(pont2-prim-empty-description, [data-pont2-empty-description]) {
|
|
2437
2677
|
display: block;
|
|
2438
2678
|
color: var(--_pont2-empty-description-fg, var(--pont2-sem-color-muted-foreground));
|
|
2439
2679
|
font-size: var(--pont2-sem-text-sm);
|
|
2440
|
-
line-height:
|
|
2680
|
+
line-height: var(--pont2-sem-leading-relaxed);
|
|
2441
2681
|
}
|
|
2442
2682
|
:is(pont2-prim-empty-description, [data-pont2-empty-description]) > a {
|
|
2443
2683
|
color: inherit;
|
|
@@ -2454,7 +2694,7 @@
|
|
|
2454
2694
|
align-items: center;
|
|
2455
2695
|
gap: 1rem;
|
|
2456
2696
|
width: 100%;
|
|
2457
|
-
max-width:
|
|
2697
|
+
max-width: var(--pont2-sem-container-sm);
|
|
2458
2698
|
min-width: 0;
|
|
2459
2699
|
font-size: var(--pont2-sem-text-sm);
|
|
2460
2700
|
line-height: var(--pont2-sem-text-sm--line-height);
|
|
@@ -2826,7 +3066,7 @@
|
|
|
2826
3066
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
2827
3067
|
transition-property: color, box-shadow;
|
|
2828
3068
|
transition-duration: var(--pont2-sem-duration);
|
|
2829
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
3069
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
2830
3070
|
}
|
|
2831
3071
|
|
|
2832
3072
|
:is(pont2-prim-input-group, [data-pont2-input-group]):has([data-slot="input-group-control"]:focus-visible) {
|
|
@@ -2888,7 +3128,7 @@
|
|
|
2888
3128
|
opacity: 0.5;
|
|
2889
3129
|
}
|
|
2890
3130
|
:is(pont2-prim-input-group-addon, [data-pont2-input-group-addon]) > :is(kbd, pont2-prim-kbd, pont2-kbd, [data-pont2-kbd]) {
|
|
2891
|
-
border-radius: calc(var(--pont2-sem-radius) - 5px);
|
|
3131
|
+
border-radius: calc(var(--pont2-sem-radius-lg) - 5px);
|
|
2892
3132
|
}
|
|
2893
3133
|
:is(pont2-prim-input-group-addon, [data-pont2-input-group-addon]) > svg:not([class*="size-"]) {
|
|
2894
3134
|
width: 1rem;
|
|
@@ -2962,9 +3202,9 @@
|
|
|
2962
3202
|
[data-pont2-input-group-textarea] {
|
|
2963
3203
|
flex: 1 1 0%;
|
|
2964
3204
|
border: 0;
|
|
2965
|
-
border-radius:
|
|
3205
|
+
border-radius: var(--pont2-sem-radius-none);
|
|
2966
3206
|
background-color: transparent;
|
|
2967
|
-
--pont2-shadow:
|
|
3207
|
+
--pont2-shadow: var(--pont2-sem-shadow-none);
|
|
2968
3208
|
--pont2-ring-shadow: 0 0 #0000;
|
|
2969
3209
|
}
|
|
2970
3210
|
:is([data-pont2-input-group-input], [data-pont2-input-group-textarea]):is(:focus-visible, [aria-invalid="true"]) {
|
|
@@ -2980,7 +3220,7 @@
|
|
|
2980
3220
|
display: flex;
|
|
2981
3221
|
align-items: center;
|
|
2982
3222
|
gap: 0.5rem;
|
|
2983
|
-
--pont2-shadow:
|
|
3223
|
+
--pont2-shadow: var(--pont2-sem-shadow-none);
|
|
2984
3224
|
font-size: var(--pont2-sem-text-sm);
|
|
2985
3225
|
line-height: var(--pont2-sem-text-sm--line-height);
|
|
2986
3226
|
}
|
|
@@ -2988,7 +3228,7 @@
|
|
|
2988
3228
|
height: 1.5rem;
|
|
2989
3229
|
gap: 0.25rem;
|
|
2990
3230
|
padding: 0 0.375rem;
|
|
2991
|
-
border-radius: calc(var(--pont2-sem-radius) - 5px);
|
|
3231
|
+
border-radius: calc(var(--pont2-sem-radius-lg) - 5px);
|
|
2992
3232
|
font-size: var(--pont2-sem-text-sm);
|
|
2993
3233
|
line-height: var(--pont2-sem-text-sm--line-height);
|
|
2994
3234
|
}
|
|
@@ -3000,7 +3240,7 @@
|
|
|
3000
3240
|
width: 1.5rem;
|
|
3001
3241
|
height: 1.5rem;
|
|
3002
3242
|
padding: 0;
|
|
3003
|
-
border-radius: calc(var(--pont2-sem-radius) - 5px);
|
|
3243
|
+
border-radius: calc(var(--pont2-sem-radius-lg) - 5px);
|
|
3004
3244
|
}
|
|
3005
3245
|
[data-pont2-input-group-button][data-size="icon-sm"] {
|
|
3006
3246
|
width: 2rem;
|
|
@@ -3105,7 +3345,7 @@
|
|
|
3105
3345
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
3106
3346
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
3107
3347
|
transition-duration: 100ms;
|
|
3108
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
3348
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
3109
3349
|
}
|
|
3110
3350
|
[data-pont2-item]:focus-visible {
|
|
3111
3351
|
border-color: var(--pont2-sem-color-ring);
|
|
@@ -3323,7 +3563,7 @@
|
|
|
3323
3563
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
3324
3564
|
transition-property: color, box-shadow;
|
|
3325
3565
|
transition-duration: var(--pont2-sem-duration);
|
|
3326
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
3566
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
3327
3567
|
}
|
|
3328
3568
|
[data-pont2-native-select]::selection {
|
|
3329
3569
|
background-color: var(--pont2-sem-color-primary);
|
|
@@ -3437,7 +3677,7 @@
|
|
|
3437
3677
|
border-bottom: 1px solid var(--_pont2-table-border-color, var(--pont2-sem-color-border));
|
|
3438
3678
|
transition-property: color, background-color, border-color;
|
|
3439
3679
|
transition-duration: var(--pont2-sem-duration);
|
|
3440
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
3680
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
3441
3681
|
}
|
|
3442
3682
|
:is(:is(pont2-prim-table, pont2-table) > table > * > tr, [data-pont2-table-row]):hover,
|
|
3443
3683
|
:is(:is(pont2-prim-table, pont2-table) > table > * > tr, [data-pont2-table-row]):has([aria-expanded="true"]) {
|
|
@@ -3610,7 +3850,7 @@
|
|
|
3610
3850
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
3611
3851
|
transition-property: all;
|
|
3612
3852
|
transition-duration: var(--pont2-sem-duration);
|
|
3613
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
3853
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
3614
3854
|
}
|
|
3615
3855
|
:is(pont2-prim-input-otp-slot, [data-pont2-input-otp-slot]):first-child {
|
|
3616
3856
|
border-left-width: 1px;
|
|
@@ -3684,7 +3924,7 @@
|
|
|
3684
3924
|
/** @token Track height */
|
|
3685
3925
|
--_pont2-progress-track-height: var(--pont2-progress-track-height, 0.375rem);
|
|
3686
3926
|
/** @token Track corner radius */
|
|
3687
|
-
--_pont2-progress-track-radius: var(--pont2-progress-track-radius,
|
|
3927
|
+
--_pont2-progress-track-radius: var(--pont2-progress-track-radius, var(--pont2-sem-radius-full));
|
|
3688
3928
|
/** @token Indicator */
|
|
3689
3929
|
--_pont2-progress-indicator-bg: var(--pont2-progress-indicator-bg, var(--pont2-sem-color-primary));
|
|
3690
3930
|
/** @token Label weight */
|
|
@@ -3710,7 +3950,7 @@
|
|
|
3710
3950
|
height: var(--_pont2-progress-track-height, 0.375rem);
|
|
3711
3951
|
align-items: center;
|
|
3712
3952
|
overflow-x: hidden;
|
|
3713
|
-
border-radius: var(--_pont2-progress-track-radius,
|
|
3953
|
+
border-radius: var(--_pont2-progress-track-radius, var(--pont2-sem-radius-full));
|
|
3714
3954
|
background-color: var(--_pont2-progress-track-bg, var(--pont2-sem-color-muted));
|
|
3715
3955
|
}
|
|
3716
3956
|
|
|
@@ -3719,7 +3959,7 @@
|
|
|
3719
3959
|
background-color: var(--_pont2-progress-indicator-bg, var(--pont2-sem-color-primary));
|
|
3720
3960
|
transition-property: all;
|
|
3721
3961
|
transition-duration: var(--pont2-sem-duration);
|
|
3722
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
3962
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
3723
3963
|
}
|
|
3724
3964
|
|
|
3725
3965
|
:is(pont2-prim-progress-label, [data-pont2-progress-label]) {
|
|
@@ -3783,11 +4023,11 @@
|
|
|
3783
4023
|
position: relative;
|
|
3784
4024
|
display: flex;
|
|
3785
4025
|
flex-shrink: 0;
|
|
3786
|
-
aspect-ratio:
|
|
4026
|
+
aspect-ratio: var(--pont2-sem-aspect-square);
|
|
3787
4027
|
width: 1rem;
|
|
3788
4028
|
height: 1rem;
|
|
3789
4029
|
border: 1px solid var(--_pont2-radio-group-item-border-color);
|
|
3790
|
-
border-radius:
|
|
4030
|
+
border-radius: var(--pont2-sem-radius-full);
|
|
3791
4031
|
background-color: var(--_pont2-radio-group-item-bg);
|
|
3792
4032
|
outline: none;
|
|
3793
4033
|
color: inherit;
|
|
@@ -3852,7 +4092,7 @@
|
|
|
3852
4092
|
width: 0.5rem;
|
|
3853
4093
|
height: 0.5rem;
|
|
3854
4094
|
translate: -50% -50%;
|
|
3855
|
-
border-radius:
|
|
4095
|
+
border-radius: var(--pont2-sem-radius-full);
|
|
3856
4096
|
background-color: var(--_pont2-radio-group-indicator-bg);
|
|
3857
4097
|
}
|
|
3858
4098
|
}
|
|
@@ -3930,7 +4170,7 @@
|
|
|
3930
4170
|
flex-grow: 1;
|
|
3931
4171
|
overflow: hidden;
|
|
3932
4172
|
user-select: none;
|
|
3933
|
-
border-radius:
|
|
4173
|
+
border-radius: var(--pont2-sem-radius-full);
|
|
3934
4174
|
background-color: var(--_pont2-slider-track-bg);
|
|
3935
4175
|
}
|
|
3936
4176
|
[data-pont2-slider-track][data-orientation="horizontal"] {
|
|
@@ -3965,14 +4205,14 @@
|
|
|
3965
4205
|
width: var(--_pont2-slider-thumb);
|
|
3966
4206
|
height: var(--_pont2-slider-thumb);
|
|
3967
4207
|
border: 1px solid var(--_pont2-slider-thumb-border-color);
|
|
3968
|
-
border-radius:
|
|
4208
|
+
border-radius: var(--pont2-sem-radius-full);
|
|
3969
4209
|
background-color: var(--_pont2-slider-thumb-bg);
|
|
3970
4210
|
outline: none;
|
|
3971
4211
|
--pont2-shadow: var(--_pont2-slider-thumb-shadow);
|
|
3972
4212
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
3973
4213
|
transition-property: color, box-shadow;
|
|
3974
4214
|
transition-duration: var(--pont2-sem-duration);
|
|
3975
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
4215
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
3976
4216
|
}
|
|
3977
4217
|
[data-pont2-slider-thumb][data-orientation="horizontal"] {
|
|
3978
4218
|
top: 50%;
|
|
@@ -4034,14 +4274,14 @@
|
|
|
4034
4274
|
height: 18.4px;
|
|
4035
4275
|
width: 32px;
|
|
4036
4276
|
border: 1px solid transparent;
|
|
4037
|
-
border-radius:
|
|
4277
|
+
border-radius: var(--pont2-sem-radius-full);
|
|
4038
4278
|
background-color: var(--_pont2-switch-bg);
|
|
4039
4279
|
outline: none;
|
|
4040
4280
|
--pont2-shadow: var(--pont2-sem-shadow-xs);
|
|
4041
4281
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
4042
4282
|
transition-property: all;
|
|
4043
4283
|
transition-duration: var(--pont2-sem-duration);
|
|
4044
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
4284
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
4045
4285
|
}
|
|
4046
4286
|
|
|
4047
4287
|
:is(pont2-prim-switch, pont2-switch, [data-pont2-switch])::after {
|
|
@@ -4086,12 +4326,12 @@
|
|
|
4086
4326
|
display: block;
|
|
4087
4327
|
width: 1rem;
|
|
4088
4328
|
height: 1rem;
|
|
4089
|
-
border-radius:
|
|
4329
|
+
border-radius: var(--pont2-sem-radius-full);
|
|
4090
4330
|
background-color: var(--_pont2-switch-thumb-bg);
|
|
4091
4331
|
translate: 0 0;
|
|
4092
4332
|
transition-property: translate, transform;
|
|
4093
4333
|
transition-duration: var(--pont2-sem-duration);
|
|
4094
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
4334
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
4095
4335
|
}
|
|
4096
4336
|
[data-pont2-switch][data-size="sm"] > [data-pont2-switch-thumb] {
|
|
4097
4337
|
width: 0.75rem;
|
|
@@ -4166,7 +4406,7 @@
|
|
|
4166
4406
|
/* line variant: no list fill, the active tab is marked by the indicator only */
|
|
4167
4407
|
[data-pont2-tabs-list][data-variant="line"] {
|
|
4168
4408
|
--_pont2-tabs-list-bg: transparent;
|
|
4169
|
-
--_pont2-tabs-list-radius:
|
|
4409
|
+
--_pont2-tabs-list-radius: var(--pont2-sem-radius-none);
|
|
4170
4410
|
--_pont2-tabs-trigger-bg-active: transparent;
|
|
4171
4411
|
--_pont2-tabs-trigger-border-color-active: transparent;
|
|
4172
4412
|
}
|
|
@@ -4228,7 +4468,7 @@
|
|
|
4228
4468
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
4229
4469
|
transition-property: all;
|
|
4230
4470
|
transition-duration: var(--pont2-sem-duration);
|
|
4231
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
4471
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
4232
4472
|
}
|
|
4233
4473
|
[data-pont2-tabs][data-orientation="vertical"] [data-pont2-tabs-trigger] {
|
|
4234
4474
|
width: 100%;
|
|
@@ -4275,7 +4515,7 @@
|
|
|
4275
4515
|
|
|
4276
4516
|
/* line variant (colours: the privates above) */
|
|
4277
4517
|
[data-pont2-tabs-list][data-variant="line"] [data-pont2-tabs-trigger] {
|
|
4278
|
-
--pont2-shadow:
|
|
4518
|
+
--pont2-shadow: var(--pont2-sem-shadow-none);
|
|
4279
4519
|
}
|
|
4280
4520
|
|
|
4281
4521
|
/* the line indicator */
|
|
@@ -4284,7 +4524,7 @@
|
|
|
4284
4524
|
position: absolute;
|
|
4285
4525
|
background-color: var(--_pont2-tabs-indicator-bg, var(--pont2-sem-color-foreground));
|
|
4286
4526
|
opacity: 0;
|
|
4287
|
-
transition: opacity var(--pont2-sem-duration) var(--pont2-sem-ease);
|
|
4527
|
+
transition: opacity var(--pont2-sem-duration) var(--pont2-sem-ease-in-out);
|
|
4288
4528
|
}
|
|
4289
4529
|
[data-pont2-tabs]:not([data-orientation="vertical"]) [data-pont2-tabs-trigger]::after {
|
|
4290
4530
|
left: 0;
|
|
@@ -4404,10 +4644,10 @@
|
|
|
4404
4644
|
}
|
|
4405
4645
|
|
|
4406
4646
|
[data-pont2-popup][data-open] {
|
|
4407
|
-
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);
|
|
4408
4648
|
}
|
|
4409
4649
|
[data-pont2-popup][data-closed] {
|
|
4410
|
-
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;
|
|
4411
4651
|
}
|
|
4412
4652
|
|
|
4413
4653
|
@media (prefers-reduced-motion: reduce) {
|
|
@@ -4693,7 +4933,7 @@
|
|
|
4693
4933
|
color: var(--pont2-sem-color-muted-foreground);
|
|
4694
4934
|
font-size: var(--pont2-sem-text-xs);
|
|
4695
4935
|
line-height: var(--pont2-sem-text-xs--line-height);
|
|
4696
|
-
letter-spacing:
|
|
4936
|
+
letter-spacing: var(--pont2-sem-tracking-widest);
|
|
4697
4937
|
}
|
|
4698
4938
|
[data-pont2-menu-item]:focus [data-pont2-dropdown-menu-shortcut] {
|
|
4699
4939
|
color: var(--_pont2-dropdown-menu-item-fg-focus);
|
|
@@ -4776,7 +5016,7 @@
|
|
|
4776
5016
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
4777
5017
|
transition-property: color, box-shadow;
|
|
4778
5018
|
transition-duration: var(--pont2-sem-duration);
|
|
4779
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
5019
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
4780
5020
|
}
|
|
4781
5021
|
[data-pont2-select-trigger][data-placeholder] {
|
|
4782
5022
|
color: var(--pont2-sem-color-muted-foreground);
|
|
@@ -4981,7 +5221,7 @@
|
|
|
4981
5221
|
box-shadow: var(--pont2-ring-shadow), var(--pont2-shadow);
|
|
4982
5222
|
transition-property: color, box-shadow;
|
|
4983
5223
|
transition-duration: var(--pont2-sem-duration);
|
|
4984
|
-
transition-timing-function: var(--pont2-sem-ease);
|
|
5224
|
+
transition-timing-function: var(--pont2-sem-ease-in-out);
|
|
4985
5225
|
}
|
|
4986
5226
|
[data-pont2-combobox-input]:has(> [data-slot="input-group-control"]:focus-visible) {
|
|
4987
5227
|
border-color: var(--pont2-sem-color-ring);
|
|
@@ -5003,7 +5243,7 @@
|
|
|
5003
5243
|
height: 100%;
|
|
5004
5244
|
padding: 0.25rem 0.375rem 0.25rem 0.625rem;
|
|
5005
5245
|
border: 0;
|
|
5006
|
-
border-radius:
|
|
5246
|
+
border-radius: var(--pont2-sem-radius-none);
|
|
5007
5247
|
background: transparent;
|
|
5008
5248
|
color: inherit;
|
|
5009
5249
|
font-family: inherit;
|
|
@@ -5051,8 +5291,8 @@
|
|
|
5051
5291
|
width: 1.5rem;
|
|
5052
5292
|
height: 1.5rem;
|
|
5053
5293
|
padding: 0;
|
|
5054
|
-
border-radius: calc(var(--pont2-sem-radius) - 5px);
|
|
5055
|
-
--pont2-shadow:
|
|
5294
|
+
border-radius: calc(var(--pont2-sem-radius-lg) - 5px);
|
|
5295
|
+
--pont2-shadow: var(--pont2-sem-shadow-none);
|
|
5056
5296
|
}
|
|
5057
5297
|
/* .cn-combobox-trigger [&_svg]:size-4, .cn-combobox-trigger-icon text-muted-foreground */
|
|
5058
5298
|
[data-pont2-combobox-input-addon] > [data-combobox-trigger] svg {
|
|
@@ -5213,7 +5453,7 @@
|
|
|
5213
5453
|
/** @token Corner radius */
|
|
5214
5454
|
--_pont2-tooltip-radius: var(--pont2-tooltip-radius, var(--pont2-sem-radius-md));
|
|
5215
5455
|
/** @token Maximum width */
|
|
5216
|
-
--_pont2-tooltip-max-width: var(--pont2-tooltip-max-width,
|
|
5456
|
+
--_pont2-tooltip-max-width: var(--pont2-tooltip-max-width, var(--pont2-sem-container-xs));
|
|
5217
5457
|
/** @token Horizontal padding */
|
|
5218
5458
|
--_pont2-tooltip-padding-x: var(--pont2-tooltip-padding-x, 0.75rem);
|
|
5219
5459
|
/** @token Vertical padding */
|
|
@@ -5637,6 +5877,7 @@
|
|
|
5637
5877
|
[data-pont2-title] {
|
|
5638
5878
|
margin: 0;
|
|
5639
5879
|
color: var(--_pont2-title-fg);
|
|
5880
|
+
font-family: var(--pont2-sem-font-heading);
|
|
5640
5881
|
font-size: var(--_pont2-title-font-size);
|
|
5641
5882
|
font-weight: var(--_pont2-title-font-weight);
|
|
5642
5883
|
letter-spacing: var(--pont2-sem-tracking-tight);
|
|
@@ -5753,7 +5994,7 @@
|
|
|
5753
5994
|
/** @token Spacing (padding) */
|
|
5754
5995
|
--_pont2-card-spacing: var(--pont2-block-spacing, var(--pont2-card-spacing, 1.5rem));
|
|
5755
5996
|
/** @token Maximum width */
|
|
5756
|
-
--_pont2-block-max-width: var(--pont2-block-max-width,
|
|
5997
|
+
--_pont2-block-max-width: var(--pont2-block-max-width, var(--pont2-sem-container-sm));
|
|
5757
5998
|
/** @token Gap between children */
|
|
5758
5999
|
--_pont2-block-gap: var(--pont2-block-gap, 1rem);
|
|
5759
6000
|
/** @token Background (watermark band) */
|
|
@@ -5865,7 +6106,7 @@
|
|
|
5865
6106
|
gap: 0.375rem;
|
|
5866
6107
|
color: var(--_pont2-watermark-fg);
|
|
5867
6108
|
font-size: 0.8125rem;
|
|
5868
|
-
line-height:
|
|
6109
|
+
line-height: var(--pont2-sem-leading-none);
|
|
5869
6110
|
}
|
|
5870
6111
|
[data-pont2-watermark] > [data-slot="watermark-logo"] {
|
|
5871
6112
|
flex-shrink: 0;
|
|
@@ -6052,8 +6293,8 @@
|
|
|
6052
6293
|
font-weight: var(--pont2-sem-font-weight-medium);
|
|
6053
6294
|
}
|
|
6054
6295
|
[data-pont2-secret] [data-secret] {
|
|
6055
|
-
font-family:
|
|
6056
|
-
letter-spacing:
|
|
6296
|
+
font-family: var(--pont2-sem-font-code);
|
|
6297
|
+
letter-spacing: var(--pont2-sem-tracking-wider);
|
|
6057
6298
|
}
|
|
6058
6299
|
/* Reserved line, so the status appearing does not shift the layout. */
|
|
6059
6300
|
[data-pont2-secret] > [data-slot="secret-copied"] {
|
|
@@ -6162,7 +6403,7 @@
|
|
|
6162
6403
|
list-style: none;
|
|
6163
6404
|
border-radius: var(--_pont2-recovery-codes-list-radius);
|
|
6164
6405
|
background-color: var(--_pont2-recovery-codes-list-bg);
|
|
6165
|
-
font-family:
|
|
6406
|
+
font-family: var(--pont2-sem-font-code);
|
|
6166
6407
|
font-size: var(--pont2-sem-text-sm);
|
|
6167
6408
|
line-height: var(--pont2-sem-text-sm--line-height);
|
|
6168
6409
|
text-align: center;
|