@appbaseio/reactivesearch-vue 1.33.5 → 1.34.0-alpha.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.
Files changed (98) hide show
  1. package/dist/@appbaseio/reactivesearch-vue.umd.js +6840 -9315
  2. package/dist/@appbaseio/reactivesearch-vue.umd.js.map +1 -1
  3. package/dist/@appbaseio/reactivesearch-vue.umd.min.js +7 -13
  4. package/dist/@appbaseio/reactivesearch-vue.umd.min.js.map +1 -1
  5. package/dist/cjs/Button-626c5e8e.js +58 -0
  6. package/dist/cjs/{CancelSvg-220a7cc3.js → CancelSvg-062a42f0.js} +32 -40
  7. package/dist/cjs/Card-c381ded3.js +26 -0
  8. package/dist/cjs/{ComponentWrapper-b6d4660c.js → ComponentWrapper-db45cc6d.js} +5 -5
  9. package/dist/cjs/Container-29f049b2.js +12 -0
  10. package/dist/cjs/{DataSearch-1c5c2202.js → DataSearch-7c71ec9f.js} +712 -850
  11. package/dist/cjs/DataSearch.js +12 -11
  12. package/dist/cjs/{DropDown-8984b544.js → DropDown-3b899b20.js} +78 -79
  13. package/dist/cjs/DynamicRangeSlider.js +51 -37
  14. package/dist/cjs/Flex-d5675ea6.js +48 -0
  15. package/dist/cjs/FormControlList-cf1ff2ca.js +42 -0
  16. package/dist/cjs/Input-4d278ca0.js +74 -0
  17. package/dist/cjs/ListItem-c067bc07.js +41 -0
  18. package/dist/cjs/MultiDropdownList.js +71 -62
  19. package/dist/cjs/MultiList.js +85 -88
  20. package/dist/cjs/MultiRange.js +54 -41
  21. package/dist/cjs/{Pagination-07f4dbad.js → Pagination-a468f960.js} +56 -53
  22. package/dist/cjs/{PreferencesConsumer-5d67b486.js → PreferencesConsumer-034c55e3.js} +6 -5
  23. package/dist/cjs/RangeInput.js +115 -107
  24. package/dist/cjs/RangeSlider.js +50 -36
  25. package/dist/cjs/ReactiveBase.js +66 -48
  26. package/dist/cjs/{ReactiveComponent-4e75c939.js → ReactiveComponent-f0f486ca.js} +325 -311
  27. package/dist/cjs/ReactiveComponent.js +21 -20
  28. package/dist/cjs/ReactiveGoogleMap.js +283 -307
  29. package/dist/cjs/ReactiveList.js +99 -116
  30. package/dist/cjs/ResultCard.js +26 -19
  31. package/dist/cjs/ResultList.js +31 -27
  32. package/dist/cjs/SelectedFilters.js +49 -34
  33. package/dist/cjs/SingleDropdownList.js +70 -61
  34. package/dist/cjs/SingleList.js +86 -90
  35. package/dist/cjs/SingleRange.js +48 -39
  36. package/dist/cjs/StateProvider.js +2 -2
  37. package/dist/cjs/Title-8802a218.js +12 -0
  38. package/dist/cjs/ToggleButton.js +39 -32
  39. package/dist/cjs/{index-30126fd0.js → index-dc25b706.js} +6 -6
  40. package/dist/cjs/index.js +22 -21
  41. package/dist/cjs/install.js +21 -20
  42. package/dist/cjs/ssr-eb901d09.js +35 -0
  43. package/dist/cjs/version.js +1 -1
  44. package/dist/cjs/{vueTypes-7cfc2f98.js → vueTypes-621a8143.js} +1 -1
  45. package/dist/es/Button-ebafa3d6.js +52 -0
  46. package/dist/es/{CancelSvg-e40552a5.js → CancelSvg-14ebc9a1.js} +30 -37
  47. package/dist/es/{Card-19ad6d90.js → Card-1951569e.js} +5 -6
  48. package/dist/es/{ComponentWrapper-8042aa35.js → ComponentWrapper-bf443c0b.js} +4 -4
  49. package/dist/es/Container-d00219f7.js +1 -1
  50. package/dist/es/{DataSearch-5bb904c5.js → DataSearch-4f9a4e46.js} +705 -842
  51. package/dist/es/DataSearch.js +10 -9
  52. package/dist/es/{DropDown-28ddce07.js → DropDown-35e232b7.js} +78 -78
  53. package/dist/es/DynamicRangeSlider.js +48 -34
  54. package/dist/es/Flex-a08e22d7.js +46 -0
  55. package/dist/es/FormControlList-fa5cf78b.js +38 -0
  56. package/dist/es/Input-3b8408a6.js +69 -0
  57. package/dist/es/{ListItem-07888a65.js → ListItem-47a6345a.js} +6 -7
  58. package/dist/es/MultiDropdownList.js +69 -60
  59. package/dist/es/MultiList.js +84 -87
  60. package/dist/es/MultiRange.js +52 -39
  61. package/dist/es/{Pagination-28e56c5c.js → Pagination-145b4ff2.js} +56 -53
  62. package/dist/es/{PreferencesConsumer-bc097ebb.js → PreferencesConsumer-7ea7313a.js} +5 -4
  63. package/dist/es/RangeInput.js +112 -103
  64. package/dist/es/RangeSlider.js +47 -33
  65. package/dist/es/ReactiveBase.js +65 -46
  66. package/dist/es/{ReactiveComponent-09c183c8.js → ReactiveComponent-e2fb9eb4.js} +321 -306
  67. package/dist/es/ReactiveComponent.js +18 -17
  68. package/dist/es/ReactiveGoogleMap.js +279 -302
  69. package/dist/es/ReactiveList.js +97 -113
  70. package/dist/es/ResultCard.js +25 -18
  71. package/dist/es/ResultList.js +30 -26
  72. package/dist/es/SelectedFilters.js +47 -32
  73. package/dist/es/SingleDropdownList.js +68 -59
  74. package/dist/es/SingleList.js +84 -88
  75. package/dist/es/SingleRange.js +46 -37
  76. package/dist/es/StateProvider.js +2 -2
  77. package/dist/es/Title-863dfa42.js +1 -1
  78. package/dist/es/ToggleButton.js +37 -30
  79. package/dist/es/{index-0444a498.js → index-285a43a6.js} +6 -6
  80. package/dist/es/index.js +19 -18
  81. package/dist/es/install.js +18 -17
  82. package/dist/es/ssr-03607d84.js +1 -1
  83. package/dist/es/version.js +1 -1
  84. package/dist/es/{vueTypes-8986b709.js → vueTypes-e4af6fe2.js} +1 -1
  85. package/package.json +8 -8
  86. package/dist/cjs/Button-841fd06d.js +0 -62
  87. package/dist/cjs/Card-240f283d.js +0 -30
  88. package/dist/cjs/Container-e699ea95.js +0 -15
  89. package/dist/cjs/Flex-ddd7cb6b.js +0 -50
  90. package/dist/cjs/FormControlList-bbb5cd24.js +0 -45
  91. package/dist/cjs/Input-ead4cd84.js +0 -77
  92. package/dist/cjs/ListItem-5088bd6a.js +0 -45
  93. package/dist/cjs/Title-16042ea0.js +0 -15
  94. package/dist/cjs/ssr-f2fc1bf6.js +0 -36
  95. package/dist/es/Button-153cd885.js +0 -53
  96. package/dist/es/Flex-7c177a10.js +0 -45
  97. package/dist/es/FormControlList-99797d0a.js +0 -38
  98. package/dist/es/Input-c09c0b56.js +0 -69
