Skip to content

Latest commit

 

History

History
673 lines (496 loc) · 62.4 KB

CHANGELOG.md

File metadata and controls

673 lines (496 loc) · 62.4 KB

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.10.0 (2024-09-16)

Note: Version bump only for package uui-monorepo

1.10.0-rc.0 (2024-09-10)

Bug Fixes

  • adds an aria-label to the caret button with a matching property (03d22c1)
  • adds an aria-label to the caret button with a matching property (fd699d5)
  • ensure that empty text nodes do not make the label mixin think it is non-empty (ec197fc)
  • revert the function to calculate if a default slot is empty (0f00e3e)
  • uui-form-validation-message: default renderer does not support raw HTML (#835) (f57456d)
  • uui-input-lock: the UUIInputLockEvent is not exported (#836) (88d9358)
  • uui-radio: keyboard navigation does not work as intended (#870) (8a7d3d5)
  • uui-radio: keyboard navigation does not work as intended (#870) (46e93ca)
  • uui-textarea: add danger border if the element is invalid (286a605)
  • uui-textarea: add danger border if the element is invalid (b16d500)

Features

  • add rel property to relevant elements to override default behavior (#814) (f1978e0)
  • add readonly mode (bffe72b)
  • Consistent cursor style for checkbox and radiobutton (#857) (e2e1011)
  • Consistent cursor style for checkbox and radiobutton (#857) (70c4efe)
  • dropzone should support folder upload (#841) (ea8bf2a)
  • implement readonly for uui-combobox (1909b36)
  • implement readonly for uui-range-slider (89bbf0d)
  • implement readonly mode for uui-ref-node (5c84cec)
  • implement readonly state for uui-slider (14d8f33)
  • Indeterminate state for boolean input and checkbox (#856) (0692937)
  • Indeterminate state for boolean input and checkbox (#856) (74a6121)
  • readonly state for boolean base class (2c5c5a3)
  • readonly state for checkbox (c58e6bf)
  • readonly state for toggle (86ab7b8)
  • readonly state for uui-radio (c7efa01)
  • readonly state for uui-radio-group (8d2e211)
  • uui-color-picker: allow the value to be empty (#842) (c3663b0)
  • uui-popover-container: remove the Firefox popover polyfill (#858) (a8d87b5)
  • uui-popover-container: remove the Firefox popover polyfill (#858) (d26635f)

1.9.0 (2024-07-25)

Bug Fixes

  • adds an aria-label to the caret button with a matching property (fd699d5)
  • uui-radio: keyboard navigation does not work as intended (#870) (46e93ca)
  • uui-textarea: add danger border if the element is invalid (b16d500)

Features

  • Consistent cursor style for checkbox and radiobutton (#857) (70c4efe)
  • Indeterminate state for boolean input and checkbox (#856) (74a6121)
  • uui-popover-container: remove the Firefox popover polyfill (#858) (d26635f)

1.9.0-rc.2 (2024-07-12)

Note: Version bump only for package uui-monorepo

1.9.0-rc.1 (2024-07-11)

Bug Fixes

  • revert the function to calculate if a default slot is empty (cea165e)

1.9.0-rc.0 (2024-07-11)

Bug Fixes

  • ensure that empty text nodes do not make the label mixin think it is non-empty (b0461b6)
  • Hide the native input for boolean elements in firefox (#808) (bc31088)
  • Hide the native input for boolean elements in firefox (#808) (81c0a95)
  • prevent overflow when not hovered (#816) (3e3f22a)
  • prevent overflow when not hovered (#816) (b3fcd2b)
  • uui-form-validation-message: default renderer does not support raw HTML (#835) (4320539)
  • uui-input-lock: the UUIInputLockEvent is not exported (#836) (43a7528)

Features

  • add rel property to relevant elements to override default behavior (#814) (cf81c2d)
  • add readonly mode (23c6d2c)
  • dropzone should support folder upload (#841) (dc7594d)
  • implement readonly for uui-combobox (2b03861)
  • implement readonly for uui-range-slider (e720227)
  • implement readonly mode for uui-ref-node (d37861c)
  • implement readonly state for uui-slider (9379cc1)
  • readonly state for boolean base class (78ebbdd)
  • readonly state for checkbox (5e3cbdc)
  • readonly state for toggle (c7565b9)
  • readonly state for uui-radio (201917e)
  • readonly state for uui-radio-group (6a5f636)
  • uui-color-picker: allow the value to be empty (#842) (c45ac40)
  • uui-slider: Hide label property + fix error for floating point numbers (#813) (bef030f)
  • uui-slider: Hide label property + fix error for floating point numbers (#813) (12bcd06)

1.8.2 (2024-06-18)

Bug Fixes

  • Hide the native input for boolean elements in firefox (#808) (81c0a95)
  • prevent overflow when not hovered (#816) (b3fcd2b)

Features

  • uui-slider: Hide label property + fix error for floating point numbers (#813) (12bcd06)

1.8.1 (2024-05-24)

Note: Version bump only for package uui-monorepo

1.8.0 (2024-05-23)

Bug Fixes

  • Dont show a link when no href is supplied (#797) (658b6a6)

Features

  • Add custom properties to uui-tag (#791) (46fde86)
  • Align FormControl implementation with latest from Backoffice Validation (#788) (0edfd0c)
  • focus method for menu-item (#789) (86062ae)
  • menu items hide actions (#796) (9f07ae6)

1.8.0-rc.3 (2024-04-16)

Bug Fixes

1.8.0-rc.2 (2024-04-15)

Bug Fixes

1.8.0-rc.1 (2024-04-11)

Bug Fixes

  • add custom property for menu border radius (f6e0a94)
  • inherit font weight for uui-menu-item (d1c59ad)
  • Update uui-box.element.ts to support border color changeability (455c1ca)

1.8.0-rc.0 (2024-04-05)

Bug Fixes

  • uui-css: do not import the lato font here as it means you cannot import only the custom properties without getting the font (2b57abb)
  • uui-css: do not import the lato font here as it means you cannot import only the custom properties without getting the font (ed8659c)
  • uui-tab-group: Unable to remove tab (#753) (2e24e27)
  • uui-tab-group: Unable to remove tab (#753) (07c0045)
  • uui-textarea: Don't hide placeholder text on focus (#751) (d6cf94f)
  • uui-textarea: Don't hide placeholder text on focus (#751) (a90a510)

Features

  • 💄 add custom properties for menu item (#773) (229b8da)
  • 💄 add more custom properties to uui-box (#772) (def0263)
  • FormControlMixin refactor for types safety and default values (#745) (37e473b)
  • uui-button: add transition property (#771) (da9151a)

BREAKING CHANGES

  • rename to UUIFormControlMixin

  • ValueType type

  • append the ValueType type on getDefaultValue method

  • refactor for typings and default value

  • declare _runValidators method

  • undefined Default Value Type

  • corrections

1.7.2 (2024-03-18)

Bug Fixes

  • uui-css: do not import the lato font here as it means you cannot import only the custom properties without getting the font (ed8659c)
  • uui-tab-group: Unable to remove tab (#753) (07c0045)
  • uui-textarea: Don't hide placeholder text on focus (#751) (a90a510)

1.7.1 (2024-02-13)

Bug Fixes

  • export elements for UMD bundle (4e7a3cb)
  • uui-button: conditionally render aria-label (9f4d928)

1.7.0 (2024-02-13)

Bug Fixes

  • uui-box: add a getter to headlineVariant to support Lit 3 (0fc8dbc)
  • uui-select: make native inner select follow the width of the outer element (39c08dd)

1.7.0-rc.0 (2024-02-06)

Bug Fixes

  • bump dependent uui-css to correct version range (2d004d7)
  • Don't update saturation based on parsed color (#536) (d83b8ba)
  • set correct version of uui-css to trail releases (00020e5)
  • uui-tab-group: layout is causing issues due to missing display: flex (#730) (d6cadd9)

Features

  • allow lit 3 to be loaded for uui (f9df5a5)
  • no implicit lit (c744ede)

1.6.2 (2024-02-06)

Bug Fixes

  • bump dependent uui-css to correct version range (008b0e5)

1.6.1 (2024-02-06)

Bug Fixes

  • uui-tab-group: layout is causing issues due to missing display: flex (#730) (5818804)

1.6.0 (2024-02-02)

Bug Fixes

  • 🐛 swap add icon svg storing sor a correct one (#727) (9b64e2d)
  • uui-tab-group should have display set to block (#722) (ac5c2b1)
  • uui-tab-group: async tabs are not calculated correctly and have memory leaks (#726) (03c5cdc)

1.6.0-rc.4 (2024-01-23)

Bug Fixes

Features

  • Inline-button-create support for HREF (#720) (7d8affd)
  • Prefix interface types with UUI (#716) (7cd20db)
  • uui-ref-node should have href and target properties (#715) (12feafb)

1.6.0-rc.3 (2023-12-15)

Bug Fixes

  • reference uui-card-block-type (26349e6)

1.6.0-rc.2 (2023-12-14)

Bug Fixes

  • Ensure defineElement is used instead of customElement (#685) (8e3aea1)
  • padding fixes for uui-combobox (#670) (985bfaf)
  • tab group styling of dropdown (#677) (cb0414e)
  • uui-combobox click to close by adding toggle (#671) (236c73b)
  • uui-combobox should correctly handle the active item (#682) (a438b03)

1.6.0-rc.1 (2023-11-22)

Bug Fixes

  • uui-dropzone should set the 'accept' attribute (#662) (9d03779)
  • uui-input: make the inner input follow the height of the custom element and add a variable to control it (4045c14)
  • uui-popover-container: disable the focusout close listener (#663) (23900eb)
  • uui-select: do not enforce a certain background-color (c2eebfc)
  • uui-select: make the inner select follow the height of the custom element (9ac213a)
  • uui-select: move 'height' and other properties to inner element because it is easiest to control the select rather than mimick it in terms of :focus and :hover on the outer element (b69ed74)
  • uui-select: set display to "inline-block" to match the inner native element (e4e3ffd)

Features

  • uui-menu-item: add flatten css var to hide chevron column (#665) (cec3188)
  • uui-popover-container: set popover attribute automatically (#664) (201f449)

1.6.0-rc.0 (2023-11-08)

Bug Fixes

Features

  • Don't hide placeholder text on focus (#624) (9cb90b4)
  • uui-popover-container: firefox polyfill (#628) (7242825)
  • uui-swatch: ability to overwrite displayed color with a css custom prop (#649) (48db9f5)

1.5.0 (2023-10-30)

Note: Version bump only for package uui-monorepo

1.5.0-rc.3 (2023-10-18)

Note: Version bump only for package uui-monorepo

1.5.0-rc.2 (2023-10-18)

Note: Version bump only for package uui-monorepo

1.5.0-rc.1 (2023-10-17)

Bug Fixes

  • fixing imports + story for hrefs (#614) (4bfb6a1)
  • Modal close-end event, no more bubbling modal events (#598) (825d722)
  • small bugfix for auto width not rendering (#578) (af8b738)

Features

1.5.0-rc.0 (2023-09-21)

Bug Fixes

  • add ifDefined() to remove attributes if not defined (cf1b454)
  • all codepaths should return a value (19393d2)
  • allow TouchEvents to be read for move() function (0e6a6e8)
  • Button text color hover not taking effect (#520) (e55274e)
  • check that coordinates are actual numbers before proceeding with syncing values (e747ad0)
  • correct base card requestUpdate on selectable (#563) (8641d98)
  • uui-input: inputmode property renamed to inputMode to follow its inherited property (170651e)
  • uui-input: messages should be string not boolean (ec16fd5)
  • uui-input: treat autoWidth as bool attribute (a1bf741)
  • uui-input: validators should convert to string (8457c0b)

Features

  • tab group priority navigation (#573) (e6a2cd8)
  • uui-box: add a property to control the headline variant (#521) (bda766c)
  • uui-button: content align css variable (#548) (24b2ac5)
  • uui-input: Add support for auto-width (#526) (d8504ec)
  • uui-input: autofocus and inputmode (#549) (f9fdbd2)

1.4.0 (2023-09-21)

Note: Version bump only for package uui-monorepo

1.4.0-rc.2 (2023-09-07)

Bug Fixes

  • correct base card requestUpdate on selectable (#563) (b4be148)

1.4.0-rc.1 (2023-08-10)

Bug Fixes

  • add ifDefined() to remove attributes if not defined (22c002a)
  • uui-input: inputmode property renamed to inputMode to follow its inherited property (03487b0)
  • uui-input: messages should be string not boolean (bdabb80)
  • uui-input: treat autoWidth as bool attribute (85528e9)
  • uui-input: validators should convert to string (09a6e27)

Features

1.4.0-rc.0 (2023-07-18)

Bug Fixes

  • all codepaths should return a value (45f7132)
  • allow TouchEvents to be read for move() function (2342f5a)
  • Button text color hover not taking effect (#520) (c2c6d62)
  • check that coordinates are actual numbers before proceeding with syncing values (f6ce0f6)

Features

  • uui-box: add a property to control the headline variant (#521) (6fd4d85)
  • uui-input: Add support for auto-width (#526) (1800cf8)

1.3.0 (2023-05-31)

Note: Version bump only for package uui-monorepo

1.3.0-rc.1 (2023-05-25)

Bug Fixes

  • change jsdoc to allow the web-component-analyzer to output correct information (0c18bdc)
  • Make color slider disabled state consistent with disabled color area (#489) (209bb02)
  • not possible to drag&drop file with multiple dots (#487) (f9c6343)
  • store the final value of any custom properties (d4a200b)
  • uui-color-area: dragging the mouse do not select a color (#486) (8bc217c)

1.3.0-rc.0 (2023-05-15)

Bug Fixes

  • avoid duplicating the code to accept files (e209c16)
  • check for support of partly supported webkitGetAsEntry (74a629a)
  • ensure that accepted entries are returned with the File interface (e75931d)
  • SelectableMixin should not prevent bubbling of keydown event (2460fab)
  • uui-file-dropzone: export events needed externally (4a8a377)
  • uui-ref-list: fit within width of given enviroment (#473) (b49a238)

Features

  • add missing native attributes to uui-input and uui-textarea (#484) (93adc81)
  • change events to align with native browser behavior (#476) (814bdcc)

1.2.1 (2023-04-20)

Note: Version bump only for package uui-monorepo

1.2.0 (2023-04-20)

Features

  • adds min, max, and step property to the uui-input (#457) (c8e8798)

1.2.0-rc.3 (2023-04-14)

Bug Fixes

Features

  • uui-scroll-container now uses auto scroll and has an enforce scroll option (#448) (44ce789)

1.2.0-rc.2 (2023-03-27)

Features

  • ship uui with custom-elements file in vscode format (a92eee4)

1.2.0-rc.1 (2023-03-22)

Features

  • 🐛 add disabled property to uui-combobox (3c13b8b)
  • added css custom property to overwrite z-index (#441) (062891a)
  • uui-color-swatches: color swatches changes form when showLabel is true (#427) (b42a474)

1.2.0-rc.0 (2023-02-07)

Bug Fixes

  • a11y: add role=listitem to the "dots" button (ce38577)

  • add background color in uui-textarea (#410) (8141eb7)

  • Add cd to installation instruction before npm install (a6424c0)

  • Add labels to fix accessibility warnings (#289) (373f0d3)

  • add missing reference to uui-input-lock (#187) (b2d69bf)

  • add missing references to uui barrel (c9bf476)

  • Add tests to ensure menu-item is tested in its default state with a label as a button (dedde98)

  • Add whitespace when appending/prepending icon in uui-input (#408) (3a86f01)

  • Align lit versions (#183) (e15536e)

  • Align lit versions (#183) (050c0ff)

  • Allow uui-button to fit in less tall contexts (#236) (8b7422f)

  • Bump opacity a bit, to pass color contrast accessibility check (#351) (92354aa)

  • Case insensitivity when using combobox-avatar (#363) (7acd240)

  • Change uui-button height to min-height and remove the height from button inside (#271) (d7cecac)

  • change notification color primary to default (#258) (2930d52)

  • change super.value to this.value for backwards compatibility (9cb6399)

  • change UUIInput type to getter/setter to support input-password (d529f60)

  • clear a mistake where setter would call itself (ded01fe)

  • clear up confusion with overriding the setter (9de8dce)

  • close button color inherits from toast notification (bdcc0a4)

  • disable-child-interaction going over edges + other details (#251) (078fcf0)

  • dispatching of events twice (#292) (901da47)

  • do not overwrite the super.value setter but refer to thisinstead (6d9db70)

  • fixed padding and added multiline story (#277) (d264e73)

  • have pagination render update when the total number of pages has changed (#364) (4d7cc4c)

  • implement validity property for form controls (de5cf72)

  • import types as types (3dcb9ce)

  • iteration of iterators requires more configuration so we are now more specific with Array.from (0c904f7)

  • make popover work nicely in the button group (#296) (a5b3635)

  • remove default import from test template so new components are not double defined (0c13b24)

  • remove double definitions of several test files (15d303a)

  • Remove local definition of --uui-box-default-padding for uui-box (#189) (fd290a4)

  • return empty tempate if there are no groups (b294ef7)

  • Small visual corrections (#212) (bb3a3d7)

  • Small visual corrections (#213) (ba42fe8)

  • storybook: default slot did not show up in docs tab (b88cd1d)

  • Sync disable state for uui-radio with uui-radio-group (#393) (1902987)

  • Tabs not working in TabGroup (91bf2a7)

  • test: add general import to access all components (5ebb5ef)

  • test: add missing test cases (f1fa095)

  • test: change type of lookup to querySelector (d25bb2c)

  • test: remove a duplicate test (c035de5)

  • Use an ::after element for selection border (#239) (8a9d4f1)

  • use form control mixin in uui-button (d8466d4)

  • uui-button-inline-create collides with storybook documentation for LabelMixin, and since it only uses the property for label we can just declare that directly on the component instead of inheriting (5ce670c)

  • uui-button: adjust success and failed state styling (#312) (7634d19)

  • uui-card-media: replaced wrong css variables (#300) (ced7bdb)

  • uui-card-media: should render images correctly (5c0ead3)

  • uui-combobox: fix focus issues (#311) (a71ac05)

  • uui-combobox: fix for small resolutions (#327) (0180ee2)

  • uui-inline-button-create: ensure there is a border-color on horizontal (#328) (91ecd17)

  • uui-input change aling-items to stretch (#362) (7d285b4)

  • uui-input-password sets spellcheck to false (#339) (160f3db)

  • uui-radio-button: radio circle is malformed on multiple lines (#298) (e390365)

  • uui-select: 🐛 sets the value to the value of selected option if present (6ae94ee)

  • uui-toggle change adjacent sibling combinator to general sibling (cd2aaf6)

  • uui: add missing reference to uui-popover (cbb74c6), closes #194

  • uui: change "import" to "export *" (d46e02a)

  • various issues of combobox and related (#276) (6b1ee6f)

  • vertical align content of UUI-Button anchor tag (#254) (319312c)

  • Release/0.1.1 (#190) (d91d346), closes #190 #188 #187 #189

Features

  • add a query for the native element (c7ed761)
  • add demandCustomElement for all elements that require other uui-elements to render correctly (#172) (adb4f3b)
  • add element names as property for custom child selectors to support custom elements (55cc647)
  • add href attribute to uui-button & uui-tab (9cda1f8)
  • add more test cases to uui-select (d46272d)
  • add support for unknown breadcrumb items (f588325)
  • add support for unknown tab elements that extend the base class (aca64f9)
  • add test for instanceOf (9ba7430)
  • added uui-combobox elements (205ceee)
  • Added uui-file-dropzone component (47147f9)
  • Added uui-file-preview component (544b64e)
  • Added uui-input-file component (2fbe6e0)
  • Added uui-symbol-file-dropzone component (0a6361d)
  • Added uui-symbol-file-thumbnail component (51e0cb2)
  • build: Run eslint separately from the build to fail faster (6f1871d)
  • build: update packages to esmodules and fix rollup import (0980022)
  • Button type removes null and adds undefined. (2239de9)
  • change _onInput method from private to protected (#196) (de26ed2)
  • change _onInput method from private to protected (#196) (4b6cf65)
  • chore: Upgrade Storybook from 6.4.8 to 6.4.14 (07c6ac8)
  • eslint: Ignore everything in the src folder (8cab59f)
  • Form elements submits the form on enter (#288) (a089cb1)
  • new uui-color-* components (color picker) (#413) (655ee88)
  • output classes with ecmascript standard definitions (e786f56)
  • remove deprecation & allow unknowns (afd3f67)
  • remove registration warning (aca2ebf)
  • set onChange to protected to allow override of all callbacks (3326ef8)
  • set onChange to protected to allow override of all callbacks (eb5eed3)
  • storybook: add harness to menu-item to limit max-width of all stories (6ee59aa)
  • storybook: add story to explain item indentation using custom css prop (fc6f018)
  • storybook: apply MenuItems array to all relevant stories to ensure same visual layout throughout all stories (a6d5ffe)
  • storybook: Update Storybook to latest (c95ba6e)
  • support custom tabs by selecting on attributes instead of classes (0df4cd4)
  • support custom tabs that do not necessarily extend from UUITab but still follows the interface (9f99225)
  • test: add related tests for form validation to uui-select (aa3ba9a)
  • update dependencies for build and lint processes (718483d)
  • update minifyhtml (15e6d1b)
  • upgrade element-internals-polyfill to 1.1.9 (d1d312d)
  • upgrade lit from 2.2.2 to 2.2.5 (b76d5c6)
  • upgrade typescript from 4.5 to 4.7 (e6d3faf)
  • uui-combobox: add requirement for uui-popover (447f15f)
  • uui-input-file: Only show add button when multiple or no file selected (#395) (61e6716)
  • uui-select extends from FormControlMixin instead of defining its own methods (b4b9bc9)
  • uui: set uui to esmodule (3ce3f75)

Reverts

  • Revert "build(deps-dev): bump rimraf -g from 3.0.2 to 4.1.2" (1516f6a)
  • Revert "try to optimise chromatic by not customising the name of build-storybook" (73548dd)
  • Revert "added missing properties to the list and added docs" (92d8e22)
  • Revert "see if turbo works without cache" (fb58473)
  • Revert "internal: upgrade esbuild + deps" (ab7f3f7)
  • Revert "TEST - change color" (3eda269)
  • Revert "TEST - unset border-radius" (f9e959a)
  • Revert "Remove uui-css.css" (0114f1f)
  • Revert "Move assets to lib since they are now being inlined" (0df44b5)
  • Revert "Update sleep duration for tests in order not to exceed test limit and to better test autoclose functionality" (6294014)
  • Revert "Update container tests for event types and timers to match the notification container component" (ce318be)
  • Revert "remove unnecessary hide-validation feature" (082cfeb)
  • Revert "Publish" (3d183a4)
  • Revert "Publish" (571707b)
  • Revert "remove hardcoded fallback value" (ac13b0f)
  • Revert "re-structure components grouping" (ffe1b93)
  • Revert "fix missing type and event class" (4c0ae77)

BREAKING CHANGES

  • This should now be configured globally

  • internal: add more files to lerna ignore

  • Publish

  • update references

  • internal: use npm ci to counter Github Actions oddness

  • internal: try with unsafe-perm to counter differentiating OS'es

  • internal: downgrade Turbo to 1.1.5 to supposedly work with Github Actions

Co-authored-by: Niels Lyngsø [email protected]

  • This should now be configured globally