@vireo-ai/trellis-ui 0.1.20 → 0.1.22

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.
Files changed (29) hide show
  1. package/package.json +1 -1
  2. package/packages/client/types/components/app/contract.d.ts +4 -4
  3. package/packages/client/types/components/box/contract.d.ts +1 -1
  4. package/packages/client/types/components/card/contract.d.ts +1 -1
  5. package/packages/client/types/components/container/contract.d.ts +1 -1
  6. package/packages/client/types/components/date-picker/contract.d.ts +1 -1
  7. package/packages/client/types/components/date-picker/machine.d.ts +8 -8
  8. package/packages/client/types/components/dropdown/machine.d.ts +1 -1
  9. package/packages/client/types/components/flex/contract.d.ts +1 -1
  10. package/packages/client/types/components/frame/contract.d.ts +1 -1
  11. package/packages/client/types/components/grid/contract.d.ts +1 -1
  12. package/packages/client/types/components/layout.d.ts +1 -1
  13. package/packages/client/types/components/menu/contract.d.ts +1 -1
  14. package/packages/client/types/components/modal/contract.d.ts +1 -1
  15. package/packages/client/types/components/modal/machine.d.ts +4 -4
  16. package/packages/client/types/components/section/contract.d.ts +1 -1
  17. package/packages/client/types/components/select/contract.d.ts +1 -1
  18. package/packages/client/types/components/select/machine.d.ts +8 -8
  19. package/packages/client/types/components/sidebar/contract.d.ts +2 -2
  20. package/packages/client/types/components/stack/contract.d.ts +1 -1
  21. package/packages/client/types/runtime/codecs.d.ts +9 -2
  22. package/packages/client/types/runtime/engine/navigation.d.ts +8 -0
  23. package/packages/client/types/runtime/engine/request.d.ts +4 -1
  24. package/packages/client/types/runtime/engine/stream.d.ts +7 -2
  25. package/packages/client/types/runtime/index.d.ts +1 -1
  26. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/index.js +4955 -4628
  27. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/index.js.map +1 -1
  28. package/packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.js +9 -9
  29. package/packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.min.js +9 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vireo-ai/trellis-ui",
3
- "version": "0.1.20",
3
+ "version": "0.1.22",
4
4
  "type": "module",
5
5
  "description": "Django-native UI toolkit for building realtime and interactive web apps.",
6
6
  "license": "MIT",
