@salutejs/plasma-new-hope 0.343.0-canary.2370.19885960439.0 → 0.343.0-canary.2372.19930692860.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/components/Autocomplete/Autocomplete.css +26 -28
- package/cjs/components/Combobox/ComboboxNew/Combobox.css +26 -28
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +26 -28
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +26 -28
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +26 -28
- package/cjs/components/DateTimePicker/DateTimePicker.css +26 -28
- package/cjs/components/DateTimePicker/ui/Input/Input.css +26 -28
- package/cjs/components/Pagination/Pagination.css +35 -37
- package/cjs/components/Pagination/Pagination.styles.js +7 -7
- package/cjs/components/Pagination/Pagination.styles.js.map +1 -1
- package/cjs/components/Pagination/{Pagination.styles_qhyqps.css → Pagination.styles_wrarr1.css} +1 -1
- package/cjs/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +26 -28
- package/cjs/components/Range/Range.css +26 -28
- package/cjs/components/Select/Select.css +26 -28
- package/cjs/components/Select/ui/Target/Target.css +26 -28
- package/cjs/components/Select/ui/Target/ui/Textfield/Textfield.css +26 -28
- package/cjs/components/Slider/Slider.css +26 -28
- package/cjs/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +26 -28
- package/cjs/components/Table/Table.css +26 -28
- package/cjs/components/Table/ui/Cell/Cell.css +26 -28
- package/cjs/components/Table/ui/EditableCell/EditableCell.css +26 -28
- package/cjs/components/Table/ui/HeadCell/HeadCell.css +26 -28
- package/cjs/components/Table/ui/HeadCell/ui/Filter/Filter.css +26 -28
- package/cjs/components/TextField/TextField.js +16 -23
- package/cjs/components/TextField/TextField.js.map +1 -1
- package/cjs/components/TextField/TextField.styles.js +8 -18
- package/cjs/components/TextField/TextField.styles.js.map +1 -1
- package/cjs/components/TextField/{TextField.styles_146520i.css → TextField.styles_1pu4eym.css} +1 -1
- package/cjs/components/TextField/ui/Hint/Hint.css +21 -21
- package/cjs/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +23 -23
- package/cjs/components/TextField/variations/_label-placement/base.js +1 -1
- package/cjs/components/TextField/variations/_label-placement/base.js.map +1 -1
- package/cjs/components/TextField/variations/_label-placement/{base_1s0mlhj.css → base_o4xjq1.css} +1 -1
- package/cjs/components/TextField/variations/_read-only/base.js +1 -1
- package/cjs/components/TextField/variations/_read-only/base.js.map +1 -1
- package/cjs/components/TextField/variations/_read-only/base_2lss3j.css +1 -0
- package/cjs/components/TextField/variations/_view/base.js +1 -1
- package/cjs/components/TextField/variations/_view/base.js.map +1 -1
- package/cjs/components/TextField/variations/_view/{base_1diyp23.css → base_1twy16p.css} +1 -1
- package/cjs/components/TimePicker/TimePicker.css +30 -32
- package/cjs/components/TimePicker/TimePicker.js +3 -2
- package/cjs/components/TimePicker/TimePicker.js.map +1 -1
- package/cjs/components/TimePicker/TimePicker.styles.js +1 -1
- package/cjs/components/TimePicker/TimePicker.styles.js.map +1 -1
- package/cjs/components/TimePicker/{TimePicker.styles_2lk4d9.css → TimePicker.styles_1qm4hou.css} +2 -2
- package/cjs/components/TimePicker/TimePicker.tokens.js +1 -0
- package/cjs/components/TimePicker/TimePicker.tokens.js.map +1 -1
- package/cjs/index.css +39 -41
- package/cjs/utils/createConditionalComponent.js +8 -4
- package/cjs/utils/createConditionalComponent.js.map +1 -1
- package/emotion/cjs/components/Pagination/Pagination.styles.js +18 -18
- package/emotion/cjs/components/TextField/TextField.js +17 -24
- package/emotion/cjs/components/TextField/TextField.styles.js +46 -49
- package/emotion/cjs/components/TextField/variations/_label-placement/base.js +1 -1
- package/emotion/cjs/components/TextField/variations/_read-only/base.js +1 -1
- package/emotion/cjs/components/TextField/variations/_view/base.js +1 -1
- package/emotion/cjs/components/TimePicker/TimePicker.js +4 -2
- package/emotion/cjs/components/TimePicker/TimePicker.styles.js +9 -12
- package/emotion/cjs/components/TimePicker/TimePicker.tokens.js +1 -0
- package/emotion/cjs/examples/components/Calendar/CalendarBase.config.js +8 -7
- package/emotion/cjs/examples/components/Calendar/CalendarDouble.config.js +8 -7
- package/emotion/cjs/examples/components/Combobox/Combobox.js +15 -0
- package/emotion/cjs/examples/components/TextField/TextField.clear.config.js +59 -0
- package/emotion/cjs/examples/components/TextField/TextField.config.js +22 -25
- package/emotion/cjs/examples/components/TextField/TextField.js +29 -5
- package/emotion/cjs/examples/components/Tokens/Colors/Colors.styles.js +152 -55
- package/emotion/cjs/examples/components/Tokens/NumberTokens/NumberTokens.styles.js +72 -25
- package/emotion/cjs/examples/components/Tokens/Typography/Typography.styles.js +200 -75
- package/emotion/cjs/utils/createConditionalComponent.js +76 -8
- package/emotion/es/components/Pagination/Pagination.styles.js +18 -18
- package/emotion/es/components/TextField/TextField.js +5 -12
- package/emotion/es/components/TextField/TextField.styles.js +46 -49
- package/emotion/es/components/TextField/variations/_label-placement/base.js +2 -2
- package/emotion/es/components/TextField/variations/_read-only/base.js +1 -1
- package/emotion/es/components/TextField/variations/_view/base.js +2 -2
- package/emotion/es/components/TimePicker/TimePicker.js +4 -2
- package/emotion/es/components/TimePicker/TimePicker.styles.js +9 -12
- package/emotion/es/components/TimePicker/TimePicker.tokens.js +1 -0
- package/emotion/es/examples/components/Calendar/CalendarBase.config.js +8 -7
- package/emotion/es/examples/components/Calendar/CalendarDouble.config.js +8 -7
- package/emotion/es/examples/components/TextField/TextField.clear.config.js +49 -0
- package/emotion/es/examples/components/TextField/TextField.config.js +22 -25
- package/emotion/es/examples/components/TextField/TextField.js +15 -2
- package/emotion/es/examples/components/Tokens/Colors/Colors.styles.js +152 -55
- package/emotion/es/examples/components/Tokens/NumberTokens/NumberTokens.styles.js +72 -25
- package/emotion/es/examples/components/Tokens/Typography/Typography.styles.js +200 -75
- package/emotion/es/utils/createConditionalComponent.js +37 -5
- package/es/components/Autocomplete/Autocomplete.css +26 -28
- package/es/components/Combobox/ComboboxNew/Combobox.css +26 -28
- package/es/components/DatePicker/RangeDate/RangeDate.css +26 -28
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +26 -28
- package/es/components/DatePicker/SingleDate/SingleDate.css +26 -28
- package/es/components/DateTimePicker/DateTimePicker.css +26 -28
- package/es/components/DateTimePicker/ui/Input/Input.css +26 -28
- package/es/components/Pagination/Pagination.css +35 -37
- package/es/components/Pagination/Pagination.styles.js +7 -7
- package/es/components/Pagination/Pagination.styles.js.map +1 -1
- package/es/components/Pagination/{Pagination.styles_qhyqps.css → Pagination.styles_wrarr1.css} +1 -1
- package/es/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.css +26 -28
- package/es/components/Range/Range.css +26 -28
- package/es/components/Select/Select.css +26 -28
- package/es/components/Select/ui/Target/Target.css +26 -28
- package/es/components/Select/ui/Target/ui/Textfield/Textfield.css +26 -28
- package/es/components/Slider/Slider.css +26 -28
- package/es/components/Slider/components/DoubleUncontrolled/DoubleUncontrolled.css +26 -28
- package/es/components/Table/Table.css +26 -28
- package/es/components/Table/ui/Cell/Cell.css +26 -28
- package/es/components/Table/ui/EditableCell/EditableCell.css +26 -28
- package/es/components/Table/ui/HeadCell/HeadCell.css +26 -28
- package/es/components/Table/ui/HeadCell/ui/Filter/Filter.css +26 -28
- package/es/components/TextField/TextField.js +16 -23
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextField/TextField.styles.js +8 -18
- package/es/components/TextField/TextField.styles.js.map +1 -1
- package/es/components/TextField/{TextField.styles_146520i.css → TextField.styles_1pu4eym.css} +1 -1
- package/es/components/TextField/ui/Hint/Hint.css +21 -21
- package/es/components/TextField/ui/TextFieldChipNew/TextFieldChipNew.css +23 -23
- package/es/components/TextField/variations/_label-placement/base.js +1 -1
- package/es/components/TextField/variations/_label-placement/base.js.map +1 -1
- package/es/components/TextField/variations/_label-placement/{base_1s0mlhj.css → base_o4xjq1.css} +1 -1
- package/es/components/TextField/variations/_read-only/base.js +1 -1
- package/es/components/TextField/variations/_read-only/base.js.map +1 -1
- package/es/components/TextField/variations/_read-only/base_2lss3j.css +1 -0
- package/es/components/TextField/variations/_view/base.js +1 -1
- package/es/components/TextField/variations/_view/base.js.map +1 -1
- package/es/components/TextField/variations/_view/{base_1diyp23.css → base_1twy16p.css} +1 -1
- package/es/components/TimePicker/TimePicker.css +30 -32
- package/es/components/TimePicker/TimePicker.js +3 -2
- package/es/components/TimePicker/TimePicker.js.map +1 -1
- package/es/components/TimePicker/TimePicker.styles.js +1 -1
- package/es/components/TimePicker/TimePicker.styles.js.map +1 -1
- package/es/components/TimePicker/{TimePicker.styles_2lk4d9.css → TimePicker.styles_1qm4hou.css} +2 -2
- package/es/components/TimePicker/TimePicker.tokens.js +1 -0
- package/es/components/TimePicker/TimePicker.tokens.js.map +1 -1
- package/es/index.css +39 -41
- package/es/utils/createConditionalComponent.js +10 -6
- package/es/utils/createConditionalComponent.js.map +1 -1
- package/package.json +6 -16
- package/styled-components/cjs/components/Pagination/Pagination.styles.js +13 -14
- package/styled-components/cjs/components/TextField/TextField.js +16 -23
- package/styled-components/cjs/components/TextField/TextField.styles.js +31 -32
- package/styled-components/cjs/components/TextField/variations/_label-placement/base.js +6 -4
- package/styled-components/cjs/components/TextField/variations/_read-only/base.js +3 -4
- package/styled-components/cjs/components/TextField/variations/_view/base.js +13 -2
- package/styled-components/cjs/components/TimePicker/TimePicker.js +4 -2
- package/styled-components/cjs/components/TimePicker/TimePicker.styles.js +10 -12
- package/styled-components/cjs/components/TimePicker/TimePicker.tokens.js +1 -0
- package/styled-components/cjs/examples/components/Calendar/CalendarBase.config.js +87 -30
- package/styled-components/cjs/examples/components/Calendar/CalendarDouble.config.js +92 -36
- package/styled-components/cjs/examples/components/TextField/TextField.clear.config.js +670 -0
- package/styled-components/cjs/examples/components/TextField/TextField.config.js +10 -48
- package/styled-components/cjs/examples/components/TextField/TextField.js +29 -5
- package/styled-components/cjs/utils/createConditionalComponent.js +76 -8
- package/styled-components/es/components/Pagination/Pagination.styles.js +13 -14
- package/styled-components/es/components/TextField/TextField.js +4 -11
- package/styled-components/es/components/TextField/TextField.styles.js +31 -32
- package/styled-components/es/components/TextField/variations/_label-placement/base.js +7 -5
- package/styled-components/es/components/TextField/variations/_read-only/base.js +3 -4
- package/styled-components/es/components/TextField/variations/_view/base.js +14 -3
- package/styled-components/es/components/TimePicker/TimePicker.js +4 -2
- package/styled-components/es/components/TimePicker/TimePicker.styles.js +10 -12
- package/styled-components/es/components/TimePicker/TimePicker.tokens.js +1 -0
- package/styled-components/es/examples/components/Calendar/CalendarBase.config.js +87 -30
- package/styled-components/es/examples/components/Calendar/CalendarDouble.config.js +92 -36
- package/styled-components/es/examples/components/Combobox/Combobox.js +0 -7
- package/styled-components/es/examples/components/TextField/TextField.clear.config.js +660 -0
- package/styled-components/es/examples/components/TextField/TextField.config.js +10 -48
- package/styled-components/es/examples/components/TextField/TextField.js +15 -2
- package/styled-components/es/utils/createConditionalComponent.js +37 -5
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.styles.d.ts +2 -2
- package/types/components/Attach/ui/Button/Button.styles.d.ts +1 -1
- package/types/components/Attach/ui/Cell/Cell.styles.d.ts +1 -1
- package/types/components/Attach/ui/Dropdown/Dropdown.styles.d.ts +1 -1
- package/types/components/Attach/ui/IconButton/IconButton.styles.d.ts +2 -2
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +9 -1
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/Avatar/Avatar.styles.d.ts +2 -2
- package/types/components/Breadcrumbs/Breadcrumbs.styles.d.ts +1 -1
- package/types/components/Button/Button.styles.d.ts +1 -1
- package/types/components/Calendar/ui/CalendarHeader/CalendarHeader.styles.d.ts +4 -4
- package/types/components/Calendar/ui/EventTooltip/EventTooltip.styles.d.ts +1 -1
- package/types/components/Carousel/CarouselNew/Carousel.styles.d.ts +1 -1
- package/types/components/Combobox/ComboboxNew/Combobox.styles.d.ts +2 -2
- package/types/components/Combobox/ComboboxNew/ui/Inner/ui/Item/Item.styles.d.ts +5 -5
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +9 -1
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/TreeList/ui/Item/Item.styles.d.ts +6 -6
- package/types/components/Combobox/ComboboxOld/ui/ComboboxChip/ComboboxChip.styles.d.ts +1 -1
- package/types/components/Combobox/ComboboxOld/ui/ComboboxTarget/ComboboxTarget.styles.d.ts +1 -1
- package/types/components/DatePicker/RangeDate/RangeDate.styles.d.ts +2 -2
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +14 -6
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
- package/types/components/DateTimePicker/ui/DateShortcut/DateShortcutList.styles.d.ts +1 -1
- package/types/components/DateTimePicker/ui/Input/Input.styles.d.ts +9 -1
- package/types/components/DateTimePicker/ui/Input/Input.styles.d.ts.map +1 -1
- package/types/components/Drawer/Drawer.styles.d.ts +1 -1
- package/types/components/Drawer/ui/DrawerHeader/DrawerHeader.d.ts +2 -2
- package/types/components/Dropdown/ui/DropdownItem/DropdownItem.styles.d.ts +2 -2
- package/types/components/Dropdown/ui/DropdownOld/Dropdown.styles.d.ts +1 -1
- package/types/components/EmptyState/EmptyState.styles.d.ts +1 -1
- package/types/components/InformationWrapper/InformationWrapper.styles.d.ts +1 -1
- package/types/components/LinkButton/LinkButton.styles.d.ts +1 -1
- package/types/components/List/ui/ListItem.styles.d.ts +1 -1
- package/types/components/Loader/Loader.styles.d.ts +2 -2
- package/types/components/NavigationDrawer/ui/MenuItem/MenuItem.styles.d.ts +2 -2
- package/types/components/NavigationDrawer/ui/Section/Section.styles.d.ts +1 -1
- package/types/components/Note/Note.styles.d.ts +1 -1
- package/types/components/Notification/Notification.styles.d.ts +3 -3
- package/types/components/NumberInput/ui/ActionButton/ActionButton.styles.d.ts +1 -1
- package/types/components/NumberInput/ui/Input/Input.styles.d.ts +1 -1
- package/types/components/Pagination/Pagination.styles.d.ts +7 -7
- package/types/components/Pagination/Pagination.styles.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +1 -1
- package/types/components/PaginationDots/PaginationDots.d.ts +1 -1
- package/types/components/Panel/ui/PanelHeader/PanelHeader.styles.d.ts +1 -1
- package/types/components/Popup/Popup.styles.d.ts +1 -1
- package/types/components/Range/Range.styles.d.ts +9 -1
- package/types/components/Range/Range.styles.d.ts.map +1 -1
- package/types/components/Segment/ui/SegmentGroup/SegmentGroup.styles.d.ts +4 -4
- package/types/components/Select/ui/Inner/ui/Item/Item.styles.d.ts +5 -5
- package/types/components/Select/ui/Target/ui/Button/Button.styles.d.ts +2 -2
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +9 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts.map +1 -1
- package/types/components/Select/ui/TreeList/ui/Item/Item.styles.d.ts +6 -6
- package/types/components/Skeleton/LineSkeleton/LineSkeleton.d.ts +4 -4
- package/types/components/Skeleton/LineSkeleton/LineSkeleton.d.ts.map +1 -1
- package/types/components/Skeleton/RectSkeleton/RectSkeleton.d.ts +2 -2
- package/types/components/Skeleton/RectSkeleton/RectSkeleton.d.ts.map +1 -1
- package/types/components/Slider/components/Double/Double.styles.d.ts +9 -1
- package/types/components/Slider/components/Double/Double.styles.d.ts.map +1 -1
- package/types/components/Steps/ui/StepItem/StepItem.styles.d.ts +1 -1
- package/types/components/Table/Table.styles.d.ts +5 -5
- package/types/components/Table/ui/EditableCell/EditableCell.styles.d.ts +2 -2
- package/types/components/Table/ui/HeadCell/ui/Filter/Filter.styles.d.ts +4 -4
- package/types/components/Tabs/ui/horizontal/HorizontalIconTabItem/HorizontalIconTabItem.d.ts +2 -2
- package/types/components/Tabs/ui/horizontal/HorizontalIconTabItem/HorizontalIconTabItem.d.ts.map +1 -1
- package/types/components/Tabs/ui/vertical/VerticalIconTabItem/VerticalIconTabItem.d.ts +2 -2
- package/types/components/Tabs/ui/vertical/VerticalIconTabItem/VerticalIconTabItem.d.ts.map +1 -1
- package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.d.ts +2 -2
- package/types/components/Tabs/ui/vertical/VerticalTabs/VerticalTabs.d.ts.map +1 -1
- package/types/components/TextArea/TextArea.styles.d.ts +2 -2
- package/types/components/TextField/TextField.d.ts +0 -4
- package/types/components/TextField/TextField.d.ts.map +1 -1
- package/types/components/TextField/TextField.styles.d.ts +2 -5
- package/types/components/TextField/TextField.styles.d.ts.map +1 -1
- package/types/components/TextField/TextField.types.d.ts +8 -0
- package/types/components/TextField/TextField.types.d.ts.map +1 -1
- package/types/components/TextField/ui/TextFieldChip/TextFieldChip.styles.d.ts +1 -1
- package/types/components/TextField/variations/_label-placement/base.d.ts.map +1 -1
- package/types/components/TextField/variations/_read-only/base.d.ts.map +1 -1
- package/types/components/TextField/variations/_view/base.d.ts.map +1 -1
- package/types/components/TimePicker/TimePicker.d.ts.map +1 -1
- package/types/components/TimePicker/TimePicker.styles.d.ts +15 -7
- package/types/components/TimePicker/TimePicker.styles.d.ts.map +1 -1
- package/types/components/TimePicker/TimePicker.tokens.d.ts +1 -0
- package/types/components/TimePicker/TimePicker.tokens.d.ts.map +1 -1
- package/types/components/Toast/Toast.styles.d.ts +2 -2
- package/types/components/Toast/ToastNew/ToastNew.styles.d.ts +1 -1
- package/types/components/Tree/Tree.styles.d.ts +2 -2
- package/types/components/_Resizable/Resizable.styles.d.ts +1 -1
- package/types/examples/_helpers.d.ts +1 -1
- package/types/examples/_helpers.d.ts.map +1 -1
- package/types/examples/components/Autocomplete/Autocomplete.d.ts +40 -40
- package/types/examples/components/Autocomplete/Autocomplete.d.ts.map +1 -1
- package/types/examples/components/Avatar/Avatar.d.ts +1 -1
- package/types/examples/components/ButtonGroup/ButtonGroup.d.ts +1 -1
- package/types/examples/components/ButtonGroup/ButtonGroup.d.ts.map +1 -1
- package/types/examples/components/Calendar/Calendar.d.ts +3 -1
- package/types/examples/components/Calendar/Calendar.d.ts.map +1 -1
- package/types/examples/components/Calendar/CalendarBase.config.d.ts +1 -0
- package/types/examples/components/Calendar/CalendarBase.config.d.ts.map +1 -1
- package/types/examples/components/Calendar/CalendarDouble.config.d.ts +1 -0
- package/types/examples/components/Calendar/CalendarDouble.config.d.ts.map +1 -1
- package/types/examples/components/Carousel/Carousel.d.ts +3 -3
- package/types/examples/components/Carousel/Carousel.d.ts.map +1 -1
- package/types/examples/components/Checkbox/Checkbox.d.ts +2 -2
- package/types/examples/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/types/examples/components/Chip/Chip.d.ts +4 -4
- package/types/examples/components/Chip/Chip.d.ts.map +1 -1
- package/types/examples/components/Combobox/Combobox.d.ts +12 -12
- package/types/examples/components/DatePicker/DatePicker.d.ts +1 -1
- package/types/examples/components/Divider/Divider.d.ts +1 -1
- package/types/examples/components/Divider/Divider.d.ts.map +1 -1
- package/types/examples/components/Drawer/Drawer.d.ts +1 -1
- package/types/examples/components/Dropdown/Dropdown.d.ts +5 -5
- package/types/examples/components/Dropdown/Dropdown.d.ts.map +1 -1
- package/types/examples/components/EmptyState/EmptyState.d.ts +1 -1
- package/types/examples/components/Flow/Flow.d.ts +1 -1
- package/types/examples/components/Grid/Grid.d.ts +1 -1
- package/types/examples/components/Grid/Grid.d.ts.map +1 -1
- package/types/examples/components/Image/Image.d.ts +1 -1
- package/types/examples/components/Indicator/Indicator.d.ts +1 -1
- package/types/examples/components/Mask/Mask.d.ts +17 -33
- package/types/examples/components/Mask/Mask.d.ts.map +1 -1
- package/types/examples/components/Modal/Modal.d.ts +2 -2
- package/types/examples/components/NumberFormat/NumberFormat.d.ts +25 -41
- package/types/examples/components/NumberFormat/NumberFormat.d.ts.map +1 -1
- package/types/examples/components/Pagination/Pagination.d.ts +1 -1
- package/types/examples/components/Pagination/Pagination.d.ts.map +1 -1
- package/types/examples/components/Panel/Panel.d.ts +1 -1
- package/types/examples/components/Popup/Popup.d.ts +1 -1
- package/types/examples/components/Popup/Popup.d.ts.map +1 -1
- package/types/examples/components/Progress/Progress.d.ts +1 -1
- package/types/examples/components/Progress/Progress.d.ts.map +1 -1
- package/types/examples/components/Radiobox/Radiobox.d.ts +49 -8
- package/types/examples/components/Radiobox/Radiobox.d.ts.map +1 -1
- package/types/examples/components/Range/Range.d.ts +3 -3
- package/types/examples/components/Range/Range.d.ts.map +1 -1
- package/types/examples/components/Segment/Segment.d.ts +1 -1
- package/types/examples/components/Segment/Segment.d.ts.map +1 -1
- package/types/examples/components/Select/Select.d.ts +2 -2
- package/types/examples/components/Sheet/Sheet.d.ts +1 -1
- package/types/examples/components/Sheet/Sheet.d.ts.map +1 -1
- package/types/examples/components/Slider/Slider.d.ts +2 -2
- package/types/examples/components/Steps/Steps.d.ts +1 -1
- package/types/examples/components/Switch/Switch.d.ts +2 -2
- package/types/examples/components/Switch/Switch.d.ts.map +1 -1
- package/types/examples/components/Tabs/Tabs.d.ts +2 -2
- package/types/examples/components/Tabs/Tabs.d.ts.map +1 -1
- package/types/examples/components/Tabs/TabsController.d.ts +1 -1
- package/types/examples/components/Tabs/TabsController.d.ts.map +1 -1
- package/types/examples/components/TextField/TextField.clear.config.d.ts +48 -0
- package/types/examples/components/TextField/TextField.clear.config.d.ts.map +1 -0
- package/types/examples/components/TextField/TextField.config.d.ts +0 -3
- package/types/examples/components/TextField/TextField.config.d.ts.map +1 -1
- package/types/examples/components/TextField/TextField.d.ts +970 -4
- package/types/examples/components/TextField/TextField.d.ts.map +1 -1
- package/types/examples/components/Tokens/Colors/Colors.styles.d.ts +16 -16
- package/types/examples/components/Tokens/Colors/Colors.styles.d.ts.map +1 -1
- package/types/examples/components/Tokens/NumberTokens/NumberTokens.styles.d.ts +6 -8
- package/types/examples/components/Tokens/NumberTokens/NumberTokens.styles.d.ts.map +1 -1
- package/types/examples/components/Tokens/Typography/Typography.styles.d.ts +20 -20
- package/types/examples/components/Tokens/Typography/Typography.styles.d.ts.map +1 -1
- package/types/utils/createConditionalComponent.d.ts +1 -1
- package/types/utils/createConditionalComponent.d.ts.map +1 -1
- package/cjs/components/TextField/variations/_clear/base.js +0 -9
- package/cjs/components/TextField/variations/_clear/base.js.map +0 -1
- package/cjs/components/TextField/variations/_clear/base_ukg8yq.css +0 -1
- package/cjs/components/TextField/variations/_read-only/base_13ohoed.css +0 -1
- package/emotion/cjs/components/File/File.types.js +0 -4
- package/emotion/cjs/components/TextField/variations/_clear/base.js +0 -14
- package/emotion/es/components/File/File.types.js +0 -1
- package/emotion/es/components/TextField/variations/_clear/base.js +0 -4
- package/es/components/TextField/variations/_clear/base.js +0 -5
- package/es/components/TextField/variations/_clear/base.js.map +0 -1
- package/es/components/TextField/variations/_clear/base_ukg8yq.css +0 -1
- package/es/components/TextField/variations/_read-only/base_13ohoed.css +0 -1
- package/styled-components/cjs/components/File/File.types.js +0 -4
- package/styled-components/cjs/components/TextField/variations/_clear/base.js +0 -52
- package/styled-components/es/components/File/File.types.js +0 -1
- package/styled-components/es/components/TextField/variations/_clear/base.js +0 -42
- package/types/components/File/File.types.d.ts +0 -99
- package/types/components/File/File.types.d.ts.map +0 -1
- package/types/components/TextField/variations/_clear/base.d.ts +0 -2
- package/types/components/TextField/variations/_clear/base.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../src/examples/components/TextField/TextField.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TextField.d.ts","sourceRoot":"","sources":["../../../../src/examples/components/TextField/TextField.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAW2qK,MAAO,YAAY;mBAAqE,MAAO,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;oCAAlwK,CAAC;;;;;;;;;;;;;wBAAq5J,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAA5W,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;oCAAlwK,CAAC;;;;;;;;;;;;;wBAAq5J,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAA5W,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;oCAAlwK,CAAC;;;;;;;;;;;;;wBAAq5J,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAA5W,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;oCAAlwK,CAAC;;;;;;;;;;;;;wBAAq5J,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;4IAX7/K,CAAC;AAG/D,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAQorK,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;oCAAlwK,CAAC;;;;;;;;;;;;;wBAAq5J,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAA5W,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;oCAAlwK,CAAC;;;;;;;;;;;;;wBAAq5J,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAA5W,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;oCAAlwK,CAAC;;;;;;;;;;;;;wBAAq5J,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAA5W,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;oCAAlwK,CAAC;;;;;;;;;;;;;wBAAq5J,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;4IARjgL,CAAC;AAE3D,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAMyrK,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;oCAAlwK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAAq5J,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAA5W,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;oCAAlwK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAAq5J,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAA5W,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;oCAAlwK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAAq5J,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAA5W,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;oCAAlwK,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAAq5J,YAAY;yBAA4E,YAAY;;;oCAAuQ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;gMADzjL,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const ColorTokensWrapper: import("
|
|
2
|
-
export declare const SubthemeSwitcher: import("
|
|
3
|
-
export declare const StyledSegmentItem: import("
|
|
1
|
+
export declare const ColorTokensWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const SubthemeSwitcher: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const StyledSegmentItem: import("styled-components").StyledComponent<import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
|
4
4
|
view: {
|
|
5
5
|
clear: import("@linaria/core").LinariaClassName;
|
|
6
6
|
secondary: import("@linaria/core").LinariaClassName;
|
|
@@ -31,11 +31,11 @@ export declare const StyledSegmentItem: import("@linaria/react").StyledMeta & im
|
|
|
31
31
|
contentLeft?: React.ReactNode;
|
|
32
32
|
contentRight?: React.ReactNode | string;
|
|
33
33
|
maxItemWidth?: import("react").CSSProperties["width"];
|
|
34
|
-
} & import("react").RefAttributes<HTMLLabelElement
|
|
35
|
-
export declare const AccordionInfo: import("
|
|
36
|
-
export declare const Subcategory: import("
|
|
37
|
-
export declare const ColumnTitle: import("
|
|
38
|
-
export declare const StyledAccordionItem: import("
|
|
34
|
+
} & import("react").RefAttributes<HTMLLabelElement>>, any, {}, never>;
|
|
35
|
+
export declare const AccordionInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
36
|
+
export declare const Subcategory: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
37
|
+
export declare const ColumnTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
38
|
+
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "onChange" | "title"> & {
|
|
39
39
|
value?: boolean;
|
|
40
40
|
type?: "clear" | "arrow" | "sign";
|
|
41
41
|
contentLeft?: import("react").ReactNode;
|
|
@@ -51,14 +51,14 @@ export declare const StyledAccordionItem: import("@linaria/react").StyledMeta &
|
|
|
51
51
|
eventKey?: number;
|
|
52
52
|
index?: number;
|
|
53
53
|
view?: string;
|
|
54
|
-
} & import("react").RefAttributes<HTMLDivElement
|
|
55
|
-
export declare const TokenInfoWrapper: import("
|
|
56
|
-
export declare const ColorTokenDataWrapper: import("
|
|
57
|
-
export declare const StateDataWrapper: import("
|
|
58
|
-
export declare const OpacityPart: import("
|
|
59
|
-
export declare const TokenInfo: import("
|
|
60
|
-
export declare const ColorCircle: import("
|
|
54
|
+
} & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
55
|
+
export declare const TokenInfoWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
56
|
+
export declare const ColorTokenDataWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
57
|
+
export declare const StateDataWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
58
|
+
export declare const OpacityPart: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
59
|
+
export declare const TokenInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
60
|
+
export declare const ColorCircle: import("styled-components").StyledComponent<"div", any, {
|
|
61
61
|
background?: string;
|
|
62
62
|
disableShadow?: boolean;
|
|
63
|
-
}>;
|
|
63
|
+
}, never>;
|
|
64
64
|
//# sourceMappingURL=Colors.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Colors.styles.d.ts","sourceRoot":"","sources":["../../../../../src/examples/components/Tokens/Colors/Colors.styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,kBAAkB,
|
|
1
|
+
{"version":3,"file":"Colors.styles.d.ts","sourceRoot":"","sources":["../../../../../src/examples/components/Tokens/Colors/Colors.styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,kBAAkB,oEAE9B,CAAC;AAEF,eAAO,MAAM,gBAAgB,oEAgB5B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;YAtBW,MACrC,SAAO;;;;;kBAqBsC,MAC7C,SAAO;mBAC2B,MAAO,SAAS;;qEACrD,CAAC;AAEF,eAAO,MAAM,aAAa,oEAWzB,CAAC;AAEF,eAAO,MAAM,WAAW,oEAEvB,CAAC;AAEF,eAAO,MAAM,WAAW,oEAavB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;mEAiC/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,oEAK5B,CAAC;AAEF,eAAO,MAAM,qBAAqB,oEAIjC,CAAC;AAEF,eAAO,MAAM,gBAAgB,oEAK5B,CAAC;AAEF,eAAO,MAAM,WAAW,qEAGvB,CAAC;AAEF,eAAO,MAAM,SAAS,oEAmDrB,CAAC;AAEF,eAAO,MAAM,WAAW;iBAA6B,MAAM;oBAAkB,OAAO;SAOnF,CAAC"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
export declare const TokensWrapper: import("
|
|
2
|
-
export declare const TokensTitle: import("
|
|
3
|
-
export declare const TokensDataWrapper: import("
|
|
4
|
-
export declare const TokenInfo: import("
|
|
5
|
-
export declare const TokenData: import("
|
|
6
|
-
export declare const TokenDataHeader: import("
|
|
7
|
-
as?: React.ElementType;
|
|
8
|
-
}>;
|
|
1
|
+
export declare const TokensWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const TokensTitle: import("styled-components").StyledComponent<"h2", any, {}, never>;
|
|
3
|
+
export declare const TokensDataWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const TokenInfo: import("styled-components").StyledComponent<"p", any, {}, never>;
|
|
5
|
+
export declare const TokenData: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const TokenDataHeader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
7
|
//# sourceMappingURL=NumberTokens.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberTokens.styles.d.ts","sourceRoot":"","sources":["../../../../../src/examples/components/Tokens/NumberTokens/NumberTokens.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"NumberTokens.styles.d.ts","sourceRoot":"","sources":["../../../../../src/examples/components/Tokens/NumberTokens/NumberTokens.styles.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,oEAOzB,CAAC;AAEF,eAAO,MAAM,WAAW,mEAQvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,oEAI7B,CAAC;AAEF,eAAO,MAAM,SAAS,kEAuBrB,CAAC;AAEF,eAAO,MAAM,SAAS,oEAKrB,CAAC;AAEF,eAAO,MAAM,eAAe,oEAc3B,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare const TypographyTokensWrapper: import("
|
|
2
|
-
export declare const FontPropsSwitcher: import("
|
|
3
|
-
export declare const FontWeightSwitcher: import("
|
|
4
|
-
export declare const BreakpointSwitcher: import("
|
|
5
|
-
export declare const StyledSegmentItem: import("
|
|
1
|
+
export declare const TypographyTokensWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const FontPropsSwitcher: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const FontWeightSwitcher: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const BreakpointSwitcher: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const StyledSegmentItem: import("styled-components").StyledComponent<import("react").FunctionComponent<import("../../../../engines/types").PropsType<{
|
|
6
6
|
view: {
|
|
7
7
|
clear: import("@linaria/core").LinariaClassName;
|
|
8
8
|
secondary: import("@linaria/core").LinariaClassName;
|
|
@@ -33,11 +33,11 @@ export declare const StyledSegmentItem: import("@linaria/react").StyledMeta & im
|
|
|
33
33
|
contentLeft?: React.ReactNode;
|
|
34
34
|
contentRight?: React.ReactNode | string;
|
|
35
35
|
maxItemWidth?: import("react").CSSProperties["width"];
|
|
36
|
-
} & import("react").RefAttributes<HTMLLabelElement
|
|
37
|
-
export declare const AccordionTypographyTitle: import("
|
|
38
|
-
export declare const FontFamily: import("
|
|
39
|
-
export declare const AccordionInfo: import("
|
|
40
|
-
export declare const StyledAccordionItem: import("
|
|
36
|
+
} & import("react").RefAttributes<HTMLLabelElement>>, any, {}, never>;
|
|
37
|
+
export declare const AccordionTypographyTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
38
|
+
export declare const FontFamily: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
39
|
+
export declare const AccordionInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
40
|
+
export declare const StyledAccordionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLElement>, "onChange" | "title"> & {
|
|
41
41
|
value?: boolean;
|
|
42
42
|
type?: "clear" | "arrow" | "sign";
|
|
43
43
|
contentLeft?: import("react").ReactNode;
|
|
@@ -53,20 +53,20 @@ export declare const StyledAccordionItem: import("@linaria/react").StyledMeta &
|
|
|
53
53
|
eventKey?: number;
|
|
54
54
|
index?: number;
|
|
55
55
|
view?: string;
|
|
56
|
-
} & import("react").RefAttributes<HTMLDivElement
|
|
57
|
-
export declare const TokenInfoWrapper: import("
|
|
58
|
-
export declare const TokenShortName: import("
|
|
59
|
-
export declare const TokenInfo: import("
|
|
60
|
-
export declare const TokenText: import("
|
|
56
|
+
} & import("react").RefAttributes<HTMLDivElement>>, any, {}, never>;
|
|
57
|
+
export declare const TokenInfoWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
58
|
+
export declare const TokenShortName: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
59
|
+
export declare const TokenInfo: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
60
|
+
export declare const TokenText: import("styled-components").StyledComponent<"div", any, {
|
|
61
61
|
fontSize: string;
|
|
62
62
|
fontWeight: string;
|
|
63
63
|
lineHeight: string;
|
|
64
64
|
letterSpacing: string;
|
|
65
65
|
fontStyle: string;
|
|
66
66
|
isDisplay: boolean;
|
|
67
|
-
}>;
|
|
68
|
-
export declare const TokenPropValue: import("
|
|
69
|
-
export declare const TokenPropName: import("
|
|
70
|
-
export declare const TokenPropsWrapper: import("
|
|
71
|
-
export declare const TokenProps: import("
|
|
67
|
+
}, never>;
|
|
68
|
+
export declare const TokenPropValue: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
69
|
+
export declare const TokenPropName: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
70
|
+
export declare const TokenPropsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
71
|
+
export declare const TokenProps: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
72
72
|
//# sourceMappingURL=Typography.styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Typography.styles.d.ts","sourceRoot":"","sources":["../../../../../src/examples/components/Tokens/Typography/Typography.styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,uBAAuB,
|
|
1
|
+
{"version":3,"file":"Typography.styles.d.ts","sourceRoot":"","sources":["../../../../../src/examples/components/Tokens/Typography/Typography.styles.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,uBAAuB,oEAGnC,CAAC;AAEF,eAAO,MAAM,iBAAiB,oEAO7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,oEAI9B,CAAC;AAEF,eAAO,MAAM,kBAAkB,oEAe9B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;YArCW,MAAO,SAC1C;;;;;kBAoBe,MAEjB,SAAQ;mBAIG,MAAO,SACnB;;qEAYF,CAAC;AAEF,eAAO,MAAM,wBAAwB,oEASpC,CAAC;AAEF,eAAO,MAAM,UAAU,qEAEtB,CAAC;AAEF,eAAO,MAAM,aAAa,oEAMzB,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;mEA4B/B,CAAC;AAEF,eAAO,MAAM,gBAAgB,oEAI5B,CAAC;AAEF,eAAO,MAAM,cAAc,oEAkB1B,CAAC;AAEF,eAAO,MAAM,SAAS,oEAIrB,CAAC;AAEF,eAAO,MAAM,SAAS;cACR,MAAM;gBACJ,MAAM;gBACN,MAAM;mBACH,MAAM;eACV,MAAM;eACN,OAAO;SAWrB,CAAC;AAEF,eAAO,MAAM,cAAc,oEAE1B,CAAC;AAEF,eAAO,MAAM,aAAa,oEAEzB,CAAC;AAEF,eAAO,MAAM,iBAAiB,oEA8B7B,CAAC;AAEF,eAAO,MAAM,UAAU,oEAGtB,CAAC"}
|
|
@@ -7,6 +7,6 @@ type ComponentMapping<T> = {
|
|
|
7
7
|
conditions: PropCondition<T> | PropCondition<T>[];
|
|
8
8
|
component: React.ComponentType<T>;
|
|
9
9
|
};
|
|
10
|
-
export declare function createConditionalComponent<T extends object>(defaultComponent: React.ComponentType<T>, mappings: ComponentMapping<T>[]): React.
|
|
10
|
+
export declare function createConditionalComponent<T extends object, K extends HTMLElement>(defaultComponent: React.ComponentType<T>, mappings: ComponentMapping<T>[]): React.ForwardRefExoticComponent<React.PropsWithoutRef<T> & React.RefAttributes<K>>;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=createConditionalComponent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createConditionalComponent.d.ts","sourceRoot":"","sources":["../../src/utils/createConditionalComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"createConditionalComponent.d.ts","sourceRoot":"","sources":["../../src/utils/createConditionalComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,KAAK,aAAa,CAAC,CAAC,IAAI;IACpB,IAAI,EAAE,MAAM,CAAC,CAAC;IACd,KAAK,EAAE,GAAG,CAAC;CACd,CAAC;AAEF,KAAK,gBAAgB,CAAC,CAAC,IAAI;IACvB,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,EAAE,CAAC;IAClD,SAAS,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;CACrC,CAAC;AAGF,wBAAgB,0BAA0B,CAAC,CAAC,SAAS,MAAM,EAAE,CAAC,SAAS,WAAW,EAC9E,gBAAgB,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EACxC,QAAQ,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,sFAmBlC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sources":["../../../../../src/components/TextField/variations/_clear/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../TextField.tokens';\nimport {\n Input,\n InputPlaceholder,\n InputWrapper,\n OuterLabelWrapper,\n StyledContentLeft,\n StyledContentRight,\n StyledHintWrapper,\n StyledIndicator,\n} from '../../TextField.styles';\n\nexport const base = css`\n &.${classes.clear} {\n &[readonly] ${InputWrapper}, ${InputWrapper} {\n background-color: unset;\n box-shadow: none;\n border-radius: 0;\n padding-left: 0;\n padding-right: 0;\n\n &:hover {\n background-color: unset;\n }\n }\n\n ${StyledContentLeft} {\n margin-left: 0;\n }\n\n ${StyledContentRight} {\n margin-right: 0;\n }\n\n &.${classes.outerLabelPlacement} {\n ${OuterLabelWrapper} {\n margin-bottom: var(${tokens.clearLabelOffset});\n }\n }\n\n ${Input} {\n color: var(${tokens.clearColor});\n }\n\n ${InputPlaceholder} {\n color: var(${tokens.clearPlaceholderColor});\n }\n\n ${StyledIndicator} {\n &.${classes.innerLabelPlacement} {\n inset: var(${tokens.clearIndicatorLabelPlacementInner});\n\n &.${classes.requiredAlignRight} {\n inset: var(${tokens.clearIndicatorLabelPlacementInnerRight});\n }\n }\n }\n\n &.${classes.hasHint} {\n ${StyledHintWrapper} {\n &.${classes.innerLabelPlacement} {\n inset: var(${tokens.clearHintInnerLabelPlacementOffset});\n }\n }\n\n ${StyledIndicator} {\n &.${classes.innerLabelPlacement}.${classes.requiredAlignRight} {\n inset: var(${tokens.clearIndicatorHintInnerRight});\n }\n }\n }\n\n &.${classes.hasDivider} {\n ${InputWrapper} {\n --plasma_private-textfield-divider-color: var(${String(tokens.dividerColor)});\n\n &:before {\n content: '';\n position: absolute;\n height: 0.063rem;\n width: 100%;\n bottom: 0;\n left: 0;\n background-color: var(--plasma_private-textfield-divider-color);\n transition: background-color 0.1s ease-in;\n }\n }\n\n &:not([readonly]) ${InputWrapper}:hover {\n --plasma_private-textfield-divider-color: var(\n ${tokens.dividerColorHover},\n var(${String(tokens.dividerColor)})\n );\n }\n\n &:not([readonly]) ${InputWrapper}:focus-within {\n --plasma_private-textfield-divider-color: var(\n ${tokens.dividerColorFocus},\n var(${String(tokens.dividerColor)})\n );\n\n ${InputPlaceholder} {\n color: var(${tokens.clearPlaceholderColorFocus});\n }\n }\n }\n }\n`;\n"],"names":["base"],"mappings":";;;;AAcO,IAAMA,IAAI,GA+FhB;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.bg547ku.textfield-clear[readonly] .iq39zt5,.bg547ku.textfield-clear .iq39zt5{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;}.bg547ku.textfield-clear[readonly] .iq39zt5:hover,.bg547ku.textfield-clear .iq39zt5:hover{background-color:unset;}.bg547ku.textfield-clear .ssv2kwg{margin-left:0;}.bg547ku.textfield-clear .sb3k3v1{margin-right:0;}.bg547ku.textfield-clear.label-placement-outer .olv9av6{margin-bottom:var(--plasma-textfield__clear-label-offset);}.bg547ku.textfield-clear .io4bpie{color:var(--plasma-textfield-clear-color);}.bg547ku.textfield-clear .i19ry60d{color:var(--plasma-textfield__clear-placeholder-color);}.bg547ku.textfield-clear .s9w7nf8.label-placement-inner{inset:var(--plasma-textfield__clear-indicator-placement-inner);}.bg547ku.textfield-clear .s9w7nf8.label-placement-inner.required-align-right{inset:var(--plasma-textfield__clear-indicator-placement-inner-right);}.bg547ku.textfield-clear.textfield-has-hint .s1skqnhr.label-placement-inner{inset:var(--plasma-textfield__clear-hint-inner-label-placement-offset);}.bg547ku.textfield-clear.textfield-has-hint .s9w7nf8.label-placement-inner.required-align-right{inset:var(--plasma-textfield__clear-indicator-hint-placement-inner-right);}.bg547ku.textfield-clear.textfield-has-divider .iq39zt5{--plasma_private-textfield-divider-color:var(--plasma-textfield-divider-color);}.bg547ku.textfield-clear.textfield-has-divider .iq39zt5:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);-webkit-transition:background-color 0.1s ease-in;transition:background-color 0.1s ease-in;}.bg547ku.textfield-clear.textfield-has-divider:not([readonly]) .iq39zt5:hover{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-hover, var(--plasma-textfield-divider-color) );}.bg547ku.textfield-clear.textfield-has-divider:not([readonly]) .iq39zt5:focus-within{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-focus, var(--plasma-textfield-divider-color) );}.bg547ku.textfield-clear.textfield-has-divider:not([readonly]) .iq39zt5:focus-within .i19ry60d{color:var(--plasma-textfield__clear-placeholder-color-focus);}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.b1w985rt[readonly]:not(.b1w985rt[readonly].textfield-clear) .iq39zt5{position:relative;z-index:0;color:var(--plasma-textfield-color-readonly);background:transparent;box-shadow:none;}.b1w985rt[readonly]:not(.b1w985rt[readonly].textfield-clear) .iq39zt5:before{position:absolute;content:'';top:0;left:0;right:0;bottom:0;border-radius:var(--plasma-textfield-border-radius);background-color:var(--plasma-textfield-bg-color-readonly);opacity:var(--plasma-textfield-readonly-opacity);box-shadow:inset 0 0 0 var(--plasma-textfield-border-width) var(--plasma-textfield-border-color-readonly);z-index:-1;}.b1w985rt[readonly]:not(.b1w985rt[readonly].textfield-clear) .iq39zt5:hover{background-color:transparent;}.b1w985rt[readonly].textfield-has-divider .iq39zt5:before{background-color:var(--plasma-textfield-divider-color-readonly);}.b1w985rt[readonly] .iq39zt5:focus-within .i19ry60d,.b1w985rt[readonly] .i19ry60d{color:var(--plasma-textfield__placeholder-color-readonly);}.b1w985rt[readonly] .io4bpie{color:var(--plasma-textfield-color-readonly);cursor:default;min-width:unset;}.b1w985rt[readonly] .t600610{color:var(--plasma-textfield__title-caption-color-readonly);}.b1w985rt[readonly] .l7hnwwb{color:var(--plasma-textfield__left-helper-color-readonly);}.b1w985rt[readonly] .ssv2kwg:hover{color:var(--private_content-slot-color);}.b1w985rt[readonly] .sb3k3v1{opacity:var(--plasma-textfield-right-content-opacity-readonly);}.b1w985rt[readonly] .sb3k3v1:hover,.b1w985rt[readonly] .sb3k3v1:active{cursor:default;color:var(--plasma-textfield-content-right-slot-color,var(--plasma-textfield-content-slot-color));}.b1w985rt[readonly].label-placement-outer .l1gjsnfi{color:var(--plasma-textfield__label-color-readonly);}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "base", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return base;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _react = require("@emotion/react");
|
|
12
|
-
var _TextFieldtokens = require("../../TextField.tokens");
|
|
13
|
-
var _TextFieldstyles = require("../../TextField.styles");
|
|
14
|
-
var base = (0, /*#__PURE__*/ _react.css)("&.", _TextFieldtokens.classes.clear, "{&[readonly] ", _TextFieldstyles.InputWrapper, ",", _TextFieldstyles.InputWrapper, "{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;&:hover{background-color:unset;}}", _TextFieldstyles.StyledContentLeft, "{margin-left:0;}", _TextFieldstyles.StyledContentRight, "{margin-right:0;}&.", _TextFieldtokens.classes.outerLabelPlacement, "{", _TextFieldstyles.OuterLabelWrapper, "{margin-bottom:var(", _TextFieldtokens.tokens.clearLabelOffset, ");}}", _TextFieldstyles.Input, "{color:var(", _TextFieldtokens.tokens.clearColor, ");}", _TextFieldstyles.InputPlaceholder, "{color:var(", _TextFieldtokens.tokens.clearPlaceholderColor, ");}", _TextFieldstyles.StyledIndicator, "{&.", _TextFieldtokens.classes.innerLabelPlacement, "{inset:var(", _TextFieldtokens.tokens.clearIndicatorLabelPlacementInner, ");&.", _TextFieldtokens.classes.requiredAlignRight, "{inset:var(", _TextFieldtokens.tokens.clearIndicatorLabelPlacementInnerRight, ");}}}&.", _TextFieldtokens.classes.hasHint, "{", _TextFieldstyles.StyledHintWrapper, "{&.", _TextFieldtokens.classes.innerLabelPlacement, "{inset:var(", _TextFieldtokens.tokens.clearHintInnerLabelPlacementOffset, ");}}", _TextFieldstyles.StyledIndicator, "{&.", _TextFieldtokens.classes.innerLabelPlacement, ".", _TextFieldtokens.classes.requiredAlignRight, "{inset:var(", _TextFieldtokens.tokens.clearIndicatorHintInnerRight, ");}}}&.", _TextFieldtokens.classes.hasDivider, "{", _TextFieldstyles.InputWrapper, "{--plasma_private-textfield-divider-color:var(", String(_TextFieldtokens.tokens.dividerColor), ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", _TextFieldstyles.InputWrapper, ":hover{--plasma_private-textfield-divider-color:var(\n ", _TextFieldtokens.tokens.dividerColorHover, ",var(", String(_TextFieldtokens.tokens.dividerColor), ")\n );}&:not([readonly]) ", _TextFieldstyles.InputWrapper, ":focus-within{--plasma_private-textfield-divider-color:var(\n ", _TextFieldtokens.tokens.dividerColorFocus, ",var(", String(_TextFieldtokens.tokens.dividerColor), ")\n );", _TextFieldstyles.InputPlaceholder, "{color:var(", _TextFieldtokens.tokens.clearPlaceholderColorFocus, ");}}}}", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9UZXh0RmllbGQvdmFyaWF0aW9ucy9fY2xlYXIvYmFzZS50cyIsInNvdXJjZXMiOlsic3JjLWVtb3Rpb24vY29tcG9uZW50cy9UZXh0RmllbGQvdmFyaWF0aW9ucy9fY2xlYXIvYmFzZS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL1RleHRGaWVsZC50b2tlbnMnO1xuaW1wb3J0IHtcbiAgICBJbnB1dCxcbiAgICBJbnB1dFBsYWNlaG9sZGVyLFxuICAgIElucHV0V3JhcHBlcixcbiAgICBPdXRlckxhYmVsV3JhcHBlcixcbiAgICBTdHlsZWRDb250ZW50TGVmdCxcbiAgICBTdHlsZWRDb250ZW50UmlnaHQsXG4gICAgU3R5bGVkSGludFdyYXBwZXIsXG4gICAgU3R5bGVkSW5kaWNhdG9yLFxufSBmcm9tICcuLi8uLi9UZXh0RmllbGQuc3R5bGVzJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgJi4ke2NsYXNzZXMuY2xlYXJ9IHtcbiAgICAgICAgJltyZWFkb25seV0gJHtJbnB1dFdyYXBwZXJ9LCAke0lucHV0V3JhcHBlcn0ge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICBib3gtc2hhZG93OiBub25lO1xuICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogMDtcbiAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMDtcbiAgICAgICAgICAgIHBhZGRpbmctcmlnaHQ6IDA7XG5cbiAgICAgICAgICAgICY6aG92ZXIge1xuICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHVuc2V0O1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRDb250ZW50TGVmdH0ge1xuICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDA7XG4gICAgICAgIH1cblxuICAgICAgICAke1N0eWxlZENvbnRlbnRSaWdodH0ge1xuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMub3V0ZXJMYWJlbFBsYWNlbWVudH0ge1xuICAgICAgICAgICAgJHtPdXRlckxhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5jbGVhckxhYmVsT2Zmc2V0fSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAke0lucHV0fSB7XG4gICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmNsZWFyQ29sb3J9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICR7SW5wdXRQbGFjZWhvbGRlcn0ge1xuICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5jbGVhclBsYWNlaG9sZGVyQ29sb3J9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkSW5kaWNhdG9yfSB7XG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5pbm5lckxhYmVsUGxhY2VtZW50fSB7XG4gICAgICAgICAgICAgICAgaW5zZXQ6IHZhcigke3Rva2Vucy5jbGVhckluZGljYXRvckxhYmVsUGxhY2VtZW50SW5uZXJ9KTtcblxuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLnJlcXVpcmVkQWxpZ25SaWdodH0ge1xuICAgICAgICAgICAgICAgICAgICBpbnNldDogdmFyKCR7dG9rZW5zLmNsZWFySW5kaWNhdG9yTGFiZWxQbGFjZW1lbnRJbm5lclJpZ2h0fSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuaGFzSGludH0ge1xuICAgICAgICAgICAgJHtTdHlsZWRIaW50V3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLmlubmVyTGFiZWxQbGFjZW1lbnR9IHtcbiAgICAgICAgICAgICAgICAgICAgaW5zZXQ6IHZhcigke3Rva2Vucy5jbGVhckhpbnRJbm5lckxhYmVsUGxhY2VtZW50T2Zmc2V0fSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAke1N0eWxlZEluZGljYXRvcn0ge1xuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLmlubmVyTGFiZWxQbGFjZW1lbnR9LiR7Y2xhc3Nlcy5yZXF1aXJlZEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICAgICAgICAgaW5zZXQ6IHZhcigke3Rva2Vucy5jbGVhckluZGljYXRvckhpbnRJbm5lclJpZ2h0fSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuaGFzRGl2aWRlcn0ge1xuICAgICAgICAgICAgJHtJbnB1dFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAtLXBsYXNtYV9wcml2YXRlLXRleHRmaWVsZC1kaXZpZGVyLWNvbG9yOiB2YXIoJHtTdHJpbmcodG9rZW5zLmRpdmlkZXJDb2xvcil9KTtcblxuICAgICAgICAgICAgICAgICY6YmVmb3JlIHtcbiAgICAgICAgICAgICAgICAgICAgY29udGVudDogJyc7XG4gICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiAwLjA2M3JlbTtcbiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMDtcbiAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcGxhc21hX3ByaXZhdGUtdGV4dGZpZWxkLWRpdmlkZXItY29sb3IpO1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDAuMXMgZWFzZS1pbjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICY6bm90KFtyZWFkb25seV0pICR7SW5wdXRXcmFwcGVyfTpob3ZlciB7XG4gICAgICAgICAgICAgICAgLS1wbGFzbWFfcHJpdmF0ZS10ZXh0ZmllbGQtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JIb3Zlcn0sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJjpub3QoW3JlYWRvbmx5XSkgJHtJbnB1dFdyYXBwZXJ9OmZvY3VzLXdpdGhpbiB7XG4gICAgICAgICAgICAgICAgLS1wbGFzbWFfcHJpdmF0ZS10ZXh0ZmllbGQtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JGb2N1c30sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcblxuICAgICAgICAgICAgICAgICR7SW5wdXRQbGFjZWhvbGRlcn0ge1xuICAgICAgICAgICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmNsZWFyUGxhY2Vob2xkZXJDb2xvckZvY3VzfSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuYDtcbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFjb0IifQ== */");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { css } from "@emotion/react";
|
|
2
|
-
import { classes, tokens } from "../../TextField.tokens";
|
|
3
|
-
import { Input, InputPlaceholder, InputWrapper, OuterLabelWrapper, StyledContentLeft, StyledContentRight, StyledHintWrapper, StyledIndicator } from "../../TextField.styles";
|
|
4
|
-
export var base = /*#__PURE__*/ css("&.", classes.clear, "{&[readonly] ", InputWrapper, ",", InputWrapper, "{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;&:hover{background-color:unset;}}", StyledContentLeft, "{margin-left:0;}", StyledContentRight, "{margin-right:0;}&.", classes.outerLabelPlacement, "{", OuterLabelWrapper, "{margin-bottom:var(", tokens.clearLabelOffset, ");}}", Input, "{color:var(", tokens.clearColor, ");}", InputPlaceholder, "{color:var(", tokens.clearPlaceholderColor, ");}", StyledIndicator, "{&.", classes.innerLabelPlacement, "{inset:var(", tokens.clearIndicatorLabelPlacementInner, ");&.", classes.requiredAlignRight, "{inset:var(", tokens.clearIndicatorLabelPlacementInnerRight, ");}}}&.", classes.hasHint, "{", StyledHintWrapper, "{&.", classes.innerLabelPlacement, "{inset:var(", tokens.clearHintInnerLabelPlacementOffset, ");}}", StyledIndicator, "{&.", classes.innerLabelPlacement, ".", classes.requiredAlignRight, "{inset:var(", tokens.clearIndicatorHintInnerRight, ");}}}&.", classes.hasDivider, "{", InputWrapper, "{--plasma_private-textfield-divider-color:var(", String(tokens.dividerColor), ");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ", InputWrapper, ":hover{--plasma_private-textfield-divider-color:var(\n ", tokens.dividerColorHover, ",var(", String(tokens.dividerColor), ")\n );}&:not([readonly]) ", InputWrapper, ":focus-within{--plasma_private-textfield-divider-color:var(\n ", tokens.dividerColorFocus, ",var(", String(tokens.dividerColor), ")\n );", InputPlaceholder, "{color:var(", tokens.clearPlaceholderColorFocus, ");}}}}", "base", "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3JjLWVtb3Rpb24vY29tcG9uZW50cy9UZXh0RmllbGQvdmFyaWF0aW9ucy9fY2xlYXIvYmFzZS50cyIsInNvdXJjZXMiOlsic3JjLWVtb3Rpb24vY29tcG9uZW50cy9UZXh0RmllbGQvdmFyaWF0aW9ucy9fY2xlYXIvYmFzZS50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7IGNsYXNzZXMsIHRva2VucyB9IGZyb20gJy4uLy4uL1RleHRGaWVsZC50b2tlbnMnO1xuaW1wb3J0IHtcbiAgICBJbnB1dCxcbiAgICBJbnB1dFBsYWNlaG9sZGVyLFxuICAgIElucHV0V3JhcHBlcixcbiAgICBPdXRlckxhYmVsV3JhcHBlcixcbiAgICBTdHlsZWRDb250ZW50TGVmdCxcbiAgICBTdHlsZWRDb250ZW50UmlnaHQsXG4gICAgU3R5bGVkSGludFdyYXBwZXIsXG4gICAgU3R5bGVkSW5kaWNhdG9yLFxufSBmcm9tICcuLi8uLi9UZXh0RmllbGQuc3R5bGVzJztcblxuZXhwb3J0IGNvbnN0IGJhc2UgPSBjc3NgXG4gICAgJi4ke2NsYXNzZXMuY2xlYXJ9IHtcbiAgICAgICAgJltyZWFkb25seV0gJHtJbnB1dFdyYXBwZXJ9LCAke0lucHV0V3JhcHBlcn0ge1xuICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdW5zZXQ7XG4gICAgICAgICAgICBib3gtc2hhZG93OiBub25lO1xuICAgICAgICAgICAgYm9yZGVyLXJhZGl1czogMDtcbiAgICAgICAgICAgIHBhZGRpbmctbGVmdDogMDtcbiAgICAgICAgICAgIHBhZGRpbmctcmlnaHQ6IDA7XG5cbiAgICAgICAgICAgICY6aG92ZXIge1xuICAgICAgICAgICAgICAgIGJhY2tncm91bmQtY29sb3I6IHVuc2V0O1xuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJHtTdHlsZWRDb250ZW50TGVmdH0ge1xuICAgICAgICAgICAgbWFyZ2luLWxlZnQ6IDA7XG4gICAgICAgIH1cblxuICAgICAgICAke1N0eWxlZENvbnRlbnRSaWdodH0ge1xuICAgICAgICAgICAgbWFyZ2luLXJpZ2h0OiAwO1xuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMub3V0ZXJMYWJlbFBsYWNlbWVudH0ge1xuICAgICAgICAgICAgJHtPdXRlckxhYmVsV3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgIG1hcmdpbi1ib3R0b206IHZhcigke3Rva2Vucy5jbGVhckxhYmVsT2Zmc2V0fSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cblxuICAgICAgICAke0lucHV0fSB7XG4gICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmNsZWFyQ29sb3J9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICR7SW5wdXRQbGFjZWhvbGRlcn0ge1xuICAgICAgICAgICAgY29sb3I6IHZhcigke3Rva2Vucy5jbGVhclBsYWNlaG9sZGVyQ29sb3J9KTtcbiAgICAgICAgfVxuXG4gICAgICAgICR7U3R5bGVkSW5kaWNhdG9yfSB7XG4gICAgICAgICAgICAmLiR7Y2xhc3Nlcy5pbm5lckxhYmVsUGxhY2VtZW50fSB7XG4gICAgICAgICAgICAgICAgaW5zZXQ6IHZhcigke3Rva2Vucy5jbGVhckluZGljYXRvckxhYmVsUGxhY2VtZW50SW5uZXJ9KTtcblxuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLnJlcXVpcmVkQWxpZ25SaWdodH0ge1xuICAgICAgICAgICAgICAgICAgICBpbnNldDogdmFyKCR7dG9rZW5zLmNsZWFySW5kaWNhdG9yTGFiZWxQbGFjZW1lbnRJbm5lclJpZ2h0fSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuaGFzSGludH0ge1xuICAgICAgICAgICAgJHtTdHlsZWRIaW50V3JhcHBlcn0ge1xuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLmlubmVyTGFiZWxQbGFjZW1lbnR9IHtcbiAgICAgICAgICAgICAgICAgICAgaW5zZXQ6IHZhcigke3Rva2Vucy5jbGVhckhpbnRJbm5lckxhYmVsUGxhY2VtZW50T2Zmc2V0fSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAke1N0eWxlZEluZGljYXRvcn0ge1xuICAgICAgICAgICAgICAgICYuJHtjbGFzc2VzLmlubmVyTGFiZWxQbGFjZW1lbnR9LiR7Y2xhc3Nlcy5yZXF1aXJlZEFsaWduUmlnaHR9IHtcbiAgICAgICAgICAgICAgICAgICAgaW5zZXQ6IHZhcigke3Rva2Vucy5jbGVhckluZGljYXRvckhpbnRJbm5lclJpZ2h0fSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICAgJi4ke2NsYXNzZXMuaGFzRGl2aWRlcn0ge1xuICAgICAgICAgICAgJHtJbnB1dFdyYXBwZXJ9IHtcbiAgICAgICAgICAgICAgICAtLXBsYXNtYV9wcml2YXRlLXRleHRmaWVsZC1kaXZpZGVyLWNvbG9yOiB2YXIoJHtTdHJpbmcodG9rZW5zLmRpdmlkZXJDb2xvcil9KTtcblxuICAgICAgICAgICAgICAgICY6YmVmb3JlIHtcbiAgICAgICAgICAgICAgICAgICAgY29udGVudDogJyc7XG4gICAgICAgICAgICAgICAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcbiAgICAgICAgICAgICAgICAgICAgaGVpZ2h0OiAwLjA2M3JlbTtcbiAgICAgICAgICAgICAgICAgICAgd2lkdGg6IDEwMCU7XG4gICAgICAgICAgICAgICAgICAgIGJvdHRvbTogMDtcbiAgICAgICAgICAgICAgICAgICAgbGVmdDogMDtcbiAgICAgICAgICAgICAgICAgICAgYmFja2dyb3VuZC1jb2xvcjogdmFyKC0tcGxhc21hX3ByaXZhdGUtdGV4dGZpZWxkLWRpdmlkZXItY29sb3IpO1xuICAgICAgICAgICAgICAgICAgICB0cmFuc2l0aW9uOiBiYWNrZ3JvdW5kLWNvbG9yIDAuMXMgZWFzZS1pbjtcbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICY6bm90KFtyZWFkb25seV0pICR7SW5wdXRXcmFwcGVyfTpob3ZlciB7XG4gICAgICAgICAgICAgICAgLS1wbGFzbWFfcHJpdmF0ZS10ZXh0ZmllbGQtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JIb3Zlcn0sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcbiAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgJjpub3QoW3JlYWRvbmx5XSkgJHtJbnB1dFdyYXBwZXJ9OmZvY3VzLXdpdGhpbiB7XG4gICAgICAgICAgICAgICAgLS1wbGFzbWFfcHJpdmF0ZS10ZXh0ZmllbGQtZGl2aWRlci1jb2xvcjogdmFyKFxuICAgICAgICAgICAgICAgICAgICAke3Rva2Vucy5kaXZpZGVyQ29sb3JGb2N1c30sXG4gICAgICAgICAgICAgICAgICAgIHZhcigke1N0cmluZyh0b2tlbnMuZGl2aWRlckNvbG9yKX0pXG4gICAgICAgICAgICAgICAgKTtcblxuICAgICAgICAgICAgICAgICR7SW5wdXRQbGFjZWhvbGRlcn0ge1xuICAgICAgICAgICAgICAgICAgICBjb2xvcjogdmFyKCR7dG9rZW5zLmNsZWFyUGxhY2Vob2xkZXJDb2xvckZvY3VzfSk7XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfVxuICAgICAgICB9XG4gICAgfVxuYDtcbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFjb0IifQ== */");
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.js","sources":["../../../../../src/components/TextField/variations/_clear/base.ts"],"sourcesContent":["import { css } from '@linaria/core';\n\nimport { classes, tokens } from '../../TextField.tokens';\nimport {\n Input,\n InputPlaceholder,\n InputWrapper,\n OuterLabelWrapper,\n StyledContentLeft,\n StyledContentRight,\n StyledHintWrapper,\n StyledIndicator,\n} from '../../TextField.styles';\n\nexport const base = css`\n &.${classes.clear} {\n &[readonly] ${InputWrapper}, ${InputWrapper} {\n background-color: unset;\n box-shadow: none;\n border-radius: 0;\n padding-left: 0;\n padding-right: 0;\n\n &:hover {\n background-color: unset;\n }\n }\n\n ${StyledContentLeft} {\n margin-left: 0;\n }\n\n ${StyledContentRight} {\n margin-right: 0;\n }\n\n &.${classes.outerLabelPlacement} {\n ${OuterLabelWrapper} {\n margin-bottom: var(${tokens.clearLabelOffset});\n }\n }\n\n ${Input} {\n color: var(${tokens.clearColor});\n }\n\n ${InputPlaceholder} {\n color: var(${tokens.clearPlaceholderColor});\n }\n\n ${StyledIndicator} {\n &.${classes.innerLabelPlacement} {\n inset: var(${tokens.clearIndicatorLabelPlacementInner});\n\n &.${classes.requiredAlignRight} {\n inset: var(${tokens.clearIndicatorLabelPlacementInnerRight});\n }\n }\n }\n\n &.${classes.hasHint} {\n ${StyledHintWrapper} {\n &.${classes.innerLabelPlacement} {\n inset: var(${tokens.clearHintInnerLabelPlacementOffset});\n }\n }\n\n ${StyledIndicator} {\n &.${classes.innerLabelPlacement}.${classes.requiredAlignRight} {\n inset: var(${tokens.clearIndicatorHintInnerRight});\n }\n }\n }\n\n &.${classes.hasDivider} {\n ${InputWrapper} {\n --plasma_private-textfield-divider-color: var(${String(tokens.dividerColor)});\n\n &:before {\n content: '';\n position: absolute;\n height: 0.063rem;\n width: 100%;\n bottom: 0;\n left: 0;\n background-color: var(--plasma_private-textfield-divider-color);\n transition: background-color 0.1s ease-in;\n }\n }\n\n &:not([readonly]) ${InputWrapper}:hover {\n --plasma_private-textfield-divider-color: var(\n ${tokens.dividerColorHover},\n var(${String(tokens.dividerColor)})\n );\n }\n\n &:not([readonly]) ${InputWrapper}:focus-within {\n --plasma_private-textfield-divider-color: var(\n ${tokens.dividerColorFocus},\n var(${String(tokens.dividerColor)})\n );\n\n ${InputPlaceholder} {\n color: var(${tokens.clearPlaceholderColorFocus});\n }\n }\n }\n }\n`;\n"],"names":["base"],"mappings":"AAcO,IAAMA,IAAI,GA+FhB;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.bg547ku.textfield-clear[readonly] .iq39zt5,.bg547ku.textfield-clear .iq39zt5{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;}.bg547ku.textfield-clear[readonly] .iq39zt5:hover,.bg547ku.textfield-clear .iq39zt5:hover{background-color:unset;}.bg547ku.textfield-clear .ssv2kwg{margin-left:0;}.bg547ku.textfield-clear .sb3k3v1{margin-right:0;}.bg547ku.textfield-clear.label-placement-outer .olv9av6{margin-bottom:var(--plasma-textfield__clear-label-offset);}.bg547ku.textfield-clear .io4bpie{color:var(--plasma-textfield-clear-color);}.bg547ku.textfield-clear .i19ry60d{color:var(--plasma-textfield__clear-placeholder-color);}.bg547ku.textfield-clear .s9w7nf8.label-placement-inner{inset:var(--plasma-textfield__clear-indicator-placement-inner);}.bg547ku.textfield-clear .s9w7nf8.label-placement-inner.required-align-right{inset:var(--plasma-textfield__clear-indicator-placement-inner-right);}.bg547ku.textfield-clear.textfield-has-hint .s1skqnhr.label-placement-inner{inset:var(--plasma-textfield__clear-hint-inner-label-placement-offset);}.bg547ku.textfield-clear.textfield-has-hint .s9w7nf8.label-placement-inner.required-align-right{inset:var(--plasma-textfield__clear-indicator-hint-placement-inner-right);}.bg547ku.textfield-clear.textfield-has-divider .iq39zt5{--plasma_private-textfield-divider-color:var(--plasma-textfield-divider-color);}.bg547ku.textfield-clear.textfield-has-divider .iq39zt5:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);-webkit-transition:background-color 0.1s ease-in;transition:background-color 0.1s ease-in;}.bg547ku.textfield-clear.textfield-has-divider:not([readonly]) .iq39zt5:hover{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-hover, var(--plasma-textfield-divider-color) );}.bg547ku.textfield-clear.textfield-has-divider:not([readonly]) .iq39zt5:focus-within{--plasma_private-textfield-divider-color:var( --plasma-textfield-divider-color-focus, var(--plasma-textfield-divider-color) );}.bg547ku.textfield-clear.textfield-has-divider:not([readonly]) .iq39zt5:focus-within .i19ry60d{color:var(--plasma-textfield__clear-placeholder-color-focus);}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.b1w985rt[readonly]:not(.b1w985rt[readonly].textfield-clear) .iq39zt5{position:relative;z-index:0;color:var(--plasma-textfield-color-readonly);background:transparent;box-shadow:none;}.b1w985rt[readonly]:not(.b1w985rt[readonly].textfield-clear) .iq39zt5:before{position:absolute;content:'';top:0;left:0;right:0;bottom:0;border-radius:var(--plasma-textfield-border-radius);background-color:var(--plasma-textfield-bg-color-readonly);opacity:var(--plasma-textfield-readonly-opacity);box-shadow:inset 0 0 0 var(--plasma-textfield-border-width) var(--plasma-textfield-border-color-readonly);z-index:-1;}.b1w985rt[readonly]:not(.b1w985rt[readonly].textfield-clear) .iq39zt5:hover{background-color:transparent;}.b1w985rt[readonly].textfield-has-divider .iq39zt5:before{background-color:var(--plasma-textfield-divider-color-readonly);}.b1w985rt[readonly] .iq39zt5:focus-within .i19ry60d,.b1w985rt[readonly] .i19ry60d{color:var(--plasma-textfield__placeholder-color-readonly);}.b1w985rt[readonly] .io4bpie{color:var(--plasma-textfield-color-readonly);cursor:default;min-width:unset;}.b1w985rt[readonly] .t600610{color:var(--plasma-textfield__title-caption-color-readonly);}.b1w985rt[readonly] .l7hnwwb{color:var(--plasma-textfield__left-helper-color-readonly);}.b1w985rt[readonly] .ssv2kwg:hover{color:var(--private_content-slot-color);}.b1w985rt[readonly] .sb3k3v1{opacity:var(--plasma-textfield-right-content-opacity-readonly);}.b1w985rt[readonly] .sb3k3v1:hover,.b1w985rt[readonly] .sb3k3v1:active{cursor:default;color:var(--plasma-textfield-content-right-slot-color,var(--plasma-textfield-content-slot-color));}.b1w985rt[readonly].label-placement-outer .l1gjsnfi{color:var(--plasma-textfield__label-color-readonly);}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", {
|
|
3
|
-
value: true
|
|
4
|
-
});
|
|
5
|
-
Object.defineProperty(exports, "base", {
|
|
6
|
-
enumerable: true,
|
|
7
|
-
get: function() {
|
|
8
|
-
return base;
|
|
9
|
-
}
|
|
10
|
-
});
|
|
11
|
-
var _styledcomponents = require("styled-components");
|
|
12
|
-
var _TextFieldtokens = require("../../TextField.tokens");
|
|
13
|
-
var _TextFieldstyles = require("../../TextField.styles");
|
|
14
|
-
var base = (0, _styledcomponents.css)([
|
|
15
|
-
"&.",
|
|
16
|
-
"{&[readonly] ",
|
|
17
|
-
",",
|
|
18
|
-
"{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;&:hover{background-color:unset;}}",
|
|
19
|
-
"{margin-left:0;}",
|
|
20
|
-
"{margin-right:0;}&.",
|
|
21
|
-
"{",
|
|
22
|
-
"{margin-bottom:var(",
|
|
23
|
-
");}}",
|
|
24
|
-
"{color:var(",
|
|
25
|
-
");}",
|
|
26
|
-
"{color:var(",
|
|
27
|
-
");}",
|
|
28
|
-
"{&.",
|
|
29
|
-
"{inset:var(",
|
|
30
|
-
");&.",
|
|
31
|
-
"{inset:var(",
|
|
32
|
-
");}}}&.",
|
|
33
|
-
"{",
|
|
34
|
-
"{&.",
|
|
35
|
-
"{inset:var(",
|
|
36
|
-
");}}",
|
|
37
|
-
"{&.",
|
|
38
|
-
".",
|
|
39
|
-
"{inset:var(",
|
|
40
|
-
");}}}&.",
|
|
41
|
-
"{",
|
|
42
|
-
"{--plasma_private-textfield-divider-color:var(",
|
|
43
|
-
");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ",
|
|
44
|
-
":hover{--plasma_private-textfield-divider-color:var( ",
|
|
45
|
-
",var(",
|
|
46
|
-
") );}&:not([readonly]) ",
|
|
47
|
-
":focus-within{--plasma_private-textfield-divider-color:var( ",
|
|
48
|
-
",var(",
|
|
49
|
-
") );",
|
|
50
|
-
"{color:var(",
|
|
51
|
-
");}}}}"
|
|
52
|
-
], _TextFieldtokens.classes.clear, _TextFieldstyles.InputWrapper, _TextFieldstyles.InputWrapper, _TextFieldstyles.StyledContentLeft, _TextFieldstyles.StyledContentRight, _TextFieldtokens.classes.outerLabelPlacement, _TextFieldstyles.OuterLabelWrapper, _TextFieldtokens.tokens.clearLabelOffset, _TextFieldstyles.Input, _TextFieldtokens.tokens.clearColor, _TextFieldstyles.InputPlaceholder, _TextFieldtokens.tokens.clearPlaceholderColor, _TextFieldstyles.StyledIndicator, _TextFieldtokens.classes.innerLabelPlacement, _TextFieldtokens.tokens.clearIndicatorLabelPlacementInner, _TextFieldtokens.classes.requiredAlignRight, _TextFieldtokens.tokens.clearIndicatorLabelPlacementInnerRight, _TextFieldtokens.classes.hasHint, _TextFieldstyles.StyledHintWrapper, _TextFieldtokens.classes.innerLabelPlacement, _TextFieldtokens.tokens.clearHintInnerLabelPlacementOffset, _TextFieldstyles.StyledIndicator, _TextFieldtokens.classes.innerLabelPlacement, _TextFieldtokens.classes.requiredAlignRight, _TextFieldtokens.tokens.clearIndicatorHintInnerRight, _TextFieldtokens.classes.hasDivider, _TextFieldstyles.InputWrapper, String(_TextFieldtokens.tokens.dividerColor), _TextFieldstyles.InputWrapper, _TextFieldtokens.tokens.dividerColorHover, String(_TextFieldtokens.tokens.dividerColor), _TextFieldstyles.InputWrapper, _TextFieldtokens.tokens.dividerColorFocus, String(_TextFieldtokens.tokens.dividerColor), _TextFieldstyles.InputPlaceholder, _TextFieldtokens.tokens.clearPlaceholderColorFocus);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { };
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { css } from "styled-components";
|
|
2
|
-
import { classes, tokens } from "../../TextField.tokens";
|
|
3
|
-
import { Input, InputPlaceholder, InputWrapper, OuterLabelWrapper, StyledContentLeft, StyledContentRight, StyledHintWrapper, StyledIndicator } from "../../TextField.styles";
|
|
4
|
-
export var base = css([
|
|
5
|
-
"&.",
|
|
6
|
-
"{&[readonly] ",
|
|
7
|
-
",",
|
|
8
|
-
"{background-color:unset;box-shadow:none;border-radius:0;padding-left:0;padding-right:0;&:hover{background-color:unset;}}",
|
|
9
|
-
"{margin-left:0;}",
|
|
10
|
-
"{margin-right:0;}&.",
|
|
11
|
-
"{",
|
|
12
|
-
"{margin-bottom:var(",
|
|
13
|
-
");}}",
|
|
14
|
-
"{color:var(",
|
|
15
|
-
");}",
|
|
16
|
-
"{color:var(",
|
|
17
|
-
");}",
|
|
18
|
-
"{&.",
|
|
19
|
-
"{inset:var(",
|
|
20
|
-
");&.",
|
|
21
|
-
"{inset:var(",
|
|
22
|
-
");}}}&.",
|
|
23
|
-
"{",
|
|
24
|
-
"{&.",
|
|
25
|
-
"{inset:var(",
|
|
26
|
-
");}}",
|
|
27
|
-
"{&.",
|
|
28
|
-
".",
|
|
29
|
-
"{inset:var(",
|
|
30
|
-
");}}}&.",
|
|
31
|
-
"{",
|
|
32
|
-
"{--plasma_private-textfield-divider-color:var(",
|
|
33
|
-
");&:before{content:'';position:absolute;height:0.063rem;width:100%;bottom:0;left:0;background-color:var(--plasma_private-textfield-divider-color);transition:background-color 0.1s ease-in;}}&:not([readonly]) ",
|
|
34
|
-
":hover{--plasma_private-textfield-divider-color:var( ",
|
|
35
|
-
",var(",
|
|
36
|
-
") );}&:not([readonly]) ",
|
|
37
|
-
":focus-within{--plasma_private-textfield-divider-color:var( ",
|
|
38
|
-
",var(",
|
|
39
|
-
") );",
|
|
40
|
-
"{color:var(",
|
|
41
|
-
");}}}}"
|
|
42
|
-
], classes.clear, InputWrapper, InputWrapper, StyledContentLeft, StyledContentRight, classes.outerLabelPlacement, OuterLabelWrapper, tokens.clearLabelOffset, Input, tokens.clearColor, InputPlaceholder, tokens.clearPlaceholderColor, StyledIndicator, classes.innerLabelPlacement, tokens.clearIndicatorLabelPlacementInner, classes.requiredAlignRight, tokens.clearIndicatorLabelPlacementInnerRight, classes.hasHint, StyledHintWrapper, classes.innerLabelPlacement, tokens.clearHintInnerLabelPlacementOffset, StyledIndicator, classes.innerLabelPlacement, classes.requiredAlignRight, tokens.clearIndicatorHintInnerRight, classes.hasDivider, InputWrapper, String(tokens.dividerColor), InputWrapper, tokens.dividerColorHover, String(tokens.dividerColor), InputWrapper, tokens.dividerColorFocus, String(tokens.dividerColor), InputPlaceholder, tokens.clearPlaceholderColorFocus);
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import type { HTMLAttributes, ReactNode } from 'react';
|
|
2
|
-
export type LoaderType = 'circular' | 'liner';
|
|
3
|
-
export type ContentType = 'image' | 'icon';
|
|
4
|
-
export type ActionPlacement = 'left' | 'right';
|
|
5
|
-
type ContentProps = {
|
|
6
|
-
/**
|
|
7
|
-
* Тип контента превью файла
|
|
8
|
-
* @default 'icon'
|
|
9
|
-
*/
|
|
10
|
-
contentType?: 'icon';
|
|
11
|
-
/**
|
|
12
|
-
* Контент слева (иконка файла)
|
|
13
|
-
*/
|
|
14
|
-
contentLeft?: ReactNode;
|
|
15
|
-
/**
|
|
16
|
-
* URL изображения
|
|
17
|
-
*/
|
|
18
|
-
imageSrc?: never;
|
|
19
|
-
/**
|
|
20
|
-
* Alt текст для изображения
|
|
21
|
-
*/
|
|
22
|
-
imageAlt?: never;
|
|
23
|
-
} | {
|
|
24
|
-
/**
|
|
25
|
-
* Тип контента превью файла
|
|
26
|
-
*/
|
|
27
|
-
contentType: 'image';
|
|
28
|
-
/**
|
|
29
|
-
* Контент слева
|
|
30
|
-
*/
|
|
31
|
-
contentLeft?: never;
|
|
32
|
-
/**
|
|
33
|
-
* URL изображения
|
|
34
|
-
*/
|
|
35
|
-
imageSrc: string;
|
|
36
|
-
/**
|
|
37
|
-
* Alt текст для изображения
|
|
38
|
-
*/
|
|
39
|
-
imageAlt?: string;
|
|
40
|
-
};
|
|
41
|
-
export type BaseFileProps = {
|
|
42
|
-
/**
|
|
43
|
-
* Название файла
|
|
44
|
-
*/
|
|
45
|
-
fileName: string;
|
|
46
|
-
/**
|
|
47
|
-
* Размер файла в байтах или строке с единицей измерения
|
|
48
|
-
*/
|
|
49
|
-
fileSize?: number | string;
|
|
50
|
-
/**
|
|
51
|
-
* Размещение контента (превью файла) относительно текста
|
|
52
|
-
* @default 'left'
|
|
53
|
-
*/
|
|
54
|
-
actionPlacement?: ActionPlacement;
|
|
55
|
-
/**
|
|
56
|
-
* Показывать контент слева (превью файла)
|
|
57
|
-
* @default true
|
|
58
|
-
*/
|
|
59
|
-
hasContentLeft?: boolean;
|
|
60
|
-
/**
|
|
61
|
-
* Состояние загрузки
|
|
62
|
-
* @default false
|
|
63
|
-
*/
|
|
64
|
-
isLoading?: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Тип загрузчика
|
|
67
|
-
* @default 'circular'
|
|
68
|
-
*/
|
|
69
|
-
loaderType?: LoaderType;
|
|
70
|
-
/**
|
|
71
|
-
* Кастомный загрузчик
|
|
72
|
-
*/
|
|
73
|
-
loader?: ReactNode;
|
|
74
|
-
/**
|
|
75
|
-
* Значение загрузчика
|
|
76
|
-
* @default 0
|
|
77
|
-
*/
|
|
78
|
-
loaderValue?: number;
|
|
79
|
-
/**
|
|
80
|
-
* Максимальное значение загрузчика
|
|
81
|
-
* @default 100
|
|
82
|
-
*/
|
|
83
|
-
loaderMaxValue?: number;
|
|
84
|
-
/**
|
|
85
|
-
* Вид файла
|
|
86
|
-
*/
|
|
87
|
-
view?: string;
|
|
88
|
-
/**
|
|
89
|
-
* Размер файла
|
|
90
|
-
*/
|
|
91
|
-
size?: string;
|
|
92
|
-
/**
|
|
93
|
-
* Обработчик удаления файла
|
|
94
|
-
*/
|
|
95
|
-
onRemove?: () => void;
|
|
96
|
-
} & ContentProps;
|
|
97
|
-
export type FileProps = HTMLAttributes<HTMLDivElement> & BaseFileProps;
|
|
98
|
-
export {};
|
|
99
|
-
//# sourceMappingURL=File.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"File.types.d.ts","sourceRoot":"","sources":["../../../src/components/File/File.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvD,MAAM,MAAM,UAAU,GAAG,UAAU,GAAG,OAAO,CAAC;AAC9C,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,MAAM,CAAC;AAC3C,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,OAAO,CAAC;AAE/C,KAAK,YAAY,GACX;IACI;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC;CACpB,GACD;IACI;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAER,MAAM,MAAM,aAAa,GAAG;IACxB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B;;;OAGG;IACH,eAAe,CAAC,EAAE,eAAe,CAAC;IAClC;;;OAGG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;OAGG;IACH,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACzB,GAAG,YAAY,CAAC;AAEjB,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../../src/components/TextField/variations/_clear/base.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,IAAI,0CA+FhB,CAAC"}
|