@dloizides/ui-layout 1.49.1 → 1.49.2
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/CHANGELOG.md +3 -0
- package/dist/index.d.mts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3514,10 +3514,10 @@ var styles36 = StyleSheet.create({
|
|
|
3514
3514
|
row: { alignItems: "center", flexDirection: "row", flexWrap: "wrap", gap: GAP3 },
|
|
3515
3515
|
text: { fontSize: FONT_SIZE, fontWeight: "500" }
|
|
3516
3516
|
});
|
|
3517
|
-
var Breadcrumb = ({ items, accessibilityLabel, testID }) => {
|
|
3517
|
+
var Breadcrumb = ({ items, accessibilityLabel, accessibilityHint, testID }) => {
|
|
3518
3518
|
const { theme } = useUi();
|
|
3519
3519
|
const muted = { color: theme.colors.textSecondary };
|
|
3520
|
-
return /* @__PURE__ */ jsxs(View, { "aria-label": accessibilityLabel, style: styles36.row, testID, children: [
|
|
3520
|
+
return /* @__PURE__ */ jsxs(View, { accessibilityHint, "aria-label": accessibilityLabel, style: styles36.row, testID, children: [
|
|
3521
3521
|
/* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles36.text, muted], children: BACK }),
|
|
3522
3522
|
items.map((item, index) => /* @__PURE__ */ jsxs(React16.Fragment, { children: [
|
|
3523
3523
|
index > 0 ? /* @__PURE__ */ jsx(Text, { "aria-hidden": true, style: [styles36.text, muted], children: SEPARATOR }) : null,
|
|
@@ -3617,10 +3617,10 @@ var styles39 = StyleSheet.create({
|
|
|
3617
3617
|
strip: { borderBottomWidth: 1, width: "100%" },
|
|
3618
3618
|
tab: { alignItems: "center", borderBottomWidth: UNDERLINE, flexDirection: "row", gap: GAP6, justifyContent: "center", minHeight: MIN_TARGET_PX, minWidth: MIN_TARGET_PX, paddingHorizontal: PAD_H4 }
|
|
3619
3619
|
});
|
|
3620
|
-
var UnderlineTabs = ({ tabs, activeKey, onChange, accessibilityLabel, underlineColor, testID }) => {
|
|
3620
|
+
var UnderlineTabs = ({ tabs, activeKey, onChange, accessibilityLabel, accessibilityHint, underlineColor, testID }) => {
|
|
3621
3621
|
const { theme } = useUi();
|
|
3622
3622
|
const underline = underlineColor ?? theme.palette.primary[DEFAULT_UNDERLINE_STEP];
|
|
3623
|
-
return /* @__PURE__ */ jsx(View, { style: [styles39.strip, { borderBottomColor: theme.colors.border }], testID, children: /* @__PURE__ */ jsx(ScrollView, { horizontal: true, accessibilityRole: "tablist", "aria-label": accessibilityLabel, showsHorizontalScrollIndicator: false, children: tabs.map((tab) => {
|
|
3623
|
+
return /* @__PURE__ */ jsx(View, { style: [styles39.strip, { borderBottomColor: theme.colors.border }], testID, children: /* @__PURE__ */ jsx(ScrollView, { horizontal: true, accessibilityHint, accessibilityRole: "tablist", "aria-label": accessibilityLabel, showsHorizontalScrollIndicator: false, children: tabs.map((tab) => {
|
|
3624
3624
|
const selected = tab.key === activeKey;
|
|
3625
3625
|
return /* @__PURE__ */ jsxs(
|
|
3626
3626
|
Pressable,
|