@mirantes-micro/foundation-design-system 1.2.383 → 1.2.384
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/index.d.ts +8 -2
- package/dist/index.js +161 -161
- package/package.json +212 -212
package/dist/index.d.ts
CHANGED
|
@@ -2204,9 +2204,14 @@ declare function OpenClipsButton(): React__default.JSX.Element;
|
|
|
2204
2204
|
|
|
2205
2205
|
declare function PostTriggerModal(props: any): React__default.JSX.Element | null;
|
|
2206
2206
|
|
|
2207
|
-
declare function PostBackgroundManager(
|
|
2207
|
+
declare function PostBackgroundManager({ displayMode, }: {
|
|
2208
|
+
displayMode?: "inline" | "floating";
|
|
2209
|
+
}): React__default.JSX.Element;
|
|
2210
|
+
|
|
2211
|
+
type TActions = "media" | "clips" | "saved-items" | "articles" | "mention" | "create-a-job" | "schedule-a-post";
|
|
2208
2212
|
|
|
2209
|
-
declare function PostTrigger({ community, type: initialType, restrictProfileSelection, optimisticUpdateType, onClickAction, typeRender, }: {
|
|
2213
|
+
declare function PostTrigger({ community, type: initialType, restrictProfileSelection, optimisticUpdateType, hiddenOptions, onClickAction, processModeDisplay, typeRender, }: {
|
|
2214
|
+
processModeDisplay?: "floating" | "inline";
|
|
2210
2215
|
typeRender?: {
|
|
2211
2216
|
render?: "input" | "button";
|
|
2212
2217
|
buttonClassName?: string;
|
|
@@ -2215,6 +2220,7 @@ declare function PostTrigger({ community, type: initialType, restrictProfileSele
|
|
|
2215
2220
|
type?: "page" | "user" | "community";
|
|
2216
2221
|
restrictProfileSelection?: boolean;
|
|
2217
2222
|
optimisticUpdateType: "profile" | "pages" | "community" | "feed" | "feed-with-go";
|
|
2223
|
+
hiddenOptions?: TActions[];
|
|
2218
2224
|
onClickAction: (action: "clips" | "saved-items" | "articles") => void;
|
|
2219
2225
|
community?: {
|
|
2220
2226
|
id?: string;
|