@octane-xplat/ui 0.3.0 → 0.4.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 +46 -0
- package/dist/native/octane-client-build.json +1 -1
- package/dist/native/ui.js +52 -40
- package/dist/native/ui10.js +20 -11
- package/dist/native/ui11.js +42 -109
- package/dist/native/ui12.js +17 -84
- package/dist/native/ui13.js +11 -41
- package/dist/native/ui14.js +118 -76
- package/dist/native/ui15.js +43 -92
- package/dist/native/ui16.js +106 -45
- package/dist/native/ui17.js +29 -42
- package/dist/native/ui18.js +34 -53
- package/dist/native/ui19.js +246 -32
- package/dist/native/ui20.js +27 -16
- package/dist/native/ui21.js +376 -86
- package/dist/native/ui22.js +26 -114
- package/dist/native/ui23.js +49 -97
- package/dist/native/ui24.js +78 -53
- package/dist/native/ui25.js +138 -16
- package/dist/native/ui26.js +8 -23
- package/dist/native/ui27.js +60 -34
- package/dist/native/ui28.js +36 -142
- package/dist/native/ui29.js +101 -21
- package/dist/native/ui30.js +14 -31
- package/dist/native/ui31.js +55 -36
- package/dist/native/ui32.js +49 -61
- package/dist/native/ui33.js +36 -28
- package/dist/native/ui34.js +51 -8
- package/dist/native/ui35.js +98 -20
- package/dist/native/ui36.js +9 -33
- package/dist/native/ui37.js +42 -15
- package/dist/native/ui38.js +186 -57
- package/dist/native/ui39.js +96 -24
- package/dist/native/ui4.js +22 -20
- package/dist/native/ui40.js +57 -13
- package/dist/native/ui41.js +15 -100
- package/dist/native/ui42.js +6 -146
- package/dist/native/ui43.js +37 -21
- package/dist/native/ui44.js +265 -6
- package/dist/native/ui45.js +28 -0
- package/dist/native/ui46.js +35 -0
- package/dist/native/ui47.js +41 -0
- package/dist/native/ui48.js +72 -0
- package/dist/native/ui49.js +66 -0
- package/dist/native/ui5.js +37 -77
- package/dist/native/ui50.js +27 -0
- package/dist/native/ui51.js +13 -0
- package/dist/native/ui52.js +92 -0
- package/dist/native/ui53.js +34 -0
- package/dist/native/ui54.js +17 -0
- package/dist/native/ui55.js +156 -0
- package/dist/native/ui56.js +33 -0
- package/dist/native/ui57.js +14 -0
- package/dist/native/ui58.js +22 -0
- package/dist/native/ui59.js +8 -0
- package/dist/native/ui6.js +52 -9
- package/dist/native/ui60.js +108 -0
- package/dist/native/ui61.js +76 -0
- package/dist/native/ui7.js +42 -26
- package/dist/native/ui8.js +22 -12
- package/dist/native/ui9.js +18 -9
- package/dist/web/octane-client-build.json +1 -1
- package/dist/web/ui.js +51 -40
- package/dist/web/ui10.js +33 -186
- package/dist/web/ui11.js +28 -409
- package/dist/web/ui12.js +21 -68
- package/dist/web/ui13.js +201 -97
- package/dist/web/ui14.js +85 -95
- package/dist/web/ui15.js +368 -25
- package/dist/web/ui16.js +13 -101
- package/dist/web/ui17.js +246 -42
- package/dist/web/ui18.js +237 -28
- package/dist/web/ui19.js +36 -10
- package/dist/web/ui20.js +73 -102
- package/dist/web/ui21.js +102 -73
- package/dist/web/ui22.js +95 -55
- package/dist/web/ui23.js +94 -55
- package/dist/web/ui24.js +31 -15
- package/dist/web/ui25.js +105 -19
- package/dist/web/ui26.js +29 -23
- package/dist/web/ui27.js +12 -123
- package/dist/web/ui28.js +9 -110
- package/dist/web/ui29.js +52 -102
- package/dist/web/ui3.js +29 -18
- package/dist/web/ui30.js +32 -41
- package/dist/web/ui31.js +120 -39
- package/dist/web/ui32.js +41 -74
- package/dist/web/ui33.js +148 -32
- package/dist/web/ui34.js +54 -51
- package/dist/web/ui35.js +55 -7
- package/dist/web/ui36.js +18 -41
- package/dist/web/ui37.js +6 -46
- package/dist/web/ui38.js +37 -16
- package/dist/web/ui39.js +135 -81
- package/dist/web/ui4.js +46 -152
- package/dist/web/ui40.js +39 -37
- package/dist/web/ui41.js +41 -16
- package/dist/web/ui42.js +74 -7
- package/dist/web/ui43.js +40 -20
- package/dist/web/ui44.js +60 -6
- package/dist/web/ui45.js +9 -0
- package/dist/web/ui46.js +45 -0
- package/dist/web/ui47.js +13 -0
- package/dist/web/ui48.js +63 -0
- package/dist/web/ui49.js +47 -0
- package/dist/web/ui5.js +131 -27
- package/dist/web/ui50.js +17 -0
- package/dist/web/ui51.js +149 -0
- package/dist/web/ui52.js +42 -0
- package/dist/web/ui53.js +17 -0
- package/dist/web/ui54.js +9 -0
- package/dist/web/ui55.js +22 -0
- package/dist/web/ui56.js +8 -0
- package/dist/web/ui57.js +44 -0
- package/dist/web/ui58.js +46 -0
- package/dist/web/ui6.js +81 -45
- package/dist/web/ui7.js +43 -21
- package/dist/web/ui8.js +27 -21
- package/dist/web/ui9.js +29 -18
- package/package.json +13 -4
- package/src/theme/tokens.css +369 -138
- package/types/index.d.ts +102 -58
- package/types/props.d.ts +233 -13
package/dist/web/ui9.js
CHANGED
|
@@ -1,35 +1,46 @@
|
|
|
1
1
|
import { applyEscapeProps } from "./ui2.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
2
|
+
import { glassClassOf, glassStyleOf } from "./ui3.js";
|
|
3
|
+
import { __s, bag7, clone, queueRefAttach, queueRefDetach, setStyle, template } from "octane";
|
|
4
|
+
import { bindSignalAttribute, bindSignalChild, enableSignalBindings, replaceRef, setPlainAttribute, updateFreshClassName } from "octane/internal/client";
|
|
5
|
+
//#region src/Absolute.web.tsrx
|
|
6
|
+
enableSignalBindings(1, true);
|
|
5
7
|
var _t$0 = /* @__PURE__ */ template("<div></div>");
|
|
6
|
-
var _rm$
|
|
8
|
+
var _rm$1 = [
|
|
7
9
|
"r",
|
|
8
|
-
"
|
|
10
|
+
"e",
|
|
9
11
|
"b"
|
|
10
12
|
];
|
|
11
|
-
var
|
|
13
|
+
var Absolute = /* @__PURE__ */ __s(function Absolute(props, __s, __extra) {
|
|
12
14
|
let _b = __s.slots[0];
|
|
13
15
|
if (_b === void 0) {
|
|
14
|
-
let _m1,
|
|
16
|
+
let _m1, _m4;
|
|
15
17
|
const _root = clone(_t$0);
|
|
16
18
|
_m1 = _root;
|
|
17
|
-
queueRefAttach(__s,
|
|
18
|
-
(__s.cleanups ??= []).push(() => _b && queueRefDetach(_b.
|
|
19
|
-
_b =
|
|
20
|
-
__s.refFields = _rm$
|
|
19
|
+
queueRefAttach(__s, _m4 = (el) => applyEscapeProps(el, props), _m1);
|
|
20
|
+
(__s.cleanups ??= []).push(() => _b && queueRefDetach(_b.e, _b.b));
|
|
21
|
+
_b = bag7(__s, _root, void 0, _m1, void 0, void 0, _m4, null, void 0);
|
|
22
|
+
__s.refFields = _rm$1;
|
|
21
23
|
} else {
|
|
22
24
|
const _r = (el) => applyEscapeProps(el, props);
|
|
23
|
-
if (_r !== _b.
|
|
25
|
+
if (_r !== _b.e) _b.e = replaceRef(__s, _b.e, _r, _b.b);
|
|
24
26
|
}
|
|
25
|
-
_b.a =
|
|
27
|
+
_b.a = bindSignalAttribute(__s, _b.a, _b.b, "id", props.id, "b:f8caef47", setPlainAttribute);
|
|
28
|
+
_b.c = updateFreshClassName([
|
|
29
|
+
"vx-absolute",
|
|
30
|
+
glassClassOf(props.glass),
|
|
31
|
+
props.className
|
|
32
|
+
], _b.c, _b.b);
|
|
26
33
|
{
|
|
27
|
-
const _v =
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
34
|
+
const _v = {
|
|
35
|
+
...glassStyleOf(props.glass),
|
|
36
|
+
...props.style
|
|
37
|
+
};
|
|
38
|
+
if (_b.d !== _v) {
|
|
39
|
+
setStyle(_b.b, _v, _b.d);
|
|
40
|
+
_b.d = _v;
|
|
31
41
|
}
|
|
32
42
|
}
|
|
43
|
+
_b.h = bindSignalChild(__s, _b.h, 1, _b.b, props.children, "b:55e1bd7a", null, void 0, void 0, void 0, true);
|
|
33
44
|
});
|
|
34
45
|
//#endregion
|
|
35
|
-
export {
|
|
46
|
+
export { Absolute };
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@octane-xplat/ui",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"type": "module",
|
|
3
|
+
"version": "0.4.0",
|
|
5
4
|
"files": [
|
|
6
5
|
"dist",
|
|
7
6
|
"types",
|
|
8
7
|
"src/theme/tokens.css"
|
|
9
8
|
],
|
|
9
|
+
"type": "module",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
12
|
"types": "./types/index.d.ts",
|
|
@@ -18,15 +18,21 @@
|
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@nativescript-community/octane": "0.2.1",
|
|
21
|
+
"@nativescript-community/ui-canvas": "4.6.52",
|
|
22
|
+
"@nativescript-community/ui-drawer": "0.1.32",
|
|
23
|
+
"@nativescript-community/ui-svg": "0.2.24",
|
|
21
24
|
"@nativescript/core": "9.1.2",
|
|
22
|
-
"@octanejs/vite-plugin": "0.1.
|
|
25
|
+
"@octanejs/vite-plugin": "0.1.60",
|
|
23
26
|
"jsdom": "30.1.1",
|
|
24
|
-
"octane": "0.
|
|
27
|
+
"octane": "0.5.0",
|
|
25
28
|
"vite": "8.3.0",
|
|
26
29
|
"vitest": "5.0.1"
|
|
27
30
|
},
|
|
28
31
|
"peerDependencies": {
|
|
29
32
|
"@nativescript-community/octane": ">=0.2.1 <1",
|
|
33
|
+
"@nativescript-community/ui-canvas": ">=4.6.52 <5",
|
|
34
|
+
"@nativescript-community/ui-drawer": ">=0.1.32 <1",
|
|
35
|
+
"@nativescript-community/ui-svg": ">=0.2.24 <1",
|
|
30
36
|
"@nativescript/core": ">=9.1.0 <10",
|
|
31
37
|
"octane": ">=0.1.51 <1"
|
|
32
38
|
},
|
|
@@ -34,6 +40,9 @@
|
|
|
34
40
|
"@nativescript-community/octane": {
|
|
35
41
|
"optional": true
|
|
36
42
|
},
|
|
43
|
+
"@nativescript-community/ui-drawer": {
|
|
44
|
+
"optional": true
|
|
45
|
+
},
|
|
37
46
|
"@nativescript/core": {
|
|
38
47
|
"optional": true
|
|
39
48
|
}
|