@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.
@@ -18,8 +18,8 @@
18
18
  "graphql:schema": "node scripts/get-graphql-schema.mjs"
19
19
  },
20
20
  "dependencies": {
21
- "@salesforce/platform-sdk": "^10.24.0",
22
- "@salesforce/ui-bundle": "^10.24.0",
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": "^7.10.1",
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": "^10.24.0",
48
- "@salesforce/vite-plugin-ui-bundle": "^10.24.0",
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.17",
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.17"
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-muted-foreground',
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-muted-foreground',
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({ className, ...props }: React.ComponentProps<'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
- className="relative w-full overflow-x-auto"
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"
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "compilerOptions": {
3
- "target": "ES2020",
3
+ "target": "ES2022",
4
4
  "useDefineForClassFields": true,
5
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
5
+ "lib": ["ES2022", "DOM", "DOM.Iterable"],
6
6
  "module": "ESNext",
7
7
  "skipLibCheck": true,
8
8
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/templates",
3
- "version": "66.13.8",
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": "^10.24.0",
34
- "@salesforce/ui-bundle-template-base-web-app": "^10.24.0",
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",