@luscii-healthtech/web-ui 42.13.0 → 42.13.2

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": "@luscii-healthtech/web-ui",
3
- "version": "42.13.0",
3
+ "version": "42.13.2",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "Joris Janssen"
@@ -14,7 +14,7 @@
14
14
  ],
15
15
  "scripts": {
16
16
  "start": "yarn build --watch",
17
- "dev": "concurrently --names 'STORYBOOK,TAILWIND' -c 'auto' 'yarn storybook:lazy' 'yarn storybook:watch-tailwind --watch'",
17
+ "dev": "yarn generate:colors && concurrently --names 'STORYBOOK,TAILWIND' -c 'auto' 'yarn storybook:lazy' 'yarn storybook:watch-tailwind --watch'",
18
18
  "build": "yarn build:js && yarn build:css",
19
19
  "build:js": "yarn rollup --config rollup.config.mjs && yarn fix-alias-paths",
20
20
  "build:css": "yarn build-tailwind",
@@ -25,8 +25,8 @@
25
25
  "lint:fix": "eslint src stories --ext .jsx --ext .js --ext .ts --ext .tsx --fix",
26
26
  "lint:types": "yarn tsc --noEmit",
27
27
  "storybook:lazy": "STORYBOOK_LAZY_COMPILATION=true yarn storybook",
28
- "storybook": "storybook dev -p 6006",
29
- "build-storybook": "yarn storybook:build-tailwind && storybook build",
28
+ "storybook": "yarn generate:colors && storybook dev -p 6006",
29
+ "build-storybook": "yarn generate:colors && yarn storybook:build-tailwind && storybook build",
30
30
  "test-storybook": "test-storybook --coverage && yarn create-coverage-report",
31
31
  "//_": "Open the coverage report and click through the component names and files to reveal visually which lines aren't covered.",
32
32
  "open-coverage-report": "open coverage/storybook/lcov-report/index.html",
@@ -35,7 +35,7 @@
35
35
  "test-storybook:ci": "yarn test-storybook --maxWorkers=2",
36
36
  "chromatic": "chromatic --exit-zero-on-changes --only-changed",
37
37
  "build-tailwind": "NODE_ENV=production npx tailwindcss -i tailwind.css -o ./dist/web-ui-tailwind.css",
38
- "storybook:build-tailwind": "npx tailwindcss -i tailwind.css -o ./.storybook/storybook-tailwind.css",
38
+ "storybook:build-tailwind": "npx tailwindcss -i tailwind.storybook.css -o ./.storybook/storybook-tailwind.css",
39
39
  "storybook:watch-tailwind": "yarn storybook:build-tailwind -w",
40
40
  "copy-build": "cp -a ./dist/. ../cVitals-Web/node_modules/@luscii-healthtech/web-ui/dist",
41
41
  "test-copy-build": "yarn build && yarn copy-build",
@@ -45,7 +45,8 @@
45
45
  "icons:regular:verify": "node ./scripts/verify-regular-icons.mjs",
46
46
  "//__": "Special icons are icons that are not part of the regular icon set, meaning they either have a different size or cannot take any color.",
47
47
  "icons:special": "rimraf src/components/Icons/special-icons/*Icon.tsx && yarn svgr src/components/Icons/special-icons/source-files --no-prettier --config-file svgr.special-icons.config.js && prettier src/components/Icons/special-icons/*.{ts,tsx} --no-config --write",
48
- "icons": "yarn icons:special && yarn icons:regular"
48
+ "icons": "yarn icons:special && yarn icons:regular",
49
+ "generate:colors": "node ./scripts/generate-color-swatches.mjs"
49
50
  },
50
51
  "peerDependencies": {
51
52
  "@dnd-kit/core": "^6.3.1",