@pontive/pontkit-core 1.52.0 → 1.54.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/tokens.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "fingerprint": "e90def7e88b4ba88",
3
+ "fingerprint": "1a62862f61ac24d1",
4
4
  "layers": "@layer pont.reset, pont.tokens, pont.base, pont.primitives, pont.kit, pont.theme.preset, pont.theme.brand;",
5
5
  "dark": {
6
6
  "selector": ":root.dark, :root[data-theme=\"dark\"], .dark, [data-theme=\"dark\"]",
@@ -124,6 +124,9 @@
124
124
  "avatar-fallback-fg": "avatar-fallback-color-fg",
125
125
  "avatar-badge-bg": "avatar-badge-color-bg",
126
126
  "avatar-badge-fg": "avatar-badge-color-fg",
127
+ "kbd-bg": "kbd-color-bg",
128
+ "kbd-fg": "kbd-color-fg",
129
+ "kbd-tooltip-bg": "kbd-tooltip-color-bg",
127
130
  "sem-ring-width": "sem-shadow-ring-width-focus",
128
131
  "sem-shadow-none": "ref-shadow-none",
129
132
  "sem-shadow-2xs": "ref-shadow-2xs",
@@ -4621,6 +4624,27 @@
4621
4624
  ],
4622
4625
  "source": "styles/tokens/layout.css"
4623
4626
  },
4627
+ "sem-mode-blend": {
4628
+ "tier": "sem",
4629
+ "type": "keyword",
4630
+ "value": "darken",
4631
+ "source": "styles/tokens/mode.css",
4632
+ "dark": "lighten"
4633
+ },
4634
+ "sem-mode-light-display": {
4635
+ "tier": "sem",
4636
+ "type": "keyword",
4637
+ "value": "block",
4638
+ "source": "styles/tokens/mode.css",
4639
+ "dark": "none"
4640
+ },
4641
+ "sem-mode-dark-display": {
4642
+ "tier": "sem",
4643
+ "type": "keyword",
4644
+ "value": "none",
4645
+ "source": "styles/tokens/mode.css",
4646
+ "dark": "block"
4647
+ },
4624
4648
  "ref-motion-duration": {
4625
4649
  "tier": "ref",
4626
4650
  "type": "duration",
@@ -5661,27 +5685,6 @@
5661
5685
  ],
5662
5686
  "source": "styles/tokens/typography.css"
5663
5687
  },
5664
- "sem-mode-blend": {
5665
- "tier": "sem",
5666
- "type": "keyword",
5667
- "value": "darken",
5668
- "source": "styles/tokens/sem/mode.css",
5669
- "dark": "lighten"
5670
- },
5671
- "sem-mode-light-display": {
5672
- "tier": "sem",
5673
- "type": "keyword",
5674
- "value": "block",
5675
- "source": "styles/tokens/sem/mode.css",
5676
- "dark": "none"
5677
- },
5678
- "sem-mode-dark-display": {
5679
- "tier": "sem",
5680
- "type": "keyword",
5681
- "value": "none",
5682
- "source": "styles/tokens/sem/mode.css",
5683
- "dark": "block"
5684
- },
5685
5688
  "alert-default-bg": {
5686
5689
  "tier": "component",
5687
5690
  "type": "color",
@@ -10104,7 +10107,262 @@
10104
10107
  "private": "--_pont-item-bg",
10105
10108
  "source": "primitives/item/item.css"
10106
10109
  },
