@tecsinapse/react-web-kit 3.4.2 → 3.4.3

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.
@@ -138,7 +138,7 @@ const Select = ({
138
138
  },
139
139
  displayValue
140
140
  )
141
- )), _hint, /* @__PURE__ */ React.createElement(
141
+ )), /* @__PURE__ */ React.createElement(styled.StyledHintContainer, null, _hint), /* @__PURE__ */ React.createElement(
142
142
  reactTransitionGroup.Transition,
143
143
  {
144
144
  in: dropDownVisible,
@@ -15,11 +15,15 @@ const StyledContainer = styled("div")`
15
15
  const StyledInputContainer = styled("div")`
16
16
  width: 100%;
17
17
  `;
18
+ const StyledHintContainer = styled("div")`
19
+ align-self: start;
20
+ `;
18
21
  const StyledIconComponent = styled$1(reactCore.Icon)`
19
22
  margin-right: 12px;
20
23
  color: ${({ disabled, theme }) => disabled ? theme.color.secondary.light : "inherit"};
21
24
  `;
22
25
 
23
26
  exports.StyledContainer = StyledContainer;
27
+ exports.StyledHintContainer = StyledHintContainer;
24
28
  exports.StyledIconComponent = StyledIconComponent;
25
29
  exports.StyledInputContainer = StyledInputContainer;
@@ -5,7 +5,7 @@ import { useClickAwayListener } from '../../../hooks/useClickAwayListener.js';
5
5
  import { defaultStyles, transition } from './animations.js';
6
6
  import Dropdown from './Dropdown/Dropdown.js';
7
7
  import { getDisplayValue } from './functions.js';
8
- import { StyledIconComponent, StyledContainer, StyledInputContainer } from './styled.js';
8
+ import { StyledIconComponent, StyledContainer, StyledInputContainer, StyledHintContainer } from './styled.js';
9
9
 
10
10
  const Select = ({
11
11
  value,
@@ -136,7 +136,7 @@ const Select = ({
136
136
  },
137
137
  displayValue
138
138
  )
139
- )), _hint, /* @__PURE__ */ React__default.createElement(
139
+ )), /* @__PURE__ */ React__default.createElement(StyledHintContainer, null, _hint), /* @__PURE__ */ React__default.createElement(
140
140
  Transition,
141
141
  {
142
142
  in: dropDownVisible,
@@ -13,9 +13,12 @@ const StyledContainer = styled("div")`
13
13
  const StyledInputContainer = styled("div")`
14
14
  width: 100%;
15
15
  `;
16
+ const StyledHintContainer = styled("div")`
17
+ align-self: start;
18
+ `;
16
19
  const StyledIconComponent = styled$1(Icon)`
17
20
  margin-right: 12px;
18
21
  color: ${({ disabled, theme }) => disabled ? theme.color.secondary.light : "inherit"};
19
22
  `;
20
23
 
21
- export { StyledContainer, StyledIconComponent, StyledInputContainer };
24
+ export { StyledContainer, StyledHintContainer, StyledIconComponent, StyledInputContainer };
@@ -7,6 +7,10 @@ export declare const StyledInputContainer: import("@emotion/styled").StyledCompo
7
7
  theme?: import("@emotion/react").Theme | undefined;
8
8
  as?: import("react").ElementType<any> | undefined;
9
9
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
+ export declare const StyledHintContainer: import("@emotion/styled").StyledComponent<{
11
+ theme?: import("@emotion/react").Theme | undefined;
12
+ as?: import("react").ElementType<any> | undefined;
13
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
14
  export declare const StyledIconComponent: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").IconProps & {
11
15
  theme?: import("@emotion/react").Theme | undefined;
12
16
  as?: import("react").ElementType<any> | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tecsinapse/react-web-kit",
3
3
  "description": "TecSinapse React components",
4
- "version": "3.4.2",
4
+ "version": "3.4.3",
5
5
  "license": "MIT",
6
6
  "main": "dist/esm/index.js",
7
7
  "module": "dist/esm/index.js",
@@ -40,5 +40,5 @@
40
40
  "react-dom": "^18.0.0",
41
41
  "react-native-web": ">=0.18.0 <1"
42
42
  },
43
- "gitHead": "c990b8df085b943b02ce3d1aa7fb63c0b8aa6910"
43
+ "gitHead": "dfdf993b5ed292d922dd8f7c1e1bc7e7057e194a"
44
44
  }