ptechcore_ui 1.0.30 → 1.0.31

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.
Files changed (3) hide show
  1. package/dist/index.cjs +114 -91
  2. package/dist/index.js +115 -92
  3. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -5946,30 +5946,57 @@ var MinimalVendorForm = ({
5946
5946
  open: isOpen,
5947
5947
  onClose,
5948
5948
  children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("form", { onSubmit: handleSubmit, className: "p-", children: [
5949
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "space-y-4", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
5950
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5951
- TextInput,
5952
- {
5953
- label: "Raison sociale",
5954
- name: "legal_name",
5955
- value: formData.legal_name || "",
5956
- placeholder: "Nom l\xE9gal de l'entit\xE9",
5957
- required: true,
5958
- error: errors.legal_name,
5959
- onChange: handleInputChange
5960
- }
5961
- ),
5962
- /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5963
- TextInput,
5964
- {
5965
- label: "Nom commercial",
5966
- name: "trading_name",
5967
- value: formData.trading_name || "",
5968
- placeholder: "Nom commercial (optionnel)",
5969
- onChange: handleInputChange
5970
- }
5971
- )
5972
- ] }) }),
5949
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "space-y-4", children: [
5950
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
5951
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5952
+ TextInput,
5953
+ {
5954
+ label: "Raison sociale",
5955
+ name: "legal_name",
5956
+ value: formData.legal_name || "",
5957
+ placeholder: "Nom l\xE9gal de l'entit\xE9",
5958
+ required: true,
5959
+ error: errors.legal_name,
5960
+ onChange: handleInputChange
5961
+ }
5962
+ ),
5963
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5964
+ TextInput,
5965
+ {
5966
+ label: "Nom commercial",
5967
+ name: "trading_name",
5968
+ value: formData.trading_name || "",
5969
+ placeholder: "Nom commercial (optionnel)",
5970
+ onChange: handleInputChange
5971
+ }
5972
+ )
5973
+ ] }),
5974
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
5975
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5976
+ InputField,
5977
+ {
5978
+ label: "T\xE9l\xE9phone",
5979
+ name: "phone",
5980
+ type: "tel",
5981
+ value: formData.phone || "",
5982
+ placeholder: "+33 1 23 45 67 89",
5983
+ onChange: handleInputChange
5984
+ }
5985
+ ),
5986
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5987
+ InputField,
5988
+ {
5989
+ label: "Email",
5990
+ name: "email",
5991
+ type: "email",
5992
+ value: formData.email || "",
5993
+ placeholder: "contact@entite.com",
5994
+ error: errors.email,
5995
+ onChange: handleInputChange
5996
+ }
5997
+ )
5998
+ ] })
5999
+ ] }),
5973
6000
  /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "flex justify-between pt-6 mt-8", children: [
5974
6001
  /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
5975
6002
  "button",
@@ -5986,7 +6013,7 @@ var MinimalVendorForm = ({
5986
6013
  type: "button",
5987
6014
  onClick: handleSubmit,
5988
6015
  disabled: loading,
5989
- children: loading ? "chargement..." : "Enregistrer l'entit\xE9"
6016
+ children: loading ? "chargement..." : "Enregistrer le fournisseur"
5990
6017
  }
5991
6018
  )
5992
6019
  ] })
