@7shifts/sous-chef 3.34.0-beta.2 → 3.34.0-beta0
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 +0 -1
- package/dist/NoneFound~NeRgtMTh.svg +14 -0
- package/dist/actions/Button/Button.d.ts +3 -3
- package/dist/core/ComponentIdentifier/ComponentIdentifier.d.ts +11 -0
- package/dist/core/ComponentIdentifier/ComponentIdentifierContext.d.ts +6 -0
- package/dist/core/ComponentIdentifier/constants.d.ts +3 -0
- package/dist/core/ComponentIdentifier/useIsInsideComponent.d.ts +2 -0
- package/dist/empty_states/EmptyState/EmptyState.d.ts +3 -3
- package/dist/empty_states/EmptyStateContainer/types.d.ts +7 -0
- package/dist/empty_states/Paywall/Paywall.d.ts +3 -2
- package/dist/forms/CheckboxField/CheckboxField.d.ts +2 -1
- package/dist/forms/CurrencyField/CurrencyField.d.ts +21 -1
- package/dist/forms/CurrencyField/constants.d.ts +2 -0
- package/dist/forms/DateRangeField/ToDate/ToDate.d.ts +2 -2
- package/dist/forms/Field/Field.d.ts +2 -1
- package/dist/forms/TextField/TextField.d.ts +26 -2
- package/dist/forms/TextField/useTextField.d.ts +5 -2
- package/dist/forms/TimeField/TimeField.d.ts +21 -1
- package/dist/i18n/locales/en.json +7 -0
- package/dist/i18n/locales/es.json +7 -0
- package/dist/i18n/locales/fr.json +7 -0
- package/dist/i18n/types.d.ts +2 -0
- package/dist/i18n/useTranslation.d.ts +2 -2
- package/dist/icons/components/IconHatChef.d.ts +9 -0
- package/dist/icons/components/IconPlateUtensils.d.ts +9 -0
- package/dist/icons/components/index.d.ts +2 -0
- package/dist/icons/iconUtils.d.ts +2 -2
- package/dist/index.css +117 -80
- package/dist/index.js +2410 -860
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2405 -857
- package/dist/index.modern.js.map +1 -1
- package/dist/layout/CalloutCard/CalloutCard.d.ts +3 -0
- package/dist/layout/Card/Card.d.ts +4 -3
- package/dist/layout/Flex/Flex.d.ts +2 -2
- package/dist/layout/Inline/Inline.d.ts +2 -2
- package/dist/layout/Stack/Stack.d.ts +2 -2
- package/dist/lists/DataTable/DataTable.d.ts +5 -3
- package/dist/lists/DataTable/DataTableEmptyState/DataTableEmptyState.d.ts +8 -0
- package/dist/lists/DataTable/DataTableEmptyState/index.d.ts +1 -0
- package/dist/lists/DataTable/constants.d.ts +1 -0
- package/dist/lists/DataTable/types.d.ts +6 -1
- package/dist/media/Badge/Badge.d.ts +2 -2
- package/dist/overlay/DropdownList/domain.d.ts +0 -1
- package/dist/overlay/Modal/Modal.d.ts +3 -2
- package/dist/overlay/Tooltip/Tooltip.d.ts +2 -2
- package/dist/utils/elements.d.ts +7 -0
- package/dist/utils/props.d.ts +4 -1
- package/package.json +2 -1
package/dist/index.css
CHANGED
|
@@ -1410,7 +1410,7 @@ h5._32amZ {
|
|
|
1410
1410
|
box-sizing: border-box;
|
|
1411
1411
|
background: white;
|
|
1412
1412
|
border: 1px solid var(--color-grey-200);
|
|
1413
|
-
border-radius:
|
|
1413
|
+
border-radius: 20px;
|
|
1414
1414
|
width: 100%;
|
|
1415
1415
|
height: 100%;
|
|
1416
1416
|
padding: 24px 20px;
|
|
@@ -1447,12 +1447,22 @@ h5._32amZ {
|
|
|
1447
1447
|
._L9ZA7 {
|
|
1448
1448
|
position: absolute;
|
|
1449
1449
|
z-index: var(--z-index-base);
|
|
1450
|
-
right:
|
|
1451
|
-
top:
|
|
1450
|
+
right: 6px;
|
|
1451
|
+
top: 6px;
|
|
1452
1452
|
}
|
|
1453
1453
|
._5YidV {
|
|
1454
1454
|
pointer-events: none;
|
|
1455
1455
|
}
|
|
1456
|
+
._37yla {
|
|
1457
|
+
position: absolute;
|
|
1458
|
+
width: 38px;
|
|
1459
|
+
height: 38px;
|
|
1460
|
+
top: 6px;
|
|
1461
|
+
right: 6px;
|
|
1462
|
+
}
|
|
1463
|
+
._3J4FP {
|
|
1464
|
+
pointer-events: none;
|
|
1465
|
+
}
|
|
1456
1466
|
._cQT44 {
|
|
1457
1467
|
position: absolute;
|
|
1458
1468
|
width: 38px;
|
|
@@ -1529,7 +1539,7 @@ h5._32amZ {
|
|
|
1529
1539
|
}
|
|
1530
1540
|
._ORvUI {
|
|
1531
1541
|
stroke: var(--color-grey-100);
|
|
1532
|
-
fill:
|
|
1542
|
+
fill: transparent;
|
|
1533
1543
|
}
|
|
1534
1544
|
._2KJMe {
|
|
1535
1545
|
stroke: var(--color-mint-400);
|
|
@@ -1649,7 +1659,7 @@ h5._32amZ {
|
|
|
1649
1659
|
word-break: break-word;
|
|
1650
1660
|
-webkit-hyphens: auto;
|
|
1651
1661
|
hyphens: auto;
|
|
1652
|
-
background:
|
|
1662
|
+
background: var(--color-white);
|
|
1653
1663
|
}
|
|
1654
1664
|
._3Jay_:first-of-type {
|
|
1655
1665
|
border-left: 1px solid var(--color-grey-200);
|
|
@@ -2146,6 +2156,8 @@ input:disabled + ._2W10t::after {
|
|
|
2146
2156
|
border-color: var(--color-eggplant-400);
|
|
2147
2157
|
box-shadow: 0 0 8px var(--color-eggplant-300);
|
|
2148
2158
|
outline: none;
|
|
2159
|
+
overflow: visible;
|
|
2160
|
+
z-index: var(--z-index-base);
|
|
2149
2161
|
}
|
|
2150
2162
|
._1-1WW input:hover {
|
|
2151
2163
|
background: var(--color-grey-100);
|
|
@@ -2418,6 +2430,92 @@ input:disabled + ._2W10t::after {
|
|
|
2418
2430
|
right: -1px;
|
|
2419
2431
|
bottom: -1px;
|
|
2420
2432
|
}
|
|
2433
|
+
._11ygA {
|
|
2434
|
+
display: flex;
|
|
2435
|
+
justify-content: space-between;
|
|
2436
|
+
width: 424px;
|
|
2437
|
+
gap: 20px;
|
|
2438
|
+
flex-direction: column;
|
|
2439
|
+
align-items: center;
|
|
2440
|
+
}
|
|
2441
|
+
._6o4Ut {
|
|
2442
|
+
display: flex;
|
|
2443
|
+
flex-direction: column;
|
|
2444
|
+
justify-content: center;
|
|
2445
|
+
gap: 20px;
|
|
2446
|
+
}
|
|
2447
|
+
._1bs2I {
|
|
2448
|
+
max-width: 500px;
|
|
2449
|
+
}
|
|
2450
|
+
._WwD-g {
|
|
2451
|
+
max-width: 667px;
|
|
2452
|
+
}
|
|
2453
|
+
._1b3C0 {
|
|
2454
|
+
color: var(--color-grey-500);
|
|
2455
|
+
font-size: 12px;
|
|
2456
|
+
text-align: center;
|
|
2457
|
+
}
|
|
2458
|
+
._3q5OJ {
|
|
2459
|
+
display: flex;
|
|
2460
|
+
gap: 8px;
|
|
2461
|
+
}
|
|
2462
|
+
|
|
2463
|
+
@media screen and (max-width: 900px) {
|
|
2464
|
+
._3q5OJ:not(._3DOZC) {
|
|
2465
|
+
justify-content: center;
|
|
2466
|
+
}
|
|
2467
|
+
}
|
|
2468
|
+
._1AdW7 {
|
|
2469
|
+
display: flex;
|
|
2470
|
+
flex-direction: row;
|
|
2471
|
+
justify-content: space-between;
|
|
2472
|
+
}
|
|
2473
|
+
._Y1L-A {
|
|
2474
|
+
flex-direction: row-reverse;
|
|
2475
|
+
padding-top: 20px;
|
|
2476
|
+
padding-bottom: 20px;
|
|
2477
|
+
}
|
|
2478
|
+
._1E308 {
|
|
2479
|
+
display: flex;
|
|
2480
|
+
flex-direction: column;
|
|
2481
|
+
justify-content: center;
|
|
2482
|
+
gap: 20px;
|
|
2483
|
+
}
|
|
2484
|
+
._P5jRb {
|
|
2485
|
+
max-width: 500px;
|
|
2486
|
+
}
|
|
2487
|
+
._vkAs2 {
|
|
2488
|
+
max-width: 667px;
|
|
2489
|
+
}
|
|
2490
|
+
._1o2PF {
|
|
2491
|
+
color: var(--color-grey-500);
|
|
2492
|
+
font-size: 14px;
|
|
2493
|
+
}
|
|
2494
|
+
._mfMlg {
|
|
2495
|
+
display: flex;
|
|
2496
|
+
flex-direction: column;
|
|
2497
|
+
justify-content: center;
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2500
|
+
@media screen and (max-width: 900px) {
|
|
2501
|
+
._1AdW7:not(._Y1L-A) {
|
|
2502
|
+
align-items: center;
|
|
2503
|
+
text-align: center;
|
|
2504
|
+
flex-direction: column-reverse;
|
|
2505
|
+
}
|
|
2506
|
+
}
|
|
2507
|
+
._DrBEi {
|
|
2508
|
+
padding: 12px 16px;
|
|
2509
|
+
}
|
|
2510
|
+
._3YbH7 {
|
|
2511
|
+
display: flex;
|
|
2512
|
+
justify-content: center;
|
|
2513
|
+
}
|
|
2514
|
+
._3mHDL {
|
|
2515
|
+
display: flex;
|
|
2516
|
+
width: 100%;
|
|
2517
|
+
justify-content: center;
|
|
2518
|
+
}
|
|
2421
2519
|
._1JTKu {
|
|
2422
2520
|
flex: 1;
|
|
2423
2521
|
display: "flex";
|
|
@@ -2623,6 +2721,7 @@ input:disabled + ._2W10t::after {
|
|
|
2623
2721
|
display: flex;
|
|
2624
2722
|
flex-direction: column;
|
|
2625
2723
|
min-width: 90px;
|
|
2724
|
+
background-color: var(--color-white);
|
|
2626
2725
|
}
|
|
2627
2726
|
._eyfGn textarea {
|
|
2628
2727
|
line-height: 22px;
|
|
@@ -2781,6 +2880,7 @@ input:focus-visible + ._W4HpY {
|
|
|
2781
2880
|
text-align: center;
|
|
2782
2881
|
height: 100%;
|
|
2783
2882
|
color: var(--color-grey-400);
|
|
2883
|
+
background: var(--color-white);
|
|
2784
2884
|
}
|
|
2785
2885
|
._1md_9 input {
|
|
2786
2886
|
border: 0px;
|
|
@@ -3067,6 +3167,8 @@ input:disabled + ._1aaPx::after {
|
|
|
3067
3167
|
padding-top: 0px;
|
|
3068
3168
|
display: flex;
|
|
3069
3169
|
align-items: center;
|
|
3170
|
+
background-color: var(--color-grey-100);
|
|
3171
|
+
background-color: var(--color-white);
|
|
3070
3172
|
}
|
|
3071
3173
|
._3YxJl {
|
|
3072
3174
|
border-color: var(--color-radish-400) !important;
|
|
@@ -3254,7 +3356,6 @@ input:disabled + ._1aaPx::after {
|
|
|
3254
3356
|
position: absolute;
|
|
3255
3357
|
height: 36px;
|
|
3256
3358
|
margin-top: 1px;
|
|
3257
|
-
margin-left: 25px;
|
|
3258
3359
|
align-items: center;
|
|
3259
3360
|
display: flex;
|
|
3260
3361
|
pointer-events: none;
|
|
@@ -3266,12 +3367,16 @@ input:disabled + ._1aaPx::after {
|
|
|
3266
3367
|
flex-grow: 1;
|
|
3267
3368
|
display: flex;
|
|
3268
3369
|
}
|
|
3269
|
-
.
|
|
3370
|
+
._Fc99X {
|
|
3371
|
+
font-size: 12pt;
|
|
3372
|
+
}
|
|
3373
|
+
|
|
3374
|
+
input._1zowl {
|
|
3270
3375
|
border-top-left-radius: 0;
|
|
3271
3376
|
border-bottom-left-radius: 0;
|
|
3272
3377
|
}
|
|
3273
|
-
.
|
|
3274
|
-
|
|
3378
|
+
._2T1pu {
|
|
3379
|
+
background-color: var(--color-white);
|
|
3275
3380
|
}
|
|
3276
3381
|
._2T1pu:not(._1OxwW) > button:focus ._3mUO5 {
|
|
3277
3382
|
border: 1px solid var(--color-eggplant-400);
|
|
@@ -4476,78 +4581,10 @@ input:disabled + ._1aaPx::after {
|
|
|
4476
4581
|
background-color: var(--color-blueberry-200);
|
|
4477
4582
|
color: var(--color-blueberry-600);
|
|
4478
4583
|
}
|
|
4479
|
-
.
|
|
4480
|
-
|
|
4481
|
-
justify-content: space-between;
|
|
4482
|
-
width: 424px;
|
|
4483
|
-
gap: 20px;
|
|
4484
|
-
flex-direction: column;
|
|
4485
|
-
align-items: center;
|
|
4584
|
+
._3kFM9 {
|
|
4585
|
+
padding: 12px 16px;
|
|
4486
4586
|
}
|
|
4487
|
-
.
|
|
4587
|
+
._3kmTB {
|
|
4488
4588
|
display: flex;
|
|
4489
|
-
flex-direction: column;
|
|
4490
4589
|
justify-content: center;
|
|
4491
|
-
gap: 20px;
|
|
4492
|
-
}
|
|
4493
|
-
._1bs2I {
|
|
4494
|
-
max-width: 500px;
|
|
4495
|
-
}
|
|
4496
|
-
._WwD-g {
|
|
4497
|
-
max-width: 667px;
|
|
4498
|
-
}
|
|
4499
|
-
._1b3C0 {
|
|
4500
|
-
color: var(--color-grey-500);
|
|
4501
|
-
font-size: 12px;
|
|
4502
|
-
text-align: center;
|
|
4503
|
-
}
|
|
4504
|
-
._3q5OJ {
|
|
4505
|
-
display: flex;
|
|
4506
|
-
gap: 8px;
|
|
4507
|
-
}
|
|
4508
|
-
|
|
4509
|
-
@media screen and (max-width: 900px) {
|
|
4510
|
-
._3q5OJ:not(._3DOZC) {
|
|
4511
|
-
justify-content: center;
|
|
4512
|
-
}
|
|
4513
|
-
}
|
|
4514
|
-
._1AdW7 {
|
|
4515
|
-
max-width: 1000px;
|
|
4516
|
-
display: flex;
|
|
4517
|
-
flex-direction: row;
|
|
4518
|
-
justify-content: space-between;
|
|
4519
|
-
}
|
|
4520
|
-
._Y1L-A {
|
|
4521
|
-
flex-direction: row-reverse;
|
|
4522
|
-
padding-top: 20px;
|
|
4523
|
-
padding-bottom: 20px;
|
|
4524
|
-
}
|
|
4525
|
-
._1E308 {
|
|
4526
|
-
display: flex;
|
|
4527
|
-
flex-direction: column;
|
|
4528
|
-
justify-content: center;
|
|
4529
|
-
gap: 20px;
|
|
4530
|
-
}
|
|
4531
|
-
._P5jRb {
|
|
4532
|
-
max-width: 500px;
|
|
4533
|
-
}
|
|
4534
|
-
._vkAs2 {
|
|
4535
|
-
max-width: 667px;
|
|
4536
|
-
}
|
|
4537
|
-
._1o2PF {
|
|
4538
|
-
color: var(--color-grey-500);
|
|
4539
|
-
font-size: 14px;
|
|
4540
|
-
}
|
|
4541
|
-
._mfMlg {
|
|
4542
|
-
display: flex;
|
|
4543
|
-
flex-direction: column;
|
|
4544
|
-
justify-content: center;
|
|
4545
|
-
}
|
|
4546
|
-
|
|
4547
|
-
@media screen and (max-width: 900px) {
|
|
4548
|
-
._1AdW7:not(._Y1L-A) {
|
|
4549
|
-
align-items: center;
|
|
4550
|
-
text-align: center;
|
|
4551
|
-
flex-direction: column-reverse;
|
|
4552
|
-
}
|
|
4553
4590
|
}
|