@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.
Files changed (51) hide show
  1. package/CHANGELOG.md +26 -2
  2. package/dist/index.d.ts +11 -1
  3. package/lib/components/Calendar/Calendar.js +6 -19
  4. package/lib/components/Calendar/Calendar.js.map +1 -1
  5. package/lib/components/Calendar/useCalendarStyles.styles.js +89 -53
  6. package/lib/components/Calendar/useCalendarStyles.styles.js.map +1 -1
  7. package/lib/components/CalendarDay/useCalendarDayStyles.styles.js +84 -46
  8. package/lib/components/CalendarDay/useCalendarDayStyles.styles.js.map +1 -1
  9. package/lib/components/CalendarDayGrid/CalendarDayGrid.types.js.map +1 -1
  10. package/lib/components/CalendarDayGrid/CalendarGridDayCell.js +2 -1
  11. package/lib/components/CalendarDayGrid/CalendarGridDayCell.js.map +1 -1
  12. package/lib/components/CalendarDayGrid/useCalendarDayGridStyles.styles.js +245 -114
  13. package/lib/components/CalendarDayGrid/useCalendarDayGridStyles.styles.js.map +1 -1
  14. package/lib/components/CalendarMonth/CalendarMonth.js +1 -1
  15. package/lib/components/CalendarMonth/CalendarMonth.js.map +1 -1
  16. package/lib/components/CalendarMonth/index.js +1 -1
  17. package/lib/components/CalendarMonth/index.js.map +1 -1
  18. package/lib/components/CalendarMonth/{useCalendarMonthStyles.js → useCalendarMonthStyles.styles.js} +4 -2
  19. package/lib/components/CalendarMonth/useCalendarMonthStyles.styles.js.map +1 -0
  20. package/lib/components/CalendarPicker/useCalendarPickerStyles.styles.js +169 -79
  21. package/lib/components/CalendarPicker/useCalendarPickerStyles.styles.js.map +1 -1
  22. package/lib/utils/animations.js +5 -6
  23. package/lib/utils/animations.js.map +1 -1
  24. package/lib/utils/dateGrid/dateGrid.types.js.map +1 -1
  25. package/lib/utils/dateGrid/getDayGrid.js +1 -0
  26. package/lib/utils/dateGrid/getDayGrid.js.map +1 -1
  27. package/lib-commonjs/components/Calendar/Calendar.js +6 -19
  28. package/lib-commonjs/components/Calendar/Calendar.js.map +1 -1
  29. package/lib-commonjs/components/Calendar/useCalendarStyles.styles.js +126 -155
  30. package/lib-commonjs/components/Calendar/useCalendarStyles.styles.js.map +1 -1
  31. package/lib-commonjs/components/CalendarDay/useCalendarDayStyles.styles.js +133 -137
  32. package/lib-commonjs/components/CalendarDay/useCalendarDayStyles.styles.js.map +1 -1
  33. package/lib-commonjs/components/CalendarDayGrid/CalendarGridDayCell.js +2 -1
  34. package/lib-commonjs/components/CalendarDayGrid/CalendarGridDayCell.js.map +1 -1
  35. package/lib-commonjs/components/CalendarDayGrid/useCalendarDayGridStyles.styles.js +417 -333
  36. package/lib-commonjs/components/CalendarDayGrid/useCalendarDayGridStyles.styles.js.map +1 -1
  37. package/lib-commonjs/components/CalendarMonth/CalendarMonth.js +2 -2
  38. package/lib-commonjs/components/CalendarMonth/CalendarMonth.js.map +1 -1
  39. package/lib-commonjs/components/CalendarMonth/index.js +1 -1
  40. package/lib-commonjs/components/CalendarMonth/index.js.map +1 -1
  41. package/lib-commonjs/components/CalendarMonth/{useCalendarMonthStyles.js → useCalendarMonthStyles.styles.js} +1 -1
  42. package/lib-commonjs/components/CalendarMonth/useCalendarMonthStyles.styles.js.map +1 -0
  43. package/lib-commonjs/components/CalendarPicker/useCalendarPickerStyles.styles.js +255 -225
  44. package/lib-commonjs/components/CalendarPicker/useCalendarPickerStyles.styles.js.map +1 -1
  45. package/lib-commonjs/utils/animations.js +4 -5
  46. package/lib-commonjs/utils/animations.js.map +1 -1
  47. package/lib-commonjs/utils/dateGrid/getDayGrid.js +1 -0
  48. package/lib-commonjs/utils/dateGrid/getDayGrid.js.map +1 -1
  49. package/package.json +4 -4
  50. package/lib/components/CalendarMonth/useCalendarMonthStyles.js.map +0 -1
  51. package/lib-commonjs/components/CalendarMonth/useCalendarMonthStyles.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["useCalendarDayGridStyles.styles.js"],"sourcesContent":["import { tokens } from '@fluentui/react-theme';\nimport { __styles, mergeClasses, shorthands } from '@griffel/react';\nimport { DURATION_2, DURATION_3, EASING_FUNCTION_1, EASING_FUNCTION_2, FADE_IN, FADE_OUT, SLIDE_DOWN_IN20, SLIDE_DOWN_OUT20, SLIDE_LEFT_IN20, SLIDE_RIGHT_IN20, SLIDE_UP_IN20, SLIDE_UP_OUT20, TRANSITION_ROW_DISAPPEARANCE } from '../../utils';\nimport { AnimationDirection } from '../Calendar/Calendar.types';\nimport { weekCornersClassNames } from './useWeekCornerStyles.styles';\nimport { createFocusOutlineStyle } from '@fluentui/react-tabster';\n/**\n * @internal\n */\nexport const calendarDayGridClassNames = {\n wrapper: 'fui-CalendarDayGrid__wrapper',\n table: 'fui-CalendarDayGrid__table',\n dayCell: 'fui-CalendarDayGrid__dayCell',\n daySelected: 'fui-CalendarDayGrid__daySelected',\n weekRow: 'fui-CalendarDayGrid__weekRow',\n weekDayLabelCell: 'fui-CalendarDayGrid__weekDayLabelCell',\n weekNumberCell: 'fui-CalendarDayGrid__weekNumberCell',\n dayOutsideBounds: 'fui-CalendarDayGrid__dayOutsideBounds',\n dayOutsideNavigatedMonth: 'fui-CalendarDayGrid__dayOutsideNavigatedMonth',\n dayButton: 'fui-CalendarDayGrid__dayButton',\n dayIsToday: 'fui-CalendarDayGrid__dayIsToday',\n firstTransitionWeek: 'fui-CalendarDayGrid__firstTransitionWeek',\n lastTransitionWeek: 'fui-CalendarDayGrid__lastTransitionWeek',\n dayMarker: 'fui-CalendarDayGrid__dayMarker'\n};\n/**\n * @internal\n */\nexport const extraCalendarDayGridClassNames = {\n hoverStyle: 'fui-CalendarDayGrid__hoverStyle',\n pressedStyle: 'fui-CalendarDayGrid__pressedStyle'\n};\nconst useWrapperStyles = /*#__PURE__*/__styles({\n base: {\n Byoj8tv: \"f1fow5ox\"\n }\n}, {\n d: [\".f1fow5ox{padding-bottom:10px;}\"]\n});\nconst useTableStyles = /*#__PURE__*/__styles({\n base: {\n po53p8: \"fgkb47j\",\n Bxjg3zr: \"f16vktn6\",\n Be2twd7: \"fjoy568\",\n B6of3ja: \"fvjh0tl\",\n Byoj8tv: \"f1fow5ox\",\n qhf8xq: \"f10pi13n\",\n B73mfa3: \"f14m3nip\",\n fsow6f: \"f17mccla\",\n a9b677: \"f4m2ahc\"\n },\n showWeekNumbers: {\n a9b677: \"fl524qk\"\n }\n}, {\n d: [\".fgkb47j{border-collapse:collapse;}\", \".f16vktn6{border-spacing:0;}\", \".fjoy568{font-size:inherit;}\", \".fvjh0tl{margin-top:4px;}\", \".f1fow5ox{padding-bottom:10px;}\", \".f10pi13n{position:relative;}\", \".f14m3nip{table-layout:fixed;}\", \".f17mccla{text-align:center;}\", \".f4m2ahc{width:196px;}\", \".fl524qk{width:226px;}\"]\n});\nconst useDayCellStyles = /*#__PURE__*/__styles({\n base: {\n sj55zd: \"f19n0e5\",\n Bceei9c: \"f1k6fduh\",\n Be2twd7: \"fy9rknc\",\n Bhrd7zp: \"figsok6\",\n Bqenvij: \"fxldao9\",\n Bg96gwp: \"f336tjw\",\n B6of3ja: \"f1hu3pq6\",\n t21cq0: [\"f11qmguv\", \"f1tyq0we\"],\n jrapky: \"f19f4twv\",\n Frg6f3: [\"f1tyq0we\", \"f11qmguv\"],\n z8tnut: \"f1g0x7ka\",\n z189sj: [\"fhxju0i\", \"f1cnd47f\"],\n Byoj8tv: \"f1qch9an\",\n uwmqm3: [\"f1cnd47f\", \"fhxju0i\"],\n qhf8xq: \"f10pi13n\",\n a9b677: \"f1w9dchk\",\n Bsw6fvg: \"f8pusc0\",\n Bbusuzp: \"fqgauei\",\n cvlxnx: \"fp6dsbd\",\n Bweudez: \"f4xgodq\",\n hzfqlu: \"fehmveg\",\n Bb91d7d: \"ff78tpz\",\n dua3dm: \"f128nre3\",\n z1p9vi: \"f1elgve3\",\n Bsnevi5: \"f15e7s3w\",\n xnb59o: \"fts5qqo\",\n Bj67fi1: \"f1lhgsq9\",\n B2gfgcj: \"fdbuq6n\",\n B6cqqer: \"f16j2ub3\",\n fpurfy: \"f5hk6jp\",\n Fioj4w: [\"f1d258es\", \"f1llk4aj\"],\n Bq9yiu4: \"ftezgwa\",\n cpbo2x: [\"f1llk4aj\", \"f1d258es\"],\n Bq268z6: \"f1iohfpm\"\n },\n focusIndicator: {\n Brovlpu: \"ftqa4ok\",\n B486eqv: \"f2hkw1w\",\n B8q5s1w: \"f8hki3x\",\n Bci5o5g: [\"f1d2448m\", \"ffh67wi\"],\n n8qw10: \"f1bjia2o\",\n Bdrgwmp: [\"ffh67wi\", \"f1d2448m\"],\n Bb7d1vk: \"f226i61\",\n zhwhgb: [\"f13kzufm\", \"fsx75g8\"],\n dhy2o1: \"flujwa2\",\n Gfyso: [\"fsx75g8\", \"f13kzufm\"],\n Bm4h7ae: \"f15bsgw9\",\n B7ys5i9: \"f14e48fq\",\n Busjfv9: \"f18yb2kv\",\n Bhk32uz: \"fd6o370\",\n Bf4ptjt: \"fh1cnn4\",\n kclons: [\"fy7oxxb\", \"f184ne2d\"],\n Bhdgwq3: \"fpukqih\",\n Blkhhs4: [\"f184ne2d\", \"fy7oxxb\"],\n Bqtpl0w: \"f1umxd9d\",\n clg4pj: [\"fp9lxrq\", \"f4twznv\"],\n hgwjuy: \"f1eh9j8j\",\n Bonggc9: [\"f4twznv\", \"fp9lxrq\"],\n B1tsrr9: [\"f1jqcqds\", \"ftffrms\"],\n Dah5zi: [\"ftffrms\", \"f1jqcqds\"],\n Bkh64rk: [\"f2e7qr6\", \"fsr1zz6\"],\n qqdqy8: [\"fsr1zz6\", \"f2e7qr6\"],\n B6dhp37: \"f1dvezut\",\n i03rao: [\"fd0oaoj\", \"f1cwg4i8\"],\n Boxcth7: \"fjvm52t\",\n Bsom6fd: [\"f1cwg4i8\", \"fd0oaoj\"],\n J0r882: \"fehyjer\",\n Bule8hv: [\"f1e5jfm0\", \"f1e134r0\"],\n Bjwuhne: \"f1ykb25c\",\n Ghsupd: [\"f1e134r0\", \"f1e5jfm0\"]\n }\n}, {\n d: [\".f19n0e5{color:var(--colorNeutralForeground1);}\", \".f1k6fduh{cursor:pointer;}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\", \".fxldao9{height:28px;}\", \".f336tjw{line-height:28px;}\", \".f1hu3pq6{margin-top:0;}\", \".f11qmguv{margin-right:0;}\", \".f1tyq0we{margin-left:0;}\", \".f19f4twv{margin-bottom:0;}\", \".f1g0x7ka{padding-top:0;}\", \".fhxju0i{padding-right:0;}\", \".f1cnd47f{padding-left:0;}\", \".f1qch9an{padding-bottom:0;}\", \".f10pi13n{position:relative;}\", \".f1w9dchk{width:28px;}\", \".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;}\", \".fh1cnn4[data-fui-focus-visible]::after{border-top-style:solid;}\", \".fy7oxxb[data-fui-focus-visible]::after{border-right-style:solid;}\", \".f184ne2d[data-fui-focus-visible]::after{border-left-style:solid;}\", \".fpukqih[data-fui-focus-visible]::after{border-bottom-style:solid;}\", \".f1umxd9d[data-fui-focus-visible]::after{border-top-width:var(--strokeWidthThin);}\", \".fp9lxrq[data-fui-focus-visible]::after{border-right-width:var(--strokeWidthThin);}\", \".f4twznv[data-fui-focus-visible]::after{border-left-width:var(--strokeWidthThin);}\", \".f1eh9j8j[data-fui-focus-visible]::after{border-bottom-width:var(--strokeWidthThin);}\", \".f1jqcqds[data-fui-focus-visible]::after{border-bottom-right-radius:var(--borderRadiusMedium);}\", \".ftffrms[data-fui-focus-visible]::after{border-bottom-left-radius:var(--borderRadiusMedium);}\", \".f2e7qr6[data-fui-focus-visible]::after{border-top-right-radius:var(--borderRadiusMedium);}\", \".fsr1zz6[data-fui-focus-visible]::after{border-top-left-radius:var(--borderRadiusMedium);}\", \".f1dvezut[data-fui-focus-visible]::after{border-top-color:var(--colorStrokeFocus2);}\", \".fd0oaoj[data-fui-focus-visible]::after{border-right-color:var(--colorStrokeFocus2);}\", \".f1cwg4i8[data-fui-focus-visible]::after{border-left-color:var(--colorStrokeFocus2);}\", \".fjvm52t[data-fui-focus-visible]::after{border-bottom-color:var(--colorStrokeFocus2);}\", \".fehyjer[data-fui-focus-visible]::after{top:calc(var(--strokeWidthThin) * -1);}\", \".f1e5jfm0[data-fui-focus-visible]::after{right:calc(var(--strokeWidthThin) * -1);}\", \".f1e134r0[data-fui-focus-visible]::after{left:calc(var(--strokeWidthThin) * -1);}\", \".f1ykb25c[data-fui-focus-visible]::after{bottom:calc(var(--strokeWidthThin) * -1);}\"],\n m: [[\"@media (forced-colors: active){.f8pusc0{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fqgauei{color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fehmveg.fui-CalendarDayGrid__hoverStyle{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.ff78tpz.fui-CalendarDayGrid__hoverStyle{color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f128nre3.fui-CalendarDayGrid__hoverStyle{outline-width:1px;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1elgve3.fui-CalendarDayGrid__hoverStyle{outline-style:solid;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f15e7s3w.fui-CalendarDayGrid__hoverStyle{outline-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fts5qqo.fui-CalendarDayGrid__hoverStyle{z-index:3;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f16j2ub3.fui-CalendarDayGrid__pressedStyle{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f5hk6jp.fui-CalendarDayGrid__pressedStyle{border-top-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1d258es.fui-CalendarDayGrid__pressedStyle{border-right-color:Highlight;}.f1llk4aj.fui-CalendarDayGrid__pressedStyle{border-left-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.ftezgwa.fui-CalendarDayGrid__pressedStyle{border-bottom-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1iohfpm.fui-CalendarDayGrid__pressedStyle{color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f226i61[data-fui-focus-visible]::after{border-top-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f13kzufm[data-fui-focus-visible]::after{border-right-color:Highlight;}.fsx75g8[data-fui-focus-visible]::after{border-left-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.flujwa2[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }]],\n f: [\".ftqa4ok:focus{outline-style:none;}\"],\n i: [\".f2hkw1w:focus-visible{outline-style:none;}\"]\n});\nconst useDaySelectedStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"f1vevd59\",\n sj55zd: \"ff5vbop\",\n Bsw6fvg: \"f1rirnrt\",\n Bjwas2f: \"f132fbg1\",\n Bn1d65q: [\"f1ene5x0\", \"fzbc999\"],\n Bxeuatn: \"f6jgcol\",\n n51gp8: [\"fzbc999\", \"f1ene5x0\"],\n Bbusuzp: \"f1lkg8j3\",\n ycbfsm: \"fkc42ay\",\n a3nq4f: \"f1chdfq9\",\n Bnf3alp: \"fq0dbue\",\n H2c3sd: \"f3pe0v7\",\n qu8ld: \"f3t0uu2\",\n E9zv3o: \"ft4goo8\"\n }\n}, {\n d: [\".f1vevd59{background-color:var(--colorBrandBackgroundInvertedSelected);}\", \".ff5vbop{color:var(--colorNeutralForeground1Static);}\"],\n m: [[\"@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f132fbg1{border-top-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1ene5x0{border-right-color:Highlight;}.fzbc999{border-left-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f6jgcol{border-bottom-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f3pe0v7:hover,.f3pe0v7.fui-CalendarDayGrid__hoverStyle,.f3pe0v7.fui-CalendarDayGrid__pressedStyle{background-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f3t0uu2:hover,.f3t0uu2.fui-CalendarDayGrid__hoverStyle,.f3t0uu2.fui-CalendarDayGrid__pressedStyle{color:HighlightText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.ft4goo8>.fui-CalendarDayGrid__dayMarker{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }]],\n 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);}\"]\n});\nconst useWeekRowStyles = /*#__PURE__*/__styles({\n base: {\n vin17d: \"f5f2jbu\",\n Bf5fcs: \"fywypte\",\n Ezkn3b: \"f1ee2ue\"\n },\n horizontalBackward: {\n Bv12yb3: [\"f1o9w3l8\", \"f1kwjajc\"]\n },\n horizontalForward: {\n Bv12yb3: [\"f1kwjajc\", \"f1o9w3l8\"]\n },\n verticalBackward: {\n Bv12yb3: \"fgl3yn7\"\n },\n verticalForward: {\n Bv12yb3: \"faiu5ye\"\n }\n}, {\n d: [\".f5f2jbu{animation-duration:0.367s;}\", \".fywypte{animation-fill-mode:both;}\", \".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}\", \".f1o9w3l8{animation-name:f5j8bii,f2lgmc3;}\", \".f1kwjajc{animation-name:f5j8bii,fpktcv7;}\", \".fgl3yn7{animation-name:f5j8bii,f3bv9km;}\", \".faiu5ye{animation-name:f5j8bii,funtx0y;}\"],\n k: [\"@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}\", \"@keyframes f2lgmc3{from{pointer-events:none;transform:translate3d(-20px, 0, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\", \"@keyframes fpktcv7{from{pointer-events:none;transform:translate3d(20px, 0, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\", \"@keyframes f3bv9km{from{pointer-events:none;transform:translate3d(0, -20px, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\", \"@keyframes funtx0y{from{pointer-events:none;transform:translate3d(0, 20px, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\"]\n});\nconst useWeekDayLabelCellStyles = /*#__PURE__*/__styles({\n base: {\n famaaq: \"f1xqy1su\",\n vin17d: \"fhsqnsn\",\n Bf5fcs: \"fywypte\",\n Bv12yb3: \"f1h7u52p\",\n Ezkn3b: \"fjq4c94\"\n }\n}, {\n d: [\".f1xqy1su{-webkit-user-select:none;-moz-user-select:none;user-select:none;}\", \".fhsqnsn{animation-duration:0.267s;}\", \".fywypte{animation-fill-mode:both;}\", \".f1h7u52p{animation-name:f5j8bii;}\", \".fjq4c94{animation-timing-function:cubic-bezier(.1,.25,.75,.9);}\"],\n k: [\"@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}\"]\n});\nconst useWeekNumberCellStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"f1c21dwh\",\n g2u3we: \"f68mrw8\",\n h3c5rm: [\"f7pw515\", \"fw35ms5\"],\n B9xav0g: \"frpde29\",\n zhjwy3: [\"fw35ms5\", \"f7pw515\"],\n Bekrc4i: [\"f1hqa2wf\", \"finvdd3\"],\n vrafjx: [\"fcdblym\", \"fjik90z\"],\n B7ck84d: \"f1ewtqcl\",\n sj55zd: \"fxc4j92\",\n Be2twd7: \"fy9rknc\",\n Bhrd7zp: \"figsok6\",\n Bqenvij: \"fxldao9\",\n B6of3ja: \"f1hu3pq6\",\n t21cq0: [\"f11qmguv\", \"f1tyq0we\"],\n jrapky: \"f19f4twv\",\n Frg6f3: [\"f1tyq0we\", \"f11qmguv\"],\n z8tnut: \"f1g0x7ka\",\n z189sj: [\"fhxju0i\", \"f1cnd47f\"],\n Byoj8tv: \"f1qch9an\",\n uwmqm3: [\"f1cnd47f\", \"fhxju0i\"],\n a9b677: \"f1w9dchk\"\n }\n}, {\n d: [\".f1c21dwh{background-color:var(--colorTransparentBackground);}\", \".f68mrw8{border-top-color:var(--colorNeutralStroke2);}\", \".f7pw515{border-right-color:var(--colorNeutralStroke2);}\", \".fw35ms5{border-left-color:var(--colorNeutralStroke2);}\", \".frpde29{border-bottom-color:var(--colorNeutralStroke2);}\", \".f1hqa2wf{border-right-width:1px;}\", \".finvdd3{border-left-width:1px;}\", \".fcdblym{border-right-style:solid;}\", \".fjik90z{border-left-style:solid;}\", \".f1ewtqcl{box-sizing:border-box;}\", \".fxc4j92{color:var(--colorNeutralForeground4);}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\", \".fxldao9{height:28px;}\", \".f1hu3pq6{margin-top:0;}\", \".f11qmguv{margin-right:0;}\", \".f1tyq0we{margin-left:0;}\", \".f19f4twv{margin-bottom:0;}\", \".f1g0x7ka{padding-top:0;}\", \".fhxju0i{padding-right:0;}\", \".f1cnd47f{padding-left:0;}\", \".f1qch9an{padding-bottom:0;}\", \".f1w9dchk{width:28px;}\"]\n});\nconst useDayOutsideBoundsStyles = /*#__PURE__*/__styles({\n base: {\n x734em: \"f1v4z6xg\",\n B0ssf13: \"f1u9q7oh\",\n B8h8h5z: \"f1a22lcc\",\n Bbusuzp: \"f1dcs8yz\"\n }\n}, {\n d: [\".f1v4z6xg,.f1v4z6xg:disabled,.f1v4z6xg button,.f1v4z6xg.fui-CalendarDayGrid__hoverStyle,.f1v4z6xg.fui-CalendarDayGrid__pressedStyle{background-color:var(--colorTransparentBackground);}\", \".f1u9q7oh,.f1u9q7oh:disabled,.f1u9q7oh button,.f1u9q7oh.fui-CalendarDayGrid__hoverStyle,.f1u9q7oh.fui-CalendarDayGrid__pressedStyle{color:var(--colorNeutralForegroundDisabled);}\", \".f1a22lcc,.f1a22lcc:disabled,.f1a22lcc button,.f1a22lcc.fui-CalendarDayGrid__hoverStyle,.f1a22lcc.fui-CalendarDayGrid__pressedStyle{pointer-events:none;}\"],\n m: [[\"@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useDayOutsideNavigatedMonthStyles = /*#__PURE__*/__styles({\n lightenDaysOutsideNavigatedMonth: {\n sj55zd: \"fxc4j92\",\n Bhrd7zp: \"figsok6\",\n Bbusuzp: \"f1dcs8yz\"\n }\n}, {\n d: [\".fxc4j92{color:var(--colorNeutralForeground4);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\"],\n m: [[\"@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useDayButtonStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"f1c21dwh\",\n Bbmb7ep: [\"f2i1086\", \"f1rlsnju\"],\n Beyfa6y: [\"f1rlsnju\", \"f2i1086\"],\n B7oj6ja: [\"f1stktl2\", \"f1127022\"],\n Btl43ni: [\"f1127022\", \"f1stktl2\"],\n icvyot: \"f1ern45e\",\n vrafjx: [\"f1n71otn\", \"f1deefiw\"],\n oivjwe: \"f1h8hb77\",\n wvpqe5: [\"f1deefiw\", \"f1n71otn\"],\n sj55zd: \"f1ym3bx4\",\n Bceei9c: \"f1k6fduh\",\n Be2twd7: \"fy9rknc\",\n Bhrd7zp: \"ff5ikls\",\n Bqenvij: \"frvgh55\",\n Bg96gwp: \"f8xlz6g\",\n B68tc82: \"f1mtd64y\",\n Bmxbyg5: \"f1y7q3j9\",\n z8tnut: \"f1g0x7ka\",\n z189sj: [\"fhxju0i\", \"f1cnd47f\"],\n Byoj8tv: \"f1qch9an\",\n uwmqm3: [\"f1cnd47f\", \"fhxju0i\"],\n a9b677: \"fq4mcun\",\n Bx0yju7: \"f10y451g\",\n l98f4w: \"f1dwpgx3\"\n }\n}, {\n d: [\".f1c21dwh{background-color:var(--colorTransparentBackground);}\", \".f2i1086{border-bottom-right-radius:2px;}\", \".f1rlsnju{border-bottom-left-radius:2px;}\", \".f1stktl2{border-top-right-radius:2px;}\", \".f1127022{border-top-left-radius:2px;}\", \".f1ern45e{border-top-style:none;}\", \".f1n71otn{border-right-style:none;}\", \".f1deefiw{border-left-style:none;}\", \".f1h8hb77{border-bottom-style:none;}\", \".f1ym3bx4{color:inherit;}\", \".f1k6fduh{cursor:pointer;}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".ff5ikls{font-weight:inherit;}\", \".frvgh55{height:24px;}\", \".f8xlz6g{line-height:24px;}\", \".f1mtd64y{overflow-x:visible;}\", \".f1y7q3j9{overflow-y:visible;}\", \".f1g0x7ka{padding-top:0;}\", \".fhxju0i{padding-right:0;}\", \".f1cnd47f{padding-left:0;}\", \".f1qch9an{padding-bottom:0;}\", \".fq4mcun{width:24px;}\", \".f10y451gspan{height:inherit;}\", \".f1dwpgx3span{line-height:inherit;}\"]\n});\nconst useDayIsTodayStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"ffp7eso\",\n Bbmb7ep: [\"f1xbx3v5\", \"fh9p2o2\"],\n Beyfa6y: [\"fh9p2o2\", \"f1xbx3v5\"],\n B7oj6ja: [\"f18mldvw\", \"f3h6kr5\"],\n Btl43ni: [\"f3h6kr5\", \"f18mldvw\"],\n sj55zd: \"f1phragk\",\n Bhrd7zp: \"fl43uef\",\n Bsw6fvg: \"fg374yq\",\n Bjwas2f: \"fx4t0an\",\n Bn1d65q: [\"f1bd7qk0\", \"fk5vpic\"],\n Bxeuatn: \"fgxnpfp\",\n n51gp8: [\"fk5vpic\", \"f1bd7qk0\"],\n Bbusuzp: \"f1yig07e\",\n ycbfsm: \"fkc42ay\",\n kof2un: \"f1b5s8wn\",\n E9zv3o: \"ft4goo8\"\n }\n}, {\n d: [\".ffp7eso{background-color:var(--colorBrandBackground);}\", \".f1xbx3v5{border-bottom-right-radius:100%;}\", \".fh9p2o2{border-bottom-left-radius:100%;}\", \".f18mldvw{border-top-right-radius:100%;}\", \".f3h6kr5{border-top-left-radius:100%;}\", \".f1phragk{color:var(--colorNeutralForegroundOnBrand);}\", \".fl43uef{font-weight:var(--fontWeightSemibold);}\", \".f1b5s8wn>.fui-CalendarDayGrid__dayMarker{background-color:var(--colorNeutralForegroundOnBrand);}\"],\n m: [[\"@media (forced-colors: active){.fg374yq{background-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fx4t0an{border-top-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1bd7qk0{border-right-color:WindowText;}.fk5vpic{border-left-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fgxnpfp{border-bottom-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1yig07e{color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.ft4goo8>.fui-CalendarDayGrid__dayMarker{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useFirstTransitionWeekStyles = /*#__PURE__*/__styles({\n base: {\n Bqenvij: \"fniina8\",\n abs64n: \"fk73vx1\",\n B68tc82: \"f1p9o1ba\",\n Bmxbyg5: \"f1sil6mw\",\n qhf8xq: \"f1euv43f\",\n a9b677: \"f3tsq5r\"\n },\n verticalForward: {\n vin17d: \"f5f2jbu\",\n Bf5fcs: \"fywypte\",\n Bv12yb3: \"fb3mxun\",\n Ezkn3b: \"f1ee2ue\"\n }\n}, {\n d: [\".fniina8{height:0;}\", \".fk73vx1{opacity:0;}\", \".f1p9o1ba{overflow-x:hidden;}\", \".f1sil6mw{overflow-y:hidden;}\", \".f1euv43f{position:absolute;}\", \".f3tsq5r{width:0;}\", \".f5f2jbu{animation-duration:0.367s;}\", \".fywypte{animation-fill-mode:both;}\", \".fb3mxun{animation-name:f199e34v,f76svrd,fhwv0sk;}\", \".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}\"],\n 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 fhwv0sk{100%{height:0px;overflow-x:hidden;overflow-y:hidden;width:0px;}99.9%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}0%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}}\"]\n});\nconst useLastTransitionWeekStyles = /*#__PURE__*/__styles({\n base: {\n Bqenvij: \"fniina8\",\n B6of3ja: \"flykjtj\",\n abs64n: \"fk73vx1\",\n B68tc82: \"f1p9o1ba\",\n Bmxbyg5: \"f1sil6mw\",\n qhf8xq: \"f1euv43f\",\n a9b677: \"f3tsq5r\"\n },\n verticalBackward: {\n vin17d: \"f5f2jbu\",\n Bf5fcs: \"fywypte\",\n Bv12yb3: \"f1h56eac\",\n Ezkn3b: \"f1ee2ue\"\n }\n}, {\n d: [\".fniina8{height:0;}\", \".flykjtj{margin-top:-28px;}\", \".fk73vx1{opacity:0;}\", \".f1p9o1ba{overflow-x:hidden;}\", \".f1sil6mw{overflow-y:hidden;}\", \".f1euv43f{position:absolute;}\", \".f3tsq5r{width:0;}\", \".f5f2jbu{animation-duration:0.367s;}\", \".fywypte{animation-fill-mode:both;}\", \".f1h56eac{animation-name:f199e34v,f18895iq,fhwv0sk;}\", \".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}\"],\n 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 fhwv0sk{100%{height:0px;overflow-x:hidden;overflow-y:hidden;width:0px;}99.9%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}0%{height:28px;overflow-x:visible;overflow-y:visible;width:100%;}}\"]\n});\nconst useDayMarkerStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"fnggedw\",\n Bbmb7ep: [\"f1xbx3v5\", \"fh9p2o2\"],\n Beyfa6y: [\"fh9p2o2\", \"f1xbx3v5\"],\n B7oj6ja: [\"f18mldvw\", \"f3h6kr5\"],\n Btl43ni: [\"f3h6kr5\", \"f18mldvw\"],\n B5kzvoi: \"f1oq0udb\",\n Bqenvij: \"f6ywr7j\",\n oyh7mz: [\"f1vgc2s3\", \"f1e31b4d\"],\n B6of3ja: \"fgr6219\",\n t21cq0: [\"f1ujusj6\", \"fcgxt0o\"],\n jrapky: \"f10jk5vf\",\n Frg6f3: [\"fcgxt0o\", \"f1ujusj6\"],\n qhf8xq: \"f1euv43f\",\n j35jbq: [\"f1e31b4d\", \"f1vgc2s3\"],\n a9b677: \"faro0ui\",\n Bsw6fvg: \"fg374yq\",\n ycbfsm: \"fkc42ay\"\n }\n}, {\n d: [\".fnggedw{background-color:var(--colorBrandForeground2);}\", \".f1xbx3v5{border-bottom-right-radius:100%;}\", \".fh9p2o2{border-bottom-left-radius:100%;}\", \".f18mldvw{border-top-right-radius:100%;}\", \".f3h6kr5{border-top-left-radius:100%;}\", \".f1oq0udb{bottom:1px;}\", \".f6ywr7j{height:4px;}\", \".f1vgc2s3{left:0;}\", \".f1e31b4d{right:0;}\", \".fgr6219{margin-top:auto;}\", \".f1ujusj6{margin-right:auto;}\", \".fcgxt0o{margin-left:auto;}\", \".f10jk5vf{margin-bottom:auto;}\", \".f1euv43f{position:absolute;}\", \".faro0ui{width:4px;}\"],\n m: [[\"@media (forced-colors: active){.fg374yq{background-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useCornerBorderAndRadiusStyles = /*#__PURE__*/__styles({\n corners: {\n Cy64m2: [\"fgk2v8v\", \"flgychs\"],\n Bnn43bw: [\"fon8hnx\", \"f1dzb7s0\"],\n feanbc: [\"f5gufe6\", \"f6b3fnj\"],\n B4268ip: [\"fo35n0e\", \"f96pych\"]\n }\n}, {\n d: [\".fgk2v8v.fui-CalendarDayGrid__topRightCornerDate{border-top-right-radius:2px;}\", \".flgychs.fui-CalendarDayGrid__topRightCornerDate{border-top-left-radius:2px;}\", \".fon8hnx.fui-CalendarDayGrid__topLeftCornerDate{border-top-left-radius:2px;}\", \".f1dzb7s0.fui-CalendarDayGrid__topLeftCornerDate{border-top-right-radius:2px;}\", \".f5gufe6.fui-CalendarDayGrid__bottomRightCornerDate{border-bottom-right-radius:2px;}\", \".f6b3fnj.fui-CalendarDayGrid__bottomRightCornerDate{border-bottom-left-radius:2px;}\", \".fo35n0e.fui-CalendarDayGrid__bottomLeftCornerDate{border-bottom-left-radius:2px;}\", \".f96pych.fui-CalendarDayGrid__bottomLeftCornerDate{border-bottom-right-radius:2px;}\"]\n});\n/**\n * @internal\n *\n * Apply styling to the CalendarDayGrid slots based on the state\n */\nexport const useCalendarDayGridStyles_unstable = props => {\n const wrapperStyles = useWrapperStyles();\n const tableStyles = useTableStyles();\n const dayCellStyles = useDayCellStyles();\n const daySelectedStyles = useDaySelectedStyles();\n const weekRowStyles = useWeekRowStyles();\n const weekDayLabelCellStyles = useWeekDayLabelCellStyles();\n const weekNumberCellStyles = useWeekNumberCellStyles();\n const dayOutsideBoundsStyles = useDayOutsideBoundsStyles();\n const dayOutsideNavigatedMonthStyles = useDayOutsideNavigatedMonthStyles();\n const dayButtonStyles = useDayButtonStyles();\n const dayIsTodayStyles = useDayIsTodayStyles();\n const firstTransitionWeekStyles = useFirstTransitionWeekStyles();\n const lastTransitionWeekStyles = useLastTransitionWeekStyles();\n const dayMarkerStyles = useDayMarkerStyles();\n const cornerBorderAndRadiusStyles = useCornerBorderAndRadiusStyles();\n const {\n animateBackwards,\n animationDirection,\n lightenDaysOutsideNavigatedMonth,\n showWeekNumbers\n } = props;\n return {\n wrapper: mergeClasses(calendarDayGridClassNames.wrapper, wrapperStyles.base),\n table: mergeClasses(calendarDayGridClassNames.table, tableStyles.base, showWeekNumbers && tableStyles.showWeekNumbers),\n dayCell: mergeClasses(calendarDayGridClassNames.dayCell, dayCellStyles.base, dayCellStyles.focusIndicator, cornerBorderAndRadiusStyles.corners),\n daySelected: mergeClasses(calendarDayGridClassNames.daySelected, daySelectedStyles.base),\n weekRow: mergeClasses(calendarDayGridClassNames.weekRow, animateBackwards !== undefined && weekRowStyles.base, animateBackwards !== undefined && (animationDirection === AnimationDirection.Horizontal ? animateBackwards ? weekRowStyles.horizontalBackward : weekRowStyles.horizontalForward : animateBackwards ? weekRowStyles.verticalBackward : weekRowStyles.verticalForward)),\n weekDayLabelCell: mergeClasses(calendarDayGridClassNames.weekDayLabelCell, weekDayLabelCellStyles.base),\n weekNumberCell: mergeClasses(calendarDayGridClassNames.weekNumberCell, weekNumberCellStyles.base),\n dayOutsideBounds: mergeClasses(calendarDayGridClassNames.dayOutsideBounds, dayOutsideBoundsStyles.base),\n dayOutsideNavigatedMonth: mergeClasses(calendarDayGridClassNames.dayOutsideNavigatedMonth, lightenDaysOutsideNavigatedMonth && dayOutsideNavigatedMonthStyles.lightenDaysOutsideNavigatedMonth),\n dayButton: mergeClasses(calendarDayGridClassNames.dayButton, dayButtonStyles.base),\n dayIsToday: mergeClasses(calendarDayGridClassNames.dayIsToday, dayIsTodayStyles.base),\n firstTransitionWeek: mergeClasses(calendarDayGridClassNames.firstTransitionWeek, firstTransitionWeekStyles.base, animateBackwards !== undefined && animationDirection !== AnimationDirection.Horizontal && !animateBackwards && firstTransitionWeekStyles.verticalForward),\n lastTransitionWeek: mergeClasses(calendarDayGridClassNames.lastTransitionWeek, lastTransitionWeekStyles.base, animateBackwards !== undefined && animationDirection !== AnimationDirection.Horizontal && animateBackwards && lastTransitionWeekStyles.verticalBackward),\n dayMarker: mergeClasses(calendarDayGridClassNames.dayMarker, dayMarkerStyles.base)\n };\n};\n//# sourceMappingURL=useCalendarDayGridStyles.styles.js.map"],"names":["calendarDayGridClassNames","extraCalendarDayGridClassNames","useCalendarDayGridStyles_unstable","wrapper","table","dayCell","daySelected","weekRow","weekDayLabelCell","weekNumberCell","dayOutsideBounds","dayOutsideNavigatedMonth","dayButton","dayIsToday","firstTransitionWeek","lastTransitionWeek","dayMarker","hoverStyle","pressedStyle","useWrapperStyles","__styles","base","Byoj8tv","d","useTableStyles","po53p8","Bxjg3zr","Be2twd7","B6of3ja","qhf8xq","B73mfa3","fsow6f","a9b677","showWeekNumbers","useDayCellStyles","sj55zd","Bceei9c","Bhrd7zp","Bqenvij","Bg96gwp","t21cq0","jrapky","Frg6f3","z8tnut","z189sj","uwmqm3","Bsw6fvg","Bbusuzp","cvlxnx","Bweudez","hzfqlu","Bb91d7d","dua3dm","z1p9vi","Bsnevi5","xnb59o","Bj67fi1","B2gfgcj","B6cqqer","fpurfy","Fioj4w","Bq9yiu4","cpbo2x","Bq268z6","focusIndicator","Brovlpu","B486eqv","B8q5s1w","Bci5o5g","n8qw10","Bdrgwmp","Bb7d1vk","zhwhgb","dhy2o1","Gfyso","Bm4h7ae","B7ys5i9","Busjfv9","Bhk32uz","Bf4ptjt","kclons","Bhdgwq3","Blkhhs4","Bqtpl0w","clg4pj","hgwjuy","Bonggc9","B1tsrr9","Dah5zi","Bkh64rk","qqdqy8","B6dhp37","i03rao","Boxcth7","Bsom6fd","J0r882","Bule8hv","Bjwuhne","Ghsupd","m","f","i","useDaySelectedStyles","De3pzq","Bjwas2f","Bn1d65q","Bxeuatn","n51gp8","ycbfsm","a3nq4f","Bnf3alp","H2c3sd","qu8ld","E9zv3o","h","useWeekRowStyles","vin17d","Bf5fcs","Ezkn3b","horizontalBackward","Bv12yb3","horizontalForward","verticalBackward","verticalForward","k","useWeekDayLabelCellStyles","famaaq","useWeekNumberCellStyles","g2u3we","h3c5rm","B9xav0g","zhjwy3","Bekrc4i","vrafjx","B7ck84d","useDayOutsideBoundsStyles","x734em","B0ssf13","B8h8h5z","useDayOutsideNavigatedMonthStyles","lightenDaysOutsideNavigatedMonth","useDayButtonStyles","Bbmb7ep","Beyfa6y","B7oj6ja","Btl43ni","icvyot","oivjwe","wvpqe5","B68tc82","Bmxbyg5","Bx0yju7","l98f4w","useDayIsTodayStyles","kof2un","useFirstTransitionWeekStyles","abs64n","useLastTransitionWeekStyles","useDayMarkerStyles","B5kzvoi","oyh7mz","j35jbq","useCornerBorderAndRadiusStyles","corners","Cy64m2","Bnn43bw","feanbc","B4268ip","props","wrapperStyles","tableStyles","dayCellStyles","daySelectedStyles","weekRowStyles","weekDayLabelCellStyles","weekNumberCellStyles","dayOutsideBoundsStyles","dayOutsideNavigatedMonthStyles","dayButtonStyles","dayIsTodayStyles","firstTransitionWeekStyles","lastTransitionWeekStyles","dayMarkerStyles","cornerBorderAndRadiusStyles","animateBackwards","animationDirection","mergeClasses","undefined","AnimationDirection","Horizontal"],"mappings":";;;;;;;;;;;IASaA,yBAAyB;eAAzBA;;IAmBAC,8BAA8B;eAA9BA;;IA+ZAC,iCAAiC;eAAjCA;;;uBA1bsC;+BAEhB;AAM5B,MAAMF,4BAA4B;IACvCG,SAAS;IACTC,OAAO;IACPC,SAAS;IACTC,aAAa;IACbC,SAAS;IACTC,kBAAkB;IAClBC,gBAAgB;IAChBC,kBAAkB;IAClBC,0BAA0B;IAC1BC,WAAW;IACXC,YAAY;IACZC,qBAAqB;IACrBC,oBAAoB;IACpBC,WAAW;AACb;AAIO,MAAMf,iCAAiC;IAC5CgB,YAAY;IACZC,cAAc;AAChB;AACA,MAAMC,mBAAmB,WAAW,GAAEC,IAAAA,eAAQ,EAAC;IAC7CC,MAAM;QACJC,SAAS;IACX;AACF,GAAG;IACDC,GAAG;QAAC;KAAkC;AACxC;AACA,MAAMC,iBAAiB,WAAW,GAAEJ,IAAAA,eAAQ,EAAC;IAC3CC,MAAM;QACJI,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTN,SAAS;QACTO,QAAQ;QACRC,SAAS;QACTC,QAAQ;QACRC,QAAQ;IACV;IACAC,iBAAiB;QACfD,QAAQ;IACV;AACF,GAAG;IACDT,GAAG;QAAC;QAAuC;QAAgC;QAAgC;QAA6B;QAAmC;QAAiC;QAAkC;QAAiC;Q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,EAAC1L,0BAA0BQ,gBAAgB,EAAEsK,uBAAuBzJ,IAAI;QACtGZ,gBAAgBiL,IAAAA,mBAAY,EAAC1L,0BAA0BS,cAAc,EAAEsK,qBAAqB1J,IAAI;QAChGX,kBAAkBgL,IAAAA,mBAAY,EAAC1L,0BAA0BU,gBAAgB,EAAEsK,uBAAuB3J,IAAI;QACtGV,0BAA0B+K,IAAAA,mBAAY,EAAC1L,0BAA0BW,wBAAwB,EAAEiI,oCAAoCqC,+BAA+BrC,gCAAgC;QAC9LhI,WAAW8K,IAAAA,mBAAY,EAAC1L,0BAA0BY,SAAS,EAAEsK,gBAAgB7J,IAAI;QACjFR,YAAY6K,IAAAA,mBAAY,EAAC1L,0BAA0Ba,UAAU,EAAEsK,iBAAiB9J,IAAI;QACpFP,qBAAqB4K,IAAAA,mBAAY,EAAC1L,0BAA0Bc,mBAAmB,EAAEsK,0BAA0B/J,IAAI,EAAEmK,qBAAqBG,aAAaF,uBAAuBG,iCAAkB,CAACC,UAAU,IAAI,CAACL,oBAAoBJ,0BAA0BzD,eAAe;QACzQ5G,oBAAoB2K,IAAAA,mBAAY,EAAC1L,0BAA0Be,kBAAkB,EAAEsK,yBAAyBhK,IAAI,EAAEmK,qBAAqBG,aAAaF,uBAAuBG,iCAAkB,CAACC,UAAU,IAAIL,oBAAoBH,yBAAyB3D,gBAAgB;QACrQ1G,WAAW0K,IAAAA,mBAAY,EAAC1L,0BAA0BgB,SAAS,EAAEsK,gBAAgBjK,IAAI;IACnF;AACF,GACA,2DAA2D"}
