@yahoo/uds-v5-wip 1.56.0 → 1.58.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 (85) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +7 -0
  2. package/dist/config/dist/createConfig.d.ts +1 -22
  3. package/dist/config/dist/createConfig.js +3 -87
  4. package/dist/config/dist/preset-merge.js +0 -19
  5. package/dist/config/dist/serialize.js +0 -1
  6. package/dist/core/dist/compositeStyles.d.ts +1 -2
  7. package/dist/core/dist/configurable-prop-helpers.d.ts +1 -2
  8. package/dist/core/dist/createComponent.d.ts +1 -2
  9. package/dist/core/dist/createComponentExample.d.ts +1 -2
  10. package/dist/core/dist/createProvider.d.ts +1 -2
  11. package/dist/core/dist/generated/stylePropsTwMap.d.ts +1 -2
  12. package/dist/core/dist/getComponentStyles.d.ts +1 -2
  13. package/dist/core/dist/getStyles.d.ts +1 -2
  14. package/dist/core/dist/modifier-mappings.d.ts +1 -2
  15. package/dist/core/dist/resolveMotionState.d.ts +1 -2
  16. package/dist/core/dist/style-prop-data.d.ts +1 -2
  17. package/dist/core/dist/transformPreset.d.ts +1 -2
  18. package/dist/core/dist/withDefaultStyleProps.d.ts +1 -2
  19. package/dist/loader/dist/loader/create-component-lowering.js +1 -1
  20. package/dist/loader/dist/loader/data-attr-transform.js +1 -1
  21. package/dist/loader/dist/loader/lower-new-api-primitive.js +28 -0
  22. package/dist/loader/dist/loader/style-transform.js +4 -4
  23. package/dist/loader/dist/loader.d.ts +1 -2
  24. package/dist/loader/dist/loader.js +3 -3
  25. package/dist/loader/dist/next.d.ts +1 -2
  26. package/dist/loader/dist/next.js +1 -1
  27. package/dist/loader.js +1 -1
  28. package/dist/presets/dist/defaultPreset.js +1 -18
  29. package/dist/tsconfig.tsbuildinfo +1 -1
  30. package/package.json +3 -9
  31. package/dist/loader/dist/_virtual/_rolldown/runtime.js +0 -6
  32. package/dist/loader/dist/node_modules/react/cjs/react-jsx-runtime.development.js +0 -203
  33. package/dist/loader/dist/node_modules/react/cjs/react-jsx-runtime.production.js +0 -25
  34. package/dist/loader/dist/node_modules/react/cjs/react.development.js +0 -762
  35. package/dist/loader/dist/node_modules/react/cjs/react.production.js +0 -351
  36. package/dist/loader/dist/node_modules/react/index.js +0 -10
  37. package/dist/loader/dist/node_modules/react/jsx-runtime.js +0 -10
  38. package/dist/loader/dist/packages/core/dist/color-opacity-map.js +0 -33
  39. package/dist/loader/dist/packages/core/dist/compositeStyles.js +0 -43
  40. package/dist/loader/dist/packages/core/dist/createComponent.js +0 -6
  41. package/dist/loader/dist/packages/core/dist/createProvider.js +0 -7
  42. package/dist/loader/dist/packages/core/dist/generated/stylePropsTwMap.js +0 -570
  43. package/dist/loader/dist/packages/core/dist/getComponentStyles.js +0 -2
  44. package/dist/loader/dist/packages/core/dist/getStyles.js +0 -60
  45. package/dist/loader/dist/packages/core/dist/index.js +0 -6
  46. package/dist/loader/dist/packages/core/dist/modifier-mappings.js +0 -61
  47. package/dist/loader/dist/packages/core/dist/style-prop-data.js +0 -1257
  48. package/dist/loader/dist/packages/core/dist/withDefaultStyleProps.js +0 -1
  49. package/dist/remotion/dist/components/image-slide.config.js +0 -43
  50. package/dist/remotion/dist/components/image-slide.d.ts +0 -20
  51. package/dist/remotion/dist/components/image-slide.js +0 -24
  52. package/dist/remotion/dist/components/index.js +0 -16
  53. package/dist/remotion/dist/components/lower-third.config.js +0 -54
  54. package/dist/remotion/dist/components/lower-third.d.ts +0 -21
  55. package/dist/remotion/dist/components/lower-third.js +0 -26
  56. package/dist/remotion/dist/components/quote-card.config.js +0 -85
  57. package/dist/remotion/dist/components/quote-card.d.ts +0 -21
  58. package/dist/remotion/dist/components/quote-card.js +0 -27
  59. package/dist/remotion/dist/components/split-screen.config.js +0 -90
  60. package/dist/remotion/dist/components/split-screen.d.ts +0 -25
  61. package/dist/remotion/dist/components/split-screen.js +0 -35
  62. package/dist/remotion/dist/components/stat-card.config.js +0 -55
  63. package/dist/remotion/dist/components/stat-card.d.ts +0 -19
  64. package/dist/remotion/dist/components/stat-card.js +0 -23
  65. package/dist/remotion/dist/components/text-overlay.config.js +0 -46
  66. package/dist/remotion/dist/components/text-overlay.d.ts +0 -17
  67. package/dist/remotion/dist/components/text-overlay.js +0 -16
  68. package/dist/remotion/dist/components/title-card.config.js +0 -56
  69. package/dist/remotion/dist/components/title-card.d.ts +0 -19
  70. package/dist/remotion/dist/components/title-card.js +0 -23
  71. package/dist/remotion/dist/components/typing-text.config.js +0 -57
  72. package/dist/remotion/dist/components/typing-text.d.ts +0 -21
  73. package/dist/remotion/dist/components/typing-text.js +0 -23
  74. package/dist/remotion/dist/index.d.ts +0 -8
  75. package/dist/remotion/dist/index.js +0 -8
  76. package/dist/remotion/dist/transitions/fade.js +0 -19
  77. package/dist/remotion/dist/transitions/index.js +0 -7
  78. package/dist/remotion/dist/transitions/slide-down.js +0 -21
  79. package/dist/remotion/dist/transitions/slide-left.js +0 -21
  80. package/dist/remotion/dist/transitions/slide-right.js +0 -21
  81. package/dist/remotion/dist/transitions/slide-up.js +0 -21
  82. package/dist/remotion/dist/transitions/wipe.js +0 -21
  83. package/dist/remotion/dist/transitions/zoom.js +0 -19
  84. package/dist/remotion.d.ts +0 -9
  85. package/dist/remotion.js +0 -10
