@moises.ai/design-system 4.19.2 → 4.19.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moises.ai/design-system",
3
- "version": "4.19.2",
3
+ "version": "4.19.4",
4
4
  "description": "Design System package based on @radix-ui/themes with custom defaults",
5
5
  "private": false,
6
6
  "type": "module",
@@ -22,9 +22,9 @@ export const EmptyState = ({
22
22
  }) => {
23
23
  const hasButtonContent = children != null || buttonLabel != null
24
24
  return (
25
- <Theme asChild>
25
+ <Theme asChild hasBackground={false}>
26
26
  <Flex
27
- className={classNames(className)}
27
+ className={classNames(styles.root, className)}
28
28
  direction="column"
29
29
  align="center"
30
30
  justify="center"
@@ -1,10 +1,11 @@
1
+ .root {
2
+ background: transparent;
3
+ }
1
4
 
2
5
  .content {
3
-
4
6
  max-width: 480px;
5
7
  min-width: 320px;
6
8
  width: 100%;
7
-
8
9
  }
9
10
 
10
11
  .iconWrapper {
@@ -88,7 +88,7 @@ export const InstrumentSelectCard = forwardRef(function InstrumentSelectCard(
88
88
  className={classNames(styles.card, className)}
89
89
  {...props}
90
90
  >
91
- {(Icon) && (
91
+ {(Icon || showSpinner) && (
92
92
  <span className={styles.cardIcon}> {renderIcon()} </span>
93
93
  )}
94
94
  {text != null && <span className={styles.cardText}>{text}</span>}