td-stylekit 28.18.0 → 28.20.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/CHANGELOG.md +14 -0
- package/dist/es/DataGrid/elements.d.ts +2 -2
- package/dist/es/DateControl/elements.d.ts +1 -1
- package/dist/es/Icon/staticTypes.d.ts +6 -0
- package/dist/es/Icon/types.js +13 -0
- package/dist/es/Input/Input.d.ts +1 -1
- package/dist/es/Input/Input.js +6 -6
- package/dist/es/Modal/components/MenuBody.js +10 -9
- package/dist/es/MultiSelect/MultiSelect.js +4 -0
- package/dist/es/MultiSelect/elements.d.ts +1 -1
- package/dist/es/NavigationBar/LogoItem.js +1 -0
- package/dist/es/Section/elements.d.ts +1 -1
- package/dist/es/Shuttle/Shuttle.js +2 -0
- package/dist/es/Slider/elements.d.ts +2 -2
- package/dist/es/Tagger/Tagger.d.ts +1 -1
- package/dist/es/Tagger/components/PopupSelectorElements.d.ts +3 -3
- package/dist/es/Tagger/components/PopupSelectorElements.js +17 -11
- package/dist/es/Tagger/variantProps.d.ts +1 -1
- package/dist/es/TimeControl/elements.d.ts +1 -1
- package/dist/es/TimeField/TimeField.d.ts +1 -1
- package/package.json +5 -7
- package/dist/es/utils/enzyme.d.ts +0 -3
- package/dist/es/utils/enzyme.js +0 -56
|
@@ -8,7 +8,7 @@ export type TimeFieldProps = Omit<FormFieldProps<'text'>, 'type' | 'value'> & {
|
|
|
8
8
|
export declare const TimeField: ({ error, name, value, ...props }: TimeFieldProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
9
9
|
declare const _default: import("react").FC<Pick<Omit<FormFieldProps<"text">, "value" | "type"> & {
|
|
10
10
|
value: string;
|
|
11
|
-
}, "value" | "form" | "label" | "style" | "title" | "pattern" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "readOnly" | "checked" | "error" | "required" | "invalid" | "height" | "width" | "wrap" | "inline" | "name" | "data-instrumentation" | "getRef" | "rows" | "size" | "max" | "min" | "crossOrigin" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "data-gs-c" | "list" | "
|
|
11
|
+
}, "value" | "form" | "label" | "style" | "title" | "pattern" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "disabled" | "readOnly" | "checked" | "error" | "required" | "invalid" | "height" | "width" | "wrap" | "inline" | "name" | "data-instrumentation" | "getRef" | "rows" | "size" | "max" | "min" | "crossOrigin" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "step" | "data-gs-c" | "list" | "tooltip" | "multiple" | "accept" | "alt" | "autoComplete" | "capture" | "maxLength" | "minLength" | "src" | "showAddOnInTooltip" | "showFullError" | "showFullHint" | "hint" | "hintNode" | "truncateErrors" | "hideAddOn" | "variant" | "cols" | "dirName" | "inputRef" | "isClearable" | "addOnClassName" | "tooltipClassName" | "valueCanBeNull"> & {
|
|
12
12
|
theme?: import("@emotion/react").Theme | undefined;
|
|
13
13
|
}>;
|
|
14
14
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "td-stylekit",
|
|
3
|
-
"version": "28.
|
|
3
|
+
"version": "28.20.0",
|
|
4
4
|
"main": "dist/es/index.js",
|
|
5
5
|
"module": "dist/es/index.js",
|
|
6
6
|
"types": "dist/es/index.d.ts",
|
|
@@ -164,12 +164,9 @@
|
|
|
164
164
|
"core-js": "^3.2.1",
|
|
165
165
|
"cross-env": "^6.0.3",
|
|
166
166
|
"danger": "^9.2.1",
|
|
167
|
-
"dependency-cruiser": "^
|
|
167
|
+
"dependency-cruiser": "^12.11.0",
|
|
168
168
|
"differencify": "^1.5.5",
|
|
169
169
|
"empty": "^0.10.1",
|
|
170
|
-
"enzyme": "^3.10.0",
|
|
171
|
-
"enzyme-adapter-react-16": "^1.14.0",
|
|
172
|
-
"enzyme-to-json": "^3.4.2",
|
|
173
170
|
"eslint": "^6.5.1",
|
|
174
171
|
"eslint-config-prettier": "^6.4.0",
|
|
175
172
|
"eslint-config-standard": "^14.1.0",
|
|
@@ -218,7 +215,7 @@
|
|
|
218
215
|
"svgo": "^1.3.0",
|
|
219
216
|
"ts-node": "^10.9.1",
|
|
220
217
|
"tslib": "^2.3.1",
|
|
221
|
-
"typescript": "^
|
|
218
|
+
"typescript": "^5.0.2"
|
|
222
219
|
},
|
|
223
220
|
"peerDependencies": {
|
|
224
221
|
"moment": "^2.18.1",
|
|
@@ -231,7 +228,8 @@
|
|
|
231
228
|
"dot-prop": "^4.2.1",
|
|
232
229
|
"react": "16.14.0",
|
|
233
230
|
"react-dom": "16.14.0",
|
|
234
|
-
"shelljs": "^0.8.4"
|
|
231
|
+
"shelljs": "^0.8.4",
|
|
232
|
+
"@storybook/react-docgen-typescript-plugin": "1.0.6--canary.9.cd77847.0"
|
|
235
233
|
},
|
|
236
234
|
"packageManager": "yarn@3.2.0"
|
|
237
235
|
}
|
package/dist/es/utils/enzyme.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.mountWithV5Theme = exports.mountWithTheme = void 0;
|
|
7
|
-
|
|
8
|
-
var _react = require("@emotion/react");
|
|
9
|
-
|
|
10
|
-
var _enzyme = require("enzyme");
|
|
11
|
-
|
|
12
|
-
var _src = require("../../src");
|
|
13
|
-
|
|
14
|
-
var _jsxRuntime = require("@emotion/react/jsx-runtime");
|
|
15
|
-
|
|
16
|
-
if (typeof window !== "undefined" && !window.gs) window.gs = function () {};
|
|
17
|
-
if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
18
|
-
|
|
19
|
-
var ThemeProviderWrapper = function ThemeProviderWrapper(_ref) {
|
|
20
|
-
var children = _ref.children;
|
|
21
|
-
return (// types for v4 overrides are not correct
|
|
22
|
-
// @ts-ignore
|
|
23
|
-
(0, _jsxRuntime.jsx)(_react.ThemeProvider, {
|
|
24
|
-
"data-gs-c": gsC(children),
|
|
25
|
-
"data-gs": gs("src", "utils", "enzyme.tsx", "emotion-theme-provider"),
|
|
26
|
-
theme: _src.ThemeProvider.v4Theme,
|
|
27
|
-
children: children
|
|
28
|
-
})
|
|
29
|
-
);
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
var ThemeProviderWrapperV5 = function ThemeProviderWrapperV5(_ref2) {
|
|
33
|
-
var children = _ref2.children;
|
|
34
|
-
return (0, _jsxRuntime.jsx)(_react.ThemeProvider, {
|
|
35
|
-
"data-gs-c": gsC(children),
|
|
36
|
-
"data-gs": gs("src", "utils", "enzyme.tsx", "emotion-theme-provider"),
|
|
37
|
-
theme: _src.ThemeProvider.v5Theme,
|
|
38
|
-
children: children
|
|
39
|
-
});
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
var mountWithTheme = function mountWithTheme(tree) {
|
|
43
|
-
return (0, _enzyme.mount)(tree, {
|
|
44
|
-
wrappingComponent: ThemeProviderWrapper
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
exports.mountWithTheme = mountWithTheme;
|
|
49
|
-
|
|
50
|
-
var mountWithV5Theme = function mountWithV5Theme(tree) {
|
|
51
|
-
return (0, _enzyme.mount)(tree, {
|
|
52
|
-
wrappingComponent: ThemeProviderWrapperV5
|
|
53
|
-
});
|
|
54
|
-
};
|
|
55
|
-
|
|
56
|
-
exports.mountWithV5Theme = mountWithV5Theme;
|