Skip to content

Commit 4a9f32d

Browse files
authored
Merge pull request #159 from umbraco/feature/storybook-readme
Feature/storybook readme
2 parents 49f3758 + b636675 commit 4a9f32d

File tree

67 files changed

+2856
-6596
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+2856
-6596
lines changed

.storybook/main.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ module.exports = {
66
'@storybook/addon-links',
77
'@storybook/addon-essentials',
88
'@storybook/addon-a11y',
9+
'../storyhelpers/storybook-readme/preset.js',
910
],
1011
core: { builder: 'storybook-builder-vite' },
1112
staticDirs: ['./images'],

package-lock.json

Lines changed: 2497 additions & 6595 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@
9999
"postcss-url": "10.1.3",
100100
"postcss-values-parser": "6.0.2",
101101
"prettier": "2.5.1",
102+
"raw-loader": "4.0.2",
102103
"rimraf": "3.0.2",
103104
"rollup": "2.69.0",
104105
"rollup-plugin-esbuild": "4.8.2",
@@ -111,7 +112,11 @@
111112
"typescript": "4.5.2",
112113
"vite": "2.8.6",
113114
"vite-tsconfig-paths": "3.4.1",
114-
"web-component-analyzer": "1.1.6"
115+
"web-component-analyzer": "1.1.6",
116+
"github-markdown-css": "5.1.0",
117+
"react-markdown": "8.0.0",
118+
"react-syntax-highlighter": "15.4.5",
119+
"remark-gfm": "3.0.1"
115120
},
116121
"workspaces": [
117122
"./packages/*"

packages/uui-action-bar/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
Umbraco style action-bar component.
66

7+
### See it in action
8+
9+
Preview the component on [Storybook](https://uui.umbraco.com/?path=/story/uui-action-bar)
10+
711
## Installation
812

913
### ES imports

packages/uui-avatar-group/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
[![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-avatar-group?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-avatar-group)
44

5+
### See it in action
6+
7+
Preview the component on [Storybook](https://uui.umbraco.com/?path=/story/uui-avatar-group)
8+
59
## Installation
610

711
### ES imports

packages/uui-avatar/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
[![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-avatar?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-avatar)
44

5+
### See it in action
6+
7+
Preview the component on [Storybook](https://uui.umbraco.com/?path=/story/uui-avatar)
8+
59
## Installation
610

711
### ES imports

packages/uui-badge/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
[![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-badge?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-badge)
44

5+
### See it in action
6+
7+
Preview the component on [Storybook](https://uui.umbraco.com/?path=/story/uui-badge)
8+
59
## Installation
610

711
### ES imports

packages/uui-boolean-input/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
Umbraco style boolean-input component.
66

7+
### See it in action
8+
9+
Preview the component on [Storybook](https://uui.umbraco.com/?path=/story/uui-boolean-input)
10+
711
## Installation
812

913
### ES imports

packages/uui-box/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
[![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-box?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-box)
44

5+
### See it in action
6+
7+
Preview the component on [Storybook](https://uui.umbraco.com/?path=/story/uui-box)
8+
59
## Installation
610

711
### ES imports

packages/uui-breadcrumbs/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
[![npm](https://img.shields.io/npm/v/@umbraco-ui/uui-breadcrumbs?logoColor=%231B264F)](https://www.npmjs.com/package/@umbraco-ui/uui-breadcrumbs)
44

5+
### See it in action
6+
7+
Preview the component on [Storybook](https://uui.umbraco.com/?path=/story/uui-breadcrumbs)
8+
59
## Installation
610

711
### ES imports

0 commit comments

Comments
 (0)