Skip to content

Latest commit

 

History

History
2359 lines (1303 loc) · 51.9 KB

CHANGELOG.md

File metadata and controls

2359 lines (1303 loc) · 51.9 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[19.14.0] - 2023-02-27

Changed

  • Add new cloud icon

[19.13.6] - 2023-02-26

Changed

  • Validate min value in the number field

[19.13.5] - 2023-02-26

Changed

  • Validate zero value in number field component

[19.13.4] - 2023-02-06

Changed

  • Update algorithm to not allow scroll in the background

[19.13.3] - 2023-02-06

Changed

  • Fix modal condition to not allow scroll in the background

[19.13.2] - 2023-02-06

Changed

  • Fix modal behavior to not allow scroll in the background

[19.13.1] - 2023-02-06

Changed

  • Update modal behavior to now allow scroll in the background

[19.12.1] - 2023-02-06

Changed

  • Update min validation on change in milliseconds component

[19.12.0] - 2023-02-05

Added

  • Added new min prop to milliseconds component

[19.11.0] - 2023-11-16

Added

  • Added two new icons

[19.10.0] - 2023-10-31

Added

  • Added text change (saving...) when the user presses the image editor Save button

[19.9.0] - 2023-09-20

Added

  • Added new icon

[19.8.0] - 2023-08-22

Added

  • Added new icon

[19.7.0] - 2023-08-21

Added

  • Added new icon

[19.6.1] - 2023-07-07

Added

  • Added stop propagation in the Cancel option for the Confirm modal

[19.6.0] - 2023-07-07

Added

  • Added event in the Confirm modal callback when the user presses the Accept button

[19.5.1] - 2023-06-12

Added

  • Initial display prop for SelectField (if you want to do something else with that)

[19.5.0] - 2023-06-12

Added

  • Callback with text change in select field (if you want to do something else with that)

[19.4.0] - 2023-05-26

Added

  • New crop icon

[19.3.6] - 2023-05-12

Changed

  • Cropped image will return just one time to the parent

[19.3.5] - 2023-04-11

Changed

  • Return file type when an image is edited

[19.3.2] - 2023-04-05

Changed

  • Return just the thumbnail for uploaded videos

[19.3.2] - 2023-04-05

Changed

  • Return final version flag when video needs the thumbnail

[19.3.1] - 2023-03-31

Changed

  • Return filename for images and status of edited

[19.3.0] - 2023-03-31

Added

  • Return filename for images

[19.2.0] - 2023-03-08

Added

  • New variantes of video field and media field

[19.1.0] - 2023-03-01

Added

  • Adding new icons to our library

[19.0.6] - 2023-02-28

Changed

  • Fixing padding of inputs with border

[19.0.5] - 2023-02-28

Changed

  • Changing design of chq-ffd with border

[19.0.4] - 2023-02-23

Changed

  • Use another design for chq-fdd

[19.0.2] - 2023-02-15

Changed

  • Handle milliseconds with two decimals

[19.0.1] - 2023-02-15

Changed

  • Fixing build

[19.0.0] - 2023-02-14

Added

  • Added a new milliseconds component
  • Added new icons

[18.24.1] - 2022-08-25

Added

  • Convert videos to use the codec h264, compatible with all the browsers

[18.24.0] - 2022-06-02

Added

  • Add new iconss

[18.23.0] - 2022-05-24

Added

  • Add new icon

[18.22.1] - 2022-05-24

Added

  • Improve the cropper image quality

[18.22.0] - 2022-05-23

Added

  • Using new icons to media upload buttons

[18.21.0] - 2022-05-23

Added

  • Adding new icons

[18.20.0] - 2022-05-13

Added

  • Adding new video field and new icons

[18.19.1] - 2022-01-06

Changed

  • Fixing problem with Dropdown because of the focus

[18.19.0] - 2022-01-04

Added

  • Adding new icons

[18.18.1] - 2021-11-25

Changed

  • Changing styles in confirm dialog disclaimer

[18.18.0] - 2021-11-25

Changed

  • Adding new prop to confirm dialog

[18.17.0] - 2021-11-25

Changed

  • Adding new folder icon

[18.16.1] - 2021-11-22

Changed

  • Validation in select field when display is null

[18.16.0] - 2021-11-17

Added

  • Validation creatable select field no case sensitive

[18.15.0] - 2021-11-10

Added

  • Adding new linkedin icon

[18.14.0] - 2021-11-09

Added

  • Adding new linkedin icons

[18.13.0] - 2021-10-25

Added

  • Adding new drag icon

[18.12.2] - 2021-09-23

Changed

  • Adding style to select field with image

[18.12.1] - 2021-09-23

Changed

  • Exporting video editor and adding a prop to return the loader or not

[18.12.0] - 2021-09-23

Added

  • Adding new recorded icon

[18.11.0] - 2021-09-22

