@trilogy-ds/react 0.0.1-beta-61 → 0.0.1-beta-63
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/lib/components/badge/Badge.example.d.ts +2 -2
- package/lib/components/badge/Badge.example.js +2 -2
- package/lib/components/badge/index.d.ts +2 -1
- package/lib/components/badge/index.js +2 -1
- package/lib/components/badge/index.js.map +1 -1
- package/lib/components/box/Box.example.d.ts +3 -0
- package/lib/components/box/Box.example.js +10 -0
- package/lib/components/box/Box.example.js.map +1 -0
- package/lib/components/box/index.d.ts +2 -1
- package/lib/components/box/index.js +2 -1
- package/lib/components/box/index.js.map +1 -1
- package/lib/components/button/Button.example.d.ts +3 -0
- package/lib/components/button/Button.example.js +9 -0
- package/lib/components/button/Button.example.js.map +1 -0
- package/lib/components/button/index.d.ts +2 -1
- package/lib/components/button/index.js +2 -1
- package/lib/components/button/index.js.map +1 -1
- package/lib/components/card/Card.example.d.ts +3 -0
- package/lib/components/card/Card.example.js +14 -0
- package/lib/components/card/Card.example.js.map +1 -0
- package/lib/components/card/index.d.ts +2 -1
- package/lib/components/card/index.js +2 -1
- package/lib/components/card/index.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const
|
|
3
|
-
export default
|
|
2
|
+
declare const BadgeExample: React.ReactNode;
|
|
3
|
+
export default BadgeExample;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Badge } from "./index";
|
|
3
|
-
const
|
|
4
|
-
export default
|
|
3
|
+
const BadgeExample = React.createElement(Badge, { content: 5 });
|
|
4
|
+
export default BadgeExample;
|
|
5
5
|
//# sourceMappingURL=Badge.example.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/badge/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,YAAY,MAAM,iBAAiB,CAAA;AAE1C,cAAc,aAAa,CAAA;AAE3B,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Box, BoxContent } from './index';
|
|
3
|
+
import { Title } from '../../components/title';
|
|
4
|
+
import { Text } from '../../components/text';
|
|
5
|
+
const BoxExample = React.createElement(Box, null,
|
|
6
|
+
React.createElement(BoxContent, null,
|
|
7
|
+
React.createElement(Title, { level: "ONE" }, "Box Title"),
|
|
8
|
+
React.createElement(Text, null, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus nec iaculis mauris.")));
|
|
9
|
+
export default BoxExample;
|
|
10
|
+
//# sourceMappingURL=Box.example.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Box.example.js","sourceRoot":"","sources":["../../../components/box/Box.example.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,GAAG,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AAExC,MAAM,UAAU,GAAoB,oBAAC,GAAG;IACtC,oBAAC,UAAU;QACT,oBAAC,KAAK,IAAC,KAAK,EAAC,KAAK,gBAEV;QACR,oBAAC,IAAI,iGAEE,CACI,CACT,CAAA;AAEN,eAAe,UAAU,CAAA"}
|
|
@@ -5,5 +5,6 @@ import BoxHeader from './header';
|
|
|
5
5
|
import BoxTableContainer from './table-container';
|
|
6
6
|
import BoxItem from './item';
|
|
7
7
|
import { BoxItemSize } from './item/BoxItemEnum';
|
|
8
|
+
import BoxExample from './Box.example';
|
|
8
9
|
export * from './BoxProps';
|
|
9
|
-
export { Box, BoxItem, BoxItemSize, BoxHeader, BoxContent, BoxFooter, BoxTableContainer };
|
|
10
|
+
export { Box, BoxItem, BoxItemSize, BoxHeader, BoxContent, BoxFooter, BoxTableContainer, BoxExample };
|
|
@@ -5,6 +5,7 @@ import BoxHeader from './header';
|
|
|
5
5
|
import BoxTableContainer from './table-container';
|
|
6
6
|
import BoxItem from './item';
|
|
7
7
|
import { BoxItemSize } from './item/BoxItemEnum';
|
|
8
|
+
import BoxExample from './Box.example';
|
|
8
9
|
export * from './BoxProps';
|
|
9
|
-
export { Box, BoxItem, BoxItemSize, BoxHeader, BoxContent, BoxFooter, BoxTableContainer };
|
|
10
|
+
export { Box, BoxItem, BoxItemSize, BoxHeader, BoxContent, BoxFooter, BoxTableContainer, BoxExample };
|
|
10
11
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/box/index.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,OAAO,CAAA;AACvB,OAAO,UAAU,MAAM,WAAW,CAAA;AAClC,OAAO,SAAS,MAAM,UAAU,CAAA;AAChC,OAAO,SAAS,MAAM,UAAU,CAAA;AAChC,OAAO,iBAAiB,MAAM,mBAAmB,CAAA;AACjD,OAAO,OAAO,MAAM,QAAQ,CAAA;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/box/index.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,OAAO,CAAA;AACvB,OAAO,UAAU,MAAM,WAAW,CAAA;AAClC,OAAO,SAAS,MAAM,UAAU,CAAA;AAChC,OAAO,SAAS,MAAM,UAAU,CAAA;AAChC,OAAO,iBAAiB,MAAM,mBAAmB,CAAA;AACjD,OAAO,OAAO,MAAM,QAAQ,CAAA;AAC5B,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,UAAU,MAAM,eAAe,CAAA;AAEtC,cAAc,YAAY,CAAA;AAE1B,OAAO,EAAE,GAAG,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,UAAU,EAAE,SAAS,EAAE,iBAAiB,EAAE,UAAU,EAAE,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonList, Button } from './index';
|
|
3
|
+
const ButtonExample = React.createElement(ButtonList, null,
|
|
4
|
+
React.createElement(Button, { variant: "PRIMARY" }, "Button"),
|
|
5
|
+
React.createElement(Button, { variant: "SECONDARY" }, "Button"),
|
|
6
|
+
React.createElement(Button, { disabled: true, variant: "PRIMARY" }, "Button"),
|
|
7
|
+
React.createElement(Button, { loading: true, variant: "PRIMARY" }, "Button"));
|
|
8
|
+
export default ButtonExample;
|
|
9
|
+
//# sourceMappingURL=Button.example.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Button.example.js","sourceRoot":"","sources":["../../../components/button/Button.example.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAE5C,MAAM,aAAa,GACjB,oBAAC,UAAU;IACT,oBAAC,MAAM,IACL,OAAO,EAAC,SAAS,aAGV;IACT,oBAAC,MAAM,IACL,OAAO,EAAC,WAAW,aAGZ;IACT,oBAAC,MAAM,IACL,QAAQ,QACR,OAAO,EAAC,SAAS,aAGV;IACT,oBAAC,MAAM,IACL,OAAO,QACP,OAAO,EAAC,SAAS,aAGV,CACE,CAAA;AAEf,eAAe,aAAa,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAA;AAC7B,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAA;AACnC,OAAO,aAAa,MAAM,kBAAkB,CAAA;AAE5C,cAAc,cAAc,CAAA;AAE5B,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Card, CardImage, CardContent } from './index';
|
|
3
|
+
import { Title } from '../../components/title';
|
|
4
|
+
import { Text } from '../../components/text';
|
|
5
|
+
import { Button } from '../../components/button';
|
|
6
|
+
const CardExample = React.createElement(Card, null,
|
|
7
|
+
React.createElement(CardImage, { src: "https://design.bouyguestelecom.fr/v1/card-sample.200bd9f7.png" }),
|
|
8
|
+
React.createElement(CardContent, null,
|
|
9
|
+
React.createElement(Title, null, "Pr\u00E9sentation"),
|
|
10
|
+
React.createElement(Title, { level: "ONE" }, "Title lorem"),
|
|
11
|
+
React.createElement(Text, { level: "ONE" }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed ligula ex, neque eu, vulputate vera."),
|
|
12
|
+
React.createElement(Button, { variant: "SECONDARY" }, "Voir plus...")));
|
|
13
|
+
export default CardExample;
|
|
14
|
+
//# sourceMappingURL=Card.example.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Card.example.js","sourceRoot":"","sources":["../../../components/card/Card.example.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAA;AAE5C,MAAM,WAAW,GAAoB,oBAAC,IAAI;IACxC,oBAAC,SAAS,IAAC,GAAG,EAAC,+DAA+D,GAAG;IACjF,oBAAC,WAAW;QACV,oBAAC,KAAK,4BAEE;QACR,oBAAC,KAAK,IAAC,KAAK,EAAC,KAAK,kBAEV;QACR,oBAAC,IAAI,IAAC,KAAK,EAAC,KAAK,wGAEV;QACP,oBAAC,MAAM,IACL,OAAO,EAAC,WAAW,mBAGZ,CACG,CACT,CAAA;AAEP,eAAe,WAAW,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import Card from './Card';
|
|
2
2
|
import CardImage from './image';
|
|
3
3
|
import CardContent from './content';
|
|
4
|
+
import CardExample from './Card.example';
|
|
4
5
|
export * from './image/CardImageEnum';
|
|
5
|
-
export { Card, CardImage, CardContent };
|
|
6
|
+
export { Card, CardImage, CardContent, CardExample };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import Card from './Card';
|
|
2
2
|
import CardImage from './image';
|
|
3
3
|
import CardContent from './content';
|
|
4
|
+
import CardExample from './Card.example';
|
|
4
5
|
export * from './image/CardImageEnum';
|
|
5
|
-
export { Card, CardImage, CardContent };
|
|
6
|
+
export { Card, CardImage, CardContent, CardExample };
|
|
6
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/card/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAA;AACzB,OAAO,SAAS,MAAM,SAAS,CAAA;AAC/B,OAAO,WAAW,MAAM,WAAW,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../components/card/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,QAAQ,CAAA;AACzB,OAAO,SAAS,MAAM,SAAS,CAAA;AAC/B,OAAO,WAAW,MAAM,WAAW,CAAA;AACnC,OAAO,WAAW,MAAM,gBAAgB,CAAA;AAExC,cAAc,uBAAuB,CAAA;AAErC,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,WAAW,EAAE,CAAA"}
|
package/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.0.1-beta-
|
|
1
|
+
export declare const version = "0.0.1-beta-63";
|
package/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = "0.0.1-beta-
|
|
1
|
+
export const version = "0.0.1-beta-63";
|
|
2
2
|
//# sourceMappingURL=version.js.map
|