1
+ {"version":3,"sources":["useCalendarDayGridStyles.styles.js"],"sourcesContent":["import { tokens } from '@fluentui/react-theme';\nimport { __styles, mergeClasses, shorthands } from '@griffel/react';\nimport { DURATION_2, DURATION_3, EASING_FUNCTION_1, EASING_FUNCTION_2, FADE_IN, FADE_OUT, SLIDE_DOWN_IN20, SLIDE_DOWN_OUT20, SLIDE_LEFT_IN20, SLIDE_RIGHT_IN20, SLIDE_UP_IN20, SLIDE_UP_OUT20, TRANSITION_ROW_DISAPPEARANCE } from '../../utils';\nimport { AnimationDirection } from '../Calendar/Calendar.types';\nimport { weekCornersClassNames } from './useWeekCornerStyles.styles';\nimport { createFocusOutlineStyle } from '@fluentui/react-tabster';\n/**\n * @internal\n */\nexport const calendarDayGridClassNames = {\n wrapper: 'fui-CalendarDayGrid__wrapper',\n table: 'fui-CalendarDayGrid__table',\n dayCell: 'fui-CalendarDayGrid__dayCell',\n daySelected: 'fui-CalendarDayGrid__daySelected',\n daySingleSelected: 'fui-CalendarDayGrid__daySingleSelected',\n weekRow: 'fui-CalendarDayGrid__weekRow',\n weekDayLabelCell: 'fui-CalendarDayGrid__weekDayLabelCell',\n weekNumberCell: 'fui-CalendarDayGrid__weekNumberCell',\n dayOutsideBounds: 'fui-CalendarDayGrid__dayOutsideBounds',\n dayOutsideNavigatedMonth: 'fui-CalendarDayGrid__dayOutsideNavigatedMonth',\n dayButton: 'fui-CalendarDayGrid__dayButton',\n dayIsToday: 'fui-CalendarDayGrid__dayIsToday',\n firstTransitionWeek: 'fui-CalendarDayGrid__firstTransitionWeek',\n lastTransitionWeek: 'fui-CalendarDayGrid__lastTransitionWeek',\n dayMarker: 'fui-CalendarDayGrid__dayMarker',\n dayTodayMarker: 'fui-CalendarDayGrid__dayTodayMarker'\n};\n/**\n * @internal\n */\nexport const extraCalendarDayGridClassNames = {\n hoverStyle: 'fui-CalendarDayGrid__hoverStyle',\n pressedStyle: 'fui-CalendarDayGrid__pressedStyle'\n};\nconst useWrapperStyles = /*#__PURE__*/__styles({\n base: {\n Byoj8tv: \"f1fow5ox\"\n }\n}, {\n d: [\".f1fow5ox{padding-bottom:10px;}\"]\n});\nconst useTableStyles = /*#__PURE__*/__styles({\n base: {\n po53p8: \"fgkb47j\",\n Bxjg3zr: \"f16vktn6\",\n Be2twd7: \"fjoy568\",\n B6of3ja: \"fvjh0tl\",\n Byoj8tv: \"f1fow5ox\",\n qhf8xq: \"f10pi13n\",\n B73mfa3: \"f14m3nip\",\n fsow6f: \"f17mccla\",\n a9b677: \"f4m2ahc\"\n },\n showWeekNumbers: {\n a9b677: \"fl524qk\"\n }\n}, {\n d: [\".fgkb47j{border-collapse:collapse;}\", \".f16vktn6{border-spacing:0;}\", \".fjoy568{font-size:inherit;}\", \".fvjh0tl{margin-top:4px;}\", \".f1fow5ox{padding-bottom:10px;}\", \".f10pi13n{position:relative;}\", \".f14m3nip{table-layout:fixed;}\", \".f17mccla{text-align:center;}\", \".f4m2ahc{width:196px;}\", \".fl524qk{width:226px;}\"]\n});\nconst useDayCellStyles = /*#__PURE__*/__styles({\n base: {\n sj55zd: \"f19n0e5\",\n Bceei9c: \"f1k6fduh\",\n Be2twd7: \"fy9rknc\",\n Bhrd7zp: \"figsok6\",\n jrapky: 0,\n Frg6f3: 0,\n t21cq0: 0,\n B6of3ja: 0,\n B74szlk: \"f1s184ao\",\n Byoj8tv: 0,\n uwmqm3: 0,\n z189sj: 0,\n z8tnut: 0,\n B0ocmuz: \"fqtknz5\",\n qhf8xq: \"f10pi13n\",\n Bsw6fvg: \"f8pusc0\",\n Bbusuzp: \"fqgauei\",\n cvlxnx: \"fp6dsbd\",\n Bweudez: \"f4xgodq\",\n Bsnevi5: 0,\n z1p9vi: 0,\n dua3dm: 0,\n Bf7el8m: \"f1ko8o2g\",\n xnb59o: \"fts5qqo\",\n B0mcfed: \"fq2wdp5\",\n Bj67fi1: \"f1lhgsq9\",\n B2gfgcj: \"fdbuq6n\",\n B6cqqer: \"f16j2ub3\",\n fpurfy: \"f5hk6jp\",\n Fioj4w: [\"f1d258es\", \"f1llk4aj\"],\n Bq9yiu4: \"ftezgwa\",\n cpbo2x: [\"f1llk4aj\", \"f1d258es\"],\n Bq268z6: \"f1iohfpm\"\n },\n focusIndicator: {\n Brovlpu: \"ftqa4ok\",\n B486eqv: \"f2hkw1w\",\n B8q5s1w: \"f8hki3x\",\n Bci5o5g: [\"f1d2448m\", \"ffh67wi\"],\n n8qw10: \"f1bjia2o\",\n Bdrgwmp: [\"ffh67wi\", \"f1d2448m\"],\n Bb7d1vk: \"f226i61\",\n zhwhgb: [\"f13kzufm\", \"fsx75g8\"],\n dhy2o1: \"flujwa2\",\n Gfyso: [\"fsx75g8\", \"f13kzufm\"],\n Bm4h7ae: \"f15bsgw9\",\n B7ys5i9: \"f14e48fq\",\n Busjfv9: \"f18yb2kv\",\n Bhk32uz: \"fd6o370\",\n f6g5ot: 0,\n Boxcth7: 0,\n Bhdgwq3: 0,\n hgwjuy: 0,\n Bshpdp8: 0,\n Bsom6fd: 0,\n Blkhhs4: 0,\n Bonggc9: 0,\n Ddfuxk: 0,\n i03rao: 0,\n kclons: 0,\n clg4pj: 0,\n Bpqj9nj: 0,\n B6dhp37: 0,\n Bf4ptjt: 0,\n Bqtpl0w: 0,\n i4rwgc: \"fpqizxz\",\n Dah5zi: 0,\n B1tsrr9: 0,\n qqdqy8: 0,\n Bkh64rk: 0,\n e3fwne: \"f3znvyf\",\n J0r882: \"fqkqgbk\",\n Bule8hv: [\"f1as04kd\", \"ft30ozv\"],\n Bjwuhne: \"f8pxvb2\",\n Ghsupd: [\"ft30ozv\", \"f1as04kd\"]\n }\n}, {\n d: [\".f19n0e5{color:var(--colorNeutralForeground1);}\", \".f1k6fduh{cursor:pointer;}\", \".fy9rknc{font-size:var(--fontSizeBase200);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\", [\".f1s184ao{margin:0;}\", {\n p: -1\n }], [\".fqtknz5{padding:2px;}\", {\n p: -1\n }], \".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);}\", {\n p: -2\n }], [\".f3znvyf[data-fui-focus-visible]::after{border-radius:var(--borderRadiusMedium);}\", {\n p: -1\n }], \".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);}\"],\n m: [[\"@media (forced-colors: active){.f8pusc0{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fqgauei{color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1ko8o2g.fui-CalendarDayGrid__hoverStyle{outline:1px solid Highlight;}}\", {\n p: -1,\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fts5qqo.fui-CalendarDayGrid__hoverStyle{z-index:3;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fq2wdp5.fui-CalendarDayGrid__hoverStyle .fui-CalendarDayGrid__dayTodayMarker{background-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f16j2ub3.fui-CalendarDayGrid__pressedStyle{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f5hk6jp.fui-CalendarDayGrid__pressedStyle{border-top-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1d258es.fui-CalendarDayGrid__pressedStyle{border-right-color:Highlight;}.f1llk4aj.fui-CalendarDayGrid__pressedStyle{border-left-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.ftezgwa.fui-CalendarDayGrid__pressedStyle{border-bottom-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1iohfpm.fui-CalendarDayGrid__pressedStyle{color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f226i61[data-fui-focus-visible]::after{border-top-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f13kzufm[data-fui-focus-visible]::after{border-right-color:Highlight;}.fsx75g8[data-fui-focus-visible]::after{border-left-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.flujwa2[data-fui-focus-visible]::after{border-bottom-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }]],\n f: [\".ftqa4ok:focus{outline-style:none;}\"],\n i: [\".f2hkw1w:focus-visible{outline-style:none;}\"]\n});\nconst useDaySelectedStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"f1vevd59\",\n sj55zd: \"ff5vbop\",\n Bsw6fvg: \"f1rirnrt\",\n Bjwas2f: \"f132fbg1\",\n Bn1d65q: [\"f1ene5x0\", \"fzbc999\"],\n Bxeuatn: \"f6jgcol\",\n n51gp8: [\"fzbc999\", \"f1ene5x0\"],\n Bbusuzp: \"f1lkg8j3\",\n ycbfsm: \"fkc42ay\",\n a3nq4f: \"f1chdfq9\",\n Bnf3alp: \"fq0dbue\",\n H2c3sd: \"f3pe0v7\",\n qu8ld: \"f3t0uu2\",\n E9zv3o: \"ft4goo8\"\n }\n}, {\n d: [\".f1vevd59{background-color:var(--colorBrandBackgroundInvertedSelected);}\", \".ff5vbop{color:var(--colorNeutralForeground1Static);}\"],\n m: [[\"@media (forced-colors: active){.f1rirnrt{background-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f132fbg1{border-top-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1ene5x0{border-right-color:Highlight;}.fzbc999{border-left-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f6jgcol{border-bottom-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1lkg8j3{color:HighlightText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f3pe0v7:hover,.f3pe0v7.fui-CalendarDayGrid__hoverStyle,.f3pe0v7.fui-CalendarDayGrid__pressedStyle{background-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f3t0uu2:hover,.f3t0uu2.fui-CalendarDayGrid__hoverStyle,.f3t0uu2.fui-CalendarDayGrid__pressedStyle{color:HighlightText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.ft4goo8>.fui-CalendarDayGrid__dayMarker{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }]],\n 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);}\"]\n});\nconst useDaySingleSelectedStyles = /*#__PURE__*/__styles({\n base: {\n sj55zd: \"ff5vbop\",\n E9zv3o: \"ft4goo8\",\n B2ns3jv: \"fy35frb\",\n Bwxf4zv: 0,\n Bp8cau8: 0,\n Buy161k: 0,\n Bpzqh5e: 0,\n Fh6yq5: \"f8kna22\",\n B75pphk: \"f3ef5pp\",\n Cmeexk: [\"f1lmnm0c\", \"f1nrej41\"],\n yen2pv: \"f1pt3b1q\",\n ydc5we: [\"f1nrej41\", \"f1lmnm0c\"],\n Bz06psx: \"fcydihv\",\n Bvql7r5: [\"fgb2y1b\", \"fzbode6\"],\n k24jl4: \"fofq8g1\",\n Bksmc0g: [\"fzbode6\", \"fgb2y1b\"],\n Buxuwzc: \"f36ub4m\",\n xn840g: [\"f19aczhj\", \"ffhc5ea\"],\n Jh9m0u: \"flfq9gv\",\n Fmkg4n: [\"ffhc5ea\", \"f19aczhj\"],\n kmtgwu: \"fv38a4k\",\n g6m10a: \"f1wil596\",\n Birdjzs: [\"f1941p3i\", \"fsfopon\"],\n yojo9v: \"f14tb4e3\",\n qdeutu: [\"fsfopon\", \"f1941p3i\"],\n yfp87c: \"f161hy0n\",\n zuskld: \"fbp2bxz\"\n }\n}, {\n d: [\".ff5vbop{color:var(--colorNeutralForeground1Static);}\", \".fy35frb>.fui-CalendarDayGrid__dayButton{background-color:var(--colorBrandBackgroundInvertedSelected);}\", [\".f8kna22>.fui-CalendarDayGrid__dayButton{border-radius:var(--borderRadiusMedium);}\", {\n p: -1\n }], \".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);}\"],\n m: [[\"@media (forced-colors: active){.ft4goo8>.fui-CalendarDayGrid__dayMarker{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fv38a4k>.fui-CalendarDayGrid__dayButton{background-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1wil596>.fui-CalendarDayGrid__dayButton{border-top-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1941p3i>.fui-CalendarDayGrid__dayButton{border-right-color:Highlight;}.fsfopon>.fui-CalendarDayGrid__dayButton{border-left-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f14tb4e3>.fui-CalendarDayGrid__dayButton{border-bottom-color:Highlight;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f161hy0n>.fui-CalendarDayGrid__dayButton{color:HighlightText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fbp2bxz>.fui-CalendarDayGrid__dayButton{forced-color-adjust:none;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useWeekRowStyles = /*#__PURE__*/__styles({\n base: {\n vin17d: \"f5f2jbu\",\n Bf5fcs: \"fywypte\",\n Ezkn3b: \"f1ee2ue\"\n },\n horizontalBackward: {\n Bv12yb3: [\"f1o9w3l8\", \"f1kwjajc\"]\n },\n horizontalForward: {\n Bv12yb3: [\"f1kwjajc\", \"f1o9w3l8\"]\n },\n verticalBackward: {\n Bv12yb3: \"fgl3yn7\"\n },\n verticalForward: {\n Bv12yb3: \"faiu5ye\"\n }\n}, {\n d: [\".f5f2jbu{animation-duration:0.367s;}\", \".fywypte{animation-fill-mode:both;}\", \".f1ee2ue{animation-timing-function:cubic-bezier(.1,.9,.2,1);}\", \".f1o9w3l8{animation-name:f5j8bii,f2lgmc3;}\", \".f1kwjajc{animation-name:f5j8bii,fpktcv7;}\", \".fgl3yn7{animation-name:f5j8bii,f3bv9km;}\", \".faiu5ye{animation-name:f5j8bii,funtx0y;}\"],\n k: [\"@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}\", \"@keyframes f2lgmc3{from{pointer-events:none;transform:translate3d(-20px, 0, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\", \"@keyframes fpktcv7{from{pointer-events:none;transform:translate3d(20px, 0, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\", \"@keyframes f3bv9km{from{pointer-events:none;transform:translate3d(0, -20px, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\", \"@keyframes funtx0y{from{pointer-events:none;transform:translate3d(0, 20px, 0);}to{pointer-events:auto;transform:translate3d(0, 0, 0);}}\"]\n});\nconst useWeekDayLabelCellStyles = /*#__PURE__*/__styles({\n base: {\n famaaq: \"f1xqy1su\",\n vin17d: \"fhsqnsn\",\n Bf5fcs: \"fywypte\",\n Bv12yb3: \"f1h7u52p\",\n Ezkn3b: \"fjq4c94\"\n }\n}, {\n d: [\".f1xqy1su{-webkit-user-select:none;-moz-user-select:none;user-select:none;}\", \".fhsqnsn{animation-duration:0.267s;}\", \".fywypte{animation-fill-mode:both;}\", \".f1h7u52p{animation-name:f5j8bii;}\", \".fjq4c94{animation-timing-function:cubic-bezier(.1,.25,.75,.9);}\"],\n k: [\"@keyframes f5j8bii{from{opacity:0;}to{opacity:1;}}\"]\n});\nconst useWeekNumberCellStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"f1c21dwh\",\n h3c5rm: 0,\n vrafjx: 0,\n Bekrc4i: 0,\n u1mtju: [\"fe2nn5g\", \"f1rcbay7\"],\n B7ck84d: \"f1ewtqcl\",\n sj55zd: \"fxc4j92\",\n Be2twd7: \"fy9rknc\",\n Bhrd7zp: \"figsok6\",\n Bqenvij: \"fxldao9\",\n jrapky: 0,\n Frg6f3: 0,\n t21cq0: 0,\n B6of3ja: 0,\n B74szlk: \"f1s184ao\",\n Byoj8tv: 0,\n uwmqm3: 0,\n z189sj: 0,\n z8tnut: 0,\n B0ocmuz: \"f1mk8lai\",\n a9b677: \"f1w9dchk\"\n }\n}, {\n d: [\".f1c21dwh{background-color:var(--colorTransparentBackground);}\", [\".fe2nn5g{border-right:1px solid var(--colorNeutralStroke2);}\", {\n p: -1\n }], [\".f1rcbay7{border-left:1px solid var(--colorNeutralStroke2);}\", {\n p: -1\n }], \".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;}\", {\n p: -1\n }], [\".f1mk8lai{padding:0;}\", {\n p: -1\n }], \".f1w9dchk{width:28px;}\"]\n});\nconst useDayOutsideBoundsStyles = /*#__PURE__*/__styles({\n base: {\n x734em: \"f1v4z6xg\",\n B0ssf13: \"f1u9q7oh\",\n B8h8h5z: \"f1a22lcc\",\n Bbusuzp: \"f1dcs8yz\"\n }\n}, {\n d: [\".f1v4z6xg,.f1v4z6xg:disabled,.f1v4z6xg button,.f1v4z6xg.fui-CalendarDayGrid__hoverStyle,.f1v4z6xg.fui-CalendarDayGrid__pressedStyle{background-color:var(--colorTransparentBackground);}\", \".f1u9q7oh,.f1u9q7oh:disabled,.f1u9q7oh button,.f1u9q7oh.fui-CalendarDayGrid__hoverStyle,.f1u9q7oh.fui-CalendarDayGrid__pressedStyle{color:var(--colorNeutralForegroundDisabled);}\", \".f1a22lcc,.f1a22lcc:disabled,.f1a22lcc button,.f1a22lcc.fui-CalendarDayGrid__hoverStyle,.f1a22lcc.fui-CalendarDayGrid__pressedStyle{pointer-events:none;}\"],\n m: [[\"@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useDayOutsideNavigatedMonthStyles = /*#__PURE__*/__styles({\n lightenDaysOutsideNavigatedMonth: {\n sj55zd: \"fxc4j92\",\n Bhrd7zp: \"figsok6\",\n Bbusuzp: \"f1dcs8yz\"\n }\n}, {\n d: [\".fxc4j92{color:var(--colorNeutralForeground4);}\", \".figsok6{font-weight:var(--fontWeightRegular);}\"],\n m: [[\"@media (forced-colors: active){.f1dcs8yz{color:GrayText;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useDayButtonStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"f1c21dwh\",\n Bgfg5da: 0,\n B9xav0g: 0,\n oivjwe: 0,\n Bn0qgzm: 0,\n B4g9neb: 0,\n zhjwy3: 0,\n wvpqe5: 0,\n ibv6hh: 0,\n u1mtju: 0,\n h3c5rm: 0,\n vrafjx: 0,\n Bekrc4i: 0,\n i8vvqc: 0,\n g2u3we: 0,\n icvyot: 0,\n B4j52fo: 0,\n irswps: \"f3bhgqh\",\n sj55zd: \"f1ym3bx4\",\n Bceei9c: \"f1k6fduh\",\n Be2twd7: \"fy9rknc\",\n Bhrd7zp: \"ff5ikls\",\n Bqenvij: \"frvgh55\",\n Bg96gwp: \"f8xlz6g\",\n B68tc82: 0,\n Bmxbyg5: 0,\n Bpg54ce: \"f1gl81tg\",\n Byoj8tv: 0,\n uwmqm3: 0,\n z189sj: 0,\n z8tnut: 0,\n B0ocmuz: \"f1mk8lai\",\n a9b677: \"fq4mcun\",\n Bx0yju7: \"f10y451g\",\n l98f4w: \"f1dwpgx3\",\n Jwef8y: \"f18a0fwf\",\n Btmb5he: 0,\n gu71dq: 0,\n B2zomw9: 0,\n Fgk69s: 0,\n Bw6eyry: \"f1mhq3ai\",\n ecr2s2: \"f7la2e8\"\n }\n}, {\n d: [\".f1c21dwh{background-color:var(--colorTransparentBackground);}\", [\".f3bhgqh{border:none;}\", {\n p: -2\n }], \".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;}\", {\n p: -1\n }], [\".f1mk8lai{padding:0;}\", {\n p: -1\n }], \".fq4mcun{width:24px;}\", \".f10y451gspan{height:inherit;}\", \".f1dwpgx3span{line-height:inherit;}\"],\n h: [\".f18a0fwf:hover{background-color:var(--colorBrandBackgroundInvertedHover);}\", [\".f1mhq3ai:hover{border-radius:var(--borderRadiusMedium);}\", {\n p: -1\n }]],\n a: [\".f7la2e8:active{background-color:var(--colorBrandBackgroundInvertedPressed);}\"]\n});\nconst useDayIsTodayStyles = /*#__PURE__*/__styles({\n base: {\n mc9l5x: \"f22iagw\",\n Brf1p80: \"f4d9j23\",\n Bt984gj: \"f122n59\",\n sj55zd: \"f1phragk\",\n Bhrd7zp: \"fl43uef\",\n kof2un: \"f1b5s8wn\",\n E9zv3o: \"ft4goo8\"\n }\n}, {\n 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);}\"],\n m: [[\"@media (forced-colors: active){.ft4goo8>.fui-CalendarDayGrid__dayMarker{background-color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useDayTodayMarkerStyles = /*#__PURE__*/__styles({\n base: {\n mc9l5x: \"f22iagw\",\n Brf1p80: \"f4d9j23\",\n Bt984gj: \"f122n59\",\n De3pzq: \"ffp7eso\",\n Beyfa6y: 0,\n Bbmb7ep: 0,\n Btl43ni: 0,\n B7oj6ja: 0,\n Dimara: \"f1qtlz2s\",\n a9b677: \"f64fuq3\",\n Bqenvij: \"fjamq6b\",\n Bg96gwp: \"f1n95isl\",\n Bsw6fvg: \"fg374yq\",\n Bjwas2f: \"fx4t0an\",\n Bn1d65q: [\"f1bd7qk0\", \"fk5vpic\"],\n Bxeuatn: \"fgxnpfp\",\n n51gp8: [\"fk5vpic\", \"f1bd7qk0\"],\n Bbusuzp: \"f1yig07e\",\n ycbfsm: \"fkc42ay\"\n }\n}, {\n d: [\".f22iagw{display:flex;}\", \".f4d9j23{justify-content:center;}\", \".f122n59{align-items:center;}\", \".ffp7eso{background-color:var(--colorBrandBackground);}\", [\".f1qtlz2s{border-radius:100%;}\", {\n p: -1\n }], \".f64fuq3{width:20px;}\", \".fjamq6b{height:20px;}\", \".f1n95isl{line-height:20px;}\"],\n m: [[\"@media (forced-colors: active){.fg374yq{background-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fx4t0an{border-top-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1bd7qk0{border-right-color:WindowText;}.fk5vpic{border-left-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fgxnpfp{border-bottom-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.f1yig07e{color:Window;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useFirstTransitionWeekStyles = /*#__PURE__*/__styles({\n base: {\n Bqenvij: \"fniina8\",\n abs64n: \"fk73vx1\",\n B68tc82: 0,\n Bmxbyg5: 0,\n Bpg54ce: \"f1a3p1vp\",\n qhf8xq: \"f1euv43f\",\n a9b677: \"f3tsq5r\"\n },\n verticalForward: {\n vin17d: \"f5f2jbu\",\n Bf5fcs: \"fywypte\",\n Bv12yb3: \"fupj2f5\",\n Ezkn3b: \"f1ee2ue\"\n }\n}, {\n d: [\".fniina8{height:0;}\", \".fk73vx1{opacity:0;}\", [\".f1a3p1vp{overflow:hidden;}\", {\n p: -1\n }], \".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);}\"],\n 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%;}}\"]\n});\nconst useLastTransitionWeekStyles = /*#__PURE__*/__styles({\n base: {\n Bqenvij: \"fniina8\",\n B6of3ja: \"flykjtj\",\n abs64n: \"fk73vx1\",\n B68tc82: 0,\n Bmxbyg5: 0,\n Bpg54ce: \"f1a3p1vp\",\n qhf8xq: \"f1euv43f\",\n a9b677: \"f3tsq5r\"\n },\n verticalBackward: {\n vin17d: \"f5f2jbu\",\n Bf5fcs: \"fywypte\",\n Bv12yb3: \"fifoktk\",\n Ezkn3b: \"f1ee2ue\"\n }\n}, {\n d: [\".fniina8{height:0;}\", \".flykjtj{margin-top:-28px;}\", \".fk73vx1{opacity:0;}\", [\".f1a3p1vp{overflow:hidden;}\", {\n p: -1\n }], \".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);}\"],\n 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%;}}\"]\n});\nconst useDayMarkerStyles = /*#__PURE__*/__styles({\n base: {\n De3pzq: \"fnggedw\",\n Beyfa6y: 0,\n Bbmb7ep: 0,\n Btl43ni: 0,\n B7oj6ja: 0,\n Dimara: \"f1qtlz2s\",\n B5kzvoi: \"f1oq0udb\",\n Bqenvij: \"f6ywr7j\",\n oyh7mz: [\"f1vgc2s3\", \"f1e31b4d\"],\n jrapky: 0,\n Frg6f3: 0,\n t21cq0: 0,\n B6of3ja: 0,\n B74szlk: \"fcpdi13\",\n qhf8xq: \"f1euv43f\",\n j35jbq: [\"f1e31b4d\", \"f1vgc2s3\"],\n a9b677: \"faro0ui\",\n Bsw6fvg: \"fg374yq\",\n ycbfsm: \"fkc42ay\"\n }\n}, {\n d: [\".fnggedw{background-color:var(--colorBrandForeground2);}\", [\".f1qtlz2s{border-radius:100%;}\", {\n p: -1\n }], \".f1oq0udb{bottom:1px;}\", \".f6ywr7j{height:4px;}\", \".f1vgc2s3{left:0;}\", \".f1e31b4d{right:0;}\", [\".fcpdi13{margin:auto;}\", {\n p: -1\n }], \".f1euv43f{position:absolute;}\", \".faro0ui{width:4px;}\"],\n m: [[\"@media (forced-colors: active){.fg374yq{background-color:WindowText;}}\", {\n m: \"(forced-colors: active)\"\n }], [\"@media (forced-colors: active){.fkc42ay{forced-color-adjust:none;}}\", {\n m: \"(forced-colors: active)\"\n }]]\n});\nconst useCornerBorderAndRadiusStyles = /*#__PURE__*/__styles({\n corners: {\n Cy64m2: [\"f1yxjewa\", \"f5xfyye\"],\n Bnn43bw: [\"f1kpdnd7\", \"fokqrni\"],\n feanbc: [\"f127emps\", \"f1s6s1el\"],\n B4268ip: [\"f39vr2a\", \"frpqyrn\"]\n }\n}, {\n 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);}\"]\n});\n/**\n * @internal\n *\n * Apply styling to the CalendarDayGrid slots based on the state\n */\nexport const useCalendarDayGridStyles_unstable = props => {\n const wrapperStyles = useWrapperStyles();\n const tableStyles = useTableStyles();\n const dayCellStyles = useDayCellStyles();\n const daySelectedStyles = useDaySelectedStyles();\n const daySingleSelectedStyles = useDaySingleSelectedStyles();\n const weekRowStyles = useWeekRowStyles();\n const weekDayLabelCellStyles = useWeekDayLabelCellStyles();\n const weekNumberCellStyles = useWeekNumberCellStyles();\n const dayOutsideBoundsStyles = useDayOutsideBoundsStyles();\n const dayOutsideNavigatedMonthStyles = useDayOutsideNavigatedMonthStyles();\n const dayButtonStyles = useDayButtonStyles();\n const dayIsTodayStyles = useDayIsTodayStyles();\n const firstTransitionWeekStyles = useFirstTransitionWeekStyles();\n const lastTransitionWeekStyles = useLastTransitionWeekStyles();\n const dayMarkerStyles = useDayMarkerStyles();\n const cornerBorderAndRadiusStyles = useCornerBorderAndRadiusStyles();\n const dayTodayMarkerStyles = useDayTodayMarkerStyles();\n const {\n animateBackwards,\n animationDirection,\n lightenDaysOutsideNavigatedMonth,\n showWeekNumbers\n } = props;\n return {\n wrapper: mergeClasses(calendarDayGridClassNames.wrapper, wrapperStyles.base),\n table: mergeClasses(calendarDayGridClassNames.table, tableStyles.base, showWeekNumbers && tableStyles.showWeekNumbers),\n dayCell: mergeClasses(calendarDayGridClassNames.dayCell, dayCellStyles.base, dayCellStyles.focusIndicator, cornerBorderAndRadiusStyles.corners),\n daySelected: mergeClasses(calendarDayGridClassNames.daySelected, daySelectedStyles.base),\n daySingleSelected: mergeClasses(calendarDayGridClassNames.daySingleSelected, daySingleSelectedStyles.base),\n weekRow: mergeClasses(calendarDayGridClassNames.weekRow, animateBackwards !== undefined && weekRowStyles.base, animateBackwards !== undefined && (animationDirection === AnimationDirection.Horizontal ? animateBackwards ? weekRowStyles.horizontalBackward : weekRowStyles.horizontalForward : animateBackwards ? weekRowStyles.verticalBackward : weekRowStyles.verticalForward)),\n weekDayLabelCell: mergeClasses(calendarDayGridClassNames.weekDayLabelCell, weekDayLabelCellStyles.base),\n weekNumberCell: mergeClasses(calendarDayGridClassNames.weekNumberCell, weekNumberCellStyles.base),\n dayOutsideBounds: mergeClasses(calendarDayGridClassNames.dayOutsideBounds, dayOutsideBoundsStyles.base),\n dayOutsideNavigatedMonth: mergeClasses(calendarDayGridClassNames.dayOutsideNavigatedMonth, lightenDaysOutsideNavigatedMonth && dayOutsideNavigatedMonthStyles.lightenDaysOutsideNavigatedMonth),\n dayButton: mergeClasses(calendarDayGridClassNames.dayButton, dayButtonStyles.base),\n dayIsToday: mergeClasses(calendarDayGridClassNames.dayIsToday, dayIsTodayStyles.base),\n firstTransitionWeek: mergeClasses(calendarDayGridClassNames.firstTransitionWeek, firstTransitionWeekStyles.base, animateBackwards !== undefined && animationDirection !== AnimationDirection.Horizontal && !animateBackwards && firstTransitionWeekStyles.verticalForward),\n lastTransitionWeek: mergeClasses(calendarDayGridClassNames.lastTransitionWeek, lastTransitionWeekStyles.base, animateBackwards !== undefined && animationDirection !== AnimationDirection.Horizontal && animateBackwards && lastTransitionWeekStyles.verticalBackward),\n dayMarker: mergeClasses(calendarDayGridClassNames.dayMarker, dayMarkerStyles.base),\n dayTodayMarker: mergeClasses(calendarDayGridClassNames.dayTodayMarker, dayTodayMarkerStyles.base)\n };\n};\n//# sourceMappingURL=useCalendarDayGridStyles.styles.js.map"],"names":["calendarDayGridClassNames","extraCalendarDayGridClassNames","useCalendarDayGridStyles_unstable","wrapper","table","dayCell","daySelected","daySingleSelected","weekRow","weekDayLabelCell","weekNumberCell","dayOutsideBounds","dayOutsideNavigatedMonth","dayButton","dayIsToday","firstTransitionWeek","lastTransitionWeek","dayMarker","dayTodayMarker","hoverStyle","pressedStyle","useWrapperStyles","__styles","base","Byoj8tv","d","useTableStyles","po53p8","Bxjg3zr","Be2twd7","B6of3ja","qhf8xq","B73mfa3","fsow6f","a9b677","showWeekNumbers","useDayCellStyles","sj55zd","Bceei9c","Bhrd7zp","jrapky","Frg6f3","t21cq0","B74szlk","uwmqm3","z189sj","z8tnut","B0ocmuz","Bsw6fvg","Bbusuzp","cvlxnx","Bweudez","Bsnevi5","z1p9vi","dua3dm","Bf7el8m","xnb59o","B0mcfed","Bj67fi1","B2gfgcj","B6cqqer","fpurfy","Fioj4w","Bq9yiu4","cpbo2x","Bq268z6","focusIndicator","Brovlpu","B486eqv","B8q5s1w","Bci5o5g","n8qw10","Bdrgwmp","Bb7d1vk","zhwhgb","dhy2o1","Gfyso","Bm4h7ae","B7ys5i9","Busjfv9","Bhk32uz","f6g5ot","Boxcth7","Bhdgwq3","hgwjuy","Bshpdp8","Bsom6fd","Blkhhs4","Bonggc9","Ddfuxk","i03rao","kclons","clg4pj","Bpqj9nj","B6dhp37","Bf4ptjt","Bqtpl0w","i4rwgc","Dah5zi","B1tsrr9","qqdqy8","Bkh64rk","e3fwne","J0r882","Bule8hv","Bjwuhne","Ghsupd","p","m","f","i","useDaySelectedStyles","De3pzq","Bjwas2f","Bn1d65q","Bxeuatn","n51gp8","ycbfsm","a3nq4f","Bnf3alp","H2c3sd","qu8ld","E9zv3o","h","useDaySingleSelectedStyles","B2ns3jv","Bwxf4zv","Bp8cau8","Buy161k","Bpzqh5e","Fh6yq5","B75pphk","Cmeexk","yen2pv","ydc5we","Bz06psx","Bvql7r5","k24jl4","Bksmc0g","Buxuwzc","xn840g","Jh9m0u","Fmkg4n","kmtgwu","g6m10a","Birdjzs","yojo9v","qdeutu","yfp87c","zuskld","useWeekRowStyles","vin17d","Bf5fcs","Ezkn3b","horizontalBackward","Bv12yb3","horizontalForward","verticalBackward","verticalForward","k","useWeekDayLabelCellStyles","famaaq","useWeekNumberCellStyles","h3c5rm","vrafjx","Bekrc4i","u1mtju","B7ck84d","Bqenvij","useDayOutsideBoundsStyles","x734em","B0ssf13","B8h8h5z","useDayOutsideNavigatedMonthStyles","lightenDaysOutsideNavigatedMonth","useDayButtonStyles","Bgfg5da","B9xav0g","oivjwe","Bn0qgzm","B4g9neb","zhjwy3","wvpqe5","ibv6hh","i8vvqc","g2u3we","icvyot","B4j52fo","irswps","Bg96gwp","B68tc82","Bmxbyg5","Bpg54ce","Bx0yju7","l98f4w","Jwef8y","Btmb5he","gu71dq","B2zomw9","Fgk69s","Bw6eyry","ecr2s2","a","useDayIsTodayStyles","mc9l5x","Brf1p80","Bt984gj","kof2un","useDayTodayMarkerStyles","Beyfa6y","Bbmb7ep","Btl43ni","B7oj6ja","Dimara","useFirstTransitionWeekStyles","abs64n","useLastTransitionWeekStyles","useDayMarkerStyles","B5kzvoi","oyh7mz","j35jbq","useCornerBorderAndRadiusStyles","corners","Cy64m2","Bnn43bw","feanbc","B4268ip","props","wrapperStyles","tableStyles","dayCellStyles","daySelectedStyles","daySingleSelectedStyles","weekRowStyles","weekDayLabelCellStyles","weekNumberCellStyles","dayOutsideBoundsStyles","dayOutsideNavigatedMonthStyles","dayButtonStyles","dayIsTodayStyles","firstTransitionWeekStyles","lastTransitionWeekStyles","dayMarkerStyles","cornerBorderAndRadiusStyles","dayTodayMarkerStyles","animateBackwards","animationDirection","mergeClasses","undefined","AnimationDirection","Horizontal"],"mappings":";;;;;;;;;;;IASaA,yBAAyB;eAAzBA;;IAqBAC,8BAA8B;eAA9BA;;IA4hBAC,iCAAiC;eAAjCA;;;uBAzjBsC;+BAEhB;AAM5B,MAAMF,4BAA4B;IACvCG,SAAS;IACTC,OAAO;IACPC,SAAS;IACTC,aAAa;IACbC,mBAAmB;IACnBC,SAAS;IACTC,kBAAkB;IAClBC,gBAAgB;IAChBC,kBAAkB;IAClBC,0BAA0B;IAC1BC,WAAW;IACXC,YAAY;IACZC,qBAAqB;IACrBC,oBAAoB;IACpBC,WAAW;IACXC,gBAAgB;AAClB;AAIO,MAAMjB,iCAAiC;IAC5CkB,YAAY;IACZC,cAAc;AAChB;AACA,MAAMC,mBAAmB,WAAW,GAAEC,IAAAA,eAAQ,EAAC;IAC7CC,MAAM;QACJC,SAAS;IACX;AACF,GAAG;IACDC,GAAG;QAAC;KAAkC;AACxC;AACA,MAAMC,iBAAiB,WAAW,GAAEJ,IAAAA,eAAQ,EAAC;IAC3CC,MAAM;QACJI,QAAQ;QACRC,SAAS;QACTC,SAAS;QACTC,SAAS;QACTN,SAAS;QACTO,QAAQ;QACRC,SAAS;QACTC,QAAQ;QACRC,QAAQ;IACV;IACAC,iBAAiB;QACfD,QAAQ;IACV;AACF,GAAG;IACDT,GAAG;QAAC;QAAuC;QAAgC;QAAgC;QAA6B;QAAmC;QAAiC;QAAkC;QAAiC;QAA0B;KAAyB;AACpU;AACA,MAAMW,mBAAmB,WAAW,GAAEd,IAAAA,eAAQ,EAAC;IAC7CC,MAAM;QACJc,QAAQ;QACRC,SAAS;QACTT,SAAS;QACTU,SAAS;QACTC,QAAQ;QACRC,QAAQ;QACRC,QAAQ;QACRZ,SAAS;QACTa,SAAS;QACTnB,SAAS;QACToB,QAAQ;QACRC,QAAQ;QACRC,QAAQ;QACRC,SAAS;QACThB,QAAQ;QACR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A0BU,cAAc,EAAEiO,qBAAqBpN,IAAI;QAChGZ,kBAAkB4O,IAAAA,mBAAY,EAACvP,0BAA0BW,gBAAgB,EAAEiO,uBAAuBrN,IAAI;QACtGX,0BAA0B2O,IAAAA,mBAAY,EAACvP,0BAA0BY,wBAAwB,EAAEkK,oCAAoC+D,+BAA+B/D,gCAAgC;QAC9LjK,WAAW0O,IAAAA,mBAAY,EAACvP,0BAA0Ba,SAAS,EAAEiO,gBAAgBvN,IAAI;QACjFT,YAAYyO,IAAAA,mBAAY,EAACvP,0BAA0Bc,UAAU,EAAEiO,iBAAiBxN,IAAI;QACpFR,qBAAqBwO,IAAAA,mBAAY,EAACvP,0BAA0Be,mBAAmB,EAAEiO,0BAA0BzN,IAAI,EAAE8N,qBAAqBG,aAAaF,uBAAuBG,iCAAkB,CAACC,UAAU,IAAI,CAACL,oBAAoBL,0BAA0BlF,eAAe;QACzQ9I,oBAAoBuO,IAAAA,mBAAY,EAACvP,0BAA0BgB,kBAAkB,EAAEiO,yBAAyB1N,IAAI,EAAE8N,qBAAqBG,aAAaF,uBAAuBG,iCAAkB,CAACC,UAAU,IAAIL,oBAAoBJ,yBAAyBpF,gBAAgB;QACrQ5I,WAAWsO,IAAAA,mBAAY,EAACvP,0BAA0BiB,SAAS,EAAEiO,gBAAgB3N,IAAI;QACjFL,gBAAgBqO,IAAAA,mBAAY,EAACvP,0BAA0BkB,cAAc,EAAEkO,qBAAqB7N,IAAI;IAClG;AACF,GACA,2DAA2D"}
@@ -15,7 +15,7 @@ const _reacttabster = require("@fluentui/react-tabster");
15
15
  const _react1 = require("@griffel/react");
