@castlabs/ui 7.23.0 → 7.23.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.common.js +2 -2
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.core.js +41 -19
- package/dist/castlabs-ui.css +1 -1
- package/dist/castlabs-ui.module.d.ts +3 -3
- package/dist/castlabs-ui.module.js +41 -19
- package/dist/castlabs-ui.umd.js +3 -3
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/text/ClCopy/style.scss +1 -3
- package/src/styles/layout/helper.scss +4 -3
- package/src/styles/layout/meta.scss +1 -1
- package/types/castlabs-ui.module.d.ts +3 -3
- package/types/index.d.ts +3 -3
package/package.json
CHANGED
|
@@ -20,13 +20,14 @@
|
|
|
20
20
|
visibility: hidden !important;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.cl-cursor-pointer,
|
|
24
23
|
.cl-cursor-link {
|
|
25
24
|
cursor: pointer !important;
|
|
26
25
|
}
|
|
27
26
|
|
|
28
|
-
|
|
29
|
-
cursor
|
|
27
|
+
@each $cursor in pointer, default, text, not-allowed, none {
|
|
28
|
+
.cl-cursor-#{$cursor} {
|
|
29
|
+
cursor: $cursor !important;
|
|
30
|
+
}
|
|
30
31
|
}
|
|
31
32
|
|
|
32
33
|
@each $transform in uppercase, lowercase, capitalize {
|
|
@@ -17,9 +17,9 @@ declare module '@castlabs/ui/dist/castlabs-ui.module.js' {
|
|
|
17
17
|
|
|
18
18
|
export function clFormReset (id: string, fields?: any[]): void
|
|
19
19
|
export function clFormFieldReset (ref: any, oldValue: any): void
|
|
20
|
-
export function clFormIsValid (id: string): boolean
|
|
21
|
-
export function clFormIsValidAsync (id: string): Promise<boolean>
|
|
22
|
-
export function clFormFieldFocusFirstInvalid (id: string): void
|
|
20
|
+
export function clFormIsValid (id: string, moreSelectors?: string[], triggerSelectors?: string[]): boolean
|
|
21
|
+
export function clFormIsValidAsync (id: string, moreSelectors?: string[], triggerSelectors?: string[]): Promise<boolean>
|
|
22
|
+
export function clFormFieldFocusFirstInvalid (id: string, moreSelectors?: string[]): void
|
|
23
23
|
export function clFormAutofocus (id: string): void
|
|
24
24
|
|
|
25
25
|
export function clFormatFilesize (bytes: number): string
|
package/types/index.d.ts
CHANGED
|
@@ -76,9 +76,9 @@ export function clFocus (selector?: string): void
|
|
|
76
76
|
|
|
77
77
|
export function clFormReset (id: string, fields?: (typeof ClField | typeof ClFieldGroup)[]): void
|
|
78
78
|
export function clFormFieldReset (ref: any, oldValue: any): void
|
|
79
|
-
export function clFormIsValid (id: string): boolean
|
|
80
|
-
export function clFormIsValidAsync (id: string): Promise<boolean>
|
|
81
|
-
export function clFormFieldFocusFirstInvalid (id: string): void
|
|
79
|
+
export function clFormIsValid (id: string, moreSelectors?: string[], triggerSelectors?: string[]): boolean
|
|
80
|
+
export function clFormIsValidAsync (id: string, moreSelectors?: string[], triggerSelectors?: string[]): Promise<boolean>
|
|
81
|
+
export function clFormFieldFocusFirstInvalid (id: string, moreSelectors?: string[]): void
|
|
82
82
|
export function clFormAutofocus (id: string): void
|
|
83
83
|
|
|
84
84
|
export function clFormatFilesize (bytes: number): string
|