@epam/uui 5.14.1-alpha.0 → 6.0.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/assets/styles/helpers.scss +4 -0
- package/assets/styles/index.scss +2 -1
- package/assets/styles/inputs.scss +4 -4
- package/assets/styles/typography.scss +12 -9
- package/components/buttons/Button.d.ts +2 -2
- package/components/buttons/Button.d.ts.map +1 -1
- package/components/buttons/IconButton.d.ts +3 -4
- package/components/buttons/IconButton.d.ts.map +1 -1
- package/components/buttons/LinkButton.d.ts +5 -5
- package/components/buttons/LinkButton.d.ts.map +1 -1
- package/components/datePickers/CalendarPresets.d.ts +1 -1
- package/components/datePickers/CalendarPresets.d.ts.map +1 -1
- package/components/datePickers/DatePicker.d.ts +48 -4
- package/components/datePickers/DatePicker.d.ts.map +1 -1
- package/components/datePickers/DatePickerBody.d.ts.map +1 -1
- package/components/datePickers/DatePickerHeader.d.ts +3 -3
- package/components/datePickers/DatePickerHeader.d.ts.map +1 -1
- package/components/datePickers/RangeDatePicker.d.ts +68 -3
- package/components/datePickers/RangeDatePicker.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerBody.d.ts +3 -4
- package/components/datePickers/RangeDatePickerBody.d.ts.map +1 -1
- package/components/datePickers/RangeDatePickerInput.d.ts +3 -6
- package/components/datePickers/RangeDatePickerInput.d.ts.map +1 -1
- package/components/datePickers/index.d.ts +1 -1
- package/components/datePickers/index.d.ts.map +1 -1
- package/components/datePickers/types.d.ts +8 -108
- package/components/datePickers/types.d.ts.map +1 -1
- package/components/dnd/DropMarker.d.ts +2 -2
- package/components/dnd/DropMarker.d.ts.map +1 -1
- package/components/errors/ErrorHandler.d.ts +4 -3
- package/components/errors/ErrorHandler.d.ts.map +1 -1
- package/components/fileUpload/DropSpot.d.ts +1 -1
- package/components/fileUpload/DropSpot.d.ts.map +1 -1
- package/components/fileUpload/FileCard.d.ts.map +1 -1
- package/components/filters/FilterDatePickerBody.d.ts +2 -2
- package/components/filters/FilterDatePickerBody.d.ts.map +1 -1
- package/components/filters/FilterItemBody.d.ts +2 -2
- package/components/filters/FilterItemBody.d.ts.map +1 -1
- package/components/filters/FilterNumericBody.d.ts +2 -2
- package/components/filters/FilterNumericBody.d.ts.map +1 -1
- package/components/filters/FilterPanelItemToggler.d.ts +5 -4
- package/components/filters/FilterPanelItemToggler.d.ts.map +1 -1
- package/components/filters/FilterPickerBody.d.ts +3 -3
- package/components/filters/FilterPickerBody.d.ts.map +1 -1
- package/components/filters/FilterRangeDatePickerBody.d.ts +3 -3
- package/components/filters/FilterRangeDatePickerBody.d.ts.map +1 -1
- package/components/filters/FiltersPanel.d.ts +3 -3
- package/components/filters/FiltersPanel.d.ts.map +1 -1
- package/components/filters/FiltersPanelItem.d.ts +1 -1
- package/components/filters/FiltersPanelItem.d.ts.map +1 -1
- package/components/filters/PresetPanel/Preset.d.ts +3 -3
- package/components/filters/PresetPanel/Preset.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetActionsDropdown.d.ts +3 -3
- package/components/filters/PresetPanel/PresetActionsDropdown.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetInput.d.ts +3 -3
- package/components/filters/PresetPanel/PresetInput.d.ts.map +1 -1
- package/components/filters/PresetPanel/PresetsPanel.d.ts +2 -2
- package/components/filters/PresetPanel/PresetsPanel.d.ts.map +1 -1
- package/components/filters/constants.d.ts +4 -0
- package/components/filters/constants.d.ts.map +1 -1
- package/components/forms/Form.d.ts +2 -2
- package/components/forms/Form.d.ts.map +1 -1
- package/components/inputs/Checkbox.d.ts.map +1 -1
- package/components/inputs/MultiSwitch.d.ts +16 -21
- package/components/inputs/MultiSwitch.d.ts.map +1 -1
- package/components/inputs/RadioInput.d.ts +6 -7
- package/components/inputs/RadioInput.d.ts.map +1 -1
- package/components/inputs/Rating.d.ts.map +1 -1
- package/components/inputs/Switch.d.ts +1 -1
- package/components/inputs/Switch.d.ts.map +1 -1
- package/components/inputs/TextArea.d.ts.map +1 -1
- package/components/inputs/timePicker/TimePicker.d.ts +4 -3
- package/components/inputs/timePicker/TimePicker.d.ts.map +1 -1
- package/components/inputs/timePicker/TimePickerBody.d.ts +2 -2
- package/components/inputs/timePicker/TimePickerBody.d.ts.map +1 -1
- package/components/inputs/timePicker/types.d.ts +1 -0
- package/components/inputs/timePicker/types.d.ts.map +1 -1
- package/components/layout/Accordion.d.ts.map +1 -1
- package/components/layout/Blocker.d.ts +2 -2
- package/components/layout/Blocker.d.ts.map +1 -1
- package/components/layout/CheckboxGroup.d.ts +1 -1
- package/components/layout/CheckboxGroup.d.ts.map +1 -1
- package/components/layout/FlexItems/FlexRow.d.ts +21 -8
- package/components/layout/FlexItems/FlexRow.d.ts.map +1 -1
- package/components/layout/LabeledInput.d.ts +1 -0
- package/components/layout/LabeledInput.d.ts.map +1 -1
- package/components/layout/RadioGroup.d.ts +1 -1
- package/components/layout/RadioGroup.d.ts.map +1 -1
- package/components/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts +2 -2
- package/components/navigation/MainMenu/Burger/BurgerGroupHeader.d.ts.map +1 -1
- package/components/navigation/MainMenu/Burger/BurgerSearch.d.ts +2 -2
- package/components/navigation/MainMenu/Burger/BurgerSearch.d.ts.map +1 -1
- package/components/navigation/MainMenu/MainMenuDropdown.d.ts +1 -1
- package/components/overlays/Alert.d.ts +4 -2
- package/components/overlays/Alert.d.ts.map +1 -1
- package/components/overlays/ConfirmationModal.d.ts +1 -1
- package/components/overlays/Dropdown.d.ts +1 -1
- package/components/overlays/Dropdown.d.ts.map +1 -1
- package/components/overlays/DropdownMenu.d.ts +6 -6
- package/components/overlays/DropdownMenu.d.ts.map +1 -1
- package/components/overlays/Modals.d.ts +15 -8
- package/components/overlays/Modals.d.ts.map +1 -1
- package/components/overlays/NotificationCard.d.ts +2 -2
- package/components/overlays/NotificationCard.d.ts.map +1 -1
- package/components/overlays/Snackbar.d.ts +2 -2
- package/components/overlays/Snackbar.d.ts.map +1 -1
- package/components/overlays/Tooltip.d.ts +4 -1
- package/components/overlays/Tooltip.d.ts.map +1 -1
- package/components/pickers/DataPickerBody.d.ts +10 -13
- package/components/pickers/DataPickerBody.d.ts.map +1 -1
- package/components/pickers/DataPickerFooter.d.ts +3 -2
- package/components/pickers/DataPickerFooter.d.ts.map +1 -1
- package/components/pickers/DataPickerMobileHeader.d.ts +8 -0
- package/components/pickers/DataPickerMobileHeader.d.ts.map +1 -0
- package/components/pickers/DataPickerRow.d.ts +15 -8
- package/components/pickers/DataPickerRow.d.ts.map +1 -1
- package/components/pickers/PickerBodyMobileView.d.ts +25 -5
- package/components/pickers/PickerBodyMobileView.d.ts.map +1 -1
- package/components/pickers/PickerInput.d.ts +6 -3
- package/components/pickers/PickerInput.d.ts.map +1 -1
- package/components/pickers/PickerItem.d.ts +2 -2
- package/components/pickers/PickerItem.d.ts.map +1 -1
- package/components/pickers/PickerList.d.ts +3 -3
- package/components/pickers/PickerList.d.ts.map +1 -1
- package/components/pickers/{PickerListItem.d.ts → PickerListRow.d.ts} +3 -3
- package/components/pickers/PickerListRow.d.ts.map +1 -0
- package/components/pickers/PickerModal.d.ts +3 -3
- package/components/pickers/PickerModal.d.ts.map +1 -1
- package/components/pickers/PickerToggler.d.ts +9 -4
- package/components/pickers/PickerToggler.d.ts.map +1 -1
- package/components/pickers/PickerTogglerTag.d.ts +3 -3
- package/components/pickers/PickerTogglerTag.d.ts.map +1 -1
- package/components/pickers/highlight.d.ts +2 -2
- package/components/pickers/highlight.d.ts.map +1 -1
- package/components/pickers/index.d.ts +2 -2
- package/components/pickers/index.d.ts.map +1 -1
- package/components/tables/ColumnHeaderDropdown/ColumnHeaderDropdown.d.ts.map +1 -1
- package/components/tables/ColumnHeaderDropdown/SortingPanel.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/DataRowsContainer.d.ts +3 -3
- package/components/tables/DataRowsContainer/DataRowsContainer.d.ts.map +1 -1
- package/components/tables/DataRowsContainer/DataRowsGroups.d.ts +1 -1
- package/components/tables/DataRowsContainer/DataRowsGroups.d.ts.map +1 -1
- package/components/tables/DataTable.d.ts +13 -5
- package/components/tables/DataTable.d.ts.map +1 -1
- package/components/tables/DataTableCell.d.ts +8 -4
- package/components/tables/DataTableCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderCell.d.ts +15 -13
- package/components/tables/DataTableHeaderCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderGroupCell.d.ts +5 -7
- package/components/tables/DataTableHeaderGroupCell.d.ts.map +1 -1
- package/components/tables/DataTableHeaderRow.d.ts +1 -1
- package/components/tables/DataTableHeaderRow.d.ts.map +1 -1
- package/components/tables/DataTableRow.d.ts +10 -8
- package/components/tables/DataTableRow.d.ts.map +1 -1
- package/components/tables/columnsConfigurationModal/ColumnRow.d.ts.map +1 -1
- package/components/tables/columnsConfigurationModal/ColumnsConfigurationModal.d.ts +1 -1
- package/components/tables/columnsConfigurationModal/ColumnsConfigurationModal.d.ts.map +1 -1
- package/components/tables/columnsConfigurationModal/PinIconButton.d.ts +1 -1
- package/components/tables/columnsConfigurationModal/PinIconButton.d.ts.map +1 -1
- package/components/tables/types.d.ts +3 -5
- package/components/tables/types.d.ts.map +1 -1
- package/components/types.d.ts +1 -0
- package/components/types.d.ts.map +1 -1
- package/components/typography/RichTextView.d.ts +1 -1
- package/components/typography/RichTextView.d.ts.map +1 -1
- package/components/typography/Text.d.ts +6 -6
- package/components/typography/Text.d.ts.map +1 -1
- package/components/widgets/CountIndicator.d.ts +6 -11
- package/components/widgets/CountIndicator.d.ts.map +1 -1
- package/components/widgets/DataRowAddons.d.ts +16 -9
- package/components/widgets/DataRowAddons.d.ts.map +1 -1
- package/components/widgets/Paginator.d.ts +3 -3
- package/components/widgets/Paginator.d.ts.map +1 -1
- package/components/widgets/StatusIndicator.d.ts +5 -3
- package/components/widgets/StatusIndicator.d.ts.map +1 -1
- package/index.d.ts +0 -1
- package/index.d.ts.map +1 -1
- package/index.esm.js +2802 -2685
- package/index.esm.js.map +1 -1
- package/index.js +2801 -2682
- package/index.js.map +1 -1
- package/package.json +8 -8
- package/settings.d.ts +459 -2
- package/settings.d.ts.map +1 -1
- package/stats.html +1 -19
- package/styles.css +3617 -9383
- package/styles.css.map +1 -1
- package/components/pickers/DataPickerCell.d.ts +0 -5
- package/components/pickers/DataPickerCell.d.ts.map +0 -1
- package/components/pickers/DataPickerHeader.d.ts +0 -8
- package/components/pickers/DataPickerHeader.d.ts.map +0 -1
- package/components/pickers/PickerListItem.d.ts.map +0 -1
- package/components/pickers/helpers.d.ts +0 -2
- package/components/pickers/helpers.d.ts.map +0 -1
- package/components/pickers/types.d.ts +0 -9
- package/components/pickers/types.d.ts.map +0 -1
- package/icons/icons.d.ts +0 -21
- package/icons/icons.d.ts.map +0 -1
- package/settings.types.d.ts +0 -238
- package/settings.types.d.ts.map +0 -1
package/assets/styles/index.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
@mixin disabled-input() {
|
|
2
|
-
|
|
2
|
+
&:global(.uui-control-mode-form) {
|
|
3
3
|
cursor: default;
|
|
4
4
|
@include input-colors(var(--uui-control-bg-disabled), var(--uui-control-text-disabled), var(--uui-control-border-disabled), var(--uui-control-placeholder-disabled));
|
|
5
5
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
&:global(.uui-control-mode-cell) {
|
|
13
13
|
cursor: default;
|
|
14
14
|
@include input-colors(transparent, var(--uui-control-text-disabled), transparent, var(--uui-control-placeholder-disabled));
|
|
15
15
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
@mixin readonly-input() {
|
|
24
|
-
|
|
24
|
+
&:global(.uui-control-mode-form) {
|
|
25
25
|
background-color: var(--uui-control-bg-disabled);
|
|
26
26
|
border-color: var(--uui-control-border-disabled);
|
|
27
27
|
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
|
|
39
|
+
&:global(.uui-control-mode-cell) {
|
|
40
40
|
background-color: transparent;
|
|
41
41
|
border-color: transparent;
|
|
42
42
|
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
@use '../../assets/styles/effects' as *;
|
|
2
2
|
|
|
3
|
-
@mixin
|
|
4
|
-
overflow: hidden;
|
|
5
|
-
text-overflow: ellipsis;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.uui-typography {
|
|
9
|
-
font-family: var(--uui-font);
|
|
10
|
-
color: var(--uui-text-primary);
|
|
11
|
-
|
|
3
|
+
@mixin typography-elements {
|
|
12
4
|
.hero-header, h1, h2, h3, h4, h5, h6 {
|
|
13
5
|
margin: 0;
|
|
14
6
|
}
|
|
@@ -168,6 +160,17 @@
|
|
|
168
160
|
}
|
|
169
161
|
}
|
|
170
162
|
|
|
163
|
+
.uui-typography {
|
|
164
|
+
font-family: var(--uui-font);
|
|
165
|
+
color: var(--uui-text-primary);
|
|
166
|
+
|
|
167
|
+
@include typography-elements;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.uui-typography-inline {
|
|
171
|
+
@include typography-elements;
|
|
172
|
+
}
|
|
173
|
+
|
|
171
174
|
.uui-typography-size-12 {
|
|
172
175
|
font-size: 12px;
|
|
173
176
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as uuiComponents from '@epam/uui-components';
|
|
3
|
-
import { Overwrite } from '@epam/uui-core';
|
|
4
|
-
import { ControlSize } from '../types';
|
|
3
|
+
import type { Overwrite } from '@epam/uui-core';
|
|
4
|
+
import type { ControlSize } from '../types';
|
|
5
5
|
type ButtonMods = {
|
|
6
6
|
/**
|
|
7
7
|
* Defines component size.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../components/buttons/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AACtD,OAAO,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../components/buttons/Button.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAI5C,KAAK,UAAU,GAAG;IACd;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,WAAW,GAAG,IAAI,CAAC;IACjC;;;OAGG;IACH,IAAI,CAAC,EAAE,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IAC9C;;;OAGG;IACH,KAAK,CAAC,EAAE,QAAQ,GAAG,SAAS,GAAG,UAAU,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAC;CACjF,CAAC;AACF,MAAM,WAAW,kBAAkB;CAAG;AAEtC,iEAAiE;AACjE,MAAM,MAAM,eAAe,GAAG,aAAa,CAAC,WAAW,CAAC;AAExD,mDAAmD;AACnD,MAAM,WAAW,WAAY,SAAQ,eAAe,EAAE,SAAS,CAAC,UAAU,EAAE,kBAAkB,CAAC;CAAG;AAYlG,eAAO,MAAM,MAAM,iFASlB,CAAC"}
|
|
@@ -7,14 +7,13 @@ interface IconButtonMods {
|
|
|
7
7
|
* @default 'neutral'
|
|
8
8
|
*/
|
|
9
9
|
color?: 'info' | 'success' | 'error' | 'primary' | 'accent' | 'critical' | 'warning' | 'secondary' | 'neutral' | 'white';
|
|
10
|
-
}
|
|
11
|
-
/** Represents the Core properties of the IconButton component. */
|
|
12
|
-
export type IconButtonCoreProps = Omit<uuiComponents.IconButtonProps, 'size'> & {
|
|
13
10
|
/**
|
|
14
11
|
* Defines component size.
|
|
15
12
|
*/
|
|
16
13
|
size?: '18' | '24' | '30' | '36';
|
|
17
|
-
}
|
|
14
|
+
}
|
|
15
|
+
/** Represents the Core properties of the IconButton component. */
|
|
16
|
+
export type IconButtonCoreProps = Omit<uuiComponents.IconButtonProps, 'size'>;
|
|
18
17
|
export interface IconButtonModsOverride {
|
|
19
18
|
}
|
|
20
19
|
/** Represents the properties of the IconButton component. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/IconButton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAY,SAAS,EAAa,MAAM,gBAAgB,CAAC;AAKhE,UAAU,cAAc;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/IconButton.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,aAAa,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAY,SAAS,EAAa,MAAM,gBAAgB,CAAC;AAKhE,UAAU,cAAc;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,OAAO,CAAC;IAEzH;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CACpC;AAED,kEAAkE;AAClE,MAAM,MAAM,mBAAmB,GAAG,IAAI,CAAC,aAAa,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;AAE9E,MAAM,WAAW,sBAAsB;CAAG;AAE1C,6DAA6D;AAC7D,MAAM,WAAW,eAAgB,SAAQ,mBAAmB,EAAE,SAAS,CAAC,cAAc,EAAE,sBAAsB,CAAC;CAAG;AAMlH,eAAO,MAAM,UAAU,qFAiBtB,CAAC"}
|
|
@@ -8,16 +8,16 @@ interface LinkButtonMods {
|
|
|
8
8
|
* @default 'primary'
|
|
9
9
|
*/
|
|
10
10
|
color?: 'primary' | 'secondary' | 'accent' | 'critical' | 'white' | 'contrast';
|
|
11
|
-
}
|
|
12
|
-
/** Represents the Core properties of the LinkButton component. */
|
|
13
|
-
export interface LinkButtonCoreProps extends ClickableComponentProps, IDropdownToggler, IHasIcon, IHasCaption {
|
|
14
|
-
/** Icon for drop-down toggler */
|
|
15
|
-
dropdownIcon?: Icon;
|
|
16
11
|
/**
|
|
17
12
|
* Defines component size.
|
|
18
13
|
* @default '36'
|
|
19
14
|
*/
|
|
20
15
|
size?: types.ControlSize | '42';
|
|
16
|
+
}
|
|
17
|
+
/** Represents the Core properties of the LinkButton component. */
|
|
18
|
+
export interface LinkButtonCoreProps extends ClickableComponentProps, IDropdownToggler, IHasIcon, IHasCaption {
|
|
19
|
+
/** Icon for drop-down toggler */
|
|
20
|
+
dropdownIcon?: Icon;
|
|
21
21
|
/**
|
|
22
22
|
* Defines component font-weight
|
|
23
23
|
* @default 'semibold'
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/LinkButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"LinkButton.d.ts","sourceRoot":"","sources":["../../../components/buttons/LinkButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,IAAI,EAAa,gBAAgB,EAAE,WAAW,EAAE,QAAQ,EAAc,SAAS,EAAE,MAAM,gBAAgB,CAAC;AACjH,OAAO,EAAa,uBAAuB,EAAiB,MAAM,sBAAsB,CAAC;AAEzF,OAAO,KAAK,KAAK,MAAM,UAAU,CAAC;AAOlC,UAAU,cAAc;IACpB;;;OAGG;IACH,KAAK,CAAC,EAAE,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,CAAC;IAE/E;;;OAGG;IACH,IAAI,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,IAAI,CAAC;CACnC;AAED,kEAAkE;AAClE,MAAM,WAAW,mBAAoB,SAAQ,uBAAuB,EAAE,gBAAgB,EAAE,QAAQ,EAAE,WAAW;IACzG,iCAAiC;IACjC,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB;;;OAGG;IACH,MAAM,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IAChC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CAClC;AAED,MAAM,WAAW,sBAAsB;CAAG;AAE1C,6DAA6D;AAC7D,MAAM,WAAW,eAAgB,SAAQ,mBAAmB,EAAE,SAAS,CAAC,cAAc,EAAE,sBAAsB,CAAC;CAAG;AAElH,eAAO,MAAM,UAAU,+GAoDrB,CAAC"}
|
|
@@ -41,5 +41,5 @@ export interface CalendarPresetsProps extends IHasCX, IHasRawProps<React.HTMLAtt
|
|
|
41
41
|
presets: RangeDatePickerPresets;
|
|
42
42
|
onPresetSet: (nV: RangeDatePickerPresetValue) => void;
|
|
43
43
|
}
|
|
44
|
-
export declare function CalendarPresets(props: CalendarPresetsProps): JSX.Element;
|
|
44
|
+
export declare function CalendarPresets(props: CalendarPresetsProps): React.JSX.Element;
|
|
45
45
|
//# sourceMappingURL=CalendarPresets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CalendarPresets.d.ts","sourceRoot":"","sources":["../../../components/datePickers/CalendarPresets.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CalendarPresets.d.ts","sourceRoot":"","sources":["../../../components/datePickers/CalendarPresets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACH,MAAM,EAAM,YAAY,EAAE,gBAAgB,EAC7C,MAAM,gBAAgB,CAAC;AAMxB,eAAO,MAAM,UAAU;;;;CAIb,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAAG;IACjC;;OAEG;IACH,CAAC,GAAG,EAAE,MAAM,GAAG;QACX;;WAEG;QACH,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;QACtB;;WAEG;QACH,QAAQ,EAAE,MAAM,0BAA0B,CAAC;KAC9C,CAAC;CACL,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,oBAAqB,SAAQ,MAAM,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,EAAE,gBAAgB,CAAC,cAAc,CAAC;IACtI,OAAO,EAAE,sBAAsB,CAAC;IAChC,WAAW,EAAE,CAAC,EAAE,EAAE,0BAA0B,KAAK,IAAI,CAAC;CACzD;AAUD,wBAAgB,eAAe,CAAC,KAAK,EAAE,oBAAoB,qBAkB1D"}
|
|
@@ -1,5 +1,49 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React, { ReactElement, ReactNode } from 'react';
|
|
2
|
+
import { Overwrite, CommonDatePickerProps, ICanFocus, IEditable, IAnalyticableOnChange, IHasPlaceholder, IHasRawProps } from '@epam/uui-core';
|
|
3
|
+
import { DayProps } from '@epam/uui-components';
|
|
4
|
+
import { IHasEditMode } from '../types';
|
|
5
|
+
type DatePickerMods = {
|
|
6
|
+
/**
|
|
7
|
+
* Defines component size.
|
|
8
|
+
* @default '36'
|
|
9
|
+
*/
|
|
10
|
+
size?: '24' | '30' | '36' | '42' | '48';
|
|
11
|
+
};
|
|
12
|
+
export interface DatePickerModsOverride {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Represents the properties of the DatePicker component
|
|
16
|
+
*/
|
|
17
|
+
export interface DatePickerProps extends Overwrite<DatePickerMods, DatePickerModsOverride>, CommonDatePickerProps, IHasEditMode, ICanFocus<HTMLInputElement>, IEditable<string | null>, IAnalyticableOnChange<string>, IHasPlaceholder {
|
|
18
|
+
/**
|
|
19
|
+
* Defines where to place calendar icon
|
|
20
|
+
*/
|
|
21
|
+
iconPosition?: 'left' | 'right';
|
|
22
|
+
/**
|
|
23
|
+
* Render prop to add a custom footer inside the DatePicker dropdown body
|
|
24
|
+
*/
|
|
25
|
+
renderFooter?(): ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
* Overrides rendering of the single day. For example, to highlight certain days
|
|
28
|
+
*/
|
|
29
|
+
renderDay?: (renderProps: DayProps) => ReactElement<Element>;
|
|
30
|
+
/**
|
|
31
|
+
* Any HTML attributes (native or 'data-') to put on date picker parts
|
|
32
|
+
*/
|
|
33
|
+
rawProps?: {
|
|
34
|
+
/**
|
|
35
|
+
* Any HTML attributes (native or 'data-') to put on date picker input
|
|
36
|
+
*/
|
|
37
|
+
input?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
|
|
38
|
+
/**
|
|
39
|
+
* Any HTML attributes (native or 'data-') to put on date picker body
|
|
40
|
+
*/
|
|
41
|
+
body?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export declare function DatePickerComponent(props: DatePickerProps, ref: React.ForwardedRef<HTMLElement>): React.JSX.Element;
|
|
45
|
+
export declare const DatePicker: (props: DatePickerProps & {
|
|
46
|
+
ref?: React.ForwardedRef<HTMLElement>;
|
|
47
|
+
}) => ReturnType<typeof DatePickerComponent>;
|
|
48
|
+
export {};
|
|
5
49
|
//# sourceMappingURL=DatePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DatePicker.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,SAAS,EAAgC,MAAM,OAAO,CAAC;AAErF,OAAO,EAEH,SAAS,EAAE,qBAAqB,EAAE,SAAS,EAC3C,SAAS,EAAE,qBAAqB,EAAE,eAAe,EAAE,YAAY,EAClE,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,QAAQ,EAAY,MAAM,sBAAsB,CAAC;AAE1D,OAAO,EAAY,YAAY,EAAE,MAAM,UAAU,CAAC;AAUlD,KAAK,cAAc,GAAG;IAClB;;;OAGG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3C,CAAC;AAEF,MAAM,WAAW,sBAAsB;CAAG;AAE1C;;GAEG;AACH,MAAM,WAAW,eAAgB,SAC7B,SAAS,CAAC,cAAc,EAAE,sBAAsB,CAAC,EACjD,qBAAqB,EACrB,YAAY,EACZ,SAAS,CAAC,gBAAgB,CAAC,EAC3B,SAAS,CAAC,MAAM,GAAG,IAAI,CAAC,EACxB,qBAAqB,CAAC,MAAM,CAAC,EAC7B,eAAe;IACf;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAEhC;;OAEG;IACH,YAAY,CAAC,IAAI,SAAS,CAAC;IAE3B;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,WAAW,EAAE,QAAQ,KAAK,YAAY,CAAC,OAAO,CAAC,CAAC;IAE7D;;OAEG;IACH,QAAQ,CAAC,EAAE;QACP;;WAEG;QACH,KAAK,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;QACvE;;WAEG;QACH,IAAI,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;KACzE,CAAC;CACL;AAED,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,eAAe,EAAE,GAAG,EAAE,KAAK,CAAC,YAAY,CAAC,WAAW,CAAC,qBAkH/F;AAED,eAAO,MAAM,UAAU,UACX,eAAe,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,YAAY,CAAC,WAAW,CAAC,CAAA;CAAE,KAAK,WAAW,0BAA0B,CAAC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"DatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AACxE,OAAO,EACH,WAAW,EAEd,MAAM,gBAAgB,CAAC;AAIxB,OAAO,EAAE,yBAAyB,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAI9D,OAAO,EAAE,KAAK,EAAY,MAAM,2BAA2B,CAAC;AAK5D,MAAM,WAAW,mBAAoB,SAAQ,yBAAyB,EAAE,WAAW,CAAC,MAAM,GAAG,IAAI,CAAC;IAC9F;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,OAAO,CAAC;CACvC;AAED,eAAO,MAAM,iBAAiB;;CAEpB,CAAC;AAEX,eAAO,MAAM,cAAc,4FAAiC,CAAC;AA0B7D,MAAM,WAAW,4BAA4B,CAAC,UAAU;IACpD,KAAK,EAAE,UAAU,GAAG,IAAI,CAAC;IACzB,KAAK,EAAE,KAAK,CAAC;IACb,IAAI,EAAE,QAAQ,CAAC;CAClB;AAED,MAAM,WAAW,4BAA6B,SAAQ,yBAAyB,EAAE,4BAA4B,CAAC,MAAM,CAAC;IACjH,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9C,aAAa,EAAE,CAAC,CAAC,EAAE,KAAK,KAAK,IAAI,CAAC;IAClC,YAAY,EAAE,CAAC,CAAC,EAAE,QAAQ,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,OAAO,CAAC;CACvC;AAED,eAAO,MAAM,uBAAuB,qGAA0C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { Icon, IDisableable, IHasCX } from '@epam/uui-core';
|
|
3
|
-
import
|
|
3
|
+
import { Dayjs } from '../../helpers/dayJsHelper';
|
|
4
4
|
import { ViewType } from './types';
|
|
5
5
|
export declare const uuiHeader: {
|
|
6
6
|
container: string;
|
|
@@ -19,6 +19,6 @@ export interface DatePickerHeaderProps extends IHasCX, IDisableable {
|
|
|
19
19
|
navIconLeft?: Icon;
|
|
20
20
|
navIconRight?: Icon;
|
|
21
21
|
}
|
|
22
|
-
export declare function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, onValueChange, isDisabled, }: DatePickerHeaderProps): JSX.Element;
|
|
22
|
+
export declare function DatePickerHeader({ navIconLeft, navIconRight, value: { month, view }, onValueChange, isDisabled, }: DatePickerHeaderProps): React.JSX.Element;
|
|
23
23
|
export {};
|
|
24
24
|
//# sourceMappingURL=DatePickerHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DatePickerHeader.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePickerHeader.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DatePickerHeader.d.ts","sourceRoot":"","sources":["../../../components/datePickers/DatePickerHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAG5D,OAAO,EAAY,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAE5D,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAMnC,eAAO,MAAM,SAAS;;;;;;CAMrB,CAAC;AAEF,UAAU,qBAAqB;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,EAAE,KAAK,CAAC;CAChB;AAED,MAAM,WAAW,qBAAsB,SAAQ,MAAM,EAAE,YAAY;IAC/D,KAAK,EAAE,qBAAqB,CAAC;IAC7B,aAAa,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAKtD,WAAW,CAAC,EAAE,IAAI,CAAC;IAKnB,YAAY,CAAC,EAAE,IAAI,CAAC;CACvB;AAUD,wBAAgB,gBAAgB,CAAC,EAC7B,WAAW,EAAE,YAAY,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,aAAa,EAAE,UAAU,GAC/E,EAAE,qBAAqB,qBAqGvB"}
|
|
@@ -1,4 +1,69 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import React, { ReactElement, ReactNode, type JSX } from 'react';
|
|
2
|
+
import type { CommonDatePickerProps, RangeDatePickerPresets, IAnalyticableOnChange, IEditable, IHasRawProps, Overwrite } from '@epam/uui-core';
|
|
3
|
+
import { DayProps } from '@epam/uui-components';
|
|
4
|
+
import type { RangeDatePickerInputType, RangeDatePickerValue } from './types';
|
|
5
|
+
export interface RangeDatePickerModsOverride {
|
|
6
|
+
}
|
|
7
|
+
type RangeDatePickerMods = {
|
|
8
|
+
/**
|
|
9
|
+
* Defines component size.
|
|
10
|
+
*/
|
|
11
|
+
size?: '24' | '30' | '36' | '42' | '48';
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Represents the properties of the RangeDatePicker component
|
|
15
|
+
*/
|
|
16
|
+
export interface RangeDatePickerProps extends Overwrite<RangeDatePickerMods, RangeDatePickerModsOverride>, IEditable<RangeDatePickerValue | null>, IAnalyticableOnChange<RangeDatePickerValue | null>, CommonDatePickerProps {
|
|
17
|
+
/**
|
|
18
|
+
* Range presets (like 'this week', 'this month', etc.) to display at the right of the Picker's body.
|
|
19
|
+
* UUI provides defaults in the 'rangeDatePickerPresets' exported variable - you can use it as is, or build on top of it (e.g. add your presets)
|
|
20
|
+
*/
|
|
21
|
+
presets?: RangeDatePickerPresets;
|
|
22
|
+
/**
|
|
23
|
+
* Allows to add a custom footer to the Picker's dropdown body
|
|
24
|
+
*/
|
|
25
|
+
renderFooter?(value: RangeDatePickerValue): ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
* Called when component gets input focus
|
|
28
|
+
*/
|
|
29
|
+
onFocus?: (e: React.FocusEvent<HTMLInputElement>, inputType: RangeDatePickerInputType) => void;
|
|
30
|
+
/**
|
|
31
|
+
* Called when component looses input focus
|
|
32
|
+
*/
|
|
33
|
+
onBlur?: (e: React.FocusEvent<HTMLInputElement>, inputType: RangeDatePickerInputType) => void;
|
|
34
|
+
/**
|
|
35
|
+
* Called when component is opened/closed
|
|
36
|
+
*/
|
|
37
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
38
|
+
/**
|
|
39
|
+
* A pure function that gets placeholder for 'from' or 'to' input.
|
|
40
|
+
*/
|
|
41
|
+
getPlaceholder?(type: RangeDatePickerInputType): string;
|
|
42
|
+
/**
|
|
43
|
+
* Overrides rendering of the single day. For example, to highlight certain days
|
|
44
|
+
*/
|
|
45
|
+
renderDay?: (renderProps: DayProps) => ReactElement<Element>;
|
|
46
|
+
/**
|
|
47
|
+
* rawProps as HTML attributes
|
|
48
|
+
*/
|
|
49
|
+
rawProps?: {
|
|
50
|
+
/**
|
|
51
|
+
* Any HTML attributes (native or 'data-') to put on 'from' input
|
|
52
|
+
*/
|
|
53
|
+
from?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
|
|
54
|
+
/**
|
|
55
|
+
* Any HTML attributes (native or 'data-') to put on 'to' input
|
|
56
|
+
*/
|
|
57
|
+
to?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
|
|
58
|
+
/**
|
|
59
|
+
* Any HTML attributes (native or 'data-') to put on date picker body
|
|
60
|
+
*/
|
|
61
|
+
body?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
declare function RangeDatePickerComponent(props: RangeDatePickerProps, ref: React.ForwardedRef<HTMLElement>): JSX.Element;
|
|
65
|
+
export declare const RangeDatePicker: (props: RangeDatePickerProps & {
|
|
66
|
+
ref?: React.ForwardedRef<HTMLElement>;
|
|
67
|
+
}) => ReturnType<typeof RangeDatePickerComponent>;
|
|
68
|
+
export {};
|
|
4
69
|
//# sourceMappingURL=RangeDatePicker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeDatePicker.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"RangeDatePicker.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePicker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,YAAY,EAAE,SAAS,EAAiC,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAGhG,OAAO,KAAK,EACR,qBAAqB,EAAE,sBAAsB,EAC1B,qBAAqB,EAAE,SAAS,EAAE,YAAY,EAAE,SAAS,EAC/E,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,QAAQ,EAAY,MAAM,sBAAsB,CAAC;AAK1D,OAAO,KAAK,EAER,wBAAwB,EACxB,oBAAoB,EACvB,MAAM,SAAS,CAAC;AAMjB,MAAM,WAAW,2BAA2B;CAAG;AAE/C,KAAK,mBAAmB,GAAG;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;CAC3C,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,oBAAqB,SAClC,SAAS,CAAC,mBAAmB,EAAE,2BAA2B,CAAC,EAC3D,SAAS,CAAC,oBAAoB,GAAG,IAAI,CAAC,EACtC,qBAAqB,CAAC,oBAAoB,GAAG,IAAI,CAAC,EAClD,qBAAqB;IACrB;;;OAGG;IACH,OAAO,CAAC,EAAE,sBAAsB,CAAC;IAEjC;;OAEG;IACH,YAAY,CAAC,CAAC,KAAK,EAAE,oBAAoB,GAAG,SAAS,CAAC;IAEtD;;OAEG;IACH,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAAE,SAAS,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAE/F;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAAE,SAAS,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAE9F;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAA;IAExC;;OAEG;IACH,cAAc,CAAC,CAAC,IAAI,EAAE,wBAAwB,GAAG,MAAM,CAAC;IAExD;;OAEG;IACH,SAAS,CAAC,EAAE,CAAC,WAAW,EAAE,QAAQ,KAAK,YAAY,CAAC,OAAO,CAAC,CAAC;IAE7D;;OAEG;IACH,QAAQ,CAAC,EAAE;QACP;;WAEG;QACH,IAAI,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;QACtE;;WAEG;QACH,EAAE,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;QACpE;;WAEG;QACH,IAAI,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;KACzE,CAAC;CACL;AAED,iBAAS,wBAAwB,CAAC,KAAK,EAAE,oBAAoB,EAAE,GAAG,EAAE,KAAK,CAAC,YAAY,CAAC,WAAW,CAAC,GAAG,GAAG,CAAC,OAAO,CA6HhH;AAED,eAAO,MAAM,eAAe,UAChB,oBAAoB,GAAG;IAAE,GAAG,CAAC,EAAE,MAAM,YAAY,CAAC,WAAW,CAAC,CAAA;CAAE,KAAK,WAAW,+BAA+B,CAAC,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { CommonDatePickerBodyProps, RangeDatePickerValue, RangeDatePickerBodyValue } from './types';
|
|
2
|
+
import type { IControlled, RangeDatePickerPresets } from '@epam/uui-core';
|
|
3
|
+
import type { Dayjs } from '../../helpers/dayJsHelper';
|
|
4
|
+
import type { CommonDatePickerBodyProps, RangeDatePickerValue, RangeDatePickerBodyValue } from './types';
|
|
6
5
|
export declare const uuiRangeDatePickerBody: {
|
|
7
6
|
inRange: string;
|
|
8
7
|
firstDayInRangeWrapper: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeDatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"RangeDatePickerBody.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePickerBody.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAyC,MAAM,OAAO,CAAC;AAE9D,OAAO,KAAK,EAAE,WAAW,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAO1E,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAKvD,OAAO,KAAK,EACR,yBAAyB,EACC,oBAAoB,EAAE,wBAAwB,EAC3E,MAAM,SAAS,CAAC;AAIjB,eAAO,MAAM,sBAAsB;;;;;CAKlC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,sBAiEpC,CAAC;AAEF,MAAM,WAAW,wBAAwB,CAAC,CAAC,CAAE,SAAQ,yBAAyB,EAAE,WAAW,CAAC,wBAAwB,CAAC,CAAC,CAAC,CAAC;IACpH,YAAY,CAAC,IAAI,KAAK,CAAC,SAAS,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK,OAAO,CAAC;CACvC;AAED,eAAO,MAAM,mBAAmB,uHAAsC,CAAC"}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IEditable, IHasCX, IClickable, IHasRawProps } from '@epam/uui-core';
|
|
3
|
-
import { RangeDatePickerInputType,
|
|
3
|
+
import type { RangeDatePickerInputType, RangeDatePickerValue } from './types';
|
|
4
|
+
import type { RangeDatePickerProps } from './RangeDatePicker';
|
|
4
5
|
/**
|
|
5
6
|
* Represents RangeDatePickerInputProps
|
|
6
7
|
*/
|
|
7
|
-
export interface RangeDatePickerInputProps extends IEditable<RangeDatePickerValue>, IHasCX, IClickable, Pick<RangeDatePickerProps, 'getPlaceholder' | 'disableClear' | 'filter' | 'id' | 'format'> {
|
|
8
|
-
/**
|
|
9
|
-
* Defines component size.
|
|
10
|
-
*/
|
|
11
|
-
size?: '24' | '30' | '36' | '42' | '48';
|
|
8
|
+
export interface RangeDatePickerInputProps extends IEditable<RangeDatePickerValue>, IHasCX, IClickable, Pick<RangeDatePickerProps, 'getPlaceholder' | 'disableClear' | 'filter' | 'id' | 'format' | 'size'> {
|
|
12
9
|
/**
|
|
13
10
|
* rawProps as HTML attributes
|
|
14
11
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeDatePickerInput.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePickerInput.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"RangeDatePickerInput.d.ts","sourceRoot":"","sources":["../../../components/datePickers/RangeDatePickerInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoD,MAAM,OAAO,CAAC;AACzE,OAAO,EAAE,SAAS,EAAc,MAAM,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAKzF,OAAO,KAAK,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAC9E,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AAO9D;;GAEG;AACH,MAAM,WAAW,yBACb,SAAQ,SAAS,CAAC,oBAAoB,CAAC,EACvC,MAAM,EACN,UAAU,EACV,IAAI,CAAC,oBAAoB,EAAE,gBAAgB,GAAG,cAAc,GAAG,QAAQ,GAAG,IAAI,GAAG,QAAQ,GAAG,MAAM,CAAC;IACnG;;OAEG;IACH,QAAQ,CAAC,EAAE;QACP;;WAEG;QACH,IAAI,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;QACtE;;WAEG;QACH,EAAE,CAAC,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC;KACvE,CAAC;IACF;;OAEG;IACH,OAAO,EAAE,wBAAwB,CAAC;IAClC;;MAEE;IACF,YAAY,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAAE,SAAS,EAAE,wBAAwB,KAAK,IAAI,CAAC;IACvG;;KAEC;IACD,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,EAAE,OAAO,CAAC,EAAE,SAAS,EAAE,wBAAwB,KAAK,IAAI,CAAC;IAEhH;;OAEG;IACH,SAAS,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC;CAC5D;AAED,eAAO,MAAM,oBAAoB,kGA2H/B,CAAC"}
|
|
@@ -5,5 +5,5 @@ export * from './RangeDatePickerInput';
|
|
|
5
5
|
export * from './RangeDatePicker';
|
|
6
6
|
export * from './RangeDatePickerBody';
|
|
7
7
|
export type { DatePickerBodyProps } from './DatePickerBody';
|
|
8
|
-
export type {
|
|
8
|
+
export type { RangeDatePickerValue, RangeDatePickerBodyValue, } from './types';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/datePickers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrE,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AAEtC,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,YAAY,EACR,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../components/datePickers/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrE,cAAc,YAAY,CAAC;AAC3B,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AAEtC,YAAY,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5D,YAAY,EACR,oBAAoB,EACpB,wBAAwB,GAC3B,MAAM,SAAS,CAAC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { DayProps, RangeDatePickerPresets } from '@epam/uui-components';
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { IDisableable, IHasCX, IHasRawProps, RangeDatePickerPresets } from '@epam/uui-core';
|
|
3
|
+
import type { DayProps } from '@epam/uui-components';
|
|
5
4
|
import type { Dayjs } from '../../helpers/dayJsHelper';
|
|
6
5
|
/**
|
|
7
6
|
* Represents RangeDatePicker value
|
|
8
7
|
*/
|
|
9
|
-
type RangeDatePickerValue = {
|
|
8
|
+
export type RangeDatePickerValue = {
|
|
10
9
|
/**
|
|
11
10
|
* Defines DatePicker value 'from'.
|
|
12
11
|
*/
|
|
@@ -16,118 +15,20 @@ type RangeDatePickerValue = {
|
|
|
16
15
|
*/
|
|
17
16
|
to: string | null;
|
|
18
17
|
};
|
|
19
|
-
export interface DatePickerModsOverride {
|
|
20
|
-
}
|
|
21
|
-
type DatePickerMods = {
|
|
22
|
-
/**
|
|
23
|
-
* Defines component size.
|
|
24
|
-
* @default '36'
|
|
25
|
-
*/
|
|
26
|
-
size?: '24' | '30' | '36' | '42' | '48';
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Represents the properties of the DatePicker component
|
|
30
|
-
*/
|
|
31
|
-
interface DatePickerProps extends Overwrite<DatePickerMods, DatePickerModsOverride>, CommonDatePickerProps, IHasEditMode, ICanFocus<HTMLInputElement>, IEditable<string | null>, IAnalyticableOnChange<string>, IHasPlaceholder {
|
|
32
|
-
/**
|
|
33
|
-
* Defines where to place calendar icon
|
|
34
|
-
*/
|
|
35
|
-
iconPosition?: 'left' | 'right';
|
|
36
|
-
/**
|
|
37
|
-
* Render prop to add a custom footer inside the DatePicker dropdown body
|
|
38
|
-
*/
|
|
39
|
-
renderFooter?(): ReactNode;
|
|
40
|
-
/**
|
|
41
|
-
* Overrides rendering of the single day. For example, to highlight certain days
|
|
42
|
-
*/
|
|
43
|
-
renderDay?: (renderProps: DayProps) => ReactElement<Element>;
|
|
44
|
-
/**
|
|
45
|
-
* Any HTML attributes (native or 'data-') to put on date picker parts
|
|
46
|
-
*/
|
|
47
|
-
rawProps?: {
|
|
48
|
-
/**
|
|
49
|
-
* Any HTML attributes (native or 'data-') to put on date picker input
|
|
50
|
-
*/
|
|
51
|
-
input?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
|
|
52
|
-
/**
|
|
53
|
-
* Any HTML attributes (native or 'data-') to put on date picker body
|
|
54
|
-
*/
|
|
55
|
-
body?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
export interface RangeDatePickerModsOverride {
|
|
59
|
-
}
|
|
60
|
-
type RangeDatePickerMods = {
|
|
61
|
-
/**
|
|
62
|
-
* Defines component size.
|
|
63
|
-
*/
|
|
64
|
-
size?: '24' | '30' | '36' | '42' | '48';
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* Represents the properties of the RangeDatePicker component
|
|
68
|
-
*/
|
|
69
|
-
interface RangeDatePickerProps extends Overwrite<RangeDatePickerMods, RangeDatePickerModsOverride>, IEditable<RangeDatePickerValue | null>, IAnalyticableOnChange<RangeDatePickerValue | null>, CommonDatePickerProps {
|
|
70
|
-
/**
|
|
71
|
-
* Range presets (like 'this week', 'this month', etc.) to display at the right of the Picker's body.
|
|
72
|
-
* UUI provides defaults in the 'rangeDatePickerPresets' exported variable - you can use it as is, or build on top of it (e.g. add your presets)
|
|
73
|
-
*/
|
|
74
|
-
presets?: RangeDatePickerPresets;
|
|
75
|
-
/**
|
|
76
|
-
* Allows to add a custom footer to the Picker's dropdown body
|
|
77
|
-
*/
|
|
78
|
-
renderFooter?(value: RangeDatePickerValue): ReactNode;
|
|
79
|
-
/**
|
|
80
|
-
* Called when component gets input focus
|
|
81
|
-
*/
|
|
82
|
-
onFocus?: (e: React.FocusEvent<HTMLInputElement>, inputType: RangeDatePickerInputType) => void;
|
|
83
|
-
/**
|
|
84
|
-
* Called when component looses input focus
|
|
85
|
-
*/
|
|
86
|
-
onBlur?: (e: React.FocusEvent<HTMLInputElement>, inputType: RangeDatePickerInputType) => void;
|
|
87
|
-
/**
|
|
88
|
-
* Called when component is opened/closed
|
|
89
|
-
*/
|
|
90
|
-
onOpenChange?: (isOpen: boolean) => void;
|
|
91
|
-
/**
|
|
92
|
-
* A pure function that gets placeholder for 'from' or 'to' input.
|
|
93
|
-
*/
|
|
94
|
-
getPlaceholder?(type: RangeDatePickerInputType): string;
|
|
95
|
-
/**
|
|
96
|
-
* Overrides rendering of the single day. For example, to highlight certain days
|
|
97
|
-
*/
|
|
98
|
-
renderDay?: (renderProps: DayProps) => ReactElement<Element>;
|
|
99
|
-
/**
|
|
100
|
-
* rawProps as HTML attributes
|
|
101
|
-
*/
|
|
102
|
-
rawProps?: {
|
|
103
|
-
/**
|
|
104
|
-
* Any HTML attributes (native or 'data-') to put on 'from' input
|
|
105
|
-
*/
|
|
106
|
-
from?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
|
|
107
|
-
/**
|
|
108
|
-
* Any HTML attributes (native or 'data-') to put on 'to' input
|
|
109
|
-
*/
|
|
110
|
-
to?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
|
|
111
|
-
/**
|
|
112
|
-
* Any HTML attributes (native or 'data-') to put on date picker body
|
|
113
|
-
*/
|
|
114
|
-
body?: IHasRawProps<React.HTMLAttributes<HTMLDivElement>>['rawProps'];
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
18
|
/**
|
|
118
19
|
* Represents RangeDatePicker input type
|
|
119
20
|
*/
|
|
120
|
-
type RangeDatePickerInputType = 'from' | 'to' | null;
|
|
121
|
-
interface CommonDatePickerBodyProps extends IHasCX, IDisableable, IHasRawProps<React.HTMLAttributes<HTMLDivElement>> {
|
|
21
|
+
export type RangeDatePickerInputType = 'from' | 'to' | null;
|
|
22
|
+
export interface CommonDatePickerBodyProps extends IHasCX, IDisableable, IHasRawProps<React.HTMLAttributes<HTMLDivElement>> {
|
|
122
23
|
filter?(day: Dayjs): boolean;
|
|
123
24
|
presets?: RangeDatePickerPresets;
|
|
124
25
|
renderDay?: (renderProps: DayProps) => React.ReactElement<Element>;
|
|
125
26
|
}
|
|
126
|
-
type ViewType = 'DAY_SELECTION' | 'MONTH_SELECTION' | 'YEAR_SELECTION';
|
|
27
|
+
export type ViewType = 'DAY_SELECTION' | 'MONTH_SELECTION' | 'YEAR_SELECTION';
|
|
127
28
|
/**
|
|
128
29
|
* Represents date picker body value
|
|
129
30
|
*/
|
|
130
|
-
interface RangeDatePickerBodyValue<TSelection> {
|
|
31
|
+
export interface RangeDatePickerBodyValue<TSelection> {
|
|
131
32
|
/**
|
|
132
33
|
* Currently setting date
|
|
133
34
|
*/
|
|
@@ -137,5 +38,4 @@ interface RangeDatePickerBodyValue<TSelection> {
|
|
|
137
38
|
*/
|
|
138
39
|
selectedDate: TSelection;
|
|
139
40
|
}
|
|
140
|
-
export type { RangeDatePickerValue, DatePickerProps, RangeDatePickerProps, RangeDatePickerInputType, CommonDatePickerBodyProps, ViewType, RangeDatePickerBodyValue, };
|
|
141
41
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../components/datePickers/types.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../components/datePickers/types.ts"],"names":[],"mappings":";AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACjG,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2BAA2B,CAAC;AAEvD;;EAEE;AACF,MAAM,MAAM,oBAAoB,GAAG;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,GAAG,IAAI,CAAC;CACrB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5D,MAAM,WAAW,yBAA0B,SAAQ,MAAM,EAAE,YAAY,EAAE,YAAY,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC;IACvH,MAAM,CAAC,CAAC,GAAG,EAAE,KAAK,GAAG,OAAO,CAAC;IAC7B,OAAO,CAAC,EAAE,sBAAsB,CAAC;IACjC,SAAS,CAAC,EAAE,CAAC,WAAW,EAAE,QAAQ,KAAK,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,CAAC;CACtE;AAED,MAAM,MAAM,QAAQ,GAAG,eAAe,GAAG,iBAAiB,GAAG,gBAAgB,CAAC;AAE9E;;GAEG;AACH,MAAM,WAAW,wBAAwB,CAAC,UAAU;IAChD;;OAEG;IACH,OAAO,EAAE,wBAAwB,CAAC;IAClC;;OAEG;IACH,YAAY,EAAE,UAAU,CAAC;CAC5B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { DndActorRenderParams, IHasCX } from '@epam/uui-core';
|
|
3
3
|
interface DropMarkerProps extends DndActorRenderParams, IHasCX {
|
|
4
4
|
/**
|
|
@@ -6,6 +6,6 @@ interface DropMarkerProps extends DndActorRenderParams, IHasCX {
|
|
|
6
6
|
*/
|
|
7
7
|
enableBlocker?: boolean;
|
|
8
8
|
}
|
|
9
|
-
export declare function DropMarker(props: DropMarkerProps): JSX.Element;
|
|
9
|
+
export declare function DropMarker(props: DropMarkerProps): React.JSX.Element;
|
|
10
10
|
export {};
|
|
11
11
|
//# sourceMappingURL=DropMarker.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropMarker.d.ts","sourceRoot":"","sources":["../../../components/dnd/DropMarker.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"DropMarker.d.ts","sourceRoot":"","sources":["../../../components/dnd/DropMarker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAG9D,UAAU,eAAgB,SAAQ,oBAAoB,EAAE,MAAM;IAC1D;;OAEG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,qBAehD"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
import { ApiCallInfo, IHasCX, IHasChildren, ErrorPageInfo
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ApiCallInfo, IHasCX, IHasChildren, ErrorPageInfo } from '@epam/uui-core';
|
|
3
|
+
import { UuiError } from '@epam/uui-core';
|
|
3
4
|
export interface ErrorHandlerProps extends IHasCX, IHasChildren {
|
|
4
5
|
/** Pure function to get error info for display based on error.
|
|
5
6
|
* If omitted, error info from default config will be used.
|
|
@@ -10,5 +11,5 @@ export interface ErrorHandlerProps extends IHasCX, IHasChildren {
|
|
|
10
11
|
* */
|
|
11
12
|
onNotificationError?: (errors: ApiCallInfo) => void;
|
|
12
13
|
}
|
|
13
|
-
export declare function ErrorHandler(props: ErrorHandlerProps): JSX.Element;
|
|
14
|
+
export declare function ErrorHandler(props: ErrorHandlerProps): React.JSX.Element;
|
|
14
15
|
//# sourceMappingURL=ErrorHandler.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorHandler.d.ts","sourceRoot":"","sources":["../../../components/errors/ErrorHandler.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ErrorHandler.d.ts","sourceRoot":"","sources":["../../../components/errors/ErrorHandler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,EAAuC,YAAY,EAAE,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAC5H,OAAO,EAA8B,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAYtE,MAAM,WAAW,iBAAkB,SAAQ,MAAM,EAAE,YAAY;IAC3D;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,GAAG,KAAK,GAAG,WAAW,EAAE,gBAAgB,EAAE,aAAa,KAAK,aAAa,CAAC;IAC5G;;SAEK;IACL,mBAAmB,CAAC,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CACvD;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,qBAwEpD"}
|
|
@@ -18,5 +18,5 @@ export interface DropSpotProps extends IHasRawProps<React.HTMLAttributes<HTMLDiv
|
|
|
18
18
|
*/
|
|
19
19
|
single?: boolean;
|
|
20
20
|
}
|
|
21
|
-
export declare function DropSpot(props: DropSpotProps): JSX.Element;
|
|
21
|
+
export declare function DropSpot(props: DropSpotProps): React.JSX.Element;
|
|
22
22
|
//# sourceMappingURL=DropSpot.d.ts.map
|