@bigbinary/neeto-molecules 1.16.4 → 1.17.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.
@@ -1,19 +1,22 @@
1
1
  import { _ as _extends } from './extends-093996c9.js';
2
- import React__default from 'react';
2
+ import React__default, { useMemo } from 'react';
3
3
  import classnames from 'classnames';
4
- import { isPresent } from '@bigbinary/neeto-cist';
4
+ import { isPresent, noop } from '@bigbinary/neeto-cist';
5
5
  import withT from '@bigbinary/neeto-commons-frontend/react-utils/withT';
6
- import { Typography, Button } from '@bigbinary/neetoui';
6
+ import { Typography, Button, Stepper } from '@bigbinary/neetoui';
7
7
  import { p as propTypes } from './index-e5588516.js';
8
8
  import { n } from './inject-css-c86de496.js';
9
9
  import useBreakpoints from '@bigbinary/neeto-commons-frontend/react-utils/useBreakpoints';
10
10
  import { useTranslation } from 'react-i18next';
11
+ import { globalProps as globalProps$1 } from '@bigbinary/neeto-commons-frontend/initializers';
12
+ import { _ as _defineProperty } from './defineProperty-549061a7.js';
13
+ import { t } from 'i18next';
11
14
  import { RightArrow } from '@bigbinary/neeto-icons';
12
15
 
13
- var css = ".neeto-molecules-onboarding__wrapper{align-items:center;display:flex;flex-direction:column;flex-grow:1;height:100vh;overflow-y:auto;padding:15vh 32px 32px;width:100%}";
14
- n(css,{});
16
+ var css$1 = ".neeto-molecules-onboarding__wrapper{align-items:center;display:flex;flex-direction:column;flex-grow:1;height:100vh;overflow-y:auto;padding:15vh 32px 32px;width:100%}";
17
+ n(css$1,{});
15
18
 
16
- var CompletedScreen = withT(function (_ref) {
19
+ var CompletedScreen$1 = withT(function (_ref) {
17
20
  var t = _ref.t,
18
21
  title = _ref.title,
19
22
  description = _ref.description,
@@ -49,7 +52,7 @@ var CompletedScreen = withT(function (_ref) {
49
52
  label: t("neetoMolecules.onboarding.startUsing")
50
53
  }, buttonProps)));
51
54
  });
52
- CompletedScreen.propTypes = {
55
+ CompletedScreen$1.propTypes = {
53
56
  /**
54
57
  * To specify external classnames as overrides.
55
58
  */
@@ -72,7 +75,7 @@ CompletedScreen.propTypes = {
72
75
  buttonProps: propTypes.exports.object
73
76
  };
74
77
 
75
- var HelpScreen = function HelpScreen(_ref) {
78
+ var HelpScreen$1 = function HelpScreen(_ref) {
76
79
  var buttonProps = _ref.buttonProps,
77
80
  _ref$className = _ref.className,
78
81
  className = _ref$className === void 0 ? "" : _ref$className,
@@ -118,6 +121,175 @@ var HelpScreen = function HelpScreen(_ref) {
118
121
  }, buttonProps))));
119
122
  };
120
123
 