@@ -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.5";
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,33 +0,0 @@
1
- //#region ../loader/dist/packages/core/dist/color-opacity-map.js
2
- /**
3
- * Maps each color prop name to its corresponding opacity prop name.
4
- * Used by the runtime (`getStyles`) and loader (`style-transform`) to merge
5
- * a color value with its opacity before class generation.
6
- *
7
- * @example
8
- * `bg="primary"` + `bgOpacity="75"` → class `bg-primary_75`
9
- */
10
- const colorPropToOpacityProp = {
11
- bg: "bgOpacity",
12
- color: "colorOpacity",
13
- textDecorationColor: "textDecorationColorOpacity",
14
- borderColor: "borderColorOpacity",
15
- borderYColor: "borderYColorOpacity",
16
- borderXColor: "borderXColorOpacity",
17
- borderStartColor: "borderStartColorOpacity",
18
- borderLeftColor: "borderLeftColorOpacity",
19
- borderEndColor: "borderEndColorOpacity",
20
- borderRightColor: "borderRightColorOpacity",
21
- borderTopColor: "borderTopColorOpacity",
22
- borderBottomColor: "borderBottomColorOpacity",
23
- divideColor: "divideColorOpacity",
24
- outlineColor: "outlineColorOpacity",
25
- ringColor: "ringColorOpacity",
26
- ringOffsetColor: "ringOffsetColorOpacity",
27
- fillColor: "fillColorOpacity",
28
- strokeColor: "strokeColorOpacity",
29
- shadowColor: "shadowColorOpacity",
30
- caretColor: "caretColorOpacity"
31
- };
32
- //#endregion
33
- export { colorPropToOpacityProp };
@@ -1,43 +0,0 @@
1
- import { safeTokenName } from "../../../../../utils/dist/string-utils/cssVar.js";
2
- import "../../../../../utils/dist/index.js";
3
- //#region ../loader/dist/packages/core/dist/compositeStyles.js
4
- /**
5
- * Runtime composite-styles config — set by the loader/codegen at build time.
6
- * Maps composite-style group names to a `{ label, description?, styles }`
7
- * definition where `styles` holds variant id -> style bag.
8
- */
9
- let compositeStylesConfig = {};
10
- /**
11
- * Expand composite-style props into their constituent style props + marker classes.
12
- *
13
- * - Composite styles are lowest priority: explicit props always win
14
- * - Nested composite styles are supported (a style bag can reference another group)
15
- * - Circular references are detected and throw
16
- * - Marker classes (e.g. "elevation-0") are returned for modifier targeting
17
- */
18
- function expandCompositeStyles(props, config = compositeStylesConfig) {
19
- const expanded = {};
20
- const markers = [];
21
- const seen = /* @__PURE__ */ new Set();
22
- function expand(key, value) {
23
- const def = config[key];
24
- if (def && typeof value === "string") {
25
- if (seen.has(key)) throw new Error(`Circular composite style: ${[...seen, key].join(" → ")}`);
26
- seen.add(key);
27
- markers.push(`${key}-${safeTokenName(value)}`);
28
- const bag = def.styles[value];
29
- if (bag) {
30
- for (const [k, v] of Object.entries(bag)) if (!(k in expanded)) expand(k, v);
31
- }
32
- seen.delete(key);
33
- } else if (!(key in expanded)) expanded[key] = value;
34
- }
35
- for (const [key, value] of Object.entries(props)) if (key in config) expand(key, value);
36
- for (const [key, value] of Object.entries(props)) if (!(key in config)) expanded[key] = value;
37
- return {
38
- expanded,
39
- markerClasses: markers
40
- };
41
- }
42
- //#endregion
43
- export { expandCompositeStyles };
@@ -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