@kanso-labs/kanso-ui 0.40.7 → 0.40.8
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/badge/index.js +15 -0
- package/dist/badge/index.js.map +1 -0
- package/dist/components/badge/index.js +91 -47
- package/dist/components/badge/index.js.map +1 -1
- package/dist/components/dialog/index.d.ts +6 -1
- package/dist/components/dialog/index.js +54 -24
- package/dist/components/dialog/index.js.map +1 -1
- package/dist/components/form/index.d.ts +5 -4
- package/dist/components/form/index.js.map +1 -1
- package/dist/components/link/index.js +16 -5
- package/dist/components/link/index.js.map +1 -1
- package/dist/components/menu/index.js +29 -21
- package/dist/components/menu/index.js.map +1 -1
- package/dist/components/navigation-bar/index.js +134 -54
- package/dist/components/navigation-bar/index.js.map +1 -1
- package/dist/components/navigation-rail/index.js +56 -37
- package/dist/components/navigation-rail/index.js.map +1 -1
- package/dist/components/number-field/index.d.ts +13 -2
- package/dist/components/number-field/index.js +95 -84
- package/dist/components/number-field/index.js.map +1 -1
- package/dist/components/sheet/index.d.ts +8 -1
- package/dist/components/sheet/index.js +45 -29
- package/dist/components/sheet/index.js.map +1 -1
- package/dist/components/snackbar/index.d.ts +4 -0
- package/dist/components/snackbar/index.js +54 -49
- package/dist/components/snackbar/index.js.map +1 -1
- package/dist/field/index.js +303 -252
- package/dist/field/index.js.map +1 -1
- package/dist/field/root.js +8 -8
- package/dist/field/root.js.map +1 -1
- package/dist/field/styles.js +22 -0
- package/dist/field/styles.js.map +1 -1
- package/dist/hooks/useBottomEdge.js +83 -0
- package/dist/hooks/useBottomEdge.js.map +1 -0
- package/dist/navigation/context.js.map +1 -1
- package/dist/navigation/index.js +16 -4
- package/dist/navigation/index.js.map +1 -1
- package/dist/navigation/styles.js +35 -1
- package/dist/navigation/styles.js.map +1 -1
- package/dist/row/styles.js +2 -1
- package/dist/row/styles.js.map +1 -1
- package/dist/styles.css +90 -24
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -271,6 +271,10 @@
|
|
|
271
271
|
margin-block: auto;
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
+
.x1fh6m6z {
|
|
275
|
+
margin-block: -4px;
|
|
276
|
+
}
|
|
277
|
+
|
|
274
278
|
.x8yh5r3 {
|
|
275
279
|
margin-block: 4px;
|
|
276
280
|
}
|
|
@@ -291,6 +295,10 @@
|
|
|
291
295
|
margin-inline: auto;
|
|
292
296
|
}
|
|
293
297
|
|
|
298
|
+
.xfll3lq {
|
|
299
|
+
margin-inline: -4px;
|
|
300
|
+
}
|
|
301
|
+
|
|
294
302
|
.xnx04jz {
|
|
295
303
|
margin-inline: calc(var(--x6borv4) * -1);
|
|
296
304
|
}
|
|
@@ -339,6 +347,10 @@
|
|
|
339
347
|
padding-block: 22px;
|
|
340
348
|
}
|
|
341
349
|
|
|
350
|
+
.x12ulsxz {
|
|
351
|
+
padding-block: 4px;
|
|
352
|
+
}
|
|
353
|
+
|
|
342
354
|
.x1t0vds8 {
|
|
343
355
|
padding-block: 6px;
|
|
344
356
|
}
|
|
@@ -395,6 +407,10 @@
|
|
|
395
407
|
padding-inline: 48px;
|
|
396
408
|
}
|
|
397
409
|
|
|
410
|
+
.xfn1xvj {
|
|
411
|
+
padding-inline: 4px;
|
|
412
|
+
}
|
|
413
|
+
|
|
398
414
|
.x1dao9b2 {
|
|
399
415
|
padding-inline: 64px;
|
|
400
416
|
}
|
|
@@ -2125,6 +2141,10 @@
|
|
|
2125
2141
|
margin-inline-end: var(--xbmbo34);
|
|
2126
2142
|
}
|
|
2127
2143
|
|
|
2144
|
+
.x18xomjl {
|
|
2145
|
+
margin-inline-start: -12px;
|
|
2146
|
+
}
|
|
2147
|
+
|
|
2128
2148
|
.xvc5jky {
|
|
2129
2149
|
margin-inline-start: auto;
|
|
2130
2150
|
}
|
|
@@ -2306,6 +2326,10 @@
|
|
|
2306
2326
|
padding-inline-start: var(--x6borv4);
|
|
2307
2327
|
}
|
|
2308
2328
|
|
|
2329
|
+
.xdxifnh {
|
|
2330
|
+
padding-inline-start: var(--xod9tvo);
|
|
2331
|
+
}
|
|
2332
|
+
|
|
2309
2333
|
.x67bb7w {
|
|
2310
2334
|
pointer-events: auto;
|
|
2311
2335
|
}
|
|
@@ -2398,9 +2422,9 @@
|
|
|
2398
2422
|
text-align: start;
|
|
2399
2423
|
}
|
|
2400
2424
|
|
|
2401
|
-
.
|
|
2402
|
-
-webkit-text-decoration-color: color-mix(in srgb,var(--x1cjupv7)
|
|
2403
|
-
text-decoration-color: color-mix(in srgb,var(--x1cjupv7)
|
|
2425
|
+
.x1q3xnwu {
|
|
2426
|
+
-webkit-text-decoration-color: color-mix(in srgb,var(--x1cjupv7) 70%,transparent);
|
|
2427
|
+
text-decoration-color: color-mix(in srgb,var(--x1cjupv7) 70%,transparent);
|
|
2404
2428
|
}
|
|
2405
2429
|
|
|
2406
2430
|
.x1g6epwz {
|
|
@@ -2408,6 +2432,11 @@
|
|
|
2408
2432
|
text-decoration-color: color-mix(in srgb,var(--xn0syi6) calc(var(--xu361ij) * 100%),var(--x1dzgr7y));
|
|
2409
2433
|
}
|
|
2410
2434
|
|
|
2435
|
+
.xv4vikv {
|
|
2436
|
+
-webkit-text-decoration-color: var(--x1cjupv7);
|
|
2437
|
+
text-decoration-color: var(--x1cjupv7);
|
|
2438
|
+
}
|
|
2439
|
+
|
|
2411
2440
|
.x1dbr5dg {
|
|
2412
2441
|
-webkit-text-decoration-color: var(--x1ridy1o);
|
|
2413
2442
|
text-decoration-color: var(--x1ridy1o);
|
|
@@ -2867,17 +2896,8 @@
|
|
|
2867
2896
|
border-start-end-radius: var(--x3hih16);
|
|
2868
2897
|
}
|
|
2869
2898
|
|
|
2870
|
-
.
|
|
2871
|
-
|
|
2872
|
-
}
|
|
2873
|
-
|
|
2874
|
-
.x1rdisx9:hover {
|
|
2875
|
-
-webkit-text-decoration-color: var(--x1cjupv7);
|
|
2876
|
-
text-decoration-color: var(--x1cjupv7);
|
|
2877
|
-
}
|
|
2878
|
-
|
|
2879
|
-
.x1sur9pj:hover {
|
|
2880
|
-
text-decoration-line: underline;
|
|
2899
|
+
.x1cmy3ng:empty {
|
|
2900
|
+
position: absolute;
|
|
2881
2901
|
}
|
|
2882
2902
|
|
|
2883
2903
|
.x83qkoq:active {
|
|
@@ -2995,6 +3015,10 @@
|
|
|
2995
3015
|
border-inline-start-width: 1px;
|
|
2996
3016
|
}
|
|
2997
3017
|
|
|
3018
|
+
.xs5hli.xs5hli {
|
|
3019
|
+
color: canvastext;
|
|
3020
|
+
}
|
|
3021
|
+
|
|
2998
3022
|
.x1bhcspo.x1bhcspo {
|
|
2999
3023
|
color: graytext;
|
|
3000
3024
|
}
|
|
@@ -3488,6 +3512,10 @@
|
|
|
3488
3512
|
margin-bottom: calc(-1 * var(--xod9tvo));
|
|
3489
3513
|
}
|
|
3490
3514
|
|
|
3515
|
+
.x1jblbm6 {
|
|
3516
|
+
margin-bottom: calc((var(--xol8812) - var(--x67cwyw)) / 2);
|
|
3517
|
+
}
|
|
3518
|
+
|
|
3491
3519
|
.xqa3g7y {
|
|
3492
3520
|
margin-bottom: calc(var(--xqgx294) - var(--xbmbo34));
|
|
3493
3521
|
}
|
|
@@ -3516,6 +3544,10 @@
|
|
|
3516
3544
|
margin-top: calc(-1 * var(--xod9tvo));
|
|
3517
3545
|
}
|
|
3518
3546
|
|
|
3547
|
+
.x6rec7h {
|
|
3548
|
+
margin-top: calc((var(--xol8812) - var(--x67cwyw)) / 2);
|
|
3549
|
+
}
|
|
3550
|
+
|
|
3519
3551
|
.x1yhnu8z {
|
|
3520
3552
|
margin-top: var(--x196ey9q);
|
|
3521
3553
|
}
|
|
@@ -4200,6 +4232,12 @@
|
|
|
4200
4232
|
}
|
|
4201
4233
|
|
|
4202
4234
|
@layer kanso.priority7 {
|
|
4235
|
+
@media (width >= 600px) {
|
|
4236
|
+
.xcspwbw.xcspwbw {
|
|
4237
|
+
align-self: flex-start;
|
|
4238
|
+
}
|
|
4239
|
+
}
|
|
4240
|
+
|
|
4203
4241
|
@media (width < 600px) {
|
|
4204
4242
|
.x18ihq2d.x18ihq2d {
|
|
4205
4243
|
animation-name: x15b941j-B;
|
|
@@ -4370,7 +4408,15 @@
|
|
|
4370
4408
|
.x1v0tev1.x1v0tev1 {
|
|
4371
4409
|
inset-inline-end: 0 !important;
|
|
4372
4410
|
}
|
|
4411
|
+
}
|
|
4373
4412
|
|
|
4413
|
+
@media (width >= 600px) {
|
|
4414
|
+
.x19sl9hu.x19sl9hu {
|
|
4415
|
+
inset-inline-start: 0;
|
|
4416
|
+
}
|
|
4417
|
+
}
|
|
4418
|
+
|
|
4419
|
+
@media (width < 600px) {
|
|
4374
4420
|
.x12sfaok.x12sfaok {
|
|
4375
4421
|
inset-inline-start: 0 !important;
|
|
4376
4422
|
}
|
|
@@ -4389,6 +4435,10 @@
|
|
|
4389
4435
|
}
|
|
4390
4436
|
|
|
4391
4437
|
@media (width >= 600px) {
|
|
4438
|
+
.xhi6r6q.xhi6r6q {
|
|
4439
|
+
margin-inline-start: -12px;
|
|
4440
|
+
}
|
|
4441
|
+
|
|
4392
4442
|
.x1t601oj.x1t601oj {
|
|
4393
4443
|
outline-style: none;
|
|
4394
4444
|
}
|
|
@@ -4396,6 +4446,10 @@
|
|
|
4396
4446
|
.xxgb522.xxgb522 {
|
|
4397
4447
|
outline-style: solid;
|
|
4398
4448
|
}
|
|
4449
|
+
|
|
4450
|
+
.x15m4ytg.x15m4ytg {
|
|
4451
|
+
position: relative;
|
|
4452
|
+
}
|
|
4399
4453
|
}
|
|
4400
4454
|
|
|
4401
4455
|
@media (width < 600px) {
|
|
@@ -4481,10 +4535,6 @@
|
|
|
4481
4535
|
height: 100dvh;
|
|
4482
4536
|
}
|
|
4483
4537
|
|
|
4484
|
-
.xxcmccx.xxcmccx {
|
|
4485
|
-
height: 56px;
|
|
4486
|
-
}
|
|
4487
|
-
|
|
4488
4538
|
.xzcdm5u.xzcdm5u {
|
|
4489
4539
|
height: 72px;
|
|
4490
4540
|
}
|
|
@@ -4518,7 +4568,7 @@
|
|
|
4518
4568
|
inset-block: calc((var(--x1ww3f7m) - 48px) / 2 - 1px);
|
|
4519
4569
|
}
|
|
4520
4570
|
|
|
4521
|
-
.xun2zgk:before {
|
|
4571
|
+
.xfmxh57:after, .xun2zgk:before {
|
|
4522
4572
|
inset-block: min(0px, 50% - 24px);
|
|
4523
4573
|
}
|
|
4524
4574
|
|
|
@@ -4526,7 +4576,7 @@
|
|
|
4526
4576
|
inset-inline: -14px;
|
|
4527
4577
|
}
|
|
4528
4578
|
|
|
4529
|
-
.xm4btww:before {
|
|
4579
|
+
.xb7ltuz:after, .xm4btww:before {
|
|
4530
4580
|
inset-inline: 0;
|
|
4531
4581
|
}
|
|
4532
4582
|
|
|
@@ -4563,18 +4613,22 @@
|
|
|
4563
4613
|
min-height: 0;
|
|
4564
4614
|
}
|
|
4565
4615
|
|
|
4566
|
-
.
|
|
4567
|
-
min-
|
|
4616
|
+
.xnvi70j.xnvi70j {
|
|
4617
|
+
min-height: 56px;
|
|
4568
4618
|
}
|
|
4569
4619
|
|
|
4570
|
-
.
|
|
4571
|
-
|
|
4620
|
+
.xxzqys8.xxzqys8 {
|
|
4621
|
+
min-width: auto;
|
|
4572
4622
|
}
|
|
4573
4623
|
|
|
4574
4624
|
.x9xqwrn.x9xqwrn {
|
|
4575
4625
|
padding-bottom: env(safe-area-inset-bottom, 0px);
|
|
4576
4626
|
}
|
|
4577
4627
|
|
|
4628
|
+
.x1pr6p50.x1pr6p50 {
|
|
4629
|
+
padding-bottom: var(--xbmbo34);
|
|
4630
|
+
}
|
|
4631
|
+
|
|
4578
4632
|
.x19b5e0v.x19b5e0v {
|
|
4579
4633
|
padding-left: env(safe-area-inset-left, 0px);
|
|
4580
4634
|
}
|
|
@@ -4595,6 +4649,10 @@
|
|
|
4595
4649
|
padding-top: var(--x196ey9q);
|
|
4596
4650
|
}
|
|
4597
4651
|
|
|
4652
|
+
.xs3zajk.xs3zajk {
|
|
4653
|
+
padding-top: var(--xbmbo34);
|
|
4654
|
+
}
|
|
4655
|
+
|
|
4598
4656
|
.xbvrusa.xbvrusa {
|
|
4599
4657
|
top: 0 !important;
|
|
4600
4658
|
}
|
|
@@ -4685,6 +4743,14 @@
|
|
|
4685
4743
|
}
|
|
4686
4744
|
}
|
|
4687
4745
|
|
|
4746
|
+
@layer kanso.priority10 {
|
|
4747
|
+
@media (width >= 600px) {
|
|
4748
|
+
.x1ktxc2h.x1ktxc2h:after {
|
|
4749
|
+
content: "";
|
|
4750
|
+
}
|
|
4751
|
+
}
|
|
4752
|
+
}
|
|
4753
|
+
|
|
4688
4754
|
@property --x-blockSize {
|
|
4689
4755
|
syntax: "*";
|
|
4690
4756
|
inherits: false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kanso-labs/kanso-ui",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.8",
|
|
4
4
|
"description": "A React component library built on React Aria Components primitives and styled with StyleX, with design tokens sourced from a single W3C DTCG file and compiled via Style Dictionary",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@commitlint/cli": "21.2.3",
|
|
85
85
|
"@commitlint/config-conventional": "21.2.3",
|
|
86
86
|
"@eslint/js": "10.0.1",
|
|
87
|
-
"@kanso-labs/unplugin-style-dictionary": "0.10.
|
|
87
|
+
"@kanso-labs/unplugin-style-dictionary": "0.10.25",
|
|
88
88
|
"@microsoft/api-extractor": "7.59.4",
|
|
89
89
|
"@rolldown/plugin-babel": "0.2.4",
|
|
90
90
|
"@storybook/addon-a11y": "10.6.1",
|