@atlaskit/smart-card 43.25.7 → 43.25.9
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 +20 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-blocker--default.png +0 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-critical--default.png +0 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-highest--default.png +0 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-lowest--default.png +0 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-major--default.png +0 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-medium--default.png +0 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-minor--default.png +0 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-trivial--default.png +0 -0
- package/dist/cjs/__tests__/vr-tests/__snapshots__/hover-card/hover-card-rovo-chat-action--default.png +0 -0
- package/dist/cjs/common/ui/icons/priority-blocker-icon.compiled.css +5 -0
- package/dist/cjs/common/ui/icons/priority-blocker-icon.js +44 -0
- package/dist/cjs/common/ui/icons/priority-critical-icon.compiled.css +5 -0
- package/dist/cjs/common/ui/icons/priority-critical-icon.js +44 -0
- package/dist/cjs/common/ui/icons/priority-high-icon.compiled.css +5 -0
- package/dist/cjs/common/ui/icons/priority-high-icon.js +44 -0
- package/dist/cjs/common/ui/icons/priority-highest-icon.compiled.css +5 -0
- package/dist/cjs/common/ui/icons/priority-highest-icon.js +47 -0
- package/dist/cjs/common/ui/icons/priority-low-icon.compiled.css +5 -0
- package/dist/cjs/common/ui/icons/priority-low-icon.js +44 -0
- package/dist/cjs/common/ui/icons/priority-lowest-icon.compiled.css +5 -0
- package/dist/cjs/common/ui/icons/priority-lowest-icon.js +47 -0
- package/dist/cjs/common/ui/icons/priority-major-icon.compiled.css +5 -0
- package/dist/cjs/common/ui/icons/priority-major-icon.js +50 -0
- package/dist/cjs/common/ui/icons/priority-medium-icon.compiled.css +5 -0
- package/dist/cjs/common/ui/icons/priority-medium-icon.js +44 -0
- package/dist/cjs/common/ui/icons/priority-minor-icon.compiled.css +5 -0
- package/dist/cjs/common/ui/icons/priority-minor-icon.js +50 -0
- package/dist/cjs/common/ui/icons/priority-trivial-icon.compiled.css +5 -0
- package/dist/cjs/common/ui/icons/priority-trivial-icon.js +44 -0
- package/dist/cjs/constants.js +1 -0
- package/dist/cjs/extractors/flexible/actions/extract-rovo-chat-action.js +27 -0
- package/dist/cjs/extractors/flexible/actions/index.js +7 -2
- package/dist/cjs/extractors/flexible/index.js +9 -4
- package/dist/cjs/state/hooks/use-rovo-chat/index.js +2 -1
- package/dist/cjs/utils/index.js +30 -10
- package/dist/cjs/utils/rovo.js +9 -0
- package/dist/cjs/view/Card/types.js +5 -0
- package/dist/cjs/view/CardWithUrl/component.js +17 -1
- package/dist/cjs/view/FlexibleCard/components/actions/index.js +7 -0
- package/dist/cjs/view/FlexibleCard/components/blocks/action-block/index.js +7 -9
- package/dist/cjs/view/FlexibleCard/index.js +11 -4
- package/dist/cjs/view/HoverCard/components/views/resolved/index.js +1 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-blocker--default.png +0 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-critical--default.png +0 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-highest--default.png +0 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-lowest--default.png +0 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-major--default.png +0 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-medium--default.png +0 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-minor--default.png +0 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-trivial--default.png +0 -0
- package/dist/es2019/__tests__/vr-tests/__snapshots__/hover-card/hover-card-rovo-chat-action--default.png +0 -0
- package/dist/es2019/common/ui/icons/priority-blocker-icon.compiled.css +5 -0
- package/dist/es2019/common/ui/icons/priority-blocker-icon.js +32 -0
- package/dist/es2019/common/ui/icons/priority-critical-icon.compiled.css +5 -0
- package/dist/es2019/common/ui/icons/priority-critical-icon.js +32 -0
- package/dist/es2019/common/ui/icons/priority-high-icon.compiled.css +5 -0
- package/dist/es2019/common/ui/icons/priority-high-icon.js +32 -0
- package/dist/es2019/common/ui/icons/priority-highest-icon.compiled.css +5 -0
- package/dist/es2019/common/ui/icons/priority-highest-icon.js +35 -0
- package/dist/es2019/common/ui/icons/priority-low-icon.compiled.css +5 -0
- package/dist/es2019/common/ui/icons/priority-low-icon.js +32 -0
- package/dist/es2019/common/ui/icons/priority-lowest-icon.compiled.css +5 -0
- package/dist/es2019/common/ui/icons/priority-lowest-icon.js +35 -0
- package/dist/es2019/common/ui/icons/priority-major-icon.compiled.css +5 -0
- package/dist/es2019/common/ui/icons/priority-major-icon.js +38 -0
- package/dist/es2019/common/ui/icons/priority-medium-icon.compiled.css +5 -0
- package/dist/es2019/common/ui/icons/priority-medium-icon.js +32 -0
- package/dist/es2019/common/ui/icons/priority-minor-icon.compiled.css +5 -0
- package/dist/es2019/common/ui/icons/priority-minor-icon.js +38 -0
- package/dist/es2019/common/ui/icons/priority-trivial-icon.compiled.css +5 -0
- package/dist/es2019/common/ui/icons/priority-trivial-icon.js +32 -0
- package/dist/es2019/constants.js +1 -0
- package/dist/es2019/extractors/flexible/actions/extract-rovo-chat-action.js +21 -0
- package/dist/es2019/extractors/flexible/actions/index.js +6 -0
- package/dist/es2019/extractors/flexible/index.js +5 -0
- package/dist/es2019/state/hooks/use-rovo-chat/index.js +2 -1
- package/dist/es2019/utils/index.js +10 -10
- package/dist/es2019/utils/rovo.js +1 -0
- package/dist/es2019/view/Card/types.js +6 -0
- package/dist/es2019/view/CardWithUrl/component.js +15 -1
- package/dist/es2019/view/FlexibleCard/components/actions/index.js +1 -0
- package/dist/es2019/view/FlexibleCard/components/blocks/action-block/index.js +6 -8
- package/dist/es2019/view/FlexibleCard/index.js +8 -1
- package/dist/es2019/view/HoverCard/components/views/resolved/index.js +1 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-blocker--default.png +0 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-critical--default.png +0 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-highest--default.png +0 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-lowest--default.png +0 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-major--default.png +0 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-medium--default.png +0 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-minor--default.png +0 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/flexible-card-icon/icon-type-priority-trivial--default.png +0 -0
- package/dist/esm/__tests__/vr-tests/__snapshots__/hover-card/hover-card-rovo-chat-action--default.png +0 -0
- package/dist/esm/common/ui/icons/priority-blocker-icon.compiled.css +5 -0
- package/dist/esm/common/ui/icons/priority-blocker-icon.js +35 -0
- package/dist/esm/common/ui/icons/priority-critical-icon.compiled.css +5 -0
- package/dist/esm/common/ui/icons/priority-critical-icon.js +35 -0
- package/dist/esm/common/ui/icons/priority-high-icon.compiled.css +5 -0
- package/dist/esm/common/ui/icons/priority-high-icon.js +35 -0
- package/dist/esm/common/ui/icons/priority-highest-icon.compiled.css +5 -0
- package/dist/esm/common/ui/icons/priority-highest-icon.js +38 -0
- package/dist/esm/common/ui/icons/priority-low-icon.compiled.css +5 -0
- package/dist/esm/common/ui/icons/priority-low-icon.js +35 -0
- package/dist/esm/common/ui/icons/priority-lowest-icon.compiled.css +5 -0
- package/dist/esm/common/ui/icons/priority-lowest-icon.js +38 -0
- package/dist/esm/common/ui/icons/priority-major-icon.compiled.css +5 -0
- package/dist/esm/common/ui/icons/priority-major-icon.js +41 -0
- package/dist/esm/common/ui/icons/priority-medium-icon.compiled.css +5 -0
- package/dist/esm/common/ui/icons/priority-medium-icon.js +35 -0
- package/dist/esm/common/ui/icons/priority-minor-icon.compiled.css +5 -0
- package/dist/esm/common/ui/icons/priority-minor-icon.js +41 -0
- package/dist/esm/common/ui/icons/priority-trivial-icon.compiled.css +5 -0
- package/dist/esm/common/ui/icons/priority-trivial-icon.js +35 -0
- package/dist/esm/constants.js +1 -0
- package/dist/esm/extractors/flexible/actions/extract-rovo-chat-action.js +21 -0
- package/dist/esm/extractors/flexible/actions/index.js +7 -2
- package/dist/esm/extractors/flexible/index.js +9 -4
- package/dist/esm/state/hooks/use-rovo-chat/index.js +2 -1
- package/dist/esm/utils/index.js +10 -10
- package/dist/esm/utils/rovo.js +3 -0
- package/dist/esm/view/Card/types.js +6 -0
- package/dist/esm/view/CardWithUrl/component.js +17 -1
- package/dist/esm/view/FlexibleCard/components/actions/index.js +1 -0
- package/dist/esm/view/FlexibleCard/components/blocks/action-block/index.js +8 -10
- package/dist/esm/view/FlexibleCard/index.js +11 -4
- package/dist/esm/view/HoverCard/components/views/resolved/index.js +1 -0
- package/dist/types/common/ui/icons/priority-blocker-icon.d.ts +10 -0
- package/dist/types/common/ui/icons/priority-critical-icon.d.ts +10 -0
- package/dist/types/common/ui/icons/priority-high-icon.d.ts +10 -0
- package/dist/types/common/ui/icons/priority-highest-icon.d.ts +10 -0
- package/dist/types/common/ui/icons/priority-low-icon.d.ts +10 -0
- package/dist/types/common/ui/icons/priority-lowest-icon.d.ts +10 -0
- package/dist/types/common/ui/icons/priority-major-icon.d.ts +10 -0
- package/dist/types/common/ui/icons/priority-medium-icon.d.ts +10 -0
- package/dist/types/common/ui/icons/priority-minor-icon.d.ts +10 -0
- package/dist/types/common/ui/icons/priority-trivial-icon.d.ts +10 -0
- package/dist/types/constants.d.ts +1 -0
- package/dist/types/extractors/action/types.d.ts +1 -1
- package/dist/types/extractors/common/actions/types.d.ts +1 -1
- package/dist/types/extractors/flexible/actions/extract-ai-summary-action.d.ts +1 -1
- package/dist/types/extractors/flexible/actions/extract-follow-action.d.ts +1 -1
- package/dist/types/extractors/flexible/actions/extract-rovo-chat-action.d.ts +5 -0
- package/dist/types/extractors/flexible/actions/index.d.ts +4 -2
- package/dist/types/extractors/flexible/extract-state.d.ts +1 -1
- package/dist/types/extractors/flexible/index.d.ts +1 -1
- package/dist/types/state/flexible-ui-context/types.d.ts +1 -0
- package/dist/types/state/hooks/use-rovo-config/index.d.ts +3 -1
- package/dist/types/utils/actions/combine-action-options.d.ts +1 -1
- package/dist/types/utils/rovo.d.ts +2 -0
- package/dist/types/view/BlockCard/types.d.ts +1 -1
- package/dist/types/view/Card/types.d.ts +8 -0
- package/dist/types/view/CardWithUrl/types.d.ts +2 -2
- package/dist/types/view/EmbedCard/types.d.ts +1 -1
- package/dist/types/view/FlexibleCard/components/actions/index.d.ts +1 -0
- package/dist/types/view/FlexibleCard/components/blocks/action-block/index.d.ts +1 -1
- package/dist/types/view/FlexibleCard/types.d.ts +3 -1
- package/dist/types/view/HoverCard/index.d.ts +1 -1
- package/dist/types/view/HoverCard/types.d.ts +5 -4
- package/dist/types/view/InlineCard/ResolvedView/index.d.ts +1 -1
- package/dist/types/view/InlineCard/types.d.ts +1 -1
- package/dist/types-ts4.5/common/ui/icons/priority-blocker-icon.d.ts +10 -0
- package/dist/types-ts4.5/common/ui/icons/priority-critical-icon.d.ts +10 -0
- package/dist/types-ts4.5/common/ui/icons/priority-high-icon.d.ts +10 -0
- package/dist/types-ts4.5/common/ui/icons/priority-highest-icon.d.ts +10 -0
- package/dist/types-ts4.5/common/ui/icons/priority-low-icon.d.ts +10 -0
- package/dist/types-ts4.5/common/ui/icons/priority-lowest-icon.d.ts +10 -0
- package/dist/types-ts4.5/common/ui/icons/priority-major-icon.d.ts +10 -0
- package/dist/types-ts4.5/common/ui/icons/priority-medium-icon.d.ts +10 -0
- package/dist/types-ts4.5/common/ui/icons/priority-minor-icon.d.ts +10 -0
- package/dist/types-ts4.5/common/ui/icons/priority-trivial-icon.d.ts +10 -0
- package/dist/types-ts4.5/constants.d.ts +1 -0
- package/dist/types-ts4.5/extractors/action/types.d.ts +1 -1
- package/dist/types-ts4.5/extractors/common/actions/types.d.ts +1 -1
- package/dist/types-ts4.5/extractors/flexible/actions/extract-ai-summary-action.d.ts +1 -1
- package/dist/types-ts4.5/extractors/flexible/actions/extract-follow-action.d.ts +1 -1
- package/dist/types-ts4.5/extractors/flexible/actions/extract-rovo-chat-action.d.ts +5 -0
- package/dist/types-ts4.5/extractors/flexible/actions/index.d.ts +4 -2
- package/dist/types-ts4.5/extractors/flexible/extract-state.d.ts +1 -1
- package/dist/types-ts4.5/extractors/flexible/index.d.ts +1 -1
- package/dist/types-ts4.5/state/flexible-ui-context/types.d.ts +1 -0
- package/dist/types-ts4.5/state/hooks/use-rovo-config/index.d.ts +3 -1
- package/dist/types-ts4.5/utils/actions/combine-action-options.d.ts +1 -1
- package/dist/types-ts4.5/utils/rovo.d.ts +2 -0
- package/dist/types-ts4.5/view/BlockCard/types.d.ts +1 -1
- package/dist/types-ts4.5/view/Card/types.d.ts +8 -0
- package/dist/types-ts4.5/view/CardWithUrl/types.d.ts +2 -2
- package/dist/types-ts4.5/view/EmbedCard/types.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/components/actions/index.d.ts +1 -0
- package/dist/types-ts4.5/view/FlexibleCard/components/blocks/action-block/index.d.ts +1 -1
- package/dist/types-ts4.5/view/FlexibleCard/types.d.ts +3 -1
- package/dist/types-ts4.5/view/HoverCard/index.d.ts +1 -1
- package/dist/types-ts4.5/view/HoverCard/types.d.ts +5 -4
- package/dist/types-ts4.5/view/InlineCard/ResolvedView/index.d.ts +1 -1
- package/dist/types-ts4.5/view/InlineCard/types.d.ts +1 -1
- package/package.json +5 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @atlaskit/smart-card
|
|
2
2
|
|
|
3
|
+
## 43.25.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`acb61d1d6efd9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/acb61d1d6efd9) -
|
|
8
|
+
Add dependency for a11y testing.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 43.25.8
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`6d87d08be8526`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6d87d08be8526) -
|
|
16
|
+
Add dependency for a11y testing.
|
|
17
|
+
- [`99b4e01a15832`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/99b4e01a15832) -
|
|
18
|
+
Extract RovoCardAction for experiment
|
|
19
|
+
- [`df0ac7e2afd63`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/df0ac7e2afd63) -
|
|
20
|
+
Migrate icon-priority icons to local native SVG components with feature gate
|
|
21
|
+
- Updated dependencies
|
|
22
|
+
|
|
3
23
|
## 43.25.7
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* priority-blocker-icon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.default = void 0;
|
|
10
|
+
require("./priority-blocker-icon.compiled.css");
|
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
13
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
var _excluded = ["label", "testId"];
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
|
+
var style = {
|
|
18
|
+
span: "_1e0c1o8l _1o9zidpf",
|
|
19
|
+
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
20
|
+
};
|
|
21
|
+
var PriorityBlockerIcon = function PriorityBlockerIcon(_ref) {
|
|
22
|
+
var label = _ref.label,
|
|
23
|
+
testId = _ref.testId,
|
|
24
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
25
|
+
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
26
|
+
role: label ? 'img' : undefined,
|
|
27
|
+
"aria-label": label,
|
|
28
|
+
"aria-hidden": label ? undefined : true,
|
|
29
|
+
"data-testid": testId
|
|
30
|
+
}, props, {
|
|
31
|
+
className: (0, _runtime.ax)([style.span])
|
|
32
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
33
|
+
width: "24",
|
|
34
|
+
height: "24",
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
role: "presentation",
|
|
37
|
+
className: (0, _runtime.ax)([style.svg])
|
|
38
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10zM6 11a1 1 0 000 2h12a1 1 0 000-2H6z",
|
|
40
|
+
fill: "#FF5630"
|
|
41
|
+
})));
|
|
42
|
+
};
|
|
43
|
+
PriorityBlockerIcon.displayName = 'PriorityBlockerIcon';
|
|
44
|
+
var _default = exports.default = PriorityBlockerIcon;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* priority-critical-icon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.default = void 0;
|
|
10
|
+
require("./priority-critical-icon.compiled.css");
|
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
13
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
var _excluded = ["label", "testId"];
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
|
+
var style = {
|
|
18
|
+
span: "_1e0c1o8l _1o9zidpf",
|
|
19
|
+
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
20
|
+
};
|
|
21
|
+
var PriorityCriticalIcon = function PriorityCriticalIcon(_ref) {
|
|
22
|
+
var label = _ref.label,
|
|
23
|
+
testId = _ref.testId,
|
|
24
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
25
|
+
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
26
|
+
role: label ? 'img' : undefined,
|
|
27
|
+
"aria-label": label,
|
|
28
|
+
"aria-hidden": label ? undefined : true,
|
|
29
|
+
"data-testid": testId
|
|
30
|
+
}, props, {
|
|
31
|
+
className: (0, _runtime.ax)([style.span])
|
|
32
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
33
|
+
width: "24",
|
|
34
|
+
height: "24",
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
role: "presentation",
|
|
37
|
+
className: (0, _runtime.ax)([style.svg])
|
|
38
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M4.671 7.165l6.643-3.946a1.372 1.372 0 011.403.002l6.614 3.944c.415.247.669.695.669 1.178v11.253a1.372 1.372 0 01-2.074 1.179l-5.91-3.52-5.944 3.526A1.372 1.372 0 014 19.6V8.345c0-.484.255-.933.671-1.18z",
|
|
40
|
+
fill: "#FF5630"
|
|
41
|
+
})));
|
|
42
|
+
};
|
|
43
|
+
PriorityCriticalIcon.displayName = 'PriorityCriticalIcon';
|
|
44
|
+
var _default = exports.default = PriorityCriticalIcon;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* priority-high-icon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.default = void 0;
|
|
10
|
+
require("./priority-high-icon.compiled.css");
|
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
13
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
var _excluded = ["label", "testId"];
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
|
+
var style = {
|
|
18
|
+
span: "_1e0c1o8l _1o9zidpf",
|
|
19
|
+
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
20
|
+
};
|
|
21
|
+
var PriorityHighIcon = function PriorityHighIcon(_ref) {
|
|
22
|
+
var label = _ref.label,
|
|
23
|
+
testId = _ref.testId,
|
|
24
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
25
|
+
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
26
|
+
role: label ? 'img' : undefined,
|
|
27
|
+
"aria-label": label,
|
|
28
|
+
"aria-hidden": label ? undefined : true,
|
|
29
|
+
"data-testid": testId
|
|
30
|
+
}, props, {
|
|
31
|
+
className: (0, _runtime.ax)([style.span])
|
|
32
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
33
|
+
width: "24",
|
|
34
|
+
height: "24",
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
role: "presentation",
|
|
37
|
+
className: (0, _runtime.ax)([style.svg])
|
|
38
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M12.017 11.182l-6.454 3.865a1 1 0 11-1.027-1.716l6.97-4.174a1 1 0 011.03.003l6.906 4.173a1 1 0 01-1.035 1.712l-6.39-3.863z",
|
|
40
|
+
fill: "#FF5630"
|
|
41
|
+
})));
|
|
42
|
+
};
|
|
43
|
+
PriorityHighIcon.displayName = 'PriorityHighIcon';
|
|
44
|
+
var _default = exports.default = PriorityHighIcon;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* priority-highest-icon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.default = void 0;
|
|
10
|
+
require("./priority-highest-icon.compiled.css");
|
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
13
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
var _excluded = ["label", "testId"];
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
|
+
var style = {
|
|
18
|
+
span: "_1e0c1o8l _1o9zidpf",
|
|
19
|
+
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
20
|
+
};
|
|
21
|
+
var PriorityHighestIcon = function PriorityHighestIcon(_ref) {
|
|
22
|
+
var label = _ref.label,
|
|
23
|
+
testId = _ref.testId,
|
|
24
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
25
|
+
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
26
|
+
role: label ? 'img' : undefined,
|
|
27
|
+
"aria-label": label,
|
|
28
|
+
"aria-hidden": label ? undefined : true,
|
|
29
|
+
"data-testid": testId
|
|
30
|
+
}, props, {
|
|
31
|
+
className: (0, _runtime.ax)([style.span])
|
|
32
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
33
|
+
width: "24",
|
|
34
|
+
height: "24",
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
role: "presentation",
|
|
37
|
+
className: (0, _runtime.ax)([style.svg])
|
|
38
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M12.005 8.187l-6.453 3.865a1 1 0 01-1.028-1.716l6.97-4.174a1 1 0 011.031.002l6.906 4.174a1 1 0 11-1.035 1.712l-6.39-3.863z",
|
|
40
|
+
fill: "#FF5630"
|
|
41
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
42
|
+
d: "M5.552 18.054a1 1 0 11-1.028-1.715l6.97-4.174a1 1 0 011.031.002l6.906 4.174a1 1 0 11-1.035 1.711l-6.39-3.862-6.454 3.864z",
|
|
43
|
+
fill: "#FF7452"
|
|
44
|
+
})));
|
|
45
|
+
};
|
|
46
|
+
PriorityHighestIcon.displayName = 'PriorityHighestIcon';
|
|
47
|
+
var _default = exports.default = PriorityHighestIcon;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* priority-low-icon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.default = void 0;
|
|
10
|
+
require("./priority-low-icon.compiled.css");
|
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
13
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
var _excluded = ["label", "testId"];
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
|
+
var style = {
|
|
18
|
+
span: "_1e0c1o8l _1o9zidpf",
|
|
19
|
+
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
20
|
+
};
|
|
21
|
+
var PriorityLowIcon = function PriorityLowIcon(_ref) {
|
|
22
|
+
var label = _ref.label,
|
|
23
|
+
testId = _ref.testId,
|
|
24
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
25
|
+
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
26
|
+
role: label ? 'img' : undefined,
|
|
27
|
+
"aria-label": label,
|
|
28
|
+
"aria-hidden": label ? undefined : true,
|
|
29
|
+
"data-testid": testId
|
|
30
|
+
}, props, {
|
|
31
|
+
className: (0, _runtime.ax)([style.span])
|
|
32
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
33
|
+
width: "24",
|
|
34
|
+
height: "24",
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
role: "presentation",
|
|
37
|
+
className: (0, _runtime.ax)([style.svg])
|
|
38
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M11.996 13.861l6.454-3.865a1 1 0 111.027 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.57 11.71A1 1 0 015.606 10l6.39 3.862z",
|
|
40
|
+
fill: "#0065FF"
|
|
41
|
+
})));
|
|
42
|
+
};
|
|
43
|
+
PriorityLowIcon.displayName = 'PriorityLowIcon';
|
|
44
|
+
var _default = exports.default = PriorityLowIcon;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* priority-lowest-icon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.default = void 0;
|
|
10
|
+
require("./priority-lowest-icon.compiled.css");
|
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
13
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
var _excluded = ["label", "testId"];
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
|
+
var style = {
|
|
18
|
+
span: "_1e0c1o8l _1o9zidpf",
|
|
19
|
+
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
20
|
+
};
|
|
21
|
+
var PriorityLowestIcon = function PriorityLowestIcon(_ref) {
|
|
22
|
+
var label = _ref.label,
|
|
23
|
+
testId = _ref.testId,
|
|
24
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
25
|
+
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
26
|
+
role: label ? 'img' : undefined,
|
|
27
|
+
"aria-label": label,
|
|
28
|
+
"aria-hidden": label ? undefined : true,
|
|
29
|
+
"data-testid": testId
|
|
30
|
+
}, props, {
|
|
31
|
+
className: (0, _runtime.ax)([style.span])
|
|
32
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
33
|
+
width: "24",
|
|
34
|
+
height: "24",
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
role: "presentation",
|
|
37
|
+
className: (0, _runtime.ax)([style.svg])
|
|
38
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M18.46 11.936a1 1 0 111.028 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.581 13.65a1 1 0 011.034-1.711l6.391 3.862 6.454-3.865z",
|
|
40
|
+
fill: "#0065FF"
|
|
41
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
42
|
+
d: "M12.007 9.798l6.454-3.864a1 1 0 011.027 1.716l-6.97 4.173a1 1 0 01-1.03-.002L4.581 7.648a1 1 0 011.034-1.712l6.391 3.862z",
|
|
43
|
+
fill: "#2684FF"
|
|
44
|
+
})));
|
|
45
|
+
};
|
|
46
|
+
PriorityLowestIcon.displayName = 'PriorityLowestIcon';
|
|
47
|
+
var _default = exports.default = PriorityLowestIcon;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* priority-major-icon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.default = void 0;
|
|
10
|
+
require("./priority-major-icon.compiled.css");
|
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
13
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
var _excluded = ["label", "testId"];
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
|
+
var style = {
|
|
18
|
+
span: "_1e0c1o8l _1o9zidpf",
|
|
19
|
+
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
20
|
+
};
|
|
21
|
+
var PriorityMajorIcon = function PriorityMajorIcon(_ref) {
|
|
22
|
+
var label = _ref.label,
|
|
23
|
+
testId = _ref.testId,
|
|
24
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
25
|
+
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
26
|
+
role: label ? 'img' : undefined,
|
|
27
|
+
"aria-label": label,
|
|
28
|
+
"aria-hidden": label ? undefined : true,
|
|
29
|
+
"data-testid": testId
|
|
30
|
+
}, props, {
|
|
31
|
+
className: (0, _runtime.ax)([style.span])
|
|
32
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
33
|
+
width: "24",
|
|
34
|
+
height: "24",
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
role: "presentation",
|
|
37
|
+
className: (0, _runtime.ax)([style.svg])
|
|
38
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M12.02 5.187L5.567 9.05A1 1 0 114.54 7.335l6.97-4.173a1 1 0 011.03.002l6.906 4.173A1 1 0 1118.41 9.05l-6.39-3.862z",
|
|
40
|
+
fill: "#FF5630"
|
|
41
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
42
|
+
d: "M5.567 15.054a1 1 0 11-1.027-1.716l6.97-4.174a1 1 0 011.03.002l6.906 4.174a1 1 0 11-1.035 1.712l-6.39-3.863-6.454 3.865z",
|
|
43
|
+
fill: "#FF7452"
|
|
44
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
45
|
+
d: "M5.567 21.068a1 1 0 11-1.027-1.716l6.97-4.174a1 1 0 011.03.002l6.906 4.174a1 1 0 11-1.035 1.712l-6.39-3.863-6.454 3.865z",
|
|
46
|
+
fill: "#FF8F73"
|
|
47
|
+
})));
|
|
48
|
+
};
|
|
49
|
+
PriorityMajorIcon.displayName = 'PriorityMajorIcon';
|
|
50
|
+
var _default = exports.default = PriorityMajorIcon;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* priority-medium-icon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.default = void 0;
|
|
10
|
+
require("./priority-medium-icon.compiled.css");
|
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
13
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
var _excluded = ["label", "testId"];
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
|
+
var style = {
|
|
18
|
+
span: "_1e0c1o8l _1o9zidpf",
|
|
19
|
+
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
20
|
+
};
|
|
21
|
+
var PriorityMediumIcon = function PriorityMediumIcon(_ref) {
|
|
22
|
+
var label = _ref.label,
|
|
23
|
+
testId = _ref.testId,
|
|
24
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
25
|
+
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
26
|
+
role: label ? 'img' : undefined,
|
|
27
|
+
"aria-label": label,
|
|
28
|
+
"aria-hidden": label ? undefined : true,
|
|
29
|
+
"data-testid": testId
|
|
30
|
+
}, props, {
|
|
31
|
+
className: (0, _runtime.ax)([style.span])
|
|
32
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
33
|
+
width: "24",
|
|
34
|
+
height: "24",
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
role: "presentation",
|
|
37
|
+
className: (0, _runtime.ax)([style.svg])
|
|
38
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M5 8h14a1 1 0 010 2H5a1 1 0 110-2zm0 6h14a1 1 0 010 2H5a1 1 0 010-2z",
|
|
40
|
+
fill: "#FFAB00"
|
|
41
|
+
})));
|
|
42
|
+
};
|
|
43
|
+
PriorityMediumIcon.displayName = 'PriorityMediumIcon';
|
|
44
|
+
var _default = exports.default = PriorityMediumIcon;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* priority-minor-icon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.default = void 0;
|
|
10
|
+
require("./priority-minor-icon.compiled.css");
|
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
13
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
var _excluded = ["label", "testId"];
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
|
+
var style = {
|
|
18
|
+
span: "_1e0c1o8l _1o9zidpf",
|
|
19
|
+
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
20
|
+
};
|
|
21
|
+
var PriorityMinorIcon = function PriorityMinorIcon(_ref) {
|
|
22
|
+
var label = _ref.label,
|
|
23
|
+
testId = _ref.testId,
|
|
24
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
25
|
+
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
26
|
+
role: label ? 'img' : undefined,
|
|
27
|
+
"aria-label": label,
|
|
28
|
+
"aria-hidden": label ? undefined : true,
|
|
29
|
+
"data-testid": testId
|
|
30
|
+
}, props, {
|
|
31
|
+
className: (0, _runtime.ax)([style.span])
|
|
32
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
33
|
+
width: "24",
|
|
34
|
+
height: "24",
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
role: "presentation",
|
|
37
|
+
className: (0, _runtime.ax)([style.svg])
|
|
38
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M18.449 14.975a1 1 0 011.027 1.716l-6.97 4.173a1 1 0 01-1.03-.002L4.57 16.69a1 1 0 011.034-1.712l6.391 3.862 6.454-3.864z",
|
|
40
|
+
fill: "#0065FF"
|
|
41
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
42
|
+
d: "M11.995 12.837l6.454-3.865a1 1 0 011.027 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.57 10.686a1 1 0 011.034-1.712l6.391 3.863z",
|
|
43
|
+
fill: "#2684FF"
|
|
44
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
45
|
+
d: "M11.995 6.823l6.454-3.865a1 1 0 111.027 1.716l-6.97 4.174a1 1 0 01-1.03-.002L4.57 4.672A1 1 0 015.604 2.96l6.391 3.863z",
|
|
46
|
+
fill: "#4C9AFF"
|
|
47
|
+
})));
|
|
48
|
+
};
|
|
49
|
+
PriorityMinorIcon.displayName = 'PriorityMinorIcon';
|
|
50
|
+
var _default = exports.default = PriorityMinorIcon;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* priority-trivial-icon.tsx generated by @compiled/babel-plugin v0.38.1 */
|
|
2
|
+
"use strict";
|
|
3
|
+
|
|
4
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
6
|
+
Object.defineProperty(exports, "__esModule", {
|
|
7
|
+
value: true
|
|
8
|
+
});
|
|
9
|
+
exports.default = void 0;
|
|
10
|
+
require("./priority-trivial-icon.compiled.css");
|
|
11
|
+
var React = _interopRequireWildcard(require("react"));
|
|
12
|
+
var _runtime = require("@compiled/react/runtime");
|
|
13
|
+
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
14
|
+
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
15
|
+
var _excluded = ["label", "testId"];
|
|
16
|
+
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
|
+
var style = {
|
|
18
|
+
span: "_1e0c1o8l _1o9zidpf",
|
|
19
|
+
svg: "_s7n4yfq0 _p12f1osq _c71l1osq"
|
|
20
|
+
};
|
|
21
|
+
var PriorityTrivialIcon = function PriorityTrivialIcon(_ref) {
|
|
22
|
+
var label = _ref.label,
|
|
23
|
+
testId = _ref.testId,
|
|
24
|
+
props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
|
|
25
|
+
return /*#__PURE__*/React.createElement("span", (0, _extends2.default)({
|
|
26
|
+
role: label ? 'img' : undefined,
|
|
27
|
+
"aria-label": label,
|
|
28
|
+
"aria-hidden": label ? undefined : true,
|
|
29
|
+
"data-testid": testId
|
|
30
|
+
}, props, {
|
|
31
|
+
className: (0, _runtime.ax)([style.span])
|
|
32
|
+
}), /*#__PURE__*/React.createElement("svg", {
|
|
33
|
+
width: "24",
|
|
34
|
+
height: "24",
|
|
35
|
+
viewBox: "0 0 24 24",
|
|
36
|
+
role: "presentation",
|
|
37
|
+
className: (0, _runtime.ax)([style.svg])
|
|
38
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M12 20a8 8 0 100-16 8 8 0 000 16zm0 2C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10-4.477 10-10 10z",
|
|
40
|
+
fill: "#7A8699"
|
|
41
|
+
})));
|
|
42
|
+
};
|
|
43
|
+
PriorityTrivialIcon.displayName = 'PriorityTrivialIcon';
|
|
44
|
+
var _default = exports.default = PriorityTrivialIcon;
|
package/dist/cjs/constants.js
CHANGED
|
@@ -161,6 +161,7 @@ var ActionName = exports.ActionName = /*#__PURE__*/function (ActionName) {
|
|
|
161
161
|
}({});
|
|
162
162
|
var InternalActionName = exports.InternalActionName = /*#__PURE__*/function (InternalActionName) {
|
|
163
163
|
InternalActionName["AISummaryAction"] = "AISummaryAction";
|
|
164
|
+
InternalActionName["RovoChatAction"] = "RovoChatAction";
|
|
164
165
|
InternalActionName["UnresolvedAction"] = "UnresolvedAction";
|
|
165
166
|
InternalActionName["ViewRelatedLinksAction"] = "ViewRelatedLinksAction";
|
|
166
167
|
return InternalActionName;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var _helpers = require("../../../state/helpers");
|
|
8
|
+
var _rovo = require("../../../utils/rovo");
|
|
9
|
+
var extractRovoChatAction = function extractRovoChatAction(response, rovoConfig, actionOptions) {
|
|
10
|
+
// Experiment cleanup note: platform_sl_3p_auth_rovo_action
|
|
11
|
+
// If action is available by default, we need to allow RovoChatAction to be configurable to opt-out
|
|
12
|
+
// if (!canShowAction(CardAction.RovoChatAction, actionOptions)) {
|
|
13
|
+
// return;
|
|
14
|
+
// }
|
|
15
|
+
|
|
16
|
+
var isRovoChatEnabled = (0, _rovo.getIsRovoChatEnabled)(rovoConfig);
|
|
17
|
+
if (!isRovoChatEnabled) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
// Experiment cleanup note: platform_sl_3p_auth_rovo_action
|
|
22
|
+
// If feature isn't support all 3P, this value should come from meta.supportedFeature
|
|
23
|
+
var isSupportedFeature = (0, _helpers.getExtensionKey)(response) === 'google-object-provider';
|
|
24
|
+
var isOptIn = (actionOptions === null || actionOptions === void 0 ? void 0 : actionOptions.rovoChatAction) === true;
|
|
25
|
+
return isSupportedFeature && isOptIn ? true : undefined;
|
|
26
|
+
};
|
|
27
|
+
var _default = exports.default = extractRovoChatAction;
|