Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 12 additions & 8 deletions semcore/date-picker/src/components/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,11 @@ export function Title({ Children, styles }) {
);
}

export function Prev({ children, Children }) {
return (
<Root render={Button} use='tertiary' theme='muted' size='l'>
export function Prev({ children, Children, styles }) {
const SPrevButton = Root;

return sstyled(styles)(
<SPrevButton render={Button} use='tertiary' theme='muted' size='l'>
{children
? (
<Children />
Expand All @@ -64,13 +66,15 @@ export function Prev({ children, Children }) {
<ChevronLeft />
</Button.Addon>
)}
</Root>
</SPrevButton>,
);
}

export function Next({ children, Children }) {
return (
<Root render={Button} use='tertiary' theme='muted' size='l'>
export function Next({ children, Children, styles }) {
const SNextButton = Root;

return sstyled(styles)(
<SNextButton render={Button} use='tertiary' theme='muted' size='l'>
{children
? (
<Children />
Expand All @@ -80,7 +84,7 @@ export function Next({ children, Children }) {
<ChevronRight />
</Button.Addon>
)}
</Root>
</SNextButton>,
);
}

Expand Down
8 changes: 6 additions & 2 deletions semcore/date-picker/src/style/date-picker.shadow.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@ SPeriod {
margin-bottom: var(--intergalactic-spacing-2x, 8px);
}

SButton SInner {
justify-content: flex-start;
SButton {
&:not(SPrevButton, SNextButton) {
SInner {
justify-content: flex-start;
}
}
}

SInputMask {
Expand Down
Loading