From 928b6cca146de3abe43e76a11d3eeb6a44950a17 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:23:53 -0500 Subject: [PATCH 01/17] updating default vilt-ds color palette to match vilt-ds brand palette used on live website --- .../vilt-ds-default-tailwind-color-palette.ts | 508 +++++++++--------- 1 file changed, 254 insertions(+), 254 deletions(-) diff --git a/src/data/colors/vilt-ds-default-tailwind-color-palette.ts b/src/data/colors/vilt-ds-default-tailwind-color-palette.ts index b45e879c..08799e22 100644 --- a/src/data/colors/vilt-ds-default-tailwind-color-palette.ts +++ b/src/data/colors/vilt-ds-default-tailwind-color-palette.ts @@ -1,258 +1,258 @@ // ./src/data/colors/vilt-ds-default-tailwind-color-palette.ts export default { - "black": "#1a1a1a", - "white": "#f8f8f8", - "gray": { - "50": "#e8e9ea", - "100": "#d8dadc", - "200": "#b8bcc1", - "300": "#999fa7", - "400": "#7c848d", - "500": "#5f6974", - "600": "#545c65", - "700": "#42474e", - "800": "#383b40", - "900": "#2d3033" - }, - "trueGray": { - "50": "#ececec", - "100": "#e1e1e1", - "200": "#cacaca", - "300": "#b4b4b4", - "400": "#9e9e9e", - "500": "#898989", - "600": "#777777", - "700": "#595959", - "800": "#484848", - "900": "#383838" - }, - "warmGray": { - "50": "#eaeae9", - "100": "#dcdbd9", - "200": "#c2bfbb", - "300": "#a7a49e", - "400": "#8e8a82", - "500": "#757067", - "600": "#66625b", - "700": "#4e4b46", - "800": "#403e3b", - "900": "#33322f" - }, - "coolGray": { - "50": "#e8e9ee", - "100": "#d8dae4", - "200": "#b8bdd1", - "300": "#98a1be", - "400": "#7985ab", - "500": "#596b98", - "600": "#4f5e83", - "700": "#404962", - "800": "#363c4f", - "900": "#2d303c" - }, - "red": { - "50": "#f4e7e5", - "100": "#f0d7d2", - "200": "#e6b6ae", - "300": "#d9958b", - "400": "#cb7569", - "500": "#ba5449", - "600": "#a04b42", - "700": "#763d35", - "800": "#5e342e", - "900": "#472c27" - }, - "rose": { - "50": "#f5e6e5", - "100": "#f1d4d3", - "200": "#e7b1af", - "300": "#da8e8c", - "400": "#cc6a6b", - "500": "#bb444c", - "600": "#a13f44", - "700": "#773537", - "800": "#5f2f30", - "900": "#482828" - }, - "pink": { - "50": "#f3e6ea", - "100": "#eed4dd", - "200": "#e3b0c2", - "300": "#d68da8", - "400": "#c8698f", - "500": "#b84176", - "600": "#9e3d67", - "700": "#75344f", - "800": "#5d2e41", - "900": "#462833" - }, - "fuchsia": { - "50": "#f2e5ed", - "100": "#ebd3e2", - "200": "#ddaecd", - "300": "#ce89b8", - "400": "#be64a3", - "500": "#ac3a8f", - "600": "#94377c", - "700": "#6e315d", - "800": "#582c4b", - "900": "#43273a" - }, - "purple": { - "50": "#f0e5f0", - "100": "#e9d2e8", - "200": "#d8abd8", - "300": "#c785c8", - "400": "#b45eb8", - "500": "#a032a8", - "600": "#8a3190", - "700": "#672d6b", - "800": "#532955", - "900": "#402540" - }, - "violet": { - "50": "#ede5f2", - "100": "#e2d3ec", - "200": "#ccaedf", - "300": "#b58ad2", - "400": "#9d66c5", - "500": "#8341b8", - "600": "#723c9e", - "700": "#583374", - "800": "#482d5c", - "900": "#382745" - }, - "indigo": { - "50": "#ebe7f2", - "100": "#ddd6ec", - "200": "#c2b5df", - "300": "#a695d3", - "400": "#8975c6", - "500": "#6b57b9", - "600": "#5f4d9f", - "700": "#4a3e74", - "800": "#3e345c", - "900": "#322b45" - }, - "blue": { - "50": "#e8e9f2", - "100": "#d9daec", - "200": "#b9bee0", - "300": "#99a2d4", - "400": "#7887c7", - "500": "#536dbb", - "600": "#4b5fa0", - "700": "#3e4a75", - "800": "#363d5d", - "900": "#2d3145" - }, - "lightBlue": { - "50": "#e7ecf2", - "100": "#d6dfec", - "200": "#b3c7e0", - "300": "#90afd4", - "400": "#6998c8", - "500": "#3a82bc", - "600": "#3971a1", - "700": "#335576", - "800": "#2f465d", - "900": "#293645" - }, - "cyan": { - "50": "#e6eef2", - "100": "#d5e4ec", - "200": "#b1d1e0", - "300": "#8bbed5", - "400": "#61abc9", - "500": "#2298bd", - "600": "#2983a2", - "700": "#2c6276", - "800": "#2b4f5d", - "900": "#273c46" - }, - "teal": { - "50": "#e6f0ef", - "100": "#d5e8e6", - "200": "#b1d8d4", - "300": "#8dc8c2", - "400": "#65b8b1", - "500": "#32a8a0", - "600": "#33908a", - "700": "#306b66", - "800": "#2d5552", - "900": "#28403e" - }, - "emerald": { - "50": "#e7f2ec", - "100": "#d7ece0", - "200": "#b5dfc8", - "300": "#93d2b0", - "400": "#6ec59a", - "500": "#41b883", - "600": "#3e9e72", - "700": "#377456", - "800": "#315c46", - "900": "#2a4537" - }, - "green": { - "50": "#eaf0e9", - "100": "#dce7da", - "200": "#c0d6bd", - "300": "#a5c5a0", - "400": "#89b584", - "500": "#6da469", - "600": "#608d5c", - "700": "#4b6848", - "800": "#3e533c", - "900": "#323f30" - }, - "lime": { - "50": "#edefe6", - "100": "#e3e6d5", - "200": "#cdd5b2", - "300": "#b7c491", - "400": "#a1b36f", - "500": "#8ba24e", - "600": "#798b46", - "700": "#5b6739", - "800": "#4a5331", - "900": "#3a3f2a" - }, - "yellow": { - "50": "#f1efe4", - "100": "#eae6d0", - "200": "#dbd4a9", - "300": "#cbc282", - "400": "#bab15c", - "500": "#a8a032", - "600": "#918a30", - "700": "#6c662b", - "800": "#565228", - "900": "#423e24" - }, - "amber": { - "50": "#f2ede4", - "100": "#ece3d1", - "200": "#dfceab", - "300": "#d1b985", - "400": "#c1a560", - "500": "#b0923a", - "600": "#987e36", - "700": "#705e2f", - "800": "#5a4c2a", - "900": "#443a25" - }, - "orange": { - "50": "#f3ece5", - "100": "#eee0d2", - "200": "#e3c8ac", - "300": "#d6b088", - "400": "#c89964", - "500": "#b88341", - "600": "#9e723b", - "700": "#755632", - "800": "#5d462c", - "900": "#463726" - } + "black": "#1d2024", + "white": "#f8f8f8", + "gray": { + "50": "#ededed", + "100": "#e1e2e2", + "200": "#cbcbcc", + "300": "#b5b6b7", + "400": "#a0a1a2", + "500": "#8b8c8e", + "600": "#797a7d", + "700": "#5c5e61", + "800": "#4b4d51", + "900": "#3b3e41" + }, + "trueGray": { + "50": "#e6e6e6", + "100": "#d4d4d4", + "200": "#b1b1b1", + "300": "#8f8f8f", + "400": "#6f6f6f", + "500": "#505050", + "600": "#484849", + "700": "#3b3c3e", + "800": "#333537", + "900": "#2c2e31" + }, + "blueGray": { + "50": "#e8e9ea", + "100": "#d8dadd", + "200": "#b9bdc2", + "300": "#9aa1a8", + "400": "#7d858f", + "500": "#606b76", + "600": "#555f69", + "700": "#444b53", + "800": "#3a4047", + "900": "#30353b" + }, + "lightBlueGray": { + "50": "#eceef1", + "100": "#e0e5eb", + "200": "#c9d2dd", + "300": "#b1c0d0", + "400": "#9aaec3", + "500": "#839cb6", + "600": "#72889e", + "700": "#586777", + "800": "#485461", + "900": "#39424c" + }, + "red": { + "50": "#fee8e4", + "100": "#ffd8d1", + "200": "#ffb7ab", + "300": "#ff9586", + "400": "#ff7063", + "500": "#ff4441", + "600": "#db423d", + "700": "#a03c36", + "800": "#7f3632", + "900": "#5e302d" + }, + "rose": { + "50": "#f9e8e9", + "100": "#fad7da", + "200": "#f9b6bd", + "300": "#f494a1", + "400": "#ee7185", + "500": "#e5486b", + "600": "#c54460", + "700": "#913c4d", + "800": "#733642", + "900": "#563038" + }, + "pink": { + "50": "#f5e7ee", + "100": "#f2d7e4", + "200": "#eab6cf", + "300": "#e194bc", + "400": "#d672a8", + "500": "#ca4c95", + "600": "#ae4783", + "700": "#813d65", + "800": "#673754", + "900": "#4d3043" + }, + "fuchsia": { + "50": "#f2e7f2", + "100": "#ecd7ed", + "200": "#deb6e2", + "300": "#d095d6", + "400": "#c073cb", + "500": "#b050bf", + "600": "#984aa5", + "700": "#723f7c", + "800": "#5c3765", + "900": "#46304e" + }, + "purple": { + "50": "#f0e7f7", + "100": "#e7d7f6", + "200": "#d5b6f4", + "300": "#c295f0", + "400": "#ad75ed", + "500": "#9553e9", + "600": "#824cc8", + "700": "#634094", + "800": "#513876", + "900": "#403059" + }, + "violet": { + "50": "#eae6f0", + "100": "#dbd4e7", + "200": "#beb1d7", + "300": "#a18fc6", + "400": "#846eb5", + "500": "#654ea4", + "600": "#5a478f", + "700": "#483b6d", + "800": "#3d345a", + "900": "#322e47" + }, + "indigo": { + "50": "#e6e5ec", + "100": "#d5d3df", + "200": "#b2afc7", + "300": "#908caf", + "400": "#6f6b98", + "500": "#4d4c81", + "600": "#464572", + "700": "#3a3a5a", + "800": "#32334c", + "900": "#2b2d3e" + }, + "blue": { + "50": "#e3e5e8", + "100": "#ced2d7", + "200": "#a6aeb7", + "300": "#7f8a99", + "400": "#59697b", + "500": "#34495e", + "600": "#314355", + "700": "#2b3846", + "800": "#28323d", + "900": "#242c34" + }, + "lightBlue": { + "50": "#ecf0f5", + "100": "#e0e8f3", + "200": "#c8d9ed", + "300": "#b0cae8", + "400": "#96bbe3", + "500": "#7bacdd", + "600": "#6c95be", + "700": "#54708d", + "800": "#465a71", + "900": "#384656" + }, + "cyan": { + "50": "#e9f3f3", + "100": "#daedee", + "200": "#bae3e5", + "300": "#99d8dc", + "400": "#74cdd2", + "500": "#45c2c9", + "600": "#42a7ae", + "700": "#3b7c82", + "800": "#356369", + "900": "#2e4c50" + }, + "teal": { + "50": "#e8f5f1", + "100": "#d7f2ea", + "200": "#b5ecdd", + "300": "#90e6cf", + "400": "#64dfc2", + "500": "#0ed7b5", + "600": "#23b99d", + "700": "#2d8877", + "800": "#2d6c61", + "900": "#2a514b" + }, + "emerald": { + "50": "#e7f2ec", + "100": "#d7ece0", + "200": "#b5dfc8", + "300": "#93d2b0", + "400": "#6ec59a", + "500": "#41b883", + "600": "#3e9f74", + "700": "#37775b", + "800": "#32604d", + "900": "#2c493f" + }, + "green": { + "50": "#ecf3eb", + "100": "#dfefdd", + "200": "#c6e5c3", + "300": "#addba9", + "400": "#93d18f", + "500": "#77c776", + "600": "#69ab69", + "700": "#527f54", + "800": "#456548", + "900": "#384d3c" + }, + "lime": { + "50": "#f1f5ea", + "100": "#eaf1db", + "200": "#dceabf", + "300": "#cde3a3", + "400": "#bddc86", + "500": "#add569", + "600": "#96b75f", + "700": "#70864e", + "800": "#5a6b43", + "900": "#455039" + }, + "yellow": { + "50": "#f8f7eb", + "100": "#f7f5de", + "200": "#f5f2c5", + "300": "#f1efab", + "400": "#eded90", + "500": "#e8ea75", + "600": "#c6c869", + "700": "#919255", + "800": "#727348", + "900": "#54553c" + }, + "amber": { + "50": "#f9f2e9", + "100": "#f9eddb", + "200": "#f8e1be", + "300": "#f6d6a2", + "400": "#f3cc85", + "500": "#eec168", + "600": "#cca65e", + "700": "#957b4d", + "800": "#756343", + "900": "#574b39" + }, + "orange": { + "50": "#fcebe6", + "100": "#ffddd4", + "200": "#ffc2b1", + "300": "#ffa78f", + "400": "#ff8b6e", + "500": "#f96e4e", + "600": "#d56248", + "700": "#9c4f3d", + "800": "#7b4337", + "900": "#5b3831" + } } From a8fe1d57ae1d740860d649817a0db0dcebd627c6 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:24:43 -0500 Subject: [PATCH 02/17] adding new Config type to generated ziggy.ts file code due to major update to ziggy package --- src/generators/jetstream/resources/js/generate-ziggy-ts.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/generators/jetstream/resources/js/generate-ziggy-ts.ts b/src/generators/jetstream/resources/js/generate-ziggy-ts.ts index 5f14829d..1c093448 100644 --- a/src/generators/jetstream/resources/js/generate-ziggy-ts.ts +++ b/src/generators/jetstream/resources/js/generate-ziggy-ts.ts @@ -2,7 +2,11 @@ export default function (): string { -return `const Ziggy = {"url":"http:\/\/localhost","port":null,"defaults":{},"routes":{"login":{"uri":"login","methods":["GET","HEAD"]},"logout":{"uri":"logout","methods":["POST"]},"password.request":{"uri":"forgot-password","methods":["GET","HEAD"]},"password.reset":{"uri":"reset-password\/{token}","methods":["GET","HEAD"]},"password.email":{"uri":"forgot-password","methods":["POST"]},"password.update":{"uri":"reset-password","methods":["POST"]},"register":{"uri":"register","methods":["GET","HEAD"]},"user-profile-information.update":{"uri":"user\/profile-information","methods":["PUT"]},"user-password.update":{"uri":"user\/password","methods":["PUT"]},"password.confirmation":{"uri":"user\/confirmed-password-status","methods":["GET","HEAD"]},"password.confirm":{"uri":"user\/confirm-password","methods":["POST"]},"two-factor.login":{"uri":"two-factor-challenge","methods":["GET","HEAD"]},"two-factor.enable":{"uri":"user\/two-factor-authentication","methods":["POST"]},"two-factor.confirm":{"uri":"user\/confirmed-two-factor-authentication","methods":["POST"]},"two-factor.disable":{"uri":"user\/two-factor-authentication","methods":["DELETE"]},"two-factor.qr-code":{"uri":"user\/two-factor-qr-code","methods":["GET","HEAD"]},"two-factor.secret-key":{"uri":"user\/two-factor-secret-key","methods":["GET","HEAD"]},"two-factor.recovery-codes":{"uri":"user\/two-factor-recovery-codes","methods":["GET","HEAD"]},"terms.show":{"uri":"terms-of-service","methods":["GET","HEAD"]},"policy.show":{"uri":"privacy-policy","methods":["GET","HEAD"]},"profile.show":{"uri":"user\/profile","methods":["GET","HEAD"]},"other-browser-sessions.destroy":{"uri":"user\/other-browser-sessions","methods":["DELETE"]},"current-user-photo.destroy":{"uri":"user\/profile-photo","methods":["DELETE"]},"current-user.destroy":{"uri":"user","methods":["DELETE"]},"api-tokens.index":{"uri":"user\/api-tokens","methods":["GET","HEAD"]},"api-tokens.store":{"uri":"user\/api-tokens","methods":["POST"]},"api-tokens.update":{"uri":"user\/api-tokens\/{token}","methods":["PUT"]},"api-tokens.destroy":{"uri":"user\/api-tokens\/{token}","methods":["DELETE"]},"teams.create":{"uri":"teams\/create","methods":["GET","HEAD"]},"teams.store":{"uri":"teams","methods":["POST"]},"teams.show":{"uri":"teams\/{team}","methods":["GET","HEAD"]},"teams.update":{"uri":"teams\/{team}","methods":["PUT"]},"teams.destroy":{"uri":"teams\/{team}","methods":["DELETE"]},"current-team.update":{"uri":"current-team","methods":["PUT"]},"team-members.store":{"uri":"teams\/{team}\/members","methods":["POST"]},"team-members.update":{"uri":"teams\/{team}\/members\/{user}","methods":["PUT"]},"team-members.destroy":{"uri":"teams\/{team}\/members\/{user}","methods":["DELETE"]},"team-invitations.accept":{"uri":"team-invitations\/{invitation}","methods":["GET","HEAD"]},"team-invitations.destroy":{"uri":"team-invitations\/{invitation}","methods":["DELETE"]},"sanctum.csrf-cookie":{"uri":"sanctum\/csrf-cookie","methods":["GET","HEAD"]},"ignition.healthCheck":{"uri":"_ignition\/health-check","methods":["GET","HEAD"]},"ignition.executeSolution":{"uri":"_ignition\/execute-solution","methods":["POST"]},"ignition.updateConfig":{"uri":"_ignition\/update-config","methods":["POST"]},"dashboard":{"uri":"dashboard","methods":["GET","HEAD"]},"vueventus":{"uri":"vueventus","methods":["GET","HEAD"]}}}; +return `// ./resources/js/ziggy.ts + +import { Config } from './../../vendor/tightenco/ziggy/src/js/index.d'; + +const Ziggy:Config = {"url":"http:\/\/localhost","port":null,"defaults":{},"routes":{"login":{"uri":"login","methods":["GET","HEAD"]},"logout":{"uri":"logout","methods":["POST"]},"password.request":{"uri":"forgot-password","methods":["GET","HEAD"]},"password.reset":{"uri":"reset-password\/{token}","methods":["GET","HEAD"]},"password.email":{"uri":"forgot-password","methods":["POST"]},"password.update":{"uri":"reset-password","methods":["POST"]},"register":{"uri":"register","methods":["GET","HEAD"]},"user-profile-information.update":{"uri":"user\/profile-information","methods":["PUT"]},"user-password.update":{"uri":"user\/password","methods":["PUT"]},"password.confirmation":{"uri":"user\/confirmed-password-status","methods":["GET","HEAD"]},"password.confirm":{"uri":"user\/confirm-password","methods":["POST"]},"two-factor.login":{"uri":"two-factor-challenge","methods":["GET","HEAD"]},"two-factor.enable":{"uri":"user\/two-factor-authentication","methods":["POST"]},"two-factor.confirm":{"uri":"user\/confirmed-two-factor-authentication","methods":["POST"]},"two-factor.disable":{"uri":"user\/two-factor-authentication","methods":["DELETE"]},"two-factor.qr-code":{"uri":"user\/two-factor-qr-code","methods":["GET","HEAD"]},"two-factor.secret-key":{"uri":"user\/two-factor-secret-key","methods":["GET","HEAD"]},"two-factor.recovery-codes":{"uri":"user\/two-factor-recovery-codes","methods":["GET","HEAD"]},"terms.show":{"uri":"terms-of-service","methods":["GET","HEAD"]},"policy.show":{"uri":"privacy-policy","methods":["GET","HEAD"]},"profile.show":{"uri":"user\/profile","methods":["GET","HEAD"]},"other-browser-sessions.destroy":{"uri":"user\/other-browser-sessions","methods":["DELETE"]},"current-user-photo.destroy":{"uri":"user\/profile-photo","methods":["DELETE"]},"current-user.destroy":{"uri":"user","methods":["DELETE"]},"api-tokens.index":{"uri":"user\/api-tokens","methods":["GET","HEAD"]},"api-tokens.store":{"uri":"user\/api-tokens","methods":["POST"]},"api-tokens.update":{"uri":"user\/api-tokens\/{token}","methods":["PUT"]},"api-tokens.destroy":{"uri":"user\/api-tokens\/{token}","methods":["DELETE"]},"teams.create":{"uri":"teams\/create","methods":["GET","HEAD"]},"teams.store":{"uri":"teams","methods":["POST"]},"teams.show":{"uri":"teams\/{team}","methods":["GET","HEAD"]},"teams.update":{"uri":"teams\/{team}","methods":["PUT"]},"teams.destroy":{"uri":"teams\/{team}","methods":["DELETE"]},"current-team.update":{"uri":"current-team","methods":["PUT"]},"team-members.store":{"uri":"teams\/{team}\/members","methods":["POST"]},"team-members.update":{"uri":"teams\/{team}\/members\/{user}","methods":["PUT"]},"team-members.destroy":{"uri":"teams\/{team}\/members\/{user}","methods":["DELETE"]},"team-invitations.accept":{"uri":"team-invitations\/{invitation}","methods":["GET","HEAD"]},"team-invitations.destroy":{"uri":"team-invitations\/{invitation}","methods":["DELETE"]},"sanctum.csrf-cookie":{"uri":"sanctum\/csrf-cookie","methods":["GET","HEAD"]},"ignition.healthCheck":{"uri":"_ignition\/health-check","methods":["GET","HEAD"]},"ignition.executeSolution":{"uri":"_ignition\/execute-solution","methods":["POST"]},"ignition.updateConfig":{"uri":"_ignition\/update-config","methods":["POST"]},"dashboard":{"uri":"dashboard","methods":["GET","HEAD"]},"vueventus":{"uri":"vueventus","methods":["GET","HEAD"]}}}; if (typeof window !== 'undefined' && typeof window.Ziggy !== 'undefined') { Object.assign(Ziggy.routes, window.Ziggy.routes); From b4e31d9f344e42116151b98b6d7714e861e5dacb Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:25:31 -0500 Subject: [PATCH 03/17] updating route import due to breaking change from major update to ziggy package that broke all vilt-ds route imports --- .../resources/js/Components/generate-confirms-password-vue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generators/jetstream/resources/js/Components/generate-confirms-password-vue.ts b/src/generators/jetstream/resources/js/Components/generate-confirms-password-vue.ts index abb6ffa9..0c556530 100644 --- a/src/generators/jetstream/resources/js/Components/generate-confirms-password-vue.ts +++ b/src/generators/jetstream/resources/js/Components/generate-confirms-password-vue.ts @@ -8,7 +8,7 @@ return ` import { defineComponent, nextTick, ref, reactive } from 'vue' import axios from 'axios' - import route from 'ziggy-js' + import { route } from '../../../vendor/tightenco/ziggy' import DialogModal from './DialogModal.vue' import InputError from './InputError.vue' From a00b89a961fbb5231ea59b0d3fa557db091c6055 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:25:36 -0500 Subject: [PATCH 04/17] updating route import due to breaking change from major update to ziggy package that broke all vilt-ds route imports --- .../jetstream/resources/js/Layouts/generate-app-layout-vue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generators/jetstream/resources/js/Layouts/generate-app-layout-vue.ts b/src/generators/jetstream/resources/js/Layouts/generate-app-layout-vue.ts index 430376bf..8d33336b 100644 --- a/src/generators/jetstream/resources/js/Layouts/generate-app-layout-vue.ts +++ b/src/generators/jetstream/resources/js/Layouts/generate-app-layout-vue.ts @@ -19,7 +19,7 @@ return ` import DropdownLink from '../Components/DropdownLink.vue' import NavLink from '../Components/NavLink.vue' import ResponsiveNavLink from '../Components/ResponsiveNavLink.vue' - import route from 'ziggy-js' + import { route } from '../../../vendor/tightenco/ziggy' import ScrollUpColorModeSection from '../Components/ScrollUpColorModeSection.vue' import VvScrollUp from '../Components/vv/buttons/VvScrollUp.vue' From 0ca3e583a142070f052fd337579aeee066e7cb45 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:25:40 -0500 Subject: [PATCH 05/17] updating route import due to breaking change from major update to ziggy package that broke all vilt-ds route imports --- .../jetstream/resources/js/Pages/generate-welcome-vue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generators/jetstream/resources/js/Pages/generate-welcome-vue.ts b/src/generators/jetstream/resources/js/Pages/generate-welcome-vue.ts index 174e1c6b..3679f570 100644 --- a/src/generators/jetstream/resources/js/Pages/generate-welcome-vue.ts +++ b/src/generators/jetstream/resources/js/Pages/generate-welcome-vue.ts @@ -10,7 +10,7 @@ return ` import { computed, defineComponent } from 'vue' import { Head, Link, usePage } from '@inertiajs/vue3' - import route from 'ziggy-js' + import { route } from '../../../vendor/tightenco/ziggy' import ScrollUpColorModeSection from '../Components/ScrollUpColorModeSection.vue' export default defineComponent({ From 031dd42ddcfd312eed7164d321ea98bc25492e07 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:25:43 -0500 Subject: [PATCH 06/17] updating route import due to breaking change from major update to ziggy package that broke all vilt-ds route imports --- .../js/Pages/API/Partials/generate-api-token-manager-vue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generators/jetstream/resources/js/Pages/API/Partials/generate-api-token-manager-vue.ts b/src/generators/jetstream/resources/js/Pages/API/Partials/generate-api-token-manager-vue.ts index 9c17a6f5..c9c67742 100644 --- a/src/generators/jetstream/resources/js/Pages/API/Partials/generate-api-token-manager-vue.ts +++ b/src/generators/jetstream/resources/js/Pages/API/Partials/generate-api-token-manager-vue.ts @@ -11,7 +11,7 @@ return ` import { computed, defineComponent, ref } from 'vue' import { useForm, usePage } from '@inertiajs/vue3' - import route from 'ziggy-js' + import { route } from '../../../../../vendor/tightenco/ziggy' import ActionMessage from '../../../Components/ActionMessage.vue' import ActionSection from '../../../Components/ActionSection.vue' From 9572c8220898988de65b1af22539667f8d536162 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:25:46 -0500 Subject: [PATCH 07/17] updating route import due to breaking change from major update to ziggy package that broke all vilt-ds route imports --- .../jetstream/resources/js/Pages/Auth/generate-login-vue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generators/jetstream/resources/js/Pages/Auth/generate-login-vue.ts b/src/generators/jetstream/resources/js/Pages/Auth/generate-login-vue.ts index 64b1ca37..cc9cc8ab 100644 --- a/src/generators/jetstream/resources/js/Pages/Auth/generate-login-vue.ts +++ b/src/generators/jetstream/resources/js/Pages/Auth/generate-login-vue.ts @@ -8,7 +8,7 @@ return ` import { defineComponent } from 'vue' import { Head, useForm } from '@inertiajs/vue3' - import route from 'ziggy-js' + import { route } from '../../../../vendor/tightenco/ziggy' import AuthenticationCard from '../../Components/AuthenticationCard.vue' import AuthenticationCardLogo from '../../Components/AuthenticationCardLogo.vue' From 7ae319eef1d688e5291cba4666746ce5872dfcf2 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:25:50 -0500 Subject: [PATCH 08/17] updating route import due to breaking change from major update to ziggy package that broke all vilt-ds route imports --- .../jetstream/resources/js/Pages/Auth/generate-register-vue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generators/jetstream/resources/js/Pages/Auth/generate-register-vue.ts b/src/generators/jetstream/resources/js/Pages/Auth/generate-register-vue.ts index 8f710f01..da08f431 100644 --- a/src/generators/jetstream/resources/js/Pages/Auth/generate-register-vue.ts +++ b/src/generators/jetstream/resources/js/Pages/Auth/generate-register-vue.ts @@ -10,7 +10,7 @@ return ` import { computed, defineComponent } from 'vue' import { Head, useForm, usePage } from '@inertiajs/vue3' - import route from 'ziggy-js' + import { route } from '../../../../vendor/tightenco/ziggy' import AuthenticationCard from '../../Components/AuthenticationCard.vue' import AuthenticationCardLogo from '../../Components/AuthenticationCardLogo.vue' From 38502ecec8fc3e5956c16edbf2f9e6da26e851cf Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:25:53 -0500 Subject: [PATCH 09/17] updating route import due to breaking change from major update to ziggy package that broke all vilt-ds route imports --- .../resources/js/Pages/Auth/generate-reset-password-vue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generators/jetstream/resources/js/Pages/Auth/generate-reset-password-vue.ts b/src/generators/jetstream/resources/js/Pages/Auth/generate-reset-password-vue.ts index 7b7db0ef..38ca74a2 100644 --- a/src/generators/jetstream/resources/js/Pages/Auth/generate-reset-password-vue.ts +++ b/src/generators/jetstream/resources/js/Pages/Auth/generate-reset-password-vue.ts @@ -8,7 +8,7 @@ return ` import { defineComponent } from 'vue' import { Head, useForm } from '@inertiajs/vue3' - import route from 'ziggy-js' + import { route } from '../../../../vendor/tightenco/ziggy' import AuthenticationCard from '../../Components/AuthenticationCard.vue' import AuthenticationCardLogo from '../../Components/AuthenticationCardLogo.vue' From e9ebfadaf556ced77155e2b93d82455f949e2971 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:25:56 -0500 Subject: [PATCH 10/17] updating route import due to breaking change from major update to ziggy package that broke all vilt-ds route imports --- .../js/Pages/Auth/generate-two-factor-challenge-vue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generators/jetstream/resources/js/Pages/Auth/generate-two-factor-challenge-vue.ts b/src/generators/jetstream/resources/js/Pages/Auth/generate-two-factor-challenge-vue.ts index fafcea98..e88d7940 100644 --- a/src/generators/jetstream/resources/js/Pages/Auth/generate-two-factor-challenge-vue.ts +++ b/src/generators/jetstream/resources/js/Pages/Auth/generate-two-factor-challenge-vue.ts @@ -8,7 +8,7 @@ return ` import { defineComponent, nextTick, ref } from 'vue' import { Head, useForm } from '@inertiajs/vue3' - import route from 'ziggy-js' + import { route } from '../../../../vendor/tightenco/ziggy' import AuthenticationCard from '../../Components/AuthenticationCard.vue' import AuthenticationCardLogo from '../../Components/AuthenticationCardLogo.vue' From 1ad2d3761083b7c38f6d07dae226a3a3b057d255 Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:26:00 -0500 Subject: [PATCH 11/17] updating route import due to breaking change from major update to ziggy package that broke all vilt-ds route imports --- .../resources/js/Pages/Auth/generate-verify-email-vue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generators/jetstream/resources/js/Pages/Auth/generate-verify-email-vue.ts b/src/generators/jetstream/resources/js/Pages/Auth/generate-verify-email-vue.ts index f2b50c59..43452e1a 100644 --- a/src/generators/jetstream/resources/js/Pages/Auth/generate-verify-email-vue.ts +++ b/src/generators/jetstream/resources/js/Pages/Auth/generate-verify-email-vue.ts @@ -8,7 +8,7 @@ return ` import { computed, defineComponent } from 'vue' import { Head, Link, useForm } from '@inertiajs/vue3' - import route from 'ziggy-js' + import { route } from '../../../../vendor/tightenco/ziggy' import AuthenticationCard from '../../Components/AuthenticationCard.vue' import AuthenticationCardLogo from '../../Components/AuthenticationCardLogo.vue' import PrimaryButton from '../../Components/PrimaryButton.vue' From 9f515861eca2c1567a454381cd17974f5d183edc Mon Sep 17 00:00:00 2001 From: "OBE (Online Business Engineering)" <33532265+oberocks@users.noreply.github.com> Date: Wed, 28 Feb 2024 18:26:10 -0500 Subject: [PATCH 12/17] updating route import due to breaking change from major update to ziggy package that broke all vilt-ds route imports --- .../Partials/generate-logout-other-browser-sessions-form-vue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generators/jetstream/resources/js/Pages/Profile/Partials/generate-logout-other-browser-sessions-form-vue.ts b/src/generators/jetstream/resources/js/Pages/Profile/Partials/generate-logout-other-browser-sessions-form-vue.ts index 55697ff4..c4880222 100644 --- a/src/generators/jetstream/resources/js/Pages/Profile/Partials/generate-logout-other-browser-sessions-form-vue.ts +++ b/src/generators/jetstream/resources/js/Pages/Profile/Partials/generate-logout-other-browser-sessions-form-vue.ts @@ -11,7 +11,7 @@ return ` +> v1.0.0 - breaking change update due to ziggy package change - route imports now from ziggy vendor php package and not npm package + +> 1.0.0 - breaking change update due to ziggy package change - ./resources/js/ziggy.js file now needs to be ziggy typed with the "Config" ziggy typescript interface - which is also now in the ziggy vendor php package and not npm +