Skip to content

Commit b95497d

Browse files
test: main is green again: Tokenizer's sheet-row test passes presentation, and the recorded module resolutions follow core (#9851)
* test(cli): the recorded module resolutions follow useLightbox's doc and drop the deleted usePressPin #9752 gave useLightbox its own doc; #9756 deleted the internal Layer/usePressPin.ts. Each was green alone because PR checks skip this fixture test; main test-node fails on both lines. * test(Tokenizer): the sheet-row test passes presentation, not the removed experimental prop #9808 added the test with experimental.presentation; #9836 removed that prop. Each was green alone; together main typecheck fails (TS2769). Same change as #9847, folded in here so one pull request turns main green. Co-authored-by: Xinzi Zhou <2252473+imdreamrunner@users.noreply.github.com>
1 parent ccfadbe commit b95497d

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

‎packages/cli/api/component/__fixtures__/resolutions/modules.txt‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ useInternalConfig useInternalConfig PowerSearch/PowerSearch.doc.mjs PowerSearch/
270270
useIsHydrating useIsHydrating hooks/useAnimatedLayout.doc.mjs hooks/useIsHydrating.ts
271271
useIsomorphicLayoutEffect useIsomorphicLayoutEffect hooks/useAnimatedLayout.doc.mjs hooks/useIsomorphicLayoutEffect.ts
272272
useLayerDismissal useLayerDismissal Layer/Layer.doc.mjs Layer/useLayerDismissal.ts
273-
useLightbox useLightbox Lightbox/Lightbox.doc.mjs Lightbox/useLightbox.tsx
273+
useLightbox useLightbox Lightbox/useLightbox.doc.mjs Lightbox/useLightbox.tsx
274274
useLinkComponent useLinkComponent Link/Link.doc.mjs Link/useLinkComponent.ts
275275
useLinkify useLinkify Link/Link.doc.mjs Link/useLinkify.tsx
276276
useListFormatter useListFormatter i18n/InternationalizationProvider.doc.mjs i18n/useListFormatter.ts
@@ -285,7 +285,6 @@ usePager usePager hooks/useAnimatedLayout.doc.mjs hooks/usePager.ts
285285
usePointerDragScroll usePointerDragScroll DateInput/DateInput.doc.mjs DateInput/usePointerDragScroll.ts
286286
usePowerSearchConfig usePowerSearchConfig PowerSearch/PowerSearch.doc.mjs PowerSearch/usePowerSearchConfig.ts
287287
usePowerSearchSource usePowerSearchSource PowerSearch/PowerSearch.doc.mjs PowerSearch/usePowerSearchSource.ts
288-
usePressPin usePressPin Layer/Layer.doc.mjs Layer/usePressPin.ts
289288
useRenamedProp useRenamedProp hooks/useAnimatedLayout.doc.mjs hooks/useRenamedProp.ts
290289
useResolvedRequired useResolvedRequired hooks/useAnimatedLayout.doc.mjs hooks/useResolvedRequired.ts
291290
useScrollSettle useScrollSettle DateInput/DateInput.doc.mjs DateInput/useScrollSettle.ts

‎packages/core/src/Tokenizer/TokenizerBottomSheet.test.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1811,7 +1811,7 @@ describe('Tokenizer sheet presentation (single-sheet touch flow)', () => {
18111811
value={[]}
18121812
onChange={() => {}}
18131813
debounceMs={0}
1814-
experimental={{presentation: 'bottom-sheet'}}
1814+
presentation="bottom-sheet"
18151815
/>
18161816
</StrictMode>,
18171817
);

0 commit comments

Comments
 (0)