@cupcodev/ui 5.1.3 → 6.1.1

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/README.md CHANGED
@@ -108,7 +108,7 @@ Todos os componentes Cupcode e shadcn/ui base são reexportados de `@cupcodev/ui
108
108
  ### MainNavbar sem router obrigatório
109
109
 
110
110
  `MainNavbar` não depende de `react-router-dom`. Para integração SPA, passe `pathname` e `onNavigate`.
111
- Para evitar branding fixo no pacote, passe também `logo` com o visual do seu app:
111
+ O pacote não injeta logo da Cupcode por padrão. Se quiser ocupar a área de marca, passe `logo` com o visual do seu app:
112
112
 
113
113
  ```tsx
114
114
  import { MainNavbar, TelescupImage } from "@cupcodev/ui";
@@ -10,7 +10,7 @@ import { VariantProps } from 'class-variance-authority';
10
10
  import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
11
11
 
12
12
  declare const buttonVariants: (props?: ({
13
- variant?: "link" | "secondary" | "outline" | "default" | "destructive" | "ghost" | null | undefined;
13
+ variant?: "link" | "primary" | "secondary" | "outline" | "default" | "destructive" | "ghost" | null | undefined;
14
14
  size?: "sm" | "lg" | "default" | "icon" | null | undefined;
15
15
  } & class_variance_authority_types.ClassProp) | undefined) => string;
16
16
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
@@ -10,7 +10,7 @@ import { VariantProps } from 'class-variance-authority';
10
10
  import useEmblaCarousel, { UseEmblaCarouselType } from 'embla-carousel-react';
11
11
 
12
12
  declare const buttonVariants: (props?: ({
13
- variant?: "link" | "secondary" | "outline" | "default" | "destructive" | "ghost" | null | undefined;
13
+ variant?: "link" | "primary" | "secondary" | "outline" | "default" | "destructive" | "ghost" | null | undefined;
14
14
  size?: "sm" | "lg" | "default" | "icon" | null | undefined;
15
15
  } & class_variance_authority_types.ClassProp) | undefined) => string;
16
16
  interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
package/dist/charts.cjs CHANGED
@@ -281,7 +281,8 @@ var buttonVariants = (0, import_class_variance_authority.cva)(
281
281
  {
282
282
  variants: {
283
283
  variant: {
284
- default: "bg-primary text-primary-foreground hover:bg-primary/90",
284
+ default: "bg-[#18b765] text-white hover:bg-[#149355]",
285
+ primary: "bg-[#18b765] text-white hover:bg-[#149355]",
285
286
  destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
286
287
  outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
287
288
  secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",
package/dist/charts.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- export { c as Carousel, C as CarouselApi, d as CarouselContent, e as CarouselItem, g as CarouselNext, f as CarouselPrevious, n as ChartConfig, h as ChartContainer, k as ChartLegend, l as ChartLegendContent, m as ChartStyle, i as ChartTooltip, j as ChartTooltipContent } from './charts-citXBvHw.cjs';
1
+ export { c as Carousel, C as CarouselApi, d as CarouselContent, e as CarouselItem, g as CarouselNext, f as CarouselPrevious, n as ChartConfig, h as ChartContainer, k as ChartLegend, l as ChartLegendContent, m as ChartStyle, i as ChartTooltip, j as ChartTooltipContent } from './charts-eumneI2w.cjs';
2
2
  import 'recharts/types/util/payload/getUniqPayload';
3
3
  import 'recharts/types/component/Tooltip';
4
4
  import 'recharts/types/util/types';
package/dist/charts.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { c as Carousel, C as CarouselApi, d as CarouselContent, e as CarouselItem, g as CarouselNext, f as CarouselPrevious, n as ChartConfig, h as ChartContainer, k as ChartLegend, l as ChartLegendContent, m as ChartStyle, i as ChartTooltip, j as ChartTooltipContent } from './charts-citXBvHw.js';
1
+ export { c as Carousel, C as CarouselApi, d as CarouselContent, e as CarouselItem, g as CarouselNext, f as CarouselPrevious, n as ChartConfig, h as ChartContainer, k as ChartLegend, l as ChartLegendContent, m as ChartStyle, i as ChartTooltip, j as ChartTooltipContent } from './charts-eumneI2w.js';
2
2
  import 'recharts/types/util/payload/getUniqPayload';
3
3
  import 'recharts/types/component/Tooltip';
4
4
  import 'recharts/types/util/types';
package/dist/charts.js CHANGED
@@ -235,7 +235,8 @@ var buttonVariants = cva(
235
235
  {
236
236
  variants: {
237
237
  variant: {
238
- default: "bg-primary text-primary-foreground hover:bg-primary/90",
238
+ default: "bg-[#18b765] text-white hover:bg-[#149355]",
239
+ primary: "bg-[#18b765] text-white hover:bg-[#149355]",
239
240
  destructive: "bg-destructive text-destructive-foreground hover:bg-destructive/90",
240
241
  outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground",
241
242
  secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80",