@@ -4,7 +4,7 @@ import { a as _extends } from './_rollupPluginBabelHelpers-ded08042.js';
4
4
  import VueTypes from 'vue-types';
5
5
  import { isInternalComponent } from '@appbaseio/reactivecore/lib/utils/transform';
6
6
  import 'redux';
7
- import { c as connect } from './index-0444a498.js';
7
+ import { c as connect } from './index-285a43a6.js';
8
8
 
9
9
  var setSearchState = Actions.setSearchState;
10
10
  var getSearchState = helper.getSearchState;
@@ -213,7 +213,7 @@ var StateProvider = {
213
213
  },
214
214
  render: function render() {
215
215
  var searchState = this.searchState;
216
- var dom = this.$scopedSlots["default"];
216
+ var dom = this.$slots["default"];
217
217
  return dom ? dom({
218
218
  searchState: searchState,
219
219
  setSearchState: this.setSearchState
@@ -1,5 +1,5 @@
1
1
  import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-ded08042.js';
2
- import styled from '@appbaseio/vue-emotion';
2
+ import { styled } from '@appbaseio/vue-emotion';
3
3
 
4
4
  var _templateObject;
5
5
  var Title = styled('h2')(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n\tmargin: 0 0 8px;\n\tfont-size: 1rem;\n\tcolor: ", ";\n"])), function (_ref) {
@@ -1,17 +1,18 @@
1
1
  import { Actions, helper } from '@appbaseio/reactivecore';
2
2
  import { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
3
3
  import './_rollupPluginBabelHelpers-ded08042.js';
4
+ import { createVNode } from 'vue';
4
5
  import VueTypes from 'vue-types';
5
- import 'emotion';
6
6
  import '@appbaseio/vue-emotion';
7
+ import 'emotion';
7
8
  import 'polished';
8
- import { B as Button, t as toggleButtons } from './Button-153cd885.js';
9
- import { t as types } from './vueTypes-8986b709.js';
9
+ import { B as Button, t as toggleButtons } from './Button-ebafa3d6.js';
10
+ import { t as types } from './vueTypes-e4af6fe2.js';
10
11
  import '@appbaseio/reactivecore/lib/utils/transform';
11
12
  import 'redux';
12
- import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-0444a498.js';
13
- import { C as ComponentWrapper } from './ComponentWrapper-8042aa35.js';
14
- import { P as PreferencesConsumer } from './PreferencesConsumer-bc097ebb.js';
13
+ import { f as updateCustomQuery, i as isQueryIdentical, c as connect } from './index-285a43a6.js';
14
+ import { C as ComponentWrapper } from './ComponentWrapper-bf443c0b.js';
15
+ import { P as PreferencesConsumer } from './PreferencesConsumer-7ea7313a.js';
15
16
  import { T as Title } from './Title-863dfa42.js';
16
17
  import { C as Container } from './Container-d00219f7.js';
17
18
 
@@ -203,8 +204,7 @@ var ToggleButton = {
203
204
  },
204
205
  renderButton: function renderButton(item) {
205
206
  var _this2 = this;
206
- var h = this.$createElement;
207
- var renderItem = this.$scopedSlots.renderItem || this.renderItem;
207
+ var renderItem = this.$slots.renderItem || this.renderItem;
208
208
  var isSelected = this.$data.currentValue.some(function (value) {
209
209
  return value.value === item.value;
210
210
  });
@@ -214,37 +214,44 @@ var ToggleButton = {
214
214
  handleClick: function handleClick() {
215
215
  return _this2.handleClick(item);
216
216
  }
217
- }) : h(Button, {
217
+ }) : createVNode(Button, {
218
218
  "class": getClassName(this.$props.innerClass, 'button') + " " + (isSelected ? 'active' : ''),
219
- "on": {
220
- "click": function click() {
221
- return _this2.handleClick(item);
222
- },
223
- "keypress": function keypress(e) {
224
- return handleA11yAction(e, function () {
225
- return _this2.handleClick(item);
226
- });
227
- }
219
+ "onClick": function onClick() {
220
+ return _this2.handleClick(item);
228
221
  },
229
222
  "key": item.value,
230
- "attrs": {
231
- "primary": isSelected,
232
- "large": true,
233
- "tabIndex": isSelected ? '-1' : '0'
223
+ "primary": isSelected,
224
+ "large": true,
225
+ "tabIndex": isSelected ? '-1' : '0',
226
+ "onKeypress": function onKeypress(e) {
227
+ return handleA11yAction(e, function () {
228
+ return _this2.handleClick(item);
229
+ });
230
+ }
231
+ }, {
232
+ "default": function _default() {
233
+ return [item.label];
234
234
  }
235
- }, [item.label]);
235
+ });
236
236
  }
237
237
  },
238
238
  render: function render() {
239
239
  var _this3 = this;
240
- var h = arguments[0];
241
- return h(Container, {
240
+ return createVNode(Container, {
242
241
  "class": toggleButtons
243
- }, [this.$props.title && h(Title, {
244
- "class": getClassName(this.$props.innerClass, 'title')
245
- }, [this.$props.title]), this.$props.data.map(function (item) {
246
- return _this3.renderButton(item);
247
- })]);
242
+ }, {
243
+ "default": function _default() {
244
+ return [_this3.$props.title && createVNode(Title, {
245
+ "class": getClassName(_this3.$props.innerClass, 'title')
246
+ }, {
247
+ "default": function _default() {
248
+ return [_this3.$props.title];
249
+ }
250
+ }), _this3.$props.data.map(function (item) {
251
+ return _this3.renderButton(item);
252
+ })];
253
+ }
254
+ });
248
255
  }
249
256
  };
250
257
  ToggleButton.parseValue = function (value, props) {
@@ -88,11 +88,11 @@ var connector = function connector(_mapState, mapDispatch) {
88
88
  };
89
89
  this._unsubscribe = observeStore(this.$$store, getMappedState, function (newState) {
90
90
  Object.keys(newState).forEach(function (key) {
91
- _this.$set(_this, key, newState[key]);
91
+ _this[key] = newState[key];
92
92
  });
93
93
  });
94
94
  },
95
- beforeDestroy: function beforeDestroy() {
95
+ beforeUnmount: function beforeUnmount() {
96
96
  this._unsubscribe();
97
97
  }
98
98
  };
@@ -166,7 +166,7 @@ var getComponent = function getComponent(data, _ref) {
166
166
  if (_ref === void 0) {
167
167
  _ref = {};
168
168
  }
169
- var _ref2 = _ref.$scopedSlots || _ref.$props,
169
+ var _ref2 = _ref.$slots || _ref.$props,
170
170
  render = _ref2.render;
171
171
  if (render) return render(data);
172
172
  return null;
@@ -179,7 +179,7 @@ var hasCustomRenderer = function hasCustomRenderer(_ref) {
179
179
  if (_ref === void 0) {
180
180
  _ref = {};
181
181
  }
182
- var _ref3 = _ref.$scopedSlots || _ref.$props,
182
+ var _ref3 = _ref.$slots || _ref.$props,
183
183
  render = _ref3.render;
184
184
  return Boolean(render);
185
185
  };
@@ -228,7 +228,7 @@ var getQuerySuggestionsComponent = function getQuerySuggestionsComponent(data, _
228
228
  if (_ref === void 0) {
229
229
  _ref = {};
230
230
  }
231
- var _ref4 = _ref.$scopedSlots || _ref.$props,
231
+ var _ref4 = _ref.$slots || _ref.$props,
232
232
  renderQuerySuggestions = _ref4.renderQuerySuggestions,
233
233
  renderPopularSuggestions = _ref4.renderPopularSuggestions;
234
234
  var render = renderPopularSuggestions || renderQuerySuggestions;
@@ -243,7 +243,7 @@ var hasQuerySuggestionsRenderer = function hasQuerySuggestionsRenderer(_ref) {
243
243
  if (_ref === void 0) {
244
244
  _ref = {};
245
245
  }
246
- var _ref5 = _ref.$scopedSlots || _ref.$props,
246
+ var _ref5 = _ref.$slots || _ref.$props,
247
247
  renderQuerySuggestions = _ref5.renderQuerySuggestions,
248
248
  renderPopularSuggestions = _ref5.renderPopularSuggestions;
249
249
  return Boolean(renderPopularSuggestions) || Boolean(renderQuerySuggestions);
package/dist/es/index.js CHANGED
@@ -1,44 +1,45 @@
1
1
  import '@appbaseio/reactivecore';
2
2
  export { componentTypes } from '@appbaseio/reactivecore/lib/utils/constants';
3
3
  import './_rollupPluginBabelHelpers-ded08042.js';
4
+ import 'vue';
4
5
  import 'vue-types';
5
6
  import '@appbaseio/reactivecore/lib/utils/helper';
6
- import 'emotion';
7
7
  import '@appbaseio/vue-emotion';
8
+ import 'emotion';
8
9
  import 'polished';
9
- import './Button-153cd885.js';
10
- import './vueTypes-8986b709.js';
11
- import './Pagination-28e56c5c.js';
10
+ import './Button-ebafa3d6.js';
11
+ import './vueTypes-e4af6fe2.js';
12
+ import './Pagination-145b4ff2.js';
12
13
  export { default as ReactiveList } from './ReactiveList.js';
13
14
  import '@appbaseio/reactivecore/lib/utils/transform';
14
15
  import 'redux';
15
- import './index-0444a498.js';
16
- import './ComponentWrapper-8042aa35.js';
17
- import './PreferencesConsumer-bc097ebb.js';
18
- import '@vue/babel-helper-vue-jsx-merge-props';
16
+ import './index-285a43a6.js';
17
+ import './ComponentWrapper-bf443c0b.js';
18
+ import './PreferencesConsumer-7ea7313a.js';
19
19
  import './Title-863dfa42.js';
20
- import './ListItem-07888a65.js';
21
- import './Card-19ad6d90.js';
22
- import './Flex-7c177a10.js';
20
+ import './ListItem-47a6345a.js';
21
+ import './Card-1951569e.js';
22
+ import './Flex-a08e22d7.js';
23
23
  import '@appbaseio/reactivecore/lib/actions/analytics';
24
24
  import 'appbase-js';
25
25
  import '@appbaseio/analytics';
26
26
  import 'url-search-params-polyfill';
27
27
  export { default as ReactiveBase } from './ReactiveBase.js';
28
28
  import 'hotkeys-js';
29
- export { a as DataSearch } from './DataSearch-5bb904c5.js';
30
- import './CancelSvg-e40552a5.js';
31
- import './Input-c09c0b56.js';
29
+ export { a as DataSearch } from './DataSearch-4f9a4e46.js';
30
+ import './CancelSvg-14ebc9a1.js';
31
+ import './Input-3b8408a6.js';
32
32
  import 'compute-scroll-into-view';
33
33
  import './Container-d00219f7.js';
34
34
  import 'vue-highlight-words';
35
- export { R as ReactiveComponent, S as SearchBox } from './ReactiveComponent-09c183c8.js';
35
+ import '@vue/babel-helper-vue-transform-on';
36
+ export { R as ReactiveComponent, S as SearchBox } from './ReactiveComponent-e2fb9eb4.js';
36
37
  import '@appbaseio/reactivecore/lib/utils/suggestions';
37
- import './FormControlList-99797d0a.js';
38
+ import './FormControlList-fa5cf78b.js';
38
39
  import './utils-9e5a16a1.js';
39
40
  export { default as SingleList } from './SingleList.js';
40
41
  export { default as MultiList } from './MultiList.js';
41
- import './DropDown-28ddce07.js';
42
+ import './DropDown-35e232b7.js';
42
43
  export { default as SingleDropdownList } from './SingleDropdownList.js';
43
44
  export { default as MultiDropdownList } from './MultiDropdownList.js';
44
45
  export { default as ToggleButton } from './ToggleButton.js';
@@ -53,7 +54,7 @@ export { default as SelectedFilters } from './SelectedFilters.js';
53
54
  export { default as ResultCard } from './ResultCard.js';
54
55
  export { default as ResultList } from './ResultList.js';
55
56
  export { default as StateProvider } from './StateProvider.js';
56
- import 'gmap-vue';
57
+ import 'vue-google-maps-community-fork';
57
58
  import 'ngeohash';
58
59
  export { default as ReactiveGoogleMap } from './ReactiveGoogleMap.js';
59
60
  import '@appbaseio/reactivecore/lib/reducers/valueReducer';
@@ -1,44 +1,45 @@
1
1
  import '@appbaseio/reactivecore';
2
2
  import '@appbaseio/reactivecore/lib/utils/constants';
3
3
  import './_rollupPluginBabelHelpers-ded08042.js';
4
+ import 'vue';
4
5
  import 'vue-types';
5
6
  import '@appbaseio/reactivecore/lib/utils/helper';
6
- import 'emotion';
7
7
  import '@appbaseio/vue-emotion';
8
+ import 'emotion';
8
9
  import 'polished';
9
- import './Button-153cd885.js';
10
- import './vueTypes-8986b709.js';
11
- import './Pagination-28e56c5c.js';
10
+ import './Button-ebafa3d6.js';
11
+ import './vueTypes-e4af6fe2.js';
12
+ import './Pagination-145b4ff2.js';
12
13
  import ReactiveList from './ReactiveList.js';
13
14
  import '@appbaseio/reactivecore/lib/utils/transform';
14
15
  import 'redux';
15
- import './index-0444a498.js';
16
- import './ComponentWrapper-8042aa35.js';
17
- import './PreferencesConsumer-bc097ebb.js';
18
- import '@vue/babel-helper-vue-jsx-merge-props';
16
+ import './index-285a43a6.js';
17
+ import './ComponentWrapper-bf443c0b.js';
18
+ import './PreferencesConsumer-7ea7313a.js';
19
19
  import './Title-863dfa42.js';
20
- import './ListItem-07888a65.js';
21
- import './Card-19ad6d90.js';
22
- import './Flex-7c177a10.js';
20
+ import './ListItem-47a6345a.js';
21
+ import './Card-1951569e.js';
22
+ import './Flex-a08e22d7.js';
23
23
  import '@appbaseio/reactivecore/lib/actions/analytics';
24
24
  import 'appbase-js';
25
25
  import '@appbaseio/analytics';
26
26
  import 'url-search-params-polyfill';
27
27
  import ReactiveBase from './ReactiveBase.js';
28
28
  import 'hotkeys-js';
29
- import { a as DataSearch } from './DataSearch-5bb904c5.js';
30
- import './CancelSvg-e40552a5.js';
31
- import './Input-c09c0b56.js';
29
+ import { a as DataSearch } from './DataSearch-4f9a4e46.js';
30
+ import './CancelSvg-14ebc9a1.js';
31
+ import './Input-3b8408a6.js';
32
32
  import 'compute-scroll-into-view';
33
33
  import './Container-d00219f7.js';
34
34
  import 'vue-highlight-words';
35
- import { S as SearchBox, R as ReactiveComponent } from './ReactiveComponent-09c183c8.js';
35
+ import '@vue/babel-helper-vue-transform-on';
36
+ import { S as SearchBox, R as ReactiveComponent } from './ReactiveComponent-e2fb9eb4.js';
36
37
  import '@appbaseio/reactivecore/lib/utils/suggestions';
37
- import './FormControlList-99797d0a.js';
38
+ import './FormControlList-fa5cf78b.js';
38
39
  import './utils-9e5a16a1.js';
39
40
  import SingleList from './SingleList.js';
40
41
  import MultiList from './MultiList.js';
41
- import './DropDown-28ddce07.js';
42
+ import './DropDown-35e232b7.js';
42
43
  import SingleDropdownList from './SingleDropdownList.js';
43
44
  import MultiDropdownList from './MultiDropdownList.js';
44
45
  import ToggleButton from './ToggleButton.js';
@@ -1,5 +1,5 @@
1
1
  import { _ as _taggedTemplateLiteralLoose } from './_rollupPluginBabelHelpers-ded08042.js';
2
- import styled from '@appbaseio/vue-emotion';
2
+ import { styled } from '@appbaseio/vue-emotion';
3
3
  import NoSSR from 'vue-no-ssr';
4
4
 
5
5
  var _templateObject;
@@ -1,3 +1,3 @@
1
- var version = "1.33.5";
1
+ var version = "1.34.0-alpha.2";
2
2
 
3
3
  export default version;
@@ -95,7 +95,7 @@ var types = {
95
95
  params: VueTypes.object.isRequired,
96
96
  props: VueTypes.object,
97
97
  rangeLabelsAlign: VueTypes.oneOf(['left', 'right']),
98
- title: VueTypes.oneOfType([VueTypes.string, VueTypes.any]),
98
+ title: VueTypes.oneOfType([VueTypes.string, VueTypes.nullable]),
99
99
  tooltipTrigger: VueTypes.oneOf(['always', 'none', 'hover']),
100
100
  location: VueTypes.custom(validateLocation),
101
101
  unit: VueTypes.oneOf(['mi', 'miles', 'yd', 'yards', 'ft', 'feet', 'in', 'inch', 'km', 'kilometers', 'm', 'meters', 'cm', 'centimeters', 'mm', 'millimeters', 'NM', 'nmi', 'nauticalmiles']),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appbaseio/reactivesearch-vue",
3
- "version": "1.33.5",
3
+ "version": "1.34.0-alpha.2",
4
4
  "private": false,
5
5
  "main": "dist/cjs/index.js",
6
6
  "jsnext:main": "dist/es/index.js",
@@ -27,7 +27,7 @@
27
27
  "precommit": "lint-staged",
28
28
  "prepare": "npm start validate",
29
29
  "version-upgrade": "nps upgrade-vue -c ../../package-scripts.js",
30
- "postpublish": "yarn run version-upgrade"
30
+ "postpublish": ""
31
31
  },
32
32
  "files": [
33
33
  "dist"
@@ -36,24 +36,24 @@
36
36
  "dependencies": {
37
37
  "@appbaseio/analytics": "^1.1.1",
38
38
  "@appbaseio/reactivecore": "9.14.35",
39
- "@appbaseio/vue-emotion": "0.4.4",
39
+ "@appbaseio/vue-emotion": "0.6.0-alpha.3",
40
40
  "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
41
41
  "appbase-js": "^5.2.0",
42
42
  "compute-scroll-into-view": "^1.0.11",
43
43
  "emotion": "9.2.12",
44
- "gmap-vue": "^3.5.4",
45
44
  "hotkeys-js": "^3.8.7",
46
45
  "ngeohash": "^0.6.3",
47
46
  "polished": "^2.2.0",
48
47
  "redux": "^4.0.0",
49
48
  "url-search-params-polyfill": "^7.0.0",
49
+ "vue-google-maps-community-fork": "^0.1.7",
50
50
  "vue-highlight-words": "^1.2.0",
51
51
  "vue-no-ssr": "^1.1.0",
52
- "vue-slider-component": "^3.2.15",
53
- "vue-types": "^1.7.0"
52
+ "vue-slider-component": "next",
53
+ "vue-types": "^5.0.2"
54
54
  },
55
55
  "peerDependencies": {
56
- "vue": "^2.6.10"
56
+ "vue": "^3.1.0"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@babel/plugin-external-helpers": "^7.2.0",
@@ -64,7 +64,7 @@
64
64
  "@babel/plugin-syntax-jsx": "^7.2.0",
65
65
  "@babel/preset-env": "^7.5.5",
66
66
  "@babel/preset-stage-2": "^7.0.0",
67
- "@vue/babel-preset-jsx": "^1.1.0",
67
+ "@vue/babel-plugin-jsx": "^1.1.1",
68
68
  "@vue/compiler-sfc": "^3.0.11",
69
69
  "eslint": "^4.12.0",
70
70
  "eslint-config-airbnb-base": "^13.1.0",
@@ -1,62 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
- var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
6
- var emotion = require('emotion');
7
- var styled = require('@appbaseio/vue-emotion');
8
- var styled__default = _interopDefault(styled);
9
- var polished = require('polished');
10
-
11
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
12
- var filters = function filters(_ref) {
13
- var borderColor = _ref.colors.borderColor;
14
- return emotion.css(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 0 -3px;\n\tmax-width: 100%;\n\n\tbutton {\n\t\tmargin: 2px 3px;\n\t\tpadding: 5px 8px;\n\t\tfont-size: 0.85rem;\n\t\tposition: relative;\n\n\t\tspan:first-child {\n\t\t\tmax-width: 260px;\n\t\t\twhite-space: nowrap;\n\t\t\toverflow: hidden;\n\t\t\ttext-overflow: ellipsis;\n\t\t\tmargin-right: 26px;\n\t\t}\n\n\t\tspan:last-child {\n\t\t\tdisplay: flex;\n\t\t\theight: 100%;\n\t\t\ttop: 0;\n\t\t\tright: 8px;\n\t\t\tposition: absolute;\n\t\t\talign-items: center;\n\t\t\tborder-left: 1px solid ", ";\n\t\t\tpadding-left: 8px;\n\t\t\tmargin-left: 8px;\n\t\t}\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tspan:first-child {\n\t\t\t\ttext-decoration: line-through;\n\t\t\t}\n\t\t}\n\t}\n"])), borderColor || '#fff');
15
- };
16
- var pagination = emotion.css(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 10px -3px;\n\tmax-width: 100%;\n\ttext-align: center;\n\n\tbutton {\n\t\tmargin: 0 3px;\n\t}\n"])));
17
- var toggleButtons = emotion.css(_templateObject3 || (_templateObject3 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 0 -3px;\n\tmax-width: 100%;\n\n\tbutton {\n\t\tmargin: 3px 3px;\n\t}\n"])));
18
- var numberBoxContainer = emotion.css(_templateObject4 || (_templateObject4 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmargin: 0 -5px;\n\tbutton {\n\t\tmargin: 5px;\n\t}\n\tspan {\n\t\tmargin: 0 5px;\n\t}\n"])));
19
- var primary = function primary(_ref2) {
20
- var theme = _ref2.theme;
21
- return emotion.css(_templateObject5 || (_templateObject5 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tbackground-color: ", ";\n\tcolor: ", ";\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: ", ";\n\t}\n"])), theme.colors.primaryColor, theme.colors.primaryTextColor, polished.darken(0.1, theme.colors.primaryColor));
22
- };
23
- var large = function large() {
24
- return emotion.css(_templateObject6 || (_templateObject6 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tmin-height: 40px;\n\tpadding: 10px 20px;\n"])));
25
- };
26
- var disabled = function disabled(_ref3) {
27
- var theme = _ref3.theme;
28
- return emotion.css(_templateObject7 || (_templateObject7 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tbackground-color: ", ";\n\tcolor: #ccc;\n\tcursor: not-allowed;\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: ", ";\n\t}\n"])), theme.colors.backgroundColor ? polished.lighten(0.1, theme.colors.backgroundColor) : '#fafafa', theme.colors.backgroundColor ? polished.lighten(0.2, theme.colors.backgroundColor) : '#fafafa');
29
- };
30
- var Button = styled__default('button')(_templateObject8 || (_templateObject8 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: inline-flex;\n\tjustify-content: center;\n\talign-items: center;\n\tborder-radius: 3px;\n\tborder: 1px solid transparent;\n\tmin-height: 30px;\n\tword-wrap: break-word;\n\tpadding: 5px 12px;\n\tline-height: 1.2rem;\n\tbackground-color: ", ";\n\tcolor: ", ";\n\tcursor: pointer;\n\tuser-select: none;\n\ttransition: all 0.3s ease;\n\n\t&:hover,\n\t&:focus {\n\t\tbackground-color: ", ";\n\t}\n\n\t&:focus {\n\t\toutline: 0;\n\t\tborder-color: ", ";\n\t\tbox-shadow: ", ";\n\t}\n\n\t", ";\n\t", ";\n\t", ";\n\n\t&.enter-btn {\n\t\tborder-top-left-radius: 0px;\n\t\tborder-bottom-left-radius: 0px;\n\t\theight: 100%;\n\t}\n"])), function (_ref4) {
31
- var theme = _ref4.theme;
32
- return theme.colors.backgroundColor || '#eee';
33
- }, function (_ref5) {
34
- var theme = _ref5.theme;
35
- return theme.colors.textColor;
36
- }, function (_ref6) {
37
- var theme = _ref6.theme;
38
- return theme.colors.backgroundColor ? polished.darken(0.1, theme.colors.backgroundColor) : '#ccc';
39
- }, function (_ref7) {
40
- var theme = _ref7.theme;
41
- return polished.rgba(theme.colors.primaryColor, 0.6);
42
- }, function (_ref8) {
43
- var theme = _ref8.theme;
44
- return "0 0 0 2px " + polished.rgba(theme.colors.primaryColor, 0.3);
45
- }, function (props) {
46
- return props.primary ? primary : null;
47
- }, function (props) {
48
- return props.disabled ? disabled : null;
49
- }, function (props) {
50
- return props.large && large;
51
- });
52
- var loadMoreContainer = emotion.css({
53
- margin: '5px 0',
54
- display: 'flex',
55
- justifyContent: 'center'
56
- });
57
-
58
- exports.Button = Button;
59
- exports.filters = filters;
60
- exports.loadMoreContainer = loadMoreContainer;
61
- exports.pagination = pagination;
62
- exports.toggleButtons = toggleButtons;
@@ -1,30 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
- var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
6
- var emotion = require('emotion');
7
- var styled = require('@appbaseio/vue-emotion');
8
- var styled__default = _interopDefault(styled);
9
- var polished = require('polished');
10
- require('./Title-16042ea0.js');
11
-
12
- var _templateObject, _templateObject2, _templateObject3;
13
- var container = emotion.css(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: flex;\n\tflex-direction: row;\n\tjustify-content: center;\n\tflex-wrap: wrap;\n\tmargin: 0 -8px;\n\n\t@media (max-width: 420px) {\n\t\tmargin: 0;\n\t}\n"])));
14
- var Image = styled__default('div')(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\twidth: calc(100% + 20px);\n\theight: 220px;\n\tmargin: -10px -10px 0;\n\tbackground-color: ", ";\n\tbackground-size: contain;\n\tbackground-position: center center;\n\tbackground-repeat: no-repeat;\n"])), function (_ref) {
15
- var colors = _ref.theme.colors;
16
- return colors.backgroundColor || '#fcfcfc';
17
- });
18
- var Card = styled__default('a')(_templateObject3 || (_templateObject3 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\twidth: auto;\n\tflex-grow: 1;\n\toutline: none;\n\ttext-decoration: none;\n\tmin-width: 240px;\n\tmax-width: 250px;\n\tborder-radius: 0.25rem;\n\tbackground-color: ", ";\n\theight: 300px;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: space-between;\n\tmargin: 8px;\n\tpadding: 10px;\n\toverflow: hidden;\n\tbox-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);\n\tcolor: ", ";\n\t", ";\n\ttransition: all 0.3s ease;\n\n\th2 {\n\t\twidth: 100%;\n\t\tfont-size: 0.9rem;\n\t\tline-height: 1.2rem;\n\t\twhite-space: nowrap;\n\t\toverflow: hidden;\n\t\ttext-overflow: ellipsis;\n\t\tmargin: 0;\n\t\tpadding: 10px 0 8px;\n\t}\n\n\tp {\n\t\tmargin: 0;\n\t}\n\n\tarticle {\n\t\tflex-grow: 1;\n\t\tfont-size: 0.9rem;\n\t}\n\n\t&:hover,\n\t&:focus {\n\t\tbox-shadow: 0 0 8px 1px rgba(0, 0, 0, 0.3);\n\t}\n\n\t@media (max-width: 420px) {\n\t\twidth: 50%;\n\t\tmin-width: 0;\n\t\theight: 210px;\n\t\tmargin: 0;\n\t\tborder-radius: 0;\n\t\tbox-shadow: none;\n\t\tborder: 1px solid #eee;\n\n\t\t&:hover,\n\t\t&:focus {\n\t\t\tbox-shadow: 0;\n\t\t}\n\t}\n"])), function (_ref2) {
19
- var theme = _ref2.theme;
20
- return theme.colors.backgroundColor ? polished.lighten(0.1, theme.colors.backgroundColor) : '#fff';
21
- }, function (_ref3) {
22
- var theme = _ref3.theme;
23
- return theme.colors.textColor;
24
- }, function (props) {
25
- return props.href ? 'cursor: pointer' : null;
26
- });
27
-
28
- exports.Card = Card;
29
- exports.Image = Image;
30
- exports.container = container;
@@ -1,15 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
- var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
6
- var styled = require('@appbaseio/vue-emotion');
7
- var styled__default = _interopDefault(styled);
8
-
9
- var _templateObject;
10
- var Container = styled__default('div')(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t", ";\n"])), function (_ref) {
11
- var theme = _ref.theme;
12
- return theme.component;
13
- });
14
-
15
- exports.Container = Container;
@@ -1,50 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
- var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
6
- var emotion = require('emotion');
7
- var styled = require('@appbaseio/vue-emotion');
8
- var styled__default = _interopDefault(styled);
9
- var polished = require('polished');
10
-
11
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8, _templateObject9, _templateObject10, _templateObject11;
12
- var leftLabel = emotion.css(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tflex-direction: row;\n\talign-items: center;\n"])));
13
- var rightLabel = emotion.css(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tflex-direction: row-reverse;\n\talign-items: center;\n"])));
14
- var topLabel = emotion.css(_templateObject3 || (_templateObject3 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tflex-direction: column;\n"])));
15
- var bottomLabel = emotion.css(_templateObject4 || (_templateObject4 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tflex-direction: column-reverse;\n"])));
16
- var border = function border(_ref) {
17
- var colors = _ref.theme.colors;
18
- return emotion.css(_templateObject5 || (_templateObject5 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tborder: 1px solid ", ";\n"])), colors.borderColor || '#ccc');
19
- };
20
- var Flex = styled__default('div')(_templateObject6 || (_templateObject6 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tdisplay: ", ";\n\t", ";\n\t", ";\n\t", ";\n\t", ";\n\t", ";\n\n\t", ";\n\t", ";\n\n\t", ";\n\t", ";\n\t", ";\n\n\tsvg.cancel-icon {\n\t\tcursor: pointer;\n\t\tfill: ", ";\n\t\tflex-basis: 30px;\n\n\t\t&:hover {\n\t\t\tfill: ", ";\n\t\t}\n\t}\n"])), function (props) {
21
- return props.inline ? 'inline-flex' : 'flex';
22
- }, function (props) {
23
- return (props.labelPosition === 'left' || props.iconPosition === 'right') && leftLabel;
24
- }, function (props) {
25
- return (props.labelPosition === 'right' || props.iconPosition === 'left') && rightLabel;
26
- }, function (props) {
27
- return props.labelPosition === 'top' && topLabel;
28
- }, function (props) {
29
- return props.labelPosition === 'bottom' && bottomLabel;
30
- }, function (props) {
31
- return props.showBorder && border;
32
- }, function (props) {
33
- return props.justifyContent && emotion.css(_templateObject7 || (_templateObject7 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t\t\tjustify-content: ", ";\n\t\t"])), props.justifyContent);
34
- }, function (props) {
35
- return props.alignItems && emotion.css(_templateObject8 || (_templateObject8 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t\t\talign-items: ", ";\n\t\t"])), props.alignItems);
36
- }, function (props) {
37
- return props.flex && emotion.css(_templateObject9 || (_templateObject9 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t\t\tflex: ", ";\n\t\t"])), props.flex);
38
- }, function (props) {
39
- return props.direction && emotion.css(_templateObject10 || (_templateObject10 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t\t\tflex-direction: ", ";\n\t\t"])), props.direction);
40
- }, function (props) {
41
- return props.basis && emotion.css(_templateObject11 || (_templateObject11 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t\t\tflex-basis: ", ";\n\t\t"])), props.basis);
42
- }, function (_ref2) {
43
- var colors = _ref2.theme.colors;
44
- return colors.borderColor || polished.lighten(0.3, colors.textColor);
45
- }, function (_ref3) {
46
- var theme = _ref3.theme;
47
- return theme.colors.textColor;
48
- });
49
-
50
- exports.Flex = Flex;
@@ -1,45 +0,0 @@
1
- 'use strict';
2
-
3
- function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
4
-
5
- var _rollupPluginBabelHelpers = require('./_rollupPluginBabelHelpers-f8b843f8.js');
6
- var emotion = require('emotion');
7
- var styled = require('@appbaseio/vue-emotion');
8
- var styled__default = _interopDefault(styled);
9
- var polished = require('polished');
10
-
11
- var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
12
- var item = {
13
- width: '15px',
14
- height: '15px',
15
- scale: '4px'
16
- };
17
- var vh = emotion.css(_templateObject || (_templateObject = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tborder: 0;\n\tclip: rect(1px, 1px, 1px, 1px);\n\tclip-path: inset(50%);\n\theight: 1px;\n\toverflow: hidden;\n\tpadding: 0;\n\tposition: absolute;\n\twidth: 1px;\n\twhite-space: nowrap;\n"])));
18
- var hideInputControl = emotion.css(_templateObject2 || (_templateObject2 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t+ label {\n\t\tpadding-left: 0;\n\n\t\t&::before,\n\t\t&::after {\n\t\t\twidth: 0;\n\t\t\theight: 0;\n\t\t\tborder: 0;\n\t\t\tmargin: 0;\n\t\t\tvisibility: hidden;\n\t\t}\n\t}\n\n\t&:checked {\n\t\t+ label {\n\t\t\tfont-weight: bold;\n\t\t}\n\t}\n"])));
19
- var formItem = function formItem(_ref) {
20
- var theme = _ref.theme;
21
- return emotion.css(_templateObject3 || (_templateObject3 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t", ";\n\n\t&:focus {\n\t\t+ label {\n\t\t\t&::before {\n\t\t\t\tbox-shadow: 0 0 0 2px ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t&:hover {\n\t\t+ label {\n\t\t\t&::before {\n\t\t\t\tborder-color: ", ";\n\t\t\t}\n\t\t}\n\t}\n\n\t&:active {\n\t\t+ label {\n\t\t\t&::before {\n\t\t\t\ttransition-duration: 0;\n\t\t\t}\n\t\t}\n\t}\n\n\t+ label {\n\t\tposition: relative;\n\t\tuser-select: none;\n\t\tdisplay: flex;\n\t\twidth: 100%;\n\t\theight: 100%;\n\t\talign-items: center;\n\t\tcursor: pointer;\n\n\t\t&::before {\n\t\t\tbackground-color: #fff;\n\t\t\tborder: 1px solid ", ";\n\t\t\tbox-sizing: content-box;\n\t\t\tcontent: '';\n\t\t\tcolor: ", ";\n\t\t\tmargin-right: calc(", " * 0.5);\n\t\t\ttop: 50%;\n\t\t\tleft: 0;\n\t\t\twidth: ", ";\n\t\t\theight: ", ";\n\t\t\tdisplay: inline-block;\n\t\t\tvertical-align: middle;\n\t\t}\n\n\t\t&::after {\n\t\t\tbox-sizing: content-box;\n\t\t\tcontent: '';\n\t\t\tbackground-color: ", ";\n\t\t\tposition: absolute;\n\t\t\ttop: 50%;\n\t\t\tleft: calc(1px + ", " / 2);\n\t\t\twidth: calc(", " - ", ");\n\t\t\theight: calc(", " - ", ");\n\t\t\tmargin-top: calc(", " / -2 - ", " / -2);\n\t\t\ttransform: scale(0);\n\t\t\ttransform-origin: 50%;\n\t\t\ttransition: transform 200ms ease-out;\n\t\t}\n\t}\n"])), vh, polished.lighten(0.4, theme.colors.primaryColor), theme.colors.primaryColor, theme.colors.borderColor || polished.lighten(0.1, theme.colors.textColor), theme.colors.primaryColor, item.width, item.width, item.height, theme.colors.primaryColor, item.scale, item.width, item.scale, item.height, item.scale, item.height, item.scale);
22
- };
23
- var Radio = styled__default('input')(_templateObject4 || (_templateObject4 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t", ";\n\t", ";\n\n\t+ label {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-radius: 50%;\n\t\t}\n\t}\n\n\t&:checked {\n\t\t&:active,\n\t\t&:focus {\n\t\t\t+ label {\n\t\t\t\tcolor: ", ";\n\n\t\t\t\t&::before {\n\t\t\t\t\tanimation: none;\n\t\t\t\t\tfilter: none;\n\t\t\t\t\ttransition: none;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t+ label {\n\t\t\t&::before {\n\t\t\t\tanimation: none;\n\t\t\t\tbackground-color: #fff;\n\t\t\t\tborder-color: ", ";\n\t\t}\n\n\t\t&::after {\n\t\t\ttransform: scale(1);\n\t\t}\n\t}\n"])), formItem, function (props) {
24
- return props.show ? null : hideInputControl;
25
- }, function (_ref2) {
26
- var theme = _ref2.theme;
27
- return theme.colors.primaryColor;
28
- }, function (_ref3) {
29
- var theme = _ref3.theme;
30
- return theme.colors.primaryColor;
31
- });
32
- var Checkbox = styled__default('input')(_templateObject5 || (_templateObject5 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\t", ";\n\t", ";\n\n\t+ label {\n\t\t&::before,\n\t\t&::after {\n\t\t\tborder-radius: 0;\n\t\t}\n\n\t\t&::after {\n\t\t\tbackground-color: transparent;\n\t\t\ttop: 50%;\n\t\t\tleft: calc(1px + ", " / 5);\n\t\t\twidth: calc(", " / 2);\n\t\t\theight: calc(", " / 5);\n\t\t\tmargin-top: calc(", " / -2 / 2 * 0.8);\n\t\t\tborder-style: solid;\n\t\t\tborder-color: ", ";\n\t\t\tborder-width: 0 0 2px 2px;\n\t\t\tborder-radius: 0;\n\t\t\tborder-image: none;\n\t\t\ttransform: rotate(-45deg) scale(0);\n\t\t\ttransition: none;\n\t\t}\n\t}\n\n\t&:checked {\n\t\t+ label {\n\t\t\t&::before {\n\t\t\t\tborder-color: ", ";\n\t\t\t}\n\n\t\t\t&::after {\n\t\t\t\tcontent: '';\n\t\t\t\ttransform: rotate(-45deg) scale(1);\n\t\t\t\ttransition: transform 200ms ease-out;\n\t\t\t}\n\t\t}\n\t}\n"])), formItem, function (props) {
33
- return props.show ? null : hideInputControl;
34
- }, item.width, item.width, item.width, item.height, function (_ref4) {
35
- var theme = _ref4.theme;
36
- return theme.colors.primaryColor;
37
- }, function (_ref5) {
38
- var theme = _ref5.theme;
39
- return theme.colors.primaryColor;
40
- });
41
- var UL = styled__default('ul')(_templateObject6 || (_templateObject6 = _rollupPluginBabelHelpers._taggedTemplateLiteralLoose(["\n\tlist-style: none;\n\tpadding: 0;\n\tmargin: 0;\n\tmax-height: 240px;\n\tposition: relative;\n\toverflow-y: auto;\n\tpadding-bottom: 12px;\n\n\tli {\n\t\theight 30px;\n\t\tdisplay: flex;\n\t\tflex-direction: row;\n\t\talign-items: center;\n\t\tpadding-left: 2px;\n\t}\n"])));
42
-
43
- exports.Checkbox = Checkbox;
44
- exports.Radio = Radio;
45
- exports.UL = UL;