Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@dhis2/ui-constants

Package Overview
Dependencies
Maintainers
2
Versions
416
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dhis2/ui-constants - npm Package Versions

1
4041

5.0.0-alpha.2

Diff

Changelog

Source

5.0.0-alpha.2 (2020-03-24)

Code Refactoring

  • core: add forward refs to base components (699b194)
  • move all core components to widgets (d6f8a7b)

BREAKING CHANGES

  • core: base components can hold a ref.
  • All @dhis2/ui-core exports have been migrated to @dhis2/ui-widgets.
dhis2-bot
published 5.0.0-alpha.1 •

Changelog

Source

5.0.0-alpha.1 (2020-03-19)

Bug Fixes

Code Refactoring

  • checkboxfield: move to ui-widgets (d979d96)
  • fileinputfield: move to ui-widgets (6059625)
  • fileinputfieldwithlist: move to ui-widgets (a512f00)
  • forms: add suffix 'Control' (06896ea)
  • inputfield: move to ui-widgets (50d9009)
  • multiselectfield: move to ui-widgets (c3d42ad)
  • singleselectfield: move to ui-widgets (e09c70c)
  • switchfield: move to ui-widgets (2baa52a)
  • textareafield: move to ui-widgets (3ef63da)
  • togglegroupfield: migrate to ui-widgets (db55448)
  • ui: list breaking changes (7ceddf0)

Features

  • constants: move and expose the common proptypes (1bb0f9d)
  • forms: integrate @dhis2/ui-forms (af49144)
  • ui: expose @dhis2/ui-forms through metapackage (88a3782)

BREAKING CHANGES

  • forms: Postfix all the @dhis2/ui-forms components with 'Control' to avoid conflicts with the base components in @dhis2/ui-core and @dhis2/ui-widgets, since all components are now exported in @dhis2/ui.
  • textareafield: Import path changes from @dhis2/ui-core to @dhis2/ui or @dhis2/ui-widgets.
  • switchfield: Import path for SwichField changes from @dhis2/ui-core to @dhis2/ui or @dhis2/ui-widgets.
  • singleselectfield: Import path for SingleSelectField changes from @dhis2/ui-core to @dhis2/ui or @dhis2/ui-widgets.
  • multiselectfield: MultiSelectField import path changes from @dhis2/ui-core to @dhis2/ui-widgets or @dhis2/ui
  • inputfield: Move InputField from ui-core to ui-widgets, new import path at @dhis2/ui-widgets or @dhis2/ui.
  • fileinputfieldwithlist: Move FileInputFieldWithList from ui-core to ui-widgets, new import from @dhis2/ui-widgets or @dhis2/ui.
  • fileinputfield: Move FileInputField from ui-core to ui-widgets. New import path from '@dhis2/ui-widgets' or '@dhis2/ui'.
  • checkboxfield: CheckboxField has moved from ui-core to ui-widgets.
  • togglegroupfield: move the ToggleGroupField component from ui-core to ui-widgets.
  • ui: Rename the Constrictor component to Box, which is shorter and thus easier to type. This also expands the capabilities of Box to make it more Box-like.
  • ui: Replace SwitchGroupField, RadioGroupField, CheckboxGroupField with ToggleGroupField.
  • ui: Replace SwitchGroup, RadioGroup, CheckboxGroup with ToggleGroup.
  • ui: The exports: colors, theme, layers, spacers, spacersNum, and elevations, have been moved from @dhis2/ui-core to @dhis2/ui-constants for better code reuse.
1
4041
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