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

@stenajs-webui/calendar

Package Overview
Dependencies
Maintainers
1
Versions
489
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stenajs-webui/calendar - npm Package Versions

1
49

2.0.2

Diff

Changelog

Source

2.0.2

Improvements

Calendar

  • Updated styling to look more like design system.
  • Updated to correct colors in default theme.
  • Updated the calendar theme to use CSS prop based theme, instead of context based theme.

Breaking changes

  • The calendar theme TravelCalendarTheme has been removed.
mattias800
published 2.0.1 •

Changelog

Source

2.0.1

New features

Banner

New component for showing information and errors.

Improvements

StandardTable

Column configs itemLabelFormatter now gets item as second argument.

DateRangeDualTextInput

  • Escape key now closes the calendar popover.
  • Clicking on already selected month/year returns to the calendar.
  • Too large intervals no longer crashes calendar.
  • YearPicker no longer scrolls to new year in focus.

useGridCell

  • Key down events that contain shift, cmd or ctrl are no longer captured.

Popover

  • There are no longer warnings in console from Tippy.
mattias800
published 2.0.0 •

Changelog

Source

2.0.0

New features

DateRangeDualTextInput

New component DateRangeDualTextInput which has the same functionality as DateRangeInput.

It does not replace it though, since they are not API compatible.

CenterModal

New modal which is centered and not draggable.

LoadingModal

New modal for showing loading/saving state.

Improvements

  • Add revertEditableEntity action to editable-entity-reducer.
  • All calendars now has a panel for quickly selecting month and year.

Design changes

  • Disabled ActionMenuItem now has white background.

Breaking changes

  • Months enum have been renamed to Month.
  • WeekDays enum have been renamed to WeekDay.

Popover

Popover now uses Tippy, and Tippy's props. This means that some props have changed.

Most importantly, content and children can no longer be functions. If you need the hide and show functions, implement them using local state and the Popover visible props.

mattias800
published 1.2.0 •

Changelog

Source

1.2.0

New features

  • entity-list-reducer has new action actionOnAll, which applies child action to all items.
  • New reducer factory editable-entity-reducer which contains persisted and editable instances of entity.

Breaking changes

  • Select has been updated according to design system. Resulting in removal of its theme property.
  • Select now has a variant property that can be either light or dark.
mattias800
published 1.1.1 •

Changelog

Source

1.1.1

Hotfix

  • Fix focus on DateRangeInput when moving from start date to end date.
mattias800
published 1.1.0 •

Changelog

Source

1.1.0

Breaking changes

  • No longer clearing StandardTable state when new data is fetched.

This caused prefilled checkboxes to be cleared.

This must now be handled manually when there is new data in the table without it being unmounted between renders.

  • DateRangeInput now allows invalid date range.

Previously, it would switch start date and end date if start date was after end date. Instead, it now highlights the inputs with error highlight.

This means that you are no longer guaranteed that the range is valid.

mattias800
published 1.0.8 •

Changelog

Source

1.0.8

Bug fix

onChange did not properly use latest value in editor cells.

mattias800
published 1.0.7 •

Changelog

Source

1.0.7

Hotfix

reducerIdGate did not handle actions with unexpected form. Such actions can be dispatched by Redux itself, or middlewares. Such actions are now just passed down to the internal reducer, which can handle the actions as they see fit.

mattias800
published 1.0.6 •

Changelog

Source

1.0.6

Redux package types updated

It now uses type Reducer type from redux instead of react. This makes it compatible with combineReducers from Redux.

mattias800
published 1.0.5 •

Changelog

Source

1.0.5

Improvements

  • Select component now has the same focused box shadow that is used in input fields.
  • Link component now uses an 1px outline instead of border.
  • StandardTableConfig now infers column names from row object automatically.
  • StandardTableConfig now supports expand collapse button in header row (set showHeaderExpandCollapse to true)

New actions for StandardTable

StandardTable is now using new higher order reducers, which require composing nested actions. This made it harder to create actions in the apps, and these new actions help.

  • selectByIds(ids)
  • clearSelection()
  • expandByIds(ids)
  • collapseAll()
  • sortBy(columnId, desc?)
  • clearSortOrder()

New actions are exposed by useLocalStateTableContext hook, and can be created manually using createStandardTableActions function.

Breaking changes

  • New actions are breaking, if the app is using them via useLocalStateTableContext.
  • useLocalStateTableContext now accepts an initialState parameter instead of initialSortOrder and initialSortOrderDesc.
    • Use createStandardTableInitialState to maintain compatibility.
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