@datarobot/design-system 30.7.0 → 30.9.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/cjs/chat/chat-message-body.js +9 -7
- package/cjs/chat/utils.js +5 -1
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +11 -0
- package/cjs/scoped-theme/index.d.ts +1 -0
- package/cjs/scoped-theme/index.js +24 -0
- package/cjs/scoped-theme/scoped-theme.d.ts +14 -0
- package/cjs/scoped-theme/scoped-theme.js +46 -0
- package/cjs/text-editor/edited-text.js +12 -4
- package/cjs/text-editor/text-editor.js +8 -1
- package/esm/chat/chat-message-body.js +9 -7
- package/esm/chat/utils.js +4 -1
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/scoped-theme/index.d.ts +1 -0
- package/esm/scoped-theme/index.js +1 -0
- package/esm/scoped-theme/scoped-theme.d.ts +14 -0
- package/esm/scoped-theme/scoped-theme.js +37 -0
- package/esm/text-editor/edited-text.js +12 -4
- package/esm/text-editor/text-editor.js +8 -1
- package/js/bundle/bundle.js +451 -1390
- package/js/bundle/bundle.min.js +1 -1
- package/js/bundle/bundle.min.js.LICENSE.txt +0 -21
- package/js/bundle/index.d.ts +15 -0
- package/package.json +5 -5
- package/scoped-theme/package.json +7 -0
- package/styles/index.css +10069 -10065
- package/styles/index.min.css +1 -1
- package/styles/scoped/index.css +14132 -0
- package/styles/scoped/index.min.css +1 -0
- package/styles/scoped/themes/alpine-light.css +1100 -0
- package/styles/scoped/themes/alpine-light.min.css +1 -0
- package/styles/scoped/themes/light.css +484 -0
- package/styles/scoped/themes/light.min.css +1 -0
- package/styles/scoped/themes/midnight-gray.css +1082 -0
- package/styles/scoped/themes/midnight-gray.min.css +1 -0
|
@@ -24,17 +24,6 @@
|
|
|
24
24
|
|
|
25
25
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
26
26
|
|
|
27
|
-
/**
|
|
28
|
-
* react-table
|
|
29
|
-
*
|
|
30
|
-
* Copyright (c) TanStack
|
|
31
|
-
*
|
|
32
|
-
* This source code is licensed under the MIT license found in the
|
|
33
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
34
|
-
*
|
|
35
|
-
* @license MIT
|
|
36
|
-
*/
|
|
37
|
-
|
|
38
27
|
/**
|
|
39
28
|
* @license React
|
|
40
29
|
* react-dom-server-legacy.browser.production.min.js
|
|
@@ -55,16 +44,6 @@
|
|
|
55
44
|
* LICENSE file in the root directory of this source tree.
|
|
56
45
|
*/
|
|
57
46
|
|
|
58
|
-
/**
|
|
59
|
-
* @license React
|
|
60
|
-
* react-jsx-runtime.production.min.js
|
|
61
|
-
*
|
|
62
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
63
|
-
*
|
|
64
|
-
* This source code is licensed under the MIT license found in the
|
|
65
|
-
* LICENSE file in the root directory of this source tree.
|
|
66
|
-
*/
|
|
67
|
-
|
|
68
47
|
/** @license React v16.13.1
|
|
69
48
|
* react-is.production.min.js
|
|
70
49
|
*
|
package/js/bundle/index.d.ts
CHANGED
|
@@ -5016,6 +5016,21 @@ export function useGetScheduleString(): (schedule: Schedule, stringOptions?: {
|
|
|
5016
5016
|
}) => string | null;
|
|
5017
5017
|
export function getFrequency({ minute, hour, month, dayOfMonth, dayOfWeek, }: Schedule): Frequency | undefined;
|
|
5018
5018
|
|
|
5019
|
+
export const defaultThemeMapping: {
|
|
5020
|
+
'midnight-gray': string;
|
|
5021
|
+
'alpine-light': string;
|
|
5022
|
+
dark: string;
|
|
5023
|
+
light: string;
|
|
5024
|
+
};
|
|
5025
|
+
export const syncDesignSystemTheme: (theme: string, themeMapping?: Record<string, string>) => void;
|
|
5026
|
+
export const useSyncDesignSystemTheme: (theme: string, themeMapping?: Record<string, string>) => void;
|
|
5027
|
+
export function ScopedTheme(props: {
|
|
5028
|
+
children: React.ReactNode;
|
|
5029
|
+
theme: keyof typeof defaultThemeMapping;
|
|
5030
|
+
className?: string;
|
|
5031
|
+
themeMapping?: Record<string, string>;
|
|
5032
|
+
} & React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
5033
|
+
|
|
5019
5034
|
import './search.less';
|
|
5020
5035
|
export const SEARCH_MODE_TYPES: {
|
|
5021
5036
|
readonly DEFAULT: "default";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datarobot/design-system",
|
|
3
|
-
"version": "30.
|
|
3
|
+
"version": "30.9.0",
|
|
4
4
|
"description": "DataRobot react components library",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node ../../tools/build-lib.js",
|
|
@@ -71,10 +71,10 @@
|
|
|
71
71
|
"remark-math": "^6.0.0",
|
|
72
72
|
"remark-parse": "^11.0.0",
|
|
73
73
|
"remark-rehype": "^11.0.0",
|
|
74
|
-
"slate": "^0.
|
|
75
|
-
"slate-dom": "^0.
|
|
76
|
-
"slate-history": "^0.
|
|
77
|
-
"slate-react": "^0.
|
|
74
|
+
"slate": "^0.124.1",
|
|
75
|
+
"slate-dom": "^0.124.1",
|
|
76
|
+
"slate-history": "^0.113.1",
|
|
77
|
+
"slate-react": "^0.124.2",
|
|
78
78
|
"unified": "^11.0.3"
|
|
79
79
|
},
|
|
80
80
|
"devDependencies": {
|