Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecated components, component properties and prop types #5423

Merged
merged 24 commits into from
Oct 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ac966c0
Remove deprecated type files and their dependencies.
sdvg Oct 9, 2023
6d7255f
Remove deprecated properties (first batch).
sdvg Oct 9, 2023
ce031a7
Remove deprecated properties and components (first batch).
sdvg Oct 9, 2023
8d54f8d
Remove deprecated properties.
sdvg Oct 9, 2023
327f11a
Remove deprecated properties for `input-` components.
sdvg Oct 10, 2023
689ee42
Remove deprecated properties for link components.
sdvg Oct 10, 2023
fa6077b
Remove deprecated properties for remaining components.
sdvg Oct 10, 2023
5490dde
Remove deprecated and unused prop types
sdvg Oct 10, 2023
24c95cd
Remove no longer needed non-null assertion
sdvg Oct 10, 2023
7d97849
Remove unused exports/definitions
sdvg Oct 11, 2023
8e34661
Remove more DeprecatedColorPair usages
sdvg Oct 11, 2023
1d01d22
Add migration docs
sdvg Oct 11, 2023
f8d9a0f
Update prop usages in readmes
sdvg Oct 11, 2023
b7707de
Add automatic readme updates
sdvg Oct 11, 2023
fc21e86
Remove stray comment
sdvg Oct 11, 2023
98a8058
React Sample App: Apply existing CLI migrations with some manual fixes
sdvg Oct 11, 2023
59da41f
Add first v2 migration
sdvg Oct 11, 2023
03f930c
Extend migrations
sdvg Oct 11, 2023
d61d4be
Reset versions for now
sdvg Oct 12, 2023
fe9b324
Fix/update React Sample App component
sdvg Oct 12, 2023
697774d
Update snapshots
sdvg Oct 12, 2023
4162f02
Make knip happy
sdvg Oct 12, 2023
d8f6a34
Adjust props and fix modals in designer
sdvg Oct 12, 2023
11196f8
Merge remote-tracking branch 'origin/develop' into 3108-release-2-vor…
sdvg Oct 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
282 changes: 282 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,282 @@
# Breaking Changes for version 2.0.0

## Removed Components

The following components have been removed entirely:

- kol-icon-font-awesome
- kol-icon-icofont
- kol-input-adapter-leanup
- kol-input-radio-group

## Data Structures

1. `Link` objects now longer support the `_icon` property, only `_icon`. The object shape remains the same.

Affected components:

- kol-breadcrumb
- kol-button-link-text-switch
- kol-link-group
- kol-nav
- kol-skip-nav

2. `ColorPair` objects no longer support the `color` property, only the more explicit `foregroundColor`.

Affected components:

- kol-badge
- kol-kolibri

## Component Properties And Slots

kol-abbr:

- prop `_label` now required
- prop `_title` removed (use `_label` instead)

kol-accordion:

- prop `_heading` removed (use `_label` instead)
- prop `_label` now required
- slot `content` removed (use `default` instead)
- slot `header` removed

kol-alert:

- prop `_heading` removed (use `_label` instead)

kol-badge:

- prop `_hideLabel` removed
- prop `_icon` removed (use `_icons` instead)
- prop `_iconOnly` removed

kol-breadcrumb:

- prop `_ariaLabel` removed (use `_label` instead)
- prop `_label` now required

kol-button:

- prop `_accessKey` removed
- prop `_ariaCurrent` removed
- prop `_ariaLabel` removed (use `_label` instead)
- prop `_icon` removed (use `_icons` instead)
- prop `_iconAlign` removed (use `_icons` instead)
- prop `_iconOnly` removed (use `_hideLabel` instead)

kol-button-link:

- prop `_accessKey` removed
- prop `_ariaCurrent` removed
- prop `_ariaLabel` removed (use `_label` instead)
- prop `_icon` removed (use `_icons` instead)
- prop `_iconOnly` removed (use `_hideLabel` instead)

kol-card:

- prop `_hasFooter` removed
- prop `_heading` removed (use `_label` instead)
- prop `_headline` removed (use `_label` instead)
- prop `_label` now required
- slot `content` removed (use `default` instead)
- slot `footer` removed
- slot `header` removed

kol-details:

- prop `_label` now required
- prop `_summary` removed (use `_label` instead)

kol-icon:

- prop `_ariaLabel` removed (use `_label` instead)
- prop `_icon` removed (use `_icons` instead)
- prop `_icons` now required
- prop `_label` now required
- prop `_part` removed

kol-input:

- prop `_icon` removed (use `_icons` instead)

kol-input-checkbox:

- prop `_icon` removed (use `_icons` instead)
- prop `_type` removed (use `_variant` instead)
- prop `_variant` option: `'checkbox'` removed, `'default'` is the default value
- slot `default` renamed to `expert`

