stable

Clone or download

Read-only

refactor: extract TLP date picker into its own lib

part of request #29982 Split `tlp` in smaller packages Why? We'll need to override date picker in tlp and tlp storybook documentations I did not extract select2 beacuse: - it generates awful typecheck errors - select2 is deprecated and will not be migrated into storybook No functional change expected in tlp documentation and everywhere datePicker() is used (Artifact Modal, Timetracking, siteadmin statistics plugin, etc) Co-authored-by: Marie Ange Garnier <marie-ange.garnier@enalean.com> Co-authored-by: Joris Masson <joris.masson@enalean.com> Change-Id: I7bac673d6acfe75731bb629738d72a704d2ca5fc

Modified Files

Name
A lib/frontend/tlp-date-picker/.gitignore +1 −0 Go to diff View file
A lib/frontend/tlp-date-picker/package.json +32 −0 Go to diff View file
A lib/frontend/tlp-date-picker/pnpm-lock.yaml +21 −0 Go to diff View file
R src/scripts/tlp/src/scss/components/_datepicker.scss Go to diff View file
R src/scripts/tlp/src/scss/_vendor.scss Go to diff View file
R src/scripts/tlp/src/vendor-overrides/flatpickr.ts Go to diff View file
A lib/frontend/tlp-date-picker/src/main.fr_FR.ts +25 −0 Go to diff View file
A lib/frontend/tlp-date-picker/src/main.ts +20 −0 Go to diff View file
A lib/frontend/tlp-date-picker/tsconfig.json +7 −0 Go to diff View file
A lib/frontend/tlp-date-picker/vite.config.ts +34 −0 Go to diff View file
M src/scripts/tlp-doc/css/_demos.scss +3 −0 Go to diff View file
M src/scripts/tlp-doc/css/_sections.scss +1 −1 Go to diff View file
M src/scripts/tlp-doc/css/main.scss +0 −2 Go to diff View file
M src/scripts/tlp-doc/package.json +1 −0 Go to diff View file
M src/scripts/tlp-doc/pnpm-lock.yaml +3 −0 Go to diff View file
M src/scripts/tlp-doc/src/editors.js +1 −1 Go to diff View file
M src/scripts/tlp/package.json +2 −2 Go to diff View file
M src/scripts/tlp/pnpm-lock.yaml +4 −8 Go to diff View file
M src/scripts/tlp/src/index.fr_FR.ts +1 −5 Go to diff View file
M src/scripts/tlp/src/js/index.ts +1 −1 Go to diff View file
M src/scripts/tlp/src/scss/_components.scss +1 −1 Go to diff View file
M src/scripts/tlp/src/scss/tlp.scss +1 −1 Go to diff View file
M src/scripts/tlp/tsconfig.json +2 −1 Go to diff View file