@pactor-app/ui 1.0.0 → 1.1.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.
@@ -10,6 +10,7 @@ import {
10
10
  ArrowUp,
11
11
  Bell,
12
12
  Bookmark,
13
+ Brain,
13
14
  Briefcase,
14
15
  Building2,
15
16
  Calendar,
@@ -19,6 +20,7 @@ import {
19
20
  ChevronDown,
20
21
  ChevronLeft,
21
22
  ChevronRight,
23
+ ChevronsUpDown,
22
24
  ChevronUp,
23
25
  CircleAlert,
24
26
  CircleCheck,
@@ -36,11 +38,13 @@ import {
36
38
  ExternalLink,
37
39
  Eye,
38
40
  File,
41
+ FileText,
39
42
  Flag,
40
43
  Folder,
41
44
  Funnel,
42
45
  Globe,
43
46
  Heart,
47
+ History,
44
48
  House,
45
49
  Image,
46
50
  Info,
@@ -63,11 +67,15 @@ import {
63
67
  Minus,
64
68
  Moon,
65
69
  Package,
70
+ PanelLeft,
71
+ PanelRightOpen,
66
72
  Paperclip,
67
73
  Pencil,
68
74
  Phone,
69
75
  Plus,
76
+ Quote,
70
77
  RefreshCcw,
78
+ RotateCcw,
71
79
  Save,
72
80
  Search,
73
81
  Send,
@@ -75,6 +83,7 @@ import {
75
83
  Share2,
76
84
  Shield,
77
85
  ShoppingCart,
86
+ Square,
78
87
  SquarePen,
79
88
  Star,
80
89
  Sun,
@@ -179,7 +188,19 @@ var ICONS = {
179
188
  code: Code,
180
189
  database: Database,
181
190
  cloud: Cloud,
182
- languages: Languages
191
+ languages: Languages,
192
+ // @pactor-app/chat 收敛(spec: chat-icon-convergence):chat 既有图标与
193
+ // 契约图标名(menu.icon / messageActions[].icon 的既有取值)直通
194
+ "chevrons-up-down": ChevronsUpDown,
195
+ "file-text": FileText,
196
+ "panel-left": PanelLeft,
197
+ "panel-right-open": PanelRightOpen,
198
+ square: Square,
199
+ history: History,
200
+ "rotate-ccw": RotateCcw,
201
+ quote: Quote,
202
+ chat: MessageSquare,
203
+ brain: Brain
183
204
  };
184
205
  function normalizeIconName(name) {
185
206
  return name.replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/[_\s]+/g, "-").toLowerCase();