@xetwa/design-system 1.0.2 → 1.0.4
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
name: Publicar no NPM
|
|
1
|
+
name: Publicar no NPM
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
|
-
- main
|
|
6
|
+
- main
|
|
7
7
|
|
|
8
8
|
jobs:
|
|
9
9
|
publish:
|
|
@@ -15,7 +15,7 @@ jobs:
|
|
|
15
15
|
- name: Configurar Node.js
|
|
16
16
|
uses: actions/setup-node@v4
|
|
17
17
|
with:
|
|
18
|
-
node-
|
|
18
|
+
node-version: '20'
|
|
19
19
|
registry-url: 'https://registry.npmjs.org'
|
|
20
20
|
|
|
21
21
|
- name: Instalar Dependências
|
|
@@ -27,4 +27,4 @@ jobs:
|
|
|
27
27
|
- name: Publicar no NPM
|
|
28
28
|
run: npm publish --access public
|
|
29
29
|
env:
|
|
30
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
30
|
+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/package.json
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xetwa/design-system",
|
|
3
|
-
"
|
|
4
|
-
"version": "1.0.2",
|
|
3
|
+
"version": "1.0.4",
|
|
5
4
|
"type": "module",
|
|
6
5
|
"publishConfig": {
|
|
7
6
|
"access": "public"
|
|
8
7
|
},
|
|
8
|
+
"main": "src/index.ts",
|
|
9
|
+
"types": "src/index.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./src/index.ts",
|
|
13
|
+
"import": "./src/index.ts",
|
|
14
|
+
"default": "./src/index.ts"
|
|
15
|
+
},
|
|
16
|
+
"./*": "./*"
|
|
17
|
+
},
|
|
9
18
|
"scripts": {
|
|
10
19
|
"dev": "vite",
|
|
11
20
|
"build": "vite build",
|
|
@@ -17,14 +26,21 @@
|
|
|
17
26
|
"dependencies": {
|
|
18
27
|
"@tailwindcss/vite": "^4.3.1",
|
|
19
28
|
"lucide-react-native": "^1.21.0",
|
|
29
|
+
"tailwindcss": "^4.3.1"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"react": "*",
|
|
33
|
+
"react-dom": "*",
|
|
34
|
+
"react-native": "*",
|
|
35
|
+
"react-native-svg": "*",
|
|
36
|
+
"react-native-web": "*"
|
|
37
|
+
},
|
|
38
|
+
"devDependencies": {
|
|
20
39
|
"react": "^19.2.6",
|
|
21
40
|
"react-dom": "^19.2.6",
|
|
22
41
|
"react-native": "^0.86.0",
|
|
23
|
-
"react-native-svg": "^15.15.5",
|
|
24
42
|
"react-native-web": "^0.21.2",
|
|
25
|
-
"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
43
|
+
"react-native-svg": "^15.15.5",
|
|
28
44
|
"@chromatic-com/storybook": "^5.2.1",
|
|
29
45
|
"@eslint/js": "^10.0.1",
|
|
30
46
|
"@storybook/addon-a11y": "^10.4.6",
|
|
@@ -7,10 +7,11 @@ import { theme } from '../../../styles/theme';
|
|
|
7
7
|
import { useState } from 'react';
|
|
8
8
|
import { Typography } from '../../Typography/Typography';
|
|
9
9
|
|
|
10
|
+
// Trigger
|
|
10
11
|
const meta = {
|
|
11
12
|
title: 'Components/Cards/AnswerOptionCard',
|
|
12
13
|
component: AnswerOptionCard,
|
|
13
|
-
parameters: {
|
|
14
|
+
parameters: {
|
|
14
15
|
layout: 'padded',
|
|
15
16
|
docs: {
|
|
16
17
|
description: {
|
|
@@ -146,7 +147,7 @@ export const InteractiveDemo: Story = {
|
|
|
146
147
|
>
|
|
147
148
|
<Typography style={{ color: 'white', fontWeight: 'bold' }}>Verificar Resposta</Typography>
|
|
148
149
|
</Pressable>
|
|
149
|
-
|
|
150
|
+
|
|
150
151
|
<Pressable
|
|
151
152
|
style={{
|
|
152
153
|
flex: 1,
|