@threadlabs/looma 0.28.7 → 0.28.9
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/components/ui-editor-code-language/ui-editor-code-language.html +17 -0
- package/components/ui-editor-code-language/ui-editor-code-language.js +14 -0
- package/components/ui-editor-link-form/ui-editor-link-form.html +118 -0
- package/components/ui-editor-link-form/ui-editor-link-form.js +71 -0
- package/dist/index.js +37 -35
- package/package.json +1 -1
- package/styles/ui-editor-code-language.css +1 -0
- package/styles/ui-editor-link-form.css +1 -0
- package/vanilla/UiEditorCodeLanguage.d.ts +16 -0
- package/vanilla/UiEditorCodeLanguage.js +64 -0
- package/vanilla/UiEditorLinkForm.d.ts +32 -0
- package/vanilla/UiEditorLinkForm.js +354 -0
- package/vanilla/index.js +2 -0
- package/vue/UiEditorCodeLanguage.d.ts +44 -0
- package/vue/UiEditorCodeLanguage.js +2 -0
- package/vue/UiEditorCodeLanguage.vue +156 -0
- package/vue/UiEditorLinkForm.d.ts +165 -0
- package/vue/UiEditorLinkForm.js +2 -0
- package/vue/UiEditorLinkForm.vue +557 -0
- package/vue/chunks/UiEditorCodeLanguage.js +163 -0
- package/vue/chunks/UiEditorLinkForm.js +669 -0
- package/vue/components.css +407 -407
- package/vue/editor/index.js +81 -171
- package/vue/editor/primitives.d.ts +21 -1
- package/vue/index.d.ts +2 -0
- package/vue/index.js +5 -3
package/vue/components.css
CHANGED
|
@@ -5123,6 +5123,353 @@ svg[data-v-4a58a364-s] {
|
|
|
5123
5123
|
}
|
|
5124
5124
|
}
|
|
5125
5125
|
|
|
5126
|
+
@property --ui-input-group-radius {
|
|
5127
|
+
syntax: "*";
|
|
5128
|
+
inherits: false;
|
|
5129
|
+
}
|
|
5130
|
+
@property --ui-input-group-invalid-border {
|
|
5131
|
+
syntax: "*";
|
|
5132
|
+
inherits: false;
|
|
5133
|
+
}
|
|
5134
|
+
@property --ui-input-group-invalid-focus-shadow {
|
|
5135
|
+
syntax: "*";
|
|
5136
|
+
inherits: false;
|
|
5137
|
+
}
|
|
5138
|
+
/* An input with fixed text before or after it, such as a domain after a site's name
|
|
5139
|
+
("acme" + ".example.com") or slashes around a path. The group draws the field's border and
|
|
5140
|
+
focus ring around the input and its affixes together; the input inside drops its own through
|
|
5141
|
+
its custom properties, so it is still the one ui-input, with its form behaviour intact. The
|
|
5142
|
+
affixes are plain text beside the input, so name the input with a label that says what the
|
|
5143
|
+
whole value is. The action slot takes one button at the end, inside the border, for the one
|
|
5144
|
+
thing the field is for ("Continue" after a site's address), so it reads as the field's action
|
|
5145
|
+
and not the form's. */
|
|
5146
|
+
|
|
5147
|
+
/* The frame takes its input's size, so a small group lines up with small buttons and fields. */
|
|
5148
|
+
|
|
5149
|
+
/* The ring shows when the field's input would show its own: when it is focus-visible, which a
|
|
5150
|
+
text input is for a pointer as well as a keyboard. A focused action button draws its own. */
|
|
5151
|
+
|
|
5152
|
+
/* Forced colors drop box shadows, so the focus ring becomes an outline. */
|
|
5153
|
+
|
|
5154
|
+
/* Fixed text is part of the value, but should not look editable. */
|
|
5155
|
+
|
|
5156
|
+
/* Centred rather than padded above and below: the group is exactly a lone Input's height, so a
|
|
5157
|
+
small button sits inside it with the difference split evenly, and the field keeps its height. */
|
|
5158
|
+
|
|
5159
|
+
/* Multiline text owns the first row; its action remains inside the same frame below it. */
|
|
5160
|
+
|
|
5161
|
+
/* The same textarea keeps its full resizeable box. Its text reserves the action's live width,
|
|
5162
|
+
so a translated label or pending indicator cannot cover what the person types. */
|
|
5163
|
+
|
|
5164
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
5165
|
+
@scope (.ui-input-group) {
|
|
5166
|
+
:scope:where([data-v-8b90cc23]:scope) {
|
|
5167
|
+
/* The group's own border and height stand for the input's, so the group is a lone Input's height.
|
|
5168
|
+
Hooks do not inherit, so these are defaults for the input; its own hooks still win. */
|
|
5169
|
+
--_ui-default-input-border-width: 0;
|
|
5170
|
+
--_ui-default-input-min-block-size: 0;
|
|
5171
|
+
--_ui-default-input-border: transparent;
|
|
5172
|
+
--_ui-default-input-border-hover: transparent;
|
|
5173
|
+
--_ui-default-input-focus-border: transparent;
|
|
5174
|
+
--_ui-default-input-invalid-border: transparent;
|
|
5175
|
+
--_ui-default-input-invalid-focus-shadow: none;
|
|
5176
|
+
--_ui-default-input-shadow: none;
|
|
5177
|
+
--_ui-default-input-focus-shadow: none;
|
|
5178
|
+
--_ui-default-input-focus-outline: none;
|
|
5179
|
+
--_ui-default-input-radius: 0;
|
|
5180
|
+
--_ui-default-input-surface: transparent;
|
|
5181
|
+
--_ui-default-textarea-border-width: 0;
|
|
5182
|
+
--_ui-default-textarea-border: transparent;
|
|
5183
|
+
--_ui-default-textarea-border-hover: transparent;
|
|
5184
|
+
--_ui-default-textarea-focus-border: transparent;
|
|
5185
|
+
--_ui-default-textarea-invalid-border: transparent;
|
|
5186
|
+
--_ui-default-textarea-invalid-focus-shadow: none;
|
|
5187
|
+
--_ui-default-textarea-shadow: none;
|
|
5188
|
+
--_ui-default-textarea-focus-shadow: none;
|
|
5189
|
+
--_ui-default-textarea-focus-outline: none;
|
|
5190
|
+
--_ui-default-textarea-radius: 0;
|
|
5191
|
+
--_ui-default-textarea-surface: transparent;
|
|
5192
|
+
|
|
5193
|
+
display: flex;
|
|
5194
|
+
align-items: stretch;
|
|
5195
|
+
box-sizing: border-box;
|
|
5196
|
+
inline-size: 100%;
|
|
5197
|
+
min-inline-size: 0;
|
|
5198
|
+
min-block-size: var(--ui-control-size-md);
|
|
5199
|
+
/* The frame reads the shared control tokens with a lone Input's fallbacks, so the two match. */
|
|
5200
|
+
border: var(--ui-border-width) solid var(--ui-control-border, var(--ui-border-strong));
|
|
5201
|
+
border-radius: var(--ui-input-group-radius, var(--ui-field-radius, var(--ui-radius-md)));
|
|
5202
|
+
background: var(--ui-control-surface, var(--ui-surface-elevated));
|
|
5203
|
+
box-shadow: var(--ui-control-inset);
|
|
5204
|
+
overflow: hidden;
|
|
5205
|
+
/* A press anywhere in the frame focuses the input. */
|
|
5206
|
+
cursor: text;
|
|
5207
|
+
transition:
|
|
5208
|
+
border-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
5209
|
+
box-shadow var(--ui-motion-fast) var(--ui-motion-ease);
|
|
5210
|
+
}
|
|
5211
|
+
:scope:where([data-v-8b90cc23]:scope):is([data-ui-input-group-state~="variant=subtle"]) {
|
|
5212
|
+
border-color: var(--ui-border);
|
|
5213
|
+
background: var(--ui-surface-muted);
|
|
5214
|
+
box-shadow: none;
|
|
5215
|
+
}
|
|
5216
|
+
:scope:where([data-v-8b90cc23]:scope):is(:has(.field [data-ui-input-state~="size=sm"])) {
|
|
5217
|
+
min-block-size: var(--ui-control-size-sm);
|
|
5218
|
+
}
|
|
5219
|
+
:scope:where([data-v-8b90cc23]:scope):is(:has(.field [data-ui-input-state~="size=lg"])) {
|
|
5220
|
+
min-block-size: var(--ui-control-size-lg);
|
|
5221
|
+
}
|
|
5222
|
+
@media (pointer: coarse) {
|
|
5223
|
+
:scope:where([data-v-8b90cc23]:scope) {
|
|
5224
|
+
min-block-size: max(var(--ui-control-size-md), var(--ui-control-min-block-size));
|
|
5225
|
+
}
|
|
5226
|
+
:scope:where([data-v-8b90cc23]:scope):is(:has(.field [data-ui-input-state~="size=sm"])) {
|
|
5227
|
+
min-block-size: var(--ui-control-min-block-size);
|
|
5228
|
+
}
|
|
5229
|
+
}
|
|
5230
|
+
:scope:where([data-v-8b90cc23]:scope):is(:hover:not(:has(:is(input, textarea):focus, :is(input, textarea):disabled, :is(input, textarea):read-only, [aria-invalid="true"], :is(:user-invalid, [data-user-invalid])))) {
|
|
5231
|
+
border-color: var(--ui-control-border-hover, var(--ui-text-secondary));
|
|
5232
|
+
}
|
|
5233
|
+
:scope:where([data-v-8b90cc23]:scope):is(:has(.field :is(input, textarea):focus-visible)) {
|
|
5234
|
+
border-color: var(--ui-control-focus, var(--ui-accent-solid));
|
|
5235
|
+
box-shadow:
|
|
5236
|
+
var(--ui-control-inset),
|
|
5237
|
+
var(--ui-control-focus-halo-shadow);
|
|
5238
|
+
}
|
|
5239
|
+
:scope:where([data-v-8b90cc23]:scope):is(:has([aria-invalid="true"], :is(:user-invalid, [data-user-invalid]))) {
|
|
5240
|
+
border-color: var(
|
|
5241
|
+
--ui-input-group-invalid-border,
|
|
5242
|
+
var(--ui-field-danger, var(--ui-danger-solid))
|
|
5243
|
+
);
|
|
5244
|
+
}
|
|
5245
|
+
:scope:where([data-v-8b90cc23]:scope):is(:has(:is(input, textarea):is([aria-invalid="true"], :is(:user-invalid, [data-user-invalid])):focus-visible)) {
|
|
5246
|
+
box-shadow: var(
|
|
5247
|
+
--ui-input-group-invalid-focus-shadow,
|
|
5248
|
+
var(--ui-control-inset),
|
|
5249
|
+
0 0 0 calc(var(--ui-focus-width) * 1.5) color-mix(
|
|
5250
|
+
in srgb,
|
|
5251
|
+
var(--ui-input-group-invalid-border, var(--ui-field-danger, var(--ui-danger-solid))) 22%,
|
|
5252
|
+
transparent
|
|
5253
|
+
)
|
|
5254
|
+
);
|
|
5255
|
+
}
|
|
5256
|
+
@media (forced-colors: active) {
|
|
5257
|
+
:scope:where([data-v-8b90cc23]:scope):is(:has(:is(input, textarea):focus-visible)) {
|
|
5258
|
+
outline: var(--ui-focus-width) solid Highlight;
|
|
5259
|
+
outline-offset: var(--ui-border-width);
|
|
5260
|
+
}
|
|
5261
|
+
}
|
|
5262
|
+
:scope:where([data-v-8b90cc23]:scope):is([data-ui-input-group-state~="disabled"]),
|
|
5263
|
+
:scope:where([data-v-8b90cc23]:scope):is(:has(:is(input, textarea):disabled)) {
|
|
5264
|
+
background: var(--ui-control-surface-disabled, var(--ui-surface-muted));
|
|
5265
|
+
box-shadow: none;
|
|
5266
|
+
cursor: not-allowed;
|
|
5267
|
+
}
|
|
5268
|
+
.field[data-v-8b90cc23] {
|
|
5269
|
+
display: flex;
|
|
5270
|
+
flex: 1;
|
|
5271
|
+
min-inline-size: 0;
|
|
5272
|
+
}
|
|
5273
|
+
.affix[data-v-8b90cc23] {
|
|
5274
|
+
display: inline-flex;
|
|
5275
|
+
flex: none;
|
|
5276
|
+
align-items: center;
|
|
5277
|
+
padding-inline: var(--ui-space-2);
|
|
5278
|
+
color: var(--ui-text-muted);
|
|
5279
|
+
font-family: var(--ui-font-family-mono);
|
|
5280
|
+
font-size: var(--ui-font-size-sm);
|
|
5281
|
+
white-space: nowrap;
|
|
5282
|
+
}
|
|
5283
|
+
.affix[data-v-8b90cc23]:has([slot="prefix"]), .affix[data-v-8b90cc23]:has([slot="suffix"]) {
|
|
5284
|
+
background: var(--ui-surface-muted);
|
|
5285
|
+
}
|
|
5286
|
+
.affix[data-v-8b90cc23]:has([slot="prefix"]) {
|
|
5287
|
+
border-inline-end: var(--ui-border-width) solid var(--ui-border-divider);
|
|
5288
|
+
}
|
|
5289
|
+
.affix[data-v-8b90cc23]:has([slot="suffix"]) {
|
|
5290
|
+
border-inline-start: var(--ui-border-width) solid var(--ui-border-divider);
|
|
5291
|
+
}
|
|
5292
|
+
:scope:where([data-v-8b90cc23]:scope):is([data-ui-input-group-state~="prefixKind=icon"]) {
|
|
5293
|
+
--_ui-default-input-padding-inline-start: var(--ui-space-2);
|
|
5294
|
+
}
|
|
5295
|
+
:scope[data-ui-input-group-state~="prefixKind=icon"] .affix[data-v-8b90cc23]:first-child {
|
|
5296
|
+
padding-inline-end: 0;
|
|
5297
|
+
border-inline-end: 0;
|
|
5298
|
+
background: transparent;
|
|
5299
|
+
}
|
|
5300
|
+
.action[data-v-8b90cc23] {
|
|
5301
|
+
display: flex;
|
|
5302
|
+
flex: none;
|
|
5303
|
+
align-items: center;
|
|
5304
|
+
padding-inline: var(--ui-space-1);
|
|
5305
|
+
}
|
|
5306
|
+
:scope:where([data-v-8b90cc23]:scope):is([data-ui-input-group-state~="multiline"]) {
|
|
5307
|
+
display: grid;
|
|
5308
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
5309
|
+
}
|
|
5310
|
+
:scope[data-ui-input-group-state~="multiline"] .field[data-v-8b90cc23] {
|
|
5311
|
+
grid-column: 2;
|
|
5312
|
+
}
|
|
5313
|
+
:scope[data-ui-input-group-state~="multiline"] .action[data-v-8b90cc23] {
|
|
5314
|
+
grid-column: 1 / -1;
|
|
5315
|
+
justify-content: end;
|
|
5316
|
+
padding: var(--ui-space-2);
|
|
5317
|
+
padding-block-start: 0;
|
|
5318
|
+
}
|
|
5319
|
+
:scope:where([data-v-8b90cc23]:scope):is([data-ui-input-group-state~="multiline"][data-ui-input-group-state~="actionPosition=top-end"]) {
|
|
5320
|
+
--_ui-default-textarea-padding-inline-end: calc(
|
|
5321
|
+
var(--_ui-input-group-action-inline-size, 7rem) + var(--ui-space-3)
|
|
5322
|
+
);
|
|
5323
|
+
}
|
|
5324
|
+
:scope[data-ui-input-group-state~="multiline"][data-ui-input-group-state~="actionPosition=top-end"]
|
|
5325
|
+
.field[data-v-8b90cc23] {
|
|
5326
|
+
grid-row: 1;
|
|
5327
|
+
}
|
|
5328
|
+
:scope[data-ui-input-group-state~="multiline"][data-ui-input-group-state~="actionPosition=top-end"]
|
|
5329
|
+
.action[data-v-8b90cc23] {
|
|
5330
|
+
grid-column: 2;
|
|
5331
|
+
grid-row: 1;
|
|
5332
|
+
align-self: start;
|
|
5333
|
+
justify-self: end;
|
|
5334
|
+
padding: var(--ui-space-2);
|
|
5335
|
+
}
|
|
5336
|
+
.affix[data-v-8b90cc23]:empty, .action[data-v-8b90cc23]:empty {
|
|
5337
|
+
display: none;
|
|
5338
|
+
}
|
|
5339
|
+
:scope:where([data-v-8b90cc23]:scope):is([hidden]) {
|
|
5340
|
+
display: none;
|
|
5341
|
+
}
|
|
5342
|
+
}
|
|
5343
|
+
|
|
5344
|
+
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
5345
|
+
@property --ui-search-result-row-border {
|
|
5346
|
+
syntax: "*";
|
|
5347
|
+
inherits: false;
|
|
5348
|
+
}
|
|
5349
|
+
@property --ui-search-result-row-gap {
|
|
5350
|
+
syntax: "*";
|
|
5351
|
+
inherits: false;
|
|
5352
|
+
}
|
|
5353
|
+
@property --ui-search-result-row-hover-surface {
|
|
5354
|
+
syntax: "*";
|
|
5355
|
+
inherits: false;
|
|
5356
|
+
}
|
|
5357
|
+
@property --ui-search-result-row-min-height {
|
|
5358
|
+
syntax: "*";
|
|
5359
|
+
inherits: false;
|
|
5360
|
+
}
|
|
5361
|
+
@property --ui-search-result-row-padding-block {
|
|
5362
|
+
syntax: "*";
|
|
5363
|
+
inherits: false;
|
|
5364
|
+
}
|
|
5365
|
+
@property --ui-search-result-row-padding-inline {
|
|
5366
|
+
syntax: "*";
|
|
5367
|
+
inherits: false;
|
|
5368
|
+
}
|
|
5369
|
+
@property --ui-search-result-row-selected-bg {
|
|
5370
|
+
syntax: "*";
|
|
5371
|
+
inherits: false;
|
|
5372
|
+
}
|
|
5373
|
+
@property --ui-search-result-row-surface {
|
|
5374
|
+
syntax: "*";
|
|
5375
|
+
inherits: false;
|
|
5376
|
+
}
|
|
5377
|
+
|
|
5378
|
+
/* Slot wrappers own their line boxes even when an app makes buttons inherit body typography. */
|
|
5379
|
+
|
|
5380
|
+
/* An unused region takes no space. */
|
|
5381
|
+
|
|
5382
|
+
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
5383
|
+
@scope (.ui-search-result-row) {
|
|
5384
|
+
:scope:where([data-v-475aa1ba]:scope) {
|
|
5385
|
+
appearance: none;
|
|
5386
|
+
inline-size: 100%;
|
|
5387
|
+
min-block-size: var(--ui-search-result-row-min-height, 56px);
|
|
5388
|
+
margin: 0;
|
|
5389
|
+
padding-block: var(--ui-search-result-row-padding-block, var(--ui-space-3));
|
|
5390
|
+
padding-inline: var(--ui-search-result-row-padding-inline, var(--ui-space-4));
|
|
5391
|
+
display: flex;
|
|
5392
|
+
align-items: flex-start;
|
|
5393
|
+
gap: var(--ui-search-result-row-gap, var(--ui-space-3));
|
|
5394
|
+
background: var(--ui-search-result-row-surface, transparent);
|
|
5395
|
+
border: var(--ui-border-width) solid var(--ui-search-result-row-border, transparent);
|
|
5396
|
+
border-radius: var(--ui-selection-radius);
|
|
5397
|
+
color: inherit;
|
|
5398
|
+
cursor: pointer;
|
|
5399
|
+
text-align: left;
|
|
5400
|
+
transition: background-color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
5401
|
+
}
|
|
5402
|
+
:scope:where([data-v-475aa1ba]:scope):is([data-ui-search-result-row-state~="density=compact"]) {
|
|
5403
|
+
min-block-size: var(--ui-search-result-row-min-height, 3.125rem);
|
|
5404
|
+
padding-block: var(--ui-search-result-row-padding-block, var(--ui-space-1));
|
|
5405
|
+
padding-inline: var(--ui-search-result-row-padding-inline, var(--ui-space-2));
|
|
5406
|
+
gap: var(--ui-search-result-row-gap, var(--ui-space-2));
|
|
5407
|
+
align-items: center;
|
|
5408
|
+
font-family: var(--ui-font-family-sans, sans-serif);
|
|
5409
|
+
}
|
|
5410
|
+
:scope[data-ui-search-result-row-state~="density=compact"] .title[data-v-475aa1ba] {
|
|
5411
|
+
font-size: var(--ui-font-size-sm);
|
|
5412
|
+
line-height: var(--ui-line-height);
|
|
5413
|
+
}
|
|
5414
|
+
:scope[data-ui-search-result-row-state~="density=compact"] .meta[data-v-475aa1ba] {
|
|
5415
|
+
font-size: var(--ui-font-size-xs);
|
|
5416
|
+
line-height: var(--ui-line-height);
|
|
5417
|
+
}
|
|
5418
|
+
:scope:where([data-v-475aa1ba]:scope):is(:hover:enabled) {
|
|
5419
|
+
background: var(
|
|
5420
|
+
--ui-search-result-row-hover-surface,
|
|
5421
|
+
var(--_ui-selection-context-surface, color-mix(in srgb, var(--ui-surface) 85%, black 3%))
|
|
5422
|
+
);
|
|
5423
|
+
}
|
|
5424
|
+
:scope:where([data-v-475aa1ba]:scope):is([data-ui-search-result-row-state~="selected"]) {
|
|
5425
|
+
background: var(
|
|
5426
|
+
--ui-search-result-row-selected-bg,
|
|
5427
|
+
var(--_ui-selection-context-surface, var(--ui-selection-surface))
|
|
5428
|
+
);
|
|
5429
|
+
color: var(--_ui-selection-context-text, var(--ui-selection-text));
|
|
5430
|
+
}
|
|
5431
|
+
:scope:where([data-v-475aa1ba]:scope):is(:focus-visible) {
|
|
5432
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
5433
|
+
outline-offset: calc(-1 * var(--ui-focus-width));
|
|
5434
|
+
}
|
|
5435
|
+
:scope:where([data-v-475aa1ba]:scope):is(:disabled) {
|
|
5436
|
+
background: var(--ui-disabled-surface);
|
|
5437
|
+
color: var(--ui-disabled-text);
|
|
5438
|
+
cursor: not-allowed;
|
|
5439
|
+
}
|
|
5440
|
+
.leading[data-v-475aa1ba], .trailing[data-v-475aa1ba] {
|
|
5441
|
+
display: inline-flex;
|
|
5442
|
+
align-items: flex-start;
|
|
5443
|
+
flex-shrink: 0;
|
|
5444
|
+
}
|
|
5445
|
+
.content[data-v-475aa1ba] {
|
|
5446
|
+
min-inline-size: 0;
|
|
5447
|
+
flex: 1;
|
|
5448
|
+
display: flex;
|
|
5449
|
+
flex-direction: column;
|
|
5450
|
+
}
|
|
5451
|
+
.title[data-v-475aa1ba], .meta[data-v-475aa1ba], .excerpt[data-v-475aa1ba] {
|
|
5452
|
+
display: block;
|
|
5453
|
+
min-inline-size: 0;
|
|
5454
|
+
}
|
|
5455
|
+
.leading[data-v-475aa1ba]:empty, .meta[data-v-475aa1ba]:empty, .excerpt[data-v-475aa1ba]:empty, .trailing[data-v-475aa1ba]:empty {
|
|
5456
|
+
display: none;
|
|
5457
|
+
}
|
|
5458
|
+
[slot="title"][data-v-475aa1ba-s],[slot="meta"][data-v-475aa1ba-s],[slot="excerpt"][data-v-475aa1ba-s] {
|
|
5459
|
+
display: block;
|
|
5460
|
+
margin: 0;
|
|
5461
|
+
}
|
|
5462
|
+
@media (forced-colors: active) {
|
|
5463
|
+
:scope:where([data-v-475aa1ba]:scope):is([data-ui-search-result-row-state~="selected"]:not(:focus-visible):not(:disabled)) {
|
|
5464
|
+
outline: var(--ui-border-width) solid Highlight;
|
|
5465
|
+
outline-offset: calc(-1 * var(--ui-border-width));
|
|
5466
|
+
}
|
|
5467
|
+
}
|
|
5468
|
+
:scope:where([data-v-475aa1ba]:scope):is([hidden]) {
|
|
5469
|
+
display: none;
|
|
5470
|
+
}
|
|
5471
|
+
}
|
|
5472
|
+
|
|
5126
5473
|
/* The highlight and the initials circle share a tint; on the highlighted row the circle takes
|
|
5127
5474
|
the surface and a fine accent ring, so the initials stay visible. */
|
|
5128
5475
|
@scope (.ui-editor-mention-menu) {
|
|
@@ -6381,303 +6728,85 @@ svg[data-v-3d55b8dc-s] {
|
|
|
6381
6728
|
background: transparent;
|
|
6382
6729
|
touch-action: none;
|
|
6383
6730
|
}
|
|
6384
|
-
.handle[data-v-73881051]::after {
|
|
6385
|
-
content: "";
|
|
6386
|
-
position: absolute;
|
|
6387
|
-
inset: 8px;
|
|
6388
|
-
background: var(--ui-surface);
|
|
6389
|
-
border: var(--ui-border-width) solid var(--ui-focus-ring);
|
|
6390
|
-
border-radius: var(--ui-radius-sm);
|
|
6391
|
-
}
|
|
6392
|
-
.handle[data-v-73881051]:focus-visible {
|
|
6393
|
-
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
6394
|
-
border-radius: var(--ui-radius-sm);
|
|
6395
|
-
}
|
|
6396
|
-
.handle[data-corner="top-left"][data-v-73881051] {
|
|
6397
|
-
top: -12px;
|
|
6398
|
-
left: -12px;
|
|
6399
|
-
cursor: nwse-resize;
|
|
6400
|
-
}
|
|
6401
|
-
.handle[data-corner="top-right"][data-v-73881051] {
|
|
6402
|
-
top: -12px;
|
|
6403
|
-
right: -12px;
|
|
6404
|
-
cursor: nesw-resize;
|
|
6405
|
-
}
|
|
6406
|
-
.handle[data-corner="bottom-left"][data-v-73881051] {
|
|
6407
|
-
bottom: -12px;
|
|
6408
|
-
left: -12px;
|
|
6409
|
-
cursor: nesw-resize;
|
|
6410
|
-
}
|
|
6411
|
-
.handle[data-corner="bottom-right"][data-v-73881051] {
|
|
6412
|
-
bottom: -12px;
|
|
6413
|
-
right: -12px;
|
|
6414
|
-
cursor: nwse-resize;
|
|
6415
|
-
}
|
|
6416
|
-
.handles[hidden][data-v-73881051], :scope:where([data-v-73881051]:scope):is([hidden]) {
|
|
6417
|
-
display: none;
|
|
6418
|
-
}
|
|
6419
|
-
@media (max-width: 767px) {
|
|
6420
|
-
:scope:where([data-v-73881051]:scope):is(:is(:scope[data-ui-image-state~="placement=wrap-left"], :scope[data-ui-image-state~="placement=wrap-right"])) {
|
|
6421
|
-
float: none;
|
|
6422
|
-
inline-size: 100%;
|
|
6423
|
-
padding-inline: 0;
|
|
6424
|
-
}
|
|
6425
|
-
:scope:is(:scope[data-ui-image-state~="placement=wrap-left"], :scope[data-ui-image-state~="placement=wrap-right"])
|
|
6426
|
-
.handles[data-v-73881051] {
|
|
6427
|
-
display: none;
|
|
6428
|
-
}
|
|
6429
|
-
}
|
|
6430
|
-
@media (pointer: coarse) {
|
|
6431
|
-
.handle[data-v-73881051] {
|
|
6432
|
-
inline-size: 44px;
|
|
6433
|
-
block-size: 44px;
|
|
6434
|
-
}
|
|
6435
|
-
.handle[data-v-73881051]::after {
|
|
6436
|
-
inset: 18px;
|
|
6437
|
-
}
|
|
6438
|
-
.handle[data-corner="top-left"][data-v-73881051] {
|
|
6439
|
-
top: -22px;
|
|
6440
|
-
left: -22px;
|
|
6441
|
-
}
|
|
6442
|
-
.handle[data-corner="top-right"][data-v-73881051] {
|
|
6443
|
-
top: -22px;
|
|
6444
|
-
right: -22px;
|
|
6445
|
-
}
|
|
6446
|
-
.handle[data-corner="bottom-left"][data-v-73881051] {
|
|
6447
|
-
bottom: -22px;
|
|
6448
|
-
left: -22px;
|
|
6449
|
-
}
|
|
6450
|
-
.handle[data-corner="bottom-right"][data-v-73881051] {
|
|
6451
|
-
bottom: -22px;
|
|
6452
|
-
right: -22px;
|
|
6453
|
-
}
|
|
6454
|
-
}
|
|
6455
|
-
@media (forced-colors: active) {
|
|
6456
|
-
:scope[data-ui-image-state~="selected"] .frame[data-v-73881051], .handle[data-v-73881051]:focus-visible {
|
|
6457
|
-
outline-color: Highlight;
|
|
6458
|
-
}
|
|
6459
|
-
.handle[data-v-73881051]::after {
|
|
6460
|
-
border-color: Highlight;
|
|
6461
|
-
background: Canvas;
|
|
6462
|
-
}
|
|
6463
|
-
}
|
|
6464
|
-
}
|
|
6465
|
-
|
|
6466
|
-
@property --ui-input-group-radius {
|
|
6467
|
-
syntax: "*";
|
|
6468
|
-
inherits: false;
|
|
6469
|
-
}
|
|
6470
|
-
@property --ui-input-group-invalid-border {
|
|
6471
|
-
syntax: "*";
|
|
6472
|
-
inherits: false;
|
|
6473
|
-
}
|
|
6474
|
-
@property --ui-input-group-invalid-focus-shadow {
|
|
6475
|
-
syntax: "*";
|
|
6476
|
-
inherits: false;
|
|
6477
|
-
}
|
|
6478
|
-
/* An input with fixed text before or after it, such as a domain after a site's name
|
|
6479
|
-
("acme" + ".example.com") or slashes around a path. The group draws the field's border and
|
|
6480
|
-
focus ring around the input and its affixes together; the input inside drops its own through
|
|
6481
|
-
its custom properties, so it is still the one ui-input, with its form behaviour intact. The
|
|
6482
|
-
affixes are plain text beside the input, so name the input with a label that says what the
|
|
6483
|
-
whole value is. The action slot takes one button at the end, inside the border, for the one
|
|
6484
|
-
thing the field is for ("Continue" after a site's address), so it reads as the field's action
|
|
6485
|
-
and not the form's. */
|
|
6486
|
-
|
|
6487
|
-
/* The frame takes its input's size, so a small group lines up with small buttons and fields. */
|
|
6488
|
-
|
|
6489
|
-
/* The ring shows when the field's input would show its own: when it is focus-visible, which a
|
|
6490
|
-
text input is for a pointer as well as a keyboard. A focused action button draws its own. */
|
|
6491
|
-
|
|
6492
|
-
/* Forced colors drop box shadows, so the focus ring becomes an outline. */
|
|
6493
|
-
|
|
6494
|
-
/* Fixed text is part of the value, but should not look editable. */
|
|
6495
|
-
|
|
6496
|
-
/* Centred rather than padded above and below: the group is exactly a lone Input's height, so a
|
|
6497
|
-
small button sits inside it with the difference split evenly, and the field keeps its height. */
|
|
6498
|
-
|
|
6499
|
-
/* Multiline text owns the first row; its action remains inside the same frame below it. */
|
|
6500
|
-
|
|
6501
|
-
/* The same textarea keeps its full resizeable box. Its text reserves the action's live width,
|
|
6502
|
-
so a translated label or pending indicator cannot cover what the person types. */
|
|
6503
|
-
|
|
6504
|
-
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
6505
|
-
@scope (.ui-input-group) {
|
|
6506
|
-
:scope:where([data-v-8b90cc23]:scope) {
|
|
6507
|
-
/* The group's own border and height stand for the input's, so the group is a lone Input's height.
|
|
6508
|
-
Hooks do not inherit, so these are defaults for the input; its own hooks still win. */
|
|
6509
|
-
--_ui-default-input-border-width: 0;
|
|
6510
|
-
--_ui-default-input-min-block-size: 0;
|
|
6511
|
-
--_ui-default-input-border: transparent;
|
|
6512
|
-
--_ui-default-input-border-hover: transparent;
|
|
6513
|
-
--_ui-default-input-focus-border: transparent;
|
|
6514
|
-
--_ui-default-input-invalid-border: transparent;
|
|
6515
|
-
--_ui-default-input-invalid-focus-shadow: none;
|
|
6516
|
-
--_ui-default-input-shadow: none;
|
|
6517
|
-
--_ui-default-input-focus-shadow: none;
|
|
6518
|
-
--_ui-default-input-focus-outline: none;
|
|
6519
|
-
--_ui-default-input-radius: 0;
|
|
6520
|
-
--_ui-default-input-surface: transparent;
|
|
6521
|
-
--_ui-default-textarea-border-width: 0;
|
|
6522
|
-
--_ui-default-textarea-border: transparent;
|
|
6523
|
-
--_ui-default-textarea-border-hover: transparent;
|
|
6524
|
-
--_ui-default-textarea-focus-border: transparent;
|
|
6525
|
-
--_ui-default-textarea-invalid-border: transparent;
|
|
6526
|
-
--_ui-default-textarea-invalid-focus-shadow: none;
|
|
6527
|
-
--_ui-default-textarea-shadow: none;
|
|
6528
|
-
--_ui-default-textarea-focus-shadow: none;
|
|
6529
|
-
--_ui-default-textarea-focus-outline: none;
|
|
6530
|
-
--_ui-default-textarea-radius: 0;
|
|
6531
|
-
--_ui-default-textarea-surface: transparent;
|
|
6532
|
-
|
|
6533
|
-
display: flex;
|
|
6534
|
-
align-items: stretch;
|
|
6535
|
-
box-sizing: border-box;
|
|
6536
|
-
inline-size: 100%;
|
|
6537
|
-
min-inline-size: 0;
|
|
6538
|
-
min-block-size: var(--ui-control-size-md);
|
|
6539
|
-
/* The frame reads the shared control tokens with a lone Input's fallbacks, so the two match. */
|
|
6540
|
-
border: var(--ui-border-width) solid var(--ui-control-border, var(--ui-border-strong));
|
|
6541
|
-
border-radius: var(--ui-input-group-radius, var(--ui-field-radius, var(--ui-radius-md)));
|
|
6542
|
-
background: var(--ui-control-surface, var(--ui-surface-elevated));
|
|
6543
|
-
box-shadow: var(--ui-control-inset);
|
|
6544
|
-
overflow: hidden;
|
|
6545
|
-
/* A press anywhere in the frame focuses the input. */
|
|
6546
|
-
cursor: text;
|
|
6547
|
-
transition:
|
|
6548
|
-
border-color var(--ui-motion-fast) var(--ui-motion-ease),
|
|
6549
|
-
box-shadow var(--ui-motion-fast) var(--ui-motion-ease);
|
|
6550
|
-
}
|
|
6551
|
-
:scope:where([data-v-8b90cc23]:scope):is([data-ui-input-group-state~="variant=subtle"]) {
|
|
6552
|
-
border-color: var(--ui-border);
|
|
6553
|
-
background: var(--ui-surface-muted);
|
|
6554
|
-
box-shadow: none;
|
|
6555
|
-
}
|
|
6556
|
-
:scope:where([data-v-8b90cc23]:scope):is(:has(.field [data-ui-input-state~="size=sm"])) {
|
|
6557
|
-
min-block-size: var(--ui-control-size-sm);
|
|
6558
|
-
}
|
|
6559
|
-
:scope:where([data-v-8b90cc23]:scope):is(:has(.field [data-ui-input-state~="size=lg"])) {
|
|
6560
|
-
min-block-size: var(--ui-control-size-lg);
|
|
6561
|
-
}
|
|
6562
|
-
@media (pointer: coarse) {
|
|
6563
|
-
:scope:where([data-v-8b90cc23]:scope) {
|
|
6564
|
-
min-block-size: max(var(--ui-control-size-md), var(--ui-control-min-block-size));
|
|
6565
|
-
}
|
|
6566
|
-
:scope:where([data-v-8b90cc23]:scope):is(:has(.field [data-ui-input-state~="size=sm"])) {
|
|
6567
|
-
min-block-size: var(--ui-control-min-block-size);
|
|
6568
|
-
}
|
|
6569
|
-
}
|
|
6570
|
-
:scope:where([data-v-8b90cc23]:scope):is(:hover:not(:has(:is(input, textarea):focus, :is(input, textarea):disabled, :is(input, textarea):read-only, [aria-invalid="true"], :is(:user-invalid, [data-user-invalid])))) {
|
|
6571
|
-
border-color: var(--ui-control-border-hover, var(--ui-text-secondary));
|
|
6572
|
-
}
|
|
6573
|
-
:scope:where([data-v-8b90cc23]:scope):is(:has(.field :is(input, textarea):focus-visible)) {
|
|
6574
|
-
border-color: var(--ui-control-focus, var(--ui-accent-solid));
|
|
6575
|
-
box-shadow:
|
|
6576
|
-
var(--ui-control-inset),
|
|
6577
|
-
var(--ui-control-focus-halo-shadow);
|
|
6578
|
-
}
|
|
6579
|
-
:scope:where([data-v-8b90cc23]:scope):is(:has([aria-invalid="true"], :is(:user-invalid, [data-user-invalid]))) {
|
|
6580
|
-
border-color: var(
|
|
6581
|
-
--ui-input-group-invalid-border,
|
|
6582
|
-
var(--ui-field-danger, var(--ui-danger-solid))
|
|
6583
|
-
);
|
|
6584
|
-
}
|
|
6585
|
-
:scope:where([data-v-8b90cc23]:scope):is(:has(:is(input, textarea):is([aria-invalid="true"], :is(:user-invalid, [data-user-invalid])):focus-visible)) {
|
|
6586
|
-
box-shadow: var(
|
|
6587
|
-
--ui-input-group-invalid-focus-shadow,
|
|
6588
|
-
var(--ui-control-inset),
|
|
6589
|
-
0 0 0 calc(var(--ui-focus-width) * 1.5) color-mix(
|
|
6590
|
-
in srgb,
|
|
6591
|
-
var(--ui-input-group-invalid-border, var(--ui-field-danger, var(--ui-danger-solid))) 22%,
|
|
6592
|
-
transparent
|
|
6593
|
-
)
|
|
6594
|
-
);
|
|
6731
|
+
.handle[data-v-73881051]::after {
|
|
6732
|
+
content: "";
|
|
6733
|
+
position: absolute;
|
|
6734
|
+
inset: 8px;
|
|
6735
|
+
background: var(--ui-surface);
|
|
6736
|
+
border: var(--ui-border-width) solid var(--ui-focus-ring);
|
|
6737
|
+
border-radius: var(--ui-radius-sm);
|
|
6595
6738
|
}
|
|
6596
|
-
|
|
6597
|
-
:
|
|
6598
|
-
|
|
6599
|
-
outline-offset: var(--ui-border-width);
|
|
6739
|
+
.handle[data-v-73881051]:focus-visible {
|
|
6740
|
+
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
6741
|
+
border-radius: var(--ui-radius-sm);
|
|
6600
6742
|
}
|
|
6743
|
+
.handle[data-corner="top-left"][data-v-73881051] {
|
|
6744
|
+
top: -12px;
|
|
6745
|
+
left: -12px;
|
|
6746
|
+
cursor: nwse-resize;
|
|
6601
6747
|
}
|
|
6602
|
-
|
|
6603
|
-
|
|
6604
|
-
|
|
6605
|
-
|
|
6606
|
-
cursor: not-allowed;
|
|
6748
|
+
.handle[data-corner="top-right"][data-v-73881051] {
|
|
6749
|
+
top: -12px;
|
|
6750
|
+
right: -12px;
|
|
6751
|
+
cursor: nesw-resize;
|
|
6607
6752
|
}
|
|
6608
|
-
.
|
|
6609
|
-
|
|
6610
|
-
|
|
6611
|
-
|
|
6753
|
+
.handle[data-corner="bottom-left"][data-v-73881051] {
|
|
6754
|
+
bottom: -12px;
|
|
6755
|
+
left: -12px;
|
|
6756
|
+
cursor: nesw-resize;
|
|
6612
6757
|
}
|
|
6613
|
-
.
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
padding-inline: var(--ui-space-2);
|
|
6618
|
-
color: var(--ui-text-muted);
|
|
6619
|
-
font-family: var(--ui-font-family-mono);
|
|
6620
|
-
font-size: var(--ui-font-size-sm);
|
|
6621
|
-
white-space: nowrap;
|
|
6758
|
+
.handle[data-corner="bottom-right"][data-v-73881051] {
|
|
6759
|
+
bottom: -12px;
|
|
6760
|
+
right: -12px;
|
|
6761
|
+
cursor: nwse-resize;
|
|
6622
6762
|
}
|
|
6623
|
-
.
|
|
6624
|
-
|
|
6763
|
+
.handles[hidden][data-v-73881051], :scope:where([data-v-73881051]:scope):is([hidden]) {
|
|
6764
|
+
display: none;
|
|
6625
6765
|
}
|
|
6626
|
-
|
|
6627
|
-
|
|
6766
|
+
@media (max-width: 767px) {
|
|
6767
|
+
:scope:where([data-v-73881051]:scope):is(:is(:scope[data-ui-image-state~="placement=wrap-left"], :scope[data-ui-image-state~="placement=wrap-right"])) {
|
|
6768
|
+
float: none;
|
|
6769
|
+
inline-size: 100%;
|
|
6770
|
+
padding-inline: 0;
|
|
6628
6771
|
}
|
|
6629
|
-
|
|
6630
|
-
|
|
6772
|
+
:scope:is(:scope[data-ui-image-state~="placement=wrap-left"], :scope[data-ui-image-state~="placement=wrap-right"])
|
|
6773
|
+
.handles[data-v-73881051] {
|
|
6774
|
+
display: none;
|
|
6631
6775
|
}
|
|
6632
|
-
:scope:where([data-v-8b90cc23]:scope):is([data-ui-input-group-state~="prefixKind=icon"]) {
|
|
6633
|
-
--_ui-default-input-padding-inline-start: var(--ui-space-2);
|
|
6634
6776
|
}
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6777
|
+
@media (pointer: coarse) {
|
|
6778
|
+
.handle[data-v-73881051] {
|
|
6779
|
+
inline-size: 44px;
|
|
6780
|
+
block-size: 44px;
|
|
6639
6781
|
}
|
|
6640
|
-
.
|
|
6641
|
-
|
|
6642
|
-
flex: none;
|
|
6643
|
-
align-items: center;
|
|
6644
|
-
padding-inline: var(--ui-space-1);
|
|
6782
|
+
.handle[data-v-73881051]::after {
|
|
6783
|
+
inset: 18px;
|
|
6645
6784
|
}
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6785
|
+
.handle[data-corner="top-left"][data-v-73881051] {
|
|
6786
|
+
top: -22px;
|
|
6787
|
+
left: -22px;
|
|
6649
6788
|
}
|
|
6650
|
-
|
|
6651
|
-
|
|
6789
|
+
.handle[data-corner="top-right"][data-v-73881051] {
|
|
6790
|
+
top: -22px;
|
|
6791
|
+
right: -22px;
|
|
6652
6792
|
}
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
padding: var(--ui-space-2);
|
|
6657
|
-
padding-block-start: 0;
|
|
6793
|
+
.handle[data-corner="bottom-left"][data-v-73881051] {
|
|
6794
|
+
bottom: -22px;
|
|
6795
|
+
left: -22px;
|
|
6658
6796
|
}
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
);
|
|
6797
|
+
.handle[data-corner="bottom-right"][data-v-73881051] {
|
|
6798
|
+
bottom: -22px;
|
|
6799
|
+
right: -22px;
|
|
6663
6800
|
}
|
|
6664
|
-
:scope[data-ui-input-group-state~="multiline"][data-ui-input-group-state~="actionPosition=top-end"]
|
|
6665
|
-
.field[data-v-8b90cc23] {
|
|
6666
|
-
grid-row: 1;
|
|
6667
6801
|
}
|
|
6668
|
-
:
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
grid-row: 1;
|
|
6672
|
-
align-self: start;
|
|
6673
|
-
justify-self: end;
|
|
6674
|
-
padding: var(--ui-space-2);
|
|
6802
|
+
@media (forced-colors: active) {
|
|
6803
|
+
:scope[data-ui-image-state~="selected"] .frame[data-v-73881051], .handle[data-v-73881051]:focus-visible {
|
|
6804
|
+
outline-color: Highlight;
|
|
6675
6805
|
}
|
|
6676
|
-
.
|
|
6677
|
-
|
|
6806
|
+
.handle[data-v-73881051]::after {
|
|
6807
|
+
border-color: Highlight;
|
|
6808
|
+
background: Canvas;
|
|
6678
6809
|
}
|
|
6679
|
-
:scope:where([data-v-8b90cc23]:scope):is([hidden]) {
|
|
6680
|
-
display: none;
|
|
6681
6810
|
}
|
|
6682
6811
|
}
|
|
6683
6812
|
|
|
@@ -7675,135 +7804,6 @@ legend[data-v-49ebfb5d] + * {
|
|
|
7675
7804
|
}
|
|
7676
7805
|
}
|
|
7677
7806
|
|
|
7678
|
-
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
7679
|
-
@property --ui-search-result-row-border {
|
|
7680
|
-
syntax: "*";
|
|
7681
|
-
inherits: false;
|
|
7682
|
-
}
|
|
7683
|
-
@property --ui-search-result-row-gap {
|
|
7684
|
-
syntax: "*";
|
|
7685
|
-
inherits: false;
|
|
7686
|
-
}
|
|
7687
|
-
@property --ui-search-result-row-hover-surface {
|
|
7688
|
-
syntax: "*";
|
|
7689
|
-
inherits: false;
|
|
7690
|
-
}
|
|
7691
|
-
@property --ui-search-result-row-min-height {
|
|
7692
|
-
syntax: "*";
|
|
7693
|
-
inherits: false;
|
|
7694
|
-
}
|
|
7695
|
-
@property --ui-search-result-row-padding-block {
|
|
7696
|
-
syntax: "*";
|
|
7697
|
-
inherits: false;
|
|
7698
|
-
}
|
|
7699
|
-
@property --ui-search-result-row-padding-inline {
|
|
7700
|
-
syntax: "*";
|
|
7701
|
-
inherits: false;
|
|
7702
|
-
}
|
|
7703
|
-
@property --ui-search-result-row-selected-bg {
|
|
7704
|
-
syntax: "*";
|
|
7705
|
-
inherits: false;
|
|
7706
|
-
}
|
|
7707
|
-
@property --ui-search-result-row-surface {
|
|
7708
|
-
syntax: "*";
|
|
7709
|
-
inherits: false;
|
|
7710
|
-
}
|
|
7711
|
-
|
|
7712
|
-
/* Slot wrappers own their line boxes even when an app makes buttons inherit body typography. */
|
|
7713
|
-
|
|
7714
|
-
/* An unused region takes no space. */
|
|
7715
|
-
|
|
7716
|
-
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
7717
|
-
@scope (.ui-search-result-row) {
|
|
7718
|
-
:scope:where([data-v-475aa1ba]:scope) {
|
|
7719
|
-
appearance: none;
|
|
7720
|
-
inline-size: 100%;
|
|
7721
|
-
min-block-size: var(--ui-search-result-row-min-height, 56px);
|
|
7722
|
-
margin: 0;
|
|
7723
|
-
padding-block: var(--ui-search-result-row-padding-block, var(--ui-space-3));
|
|
7724
|
-
padding-inline: var(--ui-search-result-row-padding-inline, var(--ui-space-4));
|
|
7725
|
-
display: flex;
|
|
7726
|
-
align-items: flex-start;
|
|
7727
|
-
gap: var(--ui-search-result-row-gap, var(--ui-space-3));
|
|
7728
|
-
background: var(--ui-search-result-row-surface, transparent);
|
|
7729
|
-
border: var(--ui-border-width) solid var(--ui-search-result-row-border, transparent);
|
|
7730
|
-
border-radius: var(--ui-selection-radius);
|
|
7731
|
-
color: inherit;
|
|
7732
|
-
cursor: pointer;
|
|
7733
|
-
text-align: left;
|
|
7734
|
-
transition: background-color var(--ui-motion-fast) var(--ui-motion-ease);
|
|
7735
|
-
}
|
|
7736
|
-
:scope:where([data-v-475aa1ba]:scope):is([data-ui-search-result-row-state~="density=compact"]) {
|
|
7737
|
-
min-block-size: var(--ui-search-result-row-min-height, 3.125rem);
|
|
7738
|
-
padding-block: var(--ui-search-result-row-padding-block, var(--ui-space-1));
|
|
7739
|
-
padding-inline: var(--ui-search-result-row-padding-inline, var(--ui-space-2));
|
|
7740
|
-
gap: var(--ui-search-result-row-gap, var(--ui-space-2));
|
|
7741
|
-
align-items: center;
|
|
7742
|
-
font-family: var(--ui-font-family-sans, sans-serif);
|
|
7743
|
-
}
|
|
7744
|
-
:scope[data-ui-search-result-row-state~="density=compact"] .title[data-v-475aa1ba] {
|
|
7745
|
-
font-size: var(--ui-font-size-sm);
|
|
7746
|
-
line-height: var(--ui-line-height);
|
|
7747
|
-
}
|
|
7748
|
-
:scope[data-ui-search-result-row-state~="density=compact"] .meta[data-v-475aa1ba] {
|
|
7749
|
-
font-size: var(--ui-font-size-xs);
|
|
7750
|
-
line-height: var(--ui-line-height);
|
|
7751
|
-
}
|
|
7752
|
-
:scope:where([data-v-475aa1ba]:scope):is(:hover:enabled) {
|
|
7753
|
-
background: var(
|
|
7754
|
-
--ui-search-result-row-hover-surface,
|
|
7755
|
-
var(--_ui-selection-context-surface, color-mix(in srgb, var(--ui-surface) 85%, black 3%))
|
|
7756
|
-
);
|
|
7757
|
-
}
|
|
7758
|
-
:scope:where([data-v-475aa1ba]:scope):is([data-ui-search-result-row-state~="selected"]) {
|
|
7759
|
-
background: var(
|
|
7760
|
-
--ui-search-result-row-selected-bg,
|
|
7761
|
-
var(--_ui-selection-context-surface, var(--ui-selection-surface))
|
|
7762
|
-
);
|
|
7763
|
-
color: var(--_ui-selection-context-text, var(--ui-selection-text));
|
|
7764
|
-
}
|
|
7765
|
-
:scope:where([data-v-475aa1ba]:scope):is(:focus-visible) {
|
|
7766
|
-
outline: var(--ui-focus-width) solid var(--ui-focus-ring);
|
|
7767
|
-
outline-offset: calc(-1 * var(--ui-focus-width));
|
|
7768
|
-
}
|
|
7769
|
-
:scope:where([data-v-475aa1ba]:scope):is(:disabled) {
|
|
7770
|
-
background: var(--ui-disabled-surface);
|
|
7771
|
-
color: var(--ui-disabled-text);
|
|
7772
|
-
cursor: not-allowed;
|
|
7773
|
-
}
|
|
7774
|
-
.leading[data-v-475aa1ba], .trailing[data-v-475aa1ba] {
|
|
7775
|
-
display: inline-flex;
|
|
7776
|
-
align-items: flex-start;
|
|
7777
|
-
flex-shrink: 0;
|
|
7778
|
-
}
|
|
7779
|
-
.content[data-v-475aa1ba] {
|
|
7780
|
-
min-inline-size: 0;
|
|
7781
|
-
flex: 1;
|
|
7782
|
-
display: flex;
|
|
7783
|
-
flex-direction: column;
|
|
7784
|
-
}
|
|
7785
|
-
.title[data-v-475aa1ba], .meta[data-v-475aa1ba], .excerpt[data-v-475aa1ba] {
|
|
7786
|
-
display: block;
|
|
7787
|
-
min-inline-size: 0;
|
|
7788
|
-
}
|
|
7789
|
-
.leading[data-v-475aa1ba]:empty, .meta[data-v-475aa1ba]:empty, .excerpt[data-v-475aa1ba]:empty, .trailing[data-v-475aa1ba]:empty {
|
|
7790
|
-
display: none;
|
|
7791
|
-
}
|
|
7792
|
-
[slot="title"][data-v-475aa1ba-s],[slot="meta"][data-v-475aa1ba-s],[slot="excerpt"][data-v-475aa1ba-s] {
|
|
7793
|
-
display: block;
|
|
7794
|
-
margin: 0;
|
|
7795
|
-
}
|
|
7796
|
-
@media (forced-colors: active) {
|
|
7797
|
-
:scope:where([data-v-475aa1ba]:scope):is([data-ui-search-result-row-state~="selected"]:not(:focus-visible):not(:disabled)) {
|
|
7798
|
-
outline: var(--ui-border-width) solid Highlight;
|
|
7799
|
-
outline-offset: calc(-1 * var(--ui-border-width));
|
|
7800
|
-
}
|
|
7801
|
-
}
|
|
7802
|
-
:scope:where([data-v-475aa1ba]:scope):is([hidden]) {
|
|
7803
|
-
display: none;
|
|
7804
|
-
}
|
|
7805
|
-
}
|
|
7806
|
-
|
|
7807
7807
|
/* This component's hooks style the element they are set on, and never a nested one. */
|
|
7808
7808
|
@property --ui-search-shell-border {
|
|
7809
7809
|
syntax: "*";
|