@jetbrains/ring-ui-built 7.0.62 → 7.0.63
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/components/_helpers/card.js +4 -3
- package/components/_helpers/{dialog__body-scroll-preventer.js → dialog-body-scroll-preventer.js} +4 -4
- package/components/_helpers/input.js +8 -8
- package/components/_helpers/{select__filter.js → select-filter.js} +1 -1
- package/components/_helpers/services-link.js +3 -3
- package/components/_helpers/theme.js +2 -2
- package/components/alert/alert.d.ts +1 -1
- package/components/alert/alert.js +9 -8
- package/components/alert/container.d.ts +1 -1
- package/components/alert/container.js +2 -2
- package/components/alert-service/alert-service.d.ts +2 -2
- package/components/alert-service/alert-service.js +4 -4
- package/components/analytics/{analytics__custom-plugin.d.ts → analytics-custom-plugin.d.ts} +1 -1
- package/components/analytics/{analytics__custom-plugin.js → analytics-custom-plugin.js} +2 -2
- package/components/auth/{auth__core.d.ts → auth-core.d.ts} +9 -8
- package/components/auth/{auth__core.js → auth-core.js} +18 -22
- package/components/auth/auth.d.ts +2 -2
- package/components/auth/auth.js +8 -8
- package/components/auth/background-flow.d.ts +2 -2
- package/components/auth/background-flow.js +1 -3
- package/components/auth/down-notification.js +6 -6
- package/components/auth/iframe-flow.d.ts +3 -3
- package/components/auth/iframe-flow.js +9 -11
- package/components/auth/request-builder.d.ts +2 -1
- package/components/auth/request-builder.js +1 -2
- package/components/auth/storage.d.ts +3 -3
- package/components/auth/storage.js +9 -11
- package/components/auth/token-validator.d.ts +2 -1
- package/components/auth/token-validator.js +12 -3
- package/components/auth/window-flow.d.ts +3 -3
- package/components/auth/window-flow.js +5 -7
- package/components/auth-dialog/auth-dialog.js +9 -9
- package/components/auth-dialog-service/auth-dialog-service.d.ts +1 -1
- package/components/auth-dialog-service/auth-dialog-service.js +5 -5
- package/components/avatar/avatar-info.d.ts +1 -1
- package/components/avatar/avatar.d.ts +1 -1
- package/components/avatar/avatar.figma.js +1 -2
- package/components/avatar/avatar.js +16 -17
- package/components/avatar/fallback-avatar.js +17 -18
- package/components/avatar-stack/avatar-stack.d.ts +3 -3
- package/components/avatar-stack/avatar-stack.figma.js +1 -2
- package/components/avatar-stack/avatar-stack.js +12 -12
- package/components/banner/banner.js +4 -4
- package/components/breadcrumbs/breadcrumbs.d.ts +1 -1
- package/components/breadcrumbs/breadcrumbs.figma.js +1 -2
- package/components/button/{button__classes.d.ts → button.classes.d.ts} +1 -1
- package/components/button/button.classes.js +2 -0
- package/components/button/button.d.ts +4 -4
- package/components/button/button.figma.js +1 -2
- package/components/button/button.js +9 -9
- package/components/button-group/button-group.d.ts +1 -1
- package/components/button-group/button-group.js +1 -1
- package/components/button-group/caption.d.ts +1 -1
- package/components/button-set/button-set.d.ts +1 -1
- package/components/button-toolbar/button-toolbar.d.ts +1 -1
- package/components/caret/caret.js +24 -17
- package/components/checkbox/checkbox-group.figma.js +1 -2
- package/components/checkbox/checkbox.d.ts +1 -1
- package/components/checkbox/checkbox.figma.js +1 -2
- package/components/checkbox/checkbox.js +8 -8
- package/components/clipboard/clipboard.js +8 -8
- package/components/code/code.d.ts +1 -1
- package/components/code/code.js +3 -3
- package/components/collapse/collapse-content.d.ts +3 -3
- package/components/collapse/collapse-control.d.ts +2 -2
- package/components/collapse/collapse.d.ts +3 -3
- package/components/confirm/confirm.d.ts +1 -1
- package/components/confirm/confirm.js +8 -8
- package/components/confirm-service/confirm-service.d.ts +3 -3
- package/components/confirm-service/confirm-service.js +5 -5
- package/components/content-layout/content-layout.d.ts +1 -1
- package/components/content-layout/content-layout.js +2 -2
- package/components/content-layout/sidebar.d.ts +1 -1
- package/components/contenteditable/contenteditable.d.ts +1 -1
- package/components/contenteditable/contenteditable.js +2 -1
- package/components/control-help/control-help.d.ts +1 -1
- package/components/control-label/control-label.d.ts +1 -1
- package/components/data-list/data-list.d.ts +5 -5
- package/components/data-list/data-list.js +8 -8
- package/components/data-list/data-list.mock.d.ts +2 -2
- package/components/data-list/data-list.mock.js +24 -24
- package/components/data-list/item.d.ts +3 -3
- package/components/data-list/item.js +9 -9
- package/components/data-list/selection.d.ts +1 -1
- package/components/data-list/selection.js +8 -1
- package/components/data-list/title.d.ts +2 -2
- package/components/data-list/title.js +3 -3
- package/components/date-picker/consts.d.ts +1 -1
- package/components/date-picker/date-input.d.ts +1 -1
- package/components/date-picker/date-input.js +7 -7
- package/components/date-picker/date-picker.d.ts +5 -5
- package/components/date-picker/date-picker.js +27 -22
- package/components/date-picker/date-popup.d.ts +1 -1
- package/components/date-picker/date-popup.js +9 -8
- package/components/date-picker/day.d.ts +2 -2
- package/components/date-picker/day.js +4 -4
- package/components/date-picker/formats.js +1 -0
- package/components/date-picker/month-names.d.ts +1 -1
- package/components/date-picker/month-names.js +1 -1
- package/components/date-picker/month-slider.d.ts +2 -2
- package/components/date-picker/month-slider.js +1 -1
- package/components/date-picker/month.d.ts +1 -1
- package/components/date-picker/months.d.ts +1 -1
- package/components/date-picker/months.js +2 -2
- package/components/date-picker/years.d.ts +1 -1
- package/components/date-picker/years.js +2 -2
- package/components/dialog/{dialog__body-scroll-preventer.js → dialog-body-scroll-preventer.js} +1 -1
- package/components/dialog/dialog.d.ts +1 -1
- package/components/dialog/dialog.js +15 -15
- package/components/dropdown/anchor.d.ts +1 -1
- package/components/dropdown/anchor.js +4 -4
- package/components/dropdown/dropdown.d.ts +2 -2
- package/components/dropdown/dropdown.js +6 -6
- package/components/dropdown-menu/dropdown-menu.d.ts +5 -5
- package/components/dropdown-menu/dropdown-menu.js +11 -11
- package/components/editable-heading/editable-heading.d.ts +1 -1
- package/components/editable-heading/editable-heading.js +8 -7
- package/components/error-bubble/error-bubble.d.ts +1 -1
- package/components/error-bubble/error-bubble.figma.js +1 -2
- package/components/error-bubble/error-bubble.js +2 -2
- package/components/error-message/error-message.d.ts +2 -2
- package/components/error-message/error-message.js +3 -3
- package/components/footer/footer.d.ts +1 -1
- package/components/footer/footer.js +2 -2
- package/components/global/compose-refs.d.ts +2 -0
- package/components/global/compose-refs.js +19 -0
- package/components/global/composeRefs.d.ts +6 -2
- package/components/global/composeRefs.js +6 -16
- package/components/global/create-stateful-context.d.ts +1 -1
- package/components/global/dom.d.ts +1 -1
- package/components/global/dom.js +2 -3
- package/components/global/focus-sensor-hoc.d.ts +1 -1
- package/components/global/focus-sensor-hoc.js +2 -2
- package/components/global/fuzzy-highlight.d.ts +2 -2
- package/components/global/get-event-key.d.ts +1 -1
- package/components/global/memoize.js +1 -1
- package/components/global/rerender-hoc.d.ts +1 -1
- package/components/global/rerender-hoc.js +2 -2
- package/components/global/theme.d.ts +1 -1
- package/components/global/url.js +3 -3
- package/components/global/use-event-callback.js +1 -1
- package/components/grid/col.d.ts +1 -1
- package/components/grid/col.js +1 -1
- package/components/grid/grid.d.ts +1 -1
- package/components/grid/grid.js +1 -1
- package/components/grid/row.d.ts +1 -1
- package/components/grid/row.js +1 -1
- package/components/group/group.d.ts +1 -1
- package/components/group/group.js +1 -1
- package/components/header/header-icon.d.ts +2 -2
- package/components/header/header-icon.js +4 -4
- package/components/header/header.d.ts +1 -1
- package/components/header/header.js +17 -17
- package/components/header/links.d.ts +1 -1
- package/components/header/logo.d.ts +1 -1
- package/components/header/logo.js +2 -2
- package/components/header/profile.d.ts +5 -5
- package/components/header/profile.js +14 -14
- package/components/header/services-link.d.ts +1 -1
- package/components/header/services-link.js +1 -1
- package/components/header/services.d.ts +2 -2
- package/components/header/services.js +7 -7
- package/components/header/smart-profile.d.ts +3 -3
- package/components/header/smart-profile.js +25 -25
- package/components/header/smart-services.d.ts +3 -3
- package/components/header/smart-services.js +4 -4
- package/components/header/tray.d.ts +1 -1
- package/components/heading/heading.d.ts +1 -1
- package/components/http/http.mock.d.ts +1 -1
- package/components/hub-source/{hub-source__user.d.ts → hub-source-user.d.ts} +3 -2
- package/components/hub-source/{hub-source__users-groups.d.ts → hub-source-users-groups.d.ts} +3 -2
- package/components/hub-source/hub-source.d.ts +2 -2
- package/components/icon/{icon__svg.d.ts → icon-svg.d.ts} +1 -1
- package/components/icon/{icon__svg.js → icon-svg.js} +1 -1
- package/components/icon/icon.d.ts +2 -2
- package/components/icon/icon.js +3 -3
- package/components/icon/index.js +2 -2
- package/components/input/input.d.ts +3 -3
- package/components/input/input.figma.js +1 -2
- package/components/input/input.js +5 -5
- package/components/island/adaptive-island-hoc.d.ts +1 -1
- package/components/island/content.d.ts +1 -1
- package/components/island/content.js +2 -2
- package/components/island/header.d.ts +1 -1
- package/components/island/header.js +4 -4
- package/components/island/island.d.ts +1 -1
- package/components/link/clickable-link.d.ts +12 -0
- package/components/link/clickable-link.js +51 -0
- package/components/link/clickableLink.d.ts +11 -12
- package/components/link/clickableLink.js +5 -50
- package/components/link/link.d.ts +2 -2
- package/components/link/link.js +3 -3
- package/components/list/consts.d.ts +4 -5
- package/components/list/{list__custom.d.ts → list-custom.d.ts} +1 -1
- package/components/list/{list__custom.js → list-custom.js} +1 -1
- package/components/list/{list__hint.d.ts → list-hint.d.ts} +1 -1
- package/components/list/{list__hint.js → list-hint.js} +1 -1
- package/components/list/{list__item.d.ts → list-item.d.ts} +2 -2
- package/components/list/{list__item.js → list-item.js} +10 -9
- package/components/list/{list__separator.d.ts → list-separator.d.ts} +1 -1
- package/components/list/{list__separator.js → list-separator.js} +1 -1
- package/components/list/{list__title.d.ts → list-title.d.ts} +1 -1
- package/components/list/{list__title.js → list-title.js} +3 -3
- package/components/list/{list__users-groups-source.d.ts → list-users-groups-source.d.ts} +3 -2
- package/components/list/{list__users-groups-source.js → list-users-groups-source.js} +11 -11
- package/components/list/{list__classes.d.ts → list.classes.d.ts} +1 -1
- package/components/list/list.d.ts +7 -7
- package/components/list/list.js +36 -35
- package/components/loader/{loader__core.js → loader-core.js} +3 -2
- package/components/loader/loader.d.ts +2 -2
- package/components/loader/loader.js +1 -1
- package/components/loader-inline/loader-inline.d.ts +1 -1
- package/components/loader-screen/loader-screen.d.ts +1 -1
- package/components/loader-screen/loader-screen.js +1 -1
- package/components/login-dialog/login-dialog.d.ts +1 -1
- package/components/login-dialog/login-dialog.js +9 -9
- package/components/login-dialog/service.d.ts +1 -1
- package/components/login-dialog/service.js +6 -6
- package/components/markdown/markdown.d.ts +1 -1
- package/components/markdown/markdown.js +1 -1
- package/components/message/message.d.ts +4 -4
- package/components/message/message.js +7 -7
- package/components/old-browsers-message/old-browsers-message.js +1 -1
- package/components/pager/pager.d.ts +2 -2
- package/components/pager/pager.js +28 -27
- package/components/panel/panel.d.ts +1 -1
- package/components/panel/panel.js +1 -1
- package/components/permissions/{permissions__cache.js → permissions-cache.js} +4 -4
- package/components/permissions/permissions.d.ts +2 -2
- package/components/permissions/permissions.js +2 -3
- package/components/popup/popup.d.ts +2 -2
- package/components/popup/popup.js +4 -4
- package/components/popup/popup.target.d.ts +1 -1
- package/components/popup/position-css.js +2 -4
- package/components/popup/position.js +10 -9
- package/components/popup-menu/popup-menu.d.ts +4 -4
- package/components/popup-menu/popup-menu.js +10 -10
- package/components/progress-bar/progress-bar.d.ts +1 -1
- package/components/progress-bar/progress-bar.js +1 -1
- package/components/query-assist/{query-assist__suggestions.d.ts → query-assist-suggestions.d.ts} +1 -1
- package/components/query-assist/{query-assist__suggestions.js → query-assist-suggestions.js} +11 -11
- package/components/query-assist/query-assist.d.ts +4 -4
- package/components/query-assist/query-assist.js +30 -30
- package/components/radio/{radio__item.d.ts → radio-item.d.ts} +1 -1
- package/components/radio/{radio__item.js → radio-item.js} +3 -3
- package/components/radio/radio.d.ts +2 -2
- package/components/radio/radio.js +1 -1
- package/components/scrollable-section/scrollable-section.d.ts +1 -1
- package/components/scrollable-section/scrollable-section.js +1 -1
- package/components/select/{select__filter.d.ts → select-filter.d.ts} +2 -2
- package/components/select/{select__filter.js → select-filter.js} +12 -12
- package/components/select/{select__popup.d.ts → select-popup.d.ts} +8 -8
- package/components/select/{select__popup.js → select-popup.js} +21 -19
- package/components/select/select.d.ts +6 -6
- package/components/select/select.js +44 -42
- package/components/shortcuts/core.js +4 -4
- package/components/shortcuts/shortcuts-hoc.d.ts +2 -2
- package/components/shortcuts/shortcuts.d.ts +1 -1
- package/components/slider/slider.d.ts +5 -5
- package/components/slider/slider.js +7 -6
- package/components/slider/slider.utils.d.ts +1 -1
- package/components/slider/slider.utils.js +2 -3
- package/components/storage/{storage__local.d.ts → storage-local.d.ts} +1 -1
- package/components/storage/{storage__local.js → storage-local.js} +11 -11
- package/components/storage/storage.d.ts +1 -1
- package/components/storage/storage.js +5 -5
- package/components/style.css +1 -1
- package/components/tab-trap/tab-trap.d.ts +1 -1
- package/components/tab-trap/tab-trap.js +1 -1
- package/components/table/cell.d.ts +1 -1
- package/components/table/disable-hover-hoc.d.ts +1 -1
- package/components/table/header-cell.d.ts +1 -1
- package/components/table/header-cell.js +3 -3
- package/components/table/header.d.ts +2 -2
- package/components/table/header.js +7 -7
- package/components/table/multitable.d.ts +3 -3
- package/components/table/multitable.js +1 -1
- package/components/table/row-with-focus-sensor.d.ts +3 -3
- package/components/table/row-with-focus-sensor.js +5 -5
- package/components/table/row.d.ts +4 -4
- package/components/table/row.js +5 -5
- package/components/table/selection-adapter.d.ts +2 -1
- package/components/table/selection-shortcuts-hoc.d.ts +4 -3
- package/components/table/selection-shortcuts-hoc.js +1 -2
- package/components/table/selection.js +5 -6
- package/components/table/simple-table.d.ts +2 -2
- package/components/table/simple-table.js +6 -6
- package/components/table/smart-table.d.ts +2 -2
- package/components/table/smart-table.js +6 -6
- package/components/table/table.d.ts +7 -7
- package/components/table/table.js +11 -11
- package/components/tabs/collapsible-more.d.ts +3 -3
- package/components/tabs/collapsible-more.js +12 -12
- package/components/tabs/collapsible-tab.d.ts +2 -2
- package/components/tabs/collapsible-tab.js +2 -2
- package/components/tabs/collapsible-tabs.d.ts +2 -2
- package/components/tabs/collapsible-tabs.js +18 -18
- package/components/tabs/custom-item.d.ts +2 -2
- package/components/tabs/dumb-tabs.d.ts +3 -3
- package/components/tabs/dumb-tabs.js +14 -14
- package/components/tabs/smart-tabs.d.ts +1 -1
- package/components/tabs/smart-tabs.js +11 -11
- package/components/tabs/tab-link.d.ts +2 -2
- package/components/tabs/tab-link.js +1 -1
- package/components/tabs/tab.d.ts +2 -2
- package/components/tabs/tabs.js +11 -11
- package/components/tag/tag.d.ts +2 -2
- package/components/tag/tag.js +7 -7
- package/components/tags-input/tags-input.d.ts +8 -8
- package/components/tags-input/tags-input.js +26 -20
- package/components/tags-list/tags-list.d.ts +2 -2
- package/components/tags-list/tags-list.js +5 -5
- package/components/text/text.d.ts +1 -1
- package/components/toggle/toggle.d.ts +1 -1
- package/components/toggle/toggle.js +2 -2
- package/components/tooltip/tooltip.d.ts +2 -2
- package/components/tooltip/tooltip.js +1 -1
- package/components/upload/upload.d.ts +3 -3
- package/components/upload/upload.js +7 -7
- package/components/user-agreement/service.d.ts +2 -2
- package/components/user-agreement/service.js +10 -11
- package/components/user-agreement/user-agreement.d.ts +1 -1
- package/components/user-agreement/user-agreement.js +10 -10
- package/components/user-card/card.d.ts +1 -1
- package/components/user-card/card.js +4 -4
- package/components/user-card/smart-user-card-tooltip.d.ts +2 -2
- package/components/user-card/smart-user-card-tooltip.js +4 -4
- package/components/user-card/tooltip.d.ts +3 -3
- package/components/user-card/tooltip.js +4 -4
- package/components/user-card/user-card.js +4 -4
- package/package.json +1 -1
- package/components/button/button__classes.js +0 -2
- /package/components/_helpers/{button__classes.js → button.classes.js} +0 -0
- /package/components/_helpers/{icon__svg.js → icon-svg.js} +0 -0
- /package/components/_helpers/{query-assist__suggestions.js → query-assist-suggestions.js} +0 -0
- /package/components/dialog/{dialog__body-scroll-preventer.d.ts → dialog-body-scroll-preventer.d.ts} +0 -0
- /package/components/global/{variables.d.ts → variables.interface.d.ts} +0 -0
- /package/components/global/{variables.js → variables.interface.js} +0 -0
- /package/components/hub-source/{hub-source__user.js → hub-source-user.js} +0 -0
- /package/components/hub-source/{hub-source__users-groups.js → hub-source-users-groups.js} +0 -0
- /package/components/icon/{icon__constants.d.ts → icon.constants.d.ts} +0 -0
- /package/components/icon/{icon__constants.js → icon.constants.js} +0 -0
- /package/components/list/{list__classes.js → list.classes.js} +0 -0
- /package/components/loader/{loader__core.d.ts → loader-core.d.ts} +0 -0
- /package/components/old-browsers-message/{old-browsers-message__stop.d.ts → old-browsers-message-stop.d.ts} +0 -0
- /package/components/old-browsers-message/{old-browsers-message__stop.js → old-browsers-message-stop.js} +0 -0
- /package/components/permissions/{permissions__cache.d.ts → permissions-cache.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Component } from 'react';
|
|
2
|
-
import { MonthsProps } from './consts';
|
|
2
|
+
import { type MonthsProps } from './consts';
|
|
3
3
|
export interface DayProps extends MonthsProps {
|
|
4
4
|
day: Date;
|
|
5
5
|
empty: boolean;
|
|
@@ -11,7 +11,7 @@ export default class Day extends Component<DayProps> {
|
|
|
11
11
|
isDay: (date: Date) => boolean;
|
|
12
12
|
is: (name: "date" | "from" | "to" | "activeDate") => boolean;
|
|
13
13
|
inRange: (range: [Date, Date] | null) => boolean | null;
|
|
14
|
-
isDisabled: (date: Date) => boolean;
|
|
14
|
+
isDisabled: (date: Date) => boolean | null;
|
|
15
15
|
parse(text: string | null | undefined): Date | null;
|
|
16
16
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
}
|
|
@@ -35,13 +35,13 @@ class Day extends Component {
|
|
|
35
35
|
_defineProperty(this, "isDay", date => isSameDay(this.props.day, date));
|
|
36
36
|
_defineProperty(this, "is", name => {
|
|
37
37
|
const value = this.props[name];
|
|
38
|
-
return value
|
|
38
|
+
return !!value && this.isDay(value);
|
|
39
39
|
});
|
|
40
40
|
_defineProperty(this, "inRange", range => range && isAfter(startOfDay(this.props.day), startOfDay(range[0])) && isBefore(startOfDay(this.props.day), startOfDay(range[1])));
|
|
41
41
|
_defineProperty(this, "isDisabled", date => {
|
|
42
42
|
const min = this.parse(this.props.minDate);
|
|
43
43
|
const max = this.parse(this.props.maxDate);
|
|
44
|
-
return min
|
|
44
|
+
return min && isBefore(startOfDay(date), startOfDay(min)) || max && isAfter(startOfDay(date), startOfDay(max));
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
parse(text) {
|
|
@@ -62,12 +62,12 @@ class Day extends Component {
|
|
|
62
62
|
return range && [range[0], addDays(range[1], 1)];
|
|
63
63
|
}
|
|
64
64
|
const spreadRange = makeSpreadRange(currentRange);
|
|
65
|
-
const disabled = this.isDisabled(day);
|
|
65
|
+
const disabled = !!this.isDisabled(day);
|
|
66
66
|
const activeSpreadRange = makeSpreadRange(activeRange);
|
|
67
67
|
return (
|
|
68
68
|
// TODO make keyboard navigation actually work
|
|
69
69
|
jsx("button", {
|
|
70
|
-
type:
|
|
70
|
+
type: 'button',
|
|
71
71
|
className: classNames(styles.day, styles["Day".concat(dayInWeek)], {
|
|
72
72
|
[styles.current]: ['date', 'from', 'to'].some(this.is),
|
|
73
73
|
[styles.active]: !disabled && this.is('activeDate'),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable max-lines */
|
|
1
2
|
var formats = ['d M', 'dd M', 'dd MM', 'd-M', 'dd-M', 'dd-MM', 'd.M', 'dd.M', 'dd.MM', 'd\\M', 'dd\\M', 'dd\\MM', 'd/M', 'dd/M', 'dd/MM', 'd M yy', 'dd M yy', 'dd MM yy', 'd M yyyy', 'dd M yyyy', 'dd MM yyyy', 'd-M-yy', 'dd-M-yy', 'dd-MM-yy', 'd-M-yyyy', 'dd-M-yyyy', 'dd-MM-yyyy', 'd.M.yy', 'dd.M.yy', 'dd.MM.yy', 'd.M.yyyy', 'dd.M.yyyy', 'dd.MM.yyyy', 'd\\M\\yy', 'dd\\M\\yy', 'dd\\MM\\yy', 'd\\M\\yyyy', 'dd\\M\\yyyy', 'dd\\MM\\yyyy', 'd/M/yy', 'dd/M/yy', 'dd/MM/yy', 'd/M/yyyy', 'dd/M/yyyy', 'dd/MM/yyyy', 'd M yy', 'dd M yy', 'dd MM yy', 'd M yyyy', 'dd M yyyy', 'dd MM yyyy', 'd-M-yy', 'dd-M-yy', 'dd-MM-yy', 'd-M-yyyy', 'dd-M-yyyy', 'dd-MM-yyyy', 'd.M.yy', 'dd.M.yy', 'dd.MM.yy', 'd.M.yyyy', 'dd.M.yyyy', 'dd.MM.yyyy', 'd\\M\\yy', 'dd\\M\\yy', 'dd\\MM\\yy', 'd\\M\\yyyy', 'dd\\M\\yyyy', 'dd\\MM\\yyyy', 'd/M/yy', 'dd/M/yy', 'dd/MM/yy', 'd/M/yyyy', 'dd/M/yyyy', 'dd/MM/yyyy', 'yy M d', 'yy M dd', 'yy MM dd', 'yyyy M d', 'yyyy M dd', 'yyyy MM dd', 'yy-M-d', 'yy-M-dd', 'yy-MM-dd', 'yyyy-M-d', 'yyyy-M-dd', 'yyyy-MM-dd', 'yy.M.d', 'yy.M.dd', 'yy.MM.dd', 'yyyy.M.d', 'yyyy.M.dd', 'yyyy.MM.dd', 'yy\\M\\d', 'yy\\M\\dd', 'yy\\MM\\dd', 'yyyy\\M\\d', 'yyyy\\M\\dd', 'yyyy\\MM\\dd', 'yy/M/d', 'yy/M/dd', 'yy/MM/dd', 'yyyy/M/d', 'yyyy/M/dd', 'yyyy/MM/dd', 'yy d M', 'yy dd M', 'yy dd MM', 'yyyy d M', 'yyyy dd MM', 'yyyy dd MM', 'yy-d-M', 'yy-dd-M', 'yy-dd-MM', 'yyyy-d-M', 'yyyy-dd-MM', 'yyyy-dd-MM', 'yy.d.M', 'yy.dd.M', 'yy.dd.MM', 'yyyy.d.M', 'yyyy.dd.MM', 'yyyy.dd.MM', 'yy\\d\\M', 'yy\\dd\\M', 'yy\\dd\\MM', 'yyyy\\d\\M', 'yyyy\\dd\\MM', 'yyyy\\dd\\MM', 'yy/d/M', 'yy/dd/M', 'yy/dd/MM', 'yyyy/d/M', 'yyyy/dd/MM', 'yyyy/dd/MM', 'd MMM', 'd MMMM', 'dd MMM', 'dd MMMM', 'd M HH:mm', 'd M, HH:mm', 'dd M HH:mm', 'dd M, HH:mm', 'dd MM HH:mm', 'dd MM, HH:mm', 'd-M HH:mm', 'd-M, HH:mm', 'dd-M HH:mm', 'dd-M, HH:mm', 'dd-MM HH:mm', 'dd-MM, HH:mm', 'd.M HH:mm', 'd.M, HH:mm', 'dd.M HH:mm', 'dd.M, HH:mm', 'dd.MM HH:mm', 'dd.MM, HH:mm', 'd\\M HH:mm', 'd\\M, HH:mm', 'dd\\M HH:mm', 'dd\\M, HH:mm', 'dd\\MM HH:mm', 'dd\\MM, HH:mm', 'd/M HH:mm', 'd/M, HH:mm', 'dd/M HH:mm', 'dd/M, HH:mm', 'dd/MM HH:mm', 'dd/MM, HH:mm', 'd M yy HH:mm', 'd M yy, HH:mm', 'dd M yy HH:mm', 'dd M yy, HH:mm', 'dd MM yy HH:mm', 'dd MM yy, HH:mm', 'd M yyyy HH:mm', 'd M yyyy, HH:mm', 'dd M yyyy HH:mm', 'dd M yyyy, HH:mm', 'dd MM yyyy HH:mm', 'dd MM yyyy, HH:mm', 'd-M-yy HH:mm', 'd-M-yy, HH:mm', 'dd-M-yy HH:mm', 'dd-M-yy, HH:mm', 'dd-MM-yy HH:mm', 'dd-MM-yy, HH:mm', 'd-M-yyyy HH:mm', 'd-M-yyyy, HH:mm', 'dd-M-yyyy HH:mm', 'dd-M-yyyy, HH:mm', 'dd-MM-yyyy HH:mm', 'dd-MM-yyyy, HH:mm', 'd.M.yy HH:mm', 'd.M.yy, HH:mm', 'dd.M.yy HH:mm', 'dd.M.yy, HH:mm', 'dd.MM.yy HH:mm', 'dd.MM.yy, HH:mm', 'd.M.yyyy HH:mm', 'd.M.yyyy, HH:mm', 'dd.M.yyyy HH:mm', 'dd.M.yyyy, HH:mm', 'dd.MM.yyyy HH:mm', 'dd.MM.yyyy, HH:mm', 'd\\M\\yy HH:mm', 'd\\M\\yy, HH:mm', 'dd\\M\\yy HH:mm', 'dd\\M\\yy, HH:mm', 'dd\\MM\\yy HH:mm', 'dd\\MM\\yy, HH:mm', 'd\\M\\yyyy HH:mm', 'd\\M\\yyyy, HH:mm', 'dd\\M\\yyyy HH:mm', 'dd\\M\\yyyy, HH:mm', 'dd\\MM\\yyyy HH:mm', 'dd\\MM\\yyyy, HH:mm', 'd/M/yy HH:mm', 'd/M/yy, HH:mm', 'dd/M/yy HH:mm', 'dd/M/yy, HH:mm', 'dd/MM/yy HH:mm', 'dd/MM/yy, HH:mm', 'd/M/yyyy HH:mm', 'd/M/yyyy, HH:mm', 'dd/M/yyyy HH:mm', 'dd/M/yyyy, HH:mm', 'dd/MM/yyyy HH:mm', 'dd/MM/yyyy, HH:mm', 'd M yy HH:mm', 'd M yy, HH:mm', 'dd M yy HH:mm', 'dd M yy, HH:mm', 'dd MM yy HH:mm', 'dd MM yy, HH:mm', 'd M yyyy HH:mm', 'd M yyyy, HH:mm', 'dd M yyyy HH:mm', 'dd M yyyy, HH:mm', 'dd MM yyyy HH:mm', 'dd MM yyyy, HH:mm', 'd-M-yy HH:mm', 'd-M-yy, HH:mm', 'dd-M-yy HH:mm', 'dd-M-yy, HH:mm', 'dd-MM-yy HH:mm', 'dd-MM-yy, HH:mm', 'd-M-yyyy HH:mm', 'd-M-yyyy, HH:mm', 'dd-M-yyyy HH:mm', 'dd-M-yyyy, HH:mm', 'dd-MM-yyyy HH:mm', 'dd-MM-yyyy, HH:mm', 'd.M.yy HH:mm', 'd.M.yy, HH:mm', 'dd.M.yy HH:mm', 'dd.M.yy, HH:mm', 'dd.MM.yy HH:mm', 'dd.MM.yy, HH:mm', 'd.M.yyyy HH:mm', 'd.M.yyyy, HH:mm', 'dd.M.yyyy HH:mm', 'dd.M.yyyy, HH:mm', 'dd.MM.yyyy HH:mm', 'dd.MM.yyyy, HH:mm', 'd\\M\\yy HH:mm', 'd\\M\\yy, HH:mm', 'dd\\M\\yy HH:mm', 'dd\\M\\yy, HH:mm', 'dd\\MM\\yy HH:mm', 'dd\\MM\\yy, HH:mm', 'd\\M\\yyyy HH:mm', 'd\\M\\yyyy, HH:mm', 'dd\\M\\yyyy HH:mm', 'dd\\M\\yyyy, HH:mm', 'dd\\MM\\yyyy HH:mm', 'dd\\MM\\yyyy, HH:mm', 'd/M/yy HH:mm', 'd/M/yy, HH:mm', 'dd/M/yy HH:mm', 'dd/M/yy, HH:mm', 'dd/MM/yy HH:mm', 'dd/MM/yy, HH:mm', 'd/M/yyyy HH:mm', 'd/M/yyyy, HH:mm', 'dd/M/yyyy HH:mm', 'dd/M/yyyy, HH:mm', 'dd/MM/yyyy HH:mm', 'dd/MM/yyyy, HH:mm', 'yy M d HH:mm', 'yy M d, HH:mm', 'yy M dd HH:mm', 'yy M dd, HH:mm', 'yy MM dd HH:mm', 'yy MM dd, HH:mm', 'yyyy M d HH:mm', 'yyyy M d, HH:mm', 'yyyy M dd HH:mm', 'yyyy M dd, HH:mm', 'yyyy MM dd HH:mm', 'yyyy MM dd, HH:mm', 'yy-M-d HH:mm', 'yy-M-d, HH:mm', 'yy-M-dd HH:mm', 'yy-M-dd, HH:mm', 'yy-MM-dd HH:mm', 'yy-MM-dd, HH:mm', 'yyyy-M-d HH:mm', 'yyyy-M-d, HH:mm', 'yyyy-M-dd HH:mm', 'yyyy-M-dd, HH:mm', 'yyyy-MM-dd HH:mm', 'yyyy-MM-dd, HH:mm', 'yy.M.d HH:mm', 'yy.M.d, HH:mm', 'yy.M.dd HH:mm', 'yy.M.dd, HH:mm', 'yy.MM.dd HH:mm', 'yy.MM.dd, HH:mm', 'yyyy.M.d HH:mm', 'yyyy.M.d, HH:mm', 'yyyy.M.dd HH:mm', 'yyyy.M.dd, HH:mm', 'yyyy.MM.dd HH:mm', 'yyyy.MM.dd, HH:mm', 'yy\\M\\d HH:mm', 'yy\\M\\d, HH:mm', 'yy\\M\\dd HH:mm', 'yy\\M\\dd, HH:mm', 'yy\\MM\\dd HH:mm', 'yy\\MM\\dd, HH:mm', 'yyyy\\M\\d HH:mm', 'yyyy\\M\\d, HH:mm', 'yyyy\\M\\dd HH:mm', 'yyyy\\M\\dd, HH:mm', 'yyyy\\MM\\dd HH:mm', 'yyyy\\MM\\dd, HH:mm', 'yy/M/d HH:mm', 'yy/M/d, HH:mm', 'yy/M/dd HH:mm', 'yy/M/dd, HH:mm', 'yy/MM/dd HH:mm', 'yy/MM/dd, HH:mm', 'yyyy/M/d HH:mm', 'yyyy/M/d, HH:mm', 'yyyy/M/dd HH:mm', 'yyyy/M/dd, HH:mm', 'yyyy/MM/dd HH:mm', 'yyyy/MM/dd, HH:mm', 'yy d M HH:mm', 'yy d M, HH:mm', 'yy dd M HH:mm', 'yy dd M, HH:mm', 'yy dd MM HH:mm', 'yy dd MM, HH:mm', 'yyyy d M HH:mm', 'yyyy d M, HH:mm', 'yyyy dd MM HH:mm', 'yyyy dd MM, HH:mm', 'yyyy dd MM HH:mm', 'yyyy dd MM, HH:mm', 'yy-d-M HH:mm', 'yy-d-M, HH:mm', 'yy-dd-M HH:mm', 'yy-dd-M, HH:mm', 'yy-dd-MM HH:mm', 'yy-dd-MM, HH:mm', 'yyyy-d-M HH:mm', 'yyyy-d-M, HH:mm', 'yyyy-dd-MM HH:mm', 'yyyy-dd-MM, HH:mm', 'yyyy-dd-MM HH:mm', 'yyyy-dd-MM, HH:mm', 'yy.d.M HH:mm', 'yy.d.M, HH:mm', 'yy.dd.M HH:mm', 'yy.dd.M, HH:mm', 'yy.dd.MM HH:mm', 'yy.dd.MM, HH:mm', 'yyyy.d.M HH:mm', 'yyyy.d.M, HH:mm', 'yyyy.dd.MM HH:mm', 'yyyy.dd.MM, HH:mm', 'yyyy.dd.MM HH:mm', 'yyyy.dd.MM, HH:mm', 'yy\\d\\M HH:mm', 'yy\\d\\M, HH:mm', 'yy\\dd\\M HH:mm', 'yy\\dd\\M, HH:mm', 'yy\\dd\\MM HH:mm', 'yy\\dd\\MM, HH:mm', 'yyyy\\d\\M HH:mm', 'yyyy\\d\\M, HH:mm', 'yyyy\\dd\\MM HH:mm', 'yyyy\\dd\\MM, HH:mm', 'yyyy\\dd\\MM HH:mm', 'yyyy\\dd\\MM, HH:mm', 'yy/d/M HH:mm', 'yy/d/M, HH:mm', 'yy/dd/M HH:mm', 'yy/dd/M, HH:mm', 'yy/dd/MM HH:mm', 'yy/dd/MM, HH:mm', 'yyyy/d/M HH:mm', 'yyyy/d/M, HH:mm', 'yyyy/dd/MM HH:mm', 'yyyy/dd/MM, HH:mm', 'yyyy/dd/MM HH:mm', 'yyyy/dd/MM, HH:mm', 'd MMM HH:mm', 'd MMM, HH:mm', 'd MMMM HH:mm', 'd MMMM, HH:mm', 'dd MMM HH:mm', 'dd MMM, HH:mm', 'dd MMMM HH:mm', 'dd MMMM, HH:mm', 'yyyy MMM d', 'yyyy MMMM d', 'yyyy MMM dd', 'yyyy MMMM dd', 'yyyy d MMM', 'yyyy d MMMM', 'yyyy dd MMM', 'yyyy dd MMMM', 'd MMM yy', 'd MMMM yy', 'dd MMM yy', 'dd MMMM yy', 'd MMM yyyy', 'd MMMM yyyy', 'dd MMM yyyy', 'dd MMMM yyyy', 'd MMM yy', 'd MMMM yy', 'dd MMM yy', 'dd MMMM yy', 'd MMM yyyy', 'd MMMM yyyy', 'dd MMM yyyy', 'dd MMMM yyyy', 'MMM d yyyy', 'MMMM d yyyy', 'MMM dd yyyy', 'MMMM dd yyyy', 'yy MMM d', 'yy MMMM d', 'yy MMM dd', 'yy MMMM dd', 'yy d MMM', 'yy d MMMM', 'yy dd MMM', 'yy dd MMMM', 'd MMM', 'd MMMM', 'dd MMM', 'dd MMMM', 'yyyy MMM d HH:mm', 'yyyy MMM d, HH:mm', 'yyyy MMMM d HH:mm', 'yyyy MMMM d, HH:mm', 'yyyy MMM dd HH:mm', 'yyyy MMM dd, HH:mm', 'yyyy MMMM dd HH:mm', 'yyyy MMMM dd, HH:mm', 'yyyy d MMM HH:mm', 'yyyy d MMM, HH:mm', 'yyyy d MMMM HH:mm', 'yyyy d MMMM, HH:mm', 'yyyy dd MMM HH:mm', 'yyyy dd MMM, HH:mm', 'yyyy dd MMMM HH:mm', 'yyyy dd MMMM, HH:mm', 'd MMM yy HH:mm', 'd MMM yy, HH:mm', 'd MMMM yy HH:mm', 'd MMMM yy, HH:mm', 'dd MMM yy HH:mm', 'dd MMM yy, HH:mm', 'dd MMMM yy HH:mm', 'dd MMMM yy, HH:mm', 'd MMM yyyy HH:mm', 'd MMM yyyy, HH:mm', 'd MMMM yyyy HH:mm', 'd MMMM yyyy, HH:mm', 'dd MMM yyyy HH:mm', 'dd MMM yyyy, HH:mm', 'dd MMMM yyyy HH:mm', 'dd MMMM yyyy, HH:mm', 'd MMM yy HH:mm', 'd MMM yy, HH:mm', 'd MMMM yy HH:mm', 'd MMMM yy, HH:mm', 'dd MMM yy HH:mm', 'dd MMM yy, HH:mm', 'dd MMMM yy HH:mm', 'dd MMMM yy, HH:mm', 'd MMM yyyy HH:mm', 'd MMM yyyy, HH:mm', 'd MMMM yyyy HH:mm', 'd MMMM yyyy, HH:mm', 'dd MMM yyyy HH:mm', 'dd MMM yyyy, HH:mm', 'dd MMMM yyyy HH:mm', 'dd MMMM yyyy, HH:mm', 'MMM d yyyy HH:mm', 'MMM d yyyy, HH:mm', 'MMMM d yyyy HH:mm', 'MMMM d yyyy, HH:mm', 'MMM dd yyyy HH:mm', 'MMM dd yyyy, HH:mm', 'MMMM dd yyyy HH:mm', 'MMMM dd yyyy, HH:mm', 'yy MMM d HH:mm', 'yy MMM d, HH:mm', 'yy MMMM d HH:mm', 'yy MMMM d, HH:mm', 'yy MMM dd HH:mm', 'yy MMM dd, HH:mm', 'yy MMMM dd HH:mm', 'yy MMMM dd, HH:mm', 'yy d MMM HH:mm', 'yy d MMM, HH:mm', 'yy d MMMM HH:mm', 'yy d MMMM, HH:mm', 'yy dd MMM HH:mm', 'yy dd MMM, HH:mm', 'yy dd MMMM HH:mm', 'yy dd MMMM, HH:mm', 'd MMM HH:mm', 'd MMM, HH:mm', 'd MMMM HH:mm', 'd MMMM, HH:mm', 'dd MMM HH:mm', 'dd MMM, HH:mm', 'dd MMMM HH:mm', 'dd MMMM, HH:mm', 'yyyy MMM d', 'yyyy MMMM d', 'yyyy MMM dd', 'yyyy MMMM dd', 'yyyy d MMM', 'yyyy d MMMM', 'yyyy dd MMM', 'yyyy dd MMMM', 'd MMM yy', 'd MMMM yy', 'dd MMM yy', 'dd MMMM yy', 'd MMM yyyy', 'd MMMM yyyy', 'dd MMM yyyy', 'dd MMMM yyyy', 'd MMM yy', 'd MMMM yy', 'dd MMM yy', 'dd MMMM yy', 'd MMM yyyy', 'd MMMM yyyy', 'dd MMM yyyy', 'dd MMMM yyyy', 'MMM d yyyy', 'MMMM d yyyy', 'MMM dd yyyy', 'MMMM dd yyyy', 'yy MMM d', 'yy MMMM d', 'yy MMM dd', 'yy MMMM dd', 'yy d MMM', 'yy d MMMM', 'yy dd MMM', 'yy dd MMMM', 'yyyy MMM d HH:mm', 'yyyy MMM d, HH:mm', 'yyyy MMMM d HH:mm', 'yyyy MMMM d, HH:mm', 'yyyy MMM dd HH:mm', 'yyyy MMM dd, HH:mm', 'yyyy MMMM dd HH:mm', 'yyyy MMMM dd, HH:mm', 'yyyy d MMM HH:mm', 'yyyy d MMM, HH:mm', 'yyyy d MMMM HH:mm', 'yyyy d MMMM, HH:mm', 'yyyy dd MMM HH:mm', 'yyyy dd MMM, HH:mm', 'yyyy dd MMMM HH:mm', 'yyyy dd MMMM, HH:mm', 'd MMM yy HH:mm', 'd MMM yy, HH:mm', 'd MMMM yy HH:mm', 'd MMMM yy, HH:mm', 'dd MMM yy HH:mm', 'dd MMM yy, HH:mm', 'dd MMMM yy HH:mm', 'dd MMMM yy, HH:mm', 'd MMM yyyy HH:mm', 'd MMM yyyy, HH:mm', 'd MMMM yyyy HH:mm', 'd MMMM yyyy, HH:mm', 'dd MMM yyyy HH:mm', 'dd MMM yyyy, HH:mm', 'dd MMMM yyyy HH:mm', 'dd MMMM yyyy, HH:mm', 'd MMM yy HH:mm', 'd MMM yy, HH:mm', 'd MMMM yy HH:mm', 'd MMMM yy, HH:mm', 'dd MMM yy HH:mm', 'dd MMM yy, HH:mm', 'dd MMMM yy HH:mm', 'dd MMMM yy, HH:mm', 'd MMM yyyy HH:mm', 'd MMM yyyy, HH:mm', 'd MMMM yyyy HH:mm', 'd MMMM yyyy, HH:mm', 'dd MMM yyyy HH:mm', 'dd MMM yyyy, HH:mm', 'dd MMMM yyyy HH:mm', 'dd MMMM yyyy, HH:mm', 'MMM d yyyy HH:mm', 'MMM d yyyy, HH:mm', 'MMMM d yyyy HH:mm', 'MMMM d yyyy, HH:mm', 'MMM dd yyyy HH:mm', 'MMM dd yyyy, HH:mm', 'MMMM dd yyyy HH:mm', 'MMMM dd yyyy, HH:mm', 'yy MMM d HH:mm', 'yy MMM d, HH:mm', 'yy MMMM d HH:mm', 'yy MMMM d, HH:mm', 'yy MMM dd HH:mm', 'yy MMM dd, HH:mm', 'yy MMMM dd HH:mm', 'yy MMMM dd, HH:mm', 'yy d MMM HH:mm', 'yy d MMM, HH:mm', 'yy d MMMM HH:mm', 'yy d MMMM, HH:mm', 'yy dd MMM HH:mm', 'yy dd MMM, HH:mm', 'yy dd MMMM HH:mm', 'yy dd MMMM, HH:mm'];
|
|
2
3
|
|
|
3
4
|
export { formats as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MonthsProps } from './consts';
|
|
1
|
+
import { type MonthsProps } from './consts';
|
|
2
2
|
export default function MonthNames(props: MonthsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PureComponent } from 'react';
|
|
2
|
-
import { LinearFunction } from '../global/linear-function';
|
|
3
|
-
import { MonthsProps } from './consts';
|
|
2
|
+
import { type LinearFunction } from '../global/linear-function';
|
|
3
|
+
import { type MonthsProps } from './consts';
|
|
4
4
|
export interface MonthSliderProps extends MonthsProps {
|
|
5
5
|
pxToDate: LinearFunction;
|
|
6
6
|
}
|
|
@@ -54,7 +54,7 @@ class MonthSlider extends PureComponent {
|
|
|
54
54
|
});
|
|
55
55
|
return jsx("div", {
|
|
56
56
|
children: years.map(date => jsx("button", {
|
|
57
|
-
type:
|
|
57
|
+
type: 'button',
|
|
58
58
|
className: classes,
|
|
59
59
|
style: {
|
|
60
60
|
top: Math.floor(this.props.pxToDate.x(Number(date)) - units.cellSize)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MonthsProps } from './consts';
|
|
1
|
+
import { type MonthsProps } from './consts';
|
|
2
2
|
export default function Months(props: MonthsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -99,13 +99,13 @@ function Months(props) {
|
|
|
99
99
|
});
|
|
100
100
|
useEffect(() => {
|
|
101
101
|
const current = componentRef.current;
|
|
102
|
-
if (current
|
|
102
|
+
if (current) {
|
|
103
103
|
current.addEventListener('wheel', handleWheel, {
|
|
104
104
|
passive: false
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
107
|
return () => {
|
|
108
|
-
if (current
|
|
108
|
+
if (current) {
|
|
109
109
|
current.removeEventListener('wheel', handleWheel);
|
|
110
110
|
}
|
|
111
111
|
};
|
|
@@ -54,7 +54,7 @@ class Years extends PureComponent {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
componentDidUpdate(prevProps, prevState) {
|
|
57
|
-
this.stoppedScrolling = prevState.scrollDate
|
|
57
|
+
this.stoppedScrolling = !!prevState.scrollDate && !this.state.scrollDate;
|
|
58
58
|
}
|
|
59
59
|
componentWillUnmount() {
|
|
60
60
|
if (this.componentRef.current) {
|
|
@@ -93,7 +93,7 @@ class Years extends PureComponent {
|
|
|
93
93
|
top: Math.floor(calHeight * HALF - pxToDate.x(Number(date)))
|
|
94
94
|
},
|
|
95
95
|
children: years.map(item => jsx("button", {
|
|
96
|
-
type:
|
|
96
|
+
type: 'button',
|
|
97
97
|
className: classNames(styles.year, {
|
|
98
98
|
[styles.currentYear]: isSameYear(item, date),
|
|
99
99
|
[styles.today]: isThisYear(item)
|
package/components/dialog/{dialog__body-scroll-preventer.js → dialog-body-scroll-preventer.js}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
2
|
import 'scrollbar-width';
|
|
3
|
-
export { d as default, p as preventerFactory } from '../_helpers/
|
|
3
|
+
export { d as default, p as preventerFactory } from '../_helpers/dialog-body-scroll-preventer.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PureComponent } from 'react';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import TabTrap, { TabTrapProps } from '../tab-trap/tab-trap';
|
|
3
|
+
import TabTrap, { type TabTrapProps } from '../tab-trap/tab-trap';
|
|
4
4
|
import type { ShortcutsScopeOptions } from '../shortcuts/core';
|
|
5
5
|
export interface DialogProps extends Partial<TabTrapProps> {
|
|
6
6
|
show: boolean;
|
|
@@ -13,7 +13,7 @@ import TabTrap from '../tab-trap/tab-trap.js';
|
|
|
13
13
|
import { Button } from '../button/button.js';
|
|
14
14
|
import { PopupTarget, PopupTargetContext } from '../popup/popup.target.js';
|
|
15
15
|
import { getPopupContainer } from '../popup/popup.js';
|
|
16
|
-
import { p as preventerFactory, s as styles } from '../_helpers/
|
|
16
|
+
import { p as preventerFactory, s as styles } from '../_helpers/dialog-body-scroll-preventer.js';
|
|
17
17
|
import '../island/adaptive-island-hoc.js';
|
|
18
18
|
import '../global/linear-function.js';
|
|
19
19
|
import '../_helpers/island.js';
|
|
@@ -31,14 +31,14 @@ import '@jetbrains/icons/chevron-down';
|
|
|
31
31
|
import '@jetbrains/icons/chevron-12px-down';
|
|
32
32
|
import 'util-deprecate';
|
|
33
33
|
import '../icon/icon.js';
|
|
34
|
-
import '../icon/
|
|
35
|
-
import '../_helpers/
|
|
34
|
+
import '../icon/icon.constants.js';
|
|
35
|
+
import '../_helpers/icon-svg.js';
|
|
36
36
|
import 'core-js/modules/es.string.replace.js';
|
|
37
37
|
import '../global/memoize.js';
|
|
38
|
-
import '../link/
|
|
38
|
+
import '../link/clickable-link.js';
|
|
39
39
|
import '../global/controls-height.js';
|
|
40
40
|
import '../global/configuration.js';
|
|
41
|
-
import '../_helpers/
|
|
41
|
+
import '../_helpers/button.classes.js';
|
|
42
42
|
import '../popup/position.js';
|
|
43
43
|
import 'core-js/modules/es.array.sort.js';
|
|
44
44
|
import '../popup/popup.consts.js';
|
|
@@ -113,7 +113,7 @@ class Dialog extends PureComponent {
|
|
|
113
113
|
show,
|
|
114
114
|
modal
|
|
115
115
|
} = this.props;
|
|
116
|
-
if (this.nativeDialog.current
|
|
116
|
+
if (this.nativeDialog.current) {
|
|
117
117
|
if (show) {
|
|
118
118
|
this.nativeDialog.current.removeAttribute('open');
|
|
119
119
|
if (modal) {
|
|
@@ -170,22 +170,22 @@ class Dialog extends PureComponent {
|
|
|
170
170
|
options: this.props.shortcutOptions
|
|
171
171
|
}), (onOverlayClick !== noop || onCloseAttempt !== noop) && jsx("div", {
|
|
172
172
|
// click handler is duplicated in close button
|
|
173
|
-
role:
|
|
173
|
+
role: 'presentation',
|
|
174
174
|
className: styles.clickableOverlay,
|
|
175
175
|
onClick: this.handleClick,
|
|
176
|
-
"data-test":
|
|
176
|
+
"data-test": 'ring-dialog-overlay'
|
|
177
177
|
}), jsx("div", {
|
|
178
178
|
className: styles.innerContainer,
|
|
179
179
|
children: jsxs(AdaptiveIsland, {
|
|
180
180
|
className: classNames(styles.content, contentClassName, {
|
|
181
181
|
[styles.dense]: dense
|
|
182
182
|
}),
|
|
183
|
-
"data-test":
|
|
184
|
-
role:
|
|
183
|
+
"data-test": 'ring-dialog',
|
|
184
|
+
role: 'dialog',
|
|
185
185
|
"aria-label": label,
|
|
186
186
|
children: [children, showCloseButton && jsx(Button, {
|
|
187
187
|
icon: closeIcon,
|
|
188
|
-
"data-test":
|
|
188
|
+
"data-test": 'ring-dialog-close-button',
|
|
189
189
|
className: classNames(styles.closeButton, {
|
|
190
190
|
[styles.closeButtonOutside]: !closeButtonInside,
|
|
191
191
|
[styles.closeButtonInside]: closeButtonInside
|
|
@@ -220,9 +220,9 @@ class Dialog extends PureComponent {
|
|
|
220
220
|
let targetElement = document.body;
|
|
221
221
|
if (portalTarget instanceof HTMLElement) {
|
|
222
222
|
targetElement = portalTarget;
|
|
223
|
-
} else if (contextTarget
|
|
223
|
+
} else if (contextTarget) {
|
|
224
224
|
const container = getPopupContainer(contextTarget);
|
|
225
|
-
if (container
|
|
225
|
+
if (container) {
|
|
226
226
|
targetElement = container;
|
|
227
227
|
}
|
|
228
228
|
}
|
|
@@ -232,10 +232,10 @@ class Dialog extends PureComponent {
|
|
|
232
232
|
children: target => jsxs(TabTrap, _objectSpread2(_objectSpread2({
|
|
233
233
|
trapDisabled: !trapFocus,
|
|
234
234
|
"data-test": joinDataTestAttributes('ring-dialog-container', dataTest),
|
|
235
|
-
"data-rg-modal-dialog-container":
|
|
235
|
+
"data-rg-modal-dialog-container": '',
|
|
236
236
|
ref: this.dialogRef,
|
|
237
237
|
className: classes,
|
|
238
|
-
role:
|
|
238
|
+
role: 'presentation'
|
|
239
239
|
}, restProps), {}, {
|
|
240
240
|
children: [content, target]
|
|
241
241
|
}))
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ButtonAttrs } from '../button/button';
|
|
1
|
+
import { type ButtonAttrs } from '../button/button';
|
|
2
2
|
declare const _default: import("react").MemoExoticComponent<({ children, className, ...restProps }: ButtonAttrs) => import("react/jsx-runtime").JSX.Element>;
|
|
3
3
|
export default _default;
|
|
@@ -9,12 +9,12 @@ import '@jetbrains/icons/chevron-down';
|
|
|
9
9
|
import '@jetbrains/icons/chevron-12px-down';
|
|
10
10
|
import 'util-deprecate';
|
|
11
11
|
import '../icon/icon.js';
|
|
12
|
-
import '../icon/
|
|
13
|
-
import '../_helpers/
|
|
12
|
+
import '../icon/icon.constants.js';
|
|
13
|
+
import '../_helpers/icon-svg.js';
|
|
14
14
|
import 'core-js/modules/es.regexp.exec.js';
|
|
15
15
|
import 'core-js/modules/es.string.replace.js';
|
|
16
16
|
import '../global/memoize.js';
|
|
17
|
-
import '../link/
|
|
17
|
+
import '../link/clickable-link.js';
|
|
18
18
|
import '../global/controls-height.js';
|
|
19
19
|
import '../global/configuration.js';
|
|
20
|
-
import '../_helpers/
|
|
20
|
+
import '../_helpers/button.classes.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Component, HTMLAttributes, ReactNode, ReactElement } from 'react';
|
|
1
|
+
import { Component, type HTMLAttributes, type ReactNode, type ReactElement } from 'react';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { PopupAttrs } from '../popup/popup';
|
|
3
|
+
import { type PopupAttrs } from '../popup/popup';
|
|
4
4
|
import Anchor from './anchor';
|
|
5
5
|
export interface AnchorProps {
|
|
6
6
|
active: boolean;
|
|
@@ -11,15 +11,15 @@ import '@jetbrains/icons/chevron-down';
|
|
|
11
11
|
import '@jetbrains/icons/chevron-12px-down';
|
|
12
12
|
import 'util-deprecate';
|
|
13
13
|
import '../icon/icon.js';
|
|
14
|
-
import '../icon/
|
|
15
|
-
import '../_helpers/
|
|
14
|
+
import '../icon/icon.constants.js';
|
|
15
|
+
import '../_helpers/icon-svg.js';
|
|
16
16
|
import 'core-js/modules/es.regexp.exec.js';
|
|
17
17
|
import 'core-js/modules/es.string.replace.js';
|
|
18
18
|
import '../global/memoize.js';
|
|
19
|
-
import '../link/
|
|
19
|
+
import '../link/clickable-link.js';
|
|
20
20
|
import '../global/controls-height.js';
|
|
21
21
|
import '../global/configuration.js';
|
|
22
|
-
import '../_helpers/
|
|
22
|
+
import '../_helpers/button.classes.js';
|
|
23
23
|
|
|
24
24
|
const _excluded = ["initShown", "onShow", "onHide", "hoverShowTimeOut", "hoverHideTimeOut", "children", "anchor", "className", "activeClassName", "hoverMode", "clickMode", "data-test", "disabled"];
|
|
25
25
|
/**
|
|
@@ -144,7 +144,7 @@ class Dropdown extends Component {
|
|
|
144
144
|
} = _this$props3,
|
|
145
145
|
restProps = _objectWithoutProperties(_this$props3, _excluded);
|
|
146
146
|
const classes = classNames(styles.dropdown, className, {
|
|
147
|
-
[activeClassName !== null && activeClassName !== void 0 ? activeClassName : '']: activeClassName
|
|
147
|
+
[activeClassName !== null && activeClassName !== void 0 ? activeClassName : '']: activeClassName && show
|
|
148
148
|
});
|
|
149
149
|
let anchorElement;
|
|
150
150
|
const active = hoverMode ? pinned : show;
|
|
@@ -182,7 +182,7 @@ class Dropdown extends Component {
|
|
|
182
182
|
}, restProps), {}, {
|
|
183
183
|
onClick: clickMode ? this.onClick : undefined,
|
|
184
184
|
// anchorElement should be a `button` or an `a`
|
|
185
|
-
role:
|
|
185
|
+
role: 'presentation',
|
|
186
186
|
onMouseEnter: hoverMode ? this.onMouseEnter : undefined,
|
|
187
187
|
onMouseLeave: hoverMode ? this.onMouseLeave : undefined,
|
|
188
188
|
className: classes,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ReactElement, HTMLAttributes, SyntheticEvent, Ref, ReactNode } from 'react';
|
|
2
|
-
import { SelectHandlerParams } from '../list/list';
|
|
3
|
-
import { AnchorProps, DropdownAttrs, DropdownChildrenFunction } from '../dropdown/dropdown';
|
|
4
|
-
import PopupMenu, { PopupMenuAttrs } from '../popup-menu/popup-menu';
|
|
5
|
-
import { ListDataItem } from '../list/consts';
|
|
1
|
+
import { type ReactElement, type HTMLAttributes, type SyntheticEvent, type Ref, type ReactNode } from 'react';
|
|
2
|
+
import { type SelectHandlerParams } from '../list/list';
|
|
3
|
+
import { type AnchorProps, type DropdownAttrs, type DropdownChildrenFunction } from '../dropdown/dropdown';
|
|
4
|
+
import PopupMenu, { type PopupMenuAttrs } from '../popup-menu/popup-menu';
|
|
5
|
+
import { type ListDataItem } from '../list/consts';
|
|
6
6
|
export interface DropdownAnchorWrapperProps extends AnchorProps {
|
|
7
7
|
anchor: ReactElement | ReactNode[] | string | ((props: AnchorProps, ariaProps: HTMLAttributes<HTMLElement>) => ReactElement | null);
|
|
8
8
|
activeListItemId?: string | null | undefined;
|
|
@@ -28,7 +28,7 @@ import 'combokeys';
|
|
|
28
28
|
import '../global/sniffer.js';
|
|
29
29
|
import 'sniffr';
|
|
30
30
|
import '../global/create-stateful-context.js';
|
|
31
|
-
import '../list/
|
|
31
|
+
import '../list/list-item.js';
|
|
32
32
|
import '../avatar/avatar.js';
|
|
33
33
|
import '../global/url.js';
|
|
34
34
|
import 'core-js/modules/es.string.replace.js';
|
|
@@ -39,27 +39,27 @@ import '../checkbox/checkbox.js';
|
|
|
39
39
|
import '@jetbrains/icons/checkmark-12px';
|
|
40
40
|
import '@jetbrains/icons/remove-12px';
|
|
41
41
|
import '../icon/icon.js';
|
|
42
|
-
import '../icon/
|
|
43
|
-
import '../_helpers/
|
|
44
|
-
import '../global/
|
|
42
|
+
import '../icon/icon.constants.js';
|
|
43
|
+
import '../_helpers/icon-svg.js';
|
|
44
|
+
import '../global/compose-refs.js';
|
|
45
45
|
import '../control-help/control-help.js';
|
|
46
46
|
import '../link/link.js';
|
|
47
|
-
import '../link/
|
|
47
|
+
import '../link/clickable-link.js';
|
|
48
48
|
import '../_helpers/link.js';
|
|
49
49
|
import '../_helpers/list.js';
|
|
50
50
|
import '../list/consts.js';
|
|
51
|
-
import '../list/
|
|
52
|
-
import '../list/
|
|
51
|
+
import '../list/list.classes.js';
|
|
52
|
+
import '../list/list-custom.js';
|
|
53
53
|
import '../global/get-event-key.js';
|
|
54
|
-
import '../list/
|
|
55
|
-
import '../list/
|
|
56
|
-
import '../list/
|
|
54
|
+
import '../list/list-title.js';
|
|
55
|
+
import '../list/list-separator.js';
|
|
56
|
+
import '../list/list-hint.js';
|
|
57
57
|
import '../button/button.js';
|
|
58
58
|
import '@jetbrains/icons/chevron-down';
|
|
59
59
|
import '@jetbrains/icons/chevron-12px-down';
|
|
60
60
|
import '../global/controls-height.js';
|
|
61
61
|
import '../global/configuration.js';
|
|
62
|
-
import '../_helpers/
|
|
62
|
+
import '../_helpers/button.classes.js';
|
|
63
63
|
import '../popup/popup.js';
|
|
64
64
|
import 'react-dom';
|
|
65
65
|
import '../tab-trap/tab-trap.js';
|
|
@@ -15,19 +15,19 @@ import '../_helpers/heading.js';
|
|
|
15
15
|
import '@jetbrains/icons/chevron-down';
|
|
16
16
|
import '@jetbrains/icons/chevron-12px-down';
|
|
17
17
|
import '../icon/icon.js';
|
|
18
|
-
import '../icon/
|
|
19
|
-
import '../_helpers/
|
|
18
|
+
import '../icon/icon.constants.js';
|
|
19
|
+
import '../_helpers/icon-svg.js';
|
|
20
20
|
import 'core-js/modules/es.regexp.exec.js';
|
|
21
21
|
import 'core-js/modules/es.string.replace.js';
|
|
22
22
|
import '../global/memoize.js';
|
|
23
|
-
import '../link/
|
|
23
|
+
import '../link/clickable-link.js';
|
|
24
24
|
import '../global/controls-height.js';
|
|
25
25
|
import '../global/configuration.js';
|
|
26
|
-
import '../_helpers/
|
|
26
|
+
import '../_helpers/button.classes.js';
|
|
27
27
|
import '@jetbrains/icons/close-12px';
|
|
28
28
|
import '../i18n/i18n-context.js';
|
|
29
29
|
import '../i18n/i18n.js';
|
|
30
|
-
import '../global/
|
|
30
|
+
import '../global/compose-refs.js';
|
|
31
31
|
import 'memoize-one';
|
|
32
32
|
import '../control-label/control-label.js';
|
|
33
33
|
import '../control-help/control-help.js';
|
|
@@ -40,6 +40,7 @@ var styles = {"editableHeading":"ring-editable-heading-editableHeading","fullSiz
|
|
|
40
40
|
|
|
41
41
|
const _excluded = ["level", "className", "headingClassName", "inputClassName", "children", "isEditing", "isSavingPossible", "isSaving", "embedded", "size", "onEdit", "onSave", "onCancel", "autoFocus", "data-test", "error", "disabled", "multiline", "renderMenu", "onFocus", "onBlur", "onChange", "onScroll", "maxInputRows", "translations"];
|
|
42
42
|
function noop() {}
|
|
43
|
+
// eslint-disable-next-line complexity
|
|
43
44
|
const EditableHeading = props => {
|
|
44
45
|
const {
|
|
45
46
|
level = Levels.H1,
|
|
@@ -117,7 +118,7 @@ const EditableHeading = props => {
|
|
|
117
118
|
el.style.height = "".concat(el.scrollHeight - parseFloat(paddingTop) - parseFloat(paddingBottom), "px");
|
|
118
119
|
}, []);
|
|
119
120
|
const checkValue = useCallback(el => {
|
|
120
|
-
if (multiline && el
|
|
121
|
+
if (multiline && el && el.scrollHeight >= el.clientHeight) {
|
|
121
122
|
stretch(el);
|
|
122
123
|
}
|
|
123
124
|
}, [stretch, multiline]);
|
|
@@ -211,7 +212,7 @@ const EditableHeading = props => {
|
|
|
211
212
|
})]
|
|
212
213
|
})]
|
|
213
214
|
}) : jsx("button", {
|
|
214
|
-
type:
|
|
215
|
+
type: 'button',
|
|
215
216
|
className: styles.headingWrapperButton,
|
|
216
217
|
onMouseDown: onHeadingMouseDown,
|
|
217
218
|
children: jsx(Heading, {
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { c as _taggedTemplateLiteral } from '../_helpers/_rollupPluginBabelHelpers.js';
|
|
2
|
+
import figma from '@figma/code-connect';
|
|
2
3
|
|
|
3
4
|
var _templateObject;
|
|
4
|
-
// url=https://www.figma.com/design/HY6d4uE1xxaQXCMG9fe6Y2/RingUI-(Internal)?node-id=1228-2869
|
|
5
|
-
const figma = require('figma');
|
|
6
5
|
const instance = figma.selectedInstance;
|
|
7
6
|
const error = instance.findLayers(() => true)[0].textContent;
|
|
8
7
|
const imports = ["import ErrorBubble from '@jetbrains/ring-ui/components/error-bubble/error-bubble'"];
|
|
@@ -41,7 +41,7 @@ class ErrorBubble extends PureComponent {
|
|
|
41
41
|
const errorBubbleClasses = classNames(styles.errorBubble, className);
|
|
42
42
|
return jsxs("div", {
|
|
43
43
|
className: styles.errorBubbleWrapper,
|
|
44
|
-
"data-test":
|
|
44
|
+
"data-test": 'ring-error-bubble-wrapper',
|
|
45
45
|
children: [children && Children.map(children, child => /*#__PURE__*/cloneElement(child, _objectSpread2(_objectSpread2({}, child.props), restProps))), restProps.error && jsx(Popup, {
|
|
46
46
|
trapFocus: false,
|
|
47
47
|
className: styles.errorBubblePopup,
|
|
@@ -50,7 +50,7 @@ class ErrorBubble extends PureComponent {
|
|
|
50
50
|
directions: [Directions.RIGHT_CENTER, Directions.RIGHT_BOTTOM, Directions.RIGHT_TOP],
|
|
51
51
|
children: jsx("div", {
|
|
52
52
|
className: errorBubbleClasses,
|
|
53
|
-
"data-test":
|
|
53
|
+
"data-test": 'ring-error-bubble',
|
|
54
54
|
children: restProps.error
|
|
55
55
|
})
|
|
56
56
|
})]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Component, ReactNode } from 'react';
|
|
2
|
-
import { IconType } from '../icon/icon';
|
|
1
|
+
import { Component, type ReactNode } from 'react';
|
|
2
|
+
import { type IconType } from '../icon/icon';
|
|
3
3
|
export interface ErrorMessageProps {
|
|
4
4
|
children?: ReactNode;
|
|
5
5
|
icon?: string | IconType | null | undefined;
|
|
@@ -3,11 +3,11 @@ import { jsxs, jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { Component } from 'react';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import Icon from '../icon/icon.js';
|
|
6
|
-
import { Size } from '../icon/
|
|
6
|
+
import { Size } from '../icon/icon.constants.js';
|
|
7
7
|
import joinDataTestAttributes from '../global/data-tests.js';
|
|
8
8
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
9
9
|
import 'util-deprecate';
|
|
10
|
-
import '../_helpers/
|
|
10
|
+
import '../_helpers/icon-svg.js';
|
|
11
11
|
import 'core-js/modules/es.regexp.exec.js';
|
|
12
12
|
import 'core-js/modules/es.string.replace.js';
|
|
13
13
|
import '../global/memoize.js';
|
|
@@ -42,7 +42,7 @@ class ErrorMessage extends Component {
|
|
|
42
42
|
className: styles.content,
|
|
43
43
|
children: [jsxs("div", {
|
|
44
44
|
className: styles.title,
|
|
45
|
-
"data-test":
|
|
45
|
+
"data-test": 'ring-error-message-title',
|
|
46
46
|
children: [code && "".concat(code, ":"), " ", message]
|
|
47
47
|
}), description && jsx("div", {
|
|
48
48
|
className: styles.description,
|
|
@@ -5,7 +5,7 @@ import Link from '../link/link.js';
|
|
|
5
5
|
import '../_helpers/_rollupPluginBabelHelpers.js';
|
|
6
6
|
import '../global/data-tests.js';
|
|
7
7
|
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
8
|
-
import '../link/
|
|
8
|
+
import '../link/clickable-link.js';
|
|
9
9
|
import '../_helpers/link.js';
|
|
10
10
|
|
|
11
11
|
var styles = {"footer":"ring-footer-footer ring-global-font","footerFloating":"ring-footer-footerFloating ring-footer-footer ring-global-font","column":"ring-footer-column","columnItem":"ring-footer-columnItem","columnLeft":"ring-footer-columnLeft ring-footer-column","columnCenter":"ring-footer-columnCenter ring-footer-column","line":"ring-footer-line","columnRight":"ring-footer-columnRight ring-footer-column","lineCenter":"ring-footer-lineCenter"};
|
|
@@ -97,7 +97,7 @@ const Footer = /*#__PURE__*/memo(function Footer(_ref2) {
|
|
|
97
97
|
});
|
|
98
98
|
return jsx("footer", {
|
|
99
99
|
className: classes,
|
|
100
|
-
"data-test":
|
|
100
|
+
"data-test": 'ring-footer',
|
|
101
101
|
children: [content(left, 'left'), content(center, 'center'), content(right, 'right')]
|
|
102
102
|
});
|
|
103
103
|
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import memoizeOne from 'memoize-one';
|
|
2
|
+
|
|
3
|
+
function composeRefs() {
|
|
4
|
+
for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
5
|
+
refs[_key] = arguments[_key];
|
|
6
|
+
}
|
|
7
|
+
return value => refs.forEach(ref => {
|
|
8
|
+
if (typeof ref === 'function') {
|
|
9
|
+
ref(value);
|
|
10
|
+
} else if (ref) {
|
|
11
|
+
ref.current = value;
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
function createComposedRef() {
|
|
16
|
+
return memoizeOne(composeRefs);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { createComposedRef };
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { createComposedRef as _createComposedRef } from './compose-refs';
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated Use createComposedRef from './compose-refs' instead
|
|
4
|
+
*/
|
|
5
|
+
declare const createComposedRef: typeof _createComposedRef;
|
|
6
|
+
export { createComposedRef };
|