@mjhls/mjh-framework 1.0.971-nofollow-v4 → 1.0.971

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 (88) hide show
  1. package/README.md +168 -168
  2. package/dist/cjs/AlgoliaSearch.js +15 -131
  3. package/dist/cjs/ArticleProgramLandingPage.js +1 -1
  4. package/dist/cjs/AuthWrapper.js +1 -1
  5. package/dist/cjs/ConferenceArticleCard.js +15 -15
  6. package/dist/cjs/ContentCardPaginated.js +2 -1
  7. package/dist/cjs/DeckContent.js +8 -8
  8. package/dist/cjs/DeckQueuePaginated.js +2 -1
  9. package/dist/cjs/EventsDeck.js +17 -17
  10. package/dist/cjs/ExternalResources.js +1 -1
  11. package/dist/cjs/GridContentPaginated.js +2 -1
  12. package/dist/cjs/HamMagazine.js +9 -9
  13. package/dist/cjs/HealthCareProfessionalModal.js +1 -1
  14. package/dist/cjs/HorizontalArticleListing.js +1 -1
  15. package/dist/cjs/IssueLanding.js +30 -30
  16. package/dist/cjs/KMTracker.js +15 -15
  17. package/dist/cjs/MasterDeck.js +8 -8
  18. package/dist/cjs/MasterDeckPaginated.js +10 -9
  19. package/dist/cjs/{MediaSeriesCard-e65f78d8.js → MediaSeriesCard-5bf9813e.js} +2 -2
  20. package/dist/cjs/MediaSeriesLanding.js +7 -7
  21. package/dist/cjs/MediaSeriesLandingPaginated.js +9 -8
  22. package/dist/cjs/NavMagazine.js +10 -10
  23. package/dist/cjs/NavNative.js +9 -9
  24. package/dist/cjs/Pagination-c63770a3.js +90 -0
  25. package/dist/cjs/PartnerDetailListing.js +1 -1
  26. package/dist/cjs/PartnerDetailListingPaginated.js +3 -2
  27. package/dist/cjs/PublicationLanding.js +26 -26
  28. package/dist/cjs/QueueDeckExpandedPaginated.js +2 -1
  29. package/dist/cjs/RelatedContent.js +28 -28
  30. package/dist/cjs/RelatedTopicsDropdown.js +10 -10
  31. package/dist/cjs/SeriesListingDeck.js +1 -1
  32. package/dist/cjs/{SeriesSlider-74546d19.js → SeriesSlider-594b19eb.js} +4 -4
  33. package/dist/cjs/SideFooter.js +2 -2
  34. package/dist/cjs/TaxonomyDescription.js +1 -1
  35. package/dist/cjs/VideoProgramLandingPage.js +1 -1
  36. package/dist/cjs/VideoSeriesCard.js +1 -1
  37. package/dist/cjs/View.js +10 -13
  38. package/dist/cjs/YoutubeGroup.js +4 -4
  39. package/dist/cjs/getSerializers.js +5 -5
  40. package/dist/cjs/{getTargeting-dab97fe1.js → getTargeting-3c5754ac.js} +9 -9
  41. package/dist/cjs/getTargeting.js +1 -1
  42. package/dist/cjs/{index-366089a6.js → index-eb1c583d.js} +29 -72
  43. package/dist/cjs/index.js +4 -3
  44. package/dist/esm/AlgoliaSearch.js +16 -132
  45. package/dist/esm/ArticleProgramLandingPage.js +1 -1
  46. package/dist/esm/AuthWrapper.js +1 -1
  47. package/dist/esm/ConferenceArticleCard.js +15 -15
  48. package/dist/esm/ContentCardPaginated.js +2 -1
  49. package/dist/esm/DeckContent.js +8 -8
  50. package/dist/esm/DeckQueuePaginated.js +2 -1
  51. package/dist/esm/EventsDeck.js +17 -17
  52. package/dist/esm/ExternalResources.js +1 -1
  53. package/dist/esm/GridContentPaginated.js +2 -1
  54. package/dist/esm/HamMagazine.js +9 -9
  55. package/dist/esm/HealthCareProfessionalModal.js +1 -1
  56. package/dist/esm/HorizontalArticleListing.js +1 -1
  57. package/dist/esm/IssueLanding.js +30 -30
  58. package/dist/esm/KMTracker.js +15 -15
  59. package/dist/esm/MasterDeck.js +8 -8
  60. package/dist/esm/MasterDeckPaginated.js +10 -9
  61. package/dist/esm/{MediaSeriesCard-9405860d.js → MediaSeriesCard-305a9cb3.js} +2 -2
  62. package/dist/esm/MediaSeriesLanding.js +7 -7
  63. package/dist/esm/MediaSeriesLandingPaginated.js +9 -8
  64. package/dist/esm/NavMagazine.js +10 -10
  65. package/dist/esm/NavNative.js +9 -9
  66. package/dist/esm/Pagination-6f8d5327.js +82 -0
  67. package/dist/esm/PartnerDetailListing.js +1 -1
  68. package/dist/esm/PartnerDetailListingPaginated.js +3 -2
  69. package/dist/esm/PublicationLanding.js +26 -26
  70. package/dist/esm/QueueDeckExpandedPaginated.js +2 -1
  71. package/dist/esm/RelatedContent.js +28 -28
  72. package/dist/esm/RelatedTopicsDropdown.js +10 -10
  73. package/dist/esm/SeriesListingDeck.js +1 -1
  74. package/dist/esm/{SeriesSlider-e495571f.js → SeriesSlider-f771e20d.js} +4 -4
  75. package/dist/esm/SideFooter.js +2 -2
  76. package/dist/esm/TaxonomyDescription.js +1 -1
  77. package/dist/esm/VideoProgramLandingPage.js +1 -1
  78. package/dist/esm/VideoSeriesCard.js +1 -1
  79. package/dist/esm/View.js +9 -13
  80. package/dist/esm/YoutubeGroup.js +4 -4
  81. package/dist/esm/getSerializers.js +5 -5
  82. package/dist/esm/{getTargeting-04d979c9.js → getTargeting-42f9b439.js} +9 -9
  83. package/dist/esm/getTargeting.js +1 -1
  84. package/dist/esm/{index-cf1bb508.js → index-264bbd3c.js} +29 -72
  85. package/dist/esm/index.js +4 -3
  86. package/package.json +115 -115
  87. package/dist/cjs/Pagination-30bb1ca1.js +0 -97
  88. package/dist/esm/Pagination-194dd03f.js +0 -90
