Skip to content
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.
2 changes: 1 addition & 1 deletion semcore/date-picker/src/components/InputTrigger.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ function RangeSep(props) {
tag={Flex}
alignItems='center'
justifyContent='center'
pl={0}
px={1.5}
flex='0'
>
–
Expand Down
31 changes: 22 additions & 9 deletions semcore/date-picker/src/style/date-picker.shadow.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SPopper {
padding: var(--intergalactic-spacing-4x, 16px);
padding: var(--intergalactic-spacing-content-padding-large, 16px);

&::-moz-focus-inner {
border: none;
Expand Down Expand Up @@ -30,14 +30,14 @@ STitle {

SToday {
display: flex;
margin-top: var(--intergalactic-spacing-3x, 12px);
margin-top: var(--intergalactic-spacing-content-gap-xlarge, 12px);
justify-content: center;
}

SPeriod {
display: flex;
flex-direction: column;
margin-bottom: var(--intergalactic-spacing-2x, 8px);
margin-bottom: var(--intergalactic-spacing-content-gap-large, 8px);
}

SButton {
Expand All @@ -48,10 +48,18 @@ SButton {
}
}

SSingleDateInput {
SInputMask {
padding-right: 0;
}
SValue {
padding-right: 0;
}
}

SInputMask {
color: var(--intergalactic-text-primary, oklch(0.23 0.009 245));
line-height: normal;
padding-right: var(--intergalactic-spacing-2x, 8px);
transition: width calc(var(--intergalactic-duration-medium, 300) * 1ms) ease, min-width calc(var(--intergalactic-duration-medium, 300) * 1ms) ease;
}

Expand Down Expand Up @@ -103,6 +111,11 @@ SMask {
overflow: hidden;
}

SSingleDateInput,
SDateRange {
padding-right: var(--intergalactic-spacing-content-padding-medium, 12px);
}

SSingleDateInput SValue,
SDateRange SMask,
SSingleDateInput SMask,
Expand Down Expand Up @@ -150,24 +163,24 @@ SDateRange:focus-within SRangeSep {

SRangeComparatorHeader {
border-bottom: 1px solid var(--intergalactic-border-primary, oklch(0.277 0.066 242.6 / 0.18));
padding: var(--intergalactic-spacing-4x, 16px);
padding: var(--intergalactic-spacing-content-padding-large, 16px);
}

SRangeCalendar {
padding: var(--intergalactic-spacing-4x, 16px);
padding: var(--intergalactic-spacing-content-padding-large, 16px);
}

SFooter {
border-top: 1px solid var(--intergalactic-border-primary, oklch(0.277 0.066 242.6 / 0.18));
padding: var(--intergalactic-spacing-4x, 16px);
padding: var(--intergalactic-spacing-content-padding-large, 16px);
}

SPeriodsList {
padding: var(--intergalactic-spacing-4x, 16px);
padding: var(--intergalactic-spacing-content-padding-large, 16px);
}

STooltip {
padding: var(--intergalactic-spacing-3x, 12px);
padding: var(--intergalactic-spacing-content-padding-medium, 12px);
}

SCompareToggle {
Expand Down
3 changes: 3 additions & 0 deletions website/docs/style/design-tokens/design-tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -3613,6 +3613,7 @@
"card",
"d3-chart",
"data-table",
"date-picker",
"dropdown",
"feedback-form",
"fullscreen-modal",
Expand All @@ -3639,6 +3640,7 @@
"bulk-textarea",
"color-picker",
"data-table",
"date-picker",
"feature-popover",
"fullscreen-modal",
"notice",
Expand Down Expand Up @@ -3774,6 +3776,7 @@
"color-picker",
"d3-chart",
"data-table",
"date-picker",
"fullscreen-modal",
"notice-bubble",
"pagination",
Expand Down
Loading