@fluencypassdevs/cycle 0.3.0 → 0.5.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.
Files changed (72) hide show
  1. package/README.md +13 -4
  2. package/bin/init.mjs +95 -0
  3. package/cli/CLAUDE-section.md +102 -0
  4. package/dist/chunk-5LZHXNBV.js +38 -0
  5. package/dist/chunk-5LZHXNBV.js.map +1 -0
  6. package/dist/{chunk-POQUVBVT.js → chunk-7ZXAU2CD.js} +3 -3
  7. package/dist/{chunk-POQUVBVT.js.map → chunk-7ZXAU2CD.js.map} +1 -1
  8. package/dist/{chunk-XX3I65LQ.js → chunk-BJIG33XF.js} +3 -3
  9. package/dist/{chunk-XX3I65LQ.js.map → chunk-BJIG33XF.js.map} +1 -1
  10. package/dist/{chunk-6LML23MS.js → chunk-D4QCYBCD.js} +3 -3
  11. package/dist/{chunk-6LML23MS.js.map → chunk-D4QCYBCD.js.map} +1 -1
  12. package/dist/{chunk-RI3ULQHH.js → chunk-ELZCZ6ZH.js} +3 -3
  13. package/dist/{chunk-RI3ULQHH.js.map → chunk-ELZCZ6ZH.js.map} +1 -1
  14. package/dist/{chunk-PXWCEJ2C.js → chunk-EXVLL3JP.js} +3 -3
  15. package/dist/{chunk-PXWCEJ2C.js.map → chunk-EXVLL3JP.js.map} +1 -1
  16. package/dist/chunk-JDAPQW5C.js +32 -0
  17. package/dist/chunk-JDAPQW5C.js.map +1 -0
  18. package/dist/chunk-LHSUEXOW.js +70 -0
  19. package/dist/chunk-LHSUEXOW.js.map +1 -0
  20. package/dist/{chunk-PM6ZUCMQ.js → chunk-MTKKVYNS.js} +3 -3
  21. package/dist/chunk-MTKKVYNS.js.map +1 -0
  22. package/dist/{chunk-QTL6W4I2.js → chunk-NYJMA2T7.js} +3 -3
  23. package/dist/{chunk-QTL6W4I2.js.map → chunk-NYJMA2T7.js.map} +1 -1
  24. package/dist/{chunk-VECLN5AT.js → chunk-UAHCRXAG.js} +5 -5
  25. package/dist/{chunk-VECLN5AT.js.map → chunk-UAHCRXAG.js.map} +1 -1
  26. package/dist/{chunk-OT2HCBR2.js → chunk-V7M2NHUO.js} +2 -2
  27. package/dist/{chunk-OT2HCBR2.js.map → chunk-V7M2NHUO.js.map} +1 -1
  28. package/dist/{chunk-UVCEQOQR.js → chunk-WUZODCC2.js} +3 -3
  29. package/dist/{chunk-UVCEQOQR.js.map → chunk-WUZODCC2.js.map} +1 -1
  30. package/dist/{chunk-7XT6ISPQ.js → chunk-WXJKTVRI.js} +3 -3
  31. package/dist/{chunk-7XT6ISPQ.js.map → chunk-WXJKTVRI.js.map} +1 -1
  32. package/dist/icons/index.d.ts +4 -39
  33. package/dist/icons/index.js +2 -2
  34. package/dist/icons/lucide.d.ts +1 -0
  35. package/dist/icons/lucide.js +3 -0
  36. package/dist/icons/lucide.js.map +1 -0
  37. package/dist/index.d.ts +5 -1
  38. package/dist/index.js +15 -12
  39. package/dist/logos/fluencypass.d.ts +21 -0
  40. package/dist/logos/fluencypass.js +5 -0
  41. package/dist/logos/fluencypass.js.map +1 -0
  42. package/dist/logos/product.d.ts +48 -0
  43. package/dist/logos/product.js +7 -0
  44. package/dist/logos/product.js.map +1 -0
  45. package/dist/sizes-BZ5ZUk8g.d.ts +38 -0
  46. package/dist/styles/tokens.css +112 -2
  47. package/dist/ui/alert.js +3 -3
  48. package/dist/ui/audio-player.js +3 -3
  49. package/dist/ui/badge.d.ts +2 -2
  50. package/dist/ui/button.d.ts +2 -2
  51. package/dist/ui/chat-panel.js +2 -2
  52. package/dist/ui/checkbox.d.ts +1 -1
  53. package/dist/ui/empty.d.ts +1 -1
  54. package/dist/ui/file-card.d.ts +1 -1
  55. package/dist/ui/like-dislike.d.ts +1 -1
  56. package/dist/ui/like-dislike.js +3 -3
  57. package/dist/ui/live-waiting.js +2 -2
  58. package/dist/ui/progress-dot.d.ts +22 -0
  59. package/dist/ui/progress-dot.js +5 -0
  60. package/dist/ui/progress-dot.js.map +1 -0
  61. package/dist/ui/progress-stage.d.ts +1 -1
  62. package/dist/ui/progress-stage.js +1 -1
  63. package/dist/ui/progress.d.ts +1 -1
  64. package/dist/ui/progress.js +1 -1
  65. package/dist/ui/radio-group.d.ts +1 -1
  66. package/dist/ui/slider.d.ts +1 -1
  67. package/dist/ui/sonner.js +3 -3
  68. package/dist/ui/switch.d.ts +1 -1
  69. package/dist/ui/toggle.d.ts +1 -1
  70. package/dist/ui/video-player.js +3 -3
  71. package/package.json +22 -1
  72. package/dist/chunk-PM6ZUCMQ.js.map +0 -1
