@cnc-ti/layout-basic 8.3.7 → 8.3.8
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.js +7 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2764,14 +2764,14 @@ function cn(...inputs) {
|
|
|
2764
2764
|
// src/components/Button/index.tsx
|
|
2765
2765
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
2766
2766
|
var buttonVariants = cva(
|
|
2767
|
-
"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",
|
|
2767
|
+
"cnc-inline-flex cnc-items-center cnc-justify-center cnc-border cnc-text-white 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",
|
|
2768
2768
|
{
|
|
2769
2769
|
variants: {
|
|
2770
2770
|
variant: {
|
|
2771
|
-
confirm: "cnc-
|
|
2772
|
-
create: "cnc-
|
|
2773
|
-
secondary: "cnc-
|
|
2774
|
-
danger: "cnc-
|
|
2771
|
+
confirm: "cnc-bg-brand-blue-400 cnc-border-brand-blue-500 hover:cnc-bg-brand-blue-400/90",
|
|
2772
|
+
create: "cnc-bg-brand-green-100 cnc-border-brand-green-200 hover:cnc-bg-brand-green-100/80",
|
|
2773
|
+
secondary: "cnc-bg-brand-gray-20 cnc-text-secondary-foreground hover:cnc-brightness-95",
|
|
2774
|
+
danger: "cnc-bg-brand-red-500 cnc-border-brand-red-600 hover:cnc-bg-brand-red-500/80",
|
|
2775
2775
|
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",
|
|
2776
2776
|
default: "cnc-bg-primary cnc-text-primary-foreground hover:cnc-bg-primary/90"
|
|
2777
2777
|
},
|
|
@@ -12954,12 +12954,11 @@ function Combobox({
|
|
|
12954
12954
|
const [open, setOpen] = React79.useState(false);
|
|
12955
12955
|
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(Popover3, { open, onOpenChange: setOpen, children: [
|
|
12956
12956
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(PopoverTrigger3, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
12957
|
-
|
|
12957
|
+
"button",
|
|
12958
12958
|
{
|
|
12959
|
-
variant: "outline",
|
|
12960
12959
|
role: "combobox",
|
|
12961
12960
|
"aria-expanded": open,
|
|
12962
|
-
className: "cnc-
|
|
12961
|
+
className: "cnc-h-10 cnc-px-4 cnc-py-2 cnc-inline-flex cnc-items-center cnc-justify-between 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 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 cnc-w-full",
|
|
12963
12962
|
children: [
|
|
12964
12963
|
value ? options?.find((framework) => framework.value === value)?.label : placeholder,
|
|
12965
12964
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(ChevronsUpDown, { className: "cnc-ml-2 cnc-h-4 cnc-w-4 cnc-shrink-0 cnc-opacity-50" })
|