@yuneta/gobj-ui 2.0.0 → 2.2.0
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 +25 -20
- package/dist/gobj-ui.cjs.js +2331 -526
- package/dist/gobj-ui.es.js +2331 -528
- package/index.js +32 -31
- package/package.json +5 -6
- package/{c_g6_nodes_tree.js → src/c_g6_nodes_tree.js} +6 -1
- package/{c_yui_form.js → src/c_yui_form.js} +1 -1
- package/{c_yui_gobj_tree_js.js → src/c_yui_gobj_tree_js.js} +1 -1
- package/{c_yui_json_graph.js → src/c_yui_json_graph.js} +1 -1
- package/{c_yui_main.js → src/c_yui_main.js} +3 -3
- package/{c_yui_map.js → src/c_yui_map.js} +6 -1
- package/{c_yui_nav.js → src/c_yui_nav.js} +134 -26
- package/{c_yui_pager.js → src/c_yui_pager.js} +1 -1
- package/{c_yui_routing.css → src/c_yui_routing.css} +1 -1
- package/{c_yui_routing.js → src/c_yui_routing.js} +1 -1
- package/{c_yui_shell.css → src/c_yui_shell.css} +110 -0
- package/{c_yui_shell.js → src/c_yui_shell.js} +163 -10
- package/{c_yui_tabs.js → src/c_yui_tabs.js} +1 -1
- package/{c_yui_treedb_graph.js → src/c_yui_treedb_graph.js} +35 -9
- package/{c_yui_treedb_topic_with_form.js → src/c_yui_treedb_topic_with_form.js} +1 -1
- package/{c_yui_treedb_topics.js → src/c_yui_treedb_topics.js} +36 -8
- package/{c_yui_uplot.js → src/c_yui_uplot.js} +1 -1
- package/{c_yui_window.js → src/c_yui_window.js} +242 -21
- package/src/c_yui_window_manager.js +602 -0
- package/{c_yui_wizard.js → src/c_yui_wizard.js} +1 -1
- package/{shell_modals.js → src/shell_modals.js} +53 -13
- package/src/tabulator.css +53 -0
- package/src/yui_dev.js +1478 -0
- package/{yui_icons.css → src/yui_icons.css} +5 -0
- package/src/yui_inputs.css +32 -0
- package/src/yui_inputs.js +71 -0
- package/vite.config.js +0 -131
- package/yui_dev.js +0 -583
- /package/{c_yui_main.css → src/c_yui_main.css} +0 -0
- /package/{c_yui_map.css → src/c_yui_map.css} +0 -0
- /package/{c_yui_treedb_topic_with_form.css → src/c_yui_treedb_topic_with_form.css} +0 -0
- /package/{g6_drag_canvas_touch.js → src/g6_drag_canvas_touch.js} +0 -0
- /package/{lib_graph.css → src/lib_graph.css} +0 -0
- /package/{lib_graph.js → src/lib_graph.js} +0 -0
- /package/{lib_icons.js → src/lib_icons.js} +0 -0
- /package/{lib_maplibre.js → src/lib_maplibre.js} +0 -0
- /package/{pager_helpers.js → src/pager_helpers.js} +0 -0
- /package/{pager_helpers.test.js → src/pager_helpers.test.js} +0 -0
- /package/{route_resolver.js → src/route_resolver.js} +0 -0
- /package/{route_resolver.test.js → src/route_resolver.test.js} +0 -0
- /package/{shell_focus_trap.js → src/shell_focus_trap.js} +0 -0
- /package/{shell_focus_trap.test.js → src/shell_focus_trap.test.js} +0 -0
- /package/{shell_show_on.js → src/shell_show_on.js} +0 -0
- /package/{shell_show_on.test.js → src/shell_show_on.test.js} +0 -0
- /package/{shell_toolbar_helpers.js → src/shell_toolbar_helpers.js} +0 -0
- /package/{shell_toolbar_helpers.test.js → src/shell_toolbar_helpers.test.js} +0 -0
- /package/{themes.js → src/themes.js} +0 -0
- /package/{wizard_helpers.js → src/wizard_helpers.js} +0 -0
- /package/{wizard_helpers.test.js → src/wizard_helpers.test.js} +0 -0
- /package/{ytable.css → src/ytable.css} +0 -0
- /package/{ytable.js → src/ytable.js} +0 -0
- /package/{yui_toolbar.css → src/yui_toolbar.css} +0 -0
- /package/{yui_toolbar.js → src/yui_toolbar.js} +0 -0
package/README.md
CHANGED
|
@@ -11,33 +11,38 @@ Published as `@yuneta/gobj-ui`. Built on top of [`@yuneta/gobj-js`](https://gith
|
|
|
11
11
|
This repository carries **two parallel lines** with different layouts and
|
|
12
12
|
consumers. They are independent snapshots (no shared git ancestry):
|
|
13
13
|
|
|
14
|
-
| Line | Branch | Tag | Layout |
|
|
15
|
-
|
|
16
|
-
| **v2** | `main` | `2.0.0
|
|
17
|
-
| **v1** | `v1` | `1.0.0` | `src/` subdir | **estadodelaire**, **hidraulia** | frozen, maintenance-only |
|
|
14
|
+
| Line | Branch | Tag | Layout | Consumed by | How | Status |
|
|
15
|
+
|------|--------|-----|--------|-------------|-----|--------|
|
|
16
|
+
| **v2** | `main` | `2.0.0`+ | `src/` subdir | **wattyzer** | local `file:` dep on the yunetas submodule | active development |
|
|
17
|
+
| **v1** | `v1` | `1.0.0` | `src/` subdir | **estadodelaire**, **hidraulia** | published npm `@yuneta/gobj-ui@^1.0.0` | frozen, maintenance-only |
|
|
18
18
|
|
|
19
19
|
- **v2 / `main`** is the active development line: the declarative shell on top
|
|
20
|
-
of the legacy stack. It is embedded as a git submodule in **
|
|
21
|
-
`
|
|
20
|
+
of the legacy stack. It is embedded as a git submodule in **yunetas** at
|
|
21
|
+
`kernel/js/gobj-ui`, and **wattyzer** consumes that checkout as a `file:`
|
|
22
|
+
dependency (`@yuneta/gobj-ui` → `../../../yunetas/kernel/js/gobj-ui`),
|
|
23
|
+
importing by package specifier (`@yuneta/gobj-ui/src/*.js`, exports map
|
|
24
|
+
`"./src/*"`; the `index.js` barrel and the vite plugin stay at the package root).
|
|
22
25
|
- **v1 / `v1`** is the frozen legacy-only stack (the declarative shell is not on
|
|
23
|
-
this line). It is
|
|
24
|
-
|
|
25
|
-
|
|
26
|
+
this line). It is **published to npm**; estadodelaire and hidraulia depend on
|
|
27
|
+
`@yuneta/gobj-ui@^1.0.0` from the registry. Land only maintenance fixes here,
|
|
28
|
+
then `npm publish` a new `1.x`.
|
|
26
29
|
|
|
27
30
|
All new feature work lands on `main`/v2.
|
|
28
31
|
|
|
29
|
-
## Usage
|
|
32
|
+
## Usage
|
|
30
33
|
|
|
31
34
|
```bash
|
|
32
|
-
# clone
|
|
33
|
-
git clone --recurse-submodules <
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
# v2 (active): clone yunetas with submodules; wattyzer picks it up via file:
|
|
36
|
+
git clone --recurse-submodules <yunetas>
|
|
37
|
+
git submodule update --init kernel/js/gobj-ui # yunetas tracks main/v2
|
|
38
|
+
|
|
39
|
+
# v1 (frozen): consumers just install the published package
|
|
40
|
+
npm install @yuneta/gobj-ui@^1.0.0
|
|
37
41
|
```
|
|
38
42
|
|
|
39
|
-
Edit
|
|
40
|
-
|
|
43
|
+
Edit v2 from the yunetas `kernel/js/gobj-ui` checkout, commit on `main` in this
|
|
44
|
+
repo, then bump that submodule pointer in yunetas. For v1, work from a `v1`
|
|
45
|
+
checkout and publish.
|
|
41
46
|
|
|
42
47
|
## Build & test
|
|
43
48
|
|
|
@@ -47,8 +52,8 @@ npm run build # vite -> dist/ (ES/CJS/UMD/IIFE, min + non-min)
|
|
|
47
52
|
npm test # vitest (v2/main only; v1 has no test target)
|
|
48
53
|
```
|
|
49
54
|
|
|
50
|
-
`dist/` is gitignored.
|
|
51
|
-
|
|
52
|
-
|
|
55
|
+
`dist/` is gitignored. v1 consumers get `dist/` from the **published** npm
|
|
56
|
+
tarball; v2 (wattyzer) imports source files by specifier. Rebuild `dist/` to
|
|
57
|
+
validate and before publishing a v1 release.
|
|
53
58
|
|
|
54
59
|
Copyright (c) 2024-2026, ArtGins. All Rights Reserved.
|