Turn off the accepted rules and fix the design tokens, alt text, and last type errors. [skip build]
Checks / checks (push) Successful in 2m18s
Trigger cinny-mobile / dispatch (push) Successful in 1s

This commit is contained in:
2026-11-03 01:10:06 +11:00
parent 3db9b499af
commit 17d1eef572
73 changed files with 283 additions and 217 deletions
@@ -71,7 +71,7 @@ function SettingRenderer({
variant="Background"
value={value ?? definition.default ?? ''}
onChange={(e) => onChange(e.target.value)}
placeholder={definition.default}
placeholder={typeof definition.default === 'string' ? definition.default : ''}
/>
</SettingTile>
);
@@ -127,7 +127,7 @@ function SettingRenderer({
<Menu>
{definition.options.map((option) => (
<MenuItem
key={option.value}
key={String(option.value)}
size="300"
after={
currentValue === option.value ? (
@@ -214,7 +214,7 @@ function PluginSettingsRenderer({ pluginId }: { pluginId: string }) {
if (!schema || Object.keys(schema).length === 0) {
return (
<Box padding="300">
<Box>
<Text size="T300" priority="300">
No settings available for this plugin.
</Text>
@@ -406,12 +406,12 @@ export function Plugins({ requestClose }: PluginsProps) {
<Page>
<PageHeader>
<Box grow="Yes" alignItems="Center" gap="200">
<Header size="H3" className="truncate">
<Header size="400" className="truncate">
Plugins
</Header>
</Box>
<Box shrink="No" gap="200">
<Button variant="Background" size="300" onClick={requestClose}>
<Button variant="Secondary" size="300" onClick={requestClose}>
<Text size="B300">Close</Text>
</Button>
</Box>
@@ -454,7 +454,7 @@ export function Plugins({ requestClose }: PluginsProps) {
searchQuery && (
<IconButton
size="300"
variant="SurfaceLow"
variant="Surface"
radii="300"
onClick={() => setSearchQuery('')}
>
@@ -688,7 +688,7 @@ export function Plugins({ requestClose }: PluginsProps) {
direction="Column"
style={{
borderTop: `1px solid ${color.Surface.ContainerLine}`,
background: color.Surface.ContainerLowest,
background: color.Surface.Container,
}}
>
<PluginSettingsRenderer pluginId={plugin.id} />