@optiaxiom/react 0.1.0-next.5 → 0.1.0-next.7

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.
Files changed (44) hide show
  1. package/dist/assets/src/avatar/Avatar.css.ts.vanilla-CihLlW6Z.css +6 -0
  2. package/dist/assets/src/button/{Button.css.ts.vanilla-VaFYcYGO.css → Button.css.ts.vanilla-DJjt3whH.css} +40 -37
  3. package/dist/assets/src/button-group/ButtonGroup.css.ts.vanilla-4BGjgIuZ.css +4 -0
  4. package/dist/assets/src/input/Input.css.ts.vanilla-X0R-SsOp.css +32 -0
  5. package/dist/assets/src/separator/{Separator.css.ts.vanilla-DYzKo87M.css → Separator.css.ts.vanilla-C_EYtori.css} +8 -14
  6. package/dist/assets/src/sprinkles/{sprinkles.css.ts.vanilla-NXW-pecy.css → sprinkles.css.ts.vanilla-Cj5eURGG.css} +2308 -1652
  7. package/dist/assets/src/styles/{theme.css.ts.vanilla-Cb0QJvUK.css → theme.css.ts.vanilla-BftJbjRk.css} +28 -2
  8. package/dist/assets/src/text/{Text.css.ts.vanilla-BtaUGYv3.css → Text.css.ts.vanilla-DK_dMlGe.css} +0 -4
  9. package/dist/assets/src/transition/{Transition.css.ts.vanilla-qjeQECVe.css → Transition.css.ts.vanilla-COX8x_Bo.css} +18 -9
  10. package/dist/avatar/Avatar-css.js +4 -6
  11. package/dist/avatar/Avatar.js +2 -3
  12. package/dist/box/Box-css.js +4 -3
  13. package/dist/box/Box.js +2 -2
  14. package/dist/button/Button-css.js +7 -5
  15. package/dist/button/Button.js +41 -28
  16. package/dist/button-group/ButtonGroup-css.js +7 -0
  17. package/dist/button-group/ButtonGroup.js +24 -0
  18. package/dist/code/Code-css.js +3 -2
  19. package/dist/code/Code.js +2 -3
  20. package/dist/index.d.ts +326 -375
  21. package/dist/index.js +4 -0
  22. package/dist/input/Input-css.js +5 -5
  23. package/dist/input/Input.js +2 -3
  24. package/dist/kbd/Kbd-css.js +4 -3
  25. package/dist/kbd/Kbd.js +3 -4
  26. package/dist/progress/Progress.js +18 -16
  27. package/dist/separator/Separator-css.js +4 -4
  28. package/dist/separator/Separator.js +1 -5
  29. package/dist/skeleton/Skeleton-css.js +3 -2
  30. package/dist/skeleton/Skeleton.js +2 -3
  31. package/dist/sprinkles/sprinkles-css.js +3 -3
  32. package/dist/styles/theme-css.js +2 -2
  33. package/dist/text/Text-css.js +4 -4
  34. package/dist/text/Text.js +3 -8
  35. package/dist/tokens/borderRadius.js +1 -1
  36. package/dist/tokens/spacing.js +6 -0
  37. package/dist/tokens/zIndex.js +2 -1
  38. package/dist/tooltip/Tooltip.js +16 -5
  39. package/dist/transition/Transition-css.js +5 -4
  40. package/dist/transition/Transition.js +9 -19
  41. package/dist/vanilla-extract/recipeRuntime.js +51 -0
  42. package/package.json +1 -2
  43. package/dist/assets/src/avatar/Avatar.css.ts.vanilla-DdarHYxU.css +0 -11
  44. package/dist/assets/src/input/Input.css.ts.vanilla-CucST5E4.css +0 -67
@@ -0,0 +1,6 @@
1
+ @layer optiaxiom._1kfj4ga1;
2
+ @layer optiaxiom._1kfj4ga1 {
3
+ .t64xwp0 {
4
+ user-select: none;
5
+ }
6
+ }
@@ -1,19 +1,10 @@
1
1
  @layer optiaxiom._1kfj4ga1;
