@kanso-labs/kanso-ui 0.44.0 → 0.44.1

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
@@ -13,6 +13,18 @@
13
13
  grid-area: 1 / 1;
14
14
  }
15
15
 
16
+ .x1kxrqrs {
17
+ grid-area: leading;
18
+ }
19
+
20
+ .x12gd1sl {
21
+ grid-area: text;
22
+ }
23
+
24
+ .x1txd71x {
25
+ grid-area: trailing;
26
+ }
27
+
16
28
  .x1jz8bvi {
17
29
  inset: -1px;
18
30
  }
@@ -279,6 +291,15 @@
279
291
  grid-row: auto;
280
292
  }
281
293
 
294
+ .xc3o5yk {
295
+ grid-template-areas: "leading . trailing"
296
+ "text text text";
297
+ }
298
+
299
+ .x97ohe {
300
+ grid-template-areas: "leading text trailing";
301
+ }
302
+
282
303
  .x10no89f {
283
304
  inset-block: 0;
284
305
  }
@@ -471,8 +492,12 @@
471
492
  padding-inline: calc(var(--x3km7fe) - 1px);
472
493
  }
473
494
 
474
- .x1mhv0kc {
475
- padding-inline: calc(var(--x3km7fe) - var(--xbmbo34));
495
+ .xgnwbya {
496
+ padding-inline: calc(var(--x3km7fe) - var(--xbmbo34) - 1px);
497
+ }
498
+
499
+ .x1cmmxig {
500
+ padding-inline: calc(var(--x3km7fe) - var(--xbmbo34) - 2px);
476
501
  }
477
502
 
478
503
  .x140yoea {
@@ -581,6 +606,10 @@
581
606
  -webkit-line-clamp: 2;
582
607
  }
583
608
 
609
+ .x10ukxgv {
610
+ align-content: start;
611
+ }
612
+
584
613
  .x1pha0wt {
585
614
  align-items: baseline;
586
615
  }
@@ -613,6 +642,10 @@
613
642
  align-self: flex-start;
614
643
  }
615
644
 
645
+ .xnav3zx {
646
+ align-self: last baseline;
647
+ }
648
+
616
649
  .xkh2ocl {
617
650
  align-self: stretch;
618
651
  }
@@ -669,10 +702,6 @@
669
702
  animation-iteration-count: infinite;
670
703
  }
671
704
 
672
- .x1a5igra {
673
- animation-name: none;
674
- }
675
-
676
705
  .x1dwmuk9 {
677
706
  animation-name: x15b941j-B;
678
707
  }
@@ -945,6 +974,10 @@
945
974
  background-color: color-mix(in srgb,var(--xkltk4j) calc(var(--xhaltwz) * 100%),var(--x189y34t));
946
975
  }
947
976
 
977
+ .x1ojo7np {
978
+ background-color: color-mix(in srgb,var(--xn0syi6) 4%,var(--x1dzgr7y));
979
+ }
980
+
948
981
  .xwqhyid {
949
982
  background-color: color-mix(in srgb,var(--xn0syi6) calc(var(--x124j18r) * 100%),transparent);
950
983
  }
@@ -1313,8 +1346,8 @@
1313
1346
  box-shadow: inset -1px 0 0 0 var(--x7dbk6n);
1314
1347
  }
1315
1348
 
1316
- .x1pqbjc1 {
1317
- box-shadow: inset 0 -1px 0 0 color-mix(in srgb,var(--xn0syi6) calc(var(--x1cq03z9) * 100%),transparent);
1349
+ .xgloidm {
1350
+ box-shadow: inset 0 -1px 0 0 color-mix(in srgb,var(--xn0syi6) calc(var(--xu361ij) * 100%),transparent);
1318
1351
  }
1319
1352
 
1320
1353
  .x1d6xoej {
@@ -1329,6 +1362,14 @@
1329
1362
  box-shadow: inset 0 -1px 0 0 var(--x7dbk6n);
1330
1363
  }
1331
1364
 
1365
+ .x1ncb8nd {
1366
+ box-shadow: inset 0 -1px 0 0 var(--xn0syi6);
1367
+ }
1368
+
1369
+ .xryshfu {
1370
+ box-shadow: inset 0 -1px 0 0 var(--xqsbqtq);
1371
+ }
1372
+
1332
1373
  .x1ixd52e {
1333
1374
  box-shadow: inset 0 -1px 0 var(--x7dbk6n);
1334
1375
  }
@@ -1377,6 +1418,14 @@
1377
1418
  caret-color: #0000;
1378
1419
  }
