@cuemath/leap 3.2.11-j1 → 3.2.11-mb

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/dist/assets/illustrations/illustrations.js +0 -5
  2. package/dist/assets/illustrations/illustrations.js.map +1 -1
  3. package/dist/assets/lottie/lottie.js +0 -10
  4. package/dist/assets/lottie/lottie.js.map +1 -1
  5. package/dist/features/auth/account-selector/account-selector.js +25 -26
  6. package/dist/features/auth/account-selector/account-selector.js.map +1 -1
  7. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js +14 -20
  8. package/dist/features/auth/comps/auth-page-layout/auth-page-layout.js.map +1 -1
  9. package/dist/features/auth/comps/resend-otp/resend-otp.js +47 -54
  10. package/dist/features/auth/comps/resend-otp/resend-otp.js.map +1 -1
  11. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js +17 -29
  12. package/dist/features/auth/comps/tabs/tab-tem/tab-item.js.map +1 -1
  13. package/dist/features/auth/comps/tabs/tabs-styled.js +10 -22
  14. package/dist/features/auth/comps/tabs/tabs-styled.js.map +1 -1
  15. package/dist/features/auth/comps/tabs/tabs.js +5 -5
  16. package/dist/features/auth/comps/tabs/tabs.js.map +1 -1
  17. package/dist/features/auth/comps/user-list/user-item/user-item.js +31 -30
  18. package/dist/features/auth/comps/user-list/user-item/user-item.js.map +1 -1
  19. package/dist/features/auth/comps/user-list/user-list.js +34 -35
  20. package/dist/features/auth/comps/user-list/user-list.js.map +1 -1
  21. package/dist/features/auth/forgot-password/forgot-password-styled.js +15 -14
  22. package/dist/features/auth/forgot-password/forgot-password-styled.js.map +1 -1
  23. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js +7 -6
  24. package/dist/features/auth/login/identifier-otp-form/identifier-otp-form-styled.js.map +1 -1
  25. package/dist/features/auth/login/login-styled.js +9 -8
  26. package/dist/features/auth/login/login-styled.js.map +1 -1
  27. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js +98 -121
  28. package/dist/features/circle-games/game-launcher/hooks/use-game-launcher-journey/use-game-launcher-journey.js.map +1 -1
  29. package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js +28 -29
  30. package/dist/features/circle-games/game-launcher/hooks/use-table-infinite-launcher-journey/use-table-infinite-launcher-journey.js.map +1 -1
  31. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js +42 -43
  32. package/dist/features/circle-games/game-launcher/hooks/use-table-launcher-journey/use-table-launcher-journey.js.map +1 -1
  33. package/dist/features/circle-games/games/tutorial/tutorial.js +35 -43
  34. package/dist/features/circle-games/games/tutorial/tutorial.js.map +1 -1
  35. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input-styled.js +2 -2
  36. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input-styled.js.map +1 -1
  37. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input.js +1 -1
  38. package/dist/features/circle-games/sign-up/comp/grade-input/grade-input.js.map +1 -1
  39. package/dist/features/circle-games/sign-up/comp/username-input/username-input.js +24 -26
  40. package/dist/features/circle-games/sign-up/comp/username-input/username-input.js.map +1 -1
  41. package/dist/features/circle-games/sign-up/constants.js +1 -3
  42. package/dist/features/circle-games/sign-up/constants.js.map +1 -1
  43. package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js +42 -42
  44. package/dist/features/cue-canvas/hooks/use-canvas-sync-broker.js.map +1 -1
  45. package/dist/features/hooks/use-viewport/use-viewport.js +22 -0
  46. package/dist/features/hooks/use-viewport/use-viewport.js.map +1 -0
  47. package/dist/features/journey/comps/coachmark/coachmark.js +17 -18
  48. package/dist/features/journey/comps/coachmark/coachmark.js.map +1 -1
  49. package/dist/features/ui/error/error.js +27 -65
  50. package/dist/features/ui/error/error.js.map +1 -1
  51. package/dist/features/ui/image/image.js +1 -1
  52. package/dist/features/ui/image/image.js.map +1 -1
  53. package/dist/features/ui/modals/modal-styled.js +28 -35
  54. package/dist/features/ui/modals/modal-styled.js.map +1 -1
  55. package/dist/features/ui/modals/modal.js +14 -40
  56. package/dist/features/ui/modals/modal.js.map +1 -1
  57. package/dist/features/ui/streak-icon/streak-icon-styled.js +13 -13
  58. package/dist/features/ui/streak-icon/streak-icon-styled.js.map +1 -1
  59. package/dist/features/ui/streak-icon/streak-icon.js +15 -17
  60. package/dist/features/ui/streak-icon/streak-icon.js.map +1 -1
  61. package/dist/features/ui/text/text.js +36 -40
  62. package/dist/features/ui/text/text.js.map +1 -1
  63. package/dist/features/ui/theme/button.js +78 -78
  64. package/dist/features/ui/theme/button.js.map +1 -1
  65. package/dist/features/ui/theme/constants.js +2 -4
  66. package/dist/features/ui/theme/constants.js.map +1 -1
  67. package/dist/features/ui/theme/get-device.js +3 -3
  68. package/dist/features/ui/theme/get-device.js.map +1 -1
  69. package/dist/features/worksheet/worksheet/constants.js +13 -12
  70. package/dist/features/worksheet/worksheet/constants.js.map +1 -1
  71. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js +260 -246
  72. package/dist/features/worksheet/worksheet/worksheet-question/worksheet-question.js.map +1 -1
  73. package/dist/features/worksheet/worksheet/worksheet-styled.js +28 -37
  74. package/dist/features/worksheet/worksheet/worksheet-styled.js.map +1 -1
  75. package/dist/features/worksheet/worksheet/worksheet.js +164 -166
  76. package/dist/features/worksheet/worksheet/worksheet.js.map +1 -1
  77. package/dist/index.d.ts +15 -149
  78. package/dist/index.js +432 -458
  79. package/dist/index.js.map +1 -1
  80. package/dist/node_modules/query-string/base.js +1 -1
  81. package/dist/node_modules/query-string/node_modules/decode-uri-component/index.js.map +1 -0
  82. package/dist/node_modules/uuid/dist/esm-browser/regex.js +5 -0
  83. package/dist/node_modules/uuid/dist/esm-browser/regex.js.map +1 -0
  84. package/dist/node_modules/uuid/dist/esm-browser/rng.js +2 -3
  85. package/dist/node_modules/uuid/dist/esm-browser/rng.js.map +1 -1
  86. package/dist/node_modules/uuid/dist/esm-browser/stringify.js +10 -6
  87. package/dist/node_modules/uuid/dist/esm-browser/stringify.js.map +1 -1
  88. package/dist/node_modules/uuid/dist/esm-browser/v4.js +9 -12
  89. package/dist/node_modules/uuid/dist/esm-browser/v4.js.map +1 -1
  90. package/dist/node_modules/uuid/dist/esm-browser/validate.js +8 -0
  91. package/dist/node_modules/uuid/dist/esm-browser/validate.js.map +1 -0
  92. package/package.json +1 -1
  93. package/dist/assets/line-icons/icons/after-noon.js +0 -34
  94. package/dist/assets/line-icons/icons/after-noon.js.map +0 -1
  95. package/dist/assets/line-icons/icons/apple-icon-white.js +0 -42
  96. package/dist/assets/line-icons/icons/apple-icon-white.js.map +0 -1
  97. package/dist/assets/line-icons/icons/evening.js +0 -35
  98. package/dist/assets/line-icons/icons/evening.js.map +0 -1
  99. package/dist/assets/line-icons/icons/morning.js +0 -35
  100. package/dist/assets/line-icons/icons/morning.js.map +0 -1
  101. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js +0 -9
  102. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-constants.js.map +0 -1
  103. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js +0 -65
  104. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message-styled.js.map +0 -1
  105. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js +0 -92
  106. package/dist/features/auth/comps/animated-avatar-message/animated-avatar-message.js.map +0 -1
  107. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js +0 -12
  108. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar-styled.js.map +0 -1
  109. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js +0 -34
  110. package/dist/features/auth/comps/linear-progress-bar/linear-progress-bar.js.map +0 -1
  111. package/dist/features/auth/comps/otp-input/otp-input-styled.js +0 -22
  112. package/dist/features/auth/comps/otp-input/otp-input-styled.js.map +0 -1
  113. package/dist/features/auth/comps/otp-input/otp-input.js +0 -51
  114. package/dist/features/auth/comps/otp-input/otp-input.js.map +0 -1
  115. package/dist/features/auth/comps/pill-button/pill-button-styled.js +0 -44
  116. package/dist/features/auth/comps/pill-button/pill-button-styled.js.map +0 -1
  117. package/dist/features/auth/comps/pill-button/pill-button.js +0 -75
  118. package/dist/features/auth/comps/pill-button/pill-button.js.map +0 -1
  119. package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js +0 -17
  120. package/dist/features/auth/comps/selectable-info-card/selectable-info-card-styled.js.map +0 -1
  121. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js +0 -67
  122. package/dist/features/auth/comps/selectable-info-card/selectable-info-card.js.map +0 -1
  123. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js +0 -19
  124. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-constants.js.map +0 -1
  125. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js +0 -32
  126. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide-styled.js.map +0 -1
  127. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js +0 -44
  128. package/dist/features/auth/signup-v2/onboarding-guide/onboarding-guide.js.map +0 -1
  129. package/dist/features/auth/signup-v2/signup-header/signup-header.js +0 -54
  130. package/dist/features/auth/signup-v2/signup-header/signup-header.js.map +0 -1
  131. package/dist/features/auth/signup-v2/signup-options/signup-options.js +0 -73
  132. package/dist/features/auth/signup-v2/signup-options/signup-options.js.map +0 -1
  133. package/dist/features/ui/sticker-grid/sticker-grid-styles.js +0 -86
  134. package/dist/features/ui/sticker-grid/sticker-grid-styles.js.map +0 -1
  135. package/dist/features/ui/sticker-grid/sticker-grid.js +0 -24
  136. package/dist/features/ui/sticker-grid/sticker-grid.js.map +0 -1
  137. package/dist/features/ui/sticker-grid/sticker.js +0 -57
  138. package/dist/features/ui/sticker-grid/sticker.js.map +0 -1
  139. package/dist/features/ui/stickers/constants.js +0 -6
  140. package/dist/features/ui/stickers/constants.js.map +0 -1
  141. package/dist/features/ui/stickers/stickers-effects.js +0 -64
  142. package/dist/features/ui/stickers/stickers-effects.js.map +0 -1
  143. package/dist/features/ui/stickers/stickers-styled.js +0 -29
  144. package/dist/features/ui/stickers/stickers-styled.js.map +0 -1
  145. package/dist/features/ui/stickers/stickers-utils.js +0 -91
  146. package/dist/features/ui/stickers/stickers-utils.js.map +0 -1
  147. package/dist/features/ui/stickers/stickers.js +0 -40
  148. package/dist/features/ui/stickers/stickers.js.map +0 -1
  149. package/dist/node_modules/decode-uri-component/index.js.map +0 -1
  150. package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -7
  151. package/dist/node_modules/uuid/dist/esm-browser/native.js.map +0 -1
  152. package/dist/static/animated-avatar.1ad58b1d.json +0 -1
  153. package/dist/static/animated-avatar.69b07505.json +0 -1
  154. package/dist/static/animated-avatar.9c560b46.json +0 -1
  155. package/dist/static/calendar-purple.1a840b41.svg +0 -1
  156. package/dist/static/flying-disk.c7f6ed39.json +0 -1
  157. package/dist/static/graduation-cap.3be3340a.json +0 -1
  158. package/dist/static/handshake.287e7dfb.svg +0 -1
  159. package/dist/static/light-bulb.c6db0b23.json +0 -1
  160. package/dist/static/money.332aacf1.svg +0 -1
  161. package/dist/static/muscle.9bcfb8a7.json +0 -1
  162. package/dist/static/parent-avatar.822c7b9b.svg +0 -1
  163. package/dist/static/pencil.23df9da0.json +0 -1
  164. package/dist/static/plus-sign.de6af957.json +0 -1
  165. package/dist/static/racing-car.2cbf864e.json +0 -1
  166. package/dist/static/rocket.0a3ccab0.json +0 -1
  167. package/dist/static/shovel.abeec04c.json +0 -1
  168. package/dist/static/trustpilot.bd3d79e1.svg +0 -1
  169. /package/dist/node_modules/{decode-uri-component → query-string/node_modules/decode-uri-component}/index.js +0 -0
@@ -1,35 +1,23 @@
1
1
  import s from "styled-components";
2
- import i from "../../../ui/layout/flex-view.js";
3
- const d = s.div(({ theme: o, $tabsCount: r, $background: t }) => {
4
- const { colors: e } = o;
2
+ import p from "../../../ui/text/text.js";
3
+ const d = s.div(({ theme: r, $tabsCount: o }) => {
4
+ const { colors: t } = r;
5
5
  return `
6
6
  display: grid;
7
- background: ${e[t]};
8
- grid-template-columns: repeat(${r}, 1fr);
7
+ background: ${t.BLACK_4};
8
+ grid-template-columns: repeat(${o}, 1fr);
9
9
  `;
10
- }), c = s(i)(({ theme: o, $selected: r }) => {
11
- const { layout: t, colors: e } = o, { WHITE_T_15: n, WHITE: p } = e;
10
+ }), l = s(p)(({ theme: r, $selected: o }) => {
11
+ const { layout: t, colors: e } = r, { WHITE_T_15: n, WHITE: a } = e;
12
12
  return `
13
13
  cursor: pointer;
14
14
  padding: ${t.gutter * 0.875}px 0;
15
- border-bottom: 1.5px solid ${r ? p : n};
15
+ border-bottom: 1.5px solid ${o ? a : n};
16
16
  transition: all 0.3s ease;
17
17
  `;
18
- }), g = s.div(({ theme: o, $iconPosition: r, $selected: t }) => `
19
- ${r === "left" ? "padding-right" : "padding-left"}: 4px;
20
- order: ${r === "left" ? -1 : 1};
21
-
22
- & svg {
23
- display: ${t ? "block" : "none"};
24
- width: 16px;
25
- height: 16px;
26
- color: ${o.colors.WHITE_1};
27
- transition: color 0.2s ease-in-out;
28
- }
29
- `);
18
+ });
30
19
  export {
31
- g as Icon,
32
- c as TabWrapper,
20
+ l as TabsText,
33
21
  d as TabsWrapper
34
22
  };
