@edifice.io/react 2.6.10 → 2.6.11-develop-b2school.20261029144429

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 (169) hide show
  1. package/dist/components/Checkbox/Checkbox.js +1 -1
  2. package/dist/components/Layout/Layout.js +12 -4
  3. package/dist/components/Layout/components/Header.js +4 -4
  4. package/dist/components/Layout/components/NavLink.d.ts +3 -3
  5. package/dist/components/Layout/components/NavLink.js +5 -3
  6. package/dist/components/Tree/components/Tree.d.ts +2 -5
  7. package/dist/components/Tree/components/Tree.js +10 -7
  8. package/dist/components/Tree/hooks/useTree.d.ts +1 -0
  9. package/dist/components/Tree/hooks/useTree.js +6 -2
  10. package/dist/components/Tree/types/index.d.ts +7 -0
  11. package/dist/homepage.js +85 -24
  12. package/dist/hooks/useZendeskGuide/useZendeskGuide.d.ts +2 -6
  13. package/dist/hooks/useZendeskGuide/useZendeskGuide.js +11 -8
  14. package/dist/icons.js +406 -402
  15. package/dist/modules/HelpZone/HelpZone.js +6 -8
  16. package/dist/modules/HelpZone/HelpZoneContainer.js +2 -5
  17. package/dist/modules/editor/components/Editor/Editor.d.ts +5 -0
  18. package/dist/modules/editor/components/Editor/Editor.js +3 -0
  19. package/dist/modules/homepage/components/Agenda/Agenda.d.ts +10 -0
  20. package/dist/modules/homepage/components/Agenda/Agenda.js +54 -0
  21. package/dist/modules/homepage/components/Agenda/AgendaContainer.d.ts +1 -0
  22. package/dist/modules/homepage/components/Agenda/AgendaContainer.js +14 -0
  23. package/dist/modules/homepage/components/Agenda/AgendaEventCard.d.ts +10 -0
  24. package/dist/modules/homepage/components/Agenda/AgendaEventCard.js +30 -0
  25. package/dist/modules/homepage/components/Agenda/hooks/useAgendaContainer.d.ts +14 -0
  26. package/dist/modules/homepage/components/Agenda/hooks/useAgendaContainer.js +27 -0
  27. package/dist/modules/homepage/components/Agenda/index.d.ts +3 -0
  28. package/dist/modules/homepage/components/Agenda/services/api/agendaService.d.ts +24 -0
  29. package/dist/modules/homepage/components/Agenda/services/api/agendaService.js +45 -0
  30. package/dist/modules/homepage/components/Agenda/services/api/index.d.ts +4 -0
  31. package/dist/modules/homepage/components/Agenda/services/api/index.js +5 -0
  32. package/dist/modules/homepage/components/Agenda/services/queries/agenda.d.ts +19 -0
  33. package/dist/modules/homepage/components/Agenda/services/queries/agenda.js +26 -0
  34. package/dist/modules/homepage/components/BriefMe/BriefMe.d.ts +9 -0
  35. package/dist/modules/homepage/components/BriefMe/BriefMe.js +59 -0
  36. package/dist/modules/homepage/components/BriefMe/BriefMeContainer.d.ts +4 -0
  37. package/dist/modules/homepage/components/BriefMe/BriefMeContainer.js +17 -0
  38. package/dist/modules/homepage/components/BriefMe/index.d.ts +4 -0
  39. package/dist/modules/homepage/components/BriefMe/types.d.ts +17 -0
  40. package/dist/modules/homepage/components/BriefMe/types.js +8 -0
  41. package/dist/modules/homepage/components/BriefMe/useBriefMe.d.ts +31 -0
  42. package/dist/modules/homepage/components/BriefMe/useBriefMe.js +51 -0
  43. package/dist/modules/homepage/components/Cantine/Cantine.d.ts +7 -0
  44. package/dist/modules/homepage/components/Cantine/Cantine.js +44 -0
  45. package/dist/modules/homepage/components/Cantine/CantineContainer.d.ts +4 -0
  46. package/dist/modules/homepage/components/Cantine/CantineContainer.js +18 -0
  47. package/dist/modules/homepage/components/Cantine/CantineModal.d.ts +24 -0
  48. package/dist/modules/homepage/components/Cantine/CantineModal.js +88 -0
  49. package/dist/modules/homepage/components/Cantine/CantineModalContainer.d.ts +7 -0
  50. package/dist/modules/homepage/components/Cantine/CantineModalContainer.js +12 -0
  51. package/dist/modules/homepage/components/Cantine/components/CantineLegend.d.ts +5 -0
  52. package/dist/modules/homepage/components/Cantine/components/CantineLegend.js +22 -0
  53. package/dist/modules/homepage/components/Cantine/components/CantineMenuSection.d.ts +6 -0
  54. package/dist/modules/homepage/components/Cantine/components/CantineMenuSection.js +28 -0
  55. package/dist/modules/homepage/components/Cantine/components/cantineLabels.d.ts +12 -0
  56. package/dist/modules/homepage/components/Cantine/components/cantineLabels.js +60 -0
  57. package/dist/modules/homepage/components/Cantine/hooks/useCantine.d.ts +11 -0
  58. package/dist/modules/homepage/components/Cantine/hooks/useCantine.js +20 -0
  59. package/dist/modules/homepage/components/Cantine/hooks/useCantineMenu.d.ts +24 -0
  60. package/dist/modules/homepage/components/Cantine/hooks/useCantineMenu.js +65 -0
  61. package/dist/modules/homepage/components/Cantine/hooks/useCantineModal.d.ts +23 -0
  62. package/dist/modules/homepage/components/Cantine/hooks/useCantineModal.js +43 -0
  63. package/dist/modules/homepage/components/Cantine/index.d.ts +7 -0
  64. package/dist/modules/homepage/components/Cantine/types.d.ts +42 -0
  65. package/dist/modules/homepage/components/Communities/Communities.js +4 -4
  66. package/dist/modules/homepage/components/Edumalin/Edumalin.d.ts +9 -0
  67. package/dist/modules/homepage/components/Edumalin/Edumalin.js +65 -0
  68. package/dist/modules/homepage/components/Edumalin/EdumalinContainer.d.ts +4 -0
  69. package/dist/modules/homepage/components/Edumalin/EdumalinContainer.js +21 -0
  70. package/dist/modules/homepage/components/Edumalin/EdumalinModal.d.ts +8 -0
  71. package/dist/modules/homepage/components/Edumalin/EdumalinModal.js +62 -0
  72. package/dist/modules/homepage/components/Edumalin/components/EdumalinBadge.d.ts +5 -0
  73. package/dist/modules/homepage/components/Edumalin/components/EdumalinBadge.js +38 -0
  74. package/dist/modules/homepage/components/Edumalin/components/EdumalinPicture.d.ts +5 -0
  75. package/dist/modules/homepage/components/Edumalin/components/EdumalinPicture.js +12 -0
  76. package/dist/modules/homepage/components/Edumalin/index.d.ts +7 -0
  77. package/dist/modules/homepage/components/Edumalin/types.d.ts +24 -0
  78. package/dist/modules/homepage/components/Edumalin/types.js +4 -0
  79. package/dist/modules/homepage/components/Edumalin/useEdumalin.d.ts +16 -0
  80. package/dist/modules/homepage/components/Edumalin/useEdumalin.js +35 -0
  81. package/dist/modules/homepage/components/Edumalin/utils.d.ts +28 -0
  82. package/dist/modules/homepage/components/Edumalin/utils.js +56 -0
  83. package/dist/modules/homepage/components/GenerationHdf/GenerationHdf.d.ts +16 -0
  84. package/dist/modules/homepage/components/GenerationHdf/GenerationHdf.js +48 -0
  85. package/dist/modules/homepage/components/GenerationHdf/GenerationHdfContainer.d.ts +4 -0
  86. package/dist/modules/homepage/components/GenerationHdf/GenerationHdfContainer.js +12 -0
  87. package/dist/modules/homepage/components/GenerationHdf/formatSolde.d.ts +1 -0
  88. package/dist/modules/homepage/components/GenerationHdf/formatSolde.js +6 -0
  89. package/dist/modules/homepage/components/GenerationHdf/index.d.ts +3 -0
  90. package/dist/modules/homepage/components/GenerationHdf/useGenerationHdf.d.ts +10 -0
  91. package/dist/modules/homepage/components/GenerationHdf/useGenerationHdf.js +68 -0
  92. package/dist/modules/homepage/components/Header/AccountActionListPopover.d.ts +13 -0
  93. package/dist/modules/homepage/components/Header/AccountActionListPopover.js +26 -0
  94. package/dist/modules/homepage/components/Header/ActionItem.d.ts +38 -0
  95. package/dist/modules/homepage/components/Header/ActionItem.js +34 -0
  96. package/dist/modules/homepage/components/Header/Header.js +34 -40
  97. package/dist/modules/homepage/components/Header/MyAppsPopover.d.ts +5 -0
  98. package/dist/modules/homepage/components/Header/MyAppsPopover.js +28 -0
  99. package/dist/modules/homepage/components/Header/useSafeHoverPopover.js +32 -0
  100. package/dist/modules/homepage/components/HomeCard/HomeCardHeader.d.ts +5 -1
  101. package/dist/modules/homepage/components/HomeCard/HomeCardHeader.js +1 -1
  102. package/dist/modules/homepage/components/MessageFlashList/MessageFlash.js +1 -1
  103. package/dist/modules/homepage/components/Notifications/NotificationList.js +7 -8
  104. package/dist/modules/homepage/components/Notifications/NotificationListSkeleton.js +7 -12
  105. package/dist/modules/homepage/components/Notifications/NotificationSkeleton.js +7 -4
  106. package/dist/modules/homepage/components/Notifications/components/NotificationFilterMenu.js +1 -5
  107. package/dist/modules/homepage/components/Notifications/components/NotificationFilterModal.js +11 -13
  108. package/dist/modules/homepage/components/Notifications/components/NotificationOptionsMenu.js +3 -9
  109. package/dist/modules/homepage/components/Notifications/components/ReportNotificationModal.js +6 -12
  110. package/dist/modules/homepage/components/Notifications/components/notificationAdapter.js +12 -10
  111. package/dist/modules/homepage/components/Notifications/hooks/useNotificationList.js +9 -10
  112. package/dist/modules/homepage/components/Qwant/Qwant.d.ts +4 -0
  113. package/dist/modules/homepage/components/Qwant/Qwant.js +41 -0
  114. package/dist/modules/homepage/components/Qwant/QwantContainer.d.ts +1 -0
  115. package/dist/modules/homepage/components/Qwant/QwantContainer.js +10 -0
  116. package/dist/modules/homepage/components/Qwant/index.d.ts +3 -0
  117. package/dist/modules/homepage/components/Rss/Rss.d.ts +11 -0
  118. package/dist/modules/homepage/components/Rss/Rss.js +64 -0
  119. package/dist/modules/homepage/components/Rss/RssContainer.d.ts +1 -0
  120. package/dist/modules/homepage/components/Rss/RssContainer.js +45 -0
  121. package/dist/modules/homepage/components/Rss/RssFeedForm.d.ts +13 -0
  122. package/dist/modules/homepage/components/Rss/RssFeedForm.js +69 -0
  123. package/dist/modules/homepage/components/Rss/RssFeedsModal.d.ts +11 -0
  124. package/dist/modules/homepage/components/Rss/RssFeedsModal.js +58 -0
  125. package/dist/modules/homepage/components/Rss/hooks/useRssContainer.d.ts +25 -0
  126. package/dist/modules/homepage/components/Rss/hooks/useRssContainer.js +43 -0
  127. package/dist/modules/homepage/components/Rss/index.d.ts +6 -0
  128. package/dist/modules/homepage/components/Rss/services/api/index.d.ts +5 -0
  129. package/dist/modules/homepage/components/Rss/services/api/index.js +5 -0
  130. package/dist/modules/homepage/components/Rss/services/api/rssService.d.ts +38 -0
  131. package/dist/modules/homepage/components/Rss/services/api/rssService.js +51 -0
  132. package/dist/modules/homepage/components/Rss/services/queries/rss.d.ts +28 -0
  133. package/dist/modules/homepage/components/Rss/services/queries/rss.js +71 -0
  134. package/dist/modules/homepage/components/Rss/types.d.ts +25 -0
  135. package/dist/modules/homepage/components/Rss/utils.d.ts +7 -0
  136. package/dist/modules/homepage/components/Rss/utils.js +19 -0
  137. package/dist/modules/homepage/components/SchoolSpace/SchoolSpaceContainer.js +1 -1
  138. package/dist/modules/homepage/components/Universalis/Universalis.d.ts +8 -0
  139. package/dist/modules/homepage/components/Universalis/Universalis.js +62 -0
  140. package/dist/modules/homepage/components/Universalis/UniversalisContainer.d.ts +1 -0
  141. package/dist/modules/homepage/components/Universalis/UniversalisContainer.js +16 -0
  142. package/dist/modules/homepage/components/Universalis/index.d.ts +3 -0
  143. package/dist/modules/homepage/components/UsefulLinks/UsefulLinks.js +2 -2
  144. package/dist/modules/homepage/components/UsefulLinks/UsefulLinksModal.js +2 -2
  145. package/dist/modules/homepage/components/UserSpace/UserSpace.d.ts +3 -1
  146. package/dist/modules/homepage/components/UserSpace/UserSpace.js +13 -7
  147. package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.d.ts +4 -2
  148. package/dist/modules/homepage/components/UserSpace/UserSpaceContainer.js +3 -2
  149. package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetToggle.d.ts +16 -0
  150. package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetToggle.js +15 -0
  151. package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetsPersonalizationPanel.d.ts +21 -0
  152. package/dist/modules/homepage/components/WidgetsPersonalizationPanel/WidgetsPersonalizationPanel.js +47 -0
  153. package/dist/modules/homepage/components/WidgetsPersonalizationPanel/index.d.ts +2 -0
  154. package/dist/modules/homepage/components/index.d.ts +10 -1
  155. package/dist/modules/homepage/{components/SchoolSpace → hooks}/useUserSchools.d.ts +2 -2
  156. package/dist/modules/homepage/{components/SchoolSpace → hooks}/useUserSchools.js +4 -4
  157. package/dist/modules/icons/components/IconAddWidget.d.ts +7 -0
  158. package/dist/modules/icons/components/IconAddWidget.js +12 -0
  159. package/dist/modules/icons/components/IconLogout.d.ts +7 -0
  160. package/dist/modules/icons/components/IconLogout.js +13 -0
  161. package/dist/modules/icons/components/index.d.ts +2 -0
  162. package/dist/modules/icons/components/nav/IconCommunitiesBeta.js +5 -7
  163. package/dist/modules/icons/components/nav/IconHomeBeta.js +6 -3
  164. package/dist/modules/icons/components/nav/IconMessagesBeta.js +7 -7
  165. package/dist/modules/icons/components/nav/IconMyAppsBeta.js +2 -3
  166. package/dist/modules/icons/components/nav/IconNotificationBeta.js +2 -4
  167. package/dist/modules/modals/ResourceModal/ResourceModal.js +3 -3
  168. package/dist/modules/modals/ResourceModal/apps/BlogPublic.js +9 -13
  169. package/package.json +7 -6
