@fibery/ui-kit 1.36.0 → 1.36.2
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 +17 -0
- package/package.json +3 -3
- package/scripts/generate-icons.mjs +15 -1
- package/src/actions-menu/actions-menu-item.tsx +2 -2
- package/src/actions-menu/actions-menu-sub-command-menu.tsx +3 -0
- package/src/avatar.tsx +26 -12
- package/src/beta-badge.tsx +17 -0
- package/src/button/base-button.tsx +3 -3
- package/src/command-menu/index.tsx +15 -21
- package/src/command-menu/nested-command-menu.tsx +356 -0
- package/src/context-menu/index.tsx +3 -3
- package/src/date-picker/relative-date-picker.tsx +20 -9
- package/src/design-system.ts +18 -14
- package/src/dropdown-menu/index.tsx +1 -1
- package/src/format-date-from-now.ts +1 -1
- package/src/icons/ast/Anthropic.ts +8 -0
- package/src/icons/ast/Csv.ts +8 -0
- package/src/icons/ast/DateRange.ts +8 -0
- package/src/icons/ast/FiberyMono.ts +1 -1
- package/src/icons/ast/OpenAi.ts +8 -0
- package/src/icons/ast/ReadOnly.ts +8 -0
- package/src/icons/ast/SpaceList.ts +8 -0
- package/src/icons/ast/SuggestIntegration.ts +8 -0
- package/src/icons/ast/index.tsx +7 -0
- package/src/icons/react/Anthropic.tsx +13 -0
- package/src/icons/react/Csv.tsx +13 -0
- package/src/icons/react/DateRange.tsx +13 -0
- package/src/icons/react/OpenAi.tsx +13 -0
- package/src/icons/react/ReadOnly.tsx +13 -0
- package/src/icons/react/SpaceList.tsx +13 -0
- package/src/icons/react/SuggestIntegration.tsx +13 -0
- package/src/icons/react/index.tsx +7 -0
- package/src/icons/svg/anthropic.svg +15 -0
- package/src/icons/svg/csv.svg +3 -0
- package/src/icons/svg/date-range.svg +4 -0
- package/src/icons/svg/fibery-mono.svg +6 -1
- package/src/icons/svg/open-ai.svg +8 -0
- package/src/icons/svg/read-only.svg +6 -0
- package/src/icons/svg/space-list.svg +4 -0
- package/src/icons/svg/suggest-integration.svg +4 -0
- package/src/icons/types.ts +2 -2
- package/src/loaders.tsx +28 -23
- package/src/logo.tsx +13 -45
- package/src/new-badge.tsx +8 -6
- package/src/number-input/number-input.tsx +37 -56
- package/src/select/custom-select-partials/group-heading.tsx +24 -1
- package/src/select/custom-select-partials/option.tsx +17 -11
- package/src/select/select-in-popover.tsx +3 -1
- package/src/select/util.ts +2 -1
- package/src/toast/utils/toastify-item-name.ts +1 -1
- package/src/type-badge-box.tsx +4 -2
- package/src/type-badge.tsx +20 -12
- package/src/unit/primitive.tsx +3 -0
- package/src/unit/styles.ts +4 -0
- package/src/unit/types.ts +1 -0
|
@@ -17,6 +17,7 @@ const unitOptions = [
|
|
|
17
17
|
{value: "day", label: "days"},
|
|
18
18
|
{value: "week", label: "weeks"},
|
|
19
19
|
{value: "month", label: "months"},
|
|
20
|
+
{value: "quarter", label: "quarters"},
|
|
20
21
|
{value: "year", label: "years"},
|
|
21
22
|
];
|
|
22
23
|
|
|
@@ -25,12 +26,6 @@ const isBeforeNowOptions = [
|
|
|
25
26
|
{value: "from now", label: "from now"},
|
|
26
27
|
];
|
|
27
28
|
|
|
28
|
-
const blurOnEnter = (e: $TSFixMe) => {
|
|
29
|
-
if (e.key === "Enter") {
|
|
30
|
-
e.target.blur();
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
|
|
34
29
|
export const RelativeDatePicker = (props: RelativeDatePickerProps) => {
|
|
35
30
|
const {value, onChange, relativeDateToExactDate} = props;
|
|
36
31
|
|
|
@@ -45,14 +40,30 @@ export const RelativeDatePicker = (props: RelativeDatePickerProps) => {
|
|
|
45
40
|
|
|
46
41
|
const [amount, setAmount] = useState(valueWithDefault.amount);
|
|
47
42
|
const onAmountChange = useCallback((newAmount: $TSFixMe) => {
|
|
48
|
-
if (newAmount === null
|
|
43
|
+
if (newAmount === null) {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
if (newAmount < 0) {
|
|
49
47
|
setAmount(0);
|
|
50
48
|
} else {
|
|
51
49
|
setAmount(Math.floor(newAmount));
|
|
52
50
|
}
|
|
53
51
|
}, []);
|
|
52
|
+
|
|
53
|
+
const onKeyDown = useCallback(
|
|
54
|
+
(e: $TSFixMe) => {
|
|
55
|
+
if (e.key === "Enter") {
|
|
56
|
+
onChange({...valueWithDefault, amount});
|
|
57
|
+
e.target.blur();
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
[amount, onChange, valueWithDefault]
|
|
61
|
+
);
|
|
62
|
+
|
|
54
63
|
const handleBlur = useCallback(() => {
|
|
55
|
-
|
|
64
|
+
if (amount !== valueWithDefault.amount) {
|
|
65
|
+
onChange({...valueWithDefault, amount});
|
|
66
|
+
}
|
|
56
67
|
}, [onChange, amount, valueWithDefault]);
|
|
57
68
|
|
|
58
69
|
const onIsBeforeNowChange = useCallback(
|
|
@@ -85,7 +96,7 @@ export const RelativeDatePicker = (props: RelativeDatePickerProps) => {
|
|
|
85
96
|
style={{width: "56px"}}
|
|
86
97
|
onBlur={handleBlur}
|
|
87
98
|
onChange={onAmountChange}
|
|
88
|
-
onKeyDown={
|
|
99
|
+
onKeyDown={onKeyDown}
|
|
89
100
|
/>
|
|
90
101
|
</div>
|
|
91
102
|
<div
|
package/src/design-system.ts
CHANGED
|
@@ -34,6 +34,8 @@ export const fontWeight = {
|
|
|
34
34
|
|
|
35
35
|
const transparent = "rgba(255, 255, 255, 0)";
|
|
36
36
|
|
|
37
|
+
export const minPanelWidth = 490;
|
|
38
|
+
|
|
37
39
|
export const opacity = {
|
|
38
40
|
opacity100: 1,
|
|
39
41
|
opacity95: 0.95,
|
|
@@ -254,15 +256,15 @@ export const themeColors = {
|
|
|
254
256
|
disabledTextColor: [slate.slate9, slateDark.slate9],
|
|
255
257
|
inversedTextColor: [slate.slate3, slateDark.slate6],
|
|
256
258
|
colorTextSecondary: [getOpacities(slate.slate12).opacity70, getOpacities(slateDark.slate12).opacity65],
|
|
257
|
-
linkColor: [indigoDark.indigo10, indigoDark.
|
|
259
|
+
linkColor: [indigoDark.indigo10, indigoDark.indigo10],
|
|
258
260
|
linkBorder: [
|
|
259
|
-
`
|
|
260
|
-
`
|
|
261
|
+
`0.5px solid ${getOpacities(indigoDark.indigo10).opacity40}`,
|
|
262
|
+
`0.5px solid ${getOpacities(indigoDark.indigo11).opacity40}`,
|
|
261
263
|
],
|
|
262
|
-
linkHoverColor: [indigo.indigo10, indigoDark.
|
|
264
|
+
linkHoverColor: [indigo.indigo10, indigoDark.indigo11],
|
|
263
265
|
linkBorderHover: [
|
|
264
|
-
`
|
|
265
|
-
`
|
|
266
|
+
`0.5px solid ${getOpacities(indigo.indigo10).opacity80}`,
|
|
267
|
+
`0.5px solid ${getOpacities(indigoDark.indigo10).opacity70}`,
|
|
266
268
|
],
|
|
267
269
|
codeColor: [red.red9, red.red8],
|
|
268
270
|
codeBgColor: [slate.slate3, slateDark.slate4],
|
|
@@ -271,19 +273,19 @@ export const themeColors = {
|
|
|
271
273
|
// Entity
|
|
272
274
|
entityNodeColor: [slateDark.slate3, slate.slate8],
|
|
273
275
|
entityNodeBorder: [
|
|
274
|
-
`
|
|
275
|
-
`
|
|
276
|
+
`0.5px solid ${getOpacities(slateDark.slate3).opacity30}`,
|
|
277
|
+
`0.5px solid ${getOpacities(slate.slate8).opacity40}`,
|
|
276
278
|
],
|
|
277
279
|
entityNodeHoverColor: [slateDark.slate7, slate.slate7],
|
|
278
280
|
entityNodeBorderHover: [
|
|
279
|
-
`
|
|
280
|
-
`
|
|
281
|
+
`0.5px solid ${getOpacities(slate.slate11).opacity80}`,
|
|
282
|
+
`0.5px solid ${getOpacities(slate.slate7).opacity80}`,
|
|
281
283
|
],
|
|
282
284
|
entityNodeBgColor: [slate.slate2, slateDark.slate3],
|
|
283
285
|
shortcutTextColor: [slate.slate9, slateDark.slate11],
|
|
284
286
|
shortcutBorderColor: [
|
|
285
|
-
`
|
|
286
|
-
`
|
|
287
|
+
`0.5px solid ${getOpacities(slate.slate8).opacity50}`,
|
|
288
|
+
`0.5px solid ${getOpacities(slateDark.slate10).opacity20}`,
|
|
287
289
|
],
|
|
288
290
|
|
|
289
291
|
// Input
|
|
@@ -459,7 +461,7 @@ export const themeColors = {
|
|
|
459
461
|
|
|
460
462
|
colorBgMenuHeaderAvatar: [whiteA.whiteA0, slateDark.slate2],
|
|
461
463
|
shadowMenuHeaderAvatar: [
|
|
462
|
-
`0px 1px 4px ${getOpacities(slate.slate11).opacity10}, 0 0 0
|
|
464
|
+
`0px 1px 4px ${getOpacities(slate.slate11).opacity10}, 0 0 0 0.5px ${getOpacities(slate.slate5).opacity50}`,
|
|
463
465
|
`0 0 0 1px ${getOpacities(slateDark.slate9).opacity20}`,
|
|
464
466
|
],
|
|
465
467
|
// Main Menu Items Styles and States
|
|
@@ -498,9 +500,11 @@ export const themeColors = {
|
|
|
498
500
|
unitBgHover: [slate.slate4, slateDark.slate7],
|
|
499
501
|
|
|
500
502
|
// Badges
|
|
503
|
+
colorBgBadgeNeutral: [getOpacities(indigo.indigo4).opacity90, getOpacities(indigoDark.indigo4).opacity80],
|
|
501
504
|
colorBgBadgeSuccess: [teal.teal5, tealDark.teal5],
|
|
502
505
|
colorBgBadgeWarning: [yellow.yellow5, yellowDark.yellow5],
|
|
503
506
|
colorBgBadgeError: [red.red5, redDark.red5],
|
|
507
|
+
colorTextBadgeNeutral: [indigo.indigo11, indigoDark.indigo11],
|
|
504
508
|
colorTextBadgeSuccess: [teal.teal11, tealDark.teal11],
|
|
505
509
|
colorTextBadgeWarning: [yellow.yellow11, yellowDark.yellow11],
|
|
506
510
|
colorTextBadgeError: [red.red11, redDark.red11],
|
|
@@ -970,7 +974,7 @@ export const space = {
|
|
|
970
974
|
export const spaceNestedTreeLevel = 12;
|
|
971
975
|
export const spaceNestedTreeInterval = 0;
|
|
972
976
|
export const layout = {
|
|
973
|
-
logoSize:
|
|
977
|
+
logoSize: 18,
|
|
974
978
|
menuDefaultWidth: 243,
|
|
975
979
|
desktopToolbarHeight: 32,
|
|
976
980
|
desktopMenuMinWidth: 240,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const Anthropic: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20,"fill":"none"},"children":[{"type":"element","tagName":"g","properties":{"clipPath":"url(#Anthropic__a)"},"children":[{"type":"element","tagName":"mask","properties":{"id":"Anthropic__b","maskUnits":"userSpaceOnUse","x":0,"y":0,"width":20,"height":20},"children":[{"type":"element","tagName":"path","properties":{"d":"M20 10c0-5.523-4.477-10-10-10S0 4.477 0 10s4.477 10 10 10 10-4.477 10-10Z","fill":"#fff"},"children":[]}]},{"type":"element","tagName":"g","properties":{"mask":"url(#Anthropic__b)"},"children":[{"type":"element","tagName":"path","properties":{"d":"m3.908 13.296 3.945-2.206.066-.192-.066-.106H7.66l-.66-.04-2.254-.061-1.954-.081-1.894-.101-.477-.102-.447-.587.046-.293.4-.268.574.05 1.27.086 1.903.132 1.381.08 2.046.213h.325l.045-.131-.11-.081-.088-.081-1.97-1.33-2.13-1.407-1.117-.81-.604-.41-.305-.384-.132-.84.548-.602.737.05.187.051.747.572 1.594 1.23 2.08 1.526.304.253.122-.086.015-.06-.137-.228-1.132-2.04L5.365 2.94l-.538-.86-.142-.517A2.5 2.5 0 0 1 4.6.956l.624-.845L5.568 0l.833.111.35.304.518 1.179.837 1.857 1.3 2.524.38.749.204.693.076.213h.132v-.122l.107-1.421.197-1.746.193-2.246.066-.633.315-.759.624-.41.488.233.4.572-.055.37-.239 1.542-.467 2.419-.304 1.619h.178l.203-.203.822-1.087 1.38-1.72.61-.684.71-.753.457-.36h.863l.635.941-.284.972-.889 1.123-.736.951-1.056 1.417-.66 1.133.061.091.158-.015 2.386-.506 1.29-.233 1.537-.263.696.324.076.329-.274.673-1.645.405-1.93.384-2.872.678-.036.025.04.051 1.295.121.553.03h1.356l2.523.188.66.435.396.531-.066.405-1.015.516-1.37-.324-3.199-.759-1.097-.273h-.152v.091l.914.89 1.675 1.508 2.097 1.943.106.48-.269.38-.284-.04-1.843-1.381-.71-.623-1.61-1.35h-.106v.141l.37.541 1.96 2.935.101.9-.142.294-.508.177-.558-.101-1.147-1.604-1.183-1.806-.954-1.62-.117.067-.564 6.046-.264.308-.609.233-.507-.384-.27-.623.27-1.23.324-1.603.264-1.275.24-1.584.141-.526-.01-.035-.117.015-1.198 1.64-1.822 2.453-1.442 1.538-.345.137-.6-.309.057-.551.335-.491 1.995-2.53L8 13.074l.777-.906-.006-.132h-.045l-5.3 3.43-.944.122-.406-.38.05-.622.193-.202 1.594-1.093-.005.005Z","fill":"#D97757"},"children":[]}]}]},{"type":"element","tagName":"defs","properties":{},"children":[{"type":"element","tagName":"clipPath","properties":{"id":"Anthropic__a"},"children":[{"type":"element","tagName":"path","properties":{"fill":"#fff","d":"M0 0h20v20H0z"},"children":[]}]}]}],"metadata":""}]},"name":"anthropic"};
|
|
7
|
+
|
|
8
|
+
export default Anthropic;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const Csv: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20},"children":[{"type":"element","tagName":"path","properties":{"d":"M11.742 1.5a.75.75 0 0 1 .53.219l4.504 4.497c.141.14.221.332.221.531v3.194L17 10c0 .02-.002.039-.003.058v3.883L17 14c0 .02-.002.039-.003.058v1.692a2.75 2.75 0 0 1-2.749 2.75H5.745a2.749 2.749 0 0 1-2.748-2.75V4.25c0-1.519 1.23-2.75 2.748-2.75h5.997ZM8.75 17h5.498c.69 0 1.25-.56 1.25-1.25v-1H8.75V17Zm-4.254-1.25c0 .69.56 1.25 1.25 1.25H7.25v-2.25H4.496v1Zm4.254-2.5h6.747v-2.5H8.75v2.5Zm-4.254 0H7.25v-2.5H4.496v2.5ZM5.746 3c-.69 0-1.25.56-1.25 1.25v5h11.001V7.497h-2.922a1.583 1.583 0 0 1-1.582-1.584V3H5.745Zm6.746 2.913a.084.084 0 0 0 .083.084h1.86l-1.943-1.94v1.856Z"},"children":[]}],"metadata":""}]},"name":"csv"};
|
|
7
|
+
|
|
8
|
+
export default Csv;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const DateRange: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M14 3.6h1.6A2.4 2.4 0 0 1 18 6v9.6a2.4 2.4 0 0 1-2.4 2.4H4.4A2.4 2.4 0 0 1 2 15.6V6a2.4 2.4 0 0 1 2.4-2.4H6v-.8a.8.8 0 0 1 1.6 0v.8h4.8v-.8a.8.8 0 0 1 1.6 0v.8Zm2.166 12.566a.8.8 0 0 0 .234-.566V6a.8.8 0 0 0-.8-.8H14V6a.8.8 0 0 1-1.6 0v-.8H7.6V6A.8.8 0 0 1 6 6v-.8H4.4a.8.8 0 0 0-.8.8v9.6a.8.8 0 0 0 .8.8h11.2a.8.8 0 0 0 .566-.234ZM8.78 8.22a.75.75 0 0 1 0 1.06L7.56 10.5h4.88l-1.22-1.22a.75.75 0 0 1 1.06-1.06l2.5 2.5a.75.75 0 0 1 0 1.06l-2.5 2.5a.75.75 0 1 1-1.06-1.06L12.44 12H7.56l1.22 1.22a.75.75 0 1 1-1.06 1.06l-2.5-2.5a.75.75 0 0 1 0-1.06l2.5-2.5a.75.75 0 0 1 1.06 0Z"},"children":[]}],"metadata":""}]},"name":"date-range"};
|
|
7
|
+
|
|
8
|
+
export default DateRange;
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
import { IconDefinition } from '../types';
|
|
5
5
|
|
|
6
|
-
const FiberyMono: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"
|
|
6
|
+
const FiberyMono: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"m12.231 15.323.207.675c.15.493.1 1.026-.138 1.482a1.931 1.931 0 0 1-1.708 1.037c-.411 0-.813-.132-1.144-.38a1.948 1.948 0 0 1-.699-.992l-.4-1.31 2.096-1.223 1.786.71ZM12.115 2.043c.489-.083.992.028 1.402.31.41.282.697.714.8 1.204.103.491.014 1.003-.247 1.43L6.931 15.583a1.907 1.907 0 0 1-2.583.569 1.936 1.936 0 0 1-.705-.755 1.963 1.963 0 0 1 .109-2L10.89 2.8a1.922 1.922 0 0 1 1.224-.758ZM16.18 11.906c.418.166.765.474.981.87a1.965 1.965 0 0 1-.457 2.44 1.912 1.912 0 0 1-1.226.448c-.24.003-.48-.041-.705-.129l-3.516-1.397 4.27-2.49.654.258ZM16.494 6.139a1.928 1.928 0 0 1 1.498.966c.256.447.325.978.192 1.477a1.944 1.944 0 0 1-.897 1.181l-9.14 5.334 5.93-8.8 2.098-.16a1.91 1.91 0 0 1 .32.002ZM4.53 10.923l-.708.053a1.913 1.913 0 0 1-1.481-.539 1.96 1.96 0 0 1-.099-2.7 1.916 1.916 0 0 1 1.292-.642l3.767-.286-2.771 4.114ZM6.927 2.377c.51.02.993.243 1.34.622l.924 1.006-1.407 2.09-1.804.14-.538-.588a1.96 1.96 0 0 1 .103-2.752 1.914 1.914 0 0 1 1.382-.518Z"},"children":[]}],"metadata":""}]},"name":"fibery-mono"};
|
|
7
7
|
|
|
8
8
|
export default FiberyMono;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const OpenAi: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":18,"height":18},"children":[{"type":"element","tagName":"mask","properties":{"id":"OpenAi__a","maskUnits":"userSpaceOnUse","x":0,"y":0,"width":18,"height":18},"children":[{"type":"element","tagName":"path","properties":{"d":"M0 0h18v18H0V0Z","style":{"fill":"var(--open-ai-icon-color1, white)"}},"children":[]}]},{"type":"element","tagName":"g","properties":{"mask":"url(#OpenAi__a)"},"children":[{"type":"element","tagName":"path","properties":{"d":"M16.71 7.367a4.48 4.48 0 0 0-.386-3.683 4.535 4.535 0 0 0-4.884-2.176A4.5 4.5 0 0 0 8.057 0 4.54 4.54 0 0 0 3.73 3.14a4.5 4.5 0 0 0-3 2.175 4.54 4.54 0 0 0 .559 5.318 4.48 4.48 0 0 0 .386 3.683 4.535 4.535 0 0 0 4.885 2.176A4.48 4.48 0 0 0 9.943 18a4.54 4.54 0 0 0 4.328-3.142 4.5 4.5 0 0 0 2.998-2.175 4.54 4.54 0 0 0-.56-5.315Zm-6.766 9.456a3.36 3.36 0 0 1-2.16-.78l.107-.06 3.584-2.07a.581.581 0 0 0 .295-.51V8.348l1.515.875a.05.05 0 0 1 .029.041v4.185a3.377 3.377 0 0 1-3.37 3.374Zm-7.247-3.096a3.36 3.36 0 0 1-.402-2.26l.106.063 3.584 2.07a.58.58 0 0 0 .589 0l4.376-2.527v1.75a.06.06 0 0 1-.022.047l-3.623 2.092a3.377 3.377 0 0 1-4.608-1.235Zm-.944-7.824A3.36 3.36 0 0 1 3.51 4.425l-.002.124v4.14a.58.58 0 0 0 .294.51l4.376 2.526-1.515.875a.05.05 0 0 1-.05.005L2.987 10.51a3.377 3.377 0 0 1-1.235-4.606ZM14.2 8.8 9.825 6.274l1.514-.875a.05.05 0 0 1 .052-.004l3.623 2.092a3.373 3.373 0 0 1-.52 6.087V9.31a.579.579 0 0 0-.293-.51m1.508-2.269-.107-.063-3.584-2.07a.58.58 0 0 0-.59 0L7.053 6.924V5.175a.06.06 0 0 1 .02-.047l3.624-2.09a3.373 3.373 0 0 1 5.01 3.493m-9.478 3.12-1.515-.876a.05.05 0 0 1-.03-.041V4.548a3.374 3.374 0 0 1 5.533-2.59l-.107.06-3.584 2.07a.58.58 0 0 0-.295.51L6.228 9.65Zm.823-1.775L9 6.75l1.948 1.125v2.251l-1.95 1.124-1.948-1.125V7.876Z","style":{"fill":"var(--open-ai-icon-color2, black)"}},"children":[]}]}],"metadata":""}]},"name":"open-ai"};
|
|
7
|
+
|
|
8
|
+
export default OpenAi;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const ReadOnly: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M2.22 2.22a.75.75 0 0 1 1.06 0l4.845 4.844 3.47-3.47a3.402 3.402 0 1 1 4.81 4.811l-3.47 3.47 4.845 4.845a.75.75 0 1 1-1.06 1.06L2.22 3.28a.75.75 0 0 1 0-1.06Zm11.683 6.567-2.028 2.027-2.69-2.689 2.028-2.028 2.69 2.69Zm1.442-4.132a1.902 1.902 0 0 0-2.69 0l-.558.558 2.69 2.69.558-.558a1.902 1.902 0 0 0 0-2.69ZM6.534 10.777a.75.75 0 0 0-1.06-1.061L2.72 12.47a.75.75 0 0 0-.22.53v3.5a1 1 0 0 0 1 1H7a.75.75 0 0 0 .53-.22l2.754-2.753a.75.75 0 0 0-1.06-1.061L6.688 16H4v-2.69l2.534-2.533Z"},"children":[]}],"metadata":""}]},"name":"read-only"};
|
|
7
|
+
|
|
8
|
+
export default ReadOnly;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const SpaceList: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M2 4.25A2.25 2.25 0 0 1 4.25 2H7a2.25 2.25 0 0 1 2.25 2.25V7A2.25 2.25 0 0 1 7 9.25H4.25A2.25 2.25 0 0 1 2 7V4.25Zm1.5 0a.75.75 0 0 1 .75-.75H7a.75.75 0 0 1 .75.75V7a.75.75 0 0 1-.75.75H4.25A.75.75 0 0 1 3.5 7V4.25Zm9.5 6.5A2.25 2.25 0 0 0 10.75 13v2.75A2.25 2.25 0 0 0 13 18h2.75A2.25 2.25 0 0 0 18 15.75V13a2.25 2.25 0 0 0-2.25-2.25H13Zm0 1.5a.75.75 0 0 0-.75.75v2.75c0 .414.336.75.75.75h2.75a.75.75 0 0 0 .75-.75V13a.75.75 0 0 0-.75-.75H13ZM7.195 10.9a2.22 2.22 0 0 0-3.14 0L2.15 12.805a2.22 2.22 0 0 0 0 3.14l1.905 1.905a2.22 2.22 0 0 0 3.14 0L9.1 15.945a2.22 2.22 0 0 0 0-3.14L7.195 10.9Zm-1.061 1.06a.72.72 0 0 0-1.018 0l-1.905 1.906a.72.72 0 0 0 0 1.018l1.905 1.905a.72.72 0 0 0 1.018 0l1.905-1.905a.72.72 0 0 0 0-1.018l-1.905-1.905ZM16.5 5.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm1.5 0a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0Z"},"children":[]}],"metadata":""}]},"name":"space-list"};
|
|
7
|
+
|
|
8
|
+
export default SpaceList;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const SuggestIntegration: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":18,"height":18,"fill":"none"},"children":[{"type":"element","tagName":"path","properties":{"clipRule":"evenodd","d":"M4.275 2.025A2.475 2.475 0 0 0 1.8 4.5v7.12a2.475 2.475 0 0 0 2.475 2.475h4.3l3.799 2.237a.675.675 0 0 0 1.017-.582v-1.655h.784a2.475 2.475 0 0 0 2.475-2.475V4.68a2.655 2.655 0 0 0-2.655-2.655h-9.72ZM3.15 4.5c0-.621.504-1.125 1.125-1.125h9.72c.72 0 1.305.584 1.305 1.305v6.94c0 .621-.504 1.125-1.125 1.125h-1.459a.675.675 0 0 0-.675.675v1.15l-2.939-1.732a.675.675 0 0 0-.343-.093H4.275A1.125 1.125 0 0 1 3.15 11.62V4.5ZM9 5.4c.373 0 .675.302.675.675v1.35h1.35a.675.675 0 1 1 0 1.35h-1.35v1.35a.675.675 0 0 1-1.35 0v-1.35h-1.35a.675.675 0 0 1 0-1.35h1.35v-1.35c0-.373.302-.675.675-.675Z"},"children":[]}],"metadata":""}]},"name":"suggest-integration"};
|
|
7
|
+
|
|
8
|
+
export default SuggestIntegration;
|
package/src/icons/ast/index.tsx
CHANGED
|
@@ -15,6 +15,7 @@ export { default as AiAssistant } from './AiAssistant';
|
|
|
15
15
|
export { default as AiAvatar } from './AiAvatar';
|
|
16
16
|
export { default as AiSearch } from './AiSearch';
|
|
17
17
|
export { default as AlertTriangle } from './AlertTriangle';
|
|
18
|
+
export { default as Anthropic } from './Anthropic';
|
|
18
19
|
export { default as AppDetails } from './AppDetails';
|
|
19
20
|
export { default as AppStoreOneColor } from './AppStoreOneColor';
|
|
20
21
|
export { default as AppStore } from './AppStore';
|
|
@@ -81,9 +82,11 @@ export { default as Copy } from './Copy';
|
|
|
81
82
|
export { default as Create } from './Create';
|
|
82
83
|
export { default as CreditsFilled } from './CreditsFilled';
|
|
83
84
|
export { default as CrossCircle } from './CrossCircle';
|
|
85
|
+
export { default as Csv } from './Csv';
|
|
84
86
|
export { default as DatabaseOff } from './DatabaseOff';
|
|
85
87
|
export { default as DatabaseStroke } from './DatabaseStroke';
|
|
86
88
|
export { default as Database } from './Database';
|
|
89
|
+
export { default as DateRange } from './DateRange';
|
|
87
90
|
export { default as Delete } from './Delete';
|
|
88
91
|
export { default as Demo } from './Demo';
|
|
89
92
|
export { default as Dependency } from './Dependency';
|
|
@@ -196,6 +199,7 @@ export { default as ObjO2O } from './ObjO2O';
|
|
|
196
199
|
export { default as ObjParent } from './ObjParent';
|
|
197
200
|
export { default as ObjSelf } from './ObjSelf';
|
|
198
201
|
export { default as OnSchedule } from './OnSchedule';
|
|
202
|
+
export { default as OpenAi } from './OpenAi';
|
|
199
203
|
export { default as OpenAsPage } from './OpenAsPage';
|
|
200
204
|
export { default as PageRegularMode } from './PageRegularMode';
|
|
201
205
|
export { default as PageWideMode } from './PageWideMode';
|
|
@@ -212,6 +216,7 @@ export { default as PresentPlay } from './PresentPlay';
|
|
|
212
216
|
export { default as PresentStop } from './PresentStop';
|
|
213
217
|
export { default as PrivateItems } from './PrivateItems';
|
|
214
218
|
export { default as Question } from './Question';
|
|
219
|
+
export { default as ReadOnly } from './ReadOnly';
|
|
215
220
|
export { default as Refresh } from './Refresh';
|
|
216
221
|
export { default as RemovePeople } from './RemovePeople';
|
|
217
222
|
export { default as Remove } from './Remove';
|
|
@@ -290,8 +295,10 @@ export { default as SmartFolder } from './SmartFolder';
|
|
|
290
295
|
export { default as SortOnBottom } from './SortOnBottom';
|
|
291
296
|
export { default as SortOnTop } from './SortOnTop';
|
|
292
297
|
export { default as Sort } from './Sort';
|
|
298
|
+
export { default as SpaceList } from './SpaceList';
|
|
293
299
|
export { default as Spinner } from './Spinner';
|
|
294
300
|
export { default as Success } from './Success';
|
|
301
|
+
export { default as SuggestIntegration } from './SuggestIntegration';
|
|
295
302
|
export { default as Template } from './Template';
|
|
296
303
|
export { default as Templates } from './Templates';
|
|
297
304
|
export { default as Terminal } from './Terminal';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import AnthropicSvg from '../ast/Anthropic';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const Anthropic = forwardRef<SVGSVGElement, IconBaseProps>(function Anthropic(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={AnthropicSvg} />});
|
|
12
|
+
|
|
13
|
+
export default Anthropic;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import CsvSvg from '../ast/Csv';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const Csv = forwardRef<SVGSVGElement, IconBaseProps>(function Csv(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={CsvSvg} />});
|
|
12
|
+
|
|
13
|
+
export default Csv;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import DateRangeSvg from '../ast/DateRange';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const DateRange = forwardRef<SVGSVGElement, IconBaseProps>(function DateRange(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={DateRangeSvg} />});
|
|
12
|
+
|
|
13
|
+
export default DateRange;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import OpenAiSvg from '../ast/OpenAi';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const OpenAi = forwardRef<SVGSVGElement, IconBaseProps>(function OpenAi(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={OpenAiSvg} />});
|
|
12
|
+
|
|
13
|
+
export default OpenAi;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import ReadOnlySvg from '../ast/ReadOnly';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const ReadOnly = forwardRef<SVGSVGElement, IconBaseProps>(function ReadOnly(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={ReadOnlySvg} />});
|
|
12
|
+
|
|
13
|
+
export default ReadOnly;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import SpaceListSvg from '../ast/SpaceList';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const SpaceList = forwardRef<SVGSVGElement, IconBaseProps>(function SpaceList(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={SpaceListSvg} />});
|
|
12
|
+
|
|
13
|
+
export default SpaceList;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import SuggestIntegrationSvg from '../ast/SuggestIntegration';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const SuggestIntegration = forwardRef<SVGSVGElement, IconBaseProps>(function SuggestIntegration(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={SuggestIntegrationSvg} />});
|
|
12
|
+
|
|
13
|
+
export default SuggestIntegration;
|
|
@@ -15,6 +15,7 @@ export { default as AiAssistant } from './AiAssistant';
|
|
|
15
15
|
export { default as AiAvatar } from './AiAvatar';
|
|
16
16
|
export { default as AiSearch } from './AiSearch';
|
|
17
17
|
export { default as AlertTriangle } from './AlertTriangle';
|
|
18
|
+
export { default as Anthropic } from './Anthropic';
|
|
18
19
|
export { default as AppDetails } from './AppDetails';
|
|
19
20
|
export { default as AppStoreOneColor } from './AppStoreOneColor';
|
|
20
21
|
export { default as AppStore } from './AppStore';
|
|
@@ -81,9 +82,11 @@ export { default as Copy } from './Copy';
|
|
|
81
82
|
export { default as Create } from './Create';
|
|
82
83
|
export { default as CreditsFilled } from './CreditsFilled';
|
|
83
84
|
export { default as CrossCircle } from './CrossCircle';
|
|
85
|
+
export { default as Csv } from './Csv';
|
|
84
86
|
export { default as DatabaseOff } from './DatabaseOff';
|
|
85
87
|
export { default as DatabaseStroke } from './DatabaseStroke';
|
|
86
88
|
export { default as Database } from './Database';
|
|
89
|
+
export { default as DateRange } from './DateRange';
|
|
87
90
|
export { default as Delete } from './Delete';
|
|
88
91
|
export { default as Demo } from './Demo';
|
|
89
92
|
export { default as Dependency } from './Dependency';
|
|
@@ -196,6 +199,7 @@ export { default as ObjO2O } from './ObjO2O';
|
|
|
196
199
|
export { default as ObjParent } from './ObjParent';
|
|
197
200
|
export { default as ObjSelf } from './ObjSelf';
|
|
198
201
|
export { default as OnSchedule } from './OnSchedule';
|
|
202
|
+
export { default as OpenAi } from './OpenAi';
|
|
199
203
|
export { default as OpenAsPage } from './OpenAsPage';
|
|
200
204
|
export { default as PageRegularMode } from './PageRegularMode';
|
|
201
205
|
export { default as PageWideMode } from './PageWideMode';
|
|
@@ -212,6 +216,7 @@ export { default as PresentPlay } from './PresentPlay';
|
|
|
212
216
|
export { default as PresentStop } from './PresentStop';
|
|
213
217
|
export { default as PrivateItems } from './PrivateItems';
|
|
214
218
|
export { default as Question } from './Question';
|
|
219
|
+
export { default as ReadOnly } from './ReadOnly';
|
|
215
220
|
export { default as Refresh } from './Refresh';
|
|
216
221
|
export { default as RemovePeople } from './RemovePeople';
|
|
217
222
|
export { default as Remove } from './Remove';
|
|
@@ -290,8 +295,10 @@ export { default as SmartFolder } from './SmartFolder';
|
|
|
290
295
|
export { default as SortOnBottom } from './SortOnBottom';
|
|
291
296
|
export { default as SortOnTop } from './SortOnTop';
|
|
292
297
|
export { default as Sort } from './Sort';
|
|
298
|
+
export { default as SpaceList } from './SpaceList';
|
|
293
299
|
export { default as Spinner } from './Spinner';
|
|
294
300
|
export { default as Success } from './Success';
|
|
301
|
+
export { default as SuggestIntegration } from './SuggestIntegration';
|
|
295
302
|
export { default as Template } from './Template';
|
|
296
303
|
export { default as Templates } from './Templates';
|
|
297
304
|
export { default as Terminal } from './Terminal';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<g clip-path="url(#clip0_10165_54307)">
|
|
3
|
+
<mask id="mask0_10165_54307" maskUnits="userSpaceOnUse" x="0" y="0" width="20" height="20">
|
|
4
|
+
<path d="M20 10C20 4.47715 15.5228 0 10 0C4.47715 0 0 4.47715 0 10C0 15.5228 4.47715 20 10 20C15.5228 20 20 15.5228 20 10Z" fill="white"/>
|
|
5
|
+
</mask>
|
|
6
|
+
<g mask="url(#mask0_10165_54307)">
|
|
7
|
+
<path d="M3.90812 13.296L7.85312 11.09L7.91912 10.898L7.85312 10.792H7.66012L7.00012 10.752L4.74612 10.691L2.79212 10.61L0.898121 10.509L0.421121 10.407L-0.0258789 9.82L0.0201211 9.527L0.420121 9.259L0.994121 9.309L2.26412 9.395L4.16712 9.527L5.54812 9.607L7.59412 9.82H7.91912L7.96412 9.689L7.85312 9.608L7.76612 9.527L5.79612 8.197L3.66612 6.79L2.54912 5.98L1.94512 5.57L1.64012 5.186L1.50812 4.346L2.05612 3.744L2.79312 3.794L2.98012 3.845L3.72712 4.417L5.32112 5.647L7.40012 7.173L7.70512 7.426L7.82712 7.34L7.84212 7.28L7.70512 7.052L6.57312 5.012L5.36512 2.94L4.82712 2.08L4.68512 1.563C4.63166 1.36496 4.60278 1.1611 4.59912 0.956L5.22312 0.111L5.56812 0L6.40112 0.111L6.75112 0.415L7.26912 1.594L8.10612 3.451L9.40612 5.975L9.78612 6.724L9.99012 7.417L10.0661 7.63H10.1981V7.508L10.3051 6.087L10.5021 4.341L10.6951 2.095L10.7611 1.462L11.0761 0.703L11.7001 0.293L12.1881 0.526L12.5881 1.098L12.5331 1.468L12.2941 3.01L11.8271 5.429L11.5231 7.048H11.7011L11.9041 6.845L12.7261 5.758L14.1061 4.038L14.7161 3.354L15.4261 2.601L15.8831 2.241H16.7461L17.3811 3.182L17.0971 4.154L16.2081 5.277L15.4721 6.228L14.4161 7.645L13.7561 8.778L13.8171 8.869L13.9751 8.854L16.3611 8.348L17.6501 8.115L19.1881 7.852L19.8841 8.176L19.9601 8.505L19.6861 9.178L18.0411 9.583L16.1111 9.967L13.2391 10.645L13.2031 10.67L13.2431 10.721L14.5381 10.842L15.0911 10.872H16.4471L18.9701 11.06L19.6301 11.495L20.0261 12.026L19.9601 12.431L18.9451 12.947L17.5741 12.623L14.3761 11.864L13.2791 11.591H13.1271V11.682L14.0411 12.572L15.7161 14.08L17.8131 16.023L17.9191 16.503L17.6501 16.883L17.3661 16.843L15.5231 15.462L14.8131 14.839L13.2031 13.489H13.0971V13.63L13.4671 14.171L15.4271 17.106L15.5281 18.006L15.3861 18.3L14.8781 18.477L14.3201 18.376L13.1731 16.772L11.9901 14.966L11.0361 13.346L10.9191 13.413L10.3551 19.459L10.0911 19.767L9.48212 20L8.97512 19.616L8.70512 18.993L8.97512 17.763L9.29912 16.16L9.56312 14.885L9.80212 13.301L9.94412 12.775L9.93412 12.74L9.81712 12.755L8.61912 14.395L6.79712 16.848L5.35512 18.386L5.01012 18.523L4.41012 18.214L4.46712 17.663L4.80212 17.172L6.79712 14.642L8.00012 13.074L8.77712 12.168L8.77112 12.036H8.72612L3.42612 15.466L2.48212 15.588L2.07612 15.208L2.12612 14.586L2.31912 14.384L3.91312 13.291L3.90812 13.296Z" fill="#D97757"/>
|
|
8
|
+
</g>
|
|
9
|
+
</g>
|
|
10
|
+
<defs>
|
|
11
|
+
<clipPath id="clip0_10165_54307">
|
|
12
|
+
<rect width="20" height="20" fill="white"/>
|
|
13
|
+
</clipPath>
|
|
14
|
+
</defs>
|
|
15
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M11.7422 1.5C11.9405 1.5 12.131 1.5787 12.2715 1.71875L16.7764 6.21582C16.9173 6.35652 16.9971 6.54787 16.9971 6.74707V9.94141C16.9986 9.96076 17 9.98026 17 10C17 10.0194 16.9985 10.0386 16.9971 10.0576V13.9414C16.9986 13.9608 17 13.9803 17 14C17 14.0194 16.9985 14.0386 16.9971 14.0576V15.75C16.9971 17.2687 15.766 18.4999 14.248 18.5H5.74512C4.22716 18.4999 2.99708 17.2687 2.99707 15.75V4.25C2.99707 2.73127 4.22713 1.50008 5.74512 1.5H11.7422ZM8.75 17H14.248C14.938 16.9999 15.4971 16.4403 15.4971 15.75V14.75H8.75V17ZM4.49609 15.75C4.4961 16.4403 5.05519 16.9999 5.74512 17H7.25V14.75H4.49609V15.75ZM8.75 13.25H15.4971V10.75H8.75V13.25ZM4.49609 13.25H7.25V10.75H4.49609V13.25ZM5.74512 3C5.05516 3.00008 4.49609 3.55969 4.49609 4.25V9.25H15.4971V7.49707H12.5752C12.1555 7.49702 11.7528 7.33009 11.4561 7.0332C11.1593 6.73627 10.9932 6.33301 10.9932 5.91309V3H5.74512ZM12.4922 5.91309C12.4922 5.93519 12.501 5.95703 12.5166 5.97266C12.5322 5.98808 12.5533 5.99702 12.5752 5.99707H14.4346L12.4922 4.05762V5.91309Z" />
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
3
|
+
d="M14 3.6H15.6C16.2365 3.6 16.847 3.85286 17.2971 4.30294C17.7471 4.75303 18 5.36348 18 6V15.6C18 16.2365 17.7471 16.847 17.2971 17.2971C16.847 17.7471 16.2365 18 15.6 18H4.4C3.76348 18 3.15303 17.7471 2.70294 17.2971C2.25286 16.847 2 16.2365 2 15.6V6C2 5.36348 2.25286 4.75303 2.70294 4.30294C3.15303 3.85286 3.76348 3.6 4.4 3.6H6V2.8C6 2.58783 6.08429 2.38434 6.23431 2.23431C6.38434 2.08429 6.58783 2 6.8 2C7.01217 2 7.21566 2.08429 7.36569 2.23431C7.51571 2.38434 7.6 2.58783 7.6 2.8V3.6H12.4V2.8C12.4 2.58783 12.4843 2.38434 12.6343 2.23431C12.7843 2.08429 12.9878 2 13.2 2C13.4122 2 13.6157 2.08429 13.7657 2.23431C13.9157 2.38434 14 2.58783 14 2.8V3.6ZM16.1657 16.1657C16.3157 16.0157 16.4 15.8122 16.4 15.6V6C16.4 5.78783 16.3157 5.58434 16.1657 5.43431C16.0157 5.28429 15.8122 5.2 15.6 5.2H14V6C14 6.21217 13.9157 6.41566 13.7657 6.56569C13.6157 6.71571 13.4122 6.8 13.2 6.8C12.9878 6.8 12.7843 6.71571 12.6343 6.56569C12.4843 6.41566 12.4 6.21217 12.4 6V5.2H7.6V6C7.6 6.21217 7.51571 6.41566 7.36569 6.56569C7.21566 6.71571 7.01217 6.8 6.8 6.8C6.58783 6.8 6.38434 6.71571 6.23431 6.56569C6.08429 6.41566 6 6.21217 6 6V5.2H4.4C4.18783 5.2 3.98434 5.28429 3.83431 5.43431C3.68429 5.58434 3.6 5.78783 3.6 6V15.6C3.6 15.8122 3.68429 16.0157 3.83431 16.1657C3.98434 16.3157 4.18783 16.4 4.4 16.4H15.6C15.8122 16.4 16.0157 16.3157 16.1657 16.1657ZM8.78033 8.21967C9.07322 8.51256 9.07322 8.98744 8.78033 9.28033L7.56066 10.5H12.4393L11.2197 9.28033C10.9268 8.98744 10.9268 8.51256 11.2197 8.21967C11.5126 7.92678 11.9874 7.92678 12.2803 8.21967L14.7803 10.7197C15.0732 11.0126 15.0732 11.4874 14.7803 11.7803L12.2803 14.2803C11.9874 14.5732 11.5126 14.5732 11.2197 14.2803C10.9268 13.9874 10.9268 13.5126 11.2197 13.2197L12.4393 12H7.56066L8.78033 13.2197C9.07322 13.5126 9.07322 13.9874 8.78033 14.2803C8.48744 14.5732 8.01256 14.5732 7.71967 14.2803L5.21967 11.7803C4.92678 11.4874 4.92678 11.0126 5.21967 10.7197L7.71967 8.21967C8.01256 7.92678 8.48744 7.92678 8.78033 8.21967Z" />
|
|
4
|
+
</svg>
|
|
@@ -1,3 +1,8 @@
|
|
|
1
1
|
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="
|
|
2
|
+
<path d="M12.2313 15.3227L12.4376 15.9978C12.5876 16.4909 12.5385 17.0242 12.3001 17.4804C12.0616 17.9366 11.6532 18.2782 11.1655 18.4305C10.9798 18.4879 10.7867 18.5172 10.5925 18.517C10.1807 18.5177 9.7792 18.3846 9.44753 18.1378C9.11593 17.8908 8.87117 17.5427 8.7495 17.1449L8.34944 15.8343L10.4446 14.6122L12.2313 15.3227Z" />
|
|
3
|
+
<path d="M12.1146 2.04344C12.6039 1.9601 13.1066 2.07075 13.517 2.35286C13.9271 2.63494 14.2139 3.06662 14.3171 3.55723C14.4203 4.04796 14.3314 4.5601 14.0702 4.98663L6.93149 15.5832C6.7548 15.8453 6.51722 16.0603 6.23971 16.2083C5.9621 16.3563 5.65231 16.433 5.33852 16.4323C4.98969 16.4314 4.64735 16.3344 4.34877 16.152C4.05028 15.9696 3.8065 15.7084 3.64345 15.3967C3.4804 15.0849 3.40469 14.7341 3.42362 14.3819C3.44262 14.0297 3.55612 13.6884 3.7518 13.3964L10.8905 2.80085C11.1867 2.39843 11.6254 2.12679 12.1146 2.04344Z" />
|
|
4
|
+
<path d="M16.1809 11.9065C16.5978 12.0724 16.9448 12.3799 17.1613 12.7765C17.3778 13.173 17.4498 13.6337 17.3666 14.0788C17.2832 14.524 17.0489 14.9263 16.7039 15.2154C16.3591 15.5043 15.9255 15.6641 15.4777 15.6644C15.2373 15.6668 14.9978 15.6225 14.7734 15.5353L11.2572 14.1381L15.5277 11.6471L16.1809 11.9065Z" />
|
|
5
|
+
<path d="M16.4945 6.13891C16.605 6.14875 16.7152 6.16886 16.8238 6.19829C17.3167 6.3319 17.7375 6.65777 17.9927 7.10469C18.2479 7.55171 18.3165 8.08348 18.1844 8.58202C18.0522 9.08051 17.7294 9.50543 17.2874 9.76346L8.14732 15.0966L14.0764 6.29622L16.1747 6.13682C16.2813 6.12877 16.3885 6.12909 16.4945 6.13891Z" />
|
|
6
|
+
<path d="M4.53005 10.923L3.8216 10.9762C3.77333 10.98 3.72506 10.9814 3.67679 10.9814C3.17832 10.9821 2.6993 10.787 2.34011 10.4375C1.98102 10.0881 1.77005 9.61169 1.75147 9.10815C1.733 8.60443 1.9085 8.11253 2.24113 7.73709C2.57367 7.36186 3.03709 7.132 3.53405 7.09531L7.30134 6.80881L4.53005 10.923Z" />
|
|
7
|
+
<path d="M6.92732 2.37682C7.43776 2.39638 7.91984 2.62003 8.26713 2.9988L9.19124 4.00522L7.78372 6.09515L5.98029 6.2358L5.44166 5.64716C5.09439 5.26836 4.91081 4.76515 4.93012 4.24901C4.94946 3.73294 5.17031 3.24577 5.5448 2.89462C5.91939 2.54345 6.41686 2.35729 6.92732 2.37682Z" />
|
|
3
8
|
</svg>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<mask id="mask0_10158_54117" maskUnits="userSpaceOnUse" x="0" y="0" width="18" height="18">
|
|
3
|
+
<path d="M0 0H18V18H0V0Z" style="fill:var(--open-ai-icon-color1, white)"/>
|
|
4
|
+
</mask>
|
|
5
|
+
<g mask="url(#mask0_10158_54117)">
|
|
6
|
+
<path d="M16.7099 7.36705C16.9118 6.76112 16.9818 6.11901 16.9152 5.4838C16.8487 4.84859 16.647 4.23496 16.3239 3.68405C15.8454 2.85066 15.1145 2.19082 14.2367 1.79972C13.3589 1.40863 12.3795 1.30649 11.4399 1.50805C11.0153 1.03104 10.494 0.64986 9.91074 0.389854C9.32745 0.129849 8.6955 -0.00302901 8.05689 5.23909e-05C7.09637 -0.00148112 6.16012 0.301664 5.38278 0.865889C4.60545 1.43011 4.02709 2.22634 3.73089 3.14005C3.10528 3.26897 2.51428 3.5296 1.99719 3.90462C1.4801 4.27963 1.04878 4.76043 0.731894 5.31505C0.250159 6.14646 0.0446368 7.10927 0.144909 8.06492C0.245182 9.02056 0.646077 9.91975 1.28989 10.6331C1.08798 11.239 1.01797 11.8811 1.08454 12.5163C1.15111 13.1515 1.35274 13.7651 1.67589 14.3161C2.15446 15.1496 2.88551 15.8096 3.76353 16.2007C4.64154 16.5918 5.62113 16.6938 6.56089 16.4921C6.98465 16.9698 7.50564 17.3514 8.08893 17.6113C8.67222 17.8712 9.30433 18.0034 9.94289 17.9991C10.904 18.0009 11.8409 17.6976 12.6187 17.133C13.3964 16.5684 13.9749 15.7715 14.2709 14.8571C14.8963 14.728 15.4871 14.4673 16.004 14.0923C16.521 13.7173 16.9521 13.2366 17.2689 12.6821C17.75 11.8508 17.9551 10.8883 17.8547 9.93306C17.7542 8.97784 17.3534 8.08008 16.7099 7.36705ZM9.94389 16.8231C9.15463 16.8248 8.38994 16.5487 7.78389 16.0431L7.89089 15.9831L11.4749 13.9131C11.5651 13.8621 11.6401 13.788 11.692 13.6983C11.7439 13.6086 11.7708 13.5067 11.7699 13.4031V8.34805L13.2849 9.22305C13.2929 9.22672 13.2998 9.23245 13.3049 9.23965C13.31 9.24685 13.3131 9.25527 13.3139 9.26405V13.4491C13.3128 14.3428 12.9575 15.1997 12.3259 15.8319C11.6942 16.4641 10.8376 16.8212 9.94389 16.8231ZM2.69689 13.7271C2.30174 13.0443 2.15943 12.2442 2.29489 11.4671L2.40089 11.5301L5.98489 13.6001C6.07413 13.6526 6.17582 13.6804 6.27939 13.6804C6.38297 13.6804 6.48466 13.6526 6.57389 13.6001L10.9499 11.0731V12.8231C10.95 12.832 10.948 12.8409 10.9442 12.8491C10.9404 12.8572 10.9348 12.8644 10.9279 12.8701L7.30489 14.9621C6.52984 15.4084 5.60939 15.529 4.74551 15.2974C3.88163 15.0659 3.14487 14.5011 2.69689 13.7271ZM1.75289 5.90305C2.14684 5.21936 2.76885 4.69613 3.50989 4.42505L3.50789 4.54905V8.68905C3.50693 8.79256 3.53368 8.89444 3.58538 8.98412C3.63708 9.0738 3.71184 9.14801 3.80189 9.19905L8.17789 11.7251L6.66289 12.6001C6.65574 12.6052 6.64735 12.6084 6.63857 12.6093C6.62979 12.6102 6.62093 12.6087 6.61289 12.6051L2.98689 10.5101C2.21335 10.0621 1.64897 9.32569 1.41746 8.46229C1.18596 7.59889 1.30623 6.67893 1.75189 5.90405L1.75289 5.90305ZM14.1999 8.80005L9.82489 6.27405L11.3389 5.39905C11.3464 5.39367 11.3552 5.39044 11.3643 5.38974C11.3735 5.38903 11.3827 5.39087 11.3909 5.39505L15.0139 7.48705C15.5689 7.80766 16.0211 8.27972 16.3175 8.84797C16.614 9.41622 16.7424 10.0572 16.6879 10.6958C16.6333 11.3344 16.398 11.9442 16.0095 12.454C15.6209 12.9637 15.0952 13.3522 14.4939 13.5741V9.31005C14.495 9.20664 14.4684 9.10483 14.4168 9.01516C14.3653 8.92549 14.2908 8.85122 14.2009 8.80005M15.7089 6.53105L15.6019 6.46805L12.0179 4.39805C11.9287 4.34546 11.827 4.31772 11.7234 4.31772C11.6198 4.31772 11.5181 4.34546 11.4289 4.39805L7.05189 6.92405V5.17505C7.05169 5.16615 7.05347 5.15731 7.0571 5.14919C7.06073 5.14106 7.06613 5.13384 7.07289 5.12805L10.6959 3.03805C11.2509 2.71781 11.8856 2.56228 12.5258 2.58966C13.166 2.61705 13.7851 2.82622 14.3108 3.19268C14.8364 3.55915 15.2467 4.06776 15.4938 4.65897C15.7409 5.25019 15.8145 5.89955 15.7059 6.53105M6.22789 9.65005L4.71289 8.77505C4.70469 8.77152 4.69758 8.76586 4.6923 8.75865C4.68702 8.75144 4.68378 8.74294 4.68289 8.73405V4.54805C4.68343 3.90711 4.86651 3.27959 5.21071 2.73891C5.55491 2.19824 6.04599 1.76679 6.62648 1.49507C7.20697 1.22334 7.85284 1.12258 8.48852 1.20457C9.12419 1.28656 9.72336 1.54792 10.2159 1.95805L10.1089 2.01805L6.52489 4.08805C6.43465 4.13896 6.35969 4.21312 6.30781 4.30281C6.25594 4.39249 6.22903 4.49444 6.22989 4.59805L6.22789 9.65005ZM7.05089 7.87605L9.00089 6.75005L10.9489 7.87505V10.1261L8.99989 11.2501L7.05089 10.1251V7.87605Z" style="fill:var(--open-ai-icon-color2, black)"/>
|
|
7
|
+
</g>
|
|
8
|
+
</svg>
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
3
|
+
d="M2.21967 2.21967C2.51256 1.92678 2.98744 1.92678 3.28033 2.21967L8.125 7.06434L11.5947 3.59468C12.9231 2.26625 15.0769 2.26625 16.4053 3.59468C17.7338 4.92311 17.7338 7.07691 16.4053 8.40534L12.9357 11.875L17.7803 16.7197C18.0732 17.0126 18.0732 17.4874 17.7803 17.7803C17.4874 18.0732 17.0126 18.0732 16.7197 17.7803L2.21967 3.28033C1.92678 2.98744 1.92678 2.51256 2.21967 2.21967ZM13.9027 8.78662L11.875 10.8143L9.18566 8.125L11.2134 6.09728L13.9027 8.78662ZM15.3447 4.65534C14.602 3.9127 13.398 3.9127 12.6553 4.65534L12.0973 5.21339L14.7866 7.90273L15.3447 7.34468C16.0873 6.60204 16.0873 5.39798 15.3447 4.65534Z" />
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd"
|
|
5
|
+
d="M6.53401 10.7767C6.82691 10.4838 6.82691 10.0089 6.53401 9.71599C6.24112 9.4231 5.76625 9.4231 5.47335 9.71599L2.71967 12.4697C2.57902 12.6103 2.5 12.8011 2.5 13V16.5C2.5 17.0523 2.94772 17.5 3.5 17.5H7C7.19891 17.5 7.38968 17.421 7.53033 17.2803L10.284 14.5267C10.5769 14.2338 10.5769 13.7589 10.284 13.466C9.99112 13.1731 9.51625 13.1731 9.22335 13.466L6.68934 16H4V13.3107L6.53401 10.7767Z" />
|
|
6
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M2 4.25C2 3.00736 3.00736 2 4.25 2H7C8.24264 2 9.25 3.00736 9.25 4.25V7C9.25 8.24264 8.24264 9.25 7 9.25H4.25C3.00736 9.25 2 8.24264 2 7V4.25ZM3.5 4.25C3.5 3.83579 3.83579 3.5 4.25 3.5H7C7.41421 3.5 7.75 3.83579 7.75 4.25V7C7.75 7.41421 7.41421 7.75 7 7.75H4.25C3.83579 7.75 3.5 7.41421 3.5 7V4.25ZM13 10.75C11.7574 10.75 10.75 11.7574 10.75 13V15.75C10.75 16.9926 11.7574 18 13 18H15.75C16.9926 18 18 16.9926 18 15.75V13C18 11.7574 16.9926 10.75 15.75 10.75H13ZM13 12.25C12.5858 12.25 12.25 12.5858 12.25 13V15.75C12.25 16.1642 12.5858 16.5 13 16.5H15.75C16.1642 16.5 16.5 16.1642 16.5 15.75V13C16.5 12.5858 16.1642 12.25 15.75 12.25H13ZM7.19458 10.9001C6.32772 10.0333 4.92228 10.0333 4.05542 10.9001L2.15014 12.8054C1.28329 13.6723 1.28329 15.0777 2.15014 15.9446L4.05542 17.8499C4.92228 18.7167 6.32772 18.7167 7.19458 17.8499L9.09986 15.9446C9.96671 15.0777 9.96671 13.6723 9.09986 12.8054L7.19458 10.9001ZM6.13392 11.9608C5.85285 11.6797 5.39715 11.6797 5.11608 11.9608L3.2108 13.8661C2.92973 14.1472 2.92973 14.6028 3.2108 14.8839L5.11608 16.7892C5.39715 17.0703 5.85285 17.0703 6.13392 16.7892L8.0392 14.8839C8.32027 14.6028 8.32027 14.1472 8.0392 13.8661L6.13392 11.9608ZM16.5 5.5C16.5 6.60457 15.6046 7.5 14.5 7.5C13.3954 7.5 12.5 6.60457 12.5 5.5C12.5 4.39543 13.3954 3.5 14.5 3.5C15.6046 3.5 16.5 4.39543 16.5 5.5ZM18 5.5C18 7.433 16.433 9 14.5 9C12.567 9 11 7.433 11 5.5C11 3.567 12.567 2 14.5 2C16.433 2 18 3.567 18 5.5Z"/>
|
|
3
|
+
</svg>
|
|
4
|
+
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M4.27499 2.02502C2.90808 2.02502 1.79999 3.13312 1.79999 4.50003V11.6197C1.79999 12.9866 2.90808 14.0947 4.27499 14.0947H8.57547L12.3738 16.3317C12.5825 16.4546 12.8411 16.4562 13.0513 16.336C13.2616 16.2159 13.3914 15.9922 13.3914 15.75V14.0947H14.175C15.5419 14.0947 16.65 12.9866 16.65 11.6197V4.68002C16.65 3.21371 15.4613 2.02502 13.995 2.02502H4.27499ZM3.14999 4.50003C3.14999 3.8787 3.65367 3.37502 4.27499 3.37502H13.995C14.7157 3.37502 15.3 3.95929 15.3 4.68002V11.6197C15.3 12.241 14.7963 12.7447 14.175 12.7447H12.7164C12.3436 12.7447 12.0414 13.0469 12.0414 13.4197V14.5691L9.10201 12.838C8.99821 12.7769 8.87994 12.7447 8.75947 12.7447H4.27499C3.65367 12.7447 3.14999 12.241 3.14999 11.6197V4.50003ZM8.99999 5.40002C9.37277 5.40002 9.67499 5.70224 9.67499 6.07502V7.42502H11.025C11.3978 7.42502 11.7 7.72723 11.7 8.10002C11.7 8.4728 11.3978 8.77502 11.025 8.77502H9.67499V10.125C9.67499 10.4978 9.37277 10.8 8.99999 10.8C8.62712 10.8 8.32499 10.4978 8.32499 10.125V8.77502H6.97499C6.60221 8.77502 6.29999 8.4728 6.29999 8.10002C6.29999 7.72723 6.60221 7.42502 6.97499 7.42502H8.32499V6.07502C8.32499 5.70224 8.62721 5.40002 8.99999 5.40002Z"/>
|
|
3
|
+
</svg>
|
|
4
|
+
|
package/src/icons/types.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {SVGProps} from "react";
|
|
1
|
+
import {CSSProperties, SVGProps} from "react";
|
|
2
2
|
|
|
3
3
|
export interface AbstractNode {
|
|
4
4
|
type: string;
|
|
5
5
|
tagName?: string;
|
|
6
6
|
properties?: {
|
|
7
|
-
[key: string]: string | number;
|
|
7
|
+
[key: string]: string | number | CSSProperties;
|
|
8
8
|
};
|
|
9
9
|
children: AbstractNode[];
|
|
10
10
|
metadata?: string;
|