@mindlogic-ai/logician-ui 4.0.0-alpha.11 → 4.0.0-alpha.13
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/dist/components/Banner/Banner.js +1 -1
- package/dist/components/Banner/Banner.js.map +1 -1
- package/dist/components/Banner/Banner.mjs +1 -1
- package/dist/components/Banner/Banner.mjs.map +1 -1
- package/dist/components/ColorMode/ColorModeToggle.js +2 -2
- package/dist/components/ColorMode/ColorModeToggle.js.map +1 -1
- package/dist/components/ColorMode/ColorModeToggle.mjs +2 -2
- package/dist/components/ColorMode/ColorModeToggle.mjs.map +1 -1
- package/dist/components/FileInput/FileInput.js +1 -1
- package/dist/components/FileInput/FileInput.js.map +1 -1
- package/dist/components/FileInput/FileInput.mjs +2 -2
- package/dist/components/FileInput/FileInput.mjs.map +1 -1
- package/dist/components/FileItem/FileItem.js +1 -1
- package/dist/components/FileItem/FileItem.js.map +1 -1
- package/dist/components/FileItem/FileItem.mjs +2 -2
- package/dist/components/FileItem/FileItem.mjs.map +1 -1
- package/dist/components/FileList/FileList.js +1 -1
- package/dist/components/FileList/FileList.js.map +1 -1
- package/dist/components/FileList/FileList.mjs +2 -2
- package/dist/components/FileList/FileList.mjs.map +1 -1
- package/dist/components/Icon/_constants/iconList.d.ts +2 -1
- package/dist/components/Icon/_constants/iconList.d.ts.map +1 -1
- package/dist/components/Icon/_constants/iconList.js +309 -134
- package/dist/components/Icon/_constants/iconList.js.map +1 -1
- package/dist/components/Icon/_constants/iconList.mjs +337 -162
- package/dist/components/Icon/_constants/iconList.mjs.map +1 -1
- package/dist/components/Icon/index.d.ts +1 -1
- package/dist/components/Icon/index.d.ts.map +1 -1
- package/dist/components/Icon/index.js +205 -42
- package/dist/components/Icon/index.js.map +1 -1
- package/dist/components/Icon/index.mjs +3 -43
- package/dist/components/Icon/index.mjs.map +1 -1
- package/dist/components/Pagination/Pagination.js +1 -1
- package/dist/components/Pagination/Pagination.js.map +1 -1
- package/dist/components/Pagination/Pagination.mjs +2 -2
- package/dist/components/Pagination/Pagination.mjs.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.d.ts.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.js +2 -2
- package/dist/components/PasswordInput/PasswordInput.js.map +1 -1
- package/dist/components/PasswordInput/PasswordInput.mjs +2 -2
- package/dist/components/PasswordInput/PasswordInput.mjs.map +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.js +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.js.map +1 -1
- package/dist/components/SeeMoreButton/SeeMoreButton.mjs +2 -2
- package/dist/components/SeeMoreButton/SeeMoreButton.mjs.map +1 -1
- package/dist/components/Toast/ToastIcon/ToastIcon.js +4 -4
- package/dist/components/Toast/ToastIcon/ToastIcon.js.map +1 -1
- package/dist/components/Toast/ToastIcon/ToastIcon.mjs +5 -5
- package/dist/components/Toast/ToastIcon/ToastIcon.mjs.map +1 -1
- package/dist/components/Tree/TreeBranchIndicator.js +1 -1
- package/dist/components/Tree/TreeBranchIndicator.js.map +1 -1
- package/dist/components/Tree/TreeBranchIndicator.mjs +2 -2
- package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.js +1 -1
- package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.js.map +1 -1
- package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.mjs +2 -2
- package/dist/components/Workflow/canvas/Canvas/BranchLabelBadge.mjs.map +1 -1
- package/dist/components/Workflow/canvas/Canvas/CanvasControls.js +1 -1
- package/dist/components/Workflow/canvas/Canvas/CanvasControls.js.map +1 -1
- package/dist/components/Workflow/canvas/Canvas/CanvasControls.mjs +2 -2
- package/dist/components/Workflow/canvas/Canvas/CanvasControls.mjs.map +1 -1
- package/dist/components/Workflow/canvas/Canvas/LabeledEdge.js +1 -1
- package/dist/components/Workflow/canvas/Canvas/LabeledEdge.js.map +1 -1
- package/dist/components/Workflow/canvas/Canvas/LabeledEdge.mjs +2 -2
- package/dist/components/Workflow/canvas/Canvas/LabeledEdge.mjs.map +1 -1
- package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.d.ts.map +1 -1
- package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.js +1 -1
- package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.js.map +1 -1
- package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.mjs +2 -2
- package/dist/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.mjs.map +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.js +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.js.map +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.mjs +2 -2
- package/dist/components/Workflow/canvas/DrawerShell/DrawerHeader.mjs.map +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.js +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.js.map +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.mjs +2 -2
- package/dist/components/Workflow/canvas/DrawerShell/DrawerIssues.mjs.map +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.js +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.js.map +1 -1
- package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.mjs +2 -2
- package/dist/components/Workflow/canvas/DrawerShell/DrawerShell.mjs.map +1 -1
- package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.js +1 -1
- package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.js.map +1 -1
- package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.mjs +2 -2
- package/dist/components/Workflow/canvas/FieldWrapper/FieldWrapper.mjs.map +1 -1
- package/dist/components/Workflow/canvas/GenericNode/GenericNode.js +1 -1
- package/dist/components/Workflow/canvas/GenericNode/GenericNode.js.map +1 -1
- package/dist/components/Workflow/canvas/GenericNode/GenericNode.mjs +2 -2
- package/dist/components/Workflow/canvas/GenericNode/GenericNode.mjs.map +1 -1
- package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.js +1 -1
- package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.js.map +1 -1
- package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.mjs +2 -2
- package/dist/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.mjs.map +1 -1
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.js +2 -2
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.js.map +1 -1
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.mjs +3 -3
- package/dist/components/Workflow/canvas/NodePalette/NodePalette.mjs.map +1 -1
- package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.js +1 -1
- package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.js.map +1 -1
- package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.mjs +2 -2
- package/dist/components/Workflow/canvas/NodePalette/NodePaletteToggle.mjs.map +1 -1
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.js +3 -3
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.js.map +1 -1
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.mjs +4 -4
- package/dist/components/Workflow/canvas/NodeShell/NodeShell.mjs.map +1 -1
- package/dist/icons.js +203 -0
- package/dist/icons.js.map +1 -1
- package/dist/icons.mjs +1 -1
- package/package.json +1 -1
- package/src/components/Banner/Banner.tsx +1 -1
- package/src/components/ColorMode/ColorModeToggle.tsx +2 -2
- package/src/components/FileInput/FileInput.tsx +2 -2
- package/src/components/FileItem/FileItem.tsx +10 -10
- package/src/components/FileList/FileList.tsx +2 -2
- package/src/components/Icon/_constants/iconList.ts +523 -299
- package/src/components/Icon/index.tsx +210 -27
- package/src/components/Input/Input.stories.tsx +5 -5
- package/src/components/Pagination/Pagination.tsx +3 -3
- package/src/components/PasswordInput/PasswordInput.tsx +3 -2
- package/src/components/SeeMoreButton/SeeMoreButton.tsx +2 -2
- package/src/components/Toast/ToastIcon/ToastIcon.tsx +8 -8
- package/src/components/Tree/TreeBranchIndicator.tsx +2 -2
- package/src/components/Workflow/canvas/Canvas/BranchLabelBadge.tsx +3 -3
- package/src/components/Workflow/canvas/Canvas/CanvasControls.tsx +15 -15
- package/src/components/Workflow/canvas/Canvas/LabeledEdge.tsx +2 -2
- package/src/components/Workflow/canvas/CollapsibleSection/CollapsibleSection.tsx +8 -4
- package/src/components/Workflow/canvas/DrawerShell/DrawerHeader.tsx +3 -3
- package/src/components/Workflow/canvas/DrawerShell/DrawerIssues.tsx +2 -2
- package/src/components/Workflow/canvas/DrawerShell/DrawerShell.tsx +2 -2
- package/src/components/Workflow/canvas/FieldWrapper/FieldWrapper.tsx +3 -3
- package/src/components/Workflow/canvas/GenericNode/GenericNode.tsx +2 -2
- package/src/components/Workflow/canvas/GraphErrorBanner/GraphErrorBanner.tsx +2 -2
- package/src/components/Workflow/canvas/NodePalette/NodePalette.tsx +3 -3
- package/src/components/Workflow/canvas/NodePalette/NodePaletteToggle.tsx +2 -2
- package/src/components/Workflow/canvas/NodeShell/NodeShell.tsx +4 -4
- package/src/components/Workflow/stories/toyNodeTypes.tsx +4 -4
|
@@ -2,16 +2,215 @@ import { Icons } from './_constants/iconList';
|
|
|
2
2
|
|
|
3
3
|
export type { CreatedIcon } from './_utils/createIcon';
|
|
4
4
|
|
|
5
|
-
//
|
|
5
|
+
// Individual named exports (use without the Icons. prefix).
|
|
6
6
|
export const {
|
|
7
|
-
|
|
7
|
+
ActivityIcon,
|
|
8
|
+
AlertCircleFilledIcon,
|
|
9
|
+
AlertCircleIcon,
|
|
10
|
+
AlertOctagonIcon,
|
|
11
|
+
AlertTriangleIcon,
|
|
12
|
+
AmountUsageIcon,
|
|
13
|
+
AnalyticsIcon,
|
|
14
|
+
AnnouncementIcon,
|
|
15
|
+
AppWindowFilledIcon,
|
|
16
|
+
ArchiveIcon,
|
|
17
|
+
ArrowBackUpIcon,
|
|
18
|
+
ArrowDownRightIcon,
|
|
19
|
+
ArrowForwardUpIcon,
|
|
20
|
+
ArrowsLeftRightIcon,
|
|
21
|
+
ArrowsMinimizeIcon,
|
|
22
|
+
ArrowUpRightIcon,
|
|
23
|
+
BeerIcon,
|
|
24
|
+
BellIcon,
|
|
25
|
+
BlockquoteIcon,
|
|
26
|
+
BoldIcon,
|
|
27
|
+
BoltFilledIcon,
|
|
28
|
+
BoltIcon,
|
|
29
|
+
BookFilledIcon,
|
|
30
|
+
BookIcon,
|
|
31
|
+
BugIcon,
|
|
32
|
+
BuildingBankIcon,
|
|
33
|
+
BuildingUserIcon,
|
|
34
|
+
BulbIcon,
|
|
35
|
+
CalendarIcon,
|
|
36
|
+
CardMembershipIcon,
|
|
37
|
+
CashIcon,
|
|
38
|
+
ChartBarIcon,
|
|
39
|
+
ChartLineIcon,
|
|
40
|
+
ChartPieIcon,
|
|
41
|
+
ChatIcon,
|
|
42
|
+
CheckIcon,
|
|
43
|
+
ChevronDownIcon,
|
|
44
|
+
ChevronLeftIcon,
|
|
45
|
+
ChevronRightIcon,
|
|
46
|
+
ChevronUpIcon,
|
|
47
|
+
CircleCheckIcon,
|
|
48
|
+
CirclePlusIcon,
|
|
49
|
+
ClockFilledIcon,
|
|
50
|
+
ClockIcon,
|
|
51
|
+
CloseIcon,
|
|
52
|
+
CodeIcon,
|
|
53
|
+
CoinsIcon,
|
|
54
|
+
CopyIcon,
|
|
55
|
+
CreditCardFilledIcon,
|
|
56
|
+
CreditCardIcon,
|
|
57
|
+
DashboardIcon,
|
|
58
|
+
DetailIcon,
|
|
59
|
+
DotsHorizontalIcon,
|
|
60
|
+
DownloadIcon,
|
|
61
|
+
EditIcon,
|
|
62
|
+
ExamIcon,
|
|
63
|
+
ExpandAltIcon,
|
|
64
|
+
ExternalLinkIcon,
|
|
65
|
+
EyeIcon,
|
|
66
|
+
EyeOffIcon,
|
|
67
|
+
FaceIcon,
|
|
68
|
+
FaqIcon,
|
|
69
|
+
FileCodeIcon,
|
|
70
|
+
FileFilledIcon,
|
|
71
|
+
FileIcon,
|
|
72
|
+
FileJsonIcon,
|
|
73
|
+
FileMusicIcon,
|
|
74
|
+
FileSpreadsheetIcon,
|
|
75
|
+
FileTextIcon,
|
|
76
|
+
FileVideoIcon,
|
|
77
|
+
FileZipIcon,
|
|
78
|
+
FilledAmountUsageIcon,
|
|
79
|
+
FilledAnalyticsIcon,
|
|
80
|
+
FilledBulbIcon,
|
|
81
|
+
FilledChatIcon,
|
|
82
|
+
FilledEditIcon,
|
|
83
|
+
FilledFaceIcon,
|
|
84
|
+
FilledFaqIcon,
|
|
85
|
+
FilledLayoutIcon,
|
|
86
|
+
FilledMembersIcon,
|
|
87
|
+
FilterIcon,
|
|
88
|
+
GiftIcon,
|
|
89
|
+
GripVerticalIcon,
|
|
90
|
+
HeadsetIcon,
|
|
91
|
+
HelpCircleIcon,
|
|
92
|
+
Hierarchy3Icon,
|
|
93
|
+
HomeFilledIcon,
|
|
94
|
+
HomeIcon,
|
|
95
|
+
InfinityIcon,
|
|
96
|
+
InfoCircleIcon,
|
|
97
|
+
ItalicIcon,
|
|
98
|
+
KeyIcon,
|
|
99
|
+
LanguageIcon,
|
|
100
|
+
LayoutDashboardFilledIcon,
|
|
101
|
+
LayoutDashboardIcon,
|
|
102
|
+
LayoutIcon,
|
|
103
|
+
LayoutNavbarIcon,
|
|
104
|
+
LightbulbIcon,
|
|
105
|
+
LinkIcon,
|
|
106
|
+
ListIcon,
|
|
107
|
+
ListNumbersIcon,
|
|
108
|
+
LockCogIcon,
|
|
109
|
+
LockIcon,
|
|
110
|
+
LockOpenIcon,
|
|
111
|
+
LogoutIcon,
|
|
112
|
+
MailIcon,
|
|
113
|
+
Map2Icon,
|
|
114
|
+
MaximizeIcon,
|
|
115
|
+
MembersIcon,
|
|
116
|
+
MenuIcon,
|
|
117
|
+
MessageChatbotFilledIcon,
|
|
118
|
+
MessageDotsIcon,
|
|
119
|
+
MessageOffIcon,
|
|
120
|
+
MicrophoneIcon,
|
|
121
|
+
MicrophoneOffIcon,
|
|
122
|
+
MinusIcon,
|
|
123
|
+
MonitorIcon,
|
|
124
|
+
MoonIcon,
|
|
125
|
+
NewsIcon,
|
|
126
|
+
NotebookIcon,
|
|
127
|
+
NotesIcon,
|
|
128
|
+
PaperclipIcon,
|
|
129
|
+
PauseFilledIcon,
|
|
130
|
+
PendingIcon,
|
|
131
|
+
PhoneFilledIcon,
|
|
132
|
+
PhotoIcon,
|
|
133
|
+
PinFilledIcon,
|
|
134
|
+
PlayFilledIcon,
|
|
135
|
+
PlusIcon,
|
|
136
|
+
PresentationIcon,
|
|
137
|
+
PreviewIcon,
|
|
138
|
+
PrinterIcon,
|
|
139
|
+
ReceiptIcon,
|
|
140
|
+
ReceiptTextIcon,
|
|
141
|
+
RefreshIcon,
|
|
142
|
+
ReportIcon,
|
|
143
|
+
RotateClockwiseIcon,
|
|
144
|
+
RotateIcon,
|
|
145
|
+
SaveIcon,
|
|
146
|
+
ScaleIcon,
|
|
147
|
+
SchoolIcon,
|
|
148
|
+
SearchIcon,
|
|
149
|
+
SendIcon,
|
|
150
|
+
SettingsIcon,
|
|
151
|
+
Share3Icon,
|
|
152
|
+
ShareIcon,
|
|
153
|
+
ShieldCheckIcon,
|
|
154
|
+
SidebarCollapseIcon,
|
|
155
|
+
SidebarIcon,
|
|
156
|
+
SitemapIcon,
|
|
157
|
+
SortAscendingLettersIcon,
|
|
158
|
+
SortAscendingNumbersIcon,
|
|
159
|
+
SortDescendingLettersIcon,
|
|
160
|
+
SortDescendingNumbersIcon,
|
|
161
|
+
SourceCodeIcon,
|
|
162
|
+
SouthKoreaIcon,
|
|
163
|
+
SparklesIcon,
|
|
164
|
+
SpeakerphoneIcon,
|
|
165
|
+
StarFilledIcon,
|
|
166
|
+
StarIcon,
|
|
167
|
+
StickyNoteIcon,
|
|
168
|
+
StopFilledIcon,
|
|
169
|
+
StoreActiveIcon,
|
|
170
|
+
StoreIcon,
|
|
171
|
+
StrikethroughIcon,
|
|
172
|
+
StudioActiveIcon,
|
|
173
|
+
StudioIcon,
|
|
174
|
+
SumIcon,
|
|
175
|
+
SunIcon,
|
|
176
|
+
TableIcon,
|
|
177
|
+
TargetIcon,
|
|
178
|
+
ThumbDownFilledIcon,
|
|
179
|
+
ThumbDownIcon,
|
|
180
|
+
ThumbsUpDownIcon,
|
|
181
|
+
ThumbUpFilledIcon,
|
|
182
|
+
ThumbUpIcon,
|
|
183
|
+
TranslateIcon,
|
|
184
|
+
TrashIcon,
|
|
185
|
+
UnderlineIcon,
|
|
186
|
+
UnlinkIcon,
|
|
187
|
+
UploadIcon,
|
|
188
|
+
UserCheckIcon,
|
|
189
|
+
UserCircleIcon,
|
|
190
|
+
UserClockIcon,
|
|
191
|
+
UserFilledIcon,
|
|
192
|
+
UserIcon,
|
|
193
|
+
UserPinIcon,
|
|
194
|
+
UserPlusIcon,
|
|
195
|
+
UserShieldIcon,
|
|
196
|
+
UsersIcon,
|
|
197
|
+
VerifiedIcon,
|
|
198
|
+
VerticalEllipsisIcon,
|
|
199
|
+
VolumeHighIcon,
|
|
200
|
+
VolumeLowIcon,
|
|
201
|
+
VolumeMuteIcon,
|
|
202
|
+
WarningIcon,
|
|
203
|
+
WindowIcon,
|
|
204
|
+
WorldIcon,
|
|
205
|
+
WorldOffIcon,
|
|
206
|
+
WorldSearchIcon,
|
|
207
|
+
ZoomInIcon,
|
|
208
|
+
ZoomOutIcon,
|
|
209
|
+
ZoomQuestionIcon,
|
|
8
210
|
BiDetail,
|
|
9
211
|
BiExpandAlt,
|
|
10
|
-
// BS Icons
|
|
11
212
|
BsTranslate,
|
|
12
|
-
// CI Icons
|
|
13
213
|
CiFileOn,
|
|
14
|
-
// FA Icons
|
|
15
214
|
FaArchive,
|
|
16
215
|
FaBeer,
|
|
17
216
|
FaChartPie,
|
|
@@ -33,7 +232,6 @@ export const {
|
|
|
33
232
|
FaUserCheck,
|
|
34
233
|
FaUserPlus,
|
|
35
234
|
FaUsers,
|
|
36
|
-
// FA6 Icons
|
|
37
235
|
FaCheck,
|
|
38
236
|
FaCode,
|
|
39
237
|
FaLock,
|
|
@@ -41,18 +239,13 @@ export const {
|
|
|
41
239
|
FaRegCopy,
|
|
42
240
|
FaRotateRight,
|
|
43
241
|
FaUserClock,
|
|
44
|
-
// GI Icons
|
|
45
242
|
GiTwoCoins,
|
|
46
|
-
// GO Icons
|
|
47
243
|
GoArrowDownRight,
|
|
48
244
|
GoArrowUpRight,
|
|
49
|
-
// GR Icons
|
|
50
245
|
GrUserAdmin,
|
|
51
|
-
// HI Icons
|
|
52
246
|
HiLightningBolt,
|
|
53
247
|
HiRefresh,
|
|
54
248
|
HiX,
|
|
55
|
-
// IO Icons
|
|
56
249
|
IoIosAddCircleOutline,
|
|
57
250
|
IoIosArrowBack,
|
|
58
251
|
IoIosArrowForward,
|
|
@@ -66,7 +259,6 @@ export const {
|
|
|
66
259
|
IoMdSettings,
|
|
67
260
|
IoMdThumbsDown,
|
|
68
261
|
IoMdThumbsUp,
|
|
69
|
-
// IO5 Icons
|
|
70
262
|
IoAddCircleOutline,
|
|
71
263
|
IoAddOutline,
|
|
72
264
|
IoMinusOutline,
|
|
@@ -85,9 +277,7 @@ export const {
|
|
|
85
277
|
IoSearch,
|
|
86
278
|
IoWarning,
|
|
87
279
|
IoWarningOutline,
|
|
88
|
-
// LIA Icons
|
|
89
280
|
LiaNewspaper,
|
|
90
|
-
// LU Icons
|
|
91
281
|
LuBookOpenText,
|
|
92
282
|
LuDownload,
|
|
93
283
|
LuExternalLink,
|
|
@@ -97,7 +287,12 @@ export const {
|
|
|
97
287
|
LuReceipt,
|
|
98
288
|
LuSendHorizontal,
|
|
99
289
|
LuUpload,
|
|
100
|
-
|
|
290
|
+
AlertTriangle,
|
|
291
|
+
AlertOctagon,
|
|
292
|
+
GripVertical,
|
|
293
|
+
StickyNote,
|
|
294
|
+
Minus,
|
|
295
|
+
Plus,
|
|
101
296
|
MdAnnouncement,
|
|
102
297
|
MdCardMembership,
|
|
103
298
|
MdError,
|
|
@@ -109,16 +304,12 @@ export const {
|
|
|
109
304
|
MdPreview,
|
|
110
305
|
MdSpaceDashboard,
|
|
111
306
|
MdThumbsUpDown,
|
|
112
|
-
// PI Icons
|
|
113
307
|
PiChatSlashBold,
|
|
114
308
|
PiExam,
|
|
115
309
|
PiGlobe,
|
|
116
310
|
PiGlobeX,
|
|
117
|
-
// RX Icons
|
|
118
311
|
RxDotsHorizontal,
|
|
119
|
-
// SL Icons
|
|
120
312
|
SlSettings,
|
|
121
|
-
// TB Icons
|
|
122
313
|
TbAlertCircle,
|
|
123
314
|
TbAppWindowFilled,
|
|
124
315
|
TbArrowBackUp,
|
|
@@ -137,14 +328,6 @@ export const {
|
|
|
137
328
|
TbSum,
|
|
138
329
|
TbWorldSearch,
|
|
139
330
|
TbX,
|
|
140
|
-
// Lucide icons surfaced under friendly names (Workflow chrome)
|
|
141
|
-
AlertTriangle,
|
|
142
|
-
AlertOctagon,
|
|
143
|
-
GripVertical,
|
|
144
|
-
StickyNote,
|
|
145
|
-
Minus,
|
|
146
|
-
Plus,
|
|
147
|
-
// Custom SVG Icons
|
|
148
331
|
Analytics,
|
|
149
332
|
Bulb,
|
|
150
333
|
Chat,
|
|
@@ -2,7 +2,7 @@ import { Stack, Box, Text } from '@chakra-ui/react';
|
|
|
2
2
|
import { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
import { useState } from 'react';
|
|
4
4
|
|
|
5
|
-
import {
|
|
5
|
+
import { PhoneFilledIcon, SearchIcon, MailIcon } from '@/components/Icon';
|
|
6
6
|
import { MaxLengthIndicator } from '../MaxLengthIndicator';
|
|
7
7
|
|
|
8
8
|
import { Input } from './Input';
|
|
@@ -148,7 +148,7 @@ export const LeftIcon: Story = {
|
|
|
148
148
|
placeholder: 'Phone number',
|
|
149
149
|
size: 'md',
|
|
150
150
|
disabled: false,
|
|
151
|
-
leftIcon: <
|
|
151
|
+
leftIcon: <PhoneFilledIcon color="gray.300" />,
|
|
152
152
|
},
|
|
153
153
|
};
|
|
154
154
|
|
|
@@ -157,15 +157,15 @@ export const RightIcon: Story = {
|
|
|
157
157
|
placeholder: 'Search...',
|
|
158
158
|
size: 'md',
|
|
159
159
|
disabled: false,
|
|
160
|
-
rightIcon: <
|
|
160
|
+
rightIcon: <SearchIcon color="gray.300" />,
|
|
161
161
|
},
|
|
162
162
|
};
|
|
163
163
|
|
|
164
164
|
export const BothIcons: Story = {
|
|
165
165
|
args: {
|
|
166
166
|
placeholder: 'Email address',
|
|
167
|
-
leftIcon: <
|
|
168
|
-
rightIcon: <
|
|
167
|
+
leftIcon: <MailIcon color="gray.300" />,
|
|
168
|
+
rightIcon: <SearchIcon color="gray.300" />,
|
|
169
169
|
},
|
|
170
170
|
};
|
|
171
171
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMemo, useState } from 'react';
|
|
2
2
|
import { Flex } from '@chakra-ui/react';
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import { ChevronLeftIcon, ChevronRightIcon } from '@/components/Icon';
|
|
5
5
|
import { IconButton } from '@/components/IconButton';
|
|
6
6
|
import { Subtext, Subtitle } from '@/components/Typography';
|
|
7
7
|
import { useTranslate } from '@/hooks/useTranslate';
|
|
@@ -108,7 +108,7 @@ export const Pagination = ({
|
|
|
108
108
|
disabled={currentPage <= 1}
|
|
109
109
|
color={currentPage === 1 ? 'fg.subtle' : 'fg.muted'}
|
|
110
110
|
>
|
|
111
|
-
<
|
|
111
|
+
<ChevronLeftIcon boxSize="sm" />
|
|
112
112
|
</IconButton>
|
|
113
113
|
<IconButton
|
|
114
114
|
colorPalette="neutral"
|
|
@@ -118,7 +118,7 @@ export const Pagination = ({
|
|
|
118
118
|
disabled={currentPage >= maxPage}
|
|
119
119
|
color={currentPage === maxPage ? 'fg.subtle' : 'fg.muted'}
|
|
120
120
|
>
|
|
121
|
-
<
|
|
121
|
+
<ChevronRightIcon boxSize="sm" />
|
|
122
122
|
</IconButton>
|
|
123
123
|
</Flex>
|
|
124
124
|
)}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ForwardedRef, forwardRef } from 'react';
|
|
2
|
-
import { LuEye, LuEyeOff } from 'react-icons/lu';
|
|
3
2
|
import {
|
|
4
3
|
IconButton,
|
|
5
4
|
InputGroup,
|
|
@@ -7,6 +6,8 @@ import {
|
|
|
7
6
|
useControllableState,
|
|
8
7
|
} from '@chakra-ui/react';
|
|
9
8
|
|
|
9
|
+
import { EyeIcon, EyeOffIcon } from '@/components/Icon';
|
|
10
|
+
|
|
10
11
|
import { Input } from '../Input';
|
|
11
12
|
import { PasswordInputProps } from './PasswordInput.types';
|
|
12
13
|
|
|
@@ -17,7 +18,7 @@ export const PasswordInput = forwardRef(
|
|
|
17
18
|
defaultVisible = false,
|
|
18
19
|
visible: visibleProp,
|
|
19
20
|
onVisibleChange,
|
|
20
|
-
visibilityIcon = { on: <
|
|
21
|
+
visibilityIcon = { on: <EyeIcon />, off: <EyeOffIcon /> },
|
|
21
22
|
disabled,
|
|
22
23
|
...rest
|
|
23
24
|
}: PasswordInputProps,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Button } from '@chakra-ui/react';
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import { ChevronDownIcon } from '@/components/Icon';
|
|
5
5
|
import { useTranslate } from '@/hooks/useTranslate';
|
|
6
6
|
|
|
7
7
|
import { seeMoreButtonStyles } from './SeeMoreButton.styles';
|
|
@@ -25,7 +25,7 @@ export const SeeMoreButton = ({
|
|
|
25
25
|
return (
|
|
26
26
|
<Button {...seeMoreButtonStyles} {...rest}>
|
|
27
27
|
{translate('see_more')} ({currentCount}/{maxCount}){' '}
|
|
28
|
-
<
|
|
28
|
+
<ChevronDownIcon color="inherit" />
|
|
29
29
|
</Button>
|
|
30
30
|
);
|
|
31
31
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
AlertCircleFilledIcon,
|
|
5
|
+
CircleCheckIcon,
|
|
6
|
+
InfoCircleIcon,
|
|
7
|
+
WarningIcon,
|
|
8
8
|
} from '@/components/Icon';
|
|
9
9
|
|
|
10
10
|
import { ToastProps, ToastStatus } from '../Toast.types';
|
|
11
11
|
|
|
12
12
|
export const ToastIcon = ({ status }: Required<Pick<ToastProps, 'status'>>) => {
|
|
13
13
|
const iconProps: Record<ToastStatus, ReactNode> = {
|
|
14
|
-
info: <
|
|
15
|
-
warning: <
|
|
16
|
-
success: <
|
|
17
|
-
error: <
|
|
14
|
+
info: <InfoCircleIcon boxSize="md" color="primary.main" />,
|
|
15
|
+
warning: <WarningIcon boxSize="lg" color="warning.main" />,
|
|
16
|
+
success: <CircleCheckIcon boxSize="lg" color="success.main" />,
|
|
17
|
+
error: <AlertCircleFilledIcon boxSize="lg" color="danger.main" />,
|
|
18
18
|
};
|
|
19
19
|
|
|
20
20
|
return iconProps[status];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
2
|
import { TreeView as ChakraTreeView } from '@chakra-ui/react';
|
|
3
3
|
|
|
4
|
-
import {
|
|
4
|
+
import { ChevronRightIcon } from '@/components/Icon';
|
|
5
5
|
|
|
6
6
|
import { TreeBranchIndicatorProps } from './Tree.types';
|
|
7
7
|
|
|
@@ -20,7 +20,7 @@ export const TreeBranchIndicator = forwardRef<
|
|
|
20
20
|
_motionReduce={{ transition: 'none' }}
|
|
21
21
|
{...rest}
|
|
22
22
|
>
|
|
23
|
-
{children ?? <
|
|
23
|
+
{children ?? <ChevronRightIcon boxSize="xs" />}
|
|
24
24
|
</ChakraTreeView.BranchIndicator>
|
|
25
25
|
);
|
|
26
26
|
});
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import type { MouseEvent, ReactNode } from 'react';
|
|
4
4
|
|
|
5
5
|
import { Badge } from '@/components/Badge';
|
|
6
|
-
import {
|
|
6
|
+
import { CheckIcon, CloseIcon } from '@/components/Icon';
|
|
7
7
|
|
|
8
8
|
import type { EdgeLabelVariant } from './edgeLabelVariant';
|
|
9
9
|
|
|
@@ -61,8 +61,8 @@ export function BranchLabelBadge({
|
|
|
61
61
|
cursor={onClick ? 'pointer' : 'default'}
|
|
62
62
|
onClick={onClick}
|
|
63
63
|
>
|
|
64
|
-
{variant === 'pass' ? <
|
|
65
|
-
{variant === 'fail' ? <
|
|
64
|
+
{variant === 'pass' ? <CheckIcon boxSize="xs" aria-hidden /> : null}
|
|
65
|
+
{variant === 'fail' ? <CloseIcon boxSize="xs" aria-hidden /> : null}
|
|
66
66
|
{children}
|
|
67
67
|
</Badge>
|
|
68
68
|
);
|
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
} from '@xyflow/react';
|
|
11
11
|
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
ArrowBackUpIcon,
|
|
14
|
+
ArrowForwardUpIcon,
|
|
15
|
+
LockIcon,
|
|
16
|
+
LockOpenIcon,
|
|
17
|
+
MaximizeIcon,
|
|
18
|
+
MinusIcon,
|
|
19
|
+
PlusIcon,
|
|
20
|
+
SitemapIcon,
|
|
21
21
|
} from '@/components/Icon';
|
|
22
22
|
import { Tooltip } from '@/components/Tooltip';
|
|
23
23
|
|
|
@@ -115,12 +115,12 @@ export function CanvasControls({
|
|
|
115
115
|
>
|
|
116
116
|
<Tooltip content={zoomInLabel} placement="right">
|
|
117
117
|
<ControlButton onClick={() => zoomIn()} aria-label={zoomInLabel}>
|
|
118
|
-
<
|
|
118
|
+
<PlusIcon />
|
|
119
119
|
</ControlButton>
|
|
120
120
|
</Tooltip>
|
|
121
121
|
<Tooltip content={zoomOutLabel} placement="right">
|
|
122
122
|
<ControlButton onClick={() => zoomOut()} aria-label={zoomOutLabel}>
|
|
123
|
-
<
|
|
123
|
+
<MinusIcon />
|
|
124
124
|
</ControlButton>
|
|
125
125
|
</Tooltip>
|
|
126
126
|
<Tooltip content={fitViewLabel} placement="right">
|
|
@@ -128,7 +128,7 @@ export function CanvasControls({
|
|
|
128
128
|
onClick={() => fitView(fitViewOptions)}
|
|
129
129
|
aria-label={fitViewLabel}
|
|
130
130
|
>
|
|
131
|
-
<
|
|
131
|
+
<MaximizeIcon />
|
|
132
132
|
</ControlButton>
|
|
133
133
|
</Tooltip>
|
|
134
134
|
{/* Undo/redo, the interactivity lock and auto-arrange are authoring
|
|
@@ -141,7 +141,7 @@ export function CanvasControls({
|
|
|
141
141
|
disabled={!canUndo}
|
|
142
142
|
aria-label={undoLabel}
|
|
143
143
|
>
|
|
144
|
-
<
|
|
144
|
+
<ArrowBackUpIcon />
|
|
145
145
|
</ControlButton>
|
|
146
146
|
</Tooltip>
|
|
147
147
|
)}
|
|
@@ -152,7 +152,7 @@ export function CanvasControls({
|
|
|
152
152
|
disabled={!canRedo}
|
|
153
153
|
aria-label={redoLabel}
|
|
154
154
|
>
|
|
155
|
-
<
|
|
155
|
+
<ArrowForwardUpIcon />
|
|
156
156
|
</ControlButton>
|
|
157
157
|
</Tooltip>
|
|
158
158
|
)}
|
|
@@ -162,14 +162,14 @@ export function CanvasControls({
|
|
|
162
162
|
onClick={onToggleInteractivity}
|
|
163
163
|
aria-label={interactivityLabel}
|
|
164
164
|
>
|
|
165
|
-
{isInteractive ? <
|
|
165
|
+
{isInteractive ? <LockOpenIcon /> : <LockIcon />}
|
|
166
166
|
</ControlButton>
|
|
167
167
|
</Tooltip>
|
|
168
168
|
)}
|
|
169
169
|
{readOnly ? null : (
|
|
170
170
|
<Tooltip content={autoArrangeLabel} placement="right">
|
|
171
171
|
<ControlButton onClick={onAutoArrange} aria-label={autoArrangeLabel}>
|
|
172
|
-
<
|
|
172
|
+
<SitemapIcon />
|
|
173
173
|
</ControlButton>
|
|
174
174
|
</Tooltip>
|
|
175
175
|
)}
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
getSmoothStepPath,
|
|
17
17
|
} from '@xyflow/react';
|
|
18
18
|
|
|
19
|
-
import {
|
|
19
|
+
import { CloseIcon } from '@/components/Icon';
|
|
20
20
|
import { IconButton } from '@/components/IconButton';
|
|
21
21
|
|
|
22
22
|
import { useWorkflow, useWorkflowTranslate } from '../../WorkflowContext';
|
|
@@ -186,7 +186,7 @@ export function LabeledEdge({
|
|
|
186
186
|
bg="bg.surface"
|
|
187
187
|
borderRadius="full"
|
|
188
188
|
>
|
|
189
|
-
<
|
|
189
|
+
<CloseIcon boxSize="xs" />
|
|
190
190
|
</IconButton>
|
|
191
191
|
</Box>
|
|
192
192
|
) : null}
|
|
@@ -3,7 +3,11 @@
|
|
|
3
3
|
import { ReactNode, useId, useState } from 'react';
|
|
4
4
|
import { Box, HStack, Stack, type StackProps } from '@chakra-ui/react';
|
|
5
5
|
|
|
6
|
-
import {
|
|
6
|
+
import {
|
|
7
|
+
AlertCircleIcon,
|
|
8
|
+
ChevronDownIcon,
|
|
9
|
+
ChevronUpIcon,
|
|
10
|
+
} from '@/components/Icon';
|
|
7
11
|
import { Subtext } from '@/components/Typography';
|
|
8
12
|
|
|
9
13
|
export type CollapsibleSectionProps = StackProps & {
|
|
@@ -77,11 +81,11 @@ export function CollapsibleSection({
|
|
|
77
81
|
{headerAction}
|
|
78
82
|
<Box color="slate.900" display="flex" alignItems="center">
|
|
79
83
|
{showErrorGlyph ? (
|
|
80
|
-
<
|
|
84
|
+
<AlertCircleIcon boxSize="xs" color="danger.main" />
|
|
81
85
|
) : expanded ? (
|
|
82
|
-
<
|
|
86
|
+
<ChevronUpIcon boxSize="xs" />
|
|
83
87
|
) : (
|
|
84
|
-
<
|
|
88
|
+
<ChevronDownIcon boxSize="xs" />
|
|
85
89
|
)}
|
|
86
90
|
</Box>
|
|
87
91
|
</HStack>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { type ReactNode } from 'react';
|
|
4
4
|
import { HStack } from '@chakra-ui/react';
|
|
5
5
|
|
|
6
|
-
import {
|
|
6
|
+
import { CloseIcon, DotsHorizontalIcon } from '@/components/Icon';
|
|
7
7
|
import { IconButton } from '@/components/IconButton';
|
|
8
8
|
import { Menu } from '@/components/Menu';
|
|
9
9
|
import { Subtext, Text } from '@/components/Typography';
|
|
@@ -83,7 +83,7 @@ export function DrawerHeader({
|
|
|
83
83
|
variant="ghost"
|
|
84
84
|
colorPalette="neutral"
|
|
85
85
|
>
|
|
86
|
-
<
|
|
86
|
+
<DotsHorizontalIcon boxSize="xs" />
|
|
87
87
|
</IconButton>
|
|
88
88
|
</Menu.Trigger>
|
|
89
89
|
<Menu.List zIndex="popover">{menuItems}</Menu.List>
|
|
@@ -96,7 +96,7 @@ export function DrawerHeader({
|
|
|
96
96
|
colorPalette="neutral"
|
|
97
97
|
onClick={onClose}
|
|
98
98
|
>
|
|
99
|
-
<
|
|
99
|
+
<CloseIcon boxSize="xs" aria-hidden />
|
|
100
100
|
</IconButton>
|
|
101
101
|
</HStack>
|
|
102
102
|
</HStack>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { type ReactNode, useMemo } from 'react';
|
|
4
4
|
import { Box, HStack, VStack } from '@chakra-ui/react';
|
|
5
5
|
|
|
6
|
-
import {
|
|
6
|
+
import { AlertCircleIcon, AlertTriangleIcon } from '@/components/Icon';
|
|
7
7
|
import { Subtext } from '@/components/Typography';
|
|
8
8
|
|
|
9
9
|
import { useWorkflowIssueMessage } from '../../useWorkflowIssueMessage';
|
|
@@ -43,7 +43,7 @@ function IssueCallout({
|
|
|
43
43
|
resolveMessage: (issue: Issue) => string;
|
|
44
44
|
}) {
|
|
45
45
|
const { bg, color, borderColor } = severityCalloutStyle(severity);
|
|
46
|
-
const Icon = severity === 'error' ?
|
|
46
|
+
const Icon = severity === 'error' ? AlertCircleIcon : AlertTriangleIcon;
|
|
47
47
|
return (
|
|
48
48
|
<Box
|
|
49
49
|
border="1px solid"
|
|
@@ -4,7 +4,7 @@ import { type ComponentType, type ReactNode, useEffect, useMemo } from 'react';
|
|
|
4
4
|
import { Box, chakra } from '@chakra-ui/react';
|
|
5
5
|
|
|
6
6
|
import { Button } from '@/components/Button';
|
|
7
|
-
import {
|
|
7
|
+
import { CloseIcon } from '@/components/Icon';
|
|
8
8
|
import { Menu } from '@/components/Menu';
|
|
9
9
|
import { Text } from '@/components/Typography';
|
|
10
10
|
|
|
@@ -398,7 +398,7 @@ function EdgeDrawer({
|
|
|
398
398
|
width="100%"
|
|
399
399
|
onClick={onDelete}
|
|
400
400
|
>
|
|
401
|
-
<
|
|
401
|
+
<CloseIcon boxSize="xs" />
|
|
402
402
|
{translate('workflow_edge_delete') as string}
|
|
403
403
|
</Button>
|
|
404
404
|
</Box>
|