-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: node 20, mv components directory src to root, add emulsify-cor…
…e as only dependency
- Loading branch information
Showing
214 changed files
with
18,144 additions
and
51,744 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 |
---|---|---|
@@ -1 +1 @@ | ||
16.13 | ||
20 |
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 |
---|---|---|
@@ -1,12 +1,43 @@ | ||
module.exports = { | ||
stories: [ | ||
'../src/components/**/*.stories.mdx', | ||
'../src/components/**/*.stories.@(js|jsx|ts|tsx)', | ||
'../components/**/*.stories.mdx', | ||
'../components/**/*.stories.@(js|jsx|ts|tsx)', | ||
], | ||
addons: [ | ||
'@storybook/addon-a11y', | ||
'@storybook/addon-links', | ||
'@storybook/addon-essentials', | ||
'storybook-addon-designs', | ||
{ | ||
name: '@storybook/addon-styling-webpack', | ||
options: { | ||
rules: [ | ||
// Replaces existing CSS rules to support PostCSS | ||
{ | ||
test: /\.css$/, | ||
use: [ | ||
'style-loader', | ||
{ | ||
loader: 'css-loader', | ||
options: { importLoaders: 1 }, | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
}, | ||
], | ||
|
||
core: { | ||
builder: 'webpack5', | ||
}, | ||
|
||
framework: { | ||
name: '@storybook/html-webpack5', | ||
options: {}, | ||
}, | ||
|
||
docs: { | ||
autodocs: true, | ||
}, | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
node_modules | ||
src/components/tokens/_tokens.scss | ||
components/tokens/_tokens.scss |
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ents/audio-player/audio-player.stories.js → ...ents/audio-player/audio-player.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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/components/button/_button.scss → components/button/_button.scss
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
2 changes: 1 addition & 1 deletion
2
src/components/button/button.stories.js → components/button/button.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
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,35 @@ | ||
// Forward all component styles | ||
@forward './accordion/accordion'; | ||
@forward './audio-player/audio-player'; | ||
@forward './blockquote/blockquote'; | ||
@forward './button/button'; | ||
@forward './card/card'; | ||
@forward './docs/examples/home'; | ||
@forward './docs/examples/program'; | ||
@forward './forms/checkbox/checkbox'; | ||
@forward './forms/radio/radio'; | ||
@forward './forms/select/select'; | ||
@forward './forms/textfields/textfields'; | ||
@forward './forms/fieldset'; | ||
@forward './icons/icons'; | ||
@forward './images/image/image'; | ||
@forward './links/link/link'; | ||
@forward './lists/list'; | ||
@forward './logo/logo'; | ||
@forward './menus/breadcrumbs/breadcrumbs'; | ||
@forward './menus/inline/inline-menu'; | ||
@forward './menus/main-menu/00-main-menu'; | ||
@forward './menus/main-menu/01-main-menu-item'; | ||
@forward './menus/main-menu/02-main-menu-link'; | ||
@forward './menus/main-menu/03-main-menu-toggle'; | ||
@forward './menus/social-menu/social-menu'; | ||
@forward './pager/pager'; | ||
@forward './status/status'; | ||
@forward './storybook-styles/storybook.scss'; | ||
@forward './tables/tables'; | ||
@forward './tabs/tab'; | ||
@forward './tabs/tabs'; | ||
@forward './text/headings/headings'; | ||
@forward './text/text/body'; | ||
@forward './text/text/text'; | ||
@forward './videos/video'; |
2 changes: 1 addition & 1 deletion
2
src/components/docs/cover/cover.stories.js → components/docs/cover/cover.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
File renamed without changes.
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
3 changes: 3 additions & 0 deletions
3
src/components/docs/examples/_program.scss → components/docs/examples/_program.scss
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,29 @@ | ||
import template from './home.twig'; | ||
import data from './home.yml'; | ||
import heroImage from '../../../src/images/example/hero.jpg'; | ||
import watchImage1 from '../../../src/images/example/watch-Image.png'; | ||
import watchImage2 from '../../../src/images/example/watch-Image-1.png'; | ||
import watchImage3 from '../../../src/images/example/watch-Image-2.png'; | ||
import celebratingImage1 from '../../../src/images/example/celebrating-Image-1.png'; | ||
import celebratingImage2 from '../../../src/images/example/celebrating-Image-2.png'; | ||
import celebratingImage3 from '../../../src/images/example/celebrating-Image-3.png'; | ||
import celebratingImage4 from '../../../src/images/example/celebrating-Image-4.png'; | ||
|
||
const celebratingImages = [ | ||
celebratingImage1, | ||
celebratingImage2, | ||
celebratingImage3, | ||
celebratingImage4, | ||
]; | ||
const watchImages = [watchImage1, watchImage2, watchImage3]; | ||
|
||
export default { | ||
title: 'Pages/Home', | ||
decorators: [ | ||
(story) => | ||
`<div style="background: var(--colors-grays-700); padding: 0;">${story()}</div>`, | ||
], | ||
}; | ||
|
||
export const Home = () => | ||
template({ data, heroImage, watchImages, celebratingImages }); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
src/components/forms/_fieldset.scss → components/forms/_fieldset.scss
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
src/components/forms/checkbox/_checkbox.scss → components/forms/checkbox/_checkbox.scss
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
src/components/forms/radio/_radio.scss → components/forms/radio/_radio.scss
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
src/components/forms/select/_select.scss → components/forms/select/_select.scss
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
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
...ponents/forms/textfields/_textfields.scss → components/forms/textfields/_textfields.scss
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
src/components/icons/icons.stories.js → components/icons/icons.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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@use '../../../src/stylesheets/mixins' as *; | ||
|
||
.link { | ||
@include link; | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
src/components/lists/_list.scss → components/lists/_list.scss
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
@use '../../src/stylesheets/mixins' as *; | ||
|
||
ul { | ||
@include list-reset; | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
...nents/menus/breadcrumbs/_breadcrumbs.scss → ...nents/menus/breadcrumbs/_breadcrumbs.scss
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
@use '../../../src/stylesheets/mixins' as *; | ||
|
||
.breadcrumb { | ||
@include list-reset; | ||
} | ||
|
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
...components/menus/inline/_inline-menu.scss → components/menus/inline/_inline-menu.scss
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
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
...onents/menus/main-menu/_00-main-menu.scss → ...onents/menus/main-menu/_00-main-menu.scss
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
3 changes: 3 additions & 0 deletions
3
...s/menus/main-menu/_01-main-menu-item.scss → ...s/menus/main-menu/_01-main-menu-item.scss
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
3 changes: 3 additions & 0 deletions
3
...s/menus/main-menu/_02-main-menu-link.scss → ...s/menus/main-menu/_02-main-menu-link.scss
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
3 changes: 3 additions & 0 deletions
3
...menus/main-menu/_03-main-menu-toggle.scss → ...menus/main-menu/_03-main-menu-toggle.scss
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions
2
...nents/menus/social-menu/_social-menu.scss → ...nents/menus/social-menu/_social-menu.scss
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
@use '../../../src/stylesheets/mixins' as *; | ||
|
||
.social-menu { | ||
@include list-reset; | ||
|
||
|
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
src/components/pager/_pager.scss → components/pager/_pager.scss
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions
3
src/components/status/_status.scss → components/status/_status.scss
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.