You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 918491f
Browse filesBrowse the repository at this point in the historyBrowse files
chore(core): Core's internal touch entry re-exports what Lab's TabBar reads, and its strings join the catalog
Re-exports only, no new behavior: @astryxdesign/core/internal/touch adds
the press tracker, the action-group tracker, the finger-scroll reader and
the text-selection lock, none under a public factory's name. The names
TabBar shares with other Lab components come from the base entry. Core's
message catalog gains TabBar's three strings: the More tab's label, the
search's Cancel button and a badged tab's name. They land ahead of the Lab
component, so the Lab batches change only Lab. The entry stays outside the
public API: no docs, no root re-export, and the
@astryx/no-core-internal-import rule keeps it to Core and Lab.
One type widens: useFingerScroll also takes a ref that holds a document.
It already watched a document passed to it directly, so nothing runs
differently. A component can then fill the ref from its own element and
watch the page of the document that element is in.
[experimental] Core's internal `@astryxdesign/core/internal/touch` entry re-exports the press tracker, action-group tracker, finger-scroll reader and selection lock for Lab components. The finger-scroll reader also takes a ref that holds a document. Three tab-bar strings join Core's message catalog.
Copy file name to clipboardExpand all lines: packages/core/locales/en.json
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -931,10 +931,22 @@
931
931
"defaultMessage": "Maximum value",
932
932
"description": "Accessible name of the upper thumb of a range Slider (two thumbs), announced together with the Slider's own label, for example \"Price range, Maximum value, 80\". Never shown on screen."
933
933
},
934
+
"@astryx.tabBar.badgedItem": {
935
+
"defaultMessage": "{label}, {badge}",
936
+
"description": "Screen-reader name of a bottom tab bar item that shows a badge (\"Library, 3\"). {label} is the tab's visible name; {badge} is the badge's count or its own label (\"3 unread\"). Translators may reorder the two or change the separator."
937
+
},
934
938
"@astryx.tabList.label": {
935
939
"defaultMessage": "Tabs",
936
940
"description": "Screen-reader-only fallback name for a horizontal tab bar. Plural noun; \"Tabs\" here = UI tab panels, not browser tabs or the Tab key."
937
941
},
942
+
"@astryx.tabBar.more": {
943
+
"defaultMessage": "More",
944
+
"description": "Label of the tab that collects a phone tab bar's sections past the fourth (iOS's More tab), and the name of the list of those sections it shows. One short word."
945
+
},
946
+
"@astryx.tabBar.cancelSearch": {
947
+
"defaultMessage": "Cancel",
948
+
"description": "Name of the button that ends search in a phone tab bar's search tab. The tab bar draws it over its search circle, beside the active field, as iOS draws its cancel button. One short word."
949
+
},
938
950
"@astryx.table.label": {
939
951
"defaultMessage": "Table",
940
952
"description": "Fallback screen-reader-only accessible name for a data-table region when the consumer provides none. Noun (\"a table\"), not the verb \"to table\"."
0 commit comments