Skip to content

Commit

Permalink
perf: removed small and lead from paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
scar055 committed Jul 17, 2024
1 parent b858420 commit 72936c2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 38 deletions.
12 changes: 0 additions & 12 deletions components/paragraph/src/html/_mixin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,7 @@
@include utrecht-paragraph;
}

p.lead {
@include utrecht-paragraph--lead;
}

* ~ p {
@include utrecht-paragraph--distanced;
}

p:has(> small:only-child) {
@include utrecht-paragraph--small;
}

p > small:only-child {
@include utrecht-paragraph__html-small;
}
}
26 changes: 0 additions & 26 deletions packages/storybook-html/src/Paragraph.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,32 +81,6 @@ export const Default: Story = {
},
};

export const Lead: Story = {
args: {
children:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
lead: true,
},
parameters: {
status: {
type: 'WORK IN PROGRESS',
},
},
};

export const Small: Story = {
args: {
children:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
small: true,
},
parameters: {
status: {
type: 'WORK IN PROGRESS',
},
},
};

export const Hidden: Story = {
args: {
...Default.args,
Expand Down

0 comments on commit 72936c2

Please sign in to comment.