@saasmakers/ui 0.1.15 → 0.1.16

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/nuxt.config.ts CHANGED
@@ -11,7 +11,14 @@ export default defineNuxtConfig({
11
11
 
12
12
  experimental: { typedPages: true },
13
13
 
14
- typescript: { tsConfig: { compilerOptions: { noUncheckedIndexedAccess: false } } },
14
+ typescript: {
15
+ tsConfig: {
16
+ compilerOptions: {
17
+ noUncheckedIndexedAccess: false,
18
+ types: ['@saasmakers/ui'],
19
+ },
20
+ },
21
+ },
15
22
 
16
23
  // --> COMPONENTS, CSS, MODULES & PLUGINS <--
17
24
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saasmakers/ui",
3
3
  "type": "module",
4
- "version": "0.1.15",
4
+ "version": "0.1.16",
5
5
  "private": false,
6
6
  "description": "Reusable Nuxt UI components for SaaS Makers projects",
7
7
  "license": "MIT",
@@ -10,13 +10,15 @@
10
10
  "url": "https://github.com/saasmakers/saasmakers-turborepo.git",
11
11
  "directory": "packages/ui"
12
12
  },
13
- "main": "./nuxt.config.ts",
13
+ "main": "nuxt.config.ts",
14
+ "types": "types/index.d.ts",
14
15
  "publishConfig": {
15
16
  "access": "public"
16
17
  },
17
18
  "files": [
18
19
  "app",
19
- "nuxt.config.ts"
20
+ "nuxt.config.ts",
21
+ "types"
20
22
  ],
21
23
  "scripts": {
22
24
  "dev": "nuxi dev .playground",
@@ -0,0 +1,30 @@
1
+ declare global {
2
+ export type BaseColor
3
+ = | 'black'
4
+ | 'gray'
5
+ | 'green'
6
+ | 'indigo'
7
+ | 'orange'
8
+ | 'red'
9
+ | 'white'
10
+
11
+ export type BaseSize
12
+ = | '2xl'
13
+ | '2xs'
14
+ | '3xl'
15
+ | '3xs'
16
+ | '4xl'
17
+ | 'base'
18
+ | 'lg'
19
+ | 'sm'
20
+ | 'xl'
21
+ | 'xs'
22
+
23
+ export type BaseStatus
24
+ = | 'error'
25
+ | 'info'
26
+ | 'success'
27
+ | 'warning'
28
+ }
29
+
30
+ export { }
@@ -0,0 +1,3 @@
1
+ import './bases'
2
+
3
+ export {}