@synerise/ds-time-picker 1.1.15 → 1.1.17
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
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.1.17](https://github.com/Synerise/synerise-design/compare/@synerise/ds-time-picker@1.1.16...@synerise/ds-time-picker@1.1.17) (2025-09-16)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-time-picker
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.1.16](https://github.com/Synerise/synerise-design/compare/@synerise/ds-time-picker@1.1.15...@synerise/ds-time-picker@1.1.16) (2025-08-28)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @synerise/ds-time-picker
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.1.15](https://github.com/Synerise/synerise-design/compare/@synerise/ds-time-picker@1.1.14...@synerise/ds-time-picker@1.1.15) (2025-08-14)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @synerise/ds-time-picker
|
package/dist/TimePicker.js
CHANGED
|
@@ -4,7 +4,7 @@ import customParseFormatPlugin from 'dayjs/plugin/customParseFormat';
|
|
|
4
4
|
import { range } from 'lodash';
|
|
5
5
|
import React, { Fragment, useCallback, useMemo, useState } from 'react';
|
|
6
6
|
import { FormattedMessage, useIntl } from 'react-intl';
|
|
7
|
-
import { useDataFormat } from '@synerise/ds-
|
|
7
|
+
import { useDataFormat } from '@synerise/ds-core';
|
|
8
8
|
import Icon, { ClockM, Close3S } from '@synerise/ds-icon';
|
|
9
9
|
import Tooltip from '@synerise/ds-tooltip/dist/Tooltip';
|
|
10
10
|
import * as S from './TimePicker.styles';
|
|
@@ -3,7 +3,7 @@ import { type ClockModes } from '../types/TimePicker.types';
|
|
|
3
3
|
export declare const HOUR: dayjs.UnitType;
|
|
4
4
|
export declare const MINUTE: dayjs.UnitType;
|
|
5
5
|
export declare const SECOND: dayjs.UnitType;
|
|
6
|
-
export declare const CLOCK_MODES:
|
|
6
|
+
export declare const CLOCK_MODES: ClockModes[];
|
|
7
7
|
export declare const PM: ClockModes;
|
|
8
8
|
export declare const AM: ClockModes;
|
|
9
9
|
export declare const HOUR_12 = 12;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type dayjs from 'dayjs';
|
|
2
2
|
import type { CSSProperties, ReactNode } from 'react';
|
|
3
|
-
import type { DateToFormatOptions } from '@synerise/ds-
|
|
3
|
+
import type { DateToFormatOptions } from '@synerise/ds-core';
|
|
4
4
|
import type { DropdownProps } from '@synerise/ds-dropdown';
|
|
5
5
|
import type { InputProps } from '@synerise/ds-input';
|
|
6
|
-
|
|
7
|
-
export type ClockModes = (typeof CLOCK_MODES)[number];
|
|
6
|
+
export type ClockModes = 'AM' | 'PM';
|
|
8
7
|
export type TimePickerDisabledUnits = {
|
|
9
8
|
disabledSeconds?: number[];
|
|
10
9
|
disabledMinutes?: number[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-time-picker",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.17",
|
|
4
4
|
"description": "TimePicker UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"test": "jest",
|
|
27
27
|
"test:watch": "npm run test -- --watchAll",
|
|
28
28
|
"types": "tsc --noEmit",
|
|
29
|
+
"check:circular-dependencies": "madge --circular --extensions ts,tsx,js,jsx --ts-config tsconfig.json src/ --exclude '/dist/'",
|
|
29
30
|
"upgrade:ds": "ncu -f \"@synerise/ds-*\" -u"
|
|
30
31
|
},
|
|
31
32
|
"sideEffects": [
|
|
@@ -34,14 +35,13 @@
|
|
|
34
35
|
],
|
|
35
36
|
"types": "dist/index.d.ts",
|
|
36
37
|
"dependencies": {
|
|
37
|
-
"@synerise/ds-
|
|
38
|
-
"@synerise/ds-
|
|
39
|
-
"@synerise/ds-
|
|
40
|
-
"@synerise/ds-
|
|
41
|
-
"@synerise/ds-
|
|
42
|
-
"@synerise/ds-
|
|
43
|
-
"@synerise/ds-
|
|
44
|
-
"@synerise/ds-utils": "^1.4.0",
|
|
38
|
+
"@synerise/ds-dropdown": "^1.0.22",
|
|
39
|
+
"@synerise/ds-icon": "^1.7.2",
|
|
40
|
+
"@synerise/ds-input": "^1.3.9",
|
|
41
|
+
"@synerise/ds-scrollbar": "^1.1.8",
|
|
42
|
+
"@synerise/ds-tooltip": "^1.1.18",
|
|
43
|
+
"@synerise/ds-typography": "^1.0.20",
|
|
44
|
+
"@synerise/ds-utils": "^1.4.2",
|
|
45
45
|
"dayjs": "^1.8.19",
|
|
46
46
|
"debounce": "^1.2.0",
|
|
47
47
|
"lodash": "^4.17.21"
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
54
54
|
"styled-components": "^5.3.3"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "5beb6ab5f2d77b9e98e04caab7dff20b8436078b"
|
|
57
57
|
}
|