@@ -3,10 +3,13 @@ const SvgIconHomeBeta = ({
3
3
  title,
4
4
  titleId,
5
5
  ...props
6
- }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 32 32", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
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
7
  title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
- /* @__PURE__ */ jsx("g", { clipPath: "url(#icon-home-beta_svg__a)", children: /* @__PURE__ */ jsx("path", { fill: "#383838", d: "M15.183.28a1.334 1.334 0 0 1 1.636 0l12 9.335c.325.252.515.64.515 1.052v14.666a4 4 0 0 1-4 4H6.668a4 4 0 0 1-4-4V10.667c0-.411.19-.8.515-1.052zM5.334 11.32v14.014a1.335 1.335 0 0 0 1.334 1.334h4v-12c0-.736.597-1.334 1.333-1.334h8c.736 0 1.333.598 1.333 1.334v12h4a1.335 1.335 0 0 0 1.334-1.334V11.32L16.001 3.023zm8 15.348h5.334V16h-5.334z" }) }),
9
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "icon-home-beta_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h32v32H0z" }) }) })
8
+ /* @__PURE__ */ jsxs("g", { fill: "currentColor", clipPath: "url(#icon-home-beta_svg__a)", children: [
9
+ /* @__PURE__ */ jsx("path", { d: "M20.9 9.188 12 2.266 3.1 9.188V20.8A1.2 1.2 0 0 0 4.3 22h15.4a1.2 1.2 0 0 0 1.2-1.2zm2 11.612a3.2 3.2 0 0 1-3.2 3.2H4.3a3.2 3.2 0 0 1-3.2-3.2V8.7a1 1 0 0 1 .386-.789l9.9-7.7.142-.093a1 1 0 0 1 1.086.093l9.9 7.7a1 1 0 0 1 .386.79z" }),
10
+ /* @__PURE__ */ jsx("path", { d: "M14.3 23V13H9.7v10a1 1 0 1 1-2 0V12a1 1 0 0 1 1-1h6.6a1 1 0 0 1 1 1v11a1 1 0 1 1-2 0" })
11
+ ] }),
12
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "icon-home-beta_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
10
13
  ] });
