@keboola/design 1.3.0 → 1.3.1

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": "@keboola/design",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Keboola UI platform design system — shadcn-aligned React primitives, Keboola-branded blocks, and the form bindings built on TanStack Form.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -2,6 +2,7 @@ import type { ComponentProps, ReactNode } from 'react';
2
2
 
3
3
  import { Button } from '../../components/Button';
4
4
  import { Tooltip } from '../../components/Tooltip';
5
+ import { renderLegacyIcon } from '../../utils/legacyIcon';
5
6
 
6
7
  type Props = {
7
8
  disabled?: boolean;
@@ -34,7 +35,7 @@ export const MultiActionButton = ({
34
35
  size="icon"
35
36
  data-testid={dataTestId}
36
37
  >
37
- {!isLoading && icon}
38
+ {!isLoading && renderLegacyIcon(icon)}
38
39
  </Button>
39
40
  </Tooltip>
40
41
  );
@@ -143,7 +143,7 @@ export const SearchInput = ({
143
143
  className={className}
144
144
  >
145
145
  <InputGroup.Addon align="inline-start">
146
- <Search className="tw-size-4 tw-text-muted-foreground" />
146
+ <Search className="tw-size-4 tw-shrink-0 tw-text-muted-foreground" />
147
147
  </InputGroup.Addon>
148
148
 
149
149
  <InputGroup.Input
@@ -52,7 +52,7 @@ export const SearchInputWithNavigation = ({
52
52
  placeholder={placeholder}
53
53
  onValueChange={onValueChange}
54
54
  onClear={onClear}
55
- prefix={<Search className="tw-size-4 tw-text-neutral-400" />}
55
+ prefix={<Search className="tw-size-4 tw-shrink-0 tw-text-neutral-400" />}
56
56
  focusVariant={focusVariant}
57
57
  onKeyDown={handleKeyDown}
58
58
  variant={variant}
@@ -112,9 +112,9 @@ export const Search = ({
112
112
  data-testid={testId.wrapper}
113
113
  >
114
114
  {variant === 'ai' ? (
115
- <Sparkles className="tw-size-4 [&_*]:tw-stroke-aigradient-600" />
115
+ <Sparkles className="tw-size-4 tw-shrink-0 [&_*]:tw-stroke-aigradient-600" />
116
116
  ) : (
117
- <SearchIcon className="tw-size-4 tw-text-neutral-400" />
117
+ <SearchIcon className="tw-size-4 tw-shrink-0 tw-text-neutral-400" />
118
118
  )}
119
119
 
120
120
  <input