react-justified-layout-ts 1.1.6 → 1.1.8
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.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TSJustifiedLayout } from "./components/TSJustifiedLayout/TSJustifiedLayout";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TSJustifiedLayout = void 0;
|
|
4
|
+
var TSJustifiedLayout_1 = require("./components/TSJustifiedLayout/TSJustifiedLayout");
|
|
5
|
+
Object.defineProperty(exports, "TSJustifiedLayout", { enumerable: true, get: function () { return TSJustifiedLayout_1.TSJustifiedLayout; } });
|
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Secondary = exports.Primary = void 0;
|
|
6
|
+
exports.Single = exports.Secondary = exports.Primary = void 0;
|
|
7
7
|
const ConfiguredJustifiedLayout_1 = require("./ConfiguredJustifiedLayout");
|
|
8
8
|
const react_1 = __importDefault(require("react"));
|
|
9
9
|
const meta = {
|
|
@@ -195,3 +195,15 @@ exports.Secondary = {
|
|
|
195
195
|
children: displayedImages.slice(1, 5).map(value => react_1.default.createElement("img", { src: value.webp }))
|
|
196
196
|
},
|
|
197
197
|
};
|
|
198
|
+
exports.Single = {
|
|
199
|
+
args: {
|
|
200
|
+
children: [react_1.default.createElement("img", { src: 'https://alcorsiteartbucket.s3.amazonaws.com/webp/alcor_wow.webp' })],
|
|
201
|
+
width: 847,
|
|
202
|
+
showWidows: true,
|
|
203
|
+
targetRowHeight: undefined,
|
|
204
|
+
rowSpacing: undefined,
|
|
205
|
+
itemSpacing: undefined,
|
|
206
|
+
targetRowHeightTolerance: undefined,
|
|
207
|
+
layoutItems: [1],
|
|
208
|
+
}
|
|
209
|
+
};
|
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-justified-layout-ts",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.8",
|
|
4
4
|
"description": "A component based off Flickr's justified layout that is compatible with Typescript",
|
|
5
5
|
"main": "./dist/TSJustifiedLayout.js",
|
|
6
6
|
"types": "./dist/TSJustifiedLayout.d.ts",
|
|
7
7
|
"files": [
|
|
8
8
|
"dist"
|
|
9
9
|
],
|
|
10
|
+
"exports": {
|
|
11
|
+
".": "./dist/index.js"
|
|
12
|
+
},
|
|
10
13
|
"scripts": {
|
|
11
14
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
12
15
|
"typescript": "tsc",
|