@pontive/pontkit-core 1.17.2 → 1.17.3

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
@@ -1736,6 +1736,10 @@
1736
1736
  /* Applied to scrim background colors (semi-transparent) - e.g. popover. */
1737
1737
  --pont-sem-opacity-scrim: var(--pont-ref-opacity-50);
1738
1738
 
1739
+ /* * SURFACE * */
1740
+ /* For brand, destructive, warning, success, and info surfaces */
1741
+ --pont-sem-opacity-surface: var(--pont-ref-opacity-5);
1742
+
1739
1743
  /* * TEXT * */
1740
1744
  --pont-sem-opacity-text-secondary: var(--pont-ref-opacity-80);
1741
1745
 
@@ -1746,32 +1750,20 @@
1746
1750
  /* Applied to ring colors - e.g. button rings in a focus(-visible) state. */
1747
1751
  --pont-sem-opacity-ring: var(--pont-ref-opacity-50);
1748
1752
 
1753
+ /* Applied to ring colors - e.g. button rings in an (aria-)invalid state. */
1754
+ --pont-sem-opacity-ring-secondary: var(--pont-ref-opacity-20);
1755
+
1749
1756
  /* * FORM ICON * */
1750
1757
  /* Used for the command input's search icon */
1751
1758
  --pont-sem-opacity-icon-form: var(--pont-ref-opacity-50);
1752
1759
  }
1753
1760
 
1754
- /*
1755
- * --------------------------------------------------
1756
- * LIGHT THEME TOKENS
1757
- * --------------------------------------------------
1758
- */
1759
- [data-theme='light'] {
1760
- /* * SURFACE * */
1761
- /* For brand, destructive, warning, success, and info surfaces */
1762
- --pont-sem-opacity-surface: var(--pont-ref-opacity-5);
1763
-
1764
- /* * RING * */
1765
- /* Applied to ring colors - e.g. button rings in an (aria-)invalid state. */
1766
- --pont-sem-opacity-ring-secondary: var(--pont-ref-opacity-20);
1767
- }
1768
-
1769
1761
  /*
1770
1762
  * --------------------------------------------------
1771
1763
  * DARK THEME TOKENS
1772
1764
  * --------------------------------------------------
1773
1765
  */