35
23
  //# sourceMappingURL=tabs-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs-styled.js","sources":["../../../../../src/features/auth/comps/tabs/tabs-styled.tsx"],"sourcesContent":["import type { TColorNames } from '../../../ui/types';\nimport type { ITabItem } from './tabs-types';\n\nimport styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\ninterface TabsWrapperProps {\n $tabsCount: number;\n $background: TColorNames;\n}\n\nconst TabsWrapper = styled.div<TabsWrapperProps>(({ theme, $tabsCount, $background }) => {\n const { colors } = theme;\n\n return `\n display: grid;\n background: ${colors[$background]};\n grid-template-columns: repeat(${$tabsCount}, 1fr);\n `;\n});\n\ninterface ITabsText {\n $selected?: boolean;\n}\n\nconst TabWrapper = styled(FlexView)<ITabsText>(({ theme, $selected }) => {\n const { layout, colors } = theme;\n const { WHITE_T_15, WHITE } = colors;\n\n return `\n cursor: pointer;\n padding: ${layout.gutter * 0.875}px 0;\n border-bottom: 1.5px solid ${$selected ? WHITE : WHITE_T_15};\n transition: all 0.3s ease;\n `;\n});\n\ninterface IStyledIconProps {\n $iconPosition: NonNullable<ITabItem['iconPosition']>;\n $selected: boolean;\n}\n\nconst Icon = styled.div<IStyledIconProps>(({ theme, $iconPosition, $selected }) => {\n return `\n ${$iconPosition === 'left' ? 'padding-right' : 'padding-left'}: 4px;\n order: ${$iconPosition === 'left' ? -1 : 1};\n \n & svg {\n display: ${$selected ? 'block' : 'none'};\n width: 16px;\n height: 16px;\n color: ${theme.colors.WHITE_1};\n transition: color 0.2s ease-in-out;\n }\n `;\n});\n\nexport { TabsWrapper, Icon, TabWrapper };\n"],"names":["TabsWrapper","styled","theme","$tabsCount","$background","colors","TabWrapper","FlexView","$selected","layout","WHITE_T_15","WHITE","Icon","$iconPosition"],"mappings":";;AAYM,MAAAA,IAAcC,EAAO,IAAsB,CAAC,EAAE,OAAAC,GAAO,YAAAC,GAAY,aAAAC,QAAkB;AACjF,QAAA,EAAE,QAAAC,EAAW,IAAAH;AAEZ,SAAA;AAAA;AAAA,kBAESG,EAAOD,CAAW,CAAC;AAAA,oCACDD,CAAU;AAAA;AAE9C,CAAC,GAMKG,IAAaL,EAAOM,CAAQ,EAAa,CAAC,EAAE,OAAAL,GAAO,WAAAM,QAAgB;AACjE,QAAA,EAAE,QAAAC,GAAQ,QAAAJ,EAAW,IAAAH,GACrB,EAAE,YAAAQ,GAAY,OAAAC,EAAU,IAAAN;AAEvB,SAAA;AAAA;AAAA,eAEMI,EAAO,SAAS,KAAK;AAAA,iCACHD,IAAYG,IAAQD,CAAU;AAAA;AAAA;AAG/D,CAAC,GAOKE,IAAOX,EAAO,IAAsB,CAAC,EAAE,OAAAC,GAAO,eAAAW,GAAe,WAAAL,QAC1D;AAAA,MACHK,MAAkB,SAAS,kBAAkB,cAAc;AAAA,aACpDA,MAAkB,SAAS,KAAK,CAAC;AAAA;AAAA;AAAA,iBAG7BL,IAAY,UAAU,MAAM;AAAA;AAAA;AAAA,eAG9BN,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA,OAIlC;"}
1
+ {"version":3,"file":"tabs-styled.js","sources":["../../../../../src/features/auth/comps/tabs/tabs-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport Text from '../../../ui/text/text';\n\ninterface TabsWrapperProps {\n $tabsCount: number;\n}\n\nconst TabsWrapper = styled.div<TabsWrapperProps>(({ theme, $tabsCount }) => {\n const { colors } = theme;\n\n return `\n display: grid;\n background: ${colors.BLACK_4};\n grid-template-columns: repeat(${$tabsCount}, 1fr);\n `;\n});\n\ninterface ITabsText {\n $selected?: boolean;\n}\n\nconst TabsText = styled(Text)<ITabsText>(({ theme, $selected }) => {\n const { layout, colors } = theme;\n const { WHITE_T_15, WHITE } = colors;\n\n return `\n cursor: pointer;\n padding: ${layout.gutter * 0.875}px 0;\n border-bottom: 1.5px solid ${$selected ? WHITE : WHITE_T_15};\n transition: all 0.3s ease;\n `;\n});\n\nexport { TabsWrapper, TabsText };\n"],"names":["TabsWrapper","styled","theme","$tabsCount","colors","TabsText","Text","$selected","layout","WHITE_T_15","WHITE"],"mappings":";;AAQA,MAAMA,IAAcC,EAAO,IAAsB,CAAC,EAAE,OAAAC,GAAO,YAAAC,QAAiB;AACpE,QAAA,EAAE,QAAAC,EAAW,IAAAF;AAEZ,SAAA;AAAA;AAAA,kBAESE,EAAO,OAAO;AAAA,oCACID,CAAU;AAAA;AAE9C,CAAC,GAMKE,IAAWJ,EAAOK,CAAI,EAAa,CAAC,EAAE,OAAAJ,GAAO,WAAAK,QAAgB;AAC3D,QAAA,EAAE,QAAAC,GAAQ,QAAAJ,EAAW,IAAAF,GACrB,EAAE,YAAAO,GAAY,OAAAC,EAAU,IAAAN;AAEvB,SAAA;AAAA;AAAA,eAEMI,EAAO,SAAS,KAAK;AAAA,iCACHD,IAAYG,IAAQD,CAAU;AAAA;AAAA;AAG/D,CAAC;"}
@@ -1,9 +1,9 @@
1
1
  import { jsx as m } from "react/jsx-runtime";
2
- import { memo as p } from "react";
3
- import s from "./tab-tem/tab-item.js";
4
- import { TabsWrapper as a } from "./tabs-styled.js";
5
- const n = ({ selectedTab: t, onChange: e, tabs: o, background: i = "BLACK_4" }) => /* @__PURE__ */ m(a, { $tabsCount: o.length, $background: i, children: o.map((r) => /* @__PURE__ */ m(s, { tab: r, isSelected: r.id === t, onChange: e }, r.id)) }), u = p(n);
2
+ import { memo as i } from "react";
3
+ import p from "./tab-tem/tab-item.js";
4
+ import { TabsWrapper as s } from "./tabs-styled.js";
5
+ const a = ({ selectedTab: t, onChange: e, tabs: o }) => /* @__PURE__ */ m(s, { $tabsCount: o.length, children: o.map((r) => /* @__PURE__ */ m(p, { tab: r, isSelected: r.id === t, onChange: e }, r.id)) }), l = i(a);
6
6
  export {
7
- u as default
7
+ l as default
8
8
  };
9
9
  //# sourceMappingURL=tabs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.js","sources":["../../../../../src/features/auth/comps/tabs/tabs.tsx"],"sourcesContent":["import type { ITabsProps } from './tabs-types';\n\nimport { memo } from 'react';\n\nimport TabItem from './tab-tem/tab-item';\nimport * as Styled from './tabs-styled';\n\nconst Tabs = ({ selectedTab, onChange, tabs, background = 'BLACK_4' }: ITabsProps) => {\n return (\n <Styled.TabsWrapper $tabsCount={tabs.length} $background={background}>\n {tabs.map(tab => (\n <TabItem key={tab.id} tab={tab} isSelected={tab.id === selectedTab} onChange={onChange} />\n ))}\n </Styled.TabsWrapper>\n );\n};\n\nexport default memo(Tabs);\n"],"names":["Tabs","selectedTab","onChange","tabs","background","jsx","Styled.TabsWrapper","TabItem","tab","memo"],"mappings":";;;;AAOA,MAAMA,IAAO,CAAC,EAAE,aAAAC,GAAa,UAAAC,GAAU,MAAAC,GAAM,YAAAC,IAAa,gBAEtD,gBAAAC,EAACC,GAAA,EAAmB,YAAYH,EAAK,QAAQ,aAAaC,GACvD,UAAKD,EAAA,IAAI,OACP,gBAAAE,EAAAE,GAAA,EAAqB,KAAAC,GAAU,YAAYA,EAAI,OAAOP,GAAa,UAAAC,EAAtD,GAAAM,EAAI,EAAsE,CACzF,EACH,CAAA,GAIWL,IAAAM,EAAKT,CAAI;"}
