@crystaldesign/diva-core 24.15.0-beta.39 → 24.15.0-beta.40
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/{ModalsWrapper-5aea83a2.js → ModalsWrapper-10fce47e.js} +1 -1
- package/build/esm/{index-d04d4688.js → index-4db284a4.js} +13 -4
- package/build/esm/{index-b1eadbea.js → index-600e89eb.js} +76 -52
- package/build/esm/index.js +1 -1
- package/build/types/core/src/elements/Auth/index.d.ts.map +1 -1
- package/build/types/core/src/store/ConfigurationStore.d.ts.map +1 -1
- package/build/types/core/src/store/ContentStore.d.ts +6 -0
- package/build/types/core/src/store/ContentStore.d.ts.map +1 -1
- package/build/types/core/src/store/index.d.ts +9 -0
- package/build/types/core/src/store/index.d.ts.map +1 -1
- package/build/types/core/src/types.d.ts +3 -0
- package/build/types/core/src/types.d.ts.map +1 -1
- package/build/umd/266.diva-core.umd.min.js +1 -1
- package/build/umd/806.diva-core.umd.min.js +2 -0
- package/build/umd/806.diva-core.umd.min.js.LICENSE.txt +1 -0
- package/build/umd/diva-core.umd.min.js +2 -2
- package/build/umd/report.html +1 -1
- package/package.json +11 -10
- package/build/umd/113.diva-core.umd.min.js +0 -2
- package/build/umd/113.diva-core.umd.min.js.LICENSE.txt +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-core",
|
|
3
|
-
"version": "24.15.0-beta.
|
|
3
|
+
"version": "24.15.0-beta.40",
|
|
4
4
|
"license": "COMMERCIAL",
|
|
5
5
|
"homepage": "https://www.diva-portal.de",
|
|
6
6
|
"devDependencies": {
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"react-dom": "18.3.1"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@crystaldesign/basket-handler": "24.15.0-beta.
|
|
16
|
-
"@crystaldesign/basket-model": "24.15.0-beta.
|
|
17
|
-
"@crystaldesign/content-box": "24.15.0-beta.
|
|
18
|
-
"@crystaldesign/diva-utils": "24.15.0-beta.
|
|
19
|
-
"@crystaldesign/forms": "24.15.0-beta.
|
|
20
|
-
"@crystaldesign/grid": "24.15.0-beta.
|
|
21
|
-
"@crystaldesign/media-upload": "24.15.0-beta.
|
|
22
|
-
"@crystaldesign/product-handler": "24.15.0-beta.
|
|
15
|
+
"@crystaldesign/basket-handler": "24.15.0-beta.40",
|
|
16
|
+
"@crystaldesign/basket-model": "24.15.0-beta.40",
|
|
17
|
+
"@crystaldesign/content-box": "24.15.0-beta.40",
|
|
18
|
+
"@crystaldesign/diva-utils": "24.15.0-beta.40",
|
|
19
|
+
"@crystaldesign/forms": "24.15.0-beta.40",
|
|
20
|
+
"@crystaldesign/grid": "24.15.0-beta.40",
|
|
21
|
+
"@crystaldesign/media-upload": "24.15.0-beta.40",
|
|
22
|
+
"@crystaldesign/product-handler": "24.15.0-beta.40",
|
|
23
23
|
"@elastic/apm-rum": "^5.16.1",
|
|
24
24
|
"@elastic/apm-rum-react": "^2.0.2",
|
|
25
25
|
"@emotion/react": "^11.4.1",
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
"platform": "1.3.6",
|
|
41
41
|
"react-i18next": "^15.0.1",
|
|
42
42
|
"react-router-dom": "^6.23.1",
|
|
43
|
+
"react-snowfall": "^2.2.0",
|
|
43
44
|
"react-swipeable": "^7.0.1"
|
|
44
45
|
},
|
|
45
46
|
"peerDependencies": {
|
|
@@ -49,5 +50,5 @@
|
|
|
49
50
|
},
|
|
50
51
|
"types": "./build/types/core/src/index.d.ts",
|
|
51
52
|
"module": "build/esm/index.js",
|
|
52
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "ed900e671d4442ebd8a0dc07ebf3b1013fc20dce"
|
|
53
54
|
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see 113.diva-core.umd.min.js.LICENSE.txt */
|
|
2
|
-
"use strict";(self.webpackChunkCrystaldesignDivaCore=self.webpackChunkCrystaldesignDivaCore||[]).push([[113],{5113:(e,t,o)=>{o.d(t,{Z:()=>$});var a=o(7363),r=o(7726),n=o(4062),i=o(9074),s=o(1522),c=o(1684),l=o(7843);const d=function useControlled({controlled:e,default:t,name:o,state:r="value"}){const{current:n}=a.useRef(void 0!==e),[i,s]=a.useState(t);return[n?e:i,a.useCallback((e=>{n||s(e)}),[])]};const p=a.createContext(void 0);var u=o(189),h=o(3966),m=o(431);function getSwitchBaseUtilityClass(e){return(0,m.ZP)("PrivateSwitchBase",e)}(0,h.Z)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var v=o(7514);const b=(0,l.ZP)(u.Z)({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>"start"===e&&"small"!==t.size,style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>"end"===e&&"small"!==t.size,style:{marginRight:-12}}]}),k=(0,l.ZP)("input",{shouldForwardProp:c.Z})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),f=a.forwardRef((function SwitchBase(e,t){const{autoFocus:o,checked:i,checkedIcon:c,className:l,defaultChecked:u,disabled:h,disableFocusRipple:m=!1,edge:f=!1,icon:g,id:C,inputProps:x,inputRef:y,name:Z,onBlur:z,onChange:S,onFocus:w,readOnly:R,required:B=!1,tabIndex:P,type:F,value:$,...j}=e,[I,O]=d({controlled:i,default:Boolean(u),name:"SwitchBase",state:"checked"}),M=function useFormControl(){return a.useContext(p)}();let H=h;M&&void 0===H&&(H=M.disabled);const N="checkbox"===F||"radio"===F,q={...e,checked:I,disabled:H,disableFocusRipple:m,edge:f},E=(e=>{const{classes:t,checked:o,disabled:a,edge:r}=e,i={root:["root",o&&"checked",a&&"disabled",r&&`edge${(0,s.Z)(r)}`],input:["input"]};return(0,n.Z)(i,getSwitchBaseUtilityClass,t)})(q);return(0,v.jsxs)(b,{component:"span",className:(0,r.Z)(E.root,l),centerRipple:!0,focusRipple:!m,disabled:H,tabIndex:null,role:void 0,onFocus:e=>{w&&w(e),M&&M.onFocus&&M.onFocus(e)},onBlur:e=>{z&&z(e),M&&M.onBlur&&M.onBlur(e)},ownerState:q,ref:t,...j,children:[(0,v.jsx)(k,{autoFocus:o,checked:i,defaultChecked:u,className:E.input,disabled:H,id:N?C:void 0,name:Z,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;O(t),S&&S(e,t)},readOnly:R,ref:y,required:B,ownerState:q,tabIndex:P,type:F,..."checkbox"===F&&void 0===$?{}:{value:$},...x}),I?c:g]})}));var g=o(6177);const C=(0,g.Z)((0,v.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),x=(0,g.Z)((0,v.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),y=(0,g.Z)((0,v.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function getCheckboxUtilityClass(e){return(0,m.ZP)("MuiCheckbox",e)}const Z=(0,h.Z)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]);var z=o(518),S=o(8981),w=o(2893);const R=(0,l.ZP)(f,{shouldForwardProp:e=>(0,c.Z)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.indeterminate&&t.indeterminate,t[`size${(0,s.Z)(o.size)}`],"default"!==o.color&&t[`color${(0,s.Z)(o.color)}`]]}})((0,z.Z)((({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.Fq)(e.palette.action.active,e.palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter((0,S.Z)()).map((([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,i.Fq)(e.palette[t].main,e.palette.action.hoverOpacity)}}}))),...Object.entries(e.palette).filter((0,S.Z)()).map((([t])=>({props:{color:t},style:{[`&.${Z.checked}, &.${Z.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${Z.disabled}`]:{color:(e.vars||e).palette.action.disabled}}}))),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]})))),B=(0,v.jsx)(x,{}),P=(0,v.jsx)(C,{}),F=(0,v.jsx)(y,{}),$=a.forwardRef((function Checkbox(e,t){const o=(0,w.i)({props:e,name:"MuiCheckbox"}),{checkedIcon:i=B,color:c="primary",icon:l=P,indeterminate:d=!1,indeterminateIcon:p=F,inputProps:u,size:h="medium",disableRipple:m=!1,className:b,...k}=o,f=d?p:l,g=d?p:i,C={...o,disableRipple:m,color:c,indeterminate:d,size:h},x=(e=>{const{classes:t,indeterminate:o,color:a,size:r}=e,i={root:["root",o&&"indeterminate",`color${(0,s.Z)(a)}`,`size${(0,s.Z)(r)}`]},c=(0,n.Z)(i,getCheckboxUtilityClass,t);return{...t,...c}})(C);return(0,v.jsx)(R,{type:"checkbox",inputProps:{"data-indeterminate":d,...u},icon:a.cloneElement(f,{fontSize:f.props.fontSize??h}),checkedIcon:a.cloneElement(g,{fontSize:g.props.fontSize??h}),ownerState:C,ref:t,className:(0,r.Z)(x.root,b),disableRipple:m,...k,classes:x})}))}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/*! filename:113 */
|