wimui 0.31.0 → 0.32.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/components/layout/BentoGrid/BentoGrid.cjs +1 -1
- package/dist/components/layout/BentoGrid/BentoGrid.d.ts +18 -5
- package/dist/components/layout/BentoGrid/BentoGrid.js +43 -36
- package/dist/components/layout/BentoGrid/bento-grid.module.cjs +1 -1
- package/dist/components/layout/BentoGrid/bento-grid.module.js +7 -6
- package/dist/components/layout/Divider/Divider.cjs +1 -1
- package/dist/components/layout/Divider/Divider.d.ts +5 -1
- package/dist/components/layout/Divider/Divider.js +2 -2
- package/dist/components/layout/Divider/divider.module.cjs +1 -1
- package/dist/components/layout/Divider/divider.module.js +1 -1
- package/dist/components/layout/Group/Group.cjs +1 -1
- package/dist/components/layout/Group/Group.d.ts +10 -2
- package/dist/components/layout/Group/Group.js +1 -1
- package/dist/components/layout/InteractiveArea/InteractiveArea.cjs +1 -1
- package/dist/components/layout/InteractiveArea/InteractiveArea.d.ts +16 -0
- package/dist/components/layout/InteractiveArea/InteractiveArea.js +21 -20
- package/dist/components/layout/InteractiveArea/interactive-area.module.cjs +1 -1
- package/dist/components/layout/InteractiveArea/interactive-area.module.js +23 -21
- package/dist/components/layout/Masonry/Masonry.cjs +1 -1
- package/dist/components/layout/Masonry/Masonry.d.ts +20 -4
- package/dist/components/layout/Masonry/Masonry.js +26 -25
- package/dist/components/layout/SimpleGrid/SimpleGrid.cjs +1 -1
- package/dist/components/layout/SimpleGrid/SimpleGrid.d.ts +5 -1
- package/dist/components/layout/SimpleGrid/SimpleGrid.js +1 -1
- package/dist/llms-full.txt +26 -6
- package/dist/llms.txt +1 -1
- package/dist/styles.css +1 -1
- package/dist/wimui.umd.css +1 -1
- package/dist/wimui.umd.js +5 -5
- package/package.json +8 -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.32.1 — a React 19 component library: 225 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
|
|
|
@@ -635,6 +635,11 @@ export function RenameWorkspace() {
|
|
|
635
635
|
- `children: React.ReactNode` (required) — Child content
|
|
636
636
|
- **BentoGrid** — Modern card grid (aka Waffle Menu, Bento Menu, Grid Menu, Candy Bar Menu, Chocolate Bar Menu, ベントーメニュー, ワッフルメニュー)
|
|
637
637
|
- `children: React.ReactNode` — Grid items (typically BentoGrid.Item elements)
|
|
638
|
+
- `columns: 2 | 3 | 4` = 3 — How many columns the grid uses from container width `md` up; below that it is
|
|
639
|
+
always a single column. Pick it from what the tiles hold — three columns is a
|
|
640
|
+
layout decision, not a default to accept, and three equal tiles is the shape
|
|
641
|
+
readers have learnt to skip.
|
|
642
|
+
@default 3
|
|
638
643
|
- `rowHeight: string` — Fixed height of each grid row (`grid-auto-rows`). Any CSS length; defaults to `18rem`. Lower it when tiles hold compact content so they don't read as mostly-empty panels.
|
|
639
644
|
- **Box** — Polymorphic box
|
|
640
645
|
- `as: C` — The component used for the root node. Either a string to use a HTML element or a component.
|
|
@@ -728,7 +733,9 @@ under an `h1` needs `2`, one under an `h2` section keeps `3`.
|
|
|
728
733
|
- `label: string` — Dashboard heading label.
|
|
729
734
|
- **Divider** — Content separator (aka Separator, Horizontal Rule)
|
|
730
735
|
- `orientation: "horizontal" | "vertical"` = "horizontal" — Orientation of the divider
|
|
731
|
-
- `thickness: number`
|
|
736
|
+
- `thickness: number` — Thickness of the line, in pixels. Left out, the line is as thick as every
|
|
737
|
+
other hairline in the theme, so a theme that thickens its borders thickens
|
|
738
|
+
this too.
|
|
732
739
|
- **Flex** — Flexible layout
|
|
733
740
|
- `asChild: boolean` = false — If true, the flex will be rendered as its child, merging its props onto that child.
|
|
734
741
|
- `direction: "row" | "row-reverse" | "column" | "column-reverse"` = "row" — Flex direction
|
|
@@ -757,7 +764,9 @@ The container-query wrapper div is preserved to maintain responsive column behav
|
|
|
757
764
|
- `asChild: boolean` — If true, the group will be rendered as its child, merging its props onto that child.
|
|
758
765
|
- `align: "start" | "center" | "end" | "stretch" | "baseline"` = "center" — Vertical alignment
|
|
759
766
|
- `justify: "start" | "center" | "end" | "between" | "around" | "evenly"` = "start" — Horizontal alignment
|
|
760
|
-
- `gap: number | string` =
|
|
767
|
+
- `gap: number | string` = "2xl" — Gap between elements: a spacing token name (`"md"`, `"2xl"`, …) or a raw
|
|
768
|
+
number of pixels. Prefer the token so the gap follows the theme.
|
|
769
|
+
@default "2xl"
|
|
761
770
|
- `wrap: "nowrap" | "wrap" | "wrap-reverse"` = "wrap" — Whether to wrap children
|
|
762
771
|
- `grow: boolean` = false — Whether items should grow to fill available space
|
|
763
772
|
- **Header** — Upper navigation
|
|
@@ -775,13 +784,22 @@ The container-query wrapper div is preserved to maintain responsive column behav
|
|
|
775
784
|
- `variant: "dashed" | "solid" | "none"` = "dashed" — Border variant
|
|
776
785
|
- `bgVariant: "default" | "transparent" | "muted"` = "default" — Background variant
|
|
777
786
|
- `size: Extract<ComponentSize, "sm" | "md" | "lg">` = "md" — Size variation
|
|
787
|
+
- `align: "start" | "center"` = "center" — Horizontal alignment of the icon, text and actions. Centred content only reads
|
|
788
|
+
as deliberate when the area is the one thing in its region — a drop target or a
|
|
789
|
+
whole result page. Inside a card, a table or a column of prose, use `"start"`
|
|
790
|
+
so the block lines up with the text around it.
|
|
791
|
+
@default "center"
|
|
778
792
|
- `isDragging: boolean` = false — Whether the area is currently in a dragging state (for dropzone)
|
|
779
793
|
- `isClickable: boolean` = false — Whether the area is clickable
|
|
780
794
|
- `disabled: boolean` = false — Whether the area is disabled
|
|
781
795
|
- `styles: { inner?: string; icon?: string; title?: string; description?: string; content?: string; actions?: string; }` — Custom styles for internal parts
|
|
782
796
|
- **Masonry** — Waterfall grid
|
|
783
|
-
- `columns: number` = 3 — Number of columns
|
|
784
|
-
|
|
797
|
+
- `columns: number` = 3 — Number of columns. Pick it from how many items there are — three columns
|
|
798
|
+
holding four cards leaves a ragged row that reads as a template, not a choice.
|
|
799
|
+
@default 3
|
|
800
|
+
- `spacing: number | string` = "2xl" — Gap between items: a spacing token name (`"md"`, `"2xl"`, …) or a raw number
|
|
801
|
+
of pixels. Prefer the token so the gap follows the theme.
|
|
802
|
+
@default "2xl"
|
|
785
803
|
- **Navbar** — Primary navigation
|
|
786
804
|
- `fixed: boolean` — Whether the navbar is fixed to the viewport
|
|
787
805
|
- `sticky: boolean` — Whether the navbar sticks to the top while scrolling
|
|
@@ -831,7 +849,9 @@ Set `responsive={false}` to keep the sidebar in flow at every width.
|
|
|
831
849
|
- `onOverlayClick: () => void` — Callback when overlay is clicked
|
|
832
850
|
- **SimpleGrid** — Responsive fixed grid
|
|
833
851
|
- `cols: T | { base?: T; sm?: T; md?: T; lg?: T; xl?: T; }` = 1 — Number of columns (or a responsive object per breakpoint)
|
|
834
|
-
- `spacing: number | string` =
|
|
852
|
+
- `spacing: number | string` = "2xl" — Spacing between cells: a spacing token name (`"md"`, `"2xl"`, …) or a raw
|
|
853
|
+
number of pixels. Prefer the token so the gap follows the theme.
|
|
854
|
+
@default "2xl"
|
|
835
855
|
- `verticalSpacing: number | string` — Vertical spacing between rows (defaults to `spacing`)
|
|
836
856
|
- `minChildWidth: number | string` — Minimum width of each child; columns wrap automatically to fit
|
|
837
857
|
- **Splitter** — Split and resize panels
|
package/dist/llms.txt
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## What this is
|
|
6
6
|
|
|
7
|
-
**wimui** v0.
|
|
7
|
+
**wimui** v0.32.1 — a React 19 component library: 225 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
|
|