@crystaldesign/content-box 24.15.0-beta.26 → 24.15.0-beta.28

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.
@@ -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-c2d13bb4.js';
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-65698e32.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-c2d13bb4.js';
5
+ import { s as styleInject, u as useApiInterface, G as Group } from './index-65698e32.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,5 +1,5 @@
1
1
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
- import { s as styleInject } from './index-c2d13bb4.js';
2
+ import { s as styleInject } from './index-65698e32.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,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-c2d13bb4.js';
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-65698e32.js';
2
2
  import classNames from 'classnames';
3
3
  import { observer } from 'mobx-react-lite';
4
4
  import 'react';
@@ -1,4 +1,4 @@
1
- import { s as styleInject, a as usePdpState } from './index-c2d13bb4.js';
1
+ import { s as styleInject, a as usePdpState } from './index-65698e32.js';
2
2
  import { observer } from 'mobx-react-lite';
3
3
  import 'react';
4
4
  import { useTranslation, DivaUtils } from '@crystaldesign/diva-core';
@@ -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-23e00405.js');
213
+ return import('./index-649a46f2.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-486edd73.js');
1202
+ return import('./index-0a9c53d9.js');
1203
1203
  });
1204
1204
  var FunctionsFooter = /*#__PURE__*/React.lazy(function () {
1205
- return import('./index-bee4156d.js');
1205
+ return import('./index-63eace4d.js');
1206
1206
  });
