@vireo-ai/trellis-ui 0.1.38 → 0.1.40
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/package.json +1 -1
- package/packages/client/src/components/data-grid/styles.css +73 -0
- package/packages/client/src/components/select/styles.css +14 -0
- package/packages/client/src/styles/components.css +1 -0
- package/packages/client/src/styles/generated-sources.css +1 -1
- package/packages/client/types/assets/full-runtime.generated.d.ts +1 -1
- package/packages/client/types/component-api.d.ts +1 -0
- package/packages/client/types/components/badge/contract.d.ts +1 -1
- package/packages/client/types/components/button/contract.d.ts +1 -1
- package/packages/client/types/components/card/contract.d.ts +2 -2
- package/packages/client/types/components/checkbox/contract.d.ts +6 -6
- package/packages/client/types/components/data-grid/contract.d.ts +107 -0
- package/packages/client/types/components/data-grid/entry.generated.d.ts +5 -0
- package/packages/client/types/components/data-grid/index.d.ts +34 -0
- package/packages/client/types/components/data-grid/model.d.ts +43 -0
- package/packages/client/types/components/data-grid/runtime-docs.d.ts +2 -0
- package/packages/client/types/components/date-picker/contract.d.ts +1 -1
- package/packages/client/types/components/date-picker/machine.d.ts +2 -2
- package/packages/client/types/components/entry.generated.d.ts +2 -0
- package/packages/client/types/components/menu/contract.d.ts +1 -1
- package/packages/client/types/components/radio/contract.d.ts +4 -4
- package/packages/client/types/components/runtime.d.ts +5 -0
- package/packages/client/types/components/select/contract.d.ts +10 -1
- package/packages/client/types/components/select/machine.d.ts +20 -2
- package/packages/client/types/components/sidebar/contract.d.ts +1 -1
- package/packages/client/types/components/table/contract.d.ts +3 -3
- package/packages/client/types/components/toast/contract.d.ts +1 -1
- package/packages/client/types/components/toast/machine.d.ts +1 -1
- package/packages/client/types/components/virtualizer/contract.d.ts +29 -0
- package/packages/client/types/components/virtualizer/entry.generated.d.ts +5 -0
- package/packages/client/types/components/virtualizer/index.d.ts +31 -0
- package/packages/client/types/components/virtualizer/runtime-docs.d.ts +2 -0
- package/packages/client/types/directives/sortable.d.ts +6 -0
- package/packages/client/types/runtime/drag-and-drop/sortable/contract.d.ts +6 -1
- package/packages/client/types/runtime/drag-and-drop/sortable/ghost.d.ts +5 -2
- package/packages/client/types/runtime/engine/fragment.d.ts +11 -0
- package/packages/client/types/runtime/index.d.ts +3 -0
- package/packages/client/types/runtime/virtual-window.d.ts +85 -0
- package/packages/client/types/runtime/virtualizer-fragment.d.ts +14 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/css/trellis.css +85 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/css/trellis.min.css +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/build-metadata.json +295 -212
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/capabilities/motion.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/capabilities/resizable.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/capabilities/sortable.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{capability-motion-C2a-uH0K.js → capability-motion-VFYcNVM5.js} +2 -2
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{capability-motion-C2a-uH0K.js.map → capability-motion-VFYcNVM5.js.map} +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/capability-resizable-Bga8TngJ.js +2 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{capability-resizable-C6LKIbpv.js.map → capability-resizable-Bga8TngJ.js.map} +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/capability-sortable-BU1g9uTC.js +3 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/capability-sortable-BU1g9uTC.js.map +1 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{core-RGsAqnkU.js → core-LsAXy99P.js} +2 -2
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{core-RGsAqnkU.js.map → core-LsAXy99P.js.map} +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{drag-and-drop-BV6kB47L.js → drag-and-drop-DHq3udf7.js} +2 -2
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{drag-and-drop-BV6kB47L.js.map → drag-and-drop-DHq3udf7.js.map} +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-WW2h_4VQ.js → entry.generated-2VgVfygk.js} +2 -2
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-WW2h_4VQ.js.map → entry.generated-2VgVfygk.js.map} +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-B2rTvkxi.js +2 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-B2rTvkxi.js.map +1 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-Bs8R7q-k.js → entry.generated-BVBXXN6t.js} +2 -2
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-Bs8R7q-k.js.map → entry.generated-BVBXXN6t.js.map} +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-C35Q-qoz.js +2 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-C35Q-qoz.js.map +1 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-Iyuixnaf.js → entry.generated-C7Kas-N2.js} +2 -2
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-Iyuixnaf.js.map → entry.generated-C7Kas-N2.js.map} +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-Dbx3mzKF.js → entry.generated-Cc5mRBBS.js} +2 -2
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-Dbx3mzKF.js.map → entry.generated-Cc5mRBBS.js.map} +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-DlB7q_hp.js → entry.generated-D91HRlIV.js} +2 -2
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-DlB7q_hp.js.map → entry.generated-D91HRlIV.js.map} +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-BJ-tHyRS.js → entry.generated-LUzMUcng.js} +2 -2
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-BJ-tHyRS.js.map → entry.generated-LUzMUcng.js.map} +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-BhPEF6oz.js → entry.generated-QspMEPHx.js} +2 -2
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-BhPEF6oz.js.map → entry.generated-QspMEPHx.js.map} +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-B9dB25_X.js → entry.generated-UHQD4FyC.js} +2 -2
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-B9dB25_X.js.map → entry.generated-UHQD4FyC.js.map} +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-DACv4vt_.js → entry.generated-bERshNT6.js} +2 -2
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{entry.generated-DACv4vt_.js.map → entry.generated-bERshNT6.js.map} +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry2.generated-C5DAZC4R.js +2 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry2.generated-C5DAZC4R.js.map +1 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/fragment-Bl3Rq38L.js +2 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/fragment-Bl3Rq38L.js.map +1 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{motion-Elnp-CNK.js → motion-D44EkjK3.js} +2 -2
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/{motion-Elnp-CNK.js.map → motion-D44EkjK3.js.map} +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/ui-BWVDkV-D.js +4 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/ui-BWVDkV-D.js.map +1 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/virtual-window-BHdOw3Pi.js +2 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/virtual-window-BHdOw3Pi.js.map +1 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/accordion.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/data-grid.js +1 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/date-picker.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/dropdown.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/index.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/index.js.map +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/modal.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/panels.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/select.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/sidebar.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/table.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/tabs.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/toast.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/components/virtualizer.js +1 -0
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/core.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/index.js +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/index.js.map +1 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/logical-entry-manifest.json +141 -87
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.js +9 -9
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.min.js +9 -9
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/capability-resizable-C6LKIbpv.js +0 -2
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/capability-sortable-BggRHN-z.js +0 -3
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/capability-sortable-BggRHN-z.js.map +0 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-fIISM6Ej.js +0 -2
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/entry.generated-fIISM6Ej.js.map +0 -1
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/ui-BClfiP2G.js +0 -4
- package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/ui-BClfiP2G.js.map +0 -1
|
@@ -71,6 +71,15 @@ declare const selectHooks: readonly [{
|
|
|
71
71
|
mode: import("../../runtime/codecs").OneOfCodec<"native" | "listbox" | "combobox" | "pillbox">;
|
|
72
72
|
multiple: import("../../runtime/codecs").BoolCodec;
|
|
73
73
|
searchable: import("../../runtime/codecs").BoolCodec;
|
|
74
|
+
virtualized: import("../../runtime/codecs").BoolCodec;
|
|
75
|
+
optionsFetchUrl: import("../../runtime/codecs").StringCodec;
|
|
76
|
+
optionsTotalItems: import("../../runtime/codecs").NumberCodec;
|
|
77
|
+
optionItemSize: import("../../runtime/codecs").NumberCodec;
|
|
78
|
+
optionBufferSize: import("../../runtime/codecs").NumberCodec;
|
|
79
|
+
optionOverscan: import("../../runtime/codecs").NumberCodec;
|
|
80
|
+
optionSearchParam: import("../../runtime/codecs").StringCodec;
|
|
81
|
+
optionSearchDebounce: import("../../runtime/codecs").NumberCodec;
|
|
82
|
+
selectedLabelMap: import("../../runtime/codecs").JsonCodec<Record<string, string>>;
|
|
74
83
|
creatable: import("../../runtime/codecs").BoolCodec;
|
|
75
84
|
filter: import("../../runtime/codecs").BoolCodec;
|
|
76
85
|
clearable: import("../../runtime/codecs").BoolCodec;
|
|
@@ -103,7 +112,7 @@ declare const selectHooks: readonly [{
|
|
|
103
112
|
listboxClass: import("../../runtime/codecs").StringCodec;
|
|
104
113
|
optionClass: import("../../runtime/codecs").StringCodec;
|
|
105
114
|
chipVariant: import("../../runtime/codecs").OneOfCodec<"outline" | "solid" | "soft" | "surface">;
|
|
106
|
-
chipColor: import("../../runtime/codecs").OneOfCodec<"
|
|
115
|
+
chipColor: import("../../runtime/codecs").OneOfCodec<"neutral" | "accent" | "danger" | "success" | "warning">;
|
|
107
116
|
chipClass: import("../../runtime/codecs").StringCodec;
|
|
108
117
|
class: import("../../runtime/codecs").StringCodec;
|
|
109
118
|
}>>;
|
|
@@ -139,6 +148,15 @@ declare const selectHooks: readonly [{
|
|
|
139
148
|
mode: import("../../runtime/codecs").OneOfCodec<"native" | "listbox" | "combobox" | "pillbox">;
|
|
140
149
|
multiple: import("../../runtime/codecs").BoolCodec;
|
|
141
150
|
searchable: import("../../runtime/codecs").BoolCodec;
|
|
151
|
+
virtualized: import("../../runtime/codecs").BoolCodec;
|
|
152
|
+
optionsFetchUrl: import("../../runtime/codecs").StringCodec;
|
|
153
|
+
optionsTotalItems: import("../../runtime/codecs").NumberCodec;
|
|
154
|
+
optionItemSize: import("../../runtime/codecs").NumberCodec;
|
|
155
|
+
optionBufferSize: import("../../runtime/codecs").NumberCodec;
|
|
156
|
+
optionOverscan: import("../../runtime/codecs").NumberCodec;
|
|
157
|
+
optionSearchParam: import("../../runtime/codecs").StringCodec;
|
|
158
|
+
optionSearchDebounce: import("../../runtime/codecs").NumberCodec;
|
|
159
|
+
selectedLabelMap: import("../../runtime/codecs").JsonCodec<Record<string, string>>;
|
|
142
160
|
creatable: import("../../runtime/codecs").BoolCodec;
|
|
143
161
|
filter: import("../../runtime/codecs").BoolCodec;
|
|
144
162
|
clearable: import("../../runtime/codecs").BoolCodec;
|
|
@@ -171,7 +189,7 @@ declare const selectHooks: readonly [{
|
|
|
171
189
|
listboxClass: import("../../runtime/codecs").StringCodec;
|
|
172
190
|
optionClass: import("../../runtime/codecs").StringCodec;
|
|
173
191
|
chipVariant: import("../../runtime/codecs").OneOfCodec<"outline" | "solid" | "soft" | "surface">;
|
|
174
|
-
chipColor: import("../../runtime/codecs").OneOfCodec<"
|
|
192
|
+
chipColor: import("../../runtime/codecs").OneOfCodec<"neutral" | "accent" | "danger" | "success" | "warning">;
|
|
175
193
|
chipClass: import("../../runtime/codecs").StringCodec;
|
|
176
194
|
class: import("../../runtime/codecs").StringCodec;
|
|
177
195
|
}>>;
|
|
@@ -29,7 +29,7 @@ declare const sidebarSchema: {
|
|
|
29
29
|
declare const sidebarItemSchema: {
|
|
30
30
|
as: import("../../runtime/codecs").OneOfCodec<"a" | "button">;
|
|
31
31
|
variant: import("../../runtime/codecs").OneOfCodec<"ghost" | "surface">;
|
|
32
|
-
color: import("../../runtime/codecs").OneOfCodec<"
|
|
32
|
+
color: import("../../runtime/codecs").OneOfCodec<"neutral" | "accent">;
|
|
33
33
|
href: import("../../runtime/codecs").StringCodec;
|
|
34
34
|
current: import("../../runtime/codecs").BoolCodec;
|
|
35
35
|
disabled: import("../../runtime/codecs").BoolCodec;
|
|
@@ -40,7 +40,7 @@ declare const tableRowSchema: {
|
|
|
40
40
|
};
|
|
41
41
|
declare const tableColumnSchema: {
|
|
42
42
|
align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
|
|
43
|
-
valign: import("../../runtime/codecs").OneOfCodec<"bottom" | "top" | "
|
|
43
|
+
valign: import("../../runtime/codecs").OneOfCodec<"bottom" | "top" | "baseline" | "middle">;
|
|
44
44
|
key: import("../../runtime/codecs").StringCodec;
|
|
45
45
|
target: import("../../runtime/codecs").StringCodec;
|
|
46
46
|
width: import("../../runtime/codecs").StringCodec;
|
|
@@ -62,13 +62,13 @@ declare const tableColumnFilterSchema: {
|
|
|
62
62
|
};
|
|
63
63
|
declare const tableRowHeaderSchema: {
|
|
64
64
|
align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
|
|
65
|
-
valign: import("../../runtime/codecs").OneOfCodec<"bottom" | "top" | "
|
|
65
|
+
valign: import("../../runtime/codecs").OneOfCodec<"bottom" | "top" | "baseline" | "middle">;
|
|
66
66
|
scope: import("../../runtime/codecs").OneOfCodec<"row" | "rowgroup">;
|
|
67
67
|
class: import("../../runtime/codecs").StringCodec;
|
|
68
68
|
};
|
|
69
69
|
declare const tableCellSchema: {
|
|
70
70
|
align: import("../../runtime/codecs").OneOfCodec<"end" | "center" | "start">;
|
|
71
|
-
valign: import("../../runtime/codecs").OneOfCodec<"bottom" | "top" | "
|
|
71
|
+
valign: import("../../runtime/codecs").OneOfCodec<"bottom" | "top" | "baseline" | "middle">;
|
|
72
72
|
class: import("../../runtime/codecs").StringCodec;
|
|
73
73
|
};
|
|
74
74
|
declare const tableEmptySchema: {
|
|
@@ -6,7 +6,7 @@ declare const TOAST_VARIANTS: readonly ["default", "soft", "surface", "solid", "
|
|
|
6
6
|
declare const TOAST_POSITIONS: readonly ["top-right", "top-left", "top-center", "bottom-right", "bottom-left", "bottom-center"];
|
|
7
7
|
declare const toastSchema: {
|
|
8
8
|
level: import("../../runtime/codecs").OneOfCodec<"danger" | "success" | "warning" | "info" | "debug">;
|
|
9
|
-
color: import("../../runtime/codecs").OneOfCodec<"auto" | "
|
|
9
|
+
color: import("../../runtime/codecs").OneOfCodec<"auto" | "neutral" | "accent" | "danger" | "success" | "warning">;
|
|
10
10
|
variant: import("../../runtime/codecs").OneOfCodec<"outline" | "default" | "solid" | "soft" | "surface">;
|
|
11
11
|
title: import("../../runtime/codecs").StringCodec;
|
|
12
12
|
description: import("../../runtime/codecs").StringCodec;
|
|
@@ -34,7 +34,7 @@ declare const toastHooks: readonly [{
|
|
|
34
34
|
context: Readonly<ToastContext>;
|
|
35
35
|
props: Readonly<import("../..").SchemaToProps<{
|
|
36
36
|
level: import("../../runtime/codecs").OneOfCodec<"danger" | "success" | "warning" | "info" | "debug">;
|
|
37
|
-
color: import("../../runtime/codecs").OneOfCodec<"auto" | "
|
|
37
|
+
color: import("../../runtime/codecs").OneOfCodec<"auto" | "neutral" | "accent" | "danger" | "success" | "warning">;
|
|
38
38
|
variant: import("../../runtime/codecs").OneOfCodec<"outline" | "default" | "solid" | "soft" | "surface">;
|
|
39
39
|
title: import("../../runtime/codecs").StringCodec;
|
|
40
40
|
description: import("../../runtime/codecs").StringCodec;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type SchemaToProps } from '../../runtime';
|
|
2
|
+
declare const VIRTUALIZER_AXES: readonly ["vertical"];
|
|
3
|
+
type VirtualizerAxis = typeof VIRTUALIZER_AXES[number];
|
|
4
|
+
declare const virtualizerSchema: {
|
|
5
|
+
fetchUrl: import("../../runtime/codecs").StringCodec;
|
|
6
|
+
totalItems: import("../../runtime/codecs").NumberCodec;
|
|
7
|
+
itemSize: import("../../runtime/codecs").NumberCodec;
|
|
8
|
+
bufferSize: import("../../runtime/codecs").NumberCodec;
|
|
9
|
+
overscan: import("../../runtime/codecs").NumberCodec;
|
|
10
|
+
axis: import("../../runtime/codecs").OneOfCodec<"vertical">;
|
|
11
|
+
initialIndex: import("../../runtime/codecs").NumberCodec;
|
|
12
|
+
startParam: import("../../runtime/codecs").StringCodec;
|
|
13
|
+
countParam: import("../../runtime/codecs").StringCodec;
|
|
14
|
+
totalParam: import("../../runtime/codecs").StringCodec;
|
|
15
|
+
windowParam: import("../../runtime/codecs").StringCodec;
|
|
16
|
+
totalHeader: import("../../runtime/codecs").StringCodec;
|
|
17
|
+
assetsHeader: import("../../runtime/codecs").StringCodec;
|
|
18
|
+
metaSelector: import("../../runtime/codecs").StringCodec;
|
|
19
|
+
scrollArea: import("../../runtime/codecs").BoolCodec;
|
|
20
|
+
fill: import("../../runtime/codecs").BoolCodec;
|
|
21
|
+
class: import("../../runtime/codecs").StringCodec;
|
|
22
|
+
scrollAreaClass: import("../../runtime/codecs").StringCodec;
|
|
23
|
+
viewportClass: import("../../runtime/codecs").StringCodec;
|
|
24
|
+
spacerClass: import("../../runtime/codecs").StringCodec;
|
|
25
|
+
blockClass: import("../../runtime/codecs").StringCodec;
|
|
26
|
+
};
|
|
27
|
+
type VirtualizerProps = SchemaToProps<typeof virtualizerSchema>;
|
|
28
|
+
export { VIRTUALIZER_AXES, virtualizerSchema };
|
|
29
|
+
export type { VirtualizerAxis, VirtualizerProps };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type Alpine from 'alpinejs';
|
|
2
|
+
import { type PropState, type TrellisAlpineComponent, type VirtualScrollAlign } from '../../runtime';
|
|
3
|
+
import { virtualizerSchema } from './contract';
|
|
4
|
+
type ResetOptions = {
|
|
5
|
+
scrollTop?: number;
|
|
6
|
+
};
|
|
7
|
+
type SetUrlOptions = {
|
|
8
|
+
reset?: boolean;
|
|
9
|
+
};
|
|
10
|
+
/** Public Alpine API for `ui.virtualizer`. @public */
|
|
11
|
+
interface UiVirtualizerApi {
|
|
12
|
+
/** Scrolls a logical item into the requested vertical alignment. */
|
|
13
|
+
scrollToIndex(index: number, align?: VirtualScrollAlign): void;
|
|
14
|
+
/** Replaces the known logical item count and reloads mounted ranges. */
|
|
15
|
+
setTotalItems(count: number): void;
|
|
16
|
+
/** Replaces the fragment endpoint and optionally resets to the top. */
|
|
17
|
+
setUrl(url: string, options?: SetUrlOptions): void;
|
|
18
|
+
/** Invalidates all blocks and reloads them around a scroll position. */
|
|
19
|
+
reset(options?: ResetOptions): void;
|
|
20
|
+
/** Reloads all blocks without changing the fragment endpoint. */
|
|
21
|
+
reload(options?: ResetOptions): void;
|
|
22
|
+
}
|
|
23
|
+
type VirtualizerData = UiVirtualizerApi & {
|
|
24
|
+
props: PropState<typeof virtualizerSchema>;
|
|
25
|
+
init(): void;
|
|
26
|
+
destroy(): void;
|
|
27
|
+
};
|
|
28
|
+
declare const UiVirtualizer: (AlpineInstance: Alpine.Alpine) => TrellisAlpineComponent<VirtualizerData>;
|
|
29
|
+
declare const registerVirtualizer: (AlpineInstance: Alpine.Alpine) => void;
|
|
30
|
+
export { registerVirtualizer, UiVirtualizer };
|
|
31
|
+
export type { ResetOptions, SetUrlOptions, UiVirtualizerApi, VirtualizerData, VirtualScrollAlign, };
|
|
@@ -11,6 +11,9 @@ declare const groupSchema: {
|
|
|
11
11
|
sourceOpacity: import("../runtime/codecs").NumberCodec;
|
|
12
12
|
ghostOpacity: import("../runtime/codecs").NumberCodec;
|
|
13
13
|
dragCursor: import("../runtime/codecs").StringCodec;
|
|
14
|
+
previewPosition: import("../runtime/codecs").StringCodec;
|
|
15
|
+
color: import("../runtime/codecs").OneOfCodec<"neutral" | "accent">;
|
|
16
|
+
interaction: import("../runtime/codecs").OneOfCodec<"tonal" | "edge" | "combined">;
|
|
14
17
|
label: import("../runtime/codecs").StringCodec;
|
|
15
18
|
sortableData: import("../runtime/codecs").JsonCodec<Record<string, unknown>>;
|
|
16
19
|
};
|
|
@@ -24,6 +27,9 @@ declare const sourceSchema: {
|
|
|
24
27
|
sourceOpacity: import("../runtime/codecs").NumberCodec;
|
|
25
28
|
ghostOpacity: import("../runtime/codecs").NumberCodec;
|
|
26
29
|
dragCursor: import("../runtime/codecs").StringCodec;
|
|
30
|
+
previewPosition: import("../runtime/codecs").StringCodec;
|
|
31
|
+
color: import("../runtime/codecs").OneOfCodec<"neutral" | "accent">;
|
|
32
|
+
interaction: import("../runtime/codecs").OneOfCodec<"tonal" | "edge" | "combined">;
|
|
27
33
|
};
|
|
28
34
|
declare const registerSortableDirective: (AlpineInstance: Alpine.Alpine) => void;
|
|
29
35
|
export { groupSchema, registerSortableDirective, sourceSchema };
|
|
@@ -2,6 +2,8 @@ type SortableOperation = 'insert' | 'move';
|
|
|
2
2
|
type SortableCancelReason = 'escape' | 'outside' | 'disabled' | 'removed';
|
|
3
3
|
type SortableOrientation = 'vertical' | 'horizontal' | 'grid';
|
|
4
4
|
type SortableFeedback = 'indicator' | 'reorder';
|
|
5
|
+
type SortableColor = 'neutral' | 'accent';
|
|
6
|
+
type SortableInteraction = 'tonal' | 'edge' | 'combined';
|
|
5
7
|
type SortableEdge = 'before' | 'after';
|
|
6
8
|
type SortableDirection = 'ltr' | 'rtl';
|
|
7
9
|
type SortableFrame = Readonly<{
|
|
@@ -74,6 +76,9 @@ type SortableGroup = Readonly<{
|
|
|
74
76
|
sourceOpacity: number;
|
|
75
77
|
ghostOpacity: number;
|
|
76
78
|
dragCursor: string;
|
|
79
|
+
previewPosition: string;
|
|
80
|
+
color: SortableColor;
|
|
81
|
+
interaction: SortableInteraction;
|
|
77
82
|
data?: Readonly<Record<string, unknown>>;
|
|
78
83
|
label?: string;
|
|
79
84
|
}>;
|
|
@@ -129,5 +134,5 @@ type ResolveSortablePlacementOptions = Readonly<{
|
|
|
129
134
|
items: readonly SortableItemGeometry[];
|
|
130
135
|
input: SortableInput;
|
|
131
136
|
}>;
|
|
132
|
-
export type { ResolveSortablePlacementOptions, SortableAnchor, SortableCancelReason, SortableCanDropContext, SortableDirection, SortableDragDetail, SortableEdge, SortableFeedback, SortableFrame, SortableGroup, SortableDropDetail, SortableInput, SortableInsertSource, SortableItemGeometry, SortableOperation, SortableOrientation, SortablePlacement, SortableMoveSource, SortableSource, SortableMoveOptions, SortableMoveRelativeOptions, UiSortableService, };
|
|
137
|
+
export type { ResolveSortablePlacementOptions, SortableAnchor, SortableCancelReason, SortableColor, SortableCanDropContext, SortableDirection, SortableDragDetail, SortableEdge, SortableFeedback, SortableFrame, SortableGroup, SortableDropDetail, SortableInput, SortableInteraction, SortableInsertSource, SortableItemGeometry, SortableOperation, SortableOrientation, SortablePlacement, SortableMoveSource, SortableSource, SortableMoveOptions, SortableMoveRelativeOptions, UiSortableService, };
|
|
133
138
|
export { isValidGridColumns };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SortableInput } from './contract';
|
|
1
|
+
import type { SortableColor, SortableInput, SortableInteraction } from './contract';
|
|
2
2
|
type ManagedGhostFrame = Readonly<{
|
|
3
3
|
x: number;
|
|
4
4
|
y: number;
|
|
@@ -27,18 +27,21 @@ type SortableGhost = Readonly<{
|
|
|
27
27
|
visual: HTMLElement;
|
|
28
28
|
frame(): ManagedGhostFrame;
|
|
29
29
|
projectedFrame(input: SortableInput): ManagedGhostFrame;
|
|
30
|
+
projectedSourceFrame(input: SortableInput): ManagedGhostFrame;
|
|
30
31
|
move(input: SortableInput): void;
|
|
31
32
|
finish(to: ManagedGhostFrame | null): Promise<void>;
|
|
32
33
|
remove(): void;
|
|
33
34
|
}>;
|
|
34
35
|
declare const sanitizeClone: (root: HTMLElement) => void;
|
|
35
36
|
declare const frameFromRect: (rect: DOMRect | DOMRectReadOnly) => ManagedGhostFrame;
|
|
36
|
-
declare const createSortableGhost: ({ source, input, preview, previewPosition, opacity }: {
|
|
37
|
+
declare const createSortableGhost: ({ source, input, preview, previewPosition, opacity, color, interaction, }: {
|
|
37
38
|
source: HTMLElement;
|
|
38
39
|
input: SortableInput;
|
|
39
40
|
preview?: HTMLTemplateElement | null;
|
|
40
41
|
previewPosition?: string;
|
|
41
42
|
opacity?: number;
|
|
43
|
+
color?: SortableColor;
|
|
44
|
+
interaction?: SortableInteraction;
|
|
42
45
|
}) => SortableGhost;
|
|
43
46
|
export { createSortableGhost, frameFromRect, resolveSortablePreviewPosition, sanitizeClone };
|
|
44
47
|
export type { ManagedGhostFrame, SortableGhost, SortablePreviewPositionOptions };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type Alpine from 'alpinejs';
|
|
2
|
+
import { type AssetDescriptor } from '../../assets/bridge';
|
|
3
|
+
type FragmentAlpine = Pick<Alpine.Alpine, 'initTree'> & Partial<Pick<Alpine.Alpine, 'destroyTree'>>;
|
|
4
|
+
type ReplaceFragmentOptions = {
|
|
5
|
+
assets?: AssetDescriptor[];
|
|
6
|
+
shouldReplace?: () => boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const replaceFragmentChildrenNow: (AlpineInstance: FragmentAlpine, target: Element, html: string) => void;
|
|
9
|
+
declare const replaceFragmentChildren: (AlpineInstance: FragmentAlpine, target: Element, html: string, options?: ReplaceFragmentOptions) => Promise<boolean>;
|
|
10
|
+
export { replaceFragmentChildren, replaceFragmentChildrenNow, };
|
|
11
|
+
export type { FragmentAlpine, ReplaceFragmentOptions, };
|
|
@@ -15,14 +15,17 @@ export { dispatchNativeControlChange, syncControlPresence, syncNativeControl, sy
|
|
|
15
15
|
export { FOCUSABLE_SELECTOR, closestFocusable, focusFirst, focusableElements, isFocusable, trapFocus } from './focus-scope';
|
|
16
16
|
export { getPathValue, normalizeOptionText, parseItemData, splitControlValues } from './option-data';
|
|
17
17
|
export { observeSemanticChanges, type SemanticObserverOptions } from './semantic-observer';
|
|
18
|
+
export { parseVirtualizerFragmentResponse, type VirtualizerFragmentOptions, type VirtualizerFragmentPayload, } from './virtualizer-fragment';
|
|
18
19
|
export { createResizable, createSortableRegistry, registerResizable, sortable, type ResizableOptions, type ResizeAxis, type ResizeDirection, type ResizeEvent, type ResizeMode, type ResizePhase, type SortableAnchor, type SortableCancelReason, type SortableCanDropContext, type SortableDirection, type SortableDragDetail, type SortableDropDetail, type SortableEdge, type SortableFeedback, type SortableGroup, type SortableIndicatorFrame, type SortableInsertSource, type SortableMoveSource, type SortableOperation, type SortableOrientation, type SortablePlacement, type SortableReorderOffset, type SortableSource, type UiSortableService, } from './drag-and-drop';
|
|
19
20
|
export { defineManifest, propsFromSchema, type ComponentManifest, type DefineManifestOptions, type ManifestPart, type ManifestProp, type ManifestPropDetails, type ManifestToken, type PropsFromSchemaOptions, type SchemaPropDetails, } from './manifest';
|
|
20
21
|
export { defineStyles, resolveStyle, type DefineStylesOptions, type ResolveStyleOptions, type StyleDefinition, type StylePart, type StyleProps, } from './styles';
|
|
21
22
|
export { del as deleteRequest, get, post, put, registerRequestRuntime, type RequestLifecycleDetail, type RequestMethod, type RequestOptions, type RequestResult, } from './engine/request';
|
|
23
|
+
export { replaceFragmentChildren, replaceFragmentChildrenNow, type FragmentAlpine, type ReplaceFragmentOptions, } from './engine/fragment';
|
|
22
24
|
export { applyStreamPatch, applyStreamPatches, applyUiEffect, applyUiEffects, connectStream, dispatchStreamEvent, registerStream, type PatchMode, type StreamEventPayload, type StreamPatchPayload, type UiEffectPayload, } from './engine/stream';
|
|
23
25
|
export { applyThemeMode, createThemeStore, registerThemeStore, type ResolvedThemeMode, type ThemeChangeDetail, type ThemeStore, type ThemeMode, } from './theme';
|
|
24
26
|
export { lockDocumentScroll, unlockDocumentScroll } from './scroll-lock';
|
|
25
27
|
export { registerUiMagic, ui, type UiGetOptions, type UiRequestOptions, type UiRuntime } from './ui';
|
|
28
|
+
export { createVirtualWindowController, fixedAxisWindowAdapter, type FixedAxisInputDetail, type FixedAxisScrollTarget, type FixedAxisWindowAdapter, type FixedAxisWindow, type FixedAxisWindowInput, type VirtualAxis, type VirtualAxisWindow, type VirtualScrollAlign, type VirtualWindowAdapter, type VirtualWindowBase, type VirtualWindowController, type VirtualWindowControllerOptions, type VirtualWindowKind, type VirtualWindowRequest, type VirtualWindowSnapshot, } from './virtual-window';
|
|
26
29
|
export { createTransitionCoordinator, defineHook, type AnyTransitionHook, type TransitionCallback, type TransitionContext, type TransitionCoordinator, type TransitionCoordinatorOptions, type TransitionEventCreator, type TransitionElementResolver, type TransitionForHook, type TransitionHookDefinition, } from './transition-coordinator';
|
|
27
30
|
type TrellisAlpineComponent<T> = T & Alpine.XDataContext & {
|
|
28
31
|
init(): void;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
type VirtualWindowKind = string;
|
|
2
|
+
type VirtualWindowBase = {
|
|
3
|
+
kind: VirtualWindowKind;
|
|
4
|
+
key: string;
|
|
5
|
+
};
|
|
6
|
+
type VirtualWindowAdapter<Input, Window extends VirtualWindowBase> = {
|
|
7
|
+
compute(input: Input): Window;
|
|
8
|
+
covers(mounted: Window, desired: Window): boolean;
|
|
9
|
+
serialize(window: Window): Record<string, string>;
|
|
10
|
+
};
|
|
11
|
+
type VirtualAxis = 'x' | 'y';
|
|
12
|
+
type VirtualScrollAlign = 'start' | 'center' | 'end' | 'auto';
|
|
13
|
+
type FixedAxisInputDetail = {
|
|
14
|
+
total: number;
|
|
15
|
+
itemSize: number;
|
|
16
|
+
viewportSize: number;
|
|
17
|
+
scrollOffset: number;
|
|
18
|
+
buffer: number;
|
|
19
|
+
overscan?: number;
|
|
20
|
+
};
|
|
21
|
+
type FixedAxisWindowInput = {
|
|
22
|
+
axes: Partial<Record<VirtualAxis, FixedAxisInputDetail>>;
|
|
23
|
+
};
|
|
24
|
+
type VirtualAxisWindow = {
|
|
25
|
+
axis: VirtualAxis;
|
|
26
|
+
start: number;
|
|
27
|
+
count: number;
|
|
28
|
+
total: number;
|
|
29
|
+
itemSize: number;
|
|
30
|
+
viewportSize: number;
|
|
31
|
+
scrollOffset: number;
|
|
32
|
+
buffer: number;
|
|
33
|
+
visibleStart: number;
|
|
34
|
+
visibleCount: number;
|
|
35
|
+
guardStart: number;
|
|
36
|
+
guardEnd: number;
|
|
37
|
+
translateOffset: number;
|
|
38
|
+
spacerSize: number;
|
|
39
|
+
};
|
|
40
|
+
type FixedAxisWindow = VirtualWindowBase & {
|
|
41
|
+
kind: 'fixed-axis';
|
|
42
|
+
axes: Partial<Record<VirtualAxis, VirtualAxisWindow>>;
|
|
43
|
+
};
|
|
44
|
+
type FixedAxisScrollTarget = {
|
|
45
|
+
axis: VirtualAxis;
|
|
46
|
+
index: number;
|
|
47
|
+
align?: VirtualScrollAlign;
|
|
48
|
+
};
|
|
49
|
+
type FixedAxisWindowAdapter = VirtualWindowAdapter<FixedAxisWindowInput, FixedAxisWindow> & {
|
|
50
|
+
spacerSize(window: FixedAxisWindow, axis: VirtualAxis): number;
|
|
51
|
+
translateOffset(window: FixedAxisWindow, axis: VirtualAxis): number;
|
|
52
|
+
setAxisTotal(input: FixedAxisWindowInput, axis: VirtualAxis, total: number): FixedAxisWindowInput;
|
|
53
|
+
scrollTo(input: FixedAxisInputDetail, target: FixedAxisScrollTarget): number;
|
|
54
|
+
};
|
|
55
|
+
type VirtualWindowRequest<Window extends VirtualWindowBase> = {
|
|
56
|
+
block: string;
|
|
57
|
+
window: Window;
|
|
58
|
+
generation: number;
|
|
59
|
+
requestGeneration: number;
|
|
60
|
+
};
|
|
61
|
+
type VirtualWindowSnapshot<Window extends VirtualWindowBase> = {
|
|
62
|
+
generation: number;
|
|
63
|
+
mounted: ReadonlyMap<string, Window>;
|
|
64
|
+
pending: ReadonlyMap<string, VirtualWindowRequest<Window>>;
|
|
65
|
+
latestDesired: ReadonlyMap<string, Window>;
|
|
66
|
+
};
|
|
67
|
+
type VirtualWindowControllerOptions<Window extends VirtualWindowBase> = {
|
|
68
|
+
onChange?(snapshot: VirtualWindowSnapshot<Window>): void;
|
|
69
|
+
};
|
|
70
|
+
type VirtualWindowController<Input, Window extends VirtualWindowBase> = {
|
|
71
|
+
computeWindow(input: Input): Window;
|
|
72
|
+
shouldLoad(desired: Window, mounted?: Window | null): boolean;
|
|
73
|
+
begin(block: string, desired: Window): VirtualWindowRequest<Window> | null;
|
|
74
|
+
commit(request: VirtualWindowRequest<Window>, mounted?: Window): boolean;
|
|
75
|
+
fail(request: VirtualWindowRequest<Window>): boolean;
|
|
76
|
+
next(block: string): Window | null;
|
|
77
|
+
mounted(block: string): Window | null;
|
|
78
|
+
pending(block: string): VirtualWindowRequest<Window> | null;
|
|
79
|
+
invalidate(): void;
|
|
80
|
+
snapshot(): VirtualWindowSnapshot<Window>;
|
|
81
|
+
};
|
|
82
|
+
declare const fixedAxisWindowAdapter: FixedAxisWindowAdapter;
|
|
83
|
+
declare const createVirtualWindowController: <Input, Window extends VirtualWindowBase>(adapter: VirtualWindowAdapter<Input, Window>, options?: VirtualWindowControllerOptions<Window>) => VirtualWindowController<Input, Window>;
|
|
84
|
+
export { createVirtualWindowController, fixedAxisWindowAdapter, };
|
|
85
|
+
export type { FixedAxisInputDetail, FixedAxisScrollTarget, FixedAxisWindowAdapter, FixedAxisWindow, FixedAxisWindowInput, VirtualAxis, VirtualAxisWindow, VirtualScrollAlign, VirtualWindowAdapter, VirtualWindowBase, VirtualWindowController, VirtualWindowControllerOptions, VirtualWindowKind, VirtualWindowRequest, VirtualWindowSnapshot, };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { AssetDescriptor } from '../assets/bridge';
|
|
2
|
+
type VirtualizerFragmentOptions = {
|
|
3
|
+
totalHeader: string;
|
|
4
|
+
assetsHeader: string;
|
|
5
|
+
metaSelector: string;
|
|
6
|
+
};
|
|
7
|
+
type VirtualizerFragmentPayload = {
|
|
8
|
+
html: string;
|
|
9
|
+
assets: AssetDescriptor[];
|
|
10
|
+
totalItems: number | null;
|
|
11
|
+
};
|
|
12
|
+
declare const parseVirtualizerFragmentResponse: (response: Response, options: VirtualizerFragmentOptions) => Promise<VirtualizerFragmentPayload>;
|
|
13
|
+
export { parseVirtualizerFragmentResponse };
|
|
14
|
+
export type { VirtualizerFragmentOptions, VirtualizerFragmentPayload };
|
|
@@ -1590,6 +1590,9 @@
|
|
|
1590
1590
|
.max-w-7xl {
|
|
1591
1591
|
max-width: var(--container-7xl);
|
|
1592
1592
|
}
|
|
1593
|
+
.max-w-56 {
|
|
1594
|
+
max-width: calc(var(--spacing) * 56);
|
|
1595
|
+
}
|
|
1593
1596
|
.max-w-64 {
|
|
1594
1597
|
max-width: calc(var(--spacing) * 64);
|
|
1595
1598
|
}
|
|
@@ -1653,6 +1656,9 @@
|
|
|
1653
1656
|
.min-w-full {
|
|
1654
1657
|
min-width: 100%;
|
|
1655
1658
|
}
|
|
1659
|
+
.min-w-max {
|
|
1660
|
+
min-width: max-content;
|
|
1661
|
+
}
|
|
1656
1662
|
.flex-1 {
|
|
1657
1663
|
flex: 1;
|
|
1658
1664
|
}
|
|
@@ -3434,6 +3440,9 @@
|
|
|
3434
3440
|
.px-menu-item-padding-inline {
|
|
3435
3441
|
padding-inline: var(--spacing-menu-item-padding-inline);
|
|
3436
3442
|
}
|
|
3443
|
+
.px-popover-padding {
|
|
3444
|
+
padding-inline: var(--spacing-popover-padding);
|
|
3445
|
+
}
|
|
3437
3446
|
.px-sidebar-content-padding-inline {
|
|
3438
3447
|
padding-inline: var(--spacing-sidebar-content-padding-inline);
|
|
3439
3448
|
}
|
|
@@ -4294,6 +4303,9 @@
|
|
|
4294
4303
|
.ring-surface-8 {
|
|
4295
4304
|
--tw-ring-color: var(--color-surface-8);
|
|
4296
4305
|
}
|
|
4306
|
+
.contain-strict {
|
|
4307
|
+
contain: strict;
|
|
4308
|
+
}
|
|
4297
4309
|
.outline-none {
|
|
4298
4310
|
--tw-outline-style: none;
|
|
4299
4311
|
outline-style: none;
|
|
@@ -4531,6 +4543,12 @@
|
|
|
4531
4543
|
background-color: var(--color-intent-neutral-edge-hover);
|
|
4532
4544
|
}
|
|
4533
4545
|
}
|
|
4546
|
+
.focus-visible\:ring-2 {
|
|
4547
|
+
&:focus-visible {
|
|
4548
|
+
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
4549
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
4550
|
+
}
|
|
4551
|
+
}
|
|
4534
4552
|
.focus-visible\:ui-focus-ring {
|
|
4535
4553
|
&:focus-visible {
|
|
4536
4554
|
box-shadow: 0 0 0 var(--color-intent-accent-focus-width) var(--color-intent-accent-focus);
|
|
@@ -4653,6 +4671,11 @@
|
|
|
4653
4671
|
background-color: var(--color-intent-neutral-edge-hover);
|
|
4654
4672
|
}
|
|
4655
4673
|
}
|
|
4674
|
+
.data-selected\:bg-interaction-selected {
|
|
4675
|
+
&[data-selected] {
|
|
4676
|
+
background-color: var(--color-interaction-selected);
|
|
4677
|
+
}
|
|
4678
|
+
}
|
|
4656
4679
|
.data-selected\:opacity-100 {
|
|
4657
4680
|
&[data-selected] {
|
|
4658
4681
|
opacity: 100%;
|
|
@@ -8895,10 +8918,68 @@
|
|
|
8895
8918
|
width: calc(100% - (var(--ui-scrollbar-inset) * 2));
|
|
8896
8919
|
}
|
|
8897
8920
|
}
|
|
8921
|
+
@layer components {
|
|
8922
|
+
[data-ui-data-grid-header-row], [data-ui-data-grid-row] {
|
|
8923
|
+
grid-template-columns: var(--ui-data-grid-template);
|
|
8924
|
+
height: var(--ui-data-grid-row-height);
|
|
8925
|
+
}
|
|
8926
|
+
[data-ui-data-grid-body] {
|
|
8927
|
+
min-height: var(--ui-data-grid-total-height);
|
|
8928
|
+
}
|
|
8929
|
+
[data-ui-data-grid] [data-ui-data-grid-scroll-area] > [data-ui-scroll-area-scrollbar][data-orientation="vertical"] {
|
|
8930
|
+
top: calc(var(--ui-data-grid-row-height) + var(--ui-scrollbar-inset)) !important;
|
|
8931
|
+
height: calc(100% - var(--ui-data-grid-row-height) - (var(--ui-scrollbar-inset) * 2)) !important;
|
|
8932
|
+
}
|
|
8933
|
+
[data-ui-data-grid-column-indicator] {
|
|
8934
|
+
background: var(--ui-data-grid-feedback-color, var(--ui-interaction-selected-edge-strong));
|
|
8935
|
+
}
|
|
8936
|
+
[data-ui-data-grid][data-interaction="tonal"] {
|
|
8937
|
+
--ui-data-grid-feedback-color: var(--ui-interaction-selected-fill);
|
|
8938
|
+
}
|
|
8939
|
+
[data-ui-data-grid-column-indicator][data-index="0"] {
|
|
8940
|
+
translate: 6px 0;
|
|
8941
|
+
}
|
|
8942
|
+
[data-ui-data-grid-column-indicator][data-index="0"]:dir(rtl) {
|
|
8943
|
+
translate: -6px 0;
|
|
8944
|
+
}
|
|
8945
|
+
[data-ui-data-grid-resize-handle]::after {
|
|
8946
|
+
position: absolute;
|
|
8947
|
+
inset-block: 0;
|
|
8948
|
+
right: 0;
|
|
8949
|
+
width: 1px;
|
|
8950
|
+
background: var(--ui-data-grid-feedback-color, var(--ui-interaction-selected-edge-strong));
|
|
8951
|
+
content: "";
|
|
8952
|
+
opacity: 0;
|
|
8953
|
+
}
|
|
8954
|
+
[data-ui-data-grid-resize-handle]:hover::after, [data-ui-data-grid-resize-handle]:focus-visible::after, [data-ui-data-grid-resize-handle][data-resizing]::after {
|
|
8955
|
+
opacity: 1;
|
|
8956
|
+
}
|
|
8957
|
+
[data-ui-data-grid-column-header][data-pinned], [data-ui-data-grid-cell][data-pinned] {
|
|
8958
|
+
background: var(--ui-surface-color);
|
|
8959
|
+
}
|
|
8960
|
+
[data-ui-data-grid][data-border="row"] [data-ui-data-grid-column-header], [data-ui-data-grid][data-border="row"] [data-ui-data-grid-cell], [data-ui-data-grid][data-border="grid"] [data-ui-data-grid-column-header], [data-ui-data-grid][data-border="grid"] [data-ui-data-grid-cell] {
|
|
8961
|
+
border-bottom: 1px solid var(--color-separator);
|
|
8962
|
+
}
|
|
8963
|
+
[data-ui-data-grid][data-border="grid"] [data-ui-data-grid-column-header]:not(:first-child), [data-ui-data-grid][data-border="grid"] [data-ui-data-grid-cell]:not(:first-child) {
|
|
8964
|
+
border-inline-start: 1px solid var(--color-separator);
|
|
8965
|
+
}
|
|
8966
|
+
[data-ui-data-grid][data-empty] [data-ui-data-grid-scroll-area] {
|
|
8967
|
+
display: none;
|
|
8968
|
+
}
|
|
8969
|
+
[data-ui-data-grid]:not([data-empty]) [data-ui-data-grid-empty] {
|
|
8970
|
+
display: none;
|
|
8971
|
+
}
|
|
8972
|
+
}
|
|
8898
8973
|
@layer components {
|
|
8899
8974
|
[data-ui-select-viewport] {
|
|
8900
8975
|
max-height: var(--ui-select-listbox-max-height, var(--spacing-select-listbox));
|
|
8901
8976
|
}
|
|
8977
|
+
[data-ui-select-virtualizer] > [data-ui-scroll-area] {
|
|
8978
|
+
max-height: var(--ui-select-listbox-max-height, var(--spacing-select-listbox));
|
|
8979
|
+
}
|
|
8980
|
+
[data-ui-select-virtualizer] > [data-ui-scroll-area] > [data-ui-scroll-area-viewport] > [data-ui-scroll-area-content] {
|
|
8981
|
+
padding-block: var(--spacing-popover-padding);
|
|
8982
|
+
}
|
|
8902
8983
|
[data-ui-select-sheet-heading] {
|
|
8903
8984
|
display: none;
|
|
8904
8985
|
}
|
|
@@ -8956,6 +9037,10 @@
|
|
|
8956
9037
|
height: 100%;
|
|
8957
9038
|
max-height: none;
|
|
8958
9039
|
}
|
|
9040
|
+
[data-ui-select-popover][data-presentation="dialog"] [data-ui-select-virtualizer] > [data-ui-scroll-area], [data-ui-select-popover][data-presentation="fullscreen"] [data-ui-select-virtualizer] > [data-ui-scroll-area] {
|
|
9041
|
+
height: 100%;
|
|
9042
|
+
max-height: none;
|
|
9043
|
+
}
|
|
8959
9044
|
[data-ui-select-popover][data-presentation="dialog"] [data-ui-select-viewport] [data-ui-scroll-area-viewport], [data-ui-select-popover][data-presentation="fullscreen"] [data-ui-select-viewport] [data-ui-scroll-area-viewport] {
|
|
8960
9045
|
overscroll-behavior: contain;
|
|
8961
9046
|
}
|