2
2
  @layer optiaxiom._1kfj4ga1 {
3
3
  ._1gqmi2d3 {
4
- align-items: center;
5
- border: 0;
6
4
  border-radius: var(--ax-borderRadius-sm);
7
5
  cursor: pointer;
8
- display: inline-flex;
9
- flex-direction: row;
10
- gap: var(--ax-spacing-xs);
11
- justify-content: center;
12
- overflow: hidden;
13
6
  position: relative;
14
- transition-duration: 150ms;
15
- transition-property: background-color, border-color, color;
16
- transition-timing-function: ease;
7
+ text-decoration: none;
17
8
  }
18
9
  ._1gqmi2d3:active:not([data-disabled="true"]) {
19
10
  box-shadow: var(--ax-boxShadow-inner);
@@ -26,6 +17,35 @@
26
17
  ._1gqmi2d3[data-disabled="true"] {
27
18
  cursor: not-allowed;
28
19
  }
20
+ ._1sewcgl0[data-orientation="horizontal"] ._1gqmi2d3:not(:first-child):not(:last-child) {
21
+ border-inline-width: 0.5px;
22
+ }
23
+ ._1sewcgl0[data-orientation="horizontal"] ._1gqmi2d3:not(:only-child):first-child {
24
+ border-bottom-right-radius: 0;
25
+ border-right-width: 0.5px;
26
+ border-top-right-radius: 0;
27
+ }
28
+ ._1sewcgl0[data-orientation="horizontal"] ._1gqmi2d3:not(:only-child):last-child {
29
+ border-bottom-left-radius: 0;
30
+ border-left-width: 0.5px;
31
+ border-top-left-radius: 0;
32
+ }
33
+ ._1sewcgl0[data-orientation="vertical"] ._1gqmi2d3:not(:first-child):not(:last-child) {
34
+ border-block-width: 0.5px;
35
+ }
36
+ ._1sewcgl0[data-orientation="vertical"] ._1gqmi2d3:not(:only-child):first-child {
37
+ border-bottom-left-radius: 0;
38
+ border-bottom-right-radius: 0;
39
+ border-bottom-width: 0.5px;
40
+ }
41
+ ._1sewcgl0[data-orientation="vertical"] ._1gqmi2d3:not(:only-child):last-child {
42
+ border-top-left-radius: 0;
43
+ border-top-right-radius: 0;
44
+ border-top-width: 0.5px;
45
+ }
46
+ ._1sewcgl0[data-orientation] ._1gqmi2d3:not(:first-child):not(:last-child) {
47
+ border-radius: 0;
48
+ }
29
49
  ._1gqmi2d4 {
30
50
  --_1gqmi2d0: var(--ax-colors-bg-error-solid);
31
51
  --_1gqmi2d1: var(--ax-colors-bg-error-solid-hover);
@@ -51,59 +71,42 @@
51
71
  outline-color: var(--ax-colors-neutral-500);
52
72
  }
53
73
  ._1gqmi2d7 {
54
- font-size: var(--ax-fontSize-sm-fontSize);
55
- height: 24px;
56
- line-height: var(--ax-fontSize-sm-lineHeight);
57
- padding-inline: 10px;
58
- }
59
- ._1gqmi2d8 {
60
- font-size: var(--ax-fontSize-md-fontSize);
61
- height: 32px;
62
- line-height: var(--ax-fontSize-md-lineHeight);
63
- padding-inline: 12px;
64
- }
65
- ._1gqmi2d9 {
66
- font-size: var(--ax-fontSize-lg-fontSize);
67
- height: 40px;
68
- line-height: var(--ax-fontSize-lg-lineHeight);
69
- padding-inline: 16px;
70
- }
71
- ._1gqmi2da {
72
74
  background-color: transparent;
75
+ border-color: var(--_1gqmi2d0);
73
76
  color: var(--_1gqmi2d0);
74
77
  }
75
- ._1gqmi2da:hover:not([data-disabled="true"]) {
78
+ ._1gqmi2d7:hover:not([data-disabled="true"]) {
76
79
  background-color: var(--_1gqmi2d2);
77
80
  }
78
- ._1gqmi2da[data-disabled="true"] {
81
+ ._1gqmi2d7[data-disabled="true"] {
79
82
  background-color: var(--ax-colors-bg-disabled);
80
83
  color: var(--ax-colors-fg-disabled);
81
84
  }
82
- ._1gqmi2db {
85
+ ._1gqmi2d8 {
83
86
  background-color: transparent;
84
87
  border: 1px solid var(--_1gqmi2d0);
85
88
  color: var(--_1gqmi2d0);
86
89
  }
87
- ._1gqmi2db:hover:not([data-disabled="true"]) {
90
+ ._1gqmi2d8:hover:not([data-disabled="true"]) {
88
91
  background-color: var(--_1gqmi2d2);
89
92
  }
90
- ._1gqmi2db[data-disabled="true"] {
93
+ ._1gqmi2d8[data-disabled="true"] {
91
94
  border-color: var(--ax-colors-border-disabled);
92
95
  color: var(--ax-colors-fg-disabled);
93
96
  }
94
- ._1gqmi2dc {
97
+ ._1gqmi2d9 {
95
98
  background-color: var(--_1gqmi2d0);
96
99
  color: var(--ax-colors-fg-default-inverse);
97
100
  }
98
- ._1gqmi2dc:hover:not([data-disabled="true"]) {
101
+ ._1gqmi2d9:hover:not([data-disabled="true"]) {
99
102
  background-color: var(--_1gqmi2d1);
100
103
  }
101
- ._1gqmi2dc[data-disabled="true"] {
104
+ ._1gqmi2d9[data-disabled="true"] {
102
105
  background-color: var(--ax-colors-bg-disabled);
103
106
  border: 1px solid var(--ax-colors-border-disabled);
104
107
  color: var(--ax-colors-fg-disabled);
105
108
  }
106
- ._1gqmi2dd {
109
+ ._1gqmi2da {
107
110
  border-color: var(--ax-colors-border-default);
108
111
  }
109
112
  }
@@ -0,0 +1,4 @@
1
+ @layer optiaxiom._1kfj4ga1;
2
+ @layer optiaxiom._1kfj4ga1 {
3
+
4
+ }
@@ -0,0 +1,32 @@
1
+ @layer optiaxiom._1kfj4ga1;
2
+ @layer optiaxiom._1kfj4ga1 {
3
+ ._5j10wf0 {
4
+ border-color: var(--ax-colors-border-default);
5
+ }
6
+ ._5j10wf0:focus-within:is([data-invalid="true"]) {
7
+ outline-color: var(--ax-colors-red-200);
8
+ outline-offset: 1px;
9
+ outline-style: solid;
10
+ outline-width: 2px;
11
+ }
12
+ ._5j10wf0:focus-within:not([data-invalid="true"]) {
13
+ outline-color: var(--ax-colors-brand-200);
14
+ outline-offset: 1px;
15
+ outline-style: solid;
16
+ outline-width: 2px;
17
+ }
18
+ ._5j10wf0:hover {
19
+ border-color: var(--ax-colors-border-brand);
20
+ }
21
+ ._5j10wf0[data-disabled="true"] {
22
+ background-color: var(--ax-colors-bg-disabled);
23
+ border-color: var(--ax-colors-border-secondary);
24
+ pointer-events: none;
25
+ }
26
+ ._5j10wf0[data-invalid="true"] {
27
+ border-color: var(--ax-colors-border-error);
28
+ }
29
+ ._5j10wf1:focus-visible {
30
+ outline-width: 0px;
31
+ }
32
+ }
@@ -1,46 +1,40 @@
1
- @layer optiaxiom._1kfj4ga1;
2
- .tlk8154 {
1
+ .tlk8153 {
3
2
  height: 1px;
4
3
  width: auto;
5
4
  }
6
- .tlk8158 {
5
+ .tlk8157 {
7
6
  align-self: stretch;
8
7
  height: auto;
9
8
  width: 1px;
10
9
  }
11
- @layer optiaxiom._1kfj4ga1 {
12
- .tlk8150 {
13
- background-color: var(--ax-colors-border-default);
14
- }
15
- }
16
10
  @media screen and (min-width: 37.5rem) {
17
- .tlk8151 {
11
+ .tlk8150 {
18
12
  height: 1px;
19
13
  width: auto;
20
14
  }
21
- .tlk8155 {
15
+ .tlk8154 {
22
16
  align-self: stretch;
23
17
  height: auto;
24
18
  width: 1px;
25
19
  }
26
20
  }
27
21
  @media screen and (min-width: 56.25rem) {
28
- .tlk8152 {
22
+ .tlk8151 {
29
23
  height: 1px;
30
24
  width: auto;
31
25
  }
32
- .tlk8156 {
26
+ .tlk8155 {
33
27
  align-self: stretch;
34
28
  height: auto;
35
29
  width: 1px;
36
30
  }
37
31
  }
38
32
  @media screen and (min-width: 75rem) {
39
- .tlk8153 {
33
+ .tlk8152 {
40
34
  height: 1px;
41
35
  width: auto;
42
36
  }
43
- .tlk8157 {
37
+ .tlk8156 {
44
38
  align-self: stretch;
45
39
  height: auto;
46
40
  width: 1px;