1
+ {"version":3,"file":"tabs.js","sources":["../../../../../src/features/auth/comps/tabs/tabs.tsx"],"sourcesContent":["import type { ITabsProps } from './tabs-types';\n\nimport { memo } from 'react';\n\nimport TabItem from './tab-tem/tab-item';\nimport * as Styled from './tabs-styled';\n\nconst Tabs = ({ selectedTab, onChange, tabs }: ITabsProps) => {\n return (\n <Styled.TabsWrapper $tabsCount={tabs.length}>\n {tabs.map(tab => (\n <TabItem key={tab.id} tab={tab} isSelected={tab.id === selectedTab} onChange={onChange} />\n ))}\n </Styled.TabsWrapper>\n );\n};\n\nexport default memo(Tabs);\n"],"names":["Tabs","selectedTab","onChange","tabs","jsx","Styled.TabsWrapper","tab","TabItem","memo"],"mappings":";;;;AAOA,MAAMA,IAAO,CAAC,EAAE,aAAAC,GAAa,UAAAC,GAAU,MAAAC,QAEnC,gBAAAC,EAACC,GAAA,EAAmB,YAAYF,EAAK,QAClC,YAAK,IAAI,CAAAG,wBACPC,GAAqB,EAAA,KAAAD,GAAU,YAAYA,EAAI,OAAOL,GAAa,UAAAC,EAAtD,GAAAI,EAAI,EAAsE,CACzF,EACH,CAAA,GAIWH,IAAAK,EAAKR,CAAI;"}
@@ -1,49 +1,50 @@
1
- import { jsxs as h, jsx as t } from "react/jsx-runtime";
2
- import { memo as g, useCallback as A } from "react";
3
- import u from "../../../../ui/avatar/avatar.js";
4
- import C from "../../../../ui/separator/separator.js";
5
- import I from "../../../../ui/text/text.js";
6
- import { AVATAR_CONFIGURATIONS as m } from "../user-list-constants.js";
7
- import { UserItemCard as b } from "./user-item-styled.js";
8
- const d = ({
1
+ import { jsxs as g, jsx as t } from "react/jsx-runtime";
2
+ import { memo as u, useCallback as C } from "react";
3
+ import A from "../../../../hooks/use-viewport/use-viewport.js";
4
+ import I from "../../../../ui/avatar/avatar.js";
5
+ import b from "../../../../ui/separator/separator.js";
6
+ import d from "../../../../ui/text/text.js";
7
+ import { AVATAR_CONFIGURATIONS as a } from "../user-list-constants.js";
8
+ import { UserItemCard as k } from "./user-item-styled.js";
9
+ const T = ({
9
10
  id: r,
10
- phone: n,
11
- username: s,
11
+ phone: s,
12
+ username: n,
12
13
  avatar: i,
13
- index: e,
14
+ index: o,
14
15
  isLastItem: c,
15
- onSelect: o,
16
- avatarSize: l,
17
- maxColumns: $,
18
- cardSize: a
16
+ onSelect: e,
17
+ avatarSize: p,
18
+ maxColumns: l,
19
+ cardSize: m
19
20
  }) => {
20
- const p = A(() => {
21
- o(r);
22
- }, [r, o]), f = i ?? m[e % m.length];
23
- return /* @__PURE__ */ h(
24
- b,
21
+ const { isCompact: $ } = A(), f = C(() => {
22
+ e(r);
23
+ }, [r, e]), h = i ?? a[o % a.length];
24
+ return /* @__PURE__ */ g(
25
+ k,
25
26
  {
26
- onClick: p,
27
- maxColumns: $,
27
+ onClick: f,
28
+ maxColumns: l,
28
29
  $gutterX: 1.5,
29
30
  $gapX: 1.5,
30
- $width: a,
31
- $height: a,
31
+ $width: m,
32
+ $height: m,
32
33
  $alignItems: "center",
33
34
  $justifyContent: "center",
34
- index: e,
35
+ index: o,
35
36
  isLastItem: c,
36
37
  $background: "BLACK_1",
37
38
  children: [
38
- /* @__PURE__ */ t(u, { size: l, avatar: f }),
39
- /* @__PURE__ */ t(C, { heightX: 0.5 }),
40
- /* @__PURE__ */ t(I, { $color: "WHITE", $renderOnTabletAs: "ab3", $renderAs: "ab2", $align: "center", children: s || n })
39
+ /* @__PURE__ */ t(I, { size: p, avatar: h }),
40
+ /* @__PURE__ */ t(b, { heightX: 0.5 }),
41
+ /* @__PURE__ */ t(d, { $color: "WHITE", $renderAs: $ ? "ab3" : "ab2", $align: "center", children: n || s })
41
42
  ]
42
43
  },
43
44
  r
44
45
  );
45
- }, X = g(d);
46
+ }, R = u(T);
46
47
  export {
47
- X as default
48
+ R as default
48
49
  };
49
50
  //# sourceMappingURL=user-item.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"user-item.js","sources":["../../../../../../src/features/auth/comps/user-list/user-item/user-item.tsx"],"sourcesContent":["import type { IUserItemProps } from './user-item-types';\n\nimport { useCallback, type FC, memo } from 'react';\n\nimport Avatar from '../../../../ui/avatar/avatar';\nimport Separator from '../../../../ui/separator/separator';\nimport Text from '../../../../ui/text/text';\nimport { AVATAR_CONFIGURATIONS } from '../user-list-constants';\nimport * as Styled from './user-item-styled';\n\nconst UserItem: FC<IUserItemProps> = ({\n id,\n phone,\n username,\n avatar,\n index,\n isLastItem,\n onSelect,\n avatarSize,\n maxColumns,\n cardSize,\n}) => {\n const handleClick = useCallback(() => {\n onSelect(id);\n }, [id, onSelect]);\n\n const avatarSource = avatar ?? AVATAR_CONFIGURATIONS[index % AVATAR_CONFIGURATIONS.length];\n\n return (\n <Styled.UserItemCard\n key={id}\n onClick={handleClick}\n maxColumns={maxColumns}\n $gutterX={1.5}\n $gapX={1.5}\n $width={cardSize}\n $height={cardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n index={index}\n isLastItem={isLastItem}\n $background=\"BLACK_1\"\n >\n <Avatar size={avatarSize} avatar={avatarSource} />\n <Separator heightX={0.5} />\n <Text $color=\"WHITE\" $renderOnTabletAs=\"ab3\" $renderAs=\"ab2\" $align=\"center\">\n {username || phone}\n </Text>\n </Styled.UserItemCard>\n );\n};\n\nexport default memo(UserItem);\n"],"names":["UserItem","id","phone","username","avatar","index","isLastItem","onSelect","avatarSize","maxColumns","cardSize","handleClick","useCallback","avatarSource","AVATAR_CONFIGURATIONS","jsxs","Styled.UserItemCard","jsx","Avatar","Separator","Text","UserItem$1","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAA+B,CAAC;AAAA,EACpC,IAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,OAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AACF,MAAM;AACE,QAAAC,IAAcC,EAAY,MAAM;AACpC,IAAAL,EAASN,CAAE;AAAA,EAAA,GACV,CAACA,GAAIM,CAAQ,CAAC,GAEXM,IAAeT,KAAUU,EAAsBT,IAAQS,EAAsB,MAAM;AAGvF,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MAEC,SAASL;AAAA,MACT,YAAAF;AAAA,MACA,UAAU;AAAA,MACV,OAAO;AAAA,MACP,QAAQC;AAAA,MACR,SAASA;AAAA,MACT,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,OAAAL;AAAA,MACA,YAAAC;AAAA,MACA,aAAY;AAAA,MAEZ,UAAA;AAAA,QAAA,gBAAAW,EAACC,GAAO,EAAA,MAAMV,GAAY,QAAQK,GAAc;AAAA,QAChD,gBAAAI,EAACE,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,QACzB,gBAAAF,EAACG,GAAK,EAAA,QAAO,SAAQ,mBAAkB,OAAM,WAAU,OAAM,QAAO,UACjE,UAAAjB,KAAYD,EACf,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAjBKD;AAAA,EAAA;AAoBX,GAEeoB,IAAAC,EAAKtB,CAAQ;"}
1
+ {"version":3,"file":"user-item.js","sources":["../../../../../../src/features/auth/comps/user-list/user-item/user-item.tsx"],"sourcesContent":["import type { IUserItemProps } from './user-item-types';\n\nimport { useCallback, type FC, memo } from 'react';\n\nimport useViewport from '../../../../hooks/use-viewport/use-viewport';\nimport Avatar from '../../../../ui/avatar/avatar';\nimport Separator from '../../../../ui/separator/separator';\nimport Text from '../../../../ui/text/text';\nimport { AVATAR_CONFIGURATIONS } from '../user-list-constants';\nimport * as Styled from './user-item-styled';\n\nconst UserItem: FC<IUserItemProps> = ({\n id,\n phone,\n username,\n avatar,\n index,\n isLastItem,\n onSelect,\n avatarSize,\n maxColumns,\n cardSize,\n}) => {\n const { isCompact } = useViewport();\n const handleClick = useCallback(() => {\n onSelect(id);\n }, [id, onSelect]);\n\n const avatarSource = avatar ?? AVATAR_CONFIGURATIONS[index % AVATAR_CONFIGURATIONS.length];\n\n return (\n <Styled.UserItemCard\n key={id}\n onClick={handleClick}\n maxColumns={maxColumns}\n $gutterX={1.5}\n $gapX={1.5}\n $width={cardSize}\n $height={cardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n index={index}\n isLastItem={isLastItem}\n $background=\"BLACK_1\"\n >\n <Avatar size={avatarSize} avatar={avatarSource} />\n <Separator heightX={0.5} />\n <Text $color=\"WHITE\" $renderAs={isCompact ? 'ab3' : 'ab2'} $align=\"center\">\n {username || phone}\n </Text>\n </Styled.UserItemCard>\n );\n};\n\nexport default memo(UserItem);\n"],"names":["UserItem","id","phone","username","avatar","index","isLastItem","onSelect","avatarSize","maxColumns","cardSize","isCompact","useViewport","handleClick","useCallback","avatarSource","AVATAR_CONFIGURATIONS","jsxs","Styled.UserItemCard","jsx","Avatar","Separator","Text","UserItem$1","memo"],"mappings":";;;;;;;;AAWA,MAAMA,IAA+B,CAAC;AAAA,EACpC,IAAAC;AAAA,EACA,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,QAAAC;AAAA,EACA,OAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AAAA,EACA,YAAAC;AAAA,EACA,YAAAC;AAAA,EACA,UAAAC;AACF,MAAM;AACE,QAAA,EAAE,WAAAC,MAAcC,KAChBC,IAAcC,EAAY,MAAM;AACpC,IAAAP,EAASN,CAAE;AAAA,EAAA,GACV,CAACA,GAAIM,CAAQ,CAAC,GAEXQ,IAAeX,KAAUY,EAAsBX,IAAQW,EAAsB,MAAM;AAGvF,SAAA,gBAAAC;AAAA,IAACC;AAAAA,IAAA;AAAA,MAEC,SAASL;AAAA,MACT,YAAAJ;AAAA,MACA,UAAU;AAAA,MACV,OAAO;AAAA,MACP,QAAQC;AAAA,MACR,SAASA;AAAA,MACT,aAAY;AAAA,MACZ,iBAAgB;AAAA,MAChB,OAAAL;AAAA,MACA,YAAAC;AAAA,MACA,aAAY;AAAA,MAEZ,UAAA;AAAA,QAAA,gBAAAa,EAACC,GAAO,EAAA,MAAMZ,GAAY,QAAQO,GAAc;AAAA,QAChD,gBAAAI,EAACE,GAAU,EAAA,SAAS,IAAK,CAAA;AAAA,QACzB,gBAAAF,EAACG,GAAK,EAAA,QAAO,SAAQ,WAAWX,IAAY,QAAQ,OAAO,QAAO,UAC/D,UAAAR,KAAYD,EACf,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,IAjBKD;AAAA,EAAA;AAoBX,GAEesB,IAAAC,EAAKxB,CAAQ;"}
@@ -1,50 +1,49 @@
1
- import { jsxs as g, jsx as e } from "react/jsx-runtime";
2
- import { memo as x } from "react";
3
- import { useTheme as L } from "styled-components";
4
- import I from "../../../../assets/line-icons/icons/plus.js";
5
- import v from "../../../ui/layout/flex-view.js";
6
- import { EDeviceType as T } from "../../../ui/theme/constants.js";
7
- import U from "./user-item/user-item.js";
8
- import { UserListWrapper as j, AddAccountButton as w } from "./user-list-styled.js";
9
- const A = ({
1
+ import { jsxs as $, jsx as r } from "react/jsx-runtime";
2
+ import { memo as g } from "react";
3
+ import x from "../../../../assets/line-icons/icons/plus.js";
4
+ import I from "../../../hooks/use-viewport/use-viewport.js";
5
+ import L from "../../../ui/layout/flex-view.js";
6
+ import w from "./user-item/user-item.js";
7
+ import { UserListWrapper as U, AddAccountButton as j } from "./user-list-styled.js";
8
+ const v = ({
10
9
  users: s,
11
- onSelect: a,
10
+ onSelect: c,
12
11
  showAddButton: i = !1,
13
- onAddNew: p,
14
- maxColumns: l = 5,
15
- cardSize: h = 200,
16
- avatarSize: u = 80
12
+ onAddNew: l,
13
+ maxColumns: p = 5,
14
+ cardSize: u = 200,
15
+ avatarSize: h = 80
17
16
  }) => {
18
- const o = s.length + (i ? 1 : 0), { device: d } = L(), m = d <= T.TABLET, r = m ? 2 : l, t = m ? 180 : h;
19
- return /* @__PURE__ */ g(
20
- j,
17
+ const e = s.length + (i ? 1 : 0), { isCompact: m } = I(), o = m ? 2 : p, t = m ? 180 : u;
18
+ return /* @__PURE__ */ $(
19
+ U,
21
20
  {
22
- itemCount: o,
23
- maxColumns: r,
21
+ itemCount: e,
22
+ maxColumns: o,
24
23
  cardWidth: t,
25
24
  children: [
26
- s.map(({ id: n, username: f, user_avatar: C, phone: $ }, c) => /* @__PURE__ */ e(
27
- U,
25
+ s.map(({ id: n, username: d, user_avatar: C, phone: f }, a) => /* @__PURE__ */ r(
26
+ w,
28
27
  {
29
28
  id: n,
30
- onSelect: a,
29
+ onSelect: c,
31
30
  cardSize: t,
32
- index: c,
33
- maxColumns: r,
34
- avatarSize: u,
31
+ index: a,
32
+ maxColumns: o,
33
+ avatarSize: h,
35
34
  avatar: C,
36
- phone: $,
37
- username: f,
38
- isLastItem: c === o - 1
35
+ phone: f,
36
+ username: d,
37
+ isLastItem: a === e - 1
39
38
  },
40
39
  n
41
40
  )),
42
- i && /* @__PURE__ */ e(
43
- w,
41
+ i && /* @__PURE__ */ r(
42
+ j,
44
43
  {
45
44
  isLastItem: !0,
46
- index: o,
47
- maxColumns: r,
45
+ index: e,
46
+ maxColumns: o,
48
47
  $gutterX: 5,
49
48
  $gapX: 5,
50
49
  $background: "BLACK_3",
@@ -52,14 +51,14 @@ const A = ({
52
51
  $height: t,
53
52
  $alignItems: "center",
54
53
  $justifyContent: "center",
55
- onClick: p,
56
- children: /* @__PURE__ */ e(v, { $width: 40, $height: 40, children: /* @__PURE__ */ e(I, { color: "WHITE", width: 40, height: 40 }) })
54
+ onClick: l,
55
+ children: /* @__PURE__ */ r(L, { $width: 40, $height: 40, children: /* @__PURE__ */ r(x, { color: "WHITE", width: 40, height: 40 }) })
57
56
  }
58
57
  )
59
58
  ]
60
59
  }
61
60
  );
62
- }, _ = x(A);
61
+ }, _ = g(v);
63
62
  export {
64
63
  _ as default
65
64
  };
@@ -1 +1 @@
1
- {"version":3,"file":"user-list.js","sources":["../../../../../src/features/auth/comps/user-list/user-list.tsx"],"sourcesContent":["import type { IUserListProps } from './user-list-types';\n\nimport { type FC, memo } from 'react';\nimport { useTheme } from 'styled-components';\n\nimport PlusIcon from '../../../../assets/line-icons/icons/plus';\nimport FlexView from '../../../ui/layout/flex-view';\nimport { EDeviceType } from '../../../ui/theme/constants';\nimport UserItem from './user-item/user-item';\nimport * as Styled from './user-list-styled';\n\nconst UserList: FC<IUserListProps> = ({\n users,\n onSelect,\n showAddButton = false,\n onAddNew,\n maxColumns = 5,\n cardSize = 200,\n avatarSize = 80,\n}) => {\n const totalCards = users.length + (showAddButton ? 1 : 0);\n const { device } = useTheme();\n const isCompact = device <= EDeviceType.TABLET;\n\n const responsiveColumnNos = isCompact ? 2 : maxColumns;\n const responsiveCardSize = isCompact ? 180 : cardSize;\n\n return (\n <Styled.UserListWrapper\n itemCount={totalCards}\n maxColumns={responsiveColumnNos}\n cardWidth={responsiveCardSize}\n >\n {users.map(({ id, username, user_avatar: avatar, phone }, index) => (\n <UserItem\n key={id}\n id={id}\n onSelect={onSelect}\n cardSize={responsiveCardSize}\n index={index}\n maxColumns={responsiveColumnNos}\n avatarSize={avatarSize}\n avatar={avatar}\n phone={phone}\n username={username}\n isLastItem={index === totalCards - 1}\n />\n ))}\n\n {showAddButton && (\n <Styled.AddAccountButton\n isLastItem\n index={totalCards}\n maxColumns={responsiveColumnNos}\n $gutterX={5}\n $gapX={5}\n $background=\"BLACK_3\"\n $width={responsiveCardSize}\n $height={responsiveCardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n onClick={onAddNew}\n >\n <FlexView $width={40} $height={40}>\n <PlusIcon color=\"WHITE\" width={40} height={40} />\n </FlexView>\n </Styled.AddAccountButton>\n )}\n </Styled.UserListWrapper>\n );\n};\n\nexport default memo(UserList);\n"],"names":["UserList","users","onSelect","showAddButton","onAddNew","maxColumns","cardSize","avatarSize","totalCards","device","useTheme","isCompact","EDeviceType","responsiveColumnNos","responsiveCardSize","jsxs","Styled.UserListWrapper","id","username","avatar","phone","index","jsx","UserItem","Styled.AddAccountButton","FlexView","PlusIcon","UserList$1","memo"],"mappings":";;;;;;;;AAWA,MAAMA,IAA+B,CAAC;AAAA,EACpC,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,UAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,UAAAC,IAAW;AAAA,EACX,YAAAC,IAAa;AACf,MAAM;AACJ,QAAMC,IAAaP,EAAM,UAAUE,IAAgB,IAAI,IACjD,EAAE,QAAAM,MAAWC,KACbC,IAAYF,KAAUG,EAAY,QAElCC,IAAsBF,IAAY,IAAIN,GACtCS,IAAqBH,IAAY,MAAML;AAG3C,SAAA,gBAAAS;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,WAAWR;AAAA,MACX,YAAYK;AAAA,MACZ,WAAWC;AAAA,MAEV,UAAA;AAAA,QAAMb,EAAA,IAAI,CAAC,EAAE,IAAAgB,GAAI,UAAAC,GAAU,aAAaC,GAAQ,OAAAC,KAASC,MACxD,gBAAAC;AAAA,UAACC;AAAA,UAAA;AAAA,YAEC,IAAAN;AAAA,YACA,UAAAf;AAAA,YACA,UAAUY;AAAA,YACV,OAAAO;AAAA,YACA,YAAYR;AAAA,YACZ,YAAAN;AAAA,YACA,QAAAY;AAAA,YACA,OAAAC;AAAA,YACA,UAAAF;AAAA,YACA,YAAYG,MAAUb,IAAa;AAAA,UAAA;AAAA,UAV9BS;AAAA,QAAA,CAYR;AAAA,QAEAd,KACC,gBAAAmB;AAAA,UAACE;AAAAA,UAAA;AAAA,YACC,YAAU;AAAA,YACV,OAAOhB;AAAA,YACP,YAAYK;AAAA,YACZ,UAAU;AAAA,YACV,OAAO;AAAA,YACP,aAAY;AAAA,YACZ,QAAQC;AAAA,YACR,SAASA;AAAA,YACT,aAAY;AAAA,YACZ,iBAAgB;AAAA,YAChB,SAASV;AAAA,YAET,UAAC,gBAAAkB,EAAAG,GAAA,EAAS,QAAQ,IAAI,SAAS,IAC7B,UAAA,gBAAAH,EAACI,GAAS,EAAA,OAAM,SAAQ,OAAO,IAAI,QAAQ,GAAI,CAAA,GACjD;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR,GAEeC,IAAAC,EAAK5B,CAAQ;"}
1
+ {"version":3,"file":"user-list.js","sources":["../../../../../src/features/auth/comps/user-list/user-list.tsx"],"sourcesContent":["import type { IUserListProps } from './user-list-types';\n\nimport { type FC, memo } from 'react';\n\nimport PlusIcon from '../../../../assets/line-icons/icons/plus';\nimport useViewport from '../../../hooks/use-viewport/use-viewport';\nimport FlexView from '../../../ui/layout/flex-view';\nimport UserItem from './user-item/user-item';\nimport * as Styled from './user-list-styled';\n\nconst UserList: FC<IUserListProps> = ({\n users,\n onSelect,\n showAddButton = false,\n onAddNew,\n maxColumns = 5,\n cardSize = 200,\n avatarSize = 80,\n}) => {\n const totalCards = users.length + (showAddButton ? 1 : 0);\n const { isCompact } = useViewport();\n\n const responsiveColumnNos = isCompact ? 2 : maxColumns;\n const responsiveCardSize = isCompact ? 180 : cardSize;\n\n return (\n <Styled.UserListWrapper\n itemCount={totalCards}\n maxColumns={responsiveColumnNos}\n cardWidth={responsiveCardSize}\n >\n {users.map(({ id, username, user_avatar: avatar, phone }, index) => (\n <UserItem\n key={id}\n id={id}\n onSelect={onSelect}\n cardSize={responsiveCardSize}\n index={index}\n maxColumns={responsiveColumnNos}\n avatarSize={avatarSize}\n avatar={avatar}\n phone={phone}\n username={username}\n isLastItem={index === totalCards - 1}\n />\n ))}\n\n {showAddButton && (\n <Styled.AddAccountButton\n isLastItem\n index={totalCards}\n maxColumns={responsiveColumnNos}\n $gutterX={5}\n $gapX={5}\n $background=\"BLACK_3\"\n $width={responsiveCardSize}\n $height={responsiveCardSize}\n $alignItems=\"center\"\n $justifyContent=\"center\"\n onClick={onAddNew}\n >\n <FlexView $width={40} $height={40}>\n <PlusIcon color=\"WHITE\" width={40} height={40} />\n </FlexView>\n </Styled.AddAccountButton>\n )}\n </Styled.UserListWrapper>\n );\n};\n\nexport default memo(UserList);\n"],"names":["UserList","users","onSelect","showAddButton","onAddNew","maxColumns","cardSize","avatarSize","totalCards","isCompact","useViewport","responsiveColumnNos","responsiveCardSize","jsxs","Styled.UserListWrapper","id","username","avatar","phone","index","jsx","UserItem","Styled.AddAccountButton","FlexView","PlusIcon","UserList$1","memo"],"mappings":";;;;;;;AAUA,MAAMA,IAA+B,CAAC;AAAA,EACpC,OAAAC;AAAA,EACA,UAAAC;AAAA,EACA,eAAAC,IAAgB;AAAA,EAChB,UAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,UAAAC,IAAW;AAAA,EACX,YAAAC,IAAa;AACf,MAAM;AACJ,QAAMC,IAAaP,EAAM,UAAUE,IAAgB,IAAI,IACjD,EAAE,WAAAM,MAAcC,KAEhBC,IAAsBF,IAAY,IAAIJ,GACtCO,IAAqBH,IAAY,MAAMH;AAG3C,SAAA,gBAAAO;AAAA,IAACC;AAAAA,IAAA;AAAA,MACC,WAAWN;AAAA,MACX,YAAYG;AAAA,MACZ,WAAWC;AAAA,MAEV,UAAA;AAAA,QAAMX,EAAA,IAAI,CAAC,EAAE,IAAAc,GAAI,UAAAC,GAAU,aAAaC,GAAQ,OAAAC,KAASC,MACxD,gBAAAC;AAAA,UAACC;AAAA,UAAA;AAAA,YAEC,IAAAN;AAAA,YACA,UAAAb;AAAA,YACA,UAAUU;AAAA,YACV,OAAAO;AAAA,YACA,YAAYR;AAAA,YACZ,YAAAJ;AAAA,YACA,QAAAU;AAAA,YACA,OAAAC;AAAA,YACA,UAAAF;AAAA,YACA,YAAYG,MAAUX,IAAa;AAAA,UAAA;AAAA,UAV9BO;AAAA,QAAA,CAYR;AAAA,QAEAZ,KACC,gBAAAiB;AAAA,UAACE;AAAAA,UAAA;AAAA,YACC,YAAU;AAAA,YACV,OAAOd;AAAA,YACP,YAAYG;AAAA,YACZ,UAAU;AAAA,YACV,OAAO;AAAA,YACP,aAAY;AAAA,YACZ,QAAQC;AAAA,YACR,SAASA;AAAA,YACT,aAAY;AAAA,YACZ,iBAAgB;AAAA,YAChB,SAASR;AAAA,YAET,UAAC,gBAAAgB,EAAAG,GAAA,EAAS,QAAQ,IAAI,SAAS,IAC7B,UAAA,gBAAAH,EAACI,GAAS,EAAA,OAAM,SAAQ,OAAO,IAAI,QAAQ,GAAI,CAAA,GACjD;AAAA,UAAA;AAAA,QACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR,GAEeC,IAAAC,EAAK1B,CAAQ;"}
@@ -1,7 +1,8 @@
1
- import { styled as e } from "styled-components";
2
- import o from "../../ui/buttons/button/button.js";
3
- import i from "../../ui/layout/flex-view.js";
4
- const n = e.form`
1
+ import { styled as t } from "styled-components";
2
+ import e from "../../ui/buttons/button/button.js";
3
+ import o from "../../ui/layout/flex-view.js";
4
+ import { getTheme as p } from "../../ui/theme/get-theme.js";
5
+ const { mediaQueries: i } = p(), x = t.form`
5
6
  display: flex;
6
7
  flex: 1;
7
8
  margin-top: 0;
@@ -10,28 +11,28 @@ const n = e.form`
10
11
  max-width: 336px;
11
12
  width: 100%;
12
13
  height: 308px;
13
- ${({ theme: { mediaQueries: t } }) => t.minWidthDesktop} {
14
+ ${i.minWidthDesktop} {
14
15
  margin-top: 8px;
15
16
  }
16
- `, h = e(i)`
17
+ `, a = t(o)`
17
18
  margin-top: 0;
18
19
  max-width: 336px;
19
20
  width: 100%;
20
- ${({ theme: { mediaQueries: t } }) => t.minWidthDesktop} {
21
+ ${i.minWidthDesktop} {
21
22
  margin-top: 8px;
22
23
  }
23
- `, x = e(i)`
24
+ `, s = t(o)`
24
25
  min-height: 300px;
25
- ${({ theme: { mediaQueries: t } }) => t.minWidthDesktop} {
26
+ ${i.minWidthDesktop} {
26
27
  height: 308px;
27
28
  }
28
- `, a = e(o)`
29
+ `, d = t(e)`
29
30
  width: 100%;
30
31
  `;
31
32
  export {
32
- a as ButtonWrapper,
33
- x as Container,
34
- n as FormWrapper,
35
- h as OtpFormWrapper
33
+ d as ButtonWrapper,
34
+ s as Container,
35
+ x as FormWrapper,
36
+ a as OtpFormWrapper
36
37
  };
37
38
  //# sourceMappingURL=forgot-password-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"forgot-password-styled.js","sources":["../../../../src/features/auth/forgot-password/forgot-password-styled.tsx"],"sourcesContent":["import { styled } from 'styled-components';\n\nimport Button from '../../ui/buttons/button/button';\nimport FlexView from '../../ui/layout/flex-view';\n\nexport const FormWrapper = styled.form`\n display: flex;\n flex: 1;\n margin-top: 0;\n flex-direction: column;\n justify-content: space-between;\n max-width: 336px;\n width: 100%;\n height: 308px;\n ${({ theme: { mediaQueries } }) => mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nexport const OtpFormWrapper = styled(FlexView)`\n margin-top: 0;\n max-width: 336px;\n width: 100%;\n ${({ theme: { mediaQueries } }) => mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nexport const Container = styled(FlexView)`\n min-height: 300px;\n ${({ theme: { mediaQueries } }) => mediaQueries.minWidthDesktop} {\n height: 308px;\n }\n`;\n\nexport const ButtonWrapper = styled(Button)`\n width: 100%;\n`;\n"],"names":["FormWrapper","styled","mediaQueries","OtpFormWrapper","FlexView","Container","ButtonWrapper","Button"],"mappings":";;;AAKO,MAAMA,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAS9B,CAAC,EAAE,OAAO,EAAE,cAAAC,IAAe,MAAMA,EAAa,eAAe;AAAA;AAAA;AAAA,GAKpDC,IAAiBF,EAAOG,CAAQ;AAAA;AAAA;AAAA;AAAA,IAIzC,CAAC,EAAE,OAAO,EAAE,cAAAF,IAAe,MAAMA,EAAa,eAAe;AAAA;AAAA;AAAA,GAKpDG,IAAYJ,EAAOG,CAAQ;AAAA;AAAA,IAEpC,CAAC,EAAE,OAAO,EAAE,cAAAF,IAAe,MAAMA,EAAa,eAAe;AAAA;AAAA;AAAA,GAKpDI,IAAgBL,EAAOM,CAAM;AAAA;AAAA;"}
1
+ {"version":3,"file":"forgot-password-styled.js","sources":["../../../../src/features/auth/forgot-password/forgot-password-styled.tsx"],"sourcesContent":["import { styled } from 'styled-components';\n\nimport Button from '../../ui/buttons/button/button';\nimport FlexView from '../../ui/layout/flex-view';\nimport { getTheme } from '../../ui/theme/get-theme';\n\nconst { mediaQueries } = getTheme();\n\nexport const FormWrapper = styled.form`\n display: flex;\n flex: 1;\n margin-top: 0;\n flex-direction: column;\n justify-content: space-between;\n max-width: 336px;\n width: 100%;\n height: 308px;\n ${mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nexport const OtpFormWrapper = styled(FlexView)`\n margin-top: 0;\n max-width: 336px;\n width: 100%;\n ${mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nexport const Container = styled(FlexView)`\n min-height: 300px;\n ${mediaQueries.minWidthDesktop} {\n height: 308px;\n }\n`;\n\nexport const ButtonWrapper = styled(Button)`\n width: 100%;\n`;\n"],"names":["mediaQueries","getTheme","FormWrapper","styled","OtpFormWrapper","FlexView","Container","ButtonWrapper","Button"],"mappings":";;;;AAMA,MAAM,EAAE,cAAAA,EAAa,IAAIC,KAEZC,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAS9BH,EAAa,eAAe;AAAA;AAAA;AAAA,GAKnBI,IAAiBD,EAAOE,CAAQ;AAAA;AAAA;AAAA;AAAA,IAIzCL,EAAa,eAAe;AAAA;AAAA;AAAA,GAKnBM,IAAYH,EAAOE,CAAQ;AAAA;AAAA,IAEpCL,EAAa,eAAe;AAAA;AAAA;AAAA,GAKnBO,IAAgBJ,EAAOK,CAAM;AAAA;AAAA;"}
@@ -1,6 +1,7 @@
1
1
  import e from "styled-components";
2
2
  import i from "../../../ui/layout/flex-view.js";
3
- const m = e.form`
3
+ import { getTheme as o } from "../../../ui/theme/get-theme.js";
4
+ const { mediaQueries: t } = o(), n = e.form`
4
5
  display: flex;
5
6
  flex-direction: column;
6
7
  justify-content: space-between;
@@ -8,17 +9,17 @@ const m = e.form`
8
9
  flex: 1;
9
10
  width: 100%;
10
11
  max-width: 336px;
11
- ${({ theme: { mediaQueries: t } }) => t.minWidthDesktop} {
12
+ ${t.minWidthDesktop} {
12
13
  margin-top: 8px;
13
14
  }
14
- `, n = e(i)`
15
+ `, s = e(i)`
15
16
  height: 300px;
16
- ${({ theme: { mediaQueries: t } }) => t.minWidthDesktop} {
17
+ ${t.minWidthDesktop} {
17
18
  height: 308px;
18
19
  }
19
20
  `;
20
21
  export {
21
- n as Container,
22
- m as FormWrapper
22
+ s as Container,
23
+ n as FormWrapper
23
24
  };
24
25
  //# sourceMappingURL=identifier-otp-form-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"identifier-otp-form-styled.js","sources":["../../../../../src/features/auth/login/identifier-otp-form/identifier-otp-form-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\n\nconst FormWrapper = styled.form`\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-top: 0;\n flex: 1;\n width: 100%;\n max-width: 336px;\n ${({ theme: { mediaQueries } }) => mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nconst Container = styled(FlexView)`\n height: 300px;\n ${({ theme: { mediaQueries } }) => mediaQueries.minWidthDesktop} {\n height: 308px;\n }\n`;\n\nexport { FormWrapper, Container };\n"],"names":["FormWrapper","styled","mediaQueries","Container","FlexView"],"mappings":";;AAIA,MAAMA,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQvB,CAAC,EAAE,OAAO,EAAE,cAAAC,IAAe,MAAMA,EAAa,eAAe;AAAA;AAAA;AAAA,GAK3DC,IAAYF,EAAOG,CAAQ;AAAA;AAAA,IAE7B,CAAC,EAAE,OAAO,EAAE,cAAAF,IAAe,MAAMA,EAAa,eAAe;AAAA;AAAA;AAAA;"}
1
+ {"version":3,"file":"identifier-otp-form-styled.js","sources":["../../../../../src/features/auth/login/identifier-otp-form/identifier-otp-form-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport FlexView from '../../../ui/layout/flex-view';\nimport { getTheme } from '../../../ui/theme/get-theme';\n\nconst { mediaQueries } = getTheme();\n\nconst FormWrapper = styled.form`\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-top: 0;\n flex: 1;\n width: 100%;\n max-width: 336px;\n ${mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nconst Container = styled(FlexView)`\n height: 300px;\n ${mediaQueries.minWidthDesktop} {\n height: 308px;\n }\n`;\n\nexport { FormWrapper, Container };\n"],"names":["mediaQueries","getTheme","FormWrapper","styled","Container","FlexView"],"mappings":";;;AAKA,MAAM,EAAE,cAAAA,EAAa,IAAIC,KAEnBC,IAAcC,EAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQvBH,EAAa,eAAe;AAAA;AAAA;AAAA,GAK1BI,IAAYD,EAAOE,CAAQ;AAAA;AAAA,IAE7BL,EAAa,eAAe;AAAA;AAAA;AAAA;"}
@@ -1,25 +1,26 @@
1
- import i from "styled-components";
1
+ import t from "styled-components";
2
2
  import o from "../../ui/buttons/button/button.js";
3
3
  import m from "../../ui/layout/flex-view.js";
4
- const n = i.form`
4
+ import { getTheme as e } from "../../ui/theme/get-theme.js";
5
+ const { mediaQueries: i } = e(), x = t.form`
5
6
  max-width: 336px;
6
7
  width: 100%;
7
8
  margin-top: 0;
8
- ${({ theme: { mediaQueries: t } }) => t.minWidthDesktop} {
9
+ ${i.minWidthDesktop} {
9
10
  margin-top: 8px;
10
11
  }
11
12
  `;
12
- i(o)`
13
+ t(o)`
13
14
  max-width: 160px;
14
15
  `;
15
- const h = i(m)`
16
+ const a = t(m)`
16
17
  min-height: 300px;
17
- ${({ theme: { mediaQueries: t } }) => t.minWidthDesktop} {
18
+ ${i.minWidthDesktop} {
18
19
  height: 308px;
19
20
  }
20
21
  `;
21
22
  export {
22
- h as Container,
23
- n as FormContainer
23
+ a as Container,
24
+ x as FormContainer
24
25
  };
25
26
  //# sourceMappingURL=login-styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"login-styled.js","sources":["../../../../src/features/auth/login/login-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport Button from '../../ui/buttons/button/button';\nimport FlexView from '../../ui/layout/flex-view';\n\nexport const FormContainer = styled.form`\n max-width: 336px;\n width: 100%;\n margin-top: 0;\n ${({ theme: { mediaQueries } }) => mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nconst ButtonWrapper = styled(Button)`\n max-width: 160px;\n`;\n\nconst Container = styled(FlexView)`\n min-height: 300px;\n ${({ theme: { mediaQueries } }) => mediaQueries.minWidthDesktop} {\n height: 308px;\n }\n`;\n\nexport { ButtonWrapper, Container };\n"],"names":["FormContainer","styled","mediaQueries","Button","Container","FlexView"],"mappings":";;;AAKO,MAAMA,IAAgBC,EAAO;AAAA;AAAA;AAAA;AAAA,IAIhC,CAAC,EAAE,OAAO,EAAE,cAAAC,IAAe,MAAMA,EAAa,eAAe;AAAA;AAAA;AAAA;AAK3CD,EAAOE,CAAM;AAAA;AAAA;AAI7B,MAAAC,IAAYH,EAAOI,CAAQ;AAAA;AAAA,IAE7B,CAAC,EAAE,OAAO,EAAE,cAAAH,IAAe,MAAMA,EAAa,eAAe;AAAA;AAAA;AAAA;"}
1
+ {"version":3,"file":"login-styled.js","sources":["../../../../src/features/auth/login/login-styled.tsx"],"sourcesContent":["import styled from 'styled-components';\n\nimport Button from '../../ui/buttons/button/button';\nimport FlexView from '../../ui/layout/flex-view';\nimport { getTheme } from '../../ui/theme/get-theme';\n\nconst { mediaQueries } = getTheme();\n\nexport const FormContainer = styled.form`\n max-width: 336px;\n width: 100%;\n margin-top: 0;\n ${mediaQueries.minWidthDesktop} {\n margin-top: 8px;\n }\n`;\n\nconst ButtonWrapper = styled(Button)`\n max-width: 160px;\n`;\n\nconst Container = styled(FlexView)`\n min-height: 300px;\n ${mediaQueries.minWidthDesktop} {\n height: 308px;\n }\n`;\n\nexport { ButtonWrapper, Container };\n"],"names":["mediaQueries","getTheme","FormContainer","styled","Button","Container","FlexView"],"mappings":";;;;AAMA,MAAM,EAAE,cAAAA,EAAa,IAAIC,KAEZC,IAAgBC,EAAO;AAAA;AAAA;AAAA;AAAA,IAIhCH,EAAa,eAAe;AAAA;AAAA;AAAA;AAKVG,EAAOC,CAAM;AAAA;AAAA;AAI7B,MAAAC,IAAYF,EAAOG,CAAQ;AAAA;AAAA,IAE7BN,EAAa,eAAe;AAAA;AAAA;AAAA;"}