@m3ui-vue/m3ui-vue 0.8.8 → 0.9.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.
Files changed (116) hide show
  1. package/README.md +13 -3
  2. package/dist/{MMenuItem-5xojJYAL.js → MTextField-B0wGv1Mx.js} +374 -364
  3. package/dist/MTextField-B0wGv1Mx.js.map +1 -0
  4. package/dist/barcode.js +9 -11
  5. package/dist/barcode.js.map +1 -1
  6. package/dist/code-editor.js +2 -2
  7. package/dist/code-editor.js.map +1 -1
  8. package/dist/components/MCarousel.vue.d.ts +55 -36
  9. package/dist/components/MDialog.vue.d.ts +4 -2
  10. package/dist/components/MEmojiSelector.vue.d.ts +21 -5
  11. package/dist/components/MFabMenu.vue.d.ts +1 -1
  12. package/dist/components/MFlex.vue.d.ts +1 -1
  13. package/dist/components/MLightbox.vue.d.ts +15 -5
  14. package/dist/components/MScheduler.vue.d.ts +38 -1
  15. package/dist/components/MShape.vue.d.ts +1 -1
  16. package/dist/components/MSimpleCarousel.vue.d.ts +2 -2
  17. package/dist/components/MSlider.vue.d.ts +1 -1
  18. package/dist/components/MStack.vue.d.ts +1 -1
  19. package/dist/components/MToolbar.vue.d.ts +1 -1
  20. package/dist/components/MWindow.vue.d.ts +1 -1
  21. package/dist/composables/_carouselStrategy.d.ts +101 -0
  22. package/dist/composables/useLocale.d.ts +19 -0
  23. package/dist/data/emoji-names/emoji-names-de.d.ts +2 -0
  24. package/dist/data/emoji-names/emoji-names-en.d.ts +2 -0
  25. package/dist/data/emoji-names/emoji-names-es.d.ts +2 -0
  26. package/dist/data/emoji-names/emoji-names-fr.d.ts +2 -0
  27. package/dist/data/emoji-names/emoji-names-ja.d.ts +2 -0
  28. package/dist/data/emoji-names/emoji-names-ko.d.ts +2 -0
  29. package/dist/data/emoji-names/emoji-names-pt.d.ts +2 -0
  30. package/dist/data/emoji-names/emoji-names-zh.d.ts +2 -0
  31. package/dist/data/emojis.d.ts +7 -1
  32. package/dist/emoji-names-de-BphO5XpV.js +1877 -0
  33. package/dist/emoji-names-de-BphO5XpV.js.map +1 -0
  34. package/dist/emoji-names-en-9ZvMRvzi.js +1877 -0
  35. package/dist/emoji-names-en-9ZvMRvzi.js.map +1 -0
  36. package/dist/emoji-names-es-DvfWU3Pj.js +1877 -0
  37. package/dist/emoji-names-es-DvfWU3Pj.js.map +1 -0
  38. package/dist/emoji-names-fr-B-jhUlsP.js +1877 -0
  39. package/dist/emoji-names-fr-B-jhUlsP.js.map +1 -0
  40. package/dist/emoji-names-ja-l8cMFJo1.js +1877 -0
  41. package/dist/emoji-names-ja-l8cMFJo1.js.map +1 -0
  42. package/dist/emoji-names-ko-YP-o9G0c.js +1877 -0
  43. package/dist/emoji-names-ko-YP-o9G0c.js.map +1 -0
  44. package/dist/emoji-names-pt-DGj_Js4M.js +1877 -0
  45. package/dist/emoji-names-pt-DGj_Js4M.js.map +1 -0
  46. package/dist/emoji-names-zh-Dzecwtw_.js +1877 -0
  47. package/dist/emoji-names-zh-Dzecwtw_.js.map +1 -0
  48. package/dist/index.d.ts +2 -2
  49. package/dist/locales/index.js +140 -7
  50. package/dist/locales/index.js.map +1 -1
  51. package/dist/m3ui-vue.css +1 -1
  52. package/dist/m3ui.js +3885 -2400
  53. package/dist/m3ui.js.map +1 -1
  54. package/dist/plugin.d.ts +6 -0
  55. package/dist/rich-text-editor.js +9 -9
  56. package/dist/styles.css +1 -1
  57. package/dist/terminal.js +34 -27
  58. package/dist/terminal.js.map +1 -1
  59. package/dist/{useLocale-D3ZWZ8jY.js → useLocale-CmI675Ab.js} +21 -2
  60. package/dist/useLocale-CmI675Ab.js.map +1 -0
  61. package/package.json +1 -1
  62. package/src/__tests__/MCarousel.test.ts +183 -21
  63. package/src/__tests__/MDialog.test.ts +18 -0
  64. package/src/__tests__/MEmojiSelector.test.ts +138 -0
  65. package/src/__tests__/MLightbox.test.ts +313 -5
  66. package/src/__tests__/MScheduler.test.ts +122 -0
  67. package/src/__tests__/MTerminal.test.ts +63 -0
  68. package/src/__tests__/attrsFallthrough.test.ts +65 -0
  69. package/src/__tests__/plugin.test.ts +28 -1
  70. package/src/components/MBarcode.vue +4 -2
  71. package/src/components/MBottomSheet.vue +1 -1
  72. package/src/components/MCarousel.vue +526 -200
  73. package/src/components/MCodeEditor.vue +3 -2
  74. package/src/components/MCommandPalette.vue +1 -1
  75. package/src/components/MContextMenu.vue +3 -1
  76. package/src/components/MDatePickerModal.vue +1 -1
  77. package/src/components/MDateRangePickerModal.vue +1 -1
  78. package/src/components/MDialog.vue +19 -6
  79. package/src/components/MEmojiSelector.vue +479 -78
  80. package/src/components/MFab.vue +3 -1
  81. package/src/components/MLightbox.vue +750 -268
  82. package/src/components/MLoadingOverlay.vue +6 -1
  83. package/src/components/MMenu.vue +3 -1
  84. package/src/components/MNavigationDrawer.vue +5 -1
  85. package/src/components/MNavigationRail.vue +3 -0
  86. package/src/components/MOverlay.vue +1 -0
  87. package/src/components/MScheduler.vue +282 -115
  88. package/src/components/MSideSheet.vue +1 -1
  89. package/src/components/MSplitButton.vue +3 -1
  90. package/src/components/MSpotlightSearch.vue +1 -1
  91. package/src/components/MTerminal.vue +22 -10
  92. package/src/components/MTimePickerModal.vue +1 -1
  93. package/src/components/MTooltip.vue +3 -0
  94. package/src/components/MTour.vue +2 -2
  95. package/src/composables/_carouselStrategy.ts +712 -0
  96. package/src/composables/useLocale.ts +38 -0
  97. package/src/data/emoji-names/emoji-names-de.ts +1875 -0
  98. package/src/data/emoji-names/emoji-names-en.ts +1875 -0
  99. package/src/data/emoji-names/emoji-names-es.ts +1875 -0
  100. package/src/data/emoji-names/emoji-names-fr.ts +1875 -0
  101. package/src/data/emoji-names/emoji-names-ja.ts +1875 -0
  102. package/src/data/emoji-names/emoji-names-ko.ts +1875 -0
  103. package/src/data/emoji-names/emoji-names-pt.ts +1875 -0
  104. package/src/data/emoji-names/emoji-names-zh.ts +1875 -0
  105. package/src/data/emojis.ts +29 -198
  106. package/src/index.ts +2 -2
  107. package/src/locales/de.ts +19 -0
  108. package/src/locales/es.ts +19 -0
  109. package/src/locales/fr.ts +19 -0
  110. package/src/locales/ja.ts +19 -0
  111. package/src/locales/ko.ts +19 -0
  112. package/src/locales/pt.ts +19 -0
  113. package/src/locales/zh.ts +19 -0
  114. package/src/plugin.ts +12 -1
  115. package/dist/MMenuItem-5xojJYAL.js.map +0 -1
  116. package/dist/useLocale-D3ZWZ8jY.js.map +0 -1
@@ -1,214 +1,45 @@
1
+ // Generated by scripts/generate-emoji-data.mjs from Unicode emoji-test.txt (Emoji 15). Don't edit by hand.
2
+
1
3
  export interface EmojiCategory {
2
4
  id: string
5
+ /** English name; MEmojiSelector shows the locale's (emojiCategory* keys). */
3
6
  label: string
4
7
  icon: string
5
8
  emojis: string[]
6
9
  }
7
10
 
8
11
  export const emojiCategories: EmojiCategory[] = [
9
- {
10
- id: 'smileys',
11
- label: 'Smileys',
12
- icon: 'sentiment_satisfied',
13
- emojis: [
14
- '😀','😃','😄','😁','😆','😅','🤣','😂','🙂','😊',
15
- '😇','🥰','😍','🤩','😘','😗','😚','😙','🥲','😋',
16
- '😛','😜','🤪','😝','🤑','🤗','🤭','🤫','🤔','🫡',
17
- '🤐','🤨','😐','😑','😶','🫥','😏','😒','🙄','😬',
18
- '😮‍💨','🤥','🫠','😌','😔','😪','🤤','😴','😷','🤒',
19
- '🤕','🤢','🤮','🥵','🥶','🥴','😵','🤯','🤠','🥳',
20
- '🥸','😎','🤓','🧐','😕','🫤','😟','🙁','😮','😯',
21
- '😲','😳','🥺','🥹','😦','😧','😨','😰','😥','😢',
22
- '😭','😱','😖','😣','😞','😓','😩','😫','🥱','😤',
23
- '😡','😠','🤬','😈','👿','💀','☠️','💩','🤡','👹',
24
- '👺','👻','👽','👾','🤖','😺','😸','😹','😻','😼',
25
- '😽','🙀','😿','😾',
26
- ],
27
- },
28
- {
29
- id: 'gestures',
30
- label: 'Gestures',
31
- icon: 'waving_hand',
32
- emojis: [
33
- '👋','🤚','🖐️','✋','🖖','🫱','🫲','🫳','🫴','🫷',
34
- '🫸','👌','🤌','🤏','✌️','🤞','🫰','🤟','🤘','🤙',
35
- '👈','👉','👆','🖕','👇','☝️','🫵','👍','👎','✊',
36
- '👊','🤛','🤜','👏','🙌','🫶','👐','🤲','🤝','🙏',
37
- '💪','🦾','🦿','🦵','🦶','👂','🦻','👃','🧠','🫀',
38
- '🫁','🦷','🦴','👀','👁️','👅','👄','🫦',
39
- ],
40
- },
41
- {
42
- id: 'people',
43
- label: 'People',
44
- icon: 'group',
45
- emojis: [
46
- '👶','🧒','👦','👧','🧑','👱','👨','🧔','👩','🧓',
47
- '👴','👵','🙍','🙎','🙅','🙆','💁','🙋','🧏','🙇',
48
- '🤦','🤷','💆','💇','🚶','🧍','🧎','🏃','💃','🕺',
49
- '👯','🧖','🧗','🤸','⛹️','🏋️','🚴','🚵','🤼','🤽',
50
- '🤾','🤺','🏇','⛷️','🏂','🏌️','🏄','🚣','🏊','🧘',
51
- '👫','👬','👭','💏','💑','👪','👨‍👩‍👦','👨‍👩‍👧',
52
- ],
53
- },
54
- {
55
- id: 'animals',
56
- label: 'Animals',
57
- icon: 'pets',
58
- emojis: [
59
- '🐶','🐱','🐭','🐹','🐰','🦊','🐻','🐼','🐻‍❄️','🐨',
60
- '🐯','🦁','🐮','🐷','🐸','🐵','🙈','🙉','🙊','🐒',
61
- '🐔','🐧','🐦','🐤','🐣','🐥','🦆','🦅','🦉','🦇',
62
- '🐺','🐗','🐴','🦄','🐝','🪱','🐛','🦋','🐌','🐞',
63
- '🐜','🪰','🪲','🪳','🦟','🦗','🕷️','🦂','🐢','🐍',
64
- '🦎','🦖','🦕','🐙','🦑','🦐','🦞','🦀','🐡','🐠',
65
- '🐟','🐬','🐳','🐋','🦈','🐊','🐅','🐆','🦓','🦍',
66
- '🦧','🐘','🦛','🦏','🐪','🐫','🦒','🦘','🦬','🐃',
67
- '🐂','🐄','🐎','🐖','🐏','🐑','🦙','🐐','🦌','🐕',
68
- '🐩','🦮','🐕‍🦺','🐈','🐈‍⬛','🪶','🐓','🦃','🦤','🦚',
69
- '🦜','🦢','🦩','🕊️','🐇','🦝','🦨','🦡','🦫','🦦',
70
- '🦥','🐁','🐀','🐿️','🦔',
71
- ],
72
- },
73
- {
74
- id: 'nature',
75
- label: 'Nature',
76
- icon: 'eco',
77
- emojis: [
78
- '🌵','🎄','🌲','🌳','🌴','🪵','🌱','🌿','☘️','🍀',
79
- '🎍','🪴','🎋','🍃','🍂','🍁','🪺','🪹','🍄','🌾',
80
- '💐','🌷','🌹','🥀','🌺','🌸','🌼','🌻','🌞','🌝',
81
- '🌛','🌜','🌚','🌕','🌖','🌗','🌘','🌑','🌒','🌓',
82
- '🌔','🌙','🌎','🌍','🌏','🪐','💫','⭐','🌟','✨',
83
- '⚡','☄️','💥','🔥','🌪️','🌈','☀️','🌤️','⛅','🌥️',
84
- '☁️','🌦️','🌧️','⛈️','🌩️','🌨️','❄️','☃️','⛄','🌬️',
85
- '💨','💧','💦','🫧','☔','🌊',
86
- ],
87
- },
88
- {
89
- id: 'food',
90
- label: 'Food',
91
- icon: 'restaurant',
92
- emojis: [
93
- '🍏','🍎','🍐','🍊','🍋','🍌','🍉','🍇','🍓','🫐',
94
- '🍈','🍒','🍑','🥭','🍍','🥥','🥝','🍅','🍆','🥑',
95
- '🥦','🥬','🥒','🌶️','🫑','🌽','🥕','🫒','🧄','🧅',
96
- '🥔','🍠','🫘','🥐','🍞','🥖','🥨','🧀','🥚','🍳',
97
- '🧈','🥞','🧇','🥓','🥩','🍗','🍖','🦴','🌭','🍔',
98
- '🍟','🍕','🫓','🥪','🥙','🧆','🌮','🌯','🫔','🥗',
99
- '🥘','🫕','🥫','🍝','🍜','🍲','🍛','🍣','🍱','🥟',
100
- '🦪','🍤','🍙','🍚','🍘','🍥','🥠','🥮','🍢','🍡',
101
- '🍧','🍨','🍦','🥧','🧁','🍰','🎂','🍮','🍭','🍬',
102
- '🍫','🍿','🍩','🍪','🌰','🥜','🍯','🥛','🍼','🫖',
103
- '☕','🍵','🧃','🥤','🧋','🍶','🍺','🍻','🥂','🍷',
104
- '🫗','🥃','🍸','🍹','🧉','🍾','🧊',
105
- ],
106
- },
107
- {
108
- id: 'activities',
109
- label: 'Activities',
110
- icon: 'sports_esports',
111
- emojis: [
112
- '⚽','🏀','🏈','⚾','🥎','🎾','🏐','🏉','🥏','🎱',
113
- '🪀','🏓','🏸','🏒','🏑','🥍','🏏','🪃','🥅','⛳',
114
- '🪁','🏹','🎣','🤿','🥊','🥋','🎽','🛹','🛼','🛷',
115
- '⛸️','🥌','🎿','⛷️','🎯','🪀','🪁','🎮','🕹️','🎲',
116
- '🧩','🎰','🎳','🎪','🎭','🎨','🧵','🧶','🪡','🎼',
117
- '🎵','🎶','🎤','🎧','🎷','🪗','🎸','🎹','🎺','🎻',
118
- '🪕','🥁','🪘','🎬','🏆','🥇','🥈','🥉','🏅','🎖️',
119
- '🎗️','🎫','🎟️','🎪',
120
- ],
121
- },
122
- {
123
- id: 'travel',
124
- label: 'Travel',
125
- icon: 'flight',
126
- emojis: [
127
- '🚗','🚕','🚙','🚌','🚎','🏎️','🚓','🚑','🚒','🚐',
128
- '🛻','🚚','🚛','🚜','🏍️','🛵','🦽','🦼','🛺','🚲',
129
- '🛴','🛹','🛼','🚏','🛣️','🛤️','🛞','⛽','🛞','🚨',
130
- '🚥','🚦','🛑','🚧','⚓','🛟','⛵','🛶','🚤','🛳️',
131
- '⛴️','🛥️','🚢','✈️','🛩️','🛫','🛬','🪂','💺','🚁',
132
- '🚟','🚠','🚡','🛰️','🚀','🛸','🎆','🎇','🎑','🗾',
133
- '🏔️','⛰️','🌋','🗻','🏕️','🏖️','🏜️','🏝️','🏞️','🏟️',
134
- '🏛️','🏗️','🧱','🪨','🪵','🛖','🏘️','🏚️','🏠','🏡',
135
- '🏢','🏣','🏤','🏥','🏦','🏨','🏩','🏪','🏫','🏬',
136
- '🏭','🏯','🏰','💒','🗼','🗽','⛪','🕌','🛕','🕍',
137
- ],
138
- },
139
- {
140
- id: 'objects',
141
- label: 'Objects',
142
- icon: 'lightbulb',
143
- emojis: [
144
- '⌚','📱','📲','💻','⌨️','🖥️','🖨️','🖱️','🖲️','🕹️',
145
- '🗜️','💽','💾','💿','📀','📼','📷','📸','📹','🎥',
146
- '📽️','🎞️','📞','☎️','📟','📠','📺','📻','🎙️','🎚️',
147
- '🎛️','🧭','⏱️','⏲️','⏰','🕰️','⌛','⏳','🔋','🪫',
148
- '🔌','💡','🔦','🕯️','🧯','🛢️','🪙','💰','💴','💵',
149
- '💶','💷','💸','💳','🧾','💎','⚖️','🪜','🧰','🪛',
150
- '🔧','🔨','⚒️','🛠️','⛏️','🪚','🔩','⚙️','🪤','🧲',
151
- '🔫','💣','🧨','🪓','🔪','🗡️','⚔️','🛡️','🔑','🗝️',
152
- '🚪','🪑','🛋️','🛏️','🛌','🧸','🪆','🖼️','🪞','🪟',
153
- '🏺','🗺️','🧭','💈','🪒','🧴','🧹','🧺','🧻','🪣',
154
- ],
155
- },
156
- {
157
- id: 'symbols',
158
- label: 'Symbols',
159
- icon: 'favorite',
160
- emojis: [
161
- '❤️','🧡','💛','💚','💙','💜','🖤','🤍','🤎','💔',
162
- '❤️‍🔥','❤️‍🩹','❣️','💕','💞','💓','💗','💖','💘','💝',
163
- '💟','☮️','✝️','☪️','🕉️','☸️','✡️','🔯','🕎','☯️',
164
- '☦️','🛐','⛎','♈','♉','♊','♋','♌','♍','♎',
165
- '♏','♐','♑','♒','♓','🆔','⚛️','🉑','☢️','☣️',
166
- '📴','📳','🈶','🈚','🈸','🈺','🈷️','✴️','🆚','💮',
167
- '🉐','㊙️','㊗️','🈴','🈵','🈹','🈲','🅰️','🅱️','🆎',
168
- '🆑','🅾️','🆘','❌','⭕','🛑','⛔','📛','🚫','💯',
169
- '💢','♨️','🚷','🚯','🚳','🚱','🔞','📵','🚭','❗',
170
- '❕','❓','❔','‼️','⁉️','🔅','🔆','〽️','⚠️','🚸',
171
- '🔱','⚜️','🔰','♻️','✅','🈯','💹','❇️','✳️','❎',
172
- '🌐','💠','Ⓜ️','🌀','💤','🏧','🚾','♿','🅿️','🛗',
173
- '🈳','🈂️','🛂','🛃','🛄','🛅','🚹','🚺','🚻','🚼',
174
- '🚮','🎦','📶','🈁','🔣','ℹ️','🔤','🔡','🔠','🆙',
175
- '🆒','🆕','🆓','0️⃣','1️⃣','2️⃣','3️⃣','4️⃣','5️⃣','6️⃣',
176
- '7️⃣','8️⃣','9️⃣','🔟','🔢','#️⃣','*️⃣','⏏️','▶️','⏸️',
177
- '⏯️','⏹️','⏺️','⏭️','⏮️','⏩','⏪','⏫','⏬','◀️',
178
- '🔼','🔽','➡️','⬅️','⬆️','⬇️','↗️','↘️','↙️','↖️',
179
- '↕️','↔️','↩️','↪️','⤴️','⤵️','🔀','🔁','🔂','🔄',
180
- ],
181
- },
182
- {
183
- id: 'flags',
184
- label: 'Flags',
185
- icon: 'flag',
186
- emojis: [
187
- '🏁','🚩','🎌','🏴','🏳️','🏳️‍🌈','🏳️‍⚧️','🏴‍☠️',
188
- '🇦🇷','🇦🇺','🇧🇷','🇨🇦','🇨🇱','🇨🇳','🇨🇴','🇩🇪',
189
- '🇪🇸','🇫🇷','🇬🇧','🇮🇹','🇯🇵','🇰🇷','🇲🇽','🇳🇱',
190
- '🇵🇪','🇵🇹','🇷🇺','🇸🇪','🇺🇸','🇻🇪','🇪🇨','🇧🇴',
191
- '🇵🇾','🇺🇾','🇨🇷','🇵🇦','🇨🇺','🇩🇴','🇬🇹','🇭🇳',
192
- '🇳🇮','🇸🇻','🇵🇷','🇮🇳','🇮🇩','🇹🇷','🇵🇭','🇹🇭',
193
- ],
194
- },
12
+ { id: 'smileys', label: 'Smileys', icon: 'sentiment_satisfied', emojis: ['😀','😃','😄','😁','😆','😅','🤣','😂','🙂','🙃','🫠','😉','😊','😇','🥰','😍','🤩','😘','😗','☺️','😚','😙','🥲','😋','😛','😜','🤪','😝','🤑','🤗','🤭','🫢','🫣','🤫','🤔','🫡','🤐','🤨','😐','😑','😶','🫥','😶‍🌫️','😏','😒','🙄','😬','😮‍💨','🤥','🫨','😌','😔','😪','🤤','😴','😷','🤒','🤕','🤢','🤮','🤧','🥵','🥶','🥴','😵','😵‍💫','🤯','🤠','🥳','🥸','😎','🤓','🧐','😕','🫤','😟','🙁','☹️','😮','😯','😲','😳','🥺','🥹','😦','😧','😨','😰','😥','😢','😭','😱','😖','😣','😞','😓','😩','😫','🥱','😤','😡','😠','🤬','😈','👿','💀','☠️','💩','🤡','👹','👺','👻','👽','👾','🤖','😺','😸','😹','😻','😼','😽','🙀','😿','😾','🙈','🙉','🙊','💌','💘','💝','💖','💗','💓','💞','💕','💟','❣️','💔','❤️‍🔥','❤️‍🩹','❤️','🩷','🧡','💛','💚','💙','🩵','💜','🤎','🖤','🩶','🤍','💋','💯','💢','💥','💫','💦','💨','🕳️','💬','👁️‍🗨️','🗨️','🗯️','💭','💤'] },
13
+ { id: 'gestures', label: 'Gestures', icon: 'waving_hand', emojis: ['👋','🤚','🖐️','✋','🖖','🫱','🫲','🫳','🫴','🫷','🫸','👌','🤌','🤏','✌️','🤞','🫰','🤟','🤘','🤙','👈','👉','👆','🖕','👇','☝️','🫵','👍','👎','✊','👊','🤛','🤜','👏','🙌','🫶','👐','🤲','🤝','🙏','✍️','💅','🤳','💪','🦾','🦿','🦵','🦶','👂','🦻','👃','🧠','🫀','🫁','🦷','🦴','👀','👁️','👅','👄','🫦'] },
14
+ { id: 'people', label: 'People', icon: 'group', emojis: ['👶','🧒','👦','👧','🧑','👱','👨','🧔','🧔‍♂️','🧔‍♀️','👨‍🦰','👨‍🦱','👨‍🦳','👨‍🦲','👩','👩‍🦰','🧑‍🦰','👩‍🦱','🧑‍🦱','👩‍🦳','🧑‍🦳','👩‍🦲','🧑‍🦲','👱‍♀️','👱‍♂️','🧓','👴','👵','🙍','🙍‍♂️','🙍‍♀️','🙎','🙎‍♂️','🙎‍♀️','🙅','🙅‍♂️','🙅‍♀️','🙆','🙆‍♂️','🙆‍♀️','💁','💁‍♂️','💁‍♀️','🙋','🙋‍♂️','🙋‍♀️','🧏','🧏‍♂️','🧏‍♀️','🙇','🙇‍♂️','🙇‍♀️','🤦','🤦‍♂️','🤦‍♀️','🤷','🤷‍♂️','🤷‍♀️','🧑‍⚕️','👨‍⚕️','👩‍⚕️','🧑‍🎓','👨‍🎓','👩‍🎓','🧑‍🏫','👨‍🏫','👩‍🏫','🧑‍⚖️','👨‍⚖️','👩‍⚖️','🧑‍🌾','👨‍🌾','👩‍🌾','🧑‍🍳','👨‍🍳','👩‍🍳','🧑‍🔧','👨‍🔧','👩‍🔧','🧑‍🏭','👨‍🏭','👩‍🏭','🧑‍💼','👨‍💼','👩‍💼','🧑‍🔬','👨‍🔬','👩‍🔬','🧑‍💻','👨‍💻','👩‍💻','🧑‍🎤','👨‍🎤','👩‍🎤','🧑‍🎨','👨‍🎨','👩‍🎨','🧑‍✈️','👨‍✈️','👩‍✈️','🧑‍🚀','👨‍🚀','👩‍🚀','🧑‍🚒','👨‍🚒','👩‍🚒','👮','👮‍♂️','👮‍♀️','🕵️','🕵️‍♂️','🕵️‍♀️','💂','💂‍♂️','💂‍♀️','🥷','👷','👷‍♂️','👷‍♀️','🫅','🤴','👸','👳','👳‍♂️','👳‍♀️','👲','🧕','🤵','🤵‍♂️','🤵‍♀️','👰','👰‍♂️','👰‍♀️','🤰','🫃','🫄','🤱','👩‍🍼','👨‍🍼','🧑‍🍼','👼','🎅','🤶','🧑‍🎄','🦸','🦸‍♂️','🦸‍♀️','🦹','🦹‍♂️','🦹‍♀️','🧙','🧙‍♂️','🧙‍♀️','🧚','🧚‍♂️','🧚‍♀️','🧛','🧛‍♂️','🧛‍♀️','🧜','🧜‍♂️','🧜‍♀️','🧝','🧝‍♂️','🧝‍♀️','🧞','🧞‍♂️','🧞‍♀️','🧟','🧟‍♂️','🧟‍♀️','🧌','💆','💆‍♂️','💆‍♀️','💇','💇‍♂️','💇‍♀️','🚶','🚶‍♂️','🚶‍♀️','🧍','🧍‍♂️','🧍‍♀️','🧎','🧎‍♂️','🧎‍♀️','🧑‍🦯','👨‍🦯','👩‍🦯','🧑‍🦼','👨‍🦼','👩‍🦼','🧑‍🦽','👨‍🦽','👩‍🦽','🏃','🏃‍♂️','🏃‍♀️','💃','🕺','🕴️','👯','👯‍♂️','👯‍♀️','🧖','🧖‍♂️','🧖‍♀️','🧗','🧗‍♂️','🧗‍♀️','🤺','🏇','⛷️','🏂','🏌️','🏌️‍♂️','🏌️‍♀️','🏄','🏄‍♂️','🏄‍♀️','🚣','🚣‍♂️','🚣‍♀️','🏊','🏊‍♂️','🏊‍♀️','⛹️','⛹️‍♂️','⛹️‍♀️','🏋️','🏋️‍♂️','🏋️‍♀️','🚴','🚴‍♂️','🚴‍♀️','🚵','🚵‍♂️','🚵‍♀️','🤸','🤸‍♂️','🤸‍♀️','🤼','🤼‍♂️','🤼‍♀️','🤽','🤽‍♂️','🤽‍♀️','🤾','🤾‍♂️','🤾‍♀️','🤹','🤹‍♂️','🤹‍♀️','🧘','🧘‍♂️','🧘‍♀️','🛀','🛌','🧑‍🤝‍🧑','👭','👫','👬','💏','👩‍❤️‍💋‍👨','👨‍❤️‍💋‍👨','👩‍❤️‍💋‍👩','💑','👩‍❤️‍👨','👨‍❤️‍👨','👩‍❤️‍👩','👨‍👩‍👦','👨‍👩‍👧','👨‍👩‍👧‍👦','👨‍👩‍👦‍👦','👨‍👩‍👧‍👧','👨‍👨‍👦','👨‍👨‍👧','👨‍👨‍👧‍👦','👨‍👨‍👦‍👦','👨‍👨‍👧‍👧','👩‍👩‍👦','👩‍👩‍👧','👩‍👩‍👧‍👦','👩‍👩‍👦‍👦','👩‍👩‍👧‍👧','👨‍👦','👨‍👦‍👦','👨‍👧','👨‍👧‍👦','👨‍👧‍👧','👩‍👦','👩‍👦‍👦','👩‍👧','👩‍👧‍👦','👩‍👧‍👧','🗣️','👤','👥','🫂','👪','👣'] },
15
+ { id: 'animals', label: 'Animals', icon: 'pets', emojis: ['🐵','🐒','🦍','🦧','🐶','🐕','🦮','🐕‍🦺','🐩','🐺','🦊','🦝','🐱','🐈','🐈‍⬛','🦁','🐯','🐅','🐆','🐴','🫎','🫏','🐎','🦄','🦓','🦌','🦬','🐮','🐂','🐃','🐄','🐷','🐖','🐗','🐽','🐏','🐑','🐐','🐪','🐫','🦙','🦒','🐘','🦣','🦏','🦛','🐭','🐁','🐀','🐹','🐰','🐇','🐿️','🦫','🦔','🦇','🐻','🐻‍❄️','🐨','🐼','🦥','🦦','🦨','🦘','🦡','🐾','🦃','🐔','🐓','🐣','🐤','🐥','🐦','🐧','🕊️','🦅','🦆','🦢','🦉','🦤','🪶','🦩','🦚','🦜','🪽','🐦‍⬛','🪿','🐸','🐊','🐢','🦎','🐍','🐲','🐉','🦕','🦖','🐳','🐋','🐬','🦭','🐟','🐠','🐡','🦈','🐙','🐚','🪸','🪼','🐌','🦋','🐛','🐜','🐝','🪲','🐞','🦗','🪳','🕷️','🕸️','🦂','🦟','🪰','🪱','🦠'] },
16
+ { id: 'nature', label: 'Nature', icon: 'eco', emojis: ['💐','🌸','💮','🪷','🏵️','🌹','🥀','🌺','🌻','🌼','🌷','🪻','🌱','🪴','🌲','🌳','🌴','🌵','🌾','🌿','☘️','🍀','🍁','🍂','🍃','🪹','🪺','🍄','🌑','🌒','🌓','🌔','🌕','🌖','🌗','🌘','🌙','🌚','🌛','🌜','🌡️','☀️','🌝','🌞','🪐','⭐','🌟','🌠','🌌','☁️','⛅','⛈️','🌤️','🌥️','🌦️','🌧️','🌨️','🌩️','🌪️','🌫️','🌬️','🌀','🌈','🌂','☂️','☔','⛱️','⚡','❄️','☃️','⛄','☄️','🔥','💧','🌊'] },
17
+ { id: 'food', label: 'Food', icon: 'restaurant', emojis: ['🍇','🍈','🍉','🍊','🍋','🍌','🍍','🥭','🍎','🍏','🍐','🍑','🍒','🍓','🫐','🥝','🍅','🫒','🥥','🥑','🍆','🥔','🥕','🌽','🌶️','🫑','🥒','🥬','🥦','🧄','🧅','🥜','🫘','🌰','🫚','🫛','🍞','🥐','🥖','🫓','🥨','🥯','🥞','🧇','🧀','🍖','🍗','🥩','🥓','🍔','🍟','🍕','🌭','🥪','🌮','🌯','🫔','🥙','🧆','🥚','🍳','🥘','🍲','🫕','🥣','🥗','🍿','🧈','🧂','🥫','🍱','🍘','🍙','🍚','🍛','🍜','🍝','🍠','🍢','🍣','🍤','🍥','🥮','🍡','🥟','🥠','🥡','🦀','🦞','🦐','🦑','🦪','🍦','🍧','🍨','🍩','🍪','🎂','🍰','🧁','🥧','🍫','🍬','🍭','🍮','🍯','🍼','🥛','☕','🫖','🍵','🍶','🍾','🍷','🍸','🍹','🍺','🍻','🥂','🥃','🫗','🥤','🧋','🧃','🧉','🧊','🥢','🍽️','🍴','🥄','🔪','🫙','🏺'] },
18
+ { id: 'activities', label: 'Activities', icon: 'sports_esports', emojis: ['🎃','🎄','🎆','🎇','🧨','✨','🎈','🎉','🎊','🎋','🎍','🎎','🎏','🎐','🎑','🧧','🎀','🎁','🎗️','🎟️','🎫','🎖️','🏆','🏅','🥇','🥈','🥉','⚽','⚾','🥎','🏀','🏐','🏈','🏉','🎾','🥏','🎳','🏏','🏑','🏒','🥍','🏓','🏸','🥊','🥋','🥅','⛳','⛸️','🎣','🤿','🎽','🎿','🛷','🥌','🎯','🪀','🪁','🔫','🎱','🔮','🪄','🎮','🕹️','🎰','🎲','🧩','🧸','🪅','🪩','🪆','♠️','♥️','♦️','♣️','♟️','🃏','🀄','🎴','🎭','🖼️','🎨','🧵','🪡','🧶','🪢'] },
19
+ { id: 'travel', label: 'Travel', icon: 'flight', emojis: ['🌍','🌎','🌏','🌐','🗺️','🗾','🧭','🏔️','⛰️','🌋','🗻','🏕️','🏖️','🏜️','🏝️','🏞️','🏟️','🏛️','🏗️','🧱','🪨','🪵','🛖','🏘️','🏚️','🏠','🏡','🏢','🏣','🏤','🏥','🏦','🏨','🏩','🏪','🏫','🏬','🏭','🏯','🏰','💒','🗼','🗽','⛪','🕌','🛕','🕍','⛩️','🕋','⛲','⛺','🌁','🌃','🏙️','🌄','🌅','🌆','🌇','🌉','♨️','🎠','🛝','🎡','🎢','💈','🎪','🚂','🚃','🚄','🚅','🚆','🚇','🚈','🚉','🚊','🚝','🚞','🚋','🚌','🚍','🚎','🚐','🚑','🚒','🚓','🚔','🚕','🚖','🚗','🚘','🚙','🛻','🚚','🚛','🚜','🏎️','🏍️','🛵','🦽','🦼','🛺','🚲','🛴','🛹','🛼','🚏','🛣️','🛤️','🛢️','⛽','🛞','🚨','🚥','🚦','🛑','🚧','⚓','🛟','⛵','🛶','🚤','🛳️','⛴️','🛥️','🚢','✈️','🛩️','🛫','🛬','🪂','💺','🚁','🚟','🚠','🚡','🛰️','🚀','🛸','🛎️','🧳','⌛','⏳','⌚','⏰','⏱️','⏲️','🕰️','🕛','🕧','🕐','🕜','🕑','🕝','🕒','🕞','🕓','🕟','🕔','🕠','🕕','🕡','🕖','🕢','🕗','🕣','🕘','🕤','🕙','🕥','🕚','🕦'] },
20
+ { id: 'objects', label: 'Objects', icon: 'lightbulb', emojis: ['👓','🕶️','🥽','🥼','🦺','👔','👕','👖','🧣','🧤','🧥','🧦','👗','👘','🥻','🩱','🩲','🩳','👙','👚','🪭','👛','👜','👝','🛍️','🎒','🩴','👞','👟','🥾','🥿','👠','👡','🩰','👢','🪮','👑','👒','🎩','🎓','🧢','🪖','⛑️','📿','💄','💍','💎','🔇','🔈','🔉','🔊','📢','📣','📯','🔔','🔕','🎼','🎵','🎶','🎙️','🎚️','🎛️','🎤','🎧','📻','🎷','🪗','🎸','🎹','🎺','🎻','🪕','🥁','🪘','🪇','🪈','📱','📲','☎️','📞','📟','📠','🔋','🪫','🔌','💻','🖥️','🖨️','⌨️','🖱️','🖲️','💽','💾','💿','📀','🧮','🎥','🎞️','📽️','🎬','📺','📷','📸','📹','📼','🔍','🔎','🕯️','💡','🔦','🏮','🪔','📔','📕','📖','📗','📘','📙','📚','📓','📒','📃','📜','📄','📰','🗞️','📑','🔖','🏷️','💰','🪙','💴','💵','💶','💷','💸','💳','🧾','💹','✉️','📧','📨','📩','📤','📥','📦','📫','📪','📬','📭','📮','🗳️','✏️','✒️','🖋️','🖊️','🖌️','🖍️','📝','💼','📁','📂','🗂️','📅','📆','🗒️','🗓️','📇','📈','📉','📊','📋','📌','📍','📎','🖇️','📏','📐','✂️','🗃️','🗄️','🗑️','🔒','🔓','🔏','🔐','🔑','🗝️','🔨','🪓','⛏️','⚒️','🛠️','🗡️','⚔️','💣','🪃','🏹','🛡️','🪚','🔧','🪛','🔩','⚙️','🗜️','⚖️','🦯','🔗','⛓️','🪝','🧰','🧲','🪜','⚗️','🧪','🧫','🧬','🔬','🔭','📡','💉','🩸','💊','🩹','🩼','🩺','🩻','🚪','🛗','🪞','🪟','🛏️','🛋️','🪑','🚽','🪠','🚿','🛁','🪤','🪒','🧴','🧷','🧹','🧺','🧻','🪣','🧼','🫧','🪥','🧽','🧯','🛒','🚬','⚰️','🪦','⚱️','🧿','🪬','🗿','🪧','🪪'] },
21
+ { id: 'symbols', label: 'Symbols', icon: 'favorite', emojis: ['🏧','🚮','🚰','♿','🚹','🚺','🚻','🚼','🚾','🛂','🛃','🛄','🛅','⚠️','🚸','⛔','🚫','🚳','🚭','🚯','🚱','🚷','📵','🔞','☢️','☣️','⬆️','↗️','➡️','↘️','⬇️','↙️','⬅️','↖️','↕️','↔️','↩️','↪️','⤴️','⤵️','🔃','🔄','🔙','🔚','🔛','🔜','🔝','🛐','⚛️','🕉️','✡️','☸️','☯️','✝️','☦️','☪️','☮️','🕎','🔯','🪯','♈','♉','♊','♋','♌','♍','♎','♏','♐','♑','♒','♓','⛎','🔀','🔁','🔂','▶️','⏩','⏭️','⏯️','◀️','⏪','⏮️','🔼','⏫','🔽','⏬','⏸️','⏹️','⏺️','⏏️','🎦','🔅','🔆','📶','🛜','📳','📴','♀️','♂️','⚧️','✖️','➕','➖','➗','🟰','♾️','‼️','⁉️','❓','❔','❕','❗','〰️','💱','💲','⚕️','♻️','⚜️','🔱','📛','🔰','⭕','✅','☑️','✔️','❌','❎','➰','➿','〽️','✳️','✴️','❇️','©️','®️','™️','#️⃣','*️⃣','0️⃣','1️⃣','2️⃣','3️⃣','4️⃣','5️⃣','6️⃣','7️⃣','8️⃣','9️⃣','🔟','🔠','🔡','🔢','🔣','🔤','🅰️','🆎','🅱️','🆑','🆒','🆓','ℹ️','🆔','Ⓜ️','🆕','🆖','🅾️','🆗','🅿️','🆘','🆙','🆚','🈁','🈂️','🈷️','🈶','🈯','🉐','🈹','🈚','🈲','🉑','🈸','🈴','🈳','㊗️','㊙️','🈺','🈵','🔴','🟠','🟡','🟢','🔵','🟣','🟤','⚫','⚪','🟥','🟧','🟨','🟩','🟦','🟪','🟫','⬛','⬜','◼️','◻️','◾','◽','▪️','▫️','🔶','🔷','🔸','🔹','🔺','🔻','💠','🔘','🔳','🔲'] },
22
+ { id: 'flags', label: 'Flags', icon: 'flag', emojis: ['🏁','🚩','🎌','🏴','🏳️','🏳️‍🌈','🏳️‍⚧️','🏴‍☠️','🇦🇨','🇦🇩','🇦🇪','🇦🇫','🇦🇬','🇦🇮','🇦🇱','🇦🇲','🇦🇴','🇦🇶','🇦🇷','🇦🇸','🇦🇹','🇦🇺','🇦🇼','🇦🇽','🇦🇿','🇧🇦','🇧🇧','🇧🇩','🇧🇪','🇧🇫','🇧🇬','🇧🇭','🇧🇮','🇧🇯','🇧🇱','🇧🇲','🇧🇳','🇧🇴','🇧🇶','🇧🇷','🇧🇸','🇧🇹','🇧🇻','🇧🇼','🇧🇾','🇧🇿','🇨🇦','🇨🇨','🇨🇩','🇨🇫','🇨🇬','🇨🇭','🇨🇮','🇨🇰','🇨🇱','🇨🇲','🇨🇳','🇨🇴','🇨🇵','🇨🇷','🇨🇺','🇨🇻','🇨🇼','🇨🇽','🇨🇾','🇨🇿','🇩🇪','🇩🇬','🇩🇯','🇩🇰','🇩🇲','🇩🇴','🇩🇿','🇪🇦','🇪🇨','🇪🇪','🇪🇬','🇪🇭','🇪🇷','🇪🇸','🇪🇹','🇪🇺','🇫🇮','🇫🇯','🇫🇰','🇫🇲','🇫🇴','🇫🇷','🇬🇦','🇬🇧','🇬🇩','🇬🇪','🇬🇫','🇬🇬','🇬🇭','🇬🇮','🇬🇱','🇬🇲','🇬🇳','🇬🇵','🇬🇶','🇬🇷','🇬🇸','🇬🇹','🇬🇺','🇬🇼','🇬🇾','🇭🇰','🇭🇲','🇭🇳','🇭🇷','🇭🇹','🇭🇺','🇮🇨','🇮🇩','🇮🇪','🇮🇱','🇮🇲','🇮🇳','🇮🇴','🇮🇶','🇮🇷','🇮🇸','🇮🇹','🇯🇪','🇯🇲','🇯🇴','🇯🇵','🇰🇪','🇰🇬','🇰🇭','🇰🇮','🇰🇲','🇰🇳','🇰🇵','🇰🇷','🇰🇼','🇰🇾','🇰🇿','🇱🇦','🇱🇧','🇱🇨','🇱🇮','🇱🇰','🇱🇷','🇱🇸','🇱🇹','🇱🇺','🇱🇻','🇱🇾','🇲🇦','🇲🇨','🇲🇩','🇲🇪','🇲🇫','🇲🇬','🇲🇭','🇲🇰','🇲🇱','🇲🇲','🇲🇳','🇲🇴','🇲🇵','🇲🇶','🇲🇷','🇲🇸','🇲🇹','🇲🇺','🇲🇻','🇲🇼','🇲🇽','🇲🇾','🇲🇿','🇳🇦','🇳🇨','🇳🇪','🇳🇫','🇳🇬','🇳🇮','🇳🇱','🇳🇴','🇳🇵','🇳🇷','🇳🇺','🇳🇿','🇴🇲','🇵🇦','🇵🇪','🇵🇫','🇵🇬','🇵🇭','🇵🇰','🇵🇱','🇵🇲','🇵🇳','🇵🇷','🇵🇸','🇵🇹','🇵🇼','🇵🇾','🇶🇦','🇷🇪','🇷🇴','🇷🇸','🇷🇺','🇷🇼','🇸🇦','🇸🇧','🇸🇨','🇸🇩','🇸🇪','🇸🇬','🇸🇭','🇸🇮','🇸🇯','🇸🇰','🇸🇱','🇸🇲','🇸🇳','🇸🇴','🇸🇷','🇸🇸','🇸🇹','🇸🇻','🇸🇽','🇸🇾','🇸🇿','🇹🇦','🇹🇨','🇹🇩','🇹🇫','🇹🇬','🇹🇭','🇹🇯','🇹🇰','🇹🇱','🇹🇲','🇹🇳','🇹🇴','🇹🇷','🇹🇹','🇹🇻','🇹🇼','🇹🇿','🇺🇦','🇺🇬','🇺🇲','🇺🇳','🇺🇸','🇺🇾','🇺🇿','🇻🇦','🇻🇨','🇻🇪','🇻🇬','🇻🇮','🇻🇳','🇻🇺','🇼🇫','🇼🇸','🇽🇰','🇾🇪','🇾🇹','🇿🇦','🇿🇲','🇿🇼','🏴󠁧󠁢󠁥󠁮󠁧󠁿','🏴󠁧󠁢󠁳󠁣󠁴󠁿','🏴󠁧󠁢󠁷󠁬󠁳󠁿'] },
195
23
  ]
