@pontive/pontkit-core 1.11.0 → 1.12.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/catalog.json +1 -1
- package/custom-elements.json +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +404 -139
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -650,6 +650,7 @@
|
|
|
650
650
|
:root {
|
|
651
651
|
/* * WIDTH * */
|
|
652
652
|
--pont-ref-sizing-w-auto: auto;
|
|
653
|
+
--pont-ref-sizing-w-px: 1px;
|
|
653
654
|
--pont-ref-sizing-w-full: 100%;
|
|
654
655
|
--pont-ref-sizing-w-screen: 100vw;
|
|
655
656
|
--pont-ref-sizing-w-dvw: 100dvw;
|
|
@@ -664,6 +665,7 @@
|
|
|
664
665
|
|
|
665
666
|
/* * HEIGHT * */
|
|
666
667
|
--pont-ref-sizing-h-auto: auto;
|
|
668
|
+
--pont-ref-sizing-h-px: 1px;
|
|
667
669
|
--pont-ref-sizing-h-full: 100%;
|
|
668
670
|
--pont-ref-sizing-h-screen: 100vh;
|
|
669
671
|
--pont-ref-sizing-h-dvh: 100dvh;
|
|
@@ -679,6 +681,7 @@
|
|
|
679
681
|
|
|
680
682
|
/* * MIN WIDTH * */
|
|
681
683
|
--pont-ref-sizing-min-w-auto: auto;
|
|
684
|
+
--pont-ref-sizing-min-w-px: 1px;
|
|
682
685
|
--pont-ref-sizing-min-w-full: 100%;
|
|
683
686
|
--pont-ref-sizing-min-w-screen: 100vw;
|
|
684
687
|
--pont-ref-sizing-min-w-dvw: 100dvw;
|
|
@@ -693,6 +696,7 @@
|
|
|
693
696
|
|
|
694
697
|
/* * MAX WIDTH * */
|
|
695
698
|
--pont-ref-sizing-max-w-none: none;
|
|
699
|
+
--pont-ref-sizing-max-w-px: 1px;
|
|
696
700
|
--pont-ref-sizing-max-w-full: 100%;
|
|
697
701
|
--pont-ref-sizing-max-w-dvw: 100dvw;
|
|
698
702
|
--pont-ref-sizing-max-w-dvh: 100dvh;
|
|
@@ -706,6 +710,7 @@
|
|
|
706
710
|
--pont-ref-sizing-max-w-fit: fit-content;
|
|
707
711
|
|
|
708
712
|
/* * MIN HEIGHT * */
|
|
713
|
+
--pont-ref-sizing-min-h-px: 1px;
|
|
709
714
|
--pont-ref-sizing-min-h-full: 100%;
|
|
710
715
|
--pont-ref-sizing-min-h-screen: 100vh;
|
|
711
716
|
--pont-ref-sizing-min-h-dvh: 100dvh;
|
|
@@ -722,6 +727,7 @@
|
|
|
722
727
|
|
|
723
728
|
/* * MAX HEIGHT * */
|
|
724
729
|
--pont-ref-sizing-max-h-none: none;
|
|
730
|
+
--pont-ref-sizing-max-h-px: 1px;
|
|
725
731
|
--pont-ref-sizing-max-h-full: 100%;
|
|
726
732
|
--pont-ref-sizing-max-h-screen: 100vh;
|
|
727
733
|
--pont-ref-sizing-max-h-dvh: 100dvh;
|
|
@@ -6761,62 +6767,190 @@ them all being named `--pont-checkbox-icon-*`. */
|
|
|
6761
6767
|
*/
|
|
6762
6768
|
|
|
6763
6769
|
:root {
|
|
6764
|
-
|
|
6770
|
+
/* SPACING */
|
|
6771
|
+
--pont-input-spacing-pt: calc(var(--pont-ref-space) * 1);
|
|
6772
|
+
--pont-input-spacing-pr: calc(var(--pont-ref-space) * 2.5);
|
|
6773
|
+
--pont-input-spacing-pb: calc(var(--pont-ref-space) * 1);
|
|
6774
|
+
--pont-input-spacing-pl: calc(var(--pont-ref-space) * 2.5);
|
|
6775
|
+
|
|
6776
|
+
/* SIZING */
|
|
6777
|
+
--pont-input-sizing-w: var(--pont-ref-sizing-w-full);
|
|
6778
|
+
--pont-input-sizing-h: calc(var(--pont-ref-space) * 8);
|
|
6765
6779
|
|
|
6766
|
-
--pont-input-
|
|
6767
|
-
--pont-input-
|
|
6780
|
+
--pont-input-sizing-min-w: 0px;
|
|
6781
|
+
--pont-input-sizing-max-w: var(--pont-ref-sizing-max-w-none);
|
|
6782
|
+
--pont-input-sizing-min-h: var(--pont-ref-sizing-min-h-auto);
|
|
6783
|
+
--pont-input-sizing-max-h: var(--pont-ref-sizing-max-h-none);
|
|
6768
6784
|
|
|
6769
|
-
|
|
6785
|
+
/* TYPOGRAPHY */
|
|
6786
|
+
--pont-input-typography-font: var(--pont-sem-font-family-default);
|
|
6787
|
+
--pont-input-typography-size: var(--pont-ref-font-size-sm);
|
|
6788
|
+
--pont-input-typography-weight: var(--pont-ref-font-weight-normal);
|
|
6789
|
+
--pont-input-typography-tracking: var(--pont-ref-font-letter-spacing-normal);
|
|
6790
|
+
--pont-input-typography-leading: var(--pont-ref-font-line-height-of-sm);
|
|
6791
|
+
|
|
6792
|
+
--pont-input-typography-size-bp-max-md: var(--pont-ref-font-size-base);
|
|
6793
|
+
--pont-input-typography-leading-bp-max-md: var(
|
|
6794
|
+
--pont-ref-font-line-height-of-base
|
|
6795
|
+
);
|
|
6770
6796
|
|
|
6771
|
-
--pont-input-
|
|
6772
|
-
--pont-input-font-weight: var(--pont-sem-font-form-weight);
|
|
6773
|
-
--pont-input-font-size-vw-sm: var(--pont-sem-font-form-size-vw-sm);
|
|
6774
|
-
--pont-input-font-line-height: var(--pont-sem-font-form-line-height);
|
|
6775
|
-
--pont-input-font-line-height-vw-sm: var(--pont-sem-font-form-line-height-vw-sm);
|
|
6797
|
+
--pont-input-typography-color: hsl(var(--pont-sem-color-text));
|
|
6776
6798
|
|
|
6777
|
-
|
|
6799
|
+
/* BACKGROUND */
|
|
6800
|
+
--pont-input-bg-color: hsl(var(--pont-sem-color-bg-fill-quaternary));
|
|
6778
6801
|
|
|
6779
|
-
|
|
6780
|
-
--pont-input-
|
|
6781
|
-
--pont-input-radius: var(--pont-
|
|
6802
|
+
/* BORDER */
|
|
6803
|
+
--pont-input-border-radius-tl: var(--pont-ref-radius-lg);
|
|
6804
|
+
--pont-input-border-radius-tr: var(--pont-ref-radius-lg);
|
|
6805
|
+
--pont-input-border-radius-br: var(--pont-ref-radius-lg);
|
|
6806
|
+
--pont-input-border-radius-bl: var(--pont-ref-radius-lg);
|
|
6807
|
+
|
|
6808
|
+
--pont-input-border-style: var(--pont-ref-border-style-solid);
|
|
6809
|
+
--pont-input-border-color: hsl(var(--pont-sem-color-border-secondary));
|
|
6810
|
+
--pont-input-border-width-t: var(--pont-sem-width-border);
|
|
6811
|
+
--pont-input-border-width-r: var(--pont-sem-width-border);
|
|
6812
|
+
--pont-input-border-width-b: var(--pont-sem-width-border);
|
|
6813
|
+
--pont-input-border-width-l: var(--pont-sem-width-border);
|
|
6814
|
+
|
|
6815
|
+
--pont-input-outline-w: 0px;
|
|
6816
|
+
--pont-input-outline-color: transparent;
|
|
6817
|
+
--pont-input-outline-style: var(--pont-ref-border-outline-style-none);
|
|
6818
|
+
--pont-input-outline-offset: 0px;
|
|
6782
6819
|
|
|
6783
|
-
|
|
6820
|
+
/* MOTION */
|
|
6821
|
+
--pont-input-motion-property: var(--pont-ref-motion-property-colors);
|
|
6784
6822
|
--pont-input-motion-duration: var(--pont-sem-motion-duration-default);
|
|
6823
|
+
--pont-input-motion-fn: var(--pont-sem-motion-fn-default);
|
|
6824
|
+
}
|
|
6785
6825
|
|
|
6786
|
-
|
|
6787
|
-
--pont-input-color-border-focus: hsl(var(--pont-sem-color-border-focus));
|
|
6788
|
-
--pont-input-width-ring-focus: var(--pont-sem-width-ring-focus);
|
|
6789
|
-
--pont-input-color-ring-focus: hsl(var(--pont-sem-color-ring-focus));
|
|
6826
|
+
/* * -------- STATES -------- * */
|
|
6790
6827
|
|
|
6791
|
-
|
|
6792
|
-
|
|
6828
|
+
/* * FOCUS * */
|
|
6829
|
+
|
|
6830
|
+
:root {
|
|
6831
|
+
/* BORDER */
|
|
6832
|
+
--pont-input-border-style-focus: var(--pont-input-border-style);
|
|
6833
|
+
--pont-input-border-color-focus: hsl(var(--pont-sem-color-border-focus));
|
|
6834
|
+
--pont-input-border-width-t-focus: var(--pont-input-border-width-t);
|
|
6835
|
+
--pont-input-border-width-r-focus: var(--pont-input-border-width-r);
|
|
6836
|
+
--pont-input-border-width-b-focus: var(--pont-input-border-width-b);
|
|
6837
|
+
--pont-input-border-width-l-focus: var(--pont-input-border-width-l);
|
|
6838
|
+
|
|
6839
|
+
--pont-input-outline-w-focus: 0px;
|
|
6840
|
+
--pont-input-outline-color-focus: transparent;
|
|
6841
|
+
--pont-input-outline-style-focus: var(--pont-ref-border-outline-style-none);
|
|
6842
|
+
--pont-input-outline-offset-focus: 0px;
|
|
6843
|
+
|
|
6844
|
+
/* EFFECT */
|
|
6845
|
+
--pont-input-effect-shadow-focus: var(--pont-ref-effect-shadow-none);
|
|
6846
|
+
--pont-input-effect-inset-shadow-focus: inset
|
|
6847
|
+
var(--pont-ref-effect-shadow-none);
|
|
6848
|
+
--pont-input-effect-inset-ring-focus: inset var(--pont-ref-effect-shadow-none);
|
|
6849
|
+
|
|
6850
|
+
--pont-input-effect-ring-offset-w-focus: 0px;
|
|
6851
|
+
--pont-input-effect-ring-offset-color-focus: hsl(var(--pont-sem-color-bg));
|
|
6852
|
+
--pont-input-effect-ring-offset-focus: 0 0 0
|
|
6853
|
+
var(--pont-input-effect-ring-offset-w-focus)
|
|
6854
|
+
var(--pont-input-effect-ring-offset-color-focus);
|
|
6855
|
+
|
|
6856
|
+
--pont-input-effect-ring-w-focus: var(--pont-sem-width-ring-focus);
|
|
6857
|
+
--pont-input-effect-ring-color-focus: hsl(var(--pont-sem-color-ring-focus));
|
|
6858
|
+
--pont-input-effect-ring-focus: 0 0 0
|
|
6859
|
+
calc(
|
|
6860
|
+
var(--pont-input-effect-ring-w-focus) +
|
|
6861
|
+
var(--pont-input-effect-ring-offset-w-focus)
|
|
6862
|
+
)
|
|
6863
|
+
var(--pont-input-effect-ring-color-focus);
|
|
6864
|
+
}
|
|
6865
|
+
|
|
6866
|
+
/* * DISABLED * */
|
|
6867
|
+
|
|
6868
|
+
:root {
|
|
6869
|
+
/* BACKGROUND */
|
|
6870
|
+
--pont-input-bg-color-disabled: hsl(var(--pont-sem-color-bg-fill-disabled));
|
|
6871
|
+
|
|
6872
|
+
/* EFFECT */
|
|
6873
|
+
--pont-input-effect-opacity-disabled: var(--pont-sem-opacity-disabled);
|
|
6874
|
+
}
|
|
6875
|
+
|
|
6876
|
+
/* * INVALID * */
|
|
6877
|
+
|
|
6878
|
+
:root {
|
|
6879
|
+
/* BORDER */
|
|
6880
|
+
--pont-input-border-style-invalid: var(--pont-input-border-style);
|
|
6881
|
+
--pont-input-border-color-invalid: hsl(
|
|
6793
6882
|
var(--pont-sem-color-border-invalid-secondary)
|
|
6794
6883
|
);
|
|
6795
|
-
--pont-input-width-
|
|
6796
|
-
--pont-input-
|
|
6884
|
+
--pont-input-border-width-t-invalid: var(--pont-input-border-width-t);
|
|
6885
|
+
--pont-input-border-width-r-invalid: var(--pont-input-border-width-r);
|
|
6886
|
+
--pont-input-border-width-b-invalid: var(--pont-input-border-width-b);
|
|
6887
|
+
--pont-input-border-width-l-invalid: var(--pont-input-border-width-l);
|
|
6797
6888
|
|
|
6798
|
-
|
|
6799
|
-
--pont-input-color-
|
|
6800
|
-
--pont-input-
|
|
6889
|
+
--pont-input-outline-w-invalid: 0px;
|
|
6890
|
+
--pont-input-outline-color-invalid: transparent;
|
|
6891
|
+
--pont-input-outline-style-invalid: var(--pont-ref-border-outline-style-none);
|
|
6892
|
+
--pont-input-outline-offset-invalid: 0px;
|
|
6801
6893
|
|
|
6802
|
-
/*
|
|
6803
|
-
--pont-input-
|
|
6894
|
+
/* EFFECT */
|
|
6895
|
+
--pont-input-effect-shadow-invalid: var(--pont-ref-effect-shadow-none);
|
|
6896
|
+
--pont-input-effect-inset-shadow-invalid: inset
|
|
6897
|
+
var(--pont-ref-effect-shadow-none);
|
|
6898
|
+
--pont-input-effect-inset-ring-invalid: inset
|
|
6899
|
+
var(--pont-ref-effect-shadow-none);
|
|
6804
6900
|
|
|
6805
|
-
|
|
6806
|
-
--pont-input-
|
|
6901
|
+
--pont-input-effect-ring-offset-w-invalid: 0px;
|
|
6902
|
+
--pont-input-effect-ring-offset-color-invalid: hsl(var(--pont-sem-color-bg));
|
|
6903
|
+
--pont-input-effect-ring-offset-invalid: 0 0 0
|
|
6904
|
+
var(--pont-input-effect-ring-offset-w-invalid)
|
|
6905
|
+
var(--pont-input-effect-ring-offset-color-invalid);
|
|
6807
6906
|
|
|
6808
|
-
--pont-input-
|
|
6809
|
-
--pont-input-
|
|
6810
|
-
--pont-sem-
|
|
6907
|
+
--pont-input-effect-ring-w-invalid: var(--pont-sem-width-ring-invalid);
|
|
6908
|
+
--pont-input-effect-ring-color-invalid: hsl(
|
|
6909
|
+
var(--pont-sem-color-ring-destructive)
|
|
6811
6910
|
);
|
|
6812
|
-
--pont-input-
|
|
6813
|
-
|
|
6911
|
+
--pont-input-effect-ring-invalid: 0 0 0
|
|
6912
|
+
calc(
|
|
6913
|
+
var(--pont-input-effect-ring-w-invalid) +
|
|
6914
|
+
var(--pont-input-effect-ring-offset-w-invalid)
|
|
6915
|
+
)
|
|
6916
|
+
var(--pont-input-effect-ring-color-invalid);
|
|
6917
|
+
}
|
|
6918
|
+
|
|
6919
|
+
/* * -------- INPUT > PLACEHOLDER -------- * */
|
|
6814
6920
|
|
|
6815
|
-
|
|
6816
|
-
|
|
6921
|
+
:root {
|
|
6922
|
+
/* TYPOGRAPHY */
|
|
6923
|
+
--pont-input-placeholder-typography-color: hsl(
|
|
6924
|
+
var(--pont-sem-color-text-secondary)
|
|
6817
6925
|
);
|
|
6926
|
+
}
|
|
6818
6927
|
|
|
6819
|
-
|
|
6928
|
+
/* * -------- INPUT > FILE (SELECTOR BUTTON) -------- * */
|
|
6929
|
+
|
|
6930
|
+
:root {
|
|
6931
|
+
/* SIZING */
|
|
6932
|
+
--pont-input-file-sizing-w: var(--pont-ref-sizing-w-auto);
|
|
6933
|
+
--pont-input-file-sizing-h: calc(var(--pont-ref-space) * 6);
|
|
6934
|
+
|
|
6935
|
+
/* TYPOGRAPHY */
|
|
6936
|
+
--pont-input-file-typography-font: var(--pont-input-typography-font);
|
|
6937
|
+
--pont-input-file-typography-size: var(--pont-ref-font-size-sm);
|
|
6938
|
+
--pont-input-file-typography-weight: var(--pont-ref-font-weight-medium);
|
|
6939
|
+
--pont-input-file-typography-tracking: var(--pont-input-typography-tracking);
|
|
6940
|
+
--pont-input-file-typography-leading: var(--pont-ref-font-line-height-of-sm);
|
|
6941
|
+
|
|
6942
|
+
--pont-input-file-typography-color: var(--pont-input-typography-color);
|
|
6943
|
+
|
|
6944
|
+
/* BACKGROUND */
|
|
6945
|
+
--pont-input-file-bg-color: transparent;
|
|
6946
|
+
|
|
6947
|
+
/* BORDER */
|
|
6948
|
+
--pont-input-file-border-style: var(--pont-ref-border-style-solid);
|
|
6949
|
+
--pont-input-file-border-color: transparent;
|
|
6950
|
+
--pont-input-file-border-width-t: 0px;
|
|
6951
|
+
--pont-input-file-border-width-r: 0px;
|
|
6952
|
+
--pont-input-file-border-width-b: 0px;
|
|
6953
|
+
--pont-input-file-border-width-l: 0px;
|
|
6820
6954
|
}
|
|
6821
6955
|
|
|
6822
6956
|
/*
|
|
@@ -7606,9 +7740,36 @@ them all being named `--pont-checkbox-icon-*`. */
|
|
|
7606
7740
|
*/
|
|
7607
7741
|
|
|
7608
7742
|
:root {
|
|
7609
|
-
|
|
7610
|
-
--pont-separator-
|
|
7611
|
-
|
|
7743
|
+
/* BACKGROUND */
|
|
7744
|
+
--pont-separator-bg-color: hsl(var(--pont-sem-color-border));
|
|
7745
|
+
}
|
|
7746
|
+
|
|
7747
|
+
/* * -------- ORIENTATIONS -------- * */
|
|
7748
|
+
|
|
7749
|
+
/* * HORIZONTAL * */
|
|
7750
|
+
|
|
7751
|
+
:root {
|
|
7752
|
+
/* SIZING */
|
|
7753
|
+
--pont-separator-horizontal-sizing-w: var(--pont-ref-sizing-w-full);
|
|
7754
|
+
--pont-separator-horizontal-sizing-h: var(--pont-ref-sizing-h-px);
|
|
7755
|
+
|
|
7756
|
+
--pont-separator-horizontal-sizing-min-w: var(--pont-ref-sizing-min-w-auto);
|
|
7757
|
+
--pont-separator-horizontal-sizing-max-w: var(--pont-ref-sizing-max-w-none);
|
|
7758
|
+
--pont-separator-horizontal-sizing-min-h: var(--pont-ref-sizing-min-h-auto);
|
|
7759
|
+
--pont-separator-horizontal-sizing-max-h: var(--pont-ref-sizing-max-h-none);
|
|
7760
|
+
}
|
|
7761
|
+
|
|
7762
|
+
/* * VERTICAL * */
|
|
7763
|
+
|
|
7764
|
+
:root {
|
|
7765
|
+
/* SIZING */
|
|
7766
|
+
--pont-separator-vertical-sizing-w: var(--pont-ref-sizing-w-px);
|
|
7767
|
+
--pont-separator-vertical-sizing-h: var(--pont-ref-sizing-h-auto);
|
|
7768
|
+
|
|
7769
|
+
--pont-separator-vertical-sizing-min-w: var(--pont-ref-sizing-min-w-auto);
|
|
7770
|
+
--pont-separator-vertical-sizing-max-w: var(--pont-ref-sizing-max-w-none);
|
|
7771
|
+
--pont-separator-vertical-sizing-min-h: var(--pont-ref-sizing-min-h-auto);
|
|
7772
|
+
--pont-separator-vertical-sizing-max-h: var(--pont-ref-sizing-max-h-none);
|
|
7612
7773
|
}
|
|
7613
7774
|
|
|
7614
7775
|
/*
|
|
@@ -11903,98 +12064,162 @@ pont-field-error
|
|
|
11903
12064
|
*/
|
|
11904
12065
|
|
|
11905
12066
|
pont-input {
|
|
11906
|
-
width:
|
|
11907
|
-
|
|
12067
|
+
width: var(--pont-input-sizing-w);
|
|
12068
|
+
height: var(--pont-input-sizing-h);
|
|
12069
|
+
|
|
12070
|
+
min-width: var(--pont-input-sizing-min-w);
|
|
12071
|
+
max-width: var(--pont-input-sizing-max-w);
|
|
12072
|
+
min-height: var(--pont-input-sizing-min-h);
|
|
12073
|
+
max-height: var(--pont-input-sizing-max-h);
|
|
11908
12074
|
}
|
|
11909
12075
|
|
|
11910
|
-
|
|
11911
|
-
|
|
11912
|
-
|
|
12076
|
+
[data-pont-input] {
|
|
12077
|
+
padding-top: var(--pont-input-spacing-pt);
|
|
12078
|
+
padding-right: var(--pont-input-spacing-pr);
|
|
12079
|
+
padding-bottom: var(--pont-input-spacing-pb);
|
|
12080
|
+
padding-left: var(--pont-input-spacing-pl);
|
|
11913
12081
|
|
|
11914
|
-
|
|
12082
|
+
width: var(--pont-input-sizing-w);
|
|
12083
|
+
height: var(--pont-input-sizing-h);
|
|
11915
12084
|
|
|
11916
|
-
|
|
11917
|
-
|
|
11918
|
-
|
|
12085
|
+
min-width: var(--pont-input-sizing-min-w);
|
|
12086
|
+
max-width: var(--pont-input-sizing-max-w);
|
|
12087
|
+
min-height: var(--pont-input-sizing-min-h);
|
|
12088
|
+
max-height: var(--pont-input-sizing-max-h);
|
|
11919
12089
|
|
|
11920
|
-
|
|
12090
|
+
font-family: var(--pont-input-typography-font);
|
|
12091
|
+
/* Note: media query below with font size in smaller viewports */
|
|
12092
|
+
font-size: var(--pont-input-typography-size);
|
|
12093
|
+
font-weight: var(--pont-input-typography-weight);
|
|
12094
|
+
/* Note: media query below with line height in smaller viewports */
|
|
12095
|
+
letter-spacing: var(--pont-input-typography-tracking);
|
|
12096
|
+
line-height: var(--pont-input-typography-leading);
|
|
11921
12097
|
|
|
11922
|
-
|
|
12098
|
+
color: var(--pont-input-typography-color);
|
|
11923
12099
|
|
|
11924
|
-
|
|
11925
|
-
border-radius: var(--pont-input-radius);
|
|
11926
|
-
outline: none;
|
|
12100
|
+
background-color: var(--pont-input-bg-color);
|
|
11927
12101
|
|
|
11928
|
-
|
|
11929
|
-
|
|
11930
|
-
|
|
11931
|
-
|
|
12102
|
+
border-top-left-radius: var(--pont-input-border-radius-tl);
|
|
12103
|
+
border-top-right-radius: var(--pont-input-border-radius-tr);
|
|
12104
|
+
border-bottom-right-radius: var(--pont-input-border-radius-br);
|
|
12105
|
+
border-bottom-left-radius: var(--pont-input-border-radius-bl);
|
|
12106
|
+
|
|
12107
|
+
border-style: var(--pont-input-border-style);
|
|
12108
|
+
border-color: var(--pont-input-border-color);
|
|
12109
|
+
border-top-width: var(--pont-input-border-width-t);
|
|
12110
|
+
border-right-width: var(--pont-input-border-width-r);
|
|
12111
|
+
border-bottom-width: var(--pont-input-border-width-b);
|
|
12112
|
+
border-left-width: var(--pont-input-border-width-l);
|
|
12113
|
+
|
|
12114
|
+
outline-width: var(--pont-input-outline-w);
|
|
12115
|
+
outline-color: var(--pont-input-outline-color);
|
|
12116
|
+
outline-style: var(--pont-input-outline-style);
|
|
12117
|
+
outline-offset: var(--pont-input-outline-offset);
|
|
12118
|
+
|
|
12119
|
+
transition-property: var(--pont-input-motion-property);
|
|
11932
12120
|
transition-duration: var(--pont-input-motion-duration);
|
|
12121
|
+
transition-timing-function: var(--pont-input-motion-fn);
|
|
11933
12122
|
}
|
|
11934
12123
|
|
|
11935
|
-
@media (width
|
|
11936
|
-
|
|
11937
|
-
font-size: var(--pont-input-
|
|
11938
|
-
line-height: var(--pont-input-
|
|
12124
|
+
@media (width < 48rem) {
|
|
12125
|
+
[data-pont-input] {
|
|
12126
|
+
font-size: var(--pont-input-typography-size-bp-max-md);
|
|
12127
|
+
line-height: var(--pont-input-typography-leading-bp-max-md);
|
|
11939
12128
|
}
|
|
11940
12129
|
}
|
|
11941
12130
|
|
|
11942
|
-
/*
|
|
11943
|
-
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
|
|
11948
|
-
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
12131
|
+
/* * -------- STATES -------- * */
|
|
12132
|
+
|
|
12133
|
+
/* * FOCUS * */
|
|
12134
|
+
|
|
12135
|
+
[data-pont-input]:focus-visible {
|
|
12136
|
+
border-style: var(--pont-input-border-style-focus);
|
|
12137
|
+
border-color: var(--pont-input-border-color-focus);
|
|
12138
|
+
border-top-width: var(--pont-input-border-width-t-focus);
|
|
12139
|
+
border-right-width: var(--pont-input-border-width-r-focus);
|
|
12140
|
+
border-bottom-width: var(--pont-input-border-width-b-focus);
|
|
12141
|
+
border-left-width: var(--pont-input-border-width-l-focus);
|
|
12142
|
+
|
|
12143
|
+
outline-width: var(--pont-input-outline-w-focus);
|
|
12144
|
+
outline-color: var(--pont-input-outline-color-focus);
|
|
12145
|
+
outline-style: var(--pont-input-outline-style-focus);
|
|
12146
|
+
outline-offset: var(--pont-input-outline-offset-focus);
|
|
11952
12147
|
|
|
11953
|
-
/* INVALID */
|
|
11954
|
-
pont-input > [data-slot='input'][aria-invalid] {
|
|
11955
|
-
border-color: var(--pont-input-color-border-invalid);
|
|
11956
12148
|
box-shadow:
|
|
11957
|
-
|
|
11958
|
-
|
|
11959
|
-
|
|
11960
|
-
|
|
11961
|
-
var(--pont-input-color-ring-invalid),
|
|
11962
|
-
0 0 rgb(0 0 0);
|
|
12149
|
+
var(--pont-input-effect-inset-shadow-focus),
|
|
12150
|
+
var(--pont-input-effect-inset-ring-focus),
|
|
12151
|
+
var(--pont-input-effect-ring-offset-focus),
|
|
12152
|
+
var(--pont-input-effect-ring-focus), var(--pont-input-effect-shadow-focus);
|
|
11963
12153
|
}
|
|
11964
12154
|
|
|
11965
|
-
/* DISABLED */
|
|
11966
|
-
|
|
11967
|
-
|
|
11968
|
-
|
|
11969
|
-
|
|
12155
|
+
/* * DISABLED * */
|
|
12156
|
+
|
|
12157
|
+
[data-pont-input]:disabled {
|
|
12158
|
+
background-color: var(--pont-input-bg-color-disabled);
|
|
12159
|
+
|
|
12160
|
+
opacity: var(--pont-input-effect-opacity-disabled);
|
|
12161
|
+
|
|
11970
12162
|
cursor: not-allowed;
|
|
12163
|
+
pointer-events: none;
|
|
12164
|
+
}
|
|
12165
|
+
|
|
12166
|
+
/* * INVALID * */
|
|
12167
|
+
|
|
12168
|
+
[data-pont-input][aria-invalid] {
|
|
12169
|
+
border-style: var(--pont-input-border-style-invalid);
|
|
12170
|
+
border-color: var(--pont-input-border-color-invalid);
|
|
12171
|
+
border-top-width: var(--pont-input-border-width-t-invalid);
|
|
12172
|
+
border-right-width: var(--pont-input-border-width-r-invalid);
|
|
12173
|
+
border-bottom-width: var(--pont-input-border-width-b-invalid);
|
|
12174
|
+
border-left-width: var(--pont-input-border-width-l-invalid);
|
|
12175
|
+
|
|
12176
|
+
outline-width: var(--pont-input-outline-w-invalid);
|
|
12177
|
+
outline-color: var(--pont-input-outline-color-invalid);
|
|
12178
|
+
outline-style: var(--pont-input-outline-style-invalid);
|
|
12179
|
+
outline-offset: var(--pont-input-outline-offset-invalid);
|
|
12180
|
+
|
|
12181
|
+
box-shadow:
|
|
12182
|
+
var(--pont-input-effect-inset-shadow-invalid),
|
|
12183
|
+
var(--pont-input-effect-inset-ring-invalid),
|
|
12184
|
+
var(--pont-input-effect-ring-offset-invalid),
|
|
12185
|
+
var(--pont-input-effect-ring-invalid),
|
|
12186
|
+
var(--pont-input-effect-shadow-invalid);
|
|
11971
12187
|
}
|
|
11972
12188
|
|
|
11973
|
-
/* * PLACEHOLDER * */
|
|
12189
|
+
/* * -------- INPUT > PLACEHOLDER -------- * */
|
|
11974
12190
|
|
|
11975
|
-
|
|
11976
|
-
color: var(--pont-input-placeholder-color
|
|
12191
|
+
[data-pont-input]::-moz-placeholder {
|
|
12192
|
+
color: var(--pont-input-placeholder-typography-color);
|
|
11977
12193
|
}
|
|
11978
12194
|
|
|
11979
|
-
|
|
11980
|
-
color: var(--pont-input-placeholder-color
|
|
12195
|
+
[data-pont-input]::placeholder {
|
|
12196
|
+
color: var(--pont-input-placeholder-typography-color);
|
|
11981
12197
|
}
|
|
11982
12198
|
|
|
11983
|
-
/* * FILE SELECTOR BUTTON * */
|
|
12199
|
+
/* * -------- INPUT > FILE (SELECTOR BUTTON) -------- * */
|
|
11984
12200
|
|
|
11985
|
-
|
|
12201
|
+
[data-pont-input]::file-selector-button {
|
|
11986
12202
|
display: inline-flex;
|
|
11987
12203
|
|
|
11988
|
-
|
|
12204
|
+
width: var(--pont-input-file-sizing-w);
|
|
12205
|
+
height: var(--pont-input-file-sizing-h);
|
|
12206
|
+
|
|
12207
|
+
font-family: var(--pont-input-file-typography-font);
|
|
12208
|
+
font-size: var(--pont-input-file-typography-size);
|
|
12209
|
+
font-weight: var(--pont-input-file-typography-weight);
|
|
12210
|
+
letter-spacing: var(--pont-input-file-typography-tracking);
|
|
12211
|
+
line-height: var(--pont-input-file-typography-leading);
|
|
11989
12212
|
|
|
11990
|
-
|
|
11991
|
-
line-height: var(--pont-input-file-button-font-line-height);
|
|
11992
|
-
font-weight: var(--pont-input-file-button-font-weight);
|
|
11993
|
-
color: var(--pont-input-file-button-color-text);
|
|
12213
|
+
color: var(--pont-input-file-typography-color);
|
|
11994
12214
|
|
|
11995
|
-
background-color: var(--pont-input-file-
|
|
12215
|
+
background-color: var(--pont-input-file-bg-color);
|
|
11996
12216
|
|
|
11997
|
-
border-
|
|
12217
|
+
border-style: var(--pont-input-file-border-style);
|
|
12218
|
+
border-color: var(--pont-input-file-border-color);
|
|
12219
|
+
border-top-width: var(--pont-input-file-border-width-t);
|
|
12220
|
+
border-right-width: var(--pont-input-file-border-width-r);
|
|
12221
|
+
border-bottom-width: var(--pont-input-file-border-width-b);
|
|
12222
|
+
border-left-width: var(--pont-input-file-border-width-l);
|
|
11998
12223
|
}
|
|
11999
12224
|
|
|
12000
12225
|
/*
|
|
@@ -12355,12 +12580,22 @@ pont-input-group-input {
|
|
|
12355
12580
|
flex: 1;
|
|
12356
12581
|
width: 100%;
|
|
12357
12582
|
|
|
12358
|
-
--pont-input-color
|
|
12359
|
-
|
|
12360
|
-
--pont-input-
|
|
12361
|
-
--pont-input-width-
|
|
12362
|
-
--pont-input-width-
|
|
12363
|
-
--pont-input-
|
|
12583
|
+
--pont-input-bg-color: transparent;
|
|
12584
|
+
|
|
12585
|
+
--pont-input-border-width-t: 0;
|
|
12586
|
+
--pont-input-border-width-r: 0;
|
|
12587
|
+
--pont-input-border-width-b: 0;
|
|
12588
|
+
--pont-input-border-width-l: 0;
|
|
12589
|
+
|
|
12590
|
+
--pont-input-border-radius-tl: 0;
|
|
12591
|
+
--pont-input-border-radius-tr: 0;
|
|
12592
|
+
--pont-input-border-radius-br: 0;
|
|
12593
|
+
--pont-input-border-radius-bl: 0;
|
|
12594
|
+
|
|
12595
|
+
--pont-input-effect-ring-w-focus: 0px;
|
|
12596
|
+
--pont-input-effect-ring-w-invalid: 0px;
|
|
12597
|
+
|
|
12598
|
+
--pont-input-bg-color-disabled: transparent;
|
|
12364
12599
|
}
|
|
12365
12600
|
|
|
12366
12601
|
/*
|
|
@@ -13072,20 +13307,39 @@ pont-separator {
|
|
|
13072
13307
|
flex-shrink: 0;
|
|
13073
13308
|
}
|
|
13074
13309
|
|
|
13075
|
-
|
|
13310
|
+
[data-pont-separator] {
|
|
13076
13311
|
width: 100%;
|
|
13077
|
-
height:
|
|
13312
|
+
height: 100%;
|
|
13313
|
+
|
|
13314
|
+
background-color: var(--pont-separator-bg-color);
|
|
13078
13315
|
}
|
|
13079
13316
|
|
|
13080
|
-
|
|
13081
|
-
|
|
13082
|
-
|
|
13317
|
+
/* * -------- ORIENTATIONS -------- * */
|
|
13318
|
+
|
|
13319
|
+
/* * HORIZONTAL * */
|
|
13320
|
+
|
|
13321
|
+
pont-separator:has([data-orientation="horizontal"]) {
|
|
13322
|
+
width: var(--pont-separator-horizontal-sizing-w);
|
|
13323
|
+
height: var(--pont-separator-horizontal-sizing-h);
|
|
13324
|
+
|
|
13325
|
+
min-width: var(--pont-separator-horizontal-sizing-min-w);
|
|
13326
|
+
max-width: var(--pont-separator-horizontal-sizing-max-w);
|
|
13327
|
+
min-height: var(--pont-separator-horizontal-sizing-min-h);
|
|
13328
|
+
max-height: var(--pont-separator-horizontal-sizing-max-h);
|
|
13083
13329
|
}
|
|
13084
13330
|
|
|
13085
|
-
|
|
13086
|
-
|
|
13087
|
-
|
|
13088
|
-
|
|
13331
|
+
/* * VERTICAL * */
|
|
13332
|
+
|
|
13333
|
+
pont-separator:has([data-orientation="vertical"]) {
|
|
13334
|
+
align-self: stretch;
|
|
13335
|
+
|
|
13336
|
+
width: var(--pont-separator-vertical-sizing-w);
|
|
13337
|
+
height: var(--pont-separator-vertical-sizing-h);
|
|
13338
|
+
|
|
13339
|
+
min-width: var(--pont-separator-horizontal-sizing-min-w);
|
|
13340
|
+
max-width: var(--pont-separator-horizontal-sizing-max-w);
|
|
13341
|
+
min-height: var(--pont-separator-horizontal-sizing-min-h);
|
|
13342
|
+
max-height: var(--pont-separator-horizontal-sizing-max-h);
|
|
13089
13343
|
}
|
|
13090
13344
|
|
|
13091
13345
|
/*
|
|
@@ -13353,6 +13607,11 @@ pont-tabs-content > [data-slot="tabs-content"][data-state="active"] {
|
|
|
13353
13607
|
pont-textarea {
|
|
13354
13608
|
width: var(--pont-textarea-sizing-w);
|
|
13355
13609
|
height: var(--pont-textarea-sizing-h);
|
|
13610
|
+
|
|
13611
|
+
min-width: var(--pont-textarea-sizing-min-w);
|
|
13612
|
+
max-width: var(--pont-textarea-sizing-max-w);
|
|
13613
|
+
min-height: var(--pont-textarea-sizing-min-h);
|
|
13614
|
+
max-height: var(--pont-textarea-sizing-max-h);
|
|
13356
13615
|
}
|
|
13357
13616
|
|
|
13358
13617
|
[data-pont-textarea] {
|
|
@@ -14592,34 +14851,40 @@ DIVIDER
|
|
|
14592
14851
|
|
|
14593
14852
|
/* MultiInput */
|
|
14594
14853
|
:root {
|
|
14595
|
-
|
|
14596
|
-
--pont-multi-email-input-
|
|
14597
|
-
|
|
14598
|
-
--pont-multi-email-input-
|
|
14599
|
-
--pont-multi-email-input-
|
|
14600
|
-
--pont-multi-email-input-color-
|
|
14601
|
-
|
|
14602
|
-
);
|
|
14603
|
-
|
|
14604
|
-
--pont-multi-email-input-
|
|
14854
|
+
/* TODO: each corner now has its own radius token in pont-input */
|
|
14855
|
+
--pont-multi-email-input-radius: var(--pont-input-border-radius-tl);
|
|
14856
|
+
/* TODO: each side now has its own width token in pont-input */
|
|
14857
|
+
--pont-multi-email-input-width-border: var(--pont-input-border-width-t);
|
|
14858
|
+
--pont-multi-email-input-color-border: var(--pont-input-border-color);
|
|
14859
|
+
--pont-multi-email-input-color-bg: var(--pont-input-bg-color);
|
|
14860
|
+
--pont-multi-email-input-font-size: var(--pont-input-typography-size);
|
|
14861
|
+
--pont-multi-email-input-color-border-focus: var(--pont-input-border-color-focus);
|
|
14862
|
+
/* TODO: each side now has its own width token in pont-input */
|
|
14863
|
+
--pont-multi-email-input-width-ring-focus: var(--pont-input-border-width-t-focus);
|
|
14864
|
+
--pont-multi-email-input-color-ring-focus: var(--pont-input-effect-ring-color-focus);
|
|
14605
14865
|
--pont-multi-email-input-error-color-text: var(--pont-sem-color-text-destructive);
|
|
14606
|
-
|
|
14607
|
-
--pont-multi-email-input-space-
|
|
14866
|
+
/* TODO: each side now has its own padding token in pont input */
|
|
14867
|
+
--pont-multi-email-input-space-py: var(--pont-input-spacing-pt);
|
|
14868
|
+
--pont-multi-email-input-space-px: var(--pont-input-spacing-pr);
|
|
14608
14869
|
}
|
|
14609
14870
|
|
|
14610
14871
|
/* Badge Selector */
|
|
14611
14872
|
:root {
|
|
14612
|
-
|
|
14613
|
-
--pont-badge-selector-
|
|
14614
|
-
|
|
14615
|
-
--pont-badge-selector-
|
|
14616
|
-
--pont-badge-selector-
|
|
14617
|
-
--pont-badge-selector-color-
|
|
14618
|
-
--pont-badge-selector-
|
|
14619
|
-
--pont-badge-selector-color-
|
|
14873
|
+
/* TODO: each corner now has its own radius token in pont-input */
|
|
14874
|
+
--pont-badge-selector-radius: var(--pont-input-border-radius-tl);
|
|
14875
|
+
/* TODO: each side now has its own width token in pont-input */
|
|
14876
|
+
--pont-badge-selector-width-border: var(--pont-input-border-width-t);
|
|
14877
|
+
--pont-badge-selector-color-border: var(--pont-input-border-color);
|
|
14878
|
+
--pont-badge-selector-color-bg: var(--pont-input-bg-color);
|
|
14879
|
+
--pont-badge-selector-font-size: var(--pont-input-typography-size);
|
|
14880
|
+
--pont-badge-selector-color-border-focus: var(--pont-input-border-color-focus);
|
|
14881
|
+
/* TODO: each side now has its own width token in pont-input */
|
|
14882
|
+
--pont-badge-selector-width-ring-focus: var(--pont-input-effect-ring-w-focus);
|
|
14883
|
+
--pont-badge-selector-color-ring-focus: var(--pont-input-effect-ring-color-focus);
|
|
14620
14884
|
--pont-badge-selector-error-color-text: var(--pont-sem-color-text-destructive);
|
|
14621
|
-
|
|
14622
|
-
--pont-badge-selector-space-
|
|
14885
|
+
/* TODO: each side now has its own padding token in pont input */
|
|
14886
|
+
--pont-badge-selector-space-py: var(--pont-input-spacing-pt);
|
|
14887
|
+
--pont-badge-selector-space-px: var(--pont-input-spacing-pr);
|
|
14623
14888
|
--pont-badge-selector-ul-color-bg: var(--pont-sem-color-bg-surface-secondary);
|
|
14624
14889
|
}
|
|
14625
14890
|
|
|
@@ -15913,8 +16178,8 @@ pont-profile pont-card {
|
|
|
15913
16178
|
}
|
|
15914
16179
|
|
|
15915
16180
|
pont-profile pont-card pont-input {
|
|
15916
|
-
--pont-input-color
|
|
15917
|
-
--pont-input-color-
|
|
16181
|
+
--pont-input-bg-color: var(--pont-account-settings-input-color-bg);
|
|
16182
|
+
--pont-input-bg-color-disabled: var(
|
|
15918
16183
|
--pont-account-settings-input-color-bg-disabled
|
|
15919
16184
|
);
|
|
15920
16185
|
}
|