@7shifts/sous-chef 2.16.1 → 2.17.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.
Files changed (56) hide show
  1. package/dist/actions/Button/Button.d.ts +12 -3
  2. package/dist/actions/Button/constants.d.ts +27 -0
  3. package/dist/actions/Button/types.d.ts +4 -0
  4. package/dist/core/DataTable/types.d.ts +3 -7
  5. package/dist/core/DataTableRow/DataTableRow.d.ts +1 -1
  6. package/dist/core/Flex/Flex.d.ts +1 -0
  7. package/dist/feedback/Spinner/constants.d.ts +6 -0
  8. package/dist/forms/Label/Label.d.ts +1 -0
  9. package/dist/forms/Label/useLabelTooltip.d.ts +1 -1
  10. package/dist/forms/RadioGroupBoxOption/RadioGroupBoxOption.d.ts +11 -0
  11. package/dist/forms/RadioGroupBoxOption/index.d.ts +1 -0
  12. package/dist/forms/RadioGroupField/BoxOptions/BoxOptions.d.ts +8 -0
  13. package/dist/forms/RadioGroupField/BoxOptions/index.d.ts +1 -0
  14. package/dist/forms/RadioGroupField/RadioGroupField.d.ts +11 -3
  15. package/dist/forms/RadioGroupField/RadioOptions/RadioOptions.d.ts +9 -0
  16. package/dist/forms/RadioGroupField/RadioOptions/index.d.ts +1 -0
  17. package/dist/forms/RadioGroupField/domain.d.ts +6 -0
  18. package/dist/forms/SelectField/CustomContainer/CustomContainer.d.ts +6 -0
  19. package/dist/forms/SelectField/CustomContainer/index.d.ts +1 -0
  20. package/dist/forms/SelectField/CustomControl/CustomControl.d.ts +3 -5
  21. package/dist/forms/SelectField/CustomOption/CustomOption.d.ts +3 -5
  22. package/dist/forms/SelectField/useSelectField.d.ts +5 -5
  23. package/dist/icons/IconArrowDown.d.ts +11 -0
  24. package/dist/icons/IconArrowLeft.d.ts +9 -0
  25. package/dist/icons/IconArrowRight.d.ts +9 -0
  26. package/dist/icons/IconArrowUp.d.ts +9 -0
  27. package/dist/icons/IconCalendar.d.ts +9 -0
  28. package/dist/icons/IconCheck.d.ts +9 -0
  29. package/dist/icons/IconChevronDown.d.ts +9 -0
  30. package/dist/icons/IconChevronUp.d.ts +8 -0
  31. package/dist/icons/IconClose.d.ts +9 -0
  32. package/dist/icons/IconComment.d.ts +9 -0
  33. package/dist/icons/IconDelete.d.ts +9 -0
  34. package/dist/icons/IconEdit.d.ts +9 -0
  35. package/dist/icons/IconExclaim.d.ts +9 -0
  36. package/dist/icons/IconEye.d.ts +9 -0
  37. package/dist/icons/IconEyeSlash.d.ts +9 -0
  38. package/dist/icons/IconLocation.d.ts +9 -0
  39. package/dist/icons/IconMinusCircle.d.ts +9 -0
  40. package/dist/icons/IconMore.d.ts +9 -0
  41. package/dist/icons/IconRemove.d.ts +8 -0
  42. package/dist/icons/IconUser.d.ts +8 -0
  43. package/dist/icons/IconUserPlus.d.ts +9 -0
  44. package/dist/index.css +161 -5
  45. package/dist/index.d.ts +1 -0
  46. package/dist/index.js +368 -173
  47. package/dist/index.js.map +1 -1
  48. package/dist/index.modern.js +368 -174
  49. package/dist/index.modern.js.map +1 -1
  50. package/dist/layout/Card/Card.d.ts +11 -0
  51. package/dist/layout/Card/index.d.ts +1 -0
  52. package/dist/layout/index.d.ts +2 -0
  53. package/dist/overlay/KebabMenu/KebabMenu.d.ts +6 -0
  54. package/dist/overlay/KebabMenu/index.d.ts +1 -0
  55. package/dist/overlay/Menu/types.d.ts +6 -0
  56. package/package.json +1 -1
