@tabula/ui-button
Advanced tools
Comparing version 6.0.3 to 7.0.0-next.0
@@ -1,5 +0,3 @@ | ||
import "./index.css"; | ||
// src/UiButton20/UiButton20.css.ts | ||
var variants = { contract: "ui_button__1vt0we21 ui_button__174234z0 ui_button__1vt0we20 ui_theme__3ifh804" }; | ||
var variants = { contract: "ui_button__1vt0we21 ui_button__174234z0 ui_button__1vt0we20" }; | ||
@@ -133,3 +131,3 @@ // src/Button.tsx | ||
// src/UiButton24/UiButton24.css.ts | ||
var variants2 = { primary: "ui_button__656w1y1 ui_button__174234z0 ui_button__656w1y0 ui_theme__3ifh804", secondary: "ui_button__656w1y2 ui_button__174234z0 ui_button__656w1y0 ui_theme__3ifh80a", primaryHeader: "ui_button__656w1y3 ui_button__174234z0 ui_button__656w1y0 ui_theme__3ifh80a", secondaryHeader: "ui_button__656w1y4 ui_button__174234z0 ui_button__656w1y0 ui_theme__3ifh80a", cancel: "ui_button__656w1y5 ui_button__174234z0 ui_button__656w1y0 ui_theme__3ifh80a", cancelFilled: "ui_button__656w1y6 ui_button__174234z0 ui_button__656w1y0 ui_theme__3ifh80a", edit: "ui_button__656w1y7 ui_button__174234z0 ui_button__656w1y0 ui_theme__3ifh80a", test: "ui_button__656w1y8 ui_button__174234z0 ui_button__656w1y0 ui_theme__3ifh804", ai: "ui_button__656w1y9 ui_button__174234z0 ui_button__656w1y0 ui_theme__3ifh804" }; | ||
var variants2 = { primary: "ui_button__656w1y1 ui_button__174234z0 ui_button__656w1y0", secondary: "ui_button__656w1y2 ui_button__174234z0 ui_button__656w1y0", primaryHeader: "ui_button__656w1y3 ui_button__174234z0 ui_button__656w1y0", secondaryHeader: "ui_button__656w1y4 ui_button__174234z0 ui_button__656w1y0", cancel: "ui_button__656w1y5 ui_button__174234z0 ui_button__656w1y0", cancelFilled: "ui_button__656w1y6 ui_button__174234z0 ui_button__656w1y0", edit: "ui_button__656w1y7 ui_button__174234z0 ui_button__656w1y0", test: "ui_button__656w1y8 ui_button__174234z0 ui_button__656w1y0", ai: "ui_button__656w1y9 ui_button__174234z0 ui_button__656w1y0" }; | ||
@@ -144,3 +142,3 @@ // src/UiButton24/UiButton24.tsx | ||
// src/UiButton32/UiButton32.css.ts | ||
var variants3 = { primaryDesign: "ui_button__f4628g1 ui_button__174234z0 ui_button__f4628g0 ui_theme__3ifh804", secondaryDesign: "ui_button__f4628g2 ui_button__174234z0 ui_button__f4628g0 ui_theme__3ifh80a", primaryList: "ui_button__f4628g3 ui_button__174234z0 ui_button__f4628g0 ui_theme__3ifh804", secondaryList: "ui_button__f4628g4 ui_button__174234z0 ui_button__f4628g0 ui_theme__3ifh80a", dangerousList: "ui_button__f4628g5 ui_button__174234z0 ui_button__f4628g0 ui_theme__3ifh804", shadowList: "ui_button__f4628g6 ui_button__174234z0 ui_button__f4628g0 ui_theme__3ifh80a" }; | ||
var variants3 = { primaryDesign: "ui_button__f4628g1 ui_button__174234z0 ui_button__f4628g0", secondaryDesign: "ui_button__f4628g2 ui_button__174234z0 ui_button__f4628g0", primaryList: "ui_button__f4628g3 ui_button__174234z0 ui_button__f4628g0", secondaryList: "ui_button__f4628g4 ui_button__174234z0 ui_button__f4628g0", dangerousList: "ui_button__f4628g5 ui_button__174234z0 ui_button__f4628g0", shadowList: "ui_button__f4628g6 ui_button__174234z0 ui_button__f4628g0" }; | ||
@@ -155,3 +153,3 @@ // src/UiButton32/UiButton32.tsx | ||
// src/UiButton40/UiButton40.css.ts | ||
var variants4 = { primary: "ui_button__b9qazs1 ui_button__174234z0 ui_button__b9qazs0 ui_theme__3ifh803", secondary: "ui_button__b9qazs2 ui_button__174234z0 ui_button__b9qazs0 ui_theme__3ifh809", secondaryBlue: "ui_button__b9qazs3 ui_button__174234z0 ui_button__b9qazs0 ui_theme__3ifh809", secondaryFilled: "ui_button__b9qazs4 ui_button__174234z0 ui_button__b9qazs0 ui_theme__3ifh809", secondaryDark: "ui_button__b9qazs5 ui_button__174234z0 ui_button__b9qazs0 ui_theme__3ifh803" }; | ||
var variants4 = { primary: "ui_button__b9qazs1 ui_button__174234z0 ui_button__b9qazs0", secondary: "ui_button__b9qazs2 ui_button__174234z0 ui_button__b9qazs0", secondaryBlue: "ui_button__b9qazs3 ui_button__174234z0 ui_button__b9qazs0", secondaryFilled: "ui_button__b9qazs4 ui_button__174234z0 ui_button__b9qazs0", secondaryDark: "ui_button__b9qazs5 ui_button__174234z0 ui_button__b9qazs0" }; | ||
@@ -167,3 +165,3 @@ // src/UiButton40/UiButton40.tsx | ||
var icon2 = "ui_button__1nd2erp3"; | ||
var variants5 = { primary: "ui_button__1nd2erp1 ui_button__174234z0 ui_button__1nd2erp0 ui_theme__3ifh808", secondary: "ui_button__1nd2erp2 ui_button__174234z0 ui_button__1nd2erp0 ui_theme__3ifh80d" }; | ||
var variants5 = { primary: "ui_button__1nd2erp1 ui_button__174234z0 ui_button__1nd2erp0", secondary: "ui_button__1nd2erp2 ui_button__174234z0 ui_button__1nd2erp0" }; | ||
@@ -194,2 +192,6 @@ // src/UiButton48/UiButton48.tsx | ||
}; | ||
// post-build: auto import bundled styles | ||
import "./index.css"; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@tabula/ui-button", | ||
"version": "6.0.3", | ||
"version": "7.0.0-next.0", | ||
"description": "Button components which are used to initialize an action", | ||
@@ -41,6 +41,6 @@ "type": "module", | ||
"react": "^18.3.1", | ||
"@tabula/ui-theme": "^2.7.3" | ||
"@tabula/ui-theme": "^3.0.0-next.0" | ||
}, | ||
"devDependencies": { | ||
"@tabula/ui-theme": "^2.7.3" | ||
"@tabula/ui-theme": "^3.0.0-next.0" | ||
}, | ||
@@ -47,0 +47,0 @@ "dependencies": { |
@@ -1,2 +0,2 @@ | ||
import { CSSProperties } from '@vanilla-extract/css'; | ||
import { CSSProperties, StyleRule } from '@vanilla-extract/css'; | ||
type RequiredProperties<Props extends keyof CSSProperties> = Required<Pick<CSSProperties, Props>>; | ||
@@ -9,3 +9,3 @@ type BaseProperties = RequiredProperties<'gap' | 'height' | 'padding' | 'borderRadius' | 'outlineWidth'>; | ||
type VariantStyle = { | ||
font: string; | ||
font: StyleRule; | ||
default?: CSSProperties; | ||
@@ -12,0 +12,0 @@ hover?: CSSProperties; |
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
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
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
106142
947
1