pallote-react 0.15.16 → 0.15.17

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/index.js CHANGED
@@ -2134,7 +2134,7 @@ const SectionHeader = ({
2134
2134
  label,
2135
2135
  title,
2136
2136
  promoteTitle = false,
2137
- titleComponent,
2137
+ titleComponent = 'h2',
2138
2138
  subtitle,
2139
2139
  actions,
2140
2140
  className,
@@ -2157,7 +2157,7 @@ SectionHeader.propTypes = {
2157
2157
  label: PropTypes.string,
2158
2158
  title: PropTypes.string.isRequired,
2159
2159
  promoteTitle: PropTypes.bool,
2160
- titleComponent: PropTypes.oneOf(['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p']).isRequired,
2160
+ titleComponent: PropTypes.oneOf(['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p']),
2161
2161
  subtitle: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
2162
2162
  actions: PropTypes.node,
2163
2163
  className: PropTypes.node
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pallote-react",
3
- "version": "0.15.16",
3
+ "version": "0.15.17",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "styles": "dist/index.css",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pallote-react",
3
- "version": "0.15.16",
3
+ "version": "0.15.17",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "styles": "dist/index.css",