@bonlineza/luxity-lib 2.12.0 → 2.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AddInterest.js +116 -172
- package/BrandSelector.js +130 -186
- package/GraphQLDropdownSelector.js +130 -186
- package/GraphQLMultiSelector.js +16 -69
- package/Interests.js +128 -184
- package/LuxityGraphQLDropdownSelector.js +130 -186
- package/LuxityGraphQLMultiselector.js +21 -74
- package/LuxityPageReady.js +6 -72
- package/MaterialSelector.js +130 -186
- package/ModelSelector.js +130 -186
- package/NotificationDropDown.js +9 -65
- package/README.md +4 -1
- package/StyleSelector.js +25 -78
- package/build/bundle.js +108 -164
- 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, {
|
|
@@ -7095,10 +7042,7 @@
|
|
|
7095
7042
|
}
|
|
7096
7043
|
}, /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
7097
7044
|
className: "notification-dropdown-label"
|
|
7098
|
-
}, "Notification:\xA0"), updating ? /*#__PURE__*/React__default.createElement(
|
|
7099
|
-
height: "20px",
|
|
7100
|
-
width: "95%"
|
|
7101
|
-
}) : /*#__PURE__*/React__default.createElement(index$1, {
|
|
7045
|
+
}, "Notification:\xA0"), updating ? /*#__PURE__*/React__default.createElement(EllipsisLoader, null) : /*#__PURE__*/React__default.createElement(index$1, {
|
|
7102
7046
|
isMulti: false,
|
|
7103
7047
|
isSearchable: false,
|
|
7104
7048
|
components: {
|
package/README.md
CHANGED
package/StyleSelector.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('@bonlineza/b-lib/functions'), require('styled-components'), require('@bonlineza/b-lib/PageReady')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define(['react', '@bonlineza/b-lib/functions', 'styled-components', '@bonlineza/b-lib/PageReady'], factory) :
|
|
4
|
-
(global = global || self, global.StyleSelector = factory(global.React, global.function, global.styled, global.PageReady));
|
|
5
|
-
}(this, (function (React, functions, styled, PageReady) { 'use strict';
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react'), require('@bonlineza/b-lib/functions'), require('styled-components'), require('@bonlineza/b-lib/EllipsisLoader'), require('@bonlineza/b-lib/PageReady')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define(['react', '@bonlineza/b-lib/functions', 'styled-components', '@bonlineza/b-lib/EllipsisLoader', '@bonlineza/b-lib/PageReady'], factory) :
|
|
4
|
+
(global = global || self, global.StyleSelector = factory(global.React, global.function, global.styled, global.EllipsisLoader, global.PageReady));
|
|
5
|
+
}(this, (function (React, functions, styled, EllipsisLoader, PageReady) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var React__default = 'default' in React ? React['default'] : React;
|
|
8
8
|
var styled__default = 'default' in styled ? styled['default'] : styled;
|
|
9
|
+
EllipsisLoader = EllipsisLoader && Object.prototype.hasOwnProperty.call(EllipsisLoader, 'default') ? EllipsisLoader['default'] : EllipsisLoader;
|
|
9
10
|
PageReady = PageReady && Object.prototype.hasOwnProperty.call(PageReady, 'default') ? PageReady['default'] : PageReady;
|
|
10
11
|
|
|
11
12
|
function _classCallCheck(instance, Constructor) {
|
|
@@ -235,57 +236,6 @@
|
|
|
235
236
|
return message.replace(':error_code', error.status || 'Network Down');
|
|
236
237
|
};
|
|
237
238
|
|
|
238
|
-
var LuxityArrowLeft = (function (props) {
|
|
239
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
240
|
-
version: "1.0",
|
|
241
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
242
|
-
width: props.width || '100%',
|
|
243
|
-
height: props.height || '100%',
|
|
244
|
-
viewBox: "0 0 177.000000 300.000000",
|
|
245
|
-
preserveAspectRatio: "xMidYMid meet"
|
|
246
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
247
|
-
transform: "translate(0.000000,300.000000) scale(0.100000,-0.100000)",
|
|
248
|
-
fill: "#000000",
|
|
249
|
-
stroke: "none"
|
|
250
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
251
|
-
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"
|
|
252
|
-
})));
|
|
253
|
-
});
|
|
254
|
-
|
|
255
|
-
var LuxityArrowRight = (function (props) {
|
|
256
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
257
|
-
version: "1.0",
|
|
258
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
259
|
-
width: props.width || '100%',
|
|
260
|
-
height: props.height || '100%',
|
|
261
|
-
viewBox: "0 0 177.000000 300.000000",
|
|
262
|
-
preserveAspectRatio: "xMidYMid meet"
|
|
263
|
-
}, /*#__PURE__*/React__default.createElement("g", {
|
|
264
|
-
transform: "translate(0.000000,300.000000) scale(0.100000,-0.100000)",
|
|
265
|
-
fill: "#000000",
|
|
266
|
-
stroke: "none"
|
|
267
|
-
}, /*#__PURE__*/React__default.createElement("path", {
|
|
268
|
-
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"
|
|
269
|
-
})));
|
|
270
|
-
});
|
|
271
|
-
|
|
272
|
-
var _templateObject, _templateObject2, _templateObject3;
|
|
273
|
-
var LoaderContainer = styled__default.div(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n margin: 20px auto;\n"])));
|
|
274
|
-
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"])));
|
|
275
|
-
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"])));
|
|
276
|
-
|
|
277
|
-
function LuxityLoader(_ref) {
|
|
278
|
-
var width = _ref.width,
|
|
279
|
-
height = _ref.height;
|
|
280
|
-
return /*#__PURE__*/React__default.createElement(LoaderContainer, null, /*#__PURE__*/React__default.createElement(LeftImageContainer, null, /*#__PURE__*/React__default.createElement(LuxityArrowRight, {
|
|
281
|
-
width: width,
|
|
282
|
-
height: height
|
|
283
|
-
})), /*#__PURE__*/React__default.createElement(RightImageContainer, null, /*#__PURE__*/React__default.createElement(LuxityArrowLeft, {
|
|
284
|
-
width: width,
|
|
285
|
-
height: height
|
|
286
|
-
})));
|
|
287
|
-
}
|
|
288
|
-
|
|
289
239
|
var LuxityPageReadyContext = /*#__PURE__*/React__default.createContext({
|
|
290
240
|
data: null
|
|
291
241
|
});
|
|
@@ -361,10 +311,7 @@
|
|
|
361
311
|
customErrorMessage: customErrorMessage,
|
|
362
312
|
customErrorHandler: customErrorHandler,
|
|
363
313
|
renderCustomLoader: function renderCustomLoader() {
|
|
364
|
-
return /*#__PURE__*/React__default.createElement(
|
|
365
|
-
height: "40px",
|
|
366
|
-
width: "95%"
|
|
367
|
-
});
|
|
314
|
+
return /*#__PURE__*/React__default.createElement(EllipsisLoader, null);
|
|
368
315
|
},
|
|
369
316
|
errorMessageInterpreter: interpretErrorMessage
|
|
370
317
|
}, /*#__PURE__*/React__default.createElement(LuxityPageReadyContext.Provider, {
|
|
@@ -391,9 +338,9 @@
|
|
|
391
338
|
}
|
|
392
339
|
};
|
|
393
340
|
|
|
394
|
-
var _templateObject
|
|
395
|
-
var disabledButtonStyle = styled.css(_templateObject
|
|
396
|
-
var baseButtonStyle = styled.css(_templateObject2
|
|
341
|
+
var _templateObject, _templateObject2;
|
|
342
|
+
var disabledButtonStyle = styled.css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n cursor: not-allowed;\n opacity: 0.4;\n"])));
|
|
343
|
+
var baseButtonStyle = styled.css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n padding: 1rem 3.5rem;\n cursor: pointer;\n letter-spacing: 1.3px;\n border-style: none;\n text-transform: uppercase;\n font-size: 12px;\n color: #fff;\n transition: 0.2s ease-in-out;\n outline: none;\n min-width: 150px;\n"])));
|
|
397
344
|
|
|
398
345
|
var theme = {
|
|
399
346
|
breakpoints: ['40em', '52em', '64em'],
|
|
@@ -461,8 +408,8 @@
|
|
|
461
408
|
|
|
462
409
|
var _excluded = ["children"];
|
|
463
410
|
|
|
464
|
-
var _templateObject$
|
|
465
|
-
var Button = styled__default.button(_templateObject$
|
|
411
|
+
var _templateObject$1;
|
|
412
|
+
var Button = styled__default.button(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n ", ";\n background-color: transparent;\n color: ", ";\n &:hover {\n color: ", ";\n }\n &:disabled {\n ", ";\n color: ", ";\n }\n"])), baseButtonStyle, function (props) {
|
|
466
413
|
return props.theme.colors.base;
|
|
467
414
|
}, function (props) {
|
|
468
415
|
return props.theme.colors.primary;
|
|
@@ -484,8 +431,8 @@
|
|
|
484
431
|
|
|
485
432
|
var _excluded$1 = ["children"];
|
|
486
433
|
|
|
487
|
-
var _templateObject$
|
|
488
|
-
var Button$1 = styled__default(TextButton$1)(_templateObject$
|
|
434
|
+
var _templateObject$2;
|
|
435
|
+
var Button$1 = styled__default(TextButton$1)(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n color: ", ";\n background-color: ", ";\n &:hover {\n color: ", ";\n background-color: ", ";\n }\n &:disabled {\n background-color: ", ";\n color: ", ";\n }\n"])), function (props) {
|
|
489
436
|
return props.theme.colors.ntrlMin;
|
|
490
437
|
}, function (props) {
|
|
491
438
|
return props.theme.colors.primary;
|
|
@@ -515,15 +462,15 @@
|
|
|
515
462
|
lg: '1200px'
|
|
516
463
|
};
|
|
517
464
|
|
|
518
|
-
var _templateObject$
|
|
465
|
+
var _templateObject$3, _templateObject2$1;
|
|
519
466
|
var ALL_ITEM = {
|
|
520
467
|
id: 'ALL',
|
|
521
468
|
name: 'ALL'
|
|
522
469
|
};
|
|
523
470
|
var multiSelectorItemMaxHeight = '3rem';
|
|
524
471
|
var multiSelectorItemAnimationDuration = '300ms';
|
|
525
|
-
var multiselectorItemFadeIn = styled.keyframes(_templateObject$
|
|
526
|
-
var StyledMultiselector = styled__default.div(_templateObject2$
|
|
472
|
+
var multiselectorItemFadeIn = styled.keyframes(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n from {\n margin: 0;\n max-height: 0px;\n opacity: 0;\n }\n to {\n max-height: ", ";\n opacity: 1;\n }\n"])), multiSelectorItemMaxHeight);
|
|
473
|
+
var StyledMultiselector = styled__default.div(_templateObject2$1 || (_templateObject2$1 = _taggedTemplateLiteral(["\n .multiselector__selected-items,\n .multiselector__selectable-items {\n display: flex;\n flex-flow: wrap;\n margin-left: calc(-1 * ", ");\n button {\n &:hover {\n color: ", ";\n background-color: ", ";\n }\n border-color: ", ";\n background-color: ", ";\n color: ", ";\n padding: ", ";\n text-transform: none;\n box-sizing: border-box;\n animation: ", " ease-in-out\n ", " forwards;\n flex-basis: calc(25% - ", ");\n margin-bottom: ", ";\n margin-left: ", ";\n text-overflow: ellipsis;\n overflow-x: hidden;\n min-height: 40px;\n\n @media (max-width: ", ") {\n flex-basis: calc(50% - ", ");\n }\n }\n }\n\n .multiselector__footer {\n display: flex;\n justify-content: center;\n button {\n &:hover {\n color: ", ";\n background-color: ", ";\n }\n background-color: ", ";\n color: ", ";\n }\n }\n"])), function (props) {
|
|
527
474
|
return props.theme.marginPaddings[2];
|
|
528
475
|
}, function (props) {
|
|
529
476
|
return props.theme.colors.ntrlMin;
|
|
@@ -760,11 +707,11 @@
|
|
|
760
707
|
}));
|
|
761
708
|
});
|
|
762
709
|
|
|
763
|
-
var _templateObject$
|
|
764
|
-
var Title = styled__default.h1(_templateObject$
|
|
710
|
+
var _templateObject$4, _templateObject2$2;
|
|
711
|
+
var Title = styled__default.h1(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: bold;\n margin-bottom: 0;\n text-transform: uppercase;\n"])), function (props) {
|
|
765
712
|
return props.theme.fontSizes[2];
|
|
766
713
|
});
|
|
767
|
-
var InterestsSubheadingContainer = styled__default.div(_templateObject2$
|
|
714
|
+
var InterestsSubheadingContainer = styled__default.div(_templateObject2$2 || (_templateObject2$2 = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n padding-bottom: ", ";\n border-bottom: 1px solid ", ";\n margin-bottom: ", ";\n margin-top: ", ";\n width: 100%;\n align-items: center;\n"])), function (props) {
|
|
768
715
|
return props.theme.marginPaddings[1];
|
|
769
716
|
}, function (props) {
|
|
770
717
|
return props.theme.colors.primary;
|
|
@@ -783,7 +730,7 @@
|
|
|
783
730
|
}, /*#__PURE__*/React__default.createElement(Title, null, title), /*#__PURE__*/React__default.createElement("div", null, children));
|
|
784
731
|
};
|
|
785
732
|
|
|
786
|
-
var _templateObject$
|
|
733
|
+
var _templateObject$5;
|
|
787
734
|
|
|
788
735
|
var Title$1 = function Title(_ref) {
|
|
789
736
|
var baseClass = _ref.baseClass,
|
|
@@ -804,7 +751,7 @@
|
|
|
804
751
|
})));
|
|
805
752
|
};
|
|
806
753
|
|
|
807
|
-
var StyledTitle = styled__default(Title$1)(_templateObject$
|
|
754
|
+
var StyledTitle = styled__default(Title$1)(_templateObject$5 || (_templateObject$5 = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n font-weight: bold;\n display: flex;\n align-items: center;\n font-size: ", ";\n\n .title__search,\n .title__search {\n display: flex;\n justify-content: center;\n align-items: center;\n min-height: 30px;\n margin-bottom: ", ";\n\n svg {\n margin-left: ", ";\n fill: ", ";\n stroke: ", ";\n }\n\n input {\n width: 140px;\n border: none;\n font-size: ", ";\n transition: 0.2s border-color ease-in-out;\n margin-left: ", ";\n padding: 0;\n\n :focus {\n border-color: ", ";\n border-bottom: none;\n }\n }\n }\n"])), function (props) {
|
|
808
755
|
return props.theme.marginPaddings[2];
|
|
809
756
|
}, function (props) {
|
|
810
757
|
return props.theme.fontSizes[2];
|
|
@@ -946,8 +893,8 @@
|
|
|
946
893
|
|
|
947
894
|
var _excluded$2 = ["children"];
|
|
948
895
|
|
|
949
|
-
var _templateObject$
|
|
950
|
-
var Button$2 = styled__default.button(_templateObject$
|
|
896
|
+
var _templateObject$6;
|
|
897
|
+
var Button$2 = styled__default.button(_templateObject$6 || (_templateObject$6 = _taggedTemplateLiteral(["\n ", ";\n background-color: ", ";\n color: ", ";\n &:active,\n &:hover {\n background-color: #fff;\n color: ", ";\n }\n\n &:disabled {\n ", "\n\n &:hover {\n background-color: ", ";\n color: #ffff;\n }\n }\n"])), baseButtonStyle, function (props) {
|
|
951
898
|
return props.theme.colors.primary;
|
|
952
899
|
}, function (props) {
|
|
953
900
|
return props.theme.colors.ntrlMin;
|
|
@@ -966,8 +913,8 @@
|
|
|
966
913
|
|
|
967
914
|
var PrimaryButton$1 = themed(PrimaryButton);
|
|
968
915
|
|
|
969
|
-
var _templateObject$
|
|
970
|
-
var BaseButton = styled__default.button(_templateObject$
|
|
916
|
+
var _templateObject$7;
|
|
917
|
+
var BaseButton = styled__default.button(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteral(["\n color: ", ";\n border: 1px solid ", ";\n background-color: ", ";\n &:hover {\n color: ", ";\n background-color: ", ";\n }\n"])), function (props) {
|
|
971
918
|
return props.theme.colors.base;
|
|
972
919
|
}, function (props) {
|
|
973
920
|
return props.theme.colors.borderColor;
|