Skip to content

Releases: Telefonica/mistica-web

v16.2.0

08 Oct 10:53
Compare
Choose a tag to compare

16.2.0 (2024-10-08)

Bug Fixes

  • Tooltip, Popover: allow styling target wrapper (#1262) (38abf25)
  • Touchable: make content focusable when using onPress + as="a" (#1255) (5e297d5)

Features

v16.1.1

03 Oct 15:48
Compare
Choose a tag to compare

16.1.1 (2024-10-03)

Bug Fixes

v16.1.0

27 Sep 13:33
Compare
Choose a tag to compare

16.1.0 (2024-09-27)

Features

v16.0.0

13 Sep 09:32
Compare
Choose a tag to compare

16.0.0 (2024-09-13)

Features

  • ButtonLink: add default variant (#1211) (97aa4ad)
  • Callout, Cards, Dialog, EmptyState, EmptyStateCard, FeedbackScreen, Tabs: remove icon prop and use only Icon/asset (#1206) (eb06fa3)
  • Feedback, FixedFooterLayout, Dialog, Accordion, Touchable, Header, IconButton, NavigationBar, OverscrollColor: remove deprecated props (#1205) (e1c84ec)
  • Header, MainSectionHeader: use "default" as component's default variant (#1207) (29e0ef4)
  • i18n: refactor texts to improve bundle size (#1228) (088a290)
  • Icons: add new icons and rename others (#1197) (4cfffa5)
  • React: require react18 and replace useAriaId with React.useId (#1213) (b29f778)
  • skin: rename some design tokens (#1203) (d0a1452)
  • Snackbar: update snackbar duration logic (#1208) (2ef5804)
  • ThemeVariant: add media theme variant and update components in order to adapt to it (#1236) (eada194)
  • Titles: add new Title2, replace Title2 and Title3 with Title3 and Title4 respectively (#1202) (bed8fdf)

BREAKING CHANGES

  • ThemeVariant: media theme variant has been added and it may require changes in any logic that depends on variants
  • ButtonLink: ButtonLink now behaves like other buttons by default (it won't be small unless you specify this by setting small prop to true)
  • i18n: texts from useTheme are now empty by default. If a mistica defined text is required, it should be imported from text-tokens and must be translated using the t function from useTheme
  • Callout, Cards, Dialog, EmptyState, EmptyStateCard, FeedbackScreen, Tabs: icon prop was replaced by Icon/asset
  • skin: some mistica internal tokens are renamed
  • Snackbar: snackbar duration prop type now allows only "PERSISTENT" as value. Numeric values are not valid anymore.
  • React: react17 is no longer supported by Mistica and useAriaId hook is removed
  • Header, MainSectionHeader: Header's variant changes from inverse to default if variant prop is not used
  • Feedback, FixedFooterLayout, Dialog, Accordion, Touchable, Header, IconButton, NavigationBar, OverscrollColor: deprecated props are removed in several components
    • Accordion: removed onToggle callback from AccordionItem. Use onChange from Accordion instead
    • FixedFooterLayout: alignment of buttons in desktop is not configurable anymore (desktopButtonAlign prop has been removed)
    • ButtonLayout: children is not allowed. Use primaryButton / secondaryButton / link props
    • Cards: prop ariaLabel is removed. Use aria-label instead
    • HighlightedValueBlock: use headings props only (mainHeading / secondHeading / secondaryValue / valueColor have been removed)
    • Dialog: if you want to use alert/dialog/confirm functions, import them by using useDialog hook
    • Feedback: use extra instead of children
    • Header: preamount, amount, button, secondaryButton, subtitle and isErrorAmount are removed. Use extra prop for this.
    • IconButton: The deprecated version that allows any content or size has been removed. Use Touchable component if you need to style your content in a specific way
    • NavigationBar: use variant instead of isInverse prop
    • OverscrollColor: removed the OverscrollColor component. Use useSetOverscrollColor hook to configure the top/bottom overscroll colors.
  • Titles: renamed Title2 to Title3 and Title3 to Title4
  • Icons: renamed some icons
    • autentication-failure → authentication-failure
    • autentication-success → authentication-success
    • adn → dna
    • hamburguer → hamburger
    • garaje → garage
    • millenials → millennials
    • not-photo-camera → no-photo-camera
    • not-conexion-file → no-conexion-file
    • smiley-happy → face-happy
    • smiley-sad → face-sad
    • like → thumb-up

v15.20.1

12 Sep 15:11
Compare
Choose a tag to compare

15.20.1 (2024-09-12)

Bug Fixes

  • confirm: make destructive mode work with webview bridge (#1237) (0dc1787)

v15.20.0

06 Sep 14:20
Compare
Choose a tag to compare

15.20.0 (2024-09-06)

Features

  • NavigationBreadcrumbs: allow executing onNavigate when pressing a link (#1233) (ec7ed8b)

v15.19.0

03 Sep 12:16
Compare
Choose a tag to compare

15.19.0 (2024-09-03)

Bug Fixes

  • Buttons: avoid warnings related to change in order of react hooks (#1229) (2dbc411)
  • i18n): Revert "feat(i18n: improve texts sizes" because it is breaking (#1226) (79eb4a4)
  • Logo: fix webpackChunkName magic comments (#1214) (3d1f098)
  • Vivinho char: vivinho char in headings being read as a separated heading (#1209) (f0f5fb0)

Features

  • Buttons: refactor code and fix spacing bug in loading buttonLink (#1212) (640e429)
  • i18n: improve texts sizes (#1204) (0345e7c)
  • Logo: Refactor logo to improve bundle size and loading times (#1210) (15b77cb)
  • NavigationBar, FunnelNavigationBar, MainNavigationBar: add alternative variant (#1200) (eef87ec)

v15.18.0

20 Aug 17:45
Compare
Choose a tag to compare

15.18.0 (2024-08-20)

Bug Fixes

  • FeedbackScreen: avoid double responsive margins in buttons when they are not fixed (#1195) (41c10ad)
  • Inline: wrap content if required when space equals between/around/evenly (#1199) (b121227)
  • Snackbar: allow dataAttributes passed to openSnackbar (#1192) (c5c65bd)

Features

  • Popover, Snackbar, Callout, Chip, Dialog, Cards: allow customizable close button label (#1193) (63de33a)

v15.17.0

01 Aug 10:52
Compare
Choose a tag to compare

15.17.0 (2024-08-01)

Bug Fixes

  • Chip: missing data-component-name when closable (#1191) (e4e284f)
  • Dialogs: avoid double execution of native dialogs (#1183) (68c8db7)
  • Select: onChange was called twice and there was an empty option in iOS (#1185) (c44b25b)

Features

  • icons: New box, High-priority and MMS icons (#1188) (edff352)
  • Rows: a11y update (#1180) (5f995ad)
  • ThemeContextProvider: expose TextPreset size/lineHeight tokens as css vars (#1178) (921eacf)

v15.16.4

29 Jul 15:03
Compare
Choose a tag to compare

15.16.4 (2024-07-29)

Bug Fixes

  • Table: avoid rendering action buttons copy in test env (#1187) (530905e)