@ecopages/radiant-ui 0.1.0-beta.0 → 0.1.0-beta.2

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 (75) hide show
  1. package/README.md +4 -2
  2. package/dist/components/ui/alert/alert.css +56 -23
  3. package/dist/components/ui/breadcrumb/breadcrumb.css +85 -36
  4. package/dist/components/ui/carousel/carousel.css +465 -166
  5. package/dist/components/ui/checkbox/checkbox.css +196 -49
  6. package/dist/components/ui/combobox/combobox.css +213 -60
  7. package/dist/components/ui/dialog/dialog.css +176 -49
  8. package/dist/components/ui/disclosure/disclosure.css +228 -100
  9. package/dist/components/ui/feed/feed.css +30 -10
  10. package/dist/components/ui/field/field.css +18 -22
  11. package/dist/components/ui/form/form.css +7 -8
  12. package/dist/components/ui/grid/grid.css +172 -43
  13. package/dist/components/ui/input/input.css +126 -30
  14. package/dist/components/ui/label/label.css +20 -6
  15. package/dist/components/ui/listbox/listbox.css +137 -19
  16. package/dist/components/ui/menu-button/index.js +1 -1
  17. package/dist/components/ui/menu-button/index.js.map +4 -4
  18. package/dist/components/ui/menu-button/menu-button.css +158 -38
  19. package/dist/components/ui/menu-button/menu-button.script.d.ts +7 -7
  20. package/dist/components/ui/menubar/index.js +1 -1
  21. package/dist/components/ui/menubar/index.js.map +2 -2
  22. package/dist/components/ui/menubar/menubar.css +207 -39
  23. package/dist/components/ui/meter/meter.css +50 -13
  24. package/dist/components/ui/navigation-menu/navigation-menu.css +281 -85
  25. package/dist/components/ui/radio-group/radio-group.css +179 -40
  26. package/dist/components/ui/shared/floating-position.d.ts +37 -0
  27. package/dist/components/ui/shared/floating-position.test.d.ts +1 -0
  28. package/dist/components/ui/shared/placement.d.ts +2 -0
  29. package/dist/components/ui/sidebar/sidebar.css +407 -189
  30. package/dist/components/ui/slider/slider.css +220 -47
  31. package/dist/components/ui/spinbutton/spinbutton.css +65 -15
  32. package/dist/components/ui/switch/switch.css +164 -43
  33. package/dist/components/ui/tabs/tabs.css +145 -24
  34. package/dist/components/ui/textarea/textarea.css +128 -31
  35. package/dist/components/ui/toast/toast.css +388 -255
  36. package/dist/components/ui/toolbar/toolbar.css +118 -11
  37. package/dist/components/ui/tooltip/index.js +1 -1
  38. package/dist/components/ui/tooltip/index.js.map +4 -4
  39. package/dist/components/ui/tooltip/tooltip.css +119 -21
  40. package/dist/components/ui/tooltip/tooltip.script.d.ts +6 -6
  41. package/dist/components/ui/tree/tree.css +180 -49
  42. package/dist/components/ui/treegrid/treegrid.css +190 -72
  43. package/dist/components/ui/window-splitter/window-splitter.css +144 -31
  44. package/dist/index.js +1 -1
  45. package/dist/index.js.map +4 -4
  46. package/dist/styles/components/button.css +299 -113
  47. package/dist/styles/radiant-ui-core.css +828 -7
  48. package/dist/styles/radiant-ui.css +1497 -8
  49. package/dist/styles/styles.css +5830 -36
  50. package/dist/styles/tailwind.css +1607 -27
  51. package/dist/styles/themes/aurora.css +637 -15
  52. package/dist/styles/themes/default-compact-soft.css +580 -15
  53. package/dist/styles/themes/default.css +641 -2
  54. package/dist/styles/themes/glacier.css +637 -15
  55. package/dist/styles/tokens/colors/aurora.css +1 -73
  56. package/dist/styles/tokens/colors/basalt.css +1 -36
  57. package/dist/styles/tokens/colors/glacier.css +1 -45
  58. package/dist/styles/tokens/colors/palettes.css +1 -3
  59. package/dist/styles/tokens/elevation/default.css +11 -19
  60. package/dist/styles/tokens/elevation/flat.css +11 -19
  61. package/dist/styles/tokens/motion/default.css +6 -17
  62. package/dist/styles/tokens/motion/snappy.css +6 -17
  63. package/dist/styles/tokens/presets/colors/index.css +446 -4
  64. package/dist/styles/tokens/radius/default.css +17 -31
  65. package/dist/styles/tokens/radius/edgy.css +17 -32
  66. package/dist/styles/tokens/radius/sharp.css +20 -2
  67. package/dist/styles/tokens/radius/soft.css +17 -31
  68. package/dist/styles/tokens/semantic.css +445 -79
  69. package/dist/styles/tokens/spacing/compact.css +16 -21
  70. package/dist/styles/tokens/spacing/default.css +16 -21
  71. package/dist/styles/tokens/spacing/scale-bridge.css +1 -17
  72. package/dist/styles/tokens/spacing/wide.css +16 -21
  73. package/dist/styles/tokens/system.css +21 -33
  74. package/dist/styles/tokens/typography/default.css +23 -33
  75. package/package.json +5 -6
