Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Latest commit

 

History

History
763 lines (668 loc) · 30.3 KB

CHANGELOG.md

File metadata and controls

763 lines (668 loc) · 30.3 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.

2.4.1 - 2023-09-28

Fixed

  • Focus and active styles into Button pro-secondary. #194

2.4.0 - 2023-09-28

Added

  • New variant into Button component

2.3.1 - 2023-09-27

Fixed

  • Styles component Toast.

2.3.0 - 2023-09-19

Added

  • multiple prop to Select component

2.2.1 - 2023-09-08

Fixed

  • Export Toast component into index.js to use it

2.2.0 - 2023-09-07

Added

  • New component Toast.

2.0.1 - 2023-08-22

Fixed

  • Downgrade the @phosphor-icons/react version to 2.0.9 because 2.0.10 is not compatible with ES Modules.

2.0.0 - 2023-08-01

Added

  • Field component now accepts a boolean property counter to display a counter in the right bottom corner.
  • Input component now accepts an icon property to display an icon in the right side.
  • Input component now accepts a counter property to display a letters counter.
  • SegmentButton component has been added to be included in the Segment component.
  • More focus css variables are available.
  • debounce function is available as util.

Changed

  • BREAKING CHANGES ❗️❗️
  • Segment component now only accepts SegmentButton components as children.
  • ButtonIcon component now doesn't accept children. It now accepts a icon property to pass the name of the Icon <ButtonIcon icon="home" />, or to pass an svg directly <ButtonIcon icon={<Icon name="clock" />} /> ("Icon" is a component that renders an svg).
  • ButtonIcon changed its class to ola_button_icon (instead ola_buttonIcon)
  • Table COMPLETELY CHANGES its implementation. See new component documentation.
  • ola-skeleton is-loading has style changes, such as width, height, border-radius or color, that may introduce visual modifications to your project if you are using it.
  • Field, Input, Segment, Select and ButtonIcon has style changes that may introduce visual modifications to your project if you are using it.

Fixed

  • Fix sizes of the left icon of SearchField component

1.0.0 - 2023-06-21

Changed

  • BREAKING CHANGES ❗️❗️
  • Change all css tokens
  • Change css utils classes

0.16.1 - 2023-06-09

Changed

  • Add extra className into Field component.

0.16.0 - 2023-05-05

Added

  • Docs for css variables

Changed

  • Improve utils docs

0.15.10 - 2023-03-17

Changed

  • Add onRemove prop into SearchField component.

0.15.9 - 2023-02-09

Added

  • Clear input into SearchField component.

0.15.8 - 2023-01-23

Added Edit to Icon component

Added

  • Added informationCircle to Icon component

0.15.7 - 2022-12-21

Fixed

  • Avoid division by zero into ChartLineAxis component #238

0.15.6 - 2022-09-19

Added

  • Added informationCircle to Icon component

0.15.5 - 2022-09-08

Added

  • Added analytics to Icon component

0.15.4 - 2022-02-23

Changed

  • Update icon prop into Buttoncomponent. #233

0.15.3 - 2022-01-27

Changed

  • Exposing ref at Check component.
  • Exposing ref at Select component.

0.15.2 - 2022-01-27

Changed

  • Updated Input component.

0.15.1 - 2021-12-01

Changed

  • Updated Score component. #230

0.15.0 - 2021-11-29

Added

  • Added Copy icon.

0.14.5 - 2021-11-05

Fixed

  • Fixed text spacing into Score component #229.

0.14.3 - 2021-10-08

Fixed

  • Fixed onError functionality into Thumbnail component #226.

0.14.2 - 2021-10-04

Fixed

  • Fixed some styles of Chartline #224.

0.14.0 - 2021-09-27

Added

  • Updated CSS variables for colors.
  • New Carousel component #220.
  • New Icon add #221.
  • New helpers ola-margin-top-4 and ola-margin-bottom-4.
  • Improved ChartLine #225.
    • Added Tooltips
    • Removed gray gradient
    • Added footers
  • Property progress to Button.
  • Property action to SectionHeader #224.

