@fibery/ui-kit 1.37.0 → 1.38.1
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 +25 -0
- package/config/jest/testFrameworkSetup.js +1 -1
- package/package.json +20 -16
- package/src/abbreviate-name.ts +42 -0
- package/src/actions-menu/actions-menu-item.tsx +32 -11
- package/src/actions-menu/actions-menu-props.tsx +5 -0
- package/src/actions-menu/actions-menu-sub-command-menu.tsx +7 -4
- package/src/actions-menu/actions-menu-sub-menu.tsx +9 -3
- package/src/actions-menu/actions-menu.tsx +28 -9
- package/src/actions-menu/context-actions-menu.tsx +22 -0
- package/src/actions-panel.tsx +12 -2
- package/src/animated-height-container.tsx +24 -5
- package/src/antd/ant-upload.tsx +1 -1
- package/src/antd/input.tsx +4 -0
- package/src/avatar.tsx +1 -27
- package/src/axis-header.tsx +136 -76
- package/src/box.tsx +1 -1
- package/src/breadcrumb.tsx +78 -0
- package/src/button/actions-button-compact.tsx +4 -1
- package/src/button/base-button.tsx +7 -3
- package/src/button/button-group.tsx +1 -1
- package/src/button/button.tsx +33 -1
- package/src/button/icon-button.tsx +10 -1
- package/src/button/select-button.tsx +4 -0
- package/src/card-container.tsx +10 -6
- package/src/checkbox.tsx +17 -0
- package/src/collapsible-section.tsx +3 -1
- package/src/color-picker/swatch.tsx +1 -0
- package/src/command-menu/index.tsx +3 -3
- package/src/context-menu/index.tsx +10 -1
- package/src/date-picker/autocomplete.tsx +11 -5
- package/src/date-picker/date-range-input.tsx +5 -1
- package/src/date-picker/date-range-picker-popup-content.tsx +31 -13
- package/src/date-picker/date-range-picker.tsx +6 -3
- package/src/date-picker/relative-date-picker.tsx +6 -2
- package/src/date-picker/single-date-input.tsx +5 -1
- package/src/date-picker/single-date-picker.tsx +8 -5
- package/src/date-picker/styles.ts +52 -26
- package/src/date-picker/types.ts +3 -1
- package/src/day-select/day-select.tsx +21 -75
- package/src/day-select/iso-week-day-select.tsx +1 -1
- package/src/day-select/mount-day-select.tsx +2 -2
- package/src/day-select/week-day-select.tsx +1 -5
- package/src/design-system.ts +45 -12
- package/src/dropdown-menu/index.tsx +19 -2
- package/src/emoji-picker/app-icon-picker.tsx +6 -4
- package/src/emoji-picker/emoji-picker-preview-footer.tsx +5 -1
- package/src/emoji-picker/emoji-picker.tsx +3 -0
- package/src/emoji-picker/emoji.tsx +5 -3
- package/src/emoji-picker/icon-emoji-picker.tsx +10 -1
- package/src/emoji-picker/primitives/emoji.tsx +49 -51
- package/src/emoji-picker/primitives/footer.tsx +5 -0
- package/src/emoji-picker/primitives/search.tsx +8 -0
- package/src/emoji-picker/primitives/skin-tone.tsx +12 -1
- package/src/emoji-picker/use-responsive-emoji-size.ts +11 -0
- package/src/emoji-picker/utils/emoji-set.ts +2 -1
- package/src/empty-state/empty-state.tsx +6 -0
- package/src/fibermoji-placeholder.tsx +1 -27
- package/src/field-icon.tsx +4 -1
- package/src/file-item-2.tsx +408 -0
- package/src/file-item.tsx +215 -47
- package/src/header-layout.tsx +11 -0
- package/src/html-styles.ts +21 -4
- package/src/icons/ast/ActivityFilled.ts +8 -0
- package/src/icons/ast/AiAssistantFilled.ts +8 -0
- package/src/icons/ast/Back.ts +1 -1
- package/src/icons/ast/CollapseAllHorizontal.ts +8 -0
- package/src/icons/ast/DateRange.ts +1 -1
- package/src/icons/ast/EntityCreateFilled.ts +8 -0
- package/src/icons/ast/ExpandAllHorizontal.ts +8 -0
- package/src/icons/ast/ExtensionFiles.ts +1 -1
- package/src/icons/ast/FileUpload.ts +1 -1
- package/src/icons/ast/GlobeUnpublish.ts +8 -0
- package/src/icons/ast/HomeFilled.ts +8 -0
- package/src/icons/ast/KeyboardHideDown.ts +8 -0
- package/src/icons/ast/LayoutMultiple.ts +8 -0
- package/src/icons/ast/RicheditorHistoryRedo.ts +1 -1
- package/src/icons/ast/RicheditorHistoryUndo.ts +1 -1
- package/src/icons/ast/SearchFilled.ts +8 -0
- package/src/icons/ast/SettingsFilled.ts +8 -0
- package/src/icons/ast/SlideMenuFilled.ts +8 -0
- package/src/icons/ast/SwitchToMention.ts +8 -0
- package/src/icons/ast/SwitchToText.ts +8 -0
- package/src/icons/ast/SwitchToWidget.ts +8 -0
- package/src/icons/ast/TypeDate.ts +1 -1
- package/src/icons/ast/ViewGallery.ts +8 -0
- package/src/icons/ast/index.tsx +16 -0
- package/src/icons/react/ActivityFilled.tsx +13 -0
- package/src/icons/react/AiAssistantFilled.tsx +13 -0
- package/src/icons/react/CollapseAllHorizontal.tsx +13 -0
- package/src/icons/react/EntityCreateFilled.tsx +13 -0
- package/src/icons/react/ExpandAllHorizontal.tsx +13 -0
- package/src/icons/react/GlobeUnpublish.tsx +13 -0
- package/src/icons/react/HomeFilled.tsx +13 -0
- package/src/icons/react/KeyboardHideDown.tsx +13 -0
- package/src/icons/react/LayoutMultiple.tsx +13 -0
- package/src/icons/react/SearchFilled.tsx +13 -0
- package/src/icons/react/SettingsFilled.tsx +13 -0
- package/src/icons/react/SlideMenuFilled.tsx +13 -0
- package/src/icons/react/SwitchToMention.tsx +13 -0
- package/src/icons/react/SwitchToText.tsx +13 -0
- package/src/icons/react/SwitchToWidget.tsx +13 -0
- package/src/icons/react/ViewGallery.tsx +13 -0
- package/src/icons/react/index.tsx +16 -0
- package/src/icons/svg/activity-filled.svg +4 -0
- package/src/icons/svg/ai-assistant-filled.svg +3 -0
- package/src/icons/svg/back.svg +3 -1
- package/src/icons/svg/collapse-all-horizontal.svg +3 -0
- package/src/icons/svg/date-range.svg +3 -3
- package/src/icons/svg/entity-create-filled.svg +4 -0
- package/src/icons/svg/expand-all-horizontal.svg +3 -0
- package/src/icons/svg/extension/files.svg +3 -1
- package/src/icons/svg/file-upload.svg +3 -6
- package/src/icons/svg/globe-unpublish.svg +4 -0
- package/src/icons/svg/home-filled.svg +3 -0
- package/src/icons/svg/keyboard-hide-down.svg +1 -0
- package/src/icons/svg/layout-multiple.svg +3 -0
- package/src/icons/svg/richeditor/history/redo.svg +3 -2
- package/src/icons/svg/richeditor/history/undo.svg +3 -2
- package/src/icons/svg/search-filled.svg +3 -0
- package/src/icons/svg/settings-filled.svg +3 -0
- package/src/icons/svg/slide-menu-filled.svg +1 -0
- package/src/icons/svg/switch-to-mention.svg +3 -0
- package/src/icons/svg/switch-to-text.svg +4 -0
- package/src/icons/svg/switch-to-widget.svg +4 -0
- package/src/icons/svg/type/date.svg +3 -2
- package/src/icons/svg/view-gallery.svg +4 -0
- package/src/images-gallery/images-gallery-fall-through-provider.tsx +11 -0
- package/src/images-gallery/images-gallery.tsx +257 -0
- package/src/images-gallery/zoom.tsx +123 -0
- package/src/images-gallery-2/images-gallery-2.tsx +442 -0
- package/src/images-gallery-2/slide-buttons.tsx +230 -0
- package/src/images-gallery-2/zoom.tsx +35 -0
- package/src/is-in-popup.ts +1 -1
- package/src/kbd.tsx +46 -0
- package/src/layout-styles.ts +21 -1
- package/src/lists/actions-menu-row-surface.tsx +3 -1
- package/src/lists/list-row-surface.tsx +7 -1
- package/src/mobile-keyboard-aware-popup.tsx +87 -0
- package/src/mobile-styles.ts +8 -0
- package/src/modal-menu/contexts/modal-menu-context.tsx +22 -0
- package/src/modal-menu/contexts/modal-submenu-context.tsx +16 -0
- package/src/modal-menu/index.tsx +14 -0
- package/src/modal-menu/modal-menu-content.tsx +68 -0
- package/src/modal-menu/modal-menu-group.tsx +10 -0
- package/src/modal-menu/modal-menu-item.tsx +45 -0
- package/src/modal-menu/modal-menu-label.tsx +24 -0
- package/src/modal-menu/modal-menu-root.tsx +57 -0
- package/src/modal-menu/modal-menu-separator.tsx +14 -0
- package/src/modal-menu/modal-menu-trigger.tsx +54 -0
- package/src/modal-menu/modal-submenu-content.tsx +49 -0
- package/src/modal-menu/modal-submenu-trigger.tsx +34 -0
- package/src/modal-menu/modal-submenu.tsx +17 -0
- package/src/notification-dot.tsx +16 -7
- package/src/online-users.tsx +3 -3
- package/src/palette.ts +1 -1
- package/src/platform-symbols.ts +9 -0
- package/src/platform.ts +2 -0
- package/src/popover/index.tsx +710 -0
- package/src/popover/mobile-popup-context.tsx +29 -0
- package/src/{popup → popover}/modifiers.tsx +25 -25
- package/src/{popup → popover}/popup-modifiers-context.ts +3 -3
- package/src/reactions/reaction-button.tsx +342 -135
- package/src/reactions/reaction-picker.tsx +51 -44
- package/src/reactions/reactions.tsx +11 -1
- package/src/reactions/tootltip.tsx +55 -0
- package/src/rich-text-embed-error.tsx +2 -1
- package/src/select/components/group-heading.tsx +8 -0
- package/src/select/components/menu-list-virtualized.tsx +6 -2
- package/src/select/components/option.tsx +4 -0
- package/src/select/index.tsx +8 -4
- package/src/select/select-control-settings-context.tsx +11 -2
- package/src/select/select-in-popover.tsx +30 -39
- package/src/select/styles.ts +21 -1
- package/src/tab-nav/tab-nav.tsx +36 -10
- package/src/toast/primitives.tsx +8 -1
- package/src/toggle-button/round-toggle-button.tsx +23 -0
- package/src/toggle-button/toggle-button-group.tsx +34 -0
- package/src/toggle-button/toggle-button.tsx +164 -0
- package/src/toggle.tsx +11 -3
- package/src/tooltip.tsx +29 -20
- package/src/type-badge.tsx +5 -2
- package/src/unit/styles.ts +2 -2
- package/src/unit/unit-with-tooltip.tsx +1 -1
- package/src/use-is-phone.tsx +50 -4
- package/src/use-is-support-hover.ts +1 -1
- package/src/use-on-screen-keyboard-data.tsx +66 -0
- package/src/workflow-progress-icon.tsx +16 -22
- package/src/popup/index.tsx +0 -383
- package/src/shortcut-badge.tsx +0 -29
- /package/src/{popup → popover}/popup-stack-context.tsx +0 -0
- /package/src/{popup → popover}/reference.ts +0 -0
- /package/src/{popup → popover}/styles.ts +0 -0
- /package/src/{popup → popover}/use-click-outside.ts +0 -0
package/src/file-item.tsx
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import {css, cx} from "@linaria/core";
|
|
2
|
-
import {PureComponent} from "react";
|
|
2
|
+
import {PureComponent, useEffect, useState} from "react";
|
|
3
3
|
import {ActionsMenu, ActionsMenuItem} from "./actions-menu";
|
|
4
4
|
import {ActionsButtonCompact} from "./button/actions-button-compact";
|
|
5
5
|
import {Item} from "./item";
|
|
6
6
|
import {border, colors, fontWeight, space, textStyles, themeVars} from "./design-system";
|
|
7
7
|
import {makeButtonColors} from "./button/make-button-colors";
|
|
8
|
+
import {IconButton} from "./button/icon-button";
|
|
9
|
+
import ZoomIn from "./icons/react/RicheditorImageZoom";
|
|
10
|
+
import {Tooltip} from "./tooltip";
|
|
11
|
+
import {Zoom} from "./images-gallery/zoom";
|
|
12
|
+
import {useImagesGalleryMethods, useImagesGalleryRegistry} from "./images-gallery/images-gallery";
|
|
13
|
+
import FileDownload from "./icons/react/FileDownload";
|
|
14
|
+
import RicheditorOpenLink from "./icons/react/RicheditorOpenLink";
|
|
8
15
|
|
|
9
16
|
const fileItemStyle = css`
|
|
10
17
|
${{
|
|
@@ -50,7 +57,7 @@ const imageOverlayStyle = css`
|
|
|
50
57
|
borderRadius: border.radius6,
|
|
51
58
|
"&:hover": {
|
|
52
59
|
backgroundPosition: "0% 0%",
|
|
53
|
-
color:
|
|
60
|
+
color: themeVars.inversedTextColor,
|
|
54
61
|
},
|
|
55
62
|
}}
|
|
56
63
|
`;
|
|
@@ -62,18 +69,100 @@ const fileOverlayStyle = css`
|
|
|
62
69
|
`;
|
|
63
70
|
|
|
64
71
|
export type FileItemType = {
|
|
72
|
+
uid: string;
|
|
65
73
|
name: string;
|
|
66
74
|
url: string;
|
|
67
75
|
thumbnailUrl: string | null;
|
|
76
|
+
previewData: null | {
|
|
77
|
+
type: "image" | "video" | "iframe";
|
|
78
|
+
previewSrc: string | null;
|
|
79
|
+
originalSrc: string;
|
|
80
|
+
};
|
|
81
|
+
downloadUrl?: string | null;
|
|
68
82
|
status?: string;
|
|
69
83
|
};
|
|
70
84
|
|
|
71
85
|
export type FileItemProps = {
|
|
72
86
|
data: FileItemType;
|
|
73
|
-
onRemoveClick
|
|
87
|
+
onRemoveClick?: (x: FileItemType) => void;
|
|
74
88
|
disabled?: boolean;
|
|
89
|
+
onRenameClick?: (p: {id: string; name: string}) => void;
|
|
75
90
|
};
|
|
76
91
|
|
|
92
|
+
function PreviewEntry({
|
|
93
|
+
preview,
|
|
94
|
+
actions,
|
|
95
|
+
}: {
|
|
96
|
+
preview: {type: "image" | "video" | "iframe"; originalSrc: string; previewSrc: string | null};
|
|
97
|
+
actions: React.ReactNode;
|
|
98
|
+
}) {
|
|
99
|
+
const [zoomed, setZoomed] = useState(false);
|
|
100
|
+
const imagesRegistry = useImagesGalleryRegistry();
|
|
101
|
+
const galleryMethods = useImagesGalleryMethods();
|
|
102
|
+
|
|
103
|
+
useEffect(() => {
|
|
104
|
+
imagesRegistry.set(preview.originalSrc, {
|
|
105
|
+
type: preview.type,
|
|
106
|
+
src: preview.originalSrc,
|
|
107
|
+
zoomed: false,
|
|
108
|
+
setZoomed,
|
|
109
|
+
actions,
|
|
110
|
+
});
|
|
111
|
+
}, [imagesRegistry, preview, actions]);
|
|
112
|
+
useEffect(() => {
|
|
113
|
+
if (zoomed) {
|
|
114
|
+
galleryMethods.setActivated(true);
|
|
115
|
+
}
|
|
116
|
+
const imageData = imagesRegistry.get(preview.originalSrc);
|
|
117
|
+
if (imageData) {
|
|
118
|
+
imageData.zoomed = zoomed;
|
|
119
|
+
} else {
|
|
120
|
+
imagesRegistry.set(preview.originalSrc, {
|
|
121
|
+
type: preview.type,
|
|
122
|
+
src: preview.originalSrc,
|
|
123
|
+
zoomed,
|
|
124
|
+
setZoomed,
|
|
125
|
+
actions,
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
}, [galleryMethods, zoomed, preview, imagesRegistry, actions]);
|
|
129
|
+
return (
|
|
130
|
+
<div
|
|
131
|
+
className={css`
|
|
132
|
+
position: relative;
|
|
133
|
+
`}
|
|
134
|
+
>
|
|
135
|
+
<Zoom
|
|
136
|
+
zoomImg={preview.previewSrc ? {src: preview.previewSrc} : undefined}
|
|
137
|
+
openOnClick={true}
|
|
138
|
+
className={css`
|
|
139
|
+
position: absolute;
|
|
140
|
+
outline: none;
|
|
141
|
+
bottom: 0;
|
|
142
|
+
top: 0;
|
|
143
|
+
left: 0;
|
|
144
|
+
right: 0;
|
|
145
|
+
cursor: zoom-in;
|
|
146
|
+
`}
|
|
147
|
+
zoomed={zoomed}
|
|
148
|
+
onZoomedChange={setZoomed}
|
|
149
|
+
>
|
|
150
|
+
<div role="img" style={{backgroundImage: `url(${preview.previewSrc})`, outline: "none"}} />
|
|
151
|
+
</Zoom>
|
|
152
|
+
<Tooltip title={"Zoom in"}>
|
|
153
|
+
<IconButton
|
|
154
|
+
style={makeButtonColors(colors.inversedTextColor, "ghost")}
|
|
155
|
+
onClick={() => setZoomed(true)}
|
|
156
|
+
size={"small"}
|
|
157
|
+
supportMobile={true}
|
|
158
|
+
>
|
|
159
|
+
<ZoomIn />
|
|
160
|
+
</IconButton>
|
|
161
|
+
</Tooltip>
|
|
162
|
+
</div>
|
|
163
|
+
);
|
|
164
|
+
}
|
|
165
|
+
|
|
77
166
|
export class FileItem extends PureComponent<FileItemProps> {
|
|
78
167
|
_renderStatus() {
|
|
79
168
|
const {status} = this.props.data;
|
|
@@ -91,61 +180,140 @@ export class FileItem extends PureComponent<FileItemProps> {
|
|
|
91
180
|
}
|
|
92
181
|
|
|
93
182
|
render() {
|
|
94
|
-
const {name, url, thumbnailUrl, status} = this.props.data;
|
|
95
|
-
|
|
183
|
+
const {name, url, thumbnailUrl, status, previewData} = this.props.data;
|
|
96
184
|
const isActive = status === "uploading" || status === "deleting";
|
|
97
185
|
const isBackgroundReady = thumbnailUrl && !isActive;
|
|
98
|
-
|
|
99
186
|
return (
|
|
100
|
-
<
|
|
101
|
-
href={url}
|
|
102
|
-
rel="noopener noreferrer nofollow"
|
|
103
|
-
target="_blank"
|
|
104
|
-
style={isBackgroundReady ? {backgroundImage: `url(${thumbnailUrl})`} : {}}
|
|
187
|
+
<div
|
|
105
188
|
className={cx(
|
|
106
|
-
|
|
107
|
-
|
|
189
|
+
css`
|
|
190
|
+
position: relative;
|
|
191
|
+
height: 100%;
|
|
192
|
+
`,
|
|
193
|
+
isBackgroundReady &&
|
|
108
194
|
css`
|
|
109
|
-
|
|
195
|
+
&:hover .${overlayStyle} {
|
|
196
|
+
background-position: 0 0;
|
|
197
|
+
color: ${themeVars.inversedTextColor};
|
|
198
|
+
}
|
|
110
199
|
`
|
|
111
200
|
)}
|
|
112
201
|
>
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
<a download={name} href={url}>
|
|
126
|
-
<ActionsMenuItem>Download</ActionsMenuItem>
|
|
127
|
-
</a>
|
|
128
|
-
<ActionsMenuItem
|
|
129
|
-
onSelect={() => this.props.onRemoveClick(this.props.data)}
|
|
130
|
-
dangerous
|
|
131
|
-
disabled={this.props.disabled}
|
|
132
|
-
>
|
|
133
|
-
Delete
|
|
134
|
-
</ActionsMenuItem>
|
|
135
|
-
</ActionsMenu>
|
|
202
|
+
{/* eslint-disable-next-line jsx-a11y/anchor-has-content */}
|
|
203
|
+
<a
|
|
204
|
+
href={url}
|
|
205
|
+
className={css`
|
|
206
|
+
&::before {
|
|
207
|
+
bottom: 0;
|
|
208
|
+
content: "";
|
|
209
|
+
display: block;
|
|
210
|
+
left: 0;
|
|
211
|
+
position: absolute;
|
|
212
|
+
right: 0;
|
|
213
|
+
top: 0;
|
|
136
214
|
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
215
|
+
`}
|
|
216
|
+
rel="noopener noreferrer nofollow"
|
|
217
|
+
target="_blank"
|
|
218
|
+
/>
|
|
219
|
+
<div
|
|
220
|
+
style={isBackgroundReady ? {backgroundImage: `url(${thumbnailUrl})`} : {}}
|
|
221
|
+
className={cx(
|
|
222
|
+
fileItemStyle,
|
|
223
|
+
isActive &&
|
|
224
|
+
css`
|
|
225
|
+
${{backgroundColor: themeVars.entityCardSelectedColor}}
|
|
226
|
+
`
|
|
227
|
+
)}
|
|
228
|
+
>
|
|
229
|
+
<div className={cx(overlayStyle, isBackgroundReady ? imageOverlayStyle : fileOverlayStyle)}>
|
|
230
|
+
<Item
|
|
231
|
+
multiline
|
|
232
|
+
textClassName={nameStyle}
|
|
233
|
+
rightContainer={
|
|
234
|
+
<div
|
|
235
|
+
className={css`
|
|
236
|
+
display: flex;
|
|
237
|
+
align-items: center;
|
|
238
|
+
gap: ${space.s4}px;
|
|
239
|
+
`}
|
|
240
|
+
>
|
|
241
|
+
{previewData ? (
|
|
242
|
+
<PreviewEntry
|
|
243
|
+
preview={previewData}
|
|
244
|
+
actions={
|
|
245
|
+
<>
|
|
246
|
+
<a href={url} target="_blank" rel="noopener noreferrer">
|
|
247
|
+
<ActionsMenuItem Icon={RicheditorOpenLink}>Open in new tab</ActionsMenuItem>
|
|
248
|
+
</a>
|
|
249
|
+
<a download={name} href={`${url}/attachment`}>
|
|
250
|
+
<ActionsMenuItem Icon={FileDownload}>Download</ActionsMenuItem>
|
|
251
|
+
</a>
|
|
252
|
+
</>
|
|
253
|
+
}
|
|
254
|
+
/>
|
|
255
|
+
) : null}
|
|
256
|
+
<ActionsMenu
|
|
257
|
+
trigger={
|
|
258
|
+
<ActionsButtonCompact
|
|
259
|
+
className={css`
|
|
260
|
+
z-index: 1;
|
|
261
|
+
`}
|
|
262
|
+
style={isBackgroundReady ? makeButtonColors(colors.inversedTextColor, "ghost") : undefined}
|
|
263
|
+
/>
|
|
264
|
+
}
|
|
265
|
+
>
|
|
266
|
+
<a download={name} href={this.props.data.downloadUrl ?? url}>
|
|
267
|
+
<ActionsMenuItem>Download</ActionsMenuItem>
|
|
268
|
+
</a>
|
|
269
|
+
{this.props.onRenameClick && status === "done" ? (
|
|
270
|
+
<ActionsMenuItem
|
|
271
|
+
onSelect={() =>
|
|
272
|
+
this.props.onRenameClick?.({id: this.props.data.uid, name: this.props.data.name})
|
|
273
|
+
}
|
|
274
|
+
>
|
|
275
|
+
Rename
|
|
276
|
+
</ActionsMenuItem>
|
|
277
|
+
) : null}
|
|
278
|
+
<ActionsMenuItem
|
|
279
|
+
onSelect={() => this.props.onRemoveClick?.(this.props.data)}
|
|
280
|
+
dangerous
|
|
281
|
+
disabled={this.props.disabled}
|
|
282
|
+
>
|
|
283
|
+
Delete
|
|
284
|
+
</ActionsMenuItem>
|
|
285
|
+
</ActionsMenu>
|
|
286
|
+
</div>
|
|
287
|
+
}
|
|
142
288
|
>
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
289
|
+
<div
|
|
290
|
+
className={css`
|
|
291
|
+
${fontWeight}
|
|
292
|
+
`}
|
|
293
|
+
>
|
|
294
|
+
{this._renderStatus()}
|
|
295
|
+
</div>
|
|
296
|
+
<a
|
|
297
|
+
className={css`
|
|
298
|
+
position: relative;
|
|
299
|
+
z-index: 1;
|
|
300
|
+
color: inherit;
|
|
301
|
+
text-decoration: none;
|
|
302
|
+
&:hover {
|
|
303
|
+
text-decoration: none;
|
|
304
|
+
color: inherit;
|
|
305
|
+
}
|
|
306
|
+
`}
|
|
307
|
+
href={url}
|
|
308
|
+
target={"_blank"}
|
|
309
|
+
rel="noreferrer"
|
|
310
|
+
>
|
|
311
|
+
{name}
|
|
312
|
+
</a>
|
|
313
|
+
</Item>
|
|
314
|
+
</div>
|
|
147
315
|
</div>
|
|
148
|
-
</
|
|
316
|
+
</div>
|
|
149
317
|
);
|
|
150
318
|
}
|
|
151
319
|
}
|
package/src/header-layout.tsx
CHANGED
|
@@ -1,14 +1,22 @@
|
|
|
1
1
|
import {css} from "@linaria/core";
|
|
2
2
|
import {ReactNode} from "react";
|
|
3
3
|
import {space, textStyles, themeVars} from "./design-system";
|
|
4
|
+
import {mobileRootSelector} from "./mobile-styles";
|
|
4
5
|
|
|
5
6
|
const containerStyle = css`
|
|
6
7
|
padding: ${space.s8}px;
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
7
10
|
border-bottom: 1px solid ${themeVars.separatorColor};
|
|
11
|
+
${mobileRootSelector} & {
|
|
12
|
+
padding: ${space.s12}px;
|
|
13
|
+
min-height: ${space.s60}px;
|
|
14
|
+
}
|
|
8
15
|
`;
|
|
9
16
|
|
|
10
17
|
const topGridCompactStyle = css`
|
|
11
18
|
${textStyles.regular}
|
|
19
|
+
width: 100%;
|
|
12
20
|
display: flex;
|
|
13
21
|
align-items: center;
|
|
14
22
|
justify-content: space-between;
|
|
@@ -22,6 +30,9 @@ export function HeaderLayout({actions, children}: {actions?: ReactNode; children
|
|
|
22
30
|
className={css`
|
|
23
31
|
${textStyles.heading4}
|
|
24
32
|
position: relative;
|
|
33
|
+
${mobileRootSelector} & {
|
|
34
|
+
${textStyles.heading3}
|
|
35
|
+
}
|
|
25
36
|
`}
|
|
26
37
|
>
|
|
27
38
|
{children}
|
package/src/html-styles.ts
CHANGED
|
@@ -3,6 +3,7 @@ import {css} from "@linaria/core";
|
|
|
3
3
|
import {
|
|
4
4
|
border,
|
|
5
5
|
fontFamily,
|
|
6
|
+
fontSize,
|
|
6
7
|
fontWeight,
|
|
7
8
|
lineHeight,
|
|
8
9
|
space,
|
|
@@ -11,6 +12,7 @@ import {
|
|
|
11
12
|
transition,
|
|
12
13
|
typeSizes,
|
|
13
14
|
} from "./design-system";
|
|
15
|
+
import {mobileRootSelector} from "./mobile-styles";
|
|
14
16
|
|
|
15
17
|
export const linkStyles = {
|
|
16
18
|
color: themeVars.linkColor,
|
|
@@ -226,9 +228,13 @@ const htmlStyles = {
|
|
|
226
228
|
},
|
|
227
229
|
"& > *:first-child": {
|
|
228
230
|
marginTop: 0,
|
|
231
|
+
paddingTop: space.s3,
|
|
232
|
+
paddingBottom: space.s3,
|
|
229
233
|
},
|
|
230
234
|
"& > *:last-child": {
|
|
231
235
|
marginBottom: 0,
|
|
236
|
+
paddingTop: space.s3,
|
|
237
|
+
paddingBottom: space.s3,
|
|
232
238
|
},
|
|
233
239
|
"& > .fibery-rich-text-image-block:last-child": {
|
|
234
240
|
marginBottom: space.s4,
|
|
@@ -248,7 +254,10 @@ const htmlStyles = {
|
|
|
248
254
|
Used in comments and view descriptions
|
|
249
255
|
*/
|
|
250
256
|
const smallHtmlStyles = {
|
|
251
|
-
fontSize:
|
|
257
|
+
fontSize: fontSize.xs,
|
|
258
|
+
[`${mobileRootSelector} &`]: {
|
|
259
|
+
fontSize: fontSize.md,
|
|
260
|
+
},
|
|
252
261
|
"& h1": {
|
|
253
262
|
fontFamily,
|
|
254
263
|
fontSize: 24,
|
|
@@ -433,9 +442,13 @@ const smallHtmlStyles = {
|
|
|
433
442
|
},
|
|
434
443
|
"& > *:first-child": {
|
|
435
444
|
marginTop: 0,
|
|
445
|
+
paddingTop: space.s2,
|
|
446
|
+
paddingBottom: space.s2,
|
|
436
447
|
},
|
|
437
448
|
"& > *:last-child": {
|
|
438
449
|
marginBottom: 0,
|
|
450
|
+
paddingTop: space.s2,
|
|
451
|
+
paddingBottom: space.s2,
|
|
439
452
|
},
|
|
440
453
|
"& > .fibery-rich-text-image-block:last-child": {
|
|
441
454
|
marginBottom: space.s2,
|
|
@@ -445,11 +458,12 @@ const smallHtmlStyles = {
|
|
|
445
458
|
/*
|
|
446
459
|
Used in chat
|
|
447
460
|
*/
|
|
448
|
-
|
|
449
|
-
Used in chat
|
|
450
|
-
*/
|
|
461
|
+
|
|
451
462
|
const chatHtmlStyles = {
|
|
452
463
|
fontSize: typeSizes[4],
|
|
464
|
+
[`${mobileRootSelector} &`]: {
|
|
465
|
+
fontSize: typeSizes[3],
|
|
466
|
+
},
|
|
453
467
|
"& h1": {
|
|
454
468
|
fontFamily,
|
|
455
469
|
fontSize: 20,
|
|
@@ -541,6 +555,9 @@ const chatHtmlStyles = {
|
|
|
541
555
|
paddingBottom: space.s2,
|
|
542
556
|
...textStyles.regular,
|
|
543
557
|
lineHeight: lineHeight.text,
|
|
558
|
+
[`${mobileRootSelector} &`]: {
|
|
559
|
+
...textStyles.big,
|
|
560
|
+
},
|
|
544
561
|
},
|
|
545
562
|
"& .fibery-rich-text-check-item": {
|
|
546
563
|
marginTop: space.s2,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const ActivityFilled: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M12.4 16.5c.192 0 .288 0 .355.05.053.04.094.117.099.183.005.084-.041.155-.134.296a3.247 3.247 0 0 1-5.439 0c-.092-.141-.139-.212-.133-.296a.273.273 0 0 1 .098-.183c.067-.05.163-.05.355-.05h4.8ZM10 2c1.51 0 2.966.559 4.048 1.568 1.083 1.012 1.702 2.395 1.702 3.849 0 2.105.529 3.55 1.117 4.514.273.445.484.761.641.995l.065.097c.076.114.153.23.21.332.028.05.064.12.092.2a.898.898 0 0 1 .052.38c-.01.105-.031.287-.135.473a1.151 1.151 0 0 1-.335.365.94.94 0 0 1-.299.145 1.501 1.501 0 0 1-.205.042c-.12.017-.259.025-.404.03-.28.01-.669.01-1.155.01H4.607c-.487 0-.875 0-1.156-.01a4.065 4.065 0 0 1-.404-.03 1.498 1.498 0 0 1-.205-.042.942.942 0 0 1-.299-.145 1.151 1.151 0 0 1-.335-.365 1.157 1.157 0 0 1-.135-.473.895.895 0 0 1 .053-.38c.029-.08.064-.15.093-.2.056-.101.133-.218.209-.332l.065-.097c.157-.234.368-.55.64-.995.589-.964 1.117-2.409 1.117-4.514 0-1.454.62-2.837 1.703-3.849C7.035 2.56 8.491 2 10 2Z"},"children":[]}],"metadata":""}]},"name":"activity-filled"};
|
|
7
|
+
|
|
8
|
+
export default ActivityFilled;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const AiAssistantFilled: 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":"M3.374.262a.398.398 0 0 0-.75.006l-.548 1.607a.317.317 0 0 1-.207.2l-1.59.493a.395.395 0 0 0-.006.754l1.595.524a.317.317 0 0 1 .202.202l.552 1.68c.119.36.629.364.753.006l.587-1.69a.317.317 0 0 1 .199-.197l1.568-.526a.395.395 0 0 0-.006-.752l-1.564-.494a.317.317 0 0 1-.203-.195L3.374.262Zm-.562 14.956a.332.332 0 0 0-.626.006l-.456 1.338a.264.264 0 0 1-.172.168l-1.325.41a.33.33 0 0 0-.006.628l1.33.437c.08.027.142.089.168.169l.46 1.399c.099.3.524.304.628.005l.488-1.409a.264.264 0 0 1 .166-.163l1.308-.439a.33.33 0 0 0-.006-.626l-1.303-.412a.264.264 0 0 1-.17-.162l-.484-1.349Zm9.183-12.814c-.336-.936-1.663-.924-1.983.017l-1.47 4.33a1.2 1.2 0 0 1-.78.76L3.506 8.835c-.975.304-.986 1.68-.017 2l4.273 1.41a1.2 1.2 0 0 1 .764.767l1.482 4.53c.314.957 1.662.968 1.99.017l1.578-4.566a1.2 1.2 0 0 1 .752-.745l4.202-1.415c.963-.324.95-1.689-.017-1.996L14.326 7.51a1.2 1.2 0 0 1-.766-.74l-1.565-4.365Z"},"children":[]}],"metadata":""}]},"name":"ai-assistant-filled"};
|
|
7
|
+
|
|
8
|
+
export default AiAssistantFilled;
|
package/src/icons/ast/Back.ts
CHANGED
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
import { IconDefinition } from '../types';
|
|
5
5
|
|
|
6
|
-
const Back: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"
|
|
6
|
+
const Back: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M7.47 5.22a.75.75 0 0 1 1.06 1.06L5.56 9.25h10.69a.75.75 0 0 1 0 1.5H5.56l2.97 2.97a.75.75 0 1 1-1.06 1.06l-4.25-4.25a.748.748 0 0 1 0-1.06l4.25-4.25Z"},"children":[]}],"metadata":""}]},"name":"back"};
|
|
7
7
|
|
|
8
8
|
export default Back;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const CollapseAllHorizontal: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M3.381 13.119a.8.8 0 0 0 1.132 1.131l3.334-3.566a.8.8 0 0 0 0-1.131L4.513 5.987A.8.8 0 0 0 3.38 7.12l2.769 3-2.769 3Zm13.238-6a.8.8 0 1 0-1.132-1.132l-3.571 3.566a.8.8 0 0 0 0 1.131l3.571 3.566a.8.8 0 1 0 1.132-1.131l-3.006-3 3.006-3Z"},"children":[]}],"metadata":""}]},"name":"collapse-all-horizontal"};
|
|
7
|
+
|
|
8
|
+
export default CollapseAllHorizontal;
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
import { IconDefinition } from '../types';
|
|
5
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":"
|
|
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":"M15.6 3H14V1.804a.8.8 0 0 0-1.6 0V3H7.6V1.804a.8.8 0 0 0-1.6 0V3H4.4A2.4 2.4 0 0 0 2 5.4v9.2A2.4 2.4 0 0 0 4.4 17h11.2a2.4 2.4 0 0 0 2.4-2.4V5.4A2.4 2.4 0 0 0 15.6 3Zm.566 12.166a.8.8 0 0 0 .234-.566V5.4a.8.8 0 0 0-.8-.8H4.4a.8.8 0 0 0-.8.8v9.2a.8.8 0 0 0 .8.8h11.2a.8.8 0 0 0 .566-.234Z"},"children":[]},{"type":"element","tagName":"path","properties":{"d":"M8.78 8.08a.75.75 0 0 0-1.06-1.06l-2.5 2.5a.75.75 0 0 0 0 1.06l2.5 2.5a.75.75 0 0 0 1.06-1.06L7.56 10.8h4.88l-1.22 1.22a.75.75 0 1 0 1.06 1.06l2.5-2.5a.75.75 0 0 0 0-1.06l-2.5-2.5a.75.75 0 1 0-1.06 1.06l1.22 1.22H7.56l1.22-1.22Z"},"children":[]}],"metadata":""}]},"name":"date-range"};
|
|
7
7
|
|
|
8
8
|
export default DateRange;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const EntityCreateFilled: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M11.5 2a.75.75 0 0 1 .53 1.28L7.366 7.944A1.25 1.25 0 0 0 7 8.828v2.922c0 .69.56 1.25 1.25 1.25h2.922c.331 0 .65-.132.884-.366L16.72 7.97A.75.75 0 0 1 18 8.5v6.75A2.75 2.75 0 0 1 15.25 18H4.75A2.75 2.75 0 0 1 2 15.25V4.75A2.75 2.75 0 0 1 4.75 2h6.75Z"},"children":[]},{"type":"element","tagName":"path","properties":{"d":"M14.85 2.625a1.785 1.785 0 0 1 2.525 2.524l-.225.224-5.803 5.805a.752.752 0 0 1-.532.22H9.353a.75.75 0 0 1-.75-.75V9.184c0-.2.079-.39.22-.53l5.804-5.805.224-.225Z"},"children":[]}],"metadata":""}]},"name":"entity-create-filled"};
|
|
7
|
+
|
|
8
|
+
export default EntityCreateFilled;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const ExpandAllHorizontal: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"width":20,"height":20},"children":[{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M7.847 13.119a.8.8 0 0 1-1.131 1.131L3.38 10.684a.8.8 0 0 1 0-1.131l3.335-3.566A.8.8 0 0 1 7.847 7.12l-2.769 3 2.77 3Zm4.069-6a.8.8 0 1 1 1.131-1.132l3.572 3.566a.8.8 0 0 1 0 1.131l-3.572 3.566a.8.8 0 1 1-1.131-1.131l3.006-3-3.006-3Z"},"children":[]}],"metadata":""}]},"name":"expand-all-horizontal"};
|
|
7
|
+
|
|
8
|
+
export default ExpandAllHorizontal;
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
import { IconDefinition } from '../types';
|
|
5
5
|
|
|
6
|
-
const ExtensionFiles: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"
|
|
6
|
+
const ExtensionFiles: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M15.03 6.032c0-.695-.294-1.362-.817-1.854a2.886 2.886 0 0 0-1.974-.767c-.647 0-1.271.212-1.768.594l-.205.173-5.427 5.097c-.855.803-1.336 1.893-1.336 3.03 0 1.136.48 2.225 1.336 3.029a4.718 4.718 0 0 0 3.226 1.255l.226-.006a4.705 4.705 0 0 0 3-1.25l5.426-5.096a.786.786 0 0 1 1.063 0 .676.676 0 0 1 0 .998l-5.426 5.096c-1.067 1.002-2.49 1.592-3.988 1.662l-.3.007c-1.61 0-3.152-.6-4.29-1.669C2.64 15.263 2 13.815 2 12.304c0-1.51.64-2.959 1.777-4.027l5.426-5.096.155-.138A4.454 4.454 0 0 1 12.239 2a4.44 4.44 0 0 1 3.036 1.18 3.913 3.913 0 0 1 1.258 2.852l-.005.2a3.923 3.923 0 0 1-1.253 2.65L9.85 13.98a2.595 2.595 0 0 1-1.535.683l-.249.011c-.669 0-1.31-.25-1.783-.694a2.299 2.299 0 0 1-.74-1.675c0-.628.267-1.23.74-1.675l5.426-5.096a.787.787 0 0 1 1.062 0 .676.676 0 0 1 0 .998l-5.426 5.096a.93.93 0 0 0-.3.677.93.93 0 0 0 .3.678c.191.179.45.28.721.28l.101-.005a1.05 1.05 0 0 0 .62-.275l5.427-5.097c.458-.43.74-.994.804-1.594l.014-.26Z"},"children":[]}],"metadata":""}]},"name":"extension-files"};
|
|
7
7
|
|
|
8
8
|
export default ExtensionFiles;
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
import { IconDefinition } from '../types';
|
|
5
5
|
|
|
6
|
-
const FileUpload: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0
|
|
6
|
+
const FileUpload: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"m13.029 10.72-2.499-2.5a.75.75 0 0 0-1.06 0l-2.499 2.5a.75.75 0 0 0 1.06 1.06l1.22-1.22v3.94a.75.75 0 1 0 1.499 0v-3.94l1.219 1.22a.75.75 0 1 0 1.06-1.06Z"},"children":[]},{"type":"element","tagName":"path","properties":{"fillRule":"evenodd","clipRule":"evenodd","d":"M5.745 1.5a2.75 2.75 0 0 0-2.748 2.75v11.5a2.75 2.75 0 0 0 2.748 2.75h8.503a2.75 2.75 0 0 0 2.749-2.75V6.747c0-.2-.08-.39-.22-.531l-4.505-4.497a.75.75 0 0 0-.53-.219H5.745Zm-1.25 2.75c0-.69.56-1.25 1.25-1.25h5.248v2.913a1.584 1.584 0 0 0 1.582 1.584h2.922v8.253c0 .69-.56 1.25-1.25 1.25H5.746c-.69 0-1.25-.56-1.25-1.25V4.25Zm9.94 1.747-1.943-1.94v1.856a.083.083 0 0 0 .083.084h1.86Z"},"children":[]}],"metadata":""}]},"name":"file-upload"};
|
|
7
7
|
|
|
8
8
|
export default FileUpload;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const GlobeUnpublish: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M2.22 2.72a.75.75 0 0 1 1.06 0l14.5 14.5a.75.75 0 0 1-1.06 1.06l-1.71-1.709A7.84 7.84 0 0 1 10 18.375 7.875 7.875 0 0 1 3.928 5.488L2.22 3.78a.75.75 0 0 1 0-1.06Zm1.449 8.53a6.38 6.38 0 0 0 4.555 5.374c-1.32-1.854-1.947-3.674-2.102-5.374H3.669Zm9.314 3.294a12.63 12.63 0 0 1-1.207 2.08 6.353 6.353 0 0 0 2.17-1.118l-.963-.962ZM7.63 11.25c.174 1.605.855 3.377 2.37 5.23.865-1.058 1.457-2.091 1.839-3.08l-2.15-2.15H7.63ZM6.493 3.31a8.002 8.002 0 0 1 11.368 5.705 8.001 8.001 0 0 1-.576 4.79.75.75 0 1 1-1.365-.62 6.502 6.502 0 0 0-4.892-9.103 6.502 6.502 0 0 0-3.878.576.75.75 0 0 1-.657-1.348ZM4.994 6.555A6.342 6.342 0 0 0 3.67 9.75h2.436a9.593 9.593 0 0 1 .293-1.791L4.994 6.555Zm2.714 2.272c-.025.17-.084.747-.099.923h.954l-.855-.923Z"},"children":[]}],"metadata":""}]},"name":"globe-unpublish"};
|
|
7
|
+
|
|
8
|
+
export default GlobeUnpublish;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const HomeFilled: 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.59 18.285a2.91 2.91 0 0 0 2.91-2.91V7.54c0-.5-.205-.976-.561-1.32l-.163-.138-5.669-4.309a1.829 1.829 0 0 0-2.088-.087l-.126.087-5.67 4.309A1.83 1.83 0 0 0 2.5 7.54v7.834a2.91 2.91 0 0 0 2.91 2.91h9.18Zm-1.195-5.706a.75.75 0 0 0-1.004-.052l-.057.052a3.301 3.301 0 0 1-4.544.117l-.123-.117-.056-.052a.75.75 0 0 0-1.056 1.056l.052.056.178.17a4.8 4.8 0 0 0 6.61-.17l.05-.056a.75.75 0 0 0-.05-1.004Z"},"children":[]}],"metadata":""}]},"name":"home-filled"};
|
|
7
|
+
|
|
8
|
+
export default HomeFilled;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const KeyboardHideDown: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M12.02 16.09a.751.751 0 0 1 .96 1.152L10 19.727l-2.98-2.483a.75.75 0 0 1 .96-1.153L10 17.773zM5.008 9.25a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1 0-1.5zM11.667 9.25a.75.75 0 0 1 0 1.5H8.334a.75.75 0 0 1 0-1.5zM15.008 9.25a.75.75 0 0 1 0 1.5H15a.75.75 0 0 1 0-1.5zM5.008 5.916a.75.75 0 0 1 0 1.5H5a.75.75 0 0 1 0-1.5zM8.342 5.916a.75.75 0 0 1 0 1.5h-.008a.75.75 0 0 1 0-1.5zM11.675 5.916a.75.75 0 0 1 0 1.5h-.008a.75.75 0 0 1 0-1.5zM15.008 5.916a.75.75 0 0 1 0 1.5H15a.75.75 0 0 1 0-1.5z"},"children":[]},{"type":"element","tagName":"path","properties":{"clipRule":"evenodd","d":"M16.667 2.583A2.417 2.417 0 0 1 19.084 5v6.666a2.417 2.417 0 0 1-2.417 2.417H3.334a2.417 2.417 0 0 1-2.417-2.417V5a2.417 2.417 0 0 1 2.417-2.417zm-13.333 1.5A.917.917 0 0 0 2.417 5v6.666c0 .507.41.917.917.917h13.333c.506 0 .917-.41.917-.917V5a.917.917 0 0 0-.917-.917z","fillRule":"evenodd"},"children":[]}],"metadata":""}]},"name":"keyboard-hide-down"};
|
|
7
|
+
|
|
8
|
+
export default KeyboardHideDown;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const LayoutMultiple: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M12 4.256c0-1.362 1.37-2.205 2.446-1.504l2.77 1.804c.486.317.784.887.784 1.503v9.684c0 1.363-1.37 2.205-2.446 1.504L13 15.584v.16c0 1.362-1.37 2.204-2.446 1.503L8 15.584v.16c0 1.362-1.37 2.204-2.446 1.503l-2.77-1.802C2.298 15.128 2 14.557 2 13.94V4.256c0-1.362 1.37-2.205 2.446-1.504L7 4.415v-.159c0-1.362 1.37-2.205 2.446-1.504L12 4.415v-.159Zm-8.266-.215c-.153-.1-.35.02-.35.215v9.685c0 .088.043.17.112.215l2.77 1.803c.153.1.35-.02.35-.216V6.06a.256.256 0 0 0-.112-.215l-2.77-1.803Zm5 0c-.153-.1-.35.02-.35.215v9.685c0 .088.043.17.112.215l2.77 1.803c.153.1.35-.02.35-.216V6.06a.256.256 0 0 0-.112-.215l-2.77-1.803Zm5 0c-.153-.1-.35.02-.35.215v9.685c0 .088.043.17.112.215l2.77 1.803c.153.1.35-.02.35-.216V6.06a.256.256 0 0 0-.112-.215l-2.77-1.803Z"},"children":[]}],"metadata":""}]},"name":"layout-multiple"};
|
|
7
|
+
|
|
8
|
+
export default LayoutMultiple;
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
import { IconDefinition } from '../types';
|
|
5
5
|
|
|
6
|
-
const RicheditorHistoryRedo: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"
|
|
6
|
+
const RicheditorHistoryRedo: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M4.64 11.348c0-2.403 1.623-4.06 4.272-4.06h3.474l1.342.058-.961-.797-1.33-1.301a.697.697 0 0 1-.234-.527c0-.416.293-.721.732-.721.193 0 .393.082.545.229l3.293 3.257a.784.784 0 0 1 0 1.107l-3.293 3.253a.805.805 0 0 1-.545.234c-.44 0-.732-.31-.732-.726 0-.229.093-.393.234-.528l1.33-1.3.96-.797-1.34.064H8.922c-1.775 0-2.8 1.037-2.8 2.52 0 1.476 1.025 2.542 2.8 2.542h1.389c.44 0 .762.34.762.756 0 .41-.323.75-.762.75H8.847c-2.607 0-4.207-1.582-4.207-4.013Z"},"children":[]}],"metadata":""}]},"name":"richeditor-history-redo"};
|
|
7
7
|
|
|
8
8
|
export default RicheditorHistoryRedo;
|
|
@@ -3,6 +3,6 @@
|
|
|
3
3
|
|
|
4
4
|
import { IconDefinition } from '../types';
|
|
5
5
|
|
|
6
|
-
const RicheditorHistoryUndo: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"
|
|
6
|
+
const RicheditorHistoryUndo: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M15.361 11.348c0-2.403-1.623-4.06-4.271-4.06H7.615l-1.342.058.961-.797 1.33-1.301a.697.697 0 0 0 .235-.527c0-.416-.293-.721-.733-.721a.799.799 0 0 0-.545.229L4.23 7.486a.784.784 0 0 0 0 1.107l3.292 3.253a.806.806 0 0 0 .545.234c.44 0 .733-.31.733-.726a.697.697 0 0 0-.235-.528l-1.33-1.3-.96-.797 1.341.064h3.463c1.776 0 2.8 1.037 2.8 2.52 0 1.476-1.024 2.542-2.8 2.542H9.69c-.439 0-.761.34-.761.756 0 .41.322.75.761.75h1.465c2.608 0 4.207-1.582 4.207-4.013Z"},"children":[]}],"metadata":""}]},"name":"richeditor-history-undo"};
|
|
7
7
|
|
|
8
8
|
export default RicheditorHistoryUndo;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const SearchFilled: IconDefinition = {"icon":{"type":"root","children":[{"type":"element","tagName":"svg","properties":{"viewBox":"0 0 20 20"},"children":[{"type":"element","tagName":"path","properties":{"d":"M13.875 8.75a5.125 5.125 0 1 0-10.25 0 5.125 5.125 0 0 0 10.25 0Zm2.25 0c0 1.63-.531 3.137-1.427 4.357l3.598 3.597a1.126 1.126 0 0 1-1.592 1.592l-3.597-3.598a7.375 7.375 0 1 1 3.018-5.948Z"},"children":[]}],"metadata":""}]},"name":"search-filled"};
|
|
7
|
+
|
|
8
|
+
export default SearchFilled;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const SettingsFilled: 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":"M10.5 1.35a1.966 1.966 0 0 1 1.827 1.257l.427 1.102 1.316.758 1.187-.18a1.965 1.965 0 0 1 1.965.962l.002.004.483.847a1.968 1.968 0 0 1-.157 2.213l-.726.925v1.518l.748.928a1.966 1.966 0 0 1 .16 2.216l-.484.847-.002.004a1.966 1.966 0 0 1-1.965.963l-.012-.001-1.174-.18-1.317.758-.426 1.1a1.966 1.966 0 0 1-1.828 1.26H9.5a1.966 1.966 0 0 1-1.827-1.258l-.427-1.102-1.316-.758-1.187.18a1.965 1.965 0 0 1-1.965-.962l-.002-.004-.483-.847a1.968 1.968 0 0 1 .157-2.213l.726-.925V9.244l-.748-.928a1.966 1.966 0 0 1-.16-2.216l.486-.851a1.966 1.966 0 0 1 1.966-.963l.011.001 1.177.18 1.34-.76.425-1.099A1.97 1.97 0 0 1 9.5 1.35h1Zm-.5 5.9a2.75 2.75 0 1 0 0 5.5 2.75 2.75 0 0 0 0-5.5Z"},"children":[]}],"metadata":""}]},"name":"settings-filled"};
|
|
7
|
+
|
|
8
|
+
export default SettingsFilled;
|