@odigos/ui-kit 0.0.52 → 0.0.55
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 +33 -0
- package/lib/components/code/index.d.ts +1 -1
- package/lib/components/index.d.ts +55 -55
- package/lib/components.js +8 -8
- package/lib/constants.js +1 -1
- package/lib/containers/dropdowns/condition-dropdown/index.d.ts +15 -0
- package/lib/containers/dropdowns/index.d.ts +8 -7
- package/lib/containers/index.d.ts +39 -39
- package/lib/containers.js +35 -20
- package/lib/functions/split-camel-string/index.d.ts +1 -1
- package/lib/functions.js +5 -5
- package/lib/hooks.js +3 -3
- package/lib/icons/actions/index.d.ts +5 -5
- package/lib/icons/brand/index.d.ts +2 -2
- package/lib/icons/common/index.d.ts +26 -25
- package/lib/icons/common/user-settings-icon/index.d.ts +2 -0
- package/lib/icons/compute-platform/index.d.ts +2 -2
- package/lib/icons/destinations/index.d.ts +59 -59
- package/lib/icons/instrumentation-rules/index.d.ts +4 -4
- package/lib/icons/math/index.d.ts +4 -4
- package/lib/icons/monitors/index.d.ts +3 -3
- package/lib/icons/on-off/index.d.ts +6 -6
- package/lib/icons/overview/index.d.ts +10 -10
- package/lib/icons/social/index.d.ts +1 -1
- package/lib/icons/status/index.d.ts +8 -8
- package/lib/icons.js +44 -37
- package/lib/{index-159d94f2.js → index-016ca5d0.js} +8 -6
- package/lib/{index-f64b0a7d.js → index-59f6374b.js} +23 -23
- package/lib/index-ad99c5fe.js +62 -0
- package/lib/index-b08f2a91.js +145 -0
- package/lib/{index-118aa476.js → index-cccea570.js} +24 -21
- package/lib/{index-4dd6a1ce.js → index-cd2972ab.js} +7 -6
- package/lib/{index-1b057bd1.js → index-d0c9f285.js} +2 -2
- package/lib/{index-b833b336.js → index-dc3c54b0.js} +18 -18
- package/lib/{index-4c55824c.js → index-ff710eae.js} +2 -2
- package/lib/snippets/copy-text/index.d.ts +1 -0
- package/lib/snippets/index.d.ts +1 -1
- package/lib/snippets.js +7 -7
- package/lib/store/useFilterStore.d.ts +3 -0
- package/lib/store.js +1 -1
- package/lib/theme.js +1 -1
- package/lib/types/common/index.d.ts +7 -0
- package/lib/{useTransition-53e46214.js → useTransition-d4c82b6e.js} +1 -1
- package/package.json +2 -2
- package/lib/index-974c5344.js +0 -62
- package/lib/index-f40b593d.js +0 -145
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { StatusType, OtherStatus, SignalType } from './types.js';
|
|
2
2
|
import 'react';
|
|
3
|
-
import './index-
|
|
3
|
+
import './index-cccea570.js';
|
|
4
4
|
import 'styled-components';
|
|
5
|
-
import { L as LogsIcon, M as MetricsIcon, T as TracesIcon, C as CheckCircledIcon, E as ErrorTriangleIcon, W as WarningTriangleIcon, I as InfoIcon, O as OdigosLogo } from './index-
|
|
5
|
+
import { L as LogsIcon, M as MetricsIcon, T as TracesIcon, C as CheckCircledIcon, E as ErrorTriangleIcon, W as WarningTriangleIcon, I as InfoIcon, O as OdigosLogo } from './index-ad99c5fe.js';
|
|
6
6
|
|
|
7
7
|
const capitalizeFirstLetter = (string) => {
|
|
8
8
|
return string.charAt(0).toUpperCase() + string.slice(1);
|
package/lib/snippets/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './add-button';
|
|
2
2
|
export * from './copy-text';
|
|
3
3
|
export * from './edit-button';
|
|
4
|
-
export * from './note-back-to-summary
|
|
4
|
+
export * from './note-back-to-summary';
|
|
5
5
|
export * from './pod-container';
|
|
6
6
|
export * from './react-flow';
|
|
7
7
|
export * from './source-container';
|
package/lib/snippets.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { B as Button, Z as Text, L as NotificationNote } from './index-
|
|
2
|
-
export { ah as AddButton, am as AddNode, an as BaseNode, aj as CopyText, ao as EdgedNode, af as Flow, ap as FrameNode, aq as HeaderNode, av as LabeledEdge, ar as MapItemNode, as as NoDataNode, ak as PodContainer, at as ScrollNode, au as SkeletonNode, al as SourceContainer, ac as nodeConfig } from './index-
|
|
1
|
+
import { B as Button, Z as Text, L as NotificationNote } from './index-cd2972ab.js';
|
|
2
|
+
export { ah as AddButton, am as AddNode, an as BaseNode, aj as CopyText, ao as EdgedNode, af as Flow, ap as FrameNode, aq as HeaderNode, av as LabeledEdge, ar as MapItemNode, as as NoDataNode, ak as PodContainer, at as ScrollNode, au as SkeletonNode, al as SourceContainer, ac as nodeConfig } from './index-cd2972ab.js';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { T as Theme, B as BUTTON_TEXTS, b as DISPLAY_TITLES } from './index-
|
|
5
|
-
import { E as EditIcon } from './index-
|
|
4
|
+
import { T as Theme, B as BUTTON_TEXTS, b as DISPLAY_TITLES } from './index-cccea570.js';
|
|
5
|
+
import { E as EditIcon } from './index-b08f2a91.js';
|
|
6
6
|
import { StatusType } from './types.js';
|
|
7
7
|
import 'styled-components';
|
|
8
|
-
import { I as InfoIcon } from './index-
|
|
9
|
-
import './index-
|
|
8
|
+
import { I as InfoIcon } from './index-ad99c5fe.js';
|
|
9
|
+
import './index-ff710eae.js';
|
|
10
10
|
import './index-ec555530.js';
|
|
11
11
|
import 'react-dom';
|
|
12
|
-
import './useTransition-
|
|
12
|
+
import './useTransition-d4c82b6e.js';
|
|
13
13
|
|
|
14
14
|
const EditButton = ({ label, onClick, variant = 'tertiary', ...props }) => {
|
|
15
15
|
const theme = Theme.useTheme();
|
|
@@ -7,6 +7,7 @@ export interface FiltersState {
|
|
|
7
7
|
kinds?: DropdownProps['options'];
|
|
8
8
|
monitors?: DropdownProps['options'];
|
|
9
9
|
languages?: DropdownProps['options'];
|
|
10
|
+
conditions?: DropdownProps['options'];
|
|
10
11
|
errors?: DropdownProps['options'];
|
|
11
12
|
onlyErrors?: boolean;
|
|
12
13
|
}
|
|
@@ -25,6 +26,8 @@ interface StoreState {
|
|
|
25
26
|
setMonitors: (metrics: FiltersState['monitors']) => void;
|
|
26
27
|
languages: FiltersState['languages'];
|
|
27
28
|
setLanguages: (metrics: FiltersState['languages']) => void;
|
|
29
|
+
conditions: FiltersState['conditions'];
|
|
30
|
+
setConditions: (conditions: FiltersState['conditions']) => void;
|
|
28
31
|
errors: FiltersState['errors'];
|
|
29
32
|
setErrors: (metrics: FiltersState['errors']) => void;
|
|
30
33
|
onlyErrors: FiltersState['onlyErrors'];
|
package/lib/store.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Q as useActiveNodeStore, a0 as useDarkMode, Y as useDataStreamStore, O as useDrawerStore, W as useEntityStore, X as useFilterStore, Z as useInstrumentStore, z as useModalStore, V as useNotificationStore, U as usePendingStore, $ as useSelectedStore, _ as useSetupStore } from './index-
|
|
1
|
+
export { Q as useActiveNodeStore, a0 as useDarkMode, Y as useDataStreamStore, O as useDrawerStore, W as useEntityStore, X as useFilterStore, Z as useInstrumentStore, z as useModalStore, V as useNotificationStore, U as usePendingStore, $ as useSelectedStore, _ as useSetupStore } from './index-cccea570.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import './types.js';
|
|
4
4
|
import 'styled-components';
|
package/lib/theme.js
CHANGED
|
@@ -3,6 +3,7 @@ export type AnyObj = Record<string, any>;
|
|
|
3
3
|
export type SVG = FC<{
|
|
4
4
|
/**
|
|
5
5
|
* Size of the SVG icon
|
|
6
|
+
* @default 16
|
|
6
7
|
*/
|
|
7
8
|
size?: number;
|
|
8
9
|
/**
|
|
@@ -11,12 +12,18 @@ export type SVG = FC<{
|
|
|
11
12
|
fill?: string;
|
|
12
13
|
/**
|
|
13
14
|
* Rotate the SVG icon by a number of degrees
|
|
15
|
+
* @default 0
|
|
14
16
|
*/
|
|
15
17
|
rotate?: number;
|
|
16
18
|
/**
|
|
17
19
|
* Click handler for the SVG icon
|
|
18
20
|
*/
|
|
19
21
|
onClick?: MouseEventHandler<SVGSVGElement>;
|
|
22
|
+
/**
|
|
23
|
+
* Stroke width of the SVG icon
|
|
24
|
+
* @default 1
|
|
25
|
+
*/
|
|
26
|
+
strokeWidth?: number;
|
|
20
27
|
}>;
|
|
21
28
|
export declare enum Tier {
|
|
22
29
|
Community = "community",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z as useModalStore, O as useDrawerStore, Q as useActiveNodeStore } from './index-
|
|
1
|
+
import { z as useModalStore, O as useDrawerStore, Q as useActiveNodeStore } from './index-cccea570.js';
|
|
2
2
|
import { AddNodeTypes, EntityTypes, PayloadCollectionKeyTypes, CodeAttributesKeyTypes, CustomInstrumentationsKeyTypes } from './types.js';
|
|
3
3
|
import React, { useState, useRef, useEffect, useCallback } from 'react';
|
|
4
4
|
import styled from 'styled-components';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@odigos/ui-kit",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.55",
|
|
4
4
|
"author": "Odigos",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"prebuild": "rm -rf lib",
|
|
12
12
|
"build": "rollup -c --bundleConfigAsCjs",
|
|
13
13
|
"watch": "rollup -c --bundleConfigAsCjs -w",
|
|
14
|
-
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
|
|
14
|
+
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --ignore-pattern ./lib --ignore-pattern ./node_modules"
|
|
15
15
|
},
|
|
16
16
|
"release": {
|
|
17
17
|
"branches": [
|
package/lib/index-974c5344.js
DELETED
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { T as Theme } from './index-118aa476.js';
|
|
3
|
-
|
|
4
|
-
const OdigosLogo = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
5
|
-
const theme = Theme.useTheme();
|
|
6
|
-
const fill = f || theme.text.secondary;
|
|
7
|
-
return (React.createElement("svg", { xmlns: 'http://www.w3.org/2000/svg', width: size, height: size * (431 / 511), viewBox: '0 0 511 431', fill: fill, style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
8
|
-
React.createElement("path", { d: 'M308.491 83.3091V0.0765381H472.573C493.785 0.0765381 511 16.4464 511 36.6589V374.508C511 394.72 493.785 411.09 472.573 411.09H308.491V328.396L454.666 263.762C478.721 253.079 493.708 230.791 493.708 205.583C493.708 180.375 478.721 158.011 454.666 147.405L308.414 83.3859L308.491 83.3091Z' }),
|
|
9
|
-
React.createElement("path", { d: 'M202.51 327.781V411.014H38.4269C17.2152 411.014 0 394.644 0 374.431V36.5824C0 16.3698 17.2152 0 38.4269 0H202.51V82.6946L56.3338 147.329C32.2786 158.011 17.2921 180.299 17.2921 205.507C17.2921 230.715 32.2786 253.079 56.3338 263.685L202.586 327.704L202.51 327.781Z' }),
|
|
10
|
-
React.createElement("path", { d: 'M255.462 290.507C302.363 290.507 340.385 252.485 340.385 205.584C340.385 158.682 302.363 120.66 255.462 120.66C208.56 120.66 170.538 158.682 170.538 205.584C170.538 252.485 208.56 290.507 255.462 290.507Z' })));
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
const LogsIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
14
|
-
const theme = Theme.useTheme();
|
|
15
|
-
const fill = f || theme.text.secondary;
|
|
16
|
-
return (React.createElement("svg", { width: size * (16 / 17), height: size, viewBox: '0 0 16 17', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
17
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M2.66699 8.5H6.66699M2.66699 12.5H6.66699M2.66699 4.5L13.3337 4.5M12.4765 12.0146C13.0334 11.61 13.5322 11.1357 13.96 10.6043C14.0138 10.5375 14.0138 10.4441 13.96 10.3773C13.5322 9.84585 13.0334 9.37156 12.4765 8.96696M10.1908 8.96696C9.63389 9.37156 9.13508 9.84585 8.7073 10.3773C8.65356 10.4441 8.65356 10.5375 8.7073 10.6043C9.13508 11.1357 9.63389 11.61 10.1908 12.0146' })));
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
const MetricsIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
21
|
-
const theme = Theme.useTheme();
|
|
22
|
-
const fill = f || theme.text.secondary;
|
|
23
|
-
return (React.createElement("svg", { width: size * (16 / 17), height: size, viewBox: '0 0 16 17', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
24
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M13.2389 9.1672C13.2389 12.4305 10.5935 15.0758 7.33025 15.0758V14.3373M13.2389 9.1672H14.0883C14.0883 5.43485 11.0626 2.40918 7.33025 2.40918V4.73571M13.2389 9.1672L7.33025 9.1672M7.33025 14.3373C4.47491 14.3373 2.16016 12.0225 2.16016 9.1672H2.89877M7.33025 14.3373L7.33025 9.1672M2.89877 9.1672C2.89877 6.71975 4.88281 4.73571 7.33025 4.73571M2.89877 9.1672H7.33025M7.33025 4.73571L7.33025 9.1672' })));
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
const TracesIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
28
|
-
const theme = Theme.useTheme();
|
|
29
|
-
const fill = f || theme.text.secondary;
|
|
30
|
-
return (React.createElement("svg", { width: size * (16 / 17), height: size, viewBox: '0 0 16 17', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
31
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M10.3337 8.5C10.3337 9.60457 11.2291 10.5 12.3337 10.5C13.4382 10.5 14.3337 9.60457 14.3337 8.5C14.3337 7.39543 13.4382 6.5 12.3337 6.5C11.2291 6.5 10.3337 7.39543 10.3337 8.5ZM10.3337 8.5L8.00032 8.5M8.00032 8.5L8.00032 9.3C8.00032 10.4201 8.00032 10.9802 7.78234 11.408C7.59059 11.7843 7.28463 12.0903 6.90831 12.282C6.60852 12.4348 6.24381 12.4805 5.66698 12.4942M8.00032 8.5L8.00032 7.7C8.00032 6.57989 8.00032 6.01984 7.78234 5.59202C7.59059 5.21569 7.28463 4.90973 6.90831 4.71799C6.60852 4.56524 6.24381 4.51952 5.66698 4.50584M5.66698 12.4942C5.66383 11.3923 4.76961 10.5 3.66699 10.5C2.56242 10.5 1.66699 11.3954 1.66699 12.5C1.66699 13.6046 2.56242 14.5 3.66699 14.5C4.77156 14.5 5.66699 13.6046 5.66699 12.5C5.66699 12.4981 5.66699 12.4961 5.66698 12.4942ZM5.66698 4.50584C5.66383 5.60773 4.76961 6.5 3.66699 6.5C2.56242 6.5 1.66699 5.60457 1.66699 4.5C1.66699 3.39543 2.56242 2.5 3.66699 2.5C4.77156 2.5 5.66699 3.39543 5.66699 4.5C5.66699 4.50195 5.66699 4.5039 5.66698 4.50584Z' })));
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
const CheckCircledIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
35
|
-
const theme = Theme.useTheme();
|
|
36
|
-
const fill = f || theme.text.secondary;
|
|
37
|
-
return (React.createElement("svg", { width: size, height: size * (16 / 17), viewBox: '0 0 17 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
38
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M6.41707 8.34197L7.97787 9.90111C8.72855 8.58846 9.76744 7.46337 11.0162 6.61065L11.0837 6.56453M14.8504 8.00039C14.8504 11.3693 12.1193 14.1004 8.75039 14.1004C5.38145 14.1004 2.65039 11.3693 2.65039 8.00039C2.65039 4.63145 5.38145 1.90039 8.75039 1.90039C12.1193 1.90039 14.8504 4.63145 14.8504 8.00039Z' })));
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
const ErrorTriangleIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
42
|
-
const theme = Theme.useTheme();
|
|
43
|
-
const fill = f || theme.text.error;
|
|
44
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
45
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M8 8.66673V6.00006M8 10.9167V10.9175M7.07337 2.18915C7.66595 1.93695 8.33405 1.93695 8.92662 2.18915C10.6942 2.94145 14.8697 9.61453 14.7474 11.3981C14.6994 12.0972 14.3529 12.7408 13.7982 13.1614C12.323 14.2795 3.67698 14.2795 2.20185 13.1614C1.64705 12.7408 1.3006 12.0972 1.25263 11.3981C1.13026 9.61453 5.30575 2.94145 7.07337 2.18915Z' })));
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
const InfoIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
49
|
-
const theme = Theme.useTheme();
|
|
50
|
-
const fill = f || theme.text.secondary;
|
|
51
|
-
return (React.createElement("svg", { width: size * (16 / 17), height: size, viewBox: '0 0 16 17', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
52
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M8 8.91498V11.5816M8 6.66498V6.66423M14 8.91504C14 12.2287 11.3137 14.915 8 14.915C4.68629 14.915 2 12.2287 2 8.91504C2 5.60133 4.68629 2.91504 8 2.91504C11.3137 2.91504 14 5.60133 14 8.91504Z' })));
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
const WarningTriangleIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
56
|
-
const theme = Theme.useTheme();
|
|
57
|
-
const fill = f || theme.text.warning;
|
|
58
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
59
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M8 8.66673V6.00006M8 10.9167V10.9175M7.07337 2.18915C7.66595 1.93695 8.33405 1.93695 8.92662 2.18915C10.6942 2.94145 14.8697 9.61453 14.7474 11.3981C14.6994 12.0972 14.3529 12.7408 13.7982 13.1614C12.323 14.2795 3.67698 14.2795 2.20185 13.1614C1.64705 12.7408 1.3006 12.0972 1.25263 11.3981C1.13026 9.61453 5.30575 2.94145 7.07337 2.18915Z' })));
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
export { CheckCircledIcon as C, ErrorTriangleIcon as E, InfoIcon as I, LogsIcon as L, MetricsIcon as M, OdigosLogo as O, TracesIcon as T, WarningTriangleIcon as W };
|
package/lib/index-f40b593d.js
DELETED
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { T as Theme } from './index-118aa476.js';
|
|
3
|
-
|
|
4
|
-
const ArrowIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
5
|
-
const theme = Theme.useTheme();
|
|
6
|
-
const fill = f || theme.text.secondary;
|
|
7
|
-
return (React.createElement("svg", { width: size * (9 / 13.5), height: size, viewBox: '0 0 9 13.5', xmlns: 'http://www.w3.org/2000/svg', fill: fill, style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
8
|
-
React.createElement("path", { d: 'M0.616717 8.03169L0.616717 5.70699L16.1519 5.70699L16.1519 8.03169L0.616717 8.03169ZM8.11144 -2.81613L9.7262 -1.10502L1.45534 6.87054L9.7262 14.9097L8.17631 16.6208L-1.19268 7.5802L-1.19268 6.1921L8.11144 -2.81613Z' })));
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
const CodeIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
12
|
-
const theme = Theme.useTheme();
|
|
13
|
-
const fill = f || theme.text.secondary;
|
|
14
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
15
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M11.334 12a18.802 18.802 0 0 0 3.231-3.66.62.62 0 0 0 0-.68A18.8 18.8 0 0 0 11.334 4m-6.665 8a18.803 18.803 0 0 1-3.231-3.66.62.62 0 0 1 0-.68A18.801 18.801 0 0 1 4.669 4m4.667-1.332L6.669 13.335' })));
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
const CopyIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
19
|
-
const theme = Theme.useTheme();
|
|
20
|
-
const fill = f || theme.text.secondary;
|
|
21
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
22
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M11.2679 11.2679C11.425 11.2446 11.5649 11.213 11.6967 11.1702C12.7115 10.8405 13.5071 10.0449 13.8369 9.03006C14 8.52795 14 7.90752 14 6.66667C14 5.42581 14 4.80539 13.8369 4.30328C13.5071 3.28848 12.7115 2.49287 11.6967 2.16314C11.1946 2 10.5742 2 9.33333 2C8.09248 2 7.47205 2 6.96994 2.16314C5.95515 2.49287 5.15954 3.28848 4.82981 4.30328C4.787 4.43505 4.75542 4.57498 4.73212 4.73212M11.2679 11.2679C11.3333 10.8262 11.3333 10.2485 11.3333 9.33333C11.3333 8.09248 11.3333 7.47205 11.1702 6.96994C10.8405 5.95515 10.0449 5.15954 9.03006 4.82981C8.52795 4.66667 7.90752 4.66667 6.66667 4.66667C5.75147 4.66667 5.17377 4.66667 4.73212 4.73212M11.2679 11.2679C11.2446 11.425 11.213 11.5649 11.1702 11.6967C10.8405 12.7115 10.0449 13.5071 9.03006 13.8369C8.52795 14 7.90752 14 6.66667 14C5.42581 14 4.80539 14 4.30328 13.8369C3.28848 13.5071 2.49287 12.7115 2.16314 11.6967C2 11.1946 2 10.5742 2 9.33333C2 8.09248 2 7.47205 2.16314 6.96994C2.49287 5.95515 3.28848 5.15954 4.30328 4.82981C4.43505 4.787 4.57498 4.75542 4.73212 4.73212' })));
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
const EditIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
26
|
-
const theme = Theme.useTheme();
|
|
27
|
-
const fill = f || theme.text.secondary;
|
|
28
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
29
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M8 14C10.6787 11.8171 10.7261 16.2383 14 12.6667M2 13.997L3.81777 13.9999C4.07739 14.0003 4.2072 14.0005 4.32937 13.9712C4.43769 13.9452 4.54125 13.9022 4.63623 13.8438C4.74337 13.778 4.83516 13.6858 5.01874 13.5014L13.6676 4.81451C14.021 4.4596 14.1088 3.91087 13.8396 3.47722C13.5142 2.95298 13.0691 2.50221 12.5511 2.16754C12.136 1.8993 11.5908 1.95805 11.2417 2.30864L2.53993 11.0487C2.36296 11.2264 2.27447 11.3153 2.21029 11.4188C2.15338 11.5105 2.11072 11.6104 2.08378 11.7151C2.05341 11.8331 2.05031 11.9588 2.04411 12.2101L2 13.997Z' })));
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
const EditedIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
33
|
-
const theme = Theme.useTheme();
|
|
34
|
-
const fill = f || theme.text.secondary;
|
|
35
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 12 12', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
36
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M10 7C10 8.40015 10 9.1002 9.7275 9.635C9.48785 10.1054 9.1054 10.4878 8.635 10.7275C8.1002 11 7.40015 11 6 11H5C3.59987 11 2.89981 11 2.36503 10.7275C1.89462 10.4878 1.51217 10.1054 1.27249 9.635C1 9.1002 1 8.40015 1 7V6C1 4.59987 1 3.8998 1.27249 3.36502C1.51217 2.89462 1.89462 2.51216 2.36503 2.27248C2.89981 2 3.59987 2 5 2M4.03078 6.75075C4.03511 6.5754 4.03728 6.4877 4.05848 6.4053C4.07728 6.33225 4.10705 6.26255 4.14677 6.1985C4.19156 6.1263 4.25332 6.06425 4.37683 5.9402L9.07495 1.21541C9.31855 0.970724 9.69905 0.929724 9.9888 1.11693C10.3323 1.33886 10.6258 1.6305 10.8504 1.97311C10.863 1.99235 10.876 2.01143 10.8881 2.03098C11.076 2.33363 11.0146 2.7166 10.768 2.9643L6.10685 7.652C5.9787 7.7807 5.91465 7.84505 5.8399 7.891C5.7736 7.93175 5.7013 7.96175 5.6257 7.9799C5.54045 8.00035 5.44985 8.00025 5.26865 7.99995L4 7.9979L4.03078 6.75075Z' })));
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
const ExtendArrowIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
40
|
-
const theme = Theme.useTheme();
|
|
41
|
-
const fill = f || theme.text.secondary;
|
|
42
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 12 12', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
43
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M4 5.06934C4.53103 5.80028 5.15354 6.45498 5.85106 7.01644C5.93869 7.08697 6.06131 7.08697 6.14894 7.01644C6.84646 6.45498 7.46897 5.80028 8 5.06934' })));
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
const ListIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
47
|
-
const theme = Theme.useTheme();
|
|
48
|
-
const fill = f || theme.text.secondary;
|
|
49
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
50
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M2.667 6.001h10.666M2.666 9.335h10.667M2.667 12.668H8m-5.333-10h10.666' })));
|
|
51
|
-
};
|
|
52
|
-
|
|
53
|
-
const NoDataIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
54
|
-
const theme = Theme.useTheme();
|
|
55
|
-
const fill = f || theme.text.secondary;
|
|
56
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
57
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M6.31647 10.9497L7.96639 9.29983M7.96639 9.29983L9.61631 7.64992M7.96639 9.29983L6.31647 7.64992M7.96639 9.29983L9.61631 10.9497M14.6666 8.26667V9.73333C14.6666 11.2268 14.6666 11.9735 14.3759 12.544C14.1203 13.0457 13.7123 13.4537 13.2106 13.7094C12.6401 14 11.8934 14 10.3999 14H5.59992C4.10645 14 3.35971 14 2.78928 13.7094C2.28751 13.4537 1.87956 13.0457 1.6239 12.544C1.33325 11.9735 1.33325 11.2268 1.33325 9.73333V6.26667C1.33325 4.77319 1.33325 4.02646 1.6239 3.45603C1.87956 2.95426 2.28751 2.54631 2.78928 2.29065C3.35971 2 4.10645 2 5.59992 2H5.81029C6.12336 2 6.2799 2 6.42199 2.04315C6.54778 2.08135 6.6648 2.14398 6.76636 2.22745C6.88108 2.32174 6.96791 2.45199 7.14157 2.71248L7.52493 3.28752C7.69859 3.54801 7.78542 3.67826 7.90014 3.77255C8.0017 3.85602 8.11873 3.91865 8.24452 3.95685C8.38661 4 8.54314 4 8.85621 4H10.3999C11.8934 4 12.6401 4 13.2106 4.29065C13.7123 4.54631 14.1203 4.95426 14.3759 5.45603C14.6666 6.02646 14.6666 6.77319 14.6666 8.26667Z' })));
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
const NotebookIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
61
|
-
const theme = Theme.useTheme();
|
|
62
|
-
const fill = f || theme.text.secondary;
|
|
63
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
64
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M8.00016 3.37696V14.3327M8.00016 3.37696C10.0168 2.64365 12.6703 2.23608 14.6668 3.37696V13.7103C12.5356 12.7969 9.9581 13.4427 8.00016 14.3327M8.00016 3.37696C5.98356 2.64365 3.33004 2.23608 1.3335 3.37696V13.7103C3.46472 12.7969 6.04222 13.4427 8.00016 14.3327' })));
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
const SearchIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
68
|
-
const theme = Theme.useTheme();
|
|
69
|
-
const fill = f || theme.text.secondary;
|
|
70
|
-
return (React.createElement("svg", { width: size * (14 / 15), height: size, viewBox: '0 0 14 15', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
71
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M12.25 13.165L10.2144 11.1294M10.2144 11.1294C11.1117 10.2322 11.6667 8.99258 11.6667 7.62337C11.6667 4.88496 9.44674 2.66504 6.70833 2.66504C3.96992 2.66504 1.75 4.88496 1.75 7.62337C1.75 10.3618 3.96992 12.5817 6.70833 12.5817C8.07754 12.5817 9.31712 12.0267 10.2144 11.1294Z' })));
|
|
72
|
-
};
|
|
73
|
-
|
|
74
|
-
const SortArrowsIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
75
|
-
const theme = Theme.useTheme();
|
|
76
|
-
const fill = f || theme.text.secondary;
|
|
77
|
-
return (React.createElement("svg", { width: size, height: size * (24 / 25), viewBox: '0 0 25 24', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
78
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M16.5 9C15.4379 7.53812 14.1929 6.22872 12.7979 5.1058C12.6226 4.96473 12.3774 4.96473 12.2021 5.1058C10.8071 6.22872 9.56206 7.53812 8.5 9M8.5 15C9.56206 16.4619 10.8071 17.7713 12.2021 18.8942C12.3774 19.0353 12.6226 19.0353 12.7979 18.8942C14.1929 17.7713 15.4379 16.4619 16.5 15' })));
|
|
79
|
-
};
|
|
80
|
-
|
|
81
|
-
const TrashIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
82
|
-
const theme = Theme.useTheme();
|
|
83
|
-
const fill = f || theme.text.error;
|
|
84
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
85
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M10.6665 4.00065L9.92946 2.52655C9.56401 1.79567 8.81699 1.33398 7.99984 1.33398C7.18268 1.33398 6.43566 1.79567 6.07022 2.52655L5.33317 4.00065M2.6665 4.00065H13.3332M3.99984 4.00065H11.9998V10.0007C11.9998 11.2432 11.9998 11.8644 11.7968 12.3545C11.5262 13.0079 11.0071 13.527 10.3537 13.7977C9.8636 14.0007 9.24235 14.0007 7.99984 14.0007C6.75733 14.0007 6.13607 14.0007 5.64601 13.7977C4.99261 13.527 4.47348 13.0079 4.20283 12.3545C3.99984 11.8644 3.99984 11.2432 3.99984 10.0007V4.00065Z' })));
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
const XIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
89
|
-
const theme = Theme.useTheme();
|
|
90
|
-
const fill = f || theme.text.secondary;
|
|
91
|
-
return (React.createElement("svg", { width: size, height: size * (14 / 18), viewBox: '0 0 18 14', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
92
|
-
React.createElement("path", { fill: fill, d: 'M9.487 5.832v2.433h1.495V5.832H9.487ZM17.847 17.185l2.028-1.791L9.487 7.047l10.388-8.414L17.928-3.158 6.162 6.304v1.453l11.685 9.428Z' }),
|
|
93
|
-
React.createElement("path", { fill: fill, d: 'M8.513 5.832v2.433H7.018V5.832h1.495ZM0.153 17.185l-2.028-1.791L8.513 7.047l-10.388-8.414L0.072-3.158l11.766 9.462v1.453L0.153 17.185Z' })));
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
const MinusIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
97
|
-
const theme = Theme.useTheme();
|
|
98
|
-
const fill = f || theme.text.secondary;
|
|
99
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 24 24', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
100
|
-
React.createElement("path", { stroke: fill, strokeWidth: '2', strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M5 12H19' })));
|
|
101
|
-
};
|
|
102
|
-
|
|
103
|
-
const PlusIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
104
|
-
const theme = Theme.useTheme();
|
|
105
|
-
const fill = f || theme.text.secondary;
|
|
106
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
107
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M7.99992 12.6663V7.99967M7.99992 7.99967V3.33301M7.99992 7.99967L3.33325 7.99967M7.99992 7.99967L12.6666 7.99967' })));
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
const EyeClosedIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
111
|
-
const theme = Theme.useTheme();
|
|
112
|
-
const fill = f || theme.text.secondary;
|
|
113
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 24 24', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
114
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M14.83 9.17999C14.2706 8.61995 13.5576 8.23846 12.7813 8.08386C12.0049 7.92926 11.2002 8.00851 10.4689 8.31152C9.73758 8.61453 9.11264 9.12769 8.67316 9.78607C8.23367 10.4444 7.99938 11.2184 8 12.01C7.99916 13.0663 8.41619 14.08 9.16004 14.83' }),
|
|
115
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M12 16.01C13.0609 16.01 14.0783 15.5886 14.8284 14.8384C15.5786 14.0883 16 13.0709 16 12.01' }),
|
|
116
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M17.61 6.39004L6.38 17.62C4.6208 15.9966 3.14099 14.0944 2 11.99C6.71 3.76002 12.44 1.89004 17.61 6.39004Z' }),
|
|
117
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M20.9994 3L17.6094 6.39' }),
|
|
118
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M6.38 17.62L3 21' }),
|
|
119
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M19.5695 8.42999C20.4801 9.55186 21.2931 10.7496 21.9995 12.01C17.9995 19.01 13.2695 21.4 8.76953 19.23' })));
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
const EyeOpenIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
123
|
-
const theme = Theme.useTheme();
|
|
124
|
-
const fill = f || theme.text.secondary;
|
|
125
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 24 24', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
126
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M12 16.01C14.2091 16.01 16 14.2191 16 12.01C16 9.80087 14.2091 8.01001 12 8.01001C9.79086 8.01001 8 9.80087 8 12.01C8 14.2191 9.79086 16.01 12 16.01Z' }),
|
|
127
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M2 11.98C8.09 1.31996 15.91 1.32996 22 11.98' }),
|
|
128
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M22 12.01C15.91 22.67 8.09 22.66 2 12.01' })));
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
const CheckIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
132
|
-
const theme = Theme.useTheme();
|
|
133
|
-
const fill = f || theme.text.secondary;
|
|
134
|
-
return (React.createElement("svg", { width: size * (16 / 17), height: size, viewBox: '0 0 16 17', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
135
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M3.6665 9.24833L6.67773 12.7315L6.94495 12.2642C8.37771 9.75889 10.3605 7.61153 12.7439 5.98403L13.3332 5.58167' })));
|
|
136
|
-
};
|
|
137
|
-
|
|
138
|
-
const CrossIcon = ({ size = 16, fill: f, rotate = 0, onClick }) => {
|
|
139
|
-
const theme = Theme.useTheme();
|
|
140
|
-
const fill = f || theme.text.secondary;
|
|
141
|
-
return (React.createElement("svg", { width: size, height: size, viewBox: '0 0 16 16', xmlns: 'http://www.w3.org/2000/svg', fill: 'none', style: { transform: `rotate(${rotate}deg)` }, onClick: onClick },
|
|
142
|
-
React.createElement("path", { stroke: fill, strokeLinecap: 'round', strokeLinejoin: 'round', d: 'M4 12L8 8M8 8L12 4M8 8L4 4M8 8L12 12' })));
|
|
143
|
-
};
|
|
144
|
-
|
|
145
|
-
export { ArrowIcon as A, CodeIcon as C, EditIcon as E, ListIcon as L, MinusIcon as M, NoDataIcon as N, PlusIcon as P, SearchIcon as S, TrashIcon as T, XIcon as X, CopyIcon as a, EditedIcon as b, ExtendArrowIcon as c, NotebookIcon as d, SortArrowsIcon as e, EyeClosedIcon as f, EyeOpenIcon as g, CheckIcon as h, CrossIcon as i };
|