@open-pioneer/chakra-snippets 4.8.0 → 4.9.0-dev.20261002130116
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/CHANGELOG.md +24 -18
- package/README.md +3 -1
- package/package.json +2 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @open-pioneer/chakra-snippets
|
|
2
2
|
|
|
3
|
+
## 4.9.0-dev.20261002130116
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 6b160f3: Remove the unused dependency on `@open-pioneer/core`.
|
|
8
|
+
|
|
3
9
|
## 4.8.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
|
@@ -27,20 +33,20 @@
|
|
|
27
33
|
### Patch Changes
|
|
28
34
|
|
|
29
35
|
- e6db101: Update to Chakra UI 3.35.0
|
|
30
|
-
|
|
31
|
-
|
|
36
|
+
- update to Chakra UI @ 3.35.0, Ark UI @ 5.36.2, Zag JS @ 1.40.0
|
|
37
|
+
- use TooltipProviderProps to override `openDelay` globally (instead of Tooltip snippet)
|
|
32
38
|
|
|
33
39
|
- 0ac098b: Fix keyboard focus when a button is sometimes surrounded with a tooltip and sometimes not.
|
|
34
40
|
Previously the button would lose focus when pressing the Enter key:
|
|
35
41
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
```tsx
|
|
43
|
+
<Tooltip
|
|
44
|
+
content={/* ... */}
|
|
45
|
+
disabled={expanded} // enabled/disabled based on dynamic condition
|
|
46
|
+
>
|
|
47
|
+
<Button onClick={toggleExpanded}>...</Button>
|
|
48
|
+
</Tooltip>
|
|
49
|
+
```
|
|
44
50
|
|
|
45
51
|
## 4.5.0
|
|
46
52
|
|
|
@@ -74,14 +80,14 @@
|
|
|
74
80
|
|
|
75
81
|
- 0c278f6: Update snippets.
|
|
76
82
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
83
|
+
New snippets:
|
|
84
|
+
- `carousel`
|
|
85
|
+
- `combobox`
|
|
86
|
+
- `tags-input`
|
|
81
87
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
88
|
+
Updated snippets:
|
|
89
|
+
- `toggle-tip`: Now accepts `contentProps` prop, `portalRef` can refer to `null`
|
|
90
|
+
- `tooltip`: `portalRef` can refer to `null`
|
|
85
91
|
|
|
86
92
|
- eb54023: Update chakra to 3.29.0
|
|
87
93
|
|
|
@@ -97,7 +103,7 @@
|
|
|
97
103
|
|
|
98
104
|
- b7a854d: Update dependencies
|
|
99
105
|
- 3881d08: - Update Chakra UI from 3.22.0 to 3.24.2
|
|
100
|
-
|
|
106
|
+
- Update to latest Chakra snippets
|
|
101
107
|
- adf277b: Update dependencies
|
|
102
108
|
|
|
103
109
|
## 4.0.0
|
package/README.md
CHANGED
|
@@ -59,7 +59,9 @@ If you notice a problem with one of the snippets, or if snippets are missing, fe
|
|
|
59
59
|
|
|
60
60
|
### Differences from Chakra's default snippets
|
|
61
61
|
|
|
62
|
-
- Aria labels and messages are translated (
|
|
62
|
+
- Aria labels and messages are translated (`Carousel`, `Clipboard`, `CloseButton` and `PasswordInput`).
|
|
63
|
+
- `tooltip.tsx` keeps rendering `Tooltip.Root` when `disabled` is set, so the trigger does not lose focus when the prop toggles.
|
|
64
|
+
- `tags-input.tsx` adds a type annotation to `TagsInputPropsProvider`.
|
|
63
65
|
|
|
64
66
|
## License
|
|
65
67
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@open-pioneer/chakra-snippets",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.9.0-dev.20261002130116",
|
|
5
5
|
"description": "Contains snippets for Chakra UI.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"open-pioneer-trails"
|
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@ark-ui/react": "^5.39.0",
|
|
18
18
|
"@chakra-ui/react": "^3.37.0",
|
|
19
|
-
"@open-pioneer/
|
|
20
|
-
"@open-pioneer/runtime": "4.8.0",
|
|
19
|
+
"@open-pioneer/runtime": "4.9.0-dev.20261002130116",
|
|
21
20
|
"react": "^19.3.0",
|
|
22
21
|
"react-icons": "^5.7.0"
|
|
23
22
|
},
|