@pontive/pontkit-core 1.16.0 → 1.17.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/styles.css +63 -34
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -402,6 +402,9 @@
|
|
|
402
402
|
*/
|
|
403
403
|
|
|
404
404
|
:root {
|
|
405
|
+
--pont-ref-radius-none: 0;
|
|
406
|
+
--pont-ref-radius-full: calc(infinity * 1px);
|
|
407
|
+
|
|
405
408
|
/* Used as the base value for calculating radius reference token values. */
|
|
406
409
|
--pont-ref-radius: 0.625rem;
|
|
407
410
|
|
|
@@ -413,7 +416,6 @@
|
|
|
413
416
|
--pont-ref-radius-lg: var(--pont-ref-radius);
|
|
414
417
|
--pont-ref-radius-lg-xl: calc(var(--pont-ref-radius) + 2px);
|
|
415
418
|
--pont-ref-radius-xl: calc(var(--pont-ref-radius) + 4px);
|
|
416
|
-
--pont-ref-radius-full: calc(var(--pont-ref-radius) * infinity);
|
|
417
419
|
|
|
418
420
|
/* Equivalent radius values using the pixels unit */
|
|
419
421
|
--pont-ref-radius-as-px: 10px;
|
|
@@ -6652,31 +6654,31 @@ set its border radius (all corners) to `--pont-ref-radius-lg` for all sizes. */
|
|
|
6652
6654
|
|
|
6653
6655
|
/* * -------- STATES -------- * */
|
|
6654
6656
|
|
|
6655
|
-
/* *
|
|
6657
|
+
/* * CHECKED * */
|
|
6656
6658
|
|
|
6657
6659
|
:root {
|
|
6658
6660
|
/* TYPOGRAPHY */
|
|
6659
|
-
--pont-checkbox-typography-color-
|
|
6661
|
+
--pont-checkbox-typography-color-checked: var(
|
|
6660
6662
|
--pont-checkbox-typography-color
|
|
6661
6663
|
);
|
|
6662
6664
|
|
|
6663
6665
|
/* BACKGROUND */
|
|
6664
|
-
--pont-checkbox-bg-color-
|
|
6666
|
+
--pont-checkbox-bg-color-checked: hsl(var(--pont-sem-color-bg-fill-brand));
|
|
6665
6667
|
|
|
6666
6668
|
/* BORDER */
|
|
6667
|
-
--pont-checkbox-border-style-
|
|
6668
|
-
--pont-checkbox-border-color-
|
|
6669
|
-
--pont-checkbox-border-width-t-
|
|
6670
|
-
--pont-checkbox-border-width-r-
|
|
6671
|
-
--pont-checkbox-border-width-b-
|
|
6672
|
-
--pont-checkbox-border-width-l-
|
|
6673
|
-
|
|
6674
|
-
--pont-checkbox-outline-w-
|
|
6675
|
-
--pont-checkbox-outline-color-
|
|
6676
|
-
--pont-checkbox-outline-style-
|
|
6669
|
+
--pont-checkbox-border-style-checked: var(--pont-checkbox-border-style);
|
|
6670
|
+
--pont-checkbox-border-color-checked: hsl(var(--pont-sem-color-border-brand));
|
|
6671
|
+
--pont-checkbox-border-width-t-checked: var(--pont-checkbox-border-width-t);
|
|
6672
|
+
--pont-checkbox-border-width-r-checked: var(--pont-checkbox-border-width-r);
|
|
6673
|
+
--pont-checkbox-border-width-b-checked: var(--pont-checkbox-border-width-b);
|
|
6674
|
+
--pont-checkbox-border-width-l-checked: var(--pont-checkbox-border-width-l);
|
|
6675
|
+
|
|
6676
|
+
--pont-checkbox-outline-w-checked: 0px;
|
|
6677
|
+
--pont-checkbox-outline-color-checked: transparent;
|
|
6678
|
+
--pont-checkbox-outline-style-checked: var(
|
|
6677
6679
|
--pont-ref-border-outline-style-none
|
|
6678
6680
|
);
|
|
6679
|
-
--pont-checkbox-outline-offset-
|
|
6681
|
+
--pont-checkbox-outline-offset-checked: 0px;
|
|
6680
6682
|
}
|
|
6681
6683
|
|
|
6682
6684
|
/* * FOCUS * */
|
|
@@ -8304,14 +8306,15 @@ them all being named `--pont-checkbox-icon-*`. */
|
|
|
8304
8306
|
:root {
|
|
8305
8307
|
/* SIZING */
|
|
8306
8308
|
--pont-input-file-sizing-w: var(--pont-ref-sizing-w-auto);
|
|
8307
|
-
|
|
8309
|
+
/* Note: shadcn sets this value to space-6. */
|
|
8310
|
+
--pont-input-file-sizing-h: var(--pont-ref-sizing-h-full);
|
|
8308
8311
|
|
|
8309
8312
|
/* TYPOGRAPHY */
|
|
8310
8313
|
--pont-input-file-typography-font: var(--pont-input-typography-font);
|
|
8311
|
-
--pont-input-file-typography-size: var(--pont-
|
|
8314
|
+
--pont-input-file-typography-size: var(--pont-input-typography-size);
|
|
8312
8315
|
--pont-input-file-typography-weight: var(--pont-ref-font-weight-medium);
|
|
8313
8316
|
--pont-input-file-typography-tracking: var(--pont-input-typography-tracking);
|
|
8314
|
-
--pont-input-file-typography-leading: var(--pont-
|
|
8317
|
+
--pont-input-file-typography-leading: var(--pont-input-typography-leading);
|
|
8315
8318
|
|
|
8316
8319
|
--pont-input-file-typography-color: var(--pont-input-typography-color);
|
|
8317
8320
|
|
|
@@ -9137,12 +9140,18 @@ them all being named `--pont-checkbox-icon-*`. */
|
|
|
9137
9140
|
:root {
|
|
9138
9141
|
/* SIZING */
|
|
9139
9142
|
--pont-separator-horizontal-sizing-w: var(--pont-ref-sizing-w-full);
|
|
9140
|
-
--pont-separator-horizontal-sizing-h:
|
|
9143
|
+
--pont-separator-horizontal-sizing-h: 5px;
|
|
9141
9144
|
|
|
9142
9145
|
--pont-separator-horizontal-sizing-min-w: var(--pont-ref-sizing-min-w-auto);
|
|
9143
9146
|
--pont-separator-horizontal-sizing-max-w: var(--pont-ref-sizing-max-w-none);
|
|
9144
9147
|
--pont-separator-horizontal-sizing-min-h: var(--pont-ref-sizing-min-h-auto);
|
|
9145
9148
|
--pont-separator-horizontal-sizing-max-h: var(--pont-ref-sizing-max-h-none);
|
|
9149
|
+
|
|
9150
|
+
/* BORDER */
|
|
9151
|
+
--pont-separator-horizontal-border-radius-tl: var(--pont-ref-radius-md);
|
|
9152
|
+
--pont-separator-horizontal-border-radius-tr: var(--pont-ref-radius-md);
|
|
9153
|
+
--pont-separator-horizontal-border-radius-br: var(--pont-ref-radius-none);
|
|
9154
|
+
--pont-separator-horizontal-border-radius-bl: var(--pont-ref-radius-lg);
|
|
9146
9155
|
}
|
|
9147
9156
|
|
|
9148
9157
|
/* * VERTICAL * */
|
|
@@ -9156,6 +9165,12 @@ them all being named `--pont-checkbox-icon-*`. */
|
|
|
9156
9165
|
--pont-separator-vertical-sizing-max-w: var(--pont-ref-sizing-max-w-none);
|
|
9157
9166
|
--pont-separator-vertical-sizing-min-h: var(--pont-ref-sizing-min-h-auto);
|
|
9158
9167
|
--pont-separator-vertical-sizing-max-h: var(--pont-ref-sizing-max-h-none);
|
|
9168
|
+
|
|
9169
|
+
/* BORDER */
|
|
9170
|
+
--pont-separator-vertical-border-radius-tl: var(--pont-ref-radius-none);
|
|
9171
|
+
--pont-separator-vertical-border-radius-tr: var(--pont-ref-radius-none);
|
|
9172
|
+
--pont-separator-vertical-border-radius-br: var(--pont-ref-radius-none);
|
|
9173
|
+
--pont-separator-vertical-border-radius-bl: var(--pont-ref-radius-none);
|
|
9159
9174
|
}
|
|
9160
9175
|
|
|
9161
9176
|
/*
|
|
@@ -13643,24 +13658,24 @@ pont-checkbox {
|
|
|
13643
13658
|
|
|
13644
13659
|
/* * -------- STATES -------- * */
|
|
13645
13660
|
|
|
13646
|
-
/* *
|
|
13661
|
+
/* * CHECKED * */
|
|
13647
13662
|
|
|
13648
13663
|
[data-pont-checkbox][data-state="checked"] {
|
|
13649
|
-
color: var(--pont-checkbox-typography-color-
|
|
13664
|
+
color: var(--pont-checkbox-typography-color-checked);
|
|
13650
13665
|
|
|
13651
|
-
background-color: var(--pont-checkbox-bg-color-
|
|
13666
|
+
background-color: var(--pont-checkbox-bg-color-checked);
|
|
13652
13667
|
|
|
13653
|
-
border-style: var(--pont-checkbox-border-style-
|
|
13654
|
-
border-color: var(--pont-checkbox-border-color-
|
|
13655
|
-
border-top-width: var(--pont-checkbox-border-width-t-
|
|
13656
|
-
border-right-width: var(--pont-checkbox-border-width-r-
|
|
13657
|
-
border-bottom-width: var(--pont-checkbox-border-width-b-
|
|
13658
|
-
border-left-width: var(--pont-checkbox-border-width-l-
|
|
13668
|
+
border-style: var(--pont-checkbox-border-style-checked);
|
|
13669
|
+
border-color: var(--pont-checkbox-border-color-checked);
|
|
13670
|
+
border-top-width: var(--pont-checkbox-border-width-t-checked);
|
|
13671
|
+
border-right-width: var(--pont-checkbox-border-width-r-checked);
|
|
13672
|
+
border-bottom-width: var(--pont-checkbox-border-width-b-checked);
|
|
13673
|
+
border-left-width: var(--pont-checkbox-border-width-l-checked);
|
|
13659
13674
|
|
|
13660
|
-
outline-width: var(--pont-checkbox-outline-w-
|
|
13661
|
-
outline-color: var(--pont-checkbox-outline-color-
|
|
13662
|
-
outline-style: var(--pont-checkbox-outline-style-
|
|
13663
|
-
outline-offset: var(--pont-checkbox-outline-offset-
|
|
13675
|
+
outline-width: var(--pont-checkbox-outline-w-checked);
|
|
13676
|
+
outline-color: var(--pont-checkbox-outline-color-checked);
|
|
13677
|
+
outline-style: var(--pont-checkbox-outline-style-checked);
|
|
13678
|
+
outline-offset: var(--pont-checkbox-outline-offset-checked);
|
|
13664
13679
|
}
|
|
13665
13680
|
|
|
13666
13681
|
/* * FOCUS * */
|
|
@@ -13729,7 +13744,7 @@ pont-checkbox {
|
|
|
13729
13744
|
|
|
13730
13745
|
[data-pont-field-label]:has(:focus-visible)
|
|
13731
13746
|
[data-pont-checkbox][data-state="checked"] {
|
|
13732
|
-
border-color: var(--pont-checkbox-border-color-
|
|
13747
|
+
border-color: var(--pont-checkbox-border-color-checked);
|
|
13733
13748
|
}
|
|
13734
13749
|
|
|
13735
13750
|
[data-pont-field-label]:has(:focus-visible) [data-pont-checkbox] {
|
|
@@ -13745,7 +13760,7 @@ pont-checkbox {
|
|
|
13745
13760
|
}
|
|
13746
13761
|
|
|
13747
13762
|
[data-pont-checkbox][data-state="checked"][aria-invalid] {
|
|
13748
|
-
border-color: var(--pont-checkbox-border-color-
|
|
13763
|
+
border-color: var(--pont-checkbox-border-color-checked);
|
|
13749
13764
|
}
|
|
13750
13765
|
|
|
13751
13766
|
/* * -------- CHECKBOX... AFTER -------- * */
|
|
@@ -15728,6 +15743,13 @@ pont-separator:has([data-orientation="horizontal"]) {
|
|
|
15728
15743
|
max-height: var(--pont-separator-horizontal-sizing-max-h);
|
|
15729
15744
|
}
|
|
15730
15745
|
|
|
15746
|
+
[data-pont-separator][data-orientation="horizontal"] {
|
|
15747
|
+
border-top-left-radius: var(--pont-separator-horizontal-border-radius-tl);
|
|
15748
|
+
border-top-right-radius: var(--pont-separator-horizontal-border-radius-tr);
|
|
15749
|
+
border-bottom-right-radius: var(--pont-separator-horizontal-border-radius-br);
|
|
15750
|
+
border-bottom-left-radius: var(--pont-separator-horizontal-border-radius-bl);
|
|
15751
|
+
}
|
|
15752
|
+
|
|
15731
15753
|
/* * VERTICAL * */
|
|
15732
15754
|
|
|
15733
15755
|
pont-separator:has([data-orientation="vertical"]) {
|
|
@@ -15742,6 +15764,13 @@ pont-separator:has([data-orientation="vertical"]) {
|
|
|
15742
15764
|
max-height: var(--pont-separator-vertical-sizing-max-h);
|
|
15743
15765
|
}
|
|
15744
15766
|
|
|
15767
|
+
[data-pont-separator][data-orientation="vertical"] {
|
|
15768
|
+
border-top-left-radius: var(--pont-separator-vertical-border-radius-tl);
|
|
15769
|
+
border-top-right-radius: var(--pont-separator-vertical-border-radius-tr);
|
|
15770
|
+
border-bottom-right-radius: var(--pont-separator-vertical-border-radius-br);
|
|
15771
|
+
border-bottom-left-radius: var(--pont-separator-vertical-border-radius-bl);
|
|
15772
|
+
}
|
|
15773
|
+
|
|
15745
15774
|
/*
|
|
15746
15775
|
* ===========================================================================
|
|
15747
15776
|
* SPINNER COMPONENT STYLES
|