allaw-ui 1.0.133 → 1.0.134
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/dist/components/molecules/blogText/BlogText.d.ts +7 -0
- package/dist/components/molecules/{blogTextBlock/BlogTextBlock.js → blogText/BlogText.js} +3 -3
- package/dist/components/molecules/{blogTextBlock/BlogTextBlock.stories.d.ts → blogText/BlogText.stories.d.ts} +2 -2
- package/dist/components/molecules/{blogTextBlock/BlogTextBlock.stories.js → blogText/BlogText.stories.js} +5 -5
- package/dist/components/molecules/blogText/index.d.ts +2 -0
- package/dist/components/molecules/blogText/index.js +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/components/molecules/blogTextBlock/BlogTextBlock.d.ts +0 -7
- package/dist/components/molecules/blogTextBlock/index.d.ts +0 -2
- package/dist/components/molecules/blogTextBlock/index.js +0 -1
- /package/dist/components/molecules/{blogTextBlock/BlogTextBlock.module.css → blogText/BlogText.module.css} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Paragraph } from "src/components/atoms/typography";
|
|
3
|
-
import styles from "./
|
|
4
|
-
function
|
|
3
|
+
import styles from "./BlogText.module.css";
|
|
4
|
+
function BlogText(_a) {
|
|
5
5
|
var Title = _a.Title, Article = _a.Article;
|
|
6
6
|
return (React.createElement("section", { className: styles.BlogTextContainerWrapper },
|
|
7
7
|
React.createElement("div", { className: styles.BlogTextContainer },
|
|
8
8
|
React.createElement("h3", { className: styles.BlogTextTitle }, Title),
|
|
9
9
|
React.createElement(Paragraph, { variant: "semiBold", color: "dark-grey", text: Article, className: styles.BlogTextCustomParagraph }))));
|
|
10
10
|
}
|
|
11
|
-
export default
|
|
11
|
+
export default BlogText;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare namespace _default {
|
|
2
2
|
export let title: string;
|
|
3
|
-
export {
|
|
3
|
+
export { BlogText as component };
|
|
4
4
|
export let tags: string[];
|
|
5
5
|
export namespace argTypes {
|
|
6
6
|
namespace Title {
|
|
@@ -27,4 +27,4 @@ export default _default;
|
|
|
27
27
|
export const ShortTitleAndContent: any;
|
|
28
28
|
export const LongTitleAndContent: any;
|
|
29
29
|
export const ArticleWithLineBreaks: any;
|
|
30
|
-
import
|
|
30
|
+
import BlogText from "../blogText/BlogText";
|
|
@@ -10,10 +10,10 @@ var __assign = (this && this.__assign) || function () {
|
|
|
10
10
|
return __assign.apply(this, arguments);
|
|
11
11
|
};
|
|
12
12
|
import React from "react";
|
|
13
|
-
import
|
|
13
|
+
import BlogText from "../blogText/BlogText";
|
|
14
14
|
export default {
|
|
15
|
-
title: "Components/molecules/Blog/
|
|
16
|
-
component:
|
|
15
|
+
title: "Components/molecules/Blog/BlogText",
|
|
16
|
+
component: BlogText,
|
|
17
17
|
tags: ["autodocs"],
|
|
18
18
|
argTypes: {
|
|
19
19
|
Title: {
|
|
@@ -28,12 +28,12 @@ export default {
|
|
|
28
28
|
parameters: {
|
|
29
29
|
docs: {
|
|
30
30
|
description: {
|
|
31
|
-
component: "Le composant `
|
|
31
|
+
component: "Le composant `BlogText` est conçu pour afficher un titre et un long article ou contenu dans un format structuré, idéal pour les sections de texte des blogs.",
|
|
32
32
|
},
|
|
33
33
|
},
|
|
34
34
|
},
|
|
35
35
|
};
|
|
36
|
-
var Template = function (args) { return React.createElement(
|
|
36
|
+
var Template = function (args) { return React.createElement(BlogText, __assign({}, args)); };
|
|
37
37
|
export var ShortTitleAndContent = Template.bind({});
|
|
38
38
|
ShortTitleAndContent.args = {
|
|
39
39
|
Title: "Introduction",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BlogText } from "./BlogText";
|
package/dist/index.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export { default as BlogHeader } from "./components/molecules/blogHeader/BlogHea
|
|
|
66
66
|
export type { BlogHeaderProps } from "./components/molecules/blogHeader/BlogHeader";
|
|
67
67
|
export { default as BlogCard } from "./components/molecules/blogCard/BlogCard";
|
|
68
68
|
export type { BlogCardProps } from "./components/molecules/blogCard/BlogCard";
|
|
69
|
-
export { default as
|
|
70
|
-
export type {
|
|
69
|
+
export { default as BlogText } from "./components/molecules/blogText/BlogText";
|
|
70
|
+
export type { BlogTextProps } from "./components/molecules/blogText/BlogText";
|
|
71
71
|
export { default as blogTextImageBlock } from "./components/molecules/blogTextImageBlock/BlogTextImageBlock";
|
|
72
72
|
export type { BlogTextImageBlockProps } from "./components/molecules/blogTextImageBlock/BlogTextImageBlock";
|
package/dist/index.js
CHANGED
|
@@ -82,5 +82,5 @@ export { default as ProCard } from "./components/molecules/proCard/ProCard";
|
|
|
82
82
|
export { default as Pagination } from "./components/molecules/pagination/Pagination";
|
|
83
83
|
export { default as BlogHeader } from "./components/molecules/blogHeader/BlogHeader";
|
|
84
84
|
export { default as BlogCard } from "./components/molecules/blogCard/BlogCard";
|
|
85
|
-
export { default as
|
|
85
|
+
export { default as BlogText } from "./components/molecules/blogText/BlogText";
|
|
86
86
|
export { default as blogTextImageBlock } from "./components/molecules/blogTextImageBlock/BlogTextImageBlock";
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as BlogTextBlock } from "./BlogTextBlock";
|
|
File without changes
|