josenanodev-react-components-library 0.0.8 → 0.0.10

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 (45) hide show
  1. package/dist/cjs/components/Multicalendar/Multicalendar.css +41 -231
  2. package/dist/cjs/components/Multicalendar/Multicalendar.d.ts +1 -1
  3. package/dist/cjs/components/Multicalendar/Multicalendar.js +45 -33
  4. package/dist/cjs/components/Multicalendar/MulticalendarOwnFunctions.d.ts +1 -1
  5. package/dist/cjs/components/Multicalendar/MulticalendarOwnFunctions.js +3 -3
  6. package/dist/cjs/components/Multicalendar/subcomponents/composites/DatesGrid/DatesGrid.css +5 -4
  7. package/dist/cjs/components/Multicalendar/subcomponents/individuals/DatesRow/DatesRow.js +1 -1
  8. package/dist/cjs/components/Multicalendar/types.d.ts +7 -3
  9. package/dist/cjs/components/SideBar/SideBar.css +50 -0
  10. package/dist/cjs/components/SideBar/SideBar.d.ts +8 -0
  11. package/dist/cjs/components/SideBar/SideBar.js +72 -0
  12. package/dist/cjs/components/SideBar/types.d.ts +7 -0
  13. package/dist/cjs/hooks/useOutsideClick.d.ts +6 -0
  14. package/dist/cjs/hooks/useOutsideClick.js +25 -0
  15. package/dist/cjs/hooks/useResizeObserver.d.ts +7 -0
  16. package/dist/cjs/hooks/useResizeObserver.js +30 -0
  17. package/dist/cjs/languages/en-EN.js +0 -170
  18. package/dist/cjs/languages/es-ES.js +0 -170
  19. package/dist/cjs/languages/it-IT.js +0 -170
  20. package/dist/cjs/languages/types.d.ts +0 -170
  21. package/dist/cjs/mocks/ReactComponentMocksForTesting/CellChildrenMock.js +1 -1
  22. package/dist/cjs/stories/css-presets.css +77 -0
  23. package/dist/esm/components/Multicalendar/Multicalendar.css +41 -231
  24. package/dist/esm/components/Multicalendar/Multicalendar.d.ts +1 -1
  25. package/dist/esm/components/Multicalendar/Multicalendar.js +47 -35
  26. package/dist/esm/components/Multicalendar/MulticalendarOwnFunctions.d.ts +1 -1
  27. package/dist/esm/components/Multicalendar/MulticalendarOwnFunctions.js +3 -3
  28. package/dist/esm/components/Multicalendar/subcomponents/composites/DatesGrid/DatesGrid.css +5 -4
  29. package/dist/esm/components/Multicalendar/subcomponents/individuals/DatesRow/DatesRow.js +1 -1
  30. package/dist/esm/components/Multicalendar/types.d.ts +7 -3
  31. package/dist/esm/components/SideBar/SideBar.css +50 -0
  32. package/dist/esm/components/SideBar/SideBar.d.ts +8 -0
  33. package/dist/esm/components/SideBar/SideBar.js +44 -0
  34. package/dist/esm/components/SideBar/types.d.ts +7 -0
  35. package/dist/esm/hooks/useOutsideClick.d.ts +6 -0
  36. package/dist/esm/hooks/useOutsideClick.js +23 -0
  37. package/dist/esm/hooks/useResizeObserver.d.ts +7 -0
  38. package/dist/esm/hooks/useResizeObserver.js +28 -0
  39. package/dist/esm/languages/en-EN.js +0 -170
  40. package/dist/esm/languages/es-ES.js +0 -170
  41. package/dist/esm/languages/it-IT.js +0 -170
  42. package/dist/esm/languages/types.d.ts +0 -170
  43. package/dist/esm/mocks/ReactComponentMocksForTesting/CellChildrenMock.js +1 -1
  44. package/dist/esm/stories/css-presets.css +77 -0
  45. package/package.json +7 -7