Changed

  • Button colors to match the latest changes in Ola.
  • Button of variant link has a height: auto.
  • Improved some styles of Table #222.

Fixed

  • Thumbnail component with fixed height.
  • Removed 1fr size to auto rows of ly-main.

0.13.4 - 2021-09-06

Changed

  • No changes, just publish new version.

0.13.3 - 2021-09-06

Changed

  • Add importat into ola-bg class to ensures that it is always applied.
  • Export getNumberFormat function into index.js.

0.13.2 - 2021-09-03

Changed

  • Prefix new layouts with ola_ly.
  • Restore ly_pageCenter removed accidentally in the previous version.

0.13.1 - 2021-09-03

Added

  • New standar layouts: ly-hightlight,ly-main, ly-section

Changed

  • Refactor getNumberFormat function.

0.13.0 - 2021-09-02

Added

  • New color variable --gray-xxlight.
  • Changed color variable --gray-xlight to be a bit more darker.
  • Number formatting helper called getNumberFormat.
  • Format prop into ChartLineAxis to return value number.

Changed

  • The element Page with long titles show ellipsis.

0.12.9 - 2021-06-16

Added

  • New color variables and renamed some others

0.12.8 - 2021-06-16

Added

  • New helper .ola-bg-hover.

Fixed

  • The icon of Issue for the status pending should be white when it's on a gray background.

0.12.7 - 2021-06-08

Added

  • New icon site

0.12.6 - 2021-05-31

Fixed

  • The Button size in Segment component.
  • The Button color in Tag component.

0.12.5 - 2021-05-28

Added

  • New multiline property to Button to wrap the text in multiple lines instead using ellipsis.
  • Restored ola-bg helper that not only apply a gray-xlight background to the element, but also override the inner gray-xlight variable with the new gray-xlight-dark color (a darker value).

Fixed

  • Level component Page with the new Level icon that is wider.

0.12.4 - 2021-05-25

Fixed

  • Level component with size=xbig.
  • Replaced wrong clock svg for Icon component.

0.12.2 - 2021-05-25

Changed

  • Add link icon component

0.12.1 - 2021-05-24

Changed

  • Replaced icon clock for Icon component

0.12.0 - 2021-05-20

Changed

  • Component Tooltip has hover property trigger now #201

0.11.0 - 2021-05-13

Changed

  • The Level component now has 4 levels #198

0.10.0 - 2021-05-07

Added

  • Support for indeterminate state to ProgressBar #181
  • New component Thumbnail #180, #182
  • New property size to MenuOption with small and medium values #178 #179
  • New component ChartLineAxis to insert a lateral axis
  • New property rule for ChartLine and ChartColumn to add an horizontal rule (for example, for average).
  • New css variable --size-13
  • New css variables for colors for illustrations and charts (--pict-* and --chart-*)
  • Helpers normalizeRange and getRanges to work with data values for ChartColumn and ChartLine
  • New component SpeedMeter #186
  • New component Tabs #187
  • Add chevron icon to dropdown issue component #188
  • New component Device#194
  • New component Keyword#197

Changed

  • The ChartLine component accepts multiple values to multiple lines. #177
  • The css variable --max-width has changed to --size-13 (1036px, previously it was 1200px)
  • Segment styles

Fixed

  • Fixed buttonIcon size in TableCell with the variant action.
  • Fixed buttonIcon border-radius in a Tag.
  • The gray background gradient of ChartLine was too dark.

0.9.1 - 2021-02-05

Added

  • Property className to ChartColumn
  • Property status to ChartColumnValue to allow to set empty states and loading states
  • A small transition on change the values of a ChartColumnValue

Fixed

  • Changed the icon of links in TreeList. Use an arrow instead a chevron.

0.9.0 - 2021-01-21

