@storybook/html 8.3.0-alpha.6 → 8.3.0-alpha.7

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/html",
3
- "version": "8.3.0-alpha.6",
3
+ "version": "8.3.0-alpha.7",
4
4
  "description": "Storybook HTML renderer",
5
5
  "keywords": [
6
6
  "storybook"
@@ -47,18 +47,18 @@
47
47
  "prep": "jiti ../../../scripts/prepare/bundle.ts"
48
48
  },
49
49
  "dependencies": {
50
- "@storybook/components": "^8.3.0-alpha.6",
50
+ "@storybook/components": "^8.3.0-alpha.7",
51
51
  "@storybook/global": "^5.0.0",
52
- "@storybook/manager-api": "^8.3.0-alpha.6",
53
- "@storybook/preview-api": "^8.3.0-alpha.6",
54
- "@storybook/theming": "^8.3.0-alpha.6",
52
+ "@storybook/manager-api": "^8.3.0-alpha.7",
53
+ "@storybook/preview-api": "^8.3.0-alpha.7",
54
+ "@storybook/theming": "^8.3.0-alpha.7",
55
55
  "ts-dedent": "^2.0.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "typescript": "^5.3.2"
59
59
  },
60
60
  "peerDependencies": {
61
- "storybook": "^8.3.0-alpha.6"
61
+ "storybook": "^8.3.0-alpha.7"
62
62
  },
63
63
  "engines": {
64
64
  "node": ">=18.0.0"
@@ -1,31 +1,19 @@
1
1
  import './button.css';
2
2
 
3
3
  export interface ButtonProps {
4
- /**
5
- * Is this the principal call to action on the page?
6
- */
4
+ /** Is this the principal call to action on the page? */
7
5
  primary?: boolean;
8
- /**
9
- * What background color to use
10
- */
6
+ /** What background color to use */
11
7
  backgroundColor?: string;
12
- /**
13
- * How large should the button be?
14
- */
8
+ /** How large should the button be? */
15
9
  size?: 'small' | 'medium' | 'large';
16
- /**
17
- * Button contents
18
- */
10
+ /** Button contents */
19
11
  label: string;
20
- /**
21
- * Optional click handler
22
- */
12
+ /** Optional click handler */
23
13
  onClick?: () => void;
24
14
  }
25
15
 
26
- /**
27
- * Primary UI component for user interaction
28
- */
16
+ /** Primary UI component for user interaction */
29
17
  export const createButton = ({
30
18
  primary = false,
31
19
  size = 'medium',
@@ -1,31 +1,19 @@
1
1
  import './button.css';
2
2
 
3
3
  export interface ButtonProps {
4
- /**
5
- * Is this the principal call to action on the page?
6
- */
4
+ /** Is this the principal call to action on the page? */
7
5
  primary?: boolean;
8
- /**
9
- * What background color to use
10
- */
6
+ /** What background color to use */
11
7
  backgroundColor?: string;
12
- /**
13
- * How large should the button be?
14
- */
8
+ /** How large should the button be? */
15
9
  size?: 'small' | 'medium' | 'large';
16
- /**
17
- * Button contents
18
- */
10
+ /** Button contents */
19
11
  label: string;
20
- /**
21
- * Optional click handler
22
- */
12
+ /** Optional click handler */
23
13
  onClick?: () => void;
24
14
  }
25
15
 
26
- /**
27
- * Primary UI component for user interaction
28
- */
16
+ /** Primary UI component for user interaction */
29
17
  export const createButton = ({
30
18
  primary = false,
31
19
  size = 'medium',