@bonlineza/luxity-lib 2.10.0 → 2.12.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.
@@ -6968,6 +6968,40 @@
6968
6968
  ntrlMinTen: '#e6e6e6',
6969
6969
  gray: '#efefef',
6970
6970
  darkerGray: '#454141'
6971
+ },
6972
+ rareStepColors: {
6973
+ primary: '#202b58',
6974
+ secondary: '#ef5c2d',
6975
+ ntrlMin: '#ffffff',
6976
+ ntrl40: '#f4f4f4',
6977
+ ntrl50: '#808080',
6978
+ ntrl60: '#e8e8e8',
6979
+ ntrl70: '#252525',
6980
+ ntrlMax: '#000000'
6981
+ },
6982
+ rareStepFontWeights: {
6983
+ normal: 400,
6984
+ medium: 500,
6985
+ semiBold: 600,
6986
+ bold: 700
6987
+ },
6988
+ rareStepFontSize: {
6989
+ h1: '36px',
6990
+ h2: '30px',
6991
+ h3: '24px',
6992
+ h4: '20px',
6993
+ h5: '16px',
6994
+ h6: '14px',
6995
+ footerTitle: '18px'
6996
+ },
6997
+ rareStepPageSizes: {
6998
+ mobile: '500px',
6999
+ tablet: '768px',
7000
+ desktop: '992px',
7001
+ screenl: '1280px',
7002
+ screenxl: '1680px',
7003
+ screenxxl: '1920px',
7004
+ container: '1600px'
6971
7005
  }
6972
7006
  };
6973
7007
 
@@ -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
 
@@ -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
@@ -27,6 +27,8 @@
27
27
  - CheckBoxButton
28
28
  - GenderSelector
29
29
  - LuxityLoader
30
+ - RareStepHeader
31
+ - RareStepFooter
30
32
 
31
33
  ## Elements (simple Styled Components)
32
34
  - 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
 
