aktion-runtime 0.5.8 → 0.5.10

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 (56) hide show
  1. package/README.md +196 -26
  2. package/dist/aktion.iife.js +879 -78
  3. package/dist/aktion.iife.js.map +1 -1
  4. package/dist/aktion.js +16396 -10312
  5. package/dist/aktion.js.map +1 -1
  6. package/dist/aktion.umd.cjs +879 -78
  7. package/dist/aktion.umd.cjs.map +1 -1
  8. package/dist/devtools.js +554 -20
  9. package/dist/devtools.js.map +1 -1
  10. package/dist/language.js +4883 -572
  11. package/dist/language.js.map +1 -1
  12. package/dist/plugin.cjs +2 -2
  13. package/dist/plugin.cjs.map +1 -1
  14. package/dist/plugin.js +2 -2
  15. package/dist/plugin.js.map +1 -1
  16. package/dist/system_prompt.txt +269 -20
  17. package/dist/system_prompt_chat.txt +3 -3
  18. package/dist/testing.js +15977 -7890
  19. package/dist/testing.js.map +1 -1
  20. package/dist/types/devtools/panel.d.ts +32 -0
  21. package/dist/types/devtools/styles.d.ts +1 -1
  22. package/dist/types/element.d.ts +26 -0
  23. package/dist/types/icons/index.d.ts +10 -0
  24. package/dist/types/library/components/_internal.d.ts +18 -0
  25. package/dist/types/library/components/a11y.d.ts +5 -0
  26. package/dist/types/library/components/canvas.d.ts +3 -0
  27. package/dist/types/library/components/extras.d.ts +15 -0
  28. package/dist/types/library/components/feedback.d.ts +1 -0
  29. package/dist/types/library/components/forms-shared.d.ts +55 -0
  30. package/dist/types/library/components/layout-motion.d.ts +14 -0
  31. package/dist/types/library/components/layout.d.ts +1 -0
  32. package/dist/types/library/components/marketing.d.ts +35 -0
  33. package/dist/types/library/components/new-components.d.ts +1 -0
  34. package/dist/types/library/components/scheduling.d.ts +2 -0
  35. package/dist/types/library/components/wave3.d.ts +6 -0
  36. package/dist/types/library/highlight.d.ts +21 -0
  37. package/dist/types/library/qr.d.ts +12 -0
  38. package/dist/types/library/responsive-style.d.ts +51 -0
  39. package/dist/types/library/sx.d.ts +51 -0
  40. package/dist/types/runtime/env.d.ts +33 -0
  41. package/dist/types/runtime/evaluator.d.ts +30 -0
  42. package/dist/types/runtime/http.d.ts +37 -1
  43. package/dist/types/runtime/index.d.ts +2 -0
  44. package/dist/types/runtime/namespaces-extra.d.ts +73 -0
  45. package/dist/types/runtime/realtime.d.ts +46 -0
  46. package/dist/types/runtime/router.d.ts +42 -4
  47. package/dist/types/runtime/ssr.d.ts +29 -0
  48. package/dist/types/runtime/util.d.ts +65 -0
  49. package/dist/types/testing/index.d.ts +35 -0
  50. package/dist/types/theme/fonts.d.ts +30 -0
  51. package/dist/types/theme/index.d.ts +28 -0
  52. package/dist/types/theme/styles.d.ts +1 -1
  53. package/dist/types/tooling/html-import.d.ts +19 -0
  54. package/dist/types/tooling/index.d.ts +3 -0
  55. package/dist/types/tooling/schema.d.ts +58 -0
  56. package/package.json +1 -1
package/dist/plugin.cjs CHANGED
@@ -1399,7 +1399,7 @@ function parsePostfixFrom(ctx, base) {
1399
1399
  if (tok.type === "Punctuation" && tok.value === ".") {
1400
1400
  ctx.consume();
1401
1401
  const propTok = ctx.consume();
1402
- if (propTok.type !== "Identifier" && propTok.type !== "Keyword") {
1402
+ if (propTok.type !== "Identifier" && propTok.type !== "Keyword" && propTok.type !== "StateIdentifier") {
1403
1403
  throw {
1404
1404
  message: `Expected Identifier but got ${propTok.type} "${propTok.value}"`,
1405
1405
  line: propTok.line,
@@ -1443,7 +1443,7 @@ function parsePostfixFrom(ctx, base) {
1443
1443
  };
1444
1444
  } else {
1445
1445
  const propTok = ctx.consume();
1446
- if (propTok.type !== "Identifier" && propTok.type !== "Keyword") {
1446
+ if (propTok.type !== "Identifier" && propTok.type !== "Keyword" && propTok.type !== "StateIdentifier") {
1447
1447
  throw {
1448
1448
  message: `Expected Identifier but got ${propTok.type} "${propTok.value}"`,
1449
1449
  line: propTok.line,