diff --git a/CHANGELOG.md b/CHANGELOG.md index 32138579a4..5c0bca2d7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ ### 📈 Features/Enhancements - Add new icons for workspaces ([#1365](https://github.com/opensearch-project/oui/pull/1365)) +- Add a property to control the gap between an icon and the content of OuiButton and OuiButtonEmpty ([#1367](https://github.com/opensearch-project/oui/pull/1367)) ### 🐛 Bug Fixes diff --git a/src/components/basic_table/__snapshots__/in_memory_table.test.tsx.snap b/src/components/basic_table/__snapshots__/in_memory_table.test.tsx.snap index ac72079baf..a65fa1469f 100644 --- a/src/components/basic_table/__snapshots__/in_memory_table.test.tsx.snap +++ b/src/components/basic_table/__snapshots__/in_memory_table.test.tsx.snap @@ -406,6 +406,7 @@ exports[`OuiInMemoryTable behavior pagination 1`] = ` > `; +exports[`OuiButton props iconGap m is rendered 1`] = ` + +`; + +exports[`OuiButton props iconGap none is rendered 1`] = ` + +`; + +exports[`OuiButton props iconGap s is rendered 1`] = ` + +`; + exports[`OuiButton props iconSide left is rendered 1`] = ` +`; + +exports[`OuiButtonEmpty props iconGap none is rendered 1`] = ` + +`; + +exports[`OuiButtonEmpty props iconGap s is rendered 1`] = ` + +`; + exports[`OuiButtonEmpty props iconSide left is rendered 1`] = `