From f2d303acc20d7a9a7bbdeec684b4a727c0558f0c Mon Sep 17 00:00:00 2001 From: Federico Brigante Date: Thu, 25 Aug 2022 15:00:44 +0700 Subject: [PATCH 01/12] Update AddButton.tsx --- packages/bootstrap-4/src/AddButton/AddButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bootstrap-4/src/AddButton/AddButton.tsx b/packages/bootstrap-4/src/AddButton/AddButton.tsx index c18b20976f..73a4ef7724 100644 --- a/packages/bootstrap-4/src/AddButton/AddButton.tsx +++ b/packages/bootstrap-4/src/AddButton/AddButton.tsx @@ -2,7 +2,7 @@ import React from "react"; import { AddButtonProps } from "@rjsf/core"; import Button from "react-bootstrap/Button"; -import { BsPlus } from "react-icons/bs"; +import { BsPlus } from "@react-icons/all-files/bs/BsPlus.esm"; const AddButton: React.FC = props => ( diff --git a/packages/bootstrap-4/test/__snapshots__/AdditionalProperties.test.tsx.snap b/packages/bootstrap-4/test/__snapshots__/AdditionalProperties.test.tsx.snap index d598c3dd8f..1205064e0d 100644 --- a/packages/bootstrap-4/test/__snapshots__/AdditionalProperties.test.tsx.snap +++ b/packages/bootstrap-4/test/__snapshots__/AdditionalProperties.test.tsx.snap @@ -154,7 +154,14 @@ exports[`AdditionalProperties tests show add button and fields if additionalProp xmlns="http://www.w3.org/2000/svg" > + diff --git a/packages/bootstrap-4/test/__snapshots__/Array.test.tsx.snap b/packages/bootstrap-4/test/__snapshots__/Array.test.tsx.snap index c1e1338ffc..aaef69e4ae 100644 --- a/packages/bootstrap-4/test/__snapshots__/Array.test.tsx.snap +++ b/packages/bootstrap-4/test/__snapshots__/Array.test.tsx.snap @@ -61,7 +61,14 @@ exports[`array fields array 1`] = ` xmlns="http://www.w3.org/2000/svg" > + @@ -473,7 +480,14 @@ exports[`array fields array icons 1`] = ` xmlns="http://www.w3.org/2000/svg" > + diff --git a/packages/bootstrap-4/test/__snapshots__/Form.test.tsx.snap b/packages/bootstrap-4/test/__snapshots__/Form.test.tsx.snap index 1e25b930c1..dc2125ecc9 100644 --- a/packages/bootstrap-4/test/__snapshots__/Form.test.tsx.snap +++ b/packages/bootstrap-4/test/__snapshots__/Form.test.tsx.snap @@ -902,6 +902,74 @@ exports[`single fields radio field 1`] = ` `; +exports[`single fields schema examples 1`] = ` +
+
+
+
+
+ +
+
+
+ +
+
+`; + exports[`single fields select field 1`] = `
+