@fibery/ui-kit 9.1.2 → 9.1.3
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/lib/actions-menu/actions-menu-sub-command-menu.js +2 -2
- package/lib/actions-menu/contexts/actions-menu-context.js +2 -2
- package/lib/actions-menu/contexts/actions-menu-dangerous-rows.js +3 -3
- package/lib/antd/input.d.ts +1 -1
- package/lib/automation-avatar.d.ts +8 -0
- package/lib/automation-avatar.js +43 -0
- package/lib/board-table-loader.js +6 -6
- package/lib/comment.js +3 -3
- package/lib/design-system/colors.d.ts +4 -4
- package/lib/design-system/colors.js +6 -6
- package/lib/emoji-picker/primitives/content.js +2 -2
- package/lib/emoji-picker/primitives/preview-provider.js +3 -3
- package/lib/emoji-picker/primitives/root.js +3 -3
- package/lib/emoji-picker/primitives/search-provider.js +3 -3
- package/lib/emoji-picker/primitives/skin-provider.js +3 -3
- package/lib/emoji-picker/stores/emoji-data-store.js +2 -2
- package/lib/file-item/file-preview-actions.js +1 -1
- package/lib/icons/ast/index.d.ts +4 -1
- package/lib/icons/ast/index.js +4 -1
- package/lib/icons/ast/integration-claude.d.ts +5 -0
- package/lib/icons/ast/integration-claude.js +25 -0
- package/lib/icons/ast/integration-gemini.d.ts +5 -0
- package/lib/icons/ast/integration-gemini.js +25 -0
- package/lib/icons/ast/integration-openai.d.ts +5 -0
- package/lib/icons/ast/integration-openai.js +25 -0
- package/lib/icons/react/index.d.ts +4 -1
- package/lib/icons/react/index.js +4 -1
- package/lib/icons/react/integration-claude.d.ts +15 -0
- package/lib/icons/react/integration-claude.js +21 -0
- package/lib/icons/react/integration-gemini.d.ts +15 -0
- package/lib/icons/react/integration-gemini.js +21 -0
- package/lib/icons/react/integration-openai.d.ts +15 -0
- package/lib/icons/react/integration-openai.js +21 -0
- package/lib/images-gallery/images-gallery.js +4 -4
- package/lib/loaders.js +4 -4
- package/lib/open-popover-tracker.js +2 -2
- package/lib/popover/index.js +2 -2
- package/lib/popover/mobile-popover-context.js +2 -2
- package/lib/popover/popup-stack-context.js +2 -2
- package/lib/random.d.ts +4 -0
- package/lib/random.js +11 -0
- package/lib/rich-input-loader.js +3 -3
- package/lib/root-theme-provider.wyw-in-js.css +1 -1
- package/lib/select/select-loader.js +2 -2
- package/lib/skeleton.d.ts +23 -0
- package/lib/skeleton.js +47 -0
- package/lib/skeleton.wyw-in-js.css +4 -0
- package/lib/tab-nav/tab-nav.js +2 -2
- package/lib/theming.generated.d.ts +8 -8
- package/lib/theming.generated.js +8 -8
- package/lib/toast/toast-provider.js +2 -2
- package/lib/unit/loading-unit-value.d.ts +2 -2
- package/lib/unit/loading-unit-value.js +2 -2
- package/lib/use-is-phone.js +2 -2
- package/lib/use-on-screen-keyboard-data.js +3 -3
- package/package.json +3 -6
- package/lib/ai/model.d.ts +0 -8
- package/lib/ai/model.js +0 -55
- package/lib/ai/model.wyw-in-js.css +0 -1
- package/lib/antd/auto-width-transparent-textarea.d.ts +0 -8
- package/lib/antd/auto-width-transparent-textarea.js +0 -34
- package/lib/antd/auto-width-transparent-textarea.wyw-in-js.css +0 -2
- package/lib/get-trigger-node-popup-container.d.ts +0 -4
- package/lib/get-trigger-node-popup-container.js +0 -8
- package/lib/lists/actions-menu-row-surface.d.ts +0 -12
- package/lib/lists/actions-menu-row-surface.js +0 -65
- package/lib/lists/actions-menu-row-surface.wyw-in-js.css +0 -4
- package/lib/loading-sausage.d.ts +0 -24
- package/lib/loading-sausage.js +0 -54
- package/lib/loading-sausage.wyw-in-js.css +0 -4
- package/lib/nested-menu-item.d.ts +0 -1
- package/lib/nested-menu-item.js +0 -0
- package/lib/not-empty.d.ts +0 -4
- package/lib/not-empty.js +0 -6
- package/lib/use-why-did-you-update.d.ts +0 -4
- package/lib/use-why-did-you-update.js +0 -25
- package/lib/with-data.d.ts +0 -77
- package/lib/with-data.js +0 -55
package/lib/icons/react/index.js
CHANGED
|
@@ -248,6 +248,7 @@ import IntegrationUnsplash from "./integration-unsplash.js";
|
|
|
248
248
|
import IntegrationTwitter from "./integration-twitter.js";
|
|
249
249
|
import IntegrationSuggest from "./integration-suggest.js";
|
|
250
250
|
import IntegrationSlack from "./integration-slack.js";
|
|
251
|
+
import IntegrationOpenai from "./integration-openai.js";
|
|
251
252
|
import IntegrationMixpanel from "./integration-mixpanel.js";
|
|
252
253
|
import IntegrationMiro from "./integration-miro.js";
|
|
253
254
|
import IntegrationLoom from "./integration-loom.js";
|
|
@@ -257,9 +258,11 @@ import IntegrationGoogleMap from "./integration-google-map.js";
|
|
|
257
258
|
import IntegrationGoogleDrive from "./integration-google-drive.js";
|
|
258
259
|
import IntegrationGitlab from "./integration-gitlab.js";
|
|
259
260
|
import IntegrationGithub from "./integration-github.js";
|
|
261
|
+
import IntegrationGemini from "./integration-gemini.js";
|
|
260
262
|
import IntegrationFigma from "./integration-figma.js";
|
|
261
263
|
import IntegrationFibery from "./integration-fibery.js";
|
|
262
264
|
import IntegrationDiscourse from "./integration-discourse.js";
|
|
265
|
+
import IntegrationClaude from "./integration-claude.js";
|
|
263
266
|
import IntegrationAdd from "./integration-add.js";
|
|
264
267
|
import Import from "./import.js";
|
|
265
268
|
import ImportFilled from "./import-filled.js";
|
|
@@ -361,4 +364,4 @@ import ActivityLog from "./activity-log.js";
|
|
|
361
364
|
import ActivityFilled from "./activity-filled.js";
|
|
362
365
|
import AccessTemplate from "./access-template.js";
|
|
363
366
|
import Abort from "./abort.js";
|
|
364
|
-
export { Abort, AccessTemplate, Activity, ActivityFilled, ActivityLog, Add, AddAfter, AddBefore, AddCompact, AiAssistant, AiAssistantFilled, AiFiberyBuild, App, AppearanceAuto, AppearanceDark, AppearanceLight, Architect, ArrowBack, ArrowBarDown, ArrowBarLeft, ArrowBarRight, ArrowBarUp, ArrowCollapse, ArrowCollapseVertical, ArrowDown, ArrowForward, ArrowLeft, ArrowRight, ArrowSend, ArrowUp, ArrowUpCircle, ArrowsRightLeft, AskForInput, Asterisk, Atom, Avatar, Backlog, BellCircle, BellOff, BellRinging, BellX, BringForward, BringToFront, Build, Cards, ChatBubble, ChatFloat, ChatSidebar, Checked, CircleCheck, CircleCheckFilled, CircleCross, CircleCrossFilled, CircleInfo, CircleInfoFilled, CirclePause, CirclePlay, Clear, ClearInputFilled, Clock, ClockAlarm, ClockForward, Close, CollapseAll, CollapseAllHorizontal, ColorCoding, Columns, Columns2, Columns4, CommentBubble, Comments, Copy, CreditsFilled, Crosshair, Database, DatabaseAdd, DatabaseOutline, DateRange, Delete, DragBlockHandle, DragHandle, Duplicate, DynamicFilterValue, Email, EmojiDelete, EntityCreate, EntityCreateFilled, EntityMerge, Equation, ExpandAll, ExpandAllHorizontal, Export, Eye, EyeOff, Favorites, FavoritesFilled, FavoritesOff, FiberyMono, Fields, FileArchive, FileCounter, FileDocument, FileDownload, FileImage, FileMultiple, FileOther, FilePresentation, FileTable, FileUpload, FileVideo, Files, Filter, FitToScreen, FocusMode, FocusModeOff, Folder, FolderFavorite, FolderSmart, FormWithCover, FormWithoutCover, FullscreenModeOff, FullscreenModeOn, Gift, GlobeSimple, GlobeUnpublish, GoTo, GraduationCapFilled, GroupAdd, Headphones, HeadphonesAi, Highlights, Hint, Home, HomeFilled, ImageError, Import, ImportFilled, Integration, IntegrationAdd, IntegrationDiscourse, IntegrationFibery, IntegrationFigma, IntegrationGithub, IntegrationGitlab, IntegrationGoogleDrive, IntegrationGoogleMap, IntegrationIntercom, IntegrationJira, IntegrationLoom, IntegrationMiro, IntegrationMixpanel, IntegrationSlack, IntegrationSuggest, IntegrationTwitter, IntegrationUnsplash, IntegrationYoutube, IntegrationZendesk, IntegrationsFilled, Items, ItemsTimeline, Key, KeyboardHideDown, Lab, LayoutDouble, LayoutMultiple, LayoutSingle, Levels, Limits, LineDivider, LineJump, Link, LocationEdit, Lock, LockFilled, Logout, LoupeZoomIn, LoupeZoomOut, MapMode, Markdown, MenuCollapser, Mermaid, MessagePlus, Milestones, Minus, MirrorOff, MirrorOn, Monitor, More, MoreCompact, MoveDown, MoveLeft, MoveRight, MoveUp, NoBorder, NoFill, ObjChild, ObjM2M, ObjO2O, ObjParent, ObjSelf, OnSchedule, OpenInPanel, OpenLink, PageRegularMode, PageWideMode, PanelAdd, Pencil, People, PeopleAll, PeopleCheck, PeopleEdit, PeopleGroup, PeopleGroupRemove, PeopleInvite, PeopleRemove, PeopleRole, PeopleX, Photo, Pin, PinFilled, Preferences, PresentPlay, PresentStop, Print, PrivateItems, Propagate, Question, ReactionsAdd, ReadOnly, Redo, References, Refresh, Remove, ResetPassword, RicheditorBlockCallout, RicheditorBlockCode, RicheditorBlockEmbed, RicheditorBlockEntity, RicheditorBlockFile, RicheditorBlockH1, RicheditorBlockH2, RicheditorBlockH3, RicheditorBlockH4, RicheditorBlockMention, RicheditorBlockParagraph, RicheditorBlockQuote, RicheditorChecklistCreate, RicheditorImage, RicheditorImageAlignCenter, RicheditorImageAlignLeft, RicheditorImageAlignRight, RicheditorLinkedhighlightCreate, RicheditorListBullet, RicheditorListIndent, RicheditorListOrdered, RicheditorListUnindent, RicheditorMarkCode, RicheditorMarkEm, RicheditorMarkHighlight, RicheditorMarkStrike, RicheditorMarkStrong, RicheditorMarkTextBackgroundColor, RicheditorMarkUnderline, RicheditorTableCreate, RicheditorVideoUpload, Rows, Rule, Search, SearchAdd, SearchFilled, SearchRemove, SelfReferenceOff, SelfReferenceOn, SendBackward, SendToBack, Settings, SettingsFilled, Share, ShieldKeyhole, ShowAuthor, SimpleCompass, SlideMenu, SlideMenuFilled, Sort, SpaceAdd, SpaceApp, SpaceGenerate, SpaceMove, SpaceScratch, SpaceTemplate, Spinner, SwitchToText, SwitchToWidget, TableLayout, Templates, TemplatesFilled, Terminal, TextNoWrap, TextToolAlignBottom, TextToolAlignMiddle, TextToolAlignTop, TextWrap, Toc, TypeButton, TypeCheckbox, TypeDate, TypeEmail, TypeEmoji, TypeFormula, TypeLocation, TypeLookup, TypeMoney, TypeMultiSelect, TypeNumber, TypePercent, TypePhone, TypeRelation, TypeRichText, TypeSingleSelect, TypeText, Undo, UnitsAvatar, UnitsCollection, UnitsCounter, UnitsDate, UnitsField, UnitsFieldIconButton, UnitsInput, UnitsNormal, UnitsProgressBar, UnitsRichText, UnitsSnippet, Unlink, Unlock, UnlockFilled, UsbFlashDrive, ValueClear, ValueEdit, ViewAi, ViewApp, ViewBoard, ViewCalendar, ViewCanvas, ViewChart, ViewDashboard, ViewDetails, ViewDocument, ViewEmbed, ViewFeed, ViewForm, ViewGallery, ViewGantt, ViewList, ViewMap, ViewPage, ViewTable, ViewTimeline, Views, Warning, WarningTriangle, WarningTriangleFilled, Webhooks, Workflow };
|
|
367
|
+
export { Abort, AccessTemplate, Activity, ActivityFilled, ActivityLog, Add, AddAfter, AddBefore, AddCompact, AiAssistant, AiAssistantFilled, AiFiberyBuild, App, AppearanceAuto, AppearanceDark, AppearanceLight, Architect, ArrowBack, ArrowBarDown, ArrowBarLeft, ArrowBarRight, ArrowBarUp, ArrowCollapse, ArrowCollapseVertical, ArrowDown, ArrowForward, ArrowLeft, ArrowRight, ArrowSend, ArrowUp, ArrowUpCircle, ArrowsRightLeft, AskForInput, Asterisk, Atom, Avatar, Backlog, BellCircle, BellOff, BellRinging, BellX, BringForward, BringToFront, Build, Cards, ChatBubble, ChatFloat, ChatSidebar, Checked, CircleCheck, CircleCheckFilled, CircleCross, CircleCrossFilled, CircleInfo, CircleInfoFilled, CirclePause, CirclePlay, Clear, ClearInputFilled, Clock, ClockAlarm, ClockForward, Close, CollapseAll, CollapseAllHorizontal, ColorCoding, Columns, Columns2, Columns4, CommentBubble, Comments, Copy, CreditsFilled, Crosshair, Database, DatabaseAdd, DatabaseOutline, DateRange, Delete, DragBlockHandle, DragHandle, Duplicate, DynamicFilterValue, Email, EmojiDelete, EntityCreate, EntityCreateFilled, EntityMerge, Equation, ExpandAll, ExpandAllHorizontal, Export, Eye, EyeOff, Favorites, FavoritesFilled, FavoritesOff, FiberyMono, Fields, FileArchive, FileCounter, FileDocument, FileDownload, FileImage, FileMultiple, FileOther, FilePresentation, FileTable, FileUpload, FileVideo, Files, Filter, FitToScreen, FocusMode, FocusModeOff, Folder, FolderFavorite, FolderSmart, FormWithCover, FormWithoutCover, FullscreenModeOff, FullscreenModeOn, Gift, GlobeSimple, GlobeUnpublish, GoTo, GraduationCapFilled, GroupAdd, Headphones, HeadphonesAi, Highlights, Hint, Home, HomeFilled, ImageError, Import, ImportFilled, Integration, IntegrationAdd, IntegrationClaude, IntegrationDiscourse, IntegrationFibery, IntegrationFigma, IntegrationGemini, IntegrationGithub, IntegrationGitlab, IntegrationGoogleDrive, IntegrationGoogleMap, IntegrationIntercom, IntegrationJira, IntegrationLoom, IntegrationMiro, IntegrationMixpanel, IntegrationOpenai, IntegrationSlack, IntegrationSuggest, IntegrationTwitter, IntegrationUnsplash, IntegrationYoutube, IntegrationZendesk, IntegrationsFilled, Items, ItemsTimeline, Key, KeyboardHideDown, Lab, LayoutDouble, LayoutMultiple, LayoutSingle, Levels, Limits, LineDivider, LineJump, Link, LocationEdit, Lock, LockFilled, Logout, LoupeZoomIn, LoupeZoomOut, MapMode, Markdown, MenuCollapser, Mermaid, MessagePlus, Milestones, Minus, MirrorOff, MirrorOn, Monitor, More, MoreCompact, MoveDown, MoveLeft, MoveRight, MoveUp, NoBorder, NoFill, ObjChild, ObjM2M, ObjO2O, ObjParent, ObjSelf, OnSchedule, OpenInPanel, OpenLink, PageRegularMode, PageWideMode, PanelAdd, Pencil, People, PeopleAll, PeopleCheck, PeopleEdit, PeopleGroup, PeopleGroupRemove, PeopleInvite, PeopleRemove, PeopleRole, PeopleX, Photo, Pin, PinFilled, Preferences, PresentPlay, PresentStop, Print, PrivateItems, Propagate, Question, ReactionsAdd, ReadOnly, Redo, References, Refresh, Remove, ResetPassword, RicheditorBlockCallout, RicheditorBlockCode, RicheditorBlockEmbed, RicheditorBlockEntity, RicheditorBlockFile, RicheditorBlockH1, RicheditorBlockH2, RicheditorBlockH3, RicheditorBlockH4, RicheditorBlockMention, RicheditorBlockParagraph, RicheditorBlockQuote, RicheditorChecklistCreate, RicheditorImage, RicheditorImageAlignCenter, RicheditorImageAlignLeft, RicheditorImageAlignRight, RicheditorLinkedhighlightCreate, RicheditorListBullet, RicheditorListIndent, RicheditorListOrdered, RicheditorListUnindent, RicheditorMarkCode, RicheditorMarkEm, RicheditorMarkHighlight, RicheditorMarkStrike, RicheditorMarkStrong, RicheditorMarkTextBackgroundColor, RicheditorMarkUnderline, RicheditorTableCreate, RicheditorVideoUpload, Rows, Rule, Search, SearchAdd, SearchFilled, SearchRemove, SelfReferenceOff, SelfReferenceOn, SendBackward, SendToBack, Settings, SettingsFilled, Share, ShieldKeyhole, ShowAuthor, SimpleCompass, SlideMenu, SlideMenuFilled, Sort, SpaceAdd, SpaceApp, SpaceGenerate, SpaceMove, SpaceScratch, SpaceTemplate, Spinner, SwitchToText, SwitchToWidget, TableLayout, Templates, TemplatesFilled, Terminal, TextNoWrap, TextToolAlignBottom, TextToolAlignMiddle, TextToolAlignTop, TextWrap, Toc, TypeButton, TypeCheckbox, TypeDate, TypeEmail, TypeEmoji, TypeFormula, TypeLocation, TypeLookup, TypeMoney, TypeMultiSelect, TypeNumber, TypePercent, TypePhone, TypeRelation, TypeRichText, TypeSingleSelect, TypeText, Undo, UnitsAvatar, UnitsCollection, UnitsCounter, UnitsDate, UnitsField, UnitsFieldIconButton, UnitsInput, UnitsNormal, UnitsProgressBar, UnitsRichText, UnitsSnippet, Unlink, Unlock, UnlockFilled, UsbFlashDrive, ValueClear, ValueEdit, ViewAi, ViewApp, ViewBoard, ViewCalendar, ViewCanvas, ViewChart, ViewDashboard, ViewDetails, ViewDocument, ViewEmbed, ViewFeed, ViewForm, ViewGallery, ViewGantt, ViewList, ViewMap, ViewPage, ViewTable, ViewTimeline, Views, Warning, WarningTriangle, WarningTriangleFilled, Webhooks, Workflow };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/icons/react/integration-claude.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated. Do not edit manually.
|
|
4
|
+
*
|
|
5
|
+
* @see import("../svg/integration-claude.svg")
|
|
6
|
+
* @see import("../../scripts/generate-icons.ts")
|
|
7
|
+
*/
|
|
8
|
+
declare const IntegrationClaude: import("react").ForwardRefExoticComponent<Omit<import("react").SVGProps<SVGSVGElement>, "color" | "ref"> & {
|
|
9
|
+
containerSize?: number;
|
|
10
|
+
iconSize?: number;
|
|
11
|
+
color?: string | null | undefined;
|
|
12
|
+
colorProcessed?: boolean;
|
|
13
|
+
} & import("react").RefAttributes<SVGSVGElement>>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { IntegrationClaude as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Icon } from "../icon.js";
|
|
2
|
+
import IntegrationClaude$1 from "../ast/integration-claude.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { forwardRef } from "react";
|
|
5
|
+
//#region src/icons/react/integration-claude.tsx
|
|
6
|
+
/**
|
|
7
|
+
* This file was automatically generated. Do not edit manually.
|
|
8
|
+
*
|
|
9
|
+
* @see import("../svg/integration-claude.svg")
|
|
10
|
+
* @see import("../../scripts/generate-icons.ts")
|
|
11
|
+
*/
|
|
12
|
+
var IntegrationClaude = forwardRef(function IntegrationClaude(props, ref) {
|
|
13
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
14
|
+
...props,
|
|
15
|
+
className: props.className,
|
|
16
|
+
ref,
|
|
17
|
+
icon: IntegrationClaude$1
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { IntegrationClaude as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/icons/react/integration-gemini.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated. Do not edit manually.
|
|
4
|
+
*
|
|
5
|
+
* @see import("../svg/integration-gemini.svg")
|
|
6
|
+
* @see import("../../scripts/generate-icons.ts")
|
|
7
|
+
*/
|
|
8
|
+
declare const IntegrationGemini: import("react").ForwardRefExoticComponent<Omit<import("react").SVGProps<SVGSVGElement>, "color" | "ref"> & {
|
|
9
|
+
containerSize?: number;
|
|
10
|
+
iconSize?: number;
|
|
11
|
+
color?: string | null | undefined;
|
|
12
|
+
colorProcessed?: boolean;
|
|
13
|
+
} & import("react").RefAttributes<SVGSVGElement>>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { IntegrationGemini as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Icon } from "../icon.js";
|
|
2
|
+
import IntegrationGemini$1 from "../ast/integration-gemini.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { forwardRef } from "react";
|
|
5
|
+
//#region src/icons/react/integration-gemini.tsx
|
|
6
|
+
/**
|
|
7
|
+
* This file was automatically generated. Do not edit manually.
|
|
8
|
+
*
|
|
9
|
+
* @see import("../svg/integration-gemini.svg")
|
|
10
|
+
* @see import("../../scripts/generate-icons.ts")
|
|
11
|
+
*/
|
|
12
|
+
var IntegrationGemini = forwardRef(function IntegrationGemini(props, ref) {
|
|
13
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
14
|
+
...props,
|
|
15
|
+
className: props.className,
|
|
16
|
+
ref,
|
|
17
|
+
icon: IntegrationGemini$1
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { IntegrationGemini as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
//#region src/icons/react/integration-openai.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* This file was automatically generated. Do not edit manually.
|
|
4
|
+
*
|
|
5
|
+
* @see import("../svg/integration-openai.svg")
|
|
6
|
+
* @see import("../../scripts/generate-icons.ts")
|
|
7
|
+
*/
|
|
8
|
+
declare const IntegrationOpenai: import("react").ForwardRefExoticComponent<Omit<import("react").SVGProps<SVGSVGElement>, "color" | "ref"> & {
|
|
9
|
+
containerSize?: number;
|
|
10
|
+
iconSize?: number;
|
|
11
|
+
color?: string | null | undefined;
|
|
12
|
+
colorProcessed?: boolean;
|
|
13
|
+
} & import("react").RefAttributes<SVGSVGElement>>;
|
|
14
|
+
//#endregion
|
|
15
|
+
export { IntegrationOpenai as default };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Icon } from "../icon.js";
|
|
2
|
+
import IntegrationOpenai$1 from "../ast/integration-openai.js";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { forwardRef } from "react";
|
|
5
|
+
//#region src/icons/react/integration-openai.tsx
|
|
6
|
+
/**
|
|
7
|
+
* This file was automatically generated. Do not edit manually.
|
|
8
|
+
*
|
|
9
|
+
* @see import("../svg/integration-openai.svg")
|
|
10
|
+
* @see import("../../scripts/generate-icons.ts")
|
|
11
|
+
*/
|
|
12
|
+
var IntegrationOpenai = forwardRef(function IntegrationOpenai(props, ref) {
|
|
13
|
+
return /* @__PURE__ */ jsx(Icon, {
|
|
14
|
+
...props,
|
|
15
|
+
className: props.className,
|
|
16
|
+
ref,
|
|
17
|
+
icon: IntegrationOpenai$1
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { IntegrationOpenai as default };
|
|
@@ -6,14 +6,14 @@ import { SlideButtons } from "./slide-buttons.js";
|
|
|
6
6
|
/* empty css */
|
|
7
7
|
import { noop } from "@fibery/helpers/src/_";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
import { createContext } from "@fibery/react/src/create-context";
|
|
9
10
|
import { useCallback, useEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
10
|
-
import { createContext as createContext$1 } from "@fibery/react/src/create-context";
|
|
11
11
|
import "photoswipe/style.css";
|
|
12
12
|
import PhotoSwipeLightbox from "photoswipe/lightbox";
|
|
13
13
|
import { createRoot } from "react-dom/client";
|
|
14
14
|
//#region src/images-gallery/images-gallery.tsx
|
|
15
|
-
var [ImagesGalleryRegistryProvider, useImagesGalleryRegistry] = createContext
|
|
16
|
-
var [ImagesGalleryMethodsProvider, useImagesGalleryMethods] = createContext
|
|
15
|
+
var [ImagesGalleryRegistryProvider, useImagesGalleryRegistry] = createContext("ImagesGalleryRegistryContext", /* @__PURE__ */ new Map());
|
|
16
|
+
var [ImagesGalleryMethodsProvider, useImagesGalleryMethods] = createContext("ImagesGalleryMethodsProvider", {
|
|
17
17
|
setVisible: noop,
|
|
18
18
|
setActivated: noop,
|
|
19
19
|
update: noop,
|
|
@@ -22,7 +22,7 @@ var [ImagesGalleryMethodsProvider, useImagesGalleryMethods] = createContext$1("I
|
|
|
22
22
|
deleteSlide: noop,
|
|
23
23
|
registerOnClose: () => noop
|
|
24
24
|
});
|
|
25
|
-
var [ImagesGalleryStateProvider, useImagesGalleryState, ImagesGalleryStateContext] = createContext
|
|
25
|
+
var [ImagesGalleryStateProvider, useImagesGalleryState, ImagesGalleryStateContext] = createContext("ImagesGalleryStateContext");
|
|
26
26
|
function useOnImageGalleryClose(callback) {
|
|
27
27
|
const methods = useImagesGalleryMethods();
|
|
28
28
|
useEffect(() => {
|
package/lib/loaders.js
CHANGED
|
@@ -3,7 +3,7 @@ import { themeVars } from "./theming.generated.js";
|
|
|
3
3
|
import { layout, space } from "./design-system/layout.js";
|
|
4
4
|
import { textClasses } from "./design-system/typography.js";
|
|
5
5
|
import { useTheme } from "./theme-provider.js";
|
|
6
|
-
import {
|
|
6
|
+
import { Skeleton } from "./skeleton.js";
|
|
7
7
|
/* empty css */
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { cx } from "@linaria/core";
|
|
@@ -31,7 +31,7 @@ var LoadingHeader = /*#__PURE__*/ styled("div")({
|
|
|
31
31
|
});
|
|
32
32
|
var LoadingPage = ({ absolute = true, contentLoader = true }) => /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(LoadingHeader, {
|
|
33
33
|
absolute,
|
|
34
|
-
children: /* @__PURE__ */ jsx(
|
|
34
|
+
children: /* @__PURE__ */ jsx(Skeleton, {
|
|
35
35
|
height: 20,
|
|
36
36
|
minWidth: 300,
|
|
37
37
|
maxWidth: 300,
|
|
@@ -50,7 +50,7 @@ var LoadingApp = ({ backgroundColor = "transparent", appName }) => /* @__PURE__
|
|
|
50
50
|
children: [/* @__PURE__ */ jsx("div", {
|
|
51
51
|
className: cx(textClasses.regular, loaderStyle),
|
|
52
52
|
children: `Loading ${appName} app…`
|
|
53
|
-
}), /* @__PURE__ */ jsx(
|
|
53
|
+
}), /* @__PURE__ */ jsx(Skeleton, {
|
|
54
54
|
minWidth: 100,
|
|
55
55
|
maxWidth: 100
|
|
56
56
|
})]
|
|
@@ -63,7 +63,7 @@ var LoadingTreeMenuItem = ({ color, Icon, level, children }) => {
|
|
|
63
63
|
color,
|
|
64
64
|
containerSize: layout.newMenuItemHeight,
|
|
65
65
|
iconSize: 18
|
|
66
|
-
}), children || /* @__PURE__ */ jsx(
|
|
66
|
+
}), children || /* @__PURE__ */ jsx(Skeleton, {
|
|
67
67
|
height: space.s6,
|
|
68
68
|
inverted: theme.mode === "dark"
|
|
69
69
|
})]
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { createContext } from "@fibery/react/src/create-context";
|
|
2
3
|
import { useCallback, useEffect, useId, useMemo, useState } from "react";
|
|
3
|
-
import { createContext as createContext$1 } from "@fibery/react/src/create-context";
|
|
4
4
|
//#region src/open-popover-tracker.tsx
|
|
5
|
-
var [Provider, useContext$1] = createContext
|
|
5
|
+
var [Provider, useContext$1] = createContext("OpenPopoverTrackerContext", {
|
|
6
6
|
openPopovers: /* @__PURE__ */ new Set(),
|
|
7
7
|
setOpenPopovers: () => {}
|
|
8
8
|
});
|
package/lib/popover/index.js
CHANGED
|
@@ -14,8 +14,8 @@ import { basicPopupClassName, basicPopupContainerClassName } from "./styles.js";
|
|
|
14
14
|
/* empty css */
|
|
15
15
|
import { truthy } from "@fibery/helpers/src/_";
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
+
import { createContext } from "@fibery/react/src/create-context";
|
|
17
18
|
import { cloneElement, forwardRef, isValidElement, useCallback, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
18
|
-
import { createContext as createContext$1 } from "@fibery/react/src/create-context";
|
|
19
19
|
import cx from "classnames";
|
|
20
20
|
import { composeEventHandlers } from "@fibery/react/src/compose-event-handlers";
|
|
21
21
|
import { useControllableState } from "@fibery/react/src/use-controllable-state";
|
|
@@ -28,7 +28,7 @@ import { FocusScope } from "@radix-ui/react-focus-scope";
|
|
|
28
28
|
import { usePopper } from "react-popper";
|
|
29
29
|
//#region src/popover/index.tsx
|
|
30
30
|
var POPUP_OVERFLOW_PADDING = space.s8;
|
|
31
|
-
var [PopoverProvider, usePopoverContext] = createContext
|
|
31
|
+
var [PopoverProvider, usePopoverContext] = createContext("PopoverContext");
|
|
32
32
|
var PopoverRoot = (props) => {
|
|
33
33
|
const { children, open, disabled = false, onOpenChange, onOpen, onClose, ...rest } = props;
|
|
34
34
|
const contentId = useId();
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { noop } from "@fibery/helpers/src/_";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { createContext } from "@fibery/react/src/create-context";
|
|
3
4
|
import { useMemo, useState } from "react";
|
|
4
|
-
import { createContext as createContext$1 } from "@fibery/react/src/create-context";
|
|
5
5
|
//#region src/popover/mobile-popover-context.tsx
|
|
6
|
-
var [Provider, useMobilePopover] = createContext
|
|
6
|
+
var [Provider, useMobilePopover] = createContext("MobilePopoverContext", {
|
|
7
7
|
setTitle: noop,
|
|
8
8
|
setHeader: noop
|
|
9
9
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { createContext } from "@fibery/react/src/create-context";
|
|
2
3
|
import { useEffect } from "react";
|
|
3
|
-
import { createContext as createContext$1 } from "@fibery/react/src/create-context";
|
|
4
4
|
//#region src/popover/popup-stack-context.tsx
|
|
5
5
|
var callbacksMap = /* @__PURE__ */ new Map();
|
|
6
6
|
var registerEscapeCallback = (id, fn) => {
|
|
@@ -19,7 +19,7 @@ var value = {
|
|
|
19
19
|
registerEscapeCallback,
|
|
20
20
|
registerPopup: registerPopupCallback
|
|
21
21
|
};
|
|
22
|
-
var [Provider, usePopupStackContext] = createContext
|
|
22
|
+
var [Provider, usePopupStackContext] = createContext("PopupStackContextProvider", {});
|
|
23
23
|
function PopupStackContextProvider({ children }) {
|
|
24
24
|
useEffect(() => {
|
|
25
25
|
const onKeyDown = (event) => {
|
package/lib/random.d.ts
ADDED
package/lib/random.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/random.ts
|
|
2
|
+
var getRandomWithSeed = (seed) => {
|
|
3
|
+
const x = Math.sin(seed + 1) * 1e4;
|
|
4
|
+
return x - Math.floor(x);
|
|
5
|
+
};
|
|
6
|
+
var getRandomInt = (min, max, seed) => {
|
|
7
|
+
const random = seed !== void 0 ? getRandomWithSeed(seed) : Math.random();
|
|
8
|
+
return Math.floor(random * (max - min + 1)) + min;
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { getRandomInt };
|
package/lib/rich-input-loader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./rich-input-loader.wyw-in-js.css";
|
|
2
|
+
import { SkeletonList } from "./skeleton.js";
|
|
2
3
|
import { regularRichEditorHTMLStyles } from "./html-styles.js";
|
|
3
|
-
import { LoadingSausageList } from "./loading-sausage.js";
|
|
4
4
|
/* empty css */
|
|
5
5
|
import { noop } from "@fibery/helpers/src/_";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -21,7 +21,7 @@ var RichInputLoader = memo(function RichInputLoaderComponent({ className = "", a
|
|
|
21
21
|
const { showLoader } = useContext(loaderContext);
|
|
22
22
|
return /* @__PURE__ */ jsx("div", {
|
|
23
23
|
className,
|
|
24
|
-
children: showLoader && /* @__PURE__ */ jsx(
|
|
24
|
+
children: showLoader && /* @__PURE__ */ jsx(SkeletonList, {
|
|
25
25
|
amount: 3,
|
|
26
26
|
WrapperComponent: LoaderWrapper,
|
|
27
27
|
animateAppearance
|
|
@@ -54,7 +54,7 @@ function RichFieldLoader() {
|
|
|
54
54
|
children: /* @__PURE__ */ jsx("br", { className: "ProseMirror-trailingBreak" })
|
|
55
55
|
}), showLoader ? /* @__PURE__ */ jsx("div", {
|
|
56
56
|
className: "c1otohfa",
|
|
57
|
-
children: /* @__PURE__ */ jsx(
|
|
57
|
+
children: /* @__PURE__ */ jsx(SkeletonList, {
|
|
58
58
|
amount: 1,
|
|
59
59
|
WrapperComponent: LoaderWrapper
|
|
60
60
|
})
|