@vireo-ai/trellis-ui 0.1.7 → 0.1.8

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 (157) hide show
  1. package/package.json +40 -39
  2. package/packages/client/types/bindings/disclosure.d.ts +3 -0
  3. package/{types → packages/client/types}/bindings/index.d.ts +3 -3
  4. package/packages/client/types/bindings/motion.d.ts +3 -0
  5. package/packages/client/types/bindings/state.d.ts +3 -0
  6. package/{types → packages/client/types}/bindings/types.d.ts +1 -3
  7. package/{types → packages/client/types}/components/modal/index.d.ts +1 -0
  8. package/{types → packages/client/types}/components/table/contract.d.ts +1 -1
  9. package/packages/client/types/directives/index.d.ts +1 -0
  10. package/packages/client/types/directives/request.d.ts +5 -0
  11. package/{types → packages/client/types}/index.d.ts +3 -3
  12. package/{types → packages/client/types}/motion/animate.d.ts +1 -1
  13. package/{types → packages/client/types}/motion/index.d.ts +3 -3
  14. package/{types → packages/client/types}/motion/presence.d.ts +1 -1
  15. package/{types → packages/client/types}/motion/reduced-motion.d.ts +1 -1
  16. package/{types → packages/client/types}/motion/view.d.ts +1 -1
  17. package/packages/client/types/runtime/engine/index.d.ts +2 -0
  18. package/packages/client/types/runtime/engine/request.d.ts +39 -0
  19. package/{types/runtime → packages/client/types/runtime/engine}/stream.d.ts +10 -9
  20. package/{types → packages/client/types}/runtime/index.d.ts +24 -18
  21. package/packages/client/types/utils/index.d.ts +3 -0
  22. package/packages/client/types/utils/object.d.ts +2 -0
  23. package/packages/client/types/utils/warn.d.ts +2 -0
  24. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/chunks/cally-TZl4LpyH.js.map +1 -0
  25. package/{trellis_ui → packages/server/trellis_ui}/static/trellis_ui/assets/js/esm/index.js +2743 -2785
  26. package/packages/server/trellis_ui/static/trellis_ui/assets/js/esm/index.js.map +1 -0
  27. package/packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.js +15 -0
  28. package/packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.min.js +15 -0
  29. package/trellis_ui/static/trellis_ui/assets/js/esm/chunks/cally-TZl4LpyH.js.map +0 -1
  30. package/trellis_ui/static/trellis_ui/assets/js/esm/index.js.map +0 -1
  31. package/trellis_ui/static/trellis_ui/assets/js/trellis.js +0 -10
  32. package/trellis_ui/static/trellis_ui/assets/js/trellis.min.js +0 -10
  33. package/types/bindings/disclosure.d.ts +0 -3
  34. package/types/bindings/motion.d.ts +0 -3
  35. package/types/bindings/state.d.ts +0 -3
  36. /package/{src → packages/client/src}/components/accordion/styles.css +0 -0
  37. /package/{src → packages/client/src}/components/app/styles.css +0 -0
  38. /package/{src → packages/client/src}/components/brand/styles.css +0 -0
  39. /package/{src → packages/client/src}/components/button/styles.css +0 -0
  40. /package/{src → packages/client/src}/components/date-picker/styles.css +0 -0
  41. /package/{src → packages/client/src}/components/field/styles.css +0 -0
  42. /package/{src → packages/client/src}/components/file-upload/styles.css +0 -0
  43. /package/{src → packages/client/src}/components/input/styles.css +0 -0
  44. /package/{src → packages/client/src}/components/radio/styles.css +0 -0
  45. /package/{src → packages/client/src}/components/scroll-area/styles.css +0 -0
  46. /package/{src → packages/client/src}/components/select/styles.css +0 -0
  47. /package/{src → packages/client/src}/components/sidebar/styles.css +0 -0
  48. /package/{src → packages/client/src}/components/toast/styles.css +0 -0
  49. /package/{src → packages/client/src}/styles/components.css +0 -0
  50. /package/{src → packages/client/src}/styles/generated-sources.css +0 -0
  51. /package/{src → packages/client/src}/styles/static.css +0 -0
  52. /package/{src → packages/client/src}/styles/theme.css +0 -0
  53. /package/{types → packages/client/types}/cdn.d.ts +0 -0
  54. /package/{types → packages/client/types}/components/accordion/contract.d.ts +0 -0
  55. /package/{types → packages/client/types}/components/accordion/index.d.ts +0 -0
  56. /package/{types → packages/client/types}/components/action/contract.d.ts +0 -0
  57. /package/{types → packages/client/types}/components/action/index.d.ts +0 -0
  58. /package/{types → packages/client/types}/components/app/contract.d.ts +0 -0
  59. /package/{types → packages/client/types}/components/app/index.d.ts +0 -0
  60. /package/{types → packages/client/types}/components/badge/contract.d.ts +0 -0
  61. /package/{types → packages/client/types}/components/badge/index.d.ts +0 -0
  62. /package/{types → packages/client/types}/components/box/contract.d.ts +0 -0
  63. /package/{types → packages/client/types}/components/box/index.d.ts +0 -0
  64. /package/{types → packages/client/types}/components/brand/contract.d.ts +0 -0
  65. /package/{types → packages/client/types}/components/brand/index.d.ts +0 -0
  66. /package/{types → packages/client/types}/components/button/contract.d.ts +0 -0
  67. /package/{types → packages/client/types}/components/button/index.d.ts +0 -0
  68. /package/{types → packages/client/types}/components/card/contract.d.ts +0 -0
  69. /package/{types → packages/client/types}/components/card/index.d.ts +0 -0
  70. /package/{types → packages/client/types}/components/checkbox/contract.d.ts +0 -0
  71. /package/{types → packages/client/types}/components/checkbox/index.d.ts +0 -0
  72. /package/{types → packages/client/types}/components/combobox/contract.d.ts +0 -0
  73. /package/{types → packages/client/types}/components/combobox/index.d.ts +0 -0
  74. /package/{types → packages/client/types}/components/common.d.ts +0 -0
  75. /package/{types → packages/client/types}/components/container/contract.d.ts +0 -0
  76. /package/{types → packages/client/types}/components/container/index.d.ts +0 -0
  77. /package/{types → packages/client/types}/components/date-picker/contract.d.ts +0 -0
  78. /package/{types → packages/client/types}/components/date-picker/index.d.ts +0 -0
  79. /package/{types → packages/client/types}/components/dropdown/contract.d.ts +0 -0
  80. /package/{types → packages/client/types}/components/dropdown/index.d.ts +0 -0
  81. /package/{types → packages/client/types}/components/field/contract.d.ts +0 -0
  82. /package/{types → packages/client/types}/components/field/index.d.ts +0 -0
  83. /package/{types → packages/client/types}/components/file-upload/contract.d.ts +0 -0
  84. /package/{types → packages/client/types}/components/file-upload/index.d.ts +0 -0
  85. /package/{types → packages/client/types}/components/flex/contract.d.ts +0 -0
  86. /package/{types → packages/client/types}/components/flex/index.d.ts +0 -0
  87. /package/{types → packages/client/types}/components/frame/contract.d.ts +0 -0
  88. /package/{types → packages/client/types}/components/frame/index.d.ts +0 -0
  89. /package/{types → packages/client/types}/components/grid/contract.d.ts +0 -0
  90. /package/{types → packages/client/types}/components/grid/index.d.ts +0 -0
  91. /package/{types → packages/client/types}/components/heading/contract.d.ts +0 -0
  92. /package/{types → packages/client/types}/components/heading/index.d.ts +0 -0
  93. /package/{types → packages/client/types}/components/image/contract.d.ts +0 -0
  94. /package/{types → packages/client/types}/components/image/index.d.ts +0 -0
  95. /package/{types → packages/client/types}/components/index.d.ts +0 -0
  96. /package/{types → packages/client/types}/components/input/contract.d.ts +0 -0
  97. /package/{types → packages/client/types}/components/input/index.d.ts +0 -0
  98. /package/{types → packages/client/types}/components/layout.d.ts +0 -0
  99. /package/{types → packages/client/types}/components/menu/contract.d.ts +0 -0
  100. /package/{types → packages/client/types}/components/menu/index.d.ts +0 -0
  101. /package/{types → packages/client/types}/components/modal/contract.d.ts +0 -0
  102. /package/{types → packages/client/types}/components/overlay/contract.d.ts +0 -0
  103. /package/{types → packages/client/types}/components/overlay/index.d.ts +0 -0
  104. /package/{types → packages/client/types}/components/radio/contract.d.ts +0 -0
  105. /package/{types → packages/client/types}/components/radio/index.d.ts +0 -0
  106. /package/{types → packages/client/types}/components/runtime.d.ts +0 -0
  107. /package/{types → packages/client/types}/components/scroll-area/contract.d.ts +0 -0
  108. /package/{types → packages/client/types}/components/scroll-area/index.d.ts +0 -0
  109. /package/{types → packages/client/types}/components/section/contract.d.ts +0 -0
  110. /package/{types → packages/client/types}/components/section/index.d.ts +0 -0
  111. /package/{types → packages/client/types}/components/select/contract.d.ts +0 -0
  112. /package/{types → packages/client/types}/components/select/index.d.ts +0 -0
  113. /package/{types → packages/client/types}/components/separator/contract.d.ts +0 -0
  114. /package/{types → packages/client/types}/components/separator/index.d.ts +0 -0
  115. /package/{types → packages/client/types}/components/sidebar/contract.d.ts +0 -0
  116. /package/{types → packages/client/types}/components/sidebar/index.d.ts +0 -0
  117. /package/{types → packages/client/types}/components/slider/contract.d.ts +0 -0
  118. /package/{types → packages/client/types}/components/slider/index.d.ts +0 -0
  119. /package/{types → packages/client/types}/components/spacer/index.d.ts +0 -0
  120. /package/{types → packages/client/types}/components/stack/contract.d.ts +0 -0
  121. /package/{types → packages/client/types}/components/stack/index.d.ts +0 -0
  122. /package/{types → packages/client/types}/components/stream/index.d.ts +0 -0
  123. /package/{types → packages/client/types}/components/switch/contract.d.ts +0 -0
  124. /package/{types → packages/client/types}/components/switch/index.d.ts +0 -0
  125. /package/{types → packages/client/types}/components/table/index.d.ts +0 -0
  126. /package/{types → packages/client/types}/components/tabs/contract.d.ts +0 -0
  127. /package/{types → packages/client/types}/components/tabs/index.d.ts +0 -0
  128. /package/{types → packages/client/types}/components/text/contract.d.ts +0 -0
  129. /package/{types → packages/client/types}/components/text/index.d.ts +0 -0
  130. /package/{types → packages/client/types}/components/textarea/contract.d.ts +0 -0
  131. /package/{types → packages/client/types}/components/textarea/index.d.ts +0 -0
  132. /package/{types → packages/client/types}/components/theme/contract.d.ts +0 -0
  133. /package/{types → packages/client/types}/components/theme/index.d.ts +0 -0
  134. /package/{types → packages/client/types}/components/toast/contract.d.ts +0 -0
  135. /package/{types → packages/client/types}/components/toast/index.d.ts +0 -0
  136. /package/{types → packages/client/types}/motion/stream.d.ts +0 -0
  137. /package/{types → packages/client/types}/motion/targets.d.ts +0 -0
  138. /package/{types → packages/client/types}/runtime/anchored-popover.d.ts +0 -0
  139. /package/{types → packages/client/types}/runtime/class-name.d.ts +0 -0
  140. /package/{types → packages/client/types}/runtime/codecs.d.ts +0 -0
  141. /package/{types → packages/client/types}/runtime/collection-navigation.d.ts +0 -0
  142. /package/{types → packages/client/types}/runtime/confirm.d.ts +0 -0
  143. /package/{types → packages/client/types}/runtime/create.d.ts +0 -0
  144. /package/{types → packages/client/types}/runtime/dismissable-layer.d.ts +0 -0
  145. /package/{types → packages/client/types}/runtime/form-control.d.ts +0 -0
  146. /package/{types → packages/client/types}/runtime/machine.d.ts +0 -0
  147. /package/{types → packages/client/types}/runtime/manifest.d.ts +0 -0
  148. /package/{types → packages/client/types}/runtime/merge-bindings.d.ts +0 -0
  149. /package/{types → packages/client/types}/runtime/option-data.d.ts +0 -0
  150. /package/{types → packages/client/types}/runtime/resizable.d.ts +0 -0
  151. /package/{types → packages/client/types}/runtime/scroll-lock.d.ts +0 -0
  152. /package/{types → packages/client/types}/runtime/styles.d.ts +0 -0
  153. /package/{types → packages/client/types}/runtime/theme.d.ts +0 -0
  154. /package/{types/runtime → packages/client/types/utils}/dom.d.ts +0 -0
  155. /package/{trellis_ui → packages/server/trellis_ui}/static/trellis_ui/assets/css/trellis.css +0 -0
  156. /package/{trellis_ui → packages/server/trellis_ui}/static/trellis_ui/assets/css/trellis.min.css +0 -0
  157. /package/{trellis_ui → packages/server/trellis_ui}/static/trellis_ui/assets/js/esm/chunks/cally-TZl4LpyH.js +0 -0
