@dreamtree-org/twreact-ui 1.2.1 → 1.3.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 (215) hide show
  1. package/DESIGN.md +118 -0
  2. package/README.md +231 -44
  3. package/ai-skills/dreamtree-ui.md +98 -12
  4. package/dist/ai-schema.json +452 -17
  5. package/dist/components/blocks/AppShell.d.ts +4 -0
  6. package/dist/components/blocks/AppShell.d.ts.map +1 -0
  7. package/dist/components/blocks/ConfirmDialog.d.ts +4 -0
  8. package/dist/components/blocks/ConfirmDialog.d.ts.map +1 -0
  9. package/dist/components/blocks/EmptyState.d.ts +4 -0
  10. package/dist/components/blocks/EmptyState.d.ts.map +1 -0
  11. package/dist/components/blocks/ErrorState.d.ts +4 -0
  12. package/dist/components/blocks/ErrorState.d.ts.map +1 -0
  13. package/dist/components/blocks/LoadingState.d.ts +9 -0
  14. package/dist/components/blocks/LoadingState.d.ts.map +1 -0
  15. package/dist/components/blocks/PageHeader.d.ts +4 -0
  16. package/dist/components/blocks/PageHeader.d.ts.map +1 -0
  17. package/dist/components/blocks/StatCard.d.ts +4 -0
  18. package/dist/components/blocks/StatCard.d.ts.map +1 -0
  19. package/dist/components/blocks/StatusPill.d.ts +5 -0
  20. package/dist/components/blocks/StatusPill.d.ts.map +1 -0
  21. package/dist/components/core/Accordion.d.ts.map +1 -1
  22. package/dist/components/core/Button.d.ts.map +1 -1
  23. package/dist/components/core/Checkbox.d.ts.map +1 -1
  24. package/dist/components/core/ColorPicker.d.ts.map +1 -1
  25. package/dist/components/core/DatePicker.d.ts.map +1 -1
  26. package/dist/components/core/DateRangePicker.d.ts.map +1 -1
  27. package/dist/components/core/Form.d.ts.map +1 -1
  28. package/dist/components/core/Input.d.ts.map +1 -1
  29. package/dist/components/core/LocationPicker.d.ts.map +1 -1
  30. package/dist/components/core/Popover.d.ts +4 -0
  31. package/dist/components/core/Popover.d.ts.map +1 -0
  32. package/dist/components/core/PriceRangePicker.d.ts.map +1 -1
  33. package/dist/components/core/ProgressBar.d.ts.map +1 -1
  34. package/dist/components/core/Radio.d.ts.map +1 -1
  35. package/dist/components/core/Rate.d.ts.map +1 -1
  36. package/dist/components/core/Select.d.ts.map +1 -1
  37. package/dist/components/core/Skeleton.d.ts.map +1 -1
  38. package/dist/components/core/Slider.d.ts +4 -0
  39. package/dist/components/core/Slider.d.ts.map +1 -0
  40. package/dist/components/core/SpeechToText.d.ts.map +1 -1
  41. package/dist/components/core/Switch.d.ts.map +1 -1
  42. package/dist/components/core/Table/ActionMenu.d.ts.map +1 -1
  43. package/dist/components/core/Table/ColumnMenu.d.ts +2 -1
  44. package/dist/components/core/Table/ColumnMenu.d.ts.map +1 -1
  45. package/dist/components/core/Table/MobileCard.d.ts +2 -2
  46. package/dist/components/core/Table/MobileCard.d.ts.map +1 -1
  47. package/dist/components/core/Table/Table.d.ts.map +1 -1
  48. package/dist/components/core/Table/TableRow.d.ts +4 -2
  49. package/dist/components/core/Table/TableRow.d.ts.map +1 -1
  50. package/dist/components/core/Tabs.d.ts.map +1 -1
  51. package/dist/components/core/Textarea.d.ts +4 -0
  52. package/dist/components/core/Textarea.d.ts.map +1 -0
  53. package/dist/components/core/ThreeDotPopover.d.ts.map +1 -1
  54. package/dist/components/core/Tooltip.d.ts.map +1 -1
  55. package/dist/components/feedback/Dialog.d.ts.map +1 -1
  56. package/dist/components/feedback/Drawer.d.ts +4 -0
  57. package/dist/components/feedback/Drawer.d.ts.map +1 -0
  58. package/dist/components/feedback/Toast.d.ts +14 -5
  59. package/dist/components/feedback/Toast.d.ts.map +1 -1
  60. package/dist/components/feedback/Tour.d.ts +4 -0
  61. package/dist/components/feedback/Tour.d.ts.map +1 -0
  62. package/dist/components/feedback/TourSpotlight.d.ts +9 -0
  63. package/dist/components/feedback/TourSpotlight.d.ts.map +1 -0
  64. package/dist/components/navigation/Breadcrumbs.d.ts.map +1 -1
  65. package/dist/components/navigation/FootNav.d.ts.map +1 -1
  66. package/dist/components/navigation/Navbar.d.ts.map +1 -1
  67. package/dist/components/navigation/Sidebar.d.ts +8 -2
  68. package/dist/components/navigation/Sidebar.d.ts.map +1 -1
  69. package/dist/components/utility/Badge.d.ts.map +1 -1
  70. package/dist/components/utility/FileUpload.d.ts.map +1 -1
  71. package/dist/components/utility/Sortable.d.ts +4 -0
  72. package/dist/components/utility/Sortable.d.ts.map +1 -0
  73. package/dist/esm/_vendor/object-assign/index.js +99 -0
  74. package/dist/esm/_vendor/prop-types/_vendor/react-is/cjs/react-is.development.js +190 -0
  75. package/dist/esm/_vendor/prop-types/_vendor/react-is/cjs/react-is.production.min.js +26 -0
  76. package/dist/esm/_vendor/prop-types/_vendor/react-is/index.js +19 -0
  77. package/dist/esm/_vendor/prop-types/checkPropTypes.js +115 -0
  78. package/dist/esm/_vendor/prop-types/factoryWithThrowingShims.js +74 -0
  79. package/dist/esm/_vendor/prop-types/factoryWithTypeCheckers.js +625 -0
  80. package/dist/esm/_vendor/prop-types/index.js +30 -0
  81. package/dist/esm/_vendor/prop-types/lib/ReactPropTypesSecret.js +21 -0
  82. package/dist/esm/_vendor/prop-types/lib/has.js +11 -0
  83. package/dist/esm/_virtual/_commonjsHelpers.js +5 -0
  84. package/dist/esm/_virtual/_rollupPluginBabelHelpers.js +329 -0
  85. package/dist/esm/_virtual/index.js +3 -0
  86. package/dist/esm/_virtual/index2.js +3 -0
  87. package/dist/esm/_virtual/react-is.development.js +3 -0
  88. package/dist/esm/_virtual/react-is.production.min.js +3 -0
  89. package/dist/esm/components/blocks/AppShell.js +205 -0
  90. package/dist/esm/components/blocks/ConfirmDialog.js +57 -0
  91. package/dist/esm/components/blocks/EmptyState.js +44 -0
  92. package/dist/esm/components/blocks/ErrorState.js +53 -0
  93. package/dist/esm/components/blocks/LoadingState.js +134 -0
  94. package/dist/esm/components/blocks/PageHeader.js +51 -0
  95. package/dist/esm/components/blocks/StatCard.js +79 -0
  96. package/dist/esm/components/blocks/StatusPill.js +55 -0
  97. package/dist/esm/components/core/Accordion.js +260 -0
  98. package/dist/esm/components/core/Button.js +59 -0
  99. package/dist/esm/components/core/Checkbox.js +188 -0
  100. package/dist/esm/components/core/ColorPicker.js +348 -0
  101. package/dist/esm/components/core/DatePicker.js +436 -0
  102. package/dist/esm/components/core/DateRangePicker.js +494 -0
  103. package/dist/esm/components/core/Form.js +522 -0
  104. package/dist/esm/components/core/Input.js +179 -0
  105. package/dist/esm/components/core/Loader.js +141 -0
  106. package/dist/esm/components/core/LocationPicker.js +161 -0
  107. package/dist/esm/components/core/Popover.js +171 -0
  108. package/dist/esm/components/core/PriceRangePicker.js +376 -0
  109. package/dist/esm/components/core/ProgressBar.js +152 -0
  110. package/dist/esm/components/core/Radio.js +156 -0
  111. package/dist/esm/components/core/Rate.js +197 -0
  112. package/dist/esm/components/core/RoundedTag.js +118 -0
  113. package/dist/esm/components/core/Select.js +857 -0
  114. package/dist/esm/components/core/Skeleton.js +100 -0
  115. package/dist/esm/components/core/Slider.js +134 -0
  116. package/dist/esm/components/core/SpeechToText.js +226 -0
  117. package/dist/esm/components/core/Switch.js +207 -0
  118. package/dist/esm/components/core/Table/ActionMenu.js +251 -0
  119. package/dist/esm/components/core/Table/ColumnMenu.js +55 -0
  120. package/dist/esm/components/core/Table/FieldInput.js +157 -0
  121. package/dist/esm/components/core/Table/MobileCard.js +187 -0
  122. package/dist/esm/components/core/Table/MobileFilters.js +72 -0
  123. package/dist/esm/components/core/Table/Pagination.js +157 -0
  124. package/dist/esm/components/core/Table/Table.js +1533 -0
  125. package/dist/esm/components/core/Table/TableRow.js +254 -0
  126. package/dist/esm/components/core/Table/constants.js +35 -0
  127. package/dist/esm/components/core/Table/helpers.js +124 -0
  128. package/dist/esm/components/core/Table/useClickOutside.js +26 -0
  129. package/dist/esm/components/core/Tabs.js +289 -0
  130. package/dist/esm/components/core/TextToSpeech.js +52 -0
  131. package/dist/esm/components/core/Textarea.js +125 -0
  132. package/dist/esm/components/core/ThreeDotPopover.js +160 -0
  133. package/dist/esm/components/core/Tooltip.js +372 -0
  134. package/dist/esm/components/feedback/Alert.js +96 -0
  135. package/dist/esm/components/feedback/Dialog.js +200 -0
  136. package/dist/esm/components/feedback/Drawer.js +171 -0
  137. package/dist/esm/components/feedback/Toast.js +362 -0
  138. package/dist/esm/components/feedback/Tour.js +214 -0
  139. package/dist/esm/components/feedback/TourSpotlight.js +71 -0
  140. package/dist/esm/components/navigation/Breadcrumbs.js +75 -0
  141. package/dist/esm/components/navigation/Dropdown.js +53 -0
  142. package/dist/esm/components/navigation/FootNav.js +51 -0
  143. package/dist/esm/components/navigation/Navbar.js +437 -0
  144. package/dist/esm/components/navigation/Sidebar.js +567 -0
  145. package/dist/esm/components/utility/Avatar.js +89 -0
  146. package/dist/esm/components/utility/Badge.js +47 -0
  147. package/dist/esm/components/utility/Card.js +85 -0
  148. package/dist/esm/components/utility/Carousel.js +97 -0
  149. package/dist/esm/components/utility/Condition.js +9 -0
  150. package/dist/esm/components/utility/FileUpload.js +177 -0
  151. package/dist/esm/components/utility/Pagination.js +111 -0
  152. package/dist/esm/components/utility/Sortable.js +190 -0
  153. package/dist/esm/components/utility/Stepper.js +101 -0
  154. package/dist/esm/hooks/useApi.js +169 -0
  155. package/dist/esm/hooks/useControllableState.js +32 -0
  156. package/dist/esm/hooks/useFocusTrap.js +85 -0
  157. package/dist/esm/hooks/useLatestRef.js +20 -0
  158. package/dist/esm/hooks/useMixins.js +100 -0
  159. package/dist/esm/hooks/useScrollLock.js +26 -0
  160. package/dist/esm/hooks/useSliderValues.js +135 -0
  161. package/dist/esm/hooks/useSortable.js +188 -0
  162. package/dist/esm/hooks/useTheme.js +53 -0
  163. package/dist/esm/hooks/useTourTarget.js +92 -0
  164. package/dist/esm/index.js +65 -0
  165. package/dist/esm/store/index.js +26 -0
  166. package/dist/esm/store/store.js +107 -0
  167. package/dist/esm/store/storeSlice.js +45 -0
  168. package/dist/esm/utils/cn.js +11 -0
  169. package/dist/esm/utils/emitter.js +169 -0
  170. package/dist/esm/utils/helpers.js +161 -0
  171. package/dist/esm/utils/position.js +134 -0
  172. package/dist/hooks/useApi.d.ts +2 -1
  173. package/dist/hooks/useApi.d.ts.map +1 -1
  174. package/dist/hooks/useControllableState.d.ts +11 -0
  175. package/dist/hooks/useControllableState.d.ts.map +1 -0
  176. package/dist/hooks/useFocusTrap.d.ts +15 -0
  177. package/dist/hooks/useFocusTrap.d.ts.map +1 -0
  178. package/dist/hooks/useLatestRef.d.ts +8 -0
  179. package/dist/hooks/useLatestRef.d.ts.map +1 -0
  180. package/dist/hooks/useMixins.d.ts.map +1 -1
  181. package/dist/hooks/useScrollLock.d.ts +2 -0
  182. package/dist/hooks/useScrollLock.d.ts.map +1 -0
  183. package/dist/hooks/useSliderValues.d.ts +43 -0
  184. package/dist/hooks/useSliderValues.d.ts.map +1 -0
  185. package/dist/hooks/useSortable.d.ts +32 -0
  186. package/dist/hooks/useSortable.d.ts.map +1 -0
  187. package/dist/hooks/useTheme.d.ts.map +1 -1
  188. package/dist/hooks/useTourTarget.d.ts +15 -0
  189. package/dist/hooks/useTourTarget.d.ts.map +1 -0
  190. package/dist/index.css +1 -1
  191. package/dist/index.d.ts +55 -39
  192. package/dist/index.esm.css +1 -1
  193. package/dist/index.esm.js +7937 -4659
  194. package/dist/index.js +7950 -4657
  195. package/dist/tokens/brands/default.css +1 -0
  196. package/dist/tokens/brands/default.json +5 -0
  197. package/dist/tokens/brands/practicepro.css +17 -0
  198. package/dist/tokens/brands/practicepro.json +27 -0
  199. package/dist/tokens/tailwind3-preset.cjs +214 -0
  200. package/dist/tokens/theme.css +193 -0
  201. package/dist/tokens/tokens.json +373 -0
  202. package/dist/tokens/vars.css +98 -0
  203. package/dist/types/blocks.d.ts +109 -0
  204. package/dist/types/blocks.d.ts.map +1 -0
  205. package/dist/types/index.d.ts +194 -5
  206. package/dist/types/index.d.ts.map +1 -1
  207. package/dist/utils/position.d.ts +30 -0
  208. package/dist/utils/position.d.ts.map +1 -0
  209. package/doc/README.md +26 -1
  210. package/mcp/catalog.snapshot.json +1643 -549
  211. package/package.json +24 -6
  212. package/tokens/brands/default.json +5 -0
  213. package/tokens/brands/practicepro.json +27 -0
  214. package/tokens/lib.cjs +128 -0
  215. package/tokens/tokens.json +133 -0
