@salutejs/plasma-new-hope 0.72.0-canary.1160.8617165473.0 → 0.72.0-canary.1161.8613778758.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Cell/Cell.js +0 -2
- package/cjs/components/Cell/Cell.js.map +1 -1
- package/cjs/components/Combobox/Combobox.css +10 -10
- package/cjs/components/Combobox/Combobox.styles.js +5 -5
- package/cjs/components/Combobox/Combobox.styles.js.map +1 -1
- package/cjs/components/Combobox/{Combobox.styles_17ei5vn.css → Combobox.styles_dw6hnk.css} +1 -1
- package/cjs/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +4 -4
- package/cjs/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +4 -4
- package/cjs/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +4 -4
- package/cjs/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +4 -4
- package/cjs/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -4
- package/cjs/components/Dropdown/Dropdown.css +4 -4
- package/cjs/components/Dropdown/Dropdown.js +0 -1
- package/cjs/components/Dropdown/Dropdown.js.map +1 -1
- package/cjs/components/Pagination/Pagination.css +4 -4
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +4 -4
- package/cjs/components/Popover/Popover.css +4 -4
- package/cjs/components/Popover/Popover.js +33 -43
- package/cjs/components/Popover/Popover.js.map +1 -1
- package/cjs/components/Popover/Popover.styles.js +1 -1
- package/cjs/components/Popover/Popover.styles.js.map +1 -1
- package/{es/components/Popover/Popover.styles_1rk9t6z.css → cjs/components/Popover/Popover.styles_1ggb66y.css} +1 -1
- package/cjs/components/Select/Select.css +4 -4
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.css +23 -0
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.js +40 -0
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -0
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js +12 -0
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +1 -0
- package/cjs/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +1 -0
- package/cjs/components/{TextField/variations/_view → Select/ui/SelectDivider/variations/_size}/base.js +2 -2
- package/cjs/components/Select/ui/SelectDivider/variations/_size/base.js.map +1 -0
- package/cjs/components/{TextField/variations/_read-only → Select/ui/SelectDivider/variations/_view}/base.js +2 -2
- package/cjs/components/Select/ui/SelectDivider/variations/_view/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.css +23 -0
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.js +40 -0
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -0
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js +12 -0
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +1 -0
- package/cjs/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +1 -0
- package/cjs/components/{TextField → Select/ui/SelectFooter}/variations/_size/base.js +2 -2
- package/cjs/components/Select/ui/SelectFooter/variations/_size/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +1 -0
- package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js +9 -0
- package/cjs/components/Select/ui/SelectFooter/variations/_view/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +1 -0
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.css +23 -0
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.js +40 -0
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -0
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js +12 -0
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +1 -0
- package/cjs/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +1 -0
- package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js +9 -0
- package/cjs/components/Select/ui/SelectGroup/variations/_size/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +1 -0
- package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js +9 -0
- package/cjs/components/Select/ui/SelectGroup/variations/_view/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +1 -0
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.css +23 -0
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.js +40 -0
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -0
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js +12 -0
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +1 -0
- package/cjs/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +1 -0
- package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js +9 -0
- package/cjs/components/Select/ui/SelectHeader/variations/_size/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +1 -0
- package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js +9 -0
- package/cjs/components/Select/ui/SelectHeader/variations/_view/base.js.map +1 -0
- package/cjs/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +1 -0
- package/cjs/components/Select/ui/SelectItem/SelectItem.css +4 -4
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
- package/cjs/components/Select/ui/SelectTarget/SelectTarget.js.map +1 -1
- package/cjs/components/TextField/TextField.js +40 -166
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/components/TextField/TextField.styles.js +11 -27
- package/cjs/components/TextField/TextField.styles.js.map +1 -1
- package/cjs/components/TextField/TextField.styles_2qw1n8.css +5 -0
- package/cjs/components/TextField/TextField.tokens.js +20 -68
- package/cjs/components/TextField/TextField.tokens.js.map +1 -1
- package/cjs/components/TextField/TextField_1lzb2r1.css +1 -0
- package/cjs/components/TextField/{variations/_disabled → _disabled}/base.js +2 -2
- package/cjs/components/TextField/_disabled/base.js.map +1 -0
- package/cjs/components/TextField/_disabled/base_so3w81.css +1 -0
- package/cjs/components/TextField/{variations/_label-placement → _label-placement}/base.js +1 -1
- package/cjs/components/TextField/_label-placement/base.js.map +1 -0
- package/cjs/components/TextField/_label-placement/base_x642ct.css +1 -0
- package/cjs/components/TextField/{variations/_label-placement → _label-placement}/inner.js +2 -2
- package/cjs/components/TextField/_label-placement/inner.js.map +1 -0
- package/cjs/components/TextField/_label-placement/inner_1tyuicp.css +1 -0
- package/cjs/components/TextField/{variations/_label-placement → _label-placement}/outer.js +2 -2
- package/cjs/components/TextField/_label-placement/outer.js.map +1 -0
- package/cjs/components/TextField/_label-placement/outer_19ekaek.css +1 -0
- package/cjs/components/TextField/_size/base.js +9 -0
- package/cjs/components/TextField/_size/base.js.map +1 -0
- package/cjs/components/TextField/_size/base_b5smyu.css +1 -0
- package/cjs/components/TextField/_view/base.js +9 -0
- package/cjs/components/TextField/_view/base.js.map +1 -0
- package/cjs/components/TextField/_view/base_5bqzed.css +1 -0
- package/cjs/index.css +42 -49
- package/cjs/index.js +41 -6
- package/cjs/index.js.map +1 -1
- package/cjs/utils/index.js +13 -1
- package/cjs/utils/index.js.map +1 -1
- package/cjs/utils/react.js +12 -2
- package/cjs/utils/react.js.map +1 -1
- package/es/components/Cell/Cell.js +0 -2
- package/es/components/Cell/Cell.js.map +1 -1
- package/es/components/Combobox/Combobox.css +10 -10
- package/es/components/Combobox/Combobox.styles.js +5 -5
- package/es/components/Combobox/Combobox.styles.js.map +1 -1
- package/es/components/Combobox/{Combobox.styles_17ei5vn.css → Combobox.styles_dw6hnk.css} +1 -1
- package/es/components/Combobox/ui/ComboboxDivider/ComboboxDivider.css +4 -4
- package/es/components/Combobox/ui/ComboboxFooter/ComboboxFooter.css +4 -4
- package/es/components/Combobox/ui/ComboboxGroup/ComboboxGroup.css +4 -4
- package/es/components/Combobox/ui/ComboboxHeader/ComboboxHeader.css +4 -4
- package/es/components/Combobox/ui/ComboboxItem/ComboboxItem.css +4 -4
- package/es/components/Dropdown/Dropdown.css +4 -4
- package/es/components/Dropdown/Dropdown.js +0 -1
- package/es/components/Dropdown/Dropdown.js.map +1 -1
- package/es/components/Pagination/Pagination.css +4 -4
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +4 -4
- package/es/components/Popover/Popover.css +4 -4
- package/es/components/Popover/Popover.js +33 -43
- package/es/components/Popover/Popover.js.map +1 -1
- package/es/components/Popover/Popover.styles.js +1 -1
- package/es/components/Popover/Popover.styles.js.map +1 -1
- package/{cjs/components/Popover/Popover.styles_1rk9t6z.css → es/components/Popover/Popover.styles_1ggb66y.css} +1 -1
- package/es/components/Select/Select.css +4 -4
- package/es/components/Select/ui/SelectDivider/SelectDivider.css +23 -0
- package/es/components/Select/ui/SelectDivider/SelectDivider.js +35 -0
- package/es/components/Select/ui/SelectDivider/SelectDivider.js.map +1 -0
- package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js +7 -0
- package/es/components/Select/ui/SelectDivider/SelectDivider.styles.js.map +1 -0
- package/es/components/Select/ui/SelectDivider/SelectDivider.styles_673hj6.css +1 -0
- package/es/components/{TextField/variations/_view → Select/ui/SelectDivider/variations/_size}/base.js +2 -2
- package/es/components/Select/ui/SelectDivider/variations/_size/base.js.map +1 -0
- package/es/components/Select/ui/SelectDivider/variations/_size/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectDivider/variations/_view/base.js +5 -0
- package/es/components/Select/ui/SelectDivider/variations/_view/base.js.map +1 -0
- package/es/components/Select/ui/SelectDivider/variations/_view/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectFooter/SelectFooter.css +23 -0
- package/es/components/Select/ui/SelectFooter/SelectFooter.js +35 -0
- package/es/components/Select/ui/SelectFooter/SelectFooter.js.map +1 -0
- package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js +7 -0
- package/es/components/Select/ui/SelectFooter/SelectFooter.styles.js.map +1 -0
- package/es/components/Select/ui/SelectFooter/SelectFooter.styles_11hk6tt.css +1 -0
- package/es/components/Select/ui/SelectFooter/variations/_size/base.js +5 -0
- package/es/components/Select/ui/SelectFooter/variations/_size/base.js.map +1 -0
- package/es/components/Select/ui/SelectFooter/variations/_size/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectFooter/variations/_view/base.js +5 -0
- package/es/components/Select/ui/SelectFooter/variations/_view/base.js.map +1 -0
- package/es/components/Select/ui/SelectFooter/variations/_view/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectGroup/SelectGroup.css +23 -0
- package/es/components/Select/ui/SelectGroup/SelectGroup.js +35 -0
- package/es/components/Select/ui/SelectGroup/SelectGroup.js.map +1 -0
- package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js +7 -0
- package/es/components/Select/ui/SelectGroup/SelectGroup.styles.js.map +1 -0
- package/es/components/Select/ui/SelectGroup/SelectGroup.styles_mktu7e.css +1 -0
- package/es/components/Select/ui/SelectGroup/variations/_size/base.js +5 -0
- package/es/components/Select/ui/SelectGroup/variations/_size/base.js.map +1 -0
- package/es/components/Select/ui/SelectGroup/variations/_size/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectGroup/variations/_view/base.js +5 -0
- package/es/components/Select/ui/SelectGroup/variations/_view/base.js.map +1 -0
- package/es/components/Select/ui/SelectGroup/variations/_view/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectHeader/SelectHeader.css +23 -0
- package/es/components/Select/ui/SelectHeader/SelectHeader.js +35 -0
- package/es/components/Select/ui/SelectHeader/SelectHeader.js.map +1 -0
- package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js +7 -0
- package/es/components/Select/ui/SelectHeader/SelectHeader.styles.js.map +1 -0
- package/es/components/Select/ui/SelectHeader/SelectHeader.styles_24gqog.css +1 -0
- package/es/components/Select/ui/SelectHeader/variations/_size/base.js +5 -0
- package/es/components/Select/ui/SelectHeader/variations/_size/base.js.map +1 -0
- package/es/components/Select/ui/SelectHeader/variations/_size/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectHeader/variations/_view/base.js +5 -0
- package/es/components/Select/ui/SelectHeader/variations/_view/base.js.map +1 -0
- package/es/components/Select/ui/SelectHeader/variations/_view/base_x642ct.css +1 -0
- package/es/components/Select/ui/SelectItem/SelectItem.css +4 -4
- package/es/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
- package/es/components/Select/ui/SelectTarget/SelectTarget.js.map +1 -1
- package/es/components/TextField/TextField.js +44 -169
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextField/TextField.styles.js +12 -25
- package/es/components/TextField/TextField.styles.js.map +1 -1
- package/es/components/TextField/TextField.styles_2qw1n8.css +5 -0
- package/es/components/TextField/TextField.tokens.js +21 -68
- package/es/components/TextField/TextField.tokens.js.map +1 -1
- package/es/components/TextField/TextField_1lzb2r1.css +1 -0
- package/es/components/TextField/_disabled/base.js +5 -0
- package/es/components/TextField/_disabled/base.js.map +1 -0
- package/es/components/TextField/_disabled/base_so3w81.css +1 -0
- package/es/components/TextField/{variations/_label-placement → _label-placement}/base.js +1 -1
- package/es/components/TextField/_label-placement/base.js.map +1 -0
- package/es/components/TextField/_label-placement/base_x642ct.css +1 -0
- package/es/components/TextField/_label-placement/inner.js +5 -0
- package/es/components/TextField/_label-placement/inner.js.map +1 -0
- package/es/components/TextField/_label-placement/inner_1tyuicp.css +1 -0
- package/es/components/TextField/_label-placement/outer.js +5 -0
- package/es/components/TextField/_label-placement/outer.js.map +1 -0
- package/es/components/TextField/_label-placement/outer_19ekaek.css +1 -0
- package/es/components/TextField/_size/base.js +5 -0
- package/es/components/TextField/_size/base.js.map +1 -0
- package/es/components/TextField/_size/base_b5smyu.css +1 -0
- package/es/components/TextField/_view/base.js +5 -0
- package/es/components/TextField/_view/base.js.map +1 -0
- package/es/components/TextField/_view/base_5bqzed.css +1 -0
- package/es/index.css +42 -49
- package/es/index.js +15 -2
- package/es/index.js.map +1 -1
- package/es/utils/index.js +11 -2
- package/es/utils/index.js.map +1 -1
- package/es/utils/react.js +9 -2
- package/es/utils/react.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Cell/Cell.js +0 -2
- package/styled-components/cjs/components/Combobox/Combobox.styles.js +1 -1
- package/styled-components/cjs/components/Dropdown/Dropdown.js +0 -1
- package/styled-components/cjs/components/Popover/Popover.js +33 -43
- package/styled-components/cjs/components/Popover/Popover.styles.js +1 -1
- package/styled-components/cjs/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
- package/styled-components/cjs/components/TextField/TextField.js +43 -173
- package/styled-components/cjs/components/TextField/TextField.styles.js +10 -18
- package/styled-components/cjs/components/TextField/TextField.template-doc.mdx +0 -24
- package/styled-components/cjs/components/TextField/TextField.tokens.js +21 -68
- package/styled-components/cjs/components/TextField/_disabled/base.js +9 -0
- package/styled-components/cjs/components/TextField/_label-placement/inner.js +10 -0
- package/styled-components/cjs/components/TextField/{variations/_label-placement → _label-placement}/outer.js +3 -3
- package/styled-components/cjs/components/TextField/_size/base.js +10 -0
- package/styled-components/cjs/components/TextField/_view/base.js +10 -0
- package/styled-components/cjs/components/TextField/index.js +2 -2
- package/styled-components/cjs/examples/plasma_b2c/components/Popover/Popover.stories.tsx +0 -7
- package/styled-components/cjs/index.js +22 -0
- package/styled-components/es/components/Cell/Cell.js +0 -2
- package/styled-components/es/components/Combobox/Combobox.styles.js +1 -1
- package/styled-components/es/components/Dropdown/Dropdown.js +0 -1
- package/styled-components/es/components/Popover/Popover.js +33 -43
- package/styled-components/es/components/Popover/Popover.styles.js +1 -1
- package/styled-components/es/components/Select/ui/SelectTarget/SelectTarget.js +2 -1
- package/styled-components/es/components/TextField/TextField.js +47 -177
- package/styled-components/es/components/TextField/TextField.styles.js +9 -17
- package/styled-components/es/components/TextField/TextField.template-doc.mdx +0 -24
- package/styled-components/es/components/TextField/TextField.tokens.js +20 -67
- package/styled-components/es/components/TextField/_disabled/base.js +3 -0
- package/styled-components/es/components/TextField/_label-placement/inner.js +4 -0
- package/styled-components/es/components/TextField/_label-placement/outer.js +4 -0
- package/styled-components/es/components/TextField/_size/base.js +4 -0
- package/styled-components/es/components/TextField/_view/base.js +4 -0
- package/styled-components/es/components/TextField/index.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Popover/Popover.stories.tsx +0 -7
- package/styled-components/es/index.js +2 -0
- package/types/components/Cell/Cell.d.ts.map +1 -1
- package/types/components/Combobox/Combobox.styles.d.ts +2 -8
- package/types/components/Combobox/Combobox.styles.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/components/Dropdown/Dropdown.styles.d.ts +1 -7
- package/types/components/Dropdown/Dropdown.styles.d.ts.map +1 -1
- package/types/components/Popover/Popover.d.ts +2 -2
- package/types/components/Popover/Popover.d.ts.map +1 -1
- package/types/components/Popover/Popover.styles.d.ts.map +1 -1
- package/types/components/Popover/Popover.types.d.ts +12 -19
- package/types/components/Popover/Popover.types.d.ts.map +1 -1
- package/types/components/Select/Select.styles.d.ts +2 -8
- package/types/components/Select/Select.styles.d.ts.map +1 -1
- package/types/components/Select/ui/SelectTarget/SelectTarget.d.ts.map +1 -1
- package/types/components/TextField/TextField.d.ts +3 -8
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/TextField/TextField.styles.d.ts +3 -6
- package/types/components/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/TextField/TextField.tokens.d.ts +8 -57
- package/types/components/TextField/TextField.tokens.d.ts.map +1 -1
- package/types/components/TextField/TextField.types.d.ts +6 -71
- package/types/components/TextField/TextField.types.d.ts.map +1 -1
- package/types/components/TextField/_disabled/base.d.ts.map +1 -0
- package/types/components/TextField/_label-placement/base.d.ts.map +1 -0
- package/types/components/TextField/_label-placement/index.d.ts.map +1 -0
- package/types/components/TextField/_label-placement/inner.d.ts.map +1 -0
- package/types/components/TextField/_label-placement/outer.d.ts.map +1 -0
- package/types/components/TextField/_size/base.d.ts.map +1 -0
- package/types/components/TextField/_view/base.d.ts.map +1 -0
- package/types/components/TextField/index.d.ts +2 -3
- package/types/components/TextField/index.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Popover/Popover.d.ts +1 -7
- package/types/examples/plasma_b2c/components/Popover/Popover.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Popover/Popover.d.ts +1 -7
- package/types/examples/plasma_web/components/Popover/Popover.d.ts.map +1 -1
- package/types/examples/sds_engineer/components/Popover/Popover.d.ts +1 -7
- package/types/examples/sds_engineer/components/Popover/Popover.d.ts.map +1 -1
- package/types/index.d.ts +2 -0
- package/types/index.d.ts.map +1 -1
- package/cjs/components/TextField/TextField.styles_1b1mddp.css +0 -8
- package/cjs/components/TextField/TextField_wctd2m.css +0 -1
- package/cjs/components/TextField/hooks/useKeyNavigation.js +0 -132
- package/cjs/components/TextField/hooks/useKeyNavigation.js.map +0 -1
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.css +0 -19
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -38
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +0 -1
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -26
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +0 -1
- package/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1y8n7la.css +0 -1
- package/cjs/components/TextField/variations/_disabled/base.js.map +0 -1
- package/cjs/components/TextField/variations/_disabled/base_1tnjoy9.css +0 -1
- package/cjs/components/TextField/variations/_label-placement/base.js.map +0 -1
- package/cjs/components/TextField/variations/_label-placement/inner.js.map +0 -1
- package/cjs/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
- package/cjs/components/TextField/variations/_label-placement/outer.js.map +0 -1
- package/cjs/components/TextField/variations/_label-placement/outer_is41nj.css +0 -1
- package/cjs/components/TextField/variations/_read-only/base.js.map +0 -1
- package/cjs/components/TextField/variations/_read-only/base_134hshp.css +0 -1
- package/cjs/components/TextField/variations/_size/base.js.map +0 -1
- package/cjs/components/TextField/variations/_size/base_1khzr9t.css +0 -1
- package/cjs/components/TextField/variations/_view/base.js.map +0 -1
- package/cjs/components/TextField/variations/_view/base_1qd77x6.css +0 -1
- package/es/components/TextField/TextField.styles_1b1mddp.css +0 -8
- package/es/components/TextField/TextField_wctd2m.css +0 -1
- package/es/components/TextField/hooks/useKeyNavigation.js +0 -127
- package/es/components/TextField/hooks/useKeyNavigation.js.map +0 -1
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.css +0 -19
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -34
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.js.map +0 -1
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -22
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js.map +0 -1
- package/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles_1y8n7la.css +0 -1
- package/es/components/TextField/variations/_disabled/base.js +0 -5
- package/es/components/TextField/variations/_disabled/base.js.map +0 -1
- package/es/components/TextField/variations/_disabled/base_1tnjoy9.css +0 -1
- package/es/components/TextField/variations/_label-placement/base.js.map +0 -1
- package/es/components/TextField/variations/_label-placement/inner.js +0 -5
- package/es/components/TextField/variations/_label-placement/inner.js.map +0 -1
- package/es/components/TextField/variations/_label-placement/inner_gqlcj2.css +0 -1
- package/es/components/TextField/variations/_label-placement/outer.js +0 -5
- package/es/components/TextField/variations/_label-placement/outer.js.map +0 -1
- package/es/components/TextField/variations/_label-placement/outer_is41nj.css +0 -1
- package/es/components/TextField/variations/_read-only/base.js +0 -5
- package/es/components/TextField/variations/_read-only/base.js.map +0 -1
- package/es/components/TextField/variations/_read-only/base_134hshp.css +0 -1
- package/es/components/TextField/variations/_size/base.js +0 -5
- package/es/components/TextField/variations/_size/base.js.map +0 -1
- package/es/components/TextField/variations/_size/base_1khzr9t.css +0 -1
- package/es/components/TextField/variations/_view/base.js.map +0 -1
- package/es/components/TextField/variations/_view/base_1qd77x6.css +0 -1
- package/styled-components/cjs/components/TextField/hooks/index.js +0 -12
- package/styled-components/cjs/components/TextField/hooks/useKeyNavigation.js +0 -138
- package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -39
- package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -25
- package/styled-components/cjs/components/TextField/ui/TextFieldChip/TextFieldChip.types.js +0 -5
- package/styled-components/cjs/components/TextField/ui/index.js +0 -12
- package/styled-components/cjs/components/TextField/variations/_disabled/base.js +0 -10
- package/styled-components/cjs/components/TextField/variations/_label-placement/inner.js +0 -10
- package/styled-components/cjs/components/TextField/variations/_read-only/base.js +0 -10
- package/styled-components/cjs/components/TextField/variations/_read-only/tokens.json +0 -1
- package/styled-components/cjs/components/TextField/variations/_size/base.js +0 -10
- package/styled-components/cjs/components/TextField/variations/_view/base.js +0 -10
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.config.js +0 -43
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.js +0 -11
- package/styled-components/cjs/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -181
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.config.js +0 -40
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.js +0 -11
- package/styled-components/cjs/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -181
- package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.config.js +0 -43
- package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.js +0 -11
- package/styled-components/cjs/examples/sds_engineer/components/TextField/TextField.stories.tsx +0 -181
- package/styled-components/es/components/TextField/hooks/index.js +0 -1
- package/styled-components/es/components/TextField/hooks/useKeyNavigation.js +0 -132
- package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.js +0 -30
- package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.styles.js +0 -19
- package/styled-components/es/components/TextField/ui/TextFieldChip/TextFieldChip.types.js +0 -1
- package/styled-components/es/components/TextField/ui/index.js +0 -1
- package/styled-components/es/components/TextField/variations/_disabled/base.js +0 -4
- package/styled-components/es/components/TextField/variations/_label-placement/inner.js +0 -4
- package/styled-components/es/components/TextField/variations/_label-placement/outer.js +0 -4
- package/styled-components/es/components/TextField/variations/_read-only/base.js +0 -4
- package/styled-components/es/components/TextField/variations/_read-only/tokens.json +0 -1
- package/styled-components/es/components/TextField/variations/_size/base.js +0 -4
- package/styled-components/es/components/TextField/variations/_view/base.js +0 -4
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.config.js +0 -37
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.js +0 -5
- package/styled-components/es/examples/plasma_b2c/components/TextField/TextField.stories.tsx +0 -181
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.config.js +0 -34
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.js +0 -5
- package/styled-components/es/examples/plasma_web/components/TextField/TextField.stories.tsx +0 -181
- package/styled-components/es/examples/sds_engineer/components/TextField/TextField.config.js +0 -37
- package/styled-components/es/examples/sds_engineer/components/TextField/TextField.js +0 -5
- package/styled-components/es/examples/sds_engineer/components/TextField/TextField.stories.tsx +0 -181
- package/types/components/TextField/hooks/index.d.ts +0 -2
- package/types/components/TextField/hooks/index.d.ts.map +0 -1
- package/types/components/TextField/hooks/useKeyNavigation.d.ts +0 -17
- package/types/components/TextField/hooks/useKeyNavigation.d.ts.map +0 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts +0 -7
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.d.ts.map +0 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts +0 -3
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts.map +0 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts +0 -37
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.types.d.ts.map +0 -1
- package/types/components/TextField/ui/index.d.ts +0 -2
- package/types/components/TextField/ui/index.d.ts.map +0 -1
- package/types/components/TextField/variations/_disabled/base.d.ts.map +0 -1
- package/types/components/TextField/variations/_label-placement/base.d.ts.map +0 -1
- package/types/components/TextField/variations/_label-placement/index.d.ts.map +0 -1
- package/types/components/TextField/variations/_label-placement/inner.d.ts.map +0 -1
- package/types/components/TextField/variations/_label-placement/outer.d.ts.map +0 -1
- package/types/components/TextField/variations/_read-only/base.d.ts.map +0 -1
- package/types/components/TextField/variations/_size/base.d.ts.map +0 -1
- package/types/components/TextField/variations/_view/base.d.ts +0 -2
- package/types/components/TextField/variations/_view/base.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts +0 -32
- package/types/examples/plasma_b2c/components/TextField/TextField.config.d.ts.map +0 -1
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts +0 -60
- package/types/examples/plasma_b2c/components/TextField/TextField.d.ts.map +0 -1
- package/types/examples/plasma_web/components/TextField/TextField.config.d.ts +0 -32
- package/types/examples/plasma_web/components/TextField/TextField.config.d.ts.map +0 -1
- package/types/examples/plasma_web/components/TextField/TextField.d.ts +0 -60
- package/types/examples/plasma_web/components/TextField/TextField.d.ts.map +0 -1
- package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts +0 -32
- package/types/examples/sds_engineer/components/TextField/TextField.config.d.ts.map +0 -1
- package/types/examples/sds_engineer/components/TextField/TextField.d.ts +0 -60
- package/types/examples/sds_engineer/components/TextField/TextField.d.ts.map +0 -1
- /package/cjs/components/{TextField/variations/_label-placement → Select/ui/SelectDivider/variations/_size}/base_x642ct.css +0 -0
- /package/{es/components/TextField/variations/_label-placement → cjs/components/Select/ui/SelectDivider/variations/_view}/base_x642ct.css +0 -0
- /package/styled-components/cjs/components/TextField/{variations/_disabled → _disabled}/tokens.json +0 -0
- /package/styled-components/cjs/components/TextField/{variations/_label-placement → _label-placement}/base.js +0 -0
- /package/styled-components/cjs/components/TextField/{variations/_label-placement → _label-placement}/index.js +0 -0
- /package/styled-components/cjs/components/TextField/{variations/_size → _size}/tokens.json +0 -0
- /package/styled-components/cjs/components/TextField/{variations/_view → _view}/tokens.json +0 -0
- /package/styled-components/es/components/TextField/{variations/_disabled → _disabled}/tokens.json +0 -0
- /package/styled-components/es/components/TextField/{variations/_label-placement → _label-placement}/base.js +0 -0
- /package/styled-components/es/components/TextField/{variations/_label-placement → _label-placement}/index.js +0 -0
- /package/styled-components/es/components/TextField/{variations/_size → _size}/tokens.json +0 -0
- /package/styled-components/es/components/TextField/{variations/_view → _view}/tokens.json +0 -0
- /package/types/components/TextField/{variations/_disabled → _disabled}/base.d.ts +0 -0
- /package/types/components/TextField/{variations/_label-placement → _label-placement}/base.d.ts +0 -0
- /package/types/components/TextField/{variations/_label-placement → _label-placement}/index.d.ts +0 -0
- /package/types/components/TextField/{variations/_label-placement → _label-placement}/inner.d.ts +0 -0
- /package/types/components/TextField/{variations/_label-placement → _label-placement}/outer.d.ts +0 -0
- /package/types/components/TextField/{variations/_read-only → _size}/base.d.ts +0 -0
- /package/types/components/TextField/{variations/_size → _view}/base.d.ts +0 -0
@@ -1,42 +1,31 @@
|
|
1
|
-
export var classes = {
|
2
|
-
hasChips: 'has-chips',
|
3
|
-
hasEmptyContentLeft: 'has-empty-content-left',
|
4
|
-
hasEmptyContentRight: 'has-empty-content-right'
|
5
|
-
};
|
6
1
|
export var tokens = {
|
7
2
|
color: '--plasma-textfield-color',
|
8
3
|
backgroundColor: '--plasma-textfield-bg-color',
|
9
4
|
backgroundColorHover: '--plasma-textfield-bg-color-hover',
|
10
5
|
backgroundColorFocus: '--plasma-textfield-bg-color-focus',
|
11
|
-
borderColor: '--plasma-textfield-border-color',
|
12
|
-
borderColorHover: '--plasma-textfield-border-color-hover',
|
13
|
-
borderColorFocus: '--plasma-textfield-border-color-focus',
|
14
|
-
/** Цвета для read-only состояния */
|
15
|
-
colorReadOnly: '--plasma-textfield-color-readonly',
|
16
|
-
backgroundColorReadOnly: '--plasma-textfield-bg-color-readonly',
|
17
|
-
borderColorReadOnly: '--plasma-textfield-border-color-readonly',
|
18
|
-
placeholderColorReadOnly: '--plasma-textfield__placeholder-color-readonly',
|
19
6
|
/** Цвет каретки */
|
20
7
|
caretColor: '--plasma-textfield__caret-color',
|
21
8
|
placeholderColor: '--plasma-textfield__placeholder-color',
|
9
|
+
borderColor: '--plasma-textfield-border-color',
|
10
|
+
borderColorHover: '--plasma-textfield-border-color-hover',
|
11
|
+
borderColorFocus: '--plasma-textfield-border-color-focus',
|
22
12
|
height: '--plasma-textfield-height',
|
23
13
|
borderWidth: '--plasmas-textfield-border-width',
|
24
14
|
borderRadius: '--plasma-textfield-border-radius',
|
25
|
-
/**
|
15
|
+
/** отступ от границы ТextField */
|
26
16
|
padding: '--plasma-textfield-padding',
|
27
|
-
|
28
|
-
/*
|
29
|
-
|
30
|
-
|
17
|
+
paddingWithContent: '--plasma-textfield-padding-with-content',
|
18
|
+
/* Отступ между Иконками и текстом Инпута */
|
19
|
+
/* Отступ при отсутствии Иконок сохраняется */
|
20
|
+
contentOffset: '--plasma-textfield__content-offset',
|
31
21
|
fontFamily: '--plasma-textfield-font-family',
|
32
22
|
fontStyle: '--plasma-textfield-font-style',
|
33
23
|
fontSize: '--plasma-textfield-font-size',
|
34
24
|
fontWeight: '--plasma-textfield-font-weight',
|
35
25
|
letterSpacing: '--plasma-textfield-letter-spacing',
|
36
26
|
lineHeight: '--plasma-textfield-line-height',
|
37
|
-
/**
|
27
|
+
/** Цвет подписи */
|
38
28
|
labelColor: '--plasma-textfield__label-color',
|
39
|
-
labelColorReadOnly: '--plasma-textfield__label-color-readonly',
|
40
29
|
labelOffset: '--plasma-textfield__label-offset',
|
41
30
|
labelFontFamily: '--plasma-textfield__label-font-family',
|
42
31
|
labelFontStyle: '--plasma-textfield__label-font-style',
|
@@ -51,52 +40,16 @@ export var tokens = {
|
|
51
40
|
labelInnerFontWeight: '--plasma-textfield-placement_inner__label-font-weight',
|
52
41
|
labelInnerLetterSpacing: '--plasma-textfield-placement_inner__label-letter-spacing',
|
53
42
|
labelInnerLineHeight: '--plasma-textfield-placement_inner__label-line-height',
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
leftHelperLineHeight: '--plasma-textfield__left-helper-line-height',
|
43
|
+
leftHelperColor: '--plasma-textfield__leftHelper-color',
|
44
|
+
leftHelperOffset: '--plasma-textfield__leftHelper-offset',
|
45
|
+
leftHelperFontFamily: '--plasma-textfield__leftHelper-font-family',
|
46
|
+
leftHelperFontStyle: '--plasma-textfield__leftHelper-font-style',
|
47
|
+
leftHelperFontSize: '--plasma-textfield__leftHelper-font-size',
|
48
|
+
leftHelperFontWeight: '--plasma-textfield__leftHelper-font-weight',
|
49
|
+
leftHelperLetterSpacing: '--plasma-textfield__leftHelper-letter-spacing',
|
50
|
+
leftHelperLineHeight: '--plasma-textfield__leftHelper-line-height',
|
51
|
+
/* Дополнительный цвет который можно использовать в <Icon color="inheit" /> */
|
52
|
+
contentColor: '--plasma-textfield__content-color',
|
65
53
|
/** Прозрачность для всего компонента в состоянии disabled */
|
66
|
-
disabledOpacity: '--plasma-textfield-disabled-opacity'
|
67
|
-
/** Токены чипа */
|
68
|
-
chipHeight: '--plasma-textfield__chip-height',
|
69
|
-
chipBorderRadius: '--plasma-textfield__chip-border-radius',
|
70
|
-
chipGap: '--plasma-textfield__chip-gap',
|
71
|
-
chipBackground: '--plasma-textfield__chip-background',
|
72
|
-
chipColor: '--plasma-textfield__chip-color',
|
73
|
-
chipBackgroundHover: '--plasma-textfield__chip-background-hover',
|
74
|
-
chipColorHover: '--plasma-textfield__chip-color-hover',
|
75
|
-
chipScaleHover: '--plasma-textfield__chip-scale-hover',
|
76
|
-
chipBackgroundReadOnly: '--plasma-textfield__chip-background-readonly',
|
77
|
-
chipColorReadOnly: '--plasma-textfield__chip-color-readonly',
|
78
|
-
chipBackgroundReadOnlyHover: '--plasma-textfield__chip-background-readonly-hover',
|
79
|
-
chipColorReadOnlyHover: '--plasma-textfield__chip-color-readonly-hover',
|
80
|
-
chipBackgroundActive: '--plasma-textfield__chip-background-active',
|
81
|
-
chipColorActive: '--plasma-textfield__chip-color-active',
|
82
|
-
chipScaleActive: '--plasma-textfield__chip-scale-active',
|
83
|
-
chipFocusColor: '--plasma-textfield__chip-focus-color',
|
84
|
-
chipCloseIconColor: '--plasma-textfield__chip-close-icon-color',
|
85
|
-
chipOutlineSize: '--plasma-textfield__chip-outline-size',
|
86
|
-
chipWidth: '--plasma-textfield__chip-width',
|
87
|
-
chipPaddingTop: '--plasma-textfield__chip-padding-top',
|
88
|
-
chipPaddingRight: '--plasma-textfield__chip-padding-right',
|
89
|
-
chipPaddingBottom: '--plasma-textfield__chip-padding-bottom',
|
90
|
-
chipPaddingLeft: '--plasma-textfield__chip-padding-left',
|
91
|
-
chipCloseIconSize: '--plasma-textfield__chip-close-icon-size',
|
92
|
-
chipFontFamily: '--plasma-textfield__chip-font-family',
|
93
|
-
chipFontSize: '--plasma-textfield__chip-font-size',
|
94
|
-
chipFontStyle: '--plasma-textfield__chip-font-style',
|
95
|
-
chipFontWeight: '--plasma-textfield__chip-font-weight',
|
96
|
-
chipLetterSpacing: '--plasma-textfield__chip-letter-spacing',
|
97
|
-
chipLineHeight: '--plasma-textfield__chip-line-height',
|
98
|
-
chipClearContentMarginLeft: '--plasma-textfield__chip-clear-content-margin-left',
|
99
|
-
chipClearContentMarginRight: '--plasma-textfield__chip-clear-content-margin-right',
|
100
|
-
chipOpacityReadonly: '--plasma-textfield__chip-opacity-readonly',
|
101
|
-
focusColor: '--plasma-textfield-focus-color'
|
54
|
+
disabledOpacity: '--plasma-textfield-disabled-opacity'
|
102
55
|
};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { css } from 'styled-components';
|
2
|
+
import { Input, Label } from '../TextField.styles';
|
3
|
+
import { tokens } from '../TextField.tokens';
|
4
|
+
export var labelPlacement_inner = /*#__PURE__*/css(["", "{padding-top:calc(var(", ") + var(", "));padding-bottom:var(", ");}", ":focus ~ ", ",", ":not(:placeholder-shown) ~ ", "{height:auto;padding-top:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", ":not(:focus)::placeholder{color:transparent;}", ":focus::placeholder{color:transparent;}", "{color:var(", ");pointer-events:none;position:absolute;top:0;display:flex;align-items:center;box-sizing:border-box;transition:all 0.1s ease-in-out 0s;height:var(", ");padding-top:calc(var(", ") / 4);padding-bottom:calc(var(", ") / 4);}"], Input, tokens.labelOffset, tokens.labelInnerLineHeight, tokens.labelOffset, Input, Label, Input, Label, tokens.labelOffset, tokens.labelInnerFontFamily, tokens.labelInnerFontSize, tokens.labelInnerFontStyle, tokens.labelInnerFontWeight, tokens.labelInnerLetterSpacing, tokens.labelInnerLineHeight, Input, Input, Label, tokens.placeholderColor, tokens.height, tokens.height, tokens.height);
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { css } from 'styled-components';
|
2
|
+
import { tokens } from '../TextField.tokens';
|
3
|
+
import { Input, InputLabelWrapper, InputWrapper, Label, LeftHelper } from '../TextField.styles';
|
4
|
+
export var base = /*#__PURE__*/css(["--plasma_private-textfield-br:var(", ",calc(var(", ") / 4));--plasma_private-textfield-padding:var(", ",calc(var(", ") * 1.618 / 4));--plasma_private-textfield-border-width:var(", ");", "{height:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{border-radius:var(--plasma_private-textfield-br);gap:var(", ");}", " > ", ":first-child{margin-left:var(--plasma_private-textfield-padding);}", " >:not(", "):first-child{margin-left:var(", ",var(--plasma_private-textfield-padding));}", " > ", ":last-child{margin-right:var(--plasma_private-textfield-padding);}", " >:not(", "):last-child{margin-right:var(", ",var(--plasma_private-textfield-padding));}", "{font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}", "{margin-top:var(", ");font-family:var(", ");font-size:var(", ");font-style:var(", ");font-weight:var(", ");letter-spacing:var(", ");line-height:var(", ");}"], tokens.borderRadius, tokens.height, tokens.padding, tokens.height, tokens.borderWidth, Input, tokens.height, tokens.fontFamily, tokens.fontSize, tokens.fontStyle, tokens.fontWeight, tokens.letterSpacing, tokens.lineHeight, InputWrapper, tokens.contentOffset, InputWrapper, InputLabelWrapper, InputWrapper, InputLabelWrapper, tokens.paddingWithContent, InputWrapper, InputLabelWrapper, InputWrapper, InputLabelWrapper, tokens.paddingWithContent, Label, tokens.labelFontFamily, tokens.labelFontSize, tokens.labelFontStyle, tokens.labelFontWeight, tokens.labelLetterSpacing, tokens.labelLineHeight, LeftHelper, tokens.leftHelperOffset, tokens.leftHelperFontFamily, tokens.leftHelperFontSize, tokens.leftHelperFontStyle, tokens.leftHelperFontWeight, tokens.leftHelperLetterSpacing, tokens.leftHelperLineHeight);
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import { css } from 'styled-components';
|
2
|
+
import { tokens } from '../TextField.tokens';
|
3
|
+
import { Input, InputWrapper, LeftHelper } from '../TextField.styles';
|
4
|
+
export var base = /*#__PURE__*/css(["", "{color:var(", ",var(", "));background-color:var(", ");caret-color:var(", ");--plasma_private-textfield-border-color:var(", ");transition:box-shadow 0.1s ease-in,background-color 0.1s ease-in,color 0.1s ease-in;}", ":hover{--plasma_private-textfield-border-color:var(", ");background-color:var(", ",var(", "));}", ":focus-within{--plasma_private-textfield-border-color:var(", ");background-color:var(", ",var(", "));}", "::placeholder{color:var(", ");}", "{color:var(", ");}", "{color:var(", ");}"], InputWrapper, tokens.contentColor, tokens.color, tokens.backgroundColor, tokens.caretColor, tokens.borderColor, InputWrapper, tokens.borderColorHover, tokens.backgroundColorHover, tokens.backgroundColor, InputWrapper, tokens.borderColorFocus, tokens.backgroundColorFocus, tokens.backgroundColor, Input, tokens.placeholderColor, Input, tokens.color, LeftHelper, tokens.leftHelperColor);
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export { labelPlacement_inner as textField_labelPlacement_inner } from './
|
2
|
-
export { labelPlacement_outer as textField_labelPlacement_outer } from './
|
1
|
+
export { labelPlacement_inner as textField_labelPlacement_inner } from './_label-placement/inner';
|
2
|
+
export { labelPlacement_outer as textField_labelPlacement_outer } from './_label-placement/outer';
|
3
3
|
export { textFieldRoot, textFieldConfig } from './TextField';
|
4
4
|
export { tokens as textFieldTokens } from './TextField.tokens';
|
@@ -33,12 +33,6 @@ const meta: Meta<typeof Popover> = {
|
|
33
33
|
},
|
34
34
|
table: { defaultValue: { summary: true } },
|
35
35
|
},
|
36
|
-
closeOnBeyondTargetHover: {
|
37
|
-
control: {
|
38
|
-
type: 'boolean',
|
39
|
-
},
|
40
|
-
table: { defaultValue: { summary: true } },
|
41
|
-
},
|
42
36
|
closeOnEsc: {
|
43
37
|
control: {
|
44
38
|
type: 'boolean',
|
@@ -68,7 +62,6 @@ const meta: Meta<typeof Popover> = {
|
|
68
62
|
placement: 'bottom',
|
69
63
|
trigger: 'click',
|
70
64
|
closeOnOverlayClick: true,
|
71
|
-
closeOnBeyondTargetHover: true,
|
72
65
|
closeOnEsc: true,
|
73
66
|
isFocusTrapped: true,
|
74
67
|
skidding: 0,
|
@@ -3,6 +3,7 @@
|
|
3
3
|
export * from './mixins';
|
4
4
|
export * from './engines';
|
5
5
|
export * from './hooks';
|
6
|
+
export * from './utils';
|
6
7
|
export * from './components/Button';
|
7
8
|
export * from './components/ButtonGroup';
|
8
9
|
export * from './components/Chip';
|
@@ -42,5 +43,6 @@ export * from './components/Indicator';
|
|
42
43
|
export * from './components/ButtonBase';
|
43
44
|
export * from './components/Grid';
|
44
45
|
export * from './components/Progress';
|
46
|
+
export * from './components/Select';
|
45
47
|
export * from './components/Divider';
|
46
48
|
export * from './components/Toolbar';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9C,eAAO,MAAM,QAAQ,SAAU,UAAU,cAAc,EAAE,SAAS,CAAC,
|
1
|
+
{"version":3,"file":"Cell.d.ts","sourceRoot":"","sources":["../../../src/components/Cell/Cell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAG1C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9C,eAAO,MAAM,QAAQ,SAAU,UAAU,cAAc,EAAE,SAAS,CAAC,qFAwC9D,CAAC;AAEN,eAAO,MAAM,UAAU;;;mBA1CQ,UAAU,cAAc,EAAE,SAAS,CAAC;;;;;;;;;;;;;;CA2DlE,CAAC"}
|
@@ -3,17 +3,11 @@ export declare const StyledRoot: import("@linaria/react").StyledComponent<import
|
|
3
3
|
export declare const StyledCombobox: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
4
4
|
export declare const StyledPopover: import("@linaria/react").StyledComponent<{
|
5
5
|
selectWidth?: number | undefined;
|
6
|
-
} &
|
6
|
+
} & import("../../engines/types").PropsType<{
|
7
7
|
view: {
|
8
8
|
css: import("@linaria/core").LinariaClassName;
|
9
9
|
};
|
10
|
-
}> &
|
11
|
-
trigger?: "click" | undefined;
|
12
|
-
closeOnOverlayClick?: boolean | undefined;
|
13
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
|
14
|
-
trigger?: "hover" | undefined;
|
15
|
-
closeOnBeyondTargetHover?: boolean | undefined;
|
16
|
-
} & import("react").RefAttributes<HTMLDivElement>)))>;
|
10
|
+
}> & import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
|
17
11
|
export declare const ComboboxItemNotFound: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
18
12
|
export declare const StyledNativeSelect: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSelectElement> & import("react").SelectHTMLAttributes<HTMLSelectElement> & Record<never, unknown>>;
|
19
13
|
//# sourceMappingURL=Combobox.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Combobox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Combobox.styles.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,UAAU,
|
1
|
+
{"version":3,"file":"Combobox.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Combobox/Combobox.styles.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,UAAU,qKAOtB,CAAC;AAEF,eAAO,MAAM,cAAc,qKAY1B,CAAC;AAKF,eAAO,MAAM,aAAa;;;;;;4JAMzB,CAAC;AAEF,eAAO,MAAM,oBAAoB,qKAUhC,CAAC;AAEF,eAAO,MAAM,kBAAkB,iLAY9B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,EAAE,aAAa,CAAC,
|
1
|
+
{"version":3,"file":"Dropdown.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA6B,MAAM,OAAO,CAAC;AAGlD,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAM1C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;GAEG;AACH,eAAO,MAAM,YAAY,SAAU,UAAU,cAAc,EAAE,aAAa,CAAC,iKA6DtE,CAAC;AAEN,eAAO,MAAM,cAAc;;;mBA/DQ,UAAU,cAAc,EAAE,aAAa,CAAC;;;;;;;;;;;;;;CAgF1E,CAAC"}
|
@@ -3,12 +3,6 @@ export declare const StyledPopover: import("@linaria/react").StyledMeta & import
|
|
3
3
|
view: {
|
4
4
|
css: import("@linaria/core").LinariaClassName;
|
5
5
|
};
|
6
|
-
}> &
|
7
|
-
trigger?: "click" | undefined;
|
8
|
-
closeOnOverlayClick?: boolean | undefined;
|
9
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
|
10
|
-
trigger?: "hover" | undefined;
|
11
|
-
closeOnBeyondTargetHover?: boolean | undefined;
|
12
|
-
} & import("react").RefAttributes<HTMLDivElement>))>;
|
6
|
+
}> & import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
|
13
7
|
export declare const StyledDropdown: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
14
8
|
//# sourceMappingURL=Dropdown.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Dropdown.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.styles.ts"],"names":[],"mappings":";AAUA,eAAO,MAAM,aAAa
|
1
|
+
{"version":3,"file":"Dropdown.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Dropdown/Dropdown.styles.ts"],"names":[],"mappings":";AAUA,eAAO,MAAM,aAAa;;;;4JAIzB,CAAC;AAEF,eAAO,MAAM,cAAc,qKAY1B,CAAC"}
|
@@ -7,11 +7,11 @@ export declare const POPOVER_PORTAL_ID = "plasma-popover-root";
|
|
7
7
|
* Всплывающее окно с возможностью позиционирования
|
8
8
|
* и вызова по клику либо ховеру.
|
9
9
|
*/
|
10
|
-
export declare const popoverRoot: (Root: RootProps<HTMLDivElement, PopoverProps>) => React.ForwardRefExoticComponent<
|
10
|
+
export declare const popoverRoot: (Root: RootProps<HTMLDivElement, PopoverProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & import("./Popover.types").CustomPopoverProps & React.RefAttributes<HTMLDivElement>>;
|
11
11
|
export declare const popoverConfig: {
|
12
12
|
name: string;
|
13
13
|
tag: string;
|
14
|
-
layout: (Root: RootProps<HTMLDivElement, PopoverProps>) => React.ForwardRefExoticComponent<
|
14
|
+
layout: (Root: RootProps<HTMLDivElement, PopoverProps>) => React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & import("./Popover.types").CustomPopoverProps & React.RefAttributes<HTMLDivElement>>;
|
15
15
|
base: string;
|
16
16
|
variations: {
|
17
17
|
view: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+D,MAAM,OAAO,CAAC;AAMpF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAItE,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AAEvD;;;GAGG;AACH,eAAO,MAAM,WAAW,SAAU,UAAU,cAAc,EAAE,YAAY,CAAC,
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+D,MAAM,OAAO,CAAC;AAMpF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,KAAK,EAAoB,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAItE,eAAO,MAAM,cAAc,KAAK,CAAC;AACjC,eAAO,MAAM,iBAAiB,wBAAwB,CAAC;AAEvD;;;GAGG;AACH,eAAO,MAAM,WAAW,SAAU,UAAU,cAAc,EAAE,YAAY,CAAC,+JAwPpE,CAAC;AAEN,eAAO,MAAM,aAAa;;;mBA1PQ,UAAU,cAAc,EAAE,YAAY,CAAC;;;;;;;;;;CAuQxE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popover.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.styles.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,aAAa,
|
1
|
+
{"version":3,"file":"Popover.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.styles.ts"],"names":[],"mappings":";AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C,eAAO,MAAM,aAAa,qKAEzB,CAAC;AAEF,eAAO,MAAM,UAAU,qKAItB,CAAC;AAEF,eAAO,MAAM,WAAW,qKAcvB,CAAC;AAEF,eAAO,MAAM,aAAa,2KA8DzB,CAAC"}
|
@@ -2,11 +2,18 @@ import { Placement, ComputedPlacement } from '@popperjs/core';
|
|
2
2
|
import type { HTMLAttributes, ReactNode, SyntheticEvent } from 'react';
|
3
3
|
export declare type PopoverPlacementBasic = ComputedPlacement;
|
4
4
|
export declare type PopoverPlacement = Placement;
|
5
|
+
export declare type PopoverTrigger = 'hover' | 'click';
|
5
6
|
export declare type CustomPopoverProps = {
|
6
7
|
/**
|
7
8
|
* Всплывающее окно раскрыто или нет.
|
8
9
|
*/
|
9
10
|
isOpen?: boolean;
|
11
|
+
/**
|
12
|
+
* Способ открытия всплывающего окна - наведение или клик мышью.
|
13
|
+
* @default
|
14
|
+
* click
|
15
|
+
*/
|
16
|
+
trigger?: PopoverTrigger;
|
10
17
|
/**
|
11
18
|
* Сторона открытия окна относительно target элемента.
|
12
19
|
* @default
|
@@ -59,6 +66,10 @@ export declare type CustomPopoverProps = {
|
|
59
66
|
* true
|
60
67
|
*/
|
61
68
|
closeOnEsc?: boolean;
|
69
|
+
/**
|
70
|
+
* Закрывать окно при нажатии вне области окна. (Если trigger === 'click')
|
71
|
+
*/
|
72
|
+
closeOnOverlayClick?: boolean;
|
62
73
|
/**
|
63
74
|
* Находится ли в портале.
|
64
75
|
* @default
|
@@ -67,23 +78,5 @@ export declare type CustomPopoverProps = {
|
|
67
78
|
usePortal?: boolean;
|
68
79
|
view?: string;
|
69
80
|
};
|
70
|
-
export declare type
|
71
|
-
/**
|
72
|
-
* Способ открытия всплывающего окна - наведение или клик мышью.
|
73
|
-
* @default
|
74
|
-
* click
|
75
|
-
*/
|
76
|
-
trigger?: 'click';
|
77
|
-
/**
|
78
|
-
* Закрывать окно при нажатии вне области окна. (Если trigger === 'click')
|
79
|
-
*/
|
80
|
-
closeOnOverlayClick?: boolean;
|
81
|
-
} | {
|
82
|
-
trigger?: 'hover';
|
83
|
-
/**
|
84
|
-
* Закрывать окно при наведении вне области target-элемента. (Если trigger === 'hover')
|
85
|
-
*/
|
86
|
-
closeOnBeyondTargetHover?: boolean;
|
87
|
-
};
|
88
|
-
export declare type PopoverProps = HTMLAttributes<HTMLDivElement> & CustomPopoverProps & PopoverTrigger;
|
81
|
+
export declare type PopoverProps = HTMLAttributes<HTMLDivElement> & CustomPopoverProps;
|
89
82
|
//# sourceMappingURL=Popover.types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Popover.types.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,oBAAY,qBAAqB,GAAG,iBAAiB,CAAC;AACtD,oBAAY,gBAAgB,GAAG,SAAS,CAAC;AAEzC,oBAAY,kBAAkB,GAAG;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC5D;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACpE;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB
|
1
|
+
{"version":3,"file":"Popover.types.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvE,oBAAY,qBAAqB,GAAG,iBAAiB,CAAC;AACtD,oBAAY,gBAAgB,GAAG,SAAS,CAAC;AAEzC,oBAAY,cAAc,GAAG,OAAO,GAAG,OAAO,CAAC;AAE/C,oBAAY,kBAAkB,GAAG;IAC7B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB;;;;OAIG;IACH,SAAS,CAAC,EAAE,gBAAgB,GAAG,KAAK,CAAC,qBAAqB,CAAC,CAAC;IAC5D;;;;OAIG;IACH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;IAC3D;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;;;OAIG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,GAAG,KAAK,KAAK,IAAI,CAAC;IACpE;;;;OAIG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,oBAAY,YAAY,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC"}
|
@@ -3,16 +3,10 @@ export declare const StyledRoot: import("@linaria/react").StyledComponent<import
|
|
3
3
|
export declare const StyledSelect: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
4
4
|
export declare const StyledPopover: import("@linaria/react").StyledComponent<{
|
5
5
|
selectWidth?: number | undefined;
|
6
|
-
} &
|
6
|
+
} & import("../../engines/types").PropsType<{
|
7
7
|
view: {
|
8
8
|
css: import("@linaria/core").LinariaClassName;
|
9
9
|
};
|
10
|
-
}> &
|
11
|
-
trigger?: "click" | undefined;
|
12
|
-
closeOnOverlayClick?: boolean | undefined;
|
13
|
-
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & {
|
14
|
-
trigger?: "hover" | undefined;
|
15
|
-
closeOnBeyondTargetHover?: boolean | undefined;
|
16
|
-
} & import("react").RefAttributes<HTMLDivElement>)))>;
|
10
|
+
}> & import("react").HTMLAttributes<HTMLDivElement> & import("../Popover/Popover.types").CustomPopoverProps & import("react").RefAttributes<HTMLDivElement>>;
|
17
11
|
export declare const StyledNativeSelect: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLSelectElement> & import("react").SelectHTMLAttributes<HTMLSelectElement> & Record<never, unknown>>;
|
18
12
|
//# sourceMappingURL=Select.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Select.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,UAAU,qKAOtB,CAAC;AAEF,eAAO,MAAM,YAAY,qKAaxB,CAAC;AAKF,eAAO,MAAM,aAAa
|
1
|
+
{"version":3,"file":"Select.styles.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.styles.ts"],"names":[],"mappings":";AASA,eAAO,MAAM,UAAU,qKAOtB,CAAC;AAEF,eAAO,MAAM,YAAY,qKAaxB,CAAC;AAKF,eAAO,MAAM,aAAa;;;;;;4JAMzB,CAAC;AAEF,eAAO,MAAM,kBAAkB,iLAwB9B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SelectTarget.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectTarget/SelectTarget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAgB/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAa9D;;GAEG;AACH,eAAO,MAAM,YAAY,
|
1
|
+
{"version":3,"file":"SelectTarget.d.ts","sourceRoot":"","sources":["../../../../../src/components/Select/ui/SelectTarget/SelectTarget.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0C,MAAM,OAAO,CAAC;AAgB/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAa9D;;GAEG;AACH,eAAO,MAAM,YAAY,6FAwIxB,CAAC"}
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import React from 'react';
|
2
|
+
import type { LabelHTMLAttributes } from 'react';
|
2
3
|
import type { RootProps } from '../../engines';
|
3
4
|
import type { TextFieldProps } from './TextField.types';
|
4
|
-
export declare const
|
5
|
-
export declare const textFieldRoot: (Root: RootProps<HTMLDivElement, TextFieldProps>) => React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLDivElement>>;
|
5
|
+
export declare const textFieldRoot: (Root: RootProps<HTMLInputElement, TextFieldProps & LabelHTMLAttributes<HTMLLabelElement>>) => React.ForwardRefExoticComponent<import("../../engines/types").Filter<React.InputHTMLAttributes<HTMLInputElement>, "size"> & import("./TextField.types").TextFieldPropsVariations & React.RefAttributes<HTMLInputElement>>;
|
6
6
|
export declare const textFieldConfig: {
|
7
7
|
name: string;
|
8
8
|
tag: string;
|
9
|
-
layout: (Root: RootProps<
|
9
|
+
layout: (Root: RootProps<HTMLInputElement, TextFieldProps & LabelHTMLAttributes<HTMLLabelElement>>) => React.ForwardRefExoticComponent<import("../../engines/types").Filter<React.InputHTMLAttributes<HTMLInputElement>, "size"> & import("./TextField.types").TextFieldPropsVariations & React.RefAttributes<HTMLInputElement>>;
|
10
10
|
base: import("@linaria/core").LinariaClassName;
|
11
11
|
variations: {
|
12
12
|
view: {
|
@@ -19,17 +19,12 @@ export declare const textFieldConfig: {
|
|
19
19
|
css: import("@linaria/core").LinariaClassName;
|
20
20
|
attrs: boolean;
|
21
21
|
};
|
22
|
-
readOnly: {
|
23
|
-
css: import("@linaria/core").LinariaClassName;
|
24
|
-
attrs: boolean;
|
25
|
-
};
|
26
22
|
labelPlacement: {
|
27
23
|
css: import("@linaria/core").LinariaClassName;
|
28
24
|
};
|
29
25
|
};
|
30
26
|
defaults: {
|
31
27
|
size: string;
|
32
|
-
view: string;
|
33
28
|
};
|
34
29
|
};
|
35
30
|
//# sourceMappingURL=TextField.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,KAAK,EAA4C,mBAAmB,EAAE,MAAM,OAAO,CAAC;AAI3F,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAYxD,eAAO,MAAM,aAAa,SAChB,UAAU,gBAAgB,EAAE,cAAc,GAAG,oBAAoB,gBAAgB,CAAC,CAAC,8NAoEvF,CAAC;AAEP,eAAO,MAAM,eAAe;;;mBAtElB,UAAU,gBAAgB,EAAE,cAAc,GAAG,oBAAoB,gBAAgB,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;CA6F5F,CAAC"}
|
@@ -1,10 +1,7 @@
|
|
1
1
|
/// <reference types="react" />
|
2
|
-
export declare const InputWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
3
|
-
export declare const InputLabelWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
4
|
-
export declare const StyledChips: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
5
2
|
export declare const Input: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLInputElement> & import("react").InputHTMLAttributes<HTMLInputElement> & Record<never, unknown>>;
|
6
|
-
export declare const
|
7
|
-
export declare const
|
8
|
-
export declare const
|
3
|
+
export declare const InputLabelWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
4
|
+
export declare const InputWrapper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
5
|
+
export declare const Label: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
9
6
|
export declare const LeftHelper: import("@linaria/react").StyledComponent<import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & Record<never, unknown>>;
|
10
7
|
//# sourceMappingURL=TextField.styles.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.styles.ts"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"TextField.styles.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.styles.ts"],"names":[],"mappings":";AAEA,eAAO,MAAM,KAAK,8KAOjB,CAAC;AAEF,eAAO,MAAM,iBAAiB,qKAI7B,CAAC;AAGF,eAAO,MAAM,YAAY,qKAUxB,CAAC;AAEF,eAAO,MAAM,KAAK,qKAAe,CAAC;AAElC,eAAO,MAAM,UAAU,qKAAe,CAAC"}
|
@@ -1,41 +1,29 @@
|
|
1
|
-
export declare const classes: {
|
2
|
-
hasChips: string;
|
3
|
-
hasEmptyContentLeft: string;
|
4
|
-
hasEmptyContentRight: string;
|
5
|
-
};
|
6
1
|
export declare const tokens: {
|
7
2
|
color: string;
|
8
3
|
backgroundColor: string;
|
9
4
|
backgroundColorHover: string;
|
10
5
|
backgroundColorFocus: string;
|
11
|
-
borderColor: string;
|
12
|
-
borderColorHover: string;
|
13
|
-
borderColorFocus: string;
|
14
|
-
/** Цвета для read-only состояния */
|
15
|
-
colorReadOnly: string;
|
16
|
-
backgroundColorReadOnly: string;
|
17
|
-
borderColorReadOnly: string;
|
18
|
-
placeholderColorReadOnly: string;
|
19
6
|
/** Цвет каретки */
|
20
7
|
caretColor: string;
|
21
8
|
placeholderColor: string;
|
9
|
+
borderColor: string;
|
10
|
+
borderColorHover: string;
|
11
|
+
borderColorFocus: string;
|
22
12
|
height: string;
|
23
13
|
borderWidth: string;
|
24
14
|
borderRadius: string;
|
25
|
-
/**
|
15
|
+
/** отступ от границы ТextField */
|
26
16
|
padding: string;
|
27
|
-
|
28
|
-
|
29
|
-
rightContentMargin: string;
|
17
|
+
paddingWithContent: string;
|
18
|
+
contentOffset: string;
|
30
19
|
fontFamily: string;
|
31
20
|
fontStyle: string;
|
32
21
|
fontSize: string;
|
33
22
|
fontWeight: string;
|
34
23
|
letterSpacing: string;
|
35
24
|
lineHeight: string;
|
36
|
-
/**
|
25
|
+
/** Цвет подписи */
|
37
26
|
labelColor: string;
|
38
|
-
labelColorReadOnly: string;
|
39
27
|
labelOffset: string;
|
40
28
|
labelFontFamily: string;
|
41
29
|
labelFontStyle: string;
|
@@ -49,10 +37,7 @@ export declare const tokens: {
|
|
49
37
|
labelInnerFontWeight: string;
|
50
38
|
labelInnerLetterSpacing: string;
|
51
39
|
labelInnerLineHeight: string;
|
52
|
-
labelInnerPadding: string;
|
53
|
-
contentLabelInnerPadding: string;
|
54
40
|
leftHelperColor: string;
|
55
|
-
leftHelperColorReadOnly: string;
|
56
41
|
leftHelperOffset: string;
|
57
42
|
leftHelperFontFamily: string;
|
58
43
|
leftHelperFontStyle: string;
|
@@ -60,42 +45,8 @@ export declare const tokens: {
|
|
60
45
|
leftHelperFontWeight: string;
|
61
46
|
leftHelperLetterSpacing: string;
|
62
47
|
leftHelperLineHeight: string;
|
48
|
+
contentColor: string;
|
63
49
|
/** Прозрачность для всего компонента в состоянии disabled */
|
64
50
|
disabledOpacity: string;
|
65
|
-
/** Токены чипа */
|
66
|
-
chipHeight: string;
|
67
|
-
chipBorderRadius: string;
|
68
|
-
chipGap: string;
|
69
|
-
chipBackground: string;
|
70
|
-
chipColor: string;
|
71
|
-
chipBackgroundHover: string;
|
72
|
-
chipColorHover: string;
|
73
|
-
chipScaleHover: string;
|
74
|
-
chipBackgroundReadOnly: string;
|
75
|
-
chipColorReadOnly: string;
|
76
|
-
chipBackgroundReadOnlyHover: string;
|
77
|
-
chipColorReadOnlyHover: string;
|
78
|
-
chipBackgroundActive: string;
|
79
|
-
chipColorActive: string;
|
80
|
-
chipScaleActive: string;
|
81
|
-
chipFocusColor: string;
|
82
|
-
chipCloseIconColor: string;
|
83
|
-
chipOutlineSize: string;
|
84
|
-
chipWidth: string;
|
85
|
-
chipPaddingTop: string;
|
86
|
-
chipPaddingRight: string;
|
87
|
-
chipPaddingBottom: string;
|
88
|
-
chipPaddingLeft: string;
|
89
|
-
chipCloseIconSize: string;
|
90
|
-
chipFontFamily: string;
|
91
|
-
chipFontSize: string;
|
92
|
-
chipFontStyle: string;
|
93
|
-
chipFontWeight: string;
|
94
|
-
chipLetterSpacing: string;
|
95
|
-
chipLineHeight: string;
|
96
|
-
chipClearContentMarginLeft: string;
|
97
|
-
chipClearContentMarginRight: string;
|
98
|
-
chipOpacityReadonly: string;
|
99
|
-
focusColor: string;
|
100
51
|
};
|
101
52
|
//# sourceMappingURL=TextField.tokens.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"TextField.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,
|
1
|
+
{"version":3,"file":"TextField.tokens.d.ts","sourceRoot":"","sources":["../../../src/components/TextField/TextField.tokens.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;IAKf,mBAAmB;;;;;;;;;IAUnB,kCAAkC;;;;;;;;;;IAelC,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;IAgCnB,6DAA6D;;CAEhE,CAAC"}
|