package/package.json CHANGED
@@ -1,53 +1,52 @@
1
1
  {
2
2
  "name": "@vireo-ai/trellis-ui",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "type": "module",
5
5
  "description": "Django-native UI toolkit for building realtime and interactive web apps.",
6
6
  "license": "MIT",
7
- "main": "./trellis_ui/static/trellis_ui/assets/js/esm/index.js",
8
- "module": "./trellis_ui/static/trellis_ui/assets/js/esm/index.js",
9
- "style": "./trellis_ui/static/trellis_ui/assets/css/trellis.min.css",
10
- "types": "./types/index.d.ts",
7
+ "main": "./packages/server/trellis_ui/static/trellis_ui/assets/js/esm/index.js",
8
+ "module": "./packages/server/trellis_ui/static/trellis_ui/assets/js/esm/index.js",
9
+ "style": "./packages/server/trellis_ui/static/trellis_ui/assets/css/trellis.min.css",
10
+ "types": "./packages/client/types/index.d.ts",
11
11
  "sideEffects": true,
12
12
  "files": [
13
13
  "LICENSE",
14
14
  "README.md",
15
- "types/**/*.d.ts",
16
- "src/styles/**/*.css",
17
- "src/components/**/*.css",
18
- "trellis_ui/static/trellis_ui/assets/css/trellis.css",
19
- "trellis_ui/static/trellis_ui/assets/css/trellis.min.css",
20
- "trellis_ui/static/trellis_ui/assets/js/trellis.js",
21
- "trellis_ui/static/trellis_ui/assets/js/trellis.min.js",
22
- "trellis_ui/static/trellis_ui/assets/js/esm/**/*.js",
23
- "trellis_ui/static/trellis_ui/assets/js/esm/**/*.js.map",
24
- "!types/components/manifests.d.ts",
25
- "!types/components/styles.d.ts",
26
- "!types/components/**/manifest.d.ts",
27
- "!types/components/**/styles.d.ts"
15
+ "packages/client/types/**/*.d.ts",
16
+ "packages/client/src/styles/**/*.css",
17
+ "packages/client/src/components/**/*.css",
18
+ "packages/server/trellis_ui/static/trellis_ui/assets/css/trellis.css",
19
+ "packages/server/trellis_ui/static/trellis_ui/assets/css/trellis.min.css",
20
+ "packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.js",
21
+ "packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.min.js",
22
+ "packages/server/trellis_ui/static/trellis_ui/assets/js/esm/**/*.js",
23
+ "packages/server/trellis_ui/static/trellis_ui/assets/js/esm/**/*.js.map",
24
+ "!packages/client/types/components/manifests.d.ts",
25
+ "!packages/client/types/components/styles.d.ts",
26
+ "!packages/client/types/components/**/manifest.d.ts",
27
+ "!packages/client/types/components/**/styles.d.ts"
28
28
  ],
29
29
  "exports": {
30
30
  ".": {
31
- "types": "./types/index.d.ts",
32
- "import": "./trellis_ui/static/trellis_ui/assets/js/esm/index.js",
33
- "default": "./trellis_ui/static/trellis_ui/assets/js/esm/index.js"
31
+ "types": "./packages/client/types/index.d.ts",
32
+ "import": "./packages/server/trellis_ui/static/trellis_ui/assets/js/esm/index.js",
33
+ "default": "./packages/server/trellis_ui/static/trellis_ui/assets/js/esm/index.js"
34
34
  },
35
- "./cdn": "./trellis_ui/static/trellis_ui/assets/js/trellis.js",
36
- "./cdn.min": "./trellis_ui/static/trellis_ui/assets/js/trellis.min.js",
37
- "./cdn.js": "./trellis_ui/static/trellis_ui/assets/js/trellis.js",
38
- "./cdn.min.js": "./trellis_ui/static/trellis_ui/assets/js/trellis.min.js",
39
- "./theme.css": "./src/styles/theme.css",
40
- "./styles.css": "./trellis_ui/static/trellis_ui/assets/css/trellis.css",
41
- "./styles.min.css": "./trellis_ui/static/trellis_ui/assets/css/trellis.min.css",
42
- "./cdn.css": "./trellis_ui/static/trellis_ui/assets/css/trellis.css",
43
- "./cdn.min.css": "./trellis_ui/static/trellis_ui/assets/css/trellis.min.css",
35
+ "./cdn": "./packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.js",
36
+ "./cdn.min": "./packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.min.js",
37
+ "./cdn.js": "./packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.js",
38
+ "./cdn.min.js": "./packages/server/trellis_ui/static/trellis_ui/assets/js/trellis.min.js",
39
+ "./theme.css": "./packages/client/src/styles/theme.css",
40
+ "./styles.css": "./packages/server/trellis_ui/static/trellis_ui/assets/css/trellis.css",
41
+ "./styles.min.css": "./packages/server/trellis_ui/static/trellis_ui/assets/css/trellis.min.css",
42
+ "./cdn.css": "./packages/server/trellis_ui/static/trellis_ui/assets/css/trellis.css",
43
+ "./cdn.min.css": "./packages/server/trellis_ui/static/trellis_ui/assets/css/trellis.min.css",
44
44
  "./package.json": "./package.json"
45
45
  },
46
46
  "dependencies": {
47
47
  "@alpinejs/morph": "^3.15.12",
48
48
  "@atlaskit/pragmatic-drag-and-drop": "^2.0.1",
49
49
  "@floating-ui/dom": "^1.6.13",
50
- "@imacrayon/alpine-ajax": "^0.12.7",
51
50
  "alpinejs": "^3.14.8",
52
51
  "cally": "^0.9.2",
53
52
  "clsx": "^2.1.1",
@@ -63,32 +62,34 @@
63
62
  "@types/node": "^25.9.3",
64
63
  "jsdom": "^29.1.1",
65
64
  "tailwindcss": "^4.0.0",
65
+ "tsc-alias": "^1.9.0",
66
66
  "typescript": "^6.0.3",
67
67
  "vite": "^8.0.16",
68
68
  "vitest": "^4.1.9"
69
69
  },
70
70
  "scripts": {
71
71
  "typecheck": "tsc --noEmit",
72
- "test": "vitest run --no-file-parallelism",
73
- "test:browser": "pnpm run build:testapp-css && playwright test",
72
+ "test:unit": "vitest run --no-file-parallelism",
73
+ "test:python": "uv run pytest tests/server || test $? -eq 5",
74
+ "test:browser": "playwright test --pass-with-no-tests",
75
+ "test": "pnpm run test:unit && pnpm run test:python && pnpm run test:browser",
74
76
  "test:watch": "vitest",
75
77
  "prek": "uv run prek",
76
- "clean:types": "node -e \"require('node:fs').rmSync('types', { recursive: true, force: true })\"",
78
+ "clean:types": "node -e \"require('node:fs').rmSync('packages/client/types', { recursive: true, force: true })\"",
77
79
  "build:sources": "pnpm run build:manifests",
78
- "build:testapp-css": "pnpm run build:sources && tailwindcss -i ./tests/testapp/assets/styles.css -o ./tests/testapp/static/testapp/css/styles.css --minify",
79
80
  "build:manifests": "vite build --config vite.manifests.config.ts && python3 scripts/generate_ui_events.py",
80
- "build:types": "pnpm run clean:types && tsc -p tsconfig.build.json",
81
+ "build:types": "pnpm run clean:types && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
81
82
  "build:js": "vite build && node scripts/copy_minified_js_alias.mjs && vite build --config vite.esm.config.ts && pnpm run build:types",
82
- "build:css": "pnpm run build:sources && tailwindcss -i ./src/styles/static.css -o ./trellis_ui/static/trellis_ui/assets/css/trellis.css && tailwindcss -i ./src/styles/static.css -o ./trellis_ui/static/trellis_ui/assets/css/trellis.min.css --minify",
83
+ "build:css": "pnpm run build:sources && tailwindcss -i ./packages/client/src/styles/static.css -o ./packages/server/trellis_ui/static/trellis_ui/assets/css/trellis.css && tailwindcss -i ./packages/client/src/styles/static.css -o ./packages/server/trellis_ui/static/trellis_ui/assets/css/trellis.min.css --minify",
83
84
  "build:package": "pnpm run build:css && pnpm run build:js",
84
85
  "build": "pnpm run build:package",
85
- "check": "pnpm run build:package && pnpm run typecheck && pnpm test && uv run pytest && pnpm run test:browser",
86
+ "check": "pnpm run build:package && pnpm run typecheck && pnpm test",
86
87
  "check:packages": "pnpm pack --dry-run && uv build --sdist --wheel",
87
88
  "check:release": "pnpm run check && pnpm run check:packages",
88
89
  "release": "node scripts/release.mjs",
89
90
  "publish:npm": "pnpm run check:release && pnpm publish --access public",
90
91
  "publish:pypi": "pnpm run build:package && uv build --sdist --wheel && uv publish dist/django_trellis-${npm_package_version}.tar.gz dist/django_trellis-${npm_package_version}-py3-none-any.whl",
91
92
  "publish:all": "pnpm run check:release && pnpm publish --access public && uv publish dist/django_trellis-${npm_package_version}.tar.gz dist/django_trellis-${npm_package_version}-py3-none-any.whl",
92
- "dev:css": "pnpm run build:sources && tailwindcss -i ./src/styles/static.css -o ./trellis_ui/static/trellis_ui/assets/css/trellis.min.css --minify --watch"
93
+ "dev:css": "pnpm run build:sources && tailwindcss -i ./packages/client/src/styles/static.css -o ./packages/server/trellis_ui/static/trellis_ui/assets/css/trellis.min.css --minify --watch"
93
94
  }
94
95
  }
@@ -0,0 +1,3 @@
1
+ import type Alpine from 'alpinejs';
2
+ declare const registerDisclosureBindings: (Alpine: Alpine.Alpine) => void;
3
+ export { registerDisclosureBindings };
@@ -1,7 +1,7 @@
1
- import type { AlpineLike } from './types';
1
+ import type Alpine from 'alpinejs';
2
2
  import { registerDisclosureBindings } from './disclosure';
3
3
  import { registerMotionBindings } from './motion';
4
4
  import { registerStateBindings } from './state';
5
- declare const registerCoreBindings: (Alpine: AlpineLike) => void;
5
+ declare const registerCoreBindings: (Alpine: Alpine.Alpine) => void;
6
6
  export { registerCoreBindings, registerDisclosureBindings, registerMotionBindings, registerStateBindings };
7
- export type { ActiveDescendantContext, AlpineLike, DisabledContext, DisclosureContext, InvalidContext, InteractiveContext, SelectedContext, } from './types';
7
+ export type { ActiveDescendantContext, DisabledContext, DisclosureContext, InvalidContext, InteractiveContext, SelectedContext, } from './types';
@@ -0,0 +1,3 @@
1
+ import type Alpine from 'alpinejs';
2
+ declare const registerMotionBindings: (Alpine: Alpine.Alpine) => void;
3
+ export { registerMotionBindings };
@@ -0,0 +1,3 @@
1
+ import type Alpine from 'alpinejs';
2
+ declare const registerStateBindings: (Alpine: Alpine.Alpine) => void;
3
+ export { registerStateBindings };
@@ -1,5 +1,3 @@
1
- import type Alpine from 'alpinejs';
2
- type AlpineLike = typeof Alpine;
3
1
  type DisclosureContext = {
4
2
  isOpen: boolean;
5
3
  triggerId?: string;
@@ -32,4 +30,4 @@ type SelectedContext = {
32
30
  type ActiveDescendantContext = {
33
31
  activeId: string | null;
34
32
  };
35
- export type { ActiveDescendantContext, AlpineLike, DisabledContext, DisclosureContext, InvalidContext, InteractiveContext, SelectedContext, };
33
+ export type { ActiveDescendantContext, DisabledContext, DisclosureContext, InvalidContext, InteractiveContext, SelectedContext, };
@@ -48,6 +48,7 @@ type ModalData = ModalController & {
48
48
  mountLocalTrigger(): void;
49
49
  setupLocalTrigger(trigger: HTMLElement): void;
50
50
  setupDialog(): void;
51
+ setupNamedClose(): void;
51
52
  register(): void;
52
53
  unregister(): void;
53
54
  open(event?: Event): void;
@@ -48,7 +48,7 @@ declare const tableColumnSchema: {
48
48
  minWidth: import("../../runtime/codecs").StringCodec;
49
49
  maxWidth: import("../../runtime/codecs").StringCodec;
50
50
  sortable: import("../../runtime/codecs").BoolCodec;
51
- sort: import("../../runtime/codecs").OneOfCodec<"none" | "ascending" | "descending" | "other">;
51
+ sort: import("../../runtime/codecs").OneOfCodec<"none" | "other" | "ascending" | "descending">;
52
52
  abbr: import("../../runtime/codecs").StringCodec;
53
53
  scope: import("../../runtime/codecs").OneOfCodec<"col" | "colgroup">;
54
54
  class: import("../../runtime/codecs").StringCodec;
@@ -0,0 +1 @@
1
+ export { registerRequestDirective, registerRequestMagic } from './request';
@@ -0,0 +1,5 @@
1
+ import type Alpine from 'alpinejs';
2
+ declare const REQUEST_ROOT_SELECTOR = "[x-ui-request], [x-ui-request\\.navigate]";
3
+ declare const registerRequestMagic: (AlpineInstance: Alpine.Alpine) => void;
4
+ declare const registerRequestDirective: (AlpineInstance: Alpine.Alpine) => void;
5
+ export { REQUEST_ROOT_SELECTOR, registerRequestDirective, registerRequestMagic };
@@ -16,12 +16,12 @@ declare const ui: {
16
16
  readonly json: import("./runtime/codecs").JsonCodecFactory;
17
17
  readonly mergeBindings: ({ inputs }: import("./runtime").MergeBindingsOptions) => import("./runtime").BindingObject;
18
18
  readonly motion: {
19
- readonly createAnimator: <T extends string | number>(value: import("motion").MotionValue<T> | T, defaultOptions?: import("motion").ValueAnimationTransition<T>) => import("./motion").Animator<T>;
19
+ readonly createAnimator: <T extends string | number>(value: import("./motion").MotionValue<T> | T, defaultOptions?: import("./motion").ValueAnimationTransition<T>) => import("./motion").Animator<T>;
20
20
  readonly parallel: (...handles: import("./motion").MotionHandle[]) => import("./motion").MotionHandle;
21
21
  readonly sequential: (...steps: Array<() => import("./motion").MotionHandle>) => import("./motion").MotionHandle;
22
22
  readonly bindTransform: <T extends import("./motion").TransformContext>(element: HTMLElement, values: T, compose: import("./motion").TransformComposer<T>) => (() => void);
23
- readonly bindStyle: <T extends string | number>(element: HTMLElement, property: keyof CSSStyleDeclaration, value: import("motion").MotionValue<T>, map?: (value: T) => string) => (() => void);
24
- readonly withReducedMotion: <T extends import("motion").AnimationOptions>(options: T, reducedOptions?: Partial<T>, preference?: import("./motion").MotionPreference) => T;
23
+ readonly bindStyle: <T extends string | number>(element: HTMLElement, property: keyof CSSStyleDeclaration, value: import("./motion").MotionValue<T>, map?: (value: T) => string) => (() => void);
24
+ readonly withReducedMotion: <T extends import("./motion").AnimationOptions>(options: T, reducedOptions?: Partial<T>, preference?: import("./motion").MotionPreference) => T;
25
25
  readonly resolveTargets: (scope?: import("./motion").ViewScope, targets?: import("./motion").MotionTarget | import("./motion").MotionTarget[] | null) => Element[];
26
26
  readonly applyViewKeys: (scope?: import("./motion").ViewScope, options?: {
27
27
  key?: string;
@@ -1,4 +1,4 @@
1
- import { type AnimationPlaybackControls, type MotionValue, type ValueAnimationTransition } from 'motion';
1
+ import { type AnimationPlaybackControls, type MotionValue, type ValueAnimationTransition } from '../motion';
2
2
  type MotionHandle = {
3
3
  finished: Promise<void>;
4
4
  cancel(): void;
@@ -1,10 +1,10 @@
1
1
  declare const motion: {
2
- readonly createAnimator: <T extends string | number>(value: import("motion").MotionValue<T> | T, defaultOptions?: import("motion").ValueAnimationTransition<T>) => import("./animate").Animator<T>;
2
+ readonly createAnimator: <T extends string | number>(value: import("../motion").MotionValue<T> | T, defaultOptions?: import("../motion").ValueAnimationTransition<T>) => import("./animate").Animator<T>;
3
3
  readonly parallel: (...handles: import("./animate").MotionHandle[]) => import("./animate").MotionHandle;
4
4
  readonly sequential: (...steps: Array<() => import("./animate").MotionHandle>) => import("./animate").MotionHandle;
5
5
  readonly bindTransform: <T extends import("./animate").TransformContext>(element: HTMLElement, values: T, compose: import("./animate").TransformComposer<T>) => (() => void);
6
- readonly bindStyle: <T extends string | number>(element: HTMLElement, property: keyof CSSStyleDeclaration, value: import("motion").MotionValue<T>, map?: (value: T) => string) => (() => void);
7
- readonly withReducedMotion: <T extends import("motion").AnimationOptions>(options: T, reducedOptions?: Partial<T>, preference?: import("./reduced-motion").MotionPreference) => T;
6
+ readonly bindStyle: <T extends string | number>(element: HTMLElement, property: keyof CSSStyleDeclaration, value: import("../motion").MotionValue<T>, map?: (value: T) => string) => (() => void);
7
+ readonly withReducedMotion: <T extends import("../motion").AnimationOptions>(options: T, reducedOptions?: Partial<T>, preference?: import("./reduced-motion").MotionPreference) => T;
8
8
  readonly resolveTargets: (scope?: import("./targets").ViewScope, targets?: import("./targets").MotionTarget | import("./targets").MotionTarget[] | null) => Element[];
9
9
  readonly applyViewKeys: (scope?: import("./targets").ViewScope, options?: {
10
10
  key?: string;
@@ -1,4 +1,4 @@
1
- import { type AnimationOptions, type DOMKeyframesDefinition } from 'motion';
1
+ import { type AnimationOptions, type DOMKeyframesDefinition } from '../motion';
2
2
  import { type MotionHandle } from './animate';
3
3
  import { type MotionPreference } from './reduced-motion';
4
4
  type PresencePhase = 'enter' | 'exit';
@@ -1,4 +1,4 @@
1
- import type { AnimationOptions, DOMKeyframesDefinition } from 'motion';
1
+ import type { AnimationOptions, DOMKeyframesDefinition } from '../motion';
2
2
  type MotionPreference = 'user' | 'always' | 'never';
3
3
  declare const reducedMotionQuery = "(prefers-reduced-motion: reduce)";
4
4
  declare const prefersReducedMotion: () => boolean;
@@ -1,4 +1,4 @@
1
- import { type AnimationOptions, type DOMKeyframesDefinition, type ViewTransitionOptions } from 'motion';
1
+ import { type AnimationOptions, type DOMKeyframesDefinition, type ViewTransitionOptions } from '../motion';
2
2
  import { type MotionHandle } from './animate';
3
3
  import { type MotionPreference } from './reduced-motion';
4
4
  import { type MotionTarget, type ViewScope } from './targets';
@@ -0,0 +1,2 @@
1
+ export * from './request';
2
+ export * from './stream';
@@ -0,0 +1,39 @@
1
+ import type Alpine from 'alpinejs';
2
+ import { type StreamAlpine } from './stream';
3
+ type RequestMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
4
+ type RequestData = FormData | URLSearchParams | HTMLFormElement | Record<string, unknown> | string | Blob | ArrayBuffer;
5
+ type RequestExtra = Record<string, unknown> | FormData | URLSearchParams;
6
+ type RequestSource = Element;
7
+ type RequestOptions = {
8
+ method?: RequestMethod | Lowercase<RequestMethod>;
9
+ data?: RequestData;
10
+ extra?: RequestExtra;
11
+ headers?: HeadersInit;
12
+ signal?: AbortSignal;
13
+ source?: RequestSource;
14
+ submitter?: HTMLElement | null;
15
+ };
16
+ type RequestResult = {
17
+ response: Response | null;
18
+ type: 'empty' | 'sse' | 'redirect' | 'other' | 'aborted';
19
+ };
20
+ type RequestLifecycleDetail = {
21
+ source: Element | Document;
22
+ url: string;
23
+ method: RequestMethod;
24
+ requestInit: RequestInit;
25
+ response?: Response | null;
26
+ responseType?: RequestResult['type'];
27
+ error?: unknown;
28
+ controller: AbortController;
29
+ signal: AbortSignal;
30
+ };
31
+ declare const requestWithAlpine: (AlpineInstance: StreamAlpine, url: string | URL | undefined, options?: RequestOptions) => Promise<RequestResult>;
32
+ declare const request: (url: string | URL, options?: RequestOptions) => Promise<RequestResult>;
33
+ declare const get: (url: string | URL, options?: RequestOptions) => Promise<RequestResult>;
34
+ declare const post: (url: string | URL, options?: RequestOptions) => Promise<RequestResult>;
35
+ declare const put: (url: string | URL, options?: RequestOptions) => Promise<RequestResult>;
36
+ declare const del: (url: string | URL, options?: RequestOptions) => Promise<RequestResult>;
37
+ declare const registerRequestRuntime: (AlpineInstance: Alpine.Alpine | StreamAlpine) => void;
38
+ export { del, get, post, put, registerRequestRuntime, request, requestWithAlpine, };
39
+ export type { RequestLifecycleDetail, RequestMethod, RequestOptions, RequestResult };
@@ -21,27 +21,28 @@ type UiEffectPayload = ({
21
21
  } & StreamEventPayload) | ({
22
22
  type: 'location';
23
23
  } & LocationPayload);
24
+ type SseFrame = {
25
+ event: string;
26
+ data: string;
27
+ };
28
+ type SseFrameHandler = (frame: SseFrame) => void;
24
29
  type StreamController = {
25
30
  abort(reason?: string): void;
26
31
  };
27
- type StreamAlpine = {
28
- initTree(el: HTMLElement): void;
32
+ type StreamAlpine = Pick<Alpine.Alpine, 'initTree'> & {
29
33
  morph?: (target: HTMLElement, html: string, options?: {
30
34
  key?: (el: HTMLElement) => string | null;
31
35
  }) => void;
32
36
  };
33
- declare const MANAGED_HISTORY_STATE_KEY = "__trellisUi";
34
- type ManagedHistoryState = Record<string, unknown> & {
35
- [MANAGED_HISTORY_STATE_KEY]: true;
36
- };
37
37
  declare const applyStreamPatchNow: (AlpineInstance: StreamAlpine, payload: StreamPatchPayload) => void;
38
38
  declare const applyStreamPatches: (AlpineInstance: StreamAlpine, payload: StreamPatchPayload | StreamPatchPayload[]) => void;
39
39
  declare const applyStreamPatch: (AlpineInstance: StreamAlpine, payload: StreamPatchPayload) => void;
40
40
  declare const dispatchStreamEvent: (payload: StreamEventPayload) => void;
41
- declare const isManagedHistoryState: (state: unknown) => state is ManagedHistoryState;
42
41
  declare const applyUiEffect: (AlpineInstance: StreamAlpine, effect: UiEffectPayload) => void;
43
42
  declare const applyUiEffects: (AlpineInstance: StreamAlpine, effects: UiEffectPayload | UiEffectPayload[]) => void;
43
+ declare const streamSseFrames: (response: Response, onFrame: SseFrameHandler) => Promise<void>;
44
+ declare const applySseFrame: (AlpineInstance: StreamAlpine, frame: SseFrame) => void;
44
45
  declare const connectStream: (AlpineInstance: StreamAlpine, url: string) => StreamController;
45
46
  declare const registerStream: (AlpineInstance: Alpine.Alpine) => void;
46
- export { applyUiEffect, applyUiEffects, applyStreamPatch, applyStreamPatchNow, applyStreamPatches, connectStream, dispatchStreamEvent, isManagedHistoryState, registerStream, };
47
- export type { LocationPayload, PatchMode, StreamAlpine, StreamEventPayload, StreamPatchPayload, UiEffectPayload };
47
+ export { applyUiEffect, applyUiEffects, applyStreamPatch, applyStreamPatchNow, applyStreamPatches, applySseFrame, connectStream, dispatchStreamEvent, registerStream, streamSseFrames, };
48
+ export type { LocationPayload, PatchMode, SseFrame, SseFrameHandler, StreamAlpine, StreamEventPayload, StreamPatchPayload, UiEffectPayload };
@@ -7,14 +7,15 @@ export { create, type CreateOptions, type StyleTree } from './create';
7
7
  export { mergeBindings, type BindingInput, type BindingObject, type MergeBindingsOptions } from './merge-bindings';
8
8
  export { defineProps, string, number, bool, json, oneOf, type CodecFn, type PropState, type SchemaToProps } from './codecs';
9
9
  export { createMachine, createVisibilityMachine, type Machine, type MachineAction, type MachineActionList, type MachineActionRef, type MachineConfig, type MachineEffect, type MachineEvent, type MachineEventObject, type MachineGuard, type MachineOptions, type MachineScope, type MachineStateConfig, type MachineTransition, type VisibilityMachineConfig, } from './machine';
10
- export { addListener, asBool, dispatch, isRtl, removeAttribute, setAttribute, setPresence, type AddListenerOptions, type AttributeOptions, type BoolOptions, type CleanupStack, type DispatchOptions, type ElementOptions, type PresenceOptions, } from './dom';
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';
12
12
  export { dispatchNativeControlChange, syncControlPresence, syncNativeControl, syncRepeatedHiddenInputs, type ControlState, type DispatchNativeControlChangeOptions, type HiddenInputState, type NativeControlState, type SyncControlPresenceOptions, type SyncNativeControlOptions, type SyncRepeatedHiddenInputsOptions, } from './form-control';
13
13
  export { getPathValue, normalizeOptionText, parseItemData, splitControlValues } from './option-data';
14
14
  export { createResizable, registerResizable, type ResizableOptions, type ResizeAxis, type ResizeEvent, type ResizeMode, type ResizePhase, } from './resizable';
15
15
  export { defineManifest, propsFromSchema, type ComponentManifest, type DefineManifestOptions, type ManifestPart, type ManifestProp, type ManifestPropDetails, type ManifestToken, type PropsFromSchemaOptions, type SchemaPropDetails, } from './manifest';
16
16
  export { defineStyles, resolveStyle, type DefineStylesOptions, type ResolveStyleOptions, type StyleDefinition, type StylePart, type StyleProps, } from './styles';
17
- export { applyStreamPatch, applyStreamPatches, applyUiEffect, applyUiEffects, connectStream, dispatchStreamEvent, registerStream, type PatchMode, type StreamEventPayload, type StreamPatchPayload, type UiEffectPayload, } from './stream';
17
+ export { del as deleteRequest, get, post, put, registerRequestRuntime, type RequestLifecycleDetail, type RequestMethod, type RequestOptions, type RequestResult, } from './engine/request';
18
+ export { applyStreamPatch, applyStreamPatches, applyUiEffect, applyUiEffects, connectStream, dispatchStreamEvent, registerStream, type PatchMode, type StreamEventPayload, type StreamPatchPayload, type UiEffectPayload, } from './engine/stream';
18
19
  export { applyThemeMode, createThemeStore, registerThemeStore, type ResolvedThemeMode, type ThemeChangeDetail, type ThemeStore, type ThemeMode, } from './theme';
19
20
  export { lockDocumentScroll, unlockDocumentScroll } from './scroll-lock';
20
21
  type TrellisAlpineComponent<T> = Alpine.AlpineComponent<T> & {
@@ -27,14 +28,14 @@ declare const ui: {
27
28
  readonly createCollectionNavigation: ({ root: getRoot, itemSelector, activeAttribute, isDisabled, loop, }: import("./collection-navigation").CollectionNavigationOptions) => import("./collection-navigation").CollectionNavigation;
28
29
  readonly create: <const T extends Record<string, import("./create").StyleTree>>({ definition }: import("./create").CreateOptions<T>) => Readonly<T>;
29
30
  readonly addDismissableLayer: ({ isEnabled, roots, onDismiss, }: import("./dismissable-layer").DismissableLayerOptions) => (() => void);
30
- readonly addListener: ({ target, event, handler, cleanup, options, }: import("./dom").AddListenerOptions) => (() => void);
31
- readonly asBool: ({ value }: import("./dom").BoolOptions) => boolean;
32
- readonly dispatch: <T = unknown>({ el, name, detail }: import("./dom").DispatchOptions<T>) => void;
31
+ readonly addListener: ({ target, event, handler, cleanup, options, }: import(".").AddListenerOptions) => (() => void);
32
+ readonly asBool: ({ value }: import(".").BoolOptions) => boolean;
33
+ readonly dispatch: <T = unknown>({ el, name, detail }: import(".").DispatchOptions<T>) => void;
33
34
  readonly dispatchNativeControlChange: ({ container, fallback, marker, }: import("./form-control").DispatchNativeControlChangeOptions) => void;
34
- readonly isRtl: ({ el }: import("./dom").ElementOptions) => boolean;
35
- readonly removeAttribute: ({ el, attr }: Omit<import("./dom").AttributeOptions, "value">) => void;
36
- readonly setAttribute: ({ el, attr, value }: import("./dom").AttributeOptions) => void;
37
- readonly setPresence: ({ el, attr, present, value }: import("./dom").PresenceOptions) => void;
35
+ readonly isRtl: ({ el }: import(".").ElementOptions) => boolean;
36
+ readonly removeAttribute: ({ el, attr }: Omit<import(".").AttributeOptions, "value">) => void;
37
+ readonly setAttribute: ({ el, attr, value }: import(".").AttributeOptions) => void;
38
+ readonly setPresence: ({ el, attr, present, value }: import(".").PresenceOptions) => void;
38
39
  readonly syncControlPresence: ({ el, state, value, }: import("./form-control").SyncControlPresenceOptions) => void;
39
40
  readonly syncNativeControl: ({ input, state, }: import("./form-control").SyncNativeControlOptions) => void;
40
41
  readonly syncRepeatedHiddenInputs: ({ container, state, currentKey, }: import("./form-control").SyncRepeatedHiddenInputsOptions) => string;
@@ -51,12 +52,12 @@ declare const ui: {
51
52
  readonly className: ({ values }: import("./class-name").ClassNameOptions) => string;
52
53
  readonly cx: ({ values }: import("./class-name").ClassNameOptions) => string;
53
54
  readonly motion: {
54
- readonly createAnimator: <T extends string | number>(value: import("motion").MotionValue<T> | T, defaultOptions?: import("motion").ValueAnimationTransition<T>) => import("..").Animator<T>;
55
+ readonly createAnimator: <T extends string | number>(value: import("../motion").MotionValue<T> | T, defaultOptions?: import("../motion").ValueAnimationTransition<T>) => import("..").Animator<T>;
55
56
  readonly parallel: (...handles: import("..").MotionHandle[]) => import("..").MotionHandle;
56
57
  readonly sequential: (...steps: Array<() => import("..").MotionHandle>) => import("..").MotionHandle;
57
58
  readonly bindTransform: <T extends import("..").TransformContext>(element: HTMLElement, values: T, compose: import("..").TransformComposer<T>) => (() => void);
58
- readonly bindStyle: <T extends string | number>(element: HTMLElement, property: keyof CSSStyleDeclaration, value: import("motion").MotionValue<T>, map?: (value: T) => string) => (() => void);
59
- readonly withReducedMotion: <T extends import("motion").AnimationOptions>(options: T, reducedOptions?: Partial<T>, preference?: import("..").MotionPreference) => T;
59
+ readonly bindStyle: <T extends string | number>(element: HTMLElement, property: keyof CSSStyleDeclaration, value: import("../motion").MotionValue<T>, map?: (value: T) => string) => (() => void);
60
+ readonly withReducedMotion: <T extends import("../motion").AnimationOptions>(options: T, reducedOptions?: Partial<T>, preference?: import("..").MotionPreference) => T;
60
61
  readonly resolveTargets: (scope?: import("..").ViewScope, targets?: import("..").MotionTarget | import("..").MotionTarget[] | null) => Element[];
61
62
  readonly applyViewKeys: (scope?: import("..").ViewScope, options?: {
62
63
  key?: string;
@@ -67,14 +68,19 @@ declare const ui: {
67
68
  readonly createPresenceLifecycle: ({ element, preset, enter, exit, options, enterOptions, exitOptions, owner, }: import("..").PresenceLifecycleOptions) => import("..").PresenceLifecycle;
68
69
  readonly animateStreamPatch: <AlpineInstance>(_Alpine: AlpineInstance, patchOrPatches: import("../motion/stream").StreamPatchLike | import("../motion/stream").StreamPatchLike[], options?: import("..").AnimateStreamPatchOptions) => import("..").MotionHandle;
69
70
  };
70
- readonly applyStreamPatch: (AlpineInstance: import("./stream").StreamAlpine, payload: import("./stream").StreamPatchPayload) => void;
71
- readonly applyStreamPatches: (AlpineInstance: import("./stream").StreamAlpine, payload: import("./stream").StreamPatchPayload | import("./stream").StreamPatchPayload[]) => void;
72
- readonly applyUiEffect: (AlpineInstance: import("./stream").StreamAlpine, effect: import("./stream").UiEffectPayload) => void;
73
- readonly applyUiEffects: (AlpineInstance: import("./stream").StreamAlpine, effects: import("./stream").UiEffectPayload | import("./stream").UiEffectPayload[]) => void;
74
- readonly connectStream: (AlpineInstance: import("./stream").StreamAlpine, url: string) => {
71
+ readonly get: (url: string | URL, options?: import(".").RequestOptions) => Promise<import(".").RequestResult>;
72
+ readonly post: (url: string | URL, options?: import(".").RequestOptions) => Promise<import(".").RequestResult>;
73
+ readonly put: (url: string | URL, options?: import(".").RequestOptions) => Promise<import(".").RequestResult>;
74
+ readonly delete: (url: string | URL, options?: import(".").RequestOptions) => Promise<import(".").RequestResult>;
75
+ readonly registerRequestRuntime: (AlpineInstance: Alpine.Alpine | import("./engine").StreamAlpine) => void;
76
+ readonly applyStreamPatch: (AlpineInstance: import("./engine").StreamAlpine, payload: import(".").StreamPatchPayload) => void;
77
+ readonly applyStreamPatches: (AlpineInstance: import("./engine").StreamAlpine, payload: import(".").StreamPatchPayload | import(".").StreamPatchPayload[]) => void;
78
+ readonly applyUiEffect: (AlpineInstance: import("./engine").StreamAlpine, effect: import(".").UiEffectPayload) => void;
79
+ readonly applyUiEffects: (AlpineInstance: import("./engine").StreamAlpine, effects: import(".").UiEffectPayload | import(".").UiEffectPayload[]) => void;
80
+ readonly connectStream: (AlpineInstance: import("./engine").StreamAlpine, url: string) => {
75
81
  abort(reason?: string): void;
76
82
  };
77
- readonly dispatchStreamEvent: (payload: import("./stream").StreamEventPayload) => void;
83
+ readonly dispatchStreamEvent: (payload: import(".").StreamEventPayload) => void;
78
84
  readonly applyThemeMode: (mode: import("./theme").ThemeMode) => import("./theme").ThemeChangeDetail;
79
85
  readonly createThemeStore: () => import("./theme").ThemeStore;
80
86
  readonly lockDocumentScroll: () => void;
@@ -0,0 +1,3 @@
1
+ export { addListener, asBool, dispatch, isRtl, removeAttribute, setAttribute, setPresence, type AddListenerOptions, type AttributeOptions, type BoolOptions, type CleanupStack, type DispatchOptions, type ElementOptions, type PresenceOptions, } from './dom';
2
+ export { isRecord } from './object';
3
+ export { warn } from './warn';
@@ -0,0 +1,2 @@
1
+ declare const isRecord: (value: unknown) => value is Record<string, unknown>;
2
+ export { isRecord };
@@ -0,0 +1,2 @@
1
+ declare const warn: (message: string, ...args: unknown[]) => void;
2
+ export { warn };