@pontive/pontkit-core 1.15.0 → 1.16.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/dist/styles.css CHANGED
@@ -5714,6 +5714,62 @@ set its border radius (all corners) to `--pont-ref-radius-lg` for all sizes. */
5714
5714
  var(--pont-button-link-effect-ring-color-invalid);
5715
5715
  }
5716
5716
 
5717
+ /* * -------- BUTTON > ICON (& SPINNER) -------- * */
5718
+
5719
+ :root {
5720
+ --pont-button-default-icon-color: var(--pont-button-default-typography-color);
5721
+ --pont-button-default-icon-color-hover: var(
5722
+ --pont-button-default-typography-color-hover
5723
+ );
5724
+ --pont-button-default-icon-color-expanded: var(
5725
+ --pont-button-default-typography-color-expanded
5726
+ );
5727
+
5728
+ --pont-button-secondary-icon-color: var(
5729
+ --pont-button-secondary-typography-color
5730
+ );
5731
+ --pont-button-secondary-icon-color-hover: var(
5732
+ --pont-button-secondary-typography-color-hover
5733
+ );
5734
+ --pont-button-secondary-icon-color-expanded: var(
5735
+ --pont-button-secondary-typography-color-expanded
5736
+ );
5737
+
5738
+ --pont-button-outline-icon-color: var(--pont-button-outline-typography-color);
5739
+ --pont-button-outline-icon-color-hover: var(
5740
+ --pont-button-outline-typography-color-hover
5741
+ );
5742
+ --pont-button-outline-icon-color-expanded: var(
5743
+ --pont-button-outline-typography-color-expanded
5744
+ );
5745
+
5746
+ --pont-button-ghost-icon-color: var(--pont-button-ghost-typography-color);
5747
+ --pont-button-ghost-icon-color-hover: var(
5748
+ --pont-button-ghost-typography-color-hover
5749
+ );
5750
+ --pont-button-ghost-icon-color-expanded: var(
5751
+ --pont-button-ghost-typography-color-expanded
5752
+ );
5753
+
5754
+ --pont-button-destructive-icon-color: var(
5755
+ --pont-button-destructive-typography-color
5756
+ );
5757
+ --pont-button-destructive-icon-color-hover: var(
5758
+ --pont-button-destructive-typography-color-hover
5759
+ );
5760
+ --pont-button-destructive-icon-color-expanded: var(
5761
+ --pont-button-destructive-typography-color-expanded
5762
+ );
5763
+
5764
+ --pont-button-link-icon-color: var(--pont-button-link-typography-color);
5765
+ --pont-button-link-icon-color-hover: var(
5766
+ --pont-button-link-typography-color-hover
5767
+ );
5768
+ --pont-button-link-icon-color-expanded: var(
5769
+ --pont-button-link-typography-color-expanded
5770
+ );
5771
+ }
5772
+
5717
5773
  /*
5718
5774
  * --------------------------------------------------
5719
5775
  * SIZES
@@ -12195,6 +12251,20 @@ pont-button {
12195
12251
  var(--pont-button-default-effect-shadow-invalid);
12196
12252
  }
12197
12253
 
12254
+ /* BUTTON > ICON (& SPINNER) */
12255
+
12256
+ [data-pont-button][data-variant="default"] svg {
12257
+ color: var(--pont-button-default-icon-color);
12258
+ }
12259
+
12260
+ [data-pont-button][data-variant="default"]:hover svg {
12261
+ color: var(--pont-button-default-icon-color-hover);
12262
+ }
12263
+
12264
+ [data-pont-button][data-variant="default"][aria-expanded] svg {
12265
+ color: var(--pont-button-default-icon-color-expanded);
12266
+ }
12267
+
12198
12268
  /* * SECONDARY * */
12199
12269
 
