@yuneta/gobj-ui 7.27.28 → 7.27.29
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 +71 -0
- package/dist/gobj-ui.cjs.js +722 -57
- package/dist/gobj-ui.es.js +723 -59
- package/index.js +1 -0
- package/package.json +2 -2
- package/src/c_yui_update_watch.css +45 -0
- package/src/c_yui_update_watch.js +722 -0
- package/src/c_yui_update_watch.wiring.test.js +315 -0
- package/src/shell_modals.js +8 -0
- package/src/vite_plugin_yuneta_html.test.js +34 -1
- package/src/yui_build_stamp.js +125 -0
- package/src/yui_build_stamp.test.js +56 -0
- package/vite-plugin-yuneta-html.js +60 -2
package/index.js
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
*/
|
|
21
21
|
export { register_c_yui_window } from "./src/c_yui_window.js";
|
|
22
22
|
export { register_c_yui_window_manager } from "./src/c_yui_window_manager.js";
|
|
23
|
+
export { register_c_yui_update_watch } from "./src/c_yui_update_watch.js";
|
|
23
24
|
export { register_c_yui_pager } from "./src/c_yui_pager.js";
|
|
24
25
|
export { register_c_yui_wizard } from "./src/c_yui_wizard.js";
|
|
25
26
|
export { register_c_yui_form } from "./src/c_yui_form.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuneta/gobj-ui",
|
|
3
|
-
"version": "7.27.
|
|
3
|
+
"version": "7.27.29",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/gobj-ui.cjs.js",
|
|
6
6
|
"module": "dist/gobj-ui.es.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"@rollup/plugin-terser": "^1.0.0",
|
|
45
45
|
"@vitest/coverage-v8": "^5.0.5",
|
|
46
46
|
"@yuneta/gobj-js": "^7.27.0",
|
|
47
|
-
"vite": "^8.3.
|
|
47
|
+
"vite": "^8.3.5",
|
|
48
48
|
"vitest": "^5.0.5"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/***********************************************************************
|
|
2
|
+
* c_yui_update_watch.css
|
|
3
|
+
*
|
|
4
|
+
* The bar of C_YUI_UPDATE_WATCH: a newer build is deployed.
|
|
5
|
+
*
|
|
6
|
+
* Fixed at the foot of the viewport, centred, over the floating
|
|
7
|
+
* dock's band and the phone's safe area. It lives in the shell's
|
|
8
|
+
* notification layer (above the dialogs) or, with no shell, in
|
|
9
|
+
* the body -- where the z-index puts it over the login. It
|
|
10
|
+
* appears and goes instantly.
|
|
11
|
+
*
|
|
12
|
+
* Copyright (c) 2026, ArtGins.
|
|
13
|
+
* All Rights Reserved.
|
|
14
|
+
***********************************************************************/
|
|
15
|
+
.UPDATE_BAR.notification {
|
|
16
|
+
position: fixed;
|
|
17
|
+
left: 50%;
|
|
18
|
+
transform: translateX(-50%);
|
|
19
|
+
bottom: calc(1rem + var(--yui-dock-inset-bottom, 0px) + env(safe-area-inset-bottom, 0px));
|
|
20
|
+
z-index: 2000;
|
|
21
|
+
display: flex;
|
|
22
|
+
flex-wrap: wrap;
|
|
23
|
+
align-items: center;
|
|
24
|
+
gap: 0.5rem 0.75rem;
|
|
25
|
+
width: max-content;
|
|
26
|
+
max-width: calc(100vw - 2rem);
|
|
27
|
+
margin: 0;
|
|
28
|
+
padding: 0.75rem 2.5rem 0.75rem 1rem;
|
|
29
|
+
box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.25);
|
|
30
|
+
pointer-events: auto;
|
|
31
|
+
transition: none;
|
|
32
|
+
}
|
|
33
|
+
.UPDATE_BAR .UPDATE_VERSION {
|
|
34
|
+
font-variant-numeric: tabular-nums;
|
|
35
|
+
font-weight: 600;
|
|
36
|
+
}
|
|
37
|
+
.UPDATE_BAR .UPDATE_VERSION:empty {
|
|
38
|
+
display: none;
|
|
39
|
+
}
|
|
40
|
+
.UPDATE_BAR.notification > .UPDATE_DISMISS {
|
|
41
|
+
position: absolute;
|
|
42
|
+
top: 50%;
|
|
43
|
+
right: 0.75rem;
|
|
44
|
+
transform: translateY(-50%);
|
|
45
|
+
}
|