Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1598,6 +1598,19 @@ export const ModalStyle = [
BACKGROUND_IMAGE_ORIGIN,
] as const;


export const NotificationStyle = [
getBackground("primarySurface"),
{
name: "color",
label: trans("color"),
depName: "background",
depType: DEP_TYPE.CONTRAST_TEXT,
transformer: contrastText,
},
getStaticBorder("transparent"),
] as const;

export const CascaderStyle = [
...getStaticBgBorderRadiusByBg(SURFACE_COLOR, "pc"),
TEXT,
Expand Down Expand Up @@ -2488,6 +2501,7 @@ export type ChildrenMultiSelectStyleType = StyleConfigType<
export type TabContainerStyleType = StyleConfigType<typeof TabContainerStyle>;
export type TabBodyStyleType = StyleConfigType<typeof TabBodyStyle>;
export type ModalStyleType = StyleConfigType<typeof ModalStyle>;
export type NotificationStyleType = StyleConfigType<typeof NotificationStyle>;
export type CascaderStyleType = StyleConfigType<typeof CascaderStyle>;
export type CheckboxStyleType = StyleConfigType<typeof CheckboxStyle>;
export type RadioStyleType = StyleConfigType<typeof RadioStyle>;
Expand Down
5 changes: 4 additions & 1 deletion client/packages/lowcoder/src/comps/hooks/hookCompTypes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ const HookCompConfig: Record<
},
utils: { category: "hide" },
message: { category: "hide" },
toast: { category: "hide" },
toast: {
category: "ui",
singleton: false,
},
};

// Get hook component category
Expand Down
95 changes: 0 additions & 95 deletions client/packages/lowcoder/src/comps/hooks/toastComp.ts

This file was deleted.

Loading
Loading