@voxel51/voodo 0.0.5 → 0.0.7

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 (47) hide show
  1. package/dist/__mocks__/svgMock.d.ts +4 -0
  2. package/dist/__mocks__/svgMock.d.ts.map +1 -0
  3. package/dist/components/Checkbox/Checkbox.d.ts.map +1 -1
  4. package/dist/components/Datepicker/DatePicker.d.ts +13 -0
  5. package/dist/components/Datepicker/DatePicker.d.ts.map +1 -0
  6. package/dist/components/Datepicker/DatepickerIconButton.d.ts +19 -0
  7. package/dist/components/Datepicker/DatepickerIconButton.d.ts.map +1 -0
  8. package/dist/components/Datepicker/DatepickerInput.d.ts +14 -0
  9. package/dist/components/Datepicker/DatepickerInput.d.ts.map +1 -0
  10. package/dist/components/Datepicker/index.d.ts +2 -0
  11. package/dist/components/Datepicker/index.d.ts.map +1 -0
  12. package/dist/components/Icons/Icon.d.ts +19 -2
  13. package/dist/components/Icons/Icon.d.ts.map +1 -1
  14. package/dist/components/Icons/index.d.ts +1 -3
  15. package/dist/components/Icons/index.d.ts.map +1 -1
  16. package/dist/components/Input/Input.d.ts.map +1 -1
  17. package/dist/components/ListItem/ListItem.d.ts +1 -0
  18. package/dist/components/ListItem/ListItem.d.ts.map +1 -1
  19. package/dist/components/Select/Option.d.ts.map +1 -1
  20. package/dist/components/Tooltip/Tooltip.d.ts +1 -0
  21. package/dist/components/Tooltip/Tooltip.d.ts.map +1 -1
  22. package/dist/components/index.d.ts +1 -0
  23. package/dist/components/index.d.ts.map +1 -1
  24. package/dist/index.cjs +6 -6
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.js +12684 -6069
  27. package/dist/index.js.map +1 -1
  28. package/dist/styles/color-classes.d.ts +9 -0
  29. package/dist/styles/color-classes.d.ts.map +1 -0
  30. package/dist/types/color.d.ts +1 -0
  31. package/dist/types/color.d.ts.map +1 -1
  32. package/dist/types/icons.d.ts +61 -0
  33. package/dist/types/icons.d.ts.map +1 -0
  34. package/dist/types/index.d.ts +1 -0
  35. package/dist/types/index.d.ts.map +1 -1
  36. package/dist/voodo.css +1 -1
  37. package/package.json +97 -93
  38. package/dist/components/Icons/Add.d.ts +0 -4
  39. package/dist/components/Icons/Add.d.ts.map +0 -1
  40. package/dist/components/Icons/CheckIcon.d.ts +0 -4
  41. package/dist/components/Icons/CheckIcon.d.ts.map +0 -1
  42. package/dist/components/Icons/Checkmark.d.ts +0 -4
  43. package/dist/components/Icons/Checkmark.d.ts.map +0 -1
  44. package/dist/components/Icons/Edit.d.ts +0 -4
  45. package/dist/components/Icons/Edit.d.ts.map +0 -1
  46. package/dist/components/Icons/Trash.d.ts +0 -4
  47. package/dist/components/Icons/Trash.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,96 +1,100 @@
