@fluentui/react-datepicker-compat 9.75.0-experimental.css-modules.20261031-810ab07afb.0 → 9.75.1-experimental.positioning-engine.20261103-19efe125d1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,28 +1,28 @@
1
1
  # Change Log - @fluentui/react-datepicker-compat
2
2
 
3
- <!-- This log was last generated on Sat, 31 Oct 2026 11:08:43 GMT and should not be manually modified. -->
3
+ <!-- This log was last generated on Tue, 03 Nov 2026 14:18:23 GMT and should not be manually modified. -->
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [9.75.0-experimental.css-modules.20261031-810ab07afb.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-datepicker-compat_v9.75.0-experimental.css-modules.20261031-810ab07afb.0)
7
+ ## [9.75.1-experimental.positioning-engine.20261103-19efe125d1.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-datepicker-compat_v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0)
8
8
 
9
- Sat, 31 Oct 2026 11:08:43 GMT
9
+ Tue, 03 Nov 2026 14:18:23 GMT
10
10
 
11
11
  ### Changes
12
12
 
13
- - Release 9.75.0-experimental.css-modules.20261031-810ab07afb ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
14
- - Bump @fluentui/keyboard-keys to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
15
- - Bump @fluentui/react-calendar-compat to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
16
- - Bump @fluentui/react-field to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
17
- - Bump @fluentui/react-input to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
18
- - Bump @fluentui/react-jsx-runtime to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
19
- - Bump @fluentui/react-popover to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
20
- - Bump @fluentui/react-portal to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
21
- - Bump @fluentui/react-positioning to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
22
- - Bump @fluentui/react-shared-contexts to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
23
- - Bump @fluentui/react-tabster to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
24
- - Bump @fluentui/react-theme to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
25
- - Bump @fluentui/react-utilities to v9.75.0-experimental.css-modules.20261031-810ab07afb.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
13
+ - Release 9.75.1-experimental.positioning-engine.20261103-19efe125d1 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by 257645319+office-ogx-auth-helper[bot]@users.noreply.github.com)
14
+ - Bump @fluentui/keyboard-keys to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
15
+ - Bump @fluentui/react-calendar-compat to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
16
+ - Bump @fluentui/react-field to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
17
+ - Bump @fluentui/react-input to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
18
+ - Bump @fluentui/react-jsx-runtime to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
19
+ - Bump @fluentui/react-popover to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
20
+ - Bump @fluentui/react-portal to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
21
+ - Bump @fluentui/react-positioning to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
22
+ - Bump @fluentui/react-shared-contexts to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
23
+ - Bump @fluentui/react-tabster to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
24
+ - Bump @fluentui/react-theme to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
25
+ - Bump @fluentui/react-utilities to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
26
26
 
27
27
  ## [0.6.40](https://github.com/microsoft/fluentui/tree/@fluentui/react-datepicker-compat_v0.6.40)
28
28
 
package/README.md CHANGED
@@ -40,15 +40,3 @@ We will take a similar approach as v0 where we will follow this pattern:
40
40
 
41
41
  - `breaking change (major)`: Since this is a compat component, we will allow breaking changes if absolutely necessary. To accommodate for this, we will denote those changes as a minor version in semver, i.e. `0.(change will be reflected here).x`.
42
42
  - `minor and patch`: These changes will be reflected in the patch version in semver as `0.x.(change will be reflected here)`.
