arengibook 2.4.603 → 2.4.604

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
@@ -1,4 +1,4 @@
1
- # ArengiBouc
1
+ # ArengiBook
2
2
 
3
3
  Projet React avec Storybook pour la documentation des composants UI.
4
4
 
@@ -6,8 +6,8 @@ Projet React avec Storybook pour la documentation des composants UI.
6
6
 
7
7
  Clone ce dépôt :
8
8
 
9
- git clone https://github.com/ton-pseudo/ArengiBouc.git
10
- cd ArengiBouc
9
+ git clone https://github.com/ton-pseudo/ArengiBook.git
10
+ cd ArengiBook
11
11
 
12
12
  ## Installer les dépendances :
13
13
 
@@ -18,8 +18,3 @@ npm install
18
18
  npm run storybook
19
19
 
20
20
  Storybook sera disponible ici : http://localhost:6006
21
-
22
- ## Création projet Symfony6
23
-
24
- Pour tester l'intégration des composants Storybook, vous pouvez créer un projet symfony6
25
- Dans ce projet,
package/dist/index.js CHANGED
@@ -36202,7 +36202,7 @@ var Dropdown = function Dropdown(_ref) {
36202
36202
  var onLazyLoad = /*#__PURE__*/function () {
36203
36203
  var _ref4 = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee2(event) {
36204
36204
  var _event$filter;
36205
- var search, currentPage, _res$options, _res$additional$page, _res$additional, res, newOptions, _t2;
36205
+ var search, currentPage, _res$options, _res$additional$page, _res$additional, res, newOptions, virtualscroll, _t2;
36206
36206
  return _regenerator().w(function (_context2) {
36207
36207
  while (1) switch (_context2.n) {
36208
36208
  case 0:
@@ -36236,6 +36236,8 @@ var Dropdown = function Dropdown(_ref) {
36236
36236
  case 5:
36237
36237
  _context2.p = 5;
36238
36238
  setLoading(false);
36239
+ virtualscroll = document.querySelector('.p-virtualscroller.p-dropdown-items-wrapper');
36240
+ virtualscroll.style.height = "auto";
36239
36241
  return _context2.f(5);
36240
36242
  case 6:
36241
36243
  return _context2.a(2);
@@ -36505,11 +36507,7 @@ var DropdownPresets = {
36505
36507
  SelectMetaAsyncLoad: {
36506
36508
  placeholder: 'Chargement distant simulé',
36507
36509
  value: 2,
36508
- objValue: {
36509
- label: 'Option 2',
36510
- value: 2,
36511
- color: 'green'
36512
- },
36510
+ // objValue: { label: 'Option 2', value: 2, color: 'green' }, // simule un affichage direct de l'option dans l'input si celle-ci a été enregistrée (si options asynchrones uniquement
36513
36511
  options: function () {
36514
36512
  var _options = _asyncToGenerator(/*#__PURE__*/_regenerator().m(function _callee(search, loadedOptions, _ref) {
36515
36513
  var page, length, start, data;
@@ -36517,7 +36515,7 @@ var DropdownPresets = {
36517
36515
  while (1) switch (_context.n) {
36518
36516
  case 0:
36519
36517
  page = _ref.page;
36520
- length = 20;
36518
+ length = 2;
36521
36519
  start = (page - 1) * length; // Simule un délai réseau
36522
36520
  _context.n = 1;
36523
36521
  return new Promise(function (res) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "2.4.603",
4
+ "version": "2.4.604",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {