@fluencypassdevs/pulse 0.1.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.
- package/dist/buttons/cta-brand.d.ts +39 -0
- package/dist/buttons/cta-brand.js +8 -0
- package/dist/buttons/cta-brand.js.map +1 -0
- package/dist/buttons/index.d.ts +5 -0
- package/dist/buttons/index.js +10 -0
- package/dist/buttons/index.js.map +1 -0
- package/dist/buttons/link-brand.d.ts +39 -0
- package/dist/buttons/link-brand.js +6 -0
- package/dist/buttons/link-brand.js.map +1 -0
- package/dist/chunk-2NMEKWO5.js +35 -0
- package/dist/chunk-2NMEKWO5.js.map +1 -0
- package/dist/chunk-44ESRMDK.js +56 -0
- package/dist/chunk-44ESRMDK.js.map +1 -0
- package/dist/chunk-5OLUQZFV.js +27 -0
- package/dist/chunk-5OLUQZFV.js.map +1 -0
- package/dist/chunk-CHSR2ETD.js +24 -0
- package/dist/chunk-CHSR2ETD.js.map +1 -0
- package/dist/chunk-CNVIYLIS.js +3 -0
- package/dist/chunk-CNVIYLIS.js.map +1 -0
- package/dist/chunk-EFZL6LLI.js +3 -0
- package/dist/chunk-EFZL6LLI.js.map +1 -0
- package/dist/chunk-EQHE53IC.js +3 -0
- package/dist/chunk-EQHE53IC.js.map +1 -0
- package/dist/chunk-GQURTO6D.js +29 -0
- package/dist/chunk-GQURTO6D.js.map +1 -0
- package/dist/chunk-JK3UYOM2.js +49 -0
- package/dist/chunk-JK3UYOM2.js.map +1 -0
- package/dist/chunk-KIXWOUY4.js +82 -0
- package/dist/chunk-KIXWOUY4.js.map +1 -0
- package/dist/chunk-KWQHWZI7.js +74 -0
- package/dist/chunk-KWQHWZI7.js.map +1 -0
- package/dist/chunk-OHRYR7PN.js +37 -0
- package/dist/chunk-OHRYR7PN.js.map +1 -0
- package/dist/chunk-PGXSBSQT.js +57 -0
- package/dist/chunk-PGXSBSQT.js.map +1 -0
- package/dist/chunk-RSCKN557.js +29 -0
- package/dist/chunk-RSCKN557.js.map +1 -0
- package/dist/chunk-SDJ6HXPX.js +48 -0
- package/dist/chunk-SDJ6HXPX.js.map +1 -0
- package/dist/chunk-SDPIL7HA.js +65 -0
- package/dist/chunk-SDPIL7HA.js.map +1 -0
- package/dist/chunk-SGFTGHM5.js +3 -0
- package/dist/chunk-SGFTGHM5.js.map +1 -0
- package/dist/chunk-T7EIAVSF.js +18 -0
- package/dist/chunk-T7EIAVSF.js.map +1 -0
- package/dist/chunk-VNGGZL6V.js +105 -0
- package/dist/chunk-VNGGZL6V.js.map +1 -0
- package/dist/chunk-W4KJCBMW.js +11 -0
- package/dist/chunk-W4KJCBMW.js.map +1 -0
- package/dist/chunk-WVYPNZFL.js +77 -0
- package/dist/chunk-WVYPNZFL.js.map +1 -0
- package/dist/chunk-WZIXM2X2.js +55 -0
- package/dist/chunk-WZIXM2X2.js.map +1 -0
- package/dist/chunk-XGV5OIPX.js +33 -0
- package/dist/chunk-XGV5OIPX.js.map +1 -0
- package/dist/chunk-YVBHOWUJ.js +3 -0
- package/dist/chunk-YVBHOWUJ.js.map +1 -0
- package/dist/chunk-YYH3A42F.js +24 -0
- package/dist/chunk-YYH3A42F.js.map +1 -0
- package/dist/chunk-ZRJFO4OW.js +26 -0
- package/dist/chunk-ZRJFO4OW.js.map +1 -0
- package/dist/effects/card-dark-glow.d.ts +30 -0
- package/dist/effects/card-dark-glow.js +6 -0
- package/dist/effects/card-dark-glow.js.map +1 -0
- package/dist/effects/circle-glow.d.ts +26 -0
- package/dist/effects/circle-glow.js +6 -0
- package/dist/effects/circle-glow.js.map +1 -0
- package/dist/effects/hand-underline.d.ts +33 -0
- package/dist/effects/hand-underline.js +8 -0
- package/dist/effects/hand-underline.js.map +1 -0
- package/dist/effects/index.d.ts +7 -0
- package/dist/effects/index.js +14 -0
- package/dist/effects/index.js.map +1 -0
- package/dist/effects/magnetic-button.d.ts +36 -0
- package/dist/effects/magnetic-button.js +7 -0
- package/dist/effects/magnetic-button.js.map +1 -0
- package/dist/effects/marquee.d.ts +30 -0
- package/dist/effects/marquee.js +6 -0
- package/dist/effects/marquee.js.map +1 -0
- package/dist/effects/rotating-word.d.ts +40 -0
- package/dist/effects/rotating-word.js +7 -0
- package/dist/effects/rotating-word.js.map +1 -0
- package/dist/hooks/use-intersection.d.ts +34 -0
- package/dist/hooks/use-intersection.js +5 -0
- package/dist/hooks/use-intersection.js.map +1 -0
- package/dist/hooks/use-reduced-motion.d.ts +11 -0
- package/dist/hooks/use-reduced-motion.js +5 -0
- package/dist/hooks/use-reduced-motion.js.map +1 -0
- package/dist/index.d.ts +887 -0
- package/dist/index.js +1640 -0
- package/dist/index.js.map +1 -0
- package/dist/layout/index.d.ts +2 -0
- package/dist/layout/index.js +7 -0
- package/dist/layout/index.js.map +1 -0
- package/dist/layout/section.d.ts +36 -0
- package/dist/layout/section.js +6 -0
- package/dist/layout/section.js.map +1 -0
- package/dist/motion/animated-number.d.ts +35 -0
- package/dist/motion/animated-number.js +8 -0
- package/dist/motion/animated-number.js.map +1 -0
- package/dist/motion/index.d.ts +6 -0
- package/dist/motion/index.js +12 -0
- package/dist/motion/index.js.map +1 -0
- package/dist/motion/reveal-on-scroll.d.ts +27 -0
- package/dist/motion/reveal-on-scroll.js +8 -0
- package/dist/motion/reveal-on-scroll.js.map +1 -0
- package/dist/motion/smooth-anchor.d.ts +31 -0
- package/dist/motion/smooth-anchor.js +5 -0
- package/dist/motion/smooth-anchor.js.map +1 -0
- package/dist/motion/stagger-reveal.d.ts +30 -0
- package/dist/motion/stagger-reveal.js +8 -0
- package/dist/motion/stagger-reveal.js.map +1 -0
- package/dist/styles/foundation.css +79 -0
- package/dist/styles/styles.css +1221 -0
- package/dist/typography/hero-heading.d.ts +25 -0
- package/dist/typography/hero-heading.js +6 -0
- package/dist/typography/hero-heading.js.map +1 -0
- package/dist/typography/index.d.ts +5 -0
- package/dist/typography/index.js +10 -0
- package/dist/typography/index.js.map +1 -0
- package/dist/typography/section-eyebrow.d.ts +21 -0
- package/dist/typography/section-eyebrow.js +6 -0
- package/dist/typography/section-eyebrow.js.map +1 -0
- package/dist/typography/section-heading.d.ts +37 -0
- package/dist/typography/section-heading.js +6 -0
- package/dist/typography/section-heading.js.map +1 -0
- package/dist/typography/section-subtitle.d.ts +19 -0
- package/dist/typography/section-subtitle.js +6 -0
- package/dist/typography/section-subtitle.js.map +1 -0
- package/package.json +103 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
type HeroHeadingTag = "h1" | "h2" | "div";
|
|
4
|
+
interface HeroHeadingProps extends Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> {
|
|
5
|
+
/** Tag renderizada. Default `"h1"`. */
|
|
6
|
+
as?: HeroHeadingTag;
|
|
7
|
+
/** Alinhamento horizontal. Default `"left"`. */
|
|
8
|
+
align?: "left" | "center";
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Titulo dramatico de hero — sizes grandes, weight bold, leading apertado
|
|
12
|
+
* (1.07) pra dar "punch" visual. Use no `<h1>` da primeira dobra de landings.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* <HeroHeading>
|
|
16
|
+
* Acelere o ingles do seu time
|
|
17
|
+
* </HeroHeading>
|
|
18
|
+
*
|
|
19
|
+
* <HeroHeading align="center">
|
|
20
|
+
* Aprenda <RotatingWord words={["rapido", "facil"]} /> com IA
|
|
21
|
+
* </HeroHeading>
|
|
22
|
+
*/
|
|
23
|
+
declare const HeroHeading: React.ForwardRefExoticComponent<HeroHeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
24
|
+
|
|
25
|
+
export { HeroHeading, type HeroHeadingProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"hero-heading.js"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { HeroHeading, HeroHeadingProps } from './hero-heading.js';
|
|
2
|
+
export { SectionHeading, SectionHeadingProps } from './section-heading.js';
|
|
3
|
+
export { SectionEyebrow, SectionEyebrowProps } from './section-eyebrow.js';
|
|
4
|
+
export { SectionSubtitle, SectionSubtitleProps } from './section-subtitle.js';
|
|
5
|
+
import 'react';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import '../chunk-CNVIYLIS.js';
|
|
3
|
+
export { HeroHeading } from '../chunk-GQURTO6D.js';
|
|
4
|
+
export { SectionHeading } from '../chunk-RSCKN557.js';
|
|
5
|
+
export { SectionEyebrow } from '../chunk-5OLUQZFV.js';
|
|
6
|
+
export { SectionSubtitle } from '../chunk-ZRJFO4OW.js';
|
|
7
|
+
import '../chunk-W4KJCBMW.js';
|
|
8
|
+
import '../chunk-2NMEKWO5.js';
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
type SectionEyebrowTag = "p" | "span" | "div";
|
|
4
|
+
interface SectionEyebrowProps extends React.HTMLAttributes<HTMLElement> {
|
|
5
|
+
/** Tag renderizada. Default `"p"`. */
|
|
6
|
+
as?: SectionEyebrowTag;
|
|
7
|
+
/** Alinhamento. Default `"left"`. */
|
|
8
|
+
align?: "left" | "center";
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Rotulo monospace acima do `SectionHeading` — funciona como "eyebrow" que
|
|
12
|
+
* categoriza a dobra (ex: "Nossa solucao", "Para empresas"). Tipografia
|
|
13
|
+
* conservadora pra nao competir com o heading principal.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* <SectionEyebrow align="center">Para empresas</SectionEyebrow>
|
|
17
|
+
* <SectionHeading>Acelere o ingles do seu time</SectionHeading>
|
|
18
|
+
*/
|
|
19
|
+
declare const SectionEyebrow: React.ForwardRefExoticComponent<SectionEyebrowProps & React.RefAttributes<HTMLElement>>;
|
|
20
|
+
|
|
21
|
+
export { SectionEyebrow, type SectionEyebrowProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"section-eyebrow.js"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
type SectionHeadingTag = "h2" | "h3";
|
|
4
|
+
interface SectionHeadingProps extends Omit<React.HTMLAttributes<HTMLHeadingElement>, "color"> {
|
|
5
|
+
/** Tag renderizada. Default `"h2"`. */
|
|
6
|
+
as?: SectionHeadingTag;
|
|
7
|
+
/**
|
|
8
|
+
* Peso/intencao visual:
|
|
9
|
+
* - `"light"` (default): `font-light` — elegante, usual em maioria das dobras.
|
|
10
|
+
* - `"bold"`: `font-bold` — impacto, usado em momentos de virada (quebra).
|
|
11
|
+
*/
|
|
12
|
+
weight?: "light" | "bold";
|
|
13
|
+
/** Alinhamento. Default `"center"`. */
|
|
14
|
+
align?: "left" | "center";
|
|
15
|
+
/**
|
|
16
|
+
* Largura maxima do bloco de texto:
|
|
17
|
+
* - `"wide"` (default): `max-w-5xl` — usual centro/elegante.
|
|
18
|
+
* - `"prose"`: `max-w-3xl` — quando o titulo e mais conciso.
|
|
19
|
+
*/
|
|
20
|
+
maxW?: "wide" | "prose";
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Titulo de dobra de landing. Dois pesos principais (`light` elegante vs `bold`
|
|
24
|
+
* impacto). Pareie com `SectionEyebrow` acima e `SectionSubtitle` abaixo.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* <SectionHeading>
|
|
28
|
+
* Conteudo, professores e <strong>tecnologia</strong> no mesmo lugar
|
|
29
|
+
* </SectionHeading>
|
|
30
|
+
*
|
|
31
|
+
* <SectionHeading weight="bold" align="left" maxW="prose">
|
|
32
|
+
* Mude o jeito de aprender ingles
|
|
33
|
+
* </SectionHeading>
|
|
34
|
+
*/
|
|
35
|
+
declare const SectionHeading: React.ForwardRefExoticComponent<SectionHeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
36
|
+
|
|
37
|
+
export { SectionHeading, type SectionHeadingProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"section-heading.js"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
interface SectionSubtitleProps extends React.HTMLAttributes<HTMLParagraphElement> {
|
|
4
|
+
/** Alinhamento. Default `"center"`. */
|
|
5
|
+
align?: "left" | "center";
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Body de apoio abaixo do `SectionHeading` — explica ou complementa o titulo
|
|
9
|
+
* em uma frase. Cor muted, leading relaxado, max-width que evita linhas longas.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* <SectionHeading>Nossa solucao em 3 passos</SectionHeading>
|
|
13
|
+
* <SectionSubtitle>
|
|
14
|
+
* Do diagnostico ao certificado, num caminho desenhado pra resultado.
|
|
15
|
+
* </SectionSubtitle>
|
|
16
|
+
*/
|
|
17
|
+
declare const SectionSubtitle: React.ForwardRefExoticComponent<SectionSubtitleProps & React.RefAttributes<HTMLParagraphElement>>;
|
|
18
|
+
|
|
19
|
+
export { SectionSubtitle, type SectionSubtitleProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"section-subtitle.js"}
|
package/package.json
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fluencypassdevs/pulse",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Pulse Design System — marketing/conversão da Fluencypass. Irmão do Cycle (produto): mesma fundação de marca e primitivos core embutidos, componentes e premissas próprios de marketing.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/Fluencypass/Cycle.git",
|
|
9
|
+
"directory": "packages/pulse"
|
|
10
|
+
},
|
|
11
|
+
"type": "module",
|
|
12
|
+
"sideEffects": [
|
|
13
|
+
"**/*.css"
|
|
14
|
+
],
|
|
15
|
+
"main": "./dist/index.js",
|
|
16
|
+
"module": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"import": "./dist/index.js",
|
|
21
|
+
"types": "./dist/index.d.ts"
|
|
22
|
+
},
|
|
23
|
+
"./motion": {
|
|
24
|
+
"import": "./dist/motion/index.js",
|
|
25
|
+
"types": "./dist/motion/index.d.ts"
|
|
26
|
+
},
|
|
27
|
+
"./motion/*": {
|
|
28
|
+
"import": "./dist/motion/*.js",
|
|
29
|
+
"types": "./dist/motion/*.d.ts"
|
|
30
|
+
},
|
|
31
|
+
"./layout": {
|
|
32
|
+
"import": "./dist/layout/index.js",
|
|
33
|
+
"types": "./dist/layout/index.d.ts"
|
|
34
|
+
},
|
|
35
|
+
"./layout/*": {
|
|
36
|
+
"import": "./dist/layout/*.js",
|
|
37
|
+
"types": "./dist/layout/*.d.ts"
|
|
38
|
+
},
|
|
39
|
+
"./typography": {
|
|
40
|
+
"import": "./dist/typography/index.js",
|
|
41
|
+
"types": "./dist/typography/index.d.ts"
|
|
42
|
+
},
|
|
43
|
+
"./typography/*": {
|
|
44
|
+
"import": "./dist/typography/*.js",
|
|
45
|
+
"types": "./dist/typography/*.d.ts"
|
|
46
|
+
},
|
|
47
|
+
"./effects": {
|
|
48
|
+
"import": "./dist/effects/index.js",
|
|
49
|
+
"types": "./dist/effects/index.d.ts"
|
|
50
|
+
},
|
|
51
|
+
"./effects/*": {
|
|
52
|
+
"import": "./dist/effects/*.js",
|
|
53
|
+
"types": "./dist/effects/*.d.ts"
|
|
54
|
+
},
|
|
55
|
+
"./buttons": {
|
|
56
|
+
"import": "./dist/buttons/index.js",
|
|
57
|
+
"types": "./dist/buttons/index.d.ts"
|
|
58
|
+
},
|
|
59
|
+
"./buttons/*": {
|
|
60
|
+
"import": "./dist/buttons/*.js",
|
|
61
|
+
"types": "./dist/buttons/*.d.ts"
|
|
62
|
+
},
|
|
63
|
+
"./hooks/*": {
|
|
64
|
+
"import": "./dist/hooks/*.js",
|
|
65
|
+
"types": "./dist/hooks/*.d.ts"
|
|
66
|
+
},
|
|
67
|
+
"./styles.css": "./dist/styles/styles.css",
|
|
68
|
+
"./tokens.css": "./dist/styles/foundation.css"
|
|
69
|
+
},
|
|
70
|
+
"files": [
|
|
71
|
+
"dist",
|
|
72
|
+
"README.md",
|
|
73
|
+
"LICENSE"
|
|
74
|
+
],
|
|
75
|
+
"scripts": {
|
|
76
|
+
"build:lib": "tsup && node scripts/build-styles.mjs && node scripts/add-use-client-prefix.mjs",
|
|
77
|
+
"prepublishOnly": "npm --prefix ../.. run build:pulse"
|
|
78
|
+
},
|
|
79
|
+
"peerDependencies": {
|
|
80
|
+
"react": "^18.0.0 || ^19.0.0",
|
|
81
|
+
"react-dom": "^18.0.0 || ^19.0.0",
|
|
82
|
+
"tailwindcss": "^4.0.0"
|
|
83
|
+
},
|
|
84
|
+
"peerDependenciesMeta": {
|
|
85
|
+
"tailwindcss": {
|
|
86
|
+
"optional": true
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"dependencies": {
|
|
90
|
+
"class-variance-authority": "^0.7.1",
|
|
91
|
+
"clsx": "^2.1.1",
|
|
92
|
+
"lucide-react": "^0.577.0",
|
|
93
|
+
"radix-ui": "^1.4.3",
|
|
94
|
+
"tailwind-merge": "^3.5.0"
|
|
95
|
+
},
|
|
96
|
+
"devDependencies": {
|
|
97
|
+
"@types/node": "^20",
|
|
98
|
+
"@types/react": "^19",
|
|
99
|
+
"@types/react-dom": "^19",
|
|
100
|
+
"tsup": "^8.5.1",
|
|
101
|
+
"typescript": "^5"
|
|
102
|
+
}
|
|
103
|
+
}
|