@@ -8462,81 +8489,77 @@ var PrintPreview = ({
8462
8489
  /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
8463
8490
  "div",
8464
8491
  {
8465
- className: "absolute inset-0 bg-black/50 backdrop-blur-sm",
8492
+ className: "absolute inset-0 bg-black/60 backdrop-blur-sm",
8466
8493
  onClick: onClose
8467
8494
  }
8468
8495
  ),
8469
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "relative h-full flex flex-col", children: [
8470
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "bg-white border-b shadow-sm px-6 py-3 flex items-center justify-between z-10", children: [
8471
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("h3", { className: "text-lg font-semibold text-gray-900", children: title }),
8472
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex items-center gap-3", children: [
8473
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex items-center gap-1 bg-gray-100 rounded-lg px-2 py-1", children: [
8474
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
8475
- "button",
8476
- {
8477
- onClick: handleZoomOut,
8478
- className: "p-1 hover:bg-gray-200 rounded transition-colors",
8479
- title: "Zoom arri\xE8re",
8480
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react18.ZoomOut, { className: "w-4 h-4 text-gray-600" })
8481
- }
8482
- ),
8483
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("span", { className: "text-sm text-gray-600 min-w-[3rem] text-center", children: [
8484
- zoom,
8485
- "%"
8486
- ] }),
8487
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
8488
- "button",
8489
- {
8490
- onClick: handleZoomIn,
8491
- className: "p-1 hover:bg-gray-200 rounded transition-colors",
8492
- title: "Zoom avant",
8493
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react18.ZoomIn, { className: "w-4 h-4 text-gray-600" })
8494
- }
8495
- )
8496
- ] }),
8497
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
8498
- "button",
8499
- {
8500
- onClick: () => handlePrint(),
8501
- className: "px-4 py-2 bg-blue-600 text-white text-sm font-medium rounded-lg hover:bg-blue-700 transition-colors flex items-center gap-2",
8502
- children: [
8503
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react18.Printer, { className: "w-4 h-4" }),
8504
- "Imprimer"
8505
- ]
8506
- }
8507
- ),
8508
- /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
8509
- "button",
8510
- {
8511
- onClick: () => handlePrint(),
8512
- className: "px-4 py-2 bg-green-600 text-white text-sm font-medium rounded-lg hover:bg-green-700 transition-colors flex items-center gap-2",
8513
- children: [
8514
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react18.Download, { className: "w-4 h-4" }),
8515
- "PDF"
8516
- ]
8517
- }
8518
- ),
8519
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
8520
- "button",
8521
- {
8522
- onClick: onClose,
8523
- className: "p-2 hover:bg-gray-100 rounded-full transition-colors",
8524
- title: "Fermer",
8525
- children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react18.X, { className: "w-5 h-5 text-gray-500" })
8526
- }
8527
- )
8528
- ] })
8529
- ] }),
8530
- /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "flex-1 overflow-auto bg-gray-200 p-6", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "flex justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
8496
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
8497
+ "button",
8498
+ {
8499
+ onClick: onClose,
8500
+ className: "absolute top-4 right-4 z-20 p-2 bg-white/90 hover:bg-white rounded-full shadow-lg transition-colors",
8501
+ title: "Fermer",
8502
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react18.X, { className: "w-5 h-5 text-gray-600" })
8503
+ }
8504
+ ),
8505
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "relative h-full flex items-center justify-center p-8", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex items-start gap-4 max-h-full", children: [
8506
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "overflow-auto max-h-[90vh] bg-transparent", children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
8531
8507
  "div",
8532
8508
  {
8533
8509
  ref: printRef,
8534
- className: "bg-white shadow-xl",
8510
+ className: "bg-white shadow-2xl",
8535
8511
  style: pageStyles,
8536
8512
  children
8537
8513
  }
8538
- ) }) })
8539
- ] })
8514
+ ) }),
8515
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("div", { className: "flex flex-col gap-2 bg-white rounded-lg shadow-lg p-2", children: [
8516
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
8517
+ "button",
8518
+ {
8519
+ onClick: () => handlePrint(),
8520
+ className: "p-3 hover:bg-gray-100 rounded-lg transition-colors flex flex-col items-center gap-1 group",
8521
+ title: "Imprimer / PDF",
8522
+ children: [
8523
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react18.FileText, { className: "w-6 h-6 text-gray-600 group-hover:text-blue-600" }),
8524
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("span", { className: "text-[10px] text-gray-500 group-hover:text-blue-600", children: "PDF" })
8525
+ ]
8526
+ }
8527
+ ),
8528
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "border-t border-gray-200 my-1" }),
8529
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
8530
+ "button",
8531
+ {
8532
+ onClick: () => handlePrint(),
8533
+ className: "p-3 hover:bg-gray-100 rounded-lg transition-colors flex flex-col items-center gap-1 group",
8534
+ title: "T\xE9l\xE9charger",
8535
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react18.Download, { className: "w-6 h-6 text-gray-600 group-hover:text-blue-600" })
8536
+ }
8537
+ ),
8538
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("div", { className: "border-t border-gray-200 my-1" }),
8539
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
8540
+ "button",
8541
+ {
8542
+ onClick: handleZoomIn,
8543
+ className: "p-3 hover:bg-gray-100 rounded-lg transition-colors",
8544
+ title: "Zoom avant",
8545
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react18.ZoomIn, { className: "w-5 h-5 text-gray-600" })
8546
+ }
8547
+ ),
8548
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)("span", { className: "text-xs text-gray-500 text-center py-1", children: [
8549
+ zoom,
8550
+ "%"
8551
+ ] }),
8552
+ /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
8553
+ "button",
8554
+ {
8555
+ onClick: handleZoomOut,
8556
+ className: "p-3 hover:bg-gray-100 rounded-lg transition-colors",
8557
+ title: "Zoom arri\xE8re",
8558
+ children: /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(import_lucide_react18.ZoomOut, { className: "w-5 h-5 text-gray-600" })
8559
+ }
8560
+ )
8561
+ ] })
8562
+ ] }) })
8540
8563
  ] });
