ads-nuxt 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +567 -546
  3. package/app/app.config.ts +25 -25
  4. package/app/assets/ads/checkbox-check.svg +5 -5
  5. package/app/assets/ads/checkbox-minus.svg +5 -5
  6. package/app/assets/brand/farmarcas.svg +6 -6
  7. package/app/assets/brand/radar.svg +9 -9
  8. package/app/assets/css/component-tokens.css +403 -403
  9. package/app/assets/css/main.css +617 -617
  10. package/app/components/AdsBadge.vue +48 -48
  11. package/app/components/AdsBroadcast.vue +45 -45
  12. package/app/components/AdsButton.vue +569 -569
  13. package/app/components/AdsButtonGroup.vue +39 -39
  14. package/app/components/AdsButtonMenu.vue +48 -48
  15. package/app/components/AdsCard.vue +117 -117
  16. package/app/components/AdsCharttip.vue +78 -78
  17. package/app/components/AdsCheckbox.vue +77 -77
  18. package/app/components/AdsDatePicker.vue +473 -473
  19. package/app/components/AdsDropdownMenu.vue +19 -19
  20. package/app/components/AdsEmptyState.vue +58 -58
  21. package/app/components/AdsFarmarcasPill.vue +74 -74
  22. package/app/components/AdsFeatureCard.vue +217 -217
  23. package/app/components/AdsFileCard.vue +101 -101
  24. package/app/components/AdsFilterDropdown.vue +174 -174
  25. package/app/components/AdsFilterOption.vue +72 -72
  26. package/app/components/AdsFilterSelect.vue +202 -202
  27. package/app/components/AdsFooter.vue +25 -25
  28. package/app/components/AdsInput.vue +143 -143
  29. package/app/components/AdsListDropdown.vue +44 -44
  30. package/app/components/AdsLoading.vue +109 -109
  31. package/app/components/AdsMenuBar.vue +103 -103
  32. package/app/components/AdsMetricCard.vue +119 -119
  33. package/app/components/AdsMiniPill.vue +40 -40
  34. package/app/components/AdsModal.vue +157 -157
  35. package/app/components/AdsMonthPicker.vue +80 -80
  36. package/app/components/AdsNavbarApp.vue +67 -67
  37. package/app/components/AdsNavbarDesk.vue +62 -62
  38. package/app/components/AdsNotabilityPill.vue +27 -27
  39. package/app/components/AdsNumberInput.vue +166 -166
  40. package/app/components/AdsPagination.vue +91 -91
  41. package/app/components/AdsProductTag.vue +61 -61
  42. package/app/components/AdsRadio.vue +70 -70
  43. package/app/components/AdsSearchInput.vue +113 -113
  44. package/app/components/AdsSegmentedTabs.vue +28 -28
  45. package/app/components/AdsSideMenu.vue +101 -101
  46. package/app/components/AdsSmalltip.vue +44 -44
  47. package/app/components/AdsSteptip.vue +101 -101
  48. package/app/components/AdsSwitch.vue +59 -59
  49. package/app/components/AdsTable.vue +100 -100
  50. package/app/components/AdsTableToolbar.vue +44 -44
  51. package/app/components/AdsTabs.vue +51 -51
  52. package/app/components/AdsTextarea.vue +109 -109
  53. package/app/components/AdsToast.vue +181 -181
  54. package/app/components/AdsTooltip.vue +66 -66
  55. package/app/components/InvertedTooltip.vue +40 -40
  56. package/app/components/OverlayLoading.vue +173 -173
  57. package/app/components/ProgressBarLoading.vue +256 -256
  58. package/app/composables/useOverlayLoading.ts +66 -66
  59. package/app/locale/pt-br.ts +6 -6
  60. package/app/plugins/ads-toast.client.ts +24 -24
  61. package/app/theme/ads-theme.ts +370 -370
  62. package/app/theme/component-tokens.json +402 -402
  63. package/app/theme/component-tokens.ts +815 -815
  64. package/app/types/overlay-loading.types.ts +26 -26
  65. package/app/utils/ads-filter-select.ts +172 -172
  66. package/app/utils/ads-table.ts +204 -204
  67. package/app/utils/calendar-date.ts +128 -128
  68. package/app/utils/category-role.ts +45 -45
  69. package/app/utils/money.ts +77 -77
  70. package/app/utils/notability.ts +8 -8
  71. package/app/utils/parser.ts +134 -134
  72. package/app/utils/percentage.ts +54 -54
  73. package/nuxt.config.ts +31 -32
  74. package/package.json +48 -46
package/nuxt.config.ts CHANGED
@@ -1,32 +1,31 @@
1
- import { dirname, join } from "node:path";
2
- import { fileURLToPath } from "node:url";
3
-
4
- const currentDir = dirname(fileURLToPath(import.meta.url));
5
-
6
- export default defineNuxtConfig({
7
- $meta: {
8
- name: "design-system",
9
- },
10
-
11
- srcDir: "app",
12
- compatibilityDate: "2025-06-17",
13
-
14
- modules: ["@nuxt/fonts", "@nuxt/icon", "@nuxt/ui", "@vueuse/nuxt"],
15
-
16
- css: [
17
- join(currentDir, "app/assets/css/main.css"),
18
- join(currentDir, "app/assets/css/component-tokens.css"),
19
- ],
20
-
21
- ui: {
22
- colorMode: false,
23
- },
24
-
25
- icon: {
26
- collections: ["lucide"],
27
- },
28
-
29
- fonts: {
30
- families: [{ name: "Inter", weights: [300, 400, 500, 700, 800] }],
31
- },
32
- });
1
+ import { dirname, join } from "node:path";
2
+ import { fileURLToPath } from "node:url";
3
+
4
+ const currentDir = dirname(fileURLToPath(import.meta.url));
5
+
6
+ export default defineNuxtConfig({
7
+ $meta: {
8
+ name: "design-system",
9
+ },
10
+
11
+ compatibilityDate: "2025-06-17",
12
+
13
+ modules: ["@nuxt/fonts", "@nuxt/icon", "@nuxt/ui", "@vueuse/nuxt"],
14
+
15
+ css: [
16
+ join(currentDir, "app/assets/css/main.css"),
17
+ join(currentDir, "app/assets/css/component-tokens.css"),
18
+ ],
19
+
20
+ ui: {
21
+ colorMode: false,
22
+ },
23
+
24
+ icon: {
25
+ collections: ["lucide"],
26
+ },
27
+
28
+ fonts: {
29
+ families: [{ name: "Inter", weights: [300, 400, 500, 700, 800] }],
30
+ },
31
+ });
package/package.json CHANGED
@@ -1,46 +1,48 @@
1
- {
2
- "name": "ads-nuxt",
3
- "version": "0.1.1",
4
- "license": "MIT",
5
- "description": "Alquimia Design System para Nuxt, construído sobre Nuxt UI",
6
- "repository": {
7
- "type": "git",
8
- "url": "git+https://github.com/jbfarmarcas/alquimia-design-system.git"
9
- },
10
- "publishConfig": {
11
- "access": "public"
12
- },
13
- "type": "module",
14
- "packageManager": "pnpm@10.4.1",
15
- "main": "./nuxt.config.ts",
16
- "files": [
17
- "app",
18
- "nuxt.config.ts"
19
- ],
20
- "scripts": {
21
- "dev": "nuxt dev playground --port 3010",
22
- "build": "nuxt build playground",
23
- "preview": "nuxt preview playground --port 3010",
24
- "prepare": "nuxt prepare playground"
25
- },
26
- "dependencies": {
27
- "@iconify-json/lucide": "^1.2.104",
28
- "@internationalized/date": "^3.12.4",
29
- "@nuxt/fonts": "^0.12.1",
30
- "@nuxt/icon": "^2.2.0",
31
- "@nuxt/ui": "^4.3.0",
32
- "@vueuse/core": "^14.0.0",
33
- "@vueuse/nuxt": "^14.0.0",
34
- "tailwindcss": "^4.0.15"
35
- },
36
- "peerDependencies": {
37
- "nuxt": "^4.0.0",
38
- "vue": "^3.5.18"
39
- },
40
- "devDependencies": {
41
- "nuxt": "^4.0.0",
42
- "typescript": "^5.6.3",
43
- "vue": "^3.5.18",
44
- "vue-router": "^4.5.0"
45
- }
46
- }
1
+ {
2
+ "name": "ads-nuxt",
3
+ "version": "0.1.2",
4
+ "license": "MIT",
5
+ "description": "Alquimia Design System para Nuxt, construído sobre Nuxt UI",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git+https://github.com/jbfarmarcas/alquimia-design-system.git"
9
+ },
10
+ "publishConfig": {
11
+ "access": "public"
12
+ },
13
+ "type": "module",
14
+ "packageManager": "pnpm@10.4.1",
15
+ "main": "./nuxt.config.ts",
16
+ "files": [
17
+ "app",
18
+ "nuxt.config.ts"
19
+ ],
20
+ "scripts": {
21
+ "dev": "nuxt dev playground --port 3010",
22
+ "build": "nuxt build playground",
23
+ "preview": "nuxt preview playground --port 3010",
24
+ "prepare": "nuxt prepare playground",
25
+ "skill:reference": "node scripts/generate-skill-reference.mjs",
26
+ "skill:check": "node scripts/generate-skill-reference.mjs --check"
27
+ },
28
+ "dependencies": {
29
+ "@iconify-json/lucide": "^1.2.104",
30
+ "@internationalized/date": "^3.12.4",
31
+ "@nuxt/fonts": "^0.12.1",
32
+ "@nuxt/icon": "^2.2.0",
33
+ "@nuxt/ui": "^4.3.0",
34
+ "@vueuse/core": "^14.0.0",
35
+ "@vueuse/nuxt": "^14.0.0",
36
+ "tailwindcss": "^4.0.15"
37
+ },
38
+ "peerDependencies": {
39
+ "nuxt": "^4.0.0",
40
+ "vue": "^3.5.18"
41
+ },
42
+ "devDependencies": {
43
+ "nuxt": "^4.0.0",
44
+ "typescript": "^5.6.3",
45
+ "vue": "^3.5.18",
46
+ "vue-router": "^4.5.0"
47
+ }
48
+ }