1
1
  {
2
- "name": "@voxel51/voodo",
3
- "version": "0.0.5",
4
- "description": "Voxel51's official design ontology (VOODO) system",
5
- "type": "module",
6
- "author": "Voxel Engineering <engineering@voxel51.com>",
7
- "license": "Apache-2.0",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/voxel51/design-system.git"
11
- },
12
- "publishConfig": {
13
- "access": "public"
14
- },
15
- "main": "./dist/index.cjs",
16
- "module": "./dist/index.js",
17
- "types": "./dist/index.d.ts",
18
- "exports": {
19
- ".": {
20
- "types": "./dist/index.d.ts",
21
- "import": "./dist/index.js",
22
- "require": "./dist/index.cjs"
2
+ "name": "@voxel51/voodo",
3
+ "version": "0.0.7",
4
+ "description": "Voxel51's official design ontology (VOODO) system",
5
+ "type": "module",
6
+ "author": "Voxel Engineering <engineering@voxel51.com>",
7
+ "license": "Apache-2.0",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/voxel51/design-system.git"
23
11
  },
24
- "./theme.css": "./dist/voodo.css"
25
- },
26
- "files": [
27
- "dist"
28
- ],
29
- "scripts": {
30
- "dev": "vite build --watch",
31
- "build": "tsc && vite build",
32
- "build:lib": "npm run prepublish && mkdir -p build/lib && npm pack --pack-destination build/lib/",
33
- "format": "prettier --write '**/*.{ts,tsx}'",
34
- "generate-tailwind-theme": "tsx utils/generate-tailwind-theme.ts",
35
- "lint": "eslint src --max-warnings 0",
36
- "lint:fix": "eslint src --fix",
37
- "patch": "npm version --commit-hooks false --git-tag-version false patch",
38
- "prebuild": "npm run generate-tailwind-theme",
39
- "prepublishOnly": "npm run build",
40
- "test": "jest",
41
- "type-check": "tsc --noEmit"
42
- },
43
- "dependencies": {
44
- "@dnd-kit/core": "^6.3.1",
45
- "@dnd-kit/sortable": "^10.0.0",
46
- "@dnd-kit/utilities": "^3.2.2",
47
- "@headlessui/react": "^2.2.9",
48
- "clsx": "^2.1.1",
49
- "tailwind-merge": "^3.4.0"
50
- },
51
- "devDependencies": {
52
- "@mui/material": "^5.0.0",
53
- "@mui/utils": "^5.0.0",
54
- "@tailwindcss/postcss": "^4.1.17",
55
- "@testing-library/jest-dom": "^6.9.1",
56
- "@testing-library/react": "^16.3.0",
57
- "@testing-library/user-event": "^14.6.1",
58
- "@tsconfig/recommended": "^1.0.7",
59
- "@types/jest": "^29.5.14",
60
- "@types/node": "^22.7.4",
61
- "@types/react": "^19.2.7",
62
- "@types/react-dom": "^19.2.3",
63
- "@typescript-eslint/eslint-plugin": "^8.52.0",
64
- "@typescript-eslint/parser": "^8.52.0",
65
- "@vitejs/plugin-react": "^5.1.1",
66
- "autoprefixer": "^10.4.22",
67
- "eslint": "^9.39.2",
68
- "eslint-config-prettier": "^9.1.2",
69
- "eslint-import-resolver-typescript": "^4.4.4",
70
- "eslint-plugin-import": "^2.32.0",
71
- "eslint-plugin-jsx-a11y": "^6.10.2",
72
- "eslint-plugin-react": "^7.37.5",
73
- "eslint-plugin-react-hooks": "^5.2.0",
74
- "jest": "^29.7.0",
75
- "jest-environment-jsdom": "^30.2.0",
76
- "postcss": "^8.5.6",
77
- "prettier": "^3.6.2",
78
- "react": "^18.0.0",
79
- "react-dom": "^18.0.0",
80
- "react-is": "^18.0.0",
81
- "tailwindcss": "^4.1.17",
82
- "ts-jest": "^29.2.5",
83
- "ts-node": "^10.9.2",
84
- "tsx": "^4.20.6",
85
- "typescript": "^5.6.2",
86
- "vite": "^7.1.7",
87
- "vite-plugin-dts": "^4.5.4"
88
- },
89
- "peerDependencies": {
90
- "@emotion/react": "^11.0.0",
91
- "@emotion/styled": "^11.0.0",
92
- "react": "^18.0.0",
93
- "react-dom": "^18.0.0",
94
- "react-is": "^18.0.0"
95
- }
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "main": "./dist/index.cjs",
16
+ "module": "./dist/index.js",
17
+ "types": "./dist/index.d.ts",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.js",
22
+ "require": "./dist/index.cjs"
23
+ },
24
+ "./theme.css": "./dist/voodo.css"
25
+ },
26
+ "files": [
27
+ "dist"
28
+ ],
29
+ "scripts": {
30
+ "dev": "vite build --watch",
31
+ "build": "tsc && vite build",
32
+ "build:lib": "npm run prepublish && mkdir -p build/lib && npm pack --pack-destination build/lib/",
33
+ "format": "prettier --write '**/*.{ts,tsx}'",
34
+ "generate-tailwind-theme": "tsx utils/generate-color-classes.ts && tsx utils/generate-tailwind-theme.ts",
35
+ "lint": "eslint src --max-warnings 0",
36
+ "lint:fix": "eslint src --fix",
37
+ "patch": "npm version --commit-hooks false --git-tag-version false patch",
38
+ "prebuild": "npm run generate-tailwind-theme",
39
+ "prepublishOnly": "npm run build",
40
+ "test": "jest",
41
+ "type-check": "tsc --noEmit"
42
+ },
43
+ "dependencies": {
44
+ "@dnd-kit/core": "^6.3.1",
45
+ "@dnd-kit/sortable": "^10.0.0",
46
+ "@dnd-kit/utilities": "^3.2.2",
47
+ "@headlessui/react": "^2.2.9",
48
+ "clsx": "^2.1.1",
49
+ "react-datepicker": "^9.1.0",
50
+ "tailwind-merge": "^3.4.0"
51
+ },
52
+ "devDependencies": {
53
+ "@mui/material": "^5.0.0",
54
+ "@mui/utils": "^5.0.0",
55
+ "@tailwindcss/postcss": "^4.1.17",
56
+ "@testing-library/jest-dom": "^6.9.1",
57
+ "@testing-library/react": "^16.3.0",
58
+ "@testing-library/user-event": "^14.6.1",
59
+ "@tsconfig/recommended": "^1.0.7",
60
+ "@types/jest": "^29.5.14",
61
+ "@types/node": "^22.7.4",
62
+ "@types/react": "^19.2.7",
63
+ "@types/react-datepicker": "^6.2.0",
64
+ "@types/react-dom": "^19.2.3",
65
+ "@typescript-eslint/eslint-plugin": "^8.52.0",
66
+ "@typescript-eslint/parser": "^8.52.0",
67
+ "@vitejs/plugin-react": "^5.1.1",
68
+ "autoprefixer": "^10.4.22",
69
+ "eslint": "^9.39.2",
70
+ "eslint-config-prettier": "^9.1.2",
71
+ "eslint-import-resolver-typescript": "^4.4.4",
72
+ "eslint-plugin-import": "^2.32.0",
73
+ "eslint-plugin-jsx-a11y": "^6.10.2",
74
+ "eslint-plugin-react": "^7.37.5",
75
+ "eslint-plugin-react-hooks": "^5.2.0",
76
+ "identity-obj-proxy": "^3.0.0",
77
+ "jest": "^29.7.0",
78
+ "jest-environment-jsdom": "^30.2.0",
79
+ "postcss": "^8.5.6",
80
+ "prettier": "^3.6.2",
81
+ "react": "^18.0.0",
82
+ "react-dom": "^18.0.0",
83
+ "react-is": "^18.0.0",
84
+ "tailwindcss": "^4.1.17",
85
+ "ts-jest": "^29.2.5",
86
+ "ts-node": "^10.9.2",
87
+ "tsx": "^4.20.6",
88
+ "typescript": "^5.6.2",
89
+ "vite": "^7.1.7",
90
+ "vite-plugin-dts": "^4.5.4",
91
+ "vite-plugin-svgr": "^4.5.0"
92
+ },
93
+ "peerDependencies": {
94
+ "@emotion/react": "^11.0.0",
95
+ "@emotion/styled": "^11.0.0",
96
+ "react": "^18.0.0",
97
+ "react-dom": "^18.0.0",
98
+ "react-is": "^18.0.0"
99
+ }
96
100
  }
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { IconProps } from './types';
3
- export declare const AddIcon: FC<IconProps>;
4
- //# sourceMappingURL=Add.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Add.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/Add.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,SAAS,CASjC,CAAC"}
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { IconProps } from './types';
3
- export declare const CheckIcon: FC<IconProps>;
4
- //# sourceMappingURL=CheckIcon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CheckIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/CheckIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,SAAS,CAenC,CAAC"}
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { IconProps } from './types';
3
- export declare const CheckmarkIcon: FC<IconProps>;
4
- //# sourceMappingURL=Checkmark.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Checkmark.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/Checkmark.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAE3B,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,eAAO,MAAM,aAAa,EAAE,EAAE,CAAC,SAAS,CAmBvC,CAAC"}
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { IconProps } from './types';
3
- export declare const EditIcon: FC<IconProps>;
4
- //# sourceMappingURL=Edit.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Edit.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/Edit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,eAAO,MAAM,QAAQ,EAAE,EAAE,CAAC,SAAS,CASlC,CAAC"}
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { IconProps } from './types';
3
- export declare const TrashIcon: FC<IconProps>;
4
- //# sourceMappingURL=Trash.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Trash.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/Trash.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAGhC,OAAO,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAErD,eAAO,MAAM,SAAS,EAAE,EAAE,CAAC,SAAS,CASnC,CAAC"}