@react-spectrum/datepicker 3.11.0 → 3.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DateField.main.js +7 -11
- package/dist/DateField.main.js.map +1 -1
- package/dist/DateField.mjs +7 -11
- package/dist/DateField.module.js +7 -11
- package/dist/DateField.module.js.map +1 -1
- package/dist/DatePicker.main.js +12 -14
- package/dist/DatePicker.main.js.map +1 -1
- package/dist/DatePicker.mjs +12 -14
- package/dist/DatePicker.module.js +12 -14
- package/dist/DatePicker.module.js.map +1 -1
- package/dist/DatePickerField.main.js +2 -2
- package/dist/DatePickerField.main.js.map +1 -1
- package/dist/DatePickerField.mjs +2 -2
- package/dist/DatePickerField.module.js +2 -2
- package/dist/DatePickerField.module.js.map +1 -1
- package/dist/DatePickerSegment.main.js +2 -2
- package/dist/DatePickerSegment.main.js.map +1 -1
- package/dist/DatePickerSegment.mjs +2 -2
- package/dist/DatePickerSegment.module.js +2 -2
- package/dist/DatePickerSegment.module.js.map +1 -1
- package/dist/DateRangePicker.main.js +18 -16
- package/dist/DateRangePicker.main.js.map +1 -1
- package/dist/DateRangePicker.mjs +18 -16
- package/dist/DateRangePicker.module.js +18 -16
- package/dist/DateRangePicker.module.js.map +1 -1
- package/dist/Input.main.js +4 -5
- package/dist/Input.main.js.map +1 -1
- package/dist/Input.mjs +4 -5
- package/dist/Input.module.js +4 -5
- package/dist/Input.module.js.map +1 -1
- package/dist/TimeField.main.js +6 -10
- package/dist/TimeField.main.js.map +1 -1
- package/dist/TimeField.mjs +6 -10
- package/dist/TimeField.module.js +6 -10
- package/dist/TimeField.module.js.map +1 -1
- package/dist/inputgroup_vars_css.main.js +26 -26
- package/dist/inputgroup_vars_css.mjs +26 -26
- package/dist/inputgroup_vars_css.module.js +26 -26
- package/dist/{styles.4bf108e6.css → styles.cec10db3.css} +47 -48
- package/dist/styles.cec10db3.css.map +1 -0
- package/dist/styles_css.main.js +23 -23
- package/dist/styles_css.main.js.map +1 -1
- package/dist/styles_css.mjs +23 -23
- package/dist/styles_css.module.js +23 -23
- package/dist/styles_css.module.js.map +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/utils.main.js +44 -32
- package/dist/utils.main.js.map +1 -1
- package/dist/utils.mjs +37 -29
- package/dist/utils.module.js +37 -29
- package/dist/utils.module.js.map +1 -1
- package/dist/{vars.61240e3b.css → vars.ba84240a.css} +3 -3
- package/dist/{vars.61240e3b.css.map → vars.ba84240a.css.map} +1 -1
- package/dist/{vars.6aae6db6.css → vars.fb8d1a6e.css} +133 -133
- package/dist/{vars.6aae6db6.css.map → vars.fb8d1a6e.css.map} +1 -1
- package/package.json +21 -21
- package/src/DateField.tsx +6 -9
- package/src/DatePicker.tsx +8 -9
- package/src/DatePickerField.tsx +2 -2
- package/src/DatePickerSegment.tsx +2 -2
- package/src/DateRangePicker.tsx +39 -38
- package/src/Input.tsx +2 -5
- package/src/TimeField.tsx +6 -9
- package/src/styles.css +3 -4
- package/src/{utils.ts → utils.tsx} +9 -7
- package/dist/styles.4bf108e6.css.map +0 -1
|
@@ -56,32 +56,32 @@ var $8fb52a80fe52b1c7$export$92706f5c6fe4074;
|
|
|
56
56
|
var $8fb52a80fe52b1c7$export$dcc9e00cdad967fa;
|
|
57
57
|
var $8fb52a80fe52b1c7$export$f7ab13ee113f4884;
|
|
58
58
|
var $8fb52a80fe52b1c7$export$5e116178f9b1556a;
|
|
59
|
-
$8fb52a80fe52b1c7$export$f39a09f249340e2a = `
|
|
60
|
-
$8fb52a80fe52b1c7$export$8c4ee2c50c22c514 = `
|
|
61
|
-
$8fb52a80fe52b1c7$export$d35bc1e505d1ebbf = `
|
|
62
|
-
$8fb52a80fe52b1c7$export$e7dc768d35940237 = `
|
|
63
|
-
$8fb52a80fe52b1c7$export$b8813cd5d7824ce7 = `
|
|
64
|
-
$8fb52a80fe52b1c7$export$1e0fb04f31d3c22a = `
|
|
65
|
-
$8fb52a80fe52b1c7$export$58dd7cd23c92699f = `
|
|
66
|
-
$8fb52a80fe52b1c7$export$1d8b0b29e11d7cd = `
|
|
67
|
-
$8fb52a80fe52b1c7$export$202113e883898dc = `
|
|
68
|
-
$8fb52a80fe52b1c7$export$1c72fb41fa4f21ee = `
|
|
69
|
-
$8fb52a80fe52b1c7$export$eb262b15b9261fde = `
|
|
70
|
-
$8fb52a80fe52b1c7$export$80f9c838a8406469 = `
|
|
71
|
-
$8fb52a80fe52b1c7$export$a024c99ecf6b5741 = `
|
|
72
|
-
$8fb52a80fe52b1c7$export$c9f503f672e8a3c1 = `
|
|
73
|
-
$8fb52a80fe52b1c7$export$4109102f950813a6 = `
|
|
74
|
-
$8fb52a80fe52b1c7$export$24c7f46a6e3605dd = `
|
|
75
|
-
$8fb52a80fe52b1c7$export$2927016961429360 = `
|
|
76
|
-
$8fb52a80fe52b1c7$export$5be359c1227eedcb = `
|
|
77
|
-
$8fb52a80fe52b1c7$export$3b48509739a9cda0 = `
|
|
78
|
-
$8fb52a80fe52b1c7$export$ebf265ffc062029b = `
|
|
79
|
-
$8fb52a80fe52b1c7$export$ea77459595e26bec = `
|
|
80
|
-
$8fb52a80fe52b1c7$export$b91b6af799fd93a8 = `
|
|
81
|
-
$8fb52a80fe52b1c7$export$92706f5c6fe4074 = `
|
|
82
|
-
$8fb52a80fe52b1c7$export$dcc9e00cdad967fa = `
|
|
83
|
-
$8fb52a80fe52b1c7$export$f7ab13ee113f4884 = `
|
|
84
|
-
$8fb52a80fe52b1c7$export$5e116178f9b1556a = `
|
|
59
|
+
$8fb52a80fe52b1c7$export$f39a09f249340e2a = `nWhlFW_focus-ring`;
|
|
60
|
+
$8fb52a80fe52b1c7$export$8c4ee2c50c22c514 = `nWhlFW_i18nFontFamily`;
|
|
61
|
+
$8fb52a80fe52b1c7$export$d35bc1e505d1ebbf = `nWhlFW_is-disabled`;
|
|
62
|
+
$8fb52a80fe52b1c7$export$e7dc768d35940237 = `nWhlFW_is-focused`;
|
|
63
|
+
$8fb52a80fe52b1c7$export$b8813cd5d7824ce7 = `nWhlFW_is-hovered`;
|
|
64
|
+
$8fb52a80fe52b1c7$export$1e0fb04f31d3c22a = `nWhlFW_is-selected`;
|
|
65
|
+
$8fb52a80fe52b1c7$export$58dd7cd23c92699f = `nWhlFW_spectrum-Datepicker--datetimeRange`;
|
|
66
|
+
$8fb52a80fe52b1c7$export$1d8b0b29e11d7cd = `nWhlFW_spectrum-Datepicker--range`;
|
|
67
|
+
$8fb52a80fe52b1c7$export$202113e883898dc = `nWhlFW_spectrum-Datepicker--rangeDash`;
|
|
68
|
+
$8fb52a80fe52b1c7$export$1c72fb41fa4f21ee = `nWhlFW_spectrum-Datepicker-endField`;
|
|
69
|
+
$8fb52a80fe52b1c7$export$eb262b15b9261fde = `nWhlFW_spectrum-Datepicker-focusRing`;
|
|
70
|
+
$8fb52a80fe52b1c7$export$80f9c838a8406469 = `nWhlFW_spectrum-Datepicker-startField`;
|
|
71
|
+
$8fb52a80fe52b1c7$export$a024c99ecf6b5741 = `nWhlFW_spectrum-FieldButton`;
|
|
72
|
+
$8fb52a80fe52b1c7$export$c9f503f672e8a3c1 = `nWhlFW_spectrum-FieldButton--invalid`;
|
|
73
|
+
$8fb52a80fe52b1c7$export$4109102f950813a6 = `nWhlFW_spectrum-FocusRing-ring`;
|
|
74
|
+
$8fb52a80fe52b1c7$export$24c7f46a6e3605dd = `nWhlFW_spectrum-FocusRing ${$8fb52a80fe52b1c7$export$4109102f950813a6}`;
|
|
75
|
+
$8fb52a80fe52b1c7$export$2927016961429360 = `nWhlFW_spectrum-FocusRing--quiet`;
|
|
76
|
+
$8fb52a80fe52b1c7$export$5be359c1227eedcb = `nWhlFW_spectrum-InputGroup ${$8fb52a80fe52b1c7$export$24c7f46a6e3605dd}`;
|
|
77
|
+
$8fb52a80fe52b1c7$export$3b48509739a9cda0 = `nWhlFW_spectrum-InputGroup--invalid`;
|
|
78
|
+
$8fb52a80fe52b1c7$export$ebf265ffc062029b = `nWhlFW_spectrum-InputGroup--quiet ${$8fb52a80fe52b1c7$export$2927016961429360}`;
|
|
79
|
+
$8fb52a80fe52b1c7$export$ea77459595e26bec = `nWhlFW_spectrum-InputGroup-field`;
|
|
80
|
+
$8fb52a80fe52b1c7$export$b91b6af799fd93a8 = `nWhlFW_spectrum-InputGroup-icon`;
|
|
81
|
+
$8fb52a80fe52b1c7$export$92706f5c6fe4074 = `nWhlFW_spectrum-InputGroup-input`;
|
|
82
|
+
$8fb52a80fe52b1c7$export$dcc9e00cdad967fa = `nWhlFW_spectrum-InputGroup-input-circleLoader`;
|
|
83
|
+
$8fb52a80fe52b1c7$export$f7ab13ee113f4884 = `nWhlFW_spectrum-InputGroup-input-validationIcon`;
|
|
84
|
+
$8fb52a80fe52b1c7$export$5e116178f9b1556a = `nWhlFW_spectrum-InputGroup-popover--quiet`;
|
|
85
85
|
|
|
86
86
|
|
|
87
87
|
export {$8fb52a80fe52b1c7$exports as default};
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
.
|
|
2
|
-
min-width: var(--spectrum-global-dimension-size-2000);
|
|
1
|
+
.yoC59W_react-spectrum-Datepicker-fieldWrapper.yoC59W_react-spectrum-Datepicker-fieldWrapper.yoC59W_react-spectrum-Datepicker-fieldWrapper {
|
|
3
2
|
width: auto;
|
|
3
|
+
min-width: var(--spectrum-global-dimension-size-2000);
|
|
4
4
|
max-width: 100%;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.
|
|
7
|
+
.yoC59W_react-spectrum-Datepicker-startField {
|
|
8
8
|
width: auto;
|
|
9
9
|
padding-inline-end: var(--spectrum-global-dimension-size-100);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.
|
|
13
|
-
flex: 1;
|
|
12
|
+
.yoC59W_react-spectrum-Datepicker-endField {
|
|
14
13
|
width: auto;
|
|
14
|
+
flex: 1;
|
|
15
15
|
padding-inline-start: var(--spectrum-global-dimension-size-100);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
.
|
|
18
|
+
.yoC59W_react-spectrum-Datepicker-field ~ .yoC59W_react-spectrum-Datepicker-endField > .yoC59W_react-spectrum-Datepicker-input {
|
|
19
19
|
border-inline-start-width: 0;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
22
|
+
.yoC59W_react-spectrum-Datepicker-field ~ .yoC59W_react-spectrum-Datepicker-endField > .yoC59W_react-spectrum-Datepicker-input:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
|
|
23
23
|
border-top-left-radius: 0;
|
|
24
24
|
border-bottom-left-radius: 0;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.yoC59W_react-spectrum-Datepicker-field ~ .yoC59W_react-spectrum-Datepicker-endField > .yoC59W_react-spectrum-Datepicker-input:not(:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi))) {
|
|
28
28
|
border-top-left-radius: 0;
|
|
29
29
|
border-bottom-left-radius: 0;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.
|
|
32
|
+
.yoC59W_react-spectrum-Datepicker-field ~ .yoC59W_react-spectrum-Datepicker-endField > .yoC59W_react-spectrum-Datepicker-input:-webkit-any(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
|
|
33
33
|
border-top-right-radius: 0;
|
|
34
34
|
border-bottom-right-radius: 0;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
.
|
|
37
|
+
.yoC59W_react-spectrum-Datepicker-field ~ .yoC59W_react-spectrum-Datepicker-endField > .yoC59W_react-spectrum-Datepicker-input:is(:lang(ae), :lang(ar), :lang(arc), :lang(bcc), :lang(bqi), :lang(ckb), :lang(dv), :lang(fa), :lang(glk), :lang(he), :lang(ku), :lang(mzn), :lang(nqo), :lang(pnb), :lang(ps), :lang(sd), :lang(ug), :lang(ur), :lang(yi)) {
|
|
38
38
|
border-top-right-radius: 0;
|
|
39
39
|
border-bottom-right-radius: 0;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
.
|
|
43
|
-
width:
|
|
42
|
+
.yoC59W_react-spectrum-Datepicker-field.yoC59W_react-spectrum-Datepicker-field {
|
|
43
|
+
width: 100%;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.
|
|
46
|
+
.yoC59W_react-spectrum-Datepicker-field .yoC59W_react-spectrum-DateField-Input {
|
|
47
47
|
line-height: var(--spectrum-body-4-text-line-height, var(--spectrum-alias-body-text-line-height));
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
.
|
|
50
|
+
.yoC59W_react-spectrum-DateField.yoC59W_react-spectrum-DateField.yoC59W_react-spectrum-DateField.yoC59W_react-spectrum-DateField {
|
|
51
51
|
min-width: var(--spectrum-global-dimension-size-2000);
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.
|
|
54
|
+
.yoC59W_react-spectrum-TimeField.yoC59W_react-spectrum-TimeField.yoC59W_react-spectrum-TimeField.yoC59W_react-spectrum-TimeField {
|
|
55
55
|
min-width: var(--spectrum-global-dimension-size-1250);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
.
|
|
59
|
-
min-width: var(--spectrum-global-dimension-size-1250);
|
|
58
|
+
.yoC59W_react-spectrum-TimeField-fieldWrapper.yoC59W_react-spectrum-TimeField-fieldWrapper.yoC59W_react-spectrum-TimeField-fieldWrapper {
|
|
60
59
|
width: auto;
|
|
60
|
+
min-width: var(--spectrum-global-dimension-size-1250);
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
.
|
|
63
|
+
.yoC59W_react-spectrum-Datepicker-input.yoC59W_react-spectrum-Datepicker-input.yoC59W_react-spectrum-Datepicker-input {
|
|
64
64
|
cursor: text;
|
|
65
65
|
padding-inline-end: calc(var(--spectrum-textfield-padding-x, var(--spectrum-global-dimension-size-150)) + var(--spectrum-icon-alert-medium-width, var(--spectrum-global-dimension-size-225)) + var(--spectrum-textfield-icon-margin-left, var(--spectrum-global-dimension-size-150)));
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
.
|
|
68
|
+
.yoC59W_react-spectrum-Datepicker-inputContents {
|
|
69
69
|
scrollbar-width: none;
|
|
70
70
|
-ms-overflow-style: none;
|
|
71
71
|
align-items: center;
|
|
@@ -74,35 +74,34 @@
|
|
|
74
74
|
overflow-x: auto;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
.
|
|
77
|
+
.yoC59W_react-spectrum-Datepicker-inputContents::-webkit-scrollbar {
|
|
78
78
|
width: 0;
|
|
79
79
|
height: 0;
|
|
80
80
|
display: none;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
.
|
|
83
|
+
.yoC59W_react-spectrum-Datepicker-inputSized {
|
|
84
84
|
align-items: center;
|
|
85
|
-
|
|
86
|
-
display: flex;
|
|
85
|
+
display: inline;
|
|
87
86
|
}
|
|
88
87
|
|
|
89
|
-
.
|
|
88
|
+
.yoC59W_react-spectrum-Datepicker-rangeDash:before {
|
|
90
89
|
content: "–";
|
|
91
90
|
}
|
|
92
91
|
|
|
93
|
-
.
|
|
92
|
+
.yoC59W_react-spectrum-Datepicker-segments {
|
|
94
93
|
align-items: center;
|
|
95
|
-
display:
|
|
94
|
+
display: inline-block;
|
|
96
95
|
}
|
|
97
96
|
|
|
98
|
-
.
|
|
97
|
+
.yoC59W_react-spectrum-Datepicker-literal {
|
|
99
98
|
white-space: pre;
|
|
100
99
|
-webkit-user-select: none;
|
|
101
100
|
user-select: none;
|
|
102
101
|
color: var(--spectrum-textfield-text-color, var(--spectrum-alias-text-color));
|
|
103
102
|
}
|
|
104
103
|
|
|
105
|
-
.
|
|
104
|
+
.yoC59W_react-spectrum-DatePicker-cell {
|
|
106
105
|
border-radius: var(--spectrum-alias-border-radius-small, var(--spectrum-global-dimension-size-25));
|
|
107
106
|
font-variant-numeric: tabular-nums;
|
|
108
107
|
text-align: end;
|
|
@@ -114,92 +113,92 @@
|
|
|
114
113
|
padding: 0 2px;
|
|
115
114
|
}
|
|
116
115
|
|
|
117
|
-
.
|
|
116
|
+
.yoC59W_react-spectrum-DatePicker-cell::selection {
|
|
118
117
|
background: none;
|
|
119
118
|
}
|
|
120
119
|
|
|
121
|
-
.
|
|
120
|
+
.yoC59W_react-spectrum-DatePicker-cell.yoC59W_is-placeholder {
|
|
122
121
|
color: var(--spectrum-gray-600);
|
|
123
122
|
}
|
|
124
123
|
|
|
125
|
-
.
|
|
124
|
+
.yoC59W_react-spectrum-DatePicker-cell.yoC59W_is-placeholder .yoC59W_react-spectrum-DatePicker-placeholder {
|
|
126
125
|
text-align: center;
|
|
127
126
|
pointer-events: none;
|
|
128
127
|
}
|
|
129
128
|
|
|
130
|
-
.
|
|
129
|
+
.yoC59W_react-spectrum-DatePicker-cell.yoC59W_is-placeholder ~ .yoC59W_react-spectrum-Datepicker-literal {
|
|
131
130
|
color: var(--spectrum-global-color-gray-600);
|
|
132
131
|
}
|
|
133
132
|
|
|
134
|
-
.
|
|
133
|
+
.yoC59W_react-spectrum-DatePicker-cell.yoC59W_is-read-only {
|
|
135
134
|
color: var(--spectrum-global-color-gray-700);
|
|
136
135
|
}
|
|
137
136
|
|
|
138
|
-
.
|
|
137
|
+
.yoC59W_react-spectrum-DatePicker-cell:focus {
|
|
139
138
|
background-color: var(--spectrum-accent-background-color-default);
|
|
140
139
|
color: #fff;
|
|
141
140
|
caret-color: #0000;
|
|
142
141
|
outline: none;
|
|
143
142
|
}
|
|
144
143
|
|
|
145
|
-
.
|
|
144
|
+
.yoC59W_react-spectrum-Datepicker-dialog.yoC59W_react-spectrum-Datepicker-dialog {
|
|
146
145
|
width: auto;
|
|
147
146
|
}
|
|
148
147
|
|
|
149
|
-
.
|
|
148
|
+
.yoC59W_react-spectrum-Datepicker-dialogContent {
|
|
150
149
|
flex-direction: column;
|
|
151
150
|
display: flex;
|
|
152
151
|
}
|
|
153
152
|
|
|
154
|
-
.
|
|
153
|
+
.yoC59W_react-spectrum-Datepicker-dialogContent .yoC59W_react-spectrum-Datepicker-calendar.yoC59W_is-invalid {
|
|
155
154
|
display: contents;
|
|
156
155
|
}
|
|
157
156
|
|
|
158
|
-
.
|
|
157
|
+
.yoC59W_react-spectrum-Datepicker-dialogContent .spectrum-Calendar-helpText {
|
|
159
158
|
margin: var(--spectrum-global-dimension-size-200) var(--spectrum-calendar-day-padding, 4px) 0 var(--spectrum-calendar-day-padding, 4px);
|
|
160
159
|
order: 10;
|
|
161
160
|
}
|
|
162
161
|
|
|
163
162
|
@media (width <= 700px) {
|
|
164
|
-
.
|
|
163
|
+
.yoC59W_react-spectrum-Datepicker-dialog {
|
|
165
164
|
--spectrum-dialog-padding-x: 8px;
|
|
166
165
|
}
|
|
167
166
|
|
|
168
|
-
.
|
|
167
|
+
.yoC59W_react-spectrum-Datepicker-dialog .yoC59W_react-spectrum-Datepicker-dialogContent {
|
|
169
168
|
max-width: calc((var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) * 7) + (var(--spectrum-calendar-day-padding, 4px) * 12));
|
|
170
169
|
margin: 0 auto;
|
|
171
170
|
}
|
|
172
171
|
}
|
|
173
172
|
|
|
174
|
-
.
|
|
173
|
+
.yoC59W_react-spectrum-Datepicker-timeFields {
|
|
174
|
+
width: 100%;
|
|
175
175
|
min-width: calc(var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) * 7);
|
|
176
176
|
max-width: calc((var(--spectrum-calendar-day-width, var(--spectrum-global-dimension-size-400)) * 7) + (var(--spectrum-calendar-day-padding, 4px) * 12));
|
|
177
177
|
padding: 0 var(--spectrum-calendar-day-padding, 4px);
|
|
178
178
|
box-sizing: border-box;
|
|
179
|
-
width: 100%;
|
|
180
179
|
}
|
|
181
180
|
|
|
182
181
|
@media (forced-colors: active) {
|
|
183
|
-
.
|
|
182
|
+
.yoC59W_react-spectrum-DatePicker-cell:focus {
|
|
184
183
|
forced-color-adjust: none;
|
|
185
184
|
color: highlighttext;
|
|
186
185
|
background-color: highlight;
|
|
187
186
|
}
|
|
188
187
|
|
|
189
|
-
.
|
|
188
|
+
.yoC59W_react-spectrum-DatePicker-cell.yoC59W_is-read-only {
|
|
190
189
|
color: buttontext;
|
|
191
190
|
}
|
|
192
191
|
|
|
193
|
-
.
|
|
192
|
+
.yoC59W_react-spectrum-DatePicker-cell.yoC59W_is-read-only:focus {
|
|
194
193
|
color: highlighttext;
|
|
195
194
|
}
|
|
196
195
|
|
|
197
|
-
.
|
|
196
|
+
.yoC59W_react-spectrum-DatePicker-cell.yoC59W_is-placeholder {
|
|
198
197
|
color: buttontext;
|
|
199
198
|
}
|
|
200
199
|
|
|
201
|
-
.
|
|
200
|
+
.yoC59W_react-spectrum-DatePicker-cell.yoC59W_is-placeholder:focus {
|
|
202
201
|
color: highlighttext;
|
|
203
202
|
}
|
|
204
203
|
}
|
|
205
|
-
/*# sourceMappingURL=styles.
|
|
204
|
+
/*# sourceMappingURL=styles.cec10db3.css.map */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"mappings":"AAYA;;;;;;AAMA;;;;;AAKA;;;;;;AAMA;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAAA;;;;;AAMA;;;;AAIA;;;;AAMA;;;;AAIA;;;;AAIA;;;;;AAKA;;;;;AAMA;;;;;;;;;AAQE;;;;;;AAOF;;;;;AAME;;;;AAKF;;;;;AAKA;;;;;;;AAMA;;;;;;;;;;;;AAWE;;;;AAOF;;;;AAGE;;;;;AAMF;;;;AAIA;;;;AAIA;;;;;;;AAOA;;;;AAIA;;;;;AAIE;;;;AAQA;;;;;AAQF;EACE;;;;EAGE;;;;;;AAOJ;;;;;;;;AAQA;EACE;;;;;;EAKA;;;;EAEE;;;;EAIF;;;;EAEE","sources":["packages/@react-spectrum/datepicker/src/styles.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n.react-spectrum-Datepicker-fieldWrapper.react-spectrum-Datepicker-fieldWrapper.react-spectrum-Datepicker-fieldWrapper {\n width: auto;\n min-width: var(--spectrum-global-dimension-size-2000);\n max-width: 100%;\n }\n\n.react-spectrum-Datepicker-startField {\n width: auto;\n padding-inline-end: var(--spectrum-global-dimension-size-100);\n}\n\n.react-spectrum-Datepicker-endField {\n width: auto;\n flex: 1;\n padding-inline-start: var(--spectrum-global-dimension-size-100);\n}\n\n.react-spectrum-Datepicker-field ~ .react-spectrum-Datepicker-endField > .react-spectrum-Datepicker-input {\n border-inline-start-width: 0;\n border-start-start-radius: 0;\n border-end-start-radius: 0;\n}\n\n.react-spectrum-Datepicker-field.react-spectrum-Datepicker-field {\n width: 100%;\n}\n\n.react-spectrum-Datepicker-field .react-spectrum-DateField-Input {\n line-height: var(--spectrum-body-4-text-line-height);\n}\n\n/* specificity war with .spectrum-Field--positionSide etc. */\n.react-spectrum-DateField.react-spectrum-DateField.react-spectrum-DateField.react-spectrum-DateField {\n min-width: var(--spectrum-global-dimension-size-2000);\n}\n\n.react-spectrum-TimeField.react-spectrum-TimeField.react-spectrum-TimeField.react-spectrum-TimeField {\n min-width: var(--spectrum-global-dimension-size-1250);\n}\n\n.react-spectrum-TimeField-fieldWrapper.react-spectrum-TimeField-fieldWrapper.react-spectrum-TimeField-fieldWrapper {\n width: auto;\n min-width: var(--spectrum-global-dimension-size-1250);\n}\n\n.react-spectrum-Datepicker-input.react-spectrum-Datepicker-input.react-spectrum-Datepicker-input {\n /* always reserve space for the validation icon */\n padding-inline-end: calc(var(--spectrum-textfield-padding-x) + var(--spectrum-icon-alert-medium-width) + var(--spectrum-textfield-icon-margin-left));\n cursor: text;\n}\n\n.react-spectrum-Datepicker-inputContents {\n display: flex;\n align-items: center;\n height: 100%;\n overflow-x: auto;\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n\n &::-webkit-scrollbar { /* WebKit */\n width: 0;\n height: 0;\n display: none;\n }\n}\n\n.react-spectrum-Datepicker-inputSized {\n display: inline;\n align-items: center;\n}\n\n.react-spectrum-Datepicker-rangeDash {\n &:before {\n content: '–';\n }\n}\n\n.react-spectrum-Datepicker-segments {\n display: inline-block;\n align-items: center;\n}\n\n.react-spectrum-Datepicker-literal {\n white-space: pre;\n user-select: none;\n color: var(--spectrum-textfield-text-color);\n}\n\n.react-spectrum-DatePicker-cell {\n border: none;\n background: none;\n padding: 0 2px;\n border-radius: var(--spectrum-alias-border-radius-small);\n font-variant-numeric: tabular-nums;\n text-align: end;\n box-sizing: content-box;\n white-space: nowrap;\n color: var(--spectrum-textfield-text-color);\n\n &::selection {\n /* hide the selection because there is no way to fully prevent it in Firefox */\n /* https://bugzilla.mozilla.org/show_bug.cgi?id=1742153 */\n background: transparent;\n }\n}\n\n.react-spectrum-DatePicker-cell.is-placeholder {\n color: var(--spectrum-gray-600);\n\n .react-spectrum-DatePicker-placeholder {\n text-align: center;\n pointer-events: none;\n }\n}\n\n.react-spectrum-DatePicker-cell.is-placeholder ~ .react-spectrum-Datepicker-literal {\n color: var(--spectrum-global-color-gray-600);\n}\n\n.react-spectrum-DatePicker-cell.is-read-only {\n color: var(--spectrum-global-color-gray-700);\n}\n\n.react-spectrum-DatePicker-cell:focus {\n background-color: var(--spectrum-accent-background-color-default);\n color: white;\n caret-color: transparent;\n outline: none;\n}\n\n.react-spectrum-Datepicker-dialog.react-spectrum-Datepicker-dialog {\n width: auto;\n}\n\n.react-spectrum-Datepicker-dialogContent {\n display: flex;\n flex-direction: column;\n\n .react-spectrum-Datepicker-calendar.is-invalid {\n /* Only apply display: contents when the calendar is invalid, which allows us to move the\n * error message below the time fields. Otherwise, don't do this because it breaks dragging\n * the selected range on Android. */\n display: contents;\n }\n\n /* Push the help text within the calendar down to the bottom of the dialog, below the time fields. */\n :global(.spectrum-Calendar-helpText) {\n order: 10;\n margin: var(--spectrum-global-dimension-size-200) var(--spectrum-calendar-day-padding) 0 var(--spectrum-calendar-day-padding);\n }\n}\n\n/* when displayed in a tray, reduce the padding of the dialog */\n@media (max-width: 700px) {\n .react-spectrum-Datepicker-dialog {\n --spectrum-dialog-padding-x: 8px;\n\n .react-spectrum-Datepicker-dialogContent {\n margin: 0 auto;\n max-width: calc((var(--spectrum-calendar-day-width) * 7) + (var(--spectrum-calendar-day-padding) * 12));\n }\n }\n}\n\n.react-spectrum-Datepicker-timeFields {\n width: 100%;\n min-width: calc(var(--spectrum-calendar-day-width) * 7);\n max-width: calc((var(--spectrum-calendar-day-width) * 7) + (var(--spectrum-calendar-day-padding) * 12));\n padding: 0 var(--spectrum-calendar-day-padding);\n box-sizing: border-box;\n}\n\n@media (forced-colors:active) {\n .react-spectrum-DatePicker-cell:focus {\n forced-color-adjust: none;\n background-color: Highlight;\n color: HighlightText;\n }\n .react-spectrum-DatePicker-cell.is-read-only {\n color: ButtonText;\n &:focus {\n color: HighlightText;\n }\n }\n .react-spectrum-DatePicker-cell.is-placeholder {\n color: ButtonText;\n &:focus {\n color: HighlightText;\n }\n }\n}\n"],"names":[],"version":3,"file":"styles.cec10db3.css.map"}
|
package/dist/styles_css.main.js
CHANGED
|
@@ -49,29 +49,29 @@ var $91c3db8c6a21ca71$export$eec05853f5fc7ef8;
|
|
|
49
49
|
var $91c3db8c6a21ca71$export$8d47712a13573e39;
|
|
50
50
|
var $91c3db8c6a21ca71$export$61c201f1ba261729;
|
|
51
51
|
var $91c3db8c6a21ca71$export$3008240fa163ee96;
|
|
52
|
-
$91c3db8c6a21ca71$export$14a30de2866685fa = `
|
|
53
|
-
$91c3db8c6a21ca71$export$e5b2f5233e4e5194 = `
|
|
54
|
-
$91c3db8c6a21ca71$export$dddce3ae23a6e3ea = `
|
|
55
|
-
$91c3db8c6a21ca71$export$c96d01b692101b8a = `
|
|
56
|
-
$91c3db8c6a21ca71$export$d57270210c079fad = `
|
|
57
|
-
$91c3db8c6a21ca71$export$947f5cb8a73639a4 = `
|
|
58
|
-
$91c3db8c6a21ca71$export$d7b1df8540d8ce55 = `
|
|
59
|
-
$91c3db8c6a21ca71$export$640bfc6f7362791a = `
|
|
60
|
-
$91c3db8c6a21ca71$export$7c3cb625bb792356 = `
|
|
61
|
-
$91c3db8c6a21ca71$export$94c97d6b6a927921 = `
|
|
62
|
-
$91c3db8c6a21ca71$export$b41789438b49c852 = `
|
|
63
|
-
$91c3db8c6a21ca71$export$8cbece9fb909350d = `
|
|
64
|
-
$91c3db8c6a21ca71$export$48501287c6ce4708 = `
|
|
65
|
-
$91c3db8c6a21ca71$export$4cdb39b006dc840a = `
|
|
66
|
-
$91c3db8c6a21ca71$export$609545772ae0466a = `
|
|
67
|
-
$91c3db8c6a21ca71$export$ebb52994026bc71c = `
|
|
68
|
-
$91c3db8c6a21ca71$export$24a265734c16a355 = `
|
|
69
|
-
$91c3db8c6a21ca71$export$1ae39afd2cf49425 = `
|
|
70
|
-
$91c3db8c6a21ca71$export$b9c34f0306ac2ffc = `
|
|
71
|
-
$91c3db8c6a21ca71$export$eec05853f5fc7ef8 = `
|
|
72
|
-
$91c3db8c6a21ca71$export$8d47712a13573e39 = `
|
|
73
|
-
$91c3db8c6a21ca71$export$61c201f1ba261729 = `
|
|
74
|
-
$91c3db8c6a21ca71$export$3008240fa163ee96 = `
|
|
52
|
+
$91c3db8c6a21ca71$export$14a30de2866685fa = `yoC59W_is-invalid`;
|
|
53
|
+
$91c3db8c6a21ca71$export$e5b2f5233e4e5194 = `yoC59W_is-placeholder`;
|
|
54
|
+
$91c3db8c6a21ca71$export$dddce3ae23a6e3ea = `yoC59W_is-read-only`;
|
|
55
|
+
$91c3db8c6a21ca71$export$c96d01b692101b8a = `yoC59W_react-spectrum-DateField`;
|
|
56
|
+
$91c3db8c6a21ca71$export$d57270210c079fad = `yoC59W_react-spectrum-DateField-Input`;
|
|
57
|
+
$91c3db8c6a21ca71$export$947f5cb8a73639a4 = `yoC59W_react-spectrum-DatePicker-cell`;
|
|
58
|
+
$91c3db8c6a21ca71$export$d7b1df8540d8ce55 = `yoC59W_react-spectrum-DatePicker-placeholder`;
|
|
59
|
+
$91c3db8c6a21ca71$export$640bfc6f7362791a = `yoC59W_react-spectrum-Datepicker-calendar`;
|
|
60
|
+
$91c3db8c6a21ca71$export$7c3cb625bb792356 = `yoC59W_react-spectrum-Datepicker-dialog`;
|
|
61
|
+
$91c3db8c6a21ca71$export$94c97d6b6a927921 = `yoC59W_react-spectrum-Datepicker-dialogContent`;
|
|
62
|
+
$91c3db8c6a21ca71$export$b41789438b49c852 = `yoC59W_react-spectrum-Datepicker-endField`;
|
|
63
|
+
$91c3db8c6a21ca71$export$8cbece9fb909350d = `yoC59W_react-spectrum-Datepicker-field`;
|
|
64
|
+
$91c3db8c6a21ca71$export$48501287c6ce4708 = `yoC59W_react-spectrum-Datepicker-fieldWrapper`;
|
|
65
|
+
$91c3db8c6a21ca71$export$4cdb39b006dc840a = `yoC59W_react-spectrum-Datepicker-input`;
|
|
66
|
+
$91c3db8c6a21ca71$export$609545772ae0466a = `yoC59W_react-spectrum-Datepicker-inputContents`;
|
|
67
|
+
$91c3db8c6a21ca71$export$ebb52994026bc71c = `yoC59W_react-spectrum-Datepicker-inputSized`;
|
|
68
|
+
$91c3db8c6a21ca71$export$24a265734c16a355 = `yoC59W_react-spectrum-Datepicker-literal`;
|
|
69
|
+
$91c3db8c6a21ca71$export$1ae39afd2cf49425 = `yoC59W_react-spectrum-Datepicker-rangeDash`;
|
|
70
|
+
$91c3db8c6a21ca71$export$b9c34f0306ac2ffc = `yoC59W_react-spectrum-Datepicker-segments`;
|
|
71
|
+
$91c3db8c6a21ca71$export$eec05853f5fc7ef8 = `yoC59W_react-spectrum-Datepicker-startField`;
|
|
72
|
+
$91c3db8c6a21ca71$export$8d47712a13573e39 = `yoC59W_react-spectrum-Datepicker-timeFields`;
|
|
73
|
+
$91c3db8c6a21ca71$export$61c201f1ba261729 = `yoC59W_react-spectrum-TimeField`;
|
|
74
|
+
$91c3db8c6a21ca71$export$3008240fa163ee96 = `yoC59W_react-spectrum-TimeField-fieldWrapper`;
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
//# sourceMappingURL=styles_css.main.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAtBA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAiC,CAAC,mBAAmB,CAAC;AACtD,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAA0D,CAAC,4CAA4C,CAAC;AACxG,4CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAqD,CAAC,uCAAuC,CAAC;AAC9F,4CAA4D,CAAC,8CAA8C,CAAC;AAC5G,4CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAA2D,CAAC,6CAA6C,CAAC;AAC1G,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAA4D,CAAC,8CAA8C,CAAC;AAC5G,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,4CAAsD,CAAC,wCAAwC,CAAC;AAChG,4CAAwD,CAAC,0CAA0C,CAAC;AACpG,4CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAA0D,CAAC,4CAA4C,CAAC","sources":["packages/@react-spectrum/datepicker/src/styles.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n.react-spectrum-Datepicker-fieldWrapper.react-spectrum-Datepicker-fieldWrapper.react-spectrum-Datepicker-fieldWrapper {\n width: auto;\n min-width: var(--spectrum-global-dimension-size-2000);\n max-width: 100%;\n }\n\n.react-spectrum-Datepicker-startField {\n width: auto;\n padding-inline-end: var(--spectrum-global-dimension-size-100);\n}\n\n.react-spectrum-Datepicker-endField {\n width: auto;\n flex: 1;\n padding-inline-start: var(--spectrum-global-dimension-size-100);\n}\n\n.react-spectrum-Datepicker-field ~ .react-spectrum-Datepicker-endField > .react-spectrum-Datepicker-input {\n border-inline-start-width: 0;\n border-start-start-radius: 0;\n border-end-start-radius: 0;\n}\n\n.react-spectrum-Datepicker-field.react-spectrum-Datepicker-field {\n width:
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAtBA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAiC,CAAC,mBAAmB,CAAC;AACtD,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAA0D,CAAC,4CAA4C,CAAC;AACxG,4CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAqD,CAAC,uCAAuC,CAAC;AAC9F,4CAA4D,CAAC,8CAA8C,CAAC;AAC5G,4CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAA2D,CAAC,6CAA6C,CAAC;AAC1G,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAA4D,CAAC,8CAA8C,CAAC;AAC5G,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,4CAAsD,CAAC,wCAAwC,CAAC;AAChG,4CAAwD,CAAC,0CAA0C,CAAC;AACpG,4CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAA0D,CAAC,4CAA4C,CAAC","sources":["packages/@react-spectrum/datepicker/src/styles.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n.react-spectrum-Datepicker-fieldWrapper.react-spectrum-Datepicker-fieldWrapper.react-spectrum-Datepicker-fieldWrapper {\n width: auto;\n min-width: var(--spectrum-global-dimension-size-2000);\n max-width: 100%;\n }\n\n.react-spectrum-Datepicker-startField {\n width: auto;\n padding-inline-end: var(--spectrum-global-dimension-size-100);\n}\n\n.react-spectrum-Datepicker-endField {\n width: auto;\n flex: 1;\n padding-inline-start: var(--spectrum-global-dimension-size-100);\n}\n\n.react-spectrum-Datepicker-field ~ .react-spectrum-Datepicker-endField > .react-spectrum-Datepicker-input {\n border-inline-start-width: 0;\n border-start-start-radius: 0;\n border-end-start-radius: 0;\n}\n\n.react-spectrum-Datepicker-field.react-spectrum-Datepicker-field {\n width: 100%;\n}\n\n.react-spectrum-Datepicker-field .react-spectrum-DateField-Input {\n line-height: var(--spectrum-body-4-text-line-height);\n}\n\n/* specificity war with .spectrum-Field--positionSide etc. */\n.react-spectrum-DateField.react-spectrum-DateField.react-spectrum-DateField.react-spectrum-DateField {\n min-width: var(--spectrum-global-dimension-size-2000);\n}\n\n.react-spectrum-TimeField.react-spectrum-TimeField.react-spectrum-TimeField.react-spectrum-TimeField {\n min-width: var(--spectrum-global-dimension-size-1250);\n}\n\n.react-spectrum-TimeField-fieldWrapper.react-spectrum-TimeField-fieldWrapper.react-spectrum-TimeField-fieldWrapper {\n width: auto;\n min-width: var(--spectrum-global-dimension-size-1250);\n}\n\n.react-spectrum-Datepicker-input.react-spectrum-Datepicker-input.react-spectrum-Datepicker-input {\n /* always reserve space for the validation icon */\n padding-inline-end: calc(var(--spectrum-textfield-padding-x) + var(--spectrum-icon-alert-medium-width) + var(--spectrum-textfield-icon-margin-left));\n cursor: text;\n}\n\n.react-spectrum-Datepicker-inputContents {\n display: flex;\n align-items: center;\n height: 100%;\n overflow-x: auto;\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n\n &::-webkit-scrollbar { /* WebKit */\n width: 0;\n height: 0;\n display: none;\n }\n}\n\n.react-spectrum-Datepicker-inputSized {\n display: inline;\n align-items: center;\n}\n\n.react-spectrum-Datepicker-rangeDash {\n &:before {\n content: '–';\n }\n}\n\n.react-spectrum-Datepicker-segments {\n display: inline-block;\n align-items: center;\n}\n\n.react-spectrum-Datepicker-literal {\n white-space: pre;\n user-select: none;\n color: var(--spectrum-textfield-text-color);\n}\n\n.react-spectrum-DatePicker-cell {\n border: none;\n background: none;\n padding: 0 2px;\n border-radius: var(--spectrum-alias-border-radius-small);\n font-variant-numeric: tabular-nums;\n text-align: end;\n box-sizing: content-box;\n white-space: nowrap;\n color: var(--spectrum-textfield-text-color);\n\n &::selection {\n /* hide the selection because there is no way to fully prevent it in Firefox */\n /* https://bugzilla.mozilla.org/show_bug.cgi?id=1742153 */\n background: transparent;\n }\n}\n\n.react-spectrum-DatePicker-cell.is-placeholder {\n color: var(--spectrum-gray-600);\n\n .react-spectrum-DatePicker-placeholder {\n text-align: center;\n pointer-events: none;\n }\n}\n\n.react-spectrum-DatePicker-cell.is-placeholder ~ .react-spectrum-Datepicker-literal {\n color: var(--spectrum-global-color-gray-600);\n}\n\n.react-spectrum-DatePicker-cell.is-read-only {\n color: var(--spectrum-global-color-gray-700);\n}\n\n.react-spectrum-DatePicker-cell:focus {\n background-color: var(--spectrum-accent-background-color-default);\n color: white;\n caret-color: transparent;\n outline: none;\n}\n\n.react-spectrum-Datepicker-dialog.react-spectrum-Datepicker-dialog {\n width: auto;\n}\n\n.react-spectrum-Datepicker-dialogContent {\n display: flex;\n flex-direction: column;\n\n .react-spectrum-Datepicker-calendar.is-invalid {\n /* Only apply display: contents when the calendar is invalid, which allows us to move the\n * error message below the time fields. Otherwise, don't do this because it breaks dragging\n * the selected range on Android. */\n display: contents;\n }\n\n /* Push the help text within the calendar down to the bottom of the dialog, below the time fields. */\n :global(.spectrum-Calendar-helpText) {\n order: 10;\n margin: var(--spectrum-global-dimension-size-200) var(--spectrum-calendar-day-padding) 0 var(--spectrum-calendar-day-padding);\n }\n}\n\n/* when displayed in a tray, reduce the padding of the dialog */\n@media (max-width: 700px) {\n .react-spectrum-Datepicker-dialog {\n --spectrum-dialog-padding-x: 8px;\n\n .react-spectrum-Datepicker-dialogContent {\n margin: 0 auto;\n max-width: calc((var(--spectrum-calendar-day-width) * 7) + (var(--spectrum-calendar-day-padding) * 12));\n }\n }\n}\n\n.react-spectrum-Datepicker-timeFields {\n width: 100%;\n min-width: calc(var(--spectrum-calendar-day-width) * 7);\n max-width: calc((var(--spectrum-calendar-day-width) * 7) + (var(--spectrum-calendar-day-padding) * 12));\n padding: 0 var(--spectrum-calendar-day-padding);\n box-sizing: border-box;\n}\n\n@media (forced-colors:active) {\n .react-spectrum-DatePicker-cell:focus {\n forced-color-adjust: none;\n background-color: Highlight;\n color: HighlightText;\n }\n .react-spectrum-DatePicker-cell.is-read-only {\n color: ButtonText;\n &:focus {\n color: HighlightText;\n }\n }\n .react-spectrum-DatePicker-cell.is-placeholder {\n color: ButtonText;\n &:focus {\n color: HighlightText;\n }\n }\n}\n"],"names":[],"version":3,"file":"styles_css.main.js.map"}
|
package/dist/styles_css.mjs
CHANGED
|
@@ -50,29 +50,29 @@ var $465eb3a688ef3440$export$eec05853f5fc7ef8;
|
|
|
50
50
|
var $465eb3a688ef3440$export$8d47712a13573e39;
|
|
51
51
|
var $465eb3a688ef3440$export$61c201f1ba261729;
|
|
52
52
|
var $465eb3a688ef3440$export$3008240fa163ee96;
|
|
53
|
-
$465eb3a688ef3440$export$14a30de2866685fa = `
|
|
54
|
-
$465eb3a688ef3440$export$e5b2f5233e4e5194 = `
|
|
55
|
-
$465eb3a688ef3440$export$dddce3ae23a6e3ea = `
|
|
56
|
-
$465eb3a688ef3440$export$c96d01b692101b8a = `
|
|
57
|
-
$465eb3a688ef3440$export$d57270210c079fad = `
|
|
58
|
-
$465eb3a688ef3440$export$947f5cb8a73639a4 = `
|
|
59
|
-
$465eb3a688ef3440$export$d7b1df8540d8ce55 = `
|
|
60
|
-
$465eb3a688ef3440$export$640bfc6f7362791a = `
|
|
61
|
-
$465eb3a688ef3440$export$7c3cb625bb792356 = `
|
|
62
|
-
$465eb3a688ef3440$export$94c97d6b6a927921 = `
|
|
63
|
-
$465eb3a688ef3440$export$b41789438b49c852 = `
|
|
64
|
-
$465eb3a688ef3440$export$8cbece9fb909350d = `
|
|
65
|
-
$465eb3a688ef3440$export$48501287c6ce4708 = `
|
|
66
|
-
$465eb3a688ef3440$export$4cdb39b006dc840a = `
|
|
67
|
-
$465eb3a688ef3440$export$609545772ae0466a = `
|
|
68
|
-
$465eb3a688ef3440$export$ebb52994026bc71c = `
|
|
69
|
-
$465eb3a688ef3440$export$24a265734c16a355 = `
|
|
70
|
-
$465eb3a688ef3440$export$1ae39afd2cf49425 = `
|
|
71
|
-
$465eb3a688ef3440$export$b9c34f0306ac2ffc = `
|
|
72
|
-
$465eb3a688ef3440$export$eec05853f5fc7ef8 = `
|
|
73
|
-
$465eb3a688ef3440$export$8d47712a13573e39 = `
|
|
74
|
-
$465eb3a688ef3440$export$61c201f1ba261729 = `
|
|
75
|
-
$465eb3a688ef3440$export$3008240fa163ee96 = `
|
|
53
|
+
$465eb3a688ef3440$export$14a30de2866685fa = `yoC59W_is-invalid`;
|
|
54
|
+
$465eb3a688ef3440$export$e5b2f5233e4e5194 = `yoC59W_is-placeholder`;
|
|
55
|
+
$465eb3a688ef3440$export$dddce3ae23a6e3ea = `yoC59W_is-read-only`;
|
|
56
|
+
$465eb3a688ef3440$export$c96d01b692101b8a = `yoC59W_react-spectrum-DateField`;
|
|
57
|
+
$465eb3a688ef3440$export$d57270210c079fad = `yoC59W_react-spectrum-DateField-Input`;
|
|
58
|
+
$465eb3a688ef3440$export$947f5cb8a73639a4 = `yoC59W_react-spectrum-DatePicker-cell`;
|
|
59
|
+
$465eb3a688ef3440$export$d7b1df8540d8ce55 = `yoC59W_react-spectrum-DatePicker-placeholder`;
|
|
60
|
+
$465eb3a688ef3440$export$640bfc6f7362791a = `yoC59W_react-spectrum-Datepicker-calendar`;
|
|
61
|
+
$465eb3a688ef3440$export$7c3cb625bb792356 = `yoC59W_react-spectrum-Datepicker-dialog`;
|
|
62
|
+
$465eb3a688ef3440$export$94c97d6b6a927921 = `yoC59W_react-spectrum-Datepicker-dialogContent`;
|
|
63
|
+
$465eb3a688ef3440$export$b41789438b49c852 = `yoC59W_react-spectrum-Datepicker-endField`;
|
|
64
|
+
$465eb3a688ef3440$export$8cbece9fb909350d = `yoC59W_react-spectrum-Datepicker-field`;
|
|
65
|
+
$465eb3a688ef3440$export$48501287c6ce4708 = `yoC59W_react-spectrum-Datepicker-fieldWrapper`;
|
|
66
|
+
$465eb3a688ef3440$export$4cdb39b006dc840a = `yoC59W_react-spectrum-Datepicker-input`;
|
|
67
|
+
$465eb3a688ef3440$export$609545772ae0466a = `yoC59W_react-spectrum-Datepicker-inputContents`;
|
|
68
|
+
$465eb3a688ef3440$export$ebb52994026bc71c = `yoC59W_react-spectrum-Datepicker-inputSized`;
|
|
69
|
+
$465eb3a688ef3440$export$24a265734c16a355 = `yoC59W_react-spectrum-Datepicker-literal`;
|
|
70
|
+
$465eb3a688ef3440$export$1ae39afd2cf49425 = `yoC59W_react-spectrum-Datepicker-rangeDash`;
|
|
71
|
+
$465eb3a688ef3440$export$b9c34f0306ac2ffc = `yoC59W_react-spectrum-Datepicker-segments`;
|
|
72
|
+
$465eb3a688ef3440$export$eec05853f5fc7ef8 = `yoC59W_react-spectrum-Datepicker-startField`;
|
|
73
|
+
$465eb3a688ef3440$export$8d47712a13573e39 = `yoC59W_react-spectrum-Datepicker-timeFields`;
|
|
74
|
+
$465eb3a688ef3440$export$61c201f1ba261729 = `yoC59W_react-spectrum-TimeField`;
|
|
75
|
+
$465eb3a688ef3440$export$3008240fa163ee96 = `yoC59W_react-spectrum-TimeField-fieldWrapper`;
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
export {$465eb3a688ef3440$exports as default};
|
|
@@ -50,29 +50,29 @@ var $465eb3a688ef3440$export$eec05853f5fc7ef8;
|
|
|
50
50
|
var $465eb3a688ef3440$export$8d47712a13573e39;
|
|
51
51
|
var $465eb3a688ef3440$export$61c201f1ba261729;
|
|
52
52
|
var $465eb3a688ef3440$export$3008240fa163ee96;
|
|
53
|
-
$465eb3a688ef3440$export$14a30de2866685fa = `
|
|
54
|
-
$465eb3a688ef3440$export$e5b2f5233e4e5194 = `
|
|
55
|
-
$465eb3a688ef3440$export$dddce3ae23a6e3ea = `
|
|
56
|
-
$465eb3a688ef3440$export$c96d01b692101b8a = `
|
|
57
|
-
$465eb3a688ef3440$export$d57270210c079fad = `
|
|
58
|
-
$465eb3a688ef3440$export$947f5cb8a73639a4 = `
|
|
59
|
-
$465eb3a688ef3440$export$d7b1df8540d8ce55 = `
|
|
60
|
-
$465eb3a688ef3440$export$640bfc6f7362791a = `
|
|
61
|
-
$465eb3a688ef3440$export$7c3cb625bb792356 = `
|
|
62
|
-
$465eb3a688ef3440$export$94c97d6b6a927921 = `
|
|
63
|
-
$465eb3a688ef3440$export$b41789438b49c852 = `
|
|
64
|
-
$465eb3a688ef3440$export$8cbece9fb909350d = `
|
|
65
|
-
$465eb3a688ef3440$export$48501287c6ce4708 = `
|
|
66
|
-
$465eb3a688ef3440$export$4cdb39b006dc840a = `
|
|
67
|
-
$465eb3a688ef3440$export$609545772ae0466a = `
|
|
68
|
-
$465eb3a688ef3440$export$ebb52994026bc71c = `
|
|
69
|
-
$465eb3a688ef3440$export$24a265734c16a355 = `
|
|
70
|
-
$465eb3a688ef3440$export$1ae39afd2cf49425 = `
|
|
71
|
-
$465eb3a688ef3440$export$b9c34f0306ac2ffc = `
|
|
72
|
-
$465eb3a688ef3440$export$eec05853f5fc7ef8 = `
|
|
73
|
-
$465eb3a688ef3440$export$8d47712a13573e39 = `
|
|
74
|
-
$465eb3a688ef3440$export$61c201f1ba261729 = `
|
|
75
|
-
$465eb3a688ef3440$export$3008240fa163ee96 = `
|
|
53
|
+
$465eb3a688ef3440$export$14a30de2866685fa = `yoC59W_is-invalid`;
|
|
54
|
+
$465eb3a688ef3440$export$e5b2f5233e4e5194 = `yoC59W_is-placeholder`;
|
|
55
|
+
$465eb3a688ef3440$export$dddce3ae23a6e3ea = `yoC59W_is-read-only`;
|
|
56
|
+
$465eb3a688ef3440$export$c96d01b692101b8a = `yoC59W_react-spectrum-DateField`;
|
|
57
|
+
$465eb3a688ef3440$export$d57270210c079fad = `yoC59W_react-spectrum-DateField-Input`;
|
|
58
|
+
$465eb3a688ef3440$export$947f5cb8a73639a4 = `yoC59W_react-spectrum-DatePicker-cell`;
|
|
59
|
+
$465eb3a688ef3440$export$d7b1df8540d8ce55 = `yoC59W_react-spectrum-DatePicker-placeholder`;
|
|
60
|
+
$465eb3a688ef3440$export$640bfc6f7362791a = `yoC59W_react-spectrum-Datepicker-calendar`;
|
|
61
|
+
$465eb3a688ef3440$export$7c3cb625bb792356 = `yoC59W_react-spectrum-Datepicker-dialog`;
|
|
62
|
+
$465eb3a688ef3440$export$94c97d6b6a927921 = `yoC59W_react-spectrum-Datepicker-dialogContent`;
|
|
63
|
+
$465eb3a688ef3440$export$b41789438b49c852 = `yoC59W_react-spectrum-Datepicker-endField`;
|
|
64
|
+
$465eb3a688ef3440$export$8cbece9fb909350d = `yoC59W_react-spectrum-Datepicker-field`;
|
|
65
|
+
$465eb3a688ef3440$export$48501287c6ce4708 = `yoC59W_react-spectrum-Datepicker-fieldWrapper`;
|
|
66
|
+
$465eb3a688ef3440$export$4cdb39b006dc840a = `yoC59W_react-spectrum-Datepicker-input`;
|
|
67
|
+
$465eb3a688ef3440$export$609545772ae0466a = `yoC59W_react-spectrum-Datepicker-inputContents`;
|
|
68
|
+
$465eb3a688ef3440$export$ebb52994026bc71c = `yoC59W_react-spectrum-Datepicker-inputSized`;
|
|
69
|
+
$465eb3a688ef3440$export$24a265734c16a355 = `yoC59W_react-spectrum-Datepicker-literal`;
|
|
70
|
+
$465eb3a688ef3440$export$1ae39afd2cf49425 = `yoC59W_react-spectrum-Datepicker-rangeDash`;
|
|
71
|
+
$465eb3a688ef3440$export$b9c34f0306ac2ffc = `yoC59W_react-spectrum-Datepicker-segments`;
|
|
72
|
+
$465eb3a688ef3440$export$eec05853f5fc7ef8 = `yoC59W_react-spectrum-Datepicker-startField`;
|
|
73
|
+
$465eb3a688ef3440$export$8d47712a13573e39 = `yoC59W_react-spectrum-Datepicker-timeFields`;
|
|
74
|
+
$465eb3a688ef3440$export$61c201f1ba261729 = `yoC59W_react-spectrum-TimeField`;
|
|
75
|
+
$465eb3a688ef3440$export$3008240fa163ee96 = `yoC59W_react-spectrum-TimeField-fieldWrapper`;
|
|
76
76
|
|
|
77
77
|
|
|
78
78
|
export {$465eb3a688ef3440$exports as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAtBA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAiC,CAAC,mBAAmB,CAAC;AACtD,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAA0D,CAAC,4CAA4C,CAAC;AACxG,4CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAqD,CAAC,uCAAuC,CAAC;AAC9F,4CAA4D,CAAC,8CAA8C,CAAC;AAC5G,4CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAA2D,CAAC,6CAA6C,CAAC;AAC1G,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAA4D,CAAC,8CAA8C,CAAC;AAC5G,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,4CAAsD,CAAC,wCAAwC,CAAC;AAChG,4CAAwD,CAAC,0CAA0C,CAAC;AACpG,4CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAA0D,CAAC,4CAA4C,CAAC","sources":["packages/@react-spectrum/datepicker/src/styles.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n.react-spectrum-Datepicker-fieldWrapper.react-spectrum-Datepicker-fieldWrapper.react-spectrum-Datepicker-fieldWrapper {\n width: auto;\n min-width: var(--spectrum-global-dimension-size-2000);\n max-width: 100%;\n }\n\n.react-spectrum-Datepicker-startField {\n width: auto;\n padding-inline-end: var(--spectrum-global-dimension-size-100);\n}\n\n.react-spectrum-Datepicker-endField {\n width: auto;\n flex: 1;\n padding-inline-start: var(--spectrum-global-dimension-size-100);\n}\n\n.react-spectrum-Datepicker-field ~ .react-spectrum-Datepicker-endField > .react-spectrum-Datepicker-input {\n border-inline-start-width: 0;\n border-start-start-radius: 0;\n border-end-start-radius: 0;\n}\n\n.react-spectrum-Datepicker-field.react-spectrum-Datepicker-field {\n width:
|
|
1
|
+
{"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AACA,IAAA;AAtBA,4CAA+B,CAAC,iBAAiB,CAAC;AAClD,4CAAmC,CAAC,qBAAqB,CAAC;AAC1D,4CAAiC,CAAC,mBAAmB,CAAC;AACtD,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAAmD,CAAC,qCAAqC,CAAC;AAC1F,4CAA0D,CAAC,4CAA4C,CAAC;AACxG,4CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAqD,CAAC,uCAAuC,CAAC;AAC9F,4CAA4D,CAAC,8CAA8C,CAAC;AAC5G,4CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAA2D,CAAC,6CAA6C,CAAC;AAC1G,4CAAoD,CAAC,sCAAsC,CAAC;AAC5F,4CAA4D,CAAC,8CAA8C,CAAC;AAC5G,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,4CAAsD,CAAC,wCAAwC,CAAC;AAChG,4CAAwD,CAAC,0CAA0C,CAAC;AACpG,4CAAuD,CAAC,yCAAyC,CAAC;AAClG,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,4CAAyD,CAAC,2CAA2C,CAAC;AACtG,4CAA6C,CAAC,+BAA+B,CAAC;AAC9E,4CAA0D,CAAC,4CAA4C,CAAC","sources":["packages/@react-spectrum/datepicker/src/styles.css"],"sourcesContent":["/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n.react-spectrum-Datepicker-fieldWrapper.react-spectrum-Datepicker-fieldWrapper.react-spectrum-Datepicker-fieldWrapper {\n width: auto;\n min-width: var(--spectrum-global-dimension-size-2000);\n max-width: 100%;\n }\n\n.react-spectrum-Datepicker-startField {\n width: auto;\n padding-inline-end: var(--spectrum-global-dimension-size-100);\n}\n\n.react-spectrum-Datepicker-endField {\n width: auto;\n flex: 1;\n padding-inline-start: var(--spectrum-global-dimension-size-100);\n}\n\n.react-spectrum-Datepicker-field ~ .react-spectrum-Datepicker-endField > .react-spectrum-Datepicker-input {\n border-inline-start-width: 0;\n border-start-start-radius: 0;\n border-end-start-radius: 0;\n}\n\n.react-spectrum-Datepicker-field.react-spectrum-Datepicker-field {\n width: 100%;\n}\n\n.react-spectrum-Datepicker-field .react-spectrum-DateField-Input {\n line-height: var(--spectrum-body-4-text-line-height);\n}\n\n/* specificity war with .spectrum-Field--positionSide etc. */\n.react-spectrum-DateField.react-spectrum-DateField.react-spectrum-DateField.react-spectrum-DateField {\n min-width: var(--spectrum-global-dimension-size-2000);\n}\n\n.react-spectrum-TimeField.react-spectrum-TimeField.react-spectrum-TimeField.react-spectrum-TimeField {\n min-width: var(--spectrum-global-dimension-size-1250);\n}\n\n.react-spectrum-TimeField-fieldWrapper.react-spectrum-TimeField-fieldWrapper.react-spectrum-TimeField-fieldWrapper {\n width: auto;\n min-width: var(--spectrum-global-dimension-size-1250);\n}\n\n.react-spectrum-Datepicker-input.react-spectrum-Datepicker-input.react-spectrum-Datepicker-input {\n /* always reserve space for the validation icon */\n padding-inline-end: calc(var(--spectrum-textfield-padding-x) + var(--spectrum-icon-alert-medium-width) + var(--spectrum-textfield-icon-margin-left));\n cursor: text;\n}\n\n.react-spectrum-Datepicker-inputContents {\n display: flex;\n align-items: center;\n height: 100%;\n overflow-x: auto;\n scrollbar-width: none; /* Firefox */\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n\n &::-webkit-scrollbar { /* WebKit */\n width: 0;\n height: 0;\n display: none;\n }\n}\n\n.react-spectrum-Datepicker-inputSized {\n display: inline;\n align-items: center;\n}\n\n.react-spectrum-Datepicker-rangeDash {\n &:before {\n content: '–';\n }\n}\n\n.react-spectrum-Datepicker-segments {\n display: inline-block;\n align-items: center;\n}\n\n.react-spectrum-Datepicker-literal {\n white-space: pre;\n user-select: none;\n color: var(--spectrum-textfield-text-color);\n}\n\n.react-spectrum-DatePicker-cell {\n border: none;\n background: none;\n padding: 0 2px;\n border-radius: var(--spectrum-alias-border-radius-small);\n font-variant-numeric: tabular-nums;\n text-align: end;\n box-sizing: content-box;\n white-space: nowrap;\n color: var(--spectrum-textfield-text-color);\n\n &::selection {\n /* hide the selection because there is no way to fully prevent it in Firefox */\n /* https://bugzilla.mozilla.org/show_bug.cgi?id=1742153 */\n background: transparent;\n }\n}\n\n.react-spectrum-DatePicker-cell.is-placeholder {\n color: var(--spectrum-gray-600);\n\n .react-spectrum-DatePicker-placeholder {\n text-align: center;\n pointer-events: none;\n }\n}\n\n.react-spectrum-DatePicker-cell.is-placeholder ~ .react-spectrum-Datepicker-literal {\n color: var(--spectrum-global-color-gray-600);\n}\n\n.react-spectrum-DatePicker-cell.is-read-only {\n color: var(--spectrum-global-color-gray-700);\n}\n\n.react-spectrum-DatePicker-cell:focus {\n background-color: var(--spectrum-accent-background-color-default);\n color: white;\n caret-color: transparent;\n outline: none;\n}\n\n.react-spectrum-Datepicker-dialog.react-spectrum-Datepicker-dialog {\n width: auto;\n}\n\n.react-spectrum-Datepicker-dialogContent {\n display: flex;\n flex-direction: column;\n\n .react-spectrum-Datepicker-calendar.is-invalid {\n /* Only apply display: contents when the calendar is invalid, which allows us to move the\n * error message below the time fields. Otherwise, don't do this because it breaks dragging\n * the selected range on Android. */\n display: contents;\n }\n\n /* Push the help text within the calendar down to the bottom of the dialog, below the time fields. */\n :global(.spectrum-Calendar-helpText) {\n order: 10;\n margin: var(--spectrum-global-dimension-size-200) var(--spectrum-calendar-day-padding) 0 var(--spectrum-calendar-day-padding);\n }\n}\n\n/* when displayed in a tray, reduce the padding of the dialog */\n@media (max-width: 700px) {\n .react-spectrum-Datepicker-dialog {\n --spectrum-dialog-padding-x: 8px;\n\n .react-spectrum-Datepicker-dialogContent {\n margin: 0 auto;\n max-width: calc((var(--spectrum-calendar-day-width) * 7) + (var(--spectrum-calendar-day-padding) * 12));\n }\n }\n}\n\n.react-spectrum-Datepicker-timeFields {\n width: 100%;\n min-width: calc(var(--spectrum-calendar-day-width) * 7);\n max-width: calc((var(--spectrum-calendar-day-width) * 7) + (var(--spectrum-calendar-day-padding) * 12));\n padding: 0 var(--spectrum-calendar-day-padding);\n box-sizing: border-box;\n}\n\n@media (forced-colors:active) {\n .react-spectrum-DatePicker-cell:focus {\n forced-color-adjust: none;\n background-color: Highlight;\n color: HighlightText;\n }\n .react-spectrum-DatePicker-cell.is-read-only {\n color: ButtonText;\n &:focus {\n color: HighlightText;\n }\n }\n .react-spectrum-DatePicker-cell.is-placeholder {\n color: ButtonText;\n &:focus {\n color: HighlightText;\n }\n }\n}\n"],"names":[],"version":3,"file":"styles_css.module.js.map"}
|
package/dist/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"mappings":";;;
|
|
1
|
+
{"mappings":";;;AI2BA;;;GAGG;AACH,OAAO,MAAM,WAgEP,CAAC,CAAmB,SAAT,SAAS,EAAE,KAAK,EAAE,uBAAuB,CAAC,CAAC,GAAG;IAAC,GAAG,CAAC,EAAE,aAAa,WAAW,CAAC,CAAA;CAAC,KAAK,YAAY,CAAC;ACvDlH;;GAEG;AACH,OAAO,MAAM,YA2JP,CAAC,CAAmB,SAAT,SAAS,EAAE,KAAK,EAAE,wBAAwB,CAAC,CAAC,GAAG;IAAC,GAAG,CAAC,EAAE,aAAa,WAAW,CAAC,CAAA;CAAC,KAAK,YAAY,CAAC;AC9JnH;;;GAGG;AACH,OAAO,MAAM,iBAuLP,CAAC,CAAmB,SAAT,SAAS,EAAE,KAAK,EAAE,6BAA6B,CAAC,CAAC,GAAG;IAAC,GAAG,CAAC,EAAE,aAAa,WAAW,CAAC,CAAA;CAAC,KAAK,YAAY,CAAC;ACvMxH;;;GAGG;AACH,OAAO,MAAM,WAyEP,CAAC,CAAmB,SAAT,SAAS,EAAE,KAAK,EAAE,uBAAuB,CAAC,CAAC,GAAG;IAAC,GAAG,CAAC,EAAE,aAAa,WAAW,CAAC,CAAA;CAAC,KAAK,YAAY,CAAC;ACvFlH,YAAY,EAAC,sBAAsB,EAAE,uBAAuB,EAAE,4BAA4B,EAAE,sBAAsB,EAAC,MAAM,yBAAyB,CAAC","sources":["packages/@react-spectrum/datepicker/src/packages/@react-spectrum/datepicker/src/DatePickerSegment.tsx","packages/@react-spectrum/datepicker/src/packages/@react-spectrum/datepicker/src/DatePickerField.tsx","packages/@react-spectrum/datepicker/src/packages/@react-spectrum/datepicker/src/Input.tsx","packages/@react-spectrum/datepicker/src/packages/@react-spectrum/datepicker/src/utils.tsx","packages/@react-spectrum/datepicker/src/packages/@react-spectrum/datepicker/src/TimeField.tsx","packages/@react-spectrum/datepicker/src/packages/@react-spectrum/datepicker/src/DatePicker.tsx","packages/@react-spectrum/datepicker/src/packages/@react-spectrum/datepicker/src/DateRangePicker.tsx","packages/@react-spectrum/datepicker/src/packages/@react-spectrum/datepicker/src/DateField.tsx","packages/@react-spectrum/datepicker/src/packages/@react-spectrum/datepicker/src/index.ts","packages/@react-spectrum/datepicker/src/index.ts"],"sourcesContent":[null,null,null,null,null,null,null,null,null,"/*\n * Copyright 2020 Adobe. All rights reserved.\n * This file is licensed to you under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License. You may obtain a copy\n * of the License at http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software distributed under\n * the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\n * OF ANY KIND, either express or implied. See the License for the specific language\n * governing permissions and limitations under the License.\n */\n\n/// <reference types=\"css-module-types\" />\n\nexport {DatePicker} from './DatePicker';\nexport {DateRangePicker} from './DateRangePicker';\nexport {TimeField} from './TimeField';\nexport {DateField} from './DateField';\nexport type {SpectrumDateFieldProps, SpectrumDatePickerProps, SpectrumDateRangePickerProps, SpectrumTimeFieldProps} from '@react-types/datepicker';\n"],"names":[],"version":3,"file":"types.d.ts.map"}
|