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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! viewkitjs 0.
|
|
1
|
+
/*! viewkitjs 0.37.0 · viewkitjs/views/styles.unlayered.css: ViewKit's look, its defaults the Outright look */
|
|
2
2
|
|
|
3
3
|
@layer base {
|
|
4
4
|
@layer viewkit {:where(*):where(:is([data-slot^="vk-"]:not([data-slot^="vk-sort"], [data-slot^="vk-filter"], [data-slot^="vk-group"], [data-slot^="vk-customize"], [data-slot^="vk-views-list"], [data-slot^="vk-view-menu"], [data-slot^="vk-quick"], [data-slot^="vk-date"], [data-slot^="vk-calendar"], [data-slot^="vk-text"], [data-slot^="vk-number"], [data-slot^="vk-parts"], [data-slot^="vk-values"], [data-slot^="vk-links"], [data-slot^="vk-picker"], [data-slot^="vk-bulk"], [data-slot="vk-editor-close"], [data-slot="vk-editor-save"], [data-slot="vk-editor-back"], [data-slot="vk-editor-cancel"]), [data-slot="vk-sort-head"], [data-slot="vk-filter-head"], [data-slot="vk-filter-convert"], [data-slot="vk-quick-head"], [data-slot="vk-views-list-head"], [data-slot="vk-quick-filters-reminder"], [data-slot="vk-quick-filters-reminder-open"], [data-slot="vk-quick-filters-reminder-clear"], [data-slot="vk-date-editor"], [data-slot="vk-text-editor"], [data-slot="vk-text-body"], [data-slot="vk-number-body"], [data-slot="vk-parts-body"], [data-slot="vk-values-body"], [data-slot="vk-links-body"], [data-vk-body]), :is([data-slot^="vk-"]:not([data-slot^="vk-sort"], [data-slot^="vk-filter"], [data-slot^="vk-group"], [data-slot^="vk-customize"], [data-slot^="vk-views-list"], [data-slot^="vk-view-menu"], [data-slot^="vk-quick"], [data-slot^="vk-date"], [data-slot^="vk-calendar"], [data-slot^="vk-text"], [data-slot^="vk-number"], [data-slot^="vk-parts"], [data-slot^="vk-values"], [data-slot^="vk-links"], [data-slot^="vk-picker"], [data-slot^="vk-bulk"], [data-slot="vk-editor-close"], [data-slot="vk-editor-save"], [data-slot="vk-editor-back"], [data-slot="vk-editor-cancel"]), [data-slot="vk-sort-head"], [data-slot="vk-filter-head"], [data-slot="vk-filter-convert"], [data-slot="vk-quick-head"], [data-slot="vk-views-list-head"], [data-slot="vk-quick-filters-reminder"], [data-slot="vk-quick-filters-reminder-open"], [data-slot="vk-quick-filters-reminder-clear"], [data-slot="vk-date-editor"], [data-slot="vk-text-editor"], [data-slot="vk-text-body"], [data-slot="vk-number-body"], [data-slot="vk-parts-body"], [data-slot="vk-values-body"], [data-slot="vk-links-body"], [data-vk-body]) *),
|
|
@@ -1833,6 +1833,10 @@ button.o-field-row { cursor: pointer; }
|
|
|
1833
1833
|
.o-field-rows-slot + .o-field-rows-slot::before { content: " "; }
|
|
1834
1834
|
.o-field-rows-slot > .o-field-error { color: var(--vk-danger); }
|
|
1835
1835
|
.o-field-rows-foot:has(.o-field-error) .o-field-note { display: none; }
|
|
1836
|
+
/* A phone's first paint: server-rendered, Field rows' card stands twice, the phone's form and the computer's (`ScreenForms`,
|
|
1837
|
+
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
|
|
1838
|
+
that imports this card's stylesheet alone, on a page whose policy refuses an inline style. Kept on one line, as screenFormsCss writes it. */
|
|
1839
|
+
[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}}
|
|
1836
1840
|
|
|
1837
1841
|
.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)); }
|
|
1838
1842
|
.o-filter-editor:focus { outline: none; }
|
|
@@ -2108,6 +2112,15 @@ button.o-field-row { cursor: pointer; }
|
|
|
2108
2112
|
[data-inline-input-tint="10"] { --inline-input-tint: 100%; }
|
|
2109
2113
|
[data-inline-input-ground="none"] { --inline-input-ground: var(--vk-input); }
|
|
2110
2114
|
|
|
2115
|
+
/* ── In a grid's cell: only the caret ─────────────────────────────────────────────────────────────────────────────────────
|
|
2116
|
+
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
|
|
2117
|
+
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
|
|
2118
|
+
the body or the box that fits it), it takes the plain ground, so the values it stands over don't show through. */
|
|
2119
|
+
[data-inline-input-place="cell"] { --inline-input-edge: 0px; --inline-input-ring: 0px; --inline-input-ground: transparent; }
|
|
2120
|
+
[data-inline-input-place="cell"] [data-grown] { --inline-input-ground: var(--vk-overlay); }
|
|
2121
|
+
/* Refused there, it takes its ring back, red, so the box says what the line under it explains. */
|
|
2122
|
+
[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); }
|
|
2123
|
+
|
|
2111
2124
|
/* ── The box ──────────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
2112
2125
|
.o-inline-input.o-inline-input {
|
|
2113
2126
|
--inline-input-at: var(--inline-input-row, calc(var(--vk-spacing) * 9));
|
|
@@ -2751,9 +2764,12 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
2751
2764
|
box-sizing: border-box; display: grid; padding: var(--list-pad, calc(var(--vk-spacing) * 1.5));
|
|
2752
2765
|
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)));
|
|
2753
2766
|
background-color: var(--vk-overlay); box-shadow: var(--list-shadow, var(--vk-shadow-xl)); color: var(--vk-fg); outline: none;
|
|
2754
|
-
|
|
2767
|
+
transform-origin: var(--transform-origin); transition-property: opacity, translate, scale;
|
|
2768
|
+
transition-duration: var(--vk-popup-open-duration, var(--vk-duration-fast)); transition-timing-function: var(--vk-popup-open-ease, var(--vk-ease-out));
|
|
2755
2769
|
}
|
|
2756
|
-
.
|
|
2770
|
+
/* As every popup moves (popover.css): in 150ms each way, easing out both ways, or as the popup motion names say. */
|
|
2771
|
+
.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)); }
|
|
2772
|
+
.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); }
|
|
2757
2773
|
.o-list-positioner { z-index: var(--vk-layer-popup); outline: none; }
|
|
2758
2774
|
|
|
2759
2775
|
/* ── A row: 32px, the radius's corners, text-sm; under the pointer or the keyboard the overlay's hover ─ */
|
|
@@ -3106,11 +3122,11 @@ textarea.o-input-control.o-input-lines { flex: none; min-height: 0; max-height:
|
|
|
3106
3122
|
takes a press on that overlay's dim and closes alone. ─────────────────────────────────────────────────── */
|
|
3107
3123
|
.o-menu-portal > [role="presentation"] { z-index: var(--vk-layer-popup); }
|
|
3108
3124
|
|
|
3109
|
-
/* ── The panel: it fits its widest row, 208px to 320px; its shadow, edge, corners and padding the list's options (list.css) ── */
|
|
3110
|
-
.o-list.o-menu { width: max-content; min-width: calc(var(--vk-spacing) * 52); max-width: calc(var(--vk-spacing) * 80); }
|
|
3111
|
-
/* Never taller than the room on screen: its rows, which alone scroll (MenuScroll, menu-list.css), stand in the panel's
|
|
3125
|
+
/* ── 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) ── */
|
|
3126
|
+
.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)); }
|
|
3127
|
+
/* 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
|
|
3112
3128
|
padding, the kit's scrollbar over them; the panel and its edge stay still. */
|
|
3113
|
-
.o-list.o-menu { max-height: var(--available-height); grid-template-rows: minmax(0, 1fr); }
|
|
3129
|
+
.o-list.o-menu { max-height: min(var(--vk-menu-max-h, var(--available-height)), var(--available-height)); grid-template-rows: minmax(0, 1fr); }
|
|
3114
3130
|
|
|
3115
3131
|
/* ── The ⋯ button: under the pointer and while its menu is open, the neutral fill and the text colour ─ */
|
|
3116
3132
|
.o-button.o-menu-dots { color: var(--vk-fg-subtle); }
|
|
@@ -3506,7 +3522,7 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3506
3522
|
/* Its title, when what stands in it has one: text-sm at medium weight. */
|
|
3507
3523
|
.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); }
|
|
3508
3524
|
|
|
3509
|
-
/* It fades in and moves a step in from the right
|
|
3525
|
+
/* It fades in and moves a step in from the right, in 150ms, and leaves the same way, easing in. */
|
|
3510
3526
|
.o-pane[data-ending-style] { transition-timing-function: var(--vk-ease-in); }
|
|
3511
3527
|
.o-pane:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: var(--vk-spacing) 0; }
|
|
3512
3528
|
|
|
@@ -3655,14 +3671,14 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3655
3671
|
|
|
3656
3672
|
/* ── On a computer it follows the list's rules, so a Picker and a Select's list side by
|
|
3657
3673
|
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
|
|
3658
|
-
(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
|
|
3674
|
+
(--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
|
|
3659
3675
|
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,
|
|
3660
3676
|
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
|
|
3661
3677
|
options it needs; the Popover knows nothing of what it holds. ── */
|
|
3662
3678
|
.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))));
|
|
3663
3679
|
--list-row-pill-in: var(--list-row-corners-pill, var(--list-row-pill, var(--list-box-pill, 0))); }
|
|
3664
3680
|
.o-picker[data-picker-form="computer"] .o-picker-rows {
|
|
3665
|
-
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));
|
|
3681
|
+
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));
|
|
3666
3682
|
}
|
|
3667
3683
|
/* ViewKit's field list (CONTROLS.FieldsBody, wrapped in .o-fields-body, which draws no box) stands as wide as its widest row:
|
|
3668
3684
|
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
|
|
@@ -3672,7 +3688,9 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3672
3688
|
/* Never narrower than it opened nor than its search's placeholder (map-fields-body.tsx measures both as it opens). */
|
|
3673
3689
|
.o-fields-body .o-picker[data-picker-form="computer"] { min-width: var(--picker-floor, 0px); }
|
|
3674
3690
|
.o-fields-body .o-picker[data-picker-form="computer"] .o-list-row:not([data-selected], [aria-selected="true"]) > .o-picker-check { display: none; }
|
|
3675
|
-
.o-popover:has(> .o-popover-cut > .o-fields-body .o-picker[data-picker-form="computer"]) {
|
|
3691
|
+
.o-popover:has(> .o-popover-cut > .o-fields-body .o-picker[data-picker-form="computer"]) {
|
|
3692
|
+
width: var(--popover-size-w, fit-content); max-width: min(var(--popover-size-w, calc(var(--vk-spacing) * 72)), var(--available-width, 100%));
|
|
3693
|
+
}
|
|
3676
3694
|
.o-popover:has(.o-picker[data-picker-form="computer"]):not(:has([data-kit$="-editor"])) {
|
|
3677
3695
|
--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));
|
|
3678
3696
|
--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)));
|
|
@@ -3855,12 +3873,31 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3855
3873
|
--popover-gap: var(--vk-spacing); --popover-edge: var(--vk-border); --divider-colour: var(--vk-border);
|
|
3856
3874
|
--divider-reach: max(0px, calc(var(--popover-pad) - var(--vk-border-width)));
|
|
3857
3875
|
box-sizing: border-box; display: flex; flex-direction: column;
|
|
3858
|
-
|
|
3876
|
+
--popover-size-w: initial; --popover-size-h: initial;
|
|
3877
|
+
width: var(--popover-size-w, calc(var(--vk-spacing) * 72)); min-width: var(--popover-size-w, var(--anchor-width, auto));
|
|
3878
|
+
max-width: var(--available-width, 100%); max-height: var(--popover-size-h, var(--available-height, none));
|
|
3859
3879
|
border-radius: var(--popover-corners); background-color: var(--vk-overlay); box-shadow: var(--popover-shadow); color: var(--vk-fg);
|
|
3860
3880
|
font-size: var(--vk-font-size-sm); line-height: calc(var(--vk-font-size-sm) * var(--vk-line-height-sm)); outline: none;
|
|
3861
|
-
|
|
3881
|
+
--popover-nudge: var(--vk-popup-nudge, var(--vk-spacing)); transform-origin: var(--transform-origin);
|
|
3882
|
+
transition-property: opacity, translate, scale;
|
|
3883
|
+
transition-duration: var(--vk-popup-open-duration, var(--vk-duration-fast));
|
|
3884
|
+
transition-timing-function: var(--vk-popup-open-ease, var(--vk-ease-out));
|
|
3862
3885
|
}
|
|
3863
3886
|
|
|
3887
|
+
/* ── 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
|
|
3888
|
+
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
|
|
3889
|
+
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
|
|
3890
|
+
height at the most, never past the room on screen. ─────────────────────────────────────────────────────────── */
|
|
3891
|
+
.o-popover:where([data-slot^="vk-toolbar-"][data-slot$="-panel"]) {
|
|
3892
|
+
--popover-size-w: var(--vk-panel-w); --popover-size-h: min(var(--vk-panel-max-h), var(--available-height, 100dvh));
|
|
3893
|
+
}
|
|
3894
|
+
.o-popover:where([data-slot="vk-grid-editor"], [data-slot="vk-editor-panel"]) {
|
|
3895
|
+
--popover-size-w: var(--vk-editor-w); --popover-size-h: min(var(--vk-editor-max-h), var(--available-height, 100dvh));
|
|
3896
|
+
}
|
|
3897
|
+
/* 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
|
|
3898
|
+
steps, so it covers the cell's far line too and a press where the cell was lands inside it. */
|
|
3899
|
+
.o-popover:where([data-slot="vk-grid-editor"]) { min-width: var(--popover-size-w, calc(var(--anchor-width, 0px) + var(--vk-spacing) * 2)); }
|
|
3900
|
+
|
|
3864
3901
|
/* What it holds, inside its edge, scrolling there when the screen is shorter. The edge is drawn as two shapes, never a
|
|
3865
3902
|
border, as the Modal's is: its colour (::before), and the ground just inside it (::after), one line narrower. Each
|
|
3866
3903
|
takes its own corner, its inset less, so the edge follows the corners exactly, round or smooth. */
|
|
@@ -3877,12 +3914,14 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3877
3914
|
/* Laid over what opens it (a negative sideOffset), it stands on it: no gap. */
|
|
3878
3915
|
.o-popover[data-over] { margin: 0; }
|
|
3879
3916
|
|
|
3880
|
-
/* It fades in and moves 4px out from what opened it
|
|
3881
|
-
.o-popover[data-ending-style] {
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
.o-popover
|
|
3885
|
-
.o-popover[data-side="
|
|
3917
|
+
/* 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. */
|
|
3918
|
+
.o-popover[data-ending-style] {
|
|
3919
|
+
transition-duration: var(--vk-popup-close-duration, var(--vk-duration-fast)); transition-timing-function: var(--vk-popup-close-ease, var(--vk-ease-in));
|
|
3920
|
+
}
|
|
3921
|
+
.o-popover:is([data-starting-style], [data-ending-style]) { opacity: 0; translate: 0 calc(var(--popover-nudge) * -1); scale: var(--vk-popup-scale, none); }
|
|
3922
|
+
.o-popover[data-side="top"]:is([data-starting-style], [data-ending-style]) { translate: 0 var(--popover-nudge); }
|
|
3923
|
+
.o-popover[data-side="left"]:is([data-starting-style], [data-ending-style]) { translate: var(--popover-nudge) 0; }
|
|
3924
|
+
.o-popover[data-side="right"]:is([data-starting-style], [data-ending-style]) { translate: calc(var(--popover-nudge) * -1) 0; }
|
|
3886
3925
|
|
|
3887
3926
|
/* ── What an app sets once ───────────────────────────────────────────────────────────────────────────────────── */
|
|
3888
3927
|
[data-popover-corners="lg"] .o-popover { --popover-corners: var(--vk-radius-lg); }
|
|
@@ -3899,6 +3938,25 @@ span.o-number-editor-code { color: var(--vk-fg-subtle); }
|
|
|
3899
3938
|
[data-popover-gap="0"] .o-popover { --popover-gap: 0px; }
|
|
3900
3939
|
[data-popover-gap="8"] .o-popover { --popover-gap: calc(var(--vk-spacing) * 2); }
|
|
3901
3940
|
|
|
3941
|
+
/* 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
|
|
3942
|
+
no token for it), the eases the motion tokens; None comes last, so it stills whatever the times say. */
|
|
3943
|
+
[data-popover-distance="small"] { --vk-popup-nudge: 2px; }
|
|
3944
|
+
[data-popover-distance="large"] { --vk-popup-nudge: 8px; }
|
|
3945
|
+
:is([data-popover-motion="fade"], [data-popover-motion="scale"]) { --vk-popup-nudge: 0px; }
|
|
3946
|
+
[data-popover-motion="scale"] { --vk-popup-scale: 0.95; }
|
|
3947
|
+
[data-popover-motion="scale"][data-popover-distance="small"] { --vk-popup-scale: 0.98; }
|
|
3948
|
+
[data-popover-motion="scale"][data-popover-distance="large"] { --vk-popup-scale: 0.9; }
|
|
3949
|
+
[data-popover-open="100"] { --vk-popup-open-duration: 100ms; }
|
|
3950
|
+
[data-popover-open="200"] { --vk-popup-open-duration: 200ms; }
|
|
3951
|
+
[data-popover-open="300"] { --vk-popup-open-duration: 300ms; }
|
|
3952
|
+
[data-popover-close="75"] { --vk-popup-close-duration: 75ms; }
|
|
3953
|
+
[data-popover-close="100"] { --vk-popup-close-duration: 100ms; }
|
|
3954
|
+
[data-popover-close="200"] { --vk-popup-close-duration: 200ms; }
|
|
3955
|
+
[data-popover-ease="sharp"] { --vk-popup-open-ease: var(--vk-ease-out-sharp); }
|
|
3956
|
+
[data-popover-ease="smooth"] { --vk-popup-open-ease: var(--vk-ease-in-out); --vk-popup-close-ease: var(--vk-ease-in-out); }
|
|
3957
|
+
[data-popover-ease="spring"] { --vk-popup-open-ease: var(--vk-ease-spring); }
|
|
3958
|
+
[data-popover-motion="none"] { --vk-popup-open-duration: 0s; --vk-popup-close-duration: 0s; }
|
|
3959
|
+
|
|
3902
3960
|
/* ── Its corners smooth: the smooth outline (smooth.css), Apple's curve as measured, so every browser that knows
|
|
3903
3961
|
shape() shows it; one that doesn't keeps the corners above. The shell keeps its shadow, which a cut would take with
|
|
3904
3962
|
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,
|
|
@@ -4854,8 +4912,10 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
4854
4912
|
/* 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,
|
|
4855
4913
|
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
|
|
4856
4914
|
--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
|
|
4857
|
-
width on this one, is the app's (VK-977). */
|
|
4858
|
-
.o-popover:has(.o-sort-editor[data-sort-form="computer"]) {
|
|
4915
|
+
width on this one, is the app's (VK-977), and the app's --vk-panel-w sets it (--popover-size-w, VK-992). */
|
|
4916
|
+
.o-popover:has(.o-sort-editor[data-sort-form="computer"]) {
|
|
4917
|
+
width: var(--popover-size-w, max-content); min-width: var(--popover-size-w, max(var(--anchor-width, 0px), calc(var(--vk-spacing) * 72)));
|
|
4918
|
+
}
|
|
4859
4919
|
|
|
4860
4920
|
/* 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
|
|
4861
4921
|
under 192 nor its box, never past 288 (listWidth, select.css). Scoped to the editor, so it wins over the smooth list's own
|
|
@@ -5505,6 +5565,12 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
5505
5565
|
width: max(100%, calc(var(--vk-spacing) * 75)); max-width: none; max-height: calc(var(--vk-spacing) * 80);
|
|
5506
5566
|
box-shadow: var(--vk-shadow-lg), inset 0 0 0 var(--inline-input-ring, 0px) var(--inline-input-colour);
|
|
5507
5567
|
}
|
|
5568
|
+
/* In a grid's cell (data-inline-input-place="cell", inline-input.css), never lifted, grown or long: the cell typed in shows only
|
|
5569
|
+
the caret. (0,5,0): over the two lifts above. */
|
|
5570
|
+
[data-inline-input-place="cell"] .o-text-editor[data-text-box][data-grown] .o-text-editor-box,
|
|
5571
|
+
[data-inline-input-place="cell"] .o-text-editor[data-text-box][data-text-kind="long"] .o-text-editor-box {
|
|
5572
|
+
box-shadow: inset 0 0 0 var(--inline-input-ring, 0px) var(--inline-input-colour);
|
|
5573
|
+
}
|
|
5508
5574
|
/* What a line's own width is read by: the box's font, on one line, unseen. */
|
|
5509
5575
|
.o-text-editor-mirror {
|
|
5510
5576
|
position: absolute; top: 0; left: 0; width: max-content; height: 0; overflow: hidden; visibility: hidden; pointer-events: none;
|
|
@@ -5818,6 +5884,11 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
5818
5884
|
as it draws, and folds them a step at a time. */
|
|
5819
5885
|
.o-toolbar-folds { display: inline-flex; flex: none; min-width: max-content; align-items: center; }
|
|
5820
5886
|
|
|
5887
|
+
/* A phone's first paint (VK-1038): server-rendered, the toolbar and the grid stand twice, the phone's form and the computer's
|
|
5888
|
+
(`ScreenForms`, internal/screen-forms.tsx), and this shows the screen's at ViewKit's own line, as the inline rules beside them
|
|
5889
|
+
do at the app's: here for a page whose policy refuses an inline style. Kept on one line, as screenFormsCss writes it. */
|
|
5890
|
+
[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}}
|
|
5891
|
+
|
|
5821
5892
|
/* ── The tooltip: the page's text colour as its ground and the page's ground as its words, so it stands
|
|
5822
5893
|
out in both themes with no shadow; 6px by 8px, ¾ of the radius, 6px from what it names ──────────── */
|
|
5823
5894
|
.o-tooltip {
|
|
@@ -5827,14 +5898,16 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
5827
5898
|
background-color: var(--vk-fg); color: var(--vk-ground);
|
|
5828
5899
|
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);
|
|
5829
5900
|
pointer-events: none;
|
|
5830
|
-
|
|
5901
|
+
transform-origin: var(--transform-origin); transition-property: opacity, translate, scale;
|
|
5902
|
+
transition-duration: var(--vk-popup-open-duration, var(--vk-duration-fast)); transition-timing-function: var(--vk-popup-open-ease, var(--vk-ease-out));
|
|
5831
5903
|
}
|
|
5832
5904
|
.o-tooltip-positioner { z-index: var(--vk-layer-popup); }
|
|
5833
5905
|
/* 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
|
|
5834
5906
|
tapped reason stays, and a group's warm time. */
|
|
5835
5907
|
.o-tooltip-trigger { --tooltip-wait: var(--vk-tooltip-delay); --tooltip-tap: var(--vk-toast-duration); --tooltip-warm-now: var(--vk-tooltip-warm); }
|
|
5836
|
-
/* It fades in and rises 2px. */
|
|
5837
|
-
.o-tooltip
|
|
5908
|
+
/* 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. */
|
|
5909
|
+
.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)); }
|
|
5910
|
+
.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); }
|
|
5838
5911
|
|
|
5839
5912
|
/* ── A longer reason: it wraps, at least 200px wide and at most 320px, in the regular weight ────────── */
|
|
5840
5913
|
.o-tooltip.o-tooltip-reason { width: auto; min-width: calc(var(--vk-spacing) * 50); font-weight: var(--vk-font-weight-normal); }
|
|
@@ -6041,16 +6114,31 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6041
6114
|
.o-values-editor[data-values-line="plus"] .o-values-editor-prefix { color: var(--vk-fg-subtlest); }
|
|
6042
6115
|
.o-values-editor[data-values-line="plus"] .o-values-editor-error { margin: var(--vk-spacing) 0 var(--vk-spacing) calc(var(--vk-spacing) * 7); }
|
|
6043
6116
|
|
|
6044
|
-
/* ── Attio's look on a phone (data-values-phone="rows"): one card, rows 48 high at 16, each with its grip, its
|
|
6045
|
-
write or open and its trash; the line in the card under a line; a refusal's words under the card
|
|
6117
|
+
/* ── 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
|
|
6118
|
+
label, its call, write or open and its trash; the line in the card under a line; a refusal's words under the card ────────── */
|
|
6046
6119
|
.o-values-editor[data-values-phone="rows"] .o-values-editor-card { white-space: normal; }
|
|
6047
|
-
/* Its row's inside: the grip at its start's edge, its acts at its end, the computer's row height let go.
|
|
6048
|
-
|
|
6120
|
+
/* 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
|
|
6121
|
+
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
|
|
6122
|
+
alone in the middle; a value edited spans both lines. */
|
|
6123
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row {
|
|
6124
|
+
display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "grip value acts" "grip label acts"; align-items: center;
|
|
6125
|
+
gap: 0; height: auto; padding: 0 var(--vk-spacing) 0 calc(var(--vk-spacing) * 0.5); border-radius: 0;
|
|
6126
|
+
}
|
|
6127
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row > .o-values-editor-grip { grid-area: grip; }
|
|
6128
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row > .o-values-editor-value { grid-area: value; justify-self: start; max-width: 100%; }
|
|
6129
|
+
.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; }
|
|
6130
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row > .o-values-editor-acts { grid-area: acts; }
|
|
6131
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row > .o-values-editor-edit { grid-column: 2 / -1; grid-row: 1 / -1; }
|
|
6132
|
+
/* With a label under it, the value and its label stand together in the row's height, 4 above and below. */
|
|
6133
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row:has(> .o-values-editor-label) { padding-block: var(--vk-spacing); }
|
|
6134
|
+
.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; }
|
|
6135
|
+
.o-values-editor[data-values-phone="rows"] .o-values-editor-row:has(> .o-values-editor-label) > .o-values-editor-label { align-self: start; }
|
|
6049
6136
|
@media (hover: hover) { .o-values-editor[data-values-phone="rows"] .o-values-editor-row:hover { background-color: transparent; } }
|
|
6050
6137
|
.o-values-editor[data-values-phone="rows"] .o-values-editor-row[data-lifted] { background-color: var(--vk-overlay); box-shadow: var(--vk-shadow-lg); }
|
|
6051
6138
|
.o-values-editor[data-values-holds="one"][data-values-phone="rows"] .o-values-editor-row { padding-left: calc(var(--vk-spacing) * 3); }
|
|
6052
6139
|
.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); }
|
|
6053
|
-
|
|
6140
|
+
/* Its label under it, where it starts. */
|
|
6141
|
+
.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); }
|
|
6054
6142
|
.o-values-editor-acts { display: flex; flex: none; margin-left: auto; }
|
|
6055
6143
|
.o-values-editor-label + .o-values-editor-acts { margin-left: 0; }
|
|
6056
6144
|
.o-values-editor[data-values-phone="rows"] .o-values-editor-remove { opacity: 1; }
|
|
@@ -6297,15 +6385,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6297
6385
|
.z-\[calc\(7\*var\(--vk-scrolled\,0\)\+1\)\] {
|
|
6298
6386
|
z-index: calc(7 * var(--vk-scrolled,0) + 1);
|
|
6299
6387
|
}
|
|
6300
|
-
.col-span-2 {
|
|
6301
|
-
grid-column: span 2 / span 2;
|
|
6302
|
-
}
|
|
6303
|
-
.col-start-2 {
|
|
6304
|
-
grid-column-start: 2;
|
|
6305
|
-
}
|
|
6306
|
-
.row-start-2 {
|
|
6307
|
-
grid-row-start: 2;
|
|
6308
|
-
}
|
|
6309
6388
|
.clear-none {
|
|
6310
6389
|
clear: none;
|
|
6311
6390
|
}
|
|
@@ -6628,6 +6707,24 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6628
6707
|
.w-\(--vk-head-glyph\) {
|
|
6629
6708
|
width: var(--vk-head-glyph);
|
|
6630
6709
|
}
|
|
6710
|
+
.w-\(--vk-panel-w\,calc\(var\(--spacing\)\*60\)\) {
|
|
6711
|
+
width: var(--vk-panel-w,calc(4px * 60));
|
|
6712
|
+
}
|
|
6713
|
+
.w-\(--vk-panel-w\,calc\(var\(--spacing\)\*62\)\) {
|
|
6714
|
+
width: var(--vk-panel-w,calc(4px * 62));
|
|
6715
|
+
}
|
|
6716
|
+
.w-\(--vk-panel-w\,calc\(var\(--spacing\)\*64\)\) {
|
|
6717
|
+
width: var(--vk-panel-w,calc(4px * 64));
|
|
6718
|
+
}
|
|
6719
|
+
.w-\(--vk-panel-w\,calc\(var\(--spacing\)\*72\)\) {
|
|
6720
|
+
width: var(--vk-panel-w,calc(4px * 72));
|
|
6721
|
+
}
|
|
6722
|
+
.w-\(--vk-panel-w\,calc\(var\(--spacing\)\*75\)\) {
|
|
6723
|
+
width: var(--vk-panel-w,calc(4px * 75));
|
|
6724
|
+
}
|
|
6725
|
+
.w-\(--vk-panel-w\,fit-content\) {
|
|
6726
|
+
width: var(--vk-panel-w,fit-content);
|
|
6727
|
+
}
|
|
6631
6728
|
.w-\(--vk-rail-w\) {
|
|
6632
6729
|
width: var(--vk-rail-w);
|
|
6633
6730
|
}
|
|
@@ -6676,12 +6773,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6676
6773
|
.w-48 {
|
|
6677
6774
|
width: calc(4px * 48);
|
|
6678
6775
|
}
|
|
6679
|
-
.w-60 {
|
|
6680
|
-
width: calc(4px * 60);
|
|
6681
|
-
}
|
|
6682
|
-
.w-62 {
|
|
6683
|
-
width: calc(4px * 62);
|
|
6684
|
-
}
|
|
6685
6776
|
.w-64 {
|
|
6686
6777
|
width: calc(4px * 64);
|
|
6687
6778
|
}
|
|
@@ -6847,12 +6938,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6847
6938
|
.grid-cols-\(--vk-cols\) {
|
|
6848
6939
|
grid-template-columns: var(--vk-cols);
|
|
6849
6940
|
}
|
|
6850
|
-
.grid-cols-\[auto_minmax\(0\,1fr\)_auto\] {
|
|
6851
|
-
grid-template-columns: auto minmax(0,1fr) auto;
|
|
6852
|
-
}
|
|
6853
|
-
.grid-cols-\[auto_var\(--vk-field-row-label-w\,calc\(var\(--spacing\)\*32\)\)_minmax\(0\,1fr\)_auto\] {
|
|
6854
|
-
grid-template-columns: auto var(--vk-field-row-label-w,calc(4px * 32)) minmax(0,1fr) auto;
|
|
6855
|
-
}
|
|
6856
6941
|
.grid-rows-\[auto\] {
|
|
6857
6942
|
grid-template-rows: auto;
|
|
6858
6943
|
}
|
|
@@ -7062,9 +7147,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
7062
7147
|
.border-\(color\:--vk-border\) {
|
|
7063
7148
|
border-color: var(--vk-border);
|
|
7064
7149
|
}
|
|
7065
|
-
.border-\(color\:--vk-border-brand\) {
|
|
7066
|
-
border-color: var(--vk-border-brand);
|
|
7067
|
-
}
|
|
7068
7150
|
.border-\(color\:--vk-border-subtle\) {
|
|
7069
7151
|
border-color: var(--vk-border-subtle);
|
|
7070
7152
|
}
|
|
@@ -7080,9 +7162,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
7080
7162
|
.border-\(color\:--vk-outline\,var\(--vk-fg-subtle\)\) {
|
|
7081
7163
|
border-color: var(--vk-outline,var(--vk-fg-subtle));
|
|
7082
7164
|
}
|
|
7083
|
-
.border-\(color\:--vk-outline-active\,var\(--vk-border-brand\)\) {
|
|
7084
|
-
border-color: var(--vk-outline-active,var(--vk-border-brand));
|
|
7085
|
-
}
|
|
7086
7165
|
.border-\[var\(--vk-warning\,hsl\(38_92\%_50\%\)\)\] {
|
|
7087
7166
|
border-color: var(--vk-warning,hsl(38 92% 50%));
|
|
7088
7167
|
}
|
|
@@ -7815,18 +7894,10 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
7815
7894
|
}
|
|
7816
7895
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
7817
7896
|
}
|
|
7818
|
-
.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\)\)\] {
|
|
7819
|
-
--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));
|
|
7820
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
7821
|
-
}
|
|
7822
7897
|
.shadow-\[var\(--vk-float-shadow\,0_8px_24px_rgb\(0_0_0\/0\.12\)\)\] {
|
|
7823
7898
|
--tw-shadow: var(--vk-float-shadow,0 8px 24px rgb(0 0 0/0.12));
|
|
7824
7899
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
7825
7900
|
}
|
|
7826
|
-
.shadow-lg {
|
|
7827
|
-
--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));
|
|
7828
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
7829
|
-
}
|
|
7830
7901
|
.shadow-md {
|
|
7831
7902
|
--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));
|
|
7832
7903
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -7897,14 +7968,14 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
7897
7968
|
transition-timing-function: var(--tw-ease, ease);
|
|
7898
7969
|
transition-duration: var(--tw-duration, 0s);
|
|
7899
7970
|
}
|
|
7900
|
-
.duration-\(--vk-duration\,100ms\) {
|
|
7901
|
-
--tw-duration: var(--vk-duration,100ms);
|
|
7902
|
-
transition-duration: var(--vk-duration,100ms);
|
|
7903
|
-
}
|
|
7904
7971
|
.duration-\(--vk-duration\,150ms\) {
|
|
7905
7972
|
--tw-duration: var(--vk-duration,150ms);
|
|
7906
7973
|
transition-duration: var(--vk-duration,150ms);
|
|
7907
7974
|
}
|
|
7975
|
+
.duration-\(--vk-popup-open-duration\,var\(--vk-duration\,150ms\)\) {
|
|
7976
|
+
--tw-duration: var(--vk-popup-open-duration,var(--vk-duration,150ms));
|
|
7977
|
+
transition-duration: var(--vk-popup-open-duration,var(--vk-duration,150ms));
|
|
7978
|
+
}
|
|
7908
7979
|
.duration-150 {
|
|
7909
7980
|
--tw-duration: 150ms;
|
|
7910
7981
|
transition-duration: 150ms;
|
|
@@ -8078,6 +8149,15 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8078
8149
|
.group-data-desktop\/gridtable\:group-data-hovered\/gridrow\:opacity-100:is(:where(.group\/gridtable)[data-desktop] *):is(:where(.group\/gridrow)[data-hovered] *) {
|
|
8079
8150
|
opacity: 100%;
|
|
8080
8151
|
}
|
|
8152
|
+
.group-data-\[form\=phone\]\/field-row\:col-span-2:is(:where(.group\/field-row)[data-form="phone"] *) {
|
|
8153
|
+
grid-column: span 2 / span 2;
|
|
8154
|
+
}
|
|
8155
|
+
.group-data-\[form\=phone\]\/field-row\:col-start-2:is(:where(.group\/field-row)[data-form="phone"] *) {
|
|
8156
|
+
grid-column-start: 2;
|
|
8157
|
+
}
|
|
8158
|
+
.group-data-\[form\=phone\]\/field-row\:row-start-2:is(:where(.group\/field-row)[data-form="phone"] *) {
|
|
8159
|
+
grid-row-start: 2;
|
|
8160
|
+
}
|
|
8081
8161
|
.group-data-\[rail\=on\]\/gridtable\:opacity-100:is(:where(.group\/gridtable)[data-rail="on"] *) {
|
|
8082
8162
|
opacity: 100%;
|
|
8083
8163
|
}
|
|
@@ -8363,6 +8443,9 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8363
8443
|
.disabled\:opacity-50:disabled {
|
|
8364
8444
|
opacity: 50%;
|
|
8365
8445
|
}
|
|
8446
|
+
: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"] *) {
|
|
8447
|
+
display: none;
|
|
8448
|
+
}
|
|
8366
8449
|
.has-data-grown\:z-11:has([data-grown]) {
|
|
8367
8450
|
z-index: 11;
|
|
8368
8451
|
}
|
|
@@ -8407,6 +8490,10 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8407
8490
|
.data-desktop\:group-has-\[\:focus-visible\]\:opacity-100[data-desktop]:is(:where(.group):has(:is(:focus-visible)) *) {
|
|
8408
8491
|
opacity: 100%;
|
|
8409
8492
|
}
|
|
8493
|
+
.data-ending-style\:duration-\(--vk-popup-close-duration\,var\(--vk-duration\,150ms\)\)[data-ending-style] {
|
|
8494
|
+
--tw-duration: var(--vk-popup-close-duration,var(--vk-duration,150ms));
|
|
8495
|
+
transition-duration: var(--vk-popup-close-duration,var(--vk-duration,150ms));
|
|
8496
|
+
}
|
|
8410
8497
|
.data-grown\:z-2[data-grown] {
|
|
8411
8498
|
z-index: 2;
|
|
8412
8499
|
}
|
|
@@ -8439,12 +8526,28 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8439
8526
|
:is(.\*\*\:data-vs-detail\:max-h-none *)[data-vs-detail] {
|
|
8440
8527
|
max-height: none;
|
|
8441
8528
|
}
|
|
8529
|
+
.data-\[form\=computer\]\:grid-cols-\[auto_var\(--vk-field-row-label-w\,calc\(var\(--spacing\)\*32\)\)_minmax\(0\,1fr\)_auto\][data-form="computer"] {
|
|
8530
|
+
grid-template-columns: auto var(--vk-field-row-label-w,calc(4px * 32)) minmax(0,1fr) auto;
|
|
8531
|
+
}
|
|
8532
|
+
: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"] {
|
|
8533
|
+
grid-template-columns: var(--vk-field-row-label-w,calc(4px * 32)) minmax(0,1fr) auto;
|
|
8534
|
+
}
|
|
8535
|
+
.data-\[form\=phone\]\:grid-cols-\[auto_minmax\(0\,1fr\)_auto\][data-form="phone"] {
|
|
8536
|
+
grid-template-columns: auto minmax(0,1fr) auto;
|
|
8537
|
+
}
|
|
8538
|
+
.data-\[form\=phone\]\:gap-y-1[data-form="phone"] {
|
|
8539
|
+
row-gap: 4px;
|
|
8540
|
+
}
|
|
8442
8541
|
.data-\[side\=end\]\:right-0[data-side="end"] {
|
|
8443
8542
|
right: 0px;
|
|
8444
8543
|
}
|
|
8445
8544
|
.data-\[side\=end\]\:left-auto[data-side="end"] {
|
|
8446
8545
|
left: auto;
|
|
8447
8546
|
}
|
|
8547
|
+
.data-\[state\=closed\]\:duration-\(--vk-popup-close-duration\,var\(--vk-duration\,150ms\)\)[data-state="closed"] {
|
|
8548
|
+
--tw-duration: var(--vk-popup-close-duration,var(--vk-duration,150ms));
|
|
8549
|
+
transition-duration: var(--vk-popup-close-duration,var(--vk-duration,150ms));
|
|
8550
|
+
}
|
|
8448
8551
|
.data-desktop\:data-\[state\=open\]\:opacity-100[data-desktop][data-state="open"] {
|
|
8449
8552
|
opacity: 100%;
|
|
8450
8553
|
}
|
|
@@ -8455,10 +8558,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8455
8558
|
--tw-gradient-from: var(--vk-frozen-shadow,rgb(0 0 0/0.6));
|
|
8456
8559
|
--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));
|
|
8457
8560
|
}
|
|
8458
|
-
.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"] *) {
|
|
8459
|
-
--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));
|
|
8460
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
8461
|
-
}
|
|
8462
8561
|
@media (hover: hover) {
|
|
8463
8562
|
.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 {
|
|
8464
8563
|
--tw-shadow: var(--vk-outline-hover-shadow,0 1px 2px rgb(0 0 0/0.22));
|
|
@@ -8551,6 +8650,14 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8551
8650
|
display: block;
|
|
8552
8651
|
}
|
|
8553
8652
|
}
|
|
8653
|
+
[data-vk-screen-forms]:last-child > .\[\[data-vk-screen-forms\]\:last-child\>\&\]\:border-0 {
|
|
8654
|
+
border-style: var(--tw-border-style);
|
|
8655
|
+
border-width: 0px;
|
|
8656
|
+
}
|
|
8657
|
+
[data-vk-twin=computer]:has( + [data-vk-twin=phone]:last-child) > .\[\[data-vk-twin\=computer\]\:has\(\+\[data-vk-twin\=phone\]\:last-child\)\>\&\]\:border-0 {
|
|
8658
|
+
border-style: var(--tw-border-style);
|
|
8659
|
+
border-width: 0px;
|
|
8660
|
+
}
|
|
8554
8661
|
@property --tw-translate-x {
|
|
8555
8662
|
syntax: "*";
|
|
8556
8663
|
inherits: false;
|
|
@@ -8929,8 +9036,8 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8929
9036
|
[data-grid-lines="off"] [data-slot="vk-grid-gap"] {
|
|
8930
9037
|
--vk-border-subtle: transparent;
|
|
8931
9038
|
}
|
|
8932
|
-
[data-grid-cell="wash"] [data-slot="vk-grid-cell"][data-focused],
|
|
8933
|
-
[data-slot="vk-grid-cell"][data-focused]:not([data-grid-cell] *) {
|
|
9039
|
+
[data-grid-cell="wash"] [data-slot="vk-grid-cell"][data-focused]:not([data-editing]),
|
|
9040
|
+
[data-slot="vk-grid-cell"][data-focused]:not([data-editing]):not([data-grid-cell] *) {
|
|
8934
9041
|
background-color: var(--vk-brand-subtlest);
|
|
8935
9042
|
}
|
|
8936
9043
|
[data-grid-corners="square"] [data-slot="vk-grid"] { --vk-outline-radius: 0; }
|
|
@@ -8944,12 +9051,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8944
9051
|
[data-slot="vk-grid"]:not([data-grid-frame] *) { --vk-outline: var(--vk-border-accent); }
|
|
8945
9052
|
[data-grid-frame="neutral"] [data-slot="vk-grid"] { --vk-outline: var(--vk-border-bold); }
|
|
8946
9053
|
[data-slot="vk-grid"] { --vk-outline-active: var(--vk-border-accent); }
|
|
8947
|
-
[data-slot="vk-grid-cell"][data-editing]:has([data-kit="text-editor"], [data-kit="number-editor"]) [data-slot="vk-grid-outline"] {
|
|
8948
|
-
display: none;
|
|
8949
|
-
}
|
|
8950
|
-
: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"] {
|
|
8951
|
-
display: none;
|
|
8952
|
-
}
|
|
8953
9054
|
[data-grid-picked="tint"] [data-slot="vk-grid"] {
|
|
8954
9055
|
--vk-selection-edge: transparent;
|
|
8955
9056
|
}
|