negodesign 0.0.47 → 0.0.49
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.
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import ProductPromotionDetails from "./ProductPromotionDetails.svelte";
|
|
18
18
|
import type {
|
|
19
19
|
ProductDetailsData,
|
|
20
|
-
ProductPromotionDetailsProps
|
|
20
|
+
ProductPromotionDetailsProps,
|
|
21
21
|
} from "../types";
|
|
22
22
|
|
|
23
23
|
let {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}: {
|
|
32
32
|
data: ProductDetailsData;
|
|
33
33
|
isLoading?: boolean;
|
|
34
|
-
promotions?:
|
|
34
|
+
promotions?: ProductPromotionDetailsProps[];
|
|
35
35
|
showPriceWithPromotions?: boolean;
|
|
36
36
|
onBuy?: (id: string | number) => void;
|
|
37
37
|
onFavorite?: (id: string | number) => void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { ProductDetailsData, ProductPromotionDetailsProps
|
|
1
|
+
import type { ProductDetailsData, ProductPromotionDetailsProps } from "../types";
|
|
2
2
|
type $$ComponentProps = {
|
|
3
3
|
data: ProductDetailsData;
|
|
4
4
|
isLoading?: boolean;
|
|
5
|
-
promotions?:
|
|
5
|
+
promotions?: ProductPromotionDetailsProps[];
|
|
6
6
|
showPriceWithPromotions?: boolean;
|
|
7
7
|
onBuy?: (id: string | number) => void;
|
|
8
8
|
onFavorite?: (id: string | number) => void;
|
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ import CarouselGridMedia from "./components/core/carousel/grid/media/ui/Carousel
|
|
|
28
28
|
import CarouselPromotion from "./components/core/carousel/promotion/ui/CarouselPromotion.svelte";
|
|
29
29
|
import CarouselBadge from "./components/core/carousel/badge/ui/CarouselBadge.svelte";
|
|
30
30
|
import CarouselHero from "./components/core/carousel/hero/CarouselHero.svelte";
|
|
31
|
+
import CompanyProfile from "./components/pages/company-profile/CompanyProfile.svelte";
|
|
31
32
|
import PageLogin from "./components/pages/security/login/PageLogin.svelte";
|
|
32
33
|
import SearchInput from "./components/core/search/SearchInput.svelte";
|
|
33
34
|
import NavMenu from "./components/core/nav/ui/nav-menu.svelte";
|
|
@@ -44,8 +45,6 @@ export { getMergedTranslations } from "./i18n/config";
|
|
|
44
45
|
/** Retorna a lista de idiomas disponíveis. */
|
|
45
46
|
export { getLocales } from "./i18n/config";
|
|
46
47
|
export {
|
|
47
|
-
/** @see NotFoundEmpty */
|
|
48
|
-
NotFoundEmpty,
|
|
49
48
|
/**
|
|
50
49
|
* Componente raiz do Negodesign.
|
|
51
50
|
* Configura o tema, idioma e traduções da aplicação.
|
|
@@ -77,12 +76,19 @@ CtaCardBanner,
|
|
|
77
76
|
* @see NotificationBannerProps
|
|
78
77
|
*/
|
|
79
78
|
NotificationBanner,
|
|
79
|
+
/** @see NotFoundEmpty */
|
|
80
|
+
NotFoundEmpty,
|
|
80
81
|
/**
|
|
81
82
|
* Campo de input de busca com 2 variantes visuais (borda completa ou underline).
|
|
82
83
|
* Inclui botão de submissão e callback onSubmit.
|
|
83
84
|
* @see SearchInputProps
|
|
84
85
|
*/
|
|
85
86
|
SearchInput,
|
|
87
|
+
/**
|
|
88
|
+
* CompanyProfile de perfil empresa.
|
|
89
|
+
* @see CompanyProfileProps
|
|
90
|
+
*/
|
|
91
|
+
CompanyProfile,
|
|
86
92
|
/**
|
|
87
93
|
* Carousel de badges/categorias com orientação horizontal ou vertical.
|
|
88
94
|
* Cada item pode ter ícone, imagem, label e callback de clique.
|
package/dist/index.js
CHANGED
|
@@ -28,6 +28,7 @@ import CarouselGridMedia from "./components/core/carousel/grid/media/ui/Carousel
|
|
|
28
28
|
import CarouselPromotion from "./components/core/carousel/promotion/ui/CarouselPromotion.svelte";
|
|
29
29
|
import CarouselBadge from "./components/core/carousel/badge/ui/CarouselBadge.svelte";
|
|
30
30
|
import CarouselHero from "./components/core/carousel/hero/CarouselHero.svelte";
|
|
31
|
+
import CompanyProfile from "./components/pages/company-profile/CompanyProfile.svelte";
|
|
31
32
|
import PageLogin from "./components/pages/security/login/PageLogin.svelte";
|
|
32
33
|
import SearchInput from "./components/core/search/SearchInput.svelte";
|
|
33
34
|
import NavMenu from "./components/core/nav/ui/nav-menu.svelte";
|
|
@@ -44,8 +45,6 @@ export { getMergedTranslations } from "./i18n/config";
|
|
|
44
45
|
/** Retorna a lista de idiomas disponíveis. */
|
|
45
46
|
export { getLocales } from "./i18n/config";
|
|
46
47
|
export {
|
|
47
|
-
/** @see NotFoundEmpty */
|
|
48
|
-
NotFoundEmpty,
|
|
49
48
|
/**
|
|
50
49
|
* Componente raiz do Negodesign.
|
|
51
50
|
* Configura o tema, idioma e traduções da aplicação.
|
|
@@ -77,12 +76,19 @@ CtaCardBanner,
|
|
|
77
76
|
* @see NotificationBannerProps
|
|
78
77
|
*/
|
|
79
78
|
NotificationBanner,
|
|
79
|
+
/** @see NotFoundEmpty */
|
|
80
|
+
NotFoundEmpty,
|
|
80
81
|
/**
|
|
81
82
|
* Campo de input de busca com 2 variantes visuais (borda completa ou underline).
|
|
82
83
|
* Inclui botão de submissão e callback onSubmit.
|
|
83
84
|
* @see SearchInputProps
|
|
84
85
|
*/
|
|
85
86
|
SearchInput,
|
|
87
|
+
/**
|
|
88
|
+
* CompanyProfile de perfil empresa.
|
|
89
|
+
* @see CompanyProfileProps
|
|
90
|
+
*/
|
|
91
|
+
CompanyProfile,
|
|
86
92
|
/**
|
|
87
93
|
* Carousel de badges/categorias com orientação horizontal ou vertical.
|
|
88
94
|
* Cada item pode ter ícone, imagem, label e callback de clique.
|
package/dist/types/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ import type { InputLabelProps } from "../components/core/form/data/InputLabel.sv
|
|
|
28
28
|
import type { NegoDesignProps } from "../components/types";
|
|
29
29
|
import type { CarouselGridPromotionProps } from "../components/core/carousel/grid/promotion/types";
|
|
30
30
|
import type { CarouselGridProductProps } from "../components/core/carousel/grid/product/types";
|
|
31
|
+
import type { CompanyProfileProps } from "../components/pages/company-profile/types";
|
|
31
32
|
export type {
|
|
32
33
|
/** Props de um link individual no menu de navegação. @see NavMenuLinksProps */
|
|
33
34
|
NavMenuLinksProps,
|
|
@@ -49,6 +50,8 @@ SubMenuSidebarProps,
|
|
|
49
50
|
NavMenuItem,
|
|
50
51
|
/** Props do bloco de usuário logado na sidebar. @see NavUserSidebarProps */
|
|
51
52
|
NavUserSidebarProps,
|
|
53
|
+
/** Props da página de perfil da empresa. @see CompanyProfileProps */
|
|
54
|
+
CompanyProfileProps,
|
|
52
55
|
/** Props de uma tag individual usada nos cards (CardMedia, CardProfile, etc). @see CardTagsProps */
|
|
53
56
|
CardTagsProps,
|
|
54
57
|
/** Props do CardMedia — card de mídia com imagem/vídeo, tags, rating. @see CardMediaProps */
|
|
@@ -180,7 +183,7 @@ ProductDetailsData,
|
|
|
180
183
|
/** Props do componente ProductDetails. @see ProductDetailsProps */
|
|
181
184
|
ProductDetailsProps,
|
|
182
185
|
/** Props do componente ProductPromotionDetails. @see ProductPromotionDetailsProps */
|
|
183
|
-
ProductPromotionDetailsProps
|
|
186
|
+
ProductPromotionDetailsProps,
|
|
184
187
|
/** Item de breadcrumb do PrivacyPolicyOrTermsOfUse. @see BreadcrumbItem */
|
|
185
188
|
BreadcrumbItem,
|
|
186
189
|
/** Bloco de conteúdo do PrivacyPolicyOrTermsOfUse. @see ContentBlock */
|