@neo4j-ndl/base 1.10.3 → 2.0.0-alpha-3f8358d

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.
Files changed (36) hide show
  1. package/lib/LICENSES.txt +2105 -67
  2. package/lib/NOTICE.txt +32 -31
  3. package/lib/cjs/index.js +1 -1
  4. package/lib/cjs/tailwind-preset.config.js +9 -9
  5. package/lib/cjs/tailwind-preset.config.js.map +1 -1
  6. package/lib/cjs/tailwindTheme.js +64 -32
  7. package/lib/cjs/tailwindTheme.js.map +1 -1
  8. package/lib/cjs/tokens/js/storybook-design-token.js +1972 -882
  9. package/lib/cjs/tokens/js/storybook-design-token.js.map +1 -1
  10. package/lib/cjs/tokens/js/tokens-esm.js +374 -238
  11. package/lib/cjs/tokens/js/tokens-esm.js.map +1 -1
  12. package/lib/cjs/tokens/js/tokens.js +373 -237
  13. package/lib/cjs/tokens/js/tokens.js.map +1 -1
  14. package/lib/cjs/typescale.js +16 -16
  15. package/lib/cjs/typings.js +1 -1
  16. package/lib/esm/tailwind-preset.config.js +1 -1
  17. package/lib/esm/tailwind-preset.config.js.map +1 -1
  18. package/lib/esm/tailwindTheme.js +53 -24
  19. package/lib/esm/tailwindTheme.js.map +1 -1
  20. package/lib/esm/tokens/js/storybook-design-token.js +1971 -881
  21. package/lib/esm/tokens/js/storybook-design-token.js.map +1 -1
  22. package/lib/esm/tokens/js/tokens-esm.js +373 -237
  23. package/lib/esm/tokens/js/tokens-esm.js.map +1 -1
  24. package/lib/esm/tokens/js/tokens.js +373 -237
  25. package/lib/esm/tokens/js/tokens.js.map +1 -1
  26. package/lib/neo4j-ds-styles.css +41949 -32025
  27. package/lib/tokens/css/tokens.css +260 -150
  28. package/lib/tokens/js/tokens-raw.js +5445 -3032
  29. package/lib/tokens/js/tokens.js +373 -237
  30. package/lib/tokens/scss/tokens.scss +260 -150
  31. package/lib/types/tokens/js/storybook-design-token.d.ts +22 -9
  32. package/lib/types/tokens/js/tokens-esm.d.ts +486 -328
  33. package/lib/types/tokens/js/tokens.d.ts +486 -328
  34. package/lib/types/typings.d.ts +1 -1
  35. package/package.json +8 -9
  36. package/CHANGELOG.md +0 -807
@@ -19,4 +19,4 @@
19
19
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
20
20
  */
21
21
  /** All available Neo4j color classes */
22
- export declare type Neo4jColors = 'primary' | 'danger' | 'warning' | 'success' | 'blueberry' | 'mint' | 'neutral';
22
+ export type Neo4jColors = 'primary' | 'danger' | 'warning' | 'success' | 'blueberry' | 'mint' | 'neutral';
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@neo4j-ndl/base",
3
- "version": "1.10.3",
3
+ "version": "2.0.0-alpha-3f8358d",
4
4
  "description": "Neo4j base package for the design system",
5
5
  "author": "Neo4j Inc.",
6
- "homepage": "",
6
+ "homepage": "https://www.neo4j.design",
7
7
  "license": "GPL-3.0",
8
8
  "main": "./lib/cjs/index.js",
9
9
  "module": "./lib/esm/index.js",
@@ -30,20 +30,19 @@
30
30
  "access": "public"
31
31
  },
32
32
  "scripts": {
33
- "test": "jest",
33
+ "test": "echo 'No tests provided'",
34
34
  "build": "yarn build:style-dictionary && yarn build:sass && yarn build:esm && yarn build:cjs && yarn build:css",
35
35
  "build:style-dictionary": "style-dictionary build --config sd.config.js",
36
36
  "build:esm": "tsc -p tsconfig.esm.json",
37
37
  "build:cjs": "tsc -p tsconfig.cjs.json",
38
38
  "build:sass": "sass --no-source-map src/base/theme-palettes.scss src/base/theme-palettes.css",
39
39
  "build:css": "postcss src/styles.css -o lib/neo4j-ds-styles.css",
40
- "watch:css": "postcss -w src/styles.css -o lib/neo4j-ds-styles.css"
40
+ "watch:css": "postcss -w src/styles.css -o lib/neo4j-ds-styles.css",
41
+ "watch:esm": "tsc -p tsconfig.esm.json --watch",
42
+ "watch:cjs": "tsc -p tsconfig.cjs.json --watch"
41
43
  },
42
44
  "devDependencies": {
43
- "@testing-library/jest-dom": "^5.15.1",
44
- "@types/jest": "^27.0.3",
45
45
  "autoprefixer": "^10.4.0",
46
- "jest": "^27.3.1",
47
46
  "postcss": "^8.4.18",
48
47
  "postcss-cli": "^10.0.0",
49
48
  "postcss-discard-comments": "6.0.0",
@@ -53,6 +52,6 @@
53
52
  "style-dictionary": "^3.0.3",
54
53
  "tailwindcss": "3.1.8",
55
54
  "ts-node": "^10.4.0",
56
- "typescript": "4.8.4"
55
+ "typescript": "5.1.6"
57
56
  }
58
- }
57
+ }