Skip to content

Commit a96cc19

Browse files
authored
chore: remove outdated since tags from V25 components docs (#4857)
1 parent f24047c commit a96cc19

File tree

49 files changed

+42
-104
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+42
-104
lines changed

articles/components/_input-field-common-features.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Suffix elements typically don't work well with assistive technologies like scree
105105

106106
// tag::aria-labels[]
107107
[#aria-labels]
108-
.[since:com.vaadin:[email protected]]#External & Invisible Labels (ARIA)#
108+
.External & Invisible Labels (ARIA)
109109
[%collapsible]
110110
====
111111
Visible labels are strongly recommended for all input fields. In situations where the built-in label cannot be used, an external element can be associated as the field's label through its element `id`. Fields without any visible label should be provided an invisible label for assistive technologies like screen readers.
@@ -262,7 +262,7 @@ The helper can be rendered above the field, and below the label.
262262

263263
// tag::borders[]
264264
[#borders]
265-
.[since:com.vaadin:[email protected]]#Borders#
265+
.Borders
266266
[%collapsible]
267267
====
268268
Borders can be applied to the field surface by providing a value (e.g., `1px`) to the `--vaadin-input-field-border-width` CSS property. This can be applied globally to all input fields using the `html` selector, or to individual component instances. Borders are required to achieve https://www.w3.org/TR/WCAG21/#non-text-contrast[WCAG 2.1 level AA] conformant color contrast with the default Lumo styling of fields.

articles/components/_styling-section-theming-props.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Style properties whose names start with `--vaadin-input-field` are shared among
3939
|`--vaadin-input-field-invalid-hover-highlight`
4040
|`--lumo-error-color-50pct`
4141

42-
|[since:com.vaadin:[email protected]]#Background, disabled#
42+
|Background, disabled
4343
|`--vaadin-input-field-disabled-background`
4444
|`--lumo-contrast-5pct`
4545

@@ -63,7 +63,7 @@ Style properties whose names start with `--vaadin-input-field` are shared among
6363
|`--vaadin-input-field-value-color`
6464
|`--lumo-body-text-color`
6565

66-
|[since:com.vaadin:[email protected]]#Value text color, disabled#
66+
|Value text color, disabled
6767
|`--vaadin-input-field-disabled-value-color`
6868
|`--lumo-disabled-text-color`
6969

articles/components/accordion/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Details can be used instead of Accordion when there is a need to see content fro
241241

242242
Accordions can be used to break a complex form into smaller step-by-step sections.
243243

244-
The expandable and collapsible nature of accordions can sometimes be difficult for users to discover. Use the <<filled-panels,filled variant>> and apply [since:com.vaadin:[email protected]]##<<../tooltip#,tooltips>>## on the panels to make this more discoverable.
244+
The expandable and collapsible nature of accordions can sometimes be difficult for users to discover. Use the <<filled-panels,filled variant>> and apply <<../tooltip#,tooltips>> on the panels to make this more discoverable.
245245

246246

247247
== Related Components

articles/components/app-layout/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ App Layout is designed to be the application's root layout, within which most or
5858

5959
=== Flow
6060

61-
With Flow, the root layout can be defined using the <<{articles}/flow/routing/layout#automatic-layout-using-layout,`@Layout` annotation>>, [since:com.vaadin:[email protected]]#which tells the router to render all routes or views inside of it#.
61+
With Flow, the root layout can be defined using the <<{articles}/flow/routing/layout#automatic-layout-using-layout,`@Layout` annotation>>, which tells the router to render all routes or views inside of it.
6262

6363
[source,java]
6464
----

articles/components/button/index.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ endif::[]
119119
Primary danger buttons should only be used when a dangerous action is the most likely action. An example of this would be the affirmative *Delete* action in a deletion confirmation dialog. Secondary and Tertiary variants can be used for actions related to current errors, such as resolving them or viewing their details.
120120

121121

122-
[role="since:com.vaadin:[email protected]"]
123122
=== Warning Variant
124123

125124
This is a style for distinguishing actions related to warnings: for example, in dialogs that are intended to warn the user, or to provide information that requires extra attention.
@@ -324,7 +323,7 @@ Use icons sparingly. Most actions are difficult to represent reliably with icons
324323

325324
Icon-only buttons should be used primarily for common recurring actions with highly standardized, universally understood icons (e.g., a cross for *close*), and for actions that are repeated, such as in lists and tables. They should also include a textual alternative for screen readers using the `aria-label` attribute (see the first two buttons in the previous example).
326325

327-
Additionally, [since:com.vaadin:[email protected]]##<<../tooltip#,tooltips>>## can be added to provide a description of the action that the button triggers (see the [guilabel]*Close* button in the previous example).
326+
Additionally, <<../tooltip#,tooltips>> can be added to provide a description of the action that the button triggers (see the [guilabel]*Close* button in the previous example).
328327

329328
.Icon-Only Button Style Variant
330329
[NOTE]

articles/components/button/styling.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,4 @@ Large:: `vaadin-button+++<wbr>+++**[theme~="large"]**`
148148
Contrast:: `vaadin-button+++<wbr>+++**[theme~="contrast"]**`
149149
Success:: `vaadin-button+++<wbr>+++**[theme~="success"]**`
150150
Danger / Error:: `vaadin-button+++<wbr>+++**[theme~="error"]**`
151-
[since:com.vaadin:[email protected]]#Warning#:: `vaadin-button+++<wbr>+++**[theme~="warning"]**`
151+
Warning:: `vaadin-button+++<wbr>+++**[theme~="warning"]**`

articles/components/card/index.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ title: Card
33
page-title: Card component | Vaadin components
44
description: The Card component is a versatile container for grouping related content and actions, with several customization options for layout and appearance.
55
meta-description: The Card component is a versatile container for grouping related content and actions, with several customization options for layout and appearance.
6-
version: since:com.vaadin:[email protected]
76
page-links:
87
- 'API: https://cdn.vaadin.com/vaadin-web-components/{moduleNpmVersion:@vaadin/card}/elements/vaadin-card[TypeScript] / https://vaadin.com/api/platform/{moduleMavenVersion:com.vaadin:vaadin}/com/vaadin/flow/component/card/Card.html[Java]'
98
- 'Source: https://github.com/vaadin/web-components/tree/v{moduleNpmVersion:@vaadin/card}/packages/card[TypeScript] / https://github.com/vaadin/flow-components/tree/{moduleMavenVersion:com.vaadin:vaadin}/vaadin-card-flow-parent[Java]'

articles/components/charts/charttypes.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,6 @@ The result is illustrated in <<figure.charts.charttypes.pie.donut>>.
940940
[.fill.white]
941941
image::img/charts-donut.png[width="60%"]
942942

943-
[role="since:com.vaadin:[email protected]"]
944943
[[charts.charttypes.gantt]]
945944
== Gantt Charts
946945

@@ -2136,7 +2135,7 @@ Tree map charts have plot options type [classname]`PlotOptionsTreeMap`, which ex
21362135
[parameter]`allowDrillToNode`:: When enabled, the user can click on a point which is a parent and zoom in on its children. Defaults to false.
21372136
[parameter]`alternateStartingDirection`:: Enabling this option makes the tree map alternate the drawing direction between vertical and horizontal. The next level's starting direction is always the opposite of the previous. The default value is [literal]`++false++`.
21382137
[parameter]`layoutAlgorithm`:: This option specifies which algorithm is used for setting the position and dimensions of the points. Available algorithms are defined in [classname]`TreeMapLayoutAlgorithm` enum: [literal]`++SLICEANDDICE++`, [literal]`++STRIPES++`, [literal]`++SQUARIFIED++` and [literal]`++STRIP++`. The default value is [literal]`++SLICEANDDICE++`.
2139-
[parameter]`layoutStartingDirection`:: Defines which direction the layout algorithm starts drawing. Possible values are defined in [classname]`TreeMapLayoutStartingDirection` enum: [literal]`++HORIZONTAL++` and [literal]`++VERTICAL++`. The default value is [literal]`++VERTICAL++`.
2138+
[parameter]`layoutStartingDirection`:: Defines which direction the layout algorithm starts drawing. Possible values are defined in [classname]`TreeMapLayoutStartingDirection` enum: [literal]`++HORIZONTAL++` and [literal]`++VERTICAL++`. The default value is [literal]`++VERTICAL++`.
21402139
[parameter]`levelIsConstant`:: Used together with the [methodname]`setLevels()` and [methodname]`setAllowDrillToNode()` options. When set to [literal]`++false++`, the first level visible when drilling is considered to be level one. Otherwise, the level is the same as the tree structure. The default value is [literal]`++true++`.
21412140
[parameter]`levels`:: Set options on specific levels. Takes precedence over series options, but not point options.
21422141

articles/components/charts/gantt.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,11 @@ page-title: Create Gantt Charts with Vaadin Charts
44
description: Vaadin Charts support for creating Gantt charts.
55
meta-description: Discover how to design and customize Gantt charts in Vaadin applications.
66
order: 9
7-
version: since:com.vaadin:[email protected]
87
---
98

109
[[charts.gantt]]
1110

12-
= [since:com.vaadin:[email protected]]#Gantt Chart#
11+
= Gantt Chart
1312

1413
A Gantt chart is a type of bar chart that can represent a project schedule. It's used for planning and scheduling projects, for displaying the start and finish dates of a project's various elements. It can help in visualizing a project's timeline, task dependencies, and progress.
1514

@@ -31,7 +30,7 @@ Gantt charts are particularly useful for complex projects with multiple tasks an
3130
You can add Gantt chart to your application by performing the following steps:
3231

3332
- Specify the chart type with [parameter]`ChartType.GANTT`;
34-
- Create [class]`GanttSeries` with [class]`GanttSeriesItems` to represent the tasks; and
33+
- Create [class]`GanttSeries` with [class]`GanttSeriesItems` to represent the tasks; and
3534
- Then add the series to the chart.
3635

3736
You can alternatively configure the chart using options in the [class]`PlotOptionsGantt` configuration object.
@@ -592,4 +591,4 @@ ifdef::flow[]
592591
include::{root}/src/main/java/com/vaadin/demo/component/charts/charttypes/gantt/GanttDragAndDropDemo.java[render,tags=snippet,indent=0,group=Flow]
593592
----
594593
endif::[]
595-
--
594+
--

articles/components/charts/usage-with-lit.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ include::{root}/frontend/demo/component/charts/charts-polar.ts[render,tags=snipp
5656
----
5757
--
5858

59-
[role="since:com.vaadin:[email protected]"]
6059
== Gantt Chart
6160

6261
[.example]

0 commit comments

Comments
 (0)