@loadsmart/loadsmart-ui 5.15.2 → 5.16.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.
Files changed (82) hide show
  1. package/dist/DragDropFile.context-0f0ede42.js +2 -0
  2. package/dist/DragDropFile.context-0f0ede42.js.map +1 -0
  3. package/dist/common/BackButton/BackButton.d.ts +0 -1
  4. package/dist/common/CloseButton/CloseButton.d.ts +0 -1
  5. package/dist/components/Accordion/Accordion.stories.d.ts +0 -1
  6. package/dist/components/Banner/Banner.stories.d.ts +0 -1
  7. package/dist/components/Button/Button.stories.d.ts +0 -1
  8. package/dist/components/Calendar/Calendar.d.ts +0 -1
  9. package/dist/components/Calendar/Calendar.stories.d.ts +0 -1
  10. package/dist/components/Calendar/PickerModeToggle.d.ts +0 -1
  11. package/dist/components/Calendar/Pickers/DayPicker.d.ts +0 -1
  12. package/dist/components/Calendar/Pickers/MonthPicker.d.ts +0 -1
  13. package/dist/components/Calendar/Pickers/YearPicker.d.ts +0 -1
  14. package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -1
  15. package/dist/components/DatePicker/DatePicker.stories.d.ts +0 -1
  16. package/dist/components/DatePicker/DateRangePicker.d.ts +0 -1
  17. package/dist/components/DatePicker/DateRangePicker.stories.d.ts +0 -1
  18. package/dist/components/DatePicker/useDatePicker.d.ts +0 -2
  19. package/dist/components/DatePicker/useDateRangePicker.d.ts +0 -3
  20. package/dist/components/Dialog/Dialog.stories.d.ts +0 -1
  21. package/dist/components/DragDropFile/DragDropFile.d.ts +0 -1
  22. package/dist/components/DragDropFile/DragDropFile.stories.d.ts +0 -1
  23. package/dist/components/DragDropFile/components/Wrapper.d.ts +0 -1
  24. package/dist/components/DragDropFile/styles.d.ts +0 -1
  25. package/dist/components/EmptyState/EmptyState.stories.d.ts +0 -1
  26. package/dist/components/ErrorMessage/ErrorMessage.d.ts +0 -1
  27. package/dist/components/ErrorMessage/ErrorMessage.stories.d.ts +0 -1
  28. package/dist/components/Icon/Icon.d.ts +0 -1
  29. package/dist/components/IconFactory/IconFactory.d.ts +0 -1
  30. package/dist/components/Label/Label.stories.d.ts +0 -1
  31. package/dist/components/Layout/Layout.stories.d.ts +0 -1
  32. package/dist/components/Link/Link.stories.d.ts +0 -1
  33. package/dist/components/Loaders/LoadingDots.d.ts +0 -1
  34. package/dist/components/Loaders/Spinner.d.ts +0 -1
  35. package/dist/components/Modal/Modal.stories.d.ts +0 -1
  36. package/dist/components/Pagination/Pagination.d.ts +0 -1
  37. package/dist/components/Pagination/PaginationItem.d.ts +0 -1
  38. package/dist/components/ProgressBar/ProgressBar.stories.d.ts +0 -1
  39. package/dist/components/Radio/Radio.stories.d.ts +0 -1
  40. package/dist/components/Section/Sections.stories.d.ts +0 -1
  41. package/dist/components/Select/SelectCreatableOption.d.ts +0 -1
  42. package/dist/components/Select/SelectEmpty.d.ts +0 -1
  43. package/dist/components/Select/SelectOption.d.ts +0 -1
  44. package/dist/components/SideNavigation/Separator/Separator.d.ts +0 -1
  45. package/dist/components/SideNavigation/SideNavigation.stories.d.ts +0 -1
  46. package/dist/components/Steps/ProgressSteps/ProgressSteps.d.ts +0 -1
  47. package/dist/components/Table/Table.d.ts +0 -1
  48. package/dist/components/Table/Table.stories.d.ts +0 -1
  49. package/dist/components/Table/TableSortHandle.d.ts +0 -1
  50. package/dist/components/TablePagination/RowsPerPage.d.ts +0 -1
  51. package/dist/components/TablePagination/TablePagination.d.ts +0 -1
  52. package/dist/components/TablePagination/TablePaginationActions.d.ts +0 -1
  53. package/dist/components/Tabs/Tabs.stories.d.ts +0 -1
  54. package/dist/components/Tag/Tag.stories.d.ts +0 -1
  55. package/dist/components/TextField/TextField.stories.d.ts +0 -1
  56. package/dist/components/Textarea/Textarea.stories.d.ts +0 -1
  57. package/dist/components/Toast/Toast.stories.d.ts +0 -1
  58. package/dist/components/ToggleGroup/Toggle.d.ts +0 -1
  59. package/dist/components/ToggleGroup/ToggleGroup.d.ts +0 -1
  60. package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -1
  61. package/dist/components/TopNavigation/OpenSideNavButton/OpenSideNavButton.d.ts +0 -1
  62. package/dist/components/TopNavigation/TopNavigation.stories.d.ts +0 -1
  63. package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +0 -2
  64. package/dist/index.js +448 -448
  65. package/dist/index.js.map +1 -1
  66. package/dist/miranda-compatibility.theme-4cecc6cf.js +1 -1
  67. package/dist/miranda-compatibility.theme-4cecc6cf.js.map +1 -1
  68. package/dist/prop-a330029f.js.map +1 -1
  69. package/dist/testing/index.js +1 -1
  70. package/dist/testing/index.js.map +1 -1
  71. package/dist/testing/renderWithDragDropFileProvider/renderWithDragDropFileProvider.d.ts +2 -1
  72. package/dist/theming/index.js.map +1 -1
  73. package/dist/toArray-b56541b4.js.map +1 -1
  74. package/dist/utils/toolset/highlightMatch.d.ts +0 -1
  75. package/package.json +218 -207
  76. package/src/components/Dropdown/Dropdown.test.tsx +4 -2
  77. package/src/components/Table/Table.test.tsx +2 -2
  78. package/src/components/TablePagination/TablePagination.test.tsx +2 -2
  79. package/src/testing/renderWithDragDropFileProvider/renderWithDragDropFileProvider.tsx +2 -1
  80. package/dist/DragDropFile.context-cf460901.js +0 -16
  81. package/dist/DragDropFile.context-cf460901.js.map +0 -1
  82. package/dist/addons/Theme/register.d.ts +0 -1
