From 14f5fd9973683ae872e165d77ade56435eeff82d Mon Sep 17 00:00:00 2001 From: "rothwell.andy@gmail.com" Date: Thu, 7 Nov 2024 16:46:42 -0500 Subject: [PATCH] uses compiled vue3-pinboard --- .gitignore | 1 + package-lock.json | 36 ++++++++++++++++++++--- package.json | 2 +- src/assets/mac-style.scss | 10 +++++++ src/components/ExpandCollapseContent.vue | 25 +++++----------- src/components/FridgeSiteCard.vue | 10 +++---- src/components/GeneralSiteCard.vue | 4 +-- src/components/NdsSchoolCard.vue | 4 +-- src/components/PhaSchoolCard.vue | 4 +-- src/components/PlaystreetsSchoolCard.vue | 4 +-- src/components/PprSchoolCard.vue | 4 +-- src/components/PublicBenefitsSiteCard.vue | 4 +-- src/components/SeniorMealSiteCard.vue | 4 +-- src/components/SeniorMealSitePprCard.vue | 4 +-- src/components/customGreeting.vue | 15 +++------- src/components/greetingSection.vue | 4 +-- src/main.js | 26 +++++++++------- src/util/is-mac.js | 3 ++ 18 files changed, 87 insertions(+), 77 deletions(-) create mode 100644 src/assets/mac-style.scss create mode 100644 src/util/is-mac.js diff --git a/.gitignore b/.gitignore index 8ee54e8..f486813 100644 --- a/.gitignore +++ b/.gitignore @@ -13,6 +13,7 @@ dist dist-ssr coverage *.local +.env.development /cypress/videos/ /cypress/screenshots/ diff --git a/package-lock.json b/package-lock.json index bae464b..062118a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "dependencies": { "@fortawesome/pro-regular-svg-icons": "^6.6.0", "@phila/phila-ui-core": "^1.0.15", - "@phila/pinboard": "2.0.15", + "@phila/pinboard": "2.0.50", "unplugin-auto-import": "^0.18.3", "unplugin-vue-router": "^0.10.8" }, @@ -526,6 +526,11 @@ "node": ">=6.9.0" } }, + "node_modules/@creativebulma/bulma-tooltip": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@creativebulma/bulma-tooltip/-/bulma-tooltip-1.2.0.tgz", + "integrity": "sha512-ooImbeXEBxf77cttbzA7X5rC5aAWm9UsXIGViFOnsqB+6M944GkB28S5R4UWRqjFd2iW4zGEkEifAU+q43pt2w==" + }, "node_modules/@esbuild/aix-ppc64": { "version": "0.21.5", "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.21.5.tgz", @@ -1620,6 +1625,27 @@ "vue-imask": "^7.6.0" } }, + "node_modules/@phila/phila-ui-checkbox": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/@phila/phila-ui-checkbox/-/phila-ui-checkbox-0.0.4.tgz", + "integrity": "sha512-4AqgNYwTW7Q/hCFcvP1kIH5GpakKu1G058aYjVSHyTo3mWQhhq6+BlORpbrFRZjKHhgROgIgsSm8slrvB92/2A==", + "dependencies": { + "@phila/phila-ui-core": "1.0.12", + "bulma": "^0.9.4", + "vue": "^3.3.8" + } + }, + "node_modules/@phila/phila-ui-checkbox/node_modules/@phila/phila-ui-core": { + "version": "1.0.12", + "resolved": "https://registry.npmjs.org/@phila/phila-ui-core/-/phila-ui-core-1.0.12.tgz", + "integrity": "sha512-HO1g6/Pn4MyQcn/3Ag1D84NWvSCTmsAjR/DrZ4BEdzFUmV6TaSpVCVHKx2dwsbCx7HnMpg94Fx/UV3FlUxb3yw==", + "dependencies": { + "bulma": "^0.9.4", + "bulma-checkradio": "^2.1.3", + "vue": "^3.3.8", + "vue-imask": "^7.6.0" + } + }, "node_modules/@phila/phila-ui-core": { "version": "1.0.18", "resolved": "https://registry.npmjs.org/@phila/phila-ui-core/-/phila-ui-core-1.0.18.tgz", @@ -1746,16 +1772,18 @@ } }, "node_modules/@phila/pinboard": { - "version": "2.0.15", - "resolved": "https://registry.npmjs.org/@phila/pinboard/-/pinboard-2.0.15.tgz", - "integrity": "sha512-tbkXcs9fCBI6n0kkzzB7rpEtaOxoolhd4oVydgdaYbDXTmO/2n4pI7kSJV8qdKlksrdHWQudVpOZW5zPW3X4HQ==", + "version": "2.0.50", + "resolved": "https://registry.npmjs.org/@phila/pinboard/-/pinboard-2.0.50.tgz", + "integrity": "sha512-Dem7CcGl+o9it89VGe9TXB07r1Jsn0y2Exdv/mVvXmlghVqyDcXFySEXfVWnx86UaY2Gv4Bu63cv3qhn7Bhn6w==", "dependencies": { + "@creativebulma/bulma-tooltip": "^1.2.0", "@fortawesome/fontawesome-pro": "^6.6.0", "@fortawesome/fontawesome-svg-core": "^6.6.0", "@fortawesome/free-solid-svg-icons": "^6.6.0", "@fortawesome/vue-fontawesome": "^3.0.6", "@phila/phila-ui-app-footer": "^0.0.7", "@phila/phila-ui-app-header": "^0.0.21", + "@phila/phila-ui-checkbox": "^0.0.4", "@phila/phila-ui-core": "^1.0.15", "@phila/phila-ui-dropdown": "^0.0.1", "@phila/phila-ui-lang-selector": "^0.0.7", diff --git a/package.json b/package.json index 943b79a..0778e35 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "dependencies": { "@fortawesome/pro-regular-svg-icons": "^6.6.0", "@phila/phila-ui-core": "^1.0.15", - "@phila/pinboard": "2.0.15", + "@phila/pinboard": "2.0.50", "unplugin-auto-import": "^0.18.3", "unplugin-vue-router": "^0.10.8" }, diff --git a/src/assets/mac-style.scss b/src/assets/mac-style.scss new file mode 100644 index 0000000..23ef01f --- /dev/null +++ b/src/assets/mac-style.scss @@ -0,0 +1,10 @@ + +::-webkit-scrollbar { + -webkit-appearance: none; + width: 7px; +} +::-webkit-scrollbar-thumb { + border-radius: 4px; + background-color: rgba(0,0,0,.5); + box-shadow: 0 0 1px rgba(255,255,255,.5); +} \ No newline at end of file diff --git a/src/components/ExpandCollapseContent.vue b/src/components/ExpandCollapseContent.vue index d13fae9..598badc 100644 --- a/src/components/ExpandCollapseContent.vue +++ b/src/components/ExpandCollapseContent.vue @@ -1,9 +1,7 @@ diff --git a/src/components/GeneralSiteCard.vue b/src/components/GeneralSiteCard.vue index 7262dfe..9a29ca8 100644 --- a/src/components/GeneralSiteCard.vue +++ b/src/components/GeneralSiteCard.vue @@ -1,8 +1,6 @@