@ubnt/store.core 11.15.1-alpha.2 → 11.15.1-alpha.4
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/CHANGELOG.md +8 -0
- package/lib/assets/ai-360.jpg +0 -0
- package/lib/assets/ai-3602.jpg +0 -0
- package/lib/assets/ai-dome.jpg +0 -0
- package/lib/assets/ai-dome2.jpg +0 -0
- package/lib/assets/ai-theta.jpg +0 -0
- package/lib/assets/ai-theta2.jpg +0 -0
- package/lib/assets/ai-turret.jpg +0 -0
- package/lib/assets/ai-turret2.jpg +0 -0
- package/lib/assets/bullet2.svg +4 -2
- package/lib/assets/bullet3.svg +2 -4
- package/lib/assets/g2-reader.jpg +0 -0
- package/lib/assets/g2-reader2.jpg +0 -0
- package/lib/assets/g3-reader-pro.jpg +0 -0
- package/lib/assets/g3-reader-pro2.jpg +0 -0
- package/lib/assets/g3-starter-kit.jpg +0 -0
- package/lib/assets/g3-starter-kit2.jpg +0 -0
- package/lib/assets/g5-dome.jpg +0 -0
- package/lib/assets/g5-dome2.jpg +0 -0
- package/lib/assets/g5-ptz.jpg +0 -0
- package/lib/assets/g5-ptz2.jpg +0 -0
- package/lib/assets/plus4.svg +9 -9
- package/lib/assets/plus5.svg +9 -9
- package/lib/components/Header/Navigation/ProMobileMenu/ProMobileMenu.types.d.ts +2 -2
- package/lib/components/Header/ProHeader/ProHeader.js +40 -23
- package/lib/components/Header/ProHeader/ProHeader.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeader.mjs +42 -25
- package/lib/components/Header/ProHeader/ProHeader.mjs.map +1 -1
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.js +2 -2
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.mjs +2 -2
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.mjs.map +1 -1
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.js +1 -0
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.mjs +1 -0
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/plus.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/plus.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Bullet/bullet.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/Bullet/bullet.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DomeTurret/ai-360.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DomeTurret/ai-360.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DomeTurret/ai-dome.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DomeTurret/ai-dome.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DomeTurret/ai-turret.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DomeTurret/ai-turret.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DomeTurret/g5-dome.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DomeTurret/g5-dome.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DoorAccess/g2-reader.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/g2-reader.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader-pro.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-starter-kit.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-starter-kit.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Interior/ai-theta.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Interior/ai-theta.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/PTZ/g5-ptz.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/PTZ/g5-ptz.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/bullet.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/bullet.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-360.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-360.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-dome.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-dome.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-turret.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/ai-turret.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-dome.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/dome-and-turret/g5-dome.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g2-reader.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g2-reader.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader-pro.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader-pro.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-starter-kit.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-starter-kit.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/interior-design/ai-theta.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/interior-design/ai-theta.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/ptz/g5-ptz.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/ptz/g5-ptz.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Bullet.js +1 -1
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Bullet.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/bullet.js +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/bullet.mjs +1 -1
- package/lib/constants/modelCompareData/data/products/ai360.js +2 -2
- package/lib/constants/modelCompareData/data/products/ai360.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/aiDome.js +2 -2
- package/lib/constants/modelCompareData/data/products/aiDome.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/aiTurret.js +2 -2
- package/lib/constants/modelCompareData/data/products/aiTurret.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g2Reader.js +2 -2
- package/lib/constants/modelCompareData/data/products/g2Reader.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g3ReaderPro.js +2 -2
- package/lib/constants/modelCompareData/data/products/g3ReaderPro.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g3StarterKit.js +2 -2
- package/lib/constants/modelCompareData/data/products/g3StarterKit.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g5Dome.js +2 -2
- package/lib/constants/modelCompareData/data/products/g5Dome.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g5Ptz.js +2 -2
- package/lib/constants/modelCompareData/data/products/g5Ptz.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/theta.js +2 -2
- package/lib/constants/modelCompareData/data/products/theta.mjs +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,14 @@
|
|
|
6
6
|
|
|
7
7
|
## Releases
|
|
8
8
|
|
|
9
|
+
### 11.15.1-alpha.4
|
|
10
|
+
|
|
11
|
+
- [Feat] [NEP-4783](https://github.com/ubiquiti/store.shared/pull/1481) ProHeader: mobile menu: Handle auto close and fix UniFi label
|
|
12
|
+
|
|
13
|
+
### 11.15.1-alpha.3
|
|
14
|
+
|
|
15
|
+
- [Feat] [NEP-4783](https://github.com/ubiquiti/store.shared/pull/1481) ProHeader: update logo size on mobile view
|
|
16
|
+
|
|
9
17
|
### 11.15.1-alpha.2
|
|
10
18
|
|
|
11
19
|
- [Feat] [NEP-4783](https://github.com/ubiquiti/store.shared/pull/1481) ProHeader mobile menu: Tweak list item margin
|
package/lib/assets/ai-360.jpg
CHANGED
|
Binary file
|
package/lib/assets/ai-3602.jpg
CHANGED
|
Binary file
|
package/lib/assets/ai-dome.jpg
CHANGED
|
Binary file
|
package/lib/assets/ai-dome2.jpg
CHANGED
|
Binary file
|
package/lib/assets/ai-theta.jpg
CHANGED
|
Binary file
|
package/lib/assets/ai-theta2.jpg
CHANGED
|
Binary file
|
package/lib/assets/ai-turret.jpg
CHANGED
|
Binary file
|
|
Binary file
|
package/lib/assets/bullet2.svg
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
1
|
+
<svg width="52" height="39" viewBox="0 0 52 39" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M25.8808 6.95448C23.4164 6.63635 18.2807 6.07422 15.0591 6.07422C11.9103 6.07422 8.11012 6.59706 6.28983 6.90992C6.23129 9.52973 6.13216 14.9226 6.13216 18.884C6.13216 22.8527 6.33144 28.5025 6.44835 31.2538C8.43828 31.5573 12.5538 32.0742 15.5645 32.0742C18.6142 32.0742 23.5714 31.4849 25.9713 31.1497C26.1386 28.8397 26.417 23.8674 26.417 19.1883C26.417 14.4998 26.0813 9.35345 25.8808 6.95448ZM5.71302 31.0948C5.59507 28.2748 5.40426 22.7787 5.40426 18.884C5.40426 14.9962 5.49946 9.73757 5.55843 7.05856C4.40755 7.3119 2.43053 7.75855 1.91711 7.91924C1.8449 8.0568 1.70048 8.67179 1.70048 10.0313C1.70048 11.3907 1.66839 13.2681 1.65234 14.0369C1.71653 14.4091 2.12892 15.1536 3.26501 15.1536C4.68511 15.1536 4.73325 15.6148 4.78139 16.2946C4.80279 16.5967 4.85272 19.35 4.90794 22.3944L4.90794 22.3945L4.90794 22.3946L4.90794 22.3947L4.90795 22.3948L4.90795 22.3949C4.97694 26.1994 5.05419 30.4585 5.0943 30.9575L5.71302 31.0948ZM26.7241 30.8261C26.8936 28.3675 27.1449 23.6481 27.1449 19.1883C27.1449 14.7448 26.8457 9.90015 26.6423 7.33456C27.6469 7.98534 29.2702 9.27893 29.9495 10.7214L30.0341 10.9013C30.9743 12.9041 32.0696 15.2373 35.3421 15.1921C35.9986 13.5965 37.5582 12.4743 39.3777 12.4743H42.0772C42.7041 10.8164 44.2954 9.63871 46.1593 9.63871H48.4686C49.6747 9.63871 50.6523 10.6248 50.6523 11.8412V26.2545C50.6523 27.4709 49.6747 28.457 48.4686 28.457H46.1593C44.2825 28.457 42.6822 27.263 42.0644 25.587H39.3777C37.5387 25.587 35.9651 24.4405 35.3212 22.8175C34.27 22.9622 32.0114 23.8994 30.3926 26.7041C29.0104 29.0986 27.5721 30.3311 26.7241 30.8261Z" fill="#1D1D1F"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M25.8808 6.95448C23.4164 6.63635 18.2807 6.07422 15.0591 6.07422C11.9103 6.07422 8.11012 6.59706 6.28983 6.90992C6.23129 9.52973 6.13216 14.9226 6.13216 18.884C6.13216 22.8527 6.33144 28.5025 6.44835 31.2538C8.43828 31.5573 12.5538 32.0742 15.5645 32.0742C18.6142 32.0742 23.5714 31.4849 25.9713 31.1497C26.1386 28.8397 26.417 23.8674 26.417 19.1883C26.417 14.4998 26.0813 9.35345 25.8808 6.95448ZM5.71302 31.0948C5.59507 28.2748 5.40426 22.7787 5.40426 18.884C5.40426 14.9962 5.49946 9.73757 5.55843 7.05856C4.40755 7.3119 2.43053 7.75855 1.91711 7.91924C1.8449 8.0568 1.70048 8.67179 1.70048 10.0313C1.70048 11.3907 1.66839 13.2681 1.65234 14.0369C1.71653 14.4091 2.12892 15.1536 3.26501 15.1536C4.68511 15.1536 4.73325 15.6148 4.78139 16.2946C4.80279 16.5967 4.85272 19.35 4.90794 22.3944L4.90794 22.3945L4.90794 22.3946L4.90794 22.3947L4.90795 22.3948L4.90795 22.3949C4.97694 26.1994 5.05419 30.4585 5.0943 30.9575L5.71302 31.0948ZM26.7241 30.8261C26.8936 28.3675 27.1449 23.6481 27.1449 19.1883C27.1449 14.7448 26.8457 9.90015 26.6423 7.33456C27.6469 7.98534 29.2702 9.27893 29.9495 10.7214L30.0341 10.9013C30.9743 12.9041 32.0696 15.2373 35.3421 15.1921C35.9986 13.5965 37.5582 12.4743 39.3777 12.4743H42.0772C42.7041 10.8164 44.2954 9.63871 46.1593 9.63871H48.4686C49.6747 9.63871 50.6523 10.6248 50.6523 11.8412V26.2545C50.6523 27.4709 49.6747 28.457 48.4686 28.457H46.1593C44.2825 28.457 42.6822 27.263 42.0644 25.587H39.3777C37.5387 25.587 35.9651 24.4405 35.3212 22.8175C34.27 22.9622 32.0114 23.8994 30.3926 26.7041C29.0104 29.0986 27.5721 30.3311 26.7241 30.8261Z" fill="#4D4D4D"/>
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M25.8808 6.95448C23.4164 6.63635 18.2807 6.07422 15.0591 6.07422C11.9103 6.07422 8.11012 6.59706 6.28983 6.90992C6.23129 9.52973 6.13216 14.9226 6.13216 18.884C6.13216 22.8527 6.33144 28.5025 6.44835 31.2538C8.43828 31.5573 12.5538 32.0742 15.5645 32.0742C18.6142 32.0742 23.5714 31.4849 25.9713 31.1497C26.1386 28.8397 26.417 23.8674 26.417 19.1883C26.417 14.4998 26.0813 9.35345 25.8808 6.95448ZM5.71302 31.0948C5.59507 28.2748 5.40426 22.7787 5.40426 18.884C5.40426 14.9962 5.49946 9.73757 5.55843 7.05856C4.40755 7.3119 2.43053 7.75855 1.91711 7.91924C1.8449 8.0568 1.70048 8.67179 1.70048 10.0313C1.70048 11.3907 1.66839 13.2681 1.65234 14.0369C1.71653 14.4091 2.12892 15.1536 3.26501 15.1536C4.68511 15.1536 4.73325 15.6148 4.78139 16.2946C4.80279 16.5967 4.85272 19.35 4.90794 22.3944L4.90794 22.3945L4.90794 22.3946L4.90794 22.3947L4.90795 22.3948L4.90795 22.3949C4.97694 26.1994 5.05419 30.4585 5.0943 30.9575L5.71302 31.0948ZM26.7241 30.8261C26.8936 28.3675 27.1449 23.6481 27.1449 19.1883C27.1449 14.7448 26.8457 9.90015 26.6423 7.33456C27.6469 7.98534 29.2702 9.27893 29.9495 10.7214L30.0341 10.9013C30.9743 12.9041 32.0696 15.2373 35.3421 15.1921C35.9986 13.5965 37.5582 12.4743 39.3777 12.4743H42.0772C42.7041 10.8164 44.2954 9.63871 46.1593 9.63871H48.4686C49.6747 9.63871 50.6523 10.6248 50.6523 11.8412V26.2545C50.6523 27.4709 49.6747 28.457 48.4686 28.457H46.1593C44.2825 28.457 42.6822 27.263 42.0644 25.587H39.3777C37.5387 25.587 35.9651 24.4405 35.3212 22.8175C34.27 22.9622 32.0114 23.8994 30.3926 26.7041C29.0104 29.0986 27.5721 30.3311 26.7241 30.8261Z" fill="#8E8E8E"/>
|
|
3
5
|
</svg>
|
package/lib/assets/bullet3.svg
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
3
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M25.8808 6.95448C23.4164 6.63635 18.2807 6.07422 15.0591 6.07422C11.9103 6.07422 8.11012 6.59706 6.28983 6.90992C6.23129 9.52973 6.13216 14.9226 6.13216 18.884C6.13216 22.8527 6.33144 28.5025 6.44835 31.2538C8.43828 31.5573 12.5538 32.0742 15.5645 32.0742C18.6142 32.0742 23.5714 31.4849 25.9713 31.1497C26.1386 28.8397 26.417 23.8674 26.417 19.1883C26.417 14.4998 26.0813 9.35345 25.8808 6.95448ZM5.71302 31.0948C5.59507 28.2748 5.40426 22.7787 5.40426 18.884C5.40426 14.9962 5.49946 9.73757 5.55843 7.05856C4.40755 7.3119 2.43053 7.75855 1.91711 7.91924C1.8449 8.0568 1.70048 8.67179 1.70048 10.0313C1.70048 11.3907 1.66839 13.2681 1.65234 14.0369C1.71653 14.4091 2.12892 15.1536 3.26501 15.1536C4.68511 15.1536 4.73325 15.6148 4.78139 16.2946C4.80279 16.5967 4.85272 19.35 4.90794 22.3944L4.90794 22.3945L4.90794 22.3946L4.90794 22.3947L4.90795 22.3948L4.90795 22.3949C4.97694 26.1994 5.05419 30.4585 5.0943 30.9575L5.71302 31.0948ZM26.7241 30.8261C26.8936 28.3675 27.1449 23.6481 27.1449 19.1883C27.1449 14.7448 26.8457 9.90015 26.6423 7.33456C27.6469 7.98534 29.2702 9.27893 29.9495 10.7214L30.0341 10.9013C30.9743 12.9041 32.0696 15.2373 35.3421 15.1921C35.9986 13.5965 37.5582 12.4743 39.3777 12.4743H42.0772C42.7041 10.8164 44.2954 9.63871 46.1593 9.63871H48.4686C49.6747 9.63871 50.6523 10.6248 50.6523 11.8412V26.2545C50.6523 27.4709 49.6747 28.457 48.4686 28.457H46.1593C44.2825 28.457 42.6822 27.263 42.0644 25.587H39.3777C37.5387 25.587 35.9651 24.4405 35.3212 22.8175C34.27 22.9622 32.0114 23.8994 30.3926 26.7041C29.0104 29.0986 27.5721 30.3311 26.7241 30.8261Z" fill="#4D4D4D"/>
|
|
4
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M25.8808 6.95448C23.4164 6.63635 18.2807 6.07422 15.0591 6.07422C11.9103 6.07422 8.11012 6.59706 6.28983 6.90992C6.23129 9.52973 6.13216 14.9226 6.13216 18.884C6.13216 22.8527 6.33144 28.5025 6.44835 31.2538C8.43828 31.5573 12.5538 32.0742 15.5645 32.0742C18.6142 32.0742 23.5714 31.4849 25.9713 31.1497C26.1386 28.8397 26.417 23.8674 26.417 19.1883C26.417 14.4998 26.0813 9.35345 25.8808 6.95448ZM5.71302 31.0948C5.59507 28.2748 5.40426 22.7787 5.40426 18.884C5.40426 14.9962 5.49946 9.73757 5.55843 7.05856C4.40755 7.3119 2.43053 7.75855 1.91711 7.91924C1.8449 8.0568 1.70048 8.67179 1.70048 10.0313C1.70048 11.3907 1.66839 13.2681 1.65234 14.0369C1.71653 14.4091 2.12892 15.1536 3.26501 15.1536C4.68511 15.1536 4.73325 15.6148 4.78139 16.2946C4.80279 16.5967 4.85272 19.35 4.90794 22.3944L4.90794 22.3945L4.90794 22.3946L4.90794 22.3947L4.90795 22.3948L4.90795 22.3949C4.97694 26.1994 5.05419 30.4585 5.0943 30.9575L5.71302 31.0948ZM26.7241 30.8261C26.8936 28.3675 27.1449 23.6481 27.1449 19.1883C27.1449 14.7448 26.8457 9.90015 26.6423 7.33456C27.6469 7.98534 29.2702 9.27893 29.9495 10.7214L30.0341 10.9013C30.9743 12.9041 32.0696 15.2373 35.3421 15.1921C35.9986 13.5965 37.5582 12.4743 39.3777 12.4743H42.0772C42.7041 10.8164 44.2954 9.63871 46.1593 9.63871H48.4686C49.6747 9.63871 50.6523 10.6248 50.6523 11.8412V26.2545C50.6523 27.4709 49.6747 28.457 48.4686 28.457H46.1593C44.2825 28.457 42.6822 27.263 42.0644 25.587H39.3777C37.5387 25.587 35.9651 24.4405 35.3212 22.8175C34.27 22.9622 32.0114 23.8994 30.3926 26.7041C29.0104 29.0986 27.5721 30.3311 26.7241 30.8261Z" fill="#8E8E8E"/>
|
|
1
|
+
<svg width="24" height="21" viewBox="0 0 24 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M12.1824 4.95706C11.0449 4.81023 8.67463 4.55078 7.18772 4.55078C5.73446 4.55078 3.98051 4.79209 3.14038 4.93649C3.11336 6.14563 3.06761 8.63467 3.06761 10.463C3.06761 12.2947 3.15958 14.9023 3.21354 16.1721C4.13197 16.3122 6.03143 16.5508 7.42101 16.5508C8.82854 16.5508 11.1165 16.2788 12.2241 16.1241C12.3013 15.0579 12.4299 12.763 12.4299 10.6035C12.4299 8.43951 12.2749 6.06427 12.1824 4.95706ZM2.87416 16.0987C2.81972 14.7972 2.73165 12.2606 2.73165 10.463C2.73165 8.66862 2.77559 6.24156 2.80281 5.00509C2.27163 5.12202 1.35916 5.32817 1.1222 5.40233C1.08887 5.46582 1.02222 5.74966 1.02222 6.37711C1.02222 7.00456 1.00741 7.87104 1 8.22585C1.02962 8.39765 1.21996 8.74125 1.74431 8.74125C2.39974 8.74125 2.42196 8.95414 2.44418 9.26787C2.45405 9.40732 2.4771 10.678 2.50258 12.0832L2.50258 12.0832L2.50258 12.0833L2.50258 12.0833L2.50259 12.0834L2.50259 12.0834C2.53443 13.8393 2.57008 15.8051 2.58859 16.0354L2.87416 16.0987ZM12.5716 15.9747C12.6498 14.84 12.7658 12.6618 12.7658 10.6035C12.7658 8.5526 12.6277 6.3166 12.5338 5.13248C12.9975 5.43284 13.7467 6.02988 14.0602 6.69564L14.0993 6.77868C14.5332 7.70303 15.0387 8.77992 16.5491 8.75904C16.8521 8.02261 17.5719 7.50468 18.4117 7.50468H19.6576C19.947 6.73949 20.6814 6.19593 21.5417 6.19593H22.6075C23.1641 6.19593 23.6154 6.65104 23.6154 7.21245V13.8648C23.6154 14.4262 23.1641 14.8813 22.6075 14.8813H21.5417C20.6755 14.8813 19.9368 14.3302 19.6517 13.5567H18.4117C17.5629 13.5567 16.8366 13.0275 16.5395 12.2785C16.0543 12.3452 15.0119 12.7778 14.2647 14.0722C13.6268 15.1774 12.963 15.7463 12.5716 15.9747Z" fill="#808893"/>
|
|
5
3
|
</svg>
|
package/lib/assets/g2-reader.jpg
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/assets/g5-dome.jpg
CHANGED
|
Binary file
|
package/lib/assets/g5-dome2.jpg
CHANGED
|
Binary file
|
package/lib/assets/g5-ptz.jpg
CHANGED
|
Binary file
|
package/lib/assets/g5-ptz2.jpg
CHANGED
|
Binary file
|
package/lib/assets/plus4.svg
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
5
|
-
<path d="
|
|
1
|
+
<svg width="6" height="6" viewBox="0 0 6 6" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_426_15903" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
|
|
3
|
+
<g clip-path="url(#clip0_426_15903)">
|
|
4
|
+
<path d="M5.30227 2.9397H0.837158V3.38621H5.30227V2.9397Z" fill="#838691"/>
|
|
5
|
+
<path d="M2.84668 0.930147L2.84668 5.39526H3.29319L3.29319 0.930147H2.84668Z" fill="#838691"/>
|
|
6
6
|
</g>
|
|
7
7
|
</mask>
|
|
8
|
-
<g mask="url(#
|
|
9
|
-
<rect x="0.
|
|
8
|
+
<g mask="url(#mask0_426_15903)">
|
|
9
|
+
<rect x="0.837158" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
|
|
10
10
|
</g>
|
|
11
11
|
<defs>
|
|
12
|
-
<clipPath id="
|
|
13
|
-
<rect width="
|
|
12
|
+
<clipPath id="clip0_426_15903">
|
|
13
|
+
<rect width="4.46512" height="4.46512" fill="white" transform="translate(0.837158 0.930176)"/>
|
|
14
14
|
</clipPath>
|
|
15
15
|
</defs>
|
|
16
16
|
</svg>
|
package/lib/assets/plus5.svg
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
5
|
-
<path d="
|
|
1
|
+
<svg width="10" height="10" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_658_411" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="10" height="10">
|
|
3
|
+
<g clip-path="url(#clip0_658_411)">
|
|
4
|
+
<path d="M9.86637 4.35H0.199707V5.31667H9.86637V4.35Z" fill="#838691"/>
|
|
5
|
+
<path d="M4.5498 -2.86102e-06L4.5498 9.66666H5.51647L5.51647 -2.86102e-06H4.5498Z" fill="#838691"/>
|
|
6
6
|
</g>
|
|
7
7
|
</mask>
|
|
8
|
-
<g mask="url(#
|
|
9
|
-
<rect x="0.
|
|
8
|
+
<g mask="url(#mask0_658_411)">
|
|
9
|
+
<rect x="0.199707" width="9.66667" height="9.66667" fill="#838691"/>
|
|
10
10
|
</g>
|
|
11
11
|
<defs>
|
|
12
|
-
<clipPath id="
|
|
13
|
-
<rect width="
|
|
12
|
+
<clipPath id="clip0_658_411">
|
|
13
|
+
<rect width="9.66667" height="9.66667" fill="white" transform="translate(0.199707)"/>
|
|
14
14
|
</clipPath>
|
|
15
15
|
</defs>
|
|
16
16
|
</svg>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
2
|
import type { ProductLine } from "../../../../types";
|
|
3
3
|
import type { HeaderLogo, HeaderTranslations, ProHeaderProps } from "../../Header.types";
|
|
4
|
-
export type ProMobileMenuOnClickFn = ((e: MouseEvent
|
|
4
|
+
export type ProMobileMenuOnClickFn = ((e: React.MouseEvent<HTMLElement>, url: string | null) => void) | (() => void);
|
|
5
5
|
export type ProMobileMenuSectionSubItem = {
|
|
6
6
|
id: string;
|
|
7
7
|
label: string;
|
|
@@ -120,6 +120,9 @@ const ProHeader = React.memo(function ProHeader2({
|
|
|
120
120
|
const rootRef = React.useRef(null);
|
|
121
121
|
const wrapRef = React.useRef(null);
|
|
122
122
|
const containerRef = React.useRef(null);
|
|
123
|
+
const LeftWrapRef = React.useRef(null);
|
|
124
|
+
const CenterWrapRef = React.useRef(null);
|
|
125
|
+
const RightWrapRef = React.useRef(null);
|
|
123
126
|
const [searchInputEl, setSearchInputEl] = React.useState(null);
|
|
124
127
|
const translations = React.useMemo(() => {
|
|
125
128
|
return merge__default["default"](Header_types.defaultHeaderTranslations, initialTranslations);
|
|
@@ -298,6 +301,17 @@ const ProHeader = React.memo(function ProHeader2({
|
|
|
298
301
|
return 160;
|
|
299
302
|
}
|
|
300
303
|
}, [productLineValue]);
|
|
304
|
+
React.useEffect(() => {
|
|
305
|
+
const onWindowResize = () => {
|
|
306
|
+
if (activeModal === types.ModalId.ProMobileMenu && window.innerWidth >= layout.CONTAINER_WIDTH.TABLET) {
|
|
307
|
+
handleModalClose();
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
window.addEventListener("resize", onWindowResize);
|
|
311
|
+
return () => {
|
|
312
|
+
window.removeEventListener("resize", onWindowResize);
|
|
313
|
+
};
|
|
314
|
+
}, [activeModal, handleModalClose]);
|
|
301
315
|
React.useEffect(() => {
|
|
302
316
|
if (
|
|
303
317
|
// eslint-disable-next-line sonarjs/deprecation
|
|
@@ -330,7 +344,9 @@ const ProHeader = React.memo(function ProHeader2({
|
|
|
330
344
|
if (!containerEl) return;
|
|
331
345
|
const wrapEl = wrapRef.current;
|
|
332
346
|
if (!wrapEl) return;
|
|
333
|
-
const
|
|
347
|
+
const leftEl = LeftWrapRef.current;
|
|
348
|
+
const centerEl = CenterWrapRef.current;
|
|
349
|
+
const rightEl = RightWrapRef.current;
|
|
334
350
|
if (!leftEl || !centerEl || !rightEl) return;
|
|
335
351
|
let animationFrameId = null;
|
|
336
352
|
const handle = () => {
|
|
@@ -425,26 +441,6 @@ const ProHeader = React.memo(function ProHeader2({
|
|
|
425
441
|
children: cartIcon
|
|
426
442
|
});
|
|
427
443
|
}, [cartQuantity, motif, isMobile, showMobileEmptyCartNotification, translations]);
|
|
428
|
-
const renderMobileMenuButton = () => {
|
|
429
|
-
return /* @__PURE__ */jsxRuntime.jsx(ProHeader_styles.HeaderMenuIconWrap, {
|
|
430
|
-
$hideBreakpoint: PRO_HEADER_MOBILE_UP,
|
|
431
|
-
$show: isMobile && !isSearching,
|
|
432
|
-
children: /* @__PURE__ */jsxRuntime.jsx(ProHeader_styles.ProIconWrap, {
|
|
433
|
-
$hideBreakpoint: PRO_HEADER_MOBILE_UP,
|
|
434
|
-
$motif: motif,
|
|
435
|
-
onClick: handleHamburgerClick,
|
|
436
|
-
children: activeModal === types.ModalId.ProMobileMenu ? /* @__PURE__ */jsxRuntime.jsx(Header_styles.SvgIcon, {
|
|
437
|
-
src: _externalAssets_DtGmfNK5__default["default"],
|
|
438
|
-
width: Header_styles.HEADER_ICON_SIZE,
|
|
439
|
-
height: Header_styles.HEADER_ICON_SIZE
|
|
440
|
-
}) : /* @__PURE__ */jsxRuntime.jsx(Header_styles.SvgIcon, {
|
|
441
|
-
src: _externalAssets_CzDCu21b__default["default"],
|
|
442
|
-
width: Header_styles.HEADER_ICON_SIZE,
|
|
443
|
-
height: Header_styles.HEADER_ICON_SIZE
|
|
444
|
-
})
|
|
445
|
-
})
|
|
446
|
-
});
|
|
447
|
-
};
|
|
448
444
|
return /* @__PURE__ */jsxRuntime.jsx(ProHeader_styles.ProHeaderWrap, {
|
|
449
445
|
ref: rootRef,
|
|
450
446
|
$sticky: !!embedConfig,
|
|
@@ -462,9 +458,27 @@ const ProHeader = React.memo(function ProHeader2({
|
|
|
462
458
|
ref: containerRef,
|
|
463
459
|
children: [/* @__PURE__ */jsxRuntime.jsxs(ProHeader_styles.Wrap, {
|
|
464
460
|
ref: wrapRef,
|
|
465
|
-
children: [
|
|
461
|
+
children: [/* @__PURE__ */jsxRuntime.jsx(ProHeader_styles.HeaderMenuIconWrap, {
|
|
462
|
+
$hideBreakpoint: PRO_HEADER_MOBILE_UP,
|
|
463
|
+
$show: isMobile && !isSearching,
|
|
464
|
+
children: /* @__PURE__ */jsxRuntime.jsx(ProHeader_styles.ProIconWrap, {
|
|
465
|
+
$hideBreakpoint: PRO_HEADER_MOBILE_UP,
|
|
466
|
+
$motif: motif,
|
|
467
|
+
onClick: handleHamburgerClick,
|
|
468
|
+
children: activeModal === types.ModalId.ProMobileMenu ? /* @__PURE__ */jsxRuntime.jsx(Header_styles.SvgIcon, {
|
|
469
|
+
src: _externalAssets_DtGmfNK5__default["default"],
|
|
470
|
+
width: Header_styles.HEADER_ICON_SIZE,
|
|
471
|
+
height: Header_styles.HEADER_ICON_SIZE
|
|
472
|
+
}) : /* @__PURE__ */jsxRuntime.jsx(Header_styles.SvgIcon, {
|
|
473
|
+
src: _externalAssets_CzDCu21b__default["default"],
|
|
474
|
+
width: Header_styles.HEADER_ICON_SIZE,
|
|
475
|
+
height: Header_styles.HEADER_ICON_SIZE
|
|
476
|
+
})
|
|
477
|
+
})
|
|
478
|
+
}), /* @__PURE__ */jsxRuntime.jsxs(ProHeader_styles.LeftWrap, {
|
|
466
479
|
$addSpaceOnDesktop: !!embedConfig?.fullWidthHeader,
|
|
467
480
|
$hideBreakpoint: isSearching ? PRO_HEADER_MOBILE_AND_DOWN : void 0,
|
|
481
|
+
ref: LeftWrapRef,
|
|
468
482
|
children: [!logo?.hide && !embedConfig?.hideLogo && /* @__PURE__ */jsxRuntime.jsx(Header_styles.Anchor, {
|
|
469
483
|
href: homeLinkUrl,
|
|
470
484
|
onClick: homeLinkClickHandler,
|
|
@@ -473,7 +487,8 @@ const ProHeader = React.memo(function ProHeader2({
|
|
|
473
487
|
}) : /* @__PURE__ */jsxRuntime.jsx(Header_styles.LogoIconWrap, {
|
|
474
488
|
$motif: motif,
|
|
475
489
|
children: /* @__PURE__ */jsxRuntime.jsx(LogoIcon.HeaderLogoIcon, {
|
|
476
|
-
productLine: logo?.productLine ?? productLineValue
|
|
490
|
+
productLine: logo?.productLine ?? productLineValue,
|
|
491
|
+
height: isMobile ? 16 : 18
|
|
477
492
|
})
|
|
478
493
|
})
|
|
479
494
|
}), account?.customer?.hasPreviousUispPurchases && !isMobile && /* @__PURE__ */jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
@@ -519,6 +534,7 @@ const ProHeader = React.memo(function ProHeader2({
|
|
|
519
534
|
})]
|
|
520
535
|
}), /* @__PURE__ */jsxRuntime.jsx(ProHeader_styles.CenterWrap, {
|
|
521
536
|
$hideBreakpoint: !isSearching ? PRO_HEADER_MOBILE_AND_DOWN : void 0,
|
|
537
|
+
ref: CenterWrapRef,
|
|
522
538
|
children: isSearching ? /* @__PURE__ */jsxRuntime.jsxs(ProHeader_styles.SearchWrap, {
|
|
523
539
|
children: [/* @__PURE__ */jsxRuntime.jsx(ProHeader_styles.Search, {
|
|
524
540
|
setInputRef: setSearchInputEl,
|
|
@@ -571,6 +587,7 @@ const ProHeader = React.memo(function ProHeader2({
|
|
|
571
587
|
$addSpaceOnDesktop: !!embedConfig?.fullWidthHeader,
|
|
572
588
|
$isMultiLanguage: isMultiLanguage,
|
|
573
589
|
$hideBreakpoint: isSearching ? PRO_HEADER_MOBILE_AND_DOWN : void 0,
|
|
590
|
+
ref: RightWrapRef,
|
|
574
591
|
children: !(isSearching && !isMobile) && /* @__PURE__ */jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
575
592
|
children: [/* @__PURE__ */jsxRuntime.jsx(ProHeader_styles.ProIconWrap, {
|
|
576
593
|
"data-test-id": "search-btn",
|