@rjsf/daisyui 6.2.5 → 6.3.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/dist/chakra-ui.esm.js +2 -3
- package/dist/chakra-ui.esm.js.map +2 -2
- package/dist/chakra-ui.umd.js +1 -3
- package/dist/index.cjs +12 -13
- package/dist/index.cjs.map +3 -3
- package/lib/templates/BaseInputTemplate/BaseInputTemplate.js +2 -5
- package/lib/templates/BaseInputTemplate/BaseInputTemplate.js.map +1 -1
- package/lib/templates/ButtonTemplates/DaisyUIButton.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -13
- package/src/templates/BaseInputTemplate/BaseInputTemplate.tsx +2 -9
- package/src/templates/ButtonTemplates/DaisyUIButton.tsx +5 -2
package/dist/chakra-ui.esm.js
CHANGED
|
@@ -211,6 +211,7 @@ import {
|
|
|
211
211
|
ariaDescribedByIds,
|
|
212
212
|
examplesId
|
|
213
213
|
} from "@rjsf/utils";
|
|
214
|
+
import { SchemaExamples } from "@rjsf/core";
|
|
214
215
|
import { Fragment as Fragment2, jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
215
216
|
function BaseInputTemplate(props) {
|
|
216
217
|
const {
|
|
@@ -290,9 +291,7 @@ function BaseInputTemplate(props) {
|
|
|
290
291
|
options.allowClearTextInputs && !readonly && !disabled && value && /* @__PURE__ */ jsx4(ClearButton2, { registry, onClick: _onClear })
|
|
291
292
|
] })
|
|
292
293
|
] }),
|
|
293
|
-
|
|
294
|
-
return /* @__PURE__ */ jsx4("option", { value: example }, example);
|
|
295
|
-
}) })
|
|
294
|
+
/* @__PURE__ */ jsx4(SchemaExamples, { id, schema })
|
|
296
295
|
] });
|
|
297
296
|
}
|
|
298
297
|
|