@consumidor-positivo/aurora 3.0.1 → 3.2.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/assets/section-app/default-score-desktop.png +0 -0
- package/assets/section-app/default-score-mobile.png +0 -0
- package/assets/section-app/re-score-desktop.png +0 -0
- package/assets/section-app/re-score-mobile.png +0 -0
- package/astro/BadgeState/index.astro +4 -0
- package/astro/DropdownItem/index.astro +121 -0
- package/astro/EmptyState/index.astro +134 -0
- package/astro/FeedbackPage/index.astro +112 -0
- package/astro/FileUpload/Preview/index.astro +102 -0
- package/astro/FileUpload/Root/index.astro +205 -0
- package/astro/ListRow/index.astro +237 -0
- package/astro/Logo/ac/BadgeWhiteStroke.astro +1 -0
- package/astro/Logo/cp/BadgeWhiteStroke.astro +1 -1
- package/astro/SearchBar/index.astro +480 -0
- package/astro/SectionApp/index.astro +202 -0
- package/astro/form/Checkbox/Field/index.astro +1 -1
- package/astro/form/Field/ErrorMessage/index.astro +1 -1
- package/astro/form/Field/Input/index.astro +1 -1
- package/astro/form/Field/InputHolder/index.astro +1 -1
- package/astro/form/Field/Label/index.astro +1 -1
- package/astro/form/Field/Message/index.astro +1 -1
- package/astro/form/Field/Root/index.astro +1 -1
- package/astro/form/Field/TextArea/index.astro +1 -1
- package/dist/{BadgeWhite-CkZPPGmT.js → BadgeWhite-BjdKCzB3.js} +3 -2
- package/dist/{BadgeWhite-CkZPPGmT.js.map → BadgeWhite-BjdKCzB3.js.map} +1 -1
- package/dist/components/DropdownItem/index.d.ts +25 -0
- package/dist/components/DropdownItem/index.es.js +89 -0
- package/dist/components/DropdownItem/index.es.js.map +1 -0
- package/dist/components/DropdownItem/styles.css +1 -0
- package/dist/components/EmptyState/index.d.ts +37 -0
- package/dist/components/EmptyState/index.es.js +67 -0
- package/dist/components/EmptyState/index.es.js.map +1 -0
- package/dist/components/EmptyState/styles.css +1 -0
- package/dist/components/FeedbackPage/index.d.ts +26 -0
- package/dist/components/FeedbackPage/index.es.js +64 -0
- package/dist/components/FeedbackPage/index.es.js.map +1 -0
- package/dist/components/FeedbackPage/styles.css +1 -0
- package/dist/components/Field/styles.css +1 -1
- package/dist/components/Field/styles2.css +1 -1
- package/dist/components/FileUpload/Preview/index.d.ts +30 -0
- package/dist/components/FileUpload/Preview/index.es.js +48 -0
- package/dist/components/FileUpload/Preview/index.es.js.map +1 -0
- package/dist/components/FileUpload/Root/index.d.ts +40 -0
- package/dist/components/FileUpload/Root/index.es.js +132 -0
- package/dist/components/FileUpload/Root/index.es.js.map +1 -0
- package/dist/components/FileUpload/index.d.ts +10 -0
- package/dist/components/FileUpload/index.es.js +15 -0
- package/dist/components/FileUpload/index.es.js.map +1 -0
- package/dist/components/Footer/index.es.js +2 -74
- package/dist/components/Footer/index.es.js.map +1 -1
- package/dist/components/ListRow/index.d.ts +65 -0
- package/dist/components/ListRow/index.es.js +134 -0
- package/dist/components/ListRow/index.es.js.map +1 -0
- package/dist/components/ListRow/styles.css +1 -0
- package/dist/components/Logo/index.es.js +1 -1
- package/dist/components/SearchBar/hooks.d.ts +42 -0
- package/dist/components/SearchBar/index.d.ts +3 -0
- package/dist/components/SearchBar/index.es.js +336 -0
- package/dist/components/SearchBar/index.es.js.map +1 -0
- package/dist/components/SearchBar/styles.css +1 -0
- package/dist/components/SearchBar/types.d.ts +47 -0
- package/dist/components/SectionApp/index.d.ts +39 -0
- package/dist/components/SectionApp/index.es.js +95 -0
- package/dist/components/SectionApp/index.es.js.map +1 -0
- package/dist/components/SectionApp/styles.css +1 -0
- package/dist/components/form/Checkbox/Field/index.es.js +1 -1
- package/dist/components/form/Field/index.es.js +1 -1
- package/dist/components/styles/styles.css +1 -0
- package/dist/data-CpVzbjKR.js +81 -0
- package/dist/data-CpVzbjKR.js.map +1 -0
- package/dist/main.d.ts +7 -0
- package/dist/main.es.js +15 -1
- package/dist/main.es.js.map +1 -1
- package/package.json +5 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.au-section-app{display:flex;flex-direction:column;width:100%;box-sizing:border-box;background-color:#fff;font-family:"Source Sans 3",sans-serif;text-align:start}.au-section-app__content{display:flex;flex-direction:column;align-items:flex-start;gap:24px;padding:32px 24px 0;box-sizing:border-box}.au-section-app__logo{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:6px;box-sizing:border-box;overflow:hidden;border-radius:11.25px;background-color:#0048db;color:#fff}.au-section-app__logo img,.au-section-app__logo svg{display:block;width:100%;height:100%}.au-section-app__logo .au-logo{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.au-section-app__text{display:flex;flex-direction:column;gap:16px}.au-section-app__title{margin:0;color:#16181d}.au-section-app__description{margin:0;color:#454a54}.au-section-app__actions{display:flex;flex-direction:column;gap:24px}.au-section-app__stores{display:flex;flex-wrap:wrap;gap:8px}.au-section-app__store{display:block;width:133px;height:42px}.au-section-app__store img{display:block;width:100%;height:100%;object-fit:contain}.au-section-app__store:hover{opacity:.6}.au-section-app__actions-divider,.au-section-app__qr{display:none}.au-section-app__actions-divider{width:0;height:48px;border-left:1px solid #e2e4e9}.au-section-app__qr{align-items:center;gap:8px}.au-section-app__qr-image{display:block;flex:none;width:74px;height:74px}.au-section-app__qr-text{margin:0;max-width:180px;color:#454a54}.au-section-app__list{display:flex;flex-direction:column;gap:16px;margin:0;padding:0;list-style:none}.au-section-app__item{display:flex;align-items:flex-start;gap:16px}.au-section-app__marker{display:flex;flex:none;align-items:center;justify-content:center;width:24px;height:24px;border-radius:999px;background-color:#f6f7fa;color:#454a54;font-size:14px;font-weight:600;line-height:22px}.au-section-app__marker .au-icon,.au-section-app__marker .au-icon>svg{color:#0048db}.au-section-app__item-text{font-size:14px;font-weight:400;line-height:22px;color:#454a54}.au-section-app__image-area{display:flex;padding:24px;box-sizing:border-box}.au-section-app__image{display:flex;align-items:center;justify-content:center;width:272px;max-width:100%;aspect-ratio:272/368;padding:8px;box-sizing:border-box;overflow:hidden;border:1px solid #e2e4e9;border-radius:8px;background-color:#f6f7fa}.au-section-app__image img,.au-section-app__image svg{display:block;width:100%;height:auto}.au-section-app__image picture{display:contents}.au-section-app__image--filled{aspect-ratio:auto;padding:0;border:0;border-radius:0;background:none}.au-section-app--size-desktop{flex-direction:row;align-items:stretch;gap:24px}.au-section-app--size-desktop .au-section-app__content{flex:1 1 717px;min-width:0;max-width:717px;padding:64px 32px 64px 83px}.au-section-app--size-desktop .au-section-app__actions{flex-direction:row;align-items:center}.au-section-app--size-desktop .au-section-app__actions-divider{display:block}.au-section-app--size-desktop .au-section-app__qr{display:flex}.au-section-app--size-desktop .au-section-app__image-area{flex:1 1 649px;min-width:0;align-items:center;justify-content:center;padding:64px 83px 64px 32px}.au-section-app--size-desktop .au-section-app__image{width:534px;aspect-ratio:534/446}@media(min-width:1024px){.au-section-app:not(.au-section-app--size-mobile){flex-direction:row;align-items:stretch;gap:24px}.au-section-app:not(.au-section-app--size-mobile) .au-section-app__content{flex:1 1 717px;min-width:0;max-width:717px;padding:64px 32px 64px 83px}.au-section-app:not(.au-section-app--size-mobile) .au-section-app__actions{flex-direction:row;align-items:center}.au-section-app:not(.au-section-app--size-mobile) .au-section-app__actions-divider{display:block}.au-section-app:not(.au-section-app--size-mobile) .au-section-app__qr{display:flex}.au-section-app:not(.au-section-app--size-mobile) .au-section-app__image-area{flex:1 1 649px;min-width:0;align-items:center;justify-content:center;padding:64px 83px 64px 32px}.au-section-app:not(.au-section-app--size-mobile) .au-section-app__image{width:534px;aspect-ratio:534/446}}
|
|
@@ -6,7 +6,7 @@ import { IconCheck } from "../../../icons/IconCheck/index.es.js";
|
|
|
6
6
|
import { COLOR_NEUTRAL_00 } from "../../../../astro/tokens/index.es.js";
|
|
7
7
|
import Field from "../../Field/index.es.js";
|
|
8
8
|
import { Conditional } from "../../../misc/Conditional/index.es.js";
|
|
9
|
-
import '../../../Field/
|
|
9
|
+
import '../../../Field/styles2.css';const CheckboxField = ({
|
|
10
10
|
label,
|
|
11
11
|
error,
|
|
12
12
|
errorMessage,
|
|
@@ -5,7 +5,7 @@ import { FieldInputHolder } from "./InputHolder/index.es.js";
|
|
|
5
5
|
import { FieldLabel } from "./Label/index.es.js";
|
|
6
6
|
import { FieldRoot } from "./Root/index.es.js";
|
|
7
7
|
import { FieldTextArea } from "./TextArea/index.es.js";
|
|
8
|
-
import '../../Field/
|
|
8
|
+
import '../../Field/styles.css';const Field = {
|
|
9
9
|
Root: FieldRoot,
|
|
10
10
|
Input: FieldInput,
|
|
11
11
|
InputHolder: FieldInputHolder,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.au-file-upload{display:flex;flex-direction:column;width:100%}.au-file-upload__area{position:relative;display:flex;flex-direction:column;gap:12px;box-sizing:border-box;width:100%;font-family:"Source Sans 3",sans-serif}.au-file-upload--type-drag-drop .au-file-upload__area{align-items:center;padding:24px;text-align:center;background-color:#fff;border:1px dashed #c4c9d4;border-radius:16px;transition:background-color .3s ease,border-color .3s ease}.au-file-upload--type-drag-drop .au-file-upload__input{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.au-file-upload--type-drag-drop .au-file-upload__button{position:relative;z-index:1;margin-top:4px}.au-file-upload--type-drag-drop:not(.au-file-upload--disabled) .au-file-upload__area:hover,.au-file-upload--type-drag-drop.au-file-upload--dragging .au-file-upload__area{background-color:#f2f5fc;border-color:#0048db}.au-file-upload--type-drag-drop .au-file-upload__area:has(>.au-file-upload__input:focus-visible){border-style:solid;border-color:#0048db;outline:1px solid #0048db}.au-file-upload--type-drag-drop.au-file-upload--disabled .au-file-upload__area{background-color:#f6f7fa;border-color:#e2e4e9}.au-file-upload--type-drag-drop.au-file-upload--disabled .au-file-upload__input{cursor:default}.au-file-upload--type-button .au-file-upload__area{align-items:flex-start;gap:16px;text-align:start}.au-file-upload--type-button .au-file-upload__input{position:absolute;width:1px;height:1px;margin:0;overflow:hidden;opacity:0;pointer-events:none}.au-file-upload__icon{display:flex;align-items:center;justify-content:center}.au-file-upload__text{display:flex;flex-direction:column;gap:4px}.au-file-upload__title{font-size:14px;line-height:22px;font-weight:600;color:#454a54}.au-file-upload__helper{font-size:14px;line-height:22px;color:#5e6573}.au-file-upload--disabled .au-file-upload__title,.au-file-upload--disabled .au-file-upload__helper{color:#c4c9d4}.au-file-upload--disabled .au-file-upload__icon .au-icon,.au-file-upload--disabled .au-file-upload__icon .au-icon>svg{color:#c4c9d4}.au-file-upload__files{display:flex;flex-direction:column;gap:8px;margin-top:8px}.au-file-upload-preview{display:flex;flex-direction:column;gap:8px;box-sizing:border-box;width:100%;padding:12px 16px;font-family:"Source Sans 3",sans-serif;background-color:#fff;border:1px solid #e2e4e9;border-radius:8px}.au-file-upload-preview__row{display:flex;align-items:center;gap:12px}.au-file-upload-preview__icon{display:flex;flex-shrink:0;align-items:center;justify-content:center;width:40px;height:40px;background-color:#f6f7fa;border-radius:8px}.au-file-upload-preview__icon .au-icon,.au-file-upload-preview__icon .au-icon>svg{color:#313131}.au-file-upload-preview--error .au-file-upload-preview__icon{background-color:#ffe5e5}.au-file-upload-preview--error .au-file-upload-preview__icon .au-icon,.au-file-upload-preview--error .au-file-upload-preview__icon .au-icon>svg{color:#991717}.au-file-upload-preview__text{display:flex;flex:1;flex-direction:column;min-width:0}.au-file-upload-preview__name{overflow:hidden;font-size:14px;line-height:22px;font-weight:600;color:#454a54;text-overflow:ellipsis;white-space:nowrap}.au-file-upload-preview__description{font-size:12px;line-height:19px;color:#5e6573}.au-file-upload-preview__actions{display:flex;flex-shrink:0;align-items:center;gap:10px}.au-file-upload-preview__remove{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:8px;background-color:transparent;border:none;border-radius:999px;cursor:pointer;transition:background-color .3s ease}.au-file-upload-preview__remove:hover,.au-file-upload-preview__remove:focus-visible{background-color:#f2f5fc}.au-file-upload-preview__remove:active{background-color:#dce8ff}.au-file-upload-preview__error{font-size:12px;line-height:19px;color:#991717}.au-file-upload-preview__progress{width:100%}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import "./index-BW2ZU5Hx.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "./components/Icon/index.es.js";
|
|
5
|
+
import { IconFacebook } from "./components/icons/IconFacebook/index.es.js";
|
|
6
|
+
import { IconInstagram } from "./components/icons/IconInstagram/index.es.js";
|
|
7
|
+
import { IconLinkedin } from "./components/icons/IconLinkedin/index.es.js";
|
|
8
|
+
import { IconTiktok } from "./components/icons/IconTiktok/index.es.js";
|
|
9
|
+
import { IconYoutube } from "./components/icons/IconYoutube/index.es.js";
|
|
10
|
+
const certificatesMap = {
|
|
11
|
+
fintech2022: {
|
|
12
|
+
logo: "https://assets.acordocerto.com.br/f/114280/47x62/6ffd0990ed/fintech-2022.png",
|
|
13
|
+
name: "Melhores Fintechs 2022"
|
|
14
|
+
},
|
|
15
|
+
fintech2023: {
|
|
16
|
+
logo: "https://assets.acordocerto.com.br/f/114280/84x73/b48cc08aa5/fintech-2023.png",
|
|
17
|
+
name: "Melhores Fintechs 2023"
|
|
18
|
+
},
|
|
19
|
+
pcidss: {
|
|
20
|
+
logo: "https://assets.acordocerto.com.br/f/114280/85x36/8be091fa1c/pci-dss.png",
|
|
21
|
+
name: "PCI DSS Compliant"
|
|
22
|
+
},
|
|
23
|
+
quintessa: {
|
|
24
|
+
logo: "https://assets.acordocerto.com.br/f/114280/122x40/16f41476c0/quintessa.png",
|
|
25
|
+
name: "Quintessa"
|
|
26
|
+
},
|
|
27
|
+
ra1000: {
|
|
28
|
+
logo: "https://assets.acordocerto.com.br/f/114280/100x58/ad8bed26c8/ra1000.png",
|
|
29
|
+
name: "RA 1000"
|
|
30
|
+
},
|
|
31
|
+
reclameaqui: {
|
|
32
|
+
logo: "https://assets.acordocerto.com.br/f/114280/60x60/b85fcf03dd/reclame-aqui.png",
|
|
33
|
+
name: "Ótimo Reclame Aqui"
|
|
34
|
+
},
|
|
35
|
+
scaleup: {
|
|
36
|
+
logo: "https://assets.acordocerto.com.br/f/114280/104x50/07c8b89dbe/scale-up.png",
|
|
37
|
+
name: "Scale Up"
|
|
38
|
+
},
|
|
39
|
+
sslblindado: {
|
|
40
|
+
logo: "https://assets.acordocerto.com.br/f/114280/75x54/60734a2cc4/ssl-blindado.png",
|
|
41
|
+
name: "SSL Blindado"
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
const socialsMap = {
|
|
45
|
+
instagram: {
|
|
46
|
+
name: "Instagram",
|
|
47
|
+
icon: /* @__PURE__ */ jsx(IconInstagram, {})
|
|
48
|
+
},
|
|
49
|
+
facebook: {
|
|
50
|
+
name: "Facebook",
|
|
51
|
+
icon: /* @__PURE__ */ jsx(IconFacebook, {})
|
|
52
|
+
},
|
|
53
|
+
youtube: {
|
|
54
|
+
name: "Youtube",
|
|
55
|
+
icon: /* @__PURE__ */ jsx(IconYoutube, {})
|
|
56
|
+
},
|
|
57
|
+
linkedin: {
|
|
58
|
+
name: "Linkedin",
|
|
59
|
+
icon: /* @__PURE__ */ jsx(IconLinkedin, {})
|
|
60
|
+
},
|
|
61
|
+
tiktok: {
|
|
62
|
+
name: "TikTok",
|
|
63
|
+
icon: /* @__PURE__ */ jsx(IconTiktok, {})
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
const storesMap = {
|
|
67
|
+
googleplay: {
|
|
68
|
+
name: "Google Play",
|
|
69
|
+
icon: "https://assets.acordocerto.com.br/f/114280/117x36/e0e7eda65d/google-play.png"
|
|
70
|
+
},
|
|
71
|
+
appstore: {
|
|
72
|
+
name: "App Store",
|
|
73
|
+
icon: "https://assets.acordocerto.com.br/f/114280/117x36/38b0d1ecc9/app-store.png"
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
export {
|
|
77
|
+
storesMap as a,
|
|
78
|
+
certificatesMap as c,
|
|
79
|
+
socialsMap as s
|
|
80
|
+
};
|
|
81
|
+
//# sourceMappingURL=data-CpVzbjKR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"data-CpVzbjKR.js","sources":["../lib/components/Footer/data.tsx"],"sourcesContent":["import {\n IconInstagram,\n IconFacebook,\n IconYoutube,\n IconLinkedin,\n IconTiktok,\n} from '../icons'\n\nexport const certificatesMap = {\n fintech2022: {\n logo: 'https://assets.acordocerto.com.br/f/114280/47x62/6ffd0990ed/fintech-2022.png',\n name: 'Melhores Fintechs 2022',\n },\n fintech2023: {\n logo: 'https://assets.acordocerto.com.br/f/114280/84x73/b48cc08aa5/fintech-2023.png',\n name: 'Melhores Fintechs 2023',\n },\n pcidss: {\n logo: 'https://assets.acordocerto.com.br/f/114280/85x36/8be091fa1c/pci-dss.png',\n name: 'PCI DSS Compliant',\n },\n quintessa: {\n logo: 'https://assets.acordocerto.com.br/f/114280/122x40/16f41476c0/quintessa.png',\n name: 'Quintessa',\n },\n ra1000: {\n logo: 'https://assets.acordocerto.com.br/f/114280/100x58/ad8bed26c8/ra1000.png',\n name: 'RA 1000',\n },\n reclameaqui: {\n logo: 'https://assets.acordocerto.com.br/f/114280/60x60/b85fcf03dd/reclame-aqui.png',\n name: 'Ótimo Reclame Aqui',\n },\n scaleup: {\n logo: 'https://assets.acordocerto.com.br/f/114280/104x50/07c8b89dbe/scale-up.png',\n name: 'Scale Up',\n },\n sslblindado: {\n logo: 'https://assets.acordocerto.com.br/f/114280/75x54/60734a2cc4/ssl-blindado.png',\n name: 'SSL Blindado',\n },\n}\nexport const socialsMap = {\n instagram: {\n name: 'Instagram',\n icon: <IconInstagram />,\n },\n facebook: {\n name: 'Facebook',\n icon: <IconFacebook />,\n },\n youtube: {\n name: 'Youtube',\n icon: <IconYoutube />,\n },\n linkedin: {\n name: 'Linkedin',\n icon: <IconLinkedin />,\n },\n tiktok: {\n name: 'TikTok',\n icon: <IconTiktok />,\n },\n}\n\nexport const storesMap = {\n googleplay: {\n name: 'Google Play',\n icon: 'https://assets.acordocerto.com.br/f/114280/117x36/e0e7eda65d/google-play.png',\n },\n appstore: {\n name: 'App Store',\n icon: 'https://assets.acordocerto.com.br/f/114280/117x36/38b0d1ecc9/app-store.png',\n },\n}\n"],"names":[],"mappings":";;;;;;;;;AAQO,MAAM,kBAAkB;AAAA,EAC7B,aAAa;AAAA,IACX,MAAM;AAAA,IACN,MAAM;AAAA,EAAA;AAAA,EAER,aAAa;AAAA,IACX,MAAM;AAAA,IACN,MAAM;AAAA,EAAA;AAAA,EAER,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,EAAA;AAAA,EAER,WAAW;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,EAAA;AAAA,EAER,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,MAAM;AAAA,EAAA;AAAA,EAER,aAAa;AAAA,IACX,MAAM;AAAA,IACN,MAAM;AAAA,EAAA;AAAA,EAER,SAAS;AAAA,IACP,MAAM;AAAA,IACN,MAAM;AAAA,EAAA;AAAA,EAER,aAAa;AAAA,IACX,MAAM;AAAA,IACN,MAAM;AAAA,EAAA;AAEV;AACO,MAAM,aAAa;AAAA,EACxB,WAAW;AAAA,IACT,MAAM;AAAA,IACN,0BAAO,eAAA,CAAA,CAAc;AAAA,EAAA;AAAA,EAEvB,UAAU;AAAA,IACR,MAAM;AAAA,IACN,0BAAO,cAAA,CAAA,CAAa;AAAA,EAAA;AAAA,EAEtB,SAAS;AAAA,IACP,MAAM;AAAA,IACN,0BAAO,aAAA,CAAA,CAAY;AAAA,EAAA;AAAA,EAErB,UAAU;AAAA,IACR,MAAM;AAAA,IACN,0BAAO,cAAA,CAAA,CAAa;AAAA,EAAA;AAAA,EAEtB,QAAQ;AAAA,IACN,MAAM;AAAA,IACN,0BAAO,YAAA,CAAA,CAAW;AAAA,EAAA;AAEtB;AAEO,MAAM,YAAY;AAAA,EACvB,YAAY;AAAA,IACV,MAAM;AAAA,IACN,MAAM;AAAA,EAAA;AAAA,EAER,UAAU;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,EAAA;AAEV;"}
|
package/dist/main.d.ts
CHANGED
|
@@ -43,6 +43,13 @@ export { Transition, type TransitionProps } from './components/Transition';
|
|
|
43
43
|
export { SpecialButton, type SpecialButtonProps } from './components/SpecialButton';
|
|
44
44
|
export { LinkButton, type LinkButtonProps } from './components/LinkButton';
|
|
45
45
|
export { Pagination, type PaginationProps } from './components/Pagination';
|
|
46
|
+
export { DropdownItem, type DropdownItemProps } from './components/DropdownItem';
|
|
47
|
+
export { ListRow, type ListRowProps, type ListRowContent, type ListRowTrackline, type ListRowLink, type ListRowBadge, } from './components/ListRow';
|
|
48
|
+
export { SectionApp, type SectionAppProps, type SectionAppType, type SectionAppSize, type SectionAppCampaign, type SectionAppStores, type SectionAppQrCode, } from './components/SectionApp';
|
|
49
|
+
export { FeedbackPage, type FeedbackPageProps, type FeedbackPageAction, type FeedbackPageType, type FeedbackPageSize, } from './components/FeedbackPage';
|
|
50
|
+
export { FileUpload, type FileUploadRootProps, type FileUploadType, type FileUploadPreviewProps, type FileUploadPreviewLink, } from './components/FileUpload';
|
|
51
|
+
export { EmptyState, type EmptyStateProps, type EmptyStateAction, type EmptyStateType, type EmptyStateSize, } from './components/EmptyState';
|
|
52
|
+
export { SearchBar, type SearchBarProps, type SearchBarOption, type SearchBarGroup, } from './components/SearchBar';
|
|
46
53
|
export { Breadcrumb, type BreadcrumbProps, type BreadcrumbItem, } from './components/Breadcrumb';
|
|
47
54
|
export { Accordion, type AccordionProps, type AccordionVariant, } from './components/Accordion';
|
|
48
55
|
export { Carousel, type CarouselRootProps, type CarouselItemProps, type CarouselNavigation, type CarouselItemsPerView, } from './components/Carousel';
|
package/dist/main.es.js
CHANGED
|
@@ -43,11 +43,18 @@ import { Transition } from "./components/Transition/index.es.js";
|
|
|
43
43
|
import { SpecialButton } from "./components/SpecialButton/index.es.js";
|
|
44
44
|
import { LinkButton } from "./components/LinkButton/index.es.js";
|
|
45
45
|
import { Pagination } from "./components/Pagination/index.es.js";
|
|
46
|
+
import { DropdownItem } from "./components/DropdownItem/index.es.js";
|
|
47
|
+
import { ListRow } from "./components/ListRow/index.es.js";
|
|
48
|
+
import { SectionApp } from "./components/SectionApp/index.es.js";
|
|
49
|
+
import { FeedbackPage } from "./components/FeedbackPage/index.es.js";
|
|
50
|
+
import { FileUpload } from "./components/FileUpload/index.es.js";
|
|
51
|
+
import { EmptyState } from "./components/EmptyState/index.es.js";
|
|
52
|
+
import { SearchBar } from "./components/SearchBar/index.es.js";
|
|
46
53
|
import { Breadcrumb } from "./components/Breadcrumb/index.es.js";
|
|
47
54
|
import { Accordion } from "./components/Accordion/index.es.js";
|
|
48
55
|
import { Carousel } from "./components/Carousel/index.es.js";
|
|
49
56
|
import { useState } from "react";
|
|
50
|
-
import { L, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s } from "./BadgeWhite-
|
|
57
|
+
import { L, a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s } from "./BadgeWhite-BjdKCzB3.js";
|
|
51
58
|
import { IconActivity } from "./components/icons/IconActivity/index.es.js";
|
|
52
59
|
import { IconAi } from "./components/icons/IconAi/index.es.js";
|
|
53
60
|
import { IconAiBox } from "./components/icons/IconAiBox/index.es.js";
|
|
@@ -478,8 +485,10 @@ export {
|
|
|
478
485
|
D as Default,
|
|
479
486
|
Divider,
|
|
480
487
|
Drawer,
|
|
488
|
+
DropdownItem,
|
|
481
489
|
E as Else,
|
|
482
490
|
EmailField,
|
|
491
|
+
EmptyState,
|
|
483
492
|
FONT_BODY,
|
|
484
493
|
FONT_SIZE_H1,
|
|
485
494
|
FONT_SIZE_H2,
|
|
@@ -496,6 +505,8 @@ export {
|
|
|
496
505
|
FONT_WEIGHT_MEDIUM,
|
|
497
506
|
FONT_WEIGHT_REGULAR,
|
|
498
507
|
FONT_WEIGHT_SEMIBOLD,
|
|
508
|
+
FeedbackPage,
|
|
509
|
+
FileUpload,
|
|
499
510
|
Footer,
|
|
500
511
|
Header,
|
|
501
512
|
IconActivity,
|
|
@@ -831,6 +842,7 @@ export {
|
|
|
831
842
|
InputField,
|
|
832
843
|
LazyImage,
|
|
833
844
|
LinkButton,
|
|
845
|
+
ListRow,
|
|
834
846
|
L as LogoBadgeFullWhiteAC,
|
|
835
847
|
a as LogoBadgeWhiteAC,
|
|
836
848
|
b as LogoBadgeWhiteStrokeAC,
|
|
@@ -880,6 +892,8 @@ export {
|
|
|
880
892
|
SPACING_700,
|
|
881
893
|
SPACING_800,
|
|
882
894
|
SPACING_900,
|
|
895
|
+
SearchBar,
|
|
896
|
+
SectionApp,
|
|
883
897
|
SelectField,
|
|
884
898
|
Skeleton,
|
|
885
899
|
SpecialButton,
|
package/dist/main.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.es.js","sources":["../lib/components/Drawer/hooks.ts"],"sourcesContent":["import { useState } from 'react'\n\ntype UseDrawerProps = Record<string, boolean>\n\nexport function useDrawer(props: UseDrawerProps) {\n const [drawerOpen, setDrawerOpen] = useState<UseDrawerProps>(props)\n\n function handleOpenDrawer(name: string) {\n setDrawerOpen((prev) => {\n return {\n ...prev,\n [name]: !prev[name],\n }\n })\n }\n\n return {\n handleOpenDrawer,\n drawerOpen,\n }\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"main.es.js","sources":["../lib/components/Drawer/hooks.ts"],"sourcesContent":["import { useState } from 'react'\n\ntype UseDrawerProps = Record<string, boolean>\n\nexport function useDrawer(props: UseDrawerProps) {\n const [drawerOpen, setDrawerOpen] = useState<UseDrawerProps>(props)\n\n function handleOpenDrawer(name: string) {\n setDrawerOpen((prev) => {\n return {\n ...prev,\n [name]: !prev[name],\n }\n })\n }\n\n return {\n handleOpenDrawer,\n drawerOpen,\n }\n}\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIO,SAAS,UAAU,OAAuB;AAC/C,QAAM,CAAC,YAAY,aAAa,IAAI,SAAyB,KAAK;AAElE,WAAS,iBAAiB,MAAc;AACtC,kBAAc,CAAC,SAAS;AACtB,aAAO;AAAA,QACL,GAAG;AAAA,QACH,CAAC,IAAI,GAAG,CAAC,KAAK,IAAI;AAAA,MAAA;AAAA,IAEtB,CAAC;AAAA,EACH;AAEA,SAAO;AAAA,IACL;AAAA,IACA;AAAA,EAAA;AAEJ;"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@consumidor-positivo/aurora",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "3.0
|
|
4
|
+
"version": "3.2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/AcordoCertoBR/aurora"
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"types": "./dist/main.d.ts",
|
|
19
19
|
"files": [
|
|
20
20
|
"dist",
|
|
21
|
-
"astro"
|
|
21
|
+
"astro",
|
|
22
|
+
"assets"
|
|
22
23
|
],
|
|
23
24
|
"exports": {
|
|
24
25
|
".": {
|
|
@@ -34,6 +35,7 @@
|
|
|
34
35
|
"import": "./dist/astro/tokens/index.es.js"
|
|
35
36
|
},
|
|
36
37
|
"./astro/*": "./astro/*",
|
|
38
|
+
"./assets/*": "./assets/*",
|
|
37
39
|
"./global.css": "./dist/components/globalStyles/styles.css",
|
|
38
40
|
"./package.json": "./package.json",
|
|
39
41
|
"./dist/*.scss": {
|
|
@@ -49,7 +51,7 @@
|
|
|
49
51
|
"icons": "tsx scripts/generate-icons/index.ts",
|
|
50
52
|
"prebuild": "npm run tokens && npm run icons",
|
|
51
53
|
"dev": "npm run prebuild && vite",
|
|
52
|
-
"build": "tsc && rimraf astro && vite build",
|
|
54
|
+
"build": "tsc && rimraf astro assets && vite build",
|
|
53
55
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
54
56
|
"check:astro": "astro check",
|
|
55
57
|
"playground:astro": "npm run prebuild && astro dev --config playground/astro.config.mjs",
|