diff --git a/.changeset/thick-years-invent.md b/.changeset/thick-years-invent.md new file mode 100644 index 0000000000..014da6f21c --- /dev/null +++ b/.changeset/thick-years-invent.md @@ -0,0 +1,8 @@ +--- +"@baloise/ds-testing": major +"@baloise/ds-core": major +"docs": major +"e2e": major +--- + +Removed deprecated component bal-datepicker for performance reasons diff --git a/docs/stories/components/bal-datepicker/bal-datepicker.mdx b/docs/stories/components/bal-datepicker/bal-datepicker.mdx deleted file mode 100644 index e2e4d11863..0000000000 --- a/docs/stories/components/bal-datepicker/bal-datepicker.mdx +++ /dev/null @@ -1,56 +0,0 @@ -import { Canvas, Meta, Markdown } from '@storybook/blocks' -import { Banner, Lead, PlaygroundBar, StoryHeading, WarningQuote, Footer } from '../../../.storybook/blocks' -import * as DatepickerStories from './bal-datepicker.stories' - - - - - - - - - **Datepicker** allows manual date entry as well as open the popover content with a calendar to select a date. - - - - **Deprecation Warning!**
- Please use the [new component Date](?path=/docs/components-form-date--documentation), because this component is marked - as deprecated and will be removed with the next major releases. -
- -## Component API - -import api from './api.md?raw' - -{api} - -## Integration - -Value must be a date string following the [ISO 8601 datetime format standard](https://www.w3.org/TR/NOTE-datetime), -`1996-12-19`. The format does not have to be specific to an exact datetime. -For example, the maximum could just be the year, such as `1994`. Defaults to the end of this year. - -```typescript -import { formatDateString, now } from '@baloise/web-app-utils' - -const datepickerDisabled = document.getElementById('datepicker-disabled') -datepickerDisabled.value = formatDateString(now()) -// or -datepickerDisabled.value = formatDateString(2020, 0, 13) -// or -datepickerDisabled.value = formatDateString(new Date(2020, 0, 13)) -``` - -import integration from '../../snippets/integration.md?raw' - -{integration} - -import theming from './theming.md?raw' - -{theming} - -import testing from './testing.md?raw' - -{testing} - -