@storybook/preact 0.0.0-pr-28882-sha-2e6a0c80 → 0.0.0-pr-28920-sha-f4db6c03

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/preact",
3
- "version": "0.0.0-pr-28882-sha-2e6a0c80",
3
+ "version": "0.0.0-pr-28920-sha-f4db6c03",
4
4
  "description": "Storybook Preact renderer",
5
5
  "keywords": [
6
6
  "storybook"
@@ -47,11 +47,11 @@
47
47
  "prep": "jiti ../../../scripts/prepare/bundle.ts"
48
48
  },
49
49
  "dependencies": {
50
- "@storybook/components": "^0.0.0-pr-28882-sha-2e6a0c80",
50
+ "@storybook/components": "^0.0.0-pr-28920-sha-f4db6c03",
51
51
  "@storybook/global": "^5.0.0",
52
- "@storybook/manager-api": "^0.0.0-pr-28882-sha-2e6a0c80",
53
- "@storybook/preview-api": "^0.0.0-pr-28882-sha-2e6a0c80",
54
- "@storybook/theming": "^0.0.0-pr-28882-sha-2e6a0c80",
52
+ "@storybook/manager-api": "^0.0.0-pr-28920-sha-f4db6c03",
53
+ "@storybook/preview-api": "^0.0.0-pr-28920-sha-f4db6c03",
54
+ "@storybook/theming": "^0.0.0-pr-28920-sha-f4db6c03",
55
55
  "ts-dedent": "^2.0.0"
56
56
  },
57
57
  "devDependencies": {
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "peerDependencies": {
62
62
  "preact": "^8.0.0||^10.0.0",
63
- "storybook": "^0.0.0-pr-28882-sha-2e6a0c80"
63
+ "storybook": "^0.0.0-pr-28920-sha-f4db6c03"
64
64
  },
65
65
  "engines": {
66
66
  "node": ">=18.0.0"
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "rules": {
3
3
  "import/extensions": "off",
4
- "react/react-in-jsx-scope": "off",
5
- "import/no-extraneous-dependencies": "off"
4
+ "react/react-in-jsx-scope": "off"
6
5
  }
7
6
  }
@@ -2,10 +2,11 @@ import './button.css';
2
2
 
3
3
  /**
4
4
  * Primary UI component for user interaction
5
+ *
5
6
  * @param {object} props
6
- * @param {string} [props.primary=false]
7
+ * @param {string} [props.primary=false] Default is `false`
7
8
  * @param {string} [props.backgroundColor]
8
- * @param {('small' | 'medium' | 'large')} [props.size='medium']
9
+ * @param {'small' | 'medium' | 'large'} [props.size='medium'] Default is `'medium'`
9
10
  * @param {string} props.label
10
11
  * @param {function} props.onClick
11
12
  */
@@ -3,6 +3,7 @@ import './header.css';
3
3
 
4
4
  /**
5
5
  * Header component
6
+ *
6
7
  * @param {object} props
7
8
  * @param {object} [props.user]
8
9
  * @param {string} props.user.name
@@ -3,9 +3,7 @@ import { useState } from 'preact/hooks';
3
3
  import { Header } from './Header';
4
4
  import './page.css';
5
5
 
6
- /**
7
- * Simple page component
8
- */
6
+ /** Simple page component */
9
7
  export const Page = () => {
10
8
  const [user, setUser] = useState();
11
9