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