@bigbinary/neetoui 7.1.0 → 8.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/dist/cjs/index.js CHANGED
@@ -10,7 +10,7 @@ var Button = require('./Button.js');
10
10
  var Callout = require('./Callout.js');
11
11
  var Checkbox = require('./Checkbox.js');
12
12
  var ColorPicker = require('./ColorPicker.js');
13
- var DatePicker = require('./index-e2dbc0bd.js');
13
+ var DatePicker = require('./index-e17b2a64.js');
14
14
  var Dropdown = require('./Dropdown.js');
15
15
  var Input = require('./Input.js');
16
16
  var Kbd = require('./Kbd.js');
@@ -32,7 +32,6 @@ var Tab = require('./Tab.js');
32
32
  var Table = require('./Table.js');
33
33
  var Tag = require('./Tag.js');
34
34
  var Textarea = require('./Textarea-af523fdb.js');
35
- var TimePickerInput = require('./TimePickerInput.js');
36
35
  var Toastr = require('./Toastr.js');
37
36
  var Tooltip = require('./Tooltip.js');
38
37
  var TranslationProvider = require('./TranslationProvider.js');
@@ -73,7 +72,6 @@ require('react-i18next');
73
72
  require('@tippyjs/react');
74
73
  require('tippy.js');
75
74
  require('antd/lib/date-picker');
76
- require('dayjs/plugin/customParseFormat');
77
75
  require('@babel/runtime/helpers/toConsumableArray');
78
76
  require('@babel/runtime/helpers/esm/objectSpread2');
79
77
  require('@babel/runtime/helpers/esm/slicedToArray');
@@ -108,8 +106,6 @@ require('./index-63580e68.js');
108
106
  require('@babel/runtime/helpers/esm/assertThisInitialized');
109
107
  require('@babel/runtime/helpers/toArray');
110
108
  require('./useQueryParams-a8ee2f76.js');
111
- require('@wojtekmaj/react-timerange-picker');
112
- require('react-time-picker');
113
109
  require('react-toastify');
114
110
  require('linkify-react');
115
111
  require('antd/lib/tree-select');
@@ -125,7 +121,6 @@ exports.Callout = Callout;
125
121
  exports.Checkbox = Checkbox;
126
122
  exports.ColorPicker = ColorPicker;
127
123
  exports.DatePicker = DatePicker.DatePicker;
128
- exports.DateTimePicker = DatePicker.index;
129
124
  exports.TimePicker = DatePicker.TimePicker;
130
125
  exports.Dropdown = Dropdown;
131
126
  exports.Input = Input;
@@ -148,7 +143,6 @@ exports.Tab = Tab;
148
143
  exports.Table = Table;
149
144
  exports.Tag = Tag;
150
145
  exports.Textarea = Textarea.Textarea;
151
- exports.TimePickerInput = TimePickerInput;
152
146
  exports.Toastr = Toastr;
153
147
  exports.Tooltip = Tooltip;
154
148
  exports.TranslationProvider = TranslationProvider;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -25,17 +25,14 @@ import './Dropdown.js';
25
25
  import { A as ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES, g as getLocale, h as hyphenize, c as convertToDayjsObjects, n as noop } from './index-9040fef3.js';
26
26
  import _DatePicker from 'antd/lib/date-picker';
27
27
  import { isPresent, isNotPresent } from '@bigbinary/neeto-cist';
28
- import dayjs from 'dayjs';
29
- import customParseFormat from 'dayjs/plugin/customParseFormat';
28
+ import './Input.js';
30
29
  import Label from './Label.js';
31
- import TimePickerInput from './TimePickerInput.js';
32
- import { u as useId } from './useId-c1d20bba.js';
30
+ import './MultiEmailInput.js';
33
31
  import 'react-router-dom';
32
+ import { u as useId } from './useId-c1d20bba.js';
34
33
  import '@bigbinary/neeto-hotkeys';
35
34
  import './overlayManager.js';
36
35
  import 'qs';
37
- import './Input.js';
38
- import './MultiEmailInput.js';
39
36
  import { u as useSyncedRef } from './Textarea-f6ad0ef9.js';
40
37
  import '@babel/runtime/helpers/toConsumableArray';
41
38
  import './Pane.js';
@@ -80,13 +77,13 @@ var IconOverride = function IconOverride(_ref) {
80
77
  }));
81
78
  };
82
79
 
