@tuturuuu/ui 0.35.1 → 0.36.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.36.0](https://github.com/tutur3u/platform/compare/ui-v0.35.1...ui-v0.36.0) (2026-09-27)
4
+
5
+
6
+ ### Features
7
+
8
+ * **notes:** add archive views and structured editing ([1c78aa2](https://github.com/tutur3u/platform/commit/1c78aa292ebca25660c1ec7464cd6cc02144c82a))
9
+ * **notes:** archive views and structured editing ([#5576](https://github.com/tutur3u/platform/issues/5576)) ([a67b186](https://github.com/tutur3u/platform/commit/a67b186318153cad8b10b71bbfc9335b80d0768a))
10
+
3
11
  ## [0.35.1](https://github.com/tutur3u/platform/compare/ui-v0.35.0...ui-v0.35.1) (2026-09-26)
4
12
 
5
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tuturuuu/ui",
3
- "version": "0.35.1",
3
+ "version": "0.36.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -91,7 +91,7 @@
91
91
  "@tuturuuu/apis": "0.11.4",
92
92
  "@tuturuuu/hooks": "0.1.2",
93
93
  "@tuturuuu/icons": "0.1.1",
94
- "@tuturuuu/internal-api": "0.43.0",
94
+ "@tuturuuu/internal-api": "0.44.0",
95
95
  "@tuturuuu/supabase": "0.5.2",
96
96
  "@tuturuuu/utils": "0.31.0",
97
97
  "@types/debug": "^4.1.13",
@@ -95,6 +95,32 @@ const getMentionVisualMeta = (entityType?: string): MentionVisualMeta => {
95
95
  </span>
96
96
  ),
97
97
  };
98
+ case 'event':
99
+ case 'meeting':
100
+ return {
101
+ prefix: '@',
102
+ pillClass: 'border-border bg-muted text-foreground',
103
+ avatarClass: 'border-border bg-background text-foreground',
104
+ fallback: 'E',
105
+ icon: renderToString(
106
+ <span className="flex h-full w-full items-center justify-center">
107
+ <Calendar className="h-3 w-3" />
108
+ </span>
109
+ ),
110
+ };
111
+ case 'finance':
112
+ case 'note':
113
+ return {
114
+ prefix: '@',
115
+ pillClass: 'border-border bg-muted text-foreground',
116
+ avatarClass: 'border-border bg-background text-foreground',
117
+ fallback: entityType === 'finance' ? 'F' : 'N',
118
+ icon: renderToString(
119
+ <span className="flex h-full w-full items-center justify-center">
120
+ <Box className="h-3 w-3" />
121
+ </span>
122
+ ),
123
+ };
98
124
  case 'external-user':
99
125
  return {
100
126
  prefix: '@',