Added

  • Adding new recorded icons

[18.10.1] - 2021-09-22

Changed

  • Merging changes

[18.10.0] - 2021-09-22

Changed

  • Adding media and image field as button

[18.9.0] - 2021-09-17

Changed

  • Trim selected value in select fields if the value is too long

[18.8.0] - 2021-08-16

Changed

  • Adding new prop to SerachField to search by an exact match of a phrase

[18.7.0] - 2021-08-12

Changed

  • Adding code icon

[18.6.0] - 2021-08-05

Changed

  • Adding inline styles to react modal

[18.4.4] - 2021-07-15

Changed

  • Removing heic images

[18.4.3] - 2021-06-30

Changed

  • Testing heic images

[18.4.2] - 2021-06-30

Changed

  • Testing heic images

[18.4.1] - 2021-06-30

Changed

  • Fixing Image Preview render when video is selected

[18.4.0] - 2021-06-28

Changed

  • Allowing heic images in image input field

[18.3.6] - 2021-06-22

Changed

  • Allowing hide video controls

[18.3.5] - 2021-06-21

Changed

  • Using ffmpeg-core full path

[18.3.4] - 2021-06-17

Changed

  • Always have the same video url to do not blink when the parent state is updated

[18.3.3] - 2021-06-16

Changed

  • Validating types to show the right values

[18.3.2] - 2021-06-11

Changed

  • Adding callback to know that the video is processing

[18.3.1] - 2021-06-11

Changed

  • Adding video preview when it is loaded

[18.3.0] - 2021-06-11

Added

  • New play icon with no border

[18.2.1] - 2021-06-10

Changed

  • Return thumbnail as file and not as url

[18.2.0] - 2021-06-10

Added

  • Getting duration from selected video

[18.1.0] - 2021-06-10

Added

  • Getting thumbnail from video 00:00

[18.0.3] - 2021-06-08

Changed

  • Fixing linter validation

[18.0.2] - 2021-06-08

Changed

  • Adding background image styling to media file

[18.0.1] - 2021-06-08

Changed

  • Adding some styling to media file

[18.0.0] - 2021-06-08

Added

  • Adding new component, to allow videos in media file

[17.32.0] - 2021-05-28

Changed

  • Updating icon

[17.31.2] - 2021-05-24

Added

  • Fixing console logs

[17.31.0] - 2021-05-24

Added

  • Adding new prop to clean search bar

[17.30.0] - 2021-05-18

Changed

  • Adding new props to change dialog props

[17.29.0] - 2021-05-14

Changed

  • Adding new icons

[17.28.0] - 2021-04-27

Changed

  • Adding new icons and new icon prop to change the color

[17.27.0] - 2021-04-21

Changed

  • Adding new icons

[17.26.0] - 2021-04-21

Changed

  • Adding new icons

[17.25.0] - 2021-04-12

Changed

  • Updating icons

[17.24.0] - 2021-04-12

Changed

  • Updating icons

[17.22.0] - 2021-04-09

Added

  • Adding new icon

[17.21.0] - 2021-04-06

Added

  • Adding a new variant of the tooltip, to be at the bottom on the parent

[17.20.0] - 2021-03-15

Added

  • Updating and adding a new gem icon

[17.19.0] - 2021-03-13

Added

  • Updating timezones because of daylight savings

[17.18.1] - 2021-03-10

Added

  • Adding transform to icon to center it

[17.18.0] - 2021-03-10

Added

  • Adding a couple of new icons

[17.17.1] - 2021-03-04

Added

  • Adding accesibility to new actio button

[17.17.0] - 2021-03-03

Added

  • Adding new icon (post)

[17.16.3] - 2021-03-03

Added

  • Adding new prop to remove placeholder option when you have selected more than 2 tags, also putting action calbback and tag in one single container

[17.16.2] - 2021-03-02

Added

  • Adding new param to callback action in the selected options in mutiple select field.

[17.16.1] - 2021-03-02

Added

  • Updating action to selected options in mutiple select field be there just for some options.

[17.16.0] - 2021-03-01

Added

  • Adding new action to selected options in mutiple select field.

[17.15.0] - 2021-02-26

Added

  • Adding new rocket icon.

[17.14.8] - 2021-01-22

Changed

  • Fixing select options without category aria-label.

[17.14.6] - 2021-01-20

Added

  • Adding accesibility props to dialog.

[17.14.5] - 2021-01-18

Added

  • Adding accesibility role to warnings.

[17.14.4] - 2021-01-18

Added

  • Adding accesibility options to subnav component.

[17.14.3] - 2021-01-15

Added

  • Adding accesibility options to components.

[17.14.2] - 2021-01-14

Changed

  • Fixing a bug in Select Options component.

[17.14.1] - 2020-12-16

Changed

  • Fixing unit test problem.

[17.14.0] - 2020-12-16