11
14
  export {
12
15
  SvgIconHomeBeta as default
@@ -3,15 +3,15 @@ const SvgIconMessagesBeta = ({
3
3
  title,
4
4
  titleId,
5
5
  ...props
6
- }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 32 32", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
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
7
  title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
- /* @__PURE__ */ jsxs("g", { clipPath: "url(#icon-messages-beta_svg__a)", children: [
9
- /* @__PURE__ */ jsx("path", { stroke: "#E5A800", strokeMiterlimit: 10, strokeWidth: 2.667, d: "m5.93 10.246-4.8 3.088v12.267a5.335 5.335 0 0 0 5.334 5.333h24.534v-17.6l-4.689-3.013" }),
10
- /* @__PURE__ */ jsx("path", { fill: "#FCF3CF", d: "M26.196 15.468v-14.4H5.93v14.4" }),
11
- /* @__PURE__ */ jsx("path", { stroke: "#FFC403", strokeMiterlimit: 10, strokeWidth: 2.667, d: "M26.196 15.468v-14.4H5.93v14.4" }),
12
- /* @__PURE__ */ jsx("path", { stroke: "#E5A800", strokeMiterlimit: 10, strokeWidth: 2.667, d: "M9.13 5.334h13.867M10.197 9.6h11.734M1.13 13.334l14.934 8.533 14.933-8.533" })
8
+ /* @__PURE__ */ jsxs("g", { fill: "currentColor", clipPath: "url(#icon-messages-beta_svg__a)", children: [
9
+ /* @__PURE__ */ jsx("path", { d: "M23.401 9.243V23.4H4.821A4.824 4.824 0 0 1 0 18.578V9.243l3.898-2.508L4.98 8.417 2 10.334v8.244A2.824 2.824 0 0 0 4.821 21.4h16.58V10.334l-2.9-1.863.541-.841.54-.842z" }),
10
+ /* @__PURE__ */ jsx("path", { d: "M19.962 0v11.318h-2V2H5.439v9.318h-2V0z" }),
11
+ /* @__PURE__ */ jsx("path", { d: "M16.669 3.773v2H6.732v-2zM15.904 7.546v2H7.496v-2z" }),
12
+ /* @__PURE__ */ jsx("path", { d: "m22.898 10.657-10.702 6.114-.496.284-.496-.284-10.7-6.114.992-1.736L11.7 14.75l10.204-5.83z" })
13
13
  ] }),
14
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "icon-messages-beta_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h32v32H0z" }) }) })
14
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "icon-messages-beta_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h24v24H0z" }) }) })
15
15
  ] });
