@cnc-ti/layout-basic 8.3.20 → 8.3.22
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 +3 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +11 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10601,7 +10601,6 @@ import * as React57 from "react";
|
|
|
10601
10601
|
import { jsx as jsx31 } from "react/jsx-runtime";
|
|
10602
10602
|
var Tabs = TabsPrimitive.Root;
|
|
10603
10603
|
var TabsList = React57.forwardRef(({ className, ...props }, ref) => {
|
|
10604
|
-
console.log({ props });
|
|
10605
10604
|
return /* @__PURE__ */ jsx31(
|
|
10606
10605
|
TabsPrimitive.List,
|
|
10607
10606
|
{
|
|
@@ -10617,7 +10616,7 @@ var TabsTrigger = React57.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
10617
10616
|
{
|
|
10618
10617
|
ref,
|
|
10619
10618
|
className: cn(
|
|
10620
|
-
"cnc-data-[state=active]:bg-muted cnc-data-[state=active]:text-primary cnc-relative cnc-text-sm cnc-font-
|
|
10619
|
+
"cnc-data-[state=active]:bg-muted cnc-data-[state=active]:text-primary cnc-relative cnc-text-sm cnc-font-normal cnc-px-4 cnc-py-2 cnc-bg-[#00000005] data-[state=active]:cnc-bg-white data-[state=active]:cnc-text-[#04319bfd] data-[state=active]:cnc-font-bold cnc-border-l cnc-border-r cnc-border-t cnc-rounded-tl-sm cnc-rounded-tr-sm ",
|
|
10621
10620
|
className
|
|
10622
10621
|
),
|
|
10623
10622
|
...props
|
|
@@ -10625,7 +10624,6 @@ var TabsTrigger = React57.forwardRef(({ className, ...props }, ref) => /* @__PUR
|
|
|
10625
10624
|
));
|
|
10626
10625
|
TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;
|
|
10627
10626
|
var TabsContent = React57.forwardRef(({ className, children, ...props }, ref) => {
|
|
10628
|
-
console.log({ className });
|
|
10629
10627
|
return /* @__PURE__ */ jsx31(
|
|
10630
10628
|
TabsPrimitive.Content,
|
|
10631
10629
|
{
|
|
@@ -10662,7 +10660,7 @@ var Input = React58.forwardRef(
|
|
|
10662
10660
|
type,
|
|
10663
10661
|
id: idGenerate,
|
|
10664
10662
|
className: cn(
|
|
10665
|
-
"cnc-flex cnc-h-
|
|
10663
|
+
"cnc-flex cnc-h-10 cnc-w-full cnc-rounded-md cnc-border cnc-border-input cnc-bg-transparent cnc-px-3 cnc-py-1 cnc-text-base cnc-shadow-sm cnc-transition-colors",
|
|
10666
10664
|
" file:cnc-border-0 file:cnc-bg-transparent file:cnc-text-sm file:cnc-font-medium file:cnc-text-foreground placeholder:cnc-text-muted-foreground focus-visible:cnc-outline-none",
|
|
10667
10665
|
"focus-visible:cnc-ring-2 focus-visible:cnc-ring-brand-gray-500/50 disabled:cnc-cursor-not-allowed disabled:cnc-opacity-50 md:cnc-text-sm ",
|
|
10668
10666
|
"not-disabled:hover:cnc-border-brand-gray-500",
|
|
@@ -11452,7 +11450,8 @@ function Combobox({
|
|
|
11452
11450
|
placeholder = "",
|
|
11453
11451
|
command,
|
|
11454
11452
|
onChange,
|
|
11455
|
-
value = ""
|
|
11453
|
+
value = "",
|
|
11454
|
+
onInput
|
|
11456
11455
|
}) {
|
|
11457
11456
|
const [open, setOpen] = React64.useState(false);
|
|
11458
11457
|
return /* @__PURE__ */ jsxs14(Popover3, { open, onOpenChange: setOpen, children: [
|
|
@@ -11475,7 +11474,13 @@ function Combobox({
|
|
|
11475
11474
|
align: "start",
|
|
11476
11475
|
className: "cnc-w-[--radix-popover-trigger-width] cnc-p-0",
|
|
11477
11476
|
children: /* @__PURE__ */ jsxs14(Command, { children: [
|
|
11478
|
-
/* @__PURE__ */ jsx41(
|
|
11477
|
+
/* @__PURE__ */ jsx41(
|
|
11478
|
+
CommandInput,
|
|
11479
|
+
{
|
|
11480
|
+
placeholder: command?.placeholder,
|
|
11481
|
+
onInput: (e) => onInput && onInput(e.target?.value)
|
|
11482
|
+
}
|
|
11483
|
+
),
|
|
11479
11484
|
/* @__PURE__ */ jsxs14(CommandList, { children: [
|
|
11480
11485
|
/* @__PURE__ */ jsx41(CommandEmpty, { children: command?.emptyMessage ?? "Nenhum item encontrado" }),
|
|
11481
11486
|
/* @__PURE__ */ jsx41(CommandGroup, { children: options?.map((option) => /* @__PURE__ */ jsxs14(
|