Skip to content

Commit

Permalink
chore(*): Release-1.27.28
Browse files Browse the repository at this point in the history
  • Loading branch information
eternalsky committed Oct 22, 2024
1 parent adb9fc2 commit cbff836
Show file tree
Hide file tree
Showing 20 changed files with 58 additions and 7 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,26 @@
# Change Log

## [1.27.28](https://github.com/alibaba-fusion/next/compare/1.27.26...1.27.28) (2024-10-21)


### Bug Fixes

* **DatePicker2:** after entering a customized date format and pressing Enter, the value should not change,closed [#4896](https://github.com/alibaba-fusion/next/issues/4896) ([e74ab40](https://github.com/alibaba-fusion/next/commit/e74ab40bf206ab0ad748d2c6b519972df1116810))
* **Grid:** The style prop of Col in the Grid does not take effect ([836eeb6](https://github.com/alibaba-fusion/next/commit/836eeb65d355ff03b9d98d9819db95b82b7e8aac))
* **Timeline:** left content of timeline item cannot be styled correctly ([f27e646](https://github.com/alibaba-fusion/next/commit/f27e646f8c3e3a72bf91992a870701226cfc9834))


### Code Refactoring

* **DatePicker:** convert to TypeScript, improve docs and tests ([4c37bf5](https://github.com/alibaba-fusion/next/commit/4c37bf5085176e2e34327e2def2e7b892dac6a2b))
* **Form:** convert to TypeScript, improve docs and tests, close[#4585](https://github.com/alibaba-fusion/next/issues/4585) ([adbb6c9](https://github.com/alibaba-fusion/next/commit/adbb6c9f63170f4a4adc8395f3a33421c446dbcc))
* **Form:** update form field options and dependencies ([f1c17a1](https://github.com/alibaba-fusion/next/commit/f1c17a1e5bbd68cd0e56e2334ed1a7690973899f))
* **Range:** convert to TypeScript, improve docs and tests ([d4b99e9](https://github.com/alibaba-fusion/next/commit/d4b99e964a7d0bbd6e04b60d065ce884db0e6366))
* **Shell:** convert to TypeScript, improve docs and tests ([202f538](https://github.com/alibaba-fusion/next/commit/202f5380026e75252d9a8267489ac1a5ff6b82f5))
* **Tab:** convert to TypeScript, improve docs and tests ([4632a46](https://github.com/alibaba-fusion/next/commit/4632a467a77a4387c5ec8dec55a97353fa40ca33))
* **TimePicker2:** convert to TypeScript, improve docs and tests, close [#4616](https://github.com/alibaba-fusion/next/issues/4616) ([e082513](https://github.com/alibaba-fusion/next/commit/e082513e781738fdbc27cd418cb6fa13aa06faa1))


## [1.27.27](https://github.com/alibaba-fusion/next/compare/1.27.26...1.27.27) (2024-10-18)


Expand Down
17 changes: 15 additions & 2 deletions LATESTLOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
# Latest Log

## [1.27.27](https://github.com/alibaba-fusion/next/compare/1.27.26...1.27.27) (2024-10-18)
## [1.27.28](https://github.com/alibaba-fusion/next/compare/1.27.26...1.27.28) (2024-10-21)


### Bug Fixes

* **Switch:** style prop ([6c5b266](https://github.com/alibaba-fusion/next/commit/6c5b2661d029d9d80a6196f1a16412dcd180cac8))
* **DatePicker2:** after entering a customized date format and pressing Enter, the value should not change,closed [#4896](https://github.com/alibaba-fusion/next/issues/4896) ([e74ab40](https://github.com/alibaba-fusion/next/commit/e74ab40bf206ab0ad748d2c6b519972df1116810))
* **Grid:** The style prop of Col in the Grid does not take effect ([836eeb6](https://github.com/alibaba-fusion/next/commit/836eeb65d355ff03b9d98d9819db95b82b7e8aac))
* **Timeline:** left content of timeline item cannot be styled correctly ([f27e646](https://github.com/alibaba-fusion/next/commit/f27e646f8c3e3a72bf91992a870701226cfc9834))


### Code Refactoring

* **DatePicker:** convert to TypeScript, improve docs and tests ([4c37bf5](https://github.com/alibaba-fusion/next/commit/4c37bf5085176e2e34327e2def2e7b892dac6a2b))
* **Form:** convert to TypeScript, improve docs and tests, close[#4585](https://github.com/alibaba-fusion/next/issues/4585) ([adbb6c9](https://github.com/alibaba-fusion/next/commit/adbb6c9f63170f4a4adc8395f3a33421c446dbcc))
* **Form:** update form field options and dependencies ([f1c17a1](https://github.com/alibaba-fusion/next/commit/f1c17a1e5bbd68cd0e56e2334ed1a7690973899f))
* **Range:** convert to TypeScript, improve docs and tests ([d4b99e9](https://github.com/alibaba-fusion/next/commit/d4b99e964a7d0bbd6e04b60d065ce884db0e6366))
* **Shell:** convert to TypeScript, improve docs and tests ([202f538](https://github.com/alibaba-fusion/next/commit/202f5380026e75252d9a8267489ac1a5ff6b82f5))
* **Tab:** convert to TypeScript, improve docs and tests ([4632a46](https://github.com/alibaba-fusion/next/commit/4632a467a77a4387c5ec8dec55a97353fa40ca33))
* **TimePicker2:** convert to TypeScript, improve docs and tests, close [#4616](https://github.com/alibaba-fusion/next/issues/4616) ([e082513](https://github.com/alibaba-fusion/next/commit/e082513e781738fdbc27cd418cb6fa13aa06faa1))

2 changes: 1 addition & 1 deletion components/date-picker/range-picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
onTimeKeydown,
} from './util';
import PanelFooter from './module/panel-footer';
import type { PanelFooterProps, PanelType, RangePickerProps, RangePickerState } from './types';
import type { PanelType, RangePickerProps, RangePickerState } from './types';
import { type TimePickerProps } from '../time-picker';

const { Popup } = Overlay;
Expand Down
2 changes: 1 addition & 1 deletion components/form/enhance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function getRules(props: ItemProps, labelForErrorMessage: string | null)
result.push({
minLength,
maxLength,
// minLengthMessage maxLengthMessage had been deprected, please use minmaxLength. TODO: removed in 2.0
// minLengthMessage maxLengthMessage had been deprecated, please use minmaxLength. TODO: removed in 2.0
message:
getCfgFromProps(props, 'minmaxLengthMessage') ||
getCfgFromProps(props, 'minLengthMessage') ||
Expand Down
1 change: 1 addition & 0 deletions components/form/error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import type { ErrorProps } from './types';
import type NextField from '../field';

class Error extends Component<ErrorProps> {
static displayName = 'Error';
static propTypes = {
name: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
field: PropTypes.object,
Expand Down
1 change: 1 addition & 0 deletions components/form/form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ const getNewChildren: (children: ReactNode, props: FormProps) => ReactNode = (

/** Form */
export default class Form extends Component<FormProps> {
static displayName = 'Form';
static propTypes = {
prefix: PropTypes.string,
inline: PropTypes.bool,
Expand Down
1 change: 1 addition & 0 deletions components/form/item.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const { Cell } = RGrid;
const { isNil } = obj;

export default class Item extends Component<ItemProps> {
static displayName = 'Item';
static propTypes = {
prefix: PropTypes.string,
rtl: PropTypes.bool,
Expand Down
1 change: 1 addition & 0 deletions components/form/reset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { func, obj } from '../util';
import type { ResetProps } from './types';

class Reset extends React.Component<ResetProps> {
static displayName = 'Reset';
static propTypes = {
names: PropTypes.array,
onClick: PropTypes.func,
Expand Down
1 change: 1 addition & 0 deletions components/form/submit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { func, obj } from '../util';
import type { SubmitProps } from './types';

class Submit extends React.Component<SubmitProps> {
static displayName = 'Submit';
static propTypes = {
onClick: PropTypes.func,
validate: PropTypes.oneOfType([PropTypes.bool, PropTypes.array]),
Expand Down
1 change: 1 addition & 0 deletions components/range/view/fixedSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export default class FixedSlider extends React.Component<
RangeFixedSliderProps,
RangeFixedSliderState
> {
static displayName = 'FixedSlider';
static propTypes = {
hasTip: PropTypes.bool,
tooltipVisible: PropTypes.bool,
Expand Down
1 change: 1 addition & 0 deletions components/range/view/mark.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { inRange, getPercent } from '../utils';
import type { RangeMarkProps } from '../types';

export default class Mark extends React.Component<RangeMarkProps> {
static displayName = 'Mark';
static propTypes = {
min: PropTypes.number,
max: PropTypes.number,
Expand Down
3 changes: 3 additions & 0 deletions components/range/view/range.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,15 @@ UpperSlider.propTypes = {
slider: PropTypes.oneOf(['single', 'double']),
};

UpperSlider.displayName = 'UpperSlider';

function pauseEvent(e: React.SyntheticEvent) {
e.stopPropagation();
e.preventDefault();
}

class Range extends React.Component<RangeProps, RangeState> {
static displayName = 'Range';
static contextTypes = {
prefix: PropTypes.string,
};
Expand Down
1 change: 1 addition & 0 deletions components/range/view/scale.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { inRange, getPercent } from '../utils';
import type { RangeScaleProps } from '../types';

export default class Scale extends React.Component<RangeScaleProps> {
static displayName = 'Scale';
static propTypes = {
min: PropTypes.number,
max: PropTypes.number,
Expand Down
1 change: 1 addition & 0 deletions components/range/view/selected.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { getPercent } from '../utils';
import type { RangeSelectedProps } from '../types';

export default class Selected extends React.Component<RangeSelectedProps> {
static displayName = 'Selected';
static propTypes = {
min: PropTypes.number,
max: PropTypes.number,
Expand Down
2 changes: 2 additions & 0 deletions components/range/view/slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,6 @@ Slider.defaultProps = {
rtl: false,
};

Slider.displayName = 'Slider';

export default Slider;
2 changes: 2 additions & 0 deletions components/range/view/track.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@ Track.defaultProps = {
prefix: 'next-',
};

Track.displayName = 'Track';

export default Track;
2 changes: 1 addition & 1 deletion components/tab/tab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import zhCN from '../locale/zh-cn';
import type { TabProps, ItemProps } from './types';

const noop = () => {};
interface TabState {
export interface TabState {
activeKey?: string;
}

Expand Down
1 change: 1 addition & 0 deletions components/time-picker2/time-picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ type SharedInputProps = DateInputProps & {
ref: (el: InstanceType<typeof DateInput>) => void;
};
class TimePicker2 extends Component<TimePickerProps, TimePickerState> {
static displayName = 'TimePicker2';
static propTypes = {
...ConfigProvider.propTypes,
prefix: PropTypes.string,
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
var next = require('./lib/index.js');

next.version = '1.27.27';
next.version = '1.27.28';

module.exports = next;
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alifd/next",
"version": "1.27.27",
"version": "1.27.28",
"description": "A configurable component library for web built on React.",
"keywords": [
"fusion",
Expand Down

0 comments on commit cbff836

Please sign in to comment.