@digigov/ui 0.35.5 → 0.35.6-03965c75
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/admin/AutoComplete/index.js +1 -1
- package/es/admin/AutoComplete/index.js +1 -1
- package/es/utils/Kitchensink/KitchensinkByCategory.js +0 -1
- package/esm/admin/AutoComplete/index.js +1 -1
- package/esm/index.js +1 -1
- package/esm/utils/Kitchensink/KitchensinkByCategory.js +0 -1
- package/package.json +3 -3
- package/src/admin/AutoComplete/index.tsx +1 -1
- package/src/utils/Kitchensink/KitchensinkByCategory.tsx +1 -1
- package/utils/Kitchensink/KitchensinkByCategory.js +0 -1
|
@@ -371,7 +371,7 @@ var AutoComplete = /*#__PURE__*/function (_Component) {
|
|
|
371
371
|
}, {
|
|
372
372
|
key: "handleOptionMouseEnter",
|
|
373
373
|
value: function handleOptionMouseEnter(index) {
|
|
374
|
-
//
|
|
374
|
+
// ios Safari prevents click event if mouseenter adds hover background colour
|
|
375
375
|
// See: https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW4
|
|
376
376
|
if (!(0, _utils.isIosDevice)()) {
|
|
377
377
|
this.setState({
|
|
@@ -306,7 +306,7 @@ var AutoComplete = /*#__PURE__*/function (_Component) {
|
|
|
306
306
|
}, {
|
|
307
307
|
key: "handleOptionMouseEnter",
|
|
308
308
|
value: function handleOptionMouseEnter(index) {
|
|
309
|
-
//
|
|
309
|
+
// ios Safari prevents click event if mouseenter adds hover background colour
|
|
310
310
|
// See: https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW4
|
|
311
311
|
if (!isIosDevice()) {
|
|
312
312
|
this.setState({
|
|
@@ -12,7 +12,6 @@ export var KitchensinkByCategory = function KitchensinkByCategory(_ref) {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
var name = componentStories["default"].displayName;
|
|
15
|
-
console.log('componentStories', componentStories, 'stories', stories);
|
|
16
15
|
|
|
17
16
|
if (!name) {
|
|
18
17
|
throw new Error("no name was found for ".concat(componentStoriesKey));
|
|
@@ -306,7 +306,7 @@ var AutoComplete = /*#__PURE__*/function (_Component) {
|
|
|
306
306
|
}, {
|
|
307
307
|
key: "handleOptionMouseEnter",
|
|
308
308
|
value: function handleOptionMouseEnter(index) {
|
|
309
|
-
//
|
|
309
|
+
// ios Safari prevents click event if mouseenter adds hover background colour
|
|
310
310
|
// See: https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW4
|
|
311
311
|
if (!isIosDevice()) {
|
|
312
312
|
this.setState({
|
package/esm/index.js
CHANGED
|
@@ -12,7 +12,6 @@ export var KitchensinkByCategory = function KitchensinkByCategory(_ref) {
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
var name = componentStories["default"].displayName;
|
|
15
|
-
console.log('componentStories', componentStories, 'stories', stories);
|
|
16
15
|
|
|
17
16
|
if (!name) {
|
|
18
17
|
throw new Error("no name was found for ".concat(componentStoriesKey));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@digigov/ui",
|
|
3
|
-
"version": "0.35.
|
|
3
|
+
"version": "0.35.6-03965c75",
|
|
4
4
|
"description": "@digigov reusable components toolkit",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"clsx": "1.1.1",
|
|
21
21
|
"react": "^16.8.0 || ^17.0.0",
|
|
22
22
|
"react-dom": "^16.8.0 || ^17.0.0",
|
|
23
|
-
"@digigov/react-core": "0.
|
|
24
|
-
"@digigov/react-extensions": "0.
|
|
23
|
+
"@digigov/react-core": "0.27.0-03965c75",
|
|
24
|
+
"@digigov/react-extensions": "0.24.0-03965c75"
|
|
25
25
|
},
|
|
26
26
|
"gitHead": "c903a46306f77f55ad7fc4d2e274006f39a6c871",
|
|
27
27
|
"private": false,
|
|
@@ -324,7 +324,7 @@ export default class AutoComplete extends Component<AutoCompleteProps, State> {
|
|
|
324
324
|
}
|
|
325
325
|
|
|
326
326
|
handleOptionMouseEnter(index: number): void {
|
|
327
|
-
//
|
|
327
|
+
// ios Safari prevents click event if mouseenter adds hover background colour
|
|
328
328
|
// See: https://developer.apple.com/library/archive/documentation/AppleApplications/Reference/SafariWebContent/HandlingEvents/HandlingEvents.html#//apple_ref/doc/uid/TP40006511-SW4
|
|
329
329
|
if (!isIosDevice()) {
|
|
330
330
|
this.setState({
|
|
@@ -19,7 +19,7 @@ export const KitchensinkByCategory = ({
|
|
|
19
19
|
throw new Error(`no component was found in ${componentStoriesKey}`);
|
|
20
20
|
}
|
|
21
21
|
const name = componentStories.default.displayName;
|
|
22
|
-
|
|
22
|
+
|
|
23
23
|
if (!name) {
|
|
24
24
|
throw new Error(`no name was found for ${componentStoriesKey}`);
|
|
25
25
|
}
|
|
@@ -24,7 +24,6 @@ var KitchensinkByCategory = function KitchensinkByCategory(_ref) {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
var name = componentStories["default"].displayName;
|
|
27
|
-
console.log('componentStories', componentStories, 'stories', stories);
|
|
28
27
|
|
|
29
28
|
if (!name) {
|
|
30
29
|
throw new Error("no name was found for ".concat(componentStoriesKey));
|