diff --git a/dev/App.tsx b/dev/App.tsx index 2a6eb4c..6569647 100644 --- a/dev/App.tsx +++ b/dev/App.tsx @@ -27,7 +27,7 @@ import { uk } from "../src/core/design/tokens.ts"; const ButtonVariantsForSize: Component<{ size: ButtonSize }> = ({ size }) => { return ( - + Button Variant '{size}' @@ -154,7 +154,7 @@ const ButtonVariantsForSize: Component<{ size: ButtonSize }> = ({ size }) => { export default function App() { return ( - + @@ -165,44 +165,38 @@ export default function App() { - + -

- Random Placeholder -

+ background: rgb(${uk.sys.color["secondary-container"]}); + padding: 1rem; + `} + >
-

- Random Placeholder -

+ background: rgb(${uk.sys.color["secondary-container"]}); + padding: 1rem; + `} + >
-

- Random Placeholder -

+ background: rgb(${uk.sys.color["secondary-container"]}); + padding: 1rem; + `} + >
@@ -929,9 +923,114 @@ export default function App() { 0} /> - Split Button + + Split Button + + + + + + + - Chips + - Assist Chip + + + + + + + + + + + + Chips + + + + Assist Chip + {"Hello world"} - Filter Deselectable Chip - {}} isSelected={true} select={() => {}}> + + Filter Deselectable Chip + + {}}> + {"Hello world"} + + {}}> {"Hello world"} {}} isSelected={true} select={() => {}} leading={{ type: "icon", value: PERSON_ICON }}> {"Hello world"} - {}} isSelected={true} select={() => {}} leading={{ type: "image", value: "https://google.com/favicon.ico" }}> + {}} + isSelected={true} + select={() => {}} + leading={{ type: "image", value: "https://google.com/favicon.ico" }} + > {"Hello world"} - {}} isSelected={true} select={() => {}} leading={{ type: "avatar", value: "https://google.com/favicon.ico" }}> + {}} + isSelected={true} + select={() => {}} + leading={{ type: "avatar", value: "https://google.com/favicon.ico" }} + > {"Hello world"} {}} isSelected={false} select={() => {}}> {"Hello world"} - Filter Dropdown Chip - {}} items={[ { id: "1", label: "First", icon: PERSON_ICON }, { id: "2", label: "Seccond" }, { id: "3", label: "Third" } ]}/> - Filter Removable Chip - {}} type="filter_removable">{"Hello world"} - Input Chip + + Filter Dropdown Chip + + {}} + items={[ + { id: "1", label: "First", icon: PERSON_ICON }, + { id: "2", label: "Second" }, + { id: "3", label: "Third" }, + ]} + /> + + Filter Removable Chip + + {}} type="filter_removable"> + {"Hello world"} + + + Input Chip + {"Hello world"} - Suggestion Chip + + Suggestion Chip + {"Hello world"} 0} leadingIcon={MAIL_ICON} color="primary" size="small">