@yoobic/yobi 8.3.1-4 → 8.3.1-7
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/design-system.cjs.js +1 -1
- package/dist/cjs/{form-choice-helpers-310cd7b3.js → form-choice-helpers-3f5f2f44.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/yoo-action-sheet-controller.cjs.entry.js +1 -1
- package/dist/cjs/yoo-card-chat.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-choice-button.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-choice-card.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-choice-chat.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-choice-image.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-choice-radio.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-dynamic.cjs.entry.js +2 -1
- package/dist/cjs/yoo-form-feedback.cjs.entry.js +1 -1
- package/dist/cjs/yoo-form-input-container.cjs.entry.js +32 -43
- package/dist/cjs/yoo-form-input.cjs.entry.js +7 -7
- package/dist/cjs/yoo-form-text-area.cjs.entry.js +12 -3
- package/dist/cjs/yoo-ion-alert-controller.cjs.entry.js +1 -1
- package/dist/cjs/yoo-ion-modal-controller.cjs.entry.js +1 -1
- package/dist/cjs/yoo-ion-toast-controller.cjs.entry.js +1 -1
- package/dist/cjs/yoo-lesson-question-result.cjs.entry.js +1 -1
- package/dist/cjs/yoo-rating.cjs.entry.js +1 -1
- package/dist/cjs/yoo-reset-password.cjs.entry.js +8 -6
- package/dist/collection/components/2.molecules/action-sheet-controller/action-sheet-controller.js +4 -4
- package/dist/collection/components/2.molecules/alert-controller/alert-controller.js +4 -4
- package/dist/collection/components/2.molecules/modal-controller/modal-controller.js +4 -4
- package/dist/collection/components/2.molecules/rating/rating.js +1 -1
- package/dist/collection/components/2.molecules/toast-controller/toast-controller.js +4 -4
- package/dist/collection/components/form/form-choice/card/form-choice-card.css +0 -1
- package/dist/collection/components/form/form-dynamic/form-dynamic.js +2 -1
- package/dist/collection/components/form/form-feedback/form-feedback.css +5 -1
- package/dist/collection/components/form/form-input/form-input.css +9 -9
- package/dist/collection/components/form/form-input/form-input.js +30 -8
- package/dist/collection/components/form/form-input-container/form-input-container.js +60 -54
- package/dist/collection/components/form/form-text-area/form-text-area.js +12 -3
- package/dist/collection/feature-communicate/chat/card-chat/card-chat.css +3 -1
- package/dist/collection/feature-learn/learning/lesson-question-result/lesson-question-result.css +2 -3
- package/dist/collection/feature-platform/login/reset-password/reset-password.css +4 -1
- package/dist/collection/feature-platform/login/reset-password/reset-password.js +9 -7
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/{form-choice-helpers-1bf9332c.js → form-choice-helpers-30faba6f.js} +1 -1
- package/dist/design-system/yoo-action-sheet-controller.entry.js +1 -1
- package/dist/design-system/yoo-card-chat.entry.js +1 -1
- package/dist/design-system/yoo-form-choice-button.entry.js +1 -1
- package/dist/design-system/yoo-form-choice-card.entry.js +1 -1
- package/dist/design-system/yoo-form-choice-chat.entry.js +1 -1
- package/dist/design-system/yoo-form-choice-image.entry.js +1 -1
- package/dist/design-system/yoo-form-choice-radio.entry.js +1 -1
- package/dist/design-system/yoo-form-dynamic.entry.js +2 -1
- package/dist/design-system/yoo-form-feedback.entry.js +1 -1
- package/dist/design-system/yoo-form-input-container.entry.js +32 -43
- package/dist/design-system/yoo-form-input.entry.js +7 -7
- package/dist/design-system/yoo-form-text-area.entry.js +12 -3
- package/dist/design-system/yoo-ion-alert-controller.entry.js +1 -1
- package/dist/design-system/yoo-ion-modal-controller.entry.js +1 -1
- package/dist/design-system/yoo-ion-toast-controller.entry.js +1 -1
- package/dist/design-system/yoo-lesson-question-result.entry.js +1 -1
- package/dist/design-system/yoo-rating.entry.js +1 -1
- package/dist/design-system/yoo-reset-password.entry.js +8 -6
- package/dist/esm/design-system.js +1 -1
- package/dist/esm/{form-choice-helpers-1bf9332c.js → form-choice-helpers-30faba6f.js} +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/yoo-action-sheet-controller.entry.js +1 -1
- package/dist/esm/yoo-card-chat.entry.js +1 -1
- package/dist/esm/yoo-form-choice-button.entry.js +1 -1
- package/dist/esm/yoo-form-choice-card.entry.js +1 -1
- package/dist/esm/yoo-form-choice-chat.entry.js +1 -1
- package/dist/esm/yoo-form-choice-image.entry.js +1 -1
- package/dist/esm/yoo-form-choice-radio.entry.js +1 -1
- package/dist/esm/yoo-form-dynamic.entry.js +2 -1
- package/dist/esm/yoo-form-feedback.entry.js +1 -1
- package/dist/esm/yoo-form-input-container.entry.js +32 -43
- package/dist/esm/yoo-form-input.entry.js +7 -7
- package/dist/esm/yoo-form-text-area.entry.js +12 -3
- package/dist/esm/yoo-ion-alert-controller.entry.js +1 -1
- package/dist/esm/yoo-ion-modal-controller.entry.js +1 -1
- package/dist/esm/yoo-ion-toast-controller.entry.js +1 -1
- package/dist/esm/yoo-lesson-question-result.entry.js +1 -1
- package/dist/esm/yoo-rating.entry.js +1 -1
- package/dist/esm/yoo-reset-password.entry.js +8 -6
- package/dist/types/components/2.molecules/action-sheet-controller/action-sheet-controller.d.ts +1 -1
- package/dist/types/components/2.molecules/alert-controller/alert-controller.d.ts +1 -1
- package/dist/types/components/2.molecules/modal-controller/modal-controller.d.ts +1 -1
- package/dist/types/components/2.molecules/toast-controller/toast-controller.d.ts +1 -1
- package/dist/types/components/form/form-input/form-input.d.ts +2 -1
- package/dist/types/components/form/form-input-container/form-input-container.d.ts +1 -0
- package/dist/types/components/form/form-text-area/form-text-area.d.ts +1 -0
- package/dist/types/components.d.ts +6 -2
- package/dist/types/home/runner/work/yoobic-ng-6/yoobic-ng-6/design-system/stencil/.stencil/shared/interfaces/src/entities/form-field/form-field.interface.d.ts +1 -0
- package/package.json +1 -1
|
@@ -19,7 +19,7 @@ const YooIonToastControllerComponent = class {
|
|
|
19
19
|
const index = this.devices.findIndex(device => device === ev.detail);
|
|
20
20
|
this.devices.splice(index, index + 1);
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
onPointerDown(ev) {
|
|
23
23
|
if (this.devices.length) {
|
|
24
24
|
this.device = ev.composedPath().find((el) => el.nodeName === 'YOO-DEVICE');
|
|
25
25
|
}
|
|
@@ -5,7 +5,7 @@ import { cy as isContentOnly, cz as getConfidencePoints, cA as getConfidenceDesc
|
|
|
5
5
|
import './index-e917d10e.js';
|
|
6
6
|
import './_commonjsHelpers-f4d11124.js';
|
|
7
7
|
|
|
8
|
-
const lessonQuestionResultCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--light, #ffffff)}:host yoo-navbar{background-color:var(--stable-light, #f1f1f1)}:host yoo-ion-scroll{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%}:host yoo-ion-scroll .result-title{margin:var(--spacing-08, 0.5rem) 0 var(--spacing-16, 1rem) 0;color:var(--app-color, #5a30f4);text-align:center}:host yoo-ion-scroll .result-text{margin:0 var(--spacing-64, 4rem);padding-bottom:var(--spacing-08, 0.5rem);color:var(--text-color, #807f83);line-height:1.5625rem;text-align:center}:host yoo-ion-scroll .result-explanation{margin:var(--spacing-08, 0.5rem) var(--spacing-64, 4rem);text-align:center}:host yoo-ion-scroll .result-explanation .explanation-value{color:var(--text-color, #807f83);line-height:1.5625rem}:host yoo-ion-scroll .result-explanation .explanation-title{padding-bottom:var(--spacing-08, 0.5rem);font-weight:bold}:host yoo-ion-scroll .separator{width:90%;border-bottom:var(--border-width-01, 0.0625rem) solid var(--stable-alt, #d0d0d0)}:host yoo-ion-scroll .result-document{margin:var(--spacing-16, 1rem)}:host yoo-ion-scroll .result-document .document-title{padding-bottom:var(--spacing-08, 0.5rem);font-weight:bold;font-size:var(--font-size-16, 1rem);text-align:center}:host yoo-ion-scroll .result-tag{padding:var(--spacing-08, 0.5rem);text-align:center}:host yoo-ion-scroll .result-tag span{color:var(--dark, #000000);font-size:var(--font-size-16, 1rem)}:host yoo-ion-scroll .result-tag span.action{color:var(--stable, #adadad);font-size:var(--font-size-14, 0.875rem);cursor:pointer}:host yoo-ion-scroll .result-tag .tag{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;margin:auto;font-size:var(--font-size-12, 0.75rem)}:host yoo-ion-scroll .result-tag .tag .tag-title{text-align:center}:host yoo-ion-scroll .result-tag .tags{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}:host yoo-ion-scroll .result-tag .tags .badge-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;margin:var(--spacing-08, 0.5rem) 0;font-size:var(--font-size-12, 0.75rem)}:host yoo-ion-scroll .result-tag .tags .badge-container yoo-tag{padding:var(--spacing-04, 0.25rem);background:var(--light, #ffffff);border-radius:var(--spacing-40, 2.5rem)}:host yoo-ion-scroll .document-image{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-webkit-box-sizing:border-box;box-sizing:border-box;padding:var(--spacing-16, 1rem);overflow:hidden;--border-radius:var(--border-radius-08, 0.5rem)}:host yoo-ion-scroll yoo-progress-recap,:host yoo-ion-scroll yoo-points-recap{display:block;width:calc(100% - 2rem);max-width:30rem;margin:0 auto;padding:var(--spacing-08, 0.5rem)}:host .wall{position:absolute;width:100%;height:16rem;background-image:-webkit-gradient(linear, left bottom, left top, from(var(--light, #ffffff)), to(var(--stable-light, #f1f1f1)));background-image:linear-gradient(to top, var(--light, #ffffff), var(--stable-light, #f1f1f1));mix-blend-mode:multiply}:host yoo-lottie{height:12.5rem}:host yoo-tag{display:block;margin:0 auto}:host main{width:100%;padding-top:calc(var(--safe-area-inset-top) + var(--spacing-32, 2rem))}:host .answers{
|
|
8
|
+
const lessonQuestionResultCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;height:100%;background-color:var(--light, #ffffff)}:host yoo-navbar{background-color:var(--stable-light, #f1f1f1)}:host yoo-ion-scroll{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;width:100%}:host yoo-ion-scroll .result-title{margin:var(--spacing-08, 0.5rem) 0 var(--spacing-16, 1rem) 0;color:var(--app-color, #5a30f4);text-align:center}:host yoo-ion-scroll .result-text{margin:0 var(--spacing-64, 4rem);padding-bottom:var(--spacing-08, 0.5rem);color:var(--text-color, #807f83);line-height:1.5625rem;text-align:center}:host yoo-ion-scroll .result-explanation{margin:var(--spacing-08, 0.5rem) var(--spacing-64, 4rem);text-align:center}:host yoo-ion-scroll .result-explanation .explanation-value{color:var(--text-color, #807f83);line-height:1.5625rem}:host yoo-ion-scroll .result-explanation .explanation-title{padding-bottom:var(--spacing-08, 0.5rem);font-weight:bold}:host yoo-ion-scroll .separator{width:90%;border-bottom:var(--border-width-01, 0.0625rem) solid var(--stable-alt, #d0d0d0)}:host yoo-ion-scroll .result-document{margin:var(--spacing-16, 1rem)}:host yoo-ion-scroll .result-document .document-title{padding-bottom:var(--spacing-08, 0.5rem);font-weight:bold;font-size:var(--font-size-16, 1rem);text-align:center}:host yoo-ion-scroll .result-tag{padding:var(--spacing-08, 0.5rem);text-align:center}:host yoo-ion-scroll .result-tag span{color:var(--dark, #000000);font-size:var(--font-size-16, 1rem)}:host yoo-ion-scroll .result-tag span.action{color:var(--stable, #adadad);font-size:var(--font-size-14, 0.875rem);cursor:pointer}:host yoo-ion-scroll .result-tag .tag{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;margin:auto;font-size:var(--font-size-12, 0.75rem)}:host yoo-ion-scroll .result-tag .tag .tag-title{text-align:center}:host yoo-ion-scroll .result-tag .tags{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}:host yoo-ion-scroll .result-tag .tags .badge-container{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;margin:var(--spacing-08, 0.5rem) 0;font-size:var(--font-size-12, 0.75rem)}:host yoo-ion-scroll .result-tag .tags .badge-container yoo-tag{padding:var(--spacing-04, 0.25rem);background:var(--light, #ffffff);border-radius:var(--spacing-40, 2.5rem)}:host yoo-ion-scroll .document-image{display:-ms-flexbox;display:flex;-ms-flex-negative:0;flex-shrink:0;-webkit-box-sizing:border-box;box-sizing:border-box;padding:var(--spacing-16, 1rem);overflow:hidden;--border-radius:var(--border-radius-08, 0.5rem)}:host yoo-ion-scroll yoo-progress-recap,:host yoo-ion-scroll yoo-points-recap{display:block;width:calc(100% - 2rem);max-width:30rem;margin:0 auto;padding:var(--spacing-08, 0.5rem)}:host .wall{position:absolute;width:100%;height:16rem;background-image:-webkit-gradient(linear, left bottom, left top, from(var(--light, #ffffff)), to(var(--stable-light, #f1f1f1)));background-image:linear-gradient(to top, var(--light, #ffffff), var(--stable-light, #f1f1f1));mix-blend-mode:multiply}:host yoo-lottie{height:12.5rem}:host yoo-tag{display:block;margin:0 auto}:host main{width:100%;padding-top:calc(var(--safe-area-inset-top) + var(--spacing-32, 2rem))}:host .answers{padding:var(--spacing-08, 0.5rem) var(--spacing-16, 1rem)}:host .answers .title{padding-bottom:var(--spacing-08, 0.5rem);font-size:var(--font-size-24, 1.5rem)}";
|
|
9
9
|
|
|
10
10
|
const YooLessonQuestionResultComponent = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -81,7 +81,7 @@ const YooRatingComponent = class {
|
|
|
81
81
|
disabled: !this.isValidRating || !this.courseId,
|
|
82
82
|
handler: () => this.onSubmitClick()
|
|
83
83
|
}];
|
|
84
|
-
return (h("yoo-form-footer", { class: "rating", buttons: button }));
|
|
84
|
+
return (h("yoo-form-footer", { class: "rating relative", buttons: button }));
|
|
85
85
|
}
|
|
86
86
|
renderEditable() {
|
|
87
87
|
return [
|
|
@@ -5,7 +5,7 @@ import './index-cca9747a.js';
|
|
|
5
5
|
import './lodash-f6e59a8e.js';
|
|
6
6
|
import './_commonjsHelpers-f4d11124.js';
|
|
7
7
|
|
|
8
|
-
const resetPasswordCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host>*{width:100%}:host p{margin:0;font-size:var(--font-size-16, 1rem);text-align:center}:host yoo-button{max-width:18.75rem;margin:auto;margin-top:var(--spacing-16, 1rem)}:host yoo-form-dynamic.margin-top{margin-top:var(--spacing-48, 3rem)}:host yoo-empty-state{height:15rem;margin-top:var(--spacing-08, 0.5rem)}:host yoo-form-input{display:block;max-width:18.75rem;margin:auto}";
|
|
8
|
+
const resetPasswordCss = ":host{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}:host>*{width:100%}:host p{margin:0;font-size:var(--font-size-16, 1rem);text-align:center}:host yoo-button{max-width:18.75rem;margin:auto;margin-top:var(--spacing-16, 1rem)}:host yoo-form-dynamic.margin-top{margin-top:var(--spacing-48, 3rem)}:host yoo-empty-state{height:15rem;margin-top:var(--spacing-08, 0.5rem)}:host yoo-form-input-container{display:block;max-width:18.75rem;margin:auto}:host yoo-form-input-container.web{font-size:var(--font-size-12, 0.75rem)}";
|
|
9
9
|
|
|
10
10
|
const YooResetPasswordComponent = class {
|
|
11
11
|
constructor(hostRef) {
|
|
@@ -60,12 +60,12 @@ const YooResetPasswordComponent = class {
|
|
|
60
60
|
}
|
|
61
61
|
renderRequest() {
|
|
62
62
|
return [
|
|
63
|
-
!!this.instruction && h("p",
|
|
63
|
+
!!this.instruction && h("p", { style: { maxWidth: '350px', margin: '0 auto' } }, this.instruction),
|
|
64
64
|
h("yoo-empty-state", { ref: (el) => (this.emptyState = el), type: this.isMagicLink ? 'magic-link' : 'password' }),
|
|
65
|
-
h("yoo-form-input-container", { field: { title:
|
|
66
|
-
//! Do not set up onInputBlur without confirming on mobile device
|
|
65
|
+
h("yoo-form-input-container", { field: { title: 'YOOBICUSERNAME' }, hideOptional: true, useUppercaseLabel: true }, h("yoo-form-input", { ref: (el) => (this.emailInput = el), iconPrefixColor: 'app-color', validators: [{ name: 'required' }], type: "email", uiValidation: { valid: false, invalid: false }, onInputChanged: (event) => this.onInputChanged(event), placeholder: translate('YOOBICUSERNAMEENTER'),
|
|
66
|
+
//! Do not set up onInputBlur without confirming on mobile device. We don't want to have to press submit more than once
|
|
67
67
|
size: isWeb(this.host) ? 'medium' : 'large' })),
|
|
68
|
-
h("yoo-button", { ref: (el) => (this.submitButton = el), size: isWeb(this.host) ? 'medium' : 'large', color: "app-color", disabled: !this.validity, class: "expanded", onClick: () => this.onSubmit() }, translate('
|
|
68
|
+
h("yoo-button", { ref: (el) => (this.submitButton = el), size: isWeb(this.host) ? 'medium' : 'large', color: "app-color", disabled: !this.validity, class: "expanded", onClick: () => this.onSubmit() }, this.isMagicLink ? translate('YOOBICMAGICLINK') : translate('YOOBICRESETPASSWORD'))
|
|
69
69
|
];
|
|
70
70
|
}
|
|
71
71
|
renderResetForm() {
|
|
@@ -87,6 +87,7 @@ const YooResetPasswordComponent = class {
|
|
|
87
87
|
},
|
|
88
88
|
{
|
|
89
89
|
type: FormFieldType.password,
|
|
90
|
+
iconPrefixColor: 'app-color',
|
|
90
91
|
name: 'newpassword',
|
|
91
92
|
placeholder: 'NEWPASSWORD',
|
|
92
93
|
required: true,
|
|
@@ -95,6 +96,7 @@ const YooResetPasswordComponent = class {
|
|
|
95
96
|
},
|
|
96
97
|
{
|
|
97
98
|
type: FormFieldType.password,
|
|
99
|
+
iconPrefixColor: 'app-color',
|
|
98
100
|
name: 'verify',
|
|
99
101
|
placeholder: 'CONFIRMPASSWORD',
|
|
100
102
|
required: true,
|
|
@@ -104,7 +106,7 @@ const YooResetPasswordComponent = class {
|
|
|
104
106
|
]
|
|
105
107
|
}
|
|
106
108
|
];
|
|
107
|
-
return h("yoo-form-dynamic", { class: "margin-top", animated: false, slides: slides, showRecap: false, showSave: true, skipValidation: true, onDataChanged: (ev) => this.onDataChanged(ev), onFormValidityChanged: (ev) => this.onValidityChanged(ev), onSave: () => this.onSubmit() }, h("div", { slot: "footer" }, h("yoo-button", { size: isWeb(this.host) ? 'medium' : 'large', color: "app-color", disabled: !this.validity, onClick: () => this.onSubmit() }, translate('SUBMIT'))));
|
|
109
|
+
return (h("yoo-form-dynamic", { class: "margin-top", animated: false, slides: slides, showRecap: false, showSave: true, skipValidation: true, onDataChanged: (ev) => this.onDataChanged(ev), onFormValidityChanged: (ev) => this.onValidityChanged(ev), onSave: () => this.onSubmit() }, h("div", { slot: "footer" }, h("yoo-button", { size: isWeb(this.host) ? 'medium' : 'large', color: "app-color", disabled: !this.validity, onClick: () => this.onSubmit() }, translate('SUBMIT')))));
|
|
108
110
|
}
|
|
109
111
|
render() {
|
|
110
112
|
return h("div", null, this.token ? this.renderResetForm() : this.renderRequest());
|