-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Cleaning up the 4.x branch to allow for starting fresh. * Switching to a mostly fresh install of Vue 3. * Updated README to reflect new options. * Pulled in a few items to the package.json file from the old version. * Added an entry point for components. * Removed Fractal theme sass file. * Added banner component, CSS file. Refactored click-a11y.js and included it in index.html. Updated application to display the banner. * More tweaks to banner. * Added headline component and related files. * Added Storybook. * Attempting to get the docs build working again. * Updating dependencies, adding lockfile for yarn, updating GH Actions workflow. * Added in some CSS files. Moved storybook stuff and started modifying the button example. * Adding license field. * Trying a different license. * Removed license from package.json and updated install command. * Updated workflow to include debugging message and to use old build path. Adjustments to button component. * Added configuration for a BASE_URL to .storybook/main.js and then set that variable in the workflow file. Per storybookjs/storybook#17433. * Trying a different order. * Fixed BASE_URL. * Starting to theme the application. * Re-factoring the headline, button, banner, and main application. * Updating storybook UI and button. * Updated storybook theme. * Added HTML panel to Storybook. Added some headline examples and refactored the component. * Added outline and font options to button component. Updated color options for button. Refactored button story for less code and updated options. * A few more updates to button and headline compponents. * fix up some extra spannage Co-authored-by: Gary Ridgway <[email protected]>
- Loading branch information
1 parent
0864ecd
commit 3e84a0c
Showing
417 changed files
with
14,561 additions
and
74,032 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,25 @@ | ||
/* eslint-env node */ | ||
require("@rushstack/eslint-patch/modern-module-resolution"); | ||
|
||
module.exports = { | ||
"root": true, | ||
"extends": [ | ||
"plugin:vue/vue3-essential", | ||
"eslint:recommended", | ||
"@vue/eslint-config-typescript/recommended", | ||
"@vue/eslint-config-prettier" | ||
], | ||
"env": { | ||
"vue/setup-compiler-macros": true | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"cypress/integration/**.spec.{js,ts,jsx,tsx}" | ||
], | ||
"extends": [ | ||
"plugin:cypress/recommended" | ||
] | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,29 @@ | ||
# Folders | ||
node_modules | ||
www | ||
tmp | ||
npm-debug.log | ||
|
||
# Ignore generated css files in components | ||
src/components/**/*.css | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
# Files | ||
node_modules | ||
.DS_Store | ||
dist | ||
dist-ssr | ||
coverage | ||
*.local | ||
storybook-static | ||
|
||
/cypress/videos/ | ||
/cypress/screenshots/ | ||
|
||
# Common files | ||
.idea/ | ||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
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,22 @@ | ||
module.exports = { | ||
"stories": [ | ||
"../src/**/*.stories.mdx", | ||
"../src/**/*.stories.@(js|jsx|ts|tsx)" | ||
], | ||
"addons": [ | ||
"@storybook/addon-links", | ||
"@storybook/addon-essentials", | ||
"@storybook/preset-scss", | ||
"@whitespace/storybook-addon-html", | ||
], | ||
"framework": "@storybook/vue3", | ||
"core": { | ||
"builder": "@storybook/builder-vite" | ||
}, | ||
async viteFinal(config, { configType }) { | ||
config.base = process.env.BASE_URL || config.base; | ||
|
||
// return the customized config | ||
return config; | ||
}, | ||
} |
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,8 @@ | ||
// .storybook/manager.js | ||
|
||
import { addons } from '@storybook/addons'; | ||
import uidsTheme from './uidsTheme'; | ||
|
||
addons.setConfig({ | ||
theme: uidsTheme, | ||
}); |
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,3 @@ | ||
<script> | ||
window.global = window; | ||
</script> |
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,16 @@ | ||
import '../src/assets/scss/reset.scss'; | ||
import '../src/assets/scss/fonts.scss'; | ||
import '../src/assets/base.css'; | ||
import '../src/assets/scss/headings.scss'; | ||
import '../src/assets/scss/paragraph.scss'; | ||
import '../src/assets/scss/lists.scss'; | ||
|
||
export const parameters = { | ||
actions: { argTypesRegex: "^on[A-Z].*" }, | ||
controls: { | ||
matchers: { | ||
color: /(background|color)$/i, | ||
date: /Date$/, | ||
}, | ||
}, | ||
} |
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 @@ | ||
// .storybook/YourTheme.js | ||
|
||
import { create } from '@storybook/theming'; | ||
import brand_image from '../src/assets/images/uiowa-secondary.svg' | ||
|
||
export default create({ | ||
base: 'light', | ||
|
||
colorPrimary: '#FFCD00', | ||
colorSecondary: '#151515', | ||
|
||
// UI | ||
appBg: 'white', | ||
appContentBg: 'white', | ||
appBorderColor: 'grey', | ||
appBorderRadius: 0, | ||
|
||
// Typography | ||
fontBase: '"Zilla Slab", serif', | ||
fontCode: 'monospace', | ||
|
||
// Text colors | ||
textColor: '#151515', | ||
textInverseColor: 'white', | ||
|
||
// Toolbar default and active colors | ||
barTextColor: '#63666A', | ||
barSelectedColor: '#151515', | ||
barBg: '#FFCD00', | ||
|
||
// Branding | ||
brandTitle: 'U of Iowa Design System (UIDS)', | ||
brandUrl: 'https://uids.brand.uiowa.edu', | ||
brandImage: brand_image, | ||
}); |
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,3 @@ | ||
{ | ||
"recommendations": ["johnsoncodehk.volar", "johnsoncodehk.vscode-typescript-vue-plugin"] | ||
} |
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,3 @@ | ||
{ | ||
"baseUrl": "http://localhost:5050" | ||
} |
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 @@ | ||
{ | ||
"name": "Using fixtures to represent data", | ||
"email": "[email protected]", | ||
"body": "Fixtures are a great way to mock data for responses to routes" | ||
} |
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,8 @@ | ||
// https://docs.cypress.io/api/introduction/api.html | ||
|
||
describe('My First Test', () => { | ||
it('visits the app root url', () => { | ||
cy.visit('/') | ||
cy.contains('h1', 'You did it!') | ||
}) | ||
}) |
Oops, something went wrong.