83
- function ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
84
- function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$3(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
80
+ function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
81
+ function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
85
82
  var Provider = function Provider(_ref) {
86
83
  var children = _ref.children;
87
84
  return /*#__PURE__*/React__default.createElement(_ConfigProvider, {
88
85
  theme: {
89
- token: _objectSpread$3({}, ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES),
86
+ token: _objectSpread$2({}, ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES),
90
87
  components: {
91
88
  DatePicker: {
92
89
  activeBg: "rgb(var(--neeto-ui-white))",
@@ -177,8 +174,8 @@ var formattedString = function formattedString(date, dateFormat) {
177
174
  };
178
175
 
179
176
  var _excluded$1 = ["className", "label", "size", "dropdownClassName", "popupClassName", "dateFormat", "timeFormat", "placeholder", "onChange", "onOk", "picker", "mode", "showTime", "type", "nakedInput", "error", "defaultValue", "value", "labelProps", "required", "allowClear", "maxDate", "minDate", "timePickerProps", "timezone"];
180
- function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
181
- function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
177
+ function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
178
+ function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
182
179
  var INPUT_SIZES$1 = {
183
180
  small: "small",
184
181
  medium: "medium",
@@ -274,13 +271,13 @@ var DatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
274
271
  };
275
272
  return /*#__PURE__*/React__default.createElement(Provider, null, /*#__PURE__*/React__default.createElement("div", {
276
273
  className: "neeto-ui-input__wrapper"
277
- }, label && /*#__PURE__*/React__default.createElement(Label, _objectSpread$2({
274
+ }, label && /*#__PURE__*/React__default.createElement(Label, _objectSpread$1({
278
275
  required: required
279
276
  }, labelProps), label), /*#__PURE__*/React__default.createElement(Component, _extends({
280
277
  "data-cy": label ? "".concat(hyphenize(label), "-input") : "picker-input",
281
278
  placeholder: placeholder !== null && placeholder !== void 0 ? placeholder : format,
282
279
  ref: datePickerRef,
283
- showTime: showTime && _objectSpread$2({
280
+ showTime: showTime && _objectSpread$1({
284
281
  format: timeFormat
285
282
  }, timePickerProps),
286
283
  value: getAllowed(convertToDayjsObjects(value), minDate, maxDate),
@@ -297,7 +294,7 @@ var DatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
297
294
  // Will be removed in the next major version
298
295
  popupClassName]),
299
296
  onChange: handleOnChange
300
- }, _objectSpread$2(_objectSpread$2({
297
+ }, _objectSpread$1(_objectSpread$1({
301
298
  format: format,
302
299
  maxDate: maxDate,
303
300
  minDate: minDate,
@@ -343,143 +340,6 @@ var DatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
343
340
  });
344
341
  DatePicker.displayName = "DatePicker";
345
342
 
346
- var DATE_FORMAT = "YYYY-MM-DD";
347
- var TIME_FORMAT = "HH:mm";
348
- var getDateTime = function getDateTime(date, time) {
349
- if (isPresent(date) && isPresent(time)) {
350
- return dayjs("".concat(date.format(DATE_FORMAT), " ").concat(time.format(TIME_FORMAT)));
351
- }
352
- return null;
353
- };
354
- var getAllowedTime = function getAllowedTime(date, time, minDateTime, maxDateTime) {
355
- var newTime = getDateTime(date, time || dayjs());
356
- if (isPresent(minDateTime) && date !== null && date !== void 0 && date.isSame(minDateTime, "day") && newTime !== null && newTime !== void 0 && newTime.isBefore(minDateTime)) {
357
- return minDateTime;
358
- }
359
- if (isPresent(maxDateTime) && date !== null && date !== void 0 && date.isSame(maxDateTime, "day") && newTime !== null && newTime !== void 0 && newTime.isAfter(maxDateTime)) {
360
- return maxDateTime;
361
- }
362
- return newTime;
363
- };
364
- var getTime = function getTime(date) {
365
- return date === null || date === void 0 ? void 0 : date.format(TIME_FORMAT);
366
- };
367
-
368
- function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
369
- function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
370
- dayjs.extend(customParseFormat);
371
- var DateTimePicker = function DateTimePicker(_ref) {
372
- var _ref$className = _ref.className,
373
- className = _ref$className === void 0 ? "" : _ref$className,
374
- _ref$label = _ref.label,
375
- label = _ref$label === void 0 ? "" : _ref$label,
376
- size = _ref.size,
377
- dropdownClassName = _ref.dropdownClassName,
378
- popupClassName = _ref.popupClassName,
379
- dateFormat = _ref.dateFormat,
380
- _ref$onChange = _ref.onChange,
381
- onChange = _ref$onChange === void 0 ? noop : _ref$onChange,
382
- _ref$nakedInput = _ref.nakedInput,
383
- nakedInput = _ref$nakedInput === void 0 ? false : _ref$nakedInput,
384
- _ref$error = _ref.error,
385
- error = _ref$error === void 0 ? "" : _ref$error,
386
- defaultValue = _ref.defaultValue,
387
- value = _ref.value,
388
- labelProps = _ref.labelProps,
389
- _ref$required = _ref.required,
390
- required = _ref$required === void 0 ? false : _ref$required,
391
- id = _ref.id,
392
- datePickerProps = _ref.datePickerProps,
393
- timePickerProps = _ref.timePickerProps,
394
- minDateTime = _ref.minDateTime,
395
- maxDateTime = _ref.maxDateTime,
396
- _ref$onTimeInputBlur = _ref.onTimeInputBlur,
397
- onTimeInputBlur = _ref$onTimeInputBlur === void 0 ? noop : _ref$onTimeInputBlur,
398
- _ref$onBlur = _ref.onBlur,
399
- onBlur = _ref$onBlur === void 0 ? noop : _ref$onBlur;
400
- var _useState = useState(null),
401
- _useState2 = _slicedToArray(_useState, 2),
402
- date = _useState2[0],
403
- setDate = _useState2[1];
404
- var _useState3 = useState(null),
405
- _useState4 = _slicedToArray(_useState3, 2),
406
- time = _useState4[0],
407
- setTime = _useState4[1];
408
- var _useState5 = useState(),
409
- _useState6 = _slicedToArray(_useState5, 2),
410
- changedField = _useState6[0],
411
- setChangedField = _useState6[1];
412
- var timeRef = React__default.useRef(null);
413
- var defaultId = useId(id);
414
- var errorId = "error_".concat(defaultId);
415
- useEffect(function () {
416
- var inputValue = value || defaultValue;
417
- if (isNotPresent(inputValue)) {
418
- setDate(null);
419
- setTime(null);
420
- return;
421
- }
422
- if (dayjs(inputValue).isValid()) {
423
- var dateTime = dayjs.isDayjs(inputValue) ? inputValue : dayjs(inputValue);
424
- setDate(dateTime);
425
- setTime(dateTime);
426
- }
427
- }, [value, defaultValue]);
428
- useEffect(function () {
429
- if (isNotPresent(changedField)) return;
430
- onChange(getDateTime(date, time), changedField);
431
- setChangedField(); // reset to avoid unnecessary trigger on rerender
432
- }, [date, time, changedField]);
433
- var handleDateChange = function handleDateChange(newDate) {
434
- var _timeRef$current;
435
- (_timeRef$current = timeRef.current) === null || _timeRef$current === void 0 || (_timeRef$current = _timeRef$current.querySelector(".react-time-picker__inputGroup__hour")) === null || _timeRef$current === void 0 || _timeRef$current.focus();
436
- setDate(newDate);
437
- setTime(getAllowedTime(newDate, time, minDateTime, maxDateTime));
438
- setChangedField("date");
439
- };
440
- var handleTimeChange = function handleTimeChange(newTime) {
441
- setTime(newTime.isValid() ? newTime : null);
442
- if (newTime.isValid() && !date) setDate(newTime);
443
- setChangedField("time");
444
- };
445
- var handleTimeBlur = function handleTimeBlur() {
446
- var dateTime = getDateTime(date, time);
447
- onTimeInputBlur(dateTime);
448
- onBlur(dateTime);
449
- };
450
- return /*#__PURE__*/React__default.createElement("div", {
451
- className: "neeto-ui-input__wrapper"
452
- }, label && /*#__PURE__*/React__default.createElement(Label, _objectSpread$1({
453
- required: required
454
- }, labelProps), label), /*#__PURE__*/React__default.createElement("div", {
455
- className: classnames("neeto-ui-date-time-input", className)
456
- }, /*#__PURE__*/React__default.createElement(DatePicker, _extends({
457
- dateFormat: dateFormat,
458
- dropdownClassName: dropdownClassName,
459
- nakedInput: nakedInput,
460
- popupClassName: popupClassName,
461
- size: size,
462
- error: !!error,
463
- maxDate: maxDateTime,
464
- minDate: minDateTime,
465
- picker: "date",
466
- showTime: false,
467
- type: "date",
468
- value: date,
469
- onChange: handleDateChange
470
- }, datePickerProps)), /*#__PURE__*/React__default.createElement(TimePickerInput, _extends(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
471
- error: error,
472
- nakedInput: nakedInput,
473
- size: size
474
- }, "error", !!error), "maxTime", (date === null || date === void 0 ? void 0 : date.isSame(maxDateTime, "day")) && getTime(maxDateTime)), "minTime", (date === null || date === void 0 ? void 0 : date.isSame(minDateTime, "day")) && getTime(minDateTime)), "ref", timeRef), "value", time), "onBlur", handleTimeBlur), "onChange", handleTimeChange), timePickerProps))), !!error && /*#__PURE__*/React__default.createElement("p", {
475
- className: "neeto-ui-input__error",
476
- "data-cy": "".concat(hyphenize(label), "-input-error"),
477
- id: errorId
478
- }, error));
479
- };
480
- DateTimePicker.displayName = "DateTimePicker";
481
- var index = /*#__PURE__*/React__default.memo(DateTimePicker);
482
-
483
343
  var RangePicker = _DatePicker.RangePicker;
484
344
  var TIME_PICKER_TYPES = {
485
345
  range: RangePicker,
@@ -635,5 +495,5 @@ var TimePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
635
495
  });
636
496
  TimePicker.displayName = "TimePicker";
637
497
 
638
- export { DatePicker as D, TimePicker as T, index as i };
639
- //# sourceMappingURL=index-266ce6a6.js.map
498
+ export { DatePicker as D, TimePicker as T };
499
+ //# sourceMappingURL=index-7862413e.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-7862413e.js","sources":["../src/components/DatePicker/IconOverride.jsx","../src/components/DatePicker/Provider.jsx","../src/components/DatePicker/Today.jsx","../src/components/DatePicker/utils.js","../src/components/DatePicker/index.jsx","../src/components/TimePicker/constants.js","../src/components/TimePicker/index.jsx"],"sourcesContent":["import React from \"react\";\n\nconst IconOverride = ({ icon: Icon }) => (\n <span className=\"neeto-ui-btn neeto-ui-btn--style-text neeto-ui-btn--size-medium neeto-ui-btn--icon-only\">\n <Icon className=\"neeto-ui-btn__icon\" size={20} />\n </span>\n);\n\nexport default IconOverride;\n","import React from \"react\";\n\nimport { ConfigProvider } from \"antd\";\n\nimport { ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES } from \"utils\";\n\nconst Provider = ({ children }) => (\n <ConfigProvider\n theme={{\n token: { ...ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES },\n components: {\n DatePicker: {\n activeBg: \"rgb(var(--neeto-ui-white))\",\n activeBorderColor: \"rgb(var(--neeto-ui-primary-500))\",\n addonBg: \"rgb(var(--neeto-ui-gray-100))\",\n cellActiveWithRangeBg: \"rgb(var(--neeto-ui-primary-100))\",\n cellBgDisabled: \"rgb(var(--neeto-ui-gray-100))\",\n cellHoverBg: \"rgb(var(--neeto-ui-gray-200))\",\n cellHoverWithRangeBg: \"rgb(var(--neeto-ui-primary-100))\",\n cellRangeBorderColor: \"rgb(var(--neeto-ui-primary-100))\",\n hoverBg: \"rgb(var(--neeto-ui-white))\",\n hoverBorderColor: \"rgb(var(--neeto-ui-primary-500))\",\n\n // Global overrides\n colorBgContainer: \"rgb(var(--neeto-ui-white))\",\n colorBgElevated: \"rgb(var(--neeto-ui-white))\",\n colorPrimary: \"rgb(var(--neeto-ui-primary-500))\",\n colorPrimaryBorder: \"rgb(var(--neeto-ui-primary-100))\",\n colorPrimaryHover: \"rgb(var(--neeto-ui-primary-600))\",\n colorBorder: \"rgb(var(--neeto-ui-gray-300))\",\n colorError: \"rgb(var(--neeto-ui-error-500))\",\n colorErrorHover: \"rgb(var(--neeto-ui-error-600))\",\n colorErrorOutline: \"rgb(var(--neeto-ui-error-100))\",\n colorFillAlter: \"rgb(var(--neeto-ui-gray-100))\",\n colorIcon: \"rgb(var(--neeto-ui-gray-700))\",\n colorIconHover: \"rgb(var(--neeto-ui-gray-800))\",\n colorLink: \"rgb(var(--neeto-ui-primary-500))\",\n colorLinkHover: \"rgb(var(--neeto-ui-primary-600))\",\n colorLinkActive: \"rgb(var(--neeto-ui-primary-800))\",\n colorSplit: \"rgb(var(--neeto-ui-gray-200))\",\n colorText: \"rgb(var(--neeto-ui-gray-800))\",\n colorTextDescription: \"rgb(var(--neeto-ui-gray-700))\",\n colorTextDisabled: \"rgb(var(--neeto-ui-gray-500))\",\n colorTextHeading: \"rgb(var(--neeto-ui-black))\",\n colorTextLightSolid: \"rgb(var(--neeto-ui-white))\",\n colorTextPlaceholder: \"rgb(var(--neeto-ui-gray-400))\",\n colorTextQuaternary: \"rgb(var(--neeto-ui-gray-400))\",\n colorWarning: \"rgb(var(--neeto-ui-warning-500))\",\n colorWarningHover: \"rgb(var(--neeto-ui-warning-600))\",\n colorWarningOutline: \"rgb(var(--neeto-ui-warning-100))\",\n controlItemBgActive: \"rgb(var(--neeto-ui-pastel-purple))\",\n controlItemBgHover: \"rgb(var(--neeto-ui-gray-100))\",\n controlOutline: \"rgb(var(--neeto-ui-gray-300))\",\n\n // Sizes\n cellHeight: 32,\n padding: 22,\n },\n },\n }}\n >\n {children}\n </ConfigProvider>\n);\n\nexport default Provider;\n","/* eslint-disable @bigbinary/neeto/no-dumb-components-with-use-translation */\nimport React from \"react\";\n\nimport { useTranslation } from \"react-i18next\";\n\nimport { getLocale } from \"utils\";\n\nconst Today = ({ onClick }) => {\n const { t, i18n } = useTranslation();\n\n return (\n <div className=\"text-center\">\n <button\n {...{ onClick }}\n className=\"neeto-ui-rounded-md hover:neeto-ui-bg-gray-200 px-2 py-1 text-xs font-medium transition duration-300 ease-in-out\"\n data-cy=\"year-month-mode-today\"\n >\n {getLocale(i18n, t, \"neetoui.datePicker.today\")}\n </button>\n </div>\n );\n};\n\nexport default Today;\n","import { isPresent } from \"neetocist\";\n\nconst getAllowedDate = (date, minDate, maxDate) => {\n if (isPresent(minDate) && date?.isBefore(minDate)) {\n return minDate;\n }\n\n if (isPresent(maxDate) && date?.isAfter(maxDate)) {\n return maxDate;\n }\n\n return date;\n};\n\nconst getAllowedRange = (dates, minDate, maxDate) =>\n dates.map(item => getAllowedDate(item, minDate, maxDate));\n\nconst getAllowed = (date, minDate, maxDate) =>\n (Array.isArray(date) ? getAllowedRange : getAllowedDate)(\n date,\n minDate,\n maxDate\n );\n\nconst formattedString = (date, dateFormat) =>\n Array.isArray(date)\n ? date.map(item => item?.format(dateFormat))\n : date?.format(dateFormat);\n\nexport { getAllowed, formattedString };\n","import React, { forwardRef, useState, useEffect } from \"react\";\n\nimport { DatePicker as AntDatePicker } from \"antd\";\nimport classnames from \"classnames\";\nimport { isNotPresent } from \"neetocist\";\nimport { Left, Right, Calendar, Close } from \"neetoicons\";\nimport PropTypes from \"prop-types\";\n\nimport { Tag } from \"components\";\nimport Label from \"components/Label\";\nimport { useSyncedRef, useId } from \"hooks\";\nimport { convertToDayjsObjects, noop, hyphenize } from \"utils\";\n\nimport IconOverride from \"./IconOverride\";\nimport Provider from \"./Provider\";\nimport Today from \"./Today\";\nimport { getAllowed, formattedString } from \"./utils\";\n\nconst INPUT_SIZES = { small: \"small\", medium: \"medium\", large: \"large\" };\n\nconst { RangePicker } = AntDatePicker;\n\nconst datePickerTypes = { range: RangePicker, date: AntDatePicker };\n\nconst DatePicker = forwardRef(\n (\n {\n className = \"\",\n label = \"\",\n size = INPUT_SIZES.medium,\n dropdownClassName = \"\",\n popupClassName = \"\",\n dateFormat = \"DD/MM/YYYY\",\n timeFormat = \"HH:mm:ss\",\n placeholder,\n onChange = noop,\n onOk = noop,\n picker = \"date\",\n mode: inputMode = \"date\",\n showTime = false,\n type = \"date\",\n nakedInput = false,\n error = \"\",\n defaultValue,\n value: inputValue,\n labelProps,\n required = false,\n allowClear = true,\n maxDate,\n minDate,\n timePickerProps,\n timezone,\n ...otherProps\n },\n ref\n ) => {\n const [value, setValue] = useState(inputValue);\n const [mode, setMode] = useState(inputMode);\n const [pickerValue, setPickerValue] = useState();\n const id = useId(otherProps.id);\n const datePickerRef = useSyncedRef(ref);\n\n const Component = datePickerTypes[type?.toLowerCase()];\n const format = showTime ? `${dateFormat} ${timeFormat}` : dateFormat;\n\n const errorId = `error_${id}`;\n\n useEffect(() => {\n setValue(inputValue);\n }, [inputValue]);\n\n const handleOnChange = (date, dateString) => {\n if (type === \"range\" && isNotPresent(date)) {\n return onChange([], dateString);\n }\n const allowed = getAllowed(date, minDate, maxDate);\n setValue(allowed);\n\n return onChange(allowed, formattedString(allowed, dateFormat));\n };\n\n const renderExtraFooter = () => {\n if (type === \"range\" || mode === \"date\") return null;\n\n return (\n <Today\n onClick={() => {\n setMode(\"date\");\n setTimeout(() => {\n document.querySelector(\".ant-picker-now-btn\").click();\n });\n }}\n />\n );\n };\n\n return (\n <Provider>\n <div className=\"neeto-ui-input__wrapper\">\n {label && <Label {...{ required, ...labelProps }}>{label}</Label>}\n <Component\n data-cy={label ? `${hyphenize(label)}-input` : \"picker-input\"}\n placeholder={placeholder ?? format}\n ref={datePickerRef}\n showTime={showTime && { format: timeFormat, ...timePickerProps }}\n value={getAllowed(convertToDayjsObjects(value), minDate, maxDate)}\n className={classnames(\"neeto-ui-date-input\", [className], {\n \"neeto-ui-date-input--small\": size === \"small\",\n \"neeto-ui-date-input--medium\": size === \"medium\",\n \"neeto-ui-date-input--large\": size === \"large\",\n \"neeto-ui-date-input--disabled\": otherProps.disabled,\n \"neeto-ui-date-input--naked\": nakedInput,\n \"neeto-ui-date-input--error\": !!error,\n })}\n defaultValue={getAllowed(\n convertToDayjsObjects(defaultValue),\n minDate,\n maxDate\n )}\n popupClassName={classnames(\"neeto-ui-date-time-dropdown\", [\n dropdownClassName, // Will be removed in the next major version\n popupClassName,\n ])}\n onChange={handleOnChange}\n {...{\n format,\n maxDate,\n minDate,\n onOk,\n picker,\n ...otherProps,\n ...(type === \"date\" && {\n mode,\n pickerValue,\n renderExtraFooter,\n onPanelChange: (pickerValue, mode) => {\n setPickerValue(pickerValue);\n setMode(mode);\n },\n }),\n }}\n nextIcon={<IconOverride icon={Right} />}\n prevIcon={<IconOverride icon={Left} />}\n superNextIcon={<IconOverride icon={Right} />}\n superPrevIcon={<IconOverride icon={Left} />}\n allowClear={\n allowClear && {\n clearIcon: <Close data-cy=\"date-time-clear-icon\" size={16} />,\n }\n }\n suffixIcon={\n timezone ? <Tag label={timezone} /> : <Calendar size={16} />\n }\n />\n {!!error && typeof error === \"string\" && (\n <p\n className=\"neeto-ui-input__error\"\n data-cy={`${hyphenize(label)}-input-error`}\n id={errorId}\n >\n {error}\n </p>\n )}\n </div>\n </Provider>\n );\n }\n);\n\nDatePicker.displayName = \"DatePicker\";\n\nDatePicker.propTypes = {\n /**\n * To provide external classnames to DatePicker component.\n */\n className: PropTypes.string,\n /**\n * To set the text to be displayed above the DatePicker.\n */\n label: PropTypes.string,\n /**\n * To specify the label props to be passed to the Label component.\n */\n labelProps: PropTypes.object,\n /**\n * To set the size of the DatePicker.\n */\n size: PropTypes.oneOf(Object.values(INPUT_SIZES)),\n /**\n * To set the DatePicker as naked Input field.\n */\n nakedInput: PropTypes.bool,\n /**\n * To specify the error message to be shown in the DatePicker.\n */\n error: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),\n /**\n * To set DatePicker as disabled.\n */\n disabled: PropTypes.bool,\n /**\n * To specify custom classnames to be applied to the DatePicker dropdown.\n */\n dropdownClassName: PropTypes.string,\n /**\n * To specify the date format.\n */\n dateFormat: PropTypes.string,\n /**\n * To specify the time format.\n */\n timeFormat: PropTypes.string,\n /**\n * To specify the placeholder text for the DatePicker, if not provided, the format will be used as placeholder.\n */\n placeholder: PropTypes.string,\n /**\n * To specify props to be passed to the time picker.\n */\n timePickerProps: PropTypes.object,\n /**\n * To specify the timezone.\n */\n timezone: PropTypes.string,\n /**\n * For `DateInput`,(date, dateString) => {} <br />\n * For `DateRange`, (date, [startDate, endDate]) => {}\n */\n onChange: PropTypes.func,\n /**\n * Callback function which will be invoked when ok button is clicked in DateInput\n */\n onOk: PropTypes.func,\n /**\n * To specify the type of the picker.\n */\n picker: PropTypes.oneOf([\"date\", \"week\", \"month\", \"quarter\", \"year\"]),\n /**\n * To show time picker\n */\n showTime: PropTypes.bool,\n /**\n * To specify the type of the DatePicker.\n */\n type: PropTypes.oneOf(Object.keys(datePickerTypes)),\n /**\n * To specify the values to be displayed inside the DatePicker.\n */\n value: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),\n /**\n * To specify the default values to be displayed inside the DatePicker.\n */\n defaultValue: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),\n /**\n * To specify whether the Date picker is required or not.\n */\n required: PropTypes.bool,\n /**\n * To specify whether the Date picker value can be cleared or not.\n */\n allowClear: PropTypes.bool,\n /**\n * To specify the minimum date of the DatePicker.\n */\n minDate: PropTypes.object,\n /**\n * To specify the maximum date of the DatePicker.\n */\n maxDate: PropTypes.object,\n};\n\nexport default DatePicker;\n","import { DatePicker as AntTimePicker } from \"antd\";\n\nconst { RangePicker } = AntTimePicker;\n\nexport const TIME_PICKER_TYPES = {\n range: RangePicker,\n time: AntTimePicker,\n};\n","import React, { forwardRef } from \"react\";\n\nimport { ConfigProvider } from \"antd\";\nimport classnames from \"classnames\";\nimport { Clock } from \"neetoicons\";\nimport PropTypes from \"prop-types\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { Tag } from \"components\";\nimport Label from \"components/Label\";\nimport { useSyncedRef, useId } from \"hooks\";\nimport {\n convertToDayjsObjects,\n noop,\n hyphenize,\n ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES,\n getLocale,\n} from \"utils\";\n\nimport { TIME_PICKER_TYPES } from \"./constants\";\n\nconst INPUT_SIZES = { small: \"small\", medium: \"medium\", large: \"large\" };\n\nconst TIME_PICKER_INTERVAL = {\n hourStep: 1,\n minuteStep: 1,\n secondStep: 1,\n};\n\nconst TimePicker = forwardRef(\n (\n {\n className = \"\",\n label = \"\",\n size = INPUT_SIZES.medium,\n dropdownClassName = \"\",\n popupClassName = \"\",\n format = \"HH:mm:ss\",\n interval = TIME_PICKER_INTERVAL,\n onChange = noop,\n type = \"time\",\n nakedInput = false,\n disabled = false,\n error = \"\",\n defaultValue,\n value,\n labelProps,\n required = false,\n placeholder,\n timezone,\n ...otherProps\n },\n ref\n ) => {\n const { t, i18n } = useTranslation();\n const id = useId(otherProps.id);\n const timePickerRef = useSyncedRef(ref);\n\n const Component = TIME_PICKER_TYPES[type.toLowerCase()];\n\n const errorId = `error_${id}`;\n\n const showTimeLabels = {};\n if (format.includes(\"s\")) {\n showTimeLabels.second = true;\n }\n\n if (format.includes(\"m\")) {\n showTimeLabels.minute = true;\n }\n\n if (format.includes(\"H\") || format.includes(\"h\")) {\n showTimeLabels.hour = true;\n }\n\n const handleOnChange = (time, timeString) => {\n type === \"range\" && !time\n ? onChange([], timeString)\n : onChange(time, timeString);\n };\n\n const panelRender = originalPanel => (\n <div className=\"neeto-ui-date-input-custom-panel\">\n <div className=\"neeto-ui-date-input-custom-panel__header\">\n <ul className=\"neeto-ui-date-input-custom-panel__header-cols\">\n {showTimeLabels.hour && (\n <li className=\"neeto-ui-date-input-custom-panel__header-col\">\n {getLocale(i18n, t, \"neetoui.timePicker.hours\")}\n </li>\n )}\n {showTimeLabels.minute && (\n <li className=\"neeto-ui-date-input-custom-panel__header-col\">\n {getLocale(i18n, t, \"neetoui.timePicker.minutes\")}\n </li>\n )}\n {showTimeLabels.second && (\n <li className=\"neeto-ui-date-input-custom-panel__header-col\">\n {getLocale(i18n, t, \"neetoui.timePicker.seconds\")}\n </li>\n )}\n </ul>\n </div>\n <div className=\"neeto-ui-date-input-custom-panel__body\">\n {originalPanel}\n </div>\n </div>\n );\n\n return (\n <ConfigProvider\n theme={{\n token: { ...ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES },\n components: {\n DatePicker: {\n // Global overrides\n colorBgElevated: \"rgb(var(--neeto-ui-white))\",\n colorPrimary: \"rgb(var(--neeto-ui-primary-500))\",\n colorPrimaryHover: \"rgb(var(--neeto-ui-primary-600))\",\n colorBorder: \"rgb(var(--neeto-ui-gray-300))\",\n colorLink: \"rgb(var(--neeto-ui-primary-500))\",\n colorLinkHover: \"rgb(var(--neeto-ui-primary-600))\",\n colorText: \"rgb(var(--neeto-ui-gray-800))\",\n colorTextDisabled: \"rgb(var(--neeto-ui-gray-500))\",\n colorTextPlaceholder: \"rgb(var(--neeto-ui-gray-400))\",\n controlItemBgActive: \"rgb(var(--neeto-ui-primary-800))\",\n controlItemBgHover: \"rgb(var(--neeto-ui-gray-100))\",\n controlOutline: \"rgb(var(--neeto-ui-gray-300))\",\n },\n },\n }}\n >\n <div className=\"neeto-ui-input__wrapper\">\n {label && <Label {...{ required, ...labelProps }}>{label}</Label>}\n <Component\n hourStep={interval.hourStep}\n minuteStep={interval.minuteStep}\n ref={timePickerRef}\n secondStep={interval.secondStep}\n className={classnames(\"neeto-ui-time-input\", [className], {\n \"neeto-ui-time-input--small\": size === \"small\",\n \"neeto-ui-time-input--medium\": size === \"medium\",\n \"neeto-ui-time-input--large\": size === \"large\",\n \"neeto-ui-time-input--disabled\": disabled,\n \"neeto-ui-time-input--naked\": nakedInput,\n \"neeto-ui-time-input--error\": error,\n })}\n popupClassName={classnames(\"neeto-ui-date-time-dropdown\", [\n dropdownClassName, // Will be removed in the next major version\n popupClassName,\n ])}\n onChange={handleOnChange}\n {...{ disabled, format, ...otherProps, panelRender }}\n defaultValue={convertToDayjsObjects(defaultValue)}\n mode={undefined}\n picker=\"time\"\n placeholder={placeholder ?? format}\n value={convertToDayjsObjects(value)}\n suffixIcon={\n timezone ? <Tag label={timezone} /> : <Clock size={16} />\n }\n />\n {!!error && (\n <p\n className=\"neeto-ui-input__error\"\n data-cy={`${hyphenize(label)}-input-error`}\n id={errorId}\n >\n {error}\n </p>\n )}\n </div>\n </ConfigProvider>\n );\n }\n);\n\nTimePicker.displayName = \"TimePicker\";\n\nTimePicker.propTypes = {\n /**\n * To provide external classnames to TimePicker component.\n */\n className: PropTypes.string,\n /**\n * To set the text to be displayed above the TimePicker.\n */\n label: PropTypes.string,\n /**\n * To specify the label props to be passed to the Label component.\n */\n labelProps: PropTypes.object,\n /**\n * To set the size of the TimePicker.\n */\n size: PropTypes.oneOf(Object.values(INPUT_SIZES)),\n /**\n * To set the TimePicker as naked Input field.\n */\n nakedInput: PropTypes.bool,\n /**\n * To specify the error message to be shown in the TimePicker.\n */\n error: PropTypes.string,\n /**\n * To specify the time format.\n */\n format: PropTypes.string,\n /**\n * To specify the timezone.\n */\n timezone: PropTypes.string,\n /**\n * To set the placeholder text for the TimePicker, if not provided, the format will be used as placeholder.\n */\n placeholder: PropTypes.string,\n /**\n * To specify the time interval.\n */\n interval: PropTypes.object,\n /**\n * For `TimeInput`,(time, timeString) => {} <br />\n * For `TimeRange`, (time, [startTime, endTime]) => {}\n */\n onChange: PropTypes.func,\n /**\n * To specify the type of the TimePicker.\n */\n type: PropTypes.oneOf([\"time\", \"range\"]),\n /**\n * To set TimePicker as disabled.\n */\n disabled: PropTypes.bool,\n /**\n * To specify the values to be displayed inside the TimePicker.\n */\n value: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),\n /**\n * To specify custom classnames to be applied to the TimePicker dropdown.\n */\n dropdownClassName: PropTypes.string,\n /**\n * To specify the default values to be displayed inside the TimePicker.\n */\n defaultValue: PropTypes.oneOfType([PropTypes.array, PropTypes.object]),\n /**\n * To specify whether the Time picker is required or not.\n */\n required: PropTypes.bool,\n};\n\nexport default TimePicker;\n"],"names":["IconOverride","_ref","Icon","icon","React","createElement","className","size","Provider","children","_ConfigProvider","theme","token","_objectSpread","ANT_DESIGN_GLOBAL_TOKEN_OVERRIDES","components","DatePicker","activeBg","activeBorderColor","addonBg","cellActiveWithRangeBg","cellBgDisabled","cellHoverBg","cellHoverWithRangeBg","cellRangeBorderColor","hoverBg","hoverBorderColor","colorBgContainer","colorBgElevated","colorPrimary","colorPrimaryBorder","colorPrimaryHover","colorBorder","colorError","colorErrorHover","colorErrorOutline","colorFillAlter","colorIcon","colorIconHover","colorLink","colorLinkHover","colorLinkActive","colorSplit","colorText","colorTextDescription","colorTextDisabled","colorTextHeading","colorTextLightSolid","colorTextPlaceholder","colorTextQuaternary","colorWarning","colorWarningHover","colorWarningOutline","controlItemBgActive","controlItemBgHover","controlOutline","cellHeight","padding","Today","onClick","_useTranslation","useTranslation","t","i18n","getLocale","getAllowedDate","date","minDate","maxDate","isPresent","isBefore","isAfter","getAllowedRange","dates","map","item","getAllowed","Array","isArray","formattedString","dateFormat","format","INPUT_SIZES","small","medium","large","RangePicker","_DatePicker","datePickerTypes","range","forwardRef","ref","_ref$className","_ref$label","label","_ref$size","_ref$dropdownClassNam","dropdownClassName","_ref$popupClassName","popupClassName","_ref$dateFormat","_ref$timeFormat","timeFormat","placeholder","_ref$onChange","onChange","noop","_ref$onOk","onOk","_ref$picker","picker","_ref$mode","mode","inputMode","_ref$showTime","showTime","_ref$type","type","_ref$nakedInput","nakedInput","_ref$error","error","defaultValue","inputValue","value","labelProps","_ref$required","required","_ref$allowClear","allowClear","timePickerProps","timezone","otherProps","_objectWithoutProperties","_excluded","_useState","useState","_useState2","_slicedToArray","setValue","_useState3","_useState4","setMode","_useState5","_useState6","pickerValue","setPickerValue","id","useId","datePickerRef","useSyncedRef","Component","toLowerCase","concat","errorId","useEffect","handleOnChange","dateString","isNotPresent","allowed","renderExtraFooter","setTimeout","document","querySelector","click","Label","_extends","hyphenize","convertToDayjsObjects","classnames","disabled","onPanelChange","nextIcon","Right","prevIcon","Left","superNextIcon","superPrevIcon","clearIcon","Close","suffixIcon","Tag","Calendar","displayName","TIME_PICKER_TYPES","time","TIME_PICKER_INTERVAL","hourStep","minuteStep","secondStep","TimePicker","_ref$format","_ref$interval","interval","_ref$disabled","timePickerRef","showTimeLabels","includes","second","minute","hour","timeString","panelRender","originalPanel","undefined","Clock"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,IAAMA,YAAY,GAAG,SAAfA,YAAYA,CAAAC,IAAA,EAAA;AAAA,EAAA,IAAYC,IAAI,GAAAD,IAAA,CAAVE,IAAI,CAAA;EAAA,oBAC1BC,cAAA,CAAAC,aAAA,CAAA,MAAA,EAAA;AAAMC,IAAAA,SAAS,EAAC,yFAAA;AAAyF,GAAA,eACvGF,cAAA,CAAAC,aAAA,CAACH,IAAI,EAAA;AAACI,IAAAA,SAAS,EAAC,oBAAoB;AAACC,IAAAA,IAAI,EAAE,EAAA;AAAG,GAAA,CAAG,CAC5C,CAAA;AAAA,CACR;;;;ACAD,IAAMC,QAAQ,GAAG,SAAXA,QAAQA,CAAAP,IAAA,EAAA;AAAA,EAAA,IAAMQ,QAAQ,GAAAR,IAAA,CAARQ,QAAQ,CAAA;AAAA,EAAA,oBAC1BL,cAAA,CAAAC,aAAA,CAAAK,eAAA,EAAA;AACEC,IAAAA,KAAK,EAAE;AACLC,MAAAA,KAAK,EAAAC,eAAA,CAAO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AA,CAAA,EAAA;AAClDhF,IAAAA,YAAY,EAAE8C,qBAAqB,CAAC9C,YAAY,CAAE;AAClDV,IAAAA,IAAI,EAAE4F,SAAU;AAChB9F,IAAAA,MAAM,EAAC,MAAM;AACbP,IAAAA,WAAW,EAAEA,WAAW,KAAA,IAAA,IAAXA,WAAW,KAAXA,KAAAA,CAAAA,GAAAA,WAAW,GAAItB,MAAO;AACnC2C,IAAAA,KAAK,EAAE4C,qBAAqB,CAAC5C,KAAK,CAAE;AACpCwD,IAAAA,UAAU,EACRjD,QAAQ,gBAAG/H,cAAA,CAAAC,aAAA,CAACgL,GAAG,EAAA;AAACvF,MAAAA,KAAK,EAAEqC,QAAAA;AAAS,KAAA,CAAG,gBAAG/H,cAAA,CAAAC,aAAA,CAACwM,KAAK,EAAA;AAACtM,MAAAA,IAAI,EAAE,EAAA;AAAG,KAAA,CAAA;AACvD,GAAA,CAAA,CACD,EACD,CAAC,CAACkH,KAAK,iBACNrH,cAAA,CAAAC,aAAA,CAAA,GAAA,EAAA;AACEC,IAAAA,SAAS,EAAC,uBAAuB;AACjC,IAAA,SAAA,EAAA,EAAA,CAAAmJ,MAAA,CAAYc,SAAS,CAACzE,KAAK,CAAC,EAAe,cAAA,CAAA;AAC3CqD,IAAAA,EAAE,EAAEO,OAAAA;GAEHjC,EAAAA,KAAK,CAET,CACG,CACS,CAAA;AAErB,CAAC,EACF;AAEDqE,UAAU,CAACP,WAAW,GAAG,YAAY;;;;"}
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ export { default as Button } from './Button.js';
6
6
  export { default as Callout } from './Callout.js';
7
7
  export { default as Checkbox } from './Checkbox.js';
8
8
  export { default as ColorPicker } from './ColorPicker.js';
9
- export { D as DatePicker, i as DateTimePicker, T as TimePicker } from './index-266ce6a6.js';
9
+ export { D as DatePicker, T as TimePicker } from './index-7862413e.js';
10
10
  export { default as Dropdown } from './Dropdown.js';
11
11
  export { default as Input } from './Input.js';
12
12
  export { default as Kbd } from './Kbd.js';
@@ -28,7 +28,6 @@ export { default as Tab } from './Tab.js';
28
28
  export { default as Table } from './Table.js';
29
29
  export { default as Tag } from './Tag.js';
30
30
  export { T as Textarea } from './Textarea-f6ad0ef9.js';
31
- export { default as TimePickerInput } from './TimePickerInput.js';
32
31
  export { default as Toastr } from './Toastr.js';
33
32
  export { default as Tooltip } from './Tooltip.js';
34
33
  export { default as TranslationProvider } from './TranslationProvider.js';
@@ -69,7 +68,6 @@ import 'react-i18next';
69
68
  import '@tippyjs/react';
70
69
  import 'tippy.js';
71
70
  import 'antd/lib/date-picker';
72
- import 'dayjs/plugin/customParseFormat';
73
71
  import '@babel/runtime/helpers/toConsumableArray';
74
72
  import '@babel/runtime/helpers/esm/objectSpread2';
75
73
  import '@babel/runtime/helpers/esm/slicedToArray';
@@ -104,8 +102,6 @@ import './index-283bc6a6.js';
104
102
  import '@babel/runtime/helpers/esm/assertThisInitialized';
105
103
  import '@babel/runtime/helpers/toArray';
106
104
  import './useQueryParams-dcb34865.js';
107
- import '@wojtekmaj/react-timerange-picker';
108
- import 'react-time-picker';
109
105
  import 'react-toastify';
110
106
  import 'linkify-react';
111
107
  import 'antd/lib/tree-select';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/index.d.ts CHANGED
@@ -7,7 +7,6 @@ export * from "./types/Callout";
7
7
  export * from "./types/Checkbox";
8
8
  export * from "./types/ColorPicker";
9
9
  export * from "./types/DatePicker";
10
- export * from "./types/DateTimePicker";
11
10
  export * from "./types/Dropdown";
12
11
  export * from "./types/MultiEmailInput";
13
12
  export * from "./types/Input";
@@ -30,7 +29,6 @@ export * from "./types/Table";
30
29
  export * from "./types/Tag";
31
30
  export * from "./types/Textarea";
32
31
  export * from "./types/TimePicker";
33
- export * from "./types/TimePickerInput";
34
32
  export * from "./types/Toastr";
35
33
  export * from "./types/Tooltip";
36
34
  export * from "./types/Tree";
@@ -46,7 +44,6 @@ export { default as Callout } from "./types/Callout";
46
44
  export { default as Checkbox } from "./types/Checkbox";
47
45
  export { default as ColorPicker } from "./types/ColorPicker";
48
46
  export { default as DatePicker } from "./types/DatePicker";
49
- export { default as DateTimePicker } from "./types/DateTimePicker";
50
47
  export { default as Dropdown } from "./types/Dropdown";
51
48
  export { default as MultiEmailInput } from "./types/MultiEmailInput";
52
49
  export { default as Input } from "./types/Input";
@@ -69,7 +66,6 @@ export { default as Table } from "./types/Table";
69
66
  export { default as Tag } from "./types/Tag";
70
67
  export { default as Textarea } from "./types/Textarea";
71
68
  export { default as TimePicker } from "./types/TimePicker";
72
- export { default as TimePickerInput } from "./types/TimePickerInput";
73
69
  export { default as Toastr } from "./types/Toastr";
74
70
  export { default as Tooltip } from "./types/Tooltip";
75
71
  export { default as Tree } from "./types/Tree";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigbinary/neetoui",
3
- "version": "7.1.0",
3
+ "version": "8.0.0",
4
4
  "author": "BigBinary",
5
5
  "license": "MIT",
6
6
  "description": "neetoUI drives the experience at all neeto products",
@@ -1,96 +0,0 @@
1
- import '@babel/runtime/helpers/extends';
2
- import '@babel/runtime/helpers/defineProperty';
3
- import '@babel/runtime/helpers/slicedToArray';
4
- import 'react';
5
- import 'classnames';
6
- import 'dayjs';
7
- import 'dayjs/plugin/customParseFormat';
8
- import '@bigbinary/neeto-cist';
9
- export { i as default } from './index-266ce6a6.js';
10
- import './Label.js';
11
- import './TimePickerInput.js';
12
- import './useId-c1d20bba.js';
13
- import 'react-router-dom';
14
- import '@bigbinary/neeto-hotkeys';
15
- import './overlayManager.js';
16
- import './index-9040fef3.js';
17
- import 'qs';
18
- import 'antd/lib/config-provider';
19
- import '@babel/runtime/helpers/objectWithoutProperties';
20
- import '@bigbinary/neeto-icons';
21
- import 'react-i18next';
22
- import './Accordion.js';
23
- import 'ramda';
24
- import 'framer-motion';
25
- import './ActionDropdown.js';
26
- import './Button.js';
27
- import './Tooltip.js';
28
- import '@tippyjs/react';
29
- import 'tippy.js';
30
- import './Dropdown.js';
31
- import '@babel/runtime/helpers/classCallCheck';
32
- import '@babel/runtime/helpers/createClass';
33
- import 'dayjs/plugin/localeData';
34
- import 'dayjs/plugin/utc';
35
- import 'dayjs/plugin/weekday';
36
- import 'dayjs/plugin/weekOfYear';
37
- import './en-ffa387d9.js';
38
- import './Modal.js';
39
- import './useOverlayManager-c4efbaee.js';
40
- import '@babel/runtime/helpers/esm/extends';
41
- import '@babel/runtime/helpers/esm/objectWithoutPropertiesLoose';
42
- import '@babel/runtime/helpers/esm/inheritsLoose';
43
- import './index-283bc6a6.js';
44
- import 'react-dom';
45
- import '@babel/runtime/helpers/esm/assertThisInitialized';
46
- import './Typography.js';
47
- import 'avvvatars-react';
48
- import './Checkbox.js';
49
- import './Popover.js';
50
- import '@babel/runtime/helpers/asyncToGenerator';
51
- import '@babel/runtime/regenerator';
52
- import 'react-colorful';
53
- import './tinycolor-282c618c.js';
54
- import 'antd/lib/date-picker';
55
- import './Input.js';
56
- import './MultiEmailInput.js';
57
- import '@babel/runtime/helpers/toConsumableArray';
58
- import './react-select-creatable.esm-ad71b0c0.js';
59
- import '@babel/runtime/helpers/esm/objectSpread2';
60
- import '@babel/runtime/helpers/esm/classCallCheck';
61
- import '@babel/runtime/helpers/esm/createClass';
62
- import '@babel/runtime/helpers/esm/inherits';
63
- import '@babel/runtime/helpers/esm/createSuper';
64
- import '@babel/runtime/helpers/esm/toConsumableArray';
65
- import '@babel/runtime/helpers/esm/taggedTemplateLiteral';
66
- import '@babel/runtime/helpers/esm/objectWithoutProperties';
67
- import '@babel/runtime/helpers/esm/slicedToArray';
68
- import '@babel/runtime/helpers/esm/typeof';
69
- import '@babel/runtime/helpers/esm/defineProperty';
70
- import '@babel/runtime/helpers/objectSpread2';
71
- import '@babel/runtime/helpers/inherits';
72
- import '@babel/runtime/helpers/createSuper';
73
- import '@babel/runtime/helpers/taggedTemplateLiteral';
74
- import '@babel/runtime/helpers/typeof';
75
- import '@babel/runtime/helpers/toArray';
76
- import './Tag.js';
77
- import './Textarea-f6ad0ef9.js';
78
- import './Pane.js';
79
- import './Radio.js';
80
- import 'antd/lib/slider';
81
- import './Switch.js';
82
- import './Tab.js';
83
- import 'antd/lib/table';
84
- import 'react-drag-listview';
85
- import './HeaderCellMenu-5ba3873f.js';
86
- import 'react-resizable';
87
- import './Toastr.js';
88
- import 'i18next';
89
- import 'react-toastify';
90
- import 'linkify-react';
91
- import 'antd/lib/tree';
92
- import './TreeSelect.js';
93
- import 'antd/lib/tree-select';
94
- import '@wojtekmaj/react-timerange-picker';
95
- import 'react-time-picker';
96
- //# sourceMappingURL=DateTimePicker.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DateTimePicker.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}