@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
|
@@ -210,7 +210,8 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
210
210
|
border-bottom: var(--border-width-01, 0.0625rem) solid var(--stable-alt-40, rgba(208, 208, 208, 0.4));
|
|
211
211
|
}
|
|
212
212
|
:host #content {
|
|
213
|
-
width: 100
|
|
213
|
+
width: calc(100% - var(--spacing-64, 4rem));
|
|
214
|
+
overflow: hidden;
|
|
214
215
|
}
|
|
215
216
|
:host #content #heading {
|
|
216
217
|
display: flex;
|
|
@@ -236,6 +237,7 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
236
237
|
gap: var(--spacing-04, 0.25rem);
|
|
237
238
|
align-items: center;
|
|
238
239
|
width: 100%;
|
|
240
|
+
overflow: hidden;
|
|
239
241
|
}
|
|
240
242
|
:host #content #message yoo-truncated-line {
|
|
241
243
|
width: 100%;
|
package/dist/collection/feature-learn/learning/lesson-question-result/lesson-question-result.css
CHANGED
|
@@ -330,10 +330,9 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
330
330
|
padding-top: calc(var(--safe-area-inset-top) + var(--spacing-32, 2rem));
|
|
331
331
|
}
|
|
332
332
|
:host .answers {
|
|
333
|
-
|
|
334
|
-
padding-bottom: var(--spacing-16, 1rem);
|
|
333
|
+
padding: var(--spacing-08, 0.5rem) var(--spacing-16, 1rem);
|
|
335
334
|
}
|
|
336
335
|
:host .answers .title {
|
|
337
|
-
padding: var(--spacing-08, 0.5rem)
|
|
336
|
+
padding-bottom: var(--spacing-08, 0.5rem);
|
|
338
337
|
font-size: var(--font-size-24, 1.5rem);
|
|
339
338
|
}
|
|
@@ -225,8 +225,11 @@ null: CSS defaults to use the ltr css, and adds [dir=rtl] selectors to override
|
|
|
225
225
|
height: 15rem;
|
|
226
226
|
margin-top: var(--spacing-08, 0.5rem);
|
|
227
227
|
}
|
|
228
|
-
:host yoo-form-input {
|
|
228
|
+
:host yoo-form-input-container {
|
|
229
229
|
display: block;
|
|
230
230
|
max-width: 18.75rem;
|
|
231
231
|
margin: auto;
|
|
232
|
+
}
|
|
233
|
+
:host yoo-form-input-container.web {
|
|
234
|
+
font-size: var(--font-size-12, 0.75rem);
|
|
232
235
|
}
|
|
@@ -52,13 +52,13 @@ export class YooResetPasswordComponent {
|
|
|
52
52
|
}
|
|
53
53
|
renderRequest() {
|
|
54
54
|
return [
|
|
55
|
-
!!this.instruction && h("p",
|
|
55
|
+
!!this.instruction && h("p", { style: { maxWidth: '350px', margin: '0 auto' } }, this.instruction),
|
|
56
56
|
h("yoo-empty-state", { ref: (el) => (this.emptyState = el), type: this.isMagicLink ? 'magic-link' : 'password' }),
|
|
57
|
-
h("yoo-form-input-container", { field: { title:
|
|
58
|
-
h("yoo-form-input", { ref: (el) => (this.emailInput = el), validators: [{ name: 'required' }], type: "email", uiValidation: { valid: false, invalid: false }, onInputChanged: (event) => this.onInputChanged(event), placeholder: translate('YOOBICUSERNAMEENTER'),
|
|
59
|
-
//! Do not set up onInputBlur without confirming on mobile device
|
|
57
|
+
h("yoo-form-input-container", { field: { title: 'YOOBICUSERNAME' }, hideOptional: true, useUppercaseLabel: true },
|
|
58
|
+
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'),
|
|
59
|
+
//! Do not set up onInputBlur without confirming on mobile device. We don't want to have to press submit more than once
|
|
60
60
|
size: isWeb(this.host) ? 'medium' : 'large' })),
|
|
61
|
-
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('
|
|
61
|
+
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'))
|
|
62
62
|
];
|
|
63
63
|
}
|
|
64
64
|
renderResetForm() {
|
|
@@ -80,6 +80,7 @@ export class YooResetPasswordComponent {
|
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
type: FormFieldType.password,
|
|
83
|
+
iconPrefixColor: 'app-color',
|
|
83
84
|
name: 'newpassword',
|
|
84
85
|
placeholder: 'NEWPASSWORD',
|
|
85
86
|
required: true,
|
|
@@ -88,6 +89,7 @@ export class YooResetPasswordComponent {
|
|
|
88
89
|
},
|
|
89
90
|
{
|
|
90
91
|
type: FormFieldType.password,
|
|
92
|
+
iconPrefixColor: 'app-color',
|
|
91
93
|
name: 'verify',
|
|
92
94
|
placeholder: 'CONFIRMPASSWORD',
|
|
93
95
|
required: true,
|
|
@@ -97,9 +99,9 @@ export class YooResetPasswordComponent {
|
|
|
97
99
|
]
|
|
98
100
|
}
|
|
99
101
|
];
|
|
100
|
-
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() },
|
|
102
|
+
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() },
|
|
101
103
|
h("div", { slot: "footer" },
|
|
102
|
-
h("yoo-button", { size: isWeb(this.host) ? 'medium' : 'large', color: "app-color", disabled: !this.validity, onClick: () => this.onSubmit() }, translate('SUBMIT'))));
|
|
104
|
+
h("yoo-button", { size: isWeb(this.host) ? 'medium' : 'large', color: "app-color", disabled: !this.validity, onClick: () => this.onSubmit() }, translate('SUBMIT')))));
|
|
103
105
|
}
|
|
104
106
|
render() {
|
|
105
107
|
return h("div", null, this.token ? this.renderResetForm() : this.renderRequest());
|