@hive-ui/icons 0.2.1 → 0.2.3
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/CalendarIcon.d.mts +18 -0
- package/dist/CalendarIcon.mjs +36 -0
- package/dist/ChevronLeftIcon.d.mts +18 -0
- package/dist/ChevronLeftIcon.mjs +36 -0
- package/dist/CopyIcon.d.mts +18 -0
- package/dist/CopyIcon.mjs +36 -0
- package/dist/LogOutIcon.d.mts +18 -0
- package/dist/LogOutIcon.mjs +37 -0
- package/dist/LoginIcon.d.mts +18 -0
- package/dist/LoginIcon.mjs +43 -0
- package/dist/OrderedListIcon.d.mts +18 -0
- package/dist/OrderedListIcon.mjs +36 -0
- package/dist/UsersIcon.d.mts +18 -0
- package/dist/UsersIcon.mjs +38 -0
- package/package.json +10 -3
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IconWrapperProps } from "./helpers/IconWrapper.mjs";
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
import * as _$_hive_ui_box0 from "@hive-ui/box";
|
|
4
|
+
import * as _$_hive_ui_style_props0 from "@hive-ui/style-props";
|
|
5
|
+
|
|
6
|
+
//#region src/CalendarIcon.d.ts
|
|
7
|
+
type CalendarIconProps = IconWrapperProps & {
|
|
8
|
+
title?: string;
|
|
9
|
+
decorative: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const CalendarIcon: _$react.ForwardRefExoticComponent<Pick<_$_hive_ui_box0.BoxProps<"span">, "as" | "children" | "color" | "display" | "element"> & {
|
|
12
|
+
size?: _$_hive_ui_style_props0.IconSize;
|
|
13
|
+
} & {
|
|
14
|
+
title?: string;
|
|
15
|
+
decorative: boolean;
|
|
16
|
+
} & _$react.RefAttributes<HTMLElement>>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { CalendarIcon, CalendarIconProps };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IconWrapper } from "./helpers/IconWrapper.mjs";
|
|
2
|
+
import { forwardRef, useId } from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
//#region src/CalendarIcon.tsx
|
|
5
|
+
const CalendarIcon = forwardRef(({ as, display, element = "ICON", size, color, title, decorative }, ref) => {
|
|
6
|
+
const titleId = `CalendarIcon-${useId()}`;
|
|
7
|
+
if (!decorative && title == null) throw new Error("[CalendarIcon]: Missing a title for non-decorative icon.");
|
|
8
|
+
return /* @__PURE__ */ jsx(IconWrapper, {
|
|
9
|
+
as,
|
|
10
|
+
display,
|
|
11
|
+
element,
|
|
12
|
+
size,
|
|
13
|
+
color,
|
|
14
|
+
ref,
|
|
15
|
+
children: /* @__PURE__ */ jsxs("svg", {
|
|
16
|
+
role: "img",
|
|
17
|
+
"aria-hidden": decorative,
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
width: "100%",
|
|
20
|
+
height: "100%",
|
|
21
|
+
viewBox: "0 0 20 20",
|
|
22
|
+
"aria-labelledby": titleId,
|
|
23
|
+
children: [title ? /* @__PURE__ */ jsx("title", {
|
|
24
|
+
id: titleId,
|
|
25
|
+
children: title
|
|
26
|
+
}) : null, /* @__PURE__ */ jsx("path", {
|
|
27
|
+
fill: "currentColor",
|
|
28
|
+
fillRule: "evenodd",
|
|
29
|
+
d: "M13.5 2a.5.5 0 01.492.41L14 2.5v1.499L17.5 4a.5.5 0 01.492.41L18 4.5v13a.5.5 0 01-.5.5h-15a.5.5 0 01-.5-.5v-13a.5.5 0 01.5-.5L6 3.999V2.5a.5.5 0 01.992-.09L7 2.5v1.499h6V2.5a.5.5 0 01.5-.5zm3.499 6.999h-14v8h14V9zM5.745 14l.118.008a.748.748 0 01.325.133l.091.077a.75.75 0 11-.63-.211L5.745 14zm4.252 0l.118.009a.75.75 0 01.324.132l.09.077a.75.75 0 11-.63-.212L9.997 14zm4.253 0l.116.009a.75.75 0 01.323.132l.09.077a.75.75 0 11-.53-.218zm-8.5-3.5l.115.008a.75.75 0 01.324.134l.091.077a.75.75 0 11-.53-.22zm8.5 0l.094.005a.75.75 0 11-.188 0l.094-.006zm-4.25 0l.094.005a.75.75 0 11-.194.001l.1-.007zM6 4.998H3l-.001 3h14v-3H14v1a.5.5 0 01-.992.09L13 6V5H7v1a.5.5 0 01-.992.09L6 6V5z"
|
|
30
|
+
})]
|
|
31
|
+
})
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
CalendarIcon.displayName = "CalendarIcon";
|
|
35
|
+
//#endregion
|
|
36
|
+
export { CalendarIcon };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IconWrapperProps } from "./helpers/IconWrapper.mjs";
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
import * as _$_hive_ui_box0 from "@hive-ui/box";
|
|
4
|
+
import * as _$_hive_ui_style_props0 from "@hive-ui/style-props";
|
|
5
|
+
|
|
6
|
+
//#region src/ChevronLeftIcon.d.ts
|
|
7
|
+
type ChevronLeftIconProps = IconWrapperProps & {
|
|
8
|
+
title?: string;
|
|
9
|
+
decorative: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const ChevronLeftIcon: _$react.ForwardRefExoticComponent<Pick<_$_hive_ui_box0.BoxProps<"span">, "as" | "children" | "color" | "display" | "element"> & {
|
|
12
|
+
size?: _$_hive_ui_style_props0.IconSize;
|
|
13
|
+
} & {
|
|
14
|
+
title?: string;
|
|
15
|
+
decorative: boolean;
|
|
16
|
+
} & _$react.RefAttributes<HTMLElement>>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { ChevronLeftIcon, ChevronLeftIconProps };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IconWrapper } from "./helpers/IconWrapper.mjs";
|
|
2
|
+
import { forwardRef, useId } from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
//#region src/ChevronLeftIcon.tsx
|
|
5
|
+
const ChevronLeftIcon = forwardRef(({ as, display, element = "ICON", size, color, title, decorative }, ref) => {
|
|
6
|
+
const titleId = `ChevronLeftIcon-${useId()}`;
|
|
7
|
+
if (!decorative && title == null) throw new Error("[ChevronLeftIcon]: Missing a title for non-decorative icon.");
|
|
8
|
+
return /* @__PURE__ */ jsx(IconWrapper, {
|
|
9
|
+
as,
|
|
10
|
+
display,
|
|
11
|
+
element,
|
|
12
|
+
size,
|
|
13
|
+
color,
|
|
14
|
+
ref,
|
|
15
|
+
children: /* @__PURE__ */ jsxs("svg", {
|
|
16
|
+
role: "img",
|
|
17
|
+
"aria-hidden": decorative,
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
width: "100%",
|
|
20
|
+
height: "100%",
|
|
21
|
+
viewBox: "0 0 20 20",
|
|
22
|
+
"aria-labelledby": titleId,
|
|
23
|
+
children: [title ? /* @__PURE__ */ jsx("title", {
|
|
24
|
+
id: titleId,
|
|
25
|
+
children: title
|
|
26
|
+
}) : null, /* @__PURE__ */ jsx("path", {
|
|
27
|
+
fill: "currentColor",
|
|
28
|
+
fillRule: "evenodd",
|
|
29
|
+
d: "M10.293 6.293a1 1 0 011.497 1.32l-.083.094L9.415 10l2.292 2.293a1 1 0 01.083 1.32l-.083.094a1 1 0 01-1.32.083l-.094-.083-3-3a1 1 0 01-.083-1.32l.083-.094 3-3z"
|
|
30
|
+
})]
|
|
31
|
+
})
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
ChevronLeftIcon.displayName = "ChevronLeftIcon";
|
|
35
|
+
//#endregion
|
|
36
|
+
export { ChevronLeftIcon };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IconWrapperProps } from "./helpers/IconWrapper.mjs";
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
import * as _$_hive_ui_box0 from "@hive-ui/box";
|
|
4
|
+
import * as _$_hive_ui_style_props0 from "@hive-ui/style-props";
|
|
5
|
+
|
|
6
|
+
//#region src/CopyIcon.d.ts
|
|
7
|
+
type CopyIconProps = IconWrapperProps & {
|
|
8
|
+
title?: string;
|
|
9
|
+
decorative: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const CopyIcon: _$react.ForwardRefExoticComponent<Pick<_$_hive_ui_box0.BoxProps<"span">, "as" | "children" | "color" | "display" | "element"> & {
|
|
12
|
+
size?: _$_hive_ui_style_props0.IconSize;
|
|
13
|
+
} & {
|
|
14
|
+
title?: string;
|
|
15
|
+
decorative: boolean;
|
|
16
|
+
} & _$react.RefAttributes<HTMLElement>>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { CopyIcon, CopyIconProps };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IconWrapper } from "./helpers/IconWrapper.mjs";
|
|
2
|
+
import { forwardRef, useId } from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
//#region src/CopyIcon.tsx
|
|
5
|
+
const CopyIcon = forwardRef(({ as, display, element = "ICON", size, color, title, decorative }, ref) => {
|
|
6
|
+
const titleId = `CopyIcon-${useId()}`;
|
|
7
|
+
if (!decorative && title == null) throw new Error("[CopyIcon]: Missing a title for non-decorative icon.");
|
|
8
|
+
return /* @__PURE__ */ jsx(IconWrapper, {
|
|
9
|
+
as,
|
|
10
|
+
display,
|
|
11
|
+
element,
|
|
12
|
+
size,
|
|
13
|
+
color,
|
|
14
|
+
ref,
|
|
15
|
+
children: /* @__PURE__ */ jsxs("svg", {
|
|
16
|
+
role: "img",
|
|
17
|
+
"aria-hidden": decorative,
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
width: "100%",
|
|
20
|
+
height: "100%",
|
|
21
|
+
viewBox: "0 0 20 20",
|
|
22
|
+
"aria-labelledby": titleId,
|
|
23
|
+
children: [title ? /* @__PURE__ */ jsx("title", {
|
|
24
|
+
id: titleId,
|
|
25
|
+
children: title
|
|
26
|
+
}) : null, /* @__PURE__ */ jsx("path", {
|
|
27
|
+
fill: "currentColor",
|
|
28
|
+
fillRule: "evenodd",
|
|
29
|
+
d: "M13.469 2.5c.63 0 1.15.48 1.212 1.094l.007.125-.001 1.593h1.407c.73 0 1.331.558 1.4 1.271l.006.136v9.375c0 .776-.63 1.406-1.406 1.406H6.719c-.777 0-1.407-.63-1.407-1.406v-1.407H3.719c-.631 0-1.15-.48-1.213-1.094L2.5 13.47v-9.75c0-.631.48-1.15 1.094-1.213L3.72 2.5h9.75zm2.625 3.75H6.719a.469.469 0 00-.469.469v9.375c0 .259.21.468.469.468h9.375c.259 0 .468-.21.468-.468V6.719a.469.469 0 00-.468-.469zm-2.625-2.813h-9.75a.281.281 0 00-.274.217l-.007.065v9.75c0 .133.092.244.216.274l.065.007 1.593-.001v-7.03c0-.731.558-1.332 1.271-1.4l.136-.006 7.031-.001V3.719a.281.281 0 00-.217-.274l-.064-.007z"
|
|
30
|
+
})]
|
|
31
|
+
})
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
CopyIcon.displayName = "CopyIcon";
|
|
35
|
+
//#endregion
|
|
36
|
+
export { CopyIcon };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IconWrapperProps } from "./helpers/IconWrapper.mjs";
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
import * as _$_hive_ui_box0 from "@hive-ui/box";
|
|
4
|
+
import * as _$_hive_ui_style_props0 from "@hive-ui/style-props";
|
|
5
|
+
|
|
6
|
+
//#region src/LogOutIcon.d.ts
|
|
7
|
+
type LogOutIconProps = IconWrapperProps & {
|
|
8
|
+
title?: string;
|
|
9
|
+
decorative: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const LogOutIcon: _$react.ForwardRefExoticComponent<Pick<_$_hive_ui_box0.BoxProps<"span">, "as" | "children" | "color" | "display" | "element"> & {
|
|
12
|
+
size?: _$_hive_ui_style_props0.IconSize;
|
|
13
|
+
} & {
|
|
14
|
+
title?: string;
|
|
15
|
+
decorative: boolean;
|
|
16
|
+
} & _$react.RefAttributes<HTMLElement>>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { LogOutIcon, LogOutIconProps };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IconWrapper } from "./helpers/IconWrapper.mjs";
|
|
2
|
+
import { forwardRef, useId } from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
//#region src/LogOutIcon.tsx
|
|
5
|
+
const LogOutIcon = forwardRef(({ as, display, element = "ICON", size, color, title, decorative }, ref) => {
|
|
6
|
+
const titleId = `LogOutIcon-${useId()}`;
|
|
7
|
+
if (!decorative && title == null) throw new Error("[LogOutIcon]: Missing a title for non-decorative icon.");
|
|
8
|
+
return /* @__PURE__ */ jsx(IconWrapper, {
|
|
9
|
+
as,
|
|
10
|
+
display,
|
|
11
|
+
element,
|
|
12
|
+
size,
|
|
13
|
+
color,
|
|
14
|
+
ref,
|
|
15
|
+
children: /* @__PURE__ */ jsxs("svg", {
|
|
16
|
+
role: "img",
|
|
17
|
+
"aria-hidden": decorative,
|
|
18
|
+
width: "100%",
|
|
19
|
+
height: "100%",
|
|
20
|
+
viewBox: "0 0 20 20",
|
|
21
|
+
fill: "none",
|
|
22
|
+
"aria-labelledby": titleId,
|
|
23
|
+
children: [title ? /* @__PURE__ */ jsx("title", {
|
|
24
|
+
id: titleId,
|
|
25
|
+
children: title
|
|
26
|
+
}) : null, /* @__PURE__ */ jsx("path", {
|
|
27
|
+
fill: "currentColor",
|
|
28
|
+
fillRule: "evenodd",
|
|
29
|
+
clipRule: "evenodd",
|
|
30
|
+
d: "M5.409 3.5a1.528 1.528 0 00-1.004.404c-.264.25-.42.594-.405.965V15.13c-.015.37.14.716.405.965a1.529 1.529 0 001.004.404h6.182a.5.5 0 000-1H5.42a.529.529 0 01-.33-.132.255.255 0 01-.092-.199L5 15.143V4.83c-.004-.057.018-.13.09-.199a.528.528 0 01.33-.131h6.17a.5.5 0 000-1H5.41zm7.237 3.65a.5.5 0 01.708 0l2.5 2.5A.5.5 0 0116 10v.006a.5.5 0 01-.146.35l-2.5 2.5a.5.5 0 01-.708-.707l1.647-1.646H9a.5.5 0 010-1h5.293l-1.647-1.647a.5.5 0 010-.707z"
|
|
31
|
+
})]
|
|
32
|
+
})
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
LogOutIcon.displayName = "LogOutIcon";
|
|
36
|
+
//#endregion
|
|
37
|
+
export { LogOutIcon };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IconWrapperProps } from "./helpers/IconWrapper.mjs";
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
import * as _$_hive_ui_box0 from "@hive-ui/box";
|
|
4
|
+
import * as _$_hive_ui_style_props0 from "@hive-ui/style-props";
|
|
5
|
+
|
|
6
|
+
//#region src/LoginIcon.d.ts
|
|
7
|
+
type LogInIconProps = IconWrapperProps & {
|
|
8
|
+
title?: string;
|
|
9
|
+
decorative: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const LogInIcon: _$react.ForwardRefExoticComponent<Pick<_$_hive_ui_box0.BoxProps<"span">, "as" | "children" | "color" | "display" | "element"> & {
|
|
12
|
+
size?: _$_hive_ui_style_props0.IconSize;
|
|
13
|
+
} & {
|
|
14
|
+
title?: string;
|
|
15
|
+
decorative: boolean;
|
|
16
|
+
} & _$react.RefAttributes<HTMLElement>>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { LogInIcon, LogInIconProps };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { IconWrapper } from "./helpers/IconWrapper.mjs";
|
|
2
|
+
import { forwardRef, useId } from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
//#region src/LoginIcon.tsx
|
|
5
|
+
const LogInIcon = forwardRef(({ as, display, element = "ICON", size, color, title, decorative }, ref) => {
|
|
6
|
+
const titleId = `LogInIcon-${useId()}`;
|
|
7
|
+
if (!decorative && title == null) throw new Error("[LogInIcon]: Missing a title for non-decorative icon.");
|
|
8
|
+
return /* @__PURE__ */ jsx(IconWrapper, {
|
|
9
|
+
as,
|
|
10
|
+
display,
|
|
11
|
+
element,
|
|
12
|
+
size,
|
|
13
|
+
color,
|
|
14
|
+
ref,
|
|
15
|
+
children: /* @__PURE__ */ jsxs("svg", {
|
|
16
|
+
role: "img",
|
|
17
|
+
"aria-hidden": decorative,
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
width: "100%",
|
|
20
|
+
height: "100%",
|
|
21
|
+
fill: "none",
|
|
22
|
+
viewBox: "0 0 20 20",
|
|
23
|
+
"aria-labelledby": titleId,
|
|
24
|
+
children: [
|
|
25
|
+
title ? /* @__PURE__ */ jsx("title", {
|
|
26
|
+
id: titleId,
|
|
27
|
+
children: title
|
|
28
|
+
}) : null,
|
|
29
|
+
/* @__PURE__ */ jsx("path", {
|
|
30
|
+
fill: "currentColor",
|
|
31
|
+
d: "M14.59 3.5h.022c.362.016.717.154.982.404.264.25.42.594.405.965V15.13c.015.37-.14.716-.405.965a1.53 1.53 0 01-1.004.404H8.408a.5.5 0 010-1h6.17a.528.528 0 00.33-.132.255.255 0 00.092-.199l-.001-.026V4.83c.004-.057-.018-.13-.09-.199a.528.528 0 00-.33-.131h-6.17a.5.5 0 110-1h6.181z"
|
|
32
|
+
}),
|
|
33
|
+
/* @__PURE__ */ jsx("path", {
|
|
34
|
+
fill: "currentColor",
|
|
35
|
+
d: "M8.145 12.856a.5.5 0 00.708 0l2.5-2.5a.499.499 0 00.146-.347v-.006a.5.5 0 00-.146-.354l-2.5-2.5a.5.5 0 00-.708.707l1.647 1.647H4.499a.5.5 0 000 1h5.293l-1.647 1.646a.5.5 0 000 .707z"
|
|
36
|
+
})
|
|
37
|
+
]
|
|
38
|
+
})
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
LogInIcon.displayName = "LogInIcon";
|
|
42
|
+
//#endregion
|
|
43
|
+
export { LogInIcon };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IconWrapperProps } from "./helpers/IconWrapper.mjs";
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
import * as _$_hive_ui_box0 from "@hive-ui/box";
|
|
4
|
+
import * as _$_hive_ui_style_props0 from "@hive-ui/style-props";
|
|
5
|
+
|
|
6
|
+
//#region src/OrderedListIcon.d.ts
|
|
7
|
+
type OrderedListIconProps = IconWrapperProps & {
|
|
8
|
+
title?: string;
|
|
9
|
+
decorative: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const OrderedListIcon: _$react.ForwardRefExoticComponent<Pick<_$_hive_ui_box0.BoxProps<"span">, "as" | "children" | "color" | "display" | "element"> & {
|
|
12
|
+
size?: _$_hive_ui_style_props0.IconSize;
|
|
13
|
+
} & {
|
|
14
|
+
title?: string;
|
|
15
|
+
decorative: boolean;
|
|
16
|
+
} & _$react.RefAttributes<HTMLElement>>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { OrderedListIcon, OrderedListIconProps };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IconWrapper } from "./helpers/IconWrapper.mjs";
|
|
2
|
+
import { forwardRef, useId } from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
//#region src/OrderedListIcon.tsx
|
|
5
|
+
const OrderedListIcon = forwardRef(({ as, display, element = "ICON", size, color, title, decorative }, ref) => {
|
|
6
|
+
const titleId = `OrderedListIcon-${useId()}`;
|
|
7
|
+
if (!decorative && title == null) throw new Error("[OrderedListIcon]: Missing a title for non-decorative icon.");
|
|
8
|
+
return /* @__PURE__ */ jsx(IconWrapper, {
|
|
9
|
+
as,
|
|
10
|
+
display,
|
|
11
|
+
element,
|
|
12
|
+
size,
|
|
13
|
+
color,
|
|
14
|
+
ref,
|
|
15
|
+
children: /* @__PURE__ */ jsxs("svg", {
|
|
16
|
+
role: "img",
|
|
17
|
+
"aria-hidden": decorative,
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
width: "100%",
|
|
20
|
+
height: "100%",
|
|
21
|
+
fill: "none",
|
|
22
|
+
viewBox: "0 0 20 20",
|
|
23
|
+
"aria-labelledby": titleId,
|
|
24
|
+
children: [title ? /* @__PURE__ */ jsx("title", {
|
|
25
|
+
id: titleId,
|
|
26
|
+
children: title
|
|
27
|
+
}) : null, /* @__PURE__ */ jsx("path", {
|
|
28
|
+
fill: "currentColor",
|
|
29
|
+
d: "M5.595 4.6a.625.625 0 00-.993-.505l-1.37 1a.625.625 0 10.736 1.01l.377-.275V8.4a.625.625 0 101.25 0V4.6zM8.5 5a.5.5 0 000 1h8a.5.5 0 000-1h-8zM8 9.5a.5.5 0 01.5-.5h8a.5.5 0 010 1h-8a.5.5 0 01-.5-.5zm0 4a.5.5 0 01.5-.5h8a.5.5 0 010 1h-8a.5.5 0 01-.5-.5zm-3.362-2.4a.523.523 0 00-.375.162.588.588 0 00-.163.409.5.5 0 01-1 0c0-.412.158-.81.445-1.105a1.52 1.52 0 012.187 0c.286.295.445.693.445 1.105 0 .22-.026.425-.109.637-.08.202-.2.38-.342.563-.144.186-.55.607-.918.979H5.85a.5.5 0 110 1H3.6a.5.5 0 01-.35-.856l.062-.062a108.383 108.383 0 00.7-.699c.41-.415.815-.834.924-.974a1.36 1.36 0 00.202-.317.696.696 0 00.039-.271.589.589 0 00-.163-.41.523.523 0 00-.376-.161z"
|
|
30
|
+
})]
|
|
31
|
+
})
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
OrderedListIcon.displayName = "OrderedListIcon";
|
|
35
|
+
//#endregion
|
|
36
|
+
export { OrderedListIcon };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IconWrapperProps } from "./helpers/IconWrapper.mjs";
|
|
2
|
+
import * as _$react from "react";
|
|
3
|
+
import * as _$_hive_ui_box0 from "@hive-ui/box";
|
|
4
|
+
import * as _$_hive_ui_style_props0 from "@hive-ui/style-props";
|
|
5
|
+
|
|
6
|
+
//#region src/UsersIcon.d.ts
|
|
7
|
+
type UsersIconProps = IconWrapperProps & {
|
|
8
|
+
title?: string;
|
|
9
|
+
decorative: boolean;
|
|
10
|
+
};
|
|
11
|
+
declare const UsersIcon: _$react.ForwardRefExoticComponent<Pick<_$_hive_ui_box0.BoxProps<"span">, "as" | "children" | "color" | "display" | "element"> & {
|
|
12
|
+
size?: _$_hive_ui_style_props0.IconSize;
|
|
13
|
+
} & {
|
|
14
|
+
title?: string;
|
|
15
|
+
decorative: boolean;
|
|
16
|
+
} & _$react.RefAttributes<HTMLElement>>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { UsersIcon, UsersIconProps };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { IconWrapper } from "./helpers/IconWrapper.mjs";
|
|
2
|
+
import { forwardRef, useId } from "react";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
//#region src/UsersIcon.tsx
|
|
5
|
+
const UsersIcon = forwardRef(({ as, display, element = "ICON", size, color, title, decorative }, ref) => {
|
|
6
|
+
const titleId = `UsersIcon-${useId()}`;
|
|
7
|
+
if (!decorative && title == null) throw new Error("[UsersIcon]: Missing a title for non-decorative icon.");
|
|
8
|
+
return /* @__PURE__ */ jsx(IconWrapper, {
|
|
9
|
+
as,
|
|
10
|
+
display,
|
|
11
|
+
element,
|
|
12
|
+
size,
|
|
13
|
+
color,
|
|
14
|
+
ref,
|
|
15
|
+
children: /* @__PURE__ */ jsxs("svg", {
|
|
16
|
+
role: "img",
|
|
17
|
+
"aria-hidden": decorative,
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
width: "100%",
|
|
20
|
+
height: "100%",
|
|
21
|
+
fill: "none",
|
|
22
|
+
viewBox: "0 0 20 20",
|
|
23
|
+
"aria-labelledby": titleId,
|
|
24
|
+
children: [title ? /* @__PURE__ */ jsx("title", {
|
|
25
|
+
id: titleId,
|
|
26
|
+
children: title
|
|
27
|
+
}) : null, /* @__PURE__ */ jsx("path", {
|
|
28
|
+
fill: "currentColor",
|
|
29
|
+
fillRule: "evenodd",
|
|
30
|
+
d: "M6.856 3C4.959 3 3.421 4.609 3.421 6.593s1.538 3.592 3.435 3.592 3.435-1.608 3.435-3.592S8.753 3 6.856 3zm0 .974c1.383 0 2.504 1.172 2.504 2.619 0 1.446-1.121 2.619-2.504 2.619s-2.504-1.173-2.504-2.62c0-1.446 1.121-2.618 2.504-2.618zm8.447-.175c-1.45-1.224-3.567-1.016-4.774.469a.502.502 0 00.054.686.45.45 0 00.656-.056c.879-1.082 2.423-1.234 3.48-.342 1.056.892 1.24 2.503.414 3.63-.825 1.128-2.36 1.361-3.458.526a2.634 2.634 0 01-.295-.264.451.451 0 00-.658 0 .503.503 0 00.001.689c.125.13.26.252.402.361 1.51 1.147 3.614.827 4.747-.72 1.133-1.546.88-3.756-.57-4.98zM1.5 16.513c0-3.094 2.398-5.602 5.356-5.602 2.958 0 5.356 2.508 5.356 5.602a.476.476 0 01-.465.487H1.965a.476.476 0 01-.465-.487zm9.73-.705c-.313-2.145-2.034-3.806-4.146-3.918l-.228-.006c-2.215 0-4.05 1.702-4.374 3.924l-.028.218h8.803l-.027-.218zm5.114-3.786a5.17 5.17 0 00-4.73-.88.49.49 0 00-.314.606.462.462 0 00.58.328 4.272 4.272 0 013.908.727l.204.17a4.697 4.697 0 011.546 2.997l.005.056h-4.05l-.094.01a.482.482 0 00-.371.477c0 .269.208.487.465.487h4.542l.093-.01a.482.482 0 00.372-.477c-.001-1.769-.8-3.433-2.156-4.49z",
|
|
31
|
+
clipRule: "evenodd"
|
|
32
|
+
})]
|
|
33
|
+
})
|
|
34
|
+
});
|
|
35
|
+
});
|
|
36
|
+
UsersIcon.displayName = "UsersIcon";
|
|
37
|
+
//#endregion
|
|
38
|
+
export { UsersIcon };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hive-ui/icons",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Hive UI Icons",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -9,20 +9,27 @@
|
|
|
9
9
|
"exports": {
|
|
10
10
|
".": "./dist/index.mjs",
|
|
11
11
|
"./ArrowForwardIcon": "./dist/ArrowForwardIcon.mjs",
|
|
12
|
+
"./CalendarIcon": "./dist/CalendarIcon.mjs",
|
|
12
13
|
"./ChevronDisclosureIcon": "./dist/ChevronDisclosureIcon.mjs",
|
|
13
14
|
"./ChevronDownIcon": "./dist/ChevronDownIcon.mjs",
|
|
15
|
+
"./ChevronLeftIcon": "./dist/ChevronLeftIcon.mjs",
|
|
14
16
|
"./ChevronRightIcon": "./dist/ChevronRightIcon.mjs",
|
|
15
17
|
"./ChevronUpIcon": "./dist/ChevronUpIcon.mjs",
|
|
16
18
|
"./ClearIcon": "./dist/ClearIcon.mjs",
|
|
17
19
|
"./CloseIcon": "./dist/CloseIcon.mjs",
|
|
20
|
+
"./CopyIcon": "./dist/CopyIcon.mjs",
|
|
18
21
|
"./ErrorIcon": "./dist/ErrorIcon.mjs",
|
|
19
22
|
"./LinkExternalIcon": "./dist/LinkExternalIcon.mjs",
|
|
20
23
|
"./LinkIcon": "./dist/LinkIcon.mjs",
|
|
24
|
+
"./LoginIcon": "./dist/LoginIcon.mjs",
|
|
25
|
+
"./LogOutIcon": "./dist/LogOutIcon.mjs",
|
|
21
26
|
"./MenuIcon": "./dist/MenuIcon.mjs",
|
|
22
27
|
"./NeutralIcon": "./dist/NeutralIcon.mjs",
|
|
23
28
|
"./NewIcon": "./dist/NewIcon.mjs",
|
|
29
|
+
"./OrderedListIcon": "./dist/OrderedListIcon.mjs",
|
|
24
30
|
"./SelectedIcon": "./dist/SelectedIcon.mjs",
|
|
25
31
|
"./SuccessIcon": "./dist/SuccessIcon.mjs",
|
|
32
|
+
"./UsersIcon": "./dist/UsersIcon.mjs",
|
|
26
33
|
"./WarningIcon": "./dist/WarningIcon.mjs",
|
|
27
34
|
"./package.json": "./package.json"
|
|
28
35
|
},
|
|
@@ -37,8 +44,8 @@
|
|
|
37
44
|
"prepublishOnly": "vp run build"
|
|
38
45
|
},
|
|
39
46
|
"dependencies": {
|
|
40
|
-
"@hive-ui/box": "^0.2.
|
|
41
|
-
"@hive-ui/style-props": "^0.2.
|
|
47
|
+
"@hive-ui/box": "^0.2.3",
|
|
48
|
+
"@hive-ui/style-props": "^0.2.3"
|
|
42
49
|
},
|
|
43
50
|
"devDependencies": {
|
|
44
51
|
"@types/node": "^25.6.2",
|