@fest-lib/veela 0.1.19 → 1.0.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/veela.js +4 -33
- package/package.json +9 -2
- package/src/scss/_layers.scss +5 -34
- package/src/scss/basic/{misc/_core-layout.scss → _core-layout.scss} +1 -1
- package/src/scss/basic/_layers.scss +1 -0
- package/src/scss/basic/{misc/_layout.scss → _layout.scss} +15 -15
- package/src/scss/basic/{misc/_normalize.scss → _normalize.scss} +5 -103
- package/src/scss/basic/{misc/_states.scss → _states.scss} +2 -2
- package/src/scss/{core/misc → basic}/_utilities.scss +4 -4
- package/src/scss/basic/design/_keyframes.scss +1 -1
- package/src/scss/basic/design/_shapes.scss +1 -1
- package/src/scss/basic/index.scss +14 -16
- package/src/scss/chrome.scss +2 -0
- package/src/scss/core/_color-mod.scss +24 -0
- package/src/scss/core/{misc/_color-properties.scss → _color-properties.scss} +1 -1
- package/src/scss/core/{misc/_tokens.scss → _tokens.scss} +10 -93
- package/src/scss/core/index.scss +13 -1
- package/src/scss/index.scss +7 -2
- package/src/scss/index.ts +1 -1
- package/src/scss/{core/interact → interact}/_viewport.scss +1 -1
- package/src/scss/interact/index.scss +18 -0
- package/src/scss/theme/_effects.scss +60 -0
- package/src/scss/theme/index.scss +8 -0
- package/src/scss/{advanced/index.ts → theme/loader.ts} +3 -4
- package/src/scss/ui/_bar.scss +268 -0
- package/src/scss/ui/_buttons.scss +215 -0
- package/src/scss/ui/_chrome-mixins.scss +104 -0
- package/src/scss/ui/_color.scss +3 -0
- package/src/scss/ui/_colorize.scss +5 -0
- package/src/scss/{advanced/layout → ui}/_content.scss +0 -1
- package/src/scss/ui/_core-layout.scss +4 -0
- package/src/scss/ui/_essentials-options.scss +2 -0
- package/src/scss/ui/_essentials.scss +707 -0
- package/src/scss/ui/_explorer-content.scss +417 -0
- package/src/scss/ui/_explorer.scss +274 -0
- package/src/scss/ui/_forms-bare-host-elements.scss +25 -0
- package/src/scss/ui/_forms-options.scss +2 -0
- package/src/scss/ui/_forms.scss +279 -0
- package/src/scss/ui/_forms_misc.scss +201 -0
- package/src/scss/ui/_gridbox.scss +298 -0
- package/src/scss/ui/_home-host.scss +192 -0
- package/src/scss/ui/_index.scss +23 -0
- package/src/scss/ui/_launcher-typography.scss +31 -0
- package/src/scss/ui/_layers.scss +48 -0
- package/src/scss/ui/_layout.scss +3 -0
- package/src/scss/ui/_markdown.scss +1634 -0
- package/src/scss/ui/_modal.scss +309 -0
- package/src/scss/ui/_motion.scss +3 -0
- package/src/scss/ui/_native-host-button-chrome.scss +31 -0
- package/src/scss/ui/_normalize.scss +5 -0
- package/src/scss/ui/_orientation-functions.scss +273 -0
- package/src/scss/ui/_orientbox.scss +97 -0
- package/src/scss/ui/_scrollbar.scss +257 -0
- package/src/scss/ui/_shared-overlays.scss +16 -0
- package/src/scss/ui/_shared.scss +4 -0
- package/src/scss/ui/_sidebar.scss +478 -0
- package/src/scss/ui/_speed-dial.scss +47 -0
- package/src/scss/ui/_states.scss +4 -0
- package/src/scss/ui/_tables.scss +28 -0
- package/src/scss/ui/_tabs.scss +405 -0
- package/src/scss/ui/_taskbar.scss +215 -0
- package/src/scss/ui/_toolbars.scss +167 -0
- package/src/scss/ui/_typography.scss +11 -0
- package/src/scss/ui/_utils.scss +8 -0
- package/src/scss/ui/_viewport.scss +470 -0
- package/src/scss/ui/_window-frame.scss +658 -0
- package/src/scss/ui/components/app-menu.scss +817 -0
- package/src/scss/ui/components/appearance-desktop.scss +14 -0
- package/src/scss/ui/components/appearance-mobile.scss +14 -0
- package/src/scss/ui/components/calendar/flyout.scss +194 -0
- package/src/scss/ui/components/calendar/index.scss +627 -0
- package/src/scss/ui/components/explorer-settings.scss +232 -0
- package/src/scss/ui/components/file-manager-content.scss +2 -0
- package/src/scss/ui/components/file-manager.scss +2 -0
- package/src/scss/ui/components/launcher-icon-mask.scss +34 -0
- package/src/scss/ui/components/navbar.scss +133 -0
- package/src/scss/ui/components/quick-settings.scss +321 -0
- package/src/scss/ui/components/scrollframe.scss +58 -0
- package/src/scss/ui/components/slider.scss +188 -0
- package/src/scss/ui/components/speed-dial.scss +2288 -0
- package/src/scss/ui/components/statusbar.scss +255 -0
- package/src/scss/ui/components/task.scss +118 -0
- package/src/scss/ui/components/taskbar.scss +514 -0
- package/src/scss/ui/components/text.scss +241 -0
- package/src/scss/ui/components/window.scss +601 -0
- package/src/scss/ui/home-host-apply.scss +10 -0
- package/src/scss/ui/index.scss +7 -0
- package/src/scss/ui/native-controls.scss +17 -0
- package/src/scss/advanced/_index.scss +0 -0
- package/src/scss/advanced/animation/_motion.scss +0 -323
- package/src/scss/advanced/color/_color.scss +0 -328
- package/src/scss/advanced/color/_colorize.scss +0 -325
- package/src/scss/advanced/design/_design-tokens.scss +0 -118
- package/src/scss/advanced/design/_effects.scss +0 -275
- package/src/scss/advanced/design/_shadow.scss +0 -359
- package/src/scss/advanced/design/_surfaces.scss +0 -76
- package/src/scss/advanced/effects/_animations.scss +0 -124
- package/src/scss/advanced/effects/_shadows.scss +0 -50
- package/src/scss/advanced/font/_typography.scss +0 -601
- package/src/scss/advanced/index.scss +0 -11
- package/src/scss/advanced/layout/_index.scss +0 -5
- package/src/scss/advanced/layout/_normalize.scss +0 -543
- package/src/scss/advanced/layout/_shared-overlays.scss +0 -162
- package/src/scss/advanced/md3/_md3.scss +0 -506
- package/src/scss/advanced/md3/_utils.scss +0 -114
- package/src/scss/advanced/misc/_config.scss +0 -119
- package/src/scss/advanced/misc/_initials.scss +0 -298
- package/src/scss/advanced/misc/_mixins.scss +0 -179
- package/src/scss/advanced/misc/_rendering.scss +0 -82
- package/src/scss/advanced/misc/_tokens.scss +0 -74
- package/src/scss/advanced/theme/_shared.scss +0 -232
- package/src/scss/advanced/theme/_states.scss +0 -332
- package/src/scss/advanced/theme/_variants.scss +0 -354
- package/src/scss/advanced/tokens/_material-color.scss +0 -120
- package/src/scss/advanced/tokens/_variables.scss +0 -171
- package/src/scss/basic/misc/_index.scss +0 -18
- package/src/scss/basic/misc/_mixins.scss +0 -179
- package/src/scss/basic/misc/_queries.scss +0 -34
- package/src/scss/basic/misc/_tokens.scss +0 -78
- package/src/scss/basic/misc/_veela.scss +0 -12
- package/src/scss/core/misc/_index.scss +0 -6
- /package/src/scss/basic/{misc/_motion.scss → _motion.scss} +0 -0
- /package/src/scss/{advanced/misc → basic}/_queries.scss +0 -0
- /package/src/scss/basic/{misc/_shared.scss → _shared.scss} +0 -0
- /package/src/scss/core/{misc/_config.scss → _config.scss} +0 -0
- /package/src/scss/core/{misc/_functions.scss → _functions.scss} +0 -0
- /package/src/scss/core/{misc/_icons.scss → _icons.scss} +0 -0
- /package/src/scss/core/{misc/_layout.scss → _layout.scss} +0 -0
- /package/src/scss/core/{misc/_mixins.scss → _mixins.scss} +0 -0
- /package/src/scss/core/{misc/_properties.scss → _properties.scss} +0 -0
- /package/src/scss/core/{misc/_utils.scss → _utils.scss} +0 -0
- /package/src/scss/{core/interact → interact}/_draggable.scss +0 -0
- /package/src/scss/{core/interact → interact}/_position.scss +0 -0
- /package/src/scss/{core/interact → interact}/_ps-anchor.scss +0 -0
- /package/src/scss/{core/interact → interact}/_ps-centered.scss +0 -0
- /package/src/scss/{core/interact → interact}/_ps-cursor.scss +0 -0
- /package/src/scss/{core/interact → interact}/_ps-draggable.scss +0 -0
- /package/src/scss/{core/interact → interact}/_ps-mechanic.scss +0 -0
- /package/src/scss/{core/interact → interact}/_ps-properties.scss +0 -0
- /package/src/scss/{core/interact → interact}/_ps-resizable.scss +0 -0
- /package/src/scss/{core/interact → interact}/_resizable.scss +0 -0
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
:host(ui-longtext) {
|
|
3
|
+
//
|
|
4
|
+
& {
|
|
5
|
+
--background-tone-shift: 0.01;
|
|
6
|
+
//--ui-text-background-color: transparent;//--c2-surface(var(--background-tone-shift, 0.0), var(--current, transparent));
|
|
7
|
+
--ui-text-background-color: --c2-surface(var(--background-tone-shift, 0.0), var(--current, transparent));
|
|
8
|
+
--ui-text-color: --c2-on-surface(var(--ui-text-tone-shift, 0.0), var(--current, currentColor));
|
|
9
|
+
--ui-text-font-size: 0.9rem;
|
|
10
|
+
--ui-text-font-family: "InterVariable", "Inter", Helvetica, Calibri, Carlito;
|
|
11
|
+
--ui-text-border-width: 0.0625rem;
|
|
12
|
+
--ui-text-radius: 0.5rem;
|
|
13
|
+
--ui-text-border-radius: 0.5rem;
|
|
14
|
+
--ui-text-border-color: --c2-on-surface(var(--ui-text-tone-shift, 0.0), var(--current, currentColor));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
//
|
|
18
|
+
& {
|
|
19
|
+
max-inline-size: none;
|
|
20
|
+
max-block-size: stretch;
|
|
21
|
+
inline-size: stretch;
|
|
22
|
+
block-size: fit-content;
|
|
23
|
+
min-block-size: 2rem;
|
|
24
|
+
display: grid !important;
|
|
25
|
+
place-content: stretch;
|
|
26
|
+
place-items: stretch;
|
|
27
|
+
text-align: start;
|
|
28
|
+
pointer-events: none;
|
|
29
|
+
user-select: none;
|
|
30
|
+
background-color: transparent !important;
|
|
31
|
+
border: none 0px transparent;
|
|
32
|
+
outline: none 0px transparent;
|
|
33
|
+
padding: 0 !important;
|
|
34
|
+
margin: 0 !important;
|
|
35
|
+
font-size: var(--ui-text-font-size, 1rem);
|
|
36
|
+
grid-template-columns: minmax(0px, 1fr) !important;
|
|
37
|
+
grid-template-rows: minmax(0px, 1fr) !important;
|
|
38
|
+
position: relative;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
container-type: size;
|
|
41
|
+
contain: none;
|
|
42
|
+
line-height: 0;
|
|
43
|
+
content-visibility: visible;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
//
|
|
47
|
+
&, *, ::slotted(*) {
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
transition-behavior: allow-discrete;
|
|
50
|
+
interpolate-size: allow-keywords;
|
|
51
|
+
border: none 0px transparent;
|
|
52
|
+
outline: none 0px transparent;
|
|
53
|
+
padding: 0px;
|
|
54
|
+
margin: 0px;
|
|
55
|
+
white-space: nowrap;
|
|
56
|
+
text-spacing-trim: normal;
|
|
57
|
+
text-wrap: nowrap;
|
|
58
|
+
word-break: keep-all;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
slot {
|
|
62
|
+
display: contents !important;
|
|
63
|
+
pointer-events: none !important;
|
|
64
|
+
background-color: transparent !important;
|
|
65
|
+
color: inherit !important;
|
|
66
|
+
box-shadow: none !important;
|
|
67
|
+
border-width: 0px !important;
|
|
68
|
+
border-style: none !important;
|
|
69
|
+
border-color: transparent !important;
|
|
70
|
+
outline: none !important;
|
|
71
|
+
contain: none !important;
|
|
72
|
+
container-type: normal !important;
|
|
73
|
+
white-space: nowrap !important;
|
|
74
|
+
text-spacing-trim: normal !important;
|
|
75
|
+
text-wrap: nowrap !important;
|
|
76
|
+
word-break: keep-all !important;
|
|
77
|
+
padding: 0px !important;
|
|
78
|
+
margin: 0px !important;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
//
|
|
82
|
+
&, * {
|
|
83
|
+
box-sizing: border-box;
|
|
84
|
+
transition-behavior: allow-discrete;
|
|
85
|
+
interpolate-size: allow-keywords;
|
|
86
|
+
user-select: none;
|
|
87
|
+
pointer-events: none;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
//
|
|
91
|
+
& {
|
|
92
|
+
border-radius: var(--ui-text-border-radius, 0.5rem);
|
|
93
|
+
border-width: 0px;
|
|
94
|
+
//border-width: var(--ui-text-border-width, 0.0625rem);
|
|
95
|
+
border-color: var(--ui-text-border-color, --c2-on-surface(var(--ui-text-tone-shift, 0.0), var(--current, currentColor)));
|
|
96
|
+
border-style: solid;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
//
|
|
100
|
+
& > * {
|
|
101
|
+
grid-column: 1 / -1;
|
|
102
|
+
grid-row: 1 / -1;
|
|
103
|
+
justify-content: start;
|
|
104
|
+
text-align: start;
|
|
105
|
+
user-select: none;
|
|
106
|
+
pointer-events: none;
|
|
107
|
+
background-color: transparent;
|
|
108
|
+
border: none 0px transparent;
|
|
109
|
+
outline: none 0px transparent;
|
|
110
|
+
padding: 0px;
|
|
111
|
+
margin: 0px;
|
|
112
|
+
font-size: var(--ui-text-font-size, 1rem);
|
|
113
|
+
font-family: var(--ui-text-font-family, inherit);
|
|
114
|
+
inline-size: 100%;
|
|
115
|
+
block-size: 100%;
|
|
116
|
+
max-inline-size: none;
|
|
117
|
+
max-block-size: none;
|
|
118
|
+
overflow: hidden;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
//
|
|
122
|
+
.box-layer {
|
|
123
|
+
content-visibility: visible;
|
|
124
|
+
font-size: 0rem;
|
|
125
|
+
line-height: 0;
|
|
126
|
+
grid-column: 1 / -1;
|
|
127
|
+
grid-row: 1 / -1;
|
|
128
|
+
min-block-size: fit-content;
|
|
129
|
+
inline-size: stretch;
|
|
130
|
+
block-size: stretch;
|
|
131
|
+
max-inline-size: stretch;
|
|
132
|
+
max-block-size: stretch;
|
|
133
|
+
display: block;
|
|
134
|
+
flex-direction: row;
|
|
135
|
+
text-align: start;
|
|
136
|
+
place-content: stretch;
|
|
137
|
+
place-items: stretch;
|
|
138
|
+
justify-content: start;
|
|
139
|
+
justify-items: start;
|
|
140
|
+
align-content: center;
|
|
141
|
+
align-items: center;
|
|
142
|
+
user-select: none;
|
|
143
|
+
border: none 0px transparent !important;
|
|
144
|
+
outline: none 0px transparent !important;
|
|
145
|
+
padding: 0px !important;
|
|
146
|
+
margin: 0px !important;
|
|
147
|
+
font-family: var(--ui-text-font-family, inherit);
|
|
148
|
+
overflow: visible;
|
|
149
|
+
overflow-inline: scroll;
|
|
150
|
+
overflow-block: visible;
|
|
151
|
+
contain: none;
|
|
152
|
+
position: relative;
|
|
153
|
+
white-space: nowrap;
|
|
154
|
+
text-spacing-trim: normal;
|
|
155
|
+
text-wrap: nowrap;
|
|
156
|
+
word-break: keep-all;
|
|
157
|
+
scrollbar-width: none;
|
|
158
|
+
scrollbar-color: transparent transparent;
|
|
159
|
+
clip-path: inset(0px 0.125rem round 0.125rem);
|
|
160
|
+
background-color: var(--ui-text-background-color, transparent);
|
|
161
|
+
pointer-events: auto;
|
|
162
|
+
|
|
163
|
+
/*
|
|
164
|
+
* Mask for smooth crop of input in left and right edges
|
|
165
|
+
*/
|
|
166
|
+
mask-image: linear-gradient(
|
|
167
|
+
to right,
|
|
168
|
+
transparent 0rem,
|
|
169
|
+
transparent 0.125rem,
|
|
170
|
+
black 0.5rem,
|
|
171
|
+
black calc(100% - 0.5rem),
|
|
172
|
+
transparent calc(100% - 0.125rem),
|
|
173
|
+
transparent 100%
|
|
174
|
+
);
|
|
175
|
+
mask-size: 100% 100%;
|
|
176
|
+
mask-repeat: no-repeat;
|
|
177
|
+
mask-position: center center;
|
|
178
|
+
mask-mode: alpha;
|
|
179
|
+
mask-origin: content-box;
|
|
180
|
+
mask-clip: padding-box;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
//
|
|
184
|
+
::slotted(*) {
|
|
185
|
+
inline-size: stretch;
|
|
186
|
+
block-size: stretch;
|
|
187
|
+
max-inline-size: stretch;
|
|
188
|
+
max-block-size: stretch;
|
|
189
|
+
place-self: stretch;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
//
|
|
193
|
+
::slotted(ui-scrollframe) {
|
|
194
|
+
inline-size: stretch !important;
|
|
195
|
+
block-size: stretch !important;
|
|
196
|
+
min-block-size: 2rem;
|
|
197
|
+
max-inline-size: none;
|
|
198
|
+
max-block-size: none;
|
|
199
|
+
place-self: stretch;
|
|
200
|
+
z-index: 99 !important;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
//
|
|
204
|
+
::slotted(input) {
|
|
205
|
+
font-size: var(--ui-text-font-size, 1rem);
|
|
206
|
+
display: inline-block;
|
|
207
|
+
min-inline-size: -webkit-fill-available;
|
|
208
|
+
min-inline-size: stretch;
|
|
209
|
+
min-block-size: fit-content;
|
|
210
|
+
inline-size: max-content !important;
|
|
211
|
+
block-size: stretch;
|
|
212
|
+
max-inline-size: none !important;
|
|
213
|
+
max-block-size: stretch;
|
|
214
|
+
place-self: stretch;
|
|
215
|
+
place-content: stretch;
|
|
216
|
+
place-items: stretch;
|
|
217
|
+
text-align: start;
|
|
218
|
+
justify-self: start;
|
|
219
|
+
justify-content: start;
|
|
220
|
+
user-select: text;
|
|
221
|
+
cursor: text;
|
|
222
|
+
padding: 0.25rem 0.5rem 0.333rem 0.5rem;
|
|
223
|
+
field-sizing: content;
|
|
224
|
+
font-family: var(--ui-text-font-family, inherit);
|
|
225
|
+
box-sizing: border-box;
|
|
226
|
+
overflow: visible !important;
|
|
227
|
+
text-overflow: ellipsis;
|
|
228
|
+
white-space: nowrap;
|
|
229
|
+
text-spacing-trim: normal;
|
|
230
|
+
text-wrap: nowrap;
|
|
231
|
+
word-break: keep-all;
|
|
232
|
+
visibility: visible;
|
|
233
|
+
pointer-events: auto;
|
|
234
|
+
|
|
235
|
+
margin: 0 !important;
|
|
236
|
+
background-color: transparent !important;
|
|
237
|
+
border: none 0px transparent !important;
|
|
238
|
+
outline: none 0px transparent !important;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|