@castlabs/ui 8.0.0 → 8.1.0
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 +17 -17
- package/dist/castlabs-ui-editor.common.js.map +1 -1
- package/dist/castlabs-ui-editor.umd.js +17 -17
- package/dist/castlabs-ui-editor.umd.js.map +1 -1
- package/dist/castlabs-ui.common.js +3 -3
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.core.js +26 -9
- package/dist/castlabs-ui.css +1 -1
- package/dist/castlabs-ui.module.d.ts +1 -0
- package/dist/castlabs-ui.module.js +26 -9
- package/dist/castlabs-ui.umd.js +4 -4
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/package.json +7 -7
- package/src/components/form/ClFieldCheck/style.scss +9 -0
- package/src/components/navigation/ClNavSide/style.scss +17 -0
- package/src/styles/layout/meta.scss +1 -1
- package/types/castlabs-ui.module.d.ts +1 -0
- package/types/index.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@castlabs/ui",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.1.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/castlabs/ui-styleguide.git"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"simplebar": "6.3.3"
|
|
43
43
|
},
|
|
44
44
|
"optionalDependencies": {
|
|
45
|
-
"@rollup/rollup-linux-x64-gnu": "4.62.
|
|
45
|
+
"@rollup/rollup-linux-x64-gnu": "4.62.4"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@castlabs/ui-editor": "file:../castlabs-ui-editor",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@types/jsdom": "28.0.3",
|
|
51
51
|
"@types/node": "26.1.2",
|
|
52
52
|
"@vitejs/plugin-vue": "6.0.8",
|
|
53
|
-
"@vitest/eslint-plugin": "1.6.
|
|
53
|
+
"@vitest/eslint-plugin": "1.6.26",
|
|
54
54
|
"@vue/eslint-config-prettier": "10.2.0",
|
|
55
55
|
"@vue/eslint-config-typescript": "14.9.0",
|
|
56
56
|
"@vue/test-utils": "2.4.11",
|
|
@@ -70,15 +70,15 @@
|
|
|
70
70
|
"sass": "1.102.0",
|
|
71
71
|
"stylelint-config-sass-guidelines": "13.0.0",
|
|
72
72
|
"stylelint-config-standard": "40.0.0",
|
|
73
|
-
"stylelint-config-standard-vue": "
|
|
73
|
+
"stylelint-config-standard-vue": "2.0.0",
|
|
74
74
|
"stylelint-order": "8.1.1",
|
|
75
75
|
"stylelint-scss": "7.2.0",
|
|
76
76
|
"typescript": "6.0.3",
|
|
77
|
-
"vite": "8.
|
|
77
|
+
"vite": "8.2.0",
|
|
78
78
|
"vitest": "4.1.10",
|
|
79
|
-
"vue": "3.5.
|
|
79
|
+
"vue": "3.5.41",
|
|
80
80
|
"vue-eslint-parser": "10.4.1",
|
|
81
|
-
"vue-tsc": "3.3.
|
|
81
|
+
"vue-tsc": "3.3.9"
|
|
82
82
|
},
|
|
83
83
|
"overrides": {
|
|
84
84
|
"glob": "^13"
|
|
@@ -26,9 +26,26 @@
|
|
|
26
26
|
width: $sidenav-width-closed;
|
|
27
27
|
z-index: $sidenav-z-index + 1;
|
|
28
28
|
|
|
29
|
+
// simplebar wrapper
|
|
29
30
|
> div {
|
|
31
|
+
#{'--cl-sidenav-spacing-bottom'}: $spacing-small;
|
|
30
32
|
height: 100%;
|
|
31
33
|
width: $sidenav-width-open;
|
|
34
|
+
|
|
35
|
+
.simplebar-content > :last-child {
|
|
36
|
+
margin-bottom: var(--cl-sidenav-spacing-bottom);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
// fix for light/dark switcher, as last display:none items would hide their margin too
|
|
40
|
+
.cl-nav-item-theme-light:has(+ .cl-nav-item-theme-dark:last-child),
|
|
41
|
+
.cl-nav-item-theme-dark:has(+ .cl-nav-item-theme-light:last-child) {
|
|
42
|
+
margin-bottom: var(--cl-sidenav-spacing-bottom);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
@include media-breakpoint-down($sidenav-breakpoint) {
|
|
46
|
+
// use bigger bottom spacing to avoid avoid bottom mobile OSes panel overlap
|
|
47
|
+
#{'--cl-sidenav-spacing-bottom'}: $spacing-huge;
|
|
48
|
+
}
|
|
32
49
|
}
|
|
33
50
|
}
|
|
34
51
|
}
|
|
@@ -9,6 +9,7 @@ declare module '@castlabs/ui/dist/castlabs-ui.module.js' {
|
|
|
9
9
|
export function clModalShow (id: string, value?: any): void
|
|
10
10
|
export function clModalValue (id: string): any
|
|
11
11
|
export function clModalIsShown (id?: string): boolean
|
|
12
|
+
export function clModalWasShown (): boolean
|
|
12
13
|
export function clModalBack (to: any): boolean
|
|
13
14
|
|
|
14
15
|
export function clPaginate (array: any[], pageNo?: number, pageSize?: number): any[]
|
package/types/index.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ export function clScrollToId (id: string, smooth?: boolean): void
|
|
|
68
68
|
export function clModalHide(): void
|
|
69
69
|
export function clModalShow (id: string, value?: any): void
|
|
70
70
|
export function clModalValue (id: string): any
|
|
71
|
-
export function
|
|
71
|
+
export function clModalWasShown (): boolean
|
|
72
72
|
export function clModalBack (to: any): boolean
|
|
73
73
|
|
|
74
74
|
export function clPaginate (array: any[], pageNo?: number, pageSize?: number): any[]
|