@ubnt/store.core 11.15.1-alpha.0 → 11.15.1-alpha.1
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 +3 -0
- package/lib/assets/ai-turret.jpg +0 -0
- package/lib/assets/ai-turret2.jpg +0 -0
- package/lib/assets/attention.svg +5 -5
- package/lib/assets/attention2.svg +5 -5
- package/lib/assets/compact.svg +2 -2
- package/lib/assets/compact2.svg +2 -2
- package/lib/assets/door-hub-mini.jpg +0 -0
- package/lib/assets/door-hub-mini2.jpg +0 -0
- package/lib/assets/door-hub.jpg +0 -0
- package/lib/assets/door-hub2.jpg +0 -0
- package/lib/assets/g3-reader-flex.jpg +0 -0
- package/lib/assets/g3-reader-flex2.jpg +0 -0
- package/lib/assets/g3-reader.jpg +0 -0
- package/lib/assets/g3-reader2.jpg +0 -0
- package/lib/assets/g3-starter-kit.jpg +0 -0
- package/lib/assets/g3-starter-kit2.jpg +0 -0
- package/lib/assets/g4-instant.jpg +0 -0
- package/lib/assets/g4-instant2.jpg +0 -0
- package/lib/assets/g4-ptz.jpg +0 -0
- package/lib/assets/g4-ptz2.jpg +0 -0
- package/lib/assets/g5-ptz.jpg +0 -0
- package/lib/assets/g5-ptz2.jpg +0 -0
- package/lib/assets/intercom.jpg +0 -0
- package/lib/assets/intercom2.jpg +0 -0
- package/lib/assets/minus4.svg +8 -8
- package/lib/assets/minus5.svg +8 -8
- package/lib/assets/plus4.svg +9 -9
- package/lib/assets/plus5.svg +9 -9
- package/lib/assets/udr2.jpg +0 -0
- package/lib/assets/udr3.jpg +0 -0
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.js +12 -20
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.js.map +1 -1
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.mjs +12 -20
- package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.mjs.map +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputCard.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.js +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/InputSections/CounterSection.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/InputCard/assets/minus.svg.mjs +2 -2
- 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/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/ProgressBarChart.mjs +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/ComputeResourceCalculator/components/ProgressBarChart/assets/attention.svg.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.js +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/PoeConsumerSelectModal/PoeConsumerSelectModal.mjs +2 -2
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.js +1 -1
- package/lib/components/ResourceCalculatorV1/PoeCalculator/components/PoeConsumerConfigurator/assets/minus.svg.mjs +2 -2
- 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/Compact/g4-instant.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Compact/g4-instant.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Consoles/bigCompare/udr.jpg.js +5 -5
- package/lib/constants/modelCompareData/assets/Consoles/bigCompare/udr.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/Consoles/udr.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/Consoles/udr.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/DoorAccess/door-hub-mini.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/door-hub-mini.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DoorAccess/door-hub.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/door-hub.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader-flex.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader-flex.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/g3-reader.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/DoorAccess/intercom.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/DoorAccess/intercom.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/PTZ/g4-ptz.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/PTZ/g4-ptz.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/compact.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/compact.svg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g4-instant.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/compact/g4-instant.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/door-access/door-hub-mini.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/door-hub-mini.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/door-hub.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/door-hub.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader-flex.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader-flex.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/g3-reader.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/door-access/intercom.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/door-access/intercom.jpg.mjs +2 -2
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/ptz/g4-ptz.jpg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/cameras/ptz/g4-ptz.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/assets/product-list-assets/compact.svg.js +1 -1
- package/lib/constants/modelCompareData/assets/product-list-assets/compact.svg.mjs +2 -2
- package/lib/constants/modelCompareData/data/DreamMachineConsolev4.js +3 -3
- package/lib/constants/modelCompareData/data/DreamMachineConsolev4.mjs +2 -2
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Compact.js +1 -1
- package/lib/constants/modelCompareData/data/product-groups/cameraSecurity/Compact.mjs +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/compact.js +1 -1
- package/lib/constants/modelCompareData/data/product-list-groups/compact.mjs +1 -1
- 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/doorHub.js +2 -2
- package/lib/constants/modelCompareData/data/products/doorHub.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/doorHubMini.js +2 -2
- package/lib/constants/modelCompareData/data/products/doorHubMini.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g3Reader.js +2 -2
- package/lib/constants/modelCompareData/data/products/g3Reader.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g3ReaderFlex.js +2 -2
- package/lib/constants/modelCompareData/data/products/g3ReaderFlex.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/g4Instant.js +2 -2
- package/lib/constants/modelCompareData/data/products/g4Instant.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/g4Ptz.js +2 -2
- package/lib/constants/modelCompareData/data/products/g4Ptz.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/intercom.js +2 -2
- package/lib/constants/modelCompareData/data/products/intercom.mjs +2 -2
- package/lib/constants/modelCompareData/data/products/udr.js +1 -1
- package/lib/constants/modelCompareData/data/products/udr.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
## Releases
|
|
8
8
|
|
|
9
|
+
### 11.15.1-alpha.1
|
|
10
|
+
- [Feat] [NEP-4783](https://github.com/ubiquiti/store.shared/pull/1481) ProHeader mobile menu: Tweak animation and margins
|
|
11
|
+
|
|
9
12
|
### 11.15.1-alpha.0
|
|
10
13
|
|
|
11
14
|
- [Fix] [NEP-4783](https://github.com/ubiquiti/store.shared/pull/1481) Merge fix from 11.15.1 in master branch into NEP-4783-mobile-header-menu-improvements
|
package/lib/assets/ai-turret.jpg
CHANGED
|
Binary file
|
|
Binary file
|
package/lib/assets/attention.svg
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<circle cx="
|
|
3
|
-
<path d="
|
|
4
|
-
<path d="
|
|
5
|
-
<circle cx="
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="9" cy="9" r="9" fill="#F7D55E"/>
|
|
3
|
+
<path d="M9.73071 4.64062C9.40595 4.07813 8.59405 4.07812 8.26929 4.64062L4.37218 11.3906C4.04742 11.9531 4.45336 12.6562 5.10288 12.6562H12.8971C13.5466 12.6562 13.9526 11.9531 13.6278 11.3906L9.73071 4.64062Z" stroke="white" stroke-width="0.5625"/>
|
|
4
|
+
<path d="M9.22274 9.12833L9.48295 7.30685C9.52494 7.01295 9.29688 6.75 9 6.75C8.70312 6.75 8.47506 7.01295 8.51705 7.30685L8.77726 9.12833C8.81406 9.3859 9.18594 9.3859 9.22274 9.12833Z" fill="white"/>
|
|
5
|
+
<circle cx="9" cy="10.6875" r="0.5625" fill="#F7D55E"/>
|
|
6
6
|
</svg>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<circle cx="
|
|
3
|
-
<path d="
|
|
4
|
-
<path d="
|
|
5
|
-
<circle cx="
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<circle cx="8" cy="8" r="8" fill="#A4A7B5"/>
|
|
3
|
+
<path d="M12.1136 10.125L8.64952 4.125C8.36084 3.625 7.63916 3.625 7.35048 4.125L3.88638 10.125C3.5977 10.625 3.95855 11.25 4.5359 11.25H11.4641C12.0415 11.25 12.4023 10.625 12.1136 10.125Z" stroke="white" stroke-width="0.5"/>
|
|
4
|
+
<path d="M8.19799 8.11407L8.42929 6.49497C8.46661 6.23373 8.2639 6 8 6C7.7361 6 7.53339 6.23373 7.57071 6.49497L7.80201 8.11407C7.83472 8.34302 8.16528 8.34303 8.19799 8.11407Z" fill="white"/>
|
|
5
|
+
<circle cx="8" cy="9.5" r="0.5" fill="white"/>
|
|
6
6
|
</svg>
|
package/lib/assets/compact.svg
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
1
|
+
<svg width="48" height="38" viewBox="0 0 48 38" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M16.6854 0C12.0009 0 8.20312 3.79736 8.20312 8.48242V27.248C8.42883 27.2603 8.7157 27.2729 9.0769 27.2861C10.3953 27.3335 12.7037 27.3804 16.6612 27.3804C19.3217 27.3804 21.2368 27.3594 22.6069 27.3311V20.3179C22.6069 17.9785 23.59 15.8745 25.1676 14.3677V8.48242C25.1676 3.79736 21.3698 0 16.6854 0ZM16.6612 27.6836C19.3188 27.6836 21.2344 27.6621 22.6069 27.6338V32.3979C22.6069 34.4941 23.5996 36.3496 25.1406 37.5557C24.9222 37.6162 23.2776 38 16.6854 38C9.52789 38 8.20312 37.5479 8.20312 37.5479V27.5513C8.33582 27.5581 8.48883 27.5654 8.66455 27.5728C8.78711 27.5781 8.92072 27.5835 9.0661 27.5884C9.90784 27.6187 11.1498 27.6489 12.9615 27.667C13.4258 27.6714 13.9276 27.6753 14.4697 27.6782C15.1373 27.6816 15.8661 27.6836 16.6612 27.6836ZM16.677 1.35254C12.8185 1.35254 9.69049 4.48047 9.69049 8.33887V10.5874C9.69049 13.9883 12.447 16.7446 15.8475 16.7446H17.5064C20.907 16.7446 23.6635 13.9883 23.6635 10.5874V8.33887C23.6635 4.48047 20.5354 1.35254 16.677 1.35254ZM20.3043 9.11182C20.3043 11.1147 18.6804 12.7388 16.677 12.7388C14.6736 12.7388 13.0497 11.1147 13.0497 9.11182C13.0497 7.1084 14.6736 5.48438 16.677 5.48438C18.6804 5.48438 20.3043 7.1084 20.3043 9.11182ZM18.3802 9.11182C18.3802 10.0522 17.6178 10.8149 16.677 10.8149C15.7361 10.8149 14.9738 10.0522 14.9738 9.11182C14.9738 8.1709 15.7361 7.4082 16.677 7.4082C17.6178 7.4082 18.3802 8.1709 18.3802 9.11182ZM16.8292 13.7446C16.79 13.7832 16.7363 13.8071 16.677 13.8071C16.5572 13.8071 16.4601 13.7104 16.4601 13.5903C16.4601 13.4707 16.5572 13.3735 16.677 13.3735C16.7968 13.3735 16.8938 13.4707 16.8938 13.5903C16.8938 13.6509 16.8691 13.7056 16.8292 13.7446ZM16.677 4.9126C16.7355 4.9126 16.7885 4.88965 16.8275 4.85205C16.8683 4.8125 16.8938 4.75684 16.8938 4.6958C16.8938 4.66357 16.8868 4.6333 16.8743 4.60596C16.8401 4.53125 16.7646 4.479 16.677 4.479C16.6429 4.479 16.6107 4.48682 16.5821 4.50098C16.5419 4.52051 16.5086 4.55225 16.4871 4.59131C16.4699 4.62207 16.4601 4.65771 16.4601 4.6958C16.4601 4.81543 16.5572 4.9126 16.677 4.9126ZM23.6069 20.3179C23.6069 16.2764 26.9648 13 31.1069 13C35.2491 13 38.6069 16.2764 38.6069 20.3179V32.3979C38.6069 35.4917 36.0363 38 32.8653 38H29.3486C26.1776 38 23.6069 35.4917 23.6069 32.3979V20.3179ZM26.7738 20.4844C26.7738 18.1494 28.7138 16.2563 31.1069 16.2563C33.5001 16.2563 35.4401 18.1494 35.4401 20.4844V24.4233C35.4401 26.7583 33.5001 28.6514 31.1069 28.6514C28.7138 28.6514 26.7738 26.7583 26.7738 24.4233V20.4844ZM31.1069 32.3276C30.9484 32.3276 30.8198 32.4531 30.8198 32.6079V34.7612C30.8198 34.916 30.9484 35.0415 31.1069 35.0415C31.2655 35.0415 31.394 34.916 31.394 34.7612V32.6079C31.394 32.4531 31.2655 32.3276 31.1069 32.3276ZM33.7804 20.4756C33.7804 21.916 32.5834 23.084 31.1069 23.084C29.6304 23.084 28.4335 21.916 28.4335 20.4756C28.4335 19.0347 29.6304 17.8672 31.1069 17.8672C32.5834 17.8672 33.7804 19.0347 33.7804 20.4756Z" fill="#8E8E8E"/>
|
|
3
3
|
</svg>
|
package/lib/assets/compact2.svg
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="
|
|
1
|
+
<svg width="16" height="21" viewBox="0 0 16 21" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M5.0179 1.55078C2.79895 1.55078 1 3.34953 1 5.56877V14.4578C1.10691 14.4635 1.2428 14.4695 1.4139 14.4758C2.03838 14.4982 3.13187 14.5204 5.00645 14.5204C6.26667 14.5204 7.17385 14.5105 7.82286 14.4971V11.175C7.82286 10.0669 8.28853 9.07029 9.03581 8.35652V5.56877C9.03581 3.34953 7.23682 1.55078 5.0179 1.55078ZM5.00645 14.6641C6.26534 14.6641 7.17273 14.6539 7.82286 14.6405V16.8972C7.82286 17.8901 8.29307 18.769 9.02303 19.3403C8.91955 19.369 8.14056 19.5508 5.0179 19.5508C1.62752 19.5508 1 19.3366 1 19.3366V14.6014C1.06285 14.6046 1.13533 14.6081 1.21857 14.6116C1.27662 14.6141 1.33991 14.6166 1.40878 14.619C1.8075 14.6333 2.39578 14.6476 3.25396 14.6562C3.47392 14.6583 3.7116 14.6601 3.96836 14.6615C4.28462 14.6631 4.62983 14.6641 5.00645 14.6641ZM5.01394 2.19146C3.18625 2.19146 1.70454 3.67311 1.70454 5.50077V6.56587C1.70454 8.17681 3.01024 9.48245 4.62104 9.48245H5.40682C7.01762 9.48245 8.32331 8.17681 8.32331 6.56587V5.50077C8.32331 3.67311 6.8416 2.19146 5.01394 2.19146ZM6.73212 5.8669C6.73212 6.81566 5.9629 7.58494 5.01394 7.58494C4.06495 7.58494 3.29574 6.81566 3.29574 5.8669C3.29574 4.91792 4.06495 4.14864 5.01394 4.14864C5.9629 4.14864 6.73212 4.91792 6.73212 5.8669ZM5.82074 5.8669C5.82074 6.31237 5.45958 6.67365 5.01394 6.67365C4.56827 6.67365 4.20714 6.31237 4.20714 5.8669C4.20714 5.42121 4.56827 5.05993 5.01394 5.05993C5.45958 5.05993 5.82074 5.42121 5.82074 5.8669ZM5.08602 8.0614C5.06746 8.07967 5.04201 8.091 5.01394 8.091C4.95719 8.091 4.91122 8.0452 4.91122 7.98831C4.91122 7.93164 4.95719 7.88561 5.01394 7.88561C5.07067 7.88561 5.11663 7.93164 5.11663 7.98831C5.11663 8.01699 5.10493 8.04289 5.08602 8.0614ZM5.01394 3.8778C5.04164 3.8778 5.06676 3.86693 5.08521 3.84912C5.10458 3.83039 5.11663 3.80402 5.11663 3.77511C5.11663 3.75984 5.11334 3.7455 5.10741 3.73255C5.09122 3.69716 5.05546 3.67241 5.01394 3.67241C4.99781 3.67241 4.98254 3.67612 4.96898 3.68282C4.94993 3.69207 4.93418 3.70711 4.92397 3.72561C4.91585 3.74018 4.91122 3.75707 4.91122 3.77511C4.91122 3.83177 4.95719 3.8778 5.01394 3.8778ZM8.29654 11.175C8.29654 9.26064 9.8871 7.70868 11.8492 7.70868C13.8112 7.70868 15.4018 9.26064 15.4018 11.175V16.8972C15.4018 18.3626 14.1841 19.5508 12.6821 19.5508H11.0163C9.5142 19.5508 8.29654 18.3626 8.29654 16.8972V11.175ZM9.79664 11.2539C9.79664 10.1479 10.7156 9.25116 11.8492 9.25116C12.9828 9.25116 13.9017 10.1479 13.9017 11.2539V13.1197C13.9017 14.2258 12.9828 15.1225 11.8492 15.1225C10.7156 15.1225 9.79664 14.2258 9.79664 13.1197V11.2539ZM11.8492 16.8639C11.7741 16.8639 11.7132 16.9233 11.7132 16.9966V18.0166C11.7132 18.0899 11.7741 18.1494 11.8492 18.1494C11.9243 18.1494 11.9852 18.0899 11.9852 18.0166V16.9966C11.9852 16.9233 11.9243 16.8639 11.8492 16.8639ZM13.1155 11.2497C13.1155 11.9321 12.5486 12.4853 11.8492 12.4853C11.1498 12.4853 10.5828 11.9321 10.5828 11.2497C10.5828 10.5672 11.1498 10.0142 11.8492 10.0142C12.5486 10.0142 13.1155 10.5672 13.1155 11.2497Z" fill="#808893"/>
|
|
3
3
|
</svg>
|
|
Binary file
|
|
Binary file
|
package/lib/assets/door-hub.jpg
CHANGED
|
Binary file
|
package/lib/assets/door-hub2.jpg
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/assets/g3-reader.jpg
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/lib/assets/g4-ptz.jpg
CHANGED
|
Binary file
|
package/lib/assets/g4-ptz2.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/intercom.jpg
CHANGED
|
Binary file
|
package/lib/assets/intercom2.jpg
CHANGED
|
Binary file
|
package/lib/assets/minus4.svg
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<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_15898" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="6" height="6">
|
|
3
|
+
<g clip-path="url(#clip0_426_15898)">
|
|
4
|
+
<path d="M5.16287 2.9397H0.697754V3.38621H5.16287V2.9397Z" fill="#838691"/>
|
|
5
5
|
</g>
|
|
6
6
|
</mask>
|
|
7
|
-
<g mask="url(#
|
|
8
|
-
<rect x="0.
|
|
7
|
+
<g mask="url(#mask0_426_15898)">
|
|
8
|
+
<rect x="0.697754" y="0.930176" width="4.46512" height="4.46512" fill="#838691"/>
|
|
9
9
|
</g>
|
|
10
10
|
<defs>
|
|
11
|
-
<clipPath id="
|
|
12
|
-
<rect width="
|
|
11
|
+
<clipPath id="clip0_426_15898">
|
|
12
|
+
<rect width="4.46512" height="4.46512" fill="white" transform="translate(0.697754 0.930176)"/>
|
|
13
13
|
</clipPath>
|
|
14
14
|
</defs>
|
|
15
15
|
</svg>
|
package/lib/assets/minus5.svg
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<svg width="
|
|
2
|
-
<mask id="
|
|
3
|
-
<g clip-path="url(#
|
|
4
|
-
<path d="
|
|
1
|
+
<svg width="11" height="10" viewBox="0 0 11 10" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_658_406" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="11" height="10">
|
|
3
|
+
<g clip-path="url(#clip0_658_406)">
|
|
4
|
+
<path d="M10.2546 4.35H0.587891V5.31667H10.2546V4.35Z" fill="#838691"/>
|
|
5
5
|
</g>
|
|
6
6
|
</mask>
|
|
7
|
-
<g mask="url(#
|
|
8
|
-
<rect x="0.
|
|
7
|
+
<g mask="url(#mask0_658_406)">
|
|
8
|
+
<rect x="0.587891" width="9.66667" height="9.66667" fill="#838691"/>
|
|
9
9
|
</g>
|
|
10
10
|
<defs>
|
|
11
|
-
<clipPath id="
|
|
12
|
-
<rect width="
|
|
11
|
+
<clipPath id="clip0_658_406">
|
|
12
|
+
<rect width="9.66667" height="9.66667" fill="white" transform="translate(0.587891)"/>
|
|
13
13
|
</clipPath>
|
|
14
14
|
</defs>
|
|
15
15
|
</svg>
|
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>
|
package/lib/assets/udr2.jpg
CHANGED
|
Binary file
|
package/lib/assets/udr3.jpg
CHANGED
|
Binary file
|
|
@@ -23,14 +23,15 @@ const animations = {
|
|
|
23
23
|
transform: scale(1, 1);
|
|
24
24
|
}
|
|
25
25
|
`,
|
|
26
|
-
|
|
26
|
+
fadeInDownAnimation: styled.keyframes`
|
|
27
27
|
from {
|
|
28
|
-
opacity: 0;
|
|
29
|
-
transform:
|
|
28
|
+
opacity: 0.5;
|
|
29
|
+
transform: translate(0, -5px);
|
|
30
30
|
}
|
|
31
|
+
|
|
31
32
|
to {
|
|
32
33
|
opacity: 1;
|
|
33
|
-
transform:
|
|
34
|
+
transform: translate(0, 0);
|
|
34
35
|
}
|
|
35
36
|
`
|
|
36
37
|
};
|
|
@@ -77,24 +78,20 @@ const MenuHeaderList = styled__default["default"].ul`
|
|
|
77
78
|
margin: 0;
|
|
78
79
|
background-color: inherit;
|
|
79
80
|
color: inherit;
|
|
80
|
-
padding:
|
|
81
|
+
padding: 6px 16px;
|
|
81
82
|
|
|
82
83
|
li {
|
|
83
84
|
display: flex;
|
|
84
85
|
align-items: center;
|
|
85
|
-
padding:
|
|
86
|
+
padding: 8px 16px;
|
|
86
87
|
cursor: pointer;
|
|
87
88
|
font-weight: 700;
|
|
88
89
|
font-size: ${({
|
|
89
90
|
$level
|
|
90
91
|
}) => $level === 0 ? TITLE_FONT_SIZE : BASE_FONT_SIZE}px;
|
|
91
|
-
margin
|
|
92
|
+
margin: ${({
|
|
92
93
|
$level
|
|
93
|
-
}) => $level === 0 ?
|
|
94
|
-
|
|
95
|
-
&:last-child {
|
|
96
|
-
margin-bottom: 24px;
|
|
97
|
-
}
|
|
94
|
+
}) => $level === 0 ? "2px 0" : "0"};
|
|
98
95
|
|
|
99
96
|
&:hover {
|
|
100
97
|
color: ${({
|
|
@@ -108,8 +105,8 @@ const MenuHeaderList = styled__default["default"].ul`
|
|
|
108
105
|
}) => theme.theme.colors.menu.active[$motif || "light"]};
|
|
109
106
|
}
|
|
110
107
|
|
|
111
|
-
|
|
112
|
-
margin-bottom:
|
|
108
|
+
&:last-child {
|
|
109
|
+
margin-bottom: 6px;
|
|
113
110
|
}
|
|
114
111
|
|
|
115
112
|
button {
|
|
@@ -126,12 +123,7 @@ const MenuHeaderList = styled__default["default"].ul`
|
|
|
126
123
|
}
|
|
127
124
|
}
|
|
128
125
|
|
|
129
|
-
${
|
|
130
|
-
$level
|
|
131
|
-
}) => $level > 0 && styled.css`
|
|
132
|
-
animation: ${animations.subMenuIntroAnimation} 0.2s ease-in-out;
|
|
133
|
-
transform-origin: left top;
|
|
134
|
-
`}
|
|
126
|
+
animation: ${animations.fadeInDownAnimation} 0.1s ease-in-out;
|
|
135
127
|
`;
|
|
136
128
|
const MenuItemCollapseIcon = styled__default["default"].span`
|
|
137
129
|
margin-left: 4px;
|
package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProHeaderMobileMenu.styles.js","sources":["../../../../../src/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport styled, { css, keyframes } from \"styled-components\";\n\nimport { theme } from \"../../../../constants/theme\";\nimport { HEADER_HEIGHT } from \"../../Header.styles\";\n\nconst BASE_FONT_SIZE = 18;\nconst TITLE_FONT_SIZE = BASE_FONT_SIZE * 1.16;\n\nconst animations = {\n menuCollapseIconIntroAnimation: keyframes`\n from {\n opacity: 0;\n transform: scale(1, 0.1);\n }\n to {\n opacity: 1;\n transform: scale(1, 1);\n }\n `,\n
|
|
1
|
+
{"version":3,"file":"ProHeaderMobileMenu.styles.js","sources":["../../../../../src/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport styled, { css, keyframes } from \"styled-components\";\n\nimport { theme } from \"../../../../constants/theme\";\nimport { HEADER_HEIGHT } from \"../../Header.styles\";\n\nconst BASE_FONT_SIZE = 18;\nconst TITLE_FONT_SIZE = BASE_FONT_SIZE * 1.16;\n\nconst animations = {\n menuCollapseIconIntroAnimation: keyframes`\n from {\n opacity: 0;\n transform: scale(1, 0.1);\n }\n to {\n opacity: 1;\n transform: scale(1, 1);\n }\n `,\n fadeInDownAnimation: keyframes`\n from {\n opacity: 0.5;\n transform: translate(0, -5px);\n }\n\n to {\n opacity: 1;\n transform: translate(0, 0);\n }\n `,\n};\n\nconst buttonPlain = css`\n color: inherit;\n font: inherit;\n padding: 0;\n cursor: pointer;\n width: 100%;\n text-align: left;\n appearance: none;\n background-color: transparent;\n border: none;\n box-shadow: none;\n outline: none;\n &:active,\n &:focus,\n &:focus-visible,\n &:hover {\n background-color: transparent;\n outline: none;\n }\n -webkit-appearance: none;\n -webkit-tap-highlight-color: transparent;\n`;\n\nexport const MenuContainer = styled.div<{ $motif?: Motif }>`\n width: 100%;\n height: calc(100dvh - ${HEADER_HEIGHT}px);\n padding-top: 12px;\n padding-bottom: 48px;\n overflow-y: auto;\n\n box-sizing: border-box;\n\n background-color: ${({ $motif }) =>\n theme.colors.menu.base[$motif || \"light\"]};\n color: ${({ $motif }) => theme.colors.menu.text[$motif || \"light\"]};\n`;\n\nexport const MenuHeaderList = styled.ul<{\n $level: number;\n $motif?: Motif;\n}>`\n list-style: none;\n margin: 0;\n background-color: inherit;\n color: inherit;\n padding: 6px 16px;\n\n li {\n display: flex;\n align-items: center;\n padding: 8px 16px;\n cursor: pointer;\n font-weight: 700;\n font-size: ${({ $level }) =>\n $level === 0 ? TITLE_FONT_SIZE : BASE_FONT_SIZE}px;\n margin: ${({ $level }) => ($level === 0 ? \"2px 0\" : \"0\")};\n\n &:hover {\n color: ${({ $motif }) => theme.colors.menu.textAccent[$motif || \"light\"]};\n }\n &.expanded,\n &.active {\n color: ${({ $motif }) => theme.colors.menu.active[$motif || \"light\"]};\n }\n\n &:last-child {\n margin-bottom: 6px;\n }\n\n button {\n display: flex;\n align-items: center;\n\n ${buttonPlain}\n\n &:focus-visible {\n color: ${({ $motif }) => theme.colors.menu.active[$motif || \"light\"]};\n }\n }\n }\n\n animation: ${animations.fadeInDownAnimation} 0.1s ease-in-out;\n`;\n\nexport const MenuItemCollapseIcon = styled.span<{ $motif?: Motif }>`\n margin-left: 4px;\n animation: ${animations.menuCollapseIconIntroAnimation} 0.2s ease-in-out;\n color: ${({ $motif }) => theme.colors.menu.text[$motif || \"light\"]};\n`;\n\nexport const RegionLabel = styled.span`\n display: flex;\n align-items: center;\n gap: 6px;\n\n span {\n margin-right: 4px;\n }\n\n small {\n font-size: 12px;\n font-weight: 400;\n color: ${theme.colors.black50};\n }\n`;\n\nexport const CategoryProductsCount = styled.span`\n font-size: 16px;\n font-weight: 400;\n color: ${theme.colors.black50};\n margin-left: 8px;\n`;\n"],"names":["BASE_FONT_SIZE","TITLE_FONT_SIZE","animations","menuCollapseIconIntroAnimation","keyframes","fadeInDownAnimation","buttonPlain","css","MenuContainer","styled","div","HEADER_HEIGHT","$motif","theme","colors","menu","base","text","MenuHeaderList","ul","$level","textAccent","active","MenuItemCollapseIcon","span","RegionLabel","black50","CategoryProductsCount"],"mappings":";;;;;;;;;;;;AAMA,MAAMA,cAAiB,GAAA,EAAA;AACvB,MAAMC,kBAAkBD,cAAiB,GAAA,IAAA;AAEzC,MAAME,UAAa,GAAA;EACjBC,8BAAgC,EAAAC,MAAA,CAAAA,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA;EAUhCC,mBAAqB,EAAAD,MAAA,CAAAA,SAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAWvB,CAAA;AAEA,MAAME,WAAc,GAAAC,MAAA,CAAAA,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAuBb,MAAMC,gBAAgBC,eAAO,CAAA,SAAA,CAAA,CAAAC,GAAA;AAAA;AAAA,0BAEVC,2BAAa;AAAA;AAAA;AAAA;;AAAA;;AAAA,sBAOjB,CAAC;EAAEC;AACrB,CAAA,KAAAC,WAAA,CAAMC,OAAOC,IAAK,CAAAC,IAAA,CAAKJ,MAAU,IAAA,OAAO,CAAC;AAAA,WAClC,CAAC;EAAEA;AAAa,CAAA,KAAAC,WAAA,CAAMC,OAAOC,IAAK,CAAAE,IAAA,CAAKL,MAAU,IAAA,OAAO,CAAC;AAAA,CAAA;AAG7D,MAAMM,iBAAiBT,eAAO,CAAA,SAAA,CAAA,CAAAU,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAgBpB,CAAC;EAAEC;MACdA,MAAW,KAAA,CAAA,GAAInB,kBAAkBD,cAAc;AAAA,cACvC,CAAC;EAAEoB;MAAcA,MAAW,KAAA,CAAA,GAAI,UAAU,GAAI;;AAAA;AAAA,eAG7C,CAAC;EAAER;AAAa,CAAA,KAAAC,WAAA,CAAMC,OAAOC,IAAK,CAAAM,UAAA,CAAWT,MAAU,IAAA,OAAO,CAAC;AAAA;AAAA;AAAA;AAAA,eAI/D,CAAC;EAAEA;AAAa,CAAA,KAAAC,WAAA,CAAMC,OAAOC,IAAK,CAAAO,MAAA,CAAOV,MAAU,IAAA,OAAO,CAAC;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA,QAWlEN,WAAW;;AAAA;AAAA,iBAGF,CAAC;EAAEM;AAAa,CAAA,KAAAC,WAAA,CAAMC,OAAOC,IAAK,CAAAO,MAAA,CAAOV,MAAU,IAAA,OAAO,CAAC;AAAA;AAAA;AAAA;;AAAA,eAK7DV,WAAWG,mBAAmB;AAAA,CAAA;AAGtC,MAAMkB,uBAAuBd,eAAO,CAAA,SAAA,CAAA,CAAAe,IAAA;AAAA;AAAA,eAE5BtB,WAAWC,8BAA8B;AAAA,WAC7C,CAAC;EAAES;AAAa,CAAA,KAAAC,WAAA,CAAMC,OAAOC,IAAK,CAAAE,IAAA,CAAKL,MAAU,IAAA,OAAO,CAAC;AAAA,CAAA;AAG7D,MAAMa,cAAchB,eAAO,CAAA,SAAA,CAAA,CAAAe,IAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA,aAYrBX,KAAA,CAAAA,KAAA,CAAMC,OAAOY,OAAO;AAAA;AAAA,CAAA;AAI1B,MAAMC,wBAAwBlB,eAAO,CAAA,SAAA,CAAA,CAAAe,IAAA;AAAA;AAAA;AAAA,WAGjCX,KAAA,CAAAA,KAAA,CAAMC,OAAOY,OAAO;AAAA;AAAA,CAAA;;;;;"}
|
|
@@ -15,14 +15,15 @@ const animations = {
|
|
|
15
15
|
transform: scale(1, 1);
|
|
16
16
|
}
|
|
17
17
|
`,
|
|
18
|
-
|
|
18
|
+
fadeInDownAnimation: keyframes`
|
|
19
19
|
from {
|
|
20
|
-
opacity: 0;
|
|
21
|
-
transform:
|
|
20
|
+
opacity: 0.5;
|
|
21
|
+
transform: translate(0, -5px);
|
|
22
22
|
}
|
|
23
|
+
|
|
23
24
|
to {
|
|
24
25
|
opacity: 1;
|
|
25
|
-
transform:
|
|
26
|
+
transform: translate(0, 0);
|
|
26
27
|
}
|
|
27
28
|
`
|
|
28
29
|
};
|
|
@@ -69,24 +70,20 @@ const MenuHeaderList = styled.ul`
|
|
|
69
70
|
margin: 0;
|
|
70
71
|
background-color: inherit;
|
|
71
72
|
color: inherit;
|
|
72
|
-
padding:
|
|
73
|
+
padding: 6px 16px;
|
|
73
74
|
|
|
74
75
|
li {
|
|
75
76
|
display: flex;
|
|
76
77
|
align-items: center;
|
|
77
|
-
padding:
|
|
78
|
+
padding: 8px 16px;
|
|
78
79
|
cursor: pointer;
|
|
79
80
|
font-weight: 700;
|
|
80
81
|
font-size: ${({
|
|
81
82
|
$level
|
|
82
83
|
}) => $level === 0 ? TITLE_FONT_SIZE : BASE_FONT_SIZE}px;
|
|
83
|
-
margin
|
|
84
|
+
margin: ${({
|
|
84
85
|
$level
|
|
85
|
-
}) => $level === 0 ?
|
|
86
|
-
|
|
87
|
-
&:last-child {
|
|
88
|
-
margin-bottom: 24px;
|
|
89
|
-
}
|
|
86
|
+
}) => $level === 0 ? "2px 0" : "0"};
|
|
90
87
|
|
|
91
88
|
&:hover {
|
|
92
89
|
color: ${({
|
|
@@ -100,8 +97,8 @@ const MenuHeaderList = styled.ul`
|
|
|
100
97
|
}) => theme.colors.menu.active[$motif || "light"]};
|
|
101
98
|
}
|
|
102
99
|
|
|
103
|
-
|
|
104
|
-
margin-bottom:
|
|
100
|
+
&:last-child {
|
|
101
|
+
margin-bottom: 6px;
|
|
105
102
|
}
|
|
106
103
|
|
|
107
104
|
button {
|
|
@@ -118,12 +115,7 @@ const MenuHeaderList = styled.ul`
|
|
|
118
115
|
}
|
|
119
116
|
}
|
|
120
117
|
|
|
121
|
-
${
|
|
122
|
-
$level
|
|
123
|
-
}) => $level > 0 && css`
|
|
124
|
-
animation: ${animations.subMenuIntroAnimation} 0.2s ease-in-out;
|
|
125
|
-
transform-origin: left top;
|
|
126
|
-
`}
|
|
118
|
+
animation: ${animations.fadeInDownAnimation} 0.1s ease-in-out;
|
|
127
119
|
`;
|
|
128
120
|
const MenuItemCollapseIcon = styled.span`
|
|
129
121
|
margin-left: 4px;
|
package/lib/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProHeaderMobileMenu.styles.mjs","sources":["../../../../../src/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport styled, { css, keyframes } from \"styled-components\";\n\nimport { theme } from \"../../../../constants/theme\";\nimport { HEADER_HEIGHT } from \"../../Header.styles\";\n\nconst BASE_FONT_SIZE = 18;\nconst TITLE_FONT_SIZE = BASE_FONT_SIZE * 1.16;\n\nconst animations = {\n menuCollapseIconIntroAnimation: keyframes`\n from {\n opacity: 0;\n transform: scale(1, 0.1);\n }\n to {\n opacity: 1;\n transform: scale(1, 1);\n }\n `,\n
|
|
1
|
+
{"version":3,"file":"ProHeaderMobileMenu.styles.mjs","sources":["../../../../../src/components/Header/ProHeader/ProHeaderMobileMenu/ProHeaderMobileMenu.styles.tsx"],"sourcesContent":["import type { Motif } from \"@ubnt/ui-components/utils\";\nimport styled, { css, keyframes } from \"styled-components\";\n\nimport { theme } from \"../../../../constants/theme\";\nimport { HEADER_HEIGHT } from \"../../Header.styles\";\n\nconst BASE_FONT_SIZE = 18;\nconst TITLE_FONT_SIZE = BASE_FONT_SIZE * 1.16;\n\nconst animations = {\n menuCollapseIconIntroAnimation: keyframes`\n from {\n opacity: 0;\n transform: scale(1, 0.1);\n }\n to {\n opacity: 1;\n transform: scale(1, 1);\n }\n `,\n fadeInDownAnimation: keyframes`\n from {\n opacity: 0.5;\n transform: translate(0, -5px);\n }\n\n to {\n opacity: 1;\n transform: translate(0, 0);\n }\n `,\n};\n\nconst buttonPlain = css`\n color: inherit;\n font: inherit;\n padding: 0;\n cursor: pointer;\n width: 100%;\n text-align: left;\n appearance: none;\n background-color: transparent;\n border: none;\n box-shadow: none;\n outline: none;\n &:active,\n &:focus,\n &:focus-visible,\n &:hover {\n background-color: transparent;\n outline: none;\n }\n -webkit-appearance: none;\n -webkit-tap-highlight-color: transparent;\n`;\n\nexport const MenuContainer = styled.div<{ $motif?: Motif }>`\n width: 100%;\n height: calc(100dvh - ${HEADER_HEIGHT}px);\n padding-top: 12px;\n padding-bottom: 48px;\n overflow-y: auto;\n\n box-sizing: border-box;\n\n background-color: ${({ $motif }) =>\n theme.colors.menu.base[$motif || \"light\"]};\n color: ${({ $motif }) => theme.colors.menu.text[$motif || \"light\"]};\n`;\n\nexport const MenuHeaderList = styled.ul<{\n $level: number;\n $motif?: Motif;\n}>`\n list-style: none;\n margin: 0;\n background-color: inherit;\n color: inherit;\n padding: 6px 16px;\n\n li {\n display: flex;\n align-items: center;\n padding: 8px 16px;\n cursor: pointer;\n font-weight: 700;\n font-size: ${({ $level }) =>\n $level === 0 ? TITLE_FONT_SIZE : BASE_FONT_SIZE}px;\n margin: ${({ $level }) => ($level === 0 ? \"2px 0\" : \"0\")};\n\n &:hover {\n color: ${({ $motif }) => theme.colors.menu.textAccent[$motif || \"light\"]};\n }\n &.expanded,\n &.active {\n color: ${({ $motif }) => theme.colors.menu.active[$motif || \"light\"]};\n }\n\n &:last-child {\n margin-bottom: 6px;\n }\n\n button {\n display: flex;\n align-items: center;\n\n ${buttonPlain}\n\n &:focus-visible {\n color: ${({ $motif }) => theme.colors.menu.active[$motif || \"light\"]};\n }\n }\n }\n\n animation: ${animations.fadeInDownAnimation} 0.1s ease-in-out;\n`;\n\nexport const MenuItemCollapseIcon = styled.span<{ $motif?: Motif }>`\n margin-left: 4px;\n animation: ${animations.menuCollapseIconIntroAnimation} 0.2s ease-in-out;\n color: ${({ $motif }) => theme.colors.menu.text[$motif || \"light\"]};\n`;\n\nexport const RegionLabel = styled.span`\n display: flex;\n align-items: center;\n gap: 6px;\n\n span {\n margin-right: 4px;\n }\n\n small {\n font-size: 12px;\n font-weight: 400;\n color: ${theme.colors.black50};\n }\n`;\n\nexport const CategoryProductsCount = styled.span`\n font-size: 16px;\n font-weight: 400;\n color: ${theme.colors.black50};\n margin-left: 8px;\n`;\n"],"names":["BASE_FONT_SIZE","TITLE_FONT_SIZE","animations","menuCollapseIconIntroAnimation","keyframes","fadeInDownAnimation","buttonPlain","css","MenuContainer","styled","div","HEADER_HEIGHT","$motif","theme","colors","menu","base","text","MenuHeaderList","ul","$level","textAccent","active","MenuItemCollapseIcon","span","RegionLabel","black50","CategoryProductsCount"],"mappings":";;;;AAMA,MAAMA,cAAiB,GAAA,EAAA;AACvB,MAAMC,kBAAkBD,cAAiB,GAAA,IAAA;AAEzC,MAAME,UAAa,GAAA;EACjBC,8BAAgC,EAAAC,SAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,GAAA;EAUhCC,mBAAqB,EAAAD,SAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAWvB,CAAA;AAEA,MAAME,WAAc,GAAAC,GAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAAA;AAuBb,MAAMC,gBAAgBC,MAAO,CAAAC,GAAA;AAAA;AAAA,0BAEVC,aAAa;AAAA;AAAA;AAAA;;AAAA;;AAAA,sBAOjB,CAAC;EAAEC;AACrB,CAAA,KAAAC,KAAA,CAAMC,OAAOC,IAAK,CAAAC,IAAA,CAAKJ,MAAU,IAAA,OAAO,CAAC;AAAA,WAClC,CAAC;EAAEA;AAAa,CAAA,KAAAC,KAAA,CAAMC,OAAOC,IAAK,CAAAE,IAAA,CAAKL,MAAU,IAAA,OAAO,CAAC;AAAA,CAAA;AAG7D,MAAMM,iBAAiBT,MAAO,CAAAU,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAgBpB,CAAC;EAAEC;MACdA,MAAW,KAAA,CAAA,GAAInB,kBAAkBD,cAAc;AAAA,cACvC,CAAC;EAAEoB;MAAcA,MAAW,KAAA,CAAA,GAAI,UAAU,GAAI;;AAAA;AAAA,eAG7C,CAAC;EAAER;AAAa,CAAA,KAAAC,KAAA,CAAMC,OAAOC,IAAK,CAAAM,UAAA,CAAWT,MAAU,IAAA,OAAO,CAAC;AAAA;AAAA;AAAA;AAAA,eAI/D,CAAC;EAAEA;AAAa,CAAA,KAAAC,KAAA,CAAMC,OAAOC,IAAK,CAAAO,MAAA,CAAOV,MAAU,IAAA,OAAO,CAAC;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA,QAWlEN,WAAW;;AAAA;AAAA,iBAGF,CAAC;EAAEM;AAAa,CAAA,KAAAC,KAAA,CAAMC,OAAOC,IAAK,CAAAO,MAAA,CAAOV,MAAU,IAAA,OAAO,CAAC;AAAA;AAAA;AAAA;;AAAA,eAK7DV,WAAWG,mBAAmB;AAAA,CAAA;AAGtC,MAAMkB,uBAAuBd,MAAO,CAAAe,IAAA;AAAA;AAAA,eAE5BtB,WAAWC,8BAA8B;AAAA,WAC7C,CAAC;EAAES;AAAa,CAAA,KAAAC,KAAA,CAAMC,OAAOC,IAAK,CAAAE,IAAA,CAAKL,MAAU,IAAA,OAAO,CAAC;AAAA,CAAA;AAG7D,MAAMa,cAAchB,MAAO,CAAAe,IAAA;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;;AAAA;AAAA;AAAA;AAAA,aAYrBX,KAAA,CAAMC,OAAOY,OAAO;AAAA;AAAA,CAAA;AAI1B,MAAMC,wBAAwBlB,MAAO,CAAAe,IAAA;AAAA;AAAA;AAAA,WAGjCX,KAAA,CAAMC,OAAOY,OAAO;AAAA;AAAA,CAAA;"}
|
|
@@ -12,7 +12,7 @@ require('./assets/attention.svg.js');
|
|
|
12
12
|
var InputCard_styles = require('./InputCard.styles.js');
|
|
13
13
|
require('./InputSections/index.js');
|
|
14
14
|
var CustomImage = require('../../../../CustomImage/CustomImage.js');
|
|
15
|
-
var attentionIcon = require("../../../../../assets/
|
|
15
|
+
var attentionIcon = require("../../../../../assets/attention2.svg");
|
|
16
16
|
var OptionSelectSection = require('./InputSections/OptionSelectSection.js');
|
|
17
17
|
var SliderSection = require('./InputSections/SliderSection.js');
|
|
18
18
|
var CounterSection = require('./InputSections/CounterSection.js');
|
|
@@ -10,7 +10,7 @@ import './assets/attention.svg.mjs';
|
|
|
10
10
|
import { Card, Header, HeaderHeadingSection, HeadingIcon, HeadingTitle, HeaderActionSection, SubduedInfo, OverlayFilter, NotAvailableNoteWrap, NotAvailableNoteIcon, InputBody, InputSectionSpacing, Footer, FooterContent, FooterNote } from './InputCard.styles.mjs';
|
|
11
11
|
import './InputSections/index.mjs';
|
|
12
12
|
import { CustomImage } from '../../../../CustomImage/CustomImage.mjs';
|
|
13
|
-
import attentionIcon__default from "../../../../../assets/
|
|
13
|
+
import attentionIcon__default from "../../../../../assets/attention2.svg";
|
|
14
14
|
import { OptionSelectSection } from './InputSections/OptionSelectSection.mjs';
|
|
15
15
|
import { SliderSection } from './InputSections/SliderSection.mjs';
|
|
16
16
|
import { CounterSection } from './InputSections/CounterSection.mjs';
|
|
@@ -11,8 +11,8 @@ require('../assets/plus.svg.js');
|
|
|
11
11
|
var Layout_styles = require('./Layout.styles.js');
|
|
12
12
|
var CustomImage = require('../../../../../CustomImage/CustomImage.js');
|
|
13
13
|
var StyleableSvgImage = require('../../../../../StyleableSvgImage/StyleableSvgImage.js');
|
|
14
|
-
var MinusIcon = require("../../../../../../assets/
|
|
15
|
-
var PlusIcon = require("../../../../../../assets/
|
|
14
|
+
var MinusIcon = require("../../../../../../assets/minus5.svg");
|
|
15
|
+
var PlusIcon = require("../../../../../../assets/plus5.svg");
|
|
16
16
|
function _interopDefault(e) {
|
|
17
17
|
return e && e.__esModule ? e : {
|
|
18
18
|
default: e
|
|
@@ -9,8 +9,8 @@ import '../assets/plus.svg.mjs';
|
|
|
9
9
|
import { InputWrapper, Label, InputFlexWrapper } from './Layout.styles.mjs';
|
|
10
10
|
import { CustomImage } from '../../../../../CustomImage/CustomImage.mjs';
|
|
11
11
|
import { StyleableSvgImage } from '../../../../../StyleableSvgImage/StyleableSvgImage.mjs';
|
|
12
|
-
import MinusIcon__default from "../../../../../../assets/
|
|
13
|
-
import PlusIcon__default from "../../../../../../assets/
|
|
12
|
+
import MinusIcon__default from "../../../../../../assets/minus5.svg";
|
|
13
|
+
import PlusIcon__default from "../../../../../../assets/plus5.svg";
|
|
14
14
|
"use strict";
|
|
15
15
|
const CounterSection = ({
|
|
16
16
|
value,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var attentionIcon = require("../../../../../../assets/
|
|
6
|
+
var attentionIcon = require("../../../../../../assets/attention2.svg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "../../../../../../assets/
|
|
2
|
-
export { default } from "../../../../../../assets/
|
|
1
|
+
export * from "../../../../../../assets/attention2.svg";
|
|
2
|
+
export { default } from "../../../../../../assets/attention2.svg";
|
|
3
3
|
//# sourceMappingURL=attention.svg.mjs.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var MinusIcon = require("../../../../../../assets/
|
|
6
|
+
var MinusIcon = require("../../../../../../assets/minus5.svg");
|
|
7
7
|
function _interopDefault(e) {
|
|
8
8
|
return e && e.__esModule ? e : {
|
|
9
9
|
default: e
|