@bonlineza/luxity-lib 2.7.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/AddInterest.js CHANGED
@@ -853,7 +853,7 @@
853
853
  var InvertedTextButton$1 = themed(InvertedTextButton);
854
854
 
855
855
  function _templateObject2$2() {
856
- 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(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"]);
856
+ 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"]);
857
857
 
858
858
  _templateObject2$2 = function _templateObject2() {
859
859
  return data;
@@ -1115,7 +1115,7 @@
1115
1115
  });
1116
1116
 
1117
1117
  function _templateObject2$3() {
1118
- var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n border-bottom: 1px solid ", ";\n margin-bottom: ", ";\n margin-top: ", ";\n"]);
1118
+ 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"]);
1119
1119
 
1120
1120
  _templateObject2$3 = function _templateObject2() {
1121
1121
  return data;
@@ -1125,7 +1125,7 @@
1125
1125
  }
1126
1126
 
1127
1127
  function _templateObject$9() {
1128
- var data = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: bold;\n margin-bottom: ", ";\n text-transform: uppercase;\n"]);
1128
+ var data = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: bold;\n margin-bottom: 0;\n text-transform: uppercase;\n"]);
1129
1129
 
1130
1130
  _templateObject$9 = function _templateObject() {
1131
1131
  return data;
@@ -1135,10 +1135,10 @@
1135
1135
  }
1136
1136
  var Title = styled__default.h1(_templateObject$9(), function (props) {
1137
1137
  return props.theme.fontSizes[2];
1138
- }, function (props) {
1139
- return props.theme.marginPaddings[2];
1140
1138
  });
1141
1139
  var InterestsSubheadingContainer = styled__default.div(_templateObject2$3(), function (props) {
1140
+ return props.theme.marginPaddings[1];
1141
+ }, function (props) {
1142
1142
  return props.theme.colors.primary;
1143
1143
  }, function (props) {
1144
1144
  return props.theme.marginPaddings[3];
@@ -1156,7 +1156,7 @@
1156
1156
  };
1157
1157
 
1158
1158
  function _templateObject$a() {
1159
- 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 width: 140px;\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 border-bottom: none;\n }\n }\n }\n"]);
1159
+ 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"]);
1160
1160
 
1161
1161
  _templateObject$a = function _templateObject() {
1162
1162
  return data;
@@ -1188,6 +1188,8 @@
1188
1188
  return props.theme.marginPaddings[2];
1189
1189
  }, function (props) {
1190
1190
  return props.theme.fontSizes[2];
1191
+ }, function (props) {
1192
+ return props.theme.marginPaddings[0];
1191
1193
  }, function (props) {
1192
1194
  return props.theme.marginPaddings[3];
1193
1195
  }, function (props) {
@@ -1198,10 +1200,6 @@
1198
1200
  return props.theme.fontSizes[2];
1199
1201
  }, function (props) {
1200
1202
  return props.theme.marginPaddings[0];
1201
- }, function (props) {
1202
- return props.theme.marginPaddings[0];
1203
- }, function (props) {
1204
- return props.theme.marginPaddings[0];
1205
1203
  }, function (props) {
1206
1204
  return props.theme.colors.primary;
1207
1205
  });
@@ -2557,7 +2555,7 @@
2557
2555
  };
2558
2556
 
