@ggui-ai/preview-a2ui 0.5.0-rc.2 → 0.6.1
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/dist/components.d.ts.map +1 -1
- package/dist/components.js +10 -5
- package/package.json +1 -1
package/dist/components.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA+IxB;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAa1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD;;;GAGG;AACH,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,SAAS,CAAC,WAAW,CAAC,IAAI,OAAO,CACnE,SAAS,EACT;IAAE,SAAS,EAAE,CAAC,CAAA;CAAE,CACjB,CAAC;AAEF,2CAA2C;AAC3C,MAAM,MAAM,oBAAoB,GAC5B;IAAE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,SAAS,CAAA;CAAE,GAChD;IACE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IACnB,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;QAAE,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CACvF,CAAC;AAEN;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,GAAG,oBAAoB,CAUnE"}
|
package/dist/components.js
CHANGED
|
@@ -76,11 +76,16 @@ const DividerComponent = ComponentBase.extend({
|
|
|
76
76
|
orientation: z.enum(['horizontal', 'vertical']).optional(),
|
|
77
77
|
});
|
|
78
78
|
/**
|
|
79
|
-
* Text block. A2UI supports Markdown inside `text`
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
79
|
+
* Text block. A2UI supports Markdown inside `text` — the INLINE
|
|
80
|
+
* conversational subset (bold/italic/code/links/breaks), parsed by
|
|
81
|
+
* the design system's rich-text model (`@ggui-ai/design/richtext`)
|
|
82
|
+
* and rendered by both provisional renderers (web `iframe-runtime`,
|
|
83
|
+
* RN `ProvisionalRenderer`). Block
|
|
84
|
+
* semantics come from `variant` (`h1`..`h6`, `body`, `caption`,
|
|
85
|
+
* `label`), never from `#` syntax inside `text`. We accept any
|
|
86
|
+
* variant string since Haiku may produce variants we hadn't
|
|
87
|
+
* anticipated — unknown variants degrade to default body text in the
|
|
88
|
+
* renderer, not a parse failure.
|
|
84
89
|
*/
|
|
85
90
|
const TextComponent = ComponentBase.extend({
|
|
86
91
|
component: z.literal('Text'),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ggui-ai/preview-a2ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Narrow A2UI boundary for ggui's provisional UI assembly channel. Framework-neutral types and validators for the server-write subset (createSurface / updateComponents / deleteSurface) used to paint shimmering placeholder UI before the final generated interface arrives.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ggui",
|