@@ -1,54 +1,185 @@
1
- @reference '../../../styles/radiant-ui.css';
2
-
1
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
3
3
  rui-tree {
4
- @apply block;
4
+ display: block;
5
5
  }
6
-
7
6
  @layer components {
8
- .rui-tree {
9
- @apply m-0 list-none rounded-container border border-border bg-background p-2 text-sm shadow-sm;
10
- }
11
-
12
- .rui-tree__item {
13
- @apply list-none;
14
- }
15
-
16
- .rui-tree ul {
17
- @apply m-0 mt-0.5 list-none border-l border-border pl-3;
18
- }
19
-
20
- .rui-tree__node {
21
- @apply relative w-full cursor-pointer rounded-container border-0 bg-transparent px-2 py-1.5 text-left text-on-background;
22
- @apply transition-colors duration-fast;
23
- }
24
-
25
- .rui-tree__node:hover {
26
- @apply bg-surface;
27
- }
28
-
29
- .rui-tree__node[aria-selected='true'] {
30
- @apply bg-primary-container font-medium text-on-primary-container;
31
- }
32
-
33
- .rui-tree__node[aria-expanded='false']::before,
7
+ .rui-tree {
8
+ margin: 0px;
9
+ list-style-type: none;
10
+ border-radius: var(--radius-container, var(--radius-container));
11
+ border-style: var(--tw-border-style);
12
+ border-width: 1px;
13
+ border-color: var(--color-border, var(--border));
14
+ background-color: var(--color-background, var(--background));
15
+ padding: var(--spacing-2, var(--space-2));
16
+ font-size: var(--text-sm, var(--text-sm));
17
+ line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
18
+ --tw-shadow: var(--shadow-control);
19
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
20
+ }
21
+ .rui-tree__item {
22
+ list-style-type: none;
23
+ }
24
+ .rui-tree ul {
25
+ margin: 0px;
26
+ margin-top: calc(var(--spacing, 0.25rem) * 0.5);
27
+ list-style-type: none;
28
+ border-left-style: var(--tw-border-style);
29
+ border-left-width: 1px;
30
+ border-color: var(--color-border, var(--border));
31
+ padding-left: var(--spacing-3, var(--space-3));
32
+ }
33
+ .rui-tree__node {
34
+ position: relative;
35
+ width: 100%;
36
+ cursor: pointer;
37
+ border-radius: var(--radius-container, var(--radius-container));
38
+ border-style: var(--tw-border-style);
39
+ border-width: 0px;
40
+ background-color: transparent;
41
+ padding-inline: var(--spacing-2, var(--space-2));
42
+ padding-block: calc(var(--spacing, 0.25rem) * 1.5);
43
+ text-align: left;
44
+ color: var(--color-on-background, var(--on-background));
45
+ transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
46
+ transition-timing-function: var(--tw-ease, var(--default-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1)));
47
+ transition-duration: var(--tw-duration, var(--default-transition-duration, 150ms));
48
+ --tw-duration: var(--transition-duration-fast, var(--duration-fast));
49
+ transition-duration: var(--transition-duration-fast, var(--duration-fast));
50
+ }
51
+ .rui-tree__node:hover {
52
+ background-color: var(--color-surface, var(--surface));
53
+ }
54
+ .rui-tree__node[aria-selected='true'] {
55
+ background-color: var(--color-primary-container, var(--primary-container));
56
+ --tw-font-weight: var(--font-weight-medium, var(--weight-medium));
57
+ font-weight: var(--font-weight-medium, var(--weight-medium));
58
+ color: var(--color-on-primary-container, var(--on-primary-container));
59
+ }
60
+ .rui-tree__node[aria-expanded='false']::before,
34
61
  .rui-tree__node[aria-expanded='true']::before {
35
- content: '';
36
- display: inline-block;
37
- width: 0;
38
- height: 0;
39
- margin-right: 0.5rem;
40
- border-top: 4px solid transparent;
41
- border-bottom: 4px solid transparent;
42
- border-left: 6px solid currentColor;
43
- vertical-align: middle;
44
- transition: transform 150ms ease;
45
- }
46
-
47
- .rui-tree__node[aria-expanded='true']::before {
48
- transform: rotate(90deg);
49
- }
50
-
51
- .rui-tree__node:focus-visible {
52
- @apply bg-surface outline-none ring-2 ring-focus-ring;
53
- }
62
+ content: '';
63
+ display: inline-block;
64
+ width: 0;
65
+ height: 0;
66
+ margin-right: 0.5rem;
67
+ border-top: 4px solid transparent;
68
+ border-bottom: 4px solid transparent;
69
+ border-left: 6px solid currentColor;
70
+ vertical-align: middle;
71
+ transition: transform 150ms ease;
72
+ }
73
+ .rui-tree__node[aria-expanded='true']::before {
74
+ transform: rotate(90deg);
75
+ }
76
+ .rui-tree__node:focus-visible {
77
+ background-color: var(--color-surface, var(--surface));
78
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
79
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
80
+ --tw-ring-color: var(--color-focus-ring, var(--focus-ring));
81
+ --tw-outline-style: none;
82
+ outline-style: none;
83
+ }
84
+ }
85
+ @property --tw-border-style {
86
+ syntax: "*";
87
+ inherits: false;
88
+ initial-value: solid;
89
+ }
90
+ @property --tw-shadow {
91
+ syntax: "*";
92
+ inherits: false;
93
+ initial-value: 0 0 #0000;
94
+ }
95
+ @property --tw-shadow-color {
96
+ syntax: "*";
97
+ inherits: false;
98
+ }
99
+ @property --tw-shadow-alpha {
100
+ syntax: "<percentage>";
101
+ inherits: false;
102
+ initial-value: 100%;
103
+ }
104
+ @property --tw-inset-shadow {
105
+ syntax: "*";
106
+ inherits: false;
107
+ initial-value: 0 0 #0000;
108
+ }
109
+ @property --tw-inset-shadow-color {
110
+ syntax: "*";
111
+ inherits: false;
112
+ }
113
+ @property --tw-inset-shadow-alpha {
114
+ syntax: "<percentage>";
115
+ inherits: false;
116
+ initial-value: 100%;
117
+ }
118
+ @property --tw-ring-color {
119
+ syntax: "*";
120
+ inherits: false;
121
+ }
122
+ @property --tw-ring-shadow {
123
+ syntax: "*";
124
+ inherits: false;
125
+ initial-value: 0 0 #0000;
126
+ }
127
+ @property --tw-inset-ring-color {
128
+ syntax: "*";
129
+ inherits: false;
130
+ }
131
+ @property --tw-inset-ring-shadow {
132
+ syntax: "*";
133
+ inherits: false;
134
+ initial-value: 0 0 #0000;
135
+ }
136
+ @property --tw-ring-inset {
137
+ syntax: "*";
138
+ inherits: false;
139
+ }
140
+ @property --tw-ring-offset-width {
141
+ syntax: "<length>";
142
+ inherits: false;
143
+ initial-value: 0px;
144
+ }
145
+ @property --tw-ring-offset-color {
146
+ syntax: "*";
147
+ inherits: false;
148
+ initial-value: #fff;
149
+ }
150
+ @property --tw-ring-offset-shadow {
151
+ syntax: "*";
152
+ inherits: false;
153
+ initial-value: 0 0 #0000;
154
+ }
155
+ @property --tw-duration {
156
+ syntax: "*";
157
+ inherits: false;
158
+ }
159
+ @property --tw-font-weight {
160
+ syntax: "*";
161
+ inherits: false;
162
+ }
163
+ @layer properties {
164
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
165
+ *, ::before, ::after, ::backdrop {
166
+ --tw-border-style: solid;
167
+ --tw-shadow: 0 0 #0000;
168
+ --tw-shadow-color: initial;
169
+ --tw-shadow-alpha: 100%;
170
+ --tw-inset-shadow: 0 0 #0000;
171
+ --tw-inset-shadow-color: initial;
172
+ --tw-inset-shadow-alpha: 100%;
173
+ --tw-ring-color: initial;
174
+ --tw-ring-shadow: 0 0 #0000;
175
+ --tw-inset-ring-color: initial;
176
+ --tw-inset-ring-shadow: 0 0 #0000;
177
+ --tw-ring-inset: initial;
178
+ --tw-ring-offset-width: 0px;
179
+ --tw-ring-offset-color: #fff;
180
+ --tw-ring-offset-shadow: 0 0 #0000;
181
+ --tw-duration: initial;
182
+ --tw-font-weight: initial;
183
+ }
184
+ }
54
185
  }
