@harnessio/canary
Advanced tools
Comparing version 0.2.7 to 0.2.8
import { VariantProps } from 'class-variance-authority'; | ||
import * as React from 'react'; | ||
declare const buttonVariants: (props?: ({ | ||
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined; | ||
size?: "default" | "sm" | "lg" | "icon" | null | undefined; | ||
variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "tertiary" | "ghost" | null | undefined; | ||
size?: "default" | "sm" | "lg" | "icon" | "sm_icon" | null | undefined; | ||
borderRadius?: "default" | "full" | null | undefined; | ||
padding?: "default" | "sm" | null | undefined; | ||
} & import('class-variance-authority/types').ClassProp) | undefined) => string; | ||
@@ -8,0 +9,0 @@ export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> { |
@@ -17,3 +17,3 @@ import { ButtonProps } from './button'; | ||
declare const PaginationPrevious: { | ||
({ className, ...props }: React.ComponentProps<typeof PaginationLink>): React.JSX.Element; | ||
({ isActive, className, ...props }: React.ComponentProps<typeof PaginationLink>): React.JSX.Element; | ||
displayName: string; | ||
@@ -20,0 +20,0 @@ }; |
{ | ||
"name": "@harnessio/canary", | ||
"private": false, | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"type": "module", | ||
@@ -69,2 +69,3 @@ "module": "./dist/index.js", | ||
"input-otp": "^1.2.4", | ||
"moment": "^2.30.1", | ||
"next-themes": "^0.3.0", | ||
@@ -81,6 +82,6 @@ "react": "^18.3.1", | ||
"zod": "^3.23.8", | ||
"moment": "^2.30.1", | ||
"@harnessio/icons-noir": "0.2.1" | ||
}, | ||
"devDependencies": { | ||
"@types/lodash-es": "^4.17.12", | ||
"@types/node": "^20.14.9", | ||
@@ -87,0 +88,0 @@ "@types/react": "^18.3.3", |
@@ -30,2 +30,7 @@ /** @type {import('tailwindcss').Config} */ | ||
}, | ||
tertiary: { | ||
DEFAULT: 'hsl(var(--tertiary))', | ||
foreground: 'hsl(var(--tertiary-foreground))', | ||
background: 'hsl(var(--tertiary-background))' | ||
}, | ||
destructive: { | ||
@@ -50,2 +55,34 @@ DEFAULT: 'hsl(var(--destructive))', | ||
foreground: 'hsl(var(--card-foreground))' | ||
}, | ||
black: { | ||
DEFAULT: '#070809' | ||
}, | ||
grey: { | ||
6: '#0F1011', | ||
8: '#131516', | ||
10: '#181A1B', | ||
12: '#1D1F20', | ||
15: '#242629', | ||
20: '#303336', | ||
30: '#484D51', | ||
40: '#60666C', | ||
50: '#787F87', | ||
60: '#93999F', | ||
70: '#AEB3B7', | ||
80: '#C9CCCF', | ||
90: '#E4E5E7', | ||
94: '#EFF0F1', | ||
98: '#FAFAFA' | ||
}, | ||
mint: { | ||
DEFAULT: '#71DBD3' | ||
}, | ||
blue: { | ||
DEFAULT: '#5F97ED' | ||
}, | ||
orange: { | ||
DEFAULT: '#E29B36' | ||
}, | ||
purple: { | ||
DEFAULT: '#C699E5' | ||
} | ||
@@ -52,0 +89,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
0
450571
17
6492
2