1207
1207
  var Footer = function Footer(_ref) {
1208
1208
  _objectDestructuringEmpty(_ref);
@@ -1547,7 +1547,7 @@ var sel = "sel-ULdr-";
1547
1547
  var imageWrapper = "imageWrapper-K247h";
1548
1548
  var wcImage = "wcImage-vgZTU";
1549
1549
  var title = "title-iwrrb";
1550
- var css_248z$6 = "/*Size Normal */\n\n.paletteItem-S5JEn {\n border-radius: var(--globalBorderRadius);\n position: relative;\n z-index: 100;\n transition: all 0.15s ease;\n cursor: pointer;\n\n width: 90px;\n}\n\n.paletteItem-S5JEn:active,\n.paletteItem-S5JEn:hover {\n z-index: 200;\n transition: 0.15s ease;\n}\n\n.wcVCodexText-MUOjy {\n position: absolute;\n line-height: 104px;\n width: 100%;\n color: white;\n display: none;\n text-align: center;\n}\n\n.paletteItem-S5JEn:hover .wcVCodexText-MUOjy,\n.sel-ULdr- .wcVCodexText-MUOjy {\n display: block;\n}\n\n.imageWrapper-K247h {\n border-radius: 50%;\n border: 1px rgb(230, 230, 230) solid;\n display: flex;\n transition: 0.15s ease;\n position: relative;\n}\n\n.paletteItem-S5JEn:not(.sel-ULdr-) .imageWrapper-K247h {\n overflow: hidden;\n}\n.imageWrapper-K247h:hover {\n box-shadow: 0px 1px 4px rgba(68, 49, 49, 0.15);\n border: 1px var(--primaryColor) solid;\n}\n.sel-ULdr- .imageWrapper-K247h:hover,\n.small-BOEaE.sel-ULdr- .imageWrapper-K247h:hover {\n box-shadow: 0px 1px 4px rgba(68, 49, 49, 0.15);\n border: 1px rgb(230, 230, 230) solid;\n}\n.sel-ULdr- .imageWrapper-K247h,\n.small-BOEaE.sel-ULdr- .imageWrapper-K247h {\n box-shadow: 0px 1px 4px rgba(68, 49, 49, 0.15);\n}\n\n.wcImage-vgZTU {\n width: calc(100% - 7px);\n aspect-ratio: 1;\n border: 4px white solid;\n border-radius: 50%;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-drag: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n.sel-ULdr- .wcImage-vgZTU,\n.small-BOEaE.sel-ULdr- .wcImage-vgZTU {\n border: 4px var(--primaryColor) solid;\n}\n\n.hexColor-sqV-T {\n width: 80px;\n height: 80px;\n}\n\n.title-iwrrb {\n margin-top: 4px;\n text-align: center;\n float: left;\n max-height: 64px;\n min-height: 16px;\n width: 100%;\n font-size: 14px;\n line-height: 16px;\n overflow: hidden;\n display: -webkit-box;\n word-wrap: break-word;\n -webkit-box-orient: vertical;\n -webkit-hyphens: auto;\n hyphens: auto;\n -webkit-line-clamp: 2;\n position: relative;\n -webkit-hyphens: auto;\n hyphens: auto;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-drag: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n z-index: 400;\n}\n\n.paletteItem-S5JEn:hover .title-iwrrb,\n.small-BOEaE .paletteItem-S5JEn:hover .title-iwrrb {\n max-height: 608px;\n -webkit-line-clamp: 30;\n overflow: visible;\n z-index: 200;\n}\n\n/* Size Small */\n\n.small-BOEaE .wcVCodexText-MUOjy {\n line-height: 58px;\n font-size: 12px;\n}\n\n.small-BOEaE .title-iwrrb {\n font-size: 12px;\n margin-top: 6px;\n -webkit-line-clamp: 1;\n}\n/* Size very Small */\n\n.very-small-isc7q .wcVCodexText-MUOjy {\n line-height: 48px;\n font-size: 10px;\n}\n\n.very-small-isc7q .title-iwrrb {\n font-size: 10px;\n margin-top: 5px;\n -webkit-line-clamp: 1;\n}\n\n/* Size big */\n\n.big-Lz6Oh .wcVCodexText-MUOjy {\n line-height: 158px;\n font-size: 15px;\n}\n\n.big-Lz6Oh .title-iwrrb {\n font-size: 15px;\n margin-top: 10px;\n -webkit-line-clamp: 2;\n}\n";
1550
+ var css_248z$6 = "/*Size Normal */\n\n.paletteItem-S5JEn {\n border-radius: var(--globalBorderRadius);\n position: relative;\n z-index: 100;\n transition: all 0.15s ease;\n cursor: pointer;\n\n width: 90px;\n}\n\n.paletteItem-S5JEn:active,\n.paletteItem-S5JEn:hover {\n z-index: 200;\n transition: 0.15s ease;\n}\n\n.wcVCodexText-MUOjy {\n position: absolute;\n line-height: 104px;\n width: 100%;\n color: white;\n display: none;\n text-align: center;\n}\n\n.paletteItem-S5JEn:hover .wcVCodexText-MUOjy,\n.sel-ULdr- .wcVCodexText-MUOjy {\n display: block;\n}\n\n.imageWrapper-K247h {\n border-radius: 50%;\n border: 1px rgb(230, 230, 230) solid;\n display: flex;\n transition: 0.15s ease;\n position: relative;\n}\n\n.paletteItem-S5JEn:not(.sel-ULdr-) .imageWrapper-K247h {\n overflow: hidden;\n}\n.imageWrapper-K247h:hover {\n box-shadow: 0px 1px 4px rgba(68, 49, 49, 0.15);\n border: 1px var(--primaryColor) solid;\n}\n.sel-ULdr- .imageWrapper-K247h:hover,\n.small-BOEaE.sel-ULdr- .imageWrapper-K247h:hover {\n box-shadow: 0px 1px 4px rgba(68, 49, 49, 0.15);\n border: 1px rgb(230, 230, 230) solid;\n}\n.sel-ULdr- .imageWrapper-K247h,\n.small-BOEaE.sel-ULdr- .imageWrapper-K247h {\n box-shadow: 0px 1px 4px rgba(68, 49, 49, 0.15);\n}\n\n.wcImage-vgZTU {\n width: calc(100% - 8px);\n aspect-ratio: 1;\n border: 4px white solid;\n border-radius: 50%;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-drag: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n}\n.sel-ULdr- .wcImage-vgZTU,\n.small-BOEaE.sel-ULdr- .wcImage-vgZTU {\n border: 4px var(--primaryColor) solid;\n}\n\n.hexColor-sqV-T {\n width: 80px;\n height: 80px;\n}\n\n.title-iwrrb {\n margin-top: 4px;\n text-align: center;\n float: left;\n max-height: 64px;\n min-height: 16px;\n width: 100%;\n font-size: 14px;\n line-height: 16px;\n overflow: hidden;\n display: -webkit-box;\n word-wrap: break-word;\n -webkit-box-orient: vertical;\n -webkit-hyphens: auto;\n hyphens: auto;\n -webkit-line-clamp: 2;\n position: relative;\n -webkit-hyphens: auto;\n hyphens: auto;\n user-select: none;\n -moz-user-select: none;\n -webkit-user-drag: none;\n -webkit-user-select: none;\n -ms-user-select: none;\n z-index: 400;\n}\n\n.paletteItem-S5JEn:hover .title-iwrrb,\n.small-BOEaE .paletteItem-S5JEn:hover .title-iwrrb {\n max-height: 608px;\n -webkit-line-clamp: 30;\n overflow: visible;\n z-index: 200;\n}\n\n/* Size Small */\n\n.small-BOEaE .wcVCodexText-MUOjy {\n line-height: 58px;\n font-size: 12px;\n}\n\n.small-BOEaE .title-iwrrb {\n font-size: 12px;\n margin-top: 6px;\n -webkit-line-clamp: 1;\n}\n/* Size very Small */\n\n.very-small-isc7q .wcVCodexText-MUOjy {\n line-height: 48px;\n font-size: 10px;\n}\n\n.very-small-isc7q .title-iwrrb {\n font-size: 10px;\n margin-top: 5px;\n -webkit-line-clamp: 1;\n}\n\n/* Size big */\n\n.big-Lz6Oh .wcVCodexText-MUOjy {\n line-height: 158px;\n font-size: 15px;\n}\n\n.big-Lz6Oh .title-iwrrb {\n font-size: 15px;\n margin-top: 10px;\n -webkit-line-clamp: 2;\n}\n";
1551
1551
  styleInject(css_248z$6);
1552
1552
 
1553
1553
  var ImageAndText = function ImageAndText(_ref) {
@@ -1687,7 +1687,7 @@ var OptionHeader = function OptionHeader(_ref) {
1687
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; }
1688
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; }
1689
1689
  var DragAndDrop = /*#__PURE__*/React.lazy(function () {
1690
- return import('./index-94247187.js');
1690
+ return import('./index-3cb93b1f.js');
1691
1691
  });
1692
1692
  var VariantFields = function VariantFields(_ref) {
1693
1693
  var variants = _ref.variants,
@@ -2153,10 +2153,10 @@ var CloseButtonContainer = function CloseButtonContainer(_ref) {
2153
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; }
2154
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; }
2155
2155
  var ArViewer = /*#__PURE__*/React.lazy(function () {
2156
- return import('./index-5d270e08.js');
2156
+ return import('./index-582fc28b.js');
2157
2157
  });
2158
2158
  var MediaViewer = /*#__PURE__*/React.lazy(function () {
2159
- return import('./index-6e69ccad.js');
2159
+ return import('./index-80f1c4d2.js');
2160
2160
  });
2161
2161
  var ContentBox$1 = function ContentBox(props) {
2162
2162
  var _useContentBoxState = useContentBoxState(),
@@ -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-c2d13bb4.js';
4
+ import { s as styleInject } from './index-65698e32.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-5d270e08.js';
8
+ import ArViewer from './index-582fc28b.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-ca18608e.js');
69
+ if (!keepOldZoomIcons) import('./zoom.module-c92b8356.js');
70
70
  }, []);
71
71
  useEffect(function () {
72
72
  var _medias$map;
@@ -1,5 +1,5 @@
1
1
  import '@babel/runtime/helpers/defineProperty';
2
- export { C as ContentBoxComponent, g as default } from './index-c2d13bb4.js';
2
+ export { C as ContentBoxComponent, g as default } from './index-65698e32.js';
3
3
  import 'react';
4
4
  import 'react/jsx-runtime';
5
5
  import '@babel/runtime/helpers/slicedToArray';
@@ -1,4 +1,4 @@
1
- import { s as styleInject } from './index-c2d13bb4.js';
1
+ import { s as styleInject } from './index-65698e32.js';
2
2
  import '@babel/runtime/helpers/defineProperty';
3
3
  import 'react';
4
4
  import 'react/jsx-runtime';