@fluentui/react-timepicker-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 +11 -11
- package/README.md +0 -13
- package/package.json +10 -13
- package/lib/components/TimePicker/TimePicker.module.css +0 -6
- package/lib/components/TimePicker/useTimePickerStyles.styles.css.js +0 -31
- package/lib/components/TimePicker/useTimePickerStyles.styles.css.js.map +0 -1
- package/lib/components/TimePicker/useTimePickerStyles.styles.raw.css.js +0 -31
- package/lib/components/TimePicker/useTimePickerStyles.styles.raw.css.js.map +0 -1
- package/lib-commonjs/components/TimePicker/TimePicker.module.css +0 -6
- package/lib-commonjs/components/TimePicker/useTimePickerStyles.styles.css.cjs +0 -50
- package/lib-commonjs/components/TimePicker/useTimePickerStyles.styles.css.cjs.map +0 -1
- package/lib-commonjs/components/TimePicker/useTimePickerStyles.styles.raw.css.cjs +0 -50
- package/lib-commonjs/components/TimePicker/useTimePickerStyles.styles.raw.css.cjs.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-timepicker-compat
|
|
2
2
|
|
|
3
|
-
<!-- This log was last generated on
|
|
3
|
+
<!-- This log was last generated on Tue, 03 Nov 2026 14:18:15 GMT and should not be manually modified. -->
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
-
## [9.75.
|
|
7
|
+
## [9.75.1-experimental.positioning-engine.20261103-19efe125d1.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-timepicker-compat_v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0)
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Tue, 03 Nov 2026 14:18:15 GMT
|
|
10
10
|
|
|
11
11
|
### Changes
|
|
12
12
|
|
|
13
|
-
- Release 9.75.
|
|
14
|
-
- Bump @fluentui/keyboard-keys to v9.75.
|
|
15
|
-
- Bump @fluentui/react-combobox to v9.75.
|
|
16
|
-
- Bump @fluentui/react-field to v9.75.
|
|
17
|
-
- Bump @fluentui/react-jsx-runtime to v9.75.
|
|
18
|
-
- Bump @fluentui/react-shared-contexts to v9.75.
|
|
19
|
-
- Bump @fluentui/react-theme to v9.75.
|
|
20
|
-
- Bump @fluentui/react-utilities to v9.75.
|
|
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-combobox 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-jsx-runtime to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
18
|
+
- 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)
|
|
19
|
+
- Bump @fluentui/react-theme to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
20
|
+
- Bump @fluentui/react-utilities to v9.75.1-experimental.positioning-engine.20261103-19efe125d1.0 ([commit](https://github.com/microsoft/fluentui/commit/undefined) by beachball)
|
|
21
21
|
|
|
22
22
|
## [0.4.42](https://github.com/microsoft/fluentui/tree/@fluentui/react-timepicker-compat_v0.4.42)
|
|
23
23
|
|
package/README.md
CHANGED
|
@@ -18,19 +18,6 @@ import { TimePicker } from '@fluentui/react-timepicker-compat';
|
|
|
18
18
|
<TimePicker />
|
|
19
19
|
```
|
|
20
20
|
|
|
21
|
-
## Opt-in CSS Modules styles
|
|
22
|
-
|
|
23
|
-
Replace `useTimePickerStyles.styles` with `useTimePickerStyles.styles.css` in the
|
|
24
|
-
bundler resolver, handling both source imports and built
|
|
25
|
-
`.styles.js` → `.styles.css.js` imports. Griffel remains the default.
|
|
26
|
-
The alternative keeps calling the public `useComboboxStyles_unstable` hook from
|
|
27
|
-
`@fluentui/react-combobox`; replace that package's style modules and public
|
|
28
|
-
re-exports as well. Base imports precede the local stylesheet so TimePicker's
|
|
29
|
-
listbox height cap wins the equal-specificity Combobox rule, including when
|
|
30
|
-
portaled. Process CSS Modules and retain assets in the `fluentui` layer.
|
|
31
|
-
Without the base replacement this remains a hybrid with Griffel, not a
|
|
32
|
-
Griffel-free composition or a guarantee of mixed-mode styling parity.
|
|
33
|
-
|
|
34
21
|
# Compat component
|
|
35
22
|
|
|
36
23
|
## What makes a compat component?
|
package/package.json
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluentui/react-timepicker-compat",
|
|
3
|
-
"version": "9.75.
|
|
3
|
+
"version": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
4
4
|
"description": "Fluent UI TimePicker Compat Component",
|
|
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
|
"files": [
|
|
12
10
|
"*.md",
|
|
13
11
|
"dist/*.d.ts",
|
|
@@ -21,16 +19,15 @@
|
|
|
21
19
|
},
|
|
22
20
|
"license": "MIT",
|
|
23
21
|
"dependencies": {
|
|
24
|
-
"@fluentui/keyboard-keys": "9.75.
|
|
25
|
-
"@fluentui/react-combobox": "9.75.
|
|
26
|
-
"@fluentui/react-field": "9.75.
|
|
27
|
-
"@fluentui/react-jsx-runtime": "9.75.
|
|
28
|
-
"@fluentui/react-shared-contexts": "9.75.
|
|
29
|
-
"@fluentui/react-theme": "9.75.
|
|
30
|
-
"@fluentui/react-utilities": "9.75.
|
|
22
|
+
"@fluentui/keyboard-keys": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
23
|
+
"@fluentui/react-combobox": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
24
|
+
"@fluentui/react-field": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
25
|
+
"@fluentui/react-jsx-runtime": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
26
|
+
"@fluentui/react-shared-contexts": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
27
|
+
"@fluentui/react-theme": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
28
|
+
"@fluentui/react-utilities": "9.75.1-experimental.positioning-engine.20261103-19efe125d1.0",
|
|
31
29
|
"@griffel/react": "^1.5.32",
|
|
32
|
-
"@swc/helpers": "^0.5.1"
|
|
33
|
-
"clsx": "^2.1.1"
|
|
30
|
+
"@swc/helpers": "^0.5.1"
|
|
34
31
|
},
|
|
35
32
|
"peerDependencies": {
|
|
36
33
|
"@types/react": ">=16.14.0 <20.0.0",
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { clsx } from "clsx";
|
|
3
|
-
import { useComboboxStyles_unstable } from "@fluentui/react-combobox";
|
|
4
|
-
import styles from "./TimePicker.module.css";
|
|
5
|
-
export const timePickerClassNames = {
|
|
6
|
-
root: 'fui-TimePicker',
|
|
7
|
-
input: 'fui-TimePicker__input',
|
|
8
|
-
expandIcon: 'fui-TimePicker__expandIcon',
|
|
9
|
-
clearIcon: 'fui-TimePicker__clearIcon',
|
|
10
|
-
listbox: 'fui-TimePicker__listbox'
|
|
11
|
-
};
|
|
12
|
-
export const useTimePickerStyles_unstable = (state)=>{
|
|
13
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
14
|
-
state.root.className = clsx(timePickerClassNames.root, state.root.className);
|
|
15
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
16
|
-
state.input.className = clsx(timePickerClassNames.input, state.input.className);
|
|
17
|
-
if (state.expandIcon) {
|
|
18
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
19
|
-
state.expandIcon.className = clsx(timePickerClassNames.expandIcon, state.expandIcon.className);
|
|
20
|
-
}
|
|
21
|
-
if (state.clearIcon) {
|
|
22
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
23
|
-
state.clearIcon.className = clsx(timePickerClassNames.clearIcon, state.clearIcon.className);
|
|
24
|
-
}
|
|
25
|
-
if (state.listbox) {
|
|
26
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
27
|
-
state.listbox.className = clsx(timePickerClassNames.listbox, styles.listbox, state.listbox.className);
|
|
28
|
-
}
|
|
29
|
-
useComboboxStyles_unstable(state);
|
|
30
|
-
return state;
|
|
31
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/TimePicker/useTimePickerStyles.styles.css.ts"],"sourcesContent":["'use client';\n\nimport { clsx } from 'clsx';\nimport { useComboboxStyles_unstable } from '@fluentui/react-combobox';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TimePickerSlots, TimePickerState } from './TimePicker.types';\nimport styles from './TimePicker.module.css';\n\nexport const timePickerClassNames: SlotClassNames<TimePickerSlots> = {\n root: 'fui-TimePicker',\n input: 'fui-TimePicker__input',\n expandIcon: 'fui-TimePicker__expandIcon',\n clearIcon: 'fui-TimePicker__clearIcon',\n listbox: 'fui-TimePicker__listbox',\n};\n\nexport const useTimePickerStyles_unstable = (state: TimePickerState): TimePickerState => {\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = clsx(timePickerClassNames.root, state.root.className);\n // eslint-disable-next-line react-hooks/immutability\n state.input.className = clsx(timePickerClassNames.input, state.input.className);\n if (state.expandIcon) {\n // eslint-disable-next-line react-hooks/immutability\n state.expandIcon.className = clsx(timePickerClassNames.expandIcon, state.expandIcon.className);\n }\n if (state.clearIcon) {\n // eslint-disable-next-line react-hooks/immutability\n state.clearIcon.className = clsx(timePickerClassNames.clearIcon, state.clearIcon.className);\n }\n if (state.listbox) {\n // eslint-disable-next-line react-hooks/immutability\n state.listbox.className = clsx(timePickerClassNames.listbox, styles.listbox, state.listbox.className);\n }\n useComboboxStyles_unstable(state);\n return state;\n};\n"],"names":["clsx","useComboboxStyles_unstable","styles","timePickerClassNames","root","input","expandIcon","clearIcon","listbox","useTimePickerStyles_unstable","state","className"],"mappings":"AAAA;AAEA,SAASA,IAAI,QAAQ,OAAO;AAC5B,SAASC,0BAA0B,QAAQ,2BAA2B;AAGtE,OAAOC,YAAY,0BAA0B;AAE7C,OAAO,MAAMC,uBAAwD;IACnEC,MAAM;IACNC,OAAO;IACPC,YAAY;IACZC,WAAW;IACXC,SAAS;AACX,EAAE;AAEF,OAAO,MAAMC,+BAA+B,CAACC;IAC3C,oDAAoD;IACpDA,MAAMN,IAAI,CAACO,SAAS,GAAGX,KAAKG,qBAAqBC,IAAI,EAAEM,MAAMN,IAAI,CAACO,SAAS;IAC3E,oDAAoD;IACpDD,MAAML,KAAK,CAACM,SAAS,GAAGX,KAAKG,qBAAqBE,KAAK,EAAEK,MAAML,KAAK,CAACM,SAAS;IAC9E,IAAID,MAAMJ,UAAU,EAAE;QACpB,oDAAoD;QACpDI,MAAMJ,UAAU,CAACK,SAAS,GAAGX,KAAKG,qBAAqBG,UAAU,EAAEI,MAAMJ,UAAU,CAACK,SAAS;IAC/F;IACA,IAAID,MAAMH,SAAS,EAAE;QACnB,oDAAoD;QACpDG,MAAMH,SAAS,CAACI,SAAS,GAAGX,KAAKG,qBAAqBI,SAAS,EAAEG,MAAMH,SAAS,CAACI,SAAS;IAC5F;IACA,IAAID,MAAMF,OAAO,EAAE;QACjB,oDAAoD;QACpDE,MAAMF,OAAO,CAACG,SAAS,GAAGX,KAAKG,qBAAqBK,OAAO,EAAEN,OAAOM,OAAO,EAAEE,MAAMF,OAAO,CAACG,SAAS;IACtG;IACAV,2BAA2BS;IAC3B,OAAOA;AACT,EAAE"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { clsx } from "clsx";
|
|
3
|
-
import { useComboboxStyles_unstable } from "@fluentui/react-combobox";
|
|
4
|
-
import styles from "./TimePicker.module.css";
|
|
5
|
-
export const timePickerClassNames = {
|
|
6
|
-
root: 'fui-TimePicker',
|
|
7
|
-
input: 'fui-TimePicker__input',
|
|
8
|
-
expandIcon: 'fui-TimePicker__expandIcon',
|
|
9
|
-
clearIcon: 'fui-TimePicker__clearIcon',
|
|
10
|
-
listbox: 'fui-TimePicker__listbox'
|
|
11
|
-
};
|
|
12
|
-
export const useTimePickerStyles_unstable = (state)=>{
|
|
13
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
14
|
-
state.root.className = clsx(timePickerClassNames.root, state.root.className);
|
|
15
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
16
|
-
state.input.className = clsx(timePickerClassNames.input, state.input.className);
|
|
17
|
-
if (state.expandIcon) {
|
|
18
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
19
|
-
state.expandIcon.className = clsx(timePickerClassNames.expandIcon, state.expandIcon.className);
|
|
20
|
-
}
|
|
21
|
-
if (state.clearIcon) {
|
|
22
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
23
|
-
state.clearIcon.className = clsx(timePickerClassNames.clearIcon, state.clearIcon.className);
|
|
24
|
-
}
|
|
25
|
-
if (state.listbox) {
|
|
26
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
27
|
-
state.listbox.className = clsx(timePickerClassNames.listbox, styles.listbox, state.listbox.className);
|
|
28
|
-
}
|
|
29
|
-
useComboboxStyles_unstable(state);
|
|
30
|
-
return state;
|
|
31
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/TimePicker/useTimePickerStyles.styles.css.ts"],"sourcesContent":["'use client';\n\nimport { clsx } from 'clsx';\nimport { useComboboxStyles_unstable } from '@fluentui/react-combobox';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TimePickerSlots, TimePickerState } from './TimePicker.types';\nimport styles from './TimePicker.module.css';\n\nexport const timePickerClassNames: SlotClassNames<TimePickerSlots> = {\n root: 'fui-TimePicker',\n input: 'fui-TimePicker__input',\n expandIcon: 'fui-TimePicker__expandIcon',\n clearIcon: 'fui-TimePicker__clearIcon',\n listbox: 'fui-TimePicker__listbox',\n};\n\nexport const useTimePickerStyles_unstable = (state: TimePickerState): TimePickerState => {\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = clsx(timePickerClassNames.root, state.root.className);\n // eslint-disable-next-line react-hooks/immutability\n state.input.className = clsx(timePickerClassNames.input, state.input.className);\n if (state.expandIcon) {\n // eslint-disable-next-line react-hooks/immutability\n state.expandIcon.className = clsx(timePickerClassNames.expandIcon, state.expandIcon.className);\n }\n if (state.clearIcon) {\n // eslint-disable-next-line react-hooks/immutability\n state.clearIcon.className = clsx(timePickerClassNames.clearIcon, state.clearIcon.className);\n }\n if (state.listbox) {\n // eslint-disable-next-line react-hooks/immutability\n state.listbox.className = clsx(timePickerClassNames.listbox, styles.listbox, state.listbox.className);\n }\n useComboboxStyles_unstable(state);\n return state;\n};\n"],"names":["clsx","useComboboxStyles_unstable","styles","timePickerClassNames","root","input","expandIcon","clearIcon","listbox","useTimePickerStyles_unstable","state","className"],"mappings":"AAAA;AAEA,SAASA,IAAI,QAAQ,OAAO;AAC5B,SAASC,0BAA0B,QAAQ,2BAA2B;AAGtE,OAAOC,YAAY,0BAA0B;AAE7C,OAAO,MAAMC,uBAAwD;IACnEC,MAAM;IACNC,OAAO;IACPC,YAAY;IACZC,WAAW;IACXC,SAAS;AACX,EAAE;AAEF,OAAO,MAAMC,+BAA+B,CAACC;IAC3C,oDAAoD;IACpDA,MAAMN,IAAI,CAACO,SAAS,GAAGX,KAAKG,qBAAqBC,IAAI,EAAEM,MAAMN,IAAI,CAACO,SAAS;IAC3E,oDAAoD;IACpDD,MAAML,KAAK,CAACM,SAAS,GAAGX,KAAKG,qBAAqBE,KAAK,EAAEK,MAAML,KAAK,CAACM,SAAS;IAC9E,IAAID,MAAMJ,UAAU,EAAE;QACpB,oDAAoD;QACpDI,MAAMJ,UAAU,CAACK,SAAS,GAAGX,KAAKG,qBAAqBG,UAAU,EAAEI,MAAMJ,UAAU,CAACK,SAAS;IAC/F;IACA,IAAID,MAAMH,SAAS,EAAE;QACnB,oDAAoD;QACpDG,MAAMH,SAAS,CAACI,SAAS,GAAGX,KAAKG,qBAAqBI,SAAS,EAAEG,MAAMH,SAAS,CAACI,SAAS;IAC5F;IACA,IAAID,MAAMF,OAAO,EAAE;QACjB,oDAAoD;QACpDE,MAAMF,OAAO,CAACG,SAAS,GAAGX,KAAKG,qBAAqBK,OAAO,EAAEN,OAAOM,OAAO,EAAEE,MAAMF,OAAO,CAACG,SAAS;IACtG;IACAV,2BAA2BS;IAC3B,OAAOA;AACT,EAAE"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
function _export(target, all) {
|
|
7
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
_export(exports, {
|
|
13
|
-
get timePickerClassNames () {
|
|
14
|
-
return timePickerClassNames;
|
|
15
|
-
},
|
|
16
|
-
get useTimePickerStyles_unstable () {
|
|
17
|
-
return useTimePickerStyles_unstable;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
21
|
-
const _clsx = require("clsx");
|
|
22
|
-
const _reactcombobox = require("@fluentui/react-combobox");
|
|
23
|
-
const _TimePickermodulecss = /*#__PURE__*/ _interop_require_default._(require("./TimePicker.module.css"));
|
|
24
|
-
const timePickerClassNames = {
|
|
25
|
-
root: 'fui-TimePicker',
|
|
26
|
-
input: 'fui-TimePicker__input',
|
|
27
|
-
expandIcon: 'fui-TimePicker__expandIcon',
|
|
28
|
-
clearIcon: 'fui-TimePicker__clearIcon',
|
|
29
|
-
listbox: 'fui-TimePicker__listbox'
|
|
30
|
-
};
|
|
31
|
-
const useTimePickerStyles_unstable = (state)=>{
|
|
32
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
33
|
-
state.root.className = (0, _clsx.clsx)(timePickerClassNames.root, state.root.className);
|
|
34
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
35
|
-
state.input.className = (0, _clsx.clsx)(timePickerClassNames.input, state.input.className);
|
|
36
|
-
if (state.expandIcon) {
|
|
37
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
38
|
-
state.expandIcon.className = (0, _clsx.clsx)(timePickerClassNames.expandIcon, state.expandIcon.className);
|
|
39
|
-
}
|
|
40
|
-
if (state.clearIcon) {
|
|
41
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
42
|
-
state.clearIcon.className = (0, _clsx.clsx)(timePickerClassNames.clearIcon, state.clearIcon.className);
|
|
43
|
-
}
|
|
44
|
-
if (state.listbox) {
|
|
45
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
46
|
-
state.listbox.className = (0, _clsx.clsx)(timePickerClassNames.listbox, _TimePickermodulecss.default.listbox, state.listbox.className);
|
|
47
|
-
}
|
|
48
|
-
(0, _reactcombobox.useComboboxStyles_unstable)(state);
|
|
49
|
-
return state;
|
|
50
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/TimePicker/useTimePickerStyles.styles.css.ts"],"sourcesContent":["'use client';\n\nimport { clsx } from 'clsx';\nimport { useComboboxStyles_unstable } from '@fluentui/react-combobox';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TimePickerSlots, TimePickerState } from './TimePicker.types';\nimport styles from './TimePicker.module.css';\n\nexport const timePickerClassNames: SlotClassNames<TimePickerSlots> = {\n root: 'fui-TimePicker',\n input: 'fui-TimePicker__input',\n expandIcon: 'fui-TimePicker__expandIcon',\n clearIcon: 'fui-TimePicker__clearIcon',\n listbox: 'fui-TimePicker__listbox',\n};\n\nexport const useTimePickerStyles_unstable = (state: TimePickerState): TimePickerState => {\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = clsx(timePickerClassNames.root, state.root.className);\n // eslint-disable-next-line react-hooks/immutability\n state.input.className = clsx(timePickerClassNames.input, state.input.className);\n if (state.expandIcon) {\n // eslint-disable-next-line react-hooks/immutability\n state.expandIcon.className = clsx(timePickerClassNames.expandIcon, state.expandIcon.className);\n }\n if (state.clearIcon) {\n // eslint-disable-next-line react-hooks/immutability\n state.clearIcon.className = clsx(timePickerClassNames.clearIcon, state.clearIcon.className);\n }\n if (state.listbox) {\n // eslint-disable-next-line react-hooks/immutability\n state.listbox.className = clsx(timePickerClassNames.listbox, styles.listbox, state.listbox.className);\n }\n useComboboxStyles_unstable(state);\n return state;\n};\n"],"names":["clsx","useComboboxStyles_unstable","styles","timePickerClassNames","root","input","expandIcon","clearIcon","listbox","useTimePickerStyles_unstable","state","className"],"mappings":"AAAA;;;;;;;;;;;;QAQaG;;;;;;;;sBANQ,OAAO;+BACe,2BAA2B;8EAGnD,0BAA0B;AAEtC,6BAA8D;IACnEC,MAAM;IACNC,OAAO;IACPC,YAAY;IACZC,WAAW;IACXC,SAAS;AACX,EAAE;AAEK,MAAMC,+BAA+B,CAACC;IAC3C,oDAAoD;IACpDA,MAAMN,IAAI,CAACO,SAAS,OAAGX,UAAAA,EAAKG,qBAAqBC,IAAI,EAAEM,MAAMN,IAAI,CAACO,SAAS;IAC3E,oDAAoD;IACpDD,MAAML,KAAK,CAACM,SAAS,OAAGX,UAAAA,EAAKG,qBAAqBE,KAAK,EAAEK,MAAML,KAAK,CAACM,SAAS;IAC9E,IAAID,MAAMJ,UAAU,EAAE;QACpB,oDAAoD;QACpDI,MAAMJ,UAAU,CAACK,SAAS,OAAGX,UAAAA,EAAKG,qBAAqBG,UAAU,EAAEI,MAAMJ,UAAU,CAACK,SAAS;IAC/F;IACA,IAAID,MAAMH,SAAS,EAAE;QACnB,oDAAoD;QACpDG,MAAMH,SAAS,CAACI,SAAS,OAAGX,UAAAA,EAAKG,qBAAqBI,SAAS,EAAEG,MAAMH,SAAS,CAACI,SAAS;IAC5F;IACA,IAAID,MAAMF,OAAO,EAAE;QACjB,oDAAoD;QACpDE,MAAMF,OAAO,CAACG,SAAS,OAAGX,UAAAA,EAAKG,qBAAqBK,OAAO,EAAEN,4BAAAA,CAAOM,OAAO,EAAEE,MAAMF,OAAO,CAACG,SAAS;IACtG;QACAV,yCAAAA,EAA2BS;IAC3B,OAAOA;AACT,EAAE"}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
"use strict";
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
function _export(target, all) {
|
|
7
|
-
for(var name in all)Object.defineProperty(target, name, {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: Object.getOwnPropertyDescriptor(all, name).get
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
_export(exports, {
|
|
13
|
-
get timePickerClassNames () {
|
|
14
|
-
return timePickerClassNames;
|
|
15
|
-
},
|
|
16
|
-
get useTimePickerStyles_unstable () {
|
|
17
|
-
return useTimePickerStyles_unstable;
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
const _interop_require_default = require("@swc/helpers/_/_interop_require_default");
|
|
21
|
-
const _clsx = require("clsx");
|
|
22
|
-
const _reactcombobox = require("@fluentui/react-combobox");
|
|
23
|
-
const _TimePickermodulecss = /*#__PURE__*/ _interop_require_default._(require("./TimePicker.module.css"));
|
|
24
|
-
const timePickerClassNames = {
|
|
25
|
-
root: 'fui-TimePicker',
|
|
26
|
-
input: 'fui-TimePicker__input',
|
|
27
|
-
expandIcon: 'fui-TimePicker__expandIcon',
|
|
28
|
-
clearIcon: 'fui-TimePicker__clearIcon',
|
|
29
|
-
listbox: 'fui-TimePicker__listbox'
|
|
30
|
-
};
|
|
31
|
-
const useTimePickerStyles_unstable = (state)=>{
|
|
32
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
33
|
-
state.root.className = (0, _clsx.clsx)(timePickerClassNames.root, state.root.className);
|
|
34
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
35
|
-
state.input.className = (0, _clsx.clsx)(timePickerClassNames.input, state.input.className);
|
|
36
|
-
if (state.expandIcon) {
|
|
37
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
38
|
-
state.expandIcon.className = (0, _clsx.clsx)(timePickerClassNames.expandIcon, state.expandIcon.className);
|
|
39
|
-
}
|
|
40
|
-
if (state.clearIcon) {
|
|
41
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
42
|
-
state.clearIcon.className = (0, _clsx.clsx)(timePickerClassNames.clearIcon, state.clearIcon.className);
|
|
43
|
-
}
|
|
44
|
-
if (state.listbox) {
|
|
45
|
-
// eslint-disable-next-line react-hooks/immutability
|
|
46
|
-
state.listbox.className = (0, _clsx.clsx)(timePickerClassNames.listbox, _TimePickermodulecss.default.listbox, state.listbox.className);
|
|
47
|
-
}
|
|
48
|
-
(0, _reactcombobox.useComboboxStyles_unstable)(state);
|
|
49
|
-
return state;
|
|
50
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/components/TimePicker/useTimePickerStyles.styles.css.ts"],"sourcesContent":["'use client';\n\nimport { clsx } from 'clsx';\nimport { useComboboxStyles_unstable } from '@fluentui/react-combobox';\nimport type { SlotClassNames } from '@fluentui/react-utilities';\nimport type { TimePickerSlots, TimePickerState } from './TimePicker.types';\nimport styles from './TimePicker.module.css';\n\nexport const timePickerClassNames: SlotClassNames<TimePickerSlots> = {\n root: 'fui-TimePicker',\n input: 'fui-TimePicker__input',\n expandIcon: 'fui-TimePicker__expandIcon',\n clearIcon: 'fui-TimePicker__clearIcon',\n listbox: 'fui-TimePicker__listbox',\n};\n\nexport const useTimePickerStyles_unstable = (state: TimePickerState): TimePickerState => {\n // eslint-disable-next-line react-hooks/immutability\n state.root.className = clsx(timePickerClassNames.root, state.root.className);\n // eslint-disable-next-line react-hooks/immutability\n state.input.className = clsx(timePickerClassNames.input, state.input.className);\n if (state.expandIcon) {\n // eslint-disable-next-line react-hooks/immutability\n state.expandIcon.className = clsx(timePickerClassNames.expandIcon, state.expandIcon.className);\n }\n if (state.clearIcon) {\n // eslint-disable-next-line react-hooks/immutability\n state.clearIcon.className = clsx(timePickerClassNames.clearIcon, state.clearIcon.className);\n }\n if (state.listbox) {\n // eslint-disable-next-line react-hooks/immutability\n state.listbox.className = clsx(timePickerClassNames.listbox, styles.listbox, state.listbox.className);\n }\n useComboboxStyles_unstable(state);\n return state;\n};\n"],"names":["clsx","useComboboxStyles_unstable","styles","timePickerClassNames","root","input","expandIcon","clearIcon","listbox","useTimePickerStyles_unstable","state","className"],"mappings":"AAAA;;;;;;;;;;;;QAQaG;;;;;;;;sBANQ,OAAO;+BACe,2BAA2B;8EAGnD,0BAA0B;AAEtC,6BAA8D;IACnEC,MAAM;IACNC,OAAO;IACPC,YAAY;IACZC,WAAW;IACXC,SAAS;AACX,EAAE;AAEK,MAAMC,+BAA+B,CAACC;IAC3C,oDAAoD;IACpDA,MAAMN,IAAI,CAACO,SAAS,OAAGX,UAAAA,EAAKG,qBAAqBC,IAAI,EAAEM,MAAMN,IAAI,CAACO,SAAS;IAC3E,oDAAoD;IACpDD,MAAML,KAAK,CAACM,SAAS,OAAGX,UAAAA,EAAKG,qBAAqBE,KAAK,EAAEK,MAAML,KAAK,CAACM,SAAS;IAC9E,IAAID,MAAMJ,UAAU,EAAE;QACpB,oDAAoD;QACpDI,MAAMJ,UAAU,CAACK,SAAS,OAAGX,UAAAA,EAAKG,qBAAqBG,UAAU,EAAEI,MAAMJ,UAAU,CAACK,SAAS;IAC/F;IACA,IAAID,MAAMH,SAAS,EAAE;QACnB,oDAAoD;QACpDG,MAAMH,SAAS,CAACI,SAAS,OAAGX,UAAAA,EAAKG,qBAAqBI,SAAS,EAAEG,MAAMH,SAAS,CAACI,SAAS;IAC5F;IACA,IAAID,MAAMF,OAAO,EAAE;QACjB,oDAAoD;QACpDE,MAAMF,OAAO,CAACG,SAAS,OAAGX,UAAAA,EAAKG,qBAAqBK,OAAO,EAAEN,4BAAAA,CAAOM,OAAO,EAAEE,MAAMF,OAAO,CAACG,SAAS;IACtG;QACAV,yCAAAA,EAA2BS;IAC3B,OAAOA;AACT,EAAE"}
|