124
+ var css = ".neeto-molecules-onboarding__wrapper{align-items:center;display:flex;flex-direction:column;flex-grow:1;height:100vh;overflow-y:auto;padding:15vh 32px 32px;width:100%}.neeto-molecules-onboarding__container{display:flex;flex-direction:column;height:100vh;overflow-y:auto;position:relative;width:100%}.neeto-molecules-onboarding__stepper-wrapper{background-color:rgb(var(--neeto-ui-white));border-bottom:1px solid rgb(var(--neeto-ui-gray-200));display:flex;flex-shrink:0;padding:8px 16px;width:100%}@media (min-width:1024px){.neeto-molecules-onboarding__stepper-wrapper{justify-content:center}}.neeto-molecules-onboarding__content{flex-grow:1;min-height:0;overflow-y:auto;width:100%}";
125
+ n(css,{});
126
+
127
+ var CompletedScreen = withT(function (_ref) {
128
+ var t = _ref.t,
129
+ completeButtonProps = _ref.completeButtonProps;
130
+ return /*#__PURE__*/React__default.createElement("div", {
131
+ className: "neeto-molecules-onboarding__wrapper",
132
+ "data-testid": "onboarding-congratulations-wrapper"
133
+ }, /*#__PURE__*/React__default.createElement("div", {
134
+ className: "mx-auto mb-6 w-full max-w-2xl space-y-2"
135
+ }, /*#__PURE__*/React__default.createElement(Typography, {
136
+ className: "text-center",
137
+ "data-cy": "onboarding-congratulations-emoji",
138
+ style: "h1"
139
+ }, "\uD83C\uDF89"), /*#__PURE__*/React__default.createElement(Typography, {
140
+ className: "text-center",
141
+ "data-cy": "onboarding-congratulations-title",
142
+ "data-testid": "onboarding-congratulations-title",
143
+ style: "h1"
144
+ }, /*#__PURE__*/React__default.createElement("span", {
145
+ className: "neeto-ui-text-success-500"
146
+ }, t("neetoMolecules.onboarding.congratulations")), /*#__PURE__*/React__default.createElement("br", null), t("neetoMolecules.onboarding.readyToUse", {
147
+ appName: globalProps$1.appName
148
+ }))), /*#__PURE__*/React__default.createElement(Button, _extends({
149
+ "data-cy": "onboarding-congratulations-button",
150
+ "data-testid": "onboarding-congratulations-button",
151
+ label: t("neetoMolecules.onboarding.startUsing")
152
+ }, completeButtonProps)));
153
+ });
154
+
155
+ var HelpScreen = function HelpScreen(_ref) {
156
+ var setCurrentStep = _ref.setCurrentStep,
157
+ currentStep = _ref.currentStep;
158
+ var _useTranslation = useTranslation(),
159
+ t = _useTranslation.t;
160
+ var _useBreakpoints = useBreakpoints(),
161
+ isSize = _useBreakpoints.isSize;
162
+ return /*#__PURE__*/React__default.createElement("div", {
163
+ className: "mx-auto w-full max-w-2xl space-y-6 p-4"
164
+ }, /*#__PURE__*/React__default.createElement("div", {
165
+ className: "space-y-3"
166
+ }, /*#__PURE__*/React__default.createElement(Typography, {
167
+ component: "h1",
168
+ "data-cy": "onboarding-help-title",
169
+ "data-testid": "onboarding-help-title",
170
+ style: "h2"
171
+ }, t("neetoMolecules.onboarding.helpScreen.welcomeToTitle", {
172
+ appName: globalProps$1.appName
173
+ })), /*#__PURE__*/React__default.createElement(Typography, {
174
+ "data-cy": "onboarding-help-description",
175
+ "data-testid": "onboarding-help-description",
176
+ lineHeight: "normal",
177
+ style: "body1"
178
+ }, t("neetoMolecules.onboarding.helpScreen.description")), /*#__PURE__*/React__default.createElement("div", {
179
+ className: "w-full"
180
+ }, isSize("mobile") ? /*#__PURE__*/React__default.createElement("img", {
181
+ alt: "",
182
+ src: "https://ik.imagekit.io/d9mvewbju/Commons/help-mobile_FpB8LKYj4.svg"
183
+ }) : /*#__PURE__*/React__default.createElement("img", {
184
+ alt: "",
185
+ src: "https://ik.imagekit.io/d9mvewbju/Commons/help-desktop_aVe6ENdX97.svg"
186
+ }))), /*#__PURE__*/React__default.createElement(Button, {
187
+ "data-cy": "onboarding-help-button",
188
+ "data-testid": "onboarding-help-button",
189
+ icon: RightArrow,
190
+ iconPosition: "right",
191
+ label: t("neetoMolecules.onboarding.helpScreen.continueButton"),
192
+ onClick: function onClick() {
193
+ return setCurrentStep(currentStep + 1);
194
+ }
195
+ }));
196
+ };
197
+
198
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
199
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
200
+ var createSteps = function createSteps(onboardingSteps, setCurrentStep, currentStep) {
201
+ var helpStep = {
202
+ label: t("neetoMolecules.onboarding.helpLabel"),
203
+ element: /*#__PURE__*/React__default.createElement(HelpScreen, {
204
+ currentStep: currentStep,
205
+ setCurrentStep: setCurrentStep
206
+ })
207
+ };
208
+ return onboardingSteps.concat(helpStep).map(function (step, idx) {
209
+ return _objectSpread(_objectSpread({}, step), {}, {
210
+ id: idx + 1
211
+ });
212
+ });
213
+ };
214
+
215
+ var WelcomeScreen$1 = withT(function (_ref) {
216
+ var t = _ref.t,
217
+ setCurrentStep = _ref.setCurrentStep,
218
+ currentStep = _ref.currentStep;
219
+ return /*#__PURE__*/React__default.createElement("div", {
220
+ className: "neeto-molecules-onboarding__wrapper",
221
+ "data-testid": "onboarding-welcome-wrapper"
222
+ }, /*#__PURE__*/React__default.createElement("div", {
223
+ className: "mx-auto mb-6 w-full max-w-2xl space-y-2"
224
+ }, /*#__PURE__*/React__default.createElement(Typography, {
225
+ className: "text-center",
226
+ "data-cy": "onboarding-welcome-title",
227
+ "data-testid": "onboarding-welcome-title",
228
+ style: "h1"
229
+ }, t("neetoMolecules.onboarding.helpScreen.welcomeToTitle", {
230
+ appName: globalProps$1.appName
231
+ })), /*#__PURE__*/React__default.createElement(Typography, {
232
+ className: "text-center",
233
+ "data-cy": "onboarding-welcome-description",
234
+ "data-testid": "onboarding-welcome-description",
235
+ lineHeight: "normal",
236
+ style: "body1"
237
+ }, t("neetoMolecules.onboarding.letUsCustomize", {
238
+ appName: globalProps$1.appName
239
+ }))), /*#__PURE__*/React__default.createElement(Button, {
240
+ "data-cy": "onboarding-welcome-button",
241
+ "data-testid": "onboarding-welcome-button",
242
+ icon: RightArrow,
243
+ label: t("neetoMolecules.onboarding.getStarted"),
244
+ onClick: function onClick() {
245
+ return setCurrentStep(currentStep + 1);
246
+ }
247
+ }));
248
+ });
249
+
250
+ var Onboarding = function Onboarding(_ref) {
251
+ var _steps;
252
+ var _ref$currentStep = _ref.currentStep,
253
+ currentStep = _ref$currentStep === void 0 ? 0 : _ref$currentStep,
254
+ _ref$setCurrentStep = _ref.setCurrentStep,
255
+ setCurrentStep = _ref$setCurrentStep === void 0 ? noop : _ref$setCurrentStep,
256
+ _ref$onboardingSteps = _ref.onboardingSteps,
257
+ onboardingSteps = _ref$onboardingSteps === void 0 ? [] : _ref$onboardingSteps,
258
+ _ref$completeButtonPr = _ref.completeButtonProps,
259
+ completeButtonProps = _ref$completeButtonPr === void 0 ? {} : _ref$completeButtonPr;
260
+ var steps = useMemo(function () {
261
+ return createSteps(onboardingSteps, setCurrentStep, currentStep);
262
+ }, [onboardingSteps]);
263
+ if (currentStep === 0) {
264
+ return /*#__PURE__*/React__default.createElement(WelcomeScreen$1, {
265
+ currentStep: currentStep,
266
+ setCurrentStep: setCurrentStep
267
+ });
268
+ }
269
+ if (currentStep === steps.length + 1) {
270
+ return /*#__PURE__*/React__default.createElement(CompletedScreen, {
271
+ completeButtonProps: completeButtonProps
272
+ });
273
+ }
274
+ var handleStepChange = function handleStepChange(index) {
275
+ return setCurrentStep(index + 1);
276
+ };
277
+ var isStepperVisible = steps.length > 1;
278
+ return /*#__PURE__*/React__default.createElement("div", {
279
+ className: classnames("neeto-molecules-onboarding__container", {
280
+ "neeto-molecules-onboarding__wrapper": !isStepperVisible
281
+ })
282
+ }, isStepperVisible && /*#__PURE__*/React__default.createElement("div", {
283
+ className: "neeto-molecules-onboarding__stepper-wrapper"
284
+ }, /*#__PURE__*/React__default.createElement(Stepper, {
285
+ steps: steps,
286
+ activeIndex: currentStep - 1,
287
+ setActiveIndex: handleStepChange
288
+ })), /*#__PURE__*/React__default.createElement("div", {
289
+ className: "neeto-molecules-onboarding__content"
290
+ }, (_steps = steps[currentStep - 1]) === null || _steps === void 0 ? void 0 : _steps.element));
291
+ };
292
+
121
293
  var WelcomeScreen = withT(function (_ref) {
122
294
  var t = _ref.t,
123
295
  title = _ref.title,
@@ -167,5 +339,5 @@ WelcomeScreen.propTypes = {
167
339
  buttonProps: propTypes.exports.object
168
340
  };
169
341
 
170
- export { CompletedScreen, HelpScreen, WelcomeScreen };
342
+ export { CompletedScreen$1 as CompletedScreen, HelpScreen$1 as HelpScreen, WelcomeScreen, Onboarding as default };
171
343
  //# sourceMappingURL=Onboarding.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Onboarding.js","sources":["../src/components/Onboarding/CompletedScreen.jsx","../src/components/Onboarding/HelpScreen.jsx","../src/components/Onboarding/WelcomeScreen.jsx"],"sourcesContent":["import React from \"react\";\n\nimport classnames from \"classnames\";\nimport { isPresent } from \"neetocist\";\nimport withT from \"neetocommons/react-utils/withT\";\nimport { Button, Typography } from \"neetoui\";\nimport PropTypes from \"prop-types\";\n\nimport \"./onboarding.scss\";\n\nconst CompletedScreen = withT(\n ({ t, title, description, children, buttonProps, className = \"\" }) => (\n <div\n className={classnames(\"neeto-molecules-onboarding__wrapper\", className)}\n data-testid=\"onboarding-congratulations-wrapper\"\n >\n <div className=\"mx-auto mb-6 w-full max-w-2xl space-y-2\">\n <Typography\n className=\"text-center\"\n data-cy=\"onboarding-congratulations-emoji\"\n style=\"h1\"\n >\n 🎉\n </Typography>\n <Typography\n className=\"text-center\"\n data-cy=\"onboarding-congratulations-title\"\n data-testid=\"onboarding-congratulations-title\"\n style=\"h1\"\n >\n <span className=\"neeto-ui-text-success-500\">\n {t(\"neetoMolecules.onboarding.congratulations\")}\n </span>\n <br />\n {title}\n </Typography>\n {description && (\n <Typography\n className=\"text-center\"\n data-cy=\"onboarding-congratulations-description\"\n data-testid=\"onboarding-congratulations-description\"\n lineHeight=\"normal\"\n style=\"body1\"\n >\n {description}\n </Typography>\n )}\n {children}\n </div>\n {isPresent(buttonProps) && (\n <Button\n data-cy=\"onboarding-congratulations-button\"\n data-testid=\"onboarding-congratulations-button\"\n label={t(\"neetoMolecules.onboarding.startUsing\")}\n {...buttonProps}\n />\n )}\n </div>\n )\n);\n\nCompletedScreen.propTypes = {\n /**\n * To specify external classnames as overrides.\n */\n className: PropTypes.string,\n /**\n * Title of the completed screen\n */\n title: PropTypes.string,\n /**\n * Description of the completed screen\n */\n description: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n /**\n * Additional children elements to be rendered within the completed screen.\n */\n children: PropTypes.node,\n /**\n * Additional props that can be passed on to the button\n */\n buttonProps: PropTypes.object,\n};\n\nexport default CompletedScreen;\n","import React from \"react\";\n\nimport classnames from \"classnames\";\nimport useBreakpoints from \"neetocommons/react-utils/useBreakpoints\";\nimport { Button, Typography } from \"neetoui\";\nimport PropTypes from \"prop-types\";\nimport { useTranslation } from \"react-i18next\";\n\nimport \"./onboarding.scss\";\n\nconst HelpScreen = ({ buttonProps, className = \"\", standalone = false }) => {\n const { t } = useTranslation();\n const { isSize } = useBreakpoints();\n\n return (\n <div\n className={classnames(\"neeto-molecules-onboarding__wrapper\", className)}\n data-testid=\"onboarding-help-wrapper\"\n >\n <div className=\"mx-auto w-full max-w-2xl space-y-6\">\n <div className=\"space-y-3\">\n <Typography\n component=\"h1\"\n data-cy=\"onboarding-help-title\"\n data-testid=\"onboarding-help-title\"\n style=\"h2\"\n >\n {standalone\n ? t(\"neetoMolecules.onboarding.helpScreen.welcomeToTitle\", {\n appName: globalProps.appName,\n })\n : t(\"neetoMolecules.onboarding.helpScreen.title\")}\n </Typography>\n <Typography\n data-cy=\"onboarding-help-description\"\n data-testid=\"onboarding-help-description\"\n lineHeight=\"normal\"\n style=\"body1\"\n >\n {t(\"neetoMolecules.onboarding.helpScreen.description\")}\n </Typography>\n <div className=\"w-full overflow-hidden\">\n {isSize(\"mobile\") ? (\n <img\n alt=\"\"\n src=\"https://ik.imagekit.io/d9mvewbju/Commons/help-mobile_FpB8LKYj4.svg\"\n />\n ) : (\n <img\n alt=\"\"\n src=\"https://ik.imagekit.io/d9mvewbju/Commons/help-desktop_aVe6ENdX97.svg\"\n />\n )}\n </div>\n </div>\n <Button\n data-cy=\"onboarding-help-button\"\n data-testid=\"onboarding-help-button\"\n label={\n standalone\n ? t(\"neetoMolecules.onboarding.helpScreen.startUsingButton\", {\n appName: globalProps.appName,\n })\n : t(\"neetoMolecules.onboarding.helpScreen.continueButton\")\n }\n {...buttonProps}\n />\n </div>\n </div>\n );\n};\n\nHelpScreen.propTypes = {\n /**\n * To specify external classnames as overrides.\n */\n className: PropTypes.string,\n /**\n * Additional props that can be passed on to the button\n */\n buttonProps: PropTypes.object,\n /**\n * To specify if the help screen is standalone or not.\n */\n standalone: PropTypes.bool,\n};\n\nexport default HelpScreen;\n","import React from \"react\";\n\nimport classnames from \"classnames\";\nimport withT from \"neetocommons/react-utils/withT\";\nimport { RightArrow } from \"neetoicons\";\nimport { Button, Typography } from \"neetoui\";\nimport PropTypes from \"prop-types\";\n\nimport \"./onboarding.scss\";\n\nconst WelcomeScreen = withT(\n ({ t, title, description, buttonProps, className = \"\" }) => (\n <div\n className={classnames(\"neeto-molecules-onboarding__wrapper\", className)}\n data-testid=\"onboarding-welcome-wrapper\"\n >\n <div className=\"mx-auto mb-6 w-full max-w-2xl space-y-2\">\n <Typography\n className=\"text-center\"\n data-cy=\"onboarding-welcome-title\"\n data-testid=\"onboarding-welcome-title\"\n style=\"h1\"\n >\n {title}\n </Typography>\n {description && (\n <Typography\n className=\"text-center\"\n data-cy=\"onboarding-welcome-description\"\n data-testid=\"onboarding-welcome-description\"\n lineHeight=\"normal\"\n style=\"body1\"\n >\n {description}\n </Typography>\n )}\n </div>\n <Button\n data-cy=\"onboarding-welcome-button\"\n data-testid=\"onboarding-welcome-button\"\n icon={RightArrow}\n label={t(\"neetoMolecules.onboarding.getStarted\")}\n {...buttonProps}\n />\n </div>\n )\n);\n\nWelcomeScreen.propTypes = {\n /**\n * To specify external classnames as overrides.\n */\n className: PropTypes.string,\n /**\n * Title of the welcome screen\n */\n title: PropTypes.string,\n /**\n * Description of the welcome screen\n */\n description: PropTypes.string,\n /**\n * Additional props that can be passed on to the button\n */\n buttonProps: PropTypes.object,\n};\n\nexport default WelcomeScreen;\n"],"names":["CompletedScreen","withT","_ref","t","title","description","children","buttonProps","_ref$className","className","React","createElement","classnames","Typography","style","lineHeight","isPresent","Button","_extends","label","propTypes","PropTypes","string","oneOfType","node","object","HelpScreen","_ref$standalone","standalone","_useTranslation","useTranslation","_useBreakpoints","useBreakpoints","isSize","component","appName","globalProps","alt","src","WelcomeScreen","icon","RightArrow"],"mappings":";;;;;;;;;;;;;;;AAUA,IAAMA,eAAe,GAAGC,KAAK,CAC3B,UAAAC,IAAA,EAAA;AAAA,EAAA,IAAGC,CAAC,GAAAD,IAAA,CAADC,CAAC;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAEC,WAAW,GAAAH,IAAA,CAAXG,WAAW;IAAEC,QAAQ,GAAAJ,IAAA,CAARI,QAAQ;IAAEC,WAAW,GAAAL,IAAA,CAAXK,WAAW;IAAAC,cAAA,GAAAN,IAAA,CAAEO,SAAS;AAATA,IAA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EAAC,QAAQ;AACnBD,IAAAA,KAAK,EAAC,OAAA;GAELT,EAAAA,WACS,CAEX,CAAC,eACNK,cAAA,CAAAC,aAAA,CAACM,MAAM,EAAAC,QAAA,CAAA;AACL,IAAA,SAAA,EAAQ,2BAA2B;AACnC,IAAA,aAAA,EAAY,2BAA2B;AACvCsB,IAAAA,IAAI,EAAEC,UAAW;IACjBtB,KAAK,EAAEhB,CAAC,CAAC,sCAAsC,CAAA;GAC3CI,EAAAA,WAAW,CAChB,CACE,CAAC,CAAA;AAAA,CAEV,EAAC;AAEDgC,aAAa,CAACnB,SAAS,GAAG;AACxB;AACF;AACA;EACEX,SAAS,EAAEY,iBAAS,CAACC,MAAM;AAC3B;AACF;AACA;EACElB,KAAK,EAAEiB,iBAAS,CAACC,MAAM;AACvB;AACF;AACA;EACEjB,WAAW,EAAEgB,iBAAS,CAACC,MAAM;AAC7B;AACF;AACA;EACEf,WAAW,EAAEc,iBAAS,CAACI,MAAAA;AACzB,CAAC;;;;"}
1
+ {"version":3,"file":"Onboarding.js","sources":["../src/components/Onboarding/CompletedScreen.jsx","../src/components/Onboarding/HelpScreen.jsx","../src/components/Onboarding/Onboarding/CompletedScreen.jsx","../src/components/Onboarding/Onboarding/HelpScreen.jsx","../src/components/Onboarding/Onboarding/utils.jsx","../src/components/Onboarding/Onboarding/WelcomeScreen.jsx","../src/components/Onboarding/Onboarding/index.jsx","../src/components/Onboarding/WelcomeScreen.jsx"],"sourcesContent":["import React from \"react\";\n\nimport classnames from \"classnames\";\nimport { isPresent } from \"neetocist\";\nimport withT from \"neetocommons/react-utils/withT\";\nimport { Button, Typography } from \"neetoui\";\nimport PropTypes from \"prop-types\";\n\nimport \"./onboarding.scss\";\n\nconst CompletedScreen = withT(\n ({ t, title, description, children, buttonProps, className = \"\" }) => (\n <div\n className={classnames(\"neeto-molecules-onboarding__wrapper\", className)}\n data-testid=\"onboarding-congratulations-wrapper\"\n >\n <div className=\"mx-auto mb-6 w-full max-w-2xl space-y-2\">\n <Typography\n className=\"text-center\"\n data-cy=\"onboarding-congratulations-emoji\"\n style=\"h1\"\n >\n 🎉\n </Typography>\n <Typography\n className=\"text-center\"\n data-cy=\"onboarding-congratulations-title\"\n data-testid=\"onboarding-congratulations-title\"\n style=\"h1\"\n >\n <span className=\"neeto-ui-text-success-500\">\n {t(\"neetoMolecules.onboarding.congratulations\")}\n </span>\n <br />\n {title}\n </Typography>\n {description && (\n <Typography\n className=\"text-center\"\n data-cy=\"onboarding-congratulations-description\"\n data-testid=\"onboarding-congratulations-description\"\n lineHeight=\"normal\"\n style=\"body1\"\n >\n {description}\n </Typography>\n )}\n {children}\n </div>\n {isPresent(buttonProps) && (\n <Button\n data-cy=\"onboarding-congratulations-button\"\n data-testid=\"onboarding-congratulations-button\"\n label={t(\"neetoMolecules.onboarding.startUsing\")}\n {...buttonProps}\n />\n )}\n </div>\n )\n);\n\nCompletedScreen.propTypes = {\n /**\n * To specify external classnames as overrides.\n */\n className: PropTypes.string,\n /**\n * Title of the completed screen\n */\n title: PropTypes.string,\n /**\n * Description of the completed screen\n */\n description: PropTypes.oneOfType([PropTypes.string, PropTypes.node]),\n /**\n * Additional children elements to be rendered within the completed screen.\n */\n children: PropTypes.node,\n /**\n * Additional props that can be passed on to the button\n */\n buttonProps: PropTypes.object,\n};\n\nexport default CompletedScreen;\n","import React from \"react\";\n\nimport classnames from \"classnames\";\nimport useBreakpoints from \"neetocommons/react-utils/useBreakpoints\";\nimport { Button, Typography } from \"neetoui\";\nimport PropTypes from \"prop-types\";\nimport { useTranslation } from \"react-i18next\";\n\nimport \"./onboarding.scss\";\n\nconst HelpScreen = ({ buttonProps, className = \"\", standalone = false }) => {\n const { t } = useTranslation();\n const { isSize } = useBreakpoints();\n\n return (\n <div\n className={classnames(\"neeto-molecules-onboarding__wrapper\", className)}\n data-testid=\"onboarding-help-wrapper\"\n >\n <div className=\"mx-auto w-full max-w-2xl space-y-6\">\n <div className=\"space-y-3\">\n <Typography\n component=\"h1\"\n data-cy=\"onboarding-help-title\"\n data-testid=\"onboarding-help-title\"\n style=\"h2\"\n >\n {standalone\n ? t(\"neetoMolecules.onboarding.helpScreen.welcomeToTitle\", {\n appName: globalProps.appName,\n })\n : t(\"neetoMolecules.onboarding.helpScreen.title\")}\n </Typography>\n <Typography\n data-cy=\"onboarding-help-description\"\n data-testid=\"onboarding-help-description\"\n lineHeight=\"normal\"\n style=\"body1\"\n >\n {t(\"neetoMolecules.onboarding.helpScreen.description\")}\n </Typography>\n <div className=\"w-full overflow-hidden\">\n {isSize(\"mobile\") ? (\n <img\n alt=\"\"\n src=\"https://ik.imagekit.io/d9mvewbju/Commons/help-mobile_FpB8LKYj4.svg\"\n />\n ) : (\n <img\n alt=\"\"\n src=\"https://ik.imagekit.io/d9mvewbju/Commons/help-desktop_aVe6ENdX97.svg\"\n />\n )}\n </div>\n </div>\n <Button\n data-cy=\"onboarding-help-button\"\n data-testid=\"onboarding-help-button\"\n label={\n standalone\n ? t(\"neetoMolecules.onboarding.helpScreen.startUsingButton\", {\n appName: globalProps.appName,\n })\n : t(\"neetoMolecules.onboarding.helpScreen.continueButton\")\n }\n {...buttonProps}\n />\n </div>\n </div>\n );\n};\n\nHelpScreen.propTypes = {\n /**\n * To specify external classnames as overrides.\n */\n className: PropTypes.string,\n /**\n * Additional props that can be passed on to the button\n */\n buttonProps: PropTypes.object,\n /**\n * To specify if the help screen is standalone or not.\n */\n standalone: PropTypes.bool,\n};\n\nexport default HelpScreen;\n","import React from \"react\";\n\nimport { globalProps } from \"neetocommons/initializers\";\nimport withT from \"neetocommons/react-utils/withT\";\nimport { Button, Typography } from \"neetoui\";\n\nimport \"./onboarding.scss\";\n\nconst CompletedScreen = withT(({ t, completeButtonProps }) => (\n <div\n className=\"neeto-molecules-onboarding__wrapper\"\n data-testid=\"onboarding-congratulations-wrapper\"\n >\n <div className=\"mx-auto mb-6 w-full max-w-2xl space-y-2\">\n <Typography\n className=\"text-center\"\n data-cy=\"onboarding-congratulations-emoji\"\n style=\"h1\"\n >\n 🎉\n </Typography>\n <Typography\n className=\"text-center\"\n data-cy=\"onboarding-congratulations-title\"\n data-testid=\"onboarding-congratulations-title\"\n style=\"h1\"\n >\n <span className=\"neeto-ui-text-success-500\">\n {t(\"neetoMolecules.onboarding.congratulations\")}\n </span>\n <br />\n {t(\"neetoMolecules.onboarding.readyToUse\", {\n appName: globalProps.appName,\n })}\n </Typography>\n </div>\n <Button\n data-cy=\"onboarding-congratulations-button\"\n data-testid=\"onboarding-congratulations-button\"\n label={t(\"neetoMolecules.onboarding.startUsing\")}\n {...completeButtonProps}\n />\n </div>\n));\n\nexport default CompletedScreen;\n","import React from \"react\";\n\nimport { globalProps } from \"neetocommons/initializers\";\nimport useBreakpoints from \"neetocommons/react-utils/useBreakpoints\";\nimport { RightArrow } from \"neetoicons\";\nimport { Button, Typography } from \"neetoui\";\nimport { useTranslation } from \"react-i18next\";\n\nconst HelpScreen = ({ setCurrentStep, currentStep }) => {\n const { t } = useTranslation();\n const { isSize } = useBreakpoints();\n\n return (\n <div className=\"mx-auto w-full max-w-2xl space-y-6 p-4\">\n <div className=\"space-y-3\">\n <Typography\n component=\"h1\"\n data-cy=\"onboarding-help-title\"\n data-testid=\"onboarding-help-title\"\n style=\"h2\"\n >\n {t(\"neetoMolecules.onboarding.helpScreen.welcomeToTitle\", {\n appName: globalProps.appName,\n })}\n </Typography>\n <Typography\n data-cy=\"onboarding-help-description\"\n data-testid=\"onboarding-help-description\"\n lineHeight=\"normal\"\n style=\"body1\"\n >\n {t(\"neetoMolecules.onboarding.helpScreen.description\")}\n </Typography>\n <div className=\"w-full\">\n {isSize(\"mobile\") ? (\n <img\n alt=\"\"\n src=\"https://ik.imagekit.io/d9mvewbju/Commons/help-mobile_FpB8LKYj4.svg\"\n />\n ) : (\n <img\n alt=\"\"\n src=\"https://ik.imagekit.io/d9mvewbju/Commons/help-desktop_aVe6ENdX97.svg\"\n />\n )}\n </div>\n </div>\n <Button\n data-cy=\"onboarding-help-button\"\n data-testid=\"onboarding-help-button\"\n icon={RightArrow}\n iconPosition=\"right\"\n label={t(\"neetoMolecules.onboarding.helpScreen.continueButton\")}\n onClick={() => setCurrentStep(currentStep + 1)}\n />\n </div>\n );\n};\n\nexport default HelpScreen;\n","import React from \"react\";\n\nimport { t } from \"i18next\";\n\nimport HelpScreen from \"./HelpScreen\";\n\nexport const createSteps = (onboardingSteps, setCurrentStep, currentStep) => {\n const helpStep = {\n label: t(\"neetoMolecules.onboarding.helpLabel\"),\n element: <HelpScreen {...{ currentStep, setCurrentStep }} />,\n };\n\n return onboardingSteps\n .concat(helpStep)\n .map((step, idx) => ({ ...step, id: idx + 1 }));\n};\n","import React from \"react\";\n\nimport { globalProps } from \"neetocommons/initializers\";\nimport withT from \"neetocommons/react-utils/withT\";\nimport { RightArrow } from \"neetoicons\";\nimport { Button, Typography } from \"neetoui\";\n\nimport \"./onboarding.scss\";\n\nconst WelcomeScreen = withT(({ t, setCurrentStep, currentStep }) => (\n <div\n className=\"neeto-molecules-onboarding__wrapper\"\n data-testid=\"onboarding-welcome-wrapper\"\n >\n <div className=\"mx-auto mb-6 w-full max-w-2xl space-y-2\">\n <Typography\n className=\"text-center\"\n data-cy=\"onboarding-welcome-title\"\n data-testid=\"onboarding-welcome-title\"\n style=\"h1\"\n >\n {t(\"neetoMolecules.onboarding.helpScreen.welcomeToTitle\", {\n appName: globalProps.appName,\n })}\n </Typography>\n <Typography\n className=\"text-center\"\n data-cy=\"onboarding-welcome-description\"\n data-testid=\"onboarding-welcome-description\"\n lineHeight=\"normal\"\n style=\"body1\"\n >\n {t(\"neetoMolecules.onboarding.letUsCustomize\", {\n appName: globalProps.appName,\n })}\n </Typography>\n </div>\n <Button\n data-cy=\"onboarding-welcome-button\"\n data-testid=\"onboarding-welcome-button\"\n icon={RightArrow}\n label={t(\"neetoMolecules.onboarding.getStarted\")}\n onClick={() => setCurrentStep(currentStep + 1)}\n />\n </div>\n));\n\nexport default WelcomeScreen;\n","import React, { useMemo } from \"react\";\n\nimport classNames from \"classnames\";\nimport { noop } from \"neetocist\";\nimport { Stepper } from \"neetoui\";\nimport PropTypes from \"prop-types\";\n\nimport CompletedScreen from \"./CompletedScreen\";\nimport { createSteps } from \"./utils\";\nimport WelcomeScreen from \"./WelcomeScreen\";\n\nconst Onboarding = ({\n currentStep = 0,\n setCurrentStep = noop,\n onboardingSteps = [],\n completeButtonProps = {},\n}) => {\n const steps = useMemo(\n () => createSteps(onboardingSteps, setCurrentStep, currentStep),\n [onboardingSteps]\n );\n\n if (currentStep === 0) {\n return <WelcomeScreen {...{ currentStep, setCurrentStep }} />;\n }\n\n if (currentStep === steps.length + 1) {\n return <CompletedScreen {...{ completeButtonProps }} />;\n }\n\n const handleStepChange = index => setCurrentStep(index + 1);\n\n const isStepperVisible = steps.length > 1;\n\n return (\n <div\n className={classNames(\"neeto-molecules-onboarding__container\", {\n \"neeto-molecules-onboarding__wrapper\": !isStepperVisible,\n })}\n >\n {isStepperVisible && (\n <div className=\"neeto-molecules-onboarding__stepper-wrapper\">\n <Stepper\n {...{ steps }}\n activeIndex={currentStep - 1}\n setActiveIndex={handleStepChange}\n />\n </div>\n )}\n <div className=\"neeto-molecules-onboarding__content\">\n {steps[currentStep - 1]?.element}\n </div>\n </div>\n );\n};\n\nOnboarding.propTypes = {\n /**\n * To specify the current step of the onboarding\n */\n currentStep: PropTypes.number,\n /**\n * List of Custom components for the onboarding\n */\n onboardingSteps: PropTypes.array,\n /**\n * Props for the complete button\n */\n completeButtonProps: PropTypes.object,\n /**\n * To set the step of the onboarding\n */\n setCurrentStep: PropTypes.func,\n};\n\nexport default Onboarding;\n","import React from \"react\";\n\nimport classnames from \"classnames\";\nimport withT from \"neetocommons/react-utils/withT\";\nimport { RightArrow } from \"neetoicons\";\nimport { Button, Typography } from \"neetoui\";\nimport PropTypes from \"prop-types\";\n\nimport \"./onboarding.scss\";\n\nconst WelcomeScreen = withT(\n ({ t, title, description, buttonProps, className = \"\" }) => (\n <div\n className={classnames(\"neeto-molecules-onboarding__wrapper\", className)}\n data-testid=\"onboarding-welcome-wrapper\"\n >\n <div className=\"mx-auto mb-6 w-full max-w-2xl space-y-2\">\n <Typography\n className=\"text-center\"\n data-cy=\"onboarding-welcome-title\"\n data-testid=\"onboarding-welcome-title\"\n style=\"h1\"\n >\n {title}\n </Typography>\n {description && (\n <Typography\n className=\"text-center\"\n data-cy=\"onboarding-welcome-description\"\n data-testid=\"onboarding-welcome-description\"\n lineHeight=\"normal\"\n style=\"body1\"\n >\n {description}\n </Typography>\n )}\n </div>\n <Button\n data-cy=\"onboarding-welcome-button\"\n data-testid=\"onboarding-welcome-button\"\n icon={RightArrow}\n label={t(\"neetoMolecules.onboarding.getStarted\")}\n {...buttonProps}\n />\n </div>\n )\n);\n\nWelcomeScreen.propTypes = {\n /**\n * To specify external classnames as overrides.\n */\n className: PropTypes.string,\n /**\n * Title of the welcome screen\n */\n title: PropTypes.string,\n /**\n * Description of the welcome screen\n */\n description: PropTypes.string,\n /**\n * Additional props that can be passed on to the button\n */\n buttonProps: PropTypes.object,\n};\n\nexport default WelcomeScreen;\n"],"names":["CompletedScreen","withT","_ref","t","title","description","children","buttonProps","_ref$className","className","React","createElement","classnames","Typography","style","lineHeight","isPresent","Button","_extends","label","propTypes","PropTypes","string","oneOfType","node","object","HelpScreen","_ref$standalone","standalone","_useTranslation","useTranslation","_useBreakpoints","useBreakpoints","isSize","component","appName","globalProps","alt","src","completeButtonProps","setCurrentStep","currentStep","icon","RightArrow","iconPosition","onClick","createSteps","onboardingSteps","helpStep","element","concat","map","step","idx","_objectSpread","id","WelcomeScreen","Onboarding","_steps","_ref$currentStep","_ref$setCurrentStep","noop","_ref$onboardingSteps","_ref$completeButtonPr","steps","useMemo","length","handleStepChange","index","isStepperVisible","classNames","Stepper","activeIndex","setActiveIndex"],"mappings":";;;;;;;;;;;;;;;;;;AAUA,IAAMA,iBAAe,GAAGC,KAAK,CAC3B,UAAAC,IAAA,EAAA;AAAA,EAAA,IAAGC,CAAC,G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