@ctlyst.id/voila-ui-core 1.6.3 → 3.0.0-beta.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.
Files changed (43) hide show
  1. package/dist/index.css +33988 -0
  2. package/dist/index.css.map +1 -0
  3. package/dist/index.d.mts +10609 -0
  4. package/dist/index.d.ts +10609 -0
  5. package/dist/index.js +581 -3
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.mjs +369 -544
  8. package/dist/index.mjs.map +1 -0
  9. package/package.json +37 -48
  10. package/dist/style.css +0 -1
  11. package/dist/types/@types/vanilla-sprinkles.d.ts +0 -17
  12. package/dist/types/index.d.ts +0 -6
  13. package/dist/types/theme/index.d.ts +0 -2
  14. package/dist/types/theme/styles/atoms/background.css.d.ts +0 -100
  15. package/dist/types/theme/styles/atoms/border.css.d.ts +0 -1600
  16. package/dist/types/theme/styles/atoms/common.css.d.ts +0 -744
  17. package/dist/types/theme/styles/atoms/constants.d.ts +0 -3
  18. package/dist/types/theme/styles/atoms/flex.css.d.ts +0 -636
  19. package/dist/types/theme/styles/atoms/grid.css.d.ts +0 -855
  20. package/dist/types/theme/styles/atoms/index.d.ts +0 -11
  21. package/dist/types/theme/styles/atoms/position.css.d.ts +0 -1050
  22. package/dist/types/theme/styles/atoms/radii.css.d.ts +0 -48
  23. package/dist/types/theme/styles/atoms/shadow.css.d.ts +0 -44
  24. package/dist/types/theme/styles/atoms/sizes.css.d.ts +0 -1801
  25. package/dist/types/theme/styles/atoms/space.css.d.ts +0 -2543
  26. package/dist/types/theme/styles/atoms/typography.css.d.ts +0 -413
  27. package/dist/types/theme/styles/globals.css.d.ts +0 -3
  28. package/dist/types/theme/styles/index.d.ts +0 -4
  29. package/dist/types/theme/styles/normalize.css.d.ts +0 -0
  30. package/dist/types/theme/styles/theme.css.d.ts +0 -353
  31. package/dist/types/theme/styles/utilityClasses.css.d.ts +0 -2
  32. package/dist/types/theme/styles/utils.d.ts +0 -17
  33. package/dist/types/theme/tokens/animation.d.ts +0 -21
  34. package/dist/types/theme/tokens/border.d.ts +0 -9
  35. package/dist/types/theme/tokens/breakpoints.d.ts +0 -9
  36. package/dist/types/theme/tokens/color.d.ts +0 -130
  37. package/dist/types/theme/tokens/index.d.ts +0 -354
  38. package/dist/types/theme/tokens/opacity.d.ts +0 -8
  39. package/dist/types/theme/tokens/radii.d.ts +0 -6
  40. package/dist/types/theme/tokens/shadows.d.ts +0 -6
  41. package/dist/types/theme/tokens/space.d.ts +0 -96
  42. package/dist/types/theme/tokens/typography.d.ts +0 -137
  43. package/dist/types/theme/tokens/z-indices.d.ts +0 -16