@@ -0,0 +1,190 @@
1
+ import { __exports as reactIs_development } from '../../../../../_virtual/react-is.development.js';
2
+
3
+ /** @license React v16.13.1
4
+ * react-is.development.js
5
+ *
6
+ * Copyright (c) Facebook, Inc. and its affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */
11
+
12
+ var hasRequiredReactIs_development;
13
+
14
+ function requireReactIs_development () {
15
+ if (hasRequiredReactIs_development) return reactIs_development;
16
+ hasRequiredReactIs_development = 1;
17
+
18
+
19
+
20
+ if (process.env.NODE_ENV !== "production") {
21
+ (function() {
22
+
23
+ // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
24
+ // nor polyfill, then a plain number is used for performance.
25
+ var hasSymbol = typeof Symbol === 'function' && Symbol.for;
26
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
27
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
28
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
29
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
30
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
31
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
32
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
33
+ // (unstable) APIs that have been removed. Can we remove the symbols?
34
+
35
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
36
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
37
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
38
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
39
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
40
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
41
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
42
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
43
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
44
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
45
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
46
+
47
+ function isValidElementType(type) {
48
+ return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
49
+ type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
50
+ }
51
+
52
+ function typeOf(object) {
53
+ if (typeof object === 'object' && object !== null) {
54
+ var $$typeof = object.$$typeof;
55
+
56
+ switch ($$typeof) {
57
+ case REACT_ELEMENT_TYPE:
58
+ var type = object.type;
59
+
60
+ switch (type) {
61
+ case REACT_ASYNC_MODE_TYPE:
62
+ case REACT_CONCURRENT_MODE_TYPE:
63
+ case REACT_FRAGMENT_TYPE:
64
+ case REACT_PROFILER_TYPE:
65
+ case REACT_STRICT_MODE_TYPE:
66
+ case REACT_SUSPENSE_TYPE:
67
+ return type;
68
+
69
+ default:
70
+ var $$typeofType = type && type.$$typeof;
71
+
72
+ switch ($$typeofType) {
73
+ case REACT_CONTEXT_TYPE:
74
+ case REACT_FORWARD_REF_TYPE:
75
+ case REACT_LAZY_TYPE:
76
+ case REACT_MEMO_TYPE:
77
+ case REACT_PROVIDER_TYPE:
78
+ return $$typeofType;
79
+
80
+ default:
81
+ return $$typeof;
82
+ }
83
+
84
+ }
85
+
86
+ case REACT_PORTAL_TYPE:
87
+ return $$typeof;
88
+ }
89
+ }
90
+
91
+ return undefined;
92
+ } // AsyncMode is deprecated along with isAsyncMode
93
+
94
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
95
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
96
+ var ContextConsumer = REACT_CONTEXT_TYPE;
97
+ var ContextProvider = REACT_PROVIDER_TYPE;
98
+ var Element = REACT_ELEMENT_TYPE;
99
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
100
+ var Fragment = REACT_FRAGMENT_TYPE;
101
+ var Lazy = REACT_LAZY_TYPE;
102
+ var Memo = REACT_MEMO_TYPE;
103
+ var Portal = REACT_PORTAL_TYPE;
104
+ var Profiler = REACT_PROFILER_TYPE;
105
+ var StrictMode = REACT_STRICT_MODE_TYPE;
106
+ var Suspense = REACT_SUSPENSE_TYPE;
107
+ var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
108
+
109
+ function isAsyncMode(object) {
110
+ {
111
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
112
+ hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
113
+
114
+ console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
115
+ }
116
+ }
117
+
118
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
119
+ }
120
+ function isConcurrentMode(object) {
121
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
122
+ }
123
+ function isContextConsumer(object) {
124
+ return typeOf(object) === REACT_CONTEXT_TYPE;
125
+ }
126
+ function isContextProvider(object) {
127
+ return typeOf(object) === REACT_PROVIDER_TYPE;
128
+ }
129
+ function isElement(object) {
130
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
131
+ }
132
+ function isForwardRef(object) {
133
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
134
+ }
135
+ function isFragment(object) {
136
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
137
+ }
138
+ function isLazy(object) {
139
+ return typeOf(object) === REACT_LAZY_TYPE;
140
+ }
141
+ function isMemo(object) {
142
+ return typeOf(object) === REACT_MEMO_TYPE;
143
+ }
144
+ function isPortal(object) {
145
+ return typeOf(object) === REACT_PORTAL_TYPE;
146
+ }
147
+ function isProfiler(object) {
148
+ return typeOf(object) === REACT_PROFILER_TYPE;
149
+ }
150
+ function isStrictMode(object) {
151
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
152
+ }
153
+ function isSuspense(object) {
154
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
155
+ }
156
+
157
+ reactIs_development.AsyncMode = AsyncMode;
158
+ reactIs_development.ConcurrentMode = ConcurrentMode;
159
+ reactIs_development.ContextConsumer = ContextConsumer;
160
+ reactIs_development.ContextProvider = ContextProvider;
161
+ reactIs_development.Element = Element;
162
+ reactIs_development.ForwardRef = ForwardRef;
163
+ reactIs_development.Fragment = Fragment;
164
+ reactIs_development.Lazy = Lazy;
165
+ reactIs_development.Memo = Memo;
166
+ reactIs_development.Portal = Portal;
167
+ reactIs_development.Profiler = Profiler;
168
+ reactIs_development.StrictMode = StrictMode;
169
+ reactIs_development.Suspense = Suspense;
170
+ reactIs_development.isAsyncMode = isAsyncMode;
171
+ reactIs_development.isConcurrentMode = isConcurrentMode;
172
+ reactIs_development.isContextConsumer = isContextConsumer;
173
+ reactIs_development.isContextProvider = isContextProvider;
174
+ reactIs_development.isElement = isElement;
175
+ reactIs_development.isForwardRef = isForwardRef;
176
+ reactIs_development.isFragment = isFragment;
177
+ reactIs_development.isLazy = isLazy;
178
+ reactIs_development.isMemo = isMemo;
179
+ reactIs_development.isPortal = isPortal;
180
+ reactIs_development.isProfiler = isProfiler;
181
+ reactIs_development.isStrictMode = isStrictMode;
182
+ reactIs_development.isSuspense = isSuspense;
183
+ reactIs_development.isValidElementType = isValidElementType;
184
+ reactIs_development.typeOf = typeOf;
185
+ })();
186
+ }
187
+ return reactIs_development;
188
+ }
189
+
190
+ export { requireReactIs_development as __require };
@@ -0,0 +1,26 @@
1
+ import { __exports as reactIs_production_min } from '../../../../../_virtual/react-is.production.min.js';
2
+
3
+ /** @license React v16.13.1
4
+ * react-is.production.min.js
5
+ *
6
+ * Copyright (c) Facebook, Inc. and its affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */
11
+
12
+ var hasRequiredReactIs_production_min;
13
+
14
+ function requireReactIs_production_min () {
15
+ if (hasRequiredReactIs_production_min) return reactIs_production_min;
16
+ hasRequiredReactIs_production_min = 1;
17
+ var b="function"===typeof Symbol&&Symbol.for,c=b?Symbol.for("react.element"):60103,d=b?Symbol.for("react.portal"):60106,e=b?Symbol.for("react.fragment"):60107,f=b?Symbol.for("react.strict_mode"):60108,g=b?Symbol.for("react.profiler"):60114,h=b?Symbol.for("react.provider"):60109,k=b?Symbol.for("react.context"):60110,l=b?Symbol.for("react.async_mode"):60111,m=b?Symbol.for("react.concurrent_mode"):60111,n=b?Symbol.for("react.forward_ref"):60112,p=b?Symbol.for("react.suspense"):60113,q=b?
18
+ Symbol.for("react.suspense_list"):60120,r=b?Symbol.for("react.memo"):60115,t=b?Symbol.for("react.lazy"):60116,v=b?Symbol.for("react.block"):60121,w=b?Symbol.for("react.fundamental"):60117,x=b?Symbol.for("react.responder"):60118,y=b?Symbol.for("react.scope"):60119;
19
+ function z(a){if("object"===typeof a&&null!==a){var u=a.$$typeof;switch(u){case c:switch(a=a.type,a){case l:case m:case e:case g:case f:case p:return a;default:switch(a=a&&a.$$typeof,a){case k:case n:case t:case r:case h:return a;default:return u}}case d:return u}}}function A(a){return z(a)===m}reactIs_production_min.AsyncMode=l;reactIs_production_min.ConcurrentMode=m;reactIs_production_min.ContextConsumer=k;reactIs_production_min.ContextProvider=h;reactIs_production_min.Element=c;reactIs_production_min.ForwardRef=n;reactIs_production_min.Fragment=e;reactIs_production_min.Lazy=t;reactIs_production_min.Memo=r;reactIs_production_min.Portal=d;
20
+ reactIs_production_min.Profiler=g;reactIs_production_min.StrictMode=f;reactIs_production_min.Suspense=p;reactIs_production_min.isAsyncMode=function(a){return A(a)||z(a)===l};reactIs_production_min.isConcurrentMode=A;reactIs_production_min.isContextConsumer=function(a){return z(a)===k};reactIs_production_min.isContextProvider=function(a){return z(a)===h};reactIs_production_min.isElement=function(a){return "object"===typeof a&&null!==a&&a.$$typeof===c};reactIs_production_min.isForwardRef=function(a){return z(a)===n};reactIs_production_min.isFragment=function(a){return z(a)===e};reactIs_production_min.isLazy=function(a){return z(a)===t};
21
+ reactIs_production_min.isMemo=function(a){return z(a)===r};reactIs_production_min.isPortal=function(a){return z(a)===d};reactIs_production_min.isProfiler=function(a){return z(a)===g};reactIs_production_min.isStrictMode=function(a){return z(a)===f};reactIs_production_min.isSuspense=function(a){return z(a)===p};
22
+ reactIs_production_min.isValidElementType=function(a){return "string"===typeof a||"function"===typeof a||a===e||a===m||a===g||a===f||a===p||a===q||"object"===typeof a&&null!==a&&(a.$$typeof===t||a.$$typeof===r||a.$$typeof===h||a.$$typeof===k||a.$$typeof===n||a.$$typeof===w||a.$$typeof===x||a.$$typeof===y||a.$$typeof===v)};reactIs_production_min.typeOf=z;
23
+ return reactIs_production_min;
24
+ }
25
+
26
+ export { requireReactIs_production_min as __require };
@@ -0,0 +1,19 @@
1
+ import { __module as reactIs } from '../../../../_virtual/index2.js';
2
+ import { __require as requireReactIs_production_min } from './cjs/react-is.production.min.js';
3
+ import { __require as requireReactIs_development } from './cjs/react-is.development.js';
4
+
5
+ var hasRequiredReactIs;
6
+
7
+ function requireReactIs () {
8
+ if (hasRequiredReactIs) return reactIs.exports;
9
+ hasRequiredReactIs = 1;
10
+
11
+ if (process.env.NODE_ENV === 'production') {
12
+ reactIs.exports = requireReactIs_production_min();
13
+ } else {
14
+ reactIs.exports = requireReactIs_development();
15
+ }
16
+ return reactIs.exports;
17
+ }
18
+
19
+ export { requireReactIs as __require };
@@ -0,0 +1,115 @@
1
+ import { __require as requireReactPropTypesSecret } from './lib/ReactPropTypesSecret.js';
2
+ import { __require as requireHas } from './lib/has.js';
3
+
4
+ /**
5
+ * Copyright (c) 2013-present, Facebook, Inc.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */
10
+
11
+ var checkPropTypes_1;
12
+ var hasRequiredCheckPropTypes;
13
+
14
+ function requireCheckPropTypes () {
15
+ if (hasRequiredCheckPropTypes) return checkPropTypes_1;
16
+ hasRequiredCheckPropTypes = 1;
17
+
18
+ var printWarning = function() {};
19
+
20
+ if (process.env.NODE_ENV !== 'production') {
21
+ var ReactPropTypesSecret = requireReactPropTypesSecret();
22
+ var loggedTypeFailures = {};
23
+ var has = requireHas();
24
+
25
+ printWarning = function(text) {
26
+ var message = 'Warning: ' + text;
27
+ if (typeof console !== 'undefined') {
28
+ console.error(message);
29
+ }
30
+ try {
31
+ // --- Welcome to debugging React ---
32
+ // This error was thrown as a convenience so that you can use this stack
33
+ // to find the callsite that caused this warning to fire.
34
+ throw new Error(message);
35
+ } catch (x) { /**/ }
36
+ };
37
+ }
38
+
39
+ /**
40
+ * Assert that the values match with the type specs.
41
+ * Error messages are memorized and will only be shown once.
42
+ *
43
+ * @param {object} typeSpecs Map of name to a ReactPropType
44
+ * @param {object} values Runtime values that need to be type-checked
45
+ * @param {string} location e.g. "prop", "context", "child context"
46
+ * @param {string} componentName Name of the component for error messages.
47
+ * @param {?Function} getStack Returns the component stack.
48
+ * @private
49
+ */
50
+ function checkPropTypes(typeSpecs, values, location, componentName, getStack) {
51
+ if (process.env.NODE_ENV !== 'production') {
52
+ for (var typeSpecName in typeSpecs) {
53
+ if (has(typeSpecs, typeSpecName)) {
54
+ var error;
55
+ // Prop type validation may throw. In case they do, we don't want to
56
+ // fail the render phase where it didn't fail before. So we log it.
57
+ // After these have been cleaned up, we'll let them throw.
58
+ try {
59
+ // This is intentionally an invariant that gets caught. It's the same
60
+ // behavior as without this statement except with a better message.
61
+ if (typeof typeSpecs[typeSpecName] !== 'function') {
62
+ var err = Error(
63
+ (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
64
+ 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
65
+ 'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
66
+ );
67
+ err.name = 'Invariant Violation';
68
+ throw err;
69
+ }
70
+ error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret);
71
+ } catch (ex) {
72
+ error = ex;
73
+ }
74
+ if (error && !(error instanceof Error)) {
75
+ printWarning(
76
+ (componentName || 'React class') + ': type specification of ' +
77
+ location + ' `' + typeSpecName + '` is invalid; the type checker ' +
78
+ 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +
79
+ 'You may have forgotten to pass an argument to the type checker ' +
80
+ 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +
81
+ 'shape all require an argument).'
82
+ );
83
+ }
84
+ if (error instanceof Error && !(error.message in loggedTypeFailures)) {
85
+ // Only monitor this failure once because there tends to be a lot of the
86
+ // same error.
87
+ loggedTypeFailures[error.message] = true;
88
+
89
+ var stack = getStack ? getStack() : '';
90
+
91
+ printWarning(
92
+ 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')
93
+ );
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }
99
+
100
+ /**
101
+ * Resets warning cache when testing.
102
+ *
103
+ * @private
104
+ */
105
+ checkPropTypes.resetWarningCache = function() {
106
+ if (process.env.NODE_ENV !== 'production') {
107
+ loggedTypeFailures = {};
108
+ }
109
+ };
110
+
111
+ checkPropTypes_1 = checkPropTypes;
112
+ return checkPropTypes_1;
113
+ }
114
+
115
+ export { requireCheckPropTypes as __require };
@@ -0,0 +1,74 @@
1
+ import { __require as requireReactPropTypesSecret } from './lib/ReactPropTypesSecret.js';
2
+
3
+ /**
4
+ * Copyright (c) 2013-present, Facebook, Inc.
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE file in the root directory of this source tree.
8
+ */
9
+
10
+ var factoryWithThrowingShims;
11
+ var hasRequiredFactoryWithThrowingShims;
12
+
13
+ function requireFactoryWithThrowingShims () {
14
+ if (hasRequiredFactoryWithThrowingShims) return factoryWithThrowingShims;
15
+ hasRequiredFactoryWithThrowingShims = 1;
16
+
17
+ var ReactPropTypesSecret = requireReactPropTypesSecret();
18
+
19
+ function emptyFunction() {}
20
+ function emptyFunctionWithReset() {}
21
+ emptyFunctionWithReset.resetWarningCache = emptyFunction;
22
+
23
+ factoryWithThrowingShims = function() {
24
+ function shim(props, propName, componentName, location, propFullName, secret) {
25
+ if (secret === ReactPropTypesSecret) {
26
+ // It is still safe when called from React.
27
+ return;
28
+ }
29
+ var err = new Error(
30
+ 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +
31
+ 'Use PropTypes.checkPropTypes() to call them. ' +
32
+ 'Read more at http://fb.me/use-check-prop-types'
33
+ );
34
+ err.name = 'Invariant Violation';
35
+ throw err;
36
+ } shim.isRequired = shim;
37
+ function getShim() {
38
+ return shim;
39
+ } // Important!
40
+ // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
41
+ var ReactPropTypes = {
42
+ array: shim,
43
+ bigint: shim,
44
+ bool: shim,
45
+ func: shim,
46
+ number: shim,
47
+ object: shim,
48
+ string: shim,
49
+ symbol: shim,
50
+
51
+ any: shim,
52
+ arrayOf: getShim,
53
+ element: shim,
54
+ elementType: shim,
55
+ instanceOf: getShim,
56
+ node: shim,
57
+ objectOf: getShim,
58
+ oneOf: getShim,
59
+ oneOfType: getShim,
60
+ shape: getShim,
61
+ exact: getShim,
62
+
63
+ checkPropTypes: emptyFunctionWithReset,
64
+ resetWarningCache: emptyFunction
65
+ };
66
+
67
+ ReactPropTypes.PropTypes = ReactPropTypes;
68
+
69
+ return ReactPropTypes;
70
+ };
71
+ return factoryWithThrowingShims;
72
+ }
73
+
74
+ export { requireFactoryWithThrowingShims as __require };