@fluentui/react-calendar-compat 0.1.8 → 0.1.10
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/CHANGELOG.md +26 -2
- package/dist/index.d.ts +11 -1
- package/lib/components/Calendar/Calendar.js +6 -19
- package/lib/components/Calendar/Calendar.js.map +1 -1
- package/lib/components/Calendar/useCalendarStyles.styles.js +89 -53
- package/lib/components/Calendar/useCalendarStyles.styles.js.map +1 -1
- package/lib/components/CalendarDay/useCalendarDayStyles.styles.js +84 -46
- package/lib/components/CalendarDay/useCalendarDayStyles.styles.js.map +1 -1
- package/lib/components/CalendarDayGrid/CalendarDayGrid.types.js.map +1 -1
- package/lib/components/CalendarDayGrid/CalendarGridDayCell.js +2 -1
- package/lib/components/CalendarDayGrid/CalendarGridDayCell.js.map +1 -1
- package/lib/components/CalendarDayGrid/useCalendarDayGridStyles.styles.js +245 -114
- package/lib/components/CalendarDayGrid/useCalendarDayGridStyles.styles.js.map +1 -1
- package/lib/components/CalendarMonth/CalendarMonth.js +1 -1
- package/lib/components/CalendarMonth/CalendarMonth.js.map +1 -1
- package/lib/components/CalendarMonth/index.js +1 -1
- package/lib/components/CalendarMonth/index.js.map +1 -1
- package/lib/components/CalendarMonth/{useCalendarMonthStyles.js → useCalendarMonthStyles.styles.js} +4 -2
- package/lib/components/CalendarMonth/useCalendarMonthStyles.styles.js.map +1 -0
- package/lib/components/CalendarPicker/useCalendarPickerStyles.styles.js +169 -79
- package/lib/components/CalendarPicker/useCalendarPickerStyles.styles.js.map +1 -1
- package/lib/utils/animations.js +5 -6
- package/lib/utils/animations.js.map +1 -1
- package/lib/utils/dateGrid/dateGrid.types.js.map +1 -1
- package/lib/utils/dateGrid/getDayGrid.js +1 -0
- package/lib/utils/dateGrid/getDayGrid.js.map +1 -1
- package/lib-commonjs/components/Calendar/Calendar.js +6 -19
- package/lib-commonjs/components/Calendar/Calendar.js.map +1 -1
- package/lib-commonjs/components/Calendar/useCalendarStyles.styles.js +126 -155
- package/lib-commonjs/components/Calendar/useCalendarStyles.styles.js.map +1 -1
- package/lib-commonjs/components/CalendarDay/useCalendarDayStyles.styles.js +133 -137
- package/lib-commonjs/components/CalendarDay/useCalendarDayStyles.styles.js.map +1 -1
- package/lib-commonjs/components/CalendarDayGrid/CalendarGridDayCell.js +2 -1
- package/lib-commonjs/components/CalendarDayGrid/CalendarGridDayCell.js.map +1 -1
- package/lib-commonjs/components/CalendarDayGrid/useCalendarDayGridStyles.styles.js +417 -333
- package/lib-commonjs/components/CalendarDayGrid/useCalendarDayGridStyles.styles.js.map +1 -1
- package/lib-commonjs/components/CalendarMonth/CalendarMonth.js +2 -2
- package/lib-commonjs/components/CalendarMonth/CalendarMonth.js.map +1 -1
- package/lib-commonjs/components/CalendarMonth/index.js +1 -1
- package/lib-commonjs/components/CalendarMonth/index.js.map +1 -1
- package/lib-commonjs/components/CalendarMonth/{useCalendarMonthStyles.js → useCalendarMonthStyles.styles.js} +1 -1
- package/lib-commonjs/components/CalendarMonth/useCalendarMonthStyles.styles.js.map +1 -0
- package/lib-commonjs/components/CalendarPicker/useCalendarPickerStyles.styles.js +255 -225
- package/lib-commonjs/components/CalendarPicker/useCalendarPickerStyles.styles.js.map +1 -1
- package/lib-commonjs/utils/animations.js +4 -5
- package/lib-commonjs/utils/animations.js.map +1 -1
- package/lib-commonjs/utils/dateGrid/getDayGrid.js +1 -0
- package/lib-commonjs/utils/dateGrid/getDayGrid.js.map +1 -1
- package/package.json +4 -4
- package/lib/components/CalendarMonth/useCalendarMonthStyles.js.map +0 -1
- package/lib-commonjs/components/CalendarMonth/useCalendarMonthStyles.js.map +0 -1
@@ -12,6 +12,7 @@ export const calendarDayGridClassNames = {
|
|
12
12
|
table: 'fui-CalendarDayGrid__table',
|
13
13
|
dayCell: 'fui-CalendarDayGrid__dayCell',
|
14
14
|
daySelected: 'fui-CalendarDayGrid__daySelected',
|
15
|
+
daySingleSelected: 'fui-CalendarDayGrid__daySingleSelected',
|
15
16
|
weekRow: 'fui-CalendarDayGrid__weekRow',
|
16
17
|
weekDayLabelCell: 'fui-CalendarDayGrid__weekDayLabelCell',
|
17
18
|
weekNumberCell: 'fui-CalendarDayGrid__weekNumberCell',
|
@@ -21,7 +22,8 @@ export const calendarDayGridClassNames = {
|
|
21
22
|
dayIsToday: 'fui-CalendarDayGrid__dayIsToday',
|
22
23
|
firstTransitionWeek: 'fui-CalendarDayGrid__firstTransitionWeek',
|
23
24
|
lastTransitionWeek: 'fui-CalendarDayGrid__lastTransitionWeek',
|
24
|
-
dayMarker: 'fui-CalendarDayGrid__dayMarker'
|
25
|
+
dayMarker: 'fui-CalendarDayGrid__dayMarker',
|
26
|
+
dayTodayMarker: 'fui-CalendarDayGrid__dayTodayMarker'
|
25
27
|
};
|
26
28
|
/**
|
27
29
|
* @internal
|
@@ -61,28 +63,27 @@ const useDayCellStyles = /*#__PURE__*/__styles({
|
|
61
63
|
Bceei9c: "f1k6fduh",
|
62
64
|
Be2twd7: "fy9rknc",
|
63
65
|
Bhrd7zp: "figsok6",
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
z189sj:
|
72
|
-
|
73
|
-
|
66
|
+
jrapky: 0,
|
67
|
+
Frg6f3: 0,
|
68
|
+
t21cq0: 0,
|
69
|
+
B6of3ja: 0,
|
70
|
+
B74szlk: "f1s184ao",
|
71
|
+
Byoj8tv: 0,
|
72
|
+
uwmqm3: 0,
|
73
|
+
z189sj: 0,
|
74
|
+
z8tnut: 0,
|
75
|
+
B0ocmuz: "fqtknz5",
|
74
76
|
qhf8xq: "f10pi13n",
|
75
|
-
a9b677: "f1w9dchk",
|
76
77
|
Bsw6fvg: "f8pusc0",
|
77
78
|
Bbusuzp: "fqgauei",
|
78
79
|
cvlxnx: "fp6dsbd",
|
79
80
|
Bweudez: "f4xgodq",
|
80
|
-
|
81
|
-
|
82
|
-
dua3dm:
|
83
|
-
|
84
|
-
Bsnevi5: "f15e7s3w",
|
81
|
+
Bsnevi5: 0,
|
82
|
+
z1p9vi: 0,
|
83
|
+
dua3dm: 0,
|
84
|
+
Bf7el8m: "f1ko8o2g",
|
85
85
|
xnb59o: "fts5qqo",
|
86
|
+
B0mcfed: "fq2wdp5",
|
86
87
|
Bj67fi1: "f1lhgsq9",
|
87
88
|
B2gfgcj: "fdbuq6n",
|
88
89
|
B6cqqer: "f16j2ub3",
|
@@ -107,45 +108,54 @@ const useDayCellStyles = /*#__PURE__*/__styles({
|
|
107
108
|
B7ys5i9: "f14e48fq",
|
108
109
|
Busjfv9: "f18yb2kv",
|
109
110
|
Bhk32uz: "fd6o370",
|
110
|
-
|
111
|
-
|
112
|
-
Bhdgwq3:
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
Bonggc9:
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
111
|
+
f6g5ot: 0,
|
112
|
+
Boxcth7: 0,
|
113
|
+
Bhdgwq3: 0,
|
114
|
+
hgwjuy: 0,
|
115
|
+
Bshpdp8: 0,
|
116
|
+
Bsom6fd: 0,
|
117
|
+
Blkhhs4: 0,
|
118
|
+
Bonggc9: 0,
|
119
|
+
Ddfuxk: 0,
|
120
|
+
i03rao: 0,
|
121
|
+
kclons: 0,
|
122
|
+
clg4pj: 0,
|
123
|
+
Bpqj9nj: 0,
|
124
|
+
B6dhp37: 0,
|
125
|
+
Bf4ptjt: 0,
|
126
|
+
Bqtpl0w: 0,
|
127
|
+
i4rwgc: "fpqizxz",
|
128
|
+
Dah5zi: 0,
|
129
|
+
B1tsrr9: 0,
|
130
|
+
qqdqy8: 0,
|
131
|
+
Bkh64rk: 0,
|
132
|
+
e3fwne: "f3znvyf",
|
133
|
+
J0r882: "fqkqgbk",
|
134
|
+
Bule8hv: ["f1as04kd", "ft30ozv"],
|
135
|
+
Bjwuhne: "f8pxvb2",
|
136
|
+
Ghsupd: ["ft30ozv", "f1as04kd"]
|
130
137
|
}
|
131
138
|
}, {
|
132
|
-
d: [".f19n0e5{color:var(--colorNeutralForeground1);}", ".f1k6fduh{cursor:pointer;}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".
|
139
|
+
d: [".f19n0e5{color:var(--colorNeutralForeground1);}", ".f1k6fduh{cursor:pointer;}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".figsok6{font-weight:var(--fontWeightRegular);}", [".f1s184ao{margin:0;}", {
|
140
|
+
p: -1
|
141
|
+
}], [".fqtknz5{padding:2px;}", {
|
142
|
+
p: -1
|
143
|
+
}], ".f10pi13n{position:relative;}", ".fp6dsbd.fui-CalendarDayGrid__hoverStyle{color:var(--colorNeutralForeground1Static);}", ".f4xgodq.fui-CalendarDayGrid__hoverStyle{background-color:var(--colorBrandBackgroundInvertedHover);}", ".f1lhgsq9.fui-CalendarDayGrid__pressedStyle{color:var(--colorNeutralForeground1Static);}", ".fdbuq6n.fui-CalendarDayGrid__pressedStyle{background-color:var(--colorBrandBackgroundInvertedPressed);}", ".f8hki3x[data-fui-focus-visible]{border-top-color:transparent;}", ".f1d2448m[data-fui-focus-visible]{border-right-color:transparent;}", ".ffh67wi[data-fui-focus-visible]{border-left-color:transparent;}", ".f1bjia2o[data-fui-focus-visible]{border-bottom-color:transparent;}", ".f15bsgw9[data-fui-focus-visible]::after{content:\"\";}", ".f14e48fq[data-fui-focus-visible]::after{position:absolute;}", ".f18yb2kv[data-fui-focus-visible]::after{pointer-events:none;}", ".fd6o370[data-fui-focus-visible]::after{z-index:1;}", [".fpqizxz[data-fui-focus-visible]::after{border:var(--strokeWidthThick) solid var(--colorStrokeFocus2);}", {
|
144
|
+
p: -2
|
145
|
+
}], [".f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}", {
|
146
|
+
p: -1
|
147
|
+
}], ".fqkqgbk[data-fui-focus-visible]::after{top:calc(var(--strokeWidthThick) * -1);}", ".f1as04kd[data-fui-focus-visible]::after{right:calc(var(--strokeWidthThick) * -1);}", ".ft30ozv[data-fui-focus-visible]::after{left:calc(var(--strokeWidthThick) * -1);}", ".f8pxvb2[data-fui-focus-visible]::after{bottom:calc(var(--strokeWidthThick) * -1);}"],
|
133
148
|
m: [["@media (forced-colors: active){.f8pusc0{background-color:Window;}}", {
|
134
149
|
m: "(forced-colors: active)"
|
135
150
|
}], ["@media (forced-colors: active){.fqgauei{color:WindowText;}}", {
|
136
151
|
m: "(forced-colors: active)"
|
137
|
-
}], ["@media (forced-colors: active){.
|
138
|
-
|
139
|
-
}], ["@media (forced-colors: active){.ff78tpz.fui-CalendarDayGrid__hoverStyle{color:WindowText;}}", {
|
140
|
-
m: "(forced-colors: active)"
|
141
|
-
}], ["@media (forced-colors: active){.f128nre3.fui-CalendarDayGrid__hoverStyle{outline-width:1px;}}", {
|
142
|
-
m: "(forced-colors: active)"
|
143
|
-
}], ["@media (forced-colors: active){.f1elgve3.fui-CalendarDayGrid__hoverStyle{outline-style:solid;}}", {
|
144
|
-
m: "(forced-colors: active)"
|
145
|
-
}], ["@media (forced-colors: active){.f15e7s3w.fui-CalendarDayGrid__hoverStyle{outline-color:Highlight;}}", {
|
152
|
+
}], ["@media (forced-colors: active){.f1ko8o2g.fui-CalendarDayGrid__hoverStyle{outline:1px solid Highlight;}}", {
|
153
|
+
p: -1,
|
146
154
|
m: "(forced-colors: active)"
|
147
155
|
}], ["@media (forced-colors: active){.fts5qqo.fui-CalendarDayGrid__hoverStyle{z-index:3;}}", {
|
148
156
|
m: "(forced-colors: active)"
|
157
|
+
}], ["@media (forced-colors: active){.fq2wdp5.fui-CalendarDayGrid__hoverStyle .fui-CalendarDayGrid__dayTodayMarker{background-color:Highlight;}}", {
|
158
|
+
m: "(forced-colors: active)"
|
149
159
|
}], ["@media (forced-colors: active){.f16j2ub3.fui-CalendarDayGrid__pressedStyle{background-color:Window;}}", {
|
150
160
|
m: "(forced-colors: active)"
|
151
161
|
}], ["@media (forced-colors: active){.f5hk6jp.fui-CalendarDayGrid__pressedStyle{border-top-color:Highlight;}}", {
|
@@ -206,6 +216,56 @@ const useDaySelectedStyles = /*#__PURE__*/__styles({
|
|
206
216
|
}]],
|
207
217
|
h: [".f1chdfq9:hover,.f1chdfq9.fui-CalendarDayGrid__hoverStyle,.f1chdfq9.fui-CalendarDayGrid__pressedStyle{color:var(--colorNeutralForeground1Static);}", ".fq0dbue:hover,.fq0dbue.fui-CalendarDayGrid__hoverStyle,.fq0dbue.fui-CalendarDayGrid__pressedStyle{background-color:var(--colorBrandBackgroundInvertedSelected);}"]
|
208
218
|
});
|
219
|
+
const useDaySingleSelectedStyles = /*#__PURE__*/__styles({
|
220
|
+
base: {
|
221
|
+
sj55zd: "ff5vbop",
|
222
|
+
E9zv3o: "ft4goo8",
|
223
|
+
B2ns3jv: "fy35frb",
|
224
|
+
Bwxf4zv: 0,
|
225
|
+
Bp8cau8: 0,
|
226
|
+
Buy161k: 0,
|
227
|
+
Bpzqh5e: 0,
|
228
|
+
Fh6yq5: "f8kna22",
|
229
|
+
B75pphk: "f3ef5pp",
|
230
|
+
Cmeexk: ["f1lmnm0c", "f1nrej41"],
|
231
|
+
yen2pv: "f1pt3b1q",
|
232
|
+
ydc5we: ["f1nrej41", "f1lmnm0c"],
|
233
|
+
Bz06psx: "fcydihv",
|
234
|
+
Bvql7r5: ["fgb2y1b", "fzbode6"],
|
235
|
+
k24jl4: "fofq8g1",
|
236
|
+
Bksmc0g: ["fzbode6", "fgb2y1b"],
|
237
|
+
Buxuwzc: "f36ub4m",
|
238
|
+
xn840g: ["f19aczhj", "ffhc5ea"],
|
239
|
+
Jh9m0u: "flfq9gv",
|
240
|
+
Fmkg4n: ["ffhc5ea", "f19aczhj"],
|
241
|
+
kmtgwu: "fv38a4k",
|
242
|
+
g6m10a: "f1wil596",
|
243
|
+
Birdjzs: ["f1941p3i", "fsfopon"],
|
244
|
+
yojo9v: "f14tb4e3",
|
245
|
+
qdeutu: ["fsfopon", "f1941p3i"],
|
246
|
+
yfp87c: "f161hy0n",
|
247
|
+
zuskld: "fbp2bxz"
|
248
|
+
}
|
249
|
+
}, {
|
250
|
+
d: [".ff5vbop{color:var(--colorNeutralForeground1Static);}", ".fy35frb>.fui-CalendarDayGrid__dayButton{background-color:var(--colorBrandBackgroundInvertedSelected);}", [".f8kna22>.fui-CalendarDayGrid__dayButton{border-radius:var(--borderRadiusMedium);}", {
|
251
|
+
p: -1
|
252
|
+
}], ".f3ef5pp>.fui-CalendarDayGrid__dayButton{border-top-width:1px;}", ".f1lmnm0c>.fui-CalendarDayGrid__dayButton{border-right-width:1px;}", ".f1nrej41>.fui-CalendarDayGrid__dayButton{border-left-width:1px;}", ".f1pt3b1q>.fui-CalendarDayGrid__dayButton{border-bottom-width:1px;}", ".fcydihv>.fui-CalendarDayGrid__dayButton{border-top-style:solid;}", ".fgb2y1b>.fui-CalendarDayGrid__dayButton{border-right-style:solid;}", ".fzbode6>.fui-CalendarDayGrid__dayButton{border-left-style:solid;}", ".fofq8g1>.fui-CalendarDayGrid__dayButton{border-bottom-style:solid;}", ".f36ub4m>.fui-CalendarDayGrid__dayButton{border-top-color:var(--colorBrandStroke1);}", ".f19aczhj>.fui-CalendarDayGrid__dayButton{border-right-color:var(--colorBrandStroke1);}", ".ffhc5ea>.fui-CalendarDayGrid__dayButton{border-left-color:var(--colorBrandStroke1);}", ".flfq9gv>.fui-CalendarDayGrid__dayButton{border-bottom-color:var(--colorBrandStroke1);}"],
|
253
|
+
m: [["@media (forced-colors: active){.ft4goo8>.fui-CalendarDayGrid__dayMarker{background-color:Window;}}", {
|
254
|
+
m: "(forced-colors: active)"
|
255
|
+
}], ["@media (forced-colors: active){.fv38a4k>.fui-CalendarDayGrid__dayButton{background-color:Highlight;}}", {
|
256
|
+
m: "(forced-colors: active)"
|
257
|
+
}], ["@media (forced-colors: active){.f1wil596>.fui-CalendarDayGrid__dayButton{border-top-color:Highlight;}}", {
|
258
|
+
m: "(forced-colors: active)"
|
259
|
+
}], ["@media (forced-colors: active){.f1941p3i>.fui-CalendarDayGrid__dayButton{border-right-color:Highlight;}.fsfopon>.fui-CalendarDayGrid__dayButton{border-left-color:Highlight;}}", {
|
260
|
+
m: "(forced-colors: active)"
|
261
|
+
}], ["@media (forced-colors: active){.f14tb4e3>.fui-CalendarDayGrid__dayButton{border-bottom-color:Highlight;}}", {
|
262
|
+
m: "(forced-colors: active)"
|
263
|
+
}], ["@media (forced-colors: active){.f161hy0n>.fui-CalendarDayGrid__dayButton{color:HighlightText;}}", {
|
264
|
+
m: "(forced-colors: active)"
|
265
|
+
}], ["@media (forced-colors: active){.fbp2bxz>.fui-CalendarDayGrid__dayButton{forced-color-adjust:none;}}", {
|
266
|
+
m: "(forced-colors: active)"
|
267
|
+
}]]
|
268
|
+
});
|
209
269
|
const useWeekRowStyles = /*#__PURE__*/__styles({
|
210
270
|
base: {
|
211
271
|
vin17d: "f5f2jbu",
|
@@ -243,29 +303,37 @@ const useWeekDayLabelCellStyles = /*#__PURE__*/__styles({
|
|
243
303
|
const useWeekNumberCellStyles = /*#__PURE__*/__styles({
|
244
304
|
base: {
|
245
305
|
De3pzq: "f1c21dwh",
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
Bekrc4i: ["f1hqa2wf", "finvdd3"],
|
251
|
-
vrafjx: ["fcdblym", "fjik90z"],
|
306
|
+
h3c5rm: 0,
|
307
|
+
vrafjx: 0,
|
308
|
+
Bekrc4i: 0,
|
309
|
+
u1mtju: ["fe2nn5g", "f1rcbay7"],
|
252
310
|
B7ck84d: "f1ewtqcl",
|
253
311
|
sj55zd: "fxc4j92",
|
254
312
|
Be2twd7: "fy9rknc",
|
255
313
|
Bhrd7zp: "figsok6",
|
256
314
|
Bqenvij: "fxldao9",
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
315
|
+
jrapky: 0,
|
316
|
+
Frg6f3: 0,
|
317
|
+
t21cq0: 0,
|
318
|
+
B6of3ja: 0,
|
319
|
+
B74szlk: "f1s184ao",
|
320
|
+
Byoj8tv: 0,
|
321
|
+
uwmqm3: 0,
|
322
|
+
z189sj: 0,
|
323
|
+
z8tnut: 0,
|
324
|
+
B0ocmuz: "f1mk8lai",
|
265
325
|
a9b677: "f1w9dchk"
|
266
326
|
}
|
267
327
|
}, {
|
268
|
-
d: [".f1c21dwh{background-color:var(--colorTransparentBackground);}", ".
|
328
|
+
d: [".f1c21dwh{background-color:var(--colorTransparentBackground);}", [".fe2nn5g{border-right:1px solid var(--colorNeutralStroke2);}", {
|
329
|
+
p: -1
|
330
|
+
}], [".f1rcbay7{border-left:1px solid var(--colorNeutralStroke2);}", {
|
331
|
+
p: -1
|
332
|
+
}], ".f1ewtqcl{box-sizing:border-box;}", ".fxc4j92{color:var(--colorNeutralForeground4);}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".figsok6{font-weight:var(--fontWeightRegular);}", ".fxldao9{height:28px;}", [".f1s184ao{margin:0;}", {
|
333
|
+
p: -1
|
334
|
+
}], [".f1mk8lai{padding:0;}", {
|
335
|
+
p: -1
|
336
|
+
}], ".f1w9dchk{width:28px;}"]
|
269
337
|
});
|
270
338
|
const useDayOutsideBoundsStyles = /*#__PURE__*/__styles({
|
271
339
|
base: {
|
@@ -295,54 +363,103 @@ const useDayOutsideNavigatedMonthStyles = /*#__PURE__*/__styles({
|
|
295
363
|
const useDayButtonStyles = /*#__PURE__*/__styles({
|
296
364
|
base: {
|
297
365
|
De3pzq: "f1c21dwh",
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
|
366
|
+
Bgfg5da: 0,
|
367
|
+
B9xav0g: 0,
|
368
|
+
oivjwe: 0,
|
369
|
+
Bn0qgzm: 0,
|
370
|
+
B4g9neb: 0,
|
371
|
+
zhjwy3: 0,
|
372
|
+
wvpqe5: 0,
|
373
|
+
ibv6hh: 0,
|
374
|
+
u1mtju: 0,
|
375
|
+
h3c5rm: 0,
|
376
|
+
vrafjx: 0,
|
377
|
+
Bekrc4i: 0,
|
378
|
+
i8vvqc: 0,
|
379
|
+
g2u3we: 0,
|
380
|
+
icvyot: 0,
|
381
|
+
B4j52fo: 0,
|
382
|
+
irswps: "f3bhgqh",
|
306
383
|
sj55zd: "f1ym3bx4",
|
307
384
|
Bceei9c: "f1k6fduh",
|
308
385
|
Be2twd7: "fy9rknc",
|
309
386
|
Bhrd7zp: "ff5ikls",
|
310
387
|
Bqenvij: "frvgh55",
|
311
388
|
Bg96gwp: "f8xlz6g",
|
312
|
-
B68tc82:
|
313
|
-
Bmxbyg5:
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
389
|
+
B68tc82: 0,
|
390
|
+
Bmxbyg5: 0,
|
391
|
+
Bpg54ce: "f1gl81tg",
|
392
|
+
Byoj8tv: 0,
|
393
|
+
uwmqm3: 0,
|
394
|
+
z189sj: 0,
|
395
|
+
z8tnut: 0,
|
396
|
+
B0ocmuz: "f1mk8lai",
|
318
397
|
a9b677: "fq4mcun",
|
319
398
|
Bx0yju7: "f10y451g",
|
320
|
-
l98f4w: "f1dwpgx3"
|
399
|
+
l98f4w: "f1dwpgx3",
|
400
|
+
Jwef8y: "f18a0fwf",
|
401
|
+
Btmb5he: 0,
|
402
|
+
gu71dq: 0,
|
403
|
+
B2zomw9: 0,
|
404
|
+
Fgk69s: 0,
|
405
|
+
Bw6eyry: "f1mhq3ai",
|
406
|
+
ecr2s2: "f7la2e8"
|
321
407
|
}
|
322
408
|
}, {
|
323
|
-
d: [".f1c21dwh{background-color:var(--colorTransparentBackground);}", ".
|
409
|
+
d: [".f1c21dwh{background-color:var(--colorTransparentBackground);}", [".f3bhgqh{border:none;}", {
|
410
|
+
p: -2
|
411
|
+
}], ".f1ym3bx4{color:inherit;}", ".f1k6fduh{cursor:pointer;}", ".fy9rknc{font-size:var(--fontSizeBase200);}", ".ff5ikls{font-weight:inherit;}", ".frvgh55{height:24px;}", ".f8xlz6g{line-height:24px;}", [".f1gl81tg{overflow:visible;}", {
|
412
|
+
p: -1
|
413
|
+
}], [".f1mk8lai{padding:0;}", {
|
414
|
+
p: -1
|
415
|
+
}], ".fq4mcun{width:24px;}", ".f10y451gspan{height:inherit;}", ".f1dwpgx3span{line-height:inherit;}"],
|
416
|
+
h: [".f18a0fwf:hover{background-color:var(--colorBrandBackgroundInvertedHover);}", [".f1mhq3ai:hover{border-radius:var(--borderRadiusMedium);}", {
|
417
|
+
p: -1
|
418
|
+
}]],
|
419
|
+
a: [".f7la2e8:active{background-color:var(--colorBrandBackgroundInvertedPressed);}"]
|
324
420
|
});
|
325
421
|
const useDayIsTodayStyles = /*#__PURE__*/__styles({
|
326
422
|
base: {
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
B7oj6ja: ["f18mldvw", "f3h6kr5"],
|
331
|
-
Btl43ni: ["f3h6kr5", "f18mldvw"],
|
423
|
+
mc9l5x: "f22iagw",
|
424
|
+
Brf1p80: "f4d9j23",
|
425
|
+
Bt984gj: "f122n59",
|
332
426
|
sj55zd: "f1phragk",
|
333
427
|
Bhrd7zp: "fl43uef",
|
428
|
+
kof2un: "f1b5s8wn",
|
429
|
+
E9zv3o: "ft4goo8"
|
430
|
+
}
|
431
|
+
}, {
|
432
|
+
d: [".f22iagw{display:flex;}", ".f4d9j23{justify-content:center;}", ".f122n59{align-items:center;}", ".f1phragk{color:var(--colorNeutralForegroundOnBrand);}", ".fl43uef{font-weight:var(--fontWeightSemibold);}", ".f1b5s8wn>.fui-CalendarDayGrid__dayMarker{background-color:var(--colorNeutralForegroundOnBrand);}"],
|
433
|
+
m: [["@media (forced-colors: active){.ft4goo8>.fui-CalendarDayGrid__dayMarker{background-color:Window;}}", {
|
434
|
+
m: "(forced-colors: active)"
|
435
|
+
}]]
|
436
|
+
});
|
437
|
+
const useDayTodayMarkerStyles = /*#__PURE__*/__styles({
|
438
|
+
base: {
|
439
|
+
mc9l5x: "f22iagw",
|
440
|
+
Brf1p80: "f4d9j23",
|
441
|
+
Bt984gj: "f122n59",
|
442
|
+
De3pzq: "ffp7eso",
|
443
|
+
Beyfa6y: 0,
|
444
|
+
Bbmb7ep: 0,
|
445
|
+
Btl43ni: 0,
|
446
|
+
B7oj6ja: 0,
|
447
|
+
Dimara: "f1qtlz2s",
|
448
|
+
a9b677: "f64fuq3",
|
449
|
+
Bqenvij: "fjamq6b",
|
450
|
+
Bg96gwp: "f1n95isl",
|
334
451
|
Bsw6fvg: "fg374yq",
|
335
452
|
Bjwas2f: "fx4t0an",
|
336
453
|
Bn1d65q: ["f1bd7qk0", "fk5vpic"],
|
337
454
|
Bxeuatn: "fgxnpfp",
|
338
455
|
n51gp8: ["fk5vpic", "f1bd7qk0"],
|
339
456
|
Bbusuzp: "f1yig07e",
|
340
|
-
ycbfsm: "fkc42ay"
|
341
|
-
kof2un: "f1b5s8wn",
|
342
|
-
E9zv3o: "ft4goo8"
|
457
|
+
ycbfsm: "fkc42ay"
|
343
458
|
}
|
344
459
|
}, {
|
345
|
-
d: [".
|
460
|
+
d: [".f22iagw{display:flex;}", ".f4d9j23{justify-content:center;}", ".f122n59{align-items:center;}", ".ffp7eso{background-color:var(--colorBrandBackground);}", [".f1qtlz2s{border-radius:100%;}", {
|
461
|
+
p: -1
|
462
|
+
}], ".f64fuq3{width:20px;}", ".fjamq6b{height:20px;}", ".f1n95isl{line-height:20px;}"],
|
346
463
|
m: [["@media (forced-colors: active){.fg374yq{background-color:WindowText;}}", {
|
347
464
|
m: "(forced-colors: active)"
|
348
465
|
}], ["@media (forced-colors: active){.fx4t0an{border-top-color:WindowText;}}", {
|
@@ -355,63 +472,69 @@ const useDayIsTodayStyles = /*#__PURE__*/__styles({
|
|
355
472
|
m: "(forced-colors: active)"
|
356
473
|
}], ["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}", {
|
357
474
|
m: "(forced-colors: active)"
|
358
|
-
}], ["@media (forced-colors: active){.ft4goo8>.fui-CalendarDayGrid__dayMarker{background-color:Window;}}", {
|
359
|
-
m: "(forced-colors: active)"
|
360
475
|
}]]
|
361
476
|
});
|
362
477
|
const useFirstTransitionWeekStyles = /*#__PURE__*/__styles({
|
363
478
|
base: {
|
364
479
|
Bqenvij: "fniina8",
|
365
480
|
abs64n: "fk73vx1",
|
366
|
-
B68tc82:
|
367
|
-
Bmxbyg5:
|
481
|
+
B68tc82: 0,
|
482
|
+
Bmxbyg5: 0,
|
483
|
+
Bpg54ce: "f1a3p1vp",
|
368
484
|
qhf8xq: "f1euv43f",
|
369
485
|
a9b677: "f3tsq5r"
|
370
486
|
},
|
371
487
|
verticalForward: {
|
372
488
|
vin17d: "f5f2jbu",
|
373
489
|
Bf5fcs: "fywypte",
|
374
|
-
Bv12yb3: "
|
490
|
+
Bv12yb3: "fupj2f5",
|
375
491
|
Ezkn3b: "f1ee2ue"
|
376
492
|
}
|
377
493
|
}, {
|
378
|
-
d: [".fniina8{height:0;}", ".fk73vx1{opacity:0;}", ".
|
379
|
-
|
494
|
+
d: [".fniina8{height:0;}", ".fk73vx1{opacity:0;}", [".f1a3p1vp{overflow:hidden;}", {
|
495
|
+
p: -1
|
496
|
+
}], ".f1euv43f{position:absolute;}", ".f3tsq5r{width:0;}", ".f5f2jbu{animation-duration:0.367s;}", ".fywypte{animation-fill-mode:both;}", ".fupj2f5{animation-name:f199e34v,f76svrd,f13agkrc;}", ".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}"],
|
497
|
+
k: ["@keyframes f199e34v{from{opacity:1;}to{opacity:0;visibility:hidden;}}", "@keyframes f76svrd{from{transform:translate3d(0, 0, 0);}to{transform:translate3d(0, -20px, 0);}}", "@keyframes f13agkrc{100%{height:0px;overflow:hidden;width:0px;}99.9%{height:28px;overflow:visible;width:100%;}0%{height:28px;overflow:visible;width:100%;}}"]
|
380
498
|
});
|
381
499
|
const useLastTransitionWeekStyles = /*#__PURE__*/__styles({
|
382
500
|
base: {
|
383
501
|
Bqenvij: "fniina8",
|
384
502
|
B6of3ja: "flykjtj",
|
385
503
|
abs64n: "fk73vx1",
|
386
|
-
B68tc82:
|
387
|
-
Bmxbyg5:
|
504
|
+
B68tc82: 0,
|
505
|
+
Bmxbyg5: 0,
|
506
|
+
Bpg54ce: "f1a3p1vp",
|
388
507
|
qhf8xq: "f1euv43f",
|
389
508
|
a9b677: "f3tsq5r"
|
390
509
|
},
|
391
510
|
verticalBackward: {
|
392
511
|
vin17d: "f5f2jbu",
|
393
512
|
Bf5fcs: "fywypte",
|
394
|
-
Bv12yb3: "
|
513
|
+
Bv12yb3: "fifoktk",
|
395
514
|
Ezkn3b: "f1ee2ue"
|
396
515
|
}
|
397
516
|
}, {
|
398
|
-
d: [".fniina8{height:0;}", ".flykjtj{margin-top:-28px;}", ".fk73vx1{opacity:0;}", ".
|
399
|
-
|
517
|
+
d: [".fniina8{height:0;}", ".flykjtj{margin-top:-28px;}", ".fk73vx1{opacity:0;}", [".f1a3p1vp{overflow:hidden;}", {
|
518
|
+
p: -1
|
519
|
+
}], ".f1euv43f{position:absolute;}", ".f3tsq5r{width:0;}", ".f5f2jbu{animation-duration:0.367s;}", ".fywypte{animation-fill-mode:both;}", ".fifoktk{animation-name:f199e34v,f18895iq,f13agkrc;}", ".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}"],
|
520
|
+
k: ["@keyframes f199e34v{from{opacity:1;}to{opacity:0;visibility:hidden;}}", "@keyframes f18895iq{from{transform:translate3d(0, 0, 0);}to{transform:translate3d(0, 20px, 0);}}", "@keyframes f13agkrc{100%{height:0px;overflow:hidden;width:0px;}99.9%{height:28px;overflow:visible;width:100%;}0%{height:28px;overflow:visible;width:100%;}}"]
|
400
521
|
});
|
401
522
|
const useDayMarkerStyles = /*#__PURE__*/__styles({
|
402
523
|
base: {
|
403
524
|
De3pzq: "fnggedw",
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
525
|
+
Beyfa6y: 0,
|
526
|
+
Bbmb7ep: 0,
|
527
|
+
Btl43ni: 0,
|
528
|
+
B7oj6ja: 0,
|
529
|
+
Dimara: "f1qtlz2s",
|
408
530
|
B5kzvoi: "f1oq0udb",
|
409
531
|
Bqenvij: "f6ywr7j",
|
410
532
|
oyh7mz: ["f1vgc2s3", "f1e31b4d"],
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
533
|
+
jrapky: 0,
|
534
|
+
Frg6f3: 0,
|
535
|
+
t21cq0: 0,
|
536
|
+
B6of3ja: 0,
|
537
|
+
B74szlk: "fcpdi13",
|
415
538
|
qhf8xq: "f1euv43f",
|
416
539
|
j35jbq: ["f1e31b4d", "f1vgc2s3"],
|
417
540
|
a9b677: "faro0ui",
|
@@ -419,7 +542,11 @@ const useDayMarkerStyles = /*#__PURE__*/__styles({
|
|
419
542
|
ycbfsm: "fkc42ay"
|
420
543
|
}
|
421
544
|
}, {
|
422
|
-
d: [".fnggedw{background-color:var(--colorBrandForeground2);}", ".
|
545
|
+
d: [".fnggedw{background-color:var(--colorBrandForeground2);}", [".f1qtlz2s{border-radius:100%;}", {
|
546
|
+
p: -1
|
547
|
+
}], ".f1oq0udb{bottom:1px;}", ".f6ywr7j{height:4px;}", ".f1vgc2s3{left:0;}", ".f1e31b4d{right:0;}", [".fcpdi13{margin:auto;}", {
|
548
|
+
p: -1
|
549
|
+
}], ".f1euv43f{position:absolute;}", ".faro0ui{width:4px;}"],
|
423
550
|
m: [["@media (forced-colors: active){.fg374yq{background-color:WindowText;}}", {
|
424
551
|
m: "(forced-colors: active)"
|
425
552
|
}], ["@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}", {
|
@@ -428,13 +555,13 @@ const useDayMarkerStyles = /*#__PURE__*/__styles({
|
|
428
555
|
});
|
429
556
|
const useCornerBorderAndRadiusStyles = /*#__PURE__*/__styles({
|
430
557
|
corners: {
|
431
|
-
Cy64m2: ["
|
432
|
-
Bnn43bw: ["
|
433
|
-
feanbc: ["
|
434
|
-
B4268ip: ["
|
558
|
+
Cy64m2: ["f1yxjewa", "f5xfyye"],
|
559
|
+
Bnn43bw: ["f1kpdnd7", "fokqrni"],
|
560
|
+
feanbc: ["f127emps", "f1s6s1el"],
|
561
|
+
B4268ip: ["f39vr2a", "frpqyrn"]
|
435
562
|
}
|
436
563
|
}, {
|
437
|
-
d: [".
|
564
|
+
d: [".f1yxjewa.fui-CalendarDayGrid__topRightCornerDate{border-top-right-radius:var(--borderRadiusMedium);}", ".f5xfyye.fui-CalendarDayGrid__topRightCornerDate{border-top-left-radius:var(--borderRadiusMedium);}", ".f1kpdnd7.fui-CalendarDayGrid__topLeftCornerDate{border-top-left-radius:var(--borderRadiusMedium);}", ".fokqrni.fui-CalendarDayGrid__topLeftCornerDate{border-top-right-radius:var(--borderRadiusMedium);}", ".f127emps.fui-CalendarDayGrid__bottomRightCornerDate{border-bottom-right-radius:var(--borderRadiusMedium);}", ".f1s6s1el.fui-CalendarDayGrid__bottomRightCornerDate{border-bottom-left-radius:var(--borderRadiusMedium);}", ".f39vr2a.fui-CalendarDayGrid__bottomLeftCornerDate{border-bottom-left-radius:var(--borderRadiusMedium);}", ".frpqyrn.fui-CalendarDayGrid__bottomLeftCornerDate{border-bottom-right-radius:var(--borderRadiusMedium);}"]
|
438
565
|
});
|
439
566
|
/**
|
440
567
|
* @internal
|
@@ -446,6 +573,7 @@ export const useCalendarDayGridStyles_unstable = props => {
|
|
446
573
|
const tableStyles = useTableStyles();
|
447
574
|
const dayCellStyles = useDayCellStyles();
|
448
575
|
const daySelectedStyles = useDaySelectedStyles();
|
576
|
+
const daySingleSelectedStyles = useDaySingleSelectedStyles();
|
449
577
|
const weekRowStyles = useWeekRowStyles();
|
450
578
|
const weekDayLabelCellStyles = useWeekDayLabelCellStyles();
|
451
579
|
const weekNumberCellStyles = useWeekNumberCellStyles();
|
@@ -457,6 +585,7 @@ export const useCalendarDayGridStyles_unstable = props => {
|
|
457
585
|
const lastTransitionWeekStyles = useLastTransitionWeekStyles();
|
458
586
|
const dayMarkerStyles = useDayMarkerStyles();
|
459
587
|
const cornerBorderAndRadiusStyles = useCornerBorderAndRadiusStyles();
|
588
|
+
const dayTodayMarkerStyles = useDayTodayMarkerStyles();
|
460
589
|
const {
|
461
590
|
animateBackwards,
|
462
591
|
animationDirection,
|
@@ -468,6 +597,7 @@ export const useCalendarDayGridStyles_unstable = props => {
|
|
468
597
|
table: mergeClasses(calendarDayGridClassNames.table, tableStyles.base, showWeekNumbers && tableStyles.showWeekNumbers),
|
469
598
|
dayCell: mergeClasses(calendarDayGridClassNames.dayCell, dayCellStyles.base, dayCellStyles.focusIndicator, cornerBorderAndRadiusStyles.corners),
|
470
599
|
daySelected: mergeClasses(calendarDayGridClassNames.daySelected, daySelectedStyles.base),
|
600
|
+
daySingleSelected: mergeClasses(calendarDayGridClassNames.daySingleSelected, daySingleSelectedStyles.base),
|
471
601
|
weekRow: mergeClasses(calendarDayGridClassNames.weekRow, animateBackwards !== undefined && weekRowStyles.base, animateBackwards !== undefined && (animationDirection === AnimationDirection.Horizontal ? animateBackwards ? weekRowStyles.horizontalBackward : weekRowStyles.horizontalForward : animateBackwards ? weekRowStyles.verticalBackward : weekRowStyles.verticalForward)),
|
472
602
|
weekDayLabelCell: mergeClasses(calendarDayGridClassNames.weekDayLabelCell, weekDayLabelCellStyles.base),
|
473
603
|
weekNumberCell: mergeClasses(calendarDayGridClassNames.weekNumberCell, weekNumberCellStyles.base),
|
@@ -477,7 +607,8 @@ export const useCalendarDayGridStyles_unstable = props => {
|
|
477
607
|
dayIsToday: mergeClasses(calendarDayGridClassNames.dayIsToday, dayIsTodayStyles.base),
|
478
608
|
firstTransitionWeek: mergeClasses(calendarDayGridClassNames.firstTransitionWeek, firstTransitionWeekStyles.base, animateBackwards !== undefined && animationDirection !== AnimationDirection.Horizontal && !animateBackwards && firstTransitionWeekStyles.verticalForward),
|
479
609
|
lastTransitionWeek: mergeClasses(calendarDayGridClassNames.lastTransitionWeek, lastTransitionWeekStyles.base, animateBackwards !== undefined && animationDirection !== AnimationDirection.Horizontal && animateBackwards && lastTransitionWeekStyles.verticalBackward),
|
480
|
-
dayMarker: mergeClasses(calendarDayGridClassNames.dayMarker, dayMarkerStyles.base)
|
610
|
+
dayMarker: mergeClasses(calendarDayGridClassNames.dayMarker, dayMarkerStyles.base),
|
611
|
+
dayTodayMarker: mergeClasses(calendarDayGridClassNames.dayTodayMarker, dayTodayMarkerStyles.base)
|
481
612
|
};
|
482
613
|
};
|
483
614
|
//# sourceMappingURL=useCalendarDayGridStyles.styles.js.map
|