@7shifts/sous-chef 4.10.3 → 4.11.0-beta-20260826214944
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/dist/forms/AsyncSelectField/AsyncSelectField.d.ts +4 -3
- package/dist/forms/AsyncSelectField/CustomList/CustomList.d.ts +2 -1
- package/dist/forms/AsyncSelectField/types.d.ts +1 -0
- package/dist/foundation/tokens/color/color-codes.d.ts +3 -1
- package/dist/foundation/tokens/color/color-constants.d.ts +2 -0
- package/dist/foundation/tokens/color/color-types.d.ts +1 -1
- package/dist/hooks/useScrollDetector.d.ts +2 -2
- package/dist/icons/components/status/IconInfinity.d.ts +10 -0
- package/dist/icons/components/status/index.d.ts +1 -0
- package/dist/index.css +85 -51
- package/dist/index.css.map +1 -1
- package/dist/index.js +623 -514
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +651 -545
- package/dist/index.modern.js.map +1 -1
- package/dist/overlay/Modal/Modal.d.ts +3 -1
- package/dist/overlay/Modal/ModalContext.d.ts +1 -0
- package/dist/overlay/Modal/ModalHeader/ModalHeader.d.ts +2 -1
- package/llms-instructions/guidelines/AsyncSelectField.guidelines.md +86 -11
- package/llms-instructions/guidelines/Pill.guidelines.md +0 -1
- package/llms-instructions/guidelines/ShortcutKey.guidelines.md +61 -0
- package/llms-instructions/llms-components.md +5 -1
- package/llms-instructions/llms-icons-and-illustrations.md +5 -0
- package/llms-instructions/llms-tokens.md +7 -5
- package/package.json +2 -2
|
@@ -2,14 +2,15 @@ import React from 'react';
|
|
|
2
2
|
import type { Props as SelectProps } from '../SelectField/SelectField';
|
|
3
3
|
import { AsyncSelectOptions } from './types';
|
|
4
4
|
type Props<T> = {
|
|
5
|
-
/** It is a function that takes the input search as
|
|
6
|
-
loadOptions: (inputValue: string) => Promise<AsyncSelectOptions<T>>;
|
|
5
|
+
/** It is a function that takes the input search and an optional cursor as parameters and returns a Promise with all the options, if there are more options to load, and optionally the next cursor. If it brings all the options on the first load, it won't call `loadOptions` to perform the search. */
|
|
6
|
+
loadOptions: (inputValue: string, cursor?: string | null) => Promise<AsyncSelectOptions<T>>;
|
|
7
7
|
/** It fires `loadOptions` again if this key value changes. Used when it depends on other fields to load its options */
|
|
8
8
|
key?: string | number;
|
|
9
9
|
} & Omit<SelectProps<T>, 'options'>;
|
|
10
10
|
/**
|
|
11
11
|
* A variation of select field that loads a dynamic list of options from a source rather than a fixed set of options. Use when you need to select from a dynamic list that can change such as roles, employees, locations, etc.
|
|
12
|
-
* Instead of passing
|
|
12
|
+
* Instead of passing an `options` prop, this component requires a `loadOptions` prop.
|
|
13
|
+
* Supports scroll-to-load-more: when the user scrolls to the bottom of the menu and a `nextCursor` is returned, the next page is automatically fetched and appended.
|
|
13
14
|
* */
|
|
14
15
|
declare const AsyncSelectField: <T extends unknown>({ loadOptions, ...props }: Props<T>) => React.JSX.Element;
|
|
15
16
|
export default AsyncSelectField;
|
|
@@ -3,6 +3,7 @@ import { components } from 'react-select';
|
|
|
3
3
|
type Props = ComponentProps<typeof components.MenuList> & {
|
|
4
4
|
hasMoreOptions: boolean;
|
|
5
5
|
hasMoreOptionsFirstLoad: boolean | null | undefined;
|
|
6
|
+
isLoadingMore: boolean;
|
|
6
7
|
};
|
|
7
|
-
declare const CustomList: ({ children, hasMoreOptions, hasMoreOptionsFirstLoad, ...props }: Props) => React.JSX.Element;
|
|
8
|
+
declare const CustomList: ({ children, hasMoreOptions, hasMoreOptionsFirstLoad, isLoadingMore, ...props }: Props) => React.JSX.Element;
|
|
8
9
|
export default CustomList;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare const COLOR_CODES: {
|
|
2
2
|
readonly white: " #fff";
|
|
3
3
|
readonly black: " #000";
|
|
4
|
+
readonly eggshell: " #fafafa";
|
|
5
|
+
readonly coal: " #252525";
|
|
4
6
|
readonly 'tangerine-100': " #fef1ed";
|
|
5
7
|
readonly 'tangerine-200': " #fdd5c8";
|
|
6
8
|
readonly 'tangerine-300': " #fcab91";
|
|
@@ -48,7 +50,7 @@ export declare const COLOR_CODES: {
|
|
|
48
50
|
readonly 'oat-300': " #c7c0b2";
|
|
49
51
|
readonly 'oat-400': " #6e6d6c";
|
|
50
52
|
readonly 'oat-500': " #4c4b49";
|
|
51
|
-
readonly 'oat-600': " #
|
|
53
|
+
readonly 'oat-600': " #413E3E";
|
|
52
54
|
readonly 'lime-100': " #efffe0";
|
|
53
55
|
readonly 'lime-200': " #c6ff94";
|
|
54
56
|
readonly 'lime-300': " #81ffac";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export declare const COLORS: {
|
|
2
2
|
readonly white: "var(--color-white)";
|
|
3
3
|
readonly black: "var(--color-black)";
|
|
4
|
+
readonly eggshell: "var(--color-eggshell)";
|
|
5
|
+
readonly coal: "var(--color-coal)";
|
|
4
6
|
readonly 'tangerine-100': "var(--color-tangerine-100)";
|
|
5
7
|
readonly 'tangerine-200': "var(--color-tangerine-200)";
|
|
6
8
|
readonly 'tangerine-300': "var(--color-tangerine-300)";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type Color = 'white' | 'black' | 'tangerine-100' | 'tangerine-200' | 'tangerine-300' | 'tangerine-400' | 'tangerine-500' | 'tangerine-600' | 'eggplant-100' | 'eggplant-200' | 'eggplant-300' | 'eggplant-400' | 'eggplant-500' | 'eggplant-600' | 'mint-100' | 'mint-200' | 'mint-300' | 'mint-400' | 'mint-500' | 'mint-600' | 'radish-100' | 'radish-200' | 'radish-300' | 'radish-400' | 'radish-500' | 'radish-600' | 'blueberry-100' | 'blueberry-200' | 'blueberry-300' | 'blueberry-400' | 'blueberry-500' | 'blueberry-600' | 'banana-100' | 'banana-200' | 'banana-300' | 'banana-400' | 'banana-500' | 'banana-600' | 'grey-100' | 'grey-200' | 'grey-300' | 'grey-400' | 'grey-500' | 'grey-600' | 'oat-100' | 'oat-200' | 'oat-300' | 'oat-400' | 'oat-500' | 'oat-600' | 'lime-100' | 'lime-200' | 'lime-300' | 'lime-400' | 'lime-500' | 'lime-600' | 'blackberry-100' | 'blackberry-200' | 'blackberry-300' | 'blackberry-400' | 'blackberry-500' | 'blackberry-600' | 'seq-1' | 'seq-2' | 'seq-3' | 'seq-4' | 'seq-5' | 'seq-6' | 'seq-7' | 'seq-8' | 'seq-9' | 'seq-10' | 'seq-11' | 'seq-12' | 'seq-13' | 'seq-14' | 'seq-15' | 'seq-16' | 'seq-17' | 'seq-18' | 'seq-19' | 'seq-20' | 'neutral-color' | 'neutral-on-color' | 'neutral-container' | 'neutral-on-container' | 'neutral-container-variant' | 'neutral-on-container-variant' | 'neutral-black-transparent-05' | 'neutral-black-transparent-10' | 'neutral-black-transparent-15' | 'neutral-black-transparent-20' | 'neutral-black-transparent-30' | 'neutral-black-transparent-40' | 'neutral-black-transparent-50' | 'neutral-black-transparent-60' | 'neutral-black-transparent-70' | 'neutral-black-transparent-80' | 'neutral-black-transparent-90' | 'neutral-white-transparent-05' | 'neutral-white-transparent-10' | 'neutral-white-transparent-15' | 'neutral-white-transparent-20' | 'neutral-white-transparent-30' | 'neutral-white-transparent-40' | 'neutral-white-transparent-50' | 'neutral-white-transparent-60' | 'neutral-white-transparent-70' | 'neutral-white-transparent-80' | 'neutral-white-transparent-90' | 'surface-color-overlay' | 'surface-color-dim' | 'surface-color' | 'surface-on-color-disabled' | 'surface-on-color-subtle' | 'surface-on-color' | 'surface-on-color-bold' | 'surface-container' | 'surface-container-high' | 'surface-container-highest' | 'surface-container-disabled' | 'surface-container-disabled-variant' | 'surface-on-container-disabled' | 'surface-inverse' | 'surface-on-inverse' | 'surface-on-inverse-disabled' | 'outline' | 'outline-variant' | 'outline-inverse' | 'primary-color' | 'primary-on-color' | 'primary-color-variant' | 'primary-on-color-variant' | 'primary-container' | 'primary-on-container' | 'primary-container-variant' | 'primary-on-container-variant' | 'secondary-color' | 'secondary-on-color' | 'secondary-container' | 'secondary-on-container' | 'secondary-container-variant' | 'secondary-on-container-variant' | 'tertiary-color' | 'tertiary-on-color' | 'tertiary-container' | 'tertiary-on-container' | 'tertiary-container-variant' | 'tertiary-on-container-variant' | 'success-color' | 'success-on-color' | 'success-container' | 'success-on-container' | 'success-container-variant' | 'success-on-container-variant' | 'danger-color' | 'danger-on-color' | 'danger-container' | 'danger-on-container' | 'danger-container-variant' | 'danger-on-container-variant' | 'info-color' | 'info-on-color' | 'info-container' | 'info-on-container' | 'info-container-variant' | 'info-on-container-variant' | 'upsell-color' | 'upsell-on-color' | 'upsell-color-variant' | 'upsell-on-color-variant' | 'upsell-container' | 'upsell-on-container' | 'upsell-container-variant' | 'upsell-on-container-variant' | 'warning-color' | 'warning-on-color' | 'warning-container' | 'warning-on-container' | 'warning-container-variant' | 'warning-on-container-variant' | 'shadow-overlay' | 'shadow-active' | 'hover-inverse' | 'hover-lighten' | 'hover-darken' | 'brand-neutrals-caviar-dynamic' | 'brand-neutrals-caviar-hue' | 'brand-neutrals-chefscoat-dynamic' | 'brand-neutrals-chefscoat-hue' | 'brand-neutrals-marshmallow-hue' | 'brand-neutrals-oat-hue' | 'brand-neutrals-earl-hue' | 'brand-primary-spritz-hue' | 'brand-primary-spritz-tint' | 'brand-primary-spritz-shade' | 'brand-primary-curacao-hue' | 'brand-primary-curacao-tint' | 'brand-primary-curacao-shade' | 'brand-primary-mojito-hue' | 'brand-primary-mojito-tint' | 'brand-primary-mojito-shade' | 'brand-primary-empress-hue' | 'brand-primary-empress-tint' | 'brand-primary-empress-shade' | 'brand-secondary-ice-hue' | 'brand-secondary-zest-hue' | 'brand-secondary-lavender-hue' | 'brand-secondary-ranch-hue' | 'brand-secondary-pesto-hue' | 'brand-secondary-babaganoush-hue' | 'on-graphic-black' | 'on-graphic-white' | 'canvas-background-color';
|
|
1
|
+
export type Color = 'white' | 'black' | 'eggshell' | 'coal' | 'tangerine-100' | 'tangerine-200' | 'tangerine-300' | 'tangerine-400' | 'tangerine-500' | 'tangerine-600' | 'eggplant-100' | 'eggplant-200' | 'eggplant-300' | 'eggplant-400' | 'eggplant-500' | 'eggplant-600' | 'mint-100' | 'mint-200' | 'mint-300' | 'mint-400' | 'mint-500' | 'mint-600' | 'radish-100' | 'radish-200' | 'radish-300' | 'radish-400' | 'radish-500' | 'radish-600' | 'blueberry-100' | 'blueberry-200' | 'blueberry-300' | 'blueberry-400' | 'blueberry-500' | 'blueberry-600' | 'banana-100' | 'banana-200' | 'banana-300' | 'banana-400' | 'banana-500' | 'banana-600' | 'grey-100' | 'grey-200' | 'grey-300' | 'grey-400' | 'grey-500' | 'grey-600' | 'oat-100' | 'oat-200' | 'oat-300' | 'oat-400' | 'oat-500' | 'oat-600' | 'lime-100' | 'lime-200' | 'lime-300' | 'lime-400' | 'lime-500' | 'lime-600' | 'blackberry-100' | 'blackberry-200' | 'blackberry-300' | 'blackberry-400' | 'blackberry-500' | 'blackberry-600' | 'seq-1' | 'seq-2' | 'seq-3' | 'seq-4' | 'seq-5' | 'seq-6' | 'seq-7' | 'seq-8' | 'seq-9' | 'seq-10' | 'seq-11' | 'seq-12' | 'seq-13' | 'seq-14' | 'seq-15' | 'seq-16' | 'seq-17' | 'seq-18' | 'seq-19' | 'seq-20' | 'neutral-color' | 'neutral-on-color' | 'neutral-container' | 'neutral-on-container' | 'neutral-container-variant' | 'neutral-on-container-variant' | 'neutral-black-transparent-05' | 'neutral-black-transparent-10' | 'neutral-black-transparent-15' | 'neutral-black-transparent-20' | 'neutral-black-transparent-30' | 'neutral-black-transparent-40' | 'neutral-black-transparent-50' | 'neutral-black-transparent-60' | 'neutral-black-transparent-70' | 'neutral-black-transparent-80' | 'neutral-black-transparent-90' | 'neutral-white-transparent-05' | 'neutral-white-transparent-10' | 'neutral-white-transparent-15' | 'neutral-white-transparent-20' | 'neutral-white-transparent-30' | 'neutral-white-transparent-40' | 'neutral-white-transparent-50' | 'neutral-white-transparent-60' | 'neutral-white-transparent-70' | 'neutral-white-transparent-80' | 'neutral-white-transparent-90' | 'surface-color-overlay' | 'surface-color-dim' | 'surface-color' | 'surface-on-color-disabled' | 'surface-on-color-subtle' | 'surface-on-color' | 'surface-on-color-bold' | 'surface-container' | 'surface-container-high' | 'surface-container-highest' | 'surface-container-disabled' | 'surface-container-disabled-variant' | 'surface-on-container-disabled' | 'surface-inverse' | 'surface-on-inverse' | 'surface-on-inverse-disabled' | 'outline' | 'outline-variant' | 'outline-inverse' | 'primary-color' | 'primary-on-color' | 'primary-color-variant' | 'primary-on-color-variant' | 'primary-container' | 'primary-on-container' | 'primary-container-variant' | 'primary-on-container-variant' | 'secondary-color' | 'secondary-on-color' | 'secondary-container' | 'secondary-on-container' | 'secondary-container-variant' | 'secondary-on-container-variant' | 'tertiary-color' | 'tertiary-on-color' | 'tertiary-container' | 'tertiary-on-container' | 'tertiary-container-variant' | 'tertiary-on-container-variant' | 'success-color' | 'success-on-color' | 'success-container' | 'success-on-container' | 'success-container-variant' | 'success-on-container-variant' | 'danger-color' | 'danger-on-color' | 'danger-container' | 'danger-on-container' | 'danger-container-variant' | 'danger-on-container-variant' | 'info-color' | 'info-on-color' | 'info-container' | 'info-on-container' | 'info-container-variant' | 'info-on-container-variant' | 'upsell-color' | 'upsell-on-color' | 'upsell-color-variant' | 'upsell-on-color-variant' | 'upsell-container' | 'upsell-on-container' | 'upsell-container-variant' | 'upsell-on-container-variant' | 'warning-color' | 'warning-on-color' | 'warning-container' | 'warning-on-container' | 'warning-container-variant' | 'warning-on-container-variant' | 'shadow-overlay' | 'shadow-active' | 'hover-inverse' | 'hover-lighten' | 'hover-darken' | 'brand-neutrals-caviar-dynamic' | 'brand-neutrals-caviar-hue' | 'brand-neutrals-chefscoat-dynamic' | 'brand-neutrals-chefscoat-hue' | 'brand-neutrals-marshmallow-hue' | 'brand-neutrals-oat-hue' | 'brand-neutrals-earl-hue' | 'brand-primary-spritz-hue' | 'brand-primary-spritz-tint' | 'brand-primary-spritz-shade' | 'brand-primary-curacao-hue' | 'brand-primary-curacao-tint' | 'brand-primary-curacao-shade' | 'brand-primary-mojito-hue' | 'brand-primary-mojito-tint' | 'brand-primary-mojito-shade' | 'brand-primary-empress-hue' | 'brand-primary-empress-tint' | 'brand-primary-empress-shade' | 'brand-secondary-ice-hue' | 'brand-secondary-zest-hue' | 'brand-secondary-lavender-hue' | 'brand-secondary-ranch-hue' | 'brand-secondary-pesto-hue' | 'brand-secondary-babaganoush-hue' | 'on-graphic-black' | 'on-graphic-white' | 'canvas-background-color';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconSize, IconVariant } from '../../types';
|
|
3
|
+
type Props = {
|
|
4
|
+
size?: IconSize;
|
|
5
|
+
color?: string;
|
|
6
|
+
testId?: string;
|
|
7
|
+
variant?: IconVariant;
|
|
8
|
+
} & React.SVGProps<SVGSVGElement>;
|
|
9
|
+
declare const IconInfinity: React.ForwardRefExoticComponent<Omit<Props, 'ref'>>;
|
|
10
|
+
export default IconInfinity;
|
|
@@ -10,6 +10,7 @@ export { default as IconCircleXMark } from './IconCircleXMark';
|
|
|
10
10
|
export { default as IconDeleteLeft } from './IconDeleteLeft';
|
|
11
11
|
export { default as IconExclamation } from './IconExclamation';
|
|
12
12
|
export { default as IconExclamationTriangle } from './IconExclamationTriangle';
|
|
13
|
+
export { default as IconInfinity } from './IconInfinity';
|
|
13
14
|
export { default as IconInfoCircle } from './IconInfoCircle';
|
|
14
15
|
export { default as IconQuestionCircle } from './IconQuestionCircle';
|
|
15
16
|
export { default as IconTimesOctagon } from './IconTimesOctagon';
|
package/dist/index.css
CHANGED
|
@@ -103,6 +103,10 @@
|
|
|
103
103
|
--color-white-rgb: 255, 255, 255;
|
|
104
104
|
--color-black: #000;
|
|
105
105
|
--color-black-rgb: 0, 0, 0;
|
|
106
|
+
--color-eggshell: #fafafa;
|
|
107
|
+
--color-eggshell-rgb: 250, 250, 250;
|
|
108
|
+
--color-coal: #252525;
|
|
109
|
+
--color-coal-rgb: 37, 37, 37;
|
|
106
110
|
--color-tangerine-100: #fef1ed;
|
|
107
111
|
--color-tangerine-100-rgb: 254, 241, 237;
|
|
108
112
|
--color-tangerine-200: #fdd5c8;
|
|
@@ -197,8 +201,8 @@
|
|
|
197
201
|
--color-oat-400-rgb: 110, 109, 108;
|
|
198
202
|
--color-oat-500: #4c4b49;
|
|
199
203
|
--color-oat-500-rgb: 76, 75, 73;
|
|
200
|
-
--color-oat-600: #
|
|
201
|
-
--color-oat-600-rgb:
|
|
204
|
+
--color-oat-600: #413E3E;
|
|
205
|
+
--color-oat-600-rgb: 65, 62, 62;
|
|
202
206
|
--color-lime-100: #efffe0;
|
|
203
207
|
--color-lime-100-rgb: 239, 255, 224;
|
|
204
208
|
--color-lime-200: #c6ff94;
|
|
@@ -512,6 +516,7 @@
|
|
|
512
516
|
:root {
|
|
513
517
|
--border-radius-300: 4px;
|
|
514
518
|
--border-radius-400: 8px;
|
|
519
|
+
--border-radius-500: 12px;
|
|
515
520
|
--border-radius-600: 20px;
|
|
516
521
|
}
|
|
517
522
|
:root {
|
|
@@ -2008,17 +2013,18 @@ h5._i2LHD {
|
|
|
2008
2013
|
}
|
|
2009
2014
|
|
|
2010
2015
|
._ntozd {
|
|
2011
|
-
position: relative;
|
|
2012
2016
|
border: 1px solid var(--color-outline);
|
|
2017
|
+
border-radius: var(--border-radius-500);
|
|
2013
2018
|
background: var(--color-surface-color);
|
|
2014
2019
|
overflow: auto;
|
|
2015
2020
|
outline: none;
|
|
2016
|
-
padding: 32px 24px;
|
|
2017
2021
|
box-shadow: 0 0 12px -3px var(--color-shadow-overlay);
|
|
2018
2022
|
display: flex;
|
|
2019
2023
|
flex-direction: column;
|
|
2020
2024
|
box-sizing: border-box;
|
|
2025
|
+
padding: 0;
|
|
2021
2026
|
min-height: 266px;
|
|
2027
|
+
position: relative;
|
|
2022
2028
|
}
|
|
2023
2029
|
._ntozd > form {
|
|
2024
2030
|
display: contents;
|
|
@@ -2049,15 +2055,16 @@ h5._i2LHD {
|
|
|
2049
2055
|
}
|
|
2050
2056
|
|
|
2051
2057
|
._cq2CU {
|
|
2058
|
+
border: 1px solid var(--color-outline);
|
|
2059
|
+
border-radius: var(--border-radius-500);
|
|
2052
2060
|
background: var(--color-surface-color);
|
|
2053
2061
|
overflow: auto;
|
|
2054
2062
|
outline: none;
|
|
2055
|
-
padding: 32px 24px;
|
|
2056
2063
|
box-shadow: 0 0 12px -3px var(--color-shadow-overlay);
|
|
2057
2064
|
display: flex;
|
|
2058
2065
|
flex-direction: column;
|
|
2059
2066
|
box-sizing: border-box;
|
|
2060
|
-
|
|
2067
|
+
padding: 0;
|
|
2061
2068
|
max-height: calc(100vh - 40px);
|
|
2062
2069
|
pointer-events: all;
|
|
2063
2070
|
}
|
|
@@ -2074,34 +2081,66 @@ h5._i2LHD {
|
|
|
2074
2081
|
.modal-drag-handle:active {
|
|
2075
2082
|
cursor: grabbing;
|
|
2076
2083
|
}
|
|
2077
|
-
.
|
|
2084
|
+
._VRlTj {
|
|
2085
|
+
position: relative;
|
|
2086
|
+
}
|
|
2087
|
+
._VRlTj::after {
|
|
2088
|
+
content: "";
|
|
2089
|
+
position: absolute;
|
|
2090
|
+
left: 20px;
|
|
2091
|
+
right: 20px;
|
|
2092
|
+
top: 100%;
|
|
2093
|
+
height: 8px;
|
|
2094
|
+
opacity: 0;
|
|
2095
|
+
background: radial-gradient(50% 100% at 50% 0%, var(--color-shadow-overlay) -150%, transparent 100%);
|
|
2096
|
+
pointer-events: none;
|
|
2097
|
+
transition: opacity 0.4s ease-in-out;
|
|
2098
|
+
}
|
|
2099
|
+
._GH74U {
|
|
2078
2100
|
font-family: var(--font-family-primary);
|
|
2079
2101
|
font-size: var(--font-section-title-size);
|
|
2080
2102
|
line-height: var(--font-section-title-height);
|
|
2081
2103
|
font-weight: var(--font-section-title-weight);
|
|
2082
2104
|
color: var(--color-surface-on-color-bold);
|
|
2083
|
-
padding: 0;
|
|
2105
|
+
padding: 0 22px;
|
|
2084
2106
|
}
|
|
2085
|
-
.
|
|
2086
|
-
display: flex;
|
|
2087
|
-
justify-content: end;
|
|
2088
|
-
margin-bottom: -20px;
|
|
2089
|
-
margin-right: 8px;
|
|
2090
|
-
z-index: calc(var(--z-index-base) + 2);
|
|
2091
|
-
}
|
|
2092
|
-
|
|
2093
|
-
._c2nm4 {
|
|
2107
|
+
._OlX-6 {
|
|
2094
2108
|
font-family: var(--font-family-primary);
|
|
2095
2109
|
font-size: var(--font-sub-title-size);
|
|
2096
2110
|
line-height: var(--font-sub-title-height);
|
|
2097
2111
|
font-weight: var(--font-sub-title-weight);
|
|
2098
|
-
|
|
2112
|
+
padding: 0 22px;
|
|
2113
|
+
color: var(--color-surface-on-color-subtle);
|
|
2114
|
+
}
|
|
2115
|
+
._brFTl {
|
|
2116
|
+
border-bottom: 1px solid var(--color-outline);
|
|
2117
|
+
}
|
|
2118
|
+
._brFTl::after {
|
|
2119
|
+
opacity: 1;
|
|
2120
|
+
}
|
|
2121
|
+
._LTnd3 {
|
|
2122
|
+
display: flex;
|
|
2123
|
+
justify-content: end;
|
|
2124
|
+
z-index: calc(var(--z-index-base) + 2);
|
|
2125
|
+
}
|
|
2126
|
+
._7V-hB {
|
|
2127
|
+
display: flex;
|
|
2128
|
+
justify-content: end;
|
|
2129
|
+
padding-right: 4px;
|
|
2130
|
+
padding-top: 4px;
|
|
2131
|
+
min-height: 38px;
|
|
2132
|
+
}
|
|
2133
|
+
._docda {
|
|
2134
|
+
height: 200px;
|
|
2135
|
+
margin-bottom: 32px;
|
|
2136
|
+
background-color: lightgray;
|
|
2137
|
+
background-position: 50%;
|
|
2138
|
+
background-size: cover;
|
|
2139
|
+
background-repeat: no-repeat;
|
|
2140
|
+
}
|
|
2141
|
+
._docda > button {
|
|
2142
|
+
background: var(--color-shadow-overlay);
|
|
2099
2143
|
}
|
|
2100
|
-
/**
|
|
2101
|
-
* This is for adding a shadow when the body is scrollable.
|
|
2102
|
-
* It is using ::before and ::after to accomplish that => https://www.kizu.ru/shadowscroll/
|
|
2103
|
-
* There is a cleaner solution using background-attachment (https://lea.verou.me/2012/04/background-attachment-local/) but I had some issues in Chrome using that approach
|
|
2104
|
-
*/
|
|
2105
2144
|
._4YK4k {
|
|
2106
2145
|
font-family: var(--font-family-primary);
|
|
2107
2146
|
font-size: var(--font-body-ui-size);
|
|
@@ -2109,41 +2148,36 @@ h5._i2LHD {
|
|
|
2109
2148
|
font-weight: var(--font-body-ui-weight);
|
|
2110
2149
|
overflow: auto;
|
|
2111
2150
|
position: relative;
|
|
2112
|
-
padding:
|
|
2113
|
-
}
|
|
2114
|
-
._wo1vv {
|
|
2115
|
-
z-index: var(--z-index-base);
|
|
2116
|
-
background: var(--color-surface-color) no-repeat;
|
|
2117
|
-
background-image: radial-gradient(farthest-side at 50% 0, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 50% 100%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
|
|
2118
|
-
background-position: 0 0, 0 100%;
|
|
2119
|
-
background-size: 100% 14px;
|
|
2120
|
-
}
|
|
2121
|
-
._wo1vv::before, ._wo1vv::after {
|
|
2122
|
-
content: "";
|
|
2123
|
-
position: relative;
|
|
2124
|
-
z-index: -1;
|
|
2125
|
-
display: block;
|
|
2126
|
-
height: 30px;
|
|
2127
|
-
margin: 0 0 -30px;
|
|
2128
|
-
background: linear-gradient(to bottom, var(--color-surface-color), var(--color-surface-color) 30%, rgba(255, 255, 255, 0));
|
|
2129
|
-
}
|
|
2130
|
-
._wo1vv::after {
|
|
2131
|
-
margin: -30px 0 0;
|
|
2132
|
-
background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--color-surface-color) 70%, var(--color-surface-color));
|
|
2133
|
-
}
|
|
2134
|
-
._9u6xC {
|
|
2135
|
-
padding-bottom: 8px;
|
|
2151
|
+
padding: 16px 22px;
|
|
2136
2152
|
}
|
|
2137
2153
|
._bezlP {
|
|
2154
|
+
position: relative;
|
|
2138
2155
|
flex: 1;
|
|
2139
2156
|
display: flex;
|
|
2140
2157
|
flex-direction: column;
|
|
2141
2158
|
justify-content: flex-end;
|
|
2142
|
-
padding:
|
|
2159
|
+
padding-left: 22px;
|
|
2160
|
+
padding-top: 12px;
|
|
2161
|
+
padding-right: 22px;
|
|
2162
|
+
padding-bottom: 20px;
|
|
2143
2163
|
}
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2164
|
+
._bezlP::before {
|
|
2165
|
+
content: "";
|
|
2166
|
+
position: absolute;
|
|
2167
|
+
left: 20px;
|
|
2168
|
+
right: 20px;
|
|
2169
|
+
bottom: 100%;
|
|
2170
|
+
height: 8px;
|
|
2171
|
+
opacity: 0;
|
|
2172
|
+
background: radial-gradient(50% 100% at 50% 100%, var(--color-shadow-overlay) -150%, transparent 100%);
|
|
2173
|
+
pointer-events: none;
|
|
2174
|
+
transition: opacity 0.4s ease-in-out;
|
|
2175
|
+
}
|
|
2176
|
+
._hC4vb {
|
|
2177
|
+
border-top: 1px solid var(--color-outline);
|
|
2178
|
+
}
|
|
2179
|
+
._hC4vb::before {
|
|
2180
|
+
opacity: 1;
|
|
2147
2181
|
}
|
|
2148
2182
|
._et9Fs {
|
|
2149
2183
|
--rdp-cell-size: 37px;
|