Skip to content

Commit 422cb9a

Browse files
docs(UX-1487): Update documentation for consistency (#380)
1 parent c7f7242 commit 422cb9a

File tree

35 files changed

+44
-41
lines changed

35 files changed

+44
-41
lines changed

packages/zeta_flutter/lib/src/components/avatar_rail/avatar_rail.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
33

44
import '../../../zeta_flutter.dart';
55

6-
/// A stateless widget that represents an avatar rail in the Zeta application.
6+
/// A rail containing 0 or more Avatars that can be scrolled horizontally.
77
///
88
/// The `ZetaAvatarRail` widget is used to display a horizontal rail of avatars,
99
/// typically used for navigation or selection purposes within the application.

packages/zeta_flutter/lib/src/components/button_group/button_group.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
33

44
import '../../../zeta_flutter.dart';
55

6-
/// Zeta Button Group
6+
/// Button groups are used to group related buttons together. They can be used to create a toolbar or a set of related actions.
77
///
88
/// Figma: https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=229-45&node-type=canvas&m=dev
99
///

packages/zeta_flutter/lib/src/components/buttons/button.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import '../../../zeta_flutter.dart';
55

66
import 'button_style.dart';
77

8-
/// Zeta Button
8+
/// Buttons are used to trigger actions.
99
///
1010
/// Figma: https://www.figma.com/file/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=23126-110945
1111
///

packages/zeta_flutter/lib/src/components/buttons/icon_button.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import '../../../zeta_flutter.dart';
55

66
import 'button_style.dart';
77

8-
/// Component [ZetaIconButton]
8+
/// Icon buttons are used to trigger actions with an icon.
99
///
1010
/// Figma: https://www.figma.com/file/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=23126-110314
1111
///

packages/zeta_flutter/lib/src/components/buttons/tile_button.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import 'package:flutter/material.dart';
33
import '../../../zeta_flutter.dart';
44
import 'button_style.dart';
55

6-
/// Zeta Button
6+
/// A large, tappable button with an icon stacked above a label. Ideal for grid layouts, dashboards, or mobile interfaces where quick, visually distinct actions are needed.
77
///
88
/// Figma: https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=37677-15824&t=BkdCAAhFjNXxpwfK-4
99
///

packages/zeta_flutter/lib/src/components/chat_item/chat_item.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import 'package:flutter_slidable/flutter_slidable.dart';
44
import 'package:intl/intl.dart';
55
import '../../../zeta_flutter.dart';
66

7-
/// Chat item widget that can be dragged to reveal contextual actions.
7+
/// The chat list items and chat lists are used in communication feeds and contact lists.
88
///
99
/// Figma: https://www.figma.com/design/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=24828-46282&node-type=canvas&m=dev
1010
///

packages/zeta_flutter/lib/src/components/chips/assist_chip.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import 'package:flutter/material.dart';
22

33
import '../../../zeta_flutter.dart';
44

5+
/// Chips that are clickable, selectable and draggable.
6+
///
57
/// Leading widget should typically be an icon.
68
///
79
/// These chips use [Draggable] and can be dragged around the screen and placed in new locations using [DragTarget].

packages/zeta_flutter/lib/src/components/chips/filter_chip.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ import 'package:flutter/material.dart';
22

33
import '../../../zeta_flutter.dart';
44

5+
/// Chips that are used to filter content, that are clickable, selectable and draggable. They have a default and active state.
6+
///
57
/// Filter chips have 2 togglable states, representing selected and not selected.
68
///
79
/// The chips are commonly used within a [ZetaFilterSelection].

packages/zeta_flutter/lib/src/components/chips/input_chip.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import '../../../zeta_flutter.dart';
22

3-
/// Zeta Input Chip typically is used to associate some content or action with a user.
3+
/// A chip used to show input data, typically used to associate some content or action with a user.
44
///
55
/// Leading widget should typically be a [ZetaAvatar].
66
///

packages/zeta_flutter/lib/src/components/chips/status_chip.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import 'package:flutter/material.dart';
33

44
import '../../../zeta_flutter.dart';
55

6-
/// The [ZetaStatusChip] is a chip that displays a status/label.
6+
/// A chip that looks like a label.
7+
///
78
/// It can be dragged around the screen and placed in new locations using [DragTarget].
89
///
910
/// Figma: https://www.figma.com/file/JesXQFLaPJLc1BdBM4sisI/%F0%9F%A6%93-ZDS---Components?node-id=21265-2159

0 commit comments

Comments
 (0)