Added

  • Adding new slack icon.

[17.13.0] - 2020-12-15

Added

  • Adding accesibility stuff to components.

[17.12.0] - 2020-11-12

Changed

  • Adding a new image icon.

[17.11.0] - 2020-11-10

Changed

  • Adding a new image icon.

[17.10.0] - 2020-11-03

Changed

  • Update to the latest timezones.

[17.9.6] - 2020-10-28

Changed

  • Fixing bug when select field is destroyable

[17.9.5] - 2020-10-27

Changed

  • Fixing bug on first load

[17.9.4] - 2020-10-26

Changed

  • First load is keeping previously selected value

[17.9.3] - 2020-10-26

Changed

  • Propagate the value when a user unselect the select field options

[17.9.2] - 2020-10-26

Changed

  • Propagate the value when a user clicks outside the field options

[17.9.1] - 2020-10-26

Changed

  • On the first load, clean the input value if you have an option selected

[17.9.0] - 2020-10-26

Added

  • Adding cleaning of select single field when you have selected a previously loaded option

[17.7.0] - 2020-10-20

Added

  • Adding new prop to do not clear the select single field when you select it

[17.6.0] - 2020-10-16

Added

  • Adding new prop to allow a select field to keep the value even the fields is creatable and you do not want to force the user to click the in the create option value

[17.5.0] - 2020-10-13

Added

  • Adding 4 new icons

[17.4.1] - 2020-10-12

Changed

  • A couple of errors in icons

[17.3.0] - 2020-10-09

Added

  • Adding new survey icons

[17.2.0] - 2020-10-05

Added

  • Adding new star icons

[17.1.15] - 2020-10-02

Added

  • Adding validation to form field to have a max value of characters

[17.1.14] - 2020-10-01

Added

  • Adding new icons

[17.1.13] - 2020-09-23

Changed

  • Adding new icons

[17.1.12] - 2020-09-10

Changed

  • Fixing Unit test

[17.1.11] - 2020-09-10

Changed

  • Select Image selector will use the default behavior when you close the cropper modal

[17.1.10] - 2020-09-09

Changed

  • Do not show image until the user presses the save button in the editor

[17.1.9] - 2020-09-09

Changed

  • Select images with a background

[17.1.8] - 2020-09-02

Changed

  • A new option in the creatable select field to personalize the label

[17.1.7] - 2020-08-31

Changed

  • Handle focus state in buttons to have a good accessibility standard

[17.1.6] - 2020-08-28

Changed

  • Adding another icon option to the close modal icon

[17.1.5] - 2020-08-27

Changed

  • Fixing problem with creatable select field and the get display value

[17.1.4] - 2020-08-26

Changed

  • Updating quote icon

[17.1.3] - 2020-08-14

Changed

  • Adding new icon

[17.1.2] - 2020-08-12

Changed

  • Adding new icon

[17.1.1] - 2020-08-03

Changed

  • Adding new options to image field

[17.1.0] - 2020-07-31

Changed

  • Adding new options to image field

[17.0.29] - 2020-07-03

Changed

  • Adding new info icon, and allowing a search in the select fields with # at the beggining

[17.0.28] - 2020-07-02

Changed

  • Allow close select field when user click inside the input if you have a container as a child

[17.0.27] - 2020-07-01

Changed

  • Fixing bug with same ids for different categories

[17.0.26] - 2020-06-26

Changed

  • Adding a new diamon icon

[17.0.25] - 2020-06-23

Changed

  • Fix with race condition with options of the SelectField

[17.0.24] - 2020-06-23

Changed

  • Allowing objects as value in the select fields

[17.0.23] - 2020-06-22

Changed

  • Fixing select field on select event and adding new icon

[17.0.22] - 2020-06-20

Changed

  • Hotfix in select field with number indexes

[17.0.21] - 2020-06-19

Changed

  • Hotfix in select field with number indexes

[17.0.20] - 2020-06-19

Changed

  • Changing one icon and adding a new one

[17.0.19] - 2020-06-12

Changed

  • Fixing some styles in the icons classes

[17.0.18] - 2020-06-12

Changed

  • Adding more options to SelectField component to allow options with icons and retrieve the selected options as an array of ids or as an array of objects, depending if they have a category for example

[17.0.17] - 2020-06-11

Changed

  • Adding more options to SelectField component to allow a children with more items

[17.0.16] - 2020-06-10

Changed

  • Adding more options to SelectField component and a couple of new icons

[17.0.15] - 2020-06-09

Changed

  • Adding onSelected prop to SelectField component

[17.0.14] - 2020-04-21

Changed

[17.0.13] - 2020-04-21

Changed

  • Fixing bug with state value in Modal.

[17.0.12] - 2020-04-21

Changed

  • Fixing bug with state value in Modal.

[17.0.11] - 2020-04-21

Changed

  • Fixing bug with state value in Modal.

