@commonsku/styles 1.16.3 → 1.16.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.
- package/dist/index.d.ts +65 -3
- package/dist/index.es.js +263 -228
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +268 -225
- package/dist/index.js.map +1 -1
- package/dist/styles/Popup.d.ts +17 -1
- package/dist/styles/Popup.d.ts.map +1 -1
- package/dist/styles/hooks/index.d.ts +2 -0
- package/dist/styles/hooks/index.d.ts.map +1 -1
- package/dist/styles/hooks/useClickOutside.d.ts +9 -0
- package/dist/styles/hooks/useClickOutside.d.ts.map +1 -0
- package/dist/styles/hooks/useFallbackRef.d.ts +4 -0
- package/dist/styles/hooks/useFallbackRef.d.ts.map +1 -0
- package/dist/styles/index.d.ts +1 -0
- package/dist/styles/index.d.ts.map +1 -1
- package/package.json +8 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import React$1, { CSSProperties, MouseEvent, Component, MouseEventHandler, ReactNode, WeakValidationMap, ComponentType } from 'react';
|
|
2
|
+
import React$1, { CSSProperties, MouseEvent, Component, MouseEventHandler, ReactNode, WeakValidationMap, ComponentType, Dispatch, SetStateAction, MutableRefObject, ForwardedRef } from 'react';
|
|
3
3
|
import { FlattenInterpolation, ThemedStyledProps, StyledComponent, CSSObject, FlattenSimpleInterpolation, GlobalStyleComponent, DefaultTheme, ThemeProps, Keyframes, AnyStyledComponent, StyledComponentInnerComponent } from 'styled-components';
|
|
4
4
|
import { DropzoneOptions } from 'react-dropzone';
|
|
5
5
|
import { AsyncAdditionalProps } from 'react-select/dist/declarations/src/useAsync';
|
|
@@ -1361,7 +1361,23 @@ declare type PopupProps = React$1.PropsWithChildren<{
|
|
|
1361
1361
|
zIndex?: number;
|
|
1362
1362
|
overlayZIndex?: number;
|
|
1363
1363
|
} & SharedStyleTypes> & React$1.HTMLAttributes<HTMLDivElement>;
|
|
1364
|
-
declare const Popup:
|
|
1364
|
+
declare const Popup: React$1.ForwardRefExoticComponent<{
|
|
1365
|
+
header?: React$1.Component<{}, {}, any> | undefined;
|
|
1366
|
+
noHeader?: boolean | undefined;
|
|
1367
|
+
title?: string | React$1.Component<{}, {}, any> | undefined;
|
|
1368
|
+
controls?: React$1.ReactNode[] | undefined;
|
|
1369
|
+
onClose?: ((event?: React$1.MouseEvent) => void) | undefined;
|
|
1370
|
+
noCloseButton?: boolean | undefined;
|
|
1371
|
+
closeOnClickOutside?: boolean | undefined;
|
|
1372
|
+
closeOnEsc?: boolean | undefined;
|
|
1373
|
+
width?: string | undefined;
|
|
1374
|
+
height?: string | undefined;
|
|
1375
|
+
padding?: string | undefined;
|
|
1376
|
+
zIndex?: number | undefined;
|
|
1377
|
+
overlayZIndex?: number | undefined;
|
|
1378
|
+
} & SharedStyleTypes & {
|
|
1379
|
+
children?: React$1.ReactNode;
|
|
1380
|
+
} & React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1365
1381
|
declare const ShowPopup: React$1.FC<Omit<PopupProps, 'onClose'> & {
|
|
1366
1382
|
popup: React$1.ComponentType<PopupProps>;
|
|
1367
1383
|
autoOpen?: boolean;
|
|
@@ -3416,6 +3432,23 @@ declare type changeDateFunc = (value: Date) => void;
|
|
|
3416
3432
|
declare type useCalendarProps = {
|
|
3417
3433
|
onChangeWeek?: onChangeWeekFunc;
|
|
3418
3434
|
onChangeMonth?: onChangeMonthFunc;
|
|
3435
|
+
};
|
|
3436
|
+
declare const useCalendar: ({ onChangeWeek, onChangeMonth, }: useCalendarProps) => {
|
|
3437
|
+
currentMonth: Date;
|
|
3438
|
+
currentWeek: number;
|
|
3439
|
+
selectedDate: Date;
|
|
3440
|
+
setSelectedDate: Dispatch<SetStateAction<Date>>;
|
|
3441
|
+
setCurrentWeek: Dispatch<SetStateAction<number>>;
|
|
3442
|
+
setCurrentMonth: Dispatch<SetStateAction<Date>>;
|
|
3443
|
+
onClickDay: (day: Date) => void;
|
|
3444
|
+
onNextWeek: () => void;
|
|
3445
|
+
onPrevWeek: () => void;
|
|
3446
|
+
onNextMonth: () => void;
|
|
3447
|
+
onPrevMonth: () => void;
|
|
3448
|
+
changeWeek: (action: string, value?: Date) => void;
|
|
3449
|
+
changeDate: (value: Date) => void;
|
|
3450
|
+
getDatesBetween: (startDt: Date, endDt: Date) => Date[];
|
|
3451
|
+
onReset: () => void;
|
|
3419
3452
|
};
|
|
3420
3453
|
|
|
3421
3454
|
declare type TasksCalendarHeaderProps = {
|
|
@@ -3560,4 +3593,33 @@ declare type SimpleWindowedTableProps = {
|
|
|
3560
3593
|
};
|
|
3561
3594
|
declare function SimpleWindowedTable({ columns, data, itemSize, height, minWidth, maxWidth, defaultSort, onClickRow, onScroll, onUpdateData, useTableProps, tableHeaderProps, tableFooterProps, hideFooter, className, NoRowsFound, }: SimpleWindowedTableProps): JSX.Element;
|
|
3562
3595
|
|
|
3563
|
-
|
|
3596
|
+
declare function useDelayUnmount(isMounted: boolean, delayTime: number): boolean;
|
|
3597
|
+
//# sourceMappingURL=useDelayUnmount.d.ts.map
|
|
3598
|
+
|
|
3599
|
+
declare const usePrefersReducedMotion: () => boolean;
|
|
3600
|
+
|
|
3601
|
+
declare const useRandomInterval: (callback: () => void, minDelay?: number, maxDelay?: number) => () => void;
|
|
3602
|
+
|
|
3603
|
+
declare const useWindowSize: () => number[];
|
|
3604
|
+
//# sourceMappingURL=useWindowSize.d.ts.map
|
|
3605
|
+
|
|
3606
|
+
declare function useLongPress(callback?: () => void, ms?: number): {
|
|
3607
|
+
onMouseDown: () => void;
|
|
3608
|
+
onMouseUp: () => void;
|
|
3609
|
+
onMouseLeave: () => void;
|
|
3610
|
+
onTouchStart: () => void;
|
|
3611
|
+
onTouchEnd: () => void;
|
|
3612
|
+
};
|
|
3613
|
+
|
|
3614
|
+
declare const useClickOutside: <T extends HTMLElement = HTMLElement>(props: {
|
|
3615
|
+
ref: MutableRefObject<T | null>;
|
|
3616
|
+
eventType?: "mousedown" | "mouseup" | undefined;
|
|
3617
|
+
onClick?: ((e?: any) => void) | undefined;
|
|
3618
|
+
onCleanup?: Function | undefined;
|
|
3619
|
+
}) => void;
|
|
3620
|
+
//# sourceMappingURL=useClickOutside.d.ts.map
|
|
3621
|
+
|
|
3622
|
+
declare const useFallbackRef: <T>(forwardedRef: ForwardedRef<T>) => MutableRefObject<T | null>;
|
|
3623
|
+
//# sourceMappingURL=useFallbackRef.d.ts.map
|
|
3624
|
+
|
|
3625
|
+
export { AddIcon, AddNoteIcon, AddTaskIcon, AlertIcon, AlertNotification, ArrowIcon, Artwork, ArtworkProps, SKUAsyncSelect as AsyncSelect, Avatar, AvatarColor, AvatarShape, AvatarSize, AwaitingProofIcon, Backdrop, Background, Badge, BaseCskuProps, BotIcon, Box, BulletIcon, Button, ButtonPreset, ButtonProps, ButtonVariant, ButtonsGroup, Calendar, CalendarDayBody, CalendarDaysBody, CalendarDaysHeader, CalendarIcon, CalendarTask, CalendarTaskProps, CalendarWrapper, CancelButton, ChangeRequestedIcon, ChatIcon, CheckMark, CheckboxIcon, CheckboxLabel, CheckmarkIcon, ChevronIcon, CircleProgressIcon, ClientApprovedIcon, ClipboardIcon, ClockIcon, Col, ColPropTypes, CollapseStyled, CollapseStyledProps, CollapseWrapper, CollapseWrapperProps, Collapsible, CollapsibleArrowIcon, CollapsibleLabel, CollapsiblePanel, CollapsiblePanelProps, CollapsiblePanelTitle, CollapsiblePanelTitleProps, CollapsiblePanels, CollapsiblePanelsProps, CollapsibleProps, Collapsible$1 as CollapsibleV2, Collapsibles, Column, ColumnSelectIcon, CommentIcon, CompletedCheckmarkIcon, ConfirmPopup, CouponIcon, SKUCreatableSelect as CreatableSelect, CreditCardIcon, Csku, CskuProps, CustomDateInput, Datepicker, DatepickerPorps, DaysBodyWrapper, DaysHeaderWrapper, DefaultCalendarFooter, DefaultCalendarHeader, DefaultStar, DollarIcon, DoneButton, Dot, DownloadIcon, DragIcon, DraggableTasksCalendar, DropArea, DropAreaProps, DropDownContent, Dropdown, DropdownItem, DropdownProps, DropzoneTypes, Dropzoned, DropzonedPreviews, EditIcon, EllipsisIcon, EpsIcon, ErrorBoundary, EstimateCircleIcon, EyeIcon, FeedPost, FilledChevronIcon, FolderIcon, GalleryIcon, GearIcon, GlobalStyle, Grid, GridCell, GridIcon, GridItem, GridItemProps, GridProps, GridRow, GridTable, GridTableContainer, H1, H2, H3, H4, H5, H6, HandleIcon, HeaderWrapper, HeadlessTable, HistoryIcon, IconButton, IconButtonProps, IconDoc, InfoIcon, Input, InputIconLabel, InputIconLabelContainer, InputProps, InputStepper, IntegrationsIcon, Label, LabeledAsyncSelect, LabeledCheckbox, LabeledCheckboxProps, LabeledCreatableSelect, LabeledIconInput, LabeledInput, LabeledMultiProgress, LabeledProgress, LabeledRadio, LabeledRadioGroup, LabeledRadioInButton, LabeledRadioInButtonGroup, LabeledRadioProps, LabeledSelect, LabeledTextarea, LightIndicator, Link, LinkWithIcon, ListIcon, Loading, LockIcon, MailIcon, MarketingStatusIcon, MenuIcon, MultiProgress, NavConnectIcon, NavFinanceIcon, NavManagementIcon, NavProdIcon, NavResourcesIcon, NavSalesIcon, NoteIcon, Number, NumberInput, OpportunityCircleIcon, Overlay, Padding, Page, PanelContact, PanelTileContact, PendingApprovalIcon, PercentIcon, PinIcon, Popup, PopupHeader, PopupProps, PresentationCircleIcon, Product, Progress, PromostandardsIcon, ProofReceivedIcon, ProofingCompleteIcon, Publisher, Radio, RadioIcon, RadioLabel, RadioProps, ReceiptLongIcon, ResponsiveTable, Row, RowPropTypes, SHARED_STYLE_MAPS, SalesArrowIcon, SalesOrderCircleIcon, SearchIcon, SKUSelect as Select, SharedStyleTypes, SharedStyles, ShopIcon, ShowPopup, SidePanel, SimpleWindowedTable, SimpleWindowedTableProps, SimpleWindowedTableStyles, SizerCss, SizerTypes, SizerWrapper, Sparkles, Spinner, StarIcon, StarRating, StateDropdown, StatusDropdown, StyledCalendarTaskBody, StyledDayBody, StyledDayText, StyledDropArea, StyledDropdown, StyledPanel, StyledTask, SubtractIcon, SVG as SvgIcon, TBody, TButtonIcon, TD, TDropdownItem, TH, THSorted, THead, TR, TSize$1 as TSize, TSizeOffset, TSizeOffsetRight, TSizeStyle, TTab, Tab, TabBar, Table, TableIcon, Tabs, TabsProps, TargetIcon, Task, TaskBody, TaskIcon, TaskLabel, TaskName, TaskProps, TasksCalendar, TasksCalendarDayBody, TasksCalendarFooter, TasksCalendarHeader, TemplateIcon, Text, TextProp, Textarea, Theme, Thermometer, TilesIcon, Toggle, ToggleLink, TrashIcon, UserIcon, UsersIcon, VirtualTable, VirtualTableStyles, Wrapper, XIcon, colors, createMeasurementStyle, datepickerStyles, fontFamilies, fontStyles, fonts, getColor, getFontStyle, getThemeColor, getThemeFontFamily, getThemeFontSize, getThemeFontStyle, getThemeProperty, parseCskuStyles, sizes, themeOptions, toggleSizes, useCalendar, useClickOutside, useDelayUnmount, useFallbackRef, useLongPress, usePrefersReducedMotion, useRandomInterval, useWindowSize };
|
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _, { map, pick, keys, isUndefined, get, toNumber, isString, filter, partial, uniqueId, debounce } from 'lodash';
|
|
2
2
|
import styled, { css, createGlobalStyle, ThemeProvider, keyframes } from 'styled-components';
|
|
3
|
-
import React__default, { Fragment, useState, useEffect, useRef,
|
|
3
|
+
import React__default, { Fragment, useState, useEffect, useRef, useCallback, useImperativeHandle, Component, createContext, memo, forwardRef, useLayoutEffect, useMemo } from 'react';
|
|
4
4
|
import { useDropzone } from 'react-dropzone';
|
|
5
5
|
import BaseSelect from 'react-select';
|
|
6
6
|
export { components, createFilter, mergeStyles } from 'react-select';
|
|
@@ -8,7 +8,7 @@ import BaseCreatableSelect from 'react-select/creatable';
|
|
|
8
8
|
import BaseAsyncSelect from 'react-select/async';
|
|
9
9
|
import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
|
|
10
10
|
import ReactDOM from 'react-dom';
|
|
11
|
-
import {
|
|
11
|
+
import { getWeek, addDays, subWeeks, addWeeks, getMonth, getYear, isSameDay, subMonths, addMonths, format, startOfWeek, isDate, lastDayOfWeek } from 'date-fns';
|
|
12
12
|
import BaseDatePicker from 'react-datepicker';
|
|
13
13
|
import { useTable, useSortBy, usePagination, useColumnOrder, useBlockLayout, useFlexLayout, useExpanded } from 'react-table';
|
|
14
14
|
import { useSticky } from 'react-table-sticky';
|
|
@@ -3416,6 +3416,254 @@ var THSorted = function (_a) {
|
|
|
3416
3416
|
};
|
|
3417
3417
|
var templateObject_1$m, templateObject_2$d, templateObject_3$6, templateObject_4$5, templateObject_5$5, templateObject_6$4, templateObject_7$2, templateObject_8$1, templateObject_9;
|
|
3418
3418
|
|
|
3419
|
+
var useClickOutside = function (props) {
|
|
3420
|
+
var ref = props.ref, _a = props.eventType, eventType = _a === void 0 ? 'mousedown' : _a, onClick = props.onClick, onCleanup = props.onCleanup;
|
|
3421
|
+
useEffect(function () {
|
|
3422
|
+
function handleClickOutside(e) {
|
|
3423
|
+
if (ref.current && !ref.current.contains(e.target)) {
|
|
3424
|
+
onClick && onClick(e);
|
|
3425
|
+
}
|
|
3426
|
+
}
|
|
3427
|
+
document.addEventListener(eventType, handleClickOutside);
|
|
3428
|
+
return function () {
|
|
3429
|
+
document.removeEventListener(eventType, handleClickOutside);
|
|
3430
|
+
onCleanup && onCleanup();
|
|
3431
|
+
};
|
|
3432
|
+
}, []);
|
|
3433
|
+
};
|
|
3434
|
+
|
|
3435
|
+
function useDelayUnmount(isMounted, delayTime) {
|
|
3436
|
+
var _a = React__default.useState(false), shouldRender = _a[0], setShouldRender = _a[1];
|
|
3437
|
+
React__default.useEffect(function () {
|
|
3438
|
+
var timeoutId;
|
|
3439
|
+
if (isMounted && !shouldRender) {
|
|
3440
|
+
setShouldRender(true);
|
|
3441
|
+
}
|
|
3442
|
+
else if (!isMounted && shouldRender) {
|
|
3443
|
+
timeoutId = setTimeout(function () { return setShouldRender(false); }, delayTime);
|
|
3444
|
+
}
|
|
3445
|
+
return function () { return clearTimeout(timeoutId); };
|
|
3446
|
+
}, [isMounted, delayTime, shouldRender]);
|
|
3447
|
+
return shouldRender;
|
|
3448
|
+
}
|
|
3449
|
+
|
|
3450
|
+
var QUERY = '(prefers-reduced-motion: no-preference)';
|
|
3451
|
+
var isRenderingOnServer = typeof window$1 === 'undefined';
|
|
3452
|
+
var getInitialState = function () {
|
|
3453
|
+
// For our initial server render, we won't know if the user
|
|
3454
|
+
// prefers reduced motion, but it doesn't matter. This value
|
|
3455
|
+
// will be overwritten on the client, before any animations
|
|
3456
|
+
// occur.
|
|
3457
|
+
return isRenderingOnServer ? true : !window$1.matchMedia(QUERY).matches;
|
|
3458
|
+
};
|
|
3459
|
+
var usePrefersReducedMotion = function () {
|
|
3460
|
+
var _a = React__default.useState(getInitialState), prefersReducedMotion = _a[0], setPrefersReducedMotion = _a[1];
|
|
3461
|
+
React__default.useEffect(function () {
|
|
3462
|
+
var mediaQueryList = window$1.matchMedia(QUERY);
|
|
3463
|
+
var listener = function (event) {
|
|
3464
|
+
setPrefersReducedMotion(!event.matches);
|
|
3465
|
+
};
|
|
3466
|
+
mediaQueryList.addListener(listener);
|
|
3467
|
+
return function () {
|
|
3468
|
+
mediaQueryList.removeListener(listener);
|
|
3469
|
+
};
|
|
3470
|
+
}, []);
|
|
3471
|
+
return prefersReducedMotion;
|
|
3472
|
+
};
|
|
3473
|
+
|
|
3474
|
+
var useRandomInterval = function (callback, minDelay, maxDelay) {
|
|
3475
|
+
var timeoutId = React__default.useRef(null);
|
|
3476
|
+
var savedCallback = React__default.useRef(callback);
|
|
3477
|
+
React__default.useEffect(function () {
|
|
3478
|
+
savedCallback.current = callback;
|
|
3479
|
+
});
|
|
3480
|
+
React__default.useEffect(function () {
|
|
3481
|
+
var isEnabled = typeof minDelay === 'number' && typeof maxDelay === 'number';
|
|
3482
|
+
if (isEnabled) {
|
|
3483
|
+
var handleTick_1 = function () {
|
|
3484
|
+
var nextTickAt = random(minDelay, maxDelay);
|
|
3485
|
+
timeoutId.current = setTimeout(function () {
|
|
3486
|
+
savedCallback.current();
|
|
3487
|
+
handleTick_1();
|
|
3488
|
+
}, nextTickAt);
|
|
3489
|
+
};
|
|
3490
|
+
handleTick_1();
|
|
3491
|
+
}
|
|
3492
|
+
return function () {
|
|
3493
|
+
if (!!timeoutId.current) {
|
|
3494
|
+
clearTimeout(timeoutId.current);
|
|
3495
|
+
}
|
|
3496
|
+
};
|
|
3497
|
+
}, [minDelay, maxDelay]);
|
|
3498
|
+
var cancel = React__default.useCallback(function () {
|
|
3499
|
+
if (!!timeoutId.current) {
|
|
3500
|
+
clearTimeout(timeoutId.current);
|
|
3501
|
+
}
|
|
3502
|
+
}, []);
|
|
3503
|
+
return cancel;
|
|
3504
|
+
};
|
|
3505
|
+
|
|
3506
|
+
var today = new Date();
|
|
3507
|
+
var getDatesBetween = function (startDt, endDt) {
|
|
3508
|
+
var result = [];
|
|
3509
|
+
var currentDt = startDt;
|
|
3510
|
+
while (currentDt <= endDt) {
|
|
3511
|
+
result.push(currentDt);
|
|
3512
|
+
currentDt = addDays(currentDt, 1);
|
|
3513
|
+
}
|
|
3514
|
+
return result;
|
|
3515
|
+
};
|
|
3516
|
+
var useCalendar = function (_a) {
|
|
3517
|
+
var onChangeWeek = _a.onChangeWeek, onChangeMonth = _a.onChangeMonth;
|
|
3518
|
+
var _b = useState(today), currentMonth = _b[0], setCurrentMonth = _b[1];
|
|
3519
|
+
var _c = useState(getWeek(currentMonth)), currentWeek = _c[0], setCurrentWeek = _c[1];
|
|
3520
|
+
var _d = useState(today), selectedDate = _d[0], setSelectedDate = _d[1];
|
|
3521
|
+
var changeMonth = function (action) {
|
|
3522
|
+
var dt = currentMonth;
|
|
3523
|
+
if (action === "prev") {
|
|
3524
|
+
dt = subMonths(currentMonth, 1);
|
|
3525
|
+
}
|
|
3526
|
+
else if (action === "next") {
|
|
3527
|
+
dt = addMonths(currentMonth, 1);
|
|
3528
|
+
}
|
|
3529
|
+
else if (action === "reset") {
|
|
3530
|
+
dt = today;
|
|
3531
|
+
}
|
|
3532
|
+
setCurrentMonth(dt);
|
|
3533
|
+
onChangeMonth && onChangeMonth({
|
|
3534
|
+
action: action,
|
|
3535
|
+
date: dt,
|
|
3536
|
+
month: getMonth(dt),
|
|
3537
|
+
year: getYear(dt),
|
|
3538
|
+
});
|
|
3539
|
+
};
|
|
3540
|
+
var changeWeek = function (action, value) {
|
|
3541
|
+
var dt = currentMonth;
|
|
3542
|
+
if (action === "prev") {
|
|
3543
|
+
dt = subWeeks(currentMonth, 1);
|
|
3544
|
+
}
|
|
3545
|
+
else if (action === "next") {
|
|
3546
|
+
dt = addWeeks(currentMonth, 1);
|
|
3547
|
+
}
|
|
3548
|
+
else if (action === "reset") {
|
|
3549
|
+
dt = today;
|
|
3550
|
+
}
|
|
3551
|
+
else if (action === "custom" && value) {
|
|
3552
|
+
dt = value;
|
|
3553
|
+
}
|
|
3554
|
+
setCurrentMonth(dt);
|
|
3555
|
+
var week = getWeek(dt);
|
|
3556
|
+
setCurrentWeek(week);
|
|
3557
|
+
onChangeWeek && onChangeWeek({
|
|
3558
|
+
action: action,
|
|
3559
|
+
date: dt,
|
|
3560
|
+
week: week,
|
|
3561
|
+
month: getMonth(dt),
|
|
3562
|
+
year: getYear(dt),
|
|
3563
|
+
});
|
|
3564
|
+
};
|
|
3565
|
+
var changeDate = function (value) {
|
|
3566
|
+
setCurrentMonth(value);
|
|
3567
|
+
var week = getWeek(value);
|
|
3568
|
+
setCurrentWeek(week);
|
|
3569
|
+
onChangeWeek && onChangeWeek({
|
|
3570
|
+
action: 'change-date',
|
|
3571
|
+
date: value,
|
|
3572
|
+
week: week,
|
|
3573
|
+
month: getMonth(value),
|
|
3574
|
+
year: getYear(value),
|
|
3575
|
+
});
|
|
3576
|
+
};
|
|
3577
|
+
var onClickDay = function (day) {
|
|
3578
|
+
if (isSameDay(day, selectedDate)) {
|
|
3579
|
+
setSelectedDate(today);
|
|
3580
|
+
}
|
|
3581
|
+
else {
|
|
3582
|
+
setSelectedDate(day);
|
|
3583
|
+
}
|
|
3584
|
+
};
|
|
3585
|
+
// reset to today's date
|
|
3586
|
+
var resetToToday = function () {
|
|
3587
|
+
setSelectedDate(today);
|
|
3588
|
+
changeWeek('reset');
|
|
3589
|
+
};
|
|
3590
|
+
var onNextWeek = function () { return changeWeek("next"); };
|
|
3591
|
+
var onPrevWeek = function () { return changeWeek("prev"); };
|
|
3592
|
+
var onNextMonth = function () { return changeMonth("next"); };
|
|
3593
|
+
var onPrevMonth = function () { return changeMonth("prev"); };
|
|
3594
|
+
return {
|
|
3595
|
+
currentMonth: currentMonth,
|
|
3596
|
+
currentWeek: currentWeek,
|
|
3597
|
+
selectedDate: selectedDate,
|
|
3598
|
+
setSelectedDate: setSelectedDate,
|
|
3599
|
+
setCurrentWeek: setCurrentWeek,
|
|
3600
|
+
setCurrentMonth: setCurrentMonth,
|
|
3601
|
+
onClickDay: onClickDay,
|
|
3602
|
+
onNextWeek: onNextWeek,
|
|
3603
|
+
onPrevWeek: onPrevWeek,
|
|
3604
|
+
onNextMonth: onNextMonth,
|
|
3605
|
+
onPrevMonth: onPrevMonth,
|
|
3606
|
+
changeWeek: changeWeek,
|
|
3607
|
+
changeDate: changeDate,
|
|
3608
|
+
getDatesBetween: getDatesBetween,
|
|
3609
|
+
onReset: resetToToday,
|
|
3610
|
+
};
|
|
3611
|
+
};
|
|
3612
|
+
|
|
3613
|
+
var useWindowSize = function () {
|
|
3614
|
+
var _a = useState([0, 0]), size = _a[0], setSize = _a[1]; // [width, height]
|
|
3615
|
+
useEffect(function () {
|
|
3616
|
+
function updateSize() {
|
|
3617
|
+
setSize([window.innerWidth, window.innerHeight]);
|
|
3618
|
+
}
|
|
3619
|
+
window.addEventListener('resize', updateSize);
|
|
3620
|
+
updateSize();
|
|
3621
|
+
return function () { return window.removeEventListener('resize', updateSize); };
|
|
3622
|
+
}, []);
|
|
3623
|
+
return size;
|
|
3624
|
+
};
|
|
3625
|
+
|
|
3626
|
+
function useLongPress(callback, ms) {
|
|
3627
|
+
if (callback === void 0) { callback = function () { }; }
|
|
3628
|
+
if (ms === void 0) { ms = 300; }
|
|
3629
|
+
var _a = useState(false), startLongPress = _a[0], setStartLongPress = _a[1];
|
|
3630
|
+
useEffect(function () {
|
|
3631
|
+
var timeoutId = null;
|
|
3632
|
+
if (startLongPress) {
|
|
3633
|
+
timeoutId = setTimeout(callback, ms);
|
|
3634
|
+
}
|
|
3635
|
+
else {
|
|
3636
|
+
if (timeoutId !== undefined && timeoutId !== null) {
|
|
3637
|
+
clearTimeout(timeoutId);
|
|
3638
|
+
}
|
|
3639
|
+
}
|
|
3640
|
+
return function () {
|
|
3641
|
+
if (timeoutId !== undefined && timeoutId !== null) {
|
|
3642
|
+
clearTimeout(timeoutId);
|
|
3643
|
+
}
|
|
3644
|
+
};
|
|
3645
|
+
}, [callback, ms, startLongPress]);
|
|
3646
|
+
var start = useCallback(function () {
|
|
3647
|
+
setStartLongPress(true);
|
|
3648
|
+
}, []);
|
|
3649
|
+
var stop = useCallback(function () {
|
|
3650
|
+
setStartLongPress(false);
|
|
3651
|
+
}, []);
|
|
3652
|
+
return {
|
|
3653
|
+
onMouseDown: start,
|
|
3654
|
+
onMouseUp: stop,
|
|
3655
|
+
onMouseLeave: stop,
|
|
3656
|
+
onTouchStart: start,
|
|
3657
|
+
onTouchEnd: stop,
|
|
3658
|
+
};
|
|
3659
|
+
}
|
|
3660
|
+
|
|
3661
|
+
var useFallbackRef = function (forwardedRef) {
|
|
3662
|
+
var localRef = useRef(null);
|
|
3663
|
+
useImperativeHandle(forwardedRef, function () { return localRef.current; });
|
|
3664
|
+
return localRef;
|
|
3665
|
+
};
|
|
3666
|
+
|
|
3419
3667
|
var Overlay = styled.div(templateObject_1$n || (templateObject_1$n = __makeTemplateObject(["\n &&& {\n position: fixed;\n top: 0px;\n bottom: 0px;\n left: 0px;\n right: 0px;\n background: rgba(42, 56, 63, 0.45);\n display: flex;\n z-index: ", ";\n margin-left: auto;\n margin-right: auto;\n }\n"], ["\n &&& {\n position: fixed;\n top: 0px;\n bottom: 0px;\n left: 0px;\n right: 0px;\n background: rgba(42, 56, 63, 0.45);\n display: flex;\n z-index: ", ";\n margin-left: auto;\n margin-right: auto;\n }\n"])), function (p) { return p.zIndex || 999; });
|
|
3420
3668
|
var PopupWindow = styled.div(templateObject_2$e || (templateObject_2$e = __makeTemplateObject(["\n &&& {\n width: ", ";\n height: ", "; \n margin: 0 !important;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n position: fixed;\n ", "\n overflow-y: hidden;\n display: block;\n z-index: ", ";\n\n padding: ", ";\n border: 1px solid #CCD5DA;\n background-color: #fefefe;\n border-radius: 3px;\n\n &:last-child {\n margin-bottom: 0;\n }\n .popup-content {\n overflow-y: auto;\n height: 90%;\n }\n ", "\n ", "\n }\n"], ["\n &&& {\n width: ", ";\n height: ", "; \n margin: 0 !important;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n position: fixed;\n ", "\n overflow-y: hidden;\n display: block;\n z-index: ", ";\n\n padding: ", ";\n border: 1px solid #CCD5DA;\n background-color: #fefefe;\n border-radius: 3px;\n\n &:last-child {\n margin-bottom: 0;\n }\n .popup-content {\n overflow-y: auto;\n height: 90%;\n }\n ", "\n ", "\n }\n"])), function (props) { var _a; return (_a = props.width) !== null && _a !== void 0 ? _a : '90%'; }, function (props) { var _a; return (_a = props.height) !== null && _a !== void 0 ? _a : '75%'; }, function (props) { return props.height ? '' : 'max-height: 700px;'; }, function (p) { return p.zIndex || 1006; }, function (props) { var _a; return (_a = props.padding) !== null && _a !== void 0 ? _a : '1rem'; }, SharedStyles, SizerCss);
|
|
3421
3669
|
var PopupHeader = styled.div(templateObject_3$7 || (templateObject_3$7 = __makeTemplateObject(["\n &&& {\n position: sticky;\n top: 0;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n background: white;\n padding: 3px;\n z-index: 99;\n .title {\n font-size: 1.8rem;\n font-weight: 500;\n text-align: left;\n align-self: center;\n padding-top: 3px;\n padding-left: 3px;\n border-bottom: none;\n font-family: \"skufont-demibold\",sans-serif;\n color: #123952;\n }\n ", "\n ", "\n }\n"], ["\n &&& {\n position: sticky;\n top: 0;\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n background: white;\n padding: 3px;\n z-index: 99;\n .title {\n font-size: 1.8rem;\n font-weight: 500;\n text-align: left;\n align-self: center;\n padding-top: 3px;\n padding-left: 3px;\n border-bottom: none;\n font-family: \"skufont-demibold\",sans-serif;\n color: #123952;\n }\n ", "\n ", "\n }\n"])), SharedStyles, SizerCss);
|
|
@@ -3431,18 +3679,16 @@ var PopupContainer = function (_a) {
|
|
|
3431
3679
|
}, []);
|
|
3432
3680
|
return ReactDOM.createPortal(children, ref.current);
|
|
3433
3681
|
};
|
|
3434
|
-
var Popup = function (_a) {
|
|
3682
|
+
var Popup = React__default.forwardRef(function (_a, forwardedRef) {
|
|
3435
3683
|
var header = _a.header, _b = _a.noHeader, noHeader = _b === void 0 ? false : _b, title = _a.title, controls = _a.controls, children = _a.children, onClose = _a.onClose, _c = _a.noCloseButton, noCloseButton = _c === void 0 ? false : _c, _d = _a.closeOnEsc, closeOnEsc = _d === void 0 ? true : _d, _e = _a.closeOnClickOutside, closeOnClickOutside = _e === void 0 ? false : _e, overlayZIndex = _a.overlayZIndex, props = __rest(_a, ["header", "noHeader", "title", "controls", "children", "onClose", "noCloseButton", "closeOnEsc", "closeOnClickOutside", "overlayZIndex"]);
|
|
3436
|
-
var ref =
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
};
|
|
3445
|
-
*/
|
|
3684
|
+
var ref = useFallbackRef(forwardedRef);
|
|
3685
|
+
useClickOutside({
|
|
3686
|
+
ref: ref,
|
|
3687
|
+
onClick: function (e) {
|
|
3688
|
+
closeOnClickOutside && onClose && onClose(e);
|
|
3689
|
+
},
|
|
3690
|
+
onCleanup: onClose,
|
|
3691
|
+
});
|
|
3446
3692
|
useEffect(function () {
|
|
3447
3693
|
var handleKeyDown = function (e) {
|
|
3448
3694
|
// @ts-ignore
|
|
@@ -3470,7 +3716,7 @@ var Popup = function (_a) {
|
|
|
3470
3716
|
React__default.createElement(Col, { style: { textAlign: 'right', alignSelf: 'center' } }, noCloseButton ? null :
|
|
3471
3717
|
controls || React__default.createElement(Button, { onClick: onClose }, "Close")))),
|
|
3472
3718
|
React__default.createElement("div", { className: "popup-content" }, children))));
|
|
3473
|
-
};
|
|
3719
|
+
});
|
|
3474
3720
|
var ShowPopup = function (_a) {
|
|
3475
3721
|
var _b = _a.autoOpen, autoOpen = _b === void 0 ? false : _b, PopupComponent = _a.popup, render = _a.render, _c = _a.closeOnEsc, closeOnEsc = _c === void 0 ? true : _c, _d = _a.closeOnClickOutside, closeOnClickOutside = _d === void 0 ? false : _d, props = __rest(_a, ["autoOpen", "popup", "render", "closeOnEsc", "closeOnClickOutside"]);
|
|
3476
3722
|
var _e = useState(autoOpen), showPopup = _e[0], setShowPopup = _e[1];
|
|
@@ -3747,10 +3993,10 @@ var Tabs = /** @class */ (function (_super) {
|
|
|
3747
3993
|
};
|
|
3748
3994
|
Tabs.prototype.render = function () {
|
|
3749
3995
|
var _this = this;
|
|
3750
|
-
var _a = this.props, tabs = _a.tabs, size = _a.size, props = __rest(_a, ["tabs", "size"]);
|
|
3996
|
+
var _a = this.props, tabs = _a.tabs, size = _a.size, padded = _a.padded, props = __rest(_a, ["tabs", "size", "padded"]);
|
|
3751
3997
|
var selectedTab = this.getTab(tabs, this.state.selectedTabIndex);
|
|
3752
3998
|
return React__default.createElement("div", __assign({}, props),
|
|
3753
|
-
React__default.createElement(TabBar, { padded:
|
|
3999
|
+
React__default.createElement(TabBar, { padded: padded === true }, tabs.map(function (tab, index) { return React__default.createElement(Tab, { key: index, size: size, className: index === _this.state.selectedTabIndex ? 'selected' : '', selected: index === _this.state.selectedTabIndex, onClick: function (e) {
|
|
3754
4000
|
_this.setState({ selectedTabIndex: index });
|
|
3755
4001
|
var callback = tabs[index].onClick;
|
|
3756
4002
|
if (callback) {
|
|
@@ -4788,217 +5034,6 @@ function HeadlessTable(_a) {
|
|
|
4788
5034
|
}
|
|
4789
5035
|
var templateObject_1$B, templateObject_2$p, templateObject_3$h;
|
|
4790
5036
|
|
|
4791
|
-
var QUERY = '(prefers-reduced-motion: no-preference)';
|
|
4792
|
-
var isRenderingOnServer = typeof window$1 === 'undefined';
|
|
4793
|
-
var getInitialState = function () {
|
|
4794
|
-
// For our initial server render, we won't know if the user
|
|
4795
|
-
// prefers reduced motion, but it doesn't matter. This value
|
|
4796
|
-
// will be overwritten on the client, before any animations
|
|
4797
|
-
// occur.
|
|
4798
|
-
return isRenderingOnServer ? true : !window$1.matchMedia(QUERY).matches;
|
|
4799
|
-
};
|
|
4800
|
-
var usePrefersReducedMotion = function () {
|
|
4801
|
-
var _a = React__default.useState(getInitialState), prefersReducedMotion = _a[0], setPrefersReducedMotion = _a[1];
|
|
4802
|
-
React__default.useEffect(function () {
|
|
4803
|
-
var mediaQueryList = window$1.matchMedia(QUERY);
|
|
4804
|
-
var listener = function (event) {
|
|
4805
|
-
setPrefersReducedMotion(!event.matches);
|
|
4806
|
-
};
|
|
4807
|
-
mediaQueryList.addListener(listener);
|
|
4808
|
-
return function () {
|
|
4809
|
-
mediaQueryList.removeListener(listener);
|
|
4810
|
-
};
|
|
4811
|
-
}, []);
|
|
4812
|
-
return prefersReducedMotion;
|
|
4813
|
-
};
|
|
4814
|
-
|
|
4815
|
-
var useRandomInterval = function (callback, minDelay, maxDelay) {
|
|
4816
|
-
var timeoutId = React__default.useRef(null);
|
|
4817
|
-
var savedCallback = React__default.useRef(callback);
|
|
4818
|
-
React__default.useEffect(function () {
|
|
4819
|
-
savedCallback.current = callback;
|
|
4820
|
-
});
|
|
4821
|
-
React__default.useEffect(function () {
|
|
4822
|
-
var isEnabled = typeof minDelay === 'number' && typeof maxDelay === 'number';
|
|
4823
|
-
if (isEnabled) {
|
|
4824
|
-
var handleTick_1 = function () {
|
|
4825
|
-
var nextTickAt = random(minDelay, maxDelay);
|
|
4826
|
-
timeoutId.current = setTimeout(function () {
|
|
4827
|
-
savedCallback.current();
|
|
4828
|
-
handleTick_1();
|
|
4829
|
-
}, nextTickAt);
|
|
4830
|
-
};
|
|
4831
|
-
handleTick_1();
|
|
4832
|
-
}
|
|
4833
|
-
return function () {
|
|
4834
|
-
if (!!timeoutId.current) {
|
|
4835
|
-
clearTimeout(timeoutId.current);
|
|
4836
|
-
}
|
|
4837
|
-
};
|
|
4838
|
-
}, [minDelay, maxDelay]);
|
|
4839
|
-
var cancel = React__default.useCallback(function () {
|
|
4840
|
-
if (!!timeoutId.current) {
|
|
4841
|
-
clearTimeout(timeoutId.current);
|
|
4842
|
-
}
|
|
4843
|
-
}, []);
|
|
4844
|
-
return cancel;
|
|
4845
|
-
};
|
|
4846
|
-
|
|
4847
|
-
var today = new Date();
|
|
4848
|
-
var getDatesBetween = function (startDt, endDt) {
|
|
4849
|
-
var result = [];
|
|
4850
|
-
var currentDt = startDt;
|
|
4851
|
-
while (currentDt <= endDt) {
|
|
4852
|
-
result.push(currentDt);
|
|
4853
|
-
currentDt = addDays(currentDt, 1);
|
|
4854
|
-
}
|
|
4855
|
-
return result;
|
|
4856
|
-
};
|
|
4857
|
-
var useCalendar = function (_a) {
|
|
4858
|
-
var onChangeWeek = _a.onChangeWeek, onChangeMonth = _a.onChangeMonth;
|
|
4859
|
-
var _b = useState(today), currentMonth = _b[0], setCurrentMonth = _b[1];
|
|
4860
|
-
var _c = useState(getWeek(currentMonth)), currentWeek = _c[0], setCurrentWeek = _c[1];
|
|
4861
|
-
var _d = useState(today), selectedDate = _d[0], setSelectedDate = _d[1];
|
|
4862
|
-
var changeMonth = function (action) {
|
|
4863
|
-
var dt = currentMonth;
|
|
4864
|
-
if (action === "prev") {
|
|
4865
|
-
dt = subMonths(currentMonth, 1);
|
|
4866
|
-
}
|
|
4867
|
-
else if (action === "next") {
|
|
4868
|
-
dt = addMonths(currentMonth, 1);
|
|
4869
|
-
}
|
|
4870
|
-
else if (action === "reset") {
|
|
4871
|
-
dt = today;
|
|
4872
|
-
}
|
|
4873
|
-
setCurrentMonth(dt);
|
|
4874
|
-
onChangeMonth && onChangeMonth({
|
|
4875
|
-
action: action,
|
|
4876
|
-
date: dt,
|
|
4877
|
-
month: getMonth(dt),
|
|
4878
|
-
year: getYear(dt),
|
|
4879
|
-
});
|
|
4880
|
-
};
|
|
4881
|
-
var changeWeek = function (action, value) {
|
|
4882
|
-
var dt = currentMonth;
|
|
4883
|
-
if (action === "prev") {
|
|
4884
|
-
dt = subWeeks(currentMonth, 1);
|
|
4885
|
-
}
|
|
4886
|
-
else if (action === "next") {
|
|
4887
|
-
dt = addWeeks(currentMonth, 1);
|
|
4888
|
-
}
|
|
4889
|
-
else if (action === "reset") {
|
|
4890
|
-
dt = today;
|
|
4891
|
-
}
|
|
4892
|
-
else if (action === "custom" && value) {
|
|
4893
|
-
dt = value;
|
|
4894
|
-
}
|
|
4895
|
-
setCurrentMonth(dt);
|
|
4896
|
-
var week = getWeek(dt);
|
|
4897
|
-
setCurrentWeek(week);
|
|
4898
|
-
onChangeWeek && onChangeWeek({
|
|
4899
|
-
action: action,
|
|
4900
|
-
date: dt,
|
|
4901
|
-
week: week,
|
|
4902
|
-
month: getMonth(dt),
|
|
4903
|
-
year: getYear(dt),
|
|
4904
|
-
});
|
|
4905
|
-
};
|
|
4906
|
-
var changeDate = function (value) {
|
|
4907
|
-
setCurrentMonth(value);
|
|
4908
|
-
var week = getWeek(value);
|
|
4909
|
-
setCurrentWeek(week);
|
|
4910
|
-
onChangeWeek && onChangeWeek({
|
|
4911
|
-
action: 'change-date',
|
|
4912
|
-
date: value,
|
|
4913
|
-
week: week,
|
|
4914
|
-
month: getMonth(value),
|
|
4915
|
-
year: getYear(value),
|
|
4916
|
-
});
|
|
4917
|
-
};
|
|
4918
|
-
var onClickDay = function (day) {
|
|
4919
|
-
if (isSameDay(day, selectedDate)) {
|
|
4920
|
-
setSelectedDate(today);
|
|
4921
|
-
}
|
|
4922
|
-
else {
|
|
4923
|
-
setSelectedDate(day);
|
|
4924
|
-
}
|
|
4925
|
-
};
|
|
4926
|
-
// reset to today's date
|
|
4927
|
-
var resetToToday = function () {
|
|
4928
|
-
setSelectedDate(today);
|
|
4929
|
-
changeWeek('reset');
|
|
4930
|
-
};
|
|
4931
|
-
var onNextWeek = function () { return changeWeek("next"); };
|
|
4932
|
-
var onPrevWeek = function () { return changeWeek("prev"); };
|
|
4933
|
-
var onNextMonth = function () { return changeMonth("next"); };
|
|
4934
|
-
var onPrevMonth = function () { return changeMonth("prev"); };
|
|
4935
|
-
return {
|
|
4936
|
-
currentMonth: currentMonth,
|
|
4937
|
-
currentWeek: currentWeek,
|
|
4938
|
-
selectedDate: selectedDate,
|
|
4939
|
-
setSelectedDate: setSelectedDate,
|
|
4940
|
-
setCurrentWeek: setCurrentWeek,
|
|
4941
|
-
setCurrentMonth: setCurrentMonth,
|
|
4942
|
-
onClickDay: onClickDay,
|
|
4943
|
-
onNextWeek: onNextWeek,
|
|
4944
|
-
onPrevWeek: onPrevWeek,
|
|
4945
|
-
onNextMonth: onNextMonth,
|
|
4946
|
-
onPrevMonth: onPrevMonth,
|
|
4947
|
-
changeWeek: changeWeek,
|
|
4948
|
-
changeDate: changeDate,
|
|
4949
|
-
getDatesBetween: getDatesBetween,
|
|
4950
|
-
onReset: resetToToday,
|
|
4951
|
-
};
|
|
4952
|
-
};
|
|
4953
|
-
|
|
4954
|
-
var useWindowSize = function () {
|
|
4955
|
-
var _a = useState([0, 0]), size = _a[0], setSize = _a[1]; // [width, height]
|
|
4956
|
-
useEffect(function () {
|
|
4957
|
-
function updateSize() {
|
|
4958
|
-
setSize([window.innerWidth, window.innerHeight]);
|
|
4959
|
-
}
|
|
4960
|
-
window.addEventListener('resize', updateSize);
|
|
4961
|
-
updateSize();
|
|
4962
|
-
return function () { return window.removeEventListener('resize', updateSize); };
|
|
4963
|
-
}, []);
|
|
4964
|
-
return size;
|
|
4965
|
-
};
|
|
4966
|
-
|
|
4967
|
-
function useLongPress(callback, ms) {
|
|
4968
|
-
if (callback === void 0) { callback = function () { }; }
|
|
4969
|
-
if (ms === void 0) { ms = 300; }
|
|
4970
|
-
var _a = useState(false), startLongPress = _a[0], setStartLongPress = _a[1];
|
|
4971
|
-
useEffect(function () {
|
|
4972
|
-
var timeoutId = null;
|
|
4973
|
-
if (startLongPress) {
|
|
4974
|
-
timeoutId = setTimeout(callback, ms);
|
|
4975
|
-
}
|
|
4976
|
-
else {
|
|
4977
|
-
if (timeoutId !== undefined && timeoutId !== null) {
|
|
4978
|
-
clearTimeout(timeoutId);
|
|
4979
|
-
}
|
|
4980
|
-
}
|
|
4981
|
-
return function () {
|
|
4982
|
-
if (timeoutId !== undefined && timeoutId !== null) {
|
|
4983
|
-
clearTimeout(timeoutId);
|
|
4984
|
-
}
|
|
4985
|
-
};
|
|
4986
|
-
}, [callback, ms, startLongPress]);
|
|
4987
|
-
var start = useCallback(function () {
|
|
4988
|
-
setStartLongPress(true);
|
|
4989
|
-
}, []);
|
|
4990
|
-
var stop = useCallback(function () {
|
|
4991
|
-
setStartLongPress(false);
|
|
4992
|
-
}, []);
|
|
4993
|
-
return {
|
|
4994
|
-
onMouseDown: start,
|
|
4995
|
-
onMouseUp: stop,
|
|
4996
|
-
onMouseLeave: stop,
|
|
4997
|
-
onTouchStart: start,
|
|
4998
|
-
onTouchEnd: stop,
|
|
4999
|
-
};
|
|
5000
|
-
}
|
|
5001
|
-
|
|
5002
5037
|
/*
|
|
5003
5038
|
Code from https://www.joshwcomeau.com/react/animated-sparkles-in-react/
|
|
5004
5039
|
Check out his site. It's awesome
|
|
@@ -7102,5 +7137,5 @@ function SimpleWindowedTable(_a) {
|
|
|
7102
7137
|
}
|
|
7103
7138
|
var templateObject_1$V;
|
|
7104
7139
|
|
|
7105
|
-
export { AddIcon, AddNoteIcon, AddTaskIcon, AlertIcon, AlertNotification, ArrowIcon, Artwork, SKUAsyncSelect as AsyncSelect, Avatar, AwaitingProofIcon, Backdrop, Background, Badge, BotIcon, Box, BulletIcon, Button, ButtonsGroup, Calendar, CalendarDayBody, CalendarDaysBody, CalendarDaysHeader, CalendarIcon, CalendarTask, CalendarWrapper, CancelButton, ChangeRequestedIcon, ChatIcon, CheckMark, CheckboxIcon, CheckboxLabel, CheckmarkIcon, ChevronIcon, CircleProgressIcon, ClientApprovedIcon, ClipboardIcon, ClockIcon, Col, CollapseStyled, CollapseWrapper, Collapsible, CollapsibleArrowIcon, CollapsibleLabel, CollapsiblePanel, CollapsiblePanelTitle, CollapsiblePanels, Collapsible$1 as CollapsibleV2, Collapsibles, Column, ColumnSelectIcon, CommentIcon, CompletedCheckmarkIcon, ConfirmPopup, CouponIcon, SKUCreatableSelect as CreatableSelect, CreditCardIcon, Csku, CustomDateInput, Datepicker, DaysBodyWrapper, DaysHeaderWrapper, DefaultCalendarFooter, DefaultCalendarHeader, DefaultStar, DollarIcon, DoneButton, Dot, DownloadIcon, DragIcon, DraggableTasksCalendar, DropArea, DropDownContent, Dropdown, DropdownItem, Dropzoned, DropzonedPreviews, EditIcon, EllipsisIcon, EpsIcon, ErrorBoundary, EstimateCircleIcon, EyeIcon, FeedPost, FilledChevronIcon, FolderIcon, GalleryIcon, GearIcon, GlobalStyle, Grid, GridCell, GridIcon, GridItem, GridRow, GridTable, GridTableContainer, H1, H2, H3, H4, H5, H6, HandleIcon, HeaderWrapper, HeadlessTable, HistoryIcon, IconButton, IconDoc, InfoIcon, Input, InputIconLabel, InputIconLabelContainer, InputStepper, IntegrationsIcon, Label, LabeledAsyncSelect, LabeledCheckbox, LabeledCreatableSelect, LabeledIconInput, LabeledInput, LabeledMultiProgress, LabeledProgress, LabeledRadio, LabeledRadioGroup, LabeledRadioInButton, LabeledRadioInButtonGroup, LabeledSelect, LabeledTextarea, LightIndicator, Link, LinkWithIcon, ListIcon, Loading, LockIcon, MailIcon, MarketingStatusIcon, MenuIcon, MultiProgress, NavConnectIcon, NavFinanceIcon, NavManagementIcon, NavProdIcon, NavResourcesIcon, NavSalesIcon, NoteIcon, Number$1 as Number, NumberInput, OpportunityCircleIcon, Overlay, Padding, Page, PanelContact, PanelTileContact, PendingApprovalIcon, PercentIcon, PinIcon, Popup, PopupHeader, PresentationCircleIcon, Product, Progress, PromostandardsIcon, ProofReceivedIcon, ProofingCompleteIcon, Publisher, Radio, RadioIcon, RadioLabel, ReceiptLongIcon, ResponsiveTable, Row, SHARED_STYLE_MAPS, SalesArrowIcon, SalesOrderCircleIcon, SearchIcon, SKUSelect as Select, SharedStyles, ShopIcon, ShowPopup, SidePanel, SimpleWindowedTable, SimpleWindowedTableStyles, SizerCss, SizerWrapper, Sparkles, Spinner, StarIcon, StarRating, StateDropdown, StatusDropdown, StyledCalendarTaskBody, StyledDayBody, StyledDayText, StyledDropArea, StyledDropdown, StyledPanel, StyledTask, SubtractIcon, SVG as SvgIcon, TBody, TD, TH, THSorted, THead, TR, Tab, TabBar, Table, TableIcon, Tabs, TargetIcon, Task, TaskBody, TaskIcon, TaskLabel, TaskName, TasksCalendar, TasksCalendarDayBody, TasksCalendarFooter, TasksCalendarHeader, TemplateIcon, Text, Textarea, Theme, Thermometer, TilesIcon, Toggle, ToggleLink, TrashIcon, UserIcon, UsersIcon, VirtualTable, VirtualTableStyles, Wrapper, XIcon, colors, createMeasurementStyle, datepickerStyles, fontFamilies, fontStyles, fonts, getColor, getFontStyle, getThemeColor, getThemeFontFamily, getThemeFontSize, getThemeFontStyle, getThemeProperty, parseCskuStyles, sizes$1 as sizes, themeOptions, toggleSizes };
|
|
7140
|
+
export { AddIcon, AddNoteIcon, AddTaskIcon, AlertIcon, AlertNotification, ArrowIcon, Artwork, SKUAsyncSelect as AsyncSelect, Avatar, AwaitingProofIcon, Backdrop, Background, Badge, BotIcon, Box, BulletIcon, Button, ButtonsGroup, Calendar, CalendarDayBody, CalendarDaysBody, CalendarDaysHeader, CalendarIcon, CalendarTask, CalendarWrapper, CancelButton, ChangeRequestedIcon, ChatIcon, CheckMark, CheckboxIcon, CheckboxLabel, CheckmarkIcon, ChevronIcon, CircleProgressIcon, ClientApprovedIcon, ClipboardIcon, ClockIcon, Col, CollapseStyled, CollapseWrapper, Collapsible, CollapsibleArrowIcon, CollapsibleLabel, CollapsiblePanel, CollapsiblePanelTitle, CollapsiblePanels, Collapsible$1 as CollapsibleV2, Collapsibles, Column, ColumnSelectIcon, CommentIcon, CompletedCheckmarkIcon, ConfirmPopup, CouponIcon, SKUCreatableSelect as CreatableSelect, CreditCardIcon, Csku, CustomDateInput, Datepicker, DaysBodyWrapper, DaysHeaderWrapper, DefaultCalendarFooter, DefaultCalendarHeader, DefaultStar, DollarIcon, DoneButton, Dot, DownloadIcon, DragIcon, DraggableTasksCalendar, DropArea, DropDownContent, Dropdown, DropdownItem, Dropzoned, DropzonedPreviews, EditIcon, EllipsisIcon, EpsIcon, ErrorBoundary, EstimateCircleIcon, EyeIcon, FeedPost, FilledChevronIcon, FolderIcon, GalleryIcon, GearIcon, GlobalStyle, Grid, GridCell, GridIcon, GridItem, GridRow, GridTable, GridTableContainer, H1, H2, H3, H4, H5, H6, HandleIcon, HeaderWrapper, HeadlessTable, HistoryIcon, IconButton, IconDoc, InfoIcon, Input, InputIconLabel, InputIconLabelContainer, InputStepper, IntegrationsIcon, Label, LabeledAsyncSelect, LabeledCheckbox, LabeledCreatableSelect, LabeledIconInput, LabeledInput, LabeledMultiProgress, LabeledProgress, LabeledRadio, LabeledRadioGroup, LabeledRadioInButton, LabeledRadioInButtonGroup, LabeledSelect, LabeledTextarea, LightIndicator, Link, LinkWithIcon, ListIcon, Loading, LockIcon, MailIcon, MarketingStatusIcon, MenuIcon, MultiProgress, NavConnectIcon, NavFinanceIcon, NavManagementIcon, NavProdIcon, NavResourcesIcon, NavSalesIcon, NoteIcon, Number$1 as Number, NumberInput, OpportunityCircleIcon, Overlay, Padding, Page, PanelContact, PanelTileContact, PendingApprovalIcon, PercentIcon, PinIcon, Popup, PopupHeader, PresentationCircleIcon, Product, Progress, PromostandardsIcon, ProofReceivedIcon, ProofingCompleteIcon, Publisher, Radio, RadioIcon, RadioLabel, ReceiptLongIcon, ResponsiveTable, Row, SHARED_STYLE_MAPS, SalesArrowIcon, SalesOrderCircleIcon, SearchIcon, SKUSelect as Select, SharedStyles, ShopIcon, ShowPopup, SidePanel, SimpleWindowedTable, SimpleWindowedTableStyles, SizerCss, SizerWrapper, Sparkles, Spinner, StarIcon, StarRating, StateDropdown, StatusDropdown, StyledCalendarTaskBody, StyledDayBody, StyledDayText, StyledDropArea, StyledDropdown, StyledPanel, StyledTask, SubtractIcon, SVG as SvgIcon, TBody, TD, TH, THSorted, THead, TR, Tab, TabBar, Table, TableIcon, Tabs, TargetIcon, Task, TaskBody, TaskIcon, TaskLabel, TaskName, TasksCalendar, TasksCalendarDayBody, TasksCalendarFooter, TasksCalendarHeader, TemplateIcon, Text, Textarea, Theme, Thermometer, TilesIcon, Toggle, ToggleLink, TrashIcon, UserIcon, UsersIcon, VirtualTable, VirtualTableStyles, Wrapper, XIcon, colors, createMeasurementStyle, datepickerStyles, fontFamilies, fontStyles, fonts, getColor, getFontStyle, getThemeColor, getThemeFontFamily, getThemeFontSize, getThemeFontStyle, getThemeProperty, parseCskuStyles, sizes$1 as sizes, themeOptions, toggleSizes, useCalendar, useClickOutside, useDelayUnmount, useFallbackRef, useLongPress, usePrefersReducedMotion, useRandomInterval, useWindowSize };
|
|
7106
7141
|
//# sourceMappingURL=index.es.js.map
|