pallote-react 0.15.8 → 0.15.9

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
@@ -976,7 +976,7 @@ SectionHeader.propTypes = {
976
976
  title: PropTypes.string.isRequired,
977
977
  promoteTitle: PropTypes.bool,
978
978
  titleComponent: PropTypes.oneOf(['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p']).isRequired,
979
- subtitle: PropTypes.string,
979
+ subtitle: PropTypes.oneOfType([PropTypes.string, PropTypes.object]),
980
980
  actions: PropTypes.node,
981
981
  className: PropTypes.node
982
982
  };
@@ -1396,11 +1396,14 @@ const Snippet = ({
1396
1396
  content = 'Snippet',
1397
1397
  isDefault = false,
1398
1398
  dense = false,
1399
+ fullWidth,
1399
1400
  className,
1400
1401
  ...props
1401
1402
  }) => {
1402
1403
  return /*#__PURE__*/React__default.createElement("div", {
1403
- className: classnames('snippet_wrapper')
1404
+ className: classnames(['snippet_wrapper', {
1405
+ ' w-full': fullWidth
1406
+ }])
1404
1407
  }, /*#__PURE__*/React__default.createElement(SyntaxHighlighter, _extends({
1405
1408
  language: "javascript",
1406
1409
  style: nnfxDark,
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pallote-react",
3
- "version": "0.15.8",
3
+ "version": "0.15.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "styles": "dist/index.css",
@@ -14,8 +14,8 @@
14
14
  "author": "",
15
15
  "license": "ISC",
16
16
  "peerDependencies": {
17
- "react": "^18.0.0",
18
- "react-dom": "^18.0.0",
17
+ "react": "^18.0.0 || ^19.0.0",
18
+ "react-dom": "^18.0.0 || ^19.0.0",
19
19
  "react-router-dom": ">=6 <8"
20
20
  },
21
21
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pallote-react",
3
- "version": "0.15.8",
3
+ "version": "0.15.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "styles": "dist/index.css",
@@ -12,8 +12,8 @@
12
12
  "author": "",
13
13
  "license": "ISC",
14
14
  "peerDependencies": {
15
- "react": "^18.0.0",
16
- "react-dom": "^18.0.0",
15
+ "react": "^18.0.0 || ^19.0.0",
16
+ "react-dom": "^18.0.0 || ^19.0.0",
17
17
  "react-router-dom": ">=6 <8"
18
18
  },
19
19
  "dependencies": {
@@ -23,7 +23,7 @@
23
23
  "classnames": "^2.5.1",
24
24
  "react-syntax-highlighter": "^15.6.1",
25
25
  "sass": "^1.71.1",
26
- "pallote-css": "^0.9.8"
26
+ "pallote-css": "^0.9.10"
27
27
  },
28
28
  "devDependencies": {
29
29
  "@chromatic-com/storybook": "^3.2.4",