196
24
 
25
+ /** Emoji that take a skin tone (all five one-tone variants exist). */
26
+ export const toneableEmojis = new Set<string>(['👋','🤚','🖐️','✋','🖖','🫱','🫲','🫳','🫴','🫷','🫸','👌','🤌','🤏','✌️','🤞','🫰','🤟','🤘','🤙','👈','👉','👆','🖕','👇','☝️','🫵','👍','👎','✊','👊','🤛','🤜','👏','🙌','🫶','👐','🤲','🤝','🙏','✍️','💅','🤳','💪','🦵','🦶','👂','🦻','👃','👶','🧒','👦','👧','🧑','👨','👩','🧓','👴','👵','🙍','🙍‍♂️','🙍‍♀️','🙎','🙎‍♂️','🙎‍♀️','🙅','🙅‍♂️','🙅‍♀️','🙆','🙆‍♂️','🙆‍♀️','💁','💁‍♂️','💁‍♀️','🙋','🙋‍♂️','🙋‍♀️','🧏','🧏‍♂️','🧏‍♀️','🙇','🙇‍♂️','🙇‍♀️','🤦','🤦‍♂️','🤦‍♀️','🤷','🤷‍♂️','🤷‍♀️','🧑‍⚕️','👨‍⚕️','👩‍⚕️','🧑‍🎓','👨‍🎓','👩‍🎓','🧑‍🏫','👨‍🏫','👩‍🏫','🧑‍⚖️','👨‍⚖️','👩‍⚖️','🧑‍🌾','👨‍🌾','👩‍🌾','🧑‍🍳','👨‍🍳','👩‍🍳','🧑‍🔧','👨‍🔧','👩‍🔧','🧑‍🏭','👨‍🏭','👩‍🏭','🧑‍💼','👨‍💼','👩‍💼','🧑‍🔬','👨‍🔬','👩‍🔬','🧑‍💻','👨‍💻','👩‍💻','🧑‍🎤','👨‍🎤','👩‍🎤','🧑‍🎨','👨‍🎨','👩‍🎨','🧑‍✈️','👨‍✈️','👩‍✈️','🧑‍🚀','👨‍🚀','👩‍🚀','🧑‍🚒','👨‍🚒','👩‍🚒','👮','👮‍♂️','👮‍♀️','🕵️','🕵️‍♂️','🕵️‍♀️','💂','💂‍♂️','💂‍♀️','🥷','👷','👷‍♂️','👷‍♀️','🫅','🤴','👸','👳','👳‍♂️','👳‍♀️','👲','🧕','🤵','🤵‍♂️','🤵‍♀️','👰','👰‍♂️','👰‍♀️','🤰','🫃','🫄','🤱','👩‍🍼','👨‍🍼','🧑‍🍼','👼','🎅','🤶','🧑‍🎄','🦸','🦸‍♂️','🦸‍♀️','🦹','🦹‍♂️','🦹‍♀️','🧙','🧙‍♂️','🧙‍♀️','🧚','🧚‍♂️','🧚‍♀️','🧛','🧛‍♂️','🧛‍♀️','🧜','🧜‍♂️','🧜‍♀️','🧝','🧝‍♂️','🧝‍♀️','💆','💆‍♂️','💆‍♀️','💇','💇‍♂️','💇‍♀️','🚶','🚶‍♂️','🚶‍♀️','🧍','🧍‍♂️','🧍‍♀️','🧎','🧎‍♂️','🧎‍♀️','🧑‍🦯','👨‍🦯','👩‍🦯','🧑‍🦼','👨‍🦼','👩‍🦼','🧑‍🦽','👨‍🦽','👩‍🦽','🏃','🏃‍♂️','🏃‍♀️','💃','🕺','🕴️','🧖','🧖‍♂️','🧖‍♀️','🧗','🧗‍♂️','🧗‍♀️','🏇','🏂','🏌️','🏌️‍♂️','🏌️‍♀️','🏄','🏄‍♂️','🏄‍♀️','🚣','🚣‍♂️','🚣‍♀️','🏊','🏊‍♂️','🏊‍♀️','⛹️','⛹️‍♂️','⛹️‍♀️','🏋️','🏋️‍♂️','🏋️‍♀️','🚴','🚴‍♂️','🚴‍♀️','🚵','🚵‍♂️','🚵‍♀️','🤸','🤸‍♂️','🤸‍♀️','🤽','🤽‍♂️','🤽‍♀️','🤾','🤾‍♂️','🤾‍♀️','🤹','🤹‍♂️','🤹‍♀️','🧘','🧘‍♂️','🧘‍♀️','🛀','🛌','👭','👫','👬','💏','💑'])
27
+
28
+ /** The five Fitzpatrick modifiers, light to dark. */
29
+ export const skinTones = ['🏻', '🏼', '🏽', '🏾', '🏿'] as const
30
+
31
+ /** `emoji` with skin tone `tone` (0 = none, 1–5 = light to dark), if it takes one. */
32
+ export function withSkinTone(emoji: string, tone: number): string {
33
+ const modifier = skinTones[tone - 1]
34
+ if (!modifier || !toneableEmojis.has(emoji)) return emoji
35
+ const [first, ...rest] = [...emoji]
36
+ if (rest[0] === '\uFE0F') rest.shift()
37
+ return first + modifier + rest.join('')
38
+ }
39
+
197
40
  export const allEmojis = emojiCategories.flatMap((c) => c.emojis)
