@knime/kds-components 11.1.0 → 11.1.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/CHANGELOG.md +9 -0
- package/dist/index.css +13 -4
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/src/components/richText/Description/KdsDescription.vue.d.ts.map +1 -1
- package/dist/src/util/useKdsDarkMode.d.ts +5 -5
- package/dist/src/util/useKdsDarkMode.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsDescription.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/richText/Description/KdsDescription.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsDescription.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/richText/Description/KdsDescription.vue"],"names":[],"mappings":"AA+PA,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAmDF,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { KdsColorValue, KdsColorValues } from '@knime/kds-styles/tokens';
|
|
2
2
|
import { kdsDarkModeType } from './enums';
|
|
3
3
|
export declare const KDS_DARK_MODE_STORAGE_KEY = "KNIME_DARK_MODE";
|
|
4
4
|
export type KdsDarkModeType = (typeof kdsDarkModeType)[keyof typeof kdsDarkModeType];
|
|
@@ -15,7 +15,7 @@ declare const createReadOnlyKdsDarkMode: () => {
|
|
|
15
15
|
/**
|
|
16
16
|
* Helper function that turns a KdsColor into the correct KdsColorValue (light or dark)
|
|
17
17
|
*/
|
|
18
|
-
lightDark: (color:
|
|
18
|
+
lightDark: (color: KdsColorValues) => KdsColorValue;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
21
|
* The user preference is the *only* persisted state; the effective light/dark
|
|
@@ -54,7 +54,7 @@ declare const createKdsDarkModeController: (page: KdsDarkMode) => {
|
|
|
54
54
|
/**
|
|
55
55
|
* Helper function that turns a KdsColor into the correct KdsColorValue (light or dark)
|
|
56
56
|
*/
|
|
57
|
-
lightDark: (color:
|
|
57
|
+
lightDark: (color: KdsColorValues) => KdsColorValue;
|
|
58
58
|
};
|
|
59
59
|
/** What `useKdsDarkMode()` returns. */
|
|
60
60
|
export type KdsDarkMode = ReturnType<typeof createReadOnlyKdsDarkMode>;
|
|
@@ -73,7 +73,7 @@ export declare const useKdsDarkMode: () => {
|
|
|
73
73
|
/**
|
|
74
74
|
* Helper function that turns a KdsColor into the correct KdsColorValue (light or dark)
|
|
75
75
|
*/
|
|
76
|
-
lightDark: (color:
|
|
76
|
+
lightDark: (color: KdsColorValues) => KdsColorValue;
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
79
79
|
* Applies the stored preference to the page and exposes it, e.g. for a mode
|
|
@@ -102,7 +102,7 @@ export declare const useKdsDarkModeController: () => {
|
|
|
102
102
|
/**
|
|
103
103
|
* Helper function that turns a KdsColor into the correct KdsColorValue (light or dark)
|
|
104
104
|
*/
|
|
105
|
-
lightDark: (color:
|
|
105
|
+
lightDark: (color: KdsColorValues) => KdsColorValue;
|
|
106
106
|
};
|
|
107
107
|
export {};
|
|
108
108
|
//# sourceMappingURL=useKdsDarkMode.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useKdsDarkMode.d.ts","sourceRoot":"","sources":["../../../src/util/useKdsDarkMode.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"useKdsDarkMode.d.ts","sourceRoot":"","sources":["../../../src/util/useKdsDarkMode.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAE9E,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE1C,eAAO,MAAM,yBAAyB,oBAAoB,CAAC;AAU3D,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAuCzD;;;;GAIG;AACH,QAAA,MAAM,yBAAyB;IAgC3B,+CAA+C;;IAE/C,gDAAgD;;IAEhD;;OAEG;uBAVqB,cAAc,KAAG,aAAa;CAazD,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,QAAA,MAAM,2BAA2B,GAAI,MAAM,WAAW;IA0ClD;;;;OAIG;;IAEH,2IAA2I;;IAE3I,6IAA6I;;IAE7I,wDAAwD;;IAExD;;;OAGG;;IAhFH,gDAAgD;;IAEhD;;OAEG;uBAVqB,cAAc,KAAG,aAAa;CAyFzD,CAAC;AAEF,uCAAuC;AACvC,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAAC;AACvE,iDAAiD;AACjD,MAAM,MAAM,qBAAqB,GAAG,UAAU,CAC5C,OAAO,2BAA2B,CACnC,CAAC;AAKF;;;;GAIG;AACH,eAAO,MAAM,cAAc;IAtGvB,+CAA+C;;IAE/C,gDAAgD;;IAEhD;;OAEG;uBAVqB,cAAc,KAAG,aAAa;CA+GzD,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,wBAAwB;IA9CjC;;;;OAIG;;IAEH,2IAA2I;;IAE3I,6IAA6I;;IAE7I,wDAAwD;;IAExD;;;OAGG;;IAhFH,gDAAgD;;IAEhD;;OAEG;uBAVqB,cAAc,KAAG,aAAa;CAkIzD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "11.1.
|
|
3
|
+
"version": "11.1.1",
|
|
4
4
|
"description": "Package containing basic Vue components of the KNIME Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"vue": "~3.5.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@knime/kds-styles": "^11.1.
|
|
38
|
+
"@knime/kds-styles": "^11.1.1",
|
|
39
39
|
"@knime/utils": "^2.0.3",
|
|
40
40
|
"consola": "^3.4.2",
|
|
41
41
|
"motion": "^12.42.2",
|
|
42
42
|
"temporal-polyfill": "^1.0.1"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@knime/kds-code-editor": "^11.1.
|
|
46
|
-
"@knime/kds-table": "^11.1.
|
|
45
|
+
"@knime/kds-code-editor": "^11.1.1",
|
|
46
|
+
"@knime/kds-table": "^11.1.1",
|
|
47
47
|
"@storybook/vue3-vite": "^10.4.6",
|
|
48
48
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
49
49
|
"@vue/test-utils": "^2.4.11",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"vite-plugin-dts": "^5.0.3",
|
|
58
58
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
59
59
|
"vite-svg-loader": "^5.1.1",
|
|
60
|
-
"vue": "3.5.
|
|
60
|
+
"vue": "3.5.42",
|
|
61
61
|
"vue-tsc": "^3.3.8"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|