[17.0.10] - 2020-04-20

Changed

  • Adding aria-label to forms to allow the getByRole for Unit testing.

17.0.8 - 2020-04-20

Changed

  • Update the Modal state.

17.0.7 - 2020-04-20

Changed

  • Update to the Modal state.

17.0.6 - 2020-03-24

Changed

  • Update to the latest timezones.

17.0.5 - 2020-03-02

Changed

  • Manually include custom types file in dist when building.

17.0.4 - 2020-02-24

Changed

  • When opening up a select field with multiple=false, automatically clear the input.

17.0.3 - 2020-02-21

Changed

  • Support for displaying the checkmark correctly if the value in a SelectFieldSingle is explicitly false.
  • Change the active class on select field options from using CSS to the aria-current attribute.

17.0.2 - 2020-02-19

Changed

  • Improve perform on the Form component when large select fields are part of the children.

17.0.1 - 2020-02-18

Changed

  • Allow Checkmark component to accept all props concerning a button element.

17.0.0 - 2020-02-13

Changed

  • Permanently affix the Nav component to the top of the page.

16.7.2 - 2020-02-04

Changed

  • Properly flip the megaphone icons this time.

16.7.1 - 2020-02-04

Changed

  • Flipped the megaphone and megaphone-ol icons because they didn't make sense.

16.7.0 - 2020-01-31

Added

  • The arrow-up and arrow-down icons.

16.6.0 - 2020-01-31

Added

  • The analytics, analytics-ol, calendar-star, clock, coin, coin-ol, copy, envelope, gear-wrench, invitation, megaphone, megaphone-ol, target, and user icons.

16.5.0 - 2020-01-27

Added

  • Allow passing additional HTML attributes through to the Form component.

16.4.0 - 2020-01-08

Added

  • Support the disabled prop on the Checkmark component.
  • Support the disabled prop on the BooleanField component.
  • Support the autoFocus prop on the Checkmark component.
  • Support the autoFocus prop on the BooleanField component.
  • Support the disabled prop on the CentsField component.
  • Support the disabled prop on the DateTimeField component.
  • Support the disabled prop on the FileField component.
  • Support the disabled prop on the RadioField component.
  • Support the disabled prop on the TextField component.
  • Support the disabled prop on the SelectField component.
  • The Dropdown component.

Changed

  • The value of the SelectField checkmark in the CSS from to \2713 to make it more cross-browser compliant.
  • The Button component is now a forwardRef.

16.3.0 - 2020-01-07

Added

  • The useForm hook is now exported.

Changed

  • When the options prop changes on a SelectField with multiple set to false, previously it was automatically performing the fuzzy filter on the options, which resulted in not all of the options being displayed. This is the correct behavior if the dropdown is open, but if it's closed we want to display all of the options.

16.2.1 - 2019-12-20

Changed

  • Update the TypeScript types for the PlainButton component to allow more props by changing it to accept everything in React.ButtonHTMLAttributes<HTMLButtonElement>.

16.2.0 - 2019-12-10

Added

  • The info icon.

16.1.1 - 2019-12-09

Changed

  • Fixed bug where the value prop (external to the form context) would change on the SelectField but the display wouldn't be updated to match.

16.1.0 - 2019-11-12

Changed

  • Changed all of the React.HTMLAttributes<HTMLInputElement> to React.InputHTMLAttributes<HTMLInputElement> to allow for the extra attributes that come with input elements. This impacts the TypeScript definitions for CentsField, EmailField, FileField, ImageField, NumberField, PasswordField, and StringField.

16.0.2 - 2019-11-08

Changed

  • Update the timezones.json file.

16.0.1 - 2019-09-25

Changed

  • Ensure main.css is part of the packaged bundle.

16.0.0 - 2019-09-25

Added

  • Started using TypeScript, now shipping types with the package dist.

Changed

  • The .chq-tsl--op-act class over to .chq-tsl--op[aria-current='true'] to be more consistent and more accessible.

Removed

  • Remove setAppElement from static on Modal and ModalDialog in favor of the appElement prop on Confirm, ConfirmDelete, Modal, and ModalDialog. Defaults to document.body.
  • The ability to specify the tag prop for the DoorEffect component.

15.0.1 - 2019-08-28

Changed

  • Fix up a bug with the Calendar component where the visible month would not change when the month was January.

15.0.0 - 2019-08-14

Changed

  • Use aria-current instead of a custom class for indicating current tab in the Subnav component.
  • Use aria-hidden instead of a custom class for indicating whether or not the Nav component is visible.
  • Use aria-hidden instead of a custom class for indicating whether or not to display the Spinner component within a Loader component.
  • Use role=progressbar and aria-value* attributes for the ImageField progressbar.
  • The CheerButton component now uses hooks instead of being a class component.
  • The Nav component now uses hooks instead of being a class component.
  • The Pagination individual pages now use aria-current instead of a custom class for indicating whether or not the page is the current page.

