@yahoo/uds-v5-wip 1.10.2 → 1.11.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.
Files changed (44) hide show
  1. package/dist/components/dist/collapsible.js +3 -3
  2. package/dist/components/dist/presets/index.js +1 -1
  3. package/dist/components/presets/index.js +1 -1
  4. package/dist/loader/dist/_virtual/_rolldown/runtime.js +1 -2
  5. package/dist/loader/dist/loader/style-transform.js +4 -4
  6. package/dist/loader/dist/loader.d.ts +2 -1
  7. package/dist/loader/dist/next.d.ts +2 -1
  8. package/dist/presets/dist/boldVibrant.d.ts +1 -2
  9. package/dist/presets/dist/brutalist.d.ts +1 -2
  10. package/dist/presets/dist/candy.d.ts +1 -2
  11. package/dist/presets/dist/cleanMinimalist.d.ts +1 -2
  12. package/dist/presets/dist/corporate.d.ts +1 -2
  13. package/dist/presets/dist/darkMoody.d.ts +1 -2
  14. package/dist/presets/dist/defaultPreset.d.ts +1 -2
  15. package/dist/presets/dist/defaultPreset.js +1 -1
  16. package/dist/presets/dist/forest.d.ts +1 -2
  17. package/dist/presets/dist/highContrast.d.ts +1 -2
  18. package/dist/presets/dist/lavender.d.ts +1 -2
  19. package/dist/presets/dist/luxury.d.ts +1 -2
  20. package/dist/presets/dist/monochrome.d.ts +1 -2
  21. package/dist/presets/dist/neonCyber.d.ts +1 -2
  22. package/dist/presets/dist/newspaper.d.ts +1 -2
  23. package/dist/presets/dist/ocean.d.ts +1 -2
  24. package/dist/presets/dist/slate.d.ts +1 -2
  25. package/dist/presets/dist/sunset.d.ts +1 -2
  26. package/dist/presets/dist/terminal.d.ts +1 -2
  27. package/dist/presets/dist/warmOrganic.d.ts +1 -2
  28. package/dist/tsconfig.tsbuildinfo +1 -1
  29. package/package.json +3 -3
  30. package/dist/loader/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -203
  31. package/dist/loader/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -25
  32. package/dist/loader/dist/node_modules/react/cjs/react.development.js +0 -762
  33. package/dist/loader/dist/node_modules/react/cjs/react.production.js +0 -351
  34. package/dist/loader/dist/node_modules/react/index.js +0 -10
  35. package/dist/loader/dist/node_modules/react/jsx-runtime.js +0 -10
  36. package/dist/loader/dist/packages/core/dist/createComponent.js +0 -6
  37. package/dist/loader/dist/packages/core/dist/createProvider.js +0 -7
  38. package/dist/loader/dist/packages/core/dist/generated/stylePropsTwMap.js +0 -570
  39. package/dist/loader/dist/packages/core/dist/getComponentStyles.js +0 -2
  40. package/dist/loader/dist/packages/core/dist/getStyles.js +0 -58
  41. package/dist/loader/dist/packages/core/dist/index.js +0 -6
  42. package/dist/loader/dist/packages/core/dist/macros.js +0 -41
  43. package/dist/loader/dist/packages/core/dist/propMappings.js +0 -1348
  44. package/dist/loader/dist/packages/core/dist/withDefaultStyleProps.js +0 -1
