| /expo/docs/common/ |
| H A D | headingManager.test.ts | 12 const meta = { maxHeadingDepth: 2, headings: [] }; 15 expect(headingManager.headings).toEqual([]); 16 expect(headingManager.metadata.headings).toEqual([]); 22 const meta = { headings: [{ title: TITLE, depth: 1, type: 'text', _processed: true }] }; 31 const meta = { headings: [{ title: TITLE, depth: 1, type: 'text' }] }; 44 headings: [{ title: META_TITLE, depth: META_LEVEL, type: 'text' }], 63 headingManager.metadata.headings?.forEach(it => (it._processed = false)); 87 expect(headingManager.headings).toContain(ok); 88 expect(headingManager.headings).not.toContain(tooLow); 89 expect(headingManager.headings).not.toContain(tooHigh); [all …]
|
| H A D | headingManager.ts | 47 type Metadata = Partial<PageMetadata> & { headings: (RemarkHeading & { _processed?: boolean })[] }; 73 public get headings() { method in HeadingManager 148 const entry = this._meta.headings.find(
|
| H A D | test-utilities.tsx | 9 <HeadingsContext.Provider value={new HeadingManager(new GithubSlugger(), { headings: [] })}>
|
| /expo/docs/ui/components/TableOfContents/ |
| H A D | useHeadingObserver.ts | 16 const [headings, setHeadings] = useState<HeadingEntry[]>([]); constant 21 const headings = Array.from(document.querySelectorAll<HTMLHeadingElement>(tags)).map( constant 37 setHeadings(headings); 38 headings.forEach(heading => observerRef.current?.observe(heading.element)); 47 return { headings, activeId };
|
| H A D | TableOfContents.tsx | 15 const { headings, activeId } = useHeadingsObserver(); 25 {headings.map(heading => (
|
| /expo/docs/mdx-plugins/ |
| H A D | remark-export-headings.js | 22 const headings = []; 27 headings.push({ 41 estree: parse(`export const ${exportName} = ${JSON.stringify(headings)};`, {
|
| /expo/docs/components/page-higher-order/ |
| H A D | DocumentationElements.tsx | 14 headings: RemarkHeading[]; 21 headings: props.headings,
|
| /expo/docs/components/ |
| H A D | DocumentationSidebarRight.tsx | 70 const { headings } = this.props.headingManager; 72 for (const { ref, slug } of headings) { 95 const { headings } = this.props.headingManager; 97 //filter out headings nested too much 98 const displayedHeadings = headings.filter(
|
| H A D | DocumentationSidebarRight.test.tsx | 10 const headingManager = new HeadingManager(new GithubSlugger(), { headings: [] });
|
| /expo/docs/ui/components/Step/ |
| H A D | Step.tsx | 15 …<div className="pt-1.5 w-full max-w-[calc(100%-44px)] prose-headings:!-mt-1 prose-ul:!mb-0 prose-o…
|
| /expo/docs/ui/components/Collapsible/ |
| H A D | Collapsible.test.tsx | 11 const headingManager = new HeadingManager(new GithubSlugger(), { headings: [] });
|
| H A D | index.tsx | 61 // These are normally generated for MD (#) headings, but Collapsible doesn't have those.
|
| /expo/docs/.vale/writing-styles/expo-docs/ |
| H A D | HeadingCase.yml | 3 …//github.com/expo/expo/blob/main/guides/Expo%20Documentation%20Writing%20Style%20Guide.md#headings'
|
| /expo/docs/ui/components/Navigation/ |
| H A D | Navigation.test.tsx | 16 const headingManager = new HeadingManager(new GithubSlugger(), { headings: [] });
|
| /expo/guides/ |
| H A D | Expo Documentation Writing Style Guide.md | 62 - **Ampersands (&)**: Don't use "&" instead of "and" in headings, text, navigation, or tables of co… 122 One exception to avoid them is in headings for sections or sub-sections. 159 Use sentence case for section or sub-section headings inside an individual page except when the hea…
|
| /expo/packages/expo-location/build/ |
| H A D | Location.types.js.map | 1 …s subscription object returned by methods watching for new locations or headings.\n */\nexport typ…
|
| /expo/docs/ |
| H A D | README.md | 71 - `maxHeadingDepth`: The max level of headings shown in Table of Content on the right side. Default…
|