@loomhq/lens 11.0.3 → 11.2.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/dist/components/icon/available-icons/confluence-neutral.d.ts +2 -0
- package/dist/components/icon/available-icons/confluence.d.ts +2 -0
- package/dist/components/icon/available-icons/index.d.ts +5 -0
- package/dist/components/icon/available-icons/jira-neutral.d.ts +2 -0
- package/dist/components/icon/available-icons/jira.d.ts +2 -0
- package/dist/components/icon/available-icons/linear.d.ts +2 -0
- package/dist/components/notification-bar/notification-bar.d.ts +1 -1
- package/dist/icons/confluence-neutral.d.ts +2 -0
- package/dist/icons/confluence-neutral.js +37 -0
- package/dist/icons/confluence.d.ts +2 -0
- package/dist/icons/confluence.js +63 -0
- package/dist/icons/index.d.ts +5 -0
- package/dist/icons/index.js +850 -699
- package/dist/icons/jira-neutral.d.ts +2 -0
- package/dist/icons/jira-neutral.js +43 -0
- package/dist/icons/jira.d.ts +2 -0
- package/dist/icons/jira.js +67 -0
- package/dist/icons/linear.d.ts +2 -0
- package/dist/icons/linear.js +31 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __spreadValues = (a, b) => {
|
|
7
|
+
for (var prop in b || (b = {}))
|
|
8
|
+
if (__hasOwnProp.call(b, prop))
|
|
9
|
+
__defNormalProp(a, prop, b[prop]);
|
|
10
|
+
if (__getOwnPropSymbols)
|
|
11
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
12
|
+
if (__propIsEnum.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
}
|
|
15
|
+
return a;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
// src/components/icon/available-icons/jira-neutral.tsx
|
|
19
|
+
import * as React from "react";
|
|
20
|
+
function SvgJiraNeutral(props) {
|
|
21
|
+
return /* @__PURE__ */ React.createElement("svg", __spreadValues({ viewBox: "0 0 24 24", fill: "none" }, props), /* @__PURE__ */ React.createElement(
|
|
22
|
+
"path",
|
|
23
|
+
{
|
|
24
|
+
d: "M19.0696 4.28571H11.6347C11.6347 6.13627 13.1388 7.64255 14.9868 7.64255H16.3621V8.95516C16.3621 10.8057 17.8663 12.312 19.7142 12.312V4.93125C19.7142 4.56544 19.4134 4.28571 19.0696 4.28571Z",
|
|
25
|
+
fill: "currentColor"
|
|
26
|
+
}
|
|
27
|
+
), /* @__PURE__ */ React.createElement(
|
|
28
|
+
"path",
|
|
29
|
+
{
|
|
30
|
+
d: "M15.3951 7.98676H7.96013C7.96013 9.83732 9.46431 11.3436 11.3123 11.3436H12.6875V12.6777C12.6875 14.5283 14.1917 16.0346 16.0397 16.0346V8.65382C16.0397 8.28801 15.7389 7.98676 15.3951 7.98676Z",
|
|
31
|
+
fill: "currentColor"
|
|
32
|
+
}
|
|
33
|
+
), /* @__PURE__ */ React.createElement(
|
|
34
|
+
"path",
|
|
35
|
+
{
|
|
36
|
+
d: "M11.7206 11.6879H4.28563C4.28563 13.5385 5.78981 15.0448 7.6378 15.0448H8.99156V16.3574C8.99156 18.208 10.4957 19.7142 12.3437 19.7142V12.312C12.3652 11.9892 12.0644 11.6879 11.7206 11.6879Z",
|
|
37
|
+
fill: "currentColor"
|
|
38
|
+
}
|
|
39
|
+
));
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
SvgJiraNeutral
|
|
43
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __spreadValues = (a, b) => {
|
|
7
|
+
for (var prop in b || (b = {}))
|
|
8
|
+
if (__hasOwnProp.call(b, prop))
|
|
9
|
+
__defNormalProp(a, prop, b[prop]);
|
|
10
|
+
if (__getOwnPropSymbols)
|
|
11
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
12
|
+
if (__propIsEnum.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
}
|
|
15
|
+
return a;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
// src/components/icon/available-icons/jira.tsx
|
|
19
|
+
import * as React from "react";
|
|
20
|
+
function SvgJira(props) {
|
|
21
|
+
return /* @__PURE__ */ React.createElement("svg", __spreadValues({ viewBox: "0 0 24 24", fill: "none" }, props), /* @__PURE__ */ React.createElement("g", { clipPath: "url(#clip0_11637_9729)" }, /* @__PURE__ */ React.createElement(
|
|
22
|
+
"path",
|
|
23
|
+
{
|
|
24
|
+
d: "M20.2546 3H11.0742C11.0742 5.24582 12.9315 7.07382 15.2134 7.07382H16.9115V8.66678C16.9115 10.9126 18.7688 12.7406 21.0506 12.7406V3.78343C21.0506 3.33948 20.7057 3 20.2546 3Z",
|
|
25
|
+
fill: "#2684FF"
|
|
26
|
+
}
|
|
27
|
+
), /* @__PURE__ */ React.createElement(
|
|
28
|
+
"path",
|
|
29
|
+
{
|
|
30
|
+
d: "M15.7175 7.4917H6.53711C6.53711 9.73752 8.39442 11.5655 10.6763 11.5655H12.3744V13.1846C12.3744 15.4304 14.2317 17.2584 16.5135 17.2584V8.27513C16.5135 7.8573 16.1686 7.4917 15.7175 7.4917Z",
|
|
31
|
+
fill: "url(#paint0_linear_11637_9729)"
|
|
32
|
+
}
|
|
33
|
+
), /* @__PURE__ */ React.createElement(
|
|
34
|
+
"path",
|
|
35
|
+
{
|
|
36
|
+
d: "M11.1804 12.0093H2C2 14.2551 3.85731 16.0831 6.13915 16.0831H7.83726V17.6761C7.83726 19.9219 9.69457 21.7499 11.9764 21.7499V12.7927C11.9764 12.3488 11.605 12.0093 11.1804 12.0093Z",
|
|
37
|
+
fill: "url(#paint1_linear_11637_9729)"
|
|
38
|
+
}
|
|
39
|
+
)), /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement(
|
|
40
|
+
"linearGradient",
|
|
41
|
+
{
|
|
42
|
+
id: "paint0_linear_11637_9729",
|
|
43
|
+
x1: "16.3182",
|
|
44
|
+
y1: "7.51424",
|
|
45
|
+
x2: "12.479",
|
|
46
|
+
y2: "11.5369",
|
|
47
|
+
gradientUnits: "userSpaceOnUse"
|
|
48
|
+
},
|
|
49
|
+
/* @__PURE__ */ React.createElement("stop", { offset: "0.176", stopColor: "#0052CC" }),
|
|
50
|
+
/* @__PURE__ */ React.createElement("stop", { offset: "1", stopColor: "#0C66E4" })
|
|
51
|
+
), /* @__PURE__ */ React.createElement(
|
|
52
|
+
"linearGradient",
|
|
53
|
+
{
|
|
54
|
+
id: "paint1_linear_11637_9729",
|
|
55
|
+
x1: "12.0362",
|
|
56
|
+
y1: "12.0393",
|
|
57
|
+
x2: "7.59319",
|
|
58
|
+
y2: "16.4316",
|
|
59
|
+
gradientUnits: "userSpaceOnUse"
|
|
60
|
+
},
|
|
61
|
+
/* @__PURE__ */ React.createElement("stop", { offset: "0.176", stopColor: "#0052CC" }),
|
|
62
|
+
/* @__PURE__ */ React.createElement("stop", { offset: "1", stopColor: "#2684FF" })
|
|
63
|
+
), /* @__PURE__ */ React.createElement("clipPath", { id: "clip0_11637_9729" }, /* @__PURE__ */ React.createElement("rect", { width: "24", height: "24", fill: "white" }))));
|
|
64
|
+
}
|
|
65
|
+
export {
|
|
66
|
+
SvgJira
|
|
67
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
4
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
+
var __spreadValues = (a, b) => {
|
|
7
|
+
for (var prop in b || (b = {}))
|
|
8
|
+
if (__hasOwnProp.call(b, prop))
|
|
9
|
+
__defNormalProp(a, prop, b[prop]);
|
|
10
|
+
if (__getOwnPropSymbols)
|
|
11
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
12
|
+
if (__propIsEnum.call(b, prop))
|
|
13
|
+
__defNormalProp(a, prop, b[prop]);
|
|
14
|
+
}
|
|
15
|
+
return a;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
// src/components/icon/available-icons/linear.tsx
|
|
19
|
+
import * as React from "react";
|
|
20
|
+
function SvgLinearDark(props) {
|
|
21
|
+
return /* @__PURE__ */ React.createElement("svg", __spreadValues({ viewBox: "0 0 24 24", fill: "none" }, props), /* @__PURE__ */ React.createElement("g", { clipPath: "url(#clip0_11637_9734)" }, /* @__PURE__ */ React.createElement(
|
|
22
|
+
"path",
|
|
23
|
+
{
|
|
24
|
+
d: "M3.22057 14.0741C3.18052 13.9034 3.38392 13.7958 3.50792 13.9198L10.0802 20.4921C10.2042 20.6161 10.0966 20.8195 9.9259 20.7794C6.60927 20.0014 3.9986 17.3907 3.22057 14.0741ZM3.00034 11.44C2.99716 11.491 3.01634 11.5408 3.05246 11.5769L12.4231 20.9475C12.4592 20.9837 12.509 21.0029 12.56 20.9997C12.9864 20.9731 13.4048 20.9169 13.8132 20.833C13.9508 20.8047 13.9986 20.6357 13.8993 20.5363L3.46367 10.1007C3.36434 10.0014 3.19526 10.0492 3.167 10.1868C3.08313 10.5952 3.0269 11.0136 3.00034 11.44ZM3.75797 8.34697C3.728 8.41425 3.74326 8.49288 3.79534 8.54497L15.455 20.2046C15.5071 20.2567 15.5857 20.272 15.653 20.242C15.9745 20.0988 16.2861 19.9373 16.5864 19.7589C16.6858 19.6999 16.7011 19.5633 16.6194 19.4816L4.51842 7.3806C4.43668 7.29887 4.30013 7.3142 4.24109 7.41358C4.06265 7.71389 3.90117 8.02547 3.75797 8.34697ZM5.27857 6.25332C5.21195 6.1867 5.20783 6.07985 5.27059 6.00958C6.92031 4.16268 9.32005 3 11.9913 3C16.9667 3 21 7.03331 21 12.0087C21 14.6799 19.8373 17.0797 17.9904 18.7294C17.9202 18.7922 17.8133 18.788 17.7467 18.7214L5.27857 6.25332Z",
|
|
25
|
+
fill: "currentColor"
|
|
26
|
+
}
|
|
27
|
+
)), /* @__PURE__ */ React.createElement("defs", null, /* @__PURE__ */ React.createElement("clipPath", { id: "clip0_11637_9734" }, /* @__PURE__ */ React.createElement("rect", { width: "24", height: "24", fill: "currentColor" }))));
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
SvgLinearDark
|
|
31
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -4267,7 +4267,7 @@ var NotificationBar = ({
|
|
|
4267
4267
|
const keyListener = (e) => {
|
|
4268
4268
|
if (e.key === "Escape") {
|
|
4269
4269
|
e.preventDefault();
|
|
4270
|
-
onCloseClick();
|
|
4270
|
+
onCloseClick && onCloseClick();
|
|
4271
4271
|
}
|
|
4272
4272
|
};
|
|
4273
4273
|
window.addEventListener("keydown", keyListener);
|
|
@@ -4310,7 +4310,7 @@ var NotificationBar = ({
|
|
|
4310
4310
|
children
|
|
4311
4311
|
)
|
|
4312
4312
|
)
|
|
4313
|
-
), /* @__PURE__ */ React34.createElement(
|
|
4313
|
+
), onCloseClick && /* @__PURE__ */ React34.createElement(
|
|
4314
4314
|
icon_button_default,
|
|
4315
4315
|
{
|
|
4316
4316
|
iconColor: (_c = severityStyles[severity].color) != null ? _c : "var(--lns-color-white)",
|