198
41
 
199
42
  export function randomEmoji(from?: string[]): string {
200
43
  const pool = from ?? allEmojis
201
44
  return pool[Math.floor(Math.random() * pool.length)]!
202
45
  }
203
-
204
- export function searchEmojis(query: string): string[] {
205
- if (!query) return []
206
- const q = query.toLowerCase()
207
- const matches: string[] = []
208
- for (const cat of emojiCategories) {
209
- if (cat.id.includes(q) || cat.label.toLowerCase().includes(q)) {
210
- matches.push(...cat.emojis)
211
- }
212
- }
213
- return matches
214
- }
package/src/index.ts CHANGED
@@ -39,7 +39,7 @@ export type { ButtonGroupOption } from './components/MButtonGroup.vue'
39
39
  export { default as MCalendar } from './components/MCalendar.vue'
40
40
  export { default as MCard } from './components/MCard.vue'
41
41
  export { default as MCarousel } from './components/MCarousel.vue'
42
- export type { CarouselItem } from './components/MCarousel.vue'
42
+ export type { CarouselItem, CarouselVariant, CarouselFlingBehavior } from './components/MCarousel.vue'
43
43
  export { default as MCenter } from './components/MCenter.vue'
44
44
  // MChart — import from '@m3ui-vue/m3ui-vue/chart'
