@fluentui/react-timepicker-compat 0.0.0-nightly-20250423-0405.1 → 0.0.0-nightly-20250423-1415.1

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 (35) hide show
  1. package/CHANGELOG.md +15 -15
  2. package/dist/index.d.ts +147 -0
  3. package/lib/TimePicker.js +1 -0
  4. package/lib/TimePicker.js.map +1 -0
  5. package/lib/components/TimePicker/TimePicker.js +15 -0
  6. package/lib/components/TimePicker/TimePicker.js.map +1 -0
  7. package/lib/components/TimePicker/TimePicker.types.js +1 -0
  8. package/lib/components/TimePicker/TimePicker.types.js.map +1 -0
  9. package/lib/components/TimePicker/index.js +4 -0
  10. package/lib/components/TimePicker/index.js.map +1 -0
  11. package/lib/components/TimePicker/timeMath.js +169 -0
  12. package/lib/components/TimePicker/timeMath.js.map +1 -0
  13. package/lib/components/TimePicker/useTimePicker.js +211 -0
  14. package/lib/components/TimePicker/useTimePicker.js.map +1 -0
  15. package/lib/components/TimePicker/useTimePickerStyles.styles.js +37 -0
  16. package/lib/components/TimePicker/useTimePickerStyles.styles.js.map +1 -0
  17. package/lib/index.js +1 -0
  18. package/lib/index.js.map +1 -0
  19. package/lib-commonjs/TimePicker.js +28 -0
  20. package/lib-commonjs/TimePicker.js.map +1 -0
  21. package/lib-commonjs/components/TimePicker/TimePicker.js +24 -0
  22. package/lib-commonjs/components/TimePicker/TimePicker.js.map +1 -0
  23. package/lib-commonjs/components/TimePicker/TimePicker.types.js +6 -0
  24. package/lib-commonjs/components/TimePicker/TimePicker.types.js.map +1 -0
  25. package/lib-commonjs/components/TimePicker/index.js +31 -0
  26. package/lib-commonjs/components/TimePicker/index.js.map +1 -0
  27. package/lib-commonjs/components/TimePicker/timeMath.js +141 -0
  28. package/lib-commonjs/components/TimePicker/timeMath.js.map +1 -0
  29. package/lib-commonjs/components/TimePicker/useTimePicker.js +214 -0
  30. package/lib-commonjs/components/TimePicker/useTimePicker.js.map +1 -0
  31. package/lib-commonjs/components/TimePicker/useTimePickerStyles.styles.js +53 -0
  32. package/lib-commonjs/components/TimePicker/useTimePickerStyles.styles.js.map +1 -0
  33. package/lib-commonjs/index.js +28 -0
  34. package/lib-commonjs/index.js.map +1 -0
  35. package/package.json +12 -12
@@ -0,0 +1,214 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", {
3
+ value: true
4
+ });
5
+ Object.defineProperty(exports, "useTimePicker_unstable", {
6
+ enumerable: true,
7
+ get: function() {
8
+ return useTimePicker_unstable;
9
+ }
10
+ });
11
+ const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard");
12
+ const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react"));
13
+ const _reactutilities = require("@fluentui/react-utilities");
14
+ const _keyboardkeys = require("@fluentui/keyboard-keys");
15
+ const _reactcombobox = require("@fluentui/react-combobox");
16
+ const _reactfield = require("@fluentui/react-field");
17
+ const _timeMath = require("./timeMath");
18
+ const useTimePicker_unstable = (props, ref)=>{
19
+ var _baseState_clearIcon;
20
+ const { dateAnchor: dateAnchorInProps, defaultSelectedTime: defaultSelectedTimeInProps, endHour = 24, formatDateToTimeString = _timeMath.formatDateToTimeString, hourCycle, increment = 30, onTimeChange, selectedTime: selectedTimeInProps, showSeconds = false, startHour = 0, parseTimeStringToDate: parseTimeStringToDateInProps, ...rest } = props;
21
+ const { freeform = false } = rest;
22
+ var _ref;
23
+ const { dateStartAnchor, dateEndAnchor } = useStableDateAnchor((_ref = dateAnchorInProps !== null && dateAnchorInProps !== void 0 ? dateAnchorInProps : selectedTimeInProps) !== null && _ref !== void 0 ? _ref : defaultSelectedTimeInProps, startHour, endHour);
24
+ const options = _react.useMemo(()=>(0, _timeMath.getTimesBetween)(dateStartAnchor, dateEndAnchor, increment).map((time)=>({
25
+ date: time,
26
+ key: (0, _timeMath.dateToKey)(time),
27
+ text: formatDateToTimeString(time, {
28
+ showSeconds,
29
+ hourCycle
30
+ })
31
+ })), [
32
+ dateEndAnchor,
33
+ dateStartAnchor,
34
+ formatDateToTimeString,
35
+ hourCycle,
36
+ increment,
37
+ showSeconds
38
+ ]);
39
+ const [selectedTime, setSelectedTime] = (0, _reactutilities.useControllableState)({
40
+ state: selectedTimeInProps,
41
+ defaultState: defaultSelectedTimeInProps,
42
+ initialState: null
43
+ });
44
+ const [submittedText, setSubmittedText] = _react.useState(undefined);
45
+ const selectTime = (0, _reactutilities.useEventCallback)((e, data)=>{
46
+ setSelectedTime(data.selectedTime);
47
+ setSubmittedText(data.selectedTimeText);
48
+ onTimeChange === null || onTimeChange === void 0 ? void 0 : onTimeChange(e, data);
49
+ });
50
+ const selectedOptions = _react.useMemo(()=>{
51
+ const selectedTimeKey = (0, _timeMath.dateToKey)(selectedTime);
52
+ const selectedOption = options.find((date)=>date.key === selectedTimeKey);
53
+ return selectedOption ? [
54
+ selectedOption.key
55
+ ] : [];
56
+ }, [
57
+ options,
58
+ selectedTime
59
+ ]);
60
+ const clearIconRef = _react.useRef(null);
61
+ const handleOptionSelect = (0, _reactutilities.useEventCallback)((e, data)=>{
62
+ if (freeform && data.optionValue === undefined && !(rest.clearable && e.type === 'click' && e.currentTarget === clearIconRef.current)) {
63
+ // Combobox clears selection when input value not matching any option; but we allow this case in freeform TimePicker.
64
+ return;
65
+ }
66
+ var _data_optionValue;
67
+ const timeSelectionData = {
68
+ selectedTime: (0, _timeMath.keyToDate)((_data_optionValue = data.optionValue) !== null && _data_optionValue !== void 0 ? _data_optionValue : ''),
69
+ selectedTimeText: data.optionText,
70
+ errorType: undefined
71
+ };
72
+ selectTime(e, timeSelectionData);
73
+ });
74
+ const baseState = (0, _reactcombobox.useCombobox_unstable)({
75
+ autoComplete: 'off',
76
+ ...rest,
77
+ selectedOptions,
78
+ onOptionSelect: handleOptionSelect,
79
+ children: options.map((date)=>/*#__PURE__*/ _react.createElement(_reactcombobox.Option, {
80
+ key: date.key,
81
+ value: date.key
82
+ }, date.text))
83
+ }, ref);
84
+ const defaultParseTimeStringToDate = _react.useCallback((time)=>(0, _timeMath.getDateFromTimeString)(time, dateStartAnchor, dateEndAnchor, {
85
+ hourCycle,
86
+ showSeconds
87
+ }), [
88
+ dateEndAnchor,
89
+ dateStartAnchor,
90
+ hourCycle,
91
+ showSeconds
92
+ ]);
93
+ const mergedClearIconRef = (0, _reactutilities.useMergedRefs)((_baseState_clearIcon = baseState.clearIcon) === null || _baseState_clearIcon === void 0 ? void 0 : _baseState_clearIcon.ref, clearIconRef);
94
+ const state = {
95
+ ...baseState,
96
+ clearIcon: baseState.clearIcon ? {
97
+ ...baseState.clearIcon,
98
+ ref: mergedClearIconRef
99
+ } : undefined,
100
+ freeform,
101
+ parseTimeStringToDate: parseTimeStringToDateInProps !== null && parseTimeStringToDateInProps !== void 0 ? parseTimeStringToDateInProps : defaultParseTimeStringToDate,
102
+ submittedText
103
+ };
104
+ useDefaultChevronIconLabel(state);
105
+ useSelectTimeFromValue(state, selectTime);
106
+ return state;
107
+ };
108
+ /**
109
+ * Provides stable start and end date anchors based on the provided date and time parameters.
110
+ * The hook ensures that the memoization remains consistent even if new Date objects representing the same date are provided.
111
+ */ const useStableDateAnchor = (providedDate, startHour, endHour)=>{
112
+ const [fallbackDateAnchor] = _react.useState(()=>new Date());
113
+ const providedDateKey = (0, _timeMath.dateToKey)(providedDate !== null && providedDate !== void 0 ? providedDate : null);
114
+ return _react.useMemo(()=>{
115
+ const dateAnchor = providedDate !== null && providedDate !== void 0 ? providedDate : fallbackDateAnchor;
116
+ const dateStartAnchor = (0, _timeMath.getDateStartAnchor)(dateAnchor, startHour);
117
+ const dateEndAnchor = (0, _timeMath.getDateEndAnchor)(dateAnchor, startHour, endHour);
118
+ return {
119
+ dateStartAnchor,
120
+ dateEndAnchor
121
+ };
122
+ // `providedDate`'s stable key representation is used as dependency instead of the Date object. This ensures that the memoization remains stable when a new Date object representing the same date is passed in.
123
+ // eslint-disable-next-line react-hooks/exhaustive-deps
124
+ }, [
125
+ endHour,
126
+ fallbackDateAnchor,
127
+ providedDateKey,
128
+ startHour
129
+ ]);
130
+ };
131
+ /**
132
+ * Mimics the behavior of the browser's change event for a freeform TimePicker.
133
+ * The provided callback is called when input changed and:
134
+ * - Enter/Tab key is pressed on the input.
135
+ * - TimePicker loses focus, signifying a possible change.
136
+ */ const useSelectTimeFromValue = (state, callback)=>{
137
+ const { getOptionById, freeform, parseTimeStringToDate, submittedText, value, activeDescendantController } = state;
138
+ const getActiveOption = _react.useCallback(()=>{
139
+ const activeOptionId = activeDescendantController.active();
140
+ return activeOptionId ? getOptionById(activeOptionId) : null;
141
+ }, [
142
+ activeDescendantController,
143
+ getOptionById
144
+ ]);
145
+ // Base Combobox has activeOption default to first option in dropdown even if it doesn't match input value, and Enter key will select it.
146
+ // This effect ensures that the activeOption is cleared when the input doesn't match any option.
147
+ // This behavior is specific to a freeform TimePicker where the input value is treated as a valid time even if it's not in the dropdown.
148
+ _react.useEffect(()=>{
149
+ if (freeform && value) {
150
+ const activeOption = getActiveOption();
151
+ if (!activeOption) {
152
+ return;
153
+ }
154
+ const valueMatchesActiveOption = activeOption.text.toLowerCase().indexOf(value.toLowerCase()) === 0;
155
+ if (!valueMatchesActiveOption) {
156
+ activeDescendantController.blur();
157
+ }
158
+ }
159
+ }, [
160
+ freeform,
161
+ value,
162
+ activeDescendantController,
163
+ getActiveOption
164
+ ]);
165
+ const selectTimeFromValue = (0, _reactutilities.useEventCallback)((e)=>{
166
+ if (!freeform) {
167
+ return;
168
+ }
169
+ const { date: selectedTime, errorType } = parseTimeStringToDate(value);
170
+ // Only triggers callback when the text in input has changed.
171
+ if (submittedText !== value) {
172
+ callback === null || callback === void 0 ? void 0 : callback(e, {
173
+ selectedTime,
174
+ selectedTimeText: value,
175
+ errorType
176
+ });
177
+ }
178
+ });
179
+ const handleKeyDown = (0, _reactutilities.useEventCallback)((e)=>{
180
+ const activeOption = getActiveOption();
181
+ if (!activeOption && e.key === _keyboardkeys.Enter) {
182
+ selectTimeFromValue(e);
183
+ }
184
+ });
185
+ state.root.onKeyDown = (0, _reactutilities.mergeCallbacks)(handleKeyDown, state.root.onKeyDown);
186
+ const rootRef = _react.useRef(null);
187
+ state.root.ref = (0, _reactutilities.useMergedRefs)(state.root.ref, rootRef);
188
+ if (state.listbox) {
189
+ state.listbox.tabIndex = -1; // allows it to be the relatedTarget of a blur event.
190
+ }
191
+ if (state.expandIcon) {
192
+ state.expandIcon.tabIndex = -1; // allows it to be the relatedTarget of a blur event.
193
+ }
194
+ const handleInputBlur = (0, _reactutilities.useEventCallback)((e)=>{
195
+ const isOutside = e.relatedTarget ? !(0, _reactutilities.elementContains)(rootRef.current, e.relatedTarget) : true;
196
+ if (isOutside) {
197
+ selectTimeFromValue(e);
198
+ }
199
+ });
200
+ state.input.onBlur = (0, _reactutilities.mergeCallbacks)(handleInputBlur, state.input.onBlur);
201
+ };
202
+ /**
203
+ * Provides a default aria-labelledby for the chevron icon if the TimePicker is wrapped in a Field.
204
+ */ const useDefaultChevronIconLabel = (state)=>{
205
+ var _state_expandIcon;
206
+ const fieldContext = (0, _reactfield.useFieldContext_unstable)();
207
+ const chevronDefaultId = (0, _reactutilities.useId)('timepicker-chevron-');
208
+ const defaultLabelFromCombobox = 'Open';
209
+ if ((fieldContext === null || fieldContext === void 0 ? void 0 : fieldContext.labelId) && ((_state_expandIcon = state.expandIcon) === null || _state_expandIcon === void 0 ? void 0 : _state_expandIcon['aria-label']) === defaultLabelFromCombobox) {
210
+ var _state_expandIcon_id;
211
+ const chevronId = (_state_expandIcon_id = state.expandIcon.id) !== null && _state_expandIcon_id !== void 0 ? _state_expandIcon_id : chevronDefaultId;
212
+ state.expandIcon['aria-labelledby'] = `${chevronId} ${fieldContext.labelId}`;
213
+ }
214
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/TimePicker/useTimePicker.tsx"],"sourcesContent":["import * as React from 'react';\nimport {\n elementContains,\n mergeCallbacks,\n useControllableState,\n useEventCallback,\n useId,\n useMergedRefs,\n} from '@fluentui/react-utilities';\nimport { Enter } from '@fluentui/keyboard-keys';\nimport type { Hour, TimePickerOption, TimePickerProps, TimePickerState, TimeSelectionData } from './TimePicker.types';\nimport { ComboboxProps, useCombobox_unstable, Option } from '@fluentui/react-combobox';\nimport { useFieldContext_unstable as useFieldContext } from '@fluentui/react-field';\nimport {\n dateToKey,\n keyToDate,\n formatDateToTimeString as defaultFormatDateToTimeString,\n getDateStartAnchor,\n getDateEndAnchor,\n getTimesBetween,\n getDateFromTimeString,\n} from './timeMath';\n\n/**\n * Create the state required to render TimePicker.\n *\n * The returned state can be modified with hooks such as useTimePickerStyles_unstable,\n * before being passed to renderTimePicker_unstable.\n *\n * @param props - props from this instance of TimePicker\n * @param ref - reference to root HTMLElement of TimePicker\n */\nexport const useTimePicker_unstable = (props: TimePickerProps, ref: React.Ref<HTMLInputElement>): TimePickerState => {\n const {\n dateAnchor: dateAnchorInProps,\n defaultSelectedTime: defaultSelectedTimeInProps,\n endHour = 24,\n formatDateToTimeString = defaultFormatDateToTimeString,\n hourCycle,\n increment = 30,\n onTimeChange,\n selectedTime: selectedTimeInProps,\n showSeconds = false,\n startHour = 0,\n parseTimeStringToDate: parseTimeStringToDateInProps,\n ...rest\n } = props;\n const { freeform = false } = rest;\n\n const { dateStartAnchor, dateEndAnchor } = useStableDateAnchor(\n dateAnchorInProps ?? selectedTimeInProps ?? defaultSelectedTimeInProps,\n startHour,\n endHour,\n );\n\n const options: TimePickerOption[] = React.useMemo(\n () =>\n getTimesBetween(dateStartAnchor, dateEndAnchor, increment).map(time => ({\n date: time,\n key: dateToKey(time),\n text: formatDateToTimeString(time, { showSeconds, hourCycle }),\n })),\n [dateEndAnchor, dateStartAnchor, formatDateToTimeString, hourCycle, increment, showSeconds],\n );\n\n const [selectedTime, setSelectedTime] = useControllableState<Date | null>({\n state: selectedTimeInProps,\n defaultState: defaultSelectedTimeInProps,\n initialState: null,\n });\n\n const [submittedText, setSubmittedText] = React.useState<string | undefined>(undefined);\n\n const selectTime: TimePickerProps['onTimeChange'] = useEventCallback((e, data) => {\n setSelectedTime(data.selectedTime);\n setSubmittedText(data.selectedTimeText);\n onTimeChange?.(e, data);\n });\n\n const selectedOptions = React.useMemo(() => {\n const selectedTimeKey = dateToKey(selectedTime);\n const selectedOption = options.find(date => date.key === selectedTimeKey);\n return selectedOption ? [selectedOption.key] : [];\n }, [options, selectedTime]);\n\n const clearIconRef = React.useRef<HTMLSpanElement>(null);\n const handleOptionSelect: ComboboxProps['onOptionSelect'] = useEventCallback((e, data) => {\n if (\n freeform &&\n data.optionValue === undefined &&\n !(rest.clearable && e.type === 'click' && e.currentTarget === clearIconRef.current)\n ) {\n // Combobox clears selection when input value not matching any option; but we allow this case in freeform TimePicker.\n return;\n }\n const timeSelectionData: TimeSelectionData = {\n selectedTime: keyToDate(data.optionValue ?? ''),\n selectedTimeText: data.optionText,\n errorType: undefined,\n };\n selectTime(e, timeSelectionData);\n });\n\n const baseState = useCombobox_unstable(\n {\n autoComplete: 'off',\n ...rest,\n selectedOptions,\n onOptionSelect: handleOptionSelect,\n children: options.map(date => (\n <Option key={date.key} value={date.key}>\n {date.text}\n </Option>\n )),\n },\n ref,\n );\n\n const defaultParseTimeStringToDate = React.useCallback(\n (time: string | undefined) =>\n getDateFromTimeString(time, dateStartAnchor, dateEndAnchor, { hourCycle, showSeconds }),\n [dateEndAnchor, dateStartAnchor, hourCycle, showSeconds],\n );\n\n const mergedClearIconRef = useMergedRefs(baseState.clearIcon?.ref, clearIconRef);\n const state: TimePickerState = {\n ...baseState,\n clearIcon: baseState.clearIcon\n ? {\n ...baseState.clearIcon,\n ref: mergedClearIconRef,\n }\n : undefined,\n freeform,\n parseTimeStringToDate: parseTimeStringToDateInProps ?? defaultParseTimeStringToDate,\n submittedText,\n };\n\n useDefaultChevronIconLabel(state);\n useSelectTimeFromValue(state, selectTime);\n\n return state;\n};\n\n/**\n * Provides stable start and end date anchors based on the provided date and time parameters.\n * The hook ensures that the memoization remains consistent even if new Date objects representing the same date are provided.\n */\nconst useStableDateAnchor = (providedDate: Date | undefined, startHour: Hour, endHour: Hour) => {\n const [fallbackDateAnchor] = React.useState(() => new Date());\n\n const providedDateKey = dateToKey(providedDate ?? null);\n\n return React.useMemo(() => {\n const dateAnchor = providedDate ?? fallbackDateAnchor;\n\n const dateStartAnchor = getDateStartAnchor(dateAnchor, startHour);\n const dateEndAnchor = getDateEndAnchor(dateAnchor, startHour, endHour);\n\n return { dateStartAnchor, dateEndAnchor };\n // `providedDate`'s stable key representation is used as dependency instead of the Date object. This ensures that the memoization remains stable when a new Date object representing the same date is passed in.\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [endHour, fallbackDateAnchor, providedDateKey, startHour]);\n};\n\n/**\n * Mimics the behavior of the browser's change event for a freeform TimePicker.\n * The provided callback is called when input changed and:\n * - Enter/Tab key is pressed on the input.\n * - TimePicker loses focus, signifying a possible change.\n */\nconst useSelectTimeFromValue = (state: TimePickerState, callback: TimePickerProps['onTimeChange']) => {\n const { getOptionById, freeform, parseTimeStringToDate, submittedText, value, activeDescendantController } = state;\n const getActiveOption = React.useCallback(() => {\n const activeOptionId = activeDescendantController.active();\n return activeOptionId ? getOptionById(activeOptionId) : null;\n }, [activeDescendantController, getOptionById]);\n\n // Base Combobox has activeOption default to first option in dropdown even if it doesn't match input value, and Enter key will select it.\n // This effect ensures that the activeOption is cleared when the input doesn't match any option.\n // This behavior is specific to a freeform TimePicker where the input value is treated as a valid time even if it's not in the dropdown.\n React.useEffect(() => {\n if (freeform && value) {\n const activeOption = getActiveOption();\n if (!activeOption) {\n return;\n }\n\n const valueMatchesActiveOption = activeOption.text.toLowerCase().indexOf(value.toLowerCase()) === 0;\n if (!valueMatchesActiveOption) {\n activeDescendantController.blur();\n }\n }\n }, [freeform, value, activeDescendantController, getActiveOption]);\n\n const selectTimeFromValue = useEventCallback(\n (e: React.KeyboardEvent<HTMLInputElement> | React.FocusEvent<HTMLInputElement>) => {\n if (!freeform) {\n return;\n }\n\n const { date: selectedTime, errorType } = parseTimeStringToDate(value);\n\n // Only triggers callback when the text in input has changed.\n if (submittedText !== value) {\n callback?.(e, { selectedTime, selectedTimeText: value, errorType });\n }\n },\n );\n\n const handleKeyDown: ComboboxProps['onKeyDown'] = useEventCallback(e => {\n const activeOption = getActiveOption();\n if (!activeOption && e.key === Enter) {\n selectTimeFromValue(e);\n }\n });\n state.root.onKeyDown = mergeCallbacks(handleKeyDown, state.root.onKeyDown);\n\n const rootRef = React.useRef<HTMLDivElement>(null);\n state.root.ref = useMergedRefs(state.root.ref, rootRef);\n\n if (state.listbox) {\n state.listbox.tabIndex = -1; // allows it to be the relatedTarget of a blur event.\n }\n\n if (state.expandIcon) {\n state.expandIcon.tabIndex = -1; // allows it to be the relatedTarget of a blur event.\n }\n\n const handleInputBlur = useEventCallback((e: React.FocusEvent<HTMLInputElement>) => {\n const isOutside = e.relatedTarget ? !elementContains(rootRef.current, e.relatedTarget) : true;\n if (isOutside) {\n selectTimeFromValue(e);\n }\n });\n state.input.onBlur = mergeCallbacks(handleInputBlur, state.input.onBlur);\n};\n\n/**\n * Provides a default aria-labelledby for the chevron icon if the TimePicker is wrapped in a Field.\n */\nconst useDefaultChevronIconLabel = (state: TimePickerState) => {\n const fieldContext = useFieldContext();\n const chevronDefaultId = useId('timepicker-chevron-');\n const defaultLabelFromCombobox = 'Open';\n\n if (fieldContext?.labelId && state.expandIcon?.['aria-label'] === defaultLabelFromCombobox) {\n const chevronId = state.expandIcon.id ?? chevronDefaultId;\n state.expandIcon['aria-labelledby'] = `${chevronId} ${fieldContext.labelId}`;\n }\n};\n"],"names":["useTimePicker_unstable","props","ref","baseState","dateAnchor","dateAnchorInProps","defaultSelectedTime","defaultSelectedTimeInProps","endHour","formatDateToTimeString","defaultFormatDateToTimeString","hourCycle","increment","onTimeChange","selectedTime","selectedTimeInProps","showSeconds","startHour","parseTimeStringToDate","parseTimeStringToDateInProps","rest","freeform","dateStartAnchor","dateEndAnchor","useStableDateAnchor","options","React","useMemo","getTimesBetween","map","time","date","key","dateToKey","text","setSelectedTime","useControllableState","state","defaultState","initialState","submittedText","setSubmittedText","useState","undefined","selectTime","useEventCallback","e","data","selectedTimeText","selectedOptions","selectedTimeKey","selectedOption","find","clearIconRef","useRef","handleOptionSelect","optionValue","clearable","type","currentTarget","current","timeSelectionData","keyToDate","optionText","errorType","useCombobox_unstable","autoComplete","onOptionSelect","children","createElement","Option","value","defaultParseTimeStringToDate","useCallback","getDateFromTimeString","mergedClearIconRef","useMergedRefs","clearIcon","useDefaultChevronIconLabel","useSelectTimeFromValue","providedDate","fallbackDateAnchor","Date","providedDateKey","getDateStartAnchor","getDateEndAnchor","callback","getOptionById","activeDescendantController","getActiveOption","activeOptionId","active","useEffect","activeOption","valueMatchesActiveOption","toLowerCase","indexOf","blur","selectTimeFromValue","handleKeyDown","Enter","root","onKeyDown","mergeCallbacks","rootRef","listbox","tabIndex","expandIcon","handleInputBlur","isOutside","relatedTarget","elementContains","input","onBlur","fieldContext","useFieldContext","chevronDefaultId","useId","defaultLabelFromCombobox","labelId","chevronId","id"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;+BAgCaA;;;eAAAA;;;;iEAhCU;gCAQhB;8BACe;+BAEsC;4BACA;0BASrD;AAWA,MAAMA,yBAAyB,CAACC,OAAwBC;QA4FpBC;IA3FzC,MAAM,EACJC,YAAYC,iBAAiB,EAC7BC,qBAAqBC,0BAA0B,EAC/CC,UAAU,EAAE,EACZC,yBAAyBC,gCAA6B,EACtDC,SAAS,EACTC,YAAY,EAAE,EACdC,YAAY,EACZC,cAAcC,mBAAmB,EACjCC,cAAc,KAAK,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AACD,QAAQ,GAAG,CAAC,GAAG,qDAAqD;IACvF;IAEA,MAAME,kBAAkB/D,IAAAA,gCAAAA,EAAiB,CAACC;QACxC,MAAM+D,YAAY/D,EAAEgE,aAAa,GAAG,CAACC,IAAAA,+BAAAA,EAAgBP,QAAQ5C,OAAO,EAAEd,EAAEgE,aAAa,IAAI;QACzF,IAAID,WAAW;YACbX,oBAAoBpD;QACtB;IACF;IACAT,MAAM2E,KAAK,CAACC,MAAM,GAAGV,IAAAA,8BAAAA,EAAeK,iBAAiBvE,MAAM2E,KAAK,CAACC,MAAM;AACzE;AAEA;;CAEC,GACD,MAAMnC,6BAA6B,CAACzC;QAKLA;IAJ7B,MAAM6E,eAAeC,IAAAA,oCAAAA;IACrB,MAAMC,mBAAmBC,IAAAA,qBAAAA,EAAM;IAC/B,MAAMC,2BAA2B;IAEjC,IAAIJ,CAAAA,iBAAAA,QAAAA,iBAAAA,KAAAA,IAAAA,KAAAA,IAAAA,aAAcK,OAAO,AAAPA,KAAWlF,CAAAA,CAAAA,oBAAAA,MAAMsE,UAAU,AAAVA,MAAU,QAAhBtE,sBAAAA,KAAAA,IAAAA,KAAAA,IAAAA,iBAAkB,CAAC,aAAa,AAAb,MAAkBiF,0BAA0B;YACxEjF;QAAlB,MAAMmF,YAAYnF,CAAAA,uBAAAA,MAAMsE,UAAU,CAACc,EAAE,AAAFA,MAAE,QAAnBpF,yBAAAA,KAAAA,IAAAA,uBAAuB+E;QACzC/E,MAAMsE,UAAU,CAAC,kBAAkB,GAAG,CAAC,EAAEa,UAAU,CAAC,EAAEN,aAAaK,OAAO,CAAC,CAAC;IAC9E;AACF"}
@@ -0,0 +1,53 @@
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: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ timePickerClassNames: function() {
13
+ return timePickerClassNames;
14
+ },
15
+ useTimePickerStyles_unstable: function() {
16
+ return useTimePickerStyles_unstable;
17
+ }
18
+ });
19
+ const _react = require("@griffel/react");
20
+ const _reactcombobox = require("@fluentui/react-combobox");
21
+ const timePickerClassNames = {
22
+ root: 'fui-TimePicker',
23
+ input: 'fui-TimePicker__input',
24
+ expandIcon: 'fui-TimePicker__expandIcon',
25
+ clearIcon: 'fui-TimePicker__clearIcon',
26
+ listbox: 'fui-TimePicker__listbox'
27
+ };
28
+ const useStyles = /*#__PURE__*/ (0, _react.__styles)({
29
+ listbox: {
30
+ Bxyxcbc: "f1vfnyiv"
31
+ }
32
+ }, {
33
+ d: [
34
+ ".f1vfnyiv{max-height:min(80vh, 416px);}"
35
+ ]
36
+ });
37
+ const useTimePickerStyles_unstable = (state)=>{
38
+ 'use no memo';
39
+ const styles = useStyles();
40
+ state.root.className = (0, _react.mergeClasses)(timePickerClassNames.root, state.root.className);
41
+ state.input.className = (0, _react.mergeClasses)(timePickerClassNames.input, state.input.className);
42
+ if (state.expandIcon) {
43
+ state.expandIcon.className = (0, _react.mergeClasses)(timePickerClassNames.expandIcon, state.expandIcon.className);
44
+ }
45
+ if (state.clearIcon) {
46
+ state.clearIcon.className = (0, _react.mergeClasses)(timePickerClassNames.clearIcon, state.clearIcon.className);
47
+ }
48
+ if (state.listbox) {
49
+ state.listbox.className = (0, _react.mergeClasses)(timePickerClassNames.listbox, styles.listbox, state.listbox.className);
50
+ }
51
+ (0, _reactcombobox.useComboboxStyles_unstable)(state);
52
+ return state;
53
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["useTimePickerStyles.styles.js"],"sourcesContent":["import { makeStyles, mergeClasses } from '@griffel/react';\nimport { useComboboxStyles_unstable } from '@fluentui/react-combobox';\nexport const timePickerClassNames = {\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};\nconst useStyles = makeStyles({\n listbox: {\n maxHeight: 'min(80vh, 416px)'\n }\n});\n/**\n * Apply styling to the TimePicker slots based on the state\n */ export const useTimePickerStyles_unstable = (state)=>{\n 'use no memo';\n const styles = useStyles();\n state.root.className = mergeClasses(timePickerClassNames.root, state.root.className);\n state.input.className = mergeClasses(timePickerClassNames.input, state.input.className);\n if (state.expandIcon) {\n state.expandIcon.className = mergeClasses(timePickerClassNames.expandIcon, state.expandIcon.className);\n }\n if (state.clearIcon) {\n state.clearIcon.className = mergeClasses(timePickerClassNames.clearIcon, state.clearIcon.className);\n }\n if (state.listbox) {\n state.listbox.className = mergeClasses(timePickerClassNames.listbox, styles.listbox, state.listbox.className);\n }\n useComboboxStyles_unstable(state);\n return state;\n};\n"],"names":["timePickerClassNames","useTimePickerStyles_unstable","root","input","expandIcon","clearIcon","listbox","useStyles","__styles","Bxyxcbc","d","state","styles","className","mergeClasses","useComboboxStyles_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAEaA,oBAAoB;eAApBA;;IAcIC,4BAA4B;eAA5BA;;;uBAhBwB;+BACE;AACpC,MAAMD,uBAAuB;IAChCE,MAAM;IACNC,OAAO;IACPC,YAAY;IACZC,WAAW;IACXC,SAAS;AACb;AACA,MAAMC,YAAS,WAAA,GAAGC,IAAAA,eAAA,EAAA;IAAAF,SAAA;QAAAG,SAAA;IAAA;AAAA,GAAA;IAAAC,GAAA;QAAA;KAAA;AAAA;AAOP,MAAMT,+BAAgCU,CAAAA;IAC7C;IACA,MAAMC,SAASL;IACfI,MAAMT,IAAI,CAACW,SAAS,GAAGC,IAAAA,mBAAY,EAACd,qBAAqBE,IAAI,EAAES,MAAMT,IAAI,CAACW,SAAS;IACnFF,MAAMR,KAAK,CAACU,SAAS,GAAGC,IAAAA,mBAAY,EAACd,qBAAqBG,KAAK,EAAEQ,MAAMR,KAAK,CAACU,SAAS;IACtF,IAAIF,MAAMP,UAAU,EAAE;QAClBO,MAAMP,UAAU,CAACS,SAAS,GAAGC,IAAAA,mBAAY,EAACd,qBAAqBI,UAAU,EAAEO,MAAMP,UAAU,CAACS,SAAS;IACzG;IACA,IAAIF,MAAMN,SAAS,EAAE;QACjBM,MAAMN,SAAS,CAACQ,SAAS,GAAGC,IAAAA,mBAAY,EAACd,qBAAqBK,SAAS,EAAEM,MAAMN,SAAS,CAACQ,SAAS;IACtG;IACA,IAAIF,MAAML,OAAO,EAAE;QACfK,MAAML,OAAO,CAACO,SAAS,GAAGC,IAAAA,mBAAY,EAACd,qBAAqBM,OAAO,EAAEM,OAAON,OAAO,EAAEK,MAAML,OAAO,CAACO,SAAS;IAChH;IACAE,IAAAA,yCAA0B,EAACJ;IAC3B,OAAOA;AACX"}
@@ -0,0 +1,28 @@
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: all[name]
9
+ });
10
+ }
11
+ _export(exports, {
12
+ TimePicker: function() {
13
+ return _TimePicker.TimePicker;
14
+ },
15
+ formatDateToTimeString: function() {
16
+ return _TimePicker.formatDateToTimeString;
17
+ },
18
+ timePickerClassNames: function() {
19
+ return _TimePicker.timePickerClassNames;
20
+ },
21
+ useTimePickerStyles_unstable: function() {
22
+ return _TimePicker.useTimePickerStyles_unstable;
23
+ },
24
+ useTimePicker_unstable: function() {
25
+ return _TimePicker.useTimePicker_unstable;
26
+ }
27
+ });
28
+ const _TimePicker = require("./TimePicker");
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["export {\n TimePicker,\n timePickerClassNames,\n useTimePickerStyles_unstable,\n useTimePicker_unstable,\n formatDateToTimeString,\n} from './TimePicker';\nexport type {\n TimePickerProps,\n TimePickerSlots,\n TimePickerState,\n TimeSelectionData,\n TimeSelectionEvents,\n TimePickerErrorType,\n} from './TimePicker';\n"],"names":["TimePicker","formatDateToTimeString","timePickerClassNames","useTimePickerStyles_unstable","useTimePicker_unstable"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IACEA,UAAU;eAAVA,sBAAU;;IAIVC,sBAAsB;eAAtBA,kCAAsB;;IAHtBC,oBAAoB;eAApBA,gCAAoB;;IACpBC,4BAA4B;eAA5BA,wCAA4B;;IAC5BC,sBAAsB;eAAtBA,kCAAsB;;;4BAEjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluentui/react-timepicker-compat",
3
- "version": "0.0.0-nightly-20250423-0405.1",
3
+ "version": "0.0.0-nightly-20250423-1415.1",
4
4
  "description": "Fluent UI TimePicker Compat Component",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
@@ -18,22 +18,22 @@
18
18
  },
19
19
  "license": "MIT",
20
20
  "devDependencies": {
21
- "@fluentui/react-provider": "0.0.0-nightly-20250423-0405.1",
22
- "@fluentui/react-components": "0.0.0-nightly-20250423-0405.1",
21
+ "@fluentui/react-provider": "0.0.0-nightly-20250423-1415.1",
22
+ "@fluentui/react-components": "0.0.0-nightly-20250423-1415.1",
23
23
  "@fluentui/eslint-plugin": "*",
24
- "@fluentui/react-conformance": "0.0.0-nightly-20250423-0405.1",
25
- "@fluentui/react-conformance-griffel": "0.0.0-nightly-20250423-0405.1",
24
+ "@fluentui/react-conformance": "0.0.0-nightly-20250423-1415.1",
25
+ "@fluentui/react-conformance-griffel": "0.0.0-nightly-20250423-1415.1",
26
26
  "@fluentui/scripts-api-extractor": "*",
27
27
  "@fluentui/scripts-cypress": "*"
28
28
  },
29
29
  "dependencies": {
30
- "@fluentui/keyboard-keys": "0.0.0-nightly-20250423-0405.1",
31
- "@fluentui/react-combobox": "0.0.0-nightly-20250423-0405.1",
32
- "@fluentui/react-field": "0.0.0-nightly-20250423-0405.1",
33
- "@fluentui/react-jsx-runtime": "0.0.0-nightly-20250423-0405.1",
34
- "@fluentui/react-shared-contexts": "0.0.0-nightly-20250423-0405.1",
35
- "@fluentui/react-theme": "0.0.0-nightly-20250423-0405.1",
36
- "@fluentui/react-utilities": "0.0.0-nightly-20250423-0405.1",
30
+ "@fluentui/keyboard-keys": "0.0.0-nightly-20250423-1415.1",
31
+ "@fluentui/react-combobox": "0.0.0-nightly-20250423-1415.1",
32
+ "@fluentui/react-field": "0.0.0-nightly-20250423-1415.1",
33
+ "@fluentui/react-jsx-runtime": "0.0.0-nightly-20250423-1415.1",
34
+ "@fluentui/react-shared-contexts": "0.0.0-nightly-20250423-1415.1",
35
+ "@fluentui/react-theme": "0.0.0-nightly-20250423-1415.1",
36
+ "@fluentui/react-utilities": "0.0.0-nightly-20250423-1415.1",
37
37
  "@griffel/react": "^1.5.22",
38
38
  "@swc/helpers": "^0.5.1"
39
39
  },