@@ -0,0 +1,2 @@
1
+ "use strict";var e=require("react");function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function o(e){return this instanceof o?(this.v=e,this):new o(e)}const i=e.createContext(void 0);exports.DragDropFileContext=i,exports.DragDropFileProvider=({fileList:t,onFilesAdded:r,onFileRemoved:o,onRetryUpload:a,children:u})=>{const c=e.useCallback(((e,n)=>{o([...t.slice(0,n),...t.slice(n+1)],e,n)}),[t]),l=e.useMemo((()=>({fileList:t,onFilesAdded:r,onRemoveFile:c,onRetryUpload:a})),[t,r,c,a]);return n.default.createElement(i.Provider,{value:l},u)},exports.__asyncGenerator=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,i=n.apply(e,t||[]),a=[];return r={},u("next"),u("throw"),u("return"),r[Symbol.asyncIterator]=function(){return this},r;function u(e){i[e]&&(r[e]=function(t){return new Promise((function(n,r){a.push([e,t,n,r])>1||c(e,t)}))})}function c(e,t){try{(n=i[e](t)).value instanceof o?Promise.resolve(n.value.v).then(l,s):f(a[0][2],n)}catch(e){f(a[0][3],e)}var n}function l(e){c("next",e)}function s(e){c("throw",e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}},exports.__asyncValues=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=r(e),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){(function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)})(r,o,(t=e[n](t)).done,t.value)}))}}},exports.__await=o,exports.__awaiter=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}c((r=r.apply(e,t||[])).next())}))},exports.__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},exports.useDragDropFileContext=()=>{const t=e.useContext(i);if(!t)throw new Error("useDragDropFileContext must be used within an DragDropFileProvider");return t};
2
+ //# sourceMappingURL=DragDropFile.context-0f0ede42.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DragDropFile.context-0f0ede42.js","sources":["../node_modules/tslib/tslib.es6.js","../src/components/DragDropFile/DragDropFile.context.tsx"],"sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import React, { createContext, useContext, useCallback, useMemo } from 'react'\n\nimport type { DragDropFileContextValue, DragDropFileProviderProps, FileWithStatus } from './types'\n\nexport const DragDropFileContext = createContext<DragDropFileContextValue | undefined>(undefined)\n\nexport const DragDropFileProvider = ({\n fileList,\n onFilesAdded,\n onFileRemoved,\n onRetryUpload,\n children,\n}: DragDropFileProviderProps): JSX.Element => {\n const onRemoveFile = useCallback(\n (removedItem: FileWithStatus, index: number) => {\n onFileRemoved([...fileList.slice(0, index), ...fileList.slice(index + 1)], removedItem, index)\n },\n [fileList]\n )\n\n const contextValue = useMemo(() => ({ fileList, onFilesAdded, onRemoveFile, onRetryUpload }), [\n fileList,\n onFilesAdded,\n onRemoveFile,\n onRetryUpload,\n ])\n\n return (\n <DragDropFileContext.Provider value={contextValue}>{children}</DragDropFileContext.Provider>\n )\n}\n\nexport const useDragDropFileContext = (): DragDropFileContextValue => {\n const context = useContext(DragDropFileContext)\n\n if (!context) {\n throw new Error('useDragDropFileContext must be used within an DragDropFileProvider')\n }\n\n return context\n}\n"],"names":["__values","o","s","Symbol","iterator","m","i","call","length","next","value","done","TypeError","__await","v","this","DragDropFileContext","createContext","undefined","fileList","onFilesAdded","onFileRemoved","onRetryUpload","children","onRemoveFile","useCallback","removedItem","index","slice","contextValue","useMemo","React","createElement","Provider","thisArg","_arguments","generator","asyncIterator","g","apply","q","verb","n","Promise","a","b","push","resume","r","resolve","then","fulfill","reject","settle","e","f","shift","d","P","fulfilled","step","rejected","result","t","p","Object","prototype","hasOwnProperty","indexOf","getOwnPropertySymbols","propertyIsEnumerable","context","useContext","Error"],"mappings":"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"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ButtonProps } from "../../components/Button";
3
2
  export declare type BackButtonProps = Omit<ButtonProps, 'children'>;
