Skip to content

Commit

Permalink
Merge pull request #254 from US-CBP/feature/upgrade-storybook-8.5
Browse files Browse the repository at this point in the history
Feature/upgrade storybook 8.5
  • Loading branch information
dgibson666 authored Feb 24, 2025
2 parents b4f6e24 + 4c75dcc commit 9edba96
Show file tree
Hide file tree
Showing 283 changed files with 12,890 additions and 56,966 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

The CBP Design System (1.0) exists to provide a unifying user experience and reduce redundant front-end code within the US Customs and Border Protection enterprise suite of applications and websites. This is the next evolution of our first effort, the [CBP Theme (1.X)](https://us-cbp.github.io/cbp-style-guide).

> **⚠️ The CBP Design System (1.0) is still in a stage of very active development.** As such, much of the code base is still somewhat fragile and may break at any time. While we encourage you to explore our offerings, please do so with the knowledge that the codebase in these repositories will change rapidly and with little warning. Use at your own risk. We will communicate when a stable release will be made available.
> **⚠️ The CBP Design System (1.0) is still in active development.** As such, breaking changes may be introduced but will be documented as such. While we encourage you to explore our offerings, please do so with the knowledge that the codebase in these repositories may change. Use at your own risk. We will communicate when a stable release will be made available.
## Contents

Expand All @@ -19,9 +19,9 @@ This project is set up as a monorepo, containing multiple packages. Current effo

| Package Name | Description |
|---------------------------------|-----------------------------------------------------|
| @cbpds/vanilla (_WIP_) | HTML patterns, css/scss styles and vanilla js |
| @cbpds/vanilla (_deprecated_) | HTML patterns, css/scss styles and vanilla js |
| @cbpds/web-components (_WIP_) | Web components library |
| @cbpds/react-components (_WIP_) | React components library |
| @cbpds/react-components (_WIP_) | React components library (for React 18 and lower) |
| ux-guidelines (_WIP_) | Guidance for patterns, components and design tokens |

## Contributing
Expand Down
37,709 changes: 12,843 additions & 24,866 deletions package-lock.json

Large diffs are not rendered by default.

11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
"style-lint": "npx stylelint '**/*.scss'",
"stylelint-check": "stylelint-config-prettier-check",
"build-tokens": "npm run sd -w packages/design-tokens",
"vanilla-dev": "npm run dev -w packages/vanilla",
"vanilla-build": "npm run build -w packages/vanilla",
"vanilla-sb": "npm run storybook -w packages/vanilla",
"ux-dev": "npm run dev -w packages/ux-guidelines",
"ux-build": "npm run build -w packages/ux-guidelines",
"react-build": "npm run build -w packages/react-components",
Expand All @@ -19,10 +16,10 @@
"stencil-build-sb": "npm run build-pages -w packages/web-components",
"stencil-generate": "npm run generate -w packages/web-components",
"test": "echo \"Error: no test specified\" && exit 1",
"build-pages": "npm run vanilla-build && npm run build-pages -w packages/vanilla && npm run stencil-build && npm run build-pages -w packages/web-components",
"build-pages": "npm run stencil-build && npm run build-pages -w packages/web-components",
"build-pages-old": "npm run build-pages -w packages/ux-guidelines && npm run stencil-build && npm run build-pages -w packages/web-components",
"build-wc-package": "npm run stencil-build && npm run build-pages -w packages/web-components",
"build-pages-old": "npm run vanilla-build && npm run build-pages -w packages/vanilla && npm run build-pages -w packages/ux-guidelines",
"build-all": "npm run vanilla-build && npm run stencil-build && npm run react-build"
"build-all": "npm run stencil-build && npm run react-build"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -56,7 +53,7 @@
"eslint-plugin-react-refresh": "^0.4.5",
"lerna": "^8.1.8",
"postcss-scss": "^4.0.9",
"prettier": "^2.8.8",
"prettier": "^3.0.0",
"stylelint": "^14.16.1",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recommended": "^9.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/ux-guidelines/_includes/layout.njk
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CBP UX Guidelines | {{ title }}</title>
<link rel="stylesheet" href="{{ "/assets/cbpds-vanilla.css" | url }}">
<!---<link rel="stylesheet" href="{{ "/assets/cbpds-vanilla.css" | url }}">--->
</head>
<body>
{{ content | safe }}
Expand Down
2 changes: 1 addition & 1 deletion packages/ux-guidelines/content/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/assets/cbpds-vanilla.css">
<!---<link rel="stylesheet" href="/assets/cbpds-vanilla.css">--->
<title>CBP UX Guidelines</title>
</head>
<body>
Expand Down
2 changes: 2 additions & 0 deletions packages/ux-guidelines/eleventy.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
module.exports = function(eleventyConfig) {
/*
eleventyConfig.addPassthroughCopy({
"../../node_modules/@cbpds/vanilla/dist/style.css": "assets/cbpds-vanilla.css"
})
*/

// Return your Object options:
return {
Expand Down
24 changes: 0 additions & 24 deletions packages/vanilla/.gitignore

This file was deleted.

39 changes: 0 additions & 39 deletions packages/vanilla/.storybook/main.cjs

This file was deleted.

1 change: 0 additions & 1 deletion packages/vanilla/.storybook/manager-head.html

This file was deleted.

23 changes: 0 additions & 23 deletions packages/vanilla/.storybook/manager.js

This file was deleted.

19 changes: 0 additions & 19 deletions packages/vanilla/.storybook/preview-head.html

This file was deleted.

90 changes: 0 additions & 90 deletions packages/vanilla/.storybook/preview.cjs

This file was deleted.

32 changes: 0 additions & 32 deletions packages/vanilla/LICENSE

This file was deleted.

59 changes: 0 additions & 59 deletions packages/vanilla/README.md

This file was deleted.

Loading

0 comments on commit 9edba96

Please sign in to comment.