Added

  • New component Kpi
  • New component Score #164
  • New components Issue and IssueDropDown #162 #161
  • The layout ly-columns allows to customize the column-width and column-gap with the --column-width and --gap variables
  • The layout ly-imgContent allows to customize the image-width and gap with the --image-width and --gap variables. Added also the .is-responsive modifier for narrow screens.
  • New layout ly-1nColumns implementing the "Holy albatross" pattern.
  • New prop status, className and ..props to Page component
  • New prop status to Icon component #165
  • New .ola-skeleton util
  • New --row-gap-4 variable for bigger row spacing
  • New component ChartColumn, including the subcomponent ChartColumnValue #167 #168
  • New component Segment #171 #172
  • New property size to the component Level #169 #170
  • New icons based in WordPress:
    • post
    • staticPage

Changed

  • ButtonIcon appearance inside a Tag component.

Fixed

  • Reduced the width of the .ola_section-intro element
  • MenuOption with href is not converted to <a> element
  • Tooltip button inside a ButtonGroup should be responsive
  • Tooltip position when is centered in narrow screens
  • Prevent multiple lines and use text-overflow: ellipsis for the urls in the Page component, and allow 2 lines max for the title.

0.8.0 - 2020-09-29

Added

  • New component Section #150, #151 including some subcomponents:
    • SectionHeader
    • SectionContent
    • SectionSubheader
    • SectionFooter
  • New prop description to ProgressCircle #145, #146
  • New prop icon to Button #133, #144
  • New icon NewWindow #133, #144
  • New props variant and selected to MenuOption #149
  • New layout ly-asideMenu #148
  • New layout ly-asideHeader
  • New helpers ola-width-narrow and ola-width-medium
  • New variant full-list to CheckGroup to remove scroll and max-height
  • New props open and close to Tooltip #152 #153

Fixed

  • Field component can have multiple child elements #154 #155
  • Modal must restore the scroll on unmount #156 #157
  • Apply separation gap to any element in a ButtonGroup, instead only to Button.
  • ProgressCircle component display 0 as description when the value is 0.

0.7.0 - 2020-07-08

Added

  • Padding top and bottom to PanelContent when it's the first/last child.
  • New helpers:
    • .ola-nomargin-top
    • .ola-nomargin-bottom
    • .ola-margin-top-1
    • .ola-margin-top-2
    • .ola-margin-top-3
    • .ola-margin-bottom-1
    • .ola-margin-bottom-2
    • .ola-margin-bottom-3
    • .ola-margin-left-1
    • .ola-margin-left-2
    • .ola-margin-left-3
    • .ola-margin-right-1
    • .ola-margin-right-2
    • .ola-margin-right-3

Changed

  • Font sizes in narrow screens (mobile) are smaller #135 #136
  • The Modal component blocks the document scroll while it's open #140
  • Changed some variables in buttons component to ease the theme customization

Fixed

  • ola_ly-* styles using --column-gap-* and --row-gap-* variables instead fixed sizes.
  • Cropped shadow of focused buttons in tables #132
  • Border radius of PanelFooter when is not the last child #137
  • Updated some devDependencies.

0.6.0 - 2020-05-21

Added

  • New variant fullwidth-scroll to ModalContent #112
  • New variant narrow to Modal
  • New variant multiline to TableCell
  • Improvements in SearchField #119, #120, #121:
    • Added disabled prop
    • Added description prop
    • Added the search icon at the left
    • Moved the spinner of busy state to the left.
  • New css helper .ola-black-bolds
  • className property to PanelFooter
  • New prop size to Tag component with three sizes: small, medium and big #130
  • Added the variable --ola-version to see the version of Ola used currently in any project.

Changed

  • Styles of TableCell with variant action for more clearness and fix issues in Safari.
  • The label text of Check component is gray-light on disabled state #129

Removed

  • The css variable --inner-gap

