viewkitjs 0.34.0 → 0.35.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 +110 -0
- package/package.json +1 -1
- package/views/README.md +1 -1
- package/views/dist/atoms/Avatar.js +2 -1
- package/views/dist/atoms/RelationChip.d.ts +2 -0
- package/views/dist/atoms/RelationChip.js +5 -0
- package/views/dist/atoms/RowMenu.d.ts +1 -1
- package/views/dist/atoms/RowMenu.js +15 -3
- package/views/dist/atoms/defaults.js +2 -0
- package/views/dist/atoms/types.d.ts +40 -4
- package/views/dist/cells/relation-wrap.js +9 -2
- package/views/dist/contract.d.ts +9 -6
- package/views/dist/contract.js +4 -2
- package/views/dist/controls/avatar/avatar-mark.d.ts +4 -0
- package/views/dist/controls/avatar/avatar-mark.js +5 -0
- package/views/dist/controls/avatar/avatar.d.ts +7 -4
- package/views/dist/controls/avatar/avatar.js +10 -4
- package/views/dist/controls/avatar/looks.d.ts +1 -1
- package/views/dist/controls/avatar/looks.js +3 -0
- package/views/dist/controls/avatar/record-mark.d.ts +16 -0
- package/views/dist/controls/avatar/record-mark.js +13 -0
- package/views/dist/controls/avatar/tokens.d.ts +12 -0
- package/views/dist/controls/avatar/tokens.js +3 -0
- package/views/dist/controls/avatar.css +54 -17
- package/views/dist/controls/bulk-bar/bulk-bar.js +4 -5
- package/views/dist/controls/bulk-bar/map-selection-bar.js +2 -1
- package/views/dist/controls/compound-editor/compound-editor.d.ts +3 -0
- package/views/dist/controls/compound-editor/map-parts-body.d.ts +1 -1
- package/views/dist/controls/compound-editor/map-parts-body.js +6 -1
- package/views/dist/controls/compound-editor/name-parts.js +2 -1
- package/views/dist/controls/compound-editor/place-parts.js +2 -2
- package/views/dist/controls/compound-editor/range-parts.js +10 -9
- package/views/dist/controls/customize/customize.d.ts +14 -5
- package/views/dist/controls/customize/customize.js +11 -14
- package/views/dist/controls/customize/map-customize-body.js +12 -11
- package/views/dist/controls/customize/words.d.ts +3 -3
- package/views/dist/controls/filter-editor/filter-editor.d.ts +2 -0
- package/views/dist/controls/filter-editor/filter-editor.js +4 -6
- package/views/dist/controls/filter-editor/parts.d.ts +1 -1
- package/views/dist/controls/filter-editor/parts.js +4 -4
- package/views/dist/controls/index.d.ts +1 -1
- package/views/dist/controls/internal/map-panel-controls.js +9 -5
- package/views/dist/controls/internal/panel-controls.d.ts +27 -3
- package/views/dist/controls/internal/panel-controls.js +141 -12
- package/views/dist/controls/links-editor/links-editor.js +5 -7
- package/views/dist/controls/links-editor/map-links-body.d.ts +1 -1
- package/views/dist/controls/links-editor/map-links-body.js +5 -1
- package/views/dist/controls/menu/menu.d.ts +3 -0
- package/views/dist/controls/menu/menu.js +2 -1
- package/views/dist/controls/picker/map-fields-body.d.ts +2 -2
- package/views/dist/controls/picker/map-fields-body.js +5 -1
- package/views/dist/controls/picker/map-picker.d.ts +8 -3
- package/views/dist/controls/picker/map-picker.js +14 -3
- package/views/dist/controls/picker/picker.js +11 -8
- package/views/dist/controls/picker/rows.d.ts +7 -2
- package/views/dist/controls/quick-filters/map-quick-filters-body.js +2 -1
- package/views/dist/controls/quick-filters/quick-filters.js +4 -4
- package/views/dist/controls/quick-filters/reminder.js +2 -2
- package/views/dist/controls/quick-filters/rules.d.ts +4 -1
- package/views/dist/controls/quick-filters/words.d.ts +2 -0
- package/views/dist/controls/quick-filters/words.js +1 -0
- package/views/dist/controls/select/select.d.ts +3 -0
- package/views/dist/controls/select/select.js +9 -3
- package/views/dist/controls/sort-editor/sort-editor.d.ts +2 -0
- package/views/dist/controls/sort-editor/sort-editor.js +4 -5
- package/views/dist/controls/toolbar/toolbar.d.ts +25 -12
- package/views/dist/controls/toolbar/toolbar.js +15 -20
- package/views/dist/controls/toolbar.css +0 -5
- package/views/dist/controls/tooltip/map-tooltip.d.ts +1 -1
- package/views/dist/controls/tooltip/map-tooltip.js +4 -2
- package/views/dist/controls/values-editor/map-values-body.d.ts +1 -2
- package/views/dist/controls/values-editor/map-values-body.js +5 -1
- package/views/dist/controls/values-editor/values-editor.js +8 -7
- package/views/dist/display/option-badges.d.ts +16 -0
- package/views/dist/display/option-badges.js +11 -0
- package/views/dist/display/relation-link.d.ts +12 -0
- package/views/dist/display/relation-link.js +17 -0
- package/views/dist/display/relation.d.ts +1 -1
- package/views/dist/display/relation.js +10 -3
- package/views/dist/display/select.js +1 -8
- package/views/dist/editors/EditorPanel.js +1 -1
- package/views/dist/editors/RangeEditor.d.ts +3 -0
- package/views/dist/editors/RangeEditor.js +2 -2
- package/views/dist/editors/SelectEditor.d.ts +2 -2
- package/views/dist/editors/SelectEditor.js +1 -1
- package/views/dist/editors/TextEditor.js +4 -2
- package/views/dist/editors/ValueListEditor.js +2 -1
- package/views/dist/field-row/FieldRow.js +32 -5
- package/views/dist/field-row/editors/RowRangeEditor.js +2 -1
- package/views/dist/grid/chrome/GridAddColumn.js +9 -6
- package/views/dist/grid/chrome/GridCellEditors.js +1 -1
- package/views/dist/grid/chrome/GridCellOutline.d.ts +3 -1
- package/views/dist/grid/chrome/GridCellOutline.js +16 -6
- package/views/dist/grid/chrome/GridChipsEditor.js +3 -2
- package/views/dist/grid/chrome/GridColumnMenu.js +7 -4
- package/views/dist/grid/chrome/GridFooter.d.ts +4 -1
- package/views/dist/grid/chrome/GridFooter.js +4 -4
- package/views/dist/grid/chrome/GridGroupMenu.js +39 -14
- package/views/dist/grid/chrome/GridHeader.d.ts +1 -1
- package/views/dist/grid/chrome/GridHeader.js +1 -2
- package/views/dist/grid/chrome/GridRangeEditor.d.ts +4 -1
- package/views/dist/grid/chrome/GridRangeEditor.js +2 -2
- package/views/dist/grid/chrome/GridRow.js +5 -3
- package/views/dist/grid/chrome/GridRowActions.d.ts +4 -1
- package/views/dist/grid/chrome/GridRowActions.js +2 -2
- package/views/dist/grid/chrome/GridRowCells.js +3 -2
- package/views/dist/grid/chrome/GridStructure.js +1 -1
- package/views/dist/grid/chrome/GridTable.js +32 -20
- package/views/dist/grid/chrome/checks.d.ts +1 -1
- package/views/dist/grid/chrome/checks.js +4 -1
- package/views/dist/grid/chrome/grid-cell-classes.d.ts +6 -2
- package/views/dist/grid/chrome/grid-cell-classes.js +10 -5
- package/views/dist/grid/chrome/grid-hover.d.ts +10 -2
- package/views/dist/grid/chrome/grid-hover.js +14 -4
- package/views/dist/grid/chrome/grid-row-props.d.ts +4 -0
- package/views/dist/grid/chrome/grid-rows-menu.js +9 -4
- package/views/dist/grid/chrome/grid-table-props.d.ts +10 -2
- package/views/dist/grid/grid.css +6 -0
- package/views/dist/grid/looks.d.ts +3 -1
- package/views/dist/grid/looks.js +10 -4
- package/views/dist/list/layer.d.ts +8 -0
- package/views/dist/list/layer.js +7 -0
- package/views/dist/list/store.d.ts +1 -1
- package/views/dist/list/toolbar.js +44 -19
- package/views/dist/list/views.js +1 -0
- package/views/dist/panels/availability.d.ts +5 -0
- package/views/dist/panels/availability.js +4 -5
- package/views/dist/panels/customize-body.d.ts +4 -0
- package/views/dist/panels/customize-body.js +13 -11
- package/views/dist/panels/model.d.ts +9 -4
- package/views/dist/panels/react/customize-body.js +5 -2
- package/views/dist/panels/react/customize.d.ts +5 -0
- package/views/dist/panels/react/filter/FilterEditor.d.ts +6 -0
- package/views/dist/panels/react/filter/FilterEditor.js +7 -0
- package/views/dist/panels/react/quick/QuickFiltersPanel.d.ts +3 -1
- package/views/dist/panels/react/quick/QuickFiltersPanel.js +7 -3
- package/views/dist/panels/react/toolbar/ReadyToolbar.d.ts +4 -1
- package/views/dist/panels/react/toolbar/Toolbar.d.ts +11 -1
- package/views/dist/panels/react/toolbar/Toolbar.js +16 -6
- package/views/dist/panels/react/toolbar/ToolbarFilterAdd.d.ts +6 -1
- package/views/dist/panels/react/toolbar/ToolbarFilterAdd.js +12 -5
- package/views/dist/panels/react/toolbar/ToolbarFilters.d.ts +7 -3
- package/views/dist/panels/react/toolbar/ToolbarFilters.js +18 -8
- package/views/dist/panels/react/toolbar/ToolbarOptions.d.ts +6 -1
- package/views/dist/panels/react/toolbar/ToolbarOptions.js +2 -2
- 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 +5 -4
- package/views/dist/panels/react/toolbar/ToolbarSort.d.ts +7 -1
- package/views/dist/panels/react/toolbar/ToolbarSort.js +6 -3
- package/views/dist/panels/react/toolbar/ToolbarSortPill.d.ts +3 -0
- package/views/dist/panels/react/toolbar/ToolbarSortPill.js +4 -4
- package/views/dist/panels/react/views-row/ViewPicker.js +13 -5
- package/views/dist/panels/react.d.ts +1 -1
- package/views/dist/panels/settings/layout.js +6 -38
- package/views/dist/panels/toolbar/page-resets.d.ts +17 -0
- package/views/dist/panels/toolbar/page-resets.js +62 -0
- package/views/dist/panels/toolbar/same-item.d.ts +7 -0
- package/views/dist/panels/toolbar/same-item.js +9 -0
- package/views/dist/panels/view-state.d.ts +4 -0
- package/views/dist/provider/ViewsProvider.d.ts +9 -4
- package/views/dist/provider/ViewsProvider.js +13 -2
- package/views/dist/provider/components.d.ts +27 -5
- package/views/dist/provider/components.js +1 -1
- package/views/dist/react.d.ts +1 -1
- package/views/dist/styles.css +98 -23
- package/views/dist/styles.unlayered.css +98 -23
- package/views/docs/contract.md +38 -25
- package/views/docs/controls/avatar.md +3 -0
- package/views/docs/controls/bulk-bar.md +3 -1
- package/views/docs/controls/compound-editor.md +2 -0
- package/views/docs/controls/customize.md +1 -1
- package/views/docs/controls/filter-editor.md +1 -1
- package/views/docs/controls/links-editor.md +2 -0
- package/views/docs/controls/pane.md +1 -1
- package/views/docs/controls/picker.md +2 -0
- package/views/docs/controls/quick-filters.md +1 -1
- package/views/docs/controls/text-editor.md +1 -1
- package/views/docs/controls/values-editor.md +2 -0
- package/views/docs/guides/atoms.md +54 -3
- package/views/docs/guides/display.md +1 -1
- package/views/docs/guides/looks.md +1 -1
- package/views/docs/guides/the-grid.md +4 -2
- package/views/docs/guides/the-provider.md +2 -2
- package/views/docs/index.md +2 -2
- package/views/docs/install.md +198 -104
- package/views/docs/reference/controls.md +17 -15
- package/views/docs/reference/editors-range.md +1 -1
- package/views/docs/reference/field-row.md +1 -1
- package/views/docs/reference/grid.md +2 -1
- package/views/docs/reference/list.md +2 -2
- package/views/docs/reference/looks.md +5 -5
- package/views/docs/reference/panels-react.md +13 -12
- package/views/docs/reference/panels.md +4 -4
- package/views/docs/reference/react.md +10 -8
- package/views/docs/reference/views.md +2 -2
- package/views/docs/reshaping.md +22 -6
- package/views/skills/views/SKILL.md +2 -2
|
@@ -60,10 +60,13 @@ export function ViewsProvider({ children, components, conventions = DEFAULT_CONV
|
|
|
60
60
|
Calendar: components.Calendar ?? MISSING_CALENDAR_COMPONENT,
|
|
61
61
|
}), [components]);
|
|
62
62
|
const optedKey = opted === true ? "all" : opted ? opted.join(",") : "";
|
|
63
|
+
const ownAvatar = merged.Avatar !== DEFAULT_VIEWS_ATOMS.Avatar;
|
|
64
|
+
const ownRelationChip = merged.RelationChip !== DEFAULT_VIEWS_ATOMS.RelationChip;
|
|
63
65
|
const panelControls = useMemo(() => {
|
|
64
66
|
const names = optedKey === "all" ? PANEL_CONTROL_NAMES : (optedKey ? optedKey.split(",") : []);
|
|
65
|
-
|
|
66
|
-
|
|
67
|
+
const apps = (name) => name === "Avatar" ? ownAvatar : name === "RelationChip" ? ownRelationChip : components[name] != null && !isOwnControl(components[name]);
|
|
68
|
+
return new Set(PANEL_CONTROL_NAMES.filter((name) => names.includes(name) && apps(name)));
|
|
69
|
+
}, [optedKey, components, ownAvatar, ownRelationChip]);
|
|
67
70
|
const strandedSelect = components.Select != null && !isOwnControl(components.Select) && !panelControls.has("Select");
|
|
68
71
|
const warnedSelect = useRef(false);
|
|
69
72
|
useEffect(() => {
|
|
@@ -72,6 +75,14 @@ export function ViewsProvider({ children, components, conventions = DEFAULT_CONV
|
|
|
72
75
|
warnedSelect.current = true;
|
|
73
76
|
console.warn("ViewKit: components.Select is drawn only inside ViewKit's panels, and panelControls doesn't name \"Select\", so it is never drawn.");
|
|
74
77
|
}, [strandedSelect]);
|
|
78
|
+
const strandedAtoms = carried === undefined && atoms?.ToolbarButton === undefined && Object.values(components).some(isOwnControl);
|
|
79
|
+
const warnedAtoms = useRef(false);
|
|
80
|
+
useEffect(() => {
|
|
81
|
+
if (!strandedAtoms || warnedAtoms.current || process.env.NODE_ENV === "production")
|
|
82
|
+
return;
|
|
83
|
+
warnedAtoms.current = true;
|
|
84
|
+
console.warn("ViewKit: components holds ViewKit's own controls but none of their atoms, which a map spread from CONTROLS doesn't carry, so the toolbar draws ViewKit's plain button and the Toolbar's look options don't apply. Hand them beside it: atoms={{ ...CONTROL_ATOMS, ...yours }}.");
|
|
85
|
+
}, [strandedAtoms]);
|
|
75
86
|
const hosted = useRef({});
|
|
76
87
|
const mounted = useSyncExternalStore(NO_SUBSCRIBE, IN_BROWSER, ON_SERVER);
|
|
77
88
|
const onHostReady = useCallback((p) => {
|
|
@@ -100,6 +100,10 @@ export type ViewsPopoverProps = {
|
|
|
100
100
|
export type ViewsTooltipProps = {
|
|
101
101
|
content: ReactNode;
|
|
102
102
|
children: ReactElement;
|
|
103
|
+
/** Its content says why what it names can't be used (Add sort at its most, a rule set aside): a longer line, which your tooltip
|
|
104
|
+
* may wrap and draw in its regular weight, as ViewKit's own does. Handed inside ViewKit's panels, under `panelControls`
|
|
105
|
+
* (VK-1015). */
|
|
106
|
+
reason?: boolean;
|
|
103
107
|
side?: ViewsSide;
|
|
104
108
|
align?: ViewsAlign;
|
|
105
109
|
delayMs?: number;
|
|
@@ -551,6 +555,10 @@ export type ViewsPartsBodyProps = ViewsPartsBodyCommon & ({
|
|
|
551
555
|
low: number | null;
|
|
552
556
|
high: number | null;
|
|
553
557
|
}[];
|
|
558
|
+
/** The least each end may hold: with `max`, the field's limits: each end steps within them, as the number body's box does, and a typed end outside them is drawn back to them as the box is left (VK-904). Absent where the field states none. */
|
|
559
|
+
min?: number;
|
|
560
|
+
/** The most each end may hold (`min`). Absent where the field states none. */
|
|
561
|
+
max?: number;
|
|
554
562
|
});
|
|
555
563
|
/** One value of a list a values body holds: its text, its label where it has one, and whether it is the main one. */
|
|
556
564
|
export type ViewsValueLine = {
|
|
@@ -579,7 +587,8 @@ export type ViewsValuesBodyProps = {
|
|
|
579
587
|
labels: boolean;
|
|
580
588
|
/** `one`: the field holds one value: one line, no label, no main mark, no line to add another while it holds one. */
|
|
581
589
|
holds: "one" | "several";
|
|
582
|
-
/** A phone's country, where a number typed without its country code is read (RO)
|
|
590
|
+
/** A phone's country, where a number typed without its country code is read (RO): the record's, else the conventions'
|
|
591
|
+
* `region`. ViewKit's own body starts a new number on it. */
|
|
583
592
|
region?: string;
|
|
584
593
|
/** It may be emptied: every value removed is a clear. */
|
|
585
594
|
empty: boolean;
|
|
@@ -612,7 +621,8 @@ export type ViewsTextBodyProps = {
|
|
|
612
621
|
onDone: () => void;
|
|
613
622
|
/** Why a value would be refused, in the app's words, or null when it reads. The editor checks again at the close. */
|
|
614
623
|
check: (value: string) => string | null;
|
|
615
|
-
/** A phone's country, where a number typed without its country code is read (RO)
|
|
624
|
+
/** A phone's country, where a number typed without its country code is read (RO): the record's, else the conventions'
|
|
625
|
+
* `region`. ViewKit's own body starts a new number on it. */
|
|
616
626
|
region?: string;
|
|
617
627
|
/** What was typed on what opened it, already the value. */
|
|
618
628
|
typed?: string;
|
|
@@ -1257,6 +1267,7 @@ export type ViewsCustomizeToggle = {
|
|
|
1257
1267
|
value: boolean;
|
|
1258
1268
|
onChange: (next: boolean) => void;
|
|
1259
1269
|
icon?: ReactNode;
|
|
1270
|
+
/** @deprecated Handed by nothing since a toggle carries no way back of its own (VK-1033). To be removed in a later release. */
|
|
1260
1271
|
reset?: () => void;
|
|
1261
1272
|
section?: string;
|
|
1262
1273
|
};
|
|
@@ -1296,7 +1307,8 @@ export type ViewsCustomizeLayout = {
|
|
|
1296
1307
|
choices: readonly ViewsCustomizeChoice[];
|
|
1297
1308
|
/** Its row spacing, where the layout has one. */
|
|
1298
1309
|
density?: ViewsCustomizeChoice;
|
|
1299
|
-
/**
|
|
1310
|
+
/** @deprecated Handed by nothing since Customize's Layout page ends at its toggles (VK-1033). To be removed in a later
|
|
1311
|
+
* release. */
|
|
1300
1312
|
personal?: {
|
|
1301
1313
|
label: string;
|
|
1302
1314
|
toggles: readonly ViewsCustomizeToggle[];
|
|
@@ -1464,7 +1476,14 @@ export type ViewsCustomizeBodyProps = {
|
|
|
1464
1476
|
pending: boolean;
|
|
1465
1477
|
onReset: () => void;
|
|
1466
1478
|
onPublish: () => void;
|
|
1479
|
+
/** The reader's own layer holds something: Reset stands (and empties it), Save only for `changes` (VK-1034). */
|
|
1480
|
+
layered?: boolean;
|
|
1467
1481
|
};
|
|
1482
|
+
/** Each page's own Reset, back to the view as saved (with no saved view, to the first page's Clear), each only while
|
|
1483
|
+
* that page differs; drawn on its page in the first page's Reset's word and look (VK-1034). Handed (even empty), the
|
|
1484
|
+
* body draws these alone, and no Clear all of the sort's or the filter's; not handed (a view without its saved
|
|
1485
|
+
* settings), the body keeps `columns.reset` and Clear all. */
|
|
1486
|
+
resets?: Partial<Record<"layout" | "columns" | "filter" | "sort" | "group", () => void>>;
|
|
1468
1487
|
/** The foot's words: `kit` for Clear and Save, `none` for none (they stand elsewhere); absent, Reset and Set default
|
|
1469
1488
|
* for everyone. */
|
|
1470
1489
|
foot?: "kit" | "none";
|
|
@@ -1576,13 +1595,16 @@ export type ViewsSelectProps = {
|
|
|
1576
1595
|
size?: "sm" | "default";
|
|
1577
1596
|
className?: string;
|
|
1578
1597
|
"aria-label"?: string;
|
|
1598
|
+
/** Inside a ViewKit field (the place editor's country, VK-1022), the id its label names: put it on the box a person presses. */
|
|
1599
|
+
id?: string;
|
|
1579
1600
|
/** The part's public name (`vk-sort-field`) and which one: draw them on the box a person presses. */
|
|
1580
1601
|
"data-slot"?: string;
|
|
1581
1602
|
"data-key"?: string;
|
|
1582
1603
|
};
|
|
1583
1604
|
/** The controls ViewKit's panels and field editors can draw as the app's own, under the provider's `panelControls` (VK-1013;
|
|
1584
|
-
* `Calendar`, the date editor's month, VK-1021)
|
|
1585
|
-
|
|
1605
|
+
* `Calendar`, the date editor's month, VK-1021; `Tooltip`, the panels' tooltips, VK-1015); `Avatar`, the atom, every record's
|
|
1606
|
+
* mark the panels draw (VK-1044); and `RelationChip`, the atom, every mentioned record ViewKit draws (VK-1053). */
|
|
1607
|
+
export type PanelControlName = "Button" | "Select" | "Menu" | "Popover" | "Input" | "Calendar" | "Tooltip" | "Avatar" | "RelationChip";
|
|
1586
1608
|
export declare const PANEL_CONTROL_NAMES: readonly PanelControlName[];
|
|
1587
1609
|
/** What the components map's `RowsWait` is handed: a grid's rows, and whether new ones are loading. */
|
|
1588
1610
|
export type ViewsRowsWaitProps = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export const PANEL_CONTROL_NAMES = ["Button", "Select", "Menu", "Popover", "Input", "Calendar"];
|
|
1
|
+
export const PANEL_CONTROL_NAMES = ["Button", "Select", "Menu", "Popover", "Input", "Calendar", "Tooltip", "Avatar", "RelationChip"];
|
|
2
2
|
const _requiredMatchContract = true;
|
|
3
3
|
const _optionalMatchContract = true;
|
|
4
4
|
void _requiredMatchContract;
|
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, 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, 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.35.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 {
|
|
@@ -490,12 +490,12 @@
|
|
|
490
490
|
.o-avatar.o-avatar-96 { width: calc(var(--vk-spacing) * 24); height: calc(var(--vk-spacing) * 24); font-size: var(--vk-font-size-4xl); }
|
|
491
491
|
|
|
492
492
|
/* ── A thing: a square, its corners a step that grows with it, on the neutral ground, its edge inside ─ */
|
|
493
|
-
.o-avatar.o-avatar-thing { border-radius: var(--avatar-r); background-color: var(--vk-neutral); color: var(--vk-fg-subtle); box-shadow: inset 0 0 0 var(--vk-border-width) var(--
|
|
493
|
+
.o-avatar.o-avatar-thing { --avatar-edge: var(--vk-border-subtle); border-radius: var(--avatar-r); background-color: var(--vk-neutral); color: var(--vk-fg-subtle); box-shadow: inset 0 0 0 var(--vk-border-width) var(--avatar-edge); }
|
|
494
494
|
/* The workspace: the one square in the brand. */
|
|
495
|
-
.o-avatar.o-avatar-workspace { background-color: var(--vk-brand); color: var(--vk-fg-on-brand);
|
|
495
|
+
.o-avatar.o-avatar-workspace { --avatar-edge: transparent; background-color: var(--vk-brand); color: var(--vk-fg-on-brand); }
|
|
496
496
|
/* A square's own colour, the workspace's included: on the hue's fill, what it holds in the hue's strong ink, with no edge; grey
|
|
497
497
|
the neutral ground in the quieter ink. */
|
|
498
|
-
.o-avatar.o-avatar-thing[data-colour] {
|
|
498
|
+
.o-avatar.o-avatar-thing[data-colour] { --avatar-edge: transparent; }
|
|
499
499
|
.o-avatar.o-avatar-thing[data-colour="blue"] { background-color: var(--vk-label-blue-fill); color: var(--vk-label-blue-strong); }
|
|
500
500
|
.o-avatar.o-avatar-thing[data-colour="green"] { background-color: var(--vk-label-green-fill); color: var(--vk-label-green-strong); }
|
|
501
501
|
.o-avatar.o-avatar-thing[data-colour="amber"] { background-color: var(--vk-label-amber-fill); color: var(--vk-label-amber-strong); }
|
|
@@ -520,10 +520,43 @@
|
|
|
520
520
|
.o-avatar.o-avatar-agent[data-colour="teal"]:where([data-vk-phone] *) { background-color: var(--vk-label-teal); }
|
|
521
521
|
.o-avatar.o-avatar-agent[data-colour="grey"]:where([data-vk-phone] *) { background-color: var(--vk-fg-subtlest); }
|
|
522
522
|
|
|
523
|
-
/* ──
|
|
524
|
-
|
|
523
|
+
/* ── A record's mark, a person's or a thing's, when the app hands its object's icon (VK-1039, after Attio): with no picture
|
|
524
|
+
(the fallback holds the icon only while no photo or logo has loaded, so a src always wins) the icon, or under Initials its
|
|
525
|
+
letters on today's look. The icon stands on its Ground in its Icon colour, through the private properties below; a person
|
|
526
|
+
keeps its circle. The grey ink follows the ground, as the sketch drew it: the quietest on Quiet grey, the subtle one on the
|
|
527
|
+
rest. The object's colour is the hue handed (data-colour), its fill under the icon, its strong ink on it; handed none, the greys. */
|
|
528
|
+
.o-avatar-letters > :is(.o-avatar-icon, .o-avatar-initials) { display: contents; }
|
|
529
|
+
.o-avatar-letters > .o-avatar-initials { display: none; }
|
|
530
|
+
[data-avatar-mark="initials"] .o-avatar-letters > .o-avatar-initials { display: contents; }
|
|
531
|
+
[data-avatar-mark="initials"] .o-avatar-letters > .o-avatar-icon:has(+ .o-avatar-initials) { display: none; }
|
|
532
|
+
.o-avatar[data-colour="blue"] { --avatar-hue-fill: var(--vk-label-blue-fill); --avatar-hue-ink: var(--vk-label-blue-strong); }
|
|
533
|
+
.o-avatar[data-colour="green"] { --avatar-hue-fill: var(--vk-label-green-fill); --avatar-hue-ink: var(--vk-label-green-strong); }
|
|
534
|
+
.o-avatar[data-colour="amber"] { --avatar-hue-fill: var(--vk-label-amber-fill); --avatar-hue-ink: var(--vk-label-amber-strong); }
|
|
535
|
+
.o-avatar[data-colour="red"] { --avatar-hue-fill: var(--vk-label-red-fill); --avatar-hue-ink: var(--vk-label-red-strong); }
|
|
536
|
+
.o-avatar[data-colour="purple"] { --avatar-hue-fill: var(--vk-label-purple-fill); --avatar-hue-ink: var(--vk-label-purple-strong); }
|
|
537
|
+
.o-avatar[data-colour="pink"] { --avatar-hue-fill: var(--vk-label-pink-fill); --avatar-hue-ink: var(--vk-label-pink-strong); }
|
|
538
|
+
.o-avatar[data-colour="teal"] { --avatar-hue-fill: var(--vk-label-teal-fill); --avatar-hue-ink: var(--vk-label-teal-strong); }
|
|
539
|
+
.o-avatar[data-colour="grey"] { --avatar-hue-fill: var(--vk-neutral-hovered); --avatar-hue-ink: var(--vk-fg-subtle); }
|
|
540
|
+
/* Quiet grey, with nothing set: a step above background-neutral, so it shows on a drawer in dark; no edge. A person's circle
|
|
541
|
+
draws its edge inside, as a square's does without Smooth (a square's own rules draw its edge, the ring under Smooth too). */
|
|
542
|
+
.o-avatar:has(> .o-avatar-letters > .o-avatar-icon):not([data-avatar-mark="initials"] *) {
|
|
543
|
+
--avatar-ground: var(--vk-neutral-hovered); --avatar-grey-ink: var(--vk-fg-subtlest); --avatar-edge: transparent;
|
|
544
|
+
background-color: var(--avatar-ground); color: var(--avatar-ink, var(--avatar-grey-ink));
|
|
545
|
+
}
|
|
546
|
+
.o-avatar:not(.o-avatar-thing):has(> .o-avatar-letters > .o-avatar-icon):not([data-avatar-mark="initials"] *) { box-shadow: inset 0 0 0 var(--vk-border-width) var(--avatar-edge); }
|
|
547
|
+
/* Grey: two steps above. */
|
|
548
|
+
[data-avatar-ground="grey"] .o-avatar:has(> .o-avatar-letters > .o-avatar-icon):not([data-avatar-mark="initials"] *) { --avatar-ground: var(--vk-neutral-bold); --avatar-grey-ink: var(--vk-fg-subtle); }
|
|
549
|
+
/* Outline: no ground, its edge a field's. */
|
|
550
|
+
[data-avatar-ground="outline"] .o-avatar:has(> .o-avatar-letters > .o-avatar-icon):not([data-avatar-mark="initials"] *) { --avatar-ground: transparent; --avatar-grey-ink: var(--vk-fg-subtle); --avatar-edge: var(--vk-border-input); }
|
|
551
|
+
/* The object's colour: its hue's fill. */
|
|
552
|
+
[data-avatar-ground="colour"] .o-avatar[data-colour]:has(> .o-avatar-letters > .o-avatar-icon):not([data-avatar-mark="initials"] *) { --avatar-ground: var(--avatar-hue-fill); --avatar-grey-ink: var(--vk-fg-subtle); }
|
|
553
|
+
/* Icon colour, the object's: its hue's strong ink. */
|
|
554
|
+
[data-avatar-icon-colour="colour"] .o-avatar[data-colour]:has(> .o-avatar-letters > .o-avatar-icon):not([data-avatar-mark="initials"] *) { --avatar-ink: var(--avatar-hue-ink); }
|
|
555
|
+
|
|
556
|
+
/* ── Corners: a radius token per size, in steps, 56 taking 64's and 16 taking 20's; Medium with nothing set: sm at 16, 20, 24 and 32,
|
|
557
|
+
md at 40, lg at 56 and 64, 2xl at 96 (two steps past 64's, as round 3's photo draws it), between Small and Large. At 16 and 20
|
|
558
|
+
each step sits one past 24's (VK-1045): Small xs, Medium sm, Large md, Extra large lg, so Medium is no longer Small there. ── */
|
|
525
559
|
.o-avatar.o-avatar-thing { --avatar-r: var(--vk-radius-sm); }
|
|
526
|
-
.o-avatar.o-avatar-thing:is(.o-avatar-2xs, .o-avatar-xs) { --avatar-r: var(--vk-radius-xs); }
|
|
527
560
|
.o-avatar.o-avatar-thing.o-avatar-lg { --avatar-r: var(--vk-radius-md); }
|
|
528
561
|
.o-avatar.o-avatar-thing:is(.o-avatar-56, .o-avatar-xl) { --avatar-r: var(--vk-radius-lg); }
|
|
529
562
|
.o-avatar.o-avatar-thing.o-avatar-96 { --avatar-r: var(--vk-radius-2xl); }
|
|
@@ -532,15 +565,15 @@
|
|
|
532
565
|
[data-avatar-corners="small"] .o-avatar.o-avatar-thing:is(.o-avatar-2xs, .o-avatar-xs, .o-avatar-sm) { --avatar-r: var(--vk-radius-xs); }
|
|
533
566
|
[data-avatar-corners="small"] .o-avatar.o-avatar-thing:is(.o-avatar-56, .o-avatar-xl) { --avatar-r: var(--vk-radius-md); }
|
|
534
567
|
[data-avatar-corners="small"] .o-avatar.o-avatar-thing.o-avatar-96 { --avatar-r: var(--vk-radius-xl); }
|
|
535
|
-
/* Large, the radii before Medium came:
|
|
568
|
+
/* Large, the radii before Medium came (but 16 and 20's, VK-1045): md at 16 and 20, sm at 24, md at 32, lg at 40, xl at 56 and 64, 3xl at 96. */
|
|
536
569
|
[data-avatar-corners="large"] .o-avatar.o-avatar-thing { --avatar-r: var(--vk-radius-md); }
|
|
537
|
-
[data-avatar-corners="large"] .o-avatar.o-avatar-thing
|
|
570
|
+
[data-avatar-corners="large"] .o-avatar.o-avatar-thing.o-avatar-sm { --avatar-r: var(--vk-radius-sm); }
|
|
538
571
|
[data-avatar-corners="large"] .o-avatar.o-avatar-thing.o-avatar-lg { --avatar-r: var(--vk-radius-lg); }
|
|
539
572
|
[data-avatar-corners="large"] .o-avatar.o-avatar-thing:is(.o-avatar-56, .o-avatar-xl) { --avatar-r: var(--vk-radius-xl); }
|
|
540
573
|
[data-avatar-corners="large"] .o-avatar.o-avatar-thing.o-avatar-96 { --avatar-r: var(--vk-radius-3xl); }
|
|
541
|
-
/* Extra large:
|
|
574
|
+
/* Extra large: lg at 16 and 20 (VK-1045), md at 24, lg at 32, xl at 40, 2xl at 56 and 64, 4xl at 96. */
|
|
542
575
|
[data-avatar-corners="xlarge"] .o-avatar.o-avatar-thing { --avatar-r: var(--vk-radius-lg); }
|
|
543
|
-
[data-avatar-corners="xlarge"] .o-avatar.o-avatar-thing
|
|
576
|
+
[data-avatar-corners="xlarge"] .o-avatar.o-avatar-thing.o-avatar-sm { --avatar-r: var(--vk-radius-md); }
|
|
544
577
|
[data-avatar-corners="xlarge"] .o-avatar.o-avatar-thing.o-avatar-lg { --avatar-r: var(--vk-radius-xl); }
|
|
545
578
|
[data-avatar-corners="xlarge"] .o-avatar.o-avatar-thing:is(.o-avatar-56, .o-avatar-xl) { --avatar-r: var(--vk-radius-2xl); }
|
|
546
579
|
[data-avatar-corners="xlarge"] .o-avatar.o-avatar-thing.o-avatar-96 { --avatar-r: var(--vk-radius-4xl); }
|
|
@@ -550,7 +583,7 @@
|
|
|
550
583
|
smoothing eases off where a side is too short for 1.7 radii at each end, as the canvas drew it (o-smooth-ease, from its size and
|
|
551
584
|
its radius, both tokens, so it follows Corner radius). The outline would cut the edge drawn inside the square, so under it the
|
|
552
585
|
edge is a ring of its own (::before), between the outline and the same outline drawn a hairline in, under whatever the square
|
|
553
|
-
holds
|
|
586
|
+
holds, in --avatar-edge: the workspace and a square on its own colour draw it in none, a record's icon by its Ground. Its smoothing is its own Corner smoothing, never a host's: the outline's amount inherits, and a
|
|
554
587
|
crumb, a tab or a list's card that follows the token sets it on itself, so the square sets it back. ─────── */
|
|
555
588
|
@supports (clip-path: shape(evenodd from 0 0, curve by 1px 1px with 1px 0 / 1px 0, close, move to 0 0, hline to 1px, close)) and (width: calc(tan(atan2(1px, 1px)) * 1px)) {
|
|
556
589
|
.o-avatar.o-avatar-thing { --smooth-amount: initial; }
|
|
@@ -558,11 +591,11 @@
|
|
|
558
591
|
--avatar-rr: min(var(--avatar-r), var(--avatar-size) / 2); --smooth-t: var(--avatar-rr); --smooth-side: var(--avatar-size);
|
|
559
592
|
position: relative; box-shadow: none; clip-path: shape(var(--smooth-outline));
|
|
560
593
|
}
|
|
561
|
-
/* Its edge, a hairline ring along the outline, under the picture or the letters it holds
|
|
562
|
-
own colour
|
|
563
|
-
.o-avatar.o-avatar-thing:not(
|
|
594
|
+
/* Its edge, a hairline ring along the outline, under the picture or the letters it holds, in --avatar-edge: the workspace and a
|
|
595
|
+
square on its own colour draw it in none. */
|
|
596
|
+
.o-avatar.o-avatar-thing:not([data-avatar-smoothing="round"] *)::before {
|
|
564
597
|
--smooth-t: calc(var(--avatar-rr) - var(--vk-border-width)); --smooth-in: var(--vk-border-width);
|
|
565
|
-
content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-color: var(--
|
|
598
|
+
content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-color: var(--avatar-edge);
|
|
566
599
|
clip-path: shape(var(--smooth-ring));
|
|
567
600
|
}
|
|
568
601
|
}
|
|
@@ -5797,10 +5830,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
5797
5830
|
|
|
5798
5831
|
/* What a line holds keeps its width; only a text box gives some up, from its own width down to its narrowest. */
|
|
5799
5832
|
.o-toolbar-line > * { flex: none; }
|
|
5800
|
-
/* Filling its row (fill: a record's actions, Attio's way): the row's worded buttons grow from their own width to share the line, their
|
|
5801
|
-
words in their middle; a square one (its icon alone) keeps its own. None shrinks under its own width, so what doesn't fit still
|
|
5802
|
-
gives way. */
|
|
5803
|
-
.o-toolbar[data-fill] > .o-toolbar-line[data-line="row"] > .o-button:not(.o-button-icon, .o-button-round) { flex: 1 0 auto; }
|
|
5804
5833
|
.o-toolbar-line > :is(.o-toolbar-input, .o-input-group:has(.o-toolbar-input)) { flex: 0 1 calc(var(--vk-spacing) * 55); min-width: calc(var(--vk-spacing) * 30); }
|
|
5805
5834
|
|
|
5806
5835
|
/* A list's search: on a phone's line of its own it fills it; open on a phone's one line it takes the room the others left. */
|
|
@@ -8034,6 +8063,27 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8034
8063
|
opacity: 100%;
|
|
8035
8064
|
}
|
|
8036
8065
|
}
|
|
8066
|
+
.group-data-active\/gridrow\:bg-\[linear-gradient\(color-mix\(in_oklab\,_color-mix\(in_oklab\,_var\(--vk-brand\)_10\%\,_transparent\)_calc\(var\(--vk-scrolled\,0\)\*100\%\)\,_transparent\)\,color-mix\(in_oklab\,_color-mix\(in_oklab\,_var\(--vk-brand\)_10\%\,_transparent\)_calc\(var\(--vk-scrolled\,0\)\*100\%\)\,_transparent\)\)\,linear-gradient\(color-mix\(in_oklab\,_var\(--vk-brand-subtlest\)_calc\(var\(--vk-scrolled\,0\)\*100\%\)\,_transparent\)\,color-mix\(in_oklab\,_var\(--vk-brand-subtlest\)_calc\(var\(--vk-scrolled\,0\)\*100\%\)\,_transparent\)\)\]:is(:where(.group\/gridrow)[data-active] *) {
|
|
8067
|
+
background-image: linear-gradient(var(--vk-brand),var(--vk-brand)),linear-gradient(var(--vk-brand-subtlest),var(--vk-brand-subtlest));
|
|
8068
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
8069
|
+
background-image: linear-gradient(color-mix(in oklab, color-mix(in oklab, var(--vk-brand) 10%, transparent) calc(var(--vk-scrolled,0) * 100%), transparent),color-mix(in oklab, color-mix(in oklab, var(--vk-brand) 10%, transparent) calc(var(--vk-scrolled,0) * 100%), transparent)),linear-gradient(color-mix(in oklab, var(--vk-brand-subtlest) calc(var(--vk-scrolled,0) * 100%), transparent),color-mix(in oklab, var(--vk-brand-subtlest) calc(var(--vk-scrolled,0) * 100%), transparent));
|
|
8070
|
+
}
|
|
8071
|
+
}
|
|
8072
|
+
.group-data-active\/gridrow\:bg-\[linear-gradient\(color-mix\(in_oklab\,_var\(--vk-brand\)_10\%\,_transparent\)\,color-mix\(in_oklab\,_var\(--vk-brand\)_10\%\,_transparent\)\)\,linear-gradient\(var\(--vk-brand-subtlest\)\,var\(--vk-brand-subtlest\)\)\]:is(:where(.group\/gridrow)[data-active] *) {
|
|
8073
|
+
background-image: linear-gradient(var(--vk-brand),var(--vk-brand)),linear-gradient(var(--vk-brand-subtlest),var(--vk-brand-subtlest));
|
|
8074
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
8075
|
+
background-image: linear-gradient(color-mix(in oklab, var(--vk-brand) 10%, transparent),color-mix(in oklab, var(--vk-brand) 10%, transparent)),linear-gradient(var(--vk-brand-subtlest),var(--vk-brand-subtlest));
|
|
8076
|
+
}
|
|
8077
|
+
}
|
|
8078
|
+
.group-data-active\/gridrow\:bg-\[linear-gradient\(color-mix\(in_oklab\,_var\(--vk-hovered\)_calc\(var\(--vk-scrolled\,0\)\*100\%\)\,_transparent\)\,color-mix\(in_oklab\,_var\(--vk-hovered\)_calc\(var\(--vk-scrolled\,0\)\*100\%\)\,_transparent\)\)\]:is(:where(.group\/gridrow)[data-active] *) {
|
|
8079
|
+
background-image: linear-gradient(var(--vk-hovered),var(--vk-hovered));
|
|
8080
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
8081
|
+
background-image: linear-gradient(color-mix(in oklab, var(--vk-hovered) calc(var(--vk-scrolled,0) * 100%), transparent),color-mix(in oklab, var(--vk-hovered) calc(var(--vk-scrolled,0) * 100%), transparent));
|
|
8082
|
+
}
|
|
8083
|
+
}
|
|
8084
|
+
.group-data-active\/gridrow\:bg-\[linear-gradient\(var\(--vk-hovered\)\,var\(--vk-hovered\)\)\]:is(:where(.group\/gridrow)[data-active] *) {
|
|
8085
|
+
background-image: linear-gradient(var(--vk-hovered),var(--vk-hovered));
|
|
8086
|
+
}
|
|
8037
8087
|
.group-data-desktop\/gridtable\:flex:is(:where(.group\/gridtable)[data-desktop] *) {
|
|
8038
8088
|
display: flex;
|
|
8039
8089
|
}
|
|
@@ -8144,6 +8194,17 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8144
8194
|
opacity: max(calc(var(--vk-frozen-on,0) * var(--vk-scrolled,0)), var(--vk-parked,0));
|
|
8145
8195
|
}
|
|
8146
8196
|
}
|
|
8197
|
+
.group-data-active\/gridrow\:before\:bg-\[linear-gradient\(color-mix\(in_oklab\,_var\(--vk-brand\)_10\%\,_transparent\)\,color-mix\(in_oklab\,_var\(--vk-brand\)_10\%\,_transparent\)\)\,linear-gradient\(var\(--vk-brand-subtlest\)\,var\(--vk-brand-subtlest\)\)\]:is(:where(.group\/gridrow)[data-active] *)::before {
|
|
8198
|
+
content: var(--tw-content);
|
|
8199
|
+
background-image: linear-gradient(var(--vk-brand),var(--vk-brand)),linear-gradient(var(--vk-brand-subtlest),var(--vk-brand-subtlest));
|
|
8200
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
8201
|
+
background-image: linear-gradient(color-mix(in oklab, var(--vk-brand) 10%, transparent),color-mix(in oklab, var(--vk-brand) 10%, transparent)),linear-gradient(var(--vk-brand-subtlest),var(--vk-brand-subtlest));
|
|
8202
|
+
}
|
|
8203
|
+
}
|
|
8204
|
+
.group-data-active\/gridrow\:before\:bg-\[linear-gradient\(var\(--vk-hovered\)\,var\(--vk-hovered\)\)\]:is(:where(.group\/gridrow)[data-active] *)::before {
|
|
8205
|
+
content: var(--tw-content);
|
|
8206
|
+
background-image: linear-gradient(var(--vk-hovered),var(--vk-hovered));
|
|
8207
|
+
}
|
|
8147
8208
|
.group-data-hovered\/gridrow\:before\:bg-\[linear-gradient\(color-mix\(in_oklab\,_var\(--vk-brand\)_10\%\,_transparent\)\,color-mix\(in_oklab\,_var\(--vk-brand\)_10\%\,_transparent\)\)\,linear-gradient\(var\(--vk-brand-subtlest\)\,var\(--vk-brand-subtlest\)\)\]:is(:where(.group\/gridrow)[data-hovered] *)::before {
|
|
8148
8209
|
content: var(--tw-content);
|
|
8149
8210
|
background-image: linear-gradient(var(--vk-brand),var(--vk-brand)),linear-gradient(var(--vk-brand-subtlest),var(--vk-brand-subtlest));
|
|
@@ -8361,6 +8422,15 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8361
8422
|
.aria-expanded\:opacity-100[aria-expanded="true"] {
|
|
8362
8423
|
opacity: 100%;
|
|
8363
8424
|
}
|
|
8425
|
+
.data-active\:bg-\[linear-gradient\(color-mix\(in_oklab\,_var\(--vk-brand\)_10\%\,_transparent\)\,color-mix\(in_oklab\,_var\(--vk-brand\)_10\%\,_transparent\)\)\][data-active] {
|
|
8426
|
+
background-image: linear-gradient(var(--vk-brand),var(--vk-brand));
|
|
8427
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
8428
|
+
background-image: linear-gradient(color-mix(in oklab, var(--vk-brand) 10%, transparent),color-mix(in oklab, var(--vk-brand) 10%, transparent));
|
|
8429
|
+
}
|
|
8430
|
+
}
|
|
8431
|
+
.data-active\:bg-\[linear-gradient\(var\(--vk-hovered\)\,var\(--vk-hovered\)\)\][data-active] {
|
|
8432
|
+
background-image: linear-gradient(var(--vk-hovered),var(--vk-hovered));
|
|
8433
|
+
}
|
|
8364
8434
|
:is(.\*\*\:data-cell-open\:underline-offset-\(--vk-underline-offset\,2px\) *)[data-cell-open] {
|
|
8365
8435
|
text-underline-offset: var(--vk-underline-offset,2px);
|
|
8366
8436
|
}
|
|
@@ -8672,6 +8742,9 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8672
8742
|
content: "+" / "";
|
|
8673
8743
|
margin-right: var(--vk-spacing);
|
|
8674
8744
|
}
|
|
8745
|
+
[data-grid-offer="always"] [data-slot="vk-grid-figure-pick"] {
|
|
8746
|
+
opacity: 1;
|
|
8747
|
+
}
|
|
8675
8748
|
[data-slot="vk-grid-header-cell"][data-open],
|
|
8676
8749
|
[data-slot="vk-grid-footer-cell"][data-open],
|
|
8677
8750
|
[data-slot="vk-grid-header"] [data-slot="vk-grid-tail"]:has([data-open]) {
|
|
@@ -8782,6 +8855,8 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8782
8855
|
--vk-success-subtler: hsl(143 41% 91%);
|
|
8783
8856
|
--vk-warning-subtler: hsl(19 72% 92.5%);
|
|
8784
8857
|
--vk-danger-subtler: hsl(6 100% 94%);
|
|
8858
|
+
--vk-neutral-bold: hsl(210 1% 88%);
|
|
8859
|
+
--vk-border-input: hsl(220 3% 86%);
|
|
8785
8860
|
--vk-person-1: #d7a77e;
|
|
8786
8861
|
--vk-person-2: #93b6ce;
|
|
8787
8862
|
--vk-person-3: #afc98f;
|
|
@@ -8802,7 +8877,6 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
8802
8877
|
--vk-radius-sm: 5px;
|
|
8803
8878
|
--vk-radius-xs: 2.5px;
|
|
8804
8879
|
--vk-tracking-normal: 0em;
|
|
8805
|
-
--vk-border-input: hsl(220 3% 86%);
|
|
8806
8880
|
--vk-fg-disabled: hsl(210 1% 72%);
|
|
8807
8881
|
--vk-focus-offset: 2px;
|
|
8808
8882
|
--vk-focus-width: 2px;
|
|
@@ -9068,6 +9142,8 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
9068
9142
|
--vk-success-subtler: hsl(145 17% 12.5%);
|
|
9069
9143
|
--vk-warning-subtler: hsl(20 29% 13.5%);
|
|
9070
9144
|
--vk-danger-subtler: hsl(6 27% 14.5%);
|
|
9145
|
+
--vk-neutral-bold: hsl(210 2% 19%);
|
|
9146
|
+
--vk-border-input: hsl(220 4% 22%);
|
|
9071
9147
|
--vk-person-1: #d7a77e;
|
|
9072
9148
|
--vk-person-2: #93b6ce;
|
|
9073
9149
|
--vk-person-3: #afc98f;
|
|
@@ -9076,9 +9152,8 @@ button.o-setting-row { width: 100%; font: inherit; color: inherit; text-align: l
|
|
|
9076
9152
|
--vk-person-6: #9dabdd;
|
|
9077
9153
|
--vk-person-fg: #10141a;
|
|
9078
9154
|
--vk-success-bold: hsl(158 98% 34%);
|
|
9079
|
-
--vk-border-input: hsl(220 4% 22%);
|
|
9080
9155
|
--vk-fg-disabled: hsl(210 1% 37%);
|
|
9081
|
-
--vk-shadow-menu: 0 8px 24px hsl(0 0% 0% / 0.5)
|
|
9156
|
+
--vk-shadow-menu: 0 8px 24px hsl(0 0% 0% / 0.5);
|
|
9082
9157
|
--vk-brand-hovered: hsl(219 95% 64%);
|
|
9083
9158
|
--vk-brand-pressed: hsl(219 100% 72.5%);
|
|
9084
9159
|
--vk-brand-subtler-hovered: hsl(219 46% 21%);
|