@factorialco/f0-react 10.4.0 → 10.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/component-status.js +15 -15
- package/dist/experimental.d.ts +11 -1
- package/dist/experimental.js +1917 -1880
- package/package.json +1 -1
package/dist/component-status.js
CHANGED
|
@@ -4,7 +4,7 @@ import { useCallback as i, useEffect as a, useRef as o, useState as s } from "re
|
|
|
4
4
|
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
5
5
|
//#region \0virtual:f0-component-status-data
|
|
6
6
|
var u = {
|
|
7
|
-
generatedAt: "2026-10-
|
|
7
|
+
generatedAt: "2026-10-23T08:18:03.977Z",
|
|
8
8
|
stats: {
|
|
9
9
|
total: 307,
|
|
10
10
|
byStatus: {
|
|
@@ -22,14 +22,14 @@ var u = {
|
|
|
22
22
|
facade: 1
|
|
23
23
|
},
|
|
24
24
|
byDocQuality: {
|
|
25
|
-
none:
|
|
25
|
+
none: 172,
|
|
26
26
|
stub: 50,
|
|
27
|
-
acceptable:
|
|
27
|
+
acceptable: 26,
|
|
28
28
|
good: 10,
|
|
29
29
|
gold: 49
|
|
30
30
|
},
|
|
31
|
-
withUnitTests:
|
|
32
|
-
withMdxDocs:
|
|
31
|
+
withUnitTests: 184,
|
|
32
|
+
withMdxDocs: 135
|
|
33
33
|
},
|
|
34
34
|
components: [
|
|
35
35
|
{
|
|
@@ -3314,20 +3314,20 @@ var u = {
|
|
|
3314
3314
|
name: "Navigation/Sidebar/Footer",
|
|
3315
3315
|
tier: "blocks",
|
|
3316
3316
|
apiStatus: "experimental",
|
|
3317
|
-
tags: ["experimental"],
|
|
3317
|
+
tags: ["!autodocs", "experimental"],
|
|
3318
3318
|
hasStories: !0,
|
|
3319
|
-
hasUnitTests: !
|
|
3320
|
-
hasPlayFunction: !
|
|
3321
|
-
hasSnapshot: !
|
|
3322
|
-
hasMdxDocs: !
|
|
3323
|
-
docQuality: "
|
|
3319
|
+
hasUnitTests: !0,
|
|
3320
|
+
hasPlayFunction: !0,
|
|
3321
|
+
hasSnapshot: !0,
|
|
3322
|
+
hasMdxDocs: !0,
|
|
3323
|
+
docQuality: "acceptable",
|
|
3324
3324
|
docSignals: {
|
|
3325
|
-
sectionsCount:
|
|
3326
|
-
hasProps: !
|
|
3327
|
-
hasDoDonts: !1,
|
|
3325
|
+
sectionsCount: 2,
|
|
3326
|
+
hasProps: !0,
|
|
3328
3327
|
hasWhenToUse: !1,
|
|
3329
3328
|
hasWhenNotToUse: !1,
|
|
3330
|
-
|
|
3329
|
+
hasDoDonts: !1,
|
|
3330
|
+
exampleCount: 4
|
|
3331
3331
|
},
|
|
3332
3332
|
a11yTier: "todo",
|
|
3333
3333
|
storyFile: "blocks/Navigation/Sidebar/Footer/__stories__/Footer.stories.tsx"
|
package/dist/experimental.d.ts
CHANGED
|
@@ -3319,6 +3319,14 @@ export type SidebarUserMenuProps = {
|
|
|
3319
3319
|
export declare function SidebarUserMenu({ user, options, onDropdownClick, compact }: SidebarUserMenuProps): import("react").JSX.Element;
|
|
3320
3320
|
//#endregion
|
|
3321
3321
|
//#region src/blocks/Navigation/Sidebar/Footer/Footer.d.ts
|
|
3322
|
+
type FooterButtonAction = Pick<DropdownItemObject, "label" | "disabled" | "onClick" | "href"> & {
|
|
3323
|
+
icon: NonNullable<DropdownItemObject["icon"]>;
|
|
3324
|
+
items?: never;
|
|
3325
|
+
};
|
|
3326
|
+
type FooterDropdownAction = Pick<DropdownItemObject, "label" | "disabled"> & Pick<ComponentProps<typeof Dropdown>, "items" | "open" | "onOpenChange"> & {
|
|
3327
|
+
icon: NonNullable<DropdownItemObject["icon"]>;
|
|
3328
|
+
};
|
|
3329
|
+
export type SidebarFooterAction = FooterButtonAction | FooterDropdownAction;
|
|
3322
3330
|
interface SidebarFooterProps {
|
|
3323
3331
|
user: SidebarUser;
|
|
3324
3332
|
showActivityButton?: boolean;
|
|
@@ -3326,9 +3334,11 @@ interface SidebarFooterProps {
|
|
|
3326
3334
|
activityButtonShortcut?: string[];
|
|
3327
3335
|
onActivityButtonClick?: () => void;
|
|
3328
3336
|
onDropdownClick?: () => void;
|
|
3337
|
+
/** Compact controls between the account menu and the native activity button. */
|
|
3338
|
+
additionalActions?: SidebarFooterAction[];
|
|
3329
3339
|
options: DropdownItem[];
|
|
3330
3340
|
}
|
|
3331
|
-
export declare function SidebarFooter({ user, options, showActivityButton, activityButtonShortcut, onActivityButtonClick, onDropdownClick, hasActivityUpdates }: SidebarFooterProps): import("react").JSX.Element;
|
|
3341
|
+
export declare function SidebarFooter({ user, options, showActivityButton, activityButtonShortcut, onActivityButtonClick, onDropdownClick, hasActivityUpdates, additionalActions }: SidebarFooterProps): import("react").JSX.Element;
|
|
3332
3342
|
//#endregion
|
|
3333
3343
|
//#region src/blocks/Navigation/Sidebar/Icon/Icon.d.ts
|
|
3334
3344
|
type SidebarIconProps = {
|