@@ -1,77 +1,195 @@
1
- @reference '../../../styles/radiant-ui.css';
2
-
1
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
3
3
  rui-treegrid {
4
- @apply block;
4
+ display: block;
5
5
  }
6
-
7
6
  @layer components {
8
- .rui-treegrid {
9
- @apply w-full overflow-hidden rounded-container border border-border text-sm shadow-sm;
10
- display: table;
11
- border-collapse: separate;
12
- border-spacing: 0;
13
- }
14
-
15
- .rui-treegrid__row {
16
- display: table-row;
17
- }
18
-
19
- .rui-treegrid__group {
20
- display: table-row-group;
21
- }
22
-
23
- .rui-treegrid__row:not(.rui-treegrid__row--header):hover .rui-treegrid__cell {
24
- @apply bg-surface/60;
25
- }
26
-
27
- .rui-treegrid__cell {
28
- display: table-cell;
29
- @apply border-b border-r border-border bg-background px-control-x py-2.5 align-middle text-on-background;
30
- }
31
-
32
- .rui-treegrid__row .rui-treegrid__cell:last-child {
33
- @apply border-r-0;
34
- }
35
-
36
- .rui-treegrid__row:last-child .rui-treegrid__cell {
37
- @apply border-b-0;
38
- }
39
-
40
- .rui-treegrid__cell--header {
41
- @apply bg-surface font-semibold text-on-background;
42
- }
43
-
44
- .rui-treegrid__cell[aria-selected='true'] {
45
- @apply bg-primary-container font-medium text-on-primary-container;
46
- }
47
-
48
- .rui-treegrid__cell:focus-visible {
49
- @apply relative z-dropdown outline-none ring-2 ring-inset ring-focus-ring;
50
- }
51
-
52
- .rui-treegrid__group .rui-treegrid__cell:first-child {
53
- @apply pl-8;
54
- }
55
-
56
- .rui-treegrid__group .rui-treegrid__group .rui-treegrid__cell:first-child {
57
- @apply pl-12;
58
- }
59
-
60
- .rui-treegrid__row[aria-expanded='false'] .rui-treegrid__cell:first-child::before,
7
+ .rui-treegrid {
8
+ width: 100%;
9
+ overflow: hidden;
10
+ border-radius: var(--radius-container, var(--radius-container));
11
+ border-style: var(--tw-border-style);
12
+ border-width: 1px;
13
+ border-color: var(--color-border, var(--border));
14
+ font-size: var(--text-sm, var(--text-sm));
15
+ line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
16
+ --tw-shadow: var(--shadow-control);
17
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
18
+ display: table;
19
+ border-collapse: separate;
20
+ border-spacing: 0;
21
+ }
22
+ .rui-treegrid__row {
23
+ display: table-row;
24
+ }
25
+ .rui-treegrid__group {
26
+ display: table-row-group;
27
+ }
28
+ .rui-treegrid__row:not(.rui-treegrid__row--header):hover .rui-treegrid__cell {
29
+ background-color: var(--color-surface, var(--surface));
30
+ @supports (color: color-mix(in lab, red, red)) {
31
+ background-color: color-mix(in oklab, var(--color-surface, var(--surface)) 60%, transparent);
32
+ }
33
+ }
34
+ .rui-treegrid__cell {
35
+ display: table-cell;
36
+ border-right-style: var(--tw-border-style);
37
+ border-right-width: 1px;
38
+ border-bottom-style: var(--tw-border-style);
39
+ border-bottom-width: 1px;
40
+ border-color: var(--color-border, var(--border));
41
+ background-color: var(--color-background, var(--background));
42
+ padding-inline: var(--spacing-control-x, var(--space-control-x));
43
+ padding-block: calc(var(--spacing, 0.25rem) * 2.5);
44
+ vertical-align: middle;
45
+ color: var(--color-on-background, var(--on-background));
46
+ }
47
+ .rui-treegrid__row .rui-treegrid__cell:last-child {
48
+ border-right-style: var(--tw-border-style);
49
+ border-right-width: 0px;
50
+ }
51
+ .rui-treegrid__row:last-child .rui-treegrid__cell {
52
+ border-bottom-style: var(--tw-border-style);
53
+ border-bottom-width: 0px;
54
+ }
55
+ .rui-treegrid__cell--header {
56
+ background-color: var(--color-surface, var(--surface));
57
+ --tw-font-weight: var(--font-weight-semibold, var(--weight-semibold));
58
+ font-weight: var(--font-weight-semibold, var(--weight-semibold));
59
+ color: var(--color-on-background, var(--on-background));
60
+ }
61
+ .rui-treegrid__cell[aria-selected='true'] {
62
+ background-color: var(--color-primary-container, var(--primary-container));
63
+ --tw-font-weight: var(--font-weight-medium, var(--weight-medium));
64
+ font-weight: var(--font-weight-medium, var(--weight-medium));
65
+ color: var(--color-on-primary-container, var(--on-primary-container));
66
+ }
67
+ .rui-treegrid__cell:focus-visible {
68
+ position: relative;
69
+ z-index: var(--z-index-dropdown, var(--z-dropdown));
70
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
71
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
72
+ --tw-ring-color: var(--color-focus-ring, var(--focus-ring));
73
+ --tw-outline-style: none;
74
+ outline-style: none;
75
+ --tw-ring-inset: inset;
76
+ }
77
+ .rui-treegrid__group .rui-treegrid__cell:first-child {
78
+ padding-left: var(--spacing-8, var(--space-8));
79
+ }
80
+ .rui-treegrid__group .rui-treegrid__group .rui-treegrid__cell:first-child {
81
+ padding-left: calc(var(--spacing, 0.25rem) * 12);
82
+ }
83
+ .rui-treegrid__row[aria-expanded='false'] .rui-treegrid__cell:first-child::before,
61
84
  .rui-treegrid__row[aria-expanded='true'] .rui-treegrid__cell:first-child::before {
62
- content: '';
63
- display: inline-block;
64
- width: 0;
65
- height: 0;
66
- margin-right: 0.5rem;
67
- border-top: 4px solid transparent;
68
- border-bottom: 4px solid transparent;
69
- border-left: 6px solid currentColor;
70
- vertical-align: middle;
71
- transition: transform 150ms ease;
72
- }
73
-
74
- .rui-treegrid__row[aria-expanded='true'] .rui-treegrid__cell:first-child::before {
75
- transform: rotate(90deg);
76
- }
85
+ content: '';
86
+ display: inline-block;
87
+ width: 0;
88
+ height: 0;
89
+ margin-right: 0.5rem;
90
+ border-top: 4px solid transparent;
91
+ border-bottom: 4px solid transparent;
92
+ border-left: 6px solid currentColor;
93
+ vertical-align: middle;
94
+ transition: transform 150ms ease;
95
+ }
96
+ .rui-treegrid__row[aria-expanded='true'] .rui-treegrid__cell:first-child::before {
97
+ transform: rotate(90deg);
98
+ }
99
+ }
100
+ @property --tw-border-style {
101
+ syntax: "*";
102
+ inherits: false;
103
+ initial-value: solid;
104
+ }
105
+ @property --tw-shadow {
106
+ syntax: "*";
107
+ inherits: false;
108
+ initial-value: 0 0 #0000;
109
+ }
110
+ @property --tw-shadow-color {
111
+ syntax: "*";
112
+ inherits: false;
113
+ }
114
+ @property --tw-shadow-alpha {
115
+ syntax: "<percentage>";
116
+ inherits: false;
117
+ initial-value: 100%;
118
+ }
119
+ @property --tw-inset-shadow {
120
+ syntax: "*";
121
+ inherits: false;
122
+ initial-value: 0 0 #0000;
123
+ }
124
+ @property --tw-inset-shadow-color {
125
+ syntax: "*";
126
+ inherits: false;
127
+ }
128
+ @property --tw-inset-shadow-alpha {
129
+ syntax: "<percentage>";
130
+ inherits: false;
131
+ initial-value: 100%;
132
+ }
133
+ @property --tw-ring-color {
134
+ syntax: "*";
135
+ inherits: false;
136
+ }
137
+ @property --tw-ring-shadow {
138
+ syntax: "*";
139
+ inherits: false;
140
+ initial-value: 0 0 #0000;
141
+ }
142
+ @property --tw-inset-ring-color {
143
+ syntax: "*";
144
+ inherits: false;
145
+ }
146
+ @property --tw-inset-ring-shadow {
147
+ syntax: "*";
148
+ inherits: false;
149
+ initial-value: 0 0 #0000;
150
+ }
151
+ @property --tw-ring-inset {
152
+ syntax: "*";
153
+ inherits: false;
154
+ }
155
+ @property --tw-ring-offset-width {
156
+ syntax: "<length>";
157
+ inherits: false;
158
+ initial-value: 0px;
159
+ }
160
+ @property --tw-ring-offset-color {
161
+ syntax: "*";
162
+ inherits: false;
163
+ initial-value: #fff;
164
+ }
165
+ @property --tw-ring-offset-shadow {
166
+ syntax: "*";
167
+ inherits: false;
168
+ initial-value: 0 0 #0000;
169
+ }
170
+ @property --tw-font-weight {
171
+ syntax: "*";
172
+ inherits: false;
173
+ }
174
+ @layer properties {
175
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
176
+ *, ::before, ::after, ::backdrop {
177
+ --tw-border-style: solid;
178
+ --tw-shadow: 0 0 #0000;
179
+ --tw-shadow-color: initial;
180
+ --tw-shadow-alpha: 100%;
181
+ --tw-inset-shadow: 0 0 #0000;
182
+ --tw-inset-shadow-color: initial;
183
+ --tw-inset-shadow-alpha: 100%;
184
+ --tw-ring-color: initial;
185
+ --tw-ring-shadow: 0 0 #0000;
186
+ --tw-inset-ring-color: initial;
187
+ --tw-inset-ring-shadow: 0 0 #0000;
188
+ --tw-ring-inset: initial;
189
+ --tw-ring-offset-width: 0px;
190
+ --tw-ring-offset-color: #fff;
191
+ --tw-ring-offset-shadow: 0 0 #0000;
192
+ --tw-font-weight: initial;
193
+ }
194
+ }
77
195
  }