45
45
  export { default as MChatBubble } from './components/MChatBubble.vue'
@@ -180,7 +180,7 @@ export { default as MWindow } from './components/MWindow.vue'
180
180
 
181
181
  // Re-export types from components that define them
182
182
  export type { EmojiCategory } from './data/emojis'
183
- export { emojiCategories, allEmojis, randomEmoji } from './data/emojis'
183
+ export { emojiCategories, allEmojis, randomEmoji, withSkinTone, toneableEmojis, skinTones } from './data/emojis'
184
184
  export type { Placement } from './components/MAbsolute.vue'
185
185
  export type { BadgePosition, BadgeOverlap } from './components/MBadge.vue'
186
186
  export type { CalendarEvent } from './components/MCalendar.vue'
package/src/locales/de.ts CHANGED
@@ -47,6 +47,23 @@ export const deLocale: M3Locale = {
47
47
  // Scheduler
48
48
  dayView: 'Tag',
49
49
  weekView: 'Woche',
50
+ allDay: 'Ganztägig',
51
+ emojiSearch: 'Emoji suchen',
52
+ emojiNoResults: 'Keine Emojis gefunden',
53
+ emojiRecent: 'Zuletzt verwendet',
54
+ emojiSkinTone: 'Hautfarbe',
55
+ emojiSkinTones: 'Standard|Hell|Mittelhell|Mittel|Mitteldunkel|Dunkel',
56
+ emojiCategorySmileys: 'Smileys',
57
+ emojiCategoryGestures: 'Gesten',
58
+ emojiCategoryPeople: 'Personen',
59
+ emojiCategoryAnimals: 'Tiere',
60
+ emojiCategoryNature: 'Natur',
61
+ emojiCategoryFood: 'Essen & Trinken',
62
+ emojiCategoryActivities: 'Aktivitäten',
63
+ emojiCategoryTravel: 'Reisen & Orte',
64
+ emojiCategoryObjects: 'Objekte',
65
+ emojiCategorySymbols: 'Symbole',
66
+ emojiCategoryFlags: 'Flaggen',
50
67
 
51
68
  // Transfer list
52
69
  available: 'Verfügbar',
@@ -145,4 +162,6 @@ export const deLocale: M3Locale = {
145
162
  paginationPage: 'Seite {page} von {pages}',
146
163
  previousPage: 'Vorherige Seite',
147
164
  nextPage: 'Nächste Seite',
165
+ carousel: 'Karussell',
166
+ carouselItem: '{index} von {count}',
148
167
  }
package/src/locales/es.ts CHANGED
@@ -47,6 +47,23 @@ export const esLocale: M3Locale = {
47
47
  // Scheduler
48
48
  dayView: 'Día',
49
49
  weekView: 'Semana',
50
+ allDay: 'Todo el día',
51
+ emojiSearch: 'Buscar emoji',
52
+ emojiNoResults: 'No se encontraron emojis',
53
+ emojiRecent: 'Usados recientemente',
54
+ emojiSkinTone: 'Tono de piel',
55
+ emojiSkinTones: 'Sin tono|Claro|Medio claro|Medio|Medio oscuro|Oscuro',
56
+ emojiCategorySmileys: 'Caras',
57
+ emojiCategoryGestures: 'Gestos',
58
+ emojiCategoryPeople: 'Personas',
59
+ emojiCategoryAnimals: 'Animales',
60
+ emojiCategoryNature: 'Naturaleza',
61
+ emojiCategoryFood: 'Comida y bebida',
62
+ emojiCategoryActivities: 'Actividades',
63
+ emojiCategoryTravel: 'Viajes y lugares',
64
+ emojiCategoryObjects: 'Objetos',
65
+ emojiCategorySymbols: 'Símbolos',
66
+ emojiCategoryFlags: 'Banderas',
50
67
 
51
68
  // Transfer list
52
69
  available: 'Disponibles',
@@ -145,4 +162,6 @@ export const esLocale: M3Locale = {
145
162
  paginationPage: 'Página {page} de {pages}',
146
163
  previousPage: 'Página anterior',
147
164
  nextPage: 'Página siguiente',
165
+ carousel: 'Carrusel',
166
+ carouselItem: '{index} de {count}',
148
167
  }
package/src/locales/fr.ts CHANGED
@@ -47,6 +47,23 @@ export const frLocale: M3Locale = {
47
47
  // Scheduler
48
48
  dayView: 'Jour',
49
49
  weekView: 'Semaine',
50
+ allDay: 'Toute la journée',
51
+ emojiSearch: 'Rechercher un emoji',
52
+ emojiNoResults: 'Aucun emoji trouvé',
53
+ emojiRecent: 'Utilisés récemment',
54
+ emojiSkinTone: 'Couleur de peau',
55
+ emojiSkinTones: 'Par défaut|Clair|Moyennement clair|Moyen|Moyennement foncé|Foncé',
56
+ emojiCategorySmileys: 'Smileys',
57
+ emojiCategoryGestures: 'Gestes',
58
+ emojiCategoryPeople: 'Personnes',
59
+ emojiCategoryAnimals: 'Animaux',
60
+ emojiCategoryNature: 'Nature',
61
+ emojiCategoryFood: 'Nourriture et boissons',
62
+ emojiCategoryActivities: 'Activités',
63
+ emojiCategoryTravel: 'Voyages et lieux',
64
+ emojiCategoryObjects: 'Objets',
65
+ emojiCategorySymbols: 'Symboles',
66
+ emojiCategoryFlags: 'Drapeaux',
50
67
 
51
68
  // Transfer list
52
69
  available: 'Disponibles',
@@ -145,4 +162,6 @@ export const frLocale: M3Locale = {
145
162
  paginationPage: 'Page {page} sur {pages}',
146
163
  previousPage: 'Page précédente',
147
164
  nextPage: 'Page suivante',
165
+ carousel: 'Carrousel',
166
+ carouselItem: '{index} sur {count}',
148
167
  }
package/src/locales/ja.ts CHANGED
@@ -47,6 +47,23 @@ export const jaLocale: M3Locale = {
47
47
  // Scheduler
48
48
  dayView: '日',
49
49
  weekView: '週',
50
+ allDay: '終日',
51
+ emojiSearch: '絵文字を検索',
52
+ emojiNoResults: '絵文字が見つかりません',
53
+ emojiRecent: '最近使用したもの',
54
+ emojiSkinTone: '肌の色',
55
+ emojiSkinTones: 'デフォルト|明るい|やや明るい|中間|やや暗い|暗い',
56
+ emojiCategorySmileys: 'スマイリー',
57
+ emojiCategoryGestures: 'ジェスチャー',
58
+ emojiCategoryPeople: '人物',
59
+ emojiCategoryAnimals: '動物',
60
+ emojiCategoryNature: '自然',
61
+ emojiCategoryFood: '食べ物と飲み物',
62
+ emojiCategoryActivities: 'アクティビティ',
63
+ emojiCategoryTravel: '旅行と場所',
64
+ emojiCategoryObjects: '物',
65
+ emojiCategorySymbols: '記号',
66
+ emojiCategoryFlags: '旗',
50
67
 
51
68
  // Transfer list
52
69
  available: '利用可能',
@@ -145,4 +162,6 @@ export const jaLocale: M3Locale = {
145
162
  paginationPage: '{pages} ページ中 {page} ページ',
146
163
  previousPage: '前のページ',
147
164
  nextPage: '次のページ',
165
+ carousel: 'カルーセル',
166
+ carouselItem: '{count} 件中 {index} 件目',
148
167
  }
package/src/locales/ko.ts CHANGED
@@ -47,6 +47,23 @@ export const koLocale: M3Locale = {
47
47
  // Scheduler
48
48
  dayView: '일',
49
49
  weekView: '주',
50
+ allDay: '종일',
51
+ emojiSearch: '이모지 검색',
52
+ emojiNoResults: '이모지를 찾을 수 없음',
53
+ emojiRecent: '최근 사용',
54
+ emojiSkinTone: '피부색',
55
+ emojiSkinTones: '기본|밝은|약간 밝은|중간|약간 어두운|어두운',
56
+ emojiCategorySmileys: '스마일리',
57
+ emojiCategoryGestures: '제스처',
58
+ emojiCategoryPeople: '사람',
59
+ emojiCategoryAnimals: '동물',
60
+ emojiCategoryNature: '자연',
61
+ emojiCategoryFood: '음식 및 음료',
62
+ emojiCategoryActivities: '활동',
63
+ emojiCategoryTravel: '여행 및 장소',
64
+ emojiCategoryObjects: '사물',
65
+ emojiCategorySymbols: '기호',
66
+ emojiCategoryFlags: '깃발',
50
67
 
51
68
  // Transfer list
52
69
  available: '사용 가능',
@@ -145,4 +162,6 @@ export const koLocale: M3Locale = {
145
162
  paginationPage: '{pages}페이지 중 {page}페이지',
146
163
  previousPage: '이전 페이지',
147
164
  nextPage: '다음 페이지',
165
+ carousel: '캐러셀',
166
+ carouselItem: '{count}개 중 {index}번째',
148
167
  }
package/src/locales/pt.ts CHANGED
@@ -47,6 +47,23 @@ export const ptLocale: M3Locale = {
47
47
  // Scheduler
48
48
  dayView: 'Dia',
49
49
  weekView: 'Semana',
50
+ allDay: 'Dia inteiro',
51
+ emojiSearch: 'Pesquisar emoji',
52
+ emojiNoResults: 'Nenhum emoji encontrado',
53
+ emojiRecent: 'Usados recentemente',
54
+ emojiSkinTone: 'Tom de pele',
55
+ emojiSkinTones: 'Padrão|Claro|Médio-claro|Médio|Médio-escuro|Escuro',
56
+ emojiCategorySmileys: 'Carinhas',
57
+ emojiCategoryGestures: 'Gestos',
58
+ emojiCategoryPeople: 'Pessoas',
59
+ emojiCategoryAnimals: 'Animais',
60
+ emojiCategoryNature: 'Natureza',
61
+ emojiCategoryFood: 'Comida e bebida',
62
+ emojiCategoryActivities: 'Atividades',
63
+ emojiCategoryTravel: 'Viagens e lugares',
64
+ emojiCategoryObjects: 'Objetos',
65
+ emojiCategorySymbols: 'Símbolos',
66
+ emojiCategoryFlags: 'Bandeiras',
50
67
 
51
68
  // Transfer list
52
69
  available: 'Disponíveis',
@@ -145,4 +162,6 @@ export const ptLocale: M3Locale = {
145
162
  paginationPage: 'Página {page} de {pages}',
146
163
  previousPage: 'Página anterior',
147
164
  nextPage: 'Próxima página',
165
+ carousel: 'Carrossel',
166
+ carouselItem: '{index} de {count}',
148
167
  }
package/src/locales/zh.ts CHANGED
@@ -47,6 +47,23 @@ export const zhLocale: M3Locale = {
47
47
  // Scheduler
48
48
  dayView: '日',
49
49
  weekView: '周',
50
+ allDay: '全天',
51
+ emojiSearch: '搜索表情',
52
+ emojiNoResults: '未找到表情',
53
+ emojiRecent: '最近使用',
54
+ emojiSkinTone: '肤色',
55
+ emojiSkinTones: '默认|浅|中浅|中等|中深|深',
56
+ emojiCategorySmileys: '笑脸',
57
+ emojiCategoryGestures: '手势',
58
+ emojiCategoryPeople: '人物',
59
+ emojiCategoryAnimals: '动物',
60
+ emojiCategoryNature: '自然',
61
+ emojiCategoryFood: '食物和饮料',
62
+ emojiCategoryActivities: '活动',
63
+ emojiCategoryTravel: '旅行和地点',
64
+ emojiCategoryObjects: '物品',
65
+ emojiCategorySymbols: '符号',
66
+ emojiCategoryFlags: '旗帜',
50
67
 
51
68
  // Transfer list
52
69
  available: '可用',
@@ -145,4 +162,6 @@ export const zhLocale: M3Locale = {
145
162
  paginationPage: '第 {page} 页,共 {pages} 页',
146
163
  previousPage: '上一页',
147
164
  nextPage: '下一页',
165
+ carousel: '轮播',
166
+ carouselItem: '第 {index} 项,共 {count} 项',
148
167
  }
package/src/plugin.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { App, MaybeRef } from 'vue'
2
2
  import type { Palette } from './composables/useColorPalette'
3
- import { __forcePalette } from './composables/useColorPalette'
3
+ import { __forcePalette, palettes } from './composables/useColorPalette'
4
4
  import type { M3Locale } from './composables/useLocale'
5
5
  import { M3_LOCALE_KEY } from './composables/useLocale'
6
6
 
@@ -15,6 +15,12 @@ export interface M3UIOptions {
15
15
  * and any later choice persists and wins over it).
16
16
  */
17
17
  persistPalette?: boolean
18
+ /**
19
+ * Palettes of your own, added to `useColorPalette().palettes` so palette pickers built from
20
+ * that list show them. An entry whose `id` matches a built-in palette replaces it. Each one
21
+ * still needs its CSS: `[data-palette='<id>'] { --color-primary: ...; }` plus a
22
+ * `[data-palette='<id>'].dark { ... }` block, overriding the same tokens as `palettes.css`.
23
+ */
18
24
  customPalettes?: Palette[]
19
25
  locale?: MaybeRef<Partial<M3Locale>>
20
26
  }
@@ -22,6 +28,11 @@ export interface M3UIOptions {
22
28
  export function createM3UI(options: M3UIOptions = {}) {
23
29
  return {
24
30
  install(app: App) {
31
+ for (const custom of options.customPalettes ?? []) {
32
+ const i = palettes.findIndex((p) => p.id === custom.id)
33
+ if (i === -1) palettes.push(custom)
34
+ else palettes[i] = custom
35
+ }
25
36
  if (options.persistPalette === false) {
26
37
  if (options.palette) __forcePalette(options.palette, false)
27
38
  } else if (options.palette && options.palette !== 'purple' && !localStorage.getItem('m3-palette')) {