@deephaven/components 0.32.1-beta.9 → 0.32.1-lsp.3
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/css/BaseStyleSheet.css +8 -1
- package/css/BaseStyleSheet.css.map +1 -1
- package/dist/Button.d.ts +1 -1
- package/dist/DateTimeInput.d.ts +3 -2
- package/dist/DateTimeInput.d.ts.map +1 -1
- package/dist/DateTimeInput.js +7 -6
- package/dist/DateTimeInput.js.map +1 -1
- package/dist/MaskedInput.d.ts +17 -3
- package/dist/MaskedInput.d.ts.map +1 -1
- package/dist/MaskedInput.js +34 -6
- package/dist/MaskedInput.js.map +1 -1
- package/dist/TimeInput.d.ts.map +1 -1
- package/dist/TimeInput.js +1 -2
- package/dist/TimeInput.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/scss/BaseStyleSheet.scss +10 -1
- package/dist/DateTimeInputUtils.d.ts +0 -2
- package/dist/DateTimeInputUtils.d.ts.map +0 -1
- package/dist/DateTimeInputUtils.js +0 -8
- package/dist/DateTimeInputUtils.js.map +0 -1
- package/dist/MaskedInputUtils.d.ts +0 -17
- package/dist/MaskedInputUtils.d.ts.map +0 -1
- package/dist/MaskedInputUtils.js +0 -36
- package/dist/MaskedInputUtils.js.map +0 -1
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["default","AutoCompleteInput","AutoResizeTextarea","BasicModal","Button","ButtonGroup","ButtonOld","CardFlip","Collapse","Checkbox","ComboBox","CopyButton","CustomTimeSelect","DateTimeInput","DateInput","DebouncedSearchInput","DraggableItemList","DragUtils","EditableItemList","HierarchicalCheckboxMenu","ItemListItem","LoadingOverlay","LoadingSpinner","DropdownMenu","MaskedInput","Option","RadioGroup","RadioItem","Select","SearchInput","SelectValueList","SocketedButton","ThemeExport","TimeInput","TimeSlider","ToastNotification","UISwitch","ValidateLabelInput"],"sources":["../src/index.ts"],"sourcesContent":["export type { Range } from '@deephaven/utils';\nexport { default as AutoCompleteInput } from './AutoCompleteInput';\nexport { default as AutoResizeTextarea } from './AutoResizeTextarea';\nexport { default as BasicModal } from './BasicModal';\nexport { default as Button } from './Button';\nexport { default as ButtonGroup } from './ButtonGroup';\nexport { default as ButtonOld } from './ButtonOld';\nexport { default as CardFlip } from './CardFlip';\nexport * from './context-actions';\nexport { default as Collapse } from './Collapse';\nexport { default as Checkbox } from './Checkbox';\nexport { default as ComboBox } from './ComboBox';\nexport { default as CopyButton } from './CopyButton';\nexport { default as CustomTimeSelect } from './CustomTimeSelect';\nexport { default as DateTimeInput } from './DateTimeInput';\nexport { default as DateInput } from './DateInput';\nexport { default as DebouncedSearchInput } from './DebouncedSearchInput';\nexport { default as DraggableItemList } from './DraggableItemList';\nexport * from './DraggableItemList';\nexport { default as DragUtils } from './DragUtils';\nexport { default as EditableItemList } from './EditableItemList';\nexport { default as HierarchicalCheckboxMenu } from './HierarchicalCheckboxMenu';\nexport * from './HierarchicalCheckboxMenu';\nexport * from './ItemList';\nexport { default as ItemListItem } from './ItemListItem';\nexport { default as LoadingOverlay } from './LoadingOverlay';\nexport { default as LoadingSpinner } from './LoadingSpinner';\nexport { default as DropdownMenu } from './menu-actions';\nexport * from './menu-actions';\nexport { default as MaskedInput } from './MaskedInput';\nexport * from './MaskedInput';\nexport * from './
|
|
1
|
+
{"version":3,"file":"index.js","names":["default","AutoCompleteInput","AutoResizeTextarea","BasicModal","Button","ButtonGroup","ButtonOld","CardFlip","Collapse","Checkbox","ComboBox","CopyButton","CustomTimeSelect","DateTimeInput","DateInput","DebouncedSearchInput","DraggableItemList","DragUtils","EditableItemList","HierarchicalCheckboxMenu","ItemListItem","LoadingOverlay","LoadingSpinner","DropdownMenu","MaskedInput","Option","RadioGroup","RadioItem","Select","SearchInput","SelectValueList","SocketedButton","ThemeExport","TimeInput","TimeSlider","ToastNotification","UISwitch","ValidateLabelInput"],"sources":["../src/index.ts"],"sourcesContent":["export type { Range } from '@deephaven/utils';\nexport { default as AutoCompleteInput } from './AutoCompleteInput';\nexport { default as AutoResizeTextarea } from './AutoResizeTextarea';\nexport { default as BasicModal } from './BasicModal';\nexport { default as Button } from './Button';\nexport { default as ButtonGroup } from './ButtonGroup';\nexport { default as ButtonOld } from './ButtonOld';\nexport { default as CardFlip } from './CardFlip';\nexport * from './context-actions';\nexport { default as Collapse } from './Collapse';\nexport { default as Checkbox } from './Checkbox';\nexport { default as ComboBox } from './ComboBox';\nexport { default as CopyButton } from './CopyButton';\nexport { default as CustomTimeSelect } from './CustomTimeSelect';\nexport { default as DateTimeInput } from './DateTimeInput';\nexport { default as DateInput } from './DateInput';\nexport { default as DebouncedSearchInput } from './DebouncedSearchInput';\nexport { default as DraggableItemList } from './DraggableItemList';\nexport * from './DraggableItemList';\nexport { default as DragUtils } from './DragUtils';\nexport { default as EditableItemList } from './EditableItemList';\nexport { default as HierarchicalCheckboxMenu } from './HierarchicalCheckboxMenu';\nexport * from './HierarchicalCheckboxMenu';\nexport * from './ItemList';\nexport { default as ItemListItem } from './ItemListItem';\nexport { default as LoadingOverlay } from './LoadingOverlay';\nexport { default as LoadingSpinner } from './LoadingSpinner';\nexport { default as DropdownMenu } from './menu-actions';\nexport * from './menu-actions';\nexport { default as MaskedInput } from './MaskedInput';\nexport * from './MaskedInput';\nexport * from './navigation';\nexport { default as Option } from './Option';\nexport * from './popper';\nexport * from './modal';\nexport { default as RadioGroup } from './RadioGroup';\nexport { default as RadioItem } from './RadioItem';\nexport { default as Select } from './Select';\nexport { default as SearchInput } from './SearchInput';\nexport { default as SelectValueList } from './SelectValueList';\nexport * from './SelectValueList';\nexport * from './shortcuts';\nexport { default as SocketedButton } from './SocketedButton';\nexport { default as ThemeExport } from './ThemeExport';\nexport { default as TimeInput } from './TimeInput';\nexport { default as TimeSlider } from './TimeSlider';\nexport { default as ToastNotification } from './ToastNotification';\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,IAAIgC,WAAW;AAAA,SACtBhC,OAAO,IAAIiC,SAAS;AAAA,SACpBjC,OAAO,IAAIkC,UAAU;AAAA,SACrBlC,OAAO,IAAImC,iBAAiB;AAAA,SAC5BnC,OAAO,IAAIoC,QAAQ;AAAA,SACnBpC,OAAO,IAAIqC,kBAAkB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deephaven/components",
|
|
3
|
-
"version": "0.32.1-
|
|
3
|
+
"version": "0.32.1-lsp.3+cbb36ad8",
|
|
4
4
|
"description": "Deephaven React component library",
|
|
5
5
|
"author": "Deephaven Data Labs LLC",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
"build:sass": "sass --embed-sources --load-path=../../node_modules ./src:./dist ./scss/BaseStyleSheet.scss:./css/BaseStyleSheet.css"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@deephaven/icons": "^0.32.1-
|
|
27
|
-
"@deephaven/log": "^0.32.1-
|
|
28
|
-
"@deephaven/react-hooks": "^0.32.1-
|
|
29
|
-
"@deephaven/utils": "^0.32.1-
|
|
26
|
+
"@deephaven/icons": "^0.32.1-lsp.3+cbb36ad8",
|
|
27
|
+
"@deephaven/log": "^0.32.1-lsp.3+cbb36ad8",
|
|
28
|
+
"@deephaven/react-hooks": "^0.32.1-lsp.3+cbb36ad8",
|
|
29
|
+
"@deephaven/utils": "^0.32.1-lsp.3+cbb36ad8",
|
|
30
30
|
"@fortawesome/fontawesome-svg-core": "^6.2.1",
|
|
31
31
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
|
32
32
|
"bootstrap": "4.6.2",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"react-dom": "^17.x"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@deephaven/mocks": "^0.32.1-
|
|
53
|
-
"@deephaven/tsconfig": "^0.32.1-
|
|
52
|
+
"@deephaven/mocks": "^0.32.1-lsp.3+cbb36ad8",
|
|
53
|
+
"@deephaven/tsconfig": "^0.32.1-lsp.3+cbb36ad8"
|
|
54
54
|
},
|
|
55
55
|
"files": [
|
|
56
56
|
"dist",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"publishConfig": {
|
|
64
64
|
"access": "public"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "cbb36ad8fa5779bd46edad98bdbe78aa223086ee"
|
|
67
67
|
}
|
package/scss/BaseStyleSheet.scss
CHANGED
|
@@ -677,10 +677,19 @@ input[type='number']::-webkit-inner-spin-button {
|
|
|
677
677
|
|
|
678
678
|
.monaco-editor {
|
|
679
679
|
// Hide the "Loading..." and "No suggestions" message in the suggest widget in monaco to make it feel faster
|
|
680
|
-
.editor-widget.suggest-widget.message
|
|
680
|
+
.editor-widget.suggest-widget.message,
|
|
681
|
+
.parameter-hints-widget.message {
|
|
681
682
|
display: none;
|
|
682
683
|
}
|
|
683
684
|
|
|
685
|
+
.monaco-hover hr {
|
|
686
|
+
margin-bottom: 4px !important; // Monaco sets this to -4 which causes items below a dividing line to collide w/ the line
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.parameter-hints-widget {
|
|
690
|
+
z-index: 30 !important; // Need to make above golden-layout, but below completion item widget at z=40
|
|
691
|
+
}
|
|
692
|
+
|
|
684
693
|
.find-widget {
|
|
685
694
|
&.visible {
|
|
686
695
|
// For some reason the height of this is set improperly in 0.18.1
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimeInputUtils.d.ts","sourceRoot":"","sources":["../src/DateTimeInputUtils.ts"],"names":[],"mappings":"AACA,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAKnD"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/* eslint-disable import/prefer-default-export */
|
|
2
|
-
export function addSeparators(value) {
|
|
3
|
-
var dateTimeMillis = value.substring(0, 23);
|
|
4
|
-
var micros = value.substring(23, 26);
|
|
5
|
-
var nanos = value.substring(26);
|
|
6
|
-
return [dateTimeMillis, micros, nanos].filter(v => v !== '').join('\u200B');
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=DateTimeInputUtils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DateTimeInputUtils.js","names":["addSeparators","value","dateTimeMillis","substring","micros","nanos","filter","v","join"],"sources":["../src/DateTimeInputUtils.ts"],"sourcesContent":["/* eslint-disable import/prefer-default-export */\nexport function addSeparators(value: string): string {\n const dateTimeMillis = value.substring(0, 23);\n const micros = value.substring(23, 26);\n const nanos = value.substring(26);\n return [dateTimeMillis, micros, nanos].filter(v => v !== '').join('\\u200B');\n}\n"],"mappings":"AAAA;AACA,OAAO,SAASA,aAAa,CAACC,KAAa,EAAU;EACnD,IAAMC,cAAc,GAAGD,KAAK,CAACE,SAAS,CAAC,CAAC,EAAE,EAAE,CAAC;EAC7C,IAAMC,MAAM,GAAGH,KAAK,CAACE,SAAS,CAAC,EAAE,EAAE,EAAE,CAAC;EACtC,IAAME,KAAK,GAAGJ,KAAK,CAACE,SAAS,CAAC,EAAE,CAAC;EACjC,OAAO,CAACD,cAAc,EAAEE,MAAM,EAAEC,KAAK,CAAC,CAACC,MAAM,CAACC,CAAC,IAAIA,CAAC,KAAK,EAAE,CAAC,CAACC,IAAI,CAAC,QAAQ,CAAC;AAC7E"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare function DEFAULT_GET_PREFERRED_REPLACEMENT_STRING(value: string, replaceIndex: number, newChar: string): string;
|
|
2
|
-
/**
|
|
3
|
-
* Fill the string on the right side with the example value to the given length
|
|
4
|
-
* @param checkValue Initial string to pad
|
|
5
|
-
* @param exampleValue Example value
|
|
6
|
-
* @param length Target length
|
|
7
|
-
* @returns String padded with the given example value
|
|
8
|
-
*/
|
|
9
|
-
export declare function fillToLength(checkValue: string, exampleValue: string, length: number): string;
|
|
10
|
-
/**
|
|
11
|
-
* Trim all characters matching the empty mask on the right side of the given value
|
|
12
|
-
* @param value String to trim
|
|
13
|
-
* @param emptyMask Empty mask
|
|
14
|
-
* @returns Trimmed string
|
|
15
|
-
*/
|
|
16
|
-
export declare function trimTrailingMask(value: string, emptyMask: string): string;
|
|
17
|
-
//# sourceMappingURL=MaskedInputUtils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MaskedInputUtils.d.ts","sourceRoot":"","sources":["../src/MaskedInputUtils.ts"],"names":[],"mappings":"AACA,wBAAgB,wCAAwC,CACtD,KAAK,EAAE,MAAM,EACb,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,GACd,MAAM,CAMR;AAED;;;;;;GAMG;AACH,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EACpB,MAAM,EAAE,MAAM,GACb,MAAM,CAIR;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAUzE"}
|
package/dist/MaskedInputUtils.js
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/* eslint-disable import/prefer-default-export */
|
|
2
|
-
export function DEFAULT_GET_PREFERRED_REPLACEMENT_STRING(value, replaceIndex, newChar) {
|
|
3
|
-
return value.substring(0, replaceIndex) + newChar + value.substring(replaceIndex + 1);
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Fill the string on the right side with the example value to the given length
|
|
8
|
-
* @param checkValue Initial string to pad
|
|
9
|
-
* @param exampleValue Example value
|
|
10
|
-
* @param length Target length
|
|
11
|
-
* @returns String padded with the given example value
|
|
12
|
-
*/
|
|
13
|
-
export function fillToLength(checkValue, exampleValue, length) {
|
|
14
|
-
return checkValue.length < length ? "".concat(checkValue).concat(exampleValue.substring(checkValue.length, length)) : checkValue;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Trim all characters matching the empty mask on the right side of the given value
|
|
19
|
-
* @param value String to trim
|
|
20
|
-
* @param emptyMask Empty mask
|
|
21
|
-
* @returns Trimmed string
|
|
22
|
-
*/
|
|
23
|
-
export function trimTrailingMask(value, emptyMask) {
|
|
24
|
-
var {
|
|
25
|
-
length
|
|
26
|
-
} = value;
|
|
27
|
-
for (var i = value.length - 1; i >= 0; i -= 1) {
|
|
28
|
-
if (emptyMask[i] === value[i]) {
|
|
29
|
-
length = i;
|
|
30
|
-
} else {
|
|
31
|
-
break;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
return value.substring(0, length);
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=MaskedInputUtils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MaskedInputUtils.js","names":["DEFAULT_GET_PREFERRED_REPLACEMENT_STRING","value","replaceIndex","newChar","substring","fillToLength","checkValue","exampleValue","length","trimTrailingMask","emptyMask","i"],"sources":["../src/MaskedInputUtils.ts"],"sourcesContent":["/* eslint-disable import/prefer-default-export */\nexport function DEFAULT_GET_PREFERRED_REPLACEMENT_STRING(\n value: string,\n replaceIndex: number,\n newChar: string\n): string {\n return (\n value.substring(0, replaceIndex) +\n newChar +\n value.substring(replaceIndex + 1)\n );\n}\n\n/**\n * Fill the string on the right side with the example value to the given length\n * @param checkValue Initial string to pad\n * @param exampleValue Example value\n * @param length Target length\n * @returns String padded with the given example value\n */\nexport function fillToLength(\n checkValue: string,\n exampleValue: string,\n length: number\n): string {\n return checkValue.length < length\n ? `${checkValue}${exampleValue.substring(checkValue.length, length)}`\n : checkValue;\n}\n\n/**\n * Trim all characters matching the empty mask on the right side of the given value\n * @param value String to trim\n * @param emptyMask Empty mask\n * @returns Trimmed string\n */\nexport function trimTrailingMask(value: string, emptyMask: string): string {\n let { length } = value;\n for (let i = value.length - 1; i >= 0; i -= 1) {\n if (emptyMask[i] === value[i]) {\n length = i;\n } else {\n break;\n }\n }\n return value.substring(0, length);\n}\n"],"mappings":"AAAA;AACA,OAAO,SAASA,wCAAwC,CACtDC,KAAa,EACbC,YAAoB,EACpBC,OAAe,EACP;EACR,OACEF,KAAK,CAACG,SAAS,CAAC,CAAC,EAAEF,YAAY,CAAC,GAChCC,OAAO,GACPF,KAAK,CAACG,SAAS,CAACF,YAAY,GAAG,CAAC,CAAC;AAErC;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASG,YAAY,CAC1BC,UAAkB,EAClBC,YAAoB,EACpBC,MAAc,EACN;EACR,OAAOF,UAAU,CAACE,MAAM,GAAGA,MAAM,aAC1BF,UAAU,SAAGC,YAAY,CAACH,SAAS,CAACE,UAAU,CAACE,MAAM,EAAEA,MAAM,CAAC,IACjEF,UAAU;AAChB;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASG,gBAAgB,CAACR,KAAa,EAAES,SAAiB,EAAU;EACzE,IAAI;IAAEF;EAAO,CAAC,GAAGP,KAAK;EACtB,KAAK,IAAIU,CAAC,GAAGV,KAAK,CAACO,MAAM,GAAG,CAAC,EAAEG,CAAC,IAAI,CAAC,EAAEA,CAAC,IAAI,CAAC,EAAE;IAC7C,IAAID,SAAS,CAACC,CAAC,CAAC,KAAKV,KAAK,CAACU,CAAC,CAAC,EAAE;MAC7BH,MAAM,GAAGG,CAAC;IACZ,CAAC,MAAM;MACL;IACF;EACF;EACA,OAAOV,KAAK,CAACG,SAAS,CAAC,CAAC,EAAEI,MAAM,CAAC;AACnC"}
|