@dloizides/ui-layout 1.34.0 → 1.35.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/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -104,10 +104,11 @@ interface StickyPreviewProps {
|
|
|
104
104
|
forceCompact?: boolean;
|
|
105
105
|
topOffset?: number;
|
|
106
106
|
accessibilityLabel: string;
|
|
107
|
+
accessibilityHint?: string;
|
|
107
108
|
testID?: string;
|
|
108
109
|
}
|
|
109
110
|
/** Keeps a preview at the top of the visible viewport, swapping to its compact slot while space is short. */
|
|
110
|
-
declare const StickyPreview: ({ full, compact, forceCompact, topOffset, accessibilityLabel, testID, }: StickyPreviewProps) => React.ReactElement;
|
|
111
|
+
declare const StickyPreview: ({ full, compact, forceCompact, topOffset, accessibilityLabel, accessibilityHint, testID, }: StickyPreviewProps) => React.ReactElement;
|
|
111
112
|
|
|
112
113
|
interface VisibleViewport {
|
|
113
114
|
offsetTop: number;
|
package/dist/index.d.ts
CHANGED
|
@@ -104,10 +104,11 @@ interface StickyPreviewProps {
|
|
|
104
104
|
forceCompact?: boolean;
|
|
105
105
|
topOffset?: number;
|
|
106
106
|
accessibilityLabel: string;
|
|
107
|
+
accessibilityHint?: string;
|
|
107
108
|
testID?: string;
|
|
108
109
|
}
|
|
109
110
|
/** Keeps a preview at the top of the visible viewport, swapping to its compact slot while space is short. */
|
|
110
|
-
declare const StickyPreview: ({ full, compact, forceCompact, topOffset, accessibilityLabel, testID, }: StickyPreviewProps) => React.ReactElement;
|
|
111
|
+
declare const StickyPreview: ({ full, compact, forceCompact, topOffset, accessibilityLabel, accessibilityHint, testID, }: StickyPreviewProps) => React.ReactElement;
|
|
111
112
|
|
|
112
113
|
interface VisibleViewport {
|
|
113
114
|
offsetTop: number;
|
package/dist/index.js
CHANGED
|
@@ -346,6 +346,7 @@ var StickyPreview = ({
|
|
|
346
346
|
forceCompact = false,
|
|
347
347
|
topOffset = 0,
|
|
348
348
|
accessibilityLabel,
|
|
349
|
+
accessibilityHint,
|
|
349
350
|
testID = LAYOUT_TEST_IDS.stickyPreview
|
|
350
351
|
}) => {
|
|
351
352
|
const { theme } = uiFeedback.useUi();
|
|
@@ -361,6 +362,7 @@ var StickyPreview = ({
|
|
|
361
362
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
362
363
|
reactNative.View,
|
|
363
364
|
{
|
|
365
|
+
accessibilityHint,
|
|
364
366
|
accessibilityLabel,
|
|
365
367
|
role: "region",
|
|
366
368
|
style: [
|