Skip to content

Latest commit

 

History

History
3331 lines (1669 loc) · 188 KB

CHANGELOG.md

File metadata and controls

3331 lines (1669 loc) · 188 KB

2.11.1 (2023-05-20)

Bug Fixes

  • cascade column the click event doesn't work sometime (#1047) (fae3f5d)
  • ui/image-preview: click can't trigger a close event sometimes (#1044) (c0d6902)
  • ui/picker: clicking on the parent column causes the child column to restructure when the options are unchanged (3924744)
  • utils: elements utils supports ssr and close #1045 (9f3da12)

Features

  • ui/picker: support scroll while click the option and refactor code (#1039) (59a8d4c)

2.11.0 (2023-05-15)

Bug Fixes

  • collapse: remove flex layout of content (5ae606b)
  • loading: add max-height to loading container and close #1029 (2d17414)
  • ui/field-decorator: fix fieldset color display error (7b3ea2a)
  • ui/fieldDecorator: access DOM data in nextTick (#1021) (c9b0bd0)
  • ui/fieldDecorator: placeholder width exceeds container size (#1015) (93ae09f)
  • ui/image-preview: fix flickering when swiping quickly and optimize swipe initialIndex behavior and close #1020 (bf1fde4)
  • ui/slider: fix the style of validation fails (#1035) (4c85f88)

Features

  • cli: support vue 3.3.x (#1033) (18fda4c)
  • ui/tabs-items: render more content on the server side (8b6245e)
  • ui/uploader: support before-filter event (#1010) (14575dc)

2.10.2 (2023-05-06)

Bug Fixes

  • ui/slider: 修复滑块拖动时屏幕滚动 (#1011) (b9ca512)

Features

  • ui/input: support enterkeyhint for Input (#1013) (706014c)
  • ui/popup: support safeArea and safeAreaTop (7306ddc)

2.10.1 (2023-05-04)

Bug Fixes

  • cli/compile: support typescript and close #998 (0b83869)
  • select: fix select dropdown border radius (22d656e)
  • ui/input, select: fix text overflow error (929765a)
  • ui/slider: optimize slider style and classes (#1000) (7695457)
  • ui/swipe: to and next methods conflict with initialIndex (140af1f)

Features

  • cli: support meta description and keywords (d0ce672)
  • slider: support vertical mode (43acba6)
  • ui/uploader: support progress (b991f6f)

2.10.0 (2023-04-24)

Bug Fixes

  • extension: newline not parsed (28ad42c)
  • input: placeholder style (4a00a63)
  • input: remove transition delay (2528f60)
  • ui/list: clear list scroller listener on deactivated (3640121)
  • ui/pagination: fix error key (cf7793a)

Features

  • icon: add view icons (cebb99d)
  • markdown: add id attribute for h3 tag & close #976 (#983) (78c1b1d)
  • new icons and refactor rate component docs (#990) (62787c7)
  • ui/input, select: new outlined variant (#941) (c054e21)
  • ui/Snackbar: support icon and action in functional mode (1f35aeb)
  • vscode-extension: add varlet documentation and varlet playground btns (#962) (d36e532)

2.9.6 (2023-04-14)

Bug Fixes

  • DatePicker: fix Fixed hover effect bug (#956) (4d72694)
  • pagination: add disabled prop & close #950 (fb98f46)
  • pull-refresh: fix icon name error while fast touchmove (fe1be23)
  • ui/checkbox, radio: fix shrink error and close #952 (fa879ad)
  • ui/dialog: fix onBeforeClose cannot use call (62c7c89)

Features

  • cli: support draft mode (569b651)

2.9.5 (2023-04-07)

Bug Fixes

  • fix useRouteListener for ssr (6b75dd5)
  • tabs: fix tab active color computed error (d6bef90)
  • ui/hover: fix and close #942 (58b2ef4)
  • ui/pagination: fix pagination disabled exception (#943) (4f7b046)
  • ui/pagination: fix pagination not require props (#946) (20885d3)
  • ui/tabs: fix tab active color error while the name's type is number (d2bf6ad)

Features

  • ui/context: support enableRipple option (8591899)
  • ui/tabs: support custom indicator inner size (83a049d)

2.9.4 (2023-03-31)

Bug Fixes

  • cli/checklist: empty line is shown while no matched checklist (1ce1078)
  • index-bar: cache scroll state (f30c6f2)
  • index-bar: index-anchor overlap and close #936 (969944f)
  • pullrefresh: trigger timing of refresh event and close #930 (fa2f1bf)
  • ui/bottom-navigation: offset error while set safe-area in ios (7783acf)
  • ui/sticky: resize sticky layout offset while the window resize (5ac6f67)

Features

  • Collapse component add property divider (#937) (afca9d8)
  • support vmin and vmax and close #931 (3ef4f51)
  • ui/app-bar: support props.safeAreaTop (9f00d43)

2.9.3 (2023-03-23)

Bug Fixes

  • playground: add resetFlip (0ae8c5e)
  • playground: upgrade repl version to compatible safari (3a11a77)
  • pullrefresh: control node position (06c2dad)
  • ui/collapse: fix collapse Item animation error (#922) (a799438)

Features

  • backtop: support elevation (80f3866)
  • cli: support checklist and close #926 (3f1bffc)
  • cli: support directive types generation for volar and close #918 (38f9c64)
  • collapse: support elevation (4bfc1db)
  • date-picker: support elevation and button-elevation (f18d744)
  • pagination: support elevation (4680cdd)
  • suppert elevation for Table、Tabs、AppBar (#928) (be24aef)
  • support elevation for uploader and counter (#927) (3a4265d)
  • support props.elevation for button, button-group, fab, paper, card (#925) (881966c)
  • time-picker: support elevation (9e8e470)
  • ui/fab: support props.safeArea and close #896 (9237379)
  • ui/menu: support props.elevation (2dafcf3)
  • ui/tabs: support props.scrollable and props.indicatorPosition (#921) (33ea0d8)
  • use: support useVModel (#909) (af323d6)

Reverts

  • collapse animation one frame delay (3630fea)

2.9.2 (2023-03-20)

Bug Fixes

  • checkbox、radio、uploader adds a reference to the hover style (#914) (844df38)

2.9.1 (2023-03-16)

Bug Fixes

  • fix input cursor error in the ios (aad8dac)
  • slider: add cursor (dd82f92)
  • ui/input: fixed placeholders not being able to hide while composing (54a0391)

Features

  • slider: add hover overlay (9adfdca)
  • support hover effect and close #902 (53461da)
  • switch: add hover overlay (7a3f769)
  • ui/checkbox: support hover effect (#907) (d853427)
  • ui/image-preview: add setDefaultOptions and resetDefaultOptions (#892) (ec56890)
  • ui/radio: support hover effect (#908) (d0621ad)
  • ui/rate: support hover effect (#906) (6a6a2d0)
  • ui/uploader: support hover effect and close #901 (ca5e63f)

Reverts

2.9.0 (2023-03-12)

Bug Fixes

  • ui/bottom-navigation: fix css dep (bd1303d)
  • ui/button: fix css dep (07af3e2)
  • ui/button: fix css dep (8bc573a)
  • ui/hover: fix wrong restore style (ca3a455)
  • ui/loading-bar: fix timer asynchronous issue (374130b)
  • ui/loading: fix loading display error and close #884 (910afa8)
  • ui/select: fix css dep (fbb0100)

Features

  • extension: support fab (cc2c039)
  • refactor fab, support popover reference, fix option label lost reactivity (a8051f3)
  • ui/badge: refactor dom structure (f96ceda)
  • ui/badge: support value slot (#883) (765393a)
  • ui/button: optimize hover effect (#881) (fd69f23)
  • ui/fab: new component fab (#876) (1ae784a)
  • ui/icon: icon support animationClass (#880) (c6c06d6)
  • use: useParent and useChildren support string key, refactor layout from @varlet/use (6d8485a)

2.8.6 (2023-03-05)

Bug Fixes

  • ui/backtop: fix effect while the component in keepalive (195bf9b)
  • ui/coundown: fix start method error (f6626ea)
  • ui/input: value update error while the target is composingand close #877 (5873fdf)

Features

  • use: support useEventListener useClickOutside (cb90734)

2.8.5 (2023-02-28)

Bug Fixes

  • ui/steps: fix step shrink (eb1cff7)

Features

  • consistent flex-start, start, flex-end, end (3836f30)

2.8.4 (2023-02-27)

Bug Fixes

  • cli: fix resolve (7856e60)
  • ui/space: fix space inline mode className err (bcbbcad)

Features

2.8.3 (2023-02-20)

Bug Fixes

Features

2.8.2 (2023-02-19)

Bug Fixes

  • paper elevation maybe undefined (c9743fc)

Features

  • new component button group (66a6bed)

2.8.1 (2023-02-15)

Bug Fixes

  • cli: umd format set production env (b7920de)
  • cli: umd format should be replace NODE_ENV (5f45a65)

2.8.0 (2023-02-15)

Bug Fixes

  • cli: fix vite command NODE_ENV (e3d84ce)
  • extension: fixed regex mismatch under CRLF (#850) (0947726)
  • fix umd format lose css (cd2d606)
  • playground: fix jump github and detect iframe (deeb9ef)

Features

  • added avatar component (#857) (c3bc355)
  • new component ellipsis and tooltip supports props.sameWidth (d979181)
  • new component paper and cell supports ripple, border-offset, onClick (1626e82)
  • support useRouteMobile (#854) (2df95eb)
  • ui/app-bar: support props.image, props.imageLinearGradient, content slots (2293683)

2.7.5 (2023-02-09)

Bug Fixes

  • ui/picker: fix props.toolbar useless (5e57b4f)

Reverts

  • usePopover: revert to bubble (5cd3f56)

2.7.4 (2023-02-08)

Bug Fixes

  • countdown: replace Date to performance (b54f31c)
  • fix docs (7b44984)
  • ui/input: fix input overflow (6370f62)
  • ui/select: fix select overflow (879cdb1)

Features

  • extension: support playground in editor context menu (43852fb)
  • extension: support props and events completions (13198c5)
  • extension: support zh-CN and en-US toggle (92abb5e)
  • loading-bar: support setDefaultOptions and resetDefaultOptions (8215585)
  • snackbar: support setDefaultOptions and resetDefaultOptions (e13c6a2)
  • ui/action-sheet: support setDefaultOptions and resetDefaultOptions (92517c9)
  • ui/dialog: support setDefaultOptions and resetDefaultOptions and close #830 (c0cd14e)
  • ui/uploader: support closePreview and chooseFile and close #843 (7a86662)

2.7.3 (2023-02-01)

Bug Fixes

Features

  • cli: support extension development (dbe47a9)
  • cli: support icon builder (1cf420c)
  • cli: support script setup (229f4e1)
  • support sfc without script blocks (44e009d)

2.7.2 (2023-01-30)

Features

  • extension: support icon preview and completion (adfa778)
  • icons: support pointCodes map (ddd2575)

2.7.1 (2023-01-28)

Bug Fixes

  • the sfc style cannot append to style folder (06b0360)

2.7.0 (2023-01-27)

Features

2.6.3 (2023-01-18)

Bug Fixes

  • index-bar: compute offsetTop (eefdf9d)
  • the swipe element cannot be found in special case and close #834 (172b4a3)
  • to method repeat emit change event (52deffa)

Features

  • index-bar: add scrollTo options (b1e1a30)
  • ui/swipe: support swipeToOptions (98d7647)

2.6.2 (2023-01-12)

Bug Fixes

  • ui/pull-refresh: fix pull-refresh touchMove (#829) (1614e73)

2.6.1 (2023-01-11)

Features

  • support native-type and fix overlay auto import error (35097ca)

2.6.0 (2023-01-10)

Features

  • support vite4 and create a new package vite-plugins (#824) (34bbb86)

2.5.6 (2023-01-07)

Bug Fixes

  • pagination: watch page-count and close #820 (a4bb395)

2.5.5 (2023-01-05)

Bug Fixes

  • back-top: add default z-index (f9f45fb)
  • pull-refresh: add lock and close #814 (08b04e3)
  • ui/uploader: before-remove event mission file params (db0870e)

2.5.4 (2023-01-05)

Features

  • pull-refresh: add target prop and close #811 (47537b6)

2.5.3 (2023-01-04)

Bug Fixes

  • ui/menu: fix elevation display error (91a83c4)

2.5.2 (2023-01-04)

Features

  • ui/menu: support sameWidth prop (5fda8b7)

2.5.1 (2023-01-02)

Bug Fixes

2.5.0 (2023-01-01)

Bug Fixes

  • cli: fix less compile order error (e9d8d1f)
  • ui/popup: fixed not being able to scroll when popup content overflowed (7867282)
  • ui/space: support ssr (fc81fe7)

Features

  • new component tooltip (08f0d52)
  • ui/breadcrumb: add router (7677275)
  • ui/breadcrumb: var-breadcrumb complete (1dc4741)
  • ui/card: add outline (0bb33bb)
  • ui/form: form support scroll to last error (1776ec0)
  • ui/form: support scroll animation (466916c)
  • ui/form: support scroll to first error (f620514)
  • ui/icon: optimized the way to customize the icon library (c73531c)
  • ui/select: support selected slot (6a6ebe0)
  • ui/space: replace dynamically calculated margin with css var (e55c546)
  • ui/space: use calc to handle margin (cc80a19)
  • ui/sticky: support resize method (7b1db86)
  • ui/tabs: support more sticky props and sticky support resize (d49488d)

Performance Improvements

  • ui/breadcrumb: optimize breadcrumb docs (2fb88fe)
  • ui/breadcrumb: optimize breadcrumb component (611441a)
  • ui/breadcrumb: optimize breadcrumb component (6a68368)

2.4.2 (2022-12-14)

Bug Fixes

  • ui/input: fix maxlength invalid with number type and close #775 (edf4a2e)

2.4.1 (2022-12-11)

Bug Fixes

  • pull-refresh: fix contorl position and close #774 (9dc871c)

2.4.0 (2022-12-11)

Bug Fixes

  • change overlay test className (093cbaa)
  • recover popup root style (61bdede)
  • replace popup overlay (d9a7e8d)
  • reset popup (5b710e7)
  • site: replace progress to loading-bar (d5a9b0e)

Features

2.3.1 (2022-11-28)

2.3.0 (2022-11-28)

Bug Fixes

  • button: remove default value of circle and close #761 (aafdb12)
  • some unusual behavior of LOGO animation (99d3846)
  • space: remove width (cb92a53)

Features

  • ui/link: support link component (c6c8b8d)

2.2.1 (2022-11-15)

Bug Fixes

  • ui/tabs-items: tabs-items cannot swipe to correct position when props.active initializes (6ec8639)

2.2.0 (2022-11-11)

Features

  • extension: support form-details (20e8655)
  • support custom form component and refactor form-details and refactor form styles (00ec07b)

2.1.0 (2022-10-31)

Bug Fixes

  • cli/create: fix path of create template (a48e875)
  • error suffix when create tsx component (#736) (dc4feac)
  • pathToFileURL (0917537)
  • site: allow playground copy url (4cc9c61)
  • slider: change slotProps (8baf42a)
  • ui/collapse: fix shadow invisibility of collapse (#734) (038f807)

Features

2.0.6 (2022-10-20)

Bug Fixes

  • fix select disabled and readonly bug (#731) (411d327)

Features

  • cli/release: add branch confirm (6f3c764)

2.0.5 (2022-10-19)

Bug Fixes

  • ui/BottomNavigation: change repeat trigger (#729) (a61147f)
  • ui/divider: 0.5px affects text display (3e51cec)

Features

  • ui/divider: add hairline divider (03102d4)

2.0.4 (2022-10-19)

2.0.3 (2022-10-15)

Bug Fixes

  • config: fix features merge strategy (c3a378f)

2.0.2 (2022-10-13)

Features

  • ui/image: support title prop (48462bb)

2.0.1 (2022-10-13)

Features

  • cli: add defineConfig for type helper (#721) (84579f4)

2.0.0 (2022-10-11)

Bug Fixes

  • button&snackbar: add loading color prop (d4353b5)
  • cli/commitlint: add !for break change (86ec583)
  • cli/gen: rename gitignore (a60ebd0)
  • jest: ensure to generate config (876ba35)
  • loading & pagination: expose loading color variable and optimize style of pagination (1f36c80)
  • playground: remove import about vite and fix ts error (cf261e6)
  • rate: fix wrong style in form component (4cae7e0)
  • slider: ignore slider track height (2387b16)
  • ui/button,chip: remove line-height (ec72772)
  • ui/card: fix scroll lock err (5f12819)
  • ui/card: fix the problem of ripple accidental failure (facd510)

Features

  • cli: replace jest with vitest (7ddbade)
  • export dark theme and playground support dark theme preview (cede810)
  • gen: add simple-git-hooks scripts (c1c6cd1)
  • style-provider: support custom tag (ed653e6)
  • ui/col: add a direction API for col (#716) (6a30c8e)
  • ui/dialog: add width props (#718) (916ee21)
  • ui/locale: export zh-CN en-US language (e4eecf0)
  • ui/menu-v2: new menu component to replace old menu component, temporarily named v2 (a2d621a)
  • ui/menu: replace menuV2 with menu (#690) (cbf117d)
  • ui/tabs-items: support getSwipe method (23ffad1)

Performance Improvements

  • Improved Menu performance and Flip bugs (#680) (f582c78)

Reverts

1.27.20 (2022-08-11)

Bug Fixes

  • add style and less to sideeffects to close #666 (1e542fd)
  • pagination: judge pagecount and close #668 (4f8135f)

1.27.19 (2022-08-08)

Bug Fixes

  • cli/release: change code execution order (6f4e75c)
  • date-picker: change preview to choose (3fe98f9)
  • ui/uploader: add webp image ext (e49d511)

Features

1.27.18 (2022-07-22)

Bug Fixes

  • collapse: ensure to trigger transitionend (51b7710)
  • date-picker&time-picker: change background color and add ripple style for close #651 (c1303a0)
  • pull-refresh: use success props when status is success (189f8ab)

Features

  • cli: compatible with screens > 2560 (6c4f161)

1.27.17 (2022-07-06)

Bug Fixes

  • cli/gen: add varlet/shared to dependencies (90800e1)
  • cli/site: support custom description (d1b243e)
  • collapse: fix content height error (be485c4)
  • ui/select: select boundary detection bug fix (#623) (eb2fc84)
  • ui/skeleton: do not render the container when rows and title not exist (b8c3b7c)

Features

  • site: support custom index page text (5401c1c)
  • ui/input: type support tel and email, touchstart event stop propagation (c6cdcc9)

Reverts

  • revert "fix(cli/site): support custom description" (b23e0d2)
  • revert "refactor(cli/site): adjust configurable item structure" (493803b)

1.27.16 (2022-07-01)

Bug Fixes

  • slider: stop propagation when touch slider (6b4bc18)
  • ui/snackbar: remove position absolute in leaving animation's style (#611) (18d5086)

1.27.15 (2022-06-20)

1.27.14 (2022-06-20)

Bug Fixes

  • add side-effects for tree shaking (4fa8559)

Features

  • add new package varlet-shared (939d945)

1.27.13 (2022-06-17)

Bug Fixes

  • back-top: add inheritAttrs (cce45e2)
  • ui/types: icon onClick's type (d18d0ca)

Features

  • ui/select: add boundary detection in select (#606) (27eb0ea)

1.27.12 (2022-06-10)

Bug Fixes

  • add default width (09fe1cc)
  • space: add width when direction is column (9108bfa)
  • swiperItem's type (#602) (33a1488)
  • ui/ripple: ripple cannot be removed when the updated hooks trigger (fc2fb08)

1.27.11 (2022-06-01)

Bug Fixes

  • cli/gen: gen i18n files (e97e869)

Features

1.27.10 (2022-05-24)

1.27.9 (2022-05-24)

Bug Fixes

  • animationBox is not in the DomTree. the logo will not show (#579) (a50f735)
  • fix select throws an error when the select does not match any of the options (#571) (f180d93)
  • fix the logo fixed style && filter change (#573) (37908dc)
  • index-bar: fix click event to be triggered (9fb9d90)
  • index-bar: support dimension units for sticky-offset-top and close #554 (e7c6304)
  • loading: support dimension units (7ce32cc)
  • playground: fix safari import error (#580) (a5c8c99)
  • progress: support dimension units #553 (ddb2380)
  • rate: support dimension units #553 (b6e4d35)
  • slider: support dimension units #553 (dacab1b)
  • switch: support dimension units (#556) (73bec2b)

Features

1.27.8 (2022-05-09)

Bug Fixes

  • compileSiteEntry: slash path for windows (5170997)
  • ui/col: fix logic for span & responsive setting 0 #529 (80da305)
  • ui/col: fix span & responsive props when equal 0 #529 (a0831c3)

Features

  • cli pages and homepage (#531) (d723e36)
  • finish the floating and land && optimize home page style (#541) (76d6fad)
  • ui/picker: add props textFormatter (#522) (f735468)

1.27.7 (2022-04-29)

Bug Fixes

Features

1.27.6 (2022-04-23)

Bug Fixes

  • pagination: modify css style of disabled (273bd6f)

Features

  • cli: code example component support playground (6763794)
  • markdown-vite-plugin: add playground flag (06f4394)
  • markdown-vite-plugin: add playground-ignore flag for code block (07008bc)
  • playground: add area.json to import map (2320f4e)
  • ui/picker: add cascadeInitialIndexes prop (#489) (c6f10bd)

Reverts

  • Merge branch 'docs/script-setup' into dev (2208334)

1.27.5 (2022-04-16)

1.27.4 (2022-04-16)

Bug Fixes

1.27.3 (2022-04-14)

Bug Fixes

1.27.2 (2022-04-11)

Features

  • bottom-navigation: add safe-area prop to avoid affect (921775b)
  • tabs: add safe-area prop to avoid affect (5cfe4b9)

1.27.1 (2022-04-09)

Bug Fixes

  • ui/uploader: ripple does not work when customizing the style (8e6f0e7)

1.27.0 (2022-04-08)

Bug Fixes

  • icons: use base64 src (465b3c3)
  • icons: use relative path src (bdab3d4)
  • ui/tabs: fix match boundary error (6cb05e0)

Features

Performance Improvements

Reverts

  • rate: revert remove useless div (95a9f25)
  • revert add class and call function (cc70cae)

1.26.9 (2022-03-31)

Performance Improvements

  • icon font moved to jsdelivr (4ef2eab)

1.26.8 (2022-03-25)

Bug Fixes

  • cell: add cell color to close #353 (24b44b9)
  • collapse: modify padding (6ef1a28)
  • resize offset and wrapWidth on focus function call (e609c08)

Features

  • ui/ripple: determine whether to prevent ripple's fast touchmove by supporting touch events (f859144)

1.26.7 (2022-03-18)

Bug Fixes

  • cli/jest: reset transformIgnorePatterns (2ce595a)
  • index-bar: change scrollable target to fix cant scroll in Android web (a0c07f6)
  • index-bar: compatible scrolltop (73fca8f)

Features

  • extension: add code auto complete (80690e4)
  • extension: compatible prompt plugin to vue2 (#337) (38d715a)

Performance Improvements

  • extension: improve component description (5bffd8a)

Reverts

  • ui/index-bar: revert fix scroll getter function (1b61cdd)

1.26.6 (2022-03-14)

Bug Fixes

  • date-picker: fix touch event not trigger when button disable (8a99a5c)
  • site: fix app-bar transition error (4efd4bf)

Features

  • ui/uploader: add a hide-list props for uploader components (#335) (70bf77a)

1.26.5 (2022-03-13)

Features

  • date-picker: suport touchable (5868a11)
  • ui/image-preview: add extra slot (8dc4d2d)

1.26.4 (2022-03-07)

Bug Fixes

  • ui/image-preview: fix TAP_DELAY (c4edf69)

Features

  • rate: add namespace prop (3aaa917)

1.26.3 (2022-03-05)

Bug Fixes

  • cli/site: optimize documentation color (c53353e)
  • date-picker: format date of slotProps and style of doc (67bf46c)
  • site: add cssTarget chorme61 (4481054)
  • ui/checkbox: resolve checkbox component animation display exception (#321) (9e5c078)
  • ui/image-preview: fix isTapTouch (f5c38f8)
  • ui/image-preview: fixed the error that the target value is null when triggering isTapTouch (#323) (ee5c559)

1.26.2 (2022-02-22)

Bug Fixes

  • support --ripple-color (c5ded77)
  • ui/space: fix space err with comment #319 (f2adc98)
  • ui/space: fix space v-for err (c9d10e3)

Performance Improvements

  • remove unuseful function call (#316) (263a830)
  • ui/divider: remove unuseful function call (129e47d)

1.26.1 (2022-02-14)

Bug Fixes

  • site: fix fold animation error when defaultFold set false (e709af0)
  • ui/list: the fractional part of the detectorBottom when bottoming out overflows (c8e0142)

1.26.0 (2022-02-08)

Bug Fixes

  • playground: fix primary color (4b80e47)
  • playground: fix to relative path (73834d0)

Features

  • icons: add new icon (49c3d5e)
  • site: add playground logic (24c542d)
  • ui/col: add responsive layout (4e314cb)

Reverts

  • revert add responsive layout" (d54e500)
  • revert release command (c2fc9df)
  • revert release command (f910a24)

1.25.1 (2022-01-27)

Bug Fixes

  • cli/site: do not show the fold icon when the height is not high enough to expand the code block (b4cd0b5)
  • cli: fix select scrollbar display error #305 and add esm bundle (f66ffb7)
  • collapse: fix modelValue is undefined when close accrodion item (0da3871)
  • index-bar: support ssr and fix top value when click anchor (6c7df9f)
  • ui/input,select: fix label color error (652ae97)
  • ui/select: fix word break (95b1684)
  • ui/sticky: add doubleRaf for ssr #296 (ed1348c)
  • ui/tabs: support nuxt3 (9459d1d)

Features

  • backTop: add position and default target (86f9237)
  • ui/app-bar: change app-bar default background color in dark mode (a073dee)
  • ui/dialog: add dialog-class dialog-style props (e7f9b5d)
  • ui/skeleton: add fullscreen-z-index prop (394f0a9)

Performance Improvements

1.25.0 (2022-01-19)

Bug Fixes

  • date-picker: remove error when the initial value is undefined and close #277 (ede1eb1)
  • swipe: support ssr (007c3e6)
  • ui/app-bar: support ssr (3700eef)
  • ui/list: remove isHidden function (a4634e0)

Features

  • button: add autoLoading prop (67f4b40)

1.24.11 (2022-01-14)

Bug Fixes

  • button: add css cover for loading (5c003cc)
  • pagination: emit event when change pageSize and close #279 (f9a9be4)
  • ui/select: fix select wrapWidth and offsetY display error with ssr #276 (6e396a3)

1.24.10 (2022-01-10)

1.24.9 (2022-01-09)

Bug Fixes

  • touch-emulator: add module property in package.json (866cd8d)

1.24.8 (2022-01-09)

Bug Fixes

  • touch-emulator: fix cjs to esm (ce68ff3)

1.24.7 (2022-01-09)

Bug Fixes

  • touch-emulator: rename file (3a4cbd5)

1.24.6 (2022-01-09)

Bug Fixes

  • date-picker: import icon.less (48d54a6)
  • touch-emulator: add iife script (ed7e28a)
  • touch-emulator: support ssr (f5857bb)

1.24.5 (2022-01-07)

Bug Fixes

  • cli/release: add remote option (8c9ed7c)
  • ui/menu: support ssr (c50e26f)

1.24.4 (2021-12-30)

Bug Fixes

  • cli/release: fix tag release error (341997a)

1.24.3 (2021-12-30)

Bug Fixes

  • cli: fix release tag (5341cfc)
  • cli: remove unuseful import (21e8b74)
  • compile: move config to entry function to aviod generate unnecessary folder (f99b050)
  • config: add parameter to control generate folder (6a17558)
  • create: move config to entry function to aviod generate unnecessary folder (333cfae)
  • date-picker: fix eslint error (5c9b12c)
  • modify component.spec (9f5f022)
  • modify home.zh-CN (3664a6d)
  • modify openSourceGuide.zh-CN (cf263ed)
  • remove yarn usage in script (40d5fd2)
  • ui/elevation: resolve shadow cannot display (f8dedba)
  • ui/menu: modify the implementation of sloving offsetHeight error (9871022)
  • ui/menu: reslove error of getting offsetHeight when alignment is set as bottom (d05a7f9)
  • ui/swipe: fix stopAutoplay function (7cad9d5)
  • ui/swipe: fix stopAutoplay function (b2390fb)

1.24.1 (2021-12-27)

Bug Fixes

  • ui/elevation: resolve shadow cannot display (227b2db)

1.24.0 (2021-12-27)

Bug Fixes

  • card: add word-break for description (38d7427)
  • cli/site: adjust z-index of the sidebar and code toolbar for site (5b81918)
  • cli: fix icon vertical-align (f015092)
  • d.ts: fix pack declare lost after build (d7df27e)
  • fix test fail (78f20ec)
  • loading: add transition for overlay (2a62eaa)
  • loading: expose marigin css variable (313d232)
  • placeholder: text-overflow to ellipsis (7c586d2)
  • select: fix select's placeholder when too long (a7e08a6)
  • site: add types (6520984)
  • site: fix mobile style (3189225)
  • site: modify code example style (bb33910)
  • types: fix prompts that could not find a declaration file when import translation file (2637884)
  • types: fix prompts that could not find a declaration file when import translation file (e17c6d2)
  • ui/input, select: fix placeholder animation and var--ellipsis class (458ab30)
  • ui/swipe: do not use initialIndex when resize (46e997e)

Features

  • cli: add clipboard and fold tool for site (5298c99)
  • loading: add slots and desc prop (db0df16)

Reverts

  • revert fix mobile style (22d9da9)

1.23.11 (2021-12-10)

Bug Fixes

  • card: fix image css problem in card (#224) (498cb3c)
  • fix the offset problem when the divider is vertical: remove transformY,use align-items: center (5b10f08)
  • fix types (2d95d4c)
  • remove unused code (b37f258)

1.23.10 (2021-12-01)

Bug Fixes

  • ui/icon: fix vertical align to bottom (b2c4da9)

1.23.9 (2021-11-25)

Bug Fixes

  • ui/checkbox: add ripple depend style (b8345fa)

1.23.8 (2021-11-24)

Bug Fixes

  • cli: add ts ignore to generate routes (3363578)
  • compatible dayjs for nuxt (0b3b540)
  • d.ts: repair type (b925e7e)

1.23.7 (2021-11-23)

Bug Fixes

  • loading: add color for circle type & update doc (3457394)
  • loading: remove radius prop & add color for circle type & update doc (3a9dfe0)
  • ui/themes, cli: fix themes types (f29511a)

Reverts

1.23.6 (2021-11-22)

Bug Fixes

  • date-picker: css specificity (565002b)

1.23.5 (2021-11-21)

Bug Fixes

  • cli/compile: add commonjs bundle (4a424d4)
  • cli/compile: add match commonjs script extname function (2b5b1bd)
  • cli/compile: fix compile module readdir (9c3ad08)
  • cli: add module moduleCompatible option in varlet.config.js (0b1d95f)
  • cli: expose lib folder (2a8848a)
  • cli: fix commonjs compiler (c5c2b12)
  • cli: fix inline css plugin (3e8b7b4)
  • compatible nuxt (d681176)
  • ui/list: support nuxt (dd7a71e)
  • ui/popup,input: support nuxt (def81ef)
  • ui/sticky: support nuxt (29c24d6)
  • ui: dayjs compatible (3f2289b)

1.23.4 (2021-11-21)

Bug Fixes

  • ui/types: add list.d.ts (ab06a8f)

1.23.3 (2021-11-20)

Bug Fixes

  • cli/jest: add watchAll mode (84ebb4e)

1.23.2 (2021-11-20)

Bug Fixes

  • ui/space: modify the behavior of space in space-around and space-between modes (5abf617)

1.23.0 (2021-11-19)

Bug Fixes

  • add assert for example lang (7ce8bae)
  • cli: bump typescript and commander version (af893e9)
  • cli: error when building with vite (6e60e8f)
  • cli: error when building with vite (e786702)
  • code styles (79f48c2)
  • code styles (776da40)
  • collapse: modify border style (9e0f2f3)
  • date-picker: add nullish coalescing (9c3914b)
  • date-picker: add nullish coalescing (8644d88)
  • date-picker: use style class to replace watch mode (ce591de)
  • doc: progress bar should not use unmount function (0587103)
  • fix(ui/space):add space.d.ts for space: fix(ui/space):add space.d.ts for space (29fe945)
  • fix(ui/space):add space.d.ts for space: fix(ui/space):add space.d.ts for space (1fd3fac)
  • import dark themes of form related components (32e6f08)
  • picker: optimize dark mode (c7304b3)
  • site: modify the width of nav (af0bfbe)
  • site: support bg-color for dark mode of nav button (b8417fe)
  • slider: modify error color of track (64f8cf3)
  • types: fix eslint error (91e181d)
  • types: fix eslint error (fa1d696)
  • ui,cli: move dark theme import to example (579e461)
  • ui/icon: transition property all to transform (860d8ce)
  • ui/select, darkmode: fix select disabled color lose, fix darkmode color (8cfc654)
  • ui/space: add common css (5b439a8)
  • ui/tab-item: tab-item example style (c4f2ba4)
  • ui/tab,tab-item,tabs,tabs-items: suppotr darkmode & remove nerver used vaiable tab-color (681619d)

Features

  • checkbox: add dark mode (cee8c2c)
  • cli/generators: support dark mode (4795af8)
  • collapse: add dark mode (9c9f505)
  • darkmode for time-picker&date-picker&card (6878326)
  • darkmode for time-picker&date-picker&card (beaefdb)
  • darkmode for time-picker&date-picker&card (df633e9)
  • darkmode for time-picker&date-picker&card (f372a92)
  • divider: support dark mode (fa7e5ab)
  • form&rate&counter: add watchthemes (3a2cd90)
  • icons: add new icons (ffd80da)
  • index-bar: add dark mode (32f30af)
  • input: add dark mode (befd63c)
  • locale: add types and add optional chaining for date-picker (654d60f)
  • locale: add types and add optional chaining for date-picker (140e2ba)
  • menu: add dark-mode (e2807f6)
  • merge remote (523b9f8)
  • merge remote (4abf933)
  • merge remote (f50006c)
  • picker: picker support dark mode (2d404d7)
  • pull-refresh&switch: add dark mode (5936817)
  • radio: add dark mode (1a1fc57)
  • select: add dark mode (151bfc0)
  • steps/pagination/table: support dark mode (ad04ea7)
  • ui/skeleton: adaptatiton darkmode for skeleton (3ee30f6)
  • ui/space: add new component name is space (6f6e5e5)
  • ui/space: var-space complete (1d13b68)
  • ui/space: var-space complete (9af956c)
  • uploader: 添加onRemove条件删除 (ad44d1e)
  • uploader: 添加onRemove条件删除 (e3c5fb6)

Performance Improvements

  • shared: throttle节流修改 (981183c)
  • shared: throttle节流修改 (340b2e7)

1.22.10 (2021-11-03)

Bug Fixes

  • cli/site: change code block font color to white (f38aa0e)
  • cli/site: modify site theme update logic (d12195a)
  • ui/style-provider: simplify the use of style-provider (cbf66ce)

1.22.9 (2021-10-31)

Bug Fixes

  • cli/types: add global.d.ts for volar (c99e0c1)

1.22.8 (2021-10-31)

Bug Fixes

  • cli/highlight: fix web-types version (636b408)
  • cli/site: optimize site scroll on mobile trigger route change (536d7b1)
  • ui/divider: fix vertical divider (edf9720)
  • ui/input: fix behaviour of the input type (5643f3c)

1.22.7 (2021-10-22)

Bug Fixes

  • cli/dev: add varlet config file watcher (28b4ea9)
  • cli/dev: fixed bug of repeat restart server (e14f090)
  • cli/site: optimize github link style (47db851)
  • cli/site: optimize site (40161bf)
  • ui/site: modify highlight.css color (203432e)
  • ui/tab-item: add var-tab-item-cover attr (934a833)

1.22.6 (2021-10-18)

Bug Fixes

  • cli/jest: add root config check (052a338)
  • cli/site: optimize site style (aaec99e)
  • fix types (f9a372f)
  • slider/types: fix template types (31da191)
  • snackbar/types: fix types of related loading props (0e8d4f4)
  • ui/checkbox, radio: fix prop types (219cab8)
  • ui/pagination, cli/site: fix size and total cannot be centered vertically in the pagination, ad (ad3eb81)
  • ui/types: fix types (c87784d)
  • ui: fix types (ead022f)

Reverts

  • revert slider types change (b897c3c)

1.22.4 (2021-10-14)

Bug Fixes

  • ui/app-bar: fix app-bar style (9da67b6)

1.22.3 (2021-10-10)

Bug Fixes

  • cli: use vite internal printUrls instead of logger (1b164d7)
  • ui/pagination: fix icon size style is not effective (520b93d)

1.22.2 (2021-10-08)

Bug Fixes

  • cli: fix mobile cell hover color (ea999ed)

1.22.1 (2021-10-08)

Bug Fixes

  • cli/jest: replace testMatch to testRegex (5ed0a5c)
  • pagination: fix hover style (1762dd8)
  • site: remove hover style (5ae0179)
  • ui/action-sheet: fix disabled color (ec70187)
  • ui/styles: fix disabled color vars (f529c30)

1.22.0 (2021-10-08)

Bug Fixes

  • back-top: cover the style of button (b5046ae)
  • cli/gen: add default themes (2d68e91)
  • cli/site: increase app-bar vars weight (b3e8d15)
  • cli: fix dev server logger (4e9f81d)
  • cli: fix dev server port log error (2e82806)
  • cli: remove unuseful code and opt dev logger (18da4b5)
  • fix component path name (bbd8b1f)
  • input: text-color of disabled in safari (dd33256)
  • pagination: add keydown event to switch page (414decb)
  • pagination: fix current and size not update (463d891)
  • pagination: remove padding (83d214a)
  • remove console (3ee3548)
  • ui/button: remove line-height (c0d2422)
  • ui/ripple, ui/menu: opt ripple animation, fix menu left error on transition animation running (0f714de)
  • ui/ripple: add style variables (551a666)
  • ui/skeleton: add avatar-border-radius css vars (ddf259f)
  • ui/table: add table-tbody-td-font-size variable (861217e)

Features

  • cli: add preview command that can preview document site for production (3fea1f1)
  • cli: migrate the build tool to vite (c0eb94c)
  • pagination (62b27a8)
  • pagination: add declaration file (30fd32b)
  • table: add declaration file (30072d3)
  • ui/pagination: ui/pagination (3f8e24c)
  • ui/table: ui/table (abd3f7d)

1.21.0 (2021-09-22)

Bug Fixes

  • index-bar: fix the bug of overlap (52c1d9b)
  • index-bar: fix the scrolling bug when index-bar is not 0 away from the top (2f28954)
  • types: add props type declaration (a547cc9)
  • ui/sticky: remove auto check sticky support statement (8a35d98)
  • ui/sticky: use scroll mode as sticky default mode (3769f8b)

Features

  • ui/sticky: add disabled,css-mode props (5dbfbca)

1.20.0 (2021-09-15)

Features

  • cli: support pc component preview (be463ad)

1.19.0 (2021-09-13)

Bug Fixes

  • cli/gen: localize static resources (80f9097)
  • cli: add public folder to linter ignore (d10a799)
  • cli: fix prepare scripts to husky (d0ff087)
  • cli: fix the parameter passing method of webpack-dev-server (0d88843)
  • cli: optimize site style (f789d77)
  • cli: optimize site style (9287d7b)
  • doc: fix typo (6371e4e)

Features

  • cli: add release for template (5078838)
  • cli: webpack-dev-server upgrade to 4.x version (4d1fe95)

1.18.1 (2021-09-10)

Bug Fixes

  • cli: optimize site style and compile style reg (df5e173)

1.18.0 (2021-09-10)

Bug Fixes

  • cli/gen: remove unuseful config (2085b39)
  • cli: babel configuration-related path optimization (b79db48)

Features

  • cli: add version command (c5860c8)

1.17.4 (2021-09-09)

Bug Fixes

  • cli: add conventional-changelog-cli (7708781)

1.17.3 (2021-09-09)

Bug Fixes

  • cli: fix commitlint config, add changelog command (5688425)

1.17.2 (2021-09-09)

Bug Fixes

  • cli: add eslint,stylelint (e393ea8)

1.17.1 (2021-09-09)

Bug Fixes

  • cli: fix generators files publish error (29c014d)

1.17.0 (2021-09-09)

Bug Fixes

  • cli: generators add commitlint (32dbf2a)

Features

1.16.3 (2021-09-09)

Bug Fixes

  • cli, markdown-loader: optimize generators, markdown-loader lock highlight version (9b3e3bb)
  • cli,markdown-loader: markdown-loader add style option, linter ignore generators (7ca8844)
  • cli/compile-types: fix the component name of types (4d999ee)
  • cli: add site theme config property (9bf4945)
  • cli: fix generators progress color (7e62811)
  • cli: handle sfc style block's lang non-existent (96c8551)
  • cli: optimized Baidu statistics, add varlet-cli-app generators template, fix cli depend version (703517e)
  • cli: themes add progress color config (f804915)

Performance Improvements

  • site: remove useless mobile image (c55d7cf)

1.16.2 (2021-09-01)

Bug Fixes

1.16.1 (2021-08-31)

Bug Fixes

  • markdown-loader: fix the bug of parse doc cause by template string (6e35002)

1.16.0 (2021-08-30)

Bug Fixes

  • cli/eslint: add ext (6fa3971)
  • cli: bump version (3da0433)
  • compile: remove unnecessary camelize method (e9fd509)
  • site: remove import (2b6c499)

Features

1.15.0 (2021-08-13)

Features

  • time-picker: add allowedTime (b86bd84)

1.14.2 (2021-08-12)

Bug Fixes

  • ui/input: when the value is a number, the input type is not number (34d750a)

1.14.1 (2021-08-04)

Bug Fixes

  • optimize style of slider example (8940bb6)
  • ui/image-preview: tap can't trigger close (ecf7afe)

1.14.0 (2021-08-04)

Bug Fixes

  • ui/image-preview: restore the default behavior of the browser picture and prohibit dragging (4d5cbc6)

Features

  • slider: add button slot (a912564)

1.13.5 (2021-07-31)

1.13.4 (2021-07-31)

Bug Fixes

Performance Improvements

1.13.3 (2021-07-31)

Bug Fixes

  • cli: jsx tsx is not processed as an index (4079361)

1.13.1 (2021-07-31)

Bug Fixes

  • ui/swipe: the screen size changes, the size of the carousel will not change (#112) (7110457)

1.13.0 (2021-07-30)

Bug Fixes

  • cli: add the dev command ipv4 prompt, Optimization tips (e86313b)
  • modify the style of indexbar (ac268f1)

Features

  • cli: support extraction of style dependencies in scripts, and optimize function definitions (4d7d76f)

1.11.1 (2021-07-29)

Bug Fixes

  • ui/sticky: fix sticky element size error in keep-alive (3c269a9)

1.12.0 (2021-07-29)

Bug Fixes

  • cli/lint: fix the bug of cannot get warning message (ba849b3)
  • cli/site: fix build site fail (fffbb41)
  • ui/input: fix the wrong style of input (0cd5752)
  • ui/sticky: fix sticky element size error in keep-alive (9f30544)

Features

1.11.1 (2021-07-29)

Bug Fixes

  • ui/sticky: fix sticky element size error in keep-alive (3c269a9)

1.11.0 (2021-07-28)

Bug Fixes

  • index-bar: fix the bug of trigger two times change event after click anchor (4282788)

Features

  • index-bar: add duration prop (d115f84)
  • index-bar: add hide-list prop (a433b08)

1.10.0 (2021-07-22)

Bug Fixes

  • app-bar: remove unused component (4c70dbc)
  • style: remove unused component (722058d)
  • ui/swipe: fix swipe scroll error (a0c197c)

Features

  • ui/tabs-items: add scrollIntoView, distance api (a26f329)
  • ui/tabs-items: use carousel to replace the original design (8dd346e)

1.9.7 (2021-07-21)

Bug Fixes

  • ui/locale: expose useLocale api (2bf30e7)

1.9.6 (2021-07-20)

Bug Fixes

  • snackbar: add default value for options (18e6ae1)
  • snackbar: fix the wrong style of snackbar (5b0ae93)

1.9.5 (2021-07-19)

Bug Fixes

  • cli: add ./src (0f46b0a)
  • cli: fix build error (27f1947)
  • cli: fix eslint pattern (ae93da1)
  • cli: modify the logic of create route (d60158a)
  • modify the logic of create routes (8c00955)
  • remove unnecessary code (578b842)
  • ui/button: button add white-space nowrap (97626e1)

Reverts

  • revert the commit of modify routes (d26c420)

1.9.4 (2021-07-17)

Bug Fixes

  • cli: fix gen style error (4f7dade)

1.9.2 (2021-07-17)

1.9.0 (2021-07-17)

Bug Fixes

  • adjust the execution position of the remove function (7fc61de)
  • enhance type import (ae000e5)
  • remove unnecessary inheritAttrs prop (91d9503)
  • remove unnecessary inheritAttrs prop and update way of import type (72522ba)
  • remove unnecessary less import (a10ee49)
  • ui/swipe: fix vertical swipe indicator margin error (a23a266)

Features

1.8.0 (2021-07-02)

Bug Fixes

  • fix the bug of style-provider when update (0640b4e)
  • fix the prop name of style-provider (36dd315)
  • remove useless code and warning (9674482)
  • support styleVars keyName (fa2d4b5)
  • ui/rate: fix rate default color of props (5bca5ea)
  • ui/swipe: fix touchable bug (1c16e5d)
  • 更新类型引入 (b1636f3)

Features

  • add style-provider (d4008ea)
  • ui/card: add style provider for card (a47e7c9)
  • ui/image-preview: Add a click event to the close-icon button (2ee89a2)
  • ui/image-preview: Add an action to determine Scale in handleCloseClick function (c0f159b)
  • ui/image-preview: add new component image-preview prototype (25a8907)

1.7.1 (2021-06-19)

Bug Fixes

  • countdown: modify style of example (5dcf584)
  • progress: modify style of example (f2469a6)
  • switch: modify style of example (b790736)

1.7.0 (2021-06-14)

Bug Fixes

  • cli/site: add hover for lang button (5ce2822)
  • date-picker: add hover style (a6b4e42)
  • divider/types: export divider interface (e01d452)
  • fix import path and progress style (81d1651)
  • ui/divider: fix dynamic description (5a47460)
  • ui/divider: fix type declaration (b8ff9ac)
  • ui/divider: fix vertical divider (1aee499)
  • ui/divider: remove unnecessary type conversion (792a8aa)
  • ui/divider: support passing string inset with unit to divider (5cbd457)
  • ui/utils: support vw vh (b444ed0)
  • vscode-extension: add appbar to siteMap (9595981)

Features

  • site: add progress bar (e4590ec)
  • site: add switch language for mobile (60aff96)
  • ui/card: add Card component (90b0a14)
  • ui/divider: add dashed divider (9c6724e)
  • ui/divider: add divider component (3a7ed64)

Performance Improvements

1.6.0 (2021-06-02)

Bug Fixes

Features

  • extension: add varlet-code-extension package (b276e06)

1.5.0 (2021-06-02)

Bug Fixes

  • remove error classname (675a8da)
  • snackbar: modify option type (b30e6b0)

Features

  • ui/action-sheet: add new component action-sheet, basic feature complete (22f54dc)

1.4.9 (2021-05-31)

1.4.8 (2021-05-31)

1.4.7 (2021-05-31)

Bug Fixes

  • cle/site/pc: Make the left menu (2585504)
  • cli/config: repair header configuration (a91cd25)
  • cli/config/dev: Fixed the title (fe54e48)
  • cli/site/pc: remove unused import (260358b)
  • cli/site/pc: remove unused import (c61eb4c)
  • cli/site/pc: repair where the var-cell (dbb63f8)
  • cli/site/pc: repair where the var-cell (bf91f0e)
  • cli/site/pc: add browser title toggle both (28c9745)
  • cli/site/pc: remove unused import reactive (07fdd24)
  • cli/site/pc: remove unused import reactive (14e1fa8)
  • date-picker: fix autoupdate of snapshot (9ce63b7)
  • home: add headerLogo description (74fd8d4)
  • home: add headerLogo description (022b5a0)
  • home: add locale (e0b7155)
  • home: add locale (7e6fac9)
  • snackbar: add defaultOption for snackbar (7e05d9c)
  • snackbar: close autooff when the type prop is loading (95f7d2a)
  • snackbar: forbid click when type of snackbar is loading (b324cfb)
  • ui/home: change varletConfig import path (298d5ba)
  • ui/home: change varletConfig import url (5346d3b)
  • ui/home: change varletConfig import url (73b9f84)
  • ui/tsconfig: add allowJs option (c5bf05e)
  • varlet.default.config: Now (fea3daa)
  • varletconfig: Extract the public (2fbc4b0)

1.4.6 (2021-05-25)

Bug Fixes

  • ui/image: fix image template types (c923ee1)

1.4.5 (2021-05-21)

Bug Fixes

  • ui/tabs: fix bug of tabs scrolling fail in the safari (3e96046)
  • use ScrollTo method to replace back-top animation (88b6577)

1.4.4 (2021-05-21)

Bug Fixes

  • back-top: replace scrollTop to scrollTo (776803f)

1.4.3 (2021-05-20)

1.4.2 (2021-05-20)

1.4.1 (2021-05-19)

Bug Fixes

  • back-top: add window as default value of target (f293a94)
  • ui/uploader: add disabled and readonly case to the handleChange method (da82ae2)

1.4.0 (2021-05-19)

Bug Fixes

  • slider: fix error method (6e1774f)
  • snackbar: add install method of snackbar component (0b403cc)
  • type: fix error type of snackbar (430e382)
  • types: fix snackbar option type (a04588e)
  • ui/button: fix button block style to class (433633c)

Features

  • 添加form组件单元测试 (93420c1)

1.3.5 (2021-05-14)

Bug Fixes

  • ui/counter: fix bug of counter no validation function exposed (247b4c5)

1.3.4 (2021-05-13)

Bug Fixes

  • ui/select ui/radio: fix bug of select click event repeat trigger, radio unit test complete (21e6fcb)
  • ui/select: fix bug of select blur event can't trigger (b9918fc)

1.3.3 (2021-05-11)

Bug Fixes

  • ui/picker: 修复picker onChange事件在组件初始化结束后 选择当前选项也会触发一次事件 (3f6458d)

1.3.2 (2021-05-10)

Bug Fixes

  • pull-refresh: fix the bug of touchmove (88aa3af)
  • ui/tabs: fix indicator size error on window resize (576caf1)

1.3.1 (2021-05-08)

Bug Fixes

  • ui/ripple: fix ripple repeat call remove ripple task, ripple unit test complete (9c6b3c1)

1.3.0 (2021-05-08)

Bug Fixes

  • fix typo (ffc0ba8)
  • index-bar: remove useless prop and dont trigger click after call scrollTo method (bba5152)

Features

  • index-bar: add highlight-color prop (b4d38f4)

1.2.3 (2021-05-07)

1.2.2 (2021-05-06)

Bug Fixes

  • badge: optimize code and hide icon when dot prop is true (7246fd3)
  • fix test example warning (fb16f71)
  • types: vite build typescript error (cd1a402)

1.2.1 (2021-04-29)

Bug Fixes

  • ui/input select: 修复了input select的label居中问题 完成layout skeleton的单元测试 (b9502f9)

1.2.0 (2021-04-26)

Bug Fixes

  • cli/site: 添加禁止站点强缓存meta标签 (761b991)

Features

  • switch: add activeValue prop and inactiveValue prop (7e56ea7)

1.1.0 (2021-04-26)

Bug Fixes

  • ui/progress: 优化progress文档, 重命名props show-active -> label, show-track -> track (7d82141)

Features

  • ui/types: uploader提供jsx,tsx类型支持 (b156587)
  • ui/types: 完善row组件jsx,tsx类型推断 (4630be3)
  • ui/types: 提供jsx,tsx支持.完成以下组件button,checkbox,checkboxGroup,col,counter,dialog,form,icon,image,i (8818998)

1.0.1 (2021-04-24)

Bug Fixes

  • package/varlet-touch-emulator: package resolve entry point (7a846e9)

1.0.0 (2021-04-21)

0.13.3 (2021-04-20)

Bug Fixes

  • cli/site: 修改mobile全局字体颜色 (3155bf6)
  • index-bar: fix bug of scroll (872bc14)

0.13.2 (2021-04-19)

Bug Fixes

  • badge: fix wrong classname (11d90b5)
  • ui/uploader: 修改默认状态指示器的颜色 (c259acd)

0.13.1 (2021-04-19)

Bug Fixes

  • site: change logo and back url of mobile (2709c6c)
  • site: fix the bug of mouseenter trigger (d2e4b6d)
  • ui/counter ui/input ui/select: 修复counter移动端长按touchend失效的问题,修复input select颜色显示的问题 (a0e6f6a)
  • ui/input ui/select: 修改input select样式 (56cc7bf)
  • ui/input: 修复验证错误时光标颜色问题 (03fc188)

0.13.0 (2021-04-17)

Bug Fixes

  • collapse: fix wrong style (6e778f4)
  • fix some wrong style and docs error (71cd483)
  • fix wrong z-index of snackbar and prevent touchmove event of pull-refresh example (3be0b22)
  • index-bar: fix mount error and remove active prop (0dcb98f)
  • rate: add validator and import component style (9b76d36)
  • rate: fix error data (e135560)
  • snackbar: modify the way of transition (eb8aada)
  • ui/chip: 修复chip样式引入问题 (1e85fa4)

Features

  • cli/site markdown-loader/: 修改文档整体风格 (288a1f8)
  • cli/site: 修改手机样式 自适应高度 (37029e2)

0.12.2 (2021-04-14)

Bug Fixes

  • ui/types: 修复checkboxGroup steps step类型声明问题 (706632c)

0.12.1 (2021-04-14)

Bug Fixes

  • ui/types: 修复dialog picker类型声明 (53090e0)

0.12.0 (2021-04-14)

Features

0.11.4 (2021-04-11)

Bug Fixes

  • icon/lib: 增加base64构建模式 (ae682cc)
  • pull-refresh: update modelValue when loading (b6f892e)
  • rate: remove useless code (f1a4900)
  • ui/docs: 完善基本介绍中文文档 (e92111d)

0.11.3 (2021-04-09)

Bug Fixes

  • remove useless code (7215df0)
  • remove useless code and import cell component (090da6f)

0.11.2 (2021-04-08)

Bug Fixes

  • icon/config: 修改config url (e063fbf)

0.11.1 (2021-04-08)

Bug Fixes

  • date-picker: check value (d57b163)
  • icon/config: 修改打包的icon css url (23b87b7)
  • time-picker: wrong style (4dd6d49)

0.11.0 (2021-04-07)

Bug Fixes

  • ui/locale: 修复英文语言包字段名错误的问题 (e26e24d)

Features

  • site: add Baidu statistics (db2879b)

0.10.7 (2021-04-07)

Bug Fixes

  • cli/compiler: 编译时创建less.js cover babel-import-plugin (3b75185)

0.10.6 (2021-04-07)

Bug Fixes

  • ui/locale: 将自定义的语言包名加入语言包内 (5544b30)

0.10.5 (2021-04-07)

Bug Fixes

  • ui/types: 修复Locale类型声明 (3e2f9f1)

0.10.4 (2021-04-07)

0.10.3 (2021-04-07)

Bug Fixes

  • fix the bug of invalid style in build (56c85f0)
  • ui/*: 解决组件依赖css优先级问题 优化所有组件文档排版 (3791438)
  • ui/docs: 完善快速开始,按需引入文档 (0cd23c5)

0.10.2 (2021-04-06)

Bug Fixes

  • ui/dialog: 修复类型声明 (29639b8)

0.10.1 (2021-04-06)

Bug Fixes

  • ui/*: 解决组件依赖组件less路径错误问题 (a081d67)

0.10.0 (2021-04-06)

Bug Fixes

  • ui/*: 解决组件依赖组件时 被依赖组件样式没有加载的问题 (b2b18ae)

Features

  • varlet-ui: write rate to form (4a64a7e)

0.9.6 (2021-04-06)

Bug Fixes

  • ui/types: 修改函数式组件类型声明 (0309fdc)

0.9.5 (2021-04-06)

Bug Fixes

  • ui/package.json: 增加@babel/runtime依赖 (d6948b8)

0.9.4 (2021-04-06)

Bug Fixes

  • ui/collapse: 重命名组件名 (c418cc0)

0.9.3 (2021-04-06)

Bug Fixes

  • ui/locale: 修复locale导出异常 (c5373af)

0.9.2 (2021-04-06)

Bug Fixes

  • ui/*: 所有组件阻止ios默认的点击高亮 (78cce5f)
  • ui/lazy: 修复install报错 (187b822)

0.9.1 (2021-04-06)

Bug Fixes

  • cli/site: 修改生成umd文件名和库的全局变量名称 (ac39eb0)

0.9.0 (2021-04-06)

Bug Fixes

  • add boolean check of toNumber method (f5c5193)
  • back-top: modify some errors (fbde4f2)
  • cell: change attr container (a86a370)
  • cli, ui: 重构了 mobile和组件库的i18n设计 (bf6c870)
  • cli,ui: icon 文档和重构 (84fac70)
  • cli,ui: 修改pc站点布局, 修改menu left获取问题 (87d6041)
  • cli,ui: 完成组件库 pc文档 mobile文档的i18n设计 (cbcd297)
  • cli/site: 优化路由联动 (d7bbef3)
  • cli/site: 修复语言不同步的问题 (3271d06)
  • cli/site: 修改手机缩放比例 (777a38c)
  • cli: work in progress (ed362c7)
  • cli: 优化compileRoutes正则 (b9223c2)
  • cli: 优化compileRoutes的正则匹配 (2a500dc)
  • cli: 优化site routes (8f11570)
  • cli: 修改了文档站点的样式 (ac28f9f)
  • index-bar: modify scroll container (8c70cb8)
  • pull-refresh: fix error classname (fedeff0)
  • remove unnecessary code and add example (0505305)
  • root/scripts: 修改bootstrap命令执行顺序 解决compile失败的问题 (4022fec)
  • root: bootstrap脚本增加ui的compile操作 (f6eaa11)
  • site: return to the previous step and display the left active menu in the visual box (5ed5313)
  • site: solve the problem of incorrect display of mobile phone (2a549e8)
  • slider: make sure maxWidth exist (052bb70)
  • slider: modify z-index when draged (7433719)
  • time-picker: duplicate calls update (2605384)
  • time-picker: fix bug of irremovability (b359852)
  • time-picker: fix some bugs (96d45e3)
  • time-picker: fix the bug of touchmove and wrong handleStyle (7383396)
  • ui/popup: 重写example (dd4efa8)
  • ui/row col: 修复offset偏移问题 (ebd3986)
  • ui/select,option: 修复了v-model失效的问题 (bf72234)
  • ui/skeleton,button,ripple: 完成skeleton button ripple的文档编写 (846ffe9)
  • ui: counter原型完成 (d7f5a52)
  • ui: menu重构完成 文档编写完成 (6bd43ca)
  • ui: 修复select 在multiple chips模式下 无法关闭chip的bug (8015120)
  • ui: 修订文档 (9827ca8)
  • ui: 增加parse时间格式的工具函数 (5851cbb)
  • ui: 移除menu缩放动画 (1566535)
  • ui: 重构dialog 完善文档 (0ba2eb1)
  • ui: 重构menu 重写menu example (edacc76)
  • varlet-icons: add icon (6d5f8f2)
  • varlet-ui: error report in modification (f8b9020)
  • varlet-ui: modify phone size (9e92861)

Features

  • add declaration files (a20cddb)
  • add declaration files (6eeb1a3)
  • add less variable of time-picker, date-picker (28f6131)
  • add less variables of cell, back-top, pull-refresh, progress, switch, slider, index-bar (ef9750d)
  • add less variables of step, collapse and define cubic func (2a8be2d)
  • countdown (f3fd177)
  • countdown: i18n and refactor the way of formatting (7be2461)
  • loading: i18n (9c2240d)
  • slider: docs and i18n (3aab17b)
  • snackbar: call the snackbar function directly (7f486c8)
  • steps (4a70c31)
  • ui/row ui/col: 新增row col组件 (8b0ee5f)

Reverts

0.8.0 (2021-02-26)

Bug Fixes

  • add icon and modify icon style (3080c8c)
  • add icon for snackbar and fix snackbar clear function (56f322e)
  • add removed code (8c9ba91)
  • add sticky prop (6ae504f)
  • add url-loader and build icons (c4c219a)
  • all package.json: 修订版本 (c6fc097)
  • cli ui/tabs ui/tab: cli修订依赖版本 tabs tab通信完成 切换效果完成 (44c9495)
  • cli,ui: 支持组件库,文档i18n (b76e664)
  • cli: webpack4.x -> 5.x (967b63a)
  • cli: 修复windows template highlight 编译异常 (babb72d)
  • cli: 增加模版高亮 默认值描述 (847ae41)
  • date-picker: modify varible name (e282a91)
  • date-picker: remove ts error of dayjs (68e9ff5)
  • expansion-panels: add matchIndex and watch modelValue to update (cdd7584)
  • fix snackbar bugs (0f05496)
  • merge: merge code (c4af410)
  • modify componentName (206a3c0)
  • modify execution timing (d3c66bb)
  • modify name of import loading (0b9d7e4)
  • modify some style (ee7be71)
  • modify style (72d28b3)
  • modify ts to js of example (d6d269f)
  • modify type (b9dd910)
  • progress: modify default track color (a853bb1)
  • pull-refresh: modify default style (9b78580)
  • rewrite emulator (9215a83)
  • root ui/utils: 创建了项目依赖统一安装脚本 优化了父子组件通信 (a6bba67)
  • root: 增加less文件的prettier格式化规则 合并代码 (e74af2c)
  • root: 移除了ui/coverage,hightlight的版本控制 (0c5893d)
  • root: 移除单元测试统计的stylelint (8b86ee3)
  • scripts/bootstrap: 修复命令 兼容macos (32f61b2)
  • snackbar: fix zIndex and loading (aaf2459)
  • snackbar: modify switch mode of icon (d8c943a)
  • ui/dialog picker: 优化close方法 (5b426ab)
  • ui/form, checkbox-group checkbox select input: 抽离了form-details useValidation (53f9cde)
  • ui/icon ui/image ui/lazy: 增加lazy的处理状态 icon原型完成 增加image的load error监听 (661b111)
  • ui/icon: icon name支持图片地址 (a5bcb49)
  • ui/icon: icon name支持图片地址 (0884dd7)
  • ui/icon: 增加复制icon功能 (5282655)
  • ui/input: input 原型完成 (d945477)
  • ui/input: input 默认trigger方式修改为 onInput onClear (bbaed93)
  • ui/input: input增加异步校验功能 (da0c5f0)
  • ui/input: 修复line在error状态下没变红色的BUG (7f8298d)
  • ui/list: list原型完成 (669590e)
  • ui/picker dialog: 优化单例模式流程 (0c78a72)
  • ui/picker, dialog: 优化单例流程 (4ca25a2)
  • ui/picker,dialog: 修改成统一的单例模式 增加close方法 (095b346)
  • ui/picker,popup,dialog: picker命令式原型完成 (6c12f71)
  • ui/picker: 优化picker api (42ee8bf)
  • ui/picker: 优化代码 (10f27b7)
  • ui/picker: 创建工具栏 (2ed6e8a)
  • ui/picker: 多列picker原型完成 (e41f497)
  • ui/picker: 完成了多列模式的基本功能 (882c014)
  • ui/picker: 级连模式完成 (dcd55b9)
  • ui/picker: 设计了基本的样式和基本dom结构 完成了基本的滚动 (9d9f1b9)
  • ui/ripple: 优化了ripple的动画 (f219a14)
  • ui/ripple: 水波纹会自行设置容器的 overflow position zIndex 并在波纹结束时进行还原 (a112796)
  • ui/select utils/component: select option组件原型完成 增加了inject前的provide key判断 (7f7795a)
  • ui/sticky: sticky原型完成 (8acff00)
  • ui/sticky: 修复number类型offsetTop失效的bug (e7ac6bd)
  • ui/sticky: 增加scroll事件监听 (19e1447)
  • ui/sticky: 粘性默认使用css的sticky属性进行帧数提升 不支持的浏览器降级成fixed模式 (f43bdd3)
  • ui/swipe list: 优化swipe list (9439763)
  • ui/swipe, swipe-item: 原型完成 (9e7a45b)
  • ui/swipe: 修复了touching状态下autoplay没禁止的bug (40fcb2e)
  • ui/swipe: 增加resize方法 (a453b66)
  • ui/tabs tab tabs-items tab-item: 优化了父子之间传值 增加resize方法 (771b156)
  • ui/tabs ui/tabs-items: 优化视图切换 增加tabs垂直布局支持 (1f032ae)
  • ui/tabs ui/tab: tabs tab原型完成 (01d6330)
  • ui/utils ui/tabs tab tabs-items tab-item: 优化组件通信 (487d751)
  • ui/utils: 修改了获取滚动容器的实现 (9cd5a23)
  • ui: ui/input,checkbox,checkbox-group,radio,radio-group原型完成 优化父子组件通信 (3af4a62)
  • ui: 增加单元测试命令 测试覆盖率统计 ide高亮支持 优化cli代码可读性 (91882c6)
  • 恢复list: 恢复被删除的ui/list (b2fd79e)
  • 恢复list: 恢复被删除的ui/list (4e52780)

Features

Performance Improvements

  • cli: 优化compiler编译速度 (20df4e1)

0.7.0 (2020-12-25)

Bug Fixes

  • add class for transition-group (75e3df6)
  • add isDeclarative for snackbar (a156647)
  • add margin for loading text and detection componentName (b42046e)
  • add typescript type(App) (4d49a7b)
  • cli/compiler: 修复cjs编译bug 增加编译不同模块标准库css,less入口文件 (226bc04)
  • cli: 修改.vue文件编译逻辑 (5e2e64a)
  • cli: 重构部分代码 (e4840dc)
  • commands: modify indexTemplate of create (48a0687)
  • fix style of snackbar (2858e3e)
  • icons: 子包@varlet/icons完成 svg待选 (76c8cbd)
  • loading: remove text (86ec547)
  • modify loading docs and example (66be153)
  • modify size and animation of loading (63eb392)
  • remove console (675f910)
  • snackbar: add type definition (a3283ff)
  • snackbar: modify default duration (520cf47)
  • snackbar: modify position prop (2862958)
  • ui/image: image原型完成 (97fcc83)
  • ui/lazy,skeleton: 修改了skeleton样式 取消了lazy尝试请求的请求数参数 (df1c8e1)
  • ui/lazy: lazy原型完成 (e332fa8)
  • ui/lazy: 修复CacheInstance类型错误 (1573b56)
  • ui/lazy: 修复了lazy在兼容模式下 图片从视口外操作到视口内没有进行check的bug (8af34d0)
  • ui/lazy: 修复了部分情况下图片update重复check的bug (f8fcf78)
  • ui/lazy: 增加1px像素占位 增加图片URL缓存 (865a10c)
  • ui/lazy: 增加局部滚动的案例cover (c24820a)
  • ui/lazy: 增加绑定事件配置 (64a95cb)
  • ui/styles: 修改common.less中的状态名 (8e30223)
  • ui: button原型制作中 已完成基本type size color基本交互 (5d528ea)
  • ui: button原型完成 (cdf32e5)
  • ui: menu组件原型完成 重构button popup dialog skeleton的props (09a57b1)
  • ui: popup dialog原型完成 (4c3da72)
  • ui: snackbar index.ts重构 (a76a0be)
  • ui: snackbar 解决动画问题 (da87973)
  • ui: 修复类型问题 (10ebe7a)
  • ui: 修改了ripple的定位 (67fd0cc)
  • ui: 增加button组件的loading参数校验 (4d839c1)
  • ui: 增加ui全局上下文 适配teleport keep-alive 锁操作 (d237750)
  • ui: 定义组件上下文对象 (4e926c7)
  • ui: 按钮组件开发 (4fddcbd)
  • ui: 添加@varlet/icons依赖 (f32de8c)

Features

Performance Improvements

  • add validator for progress mode (8eb9721)
  • refactor snackbar (fd58373)

0.5.13 (2020-11-27)

Bug Fixes

  • ui/package.json: fix (6bb1761)
  • ui/skeleton: 修复row的迭代bug (d1640ac)

0.5.10 (2020-11-27)

Bug Fixes

  • cli ui: 统一给每个包增加另一个style入口 方便babel-import-plugin解析 (cd1ef49)

0.5.9 (2020-11-27)

Bug Fixes

  • all package.json: 修改了peer依赖 改成了依赖大于目标版本 (294eced)

0.5.8 (2020-11-27)

Bug Fixes

  • cli/site ui: skeleton组件原型完成 文档完成 (374100f)

0.5.7 (2020-11-26)

Bug Fixes

  • ui: ripple指令原型完成 (43f8665)

0.5.6 (2020-11-23)

Bug Fixes

  • cli: 启动生成varlet.config.js (d8dfa5e)

0.5.5 (2020-11-23)

Bug Fixes

  • cli: 修改ts-loader配置 allowTsInNodeModules (cf65039)

0.5.4 (2020-11-23)

Bug Fixes

  • cli: tsconfig.json加入生产依赖 (7c56dd2)

0.5.3 (2020-11-23)

Bug Fixes

  • cli: 把shim作为生产依赖 (4e099d9)

0.5.2 (2020-11-23)

Bug Fixes

  • all changelog: 修正版本号 (af8f2b6)
  • 添加tsconfig.json到cli的依赖列表: tsconfig.json (3e55747)

0.5.1 (2020-11-23)

Bug Fixes

  • all packages/package.json: 发包失败重新发包 (849f9ae)

0.6.0 (2020-11-23)

Bug Fixes

  • add active style (e23ecb2)
  • cli: 增加功能create命令生成单测模板 (0a2cf55)
  • modify router path (5451c55)
  • sentenced to empty (2f21c5b)

Features

Performance Improvements

0.5.0 (2020-11-13)

Bug Fixes

  • .gitignore: 移除cli routes文件的依赖托管 (1576643)
  • cli: 移除typescript依赖 (67cd726)

Features

  • add auto create pc site route (65cd41a)
  • cli: 增加jest单测命令 一键执行所有单测文件 或是执行某一个组件的单测文件 (b23bfee)

Performance Improvements

0.4.0 (2020-11-10)

Features

  • cli: 支持打包成umd (af0645f)

0.3.2 (2020-11-09)

0.3.1 (2020-11-09)

Bug Fixes

  • cli: 修改.vue文件编译规则 (71ab372)

0.3.0 (2020-11-06)

Features

  • cli: 实现compile命令,可编译出es,commonjs规范两套发布代码|实现--watch文件监听,按需编译有改动的文件 (a00695a)

0.2.1 (2020-11-03)

Bug Fixes

  • cli: 修复了node_modules的依赖包没被webpack扫进去的bug (128a0fa)

0.2.0 (2020-11-03)

Bug Fixes

  • gitignore: 修改gitignore (0b51c3d)
  • packages/varlet-cli/lib: 移除了packages/varlet-cli/lib (3d71b03)

Features

  • packages/:** 架构调整,实现varlet-cli dev build命令 (1ca2cf6)

0.1.7 (2020-10-30)

Bug Fixes

  • 所有子包的package.json: 移除了publicConfig (1ce49db)

0.1.6 (2020-10-30)

Bug Fixes

  • lerna.json: 修改lerna.json的publishConfig字段 (a6ea83f)

0.1.5 (2020-10-30)

Bug Fixes

  • lerna.json: 修改了lerna.json的public选项 (831e521)

0.1.4 (2020-10-30)

Bug Fixes

  • root package.json: 修改主包package.json (1ecfad0)

0.1.3 (2020-10-30)

Bug Fixes

  • 所有子包的package.json: 修改publicConfig字段 (d711a57)

0.1.2 (2020-10-30)

0.1.1 (2020-10-30)

0.1.0 (2020-10-30)

Features

  • 初始化仓库: 初始化规范化配置 monorepo配置 (5913d0b)