@cuemath/leap 3.5.20 → 3.5.21
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.
|
@@ -2,16 +2,18 @@ import t, { css as i } from "styled-components";
|
|
|
2
2
|
import e from "../../ui/layout/flex-view.js";
|
|
3
3
|
import n from "../../ui/text/text.js";
|
|
4
4
|
import { EDeviceType as p } from "../../ui/theme/constants.js";
|
|
5
|
-
const
|
|
5
|
+
const x = t(e)(
|
|
6
6
|
({ theme: o }) => `
|
|
7
7
|
overflow-x: ${o.device <= p.TABLET ? "scroll" : "hidden"};
|
|
8
|
-
|
|
8
|
+
overflow-y: visible;
|
|
9
9
|
margin-top: -16px;
|
|
10
|
+
padding: 16px 0px 92px 0px;
|
|
11
|
+
margin-bottom: -92px;
|
|
10
12
|
&::-webkit-scrollbar {
|
|
11
13
|
display: none;
|
|
12
14
|
}
|
|
13
15
|
`
|
|
14
|
-
),
|
|
16
|
+
), d = t(e)`
|
|
15
17
|
right: ${({ right: o }) => o};
|
|
16
18
|
left: ${({ left: o }) => o};
|
|
17
19
|
width: 32px;
|
|
@@ -40,7 +42,7 @@ const d = t(e)(
|
|
|
40
42
|
}
|
|
41
43
|
`}
|
|
42
44
|
`
|
|
43
|
-
),
|
|
45
|
+
), u = t(n)`
|
|
44
46
|
writing-mode: sideways-lr;
|
|
45
47
|
`, f = t(e)`
|
|
46
48
|
position: relative;
|
|
@@ -59,9 +61,9 @@ const d = t(e)(
|
|
|
59
61
|
`;
|
|
60
62
|
export {
|
|
61
63
|
m as ContentWrapper,
|
|
62
|
-
|
|
64
|
+
u as QueueText,
|
|
63
65
|
f as QueueWrapper,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
+
d as ScrollButton,
|
|
67
|
+
x as ScrollContainer
|
|
66
68
|
};
|
|
67
69
|
//# sourceMappingURL=hw-card-list-styled.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hw-card-list-styled.js","sources":["../../../../src/features/homework/hw-card-list/hw-card-list-styled.tsx"],"sourcesContent":["import styled, { css } from 'styled-components';\n\nimport FlexView from '../../ui/layout/flex-view';\nimport Text from '../../ui/text/text';\nimport { EDeviceType } from '../../ui/theme/constants';\n\nexport const ScrollContainer = styled(FlexView)(\n ({ theme }) => `\n overflow-x: ${theme.device <= EDeviceType.TABLET ? 'scroll' : 'hidden'};\n
|
|
1
|
+
{"version":3,"file":"hw-card-list-styled.js","sources":["../../../../src/features/homework/hw-card-list/hw-card-list-styled.tsx"],"sourcesContent":["import styled, { css } from 'styled-components';\n\nimport FlexView from '../../ui/layout/flex-view';\nimport Text from '../../ui/text/text';\nimport { EDeviceType } from '../../ui/theme/constants';\n\nexport const ScrollContainer = styled(FlexView)(\n ({ theme }) => `\n overflow-x: ${theme.device <= EDeviceType.TABLET ? 'scroll' : 'hidden'};\n overflow-y: visible;\n margin-top: -16px;\n padding: 16px 0px 92px 0px;\n margin-bottom: -92px;\n &::-webkit-scrollbar {\n display: none;\n }\n`,\n);\n\nexport const ScrollButton = styled(FlexView)<{ $visible: boolean; right: string; left: string }>`\n right: ${({ right }) => right};\n left: ${({ left }) => left};\n width: 32px;\n cursor: pointer;\n transition: opacity 0.3s ease-in-out;\n opacity: ${({ $visible }) => ($visible ? 1 : 0)};\n pointer-events: ${({ $visible }) => ($visible ? 'auto' : 'none')};\n z-index: 10;\n path {\n fill: ${({ theme }) => theme.colors.WHITE};\n }\n`;\n\nexport const ContentWrapper = styled(FlexView)<{ $disablePointerEvents: boolean }>(\n ({ $disablePointerEvents, theme }) => `\n position: relative;\n pointer-events: auto;\n ${\n $disablePointerEvents &&\n css`\n pointer-events: none;\n :after {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: ${theme.colors.GREY_3};\n }\n `\n }\n `,\n);\n\nexport const QueueText = styled(Text)`\n writing-mode: sideways-lr;\n`;\n\nexport const QueueWrapper = styled(FlexView)`\n position: relative;\n\n &::after {\n content: '';\n position: absolute;\n height: 8px;\n width: 8px;\n clip-path: polygon(0% 0%, 100% 100%, 0% 100%);\n background-color: ${({ theme }) => theme.colors.BLACK_4};\n top: 50%;\n right: 0;\n transform: translate(50%, calc(-50% + 0px)) rotate(225deg);\n }\n`;\n"],"names":["ScrollContainer","styled","FlexView","theme","EDeviceType","ScrollButton","right","left","$visible","ContentWrapper","$disablePointerEvents","css","QueueText","Text","QueueWrapper"],"mappings":";;;;AAMa,MAAAA,IAAkBC,EAAOC,CAAQ;AAAA,EAC5C,CAAC,EAAE,OAAAC,EAAA,MAAY;AAAA,gBACDA,EAAM,UAAUC,EAAY,SAAS,WAAW,QAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASxE,GAEaC,IAAeJ,EAAOC,CAAQ;AAAA,WAChC,CAAC,EAAE,OAAAI,EAAM,MAAMA,CAAK;AAAA,UACrB,CAAC,EAAE,MAAAC,EAAK,MAAMA,CAAI;AAAA;AAAA;AAAA;AAAA,aAIf,CAAC,EAAE,UAAAC,EAAA,MAAgBA,IAAW,IAAI,CAAE;AAAA,oBAC7B,CAAC,EAAE,UAAAA,EAAA,MAAgBA,IAAW,SAAS,MAAO;AAAA;AAAA;AAAA,YAGtD,CAAC,EAAE,OAAAL,EAAA,MAAYA,EAAM,OAAO,KAAK;AAAA;AAAA,GAIhCM,IAAiBR,EAAOC,CAAQ;AAAA,EAC3C,CAAC,EAAE,uBAAAQ,GAAuB,OAAAP,EAAA,MAAY;AAAA;AAAA;AAAA,MAIlCO,KACAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBASkBR,EAAM,OAAO,MAAM;AAAA;AAAA,OAGvC;AAAA;AAEJ,GAEaS,IAAYX,EAAOY,CAAI;AAAA;AAAA,GAIvBC,IAAeb,EAAOC,CAAQ;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBASnB,CAAC,EAAE,OAAAC,EAAA,MAAYA,EAAM,OAAO,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;"}
|