diff --git a/packages/bbui/package.json b/packages/bbui/package.json index b4a9a3969c..1b3510cf3b 100644 --- a/packages/bbui/package.json +++ b/packages/bbui/package.json @@ -83,7 +83,6 @@ "dayjs": "^1.10.8", "easymde": "^2.16.1", "svelte-dnd-action": "^0.9.8", - "svelte-flatpickr": "3.2.3", "svelte-portal": "^1.0.0" }, "resolutions": { diff --git a/packages/bbui/src/Actions/click_outside.js b/packages/bbui/src/Actions/click_outside.js index ee478c70c0..535473f395 100644 --- a/packages/bbui/src/Actions/click_outside.js +++ b/packages/bbui/src/Actions/click_outside.js @@ -1,6 +1,5 @@ const ignoredClasses = [ ".download-js-link", - ".flatpickr-calendar", ".spectrum-Menu", ".date-time-popover", ] diff --git a/packages/bbui/src/helpers.js b/packages/bbui/src/helpers.js index e100362359..90b447f3c1 100644 --- a/packages/bbui/src/helpers.js +++ b/packages/bbui/src/helpers.js @@ -154,7 +154,7 @@ export const parseDate = (value, { enableTime = true }) => { // schema flags export const stringifyDate = ( value, - { enableTime = true, timeOnly = false, ignoreTimezones = false } + { enableTime = true, timeOnly = false, ignoreTimezones = false } = {} ) => { if (!value) { return null @@ -210,7 +210,7 @@ const localeDateFormat = new Intl.DateTimeFormat() // Formats a dayjs date according to schema flags export const getDateDisplayValue = ( value, - { enableTime = true, timeOnly = false } + { enableTime = true, timeOnly = false } = {} ) => { if (!value?.isValid()) { return "" diff --git a/packages/client/package.json b/packages/client/package.json index 0f93adfd7d..71a9e2e055 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -34,7 +34,6 @@ "screenfull": "^6.0.1", "shortid": "^2.2.15", "svelte-apexcharts": "^1.0.2", - "svelte-flatpickr": "^3.3.4", "svelte-spa-router": "^4.0.1" }, "devDependencies": { diff --git a/packages/client/src/components/ClientApp.svelte b/packages/client/src/components/ClientApp.svelte index f8a245b4f3..b790ecd0d4 100644 --- a/packages/client/src/components/ClientApp.svelte +++ b/packages/client/src/components/ClientApp.svelte @@ -206,13 +206,6 @@ /> {/key} - -
-