@castlabs/ui 8.3.0 → 8.4.1
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/castlabs-ui-editor.common.js +22 -22
- package/dist/castlabs-ui-editor.common.js.map +1 -1
- package/dist/castlabs-ui-editor.umd.js +16 -16
- package/dist/castlabs-ui-editor.umd.js.map +1 -1
- package/dist/castlabs-ui.common.js +151 -3
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.core.js +3 -3
- package/dist/castlabs-ui.css +1 -1
- package/dist/castlabs-ui.module.d.ts +1 -0
- package/dist/castlabs-ui.module.js +3 -3
- package/dist/castlabs-ui.umd.js +164 -4
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/dist/magic-string.es-3690a1eb.js +11 -0
- package/dist/magic-string.es-3690a1eb.js.map +1 -0
- package/package.json +12 -11
- package/src/components/text/ClValue/style.scss +12 -0
- package/src/styles/abstracts/responsive.scss +11 -7
- package/src/styles/layout/meta.scss +1 -1
- package/types/castlabs-ui.module.d.ts +1 -0
- package/types/index.d.ts +48 -6
package/dist/castlabs-ui.core.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* @castlabs/ui v8.
|
|
1
|
+
/* @castlabs/ui v8.4.1 */
|
|
2
2
|
|
|
3
3
|
/*!
|
|
4
4
|
* Bootstrap v5.3.8 (https://getbootstrap.com/)
|
|
@@ -1424,7 +1424,7 @@ function clFormatCardNumber (cardNumber) {
|
|
|
1424
1424
|
* @param {String} id Optional form ID to check befor submitting.
|
|
1425
1425
|
* @return {Promise<any>} The (wrapped) promise that callback() returned.
|
|
1426
1426
|
*/
|
|
1427
|
-
function clSynchronizedSubmit (component, callback, id = component.ID_FORM) {
|
|
1427
|
+
async function clSynchronizedSubmit (component, callback, id = component.ID_FORM) {
|
|
1428
1428
|
if (id) {
|
|
1429
1429
|
if (clFormIsValid(id) && !component.submitting) {
|
|
1430
1430
|
component.submitting = true
|
|
@@ -1453,7 +1453,7 @@ function clSynchronizedSubmit (component, callback, id = component.ID_FORM) {
|
|
|
1453
1453
|
* @param {String} id Mandatory form ID to check befor submitting.
|
|
1454
1454
|
* @return {Promise<any>} The (wrapped) promise that callback() returned.
|
|
1455
1455
|
*/
|
|
1456
|
-
function clSynchronizedSubmitAsync (component, callback, id = component.ID_FORM) {
|
|
1456
|
+
async function clSynchronizedSubmitAsync (component, callback, id = component.ID_FORM) {
|
|
1457
1457
|
if (!component.submitting) {
|
|
1458
1458
|
return clFormIsValidAsync(id).then(success => {
|
|
1459
1459
|
if (success) {
|