pipesol-button 1.0.2 → 1.0.9
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 +38 -31
- package/dist/components/StyledButton.d.ts +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +61 -50
- package/dist/components/ButtonStyled.d.ts +0 -18
- package/dist/components/ButtonStyled.js +0 -56
- package/dist/components/ButtonStyled.js.map +0 -1
- package/dist/components/NavigationButtonMotion.d.ts +0 -19
- package/dist/components/NavigationButtonMotion.js +0 -64
- package/dist/components/NavigationButtonMotion.js.map +0 -1
- package/dist/components/NavigationHamburguerButton.d.ts +0 -17
- package/dist/components/NavigationHamburguerButton.js +0 -33
- package/dist/components/NavigationHamburguerButton.js.map +0 -1
- package/dist/components/PrimaryButton.d.ts +0 -37
- package/dist/components/PrimaryButton.js +0 -48
- package/dist/components/PrimaryButton.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,31 +1,38 @@
|
|
|
1
|
-
# Sobre
|
|
2
|
-
|
|
3
|
-
Este projeto é uma biblioteca React preparada para publicação no npm.
|
|
4
|
-
Essa biblioteca contem componentes de
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
1
|
+
# Sobre
|
|
2
|
+
|
|
3
|
+
Este projeto é uma biblioteca React preparada para publicação no npm.
|
|
4
|
+
Essa biblioteca contem componentes de botao.
|
|
5
|
+
|
|
6
|
+
Abaixo está o passo a passo para publicar ou atualizar a lib.
|
|
7
|
+
|
|
8
|
+
# Pré-requisitos
|
|
9
|
+
|
|
10
|
+
1. Node.js instalado
|
|
11
|
+
- Recomenda-se uma versão LTS. Verifique com: node -v
|
|
12
|
+
|
|
13
|
+
# Como Publicar a biblioteca:
|
|
14
|
+
|
|
15
|
+
1. Instalar dependências: npm install
|
|
16
|
+
|
|
17
|
+
2. No package.json, altere o campo version de acordo com a semântica de versionamento.
|
|
18
|
+
1.0.1 – correção de bug
|
|
19
|
+
1.1.0 – nova funcionalidade compatível
|
|
20
|
+
2.0.0 – mudanças incompatíveis
|
|
21
|
+
|
|
22
|
+
- para publicar versão beta: "1.0.0-beta.x"
|
|
23
|
+
|
|
24
|
+
3. Este pacote é publicado exclusivamente via CI/CD (GitHub Actions).
|
|
25
|
+
|
|
26
|
+
- Releases são disparados apenas por tags Git (vX.Y.Z)
|
|
27
|
+
- Publicações manuais (npm publish) são desabilitadas
|
|
28
|
+
- A autenticação no npm utiliza Trusted Publishing (OIDC)
|
|
29
|
+
- Nenhum token npm é armazenado ou utilizado
|
|
30
|
+
- Tokens de publicação estão explicitamente desabilitados
|
|
31
|
+
- Autenticação em dois fatores (2FA) é obrigatória
|
|
32
|
+
- Versionamento segue Semantic Versioning (SemVer)
|
|
33
|
+
|
|
34
|
+
Esse modelo garante publicações seguras, rastreáveis e reprodutíveis.
|
|
35
|
+
|
|
36
|
+
# Comando:
|
|
37
|
+
|
|
38
|
+
1. npm view pipesol-button versions --json - verifica todas as versões publicadas no npm.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ButtonKind } from "@/types/ButtonKind";
|
|
2
|
-
export declare const StyledButtonKind: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "
|
|
2
|
+
export declare const StyledButtonKind: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "style" | "color" | "children" | "sx" | "className" | "tabIndex" | "classes" | "href" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "loading" | "loadingIndicator" | "size" | "variant" | "disableElevation" | "endIcon" | "fullWidth" | "loadingPosition" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
3
3
|
kind: ButtonKind;
|
|
4
4
|
width?: string;
|
|
5
5
|
height?: string;
|