@licklist/design 0.78.18 → 0.78.20

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 (261) hide show
  1. package/.storybook/main.cjs +55 -6
  2. package/.storybook/preview.jsx +77 -7
  3. package/dist/Maintenance/Maintenance.scss.js +6 -0
  4. package/dist/Maintenance/MaintenancePage.d.ts +12 -0
  5. package/dist/Maintenance/MaintenancePage.d.ts.map +1 -0
  6. package/dist/Maintenance/MaintenancePage.js +98 -0
  7. package/dist/Maintenance/SkeletonSidebar.d.ts +5 -0
  8. package/dist/Maintenance/SkeletonSidebar.d.ts.map +1 -0
  9. package/dist/Maintenance/SkeletonSidebar.js +101 -0
  10. package/dist/PageNotFound/PageNotFound.d.ts +10 -0
  11. package/dist/PageNotFound/PageNotFound.d.ts.map +1 -0
  12. package/dist/PageNotFound/PageNotFound.js +42 -0
  13. package/dist/PageNotFound/index.d.ts +2 -0
  14. package/dist/PageNotFound/index.d.ts.map +1 -0
  15. package/dist/UnderMaintenance/UnderMaintenance.d.ts +4 -0
  16. package/dist/UnderMaintenance/UnderMaintenance.d.ts.map +1 -0
  17. package/dist/UnderMaintenance/UnderMaintenance.js +39 -0
  18. package/dist/UnderMaintenance/UnderMaintenance.scss.js +6 -0
  19. package/dist/UnderMaintenance/index.d.ts +2 -0
  20. package/dist/UnderMaintenance/index.d.ts.map +1 -0
  21. package/dist/auth/Authorizer.d.ts.map +1 -1
  22. package/dist/auth/Authorizer.js +4 -3
  23. package/dist/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetModal.js +4 -3
  24. package/dist/iframe/ProductWithModifierModal/ModifierSetModal/controll/ModifierSetControll.js +2 -1
  25. package/dist/iframe/ProductWithModifierModal/ModifierSetModal/controll/ProductControll.js +1 -1
  26. package/dist/index.d.ts +2 -0
  27. package/dist/index.d.ts.map +1 -1
  28. package/dist/index.js +2 -0
  29. package/dist/notification/components/NotificationPlaceholders.js +1 -1
  30. package/dist/product-set/form/ProductCategoriesControl.d.ts.map +1 -1
  31. package/dist/product-set/form/ProductCategoriesControl.js +13 -5
  32. package/dist/provider/provider-details-input/ProviderDetailsInput.js +1 -1
  33. package/dist/recurrence-input/RecurrenceEndInput.d.ts.map +1 -1
  34. package/dist/recurrence-input/RecurrenceEndInput.js +7 -3
  35. package/dist/sortable-tree/SortableTree.js +1 -26
  36. package/dist/styles/overrides/_functions.scss +1 -1
  37. package/dist/v2/components/Alert/Alert.d.ts +14 -0
  38. package/dist/v2/components/Alert/Alert.d.ts.map +1 -0
  39. package/dist/v2/components/Alert/index.d.ts +3 -0
  40. package/dist/v2/components/Alert/index.d.ts.map +1 -0
  41. package/dist/v2/components/Button/Button.d.ts +10 -0
  42. package/dist/v2/components/Button/Button.d.ts.map +1 -0
  43. package/dist/v2/components/Button/index.d.ts +3 -0
  44. package/dist/v2/components/Button/index.d.ts.map +1 -0
  45. package/dist/v2/components/Colors/Colors.d.ts +21 -0
  46. package/dist/v2/components/Colors/Colors.d.ts.map +1 -0
  47. package/dist/v2/components/Colors/index.d.ts +3 -0
  48. package/dist/v2/components/Colors/index.d.ts.map +1 -0
  49. package/dist/v2/components/Typography/Typography.d.ts +11 -0
  50. package/dist/v2/components/Typography/Typography.d.ts.map +1 -0
  51. package/dist/v2/components/Typography/index.d.ts +3 -0
  52. package/dist/v2/components/Typography/index.d.ts.map +1 -0
  53. package/dist/v2/hooks/useAuth.d.ts +4 -0
  54. package/dist/v2/hooks/useAuth.d.ts.map +1 -0
  55. package/dist/v2/index.d.ts +56 -0
  56. package/dist/v2/index.d.ts.map +1 -0
  57. package/dist/v2/navigation/FigmasAdminSideBar/FigmasAdminSideBar.d.ts +8 -0
  58. package/dist/v2/navigation/FigmasAdminSideBar/FigmasAdminSideBar.d.ts.map +1 -0
  59. package/dist/v2/navigation/FigmasAdminSideBar/index.d.ts +3 -0
  60. package/dist/v2/navigation/FigmasAdminSideBar/index.d.ts.map +1 -0
  61. package/dist/v2/navigation/FigmasSideBar/FigmasSideBar.d.ts +22 -0
  62. package/dist/v2/navigation/FigmasSideBar/FigmasSideBar.d.ts.map +1 -0
  63. package/dist/v2/navigation/FigmasSideBar/index.d.ts +3 -0
  64. package/dist/v2/navigation/FigmasSideBar/index.d.ts.map +1 -0
  65. package/dist/v2/navigation/FigmasTopHat/FigmasTopHat.d.ts +15 -0
  66. package/dist/v2/navigation/FigmasTopHat/FigmasTopHat.d.ts.map +1 -0
  67. package/dist/v2/navigation/FigmasTopHat/index.d.ts +3 -0
  68. package/dist/v2/navigation/FigmasTopHat/index.d.ts.map +1 -0
  69. package/dist/v2/navigation/Navigation/Navigation.d.ts +9 -0
  70. package/dist/v2/navigation/Navigation/Navigation.d.ts.map +1 -0
  71. package/dist/v2/navigation/Navigation/index.d.ts +3 -0
  72. package/dist/v2/navigation/Navigation/index.d.ts.map +1 -0
  73. package/dist/v2/navigation/NavigationItem/NavigationItem.d.ts +12 -0
  74. package/dist/v2/navigation/NavigationItem/NavigationItem.d.ts.map +1 -0
  75. package/dist/v2/navigation/NavigationItem/index.d.ts +3 -0
  76. package/dist/v2/navigation/NavigationItem/index.d.ts.map +1 -0
  77. package/dist/v2/navigation/NavigationSection/NavigationSection.d.ts +8 -0
  78. package/dist/v2/navigation/NavigationSection/NavigationSection.d.ts.map +1 -0
  79. package/dist/v2/navigation/NavigationSection/index.d.ts +3 -0
  80. package/dist/v2/navigation/NavigationSection/index.d.ts.map +1 -0
  81. package/dist/v2/navigation/SideBarToggleLarge/SideBarToggleLarge.d.ts +9 -0
  82. package/dist/v2/navigation/SideBarToggleLarge/SideBarToggleLarge.d.ts.map +1 -0
  83. package/dist/v2/navigation/SideBarToggleLarge/index.d.ts +3 -0
  84. package/dist/v2/navigation/SideBarToggleLarge/index.d.ts.map +1 -0
  85. package/dist/v2/navigation/SidebarUserElement/SidebarUserElement.d.ts +15 -0
  86. package/dist/v2/navigation/SidebarUserElement/SidebarUserElement.d.ts.map +1 -0
  87. package/dist/v2/navigation/SidebarUserElement/index.d.ts +3 -0
  88. package/dist/v2/navigation/SidebarUserElement/index.d.ts.map +1 -0
  89. package/dist/v2/navigation/SidebarWithAuth.d.ts +20 -0
  90. package/dist/v2/navigation/SidebarWithAuth.d.ts.map +1 -0
  91. package/dist/v2/navigation/TopHatControlDisc/TopHatControlDisc.d.ts +9 -0
  92. package/dist/v2/navigation/TopHatControlDisc/TopHatControlDisc.d.ts.map +1 -0
  93. package/dist/v2/navigation/TopHatControlDisc/index.d.ts +3 -0
  94. package/dist/v2/navigation/TopHatControlDisc/index.d.ts.map +1 -0
  95. package/dist/v2/navigation/config.d.ts +3 -0
  96. package/dist/v2/navigation/config.d.ts.map +1 -0
  97. package/dist/v2/navigation/icons/index.d.ts +12 -0
  98. package/dist/v2/navigation/icons/index.d.ts.map +1 -0
  99. package/dist/v2/navigation/index.d.ts +23 -0
  100. package/dist/v2/navigation/index.d.ts.map +1 -0
  101. package/dist/v2/types/navigation.d.ts +17 -0
  102. package/dist/v2/types/navigation.d.ts.map +1 -0
  103. package/package.json +2 -1
  104. package/rollup.config.js +13 -0
  105. package/src/Maintenance/Maintenance.scss +253 -0
  106. package/src/Maintenance/MaintenancePage.tsx +59 -0
  107. package/src/Maintenance/SkeletonSidebar.tsx +56 -0
  108. package/src/PageNotFound/PageNotFound.scss +8 -0
  109. package/src/PageNotFound/PageNotFound.stories.tsx +23 -0
  110. package/src/PageNotFound/PageNotFound.tsx +43 -0
  111. package/src/PageNotFound/index.ts +1 -0
  112. package/src/UnderMaintenance/UnderMaintenance.scss +6 -0
  113. package/src/UnderMaintenance/UnderMaintenance.stories.tsx +23 -0
  114. package/src/UnderMaintenance/UnderMaintenance.tsx +22 -0
  115. package/src/UnderMaintenance/index.ts +1 -0
  116. package/src/auth/Auth.stories.tsx +37 -3
  117. package/src/auth/Authorizer.tsx +3 -2
  118. package/src/auth/ChangePassword/ChangePassword.stories.tsx +1 -8
  119. package/src/auth/Login/Login.stories.tsx +1 -6
  120. package/src/auth/Logout/Logout.stories.tsx +3 -0
  121. package/src/auth/Register/Register.stories.tsx +3 -7
  122. package/src/auth/ResetPassword/ResetPassword.stories.tsx +1 -8
  123. package/src/auth/Social/Social.stories.tsx +1 -6
  124. package/src/collapsible-input-group/CollapsibleInputGroup.stories.tsx +72 -4
  125. package/src/events/edit-event-modal/component/EditEventForm/EditEventForm.stories.tsx +2 -1
  126. package/src/events/edit-recurrent-event-modal/EditRecurrentEventModal.stories.tsx +3 -2
  127. package/src/events/event-card/EventCard.stories.tsx +3 -2
  128. package/src/events/event-statistic-modal/EventStatisticModal.stories.tsx +2 -1
  129. package/src/events/event-venue-map/EventVenueMap.stories.tsx +8 -1
  130. package/src/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetModal.tsx +3 -3
  131. package/src/iframe/ProductWithModifierModal/ModifierSetModal/controll/ModifierSetControll.tsx +2 -2
  132. package/src/iframe/ProductWithModifierModal/ModifierSetModal/controll/ProductControll.tsx +1 -1
  133. package/src/iframe/custom-fields/components/CustomDateField.stories.tsx +3 -2
  134. package/src/iframe/event/event-card/IframeEventCard.stories.tsx +7 -5
  135. package/src/iframe/event/event-card/IframeEventCards.stories.tsx +7 -6
  136. package/src/iframe/event/event-description/EventDescription.stories.tsx +3 -2
  137. package/src/iframe/event/event-venue-map/IframeEventVenueMap.stories.tsx +3 -2
  138. package/src/iframe/external-modal/ExternalModal.stories.tsx +3 -0
  139. package/src/iframe/order-process/components/CalendarStepsForm/CalendarStepsForm.stories.tsx +5 -0
  140. package/src/iframe/order-process/components/NavigationSteps/NavigationSteps.stories.tsx +2 -1
  141. package/src/iframe/order-process/components/PaymentCard/PaymentCard.stories.tsx +2 -1
  142. package/src/iframe/page/Page.stories.tsx +9 -8
  143. package/src/iframe/payment/order-items-table/OrderItemsTable.stories.tsx +2 -1
  144. package/src/iframe/payment/payment-status-header/PaymentStatusHeader.stories.tsx +2 -1
  145. package/src/index.ts +2 -0
  146. package/src/logo/Logo.stories.tsx +17 -14
  147. package/src/modals/confirmation/Confirmation.stories.tsx +2 -1
  148. package/src/notification/components/NotificationPlaceholders.stories.tsx +4 -0
  149. package/src/notification/components/NotificationPlaceholders.tsx +1 -1
  150. package/src/product-set/form/ProductCategoriesControl.tsx +12 -6
  151. package/src/product-set/form/ProductSetForm.stories.tsx +13 -4
  152. package/src/provider/location-input/LocationInput.stories.tsx +47 -2
  153. package/src/provider/provider-details-input/ProviderDetailsInput.stories.tsx +10 -1
  154. package/src/provider/provider-details-input/ProviderDetailsInput.tsx +1 -1
  155. package/src/provider/provider-form/ProviderForm.stories.tsx +46 -0
  156. package/src/provider/venue-form/VenueForm.stories.tsx +49 -0
  157. package/src/recurrence-input/RecurrenceEndInput.tsx +7 -5
  158. package/src/recurrence-input/RecurrenceInput.stories.tsx +3 -0
  159. package/src/resource/form/ResourceForm.stories.tsx +2 -1
  160. package/src/sales/guest-profile/previous-bookings/PreviousBookings.stories.tsx +2 -1
  161. package/src/sales/life-time-sales/LifeTimeSalesChart.stories.tsx +2 -1
  162. package/src/sales/manual-booking/select-date-type-control/SelectDateTypeControl.stories.tsx +2 -1
  163. package/src/sales/manual-booking/select-menu/SelectMenu.stories.tsx +2 -1
  164. package/src/sales/modals/payment-modal/PaymentModal.stories.tsx +3 -2
  165. package/src/sales/modals/refund-modal/RefundModal.stories.tsx +5 -4
  166. package/src/sales/payment-form/SalePaymentForm.stories.tsx +3 -2
  167. package/src/setting/dashboard/snippet-templates/card/SnippetTemplateCard.stories.tsx +2 -1
  168. package/src/snippet/snippet-template/SnippetTemplate.stories.tsx +2 -1
  169. package/src/snippet/snippet-template/form/SnippetTemplateForm.stories.tsx +4 -2
  170. package/src/sortable-tree/SortableTree.tsx +1 -1
  171. package/src/sortable-tree/SortableTreeItem.stories.tsx +12 -14
  172. package/src/styles/overrides/_functions.scss +1 -1
  173. package/src/table/Table.stories.tsx +3 -24
  174. package/src/tiptap-editor/TipTapMenu/TipTapMenu.stories.tsx +27 -3
  175. package/src/v2/components/Alert/Alert.scss +186 -0
  176. package/src/v2/components/Alert/Alert.stories.tsx +176 -0
  177. package/src/v2/components/Alert/Alert.tsx +62 -0
  178. package/src/v2/components/Alert/assets/alert-icon.svg +3 -0
  179. package/src/v2/components/Alert/assets/error-icon.svg +3 -0
  180. package/src/v2/components/Alert/assets/info-icon.svg +3 -0
  181. package/src/v2/components/Alert/assets/success-icon.svg +3 -0
  182. package/src/v2/components/Alert/index.ts +2 -0
  183. package/src/v2/components/Button/Button.scss +19 -0
  184. package/src/v2/components/Button/Button.stories.tsx +93 -0
  185. package/src/v2/components/Button/Button.tsx +37 -0
  186. package/src/v2/components/Button/index.ts +3 -0
  187. package/src/v2/components/Colors/Colors.scss +64 -0
  188. package/src/v2/components/Colors/Colors.stories.tsx +143 -0
  189. package/src/v2/components/Colors/Colors.tsx +51 -0
  190. package/src/v2/components/Colors/ColorsAliases.stories.tsx +285 -0
  191. package/src/v2/components/Colors/Sizes.stories.tsx +141 -0
  192. package/src/v2/components/Colors/index.ts +2 -0
  193. package/src/v2/components/Typography/Typography.scss +72 -0
  194. package/src/v2/components/Typography/Typography.stories.tsx +266 -0
  195. package/src/v2/components/Typography/Typography.tsx +56 -0
  196. package/src/v2/components/Typography/index.ts +2 -0
  197. package/src/v2/hooks/useAuth.ts +40 -0
  198. package/src/v2/index.ts +105 -0
  199. package/src/v2/navigation/FigmasAdminSideBar/FigmasAdminSideBar.scss +148 -0
  200. package/src/v2/navigation/FigmasAdminSideBar/FigmasAdminSideBar.stories.tsx +132 -0
  201. package/src/v2/navigation/FigmasAdminSideBar/FigmasAdminSideBar.tsx +272 -0
  202. package/src/v2/navigation/FigmasAdminSideBar/index.ts +2 -0
  203. package/src/v2/navigation/FigmasSideBar/FigmasSideBar.scss +214 -0
  204. package/src/v2/navigation/FigmasSideBar/FigmasSideBar.stories.tsx +164 -0
  205. package/src/v2/navigation/FigmasSideBar/FigmasSideBar.tsx +310 -0
  206. package/src/v2/navigation/FigmasSideBar/index.ts +2 -0
  207. package/src/v2/navigation/FigmasTopHat/FigmasTopHat.scss +291 -0
  208. package/src/v2/navigation/FigmasTopHat/FigmasTopHat.stories.tsx +201 -0
  209. package/src/v2/navigation/FigmasTopHat/FigmasTopHat.tsx +158 -0
  210. package/src/v2/navigation/FigmasTopHat/assets/bell-icon.svg +3 -0
  211. package/src/v2/navigation/FigmasTopHat/assets/disc-icon.svg +4 -0
  212. package/src/v2/navigation/FigmasTopHat/assets/inbox-icon.svg +3 -0
  213. package/src/v2/navigation/FigmasTopHat/assets/logo-desktop-1.svg +3 -0
  214. package/src/v2/navigation/FigmasTopHat/assets/logo-desktop-2.svg +4 -0
  215. package/src/v2/navigation/FigmasTopHat/assets/user-icon.svg +4 -0
  216. package/src/v2/navigation/FigmasTopHat/index.ts +2 -0
  217. package/src/v2/navigation/Navigation/Navigation.scss +15 -0
  218. package/src/v2/navigation/Navigation/Navigation.stories.tsx +137 -0
  219. package/src/v2/navigation/Navigation/Navigation.tsx +127 -0
  220. package/src/v2/navigation/Navigation/index.ts +3 -0
  221. package/src/v2/navigation/NavigationItem/NavigationItem.scss +61 -0
  222. package/src/v2/navigation/NavigationItem/NavigationItem.stories.tsx +110 -0
  223. package/src/v2/navigation/NavigationItem/NavigationItem.tsx +38 -0
  224. package/src/v2/navigation/NavigationItem/index.ts +3 -0
  225. package/src/v2/navigation/NavigationSection/NavigationSection.scss +20 -0
  226. package/src/v2/navigation/NavigationSection/NavigationSection.tsx +19 -0
  227. package/src/v2/navigation/NavigationSection/index.ts +3 -0
  228. package/src/v2/navigation/SideBarToggleLarge/SideBarToggleLarge.scss +64 -0
  229. package/src/v2/navigation/SideBarToggleLarge/SideBarToggleLarge.stories.tsx +183 -0
  230. package/src/v2/navigation/SideBarToggleLarge/SideBarToggleLarge.tsx +30 -0
  231. package/src/v2/navigation/SideBarToggleLarge/assets/sidebar-icon.svg +5 -0
  232. package/src/v2/navigation/SideBarToggleLarge/index.ts +2 -0
  233. package/src/v2/navigation/SidebarUserElement/SidebarUserElement.scss +148 -0
  234. package/src/v2/navigation/SidebarUserElement/SidebarUserElement.stories.tsx +342 -0
  235. package/src/v2/navigation/SidebarUserElement/SidebarUserElement.tsx +113 -0
  236. package/src/v2/navigation/SidebarUserElement/index.ts +2 -0
  237. package/src/v2/navigation/SidebarWithAuth.stories.tsx +208 -0
  238. package/src/v2/navigation/SidebarWithAuth.tsx +49 -0
  239. package/src/v2/navigation/TopHatControlDisc/TopHatControlDisc.scss +57 -0
  240. package/src/v2/navigation/TopHatControlDisc/TopHatControlDisc.stories.tsx +153 -0
  241. package/src/v2/navigation/TopHatControlDisc/TopHatControlDisc.tsx +30 -0
  242. package/src/v2/navigation/TopHatControlDisc/assets/disc-icon.svg +4 -0
  243. package/src/v2/navigation/TopHatControlDisc/index.ts +2 -0
  244. package/src/v2/navigation/config.tsx +150 -0
  245. package/src/v2/navigation/icons/index.tsx +72 -0
  246. package/src/v2/navigation/index.ts +23 -0
  247. package/src/v2/styles/components/Button.scss +168 -0
  248. package/src/v2/styles/form/NewInput.scss +172 -0
  249. package/src/v2/styles/index.scss +5 -0
  250. package/src/v2/styles/navigation/Navigation.scss +17 -0
  251. package/src/v2/styles/navigation/NavigationItem.scss +86 -0
  252. package/src/v2/styles/navigation/NavigationSection.scss +26 -0
  253. package/src/v2/styles/navigation/_index.scss +9 -0
  254. package/src/v2/styles/tokens/_aliases.scss +199 -0
  255. package/src/v2/styles/tokens/_colors.scss +121 -0
  256. package/src/v2/styles/tokens/_sizes.scss +122 -0
  257. package/src/v2/styles/tokens/_status.scss +108 -0
  258. package/src/v2/styles/tokens/_typography.scss +146 -0
  259. package/src/v2/types/navigation.ts +17 -0
  260. package/src/zone/form/ZoneForm.stories.tsx +2 -1
  261. package/styles/overrides/_functions.scss +6 -0
