@pontive/pontkit-core 1.11.0 → 1.11.1
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 +1 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +340 -127
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -6761,62 +6761,190 @@ them all being named `--pont-checkbox-icon-*`. */
|
|
|
6761
6761
|
*/
|
|
6762
6762
|
|
|
6763
6763
|
:root {
|
|
6764
|
-
|
|
6764
|
+
/* SPACING */
|
|
6765
|
+
--pont-input-spacing-pt: calc(var(--pont-ref-space) * 1);
|
|
6766
|
+
--pont-input-spacing-pr: calc(var(--pont-ref-space) * 2.5);
|
|
6767
|
+
--pont-input-spacing-pb: calc(var(--pont-ref-space) * 1);
|
|
6768
|
+
--pont-input-spacing-pl: calc(var(--pont-ref-space) * 2.5);
|
|
6765
6769
|
|
|
6766
|
-
|
|
6767
|
-
--pont-input-
|
|
6770
|
+
/* SIZING */
|
|
6771
|
+
--pont-input-sizing-w: var(--pont-ref-sizing-w-full);
|
|
6772
|
+
--pont-input-sizing-h: calc(var(--pont-ref-space) * 8);
|
|
6768
6773
|
|
|
6769
|
-
--pont-input-
|
|
6774
|
+
--pont-input-sizing-min-w: 0px;
|
|
6775
|
+
--pont-input-sizing-max-w: var(--pont-ref-sizing-max-w-none);
|
|
6776
|
+
--pont-input-sizing-min-h: var(--pont-ref-sizing-min-h-auto);
|
|
6777
|
+
--pont-input-sizing-max-h: var(--pont-ref-sizing-max-h-none);
|
|
6770
6778
|
|
|
6771
|
-
|
|
6772
|
-
--pont-input-font
|
|
6773
|
-
--pont-input-
|
|
6774
|
-
--pont-input-
|
|
6775
|
-
--pont-input-
|
|
6779
|
+
/* TYPOGRAPHY */
|
|
6780
|
+
--pont-input-typography-font: var(--pont-sem-font-family-default);
|
|
6781
|
+
--pont-input-typography-size: var(--pont-ref-font-size-sm);
|
|
6782
|
+
--pont-input-typography-weight: var(--pont-ref-font-weight-normal);
|
|
6783
|
+
--pont-input-typography-tracking: var(--pont-ref-font-letter-spacing-normal);
|
|
6784
|
+
--pont-input-typography-leading: var(--pont-ref-font-line-height-of-sm);
|
|
6785
|
+
|
|
6786
|
+
--pont-input-typography-size-bp-max-md: var(--pont-ref-font-size-base);
|
|
6787
|
+
--pont-input-typography-leading-bp-max-md: var(
|
|
6788
|
+
--pont-ref-font-line-height-of-base
|
|
6789
|
+
);
|
|
6776
6790
|
|
|
6777
|
-
--pont-input-color
|
|
6791
|
+
--pont-input-typography-color: hsl(var(--pont-sem-color-text));
|
|
6778
6792
|
|
|
6779
|
-
|
|
6780
|
-
--pont-input-color
|
|
6781
|
-
--pont-input-radius: var(--pont-sem-radius-form);
|
|
6793
|
+
/* BACKGROUND */
|
|
6794
|
+
--pont-input-bg-color: hsl(var(--pont-sem-color-bg-fill-quaternary));
|
|
6782
6795
|
|
|
6783
|
-
|
|
6796
|
+
/* BORDER */
|
|
6797
|
+
--pont-input-border-radius-tl: var(--pont-ref-radius-lg);
|
|
6798
|
+
--pont-input-border-radius-tr: var(--pont-ref-radius-lg);
|
|
6799
|
+
--pont-input-border-radius-br: var(--pont-ref-radius-lg);
|
|
6800
|
+
--pont-input-border-radius-bl: var(--pont-ref-radius-lg);
|
|
6801
|
+
|
|
6802
|
+
--pont-input-border-style: var(--pont-ref-border-style-solid);
|
|
6803
|
+
--pont-input-border-color: hsl(var(--pont-sem-color-border-secondary));
|
|
6804
|
+
--pont-input-border-width-t: var(--pont-sem-width-border);
|
|
6805
|
+
--pont-input-border-width-r: var(--pont-sem-width-border);
|
|
6806
|
+
--pont-input-border-width-b: var(--pont-sem-width-border);
|
|
6807
|
+
--pont-input-border-width-l: var(--pont-sem-width-border);
|
|
6808
|
+
|
|
6809
|
+
--pont-input-outline-w: 0px;
|
|
6810
|
+
--pont-input-outline-color: transparent;
|
|
6811
|
+
--pont-input-outline-style: var(--pont-ref-border-outline-style-none);
|
|
6812
|
+
--pont-input-outline-offset: 0px;
|
|
6813
|
+
|
|
6814
|
+
/* MOTION */
|
|
6815
|
+
--pont-input-motion-property: var(--pont-ref-motion-property-colors);
|
|
6784
6816
|
--pont-input-motion-duration: var(--pont-sem-motion-duration-default);
|
|
6817
|
+
--pont-input-motion-fn: var(--pont-sem-motion-fn-default);
|
|
6818
|
+
}
|
|
6785
6819
|
|
|
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));
|
|
6820
|
+
/* * -------- STATES -------- * */
|
|
6790
6821
|
|
|
6791
|
-
|
|
6792
|
-
|
|
6822
|
+
/* * FOCUS * */
|
|
6823
|
+
|
|
6824
|
+
:root {
|
|
6825
|
+
/* BORDER */
|
|
6826
|
+
--pont-input-border-style-focus: var(--pont-input-border-style);
|
|
6827
|
+
--pont-input-border-color-focus: hsl(var(--pont-sem-color-border-focus));
|
|
6828
|
+
--pont-input-border-width-t-focus: var(--pont-input-border-width-t);
|
|
6829
|
+
--pont-input-border-width-r-focus: var(--pont-input-border-width-r);
|
|
6830
|
+
--pont-input-border-width-b-focus: var(--pont-input-border-width-b);
|
|
6831
|
+
--pont-input-border-width-l-focus: var(--pont-input-border-width-l);
|
|
6832
|
+
|
|
6833
|
+
--pont-input-outline-w-focus: 0px;
|
|
6834
|
+
--pont-input-outline-color-focus: transparent;
|
|
6835
|
+
--pont-input-outline-style-focus: var(--pont-ref-border-outline-style-none);
|
|
6836
|
+
--pont-input-outline-offset-focus: 0px;
|
|
6837
|
+
|
|
6838
|
+
/* EFFECT */
|
|
6839
|
+
--pont-input-effect-shadow-focus: var(--pont-ref-effect-shadow-none);
|
|
6840
|
+
--pont-input-effect-inset-shadow-focus: inset
|
|
6841
|
+
var(--pont-ref-effect-shadow-none);
|
|
6842
|
+
--pont-input-effect-inset-ring-focus: inset var(--pont-ref-effect-shadow-none);
|
|
6843
|
+
|
|
6844
|
+
--pont-input-effect-ring-offset-w-focus: 0px;
|
|
6845
|
+
--pont-input-effect-ring-offset-color-focus: hsl(var(--pont-sem-color-bg));
|
|
6846
|
+
--pont-input-effect-ring-offset-focus: 0 0 0
|
|
6847
|
+
var(--pont-input-effect-ring-offset-w-focus)
|
|
6848
|
+
var(--pont-input-effect-ring-offset-color-focus);
|
|
6849
|
+
|
|
6850
|
+
--pont-input-effect-ring-w-focus: var(--pont-sem-width-ring-focus);
|
|
6851
|
+
--pont-input-effect-ring-color-focus: hsl(var(--pont-sem-color-ring-focus));
|
|
6852
|
+
--pont-input-effect-ring-focus: 0 0 0
|
|
6853
|
+
calc(
|
|
6854
|
+
var(--pont-input-effect-ring-w-focus) +
|
|
6855
|
+
var(--pont-input-effect-ring-offset-w-focus)
|
|
6856
|
+
)
|
|
6857
|
+
var(--pont-input-effect-ring-color-focus);
|
|
6858
|
+
}
|
|
6859
|
+
|
|
6860
|
+
/* * DISABLED * */
|
|
6861
|
+
|
|
6862
|
+
:root {
|
|
6863
|
+
/* BACKGROUND */
|
|
6864
|
+
--pont-input-bg-color-disabled: hsl(var(--pont-sem-color-bg-fill-disabled));
|
|
6865
|
+
|
|
6866
|
+
/* EFFECT */
|
|
6867
|
+
--pont-input-effect-opacity-disabled: var(--pont-sem-opacity-disabled);
|
|
6868
|
+
}
|
|
6869
|
+
|
|
6870
|
+
/* * INVALID * */
|
|
6871
|
+
|
|
6872
|
+
:root {
|
|
6873
|
+
/* BORDER */
|
|
6874
|
+
--pont-input-border-style-invalid: var(--pont-input-border-style);
|
|
6875
|
+
--pont-input-border-color-invalid: hsl(
|
|
6793
6876
|
var(--pont-sem-color-border-invalid-secondary)
|
|
6794
6877
|
);
|
|
6795
|
-
--pont-input-width-
|
|
6796
|
-
--pont-input-
|
|
6878
|
+
--pont-input-border-width-t-invalid: var(--pont-input-border-width-t);
|
|
6879
|
+
--pont-input-border-width-r-invalid: var(--pont-input-border-width-r);
|
|
6880
|
+
--pont-input-border-width-b-invalid: var(--pont-input-border-width-b);
|
|
6881
|
+
--pont-input-border-width-l-invalid: var(--pont-input-border-width-l);
|
|
6797
6882
|
|
|
6798
|
-
|
|
6799
|
-
--pont-input-color-
|
|
6800
|
-
--pont-input-
|
|
6883
|
+
--pont-input-outline-w-invalid: 0px;
|
|
6884
|
+
--pont-input-outline-color-invalid: transparent;
|
|
6885
|
+
--pont-input-outline-style-invalid: var(--pont-ref-border-outline-style-none);
|
|
6886
|
+
--pont-input-outline-offset-invalid: 0px;
|
|
6801
6887
|
|
|
6802
|
-
/*
|
|
6803
|
-
--pont-input-
|
|
6888
|
+
/* EFFECT */
|
|
6889
|
+
--pont-input-effect-shadow-invalid: var(--pont-ref-effect-shadow-none);
|
|
6890
|
+
--pont-input-effect-inset-shadow-invalid: inset
|
|
6891
|
+
var(--pont-ref-effect-shadow-none);
|
|
6892
|
+
--pont-input-effect-inset-ring-invalid: inset
|
|
6893
|
+
var(--pont-ref-effect-shadow-none);
|
|
6804
6894
|
|
|
6805
|
-
|
|
6806
|
-
--pont-input-
|
|
6895
|
+
--pont-input-effect-ring-offset-w-invalid: 0px;
|
|
6896
|
+
--pont-input-effect-ring-offset-color-invalid: hsl(var(--pont-sem-color-bg));
|
|
6897
|
+
--pont-input-effect-ring-offset-invalid: 0 0 0
|
|
6898
|
+
var(--pont-input-effect-ring-offset-w-invalid)
|
|
6899
|
+
var(--pont-input-effect-ring-offset-color-invalid);
|
|
6807
6900
|
|
|
6808
|
-
--pont-input-
|
|
6809
|
-
--pont-input-
|
|
6810
|
-
--pont-sem-
|
|
6901
|
+
--pont-input-effect-ring-w-invalid: var(--pont-sem-width-ring-invalid);
|
|
6902
|
+
--pont-input-effect-ring-color-invalid: hsl(
|
|
6903
|
+
var(--pont-sem-color-ring-destructive)
|
|
6811
6904
|
);
|
|
6812
|
-
--pont-input-
|
|
6813
|
-
|
|
6905
|
+
--pont-input-effect-ring-invalid: 0 0 0
|
|
6906
|
+
calc(
|
|
6907
|
+
var(--pont-input-effect-ring-w-invalid) +
|
|
6908
|
+
var(--pont-input-effect-ring-offset-w-invalid)
|
|
6909
|
+
)
|
|
6910
|
+
var(--pont-input-effect-ring-color-invalid);
|
|
6911
|
+
}
|
|
6912
|
+
|
|
6913
|
+
/* * -------- INPUT > PLACEHOLDER -------- * */
|
|
6814
6914
|
|
|
6815
|
-
|
|
6816
|
-
|
|
6915
|
+
:root {
|
|
6916
|
+
/* TYPOGRAPHY */
|
|
6917
|
+
--pont-input-placeholder-typography-color: hsl(
|
|
6918
|
+
var(--pont-sem-color-text-secondary)
|
|
6817
6919
|
);
|
|
6920
|
+
}
|
|
6921
|
+
|
|
6922
|
+
/* * -------- INPUT > FILE (SELECTOR BUTTON) -------- * */
|
|
6923
|
+
|
|
6924
|
+
:root {
|
|
6925
|
+
/* SIZING */
|
|
6926
|
+
--pont-input-file-sizing-w: var(--pont-ref-sizing-w-auto);
|
|
6927
|
+
--pont-input-file-sizing-h: calc(var(--pont-ref-space) * 6);
|
|
6928
|
+
|
|
6929
|
+
/* TYPOGRAPHY */
|
|
6930
|
+
--pont-input-file-typography-font: var(--pont-input-typography-font);
|
|
6931
|
+
--pont-input-file-typography-size: var(--pont-ref-font-size-sm);
|
|
6932
|
+
--pont-input-file-typography-weight: var(--pont-ref-font-weight-medium);
|
|
6933
|
+
--pont-input-file-typography-tracking: var(--pont-input-typography-tracking);
|
|
6934
|
+
--pont-input-file-typography-leading: var(--pont-ref-font-line-height-of-sm);
|
|
6935
|
+
|
|
6936
|
+
--pont-input-file-typography-color: var(--pont-input-typography-color);
|
|
6818
6937
|
|
|
6819
|
-
|
|
6938
|
+
/* BACKGROUND */
|
|
6939
|
+
--pont-input-file-bg-color: transparent;
|
|
6940
|
+
|
|
6941
|
+
/* BORDER */
|
|
6942
|
+
--pont-input-file-border-style: var(--pont-ref-border-style-solid);
|
|
6943
|
+
--pont-input-file-border-color: transparent;
|
|
6944
|
+
--pont-input-file-border-width-t: 0px;
|
|
6945
|
+
--pont-input-file-border-width-r: 0px;
|
|
6946
|
+
--pont-input-file-border-width-b: 0px;
|
|
6947
|
+
--pont-input-file-border-width-l: 0px;
|
|
6820
6948
|
}
|
|
6821
6949
|
|
|
6822
6950
|
/*
|
|
@@ -11903,98 +12031,162 @@ pont-field-error
|
|
|
11903
12031
|
*/
|
|
11904
12032
|
|
|
11905
12033
|
pont-input {
|
|
11906
|
-
width:
|
|
11907
|
-
|
|
12034
|
+
width: var(--pont-input-sizing-w);
|
|
12035
|
+
height: var(--pont-input-sizing-h);
|
|
12036
|
+
|
|
12037
|
+
min-width: var(--pont-input-sizing-min-w);
|
|
12038
|
+
max-width: var(--pont-input-sizing-max-w);
|
|
12039
|
+
min-height: var(--pont-input-sizing-min-h);
|
|
12040
|
+
max-height: var(--pont-input-sizing-max-h);
|
|
11908
12041
|
}
|
|
11909
12042
|
|
|
11910
|
-
|
|
11911
|
-
|
|
11912
|
-
|
|
12043
|
+
[data-pont-input] {
|
|
12044
|
+
padding-top: var(--pont-input-spacing-pt);
|
|
12045
|
+
padding-right: var(--pont-input-spacing-pr);
|
|
12046
|
+
padding-bottom: var(--pont-input-spacing-pb);
|
|
12047
|
+
padding-left: var(--pont-input-spacing-pl);
|
|
11913
12048
|
|
|
11914
|
-
|
|
12049
|
+
width: var(--pont-input-sizing-w);
|
|
12050
|
+
height: var(--pont-input-sizing-h);
|
|
11915
12051
|
|
|
11916
|
-
|
|
11917
|
-
|
|
11918
|
-
|
|
12052
|
+
min-width: var(--pont-input-sizing-min-w);
|
|
12053
|
+
max-width: var(--pont-input-sizing-max-w);
|
|
12054
|
+
min-height: var(--pont-input-sizing-min-h);
|
|
12055
|
+
max-height: var(--pont-input-sizing-max-h);
|
|
11919
12056
|
|
|
11920
|
-
|
|
12057
|
+
font-family: var(--pont-input-typography-font);
|
|
12058
|
+
/* Note: media query below with font size in smaller viewports */
|
|
12059
|
+
font-size: var(--pont-input-typography-size);
|
|
12060
|
+
font-weight: var(--pont-input-typography-weight);
|
|
12061
|
+
/* Note: media query below with line height in smaller viewports */
|
|
12062
|
+
letter-spacing: var(--pont-input-typography-tracking);
|
|
12063
|
+
line-height: var(--pont-input-typography-leading);
|
|
11921
12064
|
|
|
11922
|
-
|
|
12065
|
+
color: var(--pont-input-typography-color);
|
|
11923
12066
|
|
|
11924
|
-
|
|
11925
|
-
border-radius: var(--pont-input-radius);
|
|
11926
|
-
outline: none;
|
|
12067
|
+
background-color: var(--pont-input-bg-color);
|
|
11927
12068
|
|
|
11928
|
-
|
|
11929
|
-
|
|
11930
|
-
|
|
11931
|
-
|
|
12069
|
+
border-top-left-radius: var(--pont-input-border-radius-tl);
|
|
12070
|
+
border-top-right-radius: var(--pont-input-border-radius-tr);
|
|
12071
|
+
border-bottom-right-radius: var(--pont-input-border-radius-br);
|
|
12072
|
+
border-bottom-left-radius: var(--pont-input-border-radius-bl);
|
|
12073
|
+
|
|
12074
|
+
border-style: var(--pont-input-border-style);
|
|
12075
|
+
border-color: var(--pont-input-border-color);
|
|
12076
|
+
border-top-width: var(--pont-input-border-width-t);
|
|
12077
|
+
border-right-width: var(--pont-input-border-width-r);
|
|
12078
|
+
border-bottom-width: var(--pont-input-border-width-b);
|
|
12079
|
+
border-left-width: var(--pont-input-border-width-l);
|
|
12080
|
+
|
|
12081
|
+
outline-width: var(--pont-input-outline-w);
|
|
12082
|
+
outline-color: var(--pont-input-outline-color);
|
|
12083
|
+
outline-style: var(--pont-input-outline-style);
|
|
12084
|
+
outline-offset: var(--pont-input-outline-offset);
|
|
12085
|
+
|
|
12086
|
+
transition-property: var(--pont-input-motion-property);
|
|
11932
12087
|
transition-duration: var(--pont-input-motion-duration);
|
|
12088
|
+
transition-timing-function: var(--pont-input-motion-fn);
|
|
11933
12089
|
}
|
|
11934
12090
|
|
|
11935
|
-
@media (width
|
|
11936
|
-
|
|
11937
|
-
font-size: var(--pont-input-
|
|
11938
|
-
line-height: var(--pont-input-
|
|
12091
|
+
@media (width < 48rem) {
|
|
12092
|
+
[data-pont-input] {
|
|
12093
|
+
font-size: var(--pont-input-typography-size-bp-max-md);
|
|
12094
|
+
line-height: var(--pont-input-typography-leading-bp-max-md);
|
|
11939
12095
|
}
|
|
11940
12096
|
}
|
|
11941
12097
|
|
|
11942
|
-
/*
|
|
11943
|
-
|
|
11944
|
-
|
|
11945
|
-
|
|
11946
|
-
|
|
11947
|
-
|
|
11948
|
-
|
|
11949
|
-
|
|
11950
|
-
|
|
11951
|
-
|
|
12098
|
+
/* * -------- STATES -------- * */
|
|
12099
|
+
|
|
12100
|
+
/* * FOCUS * */
|
|
12101
|
+
|
|
12102
|
+
[data-pont-input]:focus-visible {
|
|
12103
|
+
border-style: var(--pont-input-border-style-focus);
|
|
12104
|
+
border-color: var(--pont-input-border-color-focus);
|
|
12105
|
+
border-top-width: var(--pont-input-border-width-t-focus);
|
|
12106
|
+
border-right-width: var(--pont-input-border-width-r-focus);
|
|
12107
|
+
border-bottom-width: var(--pont-input-border-width-b-focus);
|
|
12108
|
+
border-left-width: var(--pont-input-border-width-l-focus);
|
|
12109
|
+
|
|
12110
|
+
outline-width: var(--pont-input-outline-w-focus);
|
|
12111
|
+
outline-color: var(--pont-input-outline-color-focus);
|
|
12112
|
+
outline-style: var(--pont-input-outline-style-focus);
|
|
12113
|
+
outline-offset: var(--pont-input-outline-offset-focus);
|
|
11952
12114
|
|
|
11953
|
-
/* INVALID */
|
|
11954
|
-
pont-input > [data-slot='input'][aria-invalid] {
|
|
11955
|
-
border-color: var(--pont-input-color-border-invalid);
|
|
11956
12115
|
box-shadow:
|
|
11957
|
-
|
|
11958
|
-
|
|
11959
|
-
|
|
11960
|
-
|
|
11961
|
-
var(--pont-input-color-ring-invalid),
|
|
11962
|
-
0 0 rgb(0 0 0);
|
|
12116
|
+
var(--pont-input-effect-inset-shadow-focus),
|
|
12117
|
+
var(--pont-input-effect-inset-ring-focus),
|
|
12118
|
+
var(--pont-input-effect-ring-offset-focus),
|
|
12119
|
+
var(--pont-input-effect-ring-focus), var(--pont-input-effect-shadow-focus);
|
|
11963
12120
|
}
|
|
11964
12121
|
|
|
11965
|
-
/* DISABLED */
|
|
11966
|
-
|
|
11967
|
-
|
|
11968
|
-
|
|
11969
|
-
|
|
12122
|
+
/* * DISABLED * */
|
|
12123
|
+
|
|
12124
|
+
[data-pont-input]:disabled {
|
|
12125
|
+
background-color: var(--pont-input-bg-color-disabled);
|
|
12126
|
+
|
|
12127
|
+
opacity: var(--pont-input-effect-opacity-disabled);
|
|
12128
|
+
|
|
11970
12129
|
cursor: not-allowed;
|
|
12130
|
+
pointer-events: none;
|
|
12131
|
+
}
|
|
12132
|
+
|
|
12133
|
+
/* * INVALID * */
|
|
12134
|
+
|
|
12135
|
+
[data-pont-input][aria-invalid] {
|
|
12136
|
+
border-style: var(--pont-input-border-style-invalid);
|
|
12137
|
+
border-color: var(--pont-input-border-color-invalid);
|
|
12138
|
+
border-top-width: var(--pont-input-border-width-t-invalid);
|
|
12139
|
+
border-right-width: var(--pont-input-border-width-r-invalid);
|
|
12140
|
+
border-bottom-width: var(--pont-input-border-width-b-invalid);
|
|
12141
|
+
border-left-width: var(--pont-input-border-width-l-invalid);
|
|
12142
|
+
|
|
12143
|
+
outline-width: var(--pont-input-outline-w-invalid);
|
|
12144
|
+
outline-color: var(--pont-input-outline-color-invalid);
|
|
12145
|
+
outline-style: var(--pont-input-outline-style-invalid);
|
|
12146
|
+
outline-offset: var(--pont-input-outline-offset-invalid);
|
|
12147
|
+
|
|
12148
|
+
box-shadow:
|
|
12149
|
+
var(--pont-input-effect-inset-shadow-invalid),
|
|
12150
|
+
var(--pont-input-effect-inset-ring-invalid),
|
|
12151
|
+
var(--pont-input-effect-ring-offset-invalid),
|
|
12152
|
+
var(--pont-input-effect-ring-invalid),
|
|
12153
|
+
var(--pont-input-effect-shadow-invalid);
|
|
11971
12154
|
}
|
|
11972
12155
|
|
|
11973
|
-
/* * PLACEHOLDER * */
|
|
12156
|
+
/* * -------- INPUT > PLACEHOLDER -------- * */
|
|
11974
12157
|
|
|
11975
|
-
|
|
11976
|
-
color: var(--pont-input-placeholder-color
|
|
12158
|
+
[data-pont-input]::-moz-placeholder {
|
|
12159
|
+
color: var(--pont-input-placeholder-typography-color);
|
|
11977
12160
|
}
|
|
11978
12161
|
|
|
11979
|
-
|
|
11980
|
-
color: var(--pont-input-placeholder-color
|
|
12162
|
+
[data-pont-input]::placeholder {
|
|
12163
|
+
color: var(--pont-input-placeholder-typography-color);
|
|
11981
12164
|
}
|
|
11982
12165
|
|
|
11983
|
-
/* * FILE SELECTOR BUTTON * */
|
|
12166
|
+
/* * -------- INPUT > FILE (SELECTOR BUTTON) -------- * */
|
|
11984
12167
|
|
|
11985
|
-
|
|
12168
|
+
[data-pont-input]::file-selector-button {
|
|
11986
12169
|
display: inline-flex;
|
|
11987
12170
|
|
|
11988
|
-
|
|
12171
|
+
width: var(--pont-input-file-sizing-w);
|
|
12172
|
+
height: var(--pont-input-file-sizing-h);
|
|
11989
12173
|
|
|
11990
|
-
font-
|
|
11991
|
-
|
|
11992
|
-
font-weight: var(--pont-input-file-
|
|
11993
|
-
|
|
12174
|
+
font-family: var(--pont-input-file-typography-font);
|
|
12175
|
+
font-size: var(--pont-input-file-typography-size);
|
|
12176
|
+
font-weight: var(--pont-input-file-typography-weight);
|
|
12177
|
+
letter-spacing: var(--pont-input-file-typography-tracking);
|
|
12178
|
+
line-height: var(--pont-input-file-typography-leading);
|
|
11994
12179
|
|
|
11995
|
-
|
|
12180
|
+
color: var(--pont-input-file-typography-color);
|
|
11996
12181
|
|
|
11997
|
-
|
|
12182
|
+
background-color: var(--pont-input-file-bg-color);
|
|
12183
|
+
|
|
12184
|
+
border-style: var(--pont-input-file-border-style);
|
|
12185
|
+
border-color: var(--pont-input-file-border-color);
|
|
12186
|
+
border-top-width: var(--pont-input-file-border-width-t);
|
|
12187
|
+
border-right-width: var(--pont-input-file-border-width-r);
|
|
12188
|
+
border-bottom-width: var(--pont-input-file-border-width-b);
|
|
12189
|
+
border-left-width: var(--pont-input-file-border-width-l);
|
|
11998
12190
|
}
|
|
11999
12191
|
|
|
12000
12192
|
/*
|
|
@@ -12355,12 +12547,22 @@ pont-input-group-input {
|
|
|
12355
12547
|
flex: 1;
|
|
12356
12548
|
width: 100%;
|
|
12357
12549
|
|
|
12358
|
-
--pont-input-color
|
|
12359
|
-
|
|
12360
|
-
--pont-input-
|
|
12361
|
-
--pont-input-width-
|
|
12362
|
-
--pont-input-width-
|
|
12363
|
-
--pont-input-
|
|
12550
|
+
--pont-input-bg-color: transparent;
|
|
12551
|
+
|
|
12552
|
+
--pont-input-border-width-t: 0;
|
|
12553
|
+
--pont-input-border-width-r: 0;
|
|
12554
|
+
--pont-input-border-width-b: 0;
|
|
12555
|
+
--pont-input-border-width-l: 0;
|
|
12556
|
+
|
|
12557
|
+
--pont-input-border-radius-tl: 0;
|
|
12558
|
+
--pont-input-border-radius-tr: 0;
|
|
12559
|
+
--pont-input-border-radius-br: 0;
|
|
12560
|
+
--pont-input-border-radius-bl: 0;
|
|
12561
|
+
|
|
12562
|
+
--pont-input-effect-ring-w-focus: 0px;
|
|
12563
|
+
--pont-input-effect-ring-w-invalid: 0px;
|
|
12564
|
+
|
|
12565
|
+
--pont-input-bg-color-disabled: transparent;
|
|
12364
12566
|
}
|
|
12365
12567
|
|
|
12366
12568
|
/*
|
|
@@ -13353,6 +13555,11 @@ pont-tabs-content > [data-slot="tabs-content"][data-state="active"] {
|
|
|
13353
13555
|
pont-textarea {
|
|
13354
13556
|
width: var(--pont-textarea-sizing-w);
|
|
13355
13557
|
height: var(--pont-textarea-sizing-h);
|
|
13558
|
+
|
|
13559
|
+
min-width: var(--pont-textarea-sizing-min-w);
|
|
13560
|
+
max-width: var(--pont-textarea-sizing-max-w);
|
|
13561
|
+
min-height: var(--pont-textarea-sizing-min-h);
|
|
13562
|
+
max-height: var(--pont-textarea-sizing-max-h);
|
|
13356
13563
|
}
|
|
13357
13564
|
|
|
13358
13565
|
[data-pont-textarea] {
|
|
@@ -14592,34 +14799,40 @@ DIVIDER
|
|
|
14592
14799
|
|
|
14593
14800
|
/* MultiInput */
|
|
14594
14801
|
: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-
|
|
14802
|
+
/* TODO: each corner now has its own radius token in pont-input */
|
|
14803
|
+
--pont-multi-email-input-radius: var(--pont-input-border-radius-tl);
|
|
14804
|
+
/* TODO: each side now has its own width token in pont-input */
|
|
14805
|
+
--pont-multi-email-input-width-border: var(--pont-input-border-width-t);
|
|
14806
|
+
--pont-multi-email-input-color-border: var(--pont-input-border-color);
|
|
14807
|
+
--pont-multi-email-input-color-bg: var(--pont-input-bg-color);
|
|
14808
|
+
--pont-multi-email-input-font-size: var(--pont-input-typography-size);
|
|
14809
|
+
--pont-multi-email-input-color-border-focus: var(--pont-input-border-color-focus);
|
|
14810
|
+
/* TODO: each side now has its own width token in pont-input */
|
|
14811
|
+
--pont-multi-email-input-width-ring-focus: var(--pont-input-border-width-t-focus);
|
|
14812
|
+
--pont-multi-email-input-color-ring-focus: var(--pont-input-effect-ring-color-focus);
|
|
14605
14813
|
--pont-multi-email-input-error-color-text: var(--pont-sem-color-text-destructive);
|
|
14606
|
-
|
|
14607
|
-
--pont-multi-email-input-space-
|
|
14814
|
+
/* TODO: each side now has its own padding token in pont input */
|
|
14815
|
+
--pont-multi-email-input-space-py: var(--pont-input-spacing-pt);
|
|
14816
|
+
--pont-multi-email-input-space-px: var(--pont-input-spacing-pr);
|
|
14608
14817
|
}
|
|
14609
14818
|
|
|
14610
14819
|
/* Badge Selector */
|
|
14611
14820
|
: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-
|
|
14821
|
+
/* TODO: each corner now has its own radius token in pont-input */
|
|
14822
|
+
--pont-badge-selector-radius: var(--pont-input-border-radius-tl);
|
|
14823
|
+
/* TODO: each side now has its own width token in pont-input */
|
|
14824
|
+
--pont-badge-selector-width-border: var(--pont-input-border-width-t);
|
|
14825
|
+
--pont-badge-selector-color-border: var(--pont-input-border-color);
|
|
14826
|
+
--pont-badge-selector-color-bg: var(--pont-input-bg-color);
|
|
14827
|
+
--pont-badge-selector-font-size: var(--pont-input-typography-size);
|
|
14828
|
+
--pont-badge-selector-color-border-focus: var(--pont-input-border-color-focus);
|
|
14829
|
+
/* TODO: each side now has its own width token in pont-input */
|
|
14830
|
+
--pont-badge-selector-width-ring-focus: var(--pont-input-effect-ring-w-focus);
|
|
14831
|
+
--pont-badge-selector-color-ring-focus: var(--pont-input-effect-ring-color-focus);
|
|
14620
14832
|
--pont-badge-selector-error-color-text: var(--pont-sem-color-text-destructive);
|
|
14621
|
-
|
|
14622
|
-
--pont-badge-selector-space-
|
|
14833
|
+
/* TODO: each side now has its own padding token in pont input */
|
|
14834
|
+
--pont-badge-selector-space-py: var(--pont-input-spacing-pt);
|
|
14835
|
+
--pont-badge-selector-space-px: var(--pont-input-spacing-pr);
|
|
14623
14836
|
--pont-badge-selector-ul-color-bg: var(--pont-sem-color-bg-surface-secondary);
|
|
14624
14837
|
}
|
|
14625
14838
|
|
|
@@ -15913,8 +16126,8 @@ pont-profile pont-card {
|
|
|
15913
16126
|
}
|
|
15914
16127
|
|
|
15915
16128
|
pont-profile pont-card pont-input {
|
|
15916
|
-
--pont-input-color
|
|
15917
|
-
--pont-input-color-
|
|
16129
|
+
--pont-input-bg-color: var(--pont-account-settings-input-color-bg);
|
|
16130
|
+
--pont-input-bg-color-disabled: var(
|
|
15918
16131
|
--pont-account-settings-input-color-bg-disabled
|
|
15919
16132
|
);
|
|
15920
16133
|
}
|