@kjun-ui/react 0.21.0 → 0.22.0
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/README.md +19 -5
- package/dist/index.cjs +8405 -3740
- package/dist/index.js +8199 -3512
- package/dist/styles.css +2610 -454
- package/dist/types/packages/react/src/actions.d.cts +21 -16
- package/dist/types/packages/react/src/actions.d.ts +21 -16
- package/dist/types/packages/react/src/app-navigation.d.cts +6 -2
- package/dist/types/packages/react/src/app-navigation.d.ts +6 -2
- package/dist/types/packages/react/src/avatar-group.d.cts +36 -0
- package/dist/types/packages/react/src/avatar-group.d.ts +36 -0
- package/dist/types/packages/react/src/button.d.cts +14 -6
- package/dist/types/packages/react/src/button.d.ts +14 -6
- package/dist/types/packages/react/src/calendar.d.cts +6 -2
- package/dist/types/packages/react/src/calendar.d.ts +6 -2
- package/dist/types/packages/react/src/card.d.cts +10 -3
- package/dist/types/packages/react/src/card.d.ts +10 -3
- package/dist/types/packages/react/src/carousel.d.cts +8 -1
- package/dist/types/packages/react/src/carousel.d.ts +8 -1
- package/dist/types/packages/react/src/choice-controls.d.cts +99 -0
- package/dist/types/packages/react/src/choice-controls.d.ts +99 -0
- package/dist/types/packages/react/src/collapse.d.cts +4 -1
- package/dist/types/packages/react/src/collapse.d.ts +4 -1
- package/dist/types/packages/react/src/color-picker.d.cts +8 -1
- package/dist/types/packages/react/src/color-picker.d.ts +8 -1
- package/dist/types/packages/react/src/combobox.d.cts +18 -5
- package/dist/types/packages/react/src/combobox.d.ts +18 -5
- package/dist/types/packages/react/src/controls.d.cts +7 -74
- package/dist/types/packages/react/src/controls.d.ts +7 -74
- package/dist/types/packages/react/src/data-state.d.cts +19 -6
- package/dist/types/packages/react/src/data-state.d.ts +19 -6
- package/dist/types/packages/react/src/date-picker.d.cts +8 -2
- package/dist/types/packages/react/src/date-picker.d.ts +8 -2
- package/dist/types/packages/react/src/display.d.cts +26 -6
- package/dist/types/packages/react/src/display.d.ts +26 -6
- package/dist/types/packages/react/src/drawer.d.cts +11 -2
- package/dist/types/packages/react/src/drawer.d.ts +11 -2
- package/dist/types/packages/react/src/dropdown.d.cts +19 -5
- package/dist/types/packages/react/src/dropdown.d.ts +19 -5
- package/dist/types/packages/react/src/event-calendar.d.cts +47 -0
- package/dist/types/packages/react/src/event-calendar.d.ts +47 -0
- package/dist/types/packages/react/src/fab.d.cts +2 -0
- package/dist/types/packages/react/src/fab.d.ts +2 -0
- package/dist/types/packages/react/src/file-upload-row.d.cts +23 -0
- package/dist/types/packages/react/src/file-upload-row.d.ts +23 -0
- package/dist/types/packages/react/src/file-upload.d.cts +38 -0
- package/dist/types/packages/react/src/file-upload.d.ts +38 -0
- package/dist/types/packages/react/src/financial-display.d.cts +32 -11
- package/dist/types/packages/react/src/financial-display.d.ts +32 -11
- package/dist/types/packages/react/src/floating-panel.d.cts +6 -2
- package/dist/types/packages/react/src/floating-panel.d.ts +6 -2
- package/dist/types/packages/react/src/index.d.cts +12 -1
- package/dist/types/packages/react/src/index.d.ts +12 -1
- package/dist/types/packages/react/src/input.d.cts +14 -1
- package/dist/types/packages/react/src/input.d.ts +14 -1
- package/dist/types/packages/react/src/kpi-hero.d.cts +2 -0
- package/dist/types/packages/react/src/kpi-hero.d.ts +2 -0
- package/dist/types/packages/react/src/kpi-row.d.cts +5 -0
- package/dist/types/packages/react/src/kpi-row.d.ts +5 -0
- package/dist/types/packages/react/src/layout-primitives.d.cts +71 -139
- package/dist/types/packages/react/src/layout-primitives.d.ts +71 -139
- package/dist/types/packages/react/src/list-context.d.cts +2 -1
- package/dist/types/packages/react/src/list-context.d.ts +2 -1
- package/dist/types/packages/react/src/list.d.cts +39 -8
- package/dist/types/packages/react/src/list.d.ts +39 -8
- package/dist/types/packages/react/src/market-model.d.cts +13 -1
- package/dist/types/packages/react/src/market-model.d.ts +13 -1
- package/dist/types/packages/react/src/market-parts.d.cts +9 -0
- package/dist/types/packages/react/src/market-parts.d.ts +9 -0
- package/dist/types/packages/react/src/market-skeleton.d.cts +7 -1
- package/dist/types/packages/react/src/market-skeleton.d.ts +7 -1
- package/dist/types/packages/react/src/media.d.cts +6 -2
- package/dist/types/packages/react/src/media.d.ts +6 -2
- package/dist/types/packages/react/src/modal.d.cts +11 -2
- package/dist/types/packages/react/src/modal.d.ts +11 -2
- package/dist/types/packages/react/src/navigation.d.cts +34 -5
- package/dist/types/packages/react/src/navigation.d.ts +34 -5
- package/dist/types/packages/react/src/number-display.d.cts +8 -5
- package/dist/types/packages/react/src/number-display.d.ts +8 -5
- package/dist/types/packages/react/src/number-input.d.cts +28 -0
- package/dist/types/packages/react/src/number-input.d.ts +28 -0
- package/dist/types/packages/react/src/popover.d.cts +5 -2
- package/dist/types/packages/react/src/popover.d.ts +5 -2
- package/dist/types/packages/react/src/pressable.d.cts +17 -0
- package/dist/types/packages/react/src/pressable.d.ts +17 -0
- package/dist/types/packages/react/src/quantity-stepper.d.cts +3 -1
- package/dist/types/packages/react/src/quantity-stepper.d.ts +3 -1
- package/dist/types/packages/react/src/range-input.d.cts +15 -3
- package/dist/types/packages/react/src/range-input.d.ts +15 -3
- package/dist/types/packages/react/src/search-input.d.cts +6 -3
- package/dist/types/packages/react/src/search-input.d.ts +6 -3
- package/dist/types/packages/react/src/select-control.d.cts +7 -2
- package/dist/types/packages/react/src/select-control.d.ts +7 -2
- package/dist/types/packages/react/src/side-navigation-layout.d.cts +47 -0
- package/dist/types/packages/react/src/side-navigation-layout.d.ts +47 -0
- package/dist/types/packages/react/src/side-navigation.d.cts +74 -0
- package/dist/types/packages/react/src/side-navigation.d.ts +74 -0
- package/dist/types/packages/react/src/skeletons.d.cts +18 -3
- package/dist/types/packages/react/src/skeletons.d.ts +18 -3
- package/dist/types/packages/react/src/spinner-glyph.d.cts +8 -0
- package/dist/types/packages/react/src/spinner-glyph.d.ts +8 -0
- package/dist/types/packages/react/src/split-pane.d.cts +18 -5
- package/dist/types/packages/react/src/split-pane.d.ts +18 -5
- package/dist/types/packages/react/src/stacked-bar.d.cts +3 -1
- package/dist/types/packages/react/src/stacked-bar.d.ts +3 -1
- package/dist/types/packages/react/src/steps.d.cts +26 -0
- package/dist/types/packages/react/src/steps.d.ts +26 -0
- package/dist/types/packages/react/src/table-cards.d.cts +4 -12
- package/dist/types/packages/react/src/table-cards.d.ts +4 -12
- package/dist/types/packages/react/src/table-grid.d.cts +3 -7
- package/dist/types/packages/react/src/table-grid.d.ts +3 -7
- package/dist/types/packages/react/src/table-groups.d.cts +5 -0
- package/dist/types/packages/react/src/table-groups.d.ts +5 -0
- package/dist/types/packages/react/src/table-list.d.cts +2 -9
- package/dist/types/packages/react/src/table-list.d.ts +2 -9
- package/dist/types/packages/react/src/table-model.d.cts +6 -2
- package/dist/types/packages/react/src/table-model.d.ts +6 -2
- package/dist/types/packages/react/src/tabs.d.cts +3 -1
- package/dist/types/packages/react/src/tabs.d.ts +3 -1
- package/dist/types/packages/react/src/textarea.d.cts +6 -3
- package/dist/types/packages/react/src/textarea.d.ts +6 -3
- package/dist/types/packages/react/src/tiles.d.cts +18 -0
- package/dist/types/packages/react/src/tiles.d.ts +18 -0
- package/dist/types/packages/react/src/time-picker.d.cts +12 -2
- package/dist/types/packages/react/src/time-picker.d.ts +12 -2
- package/dist/types/packages/react/src/time-wheel.d.cts +18 -0
- package/dist/types/packages/react/src/time-wheel.d.ts +18 -0
- package/dist/types/packages/react/src/use-filter-scroll.d.cts +5 -0
- package/dist/types/packages/react/src/use-filter-scroll.d.ts +5 -0
- package/dist/types/shared/package-runtime/accordion-state.d.cts +2 -0
- package/dist/types/shared/package-runtime/accordion-state.d.ts +2 -0
- package/dist/types/shared/package-runtime/action-size.d.cts +4 -0
- package/dist/types/shared/package-runtime/action-size.d.ts +4 -0
- package/dist/types/shared/package-runtime/alert-actions.d.cts +7 -0
- package/dist/types/shared/package-runtime/alert-actions.d.ts +7 -0
- package/dist/types/shared/package-runtime/alert-exit.d.cts +6 -0
- package/dist/types/shared/package-runtime/alert-exit.d.ts +6 -0
- package/dist/types/shared/package-runtime/alert-live.d.cts +2 -0
- package/dist/types/shared/package-runtime/alert-live.d.ts +2 -0
- package/dist/types/shared/package-runtime/avatar-group.d.cts +18 -0
- package/dist/types/shared/package-runtime/avatar-group.d.ts +18 -0
- package/dist/types/shared/package-runtime/badge-tone.d.cts +8 -2
- package/dist/types/shared/package-runtime/badge-tone.d.ts +8 -2
- package/dist/types/shared/package-runtime/bottom-bar.d.cts +1 -1
- package/dist/types/shared/package-runtime/bottom-bar.d.ts +1 -1
- package/dist/types/shared/package-runtime/bottom-navigation.d.cts +5 -0
- package/dist/types/shared/package-runtime/bottom-navigation.d.ts +5 -0
- package/dist/types/shared/package-runtime/calendar.d.cts +21 -7
- package/dist/types/shared/package-runtime/calendar.d.ts +21 -7
- package/dist/types/shared/package-runtime/card-layout.d.cts +8 -0
- package/dist/types/shared/package-runtime/card-layout.d.ts +8 -0
- package/dist/types/shared/package-runtime/carousel-scroll.d.cts +2 -0
- package/dist/types/shared/package-runtime/carousel-scroll.d.ts +2 -0
- package/dist/types/shared/package-runtime/carousel.d.cts +12 -2
- package/dist/types/shared/package-runtime/carousel.d.ts +12 -2
- package/dist/types/shared/package-runtime/chart-skeleton.d.cts +1 -1
- package/dist/types/shared/package-runtime/chart-skeleton.d.ts +1 -1
- package/dist/types/shared/package-runtime/clipboard.d.cts +6 -0
- package/dist/types/shared/package-runtime/clipboard.d.ts +6 -0
- package/dist/types/shared/package-runtime/combobox-options.d.cts +13 -0
- package/dist/types/shared/package-runtime/combobox-options.d.ts +13 -0
- package/dist/types/shared/package-runtime/combobox.d.cts +3 -1
- package/dist/types/shared/package-runtime/combobox.d.ts +3 -1
- package/dist/types/shared/package-runtime/copy-button.d.cts +11 -0
- package/dist/types/shared/package-runtime/copy-button.d.ts +11 -0
- package/dist/types/shared/package-runtime/data-cells.d.cts +36 -0
- package/dist/types/shared/package-runtime/data-cells.d.ts +36 -0
- package/dist/types/shared/package-runtime/development.d.cts +4 -0
- package/dist/types/shared/package-runtime/development.d.ts +4 -0
- package/dist/types/shared/package-runtime/distribution.d.cts +36 -1
- package/dist/types/shared/package-runtime/distribution.d.ts +36 -1
- package/dist/types/shared/package-runtime/drawer-geometry.d.cts +7 -0
- package/dist/types/shared/package-runtime/drawer-geometry.d.ts +7 -0
- package/dist/types/shared/package-runtime/event-calendar.d.cts +81 -0
- package/dist/types/shared/package-runtime/event-calendar.d.ts +81 -0
- package/dist/types/shared/package-runtime/external-link.d.cts +4 -0
- package/dist/types/shared/package-runtime/external-link.d.ts +4 -0
- package/dist/types/shared/package-runtime/file-upload.d.cts +128 -0
- package/dist/types/shared/package-runtime/file-upload.d.ts +128 -0
- package/dist/types/shared/package-runtime/filter-scroll.d.cts +5 -0
- package/dist/types/shared/package-runtime/filter-scroll.d.ts +5 -0
- package/dist/types/shared/package-runtime/filter-value.d.cts +2 -0
- package/dist/types/shared/package-runtime/filter-value.d.ts +2 -0
- package/dist/types/shared/package-runtime/input-field.d.cts +23 -0
- package/dist/types/shared/package-runtime/input-field.d.ts +23 -0
- package/dist/types/shared/package-runtime/input-variant.d.cts +7 -0
- package/dist/types/shared/package-runtime/input-variant.d.ts +7 -0
- package/dist/types/shared/package-runtime/kpi.d.cts +13 -0
- package/dist/types/shared/package-runtime/kpi.d.ts +13 -0
- package/dist/types/shared/package-runtime/layout-primitives.d.cts +115 -6
- package/dist/types/shared/package-runtime/layout-primitives.d.ts +115 -6
- package/dist/types/shared/package-runtime/list-row.d.cts +43 -6
- package/dist/types/shared/package-runtime/list-row.d.ts +43 -6
- package/dist/types/shared/package-runtime/market-layout.d.cts +3 -1
- package/dist/types/shared/package-runtime/market-layout.d.ts +3 -1
- package/dist/types/shared/package-runtime/market-query.d.cts +6 -0
- package/dist/types/shared/package-runtime/market-query.d.ts +6 -0
- package/dist/types/shared/package-runtime/market-table.d.cts +32 -0
- package/dist/types/shared/package-runtime/market-table.d.ts +32 -0
- package/dist/types/shared/package-runtime/menu-button.d.cts +4 -0
- package/dist/types/shared/package-runtime/menu-button.d.ts +4 -0
- package/dist/types/shared/package-runtime/messages/ko.d.cts +74 -1
- package/dist/types/shared/package-runtime/messages/ko.d.ts +74 -1
- package/dist/types/shared/package-runtime/messages-context.d.cts +66 -1
- package/dist/types/shared/package-runtime/messages-context.d.ts +66 -1
- package/dist/types/shared/package-runtime/minimum-loading.d.cts +3 -0
- package/dist/types/shared/package-runtime/minimum-loading.d.ts +3 -0
- package/dist/types/shared/package-runtime/modal-geometry.d.cts +15 -0
- package/dist/types/shared/package-runtime/modal-geometry.d.ts +15 -0
- package/dist/types/shared/package-runtime/navigation.d.cts +9 -2
- package/dist/types/shared/package-runtime/navigation.d.ts +9 -2
- package/dist/types/shared/package-runtime/nested-controls.d.cts +7 -0
- package/dist/types/shared/package-runtime/nested-controls.d.ts +7 -0
- package/dist/types/shared/package-runtime/number-input.d.cts +63 -0
- package/dist/types/shared/package-runtime/number-input.d.ts +63 -0
- package/dist/types/shared/package-runtime/options.d.cts +25 -5
- package/dist/types/shared/package-runtime/options.d.ts +25 -5
- package/dist/types/shared/package-runtime/pagination.d.cts +12 -0
- package/dist/types/shared/package-runtime/pagination.d.ts +12 -0
- package/dist/types/shared/package-runtime/press-repeat.d.cts +13 -0
- package/dist/types/shared/package-runtime/press-repeat.d.ts +13 -0
- package/dist/types/shared/package-runtime/progress-circle.d.cts +5 -0
- package/dist/types/shared/package-runtime/progress-circle.d.ts +5 -0
- package/dist/types/shared/package-runtime/progress-marker.d.cts +7 -0
- package/dist/types/shared/package-runtime/progress-marker.d.ts +7 -0
- package/dist/types/shared/package-runtime/select-trigger.d.cts +23 -0
- package/dist/types/shared/package-runtime/select-trigger.d.ts +23 -0
- package/dist/types/shared/package-runtime/sheet-drag.d.cts +24 -0
- package/dist/types/shared/package-runtime/sheet-drag.d.ts +24 -0
- package/dist/types/shared/package-runtime/side-navigation-keys.d.cts +23 -0
- package/dist/types/shared/package-runtime/side-navigation-keys.d.ts +23 -0
- package/dist/types/shared/package-runtime/side-navigation-scroll.d.cts +7 -0
- package/dist/types/shared/package-runtime/side-navigation-scroll.d.ts +7 -0
- package/dist/types/shared/package-runtime/side-navigation.d.cts +277 -0
- package/dist/types/shared/package-runtime/side-navigation.d.ts +277 -0
- package/dist/types/shared/package-runtime/signed-number.d.cts +33 -0
- package/dist/types/shared/package-runtime/signed-number.d.ts +33 -0
- package/dist/types/shared/package-runtime/skeleton-text.d.cts +4 -0
- package/dist/types/shared/package-runtime/skeleton-text.d.ts +4 -0
- package/dist/types/shared/package-runtime/slider-view.d.cts +17 -2
- package/dist/types/shared/package-runtime/slider-view.d.ts +17 -2
- package/dist/types/shared/package-runtime/sparkline.d.cts +8 -4
- package/dist/types/shared/package-runtime/sparkline.d.ts +8 -4
- package/dist/types/shared/package-runtime/spinner-geometry.d.cts +14 -0
- package/dist/types/shared/package-runtime/spinner-geometry.d.ts +14 -0
- package/dist/types/shared/package-runtime/split-pane.d.cts +40 -1
- package/dist/types/shared/package-runtime/split-pane.d.ts +40 -1
- package/dist/types/shared/package-runtime/steps.d.cts +37 -0
- package/dist/types/shared/package-runtime/steps.d.ts +37 -0
- package/dist/types/shared/package-runtime/tab-keyboard.d.cts +6 -0
- package/dist/types/shared/package-runtime/tab-keyboard.d.ts +6 -0
- package/dist/types/shared/package-runtime/table-columns.d.cts +8 -0
- package/dist/types/shared/package-runtime/table-columns.d.ts +8 -0
- package/dist/types/shared/package-runtime/table-model.d.cts +23 -3
- package/dist/types/shared/package-runtime/table-model.d.ts +23 -3
- package/dist/types/shared/package-runtime/table-presentation.d.cts +11 -2
- package/dist/types/shared/package-runtime/table-presentation.d.ts +11 -2
- package/dist/types/shared/package-runtime/table.d.cts +15 -2
- package/dist/types/shared/package-runtime/table.d.ts +15 -2
- package/dist/types/shared/package-runtime/textarea.d.cts +6 -4
- package/dist/types/shared/package-runtime/textarea.d.ts +6 -4
- package/dist/types/shared/package-runtime/tiles-children.d.cts +7 -0
- package/dist/types/shared/package-runtime/tiles-children.d.ts +7 -0
- package/dist/types/shared/package-runtime/tiles.d.cts +18 -0
- package/dist/types/shared/package-runtime/tiles.d.ts +18 -0
- package/dist/types/shared/package-runtime/time-segments.d.cts +24 -0
- package/dist/types/shared/package-runtime/time-segments.d.ts +24 -0
- package/dist/types/shared/package-runtime/time-wheel.d.cts +54 -0
- package/dist/types/shared/package-runtime/time-wheel.d.ts +54 -0
- package/dist/types/shared/package-runtime/trailing-overflow.d.cts +1 -0
- package/dist/types/shared/package-runtime/trailing-overflow.d.ts +1 -0
- package/dist/types/shared/package-runtime/use-color-picker.d.cts +3 -0
- package/dist/types/shared/package-runtime/use-color-picker.d.ts +3 -0
- package/dist/types/shared/package-runtime/use-copy-feedback.d.cts +10 -0
- package/dist/types/shared/package-runtime/use-copy-feedback.d.ts +10 -0
- package/dist/types/shared/package-runtime/use-open-state.d.cts +5 -0
- package/dist/types/shared/package-runtime/use-open-state.d.ts +5 -0
- package/dist/types/shared/package-runtime/use-pending-action.d.cts +6 -0
- package/dist/types/shared/package-runtime/use-pending-action.d.ts +6 -0
- package/dist/types/shared/package-runtime/use-side-navigation-state.d.cts +25 -0
- package/dist/types/shared/package-runtime/use-side-navigation-state.d.ts +25 -0
- package/dist/types/shared/package-runtime/use-slide.d.cts +3 -0
- package/dist/types/shared/package-runtime/use-slide.d.ts +3 -0
- package/package.json +3 -3
- package/dist/types/packages/react/src/compound-control.d.cts +0 -1
- package/dist/types/packages/react/src/compound-control.d.ts +0 -1
- package/dist/types/shared/package-runtime/center-option.d.cts +0 -1
- package/dist/types/shared/package-runtime/center-option.d.ts +0 -1
|
@@ -42,13 +42,23 @@ export declare const kjunMessagesKo: {
|
|
|
42
42
|
optional: string;
|
|
43
43
|
clearSelection: string;
|
|
44
44
|
searchOptions: string;
|
|
45
|
+
avatarGroupCount: (count: number) => string;
|
|
45
46
|
selectedCount: (count: number) => string;
|
|
47
|
+
eventCount: (count: number) => string;
|
|
48
|
+
holiday: string;
|
|
46
49
|
loadMore: string;
|
|
47
50
|
clearInput: string;
|
|
51
|
+
/** The reveal button's visible text and its name, which says what it shows. */
|
|
52
|
+
revealPassword: string;
|
|
53
|
+
concealPassword: string;
|
|
54
|
+
revealPasswordLabel: string;
|
|
55
|
+
concealPasswordLabel: string;
|
|
48
56
|
clearValue: (label: string) => string;
|
|
49
57
|
datePlaceholder: string;
|
|
50
58
|
clearDate: string;
|
|
51
59
|
calendarTitle: (year: number, month: number) => string;
|
|
60
|
+
/** A week of the event calendar: the second date drops the year and month it shares with the first. */
|
|
61
|
+
weekTitle: (y1: number, m1: number, d1: number, y2: number, m2: number, d2: number) => string;
|
|
52
62
|
weekdays: string;
|
|
53
63
|
previousMonth: string;
|
|
54
64
|
nextMonth: string;
|
|
@@ -61,6 +71,10 @@ export declare const kjunMessagesKo: {
|
|
|
61
71
|
rangeEndDay: string;
|
|
62
72
|
inRangeDay: string;
|
|
63
73
|
chooseEndDate: string;
|
|
74
|
+
/** The range presets' group name. */
|
|
75
|
+
rangePresets: string;
|
|
76
|
+
/** The note while a range's end is picked under minDays or maxDays (either may be missing). */
|
|
77
|
+
rangeLength: (minDays?: number, maxDays?: number) => string;
|
|
64
78
|
today: string;
|
|
65
79
|
apply: string;
|
|
66
80
|
rangePlaceholder: string;
|
|
@@ -75,6 +89,8 @@ export declare const kjunMessagesKo: {
|
|
|
75
89
|
minute: string;
|
|
76
90
|
second: string;
|
|
77
91
|
timePlaceholder: string;
|
|
92
|
+
selectTime: string;
|
|
93
|
+
now: string;
|
|
78
94
|
value: string;
|
|
79
95
|
minimum: string;
|
|
80
96
|
maximum: string;
|
|
@@ -105,6 +121,7 @@ export declare const kjunMessagesKo: {
|
|
|
105
121
|
searchTable: string;
|
|
106
122
|
expandRow: string;
|
|
107
123
|
collapse: string;
|
|
124
|
+
expand: string;
|
|
108
125
|
showDetails: string;
|
|
109
126
|
ascending: string;
|
|
110
127
|
sortBy: string;
|
|
@@ -114,6 +131,12 @@ export declare const kjunMessagesKo: {
|
|
|
114
131
|
showPath: string;
|
|
115
132
|
breadcrumb: string;
|
|
116
133
|
mainNavigation: string;
|
|
134
|
+
collapseNavigation: string;
|
|
135
|
+
expandNavigation: string;
|
|
136
|
+
showMoreItems: (count: number) => string;
|
|
137
|
+
showFewerItems: string;
|
|
138
|
+
showMoreText: string;
|
|
139
|
+
showLessText: string;
|
|
117
140
|
newCount: (count: number) => string;
|
|
118
141
|
saving: string;
|
|
119
142
|
charactersLeft: (count: number) => string;
|
|
@@ -121,8 +144,13 @@ export declare const kjunMessagesKo: {
|
|
|
121
144
|
pagination: string;
|
|
122
145
|
itemsPerPage: string;
|
|
123
146
|
perPage: (count: number) => string;
|
|
124
|
-
|
|
147
|
+
/** Pagination page-size button: its accessible name, which keeps the shown label ("20개씩"). */
|
|
148
|
+
pageSizeMenu: (label: string) => string;
|
|
149
|
+
/** The rows on the page and the total, each already passed through Pagination formatter. */
|
|
150
|
+
pageRange: (from: string, to: string, total: string) => string;
|
|
125
151
|
page: (page: number) => string;
|
|
152
|
+
/** A FilterGroup chip with a count: its accessible name. count is already formatted. */
|
|
153
|
+
filterCount: (label: string, count: string) => string;
|
|
126
154
|
firstPage: string;
|
|
127
155
|
previousPage: string;
|
|
128
156
|
nextPage: string;
|
|
@@ -134,6 +162,14 @@ export declare const kjunMessagesKo: {
|
|
|
134
162
|
nextSlide: string;
|
|
135
163
|
goToSlide: (slide: number) => string;
|
|
136
164
|
slideOf: (slide: number, total: number) => string;
|
|
165
|
+
steps: string;
|
|
166
|
+
stepComplete: string;
|
|
167
|
+
stepCurrent: string;
|
|
168
|
+
stepError: string;
|
|
169
|
+
stepUpcoming: string;
|
|
170
|
+
stepNext: string;
|
|
171
|
+
stepPosition: (index: number) => string;
|
|
172
|
+
stepCount: (index: number, total: number) => string;
|
|
137
173
|
moveUp: (name: string) => string;
|
|
138
174
|
moveDown: (name: string) => string;
|
|
139
175
|
reorderMoved: (name: string, position: number, total: number) => string;
|
|
@@ -141,6 +177,7 @@ export declare const kjunMessagesKo: {
|
|
|
141
177
|
reorderGrabbed: (name: string) => string;
|
|
142
178
|
reorderDropped: (name: string, position: number, total: number) => string;
|
|
143
179
|
reorderCancelled: (name: string) => string;
|
|
180
|
+
tableReorderColumn: string;
|
|
144
181
|
tableReorderLocked: string;
|
|
145
182
|
colorPlaceholder: string;
|
|
146
183
|
colorPicker: string;
|
|
@@ -164,6 +201,10 @@ export declare const kjunMessagesKo: {
|
|
|
164
201
|
metrics: string;
|
|
165
202
|
watchToggle: (name: string, active: boolean) => string;
|
|
166
203
|
favoriteToggle: (name: string, active: boolean) => string;
|
|
204
|
+
/** CollectionMark names: an active mark, and the market header column that holds both marks. */
|
|
205
|
+
interestMark: string;
|
|
206
|
+
favoriteMark: string;
|
|
207
|
+
collectionMarks: string;
|
|
167
208
|
lastUpdated: string;
|
|
168
209
|
unitLabel: string;
|
|
169
210
|
totalCount: (count: number, unit: string) => string;
|
|
@@ -179,5 +220,37 @@ export declare const kjunMessagesKo: {
|
|
|
179
220
|
statusFailed: string;
|
|
180
221
|
statusUnknown: string;
|
|
181
222
|
statusNoRuns: string;
|
|
223
|
+
uploadDropOrSelect: string;
|
|
224
|
+
uploadSelect: string;
|
|
225
|
+
uploadAddOrDrop: string;
|
|
226
|
+
uploadAdd: string;
|
|
227
|
+
uploadDropHere: string;
|
|
228
|
+
uploadDropCount: (count: number) => string;
|
|
229
|
+
uploadDropOverflow: (room: number, extra: number) => string;
|
|
230
|
+
uploadTypeBlockedTitle: string;
|
|
231
|
+
uploadTypeBlocked: (types: string) => string;
|
|
232
|
+
uploadRejected: (name: string, reason: string, detail: string) => string;
|
|
233
|
+
uploadRejectedMore: (count: number) => string;
|
|
234
|
+
uploadFull: (max: number) => string;
|
|
235
|
+
uploadFullHint: string;
|
|
236
|
+
uploadQueued: string;
|
|
237
|
+
uploadDone: string;
|
|
238
|
+
uploadFailed: string;
|
|
239
|
+
uploadProgress: (name: string) => string;
|
|
240
|
+
uploadRetry: (name: string) => string;
|
|
241
|
+
uploadRetryFailed: string;
|
|
242
|
+
uploadCancel: (name: string) => string;
|
|
243
|
+
uploadEmpty: string;
|
|
244
|
+
uploadReplace: string;
|
|
245
|
+
uploadReplaceFile: (name: string) => string;
|
|
246
|
+
uploadFiles: string;
|
|
247
|
+
uploadFailedCount: (count: number) => string;
|
|
248
|
+
uploadHint: (types: string, size?: string, count?: number) => string;
|
|
249
|
+
uploadAnnounce: (name: string, status: string) => string;
|
|
250
|
+
uploadGroup: (group: string) => string;
|
|
251
|
+
numberRangeMin: (limit: string) => string;
|
|
252
|
+
numberRangeMax: (limit: string) => string;
|
|
253
|
+
numberUnitEok: string;
|
|
254
|
+
numberUnitMan: string;
|
|
182
255
|
};
|
|
183
256
|
export type KjunMessages = typeof kjunMessagesKo;
|
|
@@ -51,13 +51,21 @@ export declare const useKjunMessages: () => {
|
|
|
51
51
|
optional: string;
|
|
52
52
|
clearSelection: string;
|
|
53
53
|
searchOptions: string;
|
|
54
|
+
avatarGroupCount: (count: number) => string;
|
|
54
55
|
selectedCount: (count: number) => string;
|
|
56
|
+
eventCount: (count: number) => string;
|
|
57
|
+
holiday: string;
|
|
55
58
|
loadMore: string;
|
|
56
59
|
clearInput: string;
|
|
60
|
+
revealPassword: string;
|
|
61
|
+
concealPassword: string;
|
|
62
|
+
revealPasswordLabel: string;
|
|
63
|
+
concealPasswordLabel: string;
|
|
57
64
|
clearValue: (label: string) => string;
|
|
58
65
|
datePlaceholder: string;
|
|
59
66
|
clearDate: string;
|
|
60
67
|
calendarTitle: (year: number, month: number) => string;
|
|
68
|
+
weekTitle: (y1: number, m1: number, d1: number, y2: number, m2: number, d2: number) => string;
|
|
61
69
|
weekdays: string;
|
|
62
70
|
previousMonth: string;
|
|
63
71
|
nextMonth: string;
|
|
@@ -70,6 +78,8 @@ export declare const useKjunMessages: () => {
|
|
|
70
78
|
rangeEndDay: string;
|
|
71
79
|
inRangeDay: string;
|
|
72
80
|
chooseEndDate: string;
|
|
81
|
+
rangePresets: string;
|
|
82
|
+
rangeLength: (minDays?: number, maxDays?: number) => string;
|
|
73
83
|
today: string;
|
|
74
84
|
apply: string;
|
|
75
85
|
rangePlaceholder: string;
|
|
@@ -84,6 +94,8 @@ export declare const useKjunMessages: () => {
|
|
|
84
94
|
minute: string;
|
|
85
95
|
second: string;
|
|
86
96
|
timePlaceholder: string;
|
|
97
|
+
selectTime: string;
|
|
98
|
+
now: string;
|
|
87
99
|
value: string;
|
|
88
100
|
minimum: string;
|
|
89
101
|
maximum: string;
|
|
@@ -114,6 +126,7 @@ export declare const useKjunMessages: () => {
|
|
|
114
126
|
searchTable: string;
|
|
115
127
|
expandRow: string;
|
|
116
128
|
collapse: string;
|
|
129
|
+
expand: string;
|
|
117
130
|
showDetails: string;
|
|
118
131
|
ascending: string;
|
|
119
132
|
sortBy: string;
|
|
@@ -123,6 +136,12 @@ export declare const useKjunMessages: () => {
|
|
|
123
136
|
showPath: string;
|
|
124
137
|
breadcrumb: string;
|
|
125
138
|
mainNavigation: string;
|
|
139
|
+
collapseNavigation: string;
|
|
140
|
+
expandNavigation: string;
|
|
141
|
+
showMoreItems: (count: number) => string;
|
|
142
|
+
showFewerItems: string;
|
|
143
|
+
showMoreText: string;
|
|
144
|
+
showLessText: string;
|
|
126
145
|
newCount: (count: number) => string;
|
|
127
146
|
saving: string;
|
|
128
147
|
charactersLeft: (count: number) => string;
|
|
@@ -130,8 +149,10 @@ export declare const useKjunMessages: () => {
|
|
|
130
149
|
pagination: string;
|
|
131
150
|
itemsPerPage: string;
|
|
132
151
|
perPage: (count: number) => string;
|
|
133
|
-
|
|
152
|
+
pageSizeMenu: (label: string) => string;
|
|
153
|
+
pageRange: (from: string, to: string, total: string) => string;
|
|
134
154
|
page: (page: number) => string;
|
|
155
|
+
filterCount: (label: string, count: string) => string;
|
|
135
156
|
firstPage: string;
|
|
136
157
|
previousPage: string;
|
|
137
158
|
nextPage: string;
|
|
@@ -143,6 +164,14 @@ export declare const useKjunMessages: () => {
|
|
|
143
164
|
nextSlide: string;
|
|
144
165
|
goToSlide: (slide: number) => string;
|
|
145
166
|
slideOf: (slide: number, total: number) => string;
|
|
167
|
+
steps: string;
|
|
168
|
+
stepComplete: string;
|
|
169
|
+
stepCurrent: string;
|
|
170
|
+
stepError: string;
|
|
171
|
+
stepUpcoming: string;
|
|
172
|
+
stepNext: string;
|
|
173
|
+
stepPosition: (index: number) => string;
|
|
174
|
+
stepCount: (index: number, total: number) => string;
|
|
146
175
|
moveUp: (name: string) => string;
|
|
147
176
|
moveDown: (name: string) => string;
|
|
148
177
|
reorderMoved: (name: string, position: number, total: number) => string;
|
|
@@ -150,6 +179,7 @@ export declare const useKjunMessages: () => {
|
|
|
150
179
|
reorderGrabbed: (name: string) => string;
|
|
151
180
|
reorderDropped: (name: string, position: number, total: number) => string;
|
|
152
181
|
reorderCancelled: (name: string) => string;
|
|
182
|
+
tableReorderColumn: string;
|
|
153
183
|
tableReorderLocked: string;
|
|
154
184
|
colorPlaceholder: string;
|
|
155
185
|
colorPicker: string;
|
|
@@ -173,6 +203,9 @@ export declare const useKjunMessages: () => {
|
|
|
173
203
|
metrics: string;
|
|
174
204
|
watchToggle: (name: string, active: boolean) => string;
|
|
175
205
|
favoriteToggle: (name: string, active: boolean) => string;
|
|
206
|
+
interestMark: string;
|
|
207
|
+
favoriteMark: string;
|
|
208
|
+
collectionMarks: string;
|
|
176
209
|
lastUpdated: string;
|
|
177
210
|
unitLabel: string;
|
|
178
211
|
totalCount: (count: number, unit: string) => string;
|
|
@@ -188,4 +221,36 @@ export declare const useKjunMessages: () => {
|
|
|
188
221
|
statusFailed: string;
|
|
189
222
|
statusUnknown: string;
|
|
190
223
|
statusNoRuns: string;
|
|
224
|
+
uploadDropOrSelect: string;
|
|
225
|
+
uploadSelect: string;
|
|
226
|
+
uploadAddOrDrop: string;
|
|
227
|
+
uploadAdd: string;
|
|
228
|
+
uploadDropHere: string;
|
|
229
|
+
uploadDropCount: (count: number) => string;
|
|
230
|
+
uploadDropOverflow: (room: number, extra: number) => string;
|
|
231
|
+
uploadTypeBlockedTitle: string;
|
|
232
|
+
uploadTypeBlocked: (types: string) => string;
|
|
233
|
+
uploadRejected: (name: string, reason: string, detail: string) => string;
|
|
234
|
+
uploadRejectedMore: (count: number) => string;
|
|
235
|
+
uploadFull: (max: number) => string;
|
|
236
|
+
uploadFullHint: string;
|
|
237
|
+
uploadQueued: string;
|
|
238
|
+
uploadDone: string;
|
|
239
|
+
uploadFailed: string;
|
|
240
|
+
uploadProgress: (name: string) => string;
|
|
241
|
+
uploadRetry: (name: string) => string;
|
|
242
|
+
uploadRetryFailed: string;
|
|
243
|
+
uploadCancel: (name: string) => string;
|
|
244
|
+
uploadEmpty: string;
|
|
245
|
+
uploadReplace: string;
|
|
246
|
+
uploadReplaceFile: (name: string) => string;
|
|
247
|
+
uploadFiles: string;
|
|
248
|
+
uploadFailedCount: (count: number) => string;
|
|
249
|
+
uploadHint: (types: string, size?: string, count?: number) => string;
|
|
250
|
+
uploadAnnounce: (name: string, status: string) => string;
|
|
251
|
+
uploadGroup: (group: string) => string;
|
|
252
|
+
numberRangeMin: (limit: string) => string;
|
|
253
|
+
numberRangeMax: (limit: string) => string;
|
|
254
|
+
numberUnitEok: string;
|
|
255
|
+
numberUnitMan: string;
|
|
191
256
|
};
|
|
@@ -51,13 +51,21 @@ export declare const useKjunMessages: () => {
|
|
|
51
51
|
optional: string;
|
|
52
52
|
clearSelection: string;
|
|
53
53
|
searchOptions: string;
|
|
54
|
+
avatarGroupCount: (count: number) => string;
|
|
54
55
|
selectedCount: (count: number) => string;
|
|
56
|
+
eventCount: (count: number) => string;
|
|
57
|
+
holiday: string;
|
|
55
58
|
loadMore: string;
|
|
56
59
|
clearInput: string;
|
|
60
|
+
revealPassword: string;
|
|
61
|
+
concealPassword: string;
|
|
62
|
+
revealPasswordLabel: string;
|
|
63
|
+
concealPasswordLabel: string;
|
|
57
64
|
clearValue: (label: string) => string;
|
|
58
65
|
datePlaceholder: string;
|
|
59
66
|
clearDate: string;
|
|
60
67
|
calendarTitle: (year: number, month: number) => string;
|
|
68
|
+
weekTitle: (y1: number, m1: number, d1: number, y2: number, m2: number, d2: number) => string;
|
|
61
69
|
weekdays: string;
|
|
62
70
|
previousMonth: string;
|
|
63
71
|
nextMonth: string;
|
|
@@ -70,6 +78,8 @@ export declare const useKjunMessages: () => {
|
|
|
70
78
|
rangeEndDay: string;
|
|
71
79
|
inRangeDay: string;
|
|
72
80
|
chooseEndDate: string;
|
|
81
|
+
rangePresets: string;
|
|
82
|
+
rangeLength: (minDays?: number, maxDays?: number) => string;
|
|
73
83
|
today: string;
|
|
74
84
|
apply: string;
|
|
75
85
|
rangePlaceholder: string;
|
|
@@ -84,6 +94,8 @@ export declare const useKjunMessages: () => {
|
|
|
84
94
|
minute: string;
|
|
85
95
|
second: string;
|
|
86
96
|
timePlaceholder: string;
|
|
97
|
+
selectTime: string;
|
|
98
|
+
now: string;
|
|
87
99
|
value: string;
|
|
88
100
|
minimum: string;
|
|
89
101
|
maximum: string;
|
|
@@ -114,6 +126,7 @@ export declare const useKjunMessages: () => {
|
|
|
114
126
|
searchTable: string;
|
|
115
127
|
expandRow: string;
|
|
116
128
|
collapse: string;
|
|
129
|
+
expand: string;
|
|
117
130
|
showDetails: string;
|
|
118
131
|
ascending: string;
|
|
119
132
|
sortBy: string;
|
|
@@ -123,6 +136,12 @@ export declare const useKjunMessages: () => {
|
|
|
123
136
|
showPath: string;
|
|
124
137
|
breadcrumb: string;
|
|
125
138
|
mainNavigation: string;
|
|
139
|
+
collapseNavigation: string;
|
|
140
|
+
expandNavigation: string;
|
|
141
|
+
showMoreItems: (count: number) => string;
|
|
142
|
+
showFewerItems: string;
|
|
143
|
+
showMoreText: string;
|
|
144
|
+
showLessText: string;
|
|
126
145
|
newCount: (count: number) => string;
|
|
127
146
|
saving: string;
|
|
128
147
|
charactersLeft: (count: number) => string;
|
|
@@ -130,8 +149,10 @@ export declare const useKjunMessages: () => {
|
|
|
130
149
|
pagination: string;
|
|
131
150
|
itemsPerPage: string;
|
|
132
151
|
perPage: (count: number) => string;
|
|
133
|
-
|
|
152
|
+
pageSizeMenu: (label: string) => string;
|
|
153
|
+
pageRange: (from: string, to: string, total: string) => string;
|
|
134
154
|
page: (page: number) => string;
|
|
155
|
+
filterCount: (label: string, count: string) => string;
|
|
135
156
|
firstPage: string;
|
|
136
157
|
previousPage: string;
|
|
137
158
|
nextPage: string;
|
|
@@ -143,6 +164,14 @@ export declare const useKjunMessages: () => {
|
|
|
143
164
|
nextSlide: string;
|
|
144
165
|
goToSlide: (slide: number) => string;
|
|
145
166
|
slideOf: (slide: number, total: number) => string;
|
|
167
|
+
steps: string;
|
|
168
|
+
stepComplete: string;
|
|
169
|
+
stepCurrent: string;
|
|
170
|
+
stepError: string;
|
|
171
|
+
stepUpcoming: string;
|
|
172
|
+
stepNext: string;
|
|
173
|
+
stepPosition: (index: number) => string;
|
|
174
|
+
stepCount: (index: number, total: number) => string;
|
|
146
175
|
moveUp: (name: string) => string;
|
|
147
176
|
moveDown: (name: string) => string;
|
|
148
177
|
reorderMoved: (name: string, position: number, total: number) => string;
|
|
@@ -150,6 +179,7 @@ export declare const useKjunMessages: () => {
|
|
|
150
179
|
reorderGrabbed: (name: string) => string;
|
|
151
180
|
reorderDropped: (name: string, position: number, total: number) => string;
|
|
152
181
|
reorderCancelled: (name: string) => string;
|
|
182
|
+
tableReorderColumn: string;
|
|
153
183
|
tableReorderLocked: string;
|
|
154
184
|
colorPlaceholder: string;
|
|
155
185
|
colorPicker: string;
|
|
@@ -173,6 +203,9 @@ export declare const useKjunMessages: () => {
|
|
|
173
203
|
metrics: string;
|
|
174
204
|
watchToggle: (name: string, active: boolean) => string;
|
|
175
205
|
favoriteToggle: (name: string, active: boolean) => string;
|
|
206
|
+
interestMark: string;
|
|
207
|
+
favoriteMark: string;
|
|
208
|
+
collectionMarks: string;
|
|
176
209
|
lastUpdated: string;
|
|
177
210
|
unitLabel: string;
|
|
178
211
|
totalCount: (count: number, unit: string) => string;
|
|
@@ -188,4 +221,36 @@ export declare const useKjunMessages: () => {
|
|
|
188
221
|
statusFailed: string;
|
|
189
222
|
statusUnknown: string;
|
|
190
223
|
statusNoRuns: string;
|
|
224
|
+
uploadDropOrSelect: string;
|
|
225
|
+
uploadSelect: string;
|
|
226
|
+
uploadAddOrDrop: string;
|
|
227
|
+
uploadAdd: string;
|
|
228
|
+
uploadDropHere: string;
|
|
229
|
+
uploadDropCount: (count: number) => string;
|
|
230
|
+
uploadDropOverflow: (room: number, extra: number) => string;
|
|
231
|
+
uploadTypeBlockedTitle: string;
|
|
232
|
+
uploadTypeBlocked: (types: string) => string;
|
|
233
|
+
uploadRejected: (name: string, reason: string, detail: string) => string;
|
|
234
|
+
uploadRejectedMore: (count: number) => string;
|
|
235
|
+
uploadFull: (max: number) => string;
|
|
236
|
+
uploadFullHint: string;
|
|
237
|
+
uploadQueued: string;
|
|
238
|
+
uploadDone: string;
|
|
239
|
+
uploadFailed: string;
|
|
240
|
+
uploadProgress: (name: string) => string;
|
|
241
|
+
uploadRetry: (name: string) => string;
|
|
242
|
+
uploadRetryFailed: string;
|
|
243
|
+
uploadCancel: (name: string) => string;
|
|
244
|
+
uploadEmpty: string;
|
|
245
|
+
uploadReplace: string;
|
|
246
|
+
uploadReplaceFile: (name: string) => string;
|
|
247
|
+
uploadFiles: string;
|
|
248
|
+
uploadFailedCount: (count: number) => string;
|
|
249
|
+
uploadHint: (types: string, size?: string, count?: number) => string;
|
|
250
|
+
uploadAnnounce: (name: string, status: string) => string;
|
|
251
|
+
uploadGroup: (group: string) => string;
|
|
252
|
+
numberRangeMin: (limit: string) => string;
|
|
253
|
+
numberRangeMax: (limit: string) => string;
|
|
254
|
+
numberUnitEok: string;
|
|
255
|
+
numberUnitMan: string;
|
|
191
256
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** The web close button: a 32px square with its own radius. Inline, because the button sets its size and radius inline. */
|
|
2
|
+
export declare const modalCloseStyle: {
|
|
3
|
+
borderRadius: 8;
|
|
4
|
+
width: 32;
|
|
5
|
+
height: 32;
|
|
6
|
+
padding: number;
|
|
7
|
+
};
|
|
8
|
+
/** The Native close button: React Native's own padding keys, which the button's padding would otherwise win over. */
|
|
9
|
+
export declare const nativeModalCloseStyle: {
|
|
10
|
+
borderRadius: 8;
|
|
11
|
+
width: 32;
|
|
12
|
+
height: 32;
|
|
13
|
+
paddingHorizontal: number;
|
|
14
|
+
paddingVertical: number;
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** The web close button: a 32px square with its own radius. Inline, because the button sets its size and radius inline. */
|
|
2
|
+
export declare const modalCloseStyle: {
|
|
3
|
+
borderRadius: 8;
|
|
4
|
+
width: 32;
|
|
5
|
+
height: 32;
|
|
6
|
+
padding: number;
|
|
7
|
+
};
|
|
8
|
+
/** The Native close button: React Native's own padding keys, which the button's padding would otherwise win over. */
|
|
9
|
+
export declare const nativeModalCloseStyle: {
|
|
10
|
+
borderRadius: 8;
|
|
11
|
+
width: 32;
|
|
12
|
+
height: 32;
|
|
13
|
+
paddingHorizontal: number;
|
|
14
|
+
paddingVertical: number;
|
|
15
|
+
};
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
export declare function useInitialTab(value: string, candidate: string | undefined, change: (name: string) => void): void;
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
/** Which items of an Accordion are open. With value the group is controlled: it shows value only and onValueChange
|
|
3
|
+
* requests each change; without it the group keeps its own set (from defaultValue and the items' defaultOpen) and reports changes. */
|
|
4
|
+
export declare function useAccordionState(multiple: boolean, control?: {
|
|
5
|
+
value?: readonly string[];
|
|
6
|
+
defaultValue?: readonly string[];
|
|
7
|
+
onValueChange?: (value: string[]) => void;
|
|
8
|
+
}): {
|
|
9
|
+
opened: import("./accordion-state.cjs").OpenedItems;
|
|
10
|
+
controlled: boolean;
|
|
4
11
|
toggle: (id: string) => void;
|
|
5
12
|
register: (id: string, defaultOpen: boolean) => () => void;
|
|
6
13
|
};
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
export declare function useInitialTab(value: string, candidate: string | undefined, change: (name: string) => void): void;
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
/** Which items of an Accordion are open. With value the group is controlled: it shows value only and onValueChange
|
|
3
|
+
* requests each change; without it the group keeps its own set (from defaultValue and the items' defaultOpen) and reports changes. */
|
|
4
|
+
export declare function useAccordionState(multiple: boolean, control?: {
|
|
5
|
+
value?: readonly string[];
|
|
6
|
+
defaultValue?: readonly string[];
|
|
7
|
+
onValueChange?: (value: string[]) => void;
|
|
8
|
+
}): {
|
|
9
|
+
opened: import("./accordion-state.js").OpenedItems;
|
|
10
|
+
controlled: boolean;
|
|
4
11
|
toggle: (id: string) => void;
|
|
5
12
|
register: (id: string, defaultOpen: boolean) => () => void;
|
|
6
13
|
};
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
/** Development only: warns once per call when `root` holds a control. */
|
|
2
2
|
export declare function warnNestedControls(root: Element | null | undefined, message: string): void;
|
|
3
|
+
/** Whether a click on a clickable row or card started on a control inside it (a button, link or field), which acts on its
|
|
4
|
+
* own, or came from outside the row's DOM (React bubbles portal events, such as a popover opened from a cell). The row
|
|
5
|
+
* then leaves the click alone. Controls do not stop clicks from bubbling, so page-level listeners still see them. */
|
|
6
|
+
export declare function fromNestedControl(event: {
|
|
7
|
+
target: EventTarget | null;
|
|
8
|
+
currentTarget: EventTarget | null;
|
|
9
|
+
}): boolean;
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
/** Development only: warns once per call when `root` holds a control. */
|
|
2
2
|
export declare function warnNestedControls(root: Element | null | undefined, message: string): void;
|
|
3
|
+
/** Whether a click on a clickable row or card started on a control inside it (a button, link or field), which acts on its
|
|
4
|
+
* own, or came from outside the row's DOM (React bubbles portal events, such as a popover opened from a cell). The row
|
|
5
|
+
* then leaves the click alone. Controls do not stop clicks from bubbling, so page-level listeners still see them. */
|
|
6
|
+
export declare function fromNestedControl(event: {
|
|
7
|
+
target: EventTarget | null;
|
|
8
|
+
currentTarget: EventTarget | null;
|
|
9
|
+
}): boolean;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { KjunMessageScope } from "./messages/index.cjs";
|
|
2
|
+
export type NumberInputFormat = "number" | "amount" | "percent";
|
|
3
|
+
export interface NumberInputOptions {
|
|
4
|
+
format?: NumberInputFormat;
|
|
5
|
+
decimals?: number;
|
|
6
|
+
grouping?: boolean;
|
|
7
|
+
allowNegative?: boolean;
|
|
8
|
+
min?: number;
|
|
9
|
+
max?: number;
|
|
10
|
+
suffix?: unknown;
|
|
11
|
+
}
|
|
12
|
+
export interface ResolvedNumberInput {
|
|
13
|
+
format: NumberInputFormat;
|
|
14
|
+
decimals: number;
|
|
15
|
+
grouping: boolean;
|
|
16
|
+
allowNegative: boolean;
|
|
17
|
+
min?: number;
|
|
18
|
+
max?: number;
|
|
19
|
+
suffix?: string;
|
|
20
|
+
maxIntegerDigits: number;
|
|
21
|
+
}
|
|
22
|
+
/** Preset plus the caller's overrides; decimals are cut to a whole 0-6 so the scaled value stays a safe integer. */
|
|
23
|
+
export declare function resolveNumberInput(options: NumberInputOptions): ResolvedNumberInput;
|
|
24
|
+
export interface SanitizeOptions {
|
|
25
|
+
/** Pasted or dropped text: with no decimals allowed, the fraction is dropped at the first "." ("1,234,000.00" → "1234000") instead of the dots being ignored. */
|
|
26
|
+
pasted?: boolean;
|
|
27
|
+
}
|
|
28
|
+
/** Keeps digits, one ".", and "-" when allowed; any "-" in the text makes the value negative. Returns the draft ("-12.5", "12.", "").
|
|
29
|
+
* A dot with no digits becomes "0." (or "-0.") when decimals are allowed, so ".5" can be typed. Integer digits past the limit are cut. */
|
|
30
|
+
export declare function sanitizeNumber(text: string, o: ResolvedNumberInput, options?: SanitizeOptions): string;
|
|
31
|
+
/** True when `next` holds more integer digits than the field keeps and more than `previous` did: a typed edit like that is refused, not cut. */
|
|
32
|
+
export declare function addsTooManyDigits(previous: string, next: string, o: ResolvedNumberInput): boolean;
|
|
33
|
+
/** An edit that inserted more than one character at once, or that the browser reports as a paste or drop. */
|
|
34
|
+
export declare function isPasteEdit(before: string, after: string, inputType?: string): boolean;
|
|
35
|
+
/** Whether two values name the same number: "12." and "12" do, "", "-" and "." are all empty, "" and "0" are not. */
|
|
36
|
+
export declare function sameNumber(a: string, b: string): boolean;
|
|
37
|
+
/** Display text: thousands commas only, nothing padded. */
|
|
38
|
+
export declare function formatNumber(raw: string, o: ResolvedNumberInput): string;
|
|
39
|
+
/** The value kept on blur/Enter: "" and "-" become "", a bare dot ("0.") is zero, "-0" becomes "0", the fraction is padded to decimals. */
|
|
40
|
+
export declare function commitNumber(raw: string, o: ResolvedNumberInput): string;
|
|
41
|
+
/** How many digits, "." and "-" sit before the caret. */
|
|
42
|
+
export declare function significantCount(text: string, caret: number): number;
|
|
43
|
+
/** The caret position right after that many digits, "." and "-". */
|
|
44
|
+
export declare function caretForCount(display: string, count: number): number;
|
|
45
|
+
/** Where the caret sits after an edit that turned `before` into `after`, from the text alone: right after the changed part.
|
|
46
|
+
* Platforms that report the selection separately from the text (React Native) can send the two in either order. */
|
|
47
|
+
export declare function caretAfterEdit(before: string, after: string): number;
|
|
48
|
+
/** Backspace right after a comma deletes the digit before it, Delete right before one deletes the digit after it. Returns the text without commas and the caret in it; null when the browser's default is right. */
|
|
49
|
+
export declare function deleteAcrossSeparator(display: string, start: number, end: number, key: "Backspace" | "Delete"): {
|
|
50
|
+
text: string;
|
|
51
|
+
caret: number;
|
|
52
|
+
} | null;
|
|
53
|
+
export declare function rangeIssue(raw: string, o: ResolvedNumberInput): "min" | "max" | null;
|
|
54
|
+
/** "100% 이하로 입력해 주세요": the limit is formatted like the value, with the suffix attached without a space. */
|
|
55
|
+
export declare function rangeMessage(kind: "min" | "max", o: ResolvedNumberInput, scope?: KjunMessageScope): string;
|
|
56
|
+
/** "1억 2,003만 5,000 원" for an integer part of 10,000 or more; empty for percent and for languages other than Korean. */
|
|
57
|
+
export declare function readingAid(raw: string, o: ResolvedNumberInput, scope?: KjunMessageScope): string;
|
|
58
|
+
/** Keyboard for a number field. A negative value needs a minus key, which the numeric pads lack (iOS shows none at all). */
|
|
59
|
+
export declare function numberKeyboard(o: Pick<ResolvedNumberInput, "allowNegative" | "decimals">): {
|
|
60
|
+
inputMode: "numeric" | "decimal" | "text";
|
|
61
|
+
ios: string;
|
|
62
|
+
android: string;
|
|
63
|
+
};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import type { KjunMessageScope } from "./messages/index.js";
|
|
2
|
+
export type NumberInputFormat = "number" | "amount" | "percent";
|
|
3
|
+
export interface NumberInputOptions {
|
|
4
|
+
format?: NumberInputFormat;
|
|
5
|
+
decimals?: number;
|
|
6
|
+
grouping?: boolean;
|
|
7
|
+
allowNegative?: boolean;
|
|
8
|
+
min?: number;
|
|
9
|
+
max?: number;
|
|
10
|
+
suffix?: unknown;
|
|
11
|
+
}
|
|
12
|
+
export interface ResolvedNumberInput {
|
|
13
|
+
format: NumberInputFormat;
|
|
14
|
+
decimals: number;
|
|
15
|
+
grouping: boolean;
|
|
16
|
+
allowNegative: boolean;
|
|
17
|
+
min?: number;
|
|
18
|
+
max?: number;
|
|
19
|
+
suffix?: string;
|
|
20
|
+
maxIntegerDigits: number;
|
|
21
|
+
}
|
|
22
|
+
/** Preset plus the caller's overrides; decimals are cut to a whole 0-6 so the scaled value stays a safe integer. */
|
|
23
|
+
export declare function resolveNumberInput(options: NumberInputOptions): ResolvedNumberInput;
|
|
24
|
+
export interface SanitizeOptions {
|
|
25
|
+
/** Pasted or dropped text: with no decimals allowed, the fraction is dropped at the first "." ("1,234,000.00" → "1234000") instead of the dots being ignored. */
|
|
26
|
+
pasted?: boolean;
|
|
27
|
+
}
|
|
28
|
+
/** Keeps digits, one ".", and "-" when allowed; any "-" in the text makes the value negative. Returns the draft ("-12.5", "12.", "").
|
|
29
|
+
* A dot with no digits becomes "0." (or "-0.") when decimals are allowed, so ".5" can be typed. Integer digits past the limit are cut. */
|
|
30
|
+
export declare function sanitizeNumber(text: string, o: ResolvedNumberInput, options?: SanitizeOptions): string;
|
|
31
|
+
/** True when `next` holds more integer digits than the field keeps and more than `previous` did: a typed edit like that is refused, not cut. */
|
|
32
|
+
export declare function addsTooManyDigits(previous: string, next: string, o: ResolvedNumberInput): boolean;
|
|
33
|
+
/** An edit that inserted more than one character at once, or that the browser reports as a paste or drop. */
|
|
34
|
+
export declare function isPasteEdit(before: string, after: string, inputType?: string): boolean;
|
|
35
|
+
/** Whether two values name the same number: "12." and "12" do, "", "-" and "." are all empty, "" and "0" are not. */
|
|
36
|
+
export declare function sameNumber(a: string, b: string): boolean;
|
|
37
|
+
/** Display text: thousands commas only, nothing padded. */
|
|
38
|
+
export declare function formatNumber(raw: string, o: ResolvedNumberInput): string;
|
|
39
|
+
/** The value kept on blur/Enter: "" and "-" become "", a bare dot ("0.") is zero, "-0" becomes "0", the fraction is padded to decimals. */
|
|
40
|
+
export declare function commitNumber(raw: string, o: ResolvedNumberInput): string;
|
|
41
|
+
/** How many digits, "." and "-" sit before the caret. */
|
|
42
|
+
export declare function significantCount(text: string, caret: number): number;
|
|
43
|
+
/** The caret position right after that many digits, "." and "-". */
|
|
44
|
+
export declare function caretForCount(display: string, count: number): number;
|
|
45
|
+
/** Where the caret sits after an edit that turned `before` into `after`, from the text alone: right after the changed part.
|
|
46
|
+
* Platforms that report the selection separately from the text (React Native) can send the two in either order. */
|
|
47
|
+
export declare function caretAfterEdit(before: string, after: string): number;
|
|
48
|
+
/** Backspace right after a comma deletes the digit before it, Delete right before one deletes the digit after it. Returns the text without commas and the caret in it; null when the browser's default is right. */
|
|
49
|
+
export declare function deleteAcrossSeparator(display: string, start: number, end: number, key: "Backspace" | "Delete"): {
|
|
50
|
+
text: string;
|
|
51
|
+
caret: number;
|
|
52
|
+
} | null;
|
|
53
|
+
export declare function rangeIssue(raw: string, o: ResolvedNumberInput): "min" | "max" | null;
|
|
54
|
+
/** "100% 이하로 입력해 주세요": the limit is formatted like the value, with the suffix attached without a space. */
|
|
55
|
+
export declare function rangeMessage(kind: "min" | "max", o: ResolvedNumberInput, scope?: KjunMessageScope): string;
|
|
56
|
+
/** "1억 2,003만 5,000 원" for an integer part of 10,000 or more; empty for percent and for languages other than Korean. */
|
|
57
|
+
export declare function readingAid(raw: string, o: ResolvedNumberInput, scope?: KjunMessageScope): string;
|
|
58
|
+
/** Keyboard for a number field. A negative value needs a minus key, which the numeric pads lack (iOS shows none at all). */
|
|
59
|
+
export declare function numberKeyboard(o: Pick<ResolvedNumberInput, "allowNegative" | "decimals">): {
|
|
60
|
+
inputMode: "numeric" | "decimal" | "text";
|
|
61
|
+
ios: string;
|
|
62
|
+
android: string;
|
|
63
|
+
};
|