@bonlineza/luxity-lib 2.6.2 → 2.7.3

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/BrandSelector.js CHANGED
@@ -333,7 +333,7 @@
333
333
  };
334
334
 
335
335
  function _templateObject2() {
336
- var data = _taggedTemplateLiteral(["\n padding: 1rem 0.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: 75px;\n"]);
336
+ var data = _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"]);
337
337
 
338
338
  _templateObject2 = function _templateObject2() {
339
339
  return data;
@@ -368,7 +368,9 @@
368
368
  baseLt: '#817c7c',
369
369
  borderColor: '#d8d8d8',
370
370
  ntrlMin: '#fff',
371
- ntrlMinTen: '#e6e6e6'
371
+ ntrlMinTen: '#e6e6e6',
372
+ gray: '#efefef',
373
+ darkerGray: '#454141'
372
374
  }
373
375
  };
374
376
 
@@ -451,7 +453,7 @@
451
453
  };
452
454
 
453
455
  function _templateObject2$1() {
454
- var data = _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 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(33.33% - ", ");\n margin-bottom: ", ";\n margin-left: ", ";\n text-overflow: ellipsis;\n overflow-x: hidden;\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"]);
456
+ var data = _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"]);
455
457
 
456
458
  _templateObject2$1 = function _templateObject2() {
457
459
  return data;
@@ -478,14 +480,16 @@
478
480
  var multiselectorItemFadeIn = styled.keyframes(_templateObject$3(), multiSelectorItemMaxHeight);
479
481
  var StyledMultiselector = styled__default.div(_templateObject2$1(), function (props) {
480
482
  return props.theme.marginPaddings[2];
481
- }, function (props) {
482
- return props.theme.colors.primary;
483
483
  }, function (props) {
484
484
  return props.theme.colors.ntrlMin;
485
485
  }, function (props) {
486
486
  return props.theme.colors.primary;
487
+ }, function (props) {
488
+ return props.theme.colors.primary;
487
489
  }, function (props) {
488
490
  return props.theme.colors.ntrlMin;
491
+ }, function (props) {
492
+ return props.theme.colors.primary;
489
493
  }, function (props) {
490
494
  return props.theme.marginPaddings[0];
491
495
  }, multiSelectorItemAnimationDuration, multiselectorItemFadeIn, function (props) {
@@ -710,8 +714,18 @@
710
714
  }));
711
715
  });
712
716
 
717
+ function _templateObject2$2() {
718
+ var data = _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"]);
719
+
720
+ _templateObject2$2 = function _templateObject2() {
721
+ return data;
722
+ };
723
+
724
+ return data;
725
+ }
726
+
713
727
  function _templateObject$4() {
714
- var data = _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\n svg {\n margin-left: ", ";\n fill: ", ";\n stroke: ", ";\n }\n\n input {\n border: solid 1px transparent;\n font-size: ", ";\n transition: 0.2s border-color ease-in-out;\n margin-left: ", ";\n padding: 0 ", " 0\n ", " 0;\n\n :focus {\n border-color: ", ";\n }\n }\n }\n"]);
728
+ var data = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: bold;\n margin-bottom: 0;\n text-transform: uppercase;\n"]);
715
729
 
716
730
  _templateObject$4 = function _templateObject() {
717
731
  return data;
@@ -719,16 +733,48 @@
719
733
 
720
734
  return data;
721
735
  }
736
+ var Title = styled__default.h1(_templateObject$4(), function (props) {
737
+ return props.theme.fontSizes[2];
738
+ });
739
+ var InterestsSubheadingContainer = styled__default.div(_templateObject2$2(), function (props) {
740
+ return props.theme.marginPaddings[1];
741
+ }, function (props) {
742
+ return props.theme.colors.primary;
743
+ }, function (props) {
744
+ return props.theme.marginPaddings[3];
745
+ }, function (props) {
746
+ return props.theme.marginPaddings[3];
747
+ });
748
+
749
+ var InterestsSubheading = function InterestsSubheading(_ref) {
750
+ var title = _ref.title,
751
+ children = _ref.children,
752
+ className = _ref.className;
753
+ return React__default.createElement(InterestsSubheadingContainer, {
754
+ className: className
755
+ }, React__default.createElement(Title, null, title), React__default.createElement("div", null, children));
756
+ };
722
757
 
