@fibery/ui-kit 1.40.3 → 1.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/eslint.config.mjs +16 -0
- package/package.json +11 -13
- package/src/a11y-color.test.ts +162 -0
- package/src/a11y-color.ts +13 -20
- package/src/actions-menu/actions-menu-item.tsx +9 -12
- package/src/actions-menu/context-actions-menu.tsx +8 -3
- package/src/ai/model.tsx +0 -1
- package/src/ai/temperature.tsx +0 -1
- package/src/animated-height-container.tsx +3 -3
- package/src/antd/ant-modal.tsx +10 -5
- package/src/antd/index.tsx +3 -0
- package/src/antd/input.tsx +0 -1
- package/src/antd/styles.ts +15 -15
- package/src/app-icon-with-fallback.tsx +6 -6
- package/src/app-icon-wrapper.tsx +2 -3
- package/src/app-icon.tsx +4 -4
- package/src/avatar.tsx +3 -3
- package/src/button/base-button.tsx +0 -1
- package/src/button/button.tsx +1 -0
- package/src/button/make-button-colors.ts +5 -13
- package/src/checkbox.tsx +2 -2
- package/src/collapsible-section.tsx +11 -1
- package/src/color-picker/ColorPickerOrLoader.js +2 -2
- package/src/color-utils.test.ts +307 -0
- package/src/color-utils.ts +215 -0
- package/src/command-menu/index.tsx +1 -0
- package/src/comment.tsx +3 -2
- package/src/context-menu/index.tsx +12 -7
- package/src/date-picker/contexts.ts +2 -2
- package/src/date-picker/date-range-picker.tsx +3 -4
- package/src/date-picker/single-date-picker.tsx +147 -119
- package/src/date-picker/types.ts +4 -3
- package/src/day-select/iso-week-day-select.tsx +2 -2
- package/src/day-select/week-day-select.tsx +2 -2
- package/src/delayed.tsx +0 -1
- package/src/design-system/alpha.test.ts +59 -0
- package/src/design-system/alpha.ts +41 -0
- package/src/design-system/animation.ts +10 -0
- package/src/design-system/colors-css.test.ts +39 -0
- package/src/design-system/colors-css.ts +25 -0
- package/src/design-system/colors-js.test.ts +232 -0
- package/src/design-system/colors-js.ts +107 -0
- package/src/design-system/colors.test.ts +74 -0
- package/src/design-system/colors.ts +759 -0
- package/src/design-system/date.ts +3 -0
- package/src/design-system/layout.ts +106 -0
- package/src/design-system/theme.test.ts +94 -0
- package/src/design-system/theme.ts +93 -0
- package/src/design-system/typography.ts +179 -0
- package/src/design-system/vars.test.ts +1679 -0
- package/src/design-system/vars.ts +52 -0
- package/src/design-system.test.ts +45 -22
- package/src/design-system.ts +25 -1339
- package/src/dropdown-menu/index.tsx +21 -16
- package/src/emoji-picker/app-icon-picker.tsx +5 -5
- package/src/emoji-picker/emoji-picker-content-with-color.tsx +4 -4
- package/src/emoji-picker/icon-emoji-picker.tsx +3 -3
- package/src/favorites-icon.tsx +1 -1
- package/src/fibermoji-placeholder.tsx +3 -3
- package/src/field-container.tsx +11 -2
- package/src/file-item/file-icon.tsx +169 -0
- package/src/file-item/file-menu-items.tsx +68 -0
- package/src/file-item/file-preview-actions.tsx +38 -0
- package/src/file-item/file-title.tsx +48 -0
- package/src/file-item/types.ts +27 -0
- package/src/file-item/use-register-in-image-gallery.tsx +70 -0
- package/src/file-item-2.tsx +32 -348
- package/src/file-item.tsx +6 -3
- package/src/hue-shift.test.ts +91 -0
- package/src/icons/ast/ChatBubble.ts +8 -0
- package/src/icons/ast/ChatFloat.ts +8 -0
- package/src/icons/ast/ChatSidebar.ts +8 -0
- package/src/icons/ast/FileCounter.ts +8 -0
- package/src/icons/ast/FileMultiple.ts +8 -0
- package/src/icons/ast/FileOther.ts +8 -0
- package/src/icons/ast/NoBorder.ts +8 -0
- package/src/icons/ast/NoFill.ts +8 -0
- package/src/icons/ast/ValueEdit.ts +8 -0
- package/src/icons/ast/index.tsx +9 -0
- package/src/icons/react/ChatBubble.tsx +13 -0
- package/src/icons/react/ChatFloat.tsx +13 -0
- package/src/icons/react/ChatSidebar.tsx +13 -0
- package/src/icons/react/FileCounter.tsx +13 -0
- package/src/icons/react/FileMultiple.tsx +13 -0
- package/src/icons/react/FileOther.tsx +13 -0
- package/src/icons/react/NoBorder.tsx +13 -0
- package/src/icons/react/NoFill.tsx +13 -0
- package/src/icons/react/ValueEdit.tsx +13 -0
- package/src/icons/react/index.tsx +9 -0
- package/src/icons/svg/chat-bubble.svg +4 -0
- package/src/icons/svg/chat-float.svg +4 -0
- package/src/icons/svg/chat-sidebar.svg +4 -0
- package/src/icons/svg/file-counter.svg +3 -0
- package/src/icons/svg/file-multiple.svg +3 -0
- package/src/icons/svg/file-other.svg +3 -0
- package/src/icons/svg/no-border.svg +17 -0
- package/src/icons/svg/no-fill.svg +4 -0
- package/src/icons/svg/value-edit.svg +3 -0
- package/src/images-gallery/images-gallery.tsx +8 -6
- package/src/images-gallery/slide-buttons.tsx +4 -11
- package/src/is-iOS.ts +0 -1
- package/src/is-in-popup.ts +2 -1
- package/src/lists/actions-menu-row-surface.tsx +7 -7
- package/src/loading-sausage.tsx +2 -2
- package/src/media-query-utils.ts +1 -2
- package/src/mobile-keyboard-aware-popup.tsx +6 -5
- package/src/modal-menu/modal-menu-content.tsx +2 -2
- package/src/number-input/decimal.js +9 -7
- package/src/number-input/{number-inline-input-with-autosize.tsx → number-input-inline-with-autosize.tsx} +20 -41
- package/src/number-input/number-input-inline.tsx +118 -0
- package/src/number-input/{index.test.js → number-input.test.tsx} +38 -43
- package/src/number-input/number-input.tsx +63 -121
- package/src/number-input/types.ts +19 -0
- package/src/number-input/utils.ts +61 -0
- package/src/online-users.tsx +2 -2
- package/src/palette-generator.test.ts +309 -0
- package/src/palette-generator.ts +160 -0
- package/src/palettes/_.ts +72 -0
- package/src/palettes/slate-arch.colors-snapshot.test.ts +1689 -0
- package/src/palettes/slate-arch.ts +188 -0
- package/src/palettes/slate-user.colors-snapshot.test.ts +1689 -0
- package/src/palettes/slate-user.ts +187 -0
- package/src/palettes/warm-arch.colors-snapshot.test.ts +1689 -0
- package/src/palettes/warm-arch.ts +222 -0
- package/src/palettes/warm-user.colors-snapshot.test.ts +1689 -0
- package/src/palettes/warm-user.ts +222 -0
- package/src/platform.ts +0 -3
- package/src/popover/get-element-ref.ts +28 -0
- package/src/popover/index.tsx +236 -339
- package/src/popover/{mobile-popup-context.tsx → mobile-popover-context.tsx} +7 -7
- package/src/popover/mobile-popover.tsx +169 -0
- package/src/popover/modifiers.tsx +2 -2
- package/src/popover/popup-stack-context.tsx +8 -9
- package/src/progress.tsx +2 -2
- package/src/reactions/reaction-button.tsx +12 -6
- package/src/root-theme-provider.test.tsx +411 -0
- package/src/scale-generator.ts +356 -0
- package/src/select/components/menu-list-virtualized.tsx +12 -25
- package/src/select/components/menu.tsx +12 -2
- package/src/select/index.tsx +6 -5
- package/src/select/select.tsx +38 -39
- package/src/select/styles.ts +0 -1
- package/src/select/util.ts +1 -1
- package/src/static-palettes.ts +356 -0
- package/src/thematic-color-picker.tsx +266 -0
- package/src/thematic-constants.tsx +27 -0
- package/src/thematic-controls.tsx +144 -0
- package/src/thematic-scales.tsx +122 -0
- package/src/thematic-state.ts +370 -0
- package/src/thematic.tsx +386 -0
- package/src/theme-provider.test.tsx +820 -0
- package/src/theme-provider.tsx +158 -92
- package/src/theme-settings.ts +67 -12
- package/src/theme-styles.ts +58 -6
- package/src/toast/toast-action.tsx +1 -1
- package/src/toast/toast.tsx +1 -2
- package/src/toggle-on-off.tsx +2 -2
- package/src/toggle.tsx +7 -8
- package/src/tooltip.tsx +14 -10
- package/src/type-badge.tsx +7 -14
- package/src/unit/styles.ts +2 -25
- package/src/unit/unit-with-tooltip.tsx +3 -2
- package/src/use-is-phone.tsx +7 -2
- package/src/use-long-press.tsx +2 -2
- package/src/use-on-screen-keyboard-data.tsx +2 -2
- package/src/with-data.tsx +4 -3
- package/src/workflow-progress-icon.tsx +2 -2
- package/.eslintignore +0 -3
- package/.eslintrc +0 -14
- package/src/__mocks__/createInlineTheme.js +0 -3
- package/src/create-inline-theme.ts +0 -66
- package/src/number-input/index.js +0 -191
- package/src/palette.ts +0 -237
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
// This icon file is generated automatically.
|
|
3
|
+
|
|
4
|
+
import { IconDefinition } from '../types';
|
|
5
|
+
|
|
6
|
+
const ValueEdit: 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.5 6.25a.75.75 0 0 1 .75-.75h11.5a.75.75 0 0 1 .75.75v2a.75.75 0 0 0 1.5 0v-2A2.25 2.25 0 0 0 15.75 4H4.25A2.25 2.25 0 0 0 2 6.25v5.5A2.25 2.25 0 0 0 4.25 14H12a.75.75 0 0 0 0-1.5H4.25a.75.75 0 0 1-.75-.75v-5.5Zm2.25 2a.75.75 0 0 0 0 1.5h2.5a.75.75 0 0 0 0-1.5h-2.5Zm9 2a.75.75 0 0 0 0 1.5h1v4.5h-1a.75.75 0 0 0 0 1.5h3.5a.75.75 0 0 0 0-1.5h-1v-4.5h1a.75.75 0 0 0 0-1.5h-3.5Z"},"children":[]}],"metadata":""}]},"name":"value-edit"};
|
|
7
|
+
|
|
8
|
+
export default ValueEdit;
|
package/src/icons/ast/index.tsx
CHANGED
|
@@ -63,6 +63,9 @@ export { default as BringForward } from './BringForward';
|
|
|
63
63
|
export { default as BringToFront } from './BringToFront';
|
|
64
64
|
export { default as Cards } from './Cards';
|
|
65
65
|
export { default as ChatAi } from './ChatAi';
|
|
66
|
+
export { default as ChatBubble } from './ChatBubble';
|
|
67
|
+
export { default as ChatFloat } from './ChatFloat';
|
|
68
|
+
export { default as ChatSidebar } from './ChatSidebar';
|
|
66
69
|
export { default as Chat } from './Chat';
|
|
67
70
|
export { default as CheckCircleFilled } from './CheckCircleFilled';
|
|
68
71
|
export { default as CheckCircle } from './CheckCircle';
|
|
@@ -133,9 +136,12 @@ export { default as Fields } from './Fields';
|
|
|
133
136
|
export { default as Figma } from './Figma';
|
|
134
137
|
export { default as FileArchive } from './FileArchive';
|
|
135
138
|
export { default as FileBroken } from './FileBroken';
|
|
139
|
+
export { default as FileCounter } from './FileCounter';
|
|
136
140
|
export { default as FileDocument } from './FileDocument';
|
|
137
141
|
export { default as FileDownload } from './FileDownload';
|
|
138
142
|
export { default as FileImage } from './FileImage';
|
|
143
|
+
export { default as FileMultiple } from './FileMultiple';
|
|
144
|
+
export { default as FileOther } from './FileOther';
|
|
139
145
|
export { default as FilePresentation } from './FilePresentation';
|
|
140
146
|
export { default as FileTable } from './FileTable';
|
|
141
147
|
export { default as FileUpload } from './FileUpload';
|
|
@@ -225,6 +231,8 @@ export { default as MoveSpace } from './MoveSpace';
|
|
|
225
231
|
export { default as MoveTop } from './MoveTop';
|
|
226
232
|
export { default as NetworkAdd } from './NetworkAdd';
|
|
227
233
|
export { default as Network } from './Network';
|
|
234
|
+
export { default as NoBorder } from './NoBorder';
|
|
235
|
+
export { default as NoFill } from './NoFill';
|
|
228
236
|
export { default as Notifications } from './Notifications';
|
|
229
237
|
export { default as ObjChild } from './ObjChild';
|
|
230
238
|
export { default as ObjM2M } from './ObjM2M';
|
|
@@ -404,6 +412,7 @@ export { default as UserGroupRemove } from './UserGroupRemove';
|
|
|
404
412
|
export { default as UserGroup } from './UserGroup';
|
|
405
413
|
export { default as UserRole } from './UserRole';
|
|
406
414
|
export { default as UserX } from './UserX';
|
|
415
|
+
export { default as ValueEdit } from './ValueEdit';
|
|
407
416
|
export { default as ViewAi } from './ViewAi';
|
|
408
417
|
export { default as ViewBoard } from './ViewBoard';
|
|
409
418
|
export { default as ViewCalendar } from './ViewCalendar';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import ChatBubbleSvg from '../ast/ChatBubble';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const ChatBubble = forwardRef<SVGSVGElement, IconBaseProps>(function ChatBubble(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={ChatBubbleSvg} />});
|
|
12
|
+
|
|
13
|
+
export default ChatBubble;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import ChatFloatSvg from '../ast/ChatFloat';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const ChatFloat = forwardRef<SVGSVGElement, IconBaseProps>(function ChatFloat(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={ChatFloatSvg} />});
|
|
12
|
+
|
|
13
|
+
export default ChatFloat;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import ChatSidebarSvg from '../ast/ChatSidebar';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const ChatSidebar = forwardRef<SVGSVGElement, IconBaseProps>(function ChatSidebar(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={ChatSidebarSvg} />});
|
|
12
|
+
|
|
13
|
+
export default ChatSidebar;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import FileCounterSvg from '../ast/FileCounter';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const FileCounter = forwardRef<SVGSVGElement, IconBaseProps>(function FileCounter(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={FileCounterSvg} />});
|
|
12
|
+
|
|
13
|
+
export default FileCounter;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import FileMultipleSvg from '../ast/FileMultiple';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const FileMultiple = forwardRef<SVGSVGElement, IconBaseProps>(function FileMultiple(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={FileMultipleSvg} />});
|
|
12
|
+
|
|
13
|
+
export default FileMultiple;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import FileOtherSvg from '../ast/FileOther';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const FileOther = forwardRef<SVGSVGElement, IconBaseProps>(function FileOther(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={FileOtherSvg} />});
|
|
12
|
+
|
|
13
|
+
export default FileOther;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import NoBorderSvg from '../ast/NoBorder';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const NoBorder = forwardRef<SVGSVGElement, IconBaseProps>(function NoBorder(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={NoBorderSvg} />});
|
|
12
|
+
|
|
13
|
+
export default NoBorder;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import NoFillSvg from '../ast/NoFill';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const NoFill = forwardRef<SVGSVGElement, IconBaseProps>(function NoFill(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={NoFillSvg} />});
|
|
12
|
+
|
|
13
|
+
export default NoFill;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// This icon file is generated automatically.
|
|
2
|
+
|
|
3
|
+
import {forwardRef} from 'react';
|
|
4
|
+
import ValueEditSvg from '../ast/ValueEdit';
|
|
5
|
+
import { Icon } from '../Icon';
|
|
6
|
+
import { IconBaseProps } from '../types';
|
|
7
|
+
|
|
8
|
+
const ValueEdit = forwardRef<SVGSVGElement, IconBaseProps>(function ValueEdit(
|
|
9
|
+
props: IconBaseProps,
|
|
10
|
+
ref: React.Ref<SVGSVGElement>
|
|
11
|
+
) {return <Icon {...props} className={props.className} ref={ref} icon={ValueEditSvg} />});
|
|
12
|
+
|
|
13
|
+
export default ValueEdit;
|
|
@@ -63,6 +63,9 @@ export { default as BringForward } from './BringForward';
|
|
|
63
63
|
export { default as BringToFront } from './BringToFront';
|
|
64
64
|
export { default as Cards } from './Cards';
|
|
65
65
|
export { default as ChatAi } from './ChatAi';
|
|
66
|
+
export { default as ChatBubble } from './ChatBubble';
|
|
67
|
+
export { default as ChatFloat } from './ChatFloat';
|
|
68
|
+
export { default as ChatSidebar } from './ChatSidebar';
|
|
66
69
|
export { default as Chat } from './Chat';
|
|
67
70
|
export { default as CheckCircleFilled } from './CheckCircleFilled';
|
|
68
71
|
export { default as CheckCircle } from './CheckCircle';
|
|
@@ -133,9 +136,12 @@ export { default as Fields } from './Fields';
|
|
|
133
136
|
export { default as Figma } from './Figma';
|
|
134
137
|
export { default as FileArchive } from './FileArchive';
|
|
135
138
|
export { default as FileBroken } from './FileBroken';
|
|
139
|
+
export { default as FileCounter } from './FileCounter';
|
|
136
140
|
export { default as FileDocument } from './FileDocument';
|
|
137
141
|
export { default as FileDownload } from './FileDownload';
|
|
138
142
|
export { default as FileImage } from './FileImage';
|
|
143
|
+
export { default as FileMultiple } from './FileMultiple';
|
|
144
|
+
export { default as FileOther } from './FileOther';
|
|
139
145
|
export { default as FilePresentation } from './FilePresentation';
|
|
140
146
|
export { default as FileTable } from './FileTable';
|
|
141
147
|
export { default as FileUpload } from './FileUpload';
|
|
@@ -225,6 +231,8 @@ export { default as MoveSpace } from './MoveSpace';
|
|
|
225
231
|
export { default as MoveTop } from './MoveTop';
|
|
226
232
|
export { default as NetworkAdd } from './NetworkAdd';
|
|
227
233
|
export { default as Network } from './Network';
|
|
234
|
+
export { default as NoBorder } from './NoBorder';
|
|
235
|
+
export { default as NoFill } from './NoFill';
|
|
228
236
|
export { default as Notifications } from './Notifications';
|
|
229
237
|
export { default as ObjChild } from './ObjChild';
|
|
230
238
|
export { default as ObjM2M } from './ObjM2M';
|
|
@@ -404,6 +412,7 @@ export { default as UserGroupRemove } from './UserGroupRemove';
|
|
|
404
412
|
export { default as UserGroup } from './UserGroup';
|
|
405
413
|
export { default as UserRole } from './UserRole';
|
|
406
414
|
export { default as UserX } from './UserX';
|
|
415
|
+
export { default as ValueEdit } from './ValueEdit';
|
|
407
416
|
export { default as ViewAi } from './ViewAi';
|
|
408
417
|
export { default as ViewBoard } from './ViewBoard';
|
|
409
418
|
export { default as ViewCalendar } from './ViewCalendar';
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M13.1367 10.2354C14.2412 10.2354 15.1366 11.1309 15.1367 12.2354C15.1367 13.3399 14.2413 14.2354 13.1367 14.2354C12.0321 14.2354 11.1367 13.3399 11.1367 12.2354C11.1369 11.1309 12.0322 10.2354 13.1367 10.2354Z"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.251 3C16.0499 3.00007 16.7826 3.22033 17.3027 3.78613C17.8118 4.34007 18 5.0993 18 5.9248V14.0752C18 14.9007 17.8118 15.6599 17.3027 16.2139C16.7826 16.7797 16.0499 16.9999 15.251 17H4.74902C3.95013 16.9999 3.21744 16.7797 2.69727 16.2139C2.18815 15.6599 2 14.9007 2 14.0752V5.9248C2 5.0993 2.18815 4.34007 2.69727 3.78613C3.21744 3.22033 3.95013 3.00007 4.74902 3H15.251ZM4.74902 4.5C4.21538 4.50006 3.94793 4.64276 3.80176 4.80176C3.64471 4.97282 3.5 5.30102 3.5 5.9248V14.0752C3.5 14.699 3.64471 15.0272 3.80176 15.1982C3.94793 15.3572 4.21538 15.4999 4.74902 15.5H15.251C15.7846 15.4999 16.0521 15.3572 16.1982 15.1982C16.3553 15.0272 16.5 14.699 16.5 14.0752V5.9248C16.5 5.30102 16.3553 4.97282 16.1982 4.80176C16.0521 4.64276 15.7846 4.50006 15.251 4.5H4.74902Z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M14.8398 9.0498C15.2538 9.05007 15.5897 9.38587 15.5898 9.7998V13.7998C15.5898 14.2139 15.2538 14.5495 14.8398 14.5498H11.3398C10.9256 14.5498 10.5898 14.214 10.5898 13.7998V9.7998C10.59 9.3857 10.9257 9.0498 11.3398 9.0498H14.8398Z"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.251 3C16.0499 3.00007 16.7826 3.22033 17.3027 3.78613C17.8118 4.34007 18 5.0993 18 5.9248V14.0752C18 14.9007 17.8118 15.6599 17.3027 16.2139C16.7826 16.7797 16.0499 16.9999 15.251 17H4.74902C3.95013 16.9999 3.21744 16.7797 2.69727 16.2139C2.18815 15.6599 2 14.9007 2 14.0752V5.9248C2 5.0993 2.18815 4.34007 2.69727 3.78613C3.21744 3.22033 3.95013 3.00007 4.74902 3H15.251ZM4.74902 4.5C4.21538 4.50006 3.94793 4.64276 3.80176 4.80176C3.64471 4.97282 3.5 5.30102 3.5 5.9248V14.0752C3.5 14.699 3.64471 15.0272 3.80176 15.1982C3.94793 15.3572 4.21538 15.4999 4.74902 15.5H15.251C15.7846 15.4999 16.0521 15.3572 16.1982 15.1982C16.3553 15.0272 16.5 14.699 16.5 14.0752V5.9248C16.5 5.30102 16.3553 4.97282 16.1982 4.80176C16.0521 4.64276 15.7846 4.50006 15.251 4.5H4.74902Z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M14.7021 5.35059C15.1164 5.35059 15.4521 5.68639 15.4521 6.10059V13.8994C15.452 14.3135 15.1163 14.6494 14.7021 14.6494H11.2021C10.788 14.6494 10.4523 14.3135 10.4521 13.8994V6.10059C10.4522 5.68639 10.7879 5.35059 11.2021 5.35059H14.7021Z"/>
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M15.251 3C16.0499 3.00007 16.7826 3.22033 17.3027 3.78613C17.8118 4.34007 18 5.0993 18 5.9248V14.0752C18 14.9007 17.8118 15.6599 17.3027 16.2139C16.7826 16.7797 16.0499 16.9999 15.251 17H4.74902C3.95013 16.9999 3.21744 16.7797 2.69727 16.2139C2.18815 15.6599 2 14.9007 2 14.0752V5.9248C2 5.0993 2.18815 4.34007 2.69727 3.78613C3.21744 3.22033 3.95013 3.00007 4.74902 3H15.251ZM4.74902 4.5C4.21538 4.50006 3.94793 4.64276 3.80176 4.80176C3.64471 4.97282 3.5 5.30102 3.5 5.9248V14.0752C3.5 14.699 3.64471 15.0272 3.80176 15.1982C3.94793 15.3572 4.21538 15.4999 4.74902 15.5H15.251C15.7846 15.4999 16.0521 15.3572 16.1982 15.1982C16.3553 15.0272 16.5 14.699 16.5 14.0752V5.9248C16.5 5.30102 16.3553 4.97282 16.1982 4.80176C16.0521 4.64276 15.7846 4.50006 15.251 4.5H4.74902Z"/>
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
|
|
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.74707C16.9971 7.16128 16.6613 7.49707 16.2471 7.49707H12.5752C12.1555 7.49702 11.7528 7.33009 11.4561 7.0332C11.1593 6.73627 10.9932 6.33301 10.9932 5.91309V3H5.74512C5.05516 3.00008 4.49609 3.55969 4.49609 4.25V15.75C4.4961 16.4403 5.05519 16.9999 5.74512 17H9.24707C9.66106 17.0003 9.99707 17.3359 9.99707 17.75C9.99707 18.1641 9.66106 18.4997 9.24707 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.7422ZM13.915 9.5C15.5831 9.5 16.7099 10.4017 16.71 11.7812C16.71 12.8741 15.9933 13.5907 15.0635 13.7998V13.8359C16.2395 13.9553 17 14.708 17 15.8965C16.9998 17.461 15.7579 18.5 13.9258 18.5C12.422 18.4999 11.4979 17.7893 11.126 16.9414C11.0385 16.7443 11 16.5532 11 16.374C11 15.9082 11.2736 15.6152 11.7275 15.6152C12.0556 15.6153 12.2637 15.7586 12.4277 16.0869C12.7067 16.69 13.133 17.0487 13.9531 17.0488C14.7626 17.0488 15.3213 16.535 15.3213 15.8184C15.3267 14.9823 14.7628 14.5166 13.8057 14.5166H13.4609C13.0621 14.5165 12.8322 14.2599 12.832 13.8721C12.832 13.4959 13.0619 13.2325 13.4609 13.2324H13.7842C14.61 13.2323 15.1455 12.7428 15.1455 12.0381C15.1455 11.3454 14.7193 10.8858 13.9209 10.8857C13.2538 10.8857 12.8488 11.19 12.5918 11.7988C12.4113 12.2049 12.2195 12.3545 11.8477 12.3545C11.3883 12.3544 11.1533 12.0619 11.1533 11.626C11.1533 11.423 11.1914 11.2499 11.2734 11.0469C11.6234 10.2048 12.5204 9.50006 13.915 9.5ZM12.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,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
|
|
2
|
+
<path d="M12.7419 1C12.9402 1 13.1307 1.07879 13.2712 1.21875L17.7761 5.71582C17.917 5.85652 17.9968 6.04787 17.9968 6.24707V12.25C17.9968 13.7687 16.7658 14.9999 15.2478 15H14.7751C14.5919 16.1211 13.7232 17.0562 12.5417 17.2647L6.13741 18.3936C4.64259 18.657 3.21768 17.6586 2.95381 16.1631L1.47724 7.79199C1.21353 6.29634 2.21183 4.87012 3.70674 4.60645L5.99678 4.20215V3.75C5.99678 2.23136 7.22697 1.00023 8.74484 1H12.7419ZM3.96651 6.08399C3.28733 6.20398 2.8342 6.85167 2.95381 7.53125L4.4294 15.9023C4.54925 16.5821 5.1973 17.0365 5.87667 16.917L12.281 15.7871C12.7301 15.7079 13.0789 15.3975 13.2302 15H8.74484C7.22701 14.9997 5.99679 13.7686 5.99678 12.25V5.72559L3.96651 6.08399ZM8.74484 2.5C8.05501 2.50023 7.49581 3.05979 7.49581 3.75V12.25C7.49581 12.9402 8.05504 13.4997 8.74484 13.5H15.2478C15.9377 13.4999 16.4968 12.9403 16.4968 12.25V6.99707H13.5749C13.1554 6.99695 12.7525 6.83003 12.4558 6.5332C12.1591 6.23629 11.9929 5.83295 11.9929 5.41309V2.5H8.74484ZM13.4919 5.41309C13.4919 5.43512 13.5008 5.45704 13.5163 5.47266C13.5318 5.48802 13.5531 5.49695 13.5749 5.49707H15.4343L13.4919 3.55762V5.41309Z" />
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
|
|
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.74707V15.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.7422ZM5.74512 3C5.05516 3.00008 4.49609 3.55969 4.49609 4.25V15.75C4.4961 16.4403 5.05519 16.9999 5.74512 17H14.248C14.938 16.9999 15.4971 16.4403 15.4971 15.75V7.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,17 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M16.4697 2.46975C16.7626 2.17691 17.2374 2.17687 17.5303 2.46975C17.8231 2.76263 17.8231 3.23742 17.5303 3.53029L3.53028 17.5303C3.23741 17.8232 2.76263 17.8231 2.46973 17.5303C2.17684 17.2374 2.17684 16.7626 2.46973 16.4697L16.4697 2.46975Z" />
|
|
3
|
+
<path d="M6.87403 15.4951C7.07335 15.4952 7.26428 15.575 7.40528 15.7158C7.54635 15.8569 7.62598 16.0486 7.62598 16.2481C7.6259 16.4475 7.54628 16.6383 7.40528 16.7793C7.26426 16.9203 7.07344 17 6.87403 17C6.67452 17 6.48288 16.9204 6.3418 16.7793C6.20093 16.6383 6.12118 16.4474 6.1211 16.2481C6.1211 16.0486 6.20074 15.8569 6.3418 15.7158C6.48288 15.5748 6.67452 15.4951 6.87403 15.4951Z" />
|
|
4
|
+
<path d="M10 15.4951C10.1995 15.4952 10.3912 15.5748 10.5322 15.7158C10.6732 15.8569 10.752 16.0487 10.752 16.2481C10.7519 16.4473 10.673 16.6384 10.5322 16.7793C10.3912 16.9204 10.1995 17 10 17C9.80049 17 9.60885 16.9204 9.46778 16.7793C9.32694 16.6383 9.24813 16.4473 9.24805 16.2481C9.24805 16.0486 9.32675 15.8569 9.46778 15.7158C9.60885 15.5748 9.80049 15.4951 10 15.4951Z" />
|
|
5
|
+
<path d="M13.126 15.4951C13.3255 15.4951 13.5171 15.5748 13.6582 15.7158C13.7992 15.8569 13.8779 16.0486 13.8779 16.2481C13.8779 16.4473 13.799 16.6383 13.6582 16.7793C13.5171 16.9204 13.3255 17 13.126 17C12.9265 17 12.7348 16.9204 12.5938 16.7793C12.453 16.6384 12.3741 16.4473 12.374 16.2481C12.374 16.0487 12.4528 15.8569 12.5938 15.7158C12.7348 15.5748 12.9265 15.4952 13.126 15.4951Z" />
|
|
6
|
+
<path d="M16.252 15.4951C16.4515 15.4951 16.6431 15.5748 16.7842 15.7158C16.9252 15.8569 17.0049 16.0486 17.0049 16.2481C17.0048 16.4474 16.925 16.6383 16.7842 16.7793C16.6431 16.9204 16.4515 17 16.252 17C16.0525 17 15.8617 16.9203 15.7207 16.7793C15.5797 16.6383 15.5001 16.4475 15.5 16.2481C15.5 16.0486 15.5796 15.8569 15.7207 15.7158C15.8617 15.575 16.0526 15.4952 16.252 15.4951Z" />
|
|
7
|
+
<path d="M3.74805 12.378C3.84612 12.378 3.94358 12.398 4.03418 12.4356C4.12474 12.4731 4.20704 12.5283 4.27637 12.5977C4.34572 12.6671 4.40093 12.7492 4.43848 12.8399C4.47605 12.9306 4.49511 13.0278 4.49512 13.126C4.49512 13.2242 4.47604 13.3214 4.43848 13.4121C4.4009 13.5029 4.34581 13.5859 4.27637 13.6553C4.20711 13.7245 4.12461 13.7789 4.03418 13.8164C3.94358 13.854 3.84612 13.874 3.74805 13.874C3.5498 13.874 3.35897 13.7954 3.21875 13.6553C3.07852 13.5151 3 13.3243 3 13.126C3.00003 12.9278 3.07871 12.7379 3.21875 12.5977C3.35898 12.4574 3.54974 12.378 3.74805 12.378Z" />
|
|
8
|
+
<path d="M16.252 12.378C16.3501 12.378 16.4474 12.398 16.5381 12.4356C16.6288 12.4731 16.7118 12.5282 16.7813 12.5977C16.8505 12.667 16.9058 12.7493 16.9434 12.8399C16.9809 12.9305 17 13.0279 17 13.126C17 13.2241 16.9809 13.3215 16.9434 13.4121C16.9058 13.5029 16.8507 13.5859 16.7813 13.6553C16.7118 13.7247 16.6288 13.7789 16.5381 13.8164C16.4474 13.854 16.3501 13.874 16.252 13.874C16.0539 13.874 15.8638 13.7953 15.7236 13.6553C15.5834 13.5151 15.5049 13.3243 15.5049 13.126C15.5049 12.9278 15.5835 12.7379 15.7236 12.5977C15.8638 12.4575 16.0537 12.378 16.252 12.378Z" />
|
|
9
|
+
<path d="M3.74805 9.25197C3.94613 9.25207 4.13625 9.33072 4.27637 9.47072C4.4166 9.61095 4.49512 9.80171 4.49512 10C4.49508 10.1982 4.4165 10.3882 4.27637 10.5283C4.13623 10.6685 3.94623 10.748 3.74805 10.7481C3.54974 10.7481 3.35898 10.6686 3.21875 10.5283C3.0787 10.3882 3.00005 10.1982 3 10C3 9.80171 3.07852 9.61095 3.21875 9.47072C3.35897 9.33056 3.54978 9.25197 3.74805 9.25197Z" />
|
|
10
|
+
<path d="M16.252 9.25197C16.4503 9.25197 16.641 9.33052 16.7813 9.47072C16.9215 9.61095 17 9.80171 17 10C17 10.1981 16.9213 10.3882 16.7813 10.5283C16.641 10.6686 16.4503 10.7481 16.252 10.7481C16.0537 10.748 15.8638 10.6685 15.7236 10.5283C15.5835 10.3882 15.5049 10.1983 15.5049 10C15.5049 9.80171 15.5834 9.61095 15.7236 9.47072C15.8638 9.33073 16.0539 9.25204 16.252 9.25197Z" />
|
|
11
|
+
<path d="M3.74805 6.126C3.94613 6.12609 4.13625 6.20475 4.27637 6.34475C4.4166 6.48498 4.49512 6.67573 4.49512 6.87404C4.49508 7.07225 4.4165 7.26218 4.27637 7.40237C4.13623 7.54251 3.94623 7.622 3.74805 7.62209C3.54974 7.62209 3.35898 7.5426 3.21875 7.40237C3.0787 7.26219 3.00005 7.0722 3 6.87404C3 6.67573 3.07852 6.48498 3.21875 6.34475C3.35897 6.20458 3.54978 6.126 3.74805 6.126Z" />
|
|
12
|
+
<path d="M16.252 6.126C16.4503 6.126 16.641 6.20455 16.7813 6.34475C16.9215 6.48498 17 6.67573 17 6.87404C17 7.07217 16.9213 7.2622 16.7813 7.40237C16.641 7.5426 16.4503 7.62209 16.252 7.62209C16.0537 7.62203 15.8638 7.54254 15.7236 7.40237C15.5835 7.26218 15.5049 7.07228 15.5049 6.87404C15.5049 6.67573 15.5834 6.48498 15.7236 6.34475C15.8638 6.20475 16.0539 6.12606 16.252 6.126Z" />
|
|
13
|
+
<path d="M3.95215 3.00002C4.15166 3.00002 4.3433 3.07965 4.48438 3.22072C4.62518 3.36172 4.70405 3.55271 4.70411 3.75197C4.70411 3.95145 4.62541 4.14313 4.48438 4.2842C4.3433 4.42528 4.15166 4.5049 3.95215 4.5049C3.75266 4.50489 3.56099 4.42526 3.41993 4.2842C3.27893 4.14314 3.2002 3.95143 3.2002 3.75197C3.20025 3.55273 3.27916 3.36171 3.41993 3.22072C3.56099 3.07966 3.75266 3.00003 3.95215 3.00002Z" />
|
|
14
|
+
<path d="M6.87403 3.00002C7.07345 3.00009 7.26426 3.07971 7.40528 3.22072C7.54629 3.36175 7.62593 3.55255 7.62598 3.75197C7.62598 3.95148 7.54635 4.14313 7.40528 4.2842C7.26429 4.42505 7.07332 4.50484 6.87403 4.5049C6.67453 4.5049 6.48287 4.42526 6.3418 4.2842C6.20073 4.14313 6.1211 3.95148 6.1211 3.75197C6.12115 3.55266 6.20094 3.36173 6.3418 3.22072C6.48288 3.07965 6.67452 3.00002 6.87403 3.00002Z" />
|
|
15
|
+
<path d="M10 3.00002C10.1995 3.00006 10.3912 3.07968 10.5322 3.22072C10.673 3.36171 10.7519 3.55275 10.752 3.75197C10.752 3.95141 10.6732 4.14314 10.5322 4.2842C10.3912 4.42524 10.1995 4.50487 10 4.5049C9.80049 4.5049 9.60885 4.42528 9.46778 4.2842C9.32672 4.14313 9.24805 3.95147 9.24805 3.75197C9.2481 3.55269 9.32695 3.36172 9.46778 3.22072C9.60885 3.07965 9.80049 3.00002 10 3.00002Z" />
|
|
16
|
+
<path d="M13.126 3.00002C13.3255 3.00002 13.5171 3.07965 13.6582 3.22072C13.799 3.36172 13.8779 3.55269 13.8779 3.75197C13.8779 3.95146 13.7993 4.14313 13.6582 4.2842C13.5171 4.42528 13.3255 4.5049 13.126 4.5049C12.9265 4.50488 12.7348 4.42525 12.5938 4.2842C12.4528 4.14314 12.374 3.95141 12.374 3.75197C12.3741 3.55275 12.453 3.36171 12.5938 3.22072C12.7348 3.07968 12.9265 3.00005 13.126 3.00002Z" />
|
|
17
|
+
</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="M13.1084 5.8916C13.6607 5.8916 14.1084 6.33932 14.1084 6.8916V13.1084C14.1084 13.6261 13.7151 14.0522 13.2109 14.1035L13.1084 14.1084H6.8916L6.78906 14.1035C6.31864 14.0556 5.94438 13.6814 5.89648 13.2109L5.8916 13.1084V6.8916C5.8916 6.33932 6.33932 5.8916 6.8916 5.8916H13.1084ZM7.3916 12.6084H12.6084V7.3916H7.3916V12.6084Z" />
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M14.25 3C15.7688 3 17 4.23122 17 5.75V14.25C17 15.7688 15.7688 17 14.25 17H5.75C4.23122 17 3 15.7688 3 14.25V5.75C3 4.23122 4.23122 3 5.75 3H14.25ZM5.75 4.5C5.05964 4.5 4.5 5.05964 4.5 5.75V14.25C4.5 14.9404 5.05964 15.5 5.75 15.5H14.25C14.9404 15.5 15.5 14.9404 15.5 14.25V5.75C15.5 5.05964 14.9404 4.5 14.25 4.5H5.75Z" />
|
|
4
|
+
</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 fill-rule="evenodd" clip-rule="evenodd" d="M3.5 6.25C3.5 5.83579 3.83579 5.5 4.25 5.5H15.75C16.1642 5.5 16.5 5.83579 16.5 6.25V8.25C16.5 8.66421 16.8358 9 17.25 9C17.6642 9 18 8.66421 18 8.25V6.25C18 5.00736 16.9926 4 15.75 4H4.25C3.00736 4 2 5.00736 2 6.25V11.75C2 12.9926 3.00736 14 4.25 14H12C12.4142 14 12.75 13.6642 12.75 13.25C12.75 12.8358 12.4142 12.5 12 12.5H4.25C3.83579 12.5 3.5 12.1642 3.5 11.75V6.25ZM5.75 8.25C5.33579 8.25 5 8.58579 5 9C5 9.41421 5.33579 9.75 5.75 9.75H8.25C8.66421 9.75 9 9.41421 9 9C9 8.58579 8.66421 8.25 8.25 8.25H5.75ZM14.75 10.25C14.3358 10.25 14 10.5858 14 11C14 11.4142 14.3358 11.75 14.75 11.75H15.75V16.25H14.75C14.3358 16.25 14 16.5858 14 17C14 17.4142 14.3358 17.75 14.75 17.75H18.25C18.6642 17.75 19 17.4142 19 17C19 16.5858 18.6642 16.25 18.25 16.25H17.25V11.75H18.25C18.6642 11.75 19 11.4142 19 11C19 10.5858 18.6642 10.25 18.25 10.25H14.75Z" fill="black"/>
|
|
3
|
+
</svg>
|
|
@@ -13,7 +13,7 @@ import {ThemeMode} from "../theme-settings";
|
|
|
13
13
|
import {SlideButtons} from "./slide-buttons";
|
|
14
14
|
import {useIsPhone} from "../use-is-phone";
|
|
15
15
|
|
|
16
|
-
import
|
|
16
|
+
import noop from "lodash/noop";
|
|
17
17
|
import {createContext} from "@fibery/react/src/create-context";
|
|
18
18
|
|
|
19
19
|
const [ImagesGalleryRegistryProvider, useImagesGalleryRegistry] = createContext(
|
|
@@ -32,11 +32,11 @@ type Methods = {
|
|
|
32
32
|
export {ImagesGalleryRegistryProvider, useImagesGalleryRegistry};
|
|
33
33
|
|
|
34
34
|
const [ImagesGalleryMethodsProvider, useImagesGalleryMethods] = createContext<Methods>("ImagesGalleryMethodsProvider", {
|
|
35
|
-
setVisible:
|
|
36
|
-
setActivated:
|
|
37
|
-
update:
|
|
38
|
-
nextImage:
|
|
39
|
-
prevImage:
|
|
35
|
+
setVisible: noop,
|
|
36
|
+
setActivated: noop,
|
|
37
|
+
update: noop,
|
|
38
|
+
nextImage: noop,
|
|
39
|
+
prevImage: noop,
|
|
40
40
|
});
|
|
41
41
|
type State = {version: "1" | "2"; visible: boolean; activated: boolean; _inc: number};
|
|
42
42
|
|
|
@@ -327,6 +327,7 @@ export function createPhotoSwipeLightbox(
|
|
|
327
327
|
close: false,
|
|
328
328
|
zoom: false,
|
|
329
329
|
loop: false,
|
|
330
|
+
returnFocus: false,
|
|
330
331
|
...rest,
|
|
331
332
|
});
|
|
332
333
|
attachCustomControls(
|
|
@@ -363,6 +364,7 @@ export function initGallery(
|
|
|
363
364
|
close: false,
|
|
364
365
|
zoom: false,
|
|
365
366
|
loop: false,
|
|
367
|
+
returnFocus: false,
|
|
366
368
|
});
|
|
367
369
|
|
|
368
370
|
lightbox.addFilter("numItems", (_numItems) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import {PhotoSwipe} from "photoswipe/lightbox";
|
|
2
|
-
import {useEffect,
|
|
2
|
+
import {useEffect, useState} from "react";
|
|
3
3
|
import {css} from "@linaria/core";
|
|
4
4
|
import {IconButton} from "../button/icon-button";
|
|
5
5
|
import Back from "../icons/react/Back";
|
|
@@ -9,7 +9,7 @@ import LoupeZoomOut from "../icons/react/LoupeZoomOut";
|
|
|
9
9
|
import RicheditorOpenLink from "../icons/react/RicheditorOpenLink";
|
|
10
10
|
import Link from "../icons/react/Link";
|
|
11
11
|
import Close from "../icons/react/Close";
|
|
12
|
-
import {
|
|
12
|
+
import {space} from "../design-system";
|
|
13
13
|
import {safeAreaInsetRightVar, safeAreaInsetTopVar} from "../mobile-styles";
|
|
14
14
|
import {Button} from "../button/button";
|
|
15
15
|
import {copyUrlToClipboard} from "../copy-to-clipboard";
|
|
@@ -75,17 +75,12 @@ export function SlideButtons({
|
|
|
75
75
|
};
|
|
76
76
|
}, [items, pswp]);
|
|
77
77
|
|
|
78
|
-
const {theme, styles} = useMemo(() => {
|
|
79
|
-
const theme = getThemeColors(colors.brandColors.blue, "dark");
|
|
80
|
-
return {theme, styles: createInlineTheme(theme, emptyArray)};
|
|
81
|
-
}, []);
|
|
82
|
-
|
|
83
78
|
const isPhone = useIsPhone();
|
|
84
79
|
|
|
85
80
|
return (
|
|
86
81
|
<ToastProvider toastQueue={toastQueue}>
|
|
87
|
-
<ThemeProvider
|
|
88
|
-
<div
|
|
82
|
+
<ThemeProvider mode="dark">
|
|
83
|
+
<div className={wrapper}>
|
|
89
84
|
<div className={barClassName}>
|
|
90
85
|
{slideState.src ? <CopyURLButton pswp={pswp} showUI={uiHandlers.showUI} /> : null}
|
|
91
86
|
<ZoomButton pswp={pswp} showUI={uiHandlers.showUI} />
|
|
@@ -271,8 +266,6 @@ function CopyURLButton({pswp, showUI}: {pswp: PhotoSwipe; showUI: () => void}) {
|
|
|
271
266
|
);
|
|
272
267
|
}
|
|
273
268
|
|
|
274
|
-
const emptyArray: string[] = [];
|
|
275
|
-
|
|
276
269
|
function getSlideData(pswp: PhotoSwipe, items: {src: string; actions?: React.ReactNode}[]) {
|
|
277
270
|
return {
|
|
278
271
|
currIndex: pswp.currIndex,
|
package/src/is-iOS.ts
CHANGED
package/src/is-in-popup.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {basicPopupClassName} from "./popover/styles";
|
|
1
|
+
import {basicPopupClassName, basicPopupContainerClassName} from "./popover/styles";
|
|
2
2
|
import {$TSFixMe} from "./tsfixme";
|
|
3
3
|
|
|
4
4
|
const selectors = [
|
|
@@ -8,6 +8,7 @@ const selectors = [
|
|
|
8
8
|
".ant-dropdown",
|
|
9
9
|
".react-select-menu",
|
|
10
10
|
"[data-radix-popper-content-wrapper]",
|
|
11
|
+
`.${basicPopupContainerClassName}`,
|
|
11
12
|
`.${basicPopupClassName}`,
|
|
12
13
|
];
|
|
13
14
|
export function isInPopup(el: $TSFixMe): boolean {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {stopPropagation} from "@fibery/react/src/stop-propagation";
|
|
2
2
|
import {useCallbackRef} from "@fibery/react/src/use-callback-ref";
|
|
3
3
|
import {css, cx} from "@linaria/core";
|
|
4
|
-
import
|
|
4
|
+
import noop from "lodash/noop";
|
|
5
5
|
import {forwardRef, useId} from "react";
|
|
6
6
|
import {useActionsMenuContext} from "../actions-menu";
|
|
7
7
|
import {ActionsMenuItemProps} from "../actions-menu/actions-menu-item";
|
|
8
8
|
import {useActiveDangerousRow, useSetActiveDangerousRow} from "../actions-menu/contexts/actions-menu-dangerous-rows";
|
|
9
|
-
import {
|
|
9
|
+
import {layout, lineHeight, space, textStyles, themeVars} from "../design-system";
|
|
10
10
|
import {useIsSupportHover} from "../use-is-support-hover";
|
|
11
11
|
import {
|
|
12
12
|
ListRowContent,
|
|
13
13
|
ListRowContentProps,
|
|
14
14
|
ListRowSurfaceProps,
|
|
15
|
+
listRowSurfaceStylesBase,
|
|
15
16
|
NATURAL_FOCUS_CLASS,
|
|
16
|
-
NATURAL_HOVER_CLASS,
|
|
17
17
|
NATURAL_HOVER,
|
|
18
|
-
|
|
18
|
+
NATURAL_HOVER_CLASS,
|
|
19
19
|
} from "./list-row-surface";
|
|
20
20
|
|
|
21
21
|
interface ActionMenuItemSurfaceProps
|
|
@@ -55,11 +55,11 @@ export const actionMenuItemSurface = css`
|
|
|
55
55
|
}
|
|
56
56
|
&.warm {
|
|
57
57
|
background-color: ${themeVars.colorBgActionsMenuItemDangerActive};
|
|
58
|
-
color: ${
|
|
58
|
+
color: ${themeVars.whiteColor};
|
|
59
59
|
${NATURAL_HOVER}, &.hover,
|
|
60
60
|
&[data-highlighted] {
|
|
61
61
|
background-color: ${themeVars.colorBgActionsMenuItemDangerActive};
|
|
62
|
-
color: ${
|
|
62
|
+
color: ${themeVars.whiteColor};
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
`;
|
|
@@ -70,7 +70,7 @@ export const ActionMenuItemSurface = forwardRef<HTMLDivElement, ActionMenuItemSu
|
|
|
70
70
|
const platformSupportsHover = useIsSupportHover();
|
|
71
71
|
const activeDangerousRow = useActiveDangerousRow();
|
|
72
72
|
const showWarning = activeDangerousRow === id;
|
|
73
|
-
const onSelect = useCallbackRef(props.onSelect ||
|
|
73
|
+
const onSelect = useCallbackRef(props.onSelect || noop);
|
|
74
74
|
const {MenuPrimitive} = useActionsMenuContext();
|
|
75
75
|
const setActiveDangerousRow = useSetActiveDangerousRow();
|
|
76
76
|
const handleSelect = (e: Event) => {
|
package/src/loading-sausage.tsx
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {css} from "@linaria/core";
|
|
2
2
|
import {styled} from "@linaria/react";
|
|
3
3
|
import cn from "classnames";
|
|
4
|
-
import
|
|
4
|
+
import memoize from "lodash/memoize";
|
|
5
5
|
import {ComponentType, memo, ReactNode, useRef} from "react";
|
|
6
6
|
import {space, themeVars} from "./design-system";
|
|
7
7
|
|
|
8
|
-
const getRandomWithSeed =
|
|
8
|
+
const getRandomWithSeed = memoize((seed: number) => {
|
|
9
9
|
const x = Math.sin(seed + 1) * 10000;
|
|
10
10
|
return x - Math.floor(x);
|
|
11
11
|
});
|
package/src/media-query-utils.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {ReactNode, useEffect, useRef} from "react";
|
|
2
2
|
import {createPortal} from "react-dom";
|
|
3
|
-
import
|
|
3
|
+
import noop from "lodash/noop";
|
|
4
4
|
import {css, cx} from "@linaria/core";
|
|
5
5
|
import {border, space, themeVars} from "./design-system";
|
|
6
6
|
import {keyboardInsetBottomVar, safeAreaInsetBottomVar} from "./mobile-styles";
|
|
7
|
+
import {ThemeProvider} from "./theme-provider";
|
|
7
8
|
|
|
8
9
|
export const mobileKeyboardAwarePopupZIndex = 1001;
|
|
9
10
|
|
|
@@ -12,7 +13,7 @@ export function MobileKeyboardAwarePopup({children, className}: {children: React
|
|
|
12
13
|
useEffect(() => {
|
|
13
14
|
const viewport = window.visualViewport;
|
|
14
15
|
if (!viewport) {
|
|
15
|
-
return
|
|
16
|
+
return noop;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
19
|
const manualKeyboardModeHandler = document.documentElement.classList.contains("fibery-manual-keyboard-mode");
|
|
@@ -57,7 +58,7 @@ export function MobileKeyboardAwarePopup({children, className}: {children: React
|
|
|
57
58
|
viewport.removeEventListener("resize", viewportHandler);
|
|
58
59
|
};
|
|
59
60
|
}, []);
|
|
60
|
-
|
|
61
|
+
const res = (
|
|
61
62
|
<div
|
|
62
63
|
ref={ref}
|
|
63
64
|
className={cx(
|
|
@@ -81,7 +82,7 @@ export function MobileKeyboardAwarePopup({children, className}: {children: React
|
|
|
81
82
|
)}
|
|
82
83
|
>
|
|
83
84
|
{children}
|
|
84
|
-
</div
|
|
85
|
-
document.body
|
|
85
|
+
</div>
|
|
86
86
|
);
|
|
87
|
+
return createPortal(<ThemeProvider portal>{res}</ThemeProvider>, document.body);
|
|
87
88
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {ReactNode} from "react";
|
|
2
2
|
import {createPortal} from "react-dom";
|
|
3
3
|
import {css} from "@linaria/core";
|
|
4
|
-
import {MobilePopup} from "../popover";
|
|
5
4
|
import {space, themeVars} from "../design-system";
|
|
6
5
|
import {getPopupContainerElement} from "../utils-dom";
|
|
7
6
|
import {CommandMenuList, CommandMenuRoot} from "../command-menu";
|
|
8
7
|
import {useModalMenu} from "./contexts/modal-menu-context";
|
|
8
|
+
import {MobilePopover} from "../popover/mobile-popover";
|
|
9
9
|
|
|
10
10
|
interface ModalMenuContentProps {
|
|
11
11
|
children?: ReactNode;
|
|
@@ -50,7 +50,7 @@ export const ModalMenuContent = ({children}: ModalMenuContentProps) => {
|
|
|
50
50
|
);
|
|
51
51
|
|
|
52
52
|
return createPortal(
|
|
53
|
-
<
|
|
53
|
+
<MobilePopover
|
|
54
54
|
height={height}
|
|
55
55
|
title={submenuStack.at(-1)?.title ?? title}
|
|
56
56
|
content={content}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import flow from "lodash/flow";
|
|
2
|
+
import isNil from "lodash/isNil";
|
|
3
|
+
import trimEnd from "lodash/trimEnd";
|
|
2
4
|
|
|
3
|
-
const isEmpty = (value) =>
|
|
5
|
+
const isEmpty = (value) => isNil(value) || value === "";
|
|
4
6
|
|
|
5
7
|
const getPrecision = (value) => {
|
|
6
8
|
if (isEmpty(value)) {
|
|
@@ -15,10 +17,10 @@ const removeTrailingZeros = (value) => {
|
|
|
15
17
|
return value;
|
|
16
18
|
}
|
|
17
19
|
const hasDecimalPart = value.indexOf(".") > 0;
|
|
18
|
-
return hasDecimalPart ?
|
|
20
|
+
return hasDecimalPart ? trimEnd(trimEnd(value, "0"), ".") : value;
|
|
19
21
|
};
|
|
20
22
|
|
|
21
|
-
export const add =
|
|
23
|
+
export const add = flow([
|
|
22
24
|
(first, second) => {
|
|
23
25
|
const result = Number(first) + Number(second);
|
|
24
26
|
const maxPrecision = Math.max(getPrecision(first), getPrecision(second));
|
|
@@ -27,14 +29,14 @@ export const add = _.flow([
|
|
|
27
29
|
removeTrailingZeros,
|
|
28
30
|
]);
|
|
29
31
|
|
|
30
|
-
export const sub =
|
|
32
|
+
export const sub = flow([
|
|
31
33
|
(first, second) => {
|
|
32
34
|
return add(first, -second);
|
|
33
35
|
},
|
|
34
36
|
removeTrailingZeros,
|
|
35
37
|
]);
|
|
36
38
|
|
|
37
|
-
export const multiplyByHundred =
|
|
39
|
+
export const multiplyByHundred = flow([
|
|
38
40
|
(value) => {
|
|
39
41
|
if (isEmpty(value)) {
|
|
40
42
|
return value;
|
|
@@ -46,7 +48,7 @@ export const multiplyByHundred = _.flow([
|
|
|
46
48
|
removeTrailingZeros,
|
|
47
49
|
]);
|
|
48
50
|
|
|
49
|
-
export const divideByHundred =
|
|
51
|
+
export const divideByHundred = flow([
|
|
50
52
|
(value) => {
|
|
51
53
|
if (isEmpty(value)) {
|
|
52
54
|
return value;
|