package/README.md CHANGED
@@ -1,168 +1,168 @@
1
- # mjh-framework v. 1.0.971
2
-
3
- [![NPM](https://img.shields.io/npm/v/mjh-framework.svg)](https://www.npmjs.com/package/mjh-framework) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
4
-
5
- ## Install
6
-
7
- ```bash
8
- npm install --save @mjhls/mjh-framework
9
- ```
10
-
11
- ## Usage
12
-
13
- ```jsx
14
- import React, { Component } from 'react'
15
-
16
- import { NavMagazine, DeckQueue } from 'mjh-framework'
17
-
18
- export default class App extends Component {
19
- render() {
20
- return (
21
- <div>
22
- <NavMagazine />
23
- <DeckQueue />
24
- </div>
25
- )
26
- }
27
- }
28
- ```
29
-
30
- ## Publish new updates to the npm registry
31
-
32
- ```bash
33
- npm publish
34
- ```
35
-
36
- ## For getting updates in the template without publishing each time a change is made in the framework
37
-
38
- Link react and react-dom of the template repo, so that it can be used by the framework.
39
- This is to avoid the error arising due to multiple instances of React.
40
-
41
- ```bash
42
- cd ../mjh-template/node_modules/react
43
-
44
- yarn link
45
-
46
- cd ../react-dom
47
-
48
- yarn link
49
-
50
- cd ../../../mjh-framework
51
-
52
- yarn link react && yarn link react-dom
53
- ```
54
-
55
- Link the framework repo so that it can be used in the template
56
-
57
- ```bash
58
- npm link
59
-
60
- cd ../mjh-template
61
-
62
- npm link @mjhls/mjh-framework
63
- ```
64
-
65
- ## Components and "props"
66
-
67
- ### Deck Components
68
-
69
- - #### DeckContent
70
-
71
- ##### Props
72
-
73
- - mapping
74
- - dataRecord
75
- - query
76
- - params
77
- - pointer
78
- - pointerArray
79
- - defaultImage
80
-
81
- - #### DeckQueue
82
- ##### Props
83
- - page
84
- - dataRecord
85
- - query
86
- - params
87
- - pointer
88
- - pointerArray
89
-
90
- ### Layout Components
91
-
92
- - #### Column1
93
- - #### Column2
94
- ##### Props
95
- - rightItems
96
- - #### Column3
97
- ##### Props
98
- - leftItems
99
- - rightItems
100
- ##### Common Props (Column1, Column2, Column3)
101
- - title
102
- - children
103
- - #### Header
104
- ##### Props
105
- - title
106
- - keyword
107
- - description
108
- - #### LeftNav
109
- ##### Props
110
- - leftItems
111
- - #### AccordionPanel
112
- ##### Props
113
- - accordionClassName
114
- - data
115
-
116
- ### Navigation Components
117
-
118
- - #### NavMagazine
119
- ##### Props
120
- - logo
121
- - dataObject
122
- - #### NavNative
123
- ##### Props
124
- - logo
125
- - dataObject
126
- - #### NavNormal
127
- ##### Props
128
- - logo
129
- - dataObject
130
- - variant
131
- - #### NavDvm
132
- ##### Props
133
- - logo
134
- - dataObject
135
- - subNavHeads
136
-
137
- ### Template Components
138
-
139
- - #### TemplateNormal
140
- ##### Props
141
- - config
142
- - title
143
- - keywords
144
- - description
145
- - website
146
-
147
- ### Ad Components
148
-
149
- - #### AD300x250
150
- - #### AD300x250x600
151
- - #### AD728x90
152
- ##### Common Props
153
- - networkID
154
- - adUnit
155
-
156
- ### Serializers
157
-
158
- - #### getSerializers (function)
159
- ##### arguments
160
- - client
161
- ##### types
162
- - youtube
163
- - figure
164
- - slideshow
165
-
166
- ## License
167
-
168
- MIT © [mjh-framework](https://github.com/mjh-framework)
1
+ # mjh-framework v. 1.0.971
2
+
3
+ [![NPM](https://img.shields.io/npm/v/mjh-framework.svg)](https://www.npmjs.com/package/mjh-framework) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ npm install --save @mjhls/mjh-framework
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ ```jsx
14
+ import React, { Component } from 'react'
15
+
16
+ import { NavMagazine, DeckQueue } from 'mjh-framework'
17
+
18
+ export default class App extends Component {
19
+ render() {
20
+ return (
21
+ <div>
22
+ <NavMagazine />
23
+ <DeckQueue />
24
+ </div>
25
+ )
26
+ }
27
+ }
28
+ ```
29
+
30
+ ## Publish new updates to the npm registry
31
+
32
+ ```bash
33
+ npm publish
34
+ ```
35
+
36
+ ## For getting updates in the template without publishing each time a change is made in the framework
37
+
38
+ Link react and react-dom of the template repo, so that it can be used by the framework.
39
+ This is to avoid the error arising due to multiple instances of React.
40
+
41
+ ```bash
42
+ cd ../mjh-template/node_modules/react
43
+
44
+ yarn link
45
+
46
+ cd ../react-dom
47
+
48
+ yarn link
49
+
50
+ cd ../../../mjh-framework
51
+
52
+ yarn link react && yarn link react-dom
53
+ ```
54
+
55
+ Link the framework repo so that it can be used in the template
56
+
57
+ ```bash
58
+ npm link
59
+
60
+ cd ../mjh-template
61
+
62
+ npm link @mjhls/mjh-framework
63
+ ```
64
+
65
+ ## Components and "props"
66
+
67
+ ### Deck Components
68
+
69
+ - #### DeckContent
70
+
71
+ ##### Props
72
+
73
+ - mapping
74
+ - dataRecord
75
+ - query
76
+ - params
77
+ - pointer
78
+ - pointerArray
79
+ - defaultImage
80
+
81
+ - #### DeckQueue
82
+ ##### Props
83
+ - page
84
+ - dataRecord
85
+ - query
86
+ - params
87
+ - pointer
88
+ - pointerArray
89
+
90
+ ### Layout Components
91
+
92
+ - #### Column1
93
+ - #### Column2
94
+ ##### Props
95
+ - rightItems
96
+ - #### Column3
97
+ ##### Props
98
+ - leftItems
99
+ - rightItems
100
+ ##### Common Props (Column1, Column2, Column3)
101
+ - title
102
+ - children
103
+ - #### Header
104
+ ##### Props
105
+ - title
106
+ - keyword
107
+ - description
108
+ - #### LeftNav
109
+ ##### Props
110
+ - leftItems
111
+ - #### AccordionPanel
112
+ ##### Props
113
+ - accordionClassName
114
+ - data
115
+
116
+ ### Navigation Components
117
+
118
+ - #### NavMagazine
119
+ ##### Props
120
+ - logo
121
+ - dataObject
122
+ - #### NavNative
123
+ ##### Props
124
+ - logo
125
+ - dataObject
126
+ - #### NavNormal
127
+ ##### Props
128
+ - logo
129
+ - dataObject
130
+ - variant
131
+ - #### NavDvm
132
+ ##### Props
133
+ - logo
134
+ - dataObject
135
+ - subNavHeads
136
+
137
+ ### Template Components
138
+
139
+ - #### TemplateNormal
140
+ ##### Props
141
+ - config
142
+ - title
143
+ - keywords
144
+ - description
145
+ - website
146
+
147
+ ### Ad Components
148
+
149
+ - #### AD300x250
150
+ - #### AD300x250x600
151
+ - #### AD728x90
152
+ ##### Common Props
153
+ - networkID
154
+ - adUnit
155
+
156
+ ### Serializers
157
+
158
+ - #### getSerializers (function)
159
+ ##### arguments
160
+ - client
161
+ ##### types
162
+ - youtube
163
+ - figure
164
+ - slideshow
165
+
166
+ ## License
167
+
168
+ MIT © [mjh-framework](https://github.com/mjh-framework)
@@ -829,7 +829,7 @@ function parseAlgoliaHit(_ref2) {
829
829
  });
830
830
  }
831
831
 
832
- var version$1 = '6.12.0';
832
+ var version$1 = '6.11.2';
833
833
 
834
834
  var withKeysPropType = function withKeysPropType(keys) {
835
835
  return function (props, propName, componentName) {
@@ -911,10 +911,6 @@ function translatable(defaultTranslations) {
911
911
  function getIndexId(context) {
912
912
  return hasMultipleIndices(context) ? context.multiIndexContext.targetedIndex : context.ais.mainTargetedIndex;
913
913
  }
914
- /**
915
- * @returns {import('algoliasearch-helper').SearchResults} results
916
- */
917
-
918
914
  function getResults(searchResults, context) {
919
915
  if (searchResults.results) {
920
916
  if (searchResults.results.hits) {
@@ -4779,7 +4775,7 @@ var requestBuilder = {
4779
4775
 
4780
4776
  var requestBuilder_1 = requestBuilder;
4781
4777
 
4782
- var version = '3.5.4';
4778
+ var version = '3.5.3';
4783
4779
 
4784
4780
  /**
4785
4781
  * Event triggered when a parameter is set or updated
@@ -6427,87 +6423,6 @@ ConfigureRelatedItems.propTypes = {
6427
6423
  };
6428
6424
  connectConfigureRelatedItems(ConfigureRelatedItems);
6429
6425
 
6430
- var connectDynamicWidgets = createConnectorWithContext({
6431
- displayName: 'AlgoliaDynamicWidgets',
6432
- defaultProps: {
6433
- transformItems: function transformItems(items) {
6434
- return items;
6435
- }
6436
- },
6437
- propTypes: {
6438
- transformItems: PropTypes__default['default'].func
6439
- },
6440
- getProvidedProps: function getProvidedProps(props, _searchState, searchResults) {
6441
- var results = getResults(searchResults, {
6442
- ais: props.contextValue,
6443
- multiIndexContext: props.indexContextValue
6444
- });
6445
-
6446
- if (!results) {
6447
- return {
6448
- attributesToRender: []
6449
- };
6450
- }
6451
-
6452
- var facetOrder = results.renderingContent && results.renderingContent.facetOrdering && results.renderingContent.facetOrdering.facets && results.renderingContent.facetOrdering.facets.order || [];
6453
- return {
6454
- attributesToRender: props.transformItems(facetOrder, {
6455
- results: results
6456
- })
6457
- };
6458
- }
6459
- });
6460
-
6461
- function getAttribute(component) {
6462
- if (_typeof(component) !== 'object') {
6463
- return undefined;
6464
- }
6465
-
6466
- if (component.props.attribute) {
6467
- return component.props.attribute;
6468
- }
6469
-
6470
- if (Array.isArray(component.props.attributes)) {
6471
- return component.props.attributes[0];
6472
- }
6473
-
6474
- if (component.props.children) {
6475
- return getAttribute(React__default['default'].Children.only(component.props.children));
6476
- }
6477
-
6478
- return undefined;
6479
- }
6480
-
6481
- function DynamicWidgets(_ref) {
6482
- var children = _ref.children,
6483
- attributesToRender = _ref.attributesToRender,
6484
- _ref$fallbackComponen = _ref.fallbackComponent,
6485
- Fallback = _ref$fallbackComponen === void 0 ? function () {
6486
- return null;
6487
- } : _ref$fallbackComponen;
6488
- var widgets = new Map();
6489
- React__default['default'].Children.forEach(children, function (child) {
6490
- var attribute = getAttribute(child);
6491
-
6492
- if (!attribute) {
6493
- throw new Error("Could not find \"attribute\" prop for ".concat(getDisplayName(child), "."));
6494
- }
6495
-
6496
- widgets.set(attribute, child);
6497
- }); // on initial render this will be empty, but React InstantSearch keeps
6498
- // search state for unmounted components in place, so routing works.
6499
-
6500
- return React__default['default'].createElement(React__default['default'].Fragment, null, attributesToRender.map(function (attribute) {
6501
- return React__default['default'].createElement(React.Fragment, {
6502
- key: attribute
6503
- }, widgets.get(attribute) || React__default['default'].createElement(Fallback, {
6504
- attribute: attribute
6505
- }));
6506
- }));
6507
- }
6508
-
6509
- connectDynamicWidgets(DynamicWidgets);
6510
-
6511
6426
  // A context rule must consist only of alphanumeric characters, hyphens, and underscores.
6512
6427
  // See https://www.algolia.com/doc/guides/managing-results/refine-results/merchandising-and-promoting/in-depth/implementing-query-rules/#context
6513
6428
  function escapeRuleContext(ruleName) {
@@ -7917,8 +7832,7 @@ var connectHierarchicalMenu = createConnectorWithContext({
7917
7832
  showMore: PropTypes__default['default'].bool,
7918
7833
  limit: PropTypes__default['default'].number,
7919
7834
  showMoreLimit: PropTypes__default['default'].number,
7920
- transformItems: PropTypes__default['default'].func,
7921
- facetOrdering: PropTypes__default['default'].bool
7835
+ transformItems: PropTypes__default['default'].func
7922
7836
  },
7923
7837
  defaultProps: {
7924
7838
  showMore: false,
@@ -7926,14 +7840,12 @@ var connectHierarchicalMenu = createConnectorWithContext({
7926
7840
  showMoreLimit: 20,
7927
7841
  separator: ' > ',
7928
7842
  rootPath: null,
7929
- showParentLevel: true,
7930
- facetOrdering: true
7843
+ showParentLevel: true
7931
7844
  },
7932
7845
  getProvidedProps: function getProvidedProps(props, searchState, searchResults) {
7933
7846
  var showMore = props.showMore,
7934
7847
  limit = props.limit,
7935
- showMoreLimit = props.showMoreLimit,
7936
- facetOrdering = props.facetOrdering;
7848
+ showMoreLimit = props.showMoreLimit;
7937
7849
  var id = getId$c(props);
7938
7850
  var results = getResults(searchResults, {
7939
7851
  ais: props.contextValue,
@@ -7954,8 +7866,7 @@ var connectHierarchicalMenu = createConnectorWithContext({
7954
7866
 
7955
7867
  var itemsLimit = showMore ? showMoreLimit : limit;
7956
7868
  var value = results.getFacetValues(id, {
7957
- sortBy: sortBy$1,
7958
- facetOrdering: facetOrdering
7869
+ sortBy: sortBy$1
7959
7870
  });
7960
7871
  var items = value.data ? transformValue(value.data, props, searchState, {
7961
7872
  ais: props.contextValue,
@@ -8507,20 +8418,17 @@ var connectMenu = createConnectorWithContext({
8507
8418
  showMoreLimit: PropTypes__default['default'].number,
8508
8419
  defaultRefinement: PropTypes__default['default'].string,
8509
8420
  transformItems: PropTypes__default['default'].func,
8510
- searchable: PropTypes__default['default'].bool,
8511
- facetOrdering: PropTypes__default['default'].bool
8421
+ searchable: PropTypes__default['default'].bool
8512
8422
  },
8513
8423
  defaultProps: {
8514
8424
  showMore: false,
8515
8425
  limit: 10,
8516
- showMoreLimit: 20,
8517
- facetOrdering: true
8426
+ showMoreLimit: 20
8518
8427
  },
8519
8428
  getProvidedProps: function getProvidedProps(props, searchState, searchResults, meta, searchForFacetValuesResults) {
8520
8429
  var attribute = props.attribute,
8521
8430
  searchable = props.searchable,
8522
- indexContextValue = props.indexContextValue,
8523
- facetOrdering = props.facetOrdering;
8431
+ indexContextValue = props.indexContextValue;
8524
8432
  var results = getResults(searchResults, {
8525
8433
  ais: props.contextValue,
8526
8434
  multiIndexContext: props.indexContextValue
@@ -8566,8 +8474,7 @@ var connectMenu = createConnectorWithContext({
8566
8474
  });
8567
8475
  } else {
8568
8476
  items = results.getFacetValues(attribute, {
8569
- sortBy: searchable ? undefined : defaultSortBy,
8570
- facetOrdering: facetOrdering
8477
+ sortBy: searchable ? undefined : defaultSortBy
8571
8478
  }).map(function (v) {
8572
8479
  return {
8573
8480
  label: v.name,
@@ -9424,21 +9331,18 @@ var connectRefinementList = createConnectorWithContext({
9424
9331
  showMoreLimit: PropTypes__default['default'].number,
9425
9332
  defaultRefinement: PropTypes__default['default'].arrayOf(PropTypes__default['default'].oneOfType([PropTypes__default['default'].string, PropTypes__default['default'].number])),
9426
9333
  searchable: PropTypes__default['default'].bool,
9427
- transformItems: PropTypes__default['default'].func,
9428
- facetOrdering: PropTypes__default['default'].bool
9334
+ transformItems: PropTypes__default['default'].func
9429
9335
  },
9430
9336
  defaultProps: {
9431
9337
  operator: 'or',
9432
9338
  showMore: false,
9433
9339
  limit: 10,
9434
- showMoreLimit: 20,
9435
- facetOrdering: true
9340
+ showMoreLimit: 20
9436
9341
  },
9437
9342
  getProvidedProps: function getProvidedProps(props, searchState, searchResults, metadata, searchForFacetValuesResults) {
9438
9343
  var attribute = props.attribute,
9439
9344
  searchable = props.searchable,
9440
- indexContextValue = props.indexContextValue,
9441
- facetOrdering = props.facetOrdering;
9345
+ indexContextValue = props.indexContextValue;
9442
9346
  var results = getResults(searchResults, {
9443
9347
  ais: props.contextValue,
9444
9348
  multiIndexContext: props.indexContextValue
@@ -9479,8 +9383,7 @@ var connectRefinementList = createConnectorWithContext({
9479
9383
  isRefined: v.isRefined
9480
9384
  };
9481
9385
  }) : results.getFacetValues(attribute, {
9482
- sortBy: sortBy,
9483
- facetOrdering: facetOrdering
9386
+ sortBy: sortBy
9484
9387
  }).map(function (v) {
9485
9388
  return {
9486
9389
  label: v.name,
@@ -10980,7 +10883,6 @@ function (_Component) {
10980
10883
 
10981
10884
  var _this$props4 = this.props,
10982
10885
  className = _this$props4.className,
10983
- inputId = _this$props4.inputId,
10984
10886
  translate = _this$props4.translate,
10985
10887
  autoFocus = _this$props4.autoFocus,
10986
10888
  loadingIndicator = _this$props4.loadingIndicator,
@@ -11008,7 +10910,6 @@ function (_Component) {
11008
10910
  role: "search"
11009
10911
  }, React__default['default'].createElement("input", index._extends({
11010
10912
  ref: this.onInputMount,
11011
- id: inputId,
11012
10913
  type: "search",
11013
10914
  placeholder: translate('placeholder'),
11014
10915
  autoFocus: autoFocus,
@@ -11060,8 +10961,7 @@ _defineProperty(SearchBox$1, "propTypes", {
11060
10961
  showLoadingIndicator: PropTypes__default['default'].bool,
11061
10962
  inputRef: PropTypes__default['default'].oneOfType([PropTypes__default['default'].func, PropTypes__default['default'].exact({
11062
10963
  current: PropTypes__default['default'].object
11063
- })]),
11064
- inputId: PropTypes__default['default'].string
10964
+ })])
11065
10965
  });
11066
10966
 
11067
10967
  _defineProperty(SearchBox$1, "defaultProps", {
@@ -11700,11 +11600,9 @@ function (_Component) {
11700
11600
  value: function render() {
11701
11601
  var _this$props = this.props,
11702
11602
  cx = _this$props.cx,
11703
- id = _this$props.id,
11704
11603
  items = _this$props.items,
11705
11604
  selectedItem = _this$props.selectedItem;
11706
11605
  return React__default['default'].createElement("select", {
11707
- id: id,
11708
11606
  className: cx('select'),
11709
11607
  value: selectedItem,
11710
11608
  onChange: this.onChange
@@ -11724,7 +11622,6 @@ function (_Component) {
11724
11622
 
11725
11623
  _defineProperty(Select, "propTypes", {
11726
11624
  cx: PropTypes__default['default'].func.isRequired,
11727
- id: PropTypes__default['default'].string,
11728
11625
  onSelect: PropTypes__default['default'].func.isRequired,
11729
11626
  items: PropTypes__default['default'].arrayOf(PropTypes__default['default'].shape({
11730
11627
  value: PropTypes__default['default'].oneOfType([PropTypes__default['default'].string, PropTypes__default['default'].number]).isRequired,
@@ -11752,7 +11649,6 @@ function (_Component) {
11752
11649
  key: "render",
11753
11650
  value: function render() {
11754
11651
  var _this$props = this.props,
11755
- id = _this$props.id,
11756
11652
  items = _this$props.items,
11757
11653
  currentRefinement = _this$props.currentRefinement,
11758
11654
  refine = _this$props.refine,
@@ -11760,7 +11656,6 @@ function (_Component) {
11760
11656
  return React__default['default'].createElement("div", {
11761
11657
  className: index.classnames(cx$h(''), className)
11762
11658
  }, React__default['default'].createElement(Select, {
11763
- id: id,
11764
11659
  onSelect: refine,
11765
11660
  selectedItem: currentRefinement,
11766
11661
  items: items,
@@ -11773,7 +11668,6 @@ function (_Component) {
11773
11668
  }(React.Component);
11774
11669
 
11775
11670
  _defineProperty(HitsPerPage, "propTypes", {
11776
- id: PropTypes__default['default'].string,
11777
11671
  items: PropTypes__default['default'].arrayOf(PropTypes__default['default'].shape({
11778
11672
  value: PropTypes__default['default'].number.isRequired,
11779
11673
  label: PropTypes__default['default'].string
@@ -11796,7 +11690,6 @@ _defineProperty(HitsPerPage, "defaultProps", {
11796
11690
  *
11797
11691
  * @name HitsPerPage
11798
11692
  * @kind widget
11799
- * @propType {string} id - The id of the select input
11800
11693
  * @propType {{value: number, label: string}[]} items - List of available options.
11801
11694
  * @propType {number} defaultRefinement - The number of items selected by default
11802
11695
  * @propType {function} [transformItems] - Function to modify the items being displayed, e.g. for filtering or sorting them. Takes an items as parameter and expects it back in return.
@@ -12165,7 +12058,6 @@ function (_Component) {
12165
12058
  key: "render",
12166
12059
  value: function render() {
12167
12060
  var _this$props = this.props,
12168
- id = _this$props.id,
12169
12061
  items = _this$props.items,
12170
12062
  canRefine = _this$props.canRefine,
12171
12063
  translate = _this$props.translate,
@@ -12173,7 +12065,6 @@ function (_Component) {
12173
12065
  return React__default['default'].createElement("div", {
12174
12066
  className: index.classnames(cx$e('', !canRefine && '-noRefinement'), className)
12175
12067
  }, React__default['default'].createElement("select", {
12176
- id: id,
12177
12068
  value: this.selectedValue,
12178
12069
  onChange: this.handleSelectChange,
12179
12070
  className: cx$e('select')
@@ -12206,7 +12097,6 @@ function (_Component) {
12206
12097
  }(React.Component);
12207
12098
 
12208
12099
  _defineProperty(MenuSelect, "propTypes", {
12209
- id: PropTypes__default['default'].string,
12210
12100
  items: PropTypes__default['default'].arrayOf(PropTypes__default['default'].shape({
12211
12101
  label: PropTypes__default['default'].string.isRequired,
12212
12102
  value: PropTypes__default['default'].string.isRequired,
@@ -12233,7 +12123,6 @@ var MenuSelect$1 = translatable({
12233
12123
  * @kind widget
12234
12124
  * @requirements The attribute passed to the `attribute` prop must be present in "attributes for faceting"
12235
12125
  * on the Algolia dashboard or configured as `attributesForFaceting` via a set settings call to the Algolia API.
12236
- * @propType {string} id - the id of the select input
12237
12126
  * @propType {string} attribute - the name of the attribute in the record
12238
12127
  * @propType {string} [defaultRefinement] - the value of the item selected by default
12239
12128
  * @propType {number} [limit=10] - the minimum number of diplayed items
@@ -13565,7 +13454,6 @@ connectScrollTo(ScrollTo);
13565
13454
  * @propType {node} [reset] - Change the apparence of the default reset button (cross).
13566
13455
  * @propType {node} [loadingIndicator] - Change the apparence of the default loading indicator (spinning circle).
13567
13456
  * @propType {string} [defaultRefinement] - Provide default refinement value when component is mounted.
13568
- * @propType {string} [inputId] - The id of the search input
13569
13457
  * @propType {boolean} [showLoadingIndicator=false] - Display that the search is loading. This only happens after a certain amount of time to avoid a blinking effect. This timer can be configured with `stalledSearchDelay` props on <InstantSearch>. By default, the value is 200ms.
13570
13458
  * @themeKey ais-SearchBox - the root div of the widget
13571
13459
  * @themeKey ais-SearchBox-form - the wrapping form
@@ -13716,7 +13604,6 @@ function (_Component) {
13716
13604
  key: "render",
13717
13605
  value: function render() {
13718
13606
  var _this$props = this.props,
13719
- id = _this$props.id,
13720
13607
  items = _this$props.items,
13721
13608
  currentRefinement = _this$props.currentRefinement,
13722
13609
  refine = _this$props.refine,
@@ -13724,7 +13611,6 @@ function (_Component) {
13724
13611
  return React__default['default'].createElement("div", {
13725
13612
  className: index.classnames(cx$4(''), className)
13726
13613
  }, React__default['default'].createElement(Select, {
13727
- id: id,
13728
13614
  cx: cx$4,
13729
13615
  items: items,
13730
13616
  selectedItem: currentRefinement,
@@ -13737,7 +13623,6 @@ function (_Component) {
13737
13623
  }(React.Component);
13738
13624
 
13739
13625
  _defineProperty(SortBy, "propTypes", {
13740
- id: PropTypes__default['default'].string,
13741
13626
  items: PropTypes__default['default'].arrayOf(PropTypes__default['default'].shape({
13742
13627
  label: PropTypes__default['default'].string,
13743
13628
  value: PropTypes__default['default'].string.isRequired
@@ -13757,7 +13642,6 @@ _defineProperty(SortBy, "defaultProps", {
13757
13642
  * @requirements Algolia handles sorting by creating replica indices. [Read more about sorting](https://www.algolia.com/doc/guides/relevance/sorting/) on
13758
13643
  * the Algolia website.
13759
13644
  * @kind widget
13760
- * @propType {string} id - The id of the select input
13761
13645
  * @propType {{value: string, label: string}[]} items - The list of indexes to search in.
13762
13646
  * @propType {string} defaultRefinement - The default selected index.
13763
13647
  * @propType {function} [transformItems] - Function to modify the items being displayed, e.g. for filtering or sorting them. Takes an items as parameter and expects it back in return.