10107
- "kbd-bg": {
10110
+ "kbd-items": {
10111
+ "tier": "component",
10112
+ "type": "alignItems",
10113
+ "value": "var(--pont-ref-layout-items-center)",
10114
+ "refs": [
10115
+ "ref-layout-items-center"
10116
+ ],
10117
+ "label": "Align items",
10118
+ "component": "kbd",
10119
+ "appliesTo": [
10120
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10121
+ ],
10122
+ "private": "--_pont-kbd-items",
10123
+ "source": "primitives/kbd/kbd.css"
10124
+ },
10125
+ "kbd-justify": {
10126
+ "tier": "component",
10127
+ "type": "justifyContent",
10128
+ "value": "var(--pont-ref-layout-justify-center)",
10129
+ "refs": [
10130
+ "ref-layout-justify-center"
10131
+ ],
10132
+ "label": "Justify content",
10133
+ "component": "kbd",
10134
+ "appliesTo": [
10135
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10136
+ ],
10137
+ "private": "--_pont-kbd-justify",
10138
+ "source": "primitives/kbd/kbd.css"
10139
+ },
10140
+ "kbd-gap": {
10141
+ "tier": "component",
10142
+ "type": "dimension",
10143
+ "value": "calc(var(--pont-ref-dimension) * 1)",
10144
+ "refs": [
10145
+ "ref-dimension"
10146
+ ],
10147
+ "label": "Gap",
10148
+ "component": "kbd",
10149
+ "appliesTo": [
10150
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10151
+ ],
10152
+ "private": "--_pont-kbd-gap",
10153
+ "source": "primitives/kbd/kbd.css"
10154
+ },
10155
+ "kbd-padding-x": {
10156
+ "tier": "component",
10157
+ "type": "dimension",
10158
+ "value": "calc(var(--pont-ref-dimension) * 1)",
10159
+ "refs": [
10160
+ "ref-dimension"
10161
+ ],
10162
+ "label": "Horizontal padding",
10163
+ "component": "kbd",
10164
+ "appliesTo": [
10165
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10166
+ ],
10167
+ "private": "--_pont-kbd-padding-x",
10168
+ "source": "primitives/kbd/kbd.css"
10169
+ },
10170
+ "kbd-padding-y": {
10171
+ "tier": "component",
10172
+ "type": "dimension",
10173
+ "value": "0",
10174
+ "label": "Vertical padding",
10175
+ "component": "kbd",
10176
+ "appliesTo": [
10177
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10178
+ ],
10179
+ "private": "--_pont-kbd-padding-y",
10180
+ "source": "primitives/kbd/kbd.css"
10181
+ },
10182
+ "kbd-padding-top": {
10183
+ "tier": "component",
10184
+ "type": "dimension",
10185
+ "value": "var(--_pont-kbd-padding-y)",
10186
+ "label": "Top padding",
10187
+ "component": "kbd",
10188
+ "appliesTo": [
10189
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10190
+ ],
10191
+ "private": "--_pont-kbd-padding-top",
10192
+ "source": "primitives/kbd/kbd.css"
10193
+ },
10194
+ "kbd-padding-right": {
10195
+ "tier": "component",
10196
+ "type": "dimension",
10197
+ "value": "var(--_pont-kbd-padding-x)",
10198
+ "label": "Right padding",
10199
+ "component": "kbd",
10200
+ "appliesTo": [
10201
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10202
+ ],
10203
+ "private": "--_pont-kbd-padding-right",
10204
+ "source": "primitives/kbd/kbd.css"
10205
+ },
10206
+ "kbd-padding-bottom": {
10207
+ "tier": "component",
10208
+ "type": "dimension",
10209
+ "value": "var(--_pont-kbd-padding-y)",
10210
+ "label": "Bottom padding",
10211
+ "component": "kbd",
10212
+ "appliesTo": [
10213
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10214
+ ],
10215
+ "private": "--_pont-kbd-padding-bottom",
10216
+ "source": "primitives/kbd/kbd.css"
10217
+ },
10218
+ "kbd-padding-left": {
10219
+ "tier": "component",
10220
+ "type": "dimension",
10221
+ "value": "var(--_pont-kbd-padding-x)",
10222
+ "label": "Left padding",
10223
+ "component": "kbd",
10224
+ "appliesTo": [
10225
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10226
+ ],
10227
+ "private": "--_pont-kbd-padding-left",
10228
+ "source": "primitives/kbd/kbd.css"
10229
+ },
10230
+ "kbd-width": {
10231
+ "tier": "component",
10232
+ "type": "dimension",
10233
+ "value": "var(--pont-ref-dimension-size-fit)",
10234
+ "refs": [
10235
+ "ref-dimension-size-fit"
10236
+ ],
10237
+ "label": "Width",
10238
+ "component": "kbd",
10239
+ "appliesTo": [
10240
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10241
+ ],
10242
+ "private": "--_pont-kbd-width",
10243
+ "source": "primitives/kbd/kbd.css"
10244
+ },
10245
+ "kbd-min-width": {
10246
+ "tier": "component",
10247
+ "type": "dimension",
10248
+ "value": "calc(var(--pont-ref-dimension) * 5)",
10249
+ "refs": [
10250
+ "ref-dimension"
10251
+ ],
10252
+ "label": "Min width",
10253
+ "component": "kbd",
10254
+ "appliesTo": [
10255
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10256
+ ],
10257
+ "private": "--_pont-kbd-min-width",
10258
+ "source": "primitives/kbd/kbd.css"
10259
+ },
10260
+ "kbd-height": {
10261
+ "tier": "component",
10262
+ "type": "dimension",
10263
+ "value": "calc(var(--pont-ref-dimension) * 5)",
10264
+ "refs": [
10265
+ "ref-dimension"
10266
+ ],
10267
+ "label": "Height",
10268
+ "component": "kbd",
10269
+ "appliesTo": [
10270
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10271
+ ],
10272
+ "private": "--_pont-kbd-height",
10273
+ "source": "primitives/kbd/kbd.css"
10274
+ },
10275
+ "kbd-min-height": {
10276
+ "tier": "component",
10277
+ "type": "dimension",
10278
+ "value": "var(--pont-sem-dimension-size-min)",
10279
+ "refs": [
10280
+ "sem-dimension-size-min"
10281
+ ],
10282
+ "label": "Min height",
10283
+ "component": "kbd",
10284
+ "appliesTo": [
10285
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10286
+ ],
10287
+ "private": "--_pont-kbd-min-height",
10288
+ "source": "primitives/kbd/kbd.css"
10289
+ },
10290
+ "kbd-font-family": {
10291
+ "tier": "component",
10292
+ "type": "fontFamily",
10293
+ "value": "var(--pont-sem-typography-font-body)",
10294
+ "refs": [
10295
+ "sem-typography-font-body"
10296
+ ],
10297
+ "label": "Font",
10298
+ "component": "kbd",
10299
+ "appliesTo": [
10300
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10301
+ ],
10302
+ "private": "--_pont-kbd-font-family",
10303
+ "source": "primitives/kbd/kbd.css"
10304
+ },
10305
+ "kbd-font-size": {
10306
+ "tier": "component",
10307
+ "type": "dimension",
10308
+ "value": "var(--pont-ref-typography-size-xs)",
10309
+ "refs": [
10310
+ "ref-typography-size-xs"
10311
+ ],
10312
+ "label": "Size",
10313
+ "component": "kbd",
10314
+ "appliesTo": [
10315
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10316
+ ],
10317
+ "private": "--_pont-kbd-font-size",
10318
+ "source": "primitives/kbd/kbd.css"
10319
+ },
10320
+ "kbd-font-weight": {
10321
+ "tier": "component",
10322
+ "type": "fontWeight",
10323
+ "value": "var(--pont-ref-typography-weight-medium)",
10324
+ "refs": [
10325
+ "ref-typography-weight-medium"
10326
+ ],
10327
+ "label": "Weight",
10328
+ "component": "kbd",
10329
+ "appliesTo": [
10330
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10331
+ ],
10332
+ "private": "--_pont-kbd-font-weight",
10333
+ "source": "primitives/kbd/kbd.css"
10334
+ },
10335
+ "kbd-letter-spacing": {
10336
+ "tier": "component",
10337
+ "type": "dimension",
10338
+ "value": "var(--pont-sem-typography-tracking)",
10339
+ "refs": [
10340
+ "sem-typography-tracking"
10341
+ ],
10342
+ "label": "Tracking",
10343
+ "component": "kbd",
10344
+ "appliesTo": [
10345
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10346
+ ],
10347
+ "private": "--_pont-kbd-letter-spacing",
10348
+ "source": "primitives/kbd/kbd.css"
10349
+ },
10350
+ "kbd-line-height": {
10351
+ "tier": "component",
10352
+ "type": "number",
10353
+ "value": "var(--pont-ref-typography-leading-of-xs)",
10354
+ "refs": [
10355
+ "ref-typography-leading-of-xs"
10356
+ ],
10357
+ "label": "Leading",
10358
+ "component": "kbd",
10359
+ "appliesTo": [
10360
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10361
+ ],
10362
+ "private": "--_pont-kbd-line-height",
10363
+ "source": "primitives/kbd/kbd.css"
10364
+ },
10365
+ "kbd-color-bg": {
10108
10366
  "tier": "component",
10109
10367
  "type": "color",
10110
10368
  "value": "var(--pont-sem-color-muted)",
@@ -10114,24 +10372,24 @@
10114
10372
  "label": "Background",
10115
10373
  "component": "kbd",
10116
10374
  "appliesTo": [
10117
- ":is(pont-prim-kbd, pont-kbd, [data-pont-kbd])"
10375
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10118
10376
  ],
10119
- "private": "--_pont-kbd-bg",
10377
+ "private": "--_pont-kbd-color-bg",
10120
10378
  "source": "primitives/kbd/kbd.css"
10121
10379
  },
10122
- "kbd-fg": {
10380
+ "kbd-color-fg": {
10123
10381
  "tier": "component",
10124
10382
  "type": "color",
10125
10383
  "value": "var(--pont-sem-color-muted-fg)",
10126
10384
  "refs": [
10127
10385
  "sem-color-muted-fg"
10128
10386
  ],
10129
- "label": "Text",
10387
+ "label": "Foreground",
10130
10388
  "component": "kbd",
10131
10389
  "appliesTo": [
10132
- ":is(pont-prim-kbd, pont-kbd, [data-pont-kbd])"
10390
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10133
10391
  ],
10134
- "private": "--_pont-kbd-fg",
10392
+ "private": "--_pont-kbd-color-fg",
10135
10393
  "source": "primitives/kbd/kbd.css"
10136
10394
  },
10137
10395
  "kbd-radius": {
@@ -10141,42 +10399,75 @@
10141
10399
  "refs": [
10142
10400
  "ref-radius-sm"
10143
10401
  ],
10144
- "label": "Corner radius",
10402
+ "label": "Radius",
10145
10403
  "component": "kbd",
10146
10404
  "appliesTo": [
10147
- ":is(pont-prim-kbd, pont-kbd, [data-pont-kbd])"
10405
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10148
10406
  ],
10149
10407
  "private": "--_pont-kbd-radius",
10150
10408
  "source": "primitives/kbd/kbd.css"
10151
10409
  },
10152
- "kbd-height": {
10410
+ "kbd-icon-size": {
10153
10411
  "tier": "component",
10154
10412
  "type": "dimension",
10155
- "value": "1.25rem",
10156
- "label": "Height",
10413
+ "value": "calc(var(--pont-ref-dimension) * 3)",
10414
+ "refs": [
10415
+ "ref-dimension"
10416
+ ],
10417
+ "label": "Icon size",
10157
10418
  "component": "kbd",
10158
10419
  "appliesTo": [
10159
- ":is(pont-prim-kbd, pont-kbd, [data-pont-kbd])"
10420
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10160
10421
  ],
10161
- "private": "--_pont-kbd-height",
10422
+ "private": "--_pont-kbd-icon-size",
10162
10423
  "source": "primitives/kbd/kbd.css"
10163
10424
  },
10164
- "kbd-font-weight": {
10425
+ "kbd-group-items": {
10165
10426
  "tier": "component",
10166
- "type": "fontWeight",
10167
- "value": "var(--pont-ref-typography-weight-medium)",
10427
+ "type": "alignItems",
10428
+ "value": "var(--pont-ref-layout-items-center)",
10168
10429
  "refs": [
10169
- "ref-typography-weight-medium"
10430
+ "ref-layout-items-center"
10170
10431
  ],
10171
- "label": "Label weight",
10432
+ "label": "Align items",
10172
10433
  "component": "kbd",
10173
10434
  "appliesTo": [
10174
- ":is(pont-prim-kbd, pont-kbd, [data-pont-kbd])"
10435
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10175
10436
  ],
10176
- "private": "--_pont-kbd-font-weight",
10437
+ "private": "--_pont-kbd-group-items",
10177
10438
  "source": "primitives/kbd/kbd.css"
10178
10439
  },
10179
- "kbd-tooltip-bg": {
10440
+ "kbd-group-justify": {
10441
+ "tier": "component",
10442
+ "type": "justifyContent",
10443
+ "value": "var(--pont-sem-layout-justify)",
10444
+ "refs": [
10445
+ "sem-layout-justify"
10446
+ ],
10447
+ "label": "Justify content",
10448
+ "component": "kbd",
10449
+ "appliesTo": [
10450
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10451
+ ],
10452
+ "private": "--_pont-kbd-group-justify",
10453
+ "source": "primitives/kbd/kbd.css"
10454
+ },
10455
+ "kbd-group-gap": {
10456
+ "tier": "component",
10457
+ "type": "dimension",
10458
+ "value": "calc(var(--pont-ref-dimension) * 1)",
10459
+ "refs": [
10460
+ "ref-dimension"
10461
+ ],
10462
+ "label": "Gap",
10463
+ "component": "kbd",
10464
+ "appliesTo": [
10465
+ ":is( pont-prim-kbd, pont-kbd, [data-pont-kbd], pont-prim-kbd-group, pont-kbd-group, [data-pont-kbd-group] )"
10466
+ ],
10467
+ "private": "--_pont-kbd-group-gap",
10468
+ "source": "primitives/kbd/kbd.css"
10469
+ },
10470
+ "kbd-tooltip-color-bg": {
10180
10471
  "tier": "component",
10181
10472
  "type": "color",
10182
10473
  "value": "var(--pont-sem-color-inverse-subtle)",
@@ -10188,7 +10479,22 @@
10188
10479
  "appliesTo": [
10189
10480
  "[data-slot=\"tooltip-content\"] :is(pont-prim-kbd, pont-kbd, [data-pont-kbd])"
10190
10481
  ],
10191
- "private": "--_pont-kbd-bg",
10482
+ "private": "--_pont-kbd-color-bg",
10483
+ "source": "primitives/kbd/kbd.css"
10484
+ },
10485
+ "kbd-tooltip-color-fg": {
10486
+ "tier": "component",
10487
+ "type": "color",
10488
+ "value": "var(--pont-sem-color-inverse-fg)",
10489
+ "refs": [
10490
+ "sem-color-inverse-fg"
10491
+ ],
10492
+ "label": "Foreground in a tooltip",
10493
+ "component": "kbd",
10494
+ "appliesTo": [
10495
+ "[data-slot=\"tooltip-content\"] :is(pont-prim-kbd, pont-kbd, [data-pont-kbd])"
10496
+ ],
10497
+ "private": "--_pont-kbd-color-fg",
10192
10498
  "source": "primitives/kbd/kbd.css"
10193
10499
  },
10194
10500
  "label-items": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pontive/pontkit-core",
3
- "version": "1.52.0",
3
+ "version": "1.54.0",
4
4
  "license": "MIT",
5
5
  "description": "A collection of core components for Pontive",
6
6
  "module": "dist/index.mjs",