16
16
  export {
17
17
  SvgIconMessagesBeta as default
@@ -3,10 +3,9 @@ const SvgIconMyAppsBeta = ({
3
3
  title,
4
4
  titleId,
5
5
  ...props
6
- }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 32 32", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
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
7
  title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
- /* @__PURE__ */ jsx("g", { stroke: "#1C1C73", strokeMiterlimit: 10, strokeWidth: 2.667, clipPath: "url(#icon-my-apps-beta_svg__a)", children: /* @__PURE__ */ jsx("path", { d: "M31.117 1H19v12.117h12.117zM13.207 18.884H1.09V31h12.117zM1 1.084c6.688 0 12.117 5.43 12.117 12.117H1zM30.934 18.884H18.816V31h12.118z" }) }),
9
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "icon-my-apps-beta_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "#fff", d: "M0 0h32v32H0z" }) }) })
8
+ /* @__PURE__ */ jsx("g", { fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "M23 1v10.182H12.818V1zm-8.182 8.182H21V3h-6.182zM23 12.818V23H12.818V12.818zM14.818 21H21v-6.182h-6.182zM11.182 12.818V23H1V12.818zM3 21h6.182v-6.182H3zM2.049 1l.141.003q.181.005.492.03c.41.034.98.108 1.63.26 1.287.301 2.963.931 4.304 2.272 1.341 1.342 1.972 3.018 2.274 4.304.152.65.224 1.22.26 1.631a9 9 0 0 1 .032.633v.061l-.013.988H1V1.014L1.986 1 2 2l-.014-1zM3 9.182h6.1a10 10 0 0 0-.158-.857c-.255-1.088-.76-2.366-1.74-3.346C6.223 4 4.945 3.495 3.856 3.24A10 10 0 0 0 3 3.081z" }) })
10
9
  ] });
