oneslash-design-system 1.0.8 → 1.1.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.
- package/components/button.tsx +1 -0
- package/components/checkBox.tsx +0 -1
- package/components/menuItem.tsx +3 -1
- package/components/modal.tsx +1 -0
- package/package.json +1 -1
- package/tsconfig.json +5 -3
package/components/button.tsx
CHANGED
package/components/checkBox.tsx
CHANGED
package/components/menuItem.tsx
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
import React, { useState, useEffect, useCallback } from 'react';
|
|
2
|
+
import React, { useState, useEffect, useCallback, SVGProps } from 'react';
|
|
3
3
|
import NextLink from 'next/link';
|
|
4
4
|
|
|
5
|
+
type IconType = (props: SVGProps<SVGSVGElement>) => JSX.Element;
|
|
6
|
+
|
|
5
7
|
interface MenuItemProps {
|
|
6
8
|
href?: string;
|
|
7
9
|
iconName?: string;
|
package/components/modal.tsx
CHANGED
package/package.json
CHANGED
package/tsconfig.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"noEmit": true,
|
|
12
12
|
"esModuleInterop": true,
|
|
13
13
|
"module": "esnext",
|
|
14
|
-
"moduleResolution": "
|
|
14
|
+
"moduleResolution": "node",
|
|
15
15
|
"resolveJsonModule": true,
|
|
16
16
|
"isolatedModules": true,
|
|
17
17
|
"jsx": "preserve",
|
|
@@ -32,8 +32,10 @@
|
|
|
32
32
|
"next-env.d.ts",
|
|
33
33
|
"**/*.ts",
|
|
34
34
|
"**/*.tsx",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
35
|
+
"components/*.tsx",
|
|
36
|
+
"**/*.js",
|
|
37
|
+
// ".next/types/**/*.ts",
|
|
38
|
+
// "types/**/*.d.ts"
|
|
37
39
|
],
|
|
38
40
|
"exclude": [
|
|
39
41
|
"node_modules"
|