waozi
84fa544090
Name the shared key codes and map them to text field input
...
Hosts now agree on key codes, so Kryon names them (KeyEnter, KeyBackspace,
KeyLeft, ...) next to the modifier bits. TypedTextTake collects a frame's
typed codepoints as UTF-8, and TextFieldInputFor turns a key, modifiers, and
typed text into a focused TextField's input, which apps each wrote by hand.
2026-09-30 01:31:27 -03:00
waozi
2a00c369d1
Move KSS into its own package
...
Style sheet parsing, formatting, the style packs, and their tests now
live in kryonlabs/kss, which depends on Kryon. Kryon keeps the rule
table and style resolution, so an app that builds its rules in code no
longer carries a parser; apps that read .kss text add the KSS package
and import kss/Kss or kss/SystemStyle.
2026-09-29 20:56:26 -03:00
waozi
0525f80226
Build browser profiles through the package map
...
Canvas and DOM builds now check and save the app with `ziran ir
--project`, like native builds, so an app's Git dependencies and
package-qualified imports such as Kryon/Widgets work on the web too.
Browser routing is exported as PageRoute for apps that read or push
the page route.
2026-09-29 20:36:20 -03:00
waozi
2e74cf287b
Move Plot, the data views, and Syntax into their own packages
...
PlotWidget now lives in kryonlabs/plot, TableView and TreeView in
kryonlabs/data-views, and the Ziran, C, and Make tokenizer in
ziranlang/syntax, which no longer depends on Kryon. Apps add them with
`ziran add URL` and import plot/Plot, data_views/TableView, or
syntax/Syntax.
Kryon exports the building blocks those packages draw with (session,
tree, surface, paint_queue, style, style_sheet, widget_kind, and the
rest), so a widget package imports kryon/NAME instead of reaching into
Kryon's source directories. The API guide describes writing one.
2026-09-29 19:47:57 -03:00
waozi
535235d81e
Complete semantic DOM browser host and modular Canvas rastering
2026-09-27 16:49:34 -03:00
waozi
8a0c03fa38
Own installed style typeface bytes in Kryon
2026-09-27 11:28:15 -03:00
waozi
a63545f44d
Remove obsolete Kryon runtime and migration archives
2026-09-27 10:36:49 -03:00
waozi
987f5843f9
Export optional Kryon modules for Ziran packages
2026-09-27 01:12:46 -03:00
waozi
1280b0e579
Expose core widgets and optional plot as Ziran modules
2026-09-27 00:54:26 -03:00
waozi
b6acf3b7f2
Split KSS authoring into an optional package
2026-09-26 16:18:49 -03:00
waozi
856978727e
Move guide and locale policy to Inbe
2026-09-26 16:10:06 -03:00
waozi
cd439879b4
Expose borrowed locale text lookup for apps
2026-09-25 03:05:14 -03:00
waozi
813a9b6b4b
Complete current Ziran widget library migration and tests
2026-09-25 02:40:09 -03:00
waozi
20f5e34891
Keep cursor and frame pacing decisions entirely in Ziran
2026-09-24 16:28:52 -03:00
waozi
618fe643e2
Bind reusable pointer input and prove desktop bundle rendering
2026-09-24 15:33:17 -03:00
waozi
b581577b1c
Complete Kryon migration to current Ziran syntax and host queue
2026-09-24 14:43:35 -03:00
waozi
40c79de115
Document the value based Scroll widget API
2026-09-24 12:43:40 -03:00
waozi
e10462dc0f
Delete legacy header-based Kryon path
2026-09-24 01:06:16 -03:00
waozi
960e7e63a9
Apply inherited viewports to text and image paint
2026-09-23 23:35:59 -03:00
waozi
b109c530fd
Clip retained child input to ancestor viewports
2026-09-23 23:08:04 -03:00
waozi
4b93f9e354
Move SegmentedControl into checked Ziran widget library
2026-09-23 12:30:36 -03:00
waozi
22b2648425
Move Collapsible interaction and paint into checked Ziran
2026-09-23 12:06:47 -03:00
waozi
af007e1bd6
Move Toast state and rendering into checked Ziran widget
2026-09-23 11:51:13 -03:00
waozi
a2509f0ed3
Move swipe gesture state and ownership into Ziran
2026-09-23 11:35:19 -03:00
waozi
8461e27f5c
Move PanedView into checked Ziran widget library
2026-09-23 11:19:28 -03:00
waozi
324ba75f54
Complete checked TreeView scrollbar and navigation
2026-09-23 11:05:22 -03:00
waozi
a7d027a09f
Implement TreeView as checked Ziran widget
2026-09-23 10:53:23 -03:00
waozi
16cd54926d
Move device preference policy into checked Ziran
2026-09-23 10:39:08 -03:00
waozi
0f20ae7153
Place checked widget children during tree submission
2026-09-23 10:29:03 -03:00
waozi
bf7a1e8934
Port retained layout containers to Ziran
2026-09-23 10:17:03 -03:00
waozi
66095ce54c
Port Link and Flow from page host to Ziran
2026-09-23 10:08:40 -03:00
waozi
b8b1b3015d
Port page heading and paragraph text to checked Ziran
2026-09-23 09:58:35 -03:00
waozi
0a3ae9e277
Port page and section containers to Ziran
2026-09-23 09:45:39 -03:00
waozi
655a9b1ba4
Add portable retained tree parent scopes
2026-09-23 09:32:18 -03:00
waozi
16fa1569b4
Port Router navigation to portable Ziran
2026-09-23 09:24:11 -03:00
waozi
1203beded7
Parse locale catalogs into portable caller owned spans
2026-09-23 08:52:11 -03:00
waozi
478a24e8e9
Move locale selection and lookup to portable Ziran
2026-09-23 08:35:06 -03:00
waozi
c2468c81cb
Move route list and stack policy to portable slices
2026-09-23 08:28:05 -03:00
waozi
b52cadf6d8
Add checked Fieldset widget and retire native duplicate
2026-09-23 08:04:43 -03:00
waozi
4a0cfd75bc
Add checked Selectable widget and retire native duplicate
2026-09-23 07:57:48 -03:00
waozi
563fe80eda
Add checked Spinbox widget and retire native duplicate
2026-09-23 07:46:31 -03:00
waozi
11d1c9831d
Add checked continuous and discrete Slider widgets
2026-09-23 07:31:02 -03:00
waozi
627772de33
Route retained slider drag samples by tree identity
2026-09-23 07:18:43 -03:00
waozi
965ea7fbc1
Add checked Radio widget with retained selection input
2026-09-23 07:11:39 -03:00
waozi
777684bf57
Add checked Toggle widget with portable value API
2026-09-23 07:02:43 -03:00
waozi
08e93cd65b
Add checked Checkbox widget and value control routing
2026-09-23 06:53:42 -03:00
waozi
3708b6f869
Support ImageProps content in checked Button widget
2026-09-23 06:42:22 -03:00
waozi
f268bb52d7
Add portable retained Button widget in Ziran
2026-09-23 06:34:23 -03:00
waozi
e9c17f6491
Move retained pointer routing into checked Ziran
2026-09-23 06:18:05 -03:00
waozi
e60424383d
Clip checked Text paint to widget bounds
2026-09-23 06:07:35 -03:00