diff --git a/examples/kendo-react-freemium/src/components/AppBarComponent.tsx b/examples/kendo-react-freemium/src/components/AppBarComponent.tsx index 0dac95ec..723480a4 100644 --- a/examples/kendo-react-freemium/src/components/AppBarComponent.tsx +++ b/examples/kendo-react-freemium/src/components/AppBarComponent.tsx @@ -17,6 +17,7 @@ export default function AppBarComponent() { const onNavigate = () => { navigate('/settings'); + setShow(false); }; return ( diff --git a/examples/kendo-react-freemium/src/index.css b/examples/kendo-react-freemium/src/index.css index 7543f4fb..a9152f07 100644 --- a/examples/kendo-react-freemium/src/index.css +++ b/examples/kendo-react-freemium/src/index.css @@ -198,44 +198,6 @@ --kendo-h6-font-weight: 700; } -@layer base { - h1 { - font-size: var(--kendo-h1-font-size); - line-height: var( --kendo-h1-line-height); - font-weight: var(--kendo-h1-font-weight); - } - - h2 { - font-size: var(--kendo-h2-font-size); - line-height: var( --kendo-h2-line-height); - font-weight: var(--kendo-h2-font-weight); - } - - h3 { - font-size: var(--kendo-h3-font-size); - line-height: var( --kendo-h3-line-height); - font-weight: var(--kendo-h3-font-weight); - } - - h4 { - font-size: var(--kendo-h4-font-size); - line-height: var( --kendo-h4-line-height); - font-weight: var(--kendo-h4-font-weight); - } - - h5 { - font-size: var(--kendo-h5-font-size); - line-height: var( --kendo-h5-line-height); - font-weight: var(--kendo-h5-font-weight); - } - - h6 { - font-size: var(--kendo-h6-font-size); - line-height: var( --kendo-h6-line-height); - font-weight: var(--kendo-h6-font-weight); - } -} - @theme inline { /* Misc */ --color-app-surface: var( --kendo-color-app-surface ); diff --git a/examples/kendo-react-freemium/src/pages/Home.tsx b/examples/kendo-react-freemium/src/pages/Home.tsx index 871b7c5d..d9ac7ed2 100644 --- a/examples/kendo-react-freemium/src/pages/Home.tsx +++ b/examples/kendo-react-freemium/src/pages/Home.tsx @@ -30,7 +30,7 @@ export default function Home() { return ( <>
-

Welcome John Doe 👋

+

Welcome John Doe 👋

diff --git a/examples/kendo-react-freemium/src/pages/Projects.tsx b/examples/kendo-react-freemium/src/pages/Projects.tsx index e5aae17a..f6f3ed03 100644 --- a/examples/kendo-react-freemium/src/pages/Projects.tsx +++ b/examples/kendo-react-freemium/src/pages/Projects.tsx @@ -185,7 +185,7 @@ export default function Projects() {
-

Projects

+

Projects

diff --git a/examples/kendo-react-freemium/src/pages/Settings.tsx b/examples/kendo-react-freemium/src/pages/Settings.tsx index d20591be..a82992f7 100644 --- a/examples/kendo-react-freemium/src/pages/Settings.tsx +++ b/examples/kendo-react-freemium/src/pages/Settings.tsx @@ -4,8 +4,9 @@ import { Avatar, Breadcrumb, Stepper, StepperChangeEvent } from "@progress/kendo import { FloatingLabel } from "@progress/kendo-react-labels"; import { homeIcon, listUnorderedIcon, lockIcon, pencilIcon, wrenchIcon, xIcon } from "@progress/kendo-svg-icons"; import React from "react"; -import { ColorPalette, ColorPaletteChangeEvent, InputSuffix, TextBox } from "@progress/kendo-react-inputs"; +import { ColorPalette, ColorPaletteChangeEvent, InputSuffix, Switch, TextBox } from "@progress/kendo-react-inputs"; import { Popup } from "@progress/kendo-react-popup"; +import { AutoComplete, DropDownList } from "@progress/kendo-react-dropdowns"; interface DataModel { id: string; @@ -38,6 +39,17 @@ export default function Settings() { const [countryValue, setCountryValue] = React.useState('Country'); const [cityValue, setCityValue] = React.useState('City'); const [addressValue, setAddresslValue] = React.useState('Address'); + const [oldPassword, setOldPassword] = React.useState('Old Password'); + const [newPassword, setNewPassowrd] = React.useState('New Password'); + const [confirmPassword, setConfirmPassowrd] = React.useState('Confirm New Password'); + const [question1, setQuestion1] = React.useState('Question 1'); + const [answer1, setAnswer1] = React.useState('Answer 1'); + const [question2, setQuestion2] = React.useState('Question 2'); + const [answer2, setAnswer2] = React.useState('Answer 2'); + const [question3, setQuestion3] = React.useState('Question 3'); + const [answer3, setAnswer3] = React.useState('Answer 3'); + const [lang, setLang] = React.useState('-Select Language-'); + const [timeZone, setTimeZone] = React.useState('-Select Time Zone-'); const anchor = React.useRef(null); const [show, setShow] = React.useState(false); const [color, setColor] = React.useState(''); @@ -59,11 +71,13 @@ export default function Settings() { <>
-

Settings

+

Settings

-
+ {value === 0 && ( + <> +
Details
@@ -133,45 +147,106 @@ export default function Settings() {
- - {/* Accont Security +
+
+ + +
+ + )} + {value === 1 && ( + <> +
Password
- - - - - + + setOldPassword(e.value as string)} suffix={() => { + return ( + + setOldPassword('')} /> + ) + }} /> + + + setNewPassowrd(e.value as string)} suffix={() => { + return ( + + setNewPassowrd('')} /> + ) + }}/> - - + + setConfirmPassowrd(e.value as string)} suffix={() => { + return ( + + setConfirmPassowrd('')} /> + ) + }}/>
Security Questions:
- - - - - - - - - - - + + setQuestion1(e.value as string)} suffix={() => { + return ( + + setQuestion1('')} /> + ) + }} /> + + + setAnswer1(e.value as string)} suffix={() => { + return ( + + setAnswer1('')} /> + ) + }}/> - - + + setQuestion2(e.value as string)} suffix={() => { + return ( + + setQuestion2('')} /> + ) + }}/> + + + setAnswer2(e.value as string)} suffix={() => { + return ( + + setAnswer2('')} /> + ) + }} /> + + + setQuestion3(e.value as string)} suffix={() => { + return ( + + setQuestion3('')} /> + ) + }}/> - - + + setAnswer3(e.value as string)} suffix={() => { + return ( + + setAnswer3('')} /> + ) + }}/>
-
*/} - - {/* Preferences +
+
+
+ + +
+ + )} + {value === 2 && ( + <> +
Notification Settings:
@@ -189,20 +264,61 @@ export default function Settings() {
Language and Localization -
- - +
+ + setLang(e.value as string)} + suffix={() => { + return ( + + setLang('-Select Language-')} /> + ) + }}/> - - + + setTimeZone(e.value as string)} + data={[ + "PST (Pacific Standard Time)", + "EST (Eastern Standard Time)", + "CST (Central Standard Time)", + "MST (Mountain Standard Time)", + "GMT (Greenwich Mean Time)", + "CET (Central European Time)", + "EET (Eastern European Time)", + "IST (Indian Standard Time)", + "JST (Japan Standard Time)", + "AEST (Australian Eastern Standard Time)", + "NZST (New Zealand Standard Time)", + "ART (Argentina Time)", + "BRT (Brazilian Time)", + "WAT (West Africa Time)", + "SAST (South Africa Standard Time)", + "ICT (Indochina Time)", + "MSK (Moscow Time)", + "HST (Hawaii-Aleutian Standard Time)", + "AKST (Alaska Standard Time)", + "UTC" + ]} />
-
*/} -
-
- - -
+
+
+
+ + +
+ + )}
Copyright © 2025 Progress Software. All rights reserved.