strata-ui-react 0.2.12 → 0.3.0
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.
- package/dist/index.d.ts +1 -1
- package/dist/strata-ui-react.es.js +13 -13
- package/dist/styles.css +1882 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export declare interface ButtonExtendedProps extends Omit<ComponentProps<"button
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
declare const buttonVariants: (props?: ({
|
|
69
|
-
tone?: "primary" | "secondary" | "neutral" | "
|
|
69
|
+
tone?: "primary" | "secondary" | "neutral" | "error" | "success" | "warning" | "glass" | "accent" | null | undefined;
|
|
70
70
|
style?: "solid" | "outline" | "ghost" | null | undefined;
|
|
71
71
|
size?: "small" | "medium" | "large" | "iconLarge" | "iconMedium" | "iconSmall" | null | undefined;
|
|
72
72
|
} & ClassProp) | undefined) => string;
|
|
@@ -1788,7 +1788,7 @@ const cx = clsx, cva = (t, n) => (i) => {
|
|
|
1788
1788
|
}), buttonVariants = cva("inline-flex items-center justify-center whitespace-nowrap rounded-full select-none transition-all disabled:pointer-events-none disabled:opacity-50 cursor-pointer", {
|
|
1789
1789
|
variants: {
|
|
1790
1790
|
tone: {
|
|
1791
|
-
|
|
1791
|
+
error: "",
|
|
1792
1792
|
glass: "",
|
|
1793
1793
|
neutral: "",
|
|
1794
1794
|
primary: "",
|
|
@@ -2163,70 +2163,70 @@ const cx = clsx, cva = (t, n) => (i) => {
|
|
|
2163
2163
|
className: "hover:raised-4 active:inset-shadow-3-shadow"
|
|
2164
2164
|
},
|
|
2165
2165
|
{
|
|
2166
|
-
tone: "
|
|
2166
|
+
tone: "error",
|
|
2167
2167
|
style: "solid",
|
|
2168
2168
|
className: "bg-error text-on-error"
|
|
2169
2169
|
},
|
|
2170
2170
|
{
|
|
2171
|
-
tone: "
|
|
2171
|
+
tone: "error",
|
|
2172
2172
|
style: "solid",
|
|
2173
2173
|
size: ["small", "iconSmall"],
|
|
2174
2174
|
className: "raised-1 hover:raised-2 active:inset-shadow-1-shadow"
|
|
2175
2175
|
},
|
|
2176
2176
|
{
|
|
2177
|
-
tone: "
|
|
2177
|
+
tone: "error",
|
|
2178
2178
|
style: "solid",
|
|
2179
2179
|
size: ["medium", "iconMedium"],
|
|
2180
2180
|
className: "raised-2 hover:raised-4 active:inset-shadow-2-shadow"
|
|
2181
2181
|
},
|
|
2182
2182
|
{
|
|
2183
|
-
tone: "
|
|
2183
|
+
tone: "error",
|
|
2184
2184
|
style: "solid",
|
|
2185
2185
|
size: ["large", "iconLarge"],
|
|
2186
2186
|
className: "raised-4 hover:raised-8 active:inset-shadow-3-shadow"
|
|
2187
2187
|
},
|
|
2188
2188
|
{
|
|
2189
|
-
tone: "
|
|
2189
|
+
tone: "error",
|
|
2190
2190
|
style: "outline",
|
|
2191
2191
|
className: "border-error text-error hover:text-on-error-container hover:bg-error-container active:bg-transparent"
|
|
2192
2192
|
},
|
|
2193
2193
|
{
|
|
2194
|
-
tone: "
|
|
2194
|
+
tone: "error",
|
|
2195
2195
|
style: "outline",
|
|
2196
2196
|
size: ["small", "iconSmall"],
|
|
2197
2197
|
className: "border-1"
|
|
2198
2198
|
},
|
|
2199
2199
|
{
|
|
2200
|
-
tone: "
|
|
2200
|
+
tone: "error",
|
|
2201
2201
|
style: "outline",
|
|
2202
2202
|
size: ["medium", "iconMedium"],
|
|
2203
2203
|
className: "border-2"
|
|
2204
2204
|
},
|
|
2205
2205
|
{
|
|
2206
|
-
tone: "
|
|
2206
|
+
tone: "error",
|
|
2207
2207
|
style: "outline",
|
|
2208
2208
|
size: ["large", "iconLarge"],
|
|
2209
2209
|
className: "border-4"
|
|
2210
2210
|
},
|
|
2211
2211
|
{
|
|
2212
|
-
tone: "
|
|
2212
|
+
tone: "error",
|
|
2213
2213
|
style: "ghost",
|
|
2214
2214
|
className: "text-error hover:surface-bright active:bg-surface-dim"
|
|
2215
2215
|
},
|
|
2216
2216
|
{
|
|
2217
|
-
tone: "
|
|
2217
|
+
tone: "error",
|
|
2218
2218
|
style: "ghost",
|
|
2219
2219
|
size: ["small", "iconSmall"],
|
|
2220
2220
|
className: "hover:raised-1 active:inset-shadow-1-shadow"
|
|
2221
2221
|
},
|
|
2222
2222
|
{
|
|
2223
|
-
tone: "
|
|
2223
|
+
tone: "error",
|
|
2224
2224
|
style: "ghost",
|
|
2225
2225
|
size: ["medium", "iconMedium"],
|
|
2226
2226
|
className: "hover:raised-2 active:inset-shadow-2-shadow"
|
|
2227
2227
|
},
|
|
2228
2228
|
{
|
|
2229
|
-
tone: "
|
|
2229
|
+
tone: "error",
|
|
2230
2230
|
style: "ghost",
|
|
2231
2231
|
size: ["large", "iconLarge"],
|
|
2232
2232
|
className: "hover:raised-4 active:inset-shadow-3-shadow"
|