@salutejs/plasma-new-hope 0.193.1-canary.1561.11839785759.0 → 0.194.0-canary.1562.11845925215.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Combobox/ComboboxOld/Combobox.css +5 -4
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -4
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -4
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -4
- package/cjs/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -4
- package/cjs/components/Dropdown/Dropdown.css +5 -4
- package/cjs/components/Dropdown/Dropdown.js +8 -4
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/components/Dropdown/hooks/useHashMaps.js +4 -1
- package/cjs/components/Dropdown/hooks/useHashMaps.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -4
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +4 -2
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +7 -1
- package/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
- package/cjs/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_1b439rx.css → DropdownItem.styles_14yih1y.css} +1 -0
- package/cjs/components/Pagination/Pagination.css +2 -2
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -2
- package/cjs/components/Select/Select.css +2 -2
- package/cjs/components/Select/Select.js +4 -11
- package/cjs/components/Select/Select.js.map +1 -1
- package/cjs/components/Select/Select.tokens.js +1 -11
- package/cjs/components/Select/Select.tokens.js.map +1 -1
- package/cjs/components/Select/ui/Inner/Inner.css +2 -2
- package/cjs/components/Select/ui/Inner/ui/Item/Item.css +2 -2
- package/cjs/components/Select/ui/Target/Target.css +2 -2
- package/cjs/components/Select/ui/Target/Target.js +4 -5
- package/cjs/components/Select/ui/Target/Target.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -2
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +7 -7
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +3 -0
- package/cjs/index.css +7 -6
- package/emotion/cjs/components/Dropdown/Dropdown.js +8 -4
- package/emotion/cjs/components/Dropdown/hooks/useHashMaps.js +4 -1
- package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +4 -2
- package/emotion/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +15 -11
- package/emotion/cjs/components/Select/Select.js +4 -11
- package/emotion/cjs/components/Select/Select.tokens.js +1 -11
- package/emotion/cjs/components/Select/ui/Target/Target.js +4 -5
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
- package/emotion/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +3 -3
- package/emotion/cjs/examples/plasma_b2c/components/Select/Select.config.js +20 -20
- package/emotion/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
- package/emotion/cjs/examples/plasma_web/components/Select/Select.config.js +20 -20
- package/emotion/cjs/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
- package/emotion/es/components/Dropdown/Dropdown.js +8 -4
- package/emotion/es/components/Dropdown/hooks/useHashMaps.js +4 -1
- package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -3
- package/emotion/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +15 -11
- package/emotion/es/components/Select/Select.js +4 -11
- package/emotion/es/components/Select/Select.tokens.js +1 -11
- package/emotion/es/components/Select/ui/Target/Target.js +4 -5
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
- package/emotion/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +3 -3
- package/emotion/es/examples/plasma_b2c/components/Select/Select.config.js +20 -20
- package/emotion/es/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
- package/emotion/es/examples/plasma_web/components/Select/Select.config.js +20 -20
- package/emotion/es/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
- package/es/components/Combobox/ComboboxOld/Combobox.css +5 -4
- package/es/components/Combobox/ComboboxOld/ui/ComboboxDivider/ComboboxDivider.css +5 -4
- package/es/components/Combobox/ComboboxOld/ui/ComboboxFooter/ComboboxFooter.css +5 -4
- package/es/components/Combobox/ComboboxOld/ui/ComboboxGroup/ComboboxGroup.css +5 -4
- package/es/components/Combobox/ComboboxOld/ui/ComboboxHeader/ComboboxHeader.css +5 -4
- package/es/components/Dropdown/Dropdown.css +5 -4
- package/es/components/Dropdown/Dropdown.js +8 -4
- package/es/components/Dropdown/Dropdown.js.map +1 -1
- package/es/components/Dropdown/hooks/useHashMaps.js +4 -1
- package/es/components/Dropdown/hooks/useHashMaps.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.css +5 -4
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -3
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +7 -2
- package/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js.map +1 -1
- package/es/components/Dropdown/ui/DropdownItem/{DropdownItem.styles_1b439rx.css → DropdownItem.styles_14yih1y.css} +1 -0
- package/es/components/Pagination/Pagination.css +2 -2
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +2 -2
- package/es/components/Select/Select.css +2 -2
- package/es/components/Select/Select.js +4 -11
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Select/Select.tokens.js +1 -11
- package/es/components/Select/Select.tokens.js.map +1 -1
- package/es/components/Select/ui/Inner/Inner.css +2 -2
- package/es/components/Select/ui/Inner/ui/Item/Item.css +2 -2
- package/es/components/Select/ui/Target/Target.css +2 -2
- package/es/components/Select/ui/Target/Target.js +4 -5
- package/es/components/Select/ui/Target/Target.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +2 -2
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +7 -7
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js.map +1 -1
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_q4kc1p.css +3 -0
- package/es/index.css +7 -6
- package/package.json +3 -2
- package/styled-components/cjs/components/Dropdown/Dropdown.js +8 -4
- package/styled-components/cjs/components/Dropdown/hooks/useHashMaps.js +4 -1
- package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.js +4 -2
- package/styled-components/cjs/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +5 -2
- package/styled-components/cjs/components/Select/Select.js +4 -11
- package/styled-components/cjs/components/Select/Select.tokens.js +1 -11
- package/styled-components/cjs/components/Select/ui/Target/Target.js +4 -5
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
- package/styled-components/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.config.js +8 -8
- package/styled-components/cjs/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.config.js +8 -8
- package/styled-components/cjs/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
- package/styled-components/es/components/Dropdown/Dropdown.js +8 -4
- package/styled-components/es/components/Dropdown/hooks/useHashMaps.js +4 -1
- package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.js +5 -3
- package/styled-components/es/components/Dropdown/ui/DropdownItem/DropdownItem.styles.js +5 -2
- package/styled-components/es/components/Select/Select.js +4 -11
- package/styled-components/es/components/Select/Select.tokens.js +1 -11
- package/styled-components/es/components/Select/ui/Target/Target.js +4 -5
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.js +2 -3
- package/styled-components/es/components/Select/ui/Target/ui/Textfield/Textfield.styles.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.config.js +8 -8
- package/styled-components/es/examples/plasma_b2c/components/Select/Select.stories.tsx +0 -25
- package/styled-components/es/examples/plasma_web/components/Select/Select.config.js +8 -8
- package/styled-components/es/examples/plasma_web/components/Select/Select.stories.tsx +0 -24
- package/types/components/Dropdown/Dropdown.d.ts +50 -2
- package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.types.d.ts +13 -6
- package/types/components/Dropdown/Dropdown.types.d.ts.map +1 -1
- package/types/components/Dropdown/hooks/useHashMaps.d.ts +2 -1
- package/types/components/Dropdown/hooks/useHashMaps.d.ts.map +1 -1
- package/types/components/Dropdown/index.d.ts +1 -0
- package/types/components/Dropdown/index.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.d.ts.map +1 -1
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +1 -0
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +0 -96
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts.map +1 -1
- package/types/components/Select/Select.d.ts.map +1 -1
- package/types/components/Select/Select.tokens.d.ts +1 -11
- package/types/components/Select/Select.tokens.d.ts.map +1 -1
- package/types/components/Select/Select.types.d.ts +2 -4
- package/types/components/Select/Select.types.d.ts.map +1 -1
- package/types/components/Select/ui/Target/Target.d.ts +1 -2
- package/types/components/Select/ui/Target/Target.d.ts.map +1 -1
- package/types/components/Select/ui/Target/Target.types.d.ts +2 -3
- package/types/components/Select/ui/Target/Target.types.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.types.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts +25 -1
- package/types/examples/plasma_b2c/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Select/Select.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Select/Select.d.ts +0 -96
- package/types/examples/plasma_b2c/components/Select/Select.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts +25 -1
- package/types/examples/plasma_web/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Select/Select.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Select/Select.d.ts +0 -96
- package/types/examples/plasma_web/components/Select/Select.d.ts.map +1 -1
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.styles_1b7iij0.css +0 -3
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.styles_1b7iij0.css +0 -3
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"useHashMaps.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/hooks/useHashMaps.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,oBAAY,WAAW,GAAG,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,MAAM,CAAC,CAAC;AACvD,oBAAY,qBAAqB,GAAG,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"useHashMaps.d.ts","sourceRoot":"","sources":["../../../../src/components/Dropdown/hooks/useHashMaps.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sCAAsC,CAAC;AAE1E,oBAAY,WAAW,GAAG,GAAG,CAAC,MAAM,GAAG,MAAM,EAAE,MAAM,CAAC,CAAC;AACvD,oBAAY,qBAAqB,GAAG,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;AACpE,oBAAY,kBAAkB,GAAG,GAAG,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,kBAAkB,CAAC,CAAC;AAKtF,eAAO,MAAM,WAAW,UAAW,aAAa,CAAC,OAAO,CAAC,6DA2BxD,CAAC"}
|
@@ -4,4 +4,5 @@ export { useKeyNavigation as useDropdownKeyNavigation } from './hooks/useKeyboar
|
|
4
4
|
export type { DropdownProps, DropdownPlacementBasic, DropdownPlacement, DropdownTrigger, } from './ui/DropdownOld/Dropdown.types';
|
5
5
|
export type { DropdownItemProps, DropdownItemOption } from './ui/DropdownItem/DropdownItem.type';
|
6
6
|
export * from './ui';
|
7
|
+
export type { DropdownProps as DropdownNewProps } from './Dropdown.types';
|
7
8
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACzF,OAAO,EAAE,gBAAgB,IAAI,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC7F,YAAY,EACR,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,GAClB,MAAM,iCAAiC,CAAC;AACzC,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACjG,cAAc,MAAM,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC1D,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,IAAI,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACzF,OAAO,EAAE,gBAAgB,IAAI,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC7F,YAAY,EACR,aAAa,EACb,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,GAClB,MAAM,iCAAiC,CAAC;AACzC,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AACjG,cAAc,MAAM,CAAC;AAErB,YAAY,EAAE,aAAa,IAAI,gBAAgB,EAAE,MAAM,kBAAkB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DropdownItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAqB,EAAE,EAAc,MAAM,OAAO,CAAC;
|
1
|
+
{"version":3,"file":"DropdownItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.tsx"],"names":[],"mappings":"AAAA,OAAc,EAAqB,EAAE,EAAc,MAAM,OAAO,CAAC;AAgBjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D,eAAO,MAAM,YAAY,EAAE,EAAE,CAAC,iBAAiB,CAoH9C,CAAC"}
|
@@ -39,4 +39,5 @@ export declare const Divider: import("@linaria/react").StyledComponent<import("r
|
|
39
39
|
export declare const Wrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLLIElement> & import("react").LiHTMLAttributes<HTMLLIElement> & {
|
40
40
|
variant: DropdownProps['variant'];
|
41
41
|
}>;
|
42
|
+
export declare const RenderItemWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
42
43
|
//# sourceMappingURL=DropdownItem.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DropdownItem.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.styles.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAOrD,eAAO,MAAM,WAAW,qKAgBvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAAiB,CAAC;AAEzC,eAAO,MAAM,qBAAqB,qKAGjC,CAAC;AAEF,eAAO,MAAM,OAAO;aAAyB,aAAa,CAAC,SAAS,CAAC;EASpE,CAAC;AAEF,eAAO,MAAM,OAAO;aAAwB,aAAa,CAAC,SAAS,CAAC;EAmDnE,CAAC"}
|
1
|
+
{"version":3,"file":"DropdownItem.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Dropdown/ui/DropdownItem/DropdownItem.styles.ts"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAOrD,eAAO,MAAM,WAAW,qKAgBvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qGAAiB,CAAC;AAEzC,eAAO,MAAM,qBAAqB,qKAGjC,CAAC;AAEF,eAAO,MAAM,OAAO;aAAyB,aAAa,CAAC,SAAS,CAAC;EASpE,CAAC;AAEF,eAAO,MAAM,OAAO;aAAwB,aAAa,CAAC,SAAS,CAAC;EAmDnE,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAG7B,CAAC"}
|
package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts
CHANGED
@@ -1,97 +1,6 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
export declare const SelectPerPageRoot: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
3
3
|
export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta & import("react").FunctionComponent<import("../../../../engines/types").PropsType<import("../../../../engines/types").Variants> & (({
|
4
|
-
requiredPlacement?: "left" | "right" | undefined;
|
5
|
-
} & {
|
6
|
-
required: true;
|
7
|
-
optional?: false | undefined;
|
8
|
-
} & {
|
9
|
-
target?: "textfield-like" | undefined;
|
10
|
-
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
11
|
-
contentLeft?: import("react").ReactNode;
|
12
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
13
|
-
placeholder?: string | undefined;
|
14
|
-
helperText?: string | undefined;
|
15
|
-
} & {
|
16
|
-
multiselect?: false | undefined;
|
17
|
-
separator?: undefined;
|
18
|
-
} & {
|
19
|
-
value?: any;
|
20
|
-
onChange?: ((value: any) => void) | undefined;
|
21
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
22
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
23
|
-
placeholder?: string | undefined;
|
24
|
-
helperText?: string | undefined;
|
25
|
-
disabled?: boolean | undefined;
|
26
|
-
items?: import("../../../Select").DropdownNodeSelect[] | undefined;
|
27
|
-
onItemSelect?: ((e: import("../../../Select").DropdownNodeSelect, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
28
|
-
children?: undefined;
|
29
|
-
isTargetAmount?: boolean | undefined;
|
30
|
-
renderTarget?: ((item: import("../../../Select").DropdownNodeSelect | import("../../../Select").DropdownNodeSelect[]) => import("react").ReactNode) | undefined;
|
31
|
-
placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
|
32
|
-
label?: string | undefined;
|
33
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
34
|
-
variant?: "normal" | "tight" | undefined;
|
35
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
36
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
37
|
-
renderValue?: ((item: import("../../../Select").DropdownNodeSelect) => string) | undefined;
|
38
|
-
renderItem?: ((item: import("../../../Select").DropdownNodeSelect) => import("react").ReactNode) | undefined;
|
39
|
-
closeAfterSelect?: boolean | undefined;
|
40
|
-
size?: string | undefined;
|
41
|
-
view?: string | undefined;
|
42
|
-
chipView?: string | undefined;
|
43
|
-
status?: "error" | "success" | "warning" | undefined;
|
44
|
-
hasItems?: boolean | undefined;
|
45
|
-
isOpen?: boolean | undefined;
|
46
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
47
|
-
requiredPlacement?: "left" | "right" | undefined;
|
48
|
-
} & {
|
49
|
-
required: true;
|
50
|
-
optional?: false | undefined;
|
51
|
-
} & {
|
52
|
-
target?: "textfield-like" | undefined;
|
53
|
-
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
54
|
-
contentLeft?: import("react").ReactNode;
|
55
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
56
|
-
placeholder?: string | undefined;
|
57
|
-
helperText?: string | undefined;
|
58
|
-
} & {
|
59
|
-
multiselect?: true | undefined;
|
60
|
-
separator?: string | undefined;
|
61
|
-
} & {
|
62
|
-
value?: any;
|
63
|
-
onChange?: ((value: any) => void) | undefined;
|
64
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
65
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
66
|
-
placeholder?: string | undefined;
|
67
|
-
helperText?: string | undefined;
|
68
|
-
disabled?: boolean | undefined;
|
69
|
-
items?: import("../../../Select").DropdownNodeSelect[] | undefined;
|
70
|
-
onItemSelect?: ((e: import("../../../Select").DropdownNodeSelect, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
71
|
-
children?: undefined;
|
72
|
-
isTargetAmount?: boolean | undefined;
|
73
|
-
renderTarget?: ((item: import("../../../Select").DropdownNodeSelect | import("../../../Select").DropdownNodeSelect[]) => import("react").ReactNode) | undefined;
|
74
|
-
placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
|
75
|
-
label?: string | undefined;
|
76
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
77
|
-
variant?: "normal" | "tight" | undefined;
|
78
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
79
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
80
|
-
renderValue?: ((item: import("../../../Select").DropdownNodeSelect) => string) | undefined;
|
81
|
-
renderItem?: ((item: import("../../../Select").DropdownNodeSelect) => import("react").ReactNode) | undefined;
|
82
|
-
closeAfterSelect?: boolean | undefined;
|
83
|
-
size?: string | undefined;
|
84
|
-
view?: string | undefined;
|
85
|
-
chipView?: string | undefined;
|
86
|
-
status?: "error" | "success" | "warning" | undefined;
|
87
|
-
hasItems?: boolean | undefined;
|
88
|
-
isOpen?: boolean | undefined;
|
89
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
90
|
-
requiredPlacement?: "left" | "right" | undefined;
|
91
|
-
} & {
|
92
|
-
optional?: true | undefined;
|
93
|
-
required?: false | undefined;
|
94
|
-
} & {
|
95
4
|
target?: "textfield-like" | undefined;
|
96
5
|
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
97
6
|
contentLeft?: import("react").ReactNode;
|
@@ -130,11 +39,6 @@ export declare const SelectPerPageSelect: import("@linaria/react").StyledMeta &
|
|
130
39
|
hasItems?: boolean | undefined;
|
131
40
|
isOpen?: boolean | undefined;
|
132
41
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
133
|
-
requiredPlacement?: "left" | "right" | undefined;
|
134
|
-
} & {
|
135
|
-
optional?: true | undefined;
|
136
|
-
required?: false | undefined;
|
137
|
-
} & {
|
138
42
|
target?: "textfield-like" | undefined;
|
139
43
|
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
140
44
|
contentLeft?: import("react").ReactNode;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"PaginationSelectPerPage.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,iBAAiB,qKAI7B,CAAC;AAEF,eAAO,MAAM,mBAAmB
|
1
|
+
{"version":3,"file":"PaginationSelectPerPage.styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,iBAAiB,qKAI7B,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLA6B/B,CAAC;AAEF,eAAO,MAAM,uBAAuB,qKAOnC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4F,MAAM,OAAO,CAAC;AAGjH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAiB1C,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4F,MAAM,OAAO,CAAC;AAGjH,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAiB1C,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAIrE,eAAO,MAAM,OAAO,4BAAgD,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,UAAU,SAAU,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC,kJAuUzF,CAAC;AAEP,eAAO,MAAM,YAAY;;;mBAzUQ,UAAU,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,OAAO,CAAC,CAAC;;;;;;;;;CAqV9F,CAAC"}
|
@@ -69,6 +69,7 @@ export declare const tokens: {
|
|
69
69
|
textFieldBorderColorFocus: string;
|
70
70
|
textFieldPlaceholderColor: string;
|
71
71
|
textFieldPlaceholderColorFocus: string;
|
72
|
+
textFieldOptionalColor: string;
|
72
73
|
textFieldHeight: string;
|
73
74
|
textFieldBorderWidth: string;
|
74
75
|
textFieldBorderRadius: string;
|
@@ -152,17 +153,6 @@ export declare const tokens: {
|
|
152
153
|
textFieldChipLineHeight: string;
|
153
154
|
textFieldChipClearContentMarginLeft: string;
|
154
155
|
textFieldChipClearContentMarginRight: string;
|
155
|
-
textFieldIndicatorColor: string;
|
156
|
-
textFieldIndicatorSizeInner: string;
|
157
|
-
textFieldIndicatorSizeOuter: string;
|
158
|
-
textFieldIndicatorLabelPlacementInner: string;
|
159
|
-
textFieldIndicatorLabelPlacementOuter: string;
|
160
|
-
textFieldIndicatorLabelPlacementInnerRight: string;
|
161
|
-
textFieldIndicatorLabelPlacementOuterRight: string;
|
162
|
-
textFieldClearIndicatorLabelPlacementInner: string;
|
163
|
-
textFieldClearIndicatorLabelPlacementInnerRight: string;
|
164
|
-
textFieldClearIndicatorHintInnerRight: string;
|
165
|
-
textFieldOptionalColor: string;
|
166
156
|
textFieldFocusColor: string;
|
167
157
|
disclosureIconColor: string;
|
168
158
|
disclosureIconColorHover: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;CAUnB,CAAC;AAEF,eAAO,MAAM,MAAM
|
1
|
+
{"version":3,"file":"Select.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO;;;;;;;;;;CAUnB,CAAC;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoLlB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;CAmBrB,CAAC"}
|
@@ -1,13 +1,11 @@
|
|
1
1
|
import type { CSSProperties, ButtonHTMLAttributes, SyntheticEvent } from 'react';
|
2
2
|
import React from 'react';
|
3
|
-
import type { RequiredProps } from '../TextField/TextField.types';
|
4
3
|
import { FocusedPathState } from './reducers';
|
5
4
|
import { ItemOption, MergedDropdownNode as DropdownNode, MergedDropdownNodeTransformed } from './ui/Inner/ui/Item/Item.types';
|
6
5
|
import type { ValueToCheckedMapType, ValueToItemMapType } from './hooks/usePathMaps';
|
7
6
|
declare type SelectPlacementBasic = 'top' | 'bottom' | 'right' | 'left';
|
8
7
|
declare type SelectPlacement = 'top' | 'bottom' | 'right' | 'left' | 'auto';
|
9
|
-
|
10
|
-
declare type Target = (RequiredProps & {
|
8
|
+
declare type Target = {
|
11
9
|
/**
|
12
10
|
* Стиль селекта: button-like или textfield-like.
|
13
11
|
* @default textfield-like
|
@@ -31,7 +29,7 @@ declare type Target = (RequiredProps & {
|
|
31
29
|
* Вспомогательный текст снизу слева для поля ввода.
|
32
30
|
*/
|
33
31
|
helperText?: string;
|
34
|
-
}
|
32
|
+
} | {
|
35
33
|
target: 'button-like';
|
36
34
|
view?: 'default' | 'accent' | 'secondary' | 'clear' | 'positive' | 'warning' | 'negative' | 'dark' | 'black' | 'white';
|
37
35
|
contentLeft?: never;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,
|
1
|
+
{"version":3,"file":"Select.types.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACjF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EACH,UAAU,EACV,kBAAkB,IAAI,YAAY,EAClC,6BAA6B,EAChC,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAErF,aAAK,oBAAoB,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,CAAC;AAChE,aAAK,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,CAAC;AAEpE,a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AAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
|
-
export declare const Target: React.ForwardRefExoticComponent<Pick<import("../..").MergedSelectProps<any, import("../..").DropdownNodeSelect>, "label" | "view" | "placeholder" | "disabled" | "size" | "contentLeft" | "labelPlacement" | "helperText" | "multiselect" | "renderValue" | "isTargetAmount" | "chipView"> & {
|
2
|
+
export declare const Target: React.ForwardRefExoticComponent<Pick<import("../..").MergedSelectProps<any, import("../..").DropdownNodeSelect>, "label" | "view" | "target" | "placeholder" | "disabled" | "size" | "contentLeft" | "labelPlacement" | "helperText" | "multiselect" | "renderValue" | "isTargetAmount" | "chipView"> & {
|
3
3
|
value: import("../../Select.types").DefaultValueType;
|
4
4
|
opened: boolean;
|
5
5
|
valueToItemMap: import("../../hooks/usePathMaps").ValueToItemMapType;
|
@@ -11,7 +11,6 @@ export declare const Target: React.ForwardRefExoticComponent<Pick<import("../.."
|
|
11
11
|
activeDescendantItemValue: string;
|
12
12
|
onChange: (newValue: string | number | (string | number)[]) => void;
|
13
13
|
labelToItemMap: import("../../hooks/usePathMaps").LabelToItemMapType;
|
14
|
-
requiredProps: import("../../Select.types").RequiredProps | undefined;
|
15
14
|
separator?: string | undefined;
|
16
15
|
} & React.RefAttributes<HTMLButtonElement>>;
|
17
16
|
//# sourceMappingURL=Target.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Target.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/Target/Target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,eAAO,MAAM,MAAM
|
1
|
+
{"version":3,"file":"Target.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/Target/Target.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAO1C,eAAO,MAAM,MAAM;;;;;;;;;;;;;2CAyFlB,CAAC"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import type { KeyboardEvent, MutableRefObject } from 'react';
|
2
2
|
import type { LabelToItemMapType, ValueToItemMapType } from '../../hooks/usePathMaps';
|
3
|
-
import type { DefaultValueType, MergedSelectProps
|
4
|
-
export declare type TargetProps = Pick<MergedSelectProps, 'size' | 'view' | 'label' | 'labelPlacement' | 'placeholder' | 'contentLeft' | 'disabled' | 'renderValue' | 'multiselect' | 'helperText' | 'isTargetAmount' | 'chipView'> & {
|
3
|
+
import type { DefaultValueType, MergedSelectProps } from '../../Select.types';
|
4
|
+
export declare type TargetProps = Pick<MergedSelectProps, 'size' | 'view' | 'label' | 'labelPlacement' | 'placeholder' | 'contentLeft' | 'disabled' | 'renderValue' | 'multiselect' | 'helperText' | 'isTargetAmount' | 'target' | 'chipView'> & {
|
5
5
|
value: DefaultValueType;
|
6
6
|
opened: boolean;
|
7
7
|
valueToItemMap: ValueToItemMapType;
|
@@ -13,7 +13,6 @@ export declare type TargetProps = Pick<MergedSelectProps, 'size' | 'view' | 'lab
|
|
13
13
|
activeDescendantItemValue: string;
|
14
14
|
onChange: (newValue: string | number | Array<string | number>) => void;
|
15
15
|
labelToItemMap: LabelToItemMapType;
|
16
|
-
requiredProps: RequiredProps | undefined;
|
17
16
|
separator?: string;
|
18
17
|
};
|
19
18
|
//# sourceMappingURL=Target.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Target.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/Target/Target.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,
|
1
|
+
{"version":3,"file":"Target.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/Target/Target.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AAE7D,OAAO,KAAK,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE9E,oBAAY,WAAW,GAAG,IAAI,CAC1B,iBAAiB,EACf,MAAM,GACN,MAAM,GACN,OAAO,GACP,gBAAgB,GAChB,aAAa,GACb,aAAa,GACb,UAAU,GACV,aAAa,GACb,aAAa,GACb,YAAY,GACZ,gBAAgB,GAChB,QAAQ,GACR,UAAU,CACf,GAAG;IACA,KAAK,EAAE,gBAAgB,CAAC;IACxB,MAAM,EAAE,OAAO,CAAC;IAChB,cAAc,EAAE,kBAAkB,CAAC;IACnC,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC;IACvD,WAAW,EAAE,iBAAiB,CAAC;IAC/B,eAAe,EAAE,gBAAgB,CAAC,cAAc,CAAC,CAAC;IAClD,gBAAgB,EAAE,MAAM,IAAI,CAAC;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,yBAAyB,EAAE,MAAM,CAAC;IAClC,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,CAAC,MAAM,GAAG,MAAM,CAAC,KAAK,IAAI,CAAC;IACvE,cAAc,EAAE,kBAAkB,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Textfield.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,eAAO,MAAM,SAAS,
|
1
|
+
{"version":3,"file":"Textfield.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAM1C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,eAAO,MAAM,SAAS,yFA6FrB,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Textfield.styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.styles.tsx"],"names":[],"mappings":";AAUA,eAAO,MAAM,eAAe;YAA+B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Textfield.styles.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.styles.tsx"],"names":[],"mappings":";AAUA,eAAO,MAAM,eAAe;YAA+B,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sJAoIjE,CAAC;AAEF,eAAO,MAAM,gBAAgB;cAA0B,OAAO;EAc7D,CAAC;AAEF,eAAO,MAAM,WAAW,6GAAuC,CAAC"}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { TargetProps } from '../../Target.types';
|
2
|
-
export declare type TextfieldProps = Pick<TargetProps, 'inputWrapperRef' | 'opened' | 'multiselect' | 'value' | 'label' | 'placeholder' | 'onKeyDown' | 'labelPlacement' | 'size' | 'view' | 'handleClickArrow' | 'contentLeft' | 'helperText' | 'treeId' | 'activeDescendantItemValue' | 'disabled' | 'isTargetAmount' | 'valueToItemMap' | 'renderValue' | 'onChange' | 'labelToItemMap' | 'chipView'
|
2
|
+
export declare type TextfieldProps = Pick<TargetProps, 'inputWrapperRef' | 'opened' | 'multiselect' | 'value' | 'label' | 'placeholder' | 'onKeyDown' | 'labelPlacement' | 'size' | 'view' | 'handleClickArrow' | 'contentLeft' | 'helperText' | 'treeId' | 'activeDescendantItemValue' | 'disabled' | 'isTargetAmount' | 'valueToItemMap' | 'renderValue' | 'onChange' | 'labelToItemMap' | 'chipView'>;
|
3
3
|
//# sourceMappingURL=Textfield.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Textfield.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,oBAAY,cAAc,GAAG,IAAI,CAC7B,WAAW,EACT,iBAAiB,GACjB,QAAQ,GACR,aAAa,GACb,OAAO,GACP,OAAO,GACP,aAAa,GACb,WAAW,GACX,gBAAgB,GAChB,MAAM,GACN,MAAM,GACN,kBAAkB,GAClB,aAAa,GACb,YAAY,GACZ,QAAQ,GACR,2BAA2B,GAC3B,UAAU,GACV,gBAAgB,GAChB,gBAAgB,GAChB,aAAa,GACb,UAAU,GACV,gBAAgB,GAChB,UAAU,
|
1
|
+
{"version":3,"file":"Textfield.types.d.ts","sourceRoot":"","sources":["../../../../../../../src/components/Select/ui/Target/ui/Textfield/Textfield.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEjD,oBAAY,cAAc,GAAG,IAAI,CAC7B,WAAW,EACT,iBAAiB,GACjB,QAAQ,GACR,aAAa,GACb,OAAO,GACP,OAAO,GACP,aAAa,GACb,WAAW,GACX,gBAAgB,GAChB,MAAM,GACN,MAAM,GACN,kBAAkB,GAClB,aAAa,GACb,YAAY,GACZ,QAAQ,GACR,2BAA2B,GAC3B,UAAU,GACV,gBAAgB,GAChB,gBAAgB,GAChB,aAAa,GACb,UAAU,GACV,gBAAgB,GAChB,UAAU,CACf,CAAC"}
|
@@ -9,5 +9,29 @@ export declare const Dropdown: import("react").FunctionComponent<import("../../.
|
|
9
9
|
view: {
|
10
10
|
default: import("@linaria/core").LinariaClassName;
|
11
11
|
};
|
12
|
-
}> &
|
12
|
+
}> & {
|
13
|
+
items: import("../../../../components/Dropdown").DropdownItemOption[];
|
14
|
+
alwaysOpened?: boolean | undefined;
|
15
|
+
children?: import("react").ReactNode;
|
16
|
+
itemRole?: string | undefined;
|
17
|
+
onHover?: ((index: number) => void) | undefined;
|
18
|
+
onItemSelect?: ((item: import("../../../../components/Dropdown").DropdownItemOption, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
19
|
+
trigger?: import("../../../../components/Dropdown/Dropdown.types").DropdownTrigger | undefined;
|
20
|
+
placement?: import("../../../../components/Dropdown/Dropdown.types").DropdownPlacement | undefined;
|
21
|
+
offset?: [number, number] | undefined;
|
22
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
23
|
+
hasArrow?: boolean | undefined;
|
24
|
+
closeOnSelect?: boolean | undefined;
|
25
|
+
closeOnOverlayClick?: boolean | undefined;
|
26
|
+
onToggle?: ((isOpen: boolean, event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
27
|
+
size?: string | undefined;
|
28
|
+
view?: string | undefined;
|
29
|
+
variant?: "normal" | "tight" | undefined;
|
30
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
31
|
+
renderItem?: ((item: import("../../../../components/Dropdown").DropdownItemOption) => import("react").ReactNode) | undefined;
|
32
|
+
onItemClick?: ((item: import("../../../../components/Dropdown").DropdownItemOption, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
33
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
34
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
35
|
+
hoverIndex?: number | undefined;
|
36
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
13
37
|
//# sourceMappingURL=Dropdown.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Dropdown/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Dropdown/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mGAA0B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Select/Select.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Select.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Select/Select.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwpBlB,CAAC"}
|
@@ -31,97 +31,6 @@ declare const Select: import("react").FunctionComponent<import("../../../../engi
|
|
31
31
|
true: import("@linaria/core").LinariaClassName;
|
32
32
|
};
|
33
33
|
}> & (({
|
34
|
-
requiredPlacement?: "left" | "right" | undefined;
|
35
|
-
} & {
|
36
|
-
required: true;
|
37
|
-
optional?: false | undefined;
|
38
|
-
} & {
|
39
|
-
target?: "textfield-like" | undefined;
|
40
|
-
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
41
|
-
contentLeft?: import("react").ReactNode;
|
42
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
43
|
-
placeholder?: string | undefined;
|
44
|
-
helperText?: string | undefined;
|
45
|
-
} & {
|
46
|
-
multiselect?: false | undefined;
|
47
|
-
separator?: undefined;
|
48
|
-
} & {
|
49
|
-
value?: any;
|
50
|
-
onChange?: ((value: any) => void) | undefined;
|
51
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
52
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
53
|
-
placeholder?: string | undefined;
|
54
|
-
helperText?: string | undefined;
|
55
|
-
disabled?: boolean | undefined;
|
56
|
-
items?: import("../../../..").DropdownNodeSelect[] | undefined;
|
57
|
-
onItemSelect?: ((e: import("../../../..").DropdownNodeSelect, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
58
|
-
children?: undefined;
|
59
|
-
isTargetAmount?: boolean | undefined;
|
60
|
-
renderTarget?: ((item: import("../../../..").DropdownNodeSelect | import("../../../..").DropdownNodeSelect[]) => import("react").ReactNode) | undefined;
|
61
|
-
placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
|
62
|
-
label?: string | undefined;
|
63
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
64
|
-
variant?: "normal" | "tight" | undefined;
|
65
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
66
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
67
|
-
renderValue?: ((item: import("../../../..").DropdownNodeSelect) => string) | undefined;
|
68
|
-
renderItem?: ((item: import("../../../..").DropdownNodeSelect) => import("react").ReactNode) | undefined;
|
69
|
-
closeAfterSelect?: boolean | undefined;
|
70
|
-
size?: string | undefined;
|
71
|
-
view?: string | undefined;
|
72
|
-
chipView?: string | undefined;
|
73
|
-
status?: "error" | "success" | "warning" | undefined;
|
74
|
-
hasItems?: boolean | undefined;
|
75
|
-
isOpen?: boolean | undefined;
|
76
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
77
|
-
requiredPlacement?: "left" | "right" | undefined;
|
78
|
-
} & {
|
79
|
-
required: true;
|
80
|
-
optional?: false | undefined;
|
81
|
-
} & {
|
82
|
-
target?: "textfield-like" | undefined;
|
83
|
-
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
84
|
-
contentLeft?: import("react").ReactNode;
|
85
|
-
labelPlacement?: "inner" | "outer" | undefined;
|
86
|
-
placeholder?: string | undefined;
|
87
|
-
helperText?: string | undefined;
|
88
|
-
} & {
|
89
|
-
multiselect?: true | undefined;
|
90
|
-
separator?: string | undefined;
|
91
|
-
} & {
|
92
|
-
value?: any;
|
93
|
-
onChange?: ((value: any) => void) | undefined;
|
94
|
-
listOverflow?: import("csstype").Property.Overflow | undefined;
|
95
|
-
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
96
|
-
placeholder?: string | undefined;
|
97
|
-
helperText?: string | undefined;
|
98
|
-
disabled?: boolean | undefined;
|
99
|
-
items?: import("../../../..").DropdownNodeSelect[] | undefined;
|
100
|
-
onItemSelect?: ((e: import("../../../..").DropdownNodeSelect, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
101
|
-
children?: undefined;
|
102
|
-
isTargetAmount?: boolean | undefined;
|
103
|
-
renderTarget?: ((item: import("../../../..").DropdownNodeSelect | import("../../../..").DropdownNodeSelect[]) => import("react").ReactNode) | undefined;
|
104
|
-
placement?: ("auto" | "left" | "right" | "top" | "bottom") | ("left" | "right" | "top" | "bottom")[] | undefined;
|
105
|
-
label?: string | undefined;
|
106
|
-
onScrollBottom?: ((e: import("react").UIEvent<HTMLUListElement, UIEvent>) => void) | undefined;
|
107
|
-
variant?: "normal" | "tight" | undefined;
|
108
|
-
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
109
|
-
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
110
|
-
renderValue?: ((item: import("../../../..").DropdownNodeSelect) => string) | undefined;
|
111
|
-
renderItem?: ((item: import("../../../..").DropdownNodeSelect) => import("react").ReactNode) | undefined;
|
112
|
-
closeAfterSelect?: boolean | undefined;
|
113
|
-
size?: string | undefined;
|
114
|
-
view?: string | undefined;
|
115
|
-
chipView?: string | undefined;
|
116
|
-
status?: "error" | "success" | "warning" | undefined;
|
117
|
-
hasItems?: boolean | undefined;
|
118
|
-
isOpen?: boolean | undefined;
|
119
|
-
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
120
|
-
requiredPlacement?: "left" | "right" | undefined;
|
121
|
-
} & {
|
122
|
-
optional?: true | undefined;
|
123
|
-
required?: false | undefined;
|
124
|
-
} & {
|
125
34
|
target?: "textfield-like" | undefined;
|
126
35
|
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
127
36
|
contentLeft?: import("react").ReactNode;
|
@@ -160,11 +69,6 @@ declare const Select: import("react").FunctionComponent<import("../../../../engi
|
|
160
69
|
hasItems?: boolean | undefined;
|
161
70
|
isOpen?: boolean | undefined;
|
162
71
|
} & Omit<import("react").ButtonHTMLAttributes<HTMLButtonElement>, "onChange" | "onResize" | "onResizeCapture" | "nonce" | "value"> & import("react").RefAttributes<HTMLButtonElement>) | ({
|
163
|
-
requiredPlacement?: "left" | "right" | undefined;
|
164
|
-
} & {
|
165
|
-
optional?: true | undefined;
|
166
|
-
required?: false | undefined;
|
167
|
-
} & {
|
168
72
|
target?: "textfield-like" | undefined;
|
169
73
|
view?: "default" | "warning" | "positive" | "negative" | undefined;
|
170
74
|
contentLeft?: import("react").ReactNode;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Select/Select.ts"],"names":[],"mappings":";AAMA,QAAA,MAAM,MAAM
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Select/Select.ts"],"names":[],"mappings":";AAMA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wLAA0B,CAAC;AAEvC,OAAO,EAAE,MAAM,EAAE,CAAC"}
|
@@ -9,5 +9,29 @@ export declare const Dropdown: import("react").FunctionComponent<import("../../.
|
|
9
9
|
view: {
|
10
10
|
default: import("@linaria/core").LinariaClassName;
|
11
11
|
};
|
12
|
-
}> &
|
12
|
+
}> & {
|
13
|
+
items: import("../../../../components/Dropdown").DropdownItemOption[];
|
14
|
+
alwaysOpened?: boolean | undefined;
|
15
|
+
children?: import("react").ReactNode;
|
16
|
+
itemRole?: string | undefined;
|
17
|
+
onHover?: ((index: number) => void) | undefined;
|
18
|
+
onItemSelect?: ((item: import("../../../../components/Dropdown").DropdownItemOption, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
19
|
+
trigger?: import("../../../../components/Dropdown/Dropdown.types").DropdownTrigger | undefined;
|
20
|
+
placement?: import("../../../../components/Dropdown/Dropdown.types").DropdownPlacement | undefined;
|
21
|
+
offset?: [number, number] | undefined;
|
22
|
+
listWidth?: import("csstype").Property.Width<string | number> | undefined;
|
23
|
+
hasArrow?: boolean | undefined;
|
24
|
+
closeOnSelect?: boolean | undefined;
|
25
|
+
closeOnOverlayClick?: boolean | undefined;
|
26
|
+
onToggle?: ((isOpen: boolean, event: Event | import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
27
|
+
size?: string | undefined;
|
28
|
+
view?: string | undefined;
|
29
|
+
variant?: "normal" | "tight" | undefined;
|
30
|
+
portal?: string | import("react").RefObject<HTMLElement> | undefined;
|
31
|
+
renderItem?: ((item: import("../../../../components/Dropdown").DropdownItemOption) => import("react").ReactNode) | undefined;
|
32
|
+
onItemClick?: ((item: import("../../../../components/Dropdown").DropdownItemOption, event: import("react").SyntheticEvent<Element, Event>) => void) | undefined;
|
33
|
+
listOverflow?: import("csstype").Property.Overflow | undefined;
|
34
|
+
listHeight?: import("csstype").Property.Height<string | number> | undefined;
|
35
|
+
hoverIndex?: number | undefined;
|
36
|
+
} & import("react").HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
13
37
|
//# sourceMappingURL=Dropdown.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Dropdown/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Dropdown/Dropdown.ts"],"names":[],"mappings":";AAMA,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mGAA0B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Select/Select.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Select.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Select/Select.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoqBlB,CAAC"}
|