16
16
  const _utils = require("../../utils");
17
17
  const _CalendarYear = require("../CalendarYear/CalendarYear");
18
- const _useCalendarMonthStyles = require("./useCalendarMonthStyles");
18
+ const _useCalendarMonthStylesstyles = require("./useCalendarMonthStyles.styles");
19
19
  const MONTHS_PER_ROW = 4;
20
20
  function useAnimateBackwards({ navigatedDate }) {
21
21
  const currentYear = navigatedDate.getFullYear();
@@ -117,7 +117,7 @@ const CalendarMonth = (props)=>{
117
117
  // determine if previous/next years are in bounds
118
118
  const isPrevYearInBounds = minDate ? (0, _utils.compareDatePart)(minDate, (0, _utils.getYearStart)(navigatedDate)) < 0 : true;
119
119
  const isNextYearInBounds = maxDate ? (0, _utils.compareDatePart)((0, _utils.getYearEnd)(navigatedDate), maxDate) < 0 : true;
120
- const classNames = (0, _useCalendarMonthStyles.useCalendarMonthStyles_unstable)({
120
+ const classNames = (0, _useCalendarMonthStylesstyles.useCalendarMonthStyles_unstable)({
121
121
  className,
122
122
  hasHeaderClickCallback: !!onUserHeaderSelect || !yearPickerHidden,
123
123
  highlightCurrent: highlightCurrentMonth,
@@ -1 +1 @@
1
- {"version":3,"sources":["CalendarMonth.js"],"sourcesContent":["import * as React from 'react';\nimport { Enter } from '@fluentui/keyboard-keys';\nimport { useArrowNavigationGroup } from '@fluentui/react-tabster';\nimport { mergeClasses } from '@griffel/react';\nimport { addYears, compareDatePart, getMonthEnd, getMonthStart, getYearEnd, getYearStart, setMonth, DEFAULT_DATE_FORMATTING } from '../../utils';\nimport { CalendarYear } from '../CalendarYear/CalendarYear';\nimport { useCalendarMonthStyles_unstable } from './useCalendarMonthStyles';\nconst MONTHS_PER_ROW = 4;\nfunction useAnimateBackwards({ navigatedDate }) {\n const currentYear = navigatedDate.getFullYear();\n const previousYearRef = React.useRef();\n React.useEffect(()=>{\n previousYearRef.current = currentYear;\n });\n const previousYear = previousYearRef.current;\n if (previousYear === undefined || previousYear === currentYear) {\n return undefined;\n } else {\n return previousYear > currentYear;\n }\n}\nfunction useFocusLogic({ componentRef }) {\n const navigatedMonthRef = React.useRef(null);\n const calendarYearRef = React.useRef(null);\n const focusOnUpdate = React.useRef(false);\n const focus = React.useCallback(()=>{\n if (calendarYearRef.current) {\n calendarYearRef.current.focus();\n } else if (navigatedMonthRef.current) {\n navigatedMonthRef.current.focus();\n }\n }, []);\n React.useImperativeHandle(componentRef, ()=>({\n focus\n }), [\n focus\n ]);\n React.useEffect(()=>{\n if (focusOnUpdate.current) {\n focus();\n focusOnUpdate.current = false;\n }\n });\n const focusOnNextUpdate = ()=>{\n focusOnUpdate.current = true;\n };\n return [\n navigatedMonthRef,\n calendarYearRef,\n focusOnNextUpdate\n ];\n}\n/**\n * @internal\n */ export const CalendarMonth = (props)=>{\n const { allFocusable, animationDirection, className, componentRef, dateTimeFormatter = DEFAULT_DATE_FORMATTING, highlightCurrentMonth, highlightSelectedMonth, maxDate, minDate, navigatedDate, navigationIcons, onHeaderSelect: onUserHeaderSelect, onNavigateDate, selectedDate, strings, today = new Date(), yearPickerHidden = false } = props;\n const [navigatedMonthRef, calendarYearRef, focusOnNextUpdate] = useFocusLogic({\n componentRef\n });\n const [isYearPickerVisible, setIsYearPickerVisible] = React.useState(false);\n const animateBackwards = useAnimateBackwards({\n navigatedDate\n });\n const selectMonthCallback = (newMonth)=>{\n return ()=>onSelectMonth(newMonth);\n };\n const onSelectNextYear = ()=>{\n onNavigateDate(addYears(navigatedDate, 1), false);\n };\n const onSelectPrevYear = ()=>{\n onNavigateDate(addYears(navigatedDate, -1), false);\n };\n const onSelectMonth = (newMonth)=>{\n // If header is clickable the calendars are overlayed, switch back to day picker when month is clicked\n onUserHeaderSelect === null || onUserHeaderSelect === void 0 ? void 0 : onUserHeaderSelect();\n onNavigateDate(setMonth(navigatedDate, newMonth), true);\n };\n const onHeaderSelect = ()=>{\n if (!yearPickerHidden) {\n focusOnNextUpdate();\n setIsYearPickerVisible(true);\n } else {\n onUserHeaderSelect === null || onUserHeaderSelect === void 0 ? void 0 : onUserHeaderSelect();\n }\n };\n const onSelectYear = (selectedYear)=>{\n focusOnNextUpdate();\n const navYear = navigatedDate.getFullYear();\n if (navYear !== selectedYear) {\n let newNavigationDate = new Date(navigatedDate.getTime());\n newNavigationDate.setFullYear(selectedYear);\n // for min and max dates, adjust the new navigation date - perhaps this should be\n // checked on the master navigation date handler (i.e. in Calendar)\n if (maxDate && newNavigationDate > maxDate) {\n newNavigationDate = setMonth(newNavigationDate, maxDate.getMonth());\n } else if (minDate && newNavigationDate < minDate) {\n newNavigationDate = setMonth(newNavigationDate, minDate.getMonth());\n }\n onNavigateDate(newNavigationDate, true);\n }\n setIsYearPickerVisible(false);\n };\n const onYearPickerHeaderSelect = (focus)=>{\n focusOnNextUpdate();\n setIsYearPickerVisible(false);\n };\n const dateFormatter = dateTimeFormatter;\n // determine if previous/next years are in bounds\n const isPrevYearInBounds = minDate ? compareDatePart(minDate, getYearStart(navigatedDate)) < 0 : true;\n const isNextYearInBounds = maxDate ? compareDatePart(getYearEnd(navigatedDate), maxDate) < 0 : true;\n const classNames = useCalendarMonthStyles_unstable({\n className,\n hasHeaderClickCallback: !!onUserHeaderSelect || !yearPickerHidden,\n highlightCurrent: highlightCurrentMonth,\n highlightSelected: highlightSelectedMonth,\n animateBackwards,\n animationDirection\n });\n const arrowNavigationAttributes = useArrowNavigationGroup({\n axis: 'grid'\n });\n if (isYearPickerVisible) {\n const [onRenderYear, yearStrings] = getYearStrings({\n dateTimeFormatter,\n navigatedDate,\n strings\n });\n // use navigated date for the year picker\n return /*#__PURE__*/ React.createElement(CalendarYear, {\n key: 'calendarYear',\n minYear: minDate ? minDate.getFullYear() : undefined,\n maxYear: maxDate ? maxDate.getFullYear() : undefined,\n // eslint-disable-next-line react/jsx-no-bind\n onSelectYear: onSelectYear,\n // eslint-disable-next-line react/jsx-no-bind\n onHeaderSelect: onYearPickerHeaderSelect,\n selectedYear: selectedDate ? selectedDate.getFullYear() : navigatedDate ? navigatedDate.getFullYear() : undefined,\n navigatedYear: navigatedDate.getFullYear(),\n navigationIcons: navigationIcons,\n onRenderYear: onRenderYear,\n strings: yearStrings,\n componentRef: calendarYearRef,\n highlightCurrentYear: highlightCurrentMonth,\n highlightSelectedYear: highlightSelectedMonth,\n animationDirection: animationDirection\n });\n }\n const rowIndexes = [];\n for(let i = 0; i < strings.shortMonths.length / MONTHS_PER_ROW; i++){\n rowIndexes.push(i);\n }\n const yearString = dateFormatter.formatYear(navigatedDate);\n const headerAriaLabel = strings.monthPickerHeaderAriaLabel ? strings.monthPickerHeaderAriaLabel.replace('{0}', yearString) : yearString;\n return /*#__PURE__*/ React.createElement(\"div\", {\n className: classNames.root\n }, /*#__PURE__*/ React.createElement(\"div\", {\n className: classNames.headerContainer\n }, /*#__PURE__*/ React.createElement(\"button\", {\n className: classNames.currentItemButton,\n onClick: onHeaderSelect,\n onKeyDown: onButtonKeyDown(onHeaderSelect),\n \"aria-label\": headerAriaLabel,\n tabIndex: !!onUserHeaderSelect || !yearPickerHidden ? 0 : -1,\n type: \"button\"\n }, /*#__PURE__*/ React.createElement(\"span\", {\n \"aria-live\": \"polite\",\n \"aria-atomic\": \"true\"\n }, yearString)), /*#__PURE__*/ React.createElement(\"div\", {\n className: classNames.navigationButtonsContainer\n }, /*#__PURE__*/ React.createElement(\"button\", {\n className: mergeClasses(classNames.navigationButton, !isPrevYearInBounds && classNames.disabled),\n \"aria-disabled\": !isPrevYearInBounds,\n tabIndex: isPrevYearInBounds ? undefined : allFocusable ? 0 : -1,\n onClick: isPrevYearInBounds ? onSelectPrevYear : undefined,\n onKeyDown: isPrevYearInBounds ? onButtonKeyDown(onSelectPrevYear) : undefined,\n title: strings.prevYearAriaLabel ? strings.prevYearAriaLabel + ' ' + dateFormatter.formatYear(addYears(navigatedDate, -1)) : undefined,\n type: \"button\"\n }, navigationIcons.upNavigation), /*#__PURE__*/ React.createElement(\"button\", {\n className: mergeClasses(classNames.navigationButton, !isNextYearInBounds && classNames.disabled),\n \"aria-disabled\": !isNextYearInBounds,\n tabIndex: isNextYearInBounds ? undefined : allFocusable ? 0 : -1,\n onClick: isNextYearInBounds ? onSelectNextYear : undefined,\n onKeyDown: isNextYearInBounds ? onButtonKeyDown(onSelectNextYear) : undefined,\n title: strings.nextYearAriaLabel ? strings.nextYearAriaLabel + ' ' + dateFormatter.formatYear(addYears(navigatedDate, 1)) : undefined,\n type: \"button\"\n }, navigationIcons.downNavigation))), /*#__PURE__*/ React.createElement(\"div\", {\n ...arrowNavigationAttributes,\n className: classNames.gridContainer,\n role: \"grid\",\n \"aria-label\": yearString\n }, rowIndexes.map((rowNum)=>{\n const monthsForRow = strings.shortMonths.slice(rowNum * MONTHS_PER_ROW, (rowNum + 1) * MONTHS_PER_ROW);\n return /*#__PURE__*/ React.createElement(\"div\", {\n key: 'monthRow_' + rowNum + navigatedDate.getFullYear(),\n role: \"row\",\n className: classNames.buttonRow\n }, monthsForRow.map((month, index)=>{\n const monthIndex = rowNum * MONTHS_PER_ROW + index;\n const indexedMonth = setMonth(navigatedDate, monthIndex);\n const isNavigatedMonth = navigatedDate.getMonth() === monthIndex;\n const isSelectedMonth = selectedDate.getMonth() === monthIndex;\n const isSelectedYear = selectedDate.getFullYear() === navigatedDate.getFullYear();\n const isInBounds = (minDate ? compareDatePart(minDate, getMonthEnd(indexedMonth)) < 1 : true) && (maxDate ? compareDatePart(getMonthStart(indexedMonth), maxDate) < 1 : true);\n return /*#__PURE__*/ React.createElement(\"button\", {\n ref: isNavigatedMonth ? navigatedMonthRef : undefined,\n role: 'gridcell',\n className: mergeClasses(classNames.itemButton, highlightCurrentMonth && isCurrentMonth(monthIndex, navigatedDate.getFullYear(), today) && classNames.current, highlightSelectedMonth && isSelectedMonth && isSelectedYear && classNames.selected, !isInBounds && classNames.disabled),\n disabled: !allFocusable && !isInBounds,\n key: monthIndex,\n onClick: isInBounds ? selectMonthCallback(monthIndex) : undefined,\n onKeyDown: isInBounds ? onButtonKeyDown(selectMonthCallback(monthIndex)) : undefined,\n \"aria-label\": dateFormatter.formatMonth(indexedMonth, strings),\n \"aria-selected\": isNavigatedMonth,\n tabIndex: isInBounds ? 0 : -1,\n type: \"button\"\n }, month);\n }));\n })));\n};\nCalendarMonth.displayName = 'CalendarMonth';\nfunction getYearStrings({ dateTimeFormatter, navigatedDate, strings }) {\n const yearToString = (year)=>{\n if (dateTimeFormatter) {\n // create a date based on the current nav date\n const yearFormattingDate = new Date(navigatedDate.getTime());\n yearFormattingDate.setFullYear(year);\n return dateTimeFormatter.formatYear(yearFormattingDate);\n }\n return String(year);\n };\n const yearRangeToString = (yearRange)=>{\n return `${yearToString(yearRange.fromYear)} - ${yearToString(yearRange.toYear)}`;\n };\n const yearRangeToNextDecadeLabel = (yearRange)=>{\n return strings.nextYearRangeAriaLabel ? `${strings.nextYearRangeAriaLabel} ${yearRangeToString(yearRange)}` : '';\n };\n const yearRangeToPrevDecadeLabel = (yearRange)=>{\n return strings.prevYearRangeAriaLabel ? `${strings.prevYearRangeAriaLabel} ${yearRangeToString(yearRange)}` : '';\n };\n return [\n yearToString,\n {\n rangeAriaLabel: yearRangeToString,\n prevRangeAriaLabel: yearRangeToPrevDecadeLabel,\n nextRangeAriaLabel: yearRangeToNextDecadeLabel,\n headerAriaLabelFormatString: strings.yearPickerHeaderAriaLabel\n }\n ];\n}\nfunction isCurrentMonth(month, year, today) {\n return today.getFullYear() === year && today.getMonth() === month;\n}\nfunction onButtonKeyDown(callback) {\n return (ev)=>{\n switch(ev.key){\n case Enter:\n callback();\n break;\n }\n };\n}\n"],"names":["CalendarMonth","MONTHS_PER_ROW","useAnimateBackwards","navigatedDate","currentYear","getFullYear","previousYearRef","React","useRef","useEffect","current","previousYear","undefined","useFocusLogic","componentRef","navigatedMonthRef","calendarYearRef","focusOnUpdate","focus","useCallback","useImperativeHandle","focusOnNextUpdate","props","allFocusable","animationDirection","className","dateTimeFormatter","DEFAULT_DATE_FORMATTING","highlightCurrentMonth","highlightSelectedMonth","maxDate","minDate","navigationIcons","onHeaderSelect","onUserHeaderSelect","onNavigateDate","selectedDate","strings","today","Date","yearPickerHidden","isYearPickerVisible","setIsYearPickerVisible","useState","animateBackwards","selectMonthCallback","newMonth","onSelectMonth","onSelectNextYear","addYears","onSelectPrevYear","setMonth","onSelectYear","selectedYear","navYear","newNavigationDate","getTime","setFullYear","getMonth","onYearPickerHeaderSelect","dateFormatter","isPrevYearInBounds","compareDatePart","getYearStart","isNextYearInBounds","getYearEnd","classNames","useCalendarMonthStyles_unstable","hasHeaderClickCallback","highlightCurrent","highlightSelected","arrowNavigationAttributes","useArrowNavigationGroup","axis","onRenderYear","yearStrings","getYearStrings","createElement","CalendarYear","key","minYear","maxYear","navigatedYear","highlightCurrentYear","highlightSelectedYear","rowIndexes","i","shortMonths","length","push","yearString","formatYear","headerAriaLabel","monthPickerHeaderAriaLabel","replace","root","headerContainer","currentItemButton","onClick","onKeyDown","onButtonKeyDown","tabIndex","type","navigationButtonsContainer","mergeClasses","navigationButton","disabled","title","prevYearAriaLabel","upNavigation","nextYearAriaLabel","downNavigation","gridContainer","role","map","rowNum","monthsForRow","slice","buttonRow","month","index","monthIndex","indexedMonth","isNavigatedMonth","isSelectedMonth","isSelectedYear","isInBounds","getMonthEnd","getMonthStart","ref","itemButton","isCurrentMonth","selected","formatMonth","displayName","yearToString","year","yearFormattingDate","String","yearRangeToString","yearRange","fromYear","toYear","yearRangeToNextDecadeLabel","nextYearRangeAriaLabel","yearRangeToPrevDecadeLabel","prevYearRangeAriaLabel","rangeAriaLabel","prevRangeAriaLabel","nextRangeAriaLabel","headerAriaLabelFormatString","yearPickerHeaderAriaLabel","callback","ev","Enter"],"mappings":";;;;+BAsDiBA;;;eAAAA;;;;iEAtDM;8BACD;8BACkB;wBACX;uBACsG;8BACtG;wCACmB;AAChD,MAAMC,iBAAiB;AACvB,SAASC,oBAAoB,EAAEC,aAAa,EAAE;IAC1C,MAAMC,cAAcD,cAAcE,WAAW;IAC7C,MAAMC,kBAAkBC,OAAMC,MAAM;IACpCD,OAAME,SAAS,CAAC;QACZH,gBAAgBI,OAAO,GAAGN;IAC9B;IACA,MAAMO,eAAeL,gBAAgBI,OAAO;IAC5C,IAAIC,iBAAiBC,aAAaD,iBAAiBP,aAAa;QAC5D,OAAOQ;IACX,OAAO;QACH,OAAOD,eAAeP;IAC1B;AACJ;AACA,SAASS,cAAc,EAAEC,YAAY,EAAE;IACnC,MAAMC,oBAAoBR,OAAMC,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Y,gBAAgBR;YAChBS,oBAAoBH;YACpBI,oBAAoBN;YACpBO,6BAA6BjH,QAAQkH,yBAAyB;QAClE;KACH;AACL;AACA,SAASpB,eAAeZ,KAAK,EAAEiB,IAAI,EAAElG,KAAK;IACtC,OAAOA,MAAMjC,WAAW,OAAOmI,QAAQlG,MAAMoB,QAAQ,OAAO6D;AAChE;AACA,SAASnB,gBAAgBoD,QAAQ;IAC7B,OAAO,CAACC;QACJ,OAAOA,GAAG1E,GAAG;YACT,KAAK2E,mBAAK;gBACNF;gBACA;QACR;IACJ;AACJ"}
1
+ {"version":3,"sources":["CalendarMonth.js"],"sourcesContent":["import * as React from 'react';\nimport { Enter } from '@fluentui/keyboard-keys';\nimport { useArrowNavigationGroup } from '@fluentui/react-tabster';\nimport { mergeClasses } from '@griffel/react';\nimport { addYears, compareDatePart, getMonthEnd, getMonthStart, getYearEnd, getYearStart, setMonth, DEFAULT_DATE_FORMATTING } from '../../utils';\nimport { CalendarYear } from '../CalendarYear/CalendarYear';\nimport { useCalendarMonthStyles_unstable } from './useCalendarMonthStyles.styles';\nconst MONTHS_PER_ROW = 4;\nfunction useAnimateBackwards({ navigatedDate }) {\n const currentYear = navigatedDate.getFullYear();\n const previousYearRef = React.useRef();\n React.useEffect(()=>{\n previousYearRef.current = currentYear;\n });\n const previousYear = previousYearRef.current;\n if (previousYear === undefined || previousYear === currentYear) {\n return undefined;\n } else {\n return previousYear > currentYear;\n }\n}\nfunction useFocusLogic({ componentRef }) {\n const navigatedMonthRef = React.useRef(null);\n const calendarYearRef = React.useRef(null);\n const focusOnUpdate = React.useRef(false);\n const focus = React.useCallback(()=>{\n if (calendarYearRef.current) {\n calendarYearRef.current.focus();\n } else if (navigatedMonthRef.current) {\n navigatedMonthRef.current.focus();\n }\n }, []);\n React.useImperativeHandle(componentRef, ()=>({\n focus\n }), [\n focus\n ]);\n React.useEffect(()=>{\n if (focusOnUpdate.current) {\n focus();\n focusOnUpdate.current = false;\n }\n });\n const focusOnNextUpdate = ()=>{\n focusOnUpdate.current = true;\n };\n return [\n navigatedMonthRef,\n calendarYearRef,\n focusOnNextUpdate\n ];\n}\n/**\n * @internal\n */ export const CalendarMonth = (props)=>{\n const { allFocusable, animationDirection, className, componentRef, dateTimeFormatter = DEFAULT_DATE_FORMATTING, highlightCurrentMonth, highlightSelectedMonth, maxDate, minDate, navigatedDate, navigationIcons, onHeaderSelect: onUserHeaderSelect, onNavigateDate, selectedDate, strings, today = new Date(), yearPickerHidden = false } = props;\n const [navigatedMonthRef, calendarYearRef, focusOnNextUpdate] = useFocusLogic({\n componentRef\n });\n const [isYearPickerVisible, setIsYearPickerVisible] = React.useState(false);\n const animateBackwards = useAnimateBackwards({\n navigatedDate\n });\n const selectMonthCallback = (newMonth)=>{\n return ()=>onSelectMonth(newMonth);\n };\n const onSelectNextYear = ()=>{\n onNavigateDate(addYears(navigatedDate, 1), false);\n };\n const onSelectPrevYear = ()=>{\n onNavigateDate(addYears(navigatedDate, -1), false);\n };\n const onSelectMonth = (newMonth)=>{\n // If header is clickable the calendars are overlayed, switch back to day picker when month is clicked\n onUserHeaderSelect === null || onUserHeaderSelect === void 0 ? void 0 : onUserHeaderSelect();\n onNavigateDate(setMonth(navigatedDate, newMonth), true);\n };\n const onHeaderSelect = ()=>{\n if (!yearPickerHidden) {\n focusOnNextUpdate();\n setIsYearPickerVisible(true);\n } else {\n onUserHeaderSelect === null || onUserHeaderSelect === void 0 ? void 0 : onUserHeaderSelect();\n }\n };\n const onSelectYear = (selectedYear)=>{\n focusOnNextUpdate();\n const navYear = navigatedDate.getFullYear();\n if (navYear !== selectedYear) {\n let newNavigationDate = new Date(navigatedDate.getTime());\n newNavigationDate.setFullYear(selectedYear);\n // for min and max dates, adjust the new navigation date - perhaps this should be\n // checked on the master navigation date handler (i.e. in Calendar)\n if (maxDate && newNavigationDate > maxDate) {\n newNavigationDate = setMonth(newNavigationDate, maxDate.getMonth());\n } else if (minDate && newNavigationDate < minDate) {\n newNavigationDate = setMonth(newNavigationDate, minDate.getMonth());\n }\n onNavigateDate(newNavigationDate, true);\n }\n setIsYearPickerVisible(false);\n };\n const onYearPickerHeaderSelect = (focus)=>{\n focusOnNextUpdate();\n setIsYearPickerVisible(false);\n };\n const dateFormatter = dateTimeFormatter;\n // determine if previous/next years are in bounds\n const isPrevYearInBounds = minDate ? compareDatePart(minDate, getYearStart(navigatedDate)) < 0 : true;\n const isNextYearInBounds = maxDate ? compareDatePart(getYearEnd(navigatedDate), maxDate) < 0 : true;\n const classNames = useCalendarMonthStyles_unstable({\n className,\n hasHeaderClickCallback: !!onUserHeaderSelect || !yearPickerHidden,\n highlightCurrent: highlightCurrentMonth,\n highlightSelected: highlightSelectedMonth,\n animateBackwards,\n animationDirection\n });\n const arrowNavigationAttributes = useArrowNavigationGroup({\n axis: 'grid'\n });\n if (isYearPickerVisible) {\n const [onRenderYear, yearStrings] = getYearStrings({\n dateTimeFormatter,\n navigatedDate,\n strings\n });\n // use navigated date for the year picker\n return /*#__PURE__*/ React.createElement(CalendarYear, {\n key: 'calendarYear',\n minYear: minDate ? minDate.getFullYear() : undefined,\n maxYear: maxDate ? maxDate.getFullYear() : undefined,\n // eslint-disable-next-line react/jsx-no-bind\n onSelectYear: onSelectYear,\n // eslint-disable-next-line react/jsx-no-bind\n onHeaderSelect: onYearPickerHeaderSelect,\n selectedYear: selectedDate ? selectedDate.getFullYear() : navigatedDate ? navigatedDate.getFullYear() : undefined,\n navigatedYear: navigatedDate.getFullYear(),\n navigationIcons: navigationIcons,\n onRenderYear: onRenderYear,\n strings: yearStrings,\n componentRef: calendarYearRef,\n highlightCurrentYear: highlightCurrentMonth,\n highlightSelectedYear: highlightSelectedMonth,\n animationDirection: animationDirection\n });\n }\n const rowIndexes = [];\n for(let i = 0; i < strings.shortMonths.length / MONTHS_PER_ROW; i++){\n rowIndexes.push(i);\n }\n const yearString = dateFormatter.formatYear(navigatedDate);\n const headerAriaLabel = strings.monthPickerHeaderAriaLabel ? strings.monthPickerHeaderAriaLabel.replace('{0}', yearString) : yearString;\n return /*#__PURE__*/ React.createElement(\"div\", {\n className: classNames.root\n }, /*#__PURE__*/ React.createElement(\"div\", {\n className: classNames.headerContainer\n }, /*#__PURE__*/ React.createElement(\"button\", {\n className: classNames.currentItemButton,\n onClick: onHeaderSelect,\n onKeyDown: onButtonKeyDown(onHeaderSelect),\n \"aria-label\": headerAriaLabel,\n tabIndex: !!onUserHeaderSelect || !yearPickerHidden ? 0 : -1,\n type: \"button\"\n }, /*#__PURE__*/ React.createElement(\"span\", {\n \"aria-live\": \"polite\",\n \"aria-atomic\": \"true\"\n }, yearString)), /*#__PURE__*/ React.createElement(\"div\", {\n className: classNames.navigationButtonsContainer\n }, /*#__PURE__*/ React.createElement(\"button\", {\n className: mergeClasses(classNames.navigationButton, !isPrevYearInBounds && classNames.disabled),\n \"aria-disabled\": !isPrevYearInBounds,\n tabIndex: isPrevYearInBounds ? undefined : allFocusable ? 0 : -1,\n onClick: isPrevYearInBounds ? onSelectPrevYear : undefined,\n onKeyDown: isPrevYearInBounds ? onButtonKeyDown(onSelectPrevYear) : undefined,\n title: strings.prevYearAriaLabel ? strings.prevYearAriaLabel + ' ' + dateFormatter.formatYear(addYears(navigatedDate, -1)) : undefined,\n type: \"button\"\n }, navigationIcons.upNavigation), /*#__PURE__*/ React.createElement(\"button\", {\n className: mergeClasses(classNames.navigationButton, !isNextYearInBounds && classNames.disabled),\n \"aria-disabled\": !isNextYearInBounds,\n tabIndex: isNextYearInBounds ? undefined : allFocusable ? 0 : -1,\n onClick: isNextYearInBounds ? onSelectNextYear : undefined,\n onKeyDown: isNextYearInBounds ? onButtonKeyDown(onSelectNextYear) : undefined,\n title: strings.nextYearAriaLabel ? strings.nextYearAriaLabel + ' ' + dateFormatter.formatYear(addYears(navigatedDate, 1)) : undefined,\n type: \"button\"\n }, navigationIcons.downNavigation))), /*#__PURE__*/ React.createElement(\"div\", {\n ...arrowNavigationAttributes,\n className: classNames.gridContainer,\n role: \"grid\",\n \"aria-label\": yearString\n }, rowIndexes.map((rowNum)=>{\n const monthsForRow = strings.shortMonths.slice(rowNum * MONTHS_PER_ROW, (rowNum + 1) * MONTHS_PER_ROW);\n return /*#__PURE__*/ React.createElement(\"div\", {\n key: 'monthRow_' + rowNum + navigatedDate.getFullYear(),\n role: \"row\",\n className: classNames.buttonRow\n }, monthsForRow.map((month, index)=>{\n const monthIndex = rowNum * MONTHS_PER_ROW + index;\n const indexedMonth = setMonth(navigatedDate, monthIndex);\n const isNavigatedMonth = navigatedDate.getMonth() === monthIndex;\n const isSelectedMonth = selectedDate.getMonth() === monthIndex;\n const isSelectedYear = selectedDate.getFullYear() === navigatedDate.getFullYear();\n const isInBounds = (minDate ? compareDatePart(minDate, getMonthEnd(indexedMonth)) < 1 : true) && (maxDate ? compareDatePart(getMonthStart(indexedMonth), maxDate) < 1 : true);\n return /*#__PURE__*/ React.createElement(\"button\", {\n ref: isNavigatedMonth ? navigatedMonthRef : undefined,\n role: 'gridcell',\n className: mergeClasses(classNames.itemButton, highlightCurrentMonth && isCurrentMonth(monthIndex, navigatedDate.getFullYear(), today) && classNames.current, highlightSelectedMonth && isSelectedMonth && isSelectedYear && classNames.selected, !isInBounds && classNames.disabled),\n disabled: !allFocusable && !isInBounds,\n key: monthIndex,\n onClick: isInBounds ? selectMonthCallback(monthIndex) : undefined,\n onKeyDown: isInBounds ? onButtonKeyDown(selectMonthCallback(monthIndex)) : undefined,\n \"aria-label\": dateFormatter.formatMonth(indexedMonth, strings),\n \"aria-selected\": isNavigatedMonth,\n tabIndex: isInBounds ? 0 : -1,\n type: \"button\"\n }, month);\n }));\n })));\n};\nCalendarMonth.displayName = 'CalendarMonth';\nfunction getYearStrings({ dateTimeFormatter, navigatedDate, strings }) {\n const yearToString = (year)=>{\n if (dateTimeFormatter) {\n // create a date based on the current nav date\n const yearFormattingDate = new Date(navigatedDate.getTime());\n yearFormattingDate.setFullYear(year);\n return dateTimeFormatter.formatYear(yearFormattingDate);\n }\n return String(year);\n };\n const yearRangeToString = (yearRange)=>{\n return `${yearToString(yearRange.fromYear)} - ${yearToString(yearRange.toYear)}`;\n };\n const yearRangeToNextDecadeLabel = (yearRange)=>{\n return strings.nextYearRangeAriaLabel ? `${strings.nextYearRangeAriaLabel} ${yearRangeToString(yearRange)}` : '';\n };\n const yearRangeToPrevDecadeLabel = (yearRange)=>{\n return strings.prevYearRangeAriaLabel ? `${strings.prevYearRangeAriaLabel} ${yearRangeToString(yearRange)}` : '';\n };\n return [\n yearToString,\n {\n rangeAriaLabel: yearRangeToString,\n prevRangeAriaLabel: yearRangeToPrevDecadeLabel,\n nextRangeAriaLabel: yearRangeToNextDecadeLabel,\n headerAriaLabelFormatString: strings.yearPickerHeaderAriaLabel\n }\n ];\n}\nfunction isCurrentMonth(month, year, today) {\n return today.getFullYear() === year && today.getMonth() === month;\n}\nfunction onButtonKeyDown(callback) {\n return (ev)=>{\n switch(ev.key){\n case Enter:\n callback();\n break;\n }\n };\n}\n"],"names":["CalendarMonth","MONTHS_PER_ROW","useAnimateBackwards","navigatedDate","currentYear","getFullYear","previousYearRef","React","useRef","useEffect","current","previousYear","undefined","useFocusLogic","componentRef","navigatedMonthRef","calendarYearRef","focusOnUpdate","focus","useCallback","useImperativeHandle","focusOnNextUpdate","props","allFocusable","animationDirection","className","dateTimeFormatter","DEFAULT_DATE_FORMATTING","highlightCurrentMonth","highlightSelectedMonth","maxDate","minDate","navigationIcons","onHeaderSelect","onUserHeaderSelect","onNavigateDate","selectedDate","strings","today","Date","yearPickerHidden","isYearPickerVisible","setIsYearPickerVisible","useState","animateBackwards","selectMonthCallback","newMonth","onSelectMonth","onSelectNextYear","addYears","onSelectPrevYear","setMonth","onSelectYear","selectedYear","navYear","newNavigationDate","getTime","setFullYear","getMonth","onYearPickerHeaderSelect","dateFormatter","isPrevYearInBounds","compareDatePart","getYearStart","isNextYearInBounds","getYearEnd","classNames","useCalendarMonthStyles_unstable","hasHeaderClickCallback","highlightCurrent","highlightSelected","arrowNavigationAttributes","useArrowNavigationGroup","axis","onRenderYear","yearStrings","getYearStrings","createElement","CalendarYear","key","minYear","maxYear","navigatedYear","highlightCurrentYear","highlightSelectedYear","rowIndexes","i","shortMonths","length","push","yearString","formatYear","headerAriaLabel","monthPickerHeaderAriaLabel","replace","root","headerContainer","currentItemButton","onClick","onKeyDown","onButtonKeyDown","tabIndex","type","navigationButtonsContainer","mergeClasses","navigationButton","disabled","title","prevYearAriaLabel","upNavigation","nextYearAriaLabel","downNavigation","gridContainer","role","map","rowNum","monthsForRow","slice","buttonRow","month","index","monthIndex","indexedMonth","isNavigatedMonth","isSelectedMonth","isSelectedYear","isInBounds","getMonthEnd","getMonthStart","ref","itemButton","isCurrentMonth","selected","formatMonth","displayName","yearToString","year","yearFormattingDate","String","yearRangeToString","yearRange","fromYear","toYear","yearRangeToNextDecadeLabel","nextYearRangeAriaLabel","yearRangeToPrevDecadeLabel","prevYearRangeAriaLabel","rangeAriaLabel","prevRangeAriaLabel","nextRangeAriaLabel","headerAriaLabelFormatString","yearPickerHeaderAriaLabel","callback","ev","Enter"],"mappings":";;;;+BAsDiBA;;;eAAAA;;;;iEAtDM;8BACD;8BACkB;wBACX;uBACsG;8BACtG;8CACmB;AAChD,MAAMC,iBAAiB;AACvB,SAASC,oBAAoB,EAAEC,aAAa,EAAE;IAC1C,MAAMC,cAAcD,cAAcE,WAAW;IAC7C,MAAMC,kBAAkBC,OAAMC,MAAM;IACpCD,OAAME,SAAS,CAAC;QACZH,gBAAgBI,OAAO,GAAGN;IAC9B;IACA,MAAMO,eAAeL,gBAAgBI,OAAO;IAC5C,IAAIC,iBAAiBC,aAAaD,iBAAiBP,aAAa;QAC5D,OAAOQ;IACX,OAAO;QACH,OAAOD,eAAeP;IAC1B;AACJ;AACA,SAASS,cAAc,EAAEC,YAAY,EAAE;IACnC,MAAMC,oBAAoBR,OAAMC,MAAM,CAAC;IACvC,MAAMQ,kBAAkBT,OAAMC,MAAM,CAAC;IACrC,MAAMS,gBAAgBV,OAAMC,M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KACH;AACL;AACA,SAASpB,eAAeZ,KAAK,EAAEiB,IAAI,EAAElG,KAAK;IACtC,OAAOA,MAAMjC,WAAW,OAAOmI,QAAQlG,MAAMoB,QAAQ,OAAO6D;AAChE;AACA,SAASnB,gBAAgBoD,QAAQ;IAC7B,OAAO,CAACC;QACJ,OAAOA,GAAG1E,GAAG;YACT,KAAK2E,mBAAK;gBACNF;gBACA;QACR;IACJ;AACJ"}
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  const _export_star = require("@swc/helpers/_/_export_star");
6
6
  _export_star._(require("./CalendarMonth"), exports);
7
7
  _export_star._(require("./CalendarMonth.types"), exports);
8
- _export_star._(require("./useCalendarMonthStyles"), exports);
8
+ _export_star._(require("./useCalendarMonthStyles.styles"), exports);
@@ -1 +1 @@
1
- {"version":3,"sources":["index.js"],"sourcesContent":["export * from './CalendarMonth';\nexport * from './CalendarMonth.types';\nexport * from './useCalendarMonthStyles';\n"],"names":[],"mappings":";;;;;uBAAc;uBACA;uBACA"}
1
+ {"version":3,"sources":["index.js"],"sourcesContent":["export * from './CalendarMonth';\nexport * from './CalendarMonth.types';\nexport * from './useCalendarMonthStyles.styles';\n"],"names":[],"mappings":";;;;;uBAAc;uBACA;uBACA"}
@@ -11,4 +11,4 @@ Object.defineProperty(exports, "useCalendarMonthStyles_unstable", {
11
11
  const _useCalendarPickerStylesstyles = require("../CalendarPicker/useCalendarPickerStyles.styles");
12
12
  const useCalendarMonthStyles_unstable = (props)=>{
13
13
  return (0, _useCalendarPickerStylesstyles.useCalendarPickerStyles_unstable)(props);
14
- };
14
+ }; //# sourceMappingURL=useCalendarMonthStyles.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["useCalendarMonthStyles.styles.js"],"sourcesContent":["import { useCalendarPickerStyles_unstable } from '../CalendarPicker/useCalendarPickerStyles.styles';\n/**\n * @internal\n *\n * Apply styling to the CalendarMonth slots based on the state\n */\nexport const useCalendarMonthStyles_unstable = props => {\n return useCalendarPickerStyles_unstable(props);\n};\n//# sourceMappingURL=useCalendarMonthStyles.styles.js.map"],"names":["useCalendarMonthStyles_unstable","props","useCalendarPickerStyles_unstable"],"mappings":";;;;+BAMaA;;;eAAAA;;;+CANoC;AAM1C,MAAMA,kCAAkCC,CAAAA;IAC7C,OAAOC,IAAAA,+DAAgC,EAACD;AAC1C,GACA,yDAAyD"}