@synerise/ds-emoji-picker 2.0.5 → 2.0.6
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 +11 -0
- package/CLAUDE.md +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.0.6](https://github.com/Synerise/synerise-design/compare/@synerise/ds-emoji-picker@2.0.5...@synerise/ds-emoji-picker@2.0.6) (2026-09-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **core:** move test helpers to a ./testing subpath export ([b38cd82](https://github.com/Synerise/synerise-design/commit/b38cd82c956111d2331d5c1e0efd1935366f1139))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [2.0.5](https://github.com/Synerise/synerise-design/compare/@synerise/ds-emoji-picker@2.0.4...@synerise/ds-emoji-picker@2.0.5) (2026-09-18)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @synerise/ds-emoji-picker
|
package/CLAUDE.md
CHANGED
|
@@ -127,7 +127,7 @@ Takes `EmojiCategory[]` and `itemsPerRow` (6), returns a flat `EmojiVirtualListI
|
|
|
127
127
|
|
|
128
128
|
## Implementation notes
|
|
129
129
|
|
|
130
|
-
- **`react-intl` is required** — there is no fallback if `IntlProvider` is absent. Tests use `renderWithProvider` from `@synerise/ds-core` which wraps the tree with `IntlProvider`.
|
|
130
|
+
- **`react-intl` is required** — there is no fallback if `IntlProvider` is absent. Tests use `renderWithProvider` from `@synerise/ds-core/testing` which wraps the tree with `IntlProvider`.
|
|
131
131
|
- **Click-outside handling** — `useOnClickOutside` is used with a special guard: if the click target is inside `triggerRef`, the handler returns early to avoid fighting with the dropdown's own toggle logic.
|
|
132
132
|
- **Overlay stops propagation** — the `S.Overlay` div has `onClick={(event) => event.stopPropagation()}`, preventing emoji clicks from bubbling to parent handlers (e.g. form or modal click-outside listeners).
|
|
133
133
|
- **`children` must be a single `ReactElement`** (typed as `ReactElement`, not `ReactNode`) — the dropdown's `asChild` mode merges the open handler onto the child. Passing a fragment or string will break it.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-emoji-picker",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.6",
|
|
4
4
|
"description": "EmojiPicker UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -42,14 +42,14 @@
|
|
|
42
42
|
],
|
|
43
43
|
"types": "dist/index.d.ts",
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@synerise/ds-button": "^2.0
|
|
46
|
-
"@synerise/ds-divider": "^2.0.
|
|
47
|
-
"@synerise/ds-dropdown": "^2.1.
|
|
48
|
-
"@synerise/ds-empty-states": "^2.0.
|
|
49
|
-
"@synerise/ds-icon": "^2.1.
|
|
50
|
-
"@synerise/ds-scrollbar": "^2.0.
|
|
51
|
-
"@synerise/ds-tooltip": "^2.0.
|
|
52
|
-
"@synerise/ds-utils": "^2.
|
|
45
|
+
"@synerise/ds-button": "^2.1.0",
|
|
46
|
+
"@synerise/ds-divider": "^2.0.5",
|
|
47
|
+
"@synerise/ds-dropdown": "^2.1.2",
|
|
48
|
+
"@synerise/ds-empty-states": "^2.0.4",
|
|
49
|
+
"@synerise/ds-icon": "^2.1.3",
|
|
50
|
+
"@synerise/ds-scrollbar": "^2.0.4",
|
|
51
|
+
"@synerise/ds-tooltip": "^2.0.5",
|
|
52
|
+
"@synerise/ds-utils": "^2.2.0",
|
|
53
53
|
"memoize-one": "^5.1.1",
|
|
54
54
|
"react-window": "^1.8.11",
|
|
55
55
|
"unicode-emoji-utils": "^1.2.0"
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"styled-components": "^5.3.3",
|
|
62
62
|
"vitest": "4"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "5e795fa4fd23f6b07277edb517a84bb9b5b6d256"
|
|
65
65
|
}
|