@castlabs/ui 7.20.1 → 7.21.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/assets/select-disabled-dark.svg +1 -0
- package/dist/castlabs-ui-editor.common.js +8 -8
- package/dist/castlabs-ui-editor.common.js.map +1 -1
- package/dist/castlabs-ui-editor.umd.js +8 -8
- package/dist/castlabs-ui-editor.umd.js.map +1 -1
- package/dist/castlabs-ui.common.js +2 -2
- package/dist/castlabs-ui.common.js.map +1 -1
- package/dist/castlabs-ui.core.js +35 -14
- package/dist/castlabs-ui.css +1 -1
- package/dist/castlabs-ui.module.d.ts +1 -0
- package/dist/castlabs-ui.module.js +35 -14
- package/dist/castlabs-ui.umd.js +3 -3
- package/dist/castlabs-ui.umd.js.map +1 -1
- package/dist/select-dark.efd5244b.svg +1 -0
- package/dist/select-disabled-dark.1065ea4c.svg +1 -0
- package/package.json +15 -15
- package/src/components/widget/ClPage/style.scss +5 -5
- package/src/styles/abstracts/button.scss +1 -1
- package/src/styles/abstracts/color.scss +3 -0
- package/src/styles/abstracts/typography.scss +1 -0
- package/src/styles/layout/meta.scss +1 -1
- package/src/styles/themes/dark.scss +3 -2
- package/types/castlabs-ui.module.d.ts +1 -0
- package/types/index.d.ts +1 -0
- /package/dist/{select.dark.efd5244b.svg → assets/select-dark.svg} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#CFC8C8' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m2 5 6 6 6-6'/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='#a0a0a0' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m2 5 6 6 6-6'/></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@castlabs/ui",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.21.1",
|
|
4
4
|
"repository": "https://github.com/castlabs/ui-styleguide",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "A vanilla HTML/CS/JS & Vue.js component library for Castlabs.",
|
|
@@ -42,30 +42,30 @@
|
|
|
42
42
|
"simplebar": "6.3.3"
|
|
43
43
|
},
|
|
44
44
|
"optionalDependencies": {
|
|
45
|
-
"@rollup/rollup-linux-x64-gnu": "4.60.
|
|
45
|
+
"@rollup/rollup-linux-x64-gnu": "4.60.2"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@castlabs/ui-editor": "file:../castlabs-ui-editor",
|
|
49
49
|
"@tsconfig/node22": "22.0.5",
|
|
50
50
|
"@types/jsdom": "28.0.1",
|
|
51
|
-
"@types/node": "25.
|
|
52
|
-
"@vitejs/plugin-vue": "6.0.
|
|
53
|
-
"@vitest/eslint-plugin": "1.6.
|
|
51
|
+
"@types/node": "25.6.0",
|
|
52
|
+
"@vitejs/plugin-vue": "6.0.6",
|
|
53
|
+
"@vitest/eslint-plugin": "1.6.16",
|
|
54
54
|
"@vue/eslint-config-prettier": "10.2.0",
|
|
55
55
|
"@vue/eslint-config-typescript": "14.7.0",
|
|
56
|
-
"@vue/test-utils": "2.4.
|
|
56
|
+
"@vue/test-utils": "2.4.9",
|
|
57
57
|
"@vue/tsconfig": "0.9.1",
|
|
58
58
|
"core-js": "3.49.0",
|
|
59
59
|
"dree": "5.1.5",
|
|
60
60
|
"eslint-plugin-import": "2.32.0",
|
|
61
61
|
"eslint-plugin-n": "17.24.0",
|
|
62
|
-
"eslint-plugin-promise": "7.
|
|
63
|
-
"eslint-plugin-vue": "10.
|
|
64
|
-
"eslint": "9.39.
|
|
62
|
+
"eslint-plugin-promise": "7.3.0",
|
|
63
|
+
"eslint-plugin-vue": "10.9.0",
|
|
64
|
+
"eslint": "9.39.4",
|
|
65
65
|
"gulp-concat": "2.6.1",
|
|
66
66
|
"gulp-replace": "1.1.4",
|
|
67
67
|
"gulp": "5.0.1",
|
|
68
|
-
"jsdom": "29.
|
|
68
|
+
"jsdom": "29.1.1",
|
|
69
69
|
"npm-run-all": "4.1.5",
|
|
70
70
|
"sass": "1.99.0",
|
|
71
71
|
"stylelint-config-sass-guidelines": "13.0.0",
|
|
@@ -73,11 +73,11 @@
|
|
|
73
73
|
"stylelint-config-standard": "40.0.0",
|
|
74
74
|
"stylelint-order": "8.1.1",
|
|
75
75
|
"stylelint-scss": "7.0.0",
|
|
76
|
-
"typescript": "
|
|
77
|
-
"vite": "8.0.
|
|
78
|
-
"vitest": "4.1.
|
|
79
|
-
"vue-tsc": "3.2.
|
|
80
|
-
"vue": "3.5.
|
|
76
|
+
"typescript": "6.0.3",
|
|
77
|
+
"vite": "8.0.10",
|
|
78
|
+
"vitest": "4.1.5",
|
|
79
|
+
"vue-tsc": "3.2.7",
|
|
80
|
+
"vue": "3.5.33"
|
|
81
81
|
},
|
|
82
82
|
"overrides": {
|
|
83
83
|
"glob": "^13"
|
|
@@ -40,11 +40,11 @@
|
|
|
40
40
|
.cl-section-fullscreen {
|
|
41
41
|
height: 100%;
|
|
42
42
|
|
|
43
|
-
.
|
|
44
|
-
.container
|
|
45
|
-
.
|
|
46
|
-
.
|
|
47
|
-
.
|
|
43
|
+
.cl-table-scroll,
|
|
44
|
+
> .container,
|
|
45
|
+
> .container-fluid,
|
|
46
|
+
> * > .row,
|
|
47
|
+
> * > * > .col-12 {
|
|
48
48
|
height: 100%;
|
|
49
49
|
margin-bottom: 0 !important;
|
|
50
50
|
margin-top: 0 !important;
|
|
@@ -337,6 +337,7 @@ $color-opacity-active: 0.8;
|
|
|
337
337
|
|
|
338
338
|
#{'--cl-color-background'}: $color-ci-night;
|
|
339
339
|
#{'--cl-color-border'}: $color-ci-night;
|
|
340
|
+
#{'--cl-color-icon'}: $color-ci-steel;
|
|
340
341
|
}
|
|
341
342
|
|
|
342
343
|
%cl-color-eggshell {
|
|
@@ -346,6 +347,7 @@ $color-opacity-active: 0.8;
|
|
|
346
347
|
#{'--cl-color-background'}: $color-ci-eggshell;
|
|
347
348
|
#{'--cl-color-border'}: $color-ci-eggshell;
|
|
348
349
|
#{'--cl-color-input-border'}: $color-ci-ash;
|
|
350
|
+
#{'--cl-color-icon'}: $color-ci-steel;
|
|
349
351
|
#{'--cl-color-line'}: $color-line;
|
|
350
352
|
#{'--cl-color-link'}: inherit;
|
|
351
353
|
}
|
|
@@ -356,6 +358,7 @@ $color-opacity-active: 0.8;
|
|
|
356
358
|
#{'--cl-color-border'}: var(--cl-color-background-haze);
|
|
357
359
|
#{'--cl-color-background'}: var(--cl-color-background-haze);
|
|
358
360
|
#{'--cl-color-input-background'}: $color-ci-eggshell;
|
|
361
|
+
#{'--cl-color-icon'}: $color-ci-steel;
|
|
359
362
|
}
|
|
360
363
|
|
|
361
364
|
%cl-color-clay {
|
|
@@ -119,6 +119,7 @@ $typography-monospace-line-height: 1.375;
|
|
|
119
119
|
// button styled as regular link
|
|
120
120
|
@extend %cl-a;
|
|
121
121
|
|
|
122
|
+
#{'--cl-color-text'}: inherit !important;
|
|
122
123
|
background-color: transparent;
|
|
123
124
|
background-position: left bottom 0.25em; // depends on underline
|
|
124
125
|
background-repeat: no-repeat;
|
|
@@ -14,6 +14,7 @@ $cl-url-postfix: '' !default;
|
|
|
14
14
|
#{'--cl-color-input-background'}: $color-ci-night;
|
|
15
15
|
#{'--cl-color-input-border'}: $color-ci-clay;
|
|
16
16
|
#{'--cl-color-text'}: $color-ci-eggshell;
|
|
17
|
+
#{'--cl-color-link'}: $color-ci-eggshell;
|
|
17
18
|
#{'--cl-color-text-inverted'}: $color-ci-night;
|
|
18
19
|
|
|
19
20
|
textarea[disabled],
|
|
@@ -131,12 +132,12 @@ $cl-url-postfix: '' !default;
|
|
|
131
132
|
}
|
|
132
133
|
|
|
133
134
|
.form-select {
|
|
134
|
-
background-image: url('#{$cl-url-prefix}select
|
|
135
|
+
background-image: url('#{$cl-url-prefix}select-dark.svg#{$cl-url-postfix}'), none, none;
|
|
135
136
|
|
|
136
137
|
&:disabled,
|
|
137
138
|
&.disabled {
|
|
138
139
|
background-image:
|
|
139
|
-
url('#{$cl-url-prefix}select-disabled
|
|
140
|
+
url('#{$cl-url-prefix}select-disabled-dark.svg#{$cl-url-postfix}'), none, none;
|
|
140
141
|
}
|
|
141
142
|
}
|
|
142
143
|
|
|
@@ -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 clModalBack (to: any): boolean
|
|
12
13
|
|
|
13
14
|
export function clPaginate (array: any[], pageNo?: number, pageSize?: number): any[]
|
|
14
15
|
|
package/types/index.d.ts
CHANGED
|
@@ -68,6 +68,7 @@ export function clModalHide(): void
|
|
|
68
68
|
export function clModalShow (id: string, value?: any): void
|
|
69
69
|
export function clModalValue (id: string): any
|
|
70
70
|
export function clModalIsShown (id?: string): boolean
|
|
71
|
+
export function clModalBack (to: any): boolean
|
|
71
72
|
|
|
72
73
|
export function clPaginate (array: any[], pageNo?: number, pageSize?: number): any[]
|
|
73
74
|
|
|
File without changes
|