Skip to content

Releases: TobitSoftware/chayns-components

v4.5.2

14 Mar 14:45
Compare
Choose a tag to compare

Features:

  • Bubble/ContextMenu/Tooltip: Add TOP_CENTER and BOTTOM_CENTER position
  • Bubble/ContextMenu/Tooltip: Export all positions as constants

Fix:

  • Slider: The Slider did not work correctly inside a Tooltip or the android/iOS app

v4.5.1

14 Mar 12:21
Compare
Choose a tag to compare

Fix:

  • Accordion: onSearch/onSearchEnter does not work, when no right-prop is set
  • FileInput: FileInput.types.ALL does not allow any file-type

v4.5.0

11 Mar 15:02
Compare
Choose a tag to compare

Features:

  • Slider: New Component to select a value or interval at a preset interval
  • Calendar: Add support of defining a style object of a highlighted date
  • Calendar: Updated styles

Fix:

  • Calendar: Reduce unnecessary rerendering with same data
  • ModeSwitch: Fix Bug that onChange was not called if user isn't a manager on the site
  • Button: Fix bug that onChange didn't change
  • Gallery: Fix default width
  • Bubble: Use only left for positioning to prevent fade in from the right side
  • SelectButton: Show selection only in button if showSelection is enabled

v4.4.6

28 Feb 14:38
Compare
Choose a tag to compare

Features:

  • Accordion: Added open and close right-prop
  • Accordion: Added class "react-accordion" to prevent collisions between react- and non-react accordions
  • ModeSwitch:
    • Show ModeSwitch automatically in old iOS app versions which don't have an adminSwitch
    • From the first two modes, display only the one currently selected with the adminSwitch
  • ContextMenu: Added a new example

Fix:

  • ModeSwitch: Solve problems with old iOS app versions.

v4.4.5

27 Feb 09:52
Compare
Choose a tag to compare

Features:

  • FormattedInput: Export instances of the default formatters

v4.4.4

27 Feb 09:52
Compare
Choose a tag to compare

Feature:

  • FormattedInput: A component that styles and validates the input based on a given formatter
    • shipped formatters: IntegerFormatter, NumericFormatter, PriceFormatter

Fix:

  • Use PureComponent instead of Component inside of some components
  • Fix positioning of contextMenu and tooltip

v4.4.3

22 Feb 14:19
Compare
Choose a tag to compare

Feature:

  • PersonFinder: Added LazyLoading
  • Tooltip, ContextMenu
    • Added Bubble-Component to combine functionality
    • Components set the position of the bubble by itself if not specified
    • Removed hide-prop from contextMenu. It can be opened and closed by calling show() or hide() on the reference.
  • ScrollView: Added onScroll-prop
  • PersonFinder: Added defaultValues prop to specify already selected persons when used with multiple-prop

Fix:

  • Accordion: Fixed Accordion was rendered with pointer
  • CheckBox: Now returns the elements wrapped in a div
  • SelectListItem: Uses the RadioButton-component to render the radio-buttons
  • Input: Change style of the placeholder on initial rendering
  • GridCalendar: The arrows that changes the week breaks the headline

v4.4.2

20 Feb 15:48
Compare
Choose a tag to compare

Fix:

  • ModeSwitch: Saved mode was not read correctly
  • PersonFinder: showId-prop does not work in combination with defaultValue-prop

v4.4.1

20 Feb 13:54
Compare
Choose a tag to compare

Feature:

  • PersonFinder: multiple-prop added (allows searching of multiple persons/sites)
  • PersonFinder: Add showId-prop (defaults to false)

Fix:

  • PersonFinder: showSites-prop now defaults to false
  • Export CHAYNS_CSS_VERSION to use it within webpack-config
  • ModeSwitch, Tooltip, ContextMenu: Could now be used with the .tapp-container rendered within React

v4.4.0

19 Feb 14:38
Compare
Choose a tag to compare

Fix:

  • Input: When changing the regExp-prop, the content will be revalidatet
  • Input: Reduces unnecessary rerendering

Features:

  • PersonFinder: The PersonFinder uses a new data source, which allows it to display more information about the user
    • Removed some attributes of the returned data
      • Users: currentLocationId, facebookId, lastLoginTime
      • Sites: facebookId, appstoreName (was renamed to name)
    • Removed prop: stopPropagation (please create an issue if you need it)
  • FileInput: The FileInput replaces the FileUpload component.
    • Returns a file object which can be uploaded to new image service via imageUpload function.
  • Gallery:
    • Shows a preview of the image while the image is still loading (if preview-prop is given).
    • Accepts file objects and URLs.