framework7-react 9.1.2 → 9.2.0
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/components/chip.js +1 -0
- package/components/link.d.ts +1 -0
- package/components/link.js +9 -0
- package/components/messagebar.js +1 -1
- package/framework7-react.js +2 -2
- package/package.json +2 -2
package/components/chip.js
CHANGED
package/components/link.d.ts
CHANGED
package/components/link.js
CHANGED
|
@@ -18,6 +18,7 @@ const Link = props => {
|
|
|
18
18
|
className,
|
|
19
19
|
id,
|
|
20
20
|
style,
|
|
21
|
+
disabled,
|
|
21
22
|
children,
|
|
22
23
|
noLinkClass,
|
|
23
24
|
text,
|
|
@@ -39,6 +40,11 @@ const Link = props => {
|
|
|
39
40
|
const extraAttrs = getExtraAttrs(props);
|
|
40
41
|
const elRef = useRef(null);
|
|
41
42
|
const onClick = e => {
|
|
43
|
+
if (disabled) {
|
|
44
|
+
e.preventDefault();
|
|
45
|
+
e.stopPropagation();
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
42
48
|
emit(props, 'click', e);
|
|
43
49
|
};
|
|
44
50
|
useTooltip(elRef, props);
|
|
@@ -64,6 +70,7 @@ const Link = props => {
|
|
|
64
70
|
iconOnlyComputed = false;
|
|
65
71
|
}
|
|
66
72
|
const classes = classNames(className, {
|
|
73
|
+
disabled,
|
|
67
74
|
link: !(noLinkClass || isTabbarIcons),
|
|
68
75
|
'icon-only': iconOnlyComputed,
|
|
69
76
|
'tab-link': tabLink || tabLink === '',
|
|
@@ -76,6 +83,8 @@ const Link = props => {
|
|
|
76
83
|
const attrs = {
|
|
77
84
|
href: hrefComputed,
|
|
78
85
|
target,
|
|
86
|
+
'aria-disabled': disabled || undefined,
|
|
87
|
+
tabIndex: disabled ? -1 : undefined,
|
|
79
88
|
'data-tab': isStringProp(tabLink) && tabLink || undefined,
|
|
80
89
|
...routerAttrs(props),
|
|
81
90
|
...actionsAttrs(props)
|
package/components/messagebar.js
CHANGED
|
@@ -180,7 +180,7 @@ const Messagebar = props => {
|
|
|
180
180
|
onChange: onChange,
|
|
181
181
|
onFocus: onFocus,
|
|
182
182
|
onBlur: onBlur
|
|
183
|
-
}, valueProps)), slotsAfterArea), (sendLink && sendLink.length > 0 || slotsSendLink ||
|
|
183
|
+
}, valueProps)), slotsAfterArea), (sendLink && sendLink.length > 0 || slotsSendLink || slotsInnerEnd && slotsInnerEnd.length > 0) && /*#__PURE__*/React.createElement(ToolbarPane, null, (sendLink && sendLink.length > 0 || slotsSendLink) && /*#__PURE__*/React.createElement(Link, {
|
|
184
184
|
onClick: onClick
|
|
185
185
|
}, slotsSendLink || sendLink), slotsInnerEnd), innerEndEls), slotsAfterInner, messagebarSheetEl);
|
|
186
186
|
};
|
package/framework7-react.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Framework7 React 9.
|
|
2
|
+
* Framework7 React 9.2.0
|
|
3
3
|
* Build full featured iOS & Android apps using Framework7 & React
|
|
4
4
|
* https://framework7.io/react/
|
|
5
5
|
*
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*
|
|
8
8
|
* Released under the MIT License
|
|
9
9
|
*
|
|
10
|
-
* Released on:
|
|
10
|
+
* Released on: September 28, 2026
|
|
11
11
|
*/
|
|
12
12
|
import Framework7React from './shared/plugin.js';
|
|
13
13
|
import { f7, f7ready, theme } from './shared/f7.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "framework7-react",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.2.0",
|
|
4
4
|
"description": "Build full featured iOS & Android apps using Framework7 & React",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"type": "patreon",
|
|
51
51
|
"url": "https://www.patreon.com/framework7"
|
|
52
52
|
},
|
|
53
|
-
"releaseDate": "
|
|
53
|
+
"releaseDate": "September 28, 2026"
|
|
54
54
|
}
|