2559
2557
  function _templateObject$i() {
2560
- var data = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: bold;\n margin-bottom: ", ";\n"]);
2558
+ var data = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"]);
2561
2559
 
2562
2560
  _templateObject$i = function _templateObject() {
2563
2561
  return data;
@@ -2565,124 +2563,109 @@
2565
2563
 
2566
2564
  return data;
2567
2565
  }
2568
- var SliderTitle = styled__default.div(_templateObject$i(), function (props) {
2569
- return props.theme.fontSizes[2];
2570
- }, function (props) {
2571
- return props.theme.marginPaddings[3];
2572
- });
2566
+ var RadioButtonsContainer = styled__default.div(_templateObject$i());
2573
2567
 
2574
2568
  function _templateObject$j() {
2575
- var data = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"]);
2576
-
2577
- _templateObject$j = function _templateObject() {
2578
- return data;
2579
- };
2580
-
2581
- return data;
2582
- }
2583
- var RadioButtonsContainer = styled__default.div(_templateObject$j());
2584
-
2585
- function _templateObject$k() {
2586
2569
  var data = _taggedTemplateLiteral(["\n display: flex;\n flex-grow: 1;\n flex-wrap: ", ";\n"]);
2587
2570
 
2588
- _templateObject$k = function _templateObject() {
2571
+ _templateObject$j = function _templateObject() {
2589
2572
  return data;
2590
2573
  };
2591
2574
 
2592
2575
  return data;
2593
2576
  }
2594
- var ButtonListWrapper = styled__default.div(_templateObject$k(), function (_ref) {
2577
+ var ButtonListWrapper = styled__default.div(_templateObject$j(), function (_ref) {
2595
2578
  var noWrap = _ref.noWrap;
2596
2579
  return noWrap ? 'nowrap' : 'wrap';
2597
2580
  });
2598
2581
 
2599
- function _templateObject$l() {
2582
+ function _templateObject$k() {
2600
2583
  var data = _taggedTemplateLiteral(["\n font-weight: bold;\n color: ", ";\n flex-basis: 40%;\n"]);
2601
2584
 
2602
- _templateObject$l = function _templateObject() {
2585
+ _templateObject$k = function _templateObject() {
2603
2586
  return data;
2604
2587
  };
2605
2588
 
2606
2589
  return data;
2607
2590
  }
2608
- var Title$3 = styled__default.div(_templateObject$l(), function (props) {
2591
+ var Title$3 = styled__default.div(_templateObject$k(), function (props) {
2609
2592
  return props.theme.colors.base;
2610
2593
  });
2611
2594
 
2612
- function _templateObject$m() {
2595
+ function _templateObject$l() {
2613
2596
  var data = _taggedTemplateLiteral(["\n display: flex;\n margin-bottom: ", ";\n margin-right: ", ";\n"]);
2614
2597
 
2615
- _templateObject$m = function _templateObject() {
2598
+ _templateObject$l = function _templateObject() {
2616
2599
  return data;
2617
2600
  };
2618
2601
 
2619
2602
  return data;
2620
2603
  }
2621
- var RadioButtonLabel = styled__default.label(_templateObject$m(), function (props) {
2604
+ var RadioButtonLabel = styled__default.label(_templateObject$l(), function (props) {
2622
2605
  return props.theme.marginPaddings[0];
2623
2606
  }, function (props) {
2624
2607
  return props.theme.marginPaddings[0];
2625
2608
  });
2626
2609
 
2627
- function _templateObject$n() {
2610
+ function _templateObject$m() {
2628
2611
  var data = _taggedTemplateLiteral(["\n height: 20px;\n width: 20px;\n border-radius: 50%;\n margin-right: 5px;\n border: 1px solid ", ";\n display: flex;\n"]);
2629
2612
 
2630
- _templateObject$n = function _templateObject() {
2613
+ _templateObject$m = function _templateObject() {
2631
2614
  return data;
2632
2615
  };
2633
2616
 
2634
2617
  return data;
2635
2618
  }
2636
- var RadioButtonCircle = styled__default.div(_templateObject$n(), function (props) {
2619
+ var RadioButtonCircle = styled__default.div(_templateObject$m(), function (props) {
2637
2620
  return props.theme.colors.base;
2638
2621
  });
2639
2622
 
2640
- function _templateObject$o() {
2623
+ function _templateObject$n() {
2641
2624
  var data = _taggedTemplateLiteral(["\n height: 8px;\n width: 8px;\n border-radius: 50%;\n margin: auto;\n"]);
2642
2625
 
2643
- _templateObject$o = function _templateObject() {
2626
+ _templateObject$n = function _templateObject() {
2644
2627
  return data;
2645
2628
  };
2646
2629
 
2647
2630
  return data;
2648
2631
  }
2649
- var RadioButtonCircleInner = styled__default.div(_templateObject$o());
2632
+ var RadioButtonCircleInner = styled__default.div(_templateObject$n());
2650
2633
 
2651
- function _templateObject$p() {
2634
+ function _templateObject$o() {
2652
2635
  var data = _taggedTemplateLiteral(["\n display: none;\n :checked ~ ", " {\n ", " {\n background-color: ", ";\n }\n }\n"]);
2653
2636
 
2654
- _templateObject$p = function _templateObject() {
2637
+ _templateObject$o = function _templateObject() {
2655
2638
  return data;
2656
2639
  };
2657
2640
 
2658
2641
  return data;
2659
2642
  }
2660
- var RadioButtonInput = styled__default.input(_templateObject$p(), RadioButtonCircle, RadioButtonCircleInner, function (props) {
2643
+ var RadioButtonInput = styled__default.input(_templateObject$o(), RadioButtonCircle, RadioButtonCircleInner, function (props) {
2661
2644
  return props.theme.colors.base;
2662
2645
  });
2663
2646
 
2664
- function _templateObject$q() {
2647
+ function _templateObject$p() {
2665
2648
  var data = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n"]);
2666
2649
 
2667
- _templateObject$q = function _templateObject() {
2650
+ _templateObject$p = function _templateObject() {
2668
2651
  return data;
2669
2652
  };
2670
2653
 
2671
2654
  return data;
2672
2655
  }
2673
- var RadioButtonText = styled__default.div(_templateObject$q());
2656
+ var RadioButtonText = styled__default.div(_templateObject$p());
2674
2657
 
2675
- function _templateObject$r() {
2658
+ function _templateObject$q() {
2676
2659
  var data = _taggedTemplateLiteral(["\n cursor: pointer;\n position: relative;\n display: flex;\n align-items: center;\n\n span {\n :before {\n content: '\\2713';\n position: absolute;\n display: none;\n color: white;\n left: 0.4em;\n top: 0.1em;\n font-size: ", ";\n text-align: center;\n }\n }\n\n input {\n font-size: ", ";\n background-color: ", ";\n appearance: none;\n outline: none;\n height: 1em;\n width: 1em;\n margin-right: ", ";\n border: 1px solid ", ";\n border-radius: ", ";\n transition-duration: 0.3s;\n cursor: pointer;\n\n &:checked {\n background-color: ", ";\n }\n\n &:checked + span:before {\n display: block;\n }\n }\n"], ["\n cursor: pointer;\n position: relative;\n display: flex;\n align-items: center;\n\n span {\n :before {\n content: '\\\\2713';\n position: absolute;\n display: none;\n color: white;\n left: 0.4em;\n top: 0.1em;\n font-size: ", ";\n text-align: center;\n }\n }\n\n input {\n font-size: ", ";\n background-color: ", ";\n appearance: none;\n outline: none;\n height: 1em;\n width: 1em;\n margin-right: ", ";\n border: 1px solid ", ";\n border-radius: ", ";\n transition-duration: 0.3s;\n cursor: pointer;\n\n &:checked {\n background-color: ", ";\n }\n\n &:checked + span:before {\n display: block;\n }\n }\n"]);
2677
2660
 
2678
- _templateObject$r = function _templateObject() {
2661
+ _templateObject$q = function _templateObject() {
2679
2662
  return data;
2680
2663
  };
2681
2664
 
2682
2665
  return data;
2683
2666
  }
2684
2667
  var inputMarginRight = '0.2em';
2685
- var CheckboxLabel = styled__default.label(_templateObject$r(), function (props) {
2668
+ var CheckboxLabel = styled__default.label(_templateObject$q(), function (props) {
2686
2669
  var _props$theme;
2687
2670
 
2688
2671
  return ((_props$theme = props.theme) === null || _props$theme === void 0 ? void 0 : _props$theme.fontSizes.length) ? props.theme.fontSizes[4] : '1em';
@@ -2779,18 +2762,18 @@
2779
2762
  return data;
2780
2763
  }
2781
2764
 
2782
- function _templateObject$s() {
2783
- var data = _taggedTemplateLiteral(["\n display: flex;\n flex-flow: nowrap row;\n justify-content: space-between;\n margin-bottom: ", ";\n label,\n ", " {\n margin-bottom: 0;\n }\n"]);
2765
+ function _templateObject$r() {
2766
+ var data = _taggedTemplateLiteral(["\n display: flex;\n flex-flow: nowrap row;\n justify-content: space-between;\n margin-bottom: ", ";\n label {\n margin-bottom: 0;\n }\n"]);
2784
2767
 
2785
- _templateObject$s = function _templateObject() {
2768
+ _templateObject$r = function _templateObject() {
2786
2769
  return data;
2787
2770
  };
2788
2771
 
2789
2772
  return data;
2790
2773
  }
2791
- var TitleWrapper = styled__default.div(_templateObject$s(), function (props) {
2774
+ var TitleWrapper = styled__default.div(_templateObject$r(), function (props) {
2792
2775
  return props.theme.marginPaddings[4];
2793
- }, SliderTitle);
2776
+ });
2794
2777
  var onShoeSizeTypeChangeTimeout = 300;
2795
2778
  var ShoeSizeFadeContainer = styled__default.div(_templateObject2$5(), onShoeSizeTypeChangeTimeout, function (props) {
2796
2779
  return props.childVisible ? 1 : 0;
@@ -2906,7 +2889,9 @@
2906
2889
 
2907
2890
  return React__default.createElement(LuxityPageReady, {
2908
2891
  getRequestPromise: triggerRequest
2909
- }, React__default.createElement(TitleWrapper, null, React__default.createElement(SliderTitle, null, "Shoe Size Range"), React__default.createElement(RadioButtons$1, shoeSizeTypeProps)), React__default.createElement(LuxityPageReadyContext.Consumer, null, function (_ref3) {
2892
+ }, React__default.createElement(TitleWrapper, null, React__default.createElement(InterestsSubheading, {
2893
+ title: "Shoe Size Range"
2894
+ }, React__default.createElement(RadioButtons$1, shoeSizeTypeProps))), React__default.createElement(LuxityPageReadyContext.Consumer, null, function (_ref3) {
2910
2895
  var _ref3$data$data = _ref3.data.data,
2911
2896
  _ref3$data$data$luxit = _ref3$data$data.luxity_eu_shoe_sizes,
2912
2897
  luxity_eu_shoe_sizes = _ref3$data$data$luxit === void 0 ? [] : _ref3$data$data$luxit,
@@ -2961,16 +2946,16 @@
2961
2946
  inputMode: 'numeric'
2962
2947
  };
2963
2948
 
2964
- function _templateObject$t() {
2949
+ function _templateObject$s() {
2965
2950
  var data = _taggedTemplateLiteral(["\n ", ";\n background-color: ", ";\n color: ", ";\n border: 1px solid ", ";\n &:hover {\n background-color: ", ";\n color: ", ";\n }\n &:disabled {\n ", "\n &:hover {\n background-color: ", ";\n }\n }\n"]);
2966
2951
 
2967
- _templateObject$t = function _templateObject() {
2952
+ _templateObject$s = function _templateObject() {
2968
2953
  return data;
2969
2954
  };
2970
2955
 
2971
2956
  return data;
2972
2957
  }
2973
- var Button$4 = styled__default.button(_templateObject$t(), baseButtonStyle, function (props) {
2958
+ var Button$4 = styled__default.button(_templateObject$s(), baseButtonStyle, function (props) {
2974
2959
  return props.theme.colors.ntrlMin;
2975
2960
  }, function (props) {
2976
2961
  return props.theme.colors.primary;
@@ -2993,16 +2978,16 @@
2993
2978
 
2994
2979
  var SecondaryButton$1 = themed(SecondaryButton);
2995
2980
 
2996
- function _templateObject$u() {
2981
+ function _templateObject$t() {
2997
2982
  var data = _taggedTemplateLiteral(["\n display: flex;\n flex-flow: row nowrap;\n justify-content: space-between;\n\n input[data-qe-id='masked-input-min'],\n input[data-qe-id='masked-input-max'] {\n flex-basis: 30%;\n border-left: none;\n border-right: none;\n border-top: none;\n border-bottom: 1px solid ", ";\n }\n"]);
2998
2983
 
2999
- _templateObject$u = function _templateObject() {
2984
+ _templateObject$t = function _templateObject() {
3000
2985
  return data;
3001
2986
  };
3002
2987
 
3003
2988
  return data;
3004
2989
  }
3005
- var CurrencyInputWrapper = styled__default.div(_templateObject$u(), function (props) {
2990
+ var CurrencyInputWrapper = styled__default.div(_templateObject$t(), function (props) {
3006
2991
  return props.theme.colors.primary;
3007
2992
  });
3008
2993
 
@@ -3133,16 +3118,16 @@
3133
3118
  Notifications.notify.show(message, 'error', defaultNotifyTime);
3134
3119
  };
3135
3120
 
3136
- function _templateObject$v() {
3121
+ function _templateObject$u() {
3137
3122
  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"]);
3138
3123
 
3139
- _templateObject$v = function _templateObject() {
3124
+ _templateObject$u = function _templateObject() {
3140
3125
  return data;
3141
3126
  };
3142
3127
 
3143
3128
  return data;
3144
3129
  }
3145
- var SelectionWrapper = styled__default.div(_templateObject$v(), function (props) {
3130
+ var SelectionWrapper = styled__default.div(_templateObject$u(), function (props) {
3146
3131
  return props.theme.marginPaddings[2];
3147
3132
  }, function (props) {
3148
3133
  return props.theme.marginPaddings[2];
@@ -3176,16 +3161,16 @@
3176
3161
  return data;
3177
3162
  }
3178
3163
 
3179
- function _templateObject$w() {
3164
+ function _templateObject$v() {
3180
3165
  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"]);
3181
3166
 
3182
- _templateObject$w = function _templateObject() {
3167
+ _templateObject$v = function _templateObject() {
3183
3168
  return data;
3184
3169
  };
3185
3170
 
3186
3171
  return data;
3187
3172
  }
3188
- var Content = styled__default.div(_templateObject$w(), function (props) {
3173
+ var Content = styled__default.div(_templateObject$v(), function (props) {
3189
3174
  return props.theme.colors.primary;
3190
3175
  }, function (props) {
3191
3176
  return props.theme.marginPaddings[0];
@@ -3350,34 +3335,34 @@
3350
3335
  }));
3351
3336
  });
3352
3337
 
3353
- function _templateObject$x() {
3354
- var data = _taggedTemplateLiteral(["\n padding: 1rem;\n svg {\n width: 23px;\n height: auto;\n }\n"]);
3338
+ function _templateObject$w() {
3339
+ var data = _taggedTemplateLiteral(["\n padding: 1rem;\n display: flex;\n svg {\n width: 23px;\n height: auto;\n }\n"]);
3355
3340
 
3356
- _templateObject$x = function _templateObject() {
3341
+ _templateObject$w = function _templateObject() {
3357
3342
  return data;
3358
3343
  };
3359
3344
 
3360
3345
  return data;
3361
3346
  }
3362
- var SvgWrapper$1 = styled__default.span(_templateObject$x());
3347
+ var SvgWrapper$1 = styled__default.span(_templateObject$w());
3363
3348
 
3364
- function _templateObject$y() {
3349
+ function _templateObject$x() {
3365
3350
  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"]);
3366
3351
 
3367
- _templateObject$y = function _templateObject() {
3352
+ _templateObject$x = function _templateObject() {
3368
3353
  return data;
3369
3354
  };
3370
3355
 
3371
3356
  return data;
3372
3357
  }
3373
- var IconWrapper = styled__default.div(_templateObject$y(), function (props) {
3358
+ var IconWrapper = styled__default.div(_templateObject$x(), function (props) {
3374
3359
  return props.theme.colors.borderColor;
3375
3360
  }, function (props) {
3376
3361
  return props.theme.colors.borderColor;
3377
3362
  });
3378
3363
 
3379
3364
  function _templateObject5() {
3380
- var data = _taggedTemplateLiteral(["\n display: flex;\n\n #add-icon {\n margin-bottom: 1.5rem;\n }\n"]);
3365
+ var data = _taggedTemplateLiteral(["\n display: flex;\n\n #add-icon {\n margin-bottom: 1.5rem;\n\n svg {\n width: 15px;\n }\n }\n"]);
3381
3366
 
3382
3367
  _templateObject5 = function _templateObject5() {
3383
3368
  return data;
@@ -3387,7 +3372,7 @@
3387
3372
  }
3388
3373
 
3389
3374
  function _templateObject4$1() {
3390
- var data = _taggedTemplateLiteral(["\n font-weight: bold;\n color: ", ";\n border: 1px solid ", ";\n padding: ", ";\n margin-bottom: ", ";\n width: 95%;\n font-size: 17px;\n"]);
3375
+ var data = _taggedTemplateLiteral(["\n font-weight: bold;\n color: ", ";\n border: 1px solid ", ";\n padding-top: ", ";\n margin-bottom: ", ";\n padding-left: 1.5rem;\n width: 95%;\n font-size: 17px;\n"]);
3391
3376
 
3392
3377
  _templateObject4$1 = function _templateObject4() {
3393
3378
  return data;
@@ -3416,17 +3401,17 @@
3416
3401
  return data;
3417
3402
  }
3418
3403
 
3419
- function _templateObject$z() {
3404
+ function _templateObject$y() {
3420
3405
  var data = _taggedTemplateLiteral(["\n margin-bottom: ", ";\n border: 1px solid ", ";\n padding: ", ";\n"]);
3421
3406
 
3422
- _templateObject$z = function _templateObject() {
3407
+ _templateObject$y = function _templateObject() {
3423
3408
  return data;
3424
3409
  };
3425
3410
 
3426
3411
  return data;
3427
3412
  }
3428
3413
  var UNISEX = genders.UNISEX;
3429
- var AddInterestContainer = styled__default.div(_templateObject$z(), function (props) {
3414
+ var AddInterestContainer = styled__default.div(_templateObject$y(), function (props) {
3430
3415
  return props.theme.marginPaddings[6];
3431
3416
  }, function (props) {
3432
3417
  return props.theme.colors.borderColor;
@@ -3450,7 +3435,7 @@
3450
3435
  }, function (props) {
3451
3436
  return props.theme.colors.borderColor;
3452
3437
  }, function (props) {
3453
- return props.theme.marginPaddings[1];
3438
+ return props.theme.marginPaddings[0];
3454
3439
  }, function (props) {
3455
3440
  return props.theme.marginPaddings[2];
3456
3441
  });
package/BrandSelector.js CHANGED
@@ -453,7 +453,7 @@
453
453
  };
454
454
 
455
455
  function _templateObject2$1() {
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(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"]);
457
457
 
458
458
  _templateObject2$1 = function _templateObject2() {
459
459
  return data;
@@ -715,7 +715,7 @@
715
715
  });
716
716
 
717
717
  function _templateObject2$2() {
718
- var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n border-bottom: 1px solid ", ";\n margin-bottom: ", ";\n margin-top: ", ";\n"]);
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
719
 
720
720
  _templateObject2$2 = function _templateObject2() {
721
721
  return data;
@@ -725,7 +725,7 @@
725
725
  }
726
726
 
727
727
  function _templateObject$4() {
728
- var data = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: bold;\n margin-bottom: ", ";\n text-transform: uppercase;\n"]);
728
+ var data = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: bold;\n margin-bottom: 0;\n text-transform: uppercase;\n"]);
729
729
 
730
730
  _templateObject$4 = function _templateObject() {
731
731
  return data;
@@ -735,10 +735,10 @@
735
735
  }
736
736
  var Title = styled__default.h1(_templateObject$4(), function (props) {
737
737
  return props.theme.fontSizes[2];
738
- }, function (props) {
739
- return props.theme.marginPaddings[2];
740
738
  });
741
739
  var InterestsSubheadingContainer = styled__default.div(_templateObject2$2(), function (props) {
740
+ return props.theme.marginPaddings[1];
741
+ }, function (props) {
742
742
  return props.theme.colors.primary;
743
743
  }, function (props) {
744
744
  return props.theme.marginPaddings[3];
@@ -756,7 +756,7 @@
756
756
  };
757
757
 
758
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\n svg {\n margin-left: ", ";\n fill: ", ";\n stroke: ", ";\n }\n\n input {\n width: 140px;\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 border-bottom: none;\n }\n }\n }\n"]);
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
760
 
761
761
  _templateObject$5 = function _templateObject() {
762
762
  return data;
@@ -788,6 +788,8 @@
788
788
  return props.theme.marginPaddings[2];
789
789
  }, function (props) {
790
790
  return props.theme.fontSizes[2];
791
+ }, function (props) {
792
+ return props.theme.marginPaddings[0];
791
793
  }, function (props) {
792
794
  return props.theme.marginPaddings[3];
793
795
  }, function (props) {
@@ -798,10 +800,6 @@
798
800
  return props.theme.fontSizes[2];
799
801
  }, function (props) {
800
802
  return props.theme.marginPaddings[0];
801
- }, function (props) {
802
- return props.theme.marginPaddings[0];
803
- }, function (props) {
804
- return props.theme.marginPaddings[0];
805
803
  }, function (props) {
806
804
  return props.theme.colors.primary;
807
805
  });
package/CHANGELOG.md CHANGED
@@ -1,8 +1,9 @@
1
1
 
2
2
  ## Changelog
3
3
 
4
- ### 2.7.2
5
- - Dont show `MyInterestTitleHeading` if dont have interest items
4
+ ### 2.7.3
5
+ - Fix container alignment of `AddInterest` and `InterestItem` so they match
6
+ - Center alignment trash icon in `InterestItem`
6
7
  ### 2.7.1
7
8
  - Change svg colors from pink to black
8
9
  ### 2.7.0
package/GenderSelector.js CHANGED
@@ -130,7 +130,7 @@
130
130
  }
131
131
 
132
132
  function _templateObject2() {
133
- var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n border-bottom: 1px solid ", ";\n margin-bottom: ", ";\n margin-top: ", ";\n"]);
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
134
 
135
135
  _templateObject2 = function _templateObject2() {
136
136
  return data;
@@ -140,7 +140,7 @@
140
140
  }
141
141
 
142
142
  function _templateObject() {
143
- var data = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: bold;\n margin-bottom: ", ";\n text-transform: uppercase;\n"]);
143
+ var data = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: bold;\n margin-bottom: 0;\n text-transform: uppercase;\n"]);
144
144
 
145
145
  _templateObject = function _templateObject() {
146
146
  return data;
@@ -150,10 +150,10 @@
150
150
  }
151
151
  var Title = styled__default.h1(_templateObject(), function (props) {
152
152
  return props.theme.fontSizes[2];
153
- }, function (props) {
154
- return props.theme.marginPaddings[2];
155
153
  });
156
154
  var InterestsSubheadingContainer = styled__default.div(_templateObject2(), function (props) {
155
+ return props.theme.marginPaddings[1];
156
+ }, function (props) {
157
157
  return props.theme.colors.primary;
158
158
  }, function (props) {
159
159
  return props.theme.marginPaddings[3];
@@ -453,7 +453,7 @@
453
453
  };
454
454
 
455
455
  function _templateObject2$1() {
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(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"]);
457
457
 
458
458
  _templateObject2$1 = function _templateObject2() {
459
459
  return data;
package/InterestItem.js CHANGED
@@ -271,7 +271,7 @@
271
271
  });
272
272
 
273
273
  function _templateObject() {
274
- var data = _taggedTemplateLiteral(["\n padding: 1rem;\n svg {\n width: 23px;\n height: auto;\n }\n"]);
274
+ var data = _taggedTemplateLiteral(["\n padding: 1rem;\n display: flex;\n svg {\n width: 23px;\n height: auto;\n }\n"]);
275
275
 
276
276
  _templateObject = function _templateObject() {
277
277
  return data;
@@ -334,7 +334,7 @@
334
334
  };
335
335
 
336
336
  function _templateObject4() {
337
- var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n width: 95%;\n border: 1px solid ", ";\n padding: 0.5em;\n margin-bottom: ", ";\n\n .interest-item__container_heading {\n color: ", ";\n flex-basis: calc(100% / 6);\n margin-left: ", ";\n\n @media (max-width: ", ") {\n display: inline;\n }\n }\n\n .list-items {\n display: inline-flex;\n flex-direction: column;\n\n @media (max-width: ", ") {\n margin-left: ", ";\n }\n }\n\n @media (max-width: ", ") {\n flex-direction: column;\n }\n"]);
337
+ var data = _taggedTemplateLiteral(["\n display: flex;\n justify-content: space-between;\n width: 95%;\n border: 1px solid ", ";\n padding: 0.5em;\n margin-bottom: ", ";\n\n .interest-item__container_heading {\n color: ", ";\n flex-basis: calc(100% / 6);\n margin-left: ", ";\n margin-top: 0.3rem;\n\n @media (max-width: ", ") {\n display: inline;\n }\n }\n\n .list-items {\n display: inline-flex;\n flex-direction: column;\n\n @media (max-width: ", ") {\n margin-left: ", ";\n }\n }\n\n @media (max-width: ", ") {\n flex-direction: column;\n }\n"]);
338
338
 
339
339
  _templateObject4 = function _templateObject4() {
340
340
  return data;