viewkitjs 0.38.0 → 0.39.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 +69 -0
- package/MIGRATION.md +7 -0
- package/fields/dist/query/figure-kinds.d.ts +2 -2
- package/fields/dist/query/figure-kinds.js +3 -0
- package/fields/dist/query/figures.d.ts +5 -3
- package/fields/dist/query/figures.js +13 -0
- package/fields/docs/reference/query.md +3 -3
- package/package.json +1 -1
- package/postgres/docs/guides/field-map.md +1 -1
- package/views/dist/atoms/HeaderChrome.d.ts +7 -0
- package/views/dist/atoms/HeaderChrome.js +15 -0
- package/views/dist/atoms/ToolbarButton.d.ts +1 -1
- package/views/dist/atoms/ToolbarButton.js +2 -2
- package/views/dist/atoms/defaults.js +4 -0
- package/views/dist/atoms/types.d.ts +39 -2
- package/views/dist/contract.d.ts +19 -8
- package/views/dist/contract.js +37 -6
- package/views/dist/controls/field/looks.d.ts +1 -1
- package/views/dist/controls/field/looks.js +7 -3
- package/views/dist/controls/field/tokens.d.ts +4 -0
- package/views/dist/controls/field/tokens.js +1 -0
- package/views/dist/controls/field.css +33 -0
- package/views/dist/controls/filter-editor/block.d.ts +3 -1
- package/views/dist/controls/filter-editor/block.js +4 -3
- package/views/dist/controls/filter-editor/filter-editor.d.ts +13 -2
- package/views/dist/controls/filter-editor/filter-editor.js +45 -15
- package/views/dist/controls/filter-editor/how.d.ts +3 -1
- package/views/dist/controls/filter-editor/map-filter-body.js +5 -4
- package/views/dist/controls/filter-editor/map-rules.d.ts +2 -1
- package/views/dist/controls/filter-editor/map-rules.js +3 -3
- package/views/dist/controls/internal/menu-items.d.ts +2 -0
- package/views/dist/controls/internal/menu-items.js +1 -1
- package/views/dist/controls/internal/part-slot.d.ts +1 -1
- package/views/dist/controls/internal/part-slot.js +1 -1
- package/views/dist/controls/internal/row-actions.d.ts +33 -0
- package/views/dist/controls/internal/row-actions.js +28 -0
- package/views/dist/controls/menu/map-menu.js +1 -1
- package/views/dist/controls/popover/map-popover.d.ts +1 -1
- package/views/dist/controls/popover/map-popover.js +2 -2
- package/views/dist/controls/sheet/map-sheet.js +9 -6
- package/views/dist/controls/sort-editor/map-sort-body.js +1 -0
- package/views/dist/controls/sort-editor/sort-editor.d.ts +5 -1
- package/views/dist/controls/sort-editor/sort-editor.js +41 -13
- package/views/dist/controls/text-editor.css +20 -0
- package/views/dist/controls/toolbar-button/atom-toolbar-button.d.ts +1 -1
- package/views/dist/controls/toolbar-button/atom-toolbar-button.js +2 -2
- package/views/dist/editors/EditorPanel.js +1 -1
- package/views/dist/field-row/FieldRow.js +38 -16
- package/views/dist/field-row/editors/RowChipsEditor.js +3 -1
- package/views/dist/field-row/editors/RowDateEditor.js +3 -1
- package/views/dist/field-row/editors/RowNameEditor.js +3 -1
- package/views/dist/field-row/editors/RowPlaceEditor.js +4 -2
- package/views/dist/field-row/editors/RowRangeEditor.js +3 -1
- package/views/dist/field-row/editors/RowRelationEditor.js +5 -2
- package/views/dist/field-row/editors/RowSelectEditor.js +3 -1
- package/views/dist/field-row/editors/RowTextEditor.d.ts +7 -1
- package/views/dist/field-row/editors/RowTextEditor.js +25 -4
- package/views/dist/field-row/editors/RowValueListEditor.js +4 -4
- package/views/dist/field-row/editors/row-place.d.ts +33 -0
- package/views/dist/field-row/editors/row-place.js +141 -0
- package/views/dist/field-row/field-row-button.d.ts +9 -6
- package/views/dist/field-row/field-row-button.js +3 -3
- package/views/dist/field-row/row-target.d.ts +4 -1
- package/views/dist/field-row/row-target.js +1 -1
- package/views/dist/grid/chrome/GridAggregateMenu.d.ts +12 -11
- package/views/dist/grid/chrome/GridAggregateMenu.js +4 -3
- package/views/dist/grid/chrome/GridFooter.d.ts +12 -4
- package/views/dist/grid/chrome/GridFooter.js +11 -9
- package/views/dist/grid/chrome/GridHeader.js +4 -3
- package/views/dist/grid/chrome/GridResizeHandle.d.ts +7 -3
- package/views/dist/grid/chrome/GridResizeHandle.js +2 -3
- package/views/dist/grid/chrome/GridTable.js +1 -1
- package/views/dist/grid/chrome/GridTableSurface.js +1 -1
- package/views/dist/grid/chrome/grid-body-place.d.ts +2 -4
- package/views/dist/grid/chrome/grid-body-place.js +4 -5
- package/views/dist/grid/chrome/grid-figure-value.js +10 -4
- package/views/dist/grid/chrome/grid-table-props.d.ts +11 -3
- package/views/dist/grid/grid.css +7 -3
- package/views/dist/internal/over-cell.d.ts +8 -0
- package/views/dist/internal/over-cell.js +5 -0
- package/views/dist/list/bar-keys.d.ts +5 -0
- package/views/dist/list/bar-keys.js +2 -0
- package/views/dist/list/bar-parts.d.ts +27 -0
- package/views/dist/list/bar-parts.js +38 -0
- package/views/dist/list/buttons/clear-save.d.ts +7 -0
- package/views/dist/list/buttons/clear-save.js +15 -0
- package/views/dist/list/buttons/customize.d.ts +28 -0
- package/views/dist/list/buttons/customize.js +31 -0
- package/views/dist/list/buttons/filter.d.ts +32 -0
- package/views/dist/list/buttons/filter.js +60 -0
- package/views/dist/list/buttons/new.d.ts +18 -0
- package/views/dist/list/buttons/new.js +9 -0
- package/views/dist/list/buttons/quick.d.ts +15 -0
- package/views/dist/list/buttons/quick.js +24 -0
- package/views/dist/list/buttons/search.d.ts +18 -0
- package/views/dist/list/buttons/search.js +17 -0
- package/views/dist/list/buttons/shared.d.ts +91 -0
- package/views/dist/list/buttons/shared.js +131 -0
- package/views/dist/list/buttons/sort-filter.d.ts +6 -0
- package/views/dist/list/buttons/sort-filter.js +16 -0
- package/views/dist/list/buttons/sort.d.ts +17 -0
- package/views/dist/list/buttons/sort.js +34 -0
- package/views/dist/list/buttons/views.d.ts +21 -0
- package/views/dist/list/buttons/views.js +36 -0
- package/views/dist/list/editor-menus.d.ts +13 -0
- package/views/dist/list/editor-menus.js +13 -0
- package/views/dist/list/index.d.ts +41 -0
- package/views/dist/list/index.js +19 -0
- package/views/dist/list/line.d.ts +55 -0
- package/views/dist/list/line.js +221 -0
- package/views/dist/list/pane-box.d.ts +6 -0
- package/views/dist/list/pane-box.js +15 -0
- package/views/dist/list/panels/customize.d.ts +8 -0
- package/views/dist/list/panels/customize.js +23 -0
- package/views/dist/list/panels/filter-bar.d.ts +12 -0
- package/views/dist/list/panels/filter-bar.js +67 -0
- package/views/dist/list/panels/filter.d.ts +8 -0
- package/views/dist/list/panels/filter.js +23 -0
- package/views/dist/list/panels/quick.d.ts +7 -0
- package/views/dist/list/panels/quick.js +16 -0
- package/views/dist/list/panels/shared.d.ts +25 -0
- package/views/dist/list/panels/shared.js +33 -0
- package/views/dist/list/panels/sort.d.ts +8 -0
- package/views/dist/list/panels/sort.js +19 -0
- package/views/dist/list/panels/views.d.ts +13 -0
- package/views/dist/list/panels/views.js +27 -0
- package/views/dist/list/ready.d.ts +35 -0
- package/views/dist/list/ready.js +7 -0
- package/views/dist/list/root-base.d.ts +17 -0
- package/views/dist/list/root-base.js +9 -1
- package/views/dist/list/root.js +2 -2
- package/views/dist/list/store.d.ts +19 -0
- package/views/dist/list/store.js +40 -1
- package/views/dist/list/toolbar-model.d.ts +95 -0
- package/views/dist/list/toolbar-model.js +177 -0
- package/views/dist/list/toolbar.js +140 -328
- package/views/dist/list/views-axis.js +15 -4
- package/views/dist/model/aggregates.d.ts +18 -8
- package/views/dist/model/aggregates.js +16 -22
- package/views/dist/panels/react/filter/FilterEditor.d.ts +3 -1
- package/views/dist/panels/react/filter/FilterEditor.js +2 -2
- package/views/dist/panels/react/filter/filter-body.d.ts +3 -1
- package/views/dist/panels/react/filter/filter-body.js +2 -2
- package/views/dist/panels/react/sort/SortEditor.d.ts +3 -1
- package/views/dist/panels/react/sort/SortEditor.js +4 -4
- package/views/dist/panels/react/toolbar/Toolbar.d.ts +80 -3
- package/views/dist/panels/react/toolbar/Toolbar.js +85 -52
- package/views/dist/panels/react/toolbar/ToolbarBarSorts.d.ts +9 -0
- package/views/dist/panels/react/toolbar/ToolbarBarSorts.js +57 -0
- package/views/dist/panels/react/toolbar/ToolbarFilterAdd.d.ts +4 -1
- package/views/dist/panels/react/toolbar/ToolbarFilterAdd.js +2 -2
- package/views/dist/panels/react/toolbar/ToolbarOptions.d.ts +30 -0
- package/views/dist/panels/react/toolbar/ToolbarOptions.js +6 -1
- package/views/dist/panels/react/toolbar/ToolbarSortPill.d.ts +5 -0
- package/views/dist/panels/react/toolbar/ToolbarSortPill.js +6 -4
- package/views/dist/panels/react/toolbar/ToolbarViews.d.ts +7 -1
- package/views/dist/panels/react/toolbar/ToolbarViews.js +4 -4
- package/views/dist/panels/react/toolbar/sheet-host.d.ts +3 -0
- package/views/dist/panels/react/toolbar/sheet-host.js +6 -0
- package/views/dist/panels/react/toolbar/use-give-way.d.ts +6 -0
- package/views/dist/panels/react/toolbar/use-give-way.js +8 -1
- package/views/dist/panels/react/views-row/ViewPicker.d.ts +8 -1
- package/views/dist/panels/react/views-row/ViewPicker.js +12 -7
- package/views/dist/panels/settings/filter-groups.js +7 -0
- package/views/dist/provider/components.d.ts +36 -2
- package/views/dist/react.d.ts +1 -1
- package/views/dist/styles.css +104 -1
- package/views/dist/styles.unlayered.css +104 -1
- package/views/docs/contract.md +20 -12
- package/views/docs/controls/field.md +1 -0
- package/views/docs/controls/filter-editor.md +1 -1
- package/views/docs/controls/menu.md +1 -1
- package/views/docs/controls/sort-editor.md +1 -1
- package/views/docs/guides/atoms.md +1 -0
- package/views/docs/guides/the-grid.md +2 -2
- package/views/docs/reference/controls.md +3 -3
- package/views/docs/reference/field-row.md +1 -1
- package/views/docs/reference/grid.md +4 -4
- package/views/docs/reference/list.md +168 -6
- package/views/docs/reference/looks.md +1 -1
- package/views/docs/reference/panels-react.md +7 -7
- package/views/docs/reference/react.md +13 -10
- package/views/docs/reference/views.md +8 -6
- package/views/skills/views/SKILL.md +2 -1
|
@@ -16,7 +16,7 @@ export function ToolbarSortPill(props) {
|
|
|
16
16
|
return null;
|
|
17
17
|
return (_jsx("span", { "data-slot": props.row ? "vk-toolbar-sort-row" : "vk-toolbar-sort-pill", className: "relative inline-flex shrink-0 items-center gap-1", children: phone ? _jsx(PhonePill, { ...props }) : _jsx(ComputerPill, { ...props }) }));
|
|
18
18
|
}
|
|
19
|
-
function ComputerPill({ sorts, open: openIn, onOpenChange: onOpenChangeIn, host: Host, addAfter: addAfterIn = true, row = false, changed, }) {
|
|
19
|
+
function ComputerPill({ sorts, open: openIn, onOpenChange: onOpenChangeIn, host: Host, addAfter: addAfterIn = true, row = false, changed, empty, fieldsOnly = false, }) {
|
|
20
20
|
const addAfter = row ? false : addAfterIn;
|
|
21
21
|
const { components, icons, messages } = useViews();
|
|
22
22
|
const { Popover } = components;
|
|
@@ -31,7 +31,9 @@ function ComputerPill({ sorts, open: openIn, onOpenChange: onOpenChangeIn, host:
|
|
|
31
31
|
const asideOnly = !named && (sorts.setAside?.length ?? 0) > 0;
|
|
32
32
|
const places = openSortPlaces(sorts);
|
|
33
33
|
const can = canAddSortRule(sorts.rules, places);
|
|
34
|
-
const
|
|
34
|
+
const editorEmpty = row && empty === "editor" && !fieldsOnly;
|
|
35
|
+
const editorFirst = !fieldsOnly && (named || asideOnly || editorEmpty);
|
|
36
|
+
const opens = row ? { what: editorFirst ? "editor" : "fields", at: "pill", addSort: true } : pressed;
|
|
35
37
|
const Glyph = icons.sort;
|
|
36
38
|
const Plus = icons.add;
|
|
37
39
|
const name = messages({ key: "views.panels.sort" });
|
|
@@ -58,11 +60,11 @@ function ComputerPill({ sorts, open: openIn, onOpenChange: onOpenChangeIn, host:
|
|
|
58
60
|
...sorts,
|
|
59
61
|
onChange: (next, setAside) => {
|
|
60
62
|
sorts.onChange(next, setAside);
|
|
61
|
-
if (next.length === 0 && (setAside ?? sorts.setAside ?? []).length === 0)
|
|
63
|
+
if (next.length === 0 && (setAside ?? sorts.setAside ?? []).length === 0 && !editorEmpty)
|
|
62
64
|
close();
|
|
63
65
|
},
|
|
64
66
|
};
|
|
65
|
-
const content = opens.what === "editor" ? (_jsx(SortEditorHost, { sorts: editing, form: "computer", addSort: opens.addSort, onDone: () => close() })) : (_jsx(SortFieldList, { sorts: sorts, onPick: (value) => {
|
|
67
|
+
const content = opens.what === "editor" ? (_jsx(SortEditorHost, { sorts: editing, form: "computer", addSort: opens.addSort, onDone: () => close(), ...(editorEmpty && { empty: "editor" }) })) : (_jsx(SortFieldList, { sorts: sorts, onPick: (value) => {
|
|
66
68
|
const next = addSortRule(sorts.rules, value, places);
|
|
67
69
|
sorts.onChange(next);
|
|
68
70
|
close(true, opens.at === "add" && canAddSortRule(next, places));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ReactNode } from "react";
|
|
2
2
|
import { type CollectionViewsInput, type ViewsLayout } from "../../views-row/model.js";
|
|
3
|
-
export declare function ToolbarViews({ views, viewsLayout, showCounts, as, stacked, }: {
|
|
3
|
+
export declare function ToolbarViews({ views, viewsLayout, showCounts, as, stacked, press, }: {
|
|
4
4
|
views: CollectionViewsInput<string>;
|
|
5
5
|
/** How several axes stand: `stacked` (the default) puts every axis after the first on the line beneath. */
|
|
6
6
|
viewsLayout?: ViewsLayout;
|
|
@@ -10,4 +10,10 @@ export declare function ToolbarViews({ views, viewsLayout, showCounts, as, stack
|
|
|
10
10
|
as?: "row" | "picker";
|
|
11
11
|
/** This part is the second line's: the axes a stacked layout pushes beneath. */
|
|
12
12
|
stacked?: boolean;
|
|
13
|
+
/** Its picker's list stands elsewhere (VK-1092): handed on to the picker, whose chip calls it and opens no list. */
|
|
14
|
+
press?: {
|
|
15
|
+
onPress: () => void;
|
|
16
|
+
expanded: boolean;
|
|
17
|
+
lit?: boolean;
|
|
18
|
+
};
|
|
13
19
|
}): ReactNode;
|
|
@@ -6,11 +6,11 @@ import { ViewAxes } from "../views-row/ViewAxes.js";
|
|
|
6
6
|
import { ViewsRowInFrameProvider } from "../views-row/in-frame.js";
|
|
7
7
|
import { ViewPicker } from "../views-row/ViewPicker.js";
|
|
8
8
|
import { useToolbarSlot } from "./context.js";
|
|
9
|
-
export function ToolbarViews({ views, viewsLayout, showCounts, as = "row", stacked = false, }) {
|
|
9
|
+
export function ToolbarViews({ views, viewsLayout, showCounts, as = "row", stacked = false, press, }) {
|
|
10
10
|
const { appFrame } = useToolbarSlot();
|
|
11
|
-
return (_jsx(ViewsRowInFrameProvider, { on: appFrame, children: _jsx(ToolbarViewsBody, { views: views, viewsLayout: viewsLayout, showCounts: showCounts, as: as, stacked: stacked }) }));
|
|
11
|
+
return (_jsx(ViewsRowInFrameProvider, { on: appFrame, children: _jsx(ToolbarViewsBody, { views: views, viewsLayout: viewsLayout, showCounts: showCounts, as: as, stacked: stacked, press: press }) }));
|
|
12
12
|
}
|
|
13
|
-
function ToolbarViewsBody({ views, viewsLayout, showCounts, as, stacked, }) {
|
|
13
|
+
function ToolbarViewsBody({ views, viewsLayout, showCounts, as, stacked, press, }) {
|
|
14
14
|
const { form, fold, tabsFolded } = useToolbarSlot();
|
|
15
15
|
const counted = showCounts === undefined ? views : (withCounts(views, showCounts) ?? views);
|
|
16
16
|
if (form === "phone") {
|
|
@@ -24,6 +24,6 @@ function ToolbarViewsBody({ views, viewsLayout, showCounts, as, stacked, }) {
|
|
|
24
24
|
if (!viewAxes)
|
|
25
25
|
return null;
|
|
26
26
|
if (as === "picker" && viewAxes.length === 1 && !stackedAxes)
|
|
27
|
-
return _jsx(ViewPicker, { axis: viewAxes[0] });
|
|
27
|
+
return _jsx(ViewPicker, { axis: viewAxes[0], ...(press && { press }) });
|
|
28
28
|
return _jsx(ViewAxes, { axes: viewAxes, folded: fold ? tabsFolded : undefined });
|
|
29
29
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { PanelSheet } from "../panel-sheet.js";
|
|
4
|
+
export function SheetHost({ open, onOpenChange, title, children }) {
|
|
5
|
+
return (_jsx(PanelSheet, { open: open, onOpenChange: onOpenChange, title: title, snap: "full", headed: true, children: children }));
|
|
6
|
+
}
|
|
@@ -2,3 +2,9 @@
|
|
|
2
2
|
export declare function overflows(line: HTMLElement): boolean;
|
|
3
3
|
/** The stage a line stands at, out of `max` steps; `on` false, 0. */
|
|
4
4
|
export declare function useGiveWay(line: HTMLElement | null, max: number, on: boolean): number;
|
|
5
|
+
/** The stage, and a fresh look to ask for (not on the door, VK-1105): a line whose parts draw themselves (`ListLine`) asks it
|
|
6
|
+
* when one of them changes its width on its own, which no width of the line's and no render of it shows. */
|
|
7
|
+
export declare function useGiveWayLook(line: HTMLElement | null, max: number, on: boolean): {
|
|
8
|
+
stage: number;
|
|
9
|
+
look: () => void;
|
|
10
|
+
};
|
|
@@ -29,6 +29,9 @@ export function overflows(line) {
|
|
|
29
29
|
return far > edge + 0.5;
|
|
30
30
|
}
|
|
31
31
|
export function useGiveWay(line, max, on) {
|
|
32
|
+
return useGiveWayLook(line, max, on).stage;
|
|
33
|
+
}
|
|
34
|
+
export function useGiveWayLook(line, max, on) {
|
|
32
35
|
const [fit, setFit] = useState({ stage: 0, mode: "done" });
|
|
33
36
|
const stage = on ? Math.min(fit.stage, max) : 0;
|
|
34
37
|
const ours = useRef(false);
|
|
@@ -80,7 +83,11 @@ export function useGiveWay(line, max, on) {
|
|
|
80
83
|
fonts?.removeEventListener?.("loadingdone", again);
|
|
81
84
|
};
|
|
82
85
|
}, [line, on, look]);
|
|
83
|
-
|
|
86
|
+
const lookNow = useCallback(() => {
|
|
87
|
+
if (line && on)
|
|
88
|
+
look(latest.current.stage, latest.current.max);
|
|
89
|
+
}, [line, on, look]);
|
|
90
|
+
return { stage, look: lookNow };
|
|
84
91
|
}
|
|
85
92
|
function freshLook(line, at, top, set) {
|
|
86
93
|
if (!line || line.querySelector(HOLDING))
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import { type CollectionViewsConfig } from "../../views-row/model.js";
|
|
2
|
-
export declare function ViewPicker({ axis, className }: {
|
|
2
|
+
export declare function ViewPicker({ axis, className, press, }: {
|
|
3
3
|
axis: CollectionViewsConfig<string>;
|
|
4
4
|
className?: string;
|
|
5
|
+
/** Its list stands elsewhere (VK-1092: a placed views list): the chip calls `onPress`, says `expanded`, opens no list, and
|
|
6
|
+
* lights only with `lit` (the list standing because the chip showed it). */
|
|
7
|
+
press?: {
|
|
8
|
+
onPress: () => void;
|
|
9
|
+
expanded: boolean;
|
|
10
|
+
lit?: boolean;
|
|
11
|
+
};
|
|
5
12
|
}): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -13,7 +13,7 @@ import { ToolbarButton } from "../toolbar/ToolbarButton.js";
|
|
|
13
13
|
import { useViewsRowInFrame } from "./in-frame.js";
|
|
14
14
|
import { ViewCreatePill } from "./ViewCreatePill.js";
|
|
15
15
|
import { useNewView } from "./new-view.js";
|
|
16
|
-
export function ViewPicker({ axis, className }) {
|
|
16
|
+
export function ViewPicker({ axis, className, press, }) {
|
|
17
17
|
const context = useViews();
|
|
18
18
|
const { components, conventions, icons, messages } = context;
|
|
19
19
|
const { AppIcon, Popover, ViewsListBody } = components;
|
|
@@ -65,22 +65,27 @@ export function ViewPicker({ axis, className }) {
|
|
|
65
65
|
}) }));
|
|
66
66
|
const words = (_jsxs(_Fragment, { children: [_jsx("span", { className: "truncate", children: active?.label ?? messages({ key: "views.panels.view-fallback" }) }), active && !axis.hideCounts && typeof active.count === "number" && (_jsxs("span", { className: "font-medium opacity-70 tabular-nums", children: ["\u00B7 ", formatCount(active.count, conventions)] }))] }));
|
|
67
67
|
const onChipClick = (event) => {
|
|
68
|
-
|
|
68
|
+
if (press)
|
|
69
|
+
press.onPress();
|
|
70
|
+
else
|
|
71
|
+
toggle.triggerProps.onClick(event);
|
|
69
72
|
};
|
|
70
|
-
|
|
73
|
+
const expanded = press ? press.expanded : toggle.open;
|
|
74
|
+
const lit = press ? !!press.lit : toggle.open;
|
|
75
|
+
return (_jsxs(_Fragment, { children: [inFrame ? (_jsx(ToolbarButton, { ref: anchor, icon: active?.icon ? _jsx(AppIcon, { name: active.icon, className: "h-3.5 w-3.5 shrink-0" }) : null, label: messages({ key: "views.panels.view-change" }), part: "views-chip", ...(press ? { expanded } : { popup: "dialog" }), open: lit, onPointerDown: toggle.triggerProps.onPointerDown, onClick: onChipClick, children: words })) : (_jsx(PanelButton, { views: context, draw: {
|
|
71
76
|
frame: cx("h-8 max-w-full gap-1.5 px-2.5", className),
|
|
72
77
|
variant: "secondary",
|
|
73
78
|
size: "sm",
|
|
74
79
|
ref: anchor,
|
|
75
80
|
"aria-label": messages({ key: "views.panels.view-change" }),
|
|
76
|
-
"aria-haspopup": "dialog",
|
|
77
|
-
"aria-expanded":
|
|
81
|
+
...(!press && { "aria-haspopup": "dialog" }),
|
|
82
|
+
"aria-expanded": expanded,
|
|
78
83
|
"data-slot": "vk-views-chip",
|
|
79
|
-
"data-state":
|
|
84
|
+
"data-state": lit ? "open" : "closed",
|
|
80
85
|
onPointerDown: toggle.triggerProps.onPointerDown,
|
|
81
86
|
onClick: onChipClick,
|
|
82
87
|
children: (_jsxs(_Fragment, { children: [active?.icon && _jsx(AppIcon, { name: active.icon, className: "h-3.5 w-3.5 shrink-0" }), words, _jsx(Chevron, { className: "h-3.5 w-3.5 shrink-0 opacity-60" })] })),
|
|
83
|
-
} })), sheet ? (_jsx(PanelSheet, { open: toggle.open, onOpenChange: (next) => {
|
|
88
|
+
} })), press ? null : sheet ? (_jsx(PanelSheet, { open: toggle.open, onOpenChange: (next) => {
|
|
84
89
|
toggle.setOpen(next);
|
|
85
90
|
}, title: messages({ key: "views.panels.views-list" }), snap: "auto", ...(step.title !== undefined && { sheetTitle: step.title || listLabel, headed: !sheetDrawsClose }), ...(step.back &&
|
|
86
91
|
sheetDrawsClose && {
|
|
@@ -260,7 +260,14 @@ export function settingsFilterTree(input, write) {
|
|
|
260
260
|
});
|
|
261
261
|
return built.find((config) => config.key === key) ?? null;
|
|
262
262
|
};
|
|
263
|
+
const answered = new Map();
|
|
263
264
|
const optionsOf = (fieldKey, part, relation) => {
|
|
265
|
+
const key = `${fieldKey}\u0000${part ?? ""}\u0000${relation ?? ""}`;
|
|
266
|
+
if (!answered.has(key))
|
|
267
|
+
answered.set(key, optionsAnswer(fieldKey, part, relation));
|
|
268
|
+
return answered.get(key);
|
|
269
|
+
};
|
|
270
|
+
const optionsAnswer = (fieldKey, part, relation) => {
|
|
264
271
|
const target = relation !== undefined ? relationFilters?.targets[relation] : undefined;
|
|
265
272
|
if (relation !== undefined && !target)
|
|
266
273
|
return undefined;
|
|
@@ -71,6 +71,10 @@ export type ViewsPopoverProps = {
|
|
|
71
71
|
* its own input); that editor focuses its input with `preventScroll`, so the
|
|
72
72
|
* page stays where it is however the popup places itself. Default true. */
|
|
73
73
|
initialFocus?: boolean;
|
|
74
|
+
/** False moves no focus as the popup closes: what opened it hands the focus back itself (a field row's editor, to its
|
|
75
|
+
* row). Forward it to your popup's return of focus (Base UI's `finalFocus`), as `initialFocus` to its first focus.
|
|
76
|
+
* Default true: focus goes back to what opened it. */
|
|
77
|
+
finalFocus?: boolean;
|
|
74
78
|
/** Called on a press outside the popup before it closes; return false to keep it open.
|
|
75
79
|
* `event` is the pointer press, with its `target` where the press landed, also when the
|
|
76
80
|
* focus that press moves is what would close the popup: a vetoed press holds against its
|
|
@@ -724,7 +728,8 @@ export type ViewsBodyStep = {
|
|
|
724
728
|
};
|
|
725
729
|
/** Which of the sort editor's menus a function is handed (VK-1063): a rule's ⋯ (a phone's and the narrow form's: a computer's rule
|
|
726
730
|
* has × and no ⋯), its `field` the sort's key (`rules[].value`), `index` its place; or a set-aside rule's ⋯, its `field` the
|
|
727
|
-
* rule's stored `fieldKey`.
|
|
731
|
+
* rule's stored `fieldKey`. Or (VK-1065) `row`, the buttons at a rule's end (× `delete` on a computer, ⋯ `more` elsewhere and on a
|
|
732
|
+
* set-aside rule, `aside: true`); `foot`, Add sort and Clear (`add`, `clear`). */
|
|
728
733
|
export type ViewsSortEditorItemsContext = ({
|
|
729
734
|
menu: "rule";
|
|
730
735
|
field: string;
|
|
@@ -732,21 +737,43 @@ export type ViewsSortEditorItemsContext = ({
|
|
|
732
737
|
} | {
|
|
733
738
|
menu: "aside";
|
|
734
739
|
field: string;
|
|
740
|
+
} | {
|
|
741
|
+
menu: "row";
|
|
742
|
+
field: string;
|
|
743
|
+
index: number;
|
|
744
|
+
} | {
|
|
745
|
+
menu: "row";
|
|
746
|
+
field: string;
|
|
747
|
+
aside: true;
|
|
748
|
+
} | {
|
|
749
|
+
menu: "foot";
|
|
735
750
|
}) & {
|
|
736
751
|
form: "computer" | "phone";
|
|
737
752
|
};
|
|
738
753
|
/** Which of the filter editor's menus (VK-1063): a rule's ⋮ or a set-aside rule's, named by its field (`field`, the rule's
|
|
739
754
|
* `fieldKey`; its `part`; the `relation` it stands under), or a group's actions; each by its `path` in the filter the body is handed
|
|
740
|
-
* (`ViewsFilterBodyProps.filter`): its indices through `items` and a relation rule's `where.items`, the whole filter `[]`.
|
|
755
|
+
* (`ViewsFilterBodyProps.filter`): its indices through `items` and a relation rule's `where.items`, the whole filter `[]`. Or (VK-1065)
|
|
756
|
+
* `row`, a rule's ⋮ (`more`), named as `rule` is, `aside: true` on a set-aside rule; `foot`, a foot's buttons by its group's `path`
|
|
757
|
+
* (`[]` the filter's own): `add`, `clear`, `delete`, `more`. */
|
|
741
758
|
export type ViewsFilterEditorItemsContext = ({
|
|
742
759
|
menu: "rule" | "aside";
|
|
743
760
|
field: string;
|
|
744
761
|
part?: string;
|
|
745
762
|
relation?: string;
|
|
746
763
|
path: number[];
|
|
764
|
+
} | {
|
|
765
|
+
menu: "row";
|
|
766
|
+
field: string;
|
|
767
|
+
part?: string;
|
|
768
|
+
relation?: string;
|
|
769
|
+
path: number[];
|
|
770
|
+
aside?: true;
|
|
747
771
|
} | {
|
|
748
772
|
menu: "group";
|
|
749
773
|
path: number[];
|
|
774
|
+
} | {
|
|
775
|
+
menu: "foot";
|
|
776
|
+
path: number[];
|
|
750
777
|
}) & {
|
|
751
778
|
form: "computer" | "phone";
|
|
752
779
|
};
|
|
@@ -812,6 +839,10 @@ export type ViewsSortBodyProps = {
|
|
|
812
839
|
onRulesChange: (rules: ViewsSortBodyProps["rules"][number][], setAside?: ViewsSortBodyProps["setAside"]) => void;
|
|
813
840
|
/** The job is done and what holds it closes. */
|
|
814
841
|
onDone: () => void;
|
|
842
|
+
/** What a computer's body shows with no rule and none set aside (VK-1091): nothing of its own, what opened it showing the
|
|
843
|
+
* fields instead (absent or `fields`), or that nothing sorts yet, with Add sort (`editor`). A body that ignores it draws as
|
|
844
|
+
* before. */
|
|
845
|
+
empty?: "fields" | "editor";
|
|
815
846
|
/** On a phone where the sheet's head doesn't draw them (`sheetActions: "bar"`): its ✕ (taking the rules and the
|
|
816
847
|
* set-aside sorts back to what they were as it opened) and ✓, for your body's own head. Absent on a computer, and
|
|
817
848
|
* under `head`, where the sheet holds them. */
|
|
@@ -921,6 +952,9 @@ export type ViewsFilterBodyProps = {
|
|
|
921
952
|
levels: number;
|
|
922
953
|
/** Whether the level may exclude its matches (`op: "not"`): an advanced filter's own group, not a top or a where. */
|
|
923
954
|
excludable: boolean;
|
|
955
|
+
/** What a computer's top level shows with nothing filtered (VK-1091): the fields, a pick adding its rule (absent or
|
|
956
|
+
* `fields`), or that nothing filters yet, with Add filter (`editor`). A body that ignores it draws as before. */
|
|
957
|
+
empty?: "fields" | "editor";
|
|
924
958
|
/** Where the level is a relation rule's where, edited in place (wrapping it in a group would pass 3 levels): the
|
|
925
959
|
* relation's field key, its words and its quantifier. Its rules name its far fields, and a quantifier handed back with
|
|
926
960
|
* the level is written to it. `gone`, present only where the list no longer lists the relation, is why, in words
|
package/views/dist/react.d.ts
CHANGED
|
@@ -11,5 +11,5 @@ export type { ViewsIconProps, ViewsIcons } from "./provider/icons.js";
|
|
|
11
11
|
export { NOOP_PORTS, NOOP_TOAST } from "./provider/ports.js";
|
|
12
12
|
export type { ViewsClipboardPort, ViewsConfirmPort, ViewsConfirmRequest, ViewsHapticsPort, ViewsPorts, ViewsPrefsPort, ViewsResolvedPorts, ViewsToastPort, } from "./provider/ports.js";
|
|
13
13
|
export { DEFAULT_VIEWS_ATOMS } from "./atoms/defaults.js";
|
|
14
|
-
export type { ViewsAtoms, ViewsAvatarProps, ViewsCommandMenuProps, ViewsRowMenuItem, ViewsRowMenuProps, ViewsListProps, ViewsRelationLinkProps, ViewsRelationRolesProps, ViewsRelationChipProps, ViewsRelationChipLinkProps, ViewsCellMoreProps, ViewsLoadingProps, ViewsLoadMoreProps, ViewsPlatformMarkProps, ViewsRowContentProps, ViewsRowProps, ViewsSelectionSheetProps, ViewsStatusBadgeProps, ViewsStatusOption, ViewsStatusPlace, ViewsStatusMarkerProps, ViewsTagProps, ViewsTickBoxProps, ViewsChoiceRowProps, ViewsCheckRowProps, ViewsRadioRowProps, ViewsDirectionButtonProps, ViewsMenuRowProps, ViewsToggleRowProps, ViewsPanelSearchProps, ViewsPillProps, ViewsRangeCalendarProps, ViewsToolbarButtonProps, ViewsToolbarButtonPart, ViewsFramePart, } from "./atoms/types.js";
|
|
14
|
+
export type { ViewsAtoms, ViewsAvatarProps, ViewsCommandMenuProps, ViewsRowMenuItem, ViewsRowMenuProps, ViewsListProps, ViewsRelationLinkProps, ViewsRelationRolesProps, ViewsRelationChipProps, ViewsRelationChipLinkProps, ViewsCellMoreProps, ViewsHeaderGlyphProps, ViewsHeaderResizeHandleProps, ViewsHeaderSortMarkProps, ViewsLoadingProps, ViewsLoadMoreProps, ViewsPlatformMarkProps, ViewsRowContentProps, ViewsRowProps, ViewsSelectionSheetProps, ViewsStatusBadgeProps, ViewsStatusOption, ViewsStatusPlace, ViewsStatusMarkerProps, ViewsTagProps, ViewsTickBoxProps, ViewsChoiceRowProps, ViewsCheckRowProps, ViewsRadioRowProps, ViewsDirectionButtonProps, ViewsMenuRowProps, ViewsToggleRowProps, ViewsPanelSearchProps, ViewsPillProps, ViewsRangeCalendarProps, ViewsToolbarButtonProps, ViewsToolbarButtonPart, ViewsFramePart, } from "./atoms/types.js";
|
|
15
15
|
export type { ComponentName, PortName, ViewsIconName, ViewsMessage, ViewsMessageResolver } from "./contract.js";
|
package/views/dist/styles.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! viewkitjs 0.
|
|
1
|
+
/*! viewkitjs 0.39.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 {
|
|
@@ -1940,6 +1940,39 @@ button.o-field-row { cursor: pointer; }
|
|
|
1940
1940
|
}
|
|
1941
1941
|
:where([data-field-row-action="icon"]) [data-field-row] :is([data-key="vk-field-row-target"], [data-key="vk-field-row-beside"], [data-key="vk-field-row-under"]):is(:hover, :focus-visible) [data-field-row-act] { visibility: visible; }
|
|
1942
1942
|
|
|
1943
|
+
/* ── The Field's Link (row-link: words, looks.ts; data-field-row-link="words" on a frame round the rows): a record's field row outside
|
|
1944
|
+
a card draws one link's words as the link itself, laid over the row's empty target as a rich text's are (data-field-row-words,
|
|
1945
|
+
field-row/FieldRow.tsx), so the words open the link and the rest of the box edits. The pointer on the words is the box's too:
|
|
1946
|
+
it keeps the quiet Button's hover ground (ViewKit's Button reads it; an app's own Button draws its own hover past the words) and
|
|
1947
|
+
shows its ✎. ──────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
1948
|
+
@media (hover: hover) {
|
|
1949
|
+
[data-field-row-words]:hover > [data-key="vk-field-row-under"]:not(:disabled, [aria-disabled="true"]) { --button-ground: var(--vk-hovered); }
|
|
1950
|
+
}
|
|
1951
|
+
:where([data-field-row-action="icon"]) [data-field-row] [data-field-row-words]:hover [data-field-row-act] { visibility: visible; }
|
|
1952
|
+
|
|
1953
|
+
/* ── The Field's Long (row-long: line, looks.ts; data-field-row-long="line" on a frame round the rows): a record's field row outside a
|
|
1954
|
+
card draws the words of a value it opens an editor on in one line at rest (data-field-row-text, field-row/FieldRow.tsx), so a
|
|
1955
|
+
description never makes a record uneven. A long text or a rich text (long) runs on as one line, its paragraphs and their blocks
|
|
1956
|
+
inline, a space after each, its Show more gone, and its end fades under a mask, never an "…": its editor shows the rest, on top of
|
|
1957
|
+
the box (RowTextEditor). A text (line) keeps to its first line, ending in its "…", so its one-line box keeps the row's height as it
|
|
1958
|
+
edits. As the box's, the geometry is !important: the display's classes are Tailwind's (the Field's Box, above, says why). ───── */
|
|
1959
|
+
:where([data-field-row-long="line"]) [data-field-row] [data-field-row-text="long"] {
|
|
1960
|
+
display: block !important; flex: 1 1 0%; overflow: hidden !important; white-space: nowrap !important; max-height: calc(var(--vk-spacing) * 5);
|
|
1961
|
+
-webkit-mask-image: linear-gradient(to right, #000 calc(100% - var(--vk-spacing) * 12), transparent);
|
|
1962
|
+
mask-image: linear-gradient(to right, #000 calc(100% - var(--vk-spacing) * 12), transparent);
|
|
1963
|
+
}
|
|
1964
|
+
/* What holds the words in the target (an app's Button wraps its children) may shrink to the box, so the line is cut at its end. */
|
|
1965
|
+
:where([data-field-row-long="line"]) [data-field-row] :is([data-key="vk-field-row-target"], [data-key="vk-field-row-beside"], [data-field-row-anchor]):has([data-field-row-text="long"]) > * {
|
|
1966
|
+
min-width: 0 !important;
|
|
1967
|
+
}
|
|
1968
|
+
:where([data-field-row-long="line"]) [data-field-row] [data-field-row-text="long"] * {
|
|
1969
|
+
display: inline !important; white-space: nowrap !important; overflow: visible !important; max-height: none !important;
|
|
1970
|
+
margin: 0 !important; padding: 0 !important; -webkit-line-clamp: none !important;
|
|
1971
|
+
}
|
|
1972
|
+
:where([data-field-row-long="line"]) [data-field-row] [data-field-row-text="long"] :is(p, li, h1, h2, h3, h4, h5, h6, blockquote, pre, tr)::after { content: " "; }
|
|
1973
|
+
:where([data-field-row-long="line"]) [data-field-row] [data-field-row-text="long"] :is([data-slot="vk-show-more"], br, hr, img, .absolute) { display: none !important; }
|
|
1974
|
+
:where([data-field-row-long="line"]) [data-field-row] [data-field-row-text="line"] > * { -webkit-line-clamp: 1 !important; }
|
|
1975
|
+
|
|
1943
1976
|
/* A phone's first paint: server-rendered, Field rows' card stands twice, the phone's form and the computer's (`ScreenForms`,
|
|
1944
1977
|
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
|
|
1945
1978
|
that imports this card's stylesheet alone, on a page whose policy refuses an inline style. Kept on one line, as screenFormsCss writes it. */
|
|
@@ -5759,6 +5792,26 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
5759
5792
|
white-space: pre; overflow: hidden;
|
|
5760
5793
|
}
|
|
5761
5794
|
|
|
5795
|
+
/* ── A record's long text under the Field's Long (row-long: line, field.css), on a computer: its box stands in a popover on top of the
|
|
5796
|
+
row's box (the popover marked data-field-row-long-editor, field-row/editors/RowTextEditor.tsx), the popover its only frame. The
|
|
5797
|
+
box is the popover's whole content: no edge, ring or ground of its own, its words as far from its edge as the row's box holds
|
|
5798
|
+
them (--vk-field-row-box-h and -x, undeclared 32 and 8), so its first line stands where the row's words stood. It is as tall as its
|
|
5799
|
+
text up to the editor's most height (--vk-editor-max-h, the popover's own cap; undeclared, 320), then it scrolls. (0,5,0): over the
|
|
5800
|
+
row's place. ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── */
|
|
5801
|
+
.o-popover[data-field-row-long-editor] { --popover-pad: 0px; }
|
|
5802
|
+
[data-field-row-long-editor] .o-text-editor[data-text-place="row"][data-text-form="computer"] {
|
|
5803
|
+
--inline-input-row: var(--vk-field-row-box-h, calc(var(--vk-spacing) * 8)); --inline-input-edge: 0px; --inline-input-ring: 0px;
|
|
5804
|
+
}
|
|
5805
|
+
[data-field-row-long-editor] .o-text-editor[data-text-place="row"][data-text-form] .o-text-editor-box {
|
|
5806
|
+
--inline-input-words: var(--vk-field-row-box-x, calc(var(--vk-spacing) * 2));
|
|
5807
|
+
max-height: var(--vk-editor-max-h, calc(var(--vk-spacing) * 80)); border-radius: 0; background-color: transparent; box-shadow: none;
|
|
5808
|
+
}
|
|
5809
|
+
/* In place, under the Field's Action (row-action: icon, field.css), a long text's box keeps the icon's room at its end, as its
|
|
5810
|
+
target did at rest, so its lines break where they did. */
|
|
5811
|
+
:where([data-field-row-action="icon"] [data-field-row-editor]) .o-text-editor[data-text-place="row"][data-text-form="computer"][data-text-kind="long"] .o-text-editor-box {
|
|
5812
|
+
padding-right: calc(var(--vk-spacing) * 8 - var(--inline-input-e));
|
|
5813
|
+
}
|
|
5814
|
+
|
|
5762
5815
|
/* ── On a phone: the Input at the phone's size; long text one tall box; a phone's country in the box's start side ──── */
|
|
5763
5816
|
.o-text-editor[data-text-form="phone"] { display: grid; }
|
|
5764
5817
|
.o-text-editor[data-text-form="phone"] .o-text-editor-country { gap: calc(var(--vk-spacing) * 0.75); }
|
|
@@ -6652,6 +6705,9 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
6652
6705
|
.ml-auto {
|
|
6653
6706
|
margin-left: auto;
|
|
6654
6707
|
}
|
|
6708
|
+
.box-border {
|
|
6709
|
+
box-sizing: border-box;
|
|
6710
|
+
}
|
|
6655
6711
|
.line-clamp-3 {
|
|
6656
6712
|
overflow: hidden;
|
|
6657
6713
|
display: -webkit-box;
|
|
@@ -8174,6 +8230,9 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8174
8230
|
.\[font\:inherit\] {
|
|
8175
8231
|
font: inherit;
|
|
8176
8232
|
}
|
|
8233
|
+
:is(.\*\:max-w-full > *) {
|
|
8234
|
+
max-width: 100%;
|
|
8235
|
+
}
|
|
8177
8236
|
:is(.\*\:min-w-0 > *) {
|
|
8178
8237
|
min-width: 0px;
|
|
8179
8238
|
}
|
|
@@ -8312,6 +8371,9 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8312
8371
|
.group-data-\[form\=phone\]\/field-row\:row-start-2:is(:where(.group\/field-row)[data-form="phone"] *) {
|
|
8313
8372
|
grid-row-start: 2;
|
|
8314
8373
|
}
|
|
8374
|
+
.group-data-\[open\]\/gridagg\:opacity-100:is(:where(.group\/gridagg)[data-open] *) {
|
|
8375
|
+
opacity: 100%;
|
|
8376
|
+
}
|
|
8315
8377
|
.group-data-\[rail\=on\]\/gridtable\:opacity-100:is(:where(.group\/gridtable)[data-rail="on"] *) {
|
|
8316
8378
|
opacity: 100%;
|
|
8317
8379
|
}
|
|
@@ -8705,6 +8767,9 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8705
8767
|
.data-desktop\:data-\[state\=open\]\:opacity-100[data-desktop][data-state="open"] {
|
|
8706
8768
|
opacity: 100%;
|
|
8707
8769
|
}
|
|
8770
|
+
.data-\[stuck\=true\]\:border-\(color\:--vk-border-subtle\)[data-stuck="true"] {
|
|
8771
|
+
border-color: var(--vk-border-subtle);
|
|
8772
|
+
}
|
|
8708
8773
|
.data-\[stuck\=true\]\:bg-\(color\:--vk-ground\)[data-stuck="true"] {
|
|
8709
8774
|
background-color: var(--vk-ground);
|
|
8710
8775
|
}
|
|
@@ -8849,6 +8914,41 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8849
8914
|
:where(.\[\:where\(\&\)\]\:\[text-decoration\:inherit\]) {
|
|
8850
8915
|
text-decoration: inherit;
|
|
8851
8916
|
}
|
|
8917
|
+
:where(:is(.\[\:where\(\&\;\)\]\:m-0)amp;) {
|
|
8918
|
+
margin: 0px;
|
|
8919
|
+
}
|
|
8920
|
+
:where(:is(.\[\:where\(\&\;\)\]\:\[appearance\:none\])amp;) {
|
|
8921
|
+
appearance: none;
|
|
8922
|
+
}
|
|
8923
|
+
:where(:is(.\[\:where\(\&\;\)\]\:rounded-none)amp;) {
|
|
8924
|
+
border-radius: 0;
|
|
8925
|
+
}
|
|
8926
|
+
:where(:is(.\[\:where\(\&\;\)\]\:border-0)amp;) {
|
|
8927
|
+
border-style: var(--tw-border-style);
|
|
8928
|
+
border-width: 0px;
|
|
8929
|
+
}
|
|
8930
|
+
:where(:is(.\[\:where\(\&\;\)\]\:border-solid)amp;) {
|
|
8931
|
+
--tw-border-style: solid;
|
|
8932
|
+
border-style: solid;
|
|
8933
|
+
}
|
|
8934
|
+
:where(:is(.\[\:where\(\&\;\)\]\:bg-transparent)amp;) {
|
|
8935
|
+
background-color: transparent;
|
|
8936
|
+
}
|
|
8937
|
+
:where(:is(.\[\:where\(\&\;\)\]\:p-0)amp;) {
|
|
8938
|
+
padding: 0px;
|
|
8939
|
+
}
|
|
8940
|
+
:where(:is(.\[\:where\(\&\;\)\]\:\[letter-spacing\:inherit\])amp;) {
|
|
8941
|
+
letter-spacing: inherit;
|
|
8942
|
+
}
|
|
8943
|
+
:where(:is(.\[\:where\(\&\;\)\]\:\[color\:inherit\])amp;) {
|
|
8944
|
+
color: inherit;
|
|
8945
|
+
}
|
|
8946
|
+
:where(:is(.\[\:where\(\&\;\)\]\:\[font\:inherit\])amp;) {
|
|
8947
|
+
font: inherit;
|
|
8948
|
+
}
|
|
8949
|
+
:where(:is(.\[\:where\(\&\;\)\]\:\[text-decoration\:inherit\])amp;) {
|
|
8950
|
+
text-decoration: inherit;
|
|
8951
|
+
}
|
|
8852
8952
|
@media (any-hover:hover) {
|
|
8853
8953
|
.\[\@media\(any-hover\:hover\)\]\:relative {
|
|
8854
8954
|
position: relative;
|
|
@@ -9003,11 +9103,14 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
9003
9103
|
font-weight: var(--vk-font-weight-medium);
|
|
9004
9104
|
}
|
|
9005
9105
|
[data-grid-figures="value"] [data-slot="vk-grid-figure-label"] {
|
|
9106
|
+
font-size: var(--vk-text);
|
|
9006
9107
|
text-transform: lowercase;
|
|
9007
9108
|
letter-spacing: normal;
|
|
9008
9109
|
color: var(--vk-fg-subtlest);
|
|
9009
9110
|
}
|
|
9010
9111
|
[data-grid-figures="value"] [data-slot="vk-grid-figure-pick"] {
|
|
9112
|
+
font-size: var(--vk-text);
|
|
9113
|
+
color: var(--vk-fg-subtlest);
|
|
9011
9114
|
text-transform: none;
|
|
9012
9115
|
letter-spacing: normal;
|
|
9013
9116
|
}
|