@datarobot/design-system 30.9.0 → 30.11.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/radio-button/types.d.ts +2 -2
- package/esm/hooks/use-file-structure/utilities.d.ts +1 -1
- package/esm/hooks/use-file-structure/utilities.js +1 -1
- package/esm/radio-button/types.d.ts +2 -2
- package/js/alpine-light/alpine-light.min.js +1 -1
- package/js/bundle/bundle.js +37383 -33755
- package/js/bundle/bundle.min.js +1 -1
- package/js/bundle/bundle.min.js.LICENSE.txt +10 -0
- package/js/bundle/index.d.ts +1 -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/styles/index.css +1 -3
- package/styles/index.min.css +1 -1
- package/styles/scoped/index.css +1 -3
- package/styles/scoped/index.min.css +1 -1
- package/styles/scoped/themes/alpine-light.css +0 -1
- package/styles/scoped/themes/alpine-light.min.css +1 -1
- package/styles/scoped/themes/light.min.css +1 -1
- package/styles/scoped/themes/midnight-gray.css +0 -1
- package/styles/scoped/themes/midnight-gray.min.css +1 -1
- package/styles/themes/alpine-light.css +0 -1
- package/styles/themes/alpine-light.min.css +1 -1
- package/styles/themes/light.min.css +1 -1
- package/styles/themes/midnight-gray.css +0 -1
- package/styles/themes/midnight-gray.min.css +1 -1
|
@@ -28,7 +28,7 @@ declare const getEntryFileAsync: (itemEntry: FileSystemFileEntry) => Promise<voi
|
|
|
28
28
|
/**
|
|
29
29
|
* Check for feature support
|
|
30
30
|
*/
|
|
31
|
-
declare const isItemsFileStructureSupported: (items: DataTransferItemList) =>
|
|
31
|
+
declare const isItemsFileStructureSupported: (items: DataTransferItemList) => boolean;
|
|
32
32
|
/**
|
|
33
33
|
* Default file structure adaptor
|
|
34
34
|
*/
|
|
@@ -67,7 +67,7 @@ itemEntry.file(resolve, () => resolve()));
|
|
|
67
67
|
exports.getEntryFileAsync = getEntryFileAsync;
|
|
68
68
|
const isItemsFileStructureSupported = items => {
|
|
69
69
|
const browserSupports = !!window.DataTransfer && !!window.DataTransferItemList && !!window.DataTransferItem;
|
|
70
|
-
const itemsAllow = (0, _get.default)(items, '[0].webkitGetAsEntry');
|
|
70
|
+
const itemsAllow = typeof (0, _get.default)(items, '[0].webkitGetAsEntry') === 'function';
|
|
71
71
|
// Cypress does not support webkitGetAsEntry, so fileUploader becomes impossible to test
|
|
72
72
|
return browserSupports && itemsAllow && !window.Cypress;
|
|
73
73
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { TooltipPlacementsType } from '../tooltip';
|
|
3
3
|
import { ValueOf } from '../types';
|
|
4
4
|
export declare const RADIO_BUTTON_SIZE: {
|
|
5
5
|
readonly MD: "md";
|
|
@@ -7,7 +7,7 @@ export declare const RADIO_BUTTON_SIZE: {
|
|
|
7
7
|
};
|
|
8
8
|
export type RadioButtonSize = ValueOf<typeof RADIO_BUTTON_SIZE>;
|
|
9
9
|
export type TooltipShape = {
|
|
10
|
-
placement:
|
|
10
|
+
placement: TooltipPlacementsType;
|
|
11
11
|
content: ReactNode;
|
|
12
12
|
};
|
|
13
13
|
export type RadioButtonOption = {
|
|
@@ -28,7 +28,7 @@ declare const getEntryFileAsync: (itemEntry: FileSystemFileEntry) => Promise<voi
|
|
|
28
28
|
/**
|
|
29
29
|
* Check for feature support
|
|
30
30
|
*/
|
|
31
|
-
declare const isItemsFileStructureSupported: (items: DataTransferItemList) =>
|
|
31
|
+
declare const isItemsFileStructureSupported: (items: DataTransferItemList) => boolean;
|
|
32
32
|
/**
|
|
33
33
|
* Default file structure adaptor
|
|
34
34
|
*/
|
|
@@ -55,7 +55,7 @@ itemEntry.file(resolve, () => resolve()));
|
|
|
55
55
|
*/
|
|
56
56
|
const isItemsFileStructureSupported = items => {
|
|
57
57
|
const browserSupports = !!window.DataTransfer && !!window.DataTransferItemList && !!window.DataTransferItem;
|
|
58
|
-
const itemsAllow = get(items, '[0].webkitGetAsEntry');
|
|
58
|
+
const itemsAllow = typeof get(items, '[0].webkitGetAsEntry') === 'function';
|
|
59
59
|
// Cypress does not support webkitGetAsEntry, so fileUploader becomes impossible to test
|
|
60
60
|
return browserSupports && itemsAllow && !window.Cypress;
|
|
61
61
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { TooltipPlacementsType } from '../tooltip';
|
|
3
3
|
import { ValueOf } from '../types';
|
|
4
4
|
export declare const RADIO_BUTTON_SIZE: {
|
|
5
5
|
readonly MD: "md";
|
|
@@ -7,7 +7,7 @@ export declare const RADIO_BUTTON_SIZE: {
|
|
|
7
7
|
};
|
|
8
8
|
export type RadioButtonSize = ValueOf<typeof RADIO_BUTTON_SIZE>;
|
|
9
9
|
export type TooltipShape = {
|
|
10
|
-
placement:
|
|
10
|
+
placement: TooltipPlacementsType;
|
|
11
11
|
content: ReactNode;
|
|
12
12
|
};
|
|
13
13
|
export type RadioButtonOption = {
|
|
@@ -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["alpine-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["alpine-light"]=t())}(this,()=>(()=>{var o,t={7252:()=>{}},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],p=!0,f=0;f<e.length;f++)(!1&n||i>=n)&&Object.keys(r.O).every(o=>r.O[o](e[f]))?e.splice(f--,1):(p=!1,n<i&&(i=n));if(p){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={457:0,726:0};r.O.j=t=>0===o[t];var t=(t,e)=>{var a,n,[i,p,f]=e,s=0;if(i.some(t=>0!==o[t])){for(a in p)r.o(p,a)&&(r.m[a]=p[a]);if(f)var b=f(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,[726],()=>r(7252));return r.O(a)})());
|