diff --git a/public/locales/en-US/translation.json b/public/locales/en-US/translation.json index c864c6a..a947712 100644 --- a/public/locales/en-US/translation.json +++ b/public/locales/en-US/translation.json @@ -110,15 +110,14 @@ "props": { "icon": { "displayName": "Icon", - "noentry": "No Entry", "train": "Train", "metro": "Metro", "monorail": "Monorail", "ct": "Chongqing Railway Group", "crt": "Chongqing Rail Transit", "cr": "China Railway", - "exit1": "Exit_1", - "exit2": "Exit_2", + "exit1": "Exit (1)", + "exit2": "Exit (2)", "elevator": "Accessible Elevator", "waitingroom": "Waiting Room", "toilet": "Restroom", @@ -129,8 +128,19 @@ "women_color": "Women's Room (Color)", "toilet_color": "Restroom (Color)", "thirdtoilet_color": "Third Gender Toilet (Color)", - "ticket": "Ticketing/Top-up", - "checkin": "Self-service Check-in" + "ticket_machine": "Self-service Ticket Machine", + "check_in": "Automatic Check In", + "coach": "Long Distance Bus", + "bus": "Bus", + "parking": "Parking", + "emergency_exit": "Emergency Exit", + "escalator": "Escalator", + "maimai": "Maimai", + "no_entry": "No Entry", + "nursing_room": "Nursing Room", + "stairs": "Stairs", + "taxi": "Taxi", + "tickets": "Tickets" }, "rotation": "Rotation Angle", "background": "Background Color", @@ -334,7 +344,6 @@ "props": { "icon": { "displayName": "Icon", - "noentry": "No Entry", "train": "Train", "cdrt": "Chengdu Metro", "exit1": "Exit (1)", @@ -342,10 +351,8 @@ "elevator": "Accessible Elevator", "waitingroom": "Waiting Room", "toilet": "Restroom", - "ticket": "Ticketing/Top-up", - "checkin": "Self-service Check-in", - "stairs": "Stairs", - "autostair": "Auto Stair", + "ticket_machine": "Self-service Ticket Machine", + "check_in": "Automatic Check In", "coach": "Coach", "bus": "Bus", "parking": "Parking", @@ -356,7 +363,15 @@ "men_color": "Men's Room (Color)", "women_color": "Women's Room (Color)", "toilet_color": "Restroom (Color)", - "thirdtoilet_color": "Third Gender Toilet (Color)" + "thirdtoilet_color": "Third Gender Toilet (Color)", + "emergency_exit": "Emergency Exit", + "escalator": "Escalator", + "maimai": "Maimai", + "no_entry": "No Entry", + "nursing_room": "Nursing Room", + "stairs": "Stairs", + "taxi": "Taxi", + "tickets": "Tickets" }, "background": "Background Color", "foreground": "Foreground Color", diff --git a/public/locales/ja-JP/translation.json b/public/locales/ja-JP/translation.json index 26c6a3f..a6cc16b 100644 --- a/public/locales/ja-JP/translation.json +++ b/public/locales/ja-JP/translation.json @@ -110,7 +110,6 @@ "props": { "icon": { "displayName": "アイコン", - "noentry": "通行禁止", "train": "乗車", "metro": "地下鉄", "monorail": "モノレール", @@ -129,8 +128,19 @@ "women_color": "女性用トイレ(カラー)", "toilet_color": "トイレ(カラー)", "thirdtoilet_color": "多目的トイレ(カラー)", - "ticket": "券売機/チャージ", - "checkin": "セルフ改札" + "ticket_machine": "券売機/チャージ", + "check_in": "セルフ改札", + "coach": "長距離バス", + "bus": "バス", + "parking": "駐車場", + "emergency_exit": "緊急出口", + "escalator": "エスカレーター", + "maimai": "マイマイ", + "no_entry": "進入禁止", + "nursing_room": "授乳室", + "stairs": "階段", + "taxi": "タクシー", + "tickets": "券売/チャージ" }, "rotation": "回転角度", "background": "背景色", @@ -334,7 +344,6 @@ "props": { "icon": { "displayName": "アイコン", - "noentry": "通行禁止", "train": "乗車", "cdrt": "成都地下鉄", "exit1": "出口(1)", @@ -342,10 +351,8 @@ "elevator": "バリアフリーエレベーター", "waitingroom": "待合室", "toilet": "トイレ", - "ticket": "券売機/チャージ", - "checkin": "セルフ改札", - "stairs": "階段", - "autostair": "自動階段", + "ticket_machine": "券売機/チャージ", + "check_in": "セルフ改札", "coach": "長距離バス", "bus": "バス", "parking": "駐車場", @@ -356,7 +363,15 @@ "men_color": "男性用トイレ(カラー)", "women_color": "女性用トイレ(カラー)", "toilet_color": "トイレ(カラー)", - "thirdtoilet_color": "多目的トイレ(カラー)" + "thirdtoilet_color": "多目的トイレ(カラー)", + "emergency_exit": "緊急出口", + "escalator": "エスカレーター", + "maimai": "マイマイ", + "no_entry": "進入禁止", + "nursing_room": "授乳室", + "stairs": "階段", + "taxi": "タクシー", + "tickets": "券売/チャージ" }, "background": "背景色", "foreground": "前景色", diff --git a/public/locales/ko-KR/translation.json b/public/locales/ko-KR/translation.json index e531c01..e07fa56 100644 --- a/public/locales/ko-KR/translation.json +++ b/public/locales/ko-KR/translation.json @@ -110,15 +110,14 @@ "props": { "icon": { "displayName": "아이콘", - "noentry": "통행 금지", "train": "승차", "metro": "지하철", "monorail": "모노레일", "ct": "충칭철도그룹", "crt": "충칭 궤도교통", "cr": "중국철로", - "exit1": "출구 1", - "exit2": "출구 2", + "exit1": "출구 (1)", + "exit2": "출구 (2)", "elevator": "무장애 엘리베이터", "waitingroom": "대기실", "toilet": "화장실", @@ -129,8 +128,19 @@ "women_color": "여자 화장실 (컬러)", "toilet_color": "화장실 (컬러)", "thirdtoilet_color": "성중립 화장실 (컬러)", - "ticket": "매표/충전", - "checkin": "셀프 개찰" + "ticket_machine": "자동 발매/충전", + "check_in": "셀프 개찰", + "coach": "시외버스", + "bus": "버스", + "parking": "주차장", + "emergency_exit": "비상구", + "escalator": "에스컬레이터", + "maimai": "마이마이", + "no_entry": "출입 금지", + "nursing_room": "수유실", + "stairs": "계단", + "taxi": "택시", + "tickets": "매표/충전" }, "rotation": "회전 각도", "background": "배경색", @@ -334,7 +344,6 @@ "props": { "icon": { "displayName": "아이콘", - "noentry": "통행 금지", "train": "승차", "cdrt": "청두 지하철", "exit1": "출구 (1)", @@ -342,10 +351,8 @@ "elevator": "무장애 엘리베이터", "waitingroom": "대기실", "toilet": "화장실", - "ticket": "매표/충전", - "checkin": "셀프 개찰", - "stairs": "계단", - "autostair": "자동 계단", + "ticket_machine": "자동 발매/충전", + "check_in": "셀프 개찰", "coach": "고속버스", "bus": "버스", "parking": "주차장", @@ -356,7 +363,15 @@ "men_color": "남자 화장실 (컬러)", "women_color": "여자 화장실 (컬러)", "toilet_color": "화장실 (컬러)", - "thirdtoilet_color": "성중립 화장실 (컬러)" + "thirdtoilet_color": "성중립 화장실 (컬러)", + "emergency_exit": "비상구", + "escalator": "에스컬레이터", + "maimai": "마이마이", + "no_entry": "출입 금지", + "nursing_room": "수유실", + "stairs": "계단", + "taxi": "택시", + "tickets": "매표/충전" }, "background": "배경색", "foreground": "전경색", diff --git a/public/locales/zh-CN/translation.json b/public/locales/zh-CN/translation.json index 76ab795..7b852c8 100644 --- a/public/locales/zh-CN/translation.json +++ b/public/locales/zh-CN/translation.json @@ -110,7 +110,6 @@ "props": { "icon": { "displayName": "图标", - "noentry": "禁止通行", "train": "乘车", "metro": "地铁", "monorail": "单轨", @@ -127,14 +126,21 @@ "women_color": "女卫生间(彩色)", "toilet_color": "卫生间(彩色)", "thirdtoilet_color": "第三卫生间(彩色)", - "ticket": "售票/加值", - "checkin": "自助检票", + "ticket_machine": "自助售票/加值", + "check_in": "自助检票", "exit1": "出口(1)", "exit2": "出口(2)", - "autostair": "自动扶梯", "coach": "长途客车", "bus": "公交车", - "parking": "停车场" + "parking": "停车场", + "emergency_exit": "紧急出口", + "escalator": "自动扶梯", + "maimai": "舞萌", + "no_entry": "禁止通行", + "nursing_room": "哺乳室", + "stairs": "楼梯", + "taxi": "出租车", + "tickets": "售票/加值" }, "rotation": "旋转角度", "background": "背景色", @@ -338,7 +344,6 @@ "props": { "icon": { "displayName": "图标", - "noentry": "禁止通行", "train": "乘车", "cdrt": "成都地铁", "exit1": "出口(1)", @@ -346,10 +351,8 @@ "elevator": "无障碍电梯", "waitingroom": "等候室", "toilet": "卫生间", - "ticket": "售票/加值", - "checkin": "自助检票", - "stairs": "楼梯", - "autostair": "自动扶梯", + "ticket_machine": "自助售票/加值", + "check_in": "自助检票", "coach": "长途客车", "bus": "公交车", "parking": "停车场", @@ -360,7 +363,15 @@ "men_color": "男卫生间(彩色)", "women_color": "女卫生间(彩色)", "toilet_color": "卫生间(彩色)", - "thirdtoilet_color": "第三卫生间(彩色)" + "thirdtoilet_color": "第三卫生间(彩色)", + "emergency_exit": "紧急出口", + "escalator": "自动扶梯", + "maimai": "舞萌", + "no_entry": "禁止通行", + "nursing_room": "哺乳室", + "stairs": "楼梯", + "taxi": "出租车", + "tickets": "售票/加值" }, "background": "背景色", "foreground": "前景色", diff --git a/public/locales/zh-TW/translation.json b/public/locales/zh-TW/translation.json index c633b60..7861876 100644 --- a/public/locales/zh-TW/translation.json +++ b/public/locales/zh-TW/translation.json @@ -110,7 +110,6 @@ "props": { "icon": { "displayName": "圖標", - "noentry": "禁止通行", "train": "乘車", "metro": "地鐵", "monorail": "單軌", @@ -129,8 +128,19 @@ "women_color": "女衛生間(彩色)", "toilet_color": "衛生間(彩色)", "thirdtoilet_color": "第三衛生間(彩色)", - "ticket": "售票/加值", - "checkin": "自助檢票" + "ticket_machine": "自助售票/加值", + "check_in": "自助檢票", + "coach": "長途客車", + "bus": "公交車", + "parking": "停車場", + "emergency_exit": "緊急出口", + "escalator": "手扶梯", + "maimai": "舞萌", + "no_entry": "禁止通行", + "nursing_room": "哺乳室", + "stairs": "樓梯", + "taxi": "計程車", + "tickets": "售票/加值" }, "rotation": "旋轉角度", "background": "背景色", @@ -334,7 +344,6 @@ "props": { "icon": { "displayName": "圖標", - "noentry": "禁止通行", "train": "乘車", "cdrt": "成都地鐵", "exit1": "出口(1)", @@ -342,10 +351,8 @@ "elevator": "無障礙電梯", "waitingroom": "等候室", "toilet": "衛生間", - "ticket": "售票/加值", - "checkin": "自助檢票", - "stairs": "樓梯", - "autostair": "自動扶梯", + "ticket_machine": "自助售票/加值", + "check_in": "自助檢票", "coach": "長途客車", "bus": "公交車", "parking": "停車場", @@ -356,7 +363,15 @@ "men_color": "男衛生間(彩色)", "women_color": "女衛生間(彩色)", "toilet_color": "衛生間(彩色)", - "thirdtoilet_color": "第三衛生間(彩色)" + "thirdtoilet_color": "第三衛生間(彩色)", + "emergency_exit": "緊急出口", + "escalator": "手扶梯", + "maimai": "舞萌", + "no_entry": "禁止通行", + "nursing_room": "哺乳室", + "stairs": "樓梯", + "taxi": "計程車", + "tickets": "售票/加值" }, "background": "背景色", "foreground": "前景色", diff --git a/src/components/themes/chengdu/Icon.tsx b/src/components/themes/chengdu/Icon.tsx index cf157b9..2298f1f 100644 --- a/src/components/themes/chengdu/Icon.tsx +++ b/src/components/themes/chengdu/Icon.tsx @@ -4,8 +4,8 @@ import type { EditorConfig } from "../../../interfaces/editor"; import CustomColorPicker from "../../CustomColorPicker"; import Exit1 from "./icons/exit1"; -import CheckIn from "./icons/checkin"; -import Ticket from "./icons/ticket"; +import CheckIn from "./icons/check-in"; +import TicketMachine from "./icons/ticket-machine"; import Train from "./icons/train"; import Bus from "./icons/bus"; import CR from "./icons/cr"; @@ -22,6 +22,14 @@ import MenColor from "./icons/men-color"; import WomenColor from "./icons/women-color"; import ToiletColor from "./icons/toilet-color"; import ThirdToiletColor from "./icons/thirdtoilet-color"; +import EmergencyExit from "./icons/emergency-exit"; +import Escalator from "./icons/escalator"; +import Maimai from "./icons/maimai"; +import NoEntry from "./icons/no-entry"; +import NursingRoom from "./icons/nursing-room"; +import Stairs from "./icons/stairs"; +import Taxi from "./icons/taxi"; +import Tickets from "./icons/tickets"; export const regicons = [ { @@ -37,11 +45,11 @@ export const regicons = [ component: Exit2, }, { - label: "themes.chengdu.components.Icon.props.icon.ticket", - component: Ticket, + label: "themes.chengdu.components.Icon.props.icon.ticket_machine", + component: TicketMachine, }, { - label: "themes.chengdu.components.Icon.props.icon.checkin", + label: "themes.chengdu.components.Icon.props.icon.check_in", component: CheckIn, }, { @@ -100,6 +108,38 @@ export const regicons = [ label: "themes.chengdu.components.Icon.props.icon.thirdtoilet_color", component: ThirdToiletColor, }, + { + label: "themes.chengdu.components.Icon.props.icon.emergency_exit", + component: EmergencyExit, + }, + { + label: "themes.chengdu.components.Icon.props.icon.escalator", + component: Escalator, + }, + { + label: "themes.chengdu.components.Icon.props.icon.maimai", + component: Maimai, + }, + { + label: "themes.chengdu.components.Icon.props.icon.no_entry", + component: NoEntry, + }, + { + label: "themes.chengdu.components.Icon.props.icon.nursing_room", + component: NursingRoom, + }, + { + label: "themes.chengdu.components.Icon.props.icon.stairs", + component: Stairs, + }, + { + label: "themes.chengdu.components.Icon.props.icon.taxi", + component: Taxi, + }, + { + label: "themes.chengdu.components.Icon.props.icon.tickets", + component: Tickets, + } ]; export interface IconProps { diff --git a/src/components/themes/chengdu/icons/check-in.tsx b/src/components/themes/chengdu/icons/check-in.tsx new file mode 100644 index 0000000..f177b69 --- /dev/null +++ b/src/components/themes/chengdu/icons/check-in.tsx @@ -0,0 +1,46 @@ +import type { IconProps } from "../Icon"; + +const CheckIn = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ); +}; + +export default CheckIn; diff --git a/src/components/themes/chengdu/icons/checkin.tsx b/src/components/themes/chengdu/icons/checkin.tsx deleted file mode 100644 index ab9cff0..0000000 --- a/src/components/themes/chengdu/icons/checkin.tsx +++ /dev/null @@ -1,89 +0,0 @@ -const Checkin: React.FC< - React.SVGProps & { - rotation?: number; - background?: string; - foreground?: string; - } -> = ({ - rotation = 0, - background = "#fff", - foreground = "currentColor", - style, - ...props -}) => { - const mergedStyle = { - transform: `rotate(${rotation}deg)`, - transformOrigin: "center", - ...(style as any), - }; - return ( - - - - - - - - - - - - - - - - - - - ); -}; - -export default Checkin; diff --git a/src/components/themes/chengdu/icons/cr.tsx b/src/components/themes/chengdu/icons/cr.tsx index c6119e9..df52d38 100644 --- a/src/components/themes/chengdu/icons/cr.tsx +++ b/src/components/themes/chengdu/icons/cr.tsx @@ -1,63 +1,34 @@ -import colors from "../define/colors"; +import type { IconProps } from "../Icon"; -interface IconProps { - foreground?: string; - background?: string; -} - -const CR = ({ - foreground = colors.foreground, - background = colors.background, -}: IconProps) => { +const CR = ({ background, foreground, rotation }: IconProps) => { return ( - + - - + - - + + - - - - + + + + - + ); diff --git a/src/components/themes/chengdu/icons/emergency-exit.tsx b/src/components/themes/chengdu/icons/emergency-exit.tsx new file mode 100644 index 0000000..b588589 --- /dev/null +++ b/src/components/themes/chengdu/icons/emergency-exit.tsx @@ -0,0 +1,15 @@ +import type { IconProps } from "../Icon"; + +const EmergencyExit = ({ foreground, rotation }: IconProps) => { + return ( + + + + + + ); +}; + +export default EmergencyExit; diff --git a/src/components/themes/chengdu/icons/escalator.tsx b/src/components/themes/chengdu/icons/escalator.tsx new file mode 100644 index 0000000..52a7968 --- /dev/null +++ b/src/components/themes/chengdu/icons/escalator.tsx @@ -0,0 +1,20 @@ +import type { IconProps } from "../Icon"; + +const Escalator = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + ); +}; + +export default Escalator; diff --git a/src/components/themes/chengdu/icons/exit1.tsx b/src/components/themes/chengdu/icons/exit1.tsx index 8fff140..c407453 100644 --- a/src/components/themes/chengdu/icons/exit1.tsx +++ b/src/components/themes/chengdu/icons/exit1.tsx @@ -1,55 +1,23 @@ -const Exit: React.FC< - React.SVGProps & { - rotation?: number; - background?: string; - foreground?: string; - } -> = ({ - rotation = 0, - background = "#fff", - foreground = "currentColor", - style, - ...props -}) => { - const mergedStyle = { - transform: `rotate(${rotation}deg)`, - transformOrigin: "center", - ...(style as any), - }; +import type { IconProps } from "../Icon"; + +const Exit1 = ({ background, foreground, rotation }: IconProps) => { return ( - - - - - - + + + + + + + + ); }; -export default Exit; +export default Exit1; diff --git a/src/components/themes/chengdu/icons/maimai.tsx b/src/components/themes/chengdu/icons/maimai.tsx new file mode 100644 index 0000000..d15067e --- /dev/null +++ b/src/components/themes/chengdu/icons/maimai.tsx @@ -0,0 +1,40 @@ +import type { IconProps } from "../Icon"; + +const Maimai = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + + + + + + + + + + ); +}; + +export default Maimai; diff --git a/src/components/themes/chengdu/icons/no-entry.tsx b/src/components/themes/chengdu/icons/no-entry.tsx new file mode 100644 index 0000000..e7e5c3a --- /dev/null +++ b/src/components/themes/chengdu/icons/no-entry.tsx @@ -0,0 +1,17 @@ +import type { IconProps } from "../Icon"; + +const NoEntry = ({ foreground, rotation }: IconProps) => { + return ( + + + + + + + ); +}; + +export default NoEntry; diff --git a/src/components/themes/chengdu/icons/nursing-room.tsx b/src/components/themes/chengdu/icons/nursing-room.tsx new file mode 100644 index 0000000..62ceef5 --- /dev/null +++ b/src/components/themes/chengdu/icons/nursing-room.tsx @@ -0,0 +1,30 @@ +import type { IconProps } from "../Icon"; + +const NursingRoom = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + + + + + ); +}; + +export default NursingRoom; diff --git a/src/components/themes/chengdu/icons/stairs.tsx b/src/components/themes/chengdu/icons/stairs.tsx new file mode 100644 index 0000000..350ff9e --- /dev/null +++ b/src/components/themes/chengdu/icons/stairs.tsx @@ -0,0 +1,36 @@ +import type { IconProps } from "../Icon"; + +const Stairs = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + + + + + + + + + ); +}; + +export default Stairs; diff --git a/src/components/themes/chengdu/icons/taxi.tsx b/src/components/themes/chengdu/icons/taxi.tsx new file mode 100644 index 0000000..fe383e5 --- /dev/null +++ b/src/components/themes/chengdu/icons/taxi.tsx @@ -0,0 +1,29 @@ +import type { IconProps } from "../Icon"; + +const Taxi = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + + + T + AXI + + + + ); +}; + +export default Taxi; diff --git a/src/components/themes/chengdu/icons/ticket-machine.tsx b/src/components/themes/chengdu/icons/ticket-machine.tsx new file mode 100644 index 0000000..8d62623 --- /dev/null +++ b/src/components/themes/chengdu/icons/ticket-machine.tsx @@ -0,0 +1,22 @@ +import type { IconProps } from "../Icon"; + +const TicketMachine = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + + + + ); +}; + +export default TicketMachine; diff --git a/src/components/themes/chengdu/icons/ticket.tsx b/src/components/themes/chengdu/icons/ticket.tsx deleted file mode 100644 index e97c3bc..0000000 --- a/src/components/themes/chengdu/icons/ticket.tsx +++ /dev/null @@ -1,55 +0,0 @@ -const Ticket: React.FC< - React.SVGProps & { - rotation?: number; - background?: string; - foreground?: string; - } -> = ({ - rotation = 0, - background = "#fff", - foreground = "currentColor", - style, - ...props -}) => { - const mergedStyle = { - transform: `rotate(${rotation}deg)`, - transformOrigin: "center", - ...(style as any), - }; - return ( - - - - - - - - ¥ - - - ); -}; - -export default Ticket; diff --git a/src/components/themes/chengdu/icons/tickets.tsx b/src/components/themes/chengdu/icons/tickets.tsx new file mode 100644 index 0000000..2e3ee6a --- /dev/null +++ b/src/components/themes/chengdu/icons/tickets.tsx @@ -0,0 +1,43 @@ +import type { IconProps } from "../Icon"; + +const Tickets = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + + + + + + + + + + + + + + ); +}; + +export default Tickets; diff --git a/src/components/themes/chongqing/Icon.tsx b/src/components/themes/chongqing/Icon.tsx index bc6a061..0cdc8d8 100644 --- a/src/components/themes/chongqing/Icon.tsx +++ b/src/components/themes/chongqing/Icon.tsx @@ -6,9 +6,9 @@ import CustomColorPicker from "../../CustomColorPicker"; import Metro from "./icons/metro"; import Exit1 from "./icons/exit1"; import Exit2 from "./icons/exit2"; -import CheckIn from "./icons/checkin"; +import CheckIn from "./icons/check-in"; import MonoRail from "./icons/monorail"; -import Ticket from "./icons/ticket"; +import TicketMachine from "./icons/ticket-machine"; import Train from "./icons/train"; import Bus from "./icons/bus"; import CR from "./icons/cr"; @@ -25,6 +25,14 @@ import MenColor from "./icons/men-color"; import WomenColor from "./icons/women-color"; import ToiletColor from "./icons/toilet-color"; import ThirdToiletColor from "./icons/thirdtoilet-color"; +import EmergencyExit from "./icons/emergency-exit"; +import Escalator from "./icons/escalator"; +import Maimai from "./icons/maimai"; +import NoEntry from "./icons/no-entry"; +import NursingRoom from "./icons/nursing-room"; +import Stairs from "./icons/stairs"; +import Taxi from "./icons/taxi"; +import Tickets from "./icons/tickets"; export const regicons = [ { @@ -48,11 +56,11 @@ export const regicons = [ component: MonoRail, }, { - label: "themes.chongqing.components.Icon.props.icon.ticket", - component: Ticket, + label: "themes.chongqing.components.Icon.props.icon.ticket_machine", + component: TicketMachine, }, { - label: "themes.chongqing.components.Icon.props.icon.checkin", + label: "themes.chongqing.components.Icon.props.icon.check_in", component: CheckIn, }, { @@ -115,6 +123,38 @@ export const regicons = [ label: "themes.chongqing.components.Icon.props.icon.thirdtoilet_color", component: ThirdToiletColor, }, + { + label: "themes.chongqing.components.Icon.props.icon.emergency_exit", + component: EmergencyExit, + }, + { + label: "themes.chongqing.components.Icon.props.icon.escalator", + component: Escalator, + }, + { + label: "themes.chongqing.components.Icon.props.icon.maimai", + component: Maimai, + }, + { + label: "themes.chongqing.components.Icon.props.icon.no_entry", + component: NoEntry, + }, + { + label: "themes.chongqing.components.Icon.props.icon.nursing_room", + component: NursingRoom, + }, + { + label: "themes.chongqing.components.Icon.props.icon.stairs", + component: Stairs, + }, + { + label: "themes.chongqing.components.Icon.props.icon.taxi", + component: Taxi, + }, + { + label: "themes.chongqing.components.Icon.props.icon.tickets", + component: Tickets, + } ]; export interface IconProps { diff --git a/src/components/themes/chongqing/icons/check-in.tsx b/src/components/themes/chongqing/icons/check-in.tsx new file mode 100644 index 0000000..f177b69 --- /dev/null +++ b/src/components/themes/chongqing/icons/check-in.tsx @@ -0,0 +1,46 @@ +import type { IconProps } from "../Icon"; + +const CheckIn = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ); +}; + +export default CheckIn; diff --git a/src/components/themes/chongqing/icons/checkin.tsx b/src/components/themes/chongqing/icons/checkin.tsx deleted file mode 100644 index ab9cff0..0000000 --- a/src/components/themes/chongqing/icons/checkin.tsx +++ /dev/null @@ -1,89 +0,0 @@ -const Checkin: React.FC< - React.SVGProps & { - rotation?: number; - background?: string; - foreground?: string; - } -> = ({ - rotation = 0, - background = "#fff", - foreground = "currentColor", - style, - ...props -}) => { - const mergedStyle = { - transform: `rotate(${rotation}deg)`, - transformOrigin: "center", - ...(style as any), - }; - return ( - - - - - - - - - - - - - - - - - - - ); -}; - -export default Checkin; diff --git a/src/components/themes/chongqing/icons/cr.tsx b/src/components/themes/chongqing/icons/cr.tsx index c6119e9..df52d38 100644 --- a/src/components/themes/chongqing/icons/cr.tsx +++ b/src/components/themes/chongqing/icons/cr.tsx @@ -1,63 +1,34 @@ -import colors from "../define/colors"; +import type { IconProps } from "../Icon"; -interface IconProps { - foreground?: string; - background?: string; -} - -const CR = ({ - foreground = colors.foreground, - background = colors.background, -}: IconProps) => { +const CR = ({ background, foreground, rotation }: IconProps) => { return ( - + - - + - - + + - - - - + + + + - + ); diff --git a/src/components/themes/chongqing/icons/emergency-exit.tsx b/src/components/themes/chongqing/icons/emergency-exit.tsx new file mode 100644 index 0000000..b588589 --- /dev/null +++ b/src/components/themes/chongqing/icons/emergency-exit.tsx @@ -0,0 +1,15 @@ +import type { IconProps } from "../Icon"; + +const EmergencyExit = ({ foreground, rotation }: IconProps) => { + return ( + + + + + + ); +}; + +export default EmergencyExit; diff --git a/src/components/themes/chongqing/icons/escalator.tsx b/src/components/themes/chongqing/icons/escalator.tsx new file mode 100644 index 0000000..52a7968 --- /dev/null +++ b/src/components/themes/chongqing/icons/escalator.tsx @@ -0,0 +1,20 @@ +import type { IconProps } from "../Icon"; + +const Escalator = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + ); +}; + +export default Escalator; diff --git a/src/components/themes/chongqing/icons/exit1.tsx b/src/components/themes/chongqing/icons/exit1.tsx index 317163a..c407453 100644 --- a/src/components/themes/chongqing/icons/exit1.tsx +++ b/src/components/themes/chongqing/icons/exit1.tsx @@ -1,53 +1,21 @@ -const Exit1: React.FC< - React.SVGProps & { - rotation?: number; - background?: string; - foreground?: string; - } -> = ({ - rotation = 0, - background = "#fff", - foreground = "currentColor", - style, - ...props -}) => { - const mergedStyle = { - transform: `rotate(${rotation}deg)`, - transformOrigin: "center", - ...(style as any), - }; +import type { IconProps } from "../Icon"; + +const Exit1 = ({ background, foreground, rotation }: IconProps) => { return ( - - - - - - + + + + + + + + ); }; diff --git a/src/components/themes/chongqing/icons/maimai.tsx b/src/components/themes/chongqing/icons/maimai.tsx new file mode 100644 index 0000000..d15067e --- /dev/null +++ b/src/components/themes/chongqing/icons/maimai.tsx @@ -0,0 +1,40 @@ +import type { IconProps } from "../Icon"; + +const Maimai = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + + + + + + + + + + ); +}; + +export default Maimai; diff --git a/src/components/themes/chongqing/icons/no-entry.tsx b/src/components/themes/chongqing/icons/no-entry.tsx new file mode 100644 index 0000000..e7e5c3a --- /dev/null +++ b/src/components/themes/chongqing/icons/no-entry.tsx @@ -0,0 +1,17 @@ +import type { IconProps } from "../Icon"; + +const NoEntry = ({ foreground, rotation }: IconProps) => { + return ( + + + + + + + ); +}; + +export default NoEntry; diff --git a/src/components/themes/chongqing/icons/nursing-room.tsx b/src/components/themes/chongqing/icons/nursing-room.tsx new file mode 100644 index 0000000..62ceef5 --- /dev/null +++ b/src/components/themes/chongqing/icons/nursing-room.tsx @@ -0,0 +1,30 @@ +import type { IconProps } from "../Icon"; + +const NursingRoom = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + + + + + ); +}; + +export default NursingRoom; diff --git a/src/components/themes/chongqing/icons/stairs.tsx b/src/components/themes/chongqing/icons/stairs.tsx new file mode 100644 index 0000000..350ff9e --- /dev/null +++ b/src/components/themes/chongqing/icons/stairs.tsx @@ -0,0 +1,36 @@ +import type { IconProps } from "../Icon"; + +const Stairs = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + + + + + + + + + ); +}; + +export default Stairs; diff --git a/src/components/themes/chongqing/icons/taxi.tsx b/src/components/themes/chongqing/icons/taxi.tsx new file mode 100644 index 0000000..fe383e5 --- /dev/null +++ b/src/components/themes/chongqing/icons/taxi.tsx @@ -0,0 +1,29 @@ +import type { IconProps } from "../Icon"; + +const Taxi = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + + + T + AXI + + + + ); +}; + +export default Taxi; diff --git a/src/components/themes/chongqing/icons/ticket-machine.tsx b/src/components/themes/chongqing/icons/ticket-machine.tsx new file mode 100644 index 0000000..8d62623 --- /dev/null +++ b/src/components/themes/chongqing/icons/ticket-machine.tsx @@ -0,0 +1,22 @@ +import type { IconProps } from "../Icon"; + +const TicketMachine = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + + + + ); +}; + +export default TicketMachine; diff --git a/src/components/themes/chongqing/icons/ticket.tsx b/src/components/themes/chongqing/icons/ticket.tsx deleted file mode 100644 index 0e48bdd..0000000 --- a/src/components/themes/chongqing/icons/ticket.tsx +++ /dev/null @@ -1,55 +0,0 @@ -const Ticket: React.FC< - React.SVGProps & { - rotation?: number; - background?: string; - foreground?: string; - } -> = ({ - rotation = 0, - background = "#fff", - foreground = "currentColor", - style, - ...props -}) => { - const mergedStyle = { - transform: `rotate(${rotation}deg)`, - transformOrigin: "center", - ...(style as any), - }; - return ( - - - - - - - - ¥ - - - ); -}; - -export default Ticket; diff --git a/src/components/themes/chongqing/icons/tickets.tsx b/src/components/themes/chongqing/icons/tickets.tsx new file mode 100644 index 0000000..2e3ee6a --- /dev/null +++ b/src/components/themes/chongqing/icons/tickets.tsx @@ -0,0 +1,43 @@ +import type { IconProps } from "../Icon"; + +const Tickets = ({ background, foreground, rotation }: IconProps) => { + return ( + + + + + + + + + + + + + + + + + + + + + + + ); +}; + +export default Tickets;