@@ -8,7 +8,7 @@ declare const APP_REGION_SURFACES: readonly ["inherit", "0", "1", "2", "3", "4",
8
8
  declare const APP_ELEVATIONS: readonly ["none", "match", "1", "2", "3", "4", "5", "6", "7", "8"];
9
9
  declare const appRegionSchema: {
10
10
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
11
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
11
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
12
12
  class: import("../../runtime/codecs").StringCodec;
13
13
  };
14
14
  declare const appSchema: {
@@ -16,21 +16,21 @@ declare const appSchema: {
16
16
  height: import("../../runtime/codecs").OneOfCodec<"min" | "screen">;
17
17
  sidebar: import("../../runtime/codecs").OneOfCodec<"left" | "right" | "none" | "both">;
18
18
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8">;
19
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
19
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
20
20
  class: import("../../runtime/codecs").StringCodec;
21
21
  };
22
22
  declare const appHeaderSchema: {
23
23
  sticky: import("../../runtime/codecs").BoolCodec;
24
24
  divider: import("../../runtime/codecs").BoolCodec;
25
25
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
26
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
26
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
27
27
  class: import("../../runtime/codecs").StringCodec;
28
28
  };
29
29
  declare const appMainSchema: {
30
30
  id: import("../../runtime/codecs").StringCodec;
31
31
  scroll: import("../../runtime/codecs").OneOfCodec<"none" | "auto">;
32
32
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
33
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
33
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
34
34
  class: import("../../runtime/codecs").StringCodec;
35
35
  };
36
36
  type AppHeight = typeof APP_HEIGHTS[number];
@@ -26,7 +26,7 @@ declare const boxSchema: {
26
26
  marginY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6.5" | "7.5" | "8.5" | "9.5" | "10.5" | "11.5">;
27
27
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
28
28
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
29
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
29
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
30
30
  width: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
31
31
  height: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl">;
32
32
  align: import("../../runtime/codecs").OneOfCodec<"start" | "center" | "end" | "stretch">;
@@ -14,7 +14,7 @@ declare const cardSchema: {
14
14
  label: import("../../runtime/codecs").StringCodec;
15
15
  interactive: import("../../runtime/codecs").BoolCodec;
16
16
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
17
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
17
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
18
18
  size: import("../../runtime/codecs").OneOfCodec<"sm" | "md">;
19
19
  padding: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6.5" | "7.5" | "8.5" | "9.5" | "10.5" | "11.5">;
20
20
  paddingX: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6.5" | "7.5" | "8.5" | "9.5" | "10.5" | "11.5">;
@@ -12,7 +12,7 @@ declare const containerSchema: {
12
12
  marginY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6.5" | "7.5" | "8.5" | "9.5" | "10.5" | "11.5">;
13
13
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
14
14
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
15
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
15
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
16
16
  width: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
17
17
  height: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl">;
18
18
  class: import("../../runtime/codecs").StringCodec;
@@ -60,7 +60,7 @@ declare const datePickerSchema: {
60
60
  color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
61
61
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
62
62
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
63
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
63
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
64
64
  close: import("../../runtime/codecs").OneOfCodec<"auto" | "confirm">;
65
65
  presets: import("../../runtime/codecs").JsonCodec<DatePickerPreset[]>;
66
66
  presetsPosition: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
@@ -79,7 +79,7 @@ declare const datePickerHooks: readonly [Readonly<{
79
79
  color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
80
80
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
81
81
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
82
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
82
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
83
83
  close: import("../../runtime/codecs").OneOfCodec<"auto" | "confirm">;
84
84
  presets: import("../../runtime/codecs").JsonCodec<import("./contract").DatePickerPreset[]>;
85
85
  presetsPosition: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
@@ -135,7 +135,7 @@ declare const datePickerHooks: readonly [Readonly<{
135
135
  color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
136
136
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
137
137
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
138
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
138
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
139
139
  close: import("../../runtime/codecs").OneOfCodec<"auto" | "confirm">;
140
140
  presets: import("../../runtime/codecs").JsonCodec<import("./contract").DatePickerPreset[]>;
141
141
  presetsPosition: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
@@ -198,7 +198,7 @@ declare const datePickerHooks: readonly [Readonly<{
198
198
  color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
199
199
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
200
200
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
201
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
201
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
202
202
  close: import("../../runtime/codecs").OneOfCodec<"auto" | "confirm">;
203
203
  presets: import("../../runtime/codecs").JsonCodec<import("./contract").DatePickerPreset[]>;
204
204
  presetsPosition: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
@@ -254,7 +254,7 @@ declare const datePickerHooks: readonly [Readonly<{
254
254
  color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
255
255
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
256
256
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
257
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
257
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
258
258
  close: import("../../runtime/codecs").OneOfCodec<"auto" | "confirm">;
259
259
  presets: import("../../runtime/codecs").JsonCodec<import("./contract").DatePickerPreset[]>;
260
260
  presetsPosition: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
@@ -317,7 +317,7 @@ declare const datePickerHooks: readonly [Readonly<{
317
317
  color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
318
318
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
319
319
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
320
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
320
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
321
321
  close: import("../../runtime/codecs").OneOfCodec<"auto" | "confirm">;
322
322
  presets: import("../../runtime/codecs").JsonCodec<import("./contract").DatePickerPreset[]>;
323
323
  presetsPosition: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
@@ -375,7 +375,7 @@ declare const datePickerHooks: readonly [Readonly<{
375
375
  color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
376
376
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
377
377
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
378
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
378
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
379
379
  close: import("../../runtime/codecs").OneOfCodec<"auto" | "confirm">;
380
380
  presets: import("../../runtime/codecs").JsonCodec<import("./contract").DatePickerPreset[]>;
381
381
  presetsPosition: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
@@ -440,7 +440,7 @@ declare const datePickerHooks: readonly [Readonly<{
440
440
  color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
441
441
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
442
442
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
443
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
443
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
444
444
  close: import("../../runtime/codecs").OneOfCodec<"auto" | "confirm">;
445
445
  presets: import("../../runtime/codecs").JsonCodec<import("./contract").DatePickerPreset[]>;
446
446
  presetsPosition: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
@@ -501,7 +501,7 @@ declare const datePickerHooks: readonly [Readonly<{
501
501
  color: import("../../runtime/codecs").OneOfCodec<"accent" | "neutral">;
502
502
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
503
503
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
504
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
504
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
505
505
  close: import("../../runtime/codecs").OneOfCodec<"auto" | "confirm">;
506
506
  presets: import("../../runtime/codecs").JsonCodec<import("./contract").DatePickerPreset[]>;
507
507
  presetsPosition: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
@@ -5,7 +5,7 @@ type DropdownFocus = 'menu' | 'first';
5
5
  type DropdownMachineEffects = {
6
6
  prepareOpen(focus: DropdownFocus): void;
7
7
  finishOpen(): void;
8
- prepareClose(restoreFocus: boolean): void;
8
+ prepareClose(restoreFocus: boolean, reflectOpen: boolean): void;
9
9
  finishClose(): void;
10
10
  syncProps(): void;
11
11
  };
@@ -12,7 +12,7 @@ declare const flexSchema: {
12
12
  marginY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6.5" | "7.5" | "8.5" | "9.5" | "10.5" | "11.5">;
13
13
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
14
14
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
15
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
15
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
16
16
  width: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
17
17
  height: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl">;
18
18
  class: import("../../runtime/codecs").StringCodec;
@@ -27,7 +27,7 @@ declare const frameSchema: {
27
27
  marginY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6.5" | "7.5" | "8.5" | "9.5" | "10.5" | "11.5">;
28
28
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
29
29
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
30
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
30
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
31
31
  width: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
32
32
  height: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
33
33
  class: import("../../runtime/codecs").StringCodec;
@@ -13,7 +13,7 @@ declare const gridSchema: {
13
13
  marginY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6.5" | "7.5" | "8.5" | "9.5" | "10.5" | "11.5">;
14
14
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
15
15
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
16
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
16
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
17
17
  width: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
18
18
  height: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl">;
19
19
  class: import("../../runtime/codecs").StringCodec;
@@ -15,7 +15,7 @@ declare const layoutSurfaceSchema: {
15
15
  marginY: import("../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6.5" | "7.5" | "8.5" | "9.5" | "10.5" | "11.5">;
16
16
  surface: import("../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
17
17
  radius: import("../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
18
- elevation: import("../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
18
+ elevation: import("../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
19
19
  width: import("../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
20
20
  height: import("../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl">;
21
21
  class: import("../runtime/codecs").StringCodec;
@@ -10,7 +10,7 @@ declare const menuSchema: {
10
10
  keepOpen: import("../../runtime/codecs").BoolCodec;
11
11
  loop: import("../../runtime/codecs").BoolCodec;
12
12
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
13
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
13
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
14
14
  class: import("../../runtime/codecs").StringCodec;
15
15
  };
16
16
  declare const menuItemSchema: {
@@ -19,7 +19,7 @@ declare const modalSchema: {
19
19
  side: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
20
20
  size: import("../../runtime/codecs").OneOfCodec<"sm" | "md" | "lg" | "full" | "xl">;
21
21
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
22
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
22
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
23
23
  dismissible: import("../../runtime/codecs").BoolCodec;
24
24
  closable: import("../../runtime/codecs").BoolCodec;
25
25
  disabled: import("../../runtime/codecs").BoolCodec;
@@ -31,7 +31,7 @@ declare const modalHooks: readonly [Readonly<{
31
31
  side: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
32
32
  size: import("../../runtime/codecs").OneOfCodec<"sm" | "md" | "lg" | "full" | "xl">;
33
33
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
34
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
34
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
35
35
  dismissible: import("../../runtime/codecs").BoolCodec;
36
36
  closable: import("../../runtime/codecs").BoolCodec;
37
37
  disabled: import("../../runtime/codecs").BoolCodec;
@@ -55,7 +55,7 @@ declare const modalHooks: readonly [Readonly<{
55
55
  side: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
56
56
  size: import("../../runtime/codecs").OneOfCodec<"sm" | "md" | "lg" | "full" | "xl">;
57
57
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
58
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
58
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
59
59
  dismissible: import("../../runtime/codecs").BoolCodec;
60
60
  closable: import("../../runtime/codecs").BoolCodec;
61
61
  disabled: import("../../runtime/codecs").BoolCodec;
@@ -86,7 +86,7 @@ declare const modalHooks: readonly [Readonly<{
86
86
  side: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
87
87
  size: import("../../runtime/codecs").OneOfCodec<"sm" | "md" | "lg" | "full" | "xl">;
88
88
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
89
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
89
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
90
90
  dismissible: import("../../runtime/codecs").BoolCodec;
91
91
  closable: import("../../runtime/codecs").BoolCodec;
92
92
  disabled: import("../../runtime/codecs").BoolCodec;
@@ -110,7 +110,7 @@ declare const modalHooks: readonly [Readonly<{
110
110
  side: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
111
111
  size: import("../../runtime/codecs").OneOfCodec<"sm" | "md" | "lg" | "full" | "xl">;
112
112
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
113
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
113
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
114
114
  dismissible: import("../../runtime/codecs").BoolCodec;
115
115
  closable: import("../../runtime/codecs").BoolCodec;
116
116
  disabled: import("../../runtime/codecs").BoolCodec;
@@ -11,7 +11,7 @@ declare const sectionSchema: {
11
11
  marginY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6.5" | "7.5" | "8.5" | "9.5" | "10.5" | "11.5">;
12
12
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
13
13
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
14
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
14
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
15
15
  width: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
16
16
  height: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl">;
17
17
  class: import("../../runtime/codecs").StringCodec;
@@ -52,7 +52,7 @@ declare const selectSchema: {
52
52
  variant: import("../../runtime/codecs").OneOfCodec<"outline" | "filled">;
53
53
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
54
54
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
55
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
55
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
56
56
  side: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
57
57
  align: import("../../runtime/codecs").OneOfCodec<"start" | "center" | "end">;
58
58
  offset: import("../../runtime/codecs").NumberCodec;
@@ -71,7 +71,7 @@ declare const selectHooks: readonly [Readonly<{
71
71
  variant: import("../../runtime/codecs").OneOfCodec<"outline" | "filled">;
72
72
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
73
73
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
74
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
74
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
75
75
  side: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
76
76
  align: import("../../runtime/codecs").OneOfCodec<"start" | "center" | "end">;
77
77
  offset: import("../../runtime/codecs").NumberCodec;
@@ -122,7 +122,7 @@ declare const selectHooks: readonly [Readonly<{
122
122
  variant: import("../../runtime/codecs").OneOfCodec<"outline" | "filled">;
123
123
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
124
124
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
125
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
125
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
126
126
  side: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
127
127
  align: import("../../runtime/codecs").OneOfCodec<"start" | "center" | "end">;
128
128
  offset: import("../../runtime/codecs").NumberCodec;
@@ -180,7 +180,7 @@ declare const selectHooks: readonly [Readonly<{
180
180
  variant: import("../../runtime/codecs").OneOfCodec<"outline" | "filled">;
181
181
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
182
182
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
183
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
183
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
184
184
  side: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
185
185
  align: import("../../runtime/codecs").OneOfCodec<"start" | "center" | "end">;
186
186
  offset: import("../../runtime/codecs").NumberCodec;
@@ -231,7 +231,7 @@ declare const selectHooks: readonly [Readonly<{
231
231
  variant: import("../../runtime/codecs").OneOfCodec<"outline" | "filled">;
232
232
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
233
233
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
234
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
234
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
235
235
  side: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
236
236
  align: import("../../runtime/codecs").OneOfCodec<"start" | "center" | "end">;
237
237
  offset: import("../../runtime/codecs").NumberCodec;
@@ -289,7 +289,7 @@ declare const selectHooks: readonly [Readonly<{
289
289
  variant: import("../../runtime/codecs").OneOfCodec<"outline" | "filled">;
290
290
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
291
291
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
292
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
292
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
293
293
  side: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
294
294
  align: import("../../runtime/codecs").OneOfCodec<"start" | "center" | "end">;
295
295
  offset: import("../../runtime/codecs").NumberCodec;
@@ -343,7 +343,7 @@ declare const selectHooks: readonly [Readonly<{
343
343
  variant: import("../../runtime/codecs").OneOfCodec<"outline" | "filled">;
344
344
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
345
345
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
346
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
346
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
347
347
  side: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
348
348
  align: import("../../runtime/codecs").OneOfCodec<"start" | "center" | "end">;
349
349
  offset: import("../../runtime/codecs").NumberCodec;
@@ -404,7 +404,7 @@ declare const selectHooks: readonly [Readonly<{
404
404
  variant: import("../../runtime/codecs").OneOfCodec<"outline" | "filled">;
405
405
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
406
406
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
407
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
407
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
408
408
  side: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
409
409
  align: import("../../runtime/codecs").OneOfCodec<"start" | "center" | "end">;
410
410
  offset: import("../../runtime/codecs").NumberCodec;
@@ -458,7 +458,7 @@ declare const selectHooks: readonly [Readonly<{
458
458
  variant: import("../../runtime/codecs").OneOfCodec<"outline" | "filled">;
459
459
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
460
460
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
461
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
461
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
462
462
  side: import("../../runtime/codecs").OneOfCodec<"top" | "bottom" | "left" | "right">;
463
463
  align: import("../../runtime/codecs").OneOfCodec<"start" | "center" | "end">;
464
464
  offset: import("../../runtime/codecs").NumberCodec;
@@ -14,8 +14,8 @@ declare const sidebarSchema: {
14
14
  placement: import("../../runtime/codecs").OneOfCodec<"top" | "side">;
15
15
  side: import("../../runtime/codecs").OneOfCodec<"left" | "right">;
16
16
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
17
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
18
- drawerElevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
17
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
18
+ drawerElevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
19
19
  divider: import("../../runtime/codecs").BoolCodec;
20
20
  sticky: import("../../runtime/codecs").BoolCodec;
21
21
  collapse: import("../../runtime/codecs").OneOfCodec<"mobile" | "none" | "both" | "desktop">;
@@ -10,7 +10,7 @@ declare const stackSchema: {
10
10
  marginY: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10" | "11" | "12" | "0.5" | "1.5" | "2.5" | "3.5" | "4.5" | "5.5" | "6.5" | "7.5" | "8.5" | "9.5" | "10.5" | "11.5">;
11
11
  surface: import("../../runtime/codecs").OneOfCodec<"0" | "1" | "2" | "3" | "inherit" | "4" | "5" | "6" | "7" | "8" | "+1" | "+2" | "+3" | "+4" | "+5" | "+6" | "+7" | "+8">;
12
12
  radius: import("../../runtime/codecs").OneOfCodec<"none" | "xs" | "sm" | "md" | "lg" | "full">;
13
- elevation: import("../../runtime/codecs").OneOfCodec<"1" | "match" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
13
+ elevation: import("../../runtime/codecs").OneOfCodec<"match" | "1" | "2" | "3" | "none" | "4" | "5" | "6" | "7" | "8">;
14
14
  width: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl" | "prose">;
15
15
  height: import("../../runtime/codecs").OneOfCodec<"xs" | "sm" | "md" | "lg" | "full" | "auto" | "xl">;
16
16
  class: import("../../runtime/codecs").StringCodec;
@@ -33,6 +33,12 @@ type DecodePropsOptions<T extends Record<string, CodecFn<unknown>>> = {
33
33
  el: HTMLElement;
34
34
  schema: T;
35
35
  };
36
+ type ReflectSchemaPropOptions<T extends Record<string, CodecFn<unknown>>, K extends SchemaPropKey<T>> = {
37
+ el: HTMLElement;
38
+ schema: T;
39
+ key: K;
40
+ value: SchemaToProps<T>[K];
41
+ };
36
42
  type ReactiveFn = <T>(value: T) => T;
37
43
  interface StringCodec extends CodecFn<string> {
38
44
  trim: StringCodec;
@@ -78,6 +84,7 @@ declare const snapNumber: (value: number, step: number) => number;
78
84
  declare const boundNumber: (value: number, min: number, max: number, step?: number) => number;
79
85
  declare const attribute: <T>(codec: CodecFn<T>, name: string) => CodecFn<T>;
80
86
  declare const decodeProps: <T extends Record<string, CodecFn<unknown>>>({ el, schema, }: DecodePropsOptions<T>) => SchemaToProps<T>;
87
+ declare const reflectSchemaProp: <T extends Record<string, CodecFn<unknown>>, K extends SchemaPropKey<T>>({ el, schema, key, value, }: ReflectSchemaPropOptions<T, K>) => void;
81
88
  declare const setPropReactivity: (nextReactive: ReactiveFn) => void;
82
89
  declare const defineProps: <T extends Record<string, CodecFn<unknown>>>({ el, schema, onChange, }: DefinePropsOptions<T>) => PropState<T>;
83
90
  declare const string: StringCodec;
@@ -85,5 +92,5 @@ declare const number: NumberCodec;
85
92
  declare const bool: BoolCodec;
86
93
  declare const json: JsonCodecFactory;
87
94
  declare const oneOf: <T extends string>(allowed: readonly T[], fallback: T) => OneOfCodec<T>;
88
- export { attribute, boundNumber, clampNumber, decodeProps, dataAttributeForProp, dataAttributeForSchemaProp, defineProps, setPropReactivity, snapNumber, string, number, bool, json, oneOf, };
89
- export type { BoolCodec, CodecFn, CodecKind, CodecMeta, DecodePropsOptions, DefinePropsOptions, JsonCodec, JsonCodecFactory, NumberCodec, OneOfCodec, PropChange, PropChangeSource, PropState, ReactiveFn, SchemaToProps, StringCodec, };
95
+ export { attribute, boundNumber, clampNumber, decodeProps, dataAttributeForProp, dataAttributeForSchemaProp, defineProps, reflectSchemaProp, setPropReactivity, snapNumber, string, number, bool, json, oneOf, };
96
+ export type { BoolCodec, CodecFn, CodecKind, CodecMeta, DecodePropsOptions, DefinePropsOptions, JsonCodec, JsonCodecFactory, NumberCodec, OneOfCodec, PropChange, ReflectSchemaPropOptions, PropChangeSource, PropState, ReactiveFn, SchemaToProps, StringCodec, };
@@ -0,0 +1,8 @@
1
+ import type Alpine from 'alpinejs';
2
+ import { type RequestOptions } from './request';
3
+ import { type StreamAlpine } from './stream';
4
+ declare const HISTORY_NAMESPACE = "__trellis";
5
+ declare const SCROLL_CONTAINER_SELECTOR = "[data-ui-scroll-restoration]";
6
+ declare const registerNavigationRuntime: (AlpineInstance: Alpine.Alpine | StreamAlpine) => void;
7
+ declare const navigateWithAlpine: (AlpineInstance: Alpine.Alpine | StreamAlpine, url: string | URL, source?: Element, requestOptions?: RequestOptions) => void;
8
+ export { HISTORY_NAMESPACE, SCROLL_CONTAINER_SELECTOR, navigateWithAlpine, registerNavigationRuntime, };
@@ -9,19 +9,22 @@ type RequestOptions = {
9
9
  data?: RequestData;
10
10
  extra?: RequestExtra;
11
11
  headers?: HeadersInit;
12
+ requestId?: string;
12
13
  signal?: AbortSignal;
13
14
  source?: RequestSource;
14
15
  submitter?: HTMLElement | null;
15
16
  };
16
17
  type RequestResult = {
18
+ requestId: string;
17
19
  response: Response | null;
18
- type: 'empty' | 'redirect' | 'other' | 'aborted' | 'unavailable';
20
+ type: 'empty' | 'redirect' | 'other' | 'aborted' | 'cancelled' | 'unavailable';
19
21
  };
20
22
  type RequestLifecycleDetail = {
21
23
  source: Element | Document;
22
24
  url: string;
23
25
  method: RequestMethod;
24
26
  requestInit: RequestInit;
27
+ requestId: string;
25
28
  response?: Response | null;
26
29
  responseType?: RequestResult['type'];
27
30
  error?: unknown;
@@ -5,6 +5,7 @@ type StreamPatchPayload = {
5
5
  target?: string | null;
6
6
  selector?: string | null;
7
7
  mode?: PatchMode | null;
8
+ requestId?: string | null;
8
9
  viewTransition?: boolean;
9
10
  };
10
11
  type StreamEventPayload = {
@@ -14,6 +15,7 @@ type StreamEventPayload = {
14
15
  type LocationPayload = {
15
16
  url: string;
16
17
  mode?: 'push' | 'replace' | 'assign';
18
+ requestId?: string;
17
19
  };
18
20
  type UiEffectPayload = ({
19
21
  type: 'patch';
@@ -37,7 +39,7 @@ type StreamLifecycle = {
37
39
  };
38
40
  type MorphOptions = {
39
41
  key?(el: HTMLElement): string | null;
40
- updating?(from: Node, to: Node): void;
42
+ updating?(from: Node, to: Node, childrenOnly?: () => void, skip?: () => void, skipChildren?: () => void, skipUntil?: (predicate: (node: Node) => boolean) => void): void;
41
43
  updated?(from: Node, to: Node): void;
42
44
  };
43
45
  type StreamAlpine = Pick<Alpine.Alpine, 'initTree'> & Partial<Pick<Alpine.Alpine, 'findClosest'>> & {
@@ -53,5 +55,8 @@ declare const applySseFrame: (AlpineInstance: StreamAlpine, frame: SseFrame) =>
53
55
  declare const streamUrl: (url: string, scopes?: string, client?: string) => string;
54
56
  declare const connectStream: (AlpineInstance: StreamAlpine, url: string, scopes?: string, client?: string, lifecycle?: StreamLifecycle) => StreamController;
55
57
  declare const registerStream: (AlpineInstance: Alpine.Alpine) => void;
56
- export { applyUiEffect, applyUiEffects, applyStreamPatch, applyStreamPatchNow, applyStreamPatches, applySseFrame, connectStream, dispatchStreamEvent, registerStream, streamUrl, };
58
+ declare const setEffectRequestFilter: (filter: ((requestId: string | null) => boolean) | null) => void;
59
+ declare const setMorphExclusionFilter: (filter: ((requestId: string | null, element: Element) => boolean) | null) => void;
60
+ declare const setLocationEffectHandler: (handler: ((payload: LocationPayload) => boolean) | null) => void;
61
+ export { applyUiEffect, applyUiEffects, applyStreamPatch, applyStreamPatchNow, applyStreamPatches, applySseFrame, connectStream, dispatchStreamEvent, registerStream, setEffectRequestFilter, setMorphExclusionFilter, setLocationEffectHandler, streamUrl, };
57
62
  export type { LocationPayload, PatchMode, SseFrame, StreamAlpine, StreamEventPayload, StreamPatchPayload, UiEffectPayload };
@@ -5,7 +5,7 @@ export { createCollectionNavigation, type CollectionElementOptions, type Collect
5
5
  export { registerConfirm, unregisterConfirm, type ConfirmEventDetail, type ConfirmRuntimeOptions } from './confirm';
6
6
  export { findClosestDomInvalidationOwners, registerDomInvalidationOwner, type DomInvalidationOwner, } from './dom-invalidation';
7
7
  export { mergeBindings, type BindingInput, type BindingObject, type MergeBindingsOptions } from './merge-bindings';
8
- export { attribute, boundNumber, clampNumber, dataAttributeForProp, dataAttributeForSchemaProp, decodeProps, defineProps, snapNumber, string, number, bool, json, oneOf, type CodecFn, type DecodePropsOptions, type PropState, type SchemaToProps, } from './codecs';
8
+ export { attribute, boundNumber, clampNumber, dataAttributeForProp, dataAttributeForSchemaProp, decodeProps, defineProps, reflectSchemaProp, snapNumber, string, number, bool, json, oneOf, type CodecFn, type DecodePropsOptions, type PropState, type ReflectSchemaPropOptions, type SchemaToProps, } from './codecs';
9
9
  export { createMachine, type Machine, type MachineConfig, type MachineEffect, type MachineEffectList, type MachineEffectRef, type MachineEntry, type MachineEvent, type MachineEventObject, type MachineGuard, type MachineOptions, type MachineReducer, type MachineReducerList, type MachineReducerRef, type MachineScope, type MachineSnapshot, type MachineStateConfig, type MachineStateValue, type MachineTransition, type MachineTransitionDefinition, type MachineUpdate, } from './state-machine';
10
10
  export { addListener, asBool, dispatch, isRtl, removeAttribute, setAttribute, setPresence, type AddListenerOptions, type AttributeOptions, type BoolOptions, type CleanupStack, type DispatchOptions, type ElementOptions, type PresenceOptions, } from '../utils/dom';
11
11
  export { addDismissableLayer, type DismissableLayerOptions } from './dismissable-layer';