@symfony/ux-autocomplete 2.30.0 → 2.31.0

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/README.md CHANGED
@@ -14,7 +14,7 @@ composer require symfony/ux-autocomplete:2.23.0
14
14
  npm add @symfony/ux-autocomplete@2.23.0
15
15
  ```
16
16
 
17
- **Tip:** Your `package.json` file will be automatically modified by [Flex](https://github.com/symfony/flex) when installing or upgrading a PHP package. To prevent this behavior, ensure to **use at least Flex 1.22.0 or 2.5.0**, and run `composer config extra.symfony.flex.synchronize_package_json false`.
17
+ **Tip:** Your `package.json` file will be automatically modified by [Flex](https://github.com/symfony/flex) when installing or upgrading a PHP package. To prevent this behavior, ensure to **use at least Flex 1.22.0 or 2.5.0**, and run `composer config --json "extra.symfony/flex.synchronize_package_json" false`.
18
18
 
19
19
  ## Resources
20
20
 
@@ -306,6 +306,7 @@ createAutocompleteWithHtmlContents_fn = function() {
306
306
  };
307
307
  },
308
308
  render: {
309
+ ...commonConfig.render,
309
310
  item: (item) => `<div>${item[labelField]}</div>`,
310
311
  option: (item) => `<div>${item[labelField]}</div>`
311
312
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@symfony/ux-autocomplete",
3
3
  "description": "JavaScript Autocomplete functionality for Symfony",
4
4
  "license": "MIT",
5
- "version": "2.30.0",
5
+ "version": "2.31.0",
6
6
  "keywords": [
7
7
  "symfony-ux"
8
8
  ],
@@ -57,8 +57,9 @@
57
57
  "build": "tsx ../../../bin/build_package.ts .",
58
58
  "watch": "tsx ../../../bin/build_package.ts . --watch",
59
59
  "test": "pnpm run test:unit && pnpm run test:browser",
60
- "test:unit": "../../../bin/test_package.sh . --unit",
61
- "test:browser": "../../../bin/test_package.sh . --browser",
60
+ "test:unit": "../../../bin/unit_test_package.sh .",
61
+ "test:browser": "playwright test",
62
+ "test:browser:ui": "playwright test --ui",
62
63
  "check": "biome check",
63
64
  "ci": "biome ci"
64
65
  }