This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git
from aae8fda11d docs: improve dev python environment install (#31787)
add b5e62753b7 refactor(date picker): Migrate Date Picker to Ant Design 5
(#31019)
No new revisions were added by this update.
Summary of changes:
superset-frontend/package-lock.json | 180 ++++-------
superset-frontend/package.json | 3 -
.../superset-ui-chart-controls/src/constants.ts | 2 +-
.../src/components/AntdThemeProvider/index.tsx | 12 +-
.../components/DatePicker/DatePicker.stories.tsx | 38 ++-
.../DatePicker.test.tsx} | 11 +-
.../src/components/DatePicker/index.tsx | 10 +-
.../src/components/ListView/Filters/DateRange.tsx | 60 ++--
.../src/components/ListView/ListView.test.jsx | 15 +-
.../TimezoneSelector.DaylightSavingTime.test.tsx | 4 +-
.../TimezoneSelector/TimezoneSelector.test.tsx | 2 +-
.../src/components/TimezoneSelector/index.tsx | 38 +--
.../components/controls/ComparisonRangeLabel.tsx | 16 +-
.../DateFilterControl/components/CustomFrame.tsx | 334 ++++++++++-----------
.../DateFilterControl/tests/CustomFrame.test.tsx | 7 +-
.../controls/DateFilterControl/utils/constants.ts | 30 +-
.../controls/DateFilterControl/utils/dateParser.ts | 16 +-
.../components/controls/TimeOffsetControl.test.tsx | 6 +-
.../components/controls/TimeOffsetControl.tsx | 54 ++--
.../src/features/annotations/AnnotationModal.tsx | 34 ++-
superset-frontend/src/hooks/useLocale.ts | 83 +++++
.../src/pages/QueryHistoryList/index.tsx | 4 +-
superset-frontend/src/theme/index.ts | 5 +
superset-frontend/src/utils/common.js | 2 +-
superset-frontend/src/utils/dates.ts | 7 +
superset-frontend/webpack.config.js | 22 --
26 files changed, 506 insertions(+), 489 deletions(-)
copy superset-frontend/src/components/{Space/Space.test.tsx =>
DatePicker/DatePicker.test.tsx} (76%)
create mode 100644 superset-frontend/src/hooks/useLocale.ts