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.
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ export type BlogTextProps = {
3
+ Title: string;
4
+ Article: string;
5
+ };
6
+ declare function BlogText({ Title, Article }: BlogTextProps): React.JSX.Element;
7
+ export default BlogText;
@@ -1,11 +1,11 @@
1
1
  import React from "react";
2
2
  import { Paragraph } from "src/components/atoms/typography";
3
- import styles from "./BlogTextBlock.module.css";
4
- function BlogTextBlock(_a) {
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 BlogTextBlock;
11
+ export default BlogText;
@@ -1,6 +1,6 @@
1
1
  declare namespace _default {
2
2
  export let title: string;
3
- export { BlogTextBlock as component };
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 BlogTextBlock from "./BlogTextBlock";
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 BlogTextBlock from "./BlogTextBlock";
13
+ import BlogText from "../blogText/BlogText";
14
14
  export default {
15
- title: "Components/molecules/Blog/BlogTextBlock",
16
- component: BlogTextBlock,
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 `BlogTextBlock` 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.",
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(BlogTextBlock, __assign({}, args)); };
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,2 @@
1
+ export { default as BlogText } from "./BlogText";
2
+ export type { BlogTextProps } from "./BlogText";
@@ -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 BlogTextBlock } from "./components/molecules/blogTextBlock/BlogTextBlock";
70
- export type { BlogTextBlockProps } from "./components/molecules/blogTextBlock/BlogTextBlock";
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 BlogTextBlock } from "./components/molecules/blogTextBlock/BlogTextBlock";
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,6 +1,6 @@
1
1
  {
2
2
  "name": "allaw-ui",
3
- "version": "1.0.133",
3
+ "version": "1.0.134",
4
4
  "description": "Composants UI pour l'application Allaw",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -1,7 +0,0 @@
1
- import React from "react";
2
- export type BlogTextBlockProps = {
3
- Title: string;
4
- Article: string;
5
- };
6
- declare function BlogTextBlock({ Title, Article }: BlogTextBlockProps): React.JSX.Element;
7
- export default BlogTextBlock;
@@ -1,2 +0,0 @@
1
- export { default as BlogTextBlock } from "./BlogTextBlock";
2
- export type { BlogTextBlockProps } from "./BlogTextBlock";
@@ -1 +0,0 @@
1
- export { default as BlogTextBlock } from "./BlogTextBlock";