oneslash-design-system 1.0.8 → 1.0.9

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.
@@ -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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "oneslash-design-system",
3
3
  "description": "A design system for the Oneslash projects",
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "private": false,
6
6
  "scripts": {
7
7
  "dev": "next dev",
package/tsconfig.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "noEmit": true,
12
12
  "esModuleInterop": true,
13
13
  "module": "esnext",
14
- "moduleResolution": "bundler",
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
- ".next/types/**/*.ts",
36
- "types/**/*.d.ts"
35
+ "components/*.tsx",
36
+ "**/*.js",
37
+ // ".next/types/**/*.ts",
38
+ // "types/**/*.d.ts"
37
39
  ],
38
40
  "exclude": [
39
41
  "node_modules"