@crystaldesign/diva-navigator 25.1.0-beta.36 → 25.1.0-beta.38
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.js
CHANGED
|
@@ -1526,11 +1526,15 @@ var HidePrices = function HidePrices(props) {
|
|
|
1526
1526
|
var _useDivaCore = useDivaCore(),
|
|
1527
1527
|
_useDivaCore$state = _useDivaCore.state,
|
|
1528
1528
|
hidePrices = _useDivaCore$state.hidePrices,
|
|
1529
|
+
hideConfigPricePreview = _useDivaCore$state.hideConfigPricePreview,
|
|
1529
1530
|
hideSnow = _useDivaCore$state.hideSnow,
|
|
1530
1531
|
theme = _useDivaCore$state.theme,
|
|
1531
|
-
|
|
1532
|
+
_useDivaCore$state$na = _useDivaCore$state.navigationConfiguration,
|
|
1533
|
+
showSnow = _useDivaCore$state$na.showSnow,
|
|
1534
|
+
pricePreviewActive = _useDivaCore$state$na.pricePreviewActive,
|
|
1532
1535
|
_useDivaCore$actions = _useDivaCore.actions,
|
|
1533
1536
|
toggleHidePrices = _useDivaCore$actions.toggleHidePrices,
|
|
1537
|
+
toggleHideConfigPricePreview = _useDivaCore$actions.toggleHideConfigPricePreview,
|
|
1534
1538
|
toggleHideSnow = _useDivaCore$actions.toggleHideSnow;
|
|
1535
1539
|
var _useTranslation = useTranslation(),
|
|
1536
1540
|
t = _useTranslation.t;
|
|
@@ -1550,6 +1554,22 @@ var HidePrices = function HidePrices(props) {
|
|
|
1550
1554
|
}), /*#__PURE__*/jsx("div", {
|
|
1551
1555
|
className: text,
|
|
1552
1556
|
children: t('navigation.user.hideprices')
|
|
1557
|
+
}), pricePreviewActive && /*#__PURE__*/jsxs(Fragment$1, {
|
|
1558
|
+
children: [/*#__PURE__*/jsx(Switch, {
|
|
1559
|
+
onChange: toggleHideConfigPricePreview,
|
|
1560
|
+
checked: !hideConfigPricePreview,
|
|
1561
|
+
onColor: myVarVal,
|
|
1562
|
+
offColor: '#CACACA',
|
|
1563
|
+
height: 20,
|
|
1564
|
+
width: 36,
|
|
1565
|
+
handleDiameter: 16,
|
|
1566
|
+
uncheckedIcon: false,
|
|
1567
|
+
checkedIcon: false,
|
|
1568
|
+
disabled: hidePrices
|
|
1569
|
+
}), /*#__PURE__*/jsx("div", {
|
|
1570
|
+
className: text,
|
|
1571
|
+
children: t('navigation.user.hideconfigpricepreview')
|
|
1572
|
+
})]
|
|
1553
1573
|
}), showSnow && /*#__PURE__*/jsxs(Fragment$1, {
|
|
1554
1574
|
children: [/*#__PURE__*/jsx(Switch, {
|
|
1555
1575
|
onChange: toggleHideSnow,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Profil/HidePrices/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,KAAK,GAAG,EAAE,CAAC;AAEhB,QAAA,MAAM,UAAU,UAAW,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/Profil/HidePrices/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,KAAK,KAAK,GAAG,EAAE,CAAC;AAEhB,QAAA,MAAM,UAAU,UAAW,KAAK,sBAkE/B,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crystaldesign/diva-navigator",
|
|
3
|
-
"version": "25.1.0-beta.
|
|
3
|
+
"version": "25.1.0-beta.38",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"devDependencies": {
|
|
6
6
|
"@testing-library/jest-dom": "^6.5.0",
|
|
@@ -24,5 +24,5 @@
|
|
|
24
24
|
},
|
|
25
25
|
"module": "build/esm/index.js",
|
|
26
26
|
"types": "./build/types/navigator/src/index.d.ts",
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "a65ec75ab8070391e453b0ff8a867d7c55db76a8"
|
|
28
28
|
}
|