@datarobot/design-system 30.8.0 → 30.10.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/hooks/use-file-structure/utilities.d.ts +1 -1
- package/cjs/hooks/use-file-structure/utilities.js +1 -1
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +11 -0
- package/cjs/radio-button/types.d.ts +2 -2
- 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/esm/hooks/use-file-structure/utilities.d.ts +1 -1
- package/esm/hooks/use-file-structure/utilities.js +1 -1
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/radio-button/types.d.ts +2 -2
- 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/js/alpine-light/alpine-light.min.js +1 -1
- package/js/bundle/bundle.js +37761 -35143
- package/js/bundle/bundle.min.js +1 -1
- package/js/bundle/bundle.min.js.LICENSE.txt +2 -13
- package/js/bundle/index.d.ts +16 -1
- package/js/light/light.min.js +1 -1
- package/js/main/main.min.js +1 -1
- package/js/midnight-gray/midnight-gray.min.js +1 -1
- package/package.json +2 -2
- package/scoped-theme/package.json +7 -0
- package/styles/index.css +10070 -10066
- 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
- package/styles/themes/light.min.css +1 -1
- package/styles/themes/midnight-gray.min.css +1 -1
|
@@ -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
|
|
@@ -57,9 +46,9 @@
|
|
|
57
46
|
|
|
58
47
|
/**
|
|
59
48
|
* @license React
|
|
60
|
-
*
|
|
49
|
+
* use-sync-external-store-shim.production.js
|
|
61
50
|
*
|
|
62
|
-
* Copyright (c)
|
|
51
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
63
52
|
*
|
|
64
53
|
* This source code is licensed under the MIT license found in the
|
|
65
54
|
* LICENSE file in the root directory of this source tree.
|
package/js/bundle/index.d.ts
CHANGED
|
@@ -4426,7 +4426,7 @@ export const RADIO_BUTTON_SIZE: {
|
|
|
4426
4426
|
};
|
|
4427
4427
|
export type RadioButtonSize = ValueOf<typeof RADIO_BUTTON_SIZE>;
|
|
4428
4428
|
export type TooltipShape = {
|
|
4429
|
-
placement:
|
|
4429
|
+
placement: TooltipPlacementsType;
|
|
4430
4430
|
content: ReactNode;
|
|
4431
4431
|
};
|
|
4432
4432
|
export type RadioButtonOption = {
|
|
@@ -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/js/light/light.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(o,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.DataRobot=t():(o.DataRobot=o.DataRobot||{},o.DataRobot.light=t())}(this,(
|
|
1
|
+
!function(o,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.DataRobot=t():(o.DataRobot=o.DataRobot||{},o.DataRobot.light=t())}(this,()=>(()=>{var o,t={6702:()=>{}},e={};function r(o){var a=e[o];if(void 0!==a)return a.exports;var n=e[o]={exports:{}};return t[o](n,n.exports,r),n.exports}r.m=t,o=[],r.O=(t,e,a,n)=>{if(!e){var i=1/0;for(b=0;b<o.length;b++){for(var[e,a,n]=o[b],f=!0,p=0;p<e.length;p++)(!1&n||i>=n)&&Object.keys(r.O).every(o=>r.O[o](e[p]))?e.splice(p--,1):(f=!1,n<i&&(i=n));if(f){o.splice(b--,1);var s=a();void 0!==s&&(t=s)}}return t}n=n||0;for(var b=o.length;b>0&&o[b-1][2]>n;b--)o[b]=o[b-1];o[b]=[e,a,n]},r.o=(o,t)=>Object.prototype.hasOwnProperty.call(o,t),(()=>{var o={309:0,384:0};r.O.j=t=>0===o[t];var t=(t,e)=>{var a,n,[i,f,p]=e,s=0;if(i.some(t=>0!==o[t])){for(a in f)r.o(f,a)&&(r.m[a]=f[a]);if(p)var b=p(r)}for(t&&t(e);s<i.length;s++)n=i[s],r.o(o,n)&&o[n]&&o[n][0](),o[n]=0;return r.O(b)},e=this.webpackChunkDataRobot=this.webpackChunkDataRobot||[];e.forEach(t.bind(null,0)),e.push=t.bind(null,e.push.bind(e))})();var a=r.O(void 0,[384],()=>r(6702));return r.O(a)})());
|
package/js/main/main.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(o,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.DataRobot=t():(o.DataRobot=o.DataRobot||{},o.DataRobot.main=t())}(this,(
|
|
1
|
+
!function(o,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.DataRobot=t():(o.DataRobot=o.DataRobot||{},o.DataRobot.main=t())}(this,()=>(()=>{var o,t={1005:()=>{}},e={};function r(o){var a=e[o];if(void 0!==a)return a.exports;var n=e[o]={exports:{}};return t[o](n,n.exports,r),n.exports}r.m=t,o=[],r.O=(t,e,a,n)=>{if(!e){var i=1/0;for(b=0;b<o.length;b++){for(var[e,a,n]=o[b],f=!0,p=0;p<e.length;p++)(!1&n||i>=n)&&Object.keys(r.O).every(o=>r.O[o](e[p]))?e.splice(p--,1):(f=!1,n<i&&(i=n));if(f){o.splice(b--,1);var s=a();void 0!==s&&(t=s)}}return t}n=n||0;for(var b=o.length;b>0&&o[b-1][2]>n;b--)o[b]=o[b-1];o[b]=[e,a,n]},r.o=(o,t)=>Object.prototype.hasOwnProperty.call(o,t),(()=>{var o={792:0,57:0};r.O.j=t=>0===o[t];var t=(t,e)=>{var a,n,[i,f,p]=e,s=0;if(i.some(t=>0!==o[t])){for(a in f)r.o(f,a)&&(r.m[a]=f[a]);if(p)var b=p(r)}for(t&&t(e);s<i.length;s++)n=i[s],r.o(o,n)&&o[n]&&o[n][0](),o[n]=0;return r.O(b)},e=this.webpackChunkDataRobot=this.webpackChunkDataRobot||[];e.forEach(t.bind(null,0)),e.push=t.bind(null,e.push.bind(e))})();var a=r.O(void 0,[57],()=>r(1005));return r.O(a)})());
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(o,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.DataRobot=t():(o.DataRobot=o.DataRobot||{},o.DataRobot["midnight-gray"]=t())}(this,(
|
|
1
|
+
!function(o,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.DataRobot=t():(o.DataRobot=o.DataRobot||{},o.DataRobot["midnight-gray"]=t())}(this,()=>(()=>{var o,t={7608:()=>{}},e={};function r(o){var a=e[o];if(void 0!==a)return a.exports;var n=e[o]={exports:{}};return t[o](n,n.exports,r),n.exports}r.m=t,o=[],r.O=(t,e,a,n)=>{if(!e){var i=1/0;for(b=0;b<o.length;b++){for(var[e,a,n]=o[b],f=!0,p=0;p<e.length;p++)(!1&n||i>=n)&&Object.keys(r.O).every(o=>r.O[o](e[p]))?e.splice(p--,1):(f=!1,n<i&&(i=n));if(f){o.splice(b--,1);var s=a();void 0!==s&&(t=s)}}return t}n=n||0;for(var b=o.length;b>0&&o[b-1][2]>n;b--)o[b]=o[b-1];o[b]=[e,a,n]},r.o=(o,t)=>Object.prototype.hasOwnProperty.call(o,t),(()=>{var o={745:0,988:0};r.O.j=t=>0===o[t];var t=(t,e)=>{var a,n,[i,f,p]=e,s=0;if(i.some(t=>0!==o[t])){for(a in f)r.o(f,a)&&(r.m[a]=f[a]);if(p)var b=p(r)}for(t&&t(e);s<i.length;s++)n=i[s],r.o(o,n)&&o[n]&&o[n][0](),o[n]=0;return r.O(b)},e=this.webpackChunkDataRobot=this.webpackChunkDataRobot||[];e.forEach(t.bind(null,0)),e.push=t.bind(null,e.push.bind(e))})();var a=r.O(void 0,[988],()=>r(7608));return r.O(a)})());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@datarobot/design-system",
|
|
3
|
-
"version": "30.
|
|
3
|
+
"version": "30.10.0",
|
|
4
4
|
"description": "DataRobot react components library",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node ../../tools/build-lib.js",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@types/rheostat": "^3.0.2",
|
|
89
89
|
"babel-jest": "^30.0.2",
|
|
90
90
|
"dts-bundle": "^0.7.3",
|
|
91
|
-
"i18next-cli": "^1.
|
|
91
|
+
"i18next-cli": "^1.64.0",
|
|
92
92
|
"jest": "^30.0.2",
|
|
93
93
|
"jest-environment-jsdom": "^30.0.2",
|
|
94
94
|
"postcss": "^8.4.33",
|