4
3
  declare function BackButton({ scale, ...others }: BackButtonProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ButtonProps } from "../../components/Button";
3
2
  export interface CloseButtonProps extends ButtonProps {
4
3
  size?: string | number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Meta } from '@storybook/react/types-6-0';
3
2
  import type { AccordionProps } from './Accordion';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Meta } from '@storybook/react/types-6-0';
3
2
  import type { BannerProps, BannerActionProps } from './Banner';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Meta } from '@storybook/react/types-6-0';
3
2
  import type { BackButtonProps } from '../../common/BackButton';
4
3
  import type { ButtonProps } from './Button';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { CalendarProps, GenericCalendarProps } from './Calendar.types';
3
2
  /**
4
3
  * Implementation based on
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Story, Meta } from '@storybook/react/types-6-0';
3
2
  import type { CalendarDate } from './Date.helper';
4
3
  import type { CalendarProps } from './Calendar.types';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ButtonProps } from "../Button";
3
2
  declare function PickerModeToggle(props: Omit<ButtonProps & {
4
3
  expanded: boolean;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { CalendarPickerProps } from '../Calendar.types';
3
2
  export declare const WEEKDAYS: string[];
4
3
  export declare const formatter: import("../DateFormat.helper").DateFormat;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { CalendarPickerProps } from '../Calendar.types';
3
2
  declare function CalendarMonthPicker({ calendar, mode }: CalendarPickerProps): JSX.Element;
4
3
  export default CalendarMonthPicker;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { CalendarPickerProps } from '../Calendar.types';
3
2
  declare function CalendarYearPicker({ calendar, mode }: CalendarPickerProps): JSX.Element;
4
3
  export default CalendarYearPicker;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { CheckboxProps } from './Checkbox';
3
2
  import type { Meta } from '@storybook/react/types-6-0';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Story, Meta } from '@storybook/react/types-6-0';
3
2
  import type { DatePickerProps } from './DatePicker.types';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DateRangePickerProps } from './DatePicker.types';
3
2
  export declare const formatter: import("../Calendar").DateFormat;
4
3
  declare function DateRangePicker(props: DateRangePickerProps): JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Story, Meta } from '@storybook/react/types-6-0';
3
2
  import type { DateRangePickerProps } from './DatePicker.types';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -307,7 +307,6 @@ declare function useDatePicker(props: DatePickerProps): {
307
307
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
308
308
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
309
309
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
310
- css?: import("@emotion/core").InterpolationWithTheme<any>;
311
310
  scale?: "small" | "default" | "large" | undefined;
312
311
  status?: import("../../utils/types/Status").default | undefined;
313
312
  scheme?: import("../../utils/types/ColorScheme").default | undefined;
@@ -578,7 +577,6 @@ declare function useDatePicker(props: DatePickerProps): {
578
577
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
579
578
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
580
579
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
581
- css?: import("@emotion/core").InterpolationWithTheme<any>;
582
580
  };
583
581
  };
584
582
  export default useDatePicker;
@@ -299,7 +299,6 @@ declare function useDateRangePicker(props: DateRangePickerProps): {
299
299
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
300
300
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
301
301
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
302
- css?: import("@emotion/core").InterpolationWithTheme<any>;
303
302
  scale?: "small" | "default" | "large" | undefined;
304
303
  status?: import("../../utils/types/Status").default | undefined;
305
304
  scheme?: import("../../utils/types/ColorScheme").default | undefined;
@@ -596,7 +595,6 @@ declare function useDateRangePicker(props: DateRangePickerProps): {
596
595
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLInputElement> | undefined;
597
596
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
598
597
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLInputElement> | undefined;
599
- css?: import("@emotion/core").InterpolationWithTheme<any>;
600
598
  scale?: "small" | "default" | "large" | undefined;
601
599
  status?: import("../../utils/types/Status").default | undefined;
602
600
  scheme?: import("../../utils/types/ColorScheme").default | undefined;
@@ -867,7 +865,6 @@ declare function useDateRangePicker(props: DateRangePickerProps): {
867
865
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLDivElement> | undefined;
868
866
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
869
867
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
870
- css?: import("@emotion/core").InterpolationWithTheme<any>;
871
868
  };
872
869
  getDoneProps: () => {
873
870
  onClick: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Meta } from '@storybook/react/types-6-0';
3
2
  import type { DialogProps } from './Dialog';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const DragDropFile: {
3
2
  (): null;
4
3
  Wrapper: ({ children, ...props }: Partial<import("../..").StackProps>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Meta } from '@storybook/react/types-6-0';
3
2
  import type { DropZoneProps } from './types';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { WrapperProps } from '../types';
3
2
  /**
4
3
  * This is a `Stack` component customized with the needed spacing between the DragDropFile inner components
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StackProps, Stack } from "../Layout/Stack";
3
2
  import type { DropZoneProps } from './types';
4
3
  export declare const DragDropFileWrapper: import("styled-components").StyledComponent<typeof Stack, any, {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Meta } from '@storybook/react/types-6-0';
3
2
  import type { EmptyStateProps, EmptyStateWithIllustrationProps, EmptyStateWithIconProps } from './EmptyState.types';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TextProps } from "../Text";
3
2
  export declare type ErrorMessageProps = Partial<TextProps>;
4
3
  declare const ErrorMessage: ({ children, ...props }: ErrorMessageProps) => JSX.Element | null;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Meta } from '@storybook/react/types-6-0';
3
2
  import { ErrorMessageProps } from './ErrorMessage';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { IconProps as GenericIconProps } from '../IconFactory';
3
2
  declare const icons: {
4
3
  'burguer-menu': JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ThemeToken } from "../../theming";
3
2
  declare type ThemeColors = keyof {
4
3
  [ColorToken in ThemeToken as ColorToken extends `color-${infer Token}` ? Token : never]: ColorToken;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { LabelProps } from './Label';
3
2
  import type { Meta } from '@storybook/react/types-6-0';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Meta } from '@storybook/react/types-6-0';
3
2
  import type { BoxProps } from './Box';
4
3
  import type { SidebarProps } from './Sidebar';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { LinkProps } from './Link';
3
2
  import type { Meta } from '@storybook/react/types-6-0';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface LoadingDotsProps {
3
2
  size?: number;
4
3
  variant?: 'dark' | 'light';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface SpinnerProps {
3
2
  title?: string;
4
3
  size: number;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Meta } from '@storybook/react/types-6-0';
3
2
  import type { ModalProps } from './Modal';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { PaginationProps } from './Pagination.types';
3
2
  declare function Pagination(props: PaginationProps): JSX.Element;
4
3
  export default Pagination;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { PaginationItemProps } from './Pagination.types';
3
2
  declare function PaginationItem(props: PaginationItemProps): JSX.Element;
4
3
  export default PaginationItem;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ProgressBarProps } from './ProgressBar';
3
2
  import type { Meta } from '@storybook/react/types-6-0';
4
3
  import Status from "../../utils/types/Status";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { RadioProps } from './Radio';
3
2
  import type { Meta } from '@storybook/react/types-6-0';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Meta } from '@storybook/react/types-6-0';
3
2
  import type { SectionProps } from './Section';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { SelectCreatableOptionProps } from './Select.types';
3
2
  declare function SelectCreatableOption({ children, ...rest }: SelectCreatableOptionProps): JSX.Element;
4
3
  export default SelectCreatableOption;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { SelectEmptyProps } from './Select.types';
3
2
  declare function SelectEmpty({ children, ...others }: SelectEmptyProps): JSX.Element;
4
3
  export default SelectEmpty;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { SelectOptionProps } from './Select.types';
3
2
  declare function SelectOption({ children, value, leading, trailing, ...rest }: SelectOptionProps): JSX.Element;
4
3
  export default SelectOption;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export interface SeparatorProps {
3
2
  className?: string;
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Meta } from '@storybook/react/types-6-0';
3
2
  import type { SideNavigationProps } from './SideNavigation';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Step } from '../Steps.types';
3
2
  export interface StepsProgressProps {
4
3
  steps: Array<Step>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { useSelection } from './Selection';
3
2
  import TableSortHandle from './TableSortHandle';
4
3
  import type { TableProps, TableSectionProps, TableRowProps, TableCellProps, TableCaptionProps, TableSelectionProps, SelectionCellProps, TablePickerItemProps, TablePickerProps, ExpandableTableRowProps } from './Table.types';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Meta } from '@storybook/react/types-6-0';
3
2
  import type { TableProps } from './Table.types';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { SortDirection } from './useSortBy.types';
3
2
  import type { BoxProps } from "../Layout/Box";
4
3
  interface TableSortHandleProps extends BoxProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { RowsPerPageProps } from './TablePagination.types';
3
2
  declare function RowsPerPage({ page, rowsPerPage, onRowsPerPageChange, labelRowsPerPage, count, rowsPerPageOptions, disabled, }: RowsPerPageProps): JSX.Element;
4
3
  export default RowsPerPage;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { TablePaginationProps } from './TablePagination.types';
3
2
  declare function TablePagination(props: TablePaginationProps): JSX.Element;
4
3
  export default TablePagination;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { TablePaginationActionsProps } from "./TablePagination.types";
3
2
  import { IconProps } from "../Icon";
4
3
  export declare const ActionIcon: import("styled-components").StyledComponent<(props: import("../IconFactory").IconProps<import("../IconFactory").IconMapping>) => JSX.Element, any, {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { Meta } from '@storybook/react/types-6-0';
3
2
  import { TabsProps } from './Tabs';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TagProps } from './Tag';
3
2
  import type { Meta } from '@storybook/react/types-6-0';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TextFieldProps } from './TextField';
3
2
  import type { Meta } from '@storybook/react/types-6-0';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TextareaProps } from './Textarea';
3
2
  import type { Meta } from '@storybook/react/types-6-0';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ToastProps } from './Toast';
3
2
  import type { Meta } from '@storybook/react/types-6-0';
4
3
  import Status from "../../utils/types/Status";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ToggleGroupOptionProps } from './ToggleGroup.types';
3
2
  declare function Toggle({ value, children, disabled, ...others }: ToggleGroupOptionProps): JSX.Element;
4
3
  declare const _default: import("styled-components").StyledComponent<typeof Toggle, any, {}, never>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { ToggleGroupOptionProps, ToggleGroupProps } from './ToggleGroup.types';
3
2
  declare function ToggleGroup(props: ToggleGroupProps): JSX.Element;
4
3
  declare namespace ToggleGroup {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TooltipAlign, TooltipPosition, TooltipProps } from './Tooltip';
3
2
  import type { Meta } from '@storybook/react/types-6-0';
4
3
  declare const _default: Meta<import("@storybook/react/types-6-0").Args>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare type OpenSideNavButtonProps = {
3
2
  className?: string;
4
3
  onClick: () => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  title: string;
4
3
  };
@@ -1,5 +1,3 @@
1
- /// <reference types="mdx" />
2
- /// <reference types="react" />
3
1
  import Docs from './VisuallyHidden.mdx';
4
2
  declare const _default: {
5
3
  title: string;