@rogieking/figui3 6.23.0 → 6.23.1

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 CHANGED
@@ -75,51 +75,6 @@ Minimal example:
75
75
  <fig-button variant="primary">Save</fig-button>
76
76
  ```
77
77
 
78
- ### PropsKit embed (one CSS + one JS)
79
-
80
- For property panels inside a host app, use the compiled PropsKit pair (bundles fig + fig-lab + fig-editor, styles scoped to `.figui-root`):
81
-
82
- ```js
83
- import "@rogieking/figui3/propskit.css";
84
- import { createPropsKit } from "@rogieking/figui3/propskit.js";
85
-
86
- const layerConfig = {
87
- name: { type: "text", default: "Layer 1", placeholder: "Enter a name" },
88
- opacity: [75, 0, 100, 1], // slider: [value, min, max, step?]
89
- visible: true, // switch
90
- fill: "#0D99FF", // color (hex)
91
- blend: {
92
- type: "select",
93
- options: ["Normal", "Multiply", "Screen", "Overlay"],
94
- default: "Normal",
95
- },
96
- rotation: [0, -180, 180, 1],
97
- cornerRadius: [8, 0, 64, 1],
98
- easing: { type: "easing", value: [0.4, 0, 0.2, 1] },
99
- shadow: {
100
- _collapsed: true, // folder
101
- offsetY: [8, 0, 24, 1],
102
- blur: [16, 0, 48, 1],
103
- color: "#000000",
104
- },
105
- reset: { type: "action" },
106
- };
107
-
108
- createPropsKit(mountEl, "Layer", layerConfig, {
109
- theme: "system", // or "light" | "dark"
110
- onChange: (path, value, values) => {},
111
- onAction: (name) => {},
112
- });
113
- ```
114
-
115
- ```html
116
- <aside class="figui-root" theme="system">…</aside>
117
- <!-- or -->
118
- <fig-panel theme="dark">…</fig-panel>
119
- ```
120
-
121
- One import for every host (`@rogieking/figui3/propskit.js`). Framework examples that call the same vanilla API live at `/propskit/quickstart`.
122
-
123
78
  ---
124
79
 
125
80
  ## Components