@basic-ui/material 1.0.0-alpha.50 → 1.0.0-alpha.52
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/build/cjs/index.js +6 -6
- package/build/cjs/index.js.map +1 -1
- package/build/esm/Chip/ButtonChip.d.ts +1 -1
- package/build/esm/SearchBar/SearchBar.d.ts +1 -1
- package/build/esm/SearchBar/SearchBar.js +5 -7
- package/build/esm/SearchBar/SearchBar.js.map +1 -1
- package/build/esm/Select/CustomContainerExample.d.ts +1 -1
- package/build/esm/Table/TableHead.d.ts +1 -1
- package/build/esm/TextField/IconContainer.js +1 -0
- package/build/esm/TextField/IconContainer.js.map +1 -1
- package/build/tsconfig-build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/SearchBar/SearchBar.tsx +5 -6
- package/src/TextField/IconContainer.tsx +1 -0
package/build/cjs/index.js
CHANGED
|
@@ -2599,6 +2599,7 @@ const IconContainer = ({
|
|
|
2599
2599
|
children
|
|
2600
2600
|
}) => /*#__PURE__*/jsxRuntime.jsx(Box, {
|
|
2601
2601
|
position: "absolute",
|
|
2602
|
+
"data-icon-container": position,
|
|
2602
2603
|
__css: {
|
|
2603
2604
|
top: 0,
|
|
2604
2605
|
[position === 'start' ? 'left' : 'right']: polished.rem(PADDING_LEFT_WITH_ICON),
|
|
@@ -4314,13 +4315,12 @@ const SearchBar = /*#__PURE__*/react$1.forwardRef(function SearchBar(props, forw
|
|
|
4314
4315
|
pl: leadingIcon ? "3rem" : "1.5rem",
|
|
4315
4316
|
pr: trailingIcon ? "3rem" : "1.5rem",
|
|
4316
4317
|
py: 0,
|
|
4317
|
-
transition: `
|
|
4318
|
-
|
|
4319
|
-
|
|
4320
|
-
|
|
4321
|
-
outlineOffset: polished.rem(-1),
|
|
4318
|
+
transition: `border-color .1s ${EASING_STANDARD}`,
|
|
4319
|
+
borderStyle: 'solid',
|
|
4320
|
+
borderWidth: "0.125rem",
|
|
4321
|
+
borderColor: 'transparent',
|
|
4322
4322
|
'&:focus': {
|
|
4323
|
-
|
|
4323
|
+
borderColor: hasError ? 'error' : color
|
|
4324
4324
|
},
|
|
4325
4325
|
...__css
|
|
4326
4326
|
},
|