@ctrliq/quantic-react 1.85.2 → 1.85.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/cjs/BrandIconStratumOutline.js +16 -0
- package/dist/cjs/BrandIconStratumOutline.js.map +1 -0
- package/dist/cjs/BrandIconStratumSolid.js +16 -0
- package/dist/cjs/BrandIconStratumSolid.js.map +1 -0
- package/dist/cjs/index.js +4 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/react-ssr.js +26 -2
- package/dist/cjs/react-ssr.js.map +1 -1
- package/dist/esm/BrandIconStratumOutline.js +14 -0
- package/dist/esm/BrandIconStratumOutline.js.map +1 -0
- package/dist/esm/BrandIconStratumSolid.js +14 -0
- package/dist/esm/BrandIconStratumSolid.js.map +1 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/react-ssr.js +26 -2
- package/dist/esm/react-ssr.js.map +1 -1
- package/dist/types/BrandIconStratumOutline.d.ts +2 -0
- package/dist/types/BrandIconStratumSolid.d.ts +2 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/react-ssr.d.ts +3 -0
- package/generated/BrandIconStratumOutline.ts +13 -0
- package/generated/BrandIconStratumSolid.ts +13 -0
- package/generated/index.ts +2 -0
- package/generated/react-ssr.ts +35 -2
- package/package.json +15 -6
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var react = require('@lit/react');
|
|
5
|
+
var quanticComponents = require('@ctrliq/quantic-components');
|
|
6
|
+
var reactSsr = require('./react-ssr.js');
|
|
7
|
+
|
|
8
|
+
const BrandIconStratumOutline = react.createComponent({
|
|
9
|
+
react: reactSsr.react,
|
|
10
|
+
tagName: 'quantic-icon-brand-stratum-outline',
|
|
11
|
+
elementClass: quanticComponents.BrandIconStratumOutline
|
|
12
|
+
});
|
|
13
|
+
BrandIconStratumOutline.displayName = 'BrandIconStratumOutline';
|
|
14
|
+
|
|
15
|
+
exports.BrandIconStratumOutline = BrandIconStratumOutline;
|
|
16
|
+
//# sourceMappingURL=BrandIconStratumOutline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrandIconStratumOutline.js","sources":["../../generated/BrandIconStratumOutline.ts"],"sourcesContent":[null],"names":["createComponent","react","BrandIconStratumOutlineLit"],"mappings":";;;;;;AAIS,MAAA,uBAA2B,GAAAA,qBAAA,CAAA;AAEpC,WAAAC,cAAO;IACL,OAAK,EAAA,oCAAA;AACL,IAAA,YAAS,EAAAC;AACT,CAAA;AACD,uBAAE,CAAA,WAAA,GAAA,yBAAA;;;;"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
var react = require('@lit/react');
|
|
5
|
+
var quanticComponents = require('@ctrliq/quantic-components');
|
|
6
|
+
var reactSsr = require('./react-ssr.js');
|
|
7
|
+
|
|
8
|
+
const BrandIconStratumSolid = react.createComponent({
|
|
9
|
+
react: reactSsr.react,
|
|
10
|
+
tagName: 'quantic-icon-brand-stratum-solid',
|
|
11
|
+
elementClass: quanticComponents.BrandIconStratumSolid
|
|
12
|
+
});
|
|
13
|
+
BrandIconStratumSolid.displayName = 'BrandIconStratumSolid';
|
|
14
|
+
|
|
15
|
+
exports.BrandIconStratumSolid = BrandIconStratumSolid;
|
|
16
|
+
//# sourceMappingURL=BrandIconStratumSolid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrandIconStratumSolid.js","sources":["../../generated/BrandIconStratumSolid.ts"],"sourcesContent":[null],"names":["createComponent","react","BrandIconStratumSolidLit"],"mappings":";;;;;;AAIS,MAAA,wBAA2BA,qBAAA,CAAA;AAEpC,WAAAC,cAAO;IACL,OAAK,EAAA,kCAAA;AACL,IAAA,YAAS,EAAAC;AACT,CAAA;AACD,qBAAE,CAAA,WAAA,GAAA,uBAAA;;;;"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -55,6 +55,8 @@ var BrandIconRlcProOutline = require('./BrandIconRlcProOutline.js');
|
|
|
55
55
|
var BrandIconRlcProSolid = require('./BrandIconRlcProSolid.js');
|
|
56
56
|
var BrandIconRockyLinuxOutline = require('./BrandIconRockyLinuxOutline.js');
|
|
57
57
|
var BrandIconRockyLinuxSolid = require('./BrandIconRockyLinuxSolid.js');
|
|
58
|
+
var BrandIconStratumOutline = require('./BrandIconStratumOutline.js');
|
|
59
|
+
var BrandIconStratumSolid = require('./BrandIconStratumSolid.js');
|
|
58
60
|
var BrandIconSupportOutline = require('./BrandIconSupportOutline.js');
|
|
59
61
|
var BrandIconSupportSolid = require('./BrandIconSupportSolid.js');
|
|
60
62
|
var BrandIconWarewulfOutline = require('./BrandIconWarewulfOutline.js');
|
|
@@ -1768,6 +1770,8 @@ exports.BrandIconRlcProOutline = BrandIconRlcProOutline.BrandIconRlcProOutline;
|
|
|
1768
1770
|
exports.BrandIconRlcProSolid = BrandIconRlcProSolid.BrandIconRlcProSolid;
|
|
1769
1771
|
exports.BrandIconRockyLinuxOutline = BrandIconRockyLinuxOutline.BrandIconRockyLinuxOutline;
|
|
1770
1772
|
exports.BrandIconRockyLinuxSolid = BrandIconRockyLinuxSolid.BrandIconRockyLinuxSolid;
|
|
1773
|
+
exports.BrandIconStratumOutline = BrandIconStratumOutline.BrandIconStratumOutline;
|
|
1774
|
+
exports.BrandIconStratumSolid = BrandIconStratumSolid.BrandIconStratumSolid;
|
|
1771
1775
|
exports.BrandIconSupportOutline = BrandIconSupportOutline.BrandIconSupportOutline;
|
|
1772
1776
|
exports.BrandIconSupportSolid = BrandIconSupportSolid.BrandIconSupportSolid;
|
|
1773
1777
|
exports.BrandIconWarewulfOutline = BrandIconWarewulfOutline.BrandIconWarewulfOutline;
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourc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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/cjs/react-ssr.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var React = require('react');
|
|
4
4
|
var ssrReact = require('@lit-labs/ssr-react');
|
|
5
|
+
var styleToJS = require('style-to-js');
|
|
5
6
|
|
|
6
7
|
function _interopNamespaceDefault(e) {
|
|
7
8
|
var n = Object.create(null);
|
|
@@ -22,11 +23,34 @@ function _interopNamespaceDefault(e) {
|
|
|
22
23
|
|
|
23
24
|
var React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);
|
|
24
25
|
|
|
25
|
-
|
|
26
|
+
/**
|
|
27
|
+
* Lit SSR copies the host's `style` attribute into props as a string, replacing the
|
|
28
|
+
* consumer's object, and React rejects it. Host values win, as in the browser (DESIGN-1810).
|
|
29
|
+
* Named so @lit/react detects the SSR bridge when `window` is shimmed.
|
|
30
|
+
*/
|
|
31
|
+
const litPatchedCreateElement = (type, props, ...children) => {
|
|
32
|
+
const consumerStyle = typeof props?.style === 'object' ? props.style : undefined;
|
|
33
|
+
const createHost = (hostType, hostProps, ...hostChildren) => {
|
|
34
|
+
const style = hostProps?.style;
|
|
35
|
+
if (typeof style === 'string') {
|
|
36
|
+
hostProps = {
|
|
37
|
+
...hostProps,
|
|
38
|
+
style: { ...consumerStyle, ...styleToJS(style, { reactCompat: true }) },
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
return React__namespace.createElement(hostType, hostProps, ...hostChildren);
|
|
42
|
+
};
|
|
43
|
+
const litCreateElement = ssrReact.wrapCreateElement(createHost);
|
|
44
|
+
return litCreateElement(type, props, ...children);
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* @lit/react: wrapped createElement for SSR (DSD on server; no-op on client). React 19 ESM ignores default patching.
|
|
48
|
+
*/
|
|
26
49
|
const react = {
|
|
27
50
|
...React__namespace,
|
|
28
|
-
createElement:
|
|
51
|
+
createElement: litPatchedCreateElement,
|
|
29
52
|
};
|
|
53
|
+
// eslint-disable-next-line quantic/no-narration -- carried over from the generated template
|
|
30
54
|
// Minifiers rename wrapCreateElement; @lit/react then needs litSsrReactEnabled or props miss the element at SSR.
|
|
31
55
|
if (typeof window === 'undefined') {
|
|
32
56
|
globalThis.litSsrReactEnabled = true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-ssr.js","sources":["../../generated/react-ssr.ts"],"sourcesContent":[null],"names":["React","wrapCreateElement"],"mappings":"
|
|
1
|
+
{"version":3,"file":"react-ssr.js","sources":["../../generated/react-ssr.ts"],"sourcesContent":[null],"names":["React","wrapCreateElement"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAUA;;;;AAIG;AACH,MAAM,uBAAuB,GAAkB,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,QAAQ,KAAI;AAC1E,IAAA,MAAM,aAAa,GAAG,OAAO,KAAK,EAAE,KAAK,KAAK,QAAQ,GAAG,KAAK,CAAC,KAAK,GAAG,SAAS;IAChF,MAAM,UAAU,GAAkB,CAAC,QAAQ,EAAE,SAAS,EAAE,GAAG,YAAY,KAAI;AACzE,QAAA,MAAM,KAAK,GAAG,SAAS,EAAE,KAAK;AAC9B,QAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7B,YAAA,SAAS,GAAG;AACV,gBAAA,GAAG,SAAS;AACZ,gBAAA,KAAK,EAAE,EAAE,GAAG,aAAa,EAAE,GAAG,SAAS,CAAC,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,EAAE;aACxE;QACH;QACA,OAAQA,gBAAK,CAAC,aAA+B,CAAC,QAAQ,EAAE,SAAS,EAAE,GAAG,YAAY,CAAC;AACrF,IAAA,CAAC;AACD,IAAA,MAAM,gBAAgB,GAAGC,0BAAiB,CACxC,UAAwC,CACxB;IAClB,OAAO,gBAAgB,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC;AACnD,CAAC;AAED;;AAEG;AACI,MAAM,KAAK,GAAiB;AACjC,IAAA,GAAGD,gBAAK;AACR,IAAA,aAAa,EAAE,uBAAqD;;AAGtE;AACA;AACA,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;AAChC,IAAA,UAA0D,CAAC,kBAAkB,GAAG,IAAI;AACvF;;;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { BrandIconStratumOutline as BrandIconStratumOutline$1 } from '@ctrliq/quantic-components';
|
|
4
|
+
import { react } from './react-ssr.js';
|
|
5
|
+
|
|
6
|
+
const BrandIconStratumOutline = createComponent({
|
|
7
|
+
react,
|
|
8
|
+
tagName: 'quantic-icon-brand-stratum-outline',
|
|
9
|
+
elementClass: BrandIconStratumOutline$1
|
|
10
|
+
});
|
|
11
|
+
BrandIconStratumOutline.displayName = 'BrandIconStratumOutline';
|
|
12
|
+
|
|
13
|
+
export { BrandIconStratumOutline };
|
|
14
|
+
//# sourceMappingURL=BrandIconStratumOutline.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrandIconStratumOutline.js","sources":["../../generated/BrandIconStratumOutline.ts"],"sourcesContent":[null],"names":["BrandIconStratumOutlineLit"],"mappings":";;;;AAIS,MAAA,uBAA2B,GAAA,eAAA,CAAA;AAEpC,IAAA,KAAO;IACL,OAAK,EAAA,oCAAA;AACL,IAAA,YAAS,EAAAA;AACT,CAAA;AACD,uBAAE,CAAA,WAAA,GAAA,yBAAA;;;;"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { BrandIconStratumSolid as BrandIconStratumSolid$1 } from '@ctrliq/quantic-components';
|
|
4
|
+
import { react } from './react-ssr.js';
|
|
5
|
+
|
|
6
|
+
const BrandIconStratumSolid = createComponent({
|
|
7
|
+
react,
|
|
8
|
+
tagName: 'quantic-icon-brand-stratum-solid',
|
|
9
|
+
elementClass: BrandIconStratumSolid$1
|
|
10
|
+
});
|
|
11
|
+
BrandIconStratumSolid.displayName = 'BrandIconStratumSolid';
|
|
12
|
+
|
|
13
|
+
export { BrandIconStratumSolid };
|
|
14
|
+
//# sourceMappingURL=BrandIconStratumSolid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BrandIconStratumSolid.js","sources":["../../generated/BrandIconStratumSolid.ts"],"sourcesContent":[null],"names":["BrandIconStratumSolidLit"],"mappings":";;;;AAIS,MAAA,wBAA2B,eAAA,CAAA;AAEpC,IAAA,KAAO;IACL,OAAK,EAAA,kCAAA;AACL,IAAA,YAAS,EAAAA;AACT,CAAA;AACD,qBAAE,CAAA,WAAA,GAAA,uBAAA;;;;"}
|
package/dist/esm/index.js
CHANGED
|
@@ -53,6 +53,8 @@ export { BrandIconRlcProOutline } from './BrandIconRlcProOutline.js';
|
|
|
53
53
|
export { BrandIconRlcProSolid } from './BrandIconRlcProSolid.js';
|
|
54
54
|
export { BrandIconRockyLinuxOutline } from './BrandIconRockyLinuxOutline.js';
|
|
55
55
|
export { BrandIconRockyLinuxSolid } from './BrandIconRockyLinuxSolid.js';
|
|
56
|
+
export { BrandIconStratumOutline } from './BrandIconStratumOutline.js';
|
|
57
|
+
export { BrandIconStratumSolid } from './BrandIconStratumSolid.js';
|
|
56
58
|
export { BrandIconSupportOutline } from './BrandIconSupportOutline.js';
|
|
57
59
|
export { BrandIconSupportSolid } from './BrandIconSupportSolid.js';
|
|
58
60
|
export { BrandIconWarewulfOutline } from './BrandIconWarewulfOutline.js';
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/esm/react-ssr.js
CHANGED
|
@@ -1,11 +1,35 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { wrapCreateElement } from '@lit-labs/ssr-react';
|
|
3
|
+
import styleToJS from 'style-to-js';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Lit SSR copies the host's `style` attribute into props as a string, replacing the
|
|
7
|
+
* consumer's object, and React rejects it. Host values win, as in the browser (DESIGN-1810).
|
|
8
|
+
* Named so @lit/react detects the SSR bridge when `window` is shimmed.
|
|
9
|
+
*/
|
|
10
|
+
const litPatchedCreateElement = (type, props, ...children) => {
|
|
11
|
+
const consumerStyle = typeof props?.style === 'object' ? props.style : undefined;
|
|
12
|
+
const createHost = (hostType, hostProps, ...hostChildren) => {
|
|
13
|
+
const style = hostProps?.style;
|
|
14
|
+
if (typeof style === 'string') {
|
|
15
|
+
hostProps = {
|
|
16
|
+
...hostProps,
|
|
17
|
+
style: { ...consumerStyle, ...styleToJS(style, { reactCompat: true }) },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
return React.createElement(hostType, hostProps, ...hostChildren);
|
|
21
|
+
};
|
|
22
|
+
const litCreateElement = wrapCreateElement(createHost);
|
|
23
|
+
return litCreateElement(type, props, ...children);
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* @lit/react: wrapped createElement for SSR (DSD on server; no-op on client). React 19 ESM ignores default patching.
|
|
27
|
+
*/
|
|
5
28
|
const react = {
|
|
6
29
|
...React,
|
|
7
|
-
createElement:
|
|
30
|
+
createElement: litPatchedCreateElement,
|
|
8
31
|
};
|
|
32
|
+
// eslint-disable-next-line quantic/no-narration -- carried over from the generated template
|
|
9
33
|
// Minifiers rename wrapCreateElement; @lit/react then needs litSsrReactEnabled or props miss the element at SSR.
|
|
10
34
|
if (typeof window === 'undefined') {
|
|
11
35
|
globalThis.litSsrReactEnabled = true;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-ssr.js","sources":["../../generated/react-ssr.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"react-ssr.js","sources":["../../generated/react-ssr.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAUA;;;;AAIG;AACH,MAAM,uBAAuB,GAAkB,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,QAAQ,KAAI;AAC1E,IAAA,MAAM,aAAa,GAAG,OAAO,KAAK,EAAE,KAAK,KAAK,QAAQ,GAAG,KAAK,CAAC,KAAK,GAAG,SAAS;IAChF,MAAM,UAAU,GAAkB,CAAC,QAAQ,EAAE,SAAS,EAAE,GAAG,YAAY,KAAI;AACzE,QAAA,MAAM,KAAK,GAAG,SAAS,EAAE,KAAK;AAC9B,QAAA,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;AAC7B,YAAA,SAAS,GAAG;AACV,gBAAA,GAAG,SAAS;AACZ,gBAAA,KAAK,EAAE,EAAE,GAAG,aAAa,EAAE,GAAG,SAAS,CAAC,KAAK,EAAE,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,EAAE;aACxE;QACH;QACA,OAAQ,KAAK,CAAC,aAA+B,CAAC,QAAQ,EAAE,SAAS,EAAE,GAAG,YAAY,CAAC;AACrF,IAAA,CAAC;AACD,IAAA,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,UAAwC,CACxB;IAClB,OAAO,gBAAgB,CAAC,IAAI,EAAE,KAAK,EAAE,GAAG,QAAQ,CAAC;AACnD,CAAC;AAED;;AAEG;AACI,MAAM,KAAK,GAAiB;AACjC,IAAA,GAAG,KAAK;AACR,IAAA,aAAa,EAAE,uBAAqD;;AAGtE;AACA;AACA,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;AAChC,IAAA,UAA0D,CAAC,kBAAkB,GAAG,IAAI;AACvF;;;;"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -53,6 +53,8 @@ export * from './BrandIconRlcProOutline';
|
|
|
53
53
|
export * from './BrandIconRlcProSolid';
|
|
54
54
|
export * from './BrandIconRockyLinuxOutline';
|
|
55
55
|
export * from './BrandIconRockyLinuxSolid';
|
|
56
|
+
export * from './BrandIconStratumOutline';
|
|
57
|
+
export * from './BrandIconStratumSolid';
|
|
56
58
|
export * from './BrandIconSupportOutline';
|
|
57
59
|
export * from './BrandIconSupportSolid';
|
|
58
60
|
export * from './BrandIconWarewulfOutline';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
4
|
+
import { BrandIconStratumOutline as BrandIconStratumOutlineLit } from '@ctrliq/quantic-components';
|
|
5
|
+
import { react } from './react-ssr';
|
|
6
|
+
|
|
7
|
+
export const BrandIconStratumOutline = createComponent({
|
|
8
|
+
react,
|
|
9
|
+
tagName: 'quantic-icon-brand-stratum-outline',
|
|
10
|
+
elementClass: BrandIconStratumOutlineLit
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
BrandIconStratumOutline.displayName = 'BrandIconStratumOutline';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { createComponent, type EventName } from '@lit/react';
|
|
4
|
+
import { BrandIconStratumSolid as BrandIconStratumSolidLit } from '@ctrliq/quantic-components';
|
|
5
|
+
import { react } from './react-ssr';
|
|
6
|
+
|
|
7
|
+
export const BrandIconStratumSolid = createComponent({
|
|
8
|
+
react,
|
|
9
|
+
tagName: 'quantic-icon-brand-stratum-solid',
|
|
10
|
+
elementClass: BrandIconStratumSolidLit
|
|
11
|
+
});
|
|
12
|
+
|
|
13
|
+
BrandIconStratumSolid.displayName = 'BrandIconStratumSolid';
|
package/generated/index.ts
CHANGED
|
@@ -53,6 +53,8 @@ export * from './BrandIconRlcProOutline';
|
|
|
53
53
|
export * from './BrandIconRlcProSolid';
|
|
54
54
|
export * from './BrandIconRockyLinuxOutline';
|
|
55
55
|
export * from './BrandIconRockyLinuxSolid';
|
|
56
|
+
export * from './BrandIconStratumOutline';
|
|
57
|
+
export * from './BrandIconStratumSolid';
|
|
56
58
|
export * from './BrandIconSupportOutline';
|
|
57
59
|
export * from './BrandIconSupportSolid';
|
|
58
60
|
export * from './BrandIconWarewulfOutline';
|
package/generated/react-ssr.ts
CHANGED
|
@@ -1,12 +1,45 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { wrapCreateElement } from '@lit-labs/ssr-react';
|
|
3
|
+
import styleToJS from 'style-to-js';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
+
type CreateElement = (
|
|
6
|
+
type: unknown,
|
|
7
|
+
props?: Record<string, unknown> | null,
|
|
8
|
+
...children: unknown[]
|
|
9
|
+
) => unknown;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Lit SSR copies the host's `style` attribute into props as a string, replacing the
|
|
13
|
+
* consumer's object, and React rejects it. Host values win, as in the browser (DESIGN-1810).
|
|
14
|
+
* Named so @lit/react detects the SSR bridge when `window` is shimmed.
|
|
15
|
+
*/
|
|
16
|
+
const litPatchedCreateElement: CreateElement = (type, props, ...children) => {
|
|
17
|
+
const consumerStyle = typeof props?.style === 'object' ? props.style : undefined;
|
|
18
|
+
const createHost: CreateElement = (hostType, hostProps, ...hostChildren) => {
|
|
19
|
+
const style = hostProps?.style;
|
|
20
|
+
if (typeof style === 'string') {
|
|
21
|
+
hostProps = {
|
|
22
|
+
...hostProps,
|
|
23
|
+
style: { ...consumerStyle, ...styleToJS(style, { reactCompat: true }) },
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
return (React.createElement as CreateElement)(hostType, hostProps, ...hostChildren);
|
|
27
|
+
};
|
|
28
|
+
const litCreateElement = wrapCreateElement(
|
|
29
|
+
createHost as typeof React.createElement,
|
|
30
|
+
) as CreateElement;
|
|
31
|
+
return litCreateElement(type, props, ...children);
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @lit/react: wrapped createElement for SSR (DSD on server; no-op on client). React 19 ESM ignores default patching.
|
|
36
|
+
*/
|
|
5
37
|
export const react: typeof React = {
|
|
6
38
|
...React,
|
|
7
|
-
createElement:
|
|
39
|
+
createElement: litPatchedCreateElement as typeof React.createElement,
|
|
8
40
|
};
|
|
9
41
|
|
|
42
|
+
// eslint-disable-next-line quantic/no-narration -- carried over from the generated template
|
|
10
43
|
// Minifiers rename wrapCreateElement; @lit/react then needs litSsrReactEnabled or props miss the element at SSR.
|
|
11
44
|
if (typeof window === 'undefined') {
|
|
12
45
|
(globalThis as unknown as { litSsrReactEnabled?: boolean }).litSsrReactEnabled = true;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ctrliq/quantic-react",
|
|
3
3
|
"description": "Generated React wrappers for Quantic Design System components",
|
|
4
|
-
"version": "1.85.
|
|
4
|
+
"version": "1.85.4",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
7
7
|
"access": "public"
|
|
@@ -18,20 +18,28 @@
|
|
|
18
18
|
},
|
|
19
19
|
"types": "./dist/types/index.d.ts",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@lit-labs/ssr-react": "0.3.4"
|
|
21
|
+
"@lit-labs/ssr-react": "0.3.4",
|
|
22
|
+
"style-to-js": "2.0.2"
|
|
22
23
|
},
|
|
23
24
|
"devDependencies": {
|
|
24
|
-
"change-case": "5.4.4",
|
|
25
25
|
"@lit-labs/gen-wrapper-react": "^0.3.3",
|
|
26
|
+
"@lit-labs/ssr-client": "1.1.8",
|
|
26
27
|
"@rollup/plugin-commonjs": "28.0.9",
|
|
27
28
|
"@rollup/plugin-json": "6.1.0",
|
|
28
29
|
"@rollup/plugin-node-resolve": "16.0.3",
|
|
29
30
|
"@rollup/plugin-typescript": "12.3.0",
|
|
30
|
-
"rollup": "4.62.2",
|
|
31
31
|
"@types/react": "^19.2.17",
|
|
32
|
-
"react": "^19.2.
|
|
32
|
+
"@types/react-dom": "^19.2.4",
|
|
33
|
+
"@vitest/browser": "3.2.7",
|
|
34
|
+
"change-case": "5.4.4",
|
|
35
|
+
"lit": "^3.3.0",
|
|
36
|
+
"playwright": "1.62.1",
|
|
37
|
+
"react": "^19.2.8",
|
|
38
|
+
"react-dom": "^19.2.8",
|
|
39
|
+
"rollup": "4.62.2",
|
|
33
40
|
"typescript": "5.9.3",
|
|
34
|
-
"
|
|
41
|
+
"vitest": "3.2.7",
|
|
42
|
+
"@ctrliq/quantic-components": "1.96.2",
|
|
35
43
|
"@ctrliq/quantic-tokens": "0.0.0"
|
|
36
44
|
},
|
|
37
45
|
"peerDependencies": {
|
|
@@ -46,6 +54,7 @@
|
|
|
46
54
|
"build:types": "tsc --project tsconfig.types.json",
|
|
47
55
|
"build": "pnpm run generate && pnpm run build:js && pnpm run build:types",
|
|
48
56
|
"typecheck": "pnpm run generate && tsc",
|
|
57
|
+
"test": "vitest run",
|
|
49
58
|
"release": "semantic-release"
|
|
50
59
|
}
|
|
51
60
|
}
|