package/dist/index.css CHANGED
@@ -51,10 +51,6 @@ Please ask a designer if you have questions about which colours to use.
51
51
  margin: 0;
52
52
  }
53
53
 
54
- ._umc73 {
55
- min-width: 0;
56
- }
57
-
58
54
  ._kf0KG {
59
55
  align-items: center;
60
56
  }
@@ -330,10 +326,14 @@ Please ask a designer if you have questions about which colours to use.
330
326
  margin-top: 2px;
331
327
  }
332
328
 
333
- ._1R_gC {
329
+ ._3mZ7B {
334
330
  min-width: 100px;
335
331
  }
336
332
 
333
+ ._13ze_ {
334
+ min-width: 100%;
335
+ }
336
+
337
337
  ._3ig9y {
338
338
  padding: 8px;
339
339
  }
@@ -1907,6 +1907,9 @@ Please ask a designer if you have questions about which colours to use.
1907
1907
  ._3CaV0 {
1908
1908
  max-width: 500px;
1909
1909
  }
1910
+ ._2i-Ll > div {
1911
+ min-width: 0;
1912
+ }
1910
1913
  /*********************************
1911
1914
  For new colours, see _colors.scss.
1912
1915
  **********************************/
@@ -2211,6 +2214,83 @@ The smaller the number the lighter the color. So $eggplant-100 would be light pu
2211
2214
  The base colour is the default colour and is numbered with 400. If someone says "use Tangerine" they are referring to the base color.
2212
2215
  Please ask a designer if you have questions about which colours to use.
2213
2216
  */
2217
+ ._1Tw96 {
2218
+ line-height: normal;
2219
+ padding: 0;
2220
+ width: auto;
2221
+ float: none;
2222
+ color: #464646;
2223
+ font-family: "Proxima Nova", sans-serif;
2224
+ font-weight: 600;
2225
+ font-size: 14px;
2226
+ min-height: 16px;
2227
+ }
2228
+
2229
+ ._1o8rK {
2230
+ overflow: hidden;
2231
+ white-space: nowrap;
2232
+ text-overflow: ellipsis;
2233
+ }
2234
+
2235
+ ._2OGKE {
2236
+ display: block;
2237
+ text-align: center;
2238
+ height: 100%;
2239
+ color: #767676;
2240
+ }
2241
+ ._2OGKE input {
2242
+ border: 0px;
2243
+ clip: rect(0px, 0px, 0px, 0px);
2244
+ height: 1px;
2245
+ width: 1px;
2246
+ margin: -1px;
2247
+ padding: 0px;
2248
+ overflow: hidden;
2249
+ white-space: nowrap;
2250
+ position: absolute;
2251
+ }
2252
+ input:checked ~ ._23M9k {
2253
+ border-color: #a7b7ea;
2254
+ box-shadow: 0 0 8px #a7b7ea;
2255
+ cursor: default;
2256
+ }
2257
+ ._23M9k {
2258
+ border: 1px solid #D5D5D5;
2259
+ border-radius: 4px;
2260
+ padding: 16px;
2261
+ display: block;
2262
+ cursor: pointer;
2263
+ height: 100%;
2264
+ box-sizing: border-box;
2265
+ display: flex;
2266
+ justify-content: center;
2267
+ word-break: break-word;
2268
+ }
2269
+ ._23M9k:hover {
2270
+ box-shadow: 0 0 8px #D5D5D5;
2271
+ }
2272
+ ._1r-Wg {
2273
+ line-height: normal;
2274
+ padding: 0;
2275
+ width: auto;
2276
+ float: none;
2277
+ color: #464646;
2278
+ font-family: "Proxima Nova", sans-serif;
2279
+ font-weight: 600;
2280
+ font-size: 14px;
2281
+ min-height: 16px;
2282
+ }
2283
+ /*********************************
2284
+ For new colours, see _colors.scss.
2285
+ **********************************/
2286
+ /* stylelint-disable color-no-hex */
2287
+ /*
2288
+ These are the colour variables to be used around the webapp.
2289
+ The variables are set up to describe the color and number which represents the lightness of the color.
2290
+ The smaller the number the lighter the color. So $eggplant-100 would be light purple and $eggplant-600 would be dark purple.
2291
+ The base colour is the default colour and is numbered with 400. If someone says "use Tangerine" they are referring to the base color.
2292
+ Please ask a designer if you have questions about which colours to use.
2293
+ */
2214
2294
  ._1Clmp {
2215
2295
  position: relative;
2216
2296
  }
@@ -2800,6 +2880,14 @@ Please ask a designer if you have questions about which colours to use.
2800
2880
  flex-grow: 1;
2801
2881
  color: #464646;
2802
2882
  }
