@ntbjs/react-components 1.1.0-beta.4 → 1.1.0-beta.40
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/Alert-fcc0bb50.js +62 -0
- package/{AssetGallery-3696cf3c.js → AssetGallery-f082c487.js} +17 -29
- package/{AssetPreviewTopBar-777c726a.js → AssetPreviewTopBar-020a6f96.js} +1 -1
- package/{AutocompleteSelect-46dbe1eb.js → AutocompleteSelect-8ebb82de.js} +21 -11
- package/{Badge-86593df4.js → Badge-34ad2850.js} +1 -1
- package/{Button-01371eb4.js → Button-32e38cc9.js} +2 -2
- package/{CompactStarRating-f9997240.js → CompactStarRating-f05e7414.js} +43 -30
- package/{CompactTextInput-15118df5.js → CompactTextInput-04cc82f6.js} +7 -6
- package/{ContextMenu-a68d4f28.js → ContextMenu-59c2a64f.js} +1 -1
- package/Instructions-8fc0fc8c.js +235 -0
- package/{MultiSelect-1568f6e9.js → MultiSelect-873f707d.js} +6 -2
- package/{Popover-616682bf.js → Popover-de874e41.js} +1 -6
- package/{Tab-06b7a58d.js → Tab-075c8c0a.js} +1 -1
- package/{Tabs-cfbf45fe.js → Tabs-6584e003.js} +2 -2
- package/{TextArea-8a0bd754.js → TextArea-af6a812d.js} +4 -4
- package/{Tooltip-860530ff.js → Tooltip-e7f59097.js} +12 -10
- package/data/Alert/index.js +10 -0
- package/data/Badge/index.js +1 -1
- package/data/Popover/index.js +2 -1
- package/data/Tab/index.js +1 -1
- package/data/Tabs/index.js +2 -2
- package/data/Tooltip/index.js +12 -0
- package/data/index.js +10 -7
- package/inputs/AutocompleteSelect/index.js +2 -2
- package/inputs/Button/index.js +4 -3
- package/inputs/CompactStarRating/index.js +1 -1
- package/inputs/CompactTextInput/index.js +8 -6
- package/inputs/MultiSelect/index.js +2 -2
- package/inputs/TextArea/index.js +1 -1
- package/inputs/index.js +15 -13
- package/package.json +2 -2
- package/{react-select-creatable.esm-efe1e1ae.js → react-select-creatable.esm-eb462367.js} +14 -8
- package/shift-away-subtle-0bdd3b0d.js +9 -0
- package/warning-circle-24522402.js +41 -0
- package/widgets/AssetGallery/index.js +17 -14
- package/widgets/AssetPreview/AssetPreviewTopBar/index.js +1 -1
- package/widgets/ContextMenu/ContextMenuItem/index.js +1 -3
- package/widgets/ContextMenu/index.js +1 -1
- package/widgets/Instructions/index.js +22 -0
- package/widgets/index.js +20 -15
package/inputs/index.js
CHANGED
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var ActionButton = require('../ActionButton-90485300.js');
|
|
6
|
-
var AutocompleteSelect = require('../AutocompleteSelect-
|
|
7
|
-
var Button = require('../Button-
|
|
6
|
+
var AutocompleteSelect = require('../AutocompleteSelect-8ebb82de.js');
|
|
7
|
+
var Button = require('../Button-32e38cc9.js');
|
|
8
8
|
var Checkbox = require('../Checkbox-50f1f3c7.js');
|
|
9
|
-
var CompactStarRating = require('../CompactStarRating-
|
|
10
|
-
var CompactTextInput = require('../CompactTextInput-
|
|
11
|
-
var MultiSelect = require('../MultiSelect-
|
|
9
|
+
var CompactStarRating = require('../CompactStarRating-f05e7414.js');
|
|
10
|
+
var CompactTextInput = require('../CompactTextInput-04cc82f6.js');
|
|
11
|
+
var MultiSelect = require('../MultiSelect-873f707d.js');
|
|
12
12
|
var Radio = require('../Radio-0b46b2a8.js');
|
|
13
|
-
var TextArea = require('../TextArea-
|
|
13
|
+
var TextArea = require('../TextArea-af6a812d.js');
|
|
14
14
|
var TextInput = require('../TextInput-e4c6d536.js');
|
|
15
15
|
var Switch = require('../Switch-aa384260.js');
|
|
16
16
|
require('../defaultTheme-870f7df1.js');
|
|
@@ -19,20 +19,22 @@ require('react');
|
|
|
19
19
|
require('nanoid');
|
|
20
20
|
require('lodash');
|
|
21
21
|
require('react-select');
|
|
22
|
-
require('../react-select-creatable.esm-
|
|
22
|
+
require('../react-select-creatable.esm-eb462367.js');
|
|
23
23
|
require('react-dom');
|
|
24
24
|
require('react-select-async-paginate');
|
|
25
25
|
require('../close-ebf2f3cf.js');
|
|
26
26
|
require('../expand-more-94585605.js');
|
|
27
|
-
require('../Popover-
|
|
27
|
+
require('../Popover-de874e41.js');
|
|
28
28
|
require('polished');
|
|
29
29
|
require('@tippyjs/react');
|
|
30
|
-
require('../
|
|
30
|
+
require('../shift-away-subtle-0bdd3b0d.js');
|
|
31
|
+
require('../ContextMenu-59c2a64f.js');
|
|
31
32
|
require('../edit-note-c47d292e.js');
|
|
32
|
-
require('../
|
|
33
|
-
require('../
|
|
34
|
-
require('../
|
|
35
|
-
require('../
|
|
33
|
+
require('../Alert-fcc0bb50.js');
|
|
34
|
+
require('../Badge-34ad2850.js');
|
|
35
|
+
require('../Tab-075c8c0a.js');
|
|
36
|
+
require('../Tabs-6584e003.js');
|
|
37
|
+
require('../Tooltip-e7f59097.js');
|
|
36
38
|
|
|
37
39
|
|
|
38
40
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ntbjs/react-components",
|
|
3
|
-
"version": "1.1.0-beta.
|
|
3
|
+
"version": "1.1.0-beta.40",
|
|
4
4
|
"description": "NTBs common front-end design utilities and React components.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "cross-env NODE_ENV=production rollup -c",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"@restart/hooks": "^0.3.26",
|
|
75
75
|
"@storybook/addons": "^6.5.14",
|
|
76
76
|
"@storybook/theming": "^6.5.14",
|
|
77
|
-
"@tippyjs/react": "^4.2.
|
|
77
|
+
"@tippyjs/react": "^4.2.6",
|
|
78
78
|
"lodash": "^4.17.21",
|
|
79
79
|
"nanoid": "^3.1.25",
|
|
80
80
|
"polished": "^4.1.3",
|
|
@@ -3201,18 +3201,21 @@ function getNearestOverflowAncestor(node) {
|
|
|
3201
3201
|
}
|
|
3202
3202
|
return getNearestOverflowAncestor(parentNode);
|
|
3203
3203
|
}
|
|
3204
|
-
function getOverflowAncestors(node, list) {
|
|
3204
|
+
function getOverflowAncestors(node, list, traverseIframes) {
|
|
3205
3205
|
var _node$ownerDocument2;
|
|
3206
3206
|
if (list === void 0) {
|
|
3207
3207
|
list = [];
|
|
3208
3208
|
}
|
|
3209
|
+
if (traverseIframes === void 0) {
|
|
3210
|
+
traverseIframes = true;
|
|
3211
|
+
}
|
|
3209
3212
|
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
3210
3213
|
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
3211
3214
|
const win = getWindow(scrollableAncestor);
|
|
3212
3215
|
if (isBody) {
|
|
3213
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement ? getOverflowAncestors(win.frameElement) : []);
|
|
3216
|
+
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement && traverseIframes ? getOverflowAncestors(win.frameElement) : []);
|
|
3214
3217
|
}
|
|
3215
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));
|
|
3218
|
+
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
3216
3219
|
}
|
|
3217
3220
|
|
|
3218
3221
|
function getCssDimensions(element) {
|
|
@@ -4497,7 +4500,9 @@ var Control = function Control(props) {
|
|
|
4497
4500
|
'control--is-disabled': isDisabled,
|
|
4498
4501
|
'control--is-focused': isFocused,
|
|
4499
4502
|
'control--menu-is-open': menuIsOpen
|
|
4500
|
-
}), innerProps
|
|
4503
|
+
}), innerProps, {
|
|
4504
|
+
"aria-disabled": isDisabled || undefined
|
|
4505
|
+
}), children);
|
|
4501
4506
|
};
|
|
4502
4507
|
var Control$1 = Control;
|
|
4503
4508
|
|
|
@@ -5459,7 +5464,7 @@ function DummyInput(_ref) {
|
|
|
5459
5464
|
}
|
|
5460
5465
|
|
|
5461
5466
|
var cancelScroll = function cancelScroll(event) {
|
|
5462
|
-
event.preventDefault();
|
|
5467
|
+
if (event.cancelable) event.preventDefault();
|
|
5463
5468
|
event.stopPropagation();
|
|
5464
5469
|
};
|
|
5465
5470
|
function useScrollCapture(_ref) {
|
|
@@ -5684,8 +5689,9 @@ function useScrollLock(_ref) {
|
|
|
5684
5689
|
}
|
|
5685
5690
|
|
|
5686
5691
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$1() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
5687
|
-
var blurSelectInput = function blurSelectInput() {
|
|
5688
|
-
|
|
5692
|
+
var blurSelectInput = function blurSelectInput(event) {
|
|
5693
|
+
var element = event.target;
|
|
5694
|
+
return element.ownerDocument.activeElement && element.ownerDocument.activeElement.blur();
|
|
5689
5695
|
};
|
|
5690
5696
|
var _ref2$1 = process.env.NODE_ENV === "production" ? {
|
|
5691
5697
|
name: "1kfdb0e",
|
|
@@ -5693,7 +5699,7 @@ var _ref2$1 = process.env.NODE_ENV === "production" ? {
|
|
|
5693
5699
|
} : {
|
|
5694
5700
|
name: "bp8cua-ScrollManager",
|
|
5695
5701
|
styles: "position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",
|
|
5696
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
5702
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1w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PlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",
|
|
5697
5703
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
|
|
5698
5704
|
};
|
|
5699
5705
|
function ScrollManager(_ref) {
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var defaultTheme = require('./defaultTheme-870f7df1.js');
|
|
4
|
+
|
|
5
|
+
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
|
+
defaultTheme.styleInject(css_248z$1);
|
|
7
|
+
|
|
8
|
+
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
|
+
defaultTheme.styleInject(css_248z);
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var React = require('react');
|
|
4
|
+
|
|
5
|
+
function _interopNamespace(e) {
|
|
6
|
+
if (e && e.__esModule) return e;
|
|
7
|
+
var n = Object.create(null);
|
|
8
|
+
if (e) {
|
|
9
|
+
Object.keys(e).forEach(function (k) {
|
|
10
|
+
if (k !== 'default') {
|
|
11
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
12
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () {
|
|
15
|
+
return e[k];
|
|
16
|
+
}
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n['default'] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
26
|
+
|
|
27
|
+
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
28
|
+
|
|
29
|
+
var _ref = /*#__PURE__*/React__namespace.createElement("path", {
|
|
30
|
+
fill: "currentColor",
|
|
31
|
+
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"
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
function SvgWarningCircle(props) {
|
|
35
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
36
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
37
|
+
viewBox: "0 0 24 24"
|
|
38
|
+
}, props), _ref);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.SvgWarningCircle = SvgWarningCircle;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var AssetGallery = require('../../AssetGallery-
|
|
3
|
+
var AssetGallery = require('../../AssetGallery-f082c487.js');
|
|
4
4
|
require('../../defaultTheme-870f7df1.js');
|
|
5
5
|
require('styled-components');
|
|
6
6
|
require('react');
|
|
@@ -11,29 +11,32 @@ require('../../edit-note-c47d292e.js');
|
|
|
11
11
|
require('resize-observer-polyfill');
|
|
12
12
|
require('react-lazy-load-image-component');
|
|
13
13
|
require('../../ActionButton-90485300.js');
|
|
14
|
-
require('../../AutocompleteSelect-
|
|
14
|
+
require('../../AutocompleteSelect-8ebb82de.js');
|
|
15
15
|
require('react-select');
|
|
16
|
-
require('../../react-select-creatable.esm-
|
|
16
|
+
require('../../react-select-creatable.esm-eb462367.js');
|
|
17
17
|
require('react-dom');
|
|
18
18
|
require('react-select-async-paginate');
|
|
19
19
|
require('../../close-ebf2f3cf.js');
|
|
20
20
|
require('../../expand-more-94585605.js');
|
|
21
|
-
require('../../Button-
|
|
22
|
-
require('../../Popover-
|
|
21
|
+
require('../../Button-32e38cc9.js');
|
|
22
|
+
require('../../Popover-de874e41.js');
|
|
23
23
|
require('polished');
|
|
24
24
|
require('@tippyjs/react');
|
|
25
|
-
require('../../
|
|
25
|
+
require('../../shift-away-subtle-0bdd3b0d.js');
|
|
26
|
+
require('../../ContextMenu-59c2a64f.js');
|
|
26
27
|
require('../../Checkbox-50f1f3c7.js');
|
|
27
|
-
require('../../CompactStarRating-
|
|
28
|
-
require('../../CompactTextInput-
|
|
29
|
-
require('../../
|
|
30
|
-
require('../../
|
|
31
|
-
require('../../
|
|
32
|
-
require('../../
|
|
33
|
-
require('../../
|
|
28
|
+
require('../../CompactStarRating-f05e7414.js');
|
|
29
|
+
require('../../CompactTextInput-04cc82f6.js');
|
|
30
|
+
require('../../Alert-fcc0bb50.js');
|
|
31
|
+
require('../../Badge-34ad2850.js');
|
|
32
|
+
require('../../Tab-075c8c0a.js');
|
|
33
|
+
require('../../Tabs-6584e003.js');
|
|
34
|
+
require('../../Tooltip-e7f59097.js');
|
|
35
|
+
require('../../MultiSelect-873f707d.js');
|
|
34
36
|
require('../../Radio-0b46b2a8.js');
|
|
35
|
-
require('../../TextArea-
|
|
37
|
+
require('../../TextArea-af6a812d.js');
|
|
36
38
|
require('../../Switch-aa384260.js');
|
|
39
|
+
require('../../warning-circle-24522402.js');
|
|
37
40
|
|
|
38
41
|
|
|
39
42
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var AssetPreviewTopBar = require('../../../AssetPreviewTopBar-
|
|
3
|
+
var AssetPreviewTopBar = require('../../../AssetPreviewTopBar-020a6f96.js');
|
|
4
4
|
require('../../../defaultTheme-870f7df1.js');
|
|
5
5
|
require('styled-components');
|
|
6
6
|
require('react');
|
|
@@ -31,12 +31,10 @@ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
|
31
31
|
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
32
32
|
|
|
33
33
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6;
|
|
34
|
-
var ContextMenuItem$1 = styled__default['default'].span.attrs(defaultTheme.applyDefaultTheme)(_templateObject || (_templateObject = defaultTheme._taggedTemplateLiteral(["\n align-items: center;\n cursor: pointer;\n display: flex;\n font-family: ", ";\n font-size: 0.875rem;\n font-weight: normal;\n height: 31px;\n min-width: 160px;\n padding: ", ";\n
|
|
34
|
+
var ContextMenuItem$1 = styled__default['default'].span.attrs(defaultTheme.applyDefaultTheme)(_templateObject || (_templateObject = defaultTheme._taggedTemplateLiteral(["\n align-items: center;\n cursor: pointer;\n display: flex;\n font-family: ", ";\n font-size: 0.875rem;\n font-weight: normal;\n height: 31px;\n min-width: 160px;\n padding: ", ";\n\n color: ", "\n\n ", "\n\n ", "\n\n :not(:last-of-type) {\n border-bottom: 1px solid;\n\n ", "\n }\n\n :last-of-type {\n height: 32px;\n }\n\n &:hover {\n cursor: pointer;\n\n ", "\n }\n\n ", "\n\n ", " \n"])), function (props) {
|
|
35
35
|
return props.theme.primaryFontFamily;
|
|
36
36
|
}, function (props) {
|
|
37
37
|
return props.opensSublevel ? '0 8px' : '0 28px 0 8px';
|
|
38
|
-
}, function (props) {
|
|
39
|
-
return props.opensSublevel ? 'calc(100% - 16px)' : 'calc(100% - 36px)';
|
|
40
38
|
}, function (props) {
|
|
41
39
|
return props.theme.themeProp('color', props.theme.getColor('gray-700'), props.theme.getColor('gray-700'));
|
|
42
40
|
}, function (props) {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var Instructions = require('../../Instructions-8fc0fc8c.js');
|
|
4
|
+
require('../../defaultTheme-870f7df1.js');
|
|
5
|
+
require('styled-components');
|
|
6
|
+
require('react');
|
|
7
|
+
require('../../TextArea-af6a812d.js');
|
|
8
|
+
require('nanoid');
|
|
9
|
+
require('lodash');
|
|
10
|
+
require('../../edit-note-c47d292e.js');
|
|
11
|
+
require('../../AutocompleteSelect-8ebb82de.js');
|
|
12
|
+
require('react-select');
|
|
13
|
+
require('../../react-select-creatable.esm-eb462367.js');
|
|
14
|
+
require('react-dom');
|
|
15
|
+
require('react-select-async-paginate');
|
|
16
|
+
require('../../close-ebf2f3cf.js');
|
|
17
|
+
require('../../expand-more-94585605.js');
|
|
18
|
+
require('../../warning-circle-24522402.js');
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
module.exports = Instructions.Instructions;
|
package/widgets/index.js
CHANGED
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var AssetGallery = require('../AssetGallery-
|
|
6
|
-
var ContextMenu = require('../ContextMenu-
|
|
7
|
-
var AssetPreviewTopBar = require('../AssetPreviewTopBar-
|
|
5
|
+
var AssetGallery = require('../AssetGallery-f082c487.js');
|
|
6
|
+
var ContextMenu = require('../ContextMenu-59c2a64f.js');
|
|
7
|
+
var AssetPreviewTopBar = require('../AssetPreviewTopBar-020a6f96.js');
|
|
8
|
+
var Instructions = require('../Instructions-8fc0fc8c.js');
|
|
8
9
|
require('../defaultTheme-870f7df1.js');
|
|
9
10
|
require('styled-components');
|
|
10
11
|
require('react');
|
|
@@ -15,31 +16,35 @@ require('../edit-note-c47d292e.js');
|
|
|
15
16
|
require('resize-observer-polyfill');
|
|
16
17
|
require('react-lazy-load-image-component');
|
|
17
18
|
require('../ActionButton-90485300.js');
|
|
18
|
-
require('../AutocompleteSelect-
|
|
19
|
+
require('../AutocompleteSelect-8ebb82de.js');
|
|
19
20
|
require('react-select');
|
|
20
|
-
require('../react-select-creatable.esm-
|
|
21
|
+
require('../react-select-creatable.esm-eb462367.js');
|
|
21
22
|
require('react-dom');
|
|
22
23
|
require('react-select-async-paginate');
|
|
23
24
|
require('../close-ebf2f3cf.js');
|
|
24
25
|
require('../expand-more-94585605.js');
|
|
25
|
-
require('../Button-
|
|
26
|
-
require('../Popover-
|
|
26
|
+
require('../Button-32e38cc9.js');
|
|
27
|
+
require('../Popover-de874e41.js');
|
|
27
28
|
require('polished');
|
|
28
29
|
require('@tippyjs/react');
|
|
30
|
+
require('../shift-away-subtle-0bdd3b0d.js');
|
|
29
31
|
require('../Checkbox-50f1f3c7.js');
|
|
30
|
-
require('../CompactStarRating-
|
|
31
|
-
require('../CompactTextInput-
|
|
32
|
-
require('../
|
|
33
|
-
require('../
|
|
34
|
-
require('../
|
|
35
|
-
require('../
|
|
36
|
-
require('../
|
|
32
|
+
require('../CompactStarRating-f05e7414.js');
|
|
33
|
+
require('../CompactTextInput-04cc82f6.js');
|
|
34
|
+
require('../Alert-fcc0bb50.js');
|
|
35
|
+
require('../Badge-34ad2850.js');
|
|
36
|
+
require('../Tab-075c8c0a.js');
|
|
37
|
+
require('../Tabs-6584e003.js');
|
|
38
|
+
require('../Tooltip-e7f59097.js');
|
|
39
|
+
require('../MultiSelect-873f707d.js');
|
|
37
40
|
require('../Radio-0b46b2a8.js');
|
|
38
|
-
require('../TextArea-
|
|
41
|
+
require('../TextArea-af6a812d.js');
|
|
39
42
|
require('../Switch-aa384260.js');
|
|
43
|
+
require('../warning-circle-24522402.js');
|
|
40
44
|
|
|
41
45
|
|
|
42
46
|
|
|
43
47
|
exports.AssetGallery = AssetGallery.AssetGallery;
|
|
44
48
|
exports.ContextMenu = ContextMenu.ContextMenu;
|
|
45
49
|
exports.AssetPreviewTopBar = AssetPreviewTopBar.AssetPreviewTopBar;
|
|
50
|
+
exports.Instructions = Instructions.Instructions;
|