@crystaldesign/content-item 24.12.0-beta.17 → 24.12.0-beta.19
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/build/types/content-item/src/Components/ContentItems/index.d.ts +1 -1
- package/build/types/content-item/src/Components/ContentItems/index.d.ts.map +1 -1
- package/build/types/content-item/src/Components/Gallery/index.d.ts +2 -1
- package/build/types/content-item/src/Components/Gallery/index.d.ts.map +1 -1
- package/build/types/content-item/src/Components/Image/index.d.ts +2 -1
- package/build/types/content-item/src/Components/Image/index.d.ts.map +1 -1
- package/build/types/content-item/src/Components/RichText/index.d.ts +2 -1
- package/build/types/content-item/src/Components/RichText/index.d.ts.map +1 -1
- package/build/types/content-item/src/Components/Title/index.d.ts +2 -1
- package/build/types/content-item/src/Components/Title/index.d.ts.map +1 -1
- package/build/types/content-item/src/Components/URL/index.d.ts +2 -1
- package/build/types/content-item/src/Components/URL/index.d.ts.map +1 -1
- package/build/types/content-item/src/Components/Video/index.d.ts +2 -1
- package/build/types/content-item/src/Components/Video/index.d.ts.map +1 -1
- package/build/types/content-item/src/Components/Wrapper/index.d.ts +2 -1
- package/build/types/content-item/src/Components/Wrapper/index.d.ts.map +1 -1
- package/build/types/content-item/src/Components/index.d.ts +2 -1
- package/build/types/content-item/src/Components/index.d.ts.map +1 -1
- package/package.json +15 -14
|
@@ -4,6 +4,6 @@ type Props = {
|
|
|
4
4
|
contentItems: ContentItemType[];
|
|
5
5
|
wrapperStyle?: React.CSSProperties;
|
|
6
6
|
};
|
|
7
|
-
declare const ContentItems: ({ contentItems, wrapperStyle }: Props) => JSX.Element;
|
|
7
|
+
declare const ContentItems: ({ contentItems, wrapperStyle }: Props) => React.JSX.Element;
|
|
8
8
|
export default ContentItems;
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/ContentItems/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,KAAK,KAAK,GAAG;IAAE,YAAY,EAAE,eAAe,EAAE,CAAC;IAAC,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAAE,CAAC;AAErF,QAAA,MAAM,YAAY,mCAAoC,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/ContentItems/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAG9C,KAAK,KAAK,GAAG;IAAE,YAAY,EAAE,eAAe,EAAE,CAAC;IAAC,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;CAAE,CAAC;AAErF,QAAA,MAAM,YAAY,mCAAoC,KAAK,sBAU1D,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import './styles.css';
|
|
2
|
+
import React from 'react';
|
|
2
3
|
import { GalleryType } from '../../types';
|
|
3
4
|
type Props = {
|
|
4
5
|
item: GalleryType;
|
|
5
6
|
};
|
|
6
|
-
declare const Gallery: ({ item: { content, wrappingStyle } }: Props) => JSX.Element;
|
|
7
|
+
declare const Gallery: ({ item: { content, wrappingStyle } }: Props) => React.JSX.Element;
|
|
7
8
|
export default Gallery;
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/Gallery/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/Gallery/index.tsx"],"names":[],"mappings":"AAAA,OAAO,cAAc,CAAC;AACtB,OAAO,KAAmB,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAM1C,KAAK,KAAK,GAAG;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,CAAC;AAEnC,QAAA,MAAM,OAAO,yCAA0C,KAAK,sBA6C3D,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { ImageType } from '../../types';
|
|
2
3
|
type Props = {
|
|
3
4
|
item: ImageType;
|
|
4
5
|
};
|
|
5
|
-
declare const Image: ({ item: { image, cover, style, altText } }: Props) => JSX.Element;
|
|
6
|
+
declare const Image: ({ item: { image, cover, style, altText } }: Props) => React.JSX.Element;
|
|
6
7
|
export default Image;
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/Image/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/Image/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,KAAK,KAAK,GAAG;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC;AAEjC,QAAA,MAAM,KAAK,+CAAgD,KAAK,sBAe/D,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { RichTextType } from '../../types';
|
|
2
3
|
type Props = {
|
|
3
4
|
item: RichTextType;
|
|
4
5
|
};
|
|
5
|
-
declare const RichText: ({ item: { text, style } }: Props) => JSX.Element;
|
|
6
|
+
declare const RichText: ({ item: { text, style } }: Props) => React.JSX.Element;
|
|
6
7
|
export default RichText;
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/RichText/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/RichText/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAE3C,KAAK,KAAK,GAAG;IAAE,IAAI,EAAE,YAAY,CAAA;CAAE,CAAC;AAEpC,QAAA,MAAM,QAAQ,8BAA+B,KAAK,sBAEjD,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { TitleType } from '../../types';
|
|
2
3
|
type Props = {
|
|
3
4
|
item: TitleType;
|
|
4
5
|
};
|
|
5
|
-
declare const Title: ({ item: { text, style } }: Props) => JSX.Element;
|
|
6
|
+
declare const Title: ({ item: { text, style } }: Props) => React.JSX.Element;
|
|
6
7
|
export default Title;
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/Title/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/Title/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,KAAK,KAAK,GAAG;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC;AAEjC,QAAA,MAAM,KAAK,8BAA+B,KAAK,sBAO9C,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { URLType } from '../../types';
|
|
2
3
|
type Props = {
|
|
3
4
|
item: URLType;
|
|
4
5
|
};
|
|
5
|
-
declare const URL: ({ item: { url, icon, text } }: Props) => JSX.Element;
|
|
6
|
+
declare const URL: ({ item: { url, icon, text } }: Props) => React.JSX.Element;
|
|
6
7
|
export default URL;
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/URL/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/URL/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAGtC,KAAK,KAAK,GAAG;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC;AAE/B,QAAA,MAAM,GAAG,kCAAmC,KAAK,sBAOhD,CAAC;AAEF,eAAe,GAAG,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { VideoType } from '../../types';
|
|
2
3
|
type Props = {
|
|
3
4
|
item: VideoType;
|
|
4
5
|
};
|
|
5
|
-
declare const Video: ({ item: { video, thumb } }: Props) => JSX.Element;
|
|
6
|
+
declare const Video: ({ item: { video, thumb } }: Props) => React.JSX.Element;
|
|
6
7
|
export default Video;
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/Video/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/Video/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,KAAK,KAAK,GAAG;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC;AAEjC,QAAA,MAAM,KAAK,+BAAgC,KAAK,sBA2B/C,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { WrapperType } from '../../types';
|
|
2
3
|
type Props = {
|
|
3
4
|
item: WrapperType;
|
|
4
5
|
};
|
|
5
|
-
declare const Wrapper: ({ item: { style, content } }: Props) => JSX.Element;
|
|
6
|
+
declare const Wrapper: ({ item: { style, content } }: Props) => React.JSX.Element;
|
|
6
7
|
export default Wrapper;
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/Wrapper/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Components/Wrapper/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAG1C,KAAK,KAAK,GAAG;IAAE,IAAI,EAAE,WAAW,CAAA;CAAE,CAAC;AAEnC,QAAA,MAAM,OAAO,iCAAkC,KAAK,sBAQnD,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { ContentItemType } from '../types';
|
|
2
3
|
type Props = {
|
|
3
4
|
item: ContentItemType;
|
|
4
5
|
};
|
|
5
|
-
declare const ContentItem: ({ item }: Props) => JSX.Element;
|
|
6
|
+
declare const ContentItem: ({ item }: Props) => React.JSX.Element;
|
|
6
7
|
export default ContentItem;
|
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Components/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/Components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAS3C,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,eAAe,CAAC;CACvB,CAAC;AAEF,QAAA,MAAM,WAAW,aAAc,KAAK,sBAkBnC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/content-item",
|
|
3
|
-
"version": "24.12.0-beta.
|
|
3
|
+
"version": "24.12.0-beta.19",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"storybook": "storybook dev -p 6006",
|
|
@@ -14,25 +14,26 @@
|
|
|
14
14
|
"@storybook/blocks": "7.0.2",
|
|
15
15
|
"@storybook/react": "7.0.2",
|
|
16
16
|
"@storybook/react-webpack5": "7.0.2",
|
|
17
|
-
"@storybook/testing-library": "0.
|
|
18
|
-
"@testing-library/jest-dom": "^5.
|
|
19
|
-
"@testing-library/react": "^
|
|
17
|
+
"@storybook/testing-library": "0.2.2",
|
|
18
|
+
"@testing-library/jest-dom": "^6.5.0",
|
|
19
|
+
"@testing-library/react": "^16.0.1",
|
|
20
20
|
"@types/classnames": "^2.2.11",
|
|
21
|
-
"@types/swiper": "
|
|
22
|
-
"
|
|
23
|
-
"react": "
|
|
24
|
-
"
|
|
25
|
-
"
|
|
21
|
+
"@types/swiper": "^6.0.0",
|
|
22
|
+
"react": "18.3.1",
|
|
23
|
+
"react-dom": "18.3.1",
|
|
24
|
+
"storybook": "^7.0.2",
|
|
25
|
+
"webpack": "^5.73.0"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"
|
|
28
|
+
"classnames": "^2.5.1",
|
|
29
|
+
"swiper": "^11.1.12"
|
|
29
30
|
},
|
|
30
31
|
"peerDependencies": {
|
|
31
|
-
"@crystaldesign/diva-core": "
|
|
32
|
-
"react": "
|
|
33
|
-
"react-dom": "
|
|
32
|
+
"@crystaldesign/diva-core": "*",
|
|
33
|
+
"react": "^18.3.1",
|
|
34
|
+
"react-dom": "^18.3.1"
|
|
34
35
|
},
|
|
35
36
|
"module": "build/esm/index.js",
|
|
36
37
|
"types": "./build/types/content-item/src/index.d.ts",
|
|
37
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "bb87d4d57d395ef40441680a141d23bd1826c02a"
|
|
38
39
|
}
|