@@ -1,351 +0,0 @@
1
- import { __commonJSMin } from "../../../_virtual/_rolldown/runtime.js";
2
- (/* @__PURE__ */ __commonJSMin(((exports) => {
3
- var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
4
- function getIteratorFn(maybeIterable) {
5
- if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
6
- maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
7
- return "function" === typeof maybeIterable ? maybeIterable : null;
8
- }
9
- var ReactNoopUpdateQueue = {
10
- isMounted: function() {
11
- return !1;
12
- },
13
- enqueueForceUpdate: function() {},
14
- enqueueReplaceState: function() {},
15
- enqueueSetState: function() {}
16
- }, assign = Object.assign, emptyObject = {};
17
- function Component(props, context, updater) {
18
- this.props = props;
19
- this.context = context;
20
- this.refs = emptyObject;
21
- this.updater = updater || ReactNoopUpdateQueue;
22
- }
23
- Component.prototype.isReactComponent = {};
24
- Component.prototype.setState = function(partialState, callback) {
25
- if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
26
- this.updater.enqueueSetState(this, partialState, callback, "setState");
27
- };
28
- Component.prototype.forceUpdate = function(callback) {
29
- this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
30
- };
31
- function ComponentDummy() {}
32
- ComponentDummy.prototype = Component.prototype;
33
- function PureComponent(props, context, updater) {
34
- this.props = props;
35
- this.context = context;
36
- this.refs = emptyObject;
37
- this.updater = updater || ReactNoopUpdateQueue;
38
- }
39
- var pureComponentPrototype = PureComponent.prototype = new ComponentDummy();
40
- pureComponentPrototype.constructor = PureComponent;
41
- assign(pureComponentPrototype, Component.prototype);
42
- pureComponentPrototype.isPureReactComponent = !0;
43
- var isArrayImpl = Array.isArray;
44
- function noop() {}
45
- var ReactSharedInternals = {
46
- H: null,
47
- A: null,
48
- T: null,
49
- S: null
50
- }, hasOwnProperty = Object.prototype.hasOwnProperty;
51
- function ReactElement(type, key, props) {
52
- var refProp = props.ref;
53
- return {
54
- $$typeof: REACT_ELEMENT_TYPE,
55
- type,
56
- key,
57
- ref: void 0 !== refProp ? refProp : null,
58
- props
59
- };
60
- }
61
- function cloneAndReplaceKey(oldElement, newKey) {
62
- return ReactElement(oldElement.type, newKey, oldElement.props);
63
- }
64
- function isValidElement(object) {
65
- return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
66
- }
67
- function escape(key) {
68
- var escaperLookup = {
69
- "=": "=0",
70
- ":": "=2"
71
- };
72
- return "$" + key.replace(/[=:]/g, function(match) {
73
- return escaperLookup[match];
74
- });
75
- }
76
- var userProvidedKeyEscapeRegex = /\/+/g;
77
- function getElementKey(element, index) {
78
- return "object" === typeof element && null !== element && null != element.key ? escape("" + element.key) : index.toString(36);
79
- }
80
- function resolveThenable(thenable) {
81
- switch (thenable.status) {
82
- case "fulfilled": return thenable.value;
83
- case "rejected": throw thenable.reason;
84
- default: switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(function(fulfilledValue) {
85
- "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
86
- }, function(error) {
87
- "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
88
- })), thenable.status) {
89
- case "fulfilled": return thenable.value;
90
- case "rejected": throw thenable.reason;
91
- }
92
- }
93
- throw thenable;
94
- }
95
- function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
96
- var type = typeof children;
97
- if ("undefined" === type || "boolean" === type) children = null;
98
- var invokeCallback = !1;
99
- if (null === children) invokeCallback = !0;
100
- else switch (type) {
101
- case "bigint":
102
- case "string":
103
- case "number":
104
- invokeCallback = !0;
105
- break;
106
- case "object": switch (children.$$typeof) {
107
- case REACT_ELEMENT_TYPE:
108
- case REACT_PORTAL_TYPE:
109
- invokeCallback = !0;
110
- break;
111
- case REACT_LAZY_TYPE: return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback);
112
- }
113
- }
114
- if (invokeCallback) return callback = callback(children), invokeCallback = "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar, isArrayImpl(callback) ? (escapedPrefix = "", null != invokeCallback && (escapedPrefix = invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
115
- return c;
116
- })) : null != callback && (isValidElement(callback) && (callback = cloneAndReplaceKey(callback, escapedPrefix + (null == callback.key || children && children.key === callback.key ? "" : ("" + callback.key).replace(userProvidedKeyEscapeRegex, "$&/") + "/") + invokeCallback)), array.push(callback)), 1;
117
- invokeCallback = 0;
118
- var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
119
- if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) nameSoFar = children[i], type = nextNamePrefix + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);
120
- else if (i = getIteratorFn(children), "function" === typeof i) for (children = i.call(children), i = 0; !(nameSoFar = children.next()).done;) nameSoFar = nameSoFar.value, type = nextNamePrefix + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);
121
- else if ("object" === type) {
122
- if ("function" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);
123
- array = String(children);
124
- throw Error("Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead.");
125
- }
126
- return invokeCallback;
127
- }
128
- function mapChildren(children, func, context) {
129
- if (null == children) return children;
130
- var result = [], count = 0;
131
- mapIntoArray(children, result, "", "", function(child) {
132
- return func.call(context, child, count++);
133
- });
134
- return result;
135
- }
136
- function lazyInitializer(payload) {
137
- if (-1 === payload._status) {
138
- var ctor = payload._result;
139
- ctor = ctor();
140
- ctor.then(function(moduleObject) {
141
- if (0 === payload._status || -1 === payload._status) payload._status = 1, payload._result = moduleObject;
142
- }, function(error) {
143
- if (0 === payload._status || -1 === payload._status) payload._status = 2, payload._result = error;
144
- });
145
- -1 === payload._status && (payload._status = 0, payload._result = ctor);
146
- }
147
- if (1 === payload._status) return payload._result.default;
148
- throw payload._result;
149
- }
150
- var reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
151
- if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
152
- var event = new window.ErrorEvent("error", {
153
- bubbles: !0,
154
- cancelable: !0,
155
- message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
156
- error
157
- });
158
- if (!window.dispatchEvent(event)) return;
159
- } else if ("object" === typeof process && "function" === typeof process.emit) {
160
- process.emit("uncaughtException", error);
161
- return;
162
- }
163
- console.error(error);
164
- }, Children = {
165
- map: mapChildren,
166
- forEach: function(children, forEachFunc, forEachContext) {
167
- mapChildren(children, function() {
168
- forEachFunc.apply(this, arguments);
169
- }, forEachContext);
170
- },
171
- count: function(children) {
172
- var n = 0;
173
- mapChildren(children, function() {
174
- n++;
175
- });
176
- return n;
177
- },
178
- toArray: function(children) {
179
- return mapChildren(children, function(child) {
180
- return child;
181
- }) || [];
182
- },
183
- only: function(children) {
184
- if (!isValidElement(children)) throw Error("React.Children.only expected to receive a single React element child.");
185
- return children;
186
- }
187
- };
188
- exports.Activity = REACT_ACTIVITY_TYPE;
189
- exports.Children = Children;
190
- exports.Component = Component;
191
- exports.Fragment = REACT_FRAGMENT_TYPE;
192
- exports.Profiler = REACT_PROFILER_TYPE;
193
- exports.PureComponent = PureComponent;
194
- exports.StrictMode = REACT_STRICT_MODE_TYPE;
195
- exports.Suspense = REACT_SUSPENSE_TYPE;
196
- exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
197
- exports.__COMPILER_RUNTIME = {
198
- __proto__: null,
199
- c: function(size) {
200
- return ReactSharedInternals.H.useMemoCache(size);
201
- }
202
- };
203
- exports.cache = function(fn) {
204
- return function() {
205
- return fn.apply(null, arguments);
206
- };
207
- };
208
- exports.cacheSignal = function() {
209
- return null;
210
- };
211
- exports.cloneElement = function(element, config, children) {
212
- if (null === element || void 0 === element) throw Error("The argument must be a React element, but you passed " + element + ".");
213
- var props = assign({}, element.props), key = element.key;
214
- if (null != config) for (propName in void 0 !== config.key && (key = "" + config.key), config) !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
215
- var propName = arguments.length - 2;
216
- if (1 === propName) props.children = children;
217
- else if (1 < propName) {
218
- for (var childArray = Array(propName), i = 0; i < propName; i++) childArray[i] = arguments[i + 2];
219
- props.children = childArray;
220
- }
221
- return ReactElement(element.type, key, props);
222
- };
223
- exports.createContext = function(defaultValue) {
224
- defaultValue = {
225
- $$typeof: REACT_CONTEXT_TYPE,
226
- _currentValue: defaultValue,
227
- _currentValue2: defaultValue,
228
- _threadCount: 0,
229
- Provider: null,
230
- Consumer: null
231
- };
232
- defaultValue.Provider = defaultValue;
233
- defaultValue.Consumer = {
234
- $$typeof: REACT_CONSUMER_TYPE,
235
- _context: defaultValue
236
- };
237
- return defaultValue;
238
- };
239
- exports.createElement = function(type, config, children) {
240
- var propName, props = {}, key = null;
241
- if (null != config) for (propName in void 0 !== config.key && (key = "" + config.key), config) hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (props[propName] = config[propName]);
242
- var childrenLength = arguments.length - 2;
243
- if (1 === childrenLength) props.children = children;
244
- else if (1 < childrenLength) {
245
- for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++) childArray[i] = arguments[i + 2];
246
- props.children = childArray;
247
- }
248
- if (type && type.defaultProps) for (propName in childrenLength = type.defaultProps, childrenLength) void 0 === props[propName] && (props[propName] = childrenLength[propName]);
249
- return ReactElement(type, key, props);
250
- };
251
- exports.createRef = function() {
252
- return { current: null };
253
- };
254
- exports.forwardRef = function(render) {
255
- return {
256
- $$typeof: REACT_FORWARD_REF_TYPE,
257
- render
258
- };
259
- };
260
- exports.isValidElement = isValidElement;
261
- exports.lazy = function(ctor) {
262
- return {
263
- $$typeof: REACT_LAZY_TYPE,
264
- _payload: {
265
- _status: -1,
266
- _result: ctor
267
- },
268
- _init: lazyInitializer
269
- };
270
- };
271
- exports.memo = function(type, compare) {
272
- return {
273
- $$typeof: REACT_MEMO_TYPE,
274
- type,
275
- compare: void 0 === compare ? null : compare
276
- };
277
- };
278
- exports.startTransition = function(scope) {
279
- var prevTransition = ReactSharedInternals.T, currentTransition = {};
280
- ReactSharedInternals.T = currentTransition;
281
- try {
282
- var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
283
- null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
284
- "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && returnValue.then(noop, reportGlobalError);
285
- } catch (error) {
286
- reportGlobalError(error);
287
- } finally {
288
- null !== prevTransition && null !== currentTransition.types && (prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
289
- }
290
- };
291
- exports.unstable_useCacheRefresh = function() {
292
- return ReactSharedInternals.H.useCacheRefresh();
293
- };
294
- exports.use = function(usable) {
295
- return ReactSharedInternals.H.use(usable);
296
- };
297
- exports.useActionState = function(action, initialState, permalink) {
298
- return ReactSharedInternals.H.useActionState(action, initialState, permalink);
299
- };
300
- exports.useCallback = function(callback, deps) {
301
- return ReactSharedInternals.H.useCallback(callback, deps);
302
- };
303
- exports.useContext = function(Context) {
304
- return ReactSharedInternals.H.useContext(Context);
305
- };
306
- exports.useDebugValue = function() {};
307
- exports.useDeferredValue = function(value, initialValue) {
308
- return ReactSharedInternals.H.useDeferredValue(value, initialValue);
309
- };
310
- exports.useEffect = function(create, deps) {
311
- return ReactSharedInternals.H.useEffect(create, deps);
312
- };
313
- exports.useEffectEvent = function(callback) {
314
- return ReactSharedInternals.H.useEffectEvent(callback);
315
- };
316
- exports.useId = function() {
317
- return ReactSharedInternals.H.useId();
318
- };
319
- exports.useImperativeHandle = function(ref, create, deps) {
320
- return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
321
- };
322
- exports.useInsertionEffect = function(create, deps) {
323
- return ReactSharedInternals.H.useInsertionEffect(create, deps);
324
- };
325
- exports.useLayoutEffect = function(create, deps) {
326
- return ReactSharedInternals.H.useLayoutEffect(create, deps);
327
- };
328
- exports.useMemo = function(create, deps) {
329
- return ReactSharedInternals.H.useMemo(create, deps);
330
- };
331
- exports.useOptimistic = function(passthrough, reducer) {
332
- return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
333
- };
334
- exports.useReducer = function(reducer, initialArg, init) {
335
- return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
336
- };
337
- exports.useRef = function(initialValue) {
338
- return ReactSharedInternals.H.useRef(initialValue);
339
- };
340
- exports.useState = function(initialState) {
341
- return ReactSharedInternals.H.useState(initialState);
342
- };
343
- exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
344
- return ReactSharedInternals.H.useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
345
- };
346
- exports.useTransition = function() {
347
- return ReactSharedInternals.H.useTransition();
348
- };
349
- exports.version = "19.2.4";
350
- })))();
351
- //#endregion
@@ -1,10 +0,0 @@
1
- import { __commonJSMin } from "../../_virtual/_rolldown/runtime.js";
2
- import "./cjs/react.production.js";
3
- import { require_react_development } from "./cjs/react.development.js";
4
- //#region ../loader/dist/node_modules/react/index.js
5
- var require_react = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
- module.exports = require_react_development();
7
- }));
8
- require_react();
9
- //#endregion
10
- export { require_react };
@@ -1,10 +0,0 @@
1
- import { __commonJSMin } from "../../_virtual/_rolldown/runtime.js";
2
- import "./cjs/react-jsx-runtime.production.js";
3
- import { require_react_jsx_runtime_development } from "./cjs/react-jsx-runtime.development.js";
4
- //#region ../loader/dist/node_modules/react/jsx-runtime.js
5
- var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
6
- module.exports = require_react_jsx_runtime_development();
7
- }));
8
- require_jsx_runtime();
9
- //#endregion
10
- export { require_jsx_runtime };
@@ -1,6 +0,0 @@
1
- import "./getStyles.js";
2
- import "./getComponentStyles.js";
3
- import { require_react } from "../../../node_modules/react/index.js";
4
- //#region ../loader/dist/packages/core/dist/createComponent.js
5
- require_react();
6
- //#endregion
@@ -1,7 +0,0 @@
1
- "use client";
2
- import { require_react } from "../../../node_modules/react/index.js";
3
- import { require_jsx_runtime } from "../../../node_modules/react/jsx-runtime.js";
4
- //#region ../loader/dist/packages/core/dist/createProvider.js
5
- require_react();
6
- require_jsx_runtime();
7
- //#endregion