wimui 0.4.0 → 0.5.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/README.md +3 -3
- 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/InteractiveGraph/InteractiveGraph.cjs +1 -1
- package/dist/components/ai/InteractiveGraph/InteractiveGraph.js +37 -23
- package/dist/components/ai/InteractiveGraph/interactive-graph.module.cjs +1 -1
- package/dist/components/ai/InteractiveGraph/interactive-graph.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/charts/Heatmap/Heatmap.cjs +1 -1
- package/dist/components/charts/Heatmap/Heatmap.d.ts +1 -1
- package/dist/components/charts/Heatmap/Heatmap.js +1 -1
- package/dist/components/charts/Sparkline/Sparkline.cjs +1 -1
- package/dist/components/charts/Sparkline/Sparkline.js +1 -1
- package/dist/components/data-display/Badge/badge.module.cjs +1 -1
- package/dist/components/data-display/Badge/badge.module.js +1 -1
- package/dist/components/data-display/Calendar/calendar.module.cjs +1 -1
- package/dist/components/data-display/Calendar/calendar.module.js +1 -1
- package/dist/components/data-display/Chip/chip.module.cjs +1 -1
- package/dist/components/data-display/Chip/chip.module.js +2 -2
- package/dist/components/data-display/DataGrid/DataGrid.cjs +1 -1
- package/dist/components/data-display/DataGrid/DataGrid.js +3 -0
- package/dist/components/data-display/Tag/tag.module.cjs +1 -1
- package/dist/components/data-display/Tag/tag.module.js +1 -1
- package/dist/components/feedback/Alert/Alert.cjs +1 -1
- package/dist/components/feedback/Alert/Alert.d.ts +1 -1
- package/dist/components/feedback/Alert/Alert.js +3 -3
- package/dist/components/feedback/Alert/alert.module.cjs +1 -1
- package/dist/components/feedback/Alert/alert.module.js +2 -1
- package/dist/components/feedback/Banner/Banner.cjs +1 -1
- package/dist/components/feedback/Banner/Banner.d.ts +1 -1
- package/dist/components/feedback/Banner/Banner.js +46 -43
- package/dist/components/feedback/Banner/banner.module.cjs +1 -1
- package/dist/components/feedback/Banner/banner.module.js +2 -1
- package/dist/components/feedback/Notification/Notification.cjs +1 -1
- package/dist/components/feedback/Notification/Notification.d.ts +1 -0
- package/dist/components/feedback/Notification/Notification.js +16 -14
- package/dist/components/feedback/Notification/notification.module.cjs +1 -1
- package/dist/components/feedback/Notification/notification.module.js +2 -1
- package/dist/components/feedback/Result/Result.cjs +1 -1
- package/dist/components/feedback/Result/Result.d.ts +2 -1
- package/dist/components/feedback/Result/Result.js +6 -2
- package/dist/components/feedback/Result/result.module.cjs +1 -1
- package/dist/components/feedback/Result/result.module.js +1 -1
- package/dist/components/feedback/Snackbar/Snackbar.cjs +1 -1
- package/dist/components/feedback/Snackbar/Snackbar.d.ts +1 -1
- package/dist/components/feedback/Snackbar/Snackbar.js +2 -2
- package/dist/components/feedback/Snackbar/snackbar.module.cjs +1 -1
- package/dist/components/feedback/Snackbar/snackbar.module.js +7 -7
- package/dist/components/feedback/Toast/Toast.cjs +1 -1
- package/dist/components/feedback/Toast/Toast.d.ts +1 -1
- package/dist/components/feedback/Toast/Toast.js +2 -2
- package/dist/components/feedback/Toast/toast.module.cjs +1 -1
- package/dist/components/feedback/Toast/toast.module.js +8 -7
- package/dist/components/form/Cascader/cascader.module.cjs +1 -1
- package/dist/components/form/Cascader/cascader.module.js +6 -6
- package/dist/components/form/Dropzone/Dropzone.cjs +1 -1
- package/dist/components/form/Dropzone/Dropzone.js +18 -18
- package/dist/components/form/Dropzone/dropzone.module.cjs +1 -1
- package/dist/components/form/Dropzone/dropzone.module.js +1 -1
- package/dist/components/form/MultiSelect/multiselect.module.cjs +1 -1
- package/dist/components/form/MultiSelect/multiselect.module.js +1 -1
- package/dist/components/form/PasswordStrength/PasswordStrength.cjs +1 -1
- package/dist/components/form/PasswordStrength/PasswordStrength.js +2 -5
- package/dist/components/form/PasswordStrength/password-strength.module.cjs +1 -1
- package/dist/components/form/PasswordStrength/password-strength.module.js +4 -5
- package/dist/components/form/TagInput/tag-input.module.cjs +1 -1
- package/dist/components/form/TagInput/tag-input.module.js +1 -1
- 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/helpers.cjs +1 -1
- package/dist/components/helpers.d.ts +1 -0
- package/dist/components/helpers.js +12 -12
- package/dist/components/layout/BentoGrid/BentoGrid.cjs +1 -1
- package/dist/components/layout/BentoGrid/BentoGrid.d.ts +3 -1
- package/dist/components/layout/BentoGrid/BentoGrid.js +6 -2
- 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/InteractiveArea/InteractiveArea.cjs +1 -1
- package/dist/components/layout/InteractiveArea/InteractiveArea.js +9 -7
- package/dist/components/layout/InteractiveArea/interactive-area.module.cjs +1 -1
- package/dist/components/layout/InteractiveArea/interactive-area.module.js +9 -8
- package/dist/components/media/Icon/icon.module.cjs +1 -1
- package/dist/components/media/Icon/icon.module.js +10 -10
- package/dist/components/typography/Title/title.module.cjs +1 -1
- package/dist/components/typography/Title/title.module.js +1 -1
- package/dist/llms-full.txt +23 -15
- package/dist/llms.txt +7 -2
- package/dist/rhf/zod.d.ts +1 -1
- package/dist/styles.css +2 -2
- package/dist/types/generated-intents.d.ts +2 -2
- package/dist/types/generated-tokens.d.ts +1 -1
- package/dist/types/tokens.d.ts +1 -1
- package/dist/wimui.umd.css +1 -1
- package/dist/wimui.umd.js +3 -3
- package/package.json +6 -3
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=[`var(--wim-color-primary)`,`var(--wim-color-info)`,`var(--wim-color-success)`,`var(--wim-color-warning)`,`var(--wim-color-danger)`,`var(--wim-color-secondary)`,`var(--wim-color-text-tertiary)`,`var(--wim-color-disabled)`],t=[`var(--wim-color-text-on-primary)`,`var(--wim-color-text-on-info)`,`var(--wim-color-text-on-success)`,`var(--wim-color-text-on-warning)`,`var(--wim-color-text-on-danger)`,`var(--wim-color-text-on-secondary)`,`var(--wim-color-text-primary)`,`var(--wim-color-text-primary)`],n={axis:{stroke:`var(--wim-color-text-disabled)`,fontSize:12},grid:{stroke:`var(--wim-color-border-secondary)`,strokeDasharray:`3 3`},tooltip:{contentStyle:{backgroundColor:`var(--wim-color-glass-bg)`,border:`1px solid var(--wim-color-glass-border)`,borderRadius:`var(--wim-radius-md)`,fontSize:`var(--wim-font-size-sm)`,backdropFilter:`blur(8px)`,color:`var(--wim-color-text-primary)`},cursor:{fill:`var(--wim-color-text-primary)`,stroke:`var(--wim-color-border)`,strokeWidth:1,fillOpacity:.05,strokeOpacity:.5}}};exports.CHART_COLORS=e,exports.CHART_TEXT_COLORS=t,exports.CHART_THEME=n;
|
|
2
|
+
var e=[`var(--wim-color-chart-primary)`,`var(--wim-color-chart-info)`,`var(--wim-color-chart-success)`,`var(--wim-color-chart-warning)`,`var(--wim-color-chart-danger)`,`var(--wim-color-chart-secondary)`,`var(--wim-color-text-tertiary)`,`var(--wim-color-disabled)`],t=[`var(--wim-color-text-on-chart-primary)`,`var(--wim-color-text-on-chart-info)`,`var(--wim-color-text-on-chart-success)`,`var(--wim-color-text-on-chart-warning)`,`var(--wim-color-text-on-chart-danger)`,`var(--wim-color-text-on-chart-secondary)`,`var(--wim-color-text-primary)`,`var(--wim-color-text-primary)`],n={axis:{stroke:`var(--wim-color-text-disabled)`,fontSize:12},grid:{stroke:`var(--wim-color-border-secondary)`,strokeDasharray:`3 3`},tooltip:{contentStyle:{backgroundColor:`var(--wim-color-glass-bg)`,border:`1px solid var(--wim-color-glass-border)`,borderRadius:`var(--wim-radius-md)`,fontSize:`var(--wim-font-size-sm)`,backdropFilter:`blur(8px)`,color:`var(--wim-color-text-primary)`},cursor:{fill:`var(--wim-color-text-primary)`,stroke:`var(--wim-color-border)`,strokeWidth:1,fillOpacity:.05,strokeOpacity:.5}}};exports.CHART_COLORS=e,exports.CHART_TEXT_COLORS=t,exports.CHART_THEME=n;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* 各キーの値は文字列・数値・null のいずれかです。
|
|
4
4
|
*/
|
|
5
5
|
export type ChartDataPoint = Record<string, string | number | null>;
|
|
6
|
+
/** Soft-tone series palette — kept separate from Vivid UI semantics. */
|
|
6
7
|
export declare const CHART_COLORS: string[];
|
|
7
8
|
export declare const CHART_TEXT_COLORS: string[];
|
|
8
9
|
export declare const CHART_THEME: {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
//#region src/components/helpers.ts
|
|
3
3
|
var e = [
|
|
4
|
-
"var(--wim-color-primary)",
|
|
5
|
-
"var(--wim-color-info)",
|
|
6
|
-
"var(--wim-color-success)",
|
|
7
|
-
"var(--wim-color-warning)",
|
|
8
|
-
"var(--wim-color-danger)",
|
|
9
|
-
"var(--wim-color-secondary)",
|
|
4
|
+
"var(--wim-color-chart-primary)",
|
|
5
|
+
"var(--wim-color-chart-info)",
|
|
6
|
+
"var(--wim-color-chart-success)",
|
|
7
|
+
"var(--wim-color-chart-warning)",
|
|
8
|
+
"var(--wim-color-chart-danger)",
|
|
9
|
+
"var(--wim-color-chart-secondary)",
|
|
10
10
|
"var(--wim-color-text-tertiary)",
|
|
11
11
|
"var(--wim-color-disabled)"
|
|
12
12
|
], t = [
|
|
13
|
-
"var(--wim-color-text-on-primary)",
|
|
14
|
-
"var(--wim-color-text-on-info)",
|
|
15
|
-
"var(--wim-color-text-on-success)",
|
|
16
|
-
"var(--wim-color-text-on-warning)",
|
|
17
|
-
"var(--wim-color-text-on-danger)",
|
|
18
|
-
"var(--wim-color-text-on-secondary)",
|
|
13
|
+
"var(--wim-color-text-on-chart-primary)",
|
|
14
|
+
"var(--wim-color-text-on-chart-info)",
|
|
15
|
+
"var(--wim-color-text-on-chart-success)",
|
|
16
|
+
"var(--wim-color-text-on-chart-warning)",
|
|
17
|
+
"var(--wim-color-text-on-chart-danger)",
|
|
18
|
+
"var(--wim-color-text-on-chart-secondary)",
|
|
19
19
|
"var(--wim-color-text-primary)",
|
|
20
20
|
"var(--wim-color-text-primary)"
|
|
21
21
|
], n = {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("./bento-grid.module.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("classnames");r=e.__toESM(r,1);let i=require("react/jsx-runtime");var a=({className:e,children:n,...
|
|
2
|
+
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("./bento-grid.module.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("classnames");r=e.__toESM(r,1);let i=require("react/jsx-runtime");var a=({className:e,children:n,rowHeight:a,style:o,...s})=>(0,i.jsx)(`div`,{className:t.default.container,children:(0,i.jsx)(`div`,{className:(0,r.default)(`wim-bento-grid`,t.default.root,e),style:a?{...o,"--wim-bento-row-height":a}:o,...s,children:n})});a.displayName=`BentoGrid`;var o=({className:e,title:n,description:a,header:o,icon:s,...c})=>(0,i.jsxs)(`div`,{className:(0,r.default)(t.default.item,e),...c,children:[o&&(0,i.jsx)(`div`,{className:t.default.itemHeader,children:o}),(0,i.jsxs)(`div`,{className:t.default.itemContent,children:[s&&(0,i.jsx)(`div`,{className:t.default.itemIcon,children:s}),(0,i.jsxs)(`div`,{className:t.default.itemText,children:[n&&(0,i.jsx)(`div`,{className:t.default.itemTitle,children:n}),a&&(0,i.jsx)(`div`,{className:t.default.itemDescription,children:a})]})]})]});o.displayName=`BentoGridItem`,exports.BentoGrid=a,exports.BentoGridItem=o;
|
|
@@ -2,9 +2,11 @@ import { default as React } from 'react';
|
|
|
2
2
|
type BentoGridProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
3
3
|
/** Grid items (typically BentoGrid.Item elements) */
|
|
4
4
|
children?: React.ReactNode;
|
|
5
|
+
/** 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. */
|
|
6
|
+
rowHeight?: string;
|
|
5
7
|
};
|
|
6
8
|
export declare const BentoGrid: {
|
|
7
|
-
({ className, children, ...props }: BentoGridProps): React.JSX.Element;
|
|
9
|
+
({ className, children, rowHeight, style, ...props }: BentoGridProps): React.JSX.Element;
|
|
8
10
|
displayName: string;
|
|
9
11
|
};
|
|
10
12
|
export type BentoGridItemProps = React.ComponentPropsWithoutRef<"div"> & {
|
|
@@ -4,11 +4,15 @@ import "react";
|
|
|
4
4
|
import t from "classnames";
|
|
5
5
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/layout/BentoGrid/BentoGrid.tsx
|
|
7
|
-
var i = ({ className: r, children: i,
|
|
7
|
+
var i = ({ className: r, children: i, rowHeight: a, style: o, ...s }) => /* @__PURE__ */ n("div", {
|
|
8
8
|
className: e.container,
|
|
9
9
|
children: /* @__PURE__ */ n("div", {
|
|
10
10
|
className: t("wim-bento-grid", e.root, r),
|
|
11
|
-
|
|
11
|
+
style: a ? {
|
|
12
|
+
...o,
|
|
13
|
+
"--wim-bento-row-height": a
|
|
14
|
+
} : o,
|
|
15
|
+
...s,
|
|
12
16
|
children: i
|
|
13
17
|
})
|
|
14
18
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_container_136wn_3`,t=`_root_136wn_8`,n=`_item_136wn_22`,r=`_itemHeader_136wn_36`,i=`_itemContent_136wn_44`,a=`_itemIcon_136wn_49`,o=`_itemText_136wn_52`,s=`_itemTitle_136wn_56`,c=`_itemDescription_136wn_61`,l={container:e,root:t,item:n,itemHeader:r,itemContent:i,itemIcon:a,itemText:o,itemTitle:s,itemDescription:c};exports.container=e,exports.default=l,exports.item=n,exports.itemContent=i,exports.itemDescription=c,exports.itemHeader=r,exports.itemIcon=a,exports.itemText=o,exports.itemTitle=s,exports.root=t;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
//#region src/components/layout/BentoGrid/bento-grid.module.scss
|
|
3
|
-
var e = "
|
|
3
|
+
var e = "_container_136wn_3", t = "_root_136wn_8", n = "_item_136wn_22", r = "_itemHeader_136wn_36", i = "_itemContent_136wn_44", a = "_itemIcon_136wn_49", o = "_itemText_136wn_52", s = "_itemTitle_136wn_56", c = "_itemDescription_136wn_61", l = {
|
|
4
4
|
container: e,
|
|
5
5
|
root: t,
|
|
6
6
|
item: n,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("./interactive-area.module.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("classnames");r=e.__toESM(r,1);let i=require("react/jsx-runtime");var a=n.default.forwardRef(({title:e,description:n,icon:a,actions:o,variant:s=`dashed`,bgVariant:c=`default`,size:l=`md`,isDragging:u=!1,isClickable:d=!1,disabled:f=!1,className:p,children:m,styles:h,...g},_)=>(0,i.jsx)(`div`,{ref:_,className:(0,r.default)(`wim-interactive-area`,t.default.root,t.default[s],t.default[c],t.default[l],u&&t.default.dragging,d&&!f&&t.default.clickable,f&&t.default.disabled,p),"data-variant":s,"data-bg-variant":c,"data-size":l,"data-disabled":f,"data-dragging":u,role:d&&!f?`button`:void 0,tabIndex:d&&!f?0:void 0,"aria-disabled":f||void 0,onKeyDown:e=>{d&&!f&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.currentTarget.click()),g.onKeyDown?.(e)},...g,onClick:e=>{if(f){e.preventDefault();return}g.onClick?.(e)},children:(0,i.jsxs)(`div`,{className:(0,r.default)(t.default.inner,h?.inner),children:[a&&(0,i.jsx)(`div`,{className:(0,r.default)(t.default.icon,h?.icon),children:a}),e&&(0,i.jsx)(`div`,{className:(0,r.default)(t.default.title,h?.title),children:e}),n&&(0,i.jsx)(`div`,{className:(0,r.default)(t.default.description,h?.description),children:n}),m&&(0,i.jsx)(`div`,{className:(0,r.default)(t.default.content,h?.content),children:m}),o&&(0,i.jsx)(`div`,{className:(0,r.default)(t.default.actions,h?.actions),children:o})]})}));a.displayName=`InteractiveArea`,exports.InteractiveArea=a;
|
|
2
|
+
const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("./interactive-area.module.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("classnames");r=e.__toESM(r,1);let i=require("react/jsx-runtime");var a=n.default.forwardRef(({title:e,description:n,icon:a,actions:o,variant:s=`dashed`,bgVariant:c=`default`,size:l=`md`,isDragging:u=!1,isClickable:d=!1,disabled:f=!1,className:p,children:m,styles:h,...g},_)=>(0,i.jsx)(`div`,{ref:_,className:(0,r.default)(`wim-interactive-area`,t.default.root,t.default[s],t.default[c],t.default[l],u&&t.default.dragging,d&&!f&&t.default.clickable,f&&t.default.disabled,p),"data-variant":s,"data-bg-variant":c,"data-size":l,"data-disabled":f,"data-dragging":u,role:d&&!f?`button`:void 0,tabIndex:d&&!f?0:void 0,"aria-disabled":f||void 0,onKeyDown:e=>{d&&!f&&(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.currentTarget.click()),g.onKeyDown?.(e)},...g,onClick:e=>{if(f){e.preventDefault();return}g.onClick?.(e)},children:(0,i.jsxs)(`div`,{className:(0,r.default)(t.default.inner,h?.inner),children:[a&&(0,i.jsx)(`div`,{className:(0,r.default)(t.default.icon,h?.icon),children:a}),(e||n)&&(0,i.jsxs)(`div`,{className:t.default.text,children:[e&&(0,i.jsx)(`div`,{className:(0,r.default)(t.default.title,h?.title),children:e}),n&&(0,i.jsx)(`div`,{className:(0,r.default)(t.default.description,h?.description),children:n})]}),m&&(0,i.jsx)(`div`,{className:(0,r.default)(t.default.content,h?.content),children:m}),o&&(0,i.jsx)(`div`,{className:(0,r.default)(t.default.actions,h?.actions),children:o})]})}));a.displayName=`InteractiveArea`,exports.InteractiveArea=a;
|
|
@@ -33,13 +33,15 @@ var a = t.forwardRef(({ title: t, description: a, icon: o, actions: s, variant:
|
|
|
33
33
|
className: n(e.icon, g?.icon),
|
|
34
34
|
children: o
|
|
35
35
|
}),
|
|
36
|
-
t && /* @__PURE__ */
|
|
37
|
-
className:
|
|
38
|
-
children: t
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
36
|
+
(t || a) && /* @__PURE__ */ i("div", {
|
|
37
|
+
className: e.text,
|
|
38
|
+
children: [t && /* @__PURE__ */ r("div", {
|
|
39
|
+
className: n(e.title, g?.title),
|
|
40
|
+
children: t
|
|
41
|
+
}), a && /* @__PURE__ */ r("div", {
|
|
42
|
+
className: n(e.description, g?.description),
|
|
43
|
+
children: a
|
|
44
|
+
})]
|
|
43
45
|
}),
|
|
44
46
|
h && /* @__PURE__ */ r("div", {
|
|
45
47
|
className: n(e.content, g?.content),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_root_1eoto_1`,t=`_dashed_1eoto_18`,n=`_solid_1eoto_21`,r=`_none_1eoto_24`,i=`_transparent_1eoto_30`,a=`_muted_1eoto_33`,o=`_sm_1eoto_36`,s=`_md_1eoto_42`,c=`_lg_1eoto_48`,l=`_dragging_1eoto_54`,u=`_clickable_1eoto_58`,d=`_disabled_1eoto_69`,f=`_inner_1eoto_74`,p=`_text_1eoto_84`,m=`_icon_1eoto_91`,h=`_title_1eoto_99`,g=`_description_1eoto_105`,_=`_content_1eoto_110`,v=`_actions_1eoto_114`,y={root:e,dashed:t,solid:n,none:r,default:`_default_1eoto_27`,transparent:i,muted:a,sm:o,md:s,lg:c,dragging:l,clickable:u,disabled:d,inner:f,text:p,icon:m,title:h,description:g,content:_,actions:v};exports.actions=v,exports.clickable=u,exports.content=_,exports.dashed=t,exports.default=y,exports.description=g,exports.disabled=d,exports.dragging=l,exports.icon=m,exports.inner=f,exports.lg=c,exports.md=s,exports.muted=a,exports.none=r,exports.root=e,exports.sm=o,exports.solid=n,exports.text=p,exports.title=h,exports.transparent=i;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
//#region src/components/layout/InteractiveArea/interactive-area.module.scss
|
|
3
|
-
var e = "
|
|
3
|
+
var e = "_root_1eoto_1", t = "_dashed_1eoto_18", n = "_solid_1eoto_21", r = "_none_1eoto_24", i = "_transparent_1eoto_30", a = "_muted_1eoto_33", o = "_sm_1eoto_36", s = "_md_1eoto_42", c = "_lg_1eoto_48", l = "_dragging_1eoto_54", u = "_clickable_1eoto_58", d = "_disabled_1eoto_69", f = "_inner_1eoto_74", p = "_text_1eoto_84", m = "_icon_1eoto_91", h = "_title_1eoto_99", g = "_description_1eoto_105", _ = "_content_1eoto_110", v = "_actions_1eoto_114", y = {
|
|
4
4
|
root: e,
|
|
5
5
|
dashed: t,
|
|
6
6
|
solid: n,
|
|
7
7
|
none: r,
|
|
8
|
-
default: "
|
|
8
|
+
default: "_default_1eoto_27",
|
|
9
9
|
transparent: i,
|
|
10
10
|
muted: a,
|
|
11
11
|
sm: o,
|
|
@@ -15,11 +15,12 @@ var e = "_root_1dvlo_1", t = "_dashed_1dvlo_13", n = "_solid_1dvlo_16", r = "_no
|
|
|
15
15
|
clickable: u,
|
|
16
16
|
disabled: d,
|
|
17
17
|
inner: f,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
text: p,
|
|
19
|
+
icon: m,
|
|
20
|
+
title: h,
|
|
21
|
+
description: g,
|
|
22
|
+
content: _,
|
|
23
|
+
actions: v
|
|
23
24
|
};
|
|
24
25
|
//#endregion
|
|
25
|
-
export {
|
|
26
|
+
export { v as actions, u as clickable, _ as content, t as dashed, y as default, g as description, d as disabled, l as dragging, m as icon, f as inner, c as lg, s as md, a as muted, r as none, e as root, o as sm, n as solid, p as text, h as title, i as transparent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_root_1ccaa_3`,t=`_danger_1ccaa_62`,n=`_success_1ccaa_65`,r=`_warning_1ccaa_68`,i=`_primary_1ccaa_71`,a=`_secondary_1ccaa_74`,o=`_tertiary_1ccaa_77`,s=`_disabled_1ccaa_80`,c=`_info_1ccaa_83`,l=`_loading_1ccaa_86`,u=`_rotate_1ccaa_1`,d={root:e,"size-xs":`_size-xs_1ccaa_35`,"size-sm":`_size-sm_1ccaa_38`,"size-md":`_size-md_1ccaa_41`,"size-lg":`_size-lg_1ccaa_44`,"size-xl":`_size-xl_1ccaa_47`,"size-2xl":`_size-2xl_1ccaa_50`,"size-3xl":`_size-3xl_1ccaa_53`,"size-4xl":`_size-4xl_1ccaa_56`,"size-5xl":`_size-5xl_1ccaa_59`,danger:t,success:n,warning:r,primary:i,secondary:a,tertiary:o,disabled:s,info:c,loading:l,rotate:u};exports.danger=t,exports.default=d,exports.disabled=s,exports.info=c,exports.loading=l,exports.primary=i,exports.root=e,exports.rotate=u,exports.secondary=a,exports.success=n,exports.tertiary=o,exports.warning=r;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
//#region src/components/media/Icon/icon.module.scss
|
|
3
|
-
var e = "
|
|
3
|
+
var e = "_root_1ccaa_3", t = "_danger_1ccaa_62", n = "_success_1ccaa_65", r = "_warning_1ccaa_68", i = "_primary_1ccaa_71", a = "_secondary_1ccaa_74", o = "_tertiary_1ccaa_77", s = "_disabled_1ccaa_80", c = "_info_1ccaa_83", l = "_loading_1ccaa_86", u = "_rotate_1ccaa_1", d = {
|
|
4
4
|
root: e,
|
|
5
|
-
"size-xs": "_size-
|
|
6
|
-
"size-sm": "_size-
|
|
7
|
-
"size-md": "_size-
|
|
8
|
-
"size-lg": "_size-
|
|
9
|
-
"size-xl": "_size-
|
|
10
|
-
"size-2xl": "_size-
|
|
11
|
-
"size-3xl": "_size-
|
|
12
|
-
"size-4xl": "_size-
|
|
13
|
-
"size-5xl": "_size-
|
|
5
|
+
"size-xs": "_size-xs_1ccaa_35",
|
|
6
|
+
"size-sm": "_size-sm_1ccaa_38",
|
|
7
|
+
"size-md": "_size-md_1ccaa_41",
|
|
8
|
+
"size-lg": "_size-lg_1ccaa_44",
|
|
9
|
+
"size-xl": "_size-xl_1ccaa_47",
|
|
10
|
+
"size-2xl": "_size-2xl_1ccaa_50",
|
|
11
|
+
"size-3xl": "_size-3xl_1ccaa_53",
|
|
12
|
+
"size-4xl": "_size-4xl_1ccaa_56",
|
|
13
|
+
"size-5xl": "_size-5xl_1ccaa_59",
|
|
14
14
|
danger: t,
|
|
15
15
|
success: n,
|
|
16
16
|
warning: r,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var e=`
|
|
2
|
+
var e=`_root_4sas6_7`,t=`_xs_4sas6_28`,n=`_sm_4sas6_28`,r=`_xl_4sas6_34`,i=`_xl2_4sas6_34`,a=`_xl3_4sas6_34`,o=`_xl4_4sas6_34`,s=`_md_4sas6_13`,c=`_lg_4sas6_55`,l=`_left_4sas6_73`,u=`_center_4sas6_76`,d=`_right_4sas6_79`,f=`_danger_4sas6_85`,p=`_primary_4sas6_88`,m=`_success_4sas6_91`,h=`_warning_4sas6_94`,g=`_info_4sas6_97`,_=`_underline_4sas6_103`,v=`_highlight_4sas6_109`,y={root:e,xs:t,sm:n,xl:r,xl2:i,xl3:a,xl4:o,md:s,lg:c,left:l,center:u,right:d,danger:f,primary:p,success:m,warning:h,info:g,underline:_,highlight:v};exports.center=u,exports.danger=f,exports.default=y,exports.highlight=v,exports.info=g,exports.left=l,exports.lg=c,exports.md=s,exports.primary=p,exports.right=d,exports.root=e,exports.sm=n,exports.success=m,exports.underline=_,exports.warning=h,exports.xl=r,exports.xl2=i,exports.xl3=a,exports.xl4=o,exports.xs=t;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
//#region src/components/typography/Title/title.module.scss
|
|
3
|
-
var e = "
|
|
3
|
+
var e = "_root_4sas6_7", t = "_xs_4sas6_28", n = "_sm_4sas6_28", r = "_xl_4sas6_34", i = "_xl2_4sas6_34", a = "_xl3_4sas6_34", o = "_xl4_4sas6_34", s = "_md_4sas6_13", c = "_lg_4sas6_55", l = "_left_4sas6_73", u = "_center_4sas6_76", d = "_right_4sas6_79", f = "_danger_4sas6_85", p = "_primary_4sas6_88", m = "_success_4sas6_91", h = "_warning_4sas6_94", g = "_info_4sas6_97", _ = "_underline_4sas6_103", v = "_highlight_4sas6_109", y = {
|
|
4
4
|
root: e,
|
|
5
5
|
xs: t,
|
|
6
6
|
sm: n,
|
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.5.1 — a React 19 component library: 216 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
|
|
|
@@ -55,12 +55,17 @@ Single components are judged by state/a11y/token compliance. **Composed screens*
|
|
|
55
55
|
- Emoji used as UI icons (☰ ★ ✓) → use `src/icon/` components. (Emoji as functional markers in docs/README is fine; as UI icons it is not.)
|
|
56
56
|
- Skeleton used as anything but loading (fake screenshots) → real-looking content or an actual mini UI.
|
|
57
57
|
- Every section center-aligned → default to left-aligned; at most one centered section per page.
|
|
58
|
-
- Round numbers ("1000+", "99%") + generic copy ("Get started"
|
|
58
|
+
- Round numbers ("1000+", "99%") + generic copy ("Get started") → jagged realistic numbers (4,281) and product-specific voice.
|
|
59
59
|
- Sequential/alphabetical dummy names (Alice/Bob/Charlie, User 1/2) → culturally diverse, unordered, real-feeling names.
|
|
60
60
|
- Rainbow color-per-category → color carries state only (success/warning/danger); everything else neutral.
|
|
61
61
|
- Perfectly even grids (2×2, 3×3 all same size) → break the grid (span the protagonist cell, size differences, hero+sidebar asymmetry).
|
|
62
62
|
- Filling every slot / uniform gaps everywhere → leave whitespace; group by proximity (tight within a group, loose between groups).
|
|
63
63
|
|
|
64
|
+
**Machine-enforced banned vocabulary** (a linter, `check:slop`, fails builds that use these in demo copy — say concrete actions/numbers instead):
|
|
65
|
+
- Hype adjectives/verbs: seamless, powerful, effortless, cutting-edge, next-gen, next-generation, revolutionary, game-changing, state-of-the-art, world-class, best-in-class, unparalleled, lightning-fast, blazing-fast, supercharge, innovative, disruptive, harness, leverage, elevate, empower, reimagine, unleash, delight, magical, 圧倒的, 革新的, 次世代, 究極, 最先端.
|
|
66
|
+
- Hype phrases: "in today's digital landscape", "built for the modern team", "supercharge your", "unleash your", "reimagine the way", "experience the power of", "innovative solutions".
|
|
67
|
+
- Stock placeholder names: John Doe, Jane Doe, John Smith, Jane Smith, Lorem Ipsum, Example User, Acme (a realistic example name in an input placeholder is fine).
|
|
68
|
+
|
|
64
69
|
**Must rules:**
|
|
65
70
|
1. One visual protagonist per screen (jump in size/weight/color creates the entry point).
|
|
66
71
|
2. Contrast density: hero/showcase sparse, data regions (tables/lists) dense. Uniform "medium density" reads as AI.
|
|
@@ -610,6 +615,7 @@ export function RenameWorkspace() {
|
|
|
610
615
|
- `children: React.ReactNode` (required) — Child content
|
|
611
616
|
- **BentoGrid** — Modern card grid
|
|
612
617
|
- `children: React.ReactNode` — Grid items (typically BentoGrid.Item elements)
|
|
618
|
+
- `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.
|
|
613
619
|
- **Box** — Polymorphic box
|
|
614
620
|
- `as: C` — The component used for the root node. Either a string to use a HTML element or a component.
|
|
615
621
|
- `asChild: boolean` = false — If true, the box will be rendered as its child, merging its props onto that child.
|
|
@@ -1673,8 +1679,8 @@ Useful for using the button styles with Link components (e.g. from React Router
|
|
|
1673
1679
|
- `titleTag: "h1" | "h2" | "h3" | "h4" | "h5" | "h6"` = "h4" — HTML tag used for the alert title
|
|
1674
1680
|
@default "h4"
|
|
1675
1681
|
- `description: React.ReactNode` — Description text of the alert
|
|
1676
|
-
- `intent: FeedbackIntent` = "
|
|
1677
|
-
@default "
|
|
1682
|
+
- `intent: FeedbackIntent` = "default" — Intent (semantic state) of the alert
|
|
1683
|
+
@default "default"
|
|
1678
1684
|
- `icon: React.ReactNode` — Custom icon. When omitted, a default icon matching the intent is displayed.
|
|
1679
1685
|
- `onClose: () => void` — Called when the close button is clicked. Providing it shows the close button.
|
|
1680
1686
|
- `className: string` — Additional CSS class name
|
|
@@ -1686,8 +1692,8 @@ Useful for using the button styles with Link components (e.g. from React Router
|
|
|
1686
1692
|
- **Banner** — Top prominent messages
|
|
1687
1693
|
- `title: React.ReactNode` — Title of the banner
|
|
1688
1694
|
- `description: React.ReactNode` — Description text of the banner
|
|
1689
|
-
- `intent: FeedbackIntent` = "
|
|
1690
|
-
@default "
|
|
1695
|
+
- `intent: FeedbackIntent` = "default" — Intent (semantic state) of the banner
|
|
1696
|
+
@default "default"
|
|
1691
1697
|
- `icon: boolean | React.ReactNode` = true — Whether to show the icon, or a custom icon element
|
|
1692
1698
|
@default true
|
|
1693
1699
|
- `extra: React.ReactNode` — Action element (e.g. a Button component)
|
|
@@ -1745,7 +1751,8 @@ When a function is passed, it is called as (error, errorInfo, reset) => ReactNod
|
|
|
1745
1751
|
- `title: ReactNode` (required) — The title of notification
|
|
1746
1752
|
- `description: ReactNode` — The description of notification
|
|
1747
1753
|
- `icon: ReactNode` — The icon of notification
|
|
1748
|
-
- `intent: FeedbackIntent` — The intent of notification
|
|
1754
|
+
- `intent: FeedbackIntent` = "default" — The intent of notification
|
|
1755
|
+
@default "default"
|
|
1749
1756
|
- `onClose: (id?: string) => void` — Callback when notification is closed
|
|
1750
1757
|
- `closable: boolean` = true — Whether to show close button
|
|
1751
1758
|
- `className: string` — Additional class name
|
|
@@ -1764,7 +1771,8 @@ When a function is passed, it is called as (error, errorInfo, reset) => ReactNod
|
|
|
1764
1771
|
- `indeterminate: boolean` = false — If true, shows an indeterminate animation instead of a value.
|
|
1765
1772
|
@default false
|
|
1766
1773
|
- **Result** — Task status indicator
|
|
1767
|
-
- `intent: Extract<WimIntent, "success" | "danger" | "info" | "warning">` = "
|
|
1774
|
+
- `intent: Extract< WimIntent, "default" | "success" | "danger" | "info" | "warning" >` = "default" — Semantic intent — determines the icon and color.
|
|
1775
|
+
@default "default"
|
|
1768
1776
|
- `status: "404" | "403" | "500"` — HTTP error status — adds a status-specific CSS class and shows a neutral icon.
|
|
1769
1777
|
Use for error pages (404, 403, 500).
|
|
1770
1778
|
- `title: ReactNode` — The title
|
|
@@ -1794,8 +1802,8 @@ Use for error pages (404, 403, 500).
|
|
|
1794
1802
|
- `message: string` (required) — Message displayed in the snackbar
|
|
1795
1803
|
- `open: boolean` = false — Whether the snackbar is shown
|
|
1796
1804
|
@default false
|
|
1797
|
-
- `intent: FeedbackIntent` = "
|
|
1798
|
-
@default "
|
|
1805
|
+
- `intent: FeedbackIntent` = "default" — Intent (semantic state)
|
|
1806
|
+
@default "default"
|
|
1799
1807
|
- `position: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right"` = "bottom-center" — Position on the screen
|
|
1800
1808
|
@default "bottom-center"
|
|
1801
1809
|
- `autoHideDuration: number` = 5000 — Time in milliseconds before the snackbar closes automatically. Set 0 to disable auto-close.
|
|
@@ -1818,8 +1826,8 @@ Use for error pages (404, 403, 500).
|
|
|
1818
1826
|
- `id: string` — Identifier of the toast, passed to onClose. Used by ToastProvider to manage a stack.
|
|
1819
1827
|
- `title: string` — Title of the toast.
|
|
1820
1828
|
- `description: string` — Description text displayed below the title.
|
|
1821
|
-
- `intent: FeedbackIntent` = "
|
|
1822
|
-
@default "
|
|
1829
|
+
- `intent: FeedbackIntent` = "default" — Intent (semantic state) of the toast.
|
|
1830
|
+
@default "default"
|
|
1823
1831
|
- `duration: number` = 3000 — Time in milliseconds before the toast closes automatically. Set 0 to disable auto-close.
|
|
1824
1832
|
@default 3000
|
|
1825
1833
|
- `open: boolean` = true — Whether the toast is shown.
|
|
@@ -2720,8 +2728,8 @@ Defaults to the localized `form.optional` string.
|
|
|
2720
2728
|
- `width: string | number` = "100%" — The width of the chart (e.g., "100%", 500).
|
|
2721
2729
|
@default "100%"
|
|
2722
2730
|
- `title: string` — Optional title displayed above the chart.
|
|
2723
|
-
- `colorRange: [string, string]` = ["var(--wim-color-surface-variant)", "var(--wim-color-primary)"] — Colors used for the lowest and highest values.
|
|
2724
|
-
@default ["var(--wim-color-surface-variant)", "var(--wim-color-primary)"]
|
|
2731
|
+
- `colorRange: [string, string]` = ["var(--wim-color-surface-variant)", "var(--wim-color-chart-primary)"] — Colors used for the lowest and highest values.
|
|
2732
|
+
@default ["var(--wim-color-surface-variant)", "var(--wim-color-chart-primary)"]
|
|
2725
2733
|
- `animated: boolean` = false — Whether to animate the cells on mount.
|
|
2726
2734
|
@default false
|
|
2727
2735
|
- **LineChart** — Line charts
|
|
@@ -2777,7 +2785,7 @@ Defaults to the localized `form.optional` string.
|
|
|
2777
2785
|
- `type: "line" | "area" | "bar"` = "line" — Visual form of the sparkline
|
|
2778
2786
|
- `width: number | string` = 100 — Width of the sparkline (number in px, or a CSS value such as "100%")
|
|
2779
2787
|
- `height: number` = 24 — Height of the sparkline in px
|
|
2780
|
-
- `color: string` = "var(--wim-color-primary)" — Stroke/fill color (defaults to the primary chart color)
|
|
2788
|
+
- `color: string` = "var(--wim-color-chart-primary)" — Stroke/fill color (defaults to the primary chart color)
|
|
2781
2789
|
- `strokeWidth: number` = 2 — Stroke width for line and area types
|
|
2782
2790
|
- `showLastDot: boolean` = false — Whether to emphasize the last data point with a dot (line and area only)
|
|
2783
2791
|
- `min: number` — Lower bound of the y-axis domain (defaults to the data minimum)
|
package/dist/llms.txt
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
## What this is
|
|
6
6
|
|
|
7
|
-
**wimui** v0.
|
|
7
|
+
**wimui** v0.5.1 — a React 19 component library: 216 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
|
|
|
@@ -55,12 +55,17 @@ Single components are judged by state/a11y/token compliance. **Composed screens*
|
|
|
55
55
|
- Emoji used as UI icons (☰ ★ ✓) → use `src/icon/` components. (Emoji as functional markers in docs/README is fine; as UI icons it is not.)
|
|
56
56
|
- Skeleton used as anything but loading (fake screenshots) → real-looking content or an actual mini UI.
|
|
57
57
|
- Every section center-aligned → default to left-aligned; at most one centered section per page.
|
|
58
|
-
- Round numbers ("1000+", "99%") + generic copy ("Get started"
|
|
58
|
+
- Round numbers ("1000+", "99%") + generic copy ("Get started") → jagged realistic numbers (4,281) and product-specific voice.
|
|
59
59
|
- Sequential/alphabetical dummy names (Alice/Bob/Charlie, User 1/2) → culturally diverse, unordered, real-feeling names.
|
|
60
60
|
- Rainbow color-per-category → color carries state only (success/warning/danger); everything else neutral.
|
|
61
61
|
- Perfectly even grids (2×2, 3×3 all same size) → break the grid (span the protagonist cell, size differences, hero+sidebar asymmetry).
|
|
62
62
|
- Filling every slot / uniform gaps everywhere → leave whitespace; group by proximity (tight within a group, loose between groups).
|
|
63
63
|
|
|
64
|
+
**Machine-enforced banned vocabulary** (a linter, `check:slop`, fails builds that use these in demo copy — say concrete actions/numbers instead):
|
|
65
|
+
- Hype adjectives/verbs: seamless, powerful, effortless, cutting-edge, next-gen, next-generation, revolutionary, game-changing, state-of-the-art, world-class, best-in-class, unparalleled, lightning-fast, blazing-fast, supercharge, innovative, disruptive, harness, leverage, elevate, empower, reimagine, unleash, delight, magical, 圧倒的, 革新的, 次世代, 究極, 最先端.
|
|
66
|
+
- Hype phrases: "in today's digital landscape", "built for the modern team", "supercharge your", "unleash your", "reimagine the way", "experience the power of", "innovative solutions".
|
|
67
|
+
- Stock placeholder names: John Doe, Jane Doe, John Smith, Jane Smith, Lorem Ipsum, Example User, Acme (a realistic example name in an input placeholder is fine).
|
|
68
|
+
|
|
64
69
|
**Must rules:**
|
|
65
70
|
1. One visual protagonist per screen (jump in size/weight/color creates the entry point).
|
|
66
71
|
2. Contrast density: hero/showcase sparse, data regions (tables/lists) dense. Uniform "medium density" reads as AI.
|
package/dist/rhf/zod.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Re-export `@hookform/resolvers/zod` so apps can wire zod schemas without an extra import path.
|
|
3
|
-
* Requires optional peers: `zod` (^4), `@hookform/resolvers` (^5.1), `react-hook-form` (^7.43).
|
|
3
|
+
* Requires optional peers: `zod` (^3.25 || ^4), `@hookform/resolvers` (^5.1), `react-hook-form` (^7.43).
|
|
4
4
|
* See README「サポート行列(peer)」.
|
|
5
5
|
*/
|
|
6
6
|
export { zodResolver } from '@hookform/resolvers/zod';
|