@crystaldesign/content-box 25.4.0-beta.2 → 25.4.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-b6a8290a.js → index-32e98291.js} +7 -7
- package/build/esm/{index-82c277ec.js → index-6ea706ef.js} +1 -1
- package/build/esm/{index-d978d3b3.js → index-70a7c231.js} +1 -1
- package/build/esm/{index-45195850.js → index-b18840db.js} +1 -1
- package/build/esm/{index-f138b564.js → index-b9dc8736.js} +1 -1
- package/build/esm/{index-039f9ef6.js → index-c145b31e.js} +3 -3
- package/build/esm/{index-aea924e1.js → index-fb81c214.js} +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/{zoom.module-4f0c07f2.js → zoom.module-5360c9ad.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
|
@@ -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-6ea706ef.js');
|
|
214
214
|
});
|
|
215
215
|
var InfoSlider = function InfoSlider(_ref) {
|
|
216
216
|
var _pdpState$infoTabs$ma, _pdpState$infoTabs;
|
|
@@ -1198,10 +1198,10 @@ var useContentBoxState = function useContentBoxState() {
|
|
|
1198
1198
|
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; }
|
|
1199
1199
|
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; }
|
|
1200
1200
|
var CheckpointFooter = /*#__PURE__*/React.lazy(function () {
|
|
1201
|
-
return import('./index-
|
|
1201
|
+
return import('./index-b9dc8736.js');
|
|
1202
1202
|
});
|
|
1203
1203
|
var FunctionsFooter = /*#__PURE__*/React.lazy(function () {
|
|
1204
|
-
return import('./index-
|
|
1204
|
+
return import('./index-70a7c231.js');
|
|
1205
1205
|
});
|
|
1206
1206
|
var Footer = function Footer(_ref) {
|
|
1207
1207
|
_objectDestructuringEmpty(_ref);
|
|
@@ -1686,7 +1686,7 @@ var OptionHeader = function OptionHeader(_ref) {
|
|
|
1686
1686
|
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
1687
|
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
1688
|
var DragAndDrop = /*#__PURE__*/React.lazy(function () {
|
|
1689
|
-
return import('./index-
|
|
1689
|
+
return import('./index-b18840db.js');
|
|
1690
1690
|
});
|
|
1691
1691
|
var VariantFields = function VariantFields(_ref) {
|
|
1692
1692
|
var variants = _ref.variants,
|
|
@@ -2024,7 +2024,7 @@ var css_248z$2 = "/**\n * Swiper 8.3.2\n * Most modern mobile touch slider and f
|
|
|
2024
2024
|
styleInject(css_248z$2);
|
|
2025
2025
|
|
|
2026
2026
|
var divaSwiperCustom = "diva-swiper-custom-Upi-x";
|
|
2027
|
-
var css_248z$1 = ".diva-swiper-custom-Upi-x .swiper {\n --swiper-theme-color: var(--diva-theme-palette-primary-main);\n width: 100%;\n height: 100%;\n}\n\n.diva-swiper-custom-Upi-x .swiper-slide {\n font-size: 18px;\n overflow: hidden;\n\n display: flex;\n\n justify-content: center;\n\n align-items: start;\n}\n#diva-swiper-T-kxe .swiper-slide-2a3TN.diva-pagination-css-7VTKJ {\n align-items: start;\n}\n\n.diva-swiper-custom-Upi-x.diva-pagination-css .swiper-slide-with-pagination {\n box-sizing: border-box !important;\n}\n\n.diva-swiper-custom-Upi-x.diva-pagination-css .swiper-slide-with-pagination {\n height: 100%;\n padding-top: 40px;\n justify-content: initial;\n align-items: initial;\n}\n\n.diva-swiper-custom-Upi-x.diva-pagination-css .swiper-pagination-horizontal {\n z-index: 5 !important;\n}\n\n.diva-swiper-custom-Upi-x.diva-pagination-css .swiper-pagination-horizontal {\n position: absolute;\n top: 0;\n width: 100%;\n transition: 0.3s opacity;\n width: -moz-fit-content;\n display: flex;\n justify-content: center;\n align-items: flex-end;\n}\n\n/* custom pagination for type tab */\n\n.diva-swiper-custom-Upi-x.diva-pagination-css .swiper-pagination-bullets {\n display: flex;\n justify-content: flex-start;\n gap: 12px;\n}\n\n.diva-swiper-custom-Upi-x .paginationTitle {\n display: flex;\n flex-direction: column;\n flex-basis: 100%;\n max-width: 180px;\n font-family: var(--diva-typography-font-family);\n font-style: normal;\n font-weight: 500;\n font-size: 17px;\n line-height: 20px;\n}\n\n.diva-swiper-custom-Upi-x .paginationTitle > div {\n color: #8f8f8f;\n cursor: pointer;\n white-space: nowrap;\n transition: background-color 300ms ease;\n}\n\n.diva-swiper-custom-Upi-x .paginationTitle > div:nth-child(1) {\n padding: 5px 5px 5px 2px;\n text-align: left;\n}\n\n.diva-swiper-custom-Upi-x .paginationTitle > div:nth-child(2) {\n height: 3px;\n background-color: #e0e0e0;\n border-radius: 3px;\n}\n\n.diva-swiper-custom-Upi-x .paginationTitle:hover > div:nth-child(2) {\n background-color: grey;\n}\n.diva-swiper-custom-Upi-x .paginationTitleSel:hover > div:nth-child(1) {\n color: var(--diva-theme-palette-primary-main);\n}\n.diva-swiper-custom-Upi-x .paginationTitleSel:hover > div:nth-child(2) {\n background-color: var(--diva-theme-palette-primary-main);\n}\n\n.diva-swiper-custom-Upi-x .paginationTitleSel > div:nth-child(1) {\n color: var(--diva-theme-palette-primary-main);\n}\n\n.diva-swiper-custom-Upi-x .paginationTitleSel > div:nth-child(2) {\n background-color: var(--diva-theme-palette-primary-main);\n}\n\n.diva-swiper-custom-Upi-x.diva-pagination-css .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {\n top: 10px;\n height: -moz-min-content;\n height: min-content;\n}\n";
|
|
2027
|
+
var css_248z$1 = ".diva-swiper-custom-Upi-x .swiper {\n --swiper-theme-color: var(--diva-theme-palette-primary-main);\n width: 100%;\n height: 100%;\n}\n\n.diva-swiper-custom-Upi-x .swiper-slide {\n font-size: 18px;\n overflow: hidden;\n\n display: flex;\n\n justify-content: center;\n\n align-items: flex-start;\n}\n#diva-swiper-T-kxe .swiper-slide-2a3TN.diva-pagination-css-7VTKJ {\n align-items: flex-start;\n}\n\n.diva-swiper-custom-Upi-x.diva-pagination-css .swiper-slide-with-pagination {\n box-sizing: border-box !important;\n}\n\n.diva-swiper-custom-Upi-x.diva-pagination-css .swiper-slide-with-pagination {\n height: 100%;\n padding-top: 40px;\n justify-content: initial;\n align-items: initial;\n}\n\n.diva-swiper-custom-Upi-x.diva-pagination-css .swiper-pagination-horizontal {\n z-index: 5 !important;\n}\n\n.diva-swiper-custom-Upi-x.diva-pagination-css .swiper-pagination-horizontal {\n position: absolute;\n top: 0;\n width: 100%;\n transition: 0.3s opacity;\n width: -moz-fit-content;\n display: flex;\n justify-content: center;\n align-items: flex-end;\n}\n\n/* custom pagination for type tab */\n\n.diva-swiper-custom-Upi-x.diva-pagination-css .swiper-pagination-bullets {\n display: flex;\n justify-content: flex-start;\n gap: 12px;\n}\n\n.diva-swiper-custom-Upi-x .paginationTitle {\n display: flex;\n flex-direction: column;\n flex-basis: 100%;\n max-width: 180px;\n font-family: var(--diva-typography-font-family);\n font-style: normal;\n font-weight: 500;\n font-size: 17px;\n line-height: 20px;\n}\n\n.diva-swiper-custom-Upi-x .paginationTitle > div {\n color: #8f8f8f;\n cursor: pointer;\n white-space: nowrap;\n transition: background-color 300ms ease;\n}\n\n.diva-swiper-custom-Upi-x .paginationTitle > div:nth-child(1) {\n padding: 5px 5px 5px 2px;\n text-align: left;\n}\n\n.diva-swiper-custom-Upi-x .paginationTitle > div:nth-child(2) {\n height: 3px;\n background-color: #e0e0e0;\n border-radius: 3px;\n}\n\n.diva-swiper-custom-Upi-x .paginationTitle:hover > div:nth-child(2) {\n background-color: grey;\n}\n.diva-swiper-custom-Upi-x .paginationTitleSel:hover > div:nth-child(1) {\n color: var(--diva-theme-palette-primary-main);\n}\n.diva-swiper-custom-Upi-x .paginationTitleSel:hover > div:nth-child(2) {\n background-color: var(--diva-theme-palette-primary-main);\n}\n\n.diva-swiper-custom-Upi-x .paginationTitleSel > div:nth-child(1) {\n color: var(--diva-theme-palette-primary-main);\n}\n\n.diva-swiper-custom-Upi-x .paginationTitleSel > div:nth-child(2) {\n background-color: var(--diva-theme-palette-primary-main);\n}\n\n.diva-swiper-custom-Upi-x.diva-pagination-css .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {\n top: 10px;\n height: -moz-min-content;\n height: min-content;\n}\n";
|
|
2028
2028
|
styleInject(css_248z$1);
|
|
2029
2029
|
|
|
2030
2030
|
var _excluded$1 = ["contents", "sliderType", "autoPlay", "pagination", "navigation", "type", "height", "centeredSlides", "scrollToSelectedItem", "swipeRef"];
|
|
@@ -2161,10 +2161,10 @@ var CloseButtonContainer = function CloseButtonContainer(_ref) {
|
|
|
2161
2161
|
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; }
|
|
2162
2162
|
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; }
|
|
2163
2163
|
var ArViewer = /*#__PURE__*/React.lazy(function () {
|
|
2164
|
-
return import('./index-
|
|
2164
|
+
return import('./index-fb81c214.js');
|
|
2165
2165
|
});
|
|
2166
2166
|
var MediaViewer = /*#__PURE__*/React.lazy(function () {
|
|
2167
|
-
return import('./index-
|
|
2167
|
+
return import('./index-c145b31e.js');
|
|
2168
2168
|
});
|
|
2169
2169
|
var ContentBox$1 = function ContentBox(props) {
|
|
2170
2170
|
var _useContentBoxState = useContentBoxState(),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as styleInject, a as usePdpState } from './index-
|
|
1
|
+
import { s as styleInject, a as usePdpState } from './index-32e98291.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, 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-32e98291.js';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import { observer } from 'mobx-react-lite';
|
|
4
4
|
import 'react';
|
|
@@ -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-32e98291.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, 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-32e98291.js';
|
|
2
2
|
import classNames from 'classnames';
|
|
3
3
|
import { observer } from 'mobx-react-lite';
|
|
4
4
|
import 'react';
|
|
@@ -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-32e98291.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-fb81c214.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-5360c9ad.js');
|
|
70
70
|
}, []);
|
|
71
71
|
useEffect(function () {
|
|
72
72
|
var _medias$map;
|
|
@@ -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-32e98291.js';
|
|
3
3
|
import { useState } from 'react';
|
|
4
4
|
import { useDivaCore, useTranslation } from '@crystaldesign/diva-core';
|
|
5
5
|
import QRCode from 'react-qr-code';
|
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-32e98291.js';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react/jsx-runtime';
|
|
5
5
|
import '@babel/runtime/helpers/slicedToArray';
|