14.0.0 - 2019-08-12

Changed

  • Clear selection timeout when SelectField is unmounted so it doesn't leak memory.
  • The peer dependency for react and react-dom has been bumped to 16.9.

13.4.0 - 2019-07-30

Added

  • The ability to switch the component type of the Button component with the as prop.

13.3.0 - 2019-07-17

Added

  • The ability to switch the component type of the Thumbnail component with the as prop.

13.2.0 - 2019-06-24

Changed

  • Made Checkmark into a function instead of a class component.
  • Added the aria-hidden and role="presentation" props to the Icon svg element.
  • Forwarded on remaining props to the Panel component's div.

13.1.0 - 2019-06-21

Added

  • The view-grid and view-list icons.

Changed

  • Don't attempt to use URL.revokeObjectURL if the preview for the image is null. (This isn't actually a problem, but IE11 throws a warning.)

13.0.0 - 2019-06-18

Changed

  • Change the Calendar component to deal directly with year, month, and day props such that it isn't impacted by timezones.
  • [INTERNAL] Switch to using @testing-library/react for tests instead of enzyme.

12.8.4 - 2019-06-14

Changed

  • When the options prop on SelectField is updated on a select with multiple = false, make sure to update the display in the text field so that the value is displayed before the dropdown is clicked.

12.8.3 - 2019-06-14

Changed

  • When the options prop on SelectField is updated, make sure to update the filtered options so that the first render of the dropdown is populated.

12.8.2 - 2019-06-12

Changed

  • Don't use background: inherit as that doesn't really work on IE11. Instead use background: transparent.

12.8.1 - 2019-06-11

Changed

  • Disallow pointer events on the SVG inside the Badge component so that onClick handlers function properly.

12.8.0 - 2019-06-11

Changed

  • Pass along any extra props to the Badge component.

12.7.0 - 2019-06-07

Added

  • The rings icon.

12.6.0 - 2019-06-07

Added

  • The kabob icon.

12.5.0 - 2019-06-07

Added

  • The lightbulb icon.

12.4.5 - 2019-06-07

Changed

  • Use the prepublishOnly npm script so that the dist directory does not need to be checked in.

12.4.4 - 2019-06-05

Changed

  • Fix up Grid component spacing on IE 11 because it doesn't respect box-sizing: border-box when implementing flex-basis.

12.4.3 - 2019-06-05

Changed

  • Remove usage of array destructuring so that clients don't have to have polyfilled Symbol.iterator.

12.4.2 - 2019-05-06

Changed

  • Control select-multi placeholder manually since it gets cut off from within the input.

12.4.1 - 2019-04-29

Changed

  • Fix up broken build.

12.4.0 - 2019-04-29

Added

  • The slides icon.

Changed

  • Switched to using @culturehq/scripts for development.

12.3.4 - 2019-04-02

Changed

  • Update the hammer icon to be a cross with a wrench.

12.3.3 - 2019-04-01

Changed

  • Fix up previously incorrect package version.

12.3.2 - 2019-04-01

Changed

  • Update timezones to latest.

12.3.1 - 2019-03-28

Changed

  • Fixed bug with FileField not properly using Form values.
  • Added aria-label to Calendar month navigation buttons.
  • Defaulted the currentPage prop on the Pagination component to 1.

12.3.0 - 2019-03-26

Added

  • For confirmation modals, the primary action should be auto-focused.

12.2.0 - 2019-03-18

Added

  • The rss icon.

12.1.3 - 2019-03-12

Changed

  • Rebuild missing dist files. Double yikes.

12.1.2 - 2019-03-12

Changed

  • Updated the timezone offsets for DST. Yikes.

12.1.1 - 2019-03-11

Changed

  • Rebuild missing dist files.

12.1.0 - 2019-03-11

Added

  • The fillParent optional prop to the Button component to make it full width.

12.0.0 - 2019-03-08

Changed

  • Fixed a bug where pixel rounding widths within the Grid.Item component were causing wrapping when they shouldn't have.

Removed

  • The spacing prop from the Grid component (just defaulting to 16px distance between until we need another option).

11.7.0 - 2019-02-20

Added

  • The hammer and refresh icons.

11.6.4 - 2019-01-29

Changed

  • Fixing badly built package.

11.6.3 - 2019-01-29

Changed

  • Remove the onChange listener accidentally added to the RadioField fieldset tag.

11.6.2 - 2019-01-29

Changed

  • Reinforce radio styles.

11.6.1 - 2019-01-28

Added

  • Fixed up the RadioField export.

11.6.0 - 2019-01-28

Added

  • The RadioField component.

11.5.1 - 2019-01-25

Changed

  • Fixed up the cents field multiplying by 100.

11.5.0 - 2019-01-18

Added

  • Reduce rendering time by not showing confetti when Cheer is not set to pop.