Fixed

  • Background of TableCell in a TableRow with is-selectable class.
  • Paddings and alignments in tables.
  • PanelFooter and ModalFooter with multiple elements (not only ButtonGroup)
  • Improved position calculation of the Tooltip within a scrollable element #109, #110
  • Fixed big images overflow in TaskBody.
  • Refactored the css code for padding/margin/gaps using the new css variables --row-gap-1, --row-gap-2, --row-gap-3, --column-gap-1, --column-gap-2, --column-gap-3, and improved the responsiveness.
  • Added styles for disabled state to Check.
  • Allow to override the default text style of the Check label
  • Color conflicts of ButtonIcon inside a Tagcomponent #123
  • Border issue in TableCell with variant action #122
  • Overflow long words in Chrome #126
  • ButtonGroup with variant center inside PanelFooter and ModalFooter
  • Fixed Tag overflow issues and used <strong> instead <span>
  • Changed the label of Check components to gray-light on disabled state #129
  • Removed cursor pointer style to label (applied by Wordpress) #129
  • Sometimes the Tooltip changes the heigh of the flex container on open.
  • Set letter-spacing to 0 in the tags, preventing inherited values.

0.5.0 - 2020-04-07

Added

  • New icon plus #90
  • New icons arrowUp and arrowDown #98
  • Variants to ButtonIcon (primary, secondary, destructive, chevron) #89, #92
  • disabled and busy states to ButtonIcon #94
  • The TableCell variant=action is sticky to right, to ensure it's always visible
  • New property error to CheckGroup #77, #104
  • New Menu component #105

Changed

  • Renamed the property extraClass of all components to className #27, #103
  • Removed scroll in the ModalContent component and added a scroll variant to enable it #106
  • Added cursor pointer to some interactive components like Button, ButtonIcon, Check, Accordion and MenuOption

Removed

  • emptyOption prop in Select component #96 #71

Fixed

  • Component Tooltip in a Table was not showing properly #93
  • Styles of <ol> elements in Task #97
  • Removed wavy text decoration style of links because looks buggy
  • Improved Table styles to be no required to add <th> to all columns.
  • Modal: The close button conflicts with the extra content of the header

0.4.0 - 2020-03-06

Added

  • Property extraClass to Switch, ModalHeader, PanelHeader.
  • Field: Added support for html in description and hint properties. #67
  • New component Tooltip #72
  • New icon Null #83, #86
  • Added responsive prop to Table component #99, #100

Changed

  • Switch: Removed label and htmlLabel properties. Use children to define the label content #28
  • ProgressBar: Removed description and htmlDescription properties. Use children to define the description #28
  • The signature of TableCell component has changed. See #37 and #65 for more info.
  • ModalHeader: Removed the properties htmlTitle and htmlIntro. The props title and intro accept strings and nodes as values #28
  • PanelHeader: Removed the properties htmlTitle and htmlIntro. The props title and intro accept strings and nodes as values #28
  • PanelContent: Removed the property htmlTitle. The prop title accepts strings and nodes as values #28
  • Metric: Removed the property htmlFooter. The prop footer accepts strings and nodes as values #28
  • Task: Removed the property htmlTitle. The prop title accepts strings and nodes as values #28
  • PanelContent: Removed de wrapper div, the component returns a fragment and the extraClass is applied directly to .ola_panel-content #11, #70
  • Modal component was changed to use the native <dialog> element #74, #75

Removed

  • FieldDescription component. Now you can use html in the description property of Field #67

Fixed

  • Removed display:flex to Check areas.
  • Decrease padding in Check areas in columns.
  • Check with variant "option" should be bold on checked #68
  • Disabled buttons styles
  • Lot of css details like spacing in the modal, buttons status colors, etc.

0.3.0 - 2019-12-19

Added

  • New component Accordion
  • Property extraClass to Check
  • Property variant to Check
  • Property label to ProgressCircle

Changed

  • CheckGroup component is now a container with no logic. It accepts three variants: row, column and list.
  • The children property of Check component is not required.

Removed

  • CheckArea component. Use CheckGroup with column or row variant.

