@doyourjob/gravity-ui-page-constructor-addons 2.1.25-dev.0 → 2.1.25-dev.2
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.css +7 -0
- package/build/cjs/components/NewHeader/NewHeader.d.ts +2 -2
- package/build/cjs/components/NewHeader/NewHeader.js +11 -10
- 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} +18 -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.css +16 -0
- package/build/cjs/components/NewHeader/components/NHLoginButton/NHLoginButton.d.ts +10 -0
- package/build/cjs/components/NewHeader/components/{LoginButton/LoginButton.js → NHLoginButton/NHLoginButton.js} +13 -8
- package/build/{esm/components/NewHeader/components/LoginPopup/LoginPopup.css → cjs/components/NewHeader/components/NHLoginPopup/NHLoginPopup.css} +12 -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} +4 -4
- 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/{esm/components/NewHeader/components/NavigationItem/NavigationItem.css → cjs/components/NewHeader/components/NHNavigationItem/NHNavigationItem.css} +12 -30
- 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} +10 -6
- 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} +20 -24
- 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} +29 -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} +11 -11
- package/build/cjs/components/NewHeader/components/{ResourcesPopup/ResourcesPopup.css → NHResourcesPopup/NHResourcesPopup.css} +47 -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} +8 -8
- 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 +91 -88
- package/build/cjs/components/NewHeader/models.js +18 -18
- package/build/esm/components/NewHeader/NewHeader.css +7 -0
- package/build/esm/components/NewHeader/NewHeader.d.ts +2 -2
- package/build/esm/components/NewHeader/NewHeader.js +11 -10
- 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} +18 -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.css +16 -0
- package/build/esm/components/NewHeader/components/NHLoginButton/NHLoginButton.d.ts +11 -0
- package/build/esm/components/NewHeader/components/{LoginButton/LoginButton.js → NHLoginButton/NHLoginButton.js} +12 -6
- package/build/{cjs/components/NewHeader/components/LoginPopup/LoginPopup.css → esm/components/NewHeader/components/NHLoginPopup/NHLoginPopup.css} +12 -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} +4 -4
- 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/{cjs/components/NewHeader/components/NavigationItem/NavigationItem.css → esm/components/NewHeader/components/NHNavigationItem/NHNavigationItem.css} +12 -30
- 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} +10 -6
- 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} +20 -24
- 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} +29 -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} +11 -11
- package/build/esm/components/NewHeader/components/{ResourcesPopup/ResourcesPopup.css → NHResourcesPopup/NHResourcesPopup.css} +47 -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} +7 -7
- 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 +91 -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,16 @@ 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
|
+
color: inherit;
|
|
51
|
+
text-decoration: none;
|
|
50
52
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
51
53
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
52
54
|
font-weight: 500;
|
|
@@ -57,7 +59,7 @@ unpredictable css rules order in build */
|
|
|
57
59
|
gap: 24px;
|
|
58
60
|
}
|
|
59
61
|
|
|
60
|
-
.pc-addons-products-popup__powered-card-wrap {
|
|
62
|
+
.pc-addons-nh-products-popup__powered-card-wrap {
|
|
61
63
|
display: flex;
|
|
62
64
|
flex-direction: column;
|
|
63
65
|
justify-content: center;
|
|
@@ -65,21 +67,27 @@ unpredictable css rules order in build */
|
|
|
65
67
|
gap: 20px;
|
|
66
68
|
}
|
|
67
69
|
|
|
68
|
-
.pc-addons-products-popup__powered-card-description {
|
|
70
|
+
.pc-addons-nh-products-popup__powered-card-description {
|
|
69
71
|
color: #9fb1bd;
|
|
70
72
|
}
|
|
71
73
|
|
|
72
|
-
.pc-addons-products-popup__powered-card-container-image {
|
|
74
|
+
.pc-addons-nh-products-popup__powered-card-container-image {
|
|
73
75
|
flex: 1;
|
|
74
76
|
max-width: 140px;
|
|
75
77
|
}
|
|
76
78
|
|
|
77
|
-
.pc-addons-products-popup__powered-card-image {
|
|
79
|
+
.pc-addons-nh-products-popup__powered-card-image {
|
|
78
80
|
width: 100%;
|
|
79
81
|
aspect-ratio: 1;
|
|
80
82
|
}
|
|
81
83
|
|
|
82
|
-
.pc-addons-products-
|
|
84
|
+
.pc-addons-nh-products-popup__powered-card:hover {
|
|
85
|
+
background-color: var(--g-color-base-simple-hover);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.pc-addons-nh-products-popup__run-card {
|
|
89
|
+
color: inherit;
|
|
90
|
+
text-decoration: none;
|
|
83
91
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
84
92
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
85
93
|
font-weight: 500;
|
|
@@ -92,22 +100,26 @@ unpredictable css rules order in build */
|
|
|
92
100
|
height: 100%;
|
|
93
101
|
}
|
|
94
102
|
|
|
95
|
-
.pc-addons-products-popup__run-card_border {
|
|
103
|
+
.pc-addons-nh-products-popup__run-card_border {
|
|
96
104
|
border: 1px solid #e4ebf0;
|
|
97
105
|
background-color: transparent;
|
|
98
106
|
}
|
|
99
107
|
|
|
100
|
-
.pc-addons-products-popup__run-card-wrap {
|
|
108
|
+
.pc-addons-nh-products-popup__run-card-wrap {
|
|
101
109
|
display: flex;
|
|
102
110
|
flex-direction: column;
|
|
103
111
|
flex: 1;
|
|
104
112
|
gap: 4px;
|
|
105
113
|
}
|
|
106
114
|
|
|
107
|
-
.pc-addons-products-popup__run-card-description {
|
|
115
|
+
.pc-addons-nh-products-popup__run-card-description {
|
|
108
116
|
color: #9fb1bd;
|
|
109
117
|
}
|
|
110
118
|
|
|
111
|
-
.pc-addons-products-popup__run-card-image {
|
|
119
|
+
.pc-addons-nh-products-popup__run-card-image {
|
|
112
120
|
height: 40px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.pc-addons-nh-products-popup__run-card:hover {
|
|
124
|
+
background-color: var(--g-color-base-simple-hover);
|
|
113
125
|
}
|
|
@@ -1,27 +1,27 @@
|
|
|
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');
|
|
10
|
-
const PoweredCard = ({ title, description, image }) => {
|
|
11
|
-
return (react_1.default.createElement("
|
|
8
|
+
const NHPopupItem_1 = require("../NHPopupItem/NHPopupItem");
|
|
9
|
+
const b = (0, cn_1.block)('nh-products-popup');
|
|
10
|
+
const PoweredCard = ({ title, description, image, url }) => {
|
|
11
|
+
return (react_1.default.createElement("a", Object.assign({ href: url, className: b('powered-card') }, (0, gravity_ui_page_constructor_1.getLinkProps)(url)),
|
|
12
12
|
react_1.default.createElement("div", { className: b('powered-card-wrap') },
|
|
13
13
|
react_1.default.createElement("div", { className: b('powered-card-title') }, title),
|
|
14
14
|
react_1.default.createElement("div", { className: b('powered-card-description') }, description)),
|
|
15
15
|
react_1.default.createElement(gravity_ui_page_constructor_1.Image, { className: b('powered-card-image'), containerClassName: b('powered-card-container-image'), src: image })));
|
|
16
16
|
};
|
|
17
|
-
const RunCard = ({ title, description, image, border }) => {
|
|
18
|
-
return (react_1.default.createElement("
|
|
17
|
+
const RunCard = ({ title, description, image, border, url }) => {
|
|
18
|
+
return (react_1.default.createElement("a", Object.assign({ href: url, className: b('run-card', { border: border }) }, (0, gravity_ui_page_constructor_1.getLinkProps)(url)),
|
|
19
19
|
react_1.default.createElement(gravity_ui_page_constructor_1.Image, { className: b('run-card-image'), src: image }),
|
|
20
20
|
react_1.default.createElement("div", { className: b('run-card-wrap') },
|
|
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,28 @@ 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
|
+
color: inherit;
|
|
45
|
+
text-decoration: none;
|
|
46
|
+
display: flex;
|
|
44
47
|
font-weight: 600;
|
|
45
48
|
margin-bottom: 8px;
|
|
46
49
|
}
|
|
47
50
|
|
|
48
|
-
.pc-addons-resources-
|
|
51
|
+
.pc-addons-nh-resources-popup__title:hover {
|
|
52
|
+
color: var(--g-color-text-link-hover);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.pc-addons-nh-resources-popup__subtitle {
|
|
49
56
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
50
57
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
51
58
|
font-weight: 500;
|
|
52
59
|
color: #9fb1bd;
|
|
53
60
|
}
|
|
54
61
|
|
|
55
|
-
.pc-addons-resources-popup__events {
|
|
62
|
+
.pc-addons-nh-resources-popup__events {
|
|
56
63
|
width: 300px;
|
|
57
64
|
flex-shrink: 0;
|
|
58
65
|
padding: 32px;
|
|
@@ -62,14 +69,16 @@ unpredictable css rules order in build */
|
|
|
62
69
|
gap: 8px;
|
|
63
70
|
}
|
|
64
71
|
|
|
65
|
-
.pc-addons-resources-popup__events-title {
|
|
72
|
+
.pc-addons-nh-resources-popup__events-title {
|
|
66
73
|
font-size: var(--g-text-body-3-font-size, var(--pc-text-body-3-font-size));
|
|
67
74
|
line-height: var(--g-text-body-3-line-height, var(--pc-text-body-3-line-height));
|
|
68
75
|
font-weight: 500;
|
|
69
76
|
color: #9fb1bd;
|
|
70
77
|
}
|
|
71
78
|
|
|
72
|
-
.pc-addons-resources-popup__banner {
|
|
79
|
+
.pc-addons-nh-resources-popup__banner {
|
|
80
|
+
color: inherit;
|
|
81
|
+
text-decoration: none;
|
|
73
82
|
background-color: #f2f6f9;
|
|
74
83
|
border-radius: 16px;
|
|
75
84
|
display: flex;
|
|
@@ -77,55 +86,61 @@ unpredictable css rules order in build */
|
|
|
77
86
|
gap: 24px;
|
|
78
87
|
}
|
|
79
88
|
|
|
80
|
-
.pc-addons-resources-popup__banner-container-image {
|
|
89
|
+
.pc-addons-nh-resources-popup__banner-container-image {
|
|
81
90
|
width: 263px;
|
|
82
91
|
height: 148px;
|
|
83
92
|
}
|
|
84
93
|
|
|
85
|
-
.pc-addons-resources-popup__banner-image {
|
|
94
|
+
.pc-addons-nh-resources-popup__banner-image {
|
|
86
95
|
display: block;
|
|
87
96
|
width: 100%;
|
|
88
97
|
height: 100%;
|
|
89
98
|
object-fit: cover;
|
|
90
99
|
}
|
|
91
100
|
|
|
92
|
-
.pc-addons-resources-popup__banner-container-icon {
|
|
101
|
+
.pc-addons-nh-resources-popup__banner-container-icon {
|
|
93
102
|
height: 20px;
|
|
94
103
|
}
|
|
95
104
|
|
|
96
|
-
.pc-addons-resources-popup__banner-icon {
|
|
105
|
+
.pc-addons-nh-resources-popup__banner-icon {
|
|
97
106
|
display: block;
|
|
98
107
|
height: 100%;
|
|
99
108
|
object-fit: contain;
|
|
100
109
|
}
|
|
101
110
|
|
|
102
|
-
.pc-addons-resources-popup__banner-wrap {
|
|
111
|
+
.pc-addons-nh-resources-popup__banner-wrap {
|
|
103
112
|
flex: 1;
|
|
104
113
|
display: flex;
|
|
105
114
|
flex-direction: column;
|
|
106
115
|
justify-content: space-between;
|
|
107
116
|
}
|
|
108
117
|
|
|
109
|
-
.pc-addons-resources-popup__banner-content {
|
|
118
|
+
.pc-addons-nh-resources-popup__banner-content {
|
|
110
119
|
display: flex;
|
|
111
120
|
flex-direction: column;
|
|
112
121
|
gap: 8px;
|
|
113
122
|
}
|
|
114
123
|
|
|
115
|
-
.pc-addons-resources-popup__banner-title {
|
|
124
|
+
.pc-addons-nh-resources-popup__banner-title {
|
|
116
125
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
117
126
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
118
127
|
font-weight: 500;
|
|
119
128
|
}
|
|
120
129
|
|
|
121
|
-
.pc-addons-resources-popup__banner-description {
|
|
130
|
+
.pc-addons-nh-resources-popup__banner-description {
|
|
122
131
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
123
132
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
124
133
|
font-weight: 500;
|
|
125
134
|
color: #9fb1bd;
|
|
126
135
|
}
|
|
127
136
|
|
|
128
|
-
.pc-addons-resources-
|
|
137
|
+
.pc-addons-nh-resources-popup__banner:hover {
|
|
138
|
+
background-color: var(--g-color-base-simple-hover);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.pc-addons-nh-resources-popup__event-card {
|
|
142
|
+
color: inherit;
|
|
143
|
+
text-decoration: none;
|
|
129
144
|
position: relative;
|
|
130
145
|
display: flex;
|
|
131
146
|
flex-direction: column;
|
|
@@ -133,7 +148,7 @@ unpredictable css rules order in build */
|
|
|
133
148
|
border: 1px solid #e4ebf0;
|
|
134
149
|
}
|
|
135
150
|
|
|
136
|
-
.pc-addons-resources-popup__event-card-tag {
|
|
151
|
+
.pc-addons-nh-resources-popup__event-card-tag {
|
|
137
152
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
138
153
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
139
154
|
position: absolute;
|
|
@@ -144,25 +159,25 @@ unpredictable css rules order in build */
|
|
|
144
159
|
background-color: #ffffff;
|
|
145
160
|
}
|
|
146
161
|
|
|
147
|
-
.pc-addons-resources-popup__event-card-container-image {
|
|
162
|
+
.pc-addons-nh-resources-popup__event-card-container-image {
|
|
148
163
|
width: 100%;
|
|
149
164
|
height: 150px;
|
|
150
165
|
}
|
|
151
166
|
|
|
152
|
-
.pc-addons-resources-popup__event-card-image {
|
|
167
|
+
.pc-addons-nh-resources-popup__event-card-image {
|
|
153
168
|
display: block;
|
|
154
169
|
width: 100%;
|
|
155
170
|
height: 100%;
|
|
156
171
|
object-fit: cover;
|
|
157
172
|
}
|
|
158
173
|
|
|
159
|
-
.pc-addons-resources-popup__event-card-wrap {
|
|
174
|
+
.pc-addons-nh-resources-popup__event-card-wrap {
|
|
160
175
|
display: flex;
|
|
161
176
|
flex-direction: column;
|
|
162
177
|
gap: 4px;
|
|
163
178
|
}
|
|
164
179
|
|
|
165
|
-
.pc-addons-resources-popup__event-card-content {
|
|
180
|
+
.pc-addons-nh-resources-popup__event-card-content {
|
|
166
181
|
padding: 16px;
|
|
167
182
|
display: flex;
|
|
168
183
|
flex-direction: column;
|
|
@@ -170,22 +185,26 @@ unpredictable css rules order in build */
|
|
|
170
185
|
gap: 16px;
|
|
171
186
|
}
|
|
172
187
|
|
|
173
|
-
.pc-addons-resources-popup__event-card-title {
|
|
188
|
+
.pc-addons-nh-resources-popup__event-card-title {
|
|
174
189
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
175
190
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
176
191
|
font-weight: 500;
|
|
177
192
|
}
|
|
178
193
|
|
|
179
|
-
.pc-addons-resources-popup__event-card-date {
|
|
194
|
+
.pc-addons-nh-resources-popup__event-card-date {
|
|
180
195
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
181
196
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
182
197
|
font-weight: 500;
|
|
183
198
|
color: #9fb1bd;
|
|
184
199
|
}
|
|
185
200
|
|
|
186
|
-
.pc-addons-resources-popup__event-card-location {
|
|
201
|
+
.pc-addons-nh-resources-popup__event-card-location {
|
|
187
202
|
font-size: var(--g-text-body-2-font-size, var(--pc-text-body-2-font-size));
|
|
188
203
|
line-height: var(--g-text-body-2-line-height, var(--pc-text-body-2-line-height));
|
|
189
204
|
font-weight: 500;
|
|
190
205
|
color: #9fb1bd;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.pc-addons-nh-resources-popup__event-card:hover {
|
|
209
|
+
background-color: var(--g-color-base-simple-hover);
|
|
191
210
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
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');
|
|
10
|
-
const EventCard = ({ tag, image, date, title, location }) => {
|
|
11
|
-
return (react_1.default.createElement("
|
|
8
|
+
const NHPopupItem_1 = require("../NHPopupItem/NHPopupItem");
|
|
9
|
+
const b = (0, cn_1.block)('nh-resources-popup');
|
|
10
|
+
const EventCard = ({ url, tag, image, date, title, location }) => {
|
|
11
|
+
return (react_1.default.createElement("a", Object.assign({ href: url, className: b('event-card') }, (0, gravity_ui_page_constructor_1.getLinkProps)(url)),
|
|
12
12
|
react_1.default.createElement("div", { className: b('event-card-tag') }, tag),
|
|
13
13
|
react_1.default.createElement(gravity_ui_page_constructor_1.Image, { className: b('event-card-image'), containerClassName: b('event-card-container-image'), src: image }),
|
|
14
14
|
react_1.default.createElement("div", { className: b('event-card-content') },
|
|
@@ -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, hover: true }, 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;
|