react-better-html 1.1.88 → 1.1.89
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/dist/index.d.mts +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3215,7 +3215,7 @@ var desaturateColor = (hexColor, amount) => {
|
|
|
3215
3215
|
|
|
3216
3216
|
// src/components/Chip.tsx
|
|
3217
3217
|
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
3218
|
-
var ChipComponent = forwardRef6(function Chip({ text, color, backgroundColor, borderRadius,
|
|
3218
|
+
var ChipComponent = forwardRef6(function Chip({ text, color, backgroundColor, borderRadius, isCircle, ...props }, ref) {
|
|
3219
3219
|
const theme2 = useTheme();
|
|
3220
3220
|
return /* @__PURE__ */ jsx12(
|
|
3221
3221
|
Div_default,
|
|
@@ -3223,8 +3223,8 @@ var ChipComponent = forwardRef6(function Chip({ text, color, backgroundColor, bo
|
|
|
3223
3223
|
width: "fit-content",
|
|
3224
3224
|
backgroundColor: backgroundColor ?? theme2.colors.backgroundSecondary,
|
|
3225
3225
|
borderRadius: isCircle ? 999 : borderRadius ?? theme2.styles.borderRadius / 1.3,
|
|
3226
|
-
paddingBlock: theme2.styles.gap /
|
|
3227
|
-
paddingInline: theme2.styles.space /
|
|
3226
|
+
paddingBlock: theme2.styles.gap / 2,
|
|
3227
|
+
paddingInline: theme2.styles.space / 1.5,
|
|
3228
3228
|
...props,
|
|
3229
3229
|
ref,
|
|
3230
3230
|
children: /* @__PURE__ */ jsx12(Text_default, { color: color ?? theme2.colors.textPrimary, children: text })
|