@basic-ui/material 0.1.14 → 0.1.15
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 -2
- package/build/cjs/index.js.map +1 -1
- package/build/esm/Alert/Alert.d.ts +1 -1
- package/build/esm/AppBar/AppBar.d.ts +1 -1
- package/build/esm/AppBar/AppBarButton.d.ts +1 -1
- package/build/esm/Badge/Badge.d.ts +1 -1
- package/build/esm/BottomSheet/BottomSheet.d.ts +1 -1
- package/build/esm/BottomSheet/BottomSheetSurface.d.ts +1 -1
- package/build/esm/Button/BaseButton.d.ts +1 -1
- package/build/esm/Button/Button.d.ts +1 -1
- package/build/esm/Button/FilledButton.d.ts +1 -1
- package/build/esm/Button/OutlinedButton.d.ts +1 -1
- package/build/esm/Button/TransparentButton.d.ts +1 -1
- package/build/esm/CheckBox/CheckBox.d.ts +1 -1
- package/build/esm/CheckBox/CheckBoxIcon.d.ts +1 -1
- package/build/esm/Chip/ButtonChip.js +4 -0
- package/build/esm/Chip/ButtonChip.js.map +1 -1
- package/build/esm/Chip/ChoiceChip.d.ts +1 -1
- package/build/esm/Combobox/Combobox.d.ts +6 -6
- package/build/esm/Dialog/Dialog.d.ts +1 -1
- package/build/esm/Dialog/DialogBackdrop.d.ts +1 -1
- package/build/esm/Dialog/DialogSurface.d.ts +1 -1
- package/build/esm/Divider/Divider.d.ts +1 -1
- package/build/esm/LineRipple/LineRipple.d.ts +1 -1
- package/build/esm/Link/Link.d.ts +1 -1
- package/build/esm/List/List.d.ts +1 -1
- package/build/esm/ListItem/ListItem.d.ts +1 -1
- package/build/esm/Menu/Menu.d.ts +4 -4
- package/build/esm/Paper/Paper.d.ts +1 -1
- package/build/esm/RadioButton/RadioGroup.d.ts +1 -1
- package/build/esm/Select/Select.js +2 -2
- package/build/esm/Select/Select.js.map +1 -1
- package/build/esm/Select/SelectIcon.d.ts +1 -1
- package/build/esm/SelectItem/SelectItem.d.ts +1 -1
- package/build/esm/SelectionControl/SelectionControlLabel.d.ts +1 -1
- package/build/esm/SelectionControl/SelectionControlText.d.ts +1 -1
- package/build/esm/Skeleton/DelayAppearance.d.ts +1 -1
- package/build/esm/Skeleton/Skeleton.d.ts +1 -1
- package/build/esm/Snackbar/Snackbar.d.ts +1 -1
- package/build/esm/Switch/Switch.d.ts +1 -1
- package/build/esm/Tab/Tab.d.ts +1 -1
- package/build/esm/Tab/TabList.d.ts +1 -1
- package/build/esm/Tab/TabPanel.d.ts +1 -1
- package/build/esm/TabIndicator/TabIndicator.d.ts +1 -1
- package/build/esm/Table/Table.d.ts +1 -1
- package/build/esm/Table/TableRow.d.ts +1 -1
- package/build/esm/Text/LoremIpsum.d.ts +4 -4
- package/build/esm/Text/LoremIpsum.js.map +1 -1
- package/build/esm/Text/Text.d.ts +1 -1
- package/build/esm/TextField/FilledContainer.d.ts +1 -1
- package/build/esm/TextField/HelperText.d.ts +1 -1
- package/build/esm/TextField/Input.d.ts +1 -1
- package/build/esm/TextField/OutlinedContainer.d.ts +1 -1
- package/build/esm/TextField/TextField.d.ts +1 -1
- package/build/esm/TextField/TextField.js +2 -2
- package/build/esm/TextField/TextField.js.map +1 -1
- package/build/esm/Tooltip/Tooltip.d.ts +1 -1
- package/build/tsconfig.tsbuildinfo +1 -4757
- package/package.json +13 -13
- package/src/Chip/ButtonChip.tsx +3 -1
- package/src/Chip/Chip.story.tsx +52 -0
- package/src/Combobox/Combobox.story.tsx +0 -3
- package/src/Select/Select.tsx +1 -1
- package/src/Text/LoremIpsum.tsx +3 -1
- package/src/TextField/TextField.tsx +2 -2
package/build/cjs/index.js
CHANGED
|
@@ -2412,7 +2412,7 @@ const TextField = /*#__PURE__*/react$1.forwardRef(function TextField(props, forw
|
|
|
2412
2412
|
});
|
|
2413
2413
|
const [hasFocus, setHasFocus] = react$1.useState(false);
|
|
2414
2414
|
const Container = componentMap$1[variant] || OutlinedContainer;
|
|
2415
|
-
const fallbackId =
|
|
2415
|
+
const fallbackId = react$1.useId();
|
|
2416
2416
|
const theme = useTheme();
|
|
2417
2417
|
|
|
2418
2418
|
const handleFocus = () => {
|
|
@@ -3172,6 +3172,10 @@ const ButtonChip = /*#__PURE__*/react$1.forwardRef(function ButtonChip(props, fo
|
|
|
3172
3172
|
children: leftIcon
|
|
3173
3173
|
}), /*#__PURE__*/jsxRuntime.jsx(Box, {
|
|
3174
3174
|
as: "span",
|
|
3175
|
+
__css: {
|
|
3176
|
+
minWidth: 'auto',
|
|
3177
|
+
whiteSpace: 'nowrap'
|
|
3178
|
+
},
|
|
3175
3179
|
children: children
|
|
3176
3180
|
}), /*#__PURE__*/jsxRuntime.jsx(Box, {
|
|
3177
3181
|
as: "span",
|
|
@@ -3855,7 +3859,7 @@ const Select = /*#__PURE__*/react$1.forwardRef(function Select(props, forwardedR
|
|
|
3855
3859
|
const [hasFocus, setHasFocus] = react$1.useState(false);
|
|
3856
3860
|
const buttonRef = react$1.useRef();
|
|
3857
3861
|
const [open, setOpen] = react$1.useState(false);
|
|
3858
|
-
const fallbackId =
|
|
3862
|
+
const fallbackId = react$1.useId();
|
|
3859
3863
|
const theme = useTheme();
|
|
3860
3864
|
const Container = componentMap[variant] || OutlinedContainer;
|
|
3861
3865
|
|