@salesforce/templates 66.13.8 → 66.13.9
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/lib/templates/project/angularextapp/CHANGELOG.md +16 -0
- package/lib/templates/project/angularextapp/_p_/_m_/_w_/_a_/package-lock.json +262 -254
- package/lib/templates/project/angularextapp/_p_/_m_/_w_/_a_/package.json +3 -3
- package/lib/templates/project/angularextapp/package.json +1 -1
- package/lib/templates/project/angularintapp/CHANGELOG.md +16 -0
- package/lib/templates/project/angularintapp/_p_/_m_/_w_/_a_/package-lock.json +265 -257
- package/lib/templates/project/angularintapp/_p_/_m_/_w_/_a_/package.json +3 -3
- package/lib/templates/project/angularintapp/package.json +1 -1
- package/lib/templates/project/reactexternalapp/_p_/_m_/_w_/_a_/package-lock.json +227 -207
- package/lib/templates/project/reactinternalapp/_p_/_m_/_w_/_a_/package-lock.json +230 -210
- package/lib/templates/uiBundles/angularbasic/package-lock.json +262 -254
- package/lib/templates/uiBundles/angularbasic/package.json +3 -3
- package/lib/templates/uiBundles/reactbasic/package-lock.json +272 -275
- package/lib/templates/uiBundles/reactbasic/package.json +9 -8
- package/lib/templates/uiBundles/reactbasic/src/components/ui/button.tsx +1 -1
- package/lib/templates/uiBundles/reactbasic/src/components/ui/datePicker.tsx +2 -2
- package/lib/templates/uiBundles/reactbasic/src/components/ui/table.tsx +9 -2
- package/lib/templates/uiBundles/reactbasic/tsconfig.json +2 -2
- package/package.json +3 -3
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"graphql:schema": "node scripts/get-graphql-schema.mjs"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@salesforce/platform-sdk": "^
|
|
22
|
-
"@salesforce/ui-bundle": "^
|
|
21
|
+
"@salesforce/platform-sdk": "^11.64.0",
|
|
22
|
+
"@salesforce/ui-bundle": "^11.64.0",
|
|
23
23
|
"@tailwindcss/vite": "^4.1.17",
|
|
24
24
|
"class-variance-authority": "^0.7.1",
|
|
25
25
|
"clsx": "^2.1.1",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"react": "^19.2.0",
|
|
30
30
|
"react-day-picker": "^9.14.0",
|
|
31
31
|
"react-dom": "^19.2.0",
|
|
32
|
-
"react-router": "^
|
|
32
|
+
"react-router": "^8.3.0",
|
|
33
33
|
"shadcn": "^3.8.5",
|
|
34
34
|
"sonner": "^1.7.0",
|
|
35
35
|
"tailwind-merge": "^3.5.0",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"@graphql-eslint/eslint-plugin": "^4.1.0",
|
|
45
45
|
"@graphql-tools/utils": "^11.0.0",
|
|
46
46
|
"@playwright/test": "^1.49.0",
|
|
47
|
-
"@salesforce/graphiti": "^
|
|
48
|
-
"@salesforce/vite-plugin-ui-bundle": "^
|
|
47
|
+
"@salesforce/graphiti": "^11.64.0",
|
|
48
|
+
"@salesforce/vite-plugin-ui-bundle": "^11.64.0",
|
|
49
49
|
"@testing-library/jest-dom": "^6.6.3",
|
|
50
50
|
"@testing-library/react": "^16.1.0",
|
|
51
51
|
"@testing-library/user-event": "^14.5.2",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@types/react": "^19.2.5",
|
|
54
54
|
"@types/react-dom": "^19.2.3",
|
|
55
55
|
"@vitejs/plugin-react": "^5.1.1",
|
|
56
|
-
"@vitest/ui": "^4.0
|
|
56
|
+
"@vitest/ui": "^4.1.0",
|
|
57
57
|
"eslint": "^9.39.1",
|
|
58
58
|
"eslint-plugin-react": "^7.37.2",
|
|
59
59
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
@@ -67,9 +67,10 @@
|
|
|
67
67
|
"typescript-eslint": "^8.46.4",
|
|
68
68
|
"vite": "^7.2.4",
|
|
69
69
|
"vite-plugin-graphql-codegen": "^3.6.3",
|
|
70
|
-
"vitest": "^4.0
|
|
70
|
+
"vitest": "^4.1.0"
|
|
71
71
|
},
|
|
72
72
|
"overrides": {
|
|
73
|
-
"lodash": "^4.18.1"
|
|
73
|
+
"lodash": "^4.18.1",
|
|
74
|
+
"undici": "^7.28.0"
|
|
74
75
|
}
|
|
75
76
|
}
|
|
@@ -17,7 +17,7 @@ const buttonVariants = cva(
|
|
|
17
17
|
ghost:
|
|
18
18
|
'hover:bg-muted hover:text-foreground dark:hover:bg-muted/50 aria-expanded:bg-muted aria-expanded:text-foreground',
|
|
19
19
|
destructive:
|
|
20
|
-
'bg-destructive/10 hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/20 text-destructive focus-visible:border-destructive/40 dark:hover:bg-destructive/30',
|
|
20
|
+
'bg-destructive/10 hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/20 text-red-700 dark:text-destructive focus-visible:border-destructive/40 dark:hover:bg-destructive/30',
|
|
21
21
|
link: 'text-primary underline-offset-4 hover:underline',
|
|
22
22
|
},
|
|
23
23
|
size: {
|
|
@@ -38,7 +38,7 @@ function DatePickerTrigger({
|
|
|
38
38
|
data-slot="date-picker-trigger"
|
|
39
39
|
data-empty={!date}
|
|
40
40
|
className={cn(
|
|
41
|
-
'w-[280px] justify-start text-left font-normal data-[empty=true]:text-
|
|
41
|
+
'w-[280px] justify-start text-left font-normal data-[empty=true]:text-gray-600',
|
|
42
42
|
className
|
|
43
43
|
)}
|
|
44
44
|
{...props}
|
|
@@ -87,7 +87,7 @@ function DatePickerRangeTrigger({
|
|
|
87
87
|
data-slot="date-picker-range-trigger"
|
|
88
88
|
data-empty={!hasDate}
|
|
89
89
|
className={cn(
|
|
90
|
-
'justify-start text-left font-normal data-[empty=true]:text-
|
|
90
|
+
'justify-start text-left font-normal data-[empty=true]:text-gray-600',
|
|
91
91
|
className
|
|
92
92
|
)}
|
|
93
93
|
{...props}
|
|
@@ -2,11 +2,18 @@ import * as React from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { cn } from '../../lib/utils';
|
|
4
4
|
|
|
5
|
-
function Table({
|
|
5
|
+
function Table({
|
|
6
|
+
className,
|
|
7
|
+
'aria-label': ariaLabel = 'Table',
|
|
8
|
+
...props
|
|
9
|
+
}: React.ComponentProps<'table'>) {
|
|
6
10
|
return (
|
|
7
11
|
<div
|
|
8
12
|
data-slot="table-container"
|
|
9
|
-
|
|
13
|
+
role="region"
|
|
14
|
+
aria-label={ariaLabel}
|
|
15
|
+
tabIndex={0}
|
|
16
|
+
className="relative w-full overflow-x-auto focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-purple"
|
|
10
17
|
>
|
|
11
18
|
<table
|
|
12
19
|
data-slot="table"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/templates",
|
|
3
|
-
"version": "66.13.
|
|
3
|
+
"version": "66.13.9",
|
|
4
4
|
"description": "Salesforce JS library for templates",
|
|
5
5
|
"bugs": "https://github.com/forcedotcom/salesforcedx-templates/issues",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"@salesforce/ui-bundle-template-app-react-template-b2e": "^11.57.2",
|
|
31
31
|
"@salesforce/ui-bundle-template-app-react-template-b2x": "^11.57.2",
|
|
32
32
|
"@salesforce/ui-bundle-template-base-angular-app": "^11.62.1",
|
|
33
|
-
"@salesforce/ui-bundle-template-base-react-app": "^
|
|
34
|
-
"@salesforce/ui-bundle-template-base-web-app": "^
|
|
33
|
+
"@salesforce/ui-bundle-template-base-react-app": "^11.64.0",
|
|
34
|
+
"@salesforce/ui-bundle-template-base-web-app": "^11.64.0",
|
|
35
35
|
"@types/chai-as-promised": "^7.1.8",
|
|
36
36
|
"@types/ejs": "^3.1.5",
|
|
37
37
|
"@types/mime-types": "^3.0.1",
|