formhell 1.0.1 → 1.0.2
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 +2 -0
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -7
- package/dist/index.mjs.map +1 -1
- package/dist/{styles-UY6N5SPU.css → styles-MTB5P5LP.css} +223 -12
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
|
-
import "./styles-
|
|
2
|
+
import "./styles-MTB5P5LP.css";
|
|
3
3
|
|
|
4
4
|
// src/components/SchemaForm.tsx
|
|
5
5
|
import { useEffect as useEffect2, useMemo, useRef as useRef2, useState as useState2 } from "react";
|
|
@@ -2226,7 +2226,7 @@ function ObjectSchemaEditor({
|
|
|
2226
2226
|
/* @__PURE__ */ jsx12("div", { className: "raf-button-row", children: /* @__PURE__ */ jsx12(
|
|
2227
2227
|
"button",
|
|
2228
2228
|
{
|
|
2229
|
-
className: "raf-button raf-button-primary",
|
|
2229
|
+
className: "raf-button raf-button-primary raf-builder-add-property",
|
|
2230
2230
|
type: "button",
|
|
2231
2231
|
onClick: () => {
|
|
2232
2232
|
const next = cloneSchema(schema);
|
|
@@ -2561,7 +2561,7 @@ function ArraySchemaEditor({ schema, onChange }) {
|
|
|
2561
2561
|
/* @__PURE__ */ jsx12("div", { className: "raf-button-row", children: /* @__PURE__ */ jsx12(
|
|
2562
2562
|
"button",
|
|
2563
2563
|
{
|
|
2564
|
-
className: "raf-button raf-button-
|
|
2564
|
+
className: "raf-button raf-button-secondary",
|
|
2565
2565
|
type: "button",
|
|
2566
2566
|
onClick: () => {
|
|
2567
2567
|
const next = cloneSchema(schema);
|
|
@@ -2823,7 +2823,7 @@ function CombinationEditor({
|
|
|
2823
2823
|
/* @__PURE__ */ jsx12("div", { className: "raf-button-row", children: /* @__PURE__ */ jsxs8(
|
|
2824
2824
|
"button",
|
|
2825
2825
|
{
|
|
2826
|
-
className: "raf-button raf-button-
|
|
2826
|
+
className: "raf-button raf-button-secondary",
|
|
2827
2827
|
type: "button",
|
|
2828
2828
|
onClick: () => {
|
|
2829
2829
|
const next = cloneSchema(schema);
|
|
@@ -2851,7 +2851,7 @@ function ConditionalSchemaEditor({
|
|
|
2851
2851
|
/* @__PURE__ */ jsx12("div", { className: "raf-button-row", children: !entry ? /* @__PURE__ */ jsxs8(
|
|
2852
2852
|
"button",
|
|
2853
2853
|
{
|
|
2854
|
-
className: "raf-button raf-button-
|
|
2854
|
+
className: "raf-button raf-button-secondary",
|
|
2855
2855
|
type: "button",
|
|
2856
2856
|
onClick: () => {
|
|
2857
2857
|
const next = cloneSchema(schema);
|
|
@@ -2909,7 +2909,7 @@ function SingleSchemaEditor({
|
|
|
2909
2909
|
/* @__PURE__ */ jsx12("div", { className: "raf-button-row", children: !entry ? /* @__PURE__ */ jsxs8(
|
|
2910
2910
|
"button",
|
|
2911
2911
|
{
|
|
2912
|
-
className: "raf-button raf-button-
|
|
2912
|
+
className: "raf-button raf-button-secondary",
|
|
2913
2913
|
type: "button",
|
|
2914
2914
|
onClick: () => {
|
|
2915
2915
|
const next = cloneSchema(schema);
|
|
@@ -3107,7 +3107,7 @@ function FieldLabel({
|
|
|
3107
3107
|
/* @__PURE__ */ jsxs8(
|
|
3108
3108
|
"button",
|
|
3109
3109
|
{
|
|
3110
|
-
className: "raf-info-button",
|
|
3110
|
+
className: "raf-info-button raf-button-secondary",
|
|
3111
3111
|
type: "button",
|
|
3112
3112
|
"aria-label": `Info about ${label}`,
|
|
3113
3113
|
onClick: (event) => {
|