@bonlineza/luxity-lib 2.31.0 → 2.31.2

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/CHANGELOG.md DELETED
@@ -1,299 +0,0 @@
1
- ## Changelog
2
-
3
- ### 2.31.0
4
- - Add Luxity Desktop Header Component
5
- - Add Luxity Mobile Header Component
6
- - Add Luxity Footer Component
7
-
8
-
9
- ### 2.30.3
10
- - update the communication preferences radio buttons to match the existing style of radio buttons.
11
- - update the is_disabled prop tp follow camel case.
12
-
13
- ### 2.30.2
14
- - rename dropdown components to make them more generic.
15
- - add shoe size range selector
16
-
17
- ### 2.30.1
18
- - adding a class name prop for the buttons on the communications preference components.
19
- - removing the default section header on communication preferences.
20
-
21
- ### 2.30.0
22
- - Components added:
23
- - `CommunicationPreferences`
24
- - `CommunicationPreferenceSection`
25
- - `CommunicationPreferenceOptionRenderer`
26
-
27
- ### 2.29.1
28
- - Allow the search input container to auto focus on render
29
-
30
- ### 2.29.0
31
- - Removed models and materials filtering from `Style Selector`
32
- - Showing brands as multiselect instead of dropdown on `Add Interest` form
33
-
34
- ### 2.28.0
35
- Removed models and materials select from `Add Interest`
36
-
37
- ### 2.27.0
38
- Add click event on Sidebar of `Rarestep Header`
39
-
40
- ### 2.26.0
41
- Once user click on Menu Items Nav will closed `Rarestep Header`
42
-
43
- ### 2.25.0
44
- User icon show when it present in `Rarestep Header`
45
-
46
- ### 2.24.0
47
- Reduce padding and size of X of `Rarestep Header`
48
-
49
- ### 2.23.0
50
- - All items are capitalize headers in `RarestepHeader`
51
-
52
- ### 2.22.0
53
- - Add More Navigation Specific for `RarestepHeader`
54
-
55
- ### 2.21.0
56
- - Capitalize all headers in `RarestepHeader`
57
-
58
- ### 2.20.0
59
- - Move rarestep dropdown brands to header
60
-
61
- ### 2.19.0
62
- - Show tiktok icon on `RareStepFooter`
63
-
64
- ### 2.18.5
65
- - Allow `RareStepHeader` brands on menu dropdown to be clickable
66
-
67
- ### 2.18.4
68
- - Replace `CurrencyInputFormatter` with custom code
69
-
70
- ### 2.18.3
71
- - Only show the scroll bar on the `RareStepHeader` side nav when there is scrollable content
72
-
73
- ### 2.18.2
74
- - Reduce `RareStepFooter` link font size
75
-
76
- ### 2.18.1
77
- - Ensure RareStep SubMenuLink opens SubMenu instead of opening link
78
-
79
- ### 2.18.0
80
- - Passing brands, models and materials to the styles graphql query to filter out styles that don't match up to the selected brands, models and materials.
81
-
82
- ### 2.17.5
83
- - Open RareStep social media links in a new tab
84
-
85
- ### 2.17.4
86
- - Fix stretching of `RareStepFooter` and `RareStepHeader` logo images
87
-
88
- ### 2.17.3
89
- - Set a static height size for images on the desktop dropdown menu
90
-
91
- ### 2.17.2
92
- - Made links on `RareStepHeader` dropdown clickable
93
-
94
- ### 2.17.1
95
- - Aligned `SellToUsLink` with `HeaderIcon`
96
-
97
- ### 2.17.0
98
- - Update `HeaderLogo` dimensions
99
- - Update `HeaderIcon` dimensions
100
- - Show dropdown on hover of user icon in the header
101
-
102
- ### 2.16.0
103
- - Removed unused links from `RareStepFooter` and `RareStepHeader` components
104
- - Centre aligned the logo on `RareStepHeader` mobile
105
- - Changed background color of search container of `RareStepHeader` mobile
106
- - `RareStepHeader` now accepts handleOnCartClick function to navigate to cart page
107
-
108
- ### 2.15.1
109
- - Ensure dropdown search fills page width
110
- - Make `RareStepFooter` and `RareStepHeader` logo clickable
111
- ### 2.15.0
112
- - Adds sliding animation to `RareStepHeader` on mobile
113
- - Change props to camel case for `RareStepFooter` and `RareStepHeader` components
114
-
115
- ### 2.14.0
116
- - Made `RareStepFooter` and `RareStepHeader` components responsive
117
-
118
- ### 2.13.1
119
- - Changed interest page heading from `My Interests` to `Interests`.
120
-
121
- ### 2.13.0
122
- - Removed `LuxityLoader` component
123
-
124
- ### 2.12.0
125
- - Added a `RareStepHeader` and `RareStepFooter` components
126
-
127
- ### 2.11.0
128
- - Components added:
129
- -- `GraphQLDropdownSelector`, `LuxityGraphQLDropdownSelector`, `MaterialSelector`, and `ModelSelector`
130
- - Added models and materials select form fields to add interests.
131
-
132
- ### 2.10.0
133
- - Added a `LuxityLoader` component
134
- ### 2.9.2
135
- - Ensure the search icon is not cutting off
136
-
137
- ### 2.9.1
138
- - Ensure the interest categories wrap on small screen
139
-
140
- ### 2.9.0
141
- - Added clothing as an interest item
142
- ### 2.8.0
143
- - Breaking - `CurrencyInput` component renamed to `CurrencyInputFormatter`
144
- - CurrencyInputFormatter props `onChange, value, prefix, allowNegativeValue,
145
- groupSeparator,
146
- decimalSeparator,`
147
- - upgrade react to react 17.0.2
148
- - upgrade storybook
149
- - remove storybook-readme
150
-
151
- ### 2.7.5
152
- - Change color of the active Interest category
153
- when adding item as interest
154
- ### 2.7.4
155
- - Bug fix for IOS, extra space showing on `InterestItem`
156
- ### 2.7.3
157
- - Fix container alignment of `AddInterest` and `InterestItem` so they match
158
- - Center alignment trash icon in `InterestItem`
159
- ### 2.7.2
160
- - Dont show `MyInterestTitleHeading` if don't have interest items
161
- ### 2.7.1
162
- - Change svg colors from pink to black
163
- ### 2.7.0
164
- - `AddInterest` and `InterestItem` have a new design that does not use the `Accordion` component
165
- - Can add a watch as interest
166
- ### 2.6.2
167
- - Limit the width of the title of `InterestItem` so that it does not overlap with trash icon
168
- ### 2.6.1
169
- - Upgrade `@bonlineza/b-lib` to v3.2.2
170
-
171
- ### 2.6.0
172
- - `InterestItem` now has a delete button next to the interest title
173
- ### 2.5.4
174
- - Changed background color on `Add Interest` component buttons to black with white text
175
- ### 2.5.3
176
- - Changed text color on `Add Interest` component buttons
177
-
178
- ### 2.5.2
179
- - `Notify` component now includes a warning function
180
- ### 2.5.1
181
- - change base color from pink to black
182
- ### 2.5.0
183
- - `Accordion` component now accepts defaultHeight as a prop
184
- ### 2.4.0
185
- - Formatted `mark` data for `RangeSlider`
186
- ### 2.3.0
187
- - Changed `title` prop on `Accordion` to include support for Component rendering
188
- ### 2.2.0
189
- - Add `DummyAccordion` component that looks like an `Accordion` only with a button-like behaviour
190
- - Remove bundle conversion of Flow types to prop-types
191
- - Strip 'prop-types' from exported bundles (removed the 'prop-types' Dependency)
192
- - Add `SvgWrapper` as exported component
193
- - Include `svgs` in package - can now import them induvidually as `@bonlineza/luxity-lib/svg/Add`
194
- - Update all packages
195
- - include `package-lock.json` file
196
- - Update `Tooltip` - allow passing custom classes for `containerClassName` and `bodyClassName`
197
- - Update `TextButton` - add default `type` prop as 'button' to prevent unintended form submissions
198
-
199
- ### 2.1.1
200
- - Update `CountryCodeSelect` change the value that is used in the onChange callback
201
-
202
- ### 2.1.0
203
- - Add components: `CountryCodeSelect` and `ReactSelectWrapper`
204
-
205
- ### 2.0.3
206
- - Fix: prevent event from being passed into the `closeAccordion` function
207
-
208
- ### 2.0.2
209
- - Fix: export `constants` properly - can now import directly from: `@bonlineza/luxity-lib/constants`
210
-
211
- ### 2.0.1
212
- - Add fade transition to for `ShoeSizeTypeSelector` to improve ux
213
-
214
- ### 2.0.0
215
- - Amend version to `2.0.0` for sanity due to the last feature being a breaking change
216
-
217
- ### 1.3.0
218
- - Correct versioning of package due to `shoe-size-type` feature being a breaking
219
- change
220
-
221
- ### 1.2.9
222
- - Add functionality to choose size type for the `ShoeSelector` in the
223
- `AddInterest` component due to spec changes. Add prop `shoe_size_type` to
224
- payload of of request for adding an interest
225
- - Add default check functionality for `RadioButton` component
226
- - Update tests for `RadioButton` and `InterestItem`
227
- - Correct prop definition `SimpleErrorBoundary` which was preventing `yarn docs`
228
- from creating an `md` file for that component
229
-
230
- ### 1.2.8
231
- - Surround `InterestItem` with `SimpleErrorBoundary`
232
- - Add sanity to the `getShoeSize` output
233
- - Export `gender` constants
234
-
235
- ### 1.2.7
236
- - Change Full Size Range Button in Add Interest inverted button
237
-
238
- ### 1.2.6
239
- - Remove deselectAll from AddInterest
240
- - Fix infinite loop of CheckboxButton
241
- - Remove reference props in GenderSelector
242
- - Update test for CheckboxButton
243
-
244
- ### 1.2.4
245
- - Change InterestItem to use the 'title' prop and add test
246
-
247
- ### 1.2.3
248
- - Refactor styles of InterestItem so it looks the way it is required to look
249
- - Fix logic for deselecting brands and styles for GraphQLMultiSelector when a category changes
250
- - Add forwardRef logic to themed function
251
-
252
- ### 1.2.2
253
- - Fix InterstItem render that uses new 'name' prop from Styles
254
-
255
- ### 1.2.1
256
- - Fix Border Style for NotificationDropdown
257
- - Change deleteInterest prop to `deleteInterestApi` to better describe it
258
-
259
- ### 1.2.0
260
- - No Longer Exporting: BrandSelector and AddInterest
261
- - Added Component: Interests
262
-
263
- ### 1.1.1
264
- - Fix RangeSlider: Tooltip component receives correct props
265
-
266
- ### 1.1.0
267
- - Added Components:
268
- - AddInterest
269
- - BrandSelector
270
- - CurrencyInput
271
- - GraphQLMultiSelector
272
- - InterestCatSelector
273
- - InterestItem
274
- - LuxityGraphQLMultiSelector
275
- - LuxityPageReady
276
- - StyleSelector
277
- - RangeSlider
278
- - ShoeSizeSelector
279
- - PriceRangeSelector
280
- - Added List of Helper functions to the Readme
281
- - Added Development guide to the Readme
282
- - Added Publishing Guide to the Readme
283
-
284
- ### 1.0.0
285
- - Breaking Change: Reworked Button 'variant' prop into individual Components
286
- - Removed Generic Button component
287
- - New Button components: PrimaryButton, SecondaryButton, TextButton, InvertedTextButton, WrapperButton
288
- - Added SVG components (see README for full List)
289
-
290
- ### 0.1.2
291
- - Updated `styled-components` version to v5
292
-
293
- ### 0.1.1
294
- - Moved `styled-components` to dev and peer-dependencies as it is a host project requirement
295
-
296
- ### 0.1.0
297
- - Added Components: Checkbox, RadioButtons, Tooltip
298
- - Added generated ocumentation for components
299
- - Added Element: Button
@@ -1,85 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('react')) :
3
- typeof define === 'function' && define.amd ? define(['react'], factory) :
4
- (global = global || self, global.CreateRarestepInterest = factory(global.React));
5
- }(this, (function (React) { 'use strict';
6
-
7
- var React__default = 'default' in React ? React['default'] : React;
8
-
9
- function _slicedToArray(arr, i) {
10
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
11
- }
12
-
13
- function _arrayWithHoles(arr) {
14
- if (Array.isArray(arr)) return arr;
15
- }
16
-
17
- function _iterableToArrayLimit(arr, i) {
18
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
19
-
20
- if (_i == null) return;
21
- var _arr = [];
22
- var _n = true;
23
- var _d = false;
24
-
25
- var _s, _e;
26
-
27
- try {
28
- for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
29
- _arr.push(_s.value);
30
-
31
- if (i && _arr.length === i) break;
32
- }
33
- } catch (err) {
34
- _d = true;
35
- _e = err;
36
- } finally {
37
- try {
38
- if (!_n && _i["return"] != null) _i["return"]();
39
- } finally {
40
- if (_d) throw _e;
41
- }
42
- }
43
-
44
- return _arr;
45
- }
46
-
47
- function _unsupportedIterableToArray(o, minLen) {
48
- if (!o) return;
49
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
50
- var n = Object.prototype.toString.call(o).slice(8, -1);
51
- if (n === "Object" && o.constructor) n = o.constructor.name;
52
- if (n === "Map" || n === "Set") return Array.from(o);
53
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
54
- }
55
-
56
- function _arrayLikeToArray(arr, len) {
57
- if (len == null || len > arr.length) len = arr.length;
58
-
59
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
60
-
61
- return arr2;
62
- }
63
-
64
- function _nonIterableRest() {
65
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
66
- }
67
-
68
- var CreateRarestepInterest = function CreateRarestepInterest() {
69
- var _useState = React.useState(null),
70
- _useState2 = _slicedToArray(_useState, 2),
71
- state = _useState2[0],
72
- setState = _useState2[1];
73
-
74
- React.useEffect(function () {
75
- setState(1);
76
- }, []);
77
- console.log(state);
78
- return /*#__PURE__*/React__default.createElement(React.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
79
- className: "test"
80
- }, /*#__PURE__*/React__default.createElement("h1", null, "Hie")));
81
- };
82
-
83
- return CreateRarestepInterest;
84
-
85
- })));