@ainias42/react-bootstrap-mobile 0.1.24 → 0.1.25
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* @ainias42/react-bootstrap-mobile v0.1.
|
|
3
|
+
* @ainias42/react-bootstrap-mobile v0.1.24
|
|
4
4
|
* git+https://github.com/Ainias/Bootstrap-React-Mobile.git
|
|
5
5
|
* Copyright (c) Silas Günther and project contributors.
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
@@ -9896,12 +9896,13 @@ function Clickable(_a, ref) {
|
|
|
9896
9896
|
style,
|
|
9897
9897
|
href,
|
|
9898
9898
|
target,
|
|
9899
|
+
id,
|
|
9899
9900
|
interactable = true,
|
|
9900
9901
|
preventDefault = false,
|
|
9901
9902
|
stopPropagation = true,
|
|
9902
9903
|
useReactOnMouseLeave = false
|
|
9903
9904
|
} = _a,
|
|
9904
|
-
clickData = Clickable_rest(_a, ["className", "children", "style", "href", "target", "interactable", "preventDefault", "stopPropagation", "useReactOnMouseLeave"]);
|
|
9905
|
+
clickData = Clickable_rest(_a, ["className", "children", "style", "href", "target", "id", "interactable", "preventDefault", "stopPropagation", "useReactOnMouseLeave"]);
|
|
9905
9906
|
// States
|
|
9906
9907
|
// Refs
|
|
9907
9908
|
const clickableRef = useComposedRef(ref);
|
|
@@ -10042,6 +10043,7 @@ function Clickable(_a, ref) {
|
|
|
10042
10043
|
const props = {
|
|
10043
10044
|
style,
|
|
10044
10045
|
target,
|
|
10046
|
+
id,
|
|
10045
10047
|
role: interactable ? 'button' : undefined,
|
|
10046
10048
|
'aria-hidden': interactable ? undefined : true,
|
|
10047
10049
|
className: classnames_default()((clickable_default()).clickable, className),
|