Changelog · Morya UI
morya-ui
0.5.6
破坏性变更
- rename dismissable to closeOnOutsideClick
- drop the StepperOrientation type re-export
- drop labelPlacement and requiredMark aliases
- drop the dataSource and data aliases for items
- drop pageSize and showSizeChanger aliases
- drop the deprecated size prop
- drop the deprecated cancel prop
- drop the deprecated modelValue prop
- drop the dismissable alias for closeOnOutsideClick
- drop the inputId alias for the id prop
- drop the tip alias for description
- drop the tip alias for the text prop
- drop the direction alias for the layout prop
- drop the bound alias for the bounds prop
- drop orientation and titlePlacement aliases
- drop the href alias on items and home
- drop modelValue alias for open
- drop the orientation alias for the vertical prop
- drop the gap alias for the size prop
- extend Dialog API and remove deprecated alias props
变更
- update button components and styles for improved consistency
- update footer and header alignment styles
- regenerate mcp catalog + recipes after alias cleanup
- shift status color from tinted surface to icon only
0.5.5
新功能
- add @inquirer/prompts dependency and refactor prompt functions
修复
- center prev/next icons inside their buttons
- keep teleported overlay CSS variables self-contained
0.5.4
修复
- upgrade template files and MCP config in place on re-run
0.5.3
新功能
- enhance code block styling and copy functionality
- expose component styleTokens in catalog; fix dangling demo references
- converge hardcoded sizes in shared control styles to semantic tokens
- tokenize P2 auxiliary components
- tokenize P1 overlay and navigation components
- tokenize P0 core components with root-level CSS variable panels
- add semantic fill/border opacity ratios and missing alias tokens
- add MCard and MDrawer components; update MDialog title and default motion duration
修复
- scope markdown styles to direct children, harden dialog h2
- apply width prop through --m-dialog-width token
变更
- remove third-party component library references from comments and docs
- harden bare semantic tags against host global styles
- drive size via --m-drawer-side-width / --m-drawer-top-height tokens
0.5.2
新功能
- add smooth sliding thumb to selection
- normalize system icon optical sizes
- switch system icons to filled Material Icons
- keep dialog open on mask click by default
- unify button-mode control frame
- update dialog width prop and update skill、mcp
修复
- stop zeroing component motion on OS reduced-motion
- shrink corner-filling glyphs for optical balance
- unify compact mark sizes with full icons
变更
- remove component in favor of input affix slots
- rename component classes to kebab-case
0.5.1
破坏性变更
- unify clearable prop name across form controls
新功能
- support custom component icons across menu components
- enhance popup behavior and styling
修复
- remove explicit width setting for popup menu
- lock floating popup width to the trigger width
- don't highlight first item on mouse open
- don't highlight first item on open
变更
- sync clearable usage and regenerate MCP catalog
0.5.0
新功能
- update component import map and styles
- add gradient support with draggable stops
- remove InputColor component (replaced by ColorPicker)
文档
- add Methods section (open/close/toggle)
- remove external library references and InputColor mentions
变更
- enhance button styling and layout for right-stacked configuration
0.4.5
新功能
- add disabled, v-model:selection, top/bottom buttons, drag preview, drop indicator, flip animation
- scale size across panel, center cells, stretch fluid calendar, add time column headers
- add moveTop, moveBottom, hour, minute, second, today messages
- align control size tokens with design system (small 8px, medium 12px, large 16px font)
- add panel mode cycling, multiple selection and input mask
- add needConfirm and shortcut active state
- add status, today ring, footer and cell slots
- add column settings copy for all locales
- sort config, column settings, column drag, skeleton, dynamic rows
修复
- stretch time-only panel columns to fill width
- make skeleton work without loading and add column drag motion
文档
- restyle docs, components, design, and changelog pages
- restyle docs reading layout and demo cards
- add disabled and custom item demos, document pt, selection, disabled, keyboard
- enrich demos with real-world scenarios
- add demos and sections for new features
- refresh Table documentation for new APIs
- add demos for sorting, column settings, drag, skeleton, dynamic rows
变更
- enhance UI components with refined shadows, borders, and transitions
- cover disabled, selection, top/bottom, ctrl+home/end, drop indicator, reorder payload
- use MScrollbar for time columns
- use MSelect for size picker
0.4.4
新功能
- add script to generate Juejin cover image and update HomeView layout
文档
- document --create scaffolding and interactive mode
- update AGENTS.md usage rules and add new blog article on Morya UI
0.4.3
修复
- Button pt 类型与 PageFilters 文案插空
变更
- 语义色 severity 统一为 type
- add ConfigProvider styles import
0.4.2
新功能
- add MTable component and support column align props and scroll height settings
修复
- align loading, defaults, and outlined active styles
- MMessage component icon align center
文档
- clarify ButtonGroup as visual-only grouping
- tighten public docs and reorder demos
- sync demos and MCP after dual-axis API
变更
- remove built-in badge API
- tokenize styles against theme tokens
- update button props and remove severity prop
Unreleased
破坏性变更
- Button:改为
type / color × variant 双轴 API
- 新增
type 语法糖(default / primary / dashed / link / text)与 color × variant
- 删除
severity;危险色改用 danger / color="danger"
fluid → block;nativeType → htmlType;iconPos → iconPlacement
- 删除内置
badge / badgeColor;角标请用 MBadge 包裹按钮
- 支持
href / ghost / loading 对象形态与 pt
- 语义色 prop:Badge / Tag / Chip / Status / Alert / Message / Toast 等将
severity 统一为 type
warn → warning;Alert / Message / Toast 失败态 error → danger
- 共享类型改为
MToneType / MTagType / MToastType(不再导出 MSeverity)
修复
- Button:loading 时不再误加原生
disabled(避免灰掉主色)
- Button:
shape / ripple / press 正确继承 componentDefaults,本地可覆盖
- Button:
:active 同步边框与文字色;默认 outlined / dashed 按下保持表面色背景
文档
- 补齐 Button 文档 demo:ColorVariant / Icon / Size / Ghost / Danger / Block / RipplePress
- 同步 MCP catalog、setup / design-kit 约定,以及
morya-ui-pages skill 中的 Button API
0.4.1
破坏性变更
- rewrite public component API
新功能
- ability to add transparent root node attributes to multiple components
修复
- components name change
- ensure single root vnode for Transition classes and update design tokens
文档
- add components pt attr
- refresh demos for effects, multi-view, and vertical
变更
- update component library
- unify focus and hover states across components
- sync MCP catalog and design tokens for Carousel
- standardize import statements across components and update styles
0.4.0
新功能
- wire filled variant and allow null model values
- add eight additional locale packs
- add thin DatePicker time wrapper
- add a notification API and richer messages
- add an imperative modal API
- add a 24-column flex grid with responsive Row/Col
- add a controlled form instance, nested fields and FormList
- add copyable, editable and multi-line ellipsis
- add copy, edit and field validation messages
- support theme overrides, global disabled and RTL
- add a seed-driven token derivation engine
- add MList with meta rows and pagination
- add MCalendar with fullscreen and range guards
- add Segmented, Mentions, and Statistic
- add Affix, Anchor, Tour, Watermark, and QRCode
- deepen Dialog, Progress, Loading, and docs tone
- polish Tag density and Table filter summary
- deepen Form, inputs, and Select status handling
- deepen Breadcrumb, Dropdown, Pagination, Stepper, Tabs
- deepen Divider, Flex, Splitter, Space, and Layout
- expand type coverage for time and ranges
- add dashed variant, shapes, and float polish
- add MTitle, MText, MParagraph, and MLink
- add MImage with click-to-preview group
- add MDescriptions and MDescriptionsItem
- add MAlert for persistent in-page notices
- refresh default tokens for enterprise visual feel
修复
- allow FormList initialValue factories and document FormList
- add missing tokens and tokenize Button active color
- unblock typecheck and map morya-ui to source
- tile the overlay at the real pattern size
- repair an invalid byte in the base stylesheet comment
文档
- repair List docs and restore corrupted Chinese API pages
- clear remaining component API docs drift
- cut List/Page/Grid docs drift and harden the auditor
- add TimePicker events table and improve drift audits
- drop when-to-use sections that restate the description
- restructure navigation and add recipe walkthroughs
- remove boilerplate tip from when-to-use sections
- drop third-party parity references from docs and code
- add design specs, mapping and theme editor
- backfill when-to-use sections
- add nested options demo
- add conventions page for naming and feedback vocabulary
变更
- normalize double-spaced sources and CSS file headers
- cut false positives in the API auditor
- add typecheck and unit-test gates; fix Vitest includes
- add size, docs-smoke and visual quality gates
- export and register the new components
- export and register new enterprise components
0.3.8
新功能
- enhance agent skill management and documentation
- 新增
MAlert:页面内嵌常驻提示(severity / closable / banner / action)
MDatePicker 扩展 type:datetime / datetimerange / time / month / year,并支持 showSeconds
- 新增
MList / MListItem / MListItemMeta(items + Meta + 分页 / grid)
- 新增
MDescriptions / MDescriptionsItem
- 新增
MImage / MImagePreviewGroup(点击预览)
- 新增
MTypography(MTitle / MText / MParagraph / MLink)
- 按钮补齐
variant="dashed" / shape、描边默认态、字重 400、disabled 灰底;通栏用 fluid
- 布局:
Divider plain/size/orientation、Flex gap 别名、Splitter min2、sider 折叠宽 token 默认 80px
- 导航:Breadcrumb
href、Pagination size/showSizeChanger、Stepper status/size、Tabs size/centered、Dropdown disabled
- 数据展示:
MTag 密度与 checkable;MTable size 单元格 padding
- 反馈:Dialog
maskClosable/centered、ProgressBar exception/active、Loading/ProgressSpinner tip
- 表单:Form
requiredMark 别名 / scrollToField / scrollToFirstError / size 继承;输入类 allowClear 与 status;Select status;--m-focus-shadow-warning
- 新增
MAffix / MWatermark / MQRCode(固钉 / 水印 / 二维码与状态遮罩)
- 新增
MAnchor / MAnchorLink、MTour(v-model:open / v-model:current)
- 新增
MStatistic / MStatisticCountdown
- 新增
MSegmented(options / block / shape / size,radiogroup 键盘)
- 新增
MMentions(prefix / split / 建议插入 / @select)
- 新增
MCalendar(fullscreen / showWeek / validRange / #dateCell / #header)
MTour 键盘漫游 + gap;MMentions allowClear / loading;MWatermark overlay 防误删重绘;MQRCode #statusRender
MTable 表头筛选清除/确认分离、页脚合计与虚拟滚动约束提示
变更
- 默认主题:主色
#1677FF、中性字色/描边、控件高度 medium 32px、控件圆角 6px、卡片圆角 8px、多层投影与更实的聚焦环
- 字体栈改为系统无衬线;控件标签/表头/页签字重 500(页面标题仍 600);动效 ease-out + 位移
0.5rem
- 禁用态优先
--m-color-text-disabled / --m-color-bg-disabled,输入与页签等不再只靠 opacity
- Pagination 默认尺寸由固定 small 改为
size="medium"(可用 size 调整)
MTag 默认字重 400、水平内边距约 8px,描边改为真实 border(保留透明边框占位)
文档
- 指南新增「约定」:命名、
severity / variant、反馈与布局词表
0.3.7
新功能
- add tree mode, instance APIs, and drop cell editing
- enhance selection handling and refactor utility functions
- rebuild as self-aligned enterprise grid
- add footer slot support and update styles
修复
- adjust sort icon styles for better alignment
文档
- update decision recipes and enhance documentation for new features
- sync changelog and Table guidance across packages
- document enterprise capabilities and demos
变更
- update shadow styles for improved visual consistency
0.3.6
新功能
- MTable:列宽拖拽、表头筛选、行虚拟滚动、列显隐/顺序、多级表头、表尾汇总、单元格合并
- MTable 树模式与树 API、
checkboxConfig / radioConfig、详情 expandConfig
- MTable 实例方法:选择 / 滚动 /
clearSort / clearFilter / 详情展开
- MTable 分层重构(core / state / columns / render)与合成列内部命名空间
破坏性变更
- 移除内置单元格编辑:
editConfig、列 editable、edit-change、#edit-{key};请用 #cell-{key} / render 自定义
- 移除
MTreeTable(含 morya-ui/tree-table);树表改用 MTable + treeConfig
serverItemsLength → serverTotal;rowsItems → pageSizes
- 移除
hideHeader / hideRowsPerPage,改用 showHeader / showRowsPerPage(均默认 true)
- 移除
clickEventType、tableNodeId、分页文案 props、preventContextMenuRow
- 事件重命名为 kebab-case:
row-contextmenu、select-row、deselect-row、select-all;新增 row-dblclick
- 移除
updatePageItems、updateTotalItems、page(保留 update:page);移除 TableClickEventType 导出
修复
- MTable 服务端/客户端 multiSort、受控 page/rowsPerPage/sort、表头全选当前页、aria-label 挂 table、展开按钮文案与排序 focus-ring
文档
- add portable AGENTS.md and multi-editor MCP docs
- MTable 文档与 ui-mcp catalog 同步
0.3.5
新功能
- upgrade morya-ui and @morya-ui packages to latest on run
- add trailing actions slot and advanced toggle chrome
0.3.4
新功能
- add conditional fill height for admin list pages
- enhance size prop to accept CSS length strings and update documentation
0.3.3
新功能
- add L2 decision recipes for component selection
- support disabling the link underline
修复
- dismiss overlay on page scroll or resize
- align overlay motion with scale-fade
- correct link, plain, and ghost variant styles
- disable ripple and press by default
- correct import paths for styles in Card, Icon, Page, and Pagination components
文档
- wire morya-ui-pages to decision recipes
变更
- align menu item chrome with Select and Dropdown
- add full Button prop demos
0.3.2
新功能
- add click ripple and a press-scale toggle
- add link underline toggle
- replace quick jumper with a filterable Select
- refine ops layout primitives and P2 filter/stat APIs
- add shadow prop and remove hoverable
修复
- keep link buttons backgroundless on hover and press
- make plain match outlined hover fill
- make ghost match text hover fill
- Panel component change demo component width
- remove OS reduced-motion media queries from components
- control intensity via library preference only
文档
- document impeccable and skills-cli companion install
- document library-only motion control
变更
- disable button click ripple by default
- disable button press scale by default
- extract filter and expanded-key helpers
- extract label filter helpers for option lists
- extract sort, filter, and selection helpers
- extract expand and visible-entry helpers
- extract option filter and multi-select helpers
- cover CommandMenu keys and FileUpload dropzone keyboard
- extract accept and size helpers
- polish overlay scale, press feedback, and scroll containment
- refresh snippets, generators, and golden page copies
0.3.1
新功能
- replace hand-drawn icons with a generated Tabler registry
- add option groups and header/footer slots
- add triangle icons and update icon rendering logic
- animate pages with a sliding track
修复
- keep the range start thumb above the overlapping track
- keep submenus open on hover and align items with Select
- make the expanded-row loading line visible
- let popup menus grow with their content
- let the menu grow with its content
- close the gap in the sider bar trigger
- compact dropdown filter and keep menu width aligned
- shrink oversized multi-select tags
文档
- describe the all-Tabler registry and the generator script
- complete component API tables and instance methods
变更
- fix export order and prefer template literals in gallery demos
- resolve newly registered icons directly and drop dead aliases
- replace the custom loading overlay with MLoading
- update header and sort styles for improved layout
0.3.0
新功能
- align Select-like overlays and selection UX
- enhance styling and line numbering for code previews
- virtualize Select, Listbox, and AutoComplete menus
- customize gutter via slot, class, and style
- pause looping animations when off-screen
- add collapse height transition
- add global reduced-motion transition fallbacks
- wire transition presets into overlay components
- add global motion config and public exports
- add named enter/exit preset registry
- require validate_usage before page delivery
修复
- scale control affix and layout tokens with density
- default Dialog and ConfirmDialog transition to zoom
- animate Dialog and Drawer panels for shared presets
- keep default presets when transition prop is omitted
- harden reduced-motion tokens and ignore gates
- make style entries and MCP catalog generation idempotent
文档
- sync Splitter gutter API in MCP and skills
- add optional Animate.css integration example
- add dedicated motion guide and docs section nav
- document transition presets and playground demo
- document new golden pages and validate_page contracts
变更
- sync on-demand style entries and design token catalog
- replace hardcoded sizes with density-aware design tokens
- extract useFloatingViewportSync for overlays
- cut redundant observers and layout work
- drive ProgressBar fill with scaleX
- replace loading aurora blur with soft gradients
- avoid width layout animation on sider chrome
- avoid layout thrash in collapse and float label
0.2.9
新功能
- require a craft pass and add Ops polish recipes
- add categorized Tabler built-in icons
- add Loading component
修复
- align Table rows and MMessage host guidance with the real API
- adjust width of selection demo for better layout
- align trailing icon insets with input affixes
- size input affixes from content instead of fixed padding
- add block padding so vertical menus are not flush to edges
文档
- sync MCP and setup docs with the current AI tooling
- document optional setup skills and companions
- add Loading docs and demos
变更
- simplify sider and content into single-element shells
- refresh Loading circular design tokens
0.2.8
新功能
文档
- 补充 Loading 中英文文档与示例
- update quick start guide for kebab-case imports and dts configuration
变更
- stop copying docs into consumer apps
- stop copying design tokens and page examples
0.2.7
新功能
- add variant and unify status presentation styles
- redesign Result API and HTTP illustrations
- add illustration catalog and enhance empty states
修复
- Menu RouterLink, Dialog panel width, and Tree indeterminate state
文档
- add one-shot setup guide page
- remove other-library comparison wording from docs and comments
变更
- rename ai-design-config to design-kit
- sync design tokens for Empty, Result, and Status
0.2.6
新功能
- enhance SEO and documentation for Morya UI
修复
- harden Layout fillViewport, Menu links, and ConfigProvider theme
文档
- update component count to 90+ in README and related files
0.2.5
破坏性变更
- rebrand WiseKit to morya-ui with M-prefixed public API
- drop deprecated prop and CSS aliases
新功能
- export Empty, Result, and Status from the library
- add empty state component
- add result page component with locale strings
- add status indicator component
- extract guide page previews into demo SFCs
- extract component previews into shared demo SFCs
- support UnoCSS demos and markdown preview src=
- add new route for components demos page
- theme Tabs, Gallery, Timeline, and Textarea scrolling
- use MScrollbar in data and panel scroll surfaces
- theme popup and flyout scroll with MScrollbar
- use MScrollbar in dialogs, drawers, and popovers
- route layout scroll through MScrollbar
- add ScrollBody and FlyoutSubmenu for themed scrolling
- add page