@vespiario-thailand/design-system 0.0.11 → 0.0.12

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.
@@ -0,0 +1 @@
1
+ export * from './src/index'
@@ -44,6 +44,8 @@ export { VariantField, type VariantFieldProps } from './components/generals/Vari
44
44
  export { VeggieMenu, type VeggieMenuProps } from './components/generals/VeggieMenu';
45
45
  /** cms */
46
46
  export { Breadcrumb } from './components/cms/Breadcrumb';
47
+ /** types */
48
+ export type { SizeType, ShadowType, ButtonCrossSizeType, IconSizeType, ButtonVariantType, ThemeVariantType, ButtonCrossVariantType, LogoVariantType, ColorNameType, ColorShadeType, IconListType, } from './types';
47
49
  /** hooks */
48
50
  export { default as useCopyToClipboard } from './hooks/useCopyToClipboard';
49
51
  export { default as useClickOutside } from './hooks/useClickOutside';
package/package.json CHANGED
@@ -2,19 +2,20 @@
2
2
  "name": "@vespiario-thailand/design-system",
3
3
  "author": "Craftsmanship",
4
4
  "license": "UNLICENSED",
5
- "version": "0.0.11",
5
+ "version": "0.0.12",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"
9
9
  ],
10
- "main": "dist/src/index.ts",
11
- "types": "dist/src/types/index.d.ts",
10
+ "main": "dist/vespa-design-system.umd.cjs",
11
+ "module": "dist/invespa-design-system.cjs",
12
+ "types": "dist/index.d.ts",
12
13
  "scripts": {
13
14
  "dev": "vite",
14
15
  "optimize": "vite optimize",
15
16
  "build:clean": "rimraf dist",
16
17
  "build:tsc": "tsc",
17
- "build:vite": "vite build --mode production --minify esbuild --force",
18
+ "build:vite": "vite build --minify --force",
18
19
  "build:css": "tailwindcss build -i ./src/style.css -o ./dist/style.css --minify",
19
20
  "build": "npm-run-all build:clean build:tsc build:vite build:css",
20
21
  "prettier": "prettier ./src --write",
@@ -26,7 +27,7 @@
26
27
  },
27
28
  "exports": {
28
29
  ".": {
29
- "types": "./dist/global.d.ts",
30
+ "types": "./dist/index.d.ts",
30
31
  "import": "./dist/vespa-design-system.cjs",
31
32
  "require": "./dist/vespa-design-system.umd.cjs"
32
33
  },