@dxos/ui-theme 0.8.4-main.abd8ff62ef → 0.8.4-main.bc2380dfbc
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/LICENSE +102 -5
- package/README.md +1 -1
- package/dist/lib/browser/index.mjs +29 -31
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +29 -31
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/plugin/node-cjs/main.css +85 -79
- package/dist/plugin/node-cjs/main.css.map +2 -2
- package/dist/plugin/node-cjs/meta.json +1 -1
- package/dist/plugin/node-esm/main.css +85 -79
- package/dist/plugin/node-esm/main.css.map +2 -2
- package/dist/plugin/node-esm/meta.json +1 -1
- package/dist/types/src/defs.d.ts +1 -1
- package/dist/types/src/defs.d.ts.map +1 -1
- package/dist/types/src/fragments/hover.d.ts +0 -1
- package/dist/types/src/fragments/hover.d.ts.map +1 -1
- package/dist/types/src/theme/components/button.d.ts +2 -2
- package/dist/types/src/theme/components/button.d.ts.map +1 -1
- package/dist/types/src/util/hash-styles.d.ts +1 -1
- package/dist/types/src/util/hash-styles.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +8 -9
- package/src/Theme.stories.tsx +5 -5
- package/src/css/DESIGN_SYSTEM.md +159 -0
- package/src/css/base/base.css +2 -2
- package/src/css/components/button.css +3 -3
- package/src/css/components/checkbox.css +1 -1
- package/src/css/components/focus.css +12 -12
- package/src/css/components/panel.css +23 -23
- package/src/css/components/selected.css +58 -17
- package/src/css/components/surface.css +4 -4
- package/src/css/components/tag.css +23 -23
- package/src/css/theme/semantic.css +36 -40
- package/src/css/theme/spacing.css +1 -1
- package/src/css/theme/styles.css +22 -22
- package/src/defs.ts +1 -1
- package/src/fragments/AUDIT.md +0 -2
- package/src/fragments/hover.ts +0 -2
- package/src/main.css +3 -3
- package/src/theme/components/button.ts +2 -2
- package/src/theme/components/focus.ts +2 -2
- package/src/theme/components/icon-button.ts +1 -1
- package/src/theme/components/input.ts +5 -5
- package/src/theme/components/message.ts +1 -1
- package/src/theme/components/select.ts +1 -1
- package/src/theme/components/tooltip.ts +1 -1
- package/src/util/hash-styles.ts +19 -19
package/LICENSE
CHANGED
|
@@ -1,8 +1,105 @@
|
|
|
1
|
-
|
|
2
|
-
Copyright (c) 2022 DXOS
|
|
1
|
+
# Functional Source License, Version 1.1, ALv2 Future License
|
|
3
2
|
|
|
4
|
-
|
|
3
|
+
## Abbreviation
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
FSL-1.1-Apache-2.0
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
## Notice
|
|
8
|
+
|
|
9
|
+
Copyright 2026 DXOS
|
|
10
|
+
|
|
11
|
+
## Terms and Conditions
|
|
12
|
+
|
|
13
|
+
### Licensor ("We")
|
|
14
|
+
|
|
15
|
+
The party offering the Software under these Terms and Conditions.
|
|
16
|
+
|
|
17
|
+
### The Software
|
|
18
|
+
|
|
19
|
+
The "Software" is each version of the software that we make available under
|
|
20
|
+
these Terms and Conditions, as indicated by our inclusion of these Terms and
|
|
21
|
+
Conditions with the Software.
|
|
22
|
+
|
|
23
|
+
### License Grant
|
|
24
|
+
|
|
25
|
+
Subject to your compliance with this License Grant and the Patents,
|
|
26
|
+
Redistribution and Trademark clauses below, we hereby grant you the right to
|
|
27
|
+
use, copy, modify, create derivative works, publicly perform, publicly display
|
|
28
|
+
and redistribute the Software for any Permitted Purpose identified below.
|
|
29
|
+
|
|
30
|
+
### Permitted Purpose
|
|
31
|
+
|
|
32
|
+
A Permitted Purpose is any purpose other than a Competing Use. A Competing Use
|
|
33
|
+
means making the Software available to others in a commercial product or
|
|
34
|
+
service that:
|
|
35
|
+
|
|
36
|
+
1. substitutes for the Software;
|
|
37
|
+
|
|
38
|
+
2. substitutes for any other product or service we offer using the Software
|
|
39
|
+
that exists as of the date we make the Software available; or
|
|
40
|
+
|
|
41
|
+
3. offers the same or substantially similar functionality as the Software.
|
|
42
|
+
|
|
43
|
+
Permitted Purposes specifically include using the Software:
|
|
44
|
+
|
|
45
|
+
1. for your internal use and access;
|
|
46
|
+
|
|
47
|
+
2. for non-commercial education;
|
|
48
|
+
|
|
49
|
+
3. for non-commercial research; and
|
|
50
|
+
|
|
51
|
+
4. in connection with professional services that you provide to a licensee
|
|
52
|
+
using the Software in accordance with these Terms and Conditions.
|
|
53
|
+
|
|
54
|
+
### Patents
|
|
55
|
+
|
|
56
|
+
To the extent your use for a Permitted Purpose would necessarily infringe our
|
|
57
|
+
patents, the license grant above includes a license under our patents. If you
|
|
58
|
+
make a claim against any party that the Software infringes or contributes to
|
|
59
|
+
the infringement of any patent, then your patent license to the Software ends
|
|
60
|
+
immediately.
|
|
61
|
+
|
|
62
|
+
### Redistribution
|
|
63
|
+
|
|
64
|
+
The Terms and Conditions apply to all copies, modifications and derivatives of
|
|
65
|
+
the Software.
|
|
66
|
+
|
|
67
|
+
If you redistribute any copies, modifications or derivatives of the Software,
|
|
68
|
+
you must include a copy of or a link to these Terms and Conditions and not
|
|
69
|
+
remove any copyright notices provided in or with the Software.
|
|
70
|
+
|
|
71
|
+
### Disclaimer
|
|
72
|
+
|
|
73
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR
|
|
74
|
+
IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF FITNESS FOR A PARTICULAR
|
|
75
|
+
PURPOSE, MERCHANTABILITY, TITLE OR NON-INFRINGEMENT.
|
|
76
|
+
|
|
77
|
+
IN NO EVENT WILL WE HAVE ANY LIABILITY TO YOU ARISING OUT OF OR RELATED TO THE
|
|
78
|
+
SOFTWARE, INCLUDING INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES,
|
|
79
|
+
EVEN IF WE HAVE BEEN INFORMED OF THEIR POSSIBILITY IN ADVANCE.
|
|
80
|
+
|
|
81
|
+
### Trademarks
|
|
82
|
+
|
|
83
|
+
Except for displaying the License Details and identifying us as the origin of
|
|
84
|
+
the Software, you have no right under these Terms and Conditions to use our
|
|
85
|
+
trademarks, trade names, service marks or product names.
|
|
86
|
+
|
|
87
|
+
## Grant of Future License
|
|
88
|
+
|
|
89
|
+
We hereby irrevocably grant you an additional license to use the Software under
|
|
90
|
+
the Apache License, Version 2.0 that is effective on the second anniversary of
|
|
91
|
+
the date we make the Software available. On or after that date, you may use the
|
|
92
|
+
Software under the Apache License, Version 2.0, in which case the following
|
|
93
|
+
will apply:
|
|
94
|
+
|
|
95
|
+
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
|
96
|
+
this file except in compliance with the License.
|
|
97
|
+
|
|
98
|
+
You may obtain a copy of the License at
|
|
99
|
+
|
|
100
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
101
|
+
|
|
102
|
+
Unless required by applicable law or agreed to in writing, software distributed
|
|
103
|
+
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
104
|
+
CONDITIONS OF ANY KIND, either express or implied. See the License for the
|
|
105
|
+
specific language governing permissions and limitations under the License.
|
package/README.md
CHANGED
|
@@ -22,4 +22,4 @@ pnpm i @dxos/ui-theme
|
|
|
22
22
|
|
|
23
23
|
Your ideas, issues, and code are most welcome. Please take a look at our [community code of conduct](https://github.com/dxos/dxos/blob/main/CODE_OF_CONDUCT.md), the [issue guide](https://github.com/dxos/dxos/blob/main/CONTRIBUTING.md#submitting-issues), and the [PR contribution guide](https://github.com/dxos/dxos/blob/main/CONTRIBUTING.md#submitting-prs).
|
|
24
24
|
|
|
25
|
-
License: [
|
|
25
|
+
License: [FSL-1.1-Apache-2.0](./LICENSE) Copyright 2022 © DXOS
|
|
@@ -35,7 +35,7 @@ var hueShades = [
|
|
|
35
35
|
var roles = [
|
|
36
36
|
"fill",
|
|
37
37
|
"surface",
|
|
38
|
-
"
|
|
38
|
+
"foreground",
|
|
39
39
|
"text",
|
|
40
40
|
"border"
|
|
41
41
|
];
|
|
@@ -58,7 +58,6 @@ var staticDisabled = "opacity-40 cursor-not-allowed shadow-none";
|
|
|
58
58
|
var dataDisabled = "data-[disabled]:opacity-40 data-[disabled]:cursor-not-allowed";
|
|
59
59
|
|
|
60
60
|
// src/fragments/hover.ts
|
|
61
|
-
var subtleHover = "hover:bg-hover-overlay";
|
|
62
61
|
var ghostHover = "hover:bg-hover-surface";
|
|
63
62
|
var ghostFocusWithin = "focus-within:bg-hover-surface";
|
|
64
63
|
var hoverableControls = "[--controls-opacity:1] hover-hover:[--controls-opacity:0] hover-hover:hover:[--controls-opacity:1]";
|
|
@@ -109,7 +108,7 @@ var neutral = {
|
|
|
109
108
|
hue: "neutral",
|
|
110
109
|
fill: "bg-neutral-fill",
|
|
111
110
|
surface: "bg-neutral-surface",
|
|
112
|
-
|
|
111
|
+
foreground: "text-neutral-foreground",
|
|
113
112
|
text: "text-neutral-text",
|
|
114
113
|
border: "border-neutral-border"
|
|
115
114
|
};
|
|
@@ -118,7 +117,7 @@ var styles = [
|
|
|
118
117
|
hue: "red",
|
|
119
118
|
fill: "bg-red-fill",
|
|
120
119
|
surface: "bg-red-surface",
|
|
121
|
-
|
|
120
|
+
foreground: "text-red-foreground",
|
|
122
121
|
text: "text-red-text",
|
|
123
122
|
border: "border-red-border"
|
|
124
123
|
},
|
|
@@ -126,7 +125,7 @@ var styles = [
|
|
|
126
125
|
hue: "orange",
|
|
127
126
|
fill: "bg-orange-fill",
|
|
128
127
|
surface: "bg-orange-surface",
|
|
129
|
-
|
|
128
|
+
foreground: "text-orange-foreground",
|
|
130
129
|
text: "text-orange-text",
|
|
131
130
|
border: "border-orange-border"
|
|
132
131
|
},
|
|
@@ -134,7 +133,7 @@ var styles = [
|
|
|
134
133
|
hue: "amber",
|
|
135
134
|
fill: "bg-amber-fill",
|
|
136
135
|
surface: "bg-amber-surface",
|
|
137
|
-
|
|
136
|
+
foreground: "text-amber-foreground",
|
|
138
137
|
text: "text-amber-text",
|
|
139
138
|
border: "border-amber-border"
|
|
140
139
|
},
|
|
@@ -142,7 +141,7 @@ var styles = [
|
|
|
142
141
|
hue: "yellow",
|
|
143
142
|
fill: "bg-yellow-fill",
|
|
144
143
|
surface: "bg-yellow-surface",
|
|
145
|
-
|
|
144
|
+
foreground: "text-yellow-foreground",
|
|
146
145
|
text: "text-yellow-text",
|
|
147
146
|
border: "border-yellow-border"
|
|
148
147
|
},
|
|
@@ -150,7 +149,7 @@ var styles = [
|
|
|
150
149
|
hue: "lime",
|
|
151
150
|
fill: "bg-lime-fill",
|
|
152
151
|
surface: "bg-lime-surface",
|
|
153
|
-
|
|
152
|
+
foreground: "text-lime-foreground",
|
|
154
153
|
text: "text-lime-text",
|
|
155
154
|
border: "border-lime-border"
|
|
156
155
|
},
|
|
@@ -158,7 +157,7 @@ var styles = [
|
|
|
158
157
|
hue: "green",
|
|
159
158
|
fill: "bg-green-fill",
|
|
160
159
|
surface: "bg-green-surface",
|
|
161
|
-
|
|
160
|
+
foreground: "text-green-foreground",
|
|
162
161
|
text: "text-green-text",
|
|
163
162
|
border: "border-green-border"
|
|
164
163
|
},
|
|
@@ -166,7 +165,7 @@ var styles = [
|
|
|
166
165
|
hue: "emerald",
|
|
167
166
|
fill: "bg-emerald-fill",
|
|
168
167
|
surface: "bg-emerald-surface",
|
|
169
|
-
|
|
168
|
+
foreground: "text-emerald-foreground",
|
|
170
169
|
text: "text-emerald-text",
|
|
171
170
|
border: "border-emerald-border"
|
|
172
171
|
},
|
|
@@ -174,7 +173,7 @@ var styles = [
|
|
|
174
173
|
hue: "teal",
|
|
175
174
|
fill: "bg-teal-fill",
|
|
176
175
|
surface: "bg-teal-surface",
|
|
177
|
-
|
|
176
|
+
foreground: "text-teal-foreground",
|
|
178
177
|
text: "text-teal-text",
|
|
179
178
|
border: "border-teal-border"
|
|
180
179
|
},
|
|
@@ -182,7 +181,7 @@ var styles = [
|
|
|
182
181
|
hue: "cyan",
|
|
183
182
|
fill: "bg-cyan-fill",
|
|
184
183
|
surface: "bg-cyan-surface",
|
|
185
|
-
|
|
184
|
+
foreground: "text-cyan-foreground",
|
|
186
185
|
text: "text-cyan-text",
|
|
187
186
|
border: "border-cyan-border"
|
|
188
187
|
},
|
|
@@ -190,7 +189,7 @@ var styles = [
|
|
|
190
189
|
hue: "sky",
|
|
191
190
|
fill: "bg-sky-fill",
|
|
192
191
|
surface: "bg-sky-surface",
|
|
193
|
-
|
|
192
|
+
foreground: "text-sky-foreground",
|
|
194
193
|
text: "text-sky-text",
|
|
195
194
|
border: "border-sky-border"
|
|
196
195
|
},
|
|
@@ -198,7 +197,7 @@ var styles = [
|
|
|
198
197
|
hue: "blue",
|
|
199
198
|
fill: "bg-blue-fill",
|
|
200
199
|
surface: "bg-blue-surface",
|
|
201
|
-
|
|
200
|
+
foreground: "text-blue-foreground",
|
|
202
201
|
text: "text-blue-text",
|
|
203
202
|
border: "border-blue-border"
|
|
204
203
|
},
|
|
@@ -206,7 +205,7 @@ var styles = [
|
|
|
206
205
|
hue: "indigo",
|
|
207
206
|
fill: "bg-indigo-fill",
|
|
208
207
|
surface: "bg-indigo-surface",
|
|
209
|
-
|
|
208
|
+
foreground: "text-indigo-foreground",
|
|
210
209
|
text: "text-indigo-text",
|
|
211
210
|
border: "border-indigo-border"
|
|
212
211
|
},
|
|
@@ -214,7 +213,7 @@ var styles = [
|
|
|
214
213
|
hue: "violet",
|
|
215
214
|
fill: "bg-violet-fill",
|
|
216
215
|
surface: "bg-violet-surface",
|
|
217
|
-
|
|
216
|
+
foreground: "text-violet-foreground",
|
|
218
217
|
text: "text-violet-text",
|
|
219
218
|
border: "border-violet-border"
|
|
220
219
|
},
|
|
@@ -222,7 +221,7 @@ var styles = [
|
|
|
222
221
|
hue: "purple",
|
|
223
222
|
fill: "bg-purple-fill",
|
|
224
223
|
surface: "bg-purple-surface",
|
|
225
|
-
|
|
224
|
+
foreground: "text-purple-foreground",
|
|
226
225
|
text: "text-purple-text",
|
|
227
226
|
border: "border-purple-border"
|
|
228
227
|
},
|
|
@@ -230,7 +229,7 @@ var styles = [
|
|
|
230
229
|
hue: "fuchsia",
|
|
231
230
|
fill: "bg-fuchsia-fill",
|
|
232
231
|
surface: "bg-fuchsia-surface",
|
|
233
|
-
|
|
232
|
+
foreground: "text-fuchsia-foreground",
|
|
234
233
|
text: "text-fuchsia-text",
|
|
235
234
|
border: "border-fuchsia-border"
|
|
236
235
|
},
|
|
@@ -238,7 +237,7 @@ var styles = [
|
|
|
238
237
|
hue: "pink",
|
|
239
238
|
fill: "bg-pink-fill",
|
|
240
239
|
surface: "bg-pink-surface",
|
|
241
|
-
|
|
240
|
+
foreground: "text-pink-foreground",
|
|
242
241
|
text: "text-pink-text",
|
|
243
242
|
border: "border-pink-border"
|
|
244
243
|
},
|
|
@@ -246,7 +245,7 @@ var styles = [
|
|
|
246
245
|
hue: "rose",
|
|
247
246
|
fill: "bg-rose-fill",
|
|
248
247
|
surface: "bg-rose-surface",
|
|
249
|
-
|
|
248
|
+
foreground: "text-rose-foreground",
|
|
250
249
|
text: "text-rose-text",
|
|
251
250
|
border: "border-rose-border"
|
|
252
251
|
}
|
|
@@ -644,8 +643,8 @@ var cardTheme = {
|
|
|
644
643
|
};
|
|
645
644
|
|
|
646
645
|
// src/theme/components/button.ts
|
|
647
|
-
var primaryButtonColors = "text-accent-
|
|
648
|
-
var staticDefaultButtonColors = "bg-input-surface text-input-
|
|
646
|
+
var primaryButtonColors = "text-accent-foreground bg-accent-surface hover:bg-accent-surface-hover aria-pressed:bg-primary-500 dark:aria-pressed:bg-primary-500 data-[state=open]:bg-primary-500 dark:data-[state=open]:bg-primary-500 aria-checked:bg-primary-500 dark:aria-checked:bg-primary-500 aria-checked:text-primary-100";
|
|
647
|
+
var staticDefaultButtonColors = "bg-input-surface text-input-foreground";
|
|
649
648
|
var defaultButtonColors = mx(staticDefaultButtonColors, "data-[state=open]:bg-input-surface aria-pressed:text-accent-text aria-pressed:bg-base-surface aria-checked:text-accent-text aria-checked:bg-base-surface");
|
|
650
649
|
var ghostButtonColors = mx(ghostHover, "hover:text-inherit data-[state=open]:bg-input-surface aria-pressed:text-accent-text aria-pressed:bg-base-surface aria-checked:text-accent-text aria-checked:bg-base-surface");
|
|
651
650
|
var buttonRoot = (_props, ...etc) => {
|
|
@@ -715,7 +714,7 @@ var dialogTheme = {
|
|
|
715
714
|
};
|
|
716
715
|
|
|
717
716
|
// src/theme/components/focus.ts
|
|
718
|
-
var focusRing = ({ border }, ...etc) => mx("dx-ring-pseudo outline-hidden", "focus:after:ring-
|
|
717
|
+
var focusRing = ({ border }, ...etc) => mx("dx-ring-pseudo outline-hidden", "focus:after:ring-focus-ring-subtle", "data-[focus-state=active]:after:ring-focus-ring-subtle", "data-[focus-state=error]:after:ring-rose-500", border && "border border-separator", ...etc);
|
|
719
718
|
var focusTheme = {
|
|
720
719
|
group: focusRing,
|
|
721
720
|
item: focusRing
|
|
@@ -731,7 +730,7 @@ var iconTheme = {
|
|
|
731
730
|
|
|
732
731
|
// src/theme/components/icon-button.ts
|
|
733
732
|
var iconButtonRoot = ({ iconOnly, square }, ...etc) => {
|
|
734
|
-
return mx("px-1.5", !iconOnly && "gap-
|
|
733
|
+
return mx("px-1.5", !iconOnly && "gap-1.5", square && "aspect-square", ...etc);
|
|
735
734
|
};
|
|
736
735
|
var iconButtonTheme = {
|
|
737
736
|
root: iconButtonRoot
|
|
@@ -764,14 +763,14 @@ var sharedSubduedInputStyles = (props) => [
|
|
|
764
763
|
];
|
|
765
764
|
var sharedDefaultInputStyles = (props) => [
|
|
766
765
|
'[[data-drag-autoscroll="active"]_&]:pointer-events-none',
|
|
767
|
-
"py-0 w-full text-base-
|
|
766
|
+
"py-0 w-full text-base-foreground rounded-xs placeholder-placeholder",
|
|
768
767
|
textInputSurfaceFocus,
|
|
769
768
|
densityDimensions(props.density),
|
|
770
769
|
props.disabled ? staticDisabled : textInputSurfaceHover
|
|
771
770
|
];
|
|
772
771
|
var sharedStaticInputStyles = (props) => [
|
|
773
772
|
'[[data-drag-autoscroll="active"]_&]:pointer-events-none',
|
|
774
|
-
"py-0 w-full text-base-
|
|
773
|
+
"py-0 w-full text-base-foreground rounded-xs placeholder-placeholder",
|
|
775
774
|
textInputSurfaceFocus,
|
|
776
775
|
textInputSurfaceHover,
|
|
777
776
|
props.focused && "bg-attention-surface",
|
|
@@ -795,7 +794,7 @@ var inputSwitch = ({ size = 5, disabled }, ...etc) => mx(
|
|
|
795
794
|
);
|
|
796
795
|
var inputSwitchThumb = ({ size = 5 }, ...etc) => mx(getSize(size === "px" ? "px" : size - 2), "block bg-white rounded-full transition-transform duration-100 will-change-transform data-[state=checked]:translate-x-[100%]", ...etc);
|
|
797
796
|
var inputWithSegmentsInput = (props, ...etc) => mx("font-mono selection:bg-transparent mx-auto", props.density === "fine" ? "text-base pointer-fine:text-sm" : "text-lg", props.disabled && "cursor-not-allowed", ...etc);
|
|
798
|
-
var inputSegment = (props, ...etc) => mx("flex items-center justify-center font-mono", props.density === "fine" ? "size-10 pointer-fine:size-8 rounded-xs" : "size-12 rounded-xs", "bg-input-surface text-base-
|
|
797
|
+
var inputSegment = (props, ...etc) => mx("flex items-center justify-center font-mono", props.density === "fine" ? "size-10 pointer-fine:size-8 rounded-xs" : "size-12 rounded-xs", "bg-input-surface text-base-foreground transition-colors border border-separator", "data-[focused]:bg-attention-surface data-[focused]:border-focus-ring-subtle", "data-[focused]:ring-2 data-[focused]:ring-offset-0 data-[focused]:ring-focus-ring-subtle", inputValence(props.validationValence), props.disabled && staticDisabled, ...etc);
|
|
799
798
|
var inputLabel = (props, ...etc) => mx("block", inputTextLabel, props.srOnly && "sr-only", ...etc);
|
|
800
799
|
var inputDescription = (props, ...etc) => mx("text-description", props.srOnly && "sr-only", ...etc);
|
|
801
800
|
var inputDescriptionAndValidation = (props, ...etc) => mx("leading-none my-1.5", props.srOnly && "sr-only", ...etc);
|
|
@@ -893,7 +892,7 @@ var messageIcon = (_, etc) => {
|
|
|
893
892
|
return mx("col-start-1 grid place-items-center", etc);
|
|
894
893
|
};
|
|
895
894
|
var messageContent = (_, etc) => {
|
|
896
|
-
return mx("col-start-2 grid grid-cols-subgrid first:font-medium", etc);
|
|
895
|
+
return mx("col-start-2 grid grid-cols-subgrid inline first:font-medium", etc);
|
|
897
896
|
};
|
|
898
897
|
var messageTheme = {
|
|
899
898
|
root: messageRoot,
|
|
@@ -994,7 +993,7 @@ var selectContent = ({ elevation }, ...etc) => {
|
|
|
994
993
|
}), ...etc);
|
|
995
994
|
};
|
|
996
995
|
var selectViewport = (_props, ...etc) => mx(...etc);
|
|
997
|
-
var selectItem = (_props, ...etc) => mx("flex items-center min-h-[2rem] px-3 py-1 gap-2", "text-base-
|
|
996
|
+
var selectItem = (_props, ...etc) => mx("flex items-center min-h-[2rem] px-3 py-1 gap-2", "text-base-foreground leading-none select-none outline-hidden", "[&>svg]:invisible [&[data-state=checked]>svg]:visible", "dx-highlighted", ...etc);
|
|
998
997
|
var selectItemIndicator = (_props, ...etc) => mx("items-center", ...etc);
|
|
999
998
|
var selectArrow = (_props, ...etc) => mx("fill-separator", ...etc);
|
|
1000
999
|
var selectSeparator = (_props, ...etc) => mx("self-stretch border-b my-1 border-separator", ...etc);
|
|
@@ -1080,7 +1079,7 @@ var toolbarTheme = {
|
|
|
1080
1079
|
};
|
|
1081
1080
|
|
|
1082
1081
|
// src/theme/components/tooltip.ts
|
|
1083
|
-
var tooltipContent = ({ elevation }, ...etc) => mx("inline-flex items-center p-1 max-w-64 text-sm bg-inverse-surface text-inverse-
|
|
1082
|
+
var tooltipContent = ({ elevation }, ...etc) => mx("inline-flex items-center p-1 max-w-64 text-sm bg-inverse-surface text-inverse-foreground rounded-sm", surfaceShadow({
|
|
1084
1083
|
elevation: "positioned"
|
|
1085
1084
|
}), surfaceZIndex({
|
|
1086
1085
|
elevation,
|
|
@@ -1342,7 +1341,6 @@ export {
|
|
|
1342
1341
|
statusBar,
|
|
1343
1342
|
statusRoot,
|
|
1344
1343
|
statusTheme,
|
|
1345
|
-
subtleHover,
|
|
1346
1344
|
surfaceShadow,
|
|
1347
1345
|
surfaceZIndex,
|
|
1348
1346
|
tagRoot,
|