11
10
  export {
12
11
  SvgIconMyAppsBeta as default
@@ -3,11 +3,9 @@ const SvgIconNotificationBeta = ({
3
3
  title,
4
4
  titleId,
5
5
  ...props
6
- }) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 32 32", "aria-hidden": "true", "aria-labelledby": titleId, ...props, children: [
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
7
  title ? /* @__PURE__ */ jsx("title", { id: titleId, children: title }) : null,
8
- /* @__PURE__ */ jsx("path", { stroke: "#1C1C73", strokeMiterlimit: 10, strokeWidth: 2.667, d: "M13.363 5.348a2.726 2.726 0 1 1 5.383-.622q0 .423-.12.808M19.886 25.184a3.919 3.919 0 1 1-7.559-.26" }),
9
- /* @__PURE__ */ jsx("path", { stroke: "#1C1C73", strokeMiterlimit: 10, strokeWidth: 2.667, d: "M28.62 18.901H4.058v6.682h24.56z" }),
10
- /* @__PURE__ */ jsx("path", { stroke: "#1C1C73", strokeMiterlimit: 10, strokeWidth: 2.667, d: "M16.189 4.889c5.639 0 10.22 4.581 10.22 10.22v3.794H5.97V15.11c0-5.639 4.581-10.22 10.22-10.22Z" })
8
+ /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M12.016.5a3.04 3.04 0 0 1 3.02 2.663c3.36 1.192 5.771 4.401 5.772 8.168v1.845h1.656v7.01h-6.522a3.94 3.94 0 0 1-7.778 0h-6.12v-7.01h1.434V11.33c0-3.666 2.284-6.802 5.505-8.066A3.045 3.045 0 0 1 12.016.5m-1.798 19.687a1.94 1.94 0 0 0 3.67 0zm-6.175-5.01v3.01h16.42v-3.01zm8.1-10.511a6.67 6.67 0 0 0-6.665 6.665v1.845h13.33V11.33a6.67 6.67 0 0 0-6.665-6.665" })
11
9
  ] });