Fixed

  • Added styles for <hr>
  • Fonts utils (.ola-headline, .ola-body, .ola-callout, .ola-caption) are now bold if they are applied to hx, strong or bold.
  • Default styles for task content #54
  • Improved Check label styles
  • Improved CheckArea styles #56
  • Fixed .ola_ly-pageCenter aligment in narrow screens.
  • Fixed width, colors and cursor of Select in WordPress.
  • Fixed cursor label cursor in WordPress.
  • Fixed color of the task titles (from --brand to --black)
  • Do not include test.js and stories.js files in dist

0.2.2 - 2019-11-27

Fixed

  • The publish of the previous version

0.2.1 - 2019-11-27

Added

  • New css util .ola-nomargin to remove all default margins of an element
  • New css util .ola-bold to assing bold font-weight to an element
  • New css variables --accent, --accent-dark and --accent-focus applied to some elements that may not use the default --brand color #47
  • New css util .ola-accent and .ola-bg-accent to use the accent color

Fixed

  • Fixed changelog for v0.2.0 #44
  • Some focus and hover styles of Task component for usability purposes.
  • Removed white background to the component CheckArea and added to each Check individually #45
  • The name property of Check is not longer "test" #45

0.2.0 - 2019-11-25

Added

  • Component Task: new property extra to place elements next to title #40, #41
  • Component Button: new variant link #30, #36
  • Component ButtonGroup: new variant center #34, #35
  • Layer pageCenter #32
  • CONTRIBUTING.md file #39

Changed

  • The boolean property reversed of ButtonGroup is now a variant (variant="reversed")

Removed

  • Support for React < 16.2. Due the use of fragments, React ^16.2 is required.

0.1.2 - 2019-11-18

Added

  • New component Table #7
  • New component Page #8, #13
  • New component Level #14, #15
  • New layer pageCenter #33
  • New css utils:
    • .ola-right to align text to the right
    • .ola-center to center text
    • .ola-numeric to display numeric values aligned to right (mainly for tables)
    • Utilities to apply standard colors:
      • .ola-brand
      • .ola-white
      • .ola-black
      • .ola-gray
      • .ola-gray-light
      • .ola-gray-xlight
      • .ola-error
      • .ola-warning
      • .ola-success
      • .ola-pro
    • Utilities to apply standard colors as background:
      • .ola-bg-brand
      • .ola-bg-white
      • .ola-bg-black
      • .ola-bg-gray
      • .ola-bg-gray-light
      • .ola-bg-gray-xlight
      • .ola-bg-error
      • .ola-bg-warning
      • .ola-bg-success
      • .ola-bg-pro
  • Jest and Travis to create and run tests #20, #21
  • The component Button is a link if the href property is defined #12

Changed

  • The dist folder exports the modules as CommonJS format instead ES6

Fixed

  • Improved README adding demo links and browser support info
  • Task component doesn't look properly in Safari #6
  • All components are responsive #16, #17
  • Strict value comparison in CheckArea and CheckGroup #23

0.1.1 - 2019-09-18

Changed

  • Moved the repository from gitlab to github

Fixed

  • Improved README documentation and links #1, #2
  • Added the links to the repository and the homepage to package.json

0.1.0 - 2019-09-17

Added

  • New component Button
  • New component ButtonGroup
  • New component ButtonIcon
  • New component Check
  • New component CheckArea
  • New component CheckGroup
  • New component Field with subcomponent FieldDescription
  • New component Icon
  • New component Input
  • New component Metric
  • New component Modal with subcomponents ModalContent, ModalFooter and ModalHeader
  • New component Panel with subcomponents PanelContent, PanelHeader and PanelFooter
  • New component ProgressBar
  • New component ProgressCircle
  • New component SearchField
  • New component Select
  • New component Spinner
  • New component Switch
  • New component Tag
  • New component Task with subcomponents TaskBody and TaskFooter
  • New component TaskGroup
  • New css utils:
    • .ola-bg
    • .ola-display
    • .ola-title
    • .ola-headline
    • .ola-body
    • .ola-callout
    • .ola-caption