11.4.0 - 2018-12-28

Added

  • Support forwarding props on to the ClickClose component.

11.3.0 - 2018-12-28

Added

  • Support the autoComplete property on the SearchBar component.

11.2.1 - 2018-12-28

Changed

  • Recompute offsets for tooltip when the tip changes.

11.2.0 - 2018-12-28

Added

  • The tags icon.

11.1.2 - 2018-12-23

Changed

  • Fix up dist file naming.

11.1.1 - 2018-12-23

Changed

  • Update the list of timezones.

11.1.0 - 2018-12-23

Added

  • The Grid component.

11.0.1 - 2018-12-18

Changed

  • Fixed up the date parsing for Safari in the DateTimeSelect.

11.0.0 - 2018-12-11

Added

  • Export the withForm HOC for accessing form data from external components.

Removed

  • The MultiImageField component.

10.1.0 - 2018-12-11

Added

  • Support for drag and drop on the ImageField component.

Changed

  • The DateTimeField display now uses the full month name.

10.0.0 - 2018-12-11

Changed

  • The Calendar component onChange signature has changed to onChange(year, month, day). This makes more sense when working with a calendar because it shouldn't be returning a date that is linked to a specific time zone.
  • The DateTimeField now properly handles previous years and subsequent years when clicking from December or January.

9.0.0 - 2018-12-06

Changed

  • Make cropperjs and react-modal dependencies instead of just peer dependencies.

8.1.0 - 2018-12-06

Added

  • The ability to set the throttle prop on the SearchBar component to null to allow immediate searches.

8.0.1 - 2018-12-05

Removed

  • Unnecessary files in the dist directory

8.0.0 - 2018-12-05

Added

  • The onOffsetChange function to the TimezoneField component.

Removed

  • [BREAKING] The getTimezoneOffset function.

7.3.1 - 2018-11-30

Changed

  • Added a slight margin top and bottom on the badge component.

7.3.0 - 2018-11-24

Added

  • The getTimezoneOffset function.

7.2.1 - 2018-11-23

Added

  • Export the TimezoneField component from the main index file.

7.2.0 - 2018-11-23

Added

  • Support placeholder on SelectField components.
  • The TimezoneField component.

7.1.0 - 2018-11-23

Added

  • Support required and validator on ImageField components.

7.0.2 - 2018-11-22

Changed

  • Allow SelectField to work when required with falsy values.

7.0.1 - 2018-11-22

Changed

  • Fix up display for select fields.

7.0.0 - 2018-11-22

Changed

  • Potentially breaking: change Form component to use React's context in order to allow form fields to be multiple levels deep.

6.2.2 - 2018-11-20

Changed

  • Allow SelectField to work if the initial value given is not contained in the passed options.

6.2.1 - 2018-11-20

Changed

  • Allow SelectField to work with falsy values on initial render.

6.2.0 - 2018-11-20

Changed

  • Properly support required and validator on SelectField.
  • Don't break when SelectField multiple value is set and there is no initial value.

6.1.0 - 2018-11-16

Added

  • The optional aspectRatio prop to ImageEditor, ImageField, and MultiImageField.

6.0.0 - 2018-11-15

Changed

  • Various style modifications needed found from usage.

Removed

  • [BREAKING] The CheerList component because it was overly complicated, unused, and bloating the package size.

5.2.0 - 2018-11-15

Added

  • The diagram, heart-ol, and loc-ol icons.

5.1.1 - 2018-11-14

Changed

  • Some simple style fixes for Firefox to align with Chrome.

5.1.0 - 2018-11-13

Added

  • The ability to specify the tag type of the DoorEffect component.

5.0.0 - 2018-11-13

Added

  • The limitWidth prop on the Panel component for enforcing a max width.
  • The DoorEffect component.
  • The optional icon prop on the Badge component.
  • The optional autoFocus prop on the FileField, ImageField, and MultiImageField components.
  • The SearchBar component.

Changed

  • [BREAKING] A couple of the class names have been modified within forms, and it could potentially break the look of things. Therefore, making this a major version bump to stick to semver.

4.1.0 - 2018-11-10

Added

  • The onClose callback to the Modal component.

4.0.0 - 2018-11-08

Changed

  • [BREAKING] No longer explicitly requiring the styles for the package. This was never intended to be required, but here we are. Making this a major version bump in case this breaks styles.

3.19.0 - 2018-11-08

Added

  • The autoFocus prop to EmailField, NumberField, PasswordField, StringField, SelectField, and TextField.

3.18.0 - 2018-11-07

Added

  • The MultiImageField component.
  • The ActionButton component.

3.17.1 - 2018-11-06

Changed

  • No longer auto rotating image previews in mobile Safari because it reads EXIF data automatically.

3.17.0 - 2018-11-06

Added

  • Expose the ImagePreview component.