@@ -1,35 +1,148 @@
1
- @reference '../../../styles/radiant-ui.css';
2
-
1
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
3
3
  rui-window-splitter {
4
- @apply block h-64 w-full;
4
+ display: block;
5
+ height: calc(var(--spacing, 0.25rem) * 64);
6
+ width: 100%;
5
7
  }
6
-
7
8
  @layer components {
8
- .rui-window-splitter {
9
- @apply flex h-full w-full overflow-hidden rounded-container border border-border;
10
- }
11
- .rui-window-splitter--vertical {
12
- @apply flex-col;
13
- }
14
- .rui-window-splitter__pane {
15
- @apply min-h-0 min-w-0 flex-1 overflow-auto bg-background p-3 text-sm;
16
- }
17
- .rui-window-splitter--horizontal > .rui-window-splitter__pane:first-child {
18
- flex: 0 0 auto;
19
- }
20
- .rui-window-splitter--vertical > .rui-window-splitter__pane:first-child {
21
- flex: 0 0 auto;
22
- }
23
- .rui-window-splitter__separator {
24
- @apply shrink-0 bg-border;
25
- }
26
- .rui-window-splitter--horizontal > .rui-window-splitter__separator {
27
- @apply w-1 cursor-col-resize;
28
- }
29
- .rui-window-splitter--vertical > .rui-window-splitter__separator {
30
- @apply h-1 cursor-row-resize;
31
- }
32
- .rui-window-splitter__separator:focus-visible {
33
- @apply outline-none ring-2 ring-focus-ring;
34
- }
9
+ .rui-window-splitter {
10
+ display: flex;
11
+ height: 100%;
12
+ width: 100%;
13
+ overflow: hidden;
14
+ border-radius: var(--radius-container, var(--radius-container));
15
+ border-style: var(--tw-border-style);
16
+ border-width: 1px;
17
+ border-color: var(--color-border, var(--border));
18
+ }
19
+ .rui-window-splitter--vertical {
20
+ flex-direction: column;
21
+ }
22
+ .rui-window-splitter__pane {
23
+ min-height: 0px;
24
+ min-width: 0px;
25
+ flex: 1;
26
+ overflow: auto;
27
+ background-color: var(--color-background, var(--background));
28
+ padding: var(--spacing-3, var(--space-3));
29
+ font-size: var(--text-sm, var(--text-sm));
30
+ line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / 0.875)));
31
+ }
32
+ .rui-window-splitter--horizontal > .rui-window-splitter__pane:first-child {
33
+ flex: 0 0 auto;
34
+ }
35
+ .rui-window-splitter--vertical > .rui-window-splitter__pane:first-child {
36
+ flex: 0 0 auto;
37
+ }
38
+ .rui-window-splitter__separator {
39
+ flex-shrink: 0;
40
+ background-color: var(--color-border, var(--border));
41
+ }
42
+ .rui-window-splitter--horizontal > .rui-window-splitter__separator {
43
+ width: var(--spacing-1, var(--space-1));
44
+ cursor: col-resize;
45
+ }
46
+ .rui-window-splitter--vertical > .rui-window-splitter__separator {
47
+ height: var(--spacing-1, var(--space-1));
48
+ cursor: row-resize;
49
+ }
50
+ .rui-window-splitter__separator:focus-visible {
51
+ --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
52
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
53
+ --tw-ring-color: var(--color-focus-ring, var(--focus-ring));
54
+ --tw-outline-style: none;
55
+ outline-style: none;
56
+ }
57
+ }
58
+ @property --tw-border-style {
59
+ syntax: "*";
60
+ inherits: false;
61
+ initial-value: solid;
62
+ }
63
+ @property --tw-shadow {
64
+ syntax: "*";
65
+ inherits: false;
66
+ initial-value: 0 0 #0000;
67
+ }
68
+ @property --tw-shadow-color {
69
+ syntax: "*";
70
+ inherits: false;
71
+ }
72
+ @property --tw-shadow-alpha {
73
+ syntax: "<percentage>";
74
+ inherits: false;
75
+ initial-value: 100%;
76
+ }
77
+ @property --tw-inset-shadow {
78
+ syntax: "*";
79
+ inherits: false;
80
+ initial-value: 0 0 #0000;
81
+ }
82
+ @property --tw-inset-shadow-color {
83
+ syntax: "*";
84
+ inherits: false;
85
+ }
86
+ @property --tw-inset-shadow-alpha {
87
+ syntax: "<percentage>";
88
+ inherits: false;
89
+ initial-value: 100%;
90
+ }
91
+ @property --tw-ring-color {
92
+ syntax: "*";
93
+ inherits: false;
94
+ }
95
+ @property --tw-ring-shadow {
96
+ syntax: "*";
97
+ inherits: false;
98
+ initial-value: 0 0 #0000;
99
+ }
100
+ @property --tw-inset-ring-color {
101
+ syntax: "*";
102
+ inherits: false;
103
+ }
104
+ @property --tw-inset-ring-shadow {
105
+ syntax: "*";
106
+ inherits: false;
107
+ initial-value: 0 0 #0000;
108
+ }
109
+ @property --tw-ring-inset {
110
+ syntax: "*";
111
+ inherits: false;
112
+ }
113
+ @property --tw-ring-offset-width {
114
+ syntax: "<length>";
115
+ inherits: false;
116
+ initial-value: 0px;
117
+ }
118
+ @property --tw-ring-offset-color {
119
+ syntax: "*";
120
+ inherits: false;
121
+ initial-value: #fff;
122
+ }
123
+ @property --tw-ring-offset-shadow {
124
+ syntax: "*";
125
+ inherits: false;
126
+ initial-value: 0 0 #0000;
127
+ }
128
+ @layer properties {
129
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
130
+ *, ::before, ::after, ::backdrop {
131
+ --tw-border-style: solid;
132
+ --tw-shadow: 0 0 #0000;
133
+ --tw-shadow-color: initial;
134
+ --tw-shadow-alpha: 100%;
135
+ --tw-inset-shadow: 0 0 #0000;
136
+ --tw-inset-shadow-color: initial;
137
+ --tw-inset-shadow-alpha: 100%;
138
+ --tw-ring-color: initial;
139
+ --tw-ring-shadow: 0 0 #0000;
140
+ --tw-inset-ring-color: initial;
141
+ --tw-inset-ring-shadow: 0 0 #0000;
142
+ --tw-ring-inset: initial;
143
+ --tw-ring-offset-width: 0px;
144
+ --tw-ring-offset-color: #fff;
145
+ --tw-ring-offset-shadow: 0 0 #0000;
146
+ }
147
+ }
35
148
  }