@launchpad-ui/button
Advanced tools
Comparing version 0.2.2 to 0.2.3
/// <reference types="react" /> | ||
import type { To } from 'react-router-dom'; | ||
import './styles/Button.css'; | ||
@@ -67,5 +66,5 @@ import { ButtonKind, ButtonSize, ButtonType } from './types'; | ||
/** | ||
* React router location to take user to when button is clicked | ||
* React router compatible location to take user to when button is clicked | ||
*/ | ||
to?: To; | ||
to?: string | Record<string, unknown>; | ||
/** | ||
@@ -72,0 +71,0 @@ * When true, renders the icon before the text |
{ | ||
"name": "@launchpad-ui/button", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"status": "beta", | ||
"publishConfig": { | ||
@@ -29,4 +30,3 @@ "access": "public" | ||
"@launchpad-ui/tokens": "~0.1.5", | ||
"clsx": "^1.2.0", | ||
"react-router-dom": "^6.3.0" | ||
"clsx": "^1.2.0" | ||
}, | ||
@@ -42,5 +42,5 @@ "peerDependencies": { | ||
"scripts": { | ||
"build": "tsc --project tsconfig.build.json && node build.js", | ||
"build": "tsc --project tsconfig.build.json && node ../../scripts/build.js", | ||
"clean": "rm -rf dist", | ||
"e2e": "playwright test --config=../../playwright.config.ts", | ||
"e2e": "playwright test --config=../../playwright.config.ct.ts", | ||
"lint": "eslint '**/*.{ts,tsx,js}' && stylelint '**/*.css' --ignore-path ../../.stylelintignore", | ||
@@ -47,0 +47,0 @@ "test": "vitest run --coverage" |
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
4
88021
600
- Removedreact-router-dom@^6.3.0
- Removed@remix-run/router@1.20.0(transitive)
- Removedreact-router@6.27.0(transitive)
- Removedreact-router-dom@6.27.0(transitive)