@mirantes-micro/foundation-design-system 1.2.382 → 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 +9 -3
- package/dist/index.js +162 -162
- package/package.json +1 -1
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;
|
|
@@ -2249,7 +2255,7 @@ type AddRatingProps = {
|
|
|
2249
2255
|
receiverCommunityId?: string;
|
|
2250
2256
|
className?: string;
|
|
2251
2257
|
isCommunity?: boolean;
|
|
2252
|
-
variant?: "default" | "feed";
|
|
2258
|
+
variant?: "default" | "feed" | "only-one-card";
|
|
2253
2259
|
userSlug?: string;
|
|
2254
2260
|
pageSlug?: string;
|
|
2255
2261
|
communitySlug?: string;
|