-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- feat(web) adds gzip compression optimization to the cookie-based se…
…ssion storage scheme, greatly alleviating the 4KB request header limitation in Serverless scenarios, while also reducing the request header transfer burden - feat(grommet) Optimize the LocaleMenu component - feat(grommet) update Cellbang icon - feat(fact) adds `@Icon()` decorator for injecting custom icon components - feat(cli) provides the default site icon, the template no longer provides favicon.ico files, developers can override the default by placing a custom favicon.ico file at the root of the project - feat(security + oauth2-client) provides authentication success custom redirect URL capability for OIDC authentication
- Loading branch information
1 parent
2810fd4
commit 44a970a
Showing
25 changed files
with
131 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import * as React from 'react'; | ||
import { Blank, IconProps } from 'grommet-icons'; | ||
import { Icon } from '@malagu/react'; | ||
|
||
export function Cellbang(props: IconProps) { | ||
return ( | ||
<Blank {...props}> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 182 182"> | ||
<g> | ||
<rect x="0" y="20" width="30" height="138" stroke="none"/> | ||
<rect x="0" y="0" width="180" height="40" rx="20" ry="20" stroke="none"/> | ||
<rect x="0" y="140" width="180" height="40" rx="20" ry="20" stroke="none"/> | ||
<rect x="150" y="20" width="30" height="138" stroke="none"/> | ||
<rect x="90" y="80" width="80" height="40" stroke="none"/> | ||
</g> | ||
</svg> | ||
</Blank> | ||
); | ||
} | ||
|
||
@Icon(Cellbang) | ||
export default class {}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,7 @@ | ||
import * as React from 'react'; | ||
import { IconProps } from './icon-protocol'; | ||
import { Icon as RawIcon } from '@malagu/react'; | ||
import { Blank, IconProps as RawIconProps } from 'grommet-icons'; | ||
import { Icon as RawIcon } from '@malagu/react/lib/browser/icon/icon'; | ||
|
||
export function Icon(iconProps: IconProps) { | ||
return (<RawIcon {...iconProps}/>); | ||
} | ||
|
||
export function Cellbang(props: RawIconProps) { | ||
return ( | ||
<Blank {...props}> | ||
<svg viewBox="0 0 24 14.832" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"> | ||
<rect width="24" height="14.832" /> | ||
</svg> | ||
</Blank> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export * from './icon'; | ||
export * from './cellbang'; | ||
export * from './icon-protocol'; | ||
export * from './icon-resolver'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ReactComponent } from './react-component'; | ||
import { ICON } from '../icon/icon-protocol'; | ||
import * as React from 'react'; | ||
|
||
export const Icon = | ||
function (component?: React.ComponentType<any>, rebind: boolean = false): (target: any) => any { | ||
return (t: any) => { | ||
ReactComponent(ICON, component || t, rebind)(t); | ||
}; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
export * from './icon'; | ||
export * from './icon-protocol'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters