@pontive/pontkit-core 1.14.1 → 1.15.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 +119 -18
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -3464,6 +3464,9 @@
|
|
|
3464
3464
|
)
|
|
3465
3465
|
var(--pont-badge-default-effect-ring-color);
|
|
3466
3466
|
|
|
3467
|
+
/* ICON */
|
|
3468
|
+
--pont-badge-default-icon-color: var(--pont-badge-default-typography-color);
|
|
3469
|
+
|
|
3467
3470
|
/* * HOVER * */
|
|
3468
3471
|
/* TYPOGRAPHY */
|
|
3469
3472
|
--pont-badge-default-typography-color-hover: hsl(
|
|
@@ -3516,6 +3519,11 @@
|
|
|
3516
3519
|
|
|
3517
3520
|
--pont-badge-default-effect-opacity-hover: 100%;
|
|
3518
3521
|
|
|
3522
|
+
/* ICON */
|
|
3523
|
+
--pont-badge-default-icon-color-hover: var(
|
|
3524
|
+
--pont-badge-default-typography-color-hover
|
|
3525
|
+
);
|
|
3526
|
+
|
|
3519
3527
|
/* * FOCUS * */
|
|
3520
3528
|
/* TYPOGRAPHY */
|
|
3521
3529
|
--pont-badge-default-typography-color-focus: hsl(
|
|
@@ -3679,6 +3687,11 @@
|
|
|
3679
3687
|
)
|
|
3680
3688
|
var(--pont-badge-secondary-effect-ring-color);
|
|
3681
3689
|
|
|
3690
|
+
/* ICON */
|
|
3691
|
+
--pont-badge-secondary-icon-color: var(
|
|
3692
|
+
--pont-badge-secondary-typography-color
|
|
3693
|
+
);
|
|
3694
|
+
|
|
3682
3695
|
/* * HOVER * */
|
|
3683
3696
|
/* TYPOGRAPHY */
|
|
3684
3697
|
--pont-badge-secondary-typography-color-hover: hsl(
|
|
@@ -3733,6 +3746,11 @@
|
|
|
3733
3746
|
|
|
3734
3747
|
--pont-badge-secondary-effect-opacity-hover: 100%;
|
|
3735
3748
|
|
|
3749
|
+
/* ICON */
|
|
3750
|
+
--pont-badge-secondary-icon-color-hover: var(
|
|
3751
|
+
--pont-badge-secondary-typography-color-hover
|
|
3752
|
+
);
|
|
3753
|
+
|
|
3736
3754
|
/* * FOCUS * */
|
|
3737
3755
|
/* TYPOGRAPHY */
|
|
3738
3756
|
--pont-badge-secondary-typography-color-focus: hsl(
|
|
@@ -3896,6 +3914,9 @@
|
|
|
3896
3914
|
)
|
|
3897
3915
|
var(--pont-badge-outline-effect-ring-color);
|
|
3898
3916
|
|
|
3917
|
+
/* ICON */
|
|
3918
|
+
--pont-badge-outline-icon-color: var(--pont-badge-outline-typography-color);
|
|
3919
|
+
|
|
3899
3920
|
/* * HOVER * */
|
|
3900
3921
|
/* TYPOGRAPHY */
|
|
3901
3922
|
--pont-badge-outline-typography-color-hover: hsl(
|
|
@@ -3948,6 +3969,11 @@
|
|
|
3948
3969
|
|
|
3949
3970
|
--pont-badge-outline-effect-opacity-hover: 100%;
|
|
3950
3971
|
|
|
3972
|
+
/* ICON */
|
|
3973
|
+
--pont-badge-outline-icon-color-hover: var(
|
|
3974
|
+
--pont-badge-outline-typography-color-hover
|
|
3975
|
+
);
|
|
3976
|
+
|
|
3951
3977
|
/* * FOCUS * */
|
|
3952
3978
|
/* TYPOGRAPHY */
|
|
3953
3979
|
--pont-badge-outline-typography-color-focus: hsl(var(--pont-sem-color-text));
|
|
@@ -4100,6 +4126,9 @@
|
|
|
4100
4126
|
)
|
|
4101
4127
|
var(--pont-badge-ghost-effect-ring-color);
|
|
4102
4128
|
|
|
4129
|
+
/* ICON */
|
|
4130
|
+
--pont-badge-ghost-icon-color: var(--pont-badge-ghost-typography-color);
|
|
4131
|
+
|
|
4103
4132
|
/* * HOVER * */
|
|
4104
4133
|
/* TYPOGRAPHY */
|
|
4105
4134
|
--pont-badge-ghost-typography-color-hover: hsl(
|
|
@@ -4152,6 +4181,11 @@
|
|
|
4152
4181
|
|
|
4153
4182
|
--pont-badge-ghost-effect-opacity-hover: 100%;
|
|
4154
4183
|
|
|
4184
|
+
/* ICON */
|
|
4185
|
+
--pont-badge-ghost-icon-color-hover: var(
|
|
4186
|
+
--pont-badge-ghost-typography-color-hover
|
|
4187
|
+
);
|
|
4188
|
+
|
|
4155
4189
|
/* * FOCUS * */
|
|
4156
4190
|
/* TYPOGRAPHY */
|
|
4157
4191
|
--pont-badge-ghost-typography-color-focus: hsl(var(--pont-sem-color-text));
|
|
@@ -4309,6 +4343,11 @@
|
|
|
4309
4343
|
)
|
|
4310
4344
|
var(--pont-badge-destructive-effect-ring-color);
|
|
4311
4345
|
|
|
4346
|
+
/* ICON */
|
|
4347
|
+
--pont-badge-destructive-icon-color: var(
|
|
4348
|
+
--pont-badge-destructive-typography-color
|
|
4349
|
+
);
|
|
4350
|
+
|
|
4312
4351
|
/* * HOVER * */
|
|
4313
4352
|
/* TYPOGRAPHY */
|
|
4314
4353
|
--pont-badge-destructive-typography-color-hover: hsl(
|
|
@@ -4365,6 +4404,11 @@
|
|
|
4365
4404
|
|
|
4366
4405
|
--pont-badge-destructive-effect-opacity-hover: 100%;
|
|
4367
4406
|
|
|
4407
|
+
/* ICON */
|
|
4408
|
+
--pont-badge-destructive-icon-color-hover: var(
|
|
4409
|
+
--pont-badge-destructive-typography-color-hover
|
|
4410
|
+
);
|
|
4411
|
+
|
|
4368
4412
|
/* * FOCUS * */
|
|
4369
4413
|
/* TYPOGRAPHY */
|
|
4370
4414
|
--pont-badge-destructive-typography-color-focus: hsl(
|
|
@@ -4531,6 +4575,9 @@
|
|
|
4531
4575
|
)
|
|
4532
4576
|
var(--pont-badge-link-effect-ring-color);
|
|
4533
4577
|
|
|
4578
|
+
/* ICON */
|
|
4579
|
+
--pont-badge-link-icon-color: var(--pont-badge-link-typography-color);
|
|
4580
|
+
|
|
4534
4581
|
/* * HOVER * */
|
|
4535
4582
|
/* TYPOGRAPHY */
|
|
4536
4583
|
--pont-badge-link-typography-color-hover: hsl(
|
|
@@ -4595,6 +4642,11 @@
|
|
|
4595
4642
|
|
|
4596
4643
|
--pont-badge-link-effect-opacity-hover: 100%;
|
|
4597
4644
|
|
|
4645
|
+
/* ICON */
|
|
4646
|
+
--pont-badge-link-icon-color-hover: var(
|
|
4647
|
+
--pont-badge-link-typography-color-hover
|
|
4648
|
+
);
|
|
4649
|
+
|
|
4598
4650
|
/* * FOCUS * */
|
|
4599
4651
|
/* TYPOGRAPHY */
|
|
4600
4652
|
--pont-badge-link-typography-color-focus: hsl(
|
|
@@ -8430,15 +8482,6 @@ them all being named `--pont-checkbox-icon-*`. */
|
|
|
8430
8482
|
* ===========================================================================
|
|
8431
8483
|
*/
|
|
8432
8484
|
|
|
8433
|
-
/* TODO(label) */
|
|
8434
|
-
/*
|
|
8435
|
-
group-data-[disabled=true]:pointer-events-none
|
|
8436
|
-
group-data-[disabled=true]:opacity-50
|
|
8437
|
-
|
|
8438
|
-
peer-disabled:cursor-not-allowed
|
|
8439
|
-
peer-disabled:opacity-50
|
|
8440
|
-
*/
|
|
8441
|
-
|
|
8442
8485
|
:root {
|
|
8443
8486
|
/* LAYOUT */
|
|
8444
8487
|
--pont-label-layout-gap-x: calc(var(--pont-ref-space) * 2);
|
|
@@ -8452,15 +8495,15 @@ peer-disabled:opacity-50
|
|
|
8452
8495
|
--pont-label-typography-leading: var(--pont-ref-font-line-height-shortest);
|
|
8453
8496
|
--pont-label-typography-color: hsl(var(--pont-sem-color-text));
|
|
8454
8497
|
|
|
8455
|
-
/*
|
|
8456
|
-
--pont-label-
|
|
8498
|
+
/* INTERACTIVITY */
|
|
8499
|
+
--pont-label-interactivity-select: var(--pont-ref-interactivity-select-none);
|
|
8457
8500
|
}
|
|
8458
8501
|
|
|
8459
8502
|
/* * -------- DISABLED -------- * */
|
|
8460
8503
|
|
|
8461
8504
|
:root {
|
|
8462
|
-
/*
|
|
8463
|
-
--pont-label-
|
|
8505
|
+
/* EFFECT */
|
|
8506
|
+
--pont-label-effect-opacity-disabled: var(--pont-sem-opacity-disabled);
|
|
8464
8507
|
}
|
|
8465
8508
|
|
|
8466
8509
|
/*
|
|
@@ -9280,8 +9323,8 @@ peer-disabled:opacity-50
|
|
|
9280
9323
|
|
|
9281
9324
|
/* TRANSFORM */
|
|
9282
9325
|
/* Note: shadcn applies this when `data-unchecked` */
|
|
9283
|
-
--pont-switch-thumb-transform-translate-x:
|
|
9284
|
-
--pont-switch-thumb-transform-translate-y:
|
|
9326
|
+
--pont-switch-thumb-transform-translate-x: 0;
|
|
9327
|
+
--pont-switch-thumb-transform-translate-y: 0;
|
|
9285
9328
|
}
|
|
9286
9329
|
|
|
9287
9330
|
/* * -------- STATES -------- * */
|
|
@@ -9296,9 +9339,7 @@ peer-disabled:opacity-50
|
|
|
9296
9339
|
|
|
9297
9340
|
/* TRANSFORM */
|
|
9298
9341
|
--pont-switch-thumb-transform-translate-x-checked: calc(100% - 2px);
|
|
9299
|
-
--pont-switch-thumb-transform-translate-y-checked:
|
|
9300
|
-
--pont-switch-thumb-transform-translate-y
|
|
9301
|
-
);
|
|
9342
|
+
--pont-switch-thumb-transform-translate-y-checked: 0;
|
|
9302
9343
|
/* table preview */
|
|
9303
9344
|
--pont-table-preview-color-bg: var(--pont-sem-color-bg-surface-secondary);
|
|
9304
9345
|
--pont-table-preview-space-w: var(--pont-ref-space-full);
|
|
@@ -11383,6 +11424,16 @@ a[data-pont-badge][data-variant="default"]:hover {
|
|
|
11383
11424
|
opacity: var(--pont-badge-default-effect-opacity-hover);
|
|
11384
11425
|
}
|
|
11385
11426
|
|
|
11427
|
+
/* * BADGE > ICON (& SPINNER) * */
|
|
11428
|
+
|
|
11429
|
+
[data-pont-badge][data-variant="default"] svg {
|
|
11430
|
+
color: var(--pont-badge-default-icon-color);
|
|
11431
|
+
}
|
|
11432
|
+
|
|
11433
|
+
a[data-pont-badge][data-variant="default"]:hover svg {
|
|
11434
|
+
color: var(--pont-badge-default-icon-color-hover);
|
|
11435
|
+
}
|
|
11436
|
+
|
|
11386
11437
|
/* * -------- SECONDARY -------- * */
|
|
11387
11438
|
|
|
11388
11439
|
[data-pont-badge][data-variant="secondary"] {
|
|
@@ -11491,6 +11542,16 @@ a[data-pont-badge][data-variant="secondary"]:hover {
|
|
|
11491
11542
|
opacity: var(--pont-badge-secondary-effect-opacity-hover);
|
|
11492
11543
|
}
|
|
11493
11544
|
|
|
11545
|
+
/* * BADGE > ICON (& SPINNER) * */
|
|
11546
|
+
|
|
11547
|
+
[data-pont-badge][data-variant="secondary"] svg {
|
|
11548
|
+
color: var(--pont-badge-secondary-icon-color);
|
|
11549
|
+
}
|
|
11550
|
+
|
|
11551
|
+
a[data-pont-badge][data-variant="secondary"]:hover svg {
|
|
11552
|
+
color: var(--pont-badge-secondary-icon-color-hover);
|
|
11553
|
+
}
|
|
11554
|
+
|
|
11494
11555
|
/* * -------- OUTLINE -------- * */
|
|
11495
11556
|
|
|
11496
11557
|
[data-pont-badge][data-variant="outline"] {
|
|
@@ -11599,6 +11660,16 @@ a[data-pont-badge][data-variant="outline"]:hover {
|
|
|
11599
11660
|
opacity: var(--pont-badge-outline-effect-opacity-hover);
|
|
11600
11661
|
}
|
|
11601
11662
|
|
|
11663
|
+
/* * BADGE > ICON (& SPINNER) * */
|
|
11664
|
+
|
|
11665
|
+
[data-pont-badge][data-variant="outline"] svg {
|
|
11666
|
+
color: var(--pont-badge-outline-icon-color);
|
|
11667
|
+
}
|
|
11668
|
+
|
|
11669
|
+
a[data-pont-badge][data-variant="outline"]:hover svg {
|
|
11670
|
+
color: var(--pont-badge-outline-icon-color-hover);
|
|
11671
|
+
}
|
|
11672
|
+
|
|
11602
11673
|
/* * -------- GHOST -------- * */
|
|
11603
11674
|
|
|
11604
11675
|
[data-pont-badge][data-variant="ghost"] {
|
|
@@ -11706,6 +11777,16 @@ a[data-pont-badge][data-variant="ghost"]:hover {
|
|
|
11706
11777
|
opacity: var(--pont-badge-ghost-effect-opacity-hover);
|
|
11707
11778
|
}
|
|
11708
11779
|
|
|
11780
|
+
/* * BADGE > ICON (& SPINNER) * */
|
|
11781
|
+
|
|
11782
|
+
[data-pont-badge][data-variant="ghost"] svg {
|
|
11783
|
+
color: var(--pont-badge-ghost-icon-color);
|
|
11784
|
+
}
|
|
11785
|
+
|
|
11786
|
+
a[data-pont-badge][data-variant="ghost"]:hover svg {
|
|
11787
|
+
color: var(--pont-badge-ghost-icon-color-hover);
|
|
11788
|
+
}
|
|
11789
|
+
|
|
11709
11790
|
/* * -------- DESTRUCTIVE -------- * */
|
|
11710
11791
|
|
|
11711
11792
|
[data-pont-badge][data-variant="destructive"] {
|
|
@@ -11814,6 +11895,16 @@ a[data-pont-badge][data-variant="destructive"]:hover {
|
|
|
11814
11895
|
opacity: var(--pont-badge-destructive-effect-opacity-hover);
|
|
11815
11896
|
}
|
|
11816
11897
|
|
|
11898
|
+
/* * BADGE > ICON (& SPINNER) * */
|
|
11899
|
+
|
|
11900
|
+
[data-pont-badge][data-variant="destructive"] svg {
|
|
11901
|
+
color: var(--pont-badge-destructive-icon-color);
|
|
11902
|
+
}
|
|
11903
|
+
|
|
11904
|
+
a[data-pont-badge][data-variant="destructive"]:hover svg {
|
|
11905
|
+
color: var(--pont-badge-destructive-icon-color-hover);
|
|
11906
|
+
}
|
|
11907
|
+
|
|
11817
11908
|
/* * -------- LINK -------- * */
|
|
11818
11909
|
|
|
11819
11910
|
[data-pont-badge][data-variant="link"] {
|
|
@@ -11937,6 +12028,16 @@ a[data-pont-badge][data-variant="link"]:hover {
|
|
|
11937
12028
|
opacity: var(--pont-badge-link-effect-opacity-hover);
|
|
11938
12029
|
}
|
|
11939
12030
|
|
|
12031
|
+
/* * BADGE > ICON (& SPINNER) * */
|
|
12032
|
+
|
|
12033
|
+
[data-pont-badge][data-variant="link"] svg {
|
|
12034
|
+
color: var(--pont-badge-link-icon-color);
|
|
12035
|
+
}
|
|
12036
|
+
|
|
12037
|
+
a[data-pont-badge][data-variant="link"]:hover svg {
|
|
12038
|
+
color: var(--pont-badge-link-icon-color-hover);
|
|
12039
|
+
}
|
|
12040
|
+
|
|
11940
12041
|
/*
|
|
11941
12042
|
* ===========================================================================
|
|
11942
12043
|
* BUTTON COMPONENT STYLES
|