wimui 0.72.0 → 0.74.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/WimProvider.d.ts +5 -0
- package/dist/components/_internal/FeedbackCloseButton.cjs +1 -1
- package/dist/components/_internal/FeedbackCloseButton.d.ts +2 -1
- package/dist/components/_internal/FeedbackCloseButton.js +27 -15
- package/dist/components/_internal/OverlayBase.cjs +1 -1
- package/dist/components/_internal/OverlayBase.js +34 -38
- package/dist/components/_internal/bodyScrollLock.cjs +2 -0
- package/dist/components/_internal/bodyScrollLock.d.ts +11 -0
- package/dist/components/_internal/bodyScrollLock.js +29 -0
- package/dist/components/_internal/choice-label.module.cjs +1 -1
- package/dist/components/_internal/choice-label.module.js +1 -1
- package/dist/components/_internal/focusHandoff.cjs +2 -0
- package/dist/components/_internal/focusHandoff.d.ts +9 -0
- package/dist/components/_internal/focusHandoff.js +20 -0
- package/dist/components/_internal/useAnnounce.d.ts +18 -1
- package/dist/components/_internal/weekStart.cjs +2 -0
- package/dist/components/_internal/weekStart.d.ts +6 -0
- package/dist/components/_internal/weekStart.js +18 -0
- package/dist/components/ai/AIResponseFeedback/airesponse-feedback.module.cjs +1 -1
- package/dist/components/ai/AIResponseFeedback/airesponse-feedback.module.js +1 -1
- package/dist/components/ai/AgentStatus/agent-status.module.cjs +1 -1
- package/dist/components/ai/AgentStatus/agent-status.module.js +3 -3
- package/dist/components/ai/CodeDiffViewer/code-diff-viewer.module.cjs +1 -1
- package/dist/components/ai/CodeDiffViewer/code-diff-viewer.module.js +2 -2
- package/dist/components/ai/StreamingText/streaming-text.module.cjs +1 -1
- package/dist/components/ai/StreamingText/streaming-text.module.js +1 -1
- package/dist/components/ai/ThoughtProcess/thought-process.module.cjs +1 -1
- package/dist/components/ai/ThoughtProcess/thought-process.module.js +4 -4
- package/dist/components/ai/ThreadList/ThreadList.cjs +1 -1
- package/dist/components/ai/ThreadList/ThreadList.js +80 -72
- package/dist/components/ai/ThreadList/thread-list.module.cjs +1 -1
- package/dist/components/ai/ThreadList/thread-list.module.js +8 -8
- package/dist/components/ai/UsageMeter/usage-meter.module.cjs +1 -1
- package/dist/components/ai/UsageMeter/usage-meter.module.js +1 -1
- package/dist/components/charts/GanttChart/GanttChart.cjs +1 -1
- package/dist/components/charts/GanttChart/GanttChart.js +1 -2
- package/dist/components/charts/GanttChart/gantt-chart.module.cjs +1 -1
- package/dist/components/charts/GanttChart/gantt-chart.module.js +1 -1
- package/dist/components/data-display/AvatarGroup/AvatarGroup.cjs +1 -1
- package/dist/components/data-display/AvatarGroup/AvatarGroup.js +5 -5
- package/dist/components/data-display/Calendar/Calendar.cjs +1 -1
- package/dist/components/data-display/Calendar/Calendar.d.ts +1 -1
- package/dist/components/data-display/Calendar/Calendar.js +261 -142
- package/dist/components/data-display/Calendar/RangeCalendar.d.ts +2 -1
- package/dist/components/data-display/Calendar/calendar.module.cjs +1 -1
- package/dist/components/data-display/Calendar/calendar.module.js +16 -13
- package/dist/components/data-display/Calendar/useCalendar.d.ts +5 -1
- package/dist/components/data-display/CalendarHeatmap/calendar-heatmap.module.cjs +1 -1
- package/dist/components/data-display/CalendarHeatmap/calendar-heatmap.module.js +1 -1
- package/dist/components/data-display/Carousel/carousel.module.cjs +1 -1
- package/dist/components/data-display/Carousel/carousel.module.js +1 -1
- package/dist/components/data-display/InfiniteScroll/InfiniteScroll.cjs +1 -1
- package/dist/components/data-display/InfiniteScroll/InfiniteScroll.js +4 -4
- package/dist/components/data-display/JsonViewer/JsonViewer.cjs +1 -1
- package/dist/components/data-display/JsonViewer/JsonViewer.js +5 -1
- package/dist/components/data-display/Kanban/Kanban.cjs +1 -1
- package/dist/components/data-display/Kanban/Kanban.d.ts +4 -1
- package/dist/components/data-display/Kanban/Kanban.js +142 -97
- package/dist/components/data-display/Kanban/kanban.module.cjs +1 -1
- package/dist/components/data-display/Kanban/kanban.module.js +7 -6
- package/dist/components/data-display/Reaction/reaction.module.cjs +1 -1
- package/dist/components/data-display/Reaction/reaction.module.js +1 -1
- package/dist/components/data-display/SwipeAction/SwipeAction.cjs +1 -1
- package/dist/components/data-display/SwipeAction/SwipeAction.js +75 -74
- package/dist/components/data-display/Table/useTableSort.d.ts +9 -3
- package/dist/components/data-display/Timeline/timeline.module.cjs +1 -1
- package/dist/components/data-display/Timeline/timeline.module.js +1 -1
- package/dist/components/data-display/TreeDiagram/tree-diagram.module.cjs +1 -1
- package/dist/components/data-display/TreeDiagram/tree-diagram.module.js +9 -9
- package/dist/components/data-display/TreeView/tree-view.module.cjs +1 -1
- package/dist/components/data-display/TreeView/tree-view.module.js +9 -9
- package/dist/components/feedback/Alert/Alert.d.ts +1 -1
- package/dist/components/feedback/Banner/Banner.d.ts +1 -1
- package/dist/components/feedback/Indicator/indicator.module.cjs +1 -1
- package/dist/components/feedback/Indicator/indicator.module.js +6 -6
- package/dist/components/feedback/Loader/loader.module.cjs +1 -1
- package/dist/components/feedback/Loader/loader.module.js +4 -4
- package/dist/components/feedback/Notification/Notification.d.ts +14 -1
- package/dist/components/feedback/Progress/progress.module.cjs +1 -1
- package/dist/components/feedback/Progress/progress.module.js +2 -2
- package/dist/components/feedback/Snackbar/Snackbar.d.ts +14 -0
- package/dist/components/feedback/Toast/Toast.cjs +1 -1
- package/dist/components/feedback/Toast/Toast.d.ts +14 -1
- package/dist/components/feedback/Toast/Toast.js +42 -27
- package/dist/components/form/ColorPicker/ColorPicker.cjs +1 -1
- package/dist/components/form/ColorPicker/ColorPicker.d.ts +38 -1
- package/dist/components/form/ColorPicker/ColorPicker.js +75 -15
- package/dist/components/form/ColorPicker/color-picker.module.cjs +1 -1
- package/dist/components/form/ColorPicker/color-picker.module.js +8 -2
- package/dist/components/form/CopyButton/CopyButton.cjs +1 -1
- package/dist/components/form/CopyButton/CopyButton.js +1 -1
- package/dist/components/form/InputBase/InputBase.cjs +1 -1
- package/dist/components/form/InputBase/InputBase.js +3 -1
- package/dist/components/form/NumberInput/NumberInput.cjs +1 -1
- package/dist/components/form/NumberInput/NumberInput.d.ts +1 -1
- package/dist/components/form/NumberInput/NumberInput.js +18 -16
- package/dist/components/form/QueryBuilder/QueryBuilder.cjs +1 -1
- package/dist/components/form/QueryBuilder/QueryBuilder.js +8 -7
- package/dist/components/form/Radio/radio.module.cjs +1 -1
- package/dist/components/form/Radio/radio.module.js +1 -1
- package/dist/components/form/RangeSlider/range-slider.module.cjs +1 -1
- package/dist/components/form/RangeSlider/range-slider.module.js +1 -1
- package/dist/components/form/SegmentedControl/segmented-control.module.cjs +1 -1
- package/dist/components/form/SegmentedControl/segmented-control.module.js +1 -1
- package/dist/components/form/Slider/slider.module.cjs +1 -1
- package/dist/components/form/Slider/slider.module.js +1 -1
- package/dist/components/form/Switch/switch.module.cjs +1 -1
- package/dist/components/form/Switch/switch.module.js +1 -1
- package/dist/components/form/ThemeToggle/theme-toggle.module.cjs +1 -1
- package/dist/components/form/ThemeToggle/theme-toggle.module.js +1 -1
- package/dist/components/form/ToggleGroup/toggle-group.module.cjs +1 -1
- package/dist/components/form/ToggleGroup/toggle-group.module.js +1 -1
- package/dist/components/layout/Dashboard/Dashboard.cjs +1 -1
- package/dist/components/layout/Dashboard/Dashboard.js +70 -68
- package/dist/components/media/ImageCompare/image-compare.module.cjs +1 -1
- package/dist/components/media/ImageCompare/image-compare.module.js +6 -6
- package/dist/components/media/Lightbox/Lightbox.cjs +1 -1
- package/dist/components/media/Lightbox/Lightbox.d.ts +0 -13
- package/dist/components/media/Lightbox/Lightbox.js +1 -1
- package/dist/components/navigation/Anchor/anchor.module.cjs +1 -1
- package/dist/components/navigation/Anchor/anchor.module.js +1 -1
- package/dist/components/navigation/HamburgerMenu/hamburger-menu.module.cjs +1 -1
- package/dist/components/navigation/HamburgerMenu/hamburger-menu.module.js +1 -1
- package/dist/components/navigation/Pagination/pagination.module.cjs +1 -1
- package/dist/components/navigation/Pagination/pagination.module.js +6 -6
- package/dist/components/navigation/TabNavigation/tab-navigation.module.cjs +1 -1
- package/dist/components/navigation/TabNavigation/tab-navigation.module.js +1 -1
- package/dist/components/navigation/Tabs/tabs.module.cjs +1 -1
- package/dist/components/navigation/Tabs/tabs.module.js +1 -1
- package/dist/components/overlay/BottomSheet/bottom-sheet.module.cjs +1 -1
- package/dist/components/overlay/BottomSheet/bottom-sheet.module.js +1 -1
- package/dist/components/overlay/Dialog/Dialog.cjs +1 -1
- package/dist/components/overlay/Dialog/Dialog.d.ts +0 -9
- package/dist/components/overlay/Dialog/Dialog.js +1 -1
- package/dist/components/overlay/Drawer/Drawer.cjs +1 -1
- package/dist/components/overlay/Drawer/Drawer.d.ts +0 -10
- package/dist/components/overlay/Drawer/Drawer.js +1 -1
- package/dist/components/overlay/Tooltip/Tooltip.cjs +1 -1
- package/dist/components/overlay/Tooltip/Tooltip.js +99 -65
- package/dist/hooks/useAutoResize.d.ts +8 -2
- package/dist/i18n/generated/data-display.cjs +1 -1
- package/dist/i18n/generated/data-display.d.ts +1 -1
- package/dist/i18n/generated/data-display.js +36 -3
- package/dist/i18n/generated/form.cjs +1 -1
- package/dist/i18n/generated/form.d.ts +1 -1
- package/dist/i18n/generated/form.js +6 -3
- package/dist/i18n/instance.cjs +1 -1
- package/dist/i18n/instance.d.ts +6 -0
- package/dist/i18n/instance.js +21 -18
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +232 -231
- package/dist/llms/Alert.md +1 -1
- package/dist/llms/Banner.md +1 -1
- package/dist/llms/Calendar.md +2 -2
- package/dist/llms/ColorPicker.md +3 -1
- package/dist/llms/Kanban.md +2 -2
- package/dist/llms/Notification.md +1 -1
- package/dist/llms/NumberInput.md +1 -1
- package/dist/llms/RangeCalendar.md +1 -1
- package/dist/llms/Switch.md +1 -1
- package/dist/llms/Toast.md +1 -1
- package/dist/llms-full.txt +111 -9
- package/dist/llms.txt +17 -1
- package/dist/locales/en/data-display.json +12 -1
- package/dist/locales/en/form.json +3 -0
- package/dist/locales/ja/data-display.json +12 -1
- package/dist/locales/ja/form.json +3 -0
- package/dist/locales/pt/data-display.json +12 -1
- package/dist/locales/pt/form.json +3 -0
- package/dist/media.cjs +1 -1
- package/dist/media.js +4 -4
- package/dist/overlay.cjs +1 -1
- package/dist/overlay.js +11 -11
- package/dist/styles.css +1 -1
- package/dist/wimui.umd.css +1 -1
- package/dist/wimui.umd.js +5 -5
- package/package.json +10 -7
package/dist/llms/Calendar.md
CHANGED
|
@@ -17,7 +17,7 @@ import { Calendar } from "wimui/data-display";
|
|
|
17
17
|
- `maxDate: Date` — Latest selectable date
|
|
18
18
|
- `disabledDates: Date[]` — Dates that cannot be selected
|
|
19
19
|
- `isDateDisabled: (date: Date) => boolean` — Function returning whether a given date is disabled
|
|
20
|
-
- `weekStartsOn: 0 | 1`
|
|
20
|
+
- `weekStartsOn: 0 | 1` — First day of the week (0 = Sunday, 1 = Monday). In `Calendar`, it defaults to the locale's first day (`en-GB` and `de` start on Monday; a locale that starts on Saturday, or a browser without `Intl.Locale` week info, falls back to Sunday).
|
|
21
21
|
- `className: string` — Additional class names
|
|
22
22
|
- `disabled: boolean` = false — Whether the calendar is disabled
|
|
23
23
|
- `onChange: (date: Date) => void` — Callback when a date is selected (single mode)
|
|
@@ -28,7 +28,7 @@ import { Calendar } from "wimui/data-display";
|
|
|
28
28
|
|
|
29
29
|
## Design tokens it reads
|
|
30
30
|
|
|
31
|
-
`--wim-border-width-thin`, `--wim-calendar-day-height`, `--wim-calendar-nav-size`, `--wim-calendar-weekday-height`, `--wim-calendar-width`, `--wim-color-line`, `--wim-color-primary`, `--wim-color-surface`, `--wim-color-surface-hover`, `--wim-color-surface-variant-alpha`, `--wim-color-text-accent`, `--wim-color-text-danger`, `--wim-color-text-disabled`, `--wim-color-text-info`, `--wim-color-text-on-primary`, `--wim-color-text-primary`, `--wim-color-text-secondary`, `--wim-color-text-tertiary`, `--wim-duration-base`, `--wim-easing-standard`, `--wim-font-family-default`, `--wim-font-size-md`, `--wim-font-size-xs`, `--wim-font-weight-bold`, `--wim-font-weight-semibold`, `--wim-height-xs`, `--wim-opacity-disabled`, `--wim-radius-component`, `--wim-radius-sm`, `--wim-spacing-3xs`, `--wim-spacing-5xl`, `--wim-spacing-md`, `--wim-spacing-xs`, `--wim-tap-target-min`, `--wim-transition-fast`
|
|
31
|
+
`--wim-border-width-thin`, `--wim-calendar-day-height`, `--wim-calendar-nav-size`, `--wim-calendar-weekday-height`, `--wim-calendar-width`, `--wim-color-line`, `--wim-color-primary`, `--wim-color-surface`, `--wim-color-surface-hover`, `--wim-color-surface-variant-alpha`, `--wim-color-text-accent`, `--wim-color-text-danger`, `--wim-color-text-disabled`, `--wim-color-text-info`, `--wim-color-text-on-primary`, `--wim-color-text-primary`, `--wim-color-text-secondary`, `--wim-color-text-tertiary`, `--wim-duration-base`, `--wim-easing-standard`, `--wim-font-family-default`, `--wim-font-size-md`, `--wim-font-size-xs`, `--wim-font-weight-bold`, `--wim-font-weight-semibold`, `--wim-height-md`, `--wim-height-xs`, `--wim-opacity-disabled`, `--wim-radius-component`, `--wim-radius-sm`, `--wim-spacing-2xs`, `--wim-spacing-3xs`, `--wim-spacing-5xl`, `--wim-spacing-md`, `--wim-spacing-sm`, `--wim-spacing-xs`, `--wim-tap-target-min`, `--wim-transition-fast`
|
|
32
32
|
|
|
33
33
|
---
|
|
34
34
|
Setup, composition rules and the full catalog: `llms.txt` / `llms-full.txt` in the same package.
|
package/dist/llms/ColorPicker.md
CHANGED
|
@@ -14,6 +14,8 @@ import { ColorPicker } from "wimui/form";
|
|
|
14
14
|
- `intent: "default" | "danger"` = "default" — Semantic intent of the field (e.g. error state)
|
|
15
15
|
- `variant: "outline" | "ghost"` = "outline" — Visual style variant of the field
|
|
16
16
|
- `fullWidth: boolean` = false — Whether to take full width of parent
|
|
17
|
+
- `swatches: ColorPickerSwatch[]` — Preset colors shown next to the field. Choosing one sets it as the value and fires `onChange` like the native picker does. Use `#rrggbb` (or `#rgb`). Name the field with the `label` prop rather than wrapping it in a `<label>`: the swatch buttons inside a `<label>` would be read as part of the field's name. With react-hook-form, use `Controller` rather than `register` if the form is reset: `reset()` writes the input without an event, so the selected swatch would not follow until the next change.
|
|
18
|
+
- `swatchesLabel: string` — Accessible name of the swatch group
|
|
17
19
|
- `leftIcon: React.ComponentProps<typeof Icon>["name"]` — Icon name to display on the left side
|
|
18
20
|
- `rightIcon: React.ComponentProps<typeof Icon>["name"]` — Icon name to display on the right side
|
|
19
21
|
- `leftIconColor: React.ComponentProps<typeof Icon>["color"]` — Color of the left icon
|
|
@@ -40,7 +42,7 @@ import { ColorPicker } from "wimui/form";
|
|
|
40
42
|
|
|
41
43
|
## Design tokens it reads
|
|
42
44
|
|
|
43
|
-
`--wim-height-md`, `--wim-radius-sm`
|
|
45
|
+
`--wim-border-width-thick`, `--wim-border-width-thin`, `--wim-color-border`, `--wim-color-focus-outline`, `--wim-color-surface`, `--wim-color-text-primary`, `--wim-height-md`, `--wim-opacity-disabled`, `--wim-radius-sm`, `--wim-spacing-sm`, `--wim-spacing-xs`, `--wim-swatch-fill`, `--wim-tap-target-min`
|
|
44
46
|
|
|
45
47
|
---
|
|
46
48
|
Setup, composition rules and the full catalog: `llms.txt` / `llms-full.txt` in the same package.
|
package/dist/llms/Kanban.md
CHANGED
|
@@ -14,12 +14,12 @@ import { Kanban } from "wimui/data-display";
|
|
|
14
14
|
- `columns: KanbanColumnData[]` — Kanban column data (for prop-driven usage).
|
|
15
15
|
- `onMove: (itemId: string, fromColumnId: string, toColumnId: string) => void` — Callback when a card is moved.
|
|
16
16
|
- `onCardMove: (itemId: string, fromColumnId: string, toColumnId: string) => void` — Callback when a card is moved (legacy / alternative name).
|
|
17
|
-
- `forceMobileUI: boolean` = false — Whether to force the touch-device UI.
|
|
17
|
+
- `forceMobileUI: boolean` = false — Whether to force the touch-device UI (the move button as a full-width bar under each card). Without it, pointer devices show the move button in the card's corner on hover or focus.
|
|
18
18
|
- `asChild: boolean` = false — Whether to render as a child element.
|
|
19
19
|
|
|
20
20
|
## Design tokens it reads
|
|
21
21
|
|
|
22
|
-
`--wim-border-width-thin`, `--wim-color-border`, `--wim-color-primary`, `--wim-color-surface`, `--wim-color-surface-hover`, `--wim-color-surface-subtle`, `--wim-color-surface-variant`, `--wim-color-text-primary`, `--wim-color-text-secondary`, `--wim-color-text-tertiary`, `--wim-duration-fast`, `--wim-easing-standard`, `--wim-focus-outline-width`, `--wim-font-size-md`, `--wim-font-size-sm`, `--wim-font-weight-semibold`, `--wim-opacity-dim`, `--wim-opacity-disabled`, `--wim-radius-component`, `--wim-radius-container`, `--wim-radius-full`, `--wim-shadow-md`, `--wim-shadow-sm`, `--wim-spacing-2xl
|
|
22
|
+
`--wim-border-width-thin`, `--wim-color-border`, `--wim-color-focus-outline`, `--wim-color-primary`, `--wim-color-surface`, `--wim-color-surface-hover`, `--wim-color-surface-subtle`, `--wim-color-surface-variant`, `--wim-color-text-primary`, `--wim-color-text-secondary`, `--wim-color-text-tertiary`, `--wim-duration-fast`, `--wim-easing-standard`, `--wim-focus-outline-offset`, `--wim-focus-outline-width`, `--wim-font-size-md`, `--wim-font-size-sm`, `--wim-font-weight-semibold`, `--wim-height-sm`, `--wim-opacity-dim`, `--wim-opacity-disabled`, `--wim-radius-component`, `--wim-radius-container`, `--wim-radius-full`, `--wim-shadow-md`, `--wim-shadow-sm`, `--wim-spacing-2xl`
|
|
23
23
|
|
|
24
24
|
---
|
|
25
25
|
Setup, composition rules and the full catalog: `llms.txt` / `llms-full.txt` in the same package.
|
|
@@ -16,7 +16,7 @@ import { Notification } from "wimui/feedback";
|
|
|
16
16
|
- `description: ReactNode` — The description of notification
|
|
17
17
|
- `icon: ReactNode` — The icon of notification
|
|
18
18
|
- `intent: "default" | "info" | "success" | "warning" | "danger"` = "default" — The intent of notification @default "default"
|
|
19
|
-
- `onClose: (id?: string) => void` — Callback when notification is closed
|
|
19
|
+
- `onClose: (id?: string) => void` — Callback when notification is closed. When the close button disappears while it has focus, focus moves to the focusable element just before the component. To send it somewhere else, move focus inside this callback.
|
|
20
20
|
- `closable: boolean` = true — Whether to show close button
|
|
21
21
|
- `className: string` — Additional class name
|
|
22
22
|
- `aria-label: string` — Accessible name for the notification.
|
package/dist/llms/NumberInput.md
CHANGED
|
@@ -15,7 +15,7 @@ import { NumberInput } from "wimui/form";
|
|
|
15
15
|
|
|
16
16
|
- `mode: "number" | "text"` = "number" — 'number': uses the native type="number" (e.g. quantity steppers) 'text': uses type="text" + inputmode (e.g. card numbers or IDs where leading zeros must be kept)
|
|
17
17
|
- `hideSpinButton: boolean` = true — Whether to hide the spin buttons
|
|
18
|
-
- `allowDecimal: boolean` = false — Whether to allow
|
|
18
|
+
- `allowDecimal: boolean` = false — Whether to allow decimals (effective only when mode="number"). When false, both "." and "," are blocked — a browser in a locale that writes decimals with a comma takes "," as the decimal separator.
|
|
19
19
|
- `allowNegative: boolean` = false — Whether to allow negative numbers (effective only when mode="number")
|
|
20
20
|
- `asChild: boolean` = false — Whether to render as a child element.
|
|
21
21
|
|
|
@@ -20,7 +20,7 @@ import { RangeCalendar } from "wimui/data-display";
|
|
|
20
20
|
- `maxDate: Date` — 選択可能な最大日付。
|
|
21
21
|
- `disabledDates: Date[]` — 無効化する日付の配列。
|
|
22
22
|
- `isDateDisabled: (date: Date) => boolean` — 特定の日付を無効化する関数。
|
|
23
|
-
- `weekStartsOn: 0 | 1` —
|
|
23
|
+
- `weekStartsOn: 0 | 1` — First day of the week (0 = Sunday, 1 = Monday). Defaults to the locale's first day, as in `Calendar`.
|
|
24
24
|
|
|
25
25
|
---
|
|
26
26
|
Setup, composition rules and the full catalog: `llms.txt` / `llms-full.txt` in the same package.
|
package/dist/llms/Switch.md
CHANGED
|
@@ -21,7 +21,7 @@ import { Switch } from "wimui/form";
|
|
|
21
21
|
|
|
22
22
|
## Design tokens it reads
|
|
23
23
|
|
|
24
|
-
`--wim-border-width-thick`, `--wim-color-border-secondary`, `--wim-color-danger`, `--wim-color-focus-outline`, `--wim-color-primary`, `--wim-color-text-danger`, `--wim-color-white`, `--wim-duration-base`, `--wim-duration-fast`, `--wim-duration-ultra-fast`, `--wim-easing-entrance`, `--wim-easing-standard`, `--wim-opacity-ghost`, `--wim-radius-full`, `--wim-scale-active`, `--wim-shadow-error-ring`, `--wim-shadow-focus`, `--wim-shadow-sm`, `--wim-spacing-2xs`, `--wim-spacing-sm`, `--wim-switch-height-lg`, `--wim-switch-height-md`, `--wim-switch-height-sm`, `--wim-switch-width-lg`, `--wim-switch-width-md`, `--wim-switch-width-sm`, `--wim-tap-target-min`
|
|
24
|
+
`--wim-border-width-thick`, `--wim-border-width-thin`, `--wim-color-border-secondary`, `--wim-color-danger`, `--wim-color-focus-outline`, `--wim-color-primary`, `--wim-color-text-danger`, `--wim-color-white`, `--wim-duration-base`, `--wim-duration-fast`, `--wim-duration-ultra-fast`, `--wim-easing-entrance`, `--wim-easing-standard`, `--wim-opacity-ghost`, `--wim-radius-full`, `--wim-scale-active`, `--wim-shadow-error-ring`, `--wim-shadow-focus`, `--wim-shadow-sm`, `--wim-spacing-2xs`, `--wim-spacing-sm`, `--wim-switch-height-lg`, `--wim-switch-height-md`, `--wim-switch-height-sm`, `--wim-switch-width-lg`, `--wim-switch-width-md`, `--wim-switch-width-sm`, `--wim-tap-target-min`
|
|
25
25
|
|
|
26
26
|
---
|
|
27
27
|
Setup, composition rules and the full catalog: `llms.txt` / `llms-full.txt` in the same package.
|
package/dist/llms/Toast.md
CHANGED
|
@@ -17,7 +17,7 @@ import { Toast } from "wimui/feedback";
|
|
|
17
17
|
- `title: string` — Title of the toast.
|
|
18
18
|
- `description: string` — Description text displayed below the title.
|
|
19
19
|
- `intent: "default" | "info" | "success" | "warning" | "danger"` = "default" — Intent (semantic state) of the toast. @default "default"
|
|
20
|
-
- `duration: number` = 3000 — Time in milliseconds before the toast closes automatically. Set 0 to disable auto-close. @default 3000
|
|
20
|
+
- `duration: number` = 3000 — Time in milliseconds before the toast closes automatically. The timer pauses while the pointer is over the toast or focus is inside it, and resumes from the remaining time. Set 0 to disable auto-close. @default 3000
|
|
21
21
|
- `open: boolean` = true — Whether the toast is shown. @default true
|
|
22
22
|
- `onClose: (id?: string) => void` — Called with the toast id when the toast is closed.
|
|
23
23
|
- `className: string` — Additional CSS class name.
|
package/dist/llms-full.txt
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## What this is
|
|
6
6
|
|
|
7
|
-
**wimui** v0.
|
|
7
|
+
**wimui** v0.74.1 — a React 19 component library: 230 documented components across 10 categories, with design tokens, dark mode, i18n (en/ja/pt-BR) and WAI-ARIA compliant a11y. Peer deps: react ^19, react-dom ^19 (plus optional peers for specific components — see package.json).
|
|
8
8
|
|
|
9
9
|
## Install & required setup
|
|
10
10
|
|
|
@@ -1063,6 +1063,14 @@ so the unit does not have to be repeated in the label.
|
|
|
1063
1063
|
- `intent: "default" | "danger"` = "default" — Semantic intent of the field (e.g. error state)
|
|
1064
1064
|
- `variant: "outline" | "ghost"` = "outline" — Visual style variant of the field
|
|
1065
1065
|
- `fullWidth: boolean` = false — Whether to take full width of parent
|
|
1066
|
+
- `swatches: ColorPickerSwatch[]` — Preset colors shown next to the field. Choosing one sets it as the value
|
|
1067
|
+
and fires `onChange` like the native picker does. Use `#rrggbb` (or `#rgb`).
|
|
1068
|
+
Name the field with the `label` prop rather than wrapping it in a `<label>`:
|
|
1069
|
+
the swatch buttons inside a `<label>` would be read as part of the field's name.
|
|
1070
|
+
With react-hook-form, use `Controller` rather than `register` if the form is
|
|
1071
|
+
reset: `reset()` writes the input without an event, so the selected swatch
|
|
1072
|
+
would not follow until the next change.
|
|
1073
|
+
- `swatchesLabel: string` — Accessible name of the swatch group
|
|
1066
1074
|
- `leftIcon: React.ComponentProps<typeof Icon>["name"]` — Icon name to display on the left side
|
|
1067
1075
|
- `rightIcon: React.ComponentProps<typeof Icon>["name"]` — Icon name to display on the right side
|
|
1068
1076
|
- `leftIconColor: React.ComponentProps<typeof Icon>["color"]` — Color of the left icon
|
|
@@ -1468,7 +1476,7 @@ so the unit does not have to be repeated in the label.
|
|
|
1468
1476
|
- `mode: "number" | "text"` = "number" — 'number': uses the native type="number" (e.g. quantity steppers)
|
|
1469
1477
|
'text': uses type="text" + inputmode (e.g. card numbers or IDs where leading zeros must be kept)
|
|
1470
1478
|
- `hideSpinButton: boolean` = true — Whether to hide the spin buttons
|
|
1471
|
-
- `allowDecimal: boolean` = false — Whether to allow
|
|
1479
|
+
- `allowDecimal: boolean` = false — Whether to allow decimals (effective only when mode="number"). When false, both "." and "," are blocked — a browser in a locale that writes decimals with a comma takes "," as the decimal separator.
|
|
1472
1480
|
- `allowNegative: boolean` = false — Whether to allow negative numbers (effective only when mode="number")
|
|
1473
1481
|
- `asChild: boolean` = false — Whether to render as a child element.
|
|
1474
1482
|
- **OtpInput** — One-time password fields (aka Pin Input, Input OTP, PIN Code Input)
|
|
@@ -1958,7 +1966,7 @@ section of the page.
|
|
|
1958
1966
|
- `intent: "default" | "info" | "success" | "warning" | "danger"` = "default" — Intent (semantic state) of the alert
|
|
1959
1967
|
@default "default"
|
|
1960
1968
|
- `icon: React.ReactNode` — Custom icon. When omitted, a default icon matching the intent is displayed.
|
|
1961
|
-
- `onClose: () => void` — Called when the close button is clicked. Providing it shows the close button.
|
|
1969
|
+
- `onClose: () => void` — Called when the close button is clicked. Providing it shows the close button. When the close button disappears while it has focus, focus moves to the focusable element just before the component. To send it somewhere else, move focus inside this callback.
|
|
1962
1970
|
- `className: string` — Additional CSS class name
|
|
1963
1971
|
- `children: React.ReactNode` — Content of the alert (treated as the description)
|
|
1964
1972
|
- **Autosave** — Inline status indicator for automatic save state
|
|
@@ -1973,7 +1981,7 @@ section of the page.
|
|
|
1973
1981
|
- `icon: boolean | React.ReactNode` = true — Whether to show the icon, or a custom icon element
|
|
1974
1982
|
@default true
|
|
1975
1983
|
- `extra: React.ReactNode` — Action element (e.g. a Button component)
|
|
1976
|
-
- `onClose: () => void` — Called when the close button is clicked. Providing it shows the close button.
|
|
1984
|
+
- `onClose: () => void` — Called when the close button is clicked. Providing it shows the close button. When the close button disappears while it has focus, focus moves to the focusable element just before the component. To send it somewhere else, move focus inside this callback.
|
|
1977
1985
|
- `className: string` — Additional CSS class name
|
|
1978
1986
|
- `children: React.ReactNode` — Content of the banner
|
|
1979
1987
|
- **ErrorBoundary** — Runtime error fallback
|
|
@@ -2041,7 +2049,7 @@ origin while the card it was meant to cover was 1248x75.
|
|
|
2041
2049
|
- `icon: ReactNode` — The icon of notification
|
|
2042
2050
|
- `intent: "default" | "info" | "success" | "warning" | "danger"` = "default" — The intent of notification
|
|
2043
2051
|
@default "default"
|
|
2044
|
-
- `onClose: (id?: string) => void` — Callback when notification is closed
|
|
2052
|
+
- `onClose: (id?: string) => void` — Callback when notification is closed. When the close button disappears while it has focus, focus moves to the focusable element just before the component. To send it somewhere else, move focus inside this callback.
|
|
2045
2053
|
- `closable: boolean` = true — Whether to show close button
|
|
2046
2054
|
- `className: string` — Additional class name
|
|
2047
2055
|
- `aria-label: string` — Accessible name for the notification.
|
|
@@ -2153,7 +2161,7 @@ follows the theme and never needs a hand-mixed colour.
|
|
|
2153
2161
|
- `description: string` — Description text displayed below the title.
|
|
2154
2162
|
- `intent: "default" | "info" | "success" | "warning" | "danger"` = "default" — Intent (semantic state) of the toast.
|
|
2155
2163
|
@default "default"
|
|
2156
|
-
- `duration: number` = 3000 — Time in milliseconds before the toast closes automatically. Set 0 to disable auto-close.
|
|
2164
|
+
- `duration: number` = 3000 — Time in milliseconds before the toast closes automatically. The timer pauses while the pointer is over the toast or focus is inside it, and resumes from the remaining time. Set 0 to disable auto-close.
|
|
2157
2165
|
@default 3000
|
|
2158
2166
|
- `open: boolean` = true — Whether the toast is shown.
|
|
2159
2167
|
@default true
|
|
@@ -2397,7 +2405,9 @@ what a scanner would read.
|
|
|
2397
2405
|
- `maxDate: Date` — Latest selectable date
|
|
2398
2406
|
- `disabledDates: Date[]` — Dates that cannot be selected
|
|
2399
2407
|
- `isDateDisabled: (date: Date) => boolean` — Function returning whether a given date is disabled
|
|
2400
|
-
- `weekStartsOn: 0 | 1`
|
|
2408
|
+
- `weekStartsOn: 0 | 1` — First day of the week (0 = Sunday, 1 = Monday). In `Calendar`, it defaults
|
|
2409
|
+
to the locale's first day (`en-GB` and `de` start on Monday; a locale that
|
|
2410
|
+
starts on Saturday, or a browser without `Intl.Locale` week info, falls back to Sunday).
|
|
2401
2411
|
- `className: string` — Additional class names
|
|
2402
2412
|
- `disabled: boolean` = false — Whether the calendar is disabled
|
|
2403
2413
|
- `onChange: (date: Date) => void` — Callback when a date is selected (single mode)
|
|
@@ -2593,7 +2603,8 @@ in; use `"center"` only when the empty state is the only thing in its region.
|
|
|
2593
2603
|
- `columns: KanbanColumnData[]` — Kanban column data (for prop-driven usage).
|
|
2594
2604
|
- `onMove: (itemId: string, fromColumnId: string, toColumnId: string) => void` — Callback when a card is moved.
|
|
2595
2605
|
- `onCardMove: (itemId: string, fromColumnId: string, toColumnId: string) => void` — Callback when a card is moved (legacy / alternative name).
|
|
2596
|
-
- `forceMobileUI: boolean` = false — Whether to force the touch-device UI.
|
|
2606
|
+
- `forceMobileUI: boolean` = false — Whether to force the touch-device UI (the move button as a full-width bar under each card).
|
|
2607
|
+
Without it, pointer devices show the move button in the card's corner on hover or focus.
|
|
2597
2608
|
- `asChild: boolean` = false — Whether to render as a child element.
|
|
2598
2609
|
- **Leaderboard** — Display a ranked list of entries with scores. Medal colors for the top three are opt-in.
|
|
2599
2610
|
- `entries: LeaderboardEntry[]` (required) — List of ranking entries
|
|
@@ -2712,7 +2723,8 @@ renders inline, next to whatever follows it.
|
|
|
2712
2723
|
- `maxDate: Date` — 選択可能な最大日付。
|
|
2713
2724
|
- `disabledDates: Date[]` — 無効化する日付の配列。
|
|
2714
2725
|
- `isDateDisabled: (date: Date) => boolean` — 特定の日付を無効化する関数。
|
|
2715
|
-
- `weekStartsOn: 0 | 1` —
|
|
2726
|
+
- `weekStartsOn: 0 | 1` — First day of the week (0 = Sunday, 1 = Monday). Defaults to the locale's
|
|
2727
|
+
first day, as in `Calendar`.
|
|
2716
2728
|
- **Reaction** — Display emoji reaction buttons with toggleable state and counts
|
|
2717
2729
|
- `reactions: ReactionItem[]` (required) — List of reactions
|
|
2718
2730
|
- `onReact: (emoji: string, active: boolean) => void` — Callback when a reaction is added or removed
|
|
@@ -3632,6 +3644,96 @@ sentiment color and the rest in a neutral color. Has effect only with `data`.
|
|
|
3632
3644
|
- `ariaLabel: string` — Accessible label describing the audio; when omitted the visualizer is
|
|
3633
3645
|
hidden from assistive tech
|
|
3634
3646
|
|
|
3647
|
+
## Hooks
|
|
3648
|
+
|
|
3649
|
+
Exported hooks. Prefer them over hand-rolled equivalents (`matchMedia` listeners, textarea height math, sort state).
|
|
3650
|
+
|
|
3651
|
+
- **useAnnounce** — `import { useAnnounce } from "wimui"` — Announce the result of an action to screen readers — "Saved", "3 results", "Moved to Done".
|
|
3652
|
+
- Signature: `({ role, initialMessage, }?: { role?: AnnounceRole | undefined; initialMessage?: string | undefined; }): { announce: (text: string, { delay }?: AnnounceOptions) => void; clear: () => void; region: Element; }`
|
|
3653
|
+
|
|
3654
|
+
```tsx
|
|
3655
|
+
const { announce, region } = useAnnounce();
|
|
3656
|
+
const save = async () => { await saveDraft(); announce("Draft saved"); };
|
|
3657
|
+
return <>{region}<Button onClick={save}>Save</Button></>;
|
|
3658
|
+
```
|
|
3659
|
+
|
|
3660
|
+
- **useAutoResize** — `import { useAutoResize } from "wimui"` — Grow a `<textarea>` with its content, up to `maxRows` rows; past that it scrolls. `Textarea` and `PromptInput` already do this — use the hook only for a textarea you render yourself.
|
|
3661
|
+
- Signature: `(value: string | undefined, maxRows?: number): RefObject<HTMLTextAreaElement | null>`
|
|
3662
|
+
|
|
3663
|
+
```tsx
|
|
3664
|
+
const [value, setValue] = useState("");
|
|
3665
|
+
const ref = useAutoResize(value, 6);
|
|
3666
|
+
return <textarea ref={ref} value={value} onChange={(e) => setValue(e.target.value)} />;
|
|
3667
|
+
```
|
|
3668
|
+
|
|
3669
|
+
- **useBreakpoint** — `import { useBreakpoint } from "wimui"` — Resolve the current active breakpoint — the largest whose min-width the viewport satisfies. Returns the smallest breakpoint below the first threshold. SSR-safe (defaults to the smallest until mounted).
|
|
3670
|
+
- Signature: `(): Breakpoint`
|
|
3671
|
+
|
|
3672
|
+
```tsx
|
|
3673
|
+
const bp = useBreakpoint(); // "xs" | "sm" | "md" | "lg" | "xl"
|
|
3674
|
+
```
|
|
3675
|
+
|
|
3676
|
+
- **useBreakpointDown** — `import { useBreakpointDown } from "wimui"` — Track whether the viewport is below a named breakpoint (max-width), mirroring the SCSS `down()` mixin — the JS equivalent of HamburgerMenu's `visibleBelow`. SSR-safe.
|
|
3677
|
+
- Signature: `(breakpoint: Breakpoint): boolean`
|
|
3678
|
+
|
|
3679
|
+
```tsx
|
|
3680
|
+
const isMobile = useBreakpointDown("md");
|
|
3681
|
+
```
|
|
3682
|
+
|
|
3683
|
+
- **useBreakpointUp** — `import { useBreakpointUp } from "wimui"` — Track whether the viewport is at or above a named breakpoint (min-width), mirroring the SCSS `up()` mixin. SSR-safe.
|
|
3684
|
+
- Signature: `(breakpoint: Breakpoint): boolean`
|
|
3685
|
+
|
|
3686
|
+
```tsx
|
|
3687
|
+
const isDesktop = useBreakpointUp("lg");
|
|
3688
|
+
```
|
|
3689
|
+
|
|
3690
|
+
- **useMediaQuery** — `import { useMediaQuery } from "wimui"` — Subscribe to a CSS media query and track whether it currently matches.
|
|
3691
|
+
- Signature: `(query: string, defaultState?: boolean): boolean`
|
|
3692
|
+
|
|
3693
|
+
```tsx
|
|
3694
|
+
const isWide = useMediaQuery("(min-width: 768px)");
|
|
3695
|
+
```
|
|
3696
|
+
|
|
3697
|
+
- **useNotification** — `import { useNotification } from "wimui/feedback"` — Show a notification card in a corner of the screen from anywhere under `NotificationProvider`. Notifications stack, carry a title and a body, and suit events that happened elsewhere (a finished export, a new comment) rather than the result of the user's last action.
|
|
3698
|
+
- Signature: `(): NotificationContextType`
|
|
3699
|
+
|
|
3700
|
+
```tsx
|
|
3701
|
+
const { show } = useNotification();
|
|
3702
|
+
show({ title: "Export finished", description: "report.csv is ready." });
|
|
3703
|
+
```
|
|
3704
|
+
|
|
3705
|
+
- **useSnackbar** — `import { useSnackbar } from "wimui/feedback"` — Show a single message bar at the edge of the screen from anywhere under `SnackbarProvider`. One message at a time: showing a new one replaces the current one. Use it when the message may carry one action (for example "Undo").
|
|
3706
|
+
- Signature: `(): SnackbarContextType`
|
|
3707
|
+
|
|
3708
|
+
```tsx
|
|
3709
|
+
const { showMessage } = useSnackbar();
|
|
3710
|
+
showMessage("Message archived");
|
|
3711
|
+
```
|
|
3712
|
+
|
|
3713
|
+
- **useTableSort** — `import { useTableSort } from "wimui/data-display"` — Sort rows on the client for `Table`: clicking the same column cycles ascending → descending → unsorted. For server-side sorting, keep the state yourself and pass `onSortChange`.
|
|
3714
|
+
- Signature: `<T extends Record<string, unknown>>(data: T[], options?: UseTableSortOptions<T>): UseTableSortReturn<T>`
|
|
3715
|
+
|
|
3716
|
+
```tsx
|
|
3717
|
+
const { sortedData, handleSort, getSortDirection } = useTableSort(rows);
|
|
3718
|
+
// <Table.Head sortable sortDirection={getSortDirection("name")} onSort={() => handleSort("name")}>
|
|
3719
|
+
```
|
|
3720
|
+
|
|
3721
|
+
- **useToast** — `import { useToast } from "wimui/feedback"` — Show a short, self-dismissing message (a toast) from anywhere under `ToastProvider`. Use it for a one-off confirmation of something the user just did; for state that stays true (a limit, an outage), render an inline `Alert` instead.
|
|
3722
|
+
- Signature: `(): ToastContextType`
|
|
3723
|
+
|
|
3724
|
+
```tsx
|
|
3725
|
+
const { show } = useToast();
|
|
3726
|
+
show({ title: "Saved", intent: "success" });
|
|
3727
|
+
```
|
|
3728
|
+
|
|
3729
|
+
- **useWim** — `import { useWim } from "wimui"` — Read the nearest `WimProvider` values, or fall back to document / i18n globals when used outside a provider.
|
|
3730
|
+
- Signature: `(): WimContextValue`
|
|
3731
|
+
|
|
3732
|
+
```tsx
|
|
3733
|
+
const { theme, locale } = useWim();
|
|
3734
|
+
```
|
|
3735
|
+
|
|
3736
|
+
|
|
3635
3737
|
## Not in scope — deliberately not provided
|
|
3636
3738
|
|
|
3637
3739
|
These exist in other systems' vocabularies and are **decisions, not gaps**. Do not hand-roll them into a wimui screen; the alternative given is the supported way to express the same intent.
|
package/dist/llms.txt
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## What this is
|
|
6
6
|
|
|
7
|
-
**wimui** v0.
|
|
7
|
+
**wimui** v0.74.1 — a React 19 component library: 230 documented components across 10 categories, with design tokens, dark mode, i18n (en/ja/pt-BR) and WAI-ARIA compliant a11y. Peer deps: react ^19, react-dom ^19 (plus optional peers for specific components — see package.json).
|
|
8
8
|
|
|
9
9
|
## Install & required setup
|
|
10
10
|
|
|
@@ -453,6 +453,22 @@ export function BillingOverview() {
|
|
|
453
453
|
- **UsageMeter** — UsageMeter (also exported as TokenCounter) visualizes token consumption against a budget such as a model's context window — a labeled bar plus a numeric readout that shifts to warning and danger colors near the limit. (aka Level Indicator, Capacity Indicator, Meter)
|
|
454
454
|
- **VoiceVisualizer** — Animated voice-level indicator (bars / waveform)
|
|
455
455
|
|
|
456
|
+
## Hooks
|
|
457
|
+
|
|
458
|
+
Exported hooks. Prefer them over hand-rolled equivalents (`matchMedia` listeners, textarea height math, sort state).
|
|
459
|
+
|
|
460
|
+
- **useAnnounce** — `import { useAnnounce } from "wimui"` — Announce the result of an action to screen readers — "Saved", "3 results", "Moved to Done".
|
|
461
|
+
- **useAutoResize** — `import { useAutoResize } from "wimui"` — Grow a `<textarea>` with its content, up to `maxRows` rows; past that it scrolls. `Textarea` and `PromptInput` already do this — use the hook only for a textarea you render yourself.
|
|
462
|
+
- **useBreakpoint** — `import { useBreakpoint } from "wimui"` — Resolve the current active breakpoint — the largest whose min-width the viewport satisfies. Returns the smallest breakpoint below the first threshold. SSR-safe (defaults to the smallest until mounted).
|
|
463
|
+
- **useBreakpointDown** — `import { useBreakpointDown } from "wimui"` — Track whether the viewport is below a named breakpoint (max-width), mirroring the SCSS `down()` mixin — the JS equivalent of HamburgerMenu's `visibleBelow`. SSR-safe.
|
|
464
|
+
- **useBreakpointUp** — `import { useBreakpointUp } from "wimui"` — Track whether the viewport is at or above a named breakpoint (min-width), mirroring the SCSS `up()` mixin. SSR-safe.
|
|
465
|
+
- **useMediaQuery** — `import { useMediaQuery } from "wimui"` — Subscribe to a CSS media query and track whether it currently matches.
|
|
466
|
+
- **useNotification** — `import { useNotification } from "wimui/feedback"` — Show a notification card in a corner of the screen from anywhere under `NotificationProvider`. Notifications stack, carry a title and a body, and suit events that happened elsewhere (a finished export, a new comment) rather than the result of the user's last action.
|
|
467
|
+
- **useSnackbar** — `import { useSnackbar } from "wimui/feedback"` — Show a single message bar at the edge of the screen from anywhere under `SnackbarProvider`. One message at a time: showing a new one replaces the current one. Use it when the message may carry one action (for example "Undo").
|
|
468
|
+
- **useTableSort** — `import { useTableSort } from "wimui/data-display"` — Sort rows on the client for `Table`: clicking the same column cycles ascending → descending → unsorted. For server-side sorting, keep the state yourself and pass `onSortChange`.
|
|
469
|
+
- **useToast** — `import { useToast } from "wimui/feedback"` — Show a short, self-dismissing message (a toast) from anywhere under `ToastProvider`. Use it for a one-off confirmation of something the user just did; for state that stays true (a limit, an outage), render an inline `Alert` instead.
|
|
470
|
+
- **useWim** — `import { useWim } from "wimui"` — Read the nearest `WimProvider` values, or fall back to document / i18n globals when used outside a provider.
|
|
471
|
+
|
|
456
472
|
## Not in scope — deliberately not provided
|
|
457
473
|
|
|
458
474
|
These exist in other systems' vocabularies and are **decisions, not gaps**. Do not hand-roll them into a wimui screen; the alternative given is the supported way to express the same intent.
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"calendar": {
|
|
3
3
|
"aria_date": "{{year}}-{{month}}-{{day}}",
|
|
4
|
-
"title": "{{year}} / {{month}}"
|
|
4
|
+
"title": "{{year}} / {{month}}",
|
|
5
|
+
"choose_month": "Choose month",
|
|
6
|
+
"choose_year": "Choose year",
|
|
7
|
+
"months": "Months of {{year}}",
|
|
8
|
+
"years": "Years {{start}} to {{end}}",
|
|
9
|
+
"prev_year": "Previous year",
|
|
10
|
+
"next_year": "Next year",
|
|
11
|
+
"prev_years": "Previous {{n}} years",
|
|
12
|
+
"next_years": "Next {{n}} years"
|
|
5
13
|
},
|
|
6
14
|
"countdown": {
|
|
7
15
|
"remaining": "{{time}} remaining"
|
|
@@ -21,5 +29,8 @@
|
|
|
21
29
|
},
|
|
22
30
|
"infinite_scroll": {
|
|
23
31
|
"loading": "Loading more…"
|
|
32
|
+
},
|
|
33
|
+
"kanban": {
|
|
34
|
+
"moved": "Moved to {{column}}"
|
|
24
35
|
}
|
|
25
36
|
}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"calendar": {
|
|
3
3
|
"aria_date": "{{year}}年{{month}}月{{day}}日",
|
|
4
|
-
"title": "{{year}}年 {{month}}月"
|
|
4
|
+
"title": "{{year}}年 {{month}}月",
|
|
5
|
+
"choose_month": "月を選ぶ",
|
|
6
|
+
"choose_year": "年を選ぶ",
|
|
7
|
+
"months": "{{year}}年の月",
|
|
8
|
+
"years": "{{start}}年から{{end}}年",
|
|
9
|
+
"prev_year": "前の年",
|
|
10
|
+
"next_year": "次の年",
|
|
11
|
+
"prev_years": "前の{{n}}年",
|
|
12
|
+
"next_years": "次の{{n}}年"
|
|
5
13
|
},
|
|
6
14
|
"countdown": {
|
|
7
15
|
"remaining": "残り{{time}}"
|
|
@@ -21,5 +29,8 @@
|
|
|
21
29
|
},
|
|
22
30
|
"infinite_scroll": {
|
|
23
31
|
"loading": "さらに読み込み中…"
|
|
32
|
+
},
|
|
33
|
+
"kanban": {
|
|
34
|
+
"moved": "{{column}} へ移動しました"
|
|
24
35
|
}
|
|
25
36
|
}
|
|
@@ -1,7 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"calendar": {
|
|
3
3
|
"aria_date": "{{day}}/{{month}}/{{year}}",
|
|
4
|
-
"title": "{{month}}/{{year}}"
|
|
4
|
+
"title": "{{month}}/{{year}}",
|
|
5
|
+
"choose_month": "Escolher mês",
|
|
6
|
+
"choose_year": "Escolher ano",
|
|
7
|
+
"months": "Meses de {{year}}",
|
|
8
|
+
"years": "Anos de {{start}} a {{end}}",
|
|
9
|
+
"prev_year": "Ano anterior",
|
|
10
|
+
"next_year": "Próximo ano",
|
|
11
|
+
"prev_years": "{{n}} anos anteriores",
|
|
12
|
+
"next_years": "Próximos {{n}} anos"
|
|
5
13
|
},
|
|
6
14
|
"countdown": {
|
|
7
15
|
"remaining": "{{time}} restantes"
|
|
@@ -21,5 +29,8 @@
|
|
|
21
29
|
},
|
|
22
30
|
"infinite_scroll": {
|
|
23
31
|
"loading": "Carregando mais…"
|
|
32
|
+
},
|
|
33
|
+
"kanban": {
|
|
34
|
+
"moved": "Movido para {{column}}"
|
|
24
35
|
}
|
|
25
36
|
}
|
|
@@ -128,5 +128,8 @@
|
|
|
128
128
|
"status_moved_to_source": "Movidos para a lista disponível: {{count}}",
|
|
129
129
|
"status_moved_to_target": "Movidos para a lista selecionada: {{count}}",
|
|
130
130
|
"target": "Selecionado"
|
|
131
|
+
},
|
|
132
|
+
"color_picker": {
|
|
133
|
+
"swatches": "Amostras de cor"
|
|
131
134
|
}
|
|
132
135
|
}
|
package/dist/media.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./components/media/Icon/Icon.cjs"),t=require("./components/media/Audio/Audio.cjs"),n=require("./components/media/Image/Image.cjs"),r=require("./components/media/Video/Video.cjs"),i=require("./components/media/Lightbox/Lightbox.cjs"),a=require("./components/media/Gallery/Gallery.cjs"),o=require("./components/media/ImageCompare/ImageCompare.cjs");exports.Audio=t.Audio,exports.Gallery=a.Gallery,exports.Icon=e.Icon,exports.Image=n.Image,exports.ImageCompare=o.ImageCompare,exports.Lightbox=i.Lightbox,exports.LightboxContent=i.LightboxContent,exports.LightboxGallery=i.LightboxGallery,exports.LightboxRoot=i.LightboxRoot,exports.LightboxTrigger=i.LightboxTrigger,exports.Video=r.Video
|
|
2
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./components/media/Icon/Icon.cjs"),t=require("./components/media/Audio/Audio.cjs"),n=require("./components/media/Image/Image.cjs"),r=require("./components/media/Video/Video.cjs"),i=require("./components/media/Lightbox/Lightbox.cjs"),a=require("./components/media/Gallery/Gallery.cjs"),o=require("./components/media/ImageCompare/ImageCompare.cjs");exports.Audio=t.Audio,exports.Gallery=a.Gallery,exports.Icon=e.Icon,exports.Image=n.Image,exports.ImageCompare=o.ImageCompare,exports.Lightbox=i.Lightbox,exports.LightboxContent=i.LightboxContent,exports.LightboxGallery=i.LightboxGallery,exports.LightboxRoot=i.LightboxRoot,exports.LightboxTrigger=i.LightboxTrigger,exports.Video=r.Video;
|
package/dist/media.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Icon as e } from "./components/media/Icon/Icon.js";
|
|
|
3
3
|
import { Audio as t } from "./components/media/Audio/Audio.js";
|
|
4
4
|
import { Image as n } from "./components/media/Image/Image.js";
|
|
5
5
|
import { Video as r } from "./components/media/Video/Video.js";
|
|
6
|
-
import { Lightbox as i, LightboxContent as a, LightboxGallery as o, LightboxRoot as s, LightboxTrigger as c
|
|
7
|
-
import { Gallery as
|
|
8
|
-
import { ImageCompare as
|
|
9
|
-
export { t as Audio,
|
|
6
|
+
import { Lightbox as i, LightboxContent as a, LightboxGallery as o, LightboxRoot as s, LightboxTrigger as c } from "./components/media/Lightbox/Lightbox.js";
|
|
7
|
+
import { Gallery as l } from "./components/media/Gallery/Gallery.js";
|
|
8
|
+
import { ImageCompare as u } from "./components/media/ImageCompare/ImageCompare.js";
|
|
9
|
+
export { t as Audio, l as Gallery, e as Icon, n as Image, u as ImageCompare, i as Lightbox, a as LightboxContent, o as LightboxGallery, s as LightboxRoot, c as LightboxTrigger, r as Video };
|
package/dist/overlay.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./components/overlay/Portal/Portal.cjs"),t=require("./components/overlay/FocusTrap/FocusTrap.cjs"),n=require("./components/overlay/Drawer/Drawer.cjs"),r=require("./components/overlay/Tooltip/Tooltip.cjs"),i=require("./components/overlay/Dialog/Dialog.cjs"),a=require("./components/overlay/Dropdown/Dropdown.cjs"),o=require("./components/overlay/BottomSheet/BottomSheet.cjs"),s=require("./components/overlay/ContextMenu/ContextMenu.cjs"),c=require("./components/overlay/HoverCard/HoverCard.cjs"),l=require("./components/overlay/Menu/Menu.cjs"),u=require("./components/overlay/Popover/Popover.cjs"),d=require("./components/overlay/Popconfirm/Popconfirm.cjs");exports.BottomSheet=o.BottomSheet,exports.BottomSheetBody=o.BottomSheetBody,exports.BottomSheetClose=o.BottomSheetClose,exports.BottomSheetContent=o.BottomSheetContent,exports.BottomSheetDescription=o.BottomSheetDescription,exports.BottomSheetFooter=o.BottomSheetFooter,exports.BottomSheetHeader=o.BottomSheetHeader,exports.BottomSheetTitle=o.BottomSheetTitle,exports.BottomSheetTrigger=o.BottomSheetTrigger,exports.ContextMenu=s.ContextMenu,exports.ContextMenuDivider=s.ContextMenuDivider,exports.ContextMenuGroup=s.ContextMenuGroup,exports.ContextMenuItem=s.ContextMenuItem,exports.Dialog=i.Dialog,exports.DialogClose=i.DialogClose,exports.DialogContent=i.DialogContent,exports.DialogDescription=i.DialogDescription,exports.DialogFooter=i.DialogFooter,exports.DialogHeader=i.DialogHeader,exports.DialogTitle=i.DialogTitle,exports.DialogTrigger=i.DialogTrigger,exports.Drawer=n.Drawer,exports.DrawerBody=n.DrawerBody,exports.DrawerClose=n.DrawerClose,exports.DrawerContent=n.DrawerContent,exports.DrawerDescription=n.DrawerDescription,exports.DrawerFooter=n.DrawerFooter,exports.DrawerHeader=n.DrawerHeader,exports.DrawerTitle=n.DrawerTitle,exports.DrawerTrigger=n.DrawerTrigger,exports.Dropdown=a.Dropdown,exports.DropdownItem=a.DropdownItem,exports.DropdownMenu=a.DropdownMenu,exports.DropdownTrigger=a.DropdownTrigger,exports.FocusTrap=t.FocusTrap,exports.HoverCard=c.HoverCard,exports.HoverCardContent=c.HoverCardContent,exports.HoverCardTrigger=c.HoverCardTrigger,exports.Menu=l.Menu,exports.MenuDivider=l.MenuDivider,exports.MenuItem=l.MenuItem,exports.MenuItemGroup=l.MenuItemGroup,exports.Popconfirm=d.Popconfirm,exports.Popover=u.Popover,exports.PopoverClose=u.PopoverClose,exports.PopoverContent=u.PopoverContent,exports.PopoverTrigger=u.PopoverTrigger,exports.Portal=e.Portal,exports.SubMenu=l.SubMenu,exports.Tooltip=r.Tooltip,exports.TooltipContent=r.TooltipContent,exports.TooltipTrigger=r.TooltipTrigger
|
|
2
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./components/overlay/Portal/Portal.cjs"),t=require("./components/overlay/FocusTrap/FocusTrap.cjs"),n=require("./components/overlay/Drawer/Drawer.cjs"),r=require("./components/overlay/Tooltip/Tooltip.cjs"),i=require("./components/overlay/Dialog/Dialog.cjs"),a=require("./components/overlay/Dropdown/Dropdown.cjs"),o=require("./components/overlay/BottomSheet/BottomSheet.cjs"),s=require("./components/overlay/ContextMenu/ContextMenu.cjs"),c=require("./components/overlay/HoverCard/HoverCard.cjs"),l=require("./components/overlay/Menu/Menu.cjs"),u=require("./components/overlay/Popover/Popover.cjs"),d=require("./components/overlay/Popconfirm/Popconfirm.cjs");exports.BottomSheet=o.BottomSheet,exports.BottomSheetBody=o.BottomSheetBody,exports.BottomSheetClose=o.BottomSheetClose,exports.BottomSheetContent=o.BottomSheetContent,exports.BottomSheetDescription=o.BottomSheetDescription,exports.BottomSheetFooter=o.BottomSheetFooter,exports.BottomSheetHeader=o.BottomSheetHeader,exports.BottomSheetTitle=o.BottomSheetTitle,exports.BottomSheetTrigger=o.BottomSheetTrigger,exports.ContextMenu=s.ContextMenu,exports.ContextMenuDivider=s.ContextMenuDivider,exports.ContextMenuGroup=s.ContextMenuGroup,exports.ContextMenuItem=s.ContextMenuItem,exports.Dialog=i.Dialog,exports.DialogClose=i.DialogClose,exports.DialogContent=i.DialogContent,exports.DialogDescription=i.DialogDescription,exports.DialogFooter=i.DialogFooter,exports.DialogHeader=i.DialogHeader,exports.DialogTitle=i.DialogTitle,exports.DialogTrigger=i.DialogTrigger,exports.Drawer=n.Drawer,exports.DrawerBody=n.DrawerBody,exports.DrawerClose=n.DrawerClose,exports.DrawerContent=n.DrawerContent,exports.DrawerDescription=n.DrawerDescription,exports.DrawerFooter=n.DrawerFooter,exports.DrawerHeader=n.DrawerHeader,exports.DrawerTitle=n.DrawerTitle,exports.DrawerTrigger=n.DrawerTrigger,exports.Dropdown=a.Dropdown,exports.DropdownItem=a.DropdownItem,exports.DropdownMenu=a.DropdownMenu,exports.DropdownTrigger=a.DropdownTrigger,exports.FocusTrap=t.FocusTrap,exports.HoverCard=c.HoverCard,exports.HoverCardContent=c.HoverCardContent,exports.HoverCardTrigger=c.HoverCardTrigger,exports.Menu=l.Menu,exports.MenuDivider=l.MenuDivider,exports.MenuItem=l.MenuItem,exports.MenuItemGroup=l.MenuItemGroup,exports.Popconfirm=d.Popconfirm,exports.Popover=u.Popover,exports.PopoverClose=u.PopoverClose,exports.PopoverContent=u.PopoverContent,exports.PopoverTrigger=u.PopoverTrigger,exports.Portal=e.Portal,exports.SubMenu=l.SubMenu,exports.Tooltip=r.Tooltip,exports.TooltipContent=r.TooltipContent,exports.TooltipTrigger=r.TooltipTrigger;
|
package/dist/overlay.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Portal as e } from "./components/overlay/Portal/Portal.js";
|
|
3
3
|
import { FocusTrap as t } from "./components/overlay/FocusTrap/FocusTrap.js";
|
|
4
|
-
import { Drawer as n, DrawerBody as r, DrawerClose as i, DrawerContent as a, DrawerDescription as o, DrawerFooter as s, DrawerHeader as c, DrawerTitle as l, DrawerTrigger as u
|
|
5
|
-
import { Tooltip as
|
|
6
|
-
import { Dialog as
|
|
7
|
-
import { Dropdown as
|
|
8
|
-
import { BottomSheet as
|
|
9
|
-
import { ContextMenu as
|
|
10
|
-
import { HoverCard as
|
|
11
|
-
import { Menu as
|
|
12
|
-
import { Popover as
|
|
13
|
-
import { Popconfirm as
|
|
14
|
-
export {
|
|
4
|
+
import { Drawer as n, DrawerBody as r, DrawerClose as i, DrawerContent as a, DrawerDescription as o, DrawerFooter as s, DrawerHeader as c, DrawerTitle as l, DrawerTrigger as u } from "./components/overlay/Drawer/Drawer.js";
|
|
5
|
+
import { Tooltip as d, TooltipContent as f, TooltipTrigger as p } from "./components/overlay/Tooltip/Tooltip.js";
|
|
6
|
+
import { Dialog as m, DialogClose as h, DialogContent as g, DialogDescription as _, DialogFooter as v, DialogHeader as y, DialogTitle as b, DialogTrigger as x } from "./components/overlay/Dialog/Dialog.js";
|
|
7
|
+
import { Dropdown as S, DropdownItem as C, DropdownMenu as w, DropdownTrigger as T } from "./components/overlay/Dropdown/Dropdown.js";
|
|
8
|
+
import { BottomSheet as E, BottomSheetBody as D, BottomSheetClose as O, BottomSheetContent as k, BottomSheetDescription as A, BottomSheetFooter as j, BottomSheetHeader as M, BottomSheetTitle as N, BottomSheetTrigger as P } from "./components/overlay/BottomSheet/BottomSheet.js";
|
|
9
|
+
import { ContextMenu as F, ContextMenuDivider as I, ContextMenuGroup as L, ContextMenuItem as R } from "./components/overlay/ContextMenu/ContextMenu.js";
|
|
10
|
+
import { HoverCard as z, HoverCardContent as B, HoverCardTrigger as V } from "./components/overlay/HoverCard/HoverCard.js";
|
|
11
|
+
import { Menu as H, MenuDivider as U, MenuItem as W, MenuItemGroup as G, SubMenu as K } from "./components/overlay/Menu/Menu.js";
|
|
12
|
+
import { Popover as q, PopoverClose as J, PopoverContent as Y, PopoverTrigger as X } from "./components/overlay/Popover/Popover.js";
|
|
13
|
+
import { Popconfirm as Z } from "./components/overlay/Popconfirm/Popconfirm.js";
|
|
14
|
+
export { E as BottomSheet, D as BottomSheetBody, O as BottomSheetClose, k as BottomSheetContent, A as BottomSheetDescription, j as BottomSheetFooter, M as BottomSheetHeader, N as BottomSheetTitle, P as BottomSheetTrigger, F as ContextMenu, I as ContextMenuDivider, L as ContextMenuGroup, R as ContextMenuItem, m as Dialog, h as DialogClose, g as DialogContent, _ as DialogDescription, v as DialogFooter, y as DialogHeader, b as DialogTitle, x as DialogTrigger, n as Drawer, r as DrawerBody, i as DrawerClose, a as DrawerContent, o as DrawerDescription, s as DrawerFooter, c as DrawerHeader, l as DrawerTitle, u as DrawerTrigger, S as Dropdown, C as DropdownItem, w as DropdownMenu, T as DropdownTrigger, t as FocusTrap, z as HoverCard, B as HoverCardContent, V as HoverCardTrigger, H as Menu, U as MenuDivider, W as MenuItem, G as MenuItemGroup, Z as Popconfirm, q as Popover, J as PopoverClose, Y as PopoverContent, X as PopoverTrigger, e as Portal, K as SubMenu, d as Tooltip, f as TooltipContent, p as TooltipTrigger };
|