kol-input-color:

- prop `_icon` removed (use `_icons` instead)
- prop `_list` removed (use `_suggestions` instead)
- slot `default` renamed to `expert`

kol-input-date:

- prop `_icon` removed (use `_icons` instead)
- prop `_list` removed (use `_suggestions` instead)
- slot `default` renamed to `expert`

kol-input-email:

- prop `_icon` removed (use `_icons` instead)
- prop `_list` removed (use `_suggestions` instead)
- prop `_size` removed
- slot `default` renamed to `expert`

kol-input-file:

- prop `_icon` removed (use `_icons` instead)
- slot `default` renamed to `expert`

kol-input-number:

- prop `_icon` removed (use `_icons` instead)
- prop `_list` removed (use `_suggestions` instead)
- prop `_type` removed (defaults to `'number'` now)
- slot `default` renamed to `expert`

kol-input-password:

- prop `_icon` removed (use `_icons` instead)
- prop `_size` removed
- slot `default` renamed to `expert`

kol-input-radio:

- prop `_list` removed (use `_options` instead)
- slot `default` renamed to `expert`

kol-input-range:

- prop `_icon` removed (use `_icons` instead)
- prop `_list` removed (use `_suggestions` instead)
- slot `default` renamed to `expert`

kol-input-text:

- prop `_icon` removed (use `_icons` instead)
- prop `_list` removed (use `_suggestions` instead)
- prop `_size` removed
- slot `default` renamed to `expert`

kol-link:

- prop `_ariaControls` removed
- prop `_ariaCurrent` removed (use `_listenAriaCurrent` instead)
- prop `_ariaExpanded` removed
- prop `_ariaLabel` removed
- prop `_ariaSelected` removed
- prop `_disabled` removed
- prop `_icon` removed (use `_icons` instead)
- prop `_iconAlign` removed (use `_icons` instead)
- prop `_iconOnly` removed (use `_hideLabel` instead)
- prop `_selector` removed
- prop `_stealth` removed
- prop `_useCase` removed
- slot `default` removed (use `expert` instead)

kol-link-button:

- prop `_ariaControls` removed
- prop `_ariaCurrent` removed (use `_listenAriaCurrent` instead)
- prop `_ariaExpanded` removed
- prop `_ariaLabel` removed
- prop `_ariaSelected` removed
- prop `_disabled` removed
- prop `_icon` renamed to `_icons`
- prop `_iconOnly` removed

kol-link-group:

- prop `_ariaLabel` removed (use `_label` instead)
- prop `_heading` removed
- prop `_label` now required
- prop `_level` removed
- prop `_ordered` removed

kol-logo:

- prop `_abbr` removed (use `_org` instead)

kol-modal:

- prop `_ariaLabel` removed (use `_label` instead)
- prop `_label` now required

kol-nav:

- prop `_ariaLabel` removed (use `_label` instead)
- prop `_compact` removed (use `_hideLabel` instead)
- prop `_hasCompactButton` removed
- prop `_label` now required
- prop `_variant` removed

kol-pagination:

- prop `_max` now required
- prop `_total` removed (use `_max` instead)

kol-progress:

- prop `_type` removed (use `_variant` instead)

kol-quote:

- prop `_caption` removed (use `_label` instead)

kol-select:

- prop `_height` removed (use `_rows` instead)
- prop `_icon` removed (use `_icons` instead)
- prop `_list` removed (use `_options` instead)
- prop `_size` removed (use `_rows` instead)
- slot `default` renamed to `expert`

kol-skip-nav:

- prop `_ariaLabel` removed (use `_label` instead)
- prop `_label` now required

kol-span:

- prop `_icon` removed (use `_icons` instead)
- prop `_iconOnly` removed (use `_hideLabel` instead)

kol-split-button:

- prop `_accessKey` removed
- prop `_ariaLabel` removed (use `_label` instead)
- prop `_icon` removed (use `_icons` instead)
- prop `_show` removed
- prop `_showDropdown` removed

kol-symbol:

- prop `_ariaLabel` removed (use `_label` instead)
- prop `_label` now required

kol-table:

- prop `_caption` removed (use `_label` instead)
- prop `_label` now required

kol-tabs:

- prop `_ariaLabel` removed (use `_label` instead)
- prop `_icon` removed (use `_icons` instead)
- prop `_iconOnly` removed (use `_hideLabel` instead)
- prop `_label` now required
- prop `_tabsAlign` removed (use `_align` instead)

kol-textarea:

- slot `default` renamed to `expert`

version:

- prop `_label` now required
- prop `_version` removed (use `_label` instead)
Loading
Loading