@bonlineza/luxity-lib 2.11.0 → 2.13.0
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/Accordion.js +34 -0
- package/AddInterest.js +332 -165
- package/BrandSelector.js +344 -177
- package/Checkbox.js +34 -0
- package/CheckboxButton.js +34 -0
- package/GenderSelector.js +34 -0
- package/GraphQLDropdownSelector.js +344 -177
- package/GraphQLMultiSelector.js +50 -69
- package/IconHeader.js +34 -0
- package/InterestCatSelector.js +34 -0
- package/InterestItem.js +34 -0
- package/Interests.js +344 -177
- package/InvertedTextButton.js +34 -0
- package/LuxityGraphQLDropdownSelector.js +344 -177
- package/LuxityGraphQLMultiselector.js +55 -74
- package/LuxityPageReady.js +6 -72
- package/MaterialSelector.js +344 -177
- package/ModelSelector.js +344 -177
- package/NotificationDropDown.js +43 -65
- package/OutlinePrimaryButton.js +34 -0
- package/PriceRangeSelector.js +34 -0
- package/PrimaryButton.js +34 -0
- package/README.md +2 -1
- package/RadioButtons.js +34 -0
- package/RangeSlider.js +34 -0
- package/RareStepFooter.js +54 -16
- package/RareStepHeader.js +215 -96
- package/SecondaryButton.js +34 -0
- package/ShoeSizeSelector.js +34 -0
- package/StyleSelector.js +59 -78
- package/TextButton.js +34 -0
- package/Tooltip.js +34 -0
- package/build/bundle.js +534 -155
- package/package.json +1 -1
package/NotificationDropDown.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('stylis-rule-sheet'), require('react-dom'), require('prop-types'), require('raf'), require('react-input-autosize'), require('react-transition-group'), require('styled-components'), require('@bonlineza/b-lib/PageReady'), require('react-notify-toast')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['react', 'stylis-rule-sheet', 'react-dom', 'prop-types', 'raf', 'react-input-autosize', 'react-transition-group', 'styled-components', '@bonlineza/b-lib/PageReady', 'react-notify-toast'], factory) :
|
|
4
|
-
(global = global || self, global.NotificationDropDown = factory(global.React, global['stylis-rule-sheet'], global.reactDom, global.PropTypes, global.raf, global['react-input-autosize'], global['react-transition-group'], global.styled, global.PageReady, global['react-notify-toast']));
|
|
5
|
-
}(this, (function (React, stylisRuleSheet, reactDom, PropTypes, raf, AutosizeInput, reactTransitionGroup, styled, PageReady, Notifications) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('stylis-rule-sheet'), require('react-dom'), require('prop-types'), require('raf'), require('react-input-autosize'), require('react-transition-group'), require('@bonlineza/b-lib/EllipsisLoader'), require('styled-components'), require('@bonlineza/b-lib/PageReady'), require('react-notify-toast')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['react', 'stylis-rule-sheet', 'react-dom', 'prop-types', 'raf', 'react-input-autosize', 'react-transition-group', '@bonlineza/b-lib/EllipsisLoader', 'styled-components', '@bonlineza/b-lib/PageReady', 'react-notify-toast'], factory) :
|
|
4
|
+
(global = global || self, global.NotificationDropDown = factory(global.React, global['stylis-rule-sheet'], global.reactDom, global.PropTypes, global.raf, global['react-input-autosize'], global['react-transition-group'], global.EllipsisLoader, global.styled, global.PageReady, global['react-notify-toast']));
|
|
5
|
+
}(this, (function (React, stylisRuleSheet, reactDom, PropTypes, raf, AutosizeInput, reactTransitionGroup, EllipsisLoader, styled, PageReady, Notifications) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var React__default = 'default' in React ? React['default'] : React;
|
|
8
8
|
stylisRuleSheet = stylisRuleSheet && Object.prototype.hasOwnProperty.call(stylisRuleSheet, 'default') ? stylisRuleSheet['default'] : stylisRuleSheet;
|
|
9
9
|
PropTypes = PropTypes && Object.prototype.hasOwnProperty.call(PropTypes, 'default') ? PropTypes['default'] : PropTypes;
|
|
10
10
|
raf = raf && Object.prototype.hasOwnProperty.call(raf, 'default') ? raf['default'] : raf;
|
|
11
11
|
AutosizeInput = AutosizeInput && Object.prototype.hasOwnProperty.call(AutosizeInput, 'default') ? AutosizeInput['default'] : AutosizeInput;
|
|
12
|
+
EllipsisLoader = EllipsisLoader && Object.prototype.hasOwnProperty.call(EllipsisLoader, 'default') ? EllipsisLoader['default'] : EllipsisLoader;
|
|
12
13
|
var styled__default = 'default' in styled ? styled['default'] : styled;
|
|
13
14
|
PageReady = PageReady && Object.prototype.hasOwnProperty.call(PageReady, 'default') ? PageReady['default'] : PageReady;
|
|
14
15
|
var Notifications__default = 'default' in Notifications ? Notifications['default'] : Notifications;
|
|
@@ -6751,59 +6752,8 @@
|
|
|
6751
6752
|
|
|
6752
6753
|
var index$1 = manageState(Select);
|
|
6753
6754
|
|
|
6754
|
-
var
|
|
6755
|
-
|
|
6756
|
-
version: "1.0",
|
|
6757
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6758
|
-
width: props.width || '100%',
|
|
6759
|
-
height: props.height || '100%',
|
|
6760
|
-
viewBox: "0 0 177.000000 300.000000",
|
|
6761
|
-
preserveAspectRatio: "xMidYMid meet"
|
|
6762
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
6763
|
-
transform: "translate(0.000000,300.000000) scale(0.100000,-0.100000)",
|
|
6764
|
-
fill: "#000000",
|
|
6765
|
-
stroke: "none"
|
|
6766
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
6767
|
-
d: "M808 2628 c-139 -205 -377 -557 -530 -781 l-277 -409 48 -71 c363\n-539 905 -1335 915 -1345 9 -9 90 -12 362 -10 l351 3 -350 515 c-192 283 -409\n603 -482 711 l-134 197 386 568 c212 313 450 665 529 782 l145 212 -355 0\n-355 0 -253 -372z"
|
|
6768
|
-
})));
|
|
6769
|
-
});
|
|
6770
|
-
|
|
6771
|
-
var LuxityArrowRight = (function (props) {
|
|
6772
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
6773
|
-
version: "1.0",
|
|
6774
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6775
|
-
width: props.width || '100%',
|
|
6776
|
-
height: props.height || '100%',
|
|
6777
|
-
viewBox: "0 0 177.000000 300.000000",
|
|
6778
|
-
preserveAspectRatio: "xMidYMid meet"
|
|
6779
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
6780
|
-
transform: "translate(0.000000,300.000000) scale(0.100000,-0.100000)",
|
|
6781
|
-
fill: "#000000",
|
|
6782
|
-
stroke: "none"
|
|
6783
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
6784
|
-
d: "M106 2973 c9 -16 226 -336 481 -711 255 -376 465 -687 466 -691 1 -4\n-233 -355 -520 -779 -288 -424 -523 -773 -523 -776 0 -3 159 -6 353 -5 l352 0\n525 776 c289 427 524 780 522 785 -1 5 -219 328 -484 719 l-481 709 -355 0\n-354 0 18 -27z"
|
|
6785
|
-
})));
|
|
6786
|
-
});
|
|
6787
|
-
|
|
6788
|
-
var _templateObject, _templateObject2, _templateObject3;
|
|
6789
|
-
var LoaderContainer = styled__default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n margin: 20px auto;\n"])));
|
|
6790
|
-
var LeftImageContainer = styled__default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-start;\n width: 100%;\n height: 100%;\n object-fit: contain;\n animation: slide-left infinite 3s;\n background-color: white;\n\n @keyframes slide-left {\n 0% {\n transform: translateX(0);\n }\n 40% {\n transform: translateX(50%);\n }\n 100% {\n transform: translateX(150%);\n }\n }\n"])));
|
|
6791
|
-
var RightImageContainer = styled__default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: flex-end;\n width: 100%;\n height: 100%;\n object-fit: contain;\n animation: slide-right infinite 3s;\n\n @keyframes slide-right {\n 0% {\n transform: translateX(0);\n }\n 40% {\n transform: translateX(-50%);\n opacity: 1;\n }\n 100% {\n transform: translateX(-150%);\n opacity: 0;\n }\n }\n"])));
|
|
6792
|
-
|
|
6793
|
-
function LuxityLoader(_ref) {
|
|
6794
|
-
var width = _ref.width,
|
|
6795
|
-
height = _ref.height;
|
|
6796
|
-
return /*#__PURE__*/React__default.createElement(LoaderContainer, null, /*#__PURE__*/React__default.createElement(LeftImageContainer, null, /*#__PURE__*/React__default.createElement(LuxityArrowRight, {
|
|
6797
|
-
width: width,
|
|
6798
|
-
height: height
|
|
6799
|
-
})), /*#__PURE__*/React__default.createElement(RightImageContainer, null, /*#__PURE__*/React__default.createElement(LuxityArrowLeft, {
|
|
6800
|
-
width: width,
|
|
6801
|
-
height: height
|
|
6802
|
-
})));
|
|
6803
|
-
}
|
|
6804
|
-
|
|
6805
|
-
var _templateObject$1;
|
|
6806
|
-
var NotifyContainer = styled__default.div(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n .page-ready {\n display: flex;\n align-items: center;\n }\n\n .loader {\n min-width: 150px;\n }\n\n .notification-dropdown-select-container {\n min-width: 150px;\n\n .notification-dropdown-select__control {\n min-height: auto;\n background-color: ", ";\n border: none;\n border-radius: 0;\n\n &--is-focused {\n border: none;\n border-radius: 0;\n box-shadow: none;\n }\n\n .notification-dropdown-select__value-container {\n & > div {\n padding: 0;\n margin: 0;\n color: ", ";\n }\n & .notification-dropdown-select__single-value,\n & .notification-dropdown-select__placeholder {\n overflow: visible;\n font-weight: lighter;\n }\n }\n }\n }\n\n .notification-dropdown-select__indicators {\n padding: 0 !important;\n .notification-dropdown-select__dropdown-indicator {\n color: ", ";\n }\n }\n\n .notification-dropdown-select__menu {\n border-radius: 0;\n\n & > .notification-dropdown-select__menu-list {\n border-radius: 0;\n\n & > .notification-dropdown-select__option {\n font-weight: bold;\n &:last-child {\n border-bottom: none;\n }\n\n &.notification-dropdown-select__option--is-focused {\n background-color: ", ";\n border-style: hidden;\n }\n &.notification-dropdown-select__option--is-selected {\n color: ", ";\n background-color: ", ";\n border-style: hidden;\n }\n &.notification-dropdown-select__option--is-selected.notification-dropdown-select__option--is-focused {\n border-style: hidden;\n }\n }\n }\n }\n"])), function (props) {
|
|
6755
|
+
var _templateObject;
|
|
6756
|
+
var NotifyContainer = styled__default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n .page-ready {\n display: flex;\n align-items: center;\n }\n\n .loader {\n min-width: 150px;\n }\n\n .notification-dropdown-select-container {\n min-width: 150px;\n\n .notification-dropdown-select__control {\n min-height: auto;\n background-color: ", ";\n border: none;\n border-radius: 0;\n\n &--is-focused {\n border: none;\n border-radius: 0;\n box-shadow: none;\n }\n\n .notification-dropdown-select__value-container {\n & > div {\n padding: 0;\n margin: 0;\n color: ", ";\n }\n & .notification-dropdown-select__single-value,\n & .notification-dropdown-select__placeholder {\n overflow: visible;\n font-weight: lighter;\n }\n }\n }\n }\n\n .notification-dropdown-select__indicators {\n padding: 0 !important;\n .notification-dropdown-select__dropdown-indicator {\n color: ", ";\n }\n }\n\n .notification-dropdown-select__menu {\n border-radius: 0;\n\n & > .notification-dropdown-select__menu-list {\n border-radius: 0;\n\n & > .notification-dropdown-select__option {\n font-weight: bold;\n &:last-child {\n border-bottom: none;\n }\n\n &.notification-dropdown-select__option--is-focused {\n background-color: ", ";\n border-style: hidden;\n }\n &.notification-dropdown-select__option--is-selected {\n color: ", ";\n background-color: ", ";\n border-style: hidden;\n }\n &.notification-dropdown-select__option--is-selected.notification-dropdown-select__option--is-focused {\n border-style: hidden;\n }\n }\n }\n }\n"])), function (props) {
|
|
6807
6757
|
return props.theme.colors.ntrlMin;
|
|
6808
6758
|
}, function (props) {
|
|
6809
6759
|
return props.theme.colors.base;
|
|
@@ -6898,10 +6848,7 @@
|
|
|
6898
6848
|
customErrorMessage: customErrorMessage,
|
|
6899
6849
|
customErrorHandler: customErrorHandler,
|
|
6900
6850
|
renderCustomLoader: function renderCustomLoader() {
|
|
6901
|
-
return /*#__PURE__*/React__default.createElement(
|
|
6902
|
-
height: "40px",
|
|
6903
|
-
width: "95%"
|
|
6904
|
-
});
|
|
6851
|
+
return /*#__PURE__*/React__default.createElement(EllipsisLoader, null);
|
|
6905
6852
|
},
|
|
6906
6853
|
errorMessageInterpreter: interpretErrorMessage
|
|
6907
6854
|
}, /*#__PURE__*/React__default.createElement(LuxityPageReadyContext.Provider, {
|
|
@@ -6968,6 +6915,40 @@
|
|
|
6968
6915
|
ntrlMinTen: '#e6e6e6',
|
|
6969
6916
|
gray: '#efefef',
|
|
6970
6917
|
darkerGray: '#454141'
|
|
6918
|
+
},
|
|
6919
|
+
rareStepColors: {
|
|
6920
|
+
primary: '#202b58',
|
|
6921
|
+
secondary: '#ef5c2d',
|
|
6922
|
+
ntrlMin: '#ffffff',
|
|
6923
|
+
ntrl40: '#f4f4f4',
|
|
6924
|
+
ntrl50: '#808080',
|
|
6925
|
+
ntrl60: '#e8e8e8',
|
|
6926
|
+
ntrl70: '#252525',
|
|
6927
|
+
ntrlMax: '#000000'
|
|
6928
|
+
},
|
|
6929
|
+
rareStepFontWeights: {
|
|
6930
|
+
normal: 400,
|
|
6931
|
+
medium: 500,
|
|
6932
|
+
semiBold: 600,
|
|
6933
|
+
bold: 700
|
|
6934
|
+
},
|
|
6935
|
+
rareStepFontSize: {
|
|
6936
|
+
h1: '36px',
|
|
6937
|
+
h2: '30px',
|
|
6938
|
+
h3: '24px',
|
|
6939
|
+
h4: '20px',
|
|
6940
|
+
h5: '16px',
|
|
6941
|
+
h6: '14px',
|
|
6942
|
+
footerTitle: '18px'
|
|
6943
|
+
},
|
|
6944
|
+
rareStepPageSizes: {
|
|
6945
|
+
mobile: '500px',
|
|
6946
|
+
tablet: '768px',
|
|
6947
|
+
desktop: '992px',
|
|
6948
|
+
screenl: '1280px',
|
|
6949
|
+
screenxl: '1680px',
|
|
6950
|
+
screenxxl: '1920px',
|
|
6951
|
+
container: '1600px'
|
|
6971
6952
|
}
|
|
6972
6953
|
};
|
|
6973
6954
|
|
|
@@ -7061,10 +7042,7 @@
|
|
|
7061
7042
|
}
|
|
7062
7043
|
}, /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
7063
7044
|
className: "notification-dropdown-label"
|
|
7064
|
-
}, "Notification:\xA0"), updating ? /*#__PURE__*/React__default.createElement(
|
|
7065
|
-
height: "20px",
|
|
7066
|
-
width: "95%"
|
|
7067
|
-
}) : /*#__PURE__*/React__default.createElement(index$1, {
|
|
7045
|
+
}, "Notification:\xA0"), updating ? /*#__PURE__*/React__default.createElement(EllipsisLoader, null) : /*#__PURE__*/React__default.createElement(index$1, {
|
|
7068
7046
|
isMulti: false,
|
|
7069
7047
|
isSearchable: false,
|
|
7070
7048
|
components: {
|
package/OutlinePrimaryButton.js
CHANGED
|
@@ -93,6 +93,40 @@
|
|
|
93
93
|
ntrlMinTen: '#e6e6e6',
|
|
94
94
|
gray: '#efefef',
|
|
95
95
|
darkerGray: '#454141'
|
|
96
|
+
},
|
|
97
|
+
rareStepColors: {
|
|
98
|
+
primary: '#202b58',
|
|
99
|
+
secondary: '#ef5c2d',
|
|
100
|
+
ntrlMin: '#ffffff',
|
|
101
|
+
ntrl40: '#f4f4f4',
|
|
102
|
+
ntrl50: '#808080',
|
|
103
|
+
ntrl60: '#e8e8e8',
|
|
104
|
+
ntrl70: '#252525',
|
|
105
|
+
ntrlMax: '#000000'
|
|
106
|
+
},
|
|
107
|
+
rareStepFontWeights: {
|
|
108
|
+
normal: 400,
|
|
109
|
+
medium: 500,
|
|
110
|
+
semiBold: 600,
|
|
111
|
+
bold: 700
|
|
112
|
+
},
|
|
113
|
+
rareStepFontSize: {
|
|
114
|
+
h1: '36px',
|
|
115
|
+
h2: '30px',
|
|
116
|
+
h3: '24px',
|
|
117
|
+
h4: '20px',
|
|
118
|
+
h5: '16px',
|
|
119
|
+
h6: '14px',
|
|
120
|
+
footerTitle: '18px'
|
|
121
|
+
},
|
|
122
|
+
rareStepPageSizes: {
|
|
123
|
+
mobile: '500px',
|
|
124
|
+
tablet: '768px',
|
|
125
|
+
desktop: '992px',
|
|
126
|
+
screenl: '1280px',
|
|
127
|
+
screenxl: '1680px',
|
|
128
|
+
screenxxl: '1920px',
|
|
129
|
+
container: '1600px'
|
|
96
130
|
}
|
|
97
131
|
};
|
|
98
132
|
|
package/PriceRangeSelector.js
CHANGED
|
@@ -148,6 +148,40 @@
|
|
|
148
148
|
ntrlMinTen: '#e6e6e6',
|
|
149
149
|
gray: '#efefef',
|
|
150
150
|
darkerGray: '#454141'
|
|
151
|
+
},
|
|
152
|
+
rareStepColors: {
|
|
153
|
+
primary: '#202b58',
|
|
154
|
+
secondary: '#ef5c2d',
|
|
155
|
+
ntrlMin: '#ffffff',
|
|
156
|
+
ntrl40: '#f4f4f4',
|
|
157
|
+
ntrl50: '#808080',
|
|
158
|
+
ntrl60: '#e8e8e8',
|
|
159
|
+
ntrl70: '#252525',
|
|
160
|
+
ntrlMax: '#000000'
|
|
161
|
+
},
|
|
162
|
+
rareStepFontWeights: {
|
|
163
|
+
normal: 400,
|
|
164
|
+
medium: 500,
|
|
165
|
+
semiBold: 600,
|
|
166
|
+
bold: 700
|
|
167
|
+
},
|
|
168
|
+
rareStepFontSize: {
|
|
169
|
+
h1: '36px',
|
|
170
|
+
h2: '30px',
|
|
171
|
+
h3: '24px',
|
|
172
|
+
h4: '20px',
|
|
173
|
+
h5: '16px',
|
|
174
|
+
h6: '14px',
|
|
175
|
+
footerTitle: '18px'
|
|
176
|
+
},
|
|
177
|
+
rareStepPageSizes: {
|
|
178
|
+
mobile: '500px',
|
|
179
|
+
tablet: '768px',
|
|
180
|
+
desktop: '992px',
|
|
181
|
+
screenl: '1280px',
|
|
182
|
+
screenxl: '1680px',
|
|
183
|
+
screenxxl: '1920px',
|
|
184
|
+
container: '1600px'
|
|
151
185
|
}
|
|
152
186
|
};
|
|
153
187
|
|
package/PrimaryButton.js
CHANGED
|
@@ -89,6 +89,40 @@
|
|
|
89
89
|
ntrlMinTen: '#e6e6e6',
|
|
90
90
|
gray: '#efefef',
|
|
91
91
|
darkerGray: '#454141'
|
|
92
|
+
},
|
|
93
|
+
rareStepColors: {
|
|
94
|
+
primary: '#202b58',
|
|
95
|
+
secondary: '#ef5c2d',
|
|
96
|
+
ntrlMin: '#ffffff',
|
|
97
|
+
ntrl40: '#f4f4f4',
|
|
98
|
+
ntrl50: '#808080',
|
|
99
|
+
ntrl60: '#e8e8e8',
|
|
100
|
+
ntrl70: '#252525',
|
|
101
|
+
ntrlMax: '#000000'
|
|
102
|
+
},
|
|
103
|
+
rareStepFontWeights: {
|
|
104
|
+
normal: 400,
|
|
105
|
+
medium: 500,
|
|
106
|
+
semiBold: 600,
|
|
107
|
+
bold: 700
|
|
108
|
+
},
|
|
109
|
+
rareStepFontSize: {
|
|
110
|
+
h1: '36px',
|
|
111
|
+
h2: '30px',
|
|
112
|
+
h3: '24px',
|
|
113
|
+
h4: '20px',
|
|
114
|
+
h5: '16px',
|
|
115
|
+
h6: '14px',
|
|
116
|
+
footerTitle: '18px'
|
|
117
|
+
},
|
|
118
|
+
rareStepPageSizes: {
|
|
119
|
+
mobile: '500px',
|
|
120
|
+
tablet: '768px',
|
|
121
|
+
desktop: '992px',
|
|
122
|
+
screenl: '1280px',
|
|
123
|
+
screenxl: '1680px',
|
|
124
|
+
screenxxl: '1920px',
|
|
125
|
+
container: '1600px'
|
|
92
126
|
}
|
|
93
127
|
};
|
|
94
128
|
|
package/README.md
CHANGED
|
@@ -26,11 +26,12 @@
|
|
|
26
26
|
- Tooltip
|
|
27
27
|
- CheckBoxButton
|
|
28
28
|
- GenderSelector
|
|
29
|
-
- LuxityLoader
|
|
30
29
|
- GraphQLDropdownSelector
|
|
31
30
|
- LuxityGraphQLDropdownSelector
|
|
32
31
|
- MaterialSelector
|
|
33
32
|
- ModelSelector
|
|
33
|
+
- RareStepHeader
|
|
34
|
+
- RareStepFooter
|
|
34
35
|
|
|
35
36
|
## Elements (simple Styled Components)
|
|
36
37
|
- Buttons
|
package/RadioButtons.js
CHANGED
|
@@ -238,6 +238,40 @@
|
|
|
238
238
|
ntrlMinTen: '#e6e6e6',
|
|
239
239
|
gray: '#efefef',
|
|
240
240
|
darkerGray: '#454141'
|
|
241
|
+
},
|
|
242
|
+
rareStepColors: {
|
|
243
|
+
primary: '#202b58',
|
|
244
|
+
secondary: '#ef5c2d',
|
|
245
|
+
ntrlMin: '#ffffff',
|
|
246
|
+
ntrl40: '#f4f4f4',
|
|
247
|
+
ntrl50: '#808080',
|
|
248
|
+
ntrl60: '#e8e8e8',
|
|
249
|
+
ntrl70: '#252525',
|
|
250
|
+
ntrlMax: '#000000'
|
|
251
|
+
},
|
|
252
|
+
rareStepFontWeights: {
|
|
253
|
+
normal: 400,
|
|
254
|
+
medium: 500,
|
|
255
|
+
semiBold: 600,
|
|
256
|
+
bold: 700
|
|
257
|
+
},
|
|
258
|
+
rareStepFontSize: {
|
|
259
|
+
h1: '36px',
|
|
260
|
+
h2: '30px',
|
|
261
|
+
h3: '24px',
|
|
262
|
+
h4: '20px',
|
|
263
|
+
h5: '16px',
|
|
264
|
+
h6: '14px',
|
|
265
|
+
footerTitle: '18px'
|
|
266
|
+
},
|
|
267
|
+
rareStepPageSizes: {
|
|
268
|
+
mobile: '500px',
|
|
269
|
+
tablet: '768px',
|
|
270
|
+
desktop: '992px',
|
|
271
|
+
screenl: '1280px',
|
|
272
|
+
screenxl: '1680px',
|
|
273
|
+
screenxxl: '1920px',
|
|
274
|
+
container: '1600px'
|
|
241
275
|
}
|
|
242
276
|
};
|
|
243
277
|
|
package/RangeSlider.js
CHANGED
|
@@ -148,6 +148,40 @@
|
|
|
148
148
|
ntrlMinTen: '#e6e6e6',
|
|
149
149
|
gray: '#efefef',
|
|
150
150
|
darkerGray: '#454141'
|
|
151
|
+
},
|
|
152
|
+
rareStepColors: {
|
|
153
|
+
primary: '#202b58',
|
|
154
|
+
secondary: '#ef5c2d',
|
|
155
|
+
ntrlMin: '#ffffff',
|
|
156
|
+
ntrl40: '#f4f4f4',
|
|
157
|
+
ntrl50: '#808080',
|
|
158
|
+
ntrl60: '#e8e8e8',
|
|
159
|
+
ntrl70: '#252525',
|
|
160
|
+
ntrlMax: '#000000'
|
|
161
|
+
},
|
|
162
|
+
rareStepFontWeights: {
|
|
163
|
+
normal: 400,
|
|
164
|
+
medium: 500,
|
|
165
|
+
semiBold: 600,
|
|
166
|
+
bold: 700
|
|
167
|
+
},
|
|
168
|
+
rareStepFontSize: {
|
|
169
|
+
h1: '36px',
|
|
170
|
+
h2: '30px',
|
|
171
|
+
h3: '24px',
|
|
172
|
+
h4: '20px',
|
|
173
|
+
h5: '16px',
|
|
174
|
+
h6: '14px',
|
|
175
|
+
footerTitle: '18px'
|
|
176
|
+
},
|
|
177
|
+
rareStepPageSizes: {
|
|
178
|
+
mobile: '500px',
|
|
179
|
+
tablet: '768px',
|
|
180
|
+
desktop: '992px',
|
|
181
|
+
screenl: '1280px',
|
|
182
|
+
screenxl: '1680px',
|
|
183
|
+
screenxxl: '1920px',
|
|
184
|
+
container: '1600px'
|
|
151
185
|
}
|
|
152
186
|
};
|
|
153
187
|
|
package/RareStepFooter.js
CHANGED
|
@@ -78,6 +78,15 @@
|
|
|
78
78
|
h5: '16px',
|
|
79
79
|
h6: '14px',
|
|
80
80
|
footerTitle: '18px'
|
|
81
|
+
},
|
|
82
|
+
rareStepPageSizes: {
|
|
83
|
+
mobile: '500px',
|
|
84
|
+
tablet: '768px',
|
|
85
|
+
desktop: '992px',
|
|
86
|
+
screenl: '1280px',
|
|
87
|
+
screenxl: '1680px',
|
|
88
|
+
screenxxl: '1920px',
|
|
89
|
+
container: '1600px'
|
|
81
90
|
}
|
|
82
91
|
};
|
|
83
92
|
|
|
@@ -91,8 +100,8 @@
|
|
|
91
100
|
});
|
|
92
101
|
});
|
|
93
102
|
|
|
94
|
-
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10;
|
|
95
|
-
var FooterWrapper = styled__default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n {\n
|
|
103
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11, _templateObject12, _templateObject13, _templateObject14, _templateObject15;
|
|
104
|
+
var FooterWrapper = styled__default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n {\n background-color: ", ";\n font-weight: ", ";\n padding-top: ", ";\n font-size: ", ";\n }\n"])), function (props) {
|
|
96
105
|
return props.theme.rareStepColors.ntrlMax;
|
|
97
106
|
}, function (props) {
|
|
98
107
|
return props.theme.rareStepFontWeights.bold;
|
|
@@ -101,11 +110,16 @@
|
|
|
101
110
|
}, function (props) {
|
|
102
111
|
return props.theme.rareStepFontSize.h5;
|
|
103
112
|
});
|
|
104
|
-
var
|
|
105
|
-
|
|
113
|
+
var PageContainer = styled__default.div(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n {\n max-width: ", ";\n margin: 0 auto;\n width: 100%;\n padding: 0 5%;\n display: flex;\n justify-content: space-between;\n }\n"])), function (props) {
|
|
114
|
+
return props.theme.rareStepPageSizes.container;
|
|
115
|
+
});
|
|
116
|
+
var FooterLinksWrapper = styled__default.div(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n {\n display: flex;\n flex-basis: 70%;\n padding-bottom: ", ";\n }\n"])), function (props) {
|
|
106
117
|
return props.theme.marginPaddings[4];
|
|
107
118
|
});
|
|
108
|
-
var
|
|
119
|
+
var FooterLinksContainer = styled__default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n {\n display: flex;\n flex-direction: column;\n flex: 1;\n padding-right: ", ";\n }\n"])), function (props) {
|
|
120
|
+
return props.theme.marginPaddings[4];
|
|
121
|
+
});
|
|
122
|
+
var FooterTitleLink = styled__default.a(_templateObject5 || (_templateObject5 = _taggedTemplateLiteral(["\n {\n text-transform: uppercase;\n color: ", ";\n margin-bottom: ", ";\n cursor: pointer;\n font-weight: ", ";\n font-size: ", ";\n text-decoration: none;\n\n &:hover,\n &:active {\n color: ", ";\n text-decoration: underline;\n }\n }\n"])), function (props) {
|
|
109
123
|
return props.theme.rareStepColors.ntrlMin;
|
|
110
124
|
}, function (props) {
|
|
111
125
|
return props.theme.marginPaddings[1];
|
|
@@ -116,7 +130,7 @@
|
|
|
116
130
|
}, function (props) {
|
|
117
131
|
return props.theme.rareStepColors.ntrlMin;
|
|
118
132
|
});
|
|
119
|
-
var FooterLink = styled__default.a(
|
|
133
|
+
var FooterLink = styled__default.a(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n {\n color: ", ";\n cursor: pointer;\n margin-bottom: ", ";\n font-weight: ", ";\n text-decoration: none;\n\n &:hover,\n &:active {\n color: ", ";\n text-decoration: underline;\n }\n }\n"])), function (props) {
|
|
120
134
|
return props.theme.rareStepColors.ntrlMin;
|
|
121
135
|
}, function (props) {
|
|
122
136
|
return props.theme.space[2];
|
|
@@ -125,24 +139,46 @@
|
|
|
125
139
|
}, function (props) {
|
|
126
140
|
return props.theme.rareStepColors.ntrlMin;
|
|
127
141
|
});
|
|
128
|
-
var FooterImage = styled__default.img(
|
|
129
|
-
var FooterImageWrapper = styled__default.div(
|
|
130
|
-
|
|
142
|
+
var FooterImage = styled__default.img(_templateObject7 || (_templateObject7 = _taggedTemplateLiteral(["\n {\n width: 100%;\n height: 100%;\n max-height: 300px;\n object-fit: cover;\n }\n"])));
|
|
143
|
+
var FooterImageWrapper = styled__default.div(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n {\n flex-basis: 30%;\n padding-bottom: ", ";\n }\n"])), function (props) {
|
|
144
|
+
return props.theme.marginPaddings[4];
|
|
145
|
+
});
|
|
146
|
+
var FooterLogo = styled__default.img(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n {\n width: 120px;\n height: 50px;\n margin-top: ", ";\n }\n"])), function (props) {
|
|
131
147
|
return props.theme.marginPaddings[5];
|
|
132
148
|
});
|
|
133
|
-
var SocialIconWrapper = styled__default.div(
|
|
134
|
-
var SocialIcon = styled__default.img(
|
|
149
|
+
var SocialIconWrapper = styled__default.div(_templateObject10 || (_templateObject10 = _taggedTemplateLiteral(["\n {\n display: flex;\n }\n"])));
|
|
150
|
+
var SocialIcon = styled__default.img(_templateObject11 || (_templateObject11 = _taggedTemplateLiteral(["\n {\n width: 30px;\n height: 30px;\n margin-right: ", ";\n }\n"])), function (props) {
|
|
135
151
|
return props.theme.marginPaddings[0];
|
|
136
152
|
});
|
|
153
|
+
var FooterCopyrightContainer = styled__default.div(_templateObject12 || (_templateObject12 = _taggedTemplateLiteral(["\n {\n display: flex;\n padding: ", " 0;\n border-top: 1px solid ", ";\n }\n"])), function (props) {
|
|
154
|
+
return props.theme.marginPaddings[1];
|
|
155
|
+
}, function (props) {
|
|
156
|
+
return props.theme.rareStepColors.ntrlMin;
|
|
157
|
+
});
|
|
158
|
+
var FooterCopyrightText = styled__default.div(_templateObject13 || (_templateObject13 = _taggedTemplateLiteral(["\n {\n color: ", ";\n font-weight: ", ";\n }\n"])), function (props) {
|
|
159
|
+
return props.theme.rareStepColors.ntrlMin;
|
|
160
|
+
}, function (props) {
|
|
161
|
+
return props.theme.rareStepFontWeights.normal;
|
|
162
|
+
});
|
|
163
|
+
var FooterPayments = styled__default.div(_templateObject14 || (_templateObject14 = _taggedTemplateLiteral(["\n {\n display: flex;\n justify-content: flex-end;\n align-items: center;\n }\n"])));
|
|
164
|
+
var FooterPaymentImage = styled__default.img(_templateObject15 || (_templateObject15 = _taggedTemplateLiteral(["\n {\n width: 100px;\n height: 30px;\n }\n"])));
|
|
137
165
|
|
|
138
|
-
function
|
|
166
|
+
var FooterCopyright = function FooterCopyright(_ref) {
|
|
167
|
+
var payment_image = _ref.payment_image;
|
|
168
|
+
return /*#__PURE__*/React__default.createElement(FooterCopyrightContainer, null, /*#__PURE__*/React__default.createElement(PageContainer, null, /*#__PURE__*/React__default.createElement(FooterCopyrightText, null, "\xA9".concat(new Date().getFullYear(), " \u2022 Rare Step \u2022 Website Developed by B Online")), /*#__PURE__*/React__default.createElement(FooterPayments, null, /*#__PURE__*/React__default.createElement(FooterPaymentImage, {
|
|
169
|
+
src: payment_image
|
|
170
|
+
}))));
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
var RareStepFooter = function RareStepFooter(_ref) {
|
|
139
174
|
var footer_image_url = _ref.footer_image_url,
|
|
140
175
|
footer_logo_image_url = _ref.footer_logo_image_url,
|
|
141
176
|
facebook_url = _ref.facebook_url,
|
|
142
177
|
facebook_icon_url = _ref.facebook_icon_url,
|
|
143
178
|
instagram_url = _ref.instagram_url,
|
|
144
|
-
instagram_image_url = _ref.instagram_image_url
|
|
145
|
-
|
|
179
|
+
instagram_image_url = _ref.instagram_image_url,
|
|
180
|
+
payment_image = _ref.payment_image;
|
|
181
|
+
return /*#__PURE__*/React__default.createElement(FooterWrapper, null, /*#__PURE__*/React__default.createElement(PageContainer, null, /*#__PURE__*/React__default.createElement(FooterLinksWrapper, null, /*#__PURE__*/React__default.createElement(FooterLinksContainer, null, /*#__PURE__*/React__default.createElement(FooterTitleLink, {
|
|
146
182
|
href: "/contact-us"
|
|
147
183
|
}, "Contact"), /*#__PURE__*/React__default.createElement(FooterLink, {
|
|
148
184
|
href: "/contact-us"
|
|
@@ -184,8 +220,10 @@
|
|
|
184
220
|
href: "/privacy"
|
|
185
221
|
}, "Privacy Policy"))), /*#__PURE__*/React__default.createElement(FooterImageWrapper, null, /*#__PURE__*/React__default.createElement(FooterImage, {
|
|
186
222
|
src: footer_image_url
|
|
187
|
-
})))
|
|
188
|
-
|
|
223
|
+
}))), /*#__PURE__*/React__default.createElement(FooterCopyright, {
|
|
224
|
+
payment_image: payment_image
|
|
225
|
+
}));
|
|
226
|
+
};
|
|
189
227
|
|
|
190
228
|
var index = themed(RareStepFooter);
|
|
191
229
|
|