viewkitjs 0.36.0 → 0.37.0
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/CHANGELOG.md +49 -0
- package/package.json +1 -1
- package/views/dist/atoms/types.d.ts +32 -4
- package/views/dist/contract.d.ts +14 -8
- package/views/dist/contract.js +14 -1
- package/views/dist/controls/button/own-look-moved.d.ts +11 -0
- package/views/dist/controls/button/own-look-moved.js +3 -0
- package/views/dist/controls/date-editor/date-behaviour.d.ts +80 -0
- package/views/dist/controls/date-editor/date-behaviour.js +187 -0
- package/views/dist/controls/date-editor/date-editor.d.ts +3 -2
- package/views/dist/controls/date-editor/date-editor.js +29 -166
- package/views/dist/controls/field/field.d.ts +3 -2
- package/views/dist/controls/field/field.js +7 -2
- package/views/dist/controls/field/looks.d.ts +1 -1
- package/views/dist/controls/field/looks.js +5 -4
- package/views/dist/controls/field.css +4 -0
- package/views/dist/controls/filter-editor/filter-editor.js +2 -2
- package/views/dist/controls/filter-editor/parts.d.ts +2 -0
- package/views/dist/controls/filter-editor/parts.js +1 -1
- package/views/dist/controls/index.d.ts +3 -1
- package/views/dist/controls/index.js +3 -1
- package/views/dist/controls/inline-input.css +9 -0
- package/views/dist/controls/internal/phone.d.ts +1 -1
- package/views/dist/controls/internal/phone.js +3 -2
- package/views/dist/controls/list/tokens.d.ts +1 -1
- package/views/dist/controls/list/tokens.js +1 -1
- package/views/dist/controls/list.css +5 -2
- package/views/dist/controls/menu-list/menu-list.js +3 -2
- package/views/dist/controls/menu.css +4 -4
- package/views/dist/controls/pane.css +1 -1
- package/views/dist/controls/picker.css +5 -3
- package/views/dist/controls/popover/looks.d.ts +1 -1
- package/views/dist/controls/popover/looks.js +5 -0
- package/views/dist/controls/popover/tokens.d.ts +13 -1
- package/views/dist/controls/popover/tokens.js +4 -1
- package/views/dist/controls/popover.css +59 -8
- package/views/dist/controls/select/select.js +1 -1
- package/views/dist/controls/sort-editor.css +4 -2
- package/views/dist/controls/text-editor.css +6 -0
- package/views/dist/controls/toolbar/toolbar.d.ts +4 -2
- package/views/dist/controls/toolbar/toolbar.js +7 -2
- package/views/dist/controls/toolbar-button/atom-toolbar-button.js +1 -1
- package/views/dist/controls/toolbar.css +5 -0
- package/views/dist/controls/tooltip/tokens.d.ts +1 -1
- package/views/dist/controls/tooltip/tokens.js +1 -1
- package/views/dist/controls/tooltip.css +5 -3
- package/views/dist/controls/values-editor.css +20 -5
- package/views/dist/display/entity-chip.d.ts +7 -1
- package/views/dist/display/entity-chip.js +2 -1
- package/views/dist/field-row/FieldRow.js +12 -8
- package/views/dist/grid/chrome/GridCellEditors.d.ts +4 -1
- package/views/dist/grid/chrome/GridCellEditors.js +3 -2
- package/views/dist/grid/chrome/GridCellOutline.d.ts +3 -5
- package/views/dist/grid/chrome/GridCellOutline.js +3 -5
- package/views/dist/grid/chrome/GridChipsEditor.js +1 -1
- package/views/dist/grid/chrome/GridDateEditor.d.ts +1 -1
- package/views/dist/grid/chrome/GridDateEditor.js +1 -1
- package/views/dist/grid/chrome/GridLongTextEditor.d.ts +1 -1
- package/views/dist/grid/chrome/GridLongTextEditor.js +8 -5
- package/views/dist/grid/chrome/GridNameEditor.d.ts +1 -1
- package/views/dist/grid/chrome/GridNameEditor.js +1 -1
- package/views/dist/grid/chrome/GridNumberEditor.d.ts +1 -1
- package/views/dist/grid/chrome/GridNumberEditor.js +2 -2
- package/views/dist/grid/chrome/GridPlaceEditor.d.ts +1 -1
- package/views/dist/grid/chrome/GridPlaceEditor.js +1 -1
- package/views/dist/grid/chrome/GridRangeEditor.d.ts +2 -2
- package/views/dist/grid/chrome/GridRangeEditor.js +1 -1
- package/views/dist/grid/chrome/GridRelationEditor.js +2 -2
- package/views/dist/grid/chrome/GridRowCells.js +6 -5
- package/views/dist/grid/chrome/GridSelectEditor.js +1 -1
- package/views/dist/grid/chrome/GridTable.d.ts +2 -1
- package/views/dist/grid/chrome/GridTable.js +7 -2
- package/views/dist/grid/chrome/GridTextEditor.d.ts +1 -1
- package/views/dist/grid/chrome/GridTextEditor.js +2 -2
- package/views/dist/grid/chrome/GridValueListEditor.d.ts +1 -1
- package/views/dist/grid/chrome/GridValueListEditor.js +1 -1
- package/views/dist/grid/chrome/grid-body-place.d.ts +7 -2
- package/views/dist/grid/chrome/grid-body-place.js +8 -4
- package/views/dist/grid/chrome/grid-cell-classes.js +2 -2
- package/views/dist/grid/chrome/grid-edit-session.d.ts +4 -0
- package/views/dist/grid/chrome/grid-edit-session.js +10 -1
- package/views/dist/grid/chrome/grid-editor-layer.d.ts +10 -0
- package/views/dist/grid/chrome/grid-editor-layer.js +1 -0
- package/views/dist/grid/chrome/grid-fitted-box.d.ts +4 -4
- package/views/dist/grid/chrome/grid-fitted-box.js +1 -3
- package/views/dist/grid/chrome/grid-hover.d.ts +3 -3
- package/views/dist/grid/chrome/grid-hover.js +2 -3
- package/views/dist/grid/chrome/grid-row-props.d.ts +6 -2
- package/views/dist/grid/chrome/grid-styles.d.ts +1 -5
- package/views/dist/grid/chrome/grid-styles.js +0 -1
- package/views/dist/grid/chrome/useGridKeyboard.d.ts +0 -1
- package/views/dist/grid/chrome/useGridKeyboard.js +2 -10
- package/views/dist/grid/chrome/useGridTableInteractionModel.d.ts +3 -1
- package/views/dist/grid/chrome/useGridTableInteractionModel.js +24 -1
- package/views/dist/grid/core/useGridEditing.d.ts +3 -0
- package/views/dist/grid/core/useGridEditing.js +2 -0
- package/views/dist/grid/grid.css +4 -19
- package/views/dist/internal/screen-forms.d.ts +11 -0
- package/views/dist/internal/screen-forms.js +31 -0
- package/views/dist/list/list.js +2 -1
- package/views/dist/list/parts.d.ts +8 -2
- package/views/dist/list/parts.js +31 -7
- package/views/dist/list/toolbar.js +7 -3
- package/views/dist/looks/index.d.ts +1 -0
- package/views/dist/looks/index.js +1 -0
- package/views/dist/panels/react/popover.d.ts +3 -1
- package/views/dist/panels/react/popover.js +2 -2
- package/views/dist/panels/react/toolbar/ReadyToolbar.d.ts +6 -3
- package/views/dist/panels/react/toolbar/Toolbar.d.ts +12 -1
- package/views/dist/panels/react/toolbar/Toolbar.js +5 -1
- package/views/dist/panels/react/toolbar/ToolbarAdvancedFilters.js +1 -1
- package/views/dist/panels/react/toolbar/ToolbarButton.js +3 -2
- package/views/dist/panels/react/toolbar/ToolbarFilterAdd.js +1 -3
- package/views/dist/panels/react/toolbar/ToolbarOptions.js +1 -1
- package/views/dist/panels/react/toolbar/ToolbarQuickFilters.d.ts +1 -1
- package/views/dist/panels/react/toolbar/ToolbarQuickFilters.js +1 -1
- package/views/dist/panels/react/toolbar/ToolbarSave.d.ts +3 -1
- package/views/dist/panels/react/toolbar/ToolbarSave.js +28 -20
- package/views/dist/panels/react/toolbar/ToolbarSearch.js +1 -1
- package/views/dist/panels/react/toolbar/context.d.ts +3 -2
- package/views/dist/panels/react/views-row/FoldingViewRow.js +24 -7
- package/views/dist/panels/react/views-row/ViewPicker.js +1 -1
- package/views/dist/panels/react/views-row/more-views.d.ts +2 -0
- package/views/dist/panels/react/views-row/more-views.js +3 -0
- package/views/dist/panels/react.d.ts +1 -1
- package/views/dist/panels/toolbar/model.d.ts +2 -2
- package/views/dist/provider/components.d.ts +6 -6
- package/views/dist/provider/desktop.d.ts +2 -1
- package/views/dist/provider/desktop.js +5 -2
- package/views/dist/styles.css +181 -80
- package/views/dist/styles.unlayered.css +181 -80
- package/views/docs/contract.md +68 -20
- package/views/docs/controls/list.md +2 -0
- package/views/docs/controls/menu.md +2 -0
- package/views/docs/controls/picker.md +2 -0
- package/views/docs/controls/popover.md +7 -0
- package/views/docs/controls/tooltip.md +2 -0
- package/views/docs/guides/atoms.md +11 -10
- package/views/docs/guides/the-grid.md +7 -5
- package/views/docs/guides/the-provider.md +2 -2
- package/views/docs/reference/controls.md +11 -6
- package/views/docs/reference/display.md +1 -1
- package/views/docs/reference/field-row.md +1 -1
- package/views/docs/reference/list.md +5 -6
- package/views/docs/reference/looks.md +4 -1
- package/views/docs/reference/panels-react.md +5 -4
- package/views/docs/reference/panels.md +1 -1
- package/views/docs/reference/react.md +6 -6
- package/views/docs/reference/views.md +2 -2
- package/views/docs/reshaping.md +2 -2
- package/views/skills/views/SKILL.md +1 -1
package/views/dist/styles.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! viewkitjs 0.
|
|
1
|
+
/*! viewkitjs 0.37.0 · viewkitjs/views/styles.css: ViewKit's look, its defaults the Outright look */
|
|
2
2
|
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
3
3
|
@layer theme, base, components, utilities;
|
|
4
4
|
@layer base {
|
|
@@ -1882,6 +1882,10 @@ button.o-field-row { cursor: pointer; }
|
|
|
1882
1882
|
.o-field-rows-slot + .o-field-rows-slot::before { content: " "; }
|
|
1883
1883
|
.o-field-rows-slot > .o-field-error { color: var(--vk-danger); }
|
|
1884
1884
|
.o-field-rows-foot:has(.o-field-error) .o-field-note { display: none; }
|
|
1885
|
+
/* A phone's first paint: server-rendered, Field rows' card stands twice, the phone's form and the computer's (`ScreenForms`,
|
|
1886
|
+
internal/screen-forms.tsx), and this shows the screen's at ViewKit's own line, as the toolbar's stylesheet does: here for an app
|
|
1887
|
+
that imports this card's stylesheet alone, on a page whose policy refuses an inline style. Kept on one line, as screenFormsCss writes it. */
|
|
1888
|
+
[data-vk-screen-forms]{display:contents}[data-vk-twin="computer"][data-vk-twin-line="(min-width: 1024px)"]{display:none}@media (min-width: 1024px){[data-vk-twin="computer"][data-vk-twin-line="(min-width: 1024px)"]{display:contents}[data-vk-twin="phone"][data-vk-twin-line="(min-width: 1024px)"]{display:none}}
|
|
1885
1889
|
|
|
1886
1890
|
.o-filter-editor { position: relative; display: flex; flex-direction: column; min-width: 0; color: var(--vk-fg); font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); }
|
|
1887
1891
|
.o-filter-editor:focus { outline: none; }
|
|
@@ -2157,6 +2161,15 @@ button.o-field-row { cursor: pointer; }
|
|
|
2157
2161
|
[data-inline-input-tint="10"] { --inline-input-tint: 100%; }
|
|
2158
2162
|
[data-inline-input-ground="none"] { --inline-input-ground: var(--vk-input); }
|
|
2159
2163
|
|
|
2164
|
+
/* ── In a grid's cell: only the caret ─────────────────────────────────────────────────────────────────────────────────────
|
|
2165
|
+
Where the grid says its box stands in a cell (data-inline-input-place="cell", on its type-in's layer), the cell itself is the
|
|
2166
|
+
box: no edge, no ring and no ground, whatever a frame picks, so the cell shows as it was. Grown past its cell (data-grown, on
|
|
2167
|
+
the body or the box that fits it), it takes the plain ground, so the values it stands over don't show through. */
|
|
2168
|
+
[data-inline-input-place="cell"] { --inline-input-edge: 0px; --inline-input-ring: 0px; --inline-input-ground: transparent; }
|
|
2169
|
+
[data-inline-input-place="cell"] [data-grown] { --inline-input-ground: var(--vk-overlay); }
|
|
2170
|
+
/* Refused there, it takes its ring back, red, so the box says what the line under it explains. */
|
|
2171
|
+
[data-inline-input-place="cell"] .o-inline-input:is([aria-invalid="true"], :has(.o-input-control[aria-invalid="true"])) { --inline-input-ring: var(--vk-focus-width); }
|
|
2172
|
+
|
|
2160
2173
|
/* ── The box ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
2161
2174
|
.o-inline-input.o-inline-input {
|
|
2162
2175
|
--inline-input-at: var(--inline-input-row, calc(var(--vk-spacing) * 9));
|
|
@@ -2800,9 +2813,12 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
2800
2813
|
box-sizing: border-box; display: grid; padding: var(--list-pad, calc(var(--vk-spacing) * 1.5));
|
|
2801
2814
|
border: var(--vk-border-width) solid var(--list-edge, var(--vk-border)); border-radius: calc(min(var(--list-box-r, var(--vk-radius-lg)), var(--vk-radius-2xl)) + var(--list-pad, calc(var(--vk-spacing) * 1.5)));
|
|
2802
2815
|
background-color: var(--vk-overlay); box-shadow: var(--list-shadow, var(--vk-shadow-xl)); color: var(--vk-fg); outline: none;
|
|
2803
|
-
|
|
2816
|
+
transform-origin: var(--transform-origin); transition-property: opacity, translate, scale;
|
|
2817
|
+
transition-duration: var(--vk-popup-open-duration, var(--vk-duration-fast)); transition-timing-function: var(--vk-popup-open-ease, var(--vk-ease-out));
|
|
2804
2818
|
}
|
|
2805
|
-
.
|
|
2819
|
+
/* As every popup moves (popover.css): in 150ms each way, easing out both ways, or as the popup motion names say. */
|
|
2820
|
+
.o-list[data-ending-style] { transition-duration: var(--vk-popup-close-duration, var(--vk-duration-fast)); transition-timing-function: var(--vk-popup-close-ease, var(--vk-ease-out)); }
|
|
2821
|
+
.o-list:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: 0 calc(var(--vk-popup-nudge, var(--vk-spacing)) * -1); scale: var(--vk-popup-scale, none); }
|
|
2806
2822
|
.o-list-positioner { z-index: var(--vk-layer-popup); outline: none; }
|
|
2807
2823
|
|
|
2808
2824
|
/* ── A row: 32px, the radius's corners, text-sm; under the pointer or the keyboard the overlay's hover ─ */
|
|
@@ -3155,11 +3171,11 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
3155
3171
|
takes a press on that overlay's dim and closes alone. ─────────────────────────────────────────────────── */
|
|
3156
3172
|
.o-menu-portal > [role="presentation"] { z-index: var(--vk-layer-popup); }
|
|
3157
3173
|
|
|
3158
|
-
/* ── The panel: it fits its widest row, 208px to 320px; its shadow, edge, corners and padding the list's options (list.css) ── */
|
|
3159
|
-
.o-list.o-menu { width: max-content; min-width: calc(var(--vk-spacing) * 52); max-width: calc(var(--vk-spacing) * 80); }
|
|
3160
|
-
/* Never taller than the room on screen: its rows, which alone scroll (MenuScroll, menu-list.css), stand in the panel's
|
|
3174
|
+
/* ── The panel: it fits its widest row, 208px to 320px, or stands at the app's --vk-menu-w (docs/contract.md, Tokens); its shadow, edge, corners and padding the list's options (list.css) ── */
|
|
3175
|
+
.o-list.o-menu { width: var(--vk-menu-w, max-content); min-width: var(--vk-menu-w, calc(var(--vk-spacing) * 52)); max-width: var(--vk-menu-w, calc(var(--vk-spacing) * 80)); }
|
|
3176
|
+
/* Never taller than the room on screen, nor the app's --vk-menu-max-h: its rows, which alone scroll (MenuScroll, menu-list.css), stand in the panel's
|
|
3161
3177
|
padding, the kit's scrollbar over them; the panel and its edge stay still. */
|
|
3162
|
-
.o-list.o-menu { max-height: var(--available-height); grid-template-rows: minmax(0, 1fr); }
|
|
3178
|
+
.o-list.o-menu { max-height: min(var(--vk-menu-max-h, var(--available-height)), var(--available-height)); grid-template-rows: minmax(0, 1fr); }
|
|
3163
3179
|
|
|
3164
3180
|
/* ── The ⋯ button: under the pointer and while its menu is open, the neutral fill and the text colour ─ */
|
|
3165
3181
|
.o-button.o-menu-dots { color: var(--vk-fg-subtle); }
|
|
@@ -3555,7 +3571,7 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3555
3571
|
/* Its title, when what stands in it has one: text-sm at medium weight. */
|
|
3556
3572
|
.o-pane-title { margin: 0; font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); font-weight: var(--vk-font-weight-medium); color: var(--vk-fg); }
|
|
3557
3573
|
|
|
3558
|
-
/* It fades in and moves a step in from the right
|
|
3574
|
+
/* It fades in and moves a step in from the right, in 150ms, and leaves the same way, easing in. */
|
|
3559
3575
|
.o-pane[data-ending-style] { transition-timing-function: var(--vk-ease-in); }
|
|
3560
3576
|
.o-pane:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: var(--vk-spacing) 0; }
|
|
3561
3577
|
|
|
@@ -3704,14 +3720,14 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3704
3720
|
|
|
3705
3721
|
/* ── On a computer it follows the list's rules, so a Picker and a Select's list side by
|
|
3706
3722
|
side match. Its rows are the list's: the Input box's corners or Row corners, square at padding 0 (list.css), 8½ rows at most
|
|
3707
|
-
(list-rows), a row's room round the one brought into view. And a Popover holding it, and no editor, draws the list's panel in
|
|
3723
|
+
(--vk-list-rows, the app's, or its old name --list-rows), a row's room round the one brought into view. And a Popover holding it, and no editor, draws the list's panel in
|
|
3708
3724
|
place of its own options: the list's Edge (its lines' colour with it), Shadow and Padding, its corners the Input box's plus the padding, never past 2xl,
|
|
3709
3725
|
and its Corner smoothing (the list's smooth outline, or round), the Popover's own smooth outline not drawn. A body picks the shell's
|
|
3710
3726
|
options it needs; the Popover knows nothing of what it holds. ── */
|
|
3711
3727
|
.o-picker[data-picker-form="computer"] .o-list-row { --list-row-rad: var(--list-row-corners, var(--list-row-r, var(--list-box-r, var(--vk-radius-lg))));
|
|
3712
3728
|
--list-row-pill-in: var(--list-row-corners-pill, var(--list-row-pill, var(--list-box-pill, 0))); }
|
|
3713
3729
|
.o-picker[data-picker-form="computer"] .o-picker-rows {
|
|
3714
|
-
max-height: calc(var(--list-rows, 8.5) * var(--list-row-h, calc(var(--vk-spacing) * 8))); scroll-padding-block: var(--list-row-h, calc(var(--vk-spacing) * 8));
|
|
3730
|
+
max-height: calc(var(--vk-list-rows, var(--list-rows, 8.5)) * var(--list-row-h, calc(var(--vk-spacing) * 8))); scroll-padding-block: var(--list-row-h, calc(var(--vk-spacing) * 8));
|
|
3715
3731
|
}
|
|
3716
3732
|
/* ViewKit's field list (CONTROLS.FieldsBody, wrapped in .o-fields-body, which draws no box) stands as wide as its widest row:
|
|
3717
3733
|
its search fills that width and never sets it, though its placeholder reads whole, a row's check takes room only on the row the field holds, and ViewKit's
|
|
@@ -3721,7 +3737,9 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3721
3737
|
/* Never narrower than it opened nor than its search's placeholder (map-fields-body.tsx measures both as it opens). */
|
|
3722
3738
|
.o-fields-body .o-picker[data-picker-form="computer"] { min-width: var(--picker-floor, 0px); }
|
|
3723
3739
|
.o-fields-body .o-picker[data-picker-form="computer"] .o-list-row:not([data-selected], [aria-selected="true"]) > .o-picker-check { display: none; }
|
|
3724
|
-
.o-popover:has(> .o-popover-cut > .o-fields-body .o-picker[data-picker-form="computer"]) {
|
|
3740
|
+
.o-popover:has(> .o-popover-cut > .o-fields-body .o-picker[data-picker-form="computer"]) {
|
|
3741
|
+
width: var(--popover-size-w, fit-content); max-width: min(var(--popover-size-w, calc(var(--vk-spacing) * 72)), var(--available-width, 100%));
|
|
3742
|
+
}
|
|
3725
3743
|
.o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])) {
|
|
3726
3744
|
--popover-edge: var(--list-edge, var(--vk-border)); --divider-colour: var(--list-sep-colour, var(--vk-border)); --popover-shadow: var(--list-shadow, var(--vk-shadow-xl)); --popover-pad: var(--list-pad, calc(var(--vk-spacing) * 1.5));
|
|
3727
3745
|
--popover-corners: calc(min(var(--list-box-r, var(--vk-radius-lg)), var(--vk-radius-2xl)) + var(--list-pad, calc(var(--vk-spacing) * 1.5)));
|
|
@@ -3904,12 +3922,31 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3904
3922
|
--popover-gap: var(--vk-spacing); --popover-edge: var(--vk-border); --divider-colour: var(--vk-border);
|
|
3905
3923
|
--divider-reach: max(0px, calc(var(--popover-pad) - var(--vk-border-width)));
|
|
3906
3924
|
box-sizing: border-box; display: flex; flex-direction: column;
|
|
3907
|
-
|
|
3925
|
+
--popover-size-w: initial; --popover-size-h: initial;
|
|
3926
|
+
width: var(--popover-size-w, calc(var(--vk-spacing) * 72)); min-width: var(--popover-size-w, var(--anchor-width, auto));
|
|
3927
|
+
max-width: var(--available-width, 100%); max-height: var(--popover-size-h, var(--available-height, none));
|
|
3908
3928
|
border-radius: var(--popover-corners); background-color: var(--vk-overlay); box-shadow: var(--popover-shadow); color: var(--vk-fg);
|
|
3909
3929
|
font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); outline: none;
|
|
3910
|
-
|
|
3930
|
+
--popover-nudge: var(--vk-popup-nudge, var(--vk-spacing)); transform-origin: var(--transform-origin);
|
|
3931
|
+
transition-property: opacity, translate, scale;
|
|
3932
|
+
transition-duration: var(--vk-popup-open-duration, var(--vk-duration-fast));
|
|
3933
|
+
transition-timing-function: var(--vk-popup-open-ease, var(--vk-ease-out));
|
|
3911
3934
|
}
|
|
3912
3935
|
|
|
3936
|
+
/* ── Its size, by what it holds (VK-992): a toolbar panel's, marked by its slot, the app's --vk-panel-w and --vk-panel-max-h; a field
|
|
3937
|
+
editor's, the app's --vk-editor-w and --vk-editor-max-h (docs/contract.md, Tokens). Undeclared, the size here is invalid, so each
|
|
3938
|
+
place's own width stands (above, or a rule of what it holds reading --popover-size-w first); declared, it is the width, and the
|
|
3939
|
+
height at the most, never past the room on screen. ─────────────────────────────────────────────────────────── */
|
|
3940
|
+
.o-popover:where([data-slot^="vk-toolbar-"][data-slot$="-panel"]) {
|
|
3941
|
+
--popover-size-w: var(--vk-panel-w); --popover-size-h: min(var(--vk-panel-max-h), var(--available-height, 100dvh));
|
|
3942
|
+
}
|
|
3943
|
+
.o-popover:where([data-slot="vk-grid-editor"], [data-slot="vk-editor-panel"]) {
|
|
3944
|
+
--popover-size-w: var(--vk-editor-w); --popover-size-h: min(var(--vk-editor-max-h), var(--available-height, 100dvh));
|
|
3945
|
+
}
|
|
3946
|
+
/* A grid editor over its cell stands a step left of it (the grid's overCell offsets): at the least the cell's width and two
|
|
3947
|
+
steps, so it covers the cell's far line too and a press where the cell was lands inside it. */
|
|
3948
|
+
.o-popover:where([data-slot="vk-grid-editor"]) { min-width: var(--popover-size-w, calc(var(--anchor-width, 0px) + var(--vk-spacing) * 2)); }
|
|
3949
|
+
|
|
3913
3950
|
/* What it holds, inside its edge, scrolling there when the screen is shorter. The edge is drawn as two shapes, never a
|
|
3914
3951
|
border, as the Modal's is: its colour (::before), and the ground just inside it (::after), one line narrower. Each
|
|
3915
3952
|
takes its own corner, its inset less, so the edge follows the corners exactly, round or smooth. */
|
|
@@ -3926,12 +3963,14 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3926
3963
|
/* Laid over what opens it (a negative sideOffset), it stands on it: no gap. */
|
|
3927
3964
|
.o-popover[data-over] { margin: 0; }
|
|
3928
3965
|
|
|
3929
|
-
/* It fades in and moves 4px out from what opened it
|
|
3930
|
-
.o-popover[data-ending-style] {
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
.o-popover
|
|
3934
|
-
.o-popover[data-side="
|
|
3966
|
+
/* It fades in and moves 4px out from what opened it, in 150ms, and leaves the same way, easing in; or as the popup motion names say. */
|
|
3967
|
+
.o-popover[data-ending-style] {
|
|
3968
|
+
transition-duration: var(--vk-popup-close-duration, var(--vk-duration-fast)); transition-timing-function: var(--vk-popup-close-ease, var(--vk-ease-in));
|
|
3969
|
+
}
|
|
3970
|
+
.o-popover:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: 0 calc(var(--popover-nudge) * -1); scale: var(--vk-popup-scale, none); }
|
|
3971
|
+
.o-popover[data-side="top"]:is([data-starting-style], [data-ending-style]) { translate: 0 var(--popover-nudge); }
|
|
3972
|
+
.o-popover[data-side="left"]:is([data-starting-style], [data-ending-style]) { translate: var(--popover-nudge) 0; }
|
|
3973
|
+
.o-popover[data-side="right"]:is([data-starting-style], [data-ending-style]) { translate: calc(var(--popover-nudge) * -1) 0; }
|
|
3935
3974
|
|
|
3936
3975
|
/* ── What an app sets once ───────────────────────────────────────────────────────────────────────────────────── */
|
|
3937
3976
|
[data-popover-corners="lg"] .o-popover { --popover-corners: var(--vk-radius-lg); }
|
|
@@ -3948,6 +3987,25 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3948
3987
|
[data-popover-gap="0"] .o-popover { --popover-gap: 0px; }
|
|
3949
3988
|
[data-popover-gap="8"] .o-popover { --popover-gap: calc(var(--vk-spacing) * 2); }
|
|
3950
3989
|
|
|
3990
|
+
/* How it moves: on the frame itself, the public names every popup inside it reads. Each value is the pick's own (a frame need declare
|
|
3991
|
+
no token for it), the eases the motion tokens; None comes last, so it stills whatever the times say. */
|
|
3992
|
+
[data-popover-distance="small"] { --vk-popup-nudge: 2px; }
|
|
3993
|
+
[data-popover-distance="large"] { --vk-popup-nudge: 8px; }
|
|
3994
|
+
:is([data-popover-motion="fade"], [data-popover-motion="scale"]) { --vk-popup-nudge: 0px; }
|
|
3995
|
+
[data-popover-motion="scale"] { --vk-popup-scale: 0.95; }
|
|
3996
|
+
[data-popover-motion="scale"][data-popover-distance="small"] { --vk-popup-scale: 0.98; }
|
|
3997
|
+
[data-popover-motion="scale"][data-popover-distance="large"] { --vk-popup-scale: 0.9; }
|
|
3998
|
+
[data-popover-open="100"] { --vk-popup-open-duration: 100ms; }
|
|
3999
|
+
[data-popover-open="200"] { --vk-popup-open-duration: 200ms; }
|
|
4000
|
+
[data-popover-open="300"] { --vk-popup-open-duration: 300ms; }
|
|
4001
|
+
[data-popover-close="75"] { --vk-popup-close-duration: 75ms; }
|
|
4002
|
+
[data-popover-close="100"] { --vk-popup-close-duration: 100ms; }
|
|
4003
|
+
[data-popover-close="200"] { --vk-popup-close-duration: 200ms; }
|
|
4004
|
+
[data-popover-ease="sharp"] { --vk-popup-open-ease: var(--vk-ease-out-sharp); }
|
|
4005
|
+
[data-popover-ease="smooth"] { --vk-popup-open-ease: var(--vk-ease-in-out); --vk-popup-close-ease: var(--vk-ease-in-out); }
|
|
4006
|
+
[data-popover-ease="spring"] { --vk-popup-open-ease: var(--vk-ease-spring); }
|
|
4007
|
+
[data-popover-motion="none"] { --vk-popup-open-duration: 0s; --vk-popup-close-duration: 0s; }
|
|
4008
|
+
|
|
3951
4009
|
/* ── Its corners smooth: the smooth outline (smooth.css), Apple's curve as measured, so every browser that knows
|
|
3952
4010
|
shape() shows it; one that doesn't keeps the corners above. The shell keeps its shadow, which a cut would take with
|
|
3953
4011
|
it, so .o-popover-cut inside it is cut instead, and the edge's two shapes each by the same outline at its own corner,
|
|
@@ -4903,8 +4961,10 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
4903
4961
|
/* ViewKit's own Popover holding the rules on a computer (the ready toolbar's Sort): as wide as its rows, so each rule's grip, field,
|
|
4904
4962
|
direction and × stand inside it, never under the 288 it opens Add sort's fields at, and never past the room on screen (its own
|
|
4905
4963
|
--available-width, popover.css). Keyed on what it holds, so the fields with no rule keep their 288; an app's own Popover, or its own
|
|
4906
|
-
width on this one, is the app's (VK-977). */
|
|
4907
|
-
.o-popover:has(.o-sort-editor[data-sort-form="computer"]) {
|
|
4964
|
+
width on this one, is the app's (VK-977), and the app's --vk-panel-w sets it (--popover-size-w, VK-992). */
|
|
4965
|
+
.o-popover:has(.o-sort-editor[data-sort-form="computer"]) {
|
|
4966
|
+
width: var(--popover-size-w, max-content); min-width: var(--popover-size-w, max(var(--anchor-width, 0px), calc(var(--vk-spacing) * 72)));
|
|
4967
|
+
}
|
|
4908
4968
|
|
|
4909
4969
|
/* A list a page shows standing open: under what opens it, over the rules, as the Select's list stands, as wide as its rows, never
|
|
4910
4970
|
under 192 nor its box, never past 288 (listWidth, select.css). Scoped to the editor, so it wins over the smooth list's own
|
|
@@ -5554,6 +5614,12 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
5554
5614
|
width: max(100%, calc(var(--vk-spacing) * 75)); max-width: none; max-height: calc(var(--vk-spacing) * 80);
|
|
5555
5615
|
box-shadow: var(--vk-shadow-lg), inset 0 0 0 var(--inline-input-ring, 0px) var(--inline-input-colour);
|
|
5556
5616
|
}
|
|
5617
|
+
/* In a grid's cell (data-inline-input-place="cell", inline-input.css), never lifted, grown or long: the cell typed in shows only
|
|
5618
|
+
the caret. (0,5,0): over the two lifts above. */
|
|
5619
|
+
[data-inline-input-place="cell"] .o-text-editor[data-text-box][data-grown] .o-text-editor-box,
|
|
5620
|
+
[data-inline-input-place="cell"] .o-text-editor[data-text-box][data-text-kind="long"] .o-text-editor-box {
|
|
5621
|
+
box-shadow: inset 0 0 0 var(--inline-input-ring, 0px) var(--inline-input-colour);
|
|
5622
|
+
}
|
|
5557
5623
|
/* What a line's own width is read by: the box's font, on one line, unseen. */
|
|
5558
5624
|
.o-text-editor-mirror {
|
|
5559
5625
|
position: absolute; top: 0; left: 0; width: max-content; height: 0; overflow: hidden; visibility: hidden; pointer-events: none;
|
|
@@ -5867,6 +5933,11 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
5867
5933
|
as it draws, and folds them a step at a time. */
|
|
5868
5934
|
.o-toolbar-folds { display: inline-flex; flex: none; min-width: max-content; align-items: center; }
|
|
5869
5935
|
|
|
5936
|
+
/* A phone's first paint (VK-1038): server-rendered, the toolbar and the grid stand twice, the phone's form and the computer's
|
|
5937
|
+
(`ScreenForms`, internal/screen-forms.tsx), and this shows the screen's at ViewKit's own line, as the inline rules beside them
|
|
5938
|
+
do at the app's: here for a page whose policy refuses an inline style. Kept on one line, as screenFormsCss writes it. */
|
|
5939
|
+
[data-vk-screen-forms]{display:contents}[data-vk-twin="computer"][data-vk-twin-line="(min-width: 1024px)"]{display:none}@media (min-width: 1024px){[data-vk-twin="computer"][data-vk-twin-line="(min-width: 1024px)"]{display:contents}[data-vk-twin="phone"][data-vk-twin-line="(min-width: 1024px)"]{display:none}}
|
|
5940
|
+
|
|
5870
5941
|
/* ── The tooltip: the page's text colour as its ground and the page's ground as its words, so it stands
|
|
5871
5942
|
out in both themes with no shadow; 6px by 8px, ¾ of the radius, 6px from what it names ──────────── */
|
|
5872
5943
|
.o-tooltip {
|
|
@@ -5876,14 +5947,16 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
5876
5947
|
background-color: var(--vk-fg); color: var(--vk-ground);
|
|
5877
5948
|
font-size: var(--vk-font-size-xs); line-height: calc(var(--vk-font-size-xs) * var(--vk-line-height-xs)); font-weight: var(--vk-font-weight-medium);
|
|
5878
5949
|
pointer-events: none;
|
|
5879
|
-
|
|
5950
|
+
transform-origin: var(--transform-origin); transition-property: opacity, translate, scale;
|
|
5951
|
+
transition-duration: var(--vk-popup-open-duration, var(--vk-duration-fast)); transition-timing-function: var(--vk-popup-open-ease, var(--vk-ease-out));
|
|
5880
5952
|
}
|
|
5881
5953
|
.o-tooltip-positioner { z-index: var(--vk-layer-popup); }
|
|
5882
5954
|
/* What it names hands its script its times, read there so a look set round it reaches them: the wait before it shows, how long a
|
|
5883
5955
|
tapped reason stays, and a group's warm time. */
|
|
5884
5956
|
.o-tooltip-trigger { --tooltip-wait: var(--vk-tooltip-delay); --tooltip-tap: var(--vk-toast-duration); --tooltip-warm-now: var(--vk-tooltip-warm); }
|
|
5885
|
-
/* It fades in and rises 2px. */
|
|
5886
|
-
.o-tooltip
|
|
5957
|
+
/* It fades in and rises 2px, half a popup's nudge, in 150ms each way, easing out both ways (popover.css): or as the popup motion names say. */
|
|
5958
|
+
.o-tooltip[data-ending-style] { transition-duration: var(--vk-popup-close-duration, var(--vk-duration-fast)); transition-timing-function: var(--vk-popup-close-ease, var(--vk-ease-out)); }
|
|
5959
|
+
.o-tooltip:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: 0 calc(var(--vk-popup-nudge, var(--vk-spacing)) * 0.5); scale: var(--vk-popup-scale, none); }
|
|
5887
5960
|
|
|
5888
5961
|
/* ── A longer reason: it wraps, at least 200px wide and at most 320px, in the regular weight ────────── */
|
|
5889
5962
|
.o-tooltip.o-tooltip-reason { width: auto; min-width: calc(var(--vk-spacing) * 50); font-weight: var(--vk-font-weight-normal); }
|
|
@@ -6090,16 +6163,31 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6090
6163
|
.o-values-editor[data-values-line="plus"] .o-values-editor-prefix { color: var(--vk-fg-subtlest); }
|
|
6091
6164
|
.o-values-editor[data-values-line="plus"] .o-values-editor-error { margin: var(--vk-spacing) 0 var(--vk-spacing) calc(var(--vk-spacing) * 7); }
|
|
6092
6165
|
|
|
6093
|
-
/* ── Attio's look on a phone (data-values-phone="rows"): one card, rows 48 high at 16, each with its grip, its
|
|
6094
|
-
write or open and its trash; the line in the card under a line; a refusal's words under the card
|
|
6166
|
+
/* ── Attio's look on a phone (data-values-phone="rows"): one card, rows 48 high at 16, each with its grip, its value over its
|
|
6167
|
+
label, its call, write or open and its trash; the line in the card under a line; a refusal's words under the card ────────── */
|
|
6095
6168
|
.o-values-editor[data-values-phone="rows"] .o-values-editor-card { white-space: normal; }
|
|
6096
|
-
/* Its row's inside: the grip at its start's edge, its acts at its end, the computer's row height let go.
|
|
6097
|
-
|
|
6169
|
+
/* Its row's inside: the grip at its start's edge, its acts at its end, the computer's row height let go. The value takes the whole
|
|
6170
|
+
line between them, its label under it (Mihai, 4 Dec 2026), so a phone number reads whole at 375; a value with no label stands
|
|
6171
|
+
alone in the middle; a value edited spans both lines. */
|
|
6172
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row {
|
|
6173
|
+
display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "grip value acts" "grip label acts"; align-items: center;
|
|
6174
|
+
gap: 0; height: auto; padding: 0 var(--vk-spacing) 0 calc(var(--vk-spacing) * 0.5); border-radius: 0;
|
|
6175
|
+
}
|
|
6176
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row > .o-values-editor-grip { grid-area: grip; }
|
|
6177
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row > .o-values-editor-value { grid-area: value; justify-self: start; max-width: 100%; }
|
|
6178
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row > .o-values-editor-label { grid-area: label; justify-self: start; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
|
|
6179
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row > .o-values-editor-acts { grid-area: acts; }
|
|
6180
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row > .o-values-editor-edit { grid-column: 2 / -1; grid-row: 1 / -1; }
|
|
6181
|
+
/* With a label under it, the value and its label stand together in the row's height, 4 above and below. */
|
|
6182
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row:has(> .o-values-editor-label) { padding-block: var(--vk-spacing); }
|
|
6183
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row:has(> .o-values-editor-label) > .o-values-editor-value { min-height: 0; align-self: end; }
|
|
6184
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row:has(> .o-values-editor-label) > .o-values-editor-label { align-self: start; }
|
|
6098
6185
|
@media (hover: hover) { .o-values-editor[data-values-phone="rows"] .o-values-editor-row:hover { background-color: transparent; } }
|
|
6099
6186
|
.o-values-editor[data-values-phone="rows"] .o-values-editor-row[data-lifted] { background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg); }
|
|
6100
6187
|
.o-values-editor[data-values-holds="one"][data-values-phone="rows"] .o-values-editor-row { padding-left: calc(var(--vk-spacing) * 3); }
|
|
6101
6188
|
.o-values-editor[data-values-phone="rows"] .o-values-editor-value { flex: 0 1 auto; min-width: 0; min-height: calc(var(--vk-spacing) * 11); cursor: text; text-decoration-color: var(--vk-brand-subtler); text-underline-offset: var(--vk-spacing); }
|
|
6102
|
-
|
|
6189
|
+
/* Its label under it, where it starts. */
|
|
6190
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-label { margin-left: 0; padding-left: 0; color: var(--vk-fg-subtlest); font-size: var(--vk-font-size-sm); }
|
|
6103
6191
|
.o-values-editor-acts { display: flex; flex: none; margin-left: auto; }
|
|
6104
6192
|
.o-values-editor-label + .o-values-editor-acts { margin-left: 0; }
|
|
6105
6193
|
.o-values-editor[data-values-phone="rows"] .o-values-editor-remove { opacity: 1; }
|
|
@@ -6346,15 +6434,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6346
6434
|
.z-\[calc\(7\*var\(--vk-scrolled\,0\)\+1\)\] {
|
|
6347
6435
|
z-index: calc(7 * var(--vk-scrolled,0) + 1);
|
|
6348
6436
|
}
|
|
6349
|
-
.col-span-2 {
|
|
6350
|
-
grid-column: span 2 / span 2;
|
|
6351
|
-
}
|
|
6352
|
-
.col-start-2 {
|
|
6353
|
-
grid-column-start: 2;
|
|
6354
|
-
}
|
|
6355
|
-
.row-start-2 {
|
|
6356
|
-
grid-row-start: 2;
|
|
6357
|
-
}
|
|
6358
6437
|
.clear-none {
|
|
6359
6438
|
clear: none;
|
|
6360
6439
|
}
|
|
@@ -6677,6 +6756,24 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6677
6756
|
.w-\(--vk-head-glyph\) {
|
|
6678
6757
|
width: var(--vk-head-glyph);
|
|
6679
6758
|
}
|
|
6759
|
+
.w-\(--vk-panel-w\,calc\(var\(--spacing\)\*60\)\) {
|
|
6760
|
+
width: var(--vk-panel-w,calc(4px * 60));
|
|
6761
|
+
}
|
|
6762
|
+
.w-\(--vk-panel-w\,calc\(var\(--spacing\)\*62\)\) {
|
|
6763
|
+
width: var(--vk-panel-w,calc(4px * 62));
|
|
6764
|
+
}
|
|
6765
|
+
.w-\(--vk-panel-w\,calc\(var\(--spacing\)\*64\)\) {
|
|
6766
|
+
width: var(--vk-panel-w,calc(4px * 64));
|
|
6767
|
+
}
|
|
6768
|
+
.w-\(--vk-panel-w\,calc\(var\(--spacing\)\*72\)\) {
|
|
6769
|
+
width: var(--vk-panel-w,calc(4px * 72));
|
|
6770
|
+
}
|
|
6771
|
+
.w-\(--vk-panel-w\,calc\(var\(--spacing\)\*75\)\) {
|
|
6772
|
+
width: var(--vk-panel-w,calc(4px * 75));
|
|
6773
|
+
}
|
|
6774
|
+
.w-\(--vk-panel-w\,fit-content\) {
|
|
6775
|
+
width: var(--vk-panel-w,fit-content);
|
|
6776
|
+
}
|
|
6680
6777
|
.w-\(--vk-rail-w\) {
|
|
6681
6778
|
width: var(--vk-rail-w);
|
|
6682
6779
|
}
|
|
@@ -6725,12 +6822,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6725
6822
|
.w-48 {
|
|
6726
6823
|
width: calc(4px * 48);
|
|
6727
6824
|
}
|
|
6728
|
-
.w-60 {
|
|
6729
|
-
width: calc(4px * 60);
|
|
6730
|
-
}
|
|
6731
|
-
.w-62 {
|
|
6732
|
-
width: calc(4px * 62);
|
|
6733
|
-
}
|
|
6734
6825
|
.w-64 {
|
|
6735
6826
|
width: calc(4px * 64);
|
|
6736
6827
|
}
|
|
@@ -6896,12 +6987,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6896
6987
|
.grid-cols-\(--vk-cols\) {
|
|
6897
6988
|
grid-template-columns: var(--vk-cols);
|
|
6898
6989
|
}
|
|
6899
|
-
.grid-cols-\[auto_minmax\(0\,1fr\)_auto\] {
|
|
6900
|
-
grid-template-columns: auto minmax(0,1fr) auto;
|
|
6901
|
-
}
|
|
6902
|
-
.grid-cols-\[auto_var\(--vk-field-row-label-w\,calc\(var\(--spacing\)\*32\)\)_minmax\(0\,1fr\)_auto\] {
|
|
6903
|
-
grid-template-columns: auto var(--vk-field-row-label-w,calc(4px * 32)) minmax(0,1fr) auto;
|
|
6904
|
-
}
|
|
6905
6990
|
.grid-rows-\[auto\] {
|
|
6906
6991
|
grid-template-rows: auto;
|
|
6907
6992
|
}
|
|
@@ -7111,9 +7196,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
7111
7196
|
.border-\(color\:--vk-border\) {
|
|
7112
7197
|
border-color: var(--vk-border);
|
|
7113
7198
|
}
|
|
7114
|
-
.border-\(color\:--vk-border-brand\) {
|
|
7115
|
-
border-color: var(--vk-border-brand);
|
|
7116
|
-
}
|
|
7117
7199
|
.border-\(color\:--vk-border-subtle\) {
|
|
7118
7200
|
border-color: var(--vk-border-subtle);
|
|
7119
7201
|
}
|
|
@@ -7129,9 +7211,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
7129
7211
|
.border-\(color\:--vk-outline\,var\(--vk-fg-subtle\)\) {
|
|
7130
7212
|
border-color: var(--vk-outline,var(--vk-fg-subtle));
|
|
7131
7213
|
}
|
|
7132
|
-
.border-\(color\:--vk-outline-active\,var\(--vk-border-brand\)\) {
|
|
7133
|
-
border-color: var(--vk-outline-active,var(--vk-border-brand));
|
|
7134
|
-
}
|
|
7135
7214
|
.border-\[var\(--vk-warning\,hsl\(38_92\%_50\%\)\)\] {
|
|
7136
7215
|
border-color: var(--vk-warning,hsl(38 92% 50%));
|
|
7137
7216
|
}
|
|
@@ -7864,18 +7943,10 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
7864
7943
|
}
|
|
7865
7944
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
7866
7945
|
}
|
|
7867
|
-
.shadow-\[var\(--vk-editing-shadow\,0_10px_15px_-3px_rgb\(0_0_0\/0\.2\)\,0_4px_6px_-4px_rgb\(0_0_0\/0\.2\)\)\] {
|
|
7868
|
-
--tw-shadow: var(--vk-editing-shadow,0 10px 15px -3px rgb(0 0 0/0.2),0 4px 6px -4px rgb(0 0 0/0.2));
|
|
7869
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
7870
|
-
}
|
|
7871
7946
|
.shadow-\[var\(--vk-float-shadow\,0_8px_24px_rgb\(0_0_0\/0\.12\)\)\] {
|
|
7872
7947
|
--tw-shadow: var(--vk-float-shadow,0 8px 24px rgb(0 0 0/0.12));
|
|
7873
7948
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
7874
7949
|
}
|
|
7875
|
-
.shadow-lg {
|
|
7876
|
-
--tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
7877
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
7878
|
-
}
|
|
7879
7950
|
.shadow-md {
|
|
7880
7951
|
--tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
|
|
7881
7952
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -7946,14 +8017,14 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
7946
8017
|
transition-timing-function: var(--tw-ease, ease);
|
|
7947
8018
|
transition-duration: var(--tw-duration, 0s);
|
|
7948
8019
|
}
|
|
7949
|
-
.duration-\(--vk-duration\,100ms\) {
|
|
7950
|
-
--tw-duration: var(--vk-duration,100ms);
|
|
7951
|
-
transition-duration: var(--vk-duration,100ms);
|
|
7952
|
-
}
|
|
7953
8020
|
.duration-\(--vk-duration\,150ms\) {
|
|
7954
8021
|
--tw-duration: var(--vk-duration,150ms);
|
|
7955
8022
|
transition-duration: var(--vk-duration,150ms);
|
|
7956
8023
|
}
|
|
8024
|
+
.duration-\(--vk-popup-open-duration\,var\(--vk-duration\,150ms\)\) {
|
|
8025
|
+
--tw-duration: var(--vk-popup-open-duration,var(--vk-duration,150ms));
|
|
8026
|
+
transition-duration: var(--vk-popup-open-duration,var(--vk-duration,150ms));
|
|
8027
|
+
}
|
|
7957
8028
|
.duration-150 {
|
|
7958
8029
|
--tw-duration: 150ms;
|
|
7959
8030
|
transition-duration: 150ms;
|
|
@@ -8127,6 +8198,15 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8127
8198
|
.group-data-desktop\/gridtable\:group-data-hovered\/gridrow\:opacity-100:is(:where(.group\/gridtable)[data-desktop] *):is(:where(.group\/gridrow)[data-hovered] *) {
|
|
8128
8199
|
opacity: 100%;
|
|
8129
8200
|
}
|
|
8201
|
+
.group-data-\[form\=phone\]\/field-row\:col-span-2:is(:where(.group\/field-row)[data-form="phone"] *) {
|
|
8202
|
+
grid-column: span 2 / span 2;
|
|
8203
|
+
}
|
|
8204
|
+
.group-data-\[form\=phone\]\/field-row\:col-start-2:is(:where(.group\/field-row)[data-form="phone"] *) {
|
|
8205
|
+
grid-column-start: 2;
|
|
8206
|
+
}
|
|
8207
|
+
.group-data-\[form\=phone\]\/field-row\:row-start-2:is(:where(.group\/field-row)[data-form="phone"] *) {
|
|
8208
|
+
grid-row-start: 2;
|
|
8209
|
+
}
|
|
8130
8210
|
.group-data-\[rail\=on\]\/gridtable\:opacity-100:is(:where(.group\/gridtable)[data-rail="on"] *) {
|
|
8131
8211
|
opacity: 100%;
|
|
8132
8212
|
}
|
|
@@ -8412,6 +8492,9 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8412
8492
|
.disabled\:opacity-50:disabled {
|
|
8413
8493
|
opacity: 50%;
|
|
8414
8494
|
}
|
|
8495
|
+
:where([data-field-row-icon="off"]) .group-data-\[form\=computer\]\/field-row\:in-data-\[field-row-icon\=off\]\:hidden:is(:where(.group\/field-row)[data-form="computer"] *) {
|
|
8496
|
+
display: none;
|
|
8497
|
+
}
|
|
8415
8498
|
.has-data-grown\:z-11:has([data-grown]) {
|
|
8416
8499
|
z-index: 11;
|
|
8417
8500
|
}
|
|
@@ -8456,6 +8539,10 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8456
8539
|
.data-desktop\:group-has-\[\:focus-visible\]\:opacity-100[data-desktop]:is(:where(.group):has(:is(:focus-visible)) *) {
|
|
8457
8540
|
opacity: 100%;
|
|
8458
8541
|
}
|
|
8542
|
+
.data-ending-style\:duration-\(--vk-popup-close-duration\,var\(--vk-duration\,150ms\)\)[data-ending-style] {
|
|
8543
|
+
--tw-duration: var(--vk-popup-close-duration,var(--vk-duration,150ms));
|
|
8544
|
+
transition-duration: var(--vk-popup-close-duration,var(--vk-duration,150ms));
|
|
8545
|
+
}
|
|
8459
8546
|
.data-grown\:z-2[data-grown] {
|
|
8460
8547
|
z-index: 2;
|
|
8461
8548
|
}
|
|
@@ -8488,12 +8575,28 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8488
8575
|
:is(.\*\*\:data-vs-detail\:max-h-none *)[data-vs-detail] {
|
|
8489
8576
|
max-height: none;
|
|
8490
8577
|
}
|
|
8578
|
+
.data-\[form\=computer\]\:grid-cols-\[auto_var\(--vk-field-row-label-w\,calc\(var\(--spacing\)\*32\)\)_minmax\(0\,1fr\)_auto\][data-form="computer"] {
|
|
8579
|
+
grid-template-columns: auto var(--vk-field-row-label-w,calc(4px * 32)) minmax(0,1fr) auto;
|
|
8580
|
+
}
|
|
8581
|
+
:where([data-field-row-icon="off"]) .data-\[form\=computer\]\:in-data-\[field-row-icon\=off\]\:grid-cols-\[var\(--vk-field-row-label-w\,calc\(var\(--spacing\)\*32\)\)_minmax\(0\,1fr\)_auto\][data-form="computer"] {
|
|
8582
|
+
grid-template-columns: var(--vk-field-row-label-w,calc(4px * 32)) minmax(0,1fr) auto;
|
|
8583
|
+
}
|
|
8584
|
+
.data-\[form\=phone\]\:grid-cols-\[auto_minmax\(0\,1fr\)_auto\][data-form="phone"] {
|
|
8585
|
+
grid-template-columns: auto minmax(0,1fr) auto;
|
|
8586
|
+
}
|
|
8587
|
+
.data-\[form\=phone\]\:gap-y-1[data-form="phone"] {
|
|
8588
|
+
row-gap: 4px;
|
|
8589
|
+
}
|
|
8491
8590
|
.data-\[side\=end\]\:right-0[data-side="end"] {
|
|
8492
8591
|
right: 0px;
|
|
8493
8592
|
}
|
|
8494
8593
|
.data-\[side\=end\]\:left-auto[data-side="end"] {
|
|
8495
8594
|
left: auto;
|
|
8496
8595
|
}
|
|
8596
|
+
.data-\[state\=closed\]\:duration-\(--vk-popup-close-duration\,var\(--vk-duration\,150ms\)\)[data-state="closed"] {
|
|
8597
|
+
--tw-duration: var(--vk-popup-close-duration,var(--vk-duration,150ms));
|
|
8598
|
+
transition-duration: var(--vk-popup-close-duration,var(--vk-duration,150ms));
|
|
8599
|
+
}
|
|
8497
8600
|
.data-desktop\:data-\[state\=open\]\:opacity-100[data-desktop][data-state="open"] {
|
|
8498
8601
|
opacity: 100%;
|
|
8499
8602
|
}
|
|
@@ -8504,10 +8607,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8504
8607
|
--tw-gradient-from: var(--vk-frozen-shadow,rgb(0 0 0/0.6));
|
|
8505
8608
|
--tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
|
|
8506
8609
|
}
|
|
8507
|
-
.dark\:shadow-\[var\(--vk-editing-shadow\,0_10px_15px_-3px_rgb\(0_0_0\/0\.5\)\,0_4px_6px_-4px_rgb\(0_0_0\/0\.5\)\)\]:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *) {
|
|
8508
|
-
--tw-shadow: var(--vk-editing-shadow,0 10px 15px -3px rgb(0 0 0/0.5),0 4px 6px -4px rgb(0 0 0/0.5));
|
|
8509
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
8510
|
-
}
|
|
8511
8610
|
@media (hover: hover) {
|
|
8512
8611
|
.dark\:hover\:shadow-\[var\(--vk-outline-hover-shadow\,0_1px_2px_rgb\(0_0_0\/0\.22\)\)\]:where(.dark, .dark *, [data-theme="dark"], [data-theme="dark"] *):hover {
|
|
8513
8612
|
--tw-shadow: var(--vk-outline-hover-shadow,0 1px 2px rgb(0 0 0/0.22));
|
|
@@ -8600,6 +8699,14 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8600
8699
|
display: block;
|
|
8601
8700
|
}
|
|
8602
8701
|
}
|
|
8702
|
+
[data-vk-screen-forms]:last-child > .\[\[data-vk-screen-forms\]\:last-child\>\&\]\:border-0 {
|
|
8703
|
+
border-style: var(--tw-border-style);
|
|
8704
|
+
border-width: 0px;
|
|
8705
|
+
}
|
|
8706
|
+
[data-vk-twin=computer]:has( + [data-vk-twin=phone]:last-child) > .\[\[data-vk-twin\=computer\]\:has\(\+\[data-vk-twin\=phone\]\:last-child\)\>\&\]\:border-0 {
|
|
8707
|
+
border-style: var(--tw-border-style);
|
|
8708
|
+
border-width: 0px;
|
|
8709
|
+
}
|
|
8603
8710
|
[data-slot="vk-grid"] {
|
|
8604
8711
|
--vk-duration: var(--vk-duration-fast);
|
|
8605
8712
|
--vk-caption-text: var(--vk-font-size-2xs);
|
|
@@ -8654,8 +8761,8 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8654
8761
|
[data-grid-lines="off"] [data-slot="vk-grid-gap"] {
|
|
8655
8762
|
--vk-border-subtle: transparent;
|
|
8656
8763
|
}
|
|
8657
|
-
[data-grid-cell="wash"] [data-slot="vk-grid-cell"][data-focused],
|
|
8658
|
-
[data-slot="vk-grid-cell"][data-focused]:not([data-grid-cell] *) {
|
|
8764
|
+
[data-grid-cell="wash"] [data-slot="vk-grid-cell"][data-focused]:not([data-editing]),
|
|
8765
|
+
[data-slot="vk-grid-cell"][data-focused]:not([data-editing]):not([data-grid-cell] *) {
|
|
8659
8766
|
background-color: var(--vk-brand-subtlest);
|
|
8660
8767
|
}
|
|
8661
8768
|
[data-grid-corners="square"] [data-slot="vk-grid"] { --vk-outline-radius: 0; }
|
|
@@ -8669,12 +8776,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8669
8776
|
[data-slot="vk-grid"]:not([data-grid-frame] *) { --vk-outline: var(--vk-border-accent); }
|
|
8670
8777
|
[data-grid-frame="neutral"] [data-slot="vk-grid"] { --vk-outline: var(--vk-border-bold); }
|
|
8671
8778
|
[data-slot="vk-grid"] { --vk-outline-active: var(--vk-border-accent); }
|
|
8672
|
-
[data-slot="vk-grid-cell"][data-editing]:has([data-kit="text-editor"], [data-kit="number-editor"]) [data-slot="vk-grid-outline"] {
|
|
8673
|
-
display: none;
|
|
8674
|
-
}
|
|
8675
|
-
:root:has([data-slot="vk-grid-editor"] [data-kit="picker"], [data-slot="vk-grid-editor"] [data-kit="compound-editor"], [data-slot="vk-grid-editor"] [data-kit="values-editor"], [data-slot="vk-grid-editor"] [data-kit="date-editor"]) [data-slot="vk-grid-cell"][data-editing] [data-slot="vk-grid-outline"] {
|
|
8676
|
-
display: none;
|
|
8677
|
-
}
|
|
8678
8779
|
[data-grid-picked="tint"] [data-slot="vk-grid"] {
|
|
8679
8780
|
--vk-selection-edge: transparent;
|
|
8680
8781
|
}
|