# @lendi-ui/commons

## 2.13.0

### Minor Changes

- d2a51a81: Reduce TT commons pro font weight

## 2.12.0

### Minor Changes

- 4de0ffb0: Replace TT Commons Pro source

## 2.11.0

### Minor Changes

- a7287abb: LUI-1090 - Align button styles to match design
  - updated tokens with values matching designs
  - updated styles for button to better handle themes and variants
  - removed snapshots for legal component in favour of visual regression testing

### Patch Changes

- 4120e3f5: LUI-1061 added missing Button colour tokens

## 2.10.1

### Patch Changes

- 153b24f0: LUI-910 Remove font smoothing from cssReset utils

## 2.10.0

### Minor Changes

- b3077e93: Simplified getColour() function
- 9c2f01b2: Consolidated tokens from commons to ui package
- a11284ec: LUI-884 Consolidated historical duplicate colors. Shade => Grey, Info => Blue, Success => Green, Warn => Orange

### Patch Changes

- 6f368783: Fixed dependency
- cf7322ec: Converted Commons color to use DesignToken type (rather than string).
- 78a3974a: Refactoring Commons to accept new tokens
- 77b0a045: LUI-864 Consolidated legacy `shade` color, into new `grey`. Maintaining backwards compatibility.

## 2.10.0-beta.1

### Minor Changes

- a11284ec: LUI-884 Consolidated historical duplicate colors. Shade => Grey, Info => Blue, Success => Green, Warn => Orange

## 2.10.0-beta.0

### Minor Changes

- b3077e93: Simplified getColour() function
- 9c2f01b2: Consolidated tokens from commons to ui package

### Patch Changes

- 6f368783: Fixed dependency
- cf7322ec: Converted Commons color to use DesignToken type (rather than string).
- 78a3974a: Refactoring Commons to accept new tokens
- 77b0a045: LUI-864 Consolidated legacy `shade` color, into new `grey`. Maintaining backwards compatibility.

## 2.9.0

### Minor Changes

- f475ec05: LUI-812 - added new utils for converting to rem from pixel and screen reader only css

### Patch Changes

- e999b394: LUI-811 new RichText component
- d32346ff: LUI-777 Simplified getColour function, removed Proxy & Reflct.apply
- 528504fd: LUI-791 Reverted Aussie's Fill Accent to purple.
- 5bc17776: LUI-777 Trying Theme Name via CSS Variables
- 54bd1eac: Add inverse button styles and replace some deprecated theme colours in semantic layer

## 2.9.0-beta.5

### Patch Changes

- e999b394: LUI-811 new RichText component

## 2.9.0-canary.8

### Patch Changes

- f102ab0a: LUI-864 Consolidated legacy `shade` color, into new `grey`. Maintaining backwards compatibility.

## 2.9.0-canary.7

### Patch Changes

- 57a1b22b: Fixed dependency

## 2.9.0-canary.6

### Minor Changes

- 60369f84: Simplified getColour() function

## 2.9.0-canary.5

### Minor Changes

- 55c21ecd: Consolidated tokens from commons to ui package

### Patch Changes

- 1f8b4197: Converted Commons color to use DesignToken type (rather than string).
- dc6119b7: Refactoring Commons to accept new tokens

## 2.9.0-beta.4

### Minor Changes

- f475ec05: LUI-812 - added new utils for converting to rem from pixel and screen reader only css

## 2.8.4-beta.3

### Patch Changes

- 528504fd: LUI-791 Reverted Aussie's Fill Accent to purple.

## 2.8.4-beta.2

### Patch Changes

- 54bd1eac: Add inverse button styles and replace some deprecated theme colours in semantic layer

## 2.8.4-beta.1

### Patch Changes

- d32346ff: LUI-777 Simplified getColour function, removed Proxy & Reflct.apply

## 2.8.4-beta.0

### Patch Changes

- 5bc17776: LUI-777 Trying Theme Name via CSS Variables

## 2.8.3

### Patch Changes

- 6d726955: LUI-671 Adding more semantic colors

## 2.8.3-beta.0

### Patch Changes

- 6d726955: LUI-671 Adding more semantic colors

## 2.8.2

### Patch Changes

- dd7a2bbf: LUI-672 - exported new typography variants from commons

## 2.8.2-beta.0

### Patch Changes

- dd7a2bbf: LUI-672 - exported new typography variants from commons

## 2.8.1

### Patch Changes

- f918d041: LUI-658 Color Semantic: Exporting `selected` for Border

## 2.8.0

### Minor Changes

- 686b96da: LUI-536 Updated Colour Guidelines
- 37bcb398: LUI-536 Correct `getColour()` usage for LUI Now Palette Colours.