12
10
  export {
13
11
  SvgIconNotificationBeta as default
@@ -143,9 +143,9 @@ const DEFAULT_INPUT_MAX_LENGTH = 60, DEFAULT_TEXTAREA_MAX_LENGTH = 400, Resource
143
143
  maxLength: textareaMaxLength
144
144
  }), placeholder: ((_f = customT.placeholder) == null ? void 0 : _f.description) ?? t("explorer.resource.editModal.description.placeholder"), size: "md", maxLength: textareaMaxLength, showCounter: !0 })
145
145
  ] }),
146
- application === "blog" && hasOptionalCommentRepliesWorkflow === !0 && /* @__PURE__ */ jsxs(FormControl, { id: "allowReplies", className: "d-flex gap-8 mt-16 mb-8", children: [
147
- /* @__PURE__ */ jsx(FormControl.Input, { type: "checkbox", defaultChecked: isUpdating ? resource.allowReplies : !0, ...register("allowReplies"), className: "form-check-input mt-0", size: "sm" }),
148
- /* @__PURE__ */ jsx(FormControl.Label, { className: "form-check-label mb-0", children: t("explorer.resource.editModal.comments.allowReplies") })
146
+ application === "blog" && hasOptionalCommentRepliesWorkflow === !0 && /* @__PURE__ */ jsxs("div", { className: "form-check d-flex align-items-center gap-8 mt-16 mb-8", children: [
147
+ /* @__PURE__ */ jsx("input", { id: "allowReplies", type: "checkbox", className: "form-check-input mt-0", defaultChecked: isUpdating ? resource.allowReplies : !0, ...register("allowReplies") }),
148
+ /* @__PURE__ */ jsx("label", { htmlFor: "allowReplies", className: "form-check-label mb-0", children: t("explorer.resource.editModal.comments.allowReplies") })
149
149
  ] })
150
150
  ] })