Changed

  • Enforce max width and height.

3.16.2 - 2018-11-06

Changed

  • Fixed the auto rotation when reading images.

3.16.1 - 2018-11-05

Added

  • Correctly rotate JPG images in upload preview.

3.16.0 - 2018-10-30

Added

  • The ClickClose component.

3.15.1 - 2018-10-25

Changed

  • Fixed the missing locales.json file.

3.15.0 - 2018-10-24

Added

  • The DateTimeField component.
  • The Calendar component.

3.14.1 - 2018-10-17

Changed

  • Ensure URL.revokeObjectURL is called so we don't leak memory when allocating object URLs from within the ImageField component.
  • Allow an initial value to be passed to an image field.

3.14.0 - 2018-10-16

Added

  • The TextField component.

Removed

  • The ability to submit the image editor with the enter key. Mostly because it was super annoying.

3.13.0 - 2018-10-12

Added

  • The ImageField component.
  • The ImageEditor component.

Changed

  • Made the Table component have a margin on top as well.

3.12.0 - 2018-10-11

Added

  • The Table component.
  • The SelectField component.

3.11.4 - 2018-10-09

Changed

  • Fixed the max-width on modal dialogs when on a small screen.
  • Fixed Safari bug where tooltip bubbles would stick around.

3.11.3 - 2018-10-07

Changed

  • Fix up form errors when components are not part of the form library.

3.11.2 - 2018-10-04

Changed

  • Set the cursor to pointer on the file upload button.

3.11.1 - 2018-10-04

Changed

  • Removed the duplicated style declarations.

3.11.0 - 2018-10-01

Added

  • The ol and ul icons.

3.10.0 - 2018-09-26

Added

  • The contentRef prop on ModalDialog to pass on to react-modal.
  • The contentRef prop on Confirm modals to pass on to the nested ModalDialog.
  • The onOpen callback for Confirm modals.
  • The submit() member function on Form components.

Changed

  • The onSubmit of a Form component no longer needs to return a Promise.

3.9.1 - 2018-09-19

Changed

  • Catch import errors from Icon.

3.9.0 - 2018-09-19

Added

  • The ConfirmDelete component for setting some simple defaults for a Confirm that represents a delete action.

3.8.1 - 2018-09-19

Changed

  • Force remove the bottom padding of hr tags in modal headers.

3.8.0 - 2018-09-19

Added

  • The ModalDialog component (and a peer dependency on react-modal as a result).
  • The Modal component for wrapping a ModalDialog with open/closed state.
  • The Confirm component for confirming a user action with a dialog.
  • The optional danger prop on buttons to indicate a dangerous action.

Changed

  • Fixed up the tooltips display on top of cheers.

3.7.1 - 2018-09-18

Changed

  • Changed the display of the Tooltip component to be inline-table as opposed to inline-block so it won't collapse around the text.

3.7.0 - 2018-09-18

Added

  • The optional small prop to CheerButton and Cheer to allow for smaller cheers (used for comments).

3.6.1 - 2018-09-18

Changed

  • Fixed up non-spec border: none to be border: 0 for the PlainButton component.

3.6.0 - 2018-09-18

Added

  • The PlainButton component.

3.5.0 - 2018-09-14

Added

  • The Cheer component.
  • The CheerButton component.
  • The Tooltip component.
  • The CheerList component.

3.4.0 - 2018-09-13

Changed

  • Made consistent the font weights of the panel headings and the panel bodies as they currently are on the product (normal weight on primary headings and light weight on bodies).
  • The display of the Spinner component now looks consistent with the Circles component.

3.3.0 - 2018-09-13

Added

  • The optional primary boolean prop to the Panel.Heading component, in order to delineate panels that should be highlighted.

3.2.1 - 2018-09-05

Changed

  • Slightly change the UI of the FileField component by adding a Choose file(s)... prompt.

3.2.0 - 2018-09-05

Added

  • The FileField component.
  • The Panel.LoaderBody subcomponent, for when the body is still being loaded.

Changed

  • Increased the z-index in the Nav component to have it hide the content below it.
  • Improve a11y by adding an aria-label to the Hamburger button.
  • Don't bother hiding error when form fields are focused, as it causes too much blinking and confusion.
  • Properly handle when the value for required or validator changes on form fields.

3.1.0 - 2018-08-29

Added

  • The BooleanField component.
  • The ability to use children within a Checkmark component.

3.0.2 - 2018-08-29

Changed

  • Enforce a normal font weight over the entire label within forms.

3.0.1 - 2018-08-29

Changed

  • Enforce a normal font weight for labels within forms.
  • Remove the required attribute from form fields since we're handling it ourselves.

3.0.0 - 2018-08-28

Added

  • The SubmitButton component, used within Form components.
  • The ability to set a validator prop on form fields that should either return an error message string or null.