## 2.8.0-beta.0

### Minor Changes

- 686b96da: LUI-536 Updated Colour Guidelines
- 37bcb398: LUI-536 Correct `getColour()` usage for LUI Now Palette Colours.

## 2.7.2

### Patch Changes

- ab41d1de: LH-26 Updated LUINext Blue600 to LUINow Secondary500

## 2.7.1

### Patch Changes

- 3c86d5cb: Bugfix LH-20 Disabled Button

## 2.7.0

### Minor Changes

- da0b47cb: LUI-454 Theme Mechanism will now primarily use data attribute to store theme name, still saves to sessionStorage for backwards compatibility

## 2.6.3

### Patch Changes

- f045c651: LUI-496 Adding 2 new Semantics 'text.inverse' and 'fill.contrast'

## 2.6.2

### Patch Changes

- f30d0238: Add missing dependency @capsizecss/metrics

## 2.6.1

### Patch Changes

- e5b164ae: Fixed: lendi legacy theme focus from green to blue

## 2.6.0

### Minor Changes

- b687bfa6: Replaced old capsize package

## 2.5.0

### Minor Changes

- 5230358b: Checkbox is theme-able via LUIProvider
  Added new "selected" state semantic for border and fill

### Patch Changes

- 5230358b: Themed colours rolled out to getFocusRing, added getFocusOutline and getFocusOutlineOffset

## 2.4.1

### Patch Changes

- bfb46811: Fixed: missing lendi-next typography theme

## 2.4.0

### Minor Changes

- c9ecd32e: Rollout themed typography, added 'fontMetrics' option to getTypography, Text component accepts optional alignment prop

## 2.3.0

### Minor Changes

- 4b520bbc: Updated Domain font to F37 Bolton

## 2.2.1

### Patch Changes

- fb369c56: Fixed missing "selected" semantic state type

## 2.2.0

### Minor Changes

- 5c0d99ea: addition of new colour semantic for border/interaction/selected state, radius semantic for checkbox

## 2.1.0

### Minor Changes

- fb8b8a83: New Aussie fonts Barlow and TT Commons Pro

## 2.0.1

### Patch Changes

- e8cb0d1d: Republishing to test new pipeline

## 2.0.0

### Major Changes

- 638b058c: Interaction semantics updated:

  - Dark => Main
  - Light ==> Subtle
  - Subtle ==> Contrast

  Added new Fill Accent semantic.

## 1.7.0

### Minor Changes

- ab49d46b: Added mutli-theme compatibility

## 1.6.5

### Patch Changes

- be06feef: Improve detection of runtime for getThemeName warning

## 1.6.4

### Patch Changes

- 69a558d2: improved logic for getThemeName console warning

## 1.6.3

### Patch Changes

- 65665bf0: Transition storage API calls from localStorage to sessionStorage to address storage exceeded in some contexts

## 1.6.2

### Patch Changes

- 795120f8: Documentation updated to reflect 'colour' and 'getColour. Functions, filenames and folders in `commons` also renamed.

## 1.6.1

### Patch Changes

- 1ccd0980: Fixed broken exports
  Fixed typography types

## 1.6.0

### Minor Changes

- 1a999c9a: Added: theme-aware getTypography, getRadius and getColour functions

## 1.5.0

### Minor Changes

- 6d258b76: Added warning for missing LUIProvider

## 1.4.1

### Patch Changes

- 55feda70: UST-592 Exporting Type Definition

## 1.4.0

### Minor Changes

- 8e4b037b: Added getCDNLink function

## 1.3.0

### Minor Changes

- e4cee5a4: Moved spacing values from Spacer to commons/utils
  Added new spacing scale

## 1.2.1

### Patch Changes

- 9690b8fe: type fixes

## 1.2.0

### Minor Changes

- d46d1ad2: Added Aussie theme and getThemeName to utils

## 1.1.0

### Minor Changes

- 8d94d92c: Added: isBrowser check util

## 1.0.0

### Major Changes

- f198dc07: Changed default export to a fn that presets the theme arg to the current active theme, plus added a draft API for overrides and extends

## 0.8.0

### Minor Changes

- 758eaacd: added local storage hooks

## 0.7.0

### Minor Changes

- b00d5ff7: Added escapeRegEx

## 0.6.2

### Patch Changes

- ed859aff: documentation reorganization

## 0.6.1

### Patch Changes

- 2a5289a8: added more specific type info

## 0.6.0

### Minor Changes

- ee145aa3: Added data attributes for tracking and analytics to global component props whitelist

## 0.5.0

### Minor Changes

- d9a666c3: removed non-entrypoint imports