1379
1420
 
1421
+ .x11twi6n {
1422
+ caret-color: var(--x12p1wyw);
1423
+ }
1424
+
1425
+ .x1jie568 {
1426
+ caret-color: var(--x1cjupv7);
1427
+ }
1428
+
1380
1429
  .x1hyvwdk {
1381
1430
  clip-path: inset(50%);
1382
1431
  }
@@ -1953,6 +2002,10 @@
1953
2002
  grid-column-start: 2;
1954
2003
  }
1955
2004
 
2005
+ .xx9t13c {
2006
+ grid-template-columns: auto minmax(0, 1fr) auto;
2007
+ }
2008
+
1956
2009
  .x1rkzygb {
1957
2010
  grid-template-columns: auto minmax(0, 1fr);
1958
2011
  }
@@ -1977,6 +2030,10 @@
1977
2030
  grid-template-rows: 1fr;
1978
2031
  }
1979
2032
 
2033
+ .x1xxtoay {
2034
+ grid-template-rows: var(--x-gridTemplateRows);
2035
+ }
2036
+
1980
2037
  .xkjl1po {
1981
2038
  hyphens: auto;
1982
2039
  }
@@ -2277,6 +2334,10 @@
2277
2334
  margin-inline-start: var(--xbmbo34);
2278
2335
  }
2279
2336
 
2337
+ .xq0p5jb {
2338
+ margin-inline-start: var(--xod9tvo);
2339
+ }
2340
+
2280
2341
  .xwjwp01 {
2281
2342
  -webkit-mask-image: var(--x-maskImage);
2282
2343
  mask-image: var(--x-maskImage);
@@ -2382,8 +2443,12 @@
2382
2443
  padding-inline-end: 64px;
2383
2444
  }
2384
2445
 
2385
- .x3o381d {
2386
- padding-inline-end: calc(var(--x6borv4) + 24px + var(--x3km7fe) - var(--xbmbo34));
2446
+ .xflzzte {
2447
+ padding-inline-end: calc(var(--x6borv4) + 24px + var(--x3km7fe) - var(--xbmbo34) - 1px);
2448
+ }
2449
+
2450
+ .x1gwc4xo {
2451
+ padding-inline-end: calc(var(--x6borv4) + 24px + var(--x3km7fe) - var(--xbmbo34) - 2px);
2387
2452
  }
2388
2453
 
2389
2454
  .x120eax6 {
@@ -2422,8 +2487,12 @@
2422
2487
  padding-inline-start: calc(var(--x3km7fe) + var(--x6borv4));
2423
2488
  }
2424
2489
 
2425
- .x167ah0f {
2426
- padding-inline-start: calc(var(--x6borv4) + 24px + var(--x3km7fe) - var(--xbmbo34));
2490
+ .x1e4tv75 {
2491
+ padding-inline-start: calc(var(--x6borv4) + 24px + var(--x3km7fe) - var(--xbmbo34) - 1px);
2492
+ }
2493
+
2494
+ .x2e0ysr {
2495
+ padding-inline-start: calc(var(--x6borv4) + 24px + var(--x3km7fe) - var(--xbmbo34) - 2px);
2427
2496
  }
2428
2497
 
2429
2498
  .xnvo3vl {
@@ -2727,10 +2796,6 @@
2727
2796
  transition-property: background-color, color;
2728
2797
  }
2729
2798
 
2730
- .x8u3r54 {
2731
- transition-property: background-color, min-block-size;
2732
- }
2733
-
2734
2799
  .x15406qy {
2735
2800
  transition-property: background-color;
2736
2801
  }
@@ -2739,8 +2804,8 @@
2739
2804
  transition-property: block-size;
2740
2805
  }
2741
2806
 
2742
- .x1aqzbqr {
2743
- transition-property: border-color, border-width;
2807
+ .x1bj6kjc {
2808
+ transition-property: border-color, border-width, padding-inline-start, padding-inline-end;
2744
2809
  }
2745
2810
 
2746
2811
  .xshfolx {
@@ -2763,10 +2828,6 @@
2763
2828
  transition-property: color;
2764
2829
  }
2765
2830
 
2766
- .x1nxaspg {
2767
- transition-property: font-size, letter-spacing, line-height;
2768
- }
2769
-
2770
2831
  .x1qn9uv2 {
2771
2832
  transition-property: grid-template-rows;
2772
2833
  }
@@ -2921,6 +2982,10 @@
2921
2982
  z-index: 900;
2922
2983
  }
2923
2984
 
2985
+ .x13aw6e3:focus-within {
2986
+ background-color: var(--x13o0mym);
2987
+ }
2988
+
2924
2989
  .x1lxxh4i:focus-within {
2925
2990
  box-shadow: inset 0 -2px 0 0 var(--x12p1wyw);
2926
2991
  }
@@ -3725,6 +3790,10 @@
3725
3790
  margin-top: calc((var(--xol8812) - var(--x67cwyw)) / 2);
3726
3791
  }