@@ -1,18 +1,5 @@
1
1
  const italian = {
2
- "of": "di",
3
- "Automatized": "Automatizzato",
4
- "properties": "Proprietà",
5
- "stablishment": "Stabilimento",
6
- "stablishments": "Stabilimenti",
7
- "Loading": "Caricando",
8
2
  "Today": "Oggi",
9
- "Filters": "Filtri",
10
- "Search": "Cercare",
11
- "Property Manager": "Property Manager",
12
- "Zones": "Zone",
13
- "Properties": "Proprietà",
14
- "Categories": "Categorie",
15
- "Clear filters": "Rimuovere filtri",
16
3
  "monday": "lunedí",
17
4
  "tuesday": "martedí",
18
5
  "wednesday": "mercoledí",
@@ -32,162 +19,5 @@ const italian = {
32
19
  "october": "ottobre",
33
20
  "november": "novembre",
34
21
  "december": "dicembre",
35
- "days": "giorni",
36
- "Reload": "Ricarica",
37
- "Reload properties": "Ricarica proprietà",
38
- "Reload prices": "Ricarica prezzi",
39
- "Competitors": "Concorrenza",
40
- "Quick view": "Visualizzazione rapida",
41
- "View KPIs": "Vedere KPIs",
42
- "Recommended price": "Prezzo raccomandato",
43
- "Minimal price": "Prezzo Minimo",
44
- "Base price": "Prezzo Base",
45
- "PMS price": "Prezzo PMS",
46
- "Change by quantity": "Modifica con numeri interi",
47
- "Change by percentage": "Modifica con percentuali",
48
- "Competitors price": "Prezzo Concorrenza",
49
- "Minimal stay": "Soggiorno Minimo",
50
- "Availability": "Disponibilità",
51
- "Auto adjustment": "Regolazione automatica",
52
- "Ajust leftout days": "Regolare giorni orfani",
53
- "Send prices to OTAs": "Mandare prezzi alle OTAs",
54
- "Update competitors prices": "Aggiornare i prezzi della concorrenza",
55
- "Go back to original values": "Ritornare ai valori di origine",
56
- "Updating competitors prices": "Aggiornando i prezzi della concorrenza",
57
- "Select price type": "Selezionare il tipo di prezzo",
58
- "Base": "Base",
59
- "Recommended": "Consigliato",
60
- "Minimal": "Minimo",
61
- "It is the ideal price of the market": "È il prezzo più adatto in base al mercato.",
62
- "It is the price desired by the property manager": "È il prezzo desiderato dal Property Manager",
63
- "It is the highest value between recommended and base price": "È il prezzo più alto tra il prezzo base e il prezzo consigliato",
64
- "Go back": "Indietro",
65
- "Apply": "Applicare",
66
- "Send": "Inviare",
67
- "Cancel": "Cancellare",
68
- "Schedule": "Programmare",
69
- "Menu": "Menú",
70
- "Multidashboard": "Multidashboard",
71
- "Settings": "Configurazione",
72
- "General report": "Rapporto generale",
73
- "Property resume": "Dettagli sulla struttura",
74
- "Price settings": "Configurazione dei prezzi",
75
- "Update competitors prices up to 1 year": "Aggiornare il prezzo della concorrenza a 1 anno",
76
- "Performance manager": "Performance Manager",
77
- "Pickup": "Pickup",
78
- "Forecast": "Forecast",
79
- "Rate shopper": "Rate shopper",
80
- "Aspirational compset": "Compset aspirazionale",
81
- "Individual dashboard": "Dashboard individuale",
82
- "Individual report": "Rapporto individuale",
83
- "Schedule automatic prices sends": "Programmare l'invio automatico dei prezzi",
84
- "Send new prices now": "Mandare nuovi prezzi adesso",
85
- "Select date range": "Selezionare l'intervallo di date",
86
- "Custom range": "Intervallo personalizzato",
87
- "Generate prices Excel file": "Generare prezzi in Excel",
88
- "Select channels, Mark Up and currency": "Selezionare i canali, il mark up e la valuta",
89
- "Channel": "Canale",
90
- "Mark Up": "Mark Up",
91
- "MLOS": "MLOS",
92
- "Currency": "Valuta",
93
- "Add channel": "Aggiungere canale",
94
- "Export to Excel": "Esportare a excel",
95
- "Save settings": "Salvare impostazioni",
96
- "Controls": "Controlli",
97
- "General data": "Dati generali",
98
- "Work days": "Giorni lavorativi",
99
- "Weekends and holydays": "Fine settimana e giorni festivi",
100
- "Fixed expenses": "Costi fissi",
101
- "Varaible expenses": "Costi variabili",
102
- "Local currency": "Valuta",
103
- "Symbol": "Simbolo",
104
- "Cleaning fee": "Costi delle pulizie",
105
- "Weekdays discounts": "Sconti per giorni della settimana",
106
- "Seasons discounts": "Sconti stagionali",
107
- "High": "Alta",
108
- "Medium high": "Mezzo alta",
109
- "Medium": "Mezza",
110
- "Medium low": "Mezzo bassa",
111
- "Low": "Bassa",
112
- "Left out days": "Giorni Orfani",
113
- "Release": "Release",
114
- "Increase": "Aumento",
115
- "Occupation rules": "Regole di occupazione",
116
- "Apply rules": "Applicare regole",
117
- "Max OCC": "Massima OCC",
118
- "Max ADR": "Massimo ADR",
119
- "Final autoprice": "Autoprezzo finale",
120
- "Release (N days)": "Release (N giorni)",
121
- "% Occupation": "% Occupazione",
122
- "% Discount": "% Sconto",
123
- "Maximum": "Massima",
124
- "Pax. Mapped": "Mapping Persone",
125
- "Minimal occ.": "Occup. Minima",
126
- "Maxmimum occ.": "Occup. Massima",
127
- "Type of adjustment": "Tipo di impostazione",
128
- "Personalized": "Personalizzato",
129
- "Price per guest": "Prezzo per ospite",
130
- "Occupation": "Occupazione",
131
- "Pax occupation": "Pax occupazione",
132
- "Price": "Prezzo",
133
- "Guests": "Persone",
134
- "Regular price rised by:": "Prezzo abituale aumentato a:",
135
- "Regular price decreased by:": "Prezzo abituale ridotto a:",
136
- "PAX price": "Prezzo secondo numero persone",
137
- "Go back to Multiprice": "Ritornare al multiprice",
138
- "Seasons": "Stagioni",
139
- "1º Fortnight": "1º Quindicina",
140
- "2º Fortnight": "2º Quindicina",
141
- "Workdays": "Lavorativi",
142
- "Weekend": "Fine settimana",
143
- "Go back to initial price settings": "Torna all'impostazione tariffaria iniziale",
144
- "Settings saved succesfully": "Impostazioni salvate con successo",
145
- "Seasons and minimal stays saved succesfully": "Stagioni e soggiorni minimi salvati con successo",
146
- "An error has ocurred, try again later": "Si è verificato un errore, riprovare più tardi",
147
- "All task have been succesfully achived. We are waiting to recieve data from the OTA. This task can take up to 15min.": "Tutti i compiti sono stati eseguiti correttamente. Siamo in attesa di ricevere i dati dall'OTA. Questa operazione può richiedere fino a 15 minuti.",
148
- "It was no possible to send the task to update the competitors prices": "Non è stato possibile presentare la richiesta di aggiornamento dei prezzi della concorrenza.",
149
- "Server is under mantanance, please wait until the service is brought back to you": "Stiamo eseguendo lavori di manutenzione. Il servizio sarà ripristinato a breve.",
150
- "There has been an error, please try again": "Si è verificato un errore nell'elaborazione della richiesta, si prega di riprovare.",
151
- "prices will be sent periodically": "i prezzi verranno inviati periodicamente",
152
- "Selected dates": "Date selezionate",
153
- "Days range": "Intervallo di giorni",
154
- "Revenue": "Revenue",
155
- "ADR": "ADR",
156
- "Appliable days of the week": "Giorni della settimana applicabili",
157
- "Manual edition": "Modifica manuale",
158
- "Period": "Periodo",
159
- "Protect prices": "Proteggi i prezzi",
160
- "Protect MLOS": "Proteggi i MLOS",
161
- "Unprotect prices": "Prezzi non protetti",
162
- "Unprotect MLOS": "MLOS non protetti",
163
- "Import prices from PMS": "Prezzi all'importazione da PMS",
164
- "Settings type": "Tipo di impostazioni",
165
- "Customized": "Personalizzate",
166
- "Prices have been successfully sent": "I prezzi sono stati inviati con successo",
167
- "There has been an error while trying to send the selected prices, please try again later": "Si è verificato un errore durante il tentativo di inviare i prezzi selezionati, riprova più tardi",
168
- "Copy settings to other properties": "Copia impostazioni in altre proprietà",
169
- "Select the properties to which the settings will be copied": "Selezionare le proprietà in cui verranno copiate le impostazioni",
170
- "NOTE: All the settings on the selected properties will be overwriten, previous settings in each of the will be lost": "NOTA: tutte le impostazioni delle proprietà selezionate verranno sovrascritte, tutte le impostazioni precedenti verranno eliminate",
171
- "Request import": "Richiedi importazione",
172
- "Atention!": "Attenzione!",
173
- "You are trying to lower a price below the minimal price, this can't be done, the price will stay at the minimum": "Stai cercando di abbassare un prezzo al di sotto del prezzo minimo, questo non può essere fatto, il prezzo rimarrà al minimo",
174
- "Don't show this again": "Non mostrarlo più",
175
- "Import successfully requested, this task can take up to 10 minutes": "Importazione richiesta correttamente, questa attività può richiedere fino a 10 minuti",
176
- "Import requested have failed, please try again later": "L'importazione richiesta non è riuscita, riprova più tardi",
177
- "Some custom changes are not protected": "Alcune modifiche personalizzate non sono protette",
178
- "There are unprotected custom changes that will be sent. Remember to protect any change in base price or minimal stay, otherwise the changes will be lost on further calculus": "Sono presenti modifiche personalizzate non protette che verranno inviate. Ricorda di proteggere qualsiasi modifica del prezzo base o del soggiorno minimo, altrimenti le modifiche andranno perse in ulteriori calcoli",
179
- "Protect changes and send": "Proteggi le modifiche e invia",
180
- "Send changes without protecting": "Invia modifiche senza protezione",
181
- "Please define base price values before saving": "Si prega di definire il prezzo base prima di salvare",
182
- "Please define pax mapped before saving": "Si prega di definire la pax mappata prima di salvare",
183
- "Do you want to save your changes?": "Vuoi salvare le tue modifiche?",
184
- "A request will be sent to save your settings": "Verrà inviata una richiesta per salvare le impostazioni",
185
- "Minimal price by season": "Prezzo minimo stagionali",
186
- "Minimum price according to costs": "Prezzo minimo in base ai costi",
187
- "Break even": "Punto critico",
188
- "The minimal price of a season can't be lower than the minimal price according to costs": "Il prezzo minimo di una stagione non può essere inferiore al prezzo minimo in base ai costi",
189
- "Season": "Stagione",
190
- "Event": "Evento",
191
- "Holiday": "Vacanza",
192
22
  };
193
23
  export default italian;
@@ -1,18 +1,5 @@
1
1
  export type languageType = {[key: string]: string} & {
2
- "of": string
3
- "Automatized": string,
4
- "properties": string,
5
- "stablishment": string,
6
- "stablishments": string,
7
- "Loading": string,
8
2
  "Today": string,
9
- "Filters": string,
10
- "Search": string,
11
- "Property Manager": string,
12
- "Zones": string,
13
- "Properties": string,
14
- "Categories": string,
15
- "Clear filters": string,
16
3
  "monday": string,
17
4
  "tuesday": string,
18
5
  "wednesday": string,
@@ -32,161 +19,4 @@ export type languageType = {[key: string]: string} & {
32
19
  "october": string,
33
20
  "november": string,
34
21
  "december": string,
35
- "days": string,
36
- "Reload": string,
37
- "Reload properties": string,
38
- "Reload prices": string,
39
- "Competitors": string,
40
- "Quick view": string,
41
- "View KPIs": string,
42
- "Recommended price": string,
43
- "Minimal price": string,
44
- "Base price": string,
45
- "PMS price": string,
46
- "Change by quantity": string,
47
- "Change by percentage": string,
48
- "Competitors price": string,
49
- "Minimal stay": string,
50
- "Availability": string,
51
- "Auto adjustment": string,
52
- "Ajust leftout days": string,
53
- "Send prices to OTAs": string,
54
- "Update competitors prices": string,
55
- "Go back to original values": string,
56
- "Updating competitors prices": string,
57
- "Select price type": string,
58
- "Base": string,
59
- "Recommended": string,
60
- "Minimal": string,
61
- "It is the ideal price of the market": string,
62
- "It is the price desired by the property manager": string,
63
- "It is the highest value between recommended and base price": string,
64
- "Go back": string,
65
- "Apply": string,
66
- "Send": string,
67
- "Cancel": string,
68
- "Schedule": string,
69
- "Menu": string,
70
- "Multidashboard": string,
71
- "Settings": string,
72
- "General report": string,
73
- "Property resume": string,
74
- "Price settings": string,
75
- "Update competitors prices up to 1 year": string,
76
- "Performance manager": string,
77
- "Pickup": string,
78
- "Forecast": string,
79
- "Rate shopper": string,
80
- "Aspirational compset": string,
81
- "Individual dashboard": string,
82
- "Individual report": string,
83
- "Schedule automatic prices sends": string,
84
- "Send new prices now": string,
85
- "Select date range": string,
86
- "Custom range": string,
87
- "Generate prices Excel file": string,
88
- "Select channels, Mark Up and currency": string,
89
- "Channel": string,
90
- "Mark Up": string,
91
- "MLOS": string,
92
- "Currency": string,
93
- "Add channel": string,
94
- "Export to Excel": string,
95
- "Save settings": string,
96
- "Controls": string,
97
- "General data": string,
98
- "Work days": string,
99
- "Weekends and holydays": string,
100
- "Fixed expenses": string,
101
- "Varaible expenses": string,
102
- "Local currency": string,
103
- "Symbol": string,
104
- "Cleaning fee": string,
105
- "Weekdays discounts": string,
106
- "Seasons discounts": string,
107
- "High": string,
108
- "Medium high": string,
109
- "Medium": string,
110
- "Medium low": string,
111
- "Low": string,
112
- "Left out days": string,
113
- "Release": string,
114
- "Increase": string,
115
- "Occupation rules": string,
116
- "Apply rules": string,
117
- "Max OCC": string,
118
- "Max ADR": string,
119
- "Final autoprice": string,
120
- "Release (N days)": string,
121
- "% Occupation": string,
122
- "% Discount": string,
123
- "Maximum": string,
124
- "Pax. Mapped": string,
125
- "Minimal occ.": string,
126
- "Maxmimum occ.": string,
127
- "Type of adjustment": string,
128
- "Personalized": string,
129
- "Price per guest": string,
130
- "Occupation": string,
131
- "Pax occupation": string,
132
- "Price": string,
133
- "Guests": string,
134
- "Regular price rised by:": string,
135
- "Regular price decreased by:": string,
136
- "PAX price": string,
137
- "Go back to Multiprice": string,
138
- "Seasons": string,
139
- "1º Fortnight": string;
140
- "2º Fortnight": string;
141
- "Workdays": string;
142
- "Weekend": string;
143
- "Go back to initial price settings": string;
144
- "Settings saved succesfully": string;
145
- "Seasons and minimal stays saved succesfully": string;
146
- "An error has ocurred, try again later": string;
147
- "All task have been succesfully achived. We are waiting to recieve data from the OTA. This task can take up to 15min.": string,
148
- "It was no possible to send the task to update the competitors prices": string;
149
- "Server is under mantanance, please wait until the service is brought back to you": string;
150
- "There has been an error, please try again": string;
151
- "prices will be sent periodically": string;
152
- "Selected dates": string;
153
- "Days range": string;
154
- "Revenue": string;
155
- "ADR": string;
156
- "Appliable days of the week": string;
157
- "Manual edition": string;
158
- "Period": string;
159
- "Protect prices": string;
160
- "Protect MLOS": string;
161
- "Unprotect prices": string;
162
- "Unprotect MLOS": string;
163
- "Import prices from PMS": string;
164
- "Settings type": string;
165
- "Customized": string;
166
- "Prices have been successfully sent": string;
167
- "There has been an error while trying to send the selected prices, please try again later": string;
168
- "Copy settings to other properties": string;
169
- "Select the properties to which the settings will be copied": string;
170
- "NOTE: All the settings on the selected properties will be overwriten, previous settings in each of the will be lost": string;
171
- "Request import": string;
172
- "Atention!": string;
173
- "You are trying to lower a price below the minimal price, this can't be done, the price will stay at the minimum": string;
174
- "Don't show this again": string;
175
- "Import successfully requested, this task can take up to 10 minutes": string;
176
- "Import requested have failed, please try again later": string;
177
- "Some custom changes are not protected": string;
178
- "There are unprotected custom changes that will be sent. Remember to protect any change in base price or minimal stay, otherwise the changes will be lost on further calculus": string;
179
- "Protect changes and send": string;
180
- "Send changes without protecting": string;
181
- "Please define base price values before saving": string;
182
- "Please define pax mapped before saving": string;
183
- "Do you want to save your changes?": string;
184
- "A request will be sent to save your settings": string;
185
- "Minimal price by season": string;
186
- "Minimum price according to costs": string;
187
- "Break even": string;
188
- "The minimal price of a season can't be lower than the minimal price according to costs": string;
189
- "Season": string;
190
- "Event": string;
191
- "Holiday": string;
192
22
  }
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  const CellChildrenMock = ({ date, listElementId }) => {
3
- return (React.createElement("div", null,
3
+ return (React.createElement("div", { style: { userSelect: "none" } },
4
4
  date,
5
5
  React.createElement("br", null),
6
6
  listElementId));
@@ -0,0 +1,77 @@
1
+ body {
2
+ margin: 0;
3
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
4
+ "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
5
+ -webkit-font-smoothing: antialiased;
6
+ -moz-osx-font-smoothing: grayscale;
7
+ color: black;
8
+ }
9
+
10
+ body p {
11
+ line-height: normal;
12
+ margin: 0;
13
+ }
14
+
15
+ code {
16
+ font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
17
+ }
18
+
19
+ :root {
20
+ --primary-color: #ec6321;
21
+ --secondary-color: #46ba0d;
22
+ --green-palette-one: #7bce51;
23
+ --green-palette-two: #52ac25;
24
+ --green-palette-three: #3a8117;
25
+ --green-palette-four: #27580f;
26
+ --green-palette-five: #1b3a0c;
27
+ }
28
+
29
+ input[type="checkbox"] {
30
+ /* Add if not using autoprefixer */
31
+ -webkit-appearance: none;
32
+ /* Remove most all native input styles */
33
+ appearance: none;
34
+ /* For iOS < 15 */
35
+ background-color: white;
36
+ /* Not removed via appearance */
37
+ margin: 0;
38
+
39
+ font: inherit;
40
+ color: dimgray;
41
+ min-width: 1.15em;
42
+ width: 1.15em;
43
+ height: 1.15em;
44
+ border: 0.15em solid dimgray;
45
+ border-radius: 0.15em;
46
+ display: flex;
47
+ align-items: center;
48
+ justify-content: center;
49
+ cursor: pointer;
50
+ }
51
+
52
+ input[type="checkbox"]::before {
53
+ content: "";
54
+ width: 0.65em;
55
+ height: 0.65em;
56
+ clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
57
+ transform: scale(0);
58
+ transform-origin: bottom left;
59
+ transition: 120ms transform ease-in-out;
60
+ box-shadow: inset 1em 1em var(--primary-color);
61
+ /* Windows High Contrast Mode */
62
+ background-color: CanvasText;
63
+ }
64
+
65
+ input[type="checkbox"]:checked::before {
66
+ transform: scale(1);
67
+ }
68
+
69
+ input[type="checkbox"]:focus {
70
+ outline: max(2px, 0.08em) solid rgb(145, 145, 145);
71
+ outline-offset: max(2px, 0.08em);
72
+ }
73
+
74
+ input[type="checkbox"]:disabled {
75
+ color: rgb(165, 165, 165);
76
+ cursor: not-allowed;
77
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "josenanodev-react-components-library",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "author": "Jose Carlos Cardenas Martinez",
5
5
  "description": "Libreria de componentes React personales",
6
6
  "license": "MIT",
@@ -17,6 +17,7 @@
17
17
  "devDependencies": {
18
18
  "@babel/core": "^7.20.12",
19
19
  "@babel/preset-typescript": "^7.17.12",
20
+ "@babel/runtime": "^7.20.7",
20
21
  "@storybook/addon-actions": "^6.5.15",
21
22
  "@storybook/addon-essentials": "^6.5.15",
22
23
  "@storybook/addon-interactions": "^6.5.15",
@@ -49,18 +50,17 @@
49
50
  "react-icons": "^4.7.1"
50
51
  },
51
52
  "scripts": {
52
- "start": "set PORT=80 && react-scripts start",
53
+ "storybook": "start-storybook -p 6006",
53
54
  "build": "rm -rf ./dist && npm run build:esm && npm run build:cjs && npm run copy-dts:cjs && npm run copy-dts:esm && npm run copy-css:cjs && npm run copy-css:esm ",
55
+ "build-storybook": "build-storybook",
56
+ "test": "jest --coverage",
57
+ "tsc": "tsc",
54
58
  "build:esm": "tsc",
55
59
  "build:cjs": "tsc --module CommonJS --outDir dist/cjs",
56
60
  "copy-dts:cjs": "copyfiles -u 1 \"src/**/*.d.ts\" dist/cjs",
57
61
  "copy-dts:esm": "copyfiles -u 1 \"src/**/*.d.ts\" dist/esm",
58
62
  "copy-css:cjs": "copyfiles -u 1 \"src/**/*.css\" dist/cjs",
59
- "copy-css:esm": "copyfiles -u 1 \"src/**/*.css\" dist/esm",
60
- "test": "jest --coverage",
61
- "tsc": "tsc",
62
- "storybook": "start-storybook -p 6006",
63
- "build-storybook": "build-storybook"
63
+ "copy-css:esm": "copyfiles -u 1 \"src/**/*.css\" dist/esm"
64
64
  },
65
65
  "eslintConfig": {
66
66
  "extends": [