@pantoia/ui 0.16.0 → 0.16.1

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.
@@ -202,7 +202,7 @@ function Calendar({ value, min, max, today, onPick }: CalendarProps) {
202
202
  <div className={ui.root()}>
203
203
  <div className={ui.head()}>
204
204
  <NavButton label="이전 달" direction="left" onClick={() => showMonth(view.year, view.month - 1)} />
205
- <button type="button" aria-label="연월 고르기" className={ui.titleButton()} onClick={() => setMode('months')}>
205
+ <button type="button" aria-label="연월 선택" className={ui.titleButton()} onClick={() => setMode('months')}>
206
206
  {view.year}년 {view.month + 1}월
207
207
  </button>
208
208
  <NavButton label="다음 달" direction="right" onClick={() => showMonth(view.year, view.month + 1)} />
@@ -347,8 +347,8 @@ export function DatePicker({
347
347
  min,
348
348
  max,
349
349
  today,
350
- title = '날짜 고르기',
351
- placeholder = '날짜를 고르세요',
350
+ title = '날짜 선택',
351
+ placeholder = '날짜를 선택하세요',
352
352
  format = fullDate,
353
353
  ...trigger
354
354
  }: DatePickerProps) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pantoia/ui",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "Pantoia Design System",
5
5
  "homepage": "https://design.pantoia.com",
6
6
  "repository": {
@@ -134,7 +134,7 @@ export interface SwatchPickerCustomProps {
134
134
  disabled?: boolean
135
135
  }
136
136
 
137
- export function SwatchPickerCustom({ label = '직접 고르기', disabled }: SwatchPickerCustomProps) {
137
+ export function SwatchPickerCustom({ label = '직접 선택', disabled }: SwatchPickerCustomProps) {
138
138
  const { size, value, choose, known } = use(Context)
139
139
  const ui = swatchPicker({ size })
140
140
  const input = useRef<HTMLInputElement>(null)
@@ -103,8 +103,8 @@ export function TimePicker({
103
103
  defaultValue = null,
104
104
  onValueChange,
105
105
  step = 1,
106
- title = '시각 고르기',
107
- placeholder = '시각을 고르세요',
106
+ title = '시각 선택',
107
+ placeholder = '시각을 선택하세요',
108
108
  ...trigger
109
109
  }: TimePickerProps) {
110
110
  const [open, setOpen] = useState(false)