Socket
Socket
Sign inDemoInstall

@epam/cra-template-uui

Package Overview
Dependencies
0
Maintainers
5
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @epam/cra-template-uui

UUI template for Create React App.


Version published
Maintainers
5
Created

Changelog

Source

5.6.0 - 08.02.2024

What's New

  • Added 'Tokens' doc page. It contains list of all core tokens with their value and description.
  • prop captionCX is deprecated for the following components: Button, LinkButton, Badge, Tag, TabButton, VerticalTabButton, MainMenuButton and will be removed in future release. Please use cx prop to access caption styles and use cascading to change the styles for the uui-caption global class.
  • [Breaking changes]:
    • [Badge]: can be a span element if onClick prop is not passed, consider it for DOM manipulation with this component.
    • [Tag]: can be a span element if onClick props is not passed, consider it for DOM manipulation with this component.
    • [PickerInput]: in selectionMode: multi selected item Tag rendered as a span, consider it for DOM manipulation with this component.
    • [Button]: removed count, dropdownIconPosition props.
    • [TabButton]: removed dropdownIconPosition prop.
    • [VerticalTabButton]: removed dropdownIconPosition prop.
    • [LinkButton]: removed onClear, clearIcon, count, dropdownIconPosition props.
    • [MainMenuButton]: removed onClear, clearIcon, isDisabled, dropdownIconPosition props.
    • [Badge]: removed dropdownIconPosition prop.
    • [Tag]: removed dropdownIconPosition prop.
    • [Text]: removed color brand; Removed --uui-text-brand token from themes, use --uui-text-primary instead.
  • Removed deprecated MakeMeItem and InstanceItem components from loveship.
  • [TimePicker]: improve time picker input value parsing. Added ability to parse value in different formats, e.g.: 1.23pm -> 01:23 PM, 12/2 -> 12:02 AM, .25 -> 00:25, 2350 -> 23:50 etc.
  • Changes in ICanBeInvalid interface:
    • Extract validationMessage to the IHasValidationMessage interface
    • Extract validationProps into ValidationState interfaces
  • [Text]: added tertiary color.
  • [FlexRow]: added property justify-content it can be equals 'center' | 'space-between' | 'space-around' | 'space-evenly' | 'start' | 'end'.
  • [DropSpot]: changed type of the property infoText from string into ReactNode. Now you can pass your own realization of it, or pass string and use our.
  • [Snackbar]: added 'Clear all notification' notification button while 2+ notifications displaying. To enable this behavior, exports Snackbar form @epam/uui package or skins.

What's Fixed

  • [PickerInput]: fixed initialy selected items clear with LazyDatasoruce
  • [PickerInput]: fixed partially selected mark for all chain of parent in single mode
  • [RadiInput]: added native HTML name attribute for the input.
  • [RadioGroup]: added native HTML name attribute for each group member.
  • [Tooltip]: fixed vertical paddings according to the design.
  • [SearchInput]: fixed onCancel prop. Now component can use provided callback, not only default implementation
  • [useForm]: fixed close method to always return Promise
  • [LinkButton]: fixed sky color in loveship dark theme
  • [Badge]: fixed outline night600 color in loveship dark theme

Readme

Source

cra-template-uui

This is the official UUI template for Create React App.

To use this template, add --template @epam/uui when creating a new app.

For example:

npx create-react-app my-app --template @epam/uui

# or

yarn create react-app my-app --template @epam/uui

For more information, please refer to:

Keywords

FAQs

Last updated on 08 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc