@loomhq/lens 11.15.1 → 11.16.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/atlassian.d.ts +2 -0
- package/dist/components/icon/available-icons/index.d.ts +1 -0
- package/dist/components/icon-button/icon-button.d.ts +3 -1
- package/dist/icons/atlassian.d.ts +2 -0
- package/dist/icons/atlassian.js +31 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.js +956 -959
- package/dist/icons/thumbs-down.js +9 -17
- package/dist/icons/thumbs-up.js +9 -17
- package/dist/index.js +7 -2
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ export { SvgArrowLeft } from './arrow-left';
|
|
|
17
17
|
export { SvgArrowRight } from './arrow-right';
|
|
18
18
|
export { SvgArrowLeftAlt } from './arrow-left-alt';
|
|
19
19
|
export { SvgArrowRightAlt } from './arrow-right-alt';
|
|
20
|
+
export { SvgAtlassian } from './atlassian';
|
|
20
21
|
export { SvgAtMention } from './at-mention';
|
|
21
22
|
export { SvgAutoChapters } from './auto-chapters';
|
|
22
23
|
export { SvgAutoTasks } from './auto-tasks';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
export declare const IconButtonBox: import("@emotion/styled").StyledComponent<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, IconButtonBoxProps, object>;
|
|
3
|
-
declare const IconButton: ({ altText, icon, onClick, iconColor, isActive, isDisabled, size, ...props }: IconButtonProps & React.ComponentProps<typeof IconButtonBox>) => React.JSX.Element;
|
|
3
|
+
declare const IconButton: ({ altText, icon, onClick, iconColor, backgroundColor, isActive, isDisabled, size, ...props }: IconButtonProps & React.ComponentProps<typeof IconButtonBox>) => React.JSX.Element;
|
|
4
4
|
type IconButtonProps = {
|
|
5
5
|
altText: string;
|
|
6
6
|
icon?: React.ReactNode;
|
|
7
7
|
onClick?: React.ReactEventHandler;
|
|
8
8
|
iconColor?: string;
|
|
9
|
+
backgroundColor?: string;
|
|
9
10
|
isActive?: boolean;
|
|
10
11
|
isDisabled?: boolean;
|
|
11
12
|
size?: 'small' | 'medium' | 'large';
|
|
@@ -13,5 +14,6 @@ type IconButtonProps = {
|
|
|
13
14
|
type IconButtonBoxProps = {
|
|
14
15
|
size?: 'small' | 'medium';
|
|
15
16
|
isActive?: boolean;
|
|
17
|
+
backgroundColor?: string;
|
|
16
18
|
};
|
|
17
19
|
export default IconButton;
|
|
@@ -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/atlassian.tsx
|
|
19
|
+
import * as React from "react";
|
|
20
|
+
function SvgAtlassian(props) {
|
|
21
|
+
return /* @__PURE__ */ React.createElement("svg", __spreadValues({ viewBox: "0 0 24 24", fill: "none" }, props), /* @__PURE__ */ React.createElement(
|
|
22
|
+
"path",
|
|
23
|
+
{
|
|
24
|
+
d: "M17.6587 16.7836L9.72008 0.906309C9.56381 0.562509 9.40754 0.5 9.22001 0.5C9.06374 0.5 8.87621 0.562509 8.68868 0.875054C7.56352 2.65656 7.06345 4.71936 7.06345 6.87592C7.06345 9.87635 8.59492 12.6893 10.8452 17.2212C11.0953 17.7212 11.2828 17.815 11.7204 17.815H17.2212C17.6275 17.815 17.8463 17.6587 17.8463 17.3462C17.8463 17.1899 17.815 17.0961 17.6587 16.7836ZM6.12581 9.28252C5.50072 8.34488 5.31319 8.28237 5.15692 8.28237C5.00065 8.28237 4.90689 8.34488 4.6256 8.90746L0.656273 16.8461C0.531255 17.0961 0.5 17.1899 0.5 17.3149C0.5 17.565 0.718782 17.815 1.1876 17.815H6.78216C7.15721 17.815 7.4385 17.5025 7.59477 16.9086C7.7823 16.1585 7.84481 15.5022 7.84481 14.7208C7.84481 12.533 6.87592 10.4077 6.12581 9.28252Z",
|
|
25
|
+
fill: "currentColor"
|
|
26
|
+
}
|
|
27
|
+
));
|
|
28
|
+
}
|
|
29
|
+
export {
|
|
30
|
+
SvgAtlassian
|
|
31
|
+
};
|
package/dist/icons/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export { SvgArrowLeft } from './arrow-left';
|
|
|
17
17
|
export { SvgArrowRight } from './arrow-right';
|
|
18
18
|
export { SvgArrowLeftAlt } from './arrow-left-alt';
|
|
19
19
|
export { SvgArrowRightAlt } from './arrow-right-alt';
|
|
20
|
+
export { SvgAtlassian } from './atlassian';
|
|
20
21
|
export { SvgAtMention } from './at-mention';
|
|
21
22
|
export { SvgAutoChapters } from './auto-chapters';
|
|
22
23
|
export { SvgAutoTasks } from './auto-tasks';
|