@edifice.io/react 2.1.1-develop-b2school.20250304103025 → 2.1.1-develop-b2school.20250305104555
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/icons.js +132 -130
- package/dist/index.js +16 -14
- package/dist/modals.js +16 -14
- package/dist/modules/icons/components/IconQuestionMark.d.ts +7 -0
- package/dist/modules/icons/components/IconQuestionMark.js +13 -0
- package/dist/modules/icons/components/index.d.ts +1 -0
- package/dist/modules/modals/ConfirmModal/ConfirmModal.d.ts +42 -0
- package/dist/modules/modals/ConfirmModal/ConfirmModal.js +36 -0
- package/dist/modules/modals/ConfirmModal/index.d.ts +1 -0
- package/dist/modules/modals/index.d.ts +1 -0
- package/package.json +6 -6
package/dist/icons.js
CHANGED
|
@@ -87,71 +87,72 @@ import { default as default87 } from "./modules/icons/components/IconPlus.js";
|
|
|
87
87
|
import { default as default88 } from "./modules/icons/components/IconPointerDefault.js";
|
|
88
88
|
import { default as default89 } from "./modules/icons/components/IconPointerHand.js";
|
|
89
89
|
import { default as default90 } from "./modules/icons/components/IconPrint.js";
|
|
90
|
-
import { default as default91 } from "./modules/icons/components/
|
|
91
|
-
import { default as default92 } from "./modules/icons/components/
|
|
92
|
-
import { default as default93 } from "./modules/icons/components/
|
|
93
|
-
import { default as default94 } from "./modules/icons/components/
|
|
94
|
-
import { default as default95 } from "./modules/icons/components/
|
|
95
|
-
import { default as default96 } from "./modules/icons/components/
|
|
96
|
-
import { default as default97 } from "./modules/icons/components/
|
|
97
|
-
import { default as default98 } from "./modules/icons/components/
|
|
98
|
-
import { default as default99 } from "./modules/icons/components/
|
|
99
|
-
import { default as default100 } from "./modules/icons/components/
|
|
100
|
-
import { default as default101 } from "./modules/icons/components/
|
|
101
|
-
import { default as default102 } from "./modules/icons/components/
|
|
102
|
-
import { default as default103 } from "./modules/icons/components/
|
|
103
|
-
import { default as default104 } from "./modules/icons/components/
|
|
104
|
-
import { default as default105 } from "./modules/icons/components/
|
|
105
|
-
import { default as default106 } from "./modules/icons/components/
|
|
106
|
-
import { default as default107 } from "./modules/icons/components/
|
|
107
|
-
import { default as default108 } from "./modules/icons/components/
|
|
108
|
-
import { default as default109 } from "./modules/icons/components/
|
|
109
|
-
import { default as default110 } from "./modules/icons/components/
|
|
110
|
-
import { default as default111 } from "./modules/icons/components/
|
|
111
|
-
import { default as default112 } from "./modules/icons/components/
|
|
112
|
-
import { default as default113 } from "./modules/icons/components/
|
|
113
|
-
import { default as default114 } from "./modules/icons/components/
|
|
114
|
-
import { default as default115 } from "./modules/icons/components/
|
|
115
|
-
import { default as default116 } from "./modules/icons/components/
|
|
116
|
-
import { default as default117 } from "./modules/icons/components/
|
|
117
|
-
import { default as default118 } from "./modules/icons/components/
|
|
118
|
-
import { default as default119 } from "./modules/icons/components/
|
|
119
|
-
import { default as default120 } from "./modules/icons/components/
|
|
120
|
-
import { default as default121 } from "./modules/icons/components/
|
|
121
|
-
import { default as default122 } from "./modules/icons/components/
|
|
122
|
-
import { default as default123 } from "./modules/icons/components/
|
|
123
|
-
import { default as default124 } from "./modules/icons/components/
|
|
124
|
-
import { default as default125 } from "./modules/icons/components/
|
|
125
|
-
import { default as default126 } from "./modules/icons/components/
|
|
126
|
-
import { default as default127 } from "./modules/icons/components/
|
|
127
|
-
import { default as default128 } from "./modules/icons/components/
|
|
128
|
-
import { default as default129 } from "./modules/icons/components/
|
|
129
|
-
import { default as default130 } from "./modules/icons/components/
|
|
130
|
-
import { default as default131 } from "./modules/icons/components/
|
|
131
|
-
import { default as default132 } from "./modules/icons/components/
|
|
132
|
-
import { default as default133 } from "./modules/icons/components/
|
|
133
|
-
import { default as default134 } from "./modules/icons/components/
|
|
134
|
-
import { default as default135 } from "./modules/icons/components/
|
|
135
|
-
import { default as default136 } from "./modules/icons/components/
|
|
136
|
-
import { default as default137 } from "./modules/icons/components/
|
|
137
|
-
import { default as default138 } from "./modules/icons/components/
|
|
138
|
-
import { default as default139 } from "./modules/icons/components/
|
|
139
|
-
import { default as default140 } from "./modules/icons/components/
|
|
140
|
-
import { default as default141 } from "./modules/icons/components/
|
|
141
|
-
import { default as default142 } from "./modules/icons/components/
|
|
142
|
-
import { default as default143 } from "./modules/icons/components/
|
|
143
|
-
import { default as default144 } from "./modules/icons/components/
|
|
144
|
-
import { default as default145 } from "./modules/icons/components/
|
|
145
|
-
import { default as default146 } from "./modules/icons/components/
|
|
146
|
-
import { default as default147 } from "./modules/icons/components/
|
|
147
|
-
import { default as default148 } from "./modules/icons/components/
|
|
148
|
-
import { default as default149 } from "./modules/icons/components/
|
|
149
|
-
import { default as default150 } from "./modules/icons/components/
|
|
150
|
-
import { default as default151 } from "./modules/icons/components/
|
|
151
|
-
import { default as default152 } from "./modules/icons/components/
|
|
152
|
-
import { default as default153 } from "./modules/icons/components/
|
|
153
|
-
import { default as default154 } from "./modules/icons/components/
|
|
154
|
-
import { default as default155 } from "./modules/icons/components/
|
|
90
|
+
import { default as default91 } from "./modules/icons/components/IconQuestionMark.js";
|
|
91
|
+
import { default as default92 } from "./modules/icons/components/IconQuestion.js";
|
|
92
|
+
import { default as default93 } from "./modules/icons/components/IconRafterDown.js";
|
|
93
|
+
import { default as default94 } from "./modules/icons/components/IconRafterLeft.js";
|
|
94
|
+
import { default as default95 } from "./modules/icons/components/IconRafterRight.js";
|
|
95
|
+
import { default as default96 } from "./modules/icons/components/IconRafterUp.js";
|
|
96
|
+
import { default as default97 } from "./modules/icons/components/IconReaction.js";
|
|
97
|
+
import { default as default98 } from "./modules/icons/components/IconReadMail.js";
|
|
98
|
+
import { default as default99 } from "./modules/icons/components/IconRecordPause.js";
|
|
99
|
+
import { default as default100 } from "./modules/icons/components/IconRecordStop.js";
|
|
100
|
+
import { default as default101 } from "./modules/icons/components/IconRecordVideo.js";
|
|
101
|
+
import { default as default102 } from "./modules/icons/components/IconRecord.js";
|
|
102
|
+
import { default as default103 } from "./modules/icons/components/IconRedo.js";
|
|
103
|
+
import { default as default104 } from "./modules/icons/components/IconRefresh.js";
|
|
104
|
+
import { default as default105 } from "./modules/icons/components/IconReset.js";
|
|
105
|
+
import { default as default106 } from "./modules/icons/components/IconRestart.js";
|
|
106
|
+
import { default as default107 } from "./modules/icons/components/IconRestore.js";
|
|
107
|
+
import { default as default108 } from "./modules/icons/components/IconSave.js";
|
|
108
|
+
import { default as default109 } from "./modules/icons/components/IconSearch.js";
|
|
109
|
+
import { default as default110 } from "./modules/icons/components/IconSee.js";
|
|
110
|
+
import { default as default111 } from "./modules/icons/components/IconSend.js";
|
|
111
|
+
import { default as default112 } from "./modules/icons/components/IconSetBackground.js";
|
|
112
|
+
import { default as default113 } from "./modules/icons/components/IconSettings.js";
|
|
113
|
+
import { default as default114 } from "./modules/icons/components/IconShare.js";
|
|
114
|
+
import { default as default115 } from "./modules/icons/components/IconSmartphone.js";
|
|
115
|
+
import { default as default116 } from "./modules/icons/components/IconSmiley.js";
|
|
116
|
+
import { default as default117 } from "./modules/icons/components/IconSortAscendingLetters.js";
|
|
117
|
+
import { default as default118 } from "./modules/icons/components/IconSortDescendingLetters.js";
|
|
118
|
+
import { default as default119 } from "./modules/icons/components/IconSortDescending.js";
|
|
119
|
+
import { default as default120 } from "./modules/icons/components/IconSortTime.js";
|
|
120
|
+
import { default as default121 } from "./modules/icons/components/IconSpeechToText.js";
|
|
121
|
+
import { default as default122 } from "./modules/icons/components/IconSplitCells.js";
|
|
122
|
+
import { default as default123 } from "./modules/icons/components/IconSquareRoot.js";
|
|
123
|
+
import { default as default124 } from "./modules/icons/components/IconSubscript.js";
|
|
124
|
+
import { default as default125 } from "./modules/icons/components/IconSuccessFill.js";
|
|
125
|
+
import { default as default126 } from "./modules/icons/components/IconSuccessOutline.js";
|
|
126
|
+
import { default as default127 } from "./modules/icons/components/IconSuperscript.js";
|
|
127
|
+
import { default as default128 } from "./modules/icons/components/IconTable.js";
|
|
128
|
+
import { default as default129 } from "./modules/icons/components/IconTextBold.js";
|
|
129
|
+
import { default as default130 } from "./modules/icons/components/IconTextColor.js";
|
|
130
|
+
import { default as default131 } from "./modules/icons/components/IconTextHighlight.js";
|
|
131
|
+
import { default as default132 } from "./modules/icons/components/IconTextItalic.js";
|
|
132
|
+
import { default as default133 } from "./modules/icons/components/IconTextPage.js";
|
|
133
|
+
import { default as default134 } from "./modules/icons/components/IconTextSize.js";
|
|
134
|
+
import { default as default135 } from "./modules/icons/components/IconTextToSpeech.js";
|
|
135
|
+
import { default as default136 } from "./modules/icons/components/IconTextTypo.js";
|
|
136
|
+
import { default as default137 } from "./modules/icons/components/IconTextUnderline.js";
|
|
137
|
+
import { default as default138 } from "./modules/icons/components/IconTextVanilla.js";
|
|
138
|
+
import { default as default139 } from "./modules/icons/components/IconTool.js";
|
|
139
|
+
import { default as default140 } from "./modules/icons/components/IconTrendingUp.js";
|
|
140
|
+
import { default as default141 } from "./modules/icons/components/IconUndoAll.js";
|
|
141
|
+
import { default as default142 } from "./modules/icons/components/IconUndo.js";
|
|
142
|
+
import { default as default143 } from "./modules/icons/components/IconUnlink.js";
|
|
143
|
+
import { default as default144 } from "./modules/icons/components/IconUnlock.js";
|
|
144
|
+
import { default as default145 } from "./modules/icons/components/IconUnreadMail.js";
|
|
145
|
+
import { default as default146 } from "./modules/icons/components/IconUpload.js";
|
|
146
|
+
import { default as default147 } from "./modules/icons/components/IconUserSearch.js";
|
|
147
|
+
import { default as default148 } from "./modules/icons/components/IconUser.js";
|
|
148
|
+
import { default as default149 } from "./modules/icons/components/IconUsers.js";
|
|
149
|
+
import { default as default150 } from "./modules/icons/components/IconVideo.js";
|
|
150
|
+
import { default as default151 } from "./modules/icons/components/IconViewCalendar.js";
|
|
151
|
+
import { default as default152 } from "./modules/icons/components/IconViewList.js";
|
|
152
|
+
import { default as default153 } from "./modules/icons/components/IconWand.js";
|
|
153
|
+
import { default as default154 } from "./modules/icons/components/IconWrite.js";
|
|
154
|
+
import { default as default155 } from "./modules/icons/components/IconZoomIn.js";
|
|
155
|
+
import { default as default156 } from "./modules/icons/components/IconZoomOut.js";
|
|
155
156
|
export {
|
|
156
157
|
default3 as IconAdd,
|
|
157
158
|
default2 as IconAddUser,
|
|
@@ -242,69 +243,70 @@ export {
|
|
|
242
243
|
default88 as IconPointerDefault,
|
|
243
244
|
default89 as IconPointerHand,
|
|
244
245
|
default90 as IconPrint,
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
default93 as
|
|
248
|
-
default94 as
|
|
249
|
-
default95 as
|
|
250
|
-
default96 as
|
|
251
|
-
default97 as
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
default99 as
|
|
255
|
-
default100 as
|
|
256
|
-
|
|
257
|
-
default103 as
|
|
258
|
-
default104 as
|
|
259
|
-
default105 as
|
|
260
|
-
default106 as
|
|
261
|
-
default107 as
|
|
262
|
-
default108 as
|
|
263
|
-
default109 as
|
|
264
|
-
default110 as
|
|
265
|
-
default111 as
|
|
266
|
-
default112 as
|
|
267
|
-
default113 as
|
|
268
|
-
default114 as
|
|
269
|
-
default115 as
|
|
270
|
-
default116 as
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
default120 as
|
|
275
|
-
default121 as
|
|
276
|
-
default122 as
|
|
277
|
-
default123 as
|
|
278
|
-
default124 as
|
|
279
|
-
default125 as
|
|
280
|
-
default126 as
|
|
281
|
-
default127 as
|
|
282
|
-
default128 as
|
|
283
|
-
default129 as
|
|
284
|
-
default130 as
|
|
285
|
-
default131 as
|
|
286
|
-
default132 as
|
|
287
|
-
default133 as
|
|
288
|
-
default134 as
|
|
289
|
-
default135 as
|
|
290
|
-
default136 as
|
|
291
|
-
default137 as
|
|
292
|
-
default138 as
|
|
293
|
-
default139 as
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
default143 as
|
|
298
|
-
default144 as
|
|
299
|
-
default145 as
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
default149 as
|
|
304
|
-
default150 as
|
|
305
|
-
default151 as
|
|
306
|
-
default152 as
|
|
307
|
-
default153 as
|
|
308
|
-
default154 as
|
|
309
|
-
default155 as
|
|
246
|
+
default92 as IconQuestion,
|
|
247
|
+
default91 as IconQuestionMark,
|
|
248
|
+
default93 as IconRafterDown,
|
|
249
|
+
default94 as IconRafterLeft,
|
|
250
|
+
default95 as IconRafterRight,
|
|
251
|
+
default96 as IconRafterUp,
|
|
252
|
+
default97 as IconReaction,
|
|
253
|
+
default98 as IconReadMail,
|
|
254
|
+
default102 as IconRecord,
|
|
255
|
+
default99 as IconRecordPause,
|
|
256
|
+
default100 as IconRecordStop,
|
|
257
|
+
default101 as IconRecordVideo,
|
|
258
|
+
default103 as IconRedo,
|
|
259
|
+
default104 as IconRefresh,
|
|
260
|
+
default105 as IconReset,
|
|
261
|
+
default106 as IconRestart,
|
|
262
|
+
default107 as IconRestore,
|
|
263
|
+
default108 as IconSave,
|
|
264
|
+
default109 as IconSearch,
|
|
265
|
+
default110 as IconSee,
|
|
266
|
+
default111 as IconSend,
|
|
267
|
+
default112 as IconSetBackground,
|
|
268
|
+
default113 as IconSettings,
|
|
269
|
+
default114 as IconShare,
|
|
270
|
+
default115 as IconSmartphone,
|
|
271
|
+
default116 as IconSmiley,
|
|
272
|
+
default117 as IconSortAscendingLetters,
|
|
273
|
+
default119 as IconSortDescending,
|
|
274
|
+
default118 as IconSortDescendingLetters,
|
|
275
|
+
default120 as IconSortTime,
|
|
276
|
+
default121 as IconSpeechToText,
|
|
277
|
+
default122 as IconSplitCells,
|
|
278
|
+
default123 as IconSquareRoot,
|
|
279
|
+
default124 as IconSubscript,
|
|
280
|
+
default125 as IconSuccessFill,
|
|
281
|
+
default126 as IconSuccessOutline,
|
|
282
|
+
default127 as IconSuperscript,
|
|
283
|
+
default128 as IconTable,
|
|
284
|
+
default129 as IconTextBold,
|
|
285
|
+
default130 as IconTextColor,
|
|
286
|
+
default131 as IconTextHighlight,
|
|
287
|
+
default132 as IconTextItalic,
|
|
288
|
+
default133 as IconTextPage,
|
|
289
|
+
default134 as IconTextSize,
|
|
290
|
+
default135 as IconTextToSpeech,
|
|
291
|
+
default136 as IconTextTypo,
|
|
292
|
+
default137 as IconTextUnderline,
|
|
293
|
+
default138 as IconTextVanilla,
|
|
294
|
+
default139 as IconTool,
|
|
295
|
+
default140 as IconTrendingUp,
|
|
296
|
+
default142 as IconUndo,
|
|
297
|
+
default141 as IconUndoAll,
|
|
298
|
+
default143 as IconUnlink,
|
|
299
|
+
default144 as IconUnlock,
|
|
300
|
+
default145 as IconUnreadMail,
|
|
301
|
+
default146 as IconUpload,
|
|
302
|
+
default148 as IconUser,
|
|
303
|
+
default147 as IconUserSearch,
|
|
304
|
+
default149 as IconUsers,
|
|
305
|
+
default150 as IconVideo,
|
|
306
|
+
default151 as IconViewCalendar,
|
|
307
|
+
default152 as IconViewList,
|
|
308
|
+
default153 as IconWand,
|
|
309
|
+
default154 as IconWrite,
|
|
310
|
+
default155 as IconZoomIn,
|
|
311
|
+
default156 as IconZoomOut
|
|
310
312
|
};
|
package/dist/index.js
CHANGED
|
@@ -71,13 +71,14 @@ import { default as default70 } from "./hooks/useWorkspaceFile/useWorkspaceFile.
|
|
|
71
71
|
import { default as default71 } from "./hooks/useWorkspaceSearch/useWorkspaceSearch.js";
|
|
72
72
|
import { default as default72 } from "./hooks/useXitiTrackPageLoad/useXitiTrackPageLoad.js";
|
|
73
73
|
import { default as default73 } from "./hooks/useZendeskGuide/useZendeskGuide.js";
|
|
74
|
-
import { default as default74 } from "./modules/modals/
|
|
75
|
-
import { default as default75 } from "./modules/modals/
|
|
76
|
-
import { default as default76 } from "./modules/modals/
|
|
77
|
-
import { default as default77 } from "./modules/modals/ResourceModal/
|
|
78
|
-
import { default as default78 } from "./modules/modals/
|
|
79
|
-
import { default as default79 } from "./modules/modals/ShareModal/
|
|
80
|
-
import { default as default80 } from "./modules/modals/ShareModal/
|
|
74
|
+
import { default as default74 } from "./modules/modals/ConfirmModal/ConfirmModal.js";
|
|
75
|
+
import { default as default75 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
|
|
76
|
+
import { default as default76 } from "./modules/modals/PublishModal/PublishModal.js";
|
|
77
|
+
import { default as default77 } from "./modules/modals/ResourceModal/apps/BlogPublic.js";
|
|
78
|
+
import { default as default78 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
|
|
79
|
+
import { default as default79 } from "./modules/modals/ShareModal/ShareModal.js";
|
|
80
|
+
import { default as default80 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
|
|
81
|
+
import { default as default81 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
|
|
81
82
|
import { AccessiblePalette, DefaultPalette } from "./components/ColorPicker/ColorPalette.js";
|
|
82
83
|
import { DropzoneContext, useDropzoneContext } from "./components/Dropzone/DropzoneContext.js";
|
|
83
84
|
import { Column, Grid } from "./components/Grid/Grid.js";
|
|
@@ -113,7 +114,7 @@ export {
|
|
|
113
114
|
default6 as Attachment,
|
|
114
115
|
default7 as Avatar,
|
|
115
116
|
default8 as Badge,
|
|
116
|
-
|
|
117
|
+
default77 as BlogPublic,
|
|
117
118
|
default9 as Breadcrumb,
|
|
118
119
|
default10 as Button,
|
|
119
120
|
default13 as Card,
|
|
@@ -122,6 +123,7 @@ export {
|
|
|
122
123
|
default16 as ColorPickerItem,
|
|
123
124
|
Column,
|
|
124
125
|
default17 as Combobox,
|
|
126
|
+
default74 as ConfirmModal,
|
|
125
127
|
DefaultPalette,
|
|
126
128
|
DndTree,
|
|
127
129
|
default18 as Dropdown,
|
|
@@ -148,19 +150,19 @@ export {
|
|
|
148
150
|
Menu,
|
|
149
151
|
MockedProvider,
|
|
150
152
|
default30 as Modal,
|
|
151
|
-
|
|
153
|
+
default75 as OnboardingModal,
|
|
152
154
|
Popover,
|
|
153
155
|
PopoverBody,
|
|
154
156
|
PopoverFooter,
|
|
155
157
|
PopoverHeader,
|
|
156
|
-
|
|
158
|
+
default76 as PublishModal,
|
|
157
159
|
default31 as Radio,
|
|
158
160
|
ResourceModal,
|
|
159
161
|
default32 as SearchBar,
|
|
160
162
|
default12 as SearchButton,
|
|
161
163
|
default33 as Select,
|
|
162
|
-
|
|
163
|
-
|
|
164
|
+
default80 as ShareBlog,
|
|
165
|
+
default79 as ShareModal,
|
|
164
166
|
default37 as SortableTree,
|
|
165
167
|
default34 as Table,
|
|
166
168
|
Tabs,
|
|
@@ -224,7 +226,7 @@ export {
|
|
|
224
226
|
default59 as useLibraryUrl,
|
|
225
227
|
default60 as useMediaLibrary,
|
|
226
228
|
default61 as useScrollToTop,
|
|
227
|
-
|
|
229
|
+
default81 as useShareMutation,
|
|
228
230
|
default62 as useTitle,
|
|
229
231
|
default63 as useToast,
|
|
230
232
|
default64 as useToggle,
|
|
@@ -232,7 +234,7 @@ export {
|
|
|
232
234
|
default66 as useTrashedResource,
|
|
233
235
|
useTreeSortable,
|
|
234
236
|
useTreeView,
|
|
235
|
-
|
|
237
|
+
default78 as useUpdateMutation,
|
|
236
238
|
default67 as useUpload,
|
|
237
239
|
default68 as useUploadFiles,
|
|
238
240
|
default69 as useUser,
|
package/dist/modals.js
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import { default as default2 } from "./modules/modals/
|
|
2
|
-
import { default as default3 } from "./modules/modals/
|
|
3
|
-
import { default as default4 } from "./modules/modals/
|
|
4
|
-
import { default as default5 } from "./modules/modals/ResourceModal/
|
|
5
|
-
import { default as default6 } from "./modules/modals/
|
|
6
|
-
import { default as default7 } from "./modules/modals/ShareModal/
|
|
7
|
-
import { default as default8 } from "./modules/modals/ShareModal/
|
|
1
|
+
import { default as default2 } from "./modules/modals/ConfirmModal/ConfirmModal.js";
|
|
2
|
+
import { default as default3 } from "./modules/modals/OnboardingModal/OnboardingModal.js";
|
|
3
|
+
import { default as default4 } from "./modules/modals/PublishModal/PublishModal.js";
|
|
4
|
+
import { default as default5 } from "./modules/modals/ResourceModal/apps/BlogPublic.js";
|
|
5
|
+
import { default as default6 } from "./modules/modals/ResourceModal/hooks/useUpdateMutation.js";
|
|
6
|
+
import { default as default7 } from "./modules/modals/ShareModal/ShareModal.js";
|
|
7
|
+
import { default as default8 } from "./modules/modals/ShareModal/apps/ShareBlog.js";
|
|
8
|
+
import { default as default9 } from "./modules/modals/ShareModal/hooks/useShareMutation.js";
|
|
8
9
|
import { ResourceModal } from "./modules/modals/ResourceModal/ResourceModal.js";
|
|
9
10
|
export {
|
|
10
|
-
|
|
11
|
-
default2 as
|
|
12
|
-
default3 as
|
|
11
|
+
default5 as BlogPublic,
|
|
12
|
+
default2 as ConfirmModal,
|
|
13
|
+
default3 as OnboardingModal,
|
|
14
|
+
default4 as PublishModal,
|
|
13
15
|
ResourceModal,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
default8 as ShareBlog,
|
|
17
|
+
default7 as ShareModal,
|
|
18
|
+
default9 as useShareMutation,
|
|
19
|
+
default6 as useUpdateMutation
|
|
18
20
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
interface SVGRProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
titleId?: string;
|
|
5
|
+
}
|
|
6
|
+
declare const SvgIconQuestionMark: ({ title, titleId, ...props }: SVGProps<SVGSVGElement> & SVGRProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default SvgIconQuestionMark;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
const SvgIconQuestionMark = ({
|
|
3
|
+
title,
|
|
4
|
+
titleId,
|
|
5
|
+
...props
|
|
6
|
+
}) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
|
|
7
|
+
title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
|
|
8
|
+
/* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M9.579 5.429C9.172 5.964 9 6.706 9 7.44a1 1 0 0 1-2 0c0-.99.223-2.217.987-3.222.8-1.051 2.086-1.718 3.905-1.718 2.032 0 3.284 1.043 3.892 2.323.563 1.184.578 2.568.265 3.445-.409 1.148-1.191 2.056-1.81 2.773l-.27.317c-.7.83-1.077 1.427-1.077 2.157v1.806a1 1 0 1 1-2 0v-1.806c0-1.513.835-2.6 1.546-3.445q.16-.189.312-.366c.629-.737 1.141-1.337 1.415-2.107.128-.359.157-1.192-.187-1.915-.298-.627-.874-1.182-2.086-1.182-1.283 0-1.943.442-2.313.929", clipRule: "evenodd" }),
|
|
9
|
+
/* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M13.762 19.888a1.612 1.612 0 1 1-3.223 0 1.612 1.612 0 0 1 3.223 0" })
|
|
10
|
+
] });
|
|
11
|
+
export {
|
|
12
|
+
SvgIconQuestionMark as default
|
|
13
|
+
};
|
|
@@ -87,6 +87,7 @@ export { default as IconPlus } from './IconPlus';
|
|
|
87
87
|
export { default as IconPointerDefault } from './IconPointerDefault';
|
|
88
88
|
export { default as IconPointerHand } from './IconPointerHand';
|
|
89
89
|
export { default as IconPrint } from './IconPrint';
|
|
90
|
+
export { default as IconQuestionMark } from './IconQuestionMark';
|
|
90
91
|
export { default as IconQuestion } from './IconQuestion';
|
|
91
92
|
export { default as IconRafterDown } from './IconRafterDown';
|
|
92
93
|
export { default as IconRafterLeft } from './IconRafterLeft';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export type ConfirmModalVariant = 'yes/no' | 'ok/cancel';
|
|
3
|
+
interface ConfirmModalProps {
|
|
4
|
+
/**
|
|
5
|
+
* Variant of text buttons content
|
|
6
|
+
*/
|
|
7
|
+
variant?: ConfirmModalVariant;
|
|
8
|
+
/**
|
|
9
|
+
* Modal id (useful when multiple modal on the same page)
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
/**
|
|
13
|
+
* Is Modal Open
|
|
14
|
+
*/
|
|
15
|
+
isOpen: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Content of header modal's
|
|
18
|
+
*/
|
|
19
|
+
header?: ReactNode;
|
|
20
|
+
/**
|
|
21
|
+
* Content of body modal's
|
|
22
|
+
*/
|
|
23
|
+
body?: ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* Key text translation of confirm button (useTranslation('common'))
|
|
26
|
+
*/
|
|
27
|
+
okText?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Key text translation of cancel button (useTranslation('common'))
|
|
30
|
+
*/
|
|
31
|
+
koText?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Function to call when success button proceed
|
|
34
|
+
*/
|
|
35
|
+
onSuccess?: () => void;
|
|
36
|
+
/**
|
|
37
|
+
* Function to call when closing modal
|
|
38
|
+
*/
|
|
39
|
+
onCancel?: () => void;
|
|
40
|
+
}
|
|
41
|
+
export default function ConfirmModal({ variant, id, isOpen, header, body, okText, koText, onSuccess, onCancel, }: ConfirmModalProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useTranslation } from "react-i18next";
|
|
3
|
+
import Modal from "../../../components/Modal/Modal.js";
|
|
4
|
+
import Button from "../../../components/Button/Button.js";
|
|
5
|
+
function ConfirmModal({
|
|
6
|
+
variant = "yes/no",
|
|
7
|
+
id,
|
|
8
|
+
isOpen,
|
|
9
|
+
header,
|
|
10
|
+
body,
|
|
11
|
+
okText,
|
|
12
|
+
koText,
|
|
13
|
+
onSuccess = () => ({}),
|
|
14
|
+
onCancel = () => ({})
|
|
15
|
+
}) {
|
|
16
|
+
const {
|
|
17
|
+
t
|
|
18
|
+
} = useTranslation("common"), ok = {
|
|
19
|
+
"yes/no": t("yes"),
|
|
20
|
+
"ok/cancel": t("ok")
|
|
21
|
+
}, ko = {
|
|
22
|
+
"yes/no": t("no"),
|
|
23
|
+
"ok/cancel": t("cancel")
|
|
24
|
+
};
|
|
25
|
+
return /* @__PURE__ */ jsxs(Modal, { isOpen, onModalClose: onCancel, id, children: [
|
|
26
|
+
/* @__PURE__ */ jsx(Modal.Header, { onModalClose: onCancel, children: header }),
|
|
27
|
+
/* @__PURE__ */ jsx(Modal.Body, { children: body }),
|
|
28
|
+
/* @__PURE__ */ jsxs(Modal.Footer, { children: [
|
|
29
|
+
/* @__PURE__ */ jsx(Button, { color: "tertiary", onClick: onCancel, type: "button", variant: "ghost", children: koText ? t(koText) : ko[variant] }),
|
|
30
|
+
/* @__PURE__ */ jsx(Button, { color: "danger", onClick: onSuccess, type: "button", variant: "filled", children: okText ? t(okText) : ok[variant] })
|
|
31
|
+
] })
|
|
32
|
+
] });
|
|
33
|
+
}
|
|
34
|
+
export {
|
|
35
|
+
ConfirmModal as default
|
|
36
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ConfirmModal } from './ConfirmModal';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@edifice.io/react",
|
|
3
|
-
"version": "2.1.1-develop-b2school.
|
|
3
|
+
"version": "2.1.1-develop-b2school.20250305104555",
|
|
4
4
|
"description": "Edifice React Library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -118,9 +118,9 @@
|
|
|
118
118
|
"react-slugify": "^3.0.3",
|
|
119
119
|
"swiper": "^10.1.0",
|
|
120
120
|
"ua-parser-js": "^1.0.36",
|
|
121
|
-
"@edifice.io/bootstrap": "2.1.1-develop-b2school.
|
|
122
|
-
"@edifice.io/tiptap-extensions": "2.1.1-develop-b2school.
|
|
123
|
-
"@edifice.io/utilities": "2.1.1-develop-b2school.
|
|
121
|
+
"@edifice.io/bootstrap": "2.1.1-develop-b2school.20250305104555",
|
|
122
|
+
"@edifice.io/tiptap-extensions": "2.1.1-develop-b2school.20250305104555",
|
|
123
|
+
"@edifice.io/utilities": "2.1.1-develop-b2school.20250305104555"
|
|
124
124
|
},
|
|
125
125
|
"devDependencies": {
|
|
126
126
|
"@babel/plugin-transform-react-pure-annotations": "^7.23.3",
|
|
@@ -151,8 +151,8 @@
|
|
|
151
151
|
"vite": "^5.4.11",
|
|
152
152
|
"vite-plugin-dts": "^4.1.0",
|
|
153
153
|
"vite-tsconfig-paths": "^5.0.1",
|
|
154
|
-
"@edifice.io/
|
|
155
|
-
"@edifice.io/
|
|
154
|
+
"@edifice.io/client": "2.1.1-develop-b2school.20250305104555",
|
|
155
|
+
"@edifice.io/config": "2.1.1-develop-b2school.20250305104555"
|
|
156
156
|
},
|
|
157
157
|
"peerDependencies": {
|
|
158
158
|
"@react-spring/web": "^9.7.5",
|