@ntbjs/react-components 2.0.0-rc.26 → 2.0.0-rc.27
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/build/{ActionButton-03dc5f67.js → ActionButton-4db754c3.js} +17 -24
- package/build/{Alert-8a511bdc.js → Alert-e6847a22.js} +29 -36
- package/build/{Badge-aa4cd9c1.js → Badge-d93586a9.js} +35 -42
- package/build/{Button-2e26f5da.js → Button-179a2fe4.js} +83 -90
- package/build/{Checkbox-0b8faf49.js → Checkbox-4a5fd716.js} +45 -52
- package/build/{CompactAutocompleteSelect-797778cb.js → CompactAutocompleteSelect-52c49513.js} +116 -125
- package/build/{CompactStarRating-da21b53f.js → CompactStarRating-9af2f427.js} +76 -101
- package/build/{CompactTextInput-d56aec71.js → CompactTextInput-42ca5d42.js} +104 -129
- package/build/InputGroup-1294d190.js +23 -0
- package/build/{MultiLevelCheckboxSelect-d229cf98.js → MultiLevelCheckboxSelect-d8044c88.js} +139 -167
- package/build/{MultiSelect-d7920eb1.js → MultiSelect-9f497e62.js} +81 -90
- package/build/{Popover-c4be47ea.js → Popover-20050b91.js} +35 -44
- package/build/{Radio-150fb2c9.js → Radio-73ca3ae2.js} +28 -35
- package/build/SectionSeparator-f47760a2.js +31 -0
- package/build/{Switch-d2d6e9ec.js → Switch-ecf3122b.js} +35 -42
- package/build/Tab-04d435c3.js +32 -0
- package/build/{Tabs-b06c0e24.js → Tabs-74d1ea8a.js} +37 -44
- package/build/{TextArea-26d3c8a1.js → TextArea-1e5b9201.js} +105 -113
- package/build/{TextInput-3a567daa.js → TextInput-fab35842.js} +78 -86
- package/build/Tooltip-c1d1199e.js +65 -0
- package/build/{VerificationStatusIcon-9876b68f.js → VerificationStatusIcon-49cb1c1b.js} +19 -44
- package/build/{_rollupPluginBabelHelpers-4b342fad.js → _rollupPluginBabelHelpers-c245b26a.js} +1 -3
- package/build/arrow-forward-ad12c5f3.js +15 -0
- package/build/close-a5d37608.js +15 -0
- package/build/data/Alert/index.js +6 -12
- package/build/data/Badge/index.js +5 -11
- package/build/data/Popover/index.js +10 -16
- package/build/data/Tab/index.js +5 -11
- package/build/data/Tabs/index.js +7 -13
- package/build/data/Tooltip/index.js +7 -13
- package/build/data/index.js +16 -30
- package/build/{defaultTheme-d9a7342e.js → defaultTheme-1bcc2541.js} +3 -7
- package/build/edit-note-283a0e15.js +15 -0
- package/build/expand-more-c5523c46.js +15 -0
- package/build/inputs/ActionButton/index.js +6 -12
- package/build/inputs/Button/index.js +13 -19
- package/build/inputs/Checkbox/index.js +6 -12
- package/build/inputs/CompactAutocompleteSelect/index.js +23 -29
- package/build/inputs/CompactStarRating/index.js +17 -23
- package/build/inputs/CompactTextInput/index.js +19 -25
- package/build/inputs/MultiLevelCheckboxSelect/MultiLevelCheckboxSelect.js +26 -0
- package/build/inputs/MultiSelect/index.js +10 -16
- package/build/inputs/Radio/index.js +7 -13
- package/build/inputs/Switch/index.js +6 -12
- package/build/inputs/TextArea/index.js +20 -26
- package/build/inputs/TextInput/index.js +9 -15
- package/build/inputs/index.js +40 -60
- package/build/layout/InputGroup/index.js +5 -11
- package/build/layout/SectionSeparator/index.js +5 -11
- package/build/layout/index.js +6 -15
- package/build/{shift-away-subtle-158617af.js → shift-away-subtle-0dd94a03.js} +3 -5
- package/build/ssr/index.js +1 -12
- package/build/warning-circle-24f3efcd.js +15 -0
- package/build/{AssetAction-d081e4b7.js → widgets/AssetGallery/AssetGallery.js} +601 -622
- package/build/widgets/AssetPreview/AssetPreviewTopBar/AssetPreviewTopBar.js +127 -0
- package/build/widgets/ContextMenu/ContextMenu.js +26 -0
- package/build/{ContextMenuItem-3967010d.js → widgets/ContextMenu/ContextMenuItem/ContextMenuItem.js} +23 -48
- package/build/widgets/ContextMenu/ContextMenuItemsGroup/ContextMenuItemsGroup.js +37 -0
- package/build/{InfoCard-d0fdf377.js → widgets/InfoCard/InfoCard.js} +27 -34
- package/build/widgets/Instructions/Instructions.js +255 -0
- package/build/{ProgressBar-2d26c1fb.js → widgets/ProgressBar/ProgressBar.js} +39 -46
- package/package.json +1 -1
- package/build/AssetPreviewTopBar-623cfa18.js +0 -152
- package/build/ContextMenu-82f9d728.js +0 -33
- package/build/InputGroup-8d4a4644.js +0 -30
- package/build/Instructions-af191987.js +0 -274
- package/build/SectionSeparator-e06c7660.js +0 -38
- package/build/Tab-ccbca1f2.js +0 -39
- package/build/Tooltip-d5882b82.js +0 -73
- package/build/arrow-forward-d7c77ae3.js +0 -37
- package/build/close-1751121a.js +0 -37
- package/build/edit-note-cefe2215.js +0 -37
- package/build/expand-more-d74e2bd2.js +0 -37
- package/build/widgets/AssetGallery/index.js +0 -55
- package/build/widgets/AssetPreview/AssetPreviewTopBar/index.js +0 -12
- package/build/widgets/ContextMenu/ContextMenuItem/index.js +0 -11
- package/build/widgets/ContextMenu/ContextMenuItemsGroup/index.js +0 -44
- package/build/widgets/ContextMenu/index.js +0 -11
- package/build/widgets/InfoCard/index.js +0 -12
- package/build/widgets/Instructions/index.js +0 -33
- package/build/widgets/ProgressBar/index.js +0 -12
- package/build/widgets/index.js +0 -65
package/build/inputs/index.js
CHANGED
|
@@ -1,60 +1,40 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
require('@restart/hooks/useMergedRefs');
|
|
42
|
-
require('../InputGroup-8d4a4644.js');
|
|
43
|
-
require('../SectionSeparator-e06c7660.js');
|
|
44
|
-
require('@restart/hooks/useUpdateEffect');
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
exports.ActionButton = ActionButton.ActionButton;
|
|
49
|
-
exports.Button = Button.Button;
|
|
50
|
-
exports.Checkbox = Checkbox.Checkbox;
|
|
51
|
-
exports.CompactAutocompleteSelect = CompactAutocompleteSelect.CompactAutocompleteSelect;
|
|
52
|
-
exports.CompactStarRating = CompactStarRating.CompactStarRating;
|
|
53
|
-
exports.CompactTextInput = CompactTextInput.CompactTextInput;
|
|
54
|
-
exports.MultiSelect = MultiSelect.MultiSelect;
|
|
55
|
-
exports.Radio = Radio.Radio;
|
|
56
|
-
exports.TextArea = TextArea.TextArea;
|
|
57
|
-
exports.TextInput = TextInput.TextInput;
|
|
58
|
-
exports.Switch = Switch.Switch;
|
|
59
|
-
exports.MultiLevelCheckbox = MultiLevelCheckboxSelect.MultiLevelCheckbox;
|
|
60
|
-
exports.MultiLevelCheckboxSelect = MultiLevelCheckboxSelect.MultiLevelCheckboxSelect;
|
|
1
|
+
export { A as ActionButton } from '../ActionButton-4db754c3.js';
|
|
2
|
+
export { B as Button } from '../Button-179a2fe4.js';
|
|
3
|
+
export { C as Checkbox } from '../Checkbox-4a5fd716.js';
|
|
4
|
+
export { C as CompactAutocompleteSelect } from '../CompactAutocompleteSelect-52c49513.js';
|
|
5
|
+
export { C as CompactStarRating } from '../CompactStarRating-9af2f427.js';
|
|
6
|
+
export { C as CompactTextInput } from '../CompactTextInput-42ca5d42.js';
|
|
7
|
+
export { M as MultiSelect } from '../MultiSelect-9f497e62.js';
|
|
8
|
+
export { R as Radio } from '../Radio-73ca3ae2.js';
|
|
9
|
+
export { T as TextArea } from '../TextArea-1e5b9201.js';
|
|
10
|
+
export { T as TextInput } from '../TextInput-fab35842.js';
|
|
11
|
+
export { S as Switch } from '../Switch-ecf3122b.js';
|
|
12
|
+
export { M as MultiLevelCheckbox, a as MultiLevelCheckboxSelect } from '../MultiLevelCheckboxSelect-d8044c88.js';
|
|
13
|
+
import '../_rollupPluginBabelHelpers-c245b26a.js';
|
|
14
|
+
import 'react';
|
|
15
|
+
import '../defaultTheme-1bcc2541.js';
|
|
16
|
+
import 'styled-components';
|
|
17
|
+
import 'polished';
|
|
18
|
+
import '../Popover-20050b91.js';
|
|
19
|
+
import 'lodash';
|
|
20
|
+
import '@tippyjs/react';
|
|
21
|
+
import '../shift-away-subtle-0dd94a03.js';
|
|
22
|
+
import 'popper-max-size-modifier';
|
|
23
|
+
import '../widgets/ContextMenu/ContextMenu.js';
|
|
24
|
+
import '../expand-more-c5523c46.js';
|
|
25
|
+
import 'nanoid';
|
|
26
|
+
import '../Alert-e6847a22.js';
|
|
27
|
+
import '../Badge-d93586a9.js';
|
|
28
|
+
import '../Tab-04d435c3.js';
|
|
29
|
+
import '../Tabs-74d1ea8a.js';
|
|
30
|
+
import '../Tooltip-c1d1199e.js';
|
|
31
|
+
import '../VerificationStatusIcon-49cb1c1b.js';
|
|
32
|
+
import 'react-select';
|
|
33
|
+
import 'react-select-async-paginate';
|
|
34
|
+
import 'react-select/creatable';
|
|
35
|
+
import '../close-a5d37608.js';
|
|
36
|
+
import '../edit-note-283a0e15.js';
|
|
37
|
+
import '@restart/hooks/useMergedRefs';
|
|
38
|
+
import '../InputGroup-1294d190.js';
|
|
39
|
+
import '../SectionSeparator-f47760a2.js';
|
|
40
|
+
import '@restart/hooks/useUpdateEffect';
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
require('../../defaultTheme-d9a7342e.js');
|
|
7
|
-
require('styled-components');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
module.exports = InputGroup.InputGroup;
|
|
1
|
+
export { I as default } from '../../InputGroup-1294d190.js';
|
|
2
|
+
import '../../_rollupPluginBabelHelpers-c245b26a.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '../../defaultTheme-1bcc2541.js';
|
|
5
|
+
import 'styled-components';
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
require('../../defaultTheme-d9a7342e.js');
|
|
7
|
-
require('styled-components');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
module.exports = SectionSeparator.SectionSeparator;
|
|
1
|
+
export { S as default } from '../../SectionSeparator-f47760a2.js';
|
|
2
|
+
import '../../_rollupPluginBabelHelpers-c245b26a.js';
|
|
3
|
+
import 'react';
|
|
4
|
+
import '../../defaultTheme-1bcc2541.js';
|
|
5
|
+
import 'styled-components';
|
package/build/layout/index.js
CHANGED
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
require('../_rollupPluginBabelHelpers-4b342fad.js');
|
|
8
|
-
require('react');
|
|
9
|
-
require('../defaultTheme-d9a7342e.js');
|
|
10
|
-
require('styled-components');
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
exports.InputGroup = InputGroup.InputGroup;
|
|
15
|
-
exports.SectionSeparator = SectionSeparator.SectionSeparator;
|
|
1
|
+
export { I as InputGroup } from '../InputGroup-1294d190.js';
|
|
2
|
+
export { S as SectionSeparator } from '../SectionSeparator-f47760a2.js';
|
|
3
|
+
import '../_rollupPluginBabelHelpers-c245b26a.js';
|
|
4
|
+
import 'react';
|
|
5
|
+
import '../defaultTheme-1bcc2541.js';
|
|
6
|
+
import 'styled-components';
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var defaultTheme = require('./defaultTheme-d9a7342e.js');
|
|
1
|
+
import { s as styleInject } from './defaultTheme-1bcc2541.js';
|
|
4
2
|
|
|
5
3
|
var css_248z$1 = ".tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:\"\";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}";
|
|
6
|
-
|
|
4
|
+
styleInject(css_248z$1);
|
|
7
5
|
|
|
8
6
|
var css_248z = ".tippy-box[data-animation=shift-away-subtle][data-state=hidden]{opacity:0}.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=top]{transform:translateY(5px)}.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=bottom]{transform:translateY(-5px)}.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=left]{transform:translateX(5px)}.tippy-box[data-animation=shift-away-subtle][data-state=hidden][data-placement^=right]{transform:translateX(-5px)}";
|
|
9
|
-
|
|
7
|
+
styleInject(css_248z);
|
package/build/ssr/index.js
CHANGED
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var styled = require('styled-components');
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Object.defineProperty(exports, 'ServerStyleSheet', {
|
|
10
|
-
enumerable: true,
|
|
11
|
-
get: function () { return styled.ServerStyleSheet; }
|
|
12
|
-
});
|
|
1
|
+
export { ServerStyleSheet } from 'styled-components';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
|
|
3
|
+
var _path;
|
|
4
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
5
|
+
function SvgWarningCircle(props) {
|
|
6
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
7
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
8
|
+
viewBox: "0 0 24 24"
|
|
9
|
+
}, props), _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
d: "M10.8 15.6h2.4V18h-2.4zm0-9.6h2.4v7.2h-2.4zm1.188-6A12 12 0 1024 12 11.994 11.994 0 0011.988 0zM12 21.6a9.6 9.6 0 119.6-9.6 9.597 9.597 0 01-9.6 9.6z"
|
|
12
|
+
})));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { SvgWarningCircle as S };
|