@wayke-se/components-react 3.0.0-beta.6 → 3.0.0-beta.7
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/index.js +1958 -928
- package/dist/index.js.map +4 -4
- package/dist/index.mjs +1926 -896
- package/dist/index.mjs.map +4 -4
- package/esbuild/common.js +1 -1
- package/esbuild/lib.js +0 -1
- package/esbuild/start.js +1 -0
- package/package.json +1 -1
- package/src/components/Gallery/index.tsx +2 -6
- package/src/utils/formats.ts +1 -1
- package/www/index.html +1 -1
package/esbuild/common.js
CHANGED
package/esbuild/lib.js
CHANGED
package/esbuild/start.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState, useCallback, useRef, useMemo } from 'react';
|
|
2
2
|
import Slider from 'react-slick';
|
|
3
3
|
import scrollIntoView from 'scroll-into-view-if-needed';
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
import {
|
|
6
6
|
Wrapper,
|
|
7
7
|
SliderWrapper,
|
|
@@ -24,7 +24,7 @@ import EmbededVideo from '../Video/EmbededVideo';
|
|
|
24
24
|
import QuickNavEmbeded from '../Video/QuickNavEmbeded';
|
|
25
25
|
import { notEmpty } from '../../utils/formats';
|
|
26
26
|
import ThreeSixty from '../ThreeSixty/ThreeSixty';
|
|
27
|
-
|
|
27
|
+
|
|
28
28
|
import { Media } from '../../@types/codegen';
|
|
29
29
|
import PubSub from '../../utils/pubsub/pubsub';
|
|
30
30
|
import { DEFAULT_PLACEHOLDER_IMAGE } from '../../utils/constants';
|
|
@@ -118,9 +118,6 @@ const Gallery = ({ media, placeholderImage }: GalleryProps) => {
|
|
|
118
118
|
[placeholderImage]
|
|
119
119
|
);
|
|
120
120
|
|
|
121
|
-
return <p>heheh</p>;
|
|
122
|
-
|
|
123
|
-
/*
|
|
124
121
|
return (
|
|
125
122
|
<>
|
|
126
123
|
<Wrapper>
|
|
@@ -219,7 +216,6 @@ const Gallery = ({ media, placeholderImage }: GalleryProps) => {
|
|
|
219
216
|
)}
|
|
220
217
|
</>
|
|
221
218
|
);
|
|
222
|
-
*/
|
|
223
219
|
};
|
|
224
220
|
|
|
225
221
|
export default Gallery;
|
package/src/utils/formats.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { format as formatFns } from 'date-fns';
|
|
2
|
-
import
|
|
2
|
+
import sv from 'date-fns/locale/sv';
|
|
3
3
|
|
|
4
4
|
// Filter function to remove any null/undefined values.
|
|
5
5
|
export const notEmpty = <TValue>(value: TValue | null | undefined): value is TValue =>
|