12200
12270
  [data-pont-button][data-variant="secondary"] {
@@ -12280,6 +12350,20 @@ pont-button {
12280
12350
  var(--pont-button-secondary-effect-shadow-invalid);
12281
12351
  }
12282
12352
 
12353
+ /* BUTTON > ICON (& SPINNER) */
12354
+
12355
+ [data-pont-button][data-variant="secondary"] svg {
12356
+ color: var(--pont-button-secondary-icon-color);
12357
+ }
12358
+
12359
+ [data-pont-button][data-variant="secondary"]:hover svg {
12360
+ color: var(--pont-button-secondary-icon-color-hover);
12361
+ }
12362
+
12363
+ [data-pont-button][data-variant="secondary"][aria-expanded] svg {
12364
+ color: var(--pont-button-secondary-icon-color-expanded);
12365
+ }
12366
+
12283
12367
  /* * OUTLINE * */
12284
12368
 
12285
12369
  [data-pont-button][data-variant="outline"] {
@@ -12365,6 +12449,20 @@ pont-button {
12365
12449
  var(--pont-button-outline-effect-shadow-invalid);
12366
12450
  }
12367
12451
 
12452
+ /* BUTTON > ICON (& SPINNER) */
12453
+
12454
+ [data-pont-button][data-variant="outline"] svg {
12455
+ color: var(--pont-button-outline-icon-color);
12456
+ }
12457
+
12458
+ [data-pont-button][data-variant="outline"]:hover svg {
12459
+ color: var(--pont-button-outline-icon-color-hover);
12460
+ }
12461
+
12462
+ [data-pont-button][data-variant="outline"][aria-expanded] svg {
12463
+ color: var(--pont-button-outline-icon-color-expanded);
12464
+ }
12465
+
12368
12466
  /* * GHOST * */
12369
12467
 
12370
12468
  [data-pont-button][data-variant="ghost"] {
@@ -12449,6 +12547,20 @@ pont-button {
12449
12547
  var(--pont-button-ghost-effect-shadow-invalid);
12450
12548
  }
12451
12549
 
12550
+ /* BUTTON > ICON (& SPINNER) */
12551
+
12552
+ [data-pont-button][data-variant="ghost"] svg {
12553
+ color: var(--pont-button-ghost-icon-color);
12554
+ }
12555
+
12556
+ [data-pont-button][data-variant="ghost"]:hover svg {
12557
+ color: var(--pont-button-ghost-icon-color-hover);
12558
+ }
12559
+
12560
+ [data-pont-button][data-variant="ghost"][aria-expanded] svg {
12561
+ color: var(--pont-button-ghost-icon-color-expanded);
12562
+ }
12563
+
12452
12564
  /* * DESTRUCTIVE * */
12453
12565
 
12454
12566
  [data-pont-button][data-variant="destructive"] {
@@ -12534,6 +12646,20 @@ pont-button {
12534
12646
  var(--pont-button-destructive-effect-shadow-invalid);
12535
12647
  }
12536
12648
 
12649
+ /* BUTTON > ICON (& SPINNER) */
12650
+
12651
+ [data-pont-button][data-variant="destructive"] svg {
12652
+ color: var(--pont-button-destructive-icon-color);
12653
+ }
12654
+
12655
+ [data-pont-button][data-variant="destructive"]:hover svg {
12656
+ color: var(--pont-button-destructive-icon-color-hover);
12657
+ }
12658
+
12659
+ [data-pont-button][data-variant="destructive"][aria-expanded] svg {
12660
+ color: var(--pont-button-destructive-icon-color-expanded);
12661
+ }
12662
+
12537
12663
  /* * LINK * */
12538
12664
 
12539
12665
  [data-pont-button][data-variant="link"] {
@@ -12633,6 +12759,20 @@ pont-button {
12633
12759
  var(--pont-button-link-effect-shadow-invalid);
12634
12760
  }
12635
12761
 
12762
+ /* BUTTON > ICON (& SPINNER) */
12763
+
12764
+ [data-pont-button][data-variant="link"] svg {
12765
+ color: var(--pont-button-link-icon-color);
12766
+ }
12767
+
12768
+ [data-pont-button][data-variant="link"]:hover svg {
12769
+ color: var(--pont-button-link-icon-color-hover);
12770
+ }
12771
+
12772
+ [data-pont-button][data-variant="link"][aria-expanded] svg {
12773
+ color: var(--pont-button-link-icon-color-expanded);
12774
+ }
12775
+
12636
12776
  /*
12637
12777
  * --------------------------------------------------
12638
12778
  * SIZES
@@ -15596,10 +15736,10 @@ pont-separator:has([data-orientation="vertical"]) {
15596
15736
  width: var(--pont-separator-vertical-sizing-w);
15597
15737
  height: var(--pont-separator-vertical-sizing-h);
15598
15738
 
15599
- min-width: var(--pont-separator-horizontal-sizing-min-w);
15600
- max-width: var(--pont-separator-horizontal-sizing-max-w);
15601
- min-height: var(--pont-separator-horizontal-sizing-min-h);
15602
- max-height: var(--pont-separator-horizontal-sizing-max-h);
15739
+ min-width: var(--pont-separator-vertical-sizing-min-w);
15740
+ max-width: var(--pont-separator-vertical-sizing-max-w);
15741
+ min-height: var(--pont-separator-vertical-sizing-min-h);
15742
+ max-height: var(--pont-separator-vertical-sizing-max-h);
15603
15743
  }
15604
15744
 
15605
15745
  /*
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pontive/pontkit-core",
3
- "version": "1.15.0",
3
+ "version": "1.16.0",
4
4
  "license": "MIT",
5
5
  "description": "A collection of core components for Pontive",
6
6
  "main": "dist/index.js",