@salutejs/plasma-new-hope 0.338.0-canary.2237.18342071625.0 → 0.338.0-canary.2254.18489699974.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/_virtual/_rollupPluginBabelHelpers.js +0 -8
- package/cjs/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/cjs/components/Calendar/Calendar.tokens.js +1 -0
- package/cjs/components/Calendar/Calendar.tokens.js.map +1 -1
- package/cjs/components/Calendar/CalendarBase/CalendarBase.css +4 -4
- package/cjs/components/Calendar/CalendarDouble/CalendarDouble.css +4 -4
- package/cjs/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
- package/cjs/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
- package/cjs/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
- package/cjs/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
- package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
- package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +4 -4
- package/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
- package/cjs/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_12b03hz.css → DateStructureItem.styles_z3dhwf.css} +1 -1
- package/cjs/components/DatePicker/DatePicker.tokens.js +3 -0
- package/cjs/components/DatePicker/DatePicker.tokens.js.map +1 -1
- package/cjs/components/DatePicker/DatePickerBase.styles.js +1 -1
- package/cjs/components/DatePicker/DatePickerBase.styles.js.map +1 -1
- package/{es/components/DatePicker/DatePickerBase.styles_1fnt3hc.css → cjs/components/DatePicker/DatePickerBase.styles_6x4unn.css} +1 -1
- package/cjs/components/DatePicker/RangeDate/RangeDate.css +8 -8
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +6 -6
- package/cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
- package/{es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_160e4y4.css → cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1wt56uj.css} +2 -2
- package/cjs/components/DatePicker/SingleDate/SingleDate.css +9 -9
- package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
- package/cjs/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
- package/{es/components/DatePicker/SingleDate/SingleDate.styles_15voqba.css → cjs/components/DatePicker/SingleDate/SingleDate.styles_5c37vu.css} +1 -1
- package/cjs/components/Drawer/Drawer.js +4 -1
- package/cjs/components/Drawer/Drawer.js.map +1 -1
- package/cjs/components/Modal/Modal.css +2 -2
- package/cjs/components/Modal/Modal.js +5 -4
- package/cjs/components/Modal/Modal.js.map +1 -1
- package/cjs/components/Popup/Popup.styles.js +3 -2
- package/cjs/components/Popup/Popup.styles.js.map +1 -1
- package/cjs/components/Slider/ui/Handler/Handler.js +6 -2
- package/cjs/components/Slider/ui/Handler/Handler.js.map +1 -1
- package/cjs/components/Tree/utils/traverseTree.js +1 -1
- package/cjs/components/Tree/utils/traverseTree.js.map +1 -1
- package/cjs/index.css +11 -11
- package/cjs/index.js +0 -2
- package/cjs/index.js.map +1 -1
- package/emotion/cjs/components/Calendar/Calendar.tokens.js +1 -0
- package/emotion/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +9 -9
- package/emotion/cjs/components/DatePicker/DatePicker.tokens.js +3 -0
- package/emotion/cjs/components/DatePicker/DatePickerBase.styles.js +5 -5
- package/emotion/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +7 -7
- package/emotion/cjs/components/Drawer/Drawer.js +3 -1
- package/emotion/cjs/components/Modal/Modal.js +7 -6
- package/emotion/cjs/components/Popup/Popup.styles.js +13 -13
- package/emotion/cjs/components/Scrollbar/Scrollbar.js +423 -0
- package/emotion/cjs/components/Scrollbar/Scrollbar.styles.js +59 -0
- package/emotion/cjs/components/Scrollbar/Scrollbar.tokens.js +39 -0
- package/emotion/cjs/components/Scrollbar/Scrollbar.types.js +4 -0
- package/emotion/cjs/components/Scrollbar/index.js +26 -0
- package/emotion/cjs/components/Scrollbar/utils.js +87 -0
- package/emotion/cjs/components/Scrollbar/variations/_size/base.js +12 -0
- package/emotion/cjs/components/Scrollbar/variations/_view/base.js +12 -0
- package/emotion/cjs/components/Slider/ui/Handler/Handler.js +6 -2
- package/emotion/cjs/components/Tree/utils/traverseTree.js +1 -1
- package/emotion/cjs/examples/components/Scrollbar/Scrollbar.config.js +27 -0
- package/emotion/cjs/examples/components/Scrollbar/Scrollbar.js +15 -0
- package/emotion/cjs/mixins/addScrollbar.js +30 -0
- package/emotion/cjs/mixins/index.js +0 -1
- package/emotion/es/components/Calendar/Calendar.tokens.js +1 -0
- package/emotion/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +9 -9
- package/emotion/es/components/DatePicker/DatePicker.tokens.js +3 -0
- package/emotion/es/components/DatePicker/DatePickerBase.styles.js +5 -5
- package/emotion/es/components/DatePicker/SingleDate/SingleDate.styles.js +7 -7
- package/emotion/es/components/Drawer/Drawer.js +3 -1
- package/emotion/es/components/Modal/Modal.js +6 -5
- package/emotion/es/components/Popup/Popup.styles.js +13 -13
- package/emotion/es/components/Scrollbar/Scrollbar.js +359 -0
- package/emotion/es/components/Scrollbar/Scrollbar.styles.js +24 -0
- package/emotion/es/components/Scrollbar/Scrollbar.tokens.js +21 -0
- package/emotion/es/components/Scrollbar/Scrollbar.types.js +1 -0
- package/emotion/es/components/Scrollbar/index.js +2 -0
- package/emotion/es/components/Scrollbar/utils.js +69 -0
- package/emotion/es/components/Scrollbar/variations/_size/base.js +2 -0
- package/emotion/es/components/Scrollbar/variations/_view/base.js +2 -0
- package/emotion/es/components/Slider/ui/Handler/Handler.js +6 -2
- package/emotion/es/components/Tree/utils/traverseTree.js +1 -1
- package/emotion/es/examples/components/Combobox/Combobox.js +0 -7
- package/emotion/es/examples/components/Scrollbar/Scrollbar.config.js +17 -0
- package/emotion/es/examples/components/Scrollbar/Scrollbar.js +5 -0
- package/emotion/es/mixins/addScrollbar.js +9 -0
- package/emotion/es/mixins/index.js +0 -1
- package/es/_virtual/_rollupPluginBabelHelpers.js +1 -8
- package/es/_virtual/_rollupPluginBabelHelpers.js.map +1 -1
- package/es/components/Calendar/Calendar.tokens.js +1 -0
- package/es/components/Calendar/Calendar.tokens.js.map +1 -1
- package/es/components/Calendar/CalendarBase/CalendarBase.css +4 -4
- package/es/components/Calendar/CalendarDouble/CalendarDouble.css +4 -4
- package/es/components/Calendar/ui/CalendarDays/CalendarDays.css +4 -4
- package/es/components/Calendar/ui/CalendarMonths/CalendarMonths.css +4 -4
- package/es/components/Calendar/ui/CalendarQuarters/CalendarQuarters.css +4 -4
- package/es/components/Calendar/ui/CalendarYears/CalendarYears.css +4 -4
- package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.css +4 -4
- package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +4 -4
- package/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js.map +1 -1
- package/es/components/Calendar/ui/DateStructureItem/{DateStructureItem.styles_12b03hz.css → DateStructureItem.styles_z3dhwf.css} +1 -1
- package/es/components/DatePicker/DatePicker.tokens.js +3 -0
- package/es/components/DatePicker/DatePicker.tokens.js.map +1 -1
- package/es/components/DatePicker/DatePickerBase.styles.js +1 -1
- package/es/components/DatePicker/DatePickerBase.styles.js.map +1 -1
- package/{cjs/components/DatePicker/DatePickerBase.styles_1fnt3hc.css → es/components/DatePicker/DatePickerBase.styles_6x4unn.css} +1 -1
- package/es/components/DatePicker/RangeDate/RangeDate.css +8 -8
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.css +6 -6
- package/es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles.js +1 -1
- package/{cjs/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_160e4y4.css → es/components/DatePicker/RangeDate/RangeDatePopover/RangeDatePopover.styles_1wt56uj.css} +2 -2
- package/es/components/DatePicker/SingleDate/SingleDate.css +9 -9
- package/es/components/DatePicker/SingleDate/SingleDate.styles.js +1 -1
- package/es/components/DatePicker/SingleDate/SingleDate.styles.js.map +1 -1
- package/{cjs/components/DatePicker/SingleDate/SingleDate.styles_15voqba.css → es/components/DatePicker/SingleDate/SingleDate.styles_5c37vu.css} +1 -1
- package/es/components/Drawer/Drawer.js +4 -1
- package/es/components/Drawer/Drawer.js.map +1 -1
- package/es/components/Modal/Modal.css +2 -2
- package/es/components/Modal/Modal.js +5 -4
- package/es/components/Modal/Modal.js.map +1 -1
- package/es/components/Popup/Popup.styles.js +3 -2
- package/es/components/Popup/Popup.styles.js.map +1 -1
- package/es/components/Slider/ui/Handler/Handler.js +7 -3
- package/es/components/Slider/ui/Handler/Handler.js.map +1 -1
- package/es/components/Tree/utils/traverseTree.js +1 -1
- package/es/components/Tree/utils/traverseTree.js.map +1 -1
- package/es/index.css +11 -11
- package/es/index.js +0 -1
- package/es/index.js.map +1 -1
- package/package.json +2 -2
- package/styled-components/cjs/components/Calendar/Calendar.tokens.js +1 -0
- package/styled-components/cjs/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +8 -7
- package/styled-components/cjs/components/DatePicker/DatePicker.tokens.js +3 -0
- package/styled-components/cjs/components/DatePicker/DatePickerBase.styles.js +3 -3
- package/styled-components/cjs/components/DatePicker/SingleDate/SingleDate.styles.js +10 -4
- package/styled-components/cjs/components/Drawer/Drawer.js +3 -1
- package/styled-components/cjs/components/Modal/Modal.js +7 -6
- package/styled-components/cjs/components/Popup/Popup.styles.js +7 -7
- package/styled-components/cjs/components/Scrollbar/Scrollbar.js +423 -0
- package/styled-components/cjs/components/Scrollbar/Scrollbar.styles.js +121 -0
- package/styled-components/cjs/components/Scrollbar/Scrollbar.tokens.js +39 -0
- package/styled-components/cjs/components/Scrollbar/Scrollbar.types.js +4 -0
- package/styled-components/cjs/components/Scrollbar/index.js +26 -0
- package/styled-components/cjs/components/Scrollbar/utils.js +87 -0
- package/styled-components/cjs/components/Scrollbar/variations/_size/base.js +14 -0
- package/styled-components/cjs/components/Scrollbar/variations/_view/base.js +14 -0
- package/styled-components/cjs/components/Slider/ui/Handler/Handler.js +6 -2
- package/styled-components/cjs/components/Tree/utils/traverseTree.js +1 -1
- package/styled-components/cjs/examples/components/Scrollbar/Scrollbar.config.js +45 -0
- package/styled-components/cjs/examples/components/Scrollbar/Scrollbar.js +15 -0
- package/styled-components/cjs/mixins/addScrollbar.js +30 -0
- package/styled-components/cjs/mixins/index.js +0 -1
- package/styled-components/es/components/Calendar/Calendar.tokens.js +1 -0
- package/styled-components/es/components/Calendar/ui/DateStructureItem/DateStructureItem.styles.js +8 -7
- package/styled-components/es/components/DatePicker/DatePicker.tokens.js +3 -0
- package/styled-components/es/components/DatePicker/DatePickerBase.styles.js +3 -3
- package/styled-components/es/components/DatePicker/SingleDate/SingleDate.styles.js +10 -4
- package/styled-components/es/components/Drawer/Drawer.js +3 -1
- package/styled-components/es/components/Modal/Modal.js +6 -5
- package/styled-components/es/components/Popup/Popup.styles.js +7 -7
- package/styled-components/es/components/Scrollbar/Scrollbar.js +359 -0
- package/styled-components/es/components/Scrollbar/Scrollbar.styles.js +51 -0
- package/styled-components/es/components/Scrollbar/Scrollbar.tokens.js +21 -0
- package/styled-components/es/components/Scrollbar/Scrollbar.types.js +1 -0
- package/styled-components/es/components/Scrollbar/index.js +2 -0
- package/styled-components/es/components/Scrollbar/utils.js +69 -0
- package/styled-components/es/components/Scrollbar/variations/_size/base.js +4 -0
- package/styled-components/es/components/Scrollbar/variations/_view/base.js +4 -0
- package/styled-components/es/components/Slider/ui/Handler/Handler.js +6 -2
- package/styled-components/es/components/Tree/utils/traverseTree.js +1 -1
- package/styled-components/es/examples/components/Scrollbar/Scrollbar.config.js +35 -0
- package/styled-components/es/examples/components/Scrollbar/Scrollbar.js +5 -0
- package/styled-components/es/mixins/addScrollbar.js +9 -0
- package/styled-components/es/mixins/index.js +0 -1
- package/types/components/Accordion/ui/AccordionItem/AccordionItem.d.ts +1 -1
- package/types/components/Autocomplete/ui/TextField/TextField.styles.d.ts +8 -8
- package/types/components/Calendar/Calendar.tokens.d.ts +1 -0
- package/types/components/Calendar/Calendar.tokens.d.ts.map +1 -1
- package/types/components/Combobox/ComboboxNew/ui/SelectNative/SelectNative.d.ts +1 -1
- package/types/components/Combobox/ComboboxNew/ui/Target/Target.styles.d.ts +8 -8
- package/types/components/DatePicker/DatePicker.tokens.d.ts +3 -0
- package/types/components/DatePicker/DatePicker.tokens.d.ts.map +1 -1
- package/types/components/DatePicker/DatePickerBase.styles.d.ts.map +1 -1
- package/types/components/DatePicker/RangeDate/RangeDate.d.ts +6 -6
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts +8 -8
- package/types/components/DatePicker/SingleDate/SingleDate.styles.d.ts.map +1 -1
- package/types/components/Drawer/Drawer.d.ts.map +1 -1
- package/types/components/Modal/Modal.d.ts.map +1 -1
- package/types/components/Pagination/ui/PaginationSelectPerPage/PaginationSelectPerPage.styles.d.ts +6 -6
- package/types/components/Popup/Popup.types.d.ts +8 -1
- package/types/components/Popup/Popup.types.d.ts.map +1 -1
- package/types/components/Radiobox/Radiobox.d.ts +2 -2
- package/types/components/Range/Range.styles.d.ts +8 -8
- package/types/components/Scrollbar/Scrollbar.d.ts +23 -0
- package/types/components/Scrollbar/Scrollbar.d.ts.map +1 -0
- package/types/components/Scrollbar/Scrollbar.styles.d.ts +7 -0
- package/types/components/Scrollbar/Scrollbar.styles.d.ts.map +1 -0
- package/types/components/Scrollbar/Scrollbar.tokens.d.ts +22 -0
- package/types/components/Scrollbar/Scrollbar.tokens.d.ts.map +1 -0
- package/types/components/Scrollbar/Scrollbar.types.d.ts +52 -0
- package/types/components/Scrollbar/Scrollbar.types.d.ts.map +1 -0
- package/types/components/Scrollbar/index.d.ts +4 -0
- package/types/components/Scrollbar/index.d.ts.map +1 -0
- package/types/components/Scrollbar/utils.d.ts +7 -0
- package/types/components/Scrollbar/utils.d.ts.map +1 -0
- package/types/components/Scrollbar/variations/_size/base.d.ts +2 -0
- package/types/components/Scrollbar/variations/_size/base.d.ts.map +1 -0
- package/types/components/Scrollbar/variations/_view/base.d.ts +2 -0
- package/types/components/Scrollbar/variations/_view/base.d.ts.map +1 -0
- package/types/components/Select/ui/Target/Target.d.ts +1 -1
- package/types/components/Select/ui/Target/ui/Textfield/Textfield.styles.d.ts +8 -8
- package/types/components/Select/utils/getView.d.ts +1 -1
- package/types/components/Slider/components/Double/Double.styles.d.ts +8 -8
- package/types/components/Slider/ui/Handler/Handler.d.ts.map +1 -1
- package/types/components/Table/ui/HeadCell/ui/Filter/Filter.styles.d.ts +6 -6
- package/types/components/TimePicker/TimePicker.styles.d.ts +8 -8
- package/types/components/Tree/utils/traverseTree.d.ts.map +1 -1
- package/types/examples/components/Autocomplete/Autocomplete.d.ts +8 -8
- package/types/examples/components/Combobox/Legacy/Combobox.d.ts +2 -2
- package/types/examples/components/DatePicker/DatePicker.d.ts +3 -3
- package/types/examples/components/Mask/Mask.d.ts +8 -8
- package/types/examples/components/NumberFormat/NumberFormat.d.ts +8 -8
- package/types/examples/components/NumberInput/NumberInput.d.ts +2 -2
- package/types/examples/components/Radiobox/Radiobox.d.ts +2 -2
- package/types/examples/components/Scrollbar/Scrollbar.config.d.ts +16 -0
- package/types/examples/components/Scrollbar/Scrollbar.config.d.ts.map +1 -0
- package/types/examples/components/Scrollbar/Scrollbar.d.ts +10 -0
- package/types/examples/components/Scrollbar/Scrollbar.d.ts.map +1 -0
- package/types/examples/components/Select/Select.d.ts +6 -6
- package/types/examples/components/TextArea/TextArea.d.ts +8 -8
- package/types/examples/components/TextField/TextField.d.ts +8 -8
- package/types/examples/components/Tokens/Colors/Colors.styles.d.ts +1 -1
- package/types/examples/components/Tokens/Typography/Typography.styles.d.ts +1 -1
- package/types/mixins/addScrollbar.d.ts +4 -0
- package/types/mixins/addScrollbar.d.ts.map +1 -0
- package/types/mixins/index.d.ts +0 -1
- package/types/mixins/index.d.ts.map +1 -1
- package/types/types/InputHTMLAttributes.d.ts +9 -3
- package/types/types/InputHTMLAttributes.d.ts.map +1 -1
- package/types/types/TextareaHTMLAttributes.d.ts +9 -3
- package/types/types/TextareaHTMLAttributes.d.ts.map +1 -1
- package/cjs/mixins/applyDisabled.js +0 -22
- package/cjs/mixins/applyDisabled.js.map +0 -1
- package/emotion/cjs/mixins/applyDisabled.js +0 -47
- package/emotion/es/mixins/applyDisabled.js +0 -39
- package/es/mixins/applyDisabled.js +0 -18
- package/es/mixins/applyDisabled.js.map +0 -1
- package/styled-components/cjs/mixins/applyDisabled.js +0 -23
- package/styled-components/es/mixins/applyDisabled.js +0 -15
- package/types/mixins/applyDisabled.d.ts +0 -14
- package/types/mixins/applyDisabled.d.ts.map +0 -1
|
@@ -10,14 +10,14 @@ var mergedPopoverConfig = mergeConfig(popoverConfig);
|
|
|
10
10
|
var Popover = component(mergedPopoverConfig);
|
|
11
11
|
export var StyledPopover = styled(Popover).withConfig({
|
|
12
12
|
displayName: "SingleDate.styles__StyledPopover",
|
|
13
|
-
componentId: "sc-
|
|
13
|
+
componentId: "sc-4c1f319e-0"
|
|
14
14
|
})([
|
|
15
15
|
""
|
|
16
16
|
]);
|
|
17
17
|
// NOTE: переопределение токенов TextField
|
|
18
18
|
export var StyledInput = styled(TextField).withConfig({
|
|
19
19
|
displayName: "SingleDate.styles__StyledInput",
|
|
20
|
-
componentId: "sc-
|
|
20
|
+
componentId: "sc-4c1f319e-1"
|
|
21
21
|
})([
|
|
22
22
|
"width:100%;",
|
|
23
23
|
":var(",
|
|
@@ -145,6 +145,9 @@ export var StyledInput = styled(TextField).withConfig({
|
|
|
145
145
|
");&.",
|
|
146
146
|
"{",
|
|
147
147
|
":var(",
|
|
148
|
+
",var(",
|
|
149
|
+
"));",
|
|
150
|
+
":var(",
|
|
148
151
|
");",
|
|
149
152
|
":var(",
|
|
150
153
|
");",
|
|
@@ -158,6 +161,9 @@ export var StyledInput = styled(TextField).withConfig({
|
|
|
158
161
|
");}&.",
|
|
159
162
|
"{",
|
|
160
163
|
":var(",
|
|
164
|
+
",var(",
|
|
165
|
+
"));",
|
|
166
|
+
":var(",
|
|
161
167
|
");",
|
|
162
168
|
":var(",
|
|
163
169
|
");",
|
|
@@ -169,7 +175,7 @@ export var StyledInput = styled(TextField).withConfig({
|
|
|
169
175
|
");",
|
|
170
176
|
":var(",
|
|
171
177
|
");}"
|
|
172
|
-
], textFieldTokens.color, tokens.textFieldColor, textFieldTokens.placeholderColor, tokens.textFieldPlaceholderColor, textFieldTokens.placeholderColorFocus, tokens.textFieldPlaceholderColorFocus, textFieldTokens.caretColor, tokens.textFieldCaretColor, textFieldTokens.focusColor, tokens.textFieldFocusColor, textFieldTokens.backgroundColor, tokens.textFieldBackgroundColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundColorFocus, textFieldTokens.borderColor, tokens.borderColor, textFieldTokens.borderColorHover, tokens.borderColorHover, textFieldTokens.borderColorFocus, tokens.borderColorFocus, textFieldTokens.colorReadOnly, tokens.textFieldColorReadOnly, textFieldTokens.backgroundColorReadOnly, tokens.textFieldBackgroundColorReadOnly, textFieldTokens.readOnlyOpacity, tokens.textFieldReadOnlyOpacity, textFieldTokens.borderColorReadOnly, tokens.textFieldBorderColorReadOnly, textFieldTokens.placeholderColorReadOnly, tokens.textFieldPlaceholderColorReadOnly, textFieldTokens.height, tokens.textFieldHeight, textFieldTokens.borderWidth, tokens.textFieldBorderWidth, textFieldTokens.borderRadius, tokens.textFieldBorderRadius, textFieldTokens.padding, tokens.textFieldPadding, textFieldTokens.labelInnerPadding, tokens.labelInnerPadding, textFieldTokens.contentLabelInnerPadding, tokens.contentLabelInnerPadding, textFieldTokens.labelOffset, tokens.labelOffset, textFieldTokens.labelFontFamily, tokens.labelFontFamily, textFieldTokens.labelFontStyle, tokens.labelFontStyle, textFieldTokens.labelFontSize, tokens.labelFontSize, textFieldTokens.labelFontWeight, tokens.labelFontWeight, textFieldTokens.labelLetterSpacing, tokens.labelLetterSpacing, textFieldTokens.labelLineHeight, tokens.labelLineHeight, textFieldTokens.labelInnerFontFamily, tokens.labelInnerFontFamily, textFieldTokens.labelInnerFontSize, tokens.labelInnerFontSize, textFieldTokens.labelInnerFontStyle, tokens.labelInnerFontStyle, textFieldTokens.labelInnerFontWeight, tokens.labelInnerFontWeight, textFieldTokens.labelInnerLetterSpacing, tokens.labelInnerLetterSpacing, textFieldTokens.labelInnerLineHeight, tokens.labelInnerLineHeight, textFieldTokens.labelColorReadOnly, tokens.labelColorReadOnly, textFieldTokens.indicatorColor, tokens.indicatorColor, textFieldTokens.indicatorSizeInner, tokens.indicatorSize, textFieldTokens.indicatorSizeOuter, tokens.indicatorSizeOuter, textFieldTokens.indicatorLabelPlacementInner, tokens.indicatorPlacement, textFieldTokens.indicatorLabelPlacementOuter, tokens.indicatorOuterPlacement, textFieldTokens.indicatorLabelPlacementInnerRight, tokens.indicatorPlacementRight, textFieldTokens.indicatorLabelPlacementOuterRight, tokens.indicatorOuterPlacementRight, textFieldTokens.leftContentMargin, tokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, tokens.textFieldRightContentMargin, textFieldTokens.fontFamily, tokens.textFieldFontFamily, textFieldTokens.fontSize, tokens.textFieldFontSize, textFieldTokens.fontStyle, tokens.textFieldFontStyle, textFieldTokens.fontWeight, tokens.textFieldFontWeight, textFieldTokens.letterSpacing, tokens.textFieldLetterSpacing, textFieldTokens.lineHeight, tokens.textFieldLineHeight, textFieldTokens.disabledOpacity, tokens.disabledOpacity, textFieldTokens.textBeforeColor, tokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, tokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, tokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, tokens.textFieldTextAfterMargin, textFieldTokens.contentSlotColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, textFieldTokens.contentSlotRightColor, tokens.textFieldContentRightSlotColor, textFieldTokens.contentSlotColor, textFieldTokens.contentSlotRightColorHover, tokens.textFieldContentRightSlotColorHover, textFieldTokens.contentSlotRightColor, textFieldTokens.contentSlotRightOpacityReadOnly, tokens.textFieldContentSlotRightOpacityReadOnly, classes.datePickerError, textFieldTokens.backgroundColor, tokens.textFieldBackgroundErrorColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundErrorColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundErrorColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorError, textFieldTokens.borderColorHover, tokens.textFieldBorderColorErrorHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorErrorFocus, classes.datePickerSuccess, textFieldTokens.backgroundColor, tokens.textFieldBackgroundSuccessColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundSuccessColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundSuccessColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorSuccess, textFieldTokens.borderColorHover, tokens.textFieldBorderColorSuccessHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorSuccessFocus);
|
|
178
|
+
], textFieldTokens.color, tokens.textFieldColor, textFieldTokens.placeholderColor, tokens.textFieldPlaceholderColor, textFieldTokens.placeholderColorFocus, tokens.textFieldPlaceholderColorFocus, textFieldTokens.caretColor, tokens.textFieldCaretColor, textFieldTokens.focusColor, tokens.textFieldFocusColor, textFieldTokens.backgroundColor, tokens.textFieldBackgroundColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundColorFocus, textFieldTokens.borderColor, tokens.borderColor, textFieldTokens.borderColorHover, tokens.borderColorHover, textFieldTokens.borderColorFocus, tokens.borderColorFocus, textFieldTokens.colorReadOnly, tokens.textFieldColorReadOnly, textFieldTokens.backgroundColorReadOnly, tokens.textFieldBackgroundColorReadOnly, textFieldTokens.readOnlyOpacity, tokens.textFieldReadOnlyOpacity, textFieldTokens.borderColorReadOnly, tokens.textFieldBorderColorReadOnly, textFieldTokens.placeholderColorReadOnly, tokens.textFieldPlaceholderColorReadOnly, textFieldTokens.height, tokens.textFieldHeight, textFieldTokens.borderWidth, tokens.textFieldBorderWidth, textFieldTokens.borderRadius, tokens.textFieldBorderRadius, textFieldTokens.padding, tokens.textFieldPadding, textFieldTokens.labelInnerPadding, tokens.labelInnerPadding, textFieldTokens.contentLabelInnerPadding, tokens.contentLabelInnerPadding, textFieldTokens.labelOffset, tokens.labelOffset, textFieldTokens.labelFontFamily, tokens.labelFontFamily, textFieldTokens.labelFontStyle, tokens.labelFontStyle, textFieldTokens.labelFontSize, tokens.labelFontSize, textFieldTokens.labelFontWeight, tokens.labelFontWeight, textFieldTokens.labelLetterSpacing, tokens.labelLetterSpacing, textFieldTokens.labelLineHeight, tokens.labelLineHeight, textFieldTokens.labelInnerFontFamily, tokens.labelInnerFontFamily, textFieldTokens.labelInnerFontSize, tokens.labelInnerFontSize, textFieldTokens.labelInnerFontStyle, tokens.labelInnerFontStyle, textFieldTokens.labelInnerFontWeight, tokens.labelInnerFontWeight, textFieldTokens.labelInnerLetterSpacing, tokens.labelInnerLetterSpacing, textFieldTokens.labelInnerLineHeight, tokens.labelInnerLineHeight, textFieldTokens.labelColorReadOnly, tokens.labelColorReadOnly, textFieldTokens.indicatorColor, tokens.indicatorColor, textFieldTokens.indicatorSizeInner, tokens.indicatorSize, textFieldTokens.indicatorSizeOuter, tokens.indicatorSizeOuter, textFieldTokens.indicatorLabelPlacementInner, tokens.indicatorPlacement, textFieldTokens.indicatorLabelPlacementOuter, tokens.indicatorOuterPlacement, textFieldTokens.indicatorLabelPlacementInnerRight, tokens.indicatorPlacementRight, textFieldTokens.indicatorLabelPlacementOuterRight, tokens.indicatorOuterPlacementRight, textFieldTokens.leftContentMargin, tokens.textFieldLeftContentMargin, textFieldTokens.rightContentMargin, tokens.textFieldRightContentMargin, textFieldTokens.fontFamily, tokens.textFieldFontFamily, textFieldTokens.fontSize, tokens.textFieldFontSize, textFieldTokens.fontStyle, tokens.textFieldFontStyle, textFieldTokens.fontWeight, tokens.textFieldFontWeight, textFieldTokens.letterSpacing, tokens.textFieldLetterSpacing, textFieldTokens.lineHeight, tokens.textFieldLineHeight, textFieldTokens.disabledOpacity, tokens.disabledOpacity, textFieldTokens.textBeforeColor, tokens.textFieldTextBeforeColor, textFieldTokens.textAfterColor, tokens.textFieldTextAfterColor, textFieldTokens.textBeforeMargin, tokens.textFieldTextBeforeMargin, textFieldTokens.textAfterMargin, tokens.textFieldTextAfterMargin, textFieldTokens.contentSlotColor, tokens.textFieldContentSlotColor, tokens.textFieldColor, textFieldTokens.contentSlotRightColor, tokens.textFieldContentRightSlotColor, textFieldTokens.contentSlotColor, textFieldTokens.contentSlotRightColorHover, tokens.textFieldContentRightSlotColorHover, textFieldTokens.contentSlotRightColor, textFieldTokens.contentSlotRightOpacityReadOnly, tokens.textFieldContentSlotRightOpacityReadOnly, classes.datePickerError, textFieldTokens.color, tokens.textFieldColorError, tokens.textFieldColor, textFieldTokens.backgroundColor, tokens.textFieldBackgroundErrorColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundErrorColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundErrorColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorError, textFieldTokens.borderColorHover, tokens.textFieldBorderColorErrorHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorErrorFocus, classes.datePickerSuccess, textFieldTokens.color, tokens.textFieldColorSuccess, tokens.textFieldColor, textFieldTokens.backgroundColor, tokens.textFieldBackgroundSuccessColor, textFieldTokens.backgroundColorHover, tokens.textFieldBackgroundSuccessColorHover, textFieldTokens.backgroundColorFocus, tokens.textFieldBackgroundSuccessColorFocus, textFieldTokens.borderColor, tokens.textFieldBorderColorSuccess, textFieldTokens.borderColorHover, tokens.textFieldBorderColorSuccessHover, textFieldTokens.borderColorFocus, tokens.textFieldBorderColorSuccessFocus);
|
|
173
179
|
export var base = css([
|
|
174
180
|
"display:inline-block;.",
|
|
175
181
|
",.",
|
|
@@ -179,7 +185,7 @@ export var base = css([
|
|
|
179
185
|
], popoverClasses.wrapper, popoverClasses.target, classes.datePickerstretched, popoverClasses.root);
|
|
180
186
|
export var LeftHelper = styled.div.withConfig({
|
|
181
187
|
displayName: "SingleDate.styles__LeftHelper",
|
|
182
|
-
componentId: "sc-
|
|
188
|
+
componentId: "sc-4c1f319e-2"
|
|
183
189
|
})([
|
|
184
190
|
"color:var(",
|
|
185
191
|
");&.",
|
|
@@ -71,7 +71,7 @@ import { useDrawer } from "./hooks";
|
|
|
71
71
|
// issue #823
|
|
72
72
|
export var drawerRoot = function(Root) {
|
|
73
73
|
return /*#__PURE__*/ forwardRef(function(_param, outerRef) {
|
|
74
|
-
var id = _param.id, zIndex = _param.zIndex, popupInfo = _param.popupInfo, withBlur = _param.withBlur, children = _param.children, view = _param.view, size = _param.size, width = _param.width, height = _param.height, isOpen = _param.isOpen, opened = _param.opened, initialFocusRef = _param.initialFocusRef, focusAfterRef = _param.focusAfterRef, animationInfo = _param.animationInfo, className = _param.className, customBackgroundColor = _param.customBackgroundColor, customContentBackgroundColor = _param.customContentBackgroundColor, onClose = _param.onClose, onOverlayClick = _param.onOverlayClick, onEscKeyDown = _param.onEscKeyDown, offset = _param.offset, frame = _param.frame, _param_borderRadius = _param.borderRadius, borderRadius = _param_borderRadius === void 0 ? 'none' : _param_borderRadius, _param_placement = _param.placement, placement = _param_placement === void 0 ? 'right' : _param_placement, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_closeOnOverlayClick = _param.closeOnOverlayClick, closeOnOverlayClick = _param_closeOnOverlayClick === void 0 ? true : _param_closeOnOverlayClick, _param_asModal = _param.asModal, asModal = _param_asModal === void 0 ? true : _param_asModal, draggable = _param.draggable, rest = _object_without_properties(_param, [
|
|
74
|
+
var id = _param.id, zIndex = _param.zIndex, popupInfo = _param.popupInfo, withBlur = _param.withBlur, children = _param.children, view = _param.view, size = _param.size, width = _param.width, height = _param.height, isOpen = _param.isOpen, opened = _param.opened, initialFocusRef = _param.initialFocusRef, focusAfterRef = _param.focusAfterRef, animationInfo = _param.animationInfo, className = _param.className, customBackgroundColor = _param.customBackgroundColor, customContentBackgroundColor = _param.customContentBackgroundColor, onClose = _param.onClose, onOverlayClick = _param.onOverlayClick, onEscKeyDown = _param.onEscKeyDown, offset = _param.offset, frame = _param.frame, _param_positionFixed = _param.positionFixed, positionFixed = _param_positionFixed === void 0 ? false : _param_positionFixed, _param_borderRadius = _param.borderRadius, borderRadius = _param_borderRadius === void 0 ? 'none' : _param_borderRadius, _param_placement = _param.placement, placement = _param_placement === void 0 ? 'right' : _param_placement, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_closeOnOverlayClick = _param.closeOnOverlayClick, closeOnOverlayClick = _param_closeOnOverlayClick === void 0 ? true : _param_closeOnOverlayClick, _param_asModal = _param.asModal, asModal = _param_asModal === void 0 ? true : _param_asModal, draggable = _param.draggable, rest = _object_without_properties(_param, [
|
|
75
75
|
"id",
|
|
76
76
|
"zIndex",
|
|
77
77
|
"popupInfo",
|
|
@@ -94,6 +94,7 @@ export var drawerRoot = function(Root) {
|
|
|
94
94
|
"onEscKeyDown",
|
|
95
95
|
"offset",
|
|
96
96
|
"frame",
|
|
97
|
+
"positionFixed",
|
|
97
98
|
"borderRadius",
|
|
98
99
|
"placement",
|
|
99
100
|
"closeOnEsc",
|
|
@@ -145,6 +146,7 @@ export var drawerRoot = function(Root) {
|
|
|
145
146
|
placement: placement,
|
|
146
147
|
popupInfo: drawerInfo,
|
|
147
148
|
frame: frame,
|
|
149
|
+
positionFixed: positionFixed,
|
|
148
150
|
width: innerWidth,
|
|
149
151
|
height: innerHeight,
|
|
150
152
|
offset: offset,
|
|
@@ -58,10 +58,10 @@ import { useForkRef } from "@salutejs/plasma-core";
|
|
|
58
58
|
import { safeUseId } from "../../utils";
|
|
59
59
|
import { component } from "../../engines";
|
|
60
60
|
import { useFocusTrap } from "../../hooks";
|
|
61
|
+
import { IconClose } from "../_Icon";
|
|
61
62
|
import { popupConfig, usePopupContext } from "../Popup";
|
|
62
63
|
import { Overlay } from "../Overlay";
|
|
63
64
|
import { DEFAULT_Z_INDEX } from "../Popup/utils";
|
|
64
|
-
import { IconClose } from "../_Icon/Icons/IconClose";
|
|
65
65
|
import { classes, tokens } from "./Modal.tokens";
|
|
66
66
|
import { useModal } from "./hooks";
|
|
67
67
|
import { base as viewCSS } from "./variations/_view/base";
|
|
@@ -74,7 +74,7 @@ var Popup = component(popupConfig);
|
|
|
74
74
|
* Управляет показом/скрытием, подложкой и анимацией визуальной части модального окна.
|
|
75
75
|
*/ export var modalRoot = function(Root) {
|
|
76
76
|
return /*#__PURE__*/ forwardRef(function(_param, outerRootRef) {
|
|
77
|
-
var id = _param.id, withAnimation = _param.withAnimation, onClose = _param.onClose, onOverlayClick = _param.onOverlayClick, onEscKeyDown = _param.onEscKeyDown, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_closeOnOverlayClick = _param.closeOnOverlayClick, closeOnOverlayClick = _param_closeOnOverlayClick === void 0 ? true : _param_closeOnOverlayClick, withBlur = _param.withBlur, _param_isFocusTrapped = _param.isFocusTrapped, isFocusTrapped = _param_isFocusTrapped === void 0 ? true : _param_isFocusTrapped, initialFocusRef = _param.initialFocusRef, focusAfterRef = _param.focusAfterRef, zIndex = _param.zIndex, popupInfo = _param.popupInfo, children = _param.children, view = _param.view, opened = _param.opened, isOpen = _param.isOpen, hasBody = _param.hasBody, hasClose = _param.hasClose, resizable = _param.resizable, draggable = _param.draggable, rest = _object_without_properties(_param, [
|
|
77
|
+
var id = _param.id, withAnimation = _param.withAnimation, onClose = _param.onClose, onOverlayClick = _param.onOverlayClick, onEscKeyDown = _param.onEscKeyDown, _param_closeOnEsc = _param.closeOnEsc, closeOnEsc = _param_closeOnEsc === void 0 ? true : _param_closeOnEsc, _param_closeOnOverlayClick = _param.closeOnOverlayClick, closeOnOverlayClick = _param_closeOnOverlayClick === void 0 ? true : _param_closeOnOverlayClick, withBlur = _param.withBlur, _param_isFocusTrapped = _param.isFocusTrapped, isFocusTrapped = _param_isFocusTrapped === void 0 ? true : _param_isFocusTrapped, initialFocusRef = _param.initialFocusRef, focusAfterRef = _param.focusAfterRef, zIndex = _param.zIndex, popupInfo = _param.popupInfo, children = _param.children, view = _param.view, opened = _param.opened, isOpen = _param.isOpen, hasBody = _param.hasBody, hasClose = _param.hasClose, resizable = _param.resizable, draggable = _param.draggable, overlay = _param.overlay, rest = _object_without_properties(_param, [
|
|
78
78
|
"id",
|
|
79
79
|
"withAnimation",
|
|
80
80
|
"onClose",
|
|
@@ -95,7 +95,8 @@ var Popup = component(popupConfig);
|
|
|
95
95
|
"hasBody",
|
|
96
96
|
"hasClose",
|
|
97
97
|
"resizable",
|
|
98
|
-
"draggable"
|
|
98
|
+
"draggable",
|
|
99
|
+
"overlay"
|
|
99
100
|
]);
|
|
100
101
|
var innerIsOpen = Boolean(isOpen || opened);
|
|
101
102
|
var innerHasClose = hasClose === undefined && hasBody || hasClose;
|
|
@@ -148,9 +149,9 @@ var Popup = component(popupConfig);
|
|
|
148
149
|
popupInfo: modalInfo,
|
|
149
150
|
withAnimation: withAnimation,
|
|
150
151
|
zIndex: zIndex,
|
|
151
|
-
overlay:
|
|
152
|
+
overlay: /*#__PURE__*/ React.createElement(Root, {
|
|
152
153
|
view: view
|
|
153
|
-
}, overlayNode),
|
|
154
|
+
}, overlay || overlayNode),
|
|
154
155
|
draggable: draggable,
|
|
155
156
|
resizable: resizable
|
|
156
157
|
}, rest), hasBody ? /*#__PURE__*/ React.createElement(Root, {
|
|
@@ -11,25 +11,25 @@ export var base = css([
|
|
|
11
11
|
], classes.draggablePopupWrapper, classes.draggingPopupWrapper, classes.resizableContainerNoSelect);
|
|
12
12
|
export var StyledPortal = styled.div.withConfig({
|
|
13
13
|
displayName: "Popup.styles__StyledPortal",
|
|
14
|
-
componentId: "sc-
|
|
14
|
+
componentId: "sc-e809f9e3-0"
|
|
15
15
|
})([
|
|
16
16
|
""
|
|
17
17
|
]);
|
|
18
18
|
export var StyledPortalContainer = styled.div.withConfig({
|
|
19
19
|
displayName: "Popup.styles__StyledPortalContainer",
|
|
20
|
-
componentId: "sc-
|
|
20
|
+
componentId: "sc-e809f9e3-1"
|
|
21
21
|
})([
|
|
22
22
|
"width:0;"
|
|
23
23
|
]);
|
|
24
24
|
export var PopupView = styled.div.withConfig({
|
|
25
25
|
displayName: "Popup.styles__PopupView",
|
|
26
|
-
componentId: "sc-
|
|
26
|
+
componentId: "sc-e809f9e3-2"
|
|
27
27
|
})([
|
|
28
28
|
"position:relative;max-width:100%;pointer-events:all;"
|
|
29
29
|
]);
|
|
30
30
|
export var PopupRootContainer = styled.div.withConfig({
|
|
31
31
|
displayName: "Popup.styles__PopupRootContainer",
|
|
32
|
-
componentId: "sc-
|
|
32
|
+
componentId: "sc-e809f9e3-3"
|
|
33
33
|
})([
|
|
34
34
|
"position:",
|
|
35
35
|
";z-index:",
|
|
@@ -40,8 +40,8 @@ export var PopupRootContainer = styled.div.withConfig({
|
|
|
40
40
|
";transform:",
|
|
41
41
|
";"
|
|
42
42
|
], function(param) {
|
|
43
|
-
var frame = param.frame;
|
|
44
|
-
return frame === 'document' ? 'fixed' : 'absolute';
|
|
43
|
+
var frame = param.frame, positionFixed = param.positionFixed;
|
|
44
|
+
return frame === 'document' || positionFixed ? 'fixed' : 'absolute';
|
|
45
45
|
}, function(param) {
|
|
46
46
|
var zIndex = param.zIndex;
|
|
47
47
|
return zIndex || DEFAULT_Z_INDEX;
|
|
@@ -63,7 +63,7 @@ export var PopupRootContainer = styled.div.withConfig({
|
|
|
63
63
|
});
|
|
64
64
|
export var IconResizeDiagonalStyled = styled(IconResizeDiagonal).withConfig({
|
|
65
65
|
displayName: "Popup.styles__IconResizeDiagonalStyled",
|
|
66
|
-
componentId: "sc-
|
|
66
|
+
componentId: "sc-e809f9e3-4"
|
|
67
67
|
})([
|
|
68
68
|
"color:var(--text-secondary);&:hover{color:var(--text-secondary-hover);}&:active{color:var(--text-secondary-active);}&.",
|
|
69
69
|
"{transform:rotate(-90deg);}&.",
|
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
/* eslint-disable */ function _array_like_to_array(arr, len) {
|
|
2
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
3
|
+
for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
|
|
4
|
+
return arr2;
|
|
5
|
+
}
|
|
6
|
+
function _array_with_holes(arr) {
|
|
7
|
+
if (Array.isArray(arr)) return arr;
|
|
8
|
+
}
|
|
9
|
+
function _define_property(obj, key, value) {
|
|
10
|
+
if (key in obj) {
|
|
11
|
+
Object.defineProperty(obj, key, {
|
|
12
|
+
value: value,
|
|
13
|
+
enumerable: true,
|
|
14
|
+
configurable: true,
|
|
15
|
+
writable: true
|
|
16
|
+
});
|
|
17
|
+
} else {
|
|
18
|
+
obj[key] = value;
|
|
19
|
+
}
|
|
20
|
+
return obj;
|
|
21
|
+
}
|
|
22
|
+
function _iterable_to_array_limit(arr, i) {
|
|
23
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
24
|
+
if (_i == null) return;
|
|
25
|
+
var _arr = [];
|
|
26
|
+
var _n = true;
|
|
27
|
+
var _d = false;
|
|
28
|
+
var _s, _e;
|
|
29
|
+
try {
|
|
30
|
+
for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
|
|
31
|
+
_arr.push(_s.value);
|
|
32
|
+
if (i && _arr.length === i) break;
|
|
33
|
+
}
|
|
34
|
+
} catch (err) {
|
|
35
|
+
_d = true;
|
|
36
|
+
_e = err;
|
|
37
|
+
} finally{
|
|
38
|
+
try {
|
|
39
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
40
|
+
} finally{
|
|
41
|
+
if (_d) throw _e;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
return _arr;
|
|
45
|
+
}
|
|
46
|
+
function _non_iterable_rest() {
|
|
47
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
48
|
+
}
|
|
49
|
+
function _object_spread(target) {
|
|
50
|
+
for(var i = 1; i < arguments.length; i++){
|
|
51
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
52
|
+
var ownKeys = Object.keys(source);
|
|
53
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
54
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
55
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
56
|
+
}));
|
|
57
|
+
}
|
|
58
|
+
ownKeys.forEach(function(key) {
|
|
59
|
+
_define_property(target, key, source[key]);
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
return target;
|
|
63
|
+
}
|
|
64
|
+
function ownKeys(object, enumerableOnly) {
|
|
65
|
+
var keys = Object.keys(object);
|
|
66
|
+
if (Object.getOwnPropertySymbols) {
|
|
67
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
68
|
+
if (enumerableOnly) {
|
|
69
|
+
symbols = symbols.filter(function(sym) {
|
|
70
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
keys.push.apply(keys, symbols);
|
|
74
|
+
}
|
|
75
|
+
return keys;
|
|
76
|
+
}
|
|
77
|
+
function _object_spread_props(target, source) {
|
|
78
|
+
source = source != null ? source : {};
|
|
79
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
80
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
81
|
+
} else {
|
|
82
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
83
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
return target;
|
|
87
|
+
}
|
|
88
|
+
function _object_without_properties(source, excluded) {
|
|
89
|
+
if (source == null) return {};
|
|
90
|
+
var target = _object_without_properties_loose(source, excluded);
|
|
91
|
+
var key, i;
|
|
92
|
+
if (Object.getOwnPropertySymbols) {
|
|
93
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
94
|
+
for(i = 0; i < sourceSymbolKeys.length; i++){
|
|
95
|
+
key = sourceSymbolKeys[i];
|
|
96
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
97
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
98
|
+
target[key] = source[key];
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
return target;
|
|
102
|
+
}
|
|
103
|
+
function _object_without_properties_loose(source, excluded) {
|
|
104
|
+
if (source == null) return {};
|
|
105
|
+
var target = {};
|
|
106
|
+
var sourceKeys = Object.keys(source);
|
|
107
|
+
var key, i;
|
|
108
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
109
|
+
key = sourceKeys[i];
|
|
110
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
111
|
+
target[key] = source[key];
|
|
112
|
+
}
|
|
113
|
+
return target;
|
|
114
|
+
}
|
|
115
|
+
function _sliced_to_array(arr, i) {
|
|
116
|
+
return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
|
|
117
|
+
}
|
|
118
|
+
function _unsupported_iterable_to_array(o, minLen) {
|
|
119
|
+
if (!o) return;
|
|
120
|
+
if (typeof o === "string") return _array_like_to_array(o, minLen);
|
|
121
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
122
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
123
|
+
if (n === "Map" || n === "Set") return Array.from(n);
|
|
124
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
125
|
+
}
|
|
126
|
+
import React, { forwardRef, useRef, useState, useEffect } from "react";
|
|
127
|
+
import cls from "classnames";
|
|
128
|
+
import { base as sizeCSS } from "./variations/_size/base";
|
|
129
|
+
import { base as viewCSS } from "./variations/_view/base";
|
|
130
|
+
import { base, StyledScrollBar, StyledContainer, StyledContent, StyledTrack, StyledThumb } from "./Scrollbar.styles";
|
|
131
|
+
import { classes } from "./Scrollbar.tokens";
|
|
132
|
+
import { parseOffset, calculateScrollbar } from "./utils";
|
|
133
|
+
var MIN_SCROLLBAR_TRACK_HEIGHT = 20;
|
|
134
|
+
export var scrollbarRoot = function(Root) {
|
|
135
|
+
return /*#__PURE__*/ forwardRef(function(_param, ref) {
|
|
136
|
+
var className = _param.className, _param_view = _param.view, view = _param_view === void 0 ? 'default' : _param_view, _param_size = _param.size, size = _param_size === void 0 ? 'm' : _param_size, _param_placement = _param.placement, placement = _param_placement === void 0 ? 'right' : _param_placement, _param_offset = _param.offset, offset = _param_offset === void 0 ? '4px' : _param_offset, _param_autoHide = _param.autoHide, autoHide = _param_autoHide === void 0 ? true : _param_autoHide, _param_autoHideDelay = _param.autoHideDelay, autoHideDelay = _param_autoHideDelay === void 0 ? 2000 : _param_autoHideDelay, style = _param.style, children = _param.children, rest = _object_without_properties(_param, [
|
|
137
|
+
"className",
|
|
138
|
+
"view",
|
|
139
|
+
"size",
|
|
140
|
+
"placement",
|
|
141
|
+
"offset",
|
|
142
|
+
"autoHide",
|
|
143
|
+
"autoHideDelay",
|
|
144
|
+
"style",
|
|
145
|
+
"children"
|
|
146
|
+
]);
|
|
147
|
+
var containerRef = useRef(null);
|
|
148
|
+
var contentRef = useRef(null);
|
|
149
|
+
var trackRef = useRef(null);
|
|
150
|
+
var thumbRef = useRef(null);
|
|
151
|
+
var hideTimeoutRef = useRef(null);
|
|
152
|
+
var isInitializedRef = useRef(false);
|
|
153
|
+
var _useState = _sliced_to_array(useState({
|
|
154
|
+
isVisible: false,
|
|
155
|
+
thumbHeight: 0,
|
|
156
|
+
thumbPosition: 0,
|
|
157
|
+
isDragging: false
|
|
158
|
+
}), 2), scrollbarState = _useState[0], setScrollbarState = _useState[1];
|
|
159
|
+
var parsedOffset = parseOffset(offset);
|
|
160
|
+
var updateScrollbar = function() {
|
|
161
|
+
var show = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : false;
|
|
162
|
+
var container = containerRef.current;
|
|
163
|
+
if (!container) return;
|
|
164
|
+
var _calculateScrollbar = calculateScrollbar(container, parsedOffset, MIN_SCROLLBAR_TRACK_HEIGHT), thumbHeight = _calculateScrollbar.thumbHeight, thumbPosition = _calculateScrollbar.thumbPosition;
|
|
165
|
+
setScrollbarState(function(prevState) {
|
|
166
|
+
if (prevState.thumbHeight === thumbHeight && prevState.thumbPosition === thumbPosition && prevState.isVisible === (show || prevState.isVisible)) {
|
|
167
|
+
return prevState;
|
|
168
|
+
}
|
|
169
|
+
return _object_spread_props(_object_spread({}, prevState), {
|
|
170
|
+
thumbHeight: thumbHeight,
|
|
171
|
+
thumbPosition: thumbPosition,
|
|
172
|
+
isVisible: show || prevState.isVisible
|
|
173
|
+
});
|
|
174
|
+
});
|
|
175
|
+
};
|
|
176
|
+
var clearHideTimeout = function() {
|
|
177
|
+
if (hideTimeoutRef.current) {
|
|
178
|
+
clearTimeout(hideTimeoutRef.current);
|
|
179
|
+
hideTimeoutRef.current = null;
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
var showScrollbarWithDelay = function() {
|
|
183
|
+
clearHideTimeout();
|
|
184
|
+
updateScrollbar(true);
|
|
185
|
+
if (autoHide) {
|
|
186
|
+
hideTimeoutRef.current = window.setTimeout(function() {
|
|
187
|
+
setScrollbarState(function(prevState) {
|
|
188
|
+
return _object_spread_props(_object_spread({}, prevState), {
|
|
189
|
+
isVisible: false
|
|
190
|
+
});
|
|
191
|
+
});
|
|
192
|
+
}, autoHideDelay);
|
|
193
|
+
}
|
|
194
|
+
};
|
|
195
|
+
var handleScroll = function() {
|
|
196
|
+
showScrollbarWithDelay();
|
|
197
|
+
updateScrollbar();
|
|
198
|
+
};
|
|
199
|
+
var handleMouseEnter = function() {
|
|
200
|
+
showScrollbarWithDelay();
|
|
201
|
+
};
|
|
202
|
+
var handleScrollbarDrag = function(e) {
|
|
203
|
+
e.preventDefault();
|
|
204
|
+
e.stopPropagation();
|
|
205
|
+
var thumb = e.currentTarget;
|
|
206
|
+
var track = thumb.parentElement;
|
|
207
|
+
var container = containerRef.current;
|
|
208
|
+
if (!container || !track) return;
|
|
209
|
+
clearHideTimeout();
|
|
210
|
+
var startY = e.clientY;
|
|
211
|
+
var startThumbPosition = parseFloat(thumb.style.top || '0');
|
|
212
|
+
var trackRect = track.getBoundingClientRect();
|
|
213
|
+
var trackHeight = trackRect.height;
|
|
214
|
+
var thumbHeight = thumb.offsetHeight;
|
|
215
|
+
var scrollHeight = container.scrollHeight, clientHeight = container.clientHeight;
|
|
216
|
+
var maxScroll = scrollHeight - clientHeight;
|
|
217
|
+
var handleMouseMove = function(moveEvent) {
|
|
218
|
+
var deltaY = moveEvent.clientY - startY;
|
|
219
|
+
var newThumbPosition = Math.max(0, Math.min(trackHeight - thumbHeight, startThumbPosition + deltaY));
|
|
220
|
+
var scrollPercentage = newThumbPosition / (trackHeight - thumbHeight);
|
|
221
|
+
var newScrollTop = scrollPercentage * maxScroll;
|
|
222
|
+
container.scrollTop = newScrollTop;
|
|
223
|
+
setScrollbarState(function(prevState) {
|
|
224
|
+
return _object_spread_props(_object_spread({}, prevState), {
|
|
225
|
+
thumbPosition: newThumbPosition,
|
|
226
|
+
isDragging: true,
|
|
227
|
+
isVisible: true
|
|
228
|
+
});
|
|
229
|
+
});
|
|
230
|
+
};
|
|
231
|
+
var handleMouseUp = function() {
|
|
232
|
+
document.removeEventListener('mousemove', handleMouseMove);
|
|
233
|
+
document.removeEventListener('mouseup', handleMouseUp);
|
|
234
|
+
setScrollbarState(function(prevState) {
|
|
235
|
+
return _object_spread_props(_object_spread({}, prevState), {
|
|
236
|
+
isDragging: false
|
|
237
|
+
});
|
|
238
|
+
});
|
|
239
|
+
showScrollbarWithDelay();
|
|
240
|
+
};
|
|
241
|
+
document.addEventListener('mousemove', handleMouseMove);
|
|
242
|
+
document.addEventListener('mouseup', handleMouseUp);
|
|
243
|
+
};
|
|
244
|
+
var handleTrackClick = function(e) {
|
|
245
|
+
e.preventDefault();
|
|
246
|
+
e.stopPropagation();
|
|
247
|
+
var track = e.currentTarget;
|
|
248
|
+
var container = containerRef.current;
|
|
249
|
+
if (!container || !track) return;
|
|
250
|
+
if (thumbRef.current && thumbRef.current.contains(e.target)) {
|
|
251
|
+
return;
|
|
252
|
+
}
|
|
253
|
+
clearHideTimeout();
|
|
254
|
+
var trackRect = track.getBoundingClientRect();
|
|
255
|
+
var clickY = e.clientY - trackRect.top;
|
|
256
|
+
var trackHeight = trackRect.height;
|
|
257
|
+
var thumbHeight = scrollbarState.thumbHeight;
|
|
258
|
+
var scrollHeight = container.scrollHeight, clientHeight = container.clientHeight;
|
|
259
|
+
var maxScroll = scrollHeight - clientHeight;
|
|
260
|
+
if (maxScroll <= 0) return;
|
|
261
|
+
var newThumbPosition = clickY - thumbHeight / 2;
|
|
262
|
+
newThumbPosition = Math.max(0, Math.min(trackHeight - thumbHeight, newThumbPosition));
|
|
263
|
+
var scrollPercentage = newThumbPosition / (trackHeight - thumbHeight);
|
|
264
|
+
var newScrollTop = scrollPercentage * maxScroll;
|
|
265
|
+
container.scrollTop = newScrollTop;
|
|
266
|
+
setScrollbarState(function(prevState) {
|
|
267
|
+
return _object_spread_props(_object_spread({}, prevState), {
|
|
268
|
+
thumbPosition: newThumbPosition,
|
|
269
|
+
isVisible: true
|
|
270
|
+
});
|
|
271
|
+
});
|
|
272
|
+
showScrollbarWithDelay();
|
|
273
|
+
};
|
|
274
|
+
useEffect(function() {
|
|
275
|
+
var container = containerRef.current;
|
|
276
|
+
if (!container) return;
|
|
277
|
+
if (!isInitializedRef.current) {
|
|
278
|
+
updateScrollbar();
|
|
279
|
+
isInitializedRef.current = true;
|
|
280
|
+
}
|
|
281
|
+
container.addEventListener('scroll', handleScroll);
|
|
282
|
+
container.addEventListener('mouseenter', handleMouseEnter);
|
|
283
|
+
var resizeObserver = new ResizeObserver(function() {
|
|
284
|
+
updateScrollbar();
|
|
285
|
+
});
|
|
286
|
+
if (contentRef.current) {
|
|
287
|
+
resizeObserver.observe(contentRef.current);
|
|
288
|
+
}
|
|
289
|
+
return function() {
|
|
290
|
+
container.removeEventListener('scroll', handleScroll);
|
|
291
|
+
container.removeEventListener('mouseenter', handleMouseEnter);
|
|
292
|
+
resizeObserver.disconnect();
|
|
293
|
+
clearHideTimeout();
|
|
294
|
+
};
|
|
295
|
+
}, []);
|
|
296
|
+
useEffect(function() {
|
|
297
|
+
updateScrollbar();
|
|
298
|
+
}, [
|
|
299
|
+
children,
|
|
300
|
+
offset
|
|
301
|
+
]);
|
|
302
|
+
var _obj;
|
|
303
|
+
return /*#__PURE__*/ React.createElement(Root, _object_spread({
|
|
304
|
+
view: view,
|
|
305
|
+
size: size,
|
|
306
|
+
className: cls(classes.scrollBarRoot, className),
|
|
307
|
+
ref: ref
|
|
308
|
+
}, rest), /*#__PURE__*/ React.createElement(StyledScrollBar, {
|
|
309
|
+
className: cls((_obj = {}, _define_property(_obj, classes.scrollBarVisible, scrollbarState.isVisible), _define_property(_obj, classes.scrollBarDragging, scrollbarState.isDragging), _obj)),
|
|
310
|
+
style: _object_spread_props(_object_spread({}, style), {
|
|
311
|
+
'--scrollbar-offset-top': parsedOffset.top,
|
|
312
|
+
'--scrollbar-offset-right': parsedOffset.right,
|
|
313
|
+
'--scrollbar-offset-bottom': parsedOffset.bottom,
|
|
314
|
+
'--scrollbar-offset-left': parsedOffset.left
|
|
315
|
+
}),
|
|
316
|
+
"data-placement": placement,
|
|
317
|
+
"data-size": size,
|
|
318
|
+
"data-view": view
|
|
319
|
+
}, /*#__PURE__*/ React.createElement(StyledContainer, {
|
|
320
|
+
ref: containerRef,
|
|
321
|
+
className: classes.scrollBarContainer,
|
|
322
|
+
"data-placement": placement
|
|
323
|
+
}, /*#__PURE__*/ React.createElement(StyledContent, {
|
|
324
|
+
ref: contentRef,
|
|
325
|
+
className: classes.scrollBarContent
|
|
326
|
+
}, children)), /*#__PURE__*/ React.createElement(StyledTrack, {
|
|
327
|
+
ref: trackRef,
|
|
328
|
+
className: cls(classes.scrollBarTrack, _define_property({}, classes.scrollBarTrackVisible, scrollbarState.isVisible)),
|
|
329
|
+
"data-placement": placement,
|
|
330
|
+
onMouseDown: handleTrackClick
|
|
331
|
+
}, /*#__PURE__*/ React.createElement(StyledThumb, {
|
|
332
|
+
ref: thumbRef,
|
|
333
|
+
className: classes.scrollBarThumb,
|
|
334
|
+
style: {
|
|
335
|
+
height: "".concat(scrollbarState.thumbHeight, "px"),
|
|
336
|
+
top: "".concat(scrollbarState.thumbPosition, "px")
|
|
337
|
+
},
|
|
338
|
+
onMouseDown: handleScrollbarDrag
|
|
339
|
+
}))));
|
|
340
|
+
});
|
|
341
|
+
};
|
|
342
|
+
export var scrollbarConfig = {
|
|
343
|
+
name: 'Scrollbar',
|
|
344
|
+
tag: 'div',
|
|
345
|
+
layout: scrollbarRoot,
|
|
346
|
+
base: base,
|
|
347
|
+
variations: {
|
|
348
|
+
view: {
|
|
349
|
+
css: viewCSS
|
|
350
|
+
},
|
|
351
|
+
size: {
|
|
352
|
+
css: sizeCSS
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
defaults: {
|
|
356
|
+
size: 'm',
|
|
357
|
+
view: 'default'
|
|
358
|
+
}
|
|
359
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import styled from "styled-components";
|
|
2
|
+
import { css } from "styled-components";
|
|
3
|
+
import { tokens, classes } from "./Scrollbar.tokens";
|
|
4
|
+
export var base = css([
|
|
5
|
+
"display:flex;position:relative;width:100%;height:100%;"
|
|
6
|
+
]);
|
|
7
|
+
export var StyledScrollBar = styled.div.withConfig({
|
|
8
|
+
displayName: "Scrollbar.styles__StyledScrollBar",
|
|
9
|
+
componentId: "sc-d13e1ac1-0"
|
|
10
|
+
})([
|
|
11
|
+
"position:relative;width:var(",
|
|
12
|
+
",100%);height:var(",
|
|
13
|
+
",100%);overflow:hidden;&.",
|
|
14
|
+
"{.",
|
|
15
|
+
"{opacity:1;pointer-events:auto;}}&.",
|
|
16
|
+
"{.",
|
|
17
|
+
"{background-color:var(",
|
|
18
|
+
") !important;}}"
|
|
19
|
+
], tokens.width, tokens.height, classes.scrollBarVisible, classes.scrollBarTrack, classes.scrollBarDragging, classes.scrollBarThumb, tokens.thumbColorActive);
|
|
20
|
+
export var StyledContainer = styled.div.withConfig({
|
|
21
|
+
displayName: "Scrollbar.styles__StyledContainer",
|
|
22
|
+
componentId: "sc-d13e1ac1-1"
|
|
23
|
+
})([
|
|
24
|
+
"width:100%;height:100%;overflow:auto;overflow:overlay;scrollbar-width:none;-ms-overflow-style:none;box-sizing:border-box;&::-webkit-scrollbar{display:none;width:0;height:0;}"
|
|
25
|
+
]);
|
|
26
|
+
export var StyledContent = styled.div.withConfig({
|
|
27
|
+
displayName: "Scrollbar.styles__StyledContent",
|
|
28
|
+
componentId: "sc-d13e1ac1-2"
|
|
29
|
+
})([
|
|
30
|
+
"min-height:100%;box-sizing:border-box;width:100%;"
|
|
31
|
+
]);
|
|
32
|
+
export var StyledTrack = styled.div.withConfig({
|
|
33
|
+
displayName: "Scrollbar.styles__StyledTrack",
|
|
34
|
+
componentId: "sc-d13e1ac1-3"
|
|
35
|
+
})([
|
|
36
|
+
"position:absolute;width:var(",
|
|
37
|
+
");opacity:0;transition:opacity 0.3s ease;pointer-events:none;z-index:10;background:var(",
|
|
38
|
+
");border-radius:var(",
|
|
39
|
+
");top:var(--scrollbar-offset-top,0);bottom:var(--scrollbar-offset-bottom,0);&[data-placement='left']{left:var(--scrollbar-offset-left,0);}&[data-placement='right']{right:var(--scrollbar-offset-right,0);}&.",
|
|
40
|
+
"{opacity:1;pointer-events:auto;}"
|
|
41
|
+
], tokens.trackWidth, tokens.trackColor, tokens.trackBorderRadius, classes.scrollBarTrackVisible);
|
|
42
|
+
export var StyledThumb = styled.div.withConfig({
|
|
43
|
+
displayName: "Scrollbar.styles__StyledThumb",
|
|
44
|
+
componentId: "sc-d13e1ac1-4"
|
|
45
|
+
})([
|
|
46
|
+
"position:absolute;left:0;width:100%;background:var(",
|
|
47
|
+
");border-radius:var(",
|
|
48
|
+
");cursor:pointer;transition:background-color 0.2s ease;box-sizing:border-box;&:hover{background:var(",
|
|
49
|
+
");}&:active{background:var(",
|
|
50
|
+
");}"
|
|
51
|
+
], tokens.thumbColor, tokens.thumbBorderRadius, tokens.thumbColorHover, tokens.thumbColorActive);
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export var tokens = {
|
|
2
|
+
width: '--scrollbar-width',
|
|
3
|
+
height: '--scrollbar-height',
|
|
4
|
+
trackWidth: '--scrollbar-track-width',
|
|
5
|
+
trackColor: '--scrollbar-track-color',
|
|
6
|
+
trackBorderRadius: '--scrollbar-track-border-radius',
|
|
7
|
+
thumbColor: '--scrollbar-thumb-color',
|
|
8
|
+
thumbColorHover: '--scrollbar-thumb-color-hover',
|
|
9
|
+
thumbColorActive: '--scrollbar-thumb-color-active',
|
|
10
|
+
thumbBorderRadius: '--scrollbar-thumb-border-radius'
|
|
11
|
+
};
|
|
12
|
+
export var classes = {
|
|
13
|
+
scrollBarRoot: 'scrollbar-root',
|
|
14
|
+
scrollBarContainer: 'scrollbar-container',
|
|
15
|
+
scrollBarContent: 'scrollbar-content',
|
|
16
|
+
scrollBarTrack: 'scrollbar-track',
|
|
17
|
+
scrollBarThumb: 'scrollbar-thumb',
|
|
18
|
+
scrollBarVisible: 'scrollbar-visible',
|
|
19
|
+
scrollBarDragging: 'scrollbar-dragging',
|
|
20
|
+
scrollBarTrackVisible: 'scrollbar-track-visible'
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|