dce-reactkit 4.0.0-beta-date-and-time.1 → 4.0.0-beta.1
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/.vscode/settings.json +1 -3
- package/README.md +20 -0
- package/dist/cjs/index.js +1408 -2867
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/ItemPicker/index.d.ts +0 -1
- package/dist/cjs/types/components/ItemPicker/index.test.d.ts +1 -0
- package/dist/cjs/types/components/LoadingSpinner.d.ts +2 -2
- package/dist/cjs/types/components/Modal/ModalProps.d.ts +0 -2
- package/dist/cjs/types/components/SimpleDateChooser.d.ts +1 -3
- package/dist/cjs/types/components/TabBox.d.ts +0 -1
- package/dist/cjs/types/components/Tooltip.d.ts +1 -1
- package/dist/cjs/types/index.d.ts +1 -6
- package/dist/cjs/types/types/ReactKitErrorCode.d.ts +1 -3
- package/dist/esm/index.js +1423 -2878
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/ItemPicker/index.d.ts +0 -1
- package/dist/esm/types/components/ItemPicker/index.test.d.ts +1 -0
- package/dist/esm/types/components/LoadingSpinner.d.ts +2 -2
- package/dist/esm/types/components/Modal/ModalProps.d.ts +0 -2
- package/dist/esm/types/components/SimpleDateChooser.d.ts +1 -3
- package/dist/esm/types/components/TabBox.d.ts +0 -1
- package/dist/esm/types/components/Tooltip.d.ts +1 -1
- package/dist/esm/types/index.d.ts +1 -6
- package/dist/esm/types/types/ReactKitErrorCode.d.ts +1 -3
- package/dist/index.d.ts +19 -77
- package/package.json +10 -6
- package/src/components/IntelliTable.tsx +1 -1
- package/src/components/ItemPicker/NestableItemList.tsx +0 -1
- package/src/components/ItemPicker/index.tsx +0 -96
- package/src/components/LogReviewer.tsx +2 -2
- package/src/components/Modal/ModalProps.ts +0 -4
- package/src/components/Modal/index.tsx +20 -59
- package/src/components/SimpleDateChooser.tsx +26 -62
- package/src/components/TabBox.tsx +9 -27
- package/src/components/Tooltip.tsx +1 -1
- package/src/index.ts +0 -10
- package/src/types/ReactKitErrorCode.tsx +1 -3
- package/dist/cjs/types/components/SimpleTimeChooser.d.ts +0 -20
- package/dist/cjs/types/helpers/getWordCount.d.ts +0 -10
- package/dist/esm/types/components/SimpleTimeChooser.d.ts +0 -20
- package/dist/esm/types/helpers/getWordCount.d.ts +0 -10
- package/src/components/SimpleTimeChooser.tsx +0 -195
- package/src/helpers/getWordCount.ts +0 -26
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A very simple, lightweight date chooser
|
|
3
3
|
* @author Gabe Abrams
|
|
4
|
-
* @author Gardeniu Liu
|
|
5
4
|
*/
|
|
6
5
|
import React from 'react';
|
|
7
6
|
type Props = {
|
|
@@ -18,8 +17,7 @@ type Props = {
|
|
|
18
17
|
*/
|
|
19
18
|
onChange: (month: number, day: number, year: number) => void;
|
|
20
19
|
numMonthsToShow?: number;
|
|
21
|
-
|
|
22
|
-
dontAllowFuture?: boolean;
|
|
20
|
+
chooseFromPast?: boolean;
|
|
23
21
|
};
|
|
24
22
|
declare const SimpleDateChooser: React.FC<Props>;
|
|
25
23
|
export default SimpleDateChooser;
|
|
@@ -7,7 +7,6 @@ import RadioButton from './components/RadioButton';
|
|
|
7
7
|
import CheckboxButton from './components/CheckboxButton';
|
|
8
8
|
import ButtonInputGroup from './components/ButtonInputGroup';
|
|
9
9
|
import SimpleDateChooser from './components/SimpleDateChooser';
|
|
10
|
-
import SimpleTimeChooser from './components/SimpleTimeChooser';
|
|
11
10
|
import Drawer from './components/Drawer';
|
|
12
11
|
import PopSuccessMark from './components/PopSuccessMark';
|
|
13
12
|
import PopFailureMark from './components/PopFailureMark';
|
|
@@ -27,9 +26,6 @@ import ErrorWithCode from './errors/ErrorWithCode';
|
|
|
27
26
|
import MINUTE_IN_MS from './constants/MINUTE_IN_MS';
|
|
28
27
|
import HOUR_IN_MS from './constants/HOUR_IN_MS';
|
|
29
28
|
import DAY_IN_MS from './constants/DAY_IN_MS';
|
|
30
|
-
import LOG_REVIEW_ROUTE_PATH_PREFIX from './constants/LOG_REVIEW_ROUTE_PATH_PREFIX';
|
|
31
|
-
import LOG_ROUTE_PATH from './constants/LOG_ROUTE_PATH';
|
|
32
|
-
import LOG_REVIEW_STATUS_ROUTE from './constants/LOG_REVIEW_STATUS_ROUTE';
|
|
33
29
|
import DynamicWord from './dynamicConstants/DynamicWord';
|
|
34
30
|
import initClient from './helpers/initClient';
|
|
35
31
|
import abbreviate from './helpers/abbreviate';
|
|
@@ -76,7 +72,6 @@ import mapAsync from './helpers/asyncArrayFunctions/mapAsync';
|
|
|
76
72
|
import someAsync from './helpers/asyncArrayFunctions/someAsync';
|
|
77
73
|
import capitalize from './helpers/capitalize';
|
|
78
74
|
import shuffleArray from './helpers/shuffleArray';
|
|
79
|
-
import getWordCount from './helpers/getWordCount';
|
|
80
75
|
import ParamType from './types/ParamType';
|
|
81
76
|
import ModalButtonType from './types/ModalButtonType';
|
|
82
77
|
import ModalSize from './types/ModalSize';
|
|
@@ -101,4 +96,4 @@ import PickableItem from './components/ItemPicker/types/PickableItem';
|
|
|
101
96
|
import DBEntry from './components/DBEntryManagerPanel/types/DBEntry';
|
|
102
97
|
import DBEntryField from './components/DBEntryManagerPanel/types/DBEntryField';
|
|
103
98
|
import DBEntryFieldType from './components/DBEntryManagerPanel/types/DBEntryFieldType';
|
|
104
|
-
export { AppWrapper, LoadingSpinner, ErrorBox, Modal, TabBox, RadioButton, CheckboxButton, ButtonInputGroup, SimpleDateChooser,
|
|
99
|
+
export { AppWrapper, LoadingSpinner, ErrorBox, Modal, TabBox, RadioButton, CheckboxButton, ButtonInputGroup, SimpleDateChooser, Drawer, PopSuccessMark, PopFailureMark, PopPendingMark, CopiableBox, ItemPicker, LogReviewer, IntelliTable, CSVDownloadButton, DBEntryManagerPanel, Tooltip, ToggleSwitch, AutoscrollToBottomContainer, MultiSwitch, Dropdown, alert, prompt, confirm, showFatalError, ErrorWithCode, MINUTE_IN_MS, HOUR_IN_MS, DAY_IN_MS, DynamicWord, abbreviate, avg, ceilToNumDecimals, floorToNumDecimals, forceNumIntoBounds, padDecimalZeros, padZerosLeft, roundToNumDecimals, sum, waitMs, getOrdinal, getTimeInfoInET, stubServerEndpoint, startMinWait, getHumanReadableDate, getPartOfDay, stringsToHumanReadableList, onlyKeepLetters, parallelLimit, getMonthName, genCSV, canReviewLogs, isMobileOrTablet, extractProp, compareArraysByProp, genCommaList, validateEmail, validatePhoneNumber, validateString, getLocalTimeInfo, idify, makeLinksClickable, prefixWithAOrAn, everyAsync, filterAsync, forEachAsync, mapAsync, someAsync, capitalize, shuffleArray, initClient, visitServerEndpoint, logClientEvent, addFatalErrorHandler, leaveToURL, combineClassNames, useForceRender, setClientEventMetadataPopulator, ParamType, ModalButtonType, ModalSize, ModalType, ReactKitErrorCode, Variant, DayOfWeek, Log, LogType, LogSource, LogAction, LogBuiltInMetadata, LogMetadataType, LogFunction, LogTypeSpecificInfo, LogMainInfo, LogSourceSpecificInfo, LogLevel, IntelliTableColumn, DropdownItemType, PickableItem, DBEntry, DBEntryField, DBEntryFieldType, };
|
|
@@ -6,8 +6,6 @@ declare enum ReactKitErrorCode {
|
|
|
6
6
|
NoResponse = "DRK1",
|
|
7
7
|
NoCode = "DRK2",
|
|
8
8
|
SessionExpired = "DRK3",
|
|
9
|
-
NoCACCLSendRequestFunction = "DRK7"
|
|
10
|
-
SimpleDateChooserInvalidDateRange = "DRK35",
|
|
11
|
-
SimpleDateChooserInvalidNumMonths = "DRK36"
|
|
9
|
+
NoCACCLSendRequestFunction = "DRK7"
|
|
12
10
|
}
|
|
13
11
|
export default ReactKitErrorCode;
|