@loadsmart/loadsmart-ui 8.0.4 → 8.0.5
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.
|
@@ -3,7 +3,7 @@ export { default as DateFormatHelper } from './DateFormat.helper';
|
|
|
3
3
|
export { default as DateHelper, TODAY } from './Date.helper';
|
|
4
4
|
export { default as MonthHelper } from './Month.helper';
|
|
5
5
|
export { default as useCalendar } from './useCalendar';
|
|
6
|
-
export type { CalendarDate, CalendarDateRange, CalendarConstraint } from './Date.helper';
|
|
6
|
+
export type { CalendarDate, CalendarDateRange, CalendarConstraint, InputDate } from './Date.helper';
|
|
7
7
|
export type { DateFormat } from './DateFormat.helper';
|
|
8
8
|
export type { CalendarMonth, CalendarMonthAlias } from './Month.helper';
|
|
9
9
|
export type { CalendarProps, useCalendarProps, GenericCalendarProps } from './Calendar.types';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { default as Table } from './Table';
|
|
2
2
|
export type { TableProps, TableCellProps, TableRowProps, TableSectionProps, TableCaptionProps, TableSelectionProps, SelectionCellProps, ExpandableTableRowProps, } from './Table.types';
|
|
3
3
|
export type { TableSelectableRow, TableSelectionSelectable, TableSelectionConfig, TableSelectionCore, } from './Selection';
|
|
4
|
+
export type { SortDirection, SortState, TableRowGroup, ColumnGroup, SortableColumn, } from './useSortBy.types';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export type { Selectable, SelectableKeyType, SelectableAdapter, SelectableState, SelectableType, SelectableStrategy, SelectableAction, useSelectableReturn, useSelectableProps, } from './hooks/useSelectable';
|
|
2
2
|
export type { default as EventLike, EventLikeTarget } from './utils/types/EventLike';
|
|
3
|
+
export { default as Status } from './utils/types/Status';
|
|
3
4
|
export { Button, BaseButton, SelectorButton, IconButton, Caret } from './components/Button';
|
|
4
5
|
export { default as CloseButton } from './common/CloseButton';
|
|
5
6
|
export { default as BackButton } from './common/BackButton';
|
|
@@ -59,13 +60,13 @@ export type { PopoverProps, PopoverAlign, PopoverPosition, PopoverFloatingProps,
|
|
|
59
60
|
export { Dropdown, useDropdown, DropdownContext } from './components/Dropdown';
|
|
60
61
|
export type { DropdownProps, useDropdownProps, useDropdownReturn, GenericDropdownProps, DropdownTriggerProps, DropdownMenuProps, DropdownMenuItemProps, DropdownMenuSectionProps, DropdownContextReturn, } from './components/Dropdown';
|
|
61
62
|
export { Select, useSelect } from './components/Select';
|
|
62
|
-
export type { SelectProps, useSelectReturn, SelectOptionProps, SelectEmptyProps,
|
|
63
|
+
export type { SelectProps, useSelectReturn, SelectOptionProps, SelectEmptyProps, SelectOption, SelectOnChange, SelectOnCreate, SelectOnQueryChange, GenericOption, SelectableOption, SelectableOptionProps, CreatableProps, OptionKeyType, SelectValue, SelectAdapter, Adapters, SelectDatasource, Option, } from './components/Select';
|
|
63
64
|
export { SideNavigation, useSideNavigation } from './components/SideNavigation';
|
|
64
65
|
export type { SideNavigationProps, useSideNavigationProps } from './components/SideNavigation';
|
|
65
66
|
export { Drawer, useDrawer } from './components/Drawer';
|
|
66
67
|
export type { DrawerProps, DrawerBodyProps, DrawerFooterProps, DrawerHeaderProps, } from './components/Drawer';
|
|
67
68
|
export { Table } from './components/Table';
|
|
68
|
-
export type { TableProps, TableCellProps, TableRowProps, TableSectionProps, TableCaptionProps, TableSelectionProps, SelectionCellProps, ExpandableTableRowProps, TableSelectableRow, TableSelectionSelectable, TableSelectionConfig, TableSelectionCore, } from './components/Table';
|
|
69
|
+
export type { TableProps, TableCellProps, TableRowProps, TableSectionProps, TableCaptionProps, TableSelectionProps, SelectionCellProps, ExpandableTableRowProps, TableSelectableRow, TableSelectionSelectable, TableSelectionConfig, TableSelectionCore, SortDirection, SortState, TableRowGroup, ColumnGroup, SortableColumn, } from './components/Table';
|
|
69
70
|
export { Text } from './components/Text';
|
|
70
71
|
export type { TextProps } from './components/Text';
|
|
71
72
|
export { TopNavigation } from './components/TopNavigation';
|
|
@@ -81,7 +82,7 @@ export type { SwitcherProps } from './components/Layout/Switcher';
|
|
|
81
82
|
export type { GridProps } from './components/Layout/Grid';
|
|
82
83
|
export type { Spacing, JustifyValue, AlignValue } from './components/Layout/Layout.types';
|
|
83
84
|
export { Calendar, DateHelper, DateFormatHelper } from './components/Calendar';
|
|
84
|
-
export type { CalendarProps, CalendarDate, CalendarDateRange, CalendarConstraint, DateFormat, CalendarMonth, CalendarMonthAlias, useCalendarProps, GenericCalendarProps, } from './components/Calendar';
|
|
85
|
+
export type { CalendarProps, CalendarDate, CalendarDateRange, CalendarConstraint, DateFormat, CalendarMonth, CalendarMonthAlias, useCalendarProps, GenericCalendarProps, InputDate, } from './components/Calendar';
|
|
85
86
|
export { DatePicker, DateRangePicker } from './components/DatePicker';
|
|
86
87
|
export type { DatePickerProps, DateRangePickerProps } from './components/DatePicker';
|
|
87
88
|
export { Spinner } from './components/Loaders';
|
|
@@ -96,7 +97,7 @@ export { ErrorMessage } from './components/ErrorMessage';
|
|
|
96
97
|
export type { ErrorMessageProps } from './components/ErrorMessage';
|
|
97
98
|
export { DragDropFileProvider, useDragDropFileContext, } from './components/DragDropFile/DragDropFile.context';
|
|
98
99
|
export { default as DragDropFile } from './components/DragDropFile/DragDropFile';
|
|
99
|
-
export type { FileStatus, FileWithStatus, DropZoneProps, DragDropFileProviderProps, DragDropFileContextValue, } from './components/DragDropFile/types';
|
|
100
|
+
export type { FileStatus, FileWithStatus, DropZoneProps, DragDropFileProviderProps, DragDropFileContextValue, WrapperProps as DragDropFileWrapperProps, } from './components/DragDropFile/types';
|
|
100
101
|
export { TablePagination } from './components/TablePagination';
|
|
101
102
|
export type { TablePaginationProps } from './components/TablePagination';
|
|
102
103
|
export { VisuallyHidden } from './components/VisuallyHidden';
|
package/dist/index.js
CHANGED
|
@@ -14,6 +14,13 @@ import ReactDOM from "react-dom";
|
|
|
14
14
|
import { useFloating, autoUpdate, offset, flip, shift, arrow } from "@floating-ui/react-dom";
|
|
15
15
|
import { u as useDragDropFileContext } from "./DragDropFile.context-oKnUu6d3.js";
|
|
16
16
|
import { a } from "./DragDropFile.context-oKnUu6d3.js";
|
|
17
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
18
|
+
Status2["Success"] = "success";
|
|
19
|
+
Status2["Danger"] = "danger";
|
|
20
|
+
Status2["Warn"] = "warn";
|
|
21
|
+
Status2["Neutral"] = "neutral";
|
|
22
|
+
return Status2;
|
|
23
|
+
})(Status || {});
|
|
17
24
|
function transitionStyle(options) {
|
|
18
25
|
return `
|
|
19
26
|
transition-property: ${options?.property || "background, border-color, box-shadow, color, fill, left, stroke, transform, opacity"};
|
|
@@ -1471,13 +1478,6 @@ function useFocusWithin(props = {}) {
|
|
|
1471
1478
|
focused
|
|
1472
1479
|
};
|
|
1473
1480
|
}
|
|
1474
|
-
var Status = /* @__PURE__ */ ((Status2) => {
|
|
1475
|
-
Status2["Success"] = "success";
|
|
1476
|
-
Status2["Danger"] = "danger";
|
|
1477
|
-
Status2["Warn"] = "warn";
|
|
1478
|
-
Status2["Neutral"] = "neutral";
|
|
1479
|
-
return Status2;
|
|
1480
|
-
})(Status || {});
|
|
1481
1481
|
const InputWrapper = styled.div.withConfig({
|
|
1482
1482
|
displayName: "InputWrapper",
|
|
1483
1483
|
componentId: "ls-ui__sc-zve05l-0"
|
|
@@ -9222,6 +9222,7 @@ export {
|
|
|
9222
9222
|
SelectorButton,
|
|
9223
9223
|
SideNavigation,
|
|
9224
9224
|
Spinner,
|
|
9225
|
+
Status,
|
|
9225
9226
|
Steps,
|
|
9226
9227
|
Switch,
|
|
9227
9228
|
Table,
|