ksk-design-system 1.35.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.
Files changed (261) hide show
  1. package/AGENTS.md +190 -0
  2. package/CLAUDE.md +189 -0
  3. package/DESIGN.md +190 -0
  4. package/LICENSE +21 -0
  5. package/MIGRATION.md +107 -0
  6. package/PUBLISHING.md +160 -0
  7. package/README.md +59 -0
  8. package/RELEASE.md +82 -0
  9. package/bin/init.js +112 -0
  10. package/contracts/components.json +1443 -0
  11. package/contracts/rules.json +447 -0
  12. package/dist/class-names.js +4 -0
  13. package/dist/index.js +13157 -0
  14. package/dist/native/ui.js +4928 -0
  15. package/dist/native.js +1559 -0
  16. package/dist/server-variants-Dr_V3bDI.js +55 -0
  17. package/dist/types/class-names.d.ts +27 -0
  18. package/dist/types/components/patterns/admin/bulk-actions.d.ts +17 -0
  19. package/dist/types/components/patterns/admin/chart-controls.d.ts +16 -0
  20. package/dist/types/components/patterns/admin/data-table.d.ts +165 -0
  21. package/dist/types/components/patterns/admin/image-uploader.d.ts +14 -0
  22. package/dist/types/components/patterns/admin/kebab-menu.d.ts +17 -0
  23. package/dist/types/components/patterns/admin/notification-list.d.ts +16 -0
  24. package/dist/types/components/patterns/admin/search-panel.d.ts +9 -0
  25. package/dist/types/components/patterns/admin/status-tabs.d.ts +13 -0
  26. package/dist/types/components/patterns/app-header.d.ts +76 -0
  27. package/dist/types/components/patterns/banner-carousel.d.ts +25 -0
  28. package/dist/types/components/patterns/banner.d.ts +13 -0
  29. package/dist/types/components/patterns/bottom-sheet-form.d.ts +17 -0
  30. package/dist/types/components/patterns/category-nav.d.ts +43 -0
  31. package/dist/types/components/patterns/category-scroll.d.ts +53 -0
  32. package/dist/types/components/patterns/chip-selector.d.ts +20 -0
  33. package/dist/types/components/patterns/chip.d.ts +42 -0
  34. package/dist/types/components/patterns/coach-mark-overlay.d.ts +66 -0
  35. package/dist/types/components/patterns/commerce/bottom-tab-bar.d.ts +27 -0
  36. package/dist/types/components/patterns/commerce/filter-bar.d.ts +39 -0
  37. package/dist/types/components/patterns/commerce/image-carousel.d.ts +14 -0
  38. package/dist/types/components/patterns/commerce/order-summary.d.ts +26 -0
  39. package/dist/types/components/patterns/commerce/price-display.d.ts +20 -0
  40. package/dist/types/components/patterns/commerce/product-card.d.ts +50 -0
  41. package/dist/types/components/patterns/commerce/product-carousel.d.ts +15 -0
  42. package/dist/types/components/patterns/commerce/quantity-selector.d.ts +21 -0
  43. package/dist/types/components/patterns/commerce/rating-display.d.ts +15 -0
  44. package/dist/types/components/patterns/commerce/review-card.d.ts +22 -0
  45. package/dist/types/components/patterns/commerce/review-summary.d.ts +12 -0
  46. package/dist/types/components/patterns/confirm-dialog.d.ts +32 -0
  47. package/dist/types/components/patterns/cookie-consent.d.ts +62 -0
  48. package/dist/types/components/patterns/empty-state.d.ts +15 -0
  49. package/dist/types/components/patterns/error-state.d.ts +10 -0
  50. package/dist/types/components/patterns/file-upload.d.ts +31 -0
  51. package/dist/types/components/patterns/filter-chip.d.ts +26 -0
  52. package/dist/types/components/patterns/footer.d.ts +24 -0
  53. package/dist/types/components/patterns/form-field.d.ts +30 -0
  54. package/dist/types/components/patterns/form.d.ts +13 -0
  55. package/dist/types/components/patterns/list-item.d.ts +23 -0
  56. package/dist/types/components/patterns/list-skeletons.d.ts +43 -0
  57. package/dist/types/components/patterns/menu-drawer.d.ts +27 -0
  58. package/dist/types/components/patterns/notification-badge.d.ts +15 -0
  59. package/dist/types/components/patterns/progress-steps.d.ts +7 -0
  60. package/dist/types/components/patterns/review-overlay.d.ts +25 -0
  61. package/dist/types/components/patterns/search-bar.d.ts +6 -0
  62. package/dist/types/components/patterns/section-header.d.ts +8 -0
  63. package/dist/types/components/patterns/share-buttons.d.ts +13 -0
  64. package/dist/types/components/patterns/shells/admin-shell.d.ts +8 -0
  65. package/dist/types/components/patterns/shells/app-shell.d.ts +7 -0
  66. package/dist/types/components/patterns/shells/marketing-shell.d.ts +7 -0
  67. package/dist/types/components/patterns/simple-pagination.d.ts +69 -0
  68. package/dist/types/components/patterns/stat-card.d.ts +43 -0
  69. package/dist/types/components/patterns/sticky-action-bar.d.ts +27 -0
  70. package/dist/types/components/patterns/swipe-row.d.ts +17 -0
  71. package/dist/types/components/patterns/tag-input.d.ts +20 -0
  72. package/dist/types/components/patterns/tag.d.ts +7 -0
  73. package/dist/types/components/ui/accordion.d.ts +7 -0
  74. package/dist/types/components/ui/alert-dialog.d.ts +47 -0
  75. package/dist/types/components/ui/alert.d.ts +45 -0
  76. package/dist/types/components/ui/auto-grow-textarea.d.ts +40 -0
  77. package/dist/types/components/ui/avatar.d.ts +6 -0
  78. package/dist/types/components/ui/badge.d.ts +18 -0
  79. package/dist/types/components/ui/breadcrumb.d.ts +16 -0
  80. package/dist/types/components/ui/button.d.ts +29 -0
  81. package/dist/types/components/ui/calendar.d.ts +5 -0
  82. package/dist/types/components/ui/card.d.ts +28 -0
  83. package/dist/types/components/ui/checkbox-card.d.ts +29 -0
  84. package/dist/types/components/ui/checkbox-field.d.ts +24 -0
  85. package/dist/types/components/ui/checkbox-group.d.ts +33 -0
  86. package/dist/types/components/ui/checkbox.d.ts +44 -0
  87. package/dist/types/components/ui/coach-mark.d.ts +27 -0
  88. package/dist/types/components/ui/collapsible.d.ts +24 -0
  89. package/dist/types/components/ui/combobox.d.ts +19 -0
  90. package/dist/types/components/ui/countdown-timer.d.ts +39 -0
  91. package/dist/types/components/ui/date-picker.d.ts +53 -0
  92. package/dist/types/components/ui/dialog.d.ts +54 -0
  93. package/dist/types/components/ui/dropdown-filter.d.ts +35 -0
  94. package/dist/types/components/ui/dropdown-menu.d.ts +42 -0
  95. package/dist/types/components/ui/error-boundary.d.ts +66 -0
  96. package/dist/types/components/ui/form.d.ts +61 -0
  97. package/dist/types/components/ui/hover-card.d.ts +24 -0
  98. package/dist/types/components/ui/image-gallery.d.ts +28 -0
  99. package/dist/types/components/ui/input.d.ts +17 -0
  100. package/dist/types/components/ui/label.d.ts +4 -0
  101. package/dist/types/components/ui/multi-select.d.ts +21 -0
  102. package/dist/types/components/ui/navigation-bar.d.ts +58 -0
  103. package/dist/types/components/ui/number-input.d.ts +20 -0
  104. package/dist/types/components/ui/pagination.d.ts +26 -0
  105. package/dist/types/components/ui/pill-toggle.d.ts +16 -0
  106. package/dist/types/components/ui/popover.d.ts +7 -0
  107. package/dist/types/components/ui/progress-ring.d.ts +31 -0
  108. package/dist/types/components/ui/progress.d.ts +34 -0
  109. package/dist/types/components/ui/radio-group.d.ts +22 -0
  110. package/dist/types/components/ui/responsive-dialog.d.ts +31 -0
  111. package/dist/types/components/ui/scroll-area.d.ts +5 -0
  112. package/dist/types/components/ui/select.d.ts +22 -0
  113. package/dist/types/components/ui/separator.d.ts +4 -0
  114. package/dist/types/components/ui/sheet.d.ts +139 -0
  115. package/dist/types/components/ui/skeleton.d.ts +31 -0
  116. package/dist/types/components/ui/slider.d.ts +14 -0
  117. package/dist/types/components/ui/social-icon-data.d.ts +10 -0
  118. package/dist/types/components/ui/social-icon.d.ts +38 -0
  119. package/dist/types/components/ui/social-login-button.d.ts +10 -0
  120. package/dist/types/components/ui/spinner.d.ts +22 -0
  121. package/dist/types/components/ui/star-rating.d.ts +12 -0
  122. package/dist/types/components/ui/sub-nav.d.ts +17 -0
  123. package/dist/types/components/ui/switch.d.ts +4 -0
  124. package/dist/types/components/ui/sync-status-badge.d.ts +17 -0
  125. package/dist/types/components/ui/tabs.d.ts +15 -0
  126. package/dist/types/components/ui/textarea.d.ts +8 -0
  127. package/dist/types/components/ui/time-picker.d.ts +14 -0
  128. package/dist/types/components/ui/toast.d.ts +49 -0
  129. package/dist/types/components/ui/tooltip.d.ts +7 -0
  130. package/dist/types/index.d.ts +174 -0
  131. package/dist/types/lib/server-variants/button-variants.d.ts +20 -0
  132. package/dist/types/lib/utils.d.ts +2 -0
  133. package/dist/types/native/components/Accordion.d.ts +12 -0
  134. package/dist/types/native/components/Alert.d.ts +9 -0
  135. package/dist/types/native/components/AlertDialog.d.ts +11 -0
  136. package/dist/types/native/components/AppHeader.d.ts +10 -0
  137. package/dist/types/native/components/AppShell.d.ts +13 -0
  138. package/dist/types/native/components/AutoGrowTextarea.d.ts +8 -0
  139. package/dist/types/native/components/Avatar.d.ts +8 -0
  140. package/dist/types/native/components/Badge.d.ts +8 -0
  141. package/dist/types/native/components/Banner.d.ts +10 -0
  142. package/dist/types/native/components/BannerCarousel.d.ts +8 -0
  143. package/dist/types/native/components/BottomSheetForm.d.ts +10 -0
  144. package/dist/types/native/components/BottomTabBar.d.ts +8 -0
  145. package/dist/types/native/components/Breadcrumb.d.ts +12 -0
  146. package/dist/types/native/components/Button.d.ts +9 -0
  147. package/dist/types/native/components/Calendar.d.ts +8 -0
  148. package/dist/types/native/components/Card.d.ts +11 -0
  149. package/dist/types/native/components/CategoryNav.d.ts +13 -0
  150. package/dist/types/native/components/CategoryScroll.d.ts +12 -0
  151. package/dist/types/native/components/Checkbox.d.ts +7 -0
  152. package/dist/types/native/components/CheckboxCard.d.ts +8 -0
  153. package/dist/types/native/components/CheckboxField.d.ts +8 -0
  154. package/dist/types/native/components/CheckboxGroup.d.ts +12 -0
  155. package/dist/types/native/components/Chip.d.ts +17 -0
  156. package/dist/types/native/components/ChipSelector.d.ts +13 -0
  157. package/dist/types/native/components/CoachMark.d.ts +12 -0
  158. package/dist/types/native/components/CoachMarkOverlay.d.ts +19 -0
  159. package/dist/types/native/components/Collapsible.d.ts +7 -0
  160. package/dist/types/native/components/Combobox.d.ts +14 -0
  161. package/dist/types/native/components/ConfirmDialog.d.ts +7 -0
  162. package/dist/types/native/components/CountdownTimer.d.ts +7 -0
  163. package/dist/types/native/components/DatePicker.d.ts +10 -0
  164. package/dist/types/native/components/Dialog.d.ts +12 -0
  165. package/dist/types/native/components/DropdownFilter.d.ts +12 -0
  166. package/dist/types/native/components/DropdownMenu.d.ts +19 -0
  167. package/dist/types/native/components/EmptyState.d.ts +8 -0
  168. package/dist/types/native/components/ErrorState.d.ts +8 -0
  169. package/dist/types/native/components/FileUpload.d.ts +12 -0
  170. package/dist/types/native/components/FilterBar.d.ts +13 -0
  171. package/dist/types/native/components/FilterChip.d.ts +7 -0
  172. package/dist/types/native/components/Footer.d.ts +9 -0
  173. package/dist/types/native/components/FormField.d.ts +9 -0
  174. package/dist/types/native/components/GlassView.d.ts +25 -0
  175. package/dist/types/native/components/ImageCarousel.d.ts +8 -0
  176. package/dist/types/native/components/ImageGallery.d.ts +7 -0
  177. package/dist/types/native/components/Input.d.ts +9 -0
  178. package/dist/types/native/components/Label.d.ts +7 -0
  179. package/dist/types/native/components/ListItem.d.ts +11 -0
  180. package/dist/types/native/components/ListSkeletons.d.ts +6 -0
  181. package/dist/types/native/components/MarketingShell.d.ts +9 -0
  182. package/dist/types/native/components/MenuDrawer.d.ts +21 -0
  183. package/dist/types/native/components/MultiSelect.d.ts +13 -0
  184. package/dist/types/native/components/NavigationBar.d.ts +18 -0
  185. package/dist/types/native/components/NotificationBadge.d.ts +9 -0
  186. package/dist/types/native/components/NumberInput.d.ts +9 -0
  187. package/dist/types/native/components/OrderSummary.d.ts +10 -0
  188. package/dist/types/native/components/Pagination.d.ts +7 -0
  189. package/dist/types/native/components/PillToggle.d.ts +12 -0
  190. package/dist/types/native/components/Popover.d.ts +14 -0
  191. package/dist/types/native/components/PriceDisplay.d.ts +8 -0
  192. package/dist/types/native/components/ProductCard.d.ts +14 -0
  193. package/dist/types/native/components/ProductCarousel.d.ts +11 -0
  194. package/dist/types/native/components/Progress.d.ts +7 -0
  195. package/dist/types/native/components/ProgressRing.d.ts +12 -0
  196. package/dist/types/native/components/ProgressSteps.d.ts +9 -0
  197. package/dist/types/native/components/QuantitySelector.d.ts +6 -0
  198. package/dist/types/native/components/RadioGroup.d.ts +13 -0
  199. package/dist/types/native/components/RatingDisplay.d.ts +7 -0
  200. package/dist/types/native/components/ResponsiveDialog.d.ts +7 -0
  201. package/dist/types/native/components/ReviewCard.d.ts +11 -0
  202. package/dist/types/native/components/ReviewOverlay.d.ts +7 -0
  203. package/dist/types/native/components/ReviewSummary.d.ts +7 -0
  204. package/dist/types/native/components/ScrollArea.d.ts +9 -0
  205. package/dist/types/native/components/SearchBar.d.ts +9 -0
  206. package/dist/types/native/components/SectionHeader.d.ts +10 -0
  207. package/dist/types/native/components/Select.d.ts +14 -0
  208. package/dist/types/native/components/Separator.d.ts +5 -0
  209. package/dist/types/native/components/ShareButtons.d.ts +11 -0
  210. package/dist/types/native/components/Sheet.d.ts +20 -0
  211. package/dist/types/native/components/SimplePagination.d.ts +7 -0
  212. package/dist/types/native/components/Skeleton.d.ts +11 -0
  213. package/dist/types/native/components/Slider.d.ts +9 -0
  214. package/dist/types/native/components/SocialIcon.d.ts +12 -0
  215. package/dist/types/native/components/SocialLoginButton.d.ts +8 -0
  216. package/dist/types/native/components/Spinner.d.ts +6 -0
  217. package/dist/types/native/components/Stack.d.ts +13 -0
  218. package/dist/types/native/components/StarRating.d.ts +9 -0
  219. package/dist/types/native/components/StatCard.d.ts +7 -0
  220. package/dist/types/native/components/StickyActionBar.d.ts +6 -0
  221. package/dist/types/native/components/SubNav.d.ts +12 -0
  222. package/dist/types/native/components/SwipeRow.d.ts +14 -0
  223. package/dist/types/native/components/Switch.d.ts +4 -0
  224. package/dist/types/native/components/SyncStatusBadge.d.ts +6 -0
  225. package/dist/types/native/components/Tabs.d.ts +23 -0
  226. package/dist/types/native/components/Tag.d.ts +10 -0
  227. package/dist/types/native/components/TagInput.d.ts +7 -0
  228. package/dist/types/native/components/Text.d.ts +10 -0
  229. package/dist/types/native/components/Textarea.d.ts +7 -0
  230. package/dist/types/native/components/TimePicker.d.ts +12 -0
  231. package/dist/types/native/components/Toast.d.ts +18 -0
  232. package/dist/types/native/components/index.d.ts +99 -0
  233. package/dist/types/native/components/social-icon-data.d.ts +5 -0
  234. package/dist/types/native/index.d.ts +4 -0
  235. package/dist/types/native/theme/ThemeProvider.d.ts +21 -0
  236. package/dist/types/native/typography.d.ts +8 -0
  237. package/dist/types/tokens/native/index.d.ts +13 -0
  238. package/dist/types/tokens/native/primitives.d.ts +116 -0
  239. package/dist/types/tokens/native/scales.d.ts +270 -0
  240. package/dist/types/tokens/native/themes.d.ts +1147 -0
  241. package/eslint/deprecated.js +104 -0
  242. package/eslint/no-colorless-border.js +217 -0
  243. package/package.json +215 -0
  244. package/scripts/codemod/README.md +51 -0
  245. package/scripts/codemod/template.mjs +164 -0
  246. package/src/components/COMPONENT_LOOKUP.md +190 -0
  247. package/src/preset.css +168 -0
  248. package/src/styles/categorical.css +161 -0
  249. package/src/styles/glass.css +365 -0
  250. package/src/styles/primitive.css +161 -0
  251. package/src/styles/semantic.css +247 -0
  252. package/src/styles/typography.css +140 -0
  253. package/src/themes/README.md +44 -0
  254. package/src/themes/blue.css +21 -0
  255. package/src/themes/default.css +12 -0
  256. package/src/themes/green.css +22 -0
  257. package/src/themes/orange.css +21 -0
  258. package/src/themes/violet.css +22 -0
  259. package/templates/AGENTS.md +77 -0
  260. package/templates/CLAUDE.md +77 -0
  261. package/tokens.json +607 -0