@@ -0,0 +1,232 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('styled-components')) :
3
+ typeof define === 'function' && define.amd ? define(['react', 'styled-components'], factory) :
4
+ (global = global || self, global.RareStepFooter = factory(global.React, global.styled));
5
+ }(this, (function (React, styled) { 'use strict';
6
+
7
+ var React__default = 'default' in React ? React['default'] : React;
8
+ var styled__default = 'default' in styled ? styled['default'] : styled;
9
+
10
+ function _extends() {
11
+ _extends = Object.assign ? Object.assign.bind() : function (target) {
12
+ for (var i = 1; i < arguments.length; i++) {
13
+ var source = arguments[i];
14
+
15
+ for (var key in source) {
16
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
17
+ target[key] = source[key];
18
+ }
19
+ }
20
+ }
21
+
22
+ return target;
23
+ };
24
+ return _extends.apply(this, arguments);
25
+ }
26
+
27
+ function _taggedTemplateLiteral(strings, raw) {
28
+ if (!raw) {
29
+ raw = strings.slice(0);
30
+ }
31
+
32
+ return Object.freeze(Object.defineProperties(strings, {
33
+ raw: {
34
+ value: Object.freeze(raw)
35
+ }
36
+ }));
37
+ }
38
+
39
+ var theme = {
40
+ breakpoints: ['40em', '52em', '64em'],
41
+ space: ['0px', '4px', '8px', '16px', '32px', '64px', '128px', '256px', '512px'],
42
+ fontSizes: ['12px', '14px', '16px', '20px', '24px', '32px', '48px', '64px', '72px'],
43
+ marginPaddings: ['0.5rem', '1rem', '1.5rem', '2rem', '2.5rem', '3rem', '3.5rem', '4rem', '4.5rem', '5rem', '5.5rem', '6rem'],
44
+ letterSpacings: ['-0.5px', '0px', '+0.5px'],
45
+ radii: ['0px', '2px', '4px', '8px'],
46
+ borderRadius: '6px',
47
+ colors: {
48
+ primary: '#000',
49
+ base: '#4e4949',
50
+ baseLt: '#817c7c',
51
+ borderColor: '#d8d8d8',
52
+ ntrlMin: '#fff',
53
+ ntrlMinTen: '#e6e6e6',
54
+ gray: '#efefef',
55
+ darkerGray: '#454141'
56
+ },
57
+ rareStepColors: {
58
+ primary: '#202b58',
59
+ secondary: '#ef5c2d',
60
+ ntrlMin: '#ffffff',
61
+ ntrl40: '#f4f4f4',
62
+ ntrl50: '#808080',
63
+ ntrl60: '#e8e8e8',
64
+ ntrl70: '#252525',
65
+ ntrlMax: '#000000'
66
+ },
67
+ rareStepFontWeights: {
68
+ normal: 400,
69
+ medium: 500,
70
+ semiBold: 600,
71
+ bold: 700
72
+ },
73
+ rareStepFontSize: {
74
+ h1: '36px',
75
+ h2: '30px',
76
+ h3: '24px',
77
+ h4: '20px',
78
+ h5: '16px',
79
+ h6: '14px',
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'
90
+ }
91
+ };
92
+
93
+ var themed = (function (Component) {
94
+ return /*#__PURE__*/React.forwardRef(function (props, ref) {
95
+ return /*#__PURE__*/React__default.createElement(styled.ThemeProvider, {
96
+ theme: theme
97
+ }, /*#__PURE__*/React__default.createElement(Component, _extends({}, props, {
98
+ ref: ref
99
+ })));
100
+ });
101
+ });
102
+
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) {
105
+ return props.theme.rareStepColors.ntrlMax;
106
+ }, function (props) {
107
+ return props.theme.rareStepFontWeights.bold;
108
+ }, function (props) {
109
+ return props.theme.marginPaddings[4];
110
+ }, function (props) {
111
+ return props.theme.rareStepFontSize.h5;
112
+ });
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) {
117
+ return props.theme.marginPaddings[4];
118
+ });
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) {
123
+ return props.theme.rareStepColors.ntrlMin;
124
+ }, function (props) {
125
+ return props.theme.marginPaddings[1];
126
+ }, function (props) {
127
+ return props.theme.rareStepFontWeights.bold;
128
+ }, function (props) {
129
+ return props.theme.rareStepFontSize.footerTitle;
130
+ }, function (props) {
131
+ return props.theme.rareStepColors.ntrlMin;
132
+ });
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) {
134
+ return props.theme.rareStepColors.ntrlMin;
135
+ }, function (props) {
136
+ return props.theme.space[2];
137
+ }, function (props) {
138
+ return props.theme.rareStepFontWeights.normal;
139
+ }, function (props) {
140
+ return props.theme.rareStepColors.ntrlMin;
141
+ });
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) {
147
+ return props.theme.marginPaddings[5];
148
+ });
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) {
151
+ return props.theme.marginPaddings[0];
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"])));
165
+
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) {
174
+ var footer_image_url = _ref.footer_image_url,
175
+ footer_logo_image_url = _ref.footer_logo_image_url,
176
+ facebook_url = _ref.facebook_url,
177
+ facebook_icon_url = _ref.facebook_icon_url,
178
+ instagram_url = _ref.instagram_url,
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, {
182
+ href: "/contact-us"
183
+ }, "Contact"), /*#__PURE__*/React__default.createElement(FooterLink, {
184
+ href: "/contact-us"
185
+ }, "Contact Us"), /*#__PURE__*/React__default.createElement(FooterLink, null), /*#__PURE__*/React__default.createElement(FooterLink, null, "000 000 0000"), /*#__PURE__*/React__default.createElement(FooterLink, {
186
+ href: "mailto:myorder@rarestep.co.za"
187
+ }, "myorder@rarestep.co.za"), /*#__PURE__*/React__default.createElement(FooterLogo, {
188
+ src: footer_logo_image_url
189
+ }), /*#__PURE__*/React__default.createElement(FooterTitleLink, null, "Connect"), /*#__PURE__*/React__default.createElement(SocialIconWrapper, null, /*#__PURE__*/React__default.createElement(FooterLink, {
190
+ href: facebook_url
191
+ }, /*#__PURE__*/React__default.createElement(SocialIcon, {
192
+ src: facebook_icon_url
193
+ })), /*#__PURE__*/React__default.createElement(FooterLink, {
194
+ href: instagram_url
195
+ }, /*#__PURE__*/React__default.createElement(SocialIcon, {
196
+ src: instagram_image_url
197
+ })))), /*#__PURE__*/React__default.createElement(FooterLinksContainer, null, /*#__PURE__*/React__default.createElement(FooterTitleLink, {
198
+ href: "/buy-sell"
199
+ }, "Buy & Sell"), /*#__PURE__*/React__default.createElement(FooterLink, {
200
+ href: "/product-category/brands"
201
+ }, "New Arrival"), /*#__PURE__*/React__default.createElement(FooterLink, {
202
+ href: "/product-category/sneakers/brands/"
203
+ }, "Sneakers"), /*#__PURE__*/React__default.createElement(FooterLink, null, "Create Your Interest"), /*#__PURE__*/React__default.createElement(FooterLink, {
204
+ href: "/sell-to-us"
205
+ }, "Sell To Us")), /*#__PURE__*/React__default.createElement(FooterLinksContainer, null, /*#__PURE__*/React__default.createElement(FooterTitleLink, {
206
+ href: "/about"
207
+ }, "Company"), /*#__PURE__*/React__default.createElement(FooterLink, {
208
+ href: "/about"
209
+ }, "Our Story"), /*#__PURE__*/React__default.createElement(FooterLink, {
210
+ href: "/blog"
211
+ }, "Sneakers")), /*#__PURE__*/React__default.createElement(FooterLinksContainer, null, /*#__PURE__*/React__default.createElement(FooterTitleLink, {
212
+ href: "/faq"
213
+ }, "Help"), /*#__PURE__*/React__default.createElement(FooterLink, {
214
+ href: "/faq"
215
+ }, "FAQs"), /*#__PURE__*/React__default.createElement(FooterLink, {
216
+ href: "/shipping"
217
+ }, "Shipping & Returns"), /*#__PURE__*/React__default.createElement(FooterLink, {
218
+ href: "/terms-conditions"
219
+ }, "Terms & Conditions"), /*#__PURE__*/React__default.createElement(FooterLink, {
220
+ href: "/privacy"
221
+ }, "Privacy Policy"))), /*#__PURE__*/React__default.createElement(FooterImageWrapper, null, /*#__PURE__*/React__default.createElement(FooterImage, {
222
+ src: footer_image_url
223
+ }))), /*#__PURE__*/React__default.createElement(FooterCopyright, {
224
+ payment_image: payment_image
225
+ }));
226
+ };
227
+
228
+ var index = themed(RareStepFooter);
229
+
230
+ return index;
231
+
232
+ })));