723
- var Title = function Title(_ref) {
758
+ function _templateObject$5() {
759
+ var data = _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"]);
760
+
761
+ _templateObject$5 = function _templateObject() {
762
+ return data;
763
+ };
764
+
765
+ return data;
766
+ }
767
+
768
+ var Title$1 = function Title(_ref) {
724
769
  var baseClass = _ref.baseClass,
725
770
  className = _ref.className,
726
771
  title = _ref.title,
727
772
  searchPlaceHolder = _ref.searchPlaceHolder,
728
773
  onSearchChanged = _ref.onSearchChanged;
729
- return React__default.createElement("div", {
730
- className: "".concat(className, " ").concat(baseClass, "__title")
731
- }, React__default.createElement("div", null, title), React__default.createElement("div", {
774
+ return React__default.createElement(InterestsSubheading, {
775
+ className: "".concat(className, " ").concat(baseClass, "__title"),
776
+ title: title
777
+ }, React__default.createElement("div", {
732
778
  className: "title__search"
733
779
  }, React__default.createElement(Search, null), React__default.createElement("input", {
734
780
  placeholder: searchPlaceHolder,
@@ -738,10 +784,12 @@
738
784
  })));
739
785
  };
740
786
 
741
- var StyledTitle = styled__default(Title)(_templateObject$4(), function (props) {
787
+ var StyledTitle = styled__default(Title$1)(_templateObject$5(), function (props) {
742
788
  return props.theme.marginPaddings[2];
743
789
  }, function (props) {
744
790
  return props.theme.fontSizes[2];
791
+ }, function (props) {
792
+ return props.theme.marginPaddings[0];
745
793
  }, function (props) {
746
794
  return props.theme.marginPaddings[3];
747
795
  }, function (props) {
@@ -752,14 +800,10 @@
752
800
  return props.theme.fontSizes[2];
753
801
  }, function (props) {
754
802
  return props.theme.marginPaddings[0];
755
- }, function (props) {
756
- return props.theme.marginPaddings[0];
757
- }, function (props) {
758
- return props.theme.marginPaddings[0];
759
803
  }, function (props) {
760
804
  return props.theme.colors.primary;
761
805
  });
762
- var Title$1 = themed(StyledTitle);
806
+ var Title$2 = themed(StyledTitle);
763
807
 
764
808
  var debounceBuilder = functions.debounced(200);
765
809
 
@@ -832,7 +876,7 @@
832
876
  requestInstance = _this$props.requestInstance;
833
877
  return React__default.createElement("div", {
834
878
  className: baseClass
835
- }, React__default.createElement(Title$1, {
879
+ }, React__default.createElement(Title$2, {
836
880
  title: title,
837
881
  baseClass: baseClass,
838
882
  searchPlaceHolder: searchPlaceHolder,
@@ -882,17 +926,19 @@
882
926
  baseQueryLimit: 12
883
927
  };
884
928
 
885
- function _templateObject$5() {
886
- var data = _taggedTemplateLiteral(["\n ", ";\n background-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"]);
929
+ function _templateObject$6() {
930
+ var data = _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"]);
887
931
 
888
- _templateObject$5 = function _templateObject() {
932
+ _templateObject$6 = function _templateObject() {
889
933
  return data;
890
934
  };
891
935
 
892
936
  return data;
893
937
  }
894
- var Button$2 = styled__default.button(_templateObject$5(), baseButtonStyle, function (props) {
938
+ var Button$2 = styled__default.button(_templateObject$6(), baseButtonStyle, function (props) {
895
939
  return props.theme.colors.primary;
940
+ }, function (props) {
941
+ return props.theme.colors.ntrlMin;
896
942
  }, function (props) {
897
943
  return props.theme.colors.primary;
898
944
  }, disabledButtonStyle, function (props) {
@@ -908,16 +954,16 @@
908
954
 
909
955
  var PrimaryButton$1 = themed(PrimaryButton);
910
956
 
911
- function _templateObject$6() {
957
+ function _templateObject$7() {
912
958
  var data = _taggedTemplateLiteral(["\n color: ", ";\n border: 1px solid ", ";\n background-color: ", ";\n &:hover {\n color: ", ";\n background-color: ", ";\n }\n"]);
913
959
 
914
- _templateObject$6 = function _templateObject() {
960
+ _templateObject$7 = function _templateObject() {
915
961
  return data;
916
962
  };
917
963
 
918
964
  return data;
919
965
  }
920
- var BaseButton = styled__default.button(_templateObject$6(), function (props) {
966
+ var BaseButton = styled__default.button(_templateObject$7(), function (props) {
921
967
  return props.theme.colors.base;
922
968
  }, function (props) {
923
969
  return props.theme.colors.borderColor;
@@ -957,7 +1003,7 @@
957
1003
  queryId: "getBrands",
958
1004
  baseClass: "brand-selector",
959
1005
  identifier: "brand-selector",
960
- searchPlaceHolder: "SEARCH BRANDS...",
1006
+ searchPlaceHolder: "Search brands",
961
1007
  category: category,
962
1008
  onChange: onChange,
963
1009
  graphApi: graphApi,
package/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
1
 
2
2
  ## Changelog
3
3
 
4
+ ### 2.7.3
5
+ - Fix container alignment of `AddInterest` and `InterestItem` so they match
6
+ - Center alignment trash icon in `InterestItem`
7
+ ### 2.7.1
8
+ - Change svg colors from pink to black
9
+ ### 2.7.0
10
+ - `AddInterest` and `InterestItem` have a new design that does not use the `Accordion` component
11
+ - Can add a watch as interest
4
12
  ### 2.6.2
5
13
  - Limit the width of the title of `InterestItem` so that it does not overlap with trash icon
6
14
  ### 2.6.1
package/Checkbox.js CHANGED
@@ -173,7 +173,9 @@
173
173
  baseLt: '#817c7c',
174
174
  borderColor: '#d8d8d8',
175
175
  ntrlMin: '#fff',
176
- ntrlMinTen: '#e6e6e6'
176
+ ntrlMinTen: '#e6e6e6',
177
+ gray: '#efefef',
178
+ darkerGray: '#454141'
177
179
  }
178
180
  };
179
181
 
package/CheckboxButton.js CHANGED
@@ -143,7 +143,9 @@
143
143
  baseLt: '#817c7c',
144
144
  borderColor: '#d8d8d8',
145
145
  ntrlMin: '#fff',
146
- ntrlMinTen: '#e6e6e6'
146
+ ntrlMinTen: '#e6e6e6',
147
+ gray: '#efefef',
148
+ darkerGray: '#454141'
147
149
  }
148
150
  };
149
151
 
@@ -187,7 +189,7 @@
187
189
  return data;
188
190
  }
189
191
  var Content = styled__default.div(_templateObject(), function (props) {
190
- return props.theme.colors.borderColor;
192
+ return props.theme.colors.primary;
191
193
  }, function (props) {
192
194
  return props.theme.marginPaddings[0];
193
195
  });
package/GenderSelector.js CHANGED
@@ -129,6 +129,47 @@
129
129
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
130
130
  }
131
131
 
132
+ function _templateObject2() {
133
+ var data = _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"]);
134
+
135
+ _templateObject2 = function _templateObject2() {
136
+ return data;
137
+ };
138
+
139
+ return data;
140
+ }
141
+
142
+ function _templateObject() {
143
+ var data = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: bold;\n margin-bottom: 0;\n text-transform: uppercase;\n"]);
144
+
145
+ _templateObject = function _templateObject() {
146
+ return data;
147
+ };
148
+
149
+ return data;
150
+ }
151
+ var Title = styled__default.h1(_templateObject(), function (props) {
152
+ return props.theme.fontSizes[2];
153
+ });
154
+ var InterestsSubheadingContainer = styled__default.div(_templateObject2(), function (props) {
155
+ return props.theme.marginPaddings[1];
156
+ }, function (props) {
157
+ return props.theme.colors.primary;
158
+ }, function (props) {
159
+ return props.theme.marginPaddings[3];
160
+ }, function (props) {
161
+ return props.theme.marginPaddings[3];
162
+ });
163
+
164
+ var InterestsSubheading = function InterestsSubheading(_ref) {
165
+ var title = _ref.title,
166
+ children = _ref.children,
167
+ className = _ref.className;
168
+ return React__default.createElement(InterestsSubheadingContainer, {
169
+ className: className
170
+ }, React__default.createElement(Title, null, title), React__default.createElement("div", null, children));
171
+ };
172
+
132
173
  var media = {
133
174
  xs: '576px',
134
175
  sm: '768px',
@@ -136,16 +177,16 @@
136
177
  lg: '1200px'
137
178
  };
138
179
 
139
- function _templateObject() {
180
+ function _templateObject$1() {
140
181
  var data = _taggedTemplateLiteral(["\n display: flex;\n margin-left: calc(-1 * ", ");\n label {\n margin-bottom: ", ";\n flex-basis: calc(33.33% - ", ");\n margin-bottom: ", ";\n margin-left: ", ";\n }\n @media (max-width: ", ") {\n label {\n flex-basis: calc(50% - ", ");\n }\n }\n"]);
141
182
 
142
- _templateObject = function _templateObject() {
183
+ _templateObject$1 = function _templateObject() {
143
184
  return data;
144
185
  };
145
186
 
146
187
  return data;
147
188
  }
148
- var SelectionWrapper = styled__default.div(_templateObject(), function (props) {
189
+ var SelectionWrapper = styled__default.div(_templateObject$1(), function (props) {
149
190
  return props.theme.marginPaddings[2];
150
191
  }, function (props) {
151
192
  return props.theme.marginPaddings[2];
@@ -179,7 +220,9 @@
179
220
  baseLt: '#817c7c',
180
221
  borderColor: '#d8d8d8',
181
222
  ntrlMin: '#fff',
182
- ntrlMinTen: '#e6e6e6'
223
+ ntrlMinTen: '#e6e6e6',
224
+ gray: '#efefef',
225
+ darkerGray: '#454141'
183
226
  }
184
227
  };
185
228
 
@@ -203,31 +246,31 @@
203
246
  return data;
204
247
  }
205
248
 
206
- function _templateObject2() {
249
+ function _templateObject2$1() {
207
250
  var data = _taggedTemplateLiteral(["\n transition: 200ms ease-in;\n margin-left: auto;\n margin-right: auto;\n"]);
208
251
 
209
- _templateObject2 = function _templateObject2() {
252
+ _templateObject2$1 = function _templateObject2() {
210
253
  return data;
211
254
  };
212
255
 
213
256
  return data;
214
257
  }
215
258
 
216
- function _templateObject$1() {
259
+ function _templateObject$2() {
217
260
  var data = _taggedTemplateLiteral(["\n background-color: transparent;\n border: 1px solid ", ";\n transition: 200ms ease-in-out;\n display: flex;\n align-items: center;\n justify-content: space-between;\n padding: ", ";\n cursor: pointer;\n"]);
218
261
 
219
- _templateObject$1 = function _templateObject() {
262
+ _templateObject$2 = function _templateObject() {
220
263
  return data;
221
264
  };
222
265
 
223
266
  return data;
224
267
  }
225
- var Content = styled__default.div(_templateObject$1(), function (props) {
226
- return props.theme.colors.borderColor;
268
+ var Content = styled__default.div(_templateObject$2(), function (props) {
269
+ return props.theme.colors.primary;
227
270
  }, function (props) {
228
271
  return props.theme.marginPaddings[0];
229
272
  });
230
- var InputText = styled__default.div(_templateObject2());
273
+ var InputText = styled__default.div(_templateObject2$1());
231
274
  var StyledLabel = styled__default.label(_templateObject3(), InputText, function (props) {
232
275
  return props.theme.colors.primary;
233
276
  }, Content, function (props) {
@@ -325,22 +368,8 @@
325
368
  name: ''
326
369
  };
327
370
 
328
- function _templateObject$2() {
329
- var data = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: bold;\n margin-bottom: ", ";\n"]);
330
-
331
- _templateObject$2 = function _templateObject() {
332
- return data;
333
- };
334
-
335
- return data;
336
- }
337
371
  var MALE$1 = genders.MALE,
338
372
  FEMALE$1 = genders.FEMALE;
339
- var Title = styled__default.div(_templateObject$2(), function (props) {
340
- return props.theme.fontSizes[2];
341
- }, function (props) {
342
- return props.theme.marginPaddings[2];
343
- });
344
373
 
345
374
  /**
346
375
  * GenderSelector: specialized selector to pick genders for the Interest Component
@@ -352,9 +381,9 @@
352
381
  femaleInputRef = _ref.femaleInputRef;
353
382
  return React__default.createElement("div", {
354
383
  className: "gender-selector"
355
- }, React__default.createElement(Title, {
356
- className: "gender-selector__title"
357
- }, "Department"), React__default.createElement(SelectionWrapper, {
384
+ }, React__default.createElement(InterestsSubheading, {
385
+ title: "Department"
386
+ }), React__default.createElement(SelectionWrapper, {
358
387
  className: "gender-selector__selection-wrapper"
359
388
  }, React__default.createElement(GenderCheckbox, {
360
389
  className: "gender-selector__selection-wrapper__input-container",
@@ -333,7 +333,7 @@
333
333
  };
334
334
 
335
335
  function _templateObject2() {
336
- var data = _taggedTemplateLiteral(["\n padding: 1rem 0.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: 75px;\n"]);
336
+ var data = _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"]);
337
337
 
338
338
  _templateObject2 = function _templateObject2() {
339
339
  return data;
@@ -368,7 +368,9 @@
368
368
  baseLt: '#817c7c',
369
369
  borderColor: '#d8d8d8',
370
370
  ntrlMin: '#fff',
371
- ntrlMinTen: '#e6e6e6'
371
+ ntrlMinTen: '#e6e6e6',
372
+ gray: '#efefef',
373
+ darkerGray: '#454141'
372
374
  }
373
375
  };
374
376
 
@@ -451,7 +453,7 @@
451
453
  };
452
454
 
453
455
  function _templateObject2$1() {
454
- var data = _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 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(33.33% - ", ");\n margin-bottom: ", ";\n margin-left: ", ";\n text-overflow: ellipsis;\n overflow-x: hidden;\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"]);
456
+ var data = _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"]);
455
457
 
456
458
  _templateObject2$1 = function _templateObject2() {
457
459
  return data;
@@ -478,14 +480,16 @@
478
480
  var multiselectorItemFadeIn = styled.keyframes(_templateObject$3(), multiSelectorItemMaxHeight);
479
481
  var StyledMultiselector = styled__default.div(_templateObject2$1(), function (props) {
480
482
  return props.theme.marginPaddings[2];
481
- }, function (props) {
482
- return props.theme.colors.primary;
483
483
  }, function (props) {
484
484
  return props.theme.colors.ntrlMin;
485
485
  }, function (props) {
486
486
  return props.theme.colors.primary;
487
+ }, function (props) {
488
+ return props.theme.colors.primary;
487
489
  }, function (props) {
488
490
  return props.theme.colors.ntrlMin;
491
+ }, function (props) {
492
+ return props.theme.colors.primary;
489
493
  }, function (props) {
490
494
  return props.theme.marginPaddings[0];
491
495
  }, multiSelectorItemAnimationDuration, multiselectorItemFadeIn, function (props) {
package/IconHeader.js CHANGED
@@ -58,7 +58,9 @@
58
58
  baseLt: '#817c7c',
59
59
  borderColor: '#d8d8d8',
60
60
  ntrlMin: '#fff',
61
- ntrlMinTen: '#e6e6e6'
61
+ ntrlMinTen: '#e6e6e6',
62
+ gray: '#efefef',
63
+ darkerGray: '#454141'
62
64
  }
63
65
  };
64
66
 
package/IconWrapper.js ADDED
@@ -0,0 +1,38 @@
1
+ (function (global, factory) {
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('styled-components')) :
3
+ typeof define === 'function' && define.amd ? define(['styled-components'], factory) :
4
+ (global = global || self, global.IconWrapper = factory(global.styled));
5
+ }(this, (function (styled) { 'use strict';
6
+
7
+ styled = styled && Object.prototype.hasOwnProperty.call(styled, 'default') ? styled['default'] : styled;
8
+
9
+ function _taggedTemplateLiteral(strings, raw) {
10
+ if (!raw) {
11
+ raw = strings.slice(0);
12
+ }
13
+
14
+ return Object.freeze(Object.defineProperties(strings, {
15
+ raw: {
16
+ value: Object.freeze(raw)
17
+ }
18
+ }));
19
+ }
20
+
21
+ function _templateObject() {
22
+ var data = _taggedTemplateLiteral(["\n border: 1px solid ", ";\n height: auto;\n margin-bottom: 1rem;\n margin-left: 1rem;\n display: flex;\n align-items: center;\n height: auto;\n\n :hover {\n background-color: ", ";\n cursor: pointer;\n }\n\n #svg-trash {\n width: 15px;\n }\n"]);
23
+
24
+ _templateObject = function _templateObject() {
25
+ return data;
26
+ };
27
+
28
+ return data;
29
+ }
30
+ var IconWrapper = styled.div(_templateObject(), function (props) {
31
+ return props.theme.colors.borderColor;
32
+ }, function (props) {
33
+ return props.theme.colors.borderColor;
34
+ });
35
+
36
+ return IconWrapper;
37
+
38
+ })));