-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* feat(#249): add storybook README * feat(#249): add DruxtDebug story * feat(#249): add DruxtModule story * chore: update changesets * feat(#249): add detailed debug message * chore(#249): update stories and documentation * feat(#249): add required props error * chore(#249): add mdx stories * feat(#249): add default and debug slot * chore(#249): update test * chore(#249): update test coverage * chore(#249): update router tests * feat(#249): updated Block and Region stories * chore(#249): update DruxtBlock documentation * feat(#249): update DruxtBlockRegion docs and story * chore(#249): update changesets * feat(#249): update DruxtBreadcrumb storybook story * feat(#249): update DruxtEntity stories and docs * chore(#249): updated filename * chore: add uuid error message * chore(#249): update entity component docs * chore(#249): fix entity uuid title issue * feat(#239): update DruxtMenu storybook stories * feat(#249): updated component stories and docs * feat(#249): update DruxtView storybook stories * chore(#249): update test coverage * chore(#249): update DruxtView instance story * feat(#249): update DruxtRouter story and docs * chore(#249): update changesets * chore(#249): fix router test coverage * feat(#249): update DruxtSite docs and stories * feat(#249): fix test snapshot
- Loading branch information
Showing
79 changed files
with
9,729 additions
and
706 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"druxt-router": minor | ||
--- | ||
|
||
Added debug and default slots to the DruxtRouter component. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"druxt-blocks": minor | ||
--- | ||
|
||
Added detailed debug information for the DruxtBlock component. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"druxt": minor | ||
--- | ||
|
||
feat(#249): Added README story to storybook. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"druxt-views": minor | ||
--- | ||
|
||
feat(#249): Improved DruxtView storybook stories and documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"druxt": minor | ||
--- | ||
|
||
Added required props error to DruxtModule components. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"druxt-menu": minor | ||
--- | ||
|
||
feat(#249): Improved DruxtMenu storybook stories and documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"druxt-entity": minor | ||
--- | ||
|
||
feat(#249): Improved DruxtEntity and DruxtEntityForm storybook stories and documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"druxt-breadcrumb": minor | ||
--- | ||
|
||
feat(#249): Improved DruxtBreadcrumb storybook stories and documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"druxt": minor | ||
--- | ||
|
||
feat(#249): Added DruxtModule story to storybook. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"druxt-blocks": minor | ||
--- | ||
|
||
feat(#249): Improved DruxtBlock and DruxtBlockRegion storybook stories and documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
"druxt-views": patch | ||
--- | ||
|
||
Fixed errors in storybook | ||
feat(#249): Fixed errors in storybook. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"druxt-router": minor | ||
--- | ||
|
||
feat(#249): Improved DruxtRouter storybook stories and documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"druxt": minor | ||
--- | ||
|
||
feat(#249): Added DruxtDebug story to storybook. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"druxt-site": minor | ||
--- | ||
|
||
feat(#249): Improved DruxtSite storybook stories and documentation. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 0 additions & 15 deletions
15
packages/blocks/src/components/DruxtBlockRegion.stories.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
packages/blocks/templates/druxt-block-region.instance.stories.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import DruxtBlockRegion from 'druxt-blocks/dist/components/DruxtBlockRegion.vue' | ||
|
||
export default { | ||
title: '<%= options.title %>', | ||
component: DruxtBlockRegion, | ||
argTypes: { | ||
name: { | ||
control: false | ||
}, | ||
theme: { | ||
control: false | ||
} | ||
}, | ||
parameters: { | ||
docs: { | ||
description: { | ||
component: 'Renders all visible blocks assigned to the **<%= options.region %>** region for the **<%= options.theme %>** theme.\n\n```jsx\n\n<DruxtBlockRegion name="<%= options.region %>" theme="<%= options.theme %>" />\n```' | ||
}, | ||
}, | ||
}, | ||
} | ||
|
||
const Template = (args, { argTypes }) => { | ||
return { | ||
props: Object.keys(argTypes), | ||
template: '<DruxtBlockRegion v-bind="$props" v-on="$props" />', | ||
} | ||
} | ||
|
||
export const Default = Template.bind({}) | ||
Default.args = { | ||
name: '<%= options.region %>', | ||
theme: '<%= options.theme %>', | ||
} | ||
Default.storyName = 'DruxtBlockRegion' | ||
Default.parameters = { | ||
docs: { | ||
source: { | ||
code: '<DruxtBlockRegion name="<%= options.region %>" theme="<%= options.theme %>" />' | ||
} | ||
} | ||
} |
Oops, something went wrong.