@7shifts/sous-chef 3.19.2-beta.1 → 3.21.0-beta.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.
@@ -0,0 +1,11 @@
1
+ import { SkeletonComponent } from './types';
2
+ import { PositionStyles } from '../../foundation/types';
3
+ declare type Props = {
4
+ /** Set the skeleton shape to match an existing Sous-Chef component */
5
+ as?: SkeletonComponent;
6
+ testId?: string;
7
+ height?: string | number;
8
+ width?: string | number;
9
+ } & PositionStyles;
10
+ declare const Skeleton: ({ as, testId, ...positionStyles }: Props) => JSX.Element;
11
+ export default Skeleton;
@@ -0,0 +1,7 @@
1
+ export declare const SKELETON_COMPONENT: {
2
+ readonly AVATAR: "avatar";
3
+ readonly AVATAR_SMALL: "avatar--small";
4
+ readonly AVATAR_MEDIUM: "avatar--medium";
5
+ readonly AVATAR_LARGE: "avatar--large";
6
+ readonly AVATAR_XLARGE: "avatar--xlarge";
7
+ };
@@ -0,0 +1 @@
1
+ export { default } from './Skeleton';
@@ -0,0 +1 @@
1
+ export declare type SkeletonComponent = 'avatar' | 'avatar--small' | 'avatar--medium' | 'avatar--large' | 'avatar--xlarge';
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { IconSize } from '../types';
3
+ declare type Props = {
4
+ size?: IconSize;
5
+ color?: string;
6
+ testId?: string;
7
+ } & React.SVGProps<SVGSVGElement>;
8
+ declare const IconRocket: {
9
+ ({ testId, ...props }: Props): JSX.Element;
10
+ displayName: string;
11
+ };
12
+ export default IconRocket;
@@ -106,6 +106,7 @@ export { default as IconPrint } from './IconPrint';
106
106
  export { default as IconQuestionCircle } from './IconQuestionCircle';
107
107
  export { default as IconRepeat } from './IconRepeat';
108
108
  export { default as IconReply } from './IconReply';
109
+ export { default as IconRocket } from './IconRocket';
109
110
  export { default as IconSearch } from './IconSearch';
110
111
  export { default as IconSignOut } from './IconSignOut';
111
112
  export { default as IconSitemap } from './IconSitemap';
package/dist/index.css CHANGED
@@ -856,6 +856,15 @@ Just for future references:
856
856
  ._3p04C > table > tfoot {
857
857
  bottom: 0;
858
858
  }