Changed

  • All of the form fields no longer track the value in state, they rely on being controlled components.
  • The value of the label for form fields is now set using children.
  • Form components now fully take over the onChange value of various form fields and use it to track state.

2.3.0 - 2018-08-21

Added

  • The ability to set initialValues on a Form component.

2.2.0 - 2018-08-21

Added

  • The Spinner component.
  • The Loader component.
  • The Panel component.
  • The EmailField, NumberField, StringField, and PasswordField components.
  • The Form component.
  • The CentsField component.

Changed

  • Renamed animations to be consistent with naming style throughout the rest of the component library e.g., chqSpin.
  • The Nav component now displays on scroll if the previous scroll position was zero. This fixes the behavior of hiding the nav when the page first loads.

2.1.1 - 2018-07-31

Changed

  • The main color on the Pagination component to be the primary blue instead of the weird other blue.

2.1.0 - 2018-07-31

Added

  • The Pagination component.

2.0.2 - 2018-07-30

Changed

  • Added the new "checked" value to the callback for the Checkmark component.

2.0.1 - 2018-07-27

Changed

  • Package names can't have capital letters anymore: "@culturehq/components".

2.0.0 - 2018-07-27

Added

  • A ton of documentation to the README.

Changed

  • The package name from "culturehq-components" to "@CultureHQ/components".

Removed

  • The ability to pass arbitrary props beyond normally expected ones such as className or onClick.

1.6.0 - 2018-07-27

Added

  • The Checklist component.
  • The Checkmark component.

1.5.0 - 2018-07-26

Added

  • The pin icon.
  • The pin-outline icon.

1.4.1 - 2018-07-23

Changed

  • Scale down the checklist and calendar-filled icons by 20%.

1.4.0 - 2018-07-23

Added

  • The checklist icon.
  • The calendar-filled icon.

Changed

  • The thumbsup icon to be fully filled.
  • The thumbsdown icon to reflect the thumbsup icon.

1.3.0 - 2018-07-18

Changed

  • Don't use webpack to build the final release, just use babel.

1.2.0 - 2018-07-13

Added

  • The Hamburger component.

1.1.1 - 2018-07-12

Changed

  • Fixed the className prop overriding other classes on the Nav component.

1.1.0 - 2018-07-12

Added

  • The Nav component.
  • sass-lint to the build pipeline.

Changed

  • Removed outlines from the Badge component.

1.0.3 - 2018-07-10

Changed

  • Allow Subnav to function as a controller component properly.

1.0.2 - 2018-07-10

Changed

  • Added explicit rules for the Subnav.Item component's hover.

1.0.1 - 2018-07-10

Changed

  • Made the Badge component use a 1em font-size instead of 1rem.

1.0.0 - 2018-07-09

Changed

  • Removed the styled-components dependency in favor of using the sass-loader from webpack.

0.1.0 - 2018-07-03

Added

  • The Badge component.

0.0.16 - 2018-07-02

Added

  • The optional square prop on the Thumbnail component for turning off rounded borders.

0.0.15 - 2018-06-25

Added

  • The FeedItem component.

0.0.14 - 2018-06-25

Added

  • The trophy-cup icon.

0.0.13 - 2018-06-25

Added

  • The calendar-add, calendar-check, calendar-clock, calendar-date, calendar-gear, feedback, image-add, people, person-check, thumbsup-outline, and trophy-star icons.

0.0.12 - 2018-06-25

Removed

  • The unnecessary example.js file from the distribution directory by properly using webpack dev and prod builds.

0.0.11 - 2018-06-25

Changed

  • Readded the dynamic import of the icons.json file.

0.0.10 - 2018-06-25

Changed

  • Simplified the Subnav component, assuming everything functions off the onChange prop.

0.0.9 - 2018-06-23

Changed

  • Enforce text-decoration and color on hover of the Subnav.Item component.

0.0.8 - 2018-06-23

Added

  • The Subnav component.

0.0.7 - 2018-06-22

Added

  • The Button component.
  • The optional size prop to the Thumbnail component.

Changed

  • Removed the dynamic import of the icons.json file since it's so much smaller now.

0.0.6 - 2018-06-19

Changed

  • The font color on the Info component to use the primary font color.

0.0.5 - 2018-06-19

Added

  • eslint and the corresponding yarn lint command.
  • prettier and the corresponding yarn prettier command.

Changed

  • Pass on any extra props to the root in each display component (allows things like passing className as a prop).

0.0.4 - 2018-06-18

Added

  • The Icon component, as well as the dev libraries needed to support dynamic import in webpack.
  • The Tag component.
  • The Thumbnail component.

0.0.3 - 2018-06-15

Changed

  • Explicitly add the styled-components dependency.

0.0.2 - 2018-06-15

Added

  • The Info component.
  • The Success component.

0.0.1 - 2018-06-15

Added

  • Initial checkin.
  • The Warning component.