@rokkit/ui 1.9.1 → 1.10.1

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.
@@ -13,7 +13,7 @@
13
13
  icon,
14
14
  iconRight,
15
15
  href,
16
- target = '_self',
16
+ target,
17
17
  title,
18
18
  disabled = false,
19
19
  loading = false,
@@ -35,7 +35,10 @@ export interface ButtonProps extends Omit<HTMLButtonAttributes, 'style' | 'type'
35
35
  iconRight?: string;
36
36
  /** Navigates as link instead of button */
37
37
  href?: string;
38
- /** Link target (when href is set) */
38
+ /**
39
+ * Link target (when href is set). Omitted unless given: SvelteKit treats any `target`,
40
+ * even `_self`, as an external link and does a full page load.
41
+ */
39
42
  target?: string;
40
43
  /** Native tooltip shown on hover */
41
44
  title?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokkit/ui",
3
- "version": "1.9.1",
3
+ "version": "1.10.1",
4
4
  "description": "Data driven UI components for Rokkit applications",
5
5
  "repository": {
6
6
  "type": "git",
@@ -45,10 +45,10 @@
45
45
  "dropdown"
46
46
  ],
47
47
  "dependencies": {
48
- "@rokkit/core": "1.9.1",
49
- "@rokkit/data": "1.9.1",
50
- "@rokkit/states": "1.9.1",
51
- "@rokkit/actions": "1.9.1",
48
+ "@rokkit/core": "1.10.1",
49
+ "@rokkit/data": "1.10.1",
50
+ "@rokkit/states": "1.10.1",
51
+ "@rokkit/actions": "1.10.1",
52
52
  "marked": "^15.0.0",
53
53
  "dompurify": "^3.4.16"
54
54
  },