Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Icon Component #703

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Merge branch 'remix-icons' into Icons-Expansion
  • Loading branch information
FalkWolsky authored Feb 20, 2024
commit 98d5c05b0caeed39af5f497d384ca637dcd4883c
340 changes: 339 additions & 1 deletion client/packages/lowcoder-design/src/icons/index.ts

Large diffs are not rendered by default.

38 changes: 24 additions & 14 deletions client/packages/lowcoder/src/comps/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,10 @@ import {
CommentIcon,
MentionIcon,
AutoCompleteCompIcon,

IconCompIcon,
} from "lowcoder-design";

// from Mousheng
import { defaultFormData, FormComp } from "./comps/formComp/formComp";
import { IFrameComp } from "./comps/iframeComp";
import { defaultGridData, defaultListViewData, GridComp, ListViewComp } from "./comps/listViewComp";
Expand Down Expand Up @@ -160,9 +161,13 @@ import { TimeLineComp } from "./comps/timelineComp/timelineComp";
import { MentionComp } from "./comps/textInputComp/mentionComp";
import { AutoCompleteComp } from "./comps/autoCompleteComp/autoCompleteComp"
import { IconComp } from "./comps/iconComp";
// from Mousheng

//Added by Aqib Mirza
import { JsonLottieComp } from "./comps/jsonComp/jsonLottieComp";
ResponsiveLayoutCompIcon,
MermaidIcon,
} from "lowcoder-design";

type Registry = {
[key in UICompType]?: UICompManifest;
Expand Down Expand Up @@ -1053,6 +1058,23 @@ var uiCompMap: Registry = {
},
},

// from Mousheng
icon: {
name: trans("uiComp.iconCompName"),
enName: "icon",
description: trans("uiComp.iconCompDesc"),
categories: ["dataDisplay"],
icon: IconCompIcon,
keywords: trans("uiComp.iconCompKeywords"),
comp: IconComp,
layoutInfo: {
w: 2,
h: 10,
},
},

// from Mousheng

// Integration

iframe: {
Expand Down Expand Up @@ -1110,19 +1132,7 @@ var uiCompMap: Registry = {
h: 24,
},
},
icon: {
name: trans("uiComp.iconCompName"),
enName: "icon",
description: trans("uiComp.iconCompDesc"),
categories: ["dataDisplay"],
icon: IconCompIcon,
keywords: trans("uiComp.iconCompKeywords"),
comp: IconComp,
layoutInfo: {
w: 2,
h: 10,
},
},

};

export function loadComps() {
Expand Down
11 changes: 7 additions & 4 deletions client/packages/lowcoder/src/comps/uiCompRegistry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,13 @@ export type UICompType =
| "calendar"
| "signature"
| "jsonLottie" //Added By Aqib Mirza
| "timeline"
| "mention"
| "autocomplete"
| "icon"
| "icon" //Added By Mousheng
| "timeline" //Added By Mousheng
| "comment" //Added By Mousheng
| "mention" //Added By Mousheng
| "autocomplete" //Added By Mousheng
| "responsiveLayout";


export const uiCompRegistry = {} as Record<UICompType | string, UICompManifest>;

Expand Down
Loading
You are viewing a condensed version of this merge commit. You can view the full changes here.