@redsift/dashboard 7.5.1 → 7.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CONTRIBUTING.md CHANGED
@@ -40,7 +40,7 @@ The Design System is following a monorepo architecture, providing multiple packa
40
40
 
41
41
  - `@redsift/popovers`
42
42
 
43
- This package provides popover components. Popover components are based on [floating-ui](https://floating-ui.com/) and [@floating-ui/react](https://floating-ui.com/docs/react).
43
+ This package provides popover components. Popover components are based on [floating-ui](https://floating-ui.com/) and [@floating-ui/react](https://floating-ui.com/docs/react). Toasts are based on [react-toastify](https://fkhadra.github.io/react-toastify).
44
44
 
45
45
  - `@redsift/table`
46
46
 
package/index.js CHANGED
@@ -2141,12 +2141,12 @@ const baseLayout = css`
2141
2141
  } = _ref;
2142
2142
  return css`
2143
2143
  ${flex ? `flex: ${flex};` : ''}
2144
- ${flexGrow ? `flex-grow: ${flexGrow};` : ''}
2145
- ${flexShrink ? `flex-shrink: ${flexShrink};` : ''}
2144
+ ${flexGrow !== undefined ? `flex-grow: ${flexGrow};` : ''}
2145
+ ${flexShrink !== undefined ? `flex-shrink: ${flexShrink};` : ''}
2146
2146
  ${flexBasis ? `flex-basis: ${flexBasis};` : ''}
2147
2147
  ${alignSelf ? `align-self: ${alignSelf};` : ''}
2148
2148
  ${justifySelf ? `justify-self: ${justifySelf};` : ''}
2149
- ${order ? `order: ${order};` : ''}
2149
+ ${order !== undefined ? `order: ${order};` : ''}
2150
2150
  ${gridArea ? `grid-area: ${gridArea};` : ''}
2151
2151
  ${gridColumn ? `grid-column: ${gridColumn};` : ''}
2152
2152
  ${gridRow ? `grid-row: ${gridRow};` : ''}
@@ -2204,12 +2204,12 @@ const baseSizing = css`
2204
2204
  width
2205
2205
  } = _ref4;
2206
2206
  return css`
2207
- ${height ? `height: ${typeof height === 'number' ? `${height}px` : height};` : ''}
2207
+ ${height !== undefined ? `height: ${typeof height === 'number' ? `${height}px` : height};` : ''}
2208
2208
  ${maxHeight ? `max-height: ${maxHeight};` : ''}
2209
2209
  ${maxWidth ? `max-width: ${maxWidth};` : ''}
2210
2210
  ${minHeight ? `min-height: ${minHeight};` : ''}
2211
2211
  ${minWidth ? `min-width: ${minWidth};` : ''}
2212
- ${width ? `width: ${typeof width === 'number' ? `${width}px` : width};` : ''}
2212
+ ${width !== undefined ? `width: ${typeof width === 'number' ? `${width}px` : width};` : ''}
2213
2213
  `;
2214
2214
  }}
2215
2215
  `;