Skip to content

Commit fb0f807

Browse files
Remove implementation detail from catalog core widget schema descriptions
1 parent 8a34ec3 commit fb0f807

File tree

13 files changed

+14
-22
lines changed

13 files changed

+14
-22
lines changed

packages/genui/lib/src/catalog/core_widgets/button.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import '../../primitives/simple_items.dart';
1616

1717
final _schema = S.object(
1818
description: '''
19-
A catalog item representing a Material Design elevated button.
19+
A catalog item representing an elevated button.
2020
2121
This widget displays an interactive button. When pressed, it dispatches
2222
the specified `action` event. The button's appearance can be styled as

packages/genui/lib/src/catalog/core_widgets/card.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import '../../primitives/simple_items.dart';
1111

1212
final _schema = S.object(
1313
description: '''
14-
A catalog item representing a Material Design card.
14+
A catalog item representing a card.
1515
1616
This widget displays a card, which is a container for a single `child`
1717
widget. Cards often have rounded corners and a shadow, and are used to group

packages/genui/lib/src/catalog/core_widgets/check_box.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import '../../primitives/simple_items.dart';
1313

1414
final _schema = S.object(
1515
description: '''
16-
A catalog item representing a Material Design checkbox with a label.
16+
A catalog item representing a checkbox with a label.
1717
1818
This widget displays a checkbox a [Text] label. The checkbox's state
1919
is bidirectionally bound to the data model path specified in the `value`

packages/genui/lib/src/catalog/core_widgets/column.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ final _schema = S.object(
1616
description: '''
1717
A catalog item representing a layout widget that displays its children in a
1818
vertical array.
19-
20-
This widget is analogous to Flutter's [Column] widget. It arranges a list of
21-
child components from top to bottom.
2219
''',
2320
properties: {
2421
'distribution': S.string(

packages/genui/lib/src/catalog/core_widgets/date_time_input.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import '../../primitives/simple_items.dart';
1313

1414
final _schema = S.object(
1515
description: '''
16-
A catalog item representing a Material Design date and/or time input field.
16+
A catalog item representing a date and/or time input field.
1717
1818
This widget displays a field that, when tapped, opens the native date and/or
1919
time pickers. The selected value is stored as a string in the data model

packages/genui/lib/src/catalog/core_widgets/divider.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import '../../primitives/simple_items.dart';
1010

1111
final _schema = S.object(
1212
description: '''
13-
A catalog item representing a Material Design divider.
13+
A catalog item representing a divider.
1414
1515
This widget displays a thin line to separate content, either horizontally
1616
or vertically.

packages/genui/lib/src/catalog/core_widgets/heading.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ final _schema = S.object(
1515
A catalog item representing a text heading.
1616
1717
Headings are used to title sections of content. The visual appearance is
18-
determined by the `level` parameter, which maps to standard [TextTheme]
19-
styles.
18+
determined by the `level` parameter.
2019
''',
2120
properties: {
2221
'text': A2uiSchemas.stringReference(),

packages/genui/lib/src/catalog/core_widgets/list.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ final _schema = S.object(
1515
description: '''
1616
A catalog item representing a scrollable list of widgets.
1717
18-
This widget is analogous to Flutter's [ListView] widget. It can display
19-
children in either a vertical or horizontal direction.
18+
It can display children in either a vertical or horizontal direction.
2019
''',
2120
properties: {
2221
'children': A2uiSchemas.componentArrayReference(),

packages/genui/lib/src/catalog/core_widgets/row.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ final _schema = S.object(
1616
A catalog item representing a layout widget that displays its children in a
1717
horizontal array.
1818
19-
This widget is analogous to Flutter's [Row] widget. It arranges a list of
20-
child components from left to right.
19+
It arranges a list of child components from left to right.
2120
''',
2221
properties: {
2322
'children': A2uiSchemas.componentArrayReference(

packages/genui/lib/src/catalog/core_widgets/slider.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@ import '../../primitives/simple_items.dart';
1313

1414
final _schema = S.object(
1515
description: '''
16-
A catalog item representing a Material Design slider.
16+
A catalog item representing a slider.
1717
1818
This widget allows the user to select a value from a range by sliding a
1919
thumb along a track. The `value` is bidirectionally bound to the data model.
20-
This is analogous to Flutter's [Slider] widget.
2120
''',
2221
properties: {
2322
'value': A2uiSchemas.numberReference(),

0 commit comments

Comments
 (0)