@salutejs/sdds-serv 0.330.0-canary.2362.19765218937.0 → 0.330.0-canary.2362.19924292775.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/README.mdx +1 -1
- package/components/Accordion/Accordion.config.js.map +1 -1
- package/components/Accordion/Accordion.js +1 -1
- package/components/Accordion/Accordion.js.map +1 -1
- package/components/Attach/Attach.config.js.map +1 -1
- package/components/Attach/Attach.js.map +1 -1
- package/components/Autocomplete/Autocomplete.config.js.map +1 -1
- package/components/Autocomplete/Autocomplete.js.map +1 -1
- package/components/Avatar/Avatar.config.js.map +1 -1
- package/components/Avatar/Avatar.js.map +1 -1
- package/components/AvatarGroup/AvatarGroup.js.map +1 -1
- package/components/Badge/Badge.config.js.map +1 -1
- package/components/Badge/Badge.js.map +1 -1
- package/components/Breadcrumbs/Breadcrumbs.config.js.map +1 -1
- package/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/components/Button/Button.config.js.map +1 -1
- package/components/Button/Button.js.map +1 -1
- package/components/ButtonGroup/ButtonGroup.config.js.map +1 -1
- package/components/ButtonGroup/ButtonGroup.js.map +1 -1
- package/components/Calendar/Calendar.js.map +1 -1
- package/components/Calendar/CalendarBase.config.js.map +1 -1
- package/components/Calendar/CalendarDouble.config.js.map +1 -1
- package/components/Card/Card.config.js.map +1 -1
- package/components/Card/Card.js +2 -2
- package/components/Card/Card.js.map +1 -1
- package/components/Carousel/Carousel.config.js.map +1 -1
- package/components/Carousel/Carousel.js.map +1 -1
- package/components/Cell/Cell.config.js.map +1 -1
- package/components/Cell/Cell.js.map +1 -1
- package/components/Checkbox/Checkbox.config.js.map +1 -1
- package/components/Checkbox/Checkbox.js.map +1 -1
- package/components/Chip/Chip.config.js.map +1 -1
- package/components/Chip/Chip.js.map +1 -1
- package/components/ChipGroup/ChipGroup.config.js.map +1 -1
- package/components/ChipGroup/ChipGroup.js.map +1 -1
- package/components/CodeField/CodeField.config.js.map +1 -1
- package/components/CodeField/CodeField.js.map +1 -1
- package/components/CodeInput/CodeInput.config.js.map +1 -1
- package/components/CodeInput/CodeInput.js.map +1 -1
- package/components/Combobox/Combobox.config.js.map +1 -1
- package/components/Combobox/Combobox.d.ts +24 -0
- package/components/Combobox/Combobox.js.map +1 -1
- package/components/Counter/Counter.config.js.map +1 -1
- package/components/Counter/Counter.js.map +1 -1
- package/components/DatePicker/DatePicker.config.js.map +1 -1
- package/components/DatePicker/DatePicker.js.map +1 -1
- package/components/DateTimePicker/DateTimePicker.config.js.map +1 -1
- package/components/DateTimePicker/DateTimePicker.js.map +1 -1
- package/components/Divider/Divider.config.js.map +1 -1
- package/components/Divider/Divider.js.map +1 -1
- package/components/Drawer/Drawer.config.js.map +1 -1
- package/components/Drawer/Drawer.js.map +1 -1
- package/components/Dropdown/Dropdown.config.js.map +1 -1
- package/components/Dropdown/Dropdown.js.map +1 -1
- package/components/Dropzone/Dropzone.config.js.map +1 -1
- package/components/Dropzone/Dropzone.js.map +1 -1
- package/components/EmbedIconButton/EmbedIconButton.config.js.map +1 -1
- package/components/EmbedIconButton/EmbedIconButton.js.map +1 -1
- package/components/EmptyState/EmptyState.config.js.map +1 -1
- package/components/EmptyState/EmptyState.js.map +1 -1
- package/components/Flow/Flow.config.js.map +1 -1
- package/components/Flow/Flow.js.map +1 -1
- package/components/Grid/Grid.config.js.map +1 -1
- package/components/Grid/Grid.js +2 -2
- package/components/Grid/Grid.js.map +1 -1
- package/components/IconButton/IconButton.config.js.map +1 -1
- package/components/IconButton/IconButton.js.map +1 -1
- package/components/Image/Image.js.map +1 -1
- package/components/Indicator/Indicator.config.js.map +1 -1
- package/components/Indicator/Indicator.js.map +1 -1
- package/components/InformationWrapper/InformationWrapper.config.js.map +1 -1
- package/components/InformationWrapper/InformationWrapper.js.map +1 -1
- package/components/Link/Link.config.js.map +1 -1
- package/components/Link/Link.js.map +1 -1
- package/components/LinkButton/LinkButton.config.js.map +1 -1
- package/components/LinkButton/LinkButton.js.map +1 -1
- package/components/List/List.config.js.map +1 -1
- package/components/List/List.js.map +1 -1
- package/components/Loader/Loader.config.js.map +1 -1
- package/components/Loader/Loader.js.map +1 -1
- package/components/Mask/Mask.css +43 -21
- package/components/Mask/Mask.d.ts +17 -33
- package/components/Modal/Modal.config.js.map +1 -1
- package/components/Modal/Modal.js.map +1 -1
- package/components/Note/Note.config.js.map +1 -1
- package/components/Note/Note.js.map +1 -1
- package/components/Notification/Notification.config.js.map +1 -1
- package/components/Notification/Notification.js.map +1 -1
- package/components/NumberInput/NumberInput.config.js.map +1 -1
- package/components/NumberInput/NumberInput.js.map +1 -1
- package/components/Pagination/Pagination.config.js.map +1 -1
- package/components/Pagination/Pagination.js.map +1 -1
- package/components/Popover/Popover.config.js.map +1 -1
- package/components/Popover/Popover.js.map +1 -1
- package/components/Popup/Popup.js.map +1 -1
- package/components/Price/Price.config.js.map +1 -1
- package/components/Price/Price.js.map +1 -1
- package/components/Progress/Progress.config.js.map +1 -1
- package/components/Progress/Progress.js.map +1 -1
- package/components/ProgressBarCircular/ProgressBarCircular.config.js.map +1 -1
- package/components/ProgressBarCircular/ProgressBarCircular.js.map +1 -1
- package/components/Radiobox/Radiobox.config.js.map +1 -1
- package/components/Radiobox/Radiobox.d.ts +2 -2
- package/components/Radiobox/Radiobox.js +1 -1
- package/components/Radiobox/Radiobox.js.map +1 -1
- package/components/Range/Range.config.js.map +1 -1
- package/components/Range/Range.js.map +1 -1
- package/components/Rating/Rating.config.js.map +1 -1
- package/components/Rating/Rating.js.map +1 -1
- package/components/Segment/Segment.js +2 -2
- package/components/Segment/Segment.js.map +1 -1
- package/components/Segment/SegmentGroup.config.js.map +1 -1
- package/components/Segment/SegmentItem.config.js.map +1 -1
- package/components/Select/Select.config.js.map +1 -1
- package/components/Select/Select.js.map +1 -1
- package/components/Sheet/Sheet.config.js.map +1 -1
- package/components/Sheet/Sheet.js.map +1 -1
- package/components/Skeleton/LineSkeleton.config.js.map +1 -1
- package/components/Skeleton/Skeleton.js +2 -2
- package/components/Skeleton/Skeleton.js.map +1 -1
- package/components/Slider/Slider.config.js.map +1 -1
- package/components/Slider/Slider.js.map +1 -1
- package/components/Spinner/Spinner.config.js.map +1 -1
- package/components/Spinner/Spinner.js.map +1 -1
- package/components/Steps/Steps.config.js.map +1 -1
- package/components/Steps/Steps.js.map +1 -1
- package/components/Switch/Switch.config.js.map +1 -1
- package/components/Switch/Switch.js.map +1 -1
- package/components/Table/Table.config.js.map +1 -1
- package/components/Table/Table.js.map +1 -1
- package/components/Tabs/TabItem.js.map +1 -1
- package/components/Tabs/Tabs.js.map +1 -1
- package/components/Tabs/TabsController.js.map +1 -1
- package/components/Tabs/horizontal/HorizontalIconTabItem.config.js.map +1 -1
- package/components/Tabs/horizontal/HorizontalTabItem.config.js.map +1 -1
- package/components/Tabs/horizontal/HorizontalTabs.config.js.map +1 -1
- package/components/Tabs/vertical/VerticalIconTabItem.config.js.map +1 -1
- package/components/Tabs/vertical/VerticalTabItem.config.js.map +1 -1
- package/components/Tabs/vertical/VerticalTabs.config.js.map +1 -1
- package/components/TextArea/TextArea.config.js.map +1 -1
- package/components/TextArea/TextArea.js.map +1 -1
- package/components/TextField/TextField.clear.config.d.ts +47 -0
- package/components/TextField/TextField.clear.config.js +55 -0
- package/components/TextField/TextField.clear.config.js.map +1 -0
- package/components/TextField/TextField.clear.config_hts9jh.css +22 -0
- package/components/TextField/TextField.config.d.ts +0 -4
- package/components/TextField/TextField.config.js +13 -17
- package/components/TextField/TextField.config.js.map +1 -1
- package/components/TextField/TextField.config_c4zz6m.css +22 -0
- package/components/TextField/TextField.d.ts +970 -7
- package/components/TextField/TextField.js +14 -6
- package/components/TextField/TextField.js.map +1 -1
- package/components/TextFieldGroup/TextFieldGroup.config.js.map +1 -1
- package/components/TextFieldGroup/TextFieldGroup.js.map +1 -1
- package/components/TimePicker/TimePicker.config.js.map +1 -1
- package/components/TimePicker/TimePicker.js.map +1 -1
- package/components/Toast/Toast.config.js.map +1 -1
- package/components/Toast/Toast.js +1 -1
- package/components/Toast/Toast.js.map +1 -1
- package/components/Toolbar/Toolbar.config.js.map +1 -1
- package/components/Toolbar/Toolbar.js.map +1 -1
- package/components/Tooltip/Tooltip.config.js.map +1 -1
- package/components/Tooltip/Tooltip.js.map +1 -1
- package/components/Tour/Tour.config.js.map +1 -1
- package/components/Tour/Tour.js.map +1 -1
- package/components/Tree/Tree.config.js +1 -1
- package/components/Tree/Tree.config.js.map +1 -1
- package/components/Tree/Tree.config_ifudaq.css +5 -0
- package/components/Tree/Tree.css +5 -5
- package/components/Tree/Tree.js.map +1 -1
- package/components/Typography/Body.config.js.map +1 -1
- package/components/Typography/Dspl.config.js.map +1 -1
- package/components/Typography/Heading.config.js.map +1 -1
- package/components/Typography/Text.config.js.map +1 -1
- package/components/Typography/Typography.js.map +1 -1
- package/components/ViewContainer/ViewContainer.config.js.map +1 -1
- package/components/ViewContainer/ViewContainer.js.map +1 -1
- package/emotion/cjs/components/TextField/TextField.clear.config.js +831 -0
- package/emotion/cjs/components/TextField/TextField.config.js +56 -102
- package/emotion/cjs/components/TextField/TextField.js +28 -5
- package/emotion/cjs/components/Tree/Tree.config.js +34 -10
- package/emotion/es/components/TextField/TextField.clear.config.js +821 -0
- package/emotion/es/components/TextField/TextField.config.js +56 -102
- package/emotion/es/components/TextField/TextField.js +15 -5
- package/emotion/es/components/Tree/Tree.config.js +34 -10
- package/es/components/Accordion/Accordion.config.js.map +1 -1
- package/es/components/Accordion/Accordion.js.map +1 -1
- package/es/components/Attach/Attach.config.js.map +1 -1
- package/es/components/Attach/Attach.js.map +1 -1
- package/es/components/Autocomplete/Autocomplete.config.js.map +1 -1
- package/es/components/Autocomplete/Autocomplete.js.map +1 -1
- package/es/components/Avatar/Avatar.config.js.map +1 -1
- package/es/components/Avatar/Avatar.js.map +1 -1
- package/es/components/AvatarGroup/AvatarGroup.js.map +1 -1
- package/es/components/Badge/Badge.config.js.map +1 -1
- package/es/components/Badge/Badge.js.map +1 -1
- package/es/components/Breadcrumbs/Breadcrumbs.config.js.map +1 -1
- package/es/components/Breadcrumbs/Breadcrumbs.js.map +1 -1
- package/es/components/Button/Button.config.js.map +1 -1
- package/es/components/Button/Button.js.map +1 -1
- package/es/components/ButtonGroup/ButtonGroup.config.js.map +1 -1
- package/es/components/ButtonGroup/ButtonGroup.js.map +1 -1
- package/es/components/Calendar/Calendar.js +1 -1
- package/es/components/Calendar/Calendar.js.map +1 -1
- package/es/components/Calendar/CalendarBase.config.js.map +1 -1
- package/es/components/Calendar/CalendarDouble.config.js.map +1 -1
- package/es/components/Card/Card.config.js.map +1 -1
- package/es/components/Card/Card.js.map +1 -1
- package/es/components/Carousel/Carousel.config.js.map +1 -1
- package/es/components/Carousel/Carousel.js.map +1 -1
- package/es/components/Cell/Cell.config.js.map +1 -1
- package/es/components/Cell/Cell.js.map +1 -1
- package/es/components/Checkbox/Checkbox.config.js.map +1 -1
- package/es/components/Checkbox/Checkbox.js.map +1 -1
- package/es/components/Chip/Chip.config.js.map +1 -1
- package/es/components/Chip/Chip.js.map +1 -1
- package/es/components/ChipGroup/ChipGroup.config.js.map +1 -1
- package/es/components/ChipGroup/ChipGroup.js.map +1 -1
- package/es/components/CodeField/CodeField.config.js.map +1 -1
- package/es/components/CodeField/CodeField.js.map +1 -1
- package/es/components/CodeInput/CodeInput.config.js.map +1 -1
- package/es/components/CodeInput/CodeInput.js.map +1 -1
- package/es/components/Combobox/Combobox.config.js.map +1 -1
- package/es/components/Combobox/Combobox.js.map +1 -1
- package/es/components/Counter/Counter.config.js.map +1 -1
- package/es/components/Counter/Counter.js.map +1 -1
- package/es/components/DatePicker/DatePicker.config.js.map +1 -1
- package/es/components/DatePicker/DatePicker.js.map +1 -1
- package/es/components/DateTimePicker/DateTimePicker.config.js.map +1 -1
- package/es/components/DateTimePicker/DateTimePicker.js.map +1 -1
- package/es/components/Divider/Divider.config.js.map +1 -1
- package/es/components/Divider/Divider.js.map +1 -1
- package/es/components/Drawer/Drawer.config.js.map +1 -1
- package/es/components/Drawer/Drawer.js +1 -1
- package/es/components/Drawer/Drawer.js.map +1 -1
- package/es/components/Dropdown/Dropdown.config.js.map +1 -1
- package/es/components/Dropdown/Dropdown.js.map +1 -1
- package/es/components/Dropzone/Dropzone.config.js.map +1 -1
- package/es/components/Dropzone/Dropzone.js.map +1 -1
- package/es/components/EmbedIconButton/EmbedIconButton.config.js.map +1 -1
- package/es/components/EmbedIconButton/EmbedIconButton.js.map +1 -1
- package/es/components/EmptyState/EmptyState.config.js.map +1 -1
- package/es/components/EmptyState/EmptyState.js.map +1 -1
- package/es/components/Flow/Flow.config.js.map +1 -1
- package/es/components/Flow/Flow.js.map +1 -1
- package/es/components/Grid/Grid.config.js.map +1 -1
- package/es/components/Grid/Grid.js.map +1 -1
- package/es/components/IconButton/IconButton.config.js.map +1 -1
- package/es/components/IconButton/IconButton.js.map +1 -1
- package/es/components/Image/Image.js.map +1 -1
- package/es/components/Indicator/Indicator.config.js.map +1 -1
- package/es/components/Indicator/Indicator.js.map +1 -1
- package/es/components/InformationWrapper/InformationWrapper.config.js.map +1 -1
- package/es/components/InformationWrapper/InformationWrapper.js.map +1 -1
- package/es/components/Link/Link.config.js.map +1 -1
- package/es/components/Link/Link.js.map +1 -1
- package/es/components/LinkButton/LinkButton.config.js.map +1 -1
- package/es/components/LinkButton/LinkButton.js.map +1 -1
- package/es/components/List/List.config.js.map +1 -1
- package/es/components/List/List.js.map +1 -1
- package/es/components/Loader/Loader.config.js.map +1 -1
- package/es/components/Loader/Loader.js.map +1 -1
- package/es/components/Mask/Mask.css +43 -21
- package/es/components/Modal/Modal.config.js.map +1 -1
- package/es/components/Modal/Modal.js.map +1 -1
- package/es/components/Note/Note.config.js.map +1 -1
- package/es/components/Note/Note.js.map +1 -1
- package/es/components/Notification/Notification.config.js.map +1 -1
- package/es/components/Notification/Notification.js +1 -1
- package/es/components/Notification/Notification.js.map +1 -1
- package/es/components/NumberInput/NumberInput.config.js.map +1 -1
- package/es/components/NumberInput/NumberInput.js.map +1 -1
- package/es/components/Pagination/Pagination.config.js.map +1 -1
- package/es/components/Pagination/Pagination.js.map +1 -1
- package/es/components/Popover/Popover.config.js.map +1 -1
- package/es/components/Popover/Popover.js.map +1 -1
- package/es/components/Popup/Popup.js.map +1 -1
- package/es/components/Price/Price.config.js.map +1 -1
- package/es/components/Price/Price.js.map +1 -1
- package/es/components/Progress/Progress.config.js.map +1 -1
- package/es/components/Progress/Progress.js.map +1 -1
- package/es/components/ProgressBarCircular/ProgressBarCircular.config.js.map +1 -1
- package/es/components/ProgressBarCircular/ProgressBarCircular.js.map +1 -1
- package/es/components/Radiobox/Radiobox.config.js.map +1 -1
- package/es/components/Radiobox/Radiobox.js.map +1 -1
- package/es/components/Range/Range.config.js.map +1 -1
- package/es/components/Range/Range.js.map +1 -1
- package/es/components/Rating/Rating.config.js.map +1 -1
- package/es/components/Rating/Rating.js.map +1 -1
- package/es/components/Segment/Segment.js.map +1 -1
- package/es/components/Segment/SegmentGroup.config.js.map +1 -1
- package/es/components/Segment/SegmentItem.config.js.map +1 -1
- package/es/components/Select/Select.config.js.map +1 -1
- package/es/components/Select/Select.js.map +1 -1
- package/es/components/Sheet/Sheet.config.js.map +1 -1
- package/es/components/Sheet/Sheet.js.map +1 -1
- package/es/components/Skeleton/LineSkeleton.config.js.map +1 -1
- package/es/components/Skeleton/Skeleton.js.map +1 -1
- package/es/components/Slider/Slider.config.js.map +1 -1
- package/es/components/Slider/Slider.js.map +1 -1
- package/es/components/Spinner/Spinner.config.js.map +1 -1
- package/es/components/Spinner/Spinner.js.map +1 -1
- package/es/components/Steps/Steps.config.js.map +1 -1
- package/es/components/Steps/Steps.js.map +1 -1
- package/es/components/Switch/Switch.config.js.map +1 -1
- package/es/components/Switch/Switch.js.map +1 -1
- package/es/components/Table/Table.config.js.map +1 -1
- package/es/components/Table/Table.js.map +1 -1
- package/es/components/Tabs/TabItem.js +9 -9
- package/es/components/Tabs/TabItem.js.map +1 -1
- package/es/components/Tabs/Tabs.js +5 -5
- package/es/components/Tabs/Tabs.js.map +1 -1
- package/es/components/Tabs/TabsController.js.map +1 -1
- package/es/components/Tabs/horizontal/HorizontalIconTabItem.config.js.map +1 -1
- package/es/components/Tabs/horizontal/HorizontalTabItem.config.js.map +1 -1
- package/es/components/Tabs/horizontal/HorizontalTabs.config.js.map +1 -1
- package/es/components/Tabs/vertical/VerticalIconTabItem.config.js.map +1 -1
- package/es/components/Tabs/vertical/VerticalTabItem.config.js.map +1 -1
- package/es/components/Tabs/vertical/VerticalTabs.config.js.map +1 -1
- package/es/components/TextArea/TextArea.config.js.map +1 -1
- package/es/components/TextArea/TextArea.js.map +1 -1
- package/es/components/TextField/TextField.clear.config.js +51 -0
- package/es/components/TextField/TextField.clear.config.js.map +1 -0
- package/es/components/TextField/TextField.clear.config_hts9jh.css +22 -0
- package/es/components/TextField/TextField.config.js +13 -17
- package/es/components/TextField/TextField.config.js.map +1 -1
- package/es/components/TextField/TextField.config_c4zz6m.css +22 -0
- package/es/components/TextField/TextField.js +14 -8
- package/es/components/TextField/TextField.js.map +1 -1
- package/es/components/TextFieldGroup/TextFieldGroup.config.js.map +1 -1
- package/es/components/TextFieldGroup/TextFieldGroup.js.map +1 -1
- package/es/components/TimePicker/TimePicker.config.js.map +1 -1
- package/es/components/TimePicker/TimePicker.js.map +1 -1
- package/es/components/Toast/Toast.config.js.map +1 -1
- package/es/components/Toast/Toast.js +1 -1
- package/es/components/Toast/Toast.js.map +1 -1
- package/es/components/Toolbar/Toolbar.config.js.map +1 -1
- package/es/components/Toolbar/Toolbar.js.map +1 -1
- package/es/components/Tooltip/Tooltip.config.js.map +1 -1
- package/es/components/Tooltip/Tooltip.js.map +1 -1
- package/es/components/Tour/Tour.config.js.map +1 -1
- package/es/components/Tour/Tour.js.map +1 -1
- package/es/components/Tree/Tree.config.js +1 -1
- package/es/components/Tree/Tree.config.js.map +1 -1
- package/es/components/Tree/Tree.config_ifudaq.css +5 -0
- package/es/components/Tree/Tree.css +5 -5
- package/es/components/Tree/Tree.js.map +1 -1
- package/es/components/Typography/Body.config.js.map +1 -1
- package/es/components/Typography/Dspl.config.js.map +1 -1
- package/es/components/Typography/Heading.config.js.map +1 -1
- package/es/components/Typography/Text.config.js.map +1 -1
- package/es/components/Typography/Typography.js +3 -3
- package/es/components/Typography/Typography.js.map +1 -1
- package/es/components/ViewContainer/ViewContainer.config.js.map +1 -1
- package/es/components/ViewContainer/ViewContainer.js.map +1 -1
- package/es/index.css +50 -28
- package/index.js +58 -58
- package/package.json +8 -17
- package/styled-components/cjs/components/TextField/TextField.clear.config.js +831 -0
- package/styled-components/cjs/components/TextField/TextField.config.js +56 -102
- package/styled-components/cjs/components/TextField/TextField.js +28 -5
- package/styled-components/cjs/components/Tree/Tree.config.js +34 -10
- package/styled-components/es/components/TextField/TextField.clear.config.js +821 -0
- package/styled-components/es/components/TextField/TextField.config.js +56 -102
- package/styled-components/es/components/TextField/TextField.js +15 -5
- package/styled-components/es/components/Tree/Tree.config.js +34 -10
- package/components/TextField/TextField.config_15il1op.css +0 -23
- package/components/Tree/Tree.config_19lfyoo.css +0 -5
- package/es/components/TextField/TextField.config_15il1op.css +0 -23
- package/es/components/Tree/Tree.config_19lfyoo.css +0 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
1
|
+
export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
2
2
|
view: {
|
|
3
3
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
4
4
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -16,9 +16,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
16
16
|
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
17
17
|
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
18
18
|
};
|
|
19
|
-
clear: {
|
|
20
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
21
|
-
};
|
|
22
19
|
chipView: {
|
|
23
20
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
24
21
|
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -41,6 +38,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
41
38
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
42
39
|
};
|
|
43
40
|
}> & {
|
|
41
|
+
appearance?: "default" | "clear";
|
|
44
42
|
size?: string;
|
|
45
43
|
view?: string;
|
|
46
44
|
readOnly?: boolean;
|
|
@@ -76,7 +74,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
76
74
|
chipType?: never;
|
|
77
75
|
chipView?: never;
|
|
78
76
|
chipValidator?: never;
|
|
79
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
77
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
80
78
|
view: {
|
|
81
79
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
82
80
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -94,9 +92,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
94
92
|
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
95
93
|
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
96
94
|
};
|
|
97
|
-
clear: {
|
|
98
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
99
|
-
};
|
|
100
95
|
chipView: {
|
|
101
96
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
102
97
|
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -119,6 +114,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
119
114
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
120
115
|
};
|
|
121
116
|
}> & {
|
|
117
|
+
appearance?: "default" | "clear";
|
|
122
118
|
size?: string;
|
|
123
119
|
view?: string;
|
|
124
120
|
readOnly?: boolean;
|
|
@@ -156,7 +152,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
156
152
|
chipValidator?: (value: string) => {
|
|
157
153
|
view?: string;
|
|
158
154
|
};
|
|
159
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
155
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
160
156
|
view: {
|
|
161
157
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
162
158
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -174,9 +170,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
174
170
|
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
175
171
|
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
176
172
|
};
|
|
177
|
-
clear: {
|
|
178
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
179
|
-
};
|
|
180
173
|
chipView: {
|
|
181
174
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
182
175
|
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -199,6 +192,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
199
192
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
200
193
|
};
|
|
201
194
|
}> & {
|
|
195
|
+
appearance?: "default" | "clear";
|
|
202
196
|
size?: string;
|
|
203
197
|
view?: string;
|
|
204
198
|
readOnly?: boolean;
|
|
@@ -234,7 +228,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
234
228
|
chipType?: never;
|
|
235
229
|
chipView?: never;
|
|
236
230
|
chipValidator?: never;
|
|
237
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
231
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
238
232
|
view: {
|
|
239
233
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
240
234
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -252,9 +246,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
252
246
|
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
253
247
|
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
254
248
|
};
|
|
255
|
-
clear: {
|
|
256
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
257
|
-
};
|
|
258
249
|
chipView: {
|
|
259
250
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
260
251
|
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -277,6 +268,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
277
268
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
278
269
|
};
|
|
279
270
|
}> & {
|
|
271
|
+
appearance?: "default" | "clear";
|
|
280
272
|
size?: string;
|
|
281
273
|
view?: string;
|
|
282
274
|
readOnly?: boolean;
|
|
@@ -314,7 +306,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
314
306
|
chipValidator?: (value: string) => {
|
|
315
307
|
view?: string;
|
|
316
308
|
};
|
|
317
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
309
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
318
310
|
view: {
|
|
319
311
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
320
312
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -332,9 +324,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
332
324
|
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
333
325
|
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
334
326
|
};
|
|
335
|
-
clear: {
|
|
336
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
337
|
-
};
|
|
338
327
|
chipView: {
|
|
339
328
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
340
329
|
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -357,6 +346,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
357
346
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
358
347
|
};
|
|
359
348
|
}> & {
|
|
349
|
+
appearance?: "default" | "clear";
|
|
360
350
|
size?: string;
|
|
361
351
|
view?: string;
|
|
362
352
|
readOnly?: boolean;
|
|
@@ -392,7 +382,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
392
382
|
chipType?: never;
|
|
393
383
|
chipView?: never;
|
|
394
384
|
chipValidator?: never;
|
|
395
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
385
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
396
386
|
view: {
|
|
397
387
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
398
388
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -410,9 +400,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
410
400
|
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
411
401
|
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
412
402
|
};
|
|
413
|
-
clear: {
|
|
414
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
415
|
-
};
|
|
416
403
|
chipView: {
|
|
417
404
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
418
405
|
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -435,6 +422,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
435
422
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
436
423
|
};
|
|
437
424
|
}> & {
|
|
425
|
+
appearance?: "default" | "clear";
|
|
438
426
|
size?: string;
|
|
439
427
|
view?: string;
|
|
440
428
|
readOnly?: boolean;
|
|
@@ -472,7 +460,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
472
460
|
chipValidator?: (value: string) => {
|
|
473
461
|
view?: string;
|
|
474
462
|
};
|
|
475
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
463
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
476
464
|
view: {
|
|
477
465
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
478
466
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -490,9 +478,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
490
478
|
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
491
479
|
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
492
480
|
};
|
|
493
|
-
clear: {
|
|
494
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
495
|
-
};
|
|
496
481
|
chipView: {
|
|
497
482
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
498
483
|
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -515,6 +500,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
515
500
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
516
501
|
};
|
|
517
502
|
}> & {
|
|
503
|
+
appearance?: "default" | "clear";
|
|
518
504
|
size?: string;
|
|
519
505
|
view?: string;
|
|
520
506
|
readOnly?: boolean;
|
|
@@ -550,7 +536,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
550
536
|
chipType?: never;
|
|
551
537
|
chipView?: never;
|
|
552
538
|
chipValidator?: never;
|
|
553
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
539
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref"> | Omit<Omit<import("@salutejs/plasma-new-hope/types/engines/types").PropsType<{
|
|
554
540
|
view: {
|
|
555
541
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
556
542
|
positive: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -568,9 +554,6 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
568
554
|
inner: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
569
555
|
outer: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
570
556
|
};
|
|
571
|
-
clear: {
|
|
572
|
-
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
573
|
-
};
|
|
574
557
|
chipView: {
|
|
575
558
|
default: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
576
559
|
secondary: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
@@ -593,6 +576,7 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
593
576
|
true: import("@salutejs/plasma-new-hope/types/engines/types").PolymorphicClassName;
|
|
594
577
|
};
|
|
595
578
|
}> & {
|
|
579
|
+
appearance?: "default" | "clear";
|
|
596
580
|
size?: string;
|
|
597
581
|
view?: string;
|
|
598
582
|
readOnly?: boolean;
|
|
@@ -630,4 +614,4 @@ export declare const Mask: import("react").ForwardRefExoticComponent<(Omit<impor
|
|
|
630
614
|
chipValidator?: (value: string) => {
|
|
631
615
|
view?: string;
|
|
632
616
|
};
|
|
633
|
-
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref">) & import("react").RefAttributes<HTMLInputElement>>;
|
|
617
|
+
} & Omit<import("@salutejs/plasma-new-hope/styled-components").InputHTMLAttributes<HTMLInputElement>, "size" | "required"> & import("react").RefAttributes<HTMLInputElement>, "ref"> & import("react").RefAttributes<HTMLElement> & import("@salutejs/plasma-new-hope/types/components/Mask/Mask.types").MaskProps, "ref">) & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.config.js","sources":["../../src-css/components/Modal/Modal.config.ts"],"sourcesContent":["import { css, modalTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n },\n variations: {\n view: {\n default: css`\n ${modalTokens.modalOverlayWithBlurColor}: rgba(35, 35, 35, 0.2);\n ${modalTokens.modalOverlayColor}: var(--overlay-soft);\n ${modalTokens.modalBodyBackground}: var(--surface-solid-card);\n ${modalTokens.modalBodyBorderRadius}: 1.25rem;\n ${modalTokens.modalBodyPadding}: 2rem;\n ${modalTokens.modalContentPadding}: 0.625rem;\n ${modalTokens.modalCloseButtonRadius}: 0.375rem;\n ${modalTokens.modalCloseButtonColor}: var(--text-secondary);\n ${modalTokens.modalCloseButtonHoverColor}: var(--text-secondary-hover);\n ${modalTokens.modalCloseButtonActiveColor}: var(--text-secondary-active);\n ${modalTokens.modalOutlineFocusColor}: var(--surface-accent);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","variations","default"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE
|
|
1
|
+
{"version":3,"file":"Modal.config.js","sources":["../../src-css/components/Modal/Modal.config.ts"],"sourcesContent":["import { css, modalTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n },\n variations: {\n view: {\n default: css`\n ${modalTokens.modalOverlayWithBlurColor}: rgba(35, 35, 35, 0.2);\n ${modalTokens.modalOverlayColor}: var(--overlay-soft);\n ${modalTokens.modalBodyBackground}: var(--surface-solid-card);\n ${modalTokens.modalBodyBorderRadius}: 1.25rem;\n ${modalTokens.modalBodyPadding}: 2rem;\n ${modalTokens.modalContentPadding}: 0.625rem;\n ${modalTokens.modalCloseButtonRadius}: 0.375rem;\n ${modalTokens.modalCloseButtonColor}: var(--text-secondary);\n ${modalTokens.modalCloseButtonHoverColor}: var(--text-secondary-hover);\n ${modalTokens.modalCloseButtonActiveColor}: var(--text-secondary-active);\n ${modalTokens.modalOutlineFocusColor}: var(--surface-accent);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","variations","default"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE;GACT;AACDC,EAAAA,UAAU,EAAE;AACRD,IAAAA,IAAI,EAAE;MACFE,SAAAA,EAAO;AAaX;AACJ;AACJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Modal.js","sources":["../../src-css/components/Modal/Modal.tsx"],"sourcesContent":["import { modalConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\nimport type { ForwardRefExoticComponent, RefAttributes } from 'react';\n\nimport { config } from './Modal.config';\n\nimport { ModalProps } from '.';\n\nconst mergedConfig = mergeConfig(modalConfig, config);\nconst ModalComponent = component(mergedConfig) as ForwardRefExoticComponent<ModalProps & RefAttributes<HTMLDivElement>>;\n\n/**\n * Модальное окно.\n */\nexport const Modal = ModalComponent;\n"],"names":["mergedConfig","mergeConfig","modalConfig","config","ModalComponent","component","Modal"],"mappings":";;;;;;;AAOA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,yBAAW,EAAEC,mBAAM,CAAC
|
|
1
|
+
{"version":3,"file":"Modal.js","sources":["../../src-css/components/Modal/Modal.tsx"],"sourcesContent":["import { modalConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\nimport type { ForwardRefExoticComponent, RefAttributes } from 'react';\n\nimport { config } from './Modal.config';\n\nimport { ModalProps } from '.';\n\nconst mergedConfig = mergeConfig(modalConfig, config);\nconst ModalComponent = component(mergedConfig) as ForwardRefExoticComponent<ModalProps & RefAttributes<HTMLDivElement>>;\n\n/**\n * Модальное окно.\n */\nexport const Modal = ModalComponent;\n"],"names":["mergedConfig","mergeConfig","modalConfig","config","ModalComponent","component","Modal"],"mappings":";;;;;;;AAOA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,yBAAW,EAAEC,mBAAM,CAAC;AACrD,IAAMC,cAAc,gBAAGC,uBAAS,CAACL,YAAY,CAA0E;;AAEvH;AACA;AACA;AACO,IAAMM,KAAK,GAAGF;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Note.config.js","sources":["../../src-css/components/Note/Note.config.ts"],"sourcesContent":["import { css, noteTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'l',\n },\n variations: {\n view: {\n default: css`\n ${tokens.background}: var(--surface-transparent-secondary);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-primary);\n `,\n positive: css`\n ${tokens.background}: var(--surface-transparent-positive);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-positive);\n `,\n warning: css`\n ${tokens.background}: var(--surface-transparent-warning);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-warning);\n `,\n negative: css`\n ${tokens.background}: var(--surface-transparent-negative);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-negative);\n `,\n info: css`\n ${tokens.background}: var(--surface-transparent-info);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-info);\n `,\n },\n size: {\n l: css`\n ${tokens.padding}: 1.5rem 1.875rem;\n ${tokens.paddingScalable}: 1.5rem 1.75rem;\n ${tokens.borderRadius}: 0.875rem;\n ${tokens.gap}: 0.75rem;\n ${tokens.gapScalable}: 1rem;\n ${tokens.contentGap}: 0.25rem;\n\n ${tokens.closeIconTop}: 1rem;\n ${tokens.closeIconRight}: 1rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1.5rem;\n ${tokens.closeIconButtonSize}: 1.5rem;\n\n ${tokens.fixedContentBeforeWidth}: 1.5rem;\n ${tokens.fixedContentBeforeHeight}: 2rem;\n ${tokens.fixedContentBeforePadding}: 0.25rem 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-l-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-l-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-l-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-l-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-l-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-l-line-height);\n ${tokens.titlePaddingRight}: 1.875rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-l-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-l-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-l-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-l-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-l-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-l-line-height);\n `,\n m: css`\n ${tokens.padding}: 1.25rem 1.5rem;\n ${tokens.paddingScalable}: 1.25rem;\n ${tokens.borderRadius}: 0.75rem;\n ${tokens.gap}: 0.625rem;\n ${tokens.gapScalable}: 0.75rem;\n ${tokens.contentGap}: 0.125rem;\n\n ${tokens.closeIconTop}: 0.75rem;\n ${tokens.closeIconRight}: 0.75rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1.5rem;\n ${tokens.closeIconButtonSize}: 1.5rem;\n\n ${tokens.fixedContentBeforeWidth}: 1.5rem;\n ${tokens.fixedContentBeforeHeight}: 1.5rem;\n ${tokens.fixedContentBeforePadding}: 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-m-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-m-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-m-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-m-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-m-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-m-line-height);\n ${tokens.titlePaddingRight}: 1.75rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-m-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-m-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-m-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-m-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-m-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-m-line-height);\n `,\n s: css`\n ${tokens.padding}: 1rem 1.25rem;\n ${tokens.paddingScalable}: 1rem;\n ${tokens.borderRadius}: 0.625rem;\n ${tokens.gap}: 0.5rem;\n ${tokens.gapScalable}: 0.75rem;\n ${tokens.contentGap}: 0.125rem;\n\n ${tokens.closeIconTop}: 0.625rem;\n ${tokens.closeIconRight}: 0.625rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1.5rem;\n ${tokens.closeIconButtonSize}: 1.5rem;\n\n ${tokens.fixedContentBeforeWidth}: 1rem;\n ${tokens.fixedContentBeforeHeight}: 1.125rem;\n ${tokens.fixedContentBeforePadding}: 0.063rem 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-s-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-s-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-s-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-s-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-s-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-s-line-height);\n ${tokens.titlePaddingRight}: 1.625rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-s-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-s-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-s-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-s-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-s-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-s-line-height);\n `,\n xs: css`\n ${tokens.padding}: 0.75rem 1rem;\n ${tokens.paddingScalable}: 0.75rem;\n ${tokens.borderRadius}: 0.5rem;\n ${tokens.gap}: 0.375rem;\n ${tokens.gapScalable}: 0.5rem;\n ${tokens.contentGap}: 0.125rem;\n\n ${tokens.closeIconTop}: 0.625rem;\n ${tokens.closeIconRight}: 0.625rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1rem;\n ${tokens.closeIconButtonSize}: 1rem;\n\n ${tokens.fixedContentBeforeWidth}: 1rem;\n ${tokens.fixedContentBeforeHeight}: 1rem;\n ${tokens.fixedContentBeforePadding}: 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-xs-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-xs-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-xs-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-xs-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-xs-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-xs-line-height);\n ${tokens.titlePaddingRight}: 1.5rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-xs-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-xs-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-xs-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-xs-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-xs-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-xs-line-height);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","positive","warning","negative","info","l","m","s","xs"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE
|
|
1
|
+
{"version":3,"file":"Note.config.js","sources":["../../src-css/components/Note/Note.config.ts"],"sourcesContent":["import { css, noteTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'l',\n },\n variations: {\n view: {\n default: css`\n ${tokens.background}: var(--surface-transparent-secondary);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-primary);\n `,\n positive: css`\n ${tokens.background}: var(--surface-transparent-positive);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-positive);\n `,\n warning: css`\n ${tokens.background}: var(--surface-transparent-warning);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-warning);\n `,\n negative: css`\n ${tokens.background}: var(--surface-transparent-negative);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-negative);\n `,\n info: css`\n ${tokens.background}: var(--surface-transparent-info);\n ${tokens.color}: var(--text-primary);\n ${tokens.contentBeforeColor}: var(--text-info);\n `,\n },\n size: {\n l: css`\n ${tokens.padding}: 1.5rem 1.875rem;\n ${tokens.paddingScalable}: 1.5rem 1.75rem;\n ${tokens.borderRadius}: 0.875rem;\n ${tokens.gap}: 0.75rem;\n ${tokens.gapScalable}: 1rem;\n ${tokens.contentGap}: 0.25rem;\n\n ${tokens.closeIconTop}: 1rem;\n ${tokens.closeIconRight}: 1rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1.5rem;\n ${tokens.closeIconButtonSize}: 1.5rem;\n\n ${tokens.fixedContentBeforeWidth}: 1.5rem;\n ${tokens.fixedContentBeforeHeight}: 2rem;\n ${tokens.fixedContentBeforePadding}: 0.25rem 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-l-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-l-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-l-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-l-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-l-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-l-line-height);\n ${tokens.titlePaddingRight}: 1.875rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-l-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-l-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-l-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-l-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-l-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-l-line-height);\n `,\n m: css`\n ${tokens.padding}: 1.25rem 1.5rem;\n ${tokens.paddingScalable}: 1.25rem;\n ${tokens.borderRadius}: 0.75rem;\n ${tokens.gap}: 0.625rem;\n ${tokens.gapScalable}: 0.75rem;\n ${tokens.contentGap}: 0.125rem;\n\n ${tokens.closeIconTop}: 0.75rem;\n ${tokens.closeIconRight}: 0.75rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1.5rem;\n ${tokens.closeIconButtonSize}: 1.5rem;\n\n ${tokens.fixedContentBeforeWidth}: 1.5rem;\n ${tokens.fixedContentBeforeHeight}: 1.5rem;\n ${tokens.fixedContentBeforePadding}: 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-m-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-m-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-m-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-m-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-m-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-m-line-height);\n ${tokens.titlePaddingRight}: 1.75rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-m-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-m-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-m-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-m-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-m-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-m-line-height);\n `,\n s: css`\n ${tokens.padding}: 1rem 1.25rem;\n ${tokens.paddingScalable}: 1rem;\n ${tokens.borderRadius}: 0.625rem;\n ${tokens.gap}: 0.5rem;\n ${tokens.gapScalable}: 0.75rem;\n ${tokens.contentGap}: 0.125rem;\n\n ${tokens.closeIconTop}: 0.625rem;\n ${tokens.closeIconRight}: 0.625rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1.5rem;\n ${tokens.closeIconButtonSize}: 1.5rem;\n\n ${tokens.fixedContentBeforeWidth}: 1rem;\n ${tokens.fixedContentBeforeHeight}: 1.125rem;\n ${tokens.fixedContentBeforePadding}: 0.063rem 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-s-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-s-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-s-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-s-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-s-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-s-line-height);\n ${tokens.titlePaddingRight}: 1.625rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-s-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-s-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-s-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-s-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-s-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-s-line-height);\n `,\n xs: css`\n ${tokens.padding}: 0.75rem 1rem;\n ${tokens.paddingScalable}: 0.75rem;\n ${tokens.borderRadius}: 0.5rem;\n ${tokens.gap}: 0.375rem;\n ${tokens.gapScalable}: 0.5rem;\n ${tokens.contentGap}: 0.125rem;\n\n ${tokens.closeIconTop}: 0.625rem;\n ${tokens.closeIconRight}: 0.625rem;\n ${tokens.closeIconColor}: var(--text-secondary);\n ${tokens.closeIconColorOnHover}: var(--text-secondary-hover);\n ${tokens.closeIconSize}: 1rem;\n ${tokens.closeIconButtonSize}: 1rem;\n\n ${tokens.fixedContentBeforeWidth}: 1rem;\n ${tokens.fixedContentBeforeHeight}: 1rem;\n ${tokens.fixedContentBeforePadding}: 0;\n\n ${tokens.titleFontFamily}: var(--plasma-typo-text-xs-font-family);\n ${tokens.titleFontSize}: var(--plasma-typo-text-xs-font-size);\n ${tokens.titleFontStyle}: var(--plasma-typo-text-xs-font-style);\n ${tokens.titleFontWeight}: var(--plasma-typo-text-xs-bold-font-weight);\n ${tokens.titleLetterSpacing}: var(--plasma-typo-text-xs-letter-spacing);\n ${tokens.titleLineHeight}: var(--plasma-typo-text-xs-line-height);\n ${tokens.titlePaddingRight}: 1.5rem;\n\n ${tokens.textFontFamily}: var(--plasma-typo-text-xs-font-family);\n ${tokens.textFontSize}: var(--plasma-typo-text-xs-font-size);\n ${tokens.textFontStyle}: var(--plasma-typo-text-xs-font-style);\n ${tokens.textFontWeight}: var(--plasma-typo-text-xs-font-weight);\n ${tokens.textLetterSpacing}: var(--plasma-typo-text-xs-letter-spacing);\n ${tokens.textLineHeight}: var(--plasma-typo-text-xs-line-height);\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","variations","default","positive","warning","negative","info","l","m","s","xs"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE;GACT;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;AACFG,MAAAA,SAAAA,EAAO,SAIN;AACDC,MAAAA,QAAQ,EAAA,SAIP;AACDC,MAAAA,OAAO,EAAA,SAIN;AACDC,MAAAA,QAAQ,EAAA,UAIP;AACDC,MAAAA,IAAI,EAAA;KAKP;AACDN,IAAAA,IAAI,EAAE;AACFO,MAAAA,CAAC,EAAA,SAiCA;AACDC,MAAAA,CAAC,EAAA,UAiCA;AACDC,MAAAA,CAAC,EAAA,UAiCA;AACDC,MAAAA,EAAE,EAAA;AAkCN;AACJ;AACJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Note.js","sources":["../../src-css/components/Note/Note.ts"],"sourcesContent":["import { noteConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Note.config';\n\nconst mergedConfig = mergeConfig(noteConfig, config);\n\nexport const Note = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","noteConfig","config","Note","component"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,wBAAU,EAAEC,kBAAM,CAAC
|
|
1
|
+
{"version":3,"file":"Note.js","sources":["../../src-css/components/Note/Note.ts"],"sourcesContent":["import { noteConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Note.config';\n\nconst mergedConfig = mergeConfig(noteConfig, config);\n\nexport const Note = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","noteConfig","config","Note","component"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,wBAAU,EAAEC,kBAAM,CAAC;IAEvCC,IAAI,gBAAGC,uBAAS,CAACL,YAAY;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Notification.config.js","sources":["../../src-css/components/Notification/Notification.config.ts"],"sourcesContent":["import { css, notificationTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n closeIconType: 'default',\n },\n variations: {\n view: {\n default: css`\n ${notificationTokens.titleColor}: var(--text-primary);\n ${notificationTokens.contentLeftIconColor}: var(--text-primary);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n negative: css`\n ${notificationTokens.titleColor}: var(--text-negative);\n ${notificationTokens.contentLeftIconColor}: var(--text-negative);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n positive: css`\n ${notificationTokens.titleColor}: var(--text-positive);\n ${notificationTokens.contentLeftIconColor}: var(--text-positive);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n warning: css`\n ${notificationTokens.titleColor}: var(--text-warning);\n ${notificationTokens.contentLeftIconColor}: var(--text-warning);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n info: css`\n ${notificationTokens.titleColor}: var(--text-info);\n ${notificationTokens.contentLeftIconColor}: var(--text-info);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n },\n layout: {\n horizontal: css`\n ${notificationTokens.width}: 25rem;\n ${notificationTokens.horizontalLayoutPadding}: 1rem 0.5rem 1rem 0.875rem;\n `,\n vertical: css`\n ${notificationTokens.width}: 15rem;\n ${notificationTokens.padding}: 0.375rem;\n `,\n },\n closeIconType: {\n default: css`\n ${notificationTokens.closeIconButtonSize}: 1.5rem;\n ${notificationTokens.closeIconSize}: 1.5rem;\n `,\n },\n size: {\n xs: css`\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.padding}: 0.375rem;\n ${notificationTokens.textboxPaddingTopWithTopIcon}: 0rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.buttonsMarginLeft}: 0rem;\n `,\n xxs: css`\n ${notificationTokens.closeIconTop}: 0.8125rem;\n ${notificationTokens.closeIconRight}: 1rem;\n\n ${notificationTokens.padding}: 0.5625rem 1rem 1rem 1rem;\n ${notificationTokens.textboxPaddingTopWithTopIcon}: 0.1875rem;\n\n ${notificationTokens.contentPaddingTop}: 0.25rem;\n ${notificationTokens.contentPaddingRight}: 0rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0rem;\n\n ${notificationTokens.buttonsMarginLeft}: 2rem;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","closeIconType","variations","default","negative","positive","warning","info","layout","horizontal","vertical","size","xs","xxs"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,aAAa,EAAE,SAAA;GAClB;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;AACFG,MAAAA,SAAAA,EAqDC,SAAA;AACDC,MAAAA,QAAQ,EAqDP,SAAA;AACDC,MAAAA,QAAQ,EAqDP,UAAA;AACDC,MAAAA,OAAO,EAqDN,SAAA;AACDC,MAAAA,IAAI,EAAA,SAAA;KAsDP;AACDC,IAAAA,MAAM,EAAE;AACJC,MAAAA,UAAU,EAGT,SAAA;AACDC,MAAAA,QAAQ,EAAA,SAAA;KAIX;AACDT,IAAAA,aAAa,EAAE;MACXE,SAAO,EAAA,SAAA;KAIV;AACDQ,IAAAA,IAAI,EAAE;AACFC,MAAAA,EAAE,EAaD,SAAA;AACDC,MAAAA,GAAG,EAAA,UAAA;AAcP,KAAA;AACJ,GAAA;AACJ;;;;"}
|
|
1
|
+
{"version":3,"file":"Notification.config.js","sources":["../../src-css/components/Notification/Notification.config.ts"],"sourcesContent":["import { css, notificationTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n closeIconType: 'default',\n },\n variations: {\n view: {\n default: css`\n ${notificationTokens.titleColor}: var(--text-primary);\n ${notificationTokens.contentLeftIconColor}: var(--text-primary);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n negative: css`\n ${notificationTokens.titleColor}: var(--text-negative);\n ${notificationTokens.contentLeftIconColor}: var(--text-negative);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n positive: css`\n ${notificationTokens.titleColor}: var(--text-positive);\n ${notificationTokens.contentLeftIconColor}: var(--text-positive);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n warning: css`\n ${notificationTokens.titleColor}: var(--text-warning);\n ${notificationTokens.contentLeftIconColor}: var(--text-warning);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n info: css`\n ${notificationTokens.titleColor}: var(--text-info);\n ${notificationTokens.contentLeftIconColor}: var(--text-info);\n ${notificationTokens.contentColor}: var(--text-secondary);\n ${notificationTokens.background}: var(--surface-transparent-card);\n ${notificationTokens.borderRadius}: 0.75rem;\n ${notificationTokens.padding}: 0.375rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.contentPaddingTopWithoutIcon}: 0.25rem;\n ${notificationTokens.horizontalLayoutRightPaddingWithoutCloseIcon}: 1rem;\n\n ${notificationTokens.textboxPaddingTop}: 0.1875rem;\n ${notificationTokens.textboxPaddingRight}: 0.125rem;\n ${notificationTokens.textboxPaddingBottom}: 0.375rem;\n ${notificationTokens.textboxPaddingLeft}: 0.125rem;\n\n ${notificationTokens.textboxPaddingRightWithCloseIcon}: 1.625rem;\n ${notificationTokens.textboxGap}: 0.25rem;\n\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.buttonsMarginTop}: 0.375rem;\n\n ${notificationTokens.contentLeftIconSize}: 1.5rem;\n ${notificationTokens.contentLeftIconMargin}: 0.375rem;\n ${notificationTokens.contentTopIconMargin}: 0.5rem;\n\n ${notificationTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);\n ${notificationTokens.contentFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.contentFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.titleFontFamily}: var(--plasma-typo-body-s-font-family);\n ${notificationTokens.titleFontSize}: var(--plasma-typo-body-s-font-size);\n ${notificationTokens.titleFontStyle}: var(--plasma-typo-body-s-font-style);\n ${notificationTokens.titleFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${notificationTokens.titleFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${notificationTokens.titleFontLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${notificationTokens.closeIconColor}: var(--text-tertiary);\n ${notificationTokens.closeIconColorOnHover}: var(--text-primary);\n\n ${notificationTokens.horizontalLayoutGap}: 0.375rem;\n ${notificationTokens.horizontalLayoutLeftIconMargin}: 0.75rem;\n ${notificationTokens.paddingOneLineTextbox}: 0.8125rem 0.5rem 0.8125rem 0.875rem;\n `,\n },\n layout: {\n horizontal: css`\n ${notificationTokens.width}: 25rem;\n ${notificationTokens.horizontalLayoutPadding}: 1rem 0.5rem 1rem 0.875rem;\n `,\n vertical: css`\n ${notificationTokens.width}: 15rem;\n ${notificationTokens.padding}: 0.375rem;\n `,\n },\n closeIconType: {\n default: css`\n ${notificationTokens.closeIconButtonSize}: 1.5rem;\n ${notificationTokens.closeIconSize}: 1.5rem;\n `,\n },\n size: {\n xs: css`\n ${notificationTokens.closeIconTop}: 0.5rem;\n ${notificationTokens.closeIconRight}: 0.5rem;\n\n ${notificationTokens.padding}: 0.375rem;\n ${notificationTokens.textboxPaddingTopWithTopIcon}: 0rem;\n\n ${notificationTokens.contentPaddingTop}: 0.125rem;\n ${notificationTokens.contentPaddingRight}: 0.25rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0.25rem;\n\n ${notificationTokens.buttonsMarginLeft}: 0rem;\n `,\n xxs: css`\n ${notificationTokens.closeIconTop}: 0.8125rem;\n ${notificationTokens.closeIconRight}: 1rem;\n\n ${notificationTokens.padding}: 0.5625rem 1rem 1rem 1rem;\n ${notificationTokens.textboxPaddingTopWithTopIcon}: 0.1875rem;\n\n ${notificationTokens.contentPaddingTop}: 0.25rem;\n ${notificationTokens.contentPaddingRight}: 0rem;\n ${notificationTokens.contentPaddingBottom}: 0rem;\n ${notificationTokens.contentPaddingLeft}: 0rem;\n\n ${notificationTokens.buttonsMarginLeft}: 2rem;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","closeIconType","variations","default","negative","positive","warning","info","layout","horizontal","vertical","size","xs","xxs"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,aAAa,EAAE;GAClB;AACDC,EAAAA,UAAU,EAAE;AACRF,IAAAA,IAAI,EAAE;AACFG,MAAAA,SAAAA,EAAO,SAqDN;AACDC,MAAAA,QAAQ,EAAA,SAqDP;AACDC,MAAAA,QAAQ,EAAA,UAqDP;AACDC,MAAAA,OAAO,EAAA,SAqDN;AACDC,MAAAA,IAAI,EAAA;KAsDP;AACDC,IAAAA,MAAM,EAAE;AACJC,MAAAA,UAAU,EAAA,SAGT;AACDC,MAAAA,QAAQ,EAAA;KAIX;AACDT,IAAAA,aAAa,EAAE;MACXE,SAAAA,EAAO;KAIV;AACDQ,IAAAA,IAAI,EAAE;AACFC,MAAAA,EAAE,EAAA,SAaD;AACDC,MAAAA,GAAG,EAAA;AAcP;AACJ;AACJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Notification.js","sources":["../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ComponentProps, ForwardRefExoticComponent, ReactNode } from 'react';\nimport {\n NotificationProps as NotificationPropsNewHope,\n NotificationPlacement,\n notificationConfig,\n NotificationsProvider as Provider,\n component,\n mergeConfig,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport type { NotificationPlacement };\n\nconst mergedConfig = mergeConfig(notificationConfig, config);\n\nexport const NotificationNewHope = component(mergedConfig);\n\ntype ConfigProps = 'size' | 'view' | 'layout' | 'closeIconType';\ntype NotificationProps = Pick<ComponentProps<typeof NotificationNewHope>, ConfigProps> &\n Omit<NotificationPropsNewHope, ConfigProps>;\n\nexport const Notification = NotificationNewHope as ForwardRefExoticComponent<NotificationProps>;\n\nexport const NotificationsProvider: React.FC<{\n children: ReactNode;\n frame?: string;\n placement?: NotificationPlacement;\n UNSAFE_SSR_ENABLED?: boolean;\n}> = ({ children, frame = 'document', placement, UNSAFE_SSR_ENABLED }) => {\n return (\n <Provider config={mergedConfig} frame={frame} placement={placement} UNSAFE_SSR_ENABLED={UNSAFE_SSR_ENABLED}>\n {children}\n </Provider>\n );\n};\n"],"names":["mergedConfig","mergeConfig","notificationConfig","config","NotificationNewHope","component","Notification","NotificationsProvider","_ref","children","_ref$frame","frame","placement","UNSAFE_SSR_ENABLED","React","createElement","Provider"],"mappings":";;;;;;;;;;;;AAcA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,gCAAkB,EAAEC,0BAAM,CAAC
|
|
1
|
+
{"version":3,"file":"Notification.js","sources":["../../src-css/components/Notification/Notification.tsx"],"sourcesContent":["import React, { ComponentProps, ForwardRefExoticComponent, ReactNode } from 'react';\nimport {\n NotificationProps as NotificationPropsNewHope,\n NotificationPlacement,\n notificationConfig,\n NotificationsProvider as Provider,\n component,\n mergeConfig,\n} from '@salutejs/plasma-new-hope';\n\nimport { config } from './Notification.config';\n\nexport type { NotificationPlacement };\n\nconst mergedConfig = mergeConfig(notificationConfig, config);\n\nexport const NotificationNewHope = component(mergedConfig);\n\ntype ConfigProps = 'size' | 'view' | 'layout' | 'closeIconType';\ntype NotificationProps = Pick<ComponentProps<typeof NotificationNewHope>, ConfigProps> &\n Omit<NotificationPropsNewHope, ConfigProps>;\n\nexport const Notification = NotificationNewHope as ForwardRefExoticComponent<NotificationProps>;\n\nexport const NotificationsProvider: React.FC<{\n children: ReactNode;\n frame?: string;\n placement?: NotificationPlacement;\n UNSAFE_SSR_ENABLED?: boolean;\n}> = ({ children, frame = 'document', placement, UNSAFE_SSR_ENABLED }) => {\n return (\n <Provider config={mergedConfig} frame={frame} placement={placement} UNSAFE_SSR_ENABLED={UNSAFE_SSR_ENABLED}>\n {children}\n </Provider>\n );\n};\n"],"names":["mergedConfig","mergeConfig","notificationConfig","config","NotificationNewHope","component","Notification","NotificationsProvider","_ref","children","_ref$frame","frame","placement","UNSAFE_SSR_ENABLED","React","createElement","Provider"],"mappings":";;;;;;;;;;;;AAcA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,gCAAkB,EAAEC,0BAAM,CAAC;IAE/CC,mBAAmB,gBAAGC,uBAAS,CAACL,YAAY;AAMlD,IAAMM,YAAY,GAAGF;IAEfG,qBAKX,GAAG,SALQA,qBAKXA,CAAAC,IAAA,EAAwE;AAAA,EAAA,IAAlEC,QAAQ,GAAAD,IAAA,CAARC,QAAQ;IAAAC,UAAA,GAAAF,IAAA,CAAEG,KAAK;AAALA,IAAAA,KAAK,GAAAD,UAAA,KAAA,MAAA,GAAG,UAAU,GAAAA,UAAA;IAAEE,SAAS,GAAAJ,IAAA,CAATI,SAAS;IAAEC,kBAAkB,GAAAL,IAAA,CAAlBK,kBAAkB;AAC/D,EAAA,oBACIC,sBAAA,CAAAC,aAAA,CAACC,mCAAQ,EAAA;AAACb,IAAAA,MAAM,EAAEH,YAAa;AAACW,IAAAA,KAAK,EAAEA,KAAM;AAACC,IAAAA,SAAS,EAAEA,SAAU;AAACC,IAAAA,kBAAkB,EAAEA;AAAmB,GAAA,EACtGJ,QACK,CAAC;AAEnB;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberInput.config.js","sources":["../../src-css/components/NumberInput/NumberInput.config.ts"],"sourcesContent":["import { css, numberInputTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'l',\n shape: 'cornered',\n inputBackgroundType: 'fill',\n },\n variations: {\n view: {\n default: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--inverse-text-primary);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--inverse-text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--inverse-surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: var(--surface-solid-default);\n\n ${tokens.iconButtonColor}: var(--inverse-text-primary);\n ${tokens.iconButtonBackgroundColor}: var(--surface-solid-default);\n ${tokens.iconButtonColorHover}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--inverse-text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: var(--surface-solid-default-hover);\n ${tokens.iconButtonColorActive}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidActive}: var(--inverse-text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: var(--surface-solid-default-active);\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n secondary: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--text-primary);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: var(--surface-transparent-secondary);\n\n ${tokens.iconButtonColor}: var(--text-primary);\n ${tokens.iconButtonBackgroundColor}: var(--surface-transparent-secondary);\n ${tokens.iconButtonColorHover}: var(--text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: var(--surface-transparent-secondary-hover);\n ${tokens.iconButtonColorActive}: var(--text-primary);\n ${tokens.iconButtonColorSolidActive}: var(--text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: var(--surface-transparent-secondary-active);\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n accent: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.caretColorSolid}: var(--inverse-text-primary);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--on-dark-text-primary);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--on-dark-text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--on-dark-surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: var(--surface-accent);\n\n ${tokens.iconButtonColor}: var(--on-dark-text-primary);\n ${tokens.iconButtonBackgroundColor}: var(--surface-accent);\n ${tokens.iconButtonColorHover}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--on-dark-text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: var(--surface-accent-hover);\n ${tokens.iconButtonColorActive}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidActive}: var(--on-dark-text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: var(--surface-accent-active);\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n clear: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.caretColorSolid}: var(--text-accent);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--text-primary-hover);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: transparent;\n\n ${tokens.iconButtonColor}: var(--text-primary);\n ${tokens.iconButtonBackgroundColor}: transparent;\n ${tokens.iconButtonColorHover}: var(--text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: transparent;\n ${tokens.iconButtonColorActive}: var(--text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: transparent;\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n },\n size: {\n l: css`\n ${tokens.rootMinWidth}: 11.75rem;\n ${tokens.iconButtonHeight}: 3.5rem;\n ${tokens.iconButtonWidth}: 3.5rem;\n ${tokens.iconButtonPadding}: 1.5rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-l-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-l-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-l-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-l-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${tokens.iconButtonRadius}: 0.875rem;\n ${tokens.iconButtonSegmentationRadius}: 0.375rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.875rem;\n ${tokens.textWrapperHeight}: 3.5rem;\n ${tokens.textWrapperPadding}: 1.063rem 1.125rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-l-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-l-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-l-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-l-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1.375rem;\n `,\n m: css`\n ${tokens.rootMinWidth}: 10.25rem;\n ${tokens.iconButtonHeight}: 3rem;\n ${tokens.iconButtonWidth}: 3rem;\n ${tokens.iconButtonPadding}: 1.25rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-m-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-m-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-m-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-m-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${tokens.iconButtonRadius}: 0.75rem;\n ${tokens.iconButtonSegmentationRadius}: 0.25rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.75rem;\n ${tokens.textWrapperHeight}: 3rem;\n ${tokens.textWrapperPadding}: 0.875rem 1rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-m-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-m-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-m-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1.375rem;\n `,\n s: css`\n ${tokens.rootMinWidth}: 8.75rem;\n ${tokens.iconButtonHeight}: 2.5rem;\n ${tokens.iconButtonWidth}: 2.5rem;\n ${tokens.iconButtonPadding}: 1rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-s-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-s-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-s-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${tokens.iconButtonRadius}: 0.625rem;\n ${tokens.iconButtonSegmentationRadius}: 0.25rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.625rem;\n ${tokens.textWrapperHeight}: 2.5rem;\n ${tokens.textWrapperPadding}: 0.688rem 0.875rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-s-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-s-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-s-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-s-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1.375rem;\n `,\n xs: css`\n ${tokens.rootMinWidth}: 6.875rem;\n ${tokens.iconButtonHeight}: 2rem;\n ${tokens.iconButtonWidth}: 2rem;\n ${tokens.iconButtonPadding}: 0.75rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${tokens.iconButtonRadius}: 0.5rem;\n ${tokens.iconButtonSegmentationRadius}: 0.125rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.5rem;\n ${tokens.textWrapperHeight}: 2rem;\n ${tokens.textWrapperPadding}: 0.563rem 0.625rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1rem;\n `,\n },\n shape: {\n cornered: css``,\n pilled: css`\n ${tokens.iconButtonRadius}: 50%;\n `,\n },\n inputBackgroundType: {\n fill: css`\n ${tokens.backgroundColor}: var(--surface-transparent-primary);\n ${tokens.backgroundColorHover}: var(--surface-transparent-primary);\n `,\n clear: css`\n ${tokens.backgroundColor}: transparent;\n ${tokens.backgroundColorHover}: transparent;\n `,\n },\n segmentation: {\n default: css``,\n segmented: css``,\n solid: css`\n ${tokens.iconButtonSegmentationRadius}: 0;\n `,\n },\n disabled: {\n true: css`\n ${tokens.disabledOpacity}: 0.4;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","shape","inputBackgroundType","variations","default","secondary","accent","clear","l","m","s","xs","cornered","pilled","fill","segmentation","segmented","solid","disabled","true"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAG;AACTC,IAAAA,KAAK,EAAE,UAAU;AACjBC,IAAAA,mBAAmB,EAAE,MAAA;GACxB;AACDC,EAAAA,UAAU,EAAE;AACRJ,IAAAA,IAAI,EAAE;AACFK,MAAAA,SAAAA,EA0BC,SAAA;AACDC,MAAAA,SAAS,EA0BR,SAAA;AACDC,MAAAA,MAAM,EA2BL,UAAA;AACDC,MAAAA,KAAK,EAAA,SAAA;KA2BR;AACDP,IAAAA,IAAI,EAAE;AACFQ,MAAAA,CAAC,EA+BA,SAAA;AACDC,MAAAA,CAAC,EA+BA,UAAA;AACDC,MAAAA,CAAC,EA+BA,UAAA;AACDC,MAAAA,EAAE,EAAA,UAAA;KAgCL;AACDV,IAAAA,KAAK,EAAE;AACHW,MAAAA,QAAQ,EAAO,UAAA;AACfC,MAAAA,MAAM,EAAA,SAAA;KAGT;AACDX,IAAAA,mBAAmB,EAAE;AACjBY,MAAAA,IAAI,EAGH,SAAA;AACDP,MAAAA,KAAK,EAAA,SAAA;KAIR;AACDQ,IAAAA,YAAY,EAAE;AACVX,MAAAA,SAAAA,EAAc,UAAA;AACdY,MAAAA,SAAS,EAAO,SAAA;AAChBC,MAAAA,KAAK,EAAA,SAAA;KAGR;AACDC,IAAAA,QAAQ,EAAE;MACNC,MAAI,EAAA,SAAA;AAGR,KAAA;AACJ,GAAA;AACJ;;;;"}
|
|
1
|
+
{"version":3,"file":"NumberInput.config.js","sources":["../../src-css/components/NumberInput/NumberInput.config.ts"],"sourcesContent":["import { css, numberInputTokens as tokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'default',\n size: 'l',\n shape: 'cornered',\n inputBackgroundType: 'fill',\n },\n variations: {\n view: {\n default: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--inverse-text-primary);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--inverse-text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--inverse-surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: var(--surface-solid-default);\n\n ${tokens.iconButtonColor}: var(--inverse-text-primary);\n ${tokens.iconButtonBackgroundColor}: var(--surface-solid-default);\n ${tokens.iconButtonColorHover}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--inverse-text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: var(--surface-solid-default-hover);\n ${tokens.iconButtonColorActive}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidActive}: var(--inverse-text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: var(--surface-solid-default-active);\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n secondary: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--text-primary);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: var(--surface-transparent-secondary);\n\n ${tokens.iconButtonColor}: var(--text-primary);\n ${tokens.iconButtonBackgroundColor}: var(--surface-transparent-secondary);\n ${tokens.iconButtonColorHover}: var(--text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: var(--surface-transparent-secondary-hover);\n ${tokens.iconButtonColorActive}: var(--text-primary);\n ${tokens.iconButtonColorSolidActive}: var(--text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: var(--surface-transparent-secondary-active);\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n accent: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.caretColorSolid}: var(--inverse-text-primary);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--on-dark-text-primary);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--on-dark-text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--on-dark-surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: var(--surface-accent);\n\n ${tokens.iconButtonColor}: var(--on-dark-text-primary);\n ${tokens.iconButtonBackgroundColor}: var(--surface-accent);\n ${tokens.iconButtonColorHover}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--on-dark-text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: var(--surface-accent-hover);\n ${tokens.iconButtonColorActive}: var(--inverse-text-primary);\n ${tokens.iconButtonColorSolidActive}: var(--on-dark-text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: var(--surface-accent-active);\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n clear: css`\n ${tokens.caretColor}: var(--text-accent);\n ${tokens.caretColorSolid}: var(--text-accent);\n ${tokens.errorColor}: var(--text-negative);\n ${tokens.backgroundErrorColor}: var(--surface-transparent-negative);\n\n ${tokens.color}: var(--text-primary);\n ${tokens.colorSolid}: var(--text-primary);\n ${tokens.iconButtonColorSolidHover}: var(--text-primary-hover);\n ${tokens.additionalTextColor}: var(--text-tertiary);\n ${tokens.additionalTextColorSolid}: var(--text-tertiary);\n ${tokens.backgroundColorFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolidFocus}: var(--surface-transparent-secondary);\n ${tokens.backgroundColorSolid}: transparent;\n\n ${tokens.iconButtonColor}: var(--text-primary);\n ${tokens.iconButtonBackgroundColor}: transparent;\n ${tokens.iconButtonColorHover}: var(--text-primary-hover);\n ${tokens.iconButtonBackgroundColorHover}: transparent;\n ${tokens.iconButtonColorActive}: var(--text-primary-active);\n ${tokens.iconButtonBackgroundColorActive}: transparent;\n\n ${tokens.actionButtonDisabledOpacity}: 0.4;\n\n ${tokens.loaderSpinnerColor}: inherit;\n ${tokens.loaderSpinnerColorSolid}: inherit;\n `,\n },\n size: {\n l: css`\n ${tokens.rootMinWidth}: 11.75rem;\n ${tokens.iconButtonHeight}: 3.5rem;\n ${tokens.iconButtonWidth}: 3.5rem;\n ${tokens.iconButtonPadding}: 1.5rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-l-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-l-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-l-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-l-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${tokens.iconButtonRadius}: 0.875rem;\n ${tokens.iconButtonSegmentationRadius}: 0.375rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.875rem;\n ${tokens.textWrapperHeight}: 3.5rem;\n ${tokens.textWrapperPadding}: 1.063rem 1.125rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-l-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-l-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-l-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-l-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1.375rem;\n `,\n m: css`\n ${tokens.rootMinWidth}: 10.25rem;\n ${tokens.iconButtonHeight}: 3rem;\n ${tokens.iconButtonWidth}: 3rem;\n ${tokens.iconButtonPadding}: 1.25rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-m-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-m-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-m-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-m-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${tokens.iconButtonRadius}: 0.75rem;\n ${tokens.iconButtonSegmentationRadius}: 0.25rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.75rem;\n ${tokens.textWrapperHeight}: 3rem;\n ${tokens.textWrapperPadding}: 0.875rem 1rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-m-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-m-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-m-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1.375rem;\n `,\n s: css`\n ${tokens.rootMinWidth}: 8.75rem;\n ${tokens.iconButtonHeight}: 2.5rem;\n ${tokens.iconButtonWidth}: 2.5rem;\n ${tokens.iconButtonPadding}: 1rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-s-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-s-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-s-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${tokens.iconButtonRadius}: 0.625rem;\n ${tokens.iconButtonSegmentationRadius}: 0.25rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.625rem;\n ${tokens.textWrapperHeight}: 2.5rem;\n ${tokens.textWrapperPadding}: 0.688rem 0.875rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-s-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-s-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-s-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-s-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1.375rem;\n `,\n xs: css`\n ${tokens.rootMinWidth}: 6.875rem;\n ${tokens.iconButtonHeight}: 2rem;\n ${tokens.iconButtonWidth}: 2rem;\n ${tokens.iconButtonPadding}: 0.75rem;\n ${tokens.iconButtonFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tokens.iconButtonFontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.iconButtonFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.iconButtonFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);\n ${tokens.iconButtonLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.iconButtonLineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${tokens.iconButtonRadius}: 0.5rem;\n ${tokens.iconButtonSegmentationRadius}: 0.125rem;\n\n ${tokens.inputWrapperMargin}: 0 0.125rem;\n ${tokens.inputWrapperBorderRadius}: 0.5rem;\n ${tokens.textWrapperHeight}: 2rem;\n ${tokens.textWrapperPadding}: 0.563rem 0.625rem;\n\n ${tokens.fontFamily}: var(--plasma-typo-body-xs-font-family);\n ${tokens.fontSize}: var(--plasma-typo-body-xs-font-size);\n ${tokens.fontStyle}: var(--plasma-typo-body-xs-font-style);\n ${tokens.fontWeight}: var(--plasma-typo-body-xs-font-weight);\n ${tokens.letterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${tokens.lineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${tokens.textBeforeMarginRight}: 0.25rem;\n ${tokens.textAfterMarginLeft}: 0.25rem;\n\n ${tokens.loaderSpinnerSize}: 1rem;\n `,\n },\n shape: {\n cornered: css``,\n pilled: css`\n ${tokens.iconButtonRadius}: 50%;\n `,\n },\n inputBackgroundType: {\n fill: css`\n ${tokens.backgroundColor}: var(--surface-transparent-primary);\n ${tokens.backgroundColorHover}: var(--surface-transparent-primary);\n `,\n clear: css`\n ${tokens.backgroundColor}: transparent;\n ${tokens.backgroundColorHover}: transparent;\n `,\n },\n segmentation: {\n default: css``,\n segmented: css``,\n solid: css`\n ${tokens.iconButtonSegmentationRadius}: 0;\n `,\n },\n disabled: {\n true: css`\n ${tokens.disabledOpacity}: 0.4;\n `,\n },\n },\n};\n"],"names":["config","defaults","view","size","shape","inputBackgroundType","variations","default","secondary","accent","clear","l","m","s","xs","cornered","pilled","fill","segmentation","segmented","solid","disabled","true"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,SAAS;AACfC,IAAAA,IAAI,EAAE,GAAG;AACTC,IAAAA,KAAK,EAAE,UAAU;AACjBC,IAAAA,mBAAmB,EAAE;GACxB;AACDC,EAAAA,UAAU,EAAE;AACRJ,IAAAA,IAAI,EAAE;AACFK,MAAAA,SAAAA,EAAO,SA0BN;AACDC,MAAAA,SAAS,EAAA,SA0BR;AACDC,MAAAA,MAAM,EAAA,UA2BL;AACDC,MAAAA,KAAK,EAAA;KA2BR;AACDP,IAAAA,IAAI,EAAE;AACFQ,MAAAA,CAAC,EAAA,SA+BA;AACDC,MAAAA,CAAC,EAAA,UA+BA;AACDC,MAAAA,CAAC,EAAA,UA+BA;AACDC,MAAAA,EAAE,EAAA;KAgCL;AACDV,IAAAA,KAAK,EAAE;AACHW,MAAAA,QAAQ,EAAA,UAAO;AACfC,MAAAA,MAAM,EAAA;KAGT;AACDX,IAAAA,mBAAmB,EAAE;AACjBY,MAAAA,IAAI,EAAA,SAGH;AACDP,MAAAA,KAAK,EAAA;KAIR;AACDQ,IAAAA,YAAY,EAAE;AACVX,MAAAA,SAAAA,EAAO,UAAO;AACdY,MAAAA,SAAS,EAAA,SAAO;AAChBC,MAAAA,KAAK,EAAA;KAGR;AACDC,IAAAA,QAAQ,EAAE;MACNC,MAAAA,EAAI;AAGR;AACJ;AACJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumberInput.js","sources":["../../src-css/components/NumberInput/NumberInput.ts"],"sourcesContent":["import { numberInputConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './NumberInput.config';\n\nconst mergedConfig = mergeConfig(numberInputConfig, config);\n\nexport const NumberInput = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","numberInputConfig","config","NumberInput","component"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,+BAAiB,EAAEC,yBAAM,CAAC
|
|
1
|
+
{"version":3,"file":"NumberInput.js","sources":["../../src-css/components/NumberInput/NumberInput.ts"],"sourcesContent":["import { numberInputConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './NumberInput.config';\n\nconst mergedConfig = mergeConfig(numberInputConfig, config);\n\nexport const NumberInput = component(mergedConfig);\n"],"names":["mergedConfig","mergeConfig","numberInputConfig","config","NumberInput","component"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,+BAAiB,EAAEC,yBAAM,CAAC;IAE9CC,WAAW,gBAAGC,uBAAS,CAACL,YAAY;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.config.js","sources":["../../src-css/components/Pagination/Pagination.config.ts"],"sourcesContent":["import { css, paginationTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'clear',\n viewCurrentPage: 'secondary',\n size: 'xs',\n },\n variations: {\n view: {\n default: css`\n ${paginationTokens.buttonColor}: var(--inverse-text-primary);\n ${paginationTokens.buttonColorHover}: var(--inverse-text-primary-hover);\n ${paginationTokens.buttonColorActive}: var(--inverse-text-primary-active);\n ${paginationTokens.buttonHoverColor}: var(--inverse-text-primary);\n ${paginationTokens.buttonBackgroundColor}: var(--surface-solid-default);\n ${paginationTokens.buttonBackgroundColorHover}: var(--surface-solid-default-hover);\n ${paginationTokens.buttonBackgroundColorActive}: var(--surface-solid-default-active);\n ${paginationTokens.buttonActiveColor}: var(--inverse-text-primary);\n ${paginationTokens.buttonArrowColor}: var(--inverse-text-secondary);\n ${paginationTokens.buttonArrowColorHover}: var(--inverse-text-secondary-hover);\n ${paginationTokens.buttonArrowColorActive}: var(--inverse-text-secondary-hover);\n\n ${paginationTokens.buttonDisabledOpacity}: 0.4;\n\n ${paginationTokens.inputBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.inputBorderColor}:transparent;\n ${paginationTokens.selectBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-solid-default) 85%\n );\n\n ${paginationTokens.paginationColor}: var(--text-primary);\n ${paginationTokens.paginationHelperTextColor}: var(--text-secondary);\n ${paginationTokens.buttonFocusColor}: var(--surface-accent);\n `,\n secondary: css`\n ${paginationTokens.buttonColor}: var(--text-primary);\n ${paginationTokens.buttonColorHover}: var(--text-primary-hover);\n ${paginationTokens.buttonColorActive}: var(--text-primary-active);\n ${paginationTokens.buttonBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.buttonBackgroundColorHover}: var(--surface-transparent-secondary-hover);\n ${paginationTokens.buttonBackgroundColorActive}: var(--surface-transparent-secondary-active);\n ${paginationTokens.buttonHoverColor}: var(--text-primary);\n ${paginationTokens.buttonActiveColor}: var(--text-primary);\n ${paginationTokens.buttonArrowColor}: var(--text-secondary);\n ${paginationTokens.buttonArrowColorHover}: var(--text-secondary-hover);\n ${paginationTokens.buttonArrowColorActive}: var(--text-secondary-hover);\n\n ${paginationTokens.buttonDisabledOpacity}: 0.4;\n\n ${paginationTokens.inputBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.selectBackgroundColor}: var(--surface-solid-secondary);\n ${paginationTokens.inputBorderColor}: transparent;\n\n ${paginationTokens.paginationColor}: var(--text-primary);\n ${paginationTokens.paginationHelperTextColor}: var(--text-secondary);\n ${paginationTokens.buttonFocusColor}: var(--surface-accent);\n `,\n clear: css`\n ${paginationTokens.buttonColor}: var(--text-primary);\n ${paginationTokens.buttonColorHover}: var(--text-primary-hover);\n ${paginationTokens.buttonColorActive}: var(--text-primary-active);\n ${paginationTokens.buttonBackgroundColor}: var(--surface-clear);\n ${paginationTokens.buttonBackgroundColorHover}: var(--surface-clear);\n ${paginationTokens.buttonBackgroundColorActive}: var(--surface-clear);\n ${paginationTokens.buttonHoverColor}: var(--text-primary);\n ${paginationTokens.buttonActiveColor}: var(--text-primary);\n ${paginationTokens.buttonArrowColor}: var(--text-secondary);\n ${paginationTokens.buttonArrowColorHover}: var(--text-secondary-hover);\n ${paginationTokens.buttonArrowColorActive}: var(--text-secondary-hover);\n\n ${paginationTokens.buttonDisabledOpacity}: 0.4;\n\n ${paginationTokens.inputBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.selectBackgroundColor}: var(--surface-solid-card);\n ${paginationTokens.inputBorderColor}: transparent;\n\n ${paginationTokens.paginationColor}: var(--text-primary);\n ${paginationTokens.paginationHelperTextColor}: var(--text-secondary);\n ${paginationTokens.buttonFocusColor}: var(--surface-accent);\n `,\n },\n viewCurrentPage: {\n default: css`\n ${paginationTokens.paginationCurrentButtonColor}: var(--inverse-text-primary);\n ${paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-solid-default);\n ${paginationTokens.paginationCurrentButtonHoverColor}: var(--inverse-text-primary);\n ${paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-solid-default) 85%\n );\n ${paginationTokens.paginationCurrentButtonActiveColor}: var(--inverse-text-primary);\n ${paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-solid-default) 80%\n );\n `,\n secondary: css`\n ${paginationTokens.paginationCurrentButtonColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.paginationCurrentButtonHoverColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-transparent-secondary) 85%\n );\n ${paginationTokens.paginationCurrentButtonActiveColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-transparent-secondary) 80%\n );\n `,\n clear: css`\n ${paginationTokens.paginationCurrentButtonColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-clear);\n ${paginationTokens.paginationCurrentButtonHoverColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(in srgb, var(--text-primary), var(--surface-clear) 95%);\n ${paginationTokens.paginationCurrentButtonActiveColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(in srgb, var(--text-primary), var(--surface-clear) 90%);\n `,\n },\n size: {\n l: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-l-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-l-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-l-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-l-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${paginationTokens.buttonHeight}: 3.5rem;\n ${paginationTokens.buttonWidth}: 3rem;\n ${paginationTokens.buttonWidthShorter}: 2.25rem;\n ${paginationTokens.paginationInputWidth}: 4rem;\n ${paginationTokens.buttonRadius}: 0.875rem;\n ${paginationTokens.paginationIconSize}: 1.2rem;\n ${paginationTokens.paginationIconDoubleSize}: 1.45rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.5rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1.5rem;\n ${paginationTokens.selectItemPadding}: 1rem 1rem 1rem 1rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.875rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 1rem;\n ${paginationTokens.selectTargetPadding}: 1.5rem 0 1.5rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.875rem;\n ${paginationTokens.inputWidth}: 4rem;\n ${paginationTokens.inputHeight}: 3.5rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n m: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-m-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-m-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-m-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-m-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${paginationTokens.buttonHeight}: 3rem;\n ${paginationTokens.buttonWidth}: 3rem;\n ${paginationTokens.buttonWidthShorter}: 2rem;\n ${paginationTokens.paginationInputWidth}: 3.5rem;\n ${paginationTokens.buttonRadius}: 0.75rem;\n ${paginationTokens.paginationIconSize}: 1.05rem;\n ${paginationTokens.paginationIconDoubleSize}: 1.3rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.375rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1.5rem;\n ${paginationTokens.selectItemPadding}: 0.75rem 0.75rem 0.75rem 0.75rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.75rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 0.875rem;\n ${paginationTokens.selectTargetPadding}: 1.25rem 0 1.25rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.75rem;\n ${paginationTokens.inputWidth}: 3.5rem;\n ${paginationTokens.inputHeight}: 3rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n s: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-s-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-s-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-s-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${paginationTokens.buttonHeight}: 2.5rem;\n ${paginationTokens.buttonWidth}: 2.5rem;\n ${paginationTokens.buttonWidthShorter}: 1.75rem;\n ${paginationTokens.paginationInputWidth}: 3rem;\n ${paginationTokens.buttonRadius}: 0.625rem;\n ${paginationTokens.paginationIconSize}: 0.9rem;\n ${paginationTokens.paginationIconDoubleSize}: 1.15rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1.5rem;\n ${paginationTokens.selectItemPadding}: 0.5rem 0.75rem 0.5rem 0.75rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.75rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 0.75rem;\n ${paginationTokens.selectTargetPadding}: 1rem 0 1rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.625rem;\n ${paginationTokens.inputWidth}: 3rem;\n ${paginationTokens.inputHeight}: 2.5rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n xs: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-xs-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${paginationTokens.buttonHeight}: 2rem;\n ${paginationTokens.paginationInputWidth}: 2.5rem;\n ${paginationTokens.buttonRadius}: 0.5rem;\n ${paginationTokens.buttonWidth}: 2rem;\n ${paginationTokens.buttonWidthShorter}: 1.5rem;\n ${paginationTokens.paginationIconSize}: 0.75rem;\n ${paginationTokens.paginationIconDoubleSize}: 1rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1rem;\n ${paginationTokens.selectItemPadding}: 0.5rem 0.5rem 0.5rem 0.5rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.25rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 0.5rem;\n ${paginationTokens.selectTargetPadding}: 0.75rem 0 0.75rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.5rem;\n ${paginationTokens.inputWidth}: 2.5rem;\n ${paginationTokens.inputHeight}: 2rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n },\n type: {\n compact: css``,\n default: css``,\n },\n },\n};\n"],"names":["config","defaults","view","viewCurrentPage","size","variations","default","secondary","clear","l","m","s","xs","type","compact"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,OAAO;AACbC,IAAAA,eAAe,EAAE,WAAW;AAC5BC,IAAAA,IAAI,EAAE,IAAA;GACT;AACDC,EAAAA,UAAU,EAAE;AACRH,IAAAA,IAAI,EAAE;AACFI,MAAAA,SAAAA,EA0BC,UAAA;AACDC,MAAAA,SAAS,EAsBR,SAAA;AACDC,MAAAA,KAAK,EAAA,UAAA;KAuBR;AACDL,IAAAA,eAAe,EAAE;AACbG,MAAAA,SAAAA,EAeC,UAAA;AACDC,MAAAA,SAAS,EAeR,SAAA;AACDC,MAAAA,KAAK,EAAA,SAAA;KAQR;AACDJ,IAAAA,IAAI,EAAE;AACFK,MAAAA,CAAC,EAwCA,UAAA;AACDC,MAAAA,CAAC,EAwCA,UAAA;AACDC,MAAAA,CAAC,EAwCA,SAAA;AACDC,MAAAA,EAAE,EAAA,SAAA;KAyCL;AACDC,IAAAA,IAAI,EAAE;AACFC,MAAAA,OAAO,EAAO,UAAA;MACdR,SAAO,EAAA,SAAA;AACX,KAAA;AACJ,GAAA;AACJ;;;;"}
|
|
1
|
+
{"version":3,"file":"Pagination.config.js","sources":["../../src-css/components/Pagination/Pagination.config.ts"],"sourcesContent":["import { css, paginationTokens } from '@salutejs/plasma-new-hope';\n\nexport const config = {\n defaults: {\n view: 'clear',\n viewCurrentPage: 'secondary',\n size: 'xs',\n },\n variations: {\n view: {\n default: css`\n ${paginationTokens.buttonColor}: var(--inverse-text-primary);\n ${paginationTokens.buttonColorHover}: var(--inverse-text-primary-hover);\n ${paginationTokens.buttonColorActive}: var(--inverse-text-primary-active);\n ${paginationTokens.buttonHoverColor}: var(--inverse-text-primary);\n ${paginationTokens.buttonBackgroundColor}: var(--surface-solid-default);\n ${paginationTokens.buttonBackgroundColorHover}: var(--surface-solid-default-hover);\n ${paginationTokens.buttonBackgroundColorActive}: var(--surface-solid-default-active);\n ${paginationTokens.buttonActiveColor}: var(--inverse-text-primary);\n ${paginationTokens.buttonArrowColor}: var(--inverse-text-secondary);\n ${paginationTokens.buttonArrowColorHover}: var(--inverse-text-secondary-hover);\n ${paginationTokens.buttonArrowColorActive}: var(--inverse-text-secondary-hover);\n\n ${paginationTokens.buttonDisabledOpacity}: 0.4;\n\n ${paginationTokens.inputBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.inputBorderColor}:transparent;\n ${paginationTokens.selectBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-solid-default) 85%\n );\n\n ${paginationTokens.paginationColor}: var(--text-primary);\n ${paginationTokens.paginationHelperTextColor}: var(--text-secondary);\n ${paginationTokens.buttonFocusColor}: var(--surface-accent);\n `,\n secondary: css`\n ${paginationTokens.buttonColor}: var(--text-primary);\n ${paginationTokens.buttonColorHover}: var(--text-primary-hover);\n ${paginationTokens.buttonColorActive}: var(--text-primary-active);\n ${paginationTokens.buttonBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.buttonBackgroundColorHover}: var(--surface-transparent-secondary-hover);\n ${paginationTokens.buttonBackgroundColorActive}: var(--surface-transparent-secondary-active);\n ${paginationTokens.buttonHoverColor}: var(--text-primary);\n ${paginationTokens.buttonActiveColor}: var(--text-primary);\n ${paginationTokens.buttonArrowColor}: var(--text-secondary);\n ${paginationTokens.buttonArrowColorHover}: var(--text-secondary-hover);\n ${paginationTokens.buttonArrowColorActive}: var(--text-secondary-hover);\n\n ${paginationTokens.buttonDisabledOpacity}: 0.4;\n\n ${paginationTokens.inputBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.selectBackgroundColor}: var(--surface-solid-secondary);\n ${paginationTokens.inputBorderColor}: transparent;\n\n ${paginationTokens.paginationColor}: var(--text-primary);\n ${paginationTokens.paginationHelperTextColor}: var(--text-secondary);\n ${paginationTokens.buttonFocusColor}: var(--surface-accent);\n `,\n clear: css`\n ${paginationTokens.buttonColor}: var(--text-primary);\n ${paginationTokens.buttonColorHover}: var(--text-primary-hover);\n ${paginationTokens.buttonColorActive}: var(--text-primary-active);\n ${paginationTokens.buttonBackgroundColor}: var(--surface-clear);\n ${paginationTokens.buttonBackgroundColorHover}: var(--surface-clear);\n ${paginationTokens.buttonBackgroundColorActive}: var(--surface-clear);\n ${paginationTokens.buttonHoverColor}: var(--text-primary);\n ${paginationTokens.buttonActiveColor}: var(--text-primary);\n ${paginationTokens.buttonArrowColor}: var(--text-secondary);\n ${paginationTokens.buttonArrowColorHover}: var(--text-secondary-hover);\n ${paginationTokens.buttonArrowColorActive}: var(--text-secondary-hover);\n\n ${paginationTokens.buttonDisabledOpacity}: 0.4;\n\n ${paginationTokens.inputBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.selectBackgroundColor}: var(--surface-solid-card);\n ${paginationTokens.inputBorderColor}: transparent;\n\n ${paginationTokens.paginationColor}: var(--text-primary);\n ${paginationTokens.paginationHelperTextColor}: var(--text-secondary);\n ${paginationTokens.buttonFocusColor}: var(--surface-accent);\n `,\n },\n viewCurrentPage: {\n default: css`\n ${paginationTokens.paginationCurrentButtonColor}: var(--inverse-text-primary);\n ${paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-solid-default);\n ${paginationTokens.paginationCurrentButtonHoverColor}: var(--inverse-text-primary);\n ${paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-solid-default) 85%\n );\n ${paginationTokens.paginationCurrentButtonActiveColor}: var(--inverse-text-primary);\n ${paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-solid-default) 80%\n );\n `,\n secondary: css`\n ${paginationTokens.paginationCurrentButtonColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-transparent-secondary);\n ${paginationTokens.paginationCurrentButtonHoverColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-transparent-secondary) 85%\n );\n ${paginationTokens.paginationCurrentButtonActiveColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(\n in srgb,\n var(--inverse-text-primary),\n var(--surface-transparent-secondary) 80%\n );\n `,\n clear: css`\n ${paginationTokens.paginationCurrentButtonColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonBackgroundColor}: var(--surface-clear);\n ${paginationTokens.paginationCurrentButtonHoverColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonHoverBackgroundColor}: color-mix(in srgb, var(--text-primary), var(--surface-clear) 95%);\n ${paginationTokens.paginationCurrentButtonActiveColor}: var(--text-primary);\n ${paginationTokens.paginationCurrentButtonActiveBackgroundColor}: color-mix(in srgb, var(--text-primary), var(--surface-clear) 90%);\n `,\n },\n size: {\n l: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-l-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-l-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-l-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-l-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-l-line-height);\n\n ${paginationTokens.buttonHeight}: 3.5rem;\n ${paginationTokens.buttonWidth}: 3rem;\n ${paginationTokens.buttonWidthShorter}: 2.25rem;\n ${paginationTokens.paginationInputWidth}: 4rem;\n ${paginationTokens.buttonRadius}: 0.875rem;\n ${paginationTokens.paginationIconSize}: 1.2rem;\n ${paginationTokens.paginationIconDoubleSize}: 1.45rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.5rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1.5rem;\n ${paginationTokens.selectItemPadding}: 1rem 1rem 1rem 1rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.875rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 1rem;\n ${paginationTokens.selectTargetPadding}: 1.5rem 0 1.5rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.875rem;\n ${paginationTokens.inputWidth}: 4rem;\n ${paginationTokens.inputHeight}: 3.5rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n m: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-m-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-m-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-m-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-m-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-m-line-height);\n\n ${paginationTokens.buttonHeight}: 3rem;\n ${paginationTokens.buttonWidth}: 3rem;\n ${paginationTokens.buttonWidthShorter}: 2rem;\n ${paginationTokens.paginationInputWidth}: 3.5rem;\n ${paginationTokens.buttonRadius}: 0.75rem;\n ${paginationTokens.paginationIconSize}: 1.05rem;\n ${paginationTokens.paginationIconDoubleSize}: 1.3rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.375rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1.5rem;\n ${paginationTokens.selectItemPadding}: 0.75rem 0.75rem 0.75rem 0.75rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.75rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 0.875rem;\n ${paginationTokens.selectTargetPadding}: 1.25rem 0 1.25rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.75rem;\n ${paginationTokens.inputWidth}: 3.5rem;\n ${paginationTokens.inputHeight}: 3rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n s: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-s-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-s-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-s-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-s-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-s-line-height);\n\n ${paginationTokens.buttonHeight}: 2.5rem;\n ${paginationTokens.buttonWidth}: 2.5rem;\n ${paginationTokens.buttonWidthShorter}: 1.75rem;\n ${paginationTokens.paginationInputWidth}: 3rem;\n ${paginationTokens.buttonRadius}: 0.625rem;\n ${paginationTokens.paginationIconSize}: 0.9rem;\n ${paginationTokens.paginationIconDoubleSize}: 1.15rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1.5rem;\n ${paginationTokens.selectItemPadding}: 0.5rem 0.75rem 0.5rem 0.75rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.75rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 0.75rem;\n ${paginationTokens.selectTargetPadding}: 1rem 0 1rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.625rem;\n ${paginationTokens.inputWidth}: 3rem;\n ${paginationTokens.inputHeight}: 2.5rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n xs: css`\n ${paginationTokens.paginationFontFamily}: var(--plasma-typo-body-xs-font-family);\n ${paginationTokens.paginationFontSize}: var(--plasma-typo-body-xs-font-size);\n ${paginationTokens.paginationFontStyle}: var(--plasma-typo-body-xs-font-style);\n ${paginationTokens.paginationFontWeight}: var(--plasma-typo-body-xs-bold-font-weight);\n ${paginationTokens.paginationLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);\n ${paginationTokens.paginationLineHeight}: var(--plasma-typo-body-xs-line-height);\n\n ${paginationTokens.buttonHeight}: 2rem;\n ${paginationTokens.paginationInputWidth}: 2.5rem;\n ${paginationTokens.buttonRadius}: 0.5rem;\n ${paginationTokens.buttonWidth}: 2rem;\n ${paginationTokens.buttonWidthShorter}: 1.5rem;\n ${paginationTokens.paginationIconSize}: 0.75rem;\n ${paginationTokens.paginationIconDoubleSize}: 1rem;\n ${paginationTokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;\n\n ${paginationTokens.selectHeight}: auto;\n ${paginationTokens.selectPaddingTop}: 0.125rem;\n ${paginationTokens.selectPaddingRight}: 0.125rem;\n ${paginationTokens.selectPaddingBottom}: 0.125rem;\n ${paginationTokens.selectPaddingLeft}: 0.125rem;\n\n ${paginationTokens.selectItemHeight}: 1rem;\n ${paginationTokens.selectItemPadding}: 0.5rem 0.5rem 0.5rem 0.5rem;\n ${paginationTokens.selectItemContentLeftWidth}: 1.25rem;\n ${paginationTokens.selectItemBackground}: transparent;\n\n ${paginationTokens.selectTargetArrowRight}: 0.5rem;\n ${paginationTokens.selectTargetPadding}: 0.75rem 0 0.75rem;\n ${paginationTokens.selectTargetInnerTop}: 0.5rem;\n ${paginationTokens.selectTargetLabelInnerTop}: 0.375rem;\n\n ${paginationTokens.inputBorderRadius}: 0.5rem;\n ${paginationTokens.inputWidth}: 2.5rem;\n ${paginationTokens.inputHeight}: 2rem;\n ${paginationTokens.inputPadding}: 0 0.625rem;\n ${paginationTokens.inputBorderWidth}: 0.0625rem;\n\n ${paginationTokens.paginationHelperTextGap}: 0.5rem 2.5rem;\n `,\n },\n type: {\n compact: css``,\n default: css``,\n },\n },\n};\n"],"names":["config","defaults","view","viewCurrentPage","size","variations","default","secondary","clear","l","m","s","xs","type","compact"],"mappings":";;;;AAEO,IAAMA,MAAM,GAAG;AAClBC,EAAAA,QAAQ,EAAE;AACNC,IAAAA,IAAI,EAAE,OAAO;AACbC,IAAAA,eAAe,EAAE,WAAW;AAC5BC,IAAAA,IAAI,EAAE;GACT;AACDC,EAAAA,UAAU,EAAE;AACRH,IAAAA,IAAI,EAAE;AACFI,MAAAA,SAAAA,EAAO,UA0BN;AACDC,MAAAA,SAAS,EAAA,SAsBR;AACDC,MAAAA,KAAK,EAAA;KAuBR;AACDL,IAAAA,eAAe,EAAE;AACbG,MAAAA,SAAAA,EAAO,UAeN;AACDC,MAAAA,SAAS,EAAA,SAeR;AACDC,MAAAA,KAAK,EAAA;KAQR;AACDJ,IAAAA,IAAI,EAAE;AACFK,MAAAA,CAAC,EAAA,UAwCA;AACDC,MAAAA,CAAC,EAAA,UAwCA;AACDC,MAAAA,CAAC,EAAA,SAwCA;AACDC,MAAAA,EAAE,EAAA;KAyCL;AACDC,IAAAA,IAAI,EAAE;AACFC,MAAAA,OAAO,EAAA,UAAO;MACdR,SAAAA,EAAO;AACX;AACJ;AACJ;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pagination.js","sources":["../../src-css/components/Pagination/Pagination.tsx"],"sourcesContent":["import { paginationConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Pagination.config';\n\nconst mergedConfig = mergeConfig(paginationConfig, config);\nconst PaginationComponent = component(mergedConfig);\n\n/**\n * Пагинация\n */\nexport const Pagination = PaginationComponent;\n"],"names":["mergedConfig","mergeConfig","paginationConfig","config","PaginationComponent","component","Pagination"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,8BAAgB,EAAEC,wBAAM,CAAC
|
|
1
|
+
{"version":3,"file":"Pagination.js","sources":["../../src-css/components/Pagination/Pagination.tsx"],"sourcesContent":["import { paginationConfig, component, mergeConfig } from '@salutejs/plasma-new-hope';\n\nimport { config } from './Pagination.config';\n\nconst mergedConfig = mergeConfig(paginationConfig, config);\nconst PaginationComponent = component(mergedConfig);\n\n/**\n * Пагинация\n */\nexport const Pagination = PaginationComponent;\n"],"names":["mergedConfig","mergeConfig","paginationConfig","config","PaginationComponent","component","Pagination"],"mappings":";;;;;;;AAIA,IAAMA,YAAY,gBAAGC,yBAAW,CAACC,8BAAgB,EAAEC,wBAAM,CAAC;AAC1D,IAAMC,mBAAmB,gBAAGC,uBAAS,CAACL,YAAY,CAAC;;AAEnD;AACA;AACA;AACO,IAAMM,UAAU,GAAGF;;;;"}
|