@fibery/ui-kit 2.0.1 → 2.1.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 +14 -0
- package/{eslint.config.mjs → esfint.config.mjs} +1 -1
- package/package.json +15 -9
- package/scripts/generate-icons.mjs +42 -34
- package/src/@types/react-color.d.ts +36 -0
- package/src/a11y-color.test.ts +62 -55
- package/src/a11y-color.ts +40 -37
- package/src/actions-menu/actions-menu-item.tsx +1 -1
- package/src/actions-menu/actions-menu.tsx +3 -3
- package/src/ai/model.tsx +1 -1
- package/src/ai/temperature.tsx +1 -1
- package/src/animated-height-container.tsx +2 -2
- package/src/antd/{AutoComplete.js → AutoComplete.ts} +1 -1
- package/src/antd/{Tabs.js → Tabs.tsx} +7 -4
- package/src/antd/ant-upload.tsx +4 -4
- package/src/antd/input-number.tsx +2 -2
- package/src/antd/input.tsx +2 -2
- package/src/antd/styles.ts +8 -8
- package/src/antd/utils.tsx +12 -23
- package/src/app-icon-with-fallback.tsx +31 -8
- package/src/app-icon.tsx +21 -8
- package/src/avatar.tsx +8 -5
- package/src/axis-header.tsx +2 -2
- package/src/banner/banner-action.tsx +23 -0
- package/src/banner/banner-context.tsx +4 -0
- package/src/banner/banner-variant.ts +1 -0
- package/src/banner/banner.tsx +101 -0
- package/src/box.tsx +3 -1
- package/src/breadcrumb.tsx +14 -11
- package/src/button/base-button.tsx +2 -2
- package/src/button/make-button-colors.ts +2 -2
- package/src/canvas-colors.ts +133 -0
- package/src/card-container.tsx +1 -1
- package/src/checkbox-multi-select.tsx +4 -4
- package/src/checkbox.tsx +21 -9
- package/src/color-filter.test.ts +114 -0
- package/src/color-filter.ts +125 -0
- package/src/color-picker/{ColorPickerOrLoader.js → ColorPickerOrLoader.tsx} +2 -2
- package/src/color-picker/{SliderPointer.js → SliderPointer.tsx} +3 -2
- package/src/color-picker/{index.js → index.tsx} +37 -8
- package/src/color-picker/swatch.tsx +5 -4
- package/src/color-utils.test.ts +246 -116
- package/src/color-utils.ts +150 -144
- package/src/command-menu/index.tsx +1 -1
- package/src/date-picker/autocomplete.tsx +1 -0
- package/src/date-picker/date-range-picker-popup-content.tsx +1 -1
- package/src/date-picker/date-range-picker.tsx +1 -1
- package/src/date-picker/fake-date-input.tsx +10 -4
- package/src/date-picker/relative-date-picker.tsx +32 -3
- package/src/date-picker/single-date-picker.tsx +13 -3
- package/src/date-picker/styles.ts +12 -12
- package/src/date-picker/types.ts +2 -0
- package/src/design-system/alpha.ts +0 -15
- package/src/design-system/animation.ts +24 -5
- package/src/design-system/colors-css.ts +20 -4
- package/src/design-system/colors-js.test.ts +167 -153
- package/src/design-system/colors-js.ts +30 -85
- package/src/design-system/colors.test.ts +5 -5
- package/src/design-system/colors.ts +700 -404
- package/src/design-system/def.ts +17 -0
- package/src/design-system/layout.ts +1 -0
- package/src/design-system/theme.test.ts +13 -68
- package/src/design-system/theme.ts +28 -76
- package/src/design-system/types.ts +102 -0
- package/src/design-system/vars.test.ts +71 -1681
- package/src/design-system/vars.ts +45 -29
- package/src/design-system.ts +13 -5
- package/src/dnd.tsx +1 -1
- package/src/{utils-dom.ts → dom-utils.ts} +19 -0
- package/src/dot.tsx +2 -2
- package/src/emoji-picker/app-icon-picker.tsx +2 -1
- package/src/emoji-picker/emoji-picker-content-with-color.tsx +7 -4
- package/src/emoji-picker/emoji-picker.tsx +3 -0
- package/src/emoji-picker/icon-emoji-picker.tsx +1 -1
- package/src/emoji-picker/primitives/emoji.tsx +3 -2
- package/src/favorites-icon.tsx +1 -1
- package/src/fibermoji-placeholder.tsx +6 -1
- package/src/file-item/add-query-param.ts +13 -0
- package/src/file-item/file-menu-items.tsx +2 -1
- package/src/file-item/file-preview-actions.tsx +14 -2
- package/src/file-item.tsx +5 -5
- package/src/flags.ts +3 -0
- package/src/header-layout.tsx +9 -2
- package/src/heat.ts +8 -0
- package/src/highlight-colors.test.ts +68 -0
- package/src/highlight-colors.ts +91 -0
- package/src/html-styles.ts +3 -3
- package/src/hue-shift.test.ts +17 -4
- package/src/icons/Icon.tsx +5 -2
- package/src/icons/ast/Abort.ts +8 -4
- package/src/icons/ast/AccessTemplate.ts +8 -4
- package/src/icons/ast/Activity.ts +8 -4
- package/src/icons/ast/ActivityFilled.ts +8 -4
- package/src/icons/ast/ActivityLog.ts +8 -4
- package/src/icons/ast/Add.ts +8 -4
- package/src/icons/ast/AddAfter.ts +8 -4
- package/src/icons/ast/AddBefore.ts +8 -4
- package/src/icons/ast/AddCompact.ts +8 -4
- package/src/icons/ast/AddDatabase.ts +8 -4
- package/src/icons/ast/AddGroup.ts +8 -4
- package/src/icons/ast/AddIntegration.ts +8 -4
- package/src/icons/ast/AddReactions.ts +8 -4
- package/src/icons/ast/AiAssistant.ts +8 -4
- package/src/icons/ast/AiAssistantFilled.ts +8 -4
- package/src/icons/ast/AiAvatar.ts +8 -4
- package/src/icons/ast/AiFiberyBuild.ts +8 -4
- package/src/icons/ast/AiSearch.ts +8 -4
- package/src/icons/ast/AlertTriangle.ts +8 -4
- package/src/icons/ast/Anthropic.ts +8 -4
- package/src/icons/ast/App.ts +8 -4
- package/src/icons/ast/AppDetails.ts +8 -4
- package/src/icons/ast/AppStore.ts +8 -4
- package/src/icons/ast/AppStoreOneColor.ts +8 -4
- package/src/icons/ast/AppTemplates.ts +8 -4
- package/src/icons/ast/AppWebhooks.ts +8 -4
- package/src/icons/ast/AppWiki.ts +8 -4
- package/src/icons/ast/AppearanceAuto.ts +8 -4
- package/src/icons/ast/AppearanceDark.ts +8 -4
- package/src/icons/ast/AppearanceLight.ts +8 -4
- package/src/icons/ast/Apple.ts +8 -4
- package/src/icons/ast/ArrowBarDown.ts +12 -0
- package/src/icons/ast/ArrowBarLeft.ts +8 -4
- package/src/icons/ast/ArrowBarRight.ts +8 -4
- package/src/icons/ast/ArrowBarUp.ts +12 -0
- package/src/icons/ast/ArrowBottom.ts +8 -4
- package/src/icons/ast/ArrowCollapse.ts +8 -4
- package/src/icons/ast/ArrowCollapseVertical.ts +8 -4
- package/src/icons/ast/ArrowForward.ts +8 -4
- package/src/icons/ast/ArrowLeft.ts +8 -4
- package/src/icons/ast/ArrowRight.ts +8 -4
- package/src/icons/ast/ArrowTop.ts +8 -4
- package/src/icons/ast/ArrowUpCircle.ts +8 -4
- package/src/icons/ast/ArrowsRightLeft.ts +8 -4
- package/src/icons/ast/AskForInput.ts +8 -4
- package/src/icons/ast/Asterisk.ts +8 -4
- package/src/icons/ast/Atom.ts +8 -4
- package/src/icons/ast/AutomationsCancelled.ts +8 -4
- package/src/icons/ast/AutomationsDisabled.ts +8 -4
- package/src/icons/ast/AutomationsError.ts +8 -4
- package/src/icons/ast/AutomationsInProgress.ts +8 -4
- package/src/icons/ast/AutomationsNotStarted.ts +8 -4
- package/src/icons/ast/AutomationsSuccess.ts +8 -4
- package/src/icons/ast/Back.ts +8 -4
- package/src/icons/ast/BacklogIcon.ts +8 -4
- package/src/icons/ast/BatchActionsIcon.ts +8 -4
- package/src/icons/ast/BellCircle.ts +8 -4
- package/src/icons/ast/BellFilled.ts +8 -4
- package/src/icons/ast/BellOff.ts +8 -4
- package/src/icons/ast/BellRinging.ts +8 -4
- package/src/icons/ast/BellX.ts +8 -4
- package/src/icons/ast/Bolt.ts +8 -4
- package/src/icons/ast/BringForward.ts +8 -4
- package/src/icons/ast/BringToFront.ts +8 -4
- package/src/icons/ast/Cards.ts +8 -4
- package/src/icons/ast/Chat.ts +8 -4
- package/src/icons/ast/ChatAi.ts +8 -4
- package/src/icons/ast/ChatBubble.ts +8 -4
- package/src/icons/ast/ChatFloat.ts +8 -4
- package/src/icons/ast/ChatSidebar.ts +8 -4
- package/src/icons/ast/CheckCircle.ts +8 -4
- package/src/icons/ast/CheckCircleFilled.ts +8 -4
- package/src/icons/ast/Checked.ts +8 -4
- package/src/icons/ast/Clean.ts +8 -4
- package/src/icons/ast/Clear.ts +8 -4
- package/src/icons/ast/ClearInputFilled.ts +8 -4
- package/src/icons/ast/ClearValue.ts +8 -4
- package/src/icons/ast/Clock.ts +8 -4
- package/src/icons/ast/ClockAlarm.ts +8 -4
- package/src/icons/ast/ClockForward.ts +8 -4
- package/src/icons/ast/Close.ts +8 -4
- package/src/icons/ast/CollapseAll.ts +8 -4
- package/src/icons/ast/CollapseAllHorizontal.ts +8 -4
- package/src/icons/ast/ColorCoding.ts +8 -4
- package/src/icons/ast/ColorCodingFilled.ts +8 -4
- package/src/icons/ast/Columns.ts +8 -4
- package/src/icons/ast/Columns2.ts +8 -4
- package/src/icons/ast/Columns4.ts +8 -4
- package/src/icons/ast/CommentBubble.ts +8 -4
- package/src/icons/ast/Copy.ts +8 -4
- package/src/icons/ast/Create.ts +8 -4
- package/src/icons/ast/CreditsFilled.ts +8 -4
- package/src/icons/ast/CrossCircle.ts +8 -4
- package/src/icons/ast/Crosshair.ts +8 -4
- package/src/icons/ast/Csv.ts +8 -4
- package/src/icons/ast/Database.ts +8 -4
- package/src/icons/ast/DatabaseOff.ts +8 -4
- package/src/icons/ast/DatabaseStroke.ts +8 -4
- package/src/icons/ast/DateRange.ts +8 -4
- package/src/icons/ast/Delete.ts +8 -4
- package/src/icons/ast/Demo.ts +8 -4
- package/src/icons/ast/Dependency.ts +8 -4
- package/src/icons/ast/Dividers.ts +8 -4
- package/src/icons/ast/Document.ts +8 -4
- package/src/icons/ast/DoubleArrowLeft.ts +8 -4
- package/src/icons/ast/DoubleArrowRight.ts +8 -4
- package/src/icons/ast/DoubleLine.ts +8 -4
- package/src/icons/ast/DragBlockHandle.ts +8 -4
- package/src/icons/ast/DragBlockHandleSingle.ts +8 -4
- package/src/icons/ast/DragHandle.ts +8 -4
- package/src/icons/ast/Duplicate.ts +8 -4
- package/src/icons/ast/DynamicFilterValue.ts +8 -4
- package/src/icons/ast/EditValue.ts +8 -4
- package/src/icons/ast/Email.ts +8 -4
- package/src/icons/ast/EmojiDelete.ts +8 -4
- package/src/icons/ast/EntityCreate.ts +8 -4
- package/src/icons/ast/EntityCreateFilled.ts +8 -4
- package/src/icons/ast/EntityMerge.ts +8 -4
- package/src/icons/ast/Equation.ts +8 -4
- package/src/icons/ast/ExpandAll.ts +8 -4
- package/src/icons/ast/ExpandAllHorizontal.ts +8 -4
- package/src/icons/ast/Export.ts +8 -4
- package/src/icons/ast/ExtensionAssignments.ts +8 -4
- package/src/icons/ast/ExtensionAvatar.ts +8 -4
- package/src/icons/ast/ExtensionComments.ts +8 -4
- package/src/icons/ast/ExtensionFiles.ts +8 -4
- package/src/icons/ast/ExtensionReferences.ts +8 -4
- package/src/icons/ast/ExtensionWorkflow.ts +8 -4
- package/src/icons/ast/Eye.ts +8 -4
- package/src/icons/ast/Favorites.ts +8 -4
- package/src/icons/ast/FavoritesChecked.ts +8 -4
- package/src/icons/ast/FavoritesOff.ts +8 -4
- package/src/icons/ast/FiberyDesktopApp.ts +8 -4
- package/src/icons/ast/FiberyMono.ts +8 -4
- package/src/icons/ast/FieldUnit.ts +8 -4
- package/src/icons/ast/Fields.ts +8 -4
- package/src/icons/ast/Figma.ts +8 -4
- package/src/icons/ast/FileArchive.ts +8 -4
- package/src/icons/ast/FileBroken.ts +8 -4
- package/src/icons/ast/FileCounter.ts +8 -4
- package/src/icons/ast/FileDocument.ts +8 -4
- package/src/icons/ast/FileDownload.ts +8 -4
- package/src/icons/ast/FileImage.ts +8 -4
- package/src/icons/ast/FileMultiple.ts +8 -4
- package/src/icons/ast/FileOther.ts +8 -4
- package/src/icons/ast/FilePresentation.ts +8 -4
- package/src/icons/ast/FileTable.ts +8 -4
- package/src/icons/ast/FileUpload.ts +8 -4
- package/src/icons/ast/FileVideo.ts +8 -4
- package/src/icons/ast/Filter.ts +8 -4
- package/src/icons/ast/FitToScreen.ts +8 -4
- package/src/icons/ast/FocusMode.ts +8 -4
- package/src/icons/ast/FocusModeOff.ts +8 -4
- package/src/icons/ast/Folder.ts +8 -4
- package/src/icons/ast/FolderFavorite.ts +12 -0
- package/src/icons/ast/FormWithCover.ts +8 -4
- package/src/icons/ast/FormWithoutCover.ts +8 -4
- package/src/icons/ast/FullscreenModeOffIcon.ts +8 -4
- package/src/icons/ast/FullscreenModeOn.ts +8 -4
- package/src/icons/ast/FullscreenModeOnIcon.ts +8 -4
- package/src/icons/ast/Gift.ts +8 -4
- package/src/icons/ast/Github.ts +8 -4
- package/src/icons/ast/Gitlab.ts +8 -4
- package/src/icons/ast/Globe.ts +8 -4
- package/src/icons/ast/GlobeSimple.ts +8 -4
- package/src/icons/ast/GlobeUnpublish.ts +8 -4
- package/src/icons/ast/GoTo.ts +8 -4
- package/src/icons/ast/GoogleDrive.ts +8 -4
- package/src/icons/ast/GoogleMap.ts +8 -4
- package/src/icons/ast/GraduationCapFilled.ts +8 -4
- package/src/icons/ast/Headphones.ts +8 -4
- package/src/icons/ast/HeadphonesAi.ts +8 -4
- package/src/icons/ast/Hide.ts +8 -4
- package/src/icons/ast/Highlights.ts +8 -4
- package/src/icons/ast/Hint.ts +8 -4
- package/src/icons/ast/Home.ts +8 -4
- package/src/icons/ast/HomeFilled.ts +8 -4
- package/src/icons/ast/ImageXmark.ts +8 -4
- package/src/icons/ast/Import.ts +8 -4
- package/src/icons/ast/ImportFilled.ts +8 -4
- package/src/icons/ast/InfoCircle.ts +8 -4
- package/src/icons/ast/InfoCircleFilled.ts +8 -4
- package/src/icons/ast/Integration.ts +8 -4
- package/src/icons/ast/IntegrationsFilled.ts +8 -4
- package/src/icons/ast/IntegrationsIntegrationDiscourseColor.ts +8 -4
- package/src/icons/ast/IntegrationsIntegrationIntercomColor.ts +8 -4
- package/src/icons/ast/IntegrationsIntegrationSlackColor.ts +8 -4
- package/src/icons/ast/IntegrationsIntegrationZendeskColor.ts +8 -4
- package/src/icons/ast/Intercom.ts +12 -0
- package/src/icons/ast/InvitePeople.ts +8 -4
- package/src/icons/ast/Items.ts +8 -4
- package/src/icons/ast/ItemsTimeline.ts +8 -4
- package/src/icons/ast/Jira.ts +8 -4
- package/src/icons/ast/Key.ts +8 -4
- package/src/icons/ast/KeyboardHideDown.ts +8 -4
- package/src/icons/ast/Lab.ts +8 -4
- package/src/icons/ast/LayoutDouble.ts +8 -4
- package/src/icons/ast/LayoutMultiple.ts +8 -4
- package/src/icons/ast/LayoutSingle.ts +8 -4
- package/src/icons/ast/LeftPanel.ts +8 -4
- package/src/icons/ast/LevelPlus.ts +8 -4
- package/src/icons/ast/Levels.ts +8 -4
- package/src/icons/ast/LineDivider.ts +8 -4
- package/src/icons/ast/LineJump.ts +8 -4
- package/src/icons/ast/Link.ts +8 -4
- package/src/icons/ast/LocationEdit.ts +8 -4
- package/src/icons/ast/Lock.ts +8 -4
- package/src/icons/ast/LockOutline.ts +8 -4
- package/src/icons/ast/Logout.ts +8 -4
- package/src/icons/ast/Loom.ts +8 -4
- package/src/icons/ast/LoupeZoom.ts +8 -4
- package/src/icons/ast/LoupeZoomIn.ts +8 -4
- package/src/icons/ast/LoupeZoomOut.ts +8 -4
- package/src/icons/ast/ManyPeople.ts +8 -4
- package/src/icons/ast/MapMode.ts +8 -4
- package/src/icons/ast/Markdown.ts +8 -4
- package/src/icons/ast/MenuCollapser.ts +8 -4
- package/src/icons/ast/Mermaid.ts +8 -4
- package/src/icons/ast/MessagePlus.ts +8 -4
- package/src/icons/ast/MessagePlusSquare.ts +8 -4
- package/src/icons/ast/Milestones.ts +8 -4
- package/src/icons/ast/Minus.ts +8 -4
- package/src/icons/ast/Miro.ts +8 -4
- package/src/icons/ast/MirrorOff.ts +8 -4
- package/src/icons/ast/MirrorOn.ts +8 -4
- package/src/icons/ast/Mixpanel.ts +8 -4
- package/src/icons/ast/Monitor.ts +8 -4
- package/src/icons/ast/More.ts +8 -4
- package/src/icons/ast/MoreCompact.ts +8 -4
- package/src/icons/ast/MoveBottom.ts +8 -4
- package/src/icons/ast/MoveLeft.ts +8 -4
- package/src/icons/ast/MoveRight.ts +8 -4
- package/src/icons/ast/MoveSpace.ts +8 -4
- package/src/icons/ast/MoveTop.ts +8 -4
- package/src/icons/ast/Network.ts +8 -4
- package/src/icons/ast/NetworkAdd.ts +8 -4
- package/src/icons/ast/NoBorder.ts +8 -4
- package/src/icons/ast/NoFill.ts +8 -4
- package/src/icons/ast/Notifications.ts +8 -4
- package/src/icons/ast/ObjChild.ts +8 -4
- package/src/icons/ast/ObjM2M.ts +8 -4
- package/src/icons/ast/ObjO2O.ts +8 -4
- package/src/icons/ast/ObjParent.ts +8 -4
- package/src/icons/ast/ObjSelf.ts +8 -4
- package/src/icons/ast/OnSchedule.ts +8 -4
- package/src/icons/ast/OpenAi.ts +8 -4
- package/src/icons/ast/OpenAsPage.ts +8 -4
- package/src/icons/ast/PageRegularMode.ts +8 -4
- package/src/icons/ast/PageWideMode.ts +8 -4
- package/src/icons/ast/PanelAdd.ts +8 -4
- package/src/icons/ast/Pencil.ts +8 -4
- package/src/icons/ast/People.ts +8 -4
- package/src/icons/ast/PeopleCheck.ts +8 -4
- package/src/icons/ast/Photo.ts +8 -4
- package/src/icons/ast/Pin.ts +8 -4
- package/src/icons/ast/PinFilled.ts +8 -4
- package/src/icons/ast/Popup.ts +8 -4
- package/src/icons/ast/Posts.ts +8 -4
- package/src/icons/ast/PresentPlay.ts +8 -4
- package/src/icons/ast/PresentStop.ts +8 -4
- package/src/icons/ast/Print.ts +8 -4
- package/src/icons/ast/PrivateItems.ts +8 -4
- package/src/icons/ast/Question.ts +8 -4
- package/src/icons/ast/QuickFilter.ts +8 -4
- package/src/icons/ast/QuickFilterPersonal.ts +8 -4
- package/src/icons/ast/ReadOnly.ts +8 -4
- package/src/icons/ast/Refresh.ts +8 -4
- package/src/icons/ast/Remove.ts +8 -4
- package/src/icons/ast/RemovePeople.ts +8 -4
- package/src/icons/ast/Reply.ts +8 -4
- package/src/icons/ast/ResetPassword.ts +8 -4
- package/src/icons/ast/Restore.ts +8 -4
- package/src/icons/ast/RicheditorActionsMore.ts +8 -4
- package/src/icons/ast/RicheditorBlockCallout.ts +8 -4
- package/src/icons/ast/RicheditorBlockCode.ts +8 -4
- package/src/icons/ast/RicheditorBlockEmbed.ts +8 -4
- package/src/icons/ast/RicheditorBlockEntity.ts +8 -4
- package/src/icons/ast/RicheditorBlockFile.ts +8 -4
- package/src/icons/ast/RicheditorBlockH1.ts +8 -4
- package/src/icons/ast/RicheditorBlockH2.ts +8 -4
- package/src/icons/ast/RicheditorBlockH3.ts +8 -4
- package/src/icons/ast/RicheditorBlockH4.ts +8 -4
- package/src/icons/ast/RicheditorBlockMention.ts +8 -4
- package/src/icons/ast/RicheditorBlockParagraph.ts +8 -4
- package/src/icons/ast/RicheditorBlockQuote.ts +8 -4
- package/src/icons/ast/RicheditorChecklistCreate.ts +8 -4
- package/src/icons/ast/RicheditorCommentCreate.ts +8 -4
- package/src/icons/ast/RicheditorEntityLinkCreate.ts +8 -4
- package/src/icons/ast/RicheditorHistoryRedo.ts +8 -4
- package/src/icons/ast/RicheditorHistoryUndo.ts +8 -4
- package/src/icons/ast/RicheditorImageAlignCenter.ts +8 -4
- package/src/icons/ast/RicheditorImageAlignLeft.ts +8 -4
- package/src/icons/ast/RicheditorImageAlignRight.ts +8 -4
- package/src/icons/ast/RicheditorImageUpload.ts +8 -4
- package/src/icons/ast/RicheditorImageWrapCenter.ts +8 -4
- package/src/icons/ast/RicheditorImageWrapLeft.ts +8 -4
- package/src/icons/ast/RicheditorImageWrapRight.ts +8 -4
- package/src/icons/ast/RicheditorImageZoom.ts +8 -4
- package/src/icons/ast/RicheditorLinkCreate.ts +8 -4
- package/src/icons/ast/RicheditorLinkedhighlightCreate.ts +8 -4
- package/src/icons/ast/RicheditorListBullet.ts +8 -4
- package/src/icons/ast/RicheditorListIndent.ts +8 -4
- package/src/icons/ast/RicheditorListOrdered.ts +8 -4
- package/src/icons/ast/RicheditorListUnindent.ts +8 -4
- package/src/icons/ast/RicheditorMarkCode.ts +8 -4
- package/src/icons/ast/RicheditorMarkEm.ts +8 -4
- package/src/icons/ast/RicheditorMarkHighlight.ts +8 -4
- package/src/icons/ast/RicheditorMarkStrike.ts +8 -4
- package/src/icons/ast/RicheditorMarkStrong.ts +8 -4
- package/src/icons/ast/RicheditorMarkTextBackgroundColor.ts +8 -4
- package/src/icons/ast/RicheditorMarkUnderline.ts +8 -4
- package/src/icons/ast/RicheditorOpenLink.ts +8 -4
- package/src/icons/ast/RicheditorTableCreate.ts +8 -4
- package/src/icons/ast/RicheditorUnlink.ts +8 -4
- package/src/icons/ast/RicheditorVideoUpload.ts +8 -4
- package/src/icons/ast/RightPanel.ts +8 -4
- package/src/icons/ast/Rows.ts +8 -4
- package/src/icons/ast/RuleScheduled.ts +8 -4
- package/src/icons/ast/Search.ts +8 -4
- package/src/icons/ast/SearchAdd.ts +8 -4
- package/src/icons/ast/SearchFilled.ts +8 -4
- package/src/icons/ast/SearchRemove.ts +8 -4
- package/src/icons/ast/SelfReferenceOff.ts +8 -4
- package/src/icons/ast/SelfReferenceOn.ts +8 -4
- package/src/icons/ast/SendArrow.ts +8 -4
- package/src/icons/ast/SendBackward.ts +8 -4
- package/src/icons/ast/SendToBack.ts +8 -4
- package/src/icons/ast/Settings.ts +8 -4
- package/src/icons/ast/SettingsFilled.ts +8 -4
- package/src/icons/ast/SettingsOff.ts +8 -4
- package/src/icons/ast/Share.ts +8 -4
- package/src/icons/ast/Shared.ts +8 -4
- package/src/icons/ast/ShieldKeyhole.ts +8 -4
- package/src/icons/ast/ShowAuthor.ts +8 -4
- package/src/icons/ast/Sidebar.ts +8 -4
- package/src/icons/ast/SidebarFields.ts +8 -4
- package/src/icons/ast/SidebarFieldsOpened.ts +8 -4
- package/src/icons/ast/SimpleCompass.ts +8 -4
- package/src/icons/ast/Slack.ts +8 -4
- package/src/icons/ast/SlackIcon.ts +8 -4
- package/src/icons/ast/SlideMenu.ts +8 -4
- package/src/icons/ast/SlideMenuClose.ts +8 -4
- package/src/icons/ast/SlideMenuFilled.ts +8 -4
- package/src/icons/ast/SlideMenuOpen.ts +8 -4
- package/src/icons/ast/SmartFolder.ts +8 -4
- package/src/icons/ast/Sort.ts +8 -4
- package/src/icons/ast/SortOnBottom.ts +8 -4
- package/src/icons/ast/SortOnTop.ts +8 -4
- package/src/icons/ast/SpaceApp.ts +8 -4
- package/src/icons/ast/SpaceGenerate.ts +8 -4
- package/src/icons/ast/SpaceList.ts +8 -4
- package/src/icons/ast/SpaceScratch.ts +8 -4
- package/src/icons/ast/SpaceTemplate.ts +8 -4
- package/src/icons/ast/Spinner.ts +8 -4
- package/src/icons/ast/Success.ts +8 -4
- package/src/icons/ast/SuggestIntegration.ts +8 -4
- package/src/icons/ast/SwitchToMention.ts +8 -4
- package/src/icons/ast/SwitchToText.ts +8 -4
- package/src/icons/ast/SwitchToWidget.ts +8 -4
- package/src/icons/ast/TableLayout.ts +8 -4
- package/src/icons/ast/Template.ts +8 -4
- package/src/icons/ast/Templates.ts +8 -4
- package/src/icons/ast/TemplatesFilled.ts +8 -4
- package/src/icons/ast/Terminal.ts +8 -4
- package/src/icons/ast/TextNoWrap.ts +8 -4
- package/src/icons/ast/TextToolAlignBottom.ts +8 -4
- package/src/icons/ast/TextToolAlignMiddle.ts +8 -4
- package/src/icons/ast/TextToolAlignTop.ts +8 -4
- package/src/icons/ast/TextWrap.ts +8 -4
- package/src/icons/ast/ThumbsDown.ts +8 -4
- package/src/icons/ast/ThumbsUp.ts +8 -4
- package/src/icons/ast/Toc.ts +12 -0
- package/src/icons/ast/Twitter.ts +8 -4
- package/src/icons/ast/TypeBoolean.ts +8 -4
- package/src/icons/ast/TypeButton.ts +8 -4
- package/src/icons/ast/TypeCheckbox.ts +8 -4
- package/src/icons/ast/TypeDate.ts +8 -4
- package/src/icons/ast/TypeEmail.ts +8 -4
- package/src/icons/ast/TypeEmoji.ts +8 -4
- package/src/icons/ast/TypeFormula.ts +8 -4
- package/src/icons/ast/TypeFunction.ts +8 -4
- package/src/icons/ast/TypeId.ts +8 -4
- package/src/icons/ast/TypeLocation.ts +8 -4
- package/src/icons/ast/TypeLookup.ts +8 -4
- package/src/icons/ast/TypeMoney.ts +8 -4
- package/src/icons/ast/TypeMultiSelect.ts +8 -4
- package/src/icons/ast/TypeNumber.ts +8 -4
- package/src/icons/ast/TypePercent.ts +8 -4
- package/src/icons/ast/TypePhone.ts +8 -4
- package/src/icons/ast/TypeRelation.ts +8 -4
- package/src/icons/ast/TypeRichText.ts +8 -4
- package/src/icons/ast/TypeRule.ts +8 -4
- package/src/icons/ast/TypeSingleSelect.ts +8 -4
- package/src/icons/ast/TypeText.ts +8 -4
- package/src/icons/ast/TypeUrl.ts +8 -4
- package/src/icons/ast/UnitsAvatar.ts +8 -4
- package/src/icons/ast/UnitsCollection.ts +8 -4
- package/src/icons/ast/UnitsCounter.ts +8 -4
- package/src/icons/ast/UnitsDate.ts +8 -4
- package/src/icons/ast/UnitsDbBadgeAbbr.ts +8 -4
- package/src/icons/ast/UnitsDbBadgeFull.ts +8 -4
- package/src/icons/ast/UnitsDbIcon.ts +8 -4
- package/src/icons/ast/UnitsField.ts +8 -4
- package/src/icons/ast/UnitsFieldIconButton.ts +8 -4
- package/src/icons/ast/UnitsInput.ts +8 -4
- package/src/icons/ast/UnitsProgressBar.ts +8 -4
- package/src/icons/ast/UnitsRichText.ts +8 -4
- package/src/icons/ast/UnitsSnippet.ts +8 -4
- package/src/icons/ast/Unlink.ts +8 -4
- package/src/icons/ast/UnlockFilled.ts +8 -4
- package/src/icons/ast/UnlockOutline.ts +8 -4
- package/src/icons/ast/Upgrade.ts +8 -4
- package/src/icons/ast/UsbFlashDrive.ts +8 -4
- package/src/icons/ast/UserCheck.ts +8 -4
- package/src/icons/ast/UserGroup.ts +8 -4
- package/src/icons/ast/UserGroupRemove.ts +8 -4
- package/src/icons/ast/UserRole.ts +8 -4
- package/src/icons/ast/UserX.ts +8 -4
- package/src/icons/ast/ValueEdit.ts +8 -4
- package/src/icons/ast/ViewAi.ts +8 -4
- package/src/icons/ast/ViewBoard.ts +8 -4
- package/src/icons/ast/ViewCalendar.ts +8 -4
- package/src/icons/ast/ViewCanvas.ts +8 -4
- package/src/icons/ast/ViewChart.ts +8 -4
- package/src/icons/ast/ViewDashboard.ts +8 -4
- package/src/icons/ast/ViewDetails.ts +8 -4
- package/src/icons/ast/ViewDocument.ts +8 -4
- package/src/icons/ast/ViewEmbed.ts +12 -0
- package/src/icons/ast/ViewFeed.ts +8 -4
- package/src/icons/ast/ViewForm.ts +8 -4
- package/src/icons/ast/ViewGallery.ts +8 -4
- package/src/icons/ast/ViewGantt.ts +8 -4
- package/src/icons/ast/ViewList.ts +8 -4
- package/src/icons/ast/ViewMap.ts +8 -4
- package/src/icons/ast/ViewPage.ts +8 -4
- package/src/icons/ast/ViewTable.ts +8 -4
- package/src/icons/ast/ViewTimeline.ts +8 -4
- package/src/icons/ast/Views.ts +8 -4
- package/src/icons/ast/Warning.ts +8 -4
- package/src/icons/ast/WarningTriangle.ts +8 -4
- package/src/icons/ast/WarningTriangleFilled.ts +8 -4
- package/src/icons/ast/Webhooks.ts +12 -0
- package/src/icons/ast/Windows.ts +8 -4
- package/src/icons/ast/WorkspaceMap.ts +8 -4
- package/src/icons/ast/Youtube.ts +8 -4
- package/src/icons/ast/ZoomIn.ts +8 -4
- package/src/icons/ast/ZoomOut.ts +8 -4
- package/src/icons/ast/index.tsx +453 -441
- package/src/icons/react/Abort.tsx +10 -5
- package/src/icons/react/AccessTemplate.tsx +10 -5
- package/src/icons/react/Activity.tsx +10 -5
- package/src/icons/react/ActivityFilled.tsx +10 -5
- package/src/icons/react/ActivityLog.tsx +10 -5
- package/src/icons/react/Add.tsx +10 -5
- package/src/icons/react/AddAfter.tsx +10 -5
- package/src/icons/react/AddBefore.tsx +10 -5
- package/src/icons/react/AddCompact.tsx +10 -5
- package/src/icons/react/AddDatabase.tsx +10 -5
- package/src/icons/react/AddGroup.tsx +10 -5
- package/src/icons/react/AddIntegration.tsx +10 -5
- package/src/icons/react/AddReactions.tsx +10 -5
- package/src/icons/react/AiAssistant.tsx +10 -5
- package/src/icons/react/AiAssistantFilled.tsx +10 -5
- package/src/icons/react/AiAvatar.tsx +10 -5
- package/src/icons/react/AiFiberyBuild.tsx +10 -5
- package/src/icons/react/AiSearch.tsx +10 -5
- package/src/icons/react/AlertTriangle.tsx +10 -5
- package/src/icons/react/Anthropic.tsx +10 -5
- package/src/icons/react/App.tsx +10 -5
- package/src/icons/react/AppDetails.tsx +10 -5
- package/src/icons/react/AppStore.tsx +10 -5
- package/src/icons/react/AppStoreOneColor.tsx +10 -5
- package/src/icons/react/AppTemplates.tsx +10 -5
- package/src/icons/react/AppWebhooks.tsx +10 -5
- package/src/icons/react/AppWiki.tsx +10 -5
- package/src/icons/react/AppearanceAuto.tsx +10 -5
- package/src/icons/react/AppearanceDark.tsx +10 -5
- package/src/icons/react/AppearanceLight.tsx +10 -5
- package/src/icons/react/Apple.tsx +10 -5
- package/src/icons/react/ArrowBarDown.tsx +18 -0
- package/src/icons/react/ArrowBarLeft.tsx +10 -5
- package/src/icons/react/ArrowBarRight.tsx +10 -5
- package/src/icons/react/ArrowBarUp.tsx +18 -0
- package/src/icons/react/ArrowBottom.tsx +10 -5
- package/src/icons/react/ArrowCollapse.tsx +10 -5
- package/src/icons/react/ArrowCollapseVertical.tsx +10 -5
- package/src/icons/react/ArrowForward.tsx +10 -5
- package/src/icons/react/ArrowLeft.tsx +10 -5
- package/src/icons/react/ArrowRight.tsx +10 -5
- package/src/icons/react/ArrowTop.tsx +10 -5
- package/src/icons/react/ArrowUpCircle.tsx +10 -5
- package/src/icons/react/ArrowsRightLeft.tsx +10 -5
- package/src/icons/react/AskForInput.tsx +10 -5
- package/src/icons/react/Asterisk.tsx +10 -5
- package/src/icons/react/Atom.tsx +10 -5
- package/src/icons/react/AutomationsCancelled.tsx +10 -5
- package/src/icons/react/AutomationsDisabled.tsx +10 -5
- package/src/icons/react/AutomationsError.tsx +10 -5
- package/src/icons/react/AutomationsInProgress.tsx +10 -5
- package/src/icons/react/AutomationsNotStarted.tsx +10 -5
- package/src/icons/react/AutomationsSuccess.tsx +10 -5
- package/src/icons/react/Back.tsx +10 -5
- package/src/icons/react/BacklogIcon.tsx +10 -5
- package/src/icons/react/BatchActionsIcon.tsx +10 -5
- package/src/icons/react/BellCircle.tsx +10 -5
- package/src/icons/react/BellFilled.tsx +10 -5
- package/src/icons/react/BellOff.tsx +10 -5
- package/src/icons/react/BellRinging.tsx +10 -5
- package/src/icons/react/BellX.tsx +10 -5
- package/src/icons/react/Bolt.tsx +10 -5
- package/src/icons/react/BringForward.tsx +10 -5
- package/src/icons/react/BringToFront.tsx +10 -5
- package/src/icons/react/Cards.tsx +10 -5
- package/src/icons/react/Chat.tsx +10 -5
- package/src/icons/react/ChatAi.tsx +10 -5
- package/src/icons/react/ChatBubble.tsx +10 -5
- package/src/icons/react/ChatFloat.tsx +10 -5
- package/src/icons/react/ChatSidebar.tsx +10 -5
- package/src/icons/react/CheckCircle.tsx +10 -5
- package/src/icons/react/CheckCircleFilled.tsx +10 -5
- package/src/icons/react/Checked.tsx +10 -5
- package/src/icons/react/Clean.tsx +10 -5
- package/src/icons/react/Clear.tsx +10 -5
- package/src/icons/react/ClearInputFilled.tsx +10 -5
- package/src/icons/react/ClearValue.tsx +10 -5
- package/src/icons/react/Clock.tsx +10 -5
- package/src/icons/react/ClockAlarm.tsx +10 -5
- package/src/icons/react/ClockForward.tsx +10 -5
- package/src/icons/react/Close.tsx +10 -5
- package/src/icons/react/CollapseAll.tsx +10 -5
- package/src/icons/react/CollapseAllHorizontal.tsx +10 -5
- package/src/icons/react/ColorCoding.tsx +10 -5
- package/src/icons/react/ColorCodingFilled.tsx +10 -5
- package/src/icons/react/Columns.tsx +10 -5
- package/src/icons/react/Columns2.tsx +10 -5
- package/src/icons/react/Columns4.tsx +10 -5
- package/src/icons/react/CommentBubble.tsx +10 -5
- package/src/icons/react/Copy.tsx +10 -5
- package/src/icons/react/Create.tsx +10 -5
- package/src/icons/react/CreditsFilled.tsx +10 -5
- package/src/icons/react/CrossCircle.tsx +10 -5
- package/src/icons/react/Crosshair.tsx +10 -5
- package/src/icons/react/Csv.tsx +10 -5
- package/src/icons/react/Database.tsx +10 -5
- package/src/icons/react/DatabaseOff.tsx +10 -5
- package/src/icons/react/DatabaseStroke.tsx +10 -5
- package/src/icons/react/DateRange.tsx +10 -5
- package/src/icons/react/Delete.tsx +10 -5
- package/src/icons/react/Demo.tsx +10 -5
- package/src/icons/react/Dependency.tsx +10 -5
- package/src/icons/react/Dividers.tsx +10 -5
- package/src/icons/react/Document.tsx +10 -5
- package/src/icons/react/DoubleArrowLeft.tsx +10 -5
- package/src/icons/react/DoubleArrowRight.tsx +10 -5
- package/src/icons/react/DoubleLine.tsx +10 -5
- package/src/icons/react/DragBlockHandle.tsx +10 -5
- package/src/icons/react/DragBlockHandleSingle.tsx +10 -5
- package/src/icons/react/DragHandle.tsx +10 -5
- package/src/icons/react/Duplicate.tsx +10 -5
- package/src/icons/react/DynamicFilterValue.tsx +10 -5
- package/src/icons/react/EditValue.tsx +10 -5
- package/src/icons/react/Email.tsx +10 -5
- package/src/icons/react/EmojiDelete.tsx +10 -5
- package/src/icons/react/EntityCreate.tsx +10 -5
- package/src/icons/react/EntityCreateFilled.tsx +10 -5
- package/src/icons/react/EntityMerge.tsx +10 -5
- package/src/icons/react/Equation.tsx +10 -5
- package/src/icons/react/ExpandAll.tsx +10 -5
- package/src/icons/react/ExpandAllHorizontal.tsx +10 -5
- package/src/icons/react/Export.tsx +10 -5
- package/src/icons/react/ExtensionAssignments.tsx +10 -5
- package/src/icons/react/ExtensionAvatar.tsx +10 -5
- package/src/icons/react/ExtensionComments.tsx +10 -5
- package/src/icons/react/ExtensionFiles.tsx +10 -5
- package/src/icons/react/ExtensionReferences.tsx +10 -5
- package/src/icons/react/ExtensionWorkflow.tsx +10 -5
- package/src/icons/react/Eye.tsx +10 -5
- package/src/icons/react/Favorites.tsx +10 -5
- package/src/icons/react/FavoritesChecked.tsx +10 -5
- package/src/icons/react/FavoritesOff.tsx +10 -5
- package/src/icons/react/FiberyDesktopApp.tsx +10 -5
- package/src/icons/react/FiberyMono.tsx +10 -5
- package/src/icons/react/FieldUnit.tsx +10 -5
- package/src/icons/react/Fields.tsx +10 -5
- package/src/icons/react/Figma.tsx +10 -5
- package/src/icons/react/FileArchive.tsx +10 -5
- package/src/icons/react/FileBroken.tsx +10 -5
- package/src/icons/react/FileCounter.tsx +10 -5
- package/src/icons/react/FileDocument.tsx +10 -5
- package/src/icons/react/FileDownload.tsx +10 -5
- package/src/icons/react/FileImage.tsx +10 -5
- package/src/icons/react/FileMultiple.tsx +10 -5
- package/src/icons/react/FileOther.tsx +10 -5
- package/src/icons/react/FilePresentation.tsx +10 -5
- package/src/icons/react/FileTable.tsx +10 -5
- package/src/icons/react/FileUpload.tsx +10 -5
- package/src/icons/react/FileVideo.tsx +10 -5
- package/src/icons/react/Filter.tsx +10 -5
- package/src/icons/react/FitToScreen.tsx +10 -5
- package/src/icons/react/FocusMode.tsx +10 -5
- package/src/icons/react/FocusModeOff.tsx +10 -5
- package/src/icons/react/Folder.tsx +10 -5
- package/src/icons/react/FolderFavorite.tsx +18 -0
- package/src/icons/react/FormWithCover.tsx +10 -5
- package/src/icons/react/FormWithoutCover.tsx +10 -5
- package/src/icons/react/FullscreenModeOffIcon.tsx +10 -5
- package/src/icons/react/FullscreenModeOn.tsx +10 -5
- package/src/icons/react/FullscreenModeOnIcon.tsx +10 -5
- package/src/icons/react/Gift.tsx +10 -5
- package/src/icons/react/Github.tsx +10 -5
- package/src/icons/react/Gitlab.tsx +10 -5
- package/src/icons/react/Globe.tsx +10 -5
- package/src/icons/react/GlobeSimple.tsx +10 -5
- package/src/icons/react/GlobeUnpublish.tsx +10 -5
- package/src/icons/react/GoTo.tsx +10 -5
- package/src/icons/react/GoogleDrive.tsx +10 -5
- package/src/icons/react/GoogleMap.tsx +10 -5
- package/src/icons/react/GraduationCapFilled.tsx +10 -5
- package/src/icons/react/Headphones.tsx +10 -5
- package/src/icons/react/HeadphonesAi.tsx +10 -5
- package/src/icons/react/Hide.tsx +10 -5
- package/src/icons/react/Highlights.tsx +10 -5
- package/src/icons/react/Hint.tsx +10 -5
- package/src/icons/react/Home.tsx +10 -5
- package/src/icons/react/HomeFilled.tsx +10 -5
- package/src/icons/react/ImageXmark.tsx +10 -5
- package/src/icons/react/Import.tsx +10 -5
- package/src/icons/react/ImportFilled.tsx +10 -5
- package/src/icons/react/InfoCircle.tsx +10 -5
- package/src/icons/react/InfoCircleFilled.tsx +10 -5
- package/src/icons/react/Integration.tsx +10 -5
- package/src/icons/react/IntegrationsFilled.tsx +10 -5
- package/src/icons/react/IntegrationsIntegrationDiscourseColor.tsx +10 -5
- package/src/icons/react/IntegrationsIntegrationIntercomColor.tsx +10 -5
- package/src/icons/react/IntegrationsIntegrationSlackColor.tsx +10 -5
- package/src/icons/react/IntegrationsIntegrationZendeskColor.tsx +10 -5
- package/src/icons/react/Intercom.tsx +18 -0
- package/src/icons/react/InvitePeople.tsx +10 -5
- package/src/icons/react/Items.tsx +10 -5
- package/src/icons/react/ItemsTimeline.tsx +10 -5
- package/src/icons/react/Jira.tsx +10 -5
- package/src/icons/react/Key.tsx +10 -5
- package/src/icons/react/KeyboardHideDown.tsx +10 -5
- package/src/icons/react/Lab.tsx +10 -5
- package/src/icons/react/LayoutDouble.tsx +10 -5
- package/src/icons/react/LayoutMultiple.tsx +10 -5
- package/src/icons/react/LayoutSingle.tsx +10 -5
- package/src/icons/react/LeftPanel.tsx +10 -5
- package/src/icons/react/LevelPlus.tsx +10 -5
- package/src/icons/react/Levels.tsx +10 -5
- package/src/icons/react/LineDivider.tsx +10 -5
- package/src/icons/react/LineJump.tsx +10 -5
- package/src/icons/react/Link.tsx +10 -5
- package/src/icons/react/LocationEdit.tsx +10 -5
- package/src/icons/react/Lock.tsx +10 -5
- package/src/icons/react/LockOutline.tsx +10 -5
- package/src/icons/react/Logout.tsx +10 -5
- package/src/icons/react/Loom.tsx +10 -5
- package/src/icons/react/LoupeZoom.tsx +10 -5
- package/src/icons/react/LoupeZoomIn.tsx +10 -5
- package/src/icons/react/LoupeZoomOut.tsx +10 -5
- package/src/icons/react/ManyPeople.tsx +10 -5
- package/src/icons/react/MapMode.tsx +10 -5
- package/src/icons/react/Markdown.tsx +10 -5
- package/src/icons/react/MenuCollapser.tsx +10 -5
- package/src/icons/react/Mermaid.tsx +10 -5
- package/src/icons/react/MessagePlus.tsx +10 -5
- package/src/icons/react/MessagePlusSquare.tsx +10 -5
- package/src/icons/react/Milestones.tsx +10 -5
- package/src/icons/react/Minus.tsx +10 -5
- package/src/icons/react/Miro.tsx +10 -5
- package/src/icons/react/MirrorOff.tsx +10 -5
- package/src/icons/react/MirrorOn.tsx +10 -5
- package/src/icons/react/Mixpanel.tsx +10 -5
- package/src/icons/react/Monitor.tsx +10 -5
- package/src/icons/react/More.tsx +10 -5
- package/src/icons/react/MoreCompact.tsx +10 -5
- package/src/icons/react/MoveBottom.tsx +10 -5
- package/src/icons/react/MoveLeft.tsx +10 -5
- package/src/icons/react/MoveRight.tsx +10 -5
- package/src/icons/react/MoveSpace.tsx +10 -5
- package/src/icons/react/MoveTop.tsx +10 -5
- package/src/icons/react/Network.tsx +10 -5
- package/src/icons/react/NetworkAdd.tsx +10 -5
- package/src/icons/react/NoBorder.tsx +10 -5
- package/src/icons/react/NoFill.tsx +10 -5
- package/src/icons/react/Notifications.tsx +10 -5
- package/src/icons/react/ObjChild.tsx +10 -5
- package/src/icons/react/ObjM2M.tsx +10 -5
- package/src/icons/react/ObjO2O.tsx +10 -5
- package/src/icons/react/ObjParent.tsx +10 -5
- package/src/icons/react/ObjSelf.tsx +10 -5
- package/src/icons/react/OnSchedule.tsx +10 -5
- package/src/icons/react/OpenAi.tsx +10 -5
- package/src/icons/react/OpenAsPage.tsx +10 -5
- package/src/icons/react/PageRegularMode.tsx +10 -5
- package/src/icons/react/PageWideMode.tsx +10 -5
- package/src/icons/react/PanelAdd.tsx +10 -5
- package/src/icons/react/Pencil.tsx +10 -5
- package/src/icons/react/People.tsx +10 -5
- package/src/icons/react/PeopleCheck.tsx +10 -5
- package/src/icons/react/Photo.tsx +10 -5
- package/src/icons/react/Pin.tsx +10 -5
- package/src/icons/react/PinFilled.tsx +10 -5
- package/src/icons/react/Popup.tsx +10 -5
- package/src/icons/react/Posts.tsx +10 -5
- package/src/icons/react/PresentPlay.tsx +10 -5
- package/src/icons/react/PresentStop.tsx +10 -5
- package/src/icons/react/Print.tsx +10 -5
- package/src/icons/react/PrivateItems.tsx +10 -5
- package/src/icons/react/Question.tsx +10 -5
- package/src/icons/react/QuickFilter.tsx +10 -5
- package/src/icons/react/QuickFilterPersonal.tsx +10 -5
- package/src/icons/react/ReadOnly.tsx +10 -5
- package/src/icons/react/Refresh.tsx +10 -5
- package/src/icons/react/Remove.tsx +10 -5
- package/src/icons/react/RemovePeople.tsx +10 -5
- package/src/icons/react/Reply.tsx +10 -5
- package/src/icons/react/ResetPassword.tsx +10 -5
- package/src/icons/react/Restore.tsx +10 -5
- package/src/icons/react/RicheditorActionsMore.tsx +10 -5
- package/src/icons/react/RicheditorBlockCallout.tsx +10 -5
- package/src/icons/react/RicheditorBlockCode.tsx +10 -5
- package/src/icons/react/RicheditorBlockEmbed.tsx +10 -5
- package/src/icons/react/RicheditorBlockEntity.tsx +10 -5
- package/src/icons/react/RicheditorBlockFile.tsx +10 -5
- package/src/icons/react/RicheditorBlockH1.tsx +10 -5
- package/src/icons/react/RicheditorBlockH2.tsx +10 -5
- package/src/icons/react/RicheditorBlockH3.tsx +10 -5
- package/src/icons/react/RicheditorBlockH4.tsx +10 -5
- package/src/icons/react/RicheditorBlockMention.tsx +10 -5
- package/src/icons/react/RicheditorBlockParagraph.tsx +10 -5
- package/src/icons/react/RicheditorBlockQuote.tsx +10 -5
- package/src/icons/react/RicheditorChecklistCreate.tsx +10 -5
- package/src/icons/react/RicheditorCommentCreate.tsx +10 -5
- package/src/icons/react/RicheditorEntityLinkCreate.tsx +10 -5
- package/src/icons/react/RicheditorHistoryRedo.tsx +10 -5
- package/src/icons/react/RicheditorHistoryUndo.tsx +10 -5
- package/src/icons/react/RicheditorImageAlignCenter.tsx +10 -5
- package/src/icons/react/RicheditorImageAlignLeft.tsx +10 -5
- package/src/icons/react/RicheditorImageAlignRight.tsx +10 -5
- package/src/icons/react/RicheditorImageUpload.tsx +10 -5
- package/src/icons/react/RicheditorImageWrapCenter.tsx +10 -5
- package/src/icons/react/RicheditorImageWrapLeft.tsx +10 -5
- package/src/icons/react/RicheditorImageWrapRight.tsx +10 -5
- package/src/icons/react/RicheditorImageZoom.tsx +10 -5
- package/src/icons/react/RicheditorLinkCreate.tsx +10 -5
- package/src/icons/react/RicheditorLinkedhighlightCreate.tsx +10 -5
- package/src/icons/react/RicheditorListBullet.tsx +10 -5
- package/src/icons/react/RicheditorListIndent.tsx +10 -5
- package/src/icons/react/RicheditorListOrdered.tsx +10 -5
- package/src/icons/react/RicheditorListUnindent.tsx +10 -5
- package/src/icons/react/RicheditorMarkCode.tsx +10 -5
- package/src/icons/react/RicheditorMarkEm.tsx +10 -5
- package/src/icons/react/RicheditorMarkHighlight.tsx +10 -5
- package/src/icons/react/RicheditorMarkStrike.tsx +10 -5
- package/src/icons/react/RicheditorMarkStrong.tsx +10 -5
- package/src/icons/react/RicheditorMarkTextBackgroundColor.tsx +10 -5
- package/src/icons/react/RicheditorMarkUnderline.tsx +10 -5
- package/src/icons/react/RicheditorOpenLink.tsx +10 -5
- package/src/icons/react/RicheditorTableCreate.tsx +10 -5
- package/src/icons/react/RicheditorUnlink.tsx +10 -5
- package/src/icons/react/RicheditorVideoUpload.tsx +10 -5
- package/src/icons/react/RightPanel.tsx +10 -5
- package/src/icons/react/Rows.tsx +10 -5
- package/src/icons/react/RuleScheduled.tsx +10 -5
- package/src/icons/react/Search.tsx +10 -5
- package/src/icons/react/SearchAdd.tsx +10 -5
- package/src/icons/react/SearchFilled.tsx +10 -5
- package/src/icons/react/SearchRemove.tsx +10 -5
- package/src/icons/react/SelfReferenceOff.tsx +10 -5
- package/src/icons/react/SelfReferenceOn.tsx +10 -5
- package/src/icons/react/SendArrow.tsx +10 -5
- package/src/icons/react/SendBackward.tsx +10 -5
- package/src/icons/react/SendToBack.tsx +10 -5
- package/src/icons/react/Settings.tsx +10 -5
- package/src/icons/react/SettingsFilled.tsx +10 -5
- package/src/icons/react/SettingsOff.tsx +10 -5
- package/src/icons/react/Share.tsx +10 -5
- package/src/icons/react/Shared.tsx +10 -5
- package/src/icons/react/ShieldKeyhole.tsx +10 -5
- package/src/icons/react/ShowAuthor.tsx +10 -5
- package/src/icons/react/Sidebar.tsx +10 -5
- package/src/icons/react/SidebarFields.tsx +10 -5
- package/src/icons/react/SidebarFieldsOpened.tsx +10 -5
- package/src/icons/react/SimpleCompass.tsx +10 -5
- package/src/icons/react/Slack.tsx +10 -5
- package/src/icons/react/SlackIcon.tsx +10 -5
- package/src/icons/react/SlideMenu.tsx +10 -5
- package/src/icons/react/SlideMenuClose.tsx +10 -5
- package/src/icons/react/SlideMenuFilled.tsx +10 -5
- package/src/icons/react/SlideMenuOpen.tsx +10 -5
- package/src/icons/react/SmartFolder.tsx +10 -5
- package/src/icons/react/Sort.tsx +10 -5
- package/src/icons/react/SortOnBottom.tsx +10 -5
- package/src/icons/react/SortOnTop.tsx +10 -5
- package/src/icons/react/SpaceApp.tsx +10 -5
- package/src/icons/react/SpaceGenerate.tsx +10 -5
- package/src/icons/react/SpaceList.tsx +10 -5
- package/src/icons/react/SpaceScratch.tsx +10 -5
- package/src/icons/react/SpaceTemplate.tsx +10 -5
- package/src/icons/react/Spinner.tsx +10 -5
- package/src/icons/react/Success.tsx +10 -5
- package/src/icons/react/SuggestIntegration.tsx +10 -5
- package/src/icons/react/SwitchToMention.tsx +10 -5
- package/src/icons/react/SwitchToText.tsx +10 -5
- package/src/icons/react/SwitchToWidget.tsx +10 -5
- package/src/icons/react/TableLayout.tsx +10 -5
- package/src/icons/react/Template.tsx +10 -5
- package/src/icons/react/Templates.tsx +10 -5
- package/src/icons/react/TemplatesFilled.tsx +10 -5
- package/src/icons/react/Terminal.tsx +10 -5
- package/src/icons/react/TextNoWrap.tsx +10 -5
- package/src/icons/react/TextToolAlignBottom.tsx +10 -5
- package/src/icons/react/TextToolAlignMiddle.tsx +10 -5
- package/src/icons/react/TextToolAlignTop.tsx +10 -5
- package/src/icons/react/TextWrap.tsx +10 -5
- package/src/icons/react/ThumbsDown.tsx +10 -5
- package/src/icons/react/ThumbsUp.tsx +10 -5
- package/src/icons/react/Toc.tsx +18 -0
- package/src/icons/react/Twitter.tsx +10 -5
- package/src/icons/react/TypeBoolean.tsx +10 -5
- package/src/icons/react/TypeButton.tsx +10 -5
- package/src/icons/react/TypeCheckbox.tsx +10 -5
- package/src/icons/react/TypeDate.tsx +10 -5
- package/src/icons/react/TypeEmail.tsx +10 -5
- package/src/icons/react/TypeEmoji.tsx +10 -5
- package/src/icons/react/TypeFormula.tsx +10 -5
- package/src/icons/react/TypeFunction.tsx +10 -5
- package/src/icons/react/TypeId.tsx +10 -5
- package/src/icons/react/TypeLocation.tsx +10 -5
- package/src/icons/react/TypeLookup.tsx +10 -5
- package/src/icons/react/TypeMoney.tsx +10 -5
- package/src/icons/react/TypeMultiSelect.tsx +10 -5
- package/src/icons/react/TypeNumber.tsx +10 -5
- package/src/icons/react/TypePercent.tsx +10 -5
- package/src/icons/react/TypePhone.tsx +10 -5
- package/src/icons/react/TypeRelation.tsx +10 -5
- package/src/icons/react/TypeRichText.tsx +10 -5
- package/src/icons/react/TypeRule.tsx +10 -5
- package/src/icons/react/TypeSingleSelect.tsx +10 -5
- package/src/icons/react/TypeText.tsx +10 -5
- package/src/icons/react/TypeUrl.tsx +10 -5
- package/src/icons/react/UnitsAvatar.tsx +10 -5
- package/src/icons/react/UnitsCollection.tsx +10 -5
- package/src/icons/react/UnitsCounter.tsx +10 -5
- package/src/icons/react/UnitsDate.tsx +10 -5
- package/src/icons/react/UnitsDbBadgeAbbr.tsx +10 -5
- package/src/icons/react/UnitsDbBadgeFull.tsx +10 -5
- package/src/icons/react/UnitsDbIcon.tsx +10 -5
- package/src/icons/react/UnitsField.tsx +10 -5
- package/src/icons/react/UnitsFieldIconButton.tsx +10 -5
- package/src/icons/react/UnitsInput.tsx +10 -5
- package/src/icons/react/UnitsProgressBar.tsx +10 -5
- package/src/icons/react/UnitsRichText.tsx +10 -5
- package/src/icons/react/UnitsSnippet.tsx +10 -5
- package/src/icons/react/Unlink.tsx +10 -5
- package/src/icons/react/UnlockFilled.tsx +10 -5
- package/src/icons/react/UnlockOutline.tsx +10 -5
- package/src/icons/react/Upgrade.tsx +10 -5
- package/src/icons/react/UsbFlashDrive.tsx +10 -5
- package/src/icons/react/UserCheck.tsx +10 -5
- package/src/icons/react/UserGroup.tsx +10 -5
- package/src/icons/react/UserGroupRemove.tsx +10 -5
- package/src/icons/react/UserRole.tsx +10 -5
- package/src/icons/react/UserX.tsx +10 -5
- package/src/icons/react/ValueEdit.tsx +10 -5
- package/src/icons/react/ViewAi.tsx +10 -5
- package/src/icons/react/ViewBoard.tsx +10 -5
- package/src/icons/react/ViewCalendar.tsx +10 -5
- package/src/icons/react/ViewCanvas.tsx +10 -5
- package/src/icons/react/ViewChart.tsx +10 -5
- package/src/icons/react/ViewDashboard.tsx +10 -5
- package/src/icons/react/ViewDetails.tsx +10 -5
- package/src/icons/react/ViewDocument.tsx +10 -5
- package/src/icons/react/ViewEmbed.tsx +18 -0
- package/src/icons/react/ViewFeed.tsx +10 -5
- package/src/icons/react/ViewForm.tsx +10 -5
- package/src/icons/react/ViewGallery.tsx +10 -5
- package/src/icons/react/ViewGantt.tsx +10 -5
- package/src/icons/react/ViewList.tsx +10 -5
- package/src/icons/react/ViewMap.tsx +10 -5
- package/src/icons/react/ViewPage.tsx +10 -5
- package/src/icons/react/ViewTable.tsx +10 -5
- package/src/icons/react/ViewTimeline.tsx +10 -5
- package/src/icons/react/Views.tsx +10 -5
- package/src/icons/react/Warning.tsx +10 -5
- package/src/icons/react/WarningTriangle.tsx +10 -5
- package/src/icons/react/WarningTriangleFilled.tsx +10 -5
- package/src/icons/react/Webhooks.tsx +18 -0
- package/src/icons/react/Windows.tsx +10 -5
- package/src/icons/react/WorkspaceMap.tsx +10 -5
- package/src/icons/react/Youtube.tsx +10 -5
- package/src/icons/react/ZoomIn.tsx +10 -5
- package/src/icons/react/ZoomOut.tsx +10 -5
- package/src/icons/react/index.tsx +453 -441
- package/src/icons/svg/arrow-bar-down.svg +4 -0
- package/src/icons/svg/arrow-bar-up.svg +4 -0
- package/src/icons/svg/folder-favorite.svg +3 -0
- package/src/icons/svg/intercom.svg +3 -0
- package/src/icons/svg/richeditor/list/indent.svg +7 -2
- package/src/icons/svg/richeditor/list/unindent.svg +7 -2
- package/src/icons/svg/richeditor/mark/underline.svg +2 -2
- package/src/icons/svg/toc.svg +5 -0
- package/src/icons/svg/view-embed.svg +3 -0
- package/src/icons/svg/webhooks.svg +5 -0
- package/src/icons/types.ts +2 -0
- package/src/images-gallery/images-gallery.tsx +67 -16
- package/src/images-gallery/slide-buttons.tsx +5 -9
- package/src/integration-compact-info-button.tsx +10 -6
- package/src/link-input/components/{AntTextAreaWithCustomReadState.js → AntTextAreaWithCustomReadState.tsx} +19 -8
- package/src/link-input/index.tsx +94 -0
- package/src/link-input/{utils.js → utils.ts} +1 -6
- package/src/loaders.tsx +2 -2
- package/src/loading-sausage.tsx +4 -4
- package/src/mobile-keyboard-aware-popup.tsx +1 -1
- package/src/modal-menu/modal-menu-content.tsx +1 -1
- package/src/modal-menu/modal-menu-separator.tsx +1 -1
- package/src/modal-menu/modal-submenu-content.tsx +3 -1
- package/src/new-badge.tsx +2 -2
- package/src/number-input/decimal.ts +50 -0
- package/src/number-input/edit-unit-styles.ts +3 -3
- package/src/number-input/utils.ts +2 -2
- package/src/online-users.tsx +8 -8
- package/src/open-popover-tracker.tsx +73 -0
- package/src/palette-generator.test.ts +146 -147
- package/src/palette-generator.ts +29 -57
- package/src/palettes/_.test.ts +226 -0
- package/src/palettes/_.ts +67 -24
- package/src/palettes/common.ts +31 -0
- package/src/palettes/diff-colors.ts +270 -0
- package/src/palettes/inspect.canvas-colors.test.ts +257 -0
- package/src/palettes/inspect.defs.colors.neutral-arch.test.ts +2327 -0
- package/src/palettes/inspect.defs.colors.neutral-user.test.ts +2327 -0
- package/src/palettes/inspect.defs.colors.warm-arch.test.ts +2327 -0
- package/src/palettes/inspect.defs.colors.warm-user.test.ts +2327 -0
- package/src/palettes/inspect.neutral-arch.test.ts +191 -0
- package/src/palettes/inspect.neutral-user.test.ts +191 -0
- package/src/palettes/inspect.warm-arch.test.ts +191 -0
- package/src/palettes/inspect.warm-user.test.ts +191 -0
- package/src/palettes/neutral-arch.ts +37 -0
- package/src/palettes/neutral-user.ts +37 -0
- package/src/palettes/{slate-arch.ts → neutral.ts} +22 -34
- package/src/palettes/warm-arch.ts +3 -188
- package/src/palettes/warm-user.ts +3 -188
- package/src/palettes/warm.ts +158 -0
- package/src/popover/index.tsx +34 -10
- package/src/popover/mobile-popover.tsx +4 -2
- package/src/popover/popup-modifiers-context.ts +4 -4
- package/src/preference-setting.test.ts +223 -0
- package/src/preference-setting.ts +71 -0
- package/src/pretty-size.test.ts +18 -0
- package/src/pretty-size.ts +26 -0
- package/src/reactions/reaction-button.tsx +4 -4
- package/src/reactions/reaction-picker.tsx +2 -2
- package/src/rich-text-embed-error.tsx +3 -1
- package/src/root-theme-provider.test.tsx +25 -20
- package/src/scale-generator.ts +1 -32
- package/src/select/components/group-heading.tsx +1 -1
- package/src/select/components/menu-list-virtua.tsx +127 -0
- package/src/select/index.tsx +10 -6
- package/src/select/reflection.ts +22 -0
- package/src/select/select.tsx +2 -0
- package/src/select/styles.ts +1 -1
- package/src/static-palettes.ts +4 -5
- package/src/tab-nav/tab-nav.tsx +61 -17
- package/src/thematic-color-picker.tsx +164 -233
- package/src/thematic-constants.tsx +2 -1
- package/src/thematic-controls.tsx +126 -9
- package/src/thematic-cvd.tsx +73 -0
- package/src/thematic-highlights.tsx +49 -0
- package/src/thematic-scales.tsx +70 -88
- package/src/thematic-state.ts +92 -54
- package/src/thematic.tsx +406 -278
- package/src/theme-provider.test.tsx +70 -67
- package/src/theme-provider.tsx +52 -41
- package/src/theme-settings.ts +12 -44
- package/src/theme-styles.ts +34 -27
- package/src/themed-ink.tsx +26 -0
- package/src/toast/toast-action.tsx +2 -2
- package/src/toggle-button/round-toggle-button.tsx +2 -1
- package/src/toggle-button/toggle-button.tsx +3 -3
- package/src/toggle-on-off.tsx +7 -7
- package/src/tooltip-if-overflown.tsx +3 -3
- package/src/tree-utils.ts +1 -1
- package/src/type-badge-box.tsx +2 -2
- package/src/type-badge.tsx +9 -10
- package/src/unit/maybe-unit-value.tsx +1 -1
- package/src/unit/types.ts +1 -1
- package/src/workflow-progress-icon.tsx +1 -1
- package/.oxlintrc.json +0 -24
- package/src/actions-menu/actions-menu-open-state-tracker.tsx +0 -66
- package/src/design-system/alpha.test.ts +0 -59
- package/src/design-system.test.ts +0 -48
- package/src/error-alert/error-alert-action.tsx +0 -12
- package/src/error-alert/error-alert.tsx +0 -71
- package/src/link-input/index.js +0 -89
- package/src/number-input/decimal.js +0 -61
- package/src/palettes/slate-arch.colors-snapshot.test.ts +0 -1689
- package/src/palettes/slate-user.colors-snapshot.test.ts +0 -1689
- package/src/palettes/slate-user.ts +0 -187
- package/src/palettes/warm-arch.colors-snapshot.test.ts +0 -1689
- package/src/palettes/warm-user.colors-snapshot.test.ts +0 -1689
- package/src/popover/popover-old.tsx +0 -113
- /package/src/number-input/{decimal.test.js → decimal.test.ts} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M3 16C3 15.5858 3.33579 15.25 3.75 15.25H16.25C16.6642 15.25 17 15.5858 17 16C17 16.4142 16.6642 16.75 16.25 16.75H3.75C3.33579 16.75 3 16.4142 3 16Z" />
|
|
3
|
+
<path d="M6.96973 10.2803C6.67684 9.98737 6.67684 9.51263 6.96973 9.21973C7.26261 8.92685 7.73739 8.92685 8.03027 9.21973L9.25 10.4395V4.75C9.25 4.33579 9.58579 4 10 4C10.4142 4 10.75 4.33579 10.75 4.75V10.4395L11.9697 9.21973C12.2626 8.92683 12.7374 8.92683 13.0303 9.21973C13.3232 9.51263 13.3232 9.98737 13.0303 10.2803L10.5303 12.7803C10.2374 13.0732 9.76262 13.0732 9.46973 12.7803L6.96973 10.2803Z" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M16.25 16.75C16.6642 16.75 17 16.4142 17 16C17 15.5858 16.6642 15.25 16.25 15.25H3.75C3.3358 15.25 3 15.5858 3 16C3 16.4142 3.3358 16.75 3.75 16.75H16.25Z" />
|
|
3
|
+
<path d="M11.9697 7.78033C12.2626 8.07322 12.7374 8.07322 13.0303 7.78033C13.3232 7.48744 13.3232 7.01256 13.0303 6.71967L10.5303 4.21967C10.2374 3.92678 9.7626 3.92678 9.4697 4.21967L6.9697 6.71967C6.6768 7.01256 6.6768 7.48744 6.9697 7.78033C7.2626 8.07322 7.7374 8.07322 8.0303 7.78033L9.25 6.56066L9.25 12.25C9.25 12.6642 9.5858 13 10 13C10.4142 13 10.75 12.6642 10.75 12.25L10.75 6.56066L11.9697 7.78033Z" />
|
|
4
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" >
|
|
2
|
+
<path d="M7.5 3C7.69891 3 7.88962 3.07907 8.03027 3.21973L10.3105 5.5H15.583C16.2239 5.5 16.8388 5.7548 17.292 6.20801C17.7452 6.66122 18 7.27605 18 7.91699V14.583C18 15.2239 17.7452 15.8388 17.292 16.292C17.0183 16.5657 16.6474 16.7336 16.3809 16.8291C16.1213 16.9221 15.8078 17 15.583 17H4.41699C3.77605 17 3.16122 16.7452 2.70801 16.292C2.2548 15.8388 2 15.2239 2 14.583V5.41699C2 4.77605 2.25479 4.16122 2.70801 3.70801C3.16122 3.25479 3.77605 3 4.41699 3H7.5ZM4.41699 4.5C4.17388 4.5 3.94046 4.59665 3.76855 4.76855C3.59665 4.94046 3.5 5.17388 3.5 5.41699V14.583C3.5 14.8261 3.59665 15.0595 3.76855 15.2314C3.94046 15.4034 4.17388 15.5 4.41699 15.5H15.5684C15.5767 15.4988 15.6004 15.4954 15.6406 15.4863C15.7054 15.4718 15.7874 15.448 15.874 15.417C15.9614 15.3857 16.044 15.35 16.1123 15.3125C16.1836 15.2734 16.2195 15.2434 16.2314 15.2314C16.4034 15.0595 16.5 14.8261 16.5 14.583V7.91699C16.5 7.67388 16.4034 7.44046 16.2314 7.26855C16.0595 7.09665 15.8261 7 15.583 7H10C9.80109 7 9.61038 6.92093 9.46973 6.78027L7.18945 4.5H4.41699ZM9.7998 8.04492C9.92588 7.98472 10.0741 7.98472 10.2002 8.04492C10.3093 8.0971 10.3681 8.18974 10.3984 8.24219C10.4309 8.2982 10.4642 8.37087 10.499 8.44629L11.1191 9.78711L12.6328 9.94141C12.7182 9.95008 12.8008 9.95827 12.8662 9.9707C12.9274 9.98236 13.0361 10.0072 13.1211 10.0908C13.2196 10.1878 13.2656 10.3237 13.2451 10.458C13.2274 10.5739 13.1547 10.6561 13.1123 10.7002C13.067 10.7473 13.0052 10.8011 12.9414 10.8564L11.8105 11.8389L12.126 13.2734C12.1438 13.3542 12.161 13.4324 12.1689 13.4961C12.1764 13.5556 12.1861 13.6637 12.1299 13.7676C12.0646 13.8878 11.9444 13.9724 11.8057 13.9951C11.6857 14.0147 11.582 13.9725 11.5254 13.9473C11.4649 13.9203 11.3927 13.8812 11.3184 13.8398L10 13.1064L8.68164 13.8398C8.60728 13.8812 8.53511 13.9203 8.47461 13.9473C8.41804 13.9725 8.31433 14.0147 8.19434 13.9951C8.05556 13.9724 7.93537 13.8878 7.87012 13.7676C7.81395 13.6637 7.82364 13.5556 7.83105 13.4961C7.83902 13.4324 7.85624 13.3542 7.87402 13.2734L8.18945 11.8389L7.05859 10.8564C6.99482 10.8011 6.93303 10.7473 6.8877 10.7002C6.84529 10.6561 6.77261 10.5739 6.75488 10.458C6.73437 10.3237 6.78037 10.1878 6.87891 10.0908C6.96388 10.0072 7.07261 9.98236 7.13379 9.9707C7.1992 9.95827 7.28181 9.95008 7.36719 9.94141C7.37079 9.94104 7.37431 9.93982 7.37793 9.93945L8.88086 9.78711L9.49609 8.45605C9.49756 8.45287 9.49951 8.44946 9.50098 8.44629C9.53584 8.37087 9.56914 8.2982 9.60156 8.24219C9.63192 8.18974 9.69071 8.0971 9.7998 8.04492Z"/>
|
|
3
|
+
</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="M15.7042 10.7751C15.7027 10.9116 15.6474 11.0421 15.5503 11.1381C15.4532 11.2341 15.3222 11.288 15.1856 11.288C15.0491 11.288 14.918 11.2341 14.8209 11.1381C14.7239 11.0421 14.6686 10.9116 14.6671 10.7751V6.11155C14.6686 5.97499 14.7239 5.84454 14.8209 5.7485C14.918 5.65247 15.0491 5.5986 15.1856 5.5986C15.3222 5.5986 15.4532 5.65247 15.5503 5.7485C15.6474 5.84454 15.7027 5.97499 15.7042 6.11155V10.7751ZM15.5232 14.0206C15.4431 14.0892 13.5222 15.7011 10.0004 15.7011C6.47868 15.7011 4.55793 14.0892 4.47779 14.0206C4.37339 13.9311 4.30882 13.8037 4.29828 13.6666C4.28774 13.5295 4.33209 13.3938 4.42158 13.2894C4.51087 13.1851 4.63787 13.1206 4.77472 13.1098C4.91157 13.0991 5.04708 13.1431 5.15154 13.2322C5.18198 13.2577 6.89722 14.6639 10.0005 14.6639C13.1427 14.6639 14.8314 13.2475 14.8481 13.2333C15.0651 13.0469 15.393 13.0719 15.5793 13.2895C15.6688 13.3939 15.7132 13.5295 15.7027 13.6667C15.6921 13.8038 15.6276 13.9311 15.5232 14.0206ZM4.29671 6.11155C4.29819 5.97499 4.35347 5.84454 4.45055 5.7485C4.54763 5.65247 4.67868 5.5986 4.81524 5.5986C4.9518 5.5986 5.08284 5.65247 5.17993 5.7485C5.27701 5.84454 5.33229 5.97499 5.33377 6.11155V10.7751C5.33229 10.9116 5.27701 11.0421 5.17993 11.1381C5.08284 11.2341 4.9518 11.288 4.81524 11.288C4.67868 11.288 4.54763 11.2341 4.45055 11.1381C4.35347 11.0421 4.29819 10.9116 4.29671 10.7751V6.11155ZM6.88938 5.07449C6.89147 4.93835 6.94701 4.80849 7.04402 4.71295C7.14103 4.61742 7.27173 4.56387 7.40788 4.56387C7.54404 4.56387 7.67473 4.61742 7.77174 4.71295C7.86875 4.80849 7.9243 4.93835 7.92638 5.07449V12.0016C7.9243 12.1378 7.86875 12.2676 7.77174 12.3632C7.67473 12.4587 7.54404 12.5123 7.40788 12.5123C7.27173 12.5123 7.14103 12.4587 7.04402 12.3632C6.94701 12.2676 6.89147 12.1378 6.88938 12.0016V5.07455V5.07449ZM9.48194 4.81211C9.48193 4.74402 9.49533 4.67659 9.52139 4.61368C9.54744 4.55077 9.58563 4.49361 9.63378 4.44546C9.68193 4.39731 9.73909 4.35912 9.802 4.33306C9.86491 4.30701 9.93234 4.2936 10.0004 4.29361C10.0685 4.2936 10.136 4.307 10.1989 4.33305C10.2618 4.3591 10.319 4.39729 10.3671 4.44544C10.4153 4.49359 10.4535 4.55075 10.4795 4.61367C10.5056 4.67658 10.519 4.74401 10.519 4.81211V12.3306C10.5175 12.4672 10.4622 12.5976 10.3652 12.6937C10.2681 12.7897 10.137 12.8436 10.0005 12.8436C9.86391 12.8436 9.73286 12.7897 9.63578 12.6937C9.5387 12.5976 9.48341 12.4672 9.48194 12.3306V4.81211ZM12.0745 5.07449C12.0766 4.93835 12.1322 4.80849 12.2292 4.71295C12.3262 4.61742 12.4569 4.56387 12.593 4.56387C12.7292 4.56387 12.8599 4.61742 12.9569 4.71295C13.0539 4.80849 13.1095 4.93835 13.1115 5.07449V12.0016C13.1095 12.1378 13.0539 12.2676 12.9569 12.3632C12.8599 12.4587 12.7292 12.5123 12.593 12.5123C12.4569 12.5123 12.3262 12.4587 12.2292 12.3632C12.1322 12.2676 12.0766 12.1378 12.0745 12.0016V5.07455V5.07449ZM15.8338 2.22266H4.1671C3.09322 2.22266 2.22266 3.09322 2.22266 4.1671V15.8338C2.22266 16.9076 3.09322 17.7782 4.1671 17.7782H15.8338C16.9076 17.7782 17.7782 16.9076 17.7782 15.8338V4.1671C17.7782 3.09322 16.9076 2.22266 15.8338 2.22266Z" />
|
|
3
|
+
</svg>
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
<
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M2.52967 6.96965C2.82256 6.67676 3.29732 6.67676 3.59021 6.96965L6.09021 9.46965C6.23087 9.6103 6.30994 9.80101 6.30994 9.99992C6.30994 10.1988 6.23087 10.3895 6.09021 10.5302L3.59021 13.0302C3.29732 13.3231 2.82256 13.3231 2.52967 13.0302C2.23677 12.7373 2.23677 12.2625 2.52967 11.9696L4.49939 9.99992L2.52967 8.0302C2.23677 7.7373 2.23677 7.26254 2.52967 6.96965Z" fill="black"/>
|
|
3
|
+
<path d="M16.94 3.41992C17.3542 3.41996 17.69 3.75573 17.69 4.16992C17.69 4.58411 17.3542 4.91988 16.94 4.91992H8.60994C8.19573 4.91992 7.85994 4.58414 7.85994 4.16992C7.85994 3.75571 8.19573 3.41992 8.60994 3.41992H16.94Z" />
|
|
4
|
+
<path d="M16.94 7.30992C17.3542 7.30996 17.69 7.64573 17.69 8.05992C17.69 8.47411 17.3542 8.80988 16.94 8.80992H8.60994C8.19573 8.80992 7.85994 8.47414 7.85994 8.05992C7.85994 7.64571 8.19573 7.30992 8.60994 7.30992H16.94Z" />
|
|
5
|
+
<path d="M16.94 11.1899C17.3542 11.19 17.69 11.5257 17.69 11.9399C17.69 12.3541 17.3542 12.6899 16.94 12.6899H8.60994C8.19573 12.6899 7.85994 12.3541 7.85994 11.9399C7.85994 11.5257 8.19573 11.1899 8.60994 11.1899H16.94Z" />
|
|
6
|
+
<path d="M16.94 15.0799C17.3542 15.08 17.69 15.4157 17.69 15.8299C17.69 16.2441 17.3542 16.5799 16.94 16.5799H8.60994C8.19573 16.5799 7.85994 16.2441 7.85994 15.8299C7.85994 15.4157 8.19573 15.0799 8.60994 15.0799H16.94Z" />
|
|
7
|
+
</svg>
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
<
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M16.4098 6.96965C16.7027 6.67676 17.1774 6.67676 17.4703 6.96965C17.7632 7.26254 17.7632 7.7373 17.4703 8.0302L15.5006 9.99992L17.4703 11.9696C17.7632 12.2625 17.7632 12.7373 17.4703 13.0302C17.1774 13.3231 16.7027 13.3231 16.4098 13.0302L13.9098 10.5302C13.6169 10.2373 13.6169 9.76254 13.9098 9.46965L16.4098 6.96965Z" />
|
|
3
|
+
<path d="M11.3901 15.0799C11.8043 15.08 12.1401 15.4157 12.1401 15.8299C12.1401 16.2441 11.8043 16.5799 11.3901 16.5799H3.06006C2.64585 16.5799 2.31006 16.2441 2.31006 15.8299C2.31006 15.4157 2.64585 15.0799 3.06006 15.0799H11.3901Z" />
|
|
4
|
+
<path d="M11.3901 11.1899C11.8043 11.19 12.1401 11.5257 12.1401 11.9399C12.1401 12.3541 11.8043 12.6899 11.3901 12.6899H3.06006C2.64585 12.6899 2.31006 12.3541 2.31006 11.9399C2.31006 11.5257 2.64585 11.1899 3.06006 11.1899H11.3901Z" />
|
|
5
|
+
<path d="M11.3901 7.30992C11.8043 7.30996 12.1401 7.64573 12.1401 8.05992C12.1401 8.47411 11.8043 8.80988 11.3901 8.80992H3.06006C2.64585 8.80992 2.31006 8.47414 2.31006 8.05992C2.31006 7.64571 2.64585 7.30992 3.06006 7.30992H11.3901Z" />
|
|
6
|
+
<path d="M11.3901 3.41992C11.8043 3.41996 12.1401 3.75573 12.1401 4.16992C12.1401 4.58411 11.8043 4.91988 11.3901 4.91992H3.06006C2.64585 4.91992 2.31006 4.58414 2.31006 4.16992C2.31006 3.75571 2.64585 3.41992 3.06006 3.41992H11.3901Z" />
|
|
7
|
+
</svg>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
<path d="M16.9299 16.1301C17.3717 16.1301 17.7296 16.4881 17.7297 16.9299C17.7297 17.3717 17.3717 17.7297 16.9299 17.7297H3.04999C2.60816 17.7297 2.25018 17.3717 2.25018 16.9299C2.25025 16.4881 2.6082 16.1301 3.04999 16.1301H16.9299Z" />
|
|
3
|
+
<path d="M14.1506 2.29999C14.5645 2.30029 14.9006 2.63596 14.9006 3.04999V9.43964C14.9006 10.7418 14.3828 11.9915 13.4621 12.9123C12.5414 13.8329 11.2924 14.3497 9.99042 14.3498C8.68845 14.3498 7.43949 13.8328 6.51874 12.9123C5.59793 11.9915 5.08026 10.7418 5.08026 9.43964V3.04999C5.08026 2.63577 5.41605 2.29999 5.83026 2.29999C6.24436 2.30012 6.58026 2.63586 6.58026 3.04999V9.43964C6.58026 10.344 6.93985 11.2113 7.57928 11.8508C8.21877 12.4902 9.08609 12.8498 9.99042 12.8498C10.8947 12.8497 11.7621 12.4902 12.4016 11.8508C13.0408 11.2113 13.4006 10.3438 13.4006 9.43964V3.04999C13.4006 2.63577 13.7364 2.29999 14.1506 2.29999Z" />
|
|
4
4
|
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M16.9302 15.0702C17.3443 15.0703 17.6802 15.406 17.6802 15.8202C17.6801 16.2342 17.3442 16.57 16.9302 16.5702H3.05031C2.63615 16.5702 2.30039 16.2343 2.30031 15.8202C2.30031 15.4059 2.6361 15.0702 3.05031 15.0702H16.9302Z" />
|
|
3
|
+
<path d="M8.15871 9.24985C8.57285 9.24913 8.90888 9.58471 8.90968 9.99887C8.91032 10.4129 8.57566 10.749 8.16164 10.7498L3.00148 10.7596C2.5873 10.7604 2.25038 10.4257 2.24953 10.0116C2.24872 9.59735 2.58434 9.26042 2.99855 9.25961L8.15871 9.24985Z" />
|
|
4
|
+
<path d="M16.9302 3.41C17.3443 3.41017 17.6802 3.74589 17.6802 4.16C17.6802 4.57412 17.3443 4.90984 16.9302 4.91H3.05031C2.6361 4.91 2.30031 4.57422 2.30031 4.16C2.30031 3.74579 2.6361 3.41 3.05031 3.41H16.9302Z" />
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" >
|
|
2
|
+
<path d="M15 3C16.1046 3 17 3.89543 17 5V15C17 16.1046 16.1046 17 15 17H5C3.89543 17 3 16.1046 3 15V5C3 3.89543 3.89543 3 5 3H15ZM5.5 7C5.22386 7 5 7.22386 5 7.5V14.5C5 14.7761 5.22386 15 5.5 15H14.5C14.7761 15 15 14.7761 15 14.5V7.5C15 7.22386 14.7761 7 14.5 7H5.5Z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M9.131 2.61037C9.6728 2.47393 10.2391 2.46682 10.7841 2.58964C11.3292 2.71246 11.8377 2.96176 12.2686 3.31739C12.6996 3.67303 13.0408 4.12503 13.2648 4.63689C13.4308 5.01636 13.2578 5.4586 12.8783 5.62464C12.4988 5.79069 12.0566 5.61767 11.8906 5.2382C11.7609 4.94186 11.5633 4.68017 11.3139 4.47428C11.0644 4.26839 10.77 4.12406 10.4544 4.05295C10.1389 3.98185 9.811 3.98596 9.49733 4.06495C9.18366 4.14395 8.89296 4.29562 8.64873 4.5077C8.40449 4.71979 8.21356 4.98635 8.09136 5.28585C7.96917 5.58535 7.91913 5.90939 7.94529 6.23179C7.97144 6.5542 8.07307 6.86594 8.24195 7.14182C8.41083 7.4177 8.64223 7.64999 8.91746 7.81993C9.26945 8.03726 9.379 8.49855 9.16232 8.85094L6.57832 13.0532C6.60869 13.1552 6.625 13.2632 6.625 13.375C6.625 13.9963 6.12132 14.5 5.5 14.5C4.87868 14.5 4.375 13.9963 4.375 13.375C4.375 12.8218 4.77435 12.3618 5.3005 12.2676L7.53411 8.63516C7.31473 8.42459 7.12246 8.18608 6.96262 7.92496C6.67091 7.44844 6.49538 6.90998 6.4502 6.3531C6.40502 5.79621 6.49145 5.2365 6.70252 4.71919C6.91359 4.20187 7.24337 3.74145 7.66523 3.37512C8.08709 3.00879 8.5892 2.74682 9.131 2.61037Z"/>
|
|
3
|
+
<path d="M11.0783 6.38429C11.1087 6.28234 11.125 6.17432 11.125 6.0625C11.125 5.44118 10.6213 4.9375 10 4.9375C9.37868 4.9375 8.875 5.44118 8.875 6.0625C8.875 6.61572 9.27432 7.07568 9.80046 7.16986L12.3846 11.3723C12.4888 11.5418 12.656 11.6629 12.8495 11.709C13.043 11.7552 13.247 11.7225 13.4164 11.6183C13.6878 11.4513 13.9943 11.3495 14.3117 11.3209C14.6291 11.2922 14.9488 11.3375 15.2458 11.4532C15.5428 11.5689 15.8089 11.7519 16.0232 11.9877C16.2376 12.2235 16.3944 12.5058 16.4813 12.8124C16.5683 13.1191 16.583 13.4416 16.5243 13.7549C16.4656 14.0681 16.3351 14.3635 16.143 14.6179C15.951 14.8722 15.7026 15.0786 15.4174 15.2208C15.1322 15.363 14.8179 15.4372 14.4992 15.4375C14.085 15.438 13.7496 15.7741 13.75 16.1883C13.7504 16.6025 14.0866 16.938 14.5008 16.9375C15.0513 16.9369 15.5941 16.8088 16.0868 16.5632C16.5794 16.3175 17.0084 15.961 17.3401 15.5217C17.6718 15.0824 17.8972 14.5722 17.9986 14.0312C18.1 13.4901 18.0746 12.9329 17.9245 12.4033C17.7743 11.8737 17.5035 11.3861 17.1332 10.9787C16.7629 10.5714 16.3033 10.2554 15.7904 10.0556C15.2774 9.85572 14.7252 9.77746 14.1769 9.82693C13.8807 9.85366 13.5899 9.91729 13.3112 10.0157L11.0783 6.38429Z"/>
|
|
4
|
+
<path d="M15.625 13.375C15.625 13.9963 15.1213 14.5 14.5 14.5C14.1668 14.5 13.8675 14.3552 13.6615 14.125H8.98266C8.91753 14.4274 8.81307 14.7211 8.67114 14.9984C8.41391 15.5008 8.04097 15.935 7.58303 16.2651C7.1251 16.5951 6.59528 16.8116 6.03726 16.8968C5.47923 16.9819 4.90896 16.9332 4.37344 16.7547C3.83792 16.5762 3.35249 16.273 2.95714 15.8701C2.5618 15.4671 2.26786 14.976 2.09955 14.4372C1.93123 13.8984 1.89337 13.3273 1.98907 12.771C2.08478 12.2147 2.31131 11.6891 2.65 11.2375C2.89853 10.9061 3.36863 10.839 3.7 11.0875C4.03137 11.336 4.09853 11.8061 3.85 12.1375C3.65392 12.399 3.52277 12.7033 3.46736 13.0253C3.41195 13.3474 3.43387 13.678 3.53132 13.99C3.62876 14.3019 3.79894 14.5862 4.02782 14.8195C4.2567 15.0528 4.53774 15.2283 4.84778 15.3317C5.15782 15.435 5.48797 15.4632 5.81104 15.4139C6.13411 15.3646 6.44085 15.2393 6.70597 15.0482C6.97108 14.8571 7.187 14.6058 7.33592 14.3149C7.48484 14.0239 7.5625 13.7018 7.5625 13.375C7.5625 12.9608 7.89829 12.625 8.3125 12.625H13.6614C13.8674 12.3948 14.1668 12.25 14.5 12.25C15.1213 12.25 15.625 12.7537 15.625 13.375Z"/>
|
|
5
|
+
</svg>
|
package/src/icons/types.ts
CHANGED
|
@@ -26,6 +26,8 @@ export type IconBaseProps = Omit<SVGProps<SVGSVGElement>, "ref" | "color"> & {
|
|
|
26
26
|
iconSize?: number;
|
|
27
27
|
/** Pass null to inherit parent's color */
|
|
28
28
|
color?: string | null | undefined;
|
|
29
|
+
/** Skip auto-deneutralize when the color is already processed for display (e.g. a11y-adjusted) */
|
|
30
|
+
colorProcessed?: boolean;
|
|
29
31
|
};
|
|
30
32
|
|
|
31
33
|
export type IconProps = IconBaseProps & {
|
|
@@ -27,6 +27,7 @@ type Methods = {
|
|
|
27
27
|
update: () => void;
|
|
28
28
|
nextImage: () => void;
|
|
29
29
|
prevImage: () => void;
|
|
30
|
+
deleteSlide: (key: string) => void;
|
|
30
31
|
registerOnClose: (callback: () => void) => () => void;
|
|
31
32
|
};
|
|
32
33
|
|
|
@@ -38,6 +39,7 @@ const [ImagesGalleryMethodsProvider, useImagesGalleryMethods] = createContext<Me
|
|
|
38
39
|
update: noop,
|
|
39
40
|
nextImage: noop,
|
|
40
41
|
prevImage: noop,
|
|
42
|
+
deleteSlide: noop,
|
|
41
43
|
registerOnClose: () => noop,
|
|
42
44
|
});
|
|
43
45
|
type State = {version: "1" | "2"; visible: boolean; activated: boolean; _inc: number};
|
|
@@ -173,6 +175,47 @@ export function ImagesGalleryProvider({children}: PropsWithChildren) {
|
|
|
173
175
|
prevImage: () => {
|
|
174
176
|
lightbox.current?.pswp?.prev();
|
|
175
177
|
},
|
|
178
|
+
deleteSlide: (key: string) => {
|
|
179
|
+
const pswp = lightbox.current?.pswp;
|
|
180
|
+
if (!pswp) {
|
|
181
|
+
return;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
const dataSource = (pswp.options.dataSource as GalleryEntry[]) ?? [];
|
|
185
|
+
const indexToDelete = dataSource.findIndex((entry) => entry.key === key);
|
|
186
|
+
if (indexToDelete < 0) {
|
|
187
|
+
return;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
const currIndex = pswp.currIndex;
|
|
191
|
+
|
|
192
|
+
dataSource.splice(indexToDelete, 1);
|
|
193
|
+
if (dataSource.length === 0) {
|
|
194
|
+
pswp.close();
|
|
195
|
+
return;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
let newIndex = currIndex;
|
|
199
|
+
if (indexToDelete === currIndex) {
|
|
200
|
+
newIndex = currIndex >= dataSource.length ? dataSource.length - 1 : currIndex;
|
|
201
|
+
} else if (indexToDelete < currIndex) {
|
|
202
|
+
newIndex = currIndex - 1;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
pswp.options.dataSource = dataSource;
|
|
206
|
+
pswp.goTo(newIndex);
|
|
207
|
+
|
|
208
|
+
// reset cached in the DOM slides
|
|
209
|
+
pswp.refreshSlideContent(newIndex);
|
|
210
|
+
if (dataSource.length > 1) {
|
|
211
|
+
const prevIndex = (newIndex - 1 + dataSource.length) % dataSource.length;
|
|
212
|
+
const nextIndex = (newIndex + 1) % dataSource.length;
|
|
213
|
+
pswp.refreshSlideContent(prevIndex);
|
|
214
|
+
pswp.refreshSlideContent(nextIndex);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
pswp.dispatch("change");
|
|
218
|
+
},
|
|
176
219
|
registerOnClose: (callback: () => void) => {
|
|
177
220
|
onCloseCallbacks.current.add(callback);
|
|
178
221
|
return () => {
|
|
@@ -239,6 +282,7 @@ function imagesGalleryReducer(state: State, action: Actions) {
|
|
|
239
282
|
}
|
|
240
283
|
|
|
241
284
|
type GalleryEntry = {
|
|
285
|
+
key?: string;
|
|
242
286
|
type: string;
|
|
243
287
|
src: string;
|
|
244
288
|
contentType: string | null;
|
|
@@ -254,8 +298,8 @@ function attachCustomControls(
|
|
|
254
298
|
items: {
|
|
255
299
|
src: string;
|
|
256
300
|
label?: string;
|
|
257
|
-
type:
|
|
258
|
-
contentType?: string;
|
|
301
|
+
type: string;
|
|
302
|
+
contentType?: string | null;
|
|
259
303
|
actions?: React.ReactNode;
|
|
260
304
|
zoomed: boolean;
|
|
261
305
|
setZoomed: (zoomed: boolean) => void;
|
|
@@ -318,15 +362,21 @@ function attachCustomControls(
|
|
|
318
362
|
isButton: false,
|
|
319
363
|
appendTo: "wrapper",
|
|
320
364
|
onInit: (el, pswp) => {
|
|
321
|
-
createRoot(el)
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
365
|
+
const root = createRoot(el);
|
|
366
|
+
const render = () => {
|
|
367
|
+
root.render(
|
|
368
|
+
<SlideButtons
|
|
369
|
+
items={[...items]}
|
|
370
|
+
pswp={pswp}
|
|
371
|
+
toastQueue={toastQueue}
|
|
372
|
+
themeMode={themeMode}
|
|
373
|
+
uiHandlers={uiHandlers}
|
|
374
|
+
/>
|
|
375
|
+
);
|
|
376
|
+
};
|
|
377
|
+
|
|
378
|
+
render();
|
|
379
|
+
lightbox.pswp?.on("change", render);
|
|
330
380
|
},
|
|
331
381
|
});
|
|
332
382
|
});
|
|
@@ -369,7 +419,9 @@ export function initGallery(
|
|
|
369
419
|
imagesRegistry: Registry,
|
|
370
420
|
{toastQueue, themeMode, isPhone}: {toastQueue: ToastQueue; themeMode: ThemeMode; isPhone: boolean}
|
|
371
421
|
) {
|
|
372
|
-
const items = [...imagesRegistry.
|
|
422
|
+
const items = [...imagesRegistry.entries()].map(([key, value]) => {
|
|
423
|
+
return {...value, key};
|
|
424
|
+
});
|
|
373
425
|
const dataSource: GalleryEntry[] = items.map((item) => ({
|
|
374
426
|
...item,
|
|
375
427
|
state: "none",
|
|
@@ -428,7 +480,7 @@ export function initGallery(
|
|
|
428
480
|
});
|
|
429
481
|
|
|
430
482
|
lightbox.on("contentDeactivate", (e) => {
|
|
431
|
-
dataSource[e.content.index]
|
|
483
|
+
dataSource[e.content.index]?.setZoomed(false);
|
|
432
484
|
e.content.element?.querySelector("video")?.pause();
|
|
433
485
|
});
|
|
434
486
|
|
|
@@ -454,7 +506,7 @@ export function initGallery(
|
|
|
454
506
|
lightbox.on("contentRemove", (e) => {
|
|
455
507
|
const item = dataSource[e.content.index];
|
|
456
508
|
|
|
457
|
-
if (item
|
|
509
|
+
if (item?.type === "video" || item?.type === "iframe") {
|
|
458
510
|
item.state = "none";
|
|
459
511
|
}
|
|
460
512
|
});
|
|
@@ -499,8 +551,7 @@ export function initGallery(
|
|
|
499
551
|
}
|
|
500
552
|
});
|
|
501
553
|
|
|
502
|
-
attachCustomControls(lightbox,
|
|
503
|
-
|
|
554
|
+
attachCustomControls(lightbox, dataSource, toastQueue, themeMode);
|
|
504
555
|
lightbox.on("destroy", () => {
|
|
505
556
|
contentAppendTimeouts.forEach((timeoutId) => {
|
|
506
557
|
clearTimeout(timeoutId);
|
|
@@ -65,6 +65,8 @@ export function SlideButtons({
|
|
|
65
65
|
}) {
|
|
66
66
|
const [slideState, setSliceState] = useState<SlideState>(getSlideData(pswp, items));
|
|
67
67
|
useEffect(() => {
|
|
68
|
+
setSliceState(getSlideData(pswp, items));
|
|
69
|
+
|
|
68
70
|
const handler = () => {
|
|
69
71
|
setSliceState(getSlideData(pswp, items));
|
|
70
72
|
};
|
|
@@ -80,7 +82,7 @@ export function SlideButtons({
|
|
|
80
82
|
return (
|
|
81
83
|
<ToastProvider toastQueue={toastQueue}>
|
|
82
84
|
<ThemeProvider mode="dark">
|
|
83
|
-
<div className={wrapper}>
|
|
85
|
+
<div key={slideState.src} className={wrapper}>
|
|
84
86
|
<div className={barClassName}>
|
|
85
87
|
{slideState.src ? <CopyURLButton pswp={pswp} showUI={uiHandlers.showUI} /> : null}
|
|
86
88
|
<ZoomButton pswp={pswp} showUI={uiHandlers.showUI} />
|
|
@@ -158,6 +160,7 @@ function SlideActionsMenu({
|
|
|
158
160
|
return (
|
|
159
161
|
<div>
|
|
160
162
|
<ActionsMenu
|
|
163
|
+
modal
|
|
161
164
|
onOpenChange={(value) => {
|
|
162
165
|
uiHandlers.setForceShowUI(value);
|
|
163
166
|
}}
|
|
@@ -165,14 +168,7 @@ function SlideActionsMenu({
|
|
|
165
168
|
margin-top: ${space.s8}px;
|
|
166
169
|
`}
|
|
167
170
|
container={container}
|
|
168
|
-
trigger={
|
|
169
|
-
<ActionsButtonCompact
|
|
170
|
-
size={isPhone ? "large" : "medium"}
|
|
171
|
-
color="neutral"
|
|
172
|
-
variant="soft"
|
|
173
|
-
onClick={uiHandlers.showUI}
|
|
174
|
-
/>
|
|
175
|
-
}
|
|
171
|
+
trigger={<ActionsButtonCompact size={isPhone ? "large" : "medium"} color="neutral" variant="soft" />}
|
|
176
172
|
>
|
|
177
173
|
{actions}
|
|
178
174
|
</ActionsMenu>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {css, cx} from "@linaria/core";
|
|
2
2
|
import {Tooltip} from "./tooltip";
|
|
3
|
-
import {space, textStyles, themeVars} from "./design-system";
|
|
3
|
+
import {border, space, textStyles, themeVars} from "./design-system";
|
|
4
4
|
import {useTheme} from "./theme-provider";
|
|
5
5
|
import WarningIcon from "./icons/react/WarningTriangle";
|
|
6
6
|
import {Spinner} from "./loaders";
|
|
@@ -12,7 +12,7 @@ const buttonCss = css`
|
|
|
12
12
|
align-items: center;
|
|
13
13
|
padding: ${space.s2}px ${space.s8}px ${space.s2}px ${space.s4}px;
|
|
14
14
|
gap: ${space.s4}px;
|
|
15
|
-
border-radius:
|
|
15
|
+
border-radius: ${border.radius6}px;
|
|
16
16
|
`;
|
|
17
17
|
|
|
18
18
|
const loadingCss = css`
|
|
@@ -27,15 +27,19 @@ export const IntegrationCompactInfoButton: React.FC<{
|
|
|
27
27
|
loading?: boolean;
|
|
28
28
|
onClick?: () => void;
|
|
29
29
|
}> = ({onClick, loading, icon, name, title, error}) => {
|
|
30
|
-
const
|
|
31
|
-
|
|
30
|
+
const theme = useTheme();
|
|
32
31
|
let iconNode = icon;
|
|
33
32
|
|
|
34
33
|
if (error) {
|
|
35
|
-
iconNode = <WarningIcon color={colors.errorButtonColor} iconSize={18} containerSize={24} />;
|
|
34
|
+
iconNode = <WarningIcon color={theme.colors.errorButtonColor} iconSize={18} containerSize={24} />;
|
|
36
35
|
} else if (loading) {
|
|
37
36
|
iconNode = (
|
|
38
|
-
<Spinner
|
|
37
|
+
<Spinner
|
|
38
|
+
color={theme.colors.accentTextColor}
|
|
39
|
+
backgroundColor={theme.colors.mainBg}
|
|
40
|
+
iconSize={16}
|
|
41
|
+
containerSize={24}
|
|
42
|
+
/>
|
|
39
43
|
);
|
|
40
44
|
}
|
|
41
45
|
|
|
@@ -19,28 +19,39 @@ const inputStyle = css`
|
|
|
19
19
|
position: relative;
|
|
20
20
|
`;
|
|
21
21
|
|
|
22
|
-
export
|
|
22
|
+
export type AntTextAreaWithCustomReadStateProps = React.ComponentPropsWithoutRef<typeof AntTextArea> & {
|
|
23
|
+
renderReadState: () => React.ReactNode;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export const AntTextAreaWithCustomReadState = ({
|
|
27
|
+
value,
|
|
28
|
+
onBlur,
|
|
29
|
+
onFocus,
|
|
30
|
+
style = {},
|
|
31
|
+
renderReadState,
|
|
32
|
+
...rest
|
|
33
|
+
}: AntTextAreaWithCustomReadStateProps) => {
|
|
23
34
|
const [focus, setFocus] = useState(false);
|
|
24
|
-
const input = useRef(null);
|
|
35
|
+
const input = useRef<HTMLTextAreaElement>(null);
|
|
25
36
|
|
|
26
37
|
const handleFocus = useCallback(
|
|
27
|
-
(e) => {
|
|
38
|
+
(e: React.FocusEvent<HTMLTextAreaElement>) => {
|
|
28
39
|
setFocus(true);
|
|
29
|
-
onFocus
|
|
40
|
+
onFocus?.(e);
|
|
30
41
|
},
|
|
31
42
|
[onFocus]
|
|
32
43
|
);
|
|
33
44
|
|
|
34
45
|
const handleBlur = useCallback(
|
|
35
|
-
(e) => {
|
|
46
|
+
(e: React.FocusEvent<HTMLTextAreaElement>) => {
|
|
36
47
|
setFocus(false);
|
|
37
|
-
onBlur
|
|
48
|
+
onBlur?.(e);
|
|
38
49
|
},
|
|
39
50
|
[onBlur]
|
|
40
51
|
);
|
|
41
52
|
|
|
42
53
|
const handleWrapperClick = useCallback(() => {
|
|
43
|
-
input.current
|
|
54
|
+
input.current?.focus();
|
|
44
55
|
}, [input]);
|
|
45
56
|
|
|
46
57
|
return (
|
|
@@ -52,7 +63,7 @@ export const AntTextAreaWithCustomReadState = ({value, onBlur, onFocus, style =
|
|
|
52
63
|
onFocus={handleFocus}
|
|
53
64
|
onBlur={handleBlur}
|
|
54
65
|
value={value}
|
|
55
|
-
style={{...style, color: !focus
|
|
66
|
+
style={{...style, color: !focus ? "transparent" : undefined}}
|
|
56
67
|
/>
|
|
57
68
|
{!focus && (
|
|
58
69
|
<div className={wrapperStyle} onClick={handleWrapperClick}>
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import {css} from "@linaria/core";
|
|
2
|
+
import {useCallback} from "react";
|
|
3
|
+
import {
|
|
4
|
+
AntTextAreaWithCustomReadState,
|
|
5
|
+
AntTextAreaWithCustomReadStateProps,
|
|
6
|
+
} from "./components/AntTextAreaWithCustomReadState";
|
|
7
|
+
import {getURL} from "./utils";
|
|
8
|
+
|
|
9
|
+
const urlLinkClassname = css`
|
|
10
|
+
word-break: break-word;
|
|
11
|
+
margin-right: 20px;
|
|
12
|
+
`;
|
|
13
|
+
|
|
14
|
+
type LinkProps = {value: string; children?: React.ReactNode} & React.AnchorHTMLAttributes<HTMLAnchorElement>;
|
|
15
|
+
|
|
16
|
+
export const UrlInputLink = ({value, children, ...rest}: LinkProps) => {
|
|
17
|
+
const normalizedUrl = getURL(value);
|
|
18
|
+
if (!normalizedUrl) {
|
|
19
|
+
return null;
|
|
20
|
+
}
|
|
21
|
+
return (
|
|
22
|
+
<a
|
|
23
|
+
draggable={false}
|
|
24
|
+
target="_blank"
|
|
25
|
+
className={urlLinkClassname}
|
|
26
|
+
rel="noopener noreferrer nofollow"
|
|
27
|
+
href={normalizedUrl}
|
|
28
|
+
{...rest}
|
|
29
|
+
>
|
|
30
|
+
{children}
|
|
31
|
+
</a>
|
|
32
|
+
);
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export const UrlInput = (props: Omit<AntTextAreaWithCustomReadStateProps, "renderReadState">) => {
|
|
36
|
+
const handleClick = useCallback((e: React.MouseEvent) => e.stopPropagation(), []);
|
|
37
|
+
|
|
38
|
+
return (
|
|
39
|
+
<AntTextAreaWithCustomReadState
|
|
40
|
+
{...props}
|
|
41
|
+
renderReadState={() => (
|
|
42
|
+
<UrlInputLink value={String(props.value ?? "")} onClick={handleClick}>
|
|
43
|
+
{String(props.value ?? "")}
|
|
44
|
+
</UrlInputLink>
|
|
45
|
+
)}
|
|
46
|
+
/>
|
|
47
|
+
);
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export const PhoneInputLink = ({value, children, ...rest}: LinkProps) => {
|
|
51
|
+
return (
|
|
52
|
+
<a draggable={false} href={`tel:${value}`} {...rest}>
|
|
53
|
+
{children}
|
|
54
|
+
</a>
|
|
55
|
+
);
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export const PhoneInput = (props: Omit<AntTextAreaWithCustomReadStateProps, "renderReadState">) => {
|
|
59
|
+
const handleClick = useCallback((e: React.MouseEvent) => e.stopPropagation(), []);
|
|
60
|
+
|
|
61
|
+
return (
|
|
62
|
+
<AntTextAreaWithCustomReadState
|
|
63
|
+
{...props}
|
|
64
|
+
renderReadState={() => (
|
|
65
|
+
<PhoneInputLink value={String(props.value ?? "")} onClick={handleClick}>
|
|
66
|
+
{String(props.value ?? "")}
|
|
67
|
+
</PhoneInputLink>
|
|
68
|
+
)}
|
|
69
|
+
/>
|
|
70
|
+
);
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
export const EmailInputLink = ({value, children, ...rest}: LinkProps) => {
|
|
74
|
+
return (
|
|
75
|
+
<a draggable={false} href={`mailto:${value}`} {...rest}>
|
|
76
|
+
{children}
|
|
77
|
+
</a>
|
|
78
|
+
);
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export const EmailInput = (props: Omit<AntTextAreaWithCustomReadStateProps, "renderReadState">) => {
|
|
82
|
+
const handleClick = useCallback((e: React.MouseEvent) => e.stopPropagation(), []);
|
|
83
|
+
|
|
84
|
+
return (
|
|
85
|
+
<AntTextAreaWithCustomReadState
|
|
86
|
+
{...props}
|
|
87
|
+
renderReadState={() => (
|
|
88
|
+
<EmailInputLink value={String(props.value ?? "")} onClick={handleClick}>
|
|
89
|
+
{String(props.value ?? "")}
|
|
90
|
+
</EmailInputLink>
|
|
91
|
+
)}
|
|
92
|
+
/>
|
|
93
|
+
);
|
|
94
|
+
};
|
package/src/loaders.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {css, cx} from "@linaria/core";
|
|
2
2
|
import {styled} from "@linaria/react";
|
|
3
|
-
import {
|
|
3
|
+
import {memo, ReactNode, useMemo} from "react";
|
|
4
4
|
import {IconBaseProps} from "./icons/types";
|
|
5
5
|
import {border, layout, space, textStyles, themeVars} from "./design-system";
|
|
6
6
|
import {getShiftStyle} from "./icons/get-shift-style";
|
|
@@ -93,7 +93,7 @@ const spinner = css`
|
|
|
93
93
|
}
|
|
94
94
|
}
|
|
95
95
|
box-sizing: border-box;
|
|
96
|
-
border-radius:
|
|
96
|
+
border-radius: ${border.radiusFull};
|
|
97
97
|
border-style: solid;
|
|
98
98
|
animation: spinnerAnimation 0.6s linear infinite;
|
|
99
99
|
`;
|
package/src/loading-sausage.tsx
CHANGED
|
@@ -17,11 +17,11 @@ export const getRandomInt = (min: number, max: number, seed?: number): number =>
|
|
|
17
17
|
return Math.floor(random * (max - min + 1)) + min;
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
const blackGradient1 = `linear-gradient(90deg, ${themeVars.
|
|
21
|
-
const blackGradient2 = `linear-gradient(90deg, ${themeVars.
|
|
20
|
+
const blackGradient1 = `linear-gradient(90deg, ${themeVars.colorBgSkeletonFrom} 0%, ${themeVars.colorBgSkeletonTo} 100%)`;
|
|
21
|
+
const blackGradient2 = `linear-gradient(90deg, ${themeVars.colorBgSkeletonTo} 0%, ${themeVars.colorBgSkeletonFrom} 100%)`;
|
|
22
22
|
|
|
23
|
-
const whiteGradient1 = `linear-gradient(90deg, ${themeVars.
|
|
24
|
-
const whiteGradient2 = `linear-gradient(90deg, ${themeVars.
|
|
23
|
+
const whiteGradient1 = `linear-gradient(90deg, ${themeVars.separatorColorDimmed} 0%, ${themeVars.separatorColor} 100%)`;
|
|
24
|
+
const whiteGradient2 = `linear-gradient(90deg, ${themeVars.separatorColor} 0%, ${themeVars.separatorColorDimmed} 100%)`;
|
|
25
25
|
|
|
26
26
|
const loadingSausageStyle = css`
|
|
27
27
|
vertical-align: middle;
|
|
@@ -72,7 +72,7 @@ export function MobileKeyboardAwarePopup({children, className}: {children: React
|
|
|
72
72
|
z-index: ${mobileKeyboardAwarePopupZIndex};
|
|
73
73
|
transform: translateY(0px);
|
|
74
74
|
border-radius: ${border.radius16}px;
|
|
75
|
-
border:
|
|
75
|
+
border: ${themeVars.borderSolidSeparator};
|
|
76
76
|
margin: 0 ${space.s8}px;
|
|
77
77
|
.fibery-manual-keyboard-mode & {
|
|
78
78
|
margin-bottom: 8px;
|
|
@@ -2,7 +2,7 @@ import {ReactNode} from "react";
|
|
|
2
2
|
import {createPortal} from "react-dom";
|
|
3
3
|
import {css} from "@linaria/core";
|
|
4
4
|
import {space, themeVars} from "../design-system";
|
|
5
|
-
import {getPopupContainerElement} from "../utils
|
|
5
|
+
import {getPopupContainerElement} from "../dom-utils";
|
|
6
6
|
import {CommandMenuList, CommandMenuRoot} from "../command-menu";
|
|
7
7
|
import {useModalMenu} from "./contexts/modal-menu-context";
|
|
8
8
|
import {MobilePopover} from "../popover/mobile-popover";
|
|
@@ -27,7 +27,9 @@ export const ModalSubmenuContent = ({children}: ModalSubmenuContentProps) => {
|
|
|
27
27
|
inset: 0;
|
|
28
28
|
overflow-y: auto;
|
|
29
29
|
|
|
30
|
-
transition:
|
|
30
|
+
transition:
|
|
31
|
+
transform ${transition},
|
|
32
|
+
opacity ${transition};
|
|
31
33
|
transform: translateX(0);
|
|
32
34
|
opacity: 1;
|
|
33
35
|
|
package/src/new-badge.tsx
CHANGED
|
@@ -5,8 +5,8 @@ const newBadgeStyle = css`
|
|
|
5
5
|
${textStyles.heading8}
|
|
6
6
|
display: inline-block;
|
|
7
7
|
padding: ${space.s2}px 5px;
|
|
8
|
-
color: ${themeVars.
|
|
9
|
-
background-color: ${themeVars.
|
|
8
|
+
color: ${themeVars.colorTextBadgeAccent};
|
|
9
|
+
background-color: ${themeVars.colorBgBadgeAccent};
|
|
10
10
|
vertical-align: text-top;
|
|
11
11
|
border-radius: ${space.s4}px;
|
|
12
12
|
`;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import isNil from "lodash/isNil";
|
|
2
|
+
import trimEnd from "lodash/trimEnd";
|
|
3
|
+
|
|
4
|
+
type NumericValue = string | number | null | undefined;
|
|
5
|
+
|
|
6
|
+
const isEmpty = (value: NumericValue): value is null | undefined | "" => isNil(value) || value === "";
|
|
7
|
+
|
|
8
|
+
const getPrecision = (value: NumericValue) => {
|
|
9
|
+
if (isEmpty(value)) {
|
|
10
|
+
return 0;
|
|
11
|
+
}
|
|
12
|
+
const [, decimalPart = ""] = String(value).split(".");
|
|
13
|
+
return decimalPart.length;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const removeTrailingZeros = (value: string) => {
|
|
17
|
+
if (isEmpty(value)) {
|
|
18
|
+
return value;
|
|
19
|
+
}
|
|
20
|
+
const hasDecimalPart = value.indexOf(".") > 0;
|
|
21
|
+
return hasDecimalPart ? trimEnd(trimEnd(value, "0"), ".") : value;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export const add = (first: NumericValue, second: NumericValue) => {
|
|
25
|
+
const result = Number(first) + Number(second);
|
|
26
|
+
const maxPrecision = Math.max(getPrecision(first), getPrecision(second));
|
|
27
|
+
return removeTrailingZeros(result.toFixed(maxPrecision));
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export const sub = (first: NumericValue, second: NumericValue) => {
|
|
31
|
+
return removeTrailingZeros(add(first, -(second as number)));
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export const multiplyByHundred = (value: NumericValue) => {
|
|
35
|
+
if (isEmpty(value)) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
const result = Number(value) * 100;
|
|
39
|
+
const precision = Math.max(0, getPrecision(value) - 2);
|
|
40
|
+
return removeTrailingZeros(result.toFixed(precision));
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export const divideByHundred = (value: NumericValue) => {
|
|
44
|
+
if (isEmpty(value)) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
const result = Number(value) / 100;
|
|
48
|
+
const precision = getPrecision(value) + 2;
|
|
49
|
+
return removeTrailingZeros(result.toFixed(precision));
|
|
50
|
+
};
|