framework7-react 9.1.3 → 9.3.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.
@@ -25,6 +25,7 @@ const Chip = props => {
25
25
  emit(props, 'click', event);
26
26
  };
27
27
  const onDeleteClick = event => {
28
+ event.stopPropagation();
28
29
  emit(props, 'delete', event);
29
30
  };
30
31
  const elRef = useRef(null);
@@ -9,6 +9,7 @@ export interface LinkProps {
9
9
  id?: string | number;
10
10
  className?: string;
11
11
  style?: React.CSSProperties;
12
+ disabled ?: boolean;
12
13
  noLinkClass ?: boolean;
13
14
  text ?: string;
14
15
  tabLink ?: boolean | string;
@@ -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)
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Framework7 React 9.1.3
2
+ * Framework7 React 9.3.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: August 25, 2026
10
+ * Released on: October 30, 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.1.3",
3
+ "version": "9.3.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": "August 25, 2026"
53
+ "releaseDate": "October 30, 2026"
54
54
  }