@gmana/core
Advanced tools
Comparing version 0.0.3 to 1.0.0
@@ -0,13 +1,39 @@ | ||
import * as class_variance_authority_dist_types from 'class-variance-authority/dist/types'; | ||
import { VariantProps } from 'class-variance-authority'; | ||
import * as React from 'react'; | ||
import * as react_jsx_runtime from 'react/jsx-runtime'; | ||
import * as React from 'react'; | ||
import * as tailwindcss from 'tailwindcss'; | ||
import { Config } from 'tailwindcss'; | ||
import * as tailwindcss_types_config from 'tailwindcss/types/config'; | ||
interface ButtonProps { | ||
children: React.ReactNode; | ||
className?: string; | ||
declare const buttonVariants: (props?: ({ | ||
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined; | ||
size?: "default" | "sm" | "lg" | null | undefined; | ||
} & class_variance_authority_dist_types.ClassProp) | undefined) => string; | ||
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> { | ||
asChild?: boolean; | ||
} | ||
declare function Button(props: ButtonProps): react_jsx_runtime.JSX.Element; | ||
declare namespace Button { | ||
var displayName: string; | ||
} | ||
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>; | ||
export { Button, ButtonProps }; | ||
declare const Spinner: ({ className }: { | ||
className?: string | undefined; | ||
}) => react_jsx_runtime.JSX.Element; | ||
declare const animationDelayPlugin: { | ||
handler: tailwindcss_types_config.PluginCreator; | ||
config?: Partial<tailwindcss.Config> | undefined; | ||
}; | ||
declare const bgGridPlugin: { | ||
handler: tailwindcss_types_config.PluginCreator; | ||
config?: Partial<tailwindcss.Config> | undefined; | ||
}; | ||
declare const gmanaPlugin: { | ||
handler: tailwindcss_types_config.PluginCreator; | ||
config?: Partial<tailwindcss.Config> | undefined; | ||
}; | ||
declare const gmanaPreset: Config; | ||
export { Button, Spinner, animationDelayPlugin, bgGridPlugin, gmanaPlugin, gmanaPreset }; |
{ | ||
"name": "@gmana/core", | ||
"version": "0.0.3", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"version": "1.0.0", | ||
"license": "MIT", | ||
"type": "module", | ||
"main": "dist/index.cjs", | ||
"module": "dist/index.js", | ||
"types": "dist/index.d.js", | ||
"sideEffects": false, | ||
"license": "MIT", | ||
"files": [ | ||
"dist/**" | ||
"dist" | ||
], | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"devDependencies": { | ||
"@radix-ui/react-slot": "^1.0.2", | ||
"@types/react": "^18.2.13", | ||
"@types/react-dom": "^18.2.6", | ||
"class-variance-authority": "^0.6.0", | ||
"eslint": "^8.43.0", | ||
"mini-svg-data-uri": "^1.4.4", | ||
"react": "^18.2.0", | ||
"tailwindcss": "^3.3.2", | ||
"tailwindcss-animate": "^1.0.6", | ||
"tsup": "^7.0.0", | ||
"typescript": "^5.1.3", | ||
"@gmana/tsconfig": "0.0.2", | ||
"eslint-config-gmana": "0.0.3" | ||
"@gmana/utils": "1.0.0", | ||
"@gmana/tsconfig": "1.0.0", | ||
"eslint-config-gmana": "1.0.0" | ||
}, | ||
@@ -25,5 +40,9 @@ "publishConfig": { | ||
}, | ||
"peerDependencies": { | ||
"tailwindcss": ">=3", | ||
"tailwindcss-animate": ">=1" | ||
}, | ||
"scripts": { | ||
"build": "tsup src/index.tsx --format esm,cjs --dts --external react", | ||
"dev": "tsup src/index.tsx --format esm,cjs --watch --dts --external react", | ||
"build": "tsup", | ||
"dev": "tsup --watch", | ||
"lint": "eslint \"src/**/*.ts*\"", | ||
@@ -30,0 +49,0 @@ "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist" |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
191992
6330
1
Yes
2
14
4
1