@@ -0,0 +1,38 @@
1
+ /**
2
+ * Cycle Design — Icon Size Map
3
+ *
4
+ * Fonte da verdade para componentes React.
5
+ * Derivado de: figma/Icons size/icon-{size}.json
6
+ *
7
+ * REGRA: strokeWidth nunca é prop — é sempre derivado de size.
8
+ * Isso garante consistência visual em todos os ícones.
9
+ */
10
+ declare const ICON_SIZES: {
11
+ readonly '2xs': {
12
+ readonly size: 12;
13
+ readonly stroke: 1;
14
+ };
15
+ readonly xs: {
16
+ readonly size: 16;
17
+ readonly stroke: 1.2;
18
+ };
19
+ readonly sm: {
20
+ readonly size: 24;
21
+ readonly stroke: 1.5;
22
+ };
23
+ readonly md: {
24
+ readonly size: 32;
25
+ readonly stroke: 1.8;
26
+ };
27
+ readonly lg: {
28
+ readonly size: 40;
29
+ readonly stroke: 2.1;
30
+ };
31
+ readonly xl: {
32
+ readonly size: 48;
33
+ readonly stroke: 2.4;
34
+ };
35
+ };
36
+ type IconSize = keyof typeof ICON_SIZES;
37
+
38
+ export { ICON_SIZES as I, type IconSize as a };
@@ -1,12 +1,13 @@
1
1
  /**
2
2
  * @fluencypassdevs/cycle — Complete Styles
3
3
  *
4
- * One-line setup in your globals.css:
4
+ * Setup in your globals.css:
5
5
  *
6
6
  * @import "tailwindcss";
7
+ * @source "../../node_modules/@fluencypassdevs/cycle/dist";
7
8
  * @import "@fluencypassdevs/cycle/styles.css";
8
9
  *
9
- * That's it. Tokens, theme mapping, dark mode all included.
10
+ * The @source line is required Tailwind v4 doesn't scan node_modules by default.
10
11
  * You can override any CSS variable after this import.
11
12
  */
12
13
 
@@ -570,3 +571,112 @@ body {
570
571
  transform: translateY(-18px) scaleY(0.4);
571
572
  }
572
573
  }
