@nation-a/ui 0.16.2 → 0.16.4

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.
@@ -4,12 +4,28 @@ import { BottomSheetVariantProps } from './bottomsheet.recipe';
4
4
  import { HTMLStyledProps } from '../../../styled-system/jsx';
5
5
  export type BottomSheetProps = Omit<ComponentProps<typeof Sheet>, 'children'> & BottomSheetVariantProps & {
6
6
  children: ReactNode;
7
+ /**
8
+ * 바텀시트의 snapPoint 값을 비율로 설정합니다.
9
+ *
10
+ * max: 최대 높이 비율 (0~1, default: content-height)
11
+ *
12
+ * min: 최소 높이 비율 (0~1, default: 0)
13
+ */
7
14
  snapPercent?: {
8
15
  min?: number;
9
16
  max?: number;
10
17
  };
18
+ /**
19
+ * 바텀시트의 기본 snapPoint 값을 px 단위로 설정합니다.
20
+ */
11
21
  maxSnapPoint?: number;
22
+ /**
23
+ * 바텀시트의 border-radius 값을 설정합니다.
24
+ */
12
25
  rounded?: number;
26
+ /**
27
+ * 바텀시트를 닫을 때 호출되는 함수입니다.
28
+ */
13
29
  onClose?: () => void;
14
30
  };
15
31
  interface BottomSheetComponent extends React.ForwardRefExoticComponent<BottomSheetProps & React.RefAttributes<HTMLDivElement>> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nation-a/ui",
3
- "version": "0.16.2",
3
+ "version": "0.16.4",
4
4
  "type": "module",
5
5
  "types": "./dist/types/index.d.ts",
6
6
  "main": "./dist/index.cjs",
@@ -20,8 +20,8 @@
20
20
  "react-dom": "^18.3.1",
21
21
  "react-hot-toast": "^2.5.2",
22
22
  "react-lottie": "^1.2.10",
23
- "@nation-a/icons": "0.2.0",
24
- "@nation-a/tokens": "0.2.3"
23
+ "@nation-a/tokens": "0.2.3",
24
+ "@nation-a/icons": "0.2.0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@chromatic-com/storybook": "^3",