3727
3792
 
3793
+ .x1vhfslr {
3794
+ margin-top: var(--x-marginBlockStart);
3795
+ }
3796
+
3728
3797
  .x1yhnu8z {
3729
3798
  margin-top: var(--x196ey9q);
3730
3799
  }
@@ -4617,6 +4686,10 @@
4617
4686
  }
4618
4687
  }
4619
4688
 
4689
+ .x1vlsijy:after {
4690
+ grid-area: text;
4691
+ }
4692
+
4620
4693
  @media (width < 840px) {
4621
4694
  .x17udjhq.x17udjhq {
4622
4695
  grid-auto-rows: 336px;
@@ -4961,6 +5034,10 @@
4961
5034
  }
4962
5035
 
4963
5036
  @layer kanso.priority9 {
5037
+ .x1mna9mr:after {
5038
+ align-self: last baseline;
5039
+ }
5040
+
4964
5041
  .xx38sju:after {
4965
5042
  box-sizing: border-box;
4966
5043
  }
@@ -5011,6 +5088,20 @@
5011
5088
  }
5012
5089
 
5013
5090
  @layer kanso.priority10 {
5091
+ .x1gmr53x:after {
5092
+ height: 0;
5093
+ }
5094
+
5095
+ .x1v6yq59:after {
5096
+ margin-bottom: 24px;
5097
+ }
5098
+
5099
+ .x1fh8phi:after {
5100
+ margin-bottom: 28px;
5101
+ }
5102
+ }
5103
+
5104
+ @layer kanso.priority11 {
5014
5105
  @media (width >= 600px) {
5015
5106
  .x1ktxc2h.x1ktxc2h:after {
5016
5107
  content: "";
@@ -5053,6 +5144,11 @@
5053
5144
  inherits: false
5054
5145
  }
5055
5146
 
5147
+ @property --x-gridTemplateRows {
5148
+ syntax: "*";
5149
+ inherits: false
5150
+ }
5151
+
5056
5152
  @property --x-inlineSize {
5057
5153
  syntax: "*";
5058
5154
  inherits: false
@@ -5078,6 +5174,11 @@
5078
5174
  inherits: false
5079
5175
  }
5080
5176
 
5177
+ @property --x-marginBlockStart {
5178
+ syntax: "*";
5179
+ inherits: false
5180
+ }
5181
+
5081
5182
  @property --x-maskImage {
5082
5183
  syntax: "*";
5083
5184
  inherits: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kanso-labs/kanso-ui",
3
- "version": "0.44.0",
3
+ "version": "0.44.1",
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",
@@ -1,7 +0,0 @@
1
- import { createContext } from "react";
2
- //#region src/overlay/modal.ts
3
- const InsideModalContext = createContext(false);
4
- //#endregion
5
- export { InsideModalContext };
6
-
7
- //# sourceMappingURL=modal.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"modal.js","names":["createContext","InsideModalContext"],"sources":["../../src/overlay/modal.ts"],"sourcesContent":["import { createContext } from 'react'\n\n// Whether a modal is open around what reads it. Every modal draws its own\n// scrim across the whole window, so one opened from inside another laid a\n// second over the first: the page darkened twice over, and the first modal's\n// own surface was dimmed with it. A modal set inside another reads this as\n// true and draws its scrim without a fill, leaving the first modal's as the\n// one the page is dimmed by. Its scrim is still there, empty, since it is\n// what React Aria reads a press outside the modal from.\n//\n// Set by a modal around its content rather than by `OverlayScope`, which\n// popovers set too: a modal opened from a popover is over a modal only if the\n// popover is inside one, and the context reaching it through the popover from\n// further out says exactly that. Apart from the components so their modules\n// export components alone, which is what keeps fast refresh working for them.\nconst InsideModalContext = createContext(false)\n\nexport { InsideModalContext }\n"],"mappings":";;AAeA,MAAMC,qBAAqBD,cAAc,KAAK"}