@@ -0,0 +1,17 @@
1
+ interface SubNavItem {
2
+ label: string;
3
+ value: string;
4
+ badge?: number;
5
+ }
6
+ interface SubNavProps {
7
+ items: SubNavItem[];
8
+ value: string;
9
+ onChange: (value: string) => void;
10
+ variant?: "underline" | "chip";
11
+ /** スクロール時に上部に固定 */
12
+ sticky?: boolean;
13
+ className?: string;
14
+ }
15
+ declare function SubNav({ items, value, onChange, variant, sticky, className, }: SubNavProps): import("react/jsx-runtime").JSX.Element;
16
+ export { SubNav };
17
+ export type { SubNavProps, SubNavItem };
@@ -0,0 +1,4 @@
1
+ import * as React from "react";
2
+ import { Switch as SwitchPrimitive } from "radix-ui";
3
+ declare function Switch({ className, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ export { Switch };
@@ -0,0 +1,17 @@
1
+ export type SyncState = "idle" | "syncing" | "success" | "error" | "offline";
2
+ export interface SyncStatusBadgeProps {
3
+ state: SyncState;
4
+ /** エラー件数(state="error" のとき表示) */
5
+ errorCount?: number;
6
+ /** 再試行ボタン押下時のコールバック */
7
+ onRetry?: () => void;
8
+ /** i18n ラベル */
9
+ syncingLabel?: string;
10
+ successLabel?: string;
11
+ errorLabel?: (count: number) => string;
12
+ offlineLabel?: string;
13
+ retryLabel?: string;
14
+ className?: string;
15
+ }
16
+ declare function SyncStatusBadge({ state, errorCount, onRetry, syncingLabel, successLabel, errorLabel, offlineLabel, retryLabel, className, }: SyncStatusBadgeProps): import("react/jsx-runtime").JSX.Element;
17
+ export { SyncStatusBadge };
@@ -0,0 +1,15 @@
1
+ import * as React from "react";
2
+ import { Tabs as TabsPrimitive } from "radix-ui";
3
+ type TabsVariant = "default" | "pill";
4
+ declare function Tabs({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
+ declare function TabsList({ className, variant, ...props }: React.ComponentProps<typeof TabsPrimitive.List> & {
6
+ /**
7
+ * - "default": 角丸 lg のセグメント(パネル切替タブ)
8
+ * - "pill": 完全な丸。フィルタ/トグル的なセグメントコントロール。
9
+ * PillToggle はこの variant を内部利用する。
10
+ */
11
+ variant?: TabsVariant;
12
+ }): import("react/jsx-runtime").JSX.Element;
13
+ declare function TabsTrigger({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
14
+ declare function TabsContent({ className, ...props }: React.ComponentProps<typeof TabsPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
15
+ export { Tabs, TabsList, TabsTrigger, TabsContent };
@@ -0,0 +1,8 @@
1
+ import * as React from "react";
2
+ interface TextareaProps extends React.ComponentProps<"textarea"> {
3
+ /** 入力内容に合わせて高さを自動伸縮する */
4
+ autoGrow?: boolean;
5
+ }
6
+ declare function Textarea({ className, autoGrow, onChange, ...props }: TextareaProps): import("react/jsx-runtime").JSX.Element;
7
+ export { Textarea };
8
+ export type { TextareaProps };
@@ -0,0 +1,14 @@
1
+ export interface TimePickerProps {
2
+ /** "HH:mm" 形式の値。例: "09:30" */
3
+ value?: string;
4
+ onChange?: (time: string) => void;
5
+ placeholder?: string;
6
+ disabled?: boolean;
7
+ /** 分の刻み幅。@default 1 */
8
+ minuteStep?: number;
9
+ className?: string;
10
+ /** トリガーボタンの aria-label。@default placeholder */
11
+ triggerLabel?: string;
12
+ }
13
+ declare function TimePicker({ value, onChange, placeholder, disabled, minuteStep, className, triggerLabel, }: TimePickerProps): import("react/jsx-runtime").JSX.Element;
14
+ export { TimePicker };
@@ -0,0 +1,49 @@
1
+ import * as React from "react";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ declare const toastVariants: (props?: {
4
+ variant?: "default" | "success" | "info" | "warning" | "caution";
5
+ } & import("class-variance-authority/types").ClassProp) => string;
6
+ type ToastVariant = VariantProps<typeof toastVariants>["variant"];
7
+ interface ToastAction {
8
+ /** ボタンに表示するラベル */
9
+ label: string;
10
+ /** クリック時のコールバック。toast は自動で dismiss されない(必要なら自前で toast.dismiss(id) を呼ぶ)。 */
11
+ onClick: () => void;
12
+ }
13
+ interface Toast {
14
+ id: string;
15
+ title: string;
16
+ description?: string;
17
+ variant?: ToastVariant;
18
+ duration?: number;
19
+ action?: ToastAction;
20
+ }
21
+ interface ToastOptions {
22
+ description?: string;
23
+ variant?: ToastVariant;
24
+ duration?: number;
25
+ /**
26
+ * オプショナルなアクションボタン。指定時は toast 右側に表示。
27
+ * 「元に戻す」「再試行」「詳細」などの即時アクション用途。
28
+ */
29
+ action?: ToastAction;
30
+ }
31
+ interface ToastContextValue {
32
+ toast: (props: Omit<Toast, "id">) => void;
33
+ }
34
+ declare function useToast(): ToastContextValue;
35
+ declare function Toaster({ children }: {
36
+ children?: React.ReactNode;
37
+ }): import("react/jsx-runtime").JSX.Element;
38
+ interface ToastFn {
39
+ (title: string, options?: ToastOptions): string;
40
+ success: (title: string, options?: ToastOptions) => string;
41
+ error: (title: string, options?: ToastOptions) => string;
42
+ info: (title: string, options?: ToastOptions) => string;
43
+ warning: (title: string, options?: ToastOptions) => string;
44
+ caution: (title: string, options?: ToastOptions) => string;
45
+ dismiss: (id: string) => void;
46
+ }
47
+ declare const toast: ToastFn;
48
+ export { Toaster, useToast, toast, toastVariants };
49
+ export type { Toast, ToastVariant, ToastOptions, ToastFn, ToastAction };
@@ -0,0 +1,7 @@
1
+ import * as React from "react";
2
+ import { Tooltip as TooltipPrimitive } from "radix-ui";
3
+ declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
4
+ declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
+ declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
+ export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider };
@@ -0,0 +1,174 @@
1
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from "./components/ui/accordion";
2
+ export { Alert, AlertTitle, AlertDescription } from "./components/ui/alert";
3
+ export type { AlertVariant } from "./components/ui/alert";
4
+ export { AlertDialog, AlertDialogTrigger, AlertDialogPortal, AlertDialogOverlay, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, } from "./components/ui/alert-dialog";
5
+ export { Avatar, AvatarImage, AvatarFallback } from "./components/ui/avatar";
6
+ export { Badge, badgeVariants } from "./components/ui/badge";
7
+ export { Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, BreadcrumbEllipsis } from "./components/ui/breadcrumb";
8
+ export { Button, buttonVariants } from "./components/ui/button";
9
+ export { Card, CardHeader, CardTitle, CardDescription, CardAction, CardContent, CardFooter } from "./components/ui/card";
10
+ export { Checkbox } from "./components/ui/checkbox";
11
+ export { CheckboxCardGroup, CheckboxCardItem } from "./components/ui/checkbox-card";
12
+ export { CheckboxGroup, CheckboxGroupItem } from "./components/ui/checkbox-group";
13
+ export type { CheckboxGroupProps } from "./components/ui/checkbox-group";
14
+ export { CheckboxField } from "./components/ui/checkbox-field";
15
+ export type { CheckboxFieldProps } from "./components/ui/checkbox-field";
16
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent } from "./components/ui/collapsible";
17
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger } from "./components/ui/dialog";
18
+ export { Form, FormField as RhfFormField, FormItem, FormLabel, FormControl, FormDescription, FormMessage, useFormField, } from "./components/ui/form";
19
+ export { DropdownMenu, DropdownMenuPortal, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, } from "./components/ui/dropdown-menu";
20
+ export { HoverCard, HoverCardTrigger, HoverCardContent } from "./components/ui/hover-card";
21
+ export { Input } from "./components/ui/input";
22
+ export type { InputProps } from "./components/ui/input";
23
+ export { Calendar } from "./components/ui/calendar";
24
+ export type { CalendarProps } from "./components/ui/calendar";
25
+ export { DatePicker, DateRangePicker } from "./components/ui/date-picker";
26
+ export type { DatePickerProps, DateRangePickerProps } from "./components/ui/date-picker";
27
+ export { TimePicker } from "./components/ui/time-picker";
28
+ export type { TimePickerProps } from "./components/ui/time-picker";
29
+ export { Combobox } from "./components/ui/combobox";
30
+ export type { ComboboxProps, ComboboxOption } from "./components/ui/combobox";
31
+ export { MultiSelect } from "./components/ui/multi-select";
32
+ export type { MultiSelectProps, MultiSelectOption } from "./components/ui/multi-select";
33
+ export { Label } from "./components/ui/label";
34
+ export { Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PaginationEllipsis } from "./components/ui/pagination";
35
+ export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor } from "./components/ui/popover";
36
+ export { Progress } from "./components/ui/progress";
37
+ export type { ProgressProps } from "./components/ui/progress";
38
+ export { RadioGroup, RadioGroupItem } from "./components/ui/radio-group";
39
+ export { ScrollArea, ScrollBar } from "./components/ui/scroll-area";
40
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue } from "./components/ui/select";
41
+ export { Separator } from "./components/ui/separator";
42
+ export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, SheetDragIndicator } from "./components/ui/sheet";
43
+ export type { SheetProps, SheetContentProps, SnapPoint } from "./components/ui/sheet";
44
+ export { Skeleton } from "./components/ui/skeleton";
45
+ export type { SkeletonProps } from "./components/ui/skeleton";
46
+ export { ListSkeleton, GridSkeleton } from "./components/patterns/list-skeletons";
47
+ export type { ListSkeletonProps, GridSkeletonProps } from "./components/patterns/list-skeletons";
48
+ export { Slider } from "./components/ui/slider";
49
+ export { Spinner } from "./components/ui/spinner";
50
+ export { ErrorBoundary } from "./components/ui/error-boundary";
51
+ export type { ErrorBoundaryProps } from "./components/ui/error-boundary";
52
+ export type { SpinnerProps } from "./components/ui/spinner";
53
+ export { Switch } from "./components/ui/switch";
54
+ export { Tabs, TabsList, TabsTrigger, TabsContent } from "./components/ui/tabs";
55
+ export { Textarea } from "./components/ui/textarea";
56
+ export type { TextareaProps } from "./components/ui/textarea";
57
+ export { AutoGrowTextarea } from "./components/ui/auto-grow-textarea";
58
+ export type { AutoGrowTextareaProps } from "./components/ui/auto-grow-textarea";
59
+ export { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider } from "./components/ui/tooltip";
60
+ export { ProgressRing } from "./components/ui/progress-ring";
61
+ export type { ProgressRingProps } from "./components/ui/progress-ring";
62
+ export { NumberInput } from "./components/ui/number-input";
63
+ export type { NumberInputProps } from "./components/ui/number-input";
64
+ export { PillToggle } from "./components/ui/pill-toggle";
65
+ export type { PillToggleProps, PillToggleOption } from "./components/ui/pill-toggle";
66
+ export { StarRating } from "./components/ui/star-rating";
67
+ export type { StarRatingProps } from "./components/ui/star-rating";
68
+ export { CountdownTimer } from "./components/ui/countdown-timer";
69
+ export type { CountdownTimerProps } from "./components/ui/countdown-timer";
70
+ export { SubNav } from "./components/ui/sub-nav";
71
+ export type { SubNavProps, SubNavItem } from "./components/ui/sub-nav";
72
+ export { CoachMark } from "./components/ui/coach-mark";
73
+ export type { CoachMarkProps, CoachMarkPlacement, CoachMarkVariant } from "./components/ui/coach-mark";
74
+ export { CoachMarkOverlay, isCoachCompleted, markCoachCompleted, resetCoach } from "./components/patterns/coach-mark-overlay";
75
+ export type { CoachMarkOverlayProps, CoachStep } from "./components/patterns/coach-mark-overlay";
76
+ export { CookieConsent, isCookieDecided } from "./components/patterns/cookie-consent";
77
+ export type { CookieConsentProps, CookieConsentChoice } from "./components/patterns/cookie-consent";
78
+ export { SocialIcon, SOCIAL_ICON_PLATFORMS, SOCIAL_ICON_LABELS } from "./components/ui/social-icon";
79
+ export type { SocialIconProps, SocialIconTone } from "./components/ui/social-icon";
80
+ export { SocialLoginButton } from "./components/ui/social-login-button";
81
+ export type { SocialLoginButtonProps, SocialProvider } from "./components/ui/social-login-button";
82
+ export { ImageGallery } from "./components/ui/image-gallery";
83
+ export type { ImageGalleryProps, GalleryImage } from "./components/ui/image-gallery";
84
+ export { NavigationBar } from "./components/ui/navigation-bar";
85
+ export type { NavigationBarProps } from "./components/ui/navigation-bar";
86
+ export { AppHeader } from "./components/patterns/app-header";
87
+ export type { AppHeaderProps } from "./components/patterns/app-header";
88
+ export { TagInput } from "./components/patterns/tag-input";
89
+ export type { TagInputProps } from "./components/patterns/tag-input";
90
+ export { SwipeRow } from "./components/patterns/swipe-row";
91
+ export type { SwipeRowProps, SwipeAction } from "./components/patterns/swipe-row";
92
+ export { ConfirmDialog } from "./components/patterns/confirm-dialog";
93
+ export type { ConfirmDialogProps } from "./components/patterns/confirm-dialog";
94
+ export { BottomSheetForm } from "./components/patterns/bottom-sheet-form";
95
+ export type { BottomSheetFormProps } from "./components/patterns/bottom-sheet-form";
96
+ export { ChipSelector } from "./components/patterns/chip-selector";
97
+ export type { ChipSelectorProps, ChipSelectorOption } from "./components/patterns/chip-selector";
98
+ export { Banner, bannerVariants } from "./components/patterns/banner";
99
+ export { Chip, chipVariants } from "./components/patterns/chip";
100
+ export { EmptyState } from "./components/patterns/empty-state";
101
+ export { ErrorState } from "./components/patterns/error-state";
102
+ export { FormField } from "./components/patterns/form-field";
103
+ export { ListItem } from "./components/patterns/list-item";
104
+ export { NotificationBadge } from "./components/patterns/notification-badge";
105
+ export { ProgressSteps } from "./components/patterns/progress-steps";
106
+ export { SearchBar } from "./components/patterns/search-bar";
107
+ export { SectionHeader } from "./components/patterns/section-header";
108
+ export { StatCard } from "./components/patterns/stat-card";
109
+ export type { StatCardProps, StatCardVariant } from "./components/patterns/stat-card";
110
+ export { Tag, tagVariants } from "./components/patterns/tag";
111
+ export { ResponsiveDialog, ResponsiveDialogTrigger, ResponsiveDialogContent, ResponsiveDialogHeader, ResponsiveDialogTitle, ResponsiveDialogDescription, ResponsiveDialogFooter, ResponsiveDialogClose, useMediaQuery } from "./components/ui/responsive-dialog";
112
+ export { Toaster, useToast, toast } from "./components/ui/toast";
113
+ export type { Toast, ToastVariant, ToastOptions, ToastFn } from "./components/ui/toast";
114
+ export { AdminShell } from "./components/patterns/shells/admin-shell";
115
+ export { AppShell } from "./components/patterns/shells/app-shell";
116
+ export { MarketingShell } from "./components/patterns/shells/marketing-shell";
117
+ export { FormRoot, FormSection, FormActions } from "./components/patterns/form";
118
+ export { PriceDisplay, priceVariants } from "./components/patterns/commerce/price-display";
119
+ export { RatingDisplay } from "./components/patterns/commerce/rating-display";
120
+ export { QuantitySelector } from "./components/patterns/commerce/quantity-selector";
121
+ export { OrderSummary } from "./components/patterns/commerce/order-summary";
122
+ export { ProductCard } from "./components/patterns/commerce/product-card";
123
+ export type { ProductCardProps, ProductCardTag } from "./components/patterns/commerce/product-card";
124
+ export { ProductCarousel } from "./components/patterns/commerce/product-carousel";
125
+ export { ImageCarousel } from "./components/patterns/commerce/image-carousel";
126
+ export { BottomTabBar } from "./components/patterns/commerce/bottom-tab-bar";
127
+ export type { BottomTabBarItem, BottomTabBarProps } from "./components/patterns/commerce/bottom-tab-bar";
128
+ export { FilterBar } from "./components/patterns/commerce/filter-bar";
129
+ export { ReviewCard } from "./components/patterns/commerce/review-card";
130
+ export type { ReviewCardProps } from "./components/patterns/commerce/review-card";
131
+ export { ReviewSummary } from "./components/patterns/commerce/review-summary";
132
+ export type { ReviewSummaryProps } from "./components/patterns/commerce/review-summary";
133
+ export { KebabMenu } from "./components/patterns/admin/kebab-menu";
134
+ export type { KebabMenuItem } from "./components/patterns/admin/kebab-menu";
135
+ export { BulkActions } from "./components/patterns/admin/bulk-actions";
136
+ export type { BulkActionsProps } from "./components/patterns/admin/bulk-actions";
137
+ export { StatusTabs } from "./components/patterns/admin/status-tabs";
138
+ export type { StatusTabItem } from "./components/patterns/admin/status-tabs";
139
+ export { SearchPanel } from "./components/patterns/admin/search-panel";
140
+ export { ImageUploader } from "./components/patterns/admin/image-uploader";
141
+ export { FileUpload } from "./components/patterns/file-upload";
142
+ export type { FileUploadProps, UploadedFile } from "./components/patterns/file-upload";
143
+ export { NotificationList } from "./components/patterns/admin/notification-list";
144
+ export { ChartControls } from "./components/patterns/admin/chart-controls";
145
+ export type { ChartControlsProps, Granularity, Period } from "./components/patterns/admin/chart-controls";
146
+ export type { NotificationItem } from "./components/patterns/admin/notification-list";
147
+ export { DataTable, DataTableTable, DataTableHeader, DataTableBody, DataTableRow, DataTableHead, DataTableCell, DataTableAvatarCell, DataTableImageCell, DataTableCheckboxCell, DataTableActionCell, DataTableInputCell, DataTableSelectCell, DataTableNumberCell, DataTableDragHandleCell, DataTableLinkCell, DataTableBulkActions, DataTableSectionRow, DataTableAddRow, DataTableEmptyState, } from "./components/patterns/admin/data-table";
148
+ export { getStickyCellProps } from "./components/patterns/admin/data-table";
149
+ export type { SortDirection, DataTableActionMenuItem, StickyPosition } from "./components/patterns/admin/data-table";
150
+ export { SimplePagination } from "./components/patterns/simple-pagination";
151
+ export type { SimplePaginationProps, SimplePaginationFormat } from "./components/patterns/simple-pagination";
152
+ export { MenuDrawer } from "./components/patterns/menu-drawer";
153
+ export type { MenuDrawerProps, MenuDrawerSection, MenuDrawerItem } from "./components/patterns/menu-drawer";
154
+ export { Footer } from "./components/patterns/footer";
155
+ export type { FooterProps, FooterLinkGroup } from "./components/patterns/footer";
156
+ export { ShareButtons } from "./components/patterns/share-buttons";
157
+ export type { ShareButtonsProps, ShareProvider, ShareLayout } from "./components/patterns/share-buttons";
158
+ export { BannerCarousel } from "./components/patterns/banner-carousel";
159
+ export type { BannerCarouselProps, BannerItem } from "./components/patterns/banner-carousel";
160
+ export { StickyActionBar } from "./components/patterns/sticky-action-bar";
161
+ export type { StickyActionBarProps } from "./components/patterns/sticky-action-bar";
162
+ export { CategoryNav } from "./components/patterns/category-nav";
163
+ export type { CategoryNavItem, CategoryNavProps } from "./components/patterns/category-nav";
164
+ export { CategoryScroll } from "./components/patterns/category-scroll";
165
+ export type { CategoryScrollItem, CategoryScrollProps } from "./components/patterns/category-scroll";
166
+ export { SyncStatusBadge } from "./components/ui/sync-status-badge";
167
+ export type { SyncStatusBadgeProps, SyncState } from "./components/ui/sync-status-badge";
168
+ export { DropdownFilter } from "./components/ui/dropdown-filter";
169
+ export type { DropdownFilterProps, DropdownFilterOption } from "./components/ui/dropdown-filter";
170
+ export { FilterChip } from "./components/patterns/filter-chip";
171
+ export type { FilterChipProps } from "./components/patterns/filter-chip";
172
+ export { ReviewOverlay } from "./components/patterns/review-overlay";
173
+ export type { ReviewOverlayProps, ReviewPin } from "./components/patterns/review-overlay";
174
+ export { cn } from "./lib/utils";
@@ -0,0 +1,20 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ /**
3
+ * Button の className 生成器(pure cva)。
4
+ *
5
+ * このファイルは **React に依存しない**。Button コンポーネント (button.tsx)
6
+ * と、Server Component 向けの再エクスポート (src/class-names.ts) の両方から
7
+ * 参照される。React フックを含むファイルから export すると "use client" 境界に
8
+ * 巻き込まれて Server Component から import できなくなるため、純粋な variants
9
+ * 定義はここに集約する。
10
+ *
11
+ * 変更時は button.tsx の Button コンポーネントの見た目に直接影響する。
12
+ */
13
+ declare const buttonVariants: (props?: {
14
+ variant?: "link" | "default" | "secondary" | "secondary-switch" | "tertiary" | "ghost" | "destructive" | "glass" | "accent" | "inverse" | "ghost-inverse";
15
+ size?: "match" | "default" | "icon" | "xs" | "sm" | "lg" | "xl" | "hero" | "icon-sm" | "icon-lg" | "icon-xl";
16
+ layout?: "horizontal" | "vertical";
17
+ } & import("class-variance-authority/types").ClassProp) => string;
18
+ type ButtonVariantsProps = VariantProps<typeof buttonVariants>;
19
+ export { buttonVariants };
20
+ export type { ButtonVariantsProps };
@@ -0,0 +1,2 @@
1
+ import { type ClassValue } from "clsx";
2
+ export declare function cn(...inputs: ClassValue[]): string;
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ export interface AccordionItem {
3
+ key: string;
4
+ title: string;
5
+ content: React.ReactNode;
6
+ }
7
+ export interface AccordionProps {
8
+ items: AccordionItem[];
9
+ type?: "single" | "multiple";
10
+ defaultOpenKeys?: string[];
11
+ }
12
+ export declare function Accordion({ items, type, defaultOpenKeys }: AccordionProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ export type AlertTone = "info" | "success" | "warning" | "caution";
3
+ export interface AlertProps {
4
+ tone?: AlertTone;
5
+ title?: string;
6
+ description?: string;
7
+ children?: React.ReactNode;
8
+ }
9
+ export declare function Alert({ tone, title, description, children }: AlertProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ export interface AlertDialogProps {
2
+ open: boolean;
3
+ onClose: () => void;
4
+ title: string;
5
+ description?: string;
6
+ confirmLabel?: string;
7
+ cancelLabel?: string;
8
+ onConfirm?: () => void;
9
+ destructive?: boolean;
10
+ }
11
+ export declare function AlertDialog({ open, onClose, title, description, confirmLabel, cancelLabel, onConfirm, destructive, }: AlertDialogProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ export interface AppHeaderProps {
3
+ title?: string;
4
+ subtitle?: string;
5
+ leading?: React.ReactNode;
6
+ trailing?: React.ReactNode;
7
+ onBack?: () => void;
8
+ centered?: boolean;
9
+ }
10
+ export declare function AppHeader({ title, subtitle, leading, trailing, onBack, centered }: AppHeaderProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ export interface AppShellProps {
3
+ header?: React.ReactNode;
4
+ footer?: React.ReactNode;
5
+ bottomNav?: React.ReactNode;
6
+ scrollable?: boolean;
7
+ children: React.ReactNode;
8
+ }
9
+ /**
10
+ * モバイルアプリの基本シェル。Header / Body / BottomNav の三段重ね。
11
+ * 上下のSafeAreaは AppHeader / NavigationBar 側で取っている前提。
12
+ */
13
+ export declare function AppShell({ header, footer, bottomNav, scrollable, children, }: AppShellProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { type TextInputProps } from "react-native";
2
+ export interface AutoGrowTextareaProps extends Omit<TextInputProps, "style" | "multiline"> {
3
+ invalid?: boolean;
4
+ disabled?: boolean;
5
+ minHeight?: number;
6
+ maxHeight?: number;
7
+ }
8
+ export declare function AutoGrowTextarea({ invalid, disabled, minHeight, maxHeight, ...rest }: AutoGrowTextareaProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { type ImageSourcePropType } from "react-native";
2
+ export type AvatarSize = "sm" | "md" | "lg" | "xl";
3
+ export interface AvatarProps {
4
+ source?: ImageSourcePropType;
5
+ fallback?: string;
6
+ size?: AvatarSize;
7
+ }
8
+ export declare function Avatar({ source, fallback, size }: AvatarProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export type BadgeTone = "neutral" | "accent" | "success" | "caution" | "warning" | "info";
3
+ export interface BadgeProps {
4
+ tone?: BadgeTone;
5
+ children: React.ReactNode;
6
+ }
7
+ /** status / accent を surface + text トークンで塗り分けるピル。 */
8
+ export declare function Badge({ tone, children }: BadgeProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import { type ImageSourcePropType } from "react-native";
2
+ export interface BannerProps {
3
+ title?: string;
4
+ description?: string;
5
+ image?: ImageSourcePropType;
6
+ onPress?: () => void;
7
+ tone?: "neutral" | "accent" | "success" | "warning" | "caution";
8
+ height?: number;
9
+ }
10
+ export declare function Banner({ title, description, image, onPress, tone, height }: BannerProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { type BannerProps } from "./Banner";
2
+ export interface BannerCarouselProps {
3
+ banners: BannerProps[];
4
+ itemWidth?: number;
5
+ height?: number;
6
+ showIndicator?: boolean;
7
+ }
8
+ export declare function BannerCarousel({ banners, itemWidth, height, showIndicator, }: BannerCarouselProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ export interface BottomSheetFormProps {
3
+ open: boolean;
4
+ onClose: () => void;
5
+ title: string;
6
+ description?: string;
7
+ footer?: React.ReactNode;
8
+ children: React.ReactNode;
9
+ }
10
+ export declare function BottomSheetForm({ open, onClose, title, description, footer, children, }: BottomSheetFormProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { type NavigationBarItem } from "./NavigationBar";
2
+ export interface BottomTabBarProps {
3
+ items: NavigationBarItem[];
4
+ value?: string;
5
+ onChange?: (key: string) => void;
6
+ }
7
+ /** commerce 系の TabBar。中身は NavigationBar とほぼ同じ。 */
8
+ export declare function BottomTabBar(props: BottomTabBarProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ export interface BreadcrumbProps {
3
+ title: string;
4
+ onBack?: () => void;
5
+ backLabel?: string;
6
+ rightSlot?: React.ReactNode;
7
+ }
8
+ /**
9
+ * Webの Breadcrumb を RN の BackHeader 風に意味変換。
10
+ * モバイルでは多段ナビパンくずは無いので「← 戻る・タイトル」の最小形に。
11
+ */
12
+ export declare function Breadcrumb({ title, onBack, backLabel, rightSlot }: BreadcrumbProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ import { type PressableProps } from "react-native";
3
+ export type ButtonVariant = "primary" | "secondary" | "tertiary" | "destructive" | "glass";
4
+ export interface ButtonProps extends Omit<PressableProps, "children" | "style"> {
5
+ variant?: ButtonVariant;
6
+ children: React.ReactNode;
7
+ }
8
+ /** variant を semantic トークン(brand / active / caution / border)で表現するボタン。 */
9
+ export declare function Button({ variant, children, ...rest }: ButtonProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export interface CalendarProps {
2
+ value?: Date;
3
+ onChange?: (date: Date) => void;
4
+ minDate?: Date;
5
+ maxDate?: Date;
6
+ locale?: "ja" | "en";
7
+ }
8
+ export declare function Calendar({ value, onChange, minDate, maxDate, locale }: CalendarProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import React from "react";
2
+ import { type ViewProps } from "react-native";
3
+ export interface CardProps extends ViewProps {
4
+ /** spacing.scale のインデックス。既定 4 = 16px */
5
+ padding?: number;
6
+ /** shadow トークン名。web は boxShadow、iOS は shadow*、Android は elevation を適用 */
7
+ elevation?: "sm" | "md" | "lg";
8
+ children: React.ReactNode;
9
+ }
10
+ /** surface.primary 面 + border.low-emphasis の標準カード。 */
11
+ export declare function Card({ padding, elevation, style, children, ...rest }: CardProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ export interface CategoryNavItem {
3
+ key: string;
4
+ label: string;
5
+ icon?: React.ReactNode;
6
+ }
7
+ export interface CategoryNavProps {
8
+ items: CategoryNavItem[];
9
+ value?: string;
10
+ onChange?: (key: string) => void;
11
+ }
12
+ /** 横並び・固定で表示するカテゴリナビ。スクロール可能。 */
13
+ export declare function CategoryNav({ items, value, onChange }: CategoryNavProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ export interface CategoryScrollItem {
2
+ key: string;
3
+ label: string;
4
+ count?: number;
5
+ }
6
+ export interface CategoryScrollProps {
7
+ items: CategoryScrollItem[];
8
+ value?: string;
9
+ onChange?: (key: string) => void;
10
+ }
11
+ /** Pill 形のカテゴリ横スクロール。CategoryNav と違い見た目はテキストチップ。 */
12
+ export declare function CategoryScroll({ items, value, onChange }: CategoryScrollProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export interface CheckboxProps {
2
+ checked?: boolean;
3
+ onChange?: (checked: boolean) => void;
4
+ disabled?: boolean;
5
+ size?: number;
6
+ }
7
+ export declare function Checkbox({ checked, onChange, disabled, size }: CheckboxProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export interface CheckboxCardProps {
2
+ checked?: boolean;
3
+ onChange?: (checked: boolean) => void;
4
+ disabled?: boolean;
5
+ title: string;
6
+ description?: string;
7
+ }
8
+ export declare function CheckboxCard({ checked, onChange, disabled, title, description, }: CheckboxCardProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,8 @@
1
+ export interface CheckboxFieldProps {
2
+ checked?: boolean;
3
+ onChange?: (checked: boolean) => void;
4
+ disabled?: boolean;
5
+ label: string;
6
+ description?: string;
7
+ }
8
+ export declare function CheckboxField({ checked, onChange, disabled, label, description, }: CheckboxFieldProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ export interface CheckboxGroupOption {
2
+ value: string;
3
+ label: string;
4
+ description?: string;
5
+ }
6
+ export interface CheckboxGroupProps {
7
+ options: CheckboxGroupOption[];
8
+ values?: string[];
9
+ onChange?: (values: string[]) => void;
10
+ disabled?: boolean;
11
+ }
12
+ export declare function CheckboxGroup({ options, values, onChange, disabled }: CheckboxGroupProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,17 @@
1
+ import React from "react";
2
+ import { type PressableProps } from "react-native";
3
+ export type ChipVariant = "filled" | "accent" | "outline";
4
+ export type ChipSize = "sm" | "md" | "lg";
5
+ export type ChipShape = "pill" | "square";
6
+ export interface ChipProps extends Omit<PressableProps, "children" | "style"> {
7
+ variant?: ChipVariant;
8
+ size?: ChipSize;
9
+ shape?: ChipShape;
10
+ selected?: boolean;
11
+ disabled?: boolean;
12
+ count?: number;
13
+ removable?: boolean;
14
+ onRemove?: () => void;
15
+ children?: React.ReactNode;
16
+ }
17
+ export declare function Chip({ variant, size, shape, selected, disabled, count, removable, onRemove, children, ...rest }: ChipProps): import("react/jsx-runtime").JSX.Element;