@bichon/ds 0.0.4 → 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.
Files changed (2) hide show
  1. package/dist/index.js +8 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -255,7 +255,7 @@ var shadows = {
255
255
  xl: "0px 12px 24px 0px rgba(0, 27, 55, 0.18)",
256
256
  modal: "0px 4px 12px 0px rgba(0, 27, 55, 0.15)"
257
257
  };
258
- var PRETENDARD_CDN_BASE = "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/woff2";
258
+ var PRETENDARD_CDN_BASE = "https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/packages/pretendard/dist/web/static/woff2";
259
259
  var globalStyles = css`
260
260
  @font-face {
261
261
  font-family: 'Pretendard';
@@ -1773,8 +1773,8 @@ var StyledSegmentedControlRoot = styled18(
1773
1773
  { shouldForwardProp: rootPropFilter }
1774
1774
  )`
1775
1775
  display: inline-flex;
1776
- padding: 4px;
1777
- border-radius: 12px;
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: 12px;
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 })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bichon/ds",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "description": "Bichon Design System - Design tokens & React components",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",