151
151
  ] }),
@@ -4,8 +4,7 @@ import SvgIconCopy from "../../../icons/components/IconCopy.js";
4
4
  import { useSlug } from "../hooks/useSlug.js";
5
5
  import Heading from "../../../../components/Heading/Heading.js";
6
6
  import Alert from "../../../../components/Alert/Alert.js";
7
- import FormControl from "../../../../components/Form/FormControl.js";
8
- import Input from "../../../../components/Input/Input.js";
7
+ import Switch from "../../../../components/Switch/Switch.js";
9
8
  import Button from "../../../../components/Button/Button.js";
10
9
  const BlogPublic = ({
11
10
  appCode,
@@ -34,18 +33,15 @@ const BlogPublic = ({
34
33
  appCode
35
34
  ] }),
36
35
  /* @__PURE__ */ jsx(Alert, { type: "info", children: t("explorer.resource.editModal.access.alert") }),
37
- /* @__PURE__ */ jsxs(FormControl, { id: "flexSwitchCheckDefault", className: "form-switch d-flex gap-8 mt-16 mb-8", children: [
38
- /* @__PURE__ */ jsx(FormControl.Input, { type: "checkbox", role: "switch", defaultChecked: isUpdating ? resource.public : !1, ...register("enablePublic", {
39
- disabled: !resourceName,
40
- onChange: (event) => {
41
- const checked = event.target.checked;
42
- onPublicChange(checked);
43
- }
44
- }), className: "form-check-input mt-0", size: "md" }),
45
- /* @__PURE__ */ jsx(FormControl.Label, { className: "form-check-label mb-0", children: t("explorer.resource.editModal.access.flexSwitchCheckDefault.label") })
46
- ] }),
36
+ /* @__PURE__ */ jsx(Switch, { id: "flexSwitchCheckDefault", role: "switch", className: "mt-16 mb-8", label: t("explorer.resource.editModal.access.flexSwitchCheckDefault.label"), defaultChecked: isUpdating ? resource.public : !1, ...register("enablePublic", {
37
+ disabled: !resourceName,
38
+ onChange: (event) => {
39
+ const checked = event.target.checked;
40
+ onPublicChange(checked);
41
+ }
42
+ }) }),
47
43
  isPublic && /* @__PURE__ */ jsxs(Fragment, { children: [
48
- /* @__PURE__ */ jsx(FormControl, { id: "formSlug", children: /* @__PURE__ */ jsx(Input, { type: "text", hidden: !0, defaultValue: isUpdating ? slug : "", ...register("formSlug"), size: "sm" }) }, slug),
44
+ /* @__PURE__ */ jsx("input", { type: "hidden", defaultValue: isUpdating ? slug : "", ...register("formSlug") }, slug),
49
45
  /* @__PURE__ */ jsxs("div", { className: "d-flex flex-wrap align-items-center gap-4", children: [
50
46
  /* @__PURE__ */ jsxs("p", { className: "text-break", children: [
51
47
  window.location.origin,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edifice.io/react",
3
- "version": "2.6.10",
3
+ "version": "2.6.11-develop-b2school.20261029144429",
4
4
  "description": "Edifice React Library",
5
5
  "keywords": [
6
6
  "react",
@@ -140,9 +140,9 @@
140
140
  "swiper": "10.1.0",
141
141
  "ua-parser-js": "1.0.36",
142
142
  "zustand": "4.5.7",
143
- "@edifice.io/bootstrap": "2.6.10",
144
- "@edifice.io/utilities": "2.6.10",
145
- "@edifice.io/tiptap-extensions": "2.6.10"
143
+ "@edifice.io/bootstrap": "2.6.11-develop-b2school.20261029144429",
144
+ "@edifice.io/tiptap-extensions": "2.6.11-develop-b2school.20261029144429",
145
+ "@edifice.io/utilities": "2.6.11-develop-b2school.20261029144429"
146
146
  },
147
147
  "devDependencies": {
148
148
  "@babel/plugin-transform-react-pure-annotations": "7.27.1",
@@ -169,12 +169,13 @@
169
169
  "react-i18next": "14.1.3",
170
170
  "rollup-plugin-pure": "0.4.0",
171
171
  "rollup-plugin-visualizer": "5.12.0",
172
+ "typescript": "5.9.3",
172
173
  "typescript-eslint": "8.54.0",
173
174
  "vite": "5.4.14",
174
175
  "vite-plugin-dts": "4.5.4",
175
176
  "vite-tsconfig-paths": "5.1.4",
176
- "@edifice.io/client": "2.6.10",
177
- "@edifice.io/config": "2.6.10"
177
+ "@edifice.io/config": "2.6.11-develop-b2school.20261029144429",
178
+ "@edifice.io/client": "2.6.11-develop-b2school.20261029144429"
178
179
  },
179
180
  "peerDependencies": {
180
181
  "@react-spring/web": "9.7.5",