1774
- [data-theme='dark'] {
1766
+ [data-theme="dark"] {
1775
1767
  /* * SURFACE * */
1776
1768
  /* For brand, destructive, warning, success, and info surfaces */
1777
1769
  --pont-sem-opacity-surface: var(--pont-ref-opacity-10);
@@ -3108,11 +3100,17 @@
3108
3100
 
3109
3101
  --pont-avatar-effect-ring-offset-w: 0px;
3110
3102
  --pont-avatar-effect-ring-offset-color: hsl(var(--pont-sem-color-bg));
3111
- --pont-avatar-effect-ring-offset: 0 0 0 var(--pont-avatar-effect-ring-offset-w) var(--pont-avatar-effect-ring-offset-color);
3103
+ --pont-avatar-effect-ring-offset: 0 0 0
3104
+ var(--pont-avatar-effect-ring-offset-w)
3105
+ var(--pont-avatar-effect-ring-offset-color);
3112
3106
 
3113
3107
  --pont-avatar-effect-ring-w: 2px;
3114
3108
  --pont-avatar-effect-ring-color: hsl(var(--pont-sem-color-bg));
3115
- --pont-avatar-effect-ring: 0 0 0 calc(var(--pont-avatar-effect-ring-w) + var(--pont-avatar-effect-ring-offset-w)) var(--pont-avatar-effect-ring-color);
3109
+ --pont-avatar-effect-ring: 0 0 0
3110
+ calc(
3111
+ var(--pont-avatar-effect-ring-w) + var(--pont-avatar-effect-ring-offset-w)
3112
+ )
3113
+ var(--pont-avatar-effect-ring-color);
3116
3114
 
3117
3115
  --pont-avatar-effect-mix-blend: var(--pont-ref-effect-mix-blend-darken);
3118
3116
  }
@@ -3140,6 +3138,10 @@
3140
3138
  */
3141
3139
 
3142
3140
  :root {
3141
+ /* LAYOUT */
3142
+ --pont-avatar-fallback-layout-justify: var(--pont-ref-layout-justify-center);
3143
+ --pont-avatar-fallback-layout-items: var(--pont-ref-layout-items-center);
3144
+
3143
3145
  /* TYPOGRAPHY */
3144
3146
  --pont-avatar-fallback-typography-font: var(--pont-avatar-typography-font);
3145
3147
  --pont-avatar-fallback-typography-size: var(--pont-avatar-typography-size);
@@ -3202,6 +3204,9 @@
3202
3204
 
3203
3205
  --pont-avatar-badge-layout-z: 10;
3204
3206
 
3207
+ --pont-avatar-badge-layout-justify: var(--pont-ref-layout-justify-center);
3208
+ --pont-avatar-badge-layout-items: var(--pont-ref-layout-items-center);
3209
+
3205
3210
  /* SIZING */
3206
3211
  --pont-avatar-badge-sizing-w: calc(var(--pont-ref-space) * 2.5);
3207
3212
  --pont-avatar-badge-sizing-h: calc(var(--pont-ref-space) * 2.5);
@@ -3228,16 +3233,25 @@
3228
3233
 
3229
3234
  /* EFFECT */
3230
3235
  --pont-avatar-badge-effect-shadow: var(--pont-ref-effect-shadow-none);
3231
- --pont-avatar-badge-effect-inset-shadow: inset var(--pont-ref-effect-shadow-none);
3232
- --pont-avatar-badge-effect-inset-ring: inset var(--pont-ref-effect-shadow-none);
3236
+ --pont-avatar-badge-effect-inset-shadow: inset
3237
+ var(--pont-ref-effect-shadow-none);
3238
+ --pont-avatar-badge-effect-inset-ring: inset
3239
+ var(--pont-ref-effect-shadow-none);
3233
3240
 
3234
3241
  --pont-avatar-badge-effect-ring-offset-w: 0px;
3235
3242
  --pont-avatar-badge-effect-ring-offset-color: hsl(var(--pont-sem-color-bg));
3236
- --pont-avatar-badge-effect-ring-offset: 0 0 0 var(--pont-avatar-badge-effect-ring-offset-w) var(--pont-avatar-badge-effect-ring-offset-color);
3243
+ --pont-avatar-badge-effect-ring-offset: 0 0 0
3244
+ var(--pont-avatar-badge-effect-ring-offset-w)
3245
+ var(--pont-avatar-badge-effect-ring-offset-color);
3237
3246
 
3238
3247
  --pont-avatar-badge-effect-ring-w: 2px;
3239
3248
  --pont-avatar-badge-effect-ring-color: hsl(var(--pont-sem-color-bg));
3240
- --pont-avatar-badge-effect-ring: 0 0 0 calc(var(--pont-avatar-badge-effect-ring-w) + var(--pont-avatar-badge-effect-ring-offset-w)) var(--pont-avatar-badge-effect-ring-color);
3249
+ --pont-avatar-badge-effect-ring: 0 0 0
3250
+ calc(
3251
+ var(--pont-avatar-badge-effect-ring-w) +
3252
+ var(--pont-avatar-badge-effect-ring-offset-w)
3253
+ )
3254
+ var(--pont-avatar-badge-effect-ring-color);
3241
3255
 
3242
3256
  --pont-avatar-badge-effect-bg-blend: var(--pont-ref-effect-bg-blend-color);
3243
3257
  }
@@ -3276,6 +3290,12 @@
3276
3290
  */
3277
3291
 
3278
3292
  :root {
3293
+ /* LAYOUT */
3294
+ --pont-avatar-group-count-layout-justify: var(
3295
+ --pont-ref-layout-justify-center
3296
+ );
3297
+ --pont-avatar-group-count-layout-items: var(--pont-ref-layout-items-center);
3298
+
3279
3299
  /* SIZING */
3280
3300
  --pont-avatar-group-count-sizing-w: var(--pont-avatar-sizing-w);
3281
3301
  --pont-avatar-group-count-sizing-h: var(--pont-avatar-sizing-h);
@@ -5918,6 +5938,9 @@ set its border radius (all corners) to `--pont-ref-radius-lg` for all sizes. */
5918
5938
  */
5919
5939
 
5920
5940
  :root {
5941
+ /* LAYOUT */
5942
+ --pont-card-header-layout-items: var(--pont-ref-layout-items-start);
5943
+
5921
5944
  /* BACKGROUND */
5922
5945
  --pont-card-header-bg-color-has-border: transparent;
5923
5946
 
@@ -6128,6 +6151,9 @@ set its border radius (all corners) to `--pont-ref-radius-lg` for all sizes. */
6128
6151
  */
6129
6152
 
6130
6153
  :root {
6154
+ /* LAYOUT */
6155
+ --pont-card-footer-layout-items: var(--pont-ref-layout-items-center);
6156
+
6131
6157
  /* BACKGROUND */
6132
6158
  --pont-card-footer-bg-color-has-border: hsl(
6133
6159
  var(--pont-sem-color-bg-surface-quaternary)
@@ -6242,6 +6268,10 @@ set its border radius (all corners) to `--pont-ref-radius-lg` for all sizes. */
6242
6268
  */
6243
6269
 
6244
6270
  :root {
6271
+ /* LAYOUT */
6272
+ --pont-checkbox-layout-justify: var(--pont-ref-layout-justify-center);
6273
+ --pont-checkbox-layout-items: var(--pont-ref-layout-items-center);
6274
+
6245
6275
  /* SIZING */
6246
6276
  --pont-checkbox-sizing-w: calc(var(--pont-ref-space) * 4);
6247
6277
  --pont-checkbox-sizing-h: calc(var(--pont-ref-space) * 4);
@@ -8172,6 +8202,8 @@ them all being named `--pont-checkbox-icon-*`. */
8172
8202
  --pont-label-layout-gap-x: calc(var(--pont-ref-space) * 2);
8173
8203
  --pont-label-layout-gap-y: calc(var(--pont-ref-space) * 2);
8174
8204
 
8205
+ --pont-label-layout-items: var(--pont-ref-layout-items-center);
8206
+
8175
8207
  /* TYPOGRAPHY */
8176
8208
  --pont-label-typography-font: var(--pont-sem-font-family-default);
8177
8209
  --pont-label-typography-size: var(--pont-ref-font-size-sm);
@@ -10681,8 +10713,8 @@ pont-avatar-fallback {
10681
10713
  [data-pont-avatar-fallback] {
10682
10714
  display: flex;
10683
10715
 
10684
- justify-content: center;
10685
- align-items: center;
10716
+ justify-content: var(--pont-avatar-fallback-layout-justify);
10717
+ align-items: var(--pont-avatar-fallback-layout-items);
10686
10718
 
10687
10719
  width: 100%;
10688
10720
  height: 100%;
@@ -10736,8 +10768,8 @@ pont-avatar-badge {
10736
10768
 
10737
10769
  z-index: var(--pont-avatar-badge-layout-z);
10738
10770
 
10739
- justify-content: center;
10740
- align-items: center;
10771
+ justify-content: var(--pont-avatar-badge-layout-justify);
10772
+ align-items: var(--pont-avatar-badge-layout-items);
10741
10773
 
10742
10774
  -webkit-user-select: none;
10743
10775
 
@@ -10749,8 +10781,8 @@ pont-avatar-badge {
10749
10781
  [data-pont-avatar-badge] {
10750
10782
  display: flex;
10751
10783
 
10752
- justify-content: center;
10753
- align-items: center;
10784
+ justify-content: var(--pont-avatar-badge-layout-justify);
10785
+ align-items: var(--pont-avatar-badge-layout-items);
10754
10786
 
10755
10787
  width: var(--pont-avatar-badge-sizing-w);
10756
10788
  height: var(--pont-avatar-badge-sizing-h);
@@ -10845,8 +10877,8 @@ pont-avatar-group-count {
10845
10877
  display: flex;
10846
10878
  position: relative;
10847
10879
 
10848
- justify-content: center;
10849
- align-items: center;
10880
+ justify-content: var(--pont-avatar-group-count-layout-justify);
10881
+ align-items: var(--pont-avatar-group-count-layout-items);
10850
10882
 
10851
10883
  width: var(--pont-avatar-group-count-sizing-w);
10852
10884
  height: var(--pont-avatar-group-count-sizing-h);
@@ -12762,7 +12794,7 @@ pont-card:has([data-pont-card][data-size="sm"]) {
12762
12794
  display: grid;
12763
12795
 
12764
12796
  grid-auto-rows: min-content;
12765
- align-items: start;
12797
+ align-items: var(--pont-card-header-layout-items);
12766
12798
 
12767
12799
  border-top-left-radius: var(--pont-card-header-border-radius-tl);
12768
12800
  border-top-right-radius: var(--pont-card-header-border-radius-tr);
@@ -12967,7 +12999,7 @@ pont-card-action {
12967
12999
  [data-pont-card-footer] {
12968
13000
  display: flex;
12969
13001
 
12970
- align-items: center;
13002
+ align-items: var(--pont-card-footer-layout-items);
12971
13003
 
12972
13004
  border-top-left-radius: var(--pont-card-footer-border-radius-tl);
12973
13005
  border-top-right-radius: var(--pont-card-footer-border-radius-tr);
@@ -13052,8 +13084,8 @@ pont-checkbox {
13052
13084
  display: flex;
13053
13085
  position: relative;
13054
13086
 
13055
- justify-content: center;
13056
- align-items: center;
13087
+ justify-content: var(--pont-checkbox-layout-justify);
13088
+ align-items: var(--pont-checkbox-layout-items);
13057
13089
 
13058
13090
  width: var(--pont-checkbox-sizing-w);
13059
13091
  height: var(--pont-checkbox-sizing-h);
@@ -15093,7 +15125,7 @@ pont-kbd-group > [data-slot=kbd-group] {
15093
15125
 
15094
15126
  column-gap: var(--pont-label-layout-gap-x);
15095
15127
  row-gap: var(--pont-label-layout-gap-y);
15096
- align-items: center;
15128
+ align-items: var(--pont-label-layout-items);
15097
15129
 
15098
15130
  font-family: var(--pont-label-typography-font);
15099
15131
  font-size: var(--pont-label-typography-size);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pontive/pontkit-core",
3
- "version": "1.17.2",
3
+ "version": "1.17.3",
4
4
  "license": "MIT",
5
5
  "description": "A collection of core components for Pontive",
6
6
  "main": "dist/index.js",