@bichon/ds 0.0.5 → 0.0.6
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.js +7 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1773,8 +1773,8 @@ var StyledSegmentedControlRoot = styled18(
|
|
|
1773
1773
|
{ shouldForwardProp: rootPropFilter }
|
|
1774
1774
|
)`
|
|
1775
1775
|
display: inline-flex;
|
|
1776
|
-
padding: 4px;
|
|
1777
|
-
border-radius:
|
|
1776
|
+
padding: ${({ $size }) => $size === "small" ? "2px" : "4px"};
|
|
1777
|
+
border-radius: ${({ $size, theme: theme2 }) => $size === "small" ? theme2.radius.lg : theme2.radius["2xl"]};
|
|
1778
1778
|
background-color: ${({ theme: theme2 }) => theme2.colors.bgMediumGrey};
|
|
1779
1779
|
box-shadow: ${({ theme: theme2 }) => theme2.shadows.base};
|
|
1780
1780
|
width: fit-content;
|
|
@@ -1790,7 +1790,7 @@ var StyledSegmentedControlItem = styled18(
|
|
|
1790
1790
|
border: none;
|
|
1791
1791
|
outline: none;
|
|
1792
1792
|
cursor: pointer;
|
|
1793
|
-
border-radius:
|
|
1793
|
+
border-radius: ${({ $size, theme: theme2 }) => $size === "small" ? theme2.radius.lg : theme2.radius["2xl"]};
|
|
1794
1794
|
white-space: nowrap;
|
|
1795
1795
|
font-family: inherit;
|
|
1796
1796
|
transition:
|
|
@@ -1983,6 +1983,10 @@ var StyledTableBodyCell = styled18("td", {
|
|
|
1983
1983
|
tr:first-of-type & {
|
|
1984
1984
|
border-top: none;
|
|
1985
1985
|
}
|
|
1986
|
+
|
|
1987
|
+
tr:last-of-type & {
|
|
1988
|
+
border-bottom: 1px solid ${({ theme: theme2 }) => theme2.colors.lineDefault};
|
|
1989
|
+
}
|
|
1986
1990
|
`;
|
|
1987
1991
|
var TableRoot = forwardRef(
|
|
1988
1992
|
({ children, ...props }, ref) => /* @__PURE__ */ jsx(StyledTableRoot, { ref, ...props, children })
|