@cnc-ti/layout-basic 8.3.13 → 8.3.15
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.css +8 -3
- package/dist/index.css.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -2650,16 +2650,16 @@ function cn(...inputs) {
|
|
|
2650
2650
|
// src/components/Button/index.tsx
|
|
2651
2651
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2652
2652
|
var buttonVariants = cva(
|
|
2653
|
-
"cnc-inline-flex cnc-items-center cnc-justify-center cnc-border cnc-
|
|
2653
|
+
"cnc-inline-flex cnc-items-center cnc-justify-center cnc-border cnc-whitespace-nowrap cnc-rounded-md cnc-text-sm cnc-font-medium cnc-ring-offset-background cnc-transition-colors focus-visible:cnc-outline-none focus-visible:cnc-ring-2 focus-visible:cnc-ring-ring focus-visible:cnc-ring-offset-2 disabled:cnc-pointer-events-none disabled:cnc-opacity-50",
|
|
2654
2654
|
{
|
|
2655
2655
|
variants: {
|
|
2656
2656
|
variant: {
|
|
2657
|
-
confirm: "cnc-bg-brand-blue-400 cnc-border-brand-blue-500 hover:cnc-bg-brand-blue-400/90",
|
|
2658
|
-
create: "cnc-bg-brand-green-100 cnc-border-brand-green-200 hover:cnc-bg-brand-green-100/80",
|
|
2659
|
-
secondary: "cnc-bg-brand-gray-20 cnc-text-secondary-foreground hover:cnc-brightness-95",
|
|
2660
|
-
danger: "cnc-bg-brand-red-500 cnc-border-brand-red-600 hover:cnc-bg-brand-red-500/80",
|
|
2661
|
-
outline: "cnc-border cnc-border-input cnc-text-brand-gray-200 cnc-bg-background cnc-shadow-sm hover:cnc-bg-brand-blue-50 cnc-text-accent-foreground",
|
|
2662
|
-
default: "cnc-bg-primary cnc-text-primary-foreground hover:cnc-bg-primary/90"
|
|
2657
|
+
confirm: "cnc-bg-brand-blue-400 cnc-border-brand-blue-500 hover:cnc-bg-brand-blue-400/90 cnc-text-white",
|
|
2658
|
+
create: "cnc-bg-brand-green-100 cnc-border-brand-green-200 hover:cnc-bg-brand-green-100/80 cnc-text-white",
|
|
2659
|
+
secondary: "cnc-bg-brand-gray-20 cnc-text-secondary-foreground hover:cnc-brightness-95 cnc-text-white",
|
|
2660
|
+
danger: "cnc-bg-brand-red-500 cnc-border-brand-red-600 hover:cnc-bg-brand-red-500/80 cnc-text-white",
|
|
2661
|
+
outline: "cnc-border cnc-border-input cnc-text-brand-gray-200 cnc-bg-background cnc-shadow-sm hover:cnc-bg-brand-blue-50 hover:cnc-text-accent-foreground",
|
|
2662
|
+
default: "cnc-bg-primary cnc-text-primary-foreground hover:cnc-bg-primary/90 cnc-text-white"
|
|
2663
2663
|
},
|
|
2664
2664
|
size: {
|
|
2665
2665
|
default: "cnc-h-10 cnc-px-4 cnc-py-2",
|
|
@@ -12879,7 +12879,7 @@ function Combobox({
|
|
|
12879
12879
|
variant: "outline",
|
|
12880
12880
|
role: "combobox",
|
|
12881
12881
|
"aria-expanded": open,
|
|
12882
|
-
className: "cnc-w-full cnc-justify-between",
|
|
12882
|
+
className: "cnc-w-full cnc-justify-between cnc-truncate ",
|
|
12883
12883
|
children: [
|
|
12884
12884
|
value ? options?.find((framework) => framework.value === value)?.label : placeholder,
|
|
12885
12885
|
/* @__PURE__ */ jsx46(ChevronsUpDown, { className: "cnc-ml-2 cnc-h-4 cnc-w-4 cnc-shrink-0 cnc-opacity-50" })
|