Skip to content

[DatePicker/RangeDatePicker]: added props to prevent picker form being empty. #2801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 24, 2025

Conversation

AlekseyManetov
Copy link
Collaborator

Description:

Issue link: #2795

QA notes:

…empty.

[RangeDatePicker]: added `preventEmptyFromDate` and `preventEmptyToDate` props to prevent the RangeDatePicker from having an empty 'from' or 'to' date.
Copy link

github-actions bot commented Apr 24, 2025

Generated by: track-bundle-size
Generated at: Thu, 24 Apr 2025 16:36:00 GMT
Bundle size diff (in kBytes). Not gzipped. Both CSS & JS included.
Baseline: v5.13.1 (2025-02-17)
CI Status: ok

Module Baseline Size
(v5.13.1)
Size Diff Within
Threshold
Threshold
(min - max)
templateApp 680.93 645.12 -35.81
js:-46.67
css:+10.86
🆗 612.83 - 749.02
@epam/app 5790.72 5970.65 +179.94
js:+171.02
css:+8.92
🆗 5211.64 - 6369.79
@epam/draft-rte 52.94 53.06 +0.12
js:+0.12
css:0
🆗 47.65 - 58.24
@epam/electric 4.58 4.58 +0
js:+0
css:0
🆗 4.12 - 5.04
@epam/promo 55.32 55.42 +0.11
js:+0.01
css:+0.1
🆗 49.79 - 60.85
@epam/uui-extra 0.21 0.21 0
js:0
css:0
🆗 0.19 - 0.23
@epam/loveship 90.46 90.64 +0.18
js:+0.06
css:+0.12
🆗 81.41 - 99.51
@epam/uui-components 253.68 252.74 -0.95
js:-0.95
css:+0
🆗 228.31 - 279.05
@epam/uui-core 317.54 317.59 +0.05
js:+0.05
css:0
🆗 285.79 - 349.29
@epam/uui-db 41.63 41.63 0
js:0
css:0
🆗 37.47 - 45.8
@epam/uui-docs 175.48 175.36 -0.12
js:-0.12
css:0
🆗 157.94 - 193.04
@epam/uui-editor 173.66 173.88 +0.22
js:+0.06
css:+0.17
🆗 156.29 - 191.03
@epam/uui-timeline 75.49 75.5 +0.01
js:+0
css:+0.01
🆗 67.94 - 83.04
@epam/uui 481.54 495.99 +14.44
js:+3.27
css:+11.18
🆗 433.39 - 529.7
new sizes (raw)

To set the sizes as a new baseline, you can copy/paste next content to the uui-build/config/bundleSizeBaseLine.json and commit the file.

{
  "version": "6.0.0",
  "timestamp": "2025-04-24",
  "sizes": {
    "templateApp": {
      "css": 230244,
      "js": 430360
    },
    "@epam/app": {
      "css": 691993,
      "js": 5421959
    },
    "@epam/draft-rte": {
      "css": 9788,
      "js": 44546
    },
    "@epam/electric": {
      "css": 2275,
      "js": 2421
    },
    "@epam/promo": {
      "css": 47621,
      "js": 9139
    },
    "@epam/uui-extra": {
      "css": 0,
      "js": 213
    },
    "@epam/loveship": {
      "css": 53605,
      "js": 39208
    },
    "@epam/uui-components": {
      "css": 22667,
      "js": 236132
    },
    "@epam/uui-core": {
      "css": 0,
      "js": 325213
    },
    "@epam/uui-db": {
      "css": 0,
      "js": 42633
    },
    "@epam/uui-docs": {
      "css": 2503,
      "js": 177070
    },
    "@epam/uui-editor": {
      "css": 12922,
      "js": 165131
    },
    "@epam/uui-timeline": {
      "css": 2205,
      "js": 75110
    },
    "@epam/uui": {
      "css": 190965,
      "js": 316925
    }
  }
}

Generated by: generate-components-api
CI Status: ok

Total amount of exported types/props without JSDoc comments

Amount
Types 326 (+0) 🆗
Props 226 (+0) 🆗
New missing comments
NOTE: It's either a new exported types/props without JSDoc, or it's an existing code from which you deleted the JSDoc comments.
Types:
- @epam/uui-components:DayProps
Props:
- @epam/uui-core:DayProps/filter
- @epam/uui-core:DayProps/isHoliday
- @epam/uui-core:DayProps/isSelected
- @epam/uui-core:DayProps/renderDayNumber

@AlekseyManetov AlekseyManetov merged commit dc618f4 into develop Apr 24, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant