wimui 0.12.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/_internal/OverlayBase.cjs +1 -1
- package/dist/components/_internal/OverlayBase.js +1 -0
- package/dist/components/ai/AIResponseFeedback/AIResponseFeedback.cjs +1 -1
- package/dist/components/ai/AIResponseFeedback/AIResponseFeedback.js +60 -50
- package/dist/components/ai/ChatUI/ChatUI.cjs +1 -1
- package/dist/components/ai/ChatUI/ChatUI.d.ts +13 -1
- package/dist/components/ai/ChatUI/ChatUI.js +4 -4
- package/dist/components/ai/ChatUI/chat-ui.module.cjs +1 -1
- package/dist/components/ai/ChatUI/chat-ui.module.js +2 -2
- package/dist/components/ai/CodeBlock/code-block.module.cjs +1 -1
- package/dist/components/ai/CodeBlock/code-block.module.js +1 -1
- package/dist/components/ai/MarkdownRenderer/markdown-renderer.module.cjs +1 -1
- package/dist/components/ai/MarkdownRenderer/markdown-renderer.module.js +1 -1
- package/dist/components/ai/ModelSelector/ModelSelector.cjs +1 -1
- package/dist/components/ai/ModelSelector/ModelSelector.js +1 -1
- package/dist/components/ai/ModelSelector/model-selector.module.cjs +1 -1
- package/dist/components/ai/ModelSelector/model-selector.module.js +1 -1
- package/dist/components/ai/PromptInput/prompt-input.module.cjs +1 -1
- package/dist/components/ai/PromptInput/prompt-input.module.js +1 -1
- package/dist/components/ai/StreamingText/StreamingText.cjs +1 -1
- package/dist/components/ai/StreamingText/StreamingText.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/thread-list.module.cjs +1 -1
- package/dist/components/ai/ThreadList/thread-list.module.js +1 -1
- 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 -4
- 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/Card/Card.d.ts +18 -5
- package/dist/components/data-display/Card/styled-values.d.ts +7 -4
- package/dist/components/data-display/DataGrid/datagrid.module.cjs +1 -1
- package/dist/components/data-display/DataGrid/datagrid.module.js +4 -3
- package/dist/components/data-display/DescriptionList/description-list.module.cjs +1 -1
- package/dist/components/data-display/DescriptionList/description-list.module.js +1 -1
- package/dist/components/data-display/InfiniteScroll/InfiniteScroll.cjs +1 -1
- package/dist/components/data-display/InfiniteScroll/InfiniteScroll.js +1 -1
- package/dist/components/data-display/List/List.cjs +1 -1
- package/dist/components/data-display/List/List.js +2 -2
- package/dist/components/data-display/List/list.module.cjs +1 -1
- package/dist/components/data-display/List/list.module.js +18 -17
- package/dist/components/data-display/Table/Table.cjs +1 -1
- package/dist/components/data-display/Table/Table.js +5 -5
- package/dist/components/data-display/Table/table.module.cjs +1 -1
- package/dist/components/data-display/Table/table.module.js +1 -1
- package/dist/components/data-display/TreeView/tree-view.module.cjs +1 -1
- package/dist/components/data-display/TreeView/tree-view.module.js +2 -2
- package/dist/components/feedback/Banner/Banner.cjs +1 -1
- package/dist/components/feedback/Banner/Banner.js +1 -4
- package/dist/components/feedback/Banner/banner.module.cjs +1 -1
- package/dist/components/feedback/Banner/banner.module.js +2 -2
- package/dist/components/feedback/Progress/Progress.cjs +1 -1
- package/dist/components/feedback/Progress/Progress.js +1 -7
- package/dist/components/form/Combobox/Combobox.cjs +1 -1
- package/dist/components/form/Combobox/Combobox.js +1 -1
- package/dist/components/form/DateRangePicker/date-range-picker.module.cjs +1 -1
- package/dist/components/form/DateRangePicker/date-range-picker.module.js +1 -1
- package/dist/components/form/FieldTemplate/field-template.module.cjs +1 -1
- package/dist/components/form/FieldTemplate/field-template.module.js +1 -1
- package/dist/components/form/FloatButton/FloatButton.cjs +1 -1
- package/dist/components/form/FloatButton/FloatButton.js +1 -1
- package/dist/components/form/FloatButton/float-button.module.cjs +1 -1
- package/dist/components/form/FloatButton/float-button.module.js +3 -3
- package/dist/components/form/InputBase/input-base.module.cjs +1 -1
- package/dist/components/form/InputBase/input-base.module.js +1 -1
- package/dist/components/form/OtpInput/otp-input.module.cjs +1 -1
- package/dist/components/form/OtpInput/otp-input.module.js +1 -1
- package/dist/components/form/PhoneInput/PhoneInput.cjs +1 -1
- package/dist/components/form/PhoneInput/PhoneInput.js +1 -4
- package/dist/components/form/QueryBuilder/querybuilder.module.cjs +1 -1
- package/dist/components/form/QueryBuilder/querybuilder.module.js +1 -1
- package/dist/components/form/RichTextEditor/rich-text-editor.module.cjs +1 -1
- package/dist/components/form/RichTextEditor/rich-text-editor.module.js +1 -1
- package/dist/components/form/Select/select.module.cjs +1 -1
- package/dist/components/form/Select/select.module.js +1 -1
- package/dist/components/form/SmartSearchInput/SmartSearchInput.cjs +1 -1
- package/dist/components/form/SmartSearchInput/SmartSearchInput.js +1 -1
- package/dist/components/form/SmartSearchInput/smart-search-input.module.cjs +1 -1
- package/dist/components/form/SmartSearchInput/smart-search-input.module.js +1 -1
- package/dist/components/form/Textarea/textarea.module.cjs +1 -1
- package/dist/components/form/Textarea/textarea.module.js +1 -1
- package/dist/components/form/ToggleGroup/ToggleGroup.cjs +1 -1
- package/dist/components/form/ToggleGroup/ToggleGroup.js +1 -4
- package/dist/components/form/Transfer/transfer.module.cjs +1 -1
- package/dist/components/form/Transfer/transfer.module.js +6 -6
- package/dist/components/form/TreeSelect/tree-select.module.cjs +1 -1
- package/dist/components/form/TreeSelect/tree-select.module.js +6 -6
- package/dist/components/layout/AppShell/AppShell.cjs +1 -1
- package/dist/components/layout/AppShell/AppShell.d.ts +0 -31
- package/dist/components/layout/AppShell/AppShell.js +41 -33
- package/dist/components/layout/BentoGrid/bento-grid.module.cjs +1 -1
- package/dist/components/layout/BentoGrid/bento-grid.module.js +1 -1
- package/dist/components/layout/Dashboard/Dashboard.cjs +1 -1
- package/dist/components/layout/Dashboard/Dashboard.js +1 -1
- package/dist/components/layout/Dashboard/dashboard.module.cjs +1 -1
- package/dist/components/layout/Dashboard/dashboard.module.js +13 -13
- package/dist/components/layout/Grid/grid.module.cjs +1 -1
- package/dist/components/layout/Grid/grid.module.js +1 -1
- package/dist/components/layout/Sidebar/Sidebar.d.ts +28 -2
- package/dist/components/layout/SimpleGrid/simple-grid.module.cjs +1 -1
- package/dist/components/layout/SimpleGrid/simple-grid.module.js +1 -1
- package/dist/components/layout/Transition/Transition.cjs +1 -1
- package/dist/components/layout/Transition/Transition.d.ts +13 -2
- package/dist/components/layout/Transition/Transition.js +29 -29
- package/dist/components/media/Gallery/gallery.module.cjs +1 -1
- package/dist/components/media/Gallery/gallery.module.js +11 -11
- package/dist/components/navigation/Pagination/pagination.module.cjs +1 -1
- package/dist/components/navigation/Pagination/pagination.module.js +1 -1
- package/dist/components/navigation/Stepper/Stepper.cjs +1 -1
- package/dist/components/navigation/Stepper/Stepper.js +1 -1
- package/dist/components/navigation/Stepper/stepper.module.cjs +1 -1
- package/dist/components/navigation/Stepper/stepper.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/BottomSheet.cjs +1 -1
- package/dist/components/overlay/BottomSheet/BottomSheet.js +16 -16
- package/dist/components/overlay/Dialog/Dialog.cjs +1 -1
- package/dist/components/overlay/Dialog/Dialog.js +12 -12
- package/dist/components/overlay/Drawer/Drawer.cjs +1 -1
- package/dist/components/overlay/Drawer/Drawer.js +7 -5
- package/dist/components/overlay/Drawer/drawer.module.cjs +1 -1
- package/dist/components/overlay/Drawer/drawer.module.js +12 -11
- package/dist/components/overlay/Menu/menu.module.cjs +1 -1
- package/dist/components/overlay/Menu/menu.module.js +1 -1
- package/dist/components/typography/Code/code.module.cjs +1 -1
- package/dist/components/typography/Code/code.module.js +1 -1
- package/dist/components/typography/Label/label.module.cjs +1 -1
- package/dist/components/typography/Label/label.module.js +1 -1
- package/dist/llms-full.txt +56 -8
- package/dist/llms.txt +1 -1
- package/dist/styles.css +2 -2
- package/dist/types/generated-tokens.d.ts +1 -0
- package/dist/wimui.umd.css +1 -1
- package/dist/wimui.umd.js +5 -5
- package/package.json +12 -6
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.14.0 — a React 19 component library: 218 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
|
|
|
@@ -786,8 +786,32 @@ The container-query wrapper div is preserved to maintain responsive column behav
|
|
|
786
786
|
- `collapsed: boolean` — Collapsed state
|
|
787
787
|
- `width: number | string` = 260 — Width when expanded
|
|
788
788
|
- `bordered: boolean` = true — Border at the right
|
|
789
|
-
- `responsive: boolean` = true —
|
|
790
|
-
|
|
789
|
+
- `responsive: boolean` = true — Below the `md` breakpoint, move the sidebar off-canvas so it stops taking
|
|
790
|
+
width from the content. Defaults to `true`.
|
|
791
|
+
|
|
792
|
+
**It does not bring a way back on screen.** Off-canvas means
|
|
793
|
+
`left: -{width}` until `mobileOpen` is true, and nothing in this component
|
|
794
|
+
flips that — so on a phone the sidebar and everything in it become
|
|
795
|
+
unreachable unless you wire a trigger yourself. Measured at 390px: the rail
|
|
796
|
+
sits at `x = -260` with no control anywhere on the page (T60).
|
|
797
|
+
|
|
798
|
+
Pair it with `mobileOpen` and a `HamburgerMenu`, the way the AppShell story
|
|
799
|
+
does:
|
|
800
|
+
|
|
801
|
+
```tsx
|
|
802
|
+
const [open, setOpen] = useState(false);
|
|
803
|
+
|
|
804
|
+
<HamburgerMenu visibleBelow="md" open={open} onClick={() => setOpen((o) => !o)} />
|
|
805
|
+
<Sidebar mobileOpen={open} onOverlayClick={() => setOpen(false)}>…</Sidebar>
|
|
806
|
+
```
|
|
807
|
+
|
|
808
|
+
`visibleBelow="md"` keeps the control out of the way at widths where the
|
|
809
|
+
rail is already on screen. The trigger lives outside this component on
|
|
810
|
+
purpose: it usually belongs in the header, and a built-in one would sit in
|
|
811
|
+
the wrong place or duplicate the one you already have.
|
|
812
|
+
|
|
813
|
+
Set `responsive={false}` to keep the sidebar in flow at every width.
|
|
814
|
+
- `mobileOpen: boolean` — Mobile drawer open state. Required for the rail to be reachable below `md` — see `responsive`.
|
|
791
815
|
- `onOverlayClick: () => void` — Callback when overlay is clicked
|
|
792
816
|
- **SimpleGrid** — Responsive fixed grid
|
|
793
817
|
- `cols: T | { base?: T; sm?: T; md?: T; lg?: T; xl?: T; }` = 1 — Number of columns (or a responsive object per breakpoint)
|
|
@@ -835,7 +859,13 @@ The container-query wrapper div is preserved to maintain responsive column behav
|
|
|
835
859
|
- **Transition** — Utilities for managing smooth enter and leave animations with CSS classes
|
|
836
860
|
- `show: boolean` (required) — Whether the content is shown (drives the enter/leave transitions)
|
|
837
861
|
- `children: React.ReactNode` (required) — Content to transition
|
|
838
|
-
- `preset: "fade" | "scale" | "slide-right" | "slide-left" | "slide-top" | "slide-bottom"` — Preset transition (fade, scale, slide-*)
|
|
862
|
+
- `preset: "none" | "fade" | "scale" | "slide-right" | "slide-left" | "slide-top" | "slide-bottom"` — Preset transition (fade, scale, slide-*) — 入りと出の両方に効く
|
|
863
|
+
- `enterPreset: "none" | "fade" | "scale" | "slide-right" | "slide-left" | "slide-top" | "slide-bottom"` — 入りだけ別扱いにしたいときのプリセット。`"none"` で入りのアニメーションを止める。
|
|
864
|
+
省略時は `preset` に従う。
|
|
865
|
+
|
|
866
|
+
`Drawer` の `slideIn` / `slideOut` のように**片方だけ切りたい** API があるのに、
|
|
867
|
+
`preset` は両相を一括で決めるため表現できなかった(T58)。
|
|
868
|
+
- `leavePreset: "none" | "fade" | "scale" | "slide-right" | "slide-left" | "slide-top" | "slide-bottom"` — 出だけ別扱いにしたいときのプリセット。`"none"` で出のアニメーションを止める。
|
|
839
869
|
- `enter: string` = "" — Class applied during the enter transition
|
|
840
870
|
- `enterFrom: string` = "" — Class applied at the start of the enter transition
|
|
841
871
|
- `enterTo: string` = "" — Class applied at the end of the enter transition
|
|
@@ -2099,8 +2129,17 @@ Useful for URL-based pagination (e.g. wrap with a Link via PaginationPage asChil
|
|
|
2099
2129
|
- `asChild: boolean` = false — If true, the card will be rendered as its child, merging its props onto that child.
|
|
2100
2130
|
- `variant: "elevated" | "outline" | "flat" | "glass"` = "elevated" — Visual style variant of the card
|
|
2101
2131
|
- `interactive: boolean` = false — Whether to enable hover animation and click effects
|
|
2102
|
-
- `padding:
|
|
2103
|
-
|
|
2132
|
+
- `padding: (typeof CARD_STYLED_PADDING)[number]` = "md" — Padding size.
|
|
2133
|
+
|
|
2134
|
+
Derived from the values `card.module.scss` implements, not from
|
|
2135
|
+
`ComponentSize`. Declaring the whole scale meant `padding="5xl"`
|
|
2136
|
+
type-checked and then did nothing (T38); deriving it means the type cannot
|
|
2137
|
+
drift from the stylesheet again, because `Card.unstyled-values.test.tsx`
|
|
2138
|
+
fails if the list stops matching the SCSS.
|
|
2139
|
+
- `radius: (typeof CARD_STYLED_RADIUS)[number]` = "lg" — Corner radius size.
|
|
2140
|
+
|
|
2141
|
+
Same derivation as `padding`. There is no `--wim-radius-xs` / `-3xl` /
|
|
2142
|
+
`-4xl` / `-5xl` token, so those values had nothing they could have meant.
|
|
2104
2143
|
- **Carousel** — Content slideshow
|
|
2105
2144
|
- `children: React.ReactNode` — Content of the carousel
|
|
2106
2145
|
- `autoPlay: boolean` = false — Whether to auto-play
|
|
@@ -2342,8 +2381,17 @@ drops secondary text below the AA contrast floor.
|
|
|
2342
2381
|
- `variant: React.ComponentProps<typeof Card>["variant"]` = "elevated" — Visual style variant of the card
|
|
2343
2382
|
- `asChild: boolean` = false — If true, the card will be rendered as its child, merging its props onto that child.
|
|
2344
2383
|
- `interactive: boolean` = false — Whether to enable hover animation and click effects
|
|
2345
|
-
- `padding:
|
|
2346
|
-
|
|
2384
|
+
- `padding: (typeof CARD_STYLED_PADDING)[number]` = "md" — Padding size.
|
|
2385
|
+
|
|
2386
|
+
Derived from the values `card.module.scss` implements, not from
|
|
2387
|
+
`ComponentSize`. Declaring the whole scale meant `padding="5xl"`
|
|
2388
|
+
type-checked and then did nothing (T38); deriving it means the type cannot
|
|
2389
|
+
drift from the stylesheet again, because `Card.unstyled-values.test.tsx`
|
|
2390
|
+
fails if the list stops matching the SCSS.
|
|
2391
|
+
- `radius: (typeof CARD_STYLED_RADIUS)[number]` = "lg" — Corner radius size.
|
|
2392
|
+
|
|
2393
|
+
Same derivation as `padding`. There is no `--wim-radius-xs` / `-3xl` /
|
|
2394
|
+
`-4xl` / `-5xl` token, so those values had nothing they could have meant.
|
|
2347
2395
|
- **SwipeAction** — Mobile-friendly swipe actions (delete, archive) for list items.
|
|
2348
2396
|
- `as: React.ElementType` = "div" — The element to render as the root container. Default is 'div'.
|
|
2349
2397
|
- `leftActions: SwipeActionItem[]` = [] — Actions revealed when swiping from left to right
|
package/dist/llms.txt
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## What this is
|
|
6
6
|
|
|
7
|
-
**wimui** v0.
|
|
7
|
+
**wimui** v0.14.0 — a React 19 component library: 218 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
|
|