@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
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
COLOR_NEUTRAL_40,
|
|
9
9
|
COLOR_SUCCESS_50,
|
|
10
10
|
} from '@consumidor-positivo/aurora/astro/tokens'
|
|
11
|
-
import '../../../../dist/components/Field/
|
|
11
|
+
import '../../../../dist/components/Field/styles.css'
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Same props as the React `Field.Label`. `id` is the id of the control the
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
import type { HTMLAttributes } from 'astro/types'
|
|
3
3
|
import Text from '../../../Text/index.astro'
|
|
4
|
-
import '../../../../dist/components/Field/
|
|
4
|
+
import '../../../../dist/components/Field/styles.css'
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Every HTML attribute lands on the `<textarea>`; the React `customClass` is
|
|
@@ -606,7 +606,7 @@ const LogoTertiaryWhiteAC = ({ "data-testid": dataTestId }) => {
|
|
|
606
606
|
) });
|
|
607
607
|
};
|
|
608
608
|
const LogoBadgeWhiteStrokeCP = ({ "data-testid": dataTestId }) => {
|
|
609
|
-
return /* @__PURE__ */ jsx(Logo, { label: "Consumidor Positivo", "data-testid": dataTestId, children: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", fill: "none", children: [
|
|
609
|
+
return /* @__PURE__ */ jsx(Logo, { label: "Consumidor Positivo", "data-testid": dataTestId, children: /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "22", height: "22", viewBox: "0 0 22 22", fill: "none", children: [
|
|
610
610
|
/* @__PURE__ */ jsx("path", { fill: "#fff", d: "M6.216 4.08C6.216 2.061 7.794.6 9.725.6c1.93 0 3.508 1.462 3.508 3.48 0 2.016-1.552 3.519-3.522 3.519-1.97 0-3.496-1.476-3.496-3.52Z" }),
|
|
611
611
|
/* @__PURE__ */ jsx("path", { fill: "#0048DB", d: "M9.712 6.729c-1.527 0-2.636-1.115-2.636-2.65 0-1.534 1.138-2.61 2.648-2.61 1.51 0 2.648 1.122 2.648 2.61 0 1.489-1.12 2.65-2.661 2.65Z" }),
|
|
612
612
|
/* @__PURE__ */ jsx("path", { fill: "#fff", d: "M20.018 6.84a4.66 4.66 0 0 0-3.334-1.394c-1.26 0-2.444.495-3.334 1.393l-3.487 3.524-1.168-1.18A4.76 4.76 0 0 0 5.29 7.759c-1.809 0-3.431 1.03-4.235 2.69a4.456 4.456 0 0 0-.37 1.121 4.83 4.83 0 0 0 .957 3.92c.136.17.642.687.774.822l3.335 3.369A5.748 5.748 0 0 0 9.863 21.4a5.767 5.767 0 0 0 3.836-1.456.931.931 0 0 0 .114-.095l6.149-6.214c.91-.918 1.42-2.11 1.437-3.356a4.756 4.756 0 0 0-1.38-3.439h-.001Z" }),
|
|
@@ -621,6 +621,7 @@ const LogoBadgeWhiteStrokeAC = ({ "data-testid": dataTestId }) => {
|
|
|
621
621
|
xmlns: "http://www.w3.org/2000/svg",
|
|
622
622
|
width: "21",
|
|
623
623
|
height: "16",
|
|
624
|
+
viewBox: "0 0 21 16",
|
|
624
625
|
fill: "none",
|
|
625
626
|
children: [
|
|
626
627
|
/* @__PURE__ */ jsx(
|
|
@@ -743,4 +744,4 @@ export {
|
|
|
743
744
|
LogoTertiaryAC as r,
|
|
744
745
|
LogoTertiaryWhiteAC as s
|
|
745
746
|
};
|
|
746
|
-
//# sourceMappingURL=BadgeWhite-
|
|
747
|
+
//# sourceMappingURL=BadgeWhite-BjdKCzB3.js.map
|