@react-hive/honey-style 8.3.3 → 8.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +7 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.dev.cjs +12 -379
- package/dist/index.dev.cjs.map +1 -1
- package/dist/index.mjs +5 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/index.cjs.LICENSE.txt +0 -9
- package/dist/index.mjs.LICENSE.txt +0 -9
package/dist/index.dev.cjs
CHANGED
|
@@ -2,384 +2,6 @@
|
|
|
2
2
|
/******/ "use strict";
|
|
3
3
|
/******/ var __webpack_modules__ = ({
|
|
4
4
|
|
|
5
|
-
/***/ "./node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.development.js"
|
|
6
|
-
/*!*************************************************************************************************!*\
|
|
7
|
-
!*** ./node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.development.js ***!
|
|
8
|
-
\*************************************************************************************************/
|
|
9
|
-
(__unused_webpack_module, exports, __webpack_require__) {
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* @license React
|
|
13
|
-
* react-jsx-runtime.development.js
|
|
14
|
-
*
|
|
15
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
16
|
-
*
|
|
17
|
-
* This source code is licensed under the MIT license found in the
|
|
18
|
-
* LICENSE file in the root directory of this source tree.
|
|
19
|
-
*/
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
true &&
|
|
23
|
-
(function () {
|
|
24
|
-
function getComponentNameFromType(type) {
|
|
25
|
-
if (null == type) return null;
|
|
26
|
-
if ("function" === typeof type)
|
|
27
|
-
return type.$$typeof === REACT_CLIENT_REFERENCE
|
|
28
|
-
? null
|
|
29
|
-
: type.displayName || type.name || null;
|
|
30
|
-
if ("string" === typeof type) return type;
|
|
31
|
-
switch (type) {
|
|
32
|
-
case REACT_FRAGMENT_TYPE:
|
|
33
|
-
return "Fragment";
|
|
34
|
-
case REACT_PROFILER_TYPE:
|
|
35
|
-
return "Profiler";
|
|
36
|
-
case REACT_STRICT_MODE_TYPE:
|
|
37
|
-
return "StrictMode";
|
|
38
|
-
case REACT_SUSPENSE_TYPE:
|
|
39
|
-
return "Suspense";
|
|
40
|
-
case REACT_SUSPENSE_LIST_TYPE:
|
|
41
|
-
return "SuspenseList";
|
|
42
|
-
case REACT_ACTIVITY_TYPE:
|
|
43
|
-
return "Activity";
|
|
44
|
-
}
|
|
45
|
-
if ("object" === typeof type)
|
|
46
|
-
switch (
|
|
47
|
-
("number" === typeof type.tag &&
|
|
48
|
-
console.error(
|
|
49
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
50
|
-
),
|
|
51
|
-
type.$$typeof)
|
|
52
|
-
) {
|
|
53
|
-
case REACT_PORTAL_TYPE:
|
|
54
|
-
return "Portal";
|
|
55
|
-
case REACT_CONTEXT_TYPE:
|
|
56
|
-
return type.displayName || "Context";
|
|
57
|
-
case REACT_CONSUMER_TYPE:
|
|
58
|
-
return (type._context.displayName || "Context") + ".Consumer";
|
|
59
|
-
case REACT_FORWARD_REF_TYPE:
|
|
60
|
-
var innerType = type.render;
|
|
61
|
-
type = type.displayName;
|
|
62
|
-
type ||
|
|
63
|
-
((type = innerType.displayName || innerType.name || ""),
|
|
64
|
-
(type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
|
|
65
|
-
return type;
|
|
66
|
-
case REACT_MEMO_TYPE:
|
|
67
|
-
return (
|
|
68
|
-
(innerType = type.displayName || null),
|
|
69
|
-
null !== innerType
|
|
70
|
-
? innerType
|
|
71
|
-
: getComponentNameFromType(type.type) || "Memo"
|
|
72
|
-
);
|
|
73
|
-
case REACT_LAZY_TYPE:
|
|
74
|
-
innerType = type._payload;
|
|
75
|
-
type = type._init;
|
|
76
|
-
try {
|
|
77
|
-
return getComponentNameFromType(type(innerType));
|
|
78
|
-
} catch (x) {}
|
|
79
|
-
}
|
|
80
|
-
return null;
|
|
81
|
-
}
|
|
82
|
-
function testStringCoercion(value) {
|
|
83
|
-
return "" + value;
|
|
84
|
-
}
|
|
85
|
-
function checkKeyStringCoercion(value) {
|
|
86
|
-
try {
|
|
87
|
-
testStringCoercion(value);
|
|
88
|
-
var JSCompiler_inline_result = !1;
|
|
89
|
-
} catch (e) {
|
|
90
|
-
JSCompiler_inline_result = !0;
|
|
91
|
-
}
|
|
92
|
-
if (JSCompiler_inline_result) {
|
|
93
|
-
JSCompiler_inline_result = console;
|
|
94
|
-
var JSCompiler_temp_const = JSCompiler_inline_result.error;
|
|
95
|
-
var JSCompiler_inline_result$jscomp$0 =
|
|
96
|
-
("function" === typeof Symbol &&
|
|
97
|
-
Symbol.toStringTag &&
|
|
98
|
-
value[Symbol.toStringTag]) ||
|
|
99
|
-
value.constructor.name ||
|
|
100
|
-
"Object";
|
|
101
|
-
JSCompiler_temp_const.call(
|
|
102
|
-
JSCompiler_inline_result,
|
|
103
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
104
|
-
JSCompiler_inline_result$jscomp$0
|
|
105
|
-
);
|
|
106
|
-
return testStringCoercion(value);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
function getTaskName(type) {
|
|
110
|
-
if (type === REACT_FRAGMENT_TYPE) return "<>";
|
|
111
|
-
if (
|
|
112
|
-
"object" === typeof type &&
|
|
113
|
-
null !== type &&
|
|
114
|
-
type.$$typeof === REACT_LAZY_TYPE
|
|
115
|
-
)
|
|
116
|
-
return "<...>";
|
|
117
|
-
try {
|
|
118
|
-
var name = getComponentNameFromType(type);
|
|
119
|
-
return name ? "<" + name + ">" : "<...>";
|
|
120
|
-
} catch (x) {
|
|
121
|
-
return "<...>";
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
function getOwner() {
|
|
125
|
-
var dispatcher = ReactSharedInternals.A;
|
|
126
|
-
return null === dispatcher ? null : dispatcher.getOwner();
|
|
127
|
-
}
|
|
128
|
-
function UnknownOwner() {
|
|
129
|
-
return Error("react-stack-top-frame");
|
|
130
|
-
}
|
|
131
|
-
function hasValidKey(config) {
|
|
132
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
133
|
-
var getter = Object.getOwnPropertyDescriptor(config, "key").get;
|
|
134
|
-
if (getter && getter.isReactWarning) return !1;
|
|
135
|
-
}
|
|
136
|
-
return void 0 !== config.key;
|
|
137
|
-
}
|
|
138
|
-
function defineKeyPropWarningGetter(props, displayName) {
|
|
139
|
-
function warnAboutAccessingKey() {
|
|
140
|
-
specialPropKeyWarningShown ||
|
|
141
|
-
((specialPropKeyWarningShown = !0),
|
|
142
|
-
console.error(
|
|
143
|
-
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
144
|
-
displayName
|
|
145
|
-
));
|
|
146
|
-
}
|
|
147
|
-
warnAboutAccessingKey.isReactWarning = !0;
|
|
148
|
-
Object.defineProperty(props, "key", {
|
|
149
|
-
get: warnAboutAccessingKey,
|
|
150
|
-
configurable: !0
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
function elementRefGetterWithDeprecationWarning() {
|
|
154
|
-
var componentName = getComponentNameFromType(this.type);
|
|
155
|
-
didWarnAboutElementRef[componentName] ||
|
|
156
|
-
((didWarnAboutElementRef[componentName] = !0),
|
|
157
|
-
console.error(
|
|
158
|
-
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
159
|
-
));
|
|
160
|
-
componentName = this.props.ref;
|
|
161
|
-
return void 0 !== componentName ? componentName : null;
|
|
162
|
-
}
|
|
163
|
-
function ReactElement(type, key, props, owner, debugStack, debugTask) {
|
|
164
|
-
var refProp = props.ref;
|
|
165
|
-
type = {
|
|
166
|
-
$$typeof: REACT_ELEMENT_TYPE,
|
|
167
|
-
type: type,
|
|
168
|
-
key: key,
|
|
169
|
-
props: props,
|
|
170
|
-
_owner: owner
|
|
171
|
-
};
|
|
172
|
-
null !== (void 0 !== refProp ? refProp : null)
|
|
173
|
-
? Object.defineProperty(type, "ref", {
|
|
174
|
-
enumerable: !1,
|
|
175
|
-
get: elementRefGetterWithDeprecationWarning
|
|
176
|
-
})
|
|
177
|
-
: Object.defineProperty(type, "ref", { enumerable: !1, value: null });
|
|
178
|
-
type._store = {};
|
|
179
|
-
Object.defineProperty(type._store, "validated", {
|
|
180
|
-
configurable: !1,
|
|
181
|
-
enumerable: !1,
|
|
182
|
-
writable: !0,
|
|
183
|
-
value: 0
|
|
184
|
-
});
|
|
185
|
-
Object.defineProperty(type, "_debugInfo", {
|
|
186
|
-
configurable: !1,
|
|
187
|
-
enumerable: !1,
|
|
188
|
-
writable: !0,
|
|
189
|
-
value: null
|
|
190
|
-
});
|
|
191
|
-
Object.defineProperty(type, "_debugStack", {
|
|
192
|
-
configurable: !1,
|
|
193
|
-
enumerable: !1,
|
|
194
|
-
writable: !0,
|
|
195
|
-
value: debugStack
|
|
196
|
-
});
|
|
197
|
-
Object.defineProperty(type, "_debugTask", {
|
|
198
|
-
configurable: !1,
|
|
199
|
-
enumerable: !1,
|
|
200
|
-
writable: !0,
|
|
201
|
-
value: debugTask
|
|
202
|
-
});
|
|
203
|
-
Object.freeze && (Object.freeze(type.props), Object.freeze(type));
|
|
204
|
-
return type;
|
|
205
|
-
}
|
|
206
|
-
function jsxDEVImpl(
|
|
207
|
-
type,
|
|
208
|
-
config,
|
|
209
|
-
maybeKey,
|
|
210
|
-
isStaticChildren,
|
|
211
|
-
debugStack,
|
|
212
|
-
debugTask
|
|
213
|
-
) {
|
|
214
|
-
var children = config.children;
|
|
215
|
-
if (void 0 !== children)
|
|
216
|
-
if (isStaticChildren)
|
|
217
|
-
if (isArrayImpl(children)) {
|
|
218
|
-
for (
|
|
219
|
-
isStaticChildren = 0;
|
|
220
|
-
isStaticChildren < children.length;
|
|
221
|
-
isStaticChildren++
|
|
222
|
-
)
|
|
223
|
-
validateChildKeys(children[isStaticChildren]);
|
|
224
|
-
Object.freeze && Object.freeze(children);
|
|
225
|
-
} else
|
|
226
|
-
console.error(
|
|
227
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
228
|
-
);
|
|
229
|
-
else validateChildKeys(children);
|
|
230
|
-
if (hasOwnProperty.call(config, "key")) {
|
|
231
|
-
children = getComponentNameFromType(type);
|
|
232
|
-
var keys = Object.keys(config).filter(function (k) {
|
|
233
|
-
return "key" !== k;
|
|
234
|
-
});
|
|
235
|
-
isStaticChildren =
|
|
236
|
-
0 < keys.length
|
|
237
|
-
? "{key: someKey, " + keys.join(": ..., ") + ": ...}"
|
|
238
|
-
: "{key: someKey}";
|
|
239
|
-
didWarnAboutKeySpread[children + isStaticChildren] ||
|
|
240
|
-
((keys =
|
|
241
|
-
0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
|
|
242
|
-
console.error(
|
|
243
|
-
'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
|
|
244
|
-
isStaticChildren,
|
|
245
|
-
children,
|
|
246
|
-
keys,
|
|
247
|
-
children
|
|
248
|
-
),
|
|
249
|
-
(didWarnAboutKeySpread[children + isStaticChildren] = !0));
|
|
250
|
-
}
|
|
251
|
-
children = null;
|
|
252
|
-
void 0 !== maybeKey &&
|
|
253
|
-
(checkKeyStringCoercion(maybeKey), (children = "" + maybeKey));
|
|
254
|
-
hasValidKey(config) &&
|
|
255
|
-
(checkKeyStringCoercion(config.key), (children = "" + config.key));
|
|
256
|
-
if ("key" in config) {
|
|
257
|
-
maybeKey = {};
|
|
258
|
-
for (var propName in config)
|
|
259
|
-
"key" !== propName && (maybeKey[propName] = config[propName]);
|
|
260
|
-
} else maybeKey = config;
|
|
261
|
-
children &&
|
|
262
|
-
defineKeyPropWarningGetter(
|
|
263
|
-
maybeKey,
|
|
264
|
-
"function" === typeof type
|
|
265
|
-
? type.displayName || type.name || "Unknown"
|
|
266
|
-
: type
|
|
267
|
-
);
|
|
268
|
-
return ReactElement(
|
|
269
|
-
type,
|
|
270
|
-
children,
|
|
271
|
-
maybeKey,
|
|
272
|
-
getOwner(),
|
|
273
|
-
debugStack,
|
|
274
|
-
debugTask
|
|
275
|
-
);
|
|
276
|
-
}
|
|
277
|
-
function validateChildKeys(node) {
|
|
278
|
-
isValidElement(node)
|
|
279
|
-
? node._store && (node._store.validated = 1)
|
|
280
|
-
: "object" === typeof node &&
|
|
281
|
-
null !== node &&
|
|
282
|
-
node.$$typeof === REACT_LAZY_TYPE &&
|
|
283
|
-
("fulfilled" === node._payload.status
|
|
284
|
-
? isValidElement(node._payload.value) &&
|
|
285
|
-
node._payload.value._store &&
|
|
286
|
-
(node._payload.value._store.validated = 1)
|
|
287
|
-
: node._store && (node._store.validated = 1));
|
|
288
|
-
}
|
|
289
|
-
function isValidElement(object) {
|
|
290
|
-
return (
|
|
291
|
-
"object" === typeof object &&
|
|
292
|
-
null !== object &&
|
|
293
|
-
object.$$typeof === REACT_ELEMENT_TYPE
|
|
294
|
-
);
|
|
295
|
-
}
|
|
296
|
-
var React = __webpack_require__(/*! react */ "react"),
|
|
297
|
-
REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
|
|
298
|
-
REACT_PORTAL_TYPE = Symbol.for("react.portal"),
|
|
299
|
-
REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
|
|
300
|
-
REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
|
|
301
|
-
REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
|
|
302
|
-
REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
|
|
303
|
-
REACT_CONTEXT_TYPE = Symbol.for("react.context"),
|
|
304
|
-
REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
|
|
305
|
-
REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
|
|
306
|
-
REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
|
|
307
|
-
REACT_MEMO_TYPE = Symbol.for("react.memo"),
|
|
308
|
-
REACT_LAZY_TYPE = Symbol.for("react.lazy"),
|
|
309
|
-
REACT_ACTIVITY_TYPE = Symbol.for("react.activity"),
|
|
310
|
-
REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
|
|
311
|
-
ReactSharedInternals =
|
|
312
|
-
React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
|
|
313
|
-
hasOwnProperty = Object.prototype.hasOwnProperty,
|
|
314
|
-
isArrayImpl = Array.isArray,
|
|
315
|
-
createTask = console.createTask
|
|
316
|
-
? console.createTask
|
|
317
|
-
: function () {
|
|
318
|
-
return null;
|
|
319
|
-
};
|
|
320
|
-
React = {
|
|
321
|
-
react_stack_bottom_frame: function (callStackForError) {
|
|
322
|
-
return callStackForError();
|
|
323
|
-
}
|
|
324
|
-
};
|
|
325
|
-
var specialPropKeyWarningShown;
|
|
326
|
-
var didWarnAboutElementRef = {};
|
|
327
|
-
var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(
|
|
328
|
-
React,
|
|
329
|
-
UnknownOwner
|
|
330
|
-
)();
|
|
331
|
-
var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
|
|
332
|
-
var didWarnAboutKeySpread = {};
|
|
333
|
-
exports.Fragment = REACT_FRAGMENT_TYPE;
|
|
334
|
-
exports.jsx = function (type, config, maybeKey) {
|
|
335
|
-
var trackActualOwner =
|
|
336
|
-
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
337
|
-
return jsxDEVImpl(
|
|
338
|
-
type,
|
|
339
|
-
config,
|
|
340
|
-
maybeKey,
|
|
341
|
-
!1,
|
|
342
|
-
trackActualOwner
|
|
343
|
-
? Error("react-stack-top-frame")
|
|
344
|
-
: unknownOwnerDebugStack,
|
|
345
|
-
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
346
|
-
);
|
|
347
|
-
};
|
|
348
|
-
exports.jsxs = function (type, config, maybeKey) {
|
|
349
|
-
var trackActualOwner =
|
|
350
|
-
1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
|
|
351
|
-
return jsxDEVImpl(
|
|
352
|
-
type,
|
|
353
|
-
config,
|
|
354
|
-
maybeKey,
|
|
355
|
-
!0,
|
|
356
|
-
trackActualOwner
|
|
357
|
-
? Error("react-stack-top-frame")
|
|
358
|
-
: unknownOwnerDebugStack,
|
|
359
|
-
trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask
|
|
360
|
-
);
|
|
361
|
-
};
|
|
362
|
-
})();
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
/***/ },
|
|
366
|
-
|
|
367
|
-
/***/ "./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js"
|
|
368
|
-
/*!***************************************************************************!*\
|
|
369
|
-
!*** ./node_modules/.pnpm/react@19.2.7/node_modules/react/jsx-runtime.js ***!
|
|
370
|
-
\***************************************************************************/
|
|
371
|
-
(module, __unused_webpack_exports, __webpack_require__) {
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
if (false) // removed by dead control flow
|
|
376
|
-
{} else {
|
|
377
|
-
module.exports = __webpack_require__(/*! ./cjs/react-jsx-runtime.development.js */ "./node_modules/.pnpm/react@19.2.7/node_modules/react/cjs/react-jsx-runtime.development.js");
|
|
378
|
-
}
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
/***/ },
|
|
382
|
-
|
|
383
5
|
/***/ "./src/constants.ts"
|
|
384
6
|
/*!**************************!*\
|
|
385
7
|
!*** ./src/constants.ts ***!
|
|
@@ -1823,7 +1445,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1823
1445
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
1824
1446
|
/* harmony export */ HoneyStyleProvider: () => (/* binding */ HoneyStyleProvider)
|
|
1825
1447
|
/* harmony export */ });
|
|
1826
|
-
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "
|
|
1448
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ "react/jsx-runtime");
|
|
1449
|
+
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__);
|
|
1827
1450
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react */ "react");
|
|
1828
1451
|
/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_1__);
|
|
1829
1452
|
/* harmony import */ var _contexts__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../contexts */ "./src/contexts/index.ts");
|
|
@@ -2242,6 +1865,16 @@ module.exports = require("react");
|
|
|
2242
1865
|
|
|
2243
1866
|
/***/ },
|
|
2244
1867
|
|
|
1868
|
+
/***/ "react/jsx-runtime"
|
|
1869
|
+
/*!************************************!*\
|
|
1870
|
+
!*** external "react/jsx-runtime" ***!
|
|
1871
|
+
\************************************/
|
|
1872
|
+
(module) {
|
|
1873
|
+
|
|
1874
|
+
module.exports = require("react/jsx-runtime");
|
|
1875
|
+
|
|
1876
|
+
/***/ },
|
|
1877
|
+
|
|
2245
1878
|
/***/ "./node_modules/.pnpm/@react-hive+honey-css@1.20.1/node_modules/@react-hive/honey-css/dist/index.mjs"
|
|
2246
1879
|
/*!***********************************************************************************************************!*\
|
|
2247
1880
|
!*** ./node_modules/.pnpm/@react-hive+honey-css@1.20.1/node_modules/@react-hive/honey-css/dist/index.mjs ***!
|