@egov3/system-design 1.3.266 → 1.3.267
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.
- package/dist/cjs/components/Services/NextStepComponent/NextStepComponent.module.css.js +2 -2
- package/dist/cjs/components/Services/NextStepComponent/index.js +1 -5
- package/dist/cjs/components/Services/NextStepComponent/index.js.map +1 -1
- package/dist/esm/components/Services/NextStepComponent/NextStepComponent.module.css.js +2 -2
- package/dist/esm/components/Services/NextStepComponent/index.js +1 -5
- package/dist/esm/components/Services/NextStepComponent/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var css_248z = ".NextStepComponent-module_nextStepBtnWrapper__at3wv {\n display: flex;\n padding: 16px;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 16px;\n border-top: 1px solid var(--surface-surface-1);\n align-self: stretch;\n}\n\n.NextStepComponent-module_nextStepBtn__N-znS {\n display: flex;\n padding: 14px 48px;\n justify-content: center;\n align-items: center;\n gap: 8px;\n}\n\n.NextStepComponent-module_nextStepBtn__N-znS.NextStepComponent-module_mobile__OnnN7 {\n width: 100%;\n}\n";
|
|
6
|
-
var styles = {"nextStepBtnWrapper":"NextStepComponent-module_nextStepBtnWrapper__at3wv","nextStepBtn":"NextStepComponent-module_nextStepBtn__N-znS","mobile":"NextStepComponent-module_mobile__OnnN7"};
|
|
5
|
+
var css_248z = ".NextStepComponent-module_nextStepBtnWrapper__at3wv {\n display: flex;\n padding: 16px;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 16px;\n border-top: 1px solid var(--surface-surface-1);\n align-self: stretch;\n}\n\n.NextStepComponent-module_mobileNextStep__V95yg {\n position: sticky;\n bottom: 0;\n width: 100%;\n box-sizing: border-box;\n margin-top: auto;\n padding: 12px 16px calc(12px + env(safe-area-inset-bottom));\n background: var(--surface-surface-1);\n}\n\n.NextStepComponent-module_nextStepBtn__N-znS {\n display: flex;\n padding: 14px 48px;\n justify-content: center;\n align-items: center;\n gap: 8px;\n}\n\n.NextStepComponent-module_nextStepBtn__N-znS.NextStepComponent-module_mobile__OnnN7 {\n width: 100%;\n padding-block: 16px;\n}\n";
|
|
6
|
+
var styles = {"nextStepBtnWrapper":"NextStepComponent-module_nextStepBtnWrapper__at3wv","mobileNextStep":"NextStepComponent-module_mobileNextStep__V95yg","nextStepBtn":"NextStepComponent-module_nextStepBtn__N-znS","mobile":"NextStepComponent-module_mobile__OnnN7"};
|
|
7
7
|
function styleInject(css, options) {
|
|
8
8
|
if (typeof document === 'undefined') return;
|
|
9
9
|
const head = document.head || document.getElementsByTagName('head')[0];
|
|
@@ -61,11 +61,7 @@ var NextStepComponent_module = require('./NextStepComponent.module.css.js');
|
|
|
61
61
|
|
|
62
62
|
const langDic = index$1.i18n.Common;
|
|
63
63
|
const NextStepComponent = ({ disabled, handleNextStepClick, lang, isMobile = false, }) => {
|
|
64
|
-
|
|
65
|
-
if (isMobile) {
|
|
66
|
-
return button;
|
|
67
|
-
}
|
|
68
|
-
return (jsxRuntime.jsx("div", { "data-testid": "NextStepBtn_WRAPPER", className: NextStepComponent_module.default.nextStepBtnWrapper, children: button }));
|
|
64
|
+
return (jsxRuntime.jsx("div", { "data-testid": "NextStepBtn_WRAPPER", className: isMobile ? NextStepComponent_module.default.mobileNextStep : NextStepComponent_module.default.nextStepBtnWrapper, children: jsxRuntime.jsx(index.Button, { "data-testid": "NextStepBtn", "aria-label": langDic.AriaCompleteStepAndContinue[lang], size: "large", className: joinClasses.joinClasses(NextStepComponent_module.default.nextStepBtn, isMobile && NextStepComponent_module.default.mobile), onClick: handleNextStepClick, disabled: disabled, "aria-disabled": disabled, children: langDic.NextStep[lang] }) }));
|
|
69
65
|
};
|
|
70
66
|
|
|
71
67
|
exports.NextStepComponent = NextStepComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/components/Services/NextStepComponent/index.tsx"],"sourcesContent":[null],"names":["i18n","_jsx","
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/Services/NextStepComponent/index.tsx"],"sourcesContent":[null],"names":["i18n","_jsx","styles","Button","joinClasses"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAM,OAAO,GAAGA,YAAI,CAAC,MAAM;AAEpB,MAAM,iBAAiB,GAAG,CAAC,EAChC,QAAQ,EACR,mBAAmB,EACnB,IAAI,EACJ,QAAQ,GAAG,KAAK,GACQ,KAAI;AAC5B,IAAA,QACEC,cAAA,CAAA,KAAA,EAAA,EAAA,aAAA,EACc,qBAAqB,EACjC,SAAS,EAAE,QAAQ,GAAGC,gCAAM,CAAC,cAAc,GAAGA,gCAAM,CAAC,kBAAkB,EAAA,QAAA,EAEvED,cAAA,CAACE,YAAM,mBACO,aAAa,EAAA,YAAA,EACb,OAAO,CAAC,2BAA2B,CAAC,IAAI,CAAC,EACrD,IAAI,EAAC,OAAO,EACZ,SAAS,EAAEC,uBAAW,CAACF,gCAAM,CAAC,WAAW,EAAE,QAAQ,IAAIA,gCAAM,CAAC,MAAM,CAAC,EACrE,OAAO,EAAE,mBAAmB,EAC5B,QAAQ,EAAE,QAAQ,EAAA,eAAA,EACH,QAAQ,EAAA,QAAA,EAEtB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAA,CAChB,EAAA,CACL;AAEV;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
var css_248z = ".NextStepComponent-module_nextStepBtnWrapper__at3wv {\n display: flex;\n padding: 16px;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 16px;\n border-top: 1px solid var(--surface-surface-1);\n align-self: stretch;\n}\n\n.NextStepComponent-module_nextStepBtn__N-znS {\n display: flex;\n padding: 14px 48px;\n justify-content: center;\n align-items: center;\n gap: 8px;\n}\n\n.NextStepComponent-module_nextStepBtn__N-znS.NextStepComponent-module_mobile__OnnN7 {\n width: 100%;\n}\n";
|
|
2
|
-
var styles = {"nextStepBtnWrapper":"NextStepComponent-module_nextStepBtnWrapper__at3wv","nextStepBtn":"NextStepComponent-module_nextStepBtn__N-znS","mobile":"NextStepComponent-module_mobile__OnnN7"};
|
|
1
|
+
var css_248z = ".NextStepComponent-module_nextStepBtnWrapper__at3wv {\n display: flex;\n padding: 16px;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n gap: 16px;\n border-top: 1px solid var(--surface-surface-1);\n align-self: stretch;\n}\n\n.NextStepComponent-module_mobileNextStep__V95yg {\n position: sticky;\n bottom: 0;\n width: 100%;\n box-sizing: border-box;\n margin-top: auto;\n padding: 12px 16px calc(12px + env(safe-area-inset-bottom));\n background: var(--surface-surface-1);\n}\n\n.NextStepComponent-module_nextStepBtn__N-znS {\n display: flex;\n padding: 14px 48px;\n justify-content: center;\n align-items: center;\n gap: 8px;\n}\n\n.NextStepComponent-module_nextStepBtn__N-znS.NextStepComponent-module_mobile__OnnN7 {\n width: 100%;\n padding-block: 16px;\n}\n";
|
|
2
|
+
var styles = {"nextStepBtnWrapper":"NextStepComponent-module_nextStepBtnWrapper__at3wv","mobileNextStep":"NextStepComponent-module_mobileNextStep__V95yg","nextStepBtn":"NextStepComponent-module_nextStepBtn__N-znS","mobile":"NextStepComponent-module_mobile__OnnN7"};
|
|
3
3
|
function styleInject(css, options) {
|
|
4
4
|
if (typeof document === 'undefined') return;
|
|
5
5
|
const head = document.head || document.getElementsByTagName('head')[0];
|
|
@@ -59,11 +59,7 @@ import styles from './NextStepComponent.module.css.js';
|
|
|
59
59
|
|
|
60
60
|
const langDic = i18n.Common;
|
|
61
61
|
const NextStepComponent = ({ disabled, handleNextStepClick, lang, isMobile = false, }) => {
|
|
62
|
-
|
|
63
|
-
if (isMobile) {
|
|
64
|
-
return button;
|
|
65
|
-
}
|
|
66
|
-
return (jsx("div", { "data-testid": "NextStepBtn_WRAPPER", className: styles.nextStepBtnWrapper, children: button }));
|
|
62
|
+
return (jsx("div", { "data-testid": "NextStepBtn_WRAPPER", className: isMobile ? styles.mobileNextStep : styles.nextStepBtnWrapper, children: jsx(Button, { "data-testid": "NextStepBtn", "aria-label": langDic.AriaCompleteStepAndContinue[lang], size: "large", className: joinClasses(styles.nextStepBtn, isMobile && styles.mobile), onClick: handleNextStepClick, disabled: disabled, "aria-disabled": disabled, children: langDic.NextStep[lang] }) }));
|
|
67
63
|
};
|
|
68
64
|
|
|
69
65
|
export { NextStepComponent };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../../src/components/Services/NextStepComponent/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM;AAEpB,MAAM,iBAAiB,GAAG,CAAC,EAChC,QAAQ,EACR,mBAAmB,EACnB,IAAI,EACJ,QAAQ,GAAG,KAAK,GACQ,KAAI;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../src/components/Services/NextStepComponent/index.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,MAAM,OAAO,GAAG,IAAI,CAAC,MAAM;AAEpB,MAAM,iBAAiB,GAAG,CAAC,EAChC,QAAQ,EACR,mBAAmB,EACnB,IAAI,EACJ,QAAQ,GAAG,KAAK,GACQ,KAAI;AAC5B,IAAA,QACEA,GAAA,CAAA,KAAA,EAAA,EAAA,aAAA,EACc,qBAAqB,EACjC,SAAS,EAAE,QAAQ,GAAG,MAAM,CAAC,cAAc,GAAG,MAAM,CAAC,kBAAkB,EAAA,QAAA,EAEvEA,GAAA,CAAC,MAAM,mBACO,aAAa,EAAA,YAAA,EACb,OAAO,CAAC,2BAA2B,CAAC,IAAI,CAAC,EACrD,IAAI,EAAC,OAAO,EACZ,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,WAAW,EAAE,QAAQ,IAAI,MAAM,CAAC,MAAM,CAAC,EACrE,OAAO,EAAE,mBAAmB,EAC5B,QAAQ,EAAE,QAAQ,EAAA,eAAA,EACH,QAAQ,EAAA,QAAA,EAEtB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAA,CAChB,EAAA,CACL;AAEV;;;;"}
|