ads-nuxt 0.1.0 → 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.
- package/LICENSE +21 -21
- package/README.md +567 -1
- package/app/app.config.ts +25 -25
- package/app/assets/ads/checkbox-check.svg +5 -5
- package/app/assets/ads/checkbox-minus.svg +5 -5
- package/app/assets/brand/farmarcas.svg +6 -6
- package/app/assets/brand/radar.svg +9 -9
- package/app/assets/css/component-tokens.css +403 -403
- package/app/assets/css/main.css +617 -617
- package/app/components/AdsBadge.vue +48 -48
- package/app/components/AdsBroadcast.vue +45 -45
- package/app/components/AdsButton.vue +569 -569
- package/app/components/AdsButtonGroup.vue +39 -39
- package/app/components/AdsButtonMenu.vue +48 -48
- package/app/components/AdsCard.vue +117 -117
- package/app/components/AdsCharttip.vue +78 -78
- package/app/components/AdsCheckbox.vue +77 -77
- package/app/components/AdsDatePicker.vue +473 -473
- package/app/components/AdsDropdownMenu.vue +19 -19
- package/app/components/AdsEmptyState.vue +58 -58
- package/app/components/AdsFarmarcasPill.vue +74 -74
- package/app/components/AdsFeatureCard.vue +217 -217
- package/app/components/AdsFileCard.vue +101 -101
- package/app/components/AdsFilterDropdown.vue +174 -174
- package/app/components/AdsFilterOption.vue +72 -72
- package/app/components/AdsFilterSelect.vue +202 -202
- package/app/components/AdsFooter.vue +25 -25
- package/app/components/AdsInput.vue +143 -143
- package/app/components/AdsListDropdown.vue +44 -44
- package/app/components/AdsLoading.vue +109 -109
- package/app/components/AdsMenuBar.vue +103 -103
- package/app/components/AdsMetricCard.vue +119 -119
- package/app/components/AdsMiniPill.vue +40 -40
- package/app/components/AdsModal.vue +157 -157
- package/app/components/AdsMonthPicker.vue +80 -80
- package/app/components/AdsNavbarApp.vue +67 -67
- package/app/components/AdsNavbarDesk.vue +62 -62
- package/app/components/AdsNotabilityPill.vue +27 -27
- package/app/components/AdsNumberInput.vue +166 -166
- package/app/components/AdsPagination.vue +91 -91
- package/app/components/AdsProductTag.vue +61 -61
- package/app/components/AdsRadio.vue +70 -70
- package/app/components/AdsSearchInput.vue +113 -113
- package/app/components/AdsSegmentedTabs.vue +28 -28
- package/app/components/AdsSideMenu.vue +101 -101
- package/app/components/AdsSmalltip.vue +44 -44
- package/app/components/AdsSteptip.vue +101 -101
- package/app/components/AdsSwitch.vue +59 -59
- package/app/components/AdsTable.vue +100 -100
- package/app/components/AdsTableToolbar.vue +44 -44
- package/app/components/AdsTabs.vue +51 -51
- package/app/components/AdsTextarea.vue +109 -109
- package/app/components/AdsToast.vue +181 -181
- package/app/components/AdsTooltip.vue +66 -66
- package/app/components/InvertedTooltip.vue +40 -40
- package/app/components/OverlayLoading.vue +173 -173
- package/app/components/ProgressBarLoading.vue +256 -256
- package/app/composables/useOverlayLoading.ts +66 -66
- package/app/locale/pt-br.ts +6 -6
- package/app/plugins/ads-toast.client.ts +24 -24
- package/app/theme/ads-theme.ts +370 -370
- package/app/theme/component-tokens.json +402 -402
- package/app/theme/component-tokens.ts +815 -815
- package/app/types/overlay-loading.types.ts +26 -26
- package/app/utils/ads-filter-select.ts +172 -172
- package/app/utils/ads-table.ts +204 -204
- package/app/utils/calendar-date.ts +128 -128
- package/app/utils/category-role.ts +45 -45
- package/app/utils/money.ts +77 -77
- package/app/utils/notability.ts +8 -8
- package/app/utils/parser.ts +134 -134
- package/app/utils/percentage.ts +54 -54
- package/nuxt.config.ts +31 -32
- 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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
join(currentDir, "app/assets/css/
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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.
|
|
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
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
31
|
-
"@nuxt/
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
"
|
|
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
|
+
}
|