entangle-ui 0.6.1 → 0.6.3
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/CHANGELOG.md +12 -0
- package/README.md +8 -3
- package/dist/esm/_virtual/_commonjsHelpers.js +6 -0
- package/dist/esm/_virtual/_commonjsHelpers.js.map +1 -0
- package/dist/esm/_virtual/cssesc.js +5 -1
- package/dist/esm/_virtual/cssesc.js.map +1 -1
- package/dist/esm/_virtual/picocolors.js +8 -0
- package/dist/esm/_virtual/picocolors.js.map +1 -0
- package/dist/esm/_virtual/picocolors2.js +4 -0
- package/dist/esm/_virtual/picocolors2.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +56 -0
- package/dist/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -0
- package/dist/esm/node_modules/@vanilla-extract/css/adapter/dist/vanilla-extract-css-adapter.esm.js +32 -1
- package/dist/esm/node_modules/@vanilla-extract/css/adapter/dist/vanilla-extract-css-adapter.esm.js.map +1 -1
- package/dist/esm/node_modules/@vanilla-extract/css/dist/taggedTemplateLiteral-10998315.esm.js +13 -0
- package/dist/esm/node_modules/@vanilla-extract/css/dist/taggedTemplateLiteral-10998315.esm.js.map +1 -0
- package/dist/esm/node_modules/@vanilla-extract/css/dist/transformCss-fd0786e1.esm.js +837 -3
- package/dist/esm/node_modules/@vanilla-extract/css/dist/transformCss-fd0786e1.esm.js.map +1 -1
- package/dist/esm/node_modules/@vanilla-extract/css/dist/vanilla-extract-css.esm.js +244 -5
- package/dist/esm/node_modules/@vanilla-extract/css/dist/vanilla-extract-css.esm.js.map +1 -1
- package/dist/esm/node_modules/@vanilla-extract/css/fileScope/dist/vanilla-extract-css-fileScope.esm.js +18 -0
- package/dist/esm/node_modules/@vanilla-extract/css/fileScope/dist/vanilla-extract-css-fileScope.esm.js.map +1 -0
- package/dist/esm/node_modules/@vanilla-extract/css/injectStyles/dist/vanilla-extract-css-injectStyles.esm.js +23 -0
- package/dist/esm/node_modules/@vanilla-extract/css/injectStyles/dist/vanilla-extract-css-injectStyles.esm.js.map +1 -0
- package/dist/esm/node_modules/@vanilla-extract/private/dist/vanilla-extract-private.esm.js +38 -0
- package/dist/esm/node_modules/@vanilla-extract/private/dist/vanilla-extract-private.esm.js.map +1 -0
- package/dist/esm/node_modules/css-what/lib/es/parse.js +424 -0
- package/dist/esm/node_modules/css-what/lib/es/parse.js.map +1 -0
- package/dist/esm/node_modules/css-what/lib/es/types.js +29 -0
- package/dist/esm/node_modules/css-what/lib/es/types.js.map +1 -0
- package/dist/esm/node_modules/dedent/dist/dedent.js +3 -1
- package/dist/esm/node_modules/dedent/dist/dedent.js.map +1 -1
- package/dist/esm/node_modules/deep-object-diff/mjs/diff.js +40 -0
- package/dist/esm/node_modules/deep-object-diff/mjs/diff.js.map +1 -0
- package/dist/esm/node_modules/deep-object-diff/mjs/utils.js +9 -0
- package/dist/esm/node_modules/deep-object-diff/mjs/utils.js.map +1 -0
- package/dist/esm/node_modules/media-query-parser/dist/media-query-parser.esm.js +1386 -0
- package/dist/esm/node_modules/media-query-parser/dist/media-query-parser.esm.js.map +1 -0
- package/dist/esm/node_modules/modern-ahocorasick/dist/index.js +102 -0
- package/dist/esm/node_modules/modern-ahocorasick/dist/index.js.map +1 -0
- package/dist/esm/node_modules/picocolors/picocolors.js +87 -0
- package/dist/esm/node_modules/picocolors/picocolors.js.map +1 -0
- package/dist/esm/theme/createCustomTheme.js +33 -0
- package/dist/esm/theme/createCustomTheme.js.map +1 -0
- package/dist/esm/utils/mathExpression.js +3 -3
- package/dist/esm/utils/objects.js +22 -0
- package/dist/esm/utils/objects.js.map +1 -0
- package/dist/types/index.d.ts +2 -1
- package/dist/types/theme/createCustomTheme.d.ts +29 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# entangle-ui
|
|
2
2
|
|
|
3
|
+
## 0.6.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#42](https://github.com/SebastianWebdev/entangle-ui/pull/42) [`e728388`](https://github.com/SebastianWebdev/entangle-ui/commit/e7283883d5323ff9eba8764991dd6b6af393b09a) Thanks [@SebastianWebdev](https://github.com/SebastianWebdev)! - Update README: remove alpha tag, add missing peer dependencies, export createCustomTheme from main entry point
|
|
8
|
+
|
|
9
|
+
## 0.6.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#40](https://github.com/SebastianWebdev/entangle-ui/pull/40) [`e741f82`](https://github.com/SebastianWebdev/entangle-ui/commit/e741f828607ed018073d8b597b6f7695bba94ec7) Thanks [@SebastianWebdev](https://github.com/SebastianWebdev)! - Reword mathExpression JSDoc to avoid socket.dev false positive alerts
|
|
14
|
+
|
|
3
15
|
## 0.6.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# Entangle UI
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/entangle-ui)
|
|
4
|
+
[](https://socket.dev/npm/package/entangle-ui)
|
|
5
|
+
|
|
3
6
|
React + TypeScript component library for building editor-style interfaces.
|
|
4
7
|
|
|
5
8
|
`entangle-ui` is focused on dense, keyboard-friendly UI patterns used in tools like 3D editors, node editors, scene inspectors, and technical dashboards.
|
|
@@ -8,15 +11,15 @@ React + TypeScript component library for building editor-style interfaces.
|
|
|
8
11
|
|
|
9
12
|
## Status
|
|
10
13
|
|
|
11
|
-
This package is
|
|
14
|
+
This package is still evolving.
|
|
12
15
|
|
|
13
|
-
- API can change between
|
|
16
|
+
- API can change between minor releases.
|
|
14
17
|
- Use in production only if you are comfortable with rapid iteration.
|
|
15
18
|
|
|
16
19
|
## Installation
|
|
17
20
|
|
|
18
21
|
```bash
|
|
19
|
-
npm install entangle-ui
|
|
22
|
+
npm install entangle-ui
|
|
20
23
|
```
|
|
21
24
|
|
|
22
25
|
Peer dependencies:
|
|
@@ -25,6 +28,8 @@ Peer dependencies:
|
|
|
25
28
|
- `react-dom >= 19.1.0`
|
|
26
29
|
- `@base-ui/react ^1.1.0`
|
|
27
30
|
- `@floating-ui/react ^0.27.17`
|
|
31
|
+
- `@vanilla-extract/dynamic ^2.1.5`
|
|
32
|
+
- `@vanilla-extract/recipes ^0.5.7`
|
|
28
33
|
|
|
29
34
|
## Quick Start
|
|
30
35
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_commonjsHelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
|
|
1
2
|
import { __require as requireCssesc } from '../node_modules/cssesc/cssesc.js';
|
|
2
3
|
|
|
3
|
-
requireCssesc();
|
|
4
|
+
var cssescExports = requireCssesc();
|
|
5
|
+
var cssesc = /*@__PURE__*/getDefaultExportFromCjs(cssescExports);
|
|
6
|
+
|
|
7
|
+
export { cssesc as default };
|
|
4
8
|
//# sourceMappingURL=cssesc.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cssesc.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cssesc.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs } from './_commonjsHelpers.js';
|
|
2
|
+
import { __require as requirePicocolors } from '../node_modules/picocolors/picocolors.js';
|
|
3
|
+
|
|
4
|
+
var picocolorsExports = /*@__PURE__*/ requirePicocolors();
|
|
5
|
+
var pc = /*@__PURE__*/getDefaultExportFromCjs(picocolorsExports);
|
|
6
|
+
|
|
7
|
+
export { pc as default };
|
|
8
|
+
//# sourceMappingURL=picocolors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"picocolors.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"picocolors2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { vars } from './theme/contract.css.js';
|
|
2
2
|
export { darkThemeValues } from './theme/darkTheme.css.js';
|
|
3
|
-
|
|
3
|
+
export { createCustomTheme } from './theme/createCustomTheme.js';
|
|
4
4
|
export { VanillaThemeProvider } from './theme/VanillaThemeProvider.js';
|
|
5
5
|
export { ThemeProvider } from './theme/ThemeProvider.js';
|
|
6
6
|
export { Accordion } from './components/layout/Accordion/Accordion.js';
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// Inspired by https://github.com/garycourt/murmurhash-js
|
|
3
|
+
// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
|
|
4
|
+
function murmur2(str) {
|
|
5
|
+
// 'm' and 'r' are mixing constants generated offline.
|
|
6
|
+
// They're not really 'magic', they just happen to work well.
|
|
7
|
+
// const m = 0x5bd1e995;
|
|
8
|
+
// const r = 24;
|
|
9
|
+
// Initialize the hash
|
|
10
|
+
var h = 0; // Mix 4 bytes at a time into the hash
|
|
11
|
+
|
|
12
|
+
var k,
|
|
13
|
+
i = 0,
|
|
14
|
+
len = str.length;
|
|
15
|
+
|
|
16
|
+
for (; len >= 4; ++i, len -= 4) {
|
|
17
|
+
k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
|
|
18
|
+
k =
|
|
19
|
+
/* Math.imul(k, m): */
|
|
20
|
+
(k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
|
|
21
|
+
k ^=
|
|
22
|
+
/* k >>> r: */
|
|
23
|
+
k >>> 24;
|
|
24
|
+
h =
|
|
25
|
+
/* Math.imul(k, m): */
|
|
26
|
+
(k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^
|
|
27
|
+
/* Math.imul(h, m): */
|
|
28
|
+
(h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
|
|
29
|
+
} // Handle the last few bytes of the input array
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
switch (len) {
|
|
33
|
+
case 3:
|
|
34
|
+
h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
|
|
35
|
+
|
|
36
|
+
case 2:
|
|
37
|
+
h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
|
|
38
|
+
|
|
39
|
+
case 1:
|
|
40
|
+
h ^= str.charCodeAt(i) & 0xff;
|
|
41
|
+
h =
|
|
42
|
+
/* Math.imul(h, m): */
|
|
43
|
+
(h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
|
|
44
|
+
} // Do a few final mixes of the hash to ensure the last few
|
|
45
|
+
// bytes are well-incorporated.
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
h ^= h >>> 13;
|
|
49
|
+
h =
|
|
50
|
+
/* Math.imul(h, m): */
|
|
51
|
+
(h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
|
|
52
|
+
return ((h ^ h >>> 15) >>> 0).toString(36);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export { murmur2 as default };
|
|
56
|
+
//# sourceMappingURL=emotion-hash.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emotion-hash.esm.js","sources":["../../../../../../node_modules/@emotion/hash/dist/emotion-hash.esm.js"],"sourcesContent":["/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\nfunction murmur2(str) {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n // const m = 0x5bd1e995;\n // const r = 24;\n // Initialize the hash\n var h = 0; // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length;\n\n for (; len >= 4; ++i, len -= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);\n k ^=\n /* k >>> r: */\n k >>> 24;\n h =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Handle the last few bytes of the input array\n\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n\n h ^= h >>> 13;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n return ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\nexport { murmur2 as default };\n"],"names":[],"mappings":"AAAA;AACA;AACA;AACA,SAAS,OAAO,CAAC,GAAG,EAAE;AACtB;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;;AAEZ,EAAE,IAAI,CAAC;AACP,MAAM,CAAC,GAAG,CAAC;AACX,MAAM,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AC,GAAG,IAAI;AACnC,MAAM,CAAC;AACP;AACA,MAAM,CAAC,CAAC,GAAG,MAAM,IAAI,UAAU,IAAI,CAAC,CAAC,KAAK,EAAE,IAAI,MAAM,IAAI,EAAE,CAAC;AAC7D,GAAG;AACH;;;AAGA,EAAE,CAAC,IAAI,CAAC,KAAK,EAAE;AACf,EAAE,CAAC;AACH;AACA,EAAE,CAAC,CAAC,GAAG,MAAM,IAAI,UAAU,IAAI,CAAC,CAAC,KAAK,EAAE,IAAI,MAAM,IAAI,EAAE,CAAC;AACzD,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,EAAE,CAAC;AAC5C;;;;","x_google_ignoreList":[0]}
|
package/dist/esm/node_modules/@vanilla-extract/css/adapter/dist/vanilla-extract-css-adapter.esm.js
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
var mockAdapter = {
|
|
2
|
+
appendCss: () => {},
|
|
3
|
+
registerClassName: () => {},
|
|
4
|
+
onEndFileScope: () => {},
|
|
5
|
+
registerComposition: () => {},
|
|
6
|
+
markCompositionUsed: () => {},
|
|
7
|
+
getIdentOption: () => process.env.NODE_ENV === 'production' ? 'short' : 'debug'
|
|
8
|
+
};
|
|
9
|
+
var adapterStack = [mockAdapter];
|
|
10
|
+
var currentAdapter = () => {
|
|
11
|
+
if (adapterStack.length < 1) {
|
|
12
|
+
throw new Error('No adapter configured');
|
|
13
|
+
}
|
|
14
|
+
return adapterStack[adapterStack.length - 1];
|
|
15
|
+
};
|
|
1
16
|
var hasConfiguredAdapter = false;
|
|
2
17
|
var setAdapterIfNotSet = newAdapter => {
|
|
3
18
|
if (!hasConfiguredAdapter) {
|
|
@@ -9,7 +24,23 @@ var setAdapter = newAdapter => {
|
|
|
9
24
|
throw new Error('No adapter provided when calling "setAdapter"');
|
|
10
25
|
}
|
|
11
26
|
hasConfiguredAdapter = true;
|
|
27
|
+
adapterStack.push(newAdapter);
|
|
28
|
+
};
|
|
29
|
+
var appendCss = function appendCss() {
|
|
30
|
+
return currentAdapter().appendCss(...arguments);
|
|
31
|
+
};
|
|
32
|
+
var markCompositionUsed = function markCompositionUsed() {
|
|
33
|
+
return currentAdapter().markCompositionUsed(...arguments);
|
|
34
|
+
};
|
|
35
|
+
var getIdentOption = function getIdentOption() {
|
|
36
|
+
var adapter = currentAdapter();
|
|
37
|
+
|
|
38
|
+
// Backwards compatibility with old versions of the integration package
|
|
39
|
+
if (!('getIdentOption' in adapter)) {
|
|
40
|
+
return process.env.NODE_ENV === 'production' ? 'short' : 'debug';
|
|
41
|
+
}
|
|
42
|
+
return adapter.getIdentOption(...arguments);
|
|
12
43
|
};
|
|
13
44
|
|
|
14
|
-
export { setAdapter, setAdapterIfNotSet };
|
|
45
|
+
export { appendCss, getIdentOption, markCompositionUsed, mockAdapter, setAdapter, setAdapterIfNotSet };
|
|
15
46
|
//# sourceMappingURL=vanilla-extract-css-adapter.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vanilla-extract-css-adapter.esm.js","sources":["../../../../../../../node_modules/@vanilla-extract/css/adapter/dist/vanilla-extract-css-adapter.esm.js"],"sourcesContent":["var mockAdapter = {\n appendCss: () => {},\n registerClassName: () => {},\n onEndFileScope: () => {},\n registerComposition: () => {},\n markCompositionUsed: () => {},\n getIdentOption: () => process.env.NODE_ENV === 'production' ? 'short' : 'debug'\n};\nvar adapterStack = [mockAdapter];\nvar currentAdapter = () => {\n if (adapterStack.length < 1) {\n throw new Error('No adapter configured');\n }\n return adapterStack[adapterStack.length - 1];\n};\nvar hasConfiguredAdapter = false;\nvar setAdapterIfNotSet = newAdapter => {\n if (!hasConfiguredAdapter) {\n setAdapter(newAdapter);\n }\n};\nvar setAdapter = newAdapter => {\n if (!newAdapter) {\n throw new Error('No adapter provided when calling \"setAdapter\"');\n }\n hasConfiguredAdapter = true;\n adapterStack.push(newAdapter);\n};\nvar removeAdapter = () => {\n adapterStack.pop();\n};\nvar appendCss = function appendCss() {\n return currentAdapter().appendCss(...arguments);\n};\nvar registerClassName = function registerClassName() {\n return currentAdapter().registerClassName(...arguments);\n};\nvar registerComposition = function registerComposition() {\n return currentAdapter().registerComposition(...arguments);\n};\nvar markCompositionUsed = function markCompositionUsed() {\n return currentAdapter().markCompositionUsed(...arguments);\n};\nvar onBeginFileScope = function onBeginFileScope() {\n var _currentAdapter$onBeg, _currentAdapter;\n for (var _len = arguments.length, props = new Array(_len), _key = 0; _key < _len; _key++) {\n props[_key] = arguments[_key];\n }\n return (_currentAdapter$onBeg = (_currentAdapter = currentAdapter()).onBeginFileScope) === null || _currentAdapter$onBeg === void 0 ? void 0 : _currentAdapter$onBeg.call(_currentAdapter, ...props);\n};\nvar onEndFileScope = function onEndFileScope() {\n return currentAdapter().onEndFileScope(...arguments);\n};\nvar getIdentOption = function getIdentOption() {\n var adapter = currentAdapter();\n\n // Backwards compatibility with old versions of the integration package\n if (!('getIdentOption' in adapter)) {\n return process.env.NODE_ENV === 'production' ? 'short' : 'debug';\n }\n return adapter.getIdentOption(...arguments);\n};\n\nexport { appendCss, getIdentOption, markCompositionUsed, mockAdapter, onBeginFileScope, onEndFileScope, registerClassName, registerComposition, removeAdapter, setAdapter, setAdapterIfNotSet };\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vanilla-extract-css-adapter.esm.js","sources":["../../../../../../../node_modules/@vanilla-extract/css/adapter/dist/vanilla-extract-css-adapter.esm.js"],"sourcesContent":["var mockAdapter = {\n appendCss: () => {},\n registerClassName: () => {},\n onEndFileScope: () => {},\n registerComposition: () => {},\n markCompositionUsed: () => {},\n getIdentOption: () => process.env.NODE_ENV === 'production' ? 'short' : 'debug'\n};\nvar adapterStack = [mockAdapter];\nvar currentAdapter = () => {\n if (adapterStack.length < 1) {\n throw new Error('No adapter configured');\n }\n return adapterStack[adapterStack.length - 1];\n};\nvar hasConfiguredAdapter = false;\nvar setAdapterIfNotSet = newAdapter => {\n if (!hasConfiguredAdapter) {\n setAdapter(newAdapter);\n }\n};\nvar setAdapter = newAdapter => {\n if (!newAdapter) {\n throw new Error('No adapter provided when calling \"setAdapter\"');\n }\n hasConfiguredAdapter = true;\n adapterStack.push(newAdapter);\n};\nvar removeAdapter = () => {\n adapterStack.pop();\n};\nvar appendCss = function appendCss() {\n return currentAdapter().appendCss(...arguments);\n};\nvar registerClassName = function registerClassName() {\n return currentAdapter().registerClassName(...arguments);\n};\nvar registerComposition = function registerComposition() {\n return currentAdapter().registerComposition(...arguments);\n};\nvar markCompositionUsed = function markCompositionUsed() {\n return currentAdapter().markCompositionUsed(...arguments);\n};\nvar onBeginFileScope = function onBeginFileScope() {\n var _currentAdapter$onBeg, _currentAdapter;\n for (var _len = arguments.length, props = new Array(_len), _key = 0; _key < _len; _key++) {\n props[_key] = arguments[_key];\n }\n return (_currentAdapter$onBeg = (_currentAdapter = currentAdapter()).onBeginFileScope) === null || _currentAdapter$onBeg === void 0 ? void 0 : _currentAdapter$onBeg.call(_currentAdapter, ...props);\n};\nvar onEndFileScope = function onEndFileScope() {\n return currentAdapter().onEndFileScope(...arguments);\n};\nvar getIdentOption = function getIdentOption() {\n var adapter = currentAdapter();\n\n // Backwards compatibility with old versions of the integration package\n if (!('getIdentOption' in adapter)) {\n return process.env.NODE_ENV === 'production' ? 'short' : 'debug';\n }\n return adapter.getIdentOption(...arguments);\n};\n\nexport { appendCss, getIdentOption, markCompositionUsed, mockAdapter, onBeginFileScope, onEndFileScope, registerClassName, registerComposition, removeAdapter, setAdapter, setAdapterIfNotSet };\n"],"names":[],"mappings":"AAAG,IAAC,WAAW,GAAG;AAClB,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;AACrB,EAAE,iBAAiB,EAAE,MAAM,CAAC,CAAC;AAC7B,EAAE,cAAc,EAAE,MAAM,CAAC,CAAC;AAC1B,EAAE,mBAAmB,EAAE,MAAM,CAAC,CAAC;AAC/B,EAAE,mBAAmB,EAAE,MAAM,CAAC,CAAC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pE,EAAE;AACF,EAAE,OAAO,OAAO,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC;AAC7C;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
function _taggedTemplateLiteral(strings, raw) {
|
|
2
|
+
if (!raw) {
|
|
3
|
+
raw = strings.slice(0);
|
|
4
|
+
}
|
|
5
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
6
|
+
raw: {
|
|
7
|
+
value: Object.freeze(raw)
|
|
8
|
+
}
|
|
9
|
+
}));
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { _taggedTemplateLiteral as _ };
|
|
13
|
+
//# sourceMappingURL=taggedTemplateLiteral-10998315.esm.js.map
|
package/dist/esm/node_modules/@vanilla-extract/css/dist/taggedTemplateLiteral-10998315.esm.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taggedTemplateLiteral-10998315.esm.js","sources":["../../../../../../node_modules/@vanilla-extract/css/dist/taggedTemplateLiteral-10998315.esm.js"],"sourcesContent":["function _taggedTemplateLiteral(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n return Object.freeze(Object.defineProperties(strings, {\n raw: {\n value: Object.freeze(raw)\n }\n }));\n}\n\nexport { _taggedTemplateLiteral as _ };\n"],"names":[],"mappings":"AAAA,SAAS,sBAAsB,CAAC,OAAO,EAAE,GAAG,EAAE;AAC9C,EAAE,IAAI,CAAC,GAAG,EAAE;AACZ,IAAI,GAAG,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;AAC1B,EAAE;AACF,EAAE,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE;AACxD,IAAI,GAAG,EAAE;AACT,MAAM,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG;AAC9B;AACA,GAAG,CAAC,CAAC;AACL;;;;","x_google_ignoreList":[0]}
|