574
+
575
+ /* ============================================
576
+ * CYCLE TYPOGRAPHY - Composite Styles
577
+ * ============================================
578
+ * Estilos tipograficos compostos extraidos do Figma.
579
+ * Cada classe aplica font-size, font-weight,
580
+ * line-height e letter-spacing de uma vez.
581
+ *
582
+ * Uso: <p class="body-md"> ou <h2 class="heading-xl">
583
+ * ============================================
584
+ */
585
+
586
+ /* --- Body --- */
587
+ @utility body-xs {
588
+ font-family: var(--font-sans);
589
+ font-size: 0.625rem; /* 10px */
590
+ font-weight: 400;
591
+ line-height: 1rem; /* 16px */
592
+ letter-spacing: 0em;
593
+ }
594
+
595
+ @utility body-sm {
596
+ font-family: var(--font-sans);
597
+ font-size: 0.75rem; /* 12px */
598
+ font-weight: 400;
599
+ line-height: 1.125rem; /* 18px */
600
+ letter-spacing: 0em;
601
+ }
602
+
603
+ @utility body-md {
604
+ font-family: var(--font-sans);
605
+ font-size: 0.875rem; /* 14px */
606
+ font-weight: 400;
607
+ line-height: 1.25rem; /* 20px */
608
+ letter-spacing: 0em;
609
+ }
610
+
611
+ @utility body-lg {
612
+ font-family: var(--font-sans);
613
+ font-size: 1rem; /* 16px */
614
+ font-weight: 400;
615
+ line-height: 1.5rem; /* 24px */
616
+ letter-spacing: 0em;
617
+ }
618
+
619
+ /* --- Heading --- */
620
+ @utility heading-xs {
621
+ font-family: var(--font-sans);
622
+ font-size: 0.875rem; /* 14px */
623
+ font-weight: 600;
624
+ line-height: 1.25rem; /* 20px */
625
+ letter-spacing: -0.025em;
626
+ }
627
+
628
+ @utility heading-sm {
629
+ font-family: var(--font-sans);
630
+ font-size: 1rem; /* 16px */
631
+ font-weight: 600;
632
+ line-height: 1.5rem; /* 24px */
633
+ letter-spacing: -0.025em;
634
+ }
635
+
636
+ @utility heading-md {
637
+ font-family: var(--font-sans);
638
+ font-size: 1.125rem; /* 18px */
639
+ font-weight: 600;
640
+ line-height: 1.75rem; /* 28px */
641
+ letter-spacing: -0.025em;
642
+ }
643
+
644
+ @utility heading-lg {
645
+ font-family: var(--font-sans);
646
+ font-size: 1.25rem; /* 20px */
647
+ font-weight: 600;
648
+ line-height: 1.875rem; /* 30px */
649
+ letter-spacing: -0.025em;
650
+ }
651
+
652
+ @utility heading-xl {
653
+ font-family: var(--font-sans);
654
+ font-size: 1.5rem; /* 24px */
655
+ font-weight: 600;
656
+ line-height: 2rem; /* 32px */
657
+ letter-spacing: -0.025em;
658
+ }
659
+
660
+ @utility heading-2xl {
661
+ font-family: var(--font-sans);
662
+ font-size: 2rem; /* 32px */
663
+ font-weight: 700;
664
+ line-height: 2.5rem; /* 40px */
665
+ letter-spacing: -0.025em;
666
+ }
667
+
668
+ @utility heading-3xl {
669
+ font-family: var(--font-sans);
670
+ font-size: 2.5rem; /* 40px */
671
+ font-weight: 700;
672
+ line-height: 3rem; /* 48px */
673
+ letter-spacing: -0.025em;
674
+ }
675
+
676
+ @utility heading-4xl {
677
+ font-family: var(--font-sans);
678
+ font-size: 3rem; /* 48px */
679
+ font-weight: 700;
680
+ line-height: 3.75rem; /* 60px */
681
+ letter-spacing: -0.05em;
682
+ }
package/dist/ui/alert.js CHANGED
@@ -1,6 +1,6 @@
1
- export { Alert, AlertAction, AlertClose, AlertDescription, AlertTitle, alertVariants } from '../chunk-POQUVBVT.js';
2
- import '../chunk-6LML23MS.js';
3
- import '../chunk-OT2HCBR2.js';
1
+ export { Alert, AlertAction, AlertClose, AlertDescription, AlertTitle, alertVariants } from '../chunk-7ZXAU2CD.js';
2
+ import '../chunk-D4QCYBCD.js';
3
+ import '../chunk-V7M2NHUO.js';
4
4
  import '../chunk-TYCPXAXF.js';
