@7shifts/sous-chef 3.38.0 → 3.39.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.
@@ -1,4 +1,7 @@
1
1
  import React from 'react';
2
2
  import { EmptyStateProps } from '../types';
3
- declare const EmptyStateContainerStack: ({ header, title, children, mediaUrl, actions, caption, isPaywall, testId }: EmptyStateProps) => React.JSX.Element;
3
+ type Props = {
4
+ mediaComponent?: React.ReactNode;
5
+ } & EmptyStateProps;
6
+ declare const EmptyStateContainerStack: ({ header, title, children, mediaUrl, actions, caption, isPaywall, testId, mediaComponent }: Props) => React.JSX.Element;
4
7
  export default EmptyStateContainerStack;
@@ -36,5 +36,9 @@
36
36
  },
37
37
  "Card": {
38
38
  "dismiss": "Dismiss"
39
+ },
40
+ "DataTable": {
41
+ "emptyStateTitle": "No results found",
42
+ "emptyStateCaption": "Try adding a new item to the list or adjust your search terms."
39
43
  }
40
44
  }
@@ -36,5 +36,9 @@
36
36
  },
37
37
  "Card": {
38
38
  "dismiss": "Descartar"
39
+ },
40
+ "DataTable": {
41
+ "emptyStateTitle": "No se encontraron resultados",
42
+ "emptyStateCaption": "Intenta agregar un nuevo elemento a la lista o ajusta tus términos de búsqueda."
39
43
  }
40
44
  }
@@ -36,5 +36,9 @@
36
36
  },
37
37
  "Card": {
38
38
  "dismiss": "Rejeter"
39
+ },
40
+ "DataTable": {
41
+ "emptyStateTitle": "Aucun résultat trouvé",
42
+ "emptyStateCaption": "Essayez d'ajouter un nouvel élément à la liste ou ajustez vos termes de recherche."
39
43
  }
40
44
  }
package/dist/index.css CHANGED
@@ -2430,6 +2430,46 @@ input:disabled + ._2W10t::after {
2430
2430
  right: -1px;
2431
2431
  bottom: -1px;
2432
2432
  }
2433
+ ._3mHDL {
2434
+ display: flex;
2435
+ width: 100%;
2436
+ justify-content: center;
2437
+ }
2438
+ ._11ygA {
2439
+ display: flex;
2440
+ justify-content: space-between;
2441
+ width: 424px;
2442
+ gap: 20px;
2443
+ flex-direction: column;
2444
+ align-items: center;
2445
+ }
2446
+ ._6o4Ut {
2447
+ display: flex;
2448
+ flex-direction: column;
2449
+ justify-content: center;
2450
+ gap: 20px;
2451
+ }
2452
+ ._1bs2I {
2453
+ max-width: 500px;
2454
+ }
2455
+ ._WwD-g {
2456
+ max-width: 667px;
2457
+ }
2458
+ ._1b3C0 {
2459
+ color: var(--color-grey-500);
2460
+ font-size: 12px;
2461
+ text-align: center;
2462
+ }
2463
+ ._3q5OJ {
2464
+ display: flex;
2465
+ gap: 8px;
2466
+ }
2467
+
2468
+ @media screen and (max-width: 900px) {
2469
+ ._3q5OJ:not(._3DOZC) {
2470
+ justify-content: center;
2471
+ }
2472
+ }
2433
2473
  ._1JTKu {
2434
2474
  flex: 1;
2435
2475
  display: "flex";
@@ -4495,41 +4535,6 @@ input._1zowl {
4495
4535
  background-color: var(--color-blueberry-200);
4496
4536
  color: var(--color-blueberry-600);
4497
4537
  }
4498
- ._11ygA {
4499
- display: flex;
4500
- justify-content: space-between;
4501
- width: 424px;
4502
- gap: 20px;
4503
- flex-direction: column;
4504
- align-items: center;
4505
- }
4506
- ._6o4Ut {
4507
- display: flex;
4508
- flex-direction: column;
4509
- justify-content: center;
4510
- gap: 20px;
4511
- }
4512
- ._1bs2I {
4513
- max-width: 500px;
4514
- }
4515
- ._WwD-g {
4516
- max-width: 667px;
4517
- }
4518
- ._1b3C0 {
4519
- color: var(--color-grey-500);
4520
- font-size: 12px;
4521
- text-align: center;
4522
- }
4523
- ._3q5OJ {
4524
- display: flex;
4525
- gap: 8px;
4526
- }
4527
-
4528
- @media screen and (max-width: 900px) {
4529
- ._3q5OJ:not(._3DOZC) {
4530
- justify-content: center;
4531
- }
4532
- }
4533
4538
  ._1AdW7 {
4534
4539
  display: flex;
4535
4540
  flex-direction: row;