@@ -14,12 +14,38 @@ module.exports = {
14
14
  staticDirs: ['../src/assets'],
15
15
 
16
16
  webpackFinal: async (config) => {
17
+ const webpack = require('webpack');
18
+
19
+ // Define import.meta.env to prevent errors when accessing VITE_SENTRY_DSN
20
+ // This replaces import.meta.env at build time
21
+ // Note: DefinePlugin uses exact string matching, so we define both the object and the property
22
+ const envVars = {
23
+ VITE_SENTRY_DSN: process.env.VITE_SENTRY_DSN || '',
24
+ // add other env vars your components need here
25
+ };
26
+
27
+ // DefinePlugin with multiple patterns to catch different access patterns
28
+ // This replaces import.meta.env references at build time
29
+ config.plugins.push(
30
+ new webpack.DefinePlugin({
31
+ 'import.meta.env': JSON.stringify(envVars),
32
+ 'import.meta.env.VITE_SENTRY_DSN': JSON.stringify(envVars.VITE_SENTRY_DSN),
33
+ 'import.meta.env["VITE_SENTRY_DSN"]': JSON.stringify(envVars.VITE_SENTRY_DSN),
34
+ 'import.meta.env[\'VITE_SENTRY_DSN\']': JSON.stringify(envVars.VITE_SENTRY_DSN),
35
+ })
36
+ );
37
+
17
38
  // Add resolve alias for 'src' imports
18
39
  config.resolve.alias = {
19
40
  ...config.resolve.alias,
20
41
  'src': path.resolve(__dirname, '../src'),
21
42
  };
22
43
 
44
+ // Add fallback for import.meta.env if DefinePlugin doesn't catch it
45
+ config.resolve.fallback = {
46
+ ...config.resolve.fallback,
47
+ };
48
+
23
49
  // Add JSX/TSX support with Babel
24
50
  config.module.rules.push({
25
51
  test: /\.(js|jsx)$/,
@@ -67,20 +93,43 @@ module.exports = {
67
93
  });
68
94
 
69
95
  // Handle SVG files with @svgr/webpack
96
+ // First, exclude SVG from the default file loader
70
97
  const fileLoaderRule = config.module.rules.find(rule => rule.test?.test?.('.svg'));
71
98
  if (fileLoaderRule) {
72
99
  fileLoaderRule.exclude = /\.svg$/;
73
100
  }
74
101
 
102
+ // Configure SVG handling
103
+ // CSS imports need URLs, JS/TS imports need ReactComponent
75
104
  config.module.rules.push({
76
105
  test: /\.svg$/,
77
- use: [
106
+ oneOf: [
107
+ // For imports with ?url query, provide URL
78
108
  {
79
- loader: '@svgr/webpack',
80
- options: {
81
- exportType: 'named',
82
- namedExport: 'ReactComponent',
83
- },
109
+ resourceQuery: /url/,
110
+ type: 'asset/resource',
111
+ },
112
+ // For CSS/SCSS files, provide URL (not React component)
113
+ {
114
+ issuer: /\.(css|scss|sass)$/,
115
+ type: 'asset/resource',
116
+ },
117
+ // For JS/TS files, use SVGR to export ReactComponent as named export
118
+ {
119
+ issuer: /\.(js|jsx|ts|tsx)$/,
120
+ use: [
121
+ {
122
+ loader: '@svgr/webpack',
123
+ options: {
124
+ exportType: 'named',
125
+ namedExport: 'ReactComponent',
126
+ },
127
+ },
128
+ ],
129
+ },
130
+ // Default fallback - provide URL
131
+ {
132
+ type: 'asset/resource',
84
133
  },
85
134
  ],
86
135
  });
@@ -1,9 +1,23 @@
1
+ import '../src/v2/styles/index.scss';
1
2
  import React, { useEffect } from 'react'
2
3
  import { I18nextProvider } from 'react-i18next'
3
4
  import { BrowserRouter } from 'react-router-dom'
5
+ import { QueryClient, QueryClientProvider } from 'react-query'
4
6
  import i18n, { IntlProvider } from '@licklist/core/dist/Translation'
5
7
  import AuthProvider from '@licklist/plugins/dist/context/user/providers/AuthProvider'
6
8
 
9
+ // Create a QueryClient instance for Storybook
10
+ const queryClient = new QueryClient({
11
+ defaultOptions: {
12
+ queries: {
13
+ retry: false,
14
+ refetchOnWindowFocus: false,
15
+ // Return empty array as placeholder to prevent null errors
16
+ placeholderData: (previousValue) => previousValue ?? [],
17
+ },
18
+ },
19
+ })
20
+
7
21
  export const parameters = {
8
22
  actions: { argTypesRegex: '^on[A-Z].*' },
9
23
  }
@@ -17,7 +31,7 @@ const themeController = (() => {
17
31
  themes.map((theme) => [
18
32
  theme,
19
33
  require(
20
- `!style-loader?injectType=lazyStyleTag!css-loader!sass-loader!../src/styles/themes/${theme}/_index.scss`,
34
+ `!style-loader?injectType=lazyStyleTag!css-loader!sass-loader!../src/styles/themes/${theme}/index.scss`,
21
35
  ).default,
22
36
  ]),
23
37
  )
@@ -62,11 +76,50 @@ const withTheme = (Story, context) => {
62
76
  return <Story {...context} />
63
77
  }
64
78
 
65
- const withRouter = (Story, context) => (
66
- <BrowserRouter>
67
- <Story {...context} />
68
- </BrowserRouter>
69
- )
79
+ const withRouter = (Story, context) => {
80
+ // Exclude Router stories from the global Router decorator to avoid nested Routers
81
+ if (context.parameters?.excludeRouter === true) {
82
+ return <Story {...context} />
83
+ }
84
+
85
+ return (
86
+ <BrowserRouter>
87
+ <Story {...context} />
88
+ </BrowserRouter>
89
+ )
90
+ }
91
+
92
+ const withQueryClient = (Story, context) => {
93
+ // Pre-populate timezone query data globally to prevent null errors
94
+ const mockTimezones = [
95
+ { id: 1, name: 'Europe/London' },
96
+ { id: 2, name: 'America/New_York' },
97
+ { id: 3, name: 'America/Los_Angeles' },
98
+ { id: 4, name: 'Europe/Paris' },
99
+ { id: 5, name: 'Asia/Tokyo' },
100
+ ]
101
+
102
+ // Set mock data for various possible query keys
103
+ const possibleKeys = [
104
+ ['/api/timezones', 'all'],
105
+ ['timezones', '/api/timezones', 'all'],
106
+ ['timeZone', '/api/timezones'],
107
+ ['/api/timezones'],
108
+ ['useTimeZoneApi', '/api/timezones', 'all'],
109
+ ]
110
+
111
+ possibleKeys.forEach((key) => {
112
+ if (!queryClient.getQueryData(key)) {
113
+ queryClient.setQueryData(key, mockTimezones)
114
+ }
115
+ })
116
+
117
+ return (
118
+ <QueryClientProvider client={queryClient}>
119
+ <Story {...context} />
120
+ </QueryClientProvider>
121
+ )
122
+ }
70
123
 
71
124
  const withAuth = (Story, context) => (
72
125
  <AuthProvider>
@@ -74,4 +127,21 @@ const withAuth = (Story, context) => (
74
127
  </AuthProvider>
75
128
  )
76
129
 
77
- export const decorators = [withI18n, withTheme, withRouter, withAuth]
130
+ const withGeistFont = (Story, context) => {
131
+ useEffect(() => {
132
+ if (context.id.includes('v2')) {
133
+ const link = document.createElement('link');
134
+ link.href = 'https://fonts.googleapis.com/css2?family=Geist+Sans:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600;700&display=swap';
135
+ link.rel = 'stylesheet';
136
+ document.head.appendChild(link);
137
+
138
+ return () => {
139
+ document.head.removeChild(link);
140
+ };
141
+ }
142
+ }, [context.id]);
143
+
144
+ return <Story {...context} />;
145
+ };
146
+
147
+ export const decorators = [withGeistFont, withQueryClient, withI18n, withTheme, withRouter, withAuth]
@@ -0,0 +1,6 @@
1
+ import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
2
+
3
+ var css_248z = ".figmas-admin-sidebar{align-items:flex-start;background:var(--surfaces-main-background-secondary,#f8f8fa);border-right:1px solid var(--borders-main-border-primary,#e8e9ef);box-sizing:border-box;display:flex;flex-direction:column;height:100%;padding:10px;transition:all .3s ease}.figmas-admin-sidebar--expanded{width:268px}@media (max-width:768px){.figmas-admin-sidebar--expanded{display:none!important}}.figmas-admin-sidebar--collapsed{width:72px}@media (max-width:768px){.figmas-admin-sidebar,.figmas-admin-sidebar--collapsed{display:none!important}}.figmas-admin-sidebar__links,.figmas-admin-sidebar__top{align-items:flex-start;display:flex;flex-direction:column;gap:4px;width:100%}.figmas-admin-sidebar__links{box-sizing:border-box;padding:0 8px}.figmas-admin-sidebar__section-label{align-items:flex-start;box-sizing:border-box;display:flex;flex-direction:column;gap:8px;justify-content:center;padding:20px 8px 0;width:100%}.figmas-admin-sidebar__label-text{color:var(--labels-main-label-secondary,#626a90);font-family:Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:13px;font-weight:500;line-height:16px;margin:0;text-transform:none!important}.figmas-admin-sidebar__link-item{align-items:flex-start;display:flex;width:100%}.figmas-admin-sidebar__link{border-radius:8px;box-sizing:border-box;cursor:pointer;min-height:0;min-width:0;outline:none;padding:8px;text-decoration:none;transition:all .2s ease}.back-to-company,.figmas-admin-sidebar__link{align-items:center;display:flex;flex:1 0 0;gap:8px}.back-to-company{padding:var(--padding-md,8px)}.skeleton-item{border-radius:11px;margin:8px}.venue-skeleton-items{align-items:flex-start;display:flex;flex-direction:column;width:129px}.venue-name{align-items:center;background:var(--surfaces-main-background-tertiary,#e8e9ef);border-radius:var(--padding-md,8px);color:var(--labels-main-label-secondary,#626a90);display:flex;font-family:Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:11px;font-style:normal;font-weight:500;gap:8px;justify-content:center;line-height:14px;margin-left:8px;opacity:var(--opacity-80,.8);padding:var(--padding-sm,4px) var(--padding-md,8px)}.maintenance-page-content{align-items:flex-start;display:flex;flex-direction:column;padding:120px;width:700px}@media (max-width:768px){.maintenance-page-content{padding:30px;width:100%}}.maintenance-page-title{align-self:stretch;color:var(--labels-main-label-primary,#121e52);font-family:Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:32px;font-style:normal;font-weight:700;line-height:36px}@media (max-width:768px){.maintenance-page-title{font-size:26px}}.maintenance-page-subheading{color:var(--labels-main-label-primary,#121e52);font-family:Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:20px;font-style:normal;font-weight:600;line-height:24px}@media (max-width:768px){.maintenance-page-subheading{font-size:18px}}.maintenance-page-body{color:var(--labels-main-label-primary,#121e52);font-family:Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:24px}@media (max-width:768px){.maintenance-page-body{font-size:18px}}.maintenance-page-footer-logo{padding-top:24px}.controls-button{border-color:#f8f8fa;border-radius:var(--radius-md,4px);color:var(--surfaces-main-background-secondary,#f8f8fa);margin-top:10px}.back-button,.controls-button{align-items:center;background:linear-gradient(180deg,var(--fills-main-fill-white,#fff3) 0,var(--purples-purple-500,#6200ee33) 5.77%,var(--purples-purple-700,#4600a933) 95.19%,var(--purples-purple-900,#29006433) 100%),linear-gradient(180deg,var(--purples-purple-50,#efe6fd4d) 0,var(--purples-purple-900,#2900644d) 100%),var(--fills-main-fill-action,#6200ee);display:flex;font-family:Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:15px;font-style:normal;font-weight:600;gap:8px;height:44px;justify-content:center;line-height:18px;padding:var(--padding-md,8px) var(--padding-reg,16px)}.back-button{border-color:none;border-radius:var(--radius-md,4px);color:var(--labels-main-label-white,#fff);margin-top:20px}.venue-skeleton-item{background:var(--surfaces-main-background-secondary-hover,#e8e9ef);border-radius:11px;height:15px;margin-left:8px;width:87px}.venue-skeleton-contaier{margin-top:30px}.mobile-logo{display:none}@media (max-width:768px){.mobile-logo{background:var(--surfaces-main-background-secondary,#f8f8fa);display:block;padding:10px}}";
4
+ styleInject(css_248z);
5
+
6
+ export { css_248z as default };
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ interface MaintenancePageProps {
3
+ svg: React.ReactNode;
4
+ title: string;
5
+ subheading: string;
6
+ body?: string;
7
+ buttonLabel?: string;
8
+ onButtonClick?: () => void;
9
+ }
10
+ export declare const MaintenancePage: React.FC<MaintenancePageProps>;
11
+ export {};
12
+ //# sourceMappingURL=MaintenancePage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MaintenancePage.d.ts","sourceRoot":"","sources":["../../src/Maintenance/MaintenancePage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,oBAAoB;IAC5B,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA+C1D,CAAC"}
@@ -0,0 +1,98 @@
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
+ import 'react';
3
+
4
+ var MaintenancePage = function(param) {
5
+ var svg = param.svg, title = param.title, subheading = param.subheading, body = param.body, buttonLabel = param.buttonLabel, onButtonClick = param.onButtonClick;
6
+ return /*#__PURE__*/ jsxs("div", {
7
+ children: [
8
+ /*#__PURE__*/ jsx("div", {
9
+ className: "mobile-logo",
10
+ children: /*#__PURE__*/ jsxs("svg", {
11
+ xmlns: "http://www.w3.org/2000/svg",
12
+ width: "124",
13
+ height: "32",
14
+ viewBox: "0 0 124 32",
15
+ fill: "none",
16
+ children: [
17
+ /*#__PURE__*/ jsx("path", {
18
+ d: "M9.52321 6.23162C11.6312 4.06995 12.6151 3.51115 13.7979 3.14351C14.9807 2.77588 16.1903 2.77588 17.3731 3.14351C18.5559 3.51115 19.5398 4.06995 21.6478 6.23162L25.0943 9.76587C27.2023 11.9275 27.7473 12.9365 28.1058 14.1494C28.4643 15.3623 28.4643 16.6028 28.1058 17.8157C27.7473 19.0286 27.2023 20.0375 25.0943 22.1992L21.6478 25.7335C19.5398 27.8951 18.556 28.4539 17.3731 28.8216C16.1903 29.1892 14.9807 29.1892 13.7979 28.8216C12.6151 28.4539 11.6312 27.8951 9.52321 25.7335L6.07672 22.1992C3.96872 20.0375 3.4238 19.0286 3.06529 17.8157C2.70679 16.6028 2.70679 15.3623 3.06529 14.1494C3.4238 12.9365 3.96872 11.9275 6.07672 9.76587L9.52321 6.23162ZM11.4177 8.07385L7.92219 11.6583C6.27888 13.3435 5.82902 14.0256 5.56297 14.9257C5.35408 15.6325 5.35408 16.3326 5.56297 17.0394C5.82636 17.9305 6.2699 18.608 7.87325 20.2565L11.4177 23.8912C13.0253 25.5354 13.6859 25.9902 14.555 26.2603C15.2442 26.4745 15.9269 26.4745 16.6161 26.2603C17.4939 25.9875 18.1591 25.5262 19.8024 23.841L23.2489 20.3068C24.8922 18.6216 25.342 17.9395 25.6081 17.0394C25.817 16.3326 25.817 15.6325 25.6081 14.9257C25.342 14.0256 24.8922 13.3435 23.2489 11.6583L19.8024 8.12408C18.1591 6.43893 17.4939 5.97761 16.6161 5.70479C15.9269 5.49057 15.2442 5.49057 14.555 5.70479C13.6859 5.97488 13.0253 6.42972 11.4177 8.07385ZM20.0103 14.7102C20.711 13.9916 21.8471 13.9916 22.5478 14.7102C23.2486 15.4287 23.2486 16.5937 22.5478 17.3123L16.8961 23.108C16.1954 23.8265 15.0593 23.8265 14.3586 23.108L13.5334 22.2618C13.3792 22.1036 13.3393 22.0298 13.3131 21.941C13.2868 21.8523 13.2868 21.7615 13.3131 21.6728C13.3393 21.584 13.3792 21.5102 13.5334 21.352L20.0103 14.7102ZM10.575 17.927C10.7437 17.7539 10.9728 17.6569 11.2114 17.6575L14.5124 17.6653C14.6926 17.6657 14.8383 17.8159 14.8379 18.0006C14.8377 18.0874 14.8047 18.1706 14.7458 18.2329L14.5717 18.4168L12.5131 20.509C12.3218 20.7035 12.0131 20.7028 11.8226 20.5074L10.575 19.228C10.2246 18.8687 10.2246 18.2862 10.575 17.927Z",
19
+ fill: "#D2D5E3"
20
+ }),
21
+ /*#__PURE__*/ jsx("path", {
22
+ d: "M51.535 11.5924C53.1724 11.5924 54.4499 12.0267 55.3675 12.8952C56.285 13.7637 56.7438 14.9579 56.7438 16.4778V18.7577C56.7438 20.35 56.2815 21.6057 55.3569 22.5249C54.4323 23.4441 53.1583 23.9037 51.535 23.9037C49.9117 23.9037 48.6377 23.4694 47.7131 22.6009C46.7885 21.7324 46.3262 20.5382 46.3262 19.0183V16.7384C46.3262 15.1461 46.7885 13.8904 47.7131 12.9712C48.6377 12.052 49.9117 11.5924 51.535 11.5924ZM63.1171 11.5924C64.7546 11.5924 66.0321 12.0267 66.9496 12.8952C67.8672 13.7637 68.3259 14.9579 68.3259 16.4778V18.7577C68.3259 20.35 67.8636 21.6057 66.939 22.5249C66.0144 23.4441 64.7405 23.9037 63.1171 23.9037C61.4938 23.9037 60.2198 23.4694 59.2952 22.6009C58.3706 21.7324 57.9083 20.5382 57.9083 19.0183V16.7384C57.9083 15.1461 58.3706 13.8904 59.2952 12.9712C60.2198 12.052 61.4938 11.5924 63.1171 11.5924ZM86.0062 11.5924C87.5166 11.5924 88.7235 12.0448 89.6269 12.9495C90.5303 13.8542 90.982 15.1461 90.982 16.8252V17.8458C90.982 18.1932 90.922 18.4175 90.8021 18.5189C90.6821 18.6202 90.4386 18.6709 90.0716 18.6709H84.164V18.7577C84.164 19.6118 84.2981 20.2306 84.5663 20.6142C84.8345 20.9978 85.3498 21.1896 86.112 21.1896C86.479 21.1896 86.7861 21.1389 87.0331 21.0376C87.2801 20.9363 87.4813 20.7336 87.6366 20.4296C87.7071 20.2849 87.7954 20.1763 87.9012 20.1039C88.0071 20.0315 88.1941 19.9954 88.4623 19.9954H90.1139C90.3962 19.9954 90.5868 20.0496 90.6856 20.1582C90.7844 20.2668 90.8338 20.4369 90.8338 20.6685C90.8338 20.9869 90.7597 21.2945 90.6115 21.5913C90.4633 21.888 90.2974 22.145 90.1139 22.3621C89.6622 22.8977 89.0658 23.2885 88.3247 23.5346C87.5836 23.7807 86.7967 23.9037 85.9638 23.9037C84.3264 23.9037 83.063 23.4803 82.1737 22.6335C81.2844 21.7867 80.8397 20.5237 80.8397 18.8446V16.7818C80.8397 15.1461 81.295 13.8723 82.2054 12.9603C83.1159 12.0484 84.3828 11.5924 86.0062 11.5924ZM101.548 8.14001C101.915 8.14001 102.158 8.1943 102.278 8.30286C102.398 8.41143 102.458 8.63218 102.458 8.96511V18.9966C102.458 20.5165 101.989 21.7143 101.05 22.5901C100.112 23.4658 98.8235 23.9037 97.186 23.9037C95.5768 23.9037 94.3169 23.4658 93.4065 22.5901C92.496 21.7143 92.0407 20.4948 92.0407 18.9314V16.5647C92.0407 15.0303 92.436 13.818 93.2265 12.9277C94.017 12.0375 95.0968 11.5924 96.4661 11.5924C97.6377 11.5924 98.5129 11.8891 99.0917 12.4826V8.96511C99.0917 8.63218 99.1516 8.41143 99.2716 8.30286C99.3916 8.1943 99.6351 8.14001 100.002 8.14001H101.548ZM115.569 8.7303C115.936 8.7303 116.179 8.78458 116.299 8.89315C116.419 9.00171 116.479 9.22246 116.479 9.5554V11.9221H118.025C118.35 11.9221 118.569 11.9764 118.681 12.085C118.794 12.1935 118.851 12.3998 118.851 12.7038V13.7894C118.851 14.1224 118.794 14.3468 118.681 14.4626C118.569 14.5784 118.35 14.6363 118.025 14.6363H116.479V19.196C116.479 19.7171 116.564 20.0935 116.733 20.3251C116.903 20.5567 117.185 20.6725 117.58 20.6725H117.94C118.293 20.6725 118.526 20.7268 118.639 20.8353C118.752 20.9439 118.809 21.1647 118.809 21.4976V22.8221C118.809 23.1405 118.752 23.3541 118.639 23.4626C118.526 23.5712 118.286 23.6255 117.919 23.6255H116.882C115.527 23.6255 114.56 23.3215 113.981 22.7135C113.402 22.1056 113.113 21.0995 113.113 19.6954V9.5554C113.113 9.22246 113.173 9.00171 113.293 8.89315C113.413 8.78458 113.656 8.7303 114.023 8.7303H115.569ZM40.0375 8.14001C43.2701 8.14001 44.8864 9.4428 44.8864 12.0484V12.3306C44.8864 13.0978 44.7064 13.7746 44.3464 14.3608C43.9865 14.9471 43.5101 15.3415 42.9172 15.5442C43.623 15.7179 44.1912 16.1087 44.6217 16.7167C45.0522 17.3246 45.2675 18.0339 45.2675 18.8446V19.192C45.2675 20.7119 44.8229 21.8265 43.9335 22.5358C43.0442 23.2451 41.6397 23.5997 39.7199 23.5997H35.3158C34.9487 23.5997 34.7052 23.5454 34.5853 23.4369C34.4653 23.3283 34.4053 23.1076 34.4053 22.7746V8.96511C34.4053 8.63218 34.4653 8.41143 34.5853 8.30286C34.7052 8.1943 34.9487 8.14001 35.3158 8.14001H40.0375ZM72.3066 8.14001C72.6736 8.14001 72.9171 8.1943 73.0371 8.30286C73.1571 8.41143 73.2171 8.63218 73.2171 8.96511V16.2607L76.372 12.5043C76.612 12.2148 76.7814 12.0411 76.8802 11.9832C76.979 11.9253 77.1413 11.8964 77.3672 11.8964H79.5058C79.8869 11.8964 80.0775 12.0556 80.0775 12.3741C80.0775 12.5333 79.9998 12.6925 79.8445 12.8518L76.7955 16.2824L80.3527 22.6444C80.4656 22.847 80.5221 23.0135 80.5221 23.1438C80.5221 23.4477 80.3104 23.5997 79.8869 23.5997H77.8118C77.5578 23.5997 77.3637 23.5563 77.2296 23.4694C77.0955 23.3826 76.9649 23.2234 76.8378 22.9918L74.5299 18.6709L73.2171 20.1473V22.7746C73.2171 23.1076 73.1571 23.3283 73.0371 23.4369C72.9171 23.5454 72.6736 23.5997 72.3066 23.5997H70.8456C70.4786 23.5997 70.2351 23.5454 70.1151 23.4369C69.9951 23.3283 69.9351 23.1076 69.9351 22.7746V8.96511C69.9351 8.63218 69.9951 8.41143 70.1151 8.30286C70.2351 8.1943 70.4786 8.14001 70.8456 8.14001H72.3066ZM110.187 14.2522C110.554 14.2522 110.797 14.3065 110.917 14.4151C111.037 14.5237 111.097 14.7444 111.097 15.0773L111.076 22.7529C111.076 23.0859 111.016 23.3066 110.896 23.4152C110.776 23.5237 110.533 23.578 110.166 23.578H108.62C108.253 23.578 108.009 23.5237 107.889 23.4152C107.769 23.3066 107.709 23.0859 107.709 22.7529L107.731 15.0773C107.731 14.7444 107.791 14.5237 107.911 14.4151C108.031 14.3065 108.274 14.2522 108.641 14.2522H110.187ZM51.5985 14.3065C50.9915 14.3065 50.5222 14.5056 50.1904 14.9036C49.8587 15.3017 49.6929 15.8771 49.6929 16.6298V18.8663C49.6929 20.4151 50.2857 21.1896 51.4715 21.1896C52.0926 21.1896 52.5655 20.9905 52.8901 20.5925C53.2148 20.1944 53.3771 19.619 53.3771 18.8663V16.6298C53.3771 15.081 52.7843 14.3065 51.5985 14.3065ZM63.1807 14.3065C62.5737 14.3065 62.1043 14.5056 61.7726 14.9036C61.4409 15.3017 61.275 15.8771 61.275 16.6298V18.8663C61.275 20.4151 61.8679 21.1896 63.0536 21.1896C63.6747 21.1896 64.1476 20.9905 64.4723 20.5925C64.7969 20.1944 64.9593 19.619 64.9593 18.8663V16.6298C64.9593 15.081 64.3664 14.3065 63.1807 14.3065ZM97.186 14.3065C96.0003 14.3065 95.4074 15.081 95.4074 16.6298V18.8663C95.4074 19.619 95.5662 20.1944 95.8838 20.5925C96.2014 20.9905 96.6637 21.1896 97.2707 21.1896C98.4847 21.1896 99.0917 20.4151 99.0917 18.8663V16.6298C99.0917 15.8771 98.9293 15.3017 98.6047 14.9036C98.28 14.5056 97.8071 14.3065 97.186 14.3065ZM40.0587 17.0858H37.8143V20.625H39.8258C41.0821 20.625 41.7103 20.0967 41.7103 19.04V18.6491C41.7103 18.1425 41.5691 17.7553 41.2868 17.4875C41.0045 17.2197 40.5951 17.0858 40.0587 17.0858ZM85.8791 14.2414C85.3709 14.2414 84.9686 14.4006 84.6722 14.7191C84.3758 15.0375 84.2134 15.5804 84.1852 16.3476H87.5942C87.5801 15.6238 87.4425 15.0918 87.1813 14.7516C86.9202 14.4115 86.4861 14.2414 85.8791 14.2414ZM39.5929 11.1147H37.8143V14.3282H39.7411C40.828 14.3282 41.3715 13.8288 41.3715 12.83V12.4826C41.3715 11.5707 40.7786 11.1147 39.5929 11.1147ZM109.693 8.7303C110.172 8.7303 110.346 8.78233 110.521 8.88003C110.696 8.97774 110.834 9.12111 110.928 9.3038C111.021 9.48649 111.071 9.66769 111.071 10.1674V10.9844C111.071 11.4841 111.021 11.6653 110.928 11.848C110.834 12.0307 110.696 12.1741 110.521 12.2718C110.346 12.3695 110.172 12.4215 109.693 12.4215H108.91C108.431 12.4215 108.257 12.3695 108.082 12.2718C107.906 12.1741 107.769 12.0307 107.675 11.848C107.582 11.6653 107.532 11.4841 107.532 10.9844V10.1674C107.532 9.66769 107.582 9.48649 107.675 9.3038C107.769 9.12111 107.906 8.97774 108.082 8.88003C108.257 8.78233 108.431 8.7303 108.91 8.7303H109.693Z",
23
+ fill: "#D2D5E3"
24
+ })
25
+ ]
26
+ })
27
+ }),
28
+ /*#__PURE__*/ jsxs("div", {
29
+ className: "maintenance-page-content",
30
+ children: [
31
+ svg,
32
+ /*#__PURE__*/ jsx("h2", {
33
+ className: "maintenance-page-title",
34
+ children: title
35
+ }),
36
+ /*#__PURE__*/ jsx("h6", {
37
+ className: "maintenance-page-subheading",
38
+ children: subheading
39
+ }),
40
+ /*#__PURE__*/ jsx("h6", {
41
+ className: "maintenance-page-body",
42
+ children: body
43
+ }),
44
+ buttonLabel && /*#__PURE__*/ jsx("button", {
45
+ className: "back-button",
46
+ onClick: onButtonClick,
47
+ children: buttonLabel
48
+ }),
49
+ /*#__PURE__*/ jsx("div", {
50
+ className: "maintenance-page-footer-logo",
51
+ children: /*#__PURE__*/ jsxs("svg", {
52
+ xmlns: "http://www.w3.org/2000/svg",
53
+ width: "155",
54
+ height: "40",
55
+ viewBox: "0 0 155 40",
56
+ fill: "none",
57
+ children: [
58
+ /*#__PURE__*/ jsx("path", {
59
+ d: "M11.9041 7.78943C14.5391 5.08734 15.7689 4.38884 17.2475 3.9293C18.726 3.46976 20.238 3.46976 21.7165 3.9293C23.195 4.38884 24.4249 5.08734 27.0599 7.78943L31.368 12.2072C34.003 14.9093 34.6841 16.1705 35.1323 17.6867C35.5804 19.2028 35.5804 20.7534 35.1323 22.2695C34.6841 23.7857 34.003 25.0468 31.368 27.7489L27.0599 32.1667C24.4249 34.8688 23.195 35.5673 21.7165 36.0269C20.238 36.4864 18.726 36.4864 17.2475 36.0269C15.769 35.5673 14.5391 34.8688 11.9041 32.1667L7.59596 27.7489C4.96096 25.0468 4.27981 23.7857 3.83168 22.2695C3.38355 20.7534 3.38355 19.2028 3.83168 17.6867C4.27981 16.1705 4.96096 14.9093 7.59596 12.2072L11.9041 7.78943ZM14.2721 10.0922L9.9028 14.5728C7.84866 16.6792 7.28634 17.5319 6.95378 18.6571C6.69266 19.5405 6.69266 20.4157 6.95377 21.2991C7.28301 22.413 7.83744 23.2598 9.84162 25.3205L14.2722 29.8639C16.2817 31.9191 17.1075 32.4877 18.1937 32.8253C19.0552 33.0931 19.9087 33.0931 20.7702 32.8253C21.8674 32.4843 22.6989 31.9076 24.753 29.8012L29.0612 25.3834C31.1153 23.2769 31.6776 22.4243 32.0102 21.2991C32.2713 20.4157 32.2713 19.5405 32.0102 18.6571C31.6776 17.5319 31.1153 16.6792 29.0612 14.5728L24.753 10.155C22.6989 8.04856 21.8674 7.47192 20.7702 7.13089C19.9087 6.86312 19.0552 6.86312 18.1938 7.13089C17.1075 7.46851 16.2817 8.03706 14.2721 10.0922ZM25.013 18.3876C25.8889 17.4894 27.309 17.4894 28.1849 18.3876C29.0608 19.2858 29.0608 20.7421 28.1849 21.6403L21.1202 28.8849C20.2443 29.7831 18.8242 29.783 17.9483 28.8849L16.9168 27.8271C16.724 27.6294 16.6742 27.5371 16.6414 27.4262C16.6086 27.3152 16.6086 27.2018 16.6414 27.0909C16.6742 26.9799 16.724 26.8876 16.9168 26.6899L25.013 18.3876ZM13.2188 22.4086C13.4297 22.1923 13.716 22.0711 14.0144 22.0718L18.1406 22.0816C18.3658 22.0821 18.548 22.2697 18.5474 22.5007C18.5472 22.6091 18.5059 22.7132 18.4323 22.791L18.2147 23.0209L15.6414 25.6361C15.4023 25.8792 15.0164 25.8784 14.7783 25.6342L13.2188 24.0349C12.7809 23.5858 12.7809 22.8577 13.2188 22.4086Z",
60
+ fill: "url(#paint0_linear_891_2724)"
61
+ }),
62
+ /*#__PURE__*/ jsx("path", {
63
+ d: "M64.4187 14.4905C66.4655 14.4905 68.0624 15.0333 69.2093 16.1189C70.3563 17.2046 70.9297 18.6974 70.9297 20.5973V23.4471C70.9297 25.4375 70.3518 27.0071 69.1961 28.1561C68.0404 29.3051 66.4479 29.8796 64.4187 29.8796C62.3896 29.8796 60.7971 29.3368 59.6414 28.2511C58.4856 27.1655 57.9077 25.6727 57.9077 23.7728V20.923C57.9077 18.9326 58.4856 17.3629 59.6414 16.2139C60.7971 15.065 62.3896 14.4905 64.4187 14.4905ZM78.8964 14.4905C80.9432 14.4905 82.5401 15.0333 83.687 16.1189C84.8339 17.2046 85.4074 18.6974 85.4074 20.5973V23.4471C85.4074 25.4375 84.8295 27.0071 83.6738 28.1561C82.518 29.3051 80.9256 29.8796 78.8964 29.8796C76.8672 29.8796 75.2748 29.3368 74.119 28.2511C72.9633 27.1655 72.3854 25.6727 72.3854 23.7728V20.923C72.3854 18.9326 72.9633 17.3629 74.119 16.2139C75.2748 15.065 76.8672 14.4905 78.8964 14.4905ZM107.508 14.4905C109.396 14.4905 110.904 15.0559 112.034 16.1868C113.163 17.3177 113.728 18.9326 113.728 21.0315V22.3072C113.728 22.7414 113.653 23.0219 113.503 23.1486C113.353 23.2752 113.048 23.3385 112.589 23.3385H105.205V23.4471C105.205 24.5147 105.373 25.2882 105.708 25.7677C106.043 26.2472 106.687 26.4869 107.64 26.4869C108.099 26.4869 108.483 26.4236 108.791 26.2969C109.1 26.1703 109.352 25.917 109.546 25.537C109.634 25.356 109.744 25.2203 109.877 25.1299C110.009 25.0394 110.243 24.9942 110.578 24.9942H112.642C112.995 24.9942 113.233 25.062 113.357 25.1977C113.481 25.3334 113.542 25.546 113.542 25.8355C113.542 26.2336 113.45 26.6181 113.264 26.9891C113.079 27.36 112.872 27.6812 112.642 27.9526C112.078 28.6221 111.332 29.1106 110.406 29.4182C109.48 29.7258 108.496 29.8796 107.455 29.8796C105.408 29.8796 103.829 29.3503 102.717 28.2918C101.605 27.2333 101.05 25.6546 101.05 23.5557V20.9772C101.05 18.9326 101.619 17.3403 102.757 16.2004C103.895 15.0604 105.479 14.4905 107.508 14.4905ZM126.935 10.175C127.394 10.175 127.698 10.2428 127.848 10.3785C127.998 10.5143 128.073 10.7902 128.073 11.2064V23.7457C128.073 25.6456 127.486 27.1429 126.313 28.2376C125.139 29.3323 123.529 29.8796 121.482 29.8796C119.471 29.8796 117.896 29.3323 116.758 28.2376C115.62 27.1429 115.051 25.6184 115.051 23.6642V20.7058C115.051 18.7878 115.545 17.2724 116.533 16.1597C117.521 15.0469 118.871 14.4905 120.583 14.4905C122.047 14.4905 123.141 14.8614 123.865 15.6033V11.2064C123.865 10.7902 123.94 10.5143 124.09 10.3785C124.24 10.2428 124.544 10.175 125.003 10.175H126.935ZM144.461 10.9128C144.92 10.9128 145.224 10.9807 145.374 11.1164C145.524 11.2521 145.599 11.528 145.599 11.9442V14.9026H147.531C147.937 14.9026 148.211 14.9705 148.352 15.1062C148.493 15.2419 148.564 15.4997 148.564 15.8797V17.2368C148.564 17.6529 148.493 17.9334 148.352 18.0782C148.211 18.2229 147.937 18.2953 147.531 18.2953H145.599V23.995C145.599 24.6464 145.705 25.1168 145.917 25.4063C146.129 25.6958 146.481 25.8406 146.976 25.8406H147.425C147.867 25.8406 148.158 25.9084 148.299 26.0441C148.44 26.1799 148.511 26.4558 148.511 26.872V28.5276C148.511 28.9257 148.44 29.1925 148.299 29.3282C148.158 29.464 147.858 29.5318 147.399 29.5318H146.102C144.408 29.5318 143.2 29.1518 142.476 28.3919C141.753 27.6319 141.391 26.3744 141.391 24.6192V11.9442C141.391 11.528 141.466 11.2521 141.616 11.1164C141.766 10.9807 142.07 10.9128 142.529 10.9128H144.461ZM50.0469 10.175C54.0876 10.175 56.108 11.8035 56.108 15.0604V15.4133C56.108 16.3723 55.883 17.2182 55.433 17.951C54.9831 18.6838 54.3876 19.1769 53.6465 19.4302C54.5287 19.6473 55.239 20.1359 55.7771 20.8958C56.3153 21.6558 56.5844 22.5424 56.5844 23.5557V23.9899C56.5844 25.8898 56.0286 27.2831 54.9169 28.1697C53.8053 29.0563 52.0496 29.4996 49.6499 29.4996H44.1447C43.6859 29.4996 43.3815 29.4318 43.2316 29.2961C43.0816 29.1604 43.0066 28.8844 43.0066 28.4683V11.2064C43.0066 10.7902 43.0816 10.5143 43.2316 10.3785C43.3815 10.2428 43.6859 10.175 44.1447 10.175H50.0469ZM90.3833 10.175C90.842 10.175 91.1464 10.2428 91.2964 10.3785C91.4464 10.5143 91.5214 10.7902 91.5214 11.2064V20.3259L95.465 15.6304C95.765 15.2685 95.9767 15.0514 96.1002 14.979C96.2238 14.9066 96.4267 14.8704 96.709 14.8704H99.3822C99.8586 14.8704 100.097 15.0695 100.097 15.4676C100.097 15.6666 99.9998 15.8656 99.8057 16.0647L95.9944 20.353L100.441 28.3054C100.582 28.5587 100.653 28.7668 100.653 28.9297C100.653 29.3096 100.388 29.4996 99.8586 29.4996H97.2648C96.9472 29.4996 96.7046 29.4453 96.537 29.3368C96.3693 29.2282 96.2061 29.0292 96.0473 28.7397L93.1624 23.3385L91.5214 25.1842V28.4683C91.5214 28.8844 91.4464 29.1604 91.2964 29.2961C91.1464 29.4318 90.842 29.4996 90.3833 29.4996H88.557C88.0983 29.4996 87.7939 29.4318 87.6439 29.2961C87.4939 29.1604 87.4189 28.8844 87.4189 28.4683V11.2064C87.4189 10.7902 87.4939 10.5143 87.6439 10.3785C87.7939 10.2428 88.0983 10.175 88.557 10.175H90.3833ZM137.733 17.8153C138.192 17.8153 138.497 17.8831 138.647 18.0188C138.797 18.1545 138.872 18.4305 138.872 18.8466L138.845 28.4411C138.845 28.8573 138.77 29.1332 138.62 29.2689C138.47 29.4046 138.166 29.4725 137.707 29.4725H135.775C135.316 29.4725 135.012 29.4046 134.862 29.2689C134.712 29.1332 134.637 28.8573 134.637 28.4411L134.663 18.8466C134.663 18.4305 134.738 18.1545 134.888 18.0188C135.038 17.8831 135.343 17.8153 135.801 17.8153H137.733ZM64.4981 17.8831C63.7394 17.8831 63.1527 18.1319 62.7381 18.6295C62.3234 19.1271 62.1161 19.8464 62.1161 20.7873V23.5828C62.1161 25.5189 62.8572 26.4869 64.3393 26.4869C65.1157 26.4869 65.7068 26.2381 66.1126 25.7406C66.5185 25.243 66.7214 24.5237 66.7214 23.5828V20.7873C66.7214 18.8512 65.9803 17.8831 64.4981 17.8831ZM78.9758 17.8831C78.2171 17.8831 77.6304 18.1319 77.2157 18.6295C76.8011 19.1271 76.5938 19.8464 76.5938 20.7873V23.5828C76.5938 25.5189 77.3348 26.4869 78.817 26.4869C79.5934 26.4869 80.1845 26.2381 80.5903 25.7406C80.9962 25.243 81.1991 24.5237 81.1991 23.5828V20.7873C81.1991 18.8512 80.458 17.8831 78.9758 17.8831ZM121.482 17.8831C120 17.8831 119.259 18.8512 119.259 20.7873V23.5828C119.259 24.5237 119.458 25.243 119.855 25.7406C120.252 26.2381 120.83 26.4869 121.588 26.4869C123.106 26.4869 123.865 25.5189 123.865 23.5828V20.7873C123.865 19.8464 123.662 19.1271 123.256 18.6295C122.85 18.1319 122.259 17.8831 121.482 17.8831ZM50.0734 21.3572H47.2678V25.7813H49.7823C51.3527 25.7813 52.1379 25.1208 52.1379 23.7999V23.3114C52.1379 22.6781 51.9614 22.1941 51.6085 21.8593C51.2556 21.5246 50.7439 21.3572 50.0734 21.3572ZM107.349 17.8017C106.714 17.8017 106.211 18.0007 105.84 18.3988C105.47 18.7969 105.267 19.4754 105.231 20.4344H109.493C109.475 19.5297 109.303 18.8647 108.977 18.4395C108.65 18.0143 108.108 17.8017 107.349 17.8017ZM49.4911 13.8934H47.2678V17.9103H49.6764C51.035 17.9103 51.7144 17.286 51.7144 16.0375V15.6033C51.7144 14.4633 50.9733 13.8934 49.4911 13.8934ZM137.116 10.9128C137.715 10.9128 137.933 10.9779 138.152 11.1C138.371 11.2221 138.542 11.4014 138.66 11.6297C138.777 11.8581 138.839 12.0846 138.839 12.7092V13.7305C138.839 14.3551 138.777 14.5816 138.66 14.81C138.542 15.0384 138.371 15.2176 138.152 15.3397C137.933 15.4618 137.715 15.5269 137.116 15.5269H136.137C135.538 15.5269 135.321 15.4618 135.102 15.3397C134.883 15.2176 134.711 15.0384 134.594 14.81C134.477 14.5816 134.415 14.3551 134.415 13.7305V12.7092C134.415 12.0846 134.477 11.8581 134.594 11.6297C134.711 11.4014 134.883 11.2221 135.102 11.1C135.321 10.9779 135.538 10.9128 136.137 10.9128H137.116Z",
64
+ fill: "#121E52"
65
+ }),
66
+ /*#__PURE__*/ jsx("defs", {
67
+ children: /*#__PURE__*/ jsxs("linearGradient", {
68
+ id: "paint0_linear_891_2724",
69
+ x1: "33.2146",
70
+ y1: "15.2",
71
+ x2: "7.01524",
72
+ y2: "26.972",
73
+ gradientUnits: "userSpaceOnUse",
74
+ children: [
75
+ /*#__PURE__*/ jsx("stop", {
76
+ "stop-color": "#6200EE"
77
+ }),
78
+ /*#__PURE__*/ jsx("stop", {
79
+ offset: "0.5",
80
+ "stop-color": "#5D5BF4"
81
+ }),
82
+ /*#__PURE__*/ jsx("stop", {
83
+ offset: "1",
84
+ "stop-color": "#0E8CE2"
85
+ })
86
+ ]
87
+ })
88
+ })
89
+ ]
90
+ })
91
+ })
92
+ ]
93
+ })
94
+ ]
95
+ });
96
+ };
97
+
98
+ export { MaintenancePage };
@@ -0,0 +1,5 @@
1
+ import React from "react";
2
+ import "react-loading-skeleton/dist/skeleton.css";
3
+ import "./Maintenance.scss";
4
+ export declare const SkeletonSidebar: React.FC;
5
+ //# sourceMappingURL=SkeletonSidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkeletonSidebar.d.ts","sourceRoot":"","sources":["../../src/Maintenance/SkeletonSidebar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,0CAA0C,CAAC;AAClD,OAAO,oBAAoB,CAAC;AAE5B,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAkDnC,CAAC"}
@@ -0,0 +1,101 @@
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
2
+ import 'react';
3
+ import Skeleton from 'react-loading-skeleton';
4
+ import 'react-loading-skeleton/dist/skeleton.css';
5
+ import './Maintenance.scss.js';
6
+
7
+ var SkeletonSidebar = function() {
8
+ var skeletonItems = Array.from({
9
+ length: 10
10
+ });
11
+ return /*#__PURE__*/ jsx("div", {
12
+ className: "figmas-admin-sidebar figmas-admin-sidebar--expanded",
13
+ children: /*#__PURE__*/ jsx("div", {
14
+ className: "figmas-admin-sidebar__top",
15
+ children: /*#__PURE__*/ jsxs("div", {
16
+ className: "figmas-admin-sidebar__links",
17
+ children: [
18
+ /*#__PURE__*/ jsx("div", {
19
+ className: "figmas-admin-sidebar__section-label",
20
+ children: /*#__PURE__*/ jsxs("svg", {
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ width: "124",
23
+ height: "32",
24
+ viewBox: "0 0 124 32",
25
+ fill: "none",
26
+ children: [
27
+ /*#__PURE__*/ jsx("path", {
28
+ d: "M9.52321 6.23162C11.6312 4.06995 12.6151 3.51115 13.7979 3.14351C14.9807 2.77588 16.1903 2.77588 17.3731 3.14351C18.5559 3.51115 19.5398 4.06995 21.6478 6.23162L25.0943 9.76587C27.2023 11.9275 27.7473 12.9365 28.1058 14.1494C28.4643 15.3623 28.4643 16.6028 28.1058 17.8157C27.7473 19.0286 27.2023 20.0375 25.0943 22.1992L21.6478 25.7335C19.5398 27.8951 18.556 28.4539 17.3731 28.8216C16.1903 29.1892 14.9807 29.1892 13.7979 28.8216C12.6151 28.4539 11.6312 27.8951 9.52321 25.7335L6.07672 22.1992C3.96872 20.0375 3.4238 19.0286 3.06529 17.8157C2.70679 16.6028 2.70679 15.3623 3.06529 14.1494C3.4238 12.9365 3.96872 11.9275 6.07672 9.76587L9.52321 6.23162ZM11.4177 8.07385L7.92219 11.6583C6.27888 13.3435 5.82902 14.0256 5.56297 14.9257C5.35408 15.6325 5.35408 16.3326 5.56297 17.0394C5.82636 17.9305 6.2699 18.608 7.87325 20.2565L11.4177 23.8912C13.0253 25.5354 13.6859 25.9902 14.555 26.2603C15.2442 26.4745 15.9269 26.4745 16.6161 26.2603C17.4939 25.9875 18.1591 25.5262 19.8024 23.841L23.2489 20.3068C24.8922 18.6216 25.342 17.9395 25.6081 17.0394C25.817 16.3326 25.817 15.6325 25.6081 14.9257C25.342 14.0256 24.8922 13.3435 23.2489 11.6583L19.8024 8.12408C18.1591 6.43893 17.4939 5.97761 16.6161 5.70479C15.9269 5.49057 15.2442 5.49057 14.555 5.70479C13.6859 5.97488 13.0253 6.42972 11.4177 8.07385ZM20.0103 14.7102C20.711 13.9916 21.8471 13.9916 22.5478 14.7102C23.2486 15.4287 23.2486 16.5937 22.5478 17.3123L16.8961 23.108C16.1954 23.8265 15.0593 23.8265 14.3586 23.108L13.5334 22.2618C13.3792 22.1036 13.3393 22.0298 13.3131 21.941C13.2868 21.8523 13.2868 21.7615 13.3131 21.6728C13.3393 21.584 13.3792 21.5102 13.5334 21.352L20.0103 14.7102ZM10.575 17.927C10.7437 17.7539 10.9728 17.6569 11.2114 17.6575L14.5124 17.6653C14.6926 17.6657 14.8383 17.8159 14.8379 18.0006C14.8377 18.0874 14.8047 18.1706 14.7458 18.2329L14.5717 18.4168L12.5131 20.509C12.3218 20.7035 12.0131 20.7028 11.8226 20.5074L10.575 19.228C10.2246 18.8687 10.2246 18.2862 10.575 17.927Z",
29
+ fill: "#D2D5E3"
30
+ }),
31
+ /*#__PURE__*/ jsx("path", {
32
+ d: "M51.535 11.5924C53.1724 11.5924 54.4499 12.0267 55.3675 12.8952C56.285 13.7637 56.7438 14.9579 56.7438 16.4778V18.7577C56.7438 20.35 56.2815 21.6057 55.3569 22.5249C54.4323 23.4441 53.1583 23.9037 51.535 23.9037C49.9117 23.9037 48.6377 23.4694 47.7131 22.6009C46.7885 21.7324 46.3262 20.5382 46.3262 19.0183V16.7384C46.3262 15.1461 46.7885 13.8904 47.7131 12.9712C48.6377 12.052 49.9117 11.5924 51.535 11.5924ZM63.1171 11.5924C64.7546 11.5924 66.0321 12.0267 66.9496 12.8952C67.8672 13.7637 68.3259 14.9579 68.3259 16.4778V18.7577C68.3259 20.35 67.8636 21.6057 66.939 22.5249C66.0144 23.4441 64.7405 23.9037 63.1171 23.9037C61.4938 23.9037 60.2198 23.4694 59.2952 22.6009C58.3706 21.7324 57.9083 20.5382 57.9083 19.0183V16.7384C57.9083 15.1461 58.3706 13.8904 59.2952 12.9712C60.2198 12.052 61.4938 11.5924 63.1171 11.5924ZM86.0062 11.5924C87.5166 11.5924 88.7235 12.0448 89.6269 12.9495C90.5303 13.8542 90.982 15.1461 90.982 16.8252V17.8458C90.982 18.1932 90.922 18.4175 90.8021 18.5189C90.6821 18.6202 90.4386 18.6709 90.0716 18.6709H84.164V18.7577C84.164 19.6118 84.2981 20.2306 84.5663 20.6142C84.8345 20.9978 85.3498 21.1896 86.112 21.1896C86.479 21.1896 86.7861 21.1389 87.0331 21.0376C87.2801 20.9363 87.4813 20.7336 87.6366 20.4296C87.7071 20.2849 87.7954 20.1763 87.9012 20.1039C88.0071 20.0315 88.1941 19.9954 88.4623 19.9954H90.1139C90.3962 19.9954 90.5868 20.0496 90.6856 20.1582C90.7844 20.2668 90.8338 20.4369 90.8338 20.6685C90.8338 20.9869 90.7597 21.2945 90.6115 21.5913C90.4633 21.888 90.2974 22.145 90.1139 22.3621C89.6622 22.8977 89.0658 23.2885 88.3247 23.5346C87.5836 23.7807 86.7967 23.9037 85.9638 23.9037C84.3264 23.9037 83.063 23.4803 82.1737 22.6335C81.2844 21.7867 80.8397 20.5237 80.8397 18.8446V16.7818C80.8397 15.1461 81.295 13.8723 82.2054 12.9603C83.1159 12.0484 84.3828 11.5924 86.0062 11.5924ZM101.548 8.14001C101.915 8.14001 102.158 8.1943 102.278 8.30286C102.398 8.41143 102.458 8.63218 102.458 8.96511V18.9966C102.458 20.5165 101.989 21.7143 101.05 22.5901C100.112 23.4658 98.8235 23.9037 97.186 23.9037C95.5768 23.9037 94.3169 23.4658 93.4065 22.5901C92.496 21.7143 92.0407 20.4948 92.0407 18.9314V16.5647C92.0407 15.0303 92.436 13.818 93.2265 12.9277C94.017 12.0375 95.0968 11.5924 96.4661 11.5924C97.6377 11.5924 98.5129 11.8891 99.0917 12.4826V8.96511C99.0917 8.63218 99.1516 8.41143 99.2716 8.30286C99.3916 8.1943 99.6351 8.14001 100.002 8.14001H101.548ZM115.569 8.7303C115.936 8.7303 116.179 8.78458 116.299 8.89315C116.419 9.00171 116.479 9.22246 116.479 9.5554V11.9221H118.025C118.35 11.9221 118.569 11.9764 118.681 12.085C118.794 12.1935 118.851 12.3998 118.851 12.7038V13.7894C118.851 14.1224 118.794 14.3468 118.681 14.4626C118.569 14.5784 118.35 14.6363 118.025 14.6363H116.479V19.196C116.479 19.7171 116.564 20.0935 116.733 20.3251C116.903 20.5567 117.185 20.6725 117.58 20.6725H117.94C118.293 20.6725 118.526 20.7268 118.639 20.8353C118.752 20.9439 118.809 21.1647 118.809 21.4976V22.8221C118.809 23.1405 118.752 23.3541 118.639 23.4626C118.526 23.5712 118.286 23.6255 117.919 23.6255H116.882C115.527 23.6255 114.56 23.3215 113.981 22.7135C113.402 22.1056 113.113 21.0995 113.113 19.6954V9.5554C113.113 9.22246 113.173 9.00171 113.293 8.89315C113.413 8.78458 113.656 8.7303 114.023 8.7303H115.569ZM40.0375 8.14001C43.2701 8.14001 44.8864 9.4428 44.8864 12.0484V12.3306C44.8864 13.0978 44.7064 13.7746 44.3464 14.3608C43.9865 14.9471 43.5101 15.3415 42.9172 15.5442C43.623 15.7179 44.1912 16.1087 44.6217 16.7167C45.0522 17.3246 45.2675 18.0339 45.2675 18.8446V19.192C45.2675 20.7119 44.8229 21.8265 43.9335 22.5358C43.0442 23.2451 41.6397 23.5997 39.7199 23.5997H35.3158C34.9487 23.5997 34.7052 23.5454 34.5853 23.4369C34.4653 23.3283 34.4053 23.1076 34.4053 22.7746V8.96511C34.4053 8.63218 34.4653 8.41143 34.5853 8.30286C34.7052 8.1943 34.9487 8.14001 35.3158 8.14001H40.0375ZM72.3066 8.14001C72.6736 8.14001 72.9171 8.1943 73.0371 8.30286C73.1571 8.41143 73.2171 8.63218 73.2171 8.96511V16.2607L76.372 12.5043C76.612 12.2148 76.7814 12.0411 76.8802 11.9832C76.979 11.9253 77.1413 11.8964 77.3672 11.8964H79.5058C79.8869 11.8964 80.0775 12.0556 80.0775 12.3741C80.0775 12.5333 79.9998 12.6925 79.8445 12.8518L76.7955 16.2824L80.3527 22.6444C80.4656 22.847 80.5221 23.0135 80.5221 23.1438C80.5221 23.4477 80.3104 23.5997 79.8869 23.5997H77.8118C77.5578 23.5997 77.3637 23.5563 77.2296 23.4694C77.0955 23.3826 76.9649 23.2234 76.8378 22.9918L74.5299 18.6709L73.2171 20.1473V22.7746C73.2171 23.1076 73.1571 23.3283 73.0371 23.4369C72.9171 23.5454 72.6736 23.5997 72.3066 23.5997H70.8456C70.4786 23.5997 70.2351 23.5454 70.1151 23.4369C69.9951 23.3283 69.9351 23.1076 69.9351 22.7746V8.96511C69.9351 8.63218 69.9951 8.41143 70.1151 8.30286C70.2351 8.1943 70.4786 8.14001 70.8456 8.14001H72.3066ZM110.187 14.2522C110.554 14.2522 110.797 14.3065 110.917 14.4151C111.037 14.5237 111.097 14.7444 111.097 15.0773L111.076 22.7529C111.076 23.0859 111.016 23.3066 110.896 23.4152C110.776 23.5237 110.533 23.578 110.166 23.578H108.62C108.253 23.578 108.009 23.5237 107.889 23.4152C107.769 23.3066 107.709 23.0859 107.709 22.7529L107.731 15.0773C107.731 14.7444 107.791 14.5237 107.911 14.4151C108.031 14.3065 108.274 14.2522 108.641 14.2522H110.187ZM51.5985 14.3065C50.9915 14.3065 50.5222 14.5056 50.1904 14.9036C49.8587 15.3017 49.6929 15.8771 49.6929 16.6298V18.8663C49.6929 20.4151 50.2857 21.1896 51.4715 21.1896C52.0926 21.1896 52.5655 20.9905 52.8901 20.5925C53.2148 20.1944 53.3771 19.619 53.3771 18.8663V16.6298C53.3771 15.081 52.7843 14.3065 51.5985 14.3065ZM63.1807 14.3065C62.5737 14.3065 62.1043 14.5056 61.7726 14.9036C61.4409 15.3017 61.275 15.8771 61.275 16.6298V18.8663C61.275 20.4151 61.8679 21.1896 63.0536 21.1896C63.6747 21.1896 64.1476 20.9905 64.4723 20.5925C64.7969 20.1944 64.9593 19.619 64.9593 18.8663V16.6298C64.9593 15.081 64.3664 14.3065 63.1807 14.3065ZM97.186 14.3065C96.0003 14.3065 95.4074 15.081 95.4074 16.6298V18.8663C95.4074 19.619 95.5662 20.1944 95.8838 20.5925C96.2014 20.9905 96.6637 21.1896 97.2707 21.1896C98.4847 21.1896 99.0917 20.4151 99.0917 18.8663V16.6298C99.0917 15.8771 98.9293 15.3017 98.6047 14.9036C98.28 14.5056 97.8071 14.3065 97.186 14.3065ZM40.0587 17.0858H37.8143V20.625H39.8258C41.0821 20.625 41.7103 20.0967 41.7103 19.04V18.6491C41.7103 18.1425 41.5691 17.7553 41.2868 17.4875C41.0045 17.2197 40.5951 17.0858 40.0587 17.0858ZM85.8791 14.2414C85.3709 14.2414 84.9686 14.4006 84.6722 14.7191C84.3758 15.0375 84.2134 15.5804 84.1852 16.3476H87.5942C87.5801 15.6238 87.4425 15.0918 87.1813 14.7516C86.9202 14.4115 86.4861 14.2414 85.8791 14.2414ZM39.5929 11.1147H37.8143V14.3282H39.7411C40.828 14.3282 41.3715 13.8288 41.3715 12.83V12.4826C41.3715 11.5707 40.7786 11.1147 39.5929 11.1147ZM109.693 8.7303C110.172 8.7303 110.346 8.78233 110.521 8.88003C110.696 8.97774 110.834 9.12111 110.928 9.3038C111.021 9.48649 111.071 9.66769 111.071 10.1674V10.9844C111.071 11.4841 111.021 11.6653 110.928 11.848C110.834 12.0307 110.696 12.1741 110.521 12.2718C110.346 12.3695 110.172 12.4215 109.693 12.4215H108.91C108.431 12.4215 108.257 12.3695 108.082 12.2718C107.906 12.1741 107.769 12.0307 107.675 11.848C107.582 11.6653 107.532 11.4841 107.532 10.9844V10.1674C107.532 9.66769 107.582 9.48649 107.675 9.3038C107.769 9.12111 107.906 8.97774 108.082 8.88003C108.257 8.78233 108.431 8.7303 108.91 8.7303H109.693Z",
33
+ fill: "#D2D5E3"
34
+ })
35
+ ]
36
+ })
37
+ }),
38
+ /*#__PURE__*/ jsx("div", {
39
+ className: "figmas-admin-sidebar__section-label",
40
+ children: /*#__PURE__*/ jsxs("div", {
41
+ className: "figmas-admin-sidebar__link-item",
42
+ children: [
43
+ /*#__PURE__*/ jsx("svg", {
44
+ xmlns: "http://www.w3.org/2000/svg",
45
+ width: "47",
46
+ height: "47",
47
+ viewBox: "0 0 47 47",
48
+ fill: "none",
49
+ children: /*#__PURE__*/ jsx("circle", {
50
+ cx: "23.5",
51
+ cy: "23.5",
52
+ r: "23",
53
+ fill: "white",
54
+ stroke: "#E8E9EF"
55
+ })
56
+ }),
57
+ /*#__PURE__*/ jsxs("div", {
58
+ className: "venue-skeleton-items",
59
+ children: [
60
+ /*#__PURE__*/ jsx(Skeleton, {
61
+ className: "venue-skeleton-item",
62
+ width: 87,
63
+ height: 15
64
+ }),
65
+ /*#__PURE__*/ jsx("h6", {
66
+ className: "venue-name",
67
+ children: "Venue ID:"
68
+ })
69
+ ]
70
+ })
71
+ ]
72
+ })
73
+ }),
74
+ skeletonItems.map(function(_, index) {
75
+ return /*#__PURE__*/ jsx("div", {
76
+ className: "figmas-admin-sidebar__section-label",
77
+ children: /*#__PURE__*/ jsxs("div", {
78
+ className: "figmas-admin-sidebar__link-item",
79
+ children: [
80
+ /*#__PURE__*/ jsx(Skeleton, {
81
+ circle: true,
82
+ className: "venue-skeleton-item",
83
+ width: 24,
84
+ height: 24
85
+ }),
86
+ /*#__PURE__*/ jsx(Skeleton, {
87
+ className: "skeleton-item",
88
+ width: 87,
89
+ height: 15
90
+ })
91
+ ]
92
+ })
93
+ }, index);
94
+ })
95
+ ]
96
+ })
97
+ })
98
+ });
99
+ };
100
+
101
+ export { SkeletonSidebar };
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ export type AppContext = 'dashboard' | 'app' | 'admin' | 'iframe';
3
+ interface PageNotFoundProps {
4
+ app?: AppContext;
5
+ buttonLabel?: string;
6
+ onButtonClick?: () => void;
7
+ }
8
+ export declare const PageNotFound: React.FC<PageNotFoundProps>;
9
+ export {};
10
+ //# sourceMappingURL=PageNotFound.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PageNotFound.d.ts","sourceRoot":"","sources":["../../src/PageNotFound/PageNotFound.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,KAAK,GAAG,OAAO,GAAG,QAAQ,CAAA;AAEjE,UAAU,iBAAiB;IACzB,GAAG,CAAC,EAAE,UAAU,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA8BpD,CAAA"}
@@ -0,0 +1,42 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import 'react';
3
+ import { MaintenancePage } from '../Maintenance/MaintenancePage.js';
4
+
5
+ var PageNotFound = function(param) {
6
+ var app = param.app, buttonLabel = param.buttonLabel, onButtonClick = param.onButtonClick;
7
+ var defaultLabels = {
8
+ dashboard: 'Back to Dashboard',
9
+ app: 'Back to App',
10
+ admin: 'Back to Admin',
11
+ iframe: 'Back'
12
+ };
13
+ var resolvedLabel = buttonLabel !== null && buttonLabel !== void 0 ? buttonLabel : app ? defaultLabels[app] : 'Back';
14
+ var handleClick = onButtonClick !== null && onButtonClick !== void 0 ? onButtonClick : function() {
15
+ return window.location.href = "/";
16
+ };
17
+ return /*#__PURE__*/ jsx("div", {
18
+ children: /*#__PURE__*/ jsx("div", {
19
+ className: "page-not-found-container",
20
+ children: /*#__PURE__*/ jsx(MaintenancePage, {
21
+ svg: /*#__PURE__*/ jsx("svg", {
22
+ xmlns: "http://www.w3.org/2000/svg",
23
+ width: "64",
24
+ height: "64",
25
+ viewBox: "0 0 64 64",
26
+ fill: "none",
27
+ children: /*#__PURE__*/ jsx("path", {
28
+ d: "M18 50H22V48H40V44H44V48H48V52H22V54H18V52H15.9863C14.8893 51.9997 14.0001 51.0894 14 50.0166V44H18V50ZM22 44H18V40H22V44ZM49.999 44H46V38H49.999V44ZM18 40H14V30H18V40ZM54 38H50V34H54V38ZM46 34H42V30H46V34ZM14 30H10V26H14V30ZM49.999 22V30H46V24H38V22H40V18H38V16H36V12H40L49.999 22ZM22 14H26V12H32V16H26V18H22V16H16V20H18V26H14V20H12V16H14V13.9834C14.0001 12.888 14.8951 12 15.9971 12H22V14ZM38 22H34V18H38V22Z",
29
+ fill: "#626A90"
30
+ })
31
+ }),
32
+ title: "Page not found.",
33
+ subheading: "It looks like that page doesn’t exist.",
34
+ body: "Typing in the URL again or retrace your steps. If you continue to experience problems contact your account manager.",
35
+ buttonLabel: resolvedLabel,
36
+ onButtonClick: handleClick
37
+ })
38
+ })
39
+ });
40
+ };
41
+
42
+ export { PageNotFound };
@@ -0,0 +1,2 @@
1
+ export { PageNotFound } from './PageNotFound';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/PageNotFound/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA"}
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import './UnderMaintenance.scss';
3
+ export declare const UnderMaintenance: React.FC;
4
+ //# sourceMappingURL=UnderMaintenance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UnderMaintenance.d.ts","sourceRoot":"","sources":["../../src/UnderMaintenance/UnderMaintenance.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,yBAAyB,CAAA;AAGhC,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAiBpC,CAAA"}
@@ -0,0 +1,39 @@
1
+ import { jsx, jsxs } from 'react/jsx-runtime';
2
+ import 'react';
3
+ import './UnderMaintenance.scss.js';
4
+ import { SkeletonSidebar } from '../Maintenance/SkeletonSidebar.js';
5
+ import { MaintenancePage } from '../Maintenance/MaintenancePage.js';
6
+
7
+ var UnderMaintenance = function() {
8
+ return /*#__PURE__*/ jsx("div", {
9
+ children: /*#__PURE__*/ jsxs("div", {
10
+ className: "under-maintenance-container",
11
+ style: {
12
+ display: 'flex',
13
+ height: '100vh',
14
+ width: '100vw',
15
+ background: 'var(--surfaces-main-background-secondary, #FFFFFF)'
16
+ },
17
+ children: [
18
+ /*#__PURE__*/ jsx(SkeletonSidebar, {}),
19
+ /*#__PURE__*/ jsx(MaintenancePage, {
20
+ svg: /*#__PURE__*/ jsx("svg", {
21
+ xmlns: "http://www.w3.org/2000/svg",
22
+ width: "64",
23
+ height: "64",
24
+ viewBox: "0 0 64 64",
25
+ fill: "none",
26
+ children: /*#__PURE__*/ jsx("path", {
27
+ d: "M32 12C43.0456 12 52 20.9543 52 32C52 43.0456 43.0456 52 32 52C20.9543 52 12 43.0456 12 32C12 20.9543 20.9543 12 32 12ZM32 16C23.1634 16 16 23.1634 16 32C16 40.8366 23.1634 48 32 48C40.8366 48 48 40.8366 48 32C48 23.1634 40.8366 16 32 16ZM32 32C37.5228 32 42 36.4772 42 42H38C38 38.6863 35.3137 36 32 36C28.6863 36 26 38.6863 26 42H22C22 36.4772 26.4772 32 32 32ZM27 24C28.6569 24 30 25.3431 30 27C30 28.6569 28.6569 30 27 30C25.3431 30 24 28.6569 24 27C24 25.3431 25.3431 24 27 24ZM37 24C38.6569 24 40 25.3431 40 27C40 28.6569 38.6569 30 37 30C35.3431 30 34 28.6569 34 27C34 25.3431 35.3431 24 37 24Z",
28
+ fill: "#626A90"
29
+ })
30
+ }),
31
+ title: "Oops, we didn’t want you to see us like this.",
32
+ subheading: "We are undergoing maintenance at the moment and will be back online shortly. Sorry for any inconvenience."
33
+ })
34
+ ]
35
+ })
36
+ });
37
+ };
38
+
39
+ export { UnderMaintenance };
@@ -0,0 +1,6 @@
1
+ import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
2
+
3
+ var css_248z = ".under-maintenance-container{background:var(--surfaces-main-background-secondary,#fff);display:flex;height:100vh;width:100vw}";
4
+ styleInject(css_248z);
5
+
6
+ export { css_248z as default };
@@ -0,0 +1,2 @@
1
+ export { UnderMaintenance } from './UnderMaintenance';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/UnderMaintenance/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Authorizer.d.ts","sourceRoot":"","sources":["../../src/auth/Authorizer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAA;AASnE,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAA;CACnC;AAED,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,2CAgFzC;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}
1
+ {"version":3,"file":"Authorizer.d.ts","sourceRoot":"","sources":["../../src/auth/Authorizer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAoC,MAAM,OAAO,CAAA;AASnE,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAA;CACnC;AAED,iBAAS,UAAU,CAAC,KAAK,EAAE,eAAe,2CAiFzC;AAED,OAAO,EAAE,UAAU,EAAE,CAAA"}