@department-of-veterans-affairs/css-library 0.5.1 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@department-of-veterans-affairs/css-library",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "packageManager": "yarn@3.2.0",
5
5
  "files": [
6
6
  "dist/**/*.css",
@@ -11,8 +11,11 @@
11
11
  "build:tokens": "style-dictionary build",
12
12
  "build:stylesheets": "sass --load-path=../../node_modules/@uswds/uswds/packages/ src/stylesheets:dist/",
13
13
  "build:minify": "yarn build:stylesheets --style compressed --no-source-map",
14
- "build": "yarn run copy && yarn build:tokens && yarn build:stylesheets",
15
- "copy": "node ./copy-uswds-color-tokens.js"
14
+ "build:minify-core": "sass --style compressed --no-source-map dist/core.css:dist/core.min.css",
15
+ "build": "yarn run clean-dist && yarn run copy && yarn build:tokens && yarn build:stylesheets",
16
+ "clean-dist": "rimraf dist/*",
17
+ "copy-assets": "cp -rv src/assets/fonts dist/fonts/ && cp -rv src/assets/img dist/img/",
18
+ "copy": "node ./copy-uswds-color-tokens.js && yarn run copy-assets"
16
19
  },
17
20
  "devDependencies": {
18
21
  "@uswds/uswds": "^3.7.1",
@@ -20,6 +23,7 @@
20
23
  "style-dictionary": "^3.8.0"
21
24
  },
22
25
  "dependencies": {
23
- "@divriots/style-dictionary-to-figma": "^0.4.0"
26
+ "@divriots/style-dictionary-to-figma": "^0.4.0",
27
+ "rimraf": "^5.0.5"
24
28
  }
25
29
  }
@@ -1 +0,0 @@
1
- /*! This is intentionally left empty for now */
package/dist/fonts.css DELETED
@@ -1 +0,0 @@
1
- /*! font definitions could also be provided */
@@ -1 +0,0 @@
1
- /*! font definitions could also be provided */
package/dist/print.css DELETED
@@ -1 +0,0 @@
1
- .print-only{display:none}@media print{header,footer,nav{display:none}.schemaform-title,.schemaform-subtitle,.screen-only{display:none}.print-only{display:block}a[href^="/"]:after{content:" (https://www.va.gov" attr(href) ")"}a[href^=http]:after{content:" (" attr(href) ")"}}