@octane-xplat/smooth-corners 0.11.1 → 0.13.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "buildId": "d3b248bd-af3e-48e8-a61d-6ca4b8a2cd10",
3
+ "buildId": "05f3e5f6-ec7b-4b3f-b863-c245a210b459",
4
4
  "mode": "production",
5
5
  "capabilities": {
6
6
  "independentHydration": false
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "buildId": "7a7269e8-3ddf-49fe-9789-f0e9d6622a7c",
3
+ "buildId": "842f6530-4dbc-4600-a1c5-648a31f343b3",
4
4
  "mode": "production",
5
5
  "capabilities": {
6
6
  "independentHydration": false
@@ -1,6 +1,7 @@
1
1
  import { innerLayoutProps, outerLayoutProps, paintedStyle } from "./layout-child.web.js";
2
2
  import { smoothPathD } from "./path.js";
3
- import { createElement, createScopedElement, createScopedValue, hookSlots, positionalChildren, useLayoutEffect, useRef, useState } from "octane";
3
+ import { createHostElement } from "octane/internal/client";
4
+ import { createScopedElement, createScopedValue, hookSlots, positionalChildren, useLayoutEffect, useRef, useState } from "octane";
4
5
  //#region src/SmoothCorners.web.tsrx
5
6
  var _hs$ = /* @__PURE__ */ hookSlots(3);
6
7
  var SmoothCorners = function SmoothCorners(props, __s, __extra) {
@@ -50,7 +51,7 @@ var SmoothCorners = function SmoothCorners(props, __s, __extra) {
50
51
  },
51
52
  viewBox: `0 0 ${size.w} ${size.h}`,
52
53
  preserveAspectRatio: "none"
53
- }, () => createScopedValue(() => createElement("path", {
54
+ }, () => createScopedValue(() => createHostElement("path", {
54
55
  d,
55
56
  fill: "none",
56
57
  stroke: props.border.color,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octane-xplat/smooth-corners",
3
- "version": "0.11.1",
3
+ "version": "0.13.0",
4
4
  "description": "Exact-match smooth corners for Octane xplat — one generated curve (Rosenfeld continuous, Figma squircle, superellipse, clothoid) clipped natively on web, iOS, Android, and macOS",
5
5
  "keywords": [
6
6
  "clip-path",
@@ -42,11 +42,11 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@nativescript-community/octane": "0.2.4",
45
- "@nativescript/core": "9.1.2",
46
- "@octane-xplat/macos-renderer": "0.11.1",
45
+ "@nativescript/core": "9.1.3",
46
+ "@octane-xplat/macos-renderer": "0.13.0",
47
47
  "@octanejs/vite-plugin": "0.1.61",
48
48
  "@tsrx/typescript-plugin": "0.4.11",
49
- "octane": "0.6.3",
49
+ "octane": "0.11.0",
50
50
  "tsrx-typegen": "0.2.2",
51
51
  "typescript": "5.9.3",
52
52
  "vite": "8.3.0"