@crystaldesign/content-box 24.15.0-beta.2 → 24.15.0-beta.20
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/esm/{index-9afcaa22.js → index-23e00405.js} +1 -1
- package/build/esm/{index-4ff34c96.js → index-486edd73.js} +1 -1
- package/build/esm/{index-806b1f5b.js → index-5d270e08.js} +1 -1
- package/build/esm/{index-ff858a91.js → index-6e69ccad.js} +3 -3
- package/build/esm/{index-5a78d0a5.js → index-94247187.js} +1 -1
- package/build/esm/{index-ee2a30f0.js → index-bee4156d.js} +1 -1
- package/build/esm/{index-c527ec5b.js → index-c2d13bb4.js} +8 -7
- package/build/esm/index.js +1 -1
- package/build/esm/{zoom.module-595b2625.js → zoom.module-ca18608e.js} +1 -1
- package/build/umd/content-box.umd.min.js +1 -1
- package/build/umd/report.html +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as styleInject, a as usePdpState } from './index-
|
|
1
|
+
import { s as styleInject, a as usePdpState } from './index-c2d13bb4.js';
|
|
2
2
|
import { observer } from 'mobx-react-lite';
|
|
3
3
|
import 'react';
|
|
4
4
|
import { useTranslation, DivaUtils } from '@crystaldesign/diva-core';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as styleInject, a as usePdpState, S as STATES, f as footerWrapper, p as posFixed, b as posAbsolute, c as button, d as buttonCenter } from './index-
|
|
1
|
+
import { s as styleInject, a as usePdpState, S as STATES, f as footerWrapper, p as posFixed, b as posAbsolute, c as button, d as buttonCenter } from './index-c2d13bb4.js';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import { observer } from 'mobx-react-lite';
|
|
4
4
|
import 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
2
|
-
import { s as styleInject } from './index-
|
|
2
|
+
import { s as styleInject } from './index-c2d13bb4.js';
|
|
3
3
|
import { useState } from 'react';
|
|
4
4
|
import { useDivaCore, useTranslation } from '@crystaldesign/diva-core';
|
|
5
5
|
import QRCode from 'react-qr-code';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
2
2
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
3
3
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
4
|
-
import { s as styleInject } from './index-
|
|
4
|
+
import { s as styleInject } from './index-c2d13bb4.js';
|
|
5
5
|
import { getLogger, useTranslation, useDivaCore } from '@crystaldesign/diva-core';
|
|
6
6
|
import React, { useMemo, useState, useEffect } from 'react';
|
|
7
7
|
import classNames from 'classnames';
|
|
8
|
-
import ArViewer from './index-
|
|
8
|
+
import ArViewer from './index-5d270e08.js';
|
|
9
9
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
10
10
|
import '@babel/runtime/helpers/defineProperty';
|
|
11
11
|
import 'mobx-react-lite';
|
|
@@ -66,7 +66,7 @@ var MediaViewer = function MediaViewer(_ref) {
|
|
|
66
66
|
setMedias(mediasData);
|
|
67
67
|
}, [mediasData]);
|
|
68
68
|
useEffect(function () {
|
|
69
|
-
if (!keepOldZoomIcons) import('./zoom.module-
|
|
69
|
+
if (!keepOldZoomIcons) import('./zoom.module-ca18608e.js');
|
|
70
70
|
}, []);
|
|
71
71
|
useEffect(function () {
|
|
72
72
|
var _medias$map;
|
|
@@ -2,7 +2,7 @@ import _defineProperty from '@babel/runtime/helpers/defineProperty';
|
|
|
2
2
|
import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
|
|
3
3
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
4
4
|
import _regeneratorRuntime from '@babel/runtime/regenerator';
|
|
5
|
-
import { s as styleInject, u as useApiInterface, G as Group } from './index-
|
|
5
|
+
import { s as styleInject, u as useApiInterface, G as Group } from './index-c2d13bb4.js';
|
|
6
6
|
import { useRef, useEffect, useState } from 'react';
|
|
7
7
|
import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
|
|
8
8
|
import { createPortal } from 'react-dom';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as styleInject, a as usePdpState, f as footerWrapper, p as posFixed, b as posAbsolute, c as button, e as buttonLeft, d as buttonCenter } from './index-
|
|
1
|
+
import { s as styleInject, a as usePdpState, f as footerWrapper, p as posFixed, b as posAbsolute, c as button, e as buttonLeft, d as buttonCenter } from './index-c2d13bb4.js';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import { observer } from 'mobx-react-lite';
|
|
4
4
|
import 'react';
|
|
@@ -210,7 +210,7 @@ var _excluded$3 = ["pdpState"];
|
|
|
210
210
|
function ownKeys$f(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
211
211
|
function _objectSpread$f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$f(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
212
212
|
var Checkpoint = /*#__PURE__*/React.lazy(function () {
|
|
213
|
-
return import('./index-
|
|
213
|
+
return import('./index-23e00405.js');
|
|
214
214
|
});
|
|
215
215
|
var InfoSlider = function InfoSlider(_ref) {
|
|
216
216
|
var _pdpState$infoTabs$ma, _pdpState$infoTabs;
|
|
@@ -1199,10 +1199,10 @@ var useContentBoxState = function useContentBoxState() {
|
|
|
1199
1199
|
function ownKeys$b(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1200
1200
|
function _objectSpread$b(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$b(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$b(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1201
1201
|
var CheckpointFooter = /*#__PURE__*/React.lazy(function () {
|
|
1202
|
-
return import('./index-
|
|
1202
|
+
return import('./index-486edd73.js');
|
|
1203
1203
|
});
|
|
1204
1204
|
var FunctionsFooter = /*#__PURE__*/React.lazy(function () {
|
|
1205
|
-
return import('./index-
|
|
1205
|
+
return import('./index-bee4156d.js');
|
|
1206
1206
|
});
|
|
1207
1207
|
var Footer = function Footer(_ref) {
|
|
1208
1208
|
_objectDestructuringEmpty(_ref);
|
|
@@ -1453,8 +1453,9 @@ var Image = function Image(_ref) {
|
|
|
1453
1453
|
var styles = {};
|
|
1454
1454
|
var urlObj = new URL(url);
|
|
1455
1455
|
if (!cover) {
|
|
1456
|
+
var _style$maxHeight;
|
|
1456
1457
|
styles.maxWidth = '100%';
|
|
1457
|
-
styles.maxHeight = '100%';
|
|
1458
|
+
styles.maxHeight = (_style$maxHeight = style === null || style === void 0 ? void 0 : style.maxHeight) !== null && _style$maxHeight !== void 0 ? _style$maxHeight : '100%';
|
|
1458
1459
|
} else {
|
|
1459
1460
|
styles.objectFit = 'cover';
|
|
1460
1461
|
styles.minWidth = '100%';
|
|
@@ -1686,7 +1687,7 @@ var OptionHeader = function OptionHeader(_ref) {
|
|
|
1686
1687
|
function ownKeys$5(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
1687
1688
|
function _objectSpread$5(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$5(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$5(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
1688
1689
|
var DragAndDrop = /*#__PURE__*/React.lazy(function () {
|
|
1689
|
-
return import('./index-
|
|
1690
|
+
return import('./index-94247187.js');
|
|
1690
1691
|
});
|
|
1691
1692
|
var VariantFields = function VariantFields(_ref) {
|
|
1692
1693
|
var variants = _ref.variants,
|
|
@@ -2152,10 +2153,10 @@ var CloseButtonContainer = function CloseButtonContainer(_ref) {
|
|
|
2152
2153
|
function ownKeys$1(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
2153
2154
|
function _objectSpread$1(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
2154
2155
|
var ArViewer = /*#__PURE__*/React.lazy(function () {
|
|
2155
|
-
return import('./index-
|
|
2156
|
+
return import('./index-5d270e08.js');
|
|
2156
2157
|
});
|
|
2157
2158
|
var MediaViewer = /*#__PURE__*/React.lazy(function () {
|
|
2158
|
-
return import('./index-
|
|
2159
|
+
return import('./index-6e69ccad.js');
|
|
2159
2160
|
});
|
|
2160
2161
|
var ContentBox$1 = function ContentBox(props) {
|
|
2161
2162
|
var _useContentBoxState = useContentBoxState(),
|
package/build/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import '@babel/runtime/helpers/defineProperty';
|
|
2
|
-
export { C as ContentBoxComponent, g as default } from './index-
|
|
2
|
+
export { C as ContentBoxComponent, g as default } from './index-c2d13bb4.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import '@babel/runtime/helpers/slicedToArray';
|