@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
@@ -0,0 +1,168 @@
1
+ /* Button Component Styles based on Figma design */
2
+
3
+ .new-button {
4
+ display: flex;
5
+ gap: var(--spacing-sm, 8px);
6
+ align-items: center;
7
+ justify-content: center;
8
+ padding: var(--spacing-sm, 8px) var(--spacing-reg, 16px);
9
+ border-radius: var(--radius-md, 4px);
10
+ font-family: var(--font-family-sans, 'Geist', sans-serif);
11
+ font-weight: var(--heading-h5-weight, 600);
12
+ font-size: var(--text-reg-size, 15px);
13
+ line-height: var(--text-reg-line, 18px);
14
+ border: none;
15
+ cursor: pointer;
16
+ transition: all 0.2s ease;
17
+ white-space: nowrap;
18
+
19
+ // Primary Button - Solid with gradient
20
+ &--primary {
21
+ background: linear-gradient(
22
+ 180deg,
23
+ rgba(255, 255, 255, 0.2) 0%,
24
+ var(--purples-purple-500) 5.77%,
25
+ var(--purples-purple-700) 95.19%,
26
+ var(--purples-purple-900) 100%
27
+ ),
28
+ linear-gradient(
29
+ 180deg,
30
+ var(--purples-purple-50) 0%,
31
+ var(--purples-purple-900) 100%
32
+ ),
33
+ linear-gradient(90deg, var(--purples-purple-500) 0%, var(--purples-purple-500) 100%);
34
+ color: var(--labels-main-label-white, #ffffff);
35
+
36
+ &:hover {
37
+ background-color: var(--fills-main-fill-action, #6200ee);
38
+ }
39
+
40
+ &:active,
41
+ &:focus {
42
+ background-color: var(--fills-main-fill-action, #6200ee);
43
+ }
44
+ }
45
+
46
+ // Primary - Soft
47
+ &--primary-soft {
48
+ background-color: var(--surfaces-main-background-action-soft, #efe6fd);
49
+ color: var(--labels-main-label-action, #6200ee);
50
+
51
+ &:hover {
52
+ background-color: var(--surfaces-main-background-action-soft-hover, #ceb0fa);
53
+ }
54
+
55
+ &:active {
56
+ background-color: var(--surfaces-main-background-action-soft-pressed, #965ff4);
57
+ color: var(--labels-main-label-white, #ffffff);
58
+ }
59
+ }
60
+
61
+ // Primary - Outline
62
+ &--primary-outline {
63
+ border: 2px solid var(--fills-main-fill-action, #6200ee);
64
+ background-color: transparent;
65
+ color: var(--labels-main-label-action, #6200ee);
66
+
67
+ &:hover {
68
+ border: 2px solid var(--fills-main-fill-action, #6200ee);
69
+ background-color: var(--surfaces-main-background-action-soft, #efe6fd);
70
+ }
71
+
72
+ &:active {
73
+ background-color: var(--surfaces-main-background-action-soft, #efe6fd);
74
+ }
75
+ }
76
+
77
+ // Secondary Button
78
+ &--secondary {
79
+ background: linear-gradient(
80
+ 180deg,
81
+ rgba(255, 255, 255, 0.2) 0%,
82
+ var(--neutrals-gray-200) 5.77%,
83
+ var(--purples-purple-700) 95.19%,
84
+ var(--purples-purple-900) 100%
85
+ ),
86
+ linear-gradient(
87
+ 180deg,
88
+ var(--neutrals-gray-200) 0%,
89
+ var(--fills-main-fill-secondary) 100%
90
+ ),
91
+ linear-gradient(90deg, var(--fills-main-fill-secondary) 0%, var(--fills-main-fill-secondary) 100%);
92
+ color: var(--labels-main-label-white, #ffffff);
93
+
94
+ &:hover,
95
+ &:active {
96
+ // Same gradient for hover/pressed states
97
+ }
98
+ }
99
+
100
+ // Destructive - Soft
101
+ &--destructive-soft {
102
+ background-color: var(--surfaces-main-background-danger-soft, #fceceb);
103
+ color: var(--labels-main-label-danger, #cc3c35);
104
+
105
+ &:hover {
106
+ background-color: var(--surfaces-main-background-danger-soft-hover, #f5c4c2);
107
+ }
108
+
109
+ &:active {
110
+ background-color: var(--surfaces-main-background-danger-soft-pressed, #e66861);
111
+ color: var(--labels-main-label-white, #ffffff);
112
+ }
113
+ }
114
+
115
+ // Destructive - Strong
116
+ &--destructive-strong {
117
+ background: linear-gradient(
118
+ 180deg,
119
+ rgba(255, 255, 255, 0.2) 0%,
120
+ var(--red-red) 5.77%,
121
+ var(--red-red-dark) 95.19%,
122
+ var(--red-red-darkest) 100%
123
+ ),
124
+ linear-gradient(
125
+ 180deg,
126
+ var(--red-red-lighter) 0%,
127
+ var(--red-red-darkest) 100%
128
+ ),
129
+ linear-gradient(90deg, var(--red-red-dark) 0%, var(--red-red-dark) 100%);
130
+ color: var(--labels-main-label-white, #ffffff);
131
+
132
+ &:hover,
133
+ &:active {
134
+ background-color: var(--fills-main-fill-danger, #cc3c35);
135
+ }
136
+ }
137
+
138
+ // Info Button
139
+ &--info {
140
+ background-color: var(--surfaces-status-background-info, #e7f4fc);
141
+ color: var(--labels-status-label-info, #0d7fce);
142
+
143
+ &:hover,
144
+ &:active {
145
+ // Same background for hover/pressed states
146
+ }
147
+ }
148
+
149
+ // Disabled state
150
+ &:disabled,
151
+ &--disabled {
152
+ background-color: var(--surfaces-status-background-disabled, #d2d5e3);
153
+ color: var(--labels-status-label-disabled, #9399b3);
154
+ cursor: not-allowed;
155
+ pointer-events: none;
156
+ }
157
+
158
+ // Text styling
159
+ p {
160
+ margin: 0;
161
+ font-family: inherit;
162
+ font-weight: inherit;
163
+ font-size: inherit;
164
+ line-height: inherit;
165
+ color: inherit;
166
+ }
167
+ }
168
+
@@ -0,0 +1,172 @@
1
+ /* New Form Input Styles based on Figma design tokens */
2
+
3
+ .new-form-input {
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: var(--spacing-xs, 4px);
7
+ width: 100%;
8
+
9
+ &__label {
10
+ font-family: var(--font-family-sans, 'Geist', sans-serif);
11
+ font-size: var(--text-sm-size, 13px);
12
+ font-weight: var(--heading-h5-weight, 500);
13
+ line-height: var(--text-sm-line, 16px);
14
+ color: var(--labels-main-label-primary, #121e52);
15
+ margin: 0;
16
+ }
17
+
18
+ &__label-optional {
19
+ font-family: var(--font-family-sans, 'Geist', sans-serif);
20
+ font-size: var(--text-xs-size, 11px);
21
+ font-weight: var(--heading-h6-weight, 500);
22
+ line-height: var(--text-xs-line, 14px);
23
+ color: var(--labels-main-label-secondary, #626a90);
24
+ text-align: right;
25
+ }
26
+
27
+ &__label-row {
28
+ display: flex;
29
+ justify-content: space-between;
30
+ align-items: center;
31
+ gap: var(--spacing-reg, 16px);
32
+ width: 100%;
33
+ }
34
+
35
+ &__input {
36
+ font-family: var(--font-family-sans, 'Geist', sans-serif);
37
+ font-size: var(--text-sm-size, 13px);
38
+ line-height: var(--text-sm-line, 16px);
39
+ color: var(--labels-main-label-primary, #121e52);
40
+ background-color: var(--surfaces-main-background-secondary, #f8f8fa);
41
+ border: 2px solid var(--borders-main-border-primary, #e8e9ef);
42
+ border-radius: var(--radius-md, 4px);
43
+ padding: 8px 10px;
44
+ height: 40px;
45
+ width: 100%;
46
+ transition: all 0.2s ease;
47
+
48
+ &:focus {
49
+ outline: none;
50
+ border-color: var(--borders-main-border-selected, #121e52);
51
+ background-color: var(--surfaces-main-background-secondary, #f8f8fa);
52
+ }
53
+
54
+ &::placeholder {
55
+ color: var(--labels-main-label-secondary, #626a90);
56
+ }
57
+ }
58
+
59
+ &__textarea {
60
+ font-family: var(--font-family-sans, 'Geist', sans-serif);
61
+ font-size: var(--text-sm-size, 13px);
62
+ line-height: var(--text-sm-line, 16px);
63
+ color: var(--labels-main-label-primary, #121e52);
64
+ background-color: var(--surfaces-main-background-secondary, #f8f8fa);
65
+ border: 1px solid var(--borders-main-border-primary, #e8e9ef);
66
+ border-radius: var(--radius-md, 4px);
67
+ padding: 8px 10px;
68
+ min-height: 120px;
69
+ width: 100%;
70
+ resize: vertical;
71
+ transition: all 0.2s ease;
72
+
73
+ &:focus {
74
+ outline: none;
75
+ border-color: var(--borders-main-border-selected, #121e52);
76
+ }
77
+
78
+ &::placeholder {
79
+ color: var(--labels-main-label-secondary, #626a90);
80
+ }
81
+ }
82
+
83
+ &__input-with-icon {
84
+ display: flex;
85
+ align-items: center;
86
+ gap: var(--spacing-sm, 8px);
87
+ background-color: var(--surfaces-main-background-secondary, #f8f8fa);
88
+ border: 2px solid var(--borders-main-border-primary, #e8e9ef);
89
+ border-radius: var(--radius-md, 4px);
90
+ padding: 5px;
91
+ height: 40px;
92
+
93
+ input {
94
+ flex: 1;
95
+ border: none;
96
+ background: transparent;
97
+ font-family: var(--font-family-sans, 'Geist', sans-serif);
98
+ font-size: var(--text-sm-size, 13px);
99
+ line-height: var(--text-sm-line, 16px);
100
+ color: var(--labels-main-label-primary, #121e52);
101
+
102
+ &:focus {
103
+ outline: none;
104
+ }
105
+
106
+ &::placeholder {
107
+ color: var(--labels-main-label-secondary, #626a90);
108
+ }
109
+ }
110
+
111
+ .icon {
112
+ width: 22px;
113
+ height: 22px;
114
+ flex-shrink: 0;
115
+ }
116
+ }
117
+
118
+ &__verification-code {
119
+ display: flex;
120
+ gap: var(--spacing-sm, 8px);
121
+ height: 62px;
122
+
123
+ .code-input {
124
+ flex: 1;
125
+ background-color: var(--surfaces-main-background-secondary, #f8f8fa);
126
+ border: 2px solid var(--borders-main-border-primary, #e8e9ef);
127
+ border-radius: var(--radius-md, 4px);
128
+ text-align: center;
129
+ font-family: var(--font-family-sans, 'Geist', sans-serif);
130
+ font-size: var(--text-lg-size, 18px);
131
+ font-weight: var(--heading-h3-weight, 600);
132
+ color: var(--labels-main-label-primary, #121e52);
133
+ transition: all 0.2s ease;
134
+
135
+ &:focus {
136
+ outline: none;
137
+ border-color: var(--borders-main-border-selected, #121e52);
138
+ }
139
+ }
140
+ }
141
+
142
+ &__helper-text {
143
+ font-family: var(--font-family-sans, 'Geist', sans-serif);
144
+ font-size: var(--text-sm-size, 13px);
145
+ font-weight: 400;
146
+ line-height: var(--text-sm-line, 16px);
147
+ color: var(--labels-main-label-secondary, #626a90);
148
+ margin: 0;
149
+ }
150
+
151
+ // States
152
+ &--active {
153
+ .new-form-input__input {
154
+ border-color: var(--borders-main-border-selected, #121e52);
155
+ }
156
+ }
157
+
158
+ &--error {
159
+ .new-form-input__input {
160
+ border-color: var(--borders-status-border-error, #ef4444);
161
+ }
162
+
163
+ .new-form-input__helper-text {
164
+ color: var(--labels-status-label-error, #ef4444);
165
+ }
166
+ }
167
+
168
+ &--disabled {
169
+ opacity: var(--opacity-50, 0.5);
170
+ pointer-events: none;
171
+ }
172
+ }
@@ -0,0 +1,5 @@
1
+ @import './tokens/aliases';
2
+ @import './tokens/colors';
3
+ @import './tokens/sizes';
4
+ @import './tokens/status';
5
+ @import './tokens/typography';
@@ -0,0 +1,17 @@
1
+ .navigation {
2
+ width: 100%;
3
+ height: 100%;
4
+ padding: 8px;
5
+ background: var(--surfaces-main-background-secondary, #F8F8FA);
6
+ border-right: 1px solid var(--borders-main-border-primary, #E8E9EF);
7
+ display: inline-flex;
8
+ flex-direction: column;
9
+ justify-content: flex-start;
10
+ align-items: flex-start;
11
+ overflow-y: auto;
12
+ transition: all 0.3s ease;
13
+
14
+ &--collapsed {
15
+ width: 76px;
16
+ }
17
+ }
@@ -0,0 +1,86 @@
1
+ @import '../../../overrides/functions';
2
+
3
+ .navigation-item {
4
+ width: 100%;
5
+ flex: 1 1 0;
6
+ padding: 8px;
7
+ border-radius: 8px;
8
+ display: flex;
9
+ justify-content: flex-start;
10
+ align-items: center;
11
+ gap: 8px;
12
+ border: none;
13
+ background: transparent;
14
+ cursor: pointer;
15
+ transition: all 0.2s ease;
16
+ text-decoration: none;
17
+ outline: none;
18
+
19
+ &:hover {
20
+ background: linear-gradient(225deg, var(--gradients-stop1, #6200EE) 0%, var(--gradients-stop2, #5D5BF4) 50%, var(--gradients-stop3, #0E8CE2) 100%);
21
+
22
+ .navigation-item__icon svg,
23
+ .navigation-item__icon path {
24
+ fill: var(--fills-main-fill-white, white);
25
+ color: var(--fills-main-fill-white, white);
26
+ }
27
+
28
+ .navigation-item__label {
29
+ color: var(--labels-main-label-white, white);
30
+ }
31
+ }
32
+
33
+ &:focus-visible {
34
+ outline: 2px solid var(--fills-main-fill-primary, #14215A);
35
+ outline-offset: 2px;
36
+ }
37
+
38
+ &--active {
39
+ background: linear-gradient(225deg, var(--gradients-stop1, #6200EE) 0%, var(--gradients-stop2, #5D5BF4) 50%, var(--gradients-stop3, #0E8CE2) 100%);
40
+
41
+ .navigation-item__icon svg,
42
+ .navigation-item__icon path {
43
+ fill: var(--fills-main-fill-white, white);
44
+ color: var(--fills-main-fill-white, white);
45
+ }
46
+
47
+ .navigation-item__label {
48
+ color: var(--labels-main-label-white, white);
49
+ font-weight: 600;
50
+ }
51
+ }
52
+
53
+ &--collapsed {
54
+ justify-content: center;
55
+ gap: 0;
56
+ }
57
+
58
+ &__icon {
59
+ width: 24px;
60
+ height: 24px;
61
+ position: relative;
62
+ overflow: hidden;
63
+ border-radius: 6px;
64
+ display: flex;
65
+ align-items: center;
66
+ justify-content: center;
67
+ flex-shrink: 0;
68
+
69
+ svg,
70
+ img {
71
+ width: 18px;
72
+ height: 18px;
73
+ color: var(--fills-main-fill-primary, #14215A);
74
+ }
75
+ }
76
+
77
+ &__label {
78
+ color: var(--labels-main-label-primary, #121E52);
79
+ font-size: 13px;
80
+ font-family: Geist, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
81
+ font-weight: 500;
82
+ line-height: 16px;
83
+ word-wrap: break-word;
84
+ white-space: nowrap;
85
+ }
86
+ }
@@ -0,0 +1,26 @@
1
+ .navigation-section {
2
+ align-self: stretch;
3
+ padding: 8px 8px 0;
4
+ display: flex;
5
+ flex-direction: column;
6
+ justify-content: center;
7
+ align-items: flex-start;
8
+ gap: 8px;
9
+
10
+ &--collapsed {
11
+ padding-top: 8px;
12
+ padding-left: 8px;
13
+ padding-right: 8px;
14
+ align-items: flex-start; // Keep left-aligned like expanded
15
+ }
16
+
17
+ &__title {
18
+ color: var(--labels-main-label-secondary, #626A90);
19
+ font-size: 13px;
20
+ font-family: Geist, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
21
+ font-weight: 500;
22
+ line-height: 16px;
23
+ word-wrap: break-word;
24
+ text-transform: none !important; // Override any global uppercase rules
25
+ }
26
+ }
@@ -0,0 +1,9 @@
1
+ @import './NavigationItem.scss';
2
+ @import './NavigationSection.scss';
3
+ @import './Navigation.scss';
4
+ @import './FigmasSideBar.scss';
5
+ @import './FigmasAdminSideBar.scss';
6
+ @import './FigmasTopHat.scss';
7
+ @import './TopHatControlDisc.scss';
8
+ @import './SideBarToggleLarge.scss';
9
+ @import './SidebarUserElement.scss';
@@ -0,0 +1,199 @@
1
+ /* Color aliases - semantic mappings for color tokens
2
+ * These are structured aliases that map semantic names to color values
3
+ * Spec: https://www.figma.com/design/HPb8SEwQH2rrFAD2sRlKei/BKIT---Booked-Kit?node-id=32-474
4
+ */
5
+
6
+ /*
7
+ * The Alias system maps semantic names to color values
8
+ * Format: var(--[category]/[subcategory]/[specific-name], #fallback)
9
+ *
10
+ * Current aliases found in design:
11
+ */
12
+
13
+ :root {
14
+ /* Labels - Text colors */
15
+ --labels-main-label-primary: #121e52;
16
+ --labels-main-label-secondary: #626a90;
17
+ --labels-main-label-tertiary: #979db2;
18
+ --labels-main-label-disabled: #c2c7d4;
19
+ --labels-main-label-inverse: #ffffff;
20
+ --labels-main-label-action: #6200ee;
21
+ --labels-main-label-danger: #cc3c35;
22
+ --labels-main-label-white: #ffffff;
23
+ --labels-status-label-disabled: #9399b3;
24
+ --labels-status-label-info: #0d7fce;
25
+
26
+ /* Surfaces - Background colors */
27
+ --surfaces-main-background-primary: #ffffff;
28
+ --surfaces-main-background-secondary: #f8f8fa;
29
+ --surfaces-main-background-secondary-hover: #e8e9ef;
30
+ --surfaces-main-background-secondary-pressed: #d2d5e3;
31
+ --surfaces-main-background-tertiary: #e8e9ef;
32
+ --surfaces-main-background-active: #e8e9ef;
33
+ --surfaces-main-background-focus: #ffffff;
34
+
35
+ /* Action surfaces */
36
+ --surfaces-main-background-action-soft: #efe6fd;
37
+ --surfaces-main-background-action-soft-hover: #ceb0fa;
38
+ --surfaces-main-background-action-soft-pressed: #965ff4;
39
+
40
+ /* Danger surfaces */
41
+ --surfaces-main-background-danger-soft: #fceceb;
42
+ --surfaces-main-background-danger-soft-hover: #f5c4c2;
43
+ --surfaces-main-background-danger-soft-pressed: #e66861;
44
+
45
+ /* Status surfaces */
46
+ --surfaces-status-background-disabled: #d2d5e3;
47
+ --surfaces-status-background-info: #e7f4fc;
48
+
49
+ /* Borders */
50
+ --borders-main-border-primary: #e8e9ef;
51
+ --borders-main-border-secondary: #d4d6dd;
52
+ --borders-main-border-colour-overlay: rgba(18, 30, 82, 0.1);
53
+ --borders-main-border-focus: #7000eb;
54
+ --borders-main-border-action: #6200ee;
55
+ --borders-main-border-selected: #121e52;
56
+
57
+ /* Fills */
58
+ --fills-main-fill-primary: #14215a;
59
+ --fills-main-fill-secondary: #626a90;
60
+ --fills-main-fill-disabled: #c2c7d4;
61
+ --fills-main-fill-action: #6200ee;
62
+ --fills-main-fill-danger: #cc3c35;
63
+ --fills-main-fill-white: rgba(255, 255, 255, 1);
64
+
65
+ /* Surfaces - Color variants */
66
+ --surfaces-colour-teal: #e9faf7;
67
+ --surfaces-colour-orange: #fff2e8;
68
+ --surfaces-colour-green: #f0f9f0;
69
+ --surfaces-colour-red: #fefafa;
70
+
71
+ /* Neutrals for gradients */
72
+ --neutrals-gray-200: rgba(147, 153, 179, 1);
73
+
74
+ /* Purples for gradients */
75
+ --purples-purple-50: rgba(239, 230, 253, 1);
76
+ --purples-purple-500: rgba(98, 0, 238, 1);
77
+ --purples-purple-700: rgba(70, 0, 169, 1);
78
+ --purples-purple-900: rgba(41, 0, 100, 1);
79
+
80
+ /* Reds for gradients */
81
+ --red-red: rgba(224, 66, 58, 1);
82
+ --red-red-lighter: rgba(245, 196, 194, 1);
83
+ --red-red-dark: rgba(204, 60, 53, 1);
84
+ --red-red-darkest: rgba(94, 28, 24, 1);
85
+
86
+ /* Opacity aliases */
87
+ --opacity-100-percent: 1;
88
+ --opacity-90-percent: 0.9;
89
+ --opacity-80-percent: 0.8;
90
+ --opacity-70-percent: 0.7;
91
+ --opacity-60-percent: 0.6;
92
+ --opacity-50-percent: 0.5;
93
+ --opacity-40-percent: 0.4;
94
+ --opacity-30-percent: 0.3;
95
+ --opacity-20-percent: 0.2;
96
+ --opacity-10-percent: 0.1;
97
+ --opacity-0-percent: 0;
98
+
99
+ /* Spacing aliases (for compatibility with Figma's /25, /50, /100) */
100
+ --spacing-25: 4px;
101
+ --spacing-50: 8px;
102
+ --spacing-100: 16px;
103
+
104
+ /* Radius aliases (for compatibility with Figma's /50) */
105
+ --radius-50: 4px;
106
+ }
107
+
108
+ /*
109
+ * Helper mixins for using semantic color aliases
110
+ */
111
+ @mixin label-primary {
112
+ color: var(--labels-main-label-primary, #121e52);
113
+ }
114
+
115
+ @mixin label-secondary {
116
+ color: var(--labels-main-label-secondary, #626a90);
117
+ }
118
+
119
+ @mixin label-tertiary {
120
+ color: var(--labels-main-label-tertiary, #979db2);
121
+ }
122
+
123
+ @mixin label-disabled {
124
+ color: var(--labels-main-label-disabled, #c2c7d4);
125
+ }
126
+
127
+ @mixin surface-primary {
128
+ background-color: var(--surfaces-main-background-primary, #ffffff);
129
+ }
130
+
131
+ @mixin surface-secondary {
132
+ background-color: var(--surfaces-main-background-secondary, #f8f8fa);
133
+ }
134
+
135
+ @mixin surface-secondary-hover {
136
+ background-color: var(--surfaces-main-background-secondary-hover, #e8e9ef);
137
+ }
138
+
139
+ @mixin surface-tertiary {
140
+ background-color: var(--surfaces-main-background-tertiary, #e8e9ef);
141
+ }
142
+
143
+ @mixin border-primary {
144
+ border-color: var(--borders-main-border-primary, #e8e9ef);
145
+ }
146
+
147
+ @mixin border-colour-overlay {
148
+ border-color: var(--borders-main-border-colour-overlay, rgba(18, 30, 82, 0.1));
149
+ }
150
+
151
+ @mixin fill-primary {
152
+ fill: var(--fills-main-fill-primary, #14215a);
153
+ }
154
+
155
+ @mixin fill-secondary {
156
+ fill: var(--fills-main-fill-secondary, #626a90);
157
+ }
158
+
159
+ @mixin fill-disabled {
160
+ fill: var(--fills-main-fill-disabled, #c2c7d4);
161
+ }
162
+
163
+ @mixin label-inverse {
164
+ color: var(--labels-main-label-inverse, #ffffff);
165
+ }
166
+
167
+ @mixin border-secondary {
168
+ border-color: var(--borders-main-border-secondary, #d4d6dd);
169
+ }
170
+
171
+ @mixin border-focus {
172
+ border-color: var(--borders-main-border-focus, #7000eb);
173
+ }
174
+
175
+ @mixin surface-active {
176
+ background-color: var(--surfaces-main-background-active, #e8e9ef);
177
+ }
178
+
179
+ @mixin surface-focus {
180
+ background-color: var(--surfaces-main-background-focus, #ffffff);
181
+ }
182
+
183
+ /* Spacing shortcut mixins */
184
+ @mixin spacing-25 {
185
+ padding: var(--spacing-25, 4px);
186
+ }
187
+
188
+ @mixin spacing-50 {
189
+ padding: var(--spacing-50, 8px);
190
+ }
191
+
192
+ @mixin spacing-100 {
193
+ padding: var(--spacing-100, 16px);
194
+ }
195
+
196
+ /* Radius shortcut mixin */
197
+ @mixin radius-50 {
198
+ border-radius: var(--radius-50, 4px);
199
+ }