@capillarytech/blaze-ui 5.0.6 → 5.0.7
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/.npmrc +2 -0
- package/CapCondition/messages.d.ts +85 -0
- package/CapCondition/messages.d.ts.map +1 -0
- package/CapConditionPreview/MIGRATION_ANALYSIS.md +70 -0
- package/CapConditionPreview/README.md +40 -0
- package/CapConditionPreview/constants.d.ts +24 -0
- package/CapConditionPreview/constants.d.ts.map +1 -0
- package/CapConditionPreview/index.d.ts +7 -0
- package/CapConditionPreview/index.d.ts.map +1 -0
- package/CapConditionPreview/index.js +131 -183
- package/CapConditionPreview/index.js.map +1 -1
- package/CapConditionPreview/tests/USE_CASES_CapConditionPreview.md +65 -0
- package/CapConditionPreview/types.d.ts +82 -0
- package/CapConditionPreview/types.d.ts.map +1 -0
- package/CapListLayout/index.js +193 -25
- package/CapListLayout/index.js.map +1 -1
- package/CapNavigation/index.js +6 -7
- package/CapNavigation/index.js.map +1 -1
- package/CapSteps/Status.md +40 -0
- package/CapSteps/index.d.ts +30 -0
- package/CapSteps/index.d.ts.map +1 -0
- package/CapSteps/index.js +657 -24
- package/CapSteps/index.js.map +1 -1
- package/CapSteps/types.d.ts +26 -0
- package/CapSteps/types.d.ts.map +1 -0
- package/CapTab/README.md +406 -0
- package/CapTab/Status.md +104 -0
- package/CapTab/index.d.ts +1 -27
- package/CapTab/index.d.ts.map +1 -1
- package/CapTab/index.js +56 -7
- package/CapTab/index.js.map +1 -1
- package/CapTab/tests/USE_CASE_GAPS.md +143 -0
- package/CapTab/types.d.ts +29 -0
- package/CapTab/types.d.ts.map +1 -0
- package/CapTabV3/ANALYSIS.md +60 -0
- package/CapTabV3/README.md +156 -0
- package/CapTabV3/Status.md +52 -0
- package/CapTabV3/index.d.ts +9 -0
- package/CapTabV3/index.d.ts.map +1 -0
- package/CapTabV3/index.js +105 -67
- package/CapTabV3/index.js.map +1 -1
- package/CapTabV3/tests/USE_CASE_GAPS.md +149 -0
- package/CapTabV3/types.d.ts +28 -0
- package/CapTabV3/types.d.ts.map +1 -0
- package/CapTable/README.md +160 -0
- package/CapTable/Status.md +41 -0
- package/CapTable/index.d.ts +2 -21
- package/CapTable/index.d.ts.map +1 -1
- package/CapTable/index.js +193 -25
- package/CapTable/index.js.map +1 -1
- package/CapTable/types.d.ts +46 -0
- package/CapTable/types.d.ts.map +1 -0
- package/CapTable/utils.d.ts +24 -0
- package/CapTable/utils.d.ts.map +1 -0
- package/CapTimePicker/index.js +51 -129
- package/CapTimePicker/index.js.map +1 -1
- package/CapUserProfile/index.js +6 -7
- package/CapUserProfile/index.js.map +1 -1
- package/CapVerticalGroupTable/index.js +193 -25
- package/CapVerticalGroupTable/index.js.map +1 -1
- package/index.d.ts +7 -3
- package/index.d.ts.map +1 -1
- package/index.js +1271 -233
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/utils/getCapThemeConfig.d.ts.map +1 -1
- package/utils/index.js +9 -1
- package/utils/index.js.map +1 -1
- package/.DS_Store +0 -0
- package/CapTimePicker/index.d.ts +0 -11
- package/CapTimePicker/index.d.ts.map +0 -1
- package/CapTimePicker/types.d.ts +0 -95
- package/CapTimePicker/types.d.ts.map +0 -1
package/CapTimePicker/types.d.ts
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { TimePicker } from 'antd-v5';
|
|
2
|
-
import type { Dayjs } from 'dayjs';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
export interface CapTimePickerProps extends Omit<React.ComponentProps<typeof TimePicker>, 'value' | 'defaultValue' | 'defaultOpenValue' | 'onChange' | 'popupClassName' | 'popupStyle' | 'classNames' | 'styles' | 'allowClear' | 'renderExtraFooter' | 'variant' | 'onSelect' | 'onCalendarChange'> {
|
|
5
|
-
/**
|
|
6
|
-
* Selected time value (Dayjs object)
|
|
7
|
-
*/
|
|
8
|
-
value?: Dayjs | null;
|
|
9
|
-
/**
|
|
10
|
-
* Default selected time value (Dayjs object)
|
|
11
|
-
*/
|
|
12
|
-
defaultValue?: Dayjs | null;
|
|
13
|
-
/**
|
|
14
|
-
* Default open time value (Dayjs object)
|
|
15
|
-
*/
|
|
16
|
-
defaultOpenValue?: Dayjs | null;
|
|
17
|
-
/**
|
|
18
|
-
* Callback when time changes
|
|
19
|
-
* @param time - Dayjs object or null
|
|
20
|
-
* @param timeString - Formatted time string
|
|
21
|
-
*/
|
|
22
|
-
onChange?: (time: Dayjs | null, timeString: string) => void;
|
|
23
|
-
/**
|
|
24
|
-
* Custom class names for different parts of the component (v6 API)
|
|
25
|
-
*/
|
|
26
|
-
classNames?: {
|
|
27
|
-
popup?: {
|
|
28
|
-
root?: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* Custom styles for different parts of the component (v6 API)
|
|
33
|
-
*/
|
|
34
|
-
styles?: {
|
|
35
|
-
popup?: {
|
|
36
|
-
root?: React.CSSProperties;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Whether to show clear button
|
|
41
|
-
*/
|
|
42
|
-
allowClear?: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Render extra footer in time picker panel
|
|
45
|
-
*/
|
|
46
|
-
renderExtraFooter?: () => React.ReactNode;
|
|
47
|
-
/**
|
|
48
|
-
* Variant of the time picker
|
|
49
|
-
*/
|
|
50
|
-
variant?: 'outlined' | 'borderless' | 'filled';
|
|
51
|
-
/**
|
|
52
|
-
* Callback when calendar value changes (for RangePicker)
|
|
53
|
-
* For single TimePicker: (time: Dayjs | null, timeString: string) => void
|
|
54
|
-
* For RangePicker: (times: [Dayjs | null, Dayjs | null] | null, timeStrings: [string, string] | null) => void
|
|
55
|
-
*/
|
|
56
|
-
onCalendarChange?: ((time: Dayjs | null, timeString: string) => void) | ((times: [Dayjs | null, Dayjs | null] | null, timeStrings: [string, string] | null) => void);
|
|
57
|
-
/**
|
|
58
|
-
* Custom class name for the popup/dropdown
|
|
59
|
-
* @deprecated Use `classNames.popup.root` instead. Will be removed in v7.
|
|
60
|
-
*/
|
|
61
|
-
popupClassName?: string;
|
|
62
|
-
/**
|
|
63
|
-
* Custom style for the popup/dropdown
|
|
64
|
-
* @deprecated Use `styles.popup.root` instead. Will be removed in v7.
|
|
65
|
-
*/
|
|
66
|
-
popupStyle?: React.CSSProperties;
|
|
67
|
-
/**
|
|
68
|
-
* Custom class name for the popup/dropdown
|
|
69
|
-
* @deprecated Use `popupClassName` instead. Will be removed in next major version.
|
|
70
|
-
*/
|
|
71
|
-
dropdownClassName?: string;
|
|
72
|
-
/**
|
|
73
|
-
* Whether to allow empty value
|
|
74
|
-
* @deprecated Use `allowClear` instead. Will be removed in v7.
|
|
75
|
-
*/
|
|
76
|
-
allowEmpty?: boolean;
|
|
77
|
-
/**
|
|
78
|
-
* Addon rendered to bottom of panel
|
|
79
|
-
* @deprecated Use `renderExtraFooter` instead. Will be removed in v7.
|
|
80
|
-
*/
|
|
81
|
-
addon?: () => React.ReactNode;
|
|
82
|
-
/**
|
|
83
|
-
* Whether has border style
|
|
84
|
-
* @deprecated Use `variant` instead. Will be removed in v7.
|
|
85
|
-
*/
|
|
86
|
-
bordered?: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* Callback when a value is selected (for RangePicker)
|
|
89
|
-
* @deprecated Use `onCalendarChange` instead. Will be removed in v7.
|
|
90
|
-
* For single TimePicker: (time: Dayjs | null, timeString: string) => void
|
|
91
|
-
* For RangePicker: (times: [Dayjs | null, Dayjs | null] | null, timeStrings: [string, string] | null) => void
|
|
92
|
-
*/
|
|
93
|
-
onSelect?: ((time: Dayjs | null, timeString: string) => void) | ((times: [Dayjs | null, Dayjs | null] | null, timeStrings: [string, string] | null) => void);
|
|
94
|
-
}
|
|
95
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../components/CapTimePicker/types.ts"],"names":[],"mappings":"AAAA,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