| /expo/docs/ui/components/TableOfContents/ |
| H A D | TableOfContents.tsx | 25 {headings.map(heading => ( 26 <li key={`heading-${heading.id}`} data-toc-id={heading.id}> 27 <TableOfContentsLink {...heading} isActive={heading.id === activeId} /> 68 export function getHeadingIndent(heading: HTMLHeadingElement) { 69 const level = Math.max(Number(heading.tagName.slice(1)) - 2, 0); 74 * Parse the heading information from an HTML heading element. 77 export function getHeadingInfo(heading: HTMLHeadingElement) { 78 const text = heading.textContent || '';
|
| H A D | TableOfContents.test.tsx | 10 it('returns no padding for h1 heading', () => { 14 it('returns no padding for h2 heading', () => { 18 it('returns 1x padding for h3 heading', () => { 22 it('returns 2x padding for h4 heading', () => { 26 it('returns 3x padding for h5 heading', () => { 30 it('returns 4x padding for h6 heading', () => { 36 it('returns normal text from h1 heading', () => { 43 it('returns normal text from h2 heading', () => { 57 it('returns code text from h4 heading with function name', () => { 82 render(<Tag data-testid="heading">{text}</Tag>); [all …]
|
| H A D | useHeadingObserver.ts | 38 headings.forEach(heading => observerRef.current?.observe(heading.element)); 54 function getHeadingId(heading: HTMLHeadingElement): string { 55 return heading.id || heading.dataset.id || '';
|
| /expo/packages/html-elements/src/elements/__tests__/__snapshots__/ |
| H A D | Headings-test.tsx.snap.web | 8 role="heading" 17 role="heading" 26 role="heading" 35 role="heading" 44 role="heading" 53 role="heading"
|
| /expo/docs/common/ |
| H A D | headingManager.ts | 124 const heading = { constant 136 this._headings.push(heading); 139 return heading; 149 heading => heading.title === realTitle && !heading._processed
|
| /expo/packages/expo-maps/ios/ExpoMaps/Records/ |
| H A D | UserLocationRecord.swift | 13 @Field var heading: Double? variable 23 heading = location.course 34 heading = location.heading?.trueHeading
|
| /expo/ios/versioned/sdk49/ExpoMaps/ExpoMaps/Records/ |
| H A D | UserLocationRecord.swift | 13 @Field var heading: Double? variable 23 heading = location.course 34 heading = location.heading?.trueHeading
|
| /expo/ios/versioned/sdk48/ExpoMaps/ExpoMaps/Records/ |
| H A D | UserLocationRecord.swift | 13 @Field var heading: Double? variable 23 heading = location.course 34 heading = location.heading?.trueHeading
|
| /expo/packages/@expo/metro-runtime/src/error-overlay/overlay/ |
| H A D | LogBoxInspectorSection.tsx | 14 heading: string; 22 <View style={styles.heading}> 23 <Text style={styles.headingText}>{props.heading}</Text> 35 heading: {
|
| /expo/docs/components/plugins/ |
| H A D | APISection.test.tsx | 28 expect(screen.getAllByRole('heading', { level: 2 })).toHaveLength(6); 29 expect(screen.getAllByRole('heading', { level: 3 })).toHaveLength(25); 56 expect(screen.getAllByRole('heading', { level: 2 })).toHaveLength(7); 57 expect(screen.getAllByRole('heading', { level: 3 })).toHaveLength(19); 78 expect(screen.getAllByRole('heading', { level: 2 })).toHaveLength(4); 79 expect(screen.getAllByRole('heading', { level: 3 })).toHaveLength(11); 102 expect(screen.getAllByRole('heading', { level: 2 })).toHaveLength(3); 103 expect(screen.getAllByRole('heading', { level: 3 })).toHaveLength(18);
|
| /expo/docs/.vale/writing-styles/expo-docs/ |
| H A D | HeadingPunctuation.yml | 2 message: "Don't put a period at the end of a heading." 5 scope: heading
|
| H A D | HeadingCase.yml | 6 - heading.h2 7 - heading.h3 8 - heading.h4 9 - heading.h5
|
| /expo/docs/components/ |
| H A D | Permalink.tsx | 18 // Sidebar heading level override 87 const heading = props.headingManager.addHeading( 96 <LinkBase css={STYLES_PERMALINK_LINK} href={'#' + heading.slug} ref={heading.ref}> 97 <span css={STYLES_PERMALINK_TARGET} id={heading.slug} />
|
| H A D | DocumentationSidebarRight.tsx | 121 {displayedHeadings.map(heading => { 122 const isActive = heading.slug === this.state.activeSlug; 125 key={heading.slug} 126 heading={heading} 127 onClick={e => this.handleLinkClick(e, heading)} 160 private handleLinkClick = (event: React.MouseEvent<HTMLAnchorElement>, heading: Heading) => { 166 const { slug, ref } = heading;
|
| H A D | DocumentationSidebarRight.test.tsx | 11 headingManager.addHeading('Base level heading', undefined, {}); 13 headingManager.addHeading('Code heading depth 1', 0, {
|
| /expo/packages/@expo/metro-runtime/build/error-overlay/overlay/ |
| H A D | LogBoxInspectorSection.js | 42 react_1.default.createElement(react_native_1.View, { style: styles.heading }, 43 … react_1.default.createElement(react_native_1.Text, { style: styles.headingText }, props.heading), 52 heading: { property
|
| H A D | LogBoxInspectorSection.d.ts | 10 heading: string;
|
| H A D | LogBoxInspectorSection.js.map | 1 …heading: string;\n children: React.ReactNode;\n action?: any;\n};\n\nexport function LogBoxInspe…
|
| /expo/apps/native-component-list/src/screens/ |
| H A D | ClipboardPasteButtonScreen.tsx | 37 <Text style={styles.heading}>Text Paste Result:</Text> 46 <Text style={styles.heading}>Image Paste Result:</Text> 63 heading: {
|
| /expo/docs/ui/components/Collapsible/ |
| H A D | index.tsx | 34 // expand collapsible if the current hash matches the heading 39 if (hash && hash === heading.current.slug) { 63 const heading = React.useRef(props.headingManager.addHeading(summary, 1, undefined)); 66 <details id={heading.current.slug} css={detailsStyle} open={open} data-testid={testID}> 71 <LinkBase href={'#' + heading.current.slug} ref={heading.current.ref}>
|
| /expo/docs/components/__snapshots__/ |
| H A D | DocumentationSidebarRight.test.tsx.snap | 66 href="#base-level-heading" 72 Base level heading 88 href="#code-heading-depth-1" 94 Code heading depth 1
|
| /expo/ios/versioned-react-native/ABI49_0_0/Expo/ExpoKit/Core/Api/Components/Maps/ |
| H A D | ABI49_0_0RCTConvert+AirMap.m | 53 if (json[@"heading"]) { 54 camera.heading = [self double:json[@"heading"]];
|
| /expo/ios/versioned-react-native/ABI47_0_0/Expo/ExpoKit/Core/Api/Components/Maps/ |
| H A D | ABI47_0_0RCTConvert+AirMap.m | 53 if (json[@"heading"]) { 54 camera.heading = [self double:json[@"heading"]];
|
| /expo/ios/versioned-react-native/ABI48_0_0/Expo/ExpoKit/Core/Api/Components/Maps/ |
| H A D | ABI48_0_0RCTConvert+AirMap.m | 53 if (json[@"heading"]) { 54 camera.heading = [self double:json[@"heading"]];
|
| /expo/ios/Exponent/Versioned/Core/Api/Components/Maps/ |
| H A D | RCTConvert+AirMap.m | 53 if (json[@"heading"]) { 54 camera.heading = [self double:json[@"heading"]];
|