Skip to content

Commit

Permalink
Form element height fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
gjones committed Sep 11, 2023
1 parent b602011 commit 957ca6e
Show file tree
Hide file tree
Showing 7 changed files with 630 additions and 276 deletions.
2 changes: 1 addition & 1 deletion src/components/IconButton/IconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const IconButton = forwardRef<HTMLButtonElement, IconButtonProps>(
>
<Icon
name={icon}
size="md"
size="sm"
/>
</Button>
);
Expand Down
5 changes: 4 additions & 1 deletion src/components/SplitButton/SplitButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,10 @@ export const SplitButton = ({
data-testid="split-button-dropdown"
>
<span>
<Icon name="chevron-down" />
<Icon
name="chevron-down"
size="sm"
/>
</span>
</SecondaryButton>
</SplitButtonTrigger>
Expand Down
185 changes: 130 additions & 55 deletions src/styles/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,23 @@
"text": {
"default": string
}
},
"ghost": {
"background": {
"default": string,
"hover": string,
"active": string
},
"stroke": {
"default": string,
"hover": string,
"active": string
},
"text": {
"default": string,
"hover": string,
"active": string
}
}
}
},
Expand Down Expand Up @@ -538,10 +555,26 @@
}
}
},
"button-group": {
"group": {
"radii": {
"center": string,
"end": string
},
"color": {
"background": {
"default": string,
"hover": string,
"active": string,
"panel": string
},
"text": {
"default": string,
"hover": string,
"active": string
},
"stroke": {
"panel": string
}
}
},
"alignLeft": {
Expand Down Expand Up @@ -571,24 +604,6 @@
}
}
},
"group": {
"color": {
"background": {
"default": string,
"hover": string,
"active": string,
"panel": string
},
"text": {
"default": string,
"hover": string,
"active": string
},
"stroke": {
"panel": string
}
}
},
"alignedLeft": {
"color": {
"background": {
Expand Down Expand Up @@ -1425,22 +1440,6 @@
"height": string,
"width": string
}
},
"color": {
"background": {
"active": string,
"hover": string,
"default": string
},
"text": {
"default": string,
"hover": string,
"active": string,
"muted": string
},
"icon": {
"default": string
}
}
},
"title": {
Expand All @@ -1449,11 +1448,6 @@
"hover": string,
"active": string,
"disabled": string
},
"color": {
"default": string,
"hover": string,
"active": string
}
},
"subItem": {
Expand Down Expand Up @@ -1485,27 +1479,12 @@
"hover": string,
"active": string,
"disabled": string
},
"color": {
"text": {
"default": string,
"hover": string,
"active": string
},
"background": {
"default": string,
"hover": string,
"active": string
}
}
},
"dragControl": {
"separator": {
"size": {
"height": string
},
"color": {
"default": string
}
}
}
Expand All @@ -1522,6 +1501,54 @@
"stroke": {
"default": string
}
},
"navigation": {
"item": {
"color": {
"background": {
"active": string,
"hover": string,
"default": string
},
"text": {
"default": string,
"hover": string,
"active": string,
"muted": string
},
"icon": {
"default": string
}
}
},
"title": {
"color": {
"default": string,
"hover": string,
"active": string
}
},
"subItem": {
"color": {
"text": {
"default": string,
"hover": string,
"active": string
},
"background": {
"default": string,
"hover": string,
"active": string
}
}
},
"dragControl": {
"separator": {
"color": {
"default": string
}
}
}
}
},
"sqlSidebar": {
Expand All @@ -1532,6 +1559,54 @@
"stroke": {
"default": string
}
},
"navigation": {
"item": {
"color": {
"background": {
"active": string,
"hover": string,
"default": string
},
"text": {
"default": string,
"hover": string,
"active": string,
"muted": string
},
"icon": {
"default": string
}
}
},
"title": {
"color": {
"default": string,
"hover": string,
"active": string
}
},
"subItem": {
"color": {
"text": {
"default": string,
"hover": string,
"active": string
},
"background": {
"default": string,
"hover": string,
"active": string
}
}
},
"dragControl": {
"separator": {
"color": {
"default": string
}
}
}
}
}
},
Expand Down
Loading

0 comments on commit 957ca6e

Please sign in to comment.