@atlaskit/feedback-collector 10.0.1 → 10.1.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 +6 -0
- package/dist/cjs/components/FeedbackButton.js +3 -0
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/FeedbackButton.js +3 -0
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/FeedbackButton.js +3 -0
- package/dist/esm/version.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -31,6 +31,9 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
|
|
|
31
31
|
|
|
32
32
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
33
33
|
|
|
34
|
+
/*
|
|
35
|
+
* Standard feedback button with "Give Feedback" as the text and speaker icon on the left of the text
|
|
36
|
+
* */
|
|
34
37
|
var FeedbackButton = function FeedbackButton(props) {
|
|
35
38
|
var _useState = (0, _react.useState)(false),
|
|
36
39
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
package/dist/cjs/version.json
CHANGED
|
@@ -7,6 +7,9 @@ import FeedbackCollector from './FeedbackCollector';
|
|
|
7
7
|
import FeedbackFlag from './FeedbackFlag';
|
|
8
8
|
import { messages } from './messages';
|
|
9
9
|
|
|
10
|
+
/*
|
|
11
|
+
* Standard feedback button with "Give Feedback" as the text and speaker icon on the left of the text
|
|
12
|
+
* */
|
|
10
13
|
const FeedbackButton = props => {
|
|
11
14
|
const [isOpen, setIsOpen] = useState(false);
|
|
12
15
|
const [displayFlag, setDisplayFlag] = useState(false);
|
package/dist/es2019/version.json
CHANGED
|
@@ -8,6 +8,9 @@ import FeedbackCollector from './FeedbackCollector';
|
|
|
8
8
|
import FeedbackFlag from './FeedbackFlag';
|
|
9
9
|
import { messages } from './messages';
|
|
10
10
|
|
|
11
|
+
/*
|
|
12
|
+
* Standard feedback button with "Give Feedback" as the text and speaker icon on the left of the text
|
|
13
|
+
* */
|
|
11
14
|
var FeedbackButton = function FeedbackButton(props) {
|
|
12
15
|
var _useState = useState(false),
|
|
13
16
|
_useState2 = _slicedToArray(_useState, 2),
|
package/dist/esm/version.json
CHANGED