File tree Expand file tree Collapse file tree 6 files changed +20
-15
lines changed Expand file tree Collapse file tree 6 files changed +20
-15
lines changed Original file line number Diff line number Diff line change 33node_modules
44.cache
55dist
6- .next
6+ .next
7+ tsconfig.tsbuildinfo
Original file line number Diff line number Diff line change 11{
2- "version" : " 4.6.3 " ,
2+ "version" : " 4.6.4 " ,
33 "license" : " MIT" ,
44 "main" : " dist/index.js" ,
55 "typings" : " dist/index.d.ts" ,
2323 },
2424 "scripts" : {
2525 "start" : " tsdx watch" ,
26- "build" : " node ./scripts/prepare.js && tsdx build && node ./scripts/copyData.js" ,
26+ "build" : " node ./scripts/prepare.js && yarn type-check && tsdx build --transpileOnly && node ./scripts/copyData.js" ,
27+ "type-check" : " tsc --noEmit --incremental --pretty --project tsconfig.json" ,
2728 "test" : " tsdx test --passWithNoTests" ,
2829 "lint" : " eslint ./src --ext .ts,.tsx" ,
29- "prepare" : " tsdx build" ,
30+ "prepare" : " yarn type-check && tsdx build --transpileOnly " ,
3031 "size" : " size-limit" ,
3132 "analyze" : " size-limit --why" ,
3233 "storybook" : " start-storybook -p 6006" ,
9899 "typescript" : " ^4.7.4"
99100 },
100101 "dependencies" : {
101- "flairup" : " 0.0.12 "
102+ "flairup" : " 0.0.15 "
102103 }
103104}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import * as React from 'react';
33import Relative from '../Layout/Relative' ;
44import { CategoryNavigation } from '../navigation/CategoryNavigation' ;
55
6- import './Header.css' ;
76import { SearchContainer } from './Search' ;
87
98export function Header ( ) {
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import { cx } from 'flairup';
22import * as React from 'react' ;
33import { useState } from 'react' ;
44
5+ import { stylesheet } from '../../Stylesheet/stylesheet' ;
56import {
67 useAutoFocusSearchConfig ,
78 useSearchDisabledConfig ,
@@ -29,14 +30,21 @@ export function SearchContainer() {
2930 }
3031
3132 return (
32- < Flex className = "epr-header- overlay" >
33+ < Flex className = { cx ( styles . overlay ) } >
3334 < Search />
3435
3536 { isSkinToneInSearch ? < SkinTonePicker /> : null }
3637 </ Flex >
3738 ) ;
3839}
3940
41+ const styles = stylesheet . create ( {
42+ overlay : {
43+ padding : 'var(--epr-header-padding)' ,
44+ zIndex : 'var(--epr-header-overlay-z-index)'
45+ }
46+ } ) ;
47+
4048export function Search ( ) {
4149 const [ inc , setInc ] = useState ( 0 ) ;
4250 const closeAllOpenToggles = useCloseAllOpenToggles ( ) ;
Original file line number Diff line number Diff line change @@ -6855,10 +6855,10 @@ find-up@^5.0.0:
68556855 locate-path "^6.0.0"
68566856 path-exists "^4.0.0"
68576857
6858- 6859- version "0.0.12 "
6860- resolved "https://registry.yarnpkg.com/flairup/-/flairup-0.0.12 .tgz#e21c83dbe48cca02d0904c4387ccbd31ef248ac5 "
6861- integrity sha512-4u94jPcBLml3d58QLkoLiNqn6O016OQxHxx5ON4IU0eC+A3/QSlAxrw3EB/6FshWzxITNQ5Lrs8j619b/W1eRg ==
6858+ 6859+ version "0.0.15 "
6860+ resolved "https://registry.yarnpkg.com/flairup/-/flairup-0.0.15 .tgz#75021bd21ae5780aad9fc24de90bab233e9899e6 "
6861+ integrity sha512-1NWcJOmBF5MQyyVDj3KKT5nABmoZeIXGuYLhiFBZDNvemrsx2uc8ABM45mQX4MvGFWrWN0RVVjSMfTD3ZzQ3Lg ==
68626862
68636863flat-cache@^2.0.1:
68646864 version "2.0.1"
You can’t perform that action at this time.
0 commit comments