package/package.json CHANGED
@@ -1,69 +1,58 @@
1
1
  {
2
2
  "name": "@ctlyst.id/voila-ui-core",
3
- "version": "1.6.3",
3
+ "version": "3.0.0-beta.0",
4
4
  "description": "Core library for voila-ui package.",
5
- "main": "./dist/index.js",
6
- "module": "./dist/index.mjs",
7
- "types": "./dist/types/index.d.ts",
5
+ "voila-ui:source": "./src/index.ts",
6
+ "main": "dist/index.js",
7
+ "module": "dist/core.esm.js",
8
+ "typings": "dist/index.d.ts",
9
+ "repository": "https://github.com/machtwatch/voila-ui",
10
+ "author": "Catalyst Tech",
11
+ "license": "Apache-2.0",
12
+ "files": [
13
+ "dist"
14
+ ],
8
15
  "exports": {
9
16
  ".": {
10
17
  "import": "./dist/index.mjs",
11
18
  "require": "./dist/index.js"
12
19
  },
13
20
  "./styles": {
14
- "import": "./dist/style.css",
15
- "require": "./dist/style.css"
21
+ "import": "./dist/index.css",
22
+ "require": "./dist/index.css"
16
23
  }
17
24
  },
18
- "ui:src": "./src/index.ts",
19
- "repository": "https://github.com/machtwatch/voila-ui",
20
- "author": "Catalyst Tech",
21
- "license": "Apache-2.0",
22
- "files": [
23
- "dist"
24
- ],
25
25
  "publishConfig": {
26
26
  "access": "public"
27
27
  },
28
- "scripts": {
29
- "build": "vite build",
30
- "clean": "rimraf dist",
31
- "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
32
- "lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
33
- "prepublish": "yarn build",
34
- "start": "vite build --watch",
35
- "type-check": "tsc --emitDeclarationOnly"
36
- },
37
28
  "dependencies": {
38
- "@vanilla-extract/css": "^1.9.4",
39
- "@vanilla-extract/css-utils": "^0.1.3",
40
- "@vanilla-extract/dynamic": "^2.0.3",
41
- "@vanilla-extract/recipes": "^0.3.0",
42
- "@vanilla-extract/sprinkles": "^1.5.1",
43
- "clsx": "^1.2.1",
44
- "rainbow-sprinkles": "^0.16.0",
45
- "tslib": "^2.5.0"
29
+ "@vanilla-extract/css": "^1.15.5",
30
+ "@vanilla-extract/css-utils": "^0.1.4",
31
+ "@vanilla-extract/dynamic": "^2.1.2",
32
+ "@vanilla-extract/recipes": "^0.5.5",
33
+ "@vanilla-extract/sprinkles": "^1.6.3",
34
+ "clsx": "^2.1.1",
35
+ "rainbow-sprinkles": "^0.17.3",
36
+ "tslib": "^2.7.0"
46
37
  },
47
38
  "peerDependencies": {
48
- "react": "^18.2.0",
49
- "react-dom": "^18.2.0"
50
- },
51
- "resolutions": {
52
- "jest-environment-jsdom": "27.3.1"
39
+ "react": "^18.3.1",
40
+ "react-dom": "^18.3.1"
53
41
  },
54
42
  "devDependencies": {
55
- "@babel/core": "^7.20.12",
56
- "@babel/preset-typescript": "^7.18.6",
57
- "@testing-library/jest-dom": "^5.16.5",
58
- "@testing-library/react": "^13.4.0",
59
- "@types/jest": "^29.4.0",
60
- "@vanilla-extract/jest-transform": "^1.1.0",
61
- "@vanilla-extract/vite-plugin": "^3.8.0",
62
- "babel-loader": "^9.1.2",
43
+ "@babel/core": "^7.25.2",
44
+ "@babel/preset-typescript": "^7.20.0",
45
+ "@vanilla-extract/jest-transform": "^1.1.9",
46
+ "babel-loader": "^9.1.3",
63
47
  "babel-preset-react-app": "^10.0.1",
64
- "jest": "^29.4.1",
65
- "jest-environment-jsdom": "29.4.1",
66
- "polished": "^4.2.2"
48
+ "polished": "^4.3.0"
67
49
  },
68
- "gitHead": "cbfd3fb282428c530c2e9040cf4df711deb3d854"
69
- }
50
+ "scripts": {
51
+ "build": "tsup",
52
+ "clean": "rimraf dist",
53
+ "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"",
54
+ "lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
55
+ "prepublish": "pnpm build",
56
+ "type-check": "tsc --noEmit"
57
+ }
58
+ }