8541
8564
  };
8542
8565
  var PRINT_GREEN = "#2d7d46";
package/dist/index.js CHANGED
@@ -5876,30 +5876,57 @@ var MinimalVendorForm = ({
5876
5876
  open: isOpen,
5877
5877
  onClose,
5878
5878
  children: /* @__PURE__ */ jsxs14("form", { onSubmit: handleSubmit, className: "p-", children: [
5879
- /* @__PURE__ */ jsx17("div", { className: "space-y-4", children: /* @__PURE__ */ jsxs14("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
5880
- /* @__PURE__ */ jsx17(
5881
- TextInput,
5882
- {
5883
- label: "Raison sociale",
5884
- name: "legal_name",
5885
- value: formData.legal_name || "",
5886
- placeholder: "Nom l\xE9gal de l'entit\xE9",
5887
- required: true,
5888
- error: errors.legal_name,
5889
- onChange: handleInputChange
5890
- }
5891
- ),
5892
- /* @__PURE__ */ jsx17(
5893
- TextInput,
5894
- {
5895
- label: "Nom commercial",
5896
- name: "trading_name",
5897
- value: formData.trading_name || "",
5898
- placeholder: "Nom commercial (optionnel)",
5899
- onChange: handleInputChange
5900
- }
5901
- )
5902
- ] }) }),
5879
+ /* @__PURE__ */ jsxs14("div", { className: "space-y-4", children: [
5880
+ /* @__PURE__ */ jsxs14("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
5881
+ /* @__PURE__ */ jsx17(
5882
+ TextInput,
5883
+ {
5884
+ label: "Raison sociale",
5885
+ name: "legal_name",
5886
+ value: formData.legal_name || "",
5887
+ placeholder: "Nom l\xE9gal de l'entit\xE9",
5888
+ required: true,
5889
+ error: errors.legal_name,
5890
+ onChange: handleInputChange
5891
+ }
5892
+ ),
5893
+ /* @__PURE__ */ jsx17(
5894
+ TextInput,
5895
+ {
5896
+ label: "Nom commercial",
5897
+ name: "trading_name",
5898
+ value: formData.trading_name || "",
5899
+ placeholder: "Nom commercial (optionnel)",
5900
+ onChange: handleInputChange
5901
+ }
5902
+ )
5903
+ ] }),
5904
+ /* @__PURE__ */ jsxs14("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: [
5905
+ /* @__PURE__ */ jsx17(
5906
+ InputField,
5907
+ {
5908
+ label: "T\xE9l\xE9phone",
5909
+ name: "phone",
5910
+ type: "tel",
5911
+ value: formData.phone || "",
5912
+ placeholder: "+33 1 23 45 67 89",
5913
+ onChange: handleInputChange
5914
+ }
5915
+ ),
5916
+ /* @__PURE__ */ jsx17(
5917
+ InputField,
5918
+ {
5919
+ label: "Email",
5920
+ name: "email",
5921
+ type: "email",
5922
+ value: formData.email || "",
5923
+ placeholder: "contact@entite.com",
5924
+ error: errors.email,
5925
+ onChange: handleInputChange
5926
+ }
5927
+ )
5928
+ ] })
5929
+ ] }),
5903
5930
  /* @__PURE__ */ jsxs14("div", { className: "flex justify-between pt-6 mt-8", children: [
5904
5931
  /* @__PURE__ */ jsx17(
5905
5932
  "button",
@@ -5916,7 +5943,7 @@ var MinimalVendorForm = ({
5916
5943
  type: "button",
5917
5944
  onClick: handleSubmit,
5918
5945
  disabled: loading,
5919
- children: loading ? "chargement..." : "Enregistrer l'entit\xE9"
5946
+ children: loading ? "chargement..." : "Enregistrer le fournisseur"
5920
5947
  }
5921
5948
  )
5922
5949
  ] })
@@ -8344,7 +8371,7 @@ var EntityFileManager = ({
8344
8371
  // src/components/common/PrintPreview.tsx
8345
8372
  import React20, { useRef as useRef6 } from "react";
8346
8373
  import { useReactToPrint } from "react-to-print";
8347
- import { X as X10, Printer as Printer2, Download as Download4, ZoomIn, ZoomOut } from "lucide-react";
8374
+ import { X as X10, Download as Download4, ZoomIn, ZoomOut, FileText as FileText4 } from "lucide-react";
8348
8375
  import { jsx as jsx30, jsxs as jsxs25 } from "react/jsx-runtime";
8349
8376
  var PrintableDocument = ({
8350
8377
  children,
@@ -8404,81 +8431,77 @@ var PrintPreview = ({
8404
8431
  /* @__PURE__ */ jsx30(
8405
8432
  "div",
8406
8433
  {
8407
- className: "absolute inset-0 bg-black/50 backdrop-blur-sm",
8434
+ className: "absolute inset-0 bg-black/60 backdrop-blur-sm",
8408
8435
  onClick: onClose
8409
8436
  }
8410
8437
  ),
8411
- /* @__PURE__ */ jsxs25("div", { className: "relative h-full flex flex-col", children: [
8412
- /* @__PURE__ */ jsxs25("div", { className: "bg-white border-b shadow-sm px-6 py-3 flex items-center justify-between z-10", children: [
8413
- /* @__PURE__ */ jsx30("h3", { className: "text-lg font-semibold text-gray-900", children: title }),
8414
- /* @__PURE__ */ jsxs25("div", { className: "flex items-center gap-3", children: [
8415
- /* @__PURE__ */ jsxs25("div", { className: "flex items-center gap-1 bg-gray-100 rounded-lg px-2 py-1", children: [
8416
- /* @__PURE__ */ jsx30(
8417
- "button",
8418
- {
8419
- onClick: handleZoomOut,
8420
- className: "p-1 hover:bg-gray-200 rounded transition-colors",
8421
- title: "Zoom arri\xE8re",
8422
- children: /* @__PURE__ */ jsx30(ZoomOut, { className: "w-4 h-4 text-gray-600" })
8423
- }
8424
- ),
8425
- /* @__PURE__ */ jsxs25("span", { className: "text-sm text-gray-600 min-w-[3rem] text-center", children: [
8426
- zoom,
8427
- "%"
8428
- ] }),
8429
- /* @__PURE__ */ jsx30(
8430
- "button",
8431
- {
8432
- onClick: handleZoomIn,
8433
- className: "p-1 hover:bg-gray-200 rounded transition-colors",
8434
- title: "Zoom avant",
8435
- children: /* @__PURE__ */ jsx30(ZoomIn, { className: "w-4 h-4 text-gray-600" })
8436
- }
8437
- )
8438
- ] }),
8439
- /* @__PURE__ */ jsxs25(
8440
- "button",
8441
- {
8442
- onClick: () => handlePrint(),
8443
- className: "px-4 py-2 bg-blue-600 text-white text-sm font-medium rounded-lg hover:bg-blue-700 transition-colors flex items-center gap-2",
8444
- children: [
8445
- /* @__PURE__ */ jsx30(Printer2, { className: "w-4 h-4" }),
8446
- "Imprimer"
8447
- ]
8448
- }
8449
- ),
8450
- /* @__PURE__ */ jsxs25(
8451
- "button",
8452
- {
8453
- onClick: () => handlePrint(),
8454
- className: "px-4 py-2 bg-green-600 text-white text-sm font-medium rounded-lg hover:bg-green-700 transition-colors flex items-center gap-2",
8455
- children: [
8456
- /* @__PURE__ */ jsx30(Download4, { className: "w-4 h-4" }),
8457
- "PDF"
8458
- ]
8459
- }
8460
- ),
8461
- /* @__PURE__ */ jsx30(
8462
- "button",
8463
- {
8464
- onClick: onClose,
8465
- className: "p-2 hover:bg-gray-100 rounded-full transition-colors",
8466
- title: "Fermer",
8467
- children: /* @__PURE__ */ jsx30(X10, { className: "w-5 h-5 text-gray-500" })
8468
- }
8469
- )
8470
- ] })
8471
- ] }),
8472
- /* @__PURE__ */ jsx30("div", { className: "flex-1 overflow-auto bg-gray-200 p-6", children: /* @__PURE__ */ jsx30("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx30(
8438
+ /* @__PURE__ */ jsx30(
8439
+ "button",
8440
+ {
8441
+ onClick: onClose,
8442
+ className: "absolute top-4 right-4 z-20 p-2 bg-white/90 hover:bg-white rounded-full shadow-lg transition-colors",
8443
+ title: "Fermer",
8444
+ children: /* @__PURE__ */ jsx30(X10, { className: "w-5 h-5 text-gray-600" })
8445
+ }
8446
+ ),
8447
+ /* @__PURE__ */ jsx30("div", { className: "relative h-full flex items-center justify-center p-8", children: /* @__PURE__ */ jsxs25("div", { className: "flex items-start gap-4 max-h-full", children: [
8448
+ /* @__PURE__ */ jsx30("div", { className: "overflow-auto max-h-[90vh] bg-transparent", children: /* @__PURE__ */ jsx30(
8473
8449
  "div",
8474
8450
  {
8475
8451
  ref: printRef,
8476
- className: "bg-white shadow-xl",
8452
+ className: "bg-white shadow-2xl",
8477
8453
  style: pageStyles,
8478
8454
  children
8479
8455
  }
8480
- ) }) })
8481
- ] })
8456
+ ) }),
8457
+ /* @__PURE__ */ jsxs25("div", { className: "flex flex-col gap-2 bg-white rounded-lg shadow-lg p-2", children: [
8458
+ /* @__PURE__ */ jsxs25(
8459
+ "button",
8460
+ {
8461
+ onClick: () => handlePrint(),
8462
+ className: "p-3 hover:bg-gray-100 rounded-lg transition-colors flex flex-col items-center gap-1 group",
8463
+ title: "Imprimer / PDF",
8464
+ children: [
8465
+ /* @__PURE__ */ jsx30(FileText4, { className: "w-6 h-6 text-gray-600 group-hover:text-blue-600" }),
8466
+ /* @__PURE__ */ jsx30("span", { className: "text-[10px] text-gray-500 group-hover:text-blue-600", children: "PDF" })
8467
+ ]
8468
+ }
8469
+ ),
8470
+ /* @__PURE__ */ jsx30("div", { className: "border-t border-gray-200 my-1" }),
8471
+ /* @__PURE__ */ jsx30(
8472
+ "button",
8473
+ {
8474
+ onClick: () => handlePrint(),
8475
+ className: "p-3 hover:bg-gray-100 rounded-lg transition-colors flex flex-col items-center gap-1 group",
8476
+ title: "T\xE9l\xE9charger",
8477
+ children: /* @__PURE__ */ jsx30(Download4, { className: "w-6 h-6 text-gray-600 group-hover:text-blue-600" })
8478
+ }
8479
+ ),
8480
+ /* @__PURE__ */ jsx30("div", { className: "border-t border-gray-200 my-1" }),
8481
+ /* @__PURE__ */ jsx30(
8482
+ "button",
8483
+ {
8484
+ onClick: handleZoomIn,
8485
+ className: "p-3 hover:bg-gray-100 rounded-lg transition-colors",
8486
+ title: "Zoom avant",
8487
+ children: /* @__PURE__ */ jsx30(ZoomIn, { className: "w-5 h-5 text-gray-600" })
8488
+ }
8489
+ ),
8490
+ /* @__PURE__ */ jsxs25("span", { className: "text-xs text-gray-500 text-center py-1", children: [
8491
+ zoom,
8492
+ "%"
8493
+ ] }),
8494
+ /* @__PURE__ */ jsx30(
8495
+ "button",
8496
+ {
8497
+ onClick: handleZoomOut,
8498
+ className: "p-3 hover:bg-gray-100 rounded-lg transition-colors",
8499
+ title: "Zoom arri\xE8re",
8500
+ children: /* @__PURE__ */ jsx30(ZoomOut, { className: "w-5 h-5 text-gray-600" })
8501
+ }
8502
+ )
8503
+ ] })
8504
+ ] }) })
8482
8505
  ] });
8483
8506
  };
8484
8507
  var PRINT_GREEN = "#2d7d46";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ptechcore_ui",
3
- "version": "1.0.30",
3
+ "version": "1.0.31",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",