@pushwoosh/dumb-components 1.1.235 → 1.1.236

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.
@@ -19,5 +19,3 @@ export declare function resolveTimezoneOption(timezone: string, at?: Date): Time
19
19
  export declare function listTimezones(at?: Date, include?: Array<string | null | undefined>): TimezoneOption[];
20
20
  /** Option matching a stored value: by zone name, or for a legacy numeric offset (minutes east of UTC) the first zone with that offset at `at`. */
21
21
  export declare function findTimezoneOption(options: TimezoneOption[], value: string | number | null | undefined, at?: Date): TimezoneOption | null;
22
- /** @deprecated Use `listTimezones`; kept for one release so consumers can migrate without a build break. */
23
- export declare const getSortedTimezones: typeof listTimezones;
@@ -77,6 +77,4 @@ export function findTimezoneOption(options, value, at = new Date()) {
77
77
  const offset = Number(value);
78
78
  if (!Number.isFinite(offset)) return null;
79
79
  return options.find(option => getTimezoneOffsetSafe(option.value, at) === offset) ?? null;
80
- }
81
- /** @deprecated Use `listTimezones`; kept for one release so consumers can migrate without a build break. */
82
- export const getSortedTimezones = listTimezones;
80
+ }
package/index.d.ts CHANGED
@@ -59,4 +59,4 @@ export { ApplicationPreloader, type ApplicationPreloaderProps, } from './Applica
59
59
  export { NotificationInbox, NotificationBar, NotificationBell, type Notification, type NotificationInboxProps, type NotificationSeverity, type NotificationBarType, type NotificationBarProps, type NotificationBellProps, } from './NotificationInbox';
60
60
  export { LeafletTheme } from './LeafletTheme';
61
61
  export { buildBarcodeUrl, barcodePlaceholderSafeEscape, isBarcodePlaceholder, type BarcodeSymbology, type BarcodeUrlParams, } from './helpers/barcodeUrl';
62
- export { canonicalizeTimezone, findTimezoneOption, formatTimezoneLabel, formatTimezoneOffset, getBrowserTimezone, getSortedTimezones, getTimezoneOffsetSafe, listTimezones, resolveTimezoneOption, type TimezoneOption, } from './helpers/timezones';
62
+ export { canonicalizeTimezone, findTimezoneOption, formatTimezoneLabel, formatTimezoneOffset, getBrowserTimezone, getTimezoneOffsetSafe, listTimezones, resolveTimezoneOption, type TimezoneOption, } from './helpers/timezones';
package/index.js CHANGED
@@ -57,4 +57,4 @@ export { ApplicationPreloader } from './ApplicationPreloader';
57
57
  export { NotificationInbox, NotificationBar, NotificationBell } from './NotificationInbox';
58
58
  export { LeafletTheme } from './LeafletTheme';
59
59
  export { buildBarcodeUrl, barcodePlaceholderSafeEscape, isBarcodePlaceholder } from './helpers/barcodeUrl';
60
- export { canonicalizeTimezone, findTimezoneOption, formatTimezoneLabel, formatTimezoneOffset, getBrowserTimezone, getSortedTimezones, getTimezoneOffsetSafe, listTimezones, resolveTimezoneOption } from './helpers/timezones';
60
+ export { canonicalizeTimezone, findTimezoneOption, formatTimezoneLabel, formatTimezoneOffset, getBrowserTimezone, getTimezoneOffsetSafe, listTimezones, resolveTimezoneOption } from './helpers/timezones';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/dumb-components",
3
- "version": "1.1.235",
3
+ "version": "1.1.236",
4
4
  "description": "React components to build Pushwoosh products",
5
5
  "main": "index.js",
6
6
  "module": "index.js",