@local-logic/sdks-app 1.0.0-beta.46 → 1.0.0-beta.48

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 (60) hide show
  1. package/dist/assets/index.3baa3a87.js +769 -0
  2. package/dist/assets/index.946206d5.js +889 -0
  3. package/dist/assets/list.e8b8e16a.svg +5 -0
  4. package/dist/index.html +1 -1
  5. package/dist/types/constants/routes.d.ts +1 -2
  6. package/dist/types/constants/routes.d.ts.map +1 -1
  7. package/dist/types/constants/routes.js +0 -1
  8. package/dist/types/constants/routes.js.map +1 -1
  9. package/dist/types/context/stateManager/defaultState.d.ts +4 -1
  10. package/dist/types/context/stateManager/defaultState.d.ts.map +1 -1
  11. package/dist/types/context/stateManager/defaultState.js +7 -2
  12. package/dist/types/context/stateManager/defaultState.js.map +1 -1
  13. package/dist/types/context/stateManager/index.d.ts.map +1 -1
  14. package/dist/types/context/stateManager/index.js +1 -3
  15. package/dist/types/context/stateManager/index.js.map +1 -1
  16. package/dist/types/sdks/LocalContent/Map/Markers/index.d.ts.map +1 -1
  17. package/dist/types/sdks/LocalContent/Map/Markers/index.js +9 -1
  18. package/dist/types/sdks/LocalContent/Map/Markers/index.js.map +1 -1
  19. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/index.d.ts +8 -0
  20. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/index.d.ts.map +1 -0
  21. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/index.js +37 -0
  22. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/index.js.map +1 -0
  23. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/styles.d.ts +6 -0
  24. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/styles.d.ts.map +1 -0
  25. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/styles.js +45 -0
  26. package/dist/types/sdks/LocalContent/Map/MobileScores/CategoryScores/styles.js.map +1 -0
  27. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/styles.d.ts.map +1 -1
  28. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/styles.js +4 -0
  29. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreInfo/styles.js.map +1 -1
  30. package/dist/types/sdks/LocalContent/Map/MobileScores/index.d.ts.map +1 -1
  31. package/dist/types/sdks/LocalContent/Map/MobileScores/index.js +18 -5
  32. package/dist/types/sdks/LocalContent/Map/MobileScores/index.js.map +1 -1
  33. package/dist/types/sdks/LocalContent/Map/MobileScores/styles.d.ts +1 -1
  34. package/dist/types/sdks/LocalContent/Map/MobileScores/styles.d.ts.map +1 -1
  35. package/dist/types/sdks/LocalContent/Map/MobileScores/styles.js +4 -6
  36. package/dist/types/sdks/LocalContent/Map/MobileScores/styles.js.map +1 -1
  37. package/dist/types/sdks/LocalContent/Map/index.d.ts.map +1 -1
  38. package/dist/types/sdks/LocalContent/Map/index.js +5 -4
  39. package/dist/types/sdks/LocalContent/Map/index.js.map +1 -1
  40. package/dist/types/sdks/LocalContent/Map/styles.d.ts +3 -1
  41. package/dist/types/sdks/LocalContent/Map/styles.d.ts.map +1 -1
  42. package/dist/types/sdks/LocalContent/Map/styles.js +7 -4
  43. package/dist/types/sdks/LocalContent/Map/styles.js.map +1 -1
  44. package/dist/types/sdks/LocalContent/context.d.ts.map +1 -1
  45. package/dist/types/sdks/LocalContent/context.js +23 -10
  46. package/dist/types/sdks/LocalContent/context.js.map +1 -1
  47. package/dist/types/sdks/LocalContent/defaultState.d.ts +4 -1
  48. package/dist/types/sdks/LocalContent/defaultState.d.ts.map +1 -1
  49. package/dist/types/sdks/LocalContent/defaultState.js.map +1 -1
  50. package/package.json +4 -4
  51. package/dist/assets/index.5fab9b7a.js +0 -743
  52. package/dist/assets/index.a0f74ea9.js +0 -715
  53. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.d.ts +0 -8
  54. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.d.ts.map +0 -1
  55. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.js +0 -46
  56. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.js.map +0 -1
  57. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.d.ts +0 -5
  58. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.d.ts.map +0 -1
  59. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.js +0 -30
  60. package/dist/types/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.js.map +0 -1
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { scoreCategories } from "@local-logic/elements-react";
3
- interface ScoreCategoryProps {
4
- category: typeof scoreCategories[number];
5
- }
6
- declare const ScoreCategory: ({ category }: ScoreCategoryProps) => JSX.Element;
7
- export default ScoreCategory;
8
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAGL,eAAe,EAChB,MAAM,6BAA6B,CAAC;AAMrC,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC;CAC1C;AAED,QAAA,MAAM,aAAa,iBAAkB,kBAAkB,gBA+DtD,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,46 +0,0 @@
1
- import React from "react";
2
- import { ScoreCategory as SC, Score, } from "@local-logic/elements-react";
3
- import { LoadingItem } from "@local-logic/ui";
4
- import { useScores } from "../../../features/useScores";
5
- import { useLocalContent } from "../../../context";
6
- import * as S from "./styles";
7
- const ScoreCategory = ({ category }) => {
8
- const { data, isLoading } = useScores(category.scores);
9
- const { activeScore, setActiveScore, setActiveCategory, setShowMobileList } = useLocalContent();
10
- if (isLoading) {
11
- return React.createElement(LoadingItem, { height: "34px", width: "50px" });
12
- }
13
- return (React.createElement(SC.Root, { key: category.value, options: {
14
- scoreCategory: category.value,
15
- } },
16
- React.createElement(S.CategoryContainer, null,
17
- React.createElement(SC.Title, { options: {
18
- variant: "caption2",
19
- color: "--ll-color-disabled",
20
- weight: "--ll-font-weight-bold",
21
- } }),
22
- React.createElement(S.CategoryScoresContainer, null, category.scores.map((score) => {
23
- const isActive = score === activeScore;
24
- const color = isActive
25
- ? "--ll-color-primary"
26
- : "--ll-color-disabled";
27
- return (React.createElement(Score.Root, { key: score, options: { score, data } },
28
- React.createElement(S.ScoreItem, { onClick: () => {
29
- setShowMobileList(false);
30
- setActiveCategory(category.value);
31
- setActiveScore(score);
32
- } },
33
- React.createElement(Score.Icon, { options: { color } }),
34
- React.createElement(Score.Title, { options: {
35
- variant: "caption1",
36
- color,
37
- noWrap: true,
38
- noMargin: true,
39
- weight: "--ll-font-weight-bold",
40
- } }),
41
- React.createElement(S.BadgeContainer, null,
42
- React.createElement(Score.Badge, { options: { variant: "small", isPrimary: isActive } })))));
43
- })))));
44
- };
45
- export default ScoreCategory;
46
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/sdks/LocalContent/Map/MobileScores/ScoreCategory/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EACL,aAAa,IAAI,EAAE,EACnB,KAAK,GAEN,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,CAAC,MAAM,UAAU,CAAC;AAM9B,MAAM,aAAa,GAAG,CAAC,EAAE,QAAQ,EAAsB,EAAE,EAAE;IACzD,MAAM,EAAE,IAAI,EAAE,SA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AAC,KAAK,CAAC,KAAK,IACV,OAAO,EAAE;gCACP,OAAO,EAAE,UAAU;gCACnB,KAAK;gCACL,MAAM,EAAE,IAAI;gCACZ,QAAQ,EAAE,IAAI;gCACd,MAAM,EAAE,uBAAuB;6BAChC,GACD;wBACF,oBAAC,CAAC,CAAC,cAAc;4BACf,oBAAC,KAAK,CAAC,KAAK,IACV,OAAO,EAAE,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,GAClD,CACe,CACP,CACH,CACd,CAAC;YACJ,CAAC,CAAC,CACwB,CACR,CACd,CACX,CAAC;AACJ,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC"}
@@ -1,5 +0,0 @@
1
- export declare const CategoryContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
- export declare const CategoryScoresContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
3
- export declare const ScoreItem: import("styled-components").StyledComponent<"button", any, {}, never>;
4
- export declare const BadgeContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
5
- //# sourceMappingURL=styles.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,iBAAiB,oEAG7B,CAAC;AAEF,eAAO,MAAM,uBAAuB,oEAEnC,CAAC;AAEF,eAAO,MAAM,SAAS,uEAYrB,CAAC;AAEF,eAAO,MAAM,cAAc,oEAM1B,CAAC"}
@@ -1,30 +0,0 @@
1
- import { theme } from "@local-logic/ui";
2
- import styled from "styled-components";
3
- export const CategoryContainer = styled.div `
4
- display: flex;
5
- flex-direction: column;
6
- `;
7
- export const CategoryScoresContainer = styled.div `
8
- display: flex;
9
- `;
10
- export const ScoreItem = styled.button `
11
- position: relative;
12
- display: flex;
13
- flex-direction: column;
14
- justify-content: center;
15
- align-items: center;
16
- background: none;
17
- border: none;
18
- width: 108px;
19
- margin: 0;
20
- padding: 0;
21
- margin: 0 4px;
22
- `;
23
- export const BadgeContainer = styled.div `
24
- position: absolute;
25
- top: -6px;
26
- right: 4px;
27
- border: 2px solid ${theme["--ll-color-background"]};
28
- border-radius: 6px;
29
- `;
30
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../../../../src/sdks/LocalContent/Map/MobileScores/ScoreCategory/styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AAEvC,MAAM,CAAC,MAAM,iBAAiB,GAAG,MAAM,CAAC,GAAG,CAAA;;;CAG1C,CAAC;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC,GAAG,CAAA;;CAEhD,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAA;;;;;;;;;;;;CAYrC,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC,GAAG,CAAA;;;;sBAIlB,KAAK,CAAC,uBAAuB,CAAC;;CAEnD,CAAC"}