43
-
44
- ## Opt-in CSS Modules styles
45
-
46
- The DatePicker style hook has an opt-in CSS Modules alternative. Griffel remains
47
- the default. Configure a CSS Modules-capable bundler to replace
48
- `useDatePickerStyles.styles` with `useDatePickerStyles.styles.css`, including
49
- `.styles.js` → `.styles.css.js` for built imports, and retain the layered CSS
50
- assets. The alternative preserves caller classes and styles the popup surface
51
- independently so portaled and inline popups both work.
52
-
53
- This alternative covers DatePicker's own slots only. Its composed Input and
54
- Calendar components retain their existing style selection.
package/package.json CHANGED
@@ -1,35 +1,32 @@
1
1
  {
2
2
  "name": "@fluentui/react-datepicker-compat",
3
- "version": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
3
+ "version": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
4
4
  "description": "React components for building web experiences",
5
5
  "main": "lib-commonjs/index.cjs",
6
6
  "module": "lib/index.js",
7
7
  "typings": "./dist/index.d.ts",
8
- "sideEffects": [
9
- "**/*.css"
10
- ],
8
+ "sideEffects": false,
11
9
  "repository": {
12
10
  "type": "git",
13
11
  "url": "https://github.com/microsoft/fluentui"
14
12
  },
15
13
  "license": "MIT",
16
14
  "dependencies": {
17
- "@fluentui/keyboard-keys": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
18
- "@fluentui/react-calendar-compat": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
19
- "@fluentui/react-field": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
15
+ "@fluentui/keyboard-keys": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
16
+ "@fluentui/react-calendar-compat": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
17
+ "@fluentui/react-field": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
20
18
  "@fluentui/react-icons": "^2.0.245",
21
- "@fluentui/react-input": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
22
- "@fluentui/react-jsx-runtime": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
23
- "@fluentui/react-popover": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
24
- "@fluentui/react-portal": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
25
- "@fluentui/react-positioning": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
26
- "@fluentui/react-shared-contexts": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
27
- "@fluentui/react-tabster": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
28
- "@fluentui/react-theme": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
29
- "@fluentui/react-utilities": "9.75.0-experimental.css-modules.20261031-810ab07afb.0",
19
+ "@fluentui/react-input": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
20
+ "@fluentui/react-jsx-runtime": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
21
+ "@fluentui/react-popover": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
22
+ "@fluentui/react-portal": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
23
+ "@fluentui/react-positioning": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
24
+ "@fluentui/react-shared-contexts": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
25
+ "@fluentui/react-tabster": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
26
+ "@fluentui/react-theme": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
27
+ "@fluentui/react-utilities": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
30
28
  "@griffel/react": "^1.5.32",
31
- "@swc/helpers": "^0.5.1",
32
- "clsx": "^2.1.1"
29
+ "@swc/helpers": "^0.5.1"
33
30
  },
34
31
  "peerDependencies": {
35
32
  "@types/react": ">=16.14.0 <20.0.0",
@@ -1,32 +0,0 @@
1
- @layer fluentui {
2
- .root {
3
- position: relative;
4
- cursor: pointer;
5
- }
6
- .root input {
7
- cursor: pointer;
8
- }
9
- .disabled {
10
- cursor: default;
11
- }
12
- .disabled input {
13
- cursor: default;
14
- }
15
- .inline {
16
- z-index: 1;
17
- }
18
- .popupSurface {
19
- background-color: var(--colorNeutralBackground1);
20
- box-shadow: var(--shadow16);
21
- border-radius: var(--borderRadiusMedium);
22
- border-width: 1px;
23
- border-style: solid;
24
- border-color: var(--colorTransparentStroke);
25
- display: inline-flex;
26
- color: var(--colorNeutralForeground1);
27
- font-family: var(--fontFamilyBase);
28
- font-size: var(--fontSizeBase300);
29
- font-weight: var(--fontWeightRegular);
30
- line-height: var(--lineHeightBase300);
31
- }
32
- }
@@ -1,15 +0,0 @@
1
- import { clsx } from "clsx";
2
- import styles from "./DatePicker.module.css";
3
- export const datePickerClassNames = {
4
- root: 'fui-DatePicker',
5
- calendar: 'fui-DatePicker__calendar',
6
- popupSurface: 'fui-DatePicker__popupSurface'
7
- };
8
- export const useDatePickerStyles_unstable = (state)=>{
9
- state.root.className = clsx(datePickerClassNames.root, styles.root, state.disabled && styles.disabled, state.root.className);
10
- if (state.popupSurface) {
11
- state.popupSurface.className = clsx(datePickerClassNames.popupSurface, styles.popupSurface, state.inlinePopup && styles.inline, state.popupSurface.className);
12
- }
13
- state.calendar.className = clsx(datePickerClassNames.calendar, state.calendar.className);
14
- return state;
15
- };
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/DatePicker/useDatePickerStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { DatePickerSlots, DatePickerState } from './DatePicker.types';\nimport styles from './DatePicker.module.css';\n\nexport const datePickerClassNames: SlotClassNames<DatePickerSlots> = {\n root: 'fui-DatePicker',\n calendar: 'fui-DatePicker__calendar',\n popupSurface: 'fui-DatePicker__popupSurface',\n};\n\nexport const useDatePickerStyles_unstable = (state: DatePickerState): DatePickerState => {\n state.root.className = clsx(\n datePickerClassNames.root,\n styles.root,\n state.disabled && styles.disabled,\n state.root.className,\n );\n if (state.popupSurface) {\n state.popupSurface.className = clsx(\n datePickerClassNames.popupSurface,\n styles.popupSurface,\n state.inlinePopup && styles.inline,\n state.popupSurface.className,\n );\n }\n state.calendar.className = clsx(datePickerClassNames.calendar, state.calendar.className);\n return state;\n};\n"],"names":["clsx","styles","datePickerClassNames","root","calendar","popupSurface","useDatePickerStyles_unstable","state","className","disabled","inlinePopup","inline"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,0BAA0B;AAE7C,OAAO,MAAMC,uBAAwD;IACnEC,MAAM;IACNC,UAAU;IACVC,cAAc;AAChB,EAAE;AAEF,OAAO,MAAMC,+BAA+B,CAACC;IAC3CA,MAAMJ,IAAI,CAACK,SAAS,GAAGR,KACrBE,qBAAqBC,IAAI,EACzBF,OAAOE,IAAI,EACXI,MAAME,QAAQ,IAAIR,OAAOQ,QAAQ,EACjCF,MAAMJ,IAAI,CAACK,SAAS;IAEtB,IAAID,MAAMF,YAAY,EAAE;QACtBE,MAAMF,YAAY,CAACG,SAAS,GAAGR,KAC7BE,qBAAqBG,YAAY,EACjCJ,OAAOI,YAAY,EACnBE,MAAMG,WAAW,IAAIT,OAAOU,MAAM,EAClCJ,MAAMF,YAAY,CAACG,SAAS;IAEhC;IACAD,MAAMH,QAAQ,CAACI,SAAS,GAAGR,KAAKE,qBAAqBE,QAAQ,EAAEG,MAAMH,QAAQ,CAACI,SAAS;IACvF,OAAOD;AACT,EAAE"}
@@ -1,15 +0,0 @@
1
- import { clsx } from "clsx";
2
- import styles from "./DatePicker.module.css";
3
- export const datePickerClassNames = {
4
- root: 'fui-DatePicker',
5
- calendar: 'fui-DatePicker__calendar',
6
- popupSurface: 'fui-DatePicker__popupSurface'
7
- };
8
- export const useDatePickerStyles_unstable = (state)=>{
9
- state.root.className = clsx(datePickerClassNames.root, styles.root, state.disabled && styles.disabled, state.root.className);
10
- if (state.popupSurface) {
11
- state.popupSurface.className = clsx(datePickerClassNames.popupSurface, styles.popupSurface, state.inlinePopup && styles.inline, state.popupSurface.className);
12
- }
13
- state.calendar.className = clsx(datePickerClassNames.calendar, state.calendar.className);
14
- return state;
15
- };
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/DatePicker/useDatePickerStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { DatePickerSlots, DatePickerState } from './DatePicker.types';\nimport styles from './DatePicker.module.css';\n\nexport const datePickerClassNames: SlotClassNames<DatePickerSlots> = {\n root: 'fui-DatePicker',\n calendar: 'fui-DatePicker__calendar',\n popupSurface: 'fui-DatePicker__popupSurface',\n};\n\nexport const useDatePickerStyles_unstable = (state: DatePickerState): DatePickerState => {\n state.root.className = clsx(\n datePickerClassNames.root,\n styles.root,\n state.disabled && styles.disabled,\n state.root.className,\n );\n if (state.popupSurface) {\n state.popupSurface.className = clsx(\n datePickerClassNames.popupSurface,\n styles.popupSurface,\n state.inlinePopup && styles.inline,\n state.popupSurface.className,\n );\n }\n state.calendar.className = clsx(datePickerClassNames.calendar, state.calendar.className);\n return state;\n};\n"],"names":["clsx","styles","datePickerClassNames","root","calendar","popupSurface","useDatePickerStyles_unstable","state","className","disabled","inlinePopup","inline"],"mappings":"AAAA,SAASA,IAAI,QAAQ,OAAO;AAG5B,OAAOC,YAAY,0BAA0B;AAE7C,OAAO,MAAMC,uBAAwD;IACnEC,MAAM;IACNC,UAAU;IACVC,cAAc;AAChB,EAAE;AAEF,OAAO,MAAMC,+BAA+B,CAACC;IAC3CA,MAAMJ,IAAI,CAACK,SAAS,GAAGR,KACrBE,qBAAqBC,IAAI,EACzBF,OAAOE,IAAI,EACXI,MAAME,QAAQ,IAAIR,OAAOQ,QAAQ,EACjCF,MAAMJ,IAAI,CAACK,SAAS;IAEtB,IAAID,MAAMF,YAAY,EAAE;QACtBE,MAAMF,YAAY,CAACG,SAAS,GAAGR,KAC7BE,qBAAqBG,YAAY,EACjCJ,OAAOI,YAAY,EACnBE,MAAMG,WAAW,IAAIT,OAAOU,MAAM,EAClCJ,MAAMF,YAAY,CAACG,SAAS;IAEhC;IACAD,MAAMH,QAAQ,CAACI,SAAS,GAAGR,KAAKE,qBAAqBE,QAAQ,EAAEG,MAAMH,QAAQ,CAACI,SAAS;IACvF,OAAOD;AACT,EAAE"}
@@ -1,32 +0,0 @@
1
- @layer fluentui {
2
- .root {
3
- position: relative;
4
- cursor: pointer;
5
- }
6
- .root input {
7
- cursor: pointer;
8
- }
9
- .disabled {
10
- cursor: default;
11
- }
12
- .disabled input {
13
- cursor: default;
14
- }
15
- .inline {
16
- z-index: 1;
17
- }
18
- .popupSurface {
19
- background-color: var(--colorNeutralBackground1);
20
- box-shadow: var(--shadow16);
21
- border-radius: var(--borderRadiusMedium);
22
- border-width: 1px;
23
- border-style: solid;
24
- border-color: var(--colorTransparentStroke);
25
- display: inline-flex;
26
- color: var(--colorNeutralForeground1);
27
- font-family: var(--fontFamilyBase);
28
- font-size: var(--fontSizeBase300);
29
- font-weight: var(--fontWeightRegular);
30
- line-height: var(--lineHeightBase300);
31
- }
32
- }
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- function _export(target, all) {
6
- for(var name in all)Object.defineProperty(target, name, {
7
- enumerable: true,
8
- get: Object.getOwnPropertyDescriptor(all, name).get
9
- });
10
- }
11
- _export(exports, {
12
- get datePickerClassNames () {
13
- return datePickerClassNames;
14
- },
15
- get useDatePickerStyles_unstable () {
16
- return useDatePickerStyles_unstable;
17
- }
18
- });
19
- const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
20
- const _clsx = require("clsx");
21
- const _DatePickermodulecss = /*#__PURE__*/ _interop_require_default._(require("./DatePicker.module.css"));
22
- const datePickerClassNames = {
23
- root: 'fui-DatePicker',
24
- calendar: 'fui-DatePicker__calendar',
25
- popupSurface: 'fui-DatePicker__popupSurface'
26
- };
27
- const useDatePickerStyles_unstable = (state)=>{
28
- state.root.className = (0, _clsx.clsx)(datePickerClassNames.root, _DatePickermodulecss.default.root, state.disabled && _DatePickermodulecss.default.disabled, state.root.className);
29
- if (state.popupSurface) {
30
- state.popupSurface.className = (0, _clsx.clsx)(datePickerClassNames.popupSurface, _DatePickermodulecss.default.popupSurface, state.inlinePopup && _DatePickermodulecss.default.inline, state.popupSurface.className);
31
- }
32
- state.calendar.className = (0, _clsx.clsx)(datePickerClassNames.calendar, state.calendar.className);
33
- return state;
34
- };
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/DatePicker/useDatePickerStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { DatePickerSlots, DatePickerState } from './DatePicker.types';\nimport styles from './DatePicker.module.css';\n\nexport const datePickerClassNames: SlotClassNames<DatePickerSlots> = {\n root: 'fui-DatePicker',\n calendar: 'fui-DatePicker__calendar',\n popupSurface: 'fui-DatePicker__popupSurface',\n};\n\nexport const useDatePickerStyles_unstable = (state: DatePickerState): DatePickerState => {\n state.root.className = clsx(\n datePickerClassNames.root,\n styles.root,\n state.disabled && styles.disabled,\n state.root.className,\n );\n if (state.popupSurface) {\n state.popupSurface.className = clsx(\n datePickerClassNames.popupSurface,\n styles.popupSurface,\n state.inlinePopup && styles.inline,\n state.popupSurface.className,\n );\n }\n state.calendar.className = clsx(datePickerClassNames.calendar, state.calendar.className);\n return state;\n};\n"],"names":["clsx","styles","datePickerClassNames","root","calendar","popupSurface","useDatePickerStyles_unstable","state","className","disabled","inlinePopup","inline"],"mappings":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;8EAGT,0BAA0B;AAEtC,6BAA8D;IACnEC,MAAM;IACNC,UAAU;IACVC,cAAc;AAChB,EAAE;AAEK,MAAMC,+BAA+B,CAACC;IAC3CA,MAAMJ,IAAI,CAACK,SAAS,OAAGR,UAAAA,EACrBE,qBAAqBC,IAAI,EACzBF,4BAAAA,CAAOE,IAAI,EACXI,MAAME,QAAQ,IAAIR,4BAAAA,CAAOQ,QAAQ,EACjCF,MAAMJ,IAAI,CAACK,SAAS;IAEtB,IAAID,MAAMF,YAAY,EAAE;QACtBE,MAAMF,YAAY,CAACG,SAAS,OAAGR,UAAAA,EAC7BE,qBAAqBG,YAAY,EACjCJ,4BAAAA,CAAOI,YAAY,EACnBE,MAAMG,WAAW,IAAIT,4BAAAA,CAAOU,MAAM,EAClCJ,MAAMF,YAAY,CAACG,SAAS;IAEhC;IACAD,MAAMH,QAAQ,CAACI,SAAS,OAAGR,UAAAA,EAAKE,qBAAqBE,QAAQ,EAAEG,MAAMH,QAAQ,CAACI,SAAS;IACvF,OAAOD;AACT,EAAE"}
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", {
3
- value: true
4
- });
5
- function _export(target, all) {
6
- for(var name in all)Object.defineProperty(target, name, {
7
- enumerable: true,
8
- get: Object.getOwnPropertyDescriptor(all, name).get
9
- });
10
- }
11
- _export(exports, {
12
- get datePickerClassNames () {
13
- return datePickerClassNames;
14
- },
15
- get useDatePickerStyles_unstable () {
16
- return useDatePickerStyles_unstable;
17
- }
18
- });
19
- const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
20
- const _clsx = require("clsx");
21
- const _DatePickermodulecss = /*#__PURE__*/ _interop_require_default._(require("./DatePicker.module.css"));
22
- const datePickerClassNames = {
23
- root: 'fui-DatePicker',
24
- calendar: 'fui-DatePicker__calendar',
25
- popupSurface: 'fui-DatePicker__popupSurface'
26
- };
27
- const useDatePickerStyles_unstable = (state)=>{
28
- state.root.className = (0, _clsx.clsx)(datePickerClassNames.root, _DatePickermodulecss.default.root, state.disabled && _DatePickermodulecss.default.disabled, state.root.className);
29
- if (state.popupSurface) {
30
- state.popupSurface.className = (0, _clsx.clsx)(datePickerClassNames.popupSurface, _DatePickermodulecss.default.popupSurface, state.inlinePopup && _DatePickermodulecss.default.inline, state.popupSurface.className);
31
- }
32
- state.calendar.className = (0, _clsx.clsx)(datePickerClassNames.calendar, state.calendar.className);
33
- return state;
34
- };
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/components/DatePicker/useDatePickerStyles.styles.css.ts"],"sourcesContent":["import { clsx } from 'clsx';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { DatePickerSlots, DatePickerState } from './DatePicker.types';\nimport styles from './DatePicker.module.css';\n\nexport const datePickerClassNames: SlotClassNames<DatePickerSlots> = {\n root: 'fui-DatePicker',\n calendar: 'fui-DatePicker__calendar',\n popupSurface: 'fui-DatePicker__popupSurface',\n};\n\nexport const useDatePickerStyles_unstable = (state: DatePickerState): DatePickerState => {\n state.root.className = clsx(\n datePickerClassNames.root,\n styles.root,\n state.disabled && styles.disabled,\n state.root.className,\n );\n if (state.popupSurface) {\n state.popupSurface.className = clsx(\n datePickerClassNames.popupSurface,\n styles.popupSurface,\n state.inlinePopup && styles.inline,\n state.popupSurface.className,\n );\n }\n state.calendar.className = clsx(datePickerClassNames.calendar, state.calendar.className);\n return state;\n};\n"],"names":["clsx","styles","datePickerClassNames","root","calendar","popupSurface","useDatePickerStyles_unstable","state","className","disabled","inlinePopup","inline"],"mappings":";;;;;;;;;;;QAKaE;;;;;;;;sBALQ,OAAO;8EAGT,0BAA0B;AAEtC,6BAA8D;IACnEC,MAAM;IACNC,UAAU;IACVC,cAAc;AAChB,EAAE;AAEK,MAAMC,+BAA+B,CAACC;IAC3CA,MAAMJ,IAAI,CAACK,SAAS,OAAGR,UAAAA,EACrBE,qBAAqBC,IAAI,EACzBF,4BAAAA,CAAOE,IAAI,EACXI,MAAME,QAAQ,IAAIR,4BAAAA,CAAOQ,QAAQ,EACjCF,MAAMJ,IAAI,CAACK,SAAS;IAEtB,IAAID,MAAMF,YAAY,EAAE;QACtBE,MAAMF,YAAY,CAACG,SAAS,OAAGR,UAAAA,EAC7BE,qBAAqBG,YAAY,EACjCJ,4BAAAA,CAAOI,YAAY,EACnBE,MAAMG,WAAW,IAAIT,4BAAAA,CAAOU,MAAM,EAClCJ,MAAMF,YAAY,CAACG,SAAS;IAEhC;IACAD,MAAMH,QAAQ,CAACI,SAAS,OAAGR,UAAAA,EAAKE,qBAAqBE,QAAQ,EAAEG,MAAMH,QAAQ,CAACI,SAAS;IACvF,OAAOD;AACT,EAAE"}