Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd1df45f

Browse files
authored
Merge pull request#77 from streamich/simplify
Simplify
2 parentsfff700d +4c36ea1 commitd1df45f

File tree

5 files changed

+7
-34
lines changed

5 files changed

+7
-34
lines changed

‎package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
},
2828
"dependencies": {
2929
"nano-css":"^5.6.2",
30-
"react-use":"^17.4.0",
31-
"thingies":"^2.0.0"
30+
"react-use":"^17.6.0",
31+
"thingies":"^2.5.0"
3232
},
3333
"peerDependencies": {
3434
"react":"*"

‎src/global-reset.ts‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,6 @@ put('', {
6969
'&:hover':{
7070
col:lightTheme.color.sem.brand[0],
7171
},
72-
'p &':{
73-
bdb:'1px solid rgba(0,137,255,.3)',
74-
'&:hover':{
75-
bdb:'1px solid rgba(244,18,36,.3)',
76-
},
77-
},
7872
},
7973
'button:focus,a:focus':{
8074
outlineOffset:'1px',

‎src/index.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import'./global-reset';
2-
31
export*from'./types';
42
export*from'./constants';
53
export*from'./css';

‎src/react.ts‎

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,7 @@ export const useRule = (fn: StylerFunction<Theme>): string => {
2727
returnclassName;
2828
};
2929

30-
exportconstmakeRule=(fn:StylerFunction<Theme>)=>{
31-
constuseRuleEnclosed=()=>useRule(fn);
32-
returnuseRuleEnclosed;
33-
};
30+
exportconstmakeRule=(fn:StylerFunction<Theme>)=>()=>useRule(fn);
3431

3532
importuseIsomorphicLayoutEffectfrom'react-use/lib/useIsomorphicLayoutEffect';
3633

‎yarn.lock‎

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ react-universal-interface@^0.6.2:
513513
resolved "https://registry.yarnpkg.com/react-universal-interface/-/react-universal-interface-0.6.2.tgz#5e8d438a01729a4dbbcbeeceb0b86be146fe2b3b"
514514
integrity sha512-dg8yXdcQmvgR13RIlZbTRQOoUrDciFVoSBZILwjE2LFISxZZ8loVJKAkuzswl5js8BHda79bIb2b84ehU8IjXw==
515515

516-
react-use@^17.4.0:
516+
react-use@^17.6.0:
517517
version "17.6.0"
518518
resolved "https://registry.yarnpkg.com/react-use/-/react-use-17.6.0.tgz#2101a3a79dc965a25866b21f5d6de4b128488a14"
519519
integrity sha512-OmedEScUMKFfzn1Ir8dBxiLLSOzhKe/dPZwVxcujweSj45aNM7BEGPb9BEVIgVEqEXx6f3/TsXzwIktNgUR02g==
@@ -623,16 +623,7 @@ stacktrace-js@^2.0.2:
623623
stack-generator "^2.0.5"
624624
stacktrace-gps "^3.0.4"
625625

626-
"string-width-cjs@npm:string-width@^4.2.0":
627-
version "4.2.3"
628-
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
629-
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
630-
dependencies:
631-
emoji-regex "^8.0.0"
632-
is-fullwidth-code-point "^3.0.0"
633-
strip-ansi "^6.0.1"
634-
635-
string-width@^4.1.0:
626+
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0:
636627
version "4.2.3"
637628
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
638629
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -650,14 +641,7 @@ string-width@^5.0.1, string-width@^5.1.2:
650641
emoji-regex "^9.2.2"
651642
strip-ansi "^7.0.1"
652643

653-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
654-
version "6.0.1"
655-
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
656-
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
657-
dependencies:
658-
ansi-regex "^5.0.1"
659-
660-
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
644+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
661645
version "6.0.1"
662646
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
663647
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -681,7 +665,7 @@ stylis@^4.3.0:
681665
resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.3.6.tgz#7c7b97191cb4f195f03ecab7d52f7902ed378320"
682666
integrity sha512-yQ3rwFWRfwNUY7H5vpU0wfdkNSnvnJinhF9830Swlaxl03zsOjCfmX0ugac+3LtK0lYSgwL/KXc8oYL3mG4YFQ==
683667

684-
thingies@^2.0.0:
668+
thingies@^2.5.0:
685669
version "2.5.0"
686670
resolved "https://registry.yarnpkg.com/thingies/-/thingies-2.5.0.tgz#5f7b882c933b85989f8466b528a6247a6881e04f"
687671
integrity sha512-s+2Bwztg6PhWUD7XMfeYm5qliDdSiZm7M7n8KjTkIsm3l/2lgVRc2/Gx/v+ZX8lT4FMA+i8aQvhcWylldc+ZNw==

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp