@coorpacademy/components 11.5.2 → 11.6.0

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 (77) hide show
  1. package/es/atom/review-presentation/index.native.d.ts.map +1 -1
  2. package/es/atom/review-presentation/index.native.js +15 -9
  3. package/es/atom/review-presentation/index.native.js.map +1 -1
  4. package/es/hoc/transition/test/fixtures/style.css +45 -0
  5. package/es/molecule/select-multiple/test/snapshots/index.js.md +211 -0
  6. package/es/molecule/select-multiple/test/snapshots/index.js.snap +0 -0
  7. package/es/template/app-review/index.d.ts +0 -1
  8. package/es/template/app-review/index.d.ts.map +1 -1
  9. package/es/template/app-review/player/background-review.css +235 -0
  10. package/es/template/app-review/player/background-review.d.ts +3 -0
  11. package/es/template/app-review/player/background-review.d.ts.map +1 -0
  12. package/es/{atom/review-background/index.js → template/app-review/player/background-review.js} +3 -9
  13. package/es/template/app-review/player/background-review.js.map +1 -0
  14. package/es/template/app-review/player/index.d.ts +1 -2
  15. package/es/template/app-review/player/index.d.ts.map +1 -1
  16. package/es/template/app-review/player/index.js +2 -5
  17. package/es/template/app-review/player/index.js.map +1 -1
  18. package/es/template/app-review/player/index.native.d.ts.map +1 -1
  19. package/es/template/app-review/player/index.native.js +18 -3
  20. package/es/template/app-review/player/index.native.js.map +1 -1
  21. package/es/template/app-review/player/prop-types.d.ts +2 -2
  22. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  23. package/es/template/app-review/player/prop-types.js +0 -2
  24. package/es/template/app-review/player/prop-types.js.map +1 -1
  25. package/es/template/app-review/prop-types.d.ts +0 -1
  26. package/es/template/app-review/prop-types.d.ts.map +1 -1
  27. package/es/template/app-review/skills/index.native.d.ts.map +1 -1
  28. package/es/template/app-review/skills/index.native.js +0 -2
  29. package/es/template/app-review/skills/index.native.js.map +1 -1
  30. package/es/util/test/fixtures/steps.json +34 -0
  31. package/lib/atom/review-presentation/index.native.d.ts.map +1 -1
  32. package/lib/atom/review-presentation/index.native.js +19 -14
  33. package/lib/atom/review-presentation/index.native.js.map +1 -1
  34. package/lib/hoc/transition/test/fixtures/style.css +45 -0
  35. package/lib/molecule/select-multiple/test/snapshots/index.js.md +211 -0
  36. package/lib/molecule/select-multiple/test/snapshots/index.js.snap +0 -0
  37. package/lib/template/app-review/index.d.ts +0 -1
  38. package/lib/template/app-review/index.d.ts.map +1 -1
  39. package/lib/template/app-review/player/background-review.css +235 -0
  40. package/lib/template/app-review/player/background-review.d.ts +3 -0
  41. package/lib/template/app-review/player/background-review.d.ts.map +1 -0
  42. package/lib/{atom/review-background/index.js → template/app-review/player/background-review.js} +12 -19
  43. package/lib/template/app-review/player/background-review.js.map +1 -0
  44. package/lib/template/app-review/player/index.d.ts +1 -2
  45. package/lib/template/app-review/player/index.d.ts.map +1 -1
  46. package/lib/template/app-review/player/index.js +3 -6
  47. package/lib/template/app-review/player/index.js.map +1 -1
  48. package/lib/template/app-review/player/index.native.d.ts.map +1 -1
  49. package/lib/template/app-review/player/index.native.js +17 -2
  50. package/lib/template/app-review/player/index.native.js.map +1 -1
  51. package/lib/template/app-review/player/prop-types.d.ts +2 -2
  52. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  53. package/lib/template/app-review/player/prop-types.js +2 -5
  54. package/lib/template/app-review/player/prop-types.js.map +1 -1
  55. package/lib/template/app-review/prop-types.d.ts +0 -1
  56. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  57. package/lib/template/app-review/skills/index.native.d.ts.map +1 -1
  58. package/lib/template/app-review/skills/index.native.js +4 -7
  59. package/lib/template/app-review/skills/index.native.js.map +1 -1
  60. package/lib/util/test/fixtures/steps.json +34 -0
  61. package/package.json +3 -2
  62. package/es/atom/review-background/index.d.ts +0 -7
  63. package/es/atom/review-background/index.d.ts.map +0 -1
  64. package/es/atom/review-background/index.js.map +0 -1
  65. package/es/atom/review-background/prop-types.d.ts +0 -6
  66. package/es/atom/review-background/prop-types.d.ts.map +0 -1
  67. package/es/atom/review-background/prop-types.js +0 -5
  68. package/es/atom/review-background/prop-types.js.map +0 -1
  69. package/es/atom/review-background/style.css +0 -234
  70. package/lib/atom/review-background/index.d.ts +0 -7
  71. package/lib/atom/review-background/index.d.ts.map +0 -1
  72. package/lib/atom/review-background/index.js.map +0 -1
  73. package/lib/atom/review-background/prop-types.d.ts +0 -6
  74. package/lib/atom/review-background/prop-types.d.ts.map +0 -1
  75. package/lib/atom/review-background/prop-types.js +0 -14
  76. package/lib/atom/review-background/prop-types.js.map +0 -1
  77. package/lib/atom/review-background/style.css +0 -234
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/atom/review-presentation/index.native.tsx"],"names":[],"mappings":";AAeA,OAAO,EAAC,eAAe,EAAW,MAAM,cAAc,CAAC;AA8FvD,QAAA,MAAM,UAAU,UAAW,eAAe,uBA0CzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
1
+ {"version":3,"file":"index.native.d.ts","sourceRoot":"","sources":["../../../src/atom/review-presentation/index.native.tsx"],"names":[],"mappings":";AAcA,OAAO,EAAC,eAAe,EAAW,MAAM,cAAc,CAAC;AAoGvD,QAAA,MAAM,UAAU,UAAW,eAAe,uBA4CzC,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -2,7 +2,6 @@ import React, { useState, useEffect } from 'react';
2
2
  import { View, StyleSheet, Text } from 'react-native';
3
3
  import { NovaLineSelectionCursorsCursorArrowTarget as TargetIcon, NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionMarkIcon, NovaSolidStatusCheckCircle2 as CheckCircle2Icon, NovaCompositionCoorpacademyVoteHeartOutline as HeartIcon } from '@coorpacademy/nova-icons';
4
4
  import { useTemplateContext } from '../../template/app-review/template-context';
5
- import { HEADER_HEIGHT } from '../../organism/header-v2/index.native';
6
5
  import Touchable from '../../hoc/touchable/index.native';
7
6
  import Html from '../html/index.native';
8
7
 
@@ -12,7 +11,8 @@ const createStyleSheet = (brandTheme, theme) => StyleSheet.create({
12
11
  justifyContent: 'space-between',
13
12
  flex: 1,
14
13
  padding: 20,
15
- paddingTop: HEADER_HEIGHT + 20
14
+ paddingTop: 20,
15
+ paddingBottom: 100
16
16
  },
17
17
  title: {
18
18
  height: 72,
@@ -21,13 +21,17 @@ const createStyleSheet = (brandTheme, theme) => StyleSheet.create({
21
21
  fontWeight: theme.fontWeight.bold,
22
22
  lineHeight: 36,
23
23
  color: theme.colors.text.primary,
24
- marginBottom: theme.spacing.small
24
+ marginBottom: 32
25
25
  },
26
26
  text: {
27
27
  fontSize: theme.fontSize.large,
28
28
  color: theme.colors.text.primary,
29
- opacity: 0.7,
30
- marginBottom: theme.spacing.small
29
+ opacity: 0.7
30
+ },
31
+ tips: {
32
+ marginTop: 32,
33
+ height: 300,
34
+ justifyContent: 'center'
31
35
  },
32
36
  tip: {
33
37
  flexDirection: 'row',
@@ -50,8 +54,8 @@ const createStyleSheet = (brandTheme, theme) => StyleSheet.create({
50
54
  button: {
51
55
  height: 52,
52
56
  borderRadius: 7,
53
- marginBottom: theme.spacing.large,
54
- marginTop: theme.spacing.large,
57
+ marginBottom: 32,
58
+ marginTop: 16,
55
59
  backgroundColor: brandTheme?.colors?.primary || theme.colors.cta,
56
60
  justifyContent: 'center'
57
61
  },
@@ -123,7 +127,9 @@ const Onboarding = props => {
123
127
  style: styleSheet.title
124
128
  }, translations.appReview.presentation.title), /*#__PURE__*/React.createElement(Html, {
125
129
  style: styleSheet.text
126
- }, translations.appReview.presentation.text), /*#__PURE__*/React.createElement(Tip, {
130
+ }, translations.appReview.presentation.text), /*#__PURE__*/React.createElement(View, {
131
+ style: styleSheet.tips
132
+ }, /*#__PURE__*/React.createElement(Tip, {
127
133
  Icon: TargetIcon,
128
134
  text: translations.appReview.presentation.labelList.skills.text
129
135
  }), /*#__PURE__*/React.createElement(Tip, {
@@ -135,7 +141,7 @@ const Onboarding = props => {
135
141
  }), /*#__PURE__*/React.createElement(Tip, {
136
142
  Icon: CheckCircle2Icon,
137
143
  text: translations.appReview.presentation.labelList.allright.text
138
- }), /*#__PURE__*/React.createElement(Touchable, {
144
+ })), /*#__PURE__*/React.createElement(Touchable, {
139
145
  testID: "button-quit-revision-onboarding",
140
146
  onPress: onPress,
141
147
  analyticsID: "button-start",
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.js","names":["React","useState","useEffect","View","StyleSheet","Text","NovaLineSelectionCursorsCursorArrowTarget","TargetIcon","NovaSolidInterfaceFeedbackInterfaceQuestionMark","QuestionMarkIcon","NovaSolidStatusCheckCircle2","CheckCircle2Icon","NovaCompositionCoorpacademyVoteHeartOutline","HeartIcon","useTemplateContext","HEADER_HEIGHT","Touchable","Html","createStyleSheet","brandTheme","theme","create","container","backgroundColor","colors","white","justifyContent","flex","padding","paddingTop","title","height","width","fontSize","xxlarge","fontWeight","bold","lineHeight","color","text","primary","marginBottom","spacing","small","large","opacity","tip","flexDirection","overflow","alignItems","borderRadius","gray","extra","marginTop","micro","tipText","icon","margin","button","cta","buttonText","alignSelf","Tip","props","templateContext","styleSheet","setStylesheet","Icon","_stylesheet","Onboarding","translations","onPress","appReview","presentation","labelList","skills","questions","lifes","allright","ok"],"sources":["../../../src/atom/review-presentation/index.native.tsx"],"sourcesContent":["import React, {useState, useEffect} from 'react';\nimport {View, StyleSheet, Text, ViewStyle, TextStyle} from 'react-native';\nimport {\n NovaLineSelectionCursorsCursorArrowTarget as TargetIcon,\n NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionMarkIcon,\n NovaSolidStatusCheckCircle2 as CheckCircle2Icon,\n NovaCompositionCoorpacademyVoteHeartOutline as HeartIcon\n} from '@coorpacademy/nova-icons';\n\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport {Theme} from '../../variables/theme.native';\nimport {HEADER_HEIGHT} from '../../organism/header-v2/index.native';\nimport Touchable from '../../hoc/touchable/index.native';\nimport Html from '../html/index.native';\nimport {Brand} from '../../variables/brand.native';\nimport {OnboardingProps, TipProps} from './prop-types';\n\ntype StyleSheetType = {\n container: ViewStyle;\n title: TextStyle;\n text: TextStyle;\n tip: ViewStyle;\n tipText: TextStyle;\n icon: ViewStyle;\n button: ViewStyle;\n buttonText: TextStyle;\n};\n\nconst createStyleSheet = (brandTheme: Brand, theme: Theme): StyleSheetType =>\n StyleSheet.create({\n container: {\n backgroundColor: theme.colors.white,\n justifyContent: 'space-between',\n flex: 1,\n padding: 20,\n paddingTop: HEADER_HEIGHT + 20\n },\n title: {\n height: 72,\n width: 268,\n fontSize: theme.fontSize.xxlarge,\n fontWeight: theme.fontWeight.bold,\n lineHeight: 36,\n color: theme.colors.text.primary,\n marginBottom: theme.spacing.small\n },\n text: {\n fontSize: theme.fontSize.large,\n color: theme.colors.text.primary,\n opacity: 0.7,\n marginBottom: theme.spacing.small\n },\n tip: {\n flexDirection: 'row',\n overflow: 'hidden',\n alignItems: 'center',\n height: 54,\n borderRadius: 8,\n backgroundColor: theme.colors.gray.extra,\n marginTop: theme.spacing.micro,\n marginBottom: theme.spacing.micro\n },\n tipText: {\n fontSize: 16,\n lineHeight: 22,\n color: theme.colors.text.primary\n },\n icon: {\n margin: 10\n },\n button: {\n height: 52,\n borderRadius: 7,\n marginBottom: theme.spacing.large,\n marginTop: theme.spacing.large,\n backgroundColor: brandTheme?.colors?.primary || theme.colors.cta,\n justifyContent: 'center'\n },\n buttonText: {\n alignSelf: 'center',\n fontWeight: theme.fontWeight.bold,\n fontSize: theme.fontSize.large,\n color: '#fff'\n }\n });\n\nconst Tip = (props: TipProps) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {brandTheme, theme} = templateContext;\n const {Icon, text} = props;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(brandTheme, theme);\n setStylesheet(_stylesheet);\n }, [brandTheme, theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <View style={styleSheet.tip}>\n <Icon height={16} width={16} style={styleSheet.icon} color={theme.colors.text.primary} />\n <Text style={styleSheet.tipText}>{text}</Text>\n </View>\n );\n};\n\nconst Onboarding = (props: OnboardingProps) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {brandTheme, theme, translations} = templateContext;\n const {onPress} = props;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(brandTheme, theme);\n setStylesheet(_stylesheet);\n }, [brandTheme, theme]);\n\n // ------------------------------------\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <View style={styleSheet.container}>\n <Html style={styleSheet.title}>{translations.appReview.presentation.title}</Html>\n <Html style={styleSheet.text}>{translations.appReview.presentation.text}</Html>\n\n <Tip Icon={TargetIcon} text={translations.appReview.presentation.labelList.skills.text} />\n <Tip\n Icon={QuestionMarkIcon}\n text={translations.appReview.presentation.labelList.questions.text}\n />\n <Tip Icon={HeartIcon} text={translations.appReview.presentation.labelList.lifes.text} />\n <Tip\n Icon={CheckCircle2Icon}\n text={translations.appReview.presentation.labelList.allright.text}\n />\n <Touchable\n testID=\"button-quit-revision-onboarding\"\n onPress={onPress}\n analyticsID=\"button-start\"\n style={styleSheet.button}\n >\n <Text style={styleSheet.buttonText}>{translations.ok}</Text>\n </Touchable>\n </View>\n );\n};\n\nexport default Onboarding;\n"],"mappings":"AAAA,OAAOA,KAAP,IAAeC,QAAf,EAAyBC,SAAzB,QAAyC,OAAzC;AACA,SAAQC,IAAR,EAAcC,UAAd,EAA0BC,IAA1B,QAA2D,cAA3D;AACA,SACEC,yCAAyC,IAAIC,UAD/C,EAEEC,+CAA+C,IAAIC,gBAFrD,EAGEC,2BAA2B,IAAIC,gBAHjC,EAIEC,2CAA2C,IAAIC,SAJjD,QAKO,0BALP;AAOA,SAAQC,kBAAR,QAAiC,4CAAjC;AAEA,SAAQC,aAAR,QAA4B,uCAA5B;AACA,OAAOC,SAAP,MAAsB,kCAAtB;AACA,OAAOC,IAAP,MAAiB,sBAAjB;;AAeA,MAAMC,gBAAgB,GAAG,CAACC,UAAD,EAAoBC,KAApB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9B,gBADR;IAEE,IAAI,EAAE6D,YAAY,CAACE,SAAb,CAAuBC,YAAvB,CAAoCC,SAApC,CAA8CE,SAA9C,CAAwDrC;EAFhE,EALF,eASE,oBAAC,GAAD;IAAK,IAAI,EAAE1B,SAAX;IAAsB,IAAI,EAAEyD,YAAY,CAACE,SAAb,CAAuBC,YAAvB,CAAoCC,SAApC,CAA8CG,KAA9C,CAAoDtC;EAAhF,EATF,eAUE,oBAAC,GAAD;IACE,IAAI,EAAE5B,gBADR;IAEE,IAAI,EAAE2D,YAAY,CAACE,SAAb,CAAuBC,YAAvB,CAAoCC,SAApC,CAA8CI,QAA9C,CAAuDvC;EAF/D,EAVF,eAcE,oBAAC,SAAD;IACE,MAAM,EAAC,iCADT;IAEE,OAAO,EAAEgC,OAFX;IAGE,WAAW,EAAC,cAHd;IAIE,KAAK,EAAEN,UAAU,CAACP;EAJpB,gBAME,oBAAC,IAAD;IAAM,KAAK,EAAEO,UAAU,CAACL;EAAxB,GAAqCU,YAAY,CAACS,EAAlD,CANF,CAdF,CADF;AAyBD,CA1CD;;AA4CA,eAAeV,UAAf"}
1
+ {"version":3,"file":"index.native.js","names":["React","useState","useEffect","View","StyleSheet","Text","NovaLineSelectionCursorsCursorArrowTarget","TargetIcon","NovaSolidInterfaceFeedbackInterfaceQuestionMark","QuestionMarkIcon","NovaSolidStatusCheckCircle2","CheckCircle2Icon","NovaCompositionCoorpacademyVoteHeartOutline","HeartIcon","useTemplateContext","Touchable","Html","createStyleSheet","brandTheme","theme","create","container","backgroundColor","colors","white","justifyContent","flex","padding","paddingTop","paddingBottom","title","height","width","fontSize","xxlarge","fontWeight","bold","lineHeight","color","text","primary","marginBottom","large","opacity","tips","marginTop","tip","flexDirection","overflow","alignItems","borderRadius","gray","extra","spacing","micro","tipText","icon","margin","button","cta","buttonText","alignSelf","Tip","props","templateContext","styleSheet","setStylesheet","Icon","_stylesheet","Onboarding","translations","onPress","appReview","presentation","labelList","skills","questions","lifes","allright","ok"],"sources":["../../../src/atom/review-presentation/index.native.tsx"],"sourcesContent":["import React, {useState, useEffect} from 'react';\nimport {View, StyleSheet, Text, ViewStyle, TextStyle} from 'react-native';\nimport {\n NovaLineSelectionCursorsCursorArrowTarget as TargetIcon,\n NovaSolidInterfaceFeedbackInterfaceQuestionMark as QuestionMarkIcon,\n NovaSolidStatusCheckCircle2 as CheckCircle2Icon,\n NovaCompositionCoorpacademyVoteHeartOutline as HeartIcon\n} from '@coorpacademy/nova-icons';\n\nimport {useTemplateContext} from '../../template/app-review/template-context';\nimport {Theme} from '../../variables/theme.native';\nimport Touchable from '../../hoc/touchable/index.native';\nimport Html from '../html/index.native';\nimport {Brand} from '../../variables/brand.native';\nimport {OnboardingProps, TipProps} from './prop-types';\n\ntype StyleSheetType = {\n container: ViewStyle;\n title: TextStyle;\n text: TextStyle;\n tips: ViewStyle;\n tip: ViewStyle;\n tipText: TextStyle;\n icon: ViewStyle;\n button: ViewStyle;\n buttonText: TextStyle;\n};\n\nconst createStyleSheet = (brandTheme: Brand, theme: Theme): StyleSheetType =>\n StyleSheet.create({\n container: {\n backgroundColor: theme.colors.white,\n justifyContent: 'space-between',\n flex: 1,\n padding: 20,\n paddingTop: 20,\n paddingBottom: 100\n },\n title: {\n height: 72,\n width: 268,\n fontSize: theme.fontSize.xxlarge,\n fontWeight: theme.fontWeight.bold,\n lineHeight: 36,\n color: theme.colors.text.primary,\n marginBottom: 32\n },\n text: {\n fontSize: theme.fontSize.large,\n color: theme.colors.text.primary,\n opacity: 0.7\n },\n tips: {\n marginTop: 32,\n height: 300,\n justifyContent: 'center'\n },\n tip: {\n flexDirection: 'row',\n overflow: 'hidden',\n alignItems: 'center',\n height: 54,\n borderRadius: 8,\n backgroundColor: theme.colors.gray.extra,\n marginTop: theme.spacing.micro,\n marginBottom: theme.spacing.micro\n },\n tipText: {\n fontSize: 16,\n lineHeight: 22,\n color: theme.colors.text.primary\n },\n icon: {\n margin: 10\n },\n button: {\n height: 52,\n borderRadius: 7,\n marginBottom: 32,\n marginTop: 16,\n backgroundColor: brandTheme?.colors?.primary || theme.colors.cta,\n justifyContent: 'center'\n },\n buttonText: {\n alignSelf: 'center',\n fontWeight: theme.fontWeight.bold,\n fontSize: theme.fontSize.large,\n color: '#fff'\n }\n });\n\nconst Tip = (props: TipProps) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {brandTheme, theme} = templateContext;\n const {Icon, text} = props;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(brandTheme, theme);\n setStylesheet(_stylesheet);\n }, [brandTheme, theme]);\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <View style={styleSheet.tip}>\n <Icon height={16} width={16} style={styleSheet.icon} color={theme.colors.text.primary} />\n <Text style={styleSheet.tipText}>{text}</Text>\n </View>\n );\n};\n\nconst Onboarding = (props: OnboardingProps) => {\n const templateContext = useTemplateContext();\n const [styleSheet, setStylesheet] = useState<StyleSheetType | null>(null);\n const {brandTheme, theme, translations} = templateContext;\n const {onPress} = props;\n\n useEffect(() => {\n const _stylesheet = createStyleSheet(brandTheme, theme);\n setStylesheet(_stylesheet);\n }, [brandTheme, theme]);\n\n // ------------------------------------\n\n if (!styleSheet) {\n return null;\n }\n\n return (\n <View style={styleSheet.container}>\n <Html style={styleSheet.title}>{translations.appReview.presentation.title}</Html>\n <Html style={styleSheet.text}>{translations.appReview.presentation.text}</Html>\n\n <View style={styleSheet.tips}>\n <Tip Icon={TargetIcon} text={translations.appReview.presentation.labelList.skills.text} />\n <Tip\n Icon={QuestionMarkIcon}\n text={translations.appReview.presentation.labelList.questions.text}\n />\n <Tip Icon={HeartIcon} text={translations.appReview.presentation.labelList.lifes.text} />\n <Tip\n Icon={CheckCircle2Icon}\n text={translations.appReview.presentation.labelList.allright.text}\n />\n </View>\n <Touchable\n testID=\"button-quit-revision-onboarding\"\n onPress={onPress}\n analyticsID=\"button-start\"\n style={styleSheet.button}\n >\n <Text style={styleSheet.buttonText}>{translations.ok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 +1,45 @@
1
+ .container {
2
+ width: 300px;
3
+ height: 300px;
4
+ position: relative;
5
+ perspective: 800px;
6
+ }
7
+
8
+ .square {
9
+ position: absolute;
10
+ width: 100%;
11
+ height: 100%;
12
+ transform-style: preserve-3d;
13
+ transition: transform 1s;
14
+ border: 1px solid black;
15
+ top: 100px;
16
+ left: 100px;
17
+ }
18
+
19
+ .flipped > .square {
20
+ transform: rotateY(180deg);
21
+ }
22
+
23
+ .front,
24
+ .back {
25
+ margin: 0;
26
+ display: block;
27
+ position: absolute;
28
+ width: 100%;
29
+ height: 100%;
30
+ backface-visibility: hidden;
31
+ }
32
+
33
+ .front {
34
+ font-size: 20px;
35
+ display: flex;
36
+ align-items: center;
37
+ justify-content: center;
38
+ flex-flow: column;
39
+ }
40
+
41
+ .back {
42
+ background-image: url(http://img.voi.pmdstatic.net/fit/http.3A.2F.2Fprd2-bone-image.2Es3-website-eu-west-1.2Eamazonaws.2Ecom.2Fprismamedia_people.2F2017.2F06.2F30.2Fa9a1132c-920d-4d0d-af0c-7c686d72dfe5.2Ejpeg/380x285/quality/80/jacques-chirac.jpg);
43
+ background-size: cover;
44
+ transform: rotateY(180deg);
45
+ }
@@ -0,0 +1,211 @@
1
+ # Snapshot report for `src/molecule/select-multiple/test/index.js`
2
+
3
+ The actual snapshot is saved in `index.js.snap`.
4
+
5
+ Generated by [AVA](https://ava.li).
6
+
7
+ ## should shallow render when select is opened
8
+
9
+ > Snapshot 1
10
+
11
+ ShallowWrapper {
12
+ <div
13
+ className="select-multiple__default variables__defaultText"
14
+ >
15
+ <span
16
+ className="select-multiple__title"
17
+ >
18
+ Learning Path:
19
+ </span>
20
+ <div
21
+ className="select-multiple__select"
22
+ onClick={Function {}}
23
+ title="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut"
24
+ >
25
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
26
+ <SvgComponent⍟
27
+ className="select-multiple__arrow select-multiple__down"
28
+ color={undefined}
29
+ />
30
+ </div>
31
+ <div
32
+ className="select-multiple__activeChoices"
33
+ >
34
+ <ul
35
+ className="select-multiple__list"
36
+ >
37
+ <li
38
+ className="select-multiple__choice"
39
+ key="0"
40
+ >
41
+ <TitledCheckbox⍟
42
+ background={undefined}
43
+ choice={
44
+ {
45
+ i: 0,
46
+ name: 'Digital',
47
+ selected: false,
48
+ value: 'digital',
49
+ }
50
+ }
51
+ onToggle={Function {}}
52
+ />
53
+ </li>
54
+ <li
55
+ className="select-multiple__choice"
56
+ key="1"
57
+ >
58
+ <TitledCheckbox⍟
59
+ background={undefined}
60
+ choice={
61
+ {
62
+ i: 1,
63
+ name: 'Esprit du temps',
64
+ selected: false,
65
+ value: 'espritDuTemps',
66
+ }
67
+ }
68
+ onToggle={Function {}}
69
+ />
70
+ </li>
71
+ <li
72
+ className="select-multiple__choice"
73
+ key="2"
74
+ >
75
+ <TitledCheckbox⍟
76
+ background={undefined}
77
+ choice={
78
+ {
79
+ i: 2,
80
+ name: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut',
81
+ selected: true,
82
+ value: 'loremIpsum',
83
+ }
84
+ }
85
+ onToggle={Function {}}
86
+ />
87
+ </li>
88
+ <li
89
+ className="select-multiple__choice"
90
+ key="3"
91
+ >
92
+ <TitledCheckbox⍟
93
+ background={undefined}
94
+ choice={
95
+ {
96
+ i: 3,
97
+ name: 'Le monde du projet',
98
+ selected: false,
99
+ value: 'project',
100
+ }
101
+ }
102
+ onToggle={Function {}}
103
+ />
104
+ </li>
105
+ </ul>
106
+ </div>
107
+ </div>,
108
+ }
109
+
110
+ ## should shallow render with default props
111
+
112
+ > Snapshot 1
113
+
114
+ ShallowWrapper {
115
+ <div
116
+ className="select-multiple__default variables__defaultText"
117
+ >
118
+ <span
119
+ className="select-multiple__title"
120
+ >
121
+ Learning Path:
122
+ </span>
123
+ <div
124
+ className="select-multiple__select"
125
+ onClick={Function {}}
126
+ title="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut"
127
+ >
128
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
129
+ <SvgComponent⍟
130
+ className="select-multiple__arrow"
131
+ color={undefined}
132
+ />
133
+ </div>
134
+ <div
135
+ className="select-multiple__choices"
136
+ >
137
+ <ul
138
+ className="select-multiple__list"
139
+ >
140
+ <li
141
+ className="select-multiple__choice"
142
+ key="0"
143
+ >
144
+ <TitledCheckbox⍟
145
+ background={undefined}
146
+ choice={
147
+ {
148
+ i: 0,
149
+ name: 'Digital',
150
+ selected: false,
151
+ value: 'digital',
152
+ }
153
+ }
154
+ onToggle={Function {}}
155
+ />
156
+ </li>
157
+ <li
158
+ className="select-multiple__choice"
159
+ key="1"
160
+ >
161
+ <TitledCheckbox⍟
162
+ background={undefined}
163
+ choice={
164
+ {
165
+ i: 1,
166
+ name: 'Esprit du temps',
167
+ selected: false,
168
+ value: 'espritDuTemps',
169
+ }
170
+ }
171
+ onToggle={Function {}}
172
+ />
173
+ </li>
174
+ <li
175
+ className="select-multiple__choice"
176
+ key="2"
177
+ >
178
+ <TitledCheckbox⍟
179
+ background={undefined}
180
+ choice={
181
+ {
182
+ i: 2,
183
+ name: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut',
184
+ selected: true,
185
+ value: 'loremIpsum',
186
+ }
187
+ }
188
+ onToggle={Function {}}
189
+ />
190
+ </li>
191
+ <li
192
+ className="select-multiple__choice"
193
+ key="3"
194
+ >
195
+ <TitledCheckbox⍟
196
+ background={undefined}
197
+ choice={
198
+ {
199
+ i: 3,
200
+ name: 'Le monde du projet',
201
+ selected: false,
202
+ value: 'project',
203
+ }
204
+ }
205
+ onToggle={Function {}}
206
+ />
207
+ </li>
208
+ </ul>
209
+ </div>
210
+ </div>,
211
+ }
@@ -424,7 +424,6 @@ declare const AppReview: {
424
424
  }>>>;
425
425
  endReview: import("prop-types").Requireable<boolean>;
426
426
  }>>;
427
- reviewBackgroundAriaLabel: import("prop-types").Requireable<string>;
428
427
  congrats: import("prop-types").Requireable<import("prop-types").InferProps<{
429
428
  'aria-label': import("prop-types").Requireable<string>;
430
429
  'data-name': import("prop-types").Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpD,CAAC;AAIF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpD,CAAC;AAIF,eAAe,SAAS,CAAC"}
@@ -0,0 +1,235 @@
1
+ @value breakpoints: "../../../variables/breakpoints.css";
2
+ @value tablet from breakpoints;
3
+ @value mobile from breakpoints;
4
+
5
+ .interrogationBase {
6
+ position: absolute;
7
+ font-family: "Gilroy";
8
+ font-size: 700px;
9
+ font-weight: 700;
10
+ text-align: center;
11
+ color: black;
12
+ opacity: 0.02;
13
+ user-select: none;
14
+ z-index: 1;
15
+ }
16
+
17
+ .mainContainer {
18
+ position: relative;
19
+ width: 100vw;
20
+ height: 100%;
21
+ background: #ffffff;
22
+ padding: 0;
23
+ margin: 0;
24
+ overflow: hidden;
25
+ }
26
+
27
+ .container {
28
+ position: absolute;
29
+ width: 100%;
30
+ height: 100%;
31
+ left: 0px;
32
+ top: 0px;
33
+ }
34
+
35
+ .interrogationLeft {
36
+ composes: interrogationBase;
37
+ left: -14%;
38
+ top: -15%;
39
+ transform: rotate(49.77deg);
40
+ }
41
+
42
+ .interrogationRight {
43
+ composes: interrogationBase;
44
+ left: 72%;
45
+ top: 12%;
46
+ transform: rotate(135deg);
47
+ }
48
+
49
+ .recYellow {
50
+ position: absolute;
51
+ left: -40.79%;
52
+ right: 60.63%;
53
+ top: 0.34%;
54
+ bottom: 24.77%;
55
+ background: radial-gradient(
56
+ circle closest-side at 57.97% 41.54%,
57
+ #ffc043 0%,
58
+ rgba(255, 255, 255, 0) 100%
59
+ );
60
+ opacity: 0.4;
61
+ filter: blur(80px);
62
+ }
63
+
64
+ .recRed {
65
+ position: absolute;
66
+ left: 3.72%;
67
+ right: 42.62%;
68
+ top: 23.04%;
69
+ bottom: -9.22%;
70
+ background: radial-gradient(
71
+ circle closest-side at 57.97% 41.54%,
72
+ #ff7043 0%,
73
+ rgba(255, 255, 255, 0) 100%
74
+ );
75
+ opacity: 0.2;
76
+ filter: blur(80px);
77
+ }
78
+
79
+ .recBlue {
80
+ position: absolute;
81
+ left: 42.5%;
82
+ right: 0.35%;
83
+ top: 40.78%;
84
+ bottom: -67.67%;
85
+ background: radial-gradient(
86
+ circle closest-side at 39.9% 50%,
87
+ rgba(0, 97, 255, 0.55) 0%,
88
+ rgba(255, 255, 255, 0) 100%
89
+ );
90
+ opacity: 0.5;
91
+ filter: blur(80px);
92
+ }
93
+
94
+ .recGreen {
95
+ position: absolute;
96
+ left: 64.14%;
97
+ right: -20.87%;
98
+ top: -27.96%;
99
+ bottom: 45.85%;
100
+ background: radial-gradient(
101
+ circle closest-side at 56.78% 61.36%,
102
+ #2199ab 0%,
103
+ rgba(255, 255, 255, 0) 100%
104
+ );
105
+ opacity: 0.5;
106
+ filter: blur(100px);
107
+ }
108
+
109
+ .recGreenLight {
110
+ position: absolute;
111
+ left: 50.13%;
112
+ right: -18.51%;
113
+ top: 13.13%;
114
+ bottom: 6.78%;
115
+ background: radial-gradient(
116
+ circle closest-side at 54.18% 40.45%,
117
+ #18bb98 0%,
118
+ rgba(255, 255, 255, 0) 100%
119
+ );
120
+ opacity: 0.5;
121
+ filter: blur(100px);
122
+ }
123
+
124
+ @media tablet {
125
+ .interrogationLeft {
126
+ left: -8%;
127
+ top: 6%;
128
+ font-size: 500px;
129
+ }
130
+
131
+ .interrogationRight {
132
+ left: 70%;
133
+ top: 6%;
134
+ font-size: 500px;
135
+ }
136
+
137
+ .recYellow {
138
+ left: -20.79%;
139
+ right: 55.63%;
140
+ top: 5.34%;
141
+ bottom: 34.77%;
142
+ background: radial-gradient(
143
+ circle closest-side at 57.97% 41.54%,
144
+ #ffc043 0%,
145
+ rgba(255, 255, 255, 0) 100%
146
+ );
147
+ }
148
+
149
+ .recRed {
150
+ left: 10.72%;
151
+ right: 42.62%;
152
+ top: 33.04%;
153
+ bottom: -9.22%;
154
+ background: radial-gradient(
155
+ circle closest-side at 57.97% 41.54%,
156
+ #ff7043 0%,
157
+ rgba(255, 255, 255, 0) 100%
158
+ );
159
+ filter: blur(50px);
160
+ opacity: 0.2;
161
+ }
162
+
163
+ .recBlue {
164
+ bottom: -80.78%;
165
+ background: radial-gradient(
166
+ circle closest-side at 39.9% 50%,
167
+ rgba(0, 97, 255, 0.55) 0%,
168
+ rgba(255, 255, 255, 0) 100%
169
+ );
170
+ }
171
+
172
+ .recGreen {
173
+ bottom: 43.13%;
174
+ background: radial-gradient(
175
+ circle closest-side at 56.78% 61.36%,
176
+ #2199ab 0%,
177
+ rgba(255, 255, 255, 0) 100%
178
+ );
179
+ opacity: 0.3;
180
+ }
181
+
182
+ .recGreenLight {
183
+ left: 40%;
184
+ top: 13.13%;
185
+ background: radial-gradient(
186
+ circle closest-side at 54.18% 40.45%,
187
+ #18bb98 0%,
188
+ rgba(255, 255, 255, 0) 100%
189
+ );
190
+ }
191
+ }
192
+
193
+ @media mobile {
194
+ .interrogationLeft {
195
+ left: -25%;
196
+ top: 3%;
197
+ font-size: 400px;
198
+ }
199
+
200
+ .interrogationRight {
201
+ left: 55%;
202
+ top: 36%;
203
+ font-size: 400px;
204
+ }
205
+
206
+ .recYellow {
207
+ right: 50%;
208
+ top: -5.34%;
209
+ opacity: 0.5;
210
+ }
211
+
212
+ .recRed {
213
+ opacity: 0.5;
214
+ }
215
+
216
+ .recBlue {
217
+ left: 48.5%;
218
+ right: -35%;
219
+ bottom: -50.78%;
220
+ opacity: 0.5;
221
+ }
222
+
223
+ .recGreen {
224
+ top: -23.13%;
225
+ left: 30%;
226
+ opacity: 0.5;
227
+ }
228
+
229
+ .recGreenLight {
230
+ top: -3.13%;
231
+ left: 30%;
232
+ opacity: 0.5;
233
+ }
234
+ }
235
+
@@ -0,0 +1,3 @@
1
+ export default ReviewBackground;
2
+ declare function ReviewBackground(): JSX.Element;
3
+ //# sourceMappingURL=background-review.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background-review.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/background-review.js"],"names":[],"mappings":";AAGA,iDAkBC"}
@@ -1,14 +1,9 @@
1
1
  import React from 'react';
2
- import style from './style.css';
3
- import propTypes from './prop-types';
2
+ import style from './background-review.css';
4
3
 
5
- const ReviewBackground = props => {
6
- const {
7
- 'aria-label': ariaLabel
8
- } = props;
4
+ const ReviewBackground = () => {
9
5
  return /*#__PURE__*/React.createElement("div", {
10
6
  className: style.mainContainer,
11
- "aria-label": ariaLabel,
12
7
  tabIndex: -1
13
8
  }, /*#__PURE__*/React.createElement("div", {
14
9
  className: style.container,
@@ -37,6 +32,5 @@ const ReviewBackground = props => {
37
32
  })));
38
33
  };
39
34
 
40
- ReviewBackground.propTypes = process.env.NODE_ENV !== "production" ? propTypes : {};
41
35
  export default ReviewBackground;
42
- //# sourceMappingURL=index.js.map
36
+ //# sourceMappingURL=background-review.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"background-review.js","names":["React","style","ReviewBackground","mainContainer","container","interrogationLeft","interrogationRight","recYellow","recRed","recBlue","recGreen","recGreenLight"],"sources":["../../../../src/template/app-review/player/background-review.js"],"sourcesContent":["import React from 'react';\nimport style from './background-review.css';\n\nconst ReviewBackground = () => {\n return (\n <div className={style.mainContainer} tabIndex={-1}>\n <div className={style.container} tabIndex={-1}>\n <span className={style.interrogationLeft} tabIndex={-1}>\n ?\n </span>\n <span className={style.interrogationRight} tabIndex={-1}>\n ?\n </span>\n <div className={style.recYellow} tabIndex={-1} />\n <div className={style.recRed} tabIndex={-1} />\n <div className={style.recBlue} tabIndex={-1} />\n <div className={style.recGreen} tabIndex={-1} />\n <div className={style.recGreenLight} tabIndex={-1} />\n </div>\n </div>\n );\n};\n\nexport default ReviewBackground;\n"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,OAAOC,KAAP,MAAkB,yBAAlB;;AAEA,MAAMC,gBAAgB,GAAG,MAAM;EAC7B,oBACE;IAAK,SAAS,EAAED,KAAK,CAACE,aAAtB;IAAqC,QAAQ,EAAE,CAAC;EAAhD,gBACE;IAAK,SAAS,EAAEF,KAAK,CAACG,SAAtB;IAAiC,QAAQ,EAAE,CAAC;EAA5C,gBACE;IAAM,SAAS,EAAEH,KAAK,CAACI,iBAAvB;IAA0C,QAAQ,EAAE,CAAC;EAArD,OADF,eAIE;IAAM,SAAS,EAAEJ,KAAK,CAACK,kBAAvB;IAA2C,QAAQ,EAAE,CAAC;EAAtD,OAJF,eAOE;IAAK,SAAS,EAAEL,KAAK,CAACM,SAAtB;IAAiC,QAAQ,EAAE,CAAC;EAA5C,EAPF,eAQE;IAAK,SAAS,EAAEN,KAAK,CAACO,MAAtB;IAA8B,QAAQ,EAAE,CAAC;EAAzC,EARF,eASE;IAAK,SAAS,EAAEP,KAAK,CAACQ,OAAtB;IAA+B,QAAQ,EAAE,CAAC;EAA1C,EATF,eAUE;IAAK,SAAS,EAAER,KAAK,CAACS,QAAtB;IAAgC,QAAQ,EAAE,CAAC;EAA3C,EAVF,eAWE;IAAK,SAAS,EAAET,KAAK,CAACU,aAAtB;IAAqC,QAAQ,EAAE,CAAC;EAAhD,EAXF,CADF,CADF;AAiBD,CAlBD;;AAoBA,eAAeT,gBAAf"}
@@ -1,8 +1,7 @@
1
1
  export default PlayerReview;
2
- declare function PlayerReview({ header, stack, reviewBackgroundAriaLabel, congrats, quitPopin }: {
2
+ declare function PlayerReview({ header, stack, congrats, quitPopin }: {
3
3
  header: any;
4
4
  stack: any;
5
- reviewBackgroundAriaLabel: any;
6
5
  congrats: any;
7
6
  quitPopin: any;
8
7
  }): JSX.Element;