New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@epam/assets

Package Overview
Dependencies
Maintainers
3
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@epam/assets - npm Package Versions

1
15

5.4.0

Diff

Changelog

Source

5.4.0 - 21.11.2023

What's New

  • This release introduced stable Theming approach and theme css variables:

    • Theme css variable now assumed as a stable API, you can use them into your application styles.
    • A lot of components styles tweaks according to the design changes.
    • You can read more about Themes here - https://uui.epam.com/documents?id=themes
  • New EPAM brand 'Electric' Theme and @epam/electric package. To start using Electric theme you need:

    • Add @epam/electric package to your project
    • Add import '@epam/electric/styles.css' to the root of your application
    • Add import '@epam/assets/css/theme/theme_electric.css' to the root of your application
    • Add uui-theme-electric class to the html body node
    • Import all necessary components from @epam/electric package.
  • Added Dark theme for Loveship. To start using Dark Loveship theme you need to:

    • Add import '@epam/assets/css/theme/theme_loveship_dark.css'; to the root of your application
    • Add uui-theme-loveship_dark class to the html body node.
  • [Fonts]: Added Source Sans Pro font, which properly works with css font-weight and font-style rules. You can replace usages Sans Semibold font with Source Sans Pro and font-weight: 600, Sans Italic with Source Sans Pro and font-style: italic etc. We also keep old font-faces and variables for backward compatibility. It's recommended to move to the new approach, since old one will be deprecated in feature.

  • [skinContext]: removed skinContext from UuiContexts, it's not needed to provide it to the uui services, just remove its usage.

  • [Typography]: removed typography mixins. Now typography applies via css classes. If you use mixins, replace it by adding .uui-typography class on the same node.

  • [StatusIndicator]: added new StatusIndicator component.

  • [CountIndicator]: added new CountIndicator component.

  • [Badge] :

    • [Breaking change]: removed fill "white" and "none" modes, use fill="outline" + color instead them.
    • [Breaking change]:removed fill "transparent", use StatusIndicator component instead.
    • [Badge]: deprecated fill "semitransparent", it will be removed in future releases. Use fill="outline' instead.
  • [LabeledInput]:

    • added sidenote and footnote props
    • added maxLength and charCounter props. You can use them for cases when you need to show a counter which indicates the limit of symbols in input.
    • added possibility to provide validationMessage as react node
  • [TextArea][Breaking Change]: removed maxLength prop, use LabeledInput with maxLength and charCounter={ true } props instead.

  • [CheckBox, PickerList, RichTextView, Switch, TabButton, VerticalTabButton, ScrollBars]: removed theme prop. Use Theming approach instead.

  • [PresetsPanel]: added the ability to add a modal confirmation window when deleting a preset

What's Fixed

  • [useForm]: don't reset inChanged flag in case when server validation fails
  • [DataTableRow]: fixed rawProps prop
  • [DropdownMenuButton]: use isActive prop in priority under router.isActive
  • [PickerInput]: set overflow: hidden; on open for mobile
  • [DataTable]: fix columns reorder when there are hidden columns
  • [TextArea and TextInput]: fix maxLength for Android
  • [DataTable]: fixed column order after pin action
  • [PickerInput]: Disable select all button if list are empty, and it has no selection
  • [DataTable]: added role=table
  • [SlateEditor]: fixed image caption appearance after upload
  • [DropdownMenu]: added focusLock prop
alekseymanetov
published 5.3.0 •

alekseymanetov
published 5.3.0-rc.1 •

alekseymanetov
published 5.3.0-rc.0 •

alekseymanetov
published 5.2.0 •

Changelog

Source

5.2.0 - 16.10.2023

What's New

  • [useVirtualList]:
    • Breaking change: scrollToIndex prop was removed, use scrollTo instead.
    • Improved scrollTo functionality. Added configuration of scroll behavior and how to align item after scroll.
    • See the example here
  • [DataTable]: added possibility to pin rows inside table. It allows you to make some rows sticky inside their parent group. Use pin callback in getRowOptions function for this. See the example here.
  • [BaseListView]:
    • added backgroundReload property. If it is set to true, placeholders appear only on the first load and on fetching additional rows. Any filter/search/sorting change doesn't trigger placeholders' rendering. Old data is shown until new data is received. When reloading is started,
    • getListProps now returns isReloading flag, which signals that data is reloading.
  • [DataTable][Pickers]: Added Blocker overlay while loading. It appears on initial render and filter, search, sort, page number, and size change.
  • [InputAddon]: added InputAddon component that can be used in cases when you need to add prefix or suffix to the your component with ControlGroup.
  • Use Vitest instead of Jest in Vite UUI template app

