@rogieking/figui3 8.10.1 → 8.11.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/.cursor/skills/fig-lab/SKILL.md +5 -2
- package/.cursor/skills/fig-lab/components.md +56 -1
- package/.cursor/skills/fig-lab/reference.md +57 -4
- package/.cursor/skills/figui3/components.md +1 -1
- package/.cursor/skills/figui3/react.md +2 -0
- package/.cursor/skills/figui3/reference.md +7 -0
- package/.cursor/skills/propkit/SKILL.md +6 -1
- package/README.md +96 -0
- package/components.css +22 -6
- package/dist/components.css +1 -1
- package/dist/fig-lab.css +1 -1
- package/dist/fig-lab.js +3 -1
- package/dist/fig.css +1 -1
- package/dist/fig.js +1 -1
- package/fig-lab.css +354 -5
- package/fig-lab.js +1422 -129
- package/fig.js +5 -1
- package/package.json +1 -1
package/fig.js
CHANGED
|
@@ -6372,6 +6372,7 @@ figDefineElement("fig-slider", FigSlider);
|
|
|
6372
6372
|
* @attr {string} type - Input type: "text" (default) or "number"
|
|
6373
6373
|
* @attr {string} value - The current input value
|
|
6374
6374
|
* @attr {string} placeholder - Placeholder text
|
|
6375
|
+
* @attr {string} size - Input size: default or "large"
|
|
6375
6376
|
* @attr {boolean} disabled - Whether the input is disabled
|
|
6376
6377
|
* @attr {boolean} multiline - Whether to use a textarea instead of input
|
|
6377
6378
|
* @attr {number} min - Minimum value (for number type)
|
|
@@ -17153,7 +17154,10 @@ figDefineElement("fig-preview", FigPreview);
|
|
|
17153
17154
|
/** @type {Record<string, string | { medium: string, small: string }>} */
|
|
17154
17155
|
const FIG_ICON_TOKENS = {
|
|
17155
17156
|
chevron: { medium: "--icon-24-chevron", small: "--icon-16-chevron" },
|
|
17156
|
-
checkmark:
|
|
17157
|
+
checkmark: {
|
|
17158
|
+
medium: "--icon-24-checkmark",
|
|
17159
|
+
small: "--icon-16-checkmark",
|
|
17160
|
+
},
|
|
17157
17161
|
reset: { medium: "--icon-24-reset", small: "--icon-16-reset" },
|
|
17158
17162
|
"arrow-left": {
|
|
17159
17163
|
medium: "--icon-24-arrow-left",
|
package/package.json
CHANGED