Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hirosystems/ui
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: c498486ad4a1972eede09fd5e963189cf6eedf5c
Choose a base ref
..
head repository: hirosystems/ui
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f7522f860c51280b9899c9e1073ca009ec505274
Choose a head ref
Showing with 8 additions and 2 deletions.
  1. +6 −0 packages/ui/CHANGELOG.md
  2. +1 −1 packages/ui/package.json
  3. +1 −1 packages/ui/src/stack.tsx
6 changes: 6 additions & 0 deletions packages/ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @stacks/ui

## 7.10.0

### Minor Changes

- [`f931545`](https://github.com/blockstack/ui/commit/f93154594f10cc5b782171f6dcb3d8e30f6d0ced) Thanks [@aulneau](https://github.com/aulneau)! - This fixes a bug where if a pixel or other non named value was passes to Stack, it would not apply.

## 7.9.0

### Minor Changes
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@stacks/ui",
"description": "Stacks UI components built using React, emotion, and @stacks/core-ui.",
"version": "7.9.0",
"version": "7.10.0",
"author": "Blockstack <engineering@blockstack.com> (https://blockstack.org/)",
"dependencies": {
"@reach/alert": "^0.13.2",
2 changes: 1 addition & 1 deletion packages/ui/src/stack.tsx
Original file line number Diff line number Diff line change
@@ -45,7 +45,7 @@ export const Stack: ForwardRefExoticComponentWithAs<StackProps, 'div'> = forward

const spacingProps = useCallback(
(theme: Theme) => {
const value = get(theme, 'space')[spacing as string];
const value = get(theme, 'space')[spacing as string] || spacing; // if get returns undefined, pass the spacing value (could be a pixel value);
return isInline
? {
marginTop: 0,