@doyourjob/gravity-ui-page-constructor-addons 2.1.25-dev.0 → 2.1.25-dev.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/build/cjs/components/NewHeader/NewHeader.d.ts +2 -2
- package/build/cjs/components/NewHeader/NewHeader.js +7 -7
- package/build/cjs/components/NewHeader/components/{CompanyPopup/CompanyPopup.css → NHCompanyPopup/NHCompanyPopup.css} +4 -4
- package/build/cjs/components/NewHeader/components/NHCompanyPopup/NHCompanyPopup.d.ts +3 -0
- package/build/cjs/components/NewHeader/components/{CompanyPopup/CompanyPopup.js → NHCompanyPopup/NHCompanyPopup.js} +6 -6
- package/build/{esm/components/NewHeader/components/InvestorPopup/InvestorPopup.css → cjs/components/NewHeader/components/NHInvestorPopup/NHInvestorPopup.css} +11 -11
- package/build/cjs/components/NewHeader/components/NHInvestorPopup/NHInvestorPopup.d.ts +3 -0
- package/build/cjs/components/NewHeader/components/{InvestorPopup/InvestorPopup.js → NHInvestorPopup/NHInvestorPopup.js} +6 -6
- package/build/cjs/components/NewHeader/components/NHLoginButton/NHLoginButton.d.ts +10 -0
- package/build/cjs/components/NewHeader/components/{LoginButton/LoginButton.js → NHLoginButton/NHLoginButton.js} +7 -7
- package/build/cjs/components/NewHeader/components/{LoginPopup/LoginPopup.css → NHLoginPopup/NHLoginPopup.css} +6 -6
- package/build/cjs/components/NewHeader/components/NHLoginPopup/NHLoginPopup.d.ts +3 -0
- package/build/cjs/components/NewHeader/components/{LoginPopup/LoginPopup.js → NHLoginPopup/NHLoginPopup.js} +4 -4
- package/build/cjs/components/NewHeader/components/{MediumPopup/MediumPopup.css → NHMediumPopup/NHMediumPopup.css} +1 -1
- package/build/cjs/components/NewHeader/components/NHMediumPopup/NHMediumPopup.d.ts +3 -0
- package/build/cjs/components/NewHeader/components/{MediumPopup/MediumPopup.js → NHMediumPopup/NHMediumPopup.js} +6 -6
- package/build/{esm/components/NewHeader/components/MobileNavigation/MobileNavigation.css → cjs/components/NewHeader/components/NHMobileNavigation/NHMobileNavigation.css} +10 -10
- package/build/cjs/components/NewHeader/components/{MobileNavigation/MobileNavigation.d.ts → NHMobileNavigation/NHMobileNavigation.d.ts} +3 -3
- package/build/cjs/components/NewHeader/components/{MobileNavigation/MobileNavigation.js → NHMobileNavigation/NHMobileNavigation.js} +8 -8
- package/build/cjs/components/NewHeader/components/{MobileNavigationItem/MobileNavigationItem.css → NHMobileNavigationItem/NHMobileNavigationItem.css} +11 -11
- package/build/cjs/components/NewHeader/components/NHMobileNavigationItem/NHMobileNavigationItem.d.ts +3 -0
- package/build/cjs/components/NewHeader/components/{MobileNavigationItem/MobileNavigationItem.js → NHMobileNavigationItem/NHMobileNavigationItem.js} +5 -5
- package/build/{esm/components/NewHeader/components/MobileNavigationPopup/MobileNavigationPopup.css → cjs/components/NewHeader/components/NHMobileNavigationPopup/NHMobileNavigationPopup.css} +9 -9
- package/build/cjs/components/NewHeader/components/{MobileNavigationPopup/MobileNavigationPopup.d.ts → NHMobileNavigationPopup/NHMobileNavigationPopup.d.ts} +1 -1
- package/build/cjs/components/NewHeader/components/{MobileNavigationPopup/MobileNavigationPopup.js → NHMobileNavigationPopup/NHMobileNavigationPopup.js} +4 -4
- package/build/cjs/components/NewHeader/components/{Navigation/Navigation.css → NHNavigation/NHNavigation.css} +3 -3
- package/build/cjs/components/NewHeader/components/NHNavigation/NHNavigation.d.ts +10 -0
- package/build/cjs/components/NewHeader/components/NHNavigation/NHNavigation.js +74 -0
- package/build/cjs/components/NewHeader/components/{NavigationItem/NavigationItem.css → NHNavigationItem/NHNavigationItem.css} +11 -11
- package/build/cjs/components/NewHeader/components/{NavigationItem/NavigationItem.d.ts → NHNavigationItem/NHNavigationItem.d.ts} +3 -3
- package/build/cjs/components/NewHeader/components/{NavigationItem/NavigationItem.js → NHNavigationItem/NHNavigationItem.js} +5 -5
- package/build/cjs/components/NewHeader/components/{NavigationPopup/NavigationPopup.css → NHNavigationPopup/NHNavigationPopup.css} +2 -2
- package/build/cjs/components/NewHeader/components/{NavigationPopup/NavigationPopup.d.ts → NHNavigationPopup/NHNavigationPopup.d.ts} +1 -1
- package/build/cjs/components/NewHeader/components/{NavigationPopup/NavigationPopup.js → NHNavigationPopup/NHNavigationPopup.js} +4 -4
- package/build/cjs/components/NewHeader/components/{PopupItem/PopupItem.css → NHPopupItem/NHPopupItem.css} +21 -21
- package/build/cjs/components/NewHeader/components/{PopupItem/PopupItem.d.ts → NHPopupItem/NHPopupItem.d.ts} +3 -3
- package/build/cjs/components/NewHeader/components/{PopupItem/PopupItem.js → NHPopupItem/NHPopupItem.js} +6 -6
- package/build/{esm/components/NewHeader/components/ProductsPopup/ProductsPopup.css → cjs/components/NewHeader/components/NHProductsPopup/NHProductsPopup.css} +17 -17
- package/build/cjs/components/NewHeader/components/NHProductsPopup/NHProductsPopup.d.ts +3 -0
- package/build/cjs/components/NewHeader/components/{ProductsPopup/ProductsPopup.js → NHProductsPopup/NHProductsPopup.js} +7 -7
- package/build/{esm/components/NewHeader/components/ResourcesPopup/ResourcesPopup.css → cjs/components/NewHeader/components/NHResourcesPopup/NHResourcesPopup.css} +28 -28
- package/build/cjs/components/NewHeader/components/NHResourcesPopup/NHResourcesPopup.d.ts +3 -0
- package/build/cjs/components/NewHeader/components/{ResourcesPopup/ResourcesPopup.js → NHResourcesPopup/NHResourcesPopup.js} +6 -6
- package/build/{esm/components/NewHeader/components/SolutionsPopup/SolutionsPopup.css → cjs/components/NewHeader/components/NHSolutionsPopup/NHSolutionsPopup.css} +8 -8
- package/build/cjs/components/NewHeader/components/NHSolutionsPopup/NHSolutionsPopup.d.ts +3 -0
- package/build/cjs/components/NewHeader/components/{SolutionsPopup/SolutionsPopup.js → NHSolutionsPopup/NHSolutionsPopup.js} +6 -6
- package/build/cjs/components/NewHeader/components/{Tag/Tag.css → NHTag/NHTag.css} +2 -2
- package/build/cjs/components/NewHeader/components/NHTag/NHTag.d.ts +6 -0
- package/build/cjs/components/NewHeader/components/{Tag/Tag.js → NHTag/NHTag.js} +7 -7
- package/build/{esm/components/NewHeader/components/WhyPopup/WhyPopup.css → cjs/components/NewHeader/components/NHWhyPopup/NHWhyPopup.css} +12 -12
- package/build/cjs/components/NewHeader/components/NHWhyPopup/NHWhyPopup.d.ts +3 -0
- package/build/cjs/components/NewHeader/components/{WhyPopup/WhyPopup.js → NHWhyPopup/NHWhyPopup.js} +6 -6
- package/build/cjs/components/NewHeader/models.d.ts +88 -88
- package/build/cjs/components/NewHeader/models.js +18 -18
- package/build/esm/components/NewHeader/NewHeader.d.ts +2 -2
- package/build/esm/components/NewHeader/NewHeader.js +7 -7
- package/build/esm/components/NewHeader/components/{CompanyPopup/CompanyPopup.css → NHCompanyPopup/NHCompanyPopup.css} +4 -4
- package/build/esm/components/NewHeader/components/NHCompanyPopup/NHCompanyPopup.d.ts +4 -0
- package/build/esm/components/NewHeader/components/{CompanyPopup/CompanyPopup.js → NHCompanyPopup/NHCompanyPopup.js} +5 -5
- package/build/{cjs/components/NewHeader/components/InvestorPopup/InvestorPopup.css → esm/components/NewHeader/components/NHInvestorPopup/NHInvestorPopup.css} +11 -11
- package/build/esm/components/NewHeader/components/NHInvestorPopup/NHInvestorPopup.d.ts +4 -0
- package/build/esm/components/NewHeader/components/{InvestorPopup/InvestorPopup.js → NHInvestorPopup/NHInvestorPopup.js} +5 -5
- package/build/esm/components/NewHeader/components/NHLoginButton/NHLoginButton.d.ts +10 -0
- package/build/esm/components/NewHeader/components/{LoginButton/LoginButton.js → NHLoginButton/NHLoginButton.js} +5 -5
- package/build/esm/components/NewHeader/components/{LoginPopup/LoginPopup.css → NHLoginPopup/NHLoginPopup.css} +6 -6
- package/build/esm/components/NewHeader/components/NHLoginPopup/NHLoginPopup.d.ts +4 -0
- package/build/esm/components/NewHeader/components/NHLoginPopup/NHLoginPopup.js +8 -0
- package/build/esm/components/NewHeader/components/{MediumPopup/MediumPopup.css → NHMediumPopup/NHMediumPopup.css} +1 -1
- package/build/esm/components/NewHeader/components/NHMediumPopup/NHMediumPopup.d.ts +4 -0
- package/build/esm/components/NewHeader/components/{MediumPopup/MediumPopup.js → NHMediumPopup/NHMediumPopup.js} +5 -5
- package/build/{cjs/components/NewHeader/components/MobileNavigation/MobileNavigation.css → esm/components/NewHeader/components/NHMobileNavigation/NHMobileNavigation.css} +10 -10
- package/build/esm/components/NewHeader/components/{MobileNavigation/MobileNavigation.d.ts → NHMobileNavigation/NHMobileNavigation.d.ts} +4 -4
- package/build/esm/components/NewHeader/components/{MobileNavigation/MobileNavigation.js → NHMobileNavigation/NHMobileNavigation.js} +7 -7
- package/build/esm/components/NewHeader/components/{MobileNavigationItem/MobileNavigationItem.css → NHMobileNavigationItem/NHMobileNavigationItem.css} +11 -11
- package/build/esm/components/NewHeader/components/NHMobileNavigationItem/NHMobileNavigationItem.d.ts +4 -0
- package/build/esm/components/NewHeader/components/{MobileNavigationItem/MobileNavigationItem.js → NHMobileNavigationItem/NHMobileNavigationItem.js} +4 -4
- package/build/{cjs/components/NewHeader/components/MobileNavigationPopup/MobileNavigationPopup.css → esm/components/NewHeader/components/NHMobileNavigationPopup/NHMobileNavigationPopup.css} +9 -9
- package/build/esm/components/NewHeader/components/{MobileNavigationPopup/MobileNavigationPopup.d.ts → NHMobileNavigationPopup/NHMobileNavigationPopup.d.ts} +2 -2
- package/build/esm/components/NewHeader/components/{MobileNavigationPopup/MobileNavigationPopup.js → NHMobileNavigationPopup/NHMobileNavigationPopup.js} +3 -3
- package/build/esm/components/NewHeader/components/{Navigation/Navigation.css → NHNavigation/NHNavigation.css} +3 -3
- package/build/esm/components/NewHeader/components/NHNavigation/NHNavigation.d.ts +11 -0
- package/build/esm/components/NewHeader/components/NHNavigation/NHNavigation.js +70 -0
- package/build/esm/components/NewHeader/components/{NavigationItem/NavigationItem.css → NHNavigationItem/NHNavigationItem.css} +11 -11
- package/build/esm/components/NewHeader/components/{NavigationItem/NavigationItem.d.ts → NHNavigationItem/NHNavigationItem.d.ts} +4 -4
- package/build/esm/components/NewHeader/components/{NavigationItem/NavigationItem.js → NHNavigationItem/NHNavigationItem.js} +5 -5
- package/build/esm/components/NewHeader/components/{NavigationPopup/NavigationPopup.css → NHNavigationPopup/NHNavigationPopup.css} +2 -2
- package/build/esm/components/NewHeader/components/{NavigationPopup/NavigationPopup.d.ts → NHNavigationPopup/NHNavigationPopup.d.ts} +2 -2
- package/build/esm/components/NewHeader/components/{NavigationPopup/NavigationPopup.js → NHNavigationPopup/NHNavigationPopup.js} +3 -3
- package/build/esm/components/NewHeader/components/{PopupItem/PopupItem.css → NHPopupItem/NHPopupItem.css} +21 -21
- package/build/esm/components/NewHeader/components/{PopupItem/PopupItem.d.ts → NHPopupItem/NHPopupItem.d.ts} +4 -4
- package/build/esm/components/NewHeader/components/{PopupItem/PopupItem.js → NHPopupItem/NHPopupItem.js} +5 -5
- package/build/{cjs/components/NewHeader/components/ProductsPopup/ProductsPopup.css → esm/components/NewHeader/components/NHProductsPopup/NHProductsPopup.css} +17 -17
- package/build/esm/components/NewHeader/components/NHProductsPopup/NHProductsPopup.d.ts +4 -0
- package/build/esm/components/NewHeader/components/{ProductsPopup/ProductsPopup.js → NHProductsPopup/NHProductsPopup.js} +6 -6
- package/build/{cjs/components/NewHeader/components/ResourcesPopup/ResourcesPopup.css → esm/components/NewHeader/components/NHResourcesPopup/NHResourcesPopup.css} +28 -28
- package/build/esm/components/NewHeader/components/NHResourcesPopup/NHResourcesPopup.d.ts +4 -0
- package/build/esm/components/NewHeader/components/{ResourcesPopup/ResourcesPopup.js → NHResourcesPopup/NHResourcesPopup.js} +5 -5
- package/build/{cjs/components/NewHeader/components/SolutionsPopup/SolutionsPopup.css → esm/components/NewHeader/components/NHSolutionsPopup/NHSolutionsPopup.css} +8 -8
- package/build/esm/components/NewHeader/components/NHSolutionsPopup/NHSolutionsPopup.d.ts +4 -0
- package/build/esm/components/NewHeader/components/{SolutionsPopup/SolutionsPopup.js → NHSolutionsPopup/NHSolutionsPopup.js} +5 -5
- package/build/esm/components/NewHeader/components/{Tag/Tag.css → NHTag/NHTag.css} +2 -2
- package/build/esm/components/NewHeader/components/NHTag/NHTag.d.ts +7 -0
- package/build/esm/components/NewHeader/components/NHTag/NHTag.js +18 -0
- package/build/{cjs/components/NewHeader/components/WhyPopup/WhyPopup.css → esm/components/NewHeader/components/NHWhyPopup/NHWhyPopup.css} +12 -12
- package/build/esm/components/NewHeader/components/NHWhyPopup/NHWhyPopup.d.ts +4 -0
- package/build/esm/components/NewHeader/components/{WhyPopup/WhyPopup.js → NHWhyPopup/NHWhyPopup.js} +5 -5
- package/build/esm/components/NewHeader/models.d.ts +88 -88
- package/build/esm/components/NewHeader/models.js +17 -17
- package/package.json +1 -1
- package/build/cjs/components/NewHeader/components/CompanyPopup/CompanyPopup.d.ts +0 -3
- package/build/cjs/components/NewHeader/components/InvestorPopup/InvestorPopup.d.ts +0 -3
- package/build/cjs/components/NewHeader/components/LoginButton/LoginButton.d.ts +0 -10
- package/build/cjs/components/NewHeader/components/LoginPopup/LoginPopup.d.ts +0 -3
- package/build/cjs/components/NewHeader/components/MediumPopup/MediumPopup.d.ts +0 -3
- package/build/cjs/components/NewHeader/components/MobileNavigationItem/MobileNavigationItem.d.ts +0 -3
- package/build/cjs/components/NewHeader/components/Navigation/Navigation.d.ts +0 -10
- package/build/cjs/components/NewHeader/components/Navigation/Navigation.js +0 -74
- package/build/cjs/components/NewHeader/components/ProductsPopup/ProductsPopup.d.ts +0 -3
- package/build/cjs/components/NewHeader/components/ResourcesPopup/ResourcesPopup.d.ts +0 -3
- package/build/cjs/components/NewHeader/components/SolutionsPopup/SolutionsPopup.d.ts +0 -3
- package/build/cjs/components/NewHeader/components/Tag/Tag.d.ts +0 -6
- package/build/cjs/components/NewHeader/components/WhyPopup/WhyPopup.d.ts +0 -3
- package/build/esm/components/NewHeader/components/CompanyPopup/CompanyPopup.d.ts +0 -4
- package/build/esm/components/NewHeader/components/InvestorPopup/InvestorPopup.d.ts +0 -4
- package/build/esm/components/NewHeader/components/LoginButton/LoginButton.d.ts +0 -10
- package/build/esm/components/NewHeader/components/LoginPopup/LoginPopup.d.ts +0 -4
- package/build/esm/components/NewHeader/components/LoginPopup/LoginPopup.js +0 -8
- package/build/esm/components/NewHeader/components/MediumPopup/MediumPopup.d.ts +0 -4
- package/build/esm/components/NewHeader/components/MobileNavigationItem/MobileNavigationItem.d.ts +0 -4
- package/build/esm/components/NewHeader/components/Navigation/Navigation.d.ts +0 -11
- package/build/esm/components/NewHeader/components/Navigation/Navigation.js +0 -70
- package/build/esm/components/NewHeader/components/ProductsPopup/ProductsPopup.d.ts +0 -4
- package/build/esm/components/NewHeader/components/ResourcesPopup/ResourcesPopup.d.ts +0 -4
- package/build/esm/components/NewHeader/components/SolutionsPopup/SolutionsPopup.d.ts +0 -4
- package/build/esm/components/NewHeader/components/Tag/Tag.d.ts +0 -7
- package/build/esm/components/NewHeader/components/Tag/Tag.js +0 -18
- package/build/esm/components/NewHeader/components/WhyPopup/WhyPopup.d.ts +0 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* use this for style redefinitions to awoid problems with
|
|
2
2
|
unpredictable css rules order in build */
|
|
3
|
-
.pc-addons-products-popup {
|
|
3
|
+
.pc-addons-nh-products-popup {
|
|
4
4
|
background: var(--g-color-base-float);
|
|
5
5
|
box-shadow: 0 4px 24px var(--g-color-base-generic), 0 2px 8px var(--g-color-base-generic);
|
|
6
6
|
max-height: calc(100vh - 64px - 64px);
|
|
@@ -11,26 +11,26 @@ unpredictable css rules order in build */
|
|
|
11
11
|
scrollbar-width: none;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.pc-addons-products-popup::-webkit-scrollbar {
|
|
14
|
+
.pc-addons-nh-products-popup::-webkit-scrollbar {
|
|
15
15
|
display: none;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.pc-addons-products-popup__container {
|
|
18
|
+
.pc-addons-nh-products-popup__container {
|
|
19
19
|
padding: 0;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.pc-addons-products-popup > div + div {
|
|
22
|
+
.pc-addons-nh-products-popup > div + div {
|
|
23
23
|
border-top: 1px solid #e4ebf0;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.pc-addons-products-popup__wrap {
|
|
26
|
+
.pc-addons-nh-products-popup__wrap {
|
|
27
27
|
padding: 24px;
|
|
28
28
|
gap: 24px;
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-direction: column;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.pc-addons-products-popup__title {
|
|
33
|
+
.pc-addons-nh-products-popup__title {
|
|
34
34
|
font-size: var(--g-text-header-1-font-size, var(--pc-text-header-1-font-size));
|
|
35
35
|
line-height: var(--g-text-header-1-line-height, var(--pc-text-header-1-line-height));
|
|
36
36
|
padding: 24px;
|
|
@@ -39,14 +39,14 @@ unpredictable css rules order in build */
|
|
|
39
39
|
background-color: #e0e0e0;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.pc-addons-products-popup__subtitle {
|
|
42
|
+
.pc-addons-nh-products-popup__subtitle {
|
|
43
43
|
font-size: var(--g-text-header-1-font-size, var(--pc-text-header-1-font-size));
|
|
44
44
|
line-height: var(--g-text-header-1-line-height, var(--pc-text-header-1-line-height));
|
|
45
45
|
font-weight: 700;
|
|
46
46
|
color: #e0e0e0;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.pc-addons-products-popup__powered-card {
|
|
49
|
+
.pc-addons-nh-products-popup__powered-card {
|
|
50
50
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
51
51
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
52
52
|
font-weight: 500;
|
|
@@ -57,7 +57,7 @@ unpredictable css rules order in build */
|
|
|
57
57
|
gap: 24px;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.pc-addons-products-popup__powered-card-wrap {
|
|
60
|
+
.pc-addons-nh-products-popup__powered-card-wrap {
|
|
61
61
|
display: flex;
|
|
62
62
|
flex-direction: column;
|
|
63
63
|
justify-content: center;
|
|
@@ -65,21 +65,21 @@ unpredictable css rules order in build */
|
|
|
65
65
|
gap: 20px;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.pc-addons-products-popup__powered-card-description {
|
|
68
|
+
.pc-addons-nh-products-popup__powered-card-description {
|
|
69
69
|
color: #9fb1bd;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.pc-addons-products-popup__powered-card-container-image {
|
|
72
|
+
.pc-addons-nh-products-popup__powered-card-container-image {
|
|
73
73
|
flex: 1;
|
|
74
74
|
max-width: 140px;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
.pc-addons-products-popup__powered-card-image {
|
|
77
|
+
.pc-addons-nh-products-popup__powered-card-image {
|
|
78
78
|
width: 100%;
|
|
79
79
|
aspect-ratio: 1;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.pc-addons-products-popup__run-card {
|
|
82
|
+
.pc-addons-nh-products-popup__run-card {
|
|
83
83
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
84
84
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
85
85
|
font-weight: 500;
|
|
@@ -92,22 +92,22 @@ unpredictable css rules order in build */
|
|
|
92
92
|
height: 100%;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
.pc-addons-products-popup__run-card_border {
|
|
95
|
+
.pc-addons-nh-products-popup__run-card_border {
|
|
96
96
|
border: 1px solid #e4ebf0;
|
|
97
97
|
background-color: transparent;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.pc-addons-products-popup__run-card-wrap {
|
|
100
|
+
.pc-addons-nh-products-popup__run-card-wrap {
|
|
101
101
|
display: flex;
|
|
102
102
|
flex-direction: column;
|
|
103
103
|
flex: 1;
|
|
104
104
|
gap: 4px;
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
.pc-addons-products-popup__run-card-description {
|
|
107
|
+
.pc-addons-nh-products-popup__run-card-description {
|
|
108
108
|
color: #9fb1bd;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
-
.pc-addons-products-popup__run-card-image {
|
|
111
|
+
.pc-addons-nh-products-popup__run-card-image {
|
|
112
112
|
height: 40px;
|
|
113
113
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.NHProductsPopup = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const gravity_ui_page_constructor_1 = require("@doyourjob/gravity-ui-page-constructor");
|
|
7
7
|
const cn_1 = require("../../../../utils/cn");
|
|
8
|
-
const
|
|
9
|
-
const b = (0, cn_1.block)('products-popup');
|
|
8
|
+
const NHPopupItem_1 = require("../NHPopupItem/NHPopupItem");
|
|
9
|
+
const b = (0, cn_1.block)('nh-products-popup');
|
|
10
10
|
const PoweredCard = ({ title, description, image }) => {
|
|
11
11
|
return (react_1.default.createElement("div", { className: b('powered-card') },
|
|
12
12
|
react_1.default.createElement("div", { className: b('powered-card-wrap') },
|
|
@@ -21,7 +21,7 @@ const RunCard = ({ title, description, image, border }) => {
|
|
|
21
21
|
react_1.default.createElement("div", { className: b('run-card-title') }, title),
|
|
22
22
|
react_1.default.createElement("div", { className: b('run-card-description') }, description))));
|
|
23
23
|
};
|
|
24
|
-
const
|
|
24
|
+
const NHProductsPopup = ({ sections, poweredCard }) => (react_1.default.createElement(gravity_ui_page_constructor_1.Grid, { className: b(), containerClass: b('container') }, sections.map((section, index) => {
|
|
25
25
|
var _a, _b, _c;
|
|
26
26
|
const isScaleSection = index === 2; // "Scale" section is usually the 3rd one
|
|
27
27
|
const isRunSection = section.runCards && section.runCards.length > 0;
|
|
@@ -40,7 +40,7 @@ const ProductsPopup = ({ sections, poweredCard }) => (react_1.default.createElem
|
|
|
40
40
|
[gravity_ui_page_constructor_1.GridColumnSize.Md]: 8,
|
|
41
41
|
[gravity_ui_page_constructor_1.GridColumnSize.All]: 12,
|
|
42
42
|
} },
|
|
43
|
-
react_1.default.createElement(gravity_ui_page_constructor_1.Row, null, (_b = section.items) === null || _b === void 0 ? void 0 : _b.map((item, itemIndex) => (react_1.default.createElement(
|
|
43
|
+
react_1.default.createElement(gravity_ui_page_constructor_1.Row, null, (_b = section.items) === null || _b === void 0 ? void 0 : _b.map((item, itemIndex) => (react_1.default.createElement(NHPopupItem_1.NHPopupItem, Object.assign({ key: `${item.title}-${itemIndex}` }, item, { hover: true, sizes: {
|
|
44
44
|
[gravity_ui_page_constructor_1.GridColumnSize.Md]: 6,
|
|
45
45
|
[gravity_ui_page_constructor_1.GridColumnSize.All]: 12,
|
|
46
46
|
} })))))),
|
|
@@ -50,7 +50,7 @@ const ProductsPopup = ({ sections, poweredCard }) => (react_1.default.createElem
|
|
|
50
50
|
} }, poweredCard && react_1.default.createElement(PoweredCard, Object.assign({}, poweredCard)))));
|
|
51
51
|
}
|
|
52
52
|
else {
|
|
53
|
-
content = (_c = section.items) === null || _c === void 0 ? void 0 : _c.map((item, itemIndex) => (react_1.default.createElement(
|
|
53
|
+
content = (_c = section.items) === null || _c === void 0 ? void 0 : _c.map((item, itemIndex) => (react_1.default.createElement(NHPopupItem_1.NHPopupItem, Object.assign({ key: `${item.title}-${itemIndex}` }, item, { hover: true, sizes: {
|
|
54
54
|
[gravity_ui_page_constructor_1.GridColumnSize.Md]: 4,
|
|
55
55
|
[gravity_ui_page_constructor_1.GridColumnSize.All]: 12,
|
|
56
56
|
} }))));
|
|
@@ -62,4 +62,4 @@ const ProductsPopup = ({ sections, poweredCard }) => (react_1.default.createElem
|
|
|
62
62
|
react_1.default.createElement(gravity_ui_page_constructor_1.Col, { className: b('subtitle') }, section.subtitle)),
|
|
63
63
|
react_1.default.createElement(gravity_ui_page_constructor_1.Row, null, content))));
|
|
64
64
|
})));
|
|
65
|
-
exports.
|
|
65
|
+
exports.NHProductsPopup = NHProductsPopup;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* use this for style redefinitions to awoid problems with
|
|
2
2
|
unpredictable css rules order in build */
|
|
3
|
-
.pc-addons-resources-popup {
|
|
3
|
+
.pc-addons-nh-resources-popup {
|
|
4
4
|
background: var(--g-color-base-float);
|
|
5
5
|
box-shadow: 0 4px 24px var(--g-color-base-generic), 0 2px 8px var(--g-color-base-generic);
|
|
6
6
|
max-height: calc(100vh - 64px - 64px);
|
|
@@ -11,26 +11,26 @@ unpredictable css rules order in build */
|
|
|
11
11
|
scrollbar-width: none;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.pc-addons-resources-popup::-webkit-scrollbar {
|
|
14
|
+
.pc-addons-nh-resources-popup::-webkit-scrollbar {
|
|
15
15
|
display: none;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.pc-addons-resources-popup__container {
|
|
18
|
+
.pc-addons-nh-resources-popup__container {
|
|
19
19
|
padding: 0;
|
|
20
20
|
display: flex;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.pc-addons-resources-popup__wrap {
|
|
23
|
+
.pc-addons-nh-resources-popup__wrap {
|
|
24
24
|
display: flex;
|
|
25
25
|
flex-direction: column;
|
|
26
26
|
flex: 1;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.pc-addons-resources-popup__wrap > div + div {
|
|
29
|
+
.pc-addons-nh-resources-popup__wrap > div + div {
|
|
30
30
|
border-top: 1px solid #e4ebf0;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.pc-addons-resources-popup__group {
|
|
33
|
+
.pc-addons-nh-resources-popup__group {
|
|
34
34
|
padding: 32px 20px;
|
|
35
35
|
flex: 1;
|
|
36
36
|
display: flex;
|
|
@@ -38,21 +38,21 @@ unpredictable css rules order in build */
|
|
|
38
38
|
gap: 24px;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.pc-addons-resources-popup__title {
|
|
41
|
+
.pc-addons-nh-resources-popup__title {
|
|
42
42
|
font-size: var(--g-text-header-1-font-size, var(--pc-text-header-1-font-size));
|
|
43
43
|
line-height: var(--g-text-header-1-line-height, var(--pc-text-header-1-line-height));
|
|
44
44
|
font-weight: 600;
|
|
45
45
|
margin-bottom: 8px;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
.pc-addons-resources-popup__subtitle {
|
|
48
|
+
.pc-addons-nh-resources-popup__subtitle {
|
|
49
49
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
50
50
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
51
51
|
font-weight: 500;
|
|
52
52
|
color: #9fb1bd;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.pc-addons-resources-popup__events {
|
|
55
|
+
.pc-addons-nh-resources-popup__events {
|
|
56
56
|
width: 300px;
|
|
57
57
|
flex-shrink: 0;
|
|
58
58
|
padding: 32px;
|
|
@@ -62,14 +62,14 @@ unpredictable css rules order in build */
|
|
|
62
62
|
gap: 8px;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
.pc-addons-resources-popup__events-title {
|
|
65
|
+
.pc-addons-nh-resources-popup__events-title {
|
|
66
66
|
font-size: var(--g-text-body-3-font-size, var(--pc-text-body-3-font-size));
|
|
67
67
|
line-height: var(--g-text-body-3-line-height, var(--pc-text-body-3-line-height));
|
|
68
68
|
font-weight: 500;
|
|
69
69
|
color: #9fb1bd;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.pc-addons-resources-popup__banner {
|
|
72
|
+
.pc-addons-nh-resources-popup__banner {
|
|
73
73
|
background-color: #f2f6f9;
|
|
74
74
|
border-radius: 16px;
|
|
75
75
|
display: flex;
|
|
@@ -77,55 +77,55 @@ unpredictable css rules order in build */
|
|
|
77
77
|
gap: 24px;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.pc-addons-resources-popup__banner-container-image {
|
|
80
|
+
.pc-addons-nh-resources-popup__banner-container-image {
|
|
81
81
|
width: 263px;
|
|
82
82
|
height: 148px;
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
.pc-addons-resources-popup__banner-image {
|
|
85
|
+
.pc-addons-nh-resources-popup__banner-image {
|
|
86
86
|
display: block;
|
|
87
87
|
width: 100%;
|
|
88
88
|
height: 100%;
|
|
89
89
|
object-fit: cover;
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
.pc-addons-resources-popup__banner-container-icon {
|
|
92
|
+
.pc-addons-nh-resources-popup__banner-container-icon {
|
|
93
93
|
height: 20px;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.pc-addons-resources-popup__banner-icon {
|
|
96
|
+
.pc-addons-nh-resources-popup__banner-icon {
|
|
97
97
|
display: block;
|
|
98
98
|
height: 100%;
|
|
99
99
|
object-fit: contain;
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
.pc-addons-resources-popup__banner-wrap {
|
|
102
|
+
.pc-addons-nh-resources-popup__banner-wrap {
|
|
103
103
|
flex: 1;
|
|
104
104
|
display: flex;
|
|
105
105
|
flex-direction: column;
|
|
106
106
|
justify-content: space-between;
|
|
107
107
|
}
|
|
108
108
|
|
|
109
|
-
.pc-addons-resources-popup__banner-content {
|
|
109
|
+
.pc-addons-nh-resources-popup__banner-content {
|
|
110
110
|
display: flex;
|
|
111
111
|
flex-direction: column;
|
|
112
112
|
gap: 8px;
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
.pc-addons-resources-popup__banner-title {
|
|
115
|
+
.pc-addons-nh-resources-popup__banner-title {
|
|
116
116
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
117
117
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
118
118
|
font-weight: 500;
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
-
.pc-addons-resources-popup__banner-description {
|
|
121
|
+
.pc-addons-nh-resources-popup__banner-description {
|
|
122
122
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
123
123
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
124
124
|
font-weight: 500;
|
|
125
125
|
color: #9fb1bd;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
.pc-addons-resources-popup__event-card {
|
|
128
|
+
.pc-addons-nh-resources-popup__event-card {
|
|
129
129
|
position: relative;
|
|
130
130
|
display: flex;
|
|
131
131
|
flex-direction: column;
|
|
@@ -133,7 +133,7 @@ unpredictable css rules order in build */
|
|
|
133
133
|
border: 1px solid #e4ebf0;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
.pc-addons-resources-popup__event-card-tag {
|
|
136
|
+
.pc-addons-nh-resources-popup__event-card-tag {
|
|
137
137
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
138
138
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
139
139
|
position: absolute;
|
|
@@ -144,25 +144,25 @@ unpredictable css rules order in build */
|
|
|
144
144
|
background-color: #ffffff;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
.pc-addons-resources-popup__event-card-container-image {
|
|
147
|
+
.pc-addons-nh-resources-popup__event-card-container-image {
|
|
148
148
|
width: 100%;
|
|
149
149
|
height: 150px;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
.pc-addons-resources-popup__event-card-image {
|
|
152
|
+
.pc-addons-nh-resources-popup__event-card-image {
|
|
153
153
|
display: block;
|
|
154
154
|
width: 100%;
|
|
155
155
|
height: 100%;
|
|
156
156
|
object-fit: cover;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
.pc-addons-resources-popup__event-card-wrap {
|
|
159
|
+
.pc-addons-nh-resources-popup__event-card-wrap {
|
|
160
160
|
display: flex;
|
|
161
161
|
flex-direction: column;
|
|
162
162
|
gap: 4px;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
.pc-addons-resources-popup__event-card-content {
|
|
165
|
+
.pc-addons-nh-resources-popup__event-card-content {
|
|
166
166
|
padding: 16px;
|
|
167
167
|
display: flex;
|
|
168
168
|
flex-direction: column;
|
|
@@ -170,20 +170,20 @@ unpredictable css rules order in build */
|
|
|
170
170
|
gap: 16px;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
.pc-addons-resources-popup__event-card-title {
|
|
173
|
+
.pc-addons-nh-resources-popup__event-card-title {
|
|
174
174
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
175
175
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
176
176
|
font-weight: 500;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
.pc-addons-resources-popup__event-card-date {
|
|
179
|
+
.pc-addons-nh-resources-popup__event-card-date {
|
|
180
180
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
181
181
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
182
182
|
font-weight: 500;
|
|
183
183
|
color: #9fb1bd;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
.pc-addons-resources-popup__event-card-location {
|
|
186
|
+
.pc-addons-nh-resources-popup__event-card-location {
|
|
187
187
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
188
188
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
189
189
|
font-weight: 500;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.NHResourcesPopup = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const gravity_ui_page_constructor_1 = require("@doyourjob/gravity-ui-page-constructor");
|
|
7
7
|
const cn_1 = require("../../../../utils/cn");
|
|
8
|
-
const
|
|
9
|
-
const b = (0, cn_1.block)('resources-popup');
|
|
8
|
+
const NHPopupItem_1 = require("../NHPopupItem/NHPopupItem");
|
|
9
|
+
const b = (0, cn_1.block)('nh-resources-popup');
|
|
10
10
|
const EventCard = ({ tag, image, date, title, location }) => {
|
|
11
11
|
return (react_1.default.createElement("div", { className: b('event-card') },
|
|
12
12
|
react_1.default.createElement("div", { className: b('event-card-tag') }, tag),
|
|
@@ -17,7 +17,7 @@ const EventCard = ({ tag, image, date, title, location }) => {
|
|
|
17
17
|
react_1.default.createElement("div", { className: b('event-card-title') }, title)),
|
|
18
18
|
react_1.default.createElement("div", { className: b('event-card-location') }, location))));
|
|
19
19
|
};
|
|
20
|
-
const
|
|
20
|
+
const NHResourcesPopup = ({ groups, banner, events }) => (react_1.default.createElement(gravity_ui_page_constructor_1.Grid, { className: b(), containerClass: b('container') },
|
|
21
21
|
react_1.default.createElement("div", { className: b('wrap') },
|
|
22
22
|
groups.map((group) => (react_1.default.createElement("div", { className: b('group'), key: group.title },
|
|
23
23
|
react_1.default.createElement(gravity_ui_page_constructor_1.Row, null,
|
|
@@ -25,7 +25,7 @@ const ResourcesPopup = ({ groups, banner, events }) => (react_1.default.createEl
|
|
|
25
25
|
react_1.default.createElement("a", Object.assign({ href: group.url, className: b('title') }, (0, gravity_ui_page_constructor_1.getLinkProps)(group.url)), group.title),
|
|
26
26
|
react_1.default.createElement("div", { className: b('subtitle') }, group.subtitle)),
|
|
27
27
|
react_1.default.createElement(gravity_ui_page_constructor_1.Col, { sizes: { [gravity_ui_page_constructor_1.GridColumnSize.Md]: 4, [gravity_ui_page_constructor_1.GridColumnSize.All]: 12 } })),
|
|
28
|
-
react_1.default.createElement(gravity_ui_page_constructor_1.Row, null, group.items.map((item) => (react_1.default.createElement(
|
|
28
|
+
react_1.default.createElement(gravity_ui_page_constructor_1.Row, null, group.items.map((item) => (react_1.default.createElement(NHPopupItem_1.NHPopupItem, Object.assign({ key: item.title }, item)))))))),
|
|
29
29
|
banner && (react_1.default.createElement("div", { className: b('group') },
|
|
30
30
|
react_1.default.createElement(gravity_ui_page_constructor_1.Row, null,
|
|
31
31
|
react_1.default.createElement(gravity_ui_page_constructor_1.Col, null,
|
|
@@ -39,4 +39,4 @@ const ResourcesPopup = ({ groups, banner, events }) => (react_1.default.createEl
|
|
|
39
39
|
events && (react_1.default.createElement("div", { className: b('events') },
|
|
40
40
|
react_1.default.createElement("div", { className: b('events-title') }, events.title),
|
|
41
41
|
events.items.map((event) => (react_1.default.createElement(EventCard, Object.assign({ key: event.title }, event))))))));
|
|
42
|
-
exports.
|
|
42
|
+
exports.NHResourcesPopup = NHResourcesPopup;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* use this for style redefinitions to awoid problems with
|
|
2
2
|
unpredictable css rules order in build */
|
|
3
|
-
.pc-addons-solutions-popup {
|
|
3
|
+
.pc-addons-nh-solutions-popup {
|
|
4
4
|
background: var(--g-color-base-float);
|
|
5
5
|
box-shadow: 0 4px 24px var(--g-color-base-generic), 0 2px 8px var(--g-color-base-generic);
|
|
6
6
|
max-height: calc(100vh - 64px - 64px);
|
|
@@ -11,37 +11,37 @@ unpredictable css rules order in build */
|
|
|
11
11
|
scrollbar-width: none;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.pc-addons-solutions-popup::-webkit-scrollbar {
|
|
14
|
+
.pc-addons-nh-solutions-popup::-webkit-scrollbar {
|
|
15
15
|
display: none;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.pc-addons-solutions-popup__container {
|
|
18
|
+
.pc-addons-nh-solutions-popup__container {
|
|
19
19
|
padding: 0;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.pc-addons-solutions-popup > div + div {
|
|
22
|
+
.pc-addons-nh-solutions-popup > div + div {
|
|
23
23
|
border-top: 1px solid #e4ebf0;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
.pc-addons-solutions-popup__wrap {
|
|
26
|
+
.pc-addons-nh-solutions-popup__wrap {
|
|
27
27
|
padding: 24px;
|
|
28
28
|
gap: 24px;
|
|
29
29
|
display: flex;
|
|
30
30
|
flex-direction: column;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.pc-addons-solutions-popup__head {
|
|
33
|
+
.pc-addons-nh-solutions-popup__head {
|
|
34
34
|
display: flex;
|
|
35
35
|
gap: 24px;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
.pc-addons-solutions-popup__title {
|
|
38
|
+
.pc-addons-nh-solutions-popup__title {
|
|
39
39
|
font-size: var(--g-text-header-1-font-size, var(--pc-text-header-1-font-size));
|
|
40
40
|
line-height: var(--g-text-header-1-line-height, var(--pc-text-header-1-line-height));
|
|
41
41
|
font-weight: 600;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.pc-addons-solutions-popup__subtitle {
|
|
44
|
+
.pc-addons-nh-solutions-popup__subtitle {
|
|
45
45
|
font-size: var(--g-text-header-1-font-size, var(--pc-text-header-1-font-size));
|
|
46
46
|
line-height: var(--g-text-header-1-line-height, var(--pc-text-header-1-line-height));
|
|
47
47
|
font-weight: 700;
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.NHSolutionsPopup = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const gravity_ui_page_constructor_1 = require("@doyourjob/gravity-ui-page-constructor");
|
|
7
7
|
const cn_1 = require("../../../../utils/cn");
|
|
8
|
-
const
|
|
9
|
-
const b = (0, cn_1.block)('solutions-popup');
|
|
10
|
-
const
|
|
8
|
+
const NHPopupItem_1 = require("../NHPopupItem/NHPopupItem");
|
|
9
|
+
const b = (0, cn_1.block)('nh-solutions-popup');
|
|
10
|
+
const NHSolutionsPopup = ({ sections }) => (react_1.default.createElement(gravity_ui_page_constructor_1.Grid, { className: b(), containerClass: b('container') }, sections.map((section) => (react_1.default.createElement(gravity_ui_page_constructor_1.Row, { key: section.title },
|
|
11
11
|
react_1.default.createElement(gravity_ui_page_constructor_1.Col, { className: b('wrap') },
|
|
12
12
|
react_1.default.createElement(gravity_ui_page_constructor_1.Row, null,
|
|
13
13
|
react_1.default.createElement(gravity_ui_page_constructor_1.Col, { className: b('head') },
|
|
14
14
|
react_1.default.createElement("div", { className: b('title') }, section.title),
|
|
15
15
|
react_1.default.createElement("div", { className: b('subtitle') }, section.subtitle))),
|
|
16
|
-
react_1.default.createElement(gravity_ui_page_constructor_1.Row, null, section.items.map((item) => (react_1.default.createElement(
|
|
16
|
+
react_1.default.createElement(gravity_ui_page_constructor_1.Row, null, section.items.map((item) => (react_1.default.createElement(NHPopupItem_1.NHPopupItem, Object.assign({ key: item.title }, item, { hover: true, sizes: {
|
|
17
17
|
[gravity_ui_page_constructor_1.GridColumnSize.Md]: 4,
|
|
18
18
|
[gravity_ui_page_constructor_1.GridColumnSize.All]: 12,
|
|
19
19
|
} })))))))))));
|
|
20
|
-
exports.
|
|
20
|
+
exports.NHSolutionsPopup = NHSolutionsPopup;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* use this for style redefinitions to awoid problems with
|
|
2
2
|
unpredictable css rules order in build */
|
|
3
|
-
.pc-addons-navigation-tag {
|
|
3
|
+
.pc-addons-nh-navigation-tag {
|
|
4
4
|
font-size: var(--g-text-body-1-font-size, var(--pc-text-body-1-font-size));
|
|
5
5
|
line-height: var(--g-text-body-1-line-height, var(--pc-text-body-1-line-height));
|
|
6
6
|
display: inline-block;
|
|
@@ -12,7 +12,7 @@ unpredictable css rules order in build */
|
|
|
12
12
|
text-transform: capitalize;
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
.pc-addons-navigation-tag_size_s {
|
|
15
|
+
.pc-addons-nh-navigation-tag_size_s {
|
|
16
16
|
font-size: var(--g-text-caption-2-font-size, var(--pc-text-caption-2-font-size));
|
|
17
17
|
line-height: var(--g-text-caption-2-line-height, var(--pc-text-caption-2-line-height));
|
|
18
18
|
padding: 0 4px;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ClassNameProps } from '@doyourjob/gravity-ui-page-constructor';
|
|
3
|
+
import { NHNavigationTag as NHNavigationTagModel } from '../../models';
|
|
4
|
+
export interface NHNavigationTagProps extends NHNavigationTagModel, ClassNameProps {
|
|
5
|
+
}
|
|
6
|
+
export declare const NHNavigationTag: ({ text, color, textColor, className, size, }: NHNavigationTagProps) => React.JSX.Element;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.NHNavigationTag = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const react_1 = tslib_1.__importDefault(require("react"));
|
|
6
6
|
const cn_1 = require("../../../../utils/cn");
|
|
7
7
|
const models_1 = require("../../models");
|
|
8
|
-
const b = (0, cn_1.block)('navigation-tag');
|
|
8
|
+
const b = (0, cn_1.block)('nh-navigation-tag');
|
|
9
9
|
const getColor = (color) => {
|
|
10
10
|
switch (color) {
|
|
11
|
-
case models_1.
|
|
11
|
+
case models_1.NHNavigationTagColor.Yellow:
|
|
12
12
|
return 'var(--pc-addons-navigation-color-tag-yellow)';
|
|
13
|
-
case models_1.
|
|
13
|
+
case models_1.NHNavigationTagColor.Blue:
|
|
14
14
|
return 'var(--pc-addons-navigation-color-tag-blue)';
|
|
15
|
-
case models_1.
|
|
15
|
+
case models_1.NHNavigationTagColor.Green:
|
|
16
16
|
return 'var(--pc-addons-navigation-color-tag-green)';
|
|
17
17
|
default:
|
|
18
18
|
return color;
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
const
|
|
22
|
-
exports.
|
|
21
|
+
const NHNavigationTag = ({ text, color = models_1.NHNavigationTagColor.Yellow, textColor, className, size = 'm', }) => (react_1.default.createElement("div", { className: b({ size }, className), style: { backgroundColor: getColor(color), color: textColor } }, text));
|
|
22
|
+
exports.NHNavigationTag = NHNavigationTag;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* use this for style redefinitions to awoid problems with
|
|
2
2
|
unpredictable css rules order in build */
|
|
3
|
-
.pc-addons-why-popup {
|
|
3
|
+
.pc-addons-nh-why-popup {
|
|
4
4
|
background: var(--g-color-base-float);
|
|
5
5
|
box-shadow: 0 4px 24px var(--g-color-base-generic), 0 2px 8px var(--g-color-base-generic);
|
|
6
6
|
max-height: calc(100vh - 64px - 64px);
|
|
@@ -11,27 +11,27 @@ unpredictable css rules order in build */
|
|
|
11
11
|
scrollbar-width: none;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.pc-addons-why-popup::-webkit-scrollbar {
|
|
14
|
+
.pc-addons-nh-why-popup::-webkit-scrollbar {
|
|
15
15
|
display: none;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.pc-addons-why-popup__container {
|
|
18
|
+
.pc-addons-nh-why-popup__container {
|
|
19
19
|
padding: 0;
|
|
20
20
|
display: flex;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.pc-addons-why-popup__wrap {
|
|
23
|
+
.pc-addons-nh-why-popup__wrap {
|
|
24
24
|
padding: 20px;
|
|
25
25
|
display: flex;
|
|
26
26
|
gap: 16px;
|
|
27
27
|
flex: 1;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.pc-addons-why-popup__group {
|
|
30
|
+
.pc-addons-nh-why-popup__group {
|
|
31
31
|
flex: 1;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
.pc-addons-why-popup__title {
|
|
34
|
+
.pc-addons-nh-why-popup__title {
|
|
35
35
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
36
36
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
37
37
|
padding: 12px;
|
|
@@ -39,7 +39,7 @@ unpredictable css rules order in build */
|
|
|
39
39
|
color: #9fb1bd;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.pc-addons-why-popup__card {
|
|
42
|
+
.pc-addons-nh-why-popup__card {
|
|
43
43
|
font-weight: 500;
|
|
44
44
|
width: 300px;
|
|
45
45
|
flex-shrink: 0;
|
|
@@ -49,7 +49,7 @@ unpredictable css rules order in build */
|
|
|
49
49
|
background-color: #f2f6f9;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.pc-addons-why-popup__card-wrap {
|
|
52
|
+
.pc-addons-nh-why-popup__card-wrap {
|
|
53
53
|
display: flex;
|
|
54
54
|
flex-direction: column;
|
|
55
55
|
justify-content: center;
|
|
@@ -57,23 +57,23 @@ unpredictable css rules order in build */
|
|
|
57
57
|
gap: 20px;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
.pc-addons-why-popup__card-title {
|
|
60
|
+
.pc-addons-nh-why-popup__card-title {
|
|
61
61
|
font-size: var(--g-text-header-1-font-size, var(--pc-text-header-1-font-size));
|
|
62
62
|
line-height: var(--g-text-header-1-line-height, var(--pc-text-header-1-line-height));
|
|
63
63
|
color: #9fb1bd;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.pc-addons-why-popup__card-description {
|
|
66
|
+
.pc-addons-nh-why-popup__card-description {
|
|
67
67
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
68
68
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
69
69
|
color: #9fb1bd;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
.pc-addons-why-popup__card-container-image {
|
|
72
|
+
.pc-addons-nh-why-popup__card-container-image {
|
|
73
73
|
width: 100%;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.pc-addons-why-popup__card-image {
|
|
76
|
+
.pc-addons-nh-why-popup__card-image {
|
|
77
77
|
width: 100%;
|
|
78
78
|
aspect-ratio: 300/244;
|
|
79
79
|
background-color: #99a5ae;
|