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

@r365/react-calendar-timeline

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@r365/react-calendar-timeline - npm Package Versions

123

0.25.0-beta

Diff

ilaiwi
published 0.24.1 •

ilaiwi
published 0.24.0 •

ilaiwi
published 0.23.0-beta2 •

ilaiwi
published 0.23.0-beta •

ilaiwi
published 0.23.0 •

Changelog

Source

0.23.0

  • improve unit tests coverage #426 - @ilaiwi
  • stack items by group #384 - @acemac
  • fix bug where canMove prop gets ignored #484 - @acemac + @ilaiwi
  • fix sidebar re-render when groupHeights do not change #478 - @SDupZ

Stack per group

now you can stack choose to stack items in individual groups by providing the property stackItems in group object. The property in group overrides the timeline prop stackItems.

const groups = [{ id: 1, title: 'group 1', stackItems: false }, { id: 2, title: 'group 2', stackItems: true }]

const items = [
  {
    id: 1,
    group: 1,
    title: 'item 1',
    start_time: moment(),
    end_time: moment().add(1, 'hour')
  },
  {
    id: 2,
    group: 2,
    title: 'item 2',
    start_time: moment().add(-0.5, 'hour'),
    end_time: moment().add(0.5, 'hour')
  },
  {
    id: 3,
    group: 1,
    title: 'item 3',
    start_time: moment().add(2, 'hour'),
    end_time: moment().add(3, 'hour')
  }
]

ReactDOM.render(
  <div>
    Rendered by react!
    <Timeline
      groups={groups}
      items={items}
      defaultTimeStart={moment().add(-12, 'hour')}
      defaultTimeEnd={moment().add(12, 'hour')}
    />
  </div>,
  document.getElementById('root')
)
ilaiwi
published 0.22.1 •

ilaiwi
published 0.22.0 •

Changelog

Source

0.22.0

Fixed

  • Provided a new key groupLabelKey to allow splitting of the key used to render the Sidebar and the InfoLabel visible during drag operations. groupTitleKey continues to be used to render the Sidebar. #442 @thiagosatoshi
  • fix scroll left/right causes item move/edit to be at incorrect time #401 @acemac
  • now getResizeProps take leftClassName and rightClassName and returns className for left and right props @acemac
  • fix functionality of itemTitle and itemDivTitle issue @acemac
ilaiwi
published 0.21.0 •

Changelog

Source

0.21.0

fixes
  • fix item dimensions not being rendered on zoom in/out @ilaiwi + @acemac
  • correct right_sidebar to rightTitle in readme @maxlibin
breaking changes
  • add rct to .top-header and .bottom-header to become .rct-top-header and .rct-bottom-header @Simek
  • upgrade dev dependance react@16.3 @acemac
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