@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
|
@@ -75,6 +75,7 @@ declare module '@castlabs/ui/dist/castlabs-ui.module.js' {
|
|
|
75
75
|
loading?: boolean
|
|
76
76
|
): Promise<any>
|
|
77
77
|
export function clReloadStore (component: any, forced?: any[], optional?: any[], loading?: boolean): Promise<any>
|
|
78
|
+
export function clSleep (ms: number): Promise<void>
|
|
78
79
|
|
|
79
80
|
// theme utils
|
|
80
81
|
export function clThemeSetup (): boolean
|
|
@@ -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 @@ export 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
|
-
export function clSynchronizedSubmit (component, callback, id = component.ID_FORM) {
|
|
1427
|
+
export 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 @@ export function clSynchronizedSubmit (component, callback, id = component.ID_FOR
|
|
|
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
|
-
export function clSynchronizedSubmitAsync (component, callback, id = component.ID_FORM) {
|
|
1456
|
+
export 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) {
|