What's Fixed

  • [UUI Contexts]: fixed context initialization for react 18 with strict mode
  • [PickerItem]: fixed 'cx' prop
  • [PickerInput]: remove the dropdown icon if minCharsToSearch prop is passed
  • [PickerInput]: fixed paddings with multiline item text
  • [PickerInput]: don't clear search on item check via keyboard
  • [useUuiServices]: fixed apiPingPath, apiReloginPath, apiServerUrl props
  • [AdaptivePanel]: fixed items width calculation in case of decimal values
  • [useForm]: recover from isInProgress=true state if onSave is rejected
  • [TabButton]: fixed notify dot, that it will not change button width
  • [FiltersPanel]: fixed height of filter body in mobile view
  • [ErrorHandler]: fixed image for 503 error code in loveship
  • [DatePicker]: fixed crashes with different versions of dayjs
  • [ModalWindow]: changed role attribute value from 'modal' to 'dialog'
  • [DropdownMenuButton]: fixed icon color in isDisabled state
alekseymanetov
published 5.2.0-rc.3 •

alekseymanetov
published 5.1.3 •

Changelog

Source

5.1.3 - 31.08.2023

What's New

  • Added focus state styles for Accordion, AvatarStack, Anchor, Badge, Button, Burger, Checkbox, Control Group, IconButton, LinkButton, MainMenu, RadioInput, Switch, TabButton, Tag. This focus styles works via :focus-visible pseudo class and will be applied only when using the keyboard.
  • [FiltersPanel]: added possibility to provide your own custom filter
  • [useForm]: validate callback now return new validationState
  • [DropdownContainer]: improved keyboard support. Now DropdownContainer by default lock focus inside and return to the toggler by closing. Also implemented close by 'Esc'.

What's Fixed

  • [PickerInput]: when searchPosition=input a cursor is placed in textbox once PickerInput is focused via Tab key.
  • [PickerInput]: fix searchPosition when editMode=modal, it cannot be input.
  • [useForm]: after calling validate callback, form switch to revalidating mode on fields change.
  • [useForm]: fixed isChanged prop calculation, in case when form value returned to initial
  • [useForm]: don't call loadUnsavedChanges callback when for was edited and then returned to the initial value
  • [Accordion]: fixed outdated isOpen value of renderTitle and renderAdditionalItems callbacks in case when this.props.value provided
  • [Burger]: fixed keyboard navigation
  • [Badge]: fixed hover effects for non-clickable badges in loveship
  • [SliderRating] fixed colors of icons when it's 2+ sliders on one page
  • [LabeledInput]: fixed default Tooltip color
  • [SlateEditor]: get zIndex from layer context for RTE toolbars
  • [DataTable]: fixed columns resize
alekseymanetov
published 5.2.0-rc.2 •

alekseymanetov
published 5.2.0-rc.1 •

alekseymanetov
published 5.1.2 •

Changelog

Source

5.1.2 - 10.08.2023

What's New

  • Added support of UUI library proper work in shadow-dom container
  • [DropdownMenu]:
    • [Breaking change]: reworked component in loveship skin to be aligned with @epam/uui implementation and with design specs
  • [Alert]: added size '36' option.
  • [DropdownMenu]: added minWidth prop to set up minWidth to DropdownMenu container.
  • [Avatar]: property onClick marked as @deprecated. It will be removed in future versions.
  • [TimePicker]: rework styles for loveship. Size '48' was marked as deprecated and will be deleted in the future releases.
  • [FileUpload]: file upload components was added to the Loveship skin.

What's Fixed

  • [Button]: fixed disabled styles
  • [FiltersPanel]: fixed wrong filter order calculation on new filter adding.
  • [RangeDatePicker]: presets.name prop now accept ReactNode.
  • [PickerInput]: fixed selected value displaying if item id equals zero or false.
  • [ColumnsConfigurationModal]: fixed crashes when new column was added or deleted from columns array
  • [ControlWrapper]: component was marked as deprecated and will be removed in feature releases.
  • [InstanceItem]: component was marked as deprecated and will be removed in feature releases.
  • [MakeMeItem]: component was marked as deprecated and will be removed in feature releases.
  • [DraftRTE]: updated to the latest epam/assets package version
  • [DataPickerFooter]: added export from loveship and promo packages
  • [SlateEditor] fixed custom elements removal when they are last element in editor
  • [DataTable]: fixed paddings for first cell in edit mode
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc