@nextworks/blocks-core 0.2.0-alpha.7 → 0.2.0-alpha.8
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enhanced-theme-provider.d.ts","sourceRoot":"","sources":["../../src/components/enhanced-theme-provider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,kBAAkB,IAAI,uBAAuB,EAAE,MAAM,aAAa,CAAC;AACjF,OAAO,EACL,YAAY,EAGZ,KAAK,WAAW,EACjB,MAAM,eAAe,CAAC;AAEvB,KAAK,WAAW,GAAG,WAAW,CAAC,QAAQ,CAAC,CAAC;AAGzC,UAAU,0BAA0B;IAClC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,uBAAuB,CAAC,WAAW,CAAC,CAAC;IACjD,YAAY,CAAC,EAAE,uBAAuB,CAAC,cAAc,CAAC,CAAC;IACvD,YAAY,CAAC,EAAE,uBAAuB,CAAC,cAAc,CAAC,CAAC;IACvD,yBAAyB,CAAC,EAAE,uBAAuB,CAAC,2BAA2B,CAAC,CAAC;IACjF,mBAAmB,CAAC,EAAE,YAAY,CAAC;IAEnC,mBAAmB,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC;CACnD;AAED,UAAU,gBAAgB;IACxB,YAAY,EAAE,YAAY,CAAC;IAC3B,eAAe,EAAE,CAAC,OAAO,EAAE,YAAY,KAAK,IAAI,CAAC;IAEjD,WAAW,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC;IACzC,cAAc,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9D,oBAAoB,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,IAAI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AAE,OAAO,CAAC,WAAW,CAAC,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9D,oBAAoB,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IAE7D,UAAU,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,MAAM,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAC/D;AAMD,wBAAgB,eAAe,qBAQ9B;AAED,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,SAAmB,EACnB,YAAuB,EACvB,YAAmB,EACnB,yBAAiC,EACjC,mBAAkC,EAClC,mBAA0B,GAC3B,EAAE,0BAA0B,2CAoI5B"}
|
package/dist/ui/button.js
CHANGED
|
@@ -57,7 +57,7 @@ const Button = React.forwardRef((_a, ref) => {
|
|
|
57
57
|
"bg-[var(--btn-bg)]",
|
|
58
58
|
"hover:bg-[var(--btn-hover-bg)]",
|
|
59
59
|
"hover:text-[var(--btn-hover-fg)]",
|
|
60
|
-
//
|
|
60
|
+
// Explicit dark variants to compete with dark: utilities from variants like outline
|
|
61
61
|
"dark:bg-[var(--btn-bg)]",
|
|
62
62
|
"dark:hover:bg-[var(--btn-hover-bg)]",
|
|
63
63
|
"dark:hover:text-[var(--btn-hover-fg)]",
|
|
@@ -14,7 +14,7 @@ function getInitials(from) {
|
|
|
14
14
|
export function TestimonialCard({ id, className,
|
|
15
15
|
// legacy defaults
|
|
16
16
|
testimonialText = "Lorem ipsum dolor sit amet! Consectetur adipiscing elit.", testimonialAuthor = " - Cillum Dolore", testimonialAuthorInitials = "JD",
|
|
17
|
-
//
|
|
17
|
+
// New props (no defaults, we derive below)
|
|
18
18
|
quote, name, role, card = {
|
|
19
19
|
className: "bg-card text-card-foreground p-6 rounded-lg border border-border shadow-md transition-transform duration-200 hover:-translate-y-1 bg-[var(--card-bg)] text-[var(--card-fg)] border-[var(--card-border)] shadow-[var(--card-shadow)]",
|
|
20
20
|
}, content = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-selector.d.ts","sourceRoot":"","sources":["../../src/ui/theme-selector.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAUtC,KAAK,kBAAkB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,MAAM,CAAC,GAAG;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAC5B,SAA+B,EAC/B,KAAe,EACf,SAAS,EACT,GAAG,WAAW,EACf,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"theme-selector.d.ts","sourceRoot":"","sources":["../../src/ui/theme-selector.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAW/B,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAUtC,KAAK,kBAAkB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,MAAM,CAAC,GAAG;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAC5B,SAA+B,EAC/B,KAAe,EACf,SAAS,EACT,GAAG,WAAW,EACf,EAAE,kBAAkB,2CAiNpB"}
|
package/dist-cjs/ui/button.cjs
CHANGED
|
@@ -94,7 +94,7 @@ const Button = React.forwardRef((_a, ref) => {
|
|
|
94
94
|
"bg-[var(--btn-bg)]",
|
|
95
95
|
"hover:bg-[var(--btn-hover-bg)]",
|
|
96
96
|
"hover:text-[var(--btn-hover-fg)]",
|
|
97
|
-
//
|
|
97
|
+
// Explicit dark variants to compete with dark: utilities from variants like outline
|
|
98
98
|
"dark:bg-[var(--btn-bg)]",
|
|
99
99
|
"dark:hover:bg-[var(--btn-hover-bg)]",
|
|
100
100
|
"dark:hover:text-[var(--btn-hover-fg)]",
|
|
@@ -17,7 +17,7 @@ function getInitials(from) {
|
|
|
17
17
|
function TestimonialCard({ id, className,
|
|
18
18
|
// legacy defaults
|
|
19
19
|
testimonialText = "Lorem ipsum dolor sit amet! Consectetur adipiscing elit.", testimonialAuthor = " - Cillum Dolore", testimonialAuthorInitials = "JD",
|
|
20
|
-
//
|
|
20
|
+
// New props (no defaults, we derive below)
|
|
21
21
|
quote, name, role, card = {
|
|
22
22
|
className: "bg-card text-card-foreground p-6 rounded-lg border border-border shadow-md transition-transform duration-200 hover:-translate-y-1 bg-[var(--card-bg)] text-[var(--card-fg)] border-[var(--card-border)] shadow-[var(--card-shadow)]",
|
|
23
23
|
}, content = {
|
package/package.json
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@nextworks/blocks-core",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
4
|
-
"private": false,
|
|
5
|
-
"main": "dist-cjs/index.cjs",
|
|
6
|
-
"module": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"files": [
|
|
9
|
-
"dist",
|
|
10
|
-
"dist-cjs",
|
|
11
|
-
"package.json",
|
|
12
|
-
"README.md"
|
|
13
|
-
],
|
|
14
|
-
"repository": "github:jblh/nextworks-cli",
|
|
15
|
-
"bugs": "https://github.com/jblh/nextworks-cli/issues",
|
|
16
|
-
"homepage": "https://github.com/jblh/nextworks-cli#readme",
|
|
17
|
-
"publishConfig": {
|
|
18
|
-
"access": "public"
|
|
19
|
-
},
|
|
20
|
-
"scripts": {
|
|
21
|
-
"clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true }); require('fs').rmSync('dist-cjs', { recursive: true, force: true }); require('fs').rmSync('dist-types', { recursive: true, force: true });\"",
|
|
22
|
-
"build:esm": "npx tsc -p tsconfig.build.json",
|
|
23
|
-
"build:cjs": "npx tsc -p tsconfig.cjs.json",
|
|
24
|
-
"build:types": "npx tsc -p tsconfig.build.json --emitDeclarationOnly --declaration --declarationMap --outDir dist-types",
|
|
25
|
-
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:types",
|
|
26
|
-
"postbuild": "node scripts/postbuild.js",
|
|
27
|
-
"test:types": "npx tsc -p tsconfig.build.json --noEmit --pretty false"
|
|
28
|
-
},
|
|
29
|
-
"dependencies": {
|
|
30
|
-
"next-themes": "^0.4.6",
|
|
31
|
-
"clsx": "^2.1.1",
|
|
32
|
-
"tailwind-merge": "^3.3.1",
|
|
33
|
-
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
34
|
-
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
35
|
-
"@radix-ui/react-label": "^2.1.7",
|
|
36
|
-
"@radix-ui/react-slot": "^1.2.3",
|
|
37
|
-
"class-variance-authority": "^0.7.1",
|
|
38
|
-
"lucide-react": "^0.542.0",
|
|
39
|
-
"sonner": "^2.0.7"
|
|
40
|
-
},
|
|
41
|
-
"devDependencies": {
|
|
42
|
-
"typescript": "^5.9.3",
|
|
43
|
-
"@types/node": "^20",
|
|
44
|
-
"@types/react": "^19",
|
|
45
|
-
"@types/react-dom": "^19"
|
|
46
|
-
},
|
|
47
|
-
"peerDependencies": {
|
|
48
|
-
"react": "^19.0.0",
|
|
49
|
-
"react-dom": "^19.0.0",
|
|
50
|
-
"next": "^15.0.0 || ^16.0.0"
|
|
51
|
-
},
|
|
52
|
-
"exports": {
|
|
53
|
-
".": {
|
|
54
|
-
"types": "./dist/index.d.ts",
|
|
55
|
-
"import": "./dist/index.js",
|
|
56
|
-
"require": "./dist-cjs/index.cjs",
|
|
57
|
-
"default": "./dist/index.js"
|
|
58
|
-
},
|
|
59
|
-
"./server": {
|
|
60
|
-
"types": "./dist/server.d.ts",
|
|
61
|
-
"import": "./dist/server.js",
|
|
62
|
-
"require": "./dist-cjs/server.cjs",
|
|
63
|
-
"default": "./dist/server.js"
|
|
64
|
-
},
|
|
65
|
-
"./lib/themes": {
|
|
66
|
-
"types": "./dist/lib/themes.d.ts",
|
|
67
|
-
"import": "./dist/lib/themes.js",
|
|
68
|
-
"require": "./dist-cjs/lib/themes.cjs",
|
|
69
|
-
"default": "./dist/lib/themes.js"
|
|
70
|
-
},
|
|
71
|
-
"./package.json": "./package.json"
|
|
72
|
-
}
|
|
73
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@nextworks/blocks-core",
|
|
3
|
+
"version": "0.2.0-alpha.8",
|
|
4
|
+
"private": false,
|
|
5
|
+
"main": "dist-cjs/index.cjs",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist",
|
|
10
|
+
"dist-cjs",
|
|
11
|
+
"package.json",
|
|
12
|
+
"README.md"
|
|
13
|
+
],
|
|
14
|
+
"repository": "github:jblh/nextworks-cli",
|
|
15
|
+
"bugs": "https://github.com/jblh/nextworks-cli/issues",
|
|
16
|
+
"homepage": "https://github.com/jblh/nextworks-cli#readme",
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"scripts": {
|
|
21
|
+
"clean": "node -e \"require('fs').rmSync('dist', { recursive: true, force: true }); require('fs').rmSync('dist-cjs', { recursive: true, force: true }); require('fs').rmSync('dist-types', { recursive: true, force: true });\"",
|
|
22
|
+
"build:esm": "npx tsc -p tsconfig.build.json",
|
|
23
|
+
"build:cjs": "npx tsc -p tsconfig.cjs.json",
|
|
24
|
+
"build:types": "npx tsc -p tsconfig.build.json --emitDeclarationOnly --declaration --declarationMap --outDir dist-types",
|
|
25
|
+
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:types",
|
|
26
|
+
"postbuild": "node scripts/postbuild.js",
|
|
27
|
+
"test:types": "npx tsc -p tsconfig.build.json --noEmit --pretty false"
|
|
28
|
+
},
|
|
29
|
+
"dependencies": {
|
|
30
|
+
"next-themes": "^0.4.6",
|
|
31
|
+
"clsx": "^2.1.1",
|
|
32
|
+
"tailwind-merge": "^3.3.1",
|
|
33
|
+
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
34
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
35
|
+
"@radix-ui/react-label": "^2.1.7",
|
|
36
|
+
"@radix-ui/react-slot": "^1.2.3",
|
|
37
|
+
"class-variance-authority": "^0.7.1",
|
|
38
|
+
"lucide-react": "^0.542.0",
|
|
39
|
+
"sonner": "^2.0.7"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"typescript": "^5.9.3",
|
|
43
|
+
"@types/node": "^20",
|
|
44
|
+
"@types/react": "^19",
|
|
45
|
+
"@types/react-dom": "^19"
|
|
46
|
+
},
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"react": "^19.0.0",
|
|
49
|
+
"react-dom": "^19.0.0",
|
|
50
|
+
"next": "^15.0.0 || ^16.0.0"
|
|
51
|
+
},
|
|
52
|
+
"exports": {
|
|
53
|
+
".": {
|
|
54
|
+
"types": "./dist/index.d.ts",
|
|
55
|
+
"import": "./dist/index.js",
|
|
56
|
+
"require": "./dist-cjs/index.cjs",
|
|
57
|
+
"default": "./dist/index.js"
|
|
58
|
+
},
|
|
59
|
+
"./server": {
|
|
60
|
+
"types": "./dist/server.d.ts",
|
|
61
|
+
"import": "./dist/server.js",
|
|
62
|
+
"require": "./dist-cjs/server.cjs",
|
|
63
|
+
"default": "./dist/server.js"
|
|
64
|
+
},
|
|
65
|
+
"./lib/themes": {
|
|
66
|
+
"types": "./dist/lib/themes.d.ts",
|
|
67
|
+
"import": "./dist/lib/themes.js",
|
|
68
|
+
"require": "./dist-cjs/lib/themes.cjs",
|
|
69
|
+
"default": "./dist/lib/themes.js"
|
|
70
|
+
},
|
|
71
|
+
"./package.json": "./package.json"
|
|
72
|
+
}
|
|
73
|
+
}
|