5
5
  import '../chunk-YINJ5YZ5.js';
6
6
  //# sourceMappingURL=alert.js.map
@@ -1,6 +1,6 @@
1
- export { AudioPlayer } from '../chunk-VECLN5AT.js';
2
- import '../chunk-6LML23MS.js';
3
- import '../chunk-OT2HCBR2.js';
1
+ export { AudioPlayer } from '../chunk-UAHCRXAG.js';
2
+ import '../chunk-D4QCYBCD.js';
3
+ import '../chunk-V7M2NHUO.js';
4
4
  import '../chunk-TYCPXAXF.js';
5
5
  import '../chunk-YINJ5YZ5.js';
6
6
  //# sourceMappingURL=audio-player.js.map
@@ -4,8 +4,8 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const badgeVariants: (props?: ({
7
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | "progress" | "muted" | "success" | "progress-completed" | null | undefined;
8
- size?: "default" | "sm" | "lg" | null | undefined;
7
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | "progress" | "muted" | "success" | "progress-completed" | null | undefined;
8
+ size?: "sm" | "lg" | "default" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface BadgeProps extends React.ComponentProps<"span">, VariantProps<typeof badgeVariants> {
11
11
  asChild?: boolean;
@@ -4,8 +4,8 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const buttonVariants: (props?: ({
7
- variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
8
- size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
7
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
8
+ size?: "xs" | "sm" | "lg" | "icon" | "default" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface ButtonProps extends React.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
11
11
  asChild?: boolean;
@@ -1,7 +1,7 @@
1
- export { ChatPanel } from '../chunk-UVCEQOQR.js';
1
+ export { ChatPanel } from '../chunk-WUZODCC2.js';
2
2
  import '../chunk-HZJRM5EK.js';
3
3
  import '../chunk-MSLQRGSP.js';
4
- import '../chunk-OT2HCBR2.js';
4
+ import '../chunk-V7M2NHUO.js';
5
5
  import '../chunk-3LXU5C35.js';
6
6
  import '../chunk-7UMEJDC3.js';
7
7
  import '../chunk-TYCPXAXF.js';
@@ -5,7 +5,7 @@ import { Checkbox as Checkbox$1 } from 'radix-ui';
5
5
  import { VariantProps } from 'class-variance-authority';
6
6
 
7
7
  declare const checkboxVariants: (props?: ({
8
- size?: "default" | "sm" | "lg" | null | undefined;
8
+ size?: "sm" | "lg" | "default" | null | undefined;
9
9
  variant?: "default" | "circular" | null | undefined;
10
10
  } & class_variance_authority_types.ClassProp) | undefined) => string;
11
11
  interface CheckboxProps extends React.ComponentProps<typeof Checkbox$1.Root>, VariantProps<typeof checkboxVariants> {
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
5
5
  declare function Empty({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
6
6
  declare function EmptyHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
7
7
  declare const emptyMediaVariants: (props?: ({
8
- variant?: "default" | "icon" | null | undefined;
8
+ variant?: "icon" | "default" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime.JSX.Element;
11
11
  declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const fileCardVariants: (props?: ({
7
- size?: "sm" | "lg" | "md" | null | undefined;
7
+ size?: "sm" | "md" | "lg" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface FileCardProps extends Omit<React.ComponentProps<"button">, "children" | "size">, VariantProps<typeof fileCardVariants> {
10
10
  /** Nome do arquivo exibido como titulo */
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const likeDislikeVariants: (props?: ({
7
- size?: "default" | "xs" | "sm" | "lg" | null | undefined;
7
+ size?: "xs" | "sm" | "lg" | "default" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  type LikeDislikeValue = "like" | "dislike" | null;
10
10
  interface LikeDislikeProps extends Omit<React.ComponentProps<"div">, "onChange" | "defaultValue">, VariantProps<typeof likeDislikeVariants> {
@@ -1,6 +1,6 @@
1
- export { LikeDislike, likeDislikeVariants } from '../chunk-PXWCEJ2C.js';
2
- import '../chunk-6LML23MS.js';
3
- import '../chunk-OT2HCBR2.js';
1
+ export { LikeDislike, likeDislikeVariants } from '../chunk-EXVLL3JP.js';
2
+ import '../chunk-D4QCYBCD.js';
3
+ import '../chunk-V7M2NHUO.js';
4
4
  import '../chunk-7UMEJDC3.js';
5
5
  import '../chunk-2WPH3IQP.js';
6
6
  import '../chunk-TYCPXAXF.js';
@@ -1,6 +1,6 @@
1
- export { LiveWaiting } from '../chunk-7XT6ISPQ.js';
1
+ export { LiveWaiting } from '../chunk-WXJKTVRI.js';
2
2
  import '../chunk-MSLQRGSP.js';
3
- import '../chunk-OT2HCBR2.js';
3
+ import '../chunk-V7M2NHUO.js';
4
4
  import '../chunk-NGOZFA33.js';
5
5
  import '../chunk-TYCPXAXF.js';
6
6
  import '../chunk-YINJ5YZ5.js';
@@ -0,0 +1,22 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import * as class_variance_authority_types from 'class-variance-authority/types';
3
+ import * as React from 'react';
4
+ import { VariantProps } from 'class-variance-authority';
5
+
6
+ declare const progressDotVariants: (props?: ({
7
+ size?: "xs" | "sm" | "lg" | "default" | null | undefined;
8
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
9
+ declare const dotVariants: (props?: ({
10
+ size?: "xs" | "sm" | "lg" | "default" | null | undefined;
11
+ } & class_variance_authority_types.ClassProp) | undefined) => string;
12
+ interface ProgressDotProps extends React.ComponentProps<"div">, VariantProps<typeof dotVariants> {
13
+ /** Numero total de stages (2–10) */
14
+ stages: number;
15
+ /** Quantos stages estao preenchidos (0–stages) */
16
+ value: number;
17
+ /** Classe de tema aplicada apenas nos dots preenchidos (ex: "theme-class") */
18
+ theme?: string;
19
+ }
20
+ declare function ProgressDot({ stages, value, size, theme, className, ...props }: ProgressDotProps): react_jsx_runtime.JSX.Element;
21
+
22
+ export { ProgressDot, type ProgressDotProps, dotVariants, progressDotVariants };
@@ -0,0 +1,5 @@
1
+ export { ProgressDot, dotVariants, progressDotVariants } from '../chunk-LHSUEXOW.js';
2
+ import '../chunk-TYCPXAXF.js';
3
+ import '../chunk-YINJ5YZ5.js';
4
+ //# sourceMappingURL=progress-dot.js.map
5
+ //# sourceMappingURL=progress-dot.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"progress-dot.js"}
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
6
  declare const progressStagePillVariants: (props?: ({
7
- size?: "default" | "xs" | "sm" | "lg" | null | undefined;
7
+ size?: "xs" | "sm" | "lg" | "default" | null | undefined;
8
8
  } & class_variance_authority_types.ClassProp) | undefined) => string;
9
9
  interface ProgressStageProps extends React.ComponentProps<"div">, VariantProps<typeof progressStagePillVariants> {
10
10
  /** Numero total de stages (2–10) */
@@ -1,4 +1,4 @@
1
- export { ProgressStage } from '../chunk-QTL6W4I2.js';
1
+ export { ProgressStage } from '../chunk-NYJMA2T7.js';
2
2
  import '../chunk-TYCPXAXF.js';
3
3
  import '../chunk-YINJ5YZ5.js';
4
4
  //# sourceMappingURL=progress-stage.js.map
@@ -5,7 +5,7 @@ import { Progress as Progress$1 } from 'radix-ui';
5
5
  import { VariantProps } from 'class-variance-authority';
6
6
 
7
7
  declare const progressVariants: (props?: ({
8
- size?: "default" | "xs" | "sm" | "lg" | null | undefined;
8
+ size?: "xs" | "sm" | "lg" | "default" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  declare const indicatorVariants: (props?: ({
11
11
  variant?: "default" | "destructive" | "secondary" | "muted" | null | undefined;
@@ -1,4 +1,4 @@
1
- export { Progress, indicatorVariants, progressVariants } from '../chunk-PM6ZUCMQ.js';
1
+ export { Progress, indicatorVariants, progressVariants } from '../chunk-MTKKVYNS.js';
2
2
  import '../chunk-TYCPXAXF.js';
3
3
  import '../chunk-YINJ5YZ5.js';
4
4
  //# sourceMappingURL=progress.js.map
@@ -5,7 +5,7 @@ import { RadioGroup as RadioGroup$1 } from 'radix-ui';
5
5
  import { VariantProps } from 'class-variance-authority';
6
6
 
7
7
  declare const radioVariants: (props?: ({
8
- size?: "default" | "sm" | "lg" | null | undefined;
8
+ size?: "sm" | "lg" | "default" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface RadioGroupProps extends React.ComponentProps<typeof RadioGroup$1.Root> {
11
11
  }
@@ -5,7 +5,7 @@ import { Slider as Slider$1 } from 'radix-ui';
5
5
  import { VariantProps } from 'class-variance-authority';
6
6
 
7
7
  declare const sliderVariants: (props?: ({
8
- size?: "default" | "sm" | "lg" | null | undefined;
8
+ size?: "sm" | "lg" | "default" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface SliderProps extends React.ComponentProps<typeof Slider$1.Root>, VariantProps<typeof sliderVariants> {
11
11
  /** Classe de tema aplicada (ex: "theme-brand") */
package/dist/ui/sonner.js CHANGED
@@ -1,6 +1,6 @@
1
- export { Toaster, cycleToast } from '../chunk-RI3ULQHH.js';
2
- import '../chunk-6LML23MS.js';
3
- import '../chunk-OT2HCBR2.js';
1
+ export { Toaster, cycleToast } from '../chunk-ELZCZ6ZH.js';
2
+ import '../chunk-D4QCYBCD.js';
3
+ import '../chunk-V7M2NHUO.js';
4
4
  import '../chunk-TYCPXAXF.js';
5
5
  import '../chunk-YINJ5YZ5.js';
6
6
  //# sourceMappingURL=sonner.js.map
@@ -5,7 +5,7 @@ import { Switch as Switch$1 } from 'radix-ui';
5
5
  import { VariantProps } from 'class-variance-authority';
6
6
 
7
7
  declare const switchVariants: (props?: ({
8
- size?: "default" | "sm" | "lg" | null | undefined;
8
+ size?: "sm" | "lg" | "default" | null | undefined;
9
9
  } & class_variance_authority_types.ClassProp) | undefined) => string;
10
10
  interface SwitchProps extends React.ComponentProps<typeof Switch$1.Root>, VariantProps<typeof switchVariants> {
11
11
  /** Classe de tema aplicada no estado checked (ex: "theme-brand") */
@@ -6,7 +6,7 @@ import { Toggle as Toggle$1 } from 'radix-ui';
6
6
 
7
7
  declare const toggleVariants: (props?: ({
8
8
  variant?: "default" | "outline" | null | undefined;
9
- size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
9
+ size?: "xs" | "sm" | "lg" | "icon" | "default" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
10
10
  } & class_variance_authority_types.ClassProp) | undefined) => string;
11
11
  interface ToggleProps extends React.ComponentProps<typeof Toggle$1.Root>, VariantProps<typeof toggleVariants> {
12
12
  /** Preenche icones SVG quando o toggle esta ativo (on). Ideal para icones como Heart, Star, Bookmark. */
@@ -1,6 +1,6 @@
1
- export { VideoPlayer } from '../chunk-XX3I65LQ.js';
2
- import '../chunk-6LML23MS.js';
3
- import '../chunk-OT2HCBR2.js';
1
+ export { VideoPlayer } from '../chunk-BJIG33XF.js';
2
+ import '../chunk-D4QCYBCD.js';
3
+ import '../chunk-V7M2NHUO.js';
4
4
  import '../chunk-TYCPXAXF.js';
5
5
  import '../chunk-YINJ5YZ5.js';
6
6
  //# sourceMappingURL=video-player.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluencypassdevs/cycle",
3
- "version": "0.3.0",
3
+ "version": "0.5.0",
4
4
  "description": "Cycle Design System — UI component library by Fluencypass",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -23,6 +23,22 @@
23
23
  "import": "./dist/ui/*.js",
24
24
  "types": "./dist/ui/*.d.ts"
25
25
  },
26
+ "./ui/progress-dot": {
27
+ "import": "./dist/ui/progress-dot.js",
28
+ "types": "./dist/ui/progress-dot.d.ts"
29
+ },
30
+ "./logos/fluencypass": {
31
+ "import": "./dist/logos/fluencypass.js",
32
+ "types": "./dist/logos/fluencypass.d.ts"
33
+ },
34
+ "./logos/product": {
35
+ "import": "./dist/logos/product.js",
36
+ "types": "./dist/logos/product.d.ts"
37
+ },
38
+ "./icons/lucide": {
39
+ "import": "./dist/icons/lucide.js",
40
+ "types": "./dist/icons/lucide.d.ts"
41
+ },
26
42
  "./icons": {
27
43
  "import": "./dist/icons/index.js",
28
44
  "types": "./dist/icons/index.d.ts"
@@ -34,8 +50,13 @@
34
50
  "./styles.css": "./dist/styles/tokens.css",
35
51
  "./tailwind-theme.css": "./dist/styles/tokens.css"
36
52
  },
53
+ "bin": {
54
+ "cycle": "./bin/init.mjs"
55
+ },
37
56
  "files": [
38
57
  "dist",
58
+ "bin",
59
+ "cli",
39
60
  "README.md",
40
61
  "LICENSE"
41
62
  ],
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/components/ui/progress.tsx"],"names":["ProgressPrimitive"],"mappings":";;;;;;AAUA,IAAM,gBAAA,GAAmB,GAAA;AAAA,EACvB,gEAAA;AAAA,EACA;AAAA,IACE,QAAA,EAAU;AAAA,MACR,IAAA,EAAM;AAAA,QACJ,EAAA,EAAI,KAAA;AAAA,QACJ,EAAA,EAAI,OAAA;AAAA,QACJ,OAAA,EAAS,KAAA;AAAA,QACT,EAAA,EAAI;AAAA;AACN,KACF;AAAA,IACA,eAAA,EAAiB;AAAA,MACf,IAAA,EAAM;AAAA;AACR;AAEJ;AAIA,IAAM,iBAAA,GAAoB,GAAA;AAAA,EACxB,kDAAA;AAAA,EACA;AAAA,IACE,QAAA,EAAU;AAAA,MACR,OAAA,EAAS;AAAA,QACP,OAAA,EAAS,YAAA;AAAA,QACT,SAAA,EAAW,cAAA;AAAA,QACX,WAAA,EAAa,gBAAA;AAAA,QACb,KAAA,EAAO;AAAA;AACT,KACF;AAAA,IACA,eAAA,EAAiB;AAAA,MACf,OAAA,EAAS;AAAA;AACX;AAEJ;AAUA,SAAS,SAAS,EAAA,EAOA;AAPA,EAAA,IAAA,EAAA,GAAA,EAAA,EAChB;AAAA,IAAA,SAAA;AAAA,IACA,KAAA;AAAA,IACA,IAAA;AAAA,IACA,OAAA;AAAA,IACA;AAAA,GA3DF,GAsDkB,EAAA,EAMb,KAAA,GAAA,SAAA,CANa,EAAA,EAMb;AAAA,IALH,WAAA;AAAA,IACA,OAAA;AAAA,IACA,MAAA;AAAA,IACA,SAAA;AAAA,IACA;AAAA,GAAA,CAAA;AAGA,EAAA,uBACE,GAAA;AAAA,IAACA,UAAA,CAAkB,IAAA;AAAA,IAAlB,aAAA,CAAA,cAAA,CAAA;AAAA,MACC,WAAA,EAAU,UAAA;AAAA,MACV,WAAW,EAAA,CAAG,gBAAA,CAAiB,EAAE,IAAA,EAAM,GAAG,SAAS;AAAA,KAAA,EAC/C,KAAA,CAAA,EAHL;AAAA,MAKC,QAAA,kBAAA,GAAA;AAAA,QAACA,UAAA,CAAkB,SAAA;AAAA,QAAlB;AAAA,UACC,WAAA,EAAU,oBAAA;AAAA,UACV,WAAW,EAAA,CAAG,KAAA,EAAO,kBAAkB,EAAE,OAAA,EAAS,CAAC,CAAA;AAAA,UACnD,OAAO,EAAE,SAAA,EAAW,eAAe,GAAA,IAAO,KAAA,IAAS,EAAE,CAAA,EAAA,CAAA;AAAK;AAAA;AAC5D,KAAA;AAAA,GACF;AAEJ","file":"chunk-PM6ZUCMQ.js","sourcesContent":["\"use client\"\n\nimport * as React from \"react\"\nimport { Progress as ProgressPrimitive } from \"radix-ui\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\n/* ─── Track variants ─── */\n\nconst progressVariants = cva(\n \"relative w-full overflow-hidden rounded-full bg-neutral-accent\",\n {\n variants: {\n size: {\n xs: \"h-1\",\n sm: \"h-1.5\",\n default: \"h-2\",\n lg: \"h-3\",\n },\n },\n defaultVariants: {\n size: \"default\",\n },\n }\n)\n\n/* ─── Indicator variants ─── */\n\nconst indicatorVariants = cva(\n \"h-full w-full flex-1 rounded-full transition-all\",\n {\n variants: {\n variant: {\n default: \"bg-primary\",\n secondary: \"bg-secondary\",\n destructive: \"bg-destructive\",\n muted: \"bg-muted-foreground\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n },\n }\n)\n\nexport interface ProgressProps\n extends Omit<React.ComponentProps<typeof ProgressPrimitive.Root>, \"children\">,\n VariantProps<typeof progressVariants>,\n VariantProps<typeof indicatorVariants> {\n /** Classe de tema aplicada apenas no indicator (ex: \"theme-class\") */\n theme?: string\n}\n\nfunction Progress({\n className,\n value,\n size,\n variant,\n theme,\n ...props\n}: ProgressProps) {\n return (\n <ProgressPrimitive.Root\n data-slot=\"progress\"\n className={cn(progressVariants({ size }), className)}\n {...props}\n >\n <ProgressPrimitive.Indicator\n data-slot=\"progress-indicator\"\n className={cn(theme, indicatorVariants({ variant }))}\n style={{ transform: `translateX(-${100 - (value || 0)}%)` }}\n />\n </ProgressPrimitive.Root>\n )\n}\n\nexport { Progress, progressVariants, indicatorVariants }\n"]}