Skip to content

Releases: wevisdemo/design-system

v8.1.0

13 Jun 06:47
eebe877
Compare
Choose a tag to compare

Features

  • [Typography] Add new font: IBM Plex Sans Thai Looped

Fix

  • Transform kebab-case to camelCase for SVG props in React output

Others

  • Add package readme
  • Upgrade Mitosis to 0.3.2

Full Changelog: v8.0.0...v8.1.0

v8.0.0

20 Mar 10:15
Compare
Choose a tag to compare

Breaking changes

  • Drop support for deprecated Vue 2, only support Vue 3
  • Vue components now located in @wevisdemo/ui/vue

Features

  • Add Vue component's type declaration (.d.ts)
  • [CookieConsent] Swap save and accept all buttons priority

Fix

  • Svelte now have default function props, no more workaround needed
  • [CookieConsent] Force text color and correct typo

Special thanks to @parloppap for Vue3 migration

v7.0.2

19 Dec 10:09
Compare
Choose a tag to compare

Fix

  • [Footer] Change Twitter icon to X

v7.0.1

19 Dec 08:11
Compare
Choose a tag to compare

Fix

  • [Sharer] Change Twitter icon to X

v7.0.0

27 Jun 14:37
Compare
Choose a tag to compare

Breaking changes

  • [Typography] Remove Anuphan and Bai Jamjuri fonts (deprecated)

Features

  • Separate component CSS files
  • [ButtonLink] Add the component
  • [NavButtonLink] Add the component
  • [CookieConsent] Add type
  • [Navbar] Add animation logo and plus sign options

Fix

  • [Navbar] Set homeHref to wevis
  • [CookieConsent] Text space and pointer

Improvements

  • Overall type and a11y

Others

  • Huge improvement of the documentation

Special thanks to a huge contribution from @rootEnginear 🎉

v6.1.1

29 Mar 08:21
Compare
Choose a tag to compare

Fix

  • Typography remove predefined reset margin
  • Button define border size

v6.1.0

28 Mar 08:44
Compare
Choose a tag to compare

Features

  • Sharer add copy link solid style
  • Footer add terms of use link

Improvements

  • Improve a11y in footer navbar and sharer
  • Sharer use encodedURIComponent #15

v6.0.0

10 Jan 23:50
Compare
Choose a tag to compare

Breaking changes

  • Typography Remove -font in the typography CSS utility classes to make it more concise
    • Font family eg. wv-font-kondolar -> wv-kondolar
    • Font weight eg. wv-font-bold -> wv-bold
  • Typography Replace Anuphan font with IBM Plex Sans Thai as a primary font #8
    • wv-anuphan CSS class still exists but is marked as deprecated.

Improvement

  • Typography Add fallback system font stack behind custom family #7
  • Typography Add font-display: swap; in @font-face #14

v5.2.0

16 Nov 22:20
Compare
Choose a tag to compare

Changes

  • CookieConsent now can't show strictly necessary cookie option (cause banner save user settings)
  • CookieConsent setting now has expired date (default 30 days)

Fix

  • Set optional string prop default as empty for Svelte type because of Mitosis issue (Still have an issue with optional function)

v5.1.0

15 Nov 00:19
Compare
Choose a tag to compare

Changes

  • CookieConsent can show strictly necessary cookie option (hide by defaut)
  • Ship Svelte components with .svelte without TypeScript + declaration file to support both TS and JS project
  • Ship Vue 2 components with ESM js instead of .vue (No declaration file until the Mitosis bug is fixed)

Fix

  • #2 NavButton overflows on mobile when WvNavbar always show slot