@lotics/ui 46.3.0 → 46.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +14 -1
- package/docs/catalog.md +118 -6
- package/docs/composition.md +26 -0
- package/docs/data_entry.md +56 -2
- package/docs/reviewing.md +34 -0
- package/docs/templates.md +90 -29
- package/examples/tpl_board.tsx +257 -0
- package/examples/tpl_money.tsx +1027 -0
- package/package.json +261 -259
- package/src/accordion.tsx +7 -1
- package/src/board.tsx +611 -0
- package/src/card.tsx +7 -1
- package/src/charge_lines.tsx +373 -0
- package/src/chip_group.tsx +57 -1
- package/src/file_row.tsx +98 -5
- package/src/icon.tsx +6 -0
- package/src/inline_edit.tsx +54 -10
- package/src/inline_number_input.tsx +5 -1
- package/src/inline_text_input.tsx +1 -1
- package/src/locale.tsx +26 -1
- package/src/matrix.tsx +23 -8
- package/src/reference_field.tsx +36 -13
- package/src/table.tsx +6 -1
- package/src/tabs.tsx +1 -1
- package/examples/tpl_report.tsx +0 -410
- package/examples/tpl_statements.tsx +0 -221
package/package.json
CHANGED
|
@@ -1,317 +1,319 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lotics/ui",
|
|
3
|
-
"version": "46.
|
|
3
|
+
"version": "46.8.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
|
-
"./
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
"./accordion": "./src/accordion.tsx",
|
|
7
|
+
"./action_menu": "./src/action_menu.tsx",
|
|
8
|
+
"./activity_indicator": "./src/activity_indicator.tsx",
|
|
9
|
+
"./agent_progress": "./src/agent_progress.tsx",
|
|
10
|
+
"./agent_run": "./src/agent_run.tsx",
|
|
11
|
+
"./agent_run_pane": "./src/agent_run_pane.tsx",
|
|
12
|
+
"./alert": "./src/alert.tsx",
|
|
13
|
+
"./allocation_row": "./src/allocation_row.tsx",
|
|
14
|
+
"./animation_fade_in": "./src/animation_fade_in.tsx",
|
|
15
|
+
"./app_icon": "./src/app_icon.tsx",
|
|
16
|
+
"./approval_prompt": "./src/approval_prompt.tsx",
|
|
17
|
+
"./auto_sizer": "./src/auto_sizer.tsx",
|
|
18
|
+
"./avatar": {
|
|
19
|
+
"react-native": "./src/avatar.tsx",
|
|
20
|
+
"default": "./src/avatar.web.tsx"
|
|
9
21
|
},
|
|
10
|
-
"./
|
|
22
|
+
"./avatar_group": "./src/avatar_group.tsx",
|
|
23
|
+
"./avatar_props": "./src/avatar_props.ts",
|
|
24
|
+
"./avatar_size": "./src/avatar_size.ts",
|
|
25
|
+
"./avatar_tone": "./src/avatar_tone.ts",
|
|
26
|
+
"./back_button": "./src/back_button.tsx",
|
|
27
|
+
"./badge": "./src/badge.tsx",
|
|
28
|
+
"./bar_chart": "./src/bar_chart.tsx",
|
|
29
|
+
"./board": "./src/board.tsx",
|
|
30
|
+
"./brand_mark": "./src/brand_mark.tsx",
|
|
31
|
+
"./breakdown": "./src/breakdown.tsx",
|
|
32
|
+
"./button": "./src/button.tsx",
|
|
33
|
+
"./calendar": "./src/calendar/index.ts",
|
|
34
|
+
"./callout": "./src/callout.tsx",
|
|
35
|
+
"./capture_row": "./src/capture_row.tsx",
|
|
36
|
+
"./card": "./src/card.tsx",
|
|
37
|
+
"./card_select_item": "./src/card_select_item.tsx",
|
|
38
|
+
"./charge_lines": "./src/charge_lines.tsx",
|
|
39
|
+
"./check_circle": "./src/check_circle.tsx",
|
|
40
|
+
"./checkbox": "./src/checkbox.tsx",
|
|
41
|
+
"./checkbox_input": "./src/checkbox_input.tsx",
|
|
42
|
+
"./checklist": "./src/checklist.tsx",
|
|
43
|
+
"./chip": "./src/chip.tsx",
|
|
44
|
+
"./chip_group": "./src/chip_group.tsx",
|
|
45
|
+
"./choice_list": "./src/choice_list.tsx",
|
|
46
|
+
"./clarify": "./src/clarify.tsx",
|
|
47
|
+
"./clarify_wizard": "./src/clarify_wizard.tsx",
|
|
11
48
|
"./colors": {
|
|
12
49
|
"react-native": "./src/colors.ts",
|
|
13
50
|
"default": "./src/colors.web.ts"
|
|
14
51
|
},
|
|
52
|
+
"./column_filter": "./src/column_filter.tsx",
|
|
53
|
+
"./combobox": "./src/combobox.tsx",
|
|
54
|
+
"./comments_button": "./src/comments_button.tsx",
|
|
55
|
+
"./comments_thread": "./src/comments_thread.tsx",
|
|
56
|
+
"./completion_state": "./src/completion_state.tsx",
|
|
57
|
+
"./composer": "./src/composer.tsx",
|
|
58
|
+
"./confidence": "./src/confidence.tsx",
|
|
59
|
+
"./container": "./src/container.tsx",
|
|
60
|
+
"./container_size": "./src/container_size.tsx",
|
|
61
|
+
"./control_surface": "./src/control_surface.ts",
|
|
62
|
+
"./copy_button": "./src/copy_button.tsx",
|
|
63
|
+
"./copy_text": {
|
|
64
|
+
"react-native": "./src/copy_text.ts",
|
|
65
|
+
"default": "./src/copy_text.web.ts"
|
|
66
|
+
},
|
|
67
|
+
"./count": "./src/count.tsx",
|
|
68
|
+
"./counter": "./src/counter.tsx",
|
|
69
|
+
"./danger_zone": "./src/danger_zone.tsx",
|
|
70
|
+
"./data_grid": "./src/data_grid.tsx",
|
|
71
|
+
"./date_calendar": "./src/date_calendar.tsx",
|
|
72
|
+
"./date_filter": "./src/date_filter.tsx",
|
|
73
|
+
"./date_picker": "./src/date_picker.tsx",
|
|
74
|
+
"./date_range_filter_field": "./src/date_range_filter_field.tsx",
|
|
75
|
+
"./date_stamp": "./src/date_stamp.tsx",
|
|
15
76
|
"./deadline": "./src/deadline.ts",
|
|
16
|
-
"./
|
|
17
|
-
"./
|
|
18
|
-
"./
|
|
19
|
-
"./
|
|
20
|
-
"./
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
77
|
+
"./detail_row": "./src/detail_row.tsx",
|
|
78
|
+
"./dialog": "./src/dialog.tsx",
|
|
79
|
+
"./diff_mark": "./src/diff_mark.tsx",
|
|
80
|
+
"./diff_value": "./src/diff_value.tsx",
|
|
81
|
+
"./display_font": {
|
|
82
|
+
"react-native": "./src/display_font.ts",
|
|
83
|
+
"default": "./src/display_font.web.ts"
|
|
84
|
+
},
|
|
85
|
+
"./divider": "./src/divider.tsx",
|
|
86
|
+
"./dots_indicator": "./src/dots_indicator.tsx",
|
|
24
87
|
"./download": "./src/download.ts",
|
|
25
|
-
"./
|
|
26
|
-
"./
|
|
27
|
-
|
|
28
|
-
|
|
88
|
+
"./drawer": "./src/drawer.tsx",
|
|
89
|
+
"./dynamic_icon": {
|
|
90
|
+
"react-native": "./src/dynamic_icon.tsx",
|
|
91
|
+
"default": "./src/dynamic_icon.web.tsx"
|
|
92
|
+
},
|
|
93
|
+
"./empty_state": "./src/empty_state.tsx",
|
|
94
|
+
"./error_state": "./src/error_state.tsx",
|
|
95
|
+
"./eyebrow": "./src/eyebrow.tsx",
|
|
29
96
|
"./file_badge": "./src/file_badge.tsx",
|
|
30
|
-
"./file_dropzone": "./src/file_dropzone.tsx",
|
|
31
|
-
"./file_intake": "./src/file_intake.ts",
|
|
32
97
|
"./file_drop_target": {
|
|
33
98
|
"react-native": "./src/file_drop_target.tsx",
|
|
34
99
|
"default": "./src/file_drop_target.web.tsx"
|
|
35
100
|
},
|
|
36
|
-
"./
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"./
|
|
41
|
-
"./file_row": "./src/file_row.tsx",
|
|
42
|
-
"./file_rows": "./src/file_rows.tsx",
|
|
101
|
+
"./file_dropzone": "./src/file_dropzone.tsx",
|
|
102
|
+
"./file_gallery_modal": "./src/file_gallery_modal.tsx",
|
|
103
|
+
"./file_grid": "./src/file_grid.tsx",
|
|
104
|
+
"./file_intake": "./src/file_intake.ts",
|
|
105
|
+
"./file_picker": "./src/file_picker.ts",
|
|
43
106
|
"./file_preview": {
|
|
44
107
|
"react-native": "./src/file_preview.tsx",
|
|
45
108
|
"default": "./src/file_preview.web.tsx"
|
|
46
109
|
},
|
|
47
110
|
"./file_preview_types": "./src/file_preview_types.ts",
|
|
48
|
-
"./
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
},
|
|
52
|
-
"./media_player_types": "./src/media_player_types.ts",
|
|
53
|
-
"./file_gallery_modal": "./src/file_gallery_modal.tsx",
|
|
54
|
-
"./image_gallery": "./src/image_gallery.tsx",
|
|
55
|
-
"./rotatable_image": "./src/rotatable_image.tsx",
|
|
56
|
-
"./use_image_rotation": "./src/use_image_rotation.ts",
|
|
57
|
-
"./use_selection": "./src/use_selection.ts",
|
|
58
|
-
"./use_section_nav": "./src/use_section_nav.ts",
|
|
59
|
-
"./ledger": "./src/ledger.tsx",
|
|
60
|
-
"./running_ledger": "./src/running_ledger.tsx",
|
|
61
|
-
"./use_selection_mode": "./src/use_selection_mode.ts",
|
|
111
|
+
"./file_row": "./src/file_row.tsx",
|
|
112
|
+
"./file_rows": "./src/file_rows.tsx",
|
|
113
|
+
"./file_thumbnail": "./src/file_thumbnail.tsx",
|
|
62
114
|
"./file_thumbnail_grid": "./src/file_thumbnail_grid.tsx",
|
|
63
|
-
"./uploading_thumbnail": "./src/uploading_thumbnail.tsx",
|
|
64
|
-
"./file_grid": "./src/file_grid.tsx",
|
|
65
115
|
"./files_editor": "./src/files_editor.tsx",
|
|
66
|
-
"./
|
|
67
|
-
"./
|
|
68
|
-
"./
|
|
69
|
-
"./
|
|
70
|
-
"./
|
|
71
|
-
"./
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"./kpi_card": "./src/kpi_card.tsx",
|
|
75
|
-
"./kpi_strip": "./src/kpi_strip.tsx",
|
|
76
|
-
"./summary_line": "./src/summary_line.tsx",
|
|
77
|
-
"./summary": "./src/summary.tsx",
|
|
78
|
-
"./empty_state": "./src/empty_state.tsx",
|
|
79
|
-
"./error_state": "./src/error_state.tsx",
|
|
80
|
-
"./format_date": "./src/format_date.ts",
|
|
81
|
-
"./format_money": "./src/format_money.ts",
|
|
82
|
-
"./calendar": "./src/calendar/index.ts",
|
|
83
|
-
"./gantt": "./src/gantt/index.ts",
|
|
84
|
-
"./progress_ring": "./src/progress_ring.tsx",
|
|
85
|
-
"./stacked_progress_bar": "./src/stacked_progress_bar.tsx",
|
|
86
|
-
"./stacked_bar_chart": "./src/stacked_bar_chart.tsx",
|
|
87
|
-
"./waterfall_chart": "./src/waterfall_chart.tsx",
|
|
88
|
-
"./legend_item": "./src/legend_item.tsx",
|
|
89
|
-
"./breakdown": "./src/breakdown.tsx",
|
|
90
|
-
"./funnel": "./src/funnel.tsx",
|
|
91
|
-
"./status_grid": "./src/status_grid.tsx",
|
|
92
|
-
"./heatmap": "./src/heatmap.tsx",
|
|
93
|
-
"./matrix": "./src/matrix.tsx",
|
|
94
|
-
"./matrix_totals": "./src/matrix_totals.ts",
|
|
95
|
-
"./trend_footer": "./src/trend_footer.tsx",
|
|
96
|
-
"./locale": "./src/locale.tsx",
|
|
97
|
-
"./spacing": "./src/spacing.ts",
|
|
98
|
-
"./theme": {
|
|
99
|
-
"react-native": "./src/theme.ts",
|
|
100
|
-
"default": "./src/theme.web.ts"
|
|
116
|
+
"./filter_chip": "./src/filter_chip.tsx",
|
|
117
|
+
"./finding": "./src/finding.tsx",
|
|
118
|
+
"./floating_action_bar": "./src/floating_action_bar.tsx",
|
|
119
|
+
"./focus_ring_pressable": "./src/focus_ring_pressable.tsx",
|
|
120
|
+
"./follow_scroll": "./src/follow_scroll.tsx",
|
|
121
|
+
"./font_family": {
|
|
122
|
+
"react-native": "./src/font_family.ts",
|
|
123
|
+
"default": "./src/font_family.web.ts"
|
|
101
124
|
},
|
|
102
|
-
"./
|
|
125
|
+
"./fonts.css": "./src/fonts.css",
|
|
103
126
|
"./form_date_picker": "./src/form_date_picker.tsx",
|
|
127
|
+
"./form_field": "./src/form_field.tsx",
|
|
128
|
+
"./form_markdown_editor": "./src/form_markdown_editor.tsx",
|
|
104
129
|
"./form_picker": "./src/form_picker.tsx",
|
|
105
|
-
"./
|
|
106
|
-
"./
|
|
107
|
-
"./
|
|
108
|
-
"./
|
|
109
|
-
"./
|
|
130
|
+
"./form_switch": "./src/form_switch.tsx",
|
|
131
|
+
"./form_text_input": "./src/form_text_input.tsx",
|
|
132
|
+
"./format_date": "./src/format_date.ts",
|
|
133
|
+
"./format_money": "./src/format_money.ts",
|
|
134
|
+
"./funnel": "./src/funnel.tsx",
|
|
135
|
+
"./gantt": "./src/gantt/index.ts",
|
|
136
|
+
"./group_avatar": "./src/group_avatar.tsx",
|
|
110
137
|
"./group_lead": "./src/group_lead.tsx",
|
|
111
|
-
"./
|
|
112
|
-
"./
|
|
113
|
-
"./agent_progress": "./src/agent_progress.tsx",
|
|
114
|
-
"./approval_prompt": "./src/approval_prompt.tsx",
|
|
115
|
-
"./message_actions": "./src/message_actions.tsx",
|
|
116
|
-
"./comments_button": "./src/comments_button.tsx",
|
|
117
|
-
"./copy_button": "./src/copy_button.tsx",
|
|
118
|
-
"./copy_text": {
|
|
119
|
-
"react-native": "./src/copy_text.ts",
|
|
120
|
-
"default": "./src/copy_text.web.ts"
|
|
121
|
-
},
|
|
122
|
-
"./follow_scroll": "./src/follow_scroll.tsx",
|
|
123
|
-
"./markdown": {
|
|
124
|
-
"react-native": "./src/markdown.tsx",
|
|
125
|
-
"default": "./src/markdown.web.tsx"
|
|
126
|
-
},
|
|
127
|
-
"./markdown_types": "./src/markdown_types.ts",
|
|
128
|
-
"./markdown.css": "./src/markdown.css",
|
|
129
|
-
"./confidence": "./src/confidence.tsx",
|
|
130
|
-
"./finding": "./src/finding.tsx",
|
|
131
|
-
"./clarify": "./src/clarify.tsx",
|
|
132
|
-
"./clarify_wizard": "./src/clarify_wizard.tsx",
|
|
133
|
-
"./agent_run_pane": "./src/agent_run_pane.tsx",
|
|
134
|
-
"./result_header": "./src/result_header.tsx",
|
|
135
|
-
"./choice_list": "./src/choice_list.tsx",
|
|
136
|
-
"./sources": "./src/sources.tsx",
|
|
138
|
+
"./heading_altitude": "./src/heading_altitude.ts",
|
|
139
|
+
"./heatmap": "./src/heatmap.tsx",
|
|
137
140
|
"./icon": "./src/icon.tsx",
|
|
138
|
-
"./brand_mark": "./src/brand_mark.tsx",
|
|
139
|
-
"./dynamic_icon": {
|
|
140
|
-
"react-native": "./src/dynamic_icon.tsx",
|
|
141
|
-
"default": "./src/dynamic_icon.web.tsx"
|
|
142
|
-
},
|
|
143
|
-
"./app_icon": "./src/app_icon.tsx",
|
|
144
|
-
"./tooltip": "./src/tooltip.tsx",
|
|
145
|
-
"./button": "./src/button.tsx",
|
|
146
|
-
"./checkbox": "./src/checkbox.tsx",
|
|
147
|
-
"./combobox": "./src/combobox.tsx",
|
|
148
|
-
"./composer": "./src/composer.tsx",
|
|
149
|
-
"./portal": "./src/portal.tsx",
|
|
150
|
-
"./popover_nav": "./src/popover_nav.tsx",
|
|
151
|
-
"./popover": "./src/popover.tsx",
|
|
152
|
-
"./overlay_scope": "./src/overlay_scope.ts",
|
|
153
|
-
"./overlay_layer": "./src/overlay_layer.ts",
|
|
154
|
-
"./switcher": "./src/switcher.tsx",
|
|
155
|
-
"./menu_button": "./src/menu_button.tsx",
|
|
156
|
-
"./menu_list_item": "./src/menu_list_item.tsx",
|
|
157
|
-
"./pressable_highlight": "./src/pressable_highlight.tsx",
|
|
158
|
-
"./pending_commits": "./src/pending_commits.ts",
|
|
159
|
-
"./pressable_row": "./src/pressable_row.tsx",
|
|
160
|
-
"./press_door": "./src/press_door.tsx",
|
|
161
|
-
"./floating_action_bar": "./src/floating_action_bar.tsx",
|
|
162
141
|
"./icon_button": "./src/icon_button.tsx",
|
|
142
|
+
"./image_gallery": "./src/image_gallery.tsx",
|
|
143
|
+
"./index.css": "./src/index.css",
|
|
163
144
|
"./info_popover": "./src/info_popover.tsx",
|
|
164
|
-
"./peek": "./src/peek.tsx",
|
|
165
|
-
"./action_menu": "./src/action_menu.tsx",
|
|
166
|
-
"./card_select_item": "./src/card_select_item.tsx",
|
|
167
|
-
"./badge": "./src/badge.tsx",
|
|
168
|
-
"./callout": "./src/callout.tsx",
|
|
169
|
-
"./inset": "./src/inset.tsx",
|
|
170
145
|
"./inline_button": "./src/inline_button.tsx",
|
|
146
|
+
"./inline_date_picker": "./src/inline_date_picker.tsx",
|
|
171
147
|
"./inline_edit": "./src/inline_edit.tsx",
|
|
172
|
-
"./inline_slot": "./src/inline_slot.tsx",
|
|
173
|
-
"./inline_static": "./src/inline_static.tsx",
|
|
174
148
|
"./inline_files": "./src/inline_files.tsx",
|
|
149
|
+
"./inline_focus": "./src/inline_focus.ts",
|
|
175
150
|
"./inline_markdown": "./src/inline_markdown.tsx",
|
|
176
|
-
"./
|
|
177
|
-
"react-native": "./src/markdown_editor.tsx",
|
|
178
|
-
"default": "./src/markdown_editor.web.tsx"
|
|
179
|
-
},
|
|
180
|
-
"./markdown_editor_props": "./src/markdown_editor_props.ts",
|
|
181
|
-
"./markdown_editor.css": "./src/markdown_editor.css",
|
|
182
|
-
"./form_markdown_editor": "./src/form_markdown_editor.tsx",
|
|
183
|
-
"./inline_text_input": "./src/inline_text_input.tsx",
|
|
151
|
+
"./inline_member_select": "./src/inline_member_select.tsx",
|
|
184
152
|
"./inline_number_input": "./src/inline_number_input.tsx",
|
|
185
153
|
"./inline_select": "./src/inline_select.tsx",
|
|
186
|
-
"./
|
|
154
|
+
"./inline_slot": "./src/inline_slot.tsx",
|
|
155
|
+
"./inline_static": "./src/inline_static.tsx",
|
|
156
|
+
"./inline_text_input": "./src/inline_text_input.tsx",
|
|
187
157
|
"./inline_time_picker": "./src/inline_time_picker.tsx",
|
|
188
|
-
"./
|
|
189
|
-
"./spacer": "./src/spacer.tsx",
|
|
190
|
-
"./index.css": "./src/index.css",
|
|
191
|
-
"./fonts.css": "./src/fonts.css",
|
|
192
|
-
"./keyboard": "./src/keyboard.ts",
|
|
193
|
-
"./use_screen_size": "./src/use_screen_size.ts",
|
|
194
|
-
"./container_size": "./src/container_size.tsx",
|
|
195
|
-
"./size_boundary": "./src/size_boundary.tsx",
|
|
196
|
-
"./use_auto_grow_height": "./src/use_auto_grow_height.ts",
|
|
197
|
-
"./use_focus_ring": "./src/use_focus_ring.ts",
|
|
198
|
-
"./use_gated_press": "./src/use_gated_press.ts",
|
|
158
|
+
"./inset": "./src/inset.tsx",
|
|
199
159
|
"./interaction_modality": "./src/interaction_modality.ts",
|
|
200
|
-
"./
|
|
201
|
-
"./
|
|
202
|
-
"./
|
|
203
|
-
"./
|
|
204
|
-
"./
|
|
205
|
-
"./
|
|
160
|
+
"./json_panel": "./src/json_panel.tsx",
|
|
161
|
+
"./keyboard": "./src/keyboard.ts",
|
|
162
|
+
"./kpi_card": "./src/kpi_card.tsx",
|
|
163
|
+
"./kpi_strip": "./src/kpi_strip.tsx",
|
|
164
|
+
"./label_tone": "./src/label_tone.ts",
|
|
165
|
+
"./landmark": "./src/landmark.tsx",
|
|
166
|
+
"./ledger": "./src/ledger.tsx",
|
|
167
|
+
"./legend_item": "./src/legend_item.tsx",
|
|
168
|
+
"./line_chart": "./src/line_chart.tsx",
|
|
169
|
+
"./link": "./src/link.tsx",
|
|
170
|
+
"./list": "./src/list.tsx",
|
|
171
|
+
"./list_item": "./src/list_item.tsx",
|
|
172
|
+
"./loading": "./src/loading.tsx",
|
|
173
|
+
"./locale": "./src/locale.tsx",
|
|
174
|
+
"./markdown": {
|
|
175
|
+
"react-native": "./src/markdown.tsx",
|
|
176
|
+
"default": "./src/markdown.web.tsx"
|
|
177
|
+
},
|
|
178
|
+
"./markdown.css": "./src/markdown.css",
|
|
179
|
+
"./markdown_editor": {
|
|
180
|
+
"react-native": "./src/markdown_editor.tsx",
|
|
181
|
+
"default": "./src/markdown_editor.web.tsx"
|
|
182
|
+
},
|
|
183
|
+
"./markdown_editor.css": "./src/markdown_editor.css",
|
|
184
|
+
"./markdown_editor_props": "./src/markdown_editor_props.ts",
|
|
185
|
+
"./markdown_types": "./src/markdown_types.ts",
|
|
186
|
+
"./matrix": "./src/matrix.tsx",
|
|
187
|
+
"./matrix_totals": "./src/matrix_totals.ts",
|
|
188
|
+
"./media_player": {
|
|
189
|
+
"react-native": "./src/media_player.tsx",
|
|
190
|
+
"default": "./src/media_player.web.tsx"
|
|
191
|
+
},
|
|
192
|
+
"./media_player_types": "./src/media_player_types.ts",
|
|
193
|
+
"./member_chip": "./src/member_chip.tsx",
|
|
194
|
+
"./member_peek": "./src/member_peek.tsx",
|
|
195
|
+
"./member_profile_card": "./src/member_profile_card.tsx",
|
|
196
|
+
"./member_select": "./src/member_select.tsx",
|
|
197
|
+
"./menu_button": "./src/menu_button.tsx",
|
|
198
|
+
"./menu_list_item": "./src/menu_list_item.tsx",
|
|
199
|
+
"./message_actions": "./src/message_actions.tsx",
|
|
200
|
+
"./metric": "./src/metric.tsx",
|
|
201
|
+
"./mime": "./src/mime.ts",
|
|
202
|
+
"./modal": "./src/modal.tsx",
|
|
206
203
|
"./number_input": "./src/number_input.tsx",
|
|
207
|
-
"./
|
|
208
|
-
"./
|
|
209
|
-
"./
|
|
210
|
-
"./
|
|
211
|
-
"./
|
|
212
|
-
"./
|
|
204
|
+
"./option_badge": "./src/option_badge.tsx",
|
|
205
|
+
"./option_list": "./src/option_list.tsx",
|
|
206
|
+
"./option_picker": "./src/option_picker.tsx",
|
|
207
|
+
"./overlay_layer": "./src/overlay_layer.ts",
|
|
208
|
+
"./overlay_scope": "./src/overlay_scope.ts",
|
|
209
|
+
"./page_content": "./src/page_content.tsx",
|
|
210
|
+
"./page_header": "./src/page_header.tsx",
|
|
211
|
+
"./pagination": "./src/pagination.tsx",
|
|
212
|
+
"./peek": "./src/peek.tsx",
|
|
213
|
+
"./pending_commits": "./src/pending_commits.ts",
|
|
214
|
+
"./picker": "./src/picker.tsx",
|
|
215
|
+
"./pie_chart": "./src/pie_chart.tsx",
|
|
216
|
+
"./popover": "./src/popover.tsx",
|
|
217
|
+
"./popover_nav": "./src/popover_nav.tsx",
|
|
218
|
+
"./portal": "./src/portal.tsx",
|
|
219
|
+
"./press_door": "./src/press_door.tsx",
|
|
220
|
+
"./pressable_highlight": "./src/pressable_highlight.tsx",
|
|
221
|
+
"./pressable_row": "./src/pressable_row.tsx",
|
|
222
|
+
"./progress_bar": "./src/progress_bar.tsx",
|
|
223
|
+
"./progress_ring": "./src/progress_ring.tsx",
|
|
213
224
|
"./radio_picker": "./src/radio_picker.tsx",
|
|
214
|
-
"./
|
|
215
|
-
"./form_switch": "./src/form_switch.tsx",
|
|
216
|
-
"./chip": "./src/chip.tsx",
|
|
217
|
-
"./filter_chip": "./src/filter_chip.tsx",
|
|
218
|
-
"./slider": "./src/slider.tsx",
|
|
219
|
-
"./slider_math": "./src/slider_math.ts",
|
|
220
|
-
"./counter": "./src/counter.tsx",
|
|
221
|
-
"./link": "./src/link.tsx",
|
|
225
|
+
"./record_summary": "./src/record_summary.tsx",
|
|
222
226
|
"./reference_field": "./src/reference_field.tsx",
|
|
223
227
|
"./related_record_row": "./src/related_record_row.tsx",
|
|
224
|
-
"./text_disclosure": "./src/text_disclosure.tsx",
|
|
225
|
-
"./text_link": "./src/text_link.tsx",
|
|
226
|
-
"./sort_header": "./src/sort_header.tsx",
|
|
227
|
-
"./skeleton": "./src/skeleton.tsx",
|
|
228
|
-
"./table": "./src/table.tsx",
|
|
229
|
-
"./table_fit": "./src/table_fit.ts",
|
|
230
|
-
"./data_grid": "./src/data_grid.tsx",
|
|
231
|
-
"./detail_row": "./src/detail_row.tsx",
|
|
232
|
-
"./record_summary": "./src/record_summary.tsx",
|
|
233
|
-
"./capture_row": "./src/capture_row.tsx",
|
|
234
|
-
"./suggestion_chip": "./src/suggestion_chip.tsx",
|
|
235
|
-
"./danger_zone": "./src/danger_zone.tsx",
|
|
236
|
-
"./scan_field": "./src/scan_field.tsx",
|
|
237
|
-
"./completion_state": "./src/completion_state.tsx",
|
|
238
228
|
"./remainder_meter": "./src/remainder_meter.tsx",
|
|
239
|
-
"./
|
|
240
|
-
"./
|
|
241
|
-
"./
|
|
242
|
-
"./
|
|
243
|
-
"./
|
|
244
|
-
"./
|
|
245
|
-
"./
|
|
229
|
+
"./result_header": "./src/result_header.tsx",
|
|
230
|
+
"./rotatable_image": "./src/rotatable_image.tsx",
|
|
231
|
+
"./rotate_image": "./src/rotate_image.ts",
|
|
232
|
+
"./route_matching": "./src/route_matching.ts",
|
|
233
|
+
"./running_ledger": "./src/running_ledger.tsx",
|
|
234
|
+
"./scan_field": "./src/scan_field.tsx",
|
|
235
|
+
"./screen_router": "./src/screen_router.tsx",
|
|
236
|
+
"./scroll_to_bottom": "./src/scroll_to_bottom.tsx",
|
|
237
|
+
"./search_input": "./src/search_input.tsx",
|
|
238
|
+
"./section_card": "./src/section_card.tsx",
|
|
246
239
|
"./section_heading": "./src/section_heading.tsx",
|
|
247
|
-
"./heading_altitude": "./src/heading_altitude.ts",
|
|
248
240
|
"./section_stack": "./src/section_stack.tsx",
|
|
249
|
-
"./
|
|
241
|
+
"./segmented_control": "./src/segmented_control.tsx",
|
|
242
|
+
"./select": "./src/select.tsx",
|
|
250
243
|
"./separator": "./src/separator.tsx",
|
|
244
|
+
"./sequence": "./src/sequence.tsx",
|
|
245
|
+
"./share_or_download": "./src/share_or_download.ts",
|
|
246
|
+
"./shortcut_badge": "./src/shortcut_badge.tsx",
|
|
247
|
+
"./size_boundary": "./src/size_boundary.tsx",
|
|
248
|
+
"./skeleton": "./src/skeleton.tsx",
|
|
249
|
+
"./skip_link": "./src/skip_link.tsx",
|
|
250
|
+
"./slider": "./src/slider.tsx",
|
|
251
|
+
"./slider_math": "./src/slider_math.ts",
|
|
252
|
+
"./sort_header": "./src/sort_header.tsx",
|
|
253
|
+
"./sources": "./src/sources.tsx",
|
|
254
|
+
"./spacer": "./src/spacer.tsx",
|
|
255
|
+
"./spacing": "./src/spacing.ts",
|
|
256
|
+
"./sparkline": "./src/sparkline.tsx",
|
|
251
257
|
"./stack": "./src/stack.tsx",
|
|
258
|
+
"./stacked_bar_chart": "./src/stacked_bar_chart.tsx",
|
|
259
|
+
"./stacked_progress_bar": "./src/stacked_progress_bar.tsx",
|
|
252
260
|
"./status_badge": "./src/status_badge.tsx",
|
|
253
|
-
"./
|
|
254
|
-
"./accordion": "./src/accordion.tsx",
|
|
255
|
-
"./stepper": "./src/stepper.tsx",
|
|
261
|
+
"./status_grid": "./src/status_grid.tsx",
|
|
256
262
|
"./step_progress": "./src/step_progress.tsx",
|
|
263
|
+
"./stepper": "./src/stepper.tsx",
|
|
264
|
+
"./suggestion_chip": "./src/suggestion_chip.tsx",
|
|
265
|
+
"./summary": "./src/summary.tsx",
|
|
266
|
+
"./summary_line": "./src/summary_line.tsx",
|
|
267
|
+
"./switch": "./src/switch.tsx",
|
|
268
|
+
"./switch_button": "./src/switch_button.tsx",
|
|
269
|
+
"./switcher": "./src/switcher.tsx",
|
|
270
|
+
"./table": "./src/table.tsx",
|
|
271
|
+
"./table_fit": "./src/table_fit.ts",
|
|
257
272
|
"./tabs": "./src/tabs.tsx",
|
|
258
|
-
"./
|
|
259
|
-
"./
|
|
260
|
-
"./
|
|
261
|
-
"./
|
|
262
|
-
"./
|
|
263
|
-
"./
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
"./date_stamp": "./src/date_stamp.tsx",
|
|
267
|
-
"./date_filter": "./src/date_filter.tsx",
|
|
268
|
-
"./date_range_filter_field": "./src/date_range_filter_field.tsx",
|
|
269
|
-
"./time_picker": "./src/time_picker.tsx",
|
|
270
|
-
"./time_options": "./src/time_options.ts",
|
|
271
|
-
"./time_columns": "./src/time_columns.tsx",
|
|
272
|
-
"./date_calendar": "./src/date_calendar.tsx",
|
|
273
|
-
"./dialog": "./src/dialog.tsx",
|
|
274
|
-
"./drawer": "./src/drawer.tsx",
|
|
275
|
-
"./modal": "./src/modal.tsx",
|
|
276
|
-
"./screen_router": "./src/screen_router.tsx",
|
|
277
|
-
"./route_matching": "./src/route_matching.ts",
|
|
278
|
-
"./avatar": {
|
|
279
|
-
"react-native": "./src/avatar.tsx",
|
|
280
|
-
"default": "./src/avatar.web.tsx"
|
|
281
|
-
},
|
|
282
|
-
"./wave_avatar": {
|
|
283
|
-
"react-native": "./src/wave_avatar.tsx",
|
|
284
|
-
"default": "./src/wave_avatar.web.tsx"
|
|
273
|
+
"./text": "./src/text.tsx",
|
|
274
|
+
"./text_disclosure": "./src/text_disclosure.tsx",
|
|
275
|
+
"./text_input_field": "./src/text_input_field.tsx",
|
|
276
|
+
"./text_link": "./src/text_link.tsx",
|
|
277
|
+
"./text_utils": "./src/text_utils.ts",
|
|
278
|
+
"./theme": {
|
|
279
|
+
"react-native": "./src/theme.ts",
|
|
280
|
+
"default": "./src/theme.web.ts"
|
|
285
281
|
},
|
|
286
|
-
"./
|
|
287
|
-
"./
|
|
288
|
-
"./
|
|
289
|
-
"./scroll_to_bottom": "./src/scroll_to_bottom.tsx",
|
|
290
|
-
"./animation_fade_in": "./src/animation_fade_in.tsx",
|
|
291
|
-
"./json_panel": "./src/json_panel.tsx",
|
|
282
|
+
"./time_columns": "./src/time_columns.tsx",
|
|
283
|
+
"./time_options": "./src/time_options.ts",
|
|
284
|
+
"./time_picker": "./src/time_picker.tsx",
|
|
292
285
|
"./timeline": "./src/timeline.tsx",
|
|
293
|
-
"./
|
|
294
|
-
"./
|
|
295
|
-
"./
|
|
296
|
-
"./
|
|
297
|
-
"./skip_link": "./src/skip_link.tsx",
|
|
298
|
-
"./text_utils": "./src/text_utils.ts",
|
|
286
|
+
"./tokens": "./src/tokens.ts",
|
|
287
|
+
"./tooltip": "./src/tooltip.tsx",
|
|
288
|
+
"./trend_chip": "./src/trend_chip.tsx",
|
|
289
|
+
"./trend_footer": "./src/trend_footer.tsx",
|
|
299
290
|
"./type_ramp": "./src/type_ramp.ts",
|
|
300
|
-
"./
|
|
301
|
-
"./
|
|
302
|
-
"./
|
|
303
|
-
"./avatar_tone": "./src/avatar_tone.ts",
|
|
304
|
-
"./avatar_props": "./src/avatar_props.ts",
|
|
305
|
-
"./diff_value": "./src/diff_value.tsx",
|
|
306
|
-
"./diff_mark": "./src/diff_mark.tsx",
|
|
291
|
+
"./uploading_thumbnail": "./src/uploading_thumbnail.tsx",
|
|
292
|
+
"./use_async_fn": "./src/use_async_fn.ts",
|
|
293
|
+
"./use_auto_grow_height": "./src/use_auto_grow_height.ts",
|
|
307
294
|
"./use_change_set": "./src/use_change_set.ts",
|
|
308
|
-
"./
|
|
309
|
-
|
|
310
|
-
|
|
295
|
+
"./use_debounced_callback": "./src/use_debounced_callback.ts",
|
|
296
|
+
"./use_focus_ring": "./src/use_focus_ring.ts",
|
|
297
|
+
"./use_form": "./src/use_form.ts",
|
|
298
|
+
"./use_gated_press": "./src/use_gated_press.ts",
|
|
299
|
+
"./use_hover": "./src/use_hover.ts",
|
|
300
|
+
"./use_image_rotation": "./src/use_image_rotation.ts",
|
|
301
|
+
"./use_paste_files": {
|
|
302
|
+
"react-native": "./src/use_paste_files.ts",
|
|
303
|
+
"default": "./src/use_paste_files.web.ts"
|
|
311
304
|
},
|
|
312
|
-
"./
|
|
313
|
-
|
|
314
|
-
|
|
305
|
+
"./use_screen_size": "./src/use_screen_size.ts",
|
|
306
|
+
"./use_section_nav": "./src/use_section_nav.ts",
|
|
307
|
+
"./use_selection": "./src/use_selection.ts",
|
|
308
|
+
"./use_selection_mode": "./src/use_selection_mode.ts",
|
|
309
|
+
"./vite": {
|
|
310
|
+
"types": "./src/vite.d.mts",
|
|
311
|
+
"default": "./src/vite.mjs"
|
|
312
|
+
},
|
|
313
|
+
"./waterfall_chart": "./src/waterfall_chart.tsx",
|
|
314
|
+
"./wave_avatar": {
|
|
315
|
+
"react-native": "./src/wave_avatar.tsx",
|
|
316
|
+
"default": "./src/wave_avatar.web.tsx"
|
|
315
317
|
}
|
|
316
318
|
},
|
|
317
319
|
"files": [
|
package/src/accordion.tsx
CHANGED
|
@@ -130,7 +130,13 @@ export interface AccordionTitleProps {
|
|
|
130
130
|
export function AccordionTitle(props: AccordionTitleProps) {
|
|
131
131
|
return (
|
|
132
132
|
<View style={styles.title}>
|
|
133
|
-
{
|
|
133
|
+
{/* Giữ chỗ khi không có icon, nếu không thì trong một chồng accordion,
|
|
134
|
+
hàng có icon và hàng không có icon bắt đầu ở hai mép trái khác nhau. */}
|
|
135
|
+
{props.icon ? (
|
|
136
|
+
<Icon name={props.icon} size={16} color={props.iconColor ?? colors.zinc[500]} />
|
|
137
|
+
) : (
|
|
138
|
+
<View style={{ width: 16 }} />
|
|
139
|
+
)}
|
|
134
140
|
{/* MEDIUM, like every other row identity in the kit (`ListItem`,
|
|
135
141
|
`MenuButton`, `MenuListItem`, `DetailRow` label). This was the one
|
|
136
142
|
pressable-row title at regular weight, so in a long register — 200
|