859
+ ._1xHDT {
860
+ position: absolute;
861
+ width: 100%;
862
+ height: 100%;
863
+ display: flex;
864
+ align-items: center;
865
+ justify-content: center;
866
+ z-index: var(--z-index-base);
867
+ }
859
868
  ._3_o_a {
860
869
  width: 100%;
861
870
  height: 100%;
@@ -866,6 +875,9 @@ Just for future references:
866
875
  ._3aKQI {
867
876
  table-layout: fixed;
868
877
  }
878
+ .__fnpT {
879
+ opacity: 0.5;
880
+ }
869
881
  ._tCd-U {
870
882
  border: 1px solid var(--color-grey-200);
871
883
  border-radius: 8px;
@@ -1354,6 +1366,10 @@ h5._3CIA3 {
1354
1366
  ._3tEcf {
1355
1367
  justify-content: space-between;
1356
1368
  }
1369
+ ._33N-K {
1370
+ filter: blur(1px);
1371
+ opacity: 0.4;
1372
+ }
1357
1373
  ._2ctV2 {
1358
1374
  width: 16px;
1359
1375
  }
@@ -2178,6 +2194,162 @@ input:disabled + ._2mA8e::after {
2178
2194
  ._3Mm-v._3Mm-v {
2179
2195
  border-bottom-right-radius: 8px;
2180
2196
  }
2197
+ ._vgLin {
2198
+ padding: 16px 12px 16px 12px;
2199
+ background: var(--color-grey-100);
2200
+ margin: 1px;
2201
+ position: relative;
2202
+ border-radius: 3px;
2203
+ box-shadow: 0 0 0 1px rgba(63, 63, 68, 0.05), 0 1px 3px 0 rgba(63, 63, 68, 0.15);
2204
+ }
2205
+
2206
+ ._63TwY {
2207
+ font-weight: 600;
2208
+ font-size: 14px;
2209
+ line-height: 16px;
2210
+ color: var(--color-grey-500);
2211
+ }
2212
+
2213
+ ._3n6S7 {
2214
+ font-size: 14px;
2215
+ line-height: 16px;
2216
+ flex-grow: 1;
2217
+ color: var(--color-grey-500);
2218
+ }
2219
+ ._3n6S7 a {
2220
+ text-decoration: underline;
2221
+ color: var(--color-grey-500);
2222
+ }
2223
+ ._3n6S7 a:hover {
2224
+ cursor: pointer;
2225
+ color: var(--color-grey-600);
2226
+ }
2227
+
2228
+ ._2pMYs {
2229
+ margin-bottom: 4px;
2230
+ }
2231
+
2232
+ ._ON6Eg {
2233
+ background: rgb(var(--color-blueberry-100-rgb));
2234
+ box-shadow: 0 0 0 1px rgba(var(--color-blueberry-500-rgb), 0.15), 0 1px 3px 0 rgba(var(--color-blueberry-500-rgb), 0.25);
2235
+ }
2236
+ ._ON6Eg ._1-D-E {
2237
+ color: rgb(var(--color-blueberry-500-rgb));
2238
+ }
2239
+
2240
+ ._1FFZh {
2241
+ background: rgb(var(--color-mint-100-rgb));
2242
+ box-shadow: 0 0 0 1px rgba(var(--color-mint-500-rgb), 0.15), 0 1px 3px 0 rgba(var(--color-mint-500-rgb), 0.25);
2243
+ }
2244
+ ._1FFZh ._1-D-E {
2245
+ color: rgb(var(--color-mint-500-rgb));
2246
+ }
2247
+
2248
+ ._2R34O {
2249
+ background: rgb(var(--color-radish-100-rgb));
2250
+ box-shadow: 0 0 0 1px rgba(var(--color-radish-500-rgb), 0.15), 0 1px 3px 0 rgba(var(--color-radish-500-rgb), 0.25);
2251
+ }
2252
+ ._2R34O ._1-D-E {
2253
+ color: rgb(var(--color-radish-500-rgb));
2254
+ }
2255
+
2256
+ ._3Cfhe {
2257
+ background: rgb(var(--color-banana-100-rgb));
2258
+ box-shadow: 0 0 0 1px rgba(var(--color-banana-500-rgb), 0.15), 0 1px 3px 0 rgba(var(--color-banana-500-rgb), 0.25);
2259
+ }
2260
+ ._3Cfhe ._1-D-E {
2261
+ color: rgb(var(--color-banana-500-rgb));
2262
+ }
2263
+
2264
+ ._1SIOw {
2265
+ background: rgb(var(--color-eggplant-100-rgb));
2266
+ box-shadow: 0 0 0 1px rgba(var(--color-eggplant-500-rgb), 0.15), 0 1px 3px 0 rgba(var(--color-eggplant-500-rgb), 0.25);
2267
+ }
2268
+ ._1SIOw ._1-D-E {
2269
+ color: rgb(var(--color-eggplant-500-rgb));
2270
+ }
2271
+
2272
+ ._3SNQ1 {
2273
+ position: absolute;
2274
+ width: 38px;
2275
+ height: 38px;
2276
+ top: 4px;
2277
+ right: 4px;
2278
+ }
2279
+
2280
+ ._3nLTI {
2281
+ padding-top: 12px;
2282
+ padding-bottom: 12px;
2283
+ }
2284
+ ._3nLTI ._3SNQ1 {
2285
+ position: static;
2286
+ }
2287
+ ._3nLTI ._3n6S7 {
2288
+ display: flex;
2289
+ align-items: center;
2290
+ min-height: 38px;
2291
+ }
2292
+ ._1jqm8 {
2293
+ font-size: 12px;
2294
+ line-height: 12px;
2295
+ color: var(--color-grey-500);
2296
+ }
2297
+ ._1KO1J {
2298
+ color: var(--color-white);
2299
+ font-size: 14px;
2300
+ padding: 16px;
2301
+ text-align: center;
2302
+ }
2303
+ ._2mTN3 {
2304
+ background-color: var(--color-blueberry-400);
2305
+ }
2306
+ ._1YuCF {
2307
+ background-color: var(--color-radish-400);
2308
+ }
2309
+ ._tlNFk {
2310
+ background-color: var(--color-eggplant-400);
2311
+ }
2312
+ ._1XR7V {
2313
+ position: relative;
2314
+ width: 48px;
2315
+ height: 48px;
2316
+ }
2317
+ ._1BygP {
2318
+ top: 50%;
2319
+ left: 50%;
2320
+ width: 100%;
2321
+ text-align: center;
2322
+ position: absolute;
2323
+ transform: translate(-50%, -50%);
2324
+ font-size: 12px;
2325
+ font-weight: 400;
2326
+ color: var(--color-grey-500);
2327
+ }
2328
+ ._1Ak-z {
2329
+ stroke: var(--color-grey-100);
2330
+ fill: var(--color-white);
2331
+ }
2332
+ ._22YIp {
2333
+ stroke: var(--color-mint-400);
2334
+ fill: transparent;
2335
+ }
2336
+ ._3nyZN {
2337
+ background-color: var(--color-grey-100);
2338
+ height: 12px;
2339
+ width: 100%;
2340
+ border-radius: 8px;
2341
+ }
2342
+ ._11TEp {
2343
+ background-color: var(--color-tangerine-400);
2344
+ height: 100%;
2345
+ border-radius: 8px;
2346
+ }
2347
+ ._3XFTU {
2348
+ display: flex;
2349
+ justify-content: space-around;
2350
+ color: var(--color-grey-500);
2351
+ font-family: "Proxima Nova", sans-serif;
2352
+ }
2181
2353
  ._1cDCR {
2182
2354
  flex: 1;
2183
2355
  display: "flex";
@@ -4396,162 +4568,6 @@ input:disabled + ._1tMq-::after {
4396
4568
  ._zXsKE {
4397
4569
  background-image: url(./flags/zw.svg);
4398
4570
  }
4399
- ._vgLin {
4400
- padding: 16px 12px 16px 12px;
4401
- background: var(--color-grey-100);
4402
- margin: 1px;
4403
- position: relative;
4404
- border-radius: 3px;
4405
- box-shadow: 0 0 0 1px rgba(63, 63, 68, 0.05), 0 1px 3px 0 rgba(63, 63, 68, 0.15);
4406
- }
4407
-
4408
- ._63TwY {
4409
- font-weight: 600;
4410
- font-size: 14px;
4411
- line-height: 16px;
4412
- color: var(--color-grey-500);
4413
- }
4414
-
4415
- ._3n6S7 {
4416
- font-size: 14px;
4417
- line-height: 16px;
4418
- flex-grow: 1;
4419
- color: var(--color-grey-500);
4420
- }
4421
- ._3n6S7 a {
4422
- text-decoration: underline;
4423
- color: var(--color-grey-500);
4424
- }
4425
- ._3n6S7 a:hover {
4426
- cursor: pointer;
4427
- color: var(--color-grey-600);
4428
- }
4429
-
4430
- ._2pMYs {
4431
- margin-bottom: 4px;
4432
- }
4433
-
4434
- ._ON6Eg {
4435
- background: rgb(var(--color-blueberry-100-rgb));
4436
- box-shadow: 0 0 0 1px rgba(var(--color-blueberry-500-rgb), 0.15), 0 1px 3px 0 rgba(var(--color-blueberry-500-rgb), 0.25);
4437
- }
4438
- ._ON6Eg ._1-D-E {
4439
- color: rgb(var(--color-blueberry-500-rgb));
4440
- }
4441
-
4442
- ._1FFZh {
4443
- background: rgb(var(--color-mint-100-rgb));
4444
- box-shadow: 0 0 0 1px rgba(var(--color-mint-500-rgb), 0.15), 0 1px 3px 0 rgba(var(--color-mint-500-rgb), 0.25);
4445
- }
4446
- ._1FFZh ._1-D-E {
4447
- color: rgb(var(--color-mint-500-rgb));
4448
- }
4449
-
4450
- ._2R34O {
4451
- background: rgb(var(--color-radish-100-rgb));
4452
- box-shadow: 0 0 0 1px rgba(var(--color-radish-500-rgb), 0.15), 0 1px 3px 0 rgba(var(--color-radish-500-rgb), 0.25);
4453
- }
4454
- ._2R34O ._1-D-E {
4455
- color: rgb(var(--color-radish-500-rgb));
4456
- }
4457
-
4458
- ._3Cfhe {
4459
- background: rgb(var(--color-banana-100-rgb));
4460
- box-shadow: 0 0 0 1px rgba(var(--color-banana-500-rgb), 0.15), 0 1px 3px 0 rgba(var(--color-banana-500-rgb), 0.25);
4461
- }
4462
- ._3Cfhe ._1-D-E {
4463
- color: rgb(var(--color-banana-500-rgb));
4464
- }
4465
-
4466
- ._1SIOw {
4467
- background: rgb(var(--color-eggplant-100-rgb));
4468
- box-shadow: 0 0 0 1px rgba(var(--color-eggplant-500-rgb), 0.15), 0 1px 3px 0 rgba(var(--color-eggplant-500-rgb), 0.25);
4469
- }
4470
- ._1SIOw ._1-D-E {
4471
- color: rgb(var(--color-eggplant-500-rgb));
4472
- }
4473
-
4474
- ._3SNQ1 {
4475
- position: absolute;
4476
- width: 38px;
4477
- height: 38px;
4478
- top: 4px;
4479
- right: 4px;
4480
- }
4481
-
4482
- ._3nLTI {
4483
- padding-top: 12px;
4484
- padding-bottom: 12px;
4485
- }
4486
- ._3nLTI ._3SNQ1 {
4487
- position: static;
4488
- }
4489
- ._3nLTI ._3n6S7 {
4490
- display: flex;
4491
- align-items: center;
4492
- min-height: 38px;
4493
- }
4494
- ._1jqm8 {
4495
- font-size: 12px;
4496
- line-height: 12px;
4497
- color: var(--color-grey-500);
4498
- }
4499
- ._1KO1J {
4500
- color: var(--color-white);
4501
- font-size: 14px;
4502
- padding: 16px;
4503
- text-align: center;
4504
- }
4505
- ._2mTN3 {
4506
- background-color: var(--color-blueberry-400);
4507
- }
4508
- ._1YuCF {
4509
- background-color: var(--color-radish-400);
4510
- }
4511
- ._tlNFk {
4512
- background-color: var(--color-eggplant-400);
4513
- }
4514
- ._1XR7V {
4515
- position: relative;
4516
- width: 48px;
4517
- height: 48px;
4518
- }
4519
- ._1BygP {
4520
- top: 50%;
4521
- left: 50%;
4522
- width: 100%;
4523
- text-align: center;
4524
- position: absolute;
4525
- transform: translate(-50%, -50%);
4526
- font-size: 12px;
4527
- font-weight: 400;
4528
- color: var(--color-grey-500);
4529
- }
4530
- ._1Ak-z {
4531
- stroke: var(--color-grey-100);
4532
- fill: var(--color-white);
4533
- }
4534
- ._22YIp {
4535
- stroke: var(--color-mint-400);
4536
- fill: transparent;
4537
- }
4538
- ._3nyZN {
4539
- background-color: var(--color-grey-100);
4540
- height: 12px;
4541
- width: 100%;
4542
- border-radius: 8px;
4543
- }
4544
- ._11TEp {
4545
- background-color: var(--color-tangerine-400);
4546
- height: 100%;
4547
- border-radius: 8px;
4548
- }
4549
- ._3XFTU {
4550
- display: flex;
4551
- justify-content: space-around;
4552
- color: var(--color-grey-500);
4553
- font-family: "Proxima Nova", sans-serif;
4554
- }
4555
4571
  ._2f81N {
4556
4572
  display: inline-flex;
4557
4573
  background-color: var(--color-tangerine-400);