2883
+ ._3n6S7 a {
2884
+ text-decoration: underline;
2885
+ color: #464646;
2886
+ }
2887
+ ._3n6S7 a:hover {
2888
+ cursor: pointer;
2889
+ color: #323232;
2890
+ }
2803
2891
 
2804
2892
  ._2pMYs {
2805
2893
  margin-bottom: 4px;
@@ -3086,4 +3174,72 @@ Please ask a designer if you have questions about which colours to use.
3086
3174
  ._2G3ML {
3087
3175
  background-color: #ceecf5;
3088
3176
  color: #367385;
3177
+ }
3178
+ /*********************************
3179
+ For new colours, see _colors.scss.
3180
+ **********************************/
3181
+ /* stylelint-disable color-no-hex */
3182
+ /*
3183
+ These are the colour variables to be used around the webapp.
3184
+ The variables are set up to describe the color and number which represents the lightness of the color.
3185
+ The smaller the number the lighter the color. So $eggplant-100 would be light purple and $eggplant-600 would be dark purple.
3186
+ The base colour is the default colour and is numbered with 400. If someone says "use Tangerine" they are referring to the base color.
3187
+ Please ask a designer if you have questions about which colours to use.
3188
+ */
3189
+ /* stylelint-disable color-no-hex */
3190
+ /*
3191
+ These are the colour variables to be used around the webapp.
3192
+ The variables are set up to describe the color and number which represents the lightness of the color.
3193
+ The smaller the number the lighter the color. So $eggplant-100 would be light purple and $eggplant-600 would be dark purple.
3194
+ The base colour is the default colour and is numbered with 400. If someone says "use Tangerine" they are referring to the base color.
3195
+ Please ask a designer if you have questions about which colours to use.
3196
+ */
3197
+ ._29ZIp {
3198
+ position: relative;
3199
+ }
3200
+ ._3Q8NT {
3201
+ box-sizing: border-box;
3202
+ background: white;
3203
+ border: 1px solid #D5D5D5;
3204
+ border-radius: 8px;
3205
+ width: 100%;
3206
+ height: 100%;
3207
+ padding: 24px 20px;
3208
+ color: #464646;
3209
+ }
3210
+ ._2Fah6 {
3211
+ cursor: pointer;
3212
+ box-shadow: 0 0 1px rgba(0, 0, 0, 0.15), 0 3px 3px rgba(0, 0, 0, 0.05);
3213
+ transition: all ease-in-out 150ms;
3214
+ }
3215
+ ._2Fah6:not(._SGno0):hover {
3216
+ box-shadow: 0 0 1px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.2);
3217
+ background-color: #F3F3F3;
3218
+ }
3219
+ ._2Fah6:focus {
3220
+ box-shadow: 0 0 8px #a7b7ea;
3221
+ outline: none;
3222
+ }
3223
+ ._1zqRN {
3224
+ border-color: #6d87dd;
3225
+ box-shadow: 0 0 8px #a7b7ea;
3226
+ }
3227
+ ._3Hwms {
3228
+ min-height: 56px;
3229
+ }
3230
+ ._TmEUS {
3231
+ position: absolute;
3232
+ z-index: 1;
3233
+ right: 8px;
3234
+ top: 8px;
3235
+ }
3236
+
3237
+ button {
3238
+ background: none;
3239
+ color: inherit;
3240
+ border: none;
3241
+ padding: 0;
3242
+ font: inherit;
3243
+ cursor: pointer;
3244
+ text-align: inherit;
3089
3245
  }
package/dist/index.d.ts CHANGED
@@ -6,3 +6,4 @@ export * from './actions';
6
6
  export * from './overlay';
7
7
  export * from './media';
8
8
  export * from './icons';
9
+ export * from './layout';