diff --git a/package-lock.json b/package-lock.json index 06590d8..669f5bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -691,21 +691,21 @@ } }, "node_modules/@primevue/auto-import-resolver": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@primevue/auto-import-resolver/-/auto-import-resolver-4.0.1.tgz", - "integrity": "sha512-jz4o8o2A8gWxBwgcfQ0B5JjK3KQxlWNEaUWEaBRM28NkdZrBjB/q7aYSKQixE7OnitZgALW2//eHU1yuenu1vw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@primevue/auto-import-resolver/-/auto-import-resolver-4.0.2.tgz", + "integrity": "sha512-RVCwZVK4Yzx8K3fFvF3O7CX+EirkmxAx3+ZWbatSMT+zRUhsdNFKh5jcPYJk/yGs/hI4lh8lTOqhFf2uXCflQg==", "dev": true, "dependencies": { - "@primevue/metadata": "4.0.1" + "@primevue/metadata": "4.0.2" }, "engines": { "node": ">=12.11.0" } }, "node_modules/@primevue/core": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@primevue/core/-/core-4.0.1.tgz", - "integrity": "sha512-BreY1LybcRmzI8zXktqKVoq1eMeH//Ab4NUpzyFMdRKq4QoTvVuYMrlS9PGlQi+c9RmAcb6rzIIpcczqEGEAaw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@primevue/core/-/core-4.0.2.tgz", + "integrity": "sha512-SpCIQ1LG6B66cecmZt1UdFeY7tbdJrgnhncADolfE9fcCyTSBtbaVLLhCV2E4Q9myMwCFE5KQxqazA4rdLWk4w==", "dependencies": { "@primeuix/styled": "^0.0.5", "@primeuix/utils": "^0.0.5" @@ -718,30 +718,30 @@ } }, "node_modules/@primevue/icons": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@primevue/icons/-/icons-4.0.1.tgz", - "integrity": "sha512-tK3cYOSabRiSmAMuivw2QM/oG1ER5RGL9k7Vua7arQiwBghyPg04J/XllJ9SjORyNIY+dwbLuNyUwLKty4S0Hg==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@primevue/icons/-/icons-4.0.2.tgz", + "integrity": "sha512-S1VEpMsx4uUAsTjZtII03LQqgocYwSKbXMF0YDFWybY8r5LaHaveVZxS/i+KbsCLaL18BXJw0L/7L1eQdJHzaA==", "dependencies": { "@primeuix/utils": "^0.0.5", - "@primevue/core": "4.0.1" + "@primevue/core": "4.0.2" }, "engines": { "node": ">=12.11.0" } }, "node_modules/@primevue/metadata": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@primevue/metadata/-/metadata-4.0.1.tgz", - "integrity": "sha512-iVgEioi81JNdUb7PG28RXu0XxYj0OUcR+JcCv7adsvDyoZENuupHysnic4BFVsmKnhaSBQxFVhBh5kbQVK1eIw==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@primevue/metadata/-/metadata-4.0.2.tgz", + "integrity": "sha512-zJ5fZNKDuuOf86qNm4NbVzoW/d3n9p8lnt1qsqIMEXWrlGjhRbGg+vbjUKhiUpgKNvwy+HsnAnRFnPCyxuByfQ==", "dev": true, "engines": { "node": ">=12.11.0" } }, "node_modules/@primevue/themes": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@primevue/themes/-/themes-4.0.1.tgz", - "integrity": "sha512-DIfQTH/SMY5/ekZM3wnAaC2Te69X9fwVmyxjyAf6yS3e8V9l/jj1BGjinHPlDE0n1G6daHC6qruX4QIR6Jtpwg==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/@primevue/themes/-/themes-4.0.2.tgz", + "integrity": "sha512-DGrdFOWRUb8/qDX+Hjkg0SkU2hvo6EmEE5/fA/+NSlLAemj5fcR8r3wo9jhFMIU0QVNl17jZycuL5taU0H72BA==", "dependencies": { "@primeuix/styled": "^0.0.5" }, @@ -1546,9 +1546,9 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.1.tgz", - "integrity": "sha512-FKbOCOQ5QRB3VlIbl1LZQefWIYwszlBloaXcY2rbfpu9ioJnNh3TK03YtIDKDo3WKBi8u+YV4+Fn2CkEozgf4w==", + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.2.tgz", + "integrity": "sha512-kc4r3U3V3WLaaZqThjYz/Y6z8tJe+7K0bbjUVo3i+LWIypVdMx5nXCkwRe6SWbY6ILqLdc1rKcKmr3HoH7wjSQ==", "dev": true }, "node_modules/emoji-regex": { @@ -2898,14 +2898,14 @@ "integrity": "sha512-KDeO94CbWI4pKsPnYpA1FPjo79EsY9I+M8ywoPBSf9XMXoe/0crjbUK7jcQEDHuc0ZMRIZsxH3TYLv4TUtHmAA==" }, "node_modules/primevue": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/primevue/-/primevue-4.0.1.tgz", - "integrity": "sha512-mAIoOcx7pnqPOhohw+JYyuVO46R4hUMComFTNzjHabEIsUIyIgTXNtWqiSwbn7zE4hEhnPwNa9XX97XE4Cz+1g==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/primevue/-/primevue-4.0.2.tgz", + "integrity": "sha512-bf5In//ixosZDOcfJ0iaBXhtQSpNC/CuAOE2KHd/SgUKZdij3VRljQ+I9+Be/TTxfikIeKH7eZ4gzDbWiIZurw==", "dependencies": { "@primeuix/styled": "^0.0.5", "@primeuix/utils": "^0.0.5", - "@primevue/core": "4.0.1", - "@primevue/icons": "4.0.1" + "@primevue/core": "4.0.2", + "@primevue/icons": "4.0.2" }, "engines": { "node": ">=12.11.0" @@ -3350,9 +3350,9 @@ } }, "node_modules/tailwindcss": { - "version": "3.4.6", - "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.6.tgz", - "integrity": "sha512-1uRHzPB+Vzu57ocybfZ4jh5Q3SdlH7XW23J5sQoM9LhE9eIOlzxer/3XPSsycvih3rboRsvt0QCmzSrqyOYUIA==", + "version": "3.4.7", + "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.7.tgz", + "integrity": "sha512-rxWZbe87YJb4OcSopb7up2Ba4U82BoiSGUdoDr3Ydrg9ckxFS/YWsvhN323GMcddgU65QRy7JndC7ahhInhvlQ==", "dev": true, "dependencies": { "@alloc/quick-lru": "^5.2.0", diff --git a/src/router/index.js b/src/router/index.js index 499c76a..a2e041c 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -21,57 +21,57 @@ const router = createRouter({ { path: '/uikit/input', name: 'input', - component: () => import('@/views/uikit/Input.vue') + component: () => import('@/views/uikit/InputDoc.vue') }, { path: '/uikit/floatlabel', name: 'floatlabel', - component: () => import('@/views/uikit/FloatLabel.vue') + component: () => import('@/views/uikit/FloatLabelDoc.vue') }, { path: '/uikit/invalidstate', name: 'invalidstate', - component: () => import('@/views/uikit/InvalidState.vue') + component: () => import('@/views/uikit/InvalidStateDoc.vue') }, { path: '/uikit/button', name: 'button', - component: () => import('@/views/uikit/Button.vue') + component: () => import('@/views/uikit/ButtonDoc.vue') }, { path: '/uikit/table', name: 'table', - component: () => import('@/views/uikit/Table.vue') + component: () => import('@/views/uikit/TableDoc.vue') }, { path: '/uikit/list', name: 'list', - component: () => import('@/views/uikit/List.vue') + component: () => import('@/views/uikit/ListDoc.vue') }, { path: '/uikit/tree', name: 'tree', - component: () => import('@/views/uikit/Tree.vue') + component: () => import('@/views/uikit/TreeDoc.vue') }, { path: '/uikit/panel', name: 'panel', - component: () => import('@/views/uikit/Panels.vue') + component: () => import('@/views/uikit/PanelsDoc.vue') }, { path: '/uikit/overlay', name: 'overlay', - component: () => import('@/views/uikit/Overlay.vue') + component: () => import('@/views/uikit/OverlayDoc.vue') }, { path: '/uikit/media', name: 'media', - component: () => import('@/views/uikit/Media.vue') + component: () => import('@/views/uikit/MediaDoc.vue') }, { path: '/uikit/menu', - component: () => import('@/views/uikit/Menu.vue'), + component: () => import('@/views/uikit/MenuDoc.vue'), children: [ { path: '/uikit/menu', @@ -94,22 +94,22 @@ const router = createRouter({ { path: '/uikit/message', name: 'message', - component: () => import('@/views/uikit/Messages.vue') + component: () => import('@/views/uikit/MessagesDoc.vue') }, { path: '/uikit/file', name: 'file', - component: () => import('@/views/uikit/File.vue') + component: () => import('@/views/uikit/FileDoc.vue') }, { path: '/uikit/charts', name: 'charts', - component: () => import('@/views/uikit/Chart.vue') + component: () => import('@/views/uikit/ChartDoc.vue') }, { path: '/uikit/misc', name: 'misc', - component: () => import('@/views/uikit/Misc.vue') + component: () => import('@/views/uikit/MiscDoc.vue') }, { path: '/blocks', diff --git a/src/views/uikit/Button.vue b/src/views/uikit/Button.vue deleted file mode 100644 index 7cb2f13..0000000 --- a/src/views/uikit/Button.vue +++ /dev/null @@ -1,185 +0,0 @@ - - - diff --git a/src/views/uikit/ButtonDoc.vue b/src/views/uikit/ButtonDoc.vue new file mode 100644 index 0000000..0b9fc40 --- /dev/null +++ b/src/views/uikit/ButtonDoc.vue @@ -0,0 +1,198 @@ + + + diff --git a/src/views/uikit/Chart.vue b/src/views/uikit/ChartDoc.vue similarity index 91% rename from src/views/uikit/Chart.vue rename to src/views/uikit/ChartDoc.vue index 86b187d..6503faf 100644 --- a/src/views/uikit/Chart.vue +++ b/src/views/uikit/ChartDoc.vue @@ -33,14 +33,14 @@ const setChart = () => { datasets: [ { label: 'My First dataset', - backgroundColor: documentStyle.getPropertyValue('--primary-500'), - borderColor: documentStyle.getPropertyValue('--primary-500'), + backgroundColor: documentStyle.getPropertyValue('--p-primary-500'), + borderColor: documentStyle.getPropertyValue('--p-primary-500'), data: [65, 59, 80, 81, 56, 55, 40] }, { label: 'My Second dataset', - backgroundColor: documentStyle.getPropertyValue('--primary-200'), - borderColor: documentStyle.getPropertyValue('--primary-200'), + backgroundColor: documentStyle.getPropertyValue('--p-primary-200'), + borderColor: documentStyle.getPropertyValue('--p-primary-200'), data: [28, 48, 40, 19, 86, 27, 90] } ] @@ -83,8 +83,8 @@ const setChart = () => { datasets: [ { data: [540, 325, 702], - backgroundColor: [documentStyle.getPropertyValue('--indigo-500'), documentStyle.getPropertyValue('--purple-500'), documentStyle.getPropertyValue('--teal-500')], - hoverBackgroundColor: [documentStyle.getPropertyValue('--indigo-400'), documentStyle.getPropertyValue('--purple-400'), documentStyle.getPropertyValue('--teal-400')] + backgroundColor: [documentStyle.getPropertyValue('--p-indigo-500'), documentStyle.getPropertyValue('--p-purple-500'), documentStyle.getPropertyValue('--p-teal-500')], + hoverBackgroundColor: [documentStyle.getPropertyValue('--p-indigo-400'), documentStyle.getPropertyValue('--p-purple-400'), documentStyle.getPropertyValue('--p-teal-400')] } ] }; @@ -107,16 +107,16 @@ const setChart = () => { label: 'First Dataset', data: [65, 59, 80, 81, 56, 55, 40], fill: false, - backgroundColor: documentStyle.getPropertyValue('--primary-500'), - borderColor: documentStyle.getPropertyValue('--primary-500'), + backgroundColor: documentStyle.getPropertyValue('--p-primary-500'), + borderColor: documentStyle.getPropertyValue('--p-primary-500'), tension: 0.4 }, { label: 'Second Dataset', data: [28, 48, 40, 19, 86, 27, 90], fill: false, - backgroundColor: documentStyle.getPropertyValue('--primary-200'), - borderColor: documentStyle.getPropertyValue('--primary-200'), + backgroundColor: documentStyle.getPropertyValue('--p-primary-200'), + borderColor: documentStyle.getPropertyValue('--p-primary-200'), tension: 0.4 } ] @@ -156,7 +156,7 @@ const setChart = () => { datasets: [ { data: [11, 16, 7, 3], - backgroundColor: [documentStyle.getPropertyValue('--indigo-500'), documentStyle.getPropertyValue('--purple-500'), documentStyle.getPropertyValue('--teal-500'), documentStyle.getPropertyValue('--orange-500')], + backgroundColor: [documentStyle.getPropertyValue('--p-indigo-500'), documentStyle.getPropertyValue('--p-purple-500'), documentStyle.getPropertyValue('--p-teal-500'), documentStyle.getPropertyValue('--p-orange-500')], label: 'My dataset' } ], @@ -185,20 +185,20 @@ const setChart = () => { datasets: [ { label: 'My First dataset', - borderColor: documentStyle.getPropertyValue('--indigo-400'), - pointBackgroundColor: documentStyle.getPropertyValue('--indigo-400'), - pointBorderColor: documentStyle.getPropertyValue('--indigo-400'), + borderColor: documentStyle.getPropertyValue('--p-indigo-400'), + pointBackgroundColor: documentStyle.getPropertyValue('--p-indigo-400'), + pointBorderColor: documentStyle.getPropertyValue('--p-indigo-400'), pointHoverBackgroundColor: textColor, - pointHoverBorderColor: documentStyle.getPropertyValue('--indigo-400'), + pointHoverBorderColor: documentStyle.getPropertyValue('--p-indigo-400'), data: [65, 59, 90, 81, 56, 55, 40] }, { label: 'My Second dataset', - borderColor: documentStyle.getPropertyValue('--purple-400'), - pointBackgroundColor: documentStyle.getPropertyValue('--purple-400'), - pointBorderColor: documentStyle.getPropertyValue('--purple-400'), + borderColor: documentStyle.getPropertyValue('--p-purple-400'), + pointBackgroundColor: documentStyle.getPropertyValue('--p-purple-400'), + pointBorderColor: documentStyle.getPropertyValue('--p-purple-400'), pointHoverBackgroundColor: textColor, - pointHoverBorderColor: documentStyle.getPropertyValue('--purple-400'), + pointHoverBorderColor: documentStyle.getPropertyValue('--p-purple-400'), data: [28, 48, 40, 19, 96, 27, 100] } ] diff --git a/src/views/uikit/File.vue b/src/views/uikit/FileDoc.vue similarity index 58% rename from src/views/uikit/File.vue rename to src/views/uikit/FileDoc.vue index 5bded8b..e705c3d 100644 --- a/src/views/uikit/File.vue +++ b/src/views/uikit/FileDoc.vue @@ -14,9 +14,14 @@ const onUpload = () => {
Advanced
- +
+
Basic
- +
+ + +
diff --git a/src/views/uikit/FloatLabel.vue b/src/views/uikit/FloatLabel.vue deleted file mode 100644 index 2c50b6c..0000000 --- a/src/views/uikit/FloatLabel.vue +++ /dev/null @@ -1,115 +0,0 @@ - - - diff --git a/src/views/uikit/FloatLabelDoc.vue b/src/views/uikit/FloatLabelDoc.vue new file mode 100644 index 0000000..0d98caa --- /dev/null +++ b/src/views/uikit/FloatLabelDoc.vue @@ -0,0 +1,104 @@ + + +