Skip to content

Commit

Permalink
change(copyright): removed copyrightVariant from Banner and Hero stories
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed Dec 5, 2022
1 parent ee7268b commit ac62e07
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 38 deletions.
13 changes: 0 additions & 13 deletions src/ui/Banner/Banner.stories.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,6 @@ export default {
type: { summary: 'boolean' },
},
},
copyrightVariant: {
name: 'Variation',
defaultValue: 'default',
options: ['default', 'primary', 'secondary', 'tertiary'],
control: { type: 'select' },
table: {
category: 'Copyright',
defaultValue: { summary: 'default' },
type: { summary: 'string' },
},
},
copyrightPosition: {
name: 'Position',
control: {
Expand Down Expand Up @@ -161,8 +150,6 @@ Default.args = {
image: true,
hideShareButton: false,
hideDownloadButton: false,

copyrightVariant: 'default',
copyrightPosition: 'left',
copyrightIcon: 'ri-copyright-line',
copyrightText: 'Image copyright: Velit fusce sed sem ut.',
Expand Down
1 change: 0 additions & 1 deletion src/ui/Hero/Hero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ function Hero({
children,

has_copyright,
copyrightVariant,
copyrightPosition,
copyrightIcon,
copyrightText,
Expand Down
24 changes: 0 additions & 24 deletions src/ui/Hero/Hero.stories.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,17 +62,6 @@ export default {
type: { summary: 'boolean' },
},
},
copyrightVariant: {
name: 'Variation',
defaultValue: 'default',
options: ['default', 'primary', 'secondary', 'tertiary'],
control: { type: 'select' },
table: {
category: 'Copyright',
defaultValue: { summary: 'default' },
type: { summary: 'string' },
},
},
copyrightPosition: {
name: 'Position',
control: {
Expand Down Expand Up @@ -140,7 +129,6 @@ Default.args = {
backgroundVariant: 'grey',

has_copyright: true,
copyrightVariant: 'default',
copyrightPosition: 'left',
copyrightIcon: 'ri-copyright-line',
copyrightText: 'Image copyright: Velit fusce sed sem ut.',
Expand Down Expand Up @@ -178,7 +166,6 @@ Playground.args = {
backgroundVariant: 'tertiary',

has_copyright: true,
copyrightVariant: 'default',
copyrightPosition: 'left',
copyrightIcon: 'ri-copyright-line',
copyrightText: 'Image copyright: Velit fusce sed sem ut.',
Expand Down Expand Up @@ -259,17 +246,6 @@ Playground.argTypes = {
type: { summary: 'string' },
},
},
copyrightVariant: {
name: 'Variation',
defaultValue: 'default',
options: ['default', 'primary', 'secondary', 'tertiary'],
control: { type: 'select' },
table: {
category: 'Copyright',
defaultValue: { summary: 'default' },
type: { summary: 'string' },
},
},
copyrightPosition: {
name: